From 93653ed000de2871de96efd9cfb5dca51c591b28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ooms=20Aur=C3=A9lien?= Date: Sat, 26 Jul 2014 19:38:21 +0200 Subject: [PATCH 01/15] Generated documentation for bff2f4ccaf879bb4371acc0aaf1818b5ea44933e --- .gitignore | 28 + abs/abs.html | 1 + add/add.html | 84 +++ and/and.html | 58 ++ assets/behavior.js | 1214 ++++++++++++++++++++++++++++++++++++++ assets/style.css | 1 + cmp/cmp.html | 59 ++ cmp/eq.html | 8 + cmp/ge.html | 8 + cmp/gt.html | 8 + cmp/le.html | 8 + cmp/lt.html | 8 + cmp/ne.html | 8 + div/div.html | 45 ++ gcd/gcd.html | 1 + index.html | 9 + lcm/lcm.html | 1 + log/log.html | 1 + mod/mod.html | 1 + mod/montgomery.html | 1 + mpow/mpow.html | 1 + mul/karatsuba.html | 80 +++ mul/mul.html | 38 ++ neg/neg.html | 1 + not/not.html | 1 + or/or.html | 1 + parse/parse.html | 42 ++ pow/pow.html | 1 + sha/sha.html | 1 + shl/shl.html | 1 + stringify/stringify.html | 40 ++ sub/sub.html | 92 +++ wrap/wrap.html | 46 ++ xor/xor.html | 1 + 34 files changed, 1898 insertions(+) create mode 100644 .gitignore create mode 100644 abs/abs.html create mode 100644 add/add.html create mode 100644 and/and.html create mode 100644 assets/behavior.js create mode 100644 assets/style.css create mode 100644 cmp/cmp.html create mode 100644 cmp/eq.html create mode 100644 cmp/ge.html create mode 100644 cmp/gt.html create mode 100644 cmp/le.html create mode 100644 cmp/lt.html create mode 100644 cmp/ne.html create mode 100644 div/div.html create mode 100644 gcd/gcd.html create mode 100644 index.html create mode 100644 lcm/lcm.html create mode 100644 log/log.html create mode 100644 mod/mod.html create mode 100644 mod/montgomery.html create mode 100644 mpow/mpow.html create mode 100644 mul/karatsuba.html create mode 100644 mul/mul.html create mode 100644 neg/neg.html create mode 100644 not/not.html create mode 100644 or/or.html create mode 100644 parse/parse.html create mode 100644 pow/pow.html create mode 100644 sha/sha.html create mode 100644 shl/shl.html create mode 100644 stringify/stringify.html create mode 100644 sub/sub.html create mode 100644 wrap/wrap.html create mode 100644 xor/xor.html diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..99547ac --- /dev/null +++ b/.gitignore @@ -0,0 +1,28 @@ +# Logs +logs +*.log + +# Runtime data +pids +*.pid +*.seed + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Compiled binary addons (http://nodejs.org/api/addons.html) +build/Release + +# Dependency directory +# Deployed apps should consider commenting this line out: +# see https://npmjs.org/doc/faq.html#Should-I-check-my-node_modules-folder-into-git +node_modules + +# groc +doc \ No newline at end of file diff --git a/abs/abs.html b/abs/abs.html new file mode 100644 index 0000000..bd2a18a --- /dev/null +++ b/abs/abs.html @@ -0,0 +1 @@ +abs/abs

COMPUTE THE ABSOLUTE VALUE OF NUMBER n

exports.abs = function abs() {};
\ No newline at end of file diff --git a/add/add.html b/add/add.html new file mode 100644 index 0000000..538584b --- /dev/null +++ b/add/add.html @@ -0,0 +1,84 @@ +add/add

Parameters:

+ +
    +
  • r must be an int.
    (base (radix))
  • +
exports.badd_t = function badd_t (r) {

Adds two big endian arrays, k >= i >= j +wraps

+ +

Parameters:

+ +
    +
  • a must be an array.
    (first operand)

  • +
  • i0 must be an int.
    (a left)

  • +
  • i1 must be an int.
    (a right)

  • +
  • b must be an array.
    (second operand)

  • +
  • j0 must be an int.
    (b left)

  • +
  • j1 must be an int.
    (b right)

  • +
  • c must be an array.
    (result, must be 0 initialized)

  • +
  • k0 must be an int.
    (c left)

  • +
  • k1 must be an int.
    (c right)

  • +
return function(a, i0, i1, b, j0, j1, c, k0, k1){ + var t, C = 0; + + while(--j1 >= j0){ + --i1; --k1; + t = a[i1] + b[j1] + C; + c[k1] = t % r; + C = t / r >= 1; + } + + while(--i1 >= i0){ + --k1; + t = a[i1] + C; + c[k1] = t % r; + C = t / r >= 1; + } + + if(--k1 >= k0){ + c[k1] = +C; + } + + }; + +};

Parameters:

+ +
    +
  • r must be an int.
    (base (radix))
  • +
var ladd_t = exports.ladd_t = function(r){

Adds two little endian arrays, k >= i >= j +wraps

+ +

Parameters:

+ +
    +
  • a must be an array.
    (first operand)

  • +
  • i0 must be an int.
    (a left)

  • +
  • i1 must be an int.
    (a right)

  • +
  • b must be an array.
    (second operand)

  • +
  • j0 must be an int.
    (b left)

  • +
  • j1 must be an int.
    (b right)

  • +
  • c must be an array.
    (result, must be 0 initialized)

  • +
  • k0 must be an int.
    (c left)

  • +
  • k1 must be an int.
    (c right)

  • +
return function(a, i0, i1, b, j0, j1, c, k0, k1){ + var t, C = 0; + + while(j0 < j1){ + t = a[i0] + b[j0] + C; + c[k0] = t % r; + C = t / r >= 1; + ++i0; ++j0; ++k0; + } + + while(i0 < i1){ + t = a[i0] + C; + c[k0] = t % r; + C = t / r >= 1; + ++i0; ++k0; + } + + if(k0 < k1){ + c[k0] = +C; + } + + }; +};
\ No newline at end of file diff --git a/and/and.html b/and/and.html new file mode 100644 index 0000000..55233aa --- /dev/null +++ b/and/and.html @@ -0,0 +1,58 @@ +and/and

BINARY and APPLIED ON a AND b

+ +

Meaningful only when r is a power of 2.

+ +

|a| = |b| = |c| > 0

var and = function (a, a0, b, b0, c, c0, c1) { + + while (c0 < c1) c[c0++] = a[a0++] & b[b0++]; + +};

BIG ENDIAN BINARY and APPLIED ON a AND b

+ +

Meaningful only when r is a power of 2.

+ +

|a| >= |b| > 0

+ +

treats b as if it was represented with the same number of blocks as a

var band_t = function(r){ + + var _r = r / 2; + + return function (a, a0, a1, b, b0, b1, c, c0, c1) { + + var at = a1 - b1 + b0; + var ct = c0 + at - a0; + + if (b[b0] < _r) while (c0 < ct) c[c0++] = 0; + else while (c0 < ct) c[c0++] = a[a0++]; + + while (c0 < c1) c[c0++] = a[at++] & b[b0++]; + + }; + +};

LITTLE ENDIAN BINARY and APPLIED ON a AND b

+ +

Meaningful only when r is a power of 2.

+ +

|a| >= |b| > 0

+ +

treats b as if it was represented with the same number of blocks as a

var land_t = function(r){ + + var _r = r / 2; + + return function (a, a0, a1, b, b0, b1, c, c0, c1) { + + var ct = c0 + b1 - b0; + + while (c0 < ct) c[c0++] = a[a0++] & b[b0++]; + + if (b[b0 - 1] < _r) while (c0 < c1) c[c0++] = 0; + else while (c0 < c1) c[c0++] = a[a0++]; + + + }; + +}; + + +exports.and = and; +exports.land_t = land_t; +exports.band_t = band_t;
\ No newline at end of file diff --git a/assets/behavior.js b/assets/behavior.js new file mode 100644 index 0000000..c39f824 --- /dev/null +++ b/assets/behavior.js @@ -0,0 +1,1214 @@ +/*! jQuery v1.7.1 jquery.com | jquery.org/license */ +(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"":"")+""),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){if(c!=="border")for(;g=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c
a",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="
"+""+"
",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="
t
",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="
",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")}; +f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;le&&i.push({elem:this,matches:d.slice(e)});for(j=0;j0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h0)for(h=g;h=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div
","
"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function() +{for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test("<"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,"<$1>");var l=(Z.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]===""&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bq,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;b=b.replace(bs,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b)));return c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\[\]$/,bF=/\r?\n/g,bG=/#.*$/,bH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\/\//,bM=/\?/,bN=/)<[^<]*)*<\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=["*/"]+["*"];try{bV=e.href}catch(bY){bV=c.createElement("a"),bV.href="",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bS)return bS.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
").append(c.replace(bN,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,"\r\n")}}):{name:b.name,value:c.replace(bF,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b);return a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bG,"").replace(bL,bW[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]==="http:"?80:443))==(bW[3]||(bW[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,"$1_="+x);d.url=y+(y===d.url?(bM.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bX+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cd++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cy(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window);(function() { + var MAX_FILTER_SIZE, appendSearchNode, buildNav, buildTOCNode, clearFilter, clearHighlight, currentNode$, currentQuery, fileMap, focusCurrentNode, highlightMatch, moveCurrentNode, nav$, searchNodes, searchableNodes, selectNode, selectNodeByDocumentPath, setCurrentNodeExpanded, setTableOfContentsActive, tableOfContents, toc$, toggleTableOfContents, visitCurrentNode; + + tableOfContents = [ + { + "type": "file", + "data": { + "language": { + "nameMatchers": [".md", ".markdown", ".mkd", ".mkdn", ".mdown"], + "commentsOnly": true, + "name": "Markdown" + }, + "sourcePath": "/home/genius/dev/alu/README.md", + "projectPath": "README.md", + "targetPath": "index", + "pageTitle": "index", + "title": "index" + }, + "depth": 1, + "outline": [] + }, { + "type": "folder", + "data": { + "path": "abs", + "title": "abs" + }, + "depth": 1, + "children": [ + { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/abs/abs.js", + "projectPath": "js/src/abs/abs.js", + "targetPath": "abs/abs", + "pageTitle": "abs/abs", + "title": "abs" + }, + "depth": 2, + "outline": [] + } + ] + }, { + "type": "folder", + "data": { + "path": "add", + "title": "add" + }, + "depth": 1, + "children": [ + { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/add/add.js", + "projectPath": "js/src/add/add.js", + "targetPath": "add/add", + "pageTitle": "add/add", + "title": "add" + }, + "depth": 2, + "outline": [] + } + ] + }, { + "type": "folder", + "data": { + "path": "and", + "title": "and" + }, + "depth": 1, + "children": [ + { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/and/and.js", + "projectPath": "js/src/and/and.js", + "targetPath": "and/and", + "pageTitle": "and/and", + "title": "and" + }, + "depth": 2, + "outline": [] + } + ] + }, { + "type": "folder", + "data": { + "path": "cmp", + "title": "cmp" + }, + "depth": 1, + "children": [ + { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/cmp/cmp.js", + "projectPath": "js/src/cmp/cmp.js", + "targetPath": "cmp/cmp", + "pageTitle": "cmp/cmp", + "title": "cmp" + }, + "depth": 2, + "outline": [] + }, { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/cmp/eq.js", + "projectPath": "js/src/cmp/eq.js", + "targetPath": "cmp/eq", + "pageTitle": "cmp/eq", + "title": "eq" + }, + "depth": 2, + "outline": [] + }, { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/cmp/ge.js", + "projectPath": "js/src/cmp/ge.js", + "targetPath": "cmp/ge", + "pageTitle": "cmp/ge", + "title": "ge" + }, + "depth": 2, + "outline": [] + }, { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/cmp/gt.js", + "projectPath": "js/src/cmp/gt.js", + "targetPath": "cmp/gt", + "pageTitle": "cmp/gt", + "title": "gt" + }, + "depth": 2, + "outline": [] + }, { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/cmp/le.js", + "projectPath": "js/src/cmp/le.js", + "targetPath": "cmp/le", + "pageTitle": "cmp/le", + "title": "le" + }, + "depth": 2, + "outline": [] + }, { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/cmp/lt.js", + "projectPath": "js/src/cmp/lt.js", + "targetPath": "cmp/lt", + "pageTitle": "cmp/lt", + "title": "lt" + }, + "depth": 2, + "outline": [] + }, { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/cmp/ne.js", + "projectPath": "js/src/cmp/ne.js", + "targetPath": "cmp/ne", + "pageTitle": "cmp/ne", + "title": "ne" + }, + "depth": 2, + "outline": [] + } + ] + }, { + "type": "folder", + "data": { + "path": "div", + "title": "div" + }, + "depth": 1, + "children": [ + { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/div/div.js", + "projectPath": "js/src/div/div.js", + "targetPath": "div/div", + "pageTitle": "div/div", + "title": "div" + }, + "depth": 2, + "outline": [] + } + ] + }, { + "type": "folder", + "data": { + "path": "gcd", + "title": "gcd" + }, + "depth": 1, + "children": [ + { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/gcd/gcd.js", + "projectPath": "js/src/gcd/gcd.js", + "targetPath": "gcd/gcd", + "pageTitle": "gcd/gcd", + "title": "gcd" + }, + "depth": 2, + "outline": [] + } + ] + }, { + "type": "folder", + "data": { + "path": "lcm", + "title": "lcm" + }, + "depth": 1, + "children": [ + { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/lcm/lcm.js", + "projectPath": "js/src/lcm/lcm.js", + "targetPath": "lcm/lcm", + "pageTitle": "lcm/lcm", + "title": "lcm" + }, + "depth": 2, + "outline": [] + } + ] + }, { + "type": "folder", + "data": { + "path": "log", + "title": "log" + }, + "depth": 1, + "children": [ + { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/log/log.js", + "projectPath": "js/src/log/log.js", + "targetPath": "log/log", + "pageTitle": "log/log", + "title": "log" + }, + "depth": 2, + "outline": [] + } + ] + }, { + "type": "folder", + "data": { + "path": "mod", + "title": "mod" + }, + "depth": 1, + "children": [ + { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/mod/mod.js", + "projectPath": "js/src/mod/mod.js", + "targetPath": "mod/mod", + "pageTitle": "mod/mod", + "title": "mod" + }, + "depth": 2, + "outline": [] + }, { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/mod/montgomery.js", + "projectPath": "js/src/mod/montgomery.js", + "targetPath": "mod/montgomery", + "pageTitle": "mod/montgomery", + "title": "montgomery" + }, + "depth": 2, + "outline": [] + } + ] + }, { + "type": "folder", + "data": { + "path": "mpow", + "title": "mpow" + }, + "depth": 1, + "children": [ + { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/mpow/mpow.js", + "projectPath": "js/src/mpow/mpow.js", + "targetPath": "mpow/mpow", + "pageTitle": "mpow/mpow", + "title": "mpow" + }, + "depth": 2, + "outline": [] + } + ] + }, { + "type": "folder", + "data": { + "path": "mul", + "title": "mul" + }, + "depth": 1, + "children": [ + { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/mul/karatsuba.js", + "projectPath": "js/src/mul/karatsuba.js", + "targetPath": "mul/karatsuba", + "pageTitle": "mul/karatsuba", + "title": "karatsuba" + }, + "depth": 2, + "outline": [] + }, { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/mul/mul.js", + "projectPath": "js/src/mul/mul.js", + "targetPath": "mul/mul", + "pageTitle": "mul/mul", + "title": "mul" + }, + "depth": 2, + "outline": [] + } + ] + }, { + "type": "folder", + "data": { + "path": "neg", + "title": "neg" + }, + "depth": 1, + "children": [ + { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/neg/neg.js", + "projectPath": "js/src/neg/neg.js", + "targetPath": "neg/neg", + "pageTitle": "neg/neg", + "title": "neg" + }, + "depth": 2, + "outline": [] + } + ] + }, { + "type": "folder", + "data": { + "path": "not", + "title": "not" + }, + "depth": 1, + "children": [ + { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/not/not.js", + "projectPath": "js/src/not/not.js", + "targetPath": "not/not", + "pageTitle": "not/not", + "title": "not" + }, + "depth": 2, + "outline": [] + } + ] + }, { + "type": "folder", + "data": { + "path": "or", + "title": "or" + }, + "depth": 1, + "children": [ + { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/or/or.js", + "projectPath": "js/src/or/or.js", + "targetPath": "or/or", + "pageTitle": "or/or", + "title": "or" + }, + "depth": 2, + "outline": [] + } + ] + }, { + "type": "folder", + "data": { + "path": "parse", + "title": "parse" + }, + "depth": 1, + "children": [ + { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/parse/parse.js", + "projectPath": "js/src/parse/parse.js", + "targetPath": "parse/parse", + "pageTitle": "parse/parse", + "title": "parse" + }, + "depth": 2, + "outline": [] + } + ] + }, { + "type": "folder", + "data": { + "path": "pow", + "title": "pow" + }, + "depth": 1, + "children": [ + { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/pow/pow.js", + "projectPath": "js/src/pow/pow.js", + "targetPath": "pow/pow", + "pageTitle": "pow/pow", + "title": "pow" + }, + "depth": 2, + "outline": [] + } + ] + }, { + "type": "folder", + "data": { + "path": "sha", + "title": "sha" + }, + "depth": 1, + "children": [ + { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/sha/sha.js", + "projectPath": "js/src/sha/sha.js", + "targetPath": "sha/sha", + "pageTitle": "sha/sha", + "title": "sha" + }, + "depth": 2, + "outline": [] + } + ] + }, { + "type": "folder", + "data": { + "path": "shl", + "title": "shl" + }, + "depth": 1, + "children": [ + { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/shl/shl.js", + "projectPath": "js/src/shl/shl.js", + "targetPath": "shl/shl", + "pageTitle": "shl/shl", + "title": "shl" + }, + "depth": 2, + "outline": [] + } + ] + }, { + "type": "folder", + "data": { + "path": "stringify", + "title": "stringify" + }, + "depth": 1, + "children": [ + { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/stringify/stringify.js", + "projectPath": "js/src/stringify/stringify.js", + "targetPath": "stringify/stringify", + "pageTitle": "stringify/stringify", + "title": "stringify" + }, + "depth": 2, + "outline": [] + } + ] + }, { + "type": "folder", + "data": { + "path": "sub", + "title": "sub" + }, + "depth": 1, + "children": [ + { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/sub/sub.js", + "projectPath": "js/src/sub/sub.js", + "targetPath": "sub/sub", + "pageTitle": "sub/sub", + "title": "sub" + }, + "depth": 2, + "outline": [] + } + ] + }, { + "type": "folder", + "data": { + "path": "wrap", + "title": "wrap" + }, + "depth": 1, + "children": [ + { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/wrap/wrap.js", + "projectPath": "js/src/wrap/wrap.js", + "targetPath": "wrap/wrap", + "pageTitle": "wrap/wrap", + "title": "wrap" + }, + "depth": 2, + "outline": [] + } + ] + }, { + "type": "folder", + "data": { + "path": "xor", + "title": "xor" + }, + "depth": 1, + "children": [ + { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/genius/dev/alu/js/src/xor/xor.js", + "projectPath": "js/src/xor/xor.js", + "targetPath": "xor/xor", + "pageTitle": "xor/xor", + "title": "xor" + }, + "depth": 2, + "outline": [] + } + ] + } + ]; + + nav$ = null; + + toc$ = null; + + setTableOfContentsActive = function(active) { + var html$; + html$ = $('html'); + if (active) { + nav$.addClass('active'); + return html$.addClass('popped'); + } else { + nav$.removeClass('active'); + return html$.removeClass('popped'); + } + }; + + toggleTableOfContents = function() { + return setTableOfContentsActive(!nav$.hasClass('active')); + }; + + currentNode$ = null; + + focusCurrentNode = function() { + var currentNodeBottom, currentNodeTop; + currentNodeTop = currentNode$.offset().top - toc$.children(':visible').first().offset().top; + currentNodeBottom = currentNodeTop + currentNode$.children('.label').height(); + if (currentNodeTop < toc$.scrollTop()) { + toc$.scrollTop(currentNodeTop); + } + if (currentNodeBottom > toc$.scrollTop() + toc$.height()) { + return toc$.scrollTop(currentNodeBottom - toc$.height()); + } + }; + + setCurrentNodeExpanded = function(expanded) { + var parents$; + if (expanded) { + currentNode$.addClass('expanded'); + } else { + if (currentNode$.hasClass('expanded')) { + currentNode$.removeClass('expanded'); + } else { + parents$ = currentNode$.parents('li'); + if (parents$.length > 0) { + selectNode(parents$.first()); + } + } + } + return focusCurrentNode(); + }; + + selectNode = function(newNode$) { + currentNode$.removeClass('selected'); + newNode$.addClass('selected'); + currentNode$ = newNode$; + return focusCurrentNode(); + }; + + selectNodeByDocumentPath = function(documentPath, headerSlug) { + var link, urlChunks, _i, _len, _ref; + if (headerSlug == null) { + headerSlug = null; + } + currentNode$ = fileMap[documentPath]; + if (headerSlug) { + _ref = currentNode$.find('.outline a'); + for (_i = 0, _len = _ref.length; _i < _len; _i++) { + link = _ref[_i]; + urlChunks = $(link).attr('href').split('#'); + if (urlChunks[1] === headerSlug) { + currentNode$ = $(link).parents('li').first(); + break; + } + } + } + currentNode$.addClass('selected expanded'); + currentNode$.parents('li').addClass('expanded'); + return focusCurrentNode(); + }; + + moveCurrentNode = function(up) { + var i, newIndex, node, visibleNodes$, _i, _len; + visibleNodes$ = toc$.find('li:visible:not(.filtered)'); + newIndex = 0; + for (i = _i = 0, _len = visibleNodes$.length; _i < _len; i = ++_i) { + node = visibleNodes$[i]; + if (node === currentNode$[0]) { + newIndex = up ? i - 1 : i + 1; + if (newIndex < 0) { + newIndex = 0; + } + if (newIndex > visibleNodes$.length - 1) { + newIndex = visibleNodes$.length - 1; + } + break; + } + } + return selectNode($(visibleNodes$[newIndex])); + }; + + visitCurrentNode = function() { + var labelLink$; + labelLink$ = currentNode$.children('a.label'); + if (labelLink$.length > 0) { + return window.location = labelLink$.attr('href'); + } + }; + + MAX_FILTER_SIZE = 10; + + searchableNodes = []; + + appendSearchNode = function(node$) { + var text$; + text$ = node$.find('> .label .text'); + return searchableNodes.push([text$.text().toLowerCase(), node$, text$]); + }; + + currentQuery = ''; + + searchNodes = function(queryString) { + var c, filtered, matched, matcher, nodeInfo, p, _i, _j, _k, _len, _len1, _len2, _results; + queryString = queryString.toLowerCase().replace(/\s+/, ''); + if (queryString === currentQuery) { + return; + } + currentQuery = queryString; + if (queryString === '') { + return clearFilter(); + } + matcher = new RegExp(((function() { + var _i, _len, _results; + _results = []; + for (_i = 0, _len = queryString.length; _i < _len; _i++) { + c = queryString[_i]; + _results.push(c.replace(/[-[\]{}()*+?.,\\^$|#\s]/, "\\$&")); + } + return _results; + })()).join('.*')); + matched = []; + filtered = []; + for (_i = 0, _len = searchableNodes.length; _i < _len; _i++) { + nodeInfo = searchableNodes[_i]; + if (matcher.test(nodeInfo[0])) { + matched.push(nodeInfo); + } else { + filtered.push(nodeInfo); + } + } + if (matched.length > MAX_FILTER_SIZE) { + return clearFilter(); + } + nav$.addClass('searching'); + for (_j = 0, _len1 = filtered.length; _j < _len1; _j++) { + nodeInfo = filtered[_j]; + nodeInfo[1].removeClass('matched-child'); + nodeInfo[1].addClass('filtered'); + clearHighlight(nodeInfo[2]); + } + _results = []; + for (_k = 0, _len2 = matched.length; _k < _len2; _k++) { + nodeInfo = matched[_k]; + nodeInfo[1].removeClass('filtered matched-child'); + nodeInfo[1].addClass('matched'); + highlightMatch(nodeInfo[2], queryString); + _results.push((function() { + var _l, _len3, _ref, _results1; + _ref = nodeInfo[1].parents('li'); + _results1 = []; + for (_l = 0, _len3 = _ref.length; _l < _len3; _l++) { + p = _ref[_l]; + _results1.push($(p).addClass('matched-child')); + } + return _results1; + })()); + } + return _results; + }; + + clearFilter = function() { + var nodeInfo, _i, _len, _results; + nav$.removeClass('searching'); + currentQuery = ''; + _results = []; + for (_i = 0, _len = searchableNodes.length; _i < _len; _i++) { + nodeInfo = searchableNodes[_i]; + nodeInfo[1].removeClass('filtered matched-child'); + _results.push(clearHighlight(nodeInfo[2])); + } + return _results; + }; + + highlightMatch = function(text$, queryString) { + var char, foundIndex, furthestIndex, lowerText, markedText, nodeText, _i, _len; + nodeText = text$.text(); + lowerText = nodeText.toLowerCase(); + markedText = ''; + furthestIndex = 0; + for (_i = 0, _len = queryString.length; _i < _len; _i++) { + char = queryString[_i]; + foundIndex = lowerText.indexOf(char, furthestIndex); + markedText += nodeText.slice(furthestIndex, foundIndex) + ("" + nodeText[foundIndex] + ""); + furthestIndex = foundIndex + 1; + } + return text$.html(markedText + nodeText.slice(furthestIndex)); + }; + + clearHighlight = function(text$) { + return text$.text(text$.text()); + }; + + fileMap = {}; + + buildNav = function(metaInfo) { + var node, sourceURL, _i, _len; + nav$ = $("
\n").appendTo($('body')); + toc$ = nav$.find('.toc'); + if (metaInfo.githubURL) { + if (metaInfo.documentPath === 'index') { + sourceURL = metaInfo.githubURL; + } else { + sourceURL = "" + metaInfo.githubURL + "/blob/master/" + metaInfo.projectPath; + } + nav$.find('.tools').prepend("
  • \n \n View source on GitHub\n \n
  • "); + } + for (_i = 0, _len = tableOfContents.length; _i < _len; _i++) { + node = tableOfContents[_i]; + toc$.append(buildTOCNode(node, metaInfo)); + } + return nav$; + }; + + buildTOCNode = function(node, metaInfo) { + var c, children$, clickLabel, discloser, discloser$, label$, node$, _i, _len, _ref, _ref1, _ref2; + node$ = $("
  • "); + discloser = null; + switch (node.type) { + case 'file': + node$.append("" + node.data.title + ""); + clickLabel = function(evt) { + if (evt.target === discloser) { + node$.toggleClass('expanded'); + evt.preventDefault(); + return false; + } + return selectNode(node$); + }; + break; + case 'folder': + node$.append("" + node.data.title + ""); + clickLabel = function(evt) { + selectNode(node$); + node$.toggleClass('expanded'); + evt.preventDefault(); + return false; + }; + } + if (((_ref = node.children) != null ? _ref.length : void 0) > 0) { + children$ = $('
      '); + _ref1 = node.children; + for (_i = 0, _len = _ref1.length; _i < _len; _i++) { + c = _ref1[_i]; + children$.append(buildTOCNode(c, metaInfo)); + } + node$.append(children$); + } + label$ = node$.find('> .label'); + label$.click(clickLabel); + discloser$ = $('').prependTo(label$); + if (!(((_ref2 = node.children) != null ? _ref2.length : void 0) > 0)) { + discloser$.addClass('placeholder'); + } + discloser = discloser$.get(0); + if (node.type === 'file') { + fileMap[node.data.targetPath] = node$; + } + appendSearchNode(node$); + return node$; + }; + + $(function() { + var lastMousedownTimestamp, metaInfo, search$, toggle$; + metaInfo = { + relativeRoot: $('meta[name="groc-relative-root"]').attr('content'), + githubURL: $('meta[name="groc-github-url"]').attr('content'), + documentPath: $('meta[name="groc-document-path"]').attr('content'), + projectPath: $('meta[name="groc-project-path"]').attr('content') + }; + nav$ = buildNav(metaInfo); + toc$ = nav$.find('.toc'); + search$ = $('#search'); + selectNodeByDocumentPath(metaInfo.documentPath, window.location.hash.replace('#', '')); + search$.focus(function() { + return setTableOfContentsActive(true); + }); + lastMousedownTimestamp = null; + nav$.mousedown(function(evt) { + if (evt.target !== toggle$[0]) { + return lastMousedownTimestamp = evt.timeStamp; + } + }); + search$.blur(function(evt) { + if (evt.timeStamp - lastMousedownTimestamp < 10) { + return search$.focus(); + } else { + return setTableOfContentsActive(false); + } + }); + toggle$ = nav$.find('.toggle'); + toggle$.click(function(evt) { + if (search$.is(':focus')) { + search$.blur(); + } else { + search$.focus(); + } + return evt.preventDefault(); + }); + toggle$.mousedown(function(evt) { + return evt.preventDefault(); + }); + $('body').keydown(function(evt) { + if (nav$.hasClass('active')) { + switch (evt.keyCode) { + case 13: + visitCurrentNode(); + break; + case 37: + setCurrentNodeExpanded(false); + break; + case 38: + moveCurrentNode(true); + break; + case 39: + setCurrentNodeExpanded(true); + break; + case 40: + moveCurrentNode(false); + break; + default: + return; + } + return evt.preventDefault(); + } + }); + search$.bind('keyup search', function(evt) { + return searchNodes(search$.val()); + }); + search$.keydown(function(evt) { + if (evt.keyCode === 27) { + if (search$.val().trim() === '') { + return search$.blur(); + } else { + return search$.val(''); + } + } + }); + return $('.code.folded').each(function(index, code) { + var code$; + code$ = $(code); + return code$.click(function(evt) { + code$.toggleClass('folded'); + evt.preventDefault(); + return false; + }); + }); + }); + +}).call(this); diff --git a/assets/style.css b/assets/style.css new file mode 100644 index 0000000..38e374d --- /dev/null +++ b/assets/style.css @@ -0,0 +1 @@ +@charset "UTF-8";html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}html{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary{display:block}html,body{height:100%}#document{min-height:100%}body{max-width:33em}.segment{padding:0.5em 0 0.5em 33em;white-space:nowrap}.segment:first-child{padding-top:4.1em}.segment:last-child{padding-bottom:2em}.segment .comments,.segment .code{display:inline-block;vertical-align:top;padding:0 2em}.segment .comments{margin-left:-33em;width:29em;white-space:normal}.segment .code{white-space:pre}#meta{position:absolute;left:33em;padding:0.25em 1em}@media (max-width: 53em){html{font-size:1em}}@media (max-width: 52.94111em){html{font-size:0.99889em}}@media (max-width: 52.88222em){html{font-size:0.99778em}}@media (max-width: 52.82333em){html{font-size:0.99667em}}@media (max-width: 52.76444em){html{font-size:0.99556em}}@media (max-width: 52.70556em){html{font-size:0.99444em}}@media (max-width: 52.64667em){html{font-size:0.99333em}}@media (max-width: 52.58778em){html{font-size:0.99222em}}@media (max-width: 52.52889em){html{font-size:0.99111em}}@media (max-width: 52.47em){html{font-size:0.99em}}@media (max-width: 52.41111em){html{font-size:0.98889em}}@media (max-width: 52.35222em){html{font-size:0.98778em}}@media (max-width: 52.29333em){html{font-size:0.98667em}}@media (max-width: 52.23444em){html{font-size:0.98556em}}@media (max-width: 52.17556em){html{font-size:0.98444em}}@media (max-width: 52.11667em){html{font-size:0.98333em}}@media (max-width: 52.05778em){html{font-size:0.98222em}}@media (max-width: 51.99889em){html{font-size:0.98111em}}@media (max-width: 51.94em){html{font-size:0.98em}}@media (max-width: 51.88111em){html{font-size:0.97889em}}@media (max-width: 51.82222em){html{font-size:0.97778em}}@media (max-width: 51.76333em){html{font-size:0.97667em}}@media (max-width: 51.70444em){html{font-size:0.97556em}}@media (max-width: 51.64556em){html{font-size:0.97444em}}@media (max-width: 51.58667em){html{font-size:0.97333em}}@media (max-width: 51.52778em){html{font-size:0.97222em}}@media (max-width: 51.46889em){html{font-size:0.97111em}}@media (max-width: 51.41em){html{font-size:0.97em}}@media (max-width: 51.35111em){html{font-size:0.96889em}}@media (max-width: 51.29222em){html{font-size:0.96778em}}@media (max-width: 51.23333em){html{font-size:0.96667em}}@media (max-width: 51.17444em){html{font-size:0.96556em}}@media (max-width: 51.11556em){html{font-size:0.96444em}}@media (max-width: 51.05667em){html{font-size:0.96333em}}@media (max-width: 50.99778em){html{font-size:0.96222em}}@media (max-width: 50.93889em){html{font-size:0.96111em}}@media (max-width: 50.88em){html{font-size:0.96em}}@media (max-width: 50.82111em){html{font-size:0.95889em}}@media (max-width: 50.76222em){html{font-size:0.95778em}}@media (max-width: 50.70333em){html{font-size:0.95667em}}@media (max-width: 50.64444em){html{font-size:0.95556em}}@media (max-width: 50.58556em){html{font-size:0.95444em}}@media (max-width: 50.52667em){html{font-size:0.95333em}}@media (max-width: 50.46778em){html{font-size:0.95222em}}@media (max-width: 50.40889em){html{font-size:0.95111em}}@media (max-width: 50.35em){html{font-size:0.95em}}@media (max-width: 50.29111em){html{font-size:0.94889em}}@media (max-width: 50.23222em){html{font-size:0.94778em}}@media (max-width: 50.17333em){html{font-size:0.94667em}}@media (max-width: 50.11444em){html{font-size:0.94556em}}@media (max-width: 50.05556em){html{font-size:0.94444em}}@media (max-width: 49.99667em){html{font-size:0.94333em}}@media (max-width: 49.93778em){html{font-size:0.94222em}}@media (max-width: 49.87889em){html{font-size:0.94111em}}@media (max-width: 49.82em){html{font-size:0.94em}}@media (max-width: 49.76111em){html{font-size:0.93889em}}@media (max-width: 49.70222em){html{font-size:0.93778em}}@media (max-width: 49.64333em){html{font-size:0.93667em}}@media (max-width: 49.58444em){html{font-size:0.93556em}}@media (max-width: 49.52556em){html{font-size:0.93444em}}@media (max-width: 49.46667em){html{font-size:0.93333em}}@media (max-width: 49.40778em){html{font-size:0.93222em}}@media (max-width: 49.34889em){html{font-size:0.93111em}}@media (max-width: 49.29em){html{font-size:0.93em}}@media (max-width: 49.23111em){html{font-size:0.92889em}}@media (max-width: 49.17222em){html{font-size:0.92778em}}@media (max-width: 49.11333em){html{font-size:0.92667em}}@media (max-width: 49.05444em){html{font-size:0.92556em}}@media (max-width: 48.99556em){html{font-size:0.92444em}}@media (max-width: 48.93667em){html{font-size:0.92333em}}@media (max-width: 48.87778em){html{font-size:0.92222em}}@media (max-width: 48.81889em){html{font-size:0.92111em}}@media (max-width: 48.76em){html{font-size:0.92em}}@media (max-width: 48.70111em){html{font-size:0.91889em}}@media (max-width: 48.64222em){html{font-size:0.91778em}}@media (max-width: 48.58333em){html{font-size:0.91667em}}@media (max-width: 48.52444em){html{font-size:0.91556em}}@media (max-width: 48.46556em){html{font-size:0.91444em}}@media (max-width: 48.40667em){html{font-size:0.91333em}}@media (max-width: 48.34778em){html{font-size:0.91222em}}@media (max-width: 48.28889em){html{font-size:0.91111em}}@media (max-width: 48.23em){html{font-size:0.91em}}@media (max-width: 48.17111em){html{font-size:0.90889em}}@media (max-width: 48.11222em){html{font-size:0.90778em}}@media (max-width: 48.05333em){html{font-size:0.90667em}}@media (max-width: 47.99444em){html{font-size:0.90556em}}@media (max-width: 47.93556em){html{font-size:0.90444em}}@media (max-width: 47.87667em){html{font-size:0.90333em}}@media (max-width: 47.81778em){html{font-size:0.90222em}}@media (max-width: 47.75889em){html{font-size:0.90111em}}@media (max-width: 47.7em){html{font-size:0.9em}}@media (max-width: 47.64111em){html{font-size:0.89889em}}@media (max-width: 47.58222em){html{font-size:0.89778em}}@media (max-width: 47.52333em){html{font-size:0.89667em}}@media (max-width: 47.46444em){html{font-size:0.89556em}}@media (max-width: 47.40556em){html{font-size:0.89444em}}@media (max-width: 47.34667em){html{font-size:0.89333em}}@media (max-width: 47.28778em){html{font-size:0.89222em}}@media (max-width: 47.22889em){html{font-size:0.89111em}}@media (max-width: 47.17em){html{font-size:0.89em}}@media (max-width: 47.11111em){html{font-size:0.88889em}}@media (max-width: 47.05222em){html{font-size:0.88778em}}@media (max-width: 46.99333em){html{font-size:0.88667em}}@media (max-width: 46.93444em){html{font-size:0.88556em}}@media (max-width: 46.87556em){html{font-size:0.88444em}}@media (max-width: 46.81667em){html{font-size:0.88333em}}@media (max-width: 46.75778em){html{font-size:0.88222em}}@media (max-width: 46.69889em){html{font-size:0.88111em}}@media (max-width: 46.64em){html{font-size:0.88em}}@media (max-width: 46.58111em){html{font-size:0.87889em}}@media (max-width: 46.52222em){html{font-size:0.87778em}}@media (max-width: 46.46333em){html{font-size:0.87667em}}@media (max-width: 46.40444em){html{font-size:0.87556em}}@media (max-width: 46.34556em){html{font-size:0.87444em}}@media (max-width: 46.28667em){html{font-size:0.87333em}}@media (max-width: 46.22778em){html{font-size:0.87222em}}@media (max-width: 46.16889em){html{font-size:0.87111em}}@media (max-width: 46.11em){html{font-size:0.87em}}@media (max-width: 46.05111em){html{font-size:0.86889em}}@media (max-width: 45.99222em){html{font-size:0.86778em}}@media (max-width: 45.93333em){html{font-size:0.86667em}}@media (max-width: 45.87444em){html{font-size:0.86556em}}@media (max-width: 45.81556em){html{font-size:0.86444em}}@media (max-width: 45.75667em){html{font-size:0.86333em}}@media (max-width: 45.69778em){html{font-size:0.86222em}}@media (max-width: 45.63889em){html{font-size:0.86111em}}@media (max-width: 45.58em){html{font-size:0.86em}}@media (max-width: 45.52111em){html{font-size:0.85889em}}@media (max-width: 45.46222em){html{font-size:0.85778em}}@media (max-width: 45.40333em){html{font-size:0.85667em}}@media (max-width: 45.34444em){html{font-size:0.85556em}}@media (max-width: 45.28556em){html{font-size:0.85444em}}@media (max-width: 45.22667em){html{font-size:0.85333em}}@media (max-width: 45.16778em){html{font-size:0.85222em}}@media (max-width: 45.10889em){html{font-size:0.85111em}}@media (max-width: 45.05em){html{font-size:1em}body{margin:0 auto}.segment{padding:0;white-space:normal;max-width:29em;margin:0 auto}.segment .comments,.segment .code{display:block;padding:1em}.segment .comments{margin-left:0;width:auto}.segment .code{display:block;overflow-y:hidden;overflow-x:auto}.segment .code .wrapper{display:inline-block}#meta{position:static;margin:2em 0 0 0;overflow-y:hidden;overflow-x:auto}#meta .file-path{display:inline-block}}nav{position:fixed;top:0;right:0;width:20em}@media (max-width: 45.05em){nav{left:0;width:100%}}nav .tools{position:relative;z-index:100}nav .tools li{display:table-cell;vertical-align:middle;text-align:center;white-space:nowrap;height:2.1em;padding:0 0.55em}nav .tools .github{padding:0}nav .tools .github a{display:block;height:2.1em;width:2.1em;text-indent:-9001em}nav .tools .search{width:100%}nav .tools .search input{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;width:100%}nav .toc{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;top:2.1em;bottom:0;width:100%;overflow-x:hidden;overflow-y:auto}nav .toc li{position:relative}nav .toc .label{display:block;line-height:2em;padding:0 0.55em 0 0.55em}nav .toc li li .label{padding-left:1.1em}nav .toc li li li .label{padding-left:1.65em}nav .toc li li li li .label{padding-left:2.2em}nav .toc li li li li li .label{padding-left:2.75em}nav .toc li li li li li li .label{padding-left:3.3em}nav{-webkit-transition:height 0;-webkit-transition-delay:150ms;-moz-transition:height 0 150ms;-o-transition:height 0 150ms;transition:height 0 150ms}nav .tools .toggle{-webkit-transition:background 150ms;-moz-transition:background 150ms;-o-transition:background 150ms;transition:background 150ms}nav.active{-webkit-transition:height 0 0;-moz-transition:height 0 0;-o-transition:height 0 0;transition:height 0 0;height:100%}nav .toc{-webkit-transition:right 150ms;-moz-transition:right 150ms;-o-transition:right 150ms;transition:right 150ms;right:-100%}nav.active .toc{right:0}@media (max-width: 45.05em){nav .toc{-webkit-transition:left 150ms;-moz-transition:left 150ms;-o-transition:left 150ms;transition:left 150ms;right:auto;left:-100%}nav.active .toc{left:0}}@media (max-width: 45.05em){body{-webkit-transition:left 150ms;-moz-transition:left 150ms;-o-transition:left 150ms;transition:left 150ms;position:relative;left:0}html.popped{overflow:hidden}html.popped body{left:100%;overflow:hidden}}nav .toc .children,nav .toc .outline{display:none}nav .toc .expanded>.children,nav .toc .expanded>.outline,nav .toc .expanded>.outline .children{display:block}nav .toc .discloser{-webkit-transition-property:-moz-transform,-webkit-transform,-o-transform,-webkit-transform;-moz-transition-property:-moz-transform,-webkit-transform,-o-transform,-moz-transform;-o-transition-property:-moz-transform,-webkit-transform,-o-transform,-o-transform;transition-property:-moz-transform -webkit-transform -o-transform transform;-webkit-transition-duration:200ms;-moz-transition-duration:200ms;-o-transition-duration:200ms;transition-duration:200ms;-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg);display:inline-block;height:9px;width:9px;padding:0.2em;margin:0.2em 0.2em -0.2em 0.2em;vertical-align:baseline;background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDowOEFDRENGQzE2NEUxMUUxODdDNUQ2ODM0QzVGRkVBMSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDowOEFDRENGRDE2NEUxMUUxODdDNUQ2ODM0QzVGRkVBMSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjA4QUNEQ0ZBMTY0RTExRTE4N0M1RDY4MzRDNUZGRUExIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjA4QUNEQ0ZCMTY0RTExRTE4N0M1RDY4MzRDNUZGRUExIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+nQHMgwAAAM1JREFUeNpi/P//P0NJSYkuAwNDJhDXAPE7BjIAExIbZNA9IC4CYjZKDAIBfiDuBeLzQOxBiUEwoAXE26FYixKDYMAD6rpeqGvJNogBGl5F0PDLpMQgGBAC4mlQF9pTYhAMGADxASBeB8RylBgEA4FAfAOIW4CYhxKDQIAZxmChwJD1QFwGxHfINegaEGcB8UFyA/sd1AA9dEOIddFfIJ4OzdAfcSkiZNAOIC6GegcvwGXQHagBm8jNtB+hBmiTYgi6i+ZCw+EFOWkBIMAA1W4l62UzKWwAAAAASUVORK5CYII=') center center no-repeat;background-size:9px 9px}nav .toc .discloser.placeholder,nav .toc .expanded>.outline .discloser{background:none}nav .toc .expanded>.label .discloser{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg)}nav .toc .filtered>.label{display:none}nav .toc .matched-child>.label{display:block}nav .toc .matched-child>.children,nav .toc .matched-child>.outline,nav .toc .matched-child>.outline .children{display:block}nav .toc .matched>.children,nav .toc .matched>.outline,nav .toc .matched>.outline .children{display:block}nav.searching .toc .discloser{display:none}.comments .wrapper{font-family:"Helvetica Neue",Helvetica,"Droid Sans",sans-serif;font-weight:300;font-size:0.9375em;line-height:1.35}.comments .wrapper h1,.comments .wrapper h2,.comments .wrapper h3,.comments .wrapper h4,.comments .wrapper h5,.comments .wrapper h6{font-family:"HelveticaNeue-UltraLight","Helvetica Neue",Helvetica,"Droid Sans",sans-serif;font-weight:100;letter-spacing:0.0625em;line-height:1.25;margin-bottom:0.5}.comments .wrapper h1{font-size:2.5em}.comments .wrapper h2{font-size:2em}.comments .wrapper h3{font-size:1.6em}.comments .wrapper h4{font-size:1.4em}.comments .wrapper h5{font-size:1.3em}.comments .wrapper h6{font-size:1.2em}.comments .wrapper p{margin:1em 0}.comments .wrapper>*:first-child{margin-top:0}.comments .wrapper>*:last-child{margin-bottom:0}.comments .wrapper ol,.comments .wrapper ul{padding-left:1.75em}.comments .wrapper ol li{list-style:decimal}.comments .wrapper ul li{list-style:disc}.comments .wrapper li{margin:1em 0}.comments .wrapper li:first-child{margin-top:0}.comments .wrapper li:last-child{margin-bottom:0}.comments .wrapper code{display:inline-block;padding:0.25em 0.25em 0 0.25em}.comments .wrapper pre{display:block;overflow-x:auto;overflow-y:hidden}.comments .wrapper pre code{padding:1em}.comments .wrapper blockquote{padding:0 1em}.comments .wrapper strong{font-weight:700}.comments .wrapper em{font-style:italic}html{background:#4a525a}#document{background:#f5fbff -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #272c30), color-stop(30%, #3e454c), color-stop(100%, #4a525a)) 33em no-repeat;background:#f5fbff -webkit-linear-gradient(left, #272c30,#3e454c 0.3em,#4a525a 1em) 33em no-repeat;background:#f5fbff -moz-linear-gradient(left, #272c30,#3e454c 0.3em,#4a525a 1em) 33em no-repeat;background:#f5fbff -o-linear-gradient(left, #272c30,#3e454c 0.3em,#4a525a 1em) 33em no-repeat;background:#f5fbff linear-gradient(left, #272c30,#3e454c 0.3em,#4a525a 1em) 33em no-repeat;margin-right:-1em;padding-right:1em}@media (max-width: 45.05em){#document{margin-right:0;padding-right:0}}#meta>*{font-family:"Helvetica Neue",Helvetica,"Droid Sans",sans-serif;font-weight:300;font-size:0.9375em;line-height:1.35;text-shadow:#272c30 1px 1px 0}#meta>*,#meta>* a{color:#9faab7}#meta>* a{text-decoration:none}.comments .wrapper{font-family:"Helvetica Neue",Helvetica,"Droid Sans",sans-serif;font-weight:300;font-size:0.9375em;line-height:1.35;text-shadow:#fff 1px 1px 0;color:#4a525a}.code .wrapper{font-family:"Droid Sans Mono",Menlo,Monaco,monospace;font-size:0.75em;line-height:1.4;text-shadow:#272c30 1px 1px 0;color:#cbd1d8}.code .wrapper .k{color:#e0c090}.code .wrapper .kc{color:#e0c090}.code .wrapper .kd{color:#e0c090}.code .wrapper .kp{color:#e0c090}.code .wrapper .kr{color:#e0c090}.code .wrapper .kt{color:#e0c090}.code .wrapper .na{color:#a9c2ba}.code .wrapper .nc{color:#cee4dd}.code .wrapper .no{color:#cee4dd}.code .wrapper .nd{color:#cee4dd}.code .wrapper .nf{color:#abd9cf}.code .wrapper .py{color:#abd9cf}.code .wrapper .nv{color:#b9d0af}.code .wrapper .vc{color:#b9d0af}.code .wrapper .vg{color:#b9d0af}.code .wrapper .vi{color:#b9d0af}.code .wrapper .s{color:#e9baba}.code .wrapper .sb{color:#e9baba}.code .wrapper .sc{color:#e9baba}.code .wrapper .sd{color:#e9baba}.code .wrapper .s2{color:#e9baba}.code .wrapper .se{color:#e9baba}.code .wrapper .sh{color:#e9baba}.code .wrapper .si{color:#e9baba}.code .wrapper .sx{color:#e9baba}.code .wrapper .sr{color:#cba8d6}.code .wrapper .s1{color:#e9baba}.code .wrapper .ss{color:#cba8d6}.code .wrapper .m{color:#cba8d6}.code .wrapper .mf{color:#cba8d6}.code .wrapper .mh{color:#cba8d6}.code .wrapper .mi{color:#cba8d6}.code .wrapper .il{color:#cba8d6}.code .wrapper .mo{color:#cba8d6}.code .wrapper .o{color:#ded3a1}.code .wrapper .ow{color:#ded3a1}.code .wrapper .p{color:#ded3a1}.code .wrapper .c,.code .wrapper .cm,.code .wrapper .cp,.code .wrapper .c1,.code .wrapper .cs{font-style:italic}.code .wrapper .c{color:#b1bac4}.code .wrapper .cm{color:#b1bac4}.code .wrapper .cp{color:#b1bac4}.code .wrapper .c1{color:#b1bac4}.code .wrapper .cs{color:#b1bac4}@media (max-width: 45.05em){.code{-webkit-border-radius:0.4em;-moz-border-radius:0.4em;-ms-border-radius:0.4em;-o-border-radius:0.4em;border-radius:0.4em;-webkit-box-shadow:#272c30 0 0 0.5em 0.2em inset;-moz-box-shadow:#272c30 0 0 0.5em 0.2em inset;box-shadow:#272c30 0 0 0.5em 0.2em inset;background:#4a525a}.code .wrapper{-webkit-box-shadow:#4a525a 0 0 0.25em 0.75em;-moz-box-shadow:#4a525a 0 0 0.25em 0.75em;box-shadow:#4a525a 0 0 0.25em 0.75em;background:#4a525a}}@media (max-width: 29em){.code{-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0}}nav{text-shadow:#f0f0f0 1px 1px 0;color:#4a525a}nav .tools,nav .toc{font-family:"Helvetica Neue",Helvetica,"Droid Sans",sans-serif;font-weight:300;font-size:0.9375em;line-height:1.35}nav .tools{-webkit-box-shadow:rgba(0,0,0,0.3) 0 0 0.5em 0.1em;-moz-box-shadow:rgba(0,0,0,0.3) 0 0 0.5em 0.1em;box-shadow:rgba(0,0,0,0.3) 0 0 0.5em 0.1em;background:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(255,255,255,0.9)), color-stop(100%, rgba(205,205,205,0.9)));background:-webkit-linear-gradient(top, rgba(255,255,255,0.9),rgba(205,205,205,0.9));background:-moz-linear-gradient(top, rgba(255,255,255,0.9),rgba(205,205,205,0.9));background:-o-linear-gradient(top, rgba(255,255,255,0.9),rgba(205,205,205,0.9));background:linear-gradient(top, rgba(255,255,255,0.9),rgba(205,205,205,0.9));-moz-border-radius-bottomleft:0.4em;-webkit-border-bottom-left-radius:0.4em;border-bottom-left-radius:0.4em;border-bottom:1px solid #4a525a;border-left:1px solid #4a525a}@media (max-width: 53em){nav .tools{-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;border-bottom-left-radius:0}}nav .tools li{border-right:1px solid #4a525a}nav .tools li:last-child{border-right:none}nav .tools .toggle{cursor:pointer}nav .tools .github a{-webkit-transition:opacity 200ms;-moz-transition:opacity 200ms;-o-transition:opacity 200ms;transition:opacity 200ms;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5;background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACcAAAAwCAYAAACScGMWAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDowOEFDRENGODE2NEUxMUUxODdDNUQ2ODM0QzVGRkVBMSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDowOEFDRENGOTE2NEUxMUUxODdDNUQ2ODM0QzVGRkVBMSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjA4QUNEQ0Y2MTY0RTExRTE4N0M1RDY4MzRDNUZGRUExIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjA4QUNEQ0Y3MTY0RTExRTE4N0M1RDY4MzRDNUZGRUExIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+FC/Z5AAACv9JREFUeNrMWXl0VNUdvu/NmzWZJQnZN0hCWIQEIQuErUCBI2qwEAFRBJUeDvUPDwfKVhDUY2mPp8spakVELSq11goIiCBbUVKKUGKQQFiCSBJIQjLJZPbJzOt3J/dOXiYJgcqh3nO+vPfm3Xfvd3/3t94IsiyTH2sTyY+4SfxGpVIpfzdBokdxjQHOADuAj4GmuzRvFjAbmAZkAocEQZjLX/r9/vYbuq0UgigoQKagsxyG74FlgB4gYdAA0UASkAIkACahvSn70Xd/AlrCxm4VRDEBIBScUxg5wiCs7oZcEJDwN7g+AswH3gAOApVALdAIWIEGtpgyYAfwPFtYTU/jbtmy5W/gsZAugnMKbSsJ2oXAn1J62o9AIJCDy/ZgbzbQLVoqkAtM722fa2pqYnHJwfgmXG23MgjV7SjO3bR06BnlogUSe7PW+ntplXQHUlNTHewxqjdyR+8lOehxYNCgQa3hnHoil8a18F60trY2cenSpYU+n48qfXMnvaEQYcIMQ4KmrbAk/Cb3ZGV3gt7GWbx4cSm4xHd1JR2+aPfdIPK/ICIiwlNaWroKfMSgwDq0Moj78feB/1e4cjqdmq1btz6C25921jk5iOLe4i2XdDh+aF/ejhw5ksYEZJE6BAeHSuT83nyaMTLSZzAYfO2K7BPdbo/k9ngkOM8u32i1moBep2/TarVtGrU64PZ6VC0tLVqv1ydyFxLeamtrzbgYgJFSh+Bk2jOpe1ICmf7QtKp5856sHJo7zGoym4Lk3G636HQ4JXurTd3U1KTBtqgcTpcQZTYHIiIjfNExMV6DIaINuuTX6XQBp8sp1t24odv3+d6UN9/cPPTqtWpjOEFYLOeUI3CJwJJULAMZFE5u9cqVx1/esKE8jLebgWc3akCjjIFKbwF46dw0AlLXVnXpUlzx9OJpZyvO9VEShJR9LpfrHdy2SgqDCEB83i7Elj53NozYKeAY3QHAE0ZOz0KQmukuJ+VifUPkMrKyjO9t2bzvwUdmbL5eV2/gBBVE1crAL/OAy4mlJSe5Vq5Zd0pB7O/4OB7XXwJbgC/pYLHRFhJtNhONRk1q6xtIv+RE4vJ4SUOTldTdDKWABcBi+g3wdtH9OfaHJ4zaVpg7NHvH/oPrFKGMW4wghYn/uvJhwvjx1UZLFN+6I/iQ3r/Pnh+iGQcWUVPfaCWNzTZiiowgMA5yo7GJ1N5oIP4OI4llmQzV6QVAdenp8v3J8X1IhF7aplarV0HXaE5IJEniH8md/RwhFZ1iWFoqj3dUop8yQrzFPPvss78Cuf48e7W22IjL7SHXauuUxGgbpTS2goKC5fhu9InyCnLmfFWDiByQv6OOuCu5dmEeU46Iyfj7CqzKwXQp1OLj4wfSrcJEll78q0b5EBMTQ4k++V3N9cE6rVYCuRCP5OTkFm5ECskJFMdxd5X/dLOh3shuG9n1n8pMYuLEiQ10sawmuFU7SQMAfxg3bhxXn1yLyWDx+X0mhVT5O2d4NLADb/GHr0/9J97ltFO9lDJSgruyC3gpNjb20tq1a4+OHj26OaxQGgDMYxarbN8BTxuNxm9nzZr1zZIlS6r4GiWVekhbW0BL9Q0L9s+dO/dqKKfsJvCb4fMuMKuRP/nwvSN4//PHH55CsAXckqkhbGJ4nWYSbMCXmIKkKRNJhQeIATYqvs3PGZD1EX1F55s0adI5xbupXciJ7ddCWBCVopyekuw8ffJr2lkzMLMviYky0/7UeRcDNIMYxbeIKf6IvLy8madOnZqId1KEQU8S4/rA1ZiwODX9Ng9YCcxc/sxjkyWVivo+GRGkurKy8j1G7DW6YGWECMVY2hKTEicjHH1stVpNSYkJztmPlqw/uG/vK/6ATPeC+Nv88JIqUg2X0epwEo/XW4LPltMaFNs+vays7HhSUtLS9OTEpgi9jkRbTMRmd5Ios5G0OuGTA/LkMxcubWtr89MIcRnZyLYnnniC70Ap8JfutjWE9evXF02YMKGCiz0hPu5YWlLC/PuyMzOGZGdKOQP7k76pSSR3YDZJSYyDVE0js7KyVhw88MVQjJkODAR0AzLSyJi8XIJvzMMGZU+M7xP9V5p4snHf3/jqxp+g35+Z1F4GTEFOCsktYCHmANCgKAX779q1a9W7776bd/jw4b6QpFEtSUSr0VyTJPE8vMB3Br2uSRREh0oUbPEpaQlFhQW5dXU3mtUaddzBA4crHE5HItba3+ly9/V4fWbMSQuo7SD2DsanPnQhEMnmfYM66c4Vf3txTFdSDTwakqAYrE2jgAV2u/2tvXv3/mPRokUfZWdnfwhvXhHKBBm4IYXhX8BrwC/wvmDZsmV9mFQXKgzgaeovRUXFr5QcdQcvAKupwFJSUkqqa6q3Kxw0lWIqU/rhly9fTsKWP1hdXR3dW4YL3fumqqrq1xqNhpZ9cewMhiYJNAKdpjqG+a9wy+56VsIkNXLkSOqIZXjx5s/37Z3QnS5SK4yMjDx8J/VBSUlJOb5bATwGUB3rC2j57gQ9BSuyeixwEJLiYdbUucq5uTnXNm3a1B3BXKDtTshZLBbnxYsXV1M31GW82yXH8ArXHbPZbENa/kc8zwPoQcvrwDU+Kd7ZIUUXq57cc+bMKeMlICKCC1sZWsTOnTs/wVyP3i65noqZjezEiNhsNiP83XPovBXYzHKy0EHPzJkzz6elpQXDGIj48/Pz67mWjhgxorqoqOhKKJGwWmkCUADdNXSuBTqrWG8V//d0hXq93spDEEd4Gz58eCMqdoENLtPqPXQyKUl+vK8PS8tMQaMQeDkqk477zkm+dAsjOzxjxozxXq/3rZMnT2Y0NzcbaIWFrXLjKqJKCqZJCHOy4qTIj+ghK47GBLwPhEsITddxL/R+7Npd++CDD86AyJPAMzU1NXGYW0C+5UHkGLhhw4axzL0IyiCvUomBsPM84QefCfd4oi2KlZhgQ2pq6ng83ke3xeFweHo6ykIKJCuykB90GCTdTicQpLq3AyR30oIXQXoRPzLopu9dO52S7uSUkrkXmq67uzMOOAMZRtDj6aeisrqt+UIjqTWasEHbM/eo2HiiQ07G9JtodDpibahTNdXdCPYzRBoFo8XCDr2D48h8clRutH8oROoMkaEVpQ8YzCxE6PEoMERubPHPFJZDvXOwpiB6gyF4/E5/87jcJDE9gxz7bMcDlBx1mOkZGS5UXMFxNHq9v29mf4+I+oIarj9ApCE5w+x8jhNl5emzSmbUBM8aRo3lUaBdCjJzKQrrVUhO23kVcrsP8nk9TJdUxGGzJXz2/pYXbtbWBI/JxkyavKd/Zlbr1StV9PCFDB6aW1dUmN/YLzOr5cK5iuizZ8v7PDD17S+HDLu/8tuy0wP+8NuXh/jdds/8BU9Fet3uXrc2RM7a0NBOjq1ECB0CtBMVoUu2psZxrVbrOKM5emeE2bj7iz27Ilauf/EZR2srVE3tXvP8ui+R55Hla9Z9tfDx2cVVFy6YP9r5acaRQ4deLZk9K9Nlt5fs3r0nc3h+4RRbc+PJAETL5RH0jWHOMKQPk+fM7+7cq+NjSSQum4M01V8nZ//9FfXyxRevXJ02ZtTI6TGxsVf6ZWWv2LP946ms8iofkDOsKeBx/06j1WtPHC99E7XEizSfA7LZ6LSSOzBl7lPuTkqOtn/bO53J3WHLAx4G6igRlvPPZO6FFiy/B2j5V0hLQvYNPcY4AVB/Sa3BEqwTCLnSo3e4S//oiGHFDTXh3cDFsIVMZXH8N4z8bbX/CjAA0UTEH4oMvREAAAAASUVORK5CYII=') center center no-repeat;background-size:19.5px 24px}nav .tools .github a:hover{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=90);opacity:0.9}nav.active .tools{-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;border-bottom-left-radius:0}nav.active .tools .toggle{background:rgba(205,205,205,0.9);position:relative}nav .toc{-webkit-box-shadow:rgba(0,0,0,0.3) 0 0 0.5em 0.1em;-moz-box-shadow:rgba(0,0,0,0.3) 0 0 0.5em 0.1em;box-shadow:rgba(0,0,0,0.3) 0 0 0.5em 0.1em;background:rgba(230,230,230,0.9);border-left:1px solid #4a525a}nav .toc .label{color:#4a525a;text-decoration:none;border-top:1px solid rgba(192,192,192,0.9);border-bottom:1px solid rgba(192,192,192,0.9);margin-top:-1px}nav .toc .label:hover{background:rgba(205,205,205,0.9)}nav .toc .file>.label{font-weight:bold}nav .toc .selected>.label{background:#f5fbff}nav .toc .label em{font-weight:bold}nav .toc .file>.label em{color:#101214}nav .toc .matched-child>.label{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=65);opacity:0.65;text-shadow:none;background:rgba(192,192,192,0.9)}@media (max-width: 45.05em){nav .tools,nav .toc{border-left-width:0}nav .tools{background:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #cdcdcd));background:-webkit-linear-gradient(top, #ffffff,#cdcdcd);background:-moz-linear-gradient(top, #ffffff,#cdcdcd);background:-o-linear-gradient(top, #ffffff,#cdcdcd);background:linear-gradient(top, #ffffff,#cdcdcd)}nav .toc{background:#e6e6e6}}.comments .wrapper a{display:inline-block;color:#a8614e;text-decoration:none}.comments .wrapper a:hover,.comments .wrapper a:hover *{text-decoration:underline}.comments .wrapper code{font-family:"Droid Sans Mono",Menlo,Monaco,monospace;font-size:0.75em;line-height:1.4;border:1px solid #e6e0d5}.comments .wrapper pre,.comments .wrapper code{-webkit-border-radius:0.4em;-moz-border-radius:0.4em;-ms-border-radius:0.4em;-o-border-radius:0.4em;border-radius:0.4em;background:#fbf8f3}.comments .wrapper pre{-webkit-box-shadow:#f2ece3 0 0 0.4em 0.2em;-moz-box-shadow:#f2ece3 0 0 0.4em 0.2em;box-shadow:#f2ece3 0 0 0.4em 0.2em;border:1px solid #d9c9af}.comments .wrapper pre code{border-width:0;background:transparent}.comments .wrapper blockquote{border-left:0.15em solid #959fa8;margin-left:-0.15em}body{-webkit-text-size-adjust:100%}input[type="search"]{-webkit-border-radius:1em;-moz-border-radius:1em;-ms-border-radius:1em;-o-border-radius:1em;border-radius:1em;-webkit-box-shadow:#ddd 0 1px 1px 0 inset;-moz-box-shadow:#ddd 0 1px 1px 0 inset;box-shadow:#ddd 0 1px 1px 0 inset;border:1px solid #959595;padding:0.15em 0.8em}.comments.doc-section .wrapper{color:#252519}.comments.doc-section.doc-section-private .wrapper,.comments.doc-section.doc-section-protected .wrapper,.comments.doc-section.doc-section-internal .wrapper{color:#7f7f7f}.comments.doc-section .doc-section-header{font:bold 18px "helvetica neue",helvetica,sans-serif}.comments.doc-section .docs .doc-section-header code{font-size:18px}.code .marker,.code .marker.wrapper,.code .wrapper.marker{display:none}.code.folded .wrapper{display:none;cursor:default}.code.folded .marker{-webkit-border-radius:0.2em;-moz-border-radius:0.2em;-ms-border-radius:0.2em;-o-border-radius:0.2em;border-radius:0.2em;-webkit-box-shadow:#2f3539 1px 1px 1px 0;-moz-box-shadow:#2f3539 1px 1px 1px 0;box-shadow:#2f3539 1px 1px 1px 0;display:inline-block;border:1px solid #73787f;padding:0.2em 0.5em;margin-left:-0.5em;margin-right:-0.5em;background:#58616b;font:12px "Droid Sans Mono",Menlo,Monaco,monospace;text-shadow:#2f3539 1px 1px 0px;cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none}.code.folded .marker .c1{color:#73787f;font-style:normal}.code.folded .marker:hover{background:#5f6872}.code.folded .marker:hover .c1{color:#7b8087}.code.folded .marker .c1:after{content:" …"} diff --git a/cmp/cmp.html b/cmp/cmp.html new file mode 100644 index 0000000..c7775c6 --- /dev/null +++ b/cmp/cmp.html @@ -0,0 +1,59 @@ +cmp/cmp
      var bcmp_t = function(){

      Compares two big endian arrays, |a| >= |b|

      + +

      Parameters:

      + +
        +
      • a must be an array.
        (first operand)

      • +
      • ai must be an int.
        (a left)

      • +
      • aj must be an int.
        (a right)

      • +
      • b must be an array.
        (second operand)

      • +
      • bi must be an int.
        (b left)

      • +
      • bj must be an int.
        (b right)

      • +
      + +

      Returns an int
      (1 if a > b; 0 if a = b; -1 otherwise.)

      return function(a, ai, aj, b, bi, bj){ + + var tmp = aj - bj + bi; + + for (; ai < tmp; ++ai) + if (a[ai] > 0) return 1;

      same size aj - ai === bj - bi

      for (; ai < aj; ++ai, ++bi) { + if (a[ai] > b[bi]) return 1; + if (a[ai] < b[bi]) return -1; + } + + return 0; + }; + +}; + +var lcmp_t = function(){

      Compares two little endian arrays, |a| >= |b|

      + +

      Parameters:

      + +
        +
      • a must be an array.
        (first operand)

      • +
      • ai must be an int.
        (a left)

      • +
      • aj must be an int.
        (a right)

      • +
      • b must be an array.
        (second operand)

      • +
      • bi must be an int.
        (b left)

      • +
      • bj must be an int.
        (b right)

      • +
      + +

      Returns an int
      (1 if a > b; 0 if a = b; -1 otherwise.)

      return function(a, ai, aj, b, bi, bj){ + + var tmp = ai + bj - bi; + + --aj; --bj; + + for (; aj >= tmp; --aj) + if (a[aj] > 0) return 1;

      same size aj - ai === bj - bi

      for (; aj >= ai; --aj, --bj) { + if (a[aj] > b[bj]) return 1; + if (a[aj] < b[bj]) return -1; + } + + return 0; + }; +}; + +exports.bcmp_t = bcmp_t; +exports.lcmp_t = lcmp_t;
      \ No newline at end of file diff --git a/cmp/eq.html b/cmp/eq.html new file mode 100644 index 0000000..6560cb0 --- /dev/null +++ b/cmp/eq.html @@ -0,0 +1,8 @@ +cmp/eq

      Wrapper for a comparison operator that returns true iff +a is equal to b.

      var eq_t = function(cmp){ + return function (a, ai, aj, b, bi, bj) { + return cmp(a, ai, aj, b, bi, bj) === 0; + }; +}; + +exports.eq_t = eq_t;
      \ No newline at end of file diff --git a/cmp/ge.html b/cmp/ge.html new file mode 100644 index 0000000..4898647 --- /dev/null +++ b/cmp/ge.html @@ -0,0 +1,8 @@ +cmp/ge

      Wrapper for a comparison operator that returns true iff +a is greater or equal to b.

      var ge_t = function(cmp){ + return function (a, ai, aj, b, bi, bj) { + return cmp(a, ai, aj, b, bi, bj) >= 0; + }; +}; + +exports.ge_t = ge_t;
      \ No newline at end of file diff --git a/cmp/gt.html b/cmp/gt.html new file mode 100644 index 0000000..1dea650 --- /dev/null +++ b/cmp/gt.html @@ -0,0 +1,8 @@ +cmp/gt

      Wrapper for a comparison operator that returns true iff +a is greater than b.

      var gt_t = function(cmp){ + return function (a, ai, aj, b, bi, bj) { + return cmp(a, ai, aj, b, bi, bj) > 0; + }; +}; + +exports.gt_t = gt_t;
      \ No newline at end of file diff --git a/cmp/le.html b/cmp/le.html new file mode 100644 index 0000000..479aeff --- /dev/null +++ b/cmp/le.html @@ -0,0 +1,8 @@ +cmp/le

      Wrapper for a comparison operator that returns true iff +a is less or equal to b.

      var le_t = function(cmp){ + return function (a, ai, aj, b, bi, bj) { + return cmp(a, ai, aj, b, bi, bj) <= 0; + }; +}; + +exports.le_t = le_t;
      \ No newline at end of file diff --git a/cmp/lt.html b/cmp/lt.html new file mode 100644 index 0000000..300a5cf --- /dev/null +++ b/cmp/lt.html @@ -0,0 +1,8 @@ +cmp/lt

      Wrapper for a comparison operator that returns true iff +a is less than b.

      var lt_t = function(cmp){ + return function (a, ai, aj, b, bi, bj) { + return cmp(a, ai, aj, b, bi, bj) < 0; + }; +}; + +exports.lt_t = lt_t;
      \ No newline at end of file diff --git a/cmp/ne.html b/cmp/ne.html new file mode 100644 index 0000000..b7248f0 --- /dev/null +++ b/cmp/ne.html @@ -0,0 +1,8 @@ +cmp/ne

      Wrapper for a comparison operator that returns true iff +a is not equal to b.

      var ne_t = function(cmp){ + return function (a, ai, aj, b, bi, bj) { + return cmp(a, ai, aj, b, bi, bj) !== 0; + }; +}; + +exports.ne_t = ne_t;
      \ No newline at end of file diff --git a/div/div.html b/div/div.html new file mode 100644 index 0000000..949eea8 --- /dev/null +++ b/div/div.html @@ -0,0 +1,45 @@ +div/div
      var bdiv_t = function(mov, lt, sub){

      Computes quotient and remainder of two big endian arrays. +

      +Computes quotient and remainder of two big endian arrays +using long division algorithm (the one teached in +european primary schools).

      + +

      Parameters:

      + +
        +
      • a must be an array.
        (dividend)

      • +
      • ai must be an int.
        (a left)

      • +
      • aj must be an int.
        (a right)

      • +
      • b must be an array.
        (divisor)

      • +
      • bi must be an int.
        (b left)

      • +
      • bj must be an int.
        (b right)

      • +
      • q must be an array.
        (quotient, must be 0 initialized)

      • +
      • qi must be an int.
        (q left)

      • +
      • qj must be an int.
        (q right)

      • +
      • r must be an array.
        (remainder)

      • +
      • ri must be an int.
        (r left)

      • +
      • rj must be an int.
        (r right)

      • +
      var div = function(a, ai, aj, b, bi, bj, q, qi, qj, r, ri, rj){ + var k, t = ri + 1;

      copy dividend in remainder

      mov(a, ai, aj, r, ri); + + do {

      trim leading zeros + - maybe could try to put this procedure inside the sub loop

      while (ri < rj && r[ri] === 0) ++ri;

      search for a remainder block interval +greater than the divisor + - maybe could try binary search on the lt function + for another implementation

      k = ri + 1; + while (k <= rj && lt(r, ri, k, b, bi, bj)) ++k;

      remainder smaller than divisor --> end

      if (k > rj) break;

      divide current block interval by quotient

      do{

      increment quotient block corresponding +to current ls block of remainder interval

      ++q[qi + k - t];

      subtract divisor from current remainder +block interval

      sub(r, ri, k, b, bi, bj, r, ri, k); + + } while(!lt(r, ri, k, b, bi, bj)); + + + } while(k <= rj); + + }; + + return div; + +}; + +exports.bdiv_t = bdiv_t;
      \ No newline at end of file diff --git a/gcd/gcd.html b/gcd/gcd.html new file mode 100644 index 0000000..a2104d1 --- /dev/null +++ b/gcd/gcd.html @@ -0,0 +1 @@ +gcd/gcd

      COMPUTE THE GREATEST COMMON DIVISOR OF a AND b

      \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..b4c2520 --- /dev/null +++ b/index.html @@ -0,0 +1,9 @@ +index

      alu

      + +

      natural numbers algorithm templates for JavaScript

      + +

      Build Status +Coverage Status +Dependencies Status +devDependencies Status +Code Climate

      \ No newline at end of file diff --git a/lcm/lcm.html b/lcm/lcm.html new file mode 100644 index 0000000..5d18dbd --- /dev/null +++ b/lcm/lcm.html @@ -0,0 +1 @@ +lcm/lcm

      COMPUTE THE LEAST COMMON MULTIPLE OF a AND b

      \ No newline at end of file diff --git a/log/log.html b/log/log.html new file mode 100644 index 0000000..7ddb58f --- /dev/null +++ b/log/log.html @@ -0,0 +1 @@ +log/log

      FOR A NUMBER n COMPUTE THE GREATEST k SUCH THAT 2^k < n

      \ No newline at end of file diff --git a/mod/mod.html b/mod/mod.html new file mode 100644 index 0000000..864a4af --- /dev/null +++ b/mod/mod.html @@ -0,0 +1 @@ +mod/mod

      COMPUTE MODULUS (a % b)

      \ No newline at end of file diff --git a/mod/montgomery.html b/mod/montgomery.html new file mode 100644 index 0000000..8da0022 --- /dev/null +++ b/mod/montgomery.html @@ -0,0 +1 @@ +mod/montgomery

      COMPUTE MODULUS USING MONTGOMERY REDUCTION : http://en.wikipedia.org/wiki/Montgomery_reduction

      \ No newline at end of file diff --git a/mpow/mpow.html b/mpow/mpow.html new file mode 100644 index 0000000..d0a8216 --- /dev/null +++ b/mpow/mpow.html @@ -0,0 +1 @@ +mpow/mpow

      MODULAR EXPONENTIATION : http://en.wikipedia.org/wiki/Modular_exponentiation

      \ No newline at end of file diff --git a/mul/karatsuba.html b/mul/karatsuba.html new file mode 100644 index 0000000..7b626a8 --- /dev/null +++ b/mul/karatsuba.html @@ -0,0 +1,80 @@ +mul/karatsuba

      /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)

      + +

      Parameters:

      + +
        +
      • add must be a function.
        (addition algorithm)

      • +
      • sub must be a function.
        (subtraction algorithm)

      • +
      • mul must be a function.
        (multiplication algorithm)

      • +
      • copy must be a function.
        (copy algorithm)

      • +
      • num must be a prototype.
        (array ctor)

      • +
      • r must be an uint.
        (base (radix) EXPLANATION ########### a.b = (a1.r^{n} + a0).(b1.r^{n} + b0) = a1.b1.r^{2n} + (a1.b0 + a0.b1).r^{n} + a0.b0 = z2.r^{2n} + z1.r^{n} + z0 z2 = a1.b1 z1 = a1.b0 + a0.b1 z0 = a0.b0 (a1 + a0)(b1 + b0) = a1.b1 + a0.b0 + (a1.b0 + a0.b1) = z2 + z0 + z1 z1 = (a1 + a0)(b1 + b0) - z2 - z0 AN ANOTHER WAY AROUND (not used here) (a1 - a0)(b1 - b0) = a1.b1 + a0.b0 - (a1.b0 + a0.b1) (a0 - a1)(b1 - b0) = (a1.b0 + a0.b1) - a1.b1 + a0.b0 a.b = (r^{2n} + r^{n})a1.b1 + r^{n}(a0 - a1)(b1 - b0) + (r^{n} + 1)a0.b0,)

      • +
      var bkaratsuba_t = function(add, sub, mul, num, mov, r, wrap){

      Multiply two big endian arrays using karatsuba algorithm, +i >= j, k >= 2 * i

      + +

      Parameters:

      + +
        +
      • a must be an array.
        (first operand)

      • +
      • i0 must be an int.
        (a left)

      • +
      • i1 must be an int.
        (a right)

      • +
      • b must be an array.
        (second operand)

      • +
      • j0 must be an int.
        (b left)

      • +
      • j1 must be an int.
        (b right)

      • +
      • c must be an array.
        (result, must be 0 initialized)

      • +
      • k0 must be an int.
        (c left)

      • +
      • k1 must be an int.
        (c right)

      • +
      var karatsuba = function(a, i0, i1, b, j0, j1, c, k0, k1){ + + var z0, z2, t1, t2, t3, p, I, P, P_, i_, j_; + + var i = i1 - i0, + j = j1 - j0, + k = k1 - k0;

      EMPTY CASE

      if(i <= 0 || j <= 0 || k <= 0) return;

      BASE CASE i = j = 1

      if(i === 1){ + z0 = a[i0] * b[j0]; + c[k1-1] = z0 % r; + + if(k > 1) + c[k1-2] = (z0 - c[k1-1]) / r; + + }

      RECURSION

      else{ + p = Math.ceil(i / 2); + I = i + j; + P = 2 * p; + P_ = I - P; + i_ = i1 - p; + j_ = Math.max(j0, j1 - p); + + t1 = new num(p+1); // + 1 to handle addition overflows + t2 = new num(p+1); // and guarantee reducing k for the + t3 = new num(P+1); // recursive calls + z2 = new num(P_); + z0 = new num(P); +

      RECURSIVE CALLS

      mul(a, i0, i_, b, j0, j_, z2, 0, P_); // z2 = a1.b1 + mul(a, i_, i1, b, j_, j1, z0, 0, P); // z0 = a0.b0 + add(a, i_, i1, a, i0, i_, t1, 0, p + 1); // (a0 + a1) + add(b, j0, j_, b, j_, j1, t2, 0, p + 1); // (b1 + b0) + mul(t1, 1, p + 1, t2, 1, p + 1, t3, 1, P + 1); // (a0 + a1)(b1 + b0)

      BUILD OUTPUT

      mov(z2, 0, P_, c, k1 - I); // + z2 . r^{2n} + mov(z0, 0, P , c, k1 - P); // + z0 + if(t1[0]) // overflow on t1, add t2 . r^{p} + add(t3, 0, P + 1 - p, t2, 1, p + 1, t3, 0, P + 1 - p); + if(t2[0]) // overflow on t2, add t1 . r^{p} + add(t3, 0, P + 1 - p, t1, 1, p + 1, t3, 0, P + 1 - p); + if(t1[0] && t2[0]) // overflow on t1 and t2, add 1 . r^{p+1} + add(t3, 0, P - p, t1, 0, 1, t3, 0, P - p); + add(c, k0, k1 - p, t3, 0, P + 1, c, k0, k1 - p); // + (a0 + a1)(b1 + b0) . r^{n} + sub(c, k0, k1 - p, z2, 0, P_, c, k0, k1 - p); // - z2 . r^{n} + sub(c, k0, k1 - p, z0, 0, P, c, k0, k1 - p); // - z1 . r^{n} + } + + }; + + if(wrap !== undefined) karatsuba = wrap(karatsuba); + if(mul === undefined) mul = karatsuba; + + return karatsuba; + +}; + + +exports.bkaratsuba_t = bkaratsuba_t;
      \ No newline at end of file diff --git a/mul/mul.html b/mul/mul.html new file mode 100644 index 0000000..b0f74c6 --- /dev/null +++ b/mul/mul.html @@ -0,0 +1,38 @@ +mul/mul
      var bmul_t = function(r){

      Computes product of two big endian arrays. +

      +Computes product of two big endian arrays +using long multiplication algorithm (the one teached in +european primary schools)

      var mul = function(a, ai, aj, b, bi, bj, c, ci, cj){ + var ak, ck = --cj, ct, t, u, v, w, y, z; + + while (bj --> bi && ck >= ci) { + for (ak = aj, w = 0; ak --> ai && ck >= ci; --ck) { + t = b[bj] * a[ak]; + u = t % r; + v = c[ck] + u + w; + + y = v % r; + + c[ck] = y; + + z = (v - y) / r; + + for (ct = ck - 1; z > 0 && ct >= ci; --ct) { + v = c[ct] + z; + y = v % r; + c[ct] = y; + z = (v - y) / r; + } + + w = (t - u) / r; + } + ck = --cj; + } + }; + + return mul; + +}; + + +exports.bmul_t = bmul_t;
      \ No newline at end of file diff --git a/neg/neg.html b/neg/neg.html new file mode 100644 index 0000000..501d219 --- /dev/null +++ b/neg/neg.html @@ -0,0 +1 @@ +neg/neg

      COMPUTE THE NEGATIVE VALUE OF NUMBER n

      \ No newline at end of file diff --git a/not/not.html b/not/not.html new file mode 100644 index 0000000..478eb6d --- /dev/null +++ b/not/not.html @@ -0,0 +1 @@ +not/not

      BINARY not APPLIED ON a

      \ No newline at end of file diff --git a/or/or.html b/or/or.html new file mode 100644 index 0000000..9688a63 --- /dev/null +++ b/or/or.html @@ -0,0 +1 @@ +or/or

      BINARY or APPLIED ON a AND b

      \ No newline at end of file diff --git a/parse/parse.html b/parse/parse.html new file mode 100644 index 0000000..f042730 --- /dev/null +++ b/parse/parse.html @@ -0,0 +1,42 @@ +parse/parse

      Function template for number parsing. +Endianess provided by the iterator function +iterator function must be reverse ordered

      + +

      Parameters:

      + +
        +
      • f must be an int.
        (from radix)

      • +
      • t must be an int.
        (to radix)

      • +
      • iter must be a function.
        (iterator function)

      • +
      var parse_t = function(t, f, iter){ + + if(t >= f){ + + if(f > 36) throw 'f > 36 not implemented'; + + var z = 0, log = t; + while(log >= f){ + if (log % f) break; + log /= f; + ++z; + } + + if (log !== 1) throw 'log(f) does not divide log(t) not implemented';

      immediate log(t) divides log(f)

      return function(s, si, sj, a, ai, aj){ + var len = sj - si, k = sj - z, n = Math.ceil(len / z); + var block = function(i){ + a[i] = parseInt(s.slice(Math.max(0, k), k + z), f); + k -= z; + }; + + iter(aj - n, aj, block); + + }; + + } + else throw 'f > t not implemented'; + + +}; + + +exports.parse_t = parse_t;
      \ No newline at end of file diff --git a/pow/pow.html b/pow/pow.html new file mode 100644 index 0000000..9479909 --- /dev/null +++ b/pow/pow.html @@ -0,0 +1 @@ +pow/pow

      COMPUTES a^b

      \ No newline at end of file diff --git a/sha/sha.html b/sha/sha.html new file mode 100644 index 0000000..7a8a03a --- /dev/null +++ b/sha/sha.html @@ -0,0 +1 @@ +sha/sha

      ARITHMETIC SHIFT

      \ No newline at end of file diff --git a/shl/shl.html b/shl/shl.html new file mode 100644 index 0000000..1c16df5 --- /dev/null +++ b/shl/shl.html @@ -0,0 +1 @@ +shl/shl

      LOGICAL SHIFT

      \ No newline at end of file diff --git a/stringify/stringify.html b/stringify/stringify.html new file mode 100644 index 0000000..e9138f5 --- /dev/null +++ b/stringify/stringify.html @@ -0,0 +1,40 @@ +stringify/stringify

      Function template for number stringification. +Endianess provided by the iterator function

      + +

      Parameters:

      + +
        +
      • f must be an int.
        (from radix)

      • +
      • t must be an int.
        (to radix)

      • +
      • iter must be a function.
        (iterator function)

      • +
      var stringify_t = function(f, t, iter, zfill_t){ + + if(t <= f){ + + if(t > 36) throw 't > 36 not implemented'; + + var z = 0; + while(f >= t){ + if(f % t) break; + f /= t; + ++z; + } + + if(f !== 1) throw 'log(t) does not divide log(f) not implemented'; + + var zfill = zfill_t(z); + + return function(a, i0, i1){ + var s = []; + iter(i0, i1, function(i){ + s.push(zfill(Number(+a[i]).toString(t))); + }); + return s.join(''); + }; + + } + else throw 't > f not implemented'; + +}; + +exports.stringify_t = stringify_t;
      \ No newline at end of file diff --git a/sub/sub.html b/sub/sub.html new file mode 100644 index 0000000..44b428c --- /dev/null +++ b/sub/sub.html @@ -0,0 +1,92 @@ +sub/sub

      Parameters:

      + +
        +
      • r must be an int.
        (base (radix))
      • +
      var bsub_t = function(r){

      Subtracts two big endian arrays, k >= i >= j +wraps

      + +

      Parameters:

      + +
        +
      • a must be an array.
        (first operand)

      • +
      • i0 must be an int.
        (a left)

      • +
      • i1 must be an int.
        (a right)

      • +
      • b must be an array.
        (second operand)

      • +
      • j0 must be an int.
        (b left)

      • +
      • j1 must be an int.
        (b right)

      • +
      • c must be an array.
        (result, must be 0 initialized)

      • +
      • k0 must be an int.
        (c left)

      • +
      • k1 must be an int.
        (c right)

      • +
      return function(a, i0, i1, b, j0, j1, c, k0, k1){ + var T, C = 0; + + while(--j1 >= j0){ + --i1; --k1; + T = C; + C = a[i1] < b[j1] + T; + c[k1] = a[i1] - b[j1] + (C*r - T); + } + + while(--i1 >= i0){ + --k1; + T = C; + C = a[i1] < T; + c[k1] = a[i1] + (C*r - T); + } + + if(C){ + while(--k1 >= k0){ + c[k1] = r - 1; + } + } + + }; +};

      Parameters:

      + +
        +
      • r must be an int.
        (base (radix))
      • +
      var lsub_t = function(r){

      Subtracts two little endian arrays, k >= i >= j +wraps

      + +

      Parameters:

      + +
        +
      • a must be an array.
        (first operand)

      • +
      • i0 must be an int.
        (a left)

      • +
      • i1 must be an int.
        (a right)

      • +
      • b must be an array.
        (second operand)

      • +
      • j0 must be an int.
        (b left)

      • +
      • j1 must be an int.
        (b right)

      • +
      • c must be an array.
        (result, must be 0 initialized)

      • +
      • k0 must be an int.
        (c left)

      • +
      • k1 must be an int.
        (c right)

      • +
      return function(a, i0, i1, b, j0, j1, c, k0, k1){ + var T, C = 0; + + while(j0 < j1){ + T = C; + C = a[i0] < b[j0] + T; + c[k0] = a[i0] - b[j0] + (C*r - T); + ++i0; ++j0; ++k0; + } + + while(i0 < i1){ + T = C; + C = a[i0] < T; + c[k0] = a[i0] + (C*r - T); + ++i0; ++k0; + } + + if(C){ + while(k0 < k1){ + c[k0] = r - 1; + ++k0; + } + } + + }; +}; + + +exports.bsub_t = bsub_t; +exports.lsub_t = lsub_t;
      \ No newline at end of file diff --git a/wrap/wrap.html b/wrap/wrap.html new file mode 100644 index 0000000..a3e384f --- /dev/null +++ b/wrap/wrap.html @@ -0,0 +1,46 @@ +wrap/wrap

      Wrapper for binary operator. +Ensures

      + +
      i >= j
      +i0, j0, k0 >= 0
      +
      var wrapbin = function(fn){ + + return function(a, i0, i1, b, j0, j1, c, k0, k1){ + + var i, j, k; + + k0 = Math.max(0, k0); + k = k1 - k0; + + i0 = Math.max(0, i0, i1 - k); + j0 = Math.max(0, j0, j1 - k); + i = i1 - i0; + j = j1 - j0; + + if(i < j) + return fn(b, j0, j1, a, i0, i1, c, k0, k1); + + else + return fn(a, i0, i1, b, j0, j1, c, k0, k1); + }; +}; + +var wrapmov = function(fn){ + return function(a, i, j, b, k){ + + if(i < 0){ + k -= i; + i = 0; + } + if(k < 0){ + i -= k; + k = 0; + } + return fn(a, i, j, b, k); + + }; +}; + + +exports.wrapbin = wrapbin; +exports.wrapmov = wrapmov;
      \ No newline at end of file diff --git a/xor/xor.html b/xor/xor.html new file mode 100644 index 0000000..7168d40 --- /dev/null +++ b/xor/xor.html @@ -0,0 +1 @@ +xor/xor

      BINARY xor APPLIED ON a AND b

      \ No newline at end of file From 77253192aece90530586f4b17671e34ff8cecc83 Mon Sep 17 00:00:00 2001 From: aureooms Date: Wed, 11 Feb 2015 20:48:31 +0100 Subject: [PATCH 02/15] Generated documentation for 174efd7065aa79727287cbc1895613fdf5ba0f9a --- .gitignore | 2 +- abs/abs.html | 2 +- add/add.html | 142 +++++++++-------- and/and.html | 64 ++++---- assets/behavior.js | 322 ++++++++++++++++++++++++++++++++++----- assets/style.css | 2 +- cmp/cmp.html | 92 +++++------ cmp/eq.html | 14 +- cmp/ge.html | 14 +- cmp/gt.html | 14 +- cmp/le.html | 14 +- cmp/lt.html | 14 +- cmp/ne.html | 14 +- convert/basechange.html | 72 +++++++++ convert/convert.html | 42 +++++ convert/join.html | 46 ++++++ convert/split.html | 48 ++++++ div/dcdiv.html | 1 + div/div.html | 89 ++++++----- div/fourierdiv.html | 1 + div/knuthd.html | 1 + gcd/gcd.html | 2 +- index.html | 27 ++-- lcm/lcm.html | 2 +- log/log.html | 2 +- mod/mod.html | 2 +- mod/montgomery.html | 2 +- mpow/mpow.html | 2 +- mul/karatsuba.html | 169 +++++++++++--------- mul/mul.html | 54 +++---- mul/mul53.html | 83 ++++++++++ mul/toomcook.html | 1 + neg/neg.html | 2 +- not/not.html | 2 +- or/or.html | 2 +- parse/parse.html | 55 +++---- pow/ebs.html | 36 +++++ pow/pow.html | 18 ++- sha/sha.html | 2 +- shl/shl.html | 2 +- stringify/stringify.html | 57 +++---- sub/sub.html | 176 +++++++++++---------- wrap/wrap.html | 46 ------ wrap/wrapbin.html | 26 ++++ wrap/wrapcmp.html | 17 +++ wrap/wrapmov.html | 17 +++ xor/xor.html | 2 +- 47 files changed, 1243 insertions(+), 573 deletions(-) create mode 100644 convert/basechange.html create mode 100644 convert/convert.html create mode 100644 convert/join.html create mode 100644 convert/split.html create mode 100644 div/dcdiv.html create mode 100644 div/fourierdiv.html create mode 100644 div/knuthd.html create mode 100644 mul/mul53.html create mode 100644 mul/toomcook.html create mode 100644 pow/ebs.html delete mode 100644 wrap/wrap.html create mode 100644 wrap/wrapbin.html create mode 100644 wrap/wrapcmp.html create mode 100644 wrap/wrapmov.html diff --git a/.gitignore b/.gitignore index 99547ac..dcb4ccc 100644 --- a/.gitignore +++ b/.gitignore @@ -25,4 +25,4 @@ build/Release node_modules # groc -doc \ No newline at end of file +doc diff --git a/abs/abs.html b/abs/abs.html index bd2a18a..48ddd64 100644 --- a/abs/abs.html +++ b/abs/abs.html @@ -1 +1 @@ -abs/abs

      COMPUTE THE ABSOLUTE VALUE OF NUMBER n

      exports.abs = function abs() {};
      \ No newline at end of file +abs/abs

      COMPUTE THE ABSOLUTE VALUE OF NUMBER n

      exports.abs = function abs() {};

      \ No newline at end of file diff --git a/add/add.html b/add/add.html index 538584b..8b219d0 100644 --- a/add/add.html +++ b/add/add.html @@ -1,84 +1,96 @@ -add/add

      Parameters:

      - +add/add

      Parameters:

      • r must be an int.
        (base (radix))
      • -
      exports.badd_t = function badd_t (r) {

      Adds two big endian arrays, k >= i >= j +

      exports.badd_t = function badd_t (r) {

      Adds two big endian arrays, k >= i >= j wraps

      -

      Parameters:

      -
        -
      • a must be an array.
        (first operand)

      • -
      • i0 must be an int.
        (a left)

      • -
      • i1 must be an int.
        (a right)

      • -
      • b must be an array.
        (second operand)

      • -
      • j0 must be an int.
        (b left)

      • -
      • j1 must be an int.
        (b right)

      • -
      • c must be an array.
        (result, must be 0 initialized)

      • -
      • k0 must be an int.
        (c left)

      • -
      • k1 must be an int.
        (c right)

      • -
      return function(a, i0, i1, b, j0, j1, c, k0, k1){ - var t, C = 0; +
    1. a must be an array.
      (first operand)

      +
    2. +
    3. i0 must be an int.
      (a left)

      +
    4. +
    5. i1 must be an int.
      (a right)

      +
    6. +
    7. b must be an array.
      (second operand)

      +
    8. +
    9. j0 must be an int.
      (b left)

      +
    10. +
    11. j1 must be an int.
      (b right)

      +
    12. +
    13. c must be an array.
      (result, must be 0 initialized)

      +
    14. +
    15. k0 must be an int.
      (c left)

      +
    16. +
    17. k1 must be an int.
      (c right)

      +
    18. +
      return function(a, i0, i1, b, j0, j1, c, k0, k1){ + var t, C = 0; - while(--j1 >= j0){ - --i1; --k1; - t = a[i1] + b[j1] + C; - c[k1] = t % r; - C = t / r >= 1; - } + while(--j1 >= j0){ + --i1; --k1; + t = a[i1] + b[j1] + C; + c[k1] = t % r; + C = t / r >= 1; + } - while(--i1 >= i0){ - --k1; - t = a[i1] + C; - c[k1] = t % r; - C = t / r >= 1; - } + while(--i1 >= i0){ + --k1; + t = a[i1] + C; + c[k1] = t % r; + C = t / r >= 1; + } - if(--k1 >= k0){ - c[k1] = +C; - } + if(--k1 >= k0){ + c[k1] = +C; + } - }; - -};

      Parameters:

      + }; +};

      Parameters:

      • r must be an int.
        (base (radix))
      • -
      var ladd_t = exports.ladd_t = function(r){

      Adds two little endian arrays, k >= i >= j +

      var ladd_t = exports.ladd_t = function(r){

      Adds two little endian arrays, k >= i >= j wraps

      -

      Parameters:

      -
        -
      • a must be an array.
        (first operand)

      • -
      • i0 must be an int.
        (a left)

      • -
      • i1 must be an int.
        (a right)

      • -
      • b must be an array.
        (second operand)

      • -
      • j0 must be an int.
        (b left)

      • -
      • j1 must be an int.
        (b right)

      • -
      • c must be an array.
        (result, must be 0 initialized)

      • -
      • k0 must be an int.
        (c left)

      • -
      • k1 must be an int.
        (c right)

      • -
      return function(a, i0, i1, b, j0, j1, c, k0, k1){ - var t, C = 0; +
    19. a must be an array.
      (first operand)

      +
    20. +
    21. i0 must be an int.
      (a left)

      +
    22. +
    23. i1 must be an int.
      (a right)

      +
    24. +
    25. b must be an array.
      (second operand)

      +
    26. +
    27. j0 must be an int.
      (b left)

      +
    28. +
    29. j1 must be an int.
      (b right)

      +
    30. +
    31. c must be an array.
      (result, must be 0 initialized)

      +
    32. +
    33. k0 must be an int.
      (c left)

      +
    34. +
    35. k1 must be an int.
      (c right)

      +
    36. +
      return function(a, i0, i1, b, j0, j1, c, k0, k1){ + var t, C = 0; - while(j0 < j1){ - t = a[i0] + b[j0] + C; - c[k0] = t % r; - C = t / r >= 1; - ++i0; ++j0; ++k0; - } + while(j0 < j1){ + t = a[i0] + b[j0] + C; + c[k0] = t % r; + C = t / r >= 1; + ++i0; ++j0; ++k0; + } - while(i0 < i1){ - t = a[i0] + C; - c[k0] = t % r; - C = t / r >= 1; - ++i0; ++k0; - } + while(i0 < i1){ + t = a[i0] + C; + c[k0] = t % r; + C = t / r >= 1; + ++i0; ++k0; + } - if(k0 < k1){ - c[k0] = +C; - } + if(k0 < k1){ + c[k0] = +C; + } - }; -};
      \ No newline at end of file + }; +};
      \ No newline at end of file diff --git a/and/and.html b/and/and.html index 55233aa..b09ae38 100644 --- a/and/and.html +++ b/and/and.html @@ -1,58 +1,50 @@ -and/and

      BINARY and APPLIED ON a AND b

      - +and/and

      BINARY and APPLIED ON a AND b

      Meaningful only when r is a power of 2.

      +

      |a| = |b| = |c| > 0

      var and = function (a, a0, b, b0, c, c0, c1) { -

      |a| = |b| = |c| > 0

      var and = function (a, a0, b, b0, c, c0, c1) { - - while (c0 < c1) c[c0++] = a[a0++] & b[b0++]; - -};

      BIG ENDIAN BINARY and APPLIED ON a AND b

      + while (c0 < c1) c[c0++] = a[a0++] & b[b0++]; +};

      BIG ENDIAN BINARY and APPLIED ON a AND b

      Meaningful only when r is a power of 2.

      +

      |a| >= |b| > 0

      +

      treats b as if it was represented with the same number of blocks as a

      var band_t = function(r){ -

      |a| >= |b| > 0

      - -

      treats b as if it was represented with the same number of blocks as a

      var band_t = function(r){ + var _r = r / 2; - var _r = r / 2; + return function (a, a0, a1, b, b0, b1, c, c0, c1) { - return function (a, a0, a1, b, b0, b1, c, c0, c1) { + var at = a1 - b1 + b0; + var ct = c0 + at - a0; - var at = a1 - b1 + b0; - var ct = c0 + at - a0; + if (b[b0] < _r) while (c0 < ct) c[c0++] = 0; + else while (c0 < ct) c[c0++] = a[a0++]; - if (b[b0] < _r) while (c0 < ct) c[c0++] = 0; - else while (c0 < ct) c[c0++] = a[a0++]; + while (c0 < c1) c[c0++] = a[at++] & b[b0++]; - while (c0 < c1) c[c0++] = a[at++] & b[b0++]; - - }; - -};

      LITTLE ENDIAN BINARY and APPLIED ON a AND b

      + }; +};

      LITTLE ENDIAN BINARY and APPLIED ON a AND b

      Meaningful only when r is a power of 2.

      +

      |a| >= |b| > 0

      +

      treats b as if it was represented with the same number of blocks as a

      var land_t = function(r){ -

      |a| >= |b| > 0

      - -

      treats b as if it was represented with the same number of blocks as a

      var land_t = function(r){ - - var _r = r / 2; + var _r = r / 2; - return function (a, a0, a1, b, b0, b1, c, c0, c1) { + return function (a, a0, a1, b, b0, b1, c, c0, c1) { - var ct = c0 + b1 - b0; + var ct = c0 + b1 - b0; - while (c0 < ct) c[c0++] = a[a0++] & b[b0++]; + while (c0 < ct) c[c0++] = a[a0++] & b[b0++]; - if (b[b0 - 1] < _r) while (c0 < c1) c[c0++] = 0; - else while (c0 < c1) c[c0++] = a[a0++]; + if (b[b0 - 1] < _r) while (c0 < c1) c[c0++] = 0; + else while (c0 < c1) c[c0++] = a[a0++]; - }; + }; -}; +}; -exports.and = and; -exports.land_t = land_t; -exports.band_t = band_t;
      \ No newline at end of file +exports.and = and; +exports.land_t = land_t; +exports.band_t = band_t;
      \ No newline at end of file diff --git a/assets/behavior.js b/assets/behavior.js index c39f824..65d1641 100644 --- a/assets/behavior.js +++ b/assets/behavior.js @@ -13,7 +13,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "commentsOnly": true, "name": "Markdown" }, - "sourcePath": "/home/genius/dev/alu/README.md", + "sourcePath": "/home/aureooms/dev/js/js-integer/README.md", "projectPath": "README.md", "targetPath": "index", "pageTitle": "index", @@ -41,7 +41,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/abs/abs.js", + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/abs/abs.js", "projectPath": "js/src/abs/abs.js", "targetPath": "abs/abs", "pageTitle": "abs/abs", @@ -71,7 +71,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/add/add.js", + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/add/add.js", "projectPath": "js/src/add/add.js", "targetPath": "add/add", "pageTitle": "add/add", @@ -101,7 +101,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/and/and.js", + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/and/and.js", "projectPath": "js/src/and/and.js", "targetPath": "and/and", "pageTitle": "and/and", @@ -131,7 +131,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/cmp/cmp.js", + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/cmp/cmp.js", "projectPath": "js/src/cmp/cmp.js", "targetPath": "cmp/cmp", "pageTitle": "cmp/cmp", @@ -151,7 +151,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/cmp/eq.js", + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/cmp/eq.js", "projectPath": "js/src/cmp/eq.js", "targetPath": "cmp/eq", "pageTitle": "cmp/eq", @@ -171,7 +171,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/cmp/ge.js", + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/cmp/ge.js", "projectPath": "js/src/cmp/ge.js", "targetPath": "cmp/ge", "pageTitle": "cmp/ge", @@ -191,7 +191,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/cmp/gt.js", + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/cmp/gt.js", "projectPath": "js/src/cmp/gt.js", "targetPath": "cmp/gt", "pageTitle": "cmp/gt", @@ -211,7 +211,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/cmp/le.js", + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/cmp/le.js", "projectPath": "js/src/cmp/le.js", "targetPath": "cmp/le", "pageTitle": "cmp/le", @@ -231,7 +231,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/cmp/lt.js", + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/cmp/lt.js", "projectPath": "js/src/cmp/lt.js", "targetPath": "cmp/lt", "pageTitle": "cmp/lt", @@ -251,7 +251,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/cmp/ne.js", + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/cmp/ne.js", "projectPath": "js/src/cmp/ne.js", "targetPath": "cmp/ne", "pageTitle": "cmp/ne", @@ -261,6 +261,96 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "outline": [] } ] + }, { + "type": "folder", + "data": { + "path": "convert", + "title": "convert" + }, + "depth": 1, + "children": [ + { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/convert/basechange.js", + "projectPath": "js/src/convert/basechange.js", + "targetPath": "convert/basechange", + "pageTitle": "convert/basechange", + "title": "basechange" + }, + "depth": 2, + "outline": [] + }, { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/convert/convert.js", + "projectPath": "js/src/convert/convert.js", + "targetPath": "convert/convert", + "pageTitle": "convert/convert", + "title": "convert" + }, + "depth": 2, + "outline": [] + }, { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/convert/join.js", + "projectPath": "js/src/convert/join.js", + "targetPath": "convert/join", + "pageTitle": "convert/join", + "title": "join" + }, + "depth": 2, + "outline": [] + }, { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/convert/split.js", + "projectPath": "js/src/convert/split.js", + "targetPath": "convert/split", + "pageTitle": "convert/split", + "title": "split" + }, + "depth": 2, + "outline": [] + } + ] }, { "type": "folder", "data": { @@ -281,7 +371,27 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/div/div.js", + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/div/dcdiv.js", + "projectPath": "js/src/div/dcdiv.js", + "targetPath": "div/dcdiv", + "pageTitle": "div/dcdiv", + "title": "dcdiv" + }, + "depth": 2, + "outline": [] + }, { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/div/div.js", "projectPath": "js/src/div/div.js", "targetPath": "div/div", "pageTitle": "div/div", @@ -289,6 +399,46 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 }, "depth": 2, "outline": [] + }, { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/div/fourierdiv.js", + "projectPath": "js/src/div/fourierdiv.js", + "targetPath": "div/fourierdiv", + "pageTitle": "div/fourierdiv", + "title": "fourierdiv" + }, + "depth": 2, + "outline": [] + }, { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/div/knuthd.js", + "projectPath": "js/src/div/knuthd.js", + "targetPath": "div/knuthd", + "pageTitle": "div/knuthd", + "title": "knuthd" + }, + "depth": 2, + "outline": [] } ] }, { @@ -311,7 +461,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/gcd/gcd.js", + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/gcd/gcd.js", "projectPath": "js/src/gcd/gcd.js", "targetPath": "gcd/gcd", "pageTitle": "gcd/gcd", @@ -341,7 +491,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/lcm/lcm.js", + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/lcm/lcm.js", "projectPath": "js/src/lcm/lcm.js", "targetPath": "lcm/lcm", "pageTitle": "lcm/lcm", @@ -371,7 +521,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/log/log.js", + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/log/log.js", "projectPath": "js/src/log/log.js", "targetPath": "log/log", "pageTitle": "log/log", @@ -401,7 +551,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/mod/mod.js", + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/mod/mod.js", "projectPath": "js/src/mod/mod.js", "targetPath": "mod/mod", "pageTitle": "mod/mod", @@ -421,7 +571,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/mod/montgomery.js", + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/mod/montgomery.js", "projectPath": "js/src/mod/montgomery.js", "targetPath": "mod/montgomery", "pageTitle": "mod/montgomery", @@ -451,7 +601,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/mpow/mpow.js", + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/mpow/mpow.js", "projectPath": "js/src/mpow/mpow.js", "targetPath": "mpow/mpow", "pageTitle": "mpow/mpow", @@ -481,7 +631,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/mul/karatsuba.js", + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/mul/karatsuba.js", "projectPath": "js/src/mul/karatsuba.js", "targetPath": "mul/karatsuba", "pageTitle": "mul/karatsuba", @@ -501,7 +651,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/mul/mul.js", + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/mul/mul.js", "projectPath": "js/src/mul/mul.js", "targetPath": "mul/mul", "pageTitle": "mul/mul", @@ -509,6 +659,46 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 }, "depth": 2, "outline": [] + }, { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/mul/mul53.js", + "projectPath": "js/src/mul/mul53.js", + "targetPath": "mul/mul53", + "pageTitle": "mul/mul53", + "title": "mul53" + }, + "depth": 2, + "outline": [] + }, { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/mul/toomcook.js", + "projectPath": "js/src/mul/toomcook.js", + "targetPath": "mul/toomcook", + "pageTitle": "mul/toomcook", + "title": "toomcook" + }, + "depth": 2, + "outline": [] } ] }, { @@ -531,7 +721,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/neg/neg.js", + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/neg/neg.js", "projectPath": "js/src/neg/neg.js", "targetPath": "neg/neg", "pageTitle": "neg/neg", @@ -561,7 +751,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/not/not.js", + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/not/not.js", "projectPath": "js/src/not/not.js", "targetPath": "not/not", "pageTitle": "not/not", @@ -591,7 +781,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/or/or.js", + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/or/or.js", "projectPath": "js/src/or/or.js", "targetPath": "or/or", "pageTitle": "or/or", @@ -621,7 +811,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/parse/parse.js", + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/parse/parse.js", "projectPath": "js/src/parse/parse.js", "targetPath": "parse/parse", "pageTitle": "parse/parse", @@ -651,7 +841,27 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/pow/pow.js", + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/pow/ebs.js", + "projectPath": "js/src/pow/ebs.js", + "targetPath": "pow/ebs", + "pageTitle": "pow/ebs", + "title": "ebs" + }, + "depth": 2, + "outline": [] + }, { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/pow/pow.js", "projectPath": "js/src/pow/pow.js", "targetPath": "pow/pow", "pageTitle": "pow/pow", @@ -681,7 +891,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/sha/sha.js", + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/sha/sha.js", "projectPath": "js/src/sha/sha.js", "targetPath": "sha/sha", "pageTitle": "sha/sha", @@ -711,7 +921,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/shl/shl.js", + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/shl/shl.js", "projectPath": "js/src/shl/shl.js", "targetPath": "shl/shl", "pageTitle": "shl/shl", @@ -741,7 +951,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/stringify/stringify.js", + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/stringify/stringify.js", "projectPath": "js/src/stringify/stringify.js", "targetPath": "stringify/stringify", "pageTitle": "stringify/stringify", @@ -771,7 +981,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/sub/sub.js", + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/sub/sub.js", "projectPath": "js/src/sub/sub.js", "targetPath": "sub/sub", "pageTitle": "sub/sub", @@ -801,11 +1011,51 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/wrap/wrap.js", - "projectPath": "js/src/wrap/wrap.js", - "targetPath": "wrap/wrap", - "pageTitle": "wrap/wrap", - "title": "wrap" + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/wrap/wrapbin.js", + "projectPath": "js/src/wrap/wrapbin.js", + "targetPath": "wrap/wrapbin", + "pageTitle": "wrap/wrapbin", + "title": "wrapbin" + }, + "depth": 2, + "outline": [] + }, { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/wrap/wrapcmp.js", + "projectPath": "js/src/wrap/wrapcmp.js", + "targetPath": "wrap/wrapcmp", + "pageTitle": "wrap/wrapcmp", + "title": "wrapcmp" + }, + "depth": 2, + "outline": [] + }, { + "type": "file", + "data": { + "language": { + "nameMatchers": [".js"], + "pygmentsLexer": "javascript", + "multiLineComment": ["/*", "*", "*/"], + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "JavaScript" + }, + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/wrap/wrapmov.js", + "projectPath": "js/src/wrap/wrapmov.js", + "targetPath": "wrap/wrapmov", + "pageTitle": "wrap/wrapmov", + "title": "wrapmov" }, "depth": 2, "outline": [] @@ -831,7 +1081,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "foldPrefix": "^", "name": "JavaScript" }, - "sourcePath": "/home/genius/dev/alu/js/src/xor/xor.js", + "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/xor/xor.js", "projectPath": "js/src/xor/xor.js", "targetPath": "xor/xor", "pageTitle": "xor/xor", @@ -1065,7 +1315,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 if (metaInfo.documentPath === 'index') { sourceURL = metaInfo.githubURL; } else { - sourceURL = "" + metaInfo.githubURL + "/blob/master/" + metaInfo.projectPath; + sourceURL = metaInfo.githubURL + "/blob/master/" + metaInfo.projectPath; } nav$.find('.tools').prepend("
    37. \n \n View source on GitHub\n \n
    38. "); } diff --git a/assets/style.css b/assets/style.css index 38e374d..f9e0d43 100644 --- a/assets/style.css +++ b/assets/style.css @@ -1 +1 @@ -@charset "UTF-8";html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}html{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary{display:block}html,body{height:100%}#document{min-height:100%}body{max-width:33em}.segment{padding:0.5em 0 0.5em 33em;white-space:nowrap}.segment:first-child{padding-top:4.1em}.segment:last-child{padding-bottom:2em}.segment .comments,.segment .code{display:inline-block;vertical-align:top;padding:0 2em}.segment .comments{margin-left:-33em;width:29em;white-space:normal}.segment .code{white-space:pre}#meta{position:absolute;left:33em;padding:0.25em 1em}@media (max-width: 53em){html{font-size:1em}}@media (max-width: 52.94111em){html{font-size:0.99889em}}@media (max-width: 52.88222em){html{font-size:0.99778em}}@media (max-width: 52.82333em){html{font-size:0.99667em}}@media (max-width: 52.76444em){html{font-size:0.99556em}}@media (max-width: 52.70556em){html{font-size:0.99444em}}@media (max-width: 52.64667em){html{font-size:0.99333em}}@media (max-width: 52.58778em){html{font-size:0.99222em}}@media (max-width: 52.52889em){html{font-size:0.99111em}}@media (max-width: 52.47em){html{font-size:0.99em}}@media (max-width: 52.41111em){html{font-size:0.98889em}}@media (max-width: 52.35222em){html{font-size:0.98778em}}@media (max-width: 52.29333em){html{font-size:0.98667em}}@media (max-width: 52.23444em){html{font-size:0.98556em}}@media (max-width: 52.17556em){html{font-size:0.98444em}}@media (max-width: 52.11667em){html{font-size:0.98333em}}@media (max-width: 52.05778em){html{font-size:0.98222em}}@media (max-width: 51.99889em){html{font-size:0.98111em}}@media (max-width: 51.94em){html{font-size:0.98em}}@media (max-width: 51.88111em){html{font-size:0.97889em}}@media (max-width: 51.82222em){html{font-size:0.97778em}}@media (max-width: 51.76333em){html{font-size:0.97667em}}@media (max-width: 51.70444em){html{font-size:0.97556em}}@media (max-width: 51.64556em){html{font-size:0.97444em}}@media (max-width: 51.58667em){html{font-size:0.97333em}}@media (max-width: 51.52778em){html{font-size:0.97222em}}@media (max-width: 51.46889em){html{font-size:0.97111em}}@media (max-width: 51.41em){html{font-size:0.97em}}@media (max-width: 51.35111em){html{font-size:0.96889em}}@media (max-width: 51.29222em){html{font-size:0.96778em}}@media (max-width: 51.23333em){html{font-size:0.96667em}}@media (max-width: 51.17444em){html{font-size:0.96556em}}@media (max-width: 51.11556em){html{font-size:0.96444em}}@media (max-width: 51.05667em){html{font-size:0.96333em}}@media (max-width: 50.99778em){html{font-size:0.96222em}}@media (max-width: 50.93889em){html{font-size:0.96111em}}@media (max-width: 50.88em){html{font-size:0.96em}}@media (max-width: 50.82111em){html{font-size:0.95889em}}@media (max-width: 50.76222em){html{font-size:0.95778em}}@media (max-width: 50.70333em){html{font-size:0.95667em}}@media (max-width: 50.64444em){html{font-size:0.95556em}}@media (max-width: 50.58556em){html{font-size:0.95444em}}@media (max-width: 50.52667em){html{font-size:0.95333em}}@media (max-width: 50.46778em){html{font-size:0.95222em}}@media (max-width: 50.40889em){html{font-size:0.95111em}}@media (max-width: 50.35em){html{font-size:0.95em}}@media (max-width: 50.29111em){html{font-size:0.94889em}}@media (max-width: 50.23222em){html{font-size:0.94778em}}@media (max-width: 50.17333em){html{font-size:0.94667em}}@media (max-width: 50.11444em){html{font-size:0.94556em}}@media (max-width: 50.05556em){html{font-size:0.94444em}}@media (max-width: 49.99667em){html{font-size:0.94333em}}@media (max-width: 49.93778em){html{font-size:0.94222em}}@media (max-width: 49.87889em){html{font-size:0.94111em}}@media (max-width: 49.82em){html{font-size:0.94em}}@media (max-width: 49.76111em){html{font-size:0.93889em}}@media (max-width: 49.70222em){html{font-size:0.93778em}}@media (max-width: 49.64333em){html{font-size:0.93667em}}@media (max-width: 49.58444em){html{font-size:0.93556em}}@media (max-width: 49.52556em){html{font-size:0.93444em}}@media (max-width: 49.46667em){html{font-size:0.93333em}}@media (max-width: 49.40778em){html{font-size:0.93222em}}@media (max-width: 49.34889em){html{font-size:0.93111em}}@media (max-width: 49.29em){html{font-size:0.93em}}@media (max-width: 49.23111em){html{font-size:0.92889em}}@media (max-width: 49.17222em){html{font-size:0.92778em}}@media (max-width: 49.11333em){html{font-size:0.92667em}}@media (max-width: 49.05444em){html{font-size:0.92556em}}@media (max-width: 48.99556em){html{font-size:0.92444em}}@media (max-width: 48.93667em){html{font-size:0.92333em}}@media (max-width: 48.87778em){html{font-size:0.92222em}}@media (max-width: 48.81889em){html{font-size:0.92111em}}@media (max-width: 48.76em){html{font-size:0.92em}}@media (max-width: 48.70111em){html{font-size:0.91889em}}@media (max-width: 48.64222em){html{font-size:0.91778em}}@media (max-width: 48.58333em){html{font-size:0.91667em}}@media (max-width: 48.52444em){html{font-size:0.91556em}}@media (max-width: 48.46556em){html{font-size:0.91444em}}@media (max-width: 48.40667em){html{font-size:0.91333em}}@media (max-width: 48.34778em){html{font-size:0.91222em}}@media (max-width: 48.28889em){html{font-size:0.91111em}}@media (max-width: 48.23em){html{font-size:0.91em}}@media (max-width: 48.17111em){html{font-size:0.90889em}}@media (max-width: 48.11222em){html{font-size:0.90778em}}@media (max-width: 48.05333em){html{font-size:0.90667em}}@media (max-width: 47.99444em){html{font-size:0.90556em}}@media (max-width: 47.93556em){html{font-size:0.90444em}}@media (max-width: 47.87667em){html{font-size:0.90333em}}@media (max-width: 47.81778em){html{font-size:0.90222em}}@media (max-width: 47.75889em){html{font-size:0.90111em}}@media (max-width: 47.7em){html{font-size:0.9em}}@media (max-width: 47.64111em){html{font-size:0.89889em}}@media (max-width: 47.58222em){html{font-size:0.89778em}}@media (max-width: 47.52333em){html{font-size:0.89667em}}@media (max-width: 47.46444em){html{font-size:0.89556em}}@media (max-width: 47.40556em){html{font-size:0.89444em}}@media (max-width: 47.34667em){html{font-size:0.89333em}}@media (max-width: 47.28778em){html{font-size:0.89222em}}@media (max-width: 47.22889em){html{font-size:0.89111em}}@media (max-width: 47.17em){html{font-size:0.89em}}@media (max-width: 47.11111em){html{font-size:0.88889em}}@media (max-width: 47.05222em){html{font-size:0.88778em}}@media (max-width: 46.99333em){html{font-size:0.88667em}}@media (max-width: 46.93444em){html{font-size:0.88556em}}@media (max-width: 46.87556em){html{font-size:0.88444em}}@media (max-width: 46.81667em){html{font-size:0.88333em}}@media (max-width: 46.75778em){html{font-size:0.88222em}}@media (max-width: 46.69889em){html{font-size:0.88111em}}@media (max-width: 46.64em){html{font-size:0.88em}}@media (max-width: 46.58111em){html{font-size:0.87889em}}@media (max-width: 46.52222em){html{font-size:0.87778em}}@media (max-width: 46.46333em){html{font-size:0.87667em}}@media (max-width: 46.40444em){html{font-size:0.87556em}}@media (max-width: 46.34556em){html{font-size:0.87444em}}@media (max-width: 46.28667em){html{font-size:0.87333em}}@media (max-width: 46.22778em){html{font-size:0.87222em}}@media (max-width: 46.16889em){html{font-size:0.87111em}}@media (max-width: 46.11em){html{font-size:0.87em}}@media (max-width: 46.05111em){html{font-size:0.86889em}}@media (max-width: 45.99222em){html{font-size:0.86778em}}@media (max-width: 45.93333em){html{font-size:0.86667em}}@media (max-width: 45.87444em){html{font-size:0.86556em}}@media (max-width: 45.81556em){html{font-size:0.86444em}}@media (max-width: 45.75667em){html{font-size:0.86333em}}@media (max-width: 45.69778em){html{font-size:0.86222em}}@media (max-width: 45.63889em){html{font-size:0.86111em}}@media (max-width: 45.58em){html{font-size:0.86em}}@media (max-width: 45.52111em){html{font-size:0.85889em}}@media (max-width: 45.46222em){html{font-size:0.85778em}}@media (max-width: 45.40333em){html{font-size:0.85667em}}@media (max-width: 45.34444em){html{font-size:0.85556em}}@media (max-width: 45.28556em){html{font-size:0.85444em}}@media (max-width: 45.22667em){html{font-size:0.85333em}}@media (max-width: 45.16778em){html{font-size:0.85222em}}@media (max-width: 45.10889em){html{font-size:0.85111em}}@media (max-width: 45.05em){html{font-size:1em}body{margin:0 auto}.segment{padding:0;white-space:normal;max-width:29em;margin:0 auto}.segment .comments,.segment .code{display:block;padding:1em}.segment .comments{margin-left:0;width:auto}.segment .code{display:block;overflow-y:hidden;overflow-x:auto}.segment .code .wrapper{display:inline-block}#meta{position:static;margin:2em 0 0 0;overflow-y:hidden;overflow-x:auto}#meta .file-path{display:inline-block}}nav{position:fixed;top:0;right:0;width:20em}@media (max-width: 45.05em){nav{left:0;width:100%}}nav .tools{position:relative;z-index:100}nav .tools li{display:table-cell;vertical-align:middle;text-align:center;white-space:nowrap;height:2.1em;padding:0 0.55em}nav .tools .github{padding:0}nav .tools .github a{display:block;height:2.1em;width:2.1em;text-indent:-9001em}nav .tools .search{width:100%}nav .tools .search input{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;width:100%}nav .toc{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;top:2.1em;bottom:0;width:100%;overflow-x:hidden;overflow-y:auto}nav .toc li{position:relative}nav .toc .label{display:block;line-height:2em;padding:0 0.55em 0 0.55em}nav .toc li li .label{padding-left:1.1em}nav .toc li li li .label{padding-left:1.65em}nav .toc li li li li .label{padding-left:2.2em}nav .toc li li li li li .label{padding-left:2.75em}nav .toc li li li li li li .label{padding-left:3.3em}nav{-webkit-transition:height 0;-webkit-transition-delay:150ms;-moz-transition:height 0 150ms;-o-transition:height 0 150ms;transition:height 0 150ms}nav .tools .toggle{-webkit-transition:background 150ms;-moz-transition:background 150ms;-o-transition:background 150ms;transition:background 150ms}nav.active{-webkit-transition:height 0 0;-moz-transition:height 0 0;-o-transition:height 0 0;transition:height 0 0;height:100%}nav .toc{-webkit-transition:right 150ms;-moz-transition:right 150ms;-o-transition:right 150ms;transition:right 150ms;right:-100%}nav.active .toc{right:0}@media (max-width: 45.05em){nav .toc{-webkit-transition:left 150ms;-moz-transition:left 150ms;-o-transition:left 150ms;transition:left 150ms;right:auto;left:-100%}nav.active .toc{left:0}}@media (max-width: 45.05em){body{-webkit-transition:left 150ms;-moz-transition:left 150ms;-o-transition:left 150ms;transition:left 150ms;position:relative;left:0}html.popped{overflow:hidden}html.popped body{left:100%;overflow:hidden}}nav .toc .children,nav .toc .outline{display:none}nav .toc .expanded>.children,nav .toc .expanded>.outline,nav .toc .expanded>.outline .children{display:block}nav .toc .discloser{-webkit-transition-property:-moz-transform,-webkit-transform,-o-transform,-webkit-transform;-moz-transition-property:-moz-transform,-webkit-transform,-o-transform,-moz-transform;-o-transition-property:-moz-transform,-webkit-transform,-o-transform,-o-transform;transition-property:-moz-transform -webkit-transform -o-transform transform;-webkit-transition-duration:200ms;-moz-transition-duration:200ms;-o-transition-duration:200ms;transition-duration:200ms;-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg);display:inline-block;height:9px;width:9px;padding:0.2em;margin:0.2em 0.2em -0.2em 0.2em;vertical-align:baseline;background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDowOEFDRENGQzE2NEUxMUUxODdDNUQ2ODM0QzVGRkVBMSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDowOEFDRENGRDE2NEUxMUUxODdDNUQ2ODM0QzVGRkVBMSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjA4QUNEQ0ZBMTY0RTExRTE4N0M1RDY4MzRDNUZGRUExIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjA4QUNEQ0ZCMTY0RTExRTE4N0M1RDY4MzRDNUZGRUExIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+nQHMgwAAAM1JREFUeNpi/P//P0NJSYkuAwNDJhDXAPE7BjIAExIbZNA9IC4CYjZKDAIBfiDuBeLzQOxBiUEwoAXE26FYixKDYMAD6rpeqGvJNogBGl5F0PDLpMQgGBAC4mlQF9pTYhAMGADxASBeB8RylBgEA4FAfAOIW4CYhxKDQIAZxmChwJD1QFwGxHfINegaEGcB8UFyA/sd1AA9dEOIddFfIJ4OzdAfcSkiZNAOIC6GegcvwGXQHagBm8jNtB+hBmiTYgi6i+ZCw+EFOWkBIMAA1W4l62UzKWwAAAAASUVORK5CYII=') center center no-repeat;background-size:9px 9px}nav .toc .discloser.placeholder,nav .toc .expanded>.outline .discloser{background:none}nav .toc .expanded>.label .discloser{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg)}nav .toc .filtered>.label{display:none}nav .toc .matched-child>.label{display:block}nav .toc .matched-child>.children,nav .toc .matched-child>.outline,nav .toc .matched-child>.outline .children{display:block}nav .toc .matched>.children,nav .toc .matched>.outline,nav .toc .matched>.outline .children{display:block}nav.searching .toc .discloser{display:none}.comments .wrapper{font-family:"Helvetica Neue",Helvetica,"Droid Sans",sans-serif;font-weight:300;font-size:0.9375em;line-height:1.35}.comments .wrapper h1,.comments .wrapper h2,.comments .wrapper h3,.comments .wrapper h4,.comments .wrapper h5,.comments .wrapper h6{font-family:"HelveticaNeue-UltraLight","Helvetica Neue",Helvetica,"Droid Sans",sans-serif;font-weight:100;letter-spacing:0.0625em;line-height:1.25;margin-bottom:0.5}.comments .wrapper h1{font-size:2.5em}.comments .wrapper h2{font-size:2em}.comments .wrapper h3{font-size:1.6em}.comments .wrapper h4{font-size:1.4em}.comments .wrapper h5{font-size:1.3em}.comments .wrapper h6{font-size:1.2em}.comments .wrapper p{margin:1em 0}.comments .wrapper>*:first-child{margin-top:0}.comments .wrapper>*:last-child{margin-bottom:0}.comments .wrapper ol,.comments .wrapper ul{padding-left:1.75em}.comments .wrapper ol li{list-style:decimal}.comments .wrapper ul li{list-style:disc}.comments .wrapper li{margin:1em 0}.comments .wrapper li:first-child{margin-top:0}.comments .wrapper li:last-child{margin-bottom:0}.comments .wrapper code{display:inline-block;padding:0.25em 0.25em 0 0.25em}.comments .wrapper pre{display:block;overflow-x:auto;overflow-y:hidden}.comments .wrapper pre code{padding:1em}.comments .wrapper blockquote{padding:0 1em}.comments .wrapper strong{font-weight:700}.comments .wrapper em{font-style:italic}html{background:#4a525a}#document{background:#f5fbff -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #272c30), color-stop(30%, #3e454c), color-stop(100%, #4a525a)) 33em no-repeat;background:#f5fbff -webkit-linear-gradient(left, #272c30,#3e454c 0.3em,#4a525a 1em) 33em no-repeat;background:#f5fbff -moz-linear-gradient(left, #272c30,#3e454c 0.3em,#4a525a 1em) 33em no-repeat;background:#f5fbff -o-linear-gradient(left, #272c30,#3e454c 0.3em,#4a525a 1em) 33em no-repeat;background:#f5fbff linear-gradient(left, #272c30,#3e454c 0.3em,#4a525a 1em) 33em no-repeat;margin-right:-1em;padding-right:1em}@media (max-width: 45.05em){#document{margin-right:0;padding-right:0}}#meta>*{font-family:"Helvetica Neue",Helvetica,"Droid Sans",sans-serif;font-weight:300;font-size:0.9375em;line-height:1.35;text-shadow:#272c30 1px 1px 0}#meta>*,#meta>* a{color:#9faab7}#meta>* a{text-decoration:none}.comments .wrapper{font-family:"Helvetica Neue",Helvetica,"Droid Sans",sans-serif;font-weight:300;font-size:0.9375em;line-height:1.35;text-shadow:#fff 1px 1px 0;color:#4a525a}.code .wrapper{font-family:"Droid Sans Mono",Menlo,Monaco,monospace;font-size:0.75em;line-height:1.4;text-shadow:#272c30 1px 1px 0;color:#cbd1d8}.code .wrapper .k{color:#e0c090}.code .wrapper .kc{color:#e0c090}.code .wrapper .kd{color:#e0c090}.code .wrapper .kp{color:#e0c090}.code .wrapper .kr{color:#e0c090}.code .wrapper .kt{color:#e0c090}.code .wrapper .na{color:#a9c2ba}.code .wrapper .nc{color:#cee4dd}.code .wrapper .no{color:#cee4dd}.code .wrapper .nd{color:#cee4dd}.code .wrapper .nf{color:#abd9cf}.code .wrapper .py{color:#abd9cf}.code .wrapper .nv{color:#b9d0af}.code .wrapper .vc{color:#b9d0af}.code .wrapper .vg{color:#b9d0af}.code .wrapper .vi{color:#b9d0af}.code .wrapper .s{color:#e9baba}.code .wrapper .sb{color:#e9baba}.code .wrapper .sc{color:#e9baba}.code .wrapper .sd{color:#e9baba}.code .wrapper .s2{color:#e9baba}.code .wrapper .se{color:#e9baba}.code .wrapper .sh{color:#e9baba}.code .wrapper .si{color:#e9baba}.code .wrapper .sx{color:#e9baba}.code .wrapper .sr{color:#cba8d6}.code .wrapper .s1{color:#e9baba}.code .wrapper .ss{color:#cba8d6}.code .wrapper .m{color:#cba8d6}.code .wrapper .mf{color:#cba8d6}.code .wrapper .mh{color:#cba8d6}.code .wrapper .mi{color:#cba8d6}.code .wrapper .il{color:#cba8d6}.code .wrapper .mo{color:#cba8d6}.code .wrapper .o{color:#ded3a1}.code .wrapper .ow{color:#ded3a1}.code .wrapper .p{color:#ded3a1}.code .wrapper .c,.code .wrapper .cm,.code .wrapper .cp,.code .wrapper .c1,.code .wrapper .cs{font-style:italic}.code .wrapper .c{color:#b1bac4}.code .wrapper .cm{color:#b1bac4}.code .wrapper .cp{color:#b1bac4}.code .wrapper .c1{color:#b1bac4}.code .wrapper .cs{color:#b1bac4}@media (max-width: 45.05em){.code{-webkit-border-radius:0.4em;-moz-border-radius:0.4em;-ms-border-radius:0.4em;-o-border-radius:0.4em;border-radius:0.4em;-webkit-box-shadow:#272c30 0 0 0.5em 0.2em inset;-moz-box-shadow:#272c30 0 0 0.5em 0.2em inset;box-shadow:#272c30 0 0 0.5em 0.2em inset;background:#4a525a}.code .wrapper{-webkit-box-shadow:#4a525a 0 0 0.25em 0.75em;-moz-box-shadow:#4a525a 0 0 0.25em 0.75em;box-shadow:#4a525a 0 0 0.25em 0.75em;background:#4a525a}}@media (max-width: 29em){.code{-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0}}nav{text-shadow:#f0f0f0 1px 1px 0;color:#4a525a}nav .tools,nav .toc{font-family:"Helvetica Neue",Helvetica,"Droid Sans",sans-serif;font-weight:300;font-size:0.9375em;line-height:1.35}nav .tools{-webkit-box-shadow:rgba(0,0,0,0.3) 0 0 0.5em 0.1em;-moz-box-shadow:rgba(0,0,0,0.3) 0 0 0.5em 0.1em;box-shadow:rgba(0,0,0,0.3) 0 0 0.5em 0.1em;background:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(255,255,255,0.9)), color-stop(100%, rgba(205,205,205,0.9)));background:-webkit-linear-gradient(top, rgba(255,255,255,0.9),rgba(205,205,205,0.9));background:-moz-linear-gradient(top, rgba(255,255,255,0.9),rgba(205,205,205,0.9));background:-o-linear-gradient(top, rgba(255,255,255,0.9),rgba(205,205,205,0.9));background:linear-gradient(top, rgba(255,255,255,0.9),rgba(205,205,205,0.9));-moz-border-radius-bottomleft:0.4em;-webkit-border-bottom-left-radius:0.4em;border-bottom-left-radius:0.4em;border-bottom:1px solid #4a525a;border-left:1px solid #4a525a}@media (max-width: 53em){nav .tools{-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;border-bottom-left-radius:0}}nav .tools li{border-right:1px solid #4a525a}nav .tools li:last-child{border-right:none}nav .tools .toggle{cursor:pointer}nav .tools .github a{-webkit-transition:opacity 200ms;-moz-transition:opacity 200ms;-o-transition:opacity 200ms;transition:opacity 200ms;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5;background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACcAAAAwCAYAAACScGMWAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDowOEFDRENGODE2NEUxMUUxODdDNUQ2ODM0QzVGRkVBMSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDowOEFDRENGOTE2NEUxMUUxODdDNUQ2ODM0QzVGRkVBMSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjA4QUNEQ0Y2MTY0RTExRTE4N0M1RDY4MzRDNUZGRUExIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjA4QUNEQ0Y3MTY0RTExRTE4N0M1RDY4MzRDNUZGRUExIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+FC/Z5AAACv9JREFUeNrMWXl0VNUdvu/NmzWZJQnZN0hCWIQEIQuErUCBI2qwEAFRBJUeDvUPDwfKVhDUY2mPp8spakVELSq11goIiCBbUVKKUGKQQFiCSBJIQjLJZPbJzOt3J/dOXiYJgcqh3nO+vPfm3Xfvd3/3t94IsiyTH2sTyY+4SfxGpVIpfzdBokdxjQHOADuAj4GmuzRvFjAbmAZkAocEQZjLX/r9/vYbuq0UgigoQKagsxyG74FlgB4gYdAA0UASkAIkACahvSn70Xd/AlrCxm4VRDEBIBScUxg5wiCs7oZcEJDwN7g+AswH3gAOApVALdAIWIEGtpgyYAfwPFtYTU/jbtmy5W/gsZAugnMKbSsJ2oXAn1J62o9AIJCDy/ZgbzbQLVoqkAtM722fa2pqYnHJwfgmXG23MgjV7SjO3bR06BnlogUSe7PW+ntplXQHUlNTHewxqjdyR+8lOehxYNCgQa3hnHoil8a18F60trY2cenSpYU+n48qfXMnvaEQYcIMQ4KmrbAk/Cb3ZGV3gt7GWbx4cSm4xHd1JR2+aPfdIPK/ICIiwlNaWroKfMSgwDq0Moj78feB/1e4cjqdmq1btz6C25921jk5iOLe4i2XdDh+aF/ejhw5ksYEZJE6BAeHSuT83nyaMTLSZzAYfO2K7BPdbo/k9ngkOM8u32i1moBep2/TarVtGrU64PZ6VC0tLVqv1ydyFxLeamtrzbgYgJFSh+Bk2jOpe1ICmf7QtKp5856sHJo7zGoym4Lk3G636HQ4JXurTd3U1KTBtqgcTpcQZTYHIiIjfNExMV6DIaINuuTX6XQBp8sp1t24odv3+d6UN9/cPPTqtWpjOEFYLOeUI3CJwJJULAMZFE5u9cqVx1/esKE8jLebgWc3akCjjIFKbwF46dw0AlLXVnXpUlzx9OJpZyvO9VEShJR9LpfrHdy2SgqDCEB83i7Elj53NozYKeAY3QHAE0ZOz0KQmukuJ+VifUPkMrKyjO9t2bzvwUdmbL5eV2/gBBVE1crAL/OAy4mlJSe5Vq5Zd0pB7O/4OB7XXwJbgC/pYLHRFhJtNhONRk1q6xtIv+RE4vJ4SUOTldTdDKWABcBi+g3wdtH9OfaHJ4zaVpg7NHvH/oPrFKGMW4wghYn/uvJhwvjx1UZLFN+6I/iQ3r/Pnh+iGQcWUVPfaCWNzTZiiowgMA5yo7GJ1N5oIP4OI4llmQzV6QVAdenp8v3J8X1IhF7aplarV0HXaE5IJEniH8md/RwhFZ1iWFoqj3dUop8yQrzFPPvss78Cuf48e7W22IjL7SHXauuUxGgbpTS2goKC5fhu9InyCnLmfFWDiByQv6OOuCu5dmEeU46Iyfj7CqzKwXQp1OLj4wfSrcJEll78q0b5EBMTQ4k++V3N9cE6rVYCuRCP5OTkFm5ECskJFMdxd5X/dLOh3shuG9n1n8pMYuLEiQ10sawmuFU7SQMAfxg3bhxXn1yLyWDx+X0mhVT5O2d4NLADb/GHr0/9J97ltFO9lDJSgruyC3gpNjb20tq1a4+OHj26OaxQGgDMYxarbN8BTxuNxm9nzZr1zZIlS6r4GiWVekhbW0BL9Q0L9s+dO/dqKKfsJvCb4fMuMKuRP/nwvSN4//PHH55CsAXckqkhbGJ4nWYSbMCXmIKkKRNJhQeIATYqvs3PGZD1EX1F55s0adI5xbupXciJ7ddCWBCVopyekuw8ffJr2lkzMLMviYky0/7UeRcDNIMYxbeIKf6IvLy8madOnZqId1KEQU8S4/rA1ZiwODX9Ng9YCcxc/sxjkyWVivo+GRGkurKy8j1G7DW6YGWECMVY2hKTEicjHH1stVpNSYkJztmPlqw/uG/vK/6ATPeC+Nv88JIqUg2X0epwEo/XW4LPltMaFNs+vays7HhSUtLS9OTEpgi9jkRbTMRmd5Ios5G0OuGTA/LkMxcubWtr89MIcRnZyLYnnniC70Ap8JfutjWE9evXF02YMKGCiz0hPu5YWlLC/PuyMzOGZGdKOQP7k76pSSR3YDZJSYyDVE0js7KyVhw88MVQjJkODAR0AzLSyJi8XIJvzMMGZU+M7xP9V5p4snHf3/jqxp+g35+Z1F4GTEFOCsktYCHmANCgKAX779q1a9W7776bd/jw4b6QpFEtSUSr0VyTJPE8vMB3Br2uSRREh0oUbPEpaQlFhQW5dXU3mtUaddzBA4crHE5HItba3+ly9/V4fWbMSQuo7SD2DsanPnQhEMnmfYM66c4Vf3txTFdSDTwakqAYrE2jgAV2u/2tvXv3/mPRokUfZWdnfwhvXhHKBBm4IYXhX8BrwC/wvmDZsmV9mFQXKgzgaeovRUXFr5QcdQcvAKupwFJSUkqqa6q3Kxw0lWIqU/rhly9fTsKWP1hdXR3dW4YL3fumqqrq1xqNhpZ9cewMhiYJNAKdpjqG+a9wy+56VsIkNXLkSOqIZXjx5s/37Z3QnS5SK4yMjDx8J/VBSUlJOb5bATwGUB3rC2j57gQ9BSuyeixwEJLiYdbUucq5uTnXNm3a1B3BXKDtTshZLBbnxYsXV1M31GW82yXH8ArXHbPZbENa/kc8zwPoQcvrwDU+Kd7ZIUUXq57cc+bMKeMlICKCC1sZWsTOnTs/wVyP3i65noqZjezEiNhsNiP83XPovBXYzHKy0EHPzJkzz6elpQXDGIj48/Pz67mWjhgxorqoqOhKKJGwWmkCUADdNXSuBTqrWG8V//d0hXq93spDEEd4Gz58eCMqdoENLtPqPXQyKUl+vK8PS8tMQaMQeDkqk477zkm+dAsjOzxjxozxXq/3rZMnT2Y0NzcbaIWFrXLjKqJKCqZJCHOy4qTIj+ghK47GBLwPhEsITddxL/R+7Npd++CDD86AyJPAMzU1NXGYW0C+5UHkGLhhw4axzL0IyiCvUomBsPM84QefCfd4oi2KlZhgQ2pq6ng83ke3xeFweHo6ykIKJCuykB90GCTdTicQpLq3AyR30oIXQXoRPzLopu9dO52S7uSUkrkXmq67uzMOOAMZRtDj6aeisrqt+UIjqTWasEHbM/eo2HiiQ07G9JtodDpibahTNdXdCPYzRBoFo8XCDr2D48h8clRutH8oROoMkaEVpQ8YzCxE6PEoMERubPHPFJZDvXOwpiB6gyF4/E5/87jcJDE9gxz7bMcDlBx1mOkZGS5UXMFxNHq9v29mf4+I+oIarj9ApCE5w+x8jhNl5emzSmbUBM8aRo3lUaBdCjJzKQrrVUhO23kVcrsP8nk9TJdUxGGzJXz2/pYXbtbWBI/JxkyavKd/Zlbr1StV9PCFDB6aW1dUmN/YLzOr5cK5iuizZ8v7PDD17S+HDLu/8tuy0wP+8NuXh/jdds/8BU9Fet3uXrc2RM7a0NBOjq1ECB0CtBMVoUu2psZxrVbrOKM5emeE2bj7iz27Ilauf/EZR2srVE3tXvP8ui+R55Hla9Z9tfDx2cVVFy6YP9r5acaRQ4deLZk9K9Nlt5fs3r0nc3h+4RRbc+PJAETL5RH0jWHOMKQPk+fM7+7cq+NjSSQum4M01V8nZ//9FfXyxRevXJ02ZtTI6TGxsVf6ZWWv2LP946ms8iofkDOsKeBx/06j1WtPHC99E7XEizSfA7LZ6LSSOzBl7lPuTkqOtn/bO53J3WHLAx4G6igRlvPPZO6FFiy/B2j5V0hLQvYNPcY4AVB/Sa3BEqwTCLnSo3e4S//oiGHFDTXh3cDFsIVMZXH8N4z8bbX/CjAA0UTEH4oMvREAAAAASUVORK5CYII=') center center no-repeat;background-size:19.5px 24px}nav .tools .github a:hover{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=90);opacity:0.9}nav.active .tools{-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;border-bottom-left-radius:0}nav.active .tools .toggle{background:rgba(205,205,205,0.9);position:relative}nav .toc{-webkit-box-shadow:rgba(0,0,0,0.3) 0 0 0.5em 0.1em;-moz-box-shadow:rgba(0,0,0,0.3) 0 0 0.5em 0.1em;box-shadow:rgba(0,0,0,0.3) 0 0 0.5em 0.1em;background:rgba(230,230,230,0.9);border-left:1px solid #4a525a}nav .toc .label{color:#4a525a;text-decoration:none;border-top:1px solid rgba(192,192,192,0.9);border-bottom:1px solid rgba(192,192,192,0.9);margin-top:-1px}nav .toc .label:hover{background:rgba(205,205,205,0.9)}nav .toc .file>.label{font-weight:bold}nav .toc .selected>.label{background:#f5fbff}nav .toc .label em{font-weight:bold}nav .toc .file>.label em{color:#101214}nav .toc .matched-child>.label{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=65);opacity:0.65;text-shadow:none;background:rgba(192,192,192,0.9)}@media (max-width: 45.05em){nav .tools,nav .toc{border-left-width:0}nav .tools{background:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #cdcdcd));background:-webkit-linear-gradient(top, #ffffff,#cdcdcd);background:-moz-linear-gradient(top, #ffffff,#cdcdcd);background:-o-linear-gradient(top, #ffffff,#cdcdcd);background:linear-gradient(top, #ffffff,#cdcdcd)}nav .toc{background:#e6e6e6}}.comments .wrapper a{display:inline-block;color:#a8614e;text-decoration:none}.comments .wrapper a:hover,.comments .wrapper a:hover *{text-decoration:underline}.comments .wrapper code{font-family:"Droid Sans Mono",Menlo,Monaco,monospace;font-size:0.75em;line-height:1.4;border:1px solid #e6e0d5}.comments .wrapper pre,.comments .wrapper code{-webkit-border-radius:0.4em;-moz-border-radius:0.4em;-ms-border-radius:0.4em;-o-border-radius:0.4em;border-radius:0.4em;background:#fbf8f3}.comments .wrapper pre{-webkit-box-shadow:#f2ece3 0 0 0.4em 0.2em;-moz-box-shadow:#f2ece3 0 0 0.4em 0.2em;box-shadow:#f2ece3 0 0 0.4em 0.2em;border:1px solid #d9c9af}.comments .wrapper pre code{border-width:0;background:transparent}.comments .wrapper blockquote{border-left:0.15em solid #959fa8;margin-left:-0.15em}body{-webkit-text-size-adjust:100%}input[type="search"]{-webkit-border-radius:1em;-moz-border-radius:1em;-ms-border-radius:1em;-o-border-radius:1em;border-radius:1em;-webkit-box-shadow:#ddd 0 1px 1px 0 inset;-moz-box-shadow:#ddd 0 1px 1px 0 inset;box-shadow:#ddd 0 1px 1px 0 inset;border:1px solid #959595;padding:0.15em 0.8em}.comments.doc-section .wrapper{color:#252519}.comments.doc-section.doc-section-private .wrapper,.comments.doc-section.doc-section-protected .wrapper,.comments.doc-section.doc-section-internal .wrapper{color:#7f7f7f}.comments.doc-section .doc-section-header{font:bold 18px "helvetica neue",helvetica,sans-serif}.comments.doc-section .docs .doc-section-header code{font-size:18px}.code .marker,.code .marker.wrapper,.code .wrapper.marker{display:none}.code.folded .wrapper{display:none;cursor:default}.code.folded .marker{-webkit-border-radius:0.2em;-moz-border-radius:0.2em;-ms-border-radius:0.2em;-o-border-radius:0.2em;border-radius:0.2em;-webkit-box-shadow:#2f3539 1px 1px 1px 0;-moz-box-shadow:#2f3539 1px 1px 1px 0;box-shadow:#2f3539 1px 1px 1px 0;display:inline-block;border:1px solid #73787f;padding:0.2em 0.5em;margin-left:-0.5em;margin-right:-0.5em;background:#58616b;font:12px "Droid Sans Mono",Menlo,Monaco,monospace;text-shadow:#2f3539 1px 1px 0px;cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none}.code.folded .marker .c1{color:#73787f;font-style:normal}.code.folded .marker:hover{background:#5f6872}.code.folded .marker:hover .c1{color:#7b8087}.code.folded .marker .c1:after{content:" …"} +html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}html{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}html,body{height:100%}#document{min-height:100%}body{max-width:33em}.segment{padding:0.5em 0 0.5em 33em;white-space:nowrap}.segment:first-child{padding-top:4.1em}.segment:last-child{padding-bottom:2em}.segment .comments,.segment .code{display:inline-block;vertical-align:top;padding:0 2em}.segment .comments{margin-left:-33em;width:29em;white-space:normal}.segment .code{white-space:pre}#meta{position:absolute;left:33em;padding:0.25em 1em}@media (max-width: 53em){html{font-size:1em}}@media (max-width: 52.94111em){html{font-size:0.99889em}}@media (max-width: 52.88222em){html{font-size:0.99778em}}@media (max-width: 52.82333em){html{font-size:0.99667em}}@media (max-width: 52.76444em){html{font-size:0.99556em}}@media (max-width: 52.70556em){html{font-size:0.99444em}}@media (max-width: 52.64667em){html{font-size:0.99333em}}@media (max-width: 52.58778em){html{font-size:0.99222em}}@media (max-width: 52.52889em){html{font-size:0.99111em}}@media (max-width: 52.47em){html{font-size:0.99em}}@media (max-width: 52.41111em){html{font-size:0.98889em}}@media (max-width: 52.35222em){html{font-size:0.98778em}}@media (max-width: 52.29333em){html{font-size:0.98667em}}@media (max-width: 52.23444em){html{font-size:0.98556em}}@media (max-width: 52.17556em){html{font-size:0.98444em}}@media (max-width: 52.11667em){html{font-size:0.98333em}}@media (max-width: 52.05778em){html{font-size:0.98222em}}@media (max-width: 51.99889em){html{font-size:0.98111em}}@media (max-width: 51.94em){html{font-size:0.98em}}@media (max-width: 51.88111em){html{font-size:0.97889em}}@media (max-width: 51.82222em){html{font-size:0.97778em}}@media (max-width: 51.76333em){html{font-size:0.97667em}}@media (max-width: 51.70444em){html{font-size:0.97556em}}@media (max-width: 51.64556em){html{font-size:0.97444em}}@media (max-width: 51.58667em){html{font-size:0.97333em}}@media (max-width: 51.52778em){html{font-size:0.97222em}}@media (max-width: 51.46889em){html{font-size:0.97111em}}@media (max-width: 51.41em){html{font-size:0.97em}}@media (max-width: 51.35111em){html{font-size:0.96889em}}@media (max-width: 51.29222em){html{font-size:0.96778em}}@media (max-width: 51.23333em){html{font-size:0.96667em}}@media (max-width: 51.17444em){html{font-size:0.96556em}}@media (max-width: 51.11556em){html{font-size:0.96444em}}@media (max-width: 51.05667em){html{font-size:0.96333em}}@media (max-width: 50.99778em){html{font-size:0.96222em}}@media (max-width: 50.93889em){html{font-size:0.96111em}}@media (max-width: 50.88em){html{font-size:0.96em}}@media (max-width: 50.82111em){html{font-size:0.95889em}}@media (max-width: 50.76222em){html{font-size:0.95778em}}@media (max-width: 50.70333em){html{font-size:0.95667em}}@media (max-width: 50.64444em){html{font-size:0.95556em}}@media (max-width: 50.58556em){html{font-size:0.95444em}}@media (max-width: 50.52667em){html{font-size:0.95333em}}@media (max-width: 50.46778em){html{font-size:0.95222em}}@media (max-width: 50.40889em){html{font-size:0.95111em}}@media (max-width: 50.35em){html{font-size:0.95em}}@media (max-width: 50.29111em){html{font-size:0.94889em}}@media (max-width: 50.23222em){html{font-size:0.94778em}}@media (max-width: 50.17333em){html{font-size:0.94667em}}@media (max-width: 50.11444em){html{font-size:0.94556em}}@media (max-width: 50.05556em){html{font-size:0.94444em}}@media (max-width: 49.99667em){html{font-size:0.94333em}}@media (max-width: 49.93778em){html{font-size:0.94222em}}@media (max-width: 49.87889em){html{font-size:0.94111em}}@media (max-width: 49.82em){html{font-size:0.94em}}@media (max-width: 49.76111em){html{font-size:0.93889em}}@media (max-width: 49.70222em){html{font-size:0.93778em}}@media (max-width: 49.64333em){html{font-size:0.93667em}}@media (max-width: 49.58444em){html{font-size:0.93556em}}@media (max-width: 49.52556em){html{font-size:0.93444em}}@media (max-width: 49.46667em){html{font-size:0.93333em}}@media (max-width: 49.40778em){html{font-size:0.93222em}}@media (max-width: 49.34889em){html{font-size:0.93111em}}@media (max-width: 49.29em){html{font-size:0.93em}}@media (max-width: 49.23111em){html{font-size:0.92889em}}@media (max-width: 49.17222em){html{font-size:0.92778em}}@media (max-width: 49.11333em){html{font-size:0.92667em}}@media (max-width: 49.05444em){html{font-size:0.92556em}}@media (max-width: 48.99556em){html{font-size:0.92444em}}@media (max-width: 48.93667em){html{font-size:0.92333em}}@media (max-width: 48.87778em){html{font-size:0.92222em}}@media (max-width: 48.81889em){html{font-size:0.92111em}}@media (max-width: 48.76em){html{font-size:0.92em}}@media (max-width: 48.70111em){html{font-size:0.91889em}}@media (max-width: 48.64222em){html{font-size:0.91778em}}@media (max-width: 48.58333em){html{font-size:0.91667em}}@media (max-width: 48.52444em){html{font-size:0.91556em}}@media (max-width: 48.46556em){html{font-size:0.91444em}}@media (max-width: 48.40667em){html{font-size:0.91333em}}@media (max-width: 48.34778em){html{font-size:0.91222em}}@media (max-width: 48.28889em){html{font-size:0.91111em}}@media (max-width: 48.23em){html{font-size:0.91em}}@media (max-width: 48.17111em){html{font-size:0.90889em}}@media (max-width: 48.11222em){html{font-size:0.90778em}}@media (max-width: 48.05333em){html{font-size:0.90667em}}@media (max-width: 47.99444em){html{font-size:0.90556em}}@media (max-width: 47.93556em){html{font-size:0.90444em}}@media (max-width: 47.87667em){html{font-size:0.90333em}}@media (max-width: 47.81778em){html{font-size:0.90222em}}@media (max-width: 47.75889em){html{font-size:0.90111em}}@media (max-width: 47.7em){html{font-size:0.9em}}@media (max-width: 47.64111em){html{font-size:0.89889em}}@media (max-width: 47.58222em){html{font-size:0.89778em}}@media (max-width: 47.52333em){html{font-size:0.89667em}}@media (max-width: 47.46444em){html{font-size:0.89556em}}@media (max-width: 47.40556em){html{font-size:0.89444em}}@media (max-width: 47.34667em){html{font-size:0.89333em}}@media (max-width: 47.28778em){html{font-size:0.89222em}}@media (max-width: 47.22889em){html{font-size:0.89111em}}@media (max-width: 47.17em){html{font-size:0.89em}}@media (max-width: 47.11111em){html{font-size:0.88889em}}@media (max-width: 47.05222em){html{font-size:0.88778em}}@media (max-width: 46.99333em){html{font-size:0.88667em}}@media (max-width: 46.93444em){html{font-size:0.88556em}}@media (max-width: 46.87556em){html{font-size:0.88444em}}@media (max-width: 46.81667em){html{font-size:0.88333em}}@media (max-width: 46.75778em){html{font-size:0.88222em}}@media (max-width: 46.69889em){html{font-size:0.88111em}}@media (max-width: 46.64em){html{font-size:0.88em}}@media (max-width: 46.58111em){html{font-size:0.87889em}}@media (max-width: 46.52222em){html{font-size:0.87778em}}@media (max-width: 46.46333em){html{font-size:0.87667em}}@media (max-width: 46.40444em){html{font-size:0.87556em}}@media (max-width: 46.34556em){html{font-size:0.87444em}}@media (max-width: 46.28667em){html{font-size:0.87333em}}@media (max-width: 46.22778em){html{font-size:0.87222em}}@media (max-width: 46.16889em){html{font-size:0.87111em}}@media (max-width: 46.11em){html{font-size:0.87em}}@media (max-width: 46.05111em){html{font-size:0.86889em}}@media (max-width: 45.99222em){html{font-size:0.86778em}}@media (max-width: 45.93333em){html{font-size:0.86667em}}@media (max-width: 45.87444em){html{font-size:0.86556em}}@media (max-width: 45.81556em){html{font-size:0.86444em}}@media (max-width: 45.75667em){html{font-size:0.86333em}}@media (max-width: 45.69778em){html{font-size:0.86222em}}@media (max-width: 45.63889em){html{font-size:0.86111em}}@media (max-width: 45.58em){html{font-size:0.86em}}@media (max-width: 45.52111em){html{font-size:0.85889em}}@media (max-width: 45.46222em){html{font-size:0.85778em}}@media (max-width: 45.40333em){html{font-size:0.85667em}}@media (max-width: 45.34444em){html{font-size:0.85556em}}@media (max-width: 45.28556em){html{font-size:0.85444em}}@media (max-width: 45.22667em){html{font-size:0.85333em}}@media (max-width: 45.16778em){html{font-size:0.85222em}}@media (max-width: 45.10889em){html{font-size:0.85111em}}@media (max-width: 45.05em){html{font-size:1em}body{margin:0 auto}.segment{padding:0;white-space:normal;max-width:29em;margin:0 auto}.segment .comments,.segment .code{display:block;padding:1em}.segment .comments{margin-left:0;width:auto}.segment .code{display:block;overflow-y:hidden;overflow-x:auto}.segment .code .wrapper{display:inline-block}#meta{position:static;margin:2em 0 0 0;overflow-y:hidden;overflow-x:auto}#meta .file-path{display:inline-block}}nav{position:fixed;top:0;right:0;width:20em}@media (max-width: 45.05em){nav{left:0;width:100%}}nav .tools{position:relative;z-index:100}nav .tools li{display:table-cell;vertical-align:middle;text-align:center;white-space:nowrap;height:2.1em;padding:0 0.55em}nav .tools .github{padding:0}nav .tools .github a{display:block;height:2.1em;width:2.1em;text-indent:-9001em}nav .tools .search{width:100%}nav .tools .search input{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;width:100%}nav .toc{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;top:2.1em;bottom:0;width:100%;overflow-x:hidden;overflow-y:auto}nav .toc li{position:relative}nav .toc .label{display:block;line-height:2em;padding:0 0.55em 0 0.55em}nav .toc li li .label{padding-left:1.1em}nav .toc li li li .label{padding-left:1.65em}nav .toc li li li li .label{padding-left:2.2em}nav .toc li li li li li .label{padding-left:2.75em}nav .toc li li li li li li .label{padding-left:3.3em}nav{-moz-transition:height 150ms 0;-o-transition:height 150ms 0;-webkit-transition:height 150ms 0;transition:height 150ms 0}nav .tools .toggle{-moz-transition:background 150ms;-o-transition:background 150ms;-webkit-transition:background 150ms;transition:background 150ms}nav.active{-moz-transition:height 0;-o-transition:height 0;-webkit-transition:height 0;transition:height 0;height:100%}nav .toc{-moz-transition:right 150ms;-o-transition:right 150ms;-webkit-transition:right 150ms;transition:right 150ms;right:-100%}nav.active .toc{right:0}@media (max-width: 45.05em){nav .toc{-moz-transition:left 150ms;-o-transition:left 150ms;-webkit-transition:left 150ms;transition:left 150ms;right:auto;left:-100%}nav.active .toc{left:0}}@media (max-width: 45.05em){body{-moz-transition:left 150ms;-o-transition:left 150ms;-webkit-transition:left 150ms;transition:left 150ms;position:relative;left:0}html.popped{overflow:hidden}html.popped body{left:100%;overflow:hidden}}nav .toc .children,nav .toc .outline{display:none}nav .toc .expanded>.children,nav .toc .expanded>.outline,nav .toc .expanded>.outline .children{display:block}nav .toc .discloser{-moz-transition-property:-moz-transform,-webkit-transform,-o-transform,-moz-transform;-o-transition-property:-moz-transform,-webkit-transform,-o-transform,-o-transform;-webkit-transition-property:-moz-transform,-webkit-transform,-o-transform,-webkit-transform;transition-property:-moz-transform -webkit-transform -o-transform transform;-moz-transition-duration:200ms;-o-transition-duration:200ms;-webkit-transition-duration:200ms;transition-duration:200ms;-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);display:inline-block;height:9px;width:9px;padding:0.2em;margin:0.2em 0.2em -0.2em 0.2em;vertical-align:baseline;background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDowOEFDRENGQzE2NEUxMUUxODdDNUQ2ODM0QzVGRkVBMSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDowOEFDRENGRDE2NEUxMUUxODdDNUQ2ODM0QzVGRkVBMSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjA4QUNEQ0ZBMTY0RTExRTE4N0M1RDY4MzRDNUZGRUExIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjA4QUNEQ0ZCMTY0RTExRTE4N0M1RDY4MzRDNUZGRUExIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+nQHMgwAAAM1JREFUeNpi/P//P0NJSYkuAwNDJhDXAPE7BjIAExIbZNA9IC4CYjZKDAIBfiDuBeLzQOxBiUEwoAXE26FYixKDYMAD6rpeqGvJNogBGl5F0PDLpMQgGBAC4mlQF9pTYhAMGADxASBeB8RylBgEA4FAfAOIW4CYhxKDQIAZxmChwJD1QFwGxHfINegaEGcB8UFyA/sd1AA9dEOIddFfIJ4OzdAfcSkiZNAOIC6GegcvwGXQHagBm8jNtB+hBmiTYgi6i+ZCw+EFOWkBIMAA1W4l62UzKWwAAAAASUVORK5CYII=') center center no-repeat;background-size:9px 9px}nav .toc .discloser.placeholder,nav .toc .expanded>.outline .discloser{background:none}nav .toc .expanded>.label .discloser{-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-webkit-transform:rotate(90deg);transform:rotate(90deg)}nav .toc .filtered>.label{display:none}nav .toc .matched-child>.label{display:block}nav .toc .matched-child>.children,nav .toc .matched-child>.outline,nav .toc .matched-child>.outline .children{display:block}nav .toc .matched>.children,nav .toc .matched>.outline,nav .toc .matched>.outline .children{display:block}nav.searching .toc .discloser{display:none}.comments .wrapper{font-family:"Helvetica Neue",Helvetica,"Droid Sans",sans-serif;font-weight:300;font-size:0.9375em;line-height:1.35}.comments .wrapper h1,.comments .wrapper h2,.comments .wrapper h3,.comments .wrapper h4,.comments .wrapper h5,.comments .wrapper h6{font-family:"HelveticaNeue-UltraLight","Helvetica Neue",Helvetica,"Droid Sans",sans-serif;font-weight:100;letter-spacing:0.0625em;line-height:1.25;margin-bottom:0.5em}.comments .wrapper h1{font-size:2.5em}.comments .wrapper h2{font-size:2em}.comments .wrapper h3{font-size:1.6em}.comments .wrapper h4{font-size:1.4em}.comments .wrapper h5{font-size:1.3em}.comments .wrapper h6{font-size:1.2em}.comments .wrapper p{margin:1em 0}.comments .wrapper>*:first-child{margin-top:0}.comments .wrapper>*:last-child{margin-bottom:0}.comments .wrapper ol,.comments .wrapper ul{padding-left:1.75em;margin:1em 0}.comments .wrapper ol li{list-style:decimal}.comments .wrapper ul li{list-style:disc}.comments .wrapper li{margin:1em 0}.comments .wrapper li:first-child{margin-top:0}.comments .wrapper li:last-child{margin-bottom:0}.comments .wrapper code{display:inline-block;padding:0.25em 0.25em 0 0.25em}.comments .wrapper pre{display:block;overflow-x:auto;overflow-y:hidden}.comments .wrapper pre .hljs-comment,.comments .wrapper pre .hljs-template_comment,.comments .wrapper pre .diff .hljs-header,.comments .wrapper pre .hljs-doctype,.comments .wrapper pre .hljs-pi,.comments .wrapper pre .lisp .hljs-string,.comments .wrapper pre .hljs-javadoc{color:#93a1a1;font-style:italic}.comments .wrapper pre .hljs-keyword,.comments .wrapper pre .hljs-winutils,.comments .wrapper pre .method,.comments .wrapper pre .hljs-addition,.comments .wrapper pre .css .hljs-tag,.comments .wrapper pre .hljs-request,.comments .wrapper pre .hljs-status,.comments .wrapper pre .nginx .hljs-title{color:#859900}.comments .wrapper pre .hljs-number,.comments .wrapper pre .hljs-command,.comments .wrapper pre .hljs-string,.comments .wrapper pre .hljs-tag .hljs-value,.comments .wrapper pre .hljs-rules .hljs-value,.comments .wrapper pre .hljs-phpdoc,.comments .wrapper pre .tex .hljs-formula,.comments .wrapper pre .hljs-regexp,.comments .wrapper pre .hljs-hexcolor{color:#2aa198}.comments .wrapper pre .hljs-title,.comments .wrapper pre .hljs-localvars,.comments .wrapper pre .hljs-chunk,.comments .wrapper pre .hljs-decorator,.comments .wrapper pre .hljs-built_in,.comments .wrapper pre .hljs-identifier,.comments .wrapper pre .vhdl .hljs-literal,.comments .wrapper pre .hljs-id,.comments .wrapper pre .css .hljs-function{color:#268bd2}.comments .wrapper pre .hljs-attribute,.comments .wrapper pre .hljs-variable,.comments .wrapper pre .lisp .hljs-body,.comments .wrapper pre .smalltalk .hljs-number,.comments .wrapper pre .hljs-constant,.comments .wrapper pre .hljs-class .hljs-title,.comments .wrapper pre .hljs-parent,.comments .wrapper pre .haskell .hljs-type{color:#b58900}.comments .wrapper pre .hljs-preprocessor,.comments .wrapper pre .hljs-preprocessor .hljs-keyword,.comments .wrapper pre .hljs-pragma,.comments .wrapper pre .hljs-shebang,.comments .wrapper pre .hljs-symbol,.comments .wrapper pre .hljs-symbol .hljs-string,.comments .wrapper pre .diff .hljs-change,.comments .wrapper pre .hljs-special,.comments .wrapper pre .hljs-attr_selector,.comments .wrapper pre .hljs-important,.comments .wrapper pre .hljs-subst,.comments .wrapper pre .hljs-cdata,.comments .wrapper pre .clojure .hljs-title,.comments .wrapper pre .css .hljs-pseudo{color:#cb4b16}.comments .wrapper pre .hljs-deletion{color:#dc322f}.comments .wrapper pre .tex .hljs-formula{background:#eee8d5}.comments .wrapper pre code{padding:1em}.comments .wrapper blockquote{padding:0 1em}.comments .wrapper strong{font-weight:700}.comments .wrapper em{font-style:italic}html{background:#4a525a}#document{background:#f5fbff url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuMCIgeTE9IjAuNSIgeDI9IjEuMCIgeTI9IjAuNSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzI3MmMzMCIvPjxzdG9wIG9mZnNldD0iMzAlIiBzdG9wLWNvbG9yPSIjM2U0NTRjIi8+PHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjNGE1MjVhIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmFkKSIgLz48L3N2Zz4g') 33em no-repeat;background:#f5fbff -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #272c30),color-stop(30%, #3e454c),color-stop(100%, #4a525a)) 33em no-repeat;background:#f5fbff -moz-linear-gradient(left, #272c30,#3e454c 0.3em,#4a525a 1em) 33em no-repeat;background:#f5fbff -webkit-linear-gradient(left, #272c30,#3e454c 0.3em,#4a525a 1em) 33em no-repeat;background:#f5fbff linear-gradient(to right, #272c30,#3e454c 0.3em,#4a525a 1em) 33em no-repeat;margin-right:-1em;padding-right:1em}@media (max-width: 45.05em){#document{margin-right:0;padding-right:0}}#meta>*{font-family:"Helvetica Neue",Helvetica,"Droid Sans",sans-serif;font-weight:300;font-size:0.9375em;line-height:1.35;text-shadow:#272c30 1px 1px 0}#meta>*,#meta>* a{color:#9faab7}#meta>* a{text-decoration:none}.comments .wrapper{font-family:"Helvetica Neue",Helvetica,"Droid Sans",sans-serif;font-weight:300;font-size:0.9375em;line-height:1.35;text-shadow:#fff 1px 1px 0;color:#4a525a}.code .wrapper{font-family:"Droid Sans Mono",Menlo,Monaco,monospace;font-size:0.75em;line-height:1.4;text-shadow:#272c30 1px 1px 0;color:#cbd1d8}.code .wrapper .hljs{display:block;padding:0.5em}.code .wrapper .hljs-comment,.code .wrapper .hljs-template_comment,.code .wrapper .diff .hljs-header,.code .wrapper .hljs-doctype,.code .wrapper .hljs-pi,.code .wrapper .lisp .hljs-string,.code .wrapper .hljs-javadoc{color:#b1bac4;font-style:italic}.code .wrapper .hljs-keyword,.code .wrapper .hljs-winutils,.code .wrapper .method,.code .wrapper .hljs-addition,.code .wrapper .css .hljs-tag,.code .wrapper .hljs-request,.code .wrapper .hljs-status,.code .wrapper .nginx .hljs-title{color:#e0c090}.code .wrapper .hljs-string{color:#e9baba}.code .wrapper .hljs-property{color:#b9d0af}.code .wrapper .hljs-function{color:#abd9cf}.code .wrapper .hljs-class{color:#cee4dd}.code .wrapper .hljs-number,.code .wrapper .hljs-command,.code .wrapper .hljs-tag .hljs-value,.code .wrapper .hljs-rules .hljs-value,.code .wrapper .hljs-phpdoc,.code .wrapper .tex .hljs-formula,.code .wrapper .hljs-regexp,.code .wrapper .hljs-hexcolor{color:#cba8d6}.code .wrapper .hljs-title,.code .wrapper .hljs-localvars,.code .wrapper .hljs-chunk,.code .wrapper .hljs-decorator,.code .wrapper .hljs-built_in,.code .wrapper .hljs-identifier,.code .wrapper .vhdl .hljs-literal,.code .wrapper .hljs-id,.code .wrapper .css .hljs-function{color:#a9c2ba}.code .wrapper .hljs-attribute,.code .wrapper .hljs-variable,.code .wrapper .lisp .hljs-body,.code .wrapper .smalltalk .hljs-number,.code .wrapper .hljs-constant,.code .wrapper .hljs-class .hljs-title,.code .wrapper .hljs-parent,.code .wrapper .haskell .hljs-type{color:#b9d0af}.code .wrapper .hljs-preprocessor,.code .wrapper .hljs-preprocessor .hljs-keyword,.code .wrapper .hljs-pragma,.code .wrapper .hljs-shebang,.code .wrapper .hljs-symbol,.code .wrapper .hljs-symbol .hljs-string,.code .wrapper .diff .hljs-change,.code .wrapper .hljs-special,.code .wrapper .hljs-attr_selector,.code .wrapper .hljs-important,.code .wrapper .hljs-subst,.code .wrapper .hljs-cdata,.code .wrapper .clojure .hljs-title,.code .wrapper .css .hljs-pseudo{color:#cee4dd}.code .wrapper .hljs-deletion{color:#dc322f}.code .wrapper .tex .hljs-formula{background:#e9baba}@media (max-width: 45.05em){.code{-moz-border-radius:0.4em;-webkit-border-radius:0.4em;border-radius:0.4em;-moz-box-shadow:#272c30 0 0 0.5em 0.2em inset;-webkit-box-shadow:#272c30 0 0 0.5em 0.2em inset;box-shadow:#272c30 0 0 0.5em 0.2em inset;background:#4a525a}.code .wrapper{-moz-box-shadow:#4a525a 0 0 0.25em 0.75em;-webkit-box-shadow:#4a525a 0 0 0.25em 0.75em;box-shadow:#4a525a 0 0 0.25em 0.75em;background:#4a525a}}@media (max-width: 29em){.code{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}}nav{text-shadow:#f0f0f0 1px 1px 0;color:#4a525a}nav .tools,nav .toc{font-family:"Helvetica Neue",Helvetica,"Droid Sans",sans-serif;font-weight:300;font-size:0.9375em;line-height:1.35}nav .tools{-moz-box-shadow:rgba(0,0,0,0.3) 0 0 0.5em 0.1em;-webkit-box-shadow:rgba(0,0,0,0.3) 0 0 0.5em 0.1em;box-shadow:rgba(0,0,0,0.3) 0 0 0.5em 0.1em;background:url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwLjkiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjZGNkY2QiIHN0b3Atb3BhY2l0eT0iMC45Ii8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmFkKSIgLz48L3N2Zz4g');background:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(255,255,255,0.9)),color-stop(100%, rgba(205,205,205,0.9)));background:-moz-linear-gradient(top, rgba(255,255,255,0.9),rgba(205,205,205,0.9));background:-webkit-linear-gradient(top, rgba(255,255,255,0.9),rgba(205,205,205,0.9));background:linear-gradient(to bottom, rgba(255,255,255,0.9),rgba(205,205,205,0.9));-moz-border-radius-bottomleft:0.4em;-webkit-border-bottom-left-radius:0.4em;border-bottom-left-radius:0.4em;border-bottom:1px solid #4a525a;border-left:1px solid #4a525a}@media (max-width: 53em){nav .tools{-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;border-bottom-left-radius:0}}nav .tools li{border-right:1px solid #4a525a}nav .tools li:last-child{border-right:none}nav .tools .toggle{cursor:pointer}nav .tools .github a{-moz-transition:opacity 200ms;-o-transition:opacity 200ms;-webkit-transition:opacity 200ms;transition:opacity 200ms;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5;background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACcAAAAwCAYAAACScGMWAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDowOEFDRENGODE2NEUxMUUxODdDNUQ2ODM0QzVGRkVBMSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDowOEFDRENGOTE2NEUxMUUxODdDNUQ2ODM0QzVGRkVBMSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjA4QUNEQ0Y2MTY0RTExRTE4N0M1RDY4MzRDNUZGRUExIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjA4QUNEQ0Y3MTY0RTExRTE4N0M1RDY4MzRDNUZGRUExIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+FC/Z5AAACv9JREFUeNrMWXl0VNUdvu/NmzWZJQnZN0hCWIQEIQuErUCBI2qwEAFRBJUeDvUPDwfKVhDUY2mPp8spakVELSq11goIiCBbUVKKUGKQQFiCSBJIQjLJZPbJzOt3J/dOXiYJgcqh3nO+vPfm3Xfvd3/3t94IsiyTH2sTyY+4SfxGpVIpfzdBokdxjQHOADuAj4GmuzRvFjAbmAZkAocEQZjLX/r9/vYbuq0UgigoQKagsxyG74FlgB4gYdAA0UASkAIkACahvSn70Xd/AlrCxm4VRDEBIBScUxg5wiCs7oZcEJDwN7g+AswH3gAOApVALdAIWIEGtpgyYAfwPFtYTU/jbtmy5W/gsZAugnMKbSsJ2oXAn1J62o9AIJCDy/ZgbzbQLVoqkAtM722fa2pqYnHJwfgmXG23MgjV7SjO3bR06BnlogUSe7PW+ntplXQHUlNTHewxqjdyR+8lOehxYNCgQa3hnHoil8a18F60trY2cenSpYU+n48qfXMnvaEQYcIMQ4KmrbAk/Cb3ZGV3gt7GWbx4cSm4xHd1JR2+aPfdIPK/ICIiwlNaWroKfMSgwDq0Moj78feB/1e4cjqdmq1btz6C25921jk5iOLe4i2XdDh+aF/ejhw5ksYEZJE6BAeHSuT83nyaMTLSZzAYfO2K7BPdbo/k9ngkOM8u32i1moBep2/TarVtGrU64PZ6VC0tLVqv1ydyFxLeamtrzbgYgJFSh+Bk2jOpe1ICmf7QtKp5856sHJo7zGoym4Lk3G636HQ4JXurTd3U1KTBtqgcTpcQZTYHIiIjfNExMV6DIaINuuTX6XQBp8sp1t24odv3+d6UN9/cPPTqtWpjOEFYLOeUI3CJwJJULAMZFE5u9cqVx1/esKE8jLebgWc3akCjjIFKbwF46dw0AlLXVnXpUlzx9OJpZyvO9VEShJR9LpfrHdy2SgqDCEB83i7Elj53NozYKeAY3QHAE0ZOz0KQmukuJ+VifUPkMrKyjO9t2bzvwUdmbL5eV2/gBBVE1crAL/OAy4mlJSe5Vq5Zd0pB7O/4OB7XXwJbgC/pYLHRFhJtNhONRk1q6xtIv+RE4vJ4SUOTldTdDKWABcBi+g3wdtH9OfaHJ4zaVpg7NHvH/oPrFKGMW4wghYn/uvJhwvjx1UZLFN+6I/iQ3r/Pnh+iGQcWUVPfaCWNzTZiiowgMA5yo7GJ1N5oIP4OI4llmQzV6QVAdenp8v3J8X1IhF7aplarV0HXaE5IJEniH8md/RwhFZ1iWFoqj3dUop8yQrzFPPvss78Cuf48e7W22IjL7SHXauuUxGgbpTS2goKC5fhu9InyCnLmfFWDiByQv6OOuCu5dmEeU46Iyfj7CqzKwXQp1OLj4wfSrcJEll78q0b5EBMTQ4k++V3N9cE6rVYCuRCP5OTkFm5ECskJFMdxd5X/dLOh3shuG9n1n8pMYuLEiQ10sawmuFU7SQMAfxg3bhxXn1yLyWDx+X0mhVT5O2d4NLADb/GHr0/9J97ltFO9lDJSgruyC3gpNjb20tq1a4+OHj26OaxQGgDMYxarbN8BTxuNxm9nzZr1zZIlS6r4GiWVekhbW0BL9Q0L9s+dO/dqKKfsJvCb4fMuMKuRP/nwvSN4//PHH55CsAXckqkhbGJ4nWYSbMCXmIKkKRNJhQeIATYqvs3PGZD1EX1F55s0adI5xbupXciJ7ddCWBCVopyekuw8ffJr2lkzMLMviYky0/7UeRcDNIMYxbeIKf6IvLy8madOnZqId1KEQU8S4/rA1ZiwODX9Ng9YCcxc/sxjkyWVivo+GRGkurKy8j1G7DW6YGWECMVY2hKTEicjHH1stVpNSYkJztmPlqw/uG/vK/6ATPeC+Nv88JIqUg2X0epwEo/XW4LPltMaFNs+vays7HhSUtLS9OTEpgi9jkRbTMRmd5Ios5G0OuGTA/LkMxcubWtr89MIcRnZyLYnnniC70Ap8JfutjWE9evXF02YMKGCiz0hPu5YWlLC/PuyMzOGZGdKOQP7k76pSSR3YDZJSYyDVE0js7KyVhw88MVQjJkODAR0AzLSyJi8XIJvzMMGZU+M7xP9V5p4snHf3/jqxp+g35+Z1F4GTEFOCsktYCHmANCgKAX779q1a9W7776bd/jw4b6QpFEtSUSr0VyTJPE8vMB3Br2uSRREh0oUbPEpaQlFhQW5dXU3mtUaddzBA4crHE5HItba3+ly9/V4fWbMSQuo7SD2DsanPnQhEMnmfYM66c4Vf3txTFdSDTwakqAYrE2jgAV2u/2tvXv3/mPRokUfZWdnfwhvXhHKBBm4IYXhX8BrwC/wvmDZsmV9mFQXKgzgaeovRUXFr5QcdQcvAKupwFJSUkqqa6q3Kxw0lWIqU/rhly9fTsKWP1hdXR3dW4YL3fumqqrq1xqNhpZ9cewMhiYJNAKdpjqG+a9wy+56VsIkNXLkSOqIZXjx5s/37Z3QnS5SK4yMjDx8J/VBSUlJOb5bATwGUB3rC2j57gQ9BSuyeixwEJLiYdbUucq5uTnXNm3a1B3BXKDtTshZLBbnxYsXV1M31GW82yXH8ArXHbPZbENa/kc8zwPoQcvrwDU+Kd7ZIUUXq57cc+bMKeMlICKCC1sZWsTOnTs/wVyP3i65noqZjezEiNhsNiP83XPovBXYzHKy0EHPzJkzz6elpQXDGIj48/Pz67mWjhgxorqoqOhKKJGwWmkCUADdNXSuBTqrWG8V//d0hXq93spDEEd4Gz58eCMqdoENLtPqPXQyKUl+vK8PS8tMQaMQeDkqk477zkm+dAsjOzxjxozxXq/3rZMnT2Y0NzcbaIWFrXLjKqJKCqZJCHOy4qTIj+ghK47GBLwPhEsITddxL/R+7Npd++CDD86AyJPAMzU1NXGYW0C+5UHkGLhhw4axzL0IyiCvUomBsPM84QefCfd4oi2KlZhgQ2pq6ng83ke3xeFweHo6ykIKJCuykB90GCTdTicQpLq3AyR30oIXQXoRPzLopu9dO52S7uSUkrkXmq67uzMOOAMZRtDj6aeisrqt+UIjqTWasEHbM/eo2HiiQ07G9JtodDpibahTNdXdCPYzRBoFo8XCDr2D48h8clRutH8oROoMkaEVpQ8YzCxE6PEoMERubPHPFJZDvXOwpiB6gyF4/E5/87jcJDE9gxz7bMcDlBx1mOkZGS5UXMFxNHq9v29mf4+I+oIarj9ApCE5w+x8jhNl5emzSmbUBM8aRo3lUaBdCjJzKQrrVUhO23kVcrsP8nk9TJdUxGGzJXz2/pYXbtbWBI/JxkyavKd/Zlbr1StV9PCFDB6aW1dUmN/YLzOr5cK5iuizZ8v7PDD17S+HDLu/8tuy0wP+8NuXh/jdds/8BU9Fet3uXrc2RM7a0NBOjq1ECB0CtBMVoUu2psZxrVbrOKM5emeE2bj7iz27Ilauf/EZR2srVE3tXvP8ui+R55Hla9Z9tfDx2cVVFy6YP9r5acaRQ4deLZk9K9Nlt5fs3r0nc3h+4RRbc+PJAETL5RH0jWHOMKQPk+fM7+7cq+NjSSQum4M01V8nZ//9FfXyxRevXJ02ZtTI6TGxsVf6ZWWv2LP946ms8iofkDOsKeBx/06j1WtPHC99E7XEizSfA7LZ6LSSOzBl7lPuTkqOtn/bO53J3WHLAx4G6igRlvPPZO6FFiy/B2j5V0hLQvYNPcY4AVB/Sa3BEqwTCLnSo3e4S//oiGHFDTXh3cDFsIVMZXH8N4z8bbX/CjAA0UTEH4oMvREAAAAASUVORK5CYII=') center center no-repeat;background-size:19.5px 24px}nav .tools .github a:hover{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=90);opacity:0.9}nav.active .tools{-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;border-bottom-left-radius:0}nav.active .tools .toggle{background:rgba(205,205,205,0.9);position:relative}nav .toc{-moz-box-shadow:rgba(0,0,0,0.3) 0 0 0.5em 0.1em;-webkit-box-shadow:rgba(0,0,0,0.3) 0 0 0.5em 0.1em;box-shadow:rgba(0,0,0,0.3) 0 0 0.5em 0.1em;background:rgba(230,230,230,0.9);border-left:1px solid #4a525a}nav .toc .label{color:#4a525a;text-decoration:none;border-top:1px solid rgba(192,192,192,0.9);border-bottom:1px solid rgba(192,192,192,0.9);margin-top:-1px}nav .toc .label:hover{background:rgba(205,205,205,0.9)}nav .toc .file>.label{font-weight:bold}nav .toc .selected>.label{background:#f5fbff}nav .toc .label em{font-weight:bold}nav .toc .file>.label em{color:#101214}nav .toc .matched-child>.label{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=65);opacity:0.65;text-shadow:none;background:rgba(192,192,192,0.9)}@media (max-width: 45.05em){nav .tools,nav .toc{border-left-width:0}nav .tools{background:url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2NkY2RjZCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');background:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff),color-stop(100%, #cdcdcd));background:-moz-linear-gradient(top, #ffffff,#cdcdcd);background:-webkit-linear-gradient(top, #ffffff,#cdcdcd);background:linear-gradient(to bottom, #ffffff,#cdcdcd)}nav .toc{background:#e6e6e6}}.comments .wrapper a{display:inline-block;color:#a8614e;text-decoration:none}.comments .wrapper a:hover,.comments .wrapper a:hover *{text-decoration:underline}.comments .wrapper code{font-family:"Droid Sans Mono",Menlo,Monaco,monospace;font-size:0.75em;line-height:1.4;border:1px solid #e6e0d5}.comments .wrapper pre,.comments .wrapper code{-moz-border-radius:0.4em;-webkit-border-radius:0.4em;border-radius:0.4em;background:#fbf8f3}.comments .wrapper pre{-moz-box-shadow:#f2ece3 0 0 0.4em 0.2em;-webkit-box-shadow:#f2ece3 0 0 0.4em 0.2em;box-shadow:#f2ece3 0 0 0.4em 0.2em;border:1px solid #d9c9af}.comments .wrapper pre code{border-width:0;background:transparent}.comments .wrapper blockquote{border-left:0.15em solid #959fa8;margin-left:-0.15em}body{-webkit-text-size-adjust:100%}input[type="search"]{-moz-border-radius:1em;-webkit-border-radius:1em;border-radius:1em;-moz-box-shadow:#ddd 0 1px 1px 0 inset;-webkit-box-shadow:#ddd 0 1px 1px 0 inset;box-shadow:#ddd 0 1px 1px 0 inset;border:1px solid #959595;padding:0.15em 0.8em}.comments.doc-section .wrapper{color:#252519}.comments.doc-section.doc-section-private .wrapper,.comments.doc-section.doc-section-protected .wrapper,.comments.doc-section.doc-section-internal .wrapper{color:#7f7f7f}.comments.doc-section .doc-section-header{font:bold 18px "helvetica neue",helvetica,sans-serif}.comments.doc-section .docs .doc-section-header code{font-size:18px}.code .marker,.code .marker.wrapper,.code .wrapper.marker{display:none}.code.folded .wrapper{display:none;cursor:default}.code.folded .marker{-moz-border-radius:0.2em;-webkit-border-radius:0.2em;border-radius:0.2em;-moz-box-shadow:#2f3539 1px 1px 1px 0;-webkit-box-shadow:#2f3539 1px 1px 1px 0;box-shadow:#2f3539 1px 1px 1px 0;display:inline-block;border:1px solid #73787f;padding:0.2em 0.5em;margin-left:-0.5em;margin-right:-0.5em;background:#58616b;font:12px "Droid Sans Mono",Menlo,Monaco,monospace;text-shadow:#2f3539 1px 1px 0px;cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none}.code.folded .marker .c1{color:#73787f;font-style:normal}.code.folded .marker:hover{background:#5f6872}.code.folded .marker:hover .c1{color:#7b8087}.code.folded .marker .c1:after{content:" …"} diff --git a/cmp/cmp.html b/cmp/cmp.html index c7775c6..660fc5e 100644 --- a/cmp/cmp.html +++ b/cmp/cmp.html @@ -1,59 +1,65 @@ -cmp/cmp
      var bcmp_t = function(){

      Compares two big endian arrays, |a| >= |b|

      - +cmp/cmp
      var bcmp_t = function(){

      Compares two big endian arrays, |a| >= |b|

      Parameters:

      -
        -
      • a must be an array.
        (first operand)

      • -
      • ai must be an int.
        (a left)

      • -
      • aj must be an int.
        (a right)

      • -
      • b must be an array.
        (second operand)

      • -
      • bi must be an int.
        (b left)

      • -
      • bj must be an int.
        (b right)

      • +
      • a must be an array.
        (first operand)

        +
      • +
      • ai must be an int.
        (a left)

        +
      • +
      • aj must be an int.
        (a right)

        +
      • +
      • b must be an array.
        (second operand)

        +
      • +
      • bi must be an int.
        (b left)

        +
      • +
      • bj must be an int.
        (b right)

        +
      +

      Returns an int
      (1 if a > b; 0 if a = b; -1 otherwise.)

      return function(a, ai, aj, b, bi, bj){ -

      Returns an int
      (1 if a > b; 0 if a = b; -1 otherwise.)

      return function(a, ai, aj, b, bi, bj){ - - var tmp = aj - bj + bi; + var tmp = aj - bj + bi; - for (; ai < tmp; ++ai) - if (a[ai] > 0) return 1;

      same size aj - ai === bj - bi

      for (; ai < aj; ++ai, ++bi) { - if (a[ai] > b[bi]) return 1; - if (a[ai] < b[bi]) return -1; - } + for (; ai < tmp; ++ai) + if (a[ai] > 0) return 1;

      same size aj - ai === bj - bi

      for (; ai < aj; ++ai, ++bi) { + if (a[ai] > b[bi]) return 1; + if (a[ai] < b[bi]) return -1; + } - return 0; - }; + return 0; + }; -}; - -var lcmp_t = function(){

      Compares two little endian arrays, |a| >= |b|

      +}; +var lcmp_t = function(){

      Compares two little endian arrays, |a| >= |b|

      Parameters:

      -
        -
      • a must be an array.
        (first operand)

      • -
      • ai must be an int.
        (a left)

      • -
      • aj must be an int.
        (a right)

      • -
      • b must be an array.
        (second operand)

      • -
      • bi must be an int.
        (b left)

      • -
      • bj must be an int.
        (b right)

      • +
      • a must be an array.
        (first operand)

        +
      • +
      • ai must be an int.
        (a left)

        +
      • +
      • aj must be an int.
        (a right)

        +
      • +
      • b must be an array.
        (second operand)

        +
      • +
      • bi must be an int.
        (b left)

        +
      • +
      • bj must be an int.
        (b right)

        +
      +

      Returns an int
      (1 if a > b; 0 if a = b; -1 otherwise.)

      return function(a, ai, aj, b, bi, bj){ -

      Returns an int
      (1 if a > b; 0 if a = b; -1 otherwise.)

      return function(a, ai, aj, b, bi, bj){ - - var tmp = ai + bj - bi; + var tmp = ai + bj - bi; - --aj; --bj; + --aj; --bj; - for (; aj >= tmp; --aj) - if (a[aj] > 0) return 1;

      same size aj - ai === bj - bi

      for (; aj >= ai; --aj, --bj) { - if (a[aj] > b[bj]) return 1; - if (a[aj] < b[bj]) return -1; - } + for (; aj >= tmp; --aj) + if (a[aj] > 0) return 1;

      same size aj - ai === bj - bi

      for (; aj >= ai; --aj, --bj) { + if (a[aj] > b[bj]) return 1; + if (a[aj] < b[bj]) return -1; + } - return 0; - }; -}; + return 0; + }; +}; -exports.bcmp_t = bcmp_t; -exports.lcmp_t = lcmp_t;
      \ No newline at end of file +exports.bcmp_t = bcmp_t; +exports.lcmp_t = lcmp_t;
      \ No newline at end of file diff --git a/cmp/eq.html b/cmp/eq.html index 6560cb0..8da85ad 100644 --- a/cmp/eq.html +++ b/cmp/eq.html @@ -1,8 +1,8 @@ -cmp/eq

      Wrapper for a comparison operator that returns true iff -a is equal to b.

      var eq_t = function(cmp){ - return function (a, ai, aj, b, bi, bj) { - return cmp(a, ai, aj, b, bi, bj) === 0; - }; -}; +cmp/eq

      Wrapper for a comparison operator that returns true iff +a is equal to b.

      var eq_t = function(cmp){ + return function (a, ai, aj, b, bi, bj) { + return cmp(a, ai, aj, b, bi, bj) === 0; + }; +}; -exports.eq_t = eq_t;
      \ No newline at end of file +exports.eq_t = eq_t;
      \ No newline at end of file diff --git a/cmp/ge.html b/cmp/ge.html index 4898647..f045fcd 100644 --- a/cmp/ge.html +++ b/cmp/ge.html @@ -1,8 +1,8 @@ -cmp/ge

      Wrapper for a comparison operator that returns true iff -a is greater or equal to b.

      var ge_t = function(cmp){ - return function (a, ai, aj, b, bi, bj) { - return cmp(a, ai, aj, b, bi, bj) >= 0; - }; -}; +cmp/ge

      Wrapper for a comparison operator that returns true iff +a is greater or equal to b.

      var ge_t = function(cmp){ + return function (a, ai, aj, b, bi, bj) { + return cmp(a, ai, aj, b, bi, bj) >= 0; + }; +}; -exports.ge_t = ge_t;
      \ No newline at end of file +exports.ge_t = ge_t;
      \ No newline at end of file diff --git a/cmp/gt.html b/cmp/gt.html index 1dea650..eb10997 100644 --- a/cmp/gt.html +++ b/cmp/gt.html @@ -1,8 +1,8 @@ -cmp/gt

      Wrapper for a comparison operator that returns true iff -a is greater than b.

      var gt_t = function(cmp){ - return function (a, ai, aj, b, bi, bj) { - return cmp(a, ai, aj, b, bi, bj) > 0; - }; -}; +cmp/gt

      Wrapper for a comparison operator that returns true iff +a is greater than b.

      var gt_t = function(cmp){ + return function (a, ai, aj, b, bi, bj) { + return cmp(a, ai, aj, b, bi, bj) > 0; + }; +}; -exports.gt_t = gt_t;
      \ No newline at end of file +exports.gt_t = gt_t;
      \ No newline at end of file diff --git a/cmp/le.html b/cmp/le.html index 479aeff..a2b0ce5 100644 --- a/cmp/le.html +++ b/cmp/le.html @@ -1,8 +1,8 @@ -cmp/le

      Wrapper for a comparison operator that returns true iff -a is less or equal to b.

      var le_t = function(cmp){ - return function (a, ai, aj, b, bi, bj) { - return cmp(a, ai, aj, b, bi, bj) <= 0; - }; -}; +cmp/le

      Wrapper for a comparison operator that returns true iff +a is less or equal to b.

      var le_t = function(cmp){ + return function (a, ai, aj, b, bi, bj) { + return cmp(a, ai, aj, b, bi, bj) <= 0; + }; +}; -exports.le_t = le_t;
      \ No newline at end of file +exports.le_t = le_t;
      \ No newline at end of file diff --git a/cmp/lt.html b/cmp/lt.html index 300a5cf..cb5dd0c 100644 --- a/cmp/lt.html +++ b/cmp/lt.html @@ -1,8 +1,8 @@ -cmp/lt

      Wrapper for a comparison operator that returns true iff -a is less than b.

      var lt_t = function(cmp){ - return function (a, ai, aj, b, bi, bj) { - return cmp(a, ai, aj, b, bi, bj) < 0; - }; -}; +cmp/lt

      Wrapper for a comparison operator that returns true iff +a is less than b.

      var lt_t = function(cmp){ + return function (a, ai, aj, b, bi, bj) { + return cmp(a, ai, aj, b, bi, bj) < 0; + }; +}; -exports.lt_t = lt_t;
      \ No newline at end of file +exports.lt_t = lt_t;
      \ No newline at end of file diff --git a/cmp/ne.html b/cmp/ne.html index b7248f0..c4eca7e 100644 --- a/cmp/ne.html +++ b/cmp/ne.html @@ -1,8 +1,8 @@ -cmp/ne

      Wrapper for a comparison operator that returns true iff -a is not equal to b.

      var ne_t = function(cmp){ - return function (a, ai, aj, b, bi, bj) { - return cmp(a, ai, aj, b, bi, bj) !== 0; - }; -}; +cmp/ne

      Wrapper for a comparison operator that returns true iff +a is not equal to b.

      var ne_t = function(cmp){ + return function (a, ai, aj, b, bi, bj) { + return cmp(a, ai, aj, b, bi, bj) !== 0; + }; +}; -exports.ne_t = ne_t;
      \ No newline at end of file +exports.ne_t = ne_t;
      \ No newline at end of file diff --git a/convert/basechange.html b/convert/basechange.html new file mode 100644 index 0000000..ba845e9 --- /dev/null +++ b/convert/basechange.html @@ -0,0 +1,72 @@ +convert/basechange
      var bbasechange_t = function(ar, br, calloc, mov){ + + var basechange = function(a, ai, aj, b, bi, bj){ + + var m, n, d, q, z, r, ri, f, t, tmp, w; + + f = ar; + t = br; + + if (f > t) { + d = calloc(1); + d[0] = br; + z = 1; + } + else { + z = 0; + + while (t > 1) { + t /= f; + ++z; + } + + z += (t === 1); + + d = calloc(z); + + t = br; + + w = z; + + while (t > 0) { + tmp = t % f; + d[--w] = tmp; + t = (t - tmp) / f; + } + } + + m = aj - ai; + n = bj - bi; + + q = calloc(m); + r = calloc(m); + mov(a, ai, aj, r, 0); + + + ri = 0; + --bj; + + while (!lt(r, 0, m, d, 0, z)) { + div(r, 0, m, d, 0, z, q, 0); + for (w = 1; w <= z; ++w) { + b[bj] *= ar; + b[bj] += r[m - w]; + } + mov(q, 0, m, r, 0); + --bj; + } + + for (w = 1; w <= z; ++w) { + b[bj] *= ar; + b[bj] += r[m - w]; + } + + + }; + + return basechange; + +}; + + +exports.bbasechange_t = bbasechange_t;
      \ No newline at end of file diff --git a/convert/convert.html b/convert/convert.html new file mode 100644 index 0000000..6180e70 --- /dev/null +++ b/convert/convert.html @@ -0,0 +1,42 @@ +convert/convert
      var bconvert_t = function(ar, br, bjoin_t, bsplit_t) { + + var f, t, z; + + f = ar; + t = br; + z = 0; + + if (br <= ar) { + + while (f >= t) { + if (f % t) break; + f /= t; + ++z; + } + + if (f === 1) { + return bsplit_t(br, z); + } + + else {

      TODO

      throw 'f >= t + log(t) does not divide log(f) not implemented'; + } + } + + else { + + while (t >= f) { + if (t % f) break; + t /= f; + ++z; + } + + if (t === 1) { + return bjoin_t(ar, z); + } + + else {

      TODO

      throw 't > f + log(f) does not divide log(t) not implemented'; + } + } +} + +exports.bconvert_t = bconvert_t;
      \ No newline at end of file diff --git a/convert/join.html b/convert/join.html new file mode 100644 index 0000000..95ff4fb --- /dev/null +++ b/convert/join.html @@ -0,0 +1,46 @@ +convert/join
      var bjoin_t = function(ar, z) { + + var join = function(a, ai, aj, b, bi, bj) { + + var m, n, q, r, i, w, t; + + m = aj - ai; + n = bj - bi;

      number of parts of first +destination block if incomplete

      r = m % z;

      number of complete blocks in destination

      q = (m - r) / z;

      total number of blocks in destination +(complete ones + first if incomplete)

      w = q + !!r; + + + if (n >= w) {

      if destination can contain more than +what is available in source then +compute the effective write start +in destination and set i to the correct +offset according to the size +(in source blocks) of the +first destination block if incomplete

      bi = bj - w; + i = (z - r) % z; + } + else {

      if source contains more than what +destination can handle set the effective +read start in source and set i to 0 because +all blocks will be complete

      ai = aj - n * z; + i = 0; + } + + for (; ai < aj && bi < bj; ++bi) { + t = 0; + for (; i < z; ++i) { + t *= ar; // aggregate source blocks + t += a[ai]; // using simple + ++ai; // multiply + add + } + b[bi] = t; // set block in destination + i = 0; + } + + }; + + return join; + +}; + +exports.bjoin_t = bjoin_t;
      \ No newline at end of file diff --git a/convert/split.html b/convert/split.html new file mode 100644 index 0000000..95e9083 --- /dev/null +++ b/convert/split.html @@ -0,0 +1,48 @@ +convert/split
      var bsplit_t = function(br, z) { + + var split = function(a, ai, aj, b, bi, bj) { + + var m, n, q, r, i, w, t; + + m = bj - bi; + n = aj - ai;

      number of parts of first +destination block if incomplete

      r = m % z;

      number of complete blocks in destination

      q = (m - r) / z;

      total number of blocks in destination +(complete ones + first if incomplete)

      w = q + !!r; + + + if (n >= w) {

      if source contains more than what +destination can handle set the effective +read start in source and set i to the correct +offset according to the size +(in destination blocks) of the +first source block if incomplete

      ai = aj - w; + i = (z - r) % z; + } + else {

      if destination can contain more than +what is available in source then +compute the effective write start +in destination and set i to 0 because +all blocks will be complete

      bi = bj - n * z; + i = 0; + } + + for (; ai < aj && bi < bj; ++ai) { + q = a[ai]; + t = bi + z - 1 - i; + bi += z - i; + for (; i < z; ++i) { + r = q % br; // unpack source blocks + q = (q - r) / br; // using simple + b[t] = r; // modulo + quotient + --t; + } + i = 0; + } + + }; + + return split; + +}; + +exports.bsplit_t = bsplit_t;
      \ No newline at end of file diff --git a/div/dcdiv.html b/div/dcdiv.html new file mode 100644 index 0000000..7299cae --- /dev/null +++ b/div/dcdiv.html @@ -0,0 +1 @@ +div/dcdiv \ No newline at end of file diff --git a/div/div.html b/div/div.html index 949eea8..27cbea7 100644 --- a/div/div.html +++ b/div/div.html @@ -1,45 +1,54 @@ -div/div
      var bdiv_t = function(mov, lt, sub){

      Computes quotient and remainder of two big endian arrays. -

      +div/div

      var bdiv_t = function(lt, sub){

      Computes quotient and remainder of two big endian arrays.

      +

      Computes quotient and remainder of two big endian arrays using long division algorithm (the one teached in european primary schools).

      - +

      /!\ This algorithm modifies its first operand.

      +

      HYP : q is at least as large as r + b is not zero

      Parameters:

      -
        -
      • a must be an array.
        (dividend)

      • -
      • ai must be an int.
        (a left)

      • -
      • aj must be an int.
        (a right)

      • -
      • b must be an array.
        (divisor)

      • -
      • bi must be an int.
        (b left)

      • -
      • bj must be an int.
        (b right)

      • -
      • q must be an array.
        (quotient, must be 0 initialized)

      • -
      • qi must be an int.
        (q left)

      • -
      • qj must be an int.
        (q right)

      • -
      • r must be an array.
        (remainder)

      • -
      • ri must be an int.
        (r left)

      • -
      • rj must be an int.
        (r right)

      • -
      var div = function(a, ai, aj, b, bi, bj, q, qi, qj, r, ri, rj){ - var k, t = ri + 1;

      copy dividend in remainder

      mov(a, ai, aj, r, ri); - - do {

      trim leading zeros - - maybe could try to put this procedure inside the sub loop

      while (ri < rj && r[ri] === 0) ++ri;

      search for a remainder block interval -greater than the divisor - - maybe could try binary search on the lt function - for another implementation

      k = ri + 1; - while (k <= rj && lt(r, ri, k, b, bi, bj)) ++k;

      remainder smaller than divisor --> end

      if (k > rj) break;

      divide current block interval by quotient

      do{

      increment quotient block corresponding -to current ls block of remainder interval

      ++q[qi + k - t];

      subtract divisor from current remainder -block interval

      sub(r, ri, k, b, bi, bj, r, ri, k); - - } while(!lt(r, ri, k, b, bi, bj)); - - - } while(k <= rj); - - }; - - return div; - -}; - -exports.bdiv_t = bdiv_t;
      \ No newline at end of file +
    39. r must be an array.
      (dividend and remainder)

      +
    40. +
    41. ri must be an int.
      (r left)

      +
    42. +
    43. rj must be an int.
      (r right)

      +
    44. +
    45. b must be an array.
      (divisor)

      +
    46. +
    47. bi must be an int.
      (b left)

      +
    48. +
    49. bj must be an int.
      (b right)

      +
    50. +
    51. q must be an array.
      (quotient, must be 0 initialized)

      +
    52. +
    53. qi must be an int.
      (q left)

      +
    54. +

      /!\ There are implicit hypotheses + made on the size of the operands. + Should clarify.

      var div = function(r, ri, rj, b, bi, bj, q, qi){ + var k, t = ri + 1; + + do {

      trim leading zeros

      +
      - maybe could try to put this procedure inside the sub loop
      +- or assume that the number is trimed at the begining
      +  and put this statement at the end of the main loop
      while (ri < rj && r[ri] === 0) ++ri;

      search for a remainder block interval +greater than the divisor

      +
      - maybe could try binary search on the lt function
      +for another implementation
      k = ri + 1; + while (k <= rj && lt(r, ri, k, b, bi, bj)) ++k;

      remainder smaller than divisor --> end

      if (k > rj) break;

      divide current block interval by quotient

      do{

      increment quotient block corresponding +to current ls block of remainder interval

      ++q[qi + k - t];

      subtract divisor from current remainder +block interval

      sub(r, ri, k, b, bi, bj, r, ri, k); + + } while(!lt(r, ri, k, b, bi, bj)); + + + } while(true); + + }; + + return div; + +}; + +exports.bdiv_t = bdiv_t;
      \ No newline at end of file diff --git a/div/fourierdiv.html b/div/fourierdiv.html new file mode 100644 index 0000000..9609f39 --- /dev/null +++ b/div/fourierdiv.html @@ -0,0 +1 @@ +div/fourierdiv \ No newline at end of file diff --git a/div/knuthd.html b/div/knuthd.html new file mode 100644 index 0000000..d465180 --- /dev/null +++ b/div/knuthd.html @@ -0,0 +1 @@ +div/knuthd \ No newline at end of file diff --git a/gcd/gcd.html b/gcd/gcd.html index a2104d1..8dfcc70 100644 --- a/gcd/gcd.html +++ b/gcd/gcd.html @@ -1 +1 @@ -gcd/gcd

      COMPUTE THE GREATEST COMMON DIVISOR OF a AND b

      \ No newline at end of file +gcd/gcd

      COMPUTE THE GREATEST COMMON DIVISOR OF a AND b

      \ No newline at end of file diff --git a/index.html b/index.html index b4c2520..171b2d9 100644 --- a/index.html +++ b/index.html @@ -1,9 +1,18 @@ -index

      alu

      - -

      natural numbers algorithm templates for JavaScript

      - -

      Build Status -Coverage Status -Dependencies Status -devDependencies Status -Code Climate

      \ No newline at end of file +index \ No newline at end of file diff --git a/lcm/lcm.html b/lcm/lcm.html index 5d18dbd..8a83fe9 100644 --- a/lcm/lcm.html +++ b/lcm/lcm.html @@ -1 +1 @@ -lcm/lcm

      COMPUTE THE LEAST COMMON MULTIPLE OF a AND b

      \ No newline at end of file +lcm/lcm

      COMPUTE THE LEAST COMMON MULTIPLE OF a AND b

      \ No newline at end of file diff --git a/log/log.html b/log/log.html index 7ddb58f..4556595 100644 --- a/log/log.html +++ b/log/log.html @@ -1 +1 @@ -log/log

      FOR A NUMBER n COMPUTE THE GREATEST k SUCH THAT 2^k < n

      \ No newline at end of file +log/log

      FOR A NUMBER n COMPUTE THE GREATEST k SUCH THAT 2^k < n

      \ No newline at end of file diff --git a/mod/mod.html b/mod/mod.html index 864a4af..0dbab86 100644 --- a/mod/mod.html +++ b/mod/mod.html @@ -1 +1 @@ -mod/mod

      COMPUTE MODULUS (a % b)

      \ No newline at end of file +mod/mod

      COMPUTE MODULUS (a % b)

      \ No newline at end of file diff --git a/mod/montgomery.html b/mod/montgomery.html index 8da0022..328a972 100644 --- a/mod/montgomery.html +++ b/mod/montgomery.html @@ -1 +1 @@ -mod/montgomery

      COMPUTE MODULUS USING MONTGOMERY REDUCTION : http://en.wikipedia.org/wiki/Montgomery_reduction

      \ No newline at end of file +mod/montgomery

      COMPUTE MODULUS USING MONTGOMERY REDUCTION : http://en.wikipedia.org/wiki/Montgomery_reduction

      \ No newline at end of file diff --git a/mpow/mpow.html b/mpow/mpow.html index d0a8216..5f660b5 100644 --- a/mpow/mpow.html +++ b/mpow/mpow.html @@ -1 +1 @@ -mpow/mpow

      MODULAR EXPONENTIATION : http://en.wikipedia.org/wiki/Modular_exponentiation

      \ No newline at end of file +mpow/mpow \ No newline at end of file diff --git a/mul/karatsuba.html b/mul/karatsuba.html index 7b626a8..08c719c 100644 --- a/mul/karatsuba.html +++ b/mul/karatsuba.html @@ -1,80 +1,97 @@ -mul/karatsuba

      /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)

      - +mul/karatsuba

      /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)

      Parameters:

      -
        -
      • add must be a function.
        (addition algorithm)

      • -
      • sub must be a function.
        (subtraction algorithm)

      • -
      • mul must be a function.
        (multiplication algorithm)

      • -
      • copy must be a function.
        (copy algorithm)

      • -
      • num must be a prototype.
        (array ctor)

      • -
      • r must be an uint.
        (base (radix) EXPLANATION ########### a.b = (a1.r^{n} + a0).(b1.r^{n} + b0) = a1.b1.r^{2n} + (a1.b0 + a0.b1).r^{n} + a0.b0 = z2.r^{2n} + z1.r^{n} + z0 z2 = a1.b1 z1 = a1.b0 + a0.b1 z0 = a0.b0 (a1 + a0)(b1 + b0) = a1.b1 + a0.b0 + (a1.b0 + a0.b1) = z2 + z0 + z1 z1 = (a1 + a0)(b1 + b0) - z2 - z0 AN ANOTHER WAY AROUND (not used here) (a1 - a0)(b1 - b0) = a1.b1 + a0.b0 - (a1.b0 + a0.b1) (a0 - a1)(b1 - b0) = (a1.b0 + a0.b1) - a1.b1 + a0.b0 a.b = (r^{2n} + r^{n})a1.b1 + r^{n}(a0 - a1)(b1 - b0) + (r^{n} + 1)a0.b0,)

      • -
      var bkaratsuba_t = function(add, sub, mul, num, mov, r, wrap){

      Multiply two big endian arrays using karatsuba algorithm, -i >= j, k >= 2 * i

      - +
    55. add must be a function.
      (addition algorithm)

      +
    56. +
    57. sub must be a function.
      (subtraction algorithm)

      +
    58. +
    59. mul must be a function.
      (multiplication algorithm)

      +
    60. +
    61. copy must be a function.
      (copy algorithm)

      +
    62. +
    63. calloc must be a function.
      (array allocator)

      +
    64. +
    65. r must be an uint.
      (base (radix) EXPLANATION ########### We consider the numbers a and b, both of size N = 2n. We divide a and b into their lower and upper parts. a = a1 r^{n} + a0 (1) b = b1 r^{n} + b0 (2) We express the product of a and b using their lower and upper parts. a b = (a1 r^{n} + a0) (b1 r^{n} + b0) (3) = a1 b1 r^{2n} + (a1 b0 + a0 b1) r^{n} + a0 b0 (4) This gives us 4 multiplications with operands of size n. Using a simple trick, we can reduce this computation to 3 multiplications. We give the 3 terms of (4) the names z0, z1 and z2. z2 = a1 b1 z1 = a1 b0 + a0 b1 z0 = a0 b0 a b = z2 r^{2n} + z1 r^{n} + z0 We then express z1 using z0, z2 and one additional multiplication. (a1 + a0)(b1 + b0) = a1 b1 + a0 b0 + (a1 b0 + a0 b1) = z2 + z0 + z1 z1 = (a1 + a0)(b1 + b0) - z2 - z0 AN ANOTHER WAY AROUND (not used here) (a1 - a0)(b1 - b0) = (a1 b1 + a0 b0) - (a1 b0 + a0 b1) (a0 - a1)(b1 - b0) = (a1 b0 + a0 b1) - (a1 b1 + a0 b0) a b = (r^{2n} + r^{n})a1 b1 + r^{n}(a0 - a1)(b1 - b0) + (r^{n} + 1)a0 b0 This algorithm is a generalization of the Toom-Cook algorithm, when m = n = 2. For further reference, see - http://en.wikipedia.org/wiki/Karatsuba_algorithm - http://en.wikipedia.org/wiki/Toom–Cook_multiplication)

      +
    66. +
      var bkaratsuba_t = function(add, sub, mul, calloc, mov, r, wrap){

      Multiply two big endian arrays using karatsuba algorithm, +i >= j, k >= 2 * i

      Parameters:

      -
        -
      • a must be an array.
        (first operand)

      • -
      • i0 must be an int.
        (a left)

      • -
      • i1 must be an int.
        (a right)

      • -
      • b must be an array.
        (second operand)

      • -
      • j0 must be an int.
        (b left)

      • -
      • j1 must be an int.
        (b right)

      • -
      • c must be an array.
        (result, must be 0 initialized)

      • -
      • k0 must be an int.
        (c left)

      • -
      • k1 must be an int.
        (c right)

      • -
      var karatsuba = function(a, i0, i1, b, j0, j1, c, k0, k1){ - - var z0, z2, t1, t2, t3, p, I, P, P_, i_, j_; - - var i = i1 - i0, - j = j1 - j0, - k = k1 - k0;

      EMPTY CASE

      if(i <= 0 || j <= 0 || k <= 0) return;

      BASE CASE i = j = 1

      if(i === 1){ - z0 = a[i0] * b[j0]; - c[k1-1] = z0 % r; - - if(k > 1) - c[k1-2] = (z0 - c[k1-1]) / r; - - }

      RECURSION

      else{ - p = Math.ceil(i / 2); - I = i + j; - P = 2 * p; - P_ = I - P; - i_ = i1 - p; - j_ = Math.max(j0, j1 - p); - - t1 = new num(p+1); // + 1 to handle addition overflows - t2 = new num(p+1); // and guarantee reducing k for the - t3 = new num(P+1); // recursive calls - z2 = new num(P_); - z0 = new num(P); -

      RECURSIVE CALLS

      mul(a, i0, i_, b, j0, j_, z2, 0, P_); // z2 = a1.b1 - mul(a, i_, i1, b, j_, j1, z0, 0, P); // z0 = a0.b0 - add(a, i_, i1, a, i0, i_, t1, 0, p + 1); // (a0 + a1) - add(b, j0, j_, b, j_, j1, t2, 0, p + 1); // (b1 + b0) - mul(t1, 1, p + 1, t2, 1, p + 1, t3, 1, P + 1); // (a0 + a1)(b1 + b0)

      BUILD OUTPUT

      mov(z2, 0, P_, c, k1 - I); // + z2 . r^{2n} - mov(z0, 0, P , c, k1 - P); // + z0 - if(t1[0]) // overflow on t1, add t2 . r^{p} - add(t3, 0, P + 1 - p, t2, 1, p + 1, t3, 0, P + 1 - p); - if(t2[0]) // overflow on t2, add t1 . r^{p} - add(t3, 0, P + 1 - p, t1, 1, p + 1, t3, 0, P + 1 - p); - if(t1[0] && t2[0]) // overflow on t1 and t2, add 1 . r^{p+1} - add(t3, 0, P - p, t1, 0, 1, t3, 0, P - p); - add(c, k0, k1 - p, t3, 0, P + 1, c, k0, k1 - p); // + (a0 + a1)(b1 + b0) . r^{n} - sub(c, k0, k1 - p, z2, 0, P_, c, k0, k1 - p); // - z2 . r^{n} - sub(c, k0, k1 - p, z0, 0, P, c, k0, k1 - p); // - z1 . r^{n} - } - - }; - - if(wrap !== undefined) karatsuba = wrap(karatsuba); - if(mul === undefined) mul = karatsuba; - - return karatsuba; - -}; - - -exports.bkaratsuba_t = bkaratsuba_t;
      \ No newline at end of file +
    67. a must be an array.
      (first operand)

      +
    68. +
    69. ai must be an int.
      (a left)

      +
    70. +
    71. aj must be an int.
      (a right)

      +
    72. +
    73. b must be an array.
      (second operand)

      +
    74. +
    75. bi must be an int.
      (b left)

      +
    76. +
    77. bj must be an int.
      (b right)

      +
    78. +
    79. c must be an array.
      (result, must be 0 initialized)

      +
    80. +
    81. ci must be an int.
      (c left)

      +
    82. +
    83. cj must be an int.
      (c right)

      +
    84. +
      var karatsuba = function(a, ai, aj, b, bi, bj, c, ci, cj){ + + var z0, z2, t1, t2, t3, n, I, N, N_, i_, j_, i, j, k; + + i = aj - ai; + j = bj - bi; + k = cj - ci;

      EMPTY CASE

      if (i <= 0 || j <= 0 || k <= 0) return;

      BASE CASE i = j = 1

      if (i === 1) { + + z0 = a[ai] * b[bi]; + c[cj-1] = z0 % r; + + if (k > 1) { + c[cj-2] = (z0 - c[cj-1]) / r; + } + + }

      RECURSION

      else{ + n = Math.ceil(i / 2); + I = i + j; + N = 2 * n; + N_ = I - N; + i_ = aj - n; + j_ = Math.max(bi, bj - n); + + t1 = calloc(n + 1); // + 1 to handle addition overflows + t2 = calloc(n + 1); // and guarantee reducing k for the + t3 = calloc(N + 1); // recursive calls + z2 = calloc(N_); + z0 = calloc(N); +

      RECURSIVE CALLS

      mul(a, ai, i_, b, bi, j_, z2, 0, N_); // z2 = a1.b1 + mul(a, i_, aj, b, j_, bj, z0, 0, N); // z0 = a0.b0 + add(a, i_, aj, a, ai, i_, t1, 0, n + 1); // (a0 + a1) + add(b, bi, j_, b, j_, bj, t2, 0, n + 1); // (b1 + b0) + mul(t1, 1, n + 1, t2, 1, n + 1, t3, 1, N + 1); // (a0 + a1)(b1 + b0)

      BUILD OUTPUT

      mov(z2, 0, N_, c, cj - I); // + z2 . r^{2n} + mov(z0, 0, N , c, cj - N); // + z0 + + if (t1[0]) {

      overflow on t1, add t2 . r^{n}

      add(t3, 0, N + 1 - n, t2, 1, n + 1, t3, 0, N + 1 - n); + } + + if (t2[0]) {

      overflow on t2, add t1 . r^{n}

      add(t3, 0, N + 1 - n, t1, 1, n + 1, t3, 0, N + 1 - n); + } + + if (t1[0] && t2[0]) {

      overflow on t1 and t2, add 1 . r^{n+1}

      add(t3, 0, N - n, t1, 0, 1, t3, 0, N - n); + } + + add(c, ci, cj - n, t3, 0, N + 1, c, ci, cj - n); // + (a0 + a1)(b1 + b0) . r^{n} + sub(c, ci, cj - n, z2, 0, N_, c, ci, cj - n); // - z2 . r^{n} + sub(c, ci, cj - n, z0, 0, N, c, ci, cj - n); // - z1 . r^{n} + } + + }; + + if (wrap !== undefined) karatsuba = wrap(karatsuba); + if (mul === undefined) mul = karatsuba; + + return karatsuba; + +}; + + +exports.bkaratsuba_t = bkaratsuba_t;
      \ No newline at end of file diff --git a/mul/mul.html b/mul/mul.html index b0f74c6..7f9acd0 100644 --- a/mul/mul.html +++ b/mul/mul.html @@ -1,38 +1,38 @@ -mul/mul
      var bmul_t = function(r){

      Computes product of two big endian arrays. -

      +mul/mul

      var bmul_t = function(r){

      Computes product of two big endian arrays.

      +

      Computes product of two big endian arrays using long multiplication algorithm (the one teached in -european primary schools)

      var mul = function(a, ai, aj, b, bi, bj, c, ci, cj){ - var ak, ck = --cj, ct, t, u, v, w, y, z; +european primary schools)

      var mul = function(a, ai, aj, b, bi, bj, c, ci, cj){ + var ak, ck = --cj, ct, t, u, v, w, y, z; - while (bj --> bi && ck >= ci) { - for (ak = aj, w = 0; ak --> ai && ck >= ci; --ck) { - t = b[bj] * a[ak]; - u = t % r; - v = c[ck] + u + w; + while (bj --> bi && ck >= ci) { + for (ak = aj, w = 0; ak --> ai && ck >= ci; --ck) { + t = b[bj] * a[ak]; + u = t % r; + v = c[ck] + u + w; - y = v % r; + y = v % r; - c[ck] = y; + c[ck] = y; - z = (v - y) / r; - - for (ct = ck - 1; z > 0 && ct >= ci; --ct) { - v = c[ct] + z; - y = v % r; - c[ct] = y; - z = (v - y) / r; - } + z = (v - y) / r; + + for (ct = ck - 1; z > 0 && ct >= ci; --ct) { + v = c[ct] + z; + y = v % r; + c[ct] = y; + z = (v - y) / r; + } - w = (t - u) / r; - } - ck = --cj; - } - }; + w = (t - u) / r; + } + ck = --cj; + } + }; - return mul; + return mul; -}; +}; -exports.bmul_t = bmul_t;
      \ No newline at end of file +exports.bmul_t = bmul_t;
      \ No newline at end of file diff --git a/mul/mul53.html b/mul/mul53.html new file mode 100644 index 0000000..244a2db --- /dev/null +++ b/mul/mul53.html @@ -0,0 +1,83 @@ +mul/mul53

      /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)

      +

      big endian 1 block multiplication

      var bmul53_t = function(r){

      Multiply two blocks, result is put in a 1 or 2 blocks big endian array. +aj - ai <= 1, bj - bi <= 1, cj - ci <= 2

      +

      Parameters:

      +
        +
      • a must be an array.
        (first operand)

        +
      • +
      • ai must be an int.
        (a left)

        +
      • +
      • aj must be an int.
        (a right)

        +
      • +
      • b must be an array.
        (second operand)

        +
      • +
      • bi must be an int.
        (b left)

        +
      • +
      • bj must be an int.
        (b right)

        +
      • +
      • c must be an array.
        (result, must be 0 initialized)

        +
      • +
      • ci must be an int.
        (c left)

        +
      • +
      • cj must be an int.
        (c right)

        +
      • +
      var mul = function(a, ai, aj, b, bi, bj, c, ci, cj){ + + var v;

      EMPTY CASE

      if (aj <= ai || bj <= bi || cj <= ci) return; + + v = a[ai] * b[bi]; + c[cj-1] = v % r; + + if (cj > ci + 1) { + c[cj-2] = (v - c[cj-1]) / r; + } + + }; + + return mul; + +}; + + +exports.bmul53_t = bmul53_t;

      /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)

      +

      little endian 1 block multiplication

      var lmul53_t = function(r){

      Multiply two blocks, result is put in a 1 or 2 blocks little endian array. +aj - ai <= 1, bj - bi <= 1, cj - ci <= 2

      +

      Parameters:

      +
        +
      • a must be an array.
        (first operand)

        +
      • +
      • ai must be an int.
        (a left)

        +
      • +
      • aj must be an int.
        (a right)

        +
      • +
      • b must be an array.
        (second operand)

        +
      • +
      • bi must be an int.
        (b left)

        +
      • +
      • bj must be an int.
        (b right)

        +
      • +
      • c must be an array.
        (result, must be 0 initialized)

        +
      • +
      • ci must be an int.
        (c left)

        +
      • +
      • cj must be an int.
        (c right)

        +
      • +
      var mul = function(a, ai, aj, b, bi, bj, c, ci, cj){ + + var v;

      EMPTY CASE

      if (aj <= ai || bj <= bi || cj <= ci) return; + + v = a[ai] * b[bi]; + c[ci] = v % r; + + if (cj > ci + 1) { + c[ci+1] = (v - c[ci]) / r; + } + + }; + + return mul; + +}; + + +exports.lmul53_t = lmul53_t;
      \ No newline at end of file diff --git a/mul/toomcook.html b/mul/toomcook.html new file mode 100644 index 0000000..1f83cfb --- /dev/null +++ b/mul/toomcook.html @@ -0,0 +1 @@ +mul/toomcook \ No newline at end of file diff --git a/neg/neg.html b/neg/neg.html index 501d219..8f88c82 100644 --- a/neg/neg.html +++ b/neg/neg.html @@ -1 +1 @@ -neg/neg

      COMPUTE THE NEGATIVE VALUE OF NUMBER n

      \ No newline at end of file +neg/neg

      COMPUTE THE NEGATIVE VALUE OF NUMBER n

      \ No newline at end of file diff --git a/not/not.html b/not/not.html index 478eb6d..c5a3420 100644 --- a/not/not.html +++ b/not/not.html @@ -1 +1 @@ -not/not

      BINARY not APPLIED ON a

      \ No newline at end of file +not/not

      BINARY not APPLIED ON a

      \ No newline at end of file diff --git a/or/or.html b/or/or.html index 9688a63..6476267 100644 --- a/or/or.html +++ b/or/or.html @@ -1 +1 @@ -or/or

      BINARY or APPLIED ON a AND b

      \ No newline at end of file +or/or

      BINARY or APPLIED ON a AND b

      \ No newline at end of file diff --git a/parse/parse.html b/parse/parse.html index f042730..b4bcf51 100644 --- a/parse/parse.html +++ b/parse/parse.html @@ -1,42 +1,43 @@ -parse/parse

      Function template for number parsing. +parse/parse

      Function template for number parsing. Endianess provided by the iterator function iterator function must be reverse ordered

      -

      Parameters:

      -
        -
      • f must be an int.
        (from radix)

      • -
      • t must be an int.
        (to radix)

      • -
      • iter must be a function.
        (iterator function)

      • -
      var parse_t = function(t, f, iter){ +
    85. f must be an int.
      (from radix)

      +
    86. +
    87. t must be an int.
      (to radix)

      +
    88. +
    89. iter must be a function.
      (iterator function)

      +
    90. +
      var parse_t = function(t, f, iter){ - if(t >= f){ + if(t >= f){ - if(f > 36) throw 'f > 36 not implemented'; + if(f > 36) throw 'f > 36 not implemented'; - var z = 0, log = t; - while(log >= f){ - if (log % f) break; - log /= f; - ++z; - } + var z = 0, log = t; + while(log >= f){ + if (log % f) break; + log /= f; + ++z; + } - if (log !== 1) throw 'log(f) does not divide log(t) not implemented';

      immediate log(t) divides log(f)

      return function(s, si, sj, a, ai, aj){ - var len = sj - si, k = sj - z, n = Math.ceil(len / z); - var block = function(i){ - a[i] = parseInt(s.slice(Math.max(0, k), k + z), f); - k -= z; - }; + if (log !== 1) throw 'log(f) does not divide log(t) not implemented';

      immediate log(t) divides log(f)

      return function(s, si, sj, a, ai, aj){ + var len = sj - si, k = sj - z, n = Math.ceil(len / z); + var block = function(i){ + a[i] = parseInt(s.slice(Math.max(0, k), k + z), f); + k -= z; + }; - iter(aj - n, aj, block); + iter(aj - n, aj, block); - }; + }; - } - else throw 'f > t not implemented'; + } + else throw 'f > t not implemented'; -}; +}; -exports.parse_t = parse_t;
      \ No newline at end of file +exports.parse_t = parse_t;
      \ No newline at end of file diff --git a/pow/ebs.html b/pow/ebs.html new file mode 100644 index 0000000..734e299 --- /dev/null +++ b/pow/ebs.html @@ -0,0 +1,36 @@ +pow/ebs

      Computes pow(a, b) using exponentiation by squaring.

      +

      could add an additional base case for b = 1

      var __ebs__ = function (alloc, iszero, setone, iseven, div2, minus1) { + + var ebs = function (a, ai, aj, b, bi, bj, c, ci, cj) { + + var t, u, m, n; + + if ( iszero(b, bi, bj) ) { + setone(c, ci, cj); + } + else if ( iseven(b, bi, bj) ) { + m = bj - bi; + t = alloc(m); + t = div2(b, bi, bj, t, 0, m); + + n = cj - ci; + u = alloc(n); + + ebs(a, ai, aj, t, 0, m, u, 0, n); + + mul(u, 0, n, u, 0, n, c, ci, cj); + } + else{ + m = bj - bi; + t = alloc(m); + t = minus1(b, bi, bj, t, 0, m); + + n = cj - ci; + u = alloc(n); + + ebs(a, ai, aj, t, 0, m, u, 0, n); + + mul(a, ai, aj, u, 0, n, c, ci, cj); + } + }; +};
      \ No newline at end of file diff --git a/pow/pow.html b/pow/pow.html index 9479909..13654da 100644 --- a/pow/pow.html +++ b/pow/pow.html @@ -1 +1,17 @@ -pow/pow

      COMPUTES a^b

      \ No newline at end of file +pow/pow

      Computes pow(a, b) using naive exponentiation.

      var __pow__ = function (alloc, isnotzero, setone, iseven, div2, minus1) { + + var pow = function (a, ai, aj, b, bi, bj, c, ci, cj) { + + var t, m; + + setone(c, ci, cj); + + while (isnotzero(b, bi, bj)) { + + mul(c, ci, cj, a, ai, aj, c, ci, cj); + + minus1(b, bi, bj, b, bi, bj); + } + + }; +};
      \ No newline at end of file diff --git a/sha/sha.html b/sha/sha.html index 7a8a03a..de817c0 100644 --- a/sha/sha.html +++ b/sha/sha.html @@ -1 +1 @@ -sha/sha

      ARITHMETIC SHIFT

      \ No newline at end of file +sha/sha

      ARITHMETIC SHIFT

      \ No newline at end of file diff --git a/shl/shl.html b/shl/shl.html index 1c16df5..a217098 100644 --- a/shl/shl.html +++ b/shl/shl.html @@ -1 +1 @@ -shl/shl

      LOGICAL SHIFT

      \ No newline at end of file +shl/shl

      LOGICAL SHIFT

      \ No newline at end of file diff --git a/stringify/stringify.html b/stringify/stringify.html index e9138f5..bcea1e4 100644 --- a/stringify/stringify.html +++ b/stringify/stringify.html @@ -1,40 +1,41 @@ -stringify/stringify

      Function template for number stringification. +stringify/stringify

      Function template for number stringification. Endianess provided by the iterator function

      -

      Parameters:

      -
        -
      • f must be an int.
        (from radix)

      • -
      • t must be an int.
        (to radix)

      • -
      • iter must be a function.
        (iterator function)

      • -
      var stringify_t = function(f, t, iter, zfill_t){ +
    91. f must be an int.
      (from radix)

      +
    92. +
    93. t must be an int.
      (to radix)

      +
    94. +
    95. iter must be a function.
      (iterator function)

      +
    96. +
      var stringify_t = function(f, t, iter, zfill_t){ - if(t <= f){ + if(t <= f){ - if(t > 36) throw 't > 36 not implemented'; + if(t > 36) throw 't > 36 not implemented'; - var z = 0; - while(f >= t){ - if(f % t) break; - f /= t; - ++z; - } + var z = 0; + while(f >= t){ + if(f % t) break; + f /= t; + ++z; + } - if(f !== 1) throw 'log(t) does not divide log(f) not implemented'; + if(f !== 1) throw 'log(t) does not divide log(f) not implemented'; - var zfill = zfill_t(z); + var zfill = zfill_t(z); - return function(a, i0, i1){ - var s = []; - iter(i0, i1, function(i){ - s.push(zfill(Number(+a[i]).toString(t))); - }); - return s.join(''); - }; + return function(a, i0, i1){ + var s = []; + iter(i0, i1, function(i){ + s.push(zfill(Number(+a[i]).toString(t))); + }); + return s.join(''); + }; - } - else throw 't > f not implemented'; + } + else throw 't > f not implemented'; -}; +}; -exports.stringify_t = stringify_t;
      \ No newline at end of file +exports.stringify_t = stringify_t;
      \ No newline at end of file diff --git a/sub/sub.html b/sub/sub.html index 44b428c..621cff9 100644 --- a/sub/sub.html +++ b/sub/sub.html @@ -1,92 +1,104 @@ -sub/sub

      Parameters:

      - +sub/sub

      Parameters:

      • r must be an int.
        (base (radix))
      • -
      var bsub_t = function(r){

      Subtracts two big endian arrays, k >= i >= j +

      var bsub_t = function(r){

      Subtracts two big endian arrays, k >= i >= j wraps

      -

      Parameters:

      -
        -
      • a must be an array.
        (first operand)

      • -
      • i0 must be an int.
        (a left)

      • -
      • i1 must be an int.
        (a right)

      • -
      • b must be an array.
        (second operand)

      • -
      • j0 must be an int.
        (b left)

      • -
      • j1 must be an int.
        (b right)

      • -
      • c must be an array.
        (result, must be 0 initialized)

      • -
      • k0 must be an int.
        (c left)

      • -
      • k1 must be an int.
        (c right)

      • -
      return function(a, i0, i1, b, j0, j1, c, k0, k1){ - var T, C = 0; - - while(--j1 >= j0){ - --i1; --k1; - T = C; - C = a[i1] < b[j1] + T; - c[k1] = a[i1] - b[j1] + (C*r - T); - } - - while(--i1 >= i0){ - --k1; - T = C; - C = a[i1] < T; - c[k1] = a[i1] + (C*r - T); - } - - if(C){ - while(--k1 >= k0){ - c[k1] = r - 1; - } - } - - }; -};

      Parameters:

      - +
    97. a must be an array.
      (first operand)

      +
    98. +
    99. ai must be an int.
      (a left)

      +
    100. +
    101. aj must be an int.
      (a right)

      +
    102. +
    103. b must be an array.
      (second operand)

      +
    104. +
    105. bi must be an int.
      (b left)

      +
    106. +
    107. bj must be an int.
      (b right)

      +
    108. +
    109. c must be an array.
      (result, must be 0 initialized)

      +
    110. +
    111. ci must be an int.
      (c left)

      +
    112. +
    113. cj must be an int.
      (c right)

      +
    114. +
      return function(a, ai, aj, b, bi, bj, c, ci, cj){ + var T, C = 0; + + while(--bj >= bi){ + --aj; --cj; + T = C; + C = a[aj] < b[bj] + T; + c[cj] = a[aj] - b[bj] + (C*r - T); + } + + while(--aj >= ai){ + --cj; + T = C; + C = a[aj] < T; + c[cj] = a[aj] + (C*r - T); + } + + if(C){ + while(--cj >= ci){ + c[cj] = r - 1; + } + } + + }; +};

      Parameters:

      • r must be an int.
        (base (radix))
      • -
      var lsub_t = function(r){

      Subtracts two little endian arrays, k >= i >= j +

      var lsub_t = function(r){

      Subtracts two little endian arrays, k >= i >= j wraps

      -

      Parameters:

      -
        -
      • a must be an array.
        (first operand)

      • -
      • i0 must be an int.
        (a left)

      • -
      • i1 must be an int.
        (a right)

      • -
      • b must be an array.
        (second operand)

      • -
      • j0 must be an int.
        (b left)

      • -
      • j1 must be an int.
        (b right)

      • -
      • c must be an array.
        (result, must be 0 initialized)

      • -
      • k0 must be an int.
        (c left)

      • -
      • k1 must be an int.
        (c right)

      • -
      return function(a, i0, i1, b, j0, j1, c, k0, k1){ - var T, C = 0; - - while(j0 < j1){ - T = C; - C = a[i0] < b[j0] + T; - c[k0] = a[i0] - b[j0] + (C*r - T); - ++i0; ++j0; ++k0; - } - - while(i0 < i1){ - T = C; - C = a[i0] < T; - c[k0] = a[i0] + (C*r - T); - ++i0; ++k0; - } - - if(C){ - while(k0 < k1){ - c[k0] = r - 1; - ++k0; - } - } - - }; -}; - - -exports.bsub_t = bsub_t; -exports.lsub_t = lsub_t;
      \ No newline at end of file +
    115. a must be an array.
      (first operand)

      +
    116. +
    117. ai must be an int.
      (a left)

      +
    118. +
    119. aj must be an int.
      (a right)

      +
    120. +
    121. b must be an array.
      (second operand)

      +
    122. +
    123. bi must be an int.
      (b left)

      +
    124. +
    125. bj must be an int.
      (b right)

      +
    126. +
    127. c must be an array.
      (result, must be 0 initialized)

      +
    128. +
    129. ci must be an int.
      (c left)

      +
    130. +
    131. cj must be an int.
      (c right)

      +
    132. +
      return function(a, ai, aj, b, bi, bj, c, ci, cj){ + var T, C = 0; + + while(bi < bj){ + T = C; + C = a[ai] < b[bi] + T; + c[ci] = a[ai] - b[bi] + (C*r - T); + ++ai; ++bi; ++ci; + } + + while(ai < aj){ + T = C; + C = a[ai] < T; + c[ci] = a[ai] + (C*r - T); + ++ai; ++ci; + } + + if(C){ + while(ci < cj){ + c[ci] = r - 1; + ++ci; + } + } + + }; +}; + + +exports.bsub_t = bsub_t; +exports.lsub_t = lsub_t;
      \ No newline at end of file diff --git a/wrap/wrap.html b/wrap/wrap.html deleted file mode 100644 index a3e384f..0000000 --- a/wrap/wrap.html +++ /dev/null @@ -1,46 +0,0 @@ -wrap/wrap

      Wrapper for binary operator. -Ensures

      - -
      i >= j
      -i0, j0, k0 >= 0
      -
      var wrapbin = function(fn){ - - return function(a, i0, i1, b, j0, j1, c, k0, k1){ - - var i, j, k; - - k0 = Math.max(0, k0); - k = k1 - k0; - - i0 = Math.max(0, i0, i1 - k); - j0 = Math.max(0, j0, j1 - k); - i = i1 - i0; - j = j1 - j0; - - if(i < j) - return fn(b, j0, j1, a, i0, i1, c, k0, k1); - - else - return fn(a, i0, i1, b, j0, j1, c, k0, k1); - }; -}; - -var wrapmov = function(fn){ - return function(a, i, j, b, k){ - - if(i < 0){ - k -= i; - i = 0; - } - if(k < 0){ - i -= k; - k = 0; - } - return fn(a, i, j, b, k); - - }; -}; - - -exports.wrapbin = wrapbin; -exports.wrapmov = wrapmov;
      \ No newline at end of file diff --git a/wrap/wrapbin.html b/wrap/wrapbin.html new file mode 100644 index 0000000..1f22037 --- /dev/null +++ b/wrap/wrapbin.html @@ -0,0 +1,26 @@ +wrap/wrapbin

      Wrapper for binary operator. +Ensures

      +
      i >= j
      +i0, j0, k0 >= 0
      var wrapbin = function(fn){ + + return function(a, i0, i1, b, j0, j1, c, k0, k1){ + + var i, j, k; + + k0 = Math.max(0, k0); + k = k1 - k0; + + i0 = Math.max(0, i0, i1 - k); + j0 = Math.max(0, j0, j1 - k); + i = i1 - i0; + j = j1 - j0; + + if(i < j) + return fn(b, j0, j1, a, i0, i1, c, k0, k1); + + else + return fn(a, i0, i1, b, j0, j1, c, k0, k1); + }; +}; + +exports.wrapbin = wrapbin;
      \ No newline at end of file diff --git a/wrap/wrapcmp.html b/wrap/wrapcmp.html new file mode 100644 index 0000000..7f02139 --- /dev/null +++ b/wrap/wrapcmp.html @@ -0,0 +1,17 @@ +wrap/wrapcmp
      var wrapcmp = function(cmp) { + + + return function(a, ai, aj, b, bi, bj){ + + if (aj - ai + bi - bj < 0) { + return - cmp(b, bi, bj, a, ai, aj); + } + else { + return cmp(a, ai, aj, b, bi, bj); + } + + }; + +}; + +exports.wrapcmp = wrapcmp;
      \ No newline at end of file diff --git a/wrap/wrapmov.html b/wrap/wrapmov.html new file mode 100644 index 0000000..af40b24 --- /dev/null +++ b/wrap/wrapmov.html @@ -0,0 +1,17 @@ +wrap/wrapmov
      var wrapmov = function(fn){ + return function(a, i, j, b, k){ + + if(i < 0){ + k -= i; + i = 0; + } + if(k < 0){ + i -= k; + k = 0; + } + return fn(a, i, j, b, k); + + }; +}; + +exports.wrapmov = wrapmov;
      \ No newline at end of file diff --git a/xor/xor.html b/xor/xor.html index 7168d40..d3e0ae2 100644 --- a/xor/xor.html +++ b/xor/xor.html @@ -1 +1 @@ -xor/xor

      BINARY xor APPLIED ON a AND b

      \ No newline at end of file +xor/xor

      BINARY xor APPLIED ON a AND b

      \ No newline at end of file From 2cb74577df2adbc32c1de4cee7cbec7cc75357ee Mon Sep 17 00:00:00 2001 From: aureooms Date: Wed, 22 Apr 2015 20:24:59 +0200 Subject: [PATCH 03/15] Generated documentation for 813ec930b9b3f29d7017ec3fcef168073c13e85d --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 171b2d9..0a91c9e 100644 --- a/index.html +++ b/index.html @@ -9,7 +9,8 @@ devDependencies Status Code Climate NPM downloads per month -GitHub issues

      +GitHub issues +Inline docs

      references:

      • The GNU Multiple Precision Arithmetic Library
      • From fe762561d53f3fc5c5400755cf892bdb701946ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Ooms?= Date: Sun, 6 Nov 2016 17:53:12 +0100 Subject: [PATCH 04/15] esdoc update --- abs/abs.html | 1 - add/add.html | 96 - and/and.html | 50 - assets/behavior.js | 1464 --- assets/style.css | 1 - ast/source/0-legacy/abs/abs.js.json | 95 + ast/source/0-legacy/abs/index.js.json | 57 + .../0-legacy/arithmetic/add/add.js.json | 4252 ++++++++ .../0-legacy/arithmetic/add/index.js.json | 57 + .../0-legacy/arithmetic/div/dcdiv.js.json | 59 + .../0-legacy/arithmetic/div/div.js.json | 2725 +++++ .../arithmetic/div/fourierdiv.js.json | 59 + .../0-legacy/arithmetic/div/index.js.json | 165 + .../0-legacy/arithmetic/div/knuthd.js.json | 59 + ast/source/0-legacy/arithmetic/index.js.json | 165 + .../0-legacy/arithmetic/mul/index.js.json | 165 + .../0-legacy/arithmetic/mul/karatsuba.js.json | 9466 +++++++++++++++++ .../0-legacy/arithmetic/mul/mul.js.json | 3203 ++++++ .../0-legacy/arithmetic/mul/mul53.js.json | 3205 ++++++ .../0-legacy/arithmetic/mul/toomcook.js.json | 59 + .../0-legacy/arithmetic/sub/index.js.json | 57 + .../0-legacy/arithmetic/sub/sub.js.json | 4734 +++++++++ ast/source/0-legacy/binary/and/and.js.json | 3945 +++++++ ast/source/0-legacy/binary/and/index.js.json | 57 + ast/source/0-legacy/binary/index.js.json | 165 + ast/source/0-legacy/binary/not/index.js.json | 57 + ast/source/0-legacy/binary/not/not.js.json | 59 + ast/source/0-legacy/binary/or/index.js.json | 57 + ast/source/0-legacy/binary/or/or.js.json | 59 + ast/source/0-legacy/binary/xor/index.js.json | 57 + ast/source/0-legacy/binary/xor/xor.js.json | 59 + ast/source/0-legacy/compare/cmp.js.json | 2806 +++++ ast/source/0-legacy/compare/eq.js.json | 541 + ast/source/0-legacy/compare/ge.js.json | 541 + ast/source/0-legacy/compare/gt.js.json | 541 + ast/source/0-legacy/compare/index.js.json | 273 + ast/source/0-legacy/compare/le.js.json | 541 + ast/source/0-legacy/compare/lt.js.json | 541 + ast/source/0-legacy/compare/ne.js.json | 541 + ast/source/0-legacy/index.js.json | 273 + ast/source/0-legacy/others/gcd/gcd.js.json | 59 + ast/source/0-legacy/others/gcd/index.js.json | 57 + ast/source/0-legacy/others/index.js.json | 381 + ast/source/0-legacy/others/lcm/index.js.json | 57 + ast/source/0-legacy/others/lcm/lcm.js.json | 59 + ast/source/0-legacy/others/log/index.js.json | 57 + ast/source/0-legacy/others/log/log.js.json | 59 + ast/source/0-legacy/others/mod/index.js.json | 93 + ast/source/0-legacy/others/mod/mod.js.json | 59 + .../0-legacy/others/mod/montgomery.js.json | 59 + ast/source/0-legacy/others/mpow/index.js.json | 57 + ast/source/0-legacy/others/mpow/mpow.js.json | 59 + ast/source/0-legacy/others/neg/index.js.json | 57 + ast/source/0-legacy/others/neg/neg.js.json | 59 + ast/source/0-legacy/others/pow/ebs.js.json | 3198 ++++++ ast/source/0-legacy/others/pow/index.js.json | 93 + ast/source/0-legacy/others/pow/pow.js.json | 1229 +++ ast/source/0-legacy/others/sha/index.js.json | 57 + ast/source/0-legacy/others/sha/sha.js.json | 59 + ast/source/0-legacy/others/shl/index.js.json | 57 + ast/source/0-legacy/others/shl/shl.js.json | 59 + ast/source/0-legacy/others/wrap/index.js.json | 129 + .../0-legacy/others/wrap/wrapbin.js.json | 1945 ++++ .../0-legacy/others/wrap/wrapcmp.js.json | 845 ++ .../0-legacy/others/wrap/wrapmov.js.json | 880 ++ ast/source/0-legacy/parse/index.js.json | 57 + ast/source/0-legacy/parse/parse.js.json | 2282 ++++ ast/source/0-legacy/stringify/index.js.json | 57 + .../0-legacy/stringify/stringify.js.json | 1816 ++++ ast/source/1-new/arithmetic/div/_div.js.json | 2923 +++++ ast/source/1-new/arithmetic/div/index.js.json | 57 + ast/source/1-new/arithmetic/index.js.json | 93 + ast/source/1-new/arithmetic/sub/_sub.js.json | 2210 ++++ ast/source/1-new/arithmetic/sub/index.js.json | 57 + ast/source/1-new/compare/_CMP.js.json | 1322 +++ ast/source/1-new/compare/_cmp.js.json | 785 ++ ast/source/1-new/compare/_eq.js.json | 500 + ast/source/1-new/compare/_ge.js.json | 500 + ast/source/1-new/compare/_gt.js.json | 500 + ast/source/1-new/compare/_jz.js.json | 502 + ast/source/1-new/compare/_le.js.json | 500 + ast/source/1-new/compare/_lt.js.json | 500 + ast/source/1-new/compare/_ne.js.json | 500 + ast/source/1-new/compare/index.js.json | 345 + ast/source/1-new/convert/_alloc.js.json | 190 + ast/source/1-new/convert/_build.js.json | 1002 ++ ast/source/1-new/convert/_chr.js.json | 481 + ast/source/1-new/convert/_convert.js.json | 1203 +++ .../1-new/convert/_convert_slow.js.json | 2657 +++++ .../1-new/convert/_convert_to_larger.js.json | 1153 ++ .../convert/_convert_to_larger_fast.js.json | 3482 ++++++ .../1-new/convert/_convert_to_smaller.js.json | 1153 ++ .../convert/_convert_to_smaller_fast.js.json | 3818 +++++++ ast/source/1-new/convert/_copy.js.json | 498 + ast/source/1-new/convert/_fill.js.json | 460 + ast/source/1-new/convert/_int.js.json | 1066 ++ ast/source/1-new/convert/_log.js.json | 587 + ast/source/1-new/convert/_reset.js.json | 372 + ast/source/1-new/convert/_to_string.js.json | 863 ++ .../1-new/convert/_trim_positive.js.json | 423 + ast/source/1-new/convert/_zeros.js.json | 516 + ast/source/1-new/convert/convert.js.json | 661 ++ .../1-new/convert/convert_keep_zeros.js.json | 1187 +++ ast/source/1-new/convert/index.js.json | 885 ++ ast/source/1-new/convert/parse.js.json | 589 + .../1-new/convert/parse_keep_zeros.js.json | 1097 ++ ast/source/1-new/convert/stringify.js.json | 697 ++ .../convert/stringify_keep_zeros.js.json | 697 ++ ast/source/1-new/convert/trim_natural.js.json | 950 ++ ast/source/1-new/index.js.json | 129 + ast/source/index.js.json | 93 + badge.svg | 17 + cmp/cmp.html | 65 - cmp/eq.html | 8 - cmp/ge.html | 8 - cmp/gt.html | 8 - cmp/le.html | 8 - cmp/lt.html | 8 - cmp/ne.html | 8 - convert/basechange.html | 72 - convert/convert.html | 42 - convert/join.html | 46 - convert/split.html | 48 - coverage.json | 348 + css/prettify-tomorrow.css | 132 + css/style.css | 944 ++ div/dcdiv.html | 1 - div/div.html | 54 - div/fourierdiv.html | 1 - div/knuthd.html | 1 - dump.json | 4964 +++++++++ file/src/0-legacy/abs/abs.js.html | 126 + file/src/0-legacy/abs/index.js.html | 121 + file/src/0-legacy/arithmetic/add/add.js.html | 214 + .../src/0-legacy/arithmetic/add/index.js.html | 121 + .../src/0-legacy/arithmetic/div/dcdiv.js.html | 122 + file/src/0-legacy/arithmetic/div/div.js.html | 193 + .../arithmetic/div/fourierdiv.js.html | 122 + .../src/0-legacy/arithmetic/div/index.js.html | 124 + .../0-legacy/arithmetic/div/knuthd.js.html | 122 + file/src/0-legacy/arithmetic/index.js.html | 124 + .../src/0-legacy/arithmetic/mul/index.js.html | 124 + .../0-legacy/arithmetic/mul/karatsuba.js.html | 273 + file/src/0-legacy/arithmetic/mul/mul.js.html | 162 + .../src/0-legacy/arithmetic/mul/mul53.js.html | 209 + .../0-legacy/arithmetic/mul/toomcook.js.html | 122 + .../src/0-legacy/arithmetic/sub/index.js.html | 121 + file/src/0-legacy/arithmetic/sub/sub.js.html | 216 + file/src/0-legacy/binary/and/and.js.html | 197 + file/src/0-legacy/binary/and/index.js.html | 121 + file/src/0-legacy/binary/index.js.html | 124 + file/src/0-legacy/binary/not/index.js.html | 121 + file/src/0-legacy/binary/not/not.js.html | 122 + file/src/0-legacy/binary/or/index.js.html | 121 + file/src/0-legacy/binary/or/or.js.html | 122 + file/src/0-legacy/binary/xor/index.js.html | 121 + file/src/0-legacy/binary/xor/xor.js.html | 122 + file/src/0-legacy/compare/cmp.js.html | 190 + file/src/0-legacy/compare/eq.js.html | 130 + file/src/0-legacy/compare/ge.js.html | 132 + file/src/0-legacy/compare/gt.js.html | 132 + file/src/0-legacy/compare/index.js.html | 127 + file/src/0-legacy/compare/le.js.html | 132 + file/src/0-legacy/compare/lt.js.html | 132 + file/src/0-legacy/compare/ne.js.html | 132 + file/src/0-legacy/index.js.html | 127 + file/src/0-legacy/others/gcd/gcd.js.html | 122 + file/src/0-legacy/others/gcd/index.js.html | 121 + file/src/0-legacy/others/index.js.html | 130 + file/src/0-legacy/others/lcm/index.js.html | 121 + file/src/0-legacy/others/lcm/lcm.js.html | 122 + file/src/0-legacy/others/log/index.js.html | 121 + file/src/0-legacy/others/log/log.js.html | 123 + file/src/0-legacy/others/mod/index.js.html | 122 + file/src/0-legacy/others/mod/mod.js.html | 123 + .../0-legacy/others/mod/montgomery.js.html | 123 + file/src/0-legacy/others/mpow/index.js.html | 121 + file/src/0-legacy/others/mpow/mpow.js.html | 122 + file/src/0-legacy/others/neg/index.js.html | 121 + file/src/0-legacy/others/neg/neg.js.html | 122 + file/src/0-legacy/others/pow/ebs.js.html | 162 + file/src/0-legacy/others/pow/index.js.html | 122 + file/src/0-legacy/others/pow/pow.js.html | 142 + file/src/0-legacy/others/sha/index.js.html | 121 + file/src/0-legacy/others/sha/sha.js.html | 122 + file/src/0-legacy/others/shl/index.js.html | 121 + file/src/0-legacy/others/shl/shl.js.html | 122 + file/src/0-legacy/others/wrap/index.js.html | 123 + file/src/0-legacy/others/wrap/wrapbin.js.html | 150 + file/src/0-legacy/others/wrap/wrapcmp.js.html | 138 + file/src/0-legacy/others/wrap/wrapmov.js.html | 137 + file/src/0-legacy/parse/index.js.html | 121 + file/src/0-legacy/parse/parse.js.html | 164 + file/src/0-legacy/stringify/index.js.html | 121 + file/src/0-legacy/stringify/stringify.js.html | 160 + file/src/1-new/arithmetic/div/_div.js.html | 189 + file/src/1-new/arithmetic/div/index.js.html | 121 + file/src/1-new/arithmetic/index.js.html | 122 + file/src/1-new/arithmetic/sub/_sub.js.html | 161 + file/src/1-new/arithmetic/sub/index.js.html | 121 + file/src/1-new/compare/_CMP.js.html | 149 + file/src/1-new/compare/_cmp.js.html | 130 + file/src/1-new/compare/_eq.js.html | 123 + file/src/1-new/compare/_ge.js.html | 123 + file/src/1-new/compare/_gt.js.html | 123 + file/src/1-new/compare/_jz.js.html | 136 + file/src/1-new/compare/_le.js.html | 123 + file/src/1-new/compare/_lt.js.html | 123 + file/src/1-new/compare/_ne.js.html | 123 + file/src/1-new/compare/index.js.html | 129 + file/src/1-new/convert/_alloc.js.html | 126 + file/src/1-new/convert/_build.js.html | 139 + file/src/1-new/convert/_chr.js.html | 127 + file/src/1-new/convert/_convert.js.html | 141 + file/src/1-new/convert/_convert_slow.js.html | 168 + .../1-new/convert/_convert_to_larger.js.html | 143 + .../convert/_convert_to_larger_fast.js.html | 185 + .../1-new/convert/_convert_to_smaller.js.html | 143 + .../convert/_convert_to_smaller_fast.js.html | 186 + file/src/1-new/convert/_copy.js.html | 126 + file/src/1-new/convert/_fill.js.html | 126 + file/src/1-new/convert/_int.js.html | 130 + file/src/1-new/convert/_log.js.html | 134 + file/src/1-new/convert/_reset.js.html | 127 + file/src/1-new/convert/_to_string.js.html | 133 + file/src/1-new/convert/_trim_positive.js.html | 128 + file/src/1-new/convert/_zeros.js.html | 131 + file/src/1-new/convert/convert.js.html | 129 + .../1-new/convert/convert_keep_zeros.js.html | 133 + file/src/1-new/convert/index.js.html | 144 + file/src/1-new/convert/parse.js.html | 129 + .../1-new/convert/parse_keep_zeros.js.html | 135 + file/src/1-new/convert/stringify.js.html | 131 + .../convert/stringify_keep_zeros.js.html | 131 + file/src/1-new/convert/trim_natural.js.html | 134 + file/src/1-new/index.js.html | 123 + file/src/index.js.html | 122 + function/index.html | 6085 +++++++++++ gcd/gcd.html | 1 - identifiers.html | 1720 +++ image/badge.svg | 17 + image/github.png | Bin 0 -> 4268 bytes image/search.png | Bin 0 -> 12704 bytes index.html | 132 +- lcm/lcm.html | 1 - log/log.html | 1 - manual/example.html | 95 + manual/index.html | 124 + manual/installation.html | 104 + manual/overview.html | 95 + manual/usage.html | 106 + mod/mod.html | 1 - mod/montgomery.html | 1 - mpow/mpow.html | 1 - mul/karatsuba.html | 97 - mul/mul.html | 38 - mul/mul53.html | 83 - mul/toomcook.html | 1 - neg/neg.html | 1 - not/not.html | 1 - or/or.html | 1 - package.json | 71 + parse/parse.html | 43 - pow/ebs.html | 36 - pow/pow.html | 17 - script/inherited-summary.js | 28 + script/inner-link.js | 31 + script/manual.js | 13 + script/patch-for-local.js | 8 + script/prettify/Apache-License-2.0.txt | 202 + script/prettify/prettify.js | 28 + script/pretty-print.js | 25 + script/search.js | 117 + script/search_index.js | 1340 +++ script/test-summary.js | 54 + sha/sha.html | 1 - shl/shl.html | 1 - source.html | 988 ++ stringify/stringify.html | 41 - sub/sub.html | 104 - user/css/0-style.css | 52 + user/script/0-header.js | 34 + variable/index.html | 518 + wrap/wrapbin.html | 26 - wrap/wrapcmp.html | 17 - wrap/wrapmov.html | 17 - xor/xor.html | 1 - 287 files changed, 124680 insertions(+), 2528 deletions(-) delete mode 100644 abs/abs.html delete mode 100644 add/add.html delete mode 100644 and/and.html delete mode 100644 assets/behavior.js delete mode 100644 assets/style.css create mode 100644 ast/source/0-legacy/abs/abs.js.json create mode 100644 ast/source/0-legacy/abs/index.js.json create mode 100644 ast/source/0-legacy/arithmetic/add/add.js.json create mode 100644 ast/source/0-legacy/arithmetic/add/index.js.json create mode 100644 ast/source/0-legacy/arithmetic/div/dcdiv.js.json create mode 100644 ast/source/0-legacy/arithmetic/div/div.js.json create mode 100644 ast/source/0-legacy/arithmetic/div/fourierdiv.js.json create mode 100644 ast/source/0-legacy/arithmetic/div/index.js.json create mode 100644 ast/source/0-legacy/arithmetic/div/knuthd.js.json create mode 100644 ast/source/0-legacy/arithmetic/index.js.json create mode 100644 ast/source/0-legacy/arithmetic/mul/index.js.json create mode 100644 ast/source/0-legacy/arithmetic/mul/karatsuba.js.json create mode 100644 ast/source/0-legacy/arithmetic/mul/mul.js.json create mode 100644 ast/source/0-legacy/arithmetic/mul/mul53.js.json create mode 100644 ast/source/0-legacy/arithmetic/mul/toomcook.js.json create mode 100644 ast/source/0-legacy/arithmetic/sub/index.js.json create mode 100644 ast/source/0-legacy/arithmetic/sub/sub.js.json create mode 100644 ast/source/0-legacy/binary/and/and.js.json create mode 100644 ast/source/0-legacy/binary/and/index.js.json create mode 100644 ast/source/0-legacy/binary/index.js.json create mode 100644 ast/source/0-legacy/binary/not/index.js.json create mode 100644 ast/source/0-legacy/binary/not/not.js.json create mode 100644 ast/source/0-legacy/binary/or/index.js.json create mode 100644 ast/source/0-legacy/binary/or/or.js.json create mode 100644 ast/source/0-legacy/binary/xor/index.js.json create mode 100644 ast/source/0-legacy/binary/xor/xor.js.json create mode 100644 ast/source/0-legacy/compare/cmp.js.json create mode 100644 ast/source/0-legacy/compare/eq.js.json create mode 100644 ast/source/0-legacy/compare/ge.js.json create mode 100644 ast/source/0-legacy/compare/gt.js.json create mode 100644 ast/source/0-legacy/compare/index.js.json create mode 100644 ast/source/0-legacy/compare/le.js.json create mode 100644 ast/source/0-legacy/compare/lt.js.json create mode 100644 ast/source/0-legacy/compare/ne.js.json create mode 100644 ast/source/0-legacy/index.js.json create mode 100644 ast/source/0-legacy/others/gcd/gcd.js.json create mode 100644 ast/source/0-legacy/others/gcd/index.js.json create mode 100644 ast/source/0-legacy/others/index.js.json create mode 100644 ast/source/0-legacy/others/lcm/index.js.json create mode 100644 ast/source/0-legacy/others/lcm/lcm.js.json create mode 100644 ast/source/0-legacy/others/log/index.js.json create mode 100644 ast/source/0-legacy/others/log/log.js.json create mode 100644 ast/source/0-legacy/others/mod/index.js.json create mode 100644 ast/source/0-legacy/others/mod/mod.js.json create mode 100644 ast/source/0-legacy/others/mod/montgomery.js.json create mode 100644 ast/source/0-legacy/others/mpow/index.js.json create mode 100644 ast/source/0-legacy/others/mpow/mpow.js.json create mode 100644 ast/source/0-legacy/others/neg/index.js.json create mode 100644 ast/source/0-legacy/others/neg/neg.js.json create mode 100644 ast/source/0-legacy/others/pow/ebs.js.json create mode 100644 ast/source/0-legacy/others/pow/index.js.json create mode 100644 ast/source/0-legacy/others/pow/pow.js.json create mode 100644 ast/source/0-legacy/others/sha/index.js.json create mode 100644 ast/source/0-legacy/others/sha/sha.js.json create mode 100644 ast/source/0-legacy/others/shl/index.js.json create mode 100644 ast/source/0-legacy/others/shl/shl.js.json create mode 100644 ast/source/0-legacy/others/wrap/index.js.json create mode 100644 ast/source/0-legacy/others/wrap/wrapbin.js.json create mode 100644 ast/source/0-legacy/others/wrap/wrapcmp.js.json create mode 100644 ast/source/0-legacy/others/wrap/wrapmov.js.json create mode 100644 ast/source/0-legacy/parse/index.js.json create mode 100644 ast/source/0-legacy/parse/parse.js.json create mode 100644 ast/source/0-legacy/stringify/index.js.json create mode 100644 ast/source/0-legacy/stringify/stringify.js.json create mode 100644 ast/source/1-new/arithmetic/div/_div.js.json create mode 100644 ast/source/1-new/arithmetic/div/index.js.json create mode 100644 ast/source/1-new/arithmetic/index.js.json create mode 100644 ast/source/1-new/arithmetic/sub/_sub.js.json create mode 100644 ast/source/1-new/arithmetic/sub/index.js.json create mode 100644 ast/source/1-new/compare/_CMP.js.json create mode 100644 ast/source/1-new/compare/_cmp.js.json create mode 100644 ast/source/1-new/compare/_eq.js.json create mode 100644 ast/source/1-new/compare/_ge.js.json create mode 100644 ast/source/1-new/compare/_gt.js.json create mode 100644 ast/source/1-new/compare/_jz.js.json create mode 100644 ast/source/1-new/compare/_le.js.json create mode 100644 ast/source/1-new/compare/_lt.js.json create mode 100644 ast/source/1-new/compare/_ne.js.json create mode 100644 ast/source/1-new/compare/index.js.json create mode 100644 ast/source/1-new/convert/_alloc.js.json create mode 100644 ast/source/1-new/convert/_build.js.json create mode 100644 ast/source/1-new/convert/_chr.js.json create mode 100644 ast/source/1-new/convert/_convert.js.json create mode 100644 ast/source/1-new/convert/_convert_slow.js.json create mode 100644 ast/source/1-new/convert/_convert_to_larger.js.json create mode 100644 ast/source/1-new/convert/_convert_to_larger_fast.js.json create mode 100644 ast/source/1-new/convert/_convert_to_smaller.js.json create mode 100644 ast/source/1-new/convert/_convert_to_smaller_fast.js.json create mode 100644 ast/source/1-new/convert/_copy.js.json create mode 100644 ast/source/1-new/convert/_fill.js.json create mode 100644 ast/source/1-new/convert/_int.js.json create mode 100644 ast/source/1-new/convert/_log.js.json create mode 100644 ast/source/1-new/convert/_reset.js.json create mode 100644 ast/source/1-new/convert/_to_string.js.json create mode 100644 ast/source/1-new/convert/_trim_positive.js.json create mode 100644 ast/source/1-new/convert/_zeros.js.json create mode 100644 ast/source/1-new/convert/convert.js.json create mode 100644 ast/source/1-new/convert/convert_keep_zeros.js.json create mode 100644 ast/source/1-new/convert/index.js.json create mode 100644 ast/source/1-new/convert/parse.js.json create mode 100644 ast/source/1-new/convert/parse_keep_zeros.js.json create mode 100644 ast/source/1-new/convert/stringify.js.json create mode 100644 ast/source/1-new/convert/stringify_keep_zeros.js.json create mode 100644 ast/source/1-new/convert/trim_natural.js.json create mode 100644 ast/source/1-new/index.js.json create mode 100644 ast/source/index.js.json create mode 100644 badge.svg delete mode 100644 cmp/cmp.html delete mode 100644 cmp/eq.html delete mode 100644 cmp/ge.html delete mode 100644 cmp/gt.html delete mode 100644 cmp/le.html delete mode 100644 cmp/lt.html delete mode 100644 cmp/ne.html delete mode 100644 convert/basechange.html delete mode 100644 convert/convert.html delete mode 100644 convert/join.html delete mode 100644 convert/split.html create mode 100644 coverage.json create mode 100644 css/prettify-tomorrow.css create mode 100644 css/style.css delete mode 100644 div/dcdiv.html delete mode 100644 div/div.html delete mode 100644 div/fourierdiv.html delete mode 100644 div/knuthd.html create mode 100644 dump.json create mode 100644 file/src/0-legacy/abs/abs.js.html create mode 100644 file/src/0-legacy/abs/index.js.html create mode 100644 file/src/0-legacy/arithmetic/add/add.js.html create mode 100644 file/src/0-legacy/arithmetic/add/index.js.html create mode 100644 file/src/0-legacy/arithmetic/div/dcdiv.js.html create mode 100644 file/src/0-legacy/arithmetic/div/div.js.html create mode 100644 file/src/0-legacy/arithmetic/div/fourierdiv.js.html create mode 100644 file/src/0-legacy/arithmetic/div/index.js.html create mode 100644 file/src/0-legacy/arithmetic/div/knuthd.js.html create mode 100644 file/src/0-legacy/arithmetic/index.js.html create mode 100644 file/src/0-legacy/arithmetic/mul/index.js.html create mode 100644 file/src/0-legacy/arithmetic/mul/karatsuba.js.html create mode 100644 file/src/0-legacy/arithmetic/mul/mul.js.html create mode 100644 file/src/0-legacy/arithmetic/mul/mul53.js.html create mode 100644 file/src/0-legacy/arithmetic/mul/toomcook.js.html create mode 100644 file/src/0-legacy/arithmetic/sub/index.js.html create mode 100644 file/src/0-legacy/arithmetic/sub/sub.js.html create mode 100644 file/src/0-legacy/binary/and/and.js.html create mode 100644 file/src/0-legacy/binary/and/index.js.html create mode 100644 file/src/0-legacy/binary/index.js.html create mode 100644 file/src/0-legacy/binary/not/index.js.html create mode 100644 file/src/0-legacy/binary/not/not.js.html create mode 100644 file/src/0-legacy/binary/or/index.js.html create mode 100644 file/src/0-legacy/binary/or/or.js.html create mode 100644 file/src/0-legacy/binary/xor/index.js.html create mode 100644 file/src/0-legacy/binary/xor/xor.js.html create mode 100644 file/src/0-legacy/compare/cmp.js.html create mode 100644 file/src/0-legacy/compare/eq.js.html create mode 100644 file/src/0-legacy/compare/ge.js.html create mode 100644 file/src/0-legacy/compare/gt.js.html create mode 100644 file/src/0-legacy/compare/index.js.html create mode 100644 file/src/0-legacy/compare/le.js.html create mode 100644 file/src/0-legacy/compare/lt.js.html create mode 100644 file/src/0-legacy/compare/ne.js.html create mode 100644 file/src/0-legacy/index.js.html create mode 100644 file/src/0-legacy/others/gcd/gcd.js.html create mode 100644 file/src/0-legacy/others/gcd/index.js.html create mode 100644 file/src/0-legacy/others/index.js.html create mode 100644 file/src/0-legacy/others/lcm/index.js.html create mode 100644 file/src/0-legacy/others/lcm/lcm.js.html create mode 100644 file/src/0-legacy/others/log/index.js.html create mode 100644 file/src/0-legacy/others/log/log.js.html create mode 100644 file/src/0-legacy/others/mod/index.js.html create mode 100644 file/src/0-legacy/others/mod/mod.js.html create mode 100644 file/src/0-legacy/others/mod/montgomery.js.html create mode 100644 file/src/0-legacy/others/mpow/index.js.html create mode 100644 file/src/0-legacy/others/mpow/mpow.js.html create mode 100644 file/src/0-legacy/others/neg/index.js.html create mode 100644 file/src/0-legacy/others/neg/neg.js.html create mode 100644 file/src/0-legacy/others/pow/ebs.js.html create mode 100644 file/src/0-legacy/others/pow/index.js.html create mode 100644 file/src/0-legacy/others/pow/pow.js.html create mode 100644 file/src/0-legacy/others/sha/index.js.html create mode 100644 file/src/0-legacy/others/sha/sha.js.html create mode 100644 file/src/0-legacy/others/shl/index.js.html create mode 100644 file/src/0-legacy/others/shl/shl.js.html create mode 100644 file/src/0-legacy/others/wrap/index.js.html create mode 100644 file/src/0-legacy/others/wrap/wrapbin.js.html create mode 100644 file/src/0-legacy/others/wrap/wrapcmp.js.html create mode 100644 file/src/0-legacy/others/wrap/wrapmov.js.html create mode 100644 file/src/0-legacy/parse/index.js.html create mode 100644 file/src/0-legacy/parse/parse.js.html create mode 100644 file/src/0-legacy/stringify/index.js.html create mode 100644 file/src/0-legacy/stringify/stringify.js.html create mode 100644 file/src/1-new/arithmetic/div/_div.js.html create mode 100644 file/src/1-new/arithmetic/div/index.js.html create mode 100644 file/src/1-new/arithmetic/index.js.html create mode 100644 file/src/1-new/arithmetic/sub/_sub.js.html create mode 100644 file/src/1-new/arithmetic/sub/index.js.html create mode 100644 file/src/1-new/compare/_CMP.js.html create mode 100644 file/src/1-new/compare/_cmp.js.html create mode 100644 file/src/1-new/compare/_eq.js.html create mode 100644 file/src/1-new/compare/_ge.js.html create mode 100644 file/src/1-new/compare/_gt.js.html create mode 100644 file/src/1-new/compare/_jz.js.html create mode 100644 file/src/1-new/compare/_le.js.html create mode 100644 file/src/1-new/compare/_lt.js.html create mode 100644 file/src/1-new/compare/_ne.js.html create mode 100644 file/src/1-new/compare/index.js.html create mode 100644 file/src/1-new/convert/_alloc.js.html create mode 100644 file/src/1-new/convert/_build.js.html create mode 100644 file/src/1-new/convert/_chr.js.html create mode 100644 file/src/1-new/convert/_convert.js.html create mode 100644 file/src/1-new/convert/_convert_slow.js.html create mode 100644 file/src/1-new/convert/_convert_to_larger.js.html create mode 100644 file/src/1-new/convert/_convert_to_larger_fast.js.html create mode 100644 file/src/1-new/convert/_convert_to_smaller.js.html create mode 100644 file/src/1-new/convert/_convert_to_smaller_fast.js.html create mode 100644 file/src/1-new/convert/_copy.js.html create mode 100644 file/src/1-new/convert/_fill.js.html create mode 100644 file/src/1-new/convert/_int.js.html create mode 100644 file/src/1-new/convert/_log.js.html create mode 100644 file/src/1-new/convert/_reset.js.html create mode 100644 file/src/1-new/convert/_to_string.js.html create mode 100644 file/src/1-new/convert/_trim_positive.js.html create mode 100644 file/src/1-new/convert/_zeros.js.html create mode 100644 file/src/1-new/convert/convert.js.html create mode 100644 file/src/1-new/convert/convert_keep_zeros.js.html create mode 100644 file/src/1-new/convert/index.js.html create mode 100644 file/src/1-new/convert/parse.js.html create mode 100644 file/src/1-new/convert/parse_keep_zeros.js.html create mode 100644 file/src/1-new/convert/stringify.js.html create mode 100644 file/src/1-new/convert/stringify_keep_zeros.js.html create mode 100644 file/src/1-new/convert/trim_natural.js.html create mode 100644 file/src/1-new/index.js.html create mode 100644 file/src/index.js.html create mode 100644 function/index.html delete mode 100644 gcd/gcd.html create mode 100644 identifiers.html create mode 100644 image/badge.svg create mode 100644 image/github.png create mode 100644 image/search.png delete mode 100644 lcm/lcm.html delete mode 100644 log/log.html create mode 100644 manual/example.html create mode 100644 manual/index.html create mode 100644 manual/installation.html create mode 100644 manual/overview.html create mode 100644 manual/usage.html delete mode 100644 mod/mod.html delete mode 100644 mod/montgomery.html delete mode 100644 mpow/mpow.html delete mode 100644 mul/karatsuba.html delete mode 100644 mul/mul.html delete mode 100644 mul/mul53.html delete mode 100644 mul/toomcook.html delete mode 100644 neg/neg.html delete mode 100644 not/not.html delete mode 100644 or/or.html create mode 100644 package.json delete mode 100644 parse/parse.html delete mode 100644 pow/ebs.html delete mode 100644 pow/pow.html create mode 100644 script/inherited-summary.js create mode 100644 script/inner-link.js create mode 100644 script/manual.js create mode 100644 script/patch-for-local.js create mode 100644 script/prettify/Apache-License-2.0.txt create mode 100644 script/prettify/prettify.js create mode 100644 script/pretty-print.js create mode 100644 script/search.js create mode 100644 script/search_index.js create mode 100644 script/test-summary.js delete mode 100644 sha/sha.html delete mode 100644 shl/shl.html create mode 100644 source.html delete mode 100644 stringify/stringify.html delete mode 100644 sub/sub.html create mode 100644 user/css/0-style.css create mode 100644 user/script/0-header.js create mode 100644 variable/index.html delete mode 100644 wrap/wrapbin.html delete mode 100644 wrap/wrapcmp.html delete mode 100644 wrap/wrapmov.html delete mode 100644 xor/xor.html diff --git a/abs/abs.html b/abs/abs.html deleted file mode 100644 index 48ddd64..0000000 --- a/abs/abs.html +++ /dev/null @@ -1 +0,0 @@ -abs/abs

        COMPUTE THE ABSOLUTE VALUE OF NUMBER n

        exports.abs = function abs() {};

        \ No newline at end of file diff --git a/add/add.html b/add/add.html deleted file mode 100644 index 8b219d0..0000000 --- a/add/add.html +++ /dev/null @@ -1,96 +0,0 @@ -add/add

        Parameters:

        -
          -
        • r must be an int.
          (base (radix))
        • -
        exports.badd_t = function badd_t (r) {

        Adds two big endian arrays, k >= i >= j -wraps

        -

        Parameters:

        -
          -
        • a must be an array.
          (first operand)

          -
        • -
        • i0 must be an int.
          (a left)

          -
        • -
        • i1 must be an int.
          (a right)

          -
        • -
        • b must be an array.
          (second operand)

          -
        • -
        • j0 must be an int.
          (b left)

          -
        • -
        • j1 must be an int.
          (b right)

          -
        • -
        • c must be an array.
          (result, must be 0 initialized)

          -
        • -
        • k0 must be an int.
          (c left)

          -
        • -
        • k1 must be an int.
          (c right)

          -
        • -
        return function(a, i0, i1, b, j0, j1, c, k0, k1){ - var t, C = 0; - - while(--j1 >= j0){ - --i1; --k1; - t = a[i1] + b[j1] + C; - c[k1] = t % r; - C = t / r >= 1; - } - - while(--i1 >= i0){ - --k1; - t = a[i1] + C; - c[k1] = t % r; - C = t / r >= 1; - } - - if(--k1 >= k0){ - c[k1] = +C; - } - - }; - -};

        Parameters:

        -
          -
        • r must be an int.
          (base (radix))
        • -
        var ladd_t = exports.ladd_t = function(r){

        Adds two little endian arrays, k >= i >= j -wraps

        -

        Parameters:

        -
          -
        • a must be an array.
          (first operand)

          -
        • -
        • i0 must be an int.
          (a left)

          -
        • -
        • i1 must be an int.
          (a right)

          -
        • -
        • b must be an array.
          (second operand)

          -
        • -
        • j0 must be an int.
          (b left)

          -
        • -
        • j1 must be an int.
          (b right)

          -
        • -
        • c must be an array.
          (result, must be 0 initialized)

          -
        • -
        • k0 must be an int.
          (c left)

          -
        • -
        • k1 must be an int.
          (c right)

          -
        • -
        return function(a, i0, i1, b, j0, j1, c, k0, k1){ - var t, C = 0; - - while(j0 < j1){ - t = a[i0] + b[j0] + C; - c[k0] = t % r; - C = t / r >= 1; - ++i0; ++j0; ++k0; - } - - while(i0 < i1){ - t = a[i0] + C; - c[k0] = t % r; - C = t / r >= 1; - ++i0; ++k0; - } - - if(k0 < k1){ - c[k0] = +C; - } - - }; -};
        \ No newline at end of file diff --git a/and/and.html b/and/and.html deleted file mode 100644 index b09ae38..0000000 --- a/and/and.html +++ /dev/null @@ -1,50 +0,0 @@ -and/and

        BINARY and APPLIED ON a AND b

        -

        Meaningful only when r is a power of 2.

        -

        |a| = |b| = |c| > 0

        var and = function (a, a0, b, b0, c, c0, c1) { - - while (c0 < c1) c[c0++] = a[a0++] & b[b0++]; - -};

        BIG ENDIAN BINARY and APPLIED ON a AND b

        -

        Meaningful only when r is a power of 2.

        -

        |a| >= |b| > 0

        -

        treats b as if it was represented with the same number of blocks as a

        var band_t = function(r){ - - var _r = r / 2; - - return function (a, a0, a1, b, b0, b1, c, c0, c1) { - - var at = a1 - b1 + b0; - var ct = c0 + at - a0; - - if (b[b0] < _r) while (c0 < ct) c[c0++] = 0; - else while (c0 < ct) c[c0++] = a[a0++]; - - while (c0 < c1) c[c0++] = a[at++] & b[b0++]; - - }; - -};

        LITTLE ENDIAN BINARY and APPLIED ON a AND b

        -

        Meaningful only when r is a power of 2.

        -

        |a| >= |b| > 0

        -

        treats b as if it was represented with the same number of blocks as a

        var land_t = function(r){ - - var _r = r / 2; - - return function (a, a0, a1, b, b0, b1, c, c0, c1) { - - var ct = c0 + b1 - b0; - - while (c0 < ct) c[c0++] = a[a0++] & b[b0++]; - - if (b[b0 - 1] < _r) while (c0 < c1) c[c0++] = 0; - else while (c0 < c1) c[c0++] = a[a0++]; - - - }; - -}; - - -exports.and = and; -exports.land_t = land_t; -exports.band_t = band_t;
        \ No newline at end of file diff --git a/assets/behavior.js b/assets/behavior.js deleted file mode 100644 index 65d1641..0000000 --- a/assets/behavior.js +++ /dev/null @@ -1,1464 +0,0 @@ -/*! jQuery v1.7.1 jquery.com | jquery.org/license */ -(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"":"")+""),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){if(c!=="border")for(;g=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c
  • a",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="
    "+""+"
    ",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="
    t
    ",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="
    ",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")}; -f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;le&&i.push({elem:this,matches:d.slice(e)});for(j=0;j0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

    ";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
    ";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h0)for(h=g;h=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/",""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div
    ","
    "]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function() -{for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test("<"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,"<$1>");var l=(Z.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]===""&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bq,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;b=b.replace(bs,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b)));return c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\[\]$/,bF=/\r?\n/g,bG=/#.*$/,bH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\/\//,bM=/\?/,bN=/)<[^<]*)*<\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=["*/"]+["*"];try{bV=e.href}catch(bY){bV=c.createElement("a"),bV.href="",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bS)return bS.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
    ").append(c.replace(bN,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,"\r\n")}}):{name:b.name,value:c.replace(bF,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b);return a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bG,"").replace(bL,bW[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]==="http:"?80:443))==(bW[3]||(bW[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,"$1_="+x);d.url=y+(y===d.url?(bM.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bX+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cd++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cy(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window);(function() { - var MAX_FILTER_SIZE, appendSearchNode, buildNav, buildTOCNode, clearFilter, clearHighlight, currentNode$, currentQuery, fileMap, focusCurrentNode, highlightMatch, moveCurrentNode, nav$, searchNodes, searchableNodes, selectNode, selectNodeByDocumentPath, setCurrentNodeExpanded, setTableOfContentsActive, tableOfContents, toc$, toggleTableOfContents, visitCurrentNode; - - tableOfContents = [ - { - "type": "file", - "data": { - "language": { - "nameMatchers": [".md", ".markdown", ".mkd", ".mkdn", ".mdown"], - "commentsOnly": true, - "name": "Markdown" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/README.md", - "projectPath": "README.md", - "targetPath": "index", - "pageTitle": "index", - "title": "index" - }, - "depth": 1, - "outline": [] - }, { - "type": "folder", - "data": { - "path": "abs", - "title": "abs" - }, - "depth": 1, - "children": [ - { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/abs/abs.js", - "projectPath": "js/src/abs/abs.js", - "targetPath": "abs/abs", - "pageTitle": "abs/abs", - "title": "abs" - }, - "depth": 2, - "outline": [] - } - ] - }, { - "type": "folder", - "data": { - "path": "add", - "title": "add" - }, - "depth": 1, - "children": [ - { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/add/add.js", - "projectPath": "js/src/add/add.js", - "targetPath": "add/add", - "pageTitle": "add/add", - "title": "add" - }, - "depth": 2, - "outline": [] - } - ] - }, { - "type": "folder", - "data": { - "path": "and", - "title": "and" - }, - "depth": 1, - "children": [ - { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/and/and.js", - "projectPath": "js/src/and/and.js", - "targetPath": "and/and", - "pageTitle": "and/and", - "title": "and" - }, - "depth": 2, - "outline": [] - } - ] - }, { - "type": "folder", - "data": { - "path": "cmp", - "title": "cmp" - }, - "depth": 1, - "children": [ - { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/cmp/cmp.js", - "projectPath": "js/src/cmp/cmp.js", - "targetPath": "cmp/cmp", - "pageTitle": "cmp/cmp", - "title": "cmp" - }, - "depth": 2, - "outline": [] - }, { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/cmp/eq.js", - "projectPath": "js/src/cmp/eq.js", - "targetPath": "cmp/eq", - "pageTitle": "cmp/eq", - "title": "eq" - }, - "depth": 2, - "outline": [] - }, { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/cmp/ge.js", - "projectPath": "js/src/cmp/ge.js", - "targetPath": "cmp/ge", - "pageTitle": "cmp/ge", - "title": "ge" - }, - "depth": 2, - "outline": [] - }, { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/cmp/gt.js", - "projectPath": "js/src/cmp/gt.js", - "targetPath": "cmp/gt", - "pageTitle": "cmp/gt", - "title": "gt" - }, - "depth": 2, - "outline": [] - }, { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/cmp/le.js", - "projectPath": "js/src/cmp/le.js", - "targetPath": "cmp/le", - "pageTitle": "cmp/le", - "title": "le" - }, - "depth": 2, - "outline": [] - }, { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/cmp/lt.js", - "projectPath": "js/src/cmp/lt.js", - "targetPath": "cmp/lt", - "pageTitle": "cmp/lt", - "title": "lt" - }, - "depth": 2, - "outline": [] - }, { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/cmp/ne.js", - "projectPath": "js/src/cmp/ne.js", - "targetPath": "cmp/ne", - "pageTitle": "cmp/ne", - "title": "ne" - }, - "depth": 2, - "outline": [] - } - ] - }, { - "type": "folder", - "data": { - "path": "convert", - "title": "convert" - }, - "depth": 1, - "children": [ - { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/convert/basechange.js", - "projectPath": "js/src/convert/basechange.js", - "targetPath": "convert/basechange", - "pageTitle": "convert/basechange", - "title": "basechange" - }, - "depth": 2, - "outline": [] - }, { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/convert/convert.js", - "projectPath": "js/src/convert/convert.js", - "targetPath": "convert/convert", - "pageTitle": "convert/convert", - "title": "convert" - }, - "depth": 2, - "outline": [] - }, { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/convert/join.js", - "projectPath": "js/src/convert/join.js", - "targetPath": "convert/join", - "pageTitle": "convert/join", - "title": "join" - }, - "depth": 2, - "outline": [] - }, { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/convert/split.js", - "projectPath": "js/src/convert/split.js", - "targetPath": "convert/split", - "pageTitle": "convert/split", - "title": "split" - }, - "depth": 2, - "outline": [] - } - ] - }, { - "type": "folder", - "data": { - "path": "div", - "title": "div" - }, - "depth": 1, - "children": [ - { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/div/dcdiv.js", - "projectPath": "js/src/div/dcdiv.js", - "targetPath": "div/dcdiv", - "pageTitle": "div/dcdiv", - "title": "dcdiv" - }, - "depth": 2, - "outline": [] - }, { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/div/div.js", - "projectPath": "js/src/div/div.js", - "targetPath": "div/div", - "pageTitle": "div/div", - "title": "div" - }, - "depth": 2, - "outline": [] - }, { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/div/fourierdiv.js", - "projectPath": "js/src/div/fourierdiv.js", - "targetPath": "div/fourierdiv", - "pageTitle": "div/fourierdiv", - "title": "fourierdiv" - }, - "depth": 2, - "outline": [] - }, { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/div/knuthd.js", - "projectPath": "js/src/div/knuthd.js", - "targetPath": "div/knuthd", - "pageTitle": "div/knuthd", - "title": "knuthd" - }, - "depth": 2, - "outline": [] - } - ] - }, { - "type": "folder", - "data": { - "path": "gcd", - "title": "gcd" - }, - "depth": 1, - "children": [ - { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/gcd/gcd.js", - "projectPath": "js/src/gcd/gcd.js", - "targetPath": "gcd/gcd", - "pageTitle": "gcd/gcd", - "title": "gcd" - }, - "depth": 2, - "outline": [] - } - ] - }, { - "type": "folder", - "data": { - "path": "lcm", - "title": "lcm" - }, - "depth": 1, - "children": [ - { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/lcm/lcm.js", - "projectPath": "js/src/lcm/lcm.js", - "targetPath": "lcm/lcm", - "pageTitle": "lcm/lcm", - "title": "lcm" - }, - "depth": 2, - "outline": [] - } - ] - }, { - "type": "folder", - "data": { - "path": "log", - "title": "log" - }, - "depth": 1, - "children": [ - { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/log/log.js", - "projectPath": "js/src/log/log.js", - "targetPath": "log/log", - "pageTitle": "log/log", - "title": "log" - }, - "depth": 2, - "outline": [] - } - ] - }, { - "type": "folder", - "data": { - "path": "mod", - "title": "mod" - }, - "depth": 1, - "children": [ - { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/mod/mod.js", - "projectPath": "js/src/mod/mod.js", - "targetPath": "mod/mod", - "pageTitle": "mod/mod", - "title": "mod" - }, - "depth": 2, - "outline": [] - }, { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/mod/montgomery.js", - "projectPath": "js/src/mod/montgomery.js", - "targetPath": "mod/montgomery", - "pageTitle": "mod/montgomery", - "title": "montgomery" - }, - "depth": 2, - "outline": [] - } - ] - }, { - "type": "folder", - "data": { - "path": "mpow", - "title": "mpow" - }, - "depth": 1, - "children": [ - { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/mpow/mpow.js", - "projectPath": "js/src/mpow/mpow.js", - "targetPath": "mpow/mpow", - "pageTitle": "mpow/mpow", - "title": "mpow" - }, - "depth": 2, - "outline": [] - } - ] - }, { - "type": "folder", - "data": { - "path": "mul", - "title": "mul" - }, - "depth": 1, - "children": [ - { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/mul/karatsuba.js", - "projectPath": "js/src/mul/karatsuba.js", - "targetPath": "mul/karatsuba", - "pageTitle": "mul/karatsuba", - "title": "karatsuba" - }, - "depth": 2, - "outline": [] - }, { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/mul/mul.js", - "projectPath": "js/src/mul/mul.js", - "targetPath": "mul/mul", - "pageTitle": "mul/mul", - "title": "mul" - }, - "depth": 2, - "outline": [] - }, { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/mul/mul53.js", - "projectPath": "js/src/mul/mul53.js", - "targetPath": "mul/mul53", - "pageTitle": "mul/mul53", - "title": "mul53" - }, - "depth": 2, - "outline": [] - }, { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/mul/toomcook.js", - "projectPath": "js/src/mul/toomcook.js", - "targetPath": "mul/toomcook", - "pageTitle": "mul/toomcook", - "title": "toomcook" - }, - "depth": 2, - "outline": [] - } - ] - }, { - "type": "folder", - "data": { - "path": "neg", - "title": "neg" - }, - "depth": 1, - "children": [ - { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/neg/neg.js", - "projectPath": "js/src/neg/neg.js", - "targetPath": "neg/neg", - "pageTitle": "neg/neg", - "title": "neg" - }, - "depth": 2, - "outline": [] - } - ] - }, { - "type": "folder", - "data": { - "path": "not", - "title": "not" - }, - "depth": 1, - "children": [ - { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/not/not.js", - "projectPath": "js/src/not/not.js", - "targetPath": "not/not", - "pageTitle": "not/not", - "title": "not" - }, - "depth": 2, - "outline": [] - } - ] - }, { - "type": "folder", - "data": { - "path": "or", - "title": "or" - }, - "depth": 1, - "children": [ - { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/or/or.js", - "projectPath": "js/src/or/or.js", - "targetPath": "or/or", - "pageTitle": "or/or", - "title": "or" - }, - "depth": 2, - "outline": [] - } - ] - }, { - "type": "folder", - "data": { - "path": "parse", - "title": "parse" - }, - "depth": 1, - "children": [ - { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/parse/parse.js", - "projectPath": "js/src/parse/parse.js", - "targetPath": "parse/parse", - "pageTitle": "parse/parse", - "title": "parse" - }, - "depth": 2, - "outline": [] - } - ] - }, { - "type": "folder", - "data": { - "path": "pow", - "title": "pow" - }, - "depth": 1, - "children": [ - { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/pow/ebs.js", - "projectPath": "js/src/pow/ebs.js", - "targetPath": "pow/ebs", - "pageTitle": "pow/ebs", - "title": "ebs" - }, - "depth": 2, - "outline": [] - }, { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/pow/pow.js", - "projectPath": "js/src/pow/pow.js", - "targetPath": "pow/pow", - "pageTitle": "pow/pow", - "title": "pow" - }, - "depth": 2, - "outline": [] - } - ] - }, { - "type": "folder", - "data": { - "path": "sha", - "title": "sha" - }, - "depth": 1, - "children": [ - { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/sha/sha.js", - "projectPath": "js/src/sha/sha.js", - "targetPath": "sha/sha", - "pageTitle": "sha/sha", - "title": "sha" - }, - "depth": 2, - "outline": [] - } - ] - }, { - "type": "folder", - "data": { - "path": "shl", - "title": "shl" - }, - "depth": 1, - "children": [ - { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/shl/shl.js", - "projectPath": "js/src/shl/shl.js", - "targetPath": "shl/shl", - "pageTitle": "shl/shl", - "title": "shl" - }, - "depth": 2, - "outline": [] - } - ] - }, { - "type": "folder", - "data": { - "path": "stringify", - "title": "stringify" - }, - "depth": 1, - "children": [ - { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/stringify/stringify.js", - "projectPath": "js/src/stringify/stringify.js", - "targetPath": "stringify/stringify", - "pageTitle": "stringify/stringify", - "title": "stringify" - }, - "depth": 2, - "outline": [] - } - ] - }, { - "type": "folder", - "data": { - "path": "sub", - "title": "sub" - }, - "depth": 1, - "children": [ - { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/sub/sub.js", - "projectPath": "js/src/sub/sub.js", - "targetPath": "sub/sub", - "pageTitle": "sub/sub", - "title": "sub" - }, - "depth": 2, - "outline": [] - } - ] - }, { - "type": "folder", - "data": { - "path": "wrap", - "title": "wrap" - }, - "depth": 1, - "children": [ - { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/wrap/wrapbin.js", - "projectPath": "js/src/wrap/wrapbin.js", - "targetPath": "wrap/wrapbin", - "pageTitle": "wrap/wrapbin", - "title": "wrapbin" - }, - "depth": 2, - "outline": [] - }, { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/wrap/wrapcmp.js", - "projectPath": "js/src/wrap/wrapcmp.js", - "targetPath": "wrap/wrapcmp", - "pageTitle": "wrap/wrapcmp", - "title": "wrapcmp" - }, - "depth": 2, - "outline": [] - }, { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/wrap/wrapmov.js", - "projectPath": "js/src/wrap/wrapmov.js", - "targetPath": "wrap/wrapmov", - "pageTitle": "wrap/wrapmov", - "title": "wrapmov" - }, - "depth": 2, - "outline": [] - } - ] - }, { - "type": "folder", - "data": { - "path": "xor", - "title": "xor" - }, - "depth": 1, - "children": [ - { - "type": "file", - "data": { - "language": { - "nameMatchers": [".js"], - "pygmentsLexer": "javascript", - "multiLineComment": ["/*", "*", "*/"], - "singleLineComment": ["//"], - "ignorePrefix": "}", - "foldPrefix": "^", - "name": "JavaScript" - }, - "sourcePath": "/home/aureooms/dev/js/js-integer/js/src/xor/xor.js", - "projectPath": "js/src/xor/xor.js", - "targetPath": "xor/xor", - "pageTitle": "xor/xor", - "title": "xor" - }, - "depth": 2, - "outline": [] - } - ] - } - ]; - - nav$ = null; - - toc$ = null; - - setTableOfContentsActive = function(active) { - var html$; - html$ = $('html'); - if (active) { - nav$.addClass('active'); - return html$.addClass('popped'); - } else { - nav$.removeClass('active'); - return html$.removeClass('popped'); - } - }; - - toggleTableOfContents = function() { - return setTableOfContentsActive(!nav$.hasClass('active')); - }; - - currentNode$ = null; - - focusCurrentNode = function() { - var currentNodeBottom, currentNodeTop; - currentNodeTop = currentNode$.offset().top - toc$.children(':visible').first().offset().top; - currentNodeBottom = currentNodeTop + currentNode$.children('.label').height(); - if (currentNodeTop < toc$.scrollTop()) { - toc$.scrollTop(currentNodeTop); - } - if (currentNodeBottom > toc$.scrollTop() + toc$.height()) { - return toc$.scrollTop(currentNodeBottom - toc$.height()); - } - }; - - setCurrentNodeExpanded = function(expanded) { - var parents$; - if (expanded) { - currentNode$.addClass('expanded'); - } else { - if (currentNode$.hasClass('expanded')) { - currentNode$.removeClass('expanded'); - } else { - parents$ = currentNode$.parents('li'); - if (parents$.length > 0) { - selectNode(parents$.first()); - } - } - } - return focusCurrentNode(); - }; - - selectNode = function(newNode$) { - currentNode$.removeClass('selected'); - newNode$.addClass('selected'); - currentNode$ = newNode$; - return focusCurrentNode(); - }; - - selectNodeByDocumentPath = function(documentPath, headerSlug) { - var link, urlChunks, _i, _len, _ref; - if (headerSlug == null) { - headerSlug = null; - } - currentNode$ = fileMap[documentPath]; - if (headerSlug) { - _ref = currentNode$.find('.outline a'); - for (_i = 0, _len = _ref.length; _i < _len; _i++) { - link = _ref[_i]; - urlChunks = $(link).attr('href').split('#'); - if (urlChunks[1] === headerSlug) { - currentNode$ = $(link).parents('li').first(); - break; - } - } - } - currentNode$.addClass('selected expanded'); - currentNode$.parents('li').addClass('expanded'); - return focusCurrentNode(); - }; - - moveCurrentNode = function(up) { - var i, newIndex, node, visibleNodes$, _i, _len; - visibleNodes$ = toc$.find('li:visible:not(.filtered)'); - newIndex = 0; - for (i = _i = 0, _len = visibleNodes$.length; _i < _len; i = ++_i) { - node = visibleNodes$[i]; - if (node === currentNode$[0]) { - newIndex = up ? i - 1 : i + 1; - if (newIndex < 0) { - newIndex = 0; - } - if (newIndex > visibleNodes$.length - 1) { - newIndex = visibleNodes$.length - 1; - } - break; - } - } - return selectNode($(visibleNodes$[newIndex])); - }; - - visitCurrentNode = function() { - var labelLink$; - labelLink$ = currentNode$.children('a.label'); - if (labelLink$.length > 0) { - return window.location = labelLink$.attr('href'); - } - }; - - MAX_FILTER_SIZE = 10; - - searchableNodes = []; - - appendSearchNode = function(node$) { - var text$; - text$ = node$.find('> .label .text'); - return searchableNodes.push([text$.text().toLowerCase(), node$, text$]); - }; - - currentQuery = ''; - - searchNodes = function(queryString) { - var c, filtered, matched, matcher, nodeInfo, p, _i, _j, _k, _len, _len1, _len2, _results; - queryString = queryString.toLowerCase().replace(/\s+/, ''); - if (queryString === currentQuery) { - return; - } - currentQuery = queryString; - if (queryString === '') { - return clearFilter(); - } - matcher = new RegExp(((function() { - var _i, _len, _results; - _results = []; - for (_i = 0, _len = queryString.length; _i < _len; _i++) { - c = queryString[_i]; - _results.push(c.replace(/[-[\]{}()*+?.,\\^$|#\s]/, "\\$&")); - } - return _results; - })()).join('.*')); - matched = []; - filtered = []; - for (_i = 0, _len = searchableNodes.length; _i < _len; _i++) { - nodeInfo = searchableNodes[_i]; - if (matcher.test(nodeInfo[0])) { - matched.push(nodeInfo); - } else { - filtered.push(nodeInfo); - } - } - if (matched.length > MAX_FILTER_SIZE) { - return clearFilter(); - } - nav$.addClass('searching'); - for (_j = 0, _len1 = filtered.length; _j < _len1; _j++) { - nodeInfo = filtered[_j]; - nodeInfo[1].removeClass('matched-child'); - nodeInfo[1].addClass('filtered'); - clearHighlight(nodeInfo[2]); - } - _results = []; - for (_k = 0, _len2 = matched.length; _k < _len2; _k++) { - nodeInfo = matched[_k]; - nodeInfo[1].removeClass('filtered matched-child'); - nodeInfo[1].addClass('matched'); - highlightMatch(nodeInfo[2], queryString); - _results.push((function() { - var _l, _len3, _ref, _results1; - _ref = nodeInfo[1].parents('li'); - _results1 = []; - for (_l = 0, _len3 = _ref.length; _l < _len3; _l++) { - p = _ref[_l]; - _results1.push($(p).addClass('matched-child')); - } - return _results1; - })()); - } - return _results; - }; - - clearFilter = function() { - var nodeInfo, _i, _len, _results; - nav$.removeClass('searching'); - currentQuery = ''; - _results = []; - for (_i = 0, _len = searchableNodes.length; _i < _len; _i++) { - nodeInfo = searchableNodes[_i]; - nodeInfo[1].removeClass('filtered matched-child'); - _results.push(clearHighlight(nodeInfo[2])); - } - return _results; - }; - - highlightMatch = function(text$, queryString) { - var char, foundIndex, furthestIndex, lowerText, markedText, nodeText, _i, _len; - nodeText = text$.text(); - lowerText = nodeText.toLowerCase(); - markedText = ''; - furthestIndex = 0; - for (_i = 0, _len = queryString.length; _i < _len; _i++) { - char = queryString[_i]; - foundIndex = lowerText.indexOf(char, furthestIndex); - markedText += nodeText.slice(furthestIndex, foundIndex) + ("" + nodeText[foundIndex] + ""); - furthestIndex = foundIndex + 1; - } - return text$.html(markedText + nodeText.slice(furthestIndex)); - }; - - clearHighlight = function(text$) { - return text$.text(text$.text()); - }; - - fileMap = {}; - - buildNav = function(metaInfo) { - var node, sourceURL, _i, _len; - nav$ = $("
    \n").appendTo($('body')); - toc$ = nav$.find('.toc'); - if (metaInfo.githubURL) { - if (metaInfo.documentPath === 'index') { - sourceURL = metaInfo.githubURL; - } else { - sourceURL = metaInfo.githubURL + "/blob/master/" + metaInfo.projectPath; - } - nav$.find('.tools').prepend("
  • \n \n View source on GitHub\n \n
  • "); - } - for (_i = 0, _len = tableOfContents.length; _i < _len; _i++) { - node = tableOfContents[_i]; - toc$.append(buildTOCNode(node, metaInfo)); - } - return nav$; - }; - - buildTOCNode = function(node, metaInfo) { - var c, children$, clickLabel, discloser, discloser$, label$, node$, _i, _len, _ref, _ref1, _ref2; - node$ = $("
  • "); - discloser = null; - switch (node.type) { - case 'file': - node$.append("" + node.data.title + ""); - clickLabel = function(evt) { - if (evt.target === discloser) { - node$.toggleClass('expanded'); - evt.preventDefault(); - return false; - } - return selectNode(node$); - }; - break; - case 'folder': - node$.append("" + node.data.title + ""); - clickLabel = function(evt) { - selectNode(node$); - node$.toggleClass('expanded'); - evt.preventDefault(); - return false; - }; - } - if (((_ref = node.children) != null ? _ref.length : void 0) > 0) { - children$ = $('
      '); - _ref1 = node.children; - for (_i = 0, _len = _ref1.length; _i < _len; _i++) { - c = _ref1[_i]; - children$.append(buildTOCNode(c, metaInfo)); - } - node$.append(children$); - } - label$ = node$.find('> .label'); - label$.click(clickLabel); - discloser$ = $('').prependTo(label$); - if (!(((_ref2 = node.children) != null ? _ref2.length : void 0) > 0)) { - discloser$.addClass('placeholder'); - } - discloser = discloser$.get(0); - if (node.type === 'file') { - fileMap[node.data.targetPath] = node$; - } - appendSearchNode(node$); - return node$; - }; - - $(function() { - var lastMousedownTimestamp, metaInfo, search$, toggle$; - metaInfo = { - relativeRoot: $('meta[name="groc-relative-root"]').attr('content'), - githubURL: $('meta[name="groc-github-url"]').attr('content'), - documentPath: $('meta[name="groc-document-path"]').attr('content'), - projectPath: $('meta[name="groc-project-path"]').attr('content') - }; - nav$ = buildNav(metaInfo); - toc$ = nav$.find('.toc'); - search$ = $('#search'); - selectNodeByDocumentPath(metaInfo.documentPath, window.location.hash.replace('#', '')); - search$.focus(function() { - return setTableOfContentsActive(true); - }); - lastMousedownTimestamp = null; - nav$.mousedown(function(evt) { - if (evt.target !== toggle$[0]) { - return lastMousedownTimestamp = evt.timeStamp; - } - }); - search$.blur(function(evt) { - if (evt.timeStamp - lastMousedownTimestamp < 10) { - return search$.focus(); - } else { - return setTableOfContentsActive(false); - } - }); - toggle$ = nav$.find('.toggle'); - toggle$.click(function(evt) { - if (search$.is(':focus')) { - search$.blur(); - } else { - search$.focus(); - } - return evt.preventDefault(); - }); - toggle$.mousedown(function(evt) { - return evt.preventDefault(); - }); - $('body').keydown(function(evt) { - if (nav$.hasClass('active')) { - switch (evt.keyCode) { - case 13: - visitCurrentNode(); - break; - case 37: - setCurrentNodeExpanded(false); - break; - case 38: - moveCurrentNode(true); - break; - case 39: - setCurrentNodeExpanded(true); - break; - case 40: - moveCurrentNode(false); - break; - default: - return; - } - return evt.preventDefault(); - } - }); - search$.bind('keyup search', function(evt) { - return searchNodes(search$.val()); - }); - search$.keydown(function(evt) { - if (evt.keyCode === 27) { - if (search$.val().trim() === '') { - return search$.blur(); - } else { - return search$.val(''); - } - } - }); - return $('.code.folded').each(function(index, code) { - var code$; - code$ = $(code); - return code$.click(function(evt) { - code$.toggleClass('folded'); - evt.preventDefault(); - return false; - }); - }); - }); - -}).call(this); diff --git a/assets/style.css b/assets/style.css deleted file mode 100644 index f9e0d43..0000000 --- a/assets/style.css +++ /dev/null @@ -1 +0,0 @@ -html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}html{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}html,body{height:100%}#document{min-height:100%}body{max-width:33em}.segment{padding:0.5em 0 0.5em 33em;white-space:nowrap}.segment:first-child{padding-top:4.1em}.segment:last-child{padding-bottom:2em}.segment .comments,.segment .code{display:inline-block;vertical-align:top;padding:0 2em}.segment .comments{margin-left:-33em;width:29em;white-space:normal}.segment .code{white-space:pre}#meta{position:absolute;left:33em;padding:0.25em 1em}@media (max-width: 53em){html{font-size:1em}}@media (max-width: 52.94111em){html{font-size:0.99889em}}@media (max-width: 52.88222em){html{font-size:0.99778em}}@media (max-width: 52.82333em){html{font-size:0.99667em}}@media (max-width: 52.76444em){html{font-size:0.99556em}}@media (max-width: 52.70556em){html{font-size:0.99444em}}@media (max-width: 52.64667em){html{font-size:0.99333em}}@media (max-width: 52.58778em){html{font-size:0.99222em}}@media (max-width: 52.52889em){html{font-size:0.99111em}}@media (max-width: 52.47em){html{font-size:0.99em}}@media (max-width: 52.41111em){html{font-size:0.98889em}}@media (max-width: 52.35222em){html{font-size:0.98778em}}@media (max-width: 52.29333em){html{font-size:0.98667em}}@media (max-width: 52.23444em){html{font-size:0.98556em}}@media (max-width: 52.17556em){html{font-size:0.98444em}}@media (max-width: 52.11667em){html{font-size:0.98333em}}@media (max-width: 52.05778em){html{font-size:0.98222em}}@media (max-width: 51.99889em){html{font-size:0.98111em}}@media (max-width: 51.94em){html{font-size:0.98em}}@media (max-width: 51.88111em){html{font-size:0.97889em}}@media (max-width: 51.82222em){html{font-size:0.97778em}}@media (max-width: 51.76333em){html{font-size:0.97667em}}@media (max-width: 51.70444em){html{font-size:0.97556em}}@media (max-width: 51.64556em){html{font-size:0.97444em}}@media (max-width: 51.58667em){html{font-size:0.97333em}}@media (max-width: 51.52778em){html{font-size:0.97222em}}@media (max-width: 51.46889em){html{font-size:0.97111em}}@media (max-width: 51.41em){html{font-size:0.97em}}@media (max-width: 51.35111em){html{font-size:0.96889em}}@media (max-width: 51.29222em){html{font-size:0.96778em}}@media (max-width: 51.23333em){html{font-size:0.96667em}}@media (max-width: 51.17444em){html{font-size:0.96556em}}@media (max-width: 51.11556em){html{font-size:0.96444em}}@media (max-width: 51.05667em){html{font-size:0.96333em}}@media (max-width: 50.99778em){html{font-size:0.96222em}}@media (max-width: 50.93889em){html{font-size:0.96111em}}@media (max-width: 50.88em){html{font-size:0.96em}}@media (max-width: 50.82111em){html{font-size:0.95889em}}@media (max-width: 50.76222em){html{font-size:0.95778em}}@media (max-width: 50.70333em){html{font-size:0.95667em}}@media (max-width: 50.64444em){html{font-size:0.95556em}}@media (max-width: 50.58556em){html{font-size:0.95444em}}@media (max-width: 50.52667em){html{font-size:0.95333em}}@media (max-width: 50.46778em){html{font-size:0.95222em}}@media (max-width: 50.40889em){html{font-size:0.95111em}}@media (max-width: 50.35em){html{font-size:0.95em}}@media (max-width: 50.29111em){html{font-size:0.94889em}}@media (max-width: 50.23222em){html{font-size:0.94778em}}@media (max-width: 50.17333em){html{font-size:0.94667em}}@media (max-width: 50.11444em){html{font-size:0.94556em}}@media (max-width: 50.05556em){html{font-size:0.94444em}}@media (max-width: 49.99667em){html{font-size:0.94333em}}@media (max-width: 49.93778em){html{font-size:0.94222em}}@media (max-width: 49.87889em){html{font-size:0.94111em}}@media (max-width: 49.82em){html{font-size:0.94em}}@media (max-width: 49.76111em){html{font-size:0.93889em}}@media (max-width: 49.70222em){html{font-size:0.93778em}}@media (max-width: 49.64333em){html{font-size:0.93667em}}@media (max-width: 49.58444em){html{font-size:0.93556em}}@media (max-width: 49.52556em){html{font-size:0.93444em}}@media (max-width: 49.46667em){html{font-size:0.93333em}}@media (max-width: 49.40778em){html{font-size:0.93222em}}@media (max-width: 49.34889em){html{font-size:0.93111em}}@media (max-width: 49.29em){html{font-size:0.93em}}@media (max-width: 49.23111em){html{font-size:0.92889em}}@media (max-width: 49.17222em){html{font-size:0.92778em}}@media (max-width: 49.11333em){html{font-size:0.92667em}}@media (max-width: 49.05444em){html{font-size:0.92556em}}@media (max-width: 48.99556em){html{font-size:0.92444em}}@media (max-width: 48.93667em){html{font-size:0.92333em}}@media (max-width: 48.87778em){html{font-size:0.92222em}}@media (max-width: 48.81889em){html{font-size:0.92111em}}@media (max-width: 48.76em){html{font-size:0.92em}}@media (max-width: 48.70111em){html{font-size:0.91889em}}@media (max-width: 48.64222em){html{font-size:0.91778em}}@media (max-width: 48.58333em){html{font-size:0.91667em}}@media (max-width: 48.52444em){html{font-size:0.91556em}}@media (max-width: 48.46556em){html{font-size:0.91444em}}@media (max-width: 48.40667em){html{font-size:0.91333em}}@media (max-width: 48.34778em){html{font-size:0.91222em}}@media (max-width: 48.28889em){html{font-size:0.91111em}}@media (max-width: 48.23em){html{font-size:0.91em}}@media (max-width: 48.17111em){html{font-size:0.90889em}}@media (max-width: 48.11222em){html{font-size:0.90778em}}@media (max-width: 48.05333em){html{font-size:0.90667em}}@media (max-width: 47.99444em){html{font-size:0.90556em}}@media (max-width: 47.93556em){html{font-size:0.90444em}}@media (max-width: 47.87667em){html{font-size:0.90333em}}@media (max-width: 47.81778em){html{font-size:0.90222em}}@media (max-width: 47.75889em){html{font-size:0.90111em}}@media (max-width: 47.7em){html{font-size:0.9em}}@media (max-width: 47.64111em){html{font-size:0.89889em}}@media (max-width: 47.58222em){html{font-size:0.89778em}}@media (max-width: 47.52333em){html{font-size:0.89667em}}@media (max-width: 47.46444em){html{font-size:0.89556em}}@media (max-width: 47.40556em){html{font-size:0.89444em}}@media (max-width: 47.34667em){html{font-size:0.89333em}}@media (max-width: 47.28778em){html{font-size:0.89222em}}@media (max-width: 47.22889em){html{font-size:0.89111em}}@media (max-width: 47.17em){html{font-size:0.89em}}@media (max-width: 47.11111em){html{font-size:0.88889em}}@media (max-width: 47.05222em){html{font-size:0.88778em}}@media (max-width: 46.99333em){html{font-size:0.88667em}}@media (max-width: 46.93444em){html{font-size:0.88556em}}@media (max-width: 46.87556em){html{font-size:0.88444em}}@media (max-width: 46.81667em){html{font-size:0.88333em}}@media (max-width: 46.75778em){html{font-size:0.88222em}}@media (max-width: 46.69889em){html{font-size:0.88111em}}@media (max-width: 46.64em){html{font-size:0.88em}}@media (max-width: 46.58111em){html{font-size:0.87889em}}@media (max-width: 46.52222em){html{font-size:0.87778em}}@media (max-width: 46.46333em){html{font-size:0.87667em}}@media (max-width: 46.40444em){html{font-size:0.87556em}}@media (max-width: 46.34556em){html{font-size:0.87444em}}@media (max-width: 46.28667em){html{font-size:0.87333em}}@media (max-width: 46.22778em){html{font-size:0.87222em}}@media (max-width: 46.16889em){html{font-size:0.87111em}}@media (max-width: 46.11em){html{font-size:0.87em}}@media (max-width: 46.05111em){html{font-size:0.86889em}}@media (max-width: 45.99222em){html{font-size:0.86778em}}@media (max-width: 45.93333em){html{font-size:0.86667em}}@media (max-width: 45.87444em){html{font-size:0.86556em}}@media (max-width: 45.81556em){html{font-size:0.86444em}}@media (max-width: 45.75667em){html{font-size:0.86333em}}@media (max-width: 45.69778em){html{font-size:0.86222em}}@media (max-width: 45.63889em){html{font-size:0.86111em}}@media (max-width: 45.58em){html{font-size:0.86em}}@media (max-width: 45.52111em){html{font-size:0.85889em}}@media (max-width: 45.46222em){html{font-size:0.85778em}}@media (max-width: 45.40333em){html{font-size:0.85667em}}@media (max-width: 45.34444em){html{font-size:0.85556em}}@media (max-width: 45.28556em){html{font-size:0.85444em}}@media (max-width: 45.22667em){html{font-size:0.85333em}}@media (max-width: 45.16778em){html{font-size:0.85222em}}@media (max-width: 45.10889em){html{font-size:0.85111em}}@media (max-width: 45.05em){html{font-size:1em}body{margin:0 auto}.segment{padding:0;white-space:normal;max-width:29em;margin:0 auto}.segment .comments,.segment .code{display:block;padding:1em}.segment .comments{margin-left:0;width:auto}.segment .code{display:block;overflow-y:hidden;overflow-x:auto}.segment .code .wrapper{display:inline-block}#meta{position:static;margin:2em 0 0 0;overflow-y:hidden;overflow-x:auto}#meta .file-path{display:inline-block}}nav{position:fixed;top:0;right:0;width:20em}@media (max-width: 45.05em){nav{left:0;width:100%}}nav .tools{position:relative;z-index:100}nav .tools li{display:table-cell;vertical-align:middle;text-align:center;white-space:nowrap;height:2.1em;padding:0 0.55em}nav .tools .github{padding:0}nav .tools .github a{display:block;height:2.1em;width:2.1em;text-indent:-9001em}nav .tools .search{width:100%}nav .tools .search input{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;width:100%}nav .toc{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;top:2.1em;bottom:0;width:100%;overflow-x:hidden;overflow-y:auto}nav .toc li{position:relative}nav .toc .label{display:block;line-height:2em;padding:0 0.55em 0 0.55em}nav .toc li li .label{padding-left:1.1em}nav .toc li li li .label{padding-left:1.65em}nav .toc li li li li .label{padding-left:2.2em}nav .toc li li li li li .label{padding-left:2.75em}nav .toc li li li li li li .label{padding-left:3.3em}nav{-moz-transition:height 150ms 0;-o-transition:height 150ms 0;-webkit-transition:height 150ms 0;transition:height 150ms 0}nav .tools .toggle{-moz-transition:background 150ms;-o-transition:background 150ms;-webkit-transition:background 150ms;transition:background 150ms}nav.active{-moz-transition:height 0;-o-transition:height 0;-webkit-transition:height 0;transition:height 0;height:100%}nav .toc{-moz-transition:right 150ms;-o-transition:right 150ms;-webkit-transition:right 150ms;transition:right 150ms;right:-100%}nav.active .toc{right:0}@media (max-width: 45.05em){nav .toc{-moz-transition:left 150ms;-o-transition:left 150ms;-webkit-transition:left 150ms;transition:left 150ms;right:auto;left:-100%}nav.active .toc{left:0}}@media (max-width: 45.05em){body{-moz-transition:left 150ms;-o-transition:left 150ms;-webkit-transition:left 150ms;transition:left 150ms;position:relative;left:0}html.popped{overflow:hidden}html.popped body{left:100%;overflow:hidden}}nav .toc .children,nav .toc .outline{display:none}nav .toc .expanded>.children,nav .toc .expanded>.outline,nav .toc .expanded>.outline .children{display:block}nav .toc .discloser{-moz-transition-property:-moz-transform,-webkit-transform,-o-transform,-moz-transform;-o-transition-property:-moz-transform,-webkit-transform,-o-transform,-o-transform;-webkit-transition-property:-moz-transform,-webkit-transform,-o-transform,-webkit-transform;transition-property:-moz-transform -webkit-transform -o-transform transform;-moz-transition-duration:200ms;-o-transition-duration:200ms;-webkit-transition-duration:200ms;transition-duration:200ms;-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);display:inline-block;height:9px;width:9px;padding:0.2em;margin:0.2em 0.2em -0.2em 0.2em;vertical-align:baseline;background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDowOEFDRENGQzE2NEUxMUUxODdDNUQ2ODM0QzVGRkVBMSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDowOEFDRENGRDE2NEUxMUUxODdDNUQ2ODM0QzVGRkVBMSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjA4QUNEQ0ZBMTY0RTExRTE4N0M1RDY4MzRDNUZGRUExIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjA4QUNEQ0ZCMTY0RTExRTE4N0M1RDY4MzRDNUZGRUExIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+nQHMgwAAAM1JREFUeNpi/P//P0NJSYkuAwNDJhDXAPE7BjIAExIbZNA9IC4CYjZKDAIBfiDuBeLzQOxBiUEwoAXE26FYixKDYMAD6rpeqGvJNogBGl5F0PDLpMQgGBAC4mlQF9pTYhAMGADxASBeB8RylBgEA4FAfAOIW4CYhxKDQIAZxmChwJD1QFwGxHfINegaEGcB8UFyA/sd1AA9dEOIddFfIJ4OzdAfcSkiZNAOIC6GegcvwGXQHagBm8jNtB+hBmiTYgi6i+ZCw+EFOWkBIMAA1W4l62UzKWwAAAAASUVORK5CYII=') center center no-repeat;background-size:9px 9px}nav .toc .discloser.placeholder,nav .toc .expanded>.outline .discloser{background:none}nav .toc .expanded>.label .discloser{-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-webkit-transform:rotate(90deg);transform:rotate(90deg)}nav .toc .filtered>.label{display:none}nav .toc .matched-child>.label{display:block}nav .toc .matched-child>.children,nav .toc .matched-child>.outline,nav .toc .matched-child>.outline .children{display:block}nav .toc .matched>.children,nav .toc .matched>.outline,nav .toc .matched>.outline .children{display:block}nav.searching .toc .discloser{display:none}.comments .wrapper{font-family:"Helvetica Neue",Helvetica,"Droid Sans",sans-serif;font-weight:300;font-size:0.9375em;line-height:1.35}.comments .wrapper h1,.comments .wrapper h2,.comments .wrapper h3,.comments .wrapper h4,.comments .wrapper h5,.comments .wrapper h6{font-family:"HelveticaNeue-UltraLight","Helvetica Neue",Helvetica,"Droid Sans",sans-serif;font-weight:100;letter-spacing:0.0625em;line-height:1.25;margin-bottom:0.5em}.comments .wrapper h1{font-size:2.5em}.comments .wrapper h2{font-size:2em}.comments .wrapper h3{font-size:1.6em}.comments .wrapper h4{font-size:1.4em}.comments .wrapper h5{font-size:1.3em}.comments .wrapper h6{font-size:1.2em}.comments .wrapper p{margin:1em 0}.comments .wrapper>*:first-child{margin-top:0}.comments .wrapper>*:last-child{margin-bottom:0}.comments .wrapper ol,.comments .wrapper ul{padding-left:1.75em;margin:1em 0}.comments .wrapper ol li{list-style:decimal}.comments .wrapper ul li{list-style:disc}.comments .wrapper li{margin:1em 0}.comments .wrapper li:first-child{margin-top:0}.comments .wrapper li:last-child{margin-bottom:0}.comments .wrapper code{display:inline-block;padding:0.25em 0.25em 0 0.25em}.comments .wrapper pre{display:block;overflow-x:auto;overflow-y:hidden}.comments .wrapper pre .hljs-comment,.comments .wrapper pre .hljs-template_comment,.comments .wrapper pre .diff .hljs-header,.comments .wrapper pre .hljs-doctype,.comments .wrapper pre .hljs-pi,.comments .wrapper pre .lisp .hljs-string,.comments .wrapper pre .hljs-javadoc{color:#93a1a1;font-style:italic}.comments .wrapper pre .hljs-keyword,.comments .wrapper pre .hljs-winutils,.comments .wrapper pre .method,.comments .wrapper pre .hljs-addition,.comments .wrapper pre .css .hljs-tag,.comments .wrapper pre .hljs-request,.comments .wrapper pre .hljs-status,.comments .wrapper pre .nginx .hljs-title{color:#859900}.comments .wrapper pre .hljs-number,.comments .wrapper pre .hljs-command,.comments .wrapper pre .hljs-string,.comments .wrapper pre .hljs-tag .hljs-value,.comments .wrapper pre .hljs-rules .hljs-value,.comments .wrapper pre .hljs-phpdoc,.comments .wrapper pre .tex .hljs-formula,.comments .wrapper pre .hljs-regexp,.comments .wrapper pre .hljs-hexcolor{color:#2aa198}.comments .wrapper pre .hljs-title,.comments .wrapper pre .hljs-localvars,.comments .wrapper pre .hljs-chunk,.comments .wrapper pre .hljs-decorator,.comments .wrapper pre .hljs-built_in,.comments .wrapper pre .hljs-identifier,.comments .wrapper pre .vhdl .hljs-literal,.comments .wrapper pre .hljs-id,.comments .wrapper pre .css .hljs-function{color:#268bd2}.comments .wrapper pre .hljs-attribute,.comments .wrapper pre .hljs-variable,.comments .wrapper pre .lisp .hljs-body,.comments .wrapper pre .smalltalk .hljs-number,.comments .wrapper pre .hljs-constant,.comments .wrapper pre .hljs-class .hljs-title,.comments .wrapper pre .hljs-parent,.comments .wrapper pre .haskell .hljs-type{color:#b58900}.comments .wrapper pre .hljs-preprocessor,.comments .wrapper pre .hljs-preprocessor .hljs-keyword,.comments .wrapper pre .hljs-pragma,.comments .wrapper pre .hljs-shebang,.comments .wrapper pre .hljs-symbol,.comments .wrapper pre .hljs-symbol .hljs-string,.comments .wrapper pre .diff .hljs-change,.comments .wrapper pre .hljs-special,.comments .wrapper pre .hljs-attr_selector,.comments .wrapper pre .hljs-important,.comments .wrapper pre .hljs-subst,.comments .wrapper pre .hljs-cdata,.comments .wrapper pre .clojure .hljs-title,.comments .wrapper pre .css .hljs-pseudo{color:#cb4b16}.comments .wrapper pre .hljs-deletion{color:#dc322f}.comments .wrapper pre .tex .hljs-formula{background:#eee8d5}.comments .wrapper pre code{padding:1em}.comments .wrapper blockquote{padding:0 1em}.comments .wrapper strong{font-weight:700}.comments .wrapper em{font-style:italic}html{background:#4a525a}#document{background:#f5fbff url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuMCIgeTE9IjAuNSIgeDI9IjEuMCIgeTI9IjAuNSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzI3MmMzMCIvPjxzdG9wIG9mZnNldD0iMzAlIiBzdG9wLWNvbG9yPSIjM2U0NTRjIi8+PHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjNGE1MjVhIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmFkKSIgLz48L3N2Zz4g') 33em no-repeat;background:#f5fbff -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #272c30),color-stop(30%, #3e454c),color-stop(100%, #4a525a)) 33em no-repeat;background:#f5fbff -moz-linear-gradient(left, #272c30,#3e454c 0.3em,#4a525a 1em) 33em no-repeat;background:#f5fbff -webkit-linear-gradient(left, #272c30,#3e454c 0.3em,#4a525a 1em) 33em no-repeat;background:#f5fbff linear-gradient(to right, #272c30,#3e454c 0.3em,#4a525a 1em) 33em no-repeat;margin-right:-1em;padding-right:1em}@media (max-width: 45.05em){#document{margin-right:0;padding-right:0}}#meta>*{font-family:"Helvetica Neue",Helvetica,"Droid Sans",sans-serif;font-weight:300;font-size:0.9375em;line-height:1.35;text-shadow:#272c30 1px 1px 0}#meta>*,#meta>* a{color:#9faab7}#meta>* a{text-decoration:none}.comments .wrapper{font-family:"Helvetica Neue",Helvetica,"Droid Sans",sans-serif;font-weight:300;font-size:0.9375em;line-height:1.35;text-shadow:#fff 1px 1px 0;color:#4a525a}.code .wrapper{font-family:"Droid Sans Mono",Menlo,Monaco,monospace;font-size:0.75em;line-height:1.4;text-shadow:#272c30 1px 1px 0;color:#cbd1d8}.code .wrapper .hljs{display:block;padding:0.5em}.code .wrapper .hljs-comment,.code .wrapper .hljs-template_comment,.code .wrapper .diff .hljs-header,.code .wrapper .hljs-doctype,.code .wrapper .hljs-pi,.code .wrapper .lisp .hljs-string,.code .wrapper .hljs-javadoc{color:#b1bac4;font-style:italic}.code .wrapper .hljs-keyword,.code .wrapper .hljs-winutils,.code .wrapper .method,.code .wrapper .hljs-addition,.code .wrapper .css .hljs-tag,.code .wrapper .hljs-request,.code .wrapper .hljs-status,.code .wrapper .nginx .hljs-title{color:#e0c090}.code .wrapper .hljs-string{color:#e9baba}.code .wrapper .hljs-property{color:#b9d0af}.code .wrapper .hljs-function{color:#abd9cf}.code .wrapper .hljs-class{color:#cee4dd}.code .wrapper .hljs-number,.code .wrapper .hljs-command,.code .wrapper .hljs-tag .hljs-value,.code .wrapper .hljs-rules .hljs-value,.code .wrapper .hljs-phpdoc,.code .wrapper .tex .hljs-formula,.code .wrapper .hljs-regexp,.code .wrapper .hljs-hexcolor{color:#cba8d6}.code .wrapper .hljs-title,.code .wrapper .hljs-localvars,.code .wrapper .hljs-chunk,.code .wrapper .hljs-decorator,.code .wrapper .hljs-built_in,.code .wrapper .hljs-identifier,.code .wrapper .vhdl .hljs-literal,.code .wrapper .hljs-id,.code .wrapper .css .hljs-function{color:#a9c2ba}.code .wrapper .hljs-attribute,.code .wrapper .hljs-variable,.code .wrapper .lisp .hljs-body,.code .wrapper .smalltalk .hljs-number,.code .wrapper .hljs-constant,.code .wrapper .hljs-class .hljs-title,.code .wrapper .hljs-parent,.code .wrapper .haskell .hljs-type{color:#b9d0af}.code .wrapper .hljs-preprocessor,.code .wrapper .hljs-preprocessor .hljs-keyword,.code .wrapper .hljs-pragma,.code .wrapper .hljs-shebang,.code .wrapper .hljs-symbol,.code .wrapper .hljs-symbol .hljs-string,.code .wrapper .diff .hljs-change,.code .wrapper .hljs-special,.code .wrapper .hljs-attr_selector,.code .wrapper .hljs-important,.code .wrapper .hljs-subst,.code .wrapper .hljs-cdata,.code .wrapper .clojure .hljs-title,.code .wrapper .css .hljs-pseudo{color:#cee4dd}.code .wrapper .hljs-deletion{color:#dc322f}.code .wrapper .tex .hljs-formula{background:#e9baba}@media (max-width: 45.05em){.code{-moz-border-radius:0.4em;-webkit-border-radius:0.4em;border-radius:0.4em;-moz-box-shadow:#272c30 0 0 0.5em 0.2em inset;-webkit-box-shadow:#272c30 0 0 0.5em 0.2em inset;box-shadow:#272c30 0 0 0.5em 0.2em inset;background:#4a525a}.code .wrapper{-moz-box-shadow:#4a525a 0 0 0.25em 0.75em;-webkit-box-shadow:#4a525a 0 0 0.25em 0.75em;box-shadow:#4a525a 0 0 0.25em 0.75em;background:#4a525a}}@media (max-width: 29em){.code{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}}nav{text-shadow:#f0f0f0 1px 1px 0;color:#4a525a}nav .tools,nav .toc{font-family:"Helvetica Neue",Helvetica,"Droid Sans",sans-serif;font-weight:300;font-size:0.9375em;line-height:1.35}nav .tools{-moz-box-shadow:rgba(0,0,0,0.3) 0 0 0.5em 0.1em;-webkit-box-shadow:rgba(0,0,0,0.3) 0 0 0.5em 0.1em;box-shadow:rgba(0,0,0,0.3) 0 0 0.5em 0.1em;background:url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwLjkiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjZGNkY2QiIHN0b3Atb3BhY2l0eT0iMC45Ii8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmFkKSIgLz48L3N2Zz4g');background:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(255,255,255,0.9)),color-stop(100%, rgba(205,205,205,0.9)));background:-moz-linear-gradient(top, rgba(255,255,255,0.9),rgba(205,205,205,0.9));background:-webkit-linear-gradient(top, rgba(255,255,255,0.9),rgba(205,205,205,0.9));background:linear-gradient(to bottom, rgba(255,255,255,0.9),rgba(205,205,205,0.9));-moz-border-radius-bottomleft:0.4em;-webkit-border-bottom-left-radius:0.4em;border-bottom-left-radius:0.4em;border-bottom:1px solid #4a525a;border-left:1px solid #4a525a}@media (max-width: 53em){nav .tools{-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;border-bottom-left-radius:0}}nav .tools li{border-right:1px solid #4a525a}nav .tools li:last-child{border-right:none}nav .tools .toggle{cursor:pointer}nav .tools .github a{-moz-transition:opacity 200ms;-o-transition:opacity 200ms;-webkit-transition:opacity 200ms;transition:opacity 200ms;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5;background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACcAAAAwCAYAAACScGMWAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDowOEFDRENGODE2NEUxMUUxODdDNUQ2ODM0QzVGRkVBMSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDowOEFDRENGOTE2NEUxMUUxODdDNUQ2ODM0QzVGRkVBMSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjA4QUNEQ0Y2MTY0RTExRTE4N0M1RDY4MzRDNUZGRUExIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjA4QUNEQ0Y3MTY0RTExRTE4N0M1RDY4MzRDNUZGRUExIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+FC/Z5AAACv9JREFUeNrMWXl0VNUdvu/NmzWZJQnZN0hCWIQEIQuErUCBI2qwEAFRBJUeDvUPDwfKVhDUY2mPp8spakVELSq11goIiCBbUVKKUGKQQFiCSBJIQjLJZPbJzOt3J/dOXiYJgcqh3nO+vPfm3Xfvd3/3t94IsiyTH2sTyY+4SfxGpVIpfzdBokdxjQHOADuAj4GmuzRvFjAbmAZkAocEQZjLX/r9/vYbuq0UgigoQKagsxyG74FlgB4gYdAA0UASkAIkACahvSn70Xd/AlrCxm4VRDEBIBScUxg5wiCs7oZcEJDwN7g+AswH3gAOApVALdAIWIEGtpgyYAfwPFtYTU/jbtmy5W/gsZAugnMKbSsJ2oXAn1J62o9AIJCDy/ZgbzbQLVoqkAtM722fa2pqYnHJwfgmXG23MgjV7SjO3bR06BnlogUSe7PW+ntplXQHUlNTHewxqjdyR+8lOehxYNCgQa3hnHoil8a18F60trY2cenSpYU+n48qfXMnvaEQYcIMQ4KmrbAk/Cb3ZGV3gt7GWbx4cSm4xHd1JR2+aPfdIPK/ICIiwlNaWroKfMSgwDq0Moj78feB/1e4cjqdmq1btz6C25921jk5iOLe4i2XdDh+aF/ejhw5ksYEZJE6BAeHSuT83nyaMTLSZzAYfO2K7BPdbo/k9ngkOM8u32i1moBep2/TarVtGrU64PZ6VC0tLVqv1ydyFxLeamtrzbgYgJFSh+Bk2jOpe1ICmf7QtKp5856sHJo7zGoym4Lk3G636HQ4JXurTd3U1KTBtqgcTpcQZTYHIiIjfNExMV6DIaINuuTX6XQBp8sp1t24odv3+d6UN9/cPPTqtWpjOEFYLOeUI3CJwJJULAMZFE5u9cqVx1/esKE8jLebgWc3akCjjIFKbwF46dw0AlLXVnXpUlzx9OJpZyvO9VEShJR9LpfrHdy2SgqDCEB83i7Elj53NozYKeAY3QHAE0ZOz0KQmukuJ+VifUPkMrKyjO9t2bzvwUdmbL5eV2/gBBVE1crAL/OAy4mlJSe5Vq5Zd0pB7O/4OB7XXwJbgC/pYLHRFhJtNhONRk1q6xtIv+RE4vJ4SUOTldTdDKWABcBi+g3wdtH9OfaHJ4zaVpg7NHvH/oPrFKGMW4wghYn/uvJhwvjx1UZLFN+6I/iQ3r/Pnh+iGQcWUVPfaCWNzTZiiowgMA5yo7GJ1N5oIP4OI4llmQzV6QVAdenp8v3J8X1IhF7aplarV0HXaE5IJEniH8md/RwhFZ1iWFoqj3dUop8yQrzFPPvss78Cuf48e7W22IjL7SHXauuUxGgbpTS2goKC5fhu9InyCnLmfFWDiByQv6OOuCu5dmEeU46Iyfj7CqzKwXQp1OLj4wfSrcJEll78q0b5EBMTQ4k++V3N9cE6rVYCuRCP5OTkFm5ECskJFMdxd5X/dLOh3shuG9n1n8pMYuLEiQ10sawmuFU7SQMAfxg3bhxXn1yLyWDx+X0mhVT5O2d4NLADb/GHr0/9J97ltFO9lDJSgruyC3gpNjb20tq1a4+OHj26OaxQGgDMYxarbN8BTxuNxm9nzZr1zZIlS6r4GiWVekhbW0BL9Q0L9s+dO/dqKKfsJvCb4fMuMKuRP/nwvSN4//PHH55CsAXckqkhbGJ4nWYSbMCXmIKkKRNJhQeIATYqvs3PGZD1EX1F55s0adI5xbupXciJ7ddCWBCVopyekuw8ffJr2lkzMLMviYky0/7UeRcDNIMYxbeIKf6IvLy8madOnZqId1KEQU8S4/rA1ZiwODX9Ng9YCcxc/sxjkyWVivo+GRGkurKy8j1G7DW6YGWECMVY2hKTEicjHH1stVpNSYkJztmPlqw/uG/vK/6ATPeC+Nv88JIqUg2X0epwEo/XW4LPltMaFNs+vays7HhSUtLS9OTEpgi9jkRbTMRmd5Ios5G0OuGTA/LkMxcubWtr89MIcRnZyLYnnniC70Ap8JfutjWE9evXF02YMKGCiz0hPu5YWlLC/PuyMzOGZGdKOQP7k76pSSR3YDZJSYyDVE0js7KyVhw88MVQjJkODAR0AzLSyJi8XIJvzMMGZU+M7xP9V5p4snHf3/jqxp+g35+Z1F4GTEFOCsktYCHmANCgKAX779q1a9W7776bd/jw4b6QpFEtSUSr0VyTJPE8vMB3Br2uSRREh0oUbPEpaQlFhQW5dXU3mtUaddzBA4crHE5HItba3+ly9/V4fWbMSQuo7SD2DsanPnQhEMnmfYM66c4Vf3txTFdSDTwakqAYrE2jgAV2u/2tvXv3/mPRokUfZWdnfwhvXhHKBBm4IYXhX8BrwC/wvmDZsmV9mFQXKgzgaeovRUXFr5QcdQcvAKupwFJSUkqqa6q3Kxw0lWIqU/rhly9fTsKWP1hdXR3dW4YL3fumqqrq1xqNhpZ9cewMhiYJNAKdpjqG+a9wy+56VsIkNXLkSOqIZXjx5s/37Z3QnS5SK4yMjDx8J/VBSUlJOb5bATwGUB3rC2j57gQ9BSuyeixwEJLiYdbUucq5uTnXNm3a1B3BXKDtTshZLBbnxYsXV1M31GW82yXH8ArXHbPZbENa/kc8zwPoQcvrwDU+Kd7ZIUUXq57cc+bMKeMlICKCC1sZWsTOnTs/wVyP3i65noqZjezEiNhsNiP83XPovBXYzHKy0EHPzJkzz6elpQXDGIj48/Pz67mWjhgxorqoqOhKKJGwWmkCUADdNXSuBTqrWG8V//d0hXq93spDEEd4Gz58eCMqdoENLtPqPXQyKUl+vK8PS8tMQaMQeDkqk477zkm+dAsjOzxjxozxXq/3rZMnT2Y0NzcbaIWFrXLjKqJKCqZJCHOy4qTIj+ghK47GBLwPhEsITddxL/R+7Npd++CDD86AyJPAMzU1NXGYW0C+5UHkGLhhw4axzL0IyiCvUomBsPM84QefCfd4oi2KlZhgQ2pq6ng83ke3xeFweHo6ykIKJCuykB90GCTdTicQpLq3AyR30oIXQXoRPzLopu9dO52S7uSUkrkXmq67uzMOOAMZRtDj6aeisrqt+UIjqTWasEHbM/eo2HiiQ07G9JtodDpibahTNdXdCPYzRBoFo8XCDr2D48h8clRutH8oROoMkaEVpQ8YzCxE6PEoMERubPHPFJZDvXOwpiB6gyF4/E5/87jcJDE9gxz7bMcDlBx1mOkZGS5UXMFxNHq9v29mf4+I+oIarj9ApCE5w+x8jhNl5emzSmbUBM8aRo3lUaBdCjJzKQrrVUhO23kVcrsP8nk9TJdUxGGzJXz2/pYXbtbWBI/JxkyavKd/Zlbr1StV9PCFDB6aW1dUmN/YLzOr5cK5iuizZ8v7PDD17S+HDLu/8tuy0wP+8NuXh/jdds/8BU9Fet3uXrc2RM7a0NBOjq1ECB0CtBMVoUu2psZxrVbrOKM5emeE2bj7iz27Ilauf/EZR2srVE3tXvP8ui+R55Hla9Z9tfDx2cVVFy6YP9r5acaRQ4deLZk9K9Nlt5fs3r0nc3h+4RRbc+PJAETL5RH0jWHOMKQPk+fM7+7cq+NjSSQum4M01V8nZ//9FfXyxRevXJ02ZtTI6TGxsVf6ZWWv2LP946ms8iofkDOsKeBx/06j1WtPHC99E7XEizSfA7LZ6LSSOzBl7lPuTkqOtn/bO53J3WHLAx4G6igRlvPPZO6FFiy/B2j5V0hLQvYNPcY4AVB/Sa3BEqwTCLnSo3e4S//oiGHFDTXh3cDFsIVMZXH8N4z8bbX/CjAA0UTEH4oMvREAAAAASUVORK5CYII=') center center no-repeat;background-size:19.5px 24px}nav .tools .github a:hover{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=90);opacity:0.9}nav.active .tools{-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;border-bottom-left-radius:0}nav.active .tools .toggle{background:rgba(205,205,205,0.9);position:relative}nav .toc{-moz-box-shadow:rgba(0,0,0,0.3) 0 0 0.5em 0.1em;-webkit-box-shadow:rgba(0,0,0,0.3) 0 0 0.5em 0.1em;box-shadow:rgba(0,0,0,0.3) 0 0 0.5em 0.1em;background:rgba(230,230,230,0.9);border-left:1px solid #4a525a}nav .toc .label{color:#4a525a;text-decoration:none;border-top:1px solid rgba(192,192,192,0.9);border-bottom:1px solid rgba(192,192,192,0.9);margin-top:-1px}nav .toc .label:hover{background:rgba(205,205,205,0.9)}nav .toc .file>.label{font-weight:bold}nav .toc .selected>.label{background:#f5fbff}nav .toc .label em{font-weight:bold}nav .toc .file>.label em{color:#101214}nav .toc .matched-child>.label{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=65);opacity:0.65;text-shadow:none;background:rgba(192,192,192,0.9)}@media (max-width: 45.05em){nav .tools,nav .toc{border-left-width:0}nav .tools{background:url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2NkY2RjZCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');background:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff),color-stop(100%, #cdcdcd));background:-moz-linear-gradient(top, #ffffff,#cdcdcd);background:-webkit-linear-gradient(top, #ffffff,#cdcdcd);background:linear-gradient(to bottom, #ffffff,#cdcdcd)}nav .toc{background:#e6e6e6}}.comments .wrapper a{display:inline-block;color:#a8614e;text-decoration:none}.comments .wrapper a:hover,.comments .wrapper a:hover *{text-decoration:underline}.comments .wrapper code{font-family:"Droid Sans Mono",Menlo,Monaco,monospace;font-size:0.75em;line-height:1.4;border:1px solid #e6e0d5}.comments .wrapper pre,.comments .wrapper code{-moz-border-radius:0.4em;-webkit-border-radius:0.4em;border-radius:0.4em;background:#fbf8f3}.comments .wrapper pre{-moz-box-shadow:#f2ece3 0 0 0.4em 0.2em;-webkit-box-shadow:#f2ece3 0 0 0.4em 0.2em;box-shadow:#f2ece3 0 0 0.4em 0.2em;border:1px solid #d9c9af}.comments .wrapper pre code{border-width:0;background:transparent}.comments .wrapper blockquote{border-left:0.15em solid #959fa8;margin-left:-0.15em}body{-webkit-text-size-adjust:100%}input[type="search"]{-moz-border-radius:1em;-webkit-border-radius:1em;border-radius:1em;-moz-box-shadow:#ddd 0 1px 1px 0 inset;-webkit-box-shadow:#ddd 0 1px 1px 0 inset;box-shadow:#ddd 0 1px 1px 0 inset;border:1px solid #959595;padding:0.15em 0.8em}.comments.doc-section .wrapper{color:#252519}.comments.doc-section.doc-section-private .wrapper,.comments.doc-section.doc-section-protected .wrapper,.comments.doc-section.doc-section-internal .wrapper{color:#7f7f7f}.comments.doc-section .doc-section-header{font:bold 18px "helvetica neue",helvetica,sans-serif}.comments.doc-section .docs .doc-section-header code{font-size:18px}.code .marker,.code .marker.wrapper,.code .wrapper.marker{display:none}.code.folded .wrapper{display:none;cursor:default}.code.folded .marker{-moz-border-radius:0.2em;-webkit-border-radius:0.2em;border-radius:0.2em;-moz-box-shadow:#2f3539 1px 1px 1px 0;-webkit-box-shadow:#2f3539 1px 1px 1px 0;box-shadow:#2f3539 1px 1px 1px 0;display:inline-block;border:1px solid #73787f;padding:0.2em 0.5em;margin-left:-0.5em;margin-right:-0.5em;background:#58616b;font:12px "Droid Sans Mono",Menlo,Monaco,monospace;text-shadow:#2f3539 1px 1px 0px;cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none}.code.folded .marker .c1{color:#73787f;font-style:normal}.code.folded .marker:hover{background:#5f6872}.code.folded .marker:hover .c1{color:#7b8087}.code.folded .marker .c1:after{content:" …"} diff --git a/ast/source/0-legacy/abs/abs.js.json b/ast/source/0-legacy/abs/abs.js.json new file mode 100644 index 0000000..48bed3a --- /dev/null +++ b/ast/source/0-legacy/abs/abs.js.json @@ -0,0 +1,95 @@ +{ + "type": "Program", + "body": [], + "sourceType": "module", + "range": [ + 88, + 88 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 0 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * COMPUTE THE ABSOLUTE VALUE OF NUMBER n\n ", + "range": [ + 0, + 49 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + }, + { + "type": "Line", + "value": " exports.abs = function abs() {};", + "range": [ + 51, + 86 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 35 + } + } + } + ], + "comments": [ + { + "type": "Block", + "value": "*\n * COMPUTE THE ABSOLUTE VALUE OF NUMBER n\n ", + "range": [ + 0, + 49 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + }, + { + "type": "Line", + "value": " exports.abs = function abs() {};", + "range": [ + 51, + 86 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 35 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/abs/index.js.json b/ast/source/0-legacy/abs/index.js.json new file mode 100644 index 0000000..91195f5 --- /dev/null +++ b/ast/source/0-legacy/abs/index.js.json @@ -0,0 +1,57 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./abs", + "raw": "'./abs'", + "range": [ + 14, + 21 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 21 + } + } + }, + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/add/add.js.json b/ast/source/0-legacy/arithmetic/add/add.js.json new file mode 100644 index 0000000..b5fe78a --- /dev/null +++ b/ast/source/0-legacy/arithmetic/add/add.js.json @@ -0,0 +1,4252 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "badd_t", + "range": [ + 58, + 64 + ], + "loc": { + "start": { + "line": 7, + "column": 16 + }, + "end": { + "line": 7, + "column": 22 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "r", + "range": [ + 66, + 67 + ], + "loc": { + "start": { + "line": 7, + "column": 24 + }, + "end": { + "line": 7, + "column": 25 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 446, + 447 + ], + "loc": { + "start": { + "line": 25, + "column": 17 + }, + "end": { + "line": 25, + "column": 18 + } + } + }, + { + "type": "Identifier", + "name": "i0", + "range": [ + 449, + 451 + ], + "loc": { + "start": { + "line": 25, + "column": 20 + }, + "end": { + "line": 25, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "i1", + "range": [ + 453, + 455 + ], + "loc": { + "start": { + "line": 25, + "column": 24 + }, + "end": { + "line": 25, + "column": 26 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 457, + 458 + ], + "loc": { + "start": { + "line": 25, + "column": 28 + }, + "end": { + "line": 25, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "j0", + "range": [ + 460, + 462 + ], + "loc": { + "start": { + "line": 25, + "column": 31 + }, + "end": { + "line": 25, + "column": 33 + } + } + }, + { + "type": "Identifier", + "name": "j1", + "range": [ + 464, + 466 + ], + "loc": { + "start": { + "line": 25, + "column": 35 + }, + "end": { + "line": 25, + "column": 37 + } + } + }, + { + "type": "Identifier", + "name": "c", + "range": [ + 468, + 469 + ], + "loc": { + "start": { + "line": 25, + "column": 39 + }, + "end": { + "line": 25, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "k0", + "range": [ + 471, + 473 + ], + "loc": { + "start": { + "line": 25, + "column": 42 + }, + "end": { + "line": 25, + "column": 44 + } + } + }, + { + "type": "Identifier", + "name": "k1", + "range": [ + 475, + 477 + ], + "loc": { + "start": { + "line": 25, + "column": 46 + }, + "end": { + "line": 25, + "column": 48 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "t", + "range": [ + 486, + 487 + ], + "loc": { + "start": { + "line": 26, + "column": 6 + }, + "end": { + "line": 26, + "column": 7 + } + } + }, + "init": null, + "range": [ + 486, + 487 + ], + "loc": { + "start": { + "line": 26, + "column": 6 + }, + "end": { + "line": 26, + "column": 7 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "C", + "range": [ + 489, + 490 + ], + "loc": { + "start": { + "line": 26, + "column": 9 + }, + "end": { + "line": 26, + "column": 10 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 493, + 494 + ], + "loc": { + "start": { + "line": 26, + "column": 13 + }, + "end": { + "line": 26, + "column": 14 + } + } + }, + "range": [ + 489, + 494 + ], + "loc": { + "start": { + "line": 26, + "column": 9 + }, + "end": { + "line": 26, + "column": 14 + } + } + } + ], + "kind": "var", + "range": [ + 482, + 495 + ], + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 26, + "column": 15 + } + } + }, + { + "type": "WhileStatement", + "test": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "j1", + "range": [ + 507, + 509 + ], + "loc": { + "start": { + "line": 28, + "column": 10 + }, + "end": { + "line": 28, + "column": 12 + } + } + }, + "prefix": true, + "range": [ + 505, + 509 + ], + "loc": { + "start": { + "line": 28, + "column": 8 + }, + "end": { + "line": 28, + "column": 12 + } + } + }, + "right": { + "type": "Identifier", + "name": "j0", + "range": [ + 513, + 515 + ], + "loc": { + "start": { + "line": 28, + "column": 16 + }, + "end": { + "line": 28, + "column": 18 + } + } + }, + "range": [ + 505, + 515 + ], + "loc": { + "start": { + "line": 28, + "column": 8 + }, + "end": { + "line": 28, + "column": 18 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "i1", + "range": [ + 523, + 525 + ], + "loc": { + "start": { + "line": 29, + "column": 5 + }, + "end": { + "line": 29, + "column": 7 + } + } + }, + "prefix": true, + "range": [ + 521, + 525 + ], + "loc": { + "start": { + "line": 29, + "column": 3 + }, + "end": { + "line": 29, + "column": 7 + } + } + }, + "range": [ + 521, + 526 + ], + "loc": { + "start": { + "line": 29, + "column": 3 + }, + "end": { + "line": 29, + "column": 8 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "k1", + "range": [ + 529, + 531 + ], + "loc": { + "start": { + "line": 29, + "column": 11 + }, + "end": { + "line": 29, + "column": 13 + } + } + }, + "prefix": true, + "range": [ + 527, + 531 + ], + "loc": { + "start": { + "line": 29, + "column": 9 + }, + "end": { + "line": 29, + "column": 13 + } + } + }, + "range": [ + 527, + 532 + ], + "loc": { + "start": { + "line": 29, + "column": 9 + }, + "end": { + "line": 29, + "column": 14 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 536, + 537 + ], + "loc": { + "start": { + "line": 30, + "column": 3 + }, + "end": { + "line": 30, + "column": 4 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 540, + 541 + ], + "loc": { + "start": { + "line": 30, + "column": 7 + }, + "end": { + "line": 30, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "name": "i1", + "range": [ + 542, + 544 + ], + "loc": { + "start": { + "line": 30, + "column": 9 + }, + "end": { + "line": 30, + "column": 11 + } + } + }, + "range": [ + 540, + 545 + ], + "loc": { + "start": { + "line": 30, + "column": 7 + }, + "end": { + "line": 30, + "column": 12 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 548, + 549 + ], + "loc": { + "start": { + "line": 30, + "column": 15 + }, + "end": { + "line": 30, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "j1", + "range": [ + 550, + 552 + ], + "loc": { + "start": { + "line": 30, + "column": 17 + }, + "end": { + "line": 30, + "column": 19 + } + } + }, + "range": [ + 548, + 553 + ], + "loc": { + "start": { + "line": 30, + "column": 15 + }, + "end": { + "line": 30, + "column": 20 + } + } + }, + "range": [ + 540, + 553 + ], + "loc": { + "start": { + "line": 30, + "column": 7 + }, + "end": { + "line": 30, + "column": 20 + } + } + }, + "right": { + "type": "Identifier", + "name": "C", + "range": [ + 556, + 557 + ], + "loc": { + "start": { + "line": 30, + "column": 23 + }, + "end": { + "line": 30, + "column": 24 + } + } + }, + "range": [ + 540, + 557 + ], + "loc": { + "start": { + "line": 30, + "column": 7 + }, + "end": { + "line": 30, + "column": 24 + } + } + }, + "range": [ + 536, + 557 + ], + "loc": { + "start": { + "line": 30, + "column": 3 + }, + "end": { + "line": 30, + "column": 24 + } + } + }, + "range": [ + 536, + 558 + ], + "loc": { + "start": { + "line": 30, + "column": 3 + }, + "end": { + "line": 30, + "column": 25 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 562, + 563 + ], + "loc": { + "start": { + "line": 31, + "column": 3 + }, + "end": { + "line": 31, + "column": 4 + } + } + }, + "property": { + "type": "Identifier", + "name": "k1", + "range": [ + 564, + 566 + ], + "loc": { + "start": { + "line": 31, + "column": 5 + }, + "end": { + "line": 31, + "column": 7 + } + } + }, + "range": [ + 562, + 567 + ], + "loc": { + "start": { + "line": 31, + "column": 3 + }, + "end": { + "line": 31, + "column": 8 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "%", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 570, + 571 + ], + "loc": { + "start": { + "line": 31, + "column": 11 + }, + "end": { + "line": 31, + "column": 12 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 574, + 575 + ], + "loc": { + "start": { + "line": 31, + "column": 15 + }, + "end": { + "line": 31, + "column": 16 + } + } + }, + "range": [ + 570, + 575 + ], + "loc": { + "start": { + "line": 31, + "column": 11 + }, + "end": { + "line": 31, + "column": 16 + } + } + }, + "range": [ + 562, + 575 + ], + "loc": { + "start": { + "line": 31, + "column": 3 + }, + "end": { + "line": 31, + "column": 16 + } + } + }, + "range": [ + 562, + 576 + ], + "loc": { + "start": { + "line": 31, + "column": 3 + }, + "end": { + "line": 31, + "column": 17 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "C", + "range": [ + 580, + 581 + ], + "loc": { + "start": { + "line": 32, + "column": 3 + }, + "end": { + "line": 32, + "column": 4 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 584, + 585 + ], + "loc": { + "start": { + "line": 32, + "column": 7 + }, + "end": { + "line": 32, + "column": 8 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 588, + 589 + ], + "loc": { + "start": { + "line": 32, + "column": 11 + }, + "end": { + "line": 32, + "column": 12 + } + } + }, + "range": [ + 584, + 589 + ], + "loc": { + "start": { + "line": 32, + "column": 7 + }, + "end": { + "line": 32, + "column": 12 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 593, + 594 + ], + "loc": { + "start": { + "line": 32, + "column": 16 + }, + "end": { + "line": 32, + "column": 17 + } + } + }, + "range": [ + 584, + 594 + ], + "loc": { + "start": { + "line": 32, + "column": 7 + }, + "end": { + "line": 32, + "column": 17 + } + } + }, + "range": [ + 580, + 594 + ], + "loc": { + "start": { + "line": 32, + "column": 3 + }, + "end": { + "line": 32, + "column": 17 + } + } + }, + "range": [ + 580, + 595 + ], + "loc": { + "start": { + "line": 32, + "column": 3 + }, + "end": { + "line": 32, + "column": 18 + } + } + } + ], + "range": [ + 516, + 599 + ], + "loc": { + "start": { + "line": 28, + "column": 19 + }, + "end": { + "line": 33, + "column": 3 + } + } + }, + "range": [ + 499, + 599 + ], + "loc": { + "start": { + "line": 28, + "column": 2 + }, + "end": { + "line": 33, + "column": 3 + } + } + }, + { + "type": "WhileStatement", + "test": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "i1", + "range": [ + 611, + 613 + ], + "loc": { + "start": { + "line": 35, + "column": 10 + }, + "end": { + "line": 35, + "column": 12 + } + } + }, + "prefix": true, + "range": [ + 609, + 613 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 12 + } + } + }, + "right": { + "type": "Identifier", + "name": "i0", + "range": [ + 617, + 619 + ], + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 35, + "column": 18 + } + } + }, + "range": [ + 609, + 619 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 18 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "k1", + "range": [ + 627, + 629 + ], + "loc": { + "start": { + "line": 36, + "column": 5 + }, + "end": { + "line": 36, + "column": 7 + } + } + }, + "prefix": true, + "range": [ + 625, + 629 + ], + "loc": { + "start": { + "line": 36, + "column": 3 + }, + "end": { + "line": 36, + "column": 7 + } + } + }, + "range": [ + 625, + 630 + ], + "loc": { + "start": { + "line": 36, + "column": 3 + }, + "end": { + "line": 36, + "column": 8 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 634, + 635 + ], + "loc": { + "start": { + "line": 37, + "column": 3 + }, + "end": { + "line": 37, + "column": 4 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 638, + 639 + ], + "loc": { + "start": { + "line": 37, + "column": 7 + }, + "end": { + "line": 37, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "name": "i1", + "range": [ + 640, + 642 + ], + "loc": { + "start": { + "line": 37, + "column": 9 + }, + "end": { + "line": 37, + "column": 11 + } + } + }, + "range": [ + 638, + 643 + ], + "loc": { + "start": { + "line": 37, + "column": 7 + }, + "end": { + "line": 37, + "column": 12 + } + } + }, + "right": { + "type": "Identifier", + "name": "C", + "range": [ + 646, + 647 + ], + "loc": { + "start": { + "line": 37, + "column": 15 + }, + "end": { + "line": 37, + "column": 16 + } + } + }, + "range": [ + 638, + 647 + ], + "loc": { + "start": { + "line": 37, + "column": 7 + }, + "end": { + "line": 37, + "column": 16 + } + } + }, + "range": [ + 634, + 647 + ], + "loc": { + "start": { + "line": 37, + "column": 3 + }, + "end": { + "line": 37, + "column": 16 + } + } + }, + "range": [ + 634, + 648 + ], + "loc": { + "start": { + "line": 37, + "column": 3 + }, + "end": { + "line": 37, + "column": 17 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 652, + 653 + ], + "loc": { + "start": { + "line": 38, + "column": 3 + }, + "end": { + "line": 38, + "column": 4 + } + } + }, + "property": { + "type": "Identifier", + "name": "k1", + "range": [ + 654, + 656 + ], + "loc": { + "start": { + "line": 38, + "column": 5 + }, + "end": { + "line": 38, + "column": 7 + } + } + }, + "range": [ + 652, + 657 + ], + "loc": { + "start": { + "line": 38, + "column": 3 + }, + "end": { + "line": 38, + "column": 8 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "%", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 660, + 661 + ], + "loc": { + "start": { + "line": 38, + "column": 11 + }, + "end": { + "line": 38, + "column": 12 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 664, + 665 + ], + "loc": { + "start": { + "line": 38, + "column": 15 + }, + "end": { + "line": 38, + "column": 16 + } + } + }, + "range": [ + 660, + 665 + ], + "loc": { + "start": { + "line": 38, + "column": 11 + }, + "end": { + "line": 38, + "column": 16 + } + } + }, + "range": [ + 652, + 665 + ], + "loc": { + "start": { + "line": 38, + "column": 3 + }, + "end": { + "line": 38, + "column": 16 + } + } + }, + "range": [ + 652, + 666 + ], + "loc": { + "start": { + "line": 38, + "column": 3 + }, + "end": { + "line": 38, + "column": 17 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "C", + "range": [ + 670, + 671 + ], + "loc": { + "start": { + "line": 39, + "column": 3 + }, + "end": { + "line": 39, + "column": 4 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 674, + 675 + ], + "loc": { + "start": { + "line": 39, + "column": 7 + }, + "end": { + "line": 39, + "column": 8 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 678, + 679 + ], + "loc": { + "start": { + "line": 39, + "column": 11 + }, + "end": { + "line": 39, + "column": 12 + } + } + }, + "range": [ + 674, + 679 + ], + "loc": { + "start": { + "line": 39, + "column": 7 + }, + "end": { + "line": 39, + "column": 12 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 683, + 684 + ], + "loc": { + "start": { + "line": 39, + "column": 16 + }, + "end": { + "line": 39, + "column": 17 + } + } + }, + "range": [ + 674, + 684 + ], + "loc": { + "start": { + "line": 39, + "column": 7 + }, + "end": { + "line": 39, + "column": 17 + } + } + }, + "range": [ + 670, + 684 + ], + "loc": { + "start": { + "line": 39, + "column": 3 + }, + "end": { + "line": 39, + "column": 17 + } + } + }, + "range": [ + 670, + 685 + ], + "loc": { + "start": { + "line": 39, + "column": 3 + }, + "end": { + "line": 39, + "column": 18 + } + } + } + ], + "range": [ + 620, + 689 + ], + "loc": { + "start": { + "line": 35, + "column": 19 + }, + "end": { + "line": 40, + "column": 3 + } + } + }, + "range": [ + 603, + 689 + ], + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 40, + "column": 3 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "k1", + "range": [ + 698, + 700 + ], + "loc": { + "start": { + "line": 42, + "column": 7 + }, + "end": { + "line": 42, + "column": 9 + } + } + }, + "prefix": true, + "range": [ + 696, + 700 + ], + "loc": { + "start": { + "line": 42, + "column": 5 + }, + "end": { + "line": 42, + "column": 9 + } + } + }, + "right": { + "type": "Identifier", + "name": "k0", + "range": [ + 704, + 706 + ], + "loc": { + "start": { + "line": 42, + "column": 13 + }, + "end": { + "line": 42, + "column": 15 + } + } + }, + "range": [ + 696, + 706 + ], + "loc": { + "start": { + "line": 42, + "column": 5 + }, + "end": { + "line": 42, + "column": 15 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 712, + 713 + ], + "loc": { + "start": { + "line": 43, + "column": 3 + }, + "end": { + "line": 43, + "column": 4 + } + } + }, + "property": { + "type": "Identifier", + "name": "k1", + "range": [ + 714, + 716 + ], + "loc": { + "start": { + "line": 43, + "column": 5 + }, + "end": { + "line": 43, + "column": 7 + } + } + }, + "range": [ + 712, + 717 + ], + "loc": { + "start": { + "line": 43, + "column": 3 + }, + "end": { + "line": 43, + "column": 8 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "+", + "argument": { + "type": "Identifier", + "name": "C", + "range": [ + 721, + 722 + ], + "loc": { + "start": { + "line": 43, + "column": 12 + }, + "end": { + "line": 43, + "column": 13 + } + } + }, + "prefix": true, + "range": [ + 720, + 722 + ], + "loc": { + "start": { + "line": 43, + "column": 11 + }, + "end": { + "line": 43, + "column": 13 + } + } + }, + "range": [ + 712, + 722 + ], + "loc": { + "start": { + "line": 43, + "column": 3 + }, + "end": { + "line": 43, + "column": 13 + } + } + }, + "range": [ + 712, + 723 + ], + "loc": { + "start": { + "line": 43, + "column": 3 + }, + "end": { + "line": 43, + "column": 14 + } + } + } + ], + "range": [ + 707, + 727 + ], + "loc": { + "start": { + "line": 42, + "column": 16 + }, + "end": { + "line": 44, + "column": 3 + } + } + }, + "alternate": null, + "range": [ + 693, + 727 + ], + "loc": { + "start": { + "line": 42, + "column": 2 + }, + "end": { + "line": 44, + "column": 3 + } + } + } + ], + "range": [ + 478, + 731 + ], + "loc": { + "start": { + "line": 25, + "column": 49 + }, + "end": { + "line": 46, + "column": 2 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 437, + 731 + ], + "loc": { + "start": { + "line": 25, + "column": 8 + }, + "end": { + "line": 46, + "column": 2 + } + } + }, + "range": [ + 430, + 732 + ], + "loc": { + "start": { + "line": 25, + "column": 1 + }, + "end": { + "line": 46, + "column": 3 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n\t * Adds two big endian arrays, k >= i >= j\n\t * wraps\n\t *\n\t * @param {array} a first operand\n\t * @param {int} i0 a left\n\t * @param {int} i1 a right\n\t * @param {array} b second operand\n\t * @param {int} j0 b left\n\t * @param {int} j1 b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} k0 c left\n\t * @param {int} k1 c right\n\t ", + "range": [ + 74, + 427 + ], + "loc": { + "start": { + "line": 10, + "column": 1 + }, + "end": { + "line": 23, + "column": 4 + } + } + } + ] + } + ], + "range": [ + 69, + 735 + ], + "loc": { + "start": { + "line": 7, + "column": 27 + }, + "end": { + "line": 48, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 49, + 735 + ], + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 48, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * @param {int} r base (radix)\n ", + "range": [ + 1, + 39 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 4, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * @param {int} r base (radix)\n ", + "range": [ + 738, + 776 + ], + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 53, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 42, + 735 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 48, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * @param {int} r base (radix)\n ", + "range": [ + 1, + 39 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 4, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * @param {int} r base (radix)\n ", + "range": [ + 738, + 776 + ], + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 53, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "ladd_t", + "range": [ + 794, + 800 + ], + "loc": { + "start": { + "line": 55, + "column": 16 + }, + "end": { + "line": 55, + "column": 22 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "r", + "range": [ + 801, + 802 + ], + "loc": { + "start": { + "line": 55, + "column": 23 + }, + "end": { + "line": 55, + "column": 24 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 1182, + 1183 + ], + "loc": { + "start": { + "line": 72, + "column": 17 + }, + "end": { + "line": 72, + "column": 18 + } + } + }, + { + "type": "Identifier", + "name": "i0", + "range": [ + 1185, + 1187 + ], + "loc": { + "start": { + "line": 72, + "column": 20 + }, + "end": { + "line": 72, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "i1", + "range": [ + 1189, + 1191 + ], + "loc": { + "start": { + "line": 72, + "column": 24 + }, + "end": { + "line": 72, + "column": 26 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 1193, + 1194 + ], + "loc": { + "start": { + "line": 72, + "column": 28 + }, + "end": { + "line": 72, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "j0", + "range": [ + 1196, + 1198 + ], + "loc": { + "start": { + "line": 72, + "column": 31 + }, + "end": { + "line": 72, + "column": 33 + } + } + }, + { + "type": "Identifier", + "name": "j1", + "range": [ + 1200, + 1202 + ], + "loc": { + "start": { + "line": 72, + "column": 35 + }, + "end": { + "line": 72, + "column": 37 + } + } + }, + { + "type": "Identifier", + "name": "c", + "range": [ + 1204, + 1205 + ], + "loc": { + "start": { + "line": 72, + "column": 39 + }, + "end": { + "line": 72, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "k0", + "range": [ + 1207, + 1209 + ], + "loc": { + "start": { + "line": 72, + "column": 42 + }, + "end": { + "line": 72, + "column": 44 + } + } + }, + { + "type": "Identifier", + "name": "k1", + "range": [ + 1211, + 1213 + ], + "loc": { + "start": { + "line": 72, + "column": 46 + }, + "end": { + "line": 72, + "column": 48 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "t", + "range": [ + 1222, + 1223 + ], + "loc": { + "start": { + "line": 73, + "column": 6 + }, + "end": { + "line": 73, + "column": 7 + } + } + }, + "init": null, + "range": [ + 1222, + 1223 + ], + "loc": { + "start": { + "line": 73, + "column": 6 + }, + "end": { + "line": 73, + "column": 7 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "C", + "range": [ + 1225, + 1226 + ], + "loc": { + "start": { + "line": 73, + "column": 9 + }, + "end": { + "line": 73, + "column": 10 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 1229, + 1230 + ], + "loc": { + "start": { + "line": 73, + "column": 13 + }, + "end": { + "line": 73, + "column": 14 + } + } + }, + "range": [ + 1225, + 1230 + ], + "loc": { + "start": { + "line": 73, + "column": 9 + }, + "end": { + "line": 73, + "column": 14 + } + } + } + ], + "kind": "var", + "range": [ + 1218, + 1231 + ], + "loc": { + "start": { + "line": 73, + "column": 2 + }, + "end": { + "line": 73, + "column": 15 + } + } + }, + { + "type": "WhileStatement", + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "j0", + "range": [ + 1241, + 1243 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 75, + "column": 10 + } + } + }, + "right": { + "type": "Identifier", + "name": "j1", + "range": [ + 1246, + 1248 + ], + "loc": { + "start": { + "line": 75, + "column": 13 + }, + "end": { + "line": 75, + "column": 15 + } + } + }, + "range": [ + 1241, + 1248 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 75, + "column": 15 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 1254, + 1255 + ], + "loc": { + "start": { + "line": 76, + "column": 3 + }, + "end": { + "line": 76, + "column": 4 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 1258, + 1259 + ], + "loc": { + "start": { + "line": 76, + "column": 7 + }, + "end": { + "line": 76, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "name": "i0", + "range": [ + 1260, + 1262 + ], + "loc": { + "start": { + "line": 76, + "column": 9 + }, + "end": { + "line": 76, + "column": 11 + } + } + }, + "range": [ + 1258, + 1263 + ], + "loc": { + "start": { + "line": 76, + "column": 7 + }, + "end": { + "line": 76, + "column": 12 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 1266, + 1267 + ], + "loc": { + "start": { + "line": 76, + "column": 15 + }, + "end": { + "line": 76, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "j0", + "range": [ + 1268, + 1270 + ], + "loc": { + "start": { + "line": 76, + "column": 17 + }, + "end": { + "line": 76, + "column": 19 + } + } + }, + "range": [ + 1266, + 1271 + ], + "loc": { + "start": { + "line": 76, + "column": 15 + }, + "end": { + "line": 76, + "column": 20 + } + } + }, + "range": [ + 1258, + 1271 + ], + "loc": { + "start": { + "line": 76, + "column": 7 + }, + "end": { + "line": 76, + "column": 20 + } + } + }, + "right": { + "type": "Identifier", + "name": "C", + "range": [ + 1274, + 1275 + ], + "loc": { + "start": { + "line": 76, + "column": 23 + }, + "end": { + "line": 76, + "column": 24 + } + } + }, + "range": [ + 1258, + 1275 + ], + "loc": { + "start": { + "line": 76, + "column": 7 + }, + "end": { + "line": 76, + "column": 24 + } + } + }, + "range": [ + 1254, + 1275 + ], + "loc": { + "start": { + "line": 76, + "column": 3 + }, + "end": { + "line": 76, + "column": 24 + } + } + }, + "range": [ + 1254, + 1276 + ], + "loc": { + "start": { + "line": 76, + "column": 3 + }, + "end": { + "line": 76, + "column": 25 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 1280, + 1281 + ], + "loc": { + "start": { + "line": 77, + "column": 3 + }, + "end": { + "line": 77, + "column": 4 + } + } + }, + "property": { + "type": "Identifier", + "name": "k0", + "range": [ + 1282, + 1284 + ], + "loc": { + "start": { + "line": 77, + "column": 5 + }, + "end": { + "line": 77, + "column": 7 + } + } + }, + "range": [ + 1280, + 1285 + ], + "loc": { + "start": { + "line": 77, + "column": 3 + }, + "end": { + "line": 77, + "column": 8 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "%", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 1288, + 1289 + ], + "loc": { + "start": { + "line": 77, + "column": 11 + }, + "end": { + "line": 77, + "column": 12 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 1292, + 1293 + ], + "loc": { + "start": { + "line": 77, + "column": 15 + }, + "end": { + "line": 77, + "column": 16 + } + } + }, + "range": [ + 1288, + 1293 + ], + "loc": { + "start": { + "line": 77, + "column": 11 + }, + "end": { + "line": 77, + "column": 16 + } + } + }, + "range": [ + 1280, + 1293 + ], + "loc": { + "start": { + "line": 77, + "column": 3 + }, + "end": { + "line": 77, + "column": 16 + } + } + }, + "range": [ + 1280, + 1294 + ], + "loc": { + "start": { + "line": 77, + "column": 3 + }, + "end": { + "line": 77, + "column": 17 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "C", + "range": [ + 1298, + 1299 + ], + "loc": { + "start": { + "line": 78, + "column": 3 + }, + "end": { + "line": 78, + "column": 4 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 1302, + 1303 + ], + "loc": { + "start": { + "line": 78, + "column": 7 + }, + "end": { + "line": 78, + "column": 8 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 1306, + 1307 + ], + "loc": { + "start": { + "line": 78, + "column": 11 + }, + "end": { + "line": 78, + "column": 12 + } + } + }, + "range": [ + 1302, + 1307 + ], + "loc": { + "start": { + "line": 78, + "column": 7 + }, + "end": { + "line": 78, + "column": 12 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 1311, + 1312 + ], + "loc": { + "start": { + "line": 78, + "column": 16 + }, + "end": { + "line": 78, + "column": 17 + } + } + }, + "range": [ + 1302, + 1312 + ], + "loc": { + "start": { + "line": 78, + "column": 7 + }, + "end": { + "line": 78, + "column": 17 + } + } + }, + "range": [ + 1298, + 1312 + ], + "loc": { + "start": { + "line": 78, + "column": 3 + }, + "end": { + "line": 78, + "column": 17 + } + } + }, + "range": [ + 1298, + 1313 + ], + "loc": { + "start": { + "line": 78, + "column": 3 + }, + "end": { + "line": 78, + "column": 18 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i0", + "range": [ + 1319, + 1321 + ], + "loc": { + "start": { + "line": 79, + "column": 5 + }, + "end": { + "line": 79, + "column": 7 + } + } + }, + "prefix": true, + "range": [ + 1317, + 1321 + ], + "loc": { + "start": { + "line": 79, + "column": 3 + }, + "end": { + "line": 79, + "column": 7 + } + } + }, + "range": [ + 1317, + 1322 + ], + "loc": { + "start": { + "line": 79, + "column": 3 + }, + "end": { + "line": 79, + "column": 8 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "j0", + "range": [ + 1325, + 1327 + ], + "loc": { + "start": { + "line": 79, + "column": 11 + }, + "end": { + "line": 79, + "column": 13 + } + } + }, + "prefix": true, + "range": [ + 1323, + 1327 + ], + "loc": { + "start": { + "line": 79, + "column": 9 + }, + "end": { + "line": 79, + "column": 13 + } + } + }, + "range": [ + 1323, + 1328 + ], + "loc": { + "start": { + "line": 79, + "column": 9 + }, + "end": { + "line": 79, + "column": 14 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "k0", + "range": [ + 1331, + 1333 + ], + "loc": { + "start": { + "line": 79, + "column": 17 + }, + "end": { + "line": 79, + "column": 19 + } + } + }, + "prefix": true, + "range": [ + 1329, + 1333 + ], + "loc": { + "start": { + "line": 79, + "column": 15 + }, + "end": { + "line": 79, + "column": 19 + } + } + }, + "range": [ + 1329, + 1334 + ], + "loc": { + "start": { + "line": 79, + "column": 15 + }, + "end": { + "line": 79, + "column": 20 + } + } + } + ], + "range": [ + 1249, + 1338 + ], + "loc": { + "start": { + "line": 75, + "column": 16 + }, + "end": { + "line": 80, + "column": 3 + } + } + }, + "range": [ + 1235, + 1338 + ], + "loc": { + "start": { + "line": 75, + "column": 2 + }, + "end": { + "line": 80, + "column": 3 + } + } + }, + { + "type": "WhileStatement", + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i0", + "range": [ + 1348, + 1350 + ], + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 82, + "column": 10 + } + } + }, + "right": { + "type": "Identifier", + "name": "i1", + "range": [ + 1353, + 1355 + ], + "loc": { + "start": { + "line": 82, + "column": 13 + }, + "end": { + "line": 82, + "column": 15 + } + } + }, + "range": [ + 1348, + 1355 + ], + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 82, + "column": 15 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 1361, + 1362 + ], + "loc": { + "start": { + "line": 83, + "column": 3 + }, + "end": { + "line": 83, + "column": 4 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 1365, + 1366 + ], + "loc": { + "start": { + "line": 83, + "column": 7 + }, + "end": { + "line": 83, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "name": "i0", + "range": [ + 1367, + 1369 + ], + "loc": { + "start": { + "line": 83, + "column": 9 + }, + "end": { + "line": 83, + "column": 11 + } + } + }, + "range": [ + 1365, + 1370 + ], + "loc": { + "start": { + "line": 83, + "column": 7 + }, + "end": { + "line": 83, + "column": 12 + } + } + }, + "right": { + "type": "Identifier", + "name": "C", + "range": [ + 1373, + 1374 + ], + "loc": { + "start": { + "line": 83, + "column": 15 + }, + "end": { + "line": 83, + "column": 16 + } + } + }, + "range": [ + 1365, + 1374 + ], + "loc": { + "start": { + "line": 83, + "column": 7 + }, + "end": { + "line": 83, + "column": 16 + } + } + }, + "range": [ + 1361, + 1374 + ], + "loc": { + "start": { + "line": 83, + "column": 3 + }, + "end": { + "line": 83, + "column": 16 + } + } + }, + "range": [ + 1361, + 1375 + ], + "loc": { + "start": { + "line": 83, + "column": 3 + }, + "end": { + "line": 83, + "column": 17 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 1379, + 1380 + ], + "loc": { + "start": { + "line": 84, + "column": 3 + }, + "end": { + "line": 84, + "column": 4 + } + } + }, + "property": { + "type": "Identifier", + "name": "k0", + "range": [ + 1381, + 1383 + ], + "loc": { + "start": { + "line": 84, + "column": 5 + }, + "end": { + "line": 84, + "column": 7 + } + } + }, + "range": [ + 1379, + 1384 + ], + "loc": { + "start": { + "line": 84, + "column": 3 + }, + "end": { + "line": 84, + "column": 8 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "%", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 1387, + 1388 + ], + "loc": { + "start": { + "line": 84, + "column": 11 + }, + "end": { + "line": 84, + "column": 12 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 1391, + 1392 + ], + "loc": { + "start": { + "line": 84, + "column": 15 + }, + "end": { + "line": 84, + "column": 16 + } + } + }, + "range": [ + 1387, + 1392 + ], + "loc": { + "start": { + "line": 84, + "column": 11 + }, + "end": { + "line": 84, + "column": 16 + } + } + }, + "range": [ + 1379, + 1392 + ], + "loc": { + "start": { + "line": 84, + "column": 3 + }, + "end": { + "line": 84, + "column": 16 + } + } + }, + "range": [ + 1379, + 1393 + ], + "loc": { + "start": { + "line": 84, + "column": 3 + }, + "end": { + "line": 84, + "column": 17 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "C", + "range": [ + 1397, + 1398 + ], + "loc": { + "start": { + "line": 85, + "column": 3 + }, + "end": { + "line": 85, + "column": 4 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 1401, + 1402 + ], + "loc": { + "start": { + "line": 85, + "column": 7 + }, + "end": { + "line": 85, + "column": 8 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 1405, + 1406 + ], + "loc": { + "start": { + "line": 85, + "column": 11 + }, + "end": { + "line": 85, + "column": 12 + } + } + }, + "range": [ + 1401, + 1406 + ], + "loc": { + "start": { + "line": 85, + "column": 7 + }, + "end": { + "line": 85, + "column": 12 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 1410, + 1411 + ], + "loc": { + "start": { + "line": 85, + "column": 16 + }, + "end": { + "line": 85, + "column": 17 + } + } + }, + "range": [ + 1401, + 1411 + ], + "loc": { + "start": { + "line": 85, + "column": 7 + }, + "end": { + "line": 85, + "column": 17 + } + } + }, + "range": [ + 1397, + 1411 + ], + "loc": { + "start": { + "line": 85, + "column": 3 + }, + "end": { + "line": 85, + "column": 17 + } + } + }, + "range": [ + 1397, + 1412 + ], + "loc": { + "start": { + "line": 85, + "column": 3 + }, + "end": { + "line": 85, + "column": 18 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i0", + "range": [ + 1418, + 1420 + ], + "loc": { + "start": { + "line": 86, + "column": 5 + }, + "end": { + "line": 86, + "column": 7 + } + } + }, + "prefix": true, + "range": [ + 1416, + 1420 + ], + "loc": { + "start": { + "line": 86, + "column": 3 + }, + "end": { + "line": 86, + "column": 7 + } + } + }, + "range": [ + 1416, + 1421 + ], + "loc": { + "start": { + "line": 86, + "column": 3 + }, + "end": { + "line": 86, + "column": 8 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "k0", + "range": [ + 1424, + 1426 + ], + "loc": { + "start": { + "line": 86, + "column": 11 + }, + "end": { + "line": 86, + "column": 13 + } + } + }, + "prefix": true, + "range": [ + 1422, + 1426 + ], + "loc": { + "start": { + "line": 86, + "column": 9 + }, + "end": { + "line": 86, + "column": 13 + } + } + }, + "range": [ + 1422, + 1427 + ], + "loc": { + "start": { + "line": 86, + "column": 9 + }, + "end": { + "line": 86, + "column": 14 + } + } + } + ], + "range": [ + 1356, + 1431 + ], + "loc": { + "start": { + "line": 82, + "column": 16 + }, + "end": { + "line": 87, + "column": 3 + } + } + }, + "range": [ + 1342, + 1431 + ], + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 87, + "column": 3 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "k0", + "range": [ + 1438, + 1440 + ], + "loc": { + "start": { + "line": 89, + "column": 5 + }, + "end": { + "line": 89, + "column": 7 + } + } + }, + "right": { + "type": "Identifier", + "name": "k1", + "range": [ + 1443, + 1445 + ], + "loc": { + "start": { + "line": 89, + "column": 10 + }, + "end": { + "line": 89, + "column": 12 + } + } + }, + "range": [ + 1438, + 1445 + ], + "loc": { + "start": { + "line": 89, + "column": 5 + }, + "end": { + "line": 89, + "column": 12 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 1451, + 1452 + ], + "loc": { + "start": { + "line": 90, + "column": 3 + }, + "end": { + "line": 90, + "column": 4 + } + } + }, + "property": { + "type": "Identifier", + "name": "k0", + "range": [ + 1453, + 1455 + ], + "loc": { + "start": { + "line": 90, + "column": 5 + }, + "end": { + "line": 90, + "column": 7 + } + } + }, + "range": [ + 1451, + 1456 + ], + "loc": { + "start": { + "line": 90, + "column": 3 + }, + "end": { + "line": 90, + "column": 8 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "+", + "argument": { + "type": "Identifier", + "name": "C", + "range": [ + 1460, + 1461 + ], + "loc": { + "start": { + "line": 90, + "column": 12 + }, + "end": { + "line": 90, + "column": 13 + } + } + }, + "prefix": true, + "range": [ + 1459, + 1461 + ], + "loc": { + "start": { + "line": 90, + "column": 11 + }, + "end": { + "line": 90, + "column": 13 + } + } + }, + "range": [ + 1451, + 1461 + ], + "loc": { + "start": { + "line": 90, + "column": 3 + }, + "end": { + "line": 90, + "column": 13 + } + } + }, + "range": [ + 1451, + 1462 + ], + "loc": { + "start": { + "line": 90, + "column": 3 + }, + "end": { + "line": 90, + "column": 14 + } + } + } + ], + "range": [ + 1446, + 1466 + ], + "loc": { + "start": { + "line": 89, + "column": 13 + }, + "end": { + "line": 91, + "column": 3 + } + } + }, + "alternate": null, + "range": [ + 1435, + 1466 + ], + "loc": { + "start": { + "line": 89, + "column": 2 + }, + "end": { + "line": 91, + "column": 3 + } + } + } + ], + "range": [ + 1214, + 1470 + ], + "loc": { + "start": { + "line": 72, + "column": 49 + }, + "end": { + "line": 93, + "column": 2 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1173, + 1470 + ], + "loc": { + "start": { + "line": 72, + "column": 8 + }, + "end": { + "line": 93, + "column": 2 + } + } + }, + "range": [ + 1166, + 1471 + ], + "loc": { + "start": { + "line": 72, + "column": 1 + }, + "end": { + "line": 93, + "column": 3 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n\t * Adds two little endian arrays, k >= i >= j\n\t * wraps\n\t *\n\t * @param {array} a first operand\n\t * @param {int} i0 a left\n\t * @param {int} i1 a right\n\t * @param {array} b second operand\n\t * @param {int} j0 b left\n\t * @param {int} j1 b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} k0 c left\n\t * @param {int} k1 c right\n\t ", + "range": [ + 807, + 1163 + ], + "loc": { + "start": { + "line": 57, + "column": 1 + }, + "end": { + "line": 70, + "column": 4 + } + } + } + ] + } + ], + "range": [ + 803, + 1473 + ], + "loc": { + "start": { + "line": 55, + "column": 25 + }, + "end": { + "line": 94, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 785, + 1473 + ], + "loc": { + "start": { + "line": 55, + "column": 7 + }, + "end": { + "line": 94, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * @param {int} r base (radix)\n ", + "range": [ + 738, + 776 + ], + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 53, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 778, + 1473 + ], + "loc": { + "start": { + "line": 55, + "column": 0 + }, + "end": { + "line": 94, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * @param {int} r base (radix)\n ", + "range": [ + 738, + 776 + ], + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 53, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 42, + 1473 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 94, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * @param {int} r base (radix)\n ", + "range": [ + 1, + 39 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 4, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n\t * Adds two big endian arrays, k >= i >= j\n\t * wraps\n\t *\n\t * @param {array} a first operand\n\t * @param {int} i0 a left\n\t * @param {int} i1 a right\n\t * @param {array} b second operand\n\t * @param {int} j0 b left\n\t * @param {int} j1 b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} k0 c left\n\t * @param {int} k1 c right\n\t ", + "range": [ + 74, + 427 + ], + "loc": { + "start": { + "line": 10, + "column": 1 + }, + "end": { + "line": 23, + "column": 4 + } + } + }, + { + "type": "Block", + "value": "*\n * @param {int} r base (radix)\n ", + "range": [ + 738, + 776 + ], + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 53, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n\t * Adds two little endian arrays, k >= i >= j\n\t * wraps\n\t *\n\t * @param {array} a first operand\n\t * @param {int} i0 a left\n\t * @param {int} i1 a right\n\t * @param {array} b second operand\n\t * @param {int} j0 b left\n\t * @param {int} j1 b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} k0 c left\n\t * @param {int} k1 c right\n\t ", + "range": [ + 807, + 1163 + ], + "loc": { + "start": { + "line": 57, + "column": 1 + }, + "end": { + "line": 70, + "column": 4 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/add/index.js.json b/ast/source/0-legacy/arithmetic/add/index.js.json new file mode 100644 index 0000000..fe01cb4 --- /dev/null +++ b/ast/source/0-legacy/arithmetic/add/index.js.json @@ -0,0 +1,57 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./add", + "raw": "'./add'", + "range": [ + 14, + 21 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 21 + } + } + }, + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/div/dcdiv.js.json b/ast/source/0-legacy/arithmetic/div/dcdiv.js.json new file mode 100644 index 0000000..8adf8d7 --- /dev/null +++ b/ast/source/0-legacy/arithmetic/div/dcdiv.js.json @@ -0,0 +1,59 @@ +{ + "type": "Program", + "body": [], + "sourceType": "module", + "range": [ + 63, + 63 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 0 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " https://gmplib.org/manual/Divide-and-Conquer-Division.html", + "range": [ + 1, + 62 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 61 + } + } + } + ], + "comments": [ + { + "type": "Line", + "value": " https://gmplib.org/manual/Divide-and-Conquer-Division.html", + "range": [ + 1, + 62 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 61 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/div/div.js.json b/ast/source/0-legacy/arithmetic/div/div.js.json new file mode 100644 index 0000000..0d17cf7 --- /dev/null +++ b/ast/source/0-legacy/arithmetic/div/div.js.json @@ -0,0 +1,2725 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "bdiv_t", + "range": [ + 19, + 25 + ], + "loc": { + "start": { + "line": 4, + "column": 16 + }, + "end": { + "line": 4, + "column": 22 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "lt", + "range": [ + 27, + 29 + ], + "loc": { + "start": { + "line": 4, + "column": 24 + }, + "end": { + "line": 4, + "column": 26 + } + } + }, + { + "type": "Identifier", + "name": "sub", + "range": [ + 31, + 34 + ], + "loc": { + "start": { + "line": 4, + "column": 28 + }, + "end": { + "line": 4, + "column": 31 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "div", + "range": [ + 763, + 766 + ], + "loc": { + "start": { + "line": 32, + "column": 5 + }, + "end": { + "line": 32, + "column": 8 + } + } + }, + "init": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "r", + "range": [ + 778, + 779 + ], + "loc": { + "start": { + "line": 32, + "column": 20 + }, + "end": { + "line": 32, + "column": 21 + } + } + }, + { + "type": "Identifier", + "name": "ri", + "range": [ + 781, + 783 + ], + "loc": { + "start": { + "line": 32, + "column": 23 + }, + "end": { + "line": 32, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "rj", + "range": [ + 785, + 787 + ], + "loc": { + "start": { + "line": 32, + "column": 27 + }, + "end": { + "line": 32, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 789, + 790 + ], + "loc": { + "start": { + "line": 32, + "column": 31 + }, + "end": { + "line": 32, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 792, + 794 + ], + "loc": { + "start": { + "line": 32, + "column": 34 + }, + "end": { + "line": 32, + "column": 36 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 796, + 798 + ], + "loc": { + "start": { + "line": 32, + "column": 38 + }, + "end": { + "line": 32, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "q", + "range": [ + 800, + 801 + ], + "loc": { + "start": { + "line": 32, + "column": 42 + }, + "end": { + "line": 32, + "column": 43 + } + } + }, + { + "type": "Identifier", + "name": "qi", + "range": [ + 803, + 805 + ], + "loc": { + "start": { + "line": 32, + "column": 45 + }, + "end": { + "line": 32, + "column": 47 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "k", + "range": [ + 814, + 815 + ], + "loc": { + "start": { + "line": 33, + "column": 6 + }, + "end": { + "line": 33, + "column": 7 + } + } + }, + "init": null, + "range": [ + 814, + 815 + ], + "loc": { + "start": { + "line": 33, + "column": 6 + }, + "end": { + "line": 33, + "column": 7 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "t", + "range": [ + 817, + 818 + ], + "loc": { + "start": { + "line": 33, + "column": 9 + }, + "end": { + "line": 33, + "column": 10 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "ri", + "range": [ + 821, + 823 + ], + "loc": { + "start": { + "line": 33, + "column": 13 + }, + "end": { + "line": 33, + "column": 15 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 826, + 827 + ], + "loc": { + "start": { + "line": 33, + "column": 18 + }, + "end": { + "line": 33, + "column": 19 + } + } + }, + "range": [ + 821, + 827 + ], + "loc": { + "start": { + "line": 33, + "column": 13 + }, + "end": { + "line": 33, + "column": 19 + } + } + }, + "range": [ + 817, + 827 + ], + "loc": { + "start": { + "line": 33, + "column": 9 + }, + "end": { + "line": 33, + "column": 19 + } + } + } + ], + "kind": "var", + "range": [ + 810, + 828 + ], + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 33, + "column": 20 + } + } + }, + { + "type": "DoWhileStatement", + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "WhileStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "ri", + "range": [ + 1070, + 1072 + ], + "loc": { + "start": { + "line": 41, + "column": 10 + }, + "end": { + "line": 41, + "column": 12 + } + } + }, + "right": { + "type": "Identifier", + "name": "rj", + "range": [ + 1075, + 1077 + ], + "loc": { + "start": { + "line": 41, + "column": 15 + }, + "end": { + "line": 41, + "column": 17 + } + } + }, + "range": [ + 1070, + 1077 + ], + "loc": { + "start": { + "line": 41, + "column": 10 + }, + "end": { + "line": 41, + "column": 17 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "r", + "range": [ + 1081, + 1082 + ], + "loc": { + "start": { + "line": 41, + "column": 21 + }, + "end": { + "line": 41, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "ri", + "range": [ + 1083, + 1085 + ], + "loc": { + "start": { + "line": 41, + "column": 23 + }, + "end": { + "line": 41, + "column": 25 + } + } + }, + "range": [ + 1081, + 1086 + ], + "loc": { + "start": { + "line": 41, + "column": 21 + }, + "end": { + "line": 41, + "column": 26 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 1091, + 1092 + ], + "loc": { + "start": { + "line": 41, + "column": 31 + }, + "end": { + "line": 41, + "column": 32 + } + } + }, + "range": [ + 1081, + 1092 + ], + "loc": { + "start": { + "line": 41, + "column": 21 + }, + "end": { + "line": 41, + "column": 32 + } + } + }, + "range": [ + 1070, + 1092 + ], + "loc": { + "start": { + "line": 41, + "column": 10 + }, + "end": { + "line": 41, + "column": 32 + } + } + }, + "body": { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "ri", + "range": [ + 1096, + 1098 + ], + "loc": { + "start": { + "line": 41, + "column": 36 + }, + "end": { + "line": 41, + "column": 38 + } + } + }, + "prefix": true, + "range": [ + 1094, + 1098 + ], + "loc": { + "start": { + "line": 41, + "column": 34 + }, + "end": { + "line": 41, + "column": 38 + } + } + }, + "range": [ + 1094, + 1099 + ], + "loc": { + "start": { + "line": 41, + "column": 34 + }, + "end": { + "line": 41, + "column": 39 + } + } + }, + "range": [ + 1063, + 1099 + ], + "loc": { + "start": { + "line": 41, + "column": 3 + }, + "end": { + "line": 41, + "column": 39 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " trim leading zeros", + "range": [ + 841, + 862 + ], + "loc": { + "start": { + "line": 37, + "column": 3 + }, + "end": { + "line": 37, + "column": 24 + } + } + }, + { + "type": "Line", + "value": " - maybe could try to put this procedure inside the sub loop", + "range": [ + 866, + 932 + ], + "loc": { + "start": { + "line": 38, + "column": 3 + }, + "end": { + "line": 38, + "column": 69 + } + } + }, + { + "type": "Line", + "value": " - or assume that the number is trimed at the begining", + "range": [ + 936, + 996 + ], + "loc": { + "start": { + "line": 39, + "column": 3 + }, + "end": { + "line": 39, + "column": 63 + } + } + }, + { + "type": "Line", + "value": " and put this statement at the end of the main loop", + "range": [ + 1000, + 1059 + ], + "loc": { + "start": { + "line": 40, + "column": 3 + }, + "end": { + "line": 40, + "column": 62 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " search for a remainder block interval", + "range": [ + 1104, + 1144 + ], + "loc": { + "start": { + "line": 43, + "column": 3 + }, + "end": { + "line": 43, + "column": 43 + } + } + }, + { + "type": "Line", + "value": " greater than the divisor", + "range": [ + 1148, + 1175 + ], + "loc": { + "start": { + "line": 44, + "column": 3 + }, + "end": { + "line": 44, + "column": 30 + } + } + }, + { + "type": "Line", + "value": " - maybe could try binary search on the lt function", + "range": [ + 1179, + 1236 + ], + "loc": { + "start": { + "line": 45, + "column": 3 + }, + "end": { + "line": 45, + "column": 60 + } + } + }, + { + "type": "Line", + "value": " for another implementation", + "range": [ + 1240, + 1273 + ], + "loc": { + "start": { + "line": 46, + "column": 3 + }, + "end": { + "line": 46, + "column": 36 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 1277, + 1278 + ], + "loc": { + "start": { + "line": 47, + "column": 3 + }, + "end": { + "line": 47, + "column": 4 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "ri", + "range": [ + 1281, + 1283 + ], + "loc": { + "start": { + "line": 47, + "column": 7 + }, + "end": { + "line": 47, + "column": 9 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 1286, + 1287 + ], + "loc": { + "start": { + "line": 47, + "column": 12 + }, + "end": { + "line": 47, + "column": 13 + } + } + }, + "range": [ + 1281, + 1287 + ], + "loc": { + "start": { + "line": 47, + "column": 7 + }, + "end": { + "line": 47, + "column": 13 + } + } + }, + "range": [ + 1277, + 1287 + ], + "loc": { + "start": { + "line": 47, + "column": 3 + }, + "end": { + "line": 47, + "column": 13 + } + } + }, + "range": [ + 1277, + 1288 + ], + "loc": { + "start": { + "line": 47, + "column": 3 + }, + "end": { + "line": 47, + "column": 14 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " search for a remainder block interval", + "range": [ + 1104, + 1144 + ], + "loc": { + "start": { + "line": 43, + "column": 3 + }, + "end": { + "line": 43, + "column": 43 + } + } + }, + { + "type": "Line", + "value": " greater than the divisor", + "range": [ + 1148, + 1175 + ], + "loc": { + "start": { + "line": 44, + "column": 3 + }, + "end": { + "line": 44, + "column": 30 + } + } + }, + { + "type": "Line", + "value": " - maybe could try binary search on the lt function", + "range": [ + 1179, + 1236 + ], + "loc": { + "start": { + "line": 45, + "column": 3 + }, + "end": { + "line": 45, + "column": 60 + } + } + }, + { + "type": "Line", + "value": " for another implementation", + "range": [ + 1240, + 1273 + ], + "loc": { + "start": { + "line": 46, + "column": 3 + }, + "end": { + "line": 46, + "column": 36 + } + } + } + ] + }, + { + "type": "WhileStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "<=", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 1299, + 1300 + ], + "loc": { + "start": { + "line": 48, + "column": 10 + }, + "end": { + "line": 48, + "column": 11 + } + } + }, + "right": { + "type": "Identifier", + "name": "rj", + "range": [ + 1304, + 1306 + ], + "loc": { + "start": { + "line": 48, + "column": 15 + }, + "end": { + "line": 48, + "column": 17 + } + } + }, + "range": [ + 1299, + 1306 + ], + "loc": { + "start": { + "line": 48, + "column": 10 + }, + "end": { + "line": 48, + "column": 17 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "lt", + "range": [ + 1310, + 1312 + ], + "loc": { + "start": { + "line": 48, + "column": 21 + }, + "end": { + "line": 48, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "r", + "range": [ + 1313, + 1314 + ], + "loc": { + "start": { + "line": 48, + "column": 24 + }, + "end": { + "line": 48, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "ri", + "range": [ + 1316, + 1318 + ], + "loc": { + "start": { + "line": 48, + "column": 27 + }, + "end": { + "line": 48, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "k", + "range": [ + 1320, + 1321 + ], + "loc": { + "start": { + "line": 48, + "column": 31 + }, + "end": { + "line": 48, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 1323, + 1324 + ], + "loc": { + "start": { + "line": 48, + "column": 34 + }, + "end": { + "line": 48, + "column": 35 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 1326, + 1328 + ], + "loc": { + "start": { + "line": 48, + "column": 37 + }, + "end": { + "line": 48, + "column": 39 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 1330, + 1332 + ], + "loc": { + "start": { + "line": 48, + "column": 41 + }, + "end": { + "line": 48, + "column": 43 + } + } + } + ], + "range": [ + 1310, + 1333 + ], + "loc": { + "start": { + "line": 48, + "column": 21 + }, + "end": { + "line": 48, + "column": 44 + } + } + }, + "range": [ + 1299, + 1333 + ], + "loc": { + "start": { + "line": 48, + "column": 10 + }, + "end": { + "line": 48, + "column": 44 + } + } + }, + "body": { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "k", + "range": [ + 1337, + 1338 + ], + "loc": { + "start": { + "line": 48, + "column": 48 + }, + "end": { + "line": 48, + "column": 49 + } + } + }, + "prefix": true, + "range": [ + 1335, + 1338 + ], + "loc": { + "start": { + "line": 48, + "column": 46 + }, + "end": { + "line": 48, + "column": 49 + } + } + }, + "range": [ + 1335, + 1339 + ], + "loc": { + "start": { + "line": 48, + "column": 46 + }, + "end": { + "line": 48, + "column": 50 + } + } + }, + "range": [ + 1292, + 1339 + ], + "loc": { + "start": { + "line": 48, + "column": 3 + }, + "end": { + "line": 48, + "column": 50 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " remainder smaller than divisor --> end", + "range": [ + 1344, + 1385 + ], + "loc": { + "start": { + "line": 50, + "column": 3 + }, + "end": { + "line": 50, + "column": 44 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 1393, + 1394 + ], + "loc": { + "start": { + "line": 51, + "column": 7 + }, + "end": { + "line": 51, + "column": 8 + } + } + }, + "right": { + "type": "Identifier", + "name": "rj", + "range": [ + 1397, + 1399 + ], + "loc": { + "start": { + "line": 51, + "column": 11 + }, + "end": { + "line": 51, + "column": 13 + } + } + }, + "range": [ + 1393, + 1399 + ], + "loc": { + "start": { + "line": 51, + "column": 7 + }, + "end": { + "line": 51, + "column": 13 + } + } + }, + "consequent": { + "type": "BreakStatement", + "label": null, + "range": [ + 1401, + 1407 + ], + "loc": { + "start": { + "line": 51, + "column": 15 + }, + "end": { + "line": 51, + "column": 21 + } + } + }, + "alternate": null, + "range": [ + 1389, + 1407 + ], + "loc": { + "start": { + "line": 51, + "column": 3 + }, + "end": { + "line": 51, + "column": 21 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " remainder smaller than divisor --> end", + "range": [ + 1344, + 1385 + ], + "loc": { + "start": { + "line": 50, + "column": 3 + }, + "end": { + "line": 50, + "column": 44 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " divide current block interval by quotient", + "range": [ + 1412, + 1456 + ], + "loc": { + "start": { + "line": 53, + "column": 3 + }, + "end": { + "line": 53, + "column": 47 + } + } + } + ] + }, + { + "type": "DoWhileStatement", + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "q", + "range": [ + 1566, + 1567 + ], + "loc": { + "start": { + "line": 58, + "column": 6 + }, + "end": { + "line": 58, + "column": 7 + } + } + }, + "property": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "qi", + "range": [ + 1568, + 1570 + ], + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 58, + "column": 10 + } + } + }, + "right": { + "type": "Identifier", + "name": "k", + "range": [ + 1573, + 1574 + ], + "loc": { + "start": { + "line": 58, + "column": 13 + }, + "end": { + "line": 58, + "column": 14 + } + } + }, + "range": [ + 1568, + 1574 + ], + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 58, + "column": 14 + } + } + }, + "right": { + "type": "Identifier", + "name": "t", + "range": [ + 1577, + 1578 + ], + "loc": { + "start": { + "line": 58, + "column": 17 + }, + "end": { + "line": 58, + "column": 18 + } + } + }, + "range": [ + 1568, + 1578 + ], + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 58, + "column": 18 + } + } + }, + "range": [ + 1566, + 1579 + ], + "loc": { + "start": { + "line": 58, + "column": 6 + }, + "end": { + "line": 58, + "column": 19 + } + } + }, + "prefix": true, + "range": [ + 1564, + 1579 + ], + "loc": { + "start": { + "line": 58, + "column": 4 + }, + "end": { + "line": 58, + "column": 19 + } + } + }, + "range": [ + 1564, + 1580 + ], + "loc": { + "start": { + "line": 58, + "column": 4 + }, + "end": { + "line": 58, + "column": 20 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " increment quotient block corresponding", + "range": [ + 1469, + 1510 + ], + "loc": { + "start": { + "line": 56, + "column": 4 + }, + "end": { + "line": 56, + "column": 45 + } + } + }, + { + "type": "Line", + "value": " to current ls block of remainder interval", + "range": [ + 1515, + 1559 + ], + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 48 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " subtract divisor from current remainder", + "range": [ + 1586, + 1628 + ], + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 60, + "column": 46 + } + } + }, + { + "type": "Line", + "value": " block interval", + "range": [ + 1633, + 1650 + ], + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 21 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "sub", + "range": [ + 1655, + 1658 + ], + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 7 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "r", + "range": [ + 1659, + 1660 + ], + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 62, + "column": 9 + } + } + }, + { + "type": "Identifier", + "name": "ri", + "range": [ + 1662, + 1664 + ], + "loc": { + "start": { + "line": 62, + "column": 11 + }, + "end": { + "line": 62, + "column": 13 + } + } + }, + { + "type": "Identifier", + "name": "k", + "range": [ + 1666, + 1667 + ], + "loc": { + "start": { + "line": 62, + "column": 15 + }, + "end": { + "line": 62, + "column": 16 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 1669, + 1670 + ], + "loc": { + "start": { + "line": 62, + "column": 18 + }, + "end": { + "line": 62, + "column": 19 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 1672, + 1674 + ], + "loc": { + "start": { + "line": 62, + "column": 21 + }, + "end": { + "line": 62, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 1676, + 1678 + ], + "loc": { + "start": { + "line": 62, + "column": 25 + }, + "end": { + "line": 62, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "r", + "range": [ + 1680, + 1681 + ], + "loc": { + "start": { + "line": 62, + "column": 29 + }, + "end": { + "line": 62, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "ri", + "range": [ + 1683, + 1685 + ], + "loc": { + "start": { + "line": 62, + "column": 32 + }, + "end": { + "line": 62, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "k", + "range": [ + 1687, + 1688 + ], + "loc": { + "start": { + "line": 62, + "column": 36 + }, + "end": { + "line": 62, + "column": 37 + } + } + } + ], + "range": [ + 1655, + 1689 + ], + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 38 + } + } + }, + "range": [ + 1655, + 1690 + ], + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 39 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " subtract divisor from current remainder", + "range": [ + 1586, + 1628 + ], + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 60, + "column": 46 + } + } + }, + { + "type": "Line", + "value": " block interval", + "range": [ + 1633, + 1650 + ], + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 21 + } + } + } + ] + } + ], + "range": [ + 1462, + 1696 + ], + "loc": { + "start": { + "line": 54, + "column": 5 + }, + "end": { + "line": 64, + "column": 4 + } + } + }, + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "lt", + "range": [ + 1704, + 1706 + ], + "loc": { + "start": { + "line": 64, + "column": 12 + }, + "end": { + "line": 64, + "column": 14 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "r", + "range": [ + 1707, + 1708 + ], + "loc": { + "start": { + "line": 64, + "column": 15 + }, + "end": { + "line": 64, + "column": 16 + } + } + }, + { + "type": "Identifier", + "name": "ri", + "range": [ + 1710, + 1712 + ], + "loc": { + "start": { + "line": 64, + "column": 18 + }, + "end": { + "line": 64, + "column": 20 + } + } + }, + { + "type": "Identifier", + "name": "k", + "range": [ + 1714, + 1715 + ], + "loc": { + "start": { + "line": 64, + "column": 22 + }, + "end": { + "line": 64, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 1717, + 1718 + ], + "loc": { + "start": { + "line": 64, + "column": 25 + }, + "end": { + "line": 64, + "column": 26 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 1720, + 1722 + ], + "loc": { + "start": { + "line": 64, + "column": 28 + }, + "end": { + "line": 64, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 1724, + 1726 + ], + "loc": { + "start": { + "line": 64, + "column": 32 + }, + "end": { + "line": 64, + "column": 34 + } + } + } + ], + "range": [ + 1704, + 1727 + ], + "loc": { + "start": { + "line": 64, + "column": 12 + }, + "end": { + "line": 64, + "column": 35 + } + } + }, + "prefix": true, + "range": [ + 1703, + 1727 + ], + "loc": { + "start": { + "line": 64, + "column": 11 + }, + "end": { + "line": 64, + "column": 35 + } + } + }, + "range": [ + 1460, + 1729 + ], + "loc": { + "start": { + "line": 54, + "column": 3 + }, + "end": { + "line": 64, + "column": 37 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " divide current block interval by quotient", + "range": [ + 1412, + 1456 + ], + "loc": { + "start": { + "line": 53, + "column": 3 + }, + "end": { + "line": 53, + "column": 47 + } + } + } + ] + } + ], + "range": [ + 835, + 1735 + ], + "loc": { + "start": { + "line": 35, + "column": 5 + }, + "end": { + "line": 67, + "column": 3 + } + } + }, + "test": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 1742, + 1746 + ], + "loc": { + "start": { + "line": 67, + "column": 10 + }, + "end": { + "line": 67, + "column": 14 + } + } + }, + "range": [ + 832, + 1748 + ], + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 67, + "column": 16 + } + } + } + ], + "range": [ + 806, + 1752 + ], + "loc": { + "start": { + "line": 32, + "column": 48 + }, + "end": { + "line": 69, + "column": 2 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 769, + 1752 + ], + "loc": { + "start": { + "line": 32, + "column": 11 + }, + "end": { + "line": 69, + "column": 2 + } + } + }, + "range": [ + 763, + 1752 + ], + "loc": { + "start": { + "line": 32, + "column": 5 + }, + "end": { + "line": 69, + "column": 2 + } + } + } + ], + "kind": "var", + "range": [ + 759, + 1753 + ], + "loc": { + "start": { + "line": 32, + "column": 1 + }, + "end": { + "line": 69, + "column": 3 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n\t * Computes quotient and remainder of two big endian arrays.\n\t *

      \n\t * Computes quotient and remainder of two big endian arrays\n\t * using long division algorithm (the one teached in\n\t * european primary schools).\n\t *\n\t * /!\\ This algorithm modifies its first operand.\n\t *\n\t * HYP : q is at least as large as r\n\t * b is not zero\n\t *\n\t * @param {array} r dividend and remainder\n\t * @param {int} ri r left\n\t * @param {int} rj r right\n\t * @param {array} b divisor\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} q quotient, must be 0 initialized\n\t * @param {int} qi q left\n\t ", + "range": [ + 39, + 651 + ], + "loc": { + "start": { + "line": 6, + "column": 1 + }, + "end": { + "line": 26, + "column": 4 + } + } + }, + { + "type": "Line", + "value": " /!\\ There are implicit hypotheses", + "range": [ + 654, + 690 + ], + "loc": { + "start": { + "line": 28, + "column": 1 + }, + "end": { + "line": 28, + "column": 37 + } + } + }, + { + "type": "Line", + "value": " made on the size of the operands.", + "range": [ + 692, + 732 + ], + "loc": { + "start": { + "line": 29, + "column": 1 + }, + "end": { + "line": 29, + "column": 41 + } + } + }, + { + "type": "Line", + "value": " Should clarify.", + "range": [ + 734, + 756 + ], + "loc": { + "start": { + "line": 30, + "column": 1 + }, + "end": { + "line": 30, + "column": 23 + } + } + } + ] + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "div", + "range": [ + 1763, + 1766 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 71, + "column": 11 + } + } + }, + "range": [ + 1756, + 1767 + ], + "loc": { + "start": { + "line": 71, + "column": 1 + }, + "end": { + "line": 71, + "column": 12 + } + } + } + ], + "range": [ + 35, + 1770 + ], + "loc": { + "start": { + "line": 4, + "column": 32 + }, + "end": { + "line": 73, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 10, + 1770 + ], + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 73, + "column": 1 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 3, + 1770 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 73, + "column": 1 + } + } + } + ], + "sourceType": "module", + "range": [ + 3, + 1770 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 73, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n\t * Computes quotient and remainder of two big endian arrays.\n\t *

      \n\t * Computes quotient and remainder of two big endian arrays\n\t * using long division algorithm (the one teached in\n\t * european primary schools).\n\t *\n\t * /!\\ This algorithm modifies its first operand.\n\t *\n\t * HYP : q is at least as large as r\n\t * b is not zero\n\t *\n\t * @param {array} r dividend and remainder\n\t * @param {int} ri r left\n\t * @param {int} rj r right\n\t * @param {array} b divisor\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} q quotient, must be 0 initialized\n\t * @param {int} qi q left\n\t ", + "range": [ + 39, + 651 + ], + "loc": { + "start": { + "line": 6, + "column": 1 + }, + "end": { + "line": 26, + "column": 4 + } + } + }, + { + "type": "Line", + "value": " /!\\ There are implicit hypotheses", + "range": [ + 654, + 690 + ], + "loc": { + "start": { + "line": 28, + "column": 1 + }, + "end": { + "line": 28, + "column": 37 + } + } + }, + { + "type": "Line", + "value": " made on the size of the operands.", + "range": [ + 692, + 732 + ], + "loc": { + "start": { + "line": 29, + "column": 1 + }, + "end": { + "line": 29, + "column": 41 + } + } + }, + { + "type": "Line", + "value": " Should clarify.", + "range": [ + 734, + 756 + ], + "loc": { + "start": { + "line": 30, + "column": 1 + }, + "end": { + "line": 30, + "column": 23 + } + } + }, + { + "type": "Line", + "value": " trim leading zeros", + "range": [ + 841, + 862 + ], + "loc": { + "start": { + "line": 37, + "column": 3 + }, + "end": { + "line": 37, + "column": 24 + } + } + }, + { + "type": "Line", + "value": " - maybe could try to put this procedure inside the sub loop", + "range": [ + 866, + 932 + ], + "loc": { + "start": { + "line": 38, + "column": 3 + }, + "end": { + "line": 38, + "column": 69 + } + } + }, + { + "type": "Line", + "value": " - or assume that the number is trimed at the begining", + "range": [ + 936, + 996 + ], + "loc": { + "start": { + "line": 39, + "column": 3 + }, + "end": { + "line": 39, + "column": 63 + } + } + }, + { + "type": "Line", + "value": " and put this statement at the end of the main loop", + "range": [ + 1000, + 1059 + ], + "loc": { + "start": { + "line": 40, + "column": 3 + }, + "end": { + "line": 40, + "column": 62 + } + } + }, + { + "type": "Line", + "value": " search for a remainder block interval", + "range": [ + 1104, + 1144 + ], + "loc": { + "start": { + "line": 43, + "column": 3 + }, + "end": { + "line": 43, + "column": 43 + } + } + }, + { + "type": "Line", + "value": " greater than the divisor", + "range": [ + 1148, + 1175 + ], + "loc": { + "start": { + "line": 44, + "column": 3 + }, + "end": { + "line": 44, + "column": 30 + } + } + }, + { + "type": "Line", + "value": " - maybe could try binary search on the lt function", + "range": [ + 1179, + 1236 + ], + "loc": { + "start": { + "line": 45, + "column": 3 + }, + "end": { + "line": 45, + "column": 60 + } + } + }, + { + "type": "Line", + "value": " for another implementation", + "range": [ + 1240, + 1273 + ], + "loc": { + "start": { + "line": 46, + "column": 3 + }, + "end": { + "line": 46, + "column": 36 + } + } + }, + { + "type": "Line", + "value": " remainder smaller than divisor --> end", + "range": [ + 1344, + 1385 + ], + "loc": { + "start": { + "line": 50, + "column": 3 + }, + "end": { + "line": 50, + "column": 44 + } + } + }, + { + "type": "Line", + "value": " divide current block interval by quotient", + "range": [ + 1412, + 1456 + ], + "loc": { + "start": { + "line": 53, + "column": 3 + }, + "end": { + "line": 53, + "column": 47 + } + } + }, + { + "type": "Line", + "value": " increment quotient block corresponding", + "range": [ + 1469, + 1510 + ], + "loc": { + "start": { + "line": 56, + "column": 4 + }, + "end": { + "line": 56, + "column": 45 + } + } + }, + { + "type": "Line", + "value": " to current ls block of remainder interval", + "range": [ + 1515, + 1559 + ], + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 48 + } + } + }, + { + "type": "Line", + "value": " subtract divisor from current remainder", + "range": [ + 1586, + 1628 + ], + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 60, + "column": 46 + } + } + }, + { + "type": "Line", + "value": " block interval", + "range": [ + 1633, + 1650 + ], + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 21 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/div/fourierdiv.js.json b/ast/source/0-legacy/arithmetic/div/fourierdiv.js.json new file mode 100644 index 0000000..8abbdf8 --- /dev/null +++ b/ast/source/0-legacy/arithmetic/div/fourierdiv.js.json @@ -0,0 +1,59 @@ +{ + "type": "Program", + "body": [], + "sourceType": "module", + "range": [ + 50, + 50 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 0 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " http://en.wikipedia.org/wiki/Fourier_division", + "range": [ + 1, + 49 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 48 + } + } + } + ], + "comments": [ + { + "type": "Line", + "value": " http://en.wikipedia.org/wiki/Fourier_division", + "range": [ + 1, + 49 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 48 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/div/index.js.json b/ast/source/0-legacy/arithmetic/div/index.js.json new file mode 100644 index 0000000..fc7303f --- /dev/null +++ b/ast/source/0-legacy/arithmetic/div/index.js.json @@ -0,0 +1,165 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./dcdiv", + "raw": "'./dcdiv'", + "range": [ + 14, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 23 + } + } + }, + "range": [ + 0, + 25 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./div", + "raw": "'./div'", + "range": [ + 40, + 47 + ], + "loc": { + "start": { + "line": 2, + "column": 14 + }, + "end": { + "line": 2, + "column": 21 + } + } + }, + "range": [ + 26, + 49 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 23 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./fourierdiv", + "raw": "'./fourierdiv'", + "range": [ + 64, + 78 + ], + "loc": { + "start": { + "line": 3, + "column": 14 + }, + "end": { + "line": 3, + "column": 28 + } + } + }, + "range": [ + 50, + 80 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 30 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./knuthd", + "raw": "'./knuthd'", + "range": [ + 95, + 105 + ], + "loc": { + "start": { + "line": 4, + "column": 14 + }, + "end": { + "line": 4, + "column": 24 + } + } + }, + "range": [ + 81, + 107 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 26 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 107 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 4, + "column": 26 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/div/knuthd.js.json b/ast/source/0-legacy/arithmetic/div/knuthd.js.json new file mode 100644 index 0000000..b03b813 --- /dev/null +++ b/ast/source/0-legacy/arithmetic/div/knuthd.js.json @@ -0,0 +1,59 @@ +{ + "type": "Program", + "body": [], + "sourceType": "module", + "range": [ + 239, + 239 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 0 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " http://books.google.be/books?id=VicPJYM0I5QC&pg=PA184&lpg=PA184&dq=knuth+algorithm+d&source=bl&ots=2n-NJWuw1o&sig=47hDkFG780BqE2mmi9OMPqbK4Fs&hl=en&sa=X&ei=_ioMVKbKFMawOZT_gaAH&ved=0CDkQ6AEwAw#v=onepage&q=knuth%20algorithm%20d&f=false", + "range": [ + 1, + 238 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 237 + } + } + } + ], + "comments": [ + { + "type": "Line", + "value": " http://books.google.be/books?id=VicPJYM0I5QC&pg=PA184&lpg=PA184&dq=knuth+algorithm+d&source=bl&ots=2n-NJWuw1o&sig=47hDkFG780BqE2mmi9OMPqbK4Fs&hl=en&sa=X&ei=_ioMVKbKFMawOZT_gaAH&ved=0CDkQ6AEwAw#v=onepage&q=knuth%20algorithm%20d&f=false", + "range": [ + 1, + 238 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 237 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/index.js.json b/ast/source/0-legacy/arithmetic/index.js.json new file mode 100644 index 0000000..4985776 --- /dev/null +++ b/ast/source/0-legacy/arithmetic/index.js.json @@ -0,0 +1,165 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./add", + "raw": "'./add'", + "range": [ + 14, + 21 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 21 + } + } + }, + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./div", + "raw": "'./div'", + "range": [ + 38, + 45 + ], + "loc": { + "start": { + "line": 2, + "column": 14 + }, + "end": { + "line": 2, + "column": 21 + } + } + }, + "range": [ + 24, + 47 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 23 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./mul", + "raw": "'./mul'", + "range": [ + 62, + 69 + ], + "loc": { + "start": { + "line": 3, + "column": 14 + }, + "end": { + "line": 3, + "column": 21 + } + } + }, + "range": [ + 48, + 71 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 23 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./sub", + "raw": "'./sub'", + "range": [ + 86, + 93 + ], + "loc": { + "start": { + "line": 4, + "column": 14 + }, + "end": { + "line": 4, + "column": 21 + } + } + }, + "range": [ + 72, + 95 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 23 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 95 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 4, + "column": 23 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/mul/index.js.json b/ast/source/0-legacy/arithmetic/mul/index.js.json new file mode 100644 index 0000000..b1cda0d --- /dev/null +++ b/ast/source/0-legacy/arithmetic/mul/index.js.json @@ -0,0 +1,165 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./karatsuba", + "raw": "'./karatsuba'", + "range": [ + 14, + 27 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 27 + } + } + }, + "range": [ + 0, + 29 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 29 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./mul", + "raw": "'./mul'", + "range": [ + 44, + 51 + ], + "loc": { + "start": { + "line": 2, + "column": 14 + }, + "end": { + "line": 2, + "column": 21 + } + } + }, + "range": [ + 30, + 53 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 23 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./mul53", + "raw": "'./mul53'", + "range": [ + 68, + 77 + ], + "loc": { + "start": { + "line": 3, + "column": 14 + }, + "end": { + "line": 3, + "column": 23 + } + } + }, + "range": [ + 54, + 79 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 25 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./toomcook", + "raw": "'./toomcook'", + "range": [ + 94, + 106 + ], + "loc": { + "start": { + "line": 4, + "column": 14 + }, + "end": { + "line": 4, + "column": 26 + } + } + }, + "range": [ + 80, + 108 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 28 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 108 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 4, + "column": 28 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/mul/karatsuba.js.json b/ast/source/0-legacy/arithmetic/mul/karatsuba.js.json new file mode 100644 index 0000000..c8187c9 --- /dev/null +++ b/ast/source/0-legacy/arithmetic/mul/karatsuba.js.json @@ -0,0 +1,9466 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "bkaratsuba_t", + "range": [ + 1746, + 1758 + ], + "loc": { + "start": { + "line": 59, + "column": 16 + }, + "end": { + "line": 59, + "column": 28 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "add", + "range": [ + 1760, + 1763 + ], + "loc": { + "start": { + "line": 59, + "column": 30 + }, + "end": { + "line": 59, + "column": 33 + } + } + }, + { + "type": "Identifier", + "name": "sub", + "range": [ + 1765, + 1768 + ], + "loc": { + "start": { + "line": 59, + "column": 35 + }, + "end": { + "line": 59, + "column": 38 + } + } + }, + { + "type": "Identifier", + "name": "mul", + "range": [ + 1770, + 1773 + ], + "loc": { + "start": { + "line": 59, + "column": 40 + }, + "end": { + "line": 59, + "column": 43 + } + } + }, + { + "type": "Identifier", + "name": "calloc", + "range": [ + 1775, + 1781 + ], + "loc": { + "start": { + "line": 59, + "column": 45 + }, + "end": { + "line": 59, + "column": 51 + } + } + }, + { + "type": "Identifier", + "name": "mov", + "range": [ + 1783, + 1786 + ], + "loc": { + "start": { + "line": 59, + "column": 53 + }, + "end": { + "line": 59, + "column": 56 + } + } + }, + { + "type": "Identifier", + "name": "r", + "range": [ + 1788, + 1789 + ], + "loc": { + "start": { + "line": 59, + "column": 58 + }, + "end": { + "line": 59, + "column": 59 + } + } + }, + { + "type": "Identifier", + "name": "wrap", + "range": [ + 1791, + 1795 + ], + "loc": { + "start": { + "line": 59, + "column": 61 + }, + "end": { + "line": 59, + "column": 65 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "karatsuba", + "range": [ + 2195, + 2204 + ], + "loc": { + "start": { + "line": 77, + "column": 5 + }, + "end": { + "line": 77, + "column": 14 + } + } + }, + "init": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 2216, + 2217 + ], + "loc": { + "start": { + "line": 77, + "column": 26 + }, + "end": { + "line": 77, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 2219, + 2221 + ], + "loc": { + "start": { + "line": 77, + "column": 29 + }, + "end": { + "line": 77, + "column": 31 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 2223, + 2225 + ], + "loc": { + "start": { + "line": 77, + "column": 33 + }, + "end": { + "line": 77, + "column": 35 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 2227, + 2228 + ], + "loc": { + "start": { + "line": 77, + "column": 37 + }, + "end": { + "line": 77, + "column": 38 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 2230, + 2232 + ], + "loc": { + "start": { + "line": 77, + "column": 40 + }, + "end": { + "line": 77, + "column": 42 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 2234, + 2236 + ], + "loc": { + "start": { + "line": 77, + "column": 44 + }, + "end": { + "line": 77, + "column": 46 + } + } + }, + { + "type": "Identifier", + "name": "c", + "range": [ + 2238, + 2239 + ], + "loc": { + "start": { + "line": 77, + "column": 48 + }, + "end": { + "line": 77, + "column": 49 + } + } + }, + { + "type": "Identifier", + "name": "ci", + "range": [ + 2241, + 2243 + ], + "loc": { + "start": { + "line": 77, + "column": 51 + }, + "end": { + "line": 77, + "column": 53 + } + } + }, + { + "type": "Identifier", + "name": "cj", + "range": [ + 2245, + 2247 + ], + "loc": { + "start": { + "line": 77, + "column": 55 + }, + "end": { + "line": 77, + "column": 57 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "z0", + "range": [ + 2257, + 2259 + ], + "loc": { + "start": { + "line": 79, + "column": 6 + }, + "end": { + "line": 79, + "column": 8 + } + } + }, + "init": null, + "range": [ + 2257, + 2259 + ], + "loc": { + "start": { + "line": 79, + "column": 6 + }, + "end": { + "line": 79, + "column": 8 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "z2", + "range": [ + 2261, + 2263 + ], + "loc": { + "start": { + "line": 79, + "column": 10 + }, + "end": { + "line": 79, + "column": 12 + } + } + }, + "init": null, + "range": [ + 2261, + 2263 + ], + "loc": { + "start": { + "line": 79, + "column": 10 + }, + "end": { + "line": 79, + "column": 12 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "t1", + "range": [ + 2265, + 2267 + ], + "loc": { + "start": { + "line": 79, + "column": 14 + }, + "end": { + "line": 79, + "column": 16 + } + } + }, + "init": null, + "range": [ + 2265, + 2267 + ], + "loc": { + "start": { + "line": 79, + "column": 14 + }, + "end": { + "line": 79, + "column": 16 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "t2", + "range": [ + 2269, + 2271 + ], + "loc": { + "start": { + "line": 79, + "column": 18 + }, + "end": { + "line": 79, + "column": 20 + } + } + }, + "init": null, + "range": [ + 2269, + 2271 + ], + "loc": { + "start": { + "line": 79, + "column": 18 + }, + "end": { + "line": 79, + "column": 20 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "t3", + "range": [ + 2273, + 2275 + ], + "loc": { + "start": { + "line": 79, + "column": 22 + }, + "end": { + "line": 79, + "column": 24 + } + } + }, + "init": null, + "range": [ + 2273, + 2275 + ], + "loc": { + "start": { + "line": 79, + "column": 22 + }, + "end": { + "line": 79, + "column": 24 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "n", + "range": [ + 2277, + 2278 + ], + "loc": { + "start": { + "line": 79, + "column": 26 + }, + "end": { + "line": 79, + "column": 27 + } + } + }, + "init": null, + "range": [ + 2277, + 2278 + ], + "loc": { + "start": { + "line": 79, + "column": 26 + }, + "end": { + "line": 79, + "column": 27 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "I", + "range": [ + 2280, + 2281 + ], + "loc": { + "start": { + "line": 79, + "column": 29 + }, + "end": { + "line": 79, + "column": 30 + } + } + }, + "init": null, + "range": [ + 2280, + 2281 + ], + "loc": { + "start": { + "line": 79, + "column": 29 + }, + "end": { + "line": 79, + "column": 30 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "N", + "range": [ + 2283, + 2284 + ], + "loc": { + "start": { + "line": 79, + "column": 32 + }, + "end": { + "line": 79, + "column": 33 + } + } + }, + "init": null, + "range": [ + 2283, + 2284 + ], + "loc": { + "start": { + "line": 79, + "column": 32 + }, + "end": { + "line": 79, + "column": 33 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "N_", + "range": [ + 2286, + 2288 + ], + "loc": { + "start": { + "line": 79, + "column": 35 + }, + "end": { + "line": 79, + "column": 37 + } + } + }, + "init": null, + "range": [ + 2286, + 2288 + ], + "loc": { + "start": { + "line": 79, + "column": 35 + }, + "end": { + "line": 79, + "column": 37 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i_", + "range": [ + 2290, + 2292 + ], + "loc": { + "start": { + "line": 79, + "column": 39 + }, + "end": { + "line": 79, + "column": 41 + } + } + }, + "init": null, + "range": [ + 2290, + 2292 + ], + "loc": { + "start": { + "line": 79, + "column": 39 + }, + "end": { + "line": 79, + "column": 41 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "j_", + "range": [ + 2294, + 2296 + ], + "loc": { + "start": { + "line": 79, + "column": 43 + }, + "end": { + "line": 79, + "column": 45 + } + } + }, + "init": null, + "range": [ + 2294, + 2296 + ], + "loc": { + "start": { + "line": 79, + "column": 43 + }, + "end": { + "line": 79, + "column": 45 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 2298, + 2299 + ], + "loc": { + "start": { + "line": 79, + "column": 47 + }, + "end": { + "line": 79, + "column": 48 + } + } + }, + "init": null, + "range": [ + 2298, + 2299 + ], + "loc": { + "start": { + "line": 79, + "column": 47 + }, + "end": { + "line": 79, + "column": 48 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "j", + "range": [ + 2301, + 2302 + ], + "loc": { + "start": { + "line": 79, + "column": 50 + }, + "end": { + "line": 79, + "column": 51 + } + } + }, + "init": null, + "range": [ + 2301, + 2302 + ], + "loc": { + "start": { + "line": 79, + "column": 50 + }, + "end": { + "line": 79, + "column": 51 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "k", + "range": [ + 2304, + 2305 + ], + "loc": { + "start": { + "line": 79, + "column": 53 + }, + "end": { + "line": 79, + "column": 54 + } + } + }, + "init": null, + "range": [ + 2304, + 2305 + ], + "loc": { + "start": { + "line": 79, + "column": 53 + }, + "end": { + "line": 79, + "column": 54 + } + } + } + ], + "kind": "var", + "range": [ + 2253, + 2306 + ], + "loc": { + "start": { + "line": 79, + "column": 2 + }, + "end": { + "line": 79, + "column": 55 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 2310, + 2311 + ], + "loc": { + "start": { + "line": 81, + "column": 2 + }, + "end": { + "line": 81, + "column": 3 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "aj", + "range": [ + 2314, + 2316 + ], + "loc": { + "start": { + "line": 81, + "column": 6 + }, + "end": { + "line": 81, + "column": 8 + } + } + }, + "right": { + "type": "Identifier", + "name": "ai", + "range": [ + 2319, + 2321 + ], + "loc": { + "start": { + "line": 81, + "column": 11 + }, + "end": { + "line": 81, + "column": 13 + } + } + }, + "range": [ + 2314, + 2321 + ], + "loc": { + "start": { + "line": 81, + "column": 6 + }, + "end": { + "line": 81, + "column": 13 + } + } + }, + "range": [ + 2310, + 2321 + ], + "loc": { + "start": { + "line": 81, + "column": 2 + }, + "end": { + "line": 81, + "column": 13 + } + } + }, + "range": [ + 2310, + 2322 + ], + "loc": { + "start": { + "line": 81, + "column": 2 + }, + "end": { + "line": 81, + "column": 14 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "j", + "range": [ + 2325, + 2326 + ], + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 82, + "column": 3 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "bj", + "range": [ + 2329, + 2331 + ], + "loc": { + "start": { + "line": 82, + "column": 6 + }, + "end": { + "line": 82, + "column": 8 + } + } + }, + "right": { + "type": "Identifier", + "name": "bi", + "range": [ + 2334, + 2336 + ], + "loc": { + "start": { + "line": 82, + "column": 11 + }, + "end": { + "line": 82, + "column": 13 + } + } + }, + "range": [ + 2329, + 2336 + ], + "loc": { + "start": { + "line": 82, + "column": 6 + }, + "end": { + "line": 82, + "column": 13 + } + } + }, + "range": [ + 2325, + 2336 + ], + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 82, + "column": 13 + } + } + }, + "range": [ + 2325, + 2337 + ], + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 82, + "column": 14 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 2340, + 2341 + ], + "loc": { + "start": { + "line": 83, + "column": 2 + }, + "end": { + "line": 83, + "column": 3 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "cj", + "range": [ + 2344, + 2346 + ], + "loc": { + "start": { + "line": 83, + "column": 6 + }, + "end": { + "line": 83, + "column": 8 + } + } + }, + "right": { + "type": "Identifier", + "name": "ci", + "range": [ + 2349, + 2351 + ], + "loc": { + "start": { + "line": 83, + "column": 11 + }, + "end": { + "line": 83, + "column": 13 + } + } + }, + "range": [ + 2344, + 2351 + ], + "loc": { + "start": { + "line": 83, + "column": 6 + }, + "end": { + "line": 83, + "column": 13 + } + } + }, + "range": [ + 2340, + 2351 + ], + "loc": { + "start": { + "line": 83, + "column": 2 + }, + "end": { + "line": 83, + "column": 13 + } + } + }, + "range": [ + 2340, + 2352 + ], + "loc": { + "start": { + "line": 83, + "column": 2 + }, + "end": { + "line": 83, + "column": 14 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " EMPTY CASE", + "range": [ + 2356, + 2369 + ], + "loc": { + "start": { + "line": 85, + "column": 2 + }, + "end": { + "line": 85, + "column": 15 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "BinaryExpression", + "operator": "<=", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 2376, + 2377 + ], + "loc": { + "start": { + "line": 86, + "column": 6 + }, + "end": { + "line": 86, + "column": 7 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 2381, + 2382 + ], + "loc": { + "start": { + "line": 86, + "column": 11 + }, + "end": { + "line": 86, + "column": 12 + } + } + }, + "range": [ + 2376, + 2382 + ], + "loc": { + "start": { + "line": 86, + "column": 6 + }, + "end": { + "line": 86, + "column": 12 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "<=", + "left": { + "type": "Identifier", + "name": "j", + "range": [ + 2386, + 2387 + ], + "loc": { + "start": { + "line": 86, + "column": 16 + }, + "end": { + "line": 86, + "column": 17 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 2391, + 2392 + ], + "loc": { + "start": { + "line": 86, + "column": 21 + }, + "end": { + "line": 86, + "column": 22 + } + } + }, + "range": [ + 2386, + 2392 + ], + "loc": { + "start": { + "line": 86, + "column": 16 + }, + "end": { + "line": 86, + "column": 22 + } + } + }, + "range": [ + 2376, + 2392 + ], + "loc": { + "start": { + "line": 86, + "column": 6 + }, + "end": { + "line": 86, + "column": 22 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "<=", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 2396, + 2397 + ], + "loc": { + "start": { + "line": 86, + "column": 26 + }, + "end": { + "line": 86, + "column": 27 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 2401, + 2402 + ], + "loc": { + "start": { + "line": 86, + "column": 31 + }, + "end": { + "line": 86, + "column": 32 + } + } + }, + "range": [ + 2396, + 2402 + ], + "loc": { + "start": { + "line": 86, + "column": 26 + }, + "end": { + "line": 86, + "column": 32 + } + } + }, + "range": [ + 2376, + 2402 + ], + "loc": { + "start": { + "line": 86, + "column": 6 + }, + "end": { + "line": 86, + "column": 32 + } + } + }, + "consequent": { + "type": "ReturnStatement", + "argument": null, + "range": [ + 2404, + 2411 + ], + "loc": { + "start": { + "line": 86, + "column": 34 + }, + "end": { + "line": 86, + "column": 41 + } + } + }, + "alternate": null, + "range": [ + 2372, + 2411 + ], + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 86, + "column": 41 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " EMPTY CASE", + "range": [ + 2356, + 2369 + ], + "loc": { + "start": { + "line": 85, + "column": 2 + }, + "end": { + "line": 85, + "column": 15 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " BASE CASE i = j = 1", + "range": [ + 2415, + 2437 + ], + "loc": { + "start": { + "line": 88, + "column": 2 + }, + "end": { + "line": 88, + "column": 24 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 2444, + 2445 + ], + "loc": { + "start": { + "line": 89, + "column": 6 + }, + "end": { + "line": 89, + "column": 7 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 2450, + 2451 + ], + "loc": { + "start": { + "line": 89, + "column": 12 + }, + "end": { + "line": 89, + "column": 13 + } + } + }, + "range": [ + 2444, + 2451 + ], + "loc": { + "start": { + "line": 89, + "column": 6 + }, + "end": { + "line": 89, + "column": 13 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "z0", + "range": [ + 2459, + 2461 + ], + "loc": { + "start": { + "line": 91, + "column": 3 + }, + "end": { + "line": 91, + "column": 5 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "*", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 2464, + 2465 + ], + "loc": { + "start": { + "line": 91, + "column": 8 + }, + "end": { + "line": 91, + "column": 9 + } + } + }, + "property": { + "type": "Identifier", + "name": "ai", + "range": [ + 2466, + 2468 + ], + "loc": { + "start": { + "line": 91, + "column": 10 + }, + "end": { + "line": 91, + "column": 12 + } + } + }, + "range": [ + 2464, + 2469 + ], + "loc": { + "start": { + "line": 91, + "column": 8 + }, + "end": { + "line": 91, + "column": 13 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 2472, + 2473 + ], + "loc": { + "start": { + "line": 91, + "column": 16 + }, + "end": { + "line": 91, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "bi", + "range": [ + 2474, + 2476 + ], + "loc": { + "start": { + "line": 91, + "column": 18 + }, + "end": { + "line": 91, + "column": 20 + } + } + }, + "range": [ + 2472, + 2477 + ], + "loc": { + "start": { + "line": 91, + "column": 16 + }, + "end": { + "line": 91, + "column": 21 + } + } + }, + "range": [ + 2464, + 2477 + ], + "loc": { + "start": { + "line": 91, + "column": 8 + }, + "end": { + "line": 91, + "column": 21 + } + } + }, + "range": [ + 2459, + 2477 + ], + "loc": { + "start": { + "line": 91, + "column": 3 + }, + "end": { + "line": 91, + "column": 21 + } + } + }, + "range": [ + 2459, + 2478 + ], + "loc": { + "start": { + "line": 91, + "column": 3 + }, + "end": { + "line": 91, + "column": 22 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 2482, + 2483 + ], + "loc": { + "start": { + "line": 92, + "column": 3 + }, + "end": { + "line": 92, + "column": 4 + } + } + }, + "property": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "cj", + "range": [ + 2484, + 2486 + ], + "loc": { + "start": { + "line": 92, + "column": 5 + }, + "end": { + "line": 92, + "column": 7 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 2487, + 2488 + ], + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 92, + "column": 9 + } + } + }, + "range": [ + 2484, + 2488 + ], + "loc": { + "start": { + "line": 92, + "column": 5 + }, + "end": { + "line": 92, + "column": 9 + } + } + }, + "range": [ + 2482, + 2489 + ], + "loc": { + "start": { + "line": 92, + "column": 3 + }, + "end": { + "line": 92, + "column": 10 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "%", + "left": { + "type": "Identifier", + "name": "z0", + "range": [ + 2492, + 2494 + ], + "loc": { + "start": { + "line": 92, + "column": 13 + }, + "end": { + "line": 92, + "column": 15 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 2497, + 2498 + ], + "loc": { + "start": { + "line": 92, + "column": 18 + }, + "end": { + "line": 92, + "column": 19 + } + } + }, + "range": [ + 2492, + 2498 + ], + "loc": { + "start": { + "line": 92, + "column": 13 + }, + "end": { + "line": 92, + "column": 19 + } + } + }, + "range": [ + 2482, + 2498 + ], + "loc": { + "start": { + "line": 92, + "column": 3 + }, + "end": { + "line": 92, + "column": 19 + } + } + }, + "range": [ + 2482, + 2499 + ], + "loc": { + "start": { + "line": 92, + "column": 3 + }, + "end": { + "line": 92, + "column": 20 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 2508, + 2509 + ], + "loc": { + "start": { + "line": 94, + "column": 7 + }, + "end": { + "line": 94, + "column": 8 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 2512, + 2513 + ], + "loc": { + "start": { + "line": 94, + "column": 11 + }, + "end": { + "line": 94, + "column": 12 + } + } + }, + "range": [ + 2508, + 2513 + ], + "loc": { + "start": { + "line": 94, + "column": 7 + }, + "end": { + "line": 94, + "column": 12 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 2521, + 2522 + ], + "loc": { + "start": { + "line": 95, + "column": 4 + }, + "end": { + "line": 95, + "column": 5 + } + } + }, + "property": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "cj", + "range": [ + 2523, + 2525 + ], + "loc": { + "start": { + "line": 95, + "column": 6 + }, + "end": { + "line": 95, + "column": 8 + } + } + }, + "right": { + "type": "Literal", + "value": 2, + "raw": "2", + "range": [ + 2526, + 2527 + ], + "loc": { + "start": { + "line": 95, + "column": 9 + }, + "end": { + "line": 95, + "column": 10 + } + } + }, + "range": [ + 2523, + 2527 + ], + "loc": { + "start": { + "line": 95, + "column": 6 + }, + "end": { + "line": 95, + "column": 10 + } + } + }, + "range": [ + 2521, + 2528 + ], + "loc": { + "start": { + "line": 95, + "column": 4 + }, + "end": { + "line": 95, + "column": 11 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "z0", + "range": [ + 2532, + 2534 + ], + "loc": { + "start": { + "line": 95, + "column": 15 + }, + "end": { + "line": 95, + "column": 17 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 2537, + 2538 + ], + "loc": { + "start": { + "line": 95, + "column": 20 + }, + "end": { + "line": 95, + "column": 21 + } + } + }, + "property": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "cj", + "range": [ + 2539, + 2541 + ], + "loc": { + "start": { + "line": 95, + "column": 22 + }, + "end": { + "line": 95, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 2542, + 2543 + ], + "loc": { + "start": { + "line": 95, + "column": 25 + }, + "end": { + "line": 95, + "column": 26 + } + } + }, + "range": [ + 2539, + 2543 + ], + "loc": { + "start": { + "line": 95, + "column": 22 + }, + "end": { + "line": 95, + "column": 26 + } + } + }, + "range": [ + 2537, + 2544 + ], + "loc": { + "start": { + "line": 95, + "column": 20 + }, + "end": { + "line": 95, + "column": 27 + } + } + }, + "range": [ + 2532, + 2544 + ], + "loc": { + "start": { + "line": 95, + "column": 15 + }, + "end": { + "line": 95, + "column": 27 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 2548, + 2549 + ], + "loc": { + "start": { + "line": 95, + "column": 31 + }, + "end": { + "line": 95, + "column": 32 + } + } + }, + "range": [ + 2531, + 2549 + ], + "loc": { + "start": { + "line": 95, + "column": 14 + }, + "end": { + "line": 95, + "column": 32 + } + } + }, + "range": [ + 2521, + 2549 + ], + "loc": { + "start": { + "line": 95, + "column": 4 + }, + "end": { + "line": 95, + "column": 32 + } + } + }, + "range": [ + 2521, + 2550 + ], + "loc": { + "start": { + "line": 95, + "column": 4 + }, + "end": { + "line": 95, + "column": 33 + } + } + } + ], + "range": [ + 2515, + 2555 + ], + "loc": { + "start": { + "line": 94, + "column": 14 + }, + "end": { + "line": 96, + "column": 4 + } + } + }, + "alternate": null, + "range": [ + 2504, + 2555 + ], + "loc": { + "start": { + "line": 94, + "column": 3 + }, + "end": { + "line": 96, + "column": 4 + } + } + } + ], + "range": [ + 2453, + 2560 + ], + "loc": { + "start": { + "line": 89, + "column": 15 + }, + "end": { + "line": 98, + "column": 3 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " RECURSION", + "range": [ + 2564, + 2576 + ], + "loc": { + "start": { + "line": 100, + "column": 2 + }, + "end": { + "line": 100, + "column": 14 + } + } + } + ] + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "n", + "range": [ + 2588, + 2589 + ], + "loc": { + "start": { + "line": 102, + "column": 3 + }, + "end": { + "line": 102, + "column": 4 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Math", + "range": [ + 2593, + 2597 + ], + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 102, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "ceil", + "range": [ + 2598, + 2602 + ], + "loc": { + "start": { + "line": 102, + "column": 13 + }, + "end": { + "line": 102, + "column": 17 + } + } + }, + "range": [ + 2593, + 2602 + ], + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 102, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 2603, + 2604 + ], + "loc": { + "start": { + "line": 102, + "column": 18 + }, + "end": { + "line": 102, + "column": 19 + } + } + }, + "right": { + "type": "Literal", + "value": 2, + "raw": "2", + "range": [ + 2607, + 2608 + ], + "loc": { + "start": { + "line": 102, + "column": 22 + }, + "end": { + "line": 102, + "column": 23 + } + } + }, + "range": [ + 2603, + 2608 + ], + "loc": { + "start": { + "line": 102, + "column": 18 + }, + "end": { + "line": 102, + "column": 23 + } + } + } + ], + "range": [ + 2593, + 2609 + ], + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 102, + "column": 24 + } + } + }, + "range": [ + 2588, + 2609 + ], + "loc": { + "start": { + "line": 102, + "column": 3 + }, + "end": { + "line": 102, + "column": 24 + } + } + }, + "range": [ + 2588, + 2610 + ], + "loc": { + "start": { + "line": 102, + "column": 3 + }, + "end": { + "line": 102, + "column": 25 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "I", + "range": [ + 2614, + 2615 + ], + "loc": { + "start": { + "line": 103, + "column": 3 + }, + "end": { + "line": 103, + "column": 4 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 2619, + 2620 + ], + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 103, + "column": 9 + } + } + }, + "right": { + "type": "Identifier", + "name": "j", + "range": [ + 2623, + 2624 + ], + "loc": { + "start": { + "line": 103, + "column": 12 + }, + "end": { + "line": 103, + "column": 13 + } + } + }, + "range": [ + 2619, + 2624 + ], + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 103, + "column": 13 + } + } + }, + "range": [ + 2614, + 2624 + ], + "loc": { + "start": { + "line": 103, + "column": 3 + }, + "end": { + "line": 103, + "column": 13 + } + } + }, + "range": [ + 2614, + 2625 + ], + "loc": { + "start": { + "line": 103, + "column": 3 + }, + "end": { + "line": 103, + "column": 14 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "N", + "range": [ + 2629, + 2630 + ], + "loc": { + "start": { + "line": 104, + "column": 3 + }, + "end": { + "line": 104, + "column": 4 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "*", + "left": { + "type": "Literal", + "value": 2, + "raw": "2", + "range": [ + 2634, + 2635 + ], + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 104, + "column": 9 + } + } + }, + "right": { + "type": "Identifier", + "name": "n", + "range": [ + 2638, + 2639 + ], + "loc": { + "start": { + "line": 104, + "column": 12 + }, + "end": { + "line": 104, + "column": 13 + } + } + }, + "range": [ + 2634, + 2639 + ], + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 104, + "column": 13 + } + } + }, + "range": [ + 2629, + 2639 + ], + "loc": { + "start": { + "line": 104, + "column": 3 + }, + "end": { + "line": 104, + "column": 13 + } + } + }, + "range": [ + 2629, + 2640 + ], + "loc": { + "start": { + "line": 104, + "column": 3 + }, + "end": { + "line": 104, + "column": 14 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "N_", + "range": [ + 2644, + 2646 + ], + "loc": { + "start": { + "line": 105, + "column": 3 + }, + "end": { + "line": 105, + "column": 5 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "I", + "range": [ + 2649, + 2650 + ], + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 105, + "column": 9 + } + } + }, + "right": { + "type": "Identifier", + "name": "N", + "range": [ + 2653, + 2654 + ], + "loc": { + "start": { + "line": 105, + "column": 12 + }, + "end": { + "line": 105, + "column": 13 + } + } + }, + "range": [ + 2649, + 2654 + ], + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 105, + "column": 13 + } + } + }, + "range": [ + 2644, + 2654 + ], + "loc": { + "start": { + "line": 105, + "column": 3 + }, + "end": { + "line": 105, + "column": 13 + } + } + }, + "range": [ + 2644, + 2655 + ], + "loc": { + "start": { + "line": 105, + "column": 3 + }, + "end": { + "line": 105, + "column": 14 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "i_", + "range": [ + 2659, + 2661 + ], + "loc": { + "start": { + "line": 106, + "column": 3 + }, + "end": { + "line": 106, + "column": 5 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "aj", + "range": [ + 2664, + 2666 + ], + "loc": { + "start": { + "line": 106, + "column": 8 + }, + "end": { + "line": 106, + "column": 10 + } + } + }, + "right": { + "type": "Identifier", + "name": "n", + "range": [ + 2669, + 2670 + ], + "loc": { + "start": { + "line": 106, + "column": 13 + }, + "end": { + "line": 106, + "column": 14 + } + } + }, + "range": [ + 2664, + 2670 + ], + "loc": { + "start": { + "line": 106, + "column": 8 + }, + "end": { + "line": 106, + "column": 14 + } + } + }, + "range": [ + 2659, + 2670 + ], + "loc": { + "start": { + "line": 106, + "column": 3 + }, + "end": { + "line": 106, + "column": 14 + } + } + }, + "range": [ + 2659, + 2671 + ], + "loc": { + "start": { + "line": 106, + "column": 3 + }, + "end": { + "line": 106, + "column": 15 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "j_", + "range": [ + 2675, + 2677 + ], + "loc": { + "start": { + "line": 107, + "column": 3 + }, + "end": { + "line": 107, + "column": 5 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Math", + "range": [ + 2680, + 2684 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "max", + "range": [ + 2685, + 2688 + ], + "loc": { + "start": { + "line": 107, + "column": 13 + }, + "end": { + "line": 107, + "column": 16 + } + } + }, + "range": [ + 2680, + 2688 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 16 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "bi", + "range": [ + 2689, + 2691 + ], + "loc": { + "start": { + "line": 107, + "column": 17 + }, + "end": { + "line": 107, + "column": 19 + } + } + }, + { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "bj", + "range": [ + 2693, + 2695 + ], + "loc": { + "start": { + "line": 107, + "column": 21 + }, + "end": { + "line": 107, + "column": 23 + } + } + }, + "right": { + "type": "Identifier", + "name": "n", + "range": [ + 2698, + 2699 + ], + "loc": { + "start": { + "line": 107, + "column": 26 + }, + "end": { + "line": 107, + "column": 27 + } + } + }, + "range": [ + 2693, + 2699 + ], + "loc": { + "start": { + "line": 107, + "column": 21 + }, + "end": { + "line": 107, + "column": 27 + } + } + } + ], + "range": [ + 2680, + 2700 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 28 + } + } + }, + "range": [ + 2675, + 2700 + ], + "loc": { + "start": { + "line": 107, + "column": 3 + }, + "end": { + "line": 107, + "column": 28 + } + } + }, + "range": [ + 2675, + 2701 + ], + "loc": { + "start": { + "line": 107, + "column": 3 + }, + "end": { + "line": 107, + "column": 29 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "t1", + "range": [ + 2706, + 2708 + ], + "loc": { + "start": { + "line": 109, + "column": 3 + }, + "end": { + "line": 109, + "column": 5 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "calloc", + "range": [ + 2711, + 2717 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 14 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "n", + "range": [ + 2718, + 2719 + ], + "loc": { + "start": { + "line": 109, + "column": 15 + }, + "end": { + "line": 109, + "column": 16 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 2722, + 2723 + ], + "loc": { + "start": { + "line": 109, + "column": 19 + }, + "end": { + "line": 109, + "column": 20 + } + } + }, + "range": [ + 2718, + 2723 + ], + "loc": { + "start": { + "line": 109, + "column": 15 + }, + "end": { + "line": 109, + "column": 20 + } + } + } + ], + "range": [ + 2711, + 2724 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 21 + } + } + }, + "range": [ + 2706, + 2724 + ], + "loc": { + "start": { + "line": 109, + "column": 3 + }, + "end": { + "line": 109, + "column": 21 + } + } + }, + "range": [ + 2706, + 2725 + ], + "loc": { + "start": { + "line": 109, + "column": 3 + }, + "end": { + "line": 109, + "column": 22 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " + 1 to handle addition overflows", + "range": [ + 2726, + 2761 + ], + "loc": { + "start": { + "line": 109, + "column": 23 + }, + "end": { + "line": 109, + "column": 58 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "t2", + "range": [ + 2765, + 2767 + ], + "loc": { + "start": { + "line": 110, + "column": 3 + }, + "end": { + "line": 110, + "column": 5 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "calloc", + "range": [ + 2770, + 2776 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 14 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "n", + "range": [ + 2777, + 2778 + ], + "loc": { + "start": { + "line": 110, + "column": 15 + }, + "end": { + "line": 110, + "column": 16 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 2781, + 2782 + ], + "loc": { + "start": { + "line": 110, + "column": 19 + }, + "end": { + "line": 110, + "column": 20 + } + } + }, + "range": [ + 2777, + 2782 + ], + "loc": { + "start": { + "line": 110, + "column": 15 + }, + "end": { + "line": 110, + "column": 20 + } + } + } + ], + "range": [ + 2770, + 2783 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 21 + } + } + }, + "range": [ + 2765, + 2783 + ], + "loc": { + "start": { + "line": 110, + "column": 3 + }, + "end": { + "line": 110, + "column": 21 + } + } + }, + "range": [ + 2765, + 2784 + ], + "loc": { + "start": { + "line": 110, + "column": 3 + }, + "end": { + "line": 110, + "column": 22 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " + 1 to handle addition overflows", + "range": [ + 2726, + 2761 + ], + "loc": { + "start": { + "line": 109, + "column": 23 + }, + "end": { + "line": 109, + "column": 58 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " and guarantee reducing k for the", + "range": [ + 2785, + 2820 + ], + "loc": { + "start": { + "line": 110, + "column": 23 + }, + "end": { + "line": 110, + "column": 58 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "t3", + "range": [ + 2824, + 2826 + ], + "loc": { + "start": { + "line": 111, + "column": 3 + }, + "end": { + "line": 111, + "column": 5 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "calloc", + "range": [ + 2829, + 2835 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 14 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "N", + "range": [ + 2836, + 2837 + ], + "loc": { + "start": { + "line": 111, + "column": 15 + }, + "end": { + "line": 111, + "column": 16 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 2840, + 2841 + ], + "loc": { + "start": { + "line": 111, + "column": 19 + }, + "end": { + "line": 111, + "column": 20 + } + } + }, + "range": [ + 2836, + 2841 + ], + "loc": { + "start": { + "line": 111, + "column": 15 + }, + "end": { + "line": 111, + "column": 20 + } + } + } + ], + "range": [ + 2829, + 2842 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 21 + } + } + }, + "range": [ + 2824, + 2842 + ], + "loc": { + "start": { + "line": 111, + "column": 3 + }, + "end": { + "line": 111, + "column": 21 + } + } + }, + "range": [ + 2824, + 2843 + ], + "loc": { + "start": { + "line": 111, + "column": 3 + }, + "end": { + "line": 111, + "column": 22 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " and guarantee reducing k for the", + "range": [ + 2785, + 2820 + ], + "loc": { + "start": { + "line": 110, + "column": 23 + }, + "end": { + "line": 110, + "column": 58 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " recursive calls", + "range": [ + 2844, + 2862 + ], + "loc": { + "start": { + "line": 111, + "column": 23 + }, + "end": { + "line": 111, + "column": 41 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "z2", + "range": [ + 2866, + 2868 + ], + "loc": { + "start": { + "line": 112, + "column": 3 + }, + "end": { + "line": 112, + "column": 5 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "calloc", + "range": [ + 2871, + 2877 + ], + "loc": { + "start": { + "line": 112, + "column": 8 + }, + "end": { + "line": 112, + "column": 14 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "N_", + "range": [ + 2878, + 2880 + ], + "loc": { + "start": { + "line": 112, + "column": 15 + }, + "end": { + "line": 112, + "column": 17 + } + } + } + ], + "range": [ + 2871, + 2881 + ], + "loc": { + "start": { + "line": 112, + "column": 8 + }, + "end": { + "line": 112, + "column": 18 + } + } + }, + "range": [ + 2866, + 2881 + ], + "loc": { + "start": { + "line": 112, + "column": 3 + }, + "end": { + "line": 112, + "column": 18 + } + } + }, + "range": [ + 2866, + 2882 + ], + "loc": { + "start": { + "line": 112, + "column": 3 + }, + "end": { + "line": 112, + "column": 19 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " recursive calls", + "range": [ + 2844, + 2862 + ], + "loc": { + "start": { + "line": 111, + "column": 23 + }, + "end": { + "line": 111, + "column": 41 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "z0", + "range": [ + 2886, + 2888 + ], + "loc": { + "start": { + "line": 113, + "column": 3 + }, + "end": { + "line": 113, + "column": 5 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "calloc", + "range": [ + 2891, + 2897 + ], + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 113, + "column": 14 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "N", + "range": [ + 2898, + 2899 + ], + "loc": { + "start": { + "line": 113, + "column": 15 + }, + "end": { + "line": 113, + "column": 16 + } + } + } + ], + "range": [ + 2891, + 2900 + ], + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 113, + "column": 17 + } + } + }, + "range": [ + 2886, + 2900 + ], + "loc": { + "start": { + "line": 113, + "column": 3 + }, + "end": { + "line": 113, + "column": 17 + } + } + }, + "range": [ + 2886, + 2901 + ], + "loc": { + "start": { + "line": 113, + "column": 3 + }, + "end": { + "line": 113, + "column": 18 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " RECURSIVE CALLS", + "range": [ + 2905, + 2923 + ], + "loc": { + "start": { + "line": 115, + "column": 2 + }, + "end": { + "line": 115, + "column": 20 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "mul", + "range": [ + 2927, + 2930 + ], + "loc": { + "start": { + "line": 116, + "column": 3 + }, + "end": { + "line": 116, + "column": 6 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 2931, + 2932 + ], + "loc": { + "start": { + "line": 116, + "column": 7 + }, + "end": { + "line": 116, + "column": 8 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 2934, + 2936 + ], + "loc": { + "start": { + "line": 116, + "column": 10 + }, + "end": { + "line": 116, + "column": 12 + } + } + }, + { + "type": "Identifier", + "name": "i_", + "range": [ + 2938, + 2940 + ], + "loc": { + "start": { + "line": 116, + "column": 14 + }, + "end": { + "line": 116, + "column": 16 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 2942, + 2943 + ], + "loc": { + "start": { + "line": 116, + "column": 18 + }, + "end": { + "line": 116, + "column": 19 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 2945, + 2947 + ], + "loc": { + "start": { + "line": 116, + "column": 21 + }, + "end": { + "line": 116, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "j_", + "range": [ + 2949, + 2951 + ], + "loc": { + "start": { + "line": 116, + "column": 25 + }, + "end": { + "line": 116, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "z2", + "range": [ + 2953, + 2955 + ], + "loc": { + "start": { + "line": 116, + "column": 29 + }, + "end": { + "line": 116, + "column": 31 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 2957, + 2958 + ], + "loc": { + "start": { + "line": 116, + "column": 33 + }, + "end": { + "line": 116, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "N_", + "range": [ + 2960, + 2962 + ], + "loc": { + "start": { + "line": 116, + "column": 36 + }, + "end": { + "line": 116, + "column": 38 + } + } + } + ], + "range": [ + 2927, + 2963 + ], + "loc": { + "start": { + "line": 116, + "column": 3 + }, + "end": { + "line": 116, + "column": 39 + } + } + }, + "range": [ + 2927, + 2964 + ], + "loc": { + "start": { + "line": 116, + "column": 3 + }, + "end": { + "line": 116, + "column": 40 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " RECURSIVE CALLS", + "range": [ + 2905, + 2923 + ], + "loc": { + "start": { + "line": 115, + "column": 2 + }, + "end": { + "line": 115, + "column": 20 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " z2 = a1.b1", + "range": [ + 2976, + 2989 + ], + "loc": { + "start": { + "line": 116, + "column": 52 + }, + "end": { + "line": 116, + "column": 65 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "mul", + "range": [ + 2993, + 2996 + ], + "loc": { + "start": { + "line": 117, + "column": 3 + }, + "end": { + "line": 117, + "column": 6 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 2997, + 2998 + ], + "loc": { + "start": { + "line": 117, + "column": 7 + }, + "end": { + "line": 117, + "column": 8 + } + } + }, + { + "type": "Identifier", + "name": "i_", + "range": [ + 3000, + 3002 + ], + "loc": { + "start": { + "line": 117, + "column": 10 + }, + "end": { + "line": 117, + "column": 12 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 3004, + 3006 + ], + "loc": { + "start": { + "line": 117, + "column": 14 + }, + "end": { + "line": 117, + "column": 16 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 3008, + 3009 + ], + "loc": { + "start": { + "line": 117, + "column": 18 + }, + "end": { + "line": 117, + "column": 19 + } + } + }, + { + "type": "Identifier", + "name": "j_", + "range": [ + 3011, + 3013 + ], + "loc": { + "start": { + "line": 117, + "column": 21 + }, + "end": { + "line": 117, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 3015, + 3017 + ], + "loc": { + "start": { + "line": 117, + "column": 25 + }, + "end": { + "line": 117, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "z0", + "range": [ + 3019, + 3021 + ], + "loc": { + "start": { + "line": 117, + "column": 29 + }, + "end": { + "line": 117, + "column": 31 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 3023, + 3024 + ], + "loc": { + "start": { + "line": 117, + "column": 33 + }, + "end": { + "line": 117, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "N", + "range": [ + 3026, + 3027 + ], + "loc": { + "start": { + "line": 117, + "column": 36 + }, + "end": { + "line": 117, + "column": 37 + } + } + } + ], + "range": [ + 2993, + 3028 + ], + "loc": { + "start": { + "line": 117, + "column": 3 + }, + "end": { + "line": 117, + "column": 38 + } + } + }, + "range": [ + 2993, + 3029 + ], + "loc": { + "start": { + "line": 117, + "column": 3 + }, + "end": { + "line": 117, + "column": 39 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " z2 = a1.b1", + "range": [ + 2976, + 2989 + ], + "loc": { + "start": { + "line": 116, + "column": 52 + }, + "end": { + "line": 116, + "column": 65 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " z0 = a0.b0", + "range": [ + 3042, + 3055 + ], + "loc": { + "start": { + "line": 117, + "column": 52 + }, + "end": { + "line": 117, + "column": 65 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "add", + "range": [ + 3059, + 3062 + ], + "loc": { + "start": { + "line": 118, + "column": 3 + }, + "end": { + "line": 118, + "column": 6 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 3063, + 3064 + ], + "loc": { + "start": { + "line": 118, + "column": 7 + }, + "end": { + "line": 118, + "column": 8 + } + } + }, + { + "type": "Identifier", + "name": "i_", + "range": [ + 3066, + 3068 + ], + "loc": { + "start": { + "line": 118, + "column": 10 + }, + "end": { + "line": 118, + "column": 12 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 3070, + 3072 + ], + "loc": { + "start": { + "line": 118, + "column": 14 + }, + "end": { + "line": 118, + "column": 16 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 3074, + 3075 + ], + "loc": { + "start": { + "line": 118, + "column": 18 + }, + "end": { + "line": 118, + "column": 19 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 3077, + 3079 + ], + "loc": { + "start": { + "line": 118, + "column": 21 + }, + "end": { + "line": 118, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "i_", + "range": [ + 3081, + 3083 + ], + "loc": { + "start": { + "line": 118, + "column": 25 + }, + "end": { + "line": 118, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "t1", + "range": [ + 3085, + 3087 + ], + "loc": { + "start": { + "line": 118, + "column": 29 + }, + "end": { + "line": 118, + "column": 31 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 3089, + 3090 + ], + "loc": { + "start": { + "line": 118, + "column": 33 + }, + "end": { + "line": 118, + "column": 34 + } + } + }, + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "n", + "range": [ + 3092, + 3093 + ], + "loc": { + "start": { + "line": 118, + "column": 36 + }, + "end": { + "line": 118, + "column": 37 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 3096, + 3097 + ], + "loc": { + "start": { + "line": 118, + "column": 40 + }, + "end": { + "line": 118, + "column": 41 + } + } + }, + "range": [ + 3092, + 3097 + ], + "loc": { + "start": { + "line": 118, + "column": 36 + }, + "end": { + "line": 118, + "column": 41 + } + } + } + ], + "range": [ + 3059, + 3098 + ], + "loc": { + "start": { + "line": 118, + "column": 3 + }, + "end": { + "line": 118, + "column": 42 + } + } + }, + "range": [ + 3059, + 3099 + ], + "loc": { + "start": { + "line": 118, + "column": 3 + }, + "end": { + "line": 118, + "column": 43 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " z0 = a0.b0", + "range": [ + 3042, + 3055 + ], + "loc": { + "start": { + "line": 117, + "column": 52 + }, + "end": { + "line": 117, + "column": 65 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " (a0 + a1)", + "range": [ + 3108, + 3120 + ], + "loc": { + "start": { + "line": 118, + "column": 52 + }, + "end": { + "line": 118, + "column": 64 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "add", + "range": [ + 3124, + 3127 + ], + "loc": { + "start": { + "line": 119, + "column": 3 + }, + "end": { + "line": 119, + "column": 6 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "b", + "range": [ + 3128, + 3129 + ], + "loc": { + "start": { + "line": 119, + "column": 7 + }, + "end": { + "line": 119, + "column": 8 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 3131, + 3133 + ], + "loc": { + "start": { + "line": 119, + "column": 10 + }, + "end": { + "line": 119, + "column": 12 + } + } + }, + { + "type": "Identifier", + "name": "j_", + "range": [ + 3135, + 3137 + ], + "loc": { + "start": { + "line": 119, + "column": 14 + }, + "end": { + "line": 119, + "column": 16 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 3139, + 3140 + ], + "loc": { + "start": { + "line": 119, + "column": 18 + }, + "end": { + "line": 119, + "column": 19 + } + } + }, + { + "type": "Identifier", + "name": "j_", + "range": [ + 3142, + 3144 + ], + "loc": { + "start": { + "line": 119, + "column": 21 + }, + "end": { + "line": 119, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 3146, + 3148 + ], + "loc": { + "start": { + "line": 119, + "column": 25 + }, + "end": { + "line": 119, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "t2", + "range": [ + 3150, + 3152 + ], + "loc": { + "start": { + "line": 119, + "column": 29 + }, + "end": { + "line": 119, + "column": 31 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 3154, + 3155 + ], + "loc": { + "start": { + "line": 119, + "column": 33 + }, + "end": { + "line": 119, + "column": 34 + } + } + }, + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "n", + "range": [ + 3157, + 3158 + ], + "loc": { + "start": { + "line": 119, + "column": 36 + }, + "end": { + "line": 119, + "column": 37 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 3161, + 3162 + ], + "loc": { + "start": { + "line": 119, + "column": 40 + }, + "end": { + "line": 119, + "column": 41 + } + } + }, + "range": [ + 3157, + 3162 + ], + "loc": { + "start": { + "line": 119, + "column": 36 + }, + "end": { + "line": 119, + "column": 41 + } + } + } + ], + "range": [ + 3124, + 3163 + ], + "loc": { + "start": { + "line": 119, + "column": 3 + }, + "end": { + "line": 119, + "column": 42 + } + } + }, + "range": [ + 3124, + 3164 + ], + "loc": { + "start": { + "line": 119, + "column": 3 + }, + "end": { + "line": 119, + "column": 43 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " (a0 + a1)", + "range": [ + 3108, + 3120 + ], + "loc": { + "start": { + "line": 118, + "column": 52 + }, + "end": { + "line": 118, + "column": 64 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " (b1 + b0)", + "range": [ + 3173, + 3185 + ], + "loc": { + "start": { + "line": 119, + "column": 52 + }, + "end": { + "line": 119, + "column": 64 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "mul", + "range": [ + 3189, + 3192 + ], + "loc": { + "start": { + "line": 120, + "column": 3 + }, + "end": { + "line": 120, + "column": 6 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "t1", + "range": [ + 3193, + 3195 + ], + "loc": { + "start": { + "line": 120, + "column": 7 + }, + "end": { + "line": 120, + "column": 9 + } + } + }, + { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 3197, + 3198 + ], + "loc": { + "start": { + "line": 120, + "column": 11 + }, + "end": { + "line": 120, + "column": 12 + } + } + }, + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "n", + "range": [ + 3200, + 3201 + ], + "loc": { + "start": { + "line": 120, + "column": 14 + }, + "end": { + "line": 120, + "column": 15 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 3204, + 3205 + ], + "loc": { + "start": { + "line": 120, + "column": 18 + }, + "end": { + "line": 120, + "column": 19 + } + } + }, + "range": [ + 3200, + 3205 + ], + "loc": { + "start": { + "line": 120, + "column": 14 + }, + "end": { + "line": 120, + "column": 19 + } + } + }, + { + "type": "Identifier", + "name": "t2", + "range": [ + 3207, + 3209 + ], + "loc": { + "start": { + "line": 120, + "column": 21 + }, + "end": { + "line": 120, + "column": 23 + } + } + }, + { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 3211, + 3212 + ], + "loc": { + "start": { + "line": 120, + "column": 25 + }, + "end": { + "line": 120, + "column": 26 + } + } + }, + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "n", + "range": [ + 3214, + 3215 + ], + "loc": { + "start": { + "line": 120, + "column": 28 + }, + "end": { + "line": 120, + "column": 29 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 3218, + 3219 + ], + "loc": { + "start": { + "line": 120, + "column": 32 + }, + "end": { + "line": 120, + "column": 33 + } + } + }, + "range": [ + 3214, + 3219 + ], + "loc": { + "start": { + "line": 120, + "column": 28 + }, + "end": { + "line": 120, + "column": 33 + } + } + }, + { + "type": "Identifier", + "name": "t3", + "range": [ + 3221, + 3223 + ], + "loc": { + "start": { + "line": 120, + "column": 35 + }, + "end": { + "line": 120, + "column": 37 + } + } + }, + { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 3225, + 3226 + ], + "loc": { + "start": { + "line": 120, + "column": 39 + }, + "end": { + "line": 120, + "column": 40 + } + } + }, + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "N", + "range": [ + 3228, + 3229 + ], + "loc": { + "start": { + "line": 120, + "column": 42 + }, + "end": { + "line": 120, + "column": 43 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 3232, + 3233 + ], + "loc": { + "start": { + "line": 120, + "column": 46 + }, + "end": { + "line": 120, + "column": 47 + } + } + }, + "range": [ + 3228, + 3233 + ], + "loc": { + "start": { + "line": 120, + "column": 42 + }, + "end": { + "line": 120, + "column": 47 + } + } + } + ], + "range": [ + 3189, + 3234 + ], + "loc": { + "start": { + "line": 120, + "column": 3 + }, + "end": { + "line": 120, + "column": 48 + } + } + }, + "range": [ + 3189, + 3235 + ], + "loc": { + "start": { + "line": 120, + "column": 3 + }, + "end": { + "line": 120, + "column": 49 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " (b1 + b0)", + "range": [ + 3173, + 3185 + ], + "loc": { + "start": { + "line": 119, + "column": 52 + }, + "end": { + "line": 119, + "column": 64 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " (a0 + a1)(b1 + b0)", + "range": [ + 3238, + 3259 + ], + "loc": { + "start": { + "line": 120, + "column": 52 + }, + "end": { + "line": 120, + "column": 73 + } + } + }, + { + "type": "Line", + "value": " BUILD OUTPUT", + "range": [ + 3263, + 3278 + ], + "loc": { + "start": { + "line": 122, + "column": 2 + }, + "end": { + "line": 122, + "column": 17 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "mov", + "range": [ + 3282, + 3285 + ], + "loc": { + "start": { + "line": 123, + "column": 3 + }, + "end": { + "line": 123, + "column": 6 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "z2", + "range": [ + 3286, + 3288 + ], + "loc": { + "start": { + "line": 123, + "column": 7 + }, + "end": { + "line": 123, + "column": 9 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 3290, + 3291 + ], + "loc": { + "start": { + "line": 123, + "column": 11 + }, + "end": { + "line": 123, + "column": 12 + } + } + }, + { + "type": "Identifier", + "name": "N_", + "range": [ + 3293, + 3295 + ], + "loc": { + "start": { + "line": 123, + "column": 14 + }, + "end": { + "line": 123, + "column": 16 + } + } + }, + { + "type": "Identifier", + "name": "c", + "range": [ + 3297, + 3298 + ], + "loc": { + "start": { + "line": 123, + "column": 18 + }, + "end": { + "line": 123, + "column": 19 + } + } + }, + { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "cj", + "range": [ + 3300, + 3302 + ], + "loc": { + "start": { + "line": 123, + "column": 21 + }, + "end": { + "line": 123, + "column": 23 + } + } + }, + "right": { + "type": "Identifier", + "name": "I", + "range": [ + 3305, + 3306 + ], + "loc": { + "start": { + "line": 123, + "column": 26 + }, + "end": { + "line": 123, + "column": 27 + } + } + }, + "range": [ + 3300, + 3306 + ], + "loc": { + "start": { + "line": 123, + "column": 21 + }, + "end": { + "line": 123, + "column": 27 + } + } + } + ], + "range": [ + 3282, + 3307 + ], + "loc": { + "start": { + "line": 123, + "column": 3 + }, + "end": { + "line": 123, + "column": 28 + } + } + }, + "range": [ + 3282, + 3308 + ], + "loc": { + "start": { + "line": 123, + "column": 3 + }, + "end": { + "line": 123, + "column": 29 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " (a0 + a1)(b1 + b0)", + "range": [ + 3238, + 3259 + ], + "loc": { + "start": { + "line": 120, + "column": 52 + }, + "end": { + "line": 120, + "column": 73 + } + } + }, + { + "type": "Line", + "value": " BUILD OUTPUT", + "range": [ + 3263, + 3278 + ], + "loc": { + "start": { + "line": 122, + "column": 2 + }, + "end": { + "line": 122, + "column": 17 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " + z2 . r^{2n}", + "range": [ + 3331, + 3347 + ], + "loc": { + "start": { + "line": 123, + "column": 52 + }, + "end": { + "line": 123, + "column": 68 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "mov", + "range": [ + 3351, + 3354 + ], + "loc": { + "start": { + "line": 124, + "column": 3 + }, + "end": { + "line": 124, + "column": 6 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "z0", + "range": [ + 3355, + 3357 + ], + "loc": { + "start": { + "line": 124, + "column": 7 + }, + "end": { + "line": 124, + "column": 9 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 3359, + 3360 + ], + "loc": { + "start": { + "line": 124, + "column": 11 + }, + "end": { + "line": 124, + "column": 12 + } + } + }, + { + "type": "Identifier", + "name": "N", + "range": [ + 3362, + 3363 + ], + "loc": { + "start": { + "line": 124, + "column": 14 + }, + "end": { + "line": 124, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "c", + "range": [ + 3366, + 3367 + ], + "loc": { + "start": { + "line": 124, + "column": 18 + }, + "end": { + "line": 124, + "column": 19 + } + } + }, + { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "cj", + "range": [ + 3369, + 3371 + ], + "loc": { + "start": { + "line": 124, + "column": 21 + }, + "end": { + "line": 124, + "column": 23 + } + } + }, + "right": { + "type": "Identifier", + "name": "N", + "range": [ + 3374, + 3375 + ], + "loc": { + "start": { + "line": 124, + "column": 26 + }, + "end": { + "line": 124, + "column": 27 + } + } + }, + "range": [ + 3369, + 3375 + ], + "loc": { + "start": { + "line": 124, + "column": 21 + }, + "end": { + "line": 124, + "column": 27 + } + } + } + ], + "range": [ + 3351, + 3376 + ], + "loc": { + "start": { + "line": 124, + "column": 3 + }, + "end": { + "line": 124, + "column": 28 + } + } + }, + "range": [ + 3351, + 3377 + ], + "loc": { + "start": { + "line": 124, + "column": 3 + }, + "end": { + "line": 124, + "column": 29 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " + z2 . r^{2n}", + "range": [ + 3331, + 3347 + ], + "loc": { + "start": { + "line": 123, + "column": 52 + }, + "end": { + "line": 123, + "column": 68 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " + z0", + "range": [ + 3400, + 3407 + ], + "loc": { + "start": { + "line": 124, + "column": 52 + }, + "end": { + "line": 124, + "column": 59 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "t1", + "range": [ + 3416, + 3418 + ], + "loc": { + "start": { + "line": 126, + "column": 7 + }, + "end": { + "line": 126, + "column": 9 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 3419, + 3420 + ], + "loc": { + "start": { + "line": 126, + "column": 10 + }, + "end": { + "line": 126, + "column": 11 + } + } + }, + "range": [ + 3416, + 3421 + ], + "loc": { + "start": { + "line": 126, + "column": 7 + }, + "end": { + "line": 126, + "column": 12 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "add", + "range": [ + 3467, + 3470 + ], + "loc": { + "start": { + "line": 128, + "column": 4 + }, + "end": { + "line": 128, + "column": 7 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "t3", + "range": [ + 3471, + 3473 + ], + "loc": { + "start": { + "line": 128, + "column": 8 + }, + "end": { + "line": 128, + "column": 10 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 3475, + 3476 + ], + "loc": { + "start": { + "line": 128, + "column": 12 + }, + "end": { + "line": 128, + "column": 13 + } + } + }, + { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "N", + "range": [ + 3478, + 3479 + ], + "loc": { + "start": { + "line": 128, + "column": 15 + }, + "end": { + "line": 128, + "column": 16 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 3482, + 3483 + ], + "loc": { + "start": { + "line": 128, + "column": 19 + }, + "end": { + "line": 128, + "column": 20 + } + } + }, + "range": [ + 3478, + 3483 + ], + "loc": { + "start": { + "line": 128, + "column": 15 + }, + "end": { + "line": 128, + "column": 20 + } + } + }, + "right": { + "type": "Identifier", + "name": "n", + "range": [ + 3486, + 3487 + ], + "loc": { + "start": { + "line": 128, + "column": 23 + }, + "end": { + "line": 128, + "column": 24 + } + } + }, + "range": [ + 3478, + 3487 + ], + "loc": { + "start": { + "line": 128, + "column": 15 + }, + "end": { + "line": 128, + "column": 24 + } + } + }, + { + "type": "Identifier", + "name": "t2", + "range": [ + 3489, + 3491 + ], + "loc": { + "start": { + "line": 128, + "column": 26 + }, + "end": { + "line": 128, + "column": 28 + } + } + }, + { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 3493, + 3494 + ], + "loc": { + "start": { + "line": 128, + "column": 30 + }, + "end": { + "line": 128, + "column": 31 + } + } + }, + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "n", + "range": [ + 3496, + 3497 + ], + "loc": { + "start": { + "line": 128, + "column": 33 + }, + "end": { + "line": 128, + "column": 34 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 3500, + 3501 + ], + "loc": { + "start": { + "line": 128, + "column": 37 + }, + "end": { + "line": 128, + "column": 38 + } + } + }, + "range": [ + 3496, + 3501 + ], + "loc": { + "start": { + "line": 128, + "column": 33 + }, + "end": { + "line": 128, + "column": 38 + } + } + }, + { + "type": "Identifier", + "name": "t3", + "range": [ + 3503, + 3505 + ], + "loc": { + "start": { + "line": 128, + "column": 40 + }, + "end": { + "line": 128, + "column": 42 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 3507, + 3508 + ], + "loc": { + "start": { + "line": 128, + "column": 44 + }, + "end": { + "line": 128, + "column": 45 + } + } + }, + { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "N", + "range": [ + 3510, + 3511 + ], + "loc": { + "start": { + "line": 128, + "column": 47 + }, + "end": { + "line": 128, + "column": 48 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 3514, + 3515 + ], + "loc": { + "start": { + "line": 128, + "column": 51 + }, + "end": { + "line": 128, + "column": 52 + } + } + }, + "range": [ + 3510, + 3515 + ], + "loc": { + "start": { + "line": 128, + "column": 47 + }, + "end": { + "line": 128, + "column": 52 + } + } + }, + "right": { + "type": "Identifier", + "name": "n", + "range": [ + 3518, + 3519 + ], + "loc": { + "start": { + "line": 128, + "column": 55 + }, + "end": { + "line": 128, + "column": 56 + } + } + }, + "range": [ + 3510, + 3519 + ], + "loc": { + "start": { + "line": 128, + "column": 47 + }, + "end": { + "line": 128, + "column": 56 + } + } + } + ], + "range": [ + 3467, + 3520 + ], + "loc": { + "start": { + "line": 128, + "column": 4 + }, + "end": { + "line": 128, + "column": 57 + } + } + }, + "range": [ + 3467, + 3521 + ], + "loc": { + "start": { + "line": 128, + "column": 4 + }, + "end": { + "line": 128, + "column": 58 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " overflow on t1, add t2 . r^{n}", + "range": [ + 3429, + 3462 + ], + "loc": { + "start": { + "line": 127, + "column": 4 + }, + "end": { + "line": 127, + "column": 37 + } + } + } + ] + } + ], + "range": [ + 3423, + 3526 + ], + "loc": { + "start": { + "line": 126, + "column": 14 + }, + "end": { + "line": 129, + "column": 4 + } + } + }, + "alternate": null, + "range": [ + 3412, + 3526 + ], + "loc": { + "start": { + "line": 126, + "column": 3 + }, + "end": { + "line": 129, + "column": 4 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " + z0", + "range": [ + 3400, + 3407 + ], + "loc": { + "start": { + "line": 124, + "column": 52 + }, + "end": { + "line": 124, + "column": 59 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "t2", + "range": [ + 3535, + 3537 + ], + "loc": { + "start": { + "line": 131, + "column": 7 + }, + "end": { + "line": 131, + "column": 9 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 3538, + 3539 + ], + "loc": { + "start": { + "line": 131, + "column": 10 + }, + "end": { + "line": 131, + "column": 11 + } + } + }, + "range": [ + 3535, + 3540 + ], + "loc": { + "start": { + "line": 131, + "column": 7 + }, + "end": { + "line": 131, + "column": 12 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "add", + "range": [ + 3586, + 3589 + ], + "loc": { + "start": { + "line": 133, + "column": 4 + }, + "end": { + "line": 133, + "column": 7 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "t3", + "range": [ + 3590, + 3592 + ], + "loc": { + "start": { + "line": 133, + "column": 8 + }, + "end": { + "line": 133, + "column": 10 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 3594, + 3595 + ], + "loc": { + "start": { + "line": 133, + "column": 12 + }, + "end": { + "line": 133, + "column": 13 + } + } + }, + { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "N", + "range": [ + 3597, + 3598 + ], + "loc": { + "start": { + "line": 133, + "column": 15 + }, + "end": { + "line": 133, + "column": 16 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 3601, + 3602 + ], + "loc": { + "start": { + "line": 133, + "column": 19 + }, + "end": { + "line": 133, + "column": 20 + } + } + }, + "range": [ + 3597, + 3602 + ], + "loc": { + "start": { + "line": 133, + "column": 15 + }, + "end": { + "line": 133, + "column": 20 + } + } + }, + "right": { + "type": "Identifier", + "name": "n", + "range": [ + 3605, + 3606 + ], + "loc": { + "start": { + "line": 133, + "column": 23 + }, + "end": { + "line": 133, + "column": 24 + } + } + }, + "range": [ + 3597, + 3606 + ], + "loc": { + "start": { + "line": 133, + "column": 15 + }, + "end": { + "line": 133, + "column": 24 + } + } + }, + { + "type": "Identifier", + "name": "t1", + "range": [ + 3608, + 3610 + ], + "loc": { + "start": { + "line": 133, + "column": 26 + }, + "end": { + "line": 133, + "column": 28 + } + } + }, + { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 3612, + 3613 + ], + "loc": { + "start": { + "line": 133, + "column": 30 + }, + "end": { + "line": 133, + "column": 31 + } + } + }, + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "n", + "range": [ + 3615, + 3616 + ], + "loc": { + "start": { + "line": 133, + "column": 33 + }, + "end": { + "line": 133, + "column": 34 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 3619, + 3620 + ], + "loc": { + "start": { + "line": 133, + "column": 37 + }, + "end": { + "line": 133, + "column": 38 + } + } + }, + "range": [ + 3615, + 3620 + ], + "loc": { + "start": { + "line": 133, + "column": 33 + }, + "end": { + "line": 133, + "column": 38 + } + } + }, + { + "type": "Identifier", + "name": "t3", + "range": [ + 3622, + 3624 + ], + "loc": { + "start": { + "line": 133, + "column": 40 + }, + "end": { + "line": 133, + "column": 42 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 3626, + 3627 + ], + "loc": { + "start": { + "line": 133, + "column": 44 + }, + "end": { + "line": 133, + "column": 45 + } + } + }, + { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "N", + "range": [ + 3629, + 3630 + ], + "loc": { + "start": { + "line": 133, + "column": 47 + }, + "end": { + "line": 133, + "column": 48 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 3633, + 3634 + ], + "loc": { + "start": { + "line": 133, + "column": 51 + }, + "end": { + "line": 133, + "column": 52 + } + } + }, + "range": [ + 3629, + 3634 + ], + "loc": { + "start": { + "line": 133, + "column": 47 + }, + "end": { + "line": 133, + "column": 52 + } + } + }, + "right": { + "type": "Identifier", + "name": "n", + "range": [ + 3637, + 3638 + ], + "loc": { + "start": { + "line": 133, + "column": 55 + }, + "end": { + "line": 133, + "column": 56 + } + } + }, + "range": [ + 3629, + 3638 + ], + "loc": { + "start": { + "line": 133, + "column": 47 + }, + "end": { + "line": 133, + "column": 56 + } + } + } + ], + "range": [ + 3586, + 3639 + ], + "loc": { + "start": { + "line": 133, + "column": 4 + }, + "end": { + "line": 133, + "column": 57 + } + } + }, + "range": [ + 3586, + 3640 + ], + "loc": { + "start": { + "line": 133, + "column": 4 + }, + "end": { + "line": 133, + "column": 58 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " overflow on t2, add t1 . r^{n}", + "range": [ + 3548, + 3581 + ], + "loc": { + "start": { + "line": 132, + "column": 4 + }, + "end": { + "line": 132, + "column": 37 + } + } + } + ] + } + ], + "range": [ + 3542, + 3645 + ], + "loc": { + "start": { + "line": 131, + "column": 14 + }, + "end": { + "line": 134, + "column": 4 + } + } + }, + "alternate": null, + "range": [ + 3531, + 3645 + ], + "loc": { + "start": { + "line": 131, + "column": 3 + }, + "end": { + "line": 134, + "column": 4 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "t1", + "range": [ + 3654, + 3656 + ], + "loc": { + "start": { + "line": 136, + "column": 7 + }, + "end": { + "line": 136, + "column": 9 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 3657, + 3658 + ], + "loc": { + "start": { + "line": 136, + "column": 10 + }, + "end": { + "line": 136, + "column": 11 + } + } + }, + "range": [ + 3654, + 3659 + ], + "loc": { + "start": { + "line": 136, + "column": 7 + }, + "end": { + "line": 136, + "column": 12 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "t2", + "range": [ + 3663, + 3665 + ], + "loc": { + "start": { + "line": 136, + "column": 16 + }, + "end": { + "line": 136, + "column": 18 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 3666, + 3667 + ], + "loc": { + "start": { + "line": 136, + "column": 19 + }, + "end": { + "line": 136, + "column": 20 + } + } + }, + "range": [ + 3663, + 3668 + ], + "loc": { + "start": { + "line": 136, + "column": 16 + }, + "end": { + "line": 136, + "column": 21 + } + } + }, + "range": [ + 3654, + 3668 + ], + "loc": { + "start": { + "line": 136, + "column": 7 + }, + "end": { + "line": 136, + "column": 21 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "add", + "range": [ + 3722, + 3725 + ], + "loc": { + "start": { + "line": 138, + "column": 4 + }, + "end": { + "line": 138, + "column": 7 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "t3", + "range": [ + 3726, + 3728 + ], + "loc": { + "start": { + "line": 138, + "column": 8 + }, + "end": { + "line": 138, + "column": 10 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 3730, + 3731 + ], + "loc": { + "start": { + "line": 138, + "column": 12 + }, + "end": { + "line": 138, + "column": 13 + } + } + }, + { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "N", + "range": [ + 3733, + 3734 + ], + "loc": { + "start": { + "line": 138, + "column": 15 + }, + "end": { + "line": 138, + "column": 16 + } + } + }, + "right": { + "type": "Identifier", + "name": "n", + "range": [ + 3737, + 3738 + ], + "loc": { + "start": { + "line": 138, + "column": 19 + }, + "end": { + "line": 138, + "column": 20 + } + } + }, + "range": [ + 3733, + 3738 + ], + "loc": { + "start": { + "line": 138, + "column": 15 + }, + "end": { + "line": 138, + "column": 20 + } + } + }, + { + "type": "Identifier", + "name": "t1", + "range": [ + 3740, + 3742 + ], + "loc": { + "start": { + "line": 138, + "column": 22 + }, + "end": { + "line": 138, + "column": 24 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 3744, + 3745 + ], + "loc": { + "start": { + "line": 138, + "column": 26 + }, + "end": { + "line": 138, + "column": 27 + } + } + }, + { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 3747, + 3748 + ], + "loc": { + "start": { + "line": 138, + "column": 29 + }, + "end": { + "line": 138, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "t3", + "range": [ + 3750, + 3752 + ], + "loc": { + "start": { + "line": 138, + "column": 32 + }, + "end": { + "line": 138, + "column": 34 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 3754, + 3755 + ], + "loc": { + "start": { + "line": 138, + "column": 36 + }, + "end": { + "line": 138, + "column": 37 + } + } + }, + { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "N", + "range": [ + 3757, + 3758 + ], + "loc": { + "start": { + "line": 138, + "column": 39 + }, + "end": { + "line": 138, + "column": 40 + } + } + }, + "right": { + "type": "Identifier", + "name": "n", + "range": [ + 3761, + 3762 + ], + "loc": { + "start": { + "line": 138, + "column": 43 + }, + "end": { + "line": 138, + "column": 44 + } + } + }, + "range": [ + 3757, + 3762 + ], + "loc": { + "start": { + "line": 138, + "column": 39 + }, + "end": { + "line": 138, + "column": 44 + } + } + } + ], + "range": [ + 3722, + 3763 + ], + "loc": { + "start": { + "line": 138, + "column": 4 + }, + "end": { + "line": 138, + "column": 45 + } + } + }, + "range": [ + 3722, + 3764 + ], + "loc": { + "start": { + "line": 138, + "column": 4 + }, + "end": { + "line": 138, + "column": 46 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " overflow on t1 and t2, add 1 . r^{n+1}", + "range": [ + 3676, + 3717 + ], + "loc": { + "start": { + "line": 137, + "column": 4 + }, + "end": { + "line": 137, + "column": 45 + } + } + } + ] + } + ], + "range": [ + 3670, + 3769 + ], + "loc": { + "start": { + "line": 136, + "column": 23 + }, + "end": { + "line": 139, + "column": 4 + } + } + }, + "alternate": null, + "range": [ + 3650, + 3769 + ], + "loc": { + "start": { + "line": 136, + "column": 3 + }, + "end": { + "line": 139, + "column": 4 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "add", + "range": [ + 3774, + 3777 + ], + "loc": { + "start": { + "line": 141, + "column": 3 + }, + "end": { + "line": 141, + "column": 6 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "c", + "range": [ + 3778, + 3779 + ], + "loc": { + "start": { + "line": 141, + "column": 7 + }, + "end": { + "line": 141, + "column": 8 + } + } + }, + { + "type": "Identifier", + "name": "ci", + "range": [ + 3781, + 3783 + ], + "loc": { + "start": { + "line": 141, + "column": 10 + }, + "end": { + "line": 141, + "column": 12 + } + } + }, + { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "cj", + "range": [ + 3785, + 3787 + ], + "loc": { + "start": { + "line": 141, + "column": 14 + }, + "end": { + "line": 141, + "column": 16 + } + } + }, + "right": { + "type": "Identifier", + "name": "n", + "range": [ + 3790, + 3791 + ], + "loc": { + "start": { + "line": 141, + "column": 19 + }, + "end": { + "line": 141, + "column": 20 + } + } + }, + "range": [ + 3785, + 3791 + ], + "loc": { + "start": { + "line": 141, + "column": 14 + }, + "end": { + "line": 141, + "column": 20 + } + } + }, + { + "type": "Identifier", + "name": "t3", + "range": [ + 3793, + 3795 + ], + "loc": { + "start": { + "line": 141, + "column": 22 + }, + "end": { + "line": 141, + "column": 24 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 3797, + 3798 + ], + "loc": { + "start": { + "line": 141, + "column": 26 + }, + "end": { + "line": 141, + "column": 27 + } + } + }, + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "N", + "range": [ + 3800, + 3801 + ], + "loc": { + "start": { + "line": 141, + "column": 29 + }, + "end": { + "line": 141, + "column": 30 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 3804, + 3805 + ], + "loc": { + "start": { + "line": 141, + "column": 33 + }, + "end": { + "line": 141, + "column": 34 + } + } + }, + "range": [ + 3800, + 3805 + ], + "loc": { + "start": { + "line": 141, + "column": 29 + }, + "end": { + "line": 141, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "c", + "range": [ + 3807, + 3808 + ], + "loc": { + "start": { + "line": 141, + "column": 36 + }, + "end": { + "line": 141, + "column": 37 + } + } + }, + { + "type": "Identifier", + "name": "ci", + "range": [ + 3810, + 3812 + ], + "loc": { + "start": { + "line": 141, + "column": 39 + }, + "end": { + "line": 141, + "column": 41 + } + } + }, + { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "cj", + "range": [ + 3814, + 3816 + ], + "loc": { + "start": { + "line": 141, + "column": 43 + }, + "end": { + "line": 141, + "column": 45 + } + } + }, + "right": { + "type": "Identifier", + "name": "n", + "range": [ + 3819, + 3820 + ], + "loc": { + "start": { + "line": 141, + "column": 48 + }, + "end": { + "line": 141, + "column": 49 + } + } + }, + "range": [ + 3814, + 3820 + ], + "loc": { + "start": { + "line": 141, + "column": 43 + }, + "end": { + "line": 141, + "column": 49 + } + } + } + ], + "range": [ + 3774, + 3821 + ], + "loc": { + "start": { + "line": 141, + "column": 3 + }, + "end": { + "line": 141, + "column": 50 + } + } + }, + "range": [ + 3774, + 3822 + ], + "loc": { + "start": { + "line": 141, + "column": 3 + }, + "end": { + "line": 141, + "column": 51 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " + (a0 + a1)(b1 + b0) . r^{n}", + "range": [ + 3823, + 3854 + ], + "loc": { + "start": { + "line": 141, + "column": 52 + }, + "end": { + "line": 141, + "column": 83 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "sub", + "range": [ + 3858, + 3861 + ], + "loc": { + "start": { + "line": 142, + "column": 3 + }, + "end": { + "line": 142, + "column": 6 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "c", + "range": [ + 3862, + 3863 + ], + "loc": { + "start": { + "line": 142, + "column": 7 + }, + "end": { + "line": 142, + "column": 8 + } + } + }, + { + "type": "Identifier", + "name": "ci", + "range": [ + 3865, + 3867 + ], + "loc": { + "start": { + "line": 142, + "column": 10 + }, + "end": { + "line": 142, + "column": 12 + } + } + }, + { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "cj", + "range": [ + 3869, + 3871 + ], + "loc": { + "start": { + "line": 142, + "column": 14 + }, + "end": { + "line": 142, + "column": 16 + } + } + }, + "right": { + "type": "Identifier", + "name": "n", + "range": [ + 3874, + 3875 + ], + "loc": { + "start": { + "line": 142, + "column": 19 + }, + "end": { + "line": 142, + "column": 20 + } + } + }, + "range": [ + 3869, + 3875 + ], + "loc": { + "start": { + "line": 142, + "column": 14 + }, + "end": { + "line": 142, + "column": 20 + } + } + }, + { + "type": "Identifier", + "name": "z2", + "range": [ + 3877, + 3879 + ], + "loc": { + "start": { + "line": 142, + "column": 22 + }, + "end": { + "line": 142, + "column": 24 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 3881, + 3882 + ], + "loc": { + "start": { + "line": 142, + "column": 26 + }, + "end": { + "line": 142, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "N_", + "range": [ + 3884, + 3886 + ], + "loc": { + "start": { + "line": 142, + "column": 29 + }, + "end": { + "line": 142, + "column": 31 + } + } + }, + { + "type": "Identifier", + "name": "c", + "range": [ + 3888, + 3889 + ], + "loc": { + "start": { + "line": 142, + "column": 33 + }, + "end": { + "line": 142, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "ci", + "range": [ + 3891, + 3893 + ], + "loc": { + "start": { + "line": 142, + "column": 36 + }, + "end": { + "line": 142, + "column": 38 + } + } + }, + { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "cj", + "range": [ + 3895, + 3897 + ], + "loc": { + "start": { + "line": 142, + "column": 40 + }, + "end": { + "line": 142, + "column": 42 + } + } + }, + "right": { + "type": "Identifier", + "name": "n", + "range": [ + 3900, + 3901 + ], + "loc": { + "start": { + "line": 142, + "column": 45 + }, + "end": { + "line": 142, + "column": 46 + } + } + }, + "range": [ + 3895, + 3901 + ], + "loc": { + "start": { + "line": 142, + "column": 40 + }, + "end": { + "line": 142, + "column": 46 + } + } + } + ], + "range": [ + 3858, + 3902 + ], + "loc": { + "start": { + "line": 142, + "column": 3 + }, + "end": { + "line": 142, + "column": 47 + } + } + }, + "range": [ + 3858, + 3903 + ], + "loc": { + "start": { + "line": 142, + "column": 3 + }, + "end": { + "line": 142, + "column": 48 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " + (a0 + a1)(b1 + b0) . r^{n}", + "range": [ + 3823, + 3854 + ], + "loc": { + "start": { + "line": 141, + "column": 52 + }, + "end": { + "line": 141, + "column": 83 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " - z2 . r^{n}", + "range": [ + 3907, + 3922 + ], + "loc": { + "start": { + "line": 142, + "column": 52 + }, + "end": { + "line": 142, + "column": 67 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "sub", + "range": [ + 3926, + 3929 + ], + "loc": { + "start": { + "line": 143, + "column": 3 + }, + "end": { + "line": 143, + "column": 6 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "c", + "range": [ + 3930, + 3931 + ], + "loc": { + "start": { + "line": 143, + "column": 7 + }, + "end": { + "line": 143, + "column": 8 + } + } + }, + { + "type": "Identifier", + "name": "ci", + "range": [ + 3933, + 3935 + ], + "loc": { + "start": { + "line": 143, + "column": 10 + }, + "end": { + "line": 143, + "column": 12 + } + } + }, + { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "cj", + "range": [ + 3937, + 3939 + ], + "loc": { + "start": { + "line": 143, + "column": 14 + }, + "end": { + "line": 143, + "column": 16 + } + } + }, + "right": { + "type": "Identifier", + "name": "n", + "range": [ + 3942, + 3943 + ], + "loc": { + "start": { + "line": 143, + "column": 19 + }, + "end": { + "line": 143, + "column": 20 + } + } + }, + "range": [ + 3937, + 3943 + ], + "loc": { + "start": { + "line": 143, + "column": 14 + }, + "end": { + "line": 143, + "column": 20 + } + } + }, + { + "type": "Identifier", + "name": "z0", + "range": [ + 3945, + 3947 + ], + "loc": { + "start": { + "line": 143, + "column": 22 + }, + "end": { + "line": 143, + "column": 24 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 3949, + 3950 + ], + "loc": { + "start": { + "line": 143, + "column": 26 + }, + "end": { + "line": 143, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "N", + "range": [ + 3952, + 3953 + ], + "loc": { + "start": { + "line": 143, + "column": 29 + }, + "end": { + "line": 143, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "c", + "range": [ + 3955, + 3956 + ], + "loc": { + "start": { + "line": 143, + "column": 32 + }, + "end": { + "line": 143, + "column": 33 + } + } + }, + { + "type": "Identifier", + "name": "ci", + "range": [ + 3958, + 3960 + ], + "loc": { + "start": { + "line": 143, + "column": 35 + }, + "end": { + "line": 143, + "column": 37 + } + } + }, + { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "cj", + "range": [ + 3962, + 3964 + ], + "loc": { + "start": { + "line": 143, + "column": 39 + }, + "end": { + "line": 143, + "column": 41 + } + } + }, + "right": { + "type": "Identifier", + "name": "n", + "range": [ + 3967, + 3968 + ], + "loc": { + "start": { + "line": 143, + "column": 44 + }, + "end": { + "line": 143, + "column": 45 + } + } + }, + "range": [ + 3962, + 3968 + ], + "loc": { + "start": { + "line": 143, + "column": 39 + }, + "end": { + "line": 143, + "column": 45 + } + } + } + ], + "range": [ + 3926, + 3969 + ], + "loc": { + "start": { + "line": 143, + "column": 3 + }, + "end": { + "line": 143, + "column": 46 + } + } + }, + "range": [ + 3926, + 3970 + ], + "loc": { + "start": { + "line": 143, + "column": 3 + }, + "end": { + "line": 143, + "column": 47 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " - z2 . r^{n}", + "range": [ + 3907, + 3922 + ], + "loc": { + "start": { + "line": 142, + "column": 52 + }, + "end": { + "line": 142, + "column": 67 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " - z1 . r^{n}", + "range": [ + 3975, + 3990 + ], + "loc": { + "start": { + "line": 143, + "column": 52 + }, + "end": { + "line": 143, + "column": 67 + } + } + } + ] + } + ], + "range": [ + 2583, + 3994 + ], + "loc": { + "start": { + "line": 101, + "column": 6 + }, + "end": { + "line": 144, + "column": 3 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " RECURSION", + "range": [ + 2564, + 2576 + ], + "loc": { + "start": { + "line": 100, + "column": 2 + }, + "end": { + "line": 100, + "column": 14 + } + } + } + ] + }, + "range": [ + 2440, + 3994 + ], + "loc": { + "start": { + "line": 89, + "column": 2 + }, + "end": { + "line": 144, + "column": 3 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " BASE CASE i = j = 1", + "range": [ + 2415, + 2437 + ], + "loc": { + "start": { + "line": 88, + "column": 2 + }, + "end": { + "line": 88, + "column": 24 + } + } + } + ] + } + ], + "range": [ + 2248, + 3998 + ], + "loc": { + "start": { + "line": 77, + "column": 58 + }, + "end": { + "line": 146, + "column": 2 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2207, + 3998 + ], + "loc": { + "start": { + "line": 77, + "column": 17 + }, + "end": { + "line": 146, + "column": 2 + } + } + }, + "range": [ + 2195, + 3998 + ], + "loc": { + "start": { + "line": 77, + "column": 5 + }, + "end": { + "line": 146, + "column": 2 + } + } + } + ], + "kind": "var", + "range": [ + 2191, + 3999 + ], + "loc": { + "start": { + "line": 77, + "column": 1 + }, + "end": { + "line": 146, + "column": 3 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n\t * Multiply two big endian arrays using karatsuba algorithm,\n\t * i >= j, k >= 2 * i\n\t *\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t ", + "range": [ + 1800, + 2188 + ], + "loc": { + "start": { + "line": 61, + "column": 1 + }, + "end": { + "line": 75, + "column": 4 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "wrap", + "range": [ + 4006, + 4010 + ], + "loc": { + "start": { + "line": 148, + "column": 5 + }, + "end": { + "line": 148, + "column": 9 + } + } + }, + "right": { + "type": "Identifier", + "name": "undefined", + "range": [ + 4015, + 4024 + ], + "loc": { + "start": { + "line": 148, + "column": 14 + }, + "end": { + "line": 148, + "column": 23 + } + } + }, + "range": [ + 4006, + 4024 + ], + "loc": { + "start": { + "line": 148, + "column": 5 + }, + "end": { + "line": 148, + "column": 23 + } + } + }, + "consequent": { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "karatsuba", + "range": [ + 4026, + 4035 + ], + "loc": { + "start": { + "line": 148, + "column": 25 + }, + "end": { + "line": 148, + "column": 34 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "wrap", + "range": [ + 4038, + 4042 + ], + "loc": { + "start": { + "line": 148, + "column": 37 + }, + "end": { + "line": 148, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "karatsuba", + "range": [ + 4043, + 4052 + ], + "loc": { + "start": { + "line": 148, + "column": 42 + }, + "end": { + "line": 148, + "column": 51 + } + } + } + ], + "range": [ + 4038, + 4053 + ], + "loc": { + "start": { + "line": 148, + "column": 37 + }, + "end": { + "line": 148, + "column": 52 + } + } + }, + "range": [ + 4026, + 4053 + ], + "loc": { + "start": { + "line": 148, + "column": 25 + }, + "end": { + "line": 148, + "column": 52 + } + } + }, + "range": [ + 4026, + 4054 + ], + "loc": { + "start": { + "line": 148, + "column": 25 + }, + "end": { + "line": 148, + "column": 53 + } + } + }, + "alternate": null, + "range": [ + 4002, + 4054 + ], + "loc": { + "start": { + "line": 148, + "column": 1 + }, + "end": { + "line": 148, + "column": 53 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " - z1 . r^{n}", + "range": [ + 3975, + 3990 + ], + "loc": { + "start": { + "line": 143, + "column": 52 + }, + "end": { + "line": 143, + "column": 67 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "mul", + "range": [ + 4060, + 4063 + ], + "loc": { + "start": { + "line": 149, + "column": 5 + }, + "end": { + "line": 149, + "column": 8 + } + } + }, + "right": { + "type": "Identifier", + "name": "undefined", + "range": [ + 4068, + 4077 + ], + "loc": { + "start": { + "line": 149, + "column": 13 + }, + "end": { + "line": 149, + "column": 22 + } + } + }, + "range": [ + 4060, + 4077 + ], + "loc": { + "start": { + "line": 149, + "column": 5 + }, + "end": { + "line": 149, + "column": 22 + } + } + }, + "consequent": { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "mul", + "range": [ + 4079, + 4082 + ], + "loc": { + "start": { + "line": 149, + "column": 24 + }, + "end": { + "line": 149, + "column": 27 + } + } + }, + "right": { + "type": "Identifier", + "name": "karatsuba", + "range": [ + 4085, + 4094 + ], + "loc": { + "start": { + "line": 149, + "column": 30 + }, + "end": { + "line": 149, + "column": 39 + } + } + }, + "range": [ + 4079, + 4094 + ], + "loc": { + "start": { + "line": 149, + "column": 24 + }, + "end": { + "line": 149, + "column": 39 + } + } + }, + "range": [ + 4079, + 4095 + ], + "loc": { + "start": { + "line": 149, + "column": 24 + }, + "end": { + "line": 149, + "column": 40 + } + } + }, + "alternate": null, + "range": [ + 4056, + 4095 + ], + "loc": { + "start": { + "line": 149, + "column": 1 + }, + "end": { + "line": 149, + "column": 40 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "karatsuba", + "range": [ + 4105, + 4114 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 17 + } + } + }, + "range": [ + 4098, + 4115 + ], + "loc": { + "start": { + "line": 151, + "column": 1 + }, + "end": { + "line": 151, + "column": 18 + } + } + } + ], + "range": [ + 1796, + 4118 + ], + "loc": { + "start": { + "line": 59, + "column": 66 + }, + "end": { + "line": 153, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1737, + 4118 + ], + "loc": { + "start": { + "line": 59, + "column": 7 + }, + "end": { + "line": 153, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * /!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n *\n *\n * @param {function} add addition algorithm\n * @param {function} sub subtraction algorithm\n * @param {function} mul multiplication algorithm\n * @param {function} copy copy algorithm\n * @param {function} calloc array allocator\n * @param {uint} r base (radix)\n *\n *\n * EXPLANATION\n * ###########\n *\n * We consider the numbers a and b, both of size N = 2n.\n *\n * We divide a and b into their lower and upper parts.\n *\n * a = a1 r^{n} + a0 (1)\n * b = b1 r^{n} + b0 (2)\n *\n * We express the product of a and b using their lower and upper parts.\n *\n * a b = (a1 r^{n} + a0) (b1 r^{n} + b0) (3)\n * = a1 b1 r^{2n} + (a1 b0 + a0 b1) r^{n} + a0 b0 (4)\n *\n * This gives us 4 multiplications with operands of size n.\n * Using a simple trick, we can reduce this computation to 3 multiplications.\n *\n * We give the 3 terms of (4) the names z0, z1 and z2.\n *\n * z2 = a1 b1\n * z1 = a1 b0 + a0 b1\n * z0 = a0 b0\n *\n * a b = z2 r^{2n} + z1 r^{n} + z0\n *\n * We then express z1 using z0, z2 and one additional multiplication.\n *\n * (a1 + a0)(b1 + b0) = a1 b1 + a0 b0 + (a1 b0 + a0 b1)\n * = z2 + z0 + z1\n *\n * z1 = (a1 + a0)(b1 + b0) - z2 - z0\n *\n * AN ANOTHER WAY AROUND (not used here)\n *\n * (a1 - a0)(b1 - b0) = (a1 b1 + a0 b0) - (a1 b0 + a0 b1)\n * (a0 - a1)(b1 - b0) = (a1 b0 + a0 b1) - (a1 b1 + a0 b0)\n * a b = (r^{2n} + r^{n})a1 b1 + r^{n}(a0 - a1)(b1 - b0) + (r^{n} + 1)a0 b0\n *\n * This algorithm is a generalization of the Toom-Cook algorithm, when m = n = 2.\n *\n * For further reference, see\n * - http://en.wikipedia.org/wiki/Karatsuba_algorithm\n * - http://en.wikipedia.org/wiki/Toom–Cook_multiplication\n ", + "range": [ + 0, + 1728 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 57, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 1730, + 4118 + ], + "loc": { + "start": { + "line": 59, + "column": 0 + }, + "end": { + "line": 153, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * /!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n *\n *\n * @param {function} add addition algorithm\n * @param {function} sub subtraction algorithm\n * @param {function} mul multiplication algorithm\n * @param {function} copy copy algorithm\n * @param {function} calloc array allocator\n * @param {uint} r base (radix)\n *\n *\n * EXPLANATION\n * ###########\n *\n * We consider the numbers a and b, both of size N = 2n.\n *\n * We divide a and b into their lower and upper parts.\n *\n * a = a1 r^{n} + a0 (1)\n * b = b1 r^{n} + b0 (2)\n *\n * We express the product of a and b using their lower and upper parts.\n *\n * a b = (a1 r^{n} + a0) (b1 r^{n} + b0) (3)\n * = a1 b1 r^{2n} + (a1 b0 + a0 b1) r^{n} + a0 b0 (4)\n *\n * This gives us 4 multiplications with operands of size n.\n * Using a simple trick, we can reduce this computation to 3 multiplications.\n *\n * We give the 3 terms of (4) the names z0, z1 and z2.\n *\n * z2 = a1 b1\n * z1 = a1 b0 + a0 b1\n * z0 = a0 b0\n *\n * a b = z2 r^{2n} + z1 r^{n} + z0\n *\n * We then express z1 using z0, z2 and one additional multiplication.\n *\n * (a1 + a0)(b1 + b0) = a1 b1 + a0 b0 + (a1 b0 + a0 b1)\n * = z2 + z0 + z1\n *\n * z1 = (a1 + a0)(b1 + b0) - z2 - z0\n *\n * AN ANOTHER WAY AROUND (not used here)\n *\n * (a1 - a0)(b1 - b0) = (a1 b1 + a0 b0) - (a1 b0 + a0 b1)\n * (a0 - a1)(b1 - b0) = (a1 b0 + a0 b1) - (a1 b1 + a0 b0)\n * a b = (r^{2n} + r^{n})a1 b1 + r^{n}(a0 - a1)(b1 - b0) + (r^{n} + 1)a0 b0\n *\n * This algorithm is a generalization of the Toom-Cook algorithm, when m = n = 2.\n *\n * For further reference, see\n * - http://en.wikipedia.org/wiki/Karatsuba_algorithm\n * - http://en.wikipedia.org/wiki/Toom–Cook_multiplication\n ", + "range": [ + 0, + 1728 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 57, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 1730, + 4118 + ], + "loc": { + "start": { + "line": 59, + "column": 0 + }, + "end": { + "line": 153, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * /!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n *\n *\n * @param {function} add addition algorithm\n * @param {function} sub subtraction algorithm\n * @param {function} mul multiplication algorithm\n * @param {function} copy copy algorithm\n * @param {function} calloc array allocator\n * @param {uint} r base (radix)\n *\n *\n * EXPLANATION\n * ###########\n *\n * We consider the numbers a and b, both of size N = 2n.\n *\n * We divide a and b into their lower and upper parts.\n *\n * a = a1 r^{n} + a0 (1)\n * b = b1 r^{n} + b0 (2)\n *\n * We express the product of a and b using their lower and upper parts.\n *\n * a b = (a1 r^{n} + a0) (b1 r^{n} + b0) (3)\n * = a1 b1 r^{2n} + (a1 b0 + a0 b1) r^{n} + a0 b0 (4)\n *\n * This gives us 4 multiplications with operands of size n.\n * Using a simple trick, we can reduce this computation to 3 multiplications.\n *\n * We give the 3 terms of (4) the names z0, z1 and z2.\n *\n * z2 = a1 b1\n * z1 = a1 b0 + a0 b1\n * z0 = a0 b0\n *\n * a b = z2 r^{2n} + z1 r^{n} + z0\n *\n * We then express z1 using z0, z2 and one additional multiplication.\n *\n * (a1 + a0)(b1 + b0) = a1 b1 + a0 b0 + (a1 b0 + a0 b1)\n * = z2 + z0 + z1\n *\n * z1 = (a1 + a0)(b1 + b0) - z2 - z0\n *\n * AN ANOTHER WAY AROUND (not used here)\n *\n * (a1 - a0)(b1 - b0) = (a1 b1 + a0 b0) - (a1 b0 + a0 b1)\n * (a0 - a1)(b1 - b0) = (a1 b0 + a0 b1) - (a1 b1 + a0 b0)\n * a b = (r^{2n} + r^{n})a1 b1 + r^{n}(a0 - a1)(b1 - b0) + (r^{n} + 1)a0 b0\n *\n * This algorithm is a generalization of the Toom-Cook algorithm, when m = n = 2.\n *\n * For further reference, see\n * - http://en.wikipedia.org/wiki/Karatsuba_algorithm\n * - http://en.wikipedia.org/wiki/Toom–Cook_multiplication\n ", + "range": [ + 0, + 1728 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 57, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n\t * Multiply two big endian arrays using karatsuba algorithm,\n\t * i >= j, k >= 2 * i\n\t *\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t ", + "range": [ + 1800, + 2188 + ], + "loc": { + "start": { + "line": 61, + "column": 1 + }, + "end": { + "line": 75, + "column": 4 + } + } + }, + { + "type": "Line", + "value": " EMPTY CASE", + "range": [ + 2356, + 2369 + ], + "loc": { + "start": { + "line": 85, + "column": 2 + }, + "end": { + "line": 85, + "column": 15 + } + } + }, + { + "type": "Line", + "value": " BASE CASE i = j = 1", + "range": [ + 2415, + 2437 + ], + "loc": { + "start": { + "line": 88, + "column": 2 + }, + "end": { + "line": 88, + "column": 24 + } + } + }, + { + "type": "Line", + "value": " RECURSION", + "range": [ + 2564, + 2576 + ], + "loc": { + "start": { + "line": 100, + "column": 2 + }, + "end": { + "line": 100, + "column": 14 + } + } + }, + { + "type": "Line", + "value": " + 1 to handle addition overflows", + "range": [ + 2726, + 2761 + ], + "loc": { + "start": { + "line": 109, + "column": 23 + }, + "end": { + "line": 109, + "column": 58 + } + } + }, + { + "type": "Line", + "value": " and guarantee reducing k for the", + "range": [ + 2785, + 2820 + ], + "loc": { + "start": { + "line": 110, + "column": 23 + }, + "end": { + "line": 110, + "column": 58 + } + } + }, + { + "type": "Line", + "value": " recursive calls", + "range": [ + 2844, + 2862 + ], + "loc": { + "start": { + "line": 111, + "column": 23 + }, + "end": { + "line": 111, + "column": 41 + } + } + }, + { + "type": "Line", + "value": " RECURSIVE CALLS", + "range": [ + 2905, + 2923 + ], + "loc": { + "start": { + "line": 115, + "column": 2 + }, + "end": { + "line": 115, + "column": 20 + } + } + }, + { + "type": "Line", + "value": " z2 = a1.b1", + "range": [ + 2976, + 2989 + ], + "loc": { + "start": { + "line": 116, + "column": 52 + }, + "end": { + "line": 116, + "column": 65 + } + } + }, + { + "type": "Line", + "value": " z0 = a0.b0", + "range": [ + 3042, + 3055 + ], + "loc": { + "start": { + "line": 117, + "column": 52 + }, + "end": { + "line": 117, + "column": 65 + } + } + }, + { + "type": "Line", + "value": " (a0 + a1)", + "range": [ + 3108, + 3120 + ], + "loc": { + "start": { + "line": 118, + "column": 52 + }, + "end": { + "line": 118, + "column": 64 + } + } + }, + { + "type": "Line", + "value": " (b1 + b0)", + "range": [ + 3173, + 3185 + ], + "loc": { + "start": { + "line": 119, + "column": 52 + }, + "end": { + "line": 119, + "column": 64 + } + } + }, + { + "type": "Line", + "value": " (a0 + a1)(b1 + b0)", + "range": [ + 3238, + 3259 + ], + "loc": { + "start": { + "line": 120, + "column": 52 + }, + "end": { + "line": 120, + "column": 73 + } + } + }, + { + "type": "Line", + "value": " BUILD OUTPUT", + "range": [ + 3263, + 3278 + ], + "loc": { + "start": { + "line": 122, + "column": 2 + }, + "end": { + "line": 122, + "column": 17 + } + } + }, + { + "type": "Line", + "value": " + z2 . r^{2n}", + "range": [ + 3331, + 3347 + ], + "loc": { + "start": { + "line": 123, + "column": 52 + }, + "end": { + "line": 123, + "column": 68 + } + } + }, + { + "type": "Line", + "value": " + z0", + "range": [ + 3400, + 3407 + ], + "loc": { + "start": { + "line": 124, + "column": 52 + }, + "end": { + "line": 124, + "column": 59 + } + } + }, + { + "type": "Line", + "value": " overflow on t1, add t2 . r^{n}", + "range": [ + 3429, + 3462 + ], + "loc": { + "start": { + "line": 127, + "column": 4 + }, + "end": { + "line": 127, + "column": 37 + } + } + }, + { + "type": "Line", + "value": " overflow on t2, add t1 . r^{n}", + "range": [ + 3548, + 3581 + ], + "loc": { + "start": { + "line": 132, + "column": 4 + }, + "end": { + "line": 132, + "column": 37 + } + } + }, + { + "type": "Line", + "value": " overflow on t1 and t2, add 1 . r^{n+1}", + "range": [ + 3676, + 3717 + ], + "loc": { + "start": { + "line": 137, + "column": 4 + }, + "end": { + "line": 137, + "column": 45 + } + } + }, + { + "type": "Line", + "value": " + (a0 + a1)(b1 + b0) . r^{n}", + "range": [ + 3823, + 3854 + ], + "loc": { + "start": { + "line": 141, + "column": 52 + }, + "end": { + "line": 141, + "column": 83 + } + } + }, + { + "type": "Line", + "value": " - z2 . r^{n}", + "range": [ + 3907, + 3922 + ], + "loc": { + "start": { + "line": 142, + "column": 52 + }, + "end": { + "line": 142, + "column": 67 + } + } + }, + { + "type": "Line", + "value": " - z1 . r^{n}", + "range": [ + 3975, + 3990 + ], + "loc": { + "start": { + "line": 143, + "column": 52 + }, + "end": { + "line": 143, + "column": 67 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/mul/mul.js.json b/ast/source/0-legacy/arithmetic/mul/mul.js.json new file mode 100644 index 0000000..df0a4d9 --- /dev/null +++ b/ast/source/0-legacy/arithmetic/mul/mul.js.json @@ -0,0 +1,3203 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "bmul_t", + "range": [ + 17, + 23 + ], + "loc": { + "start": { + "line": 2, + "column": 16 + }, + "end": { + "line": 2, + "column": 22 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "r", + "range": [ + 25, + 26 + ], + "loc": { + "start": { + "line": 2, + "column": 24 + }, + "end": { + "line": 2, + "column": 25 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "mul", + "range": [ + 237, + 240 + ], + "loc": { + "start": { + "line": 12, + "column": 5 + }, + "end": { + "line": 12, + "column": 8 + } + } + }, + "init": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 252, + 253 + ], + "loc": { + "start": { + "line": 12, + "column": 20 + }, + "end": { + "line": 12, + "column": 21 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 255, + 257 + ], + "loc": { + "start": { + "line": 12, + "column": 23 + }, + "end": { + "line": 12, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 259, + 261 + ], + "loc": { + "start": { + "line": 12, + "column": 27 + }, + "end": { + "line": 12, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 263, + 264 + ], + "loc": { + "start": { + "line": 12, + "column": 31 + }, + "end": { + "line": 12, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 266, + 268 + ], + "loc": { + "start": { + "line": 12, + "column": 34 + }, + "end": { + "line": 12, + "column": 36 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 270, + 272 + ], + "loc": { + "start": { + "line": 12, + "column": 38 + }, + "end": { + "line": 12, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "c", + "range": [ + 274, + 275 + ], + "loc": { + "start": { + "line": 12, + "column": 42 + }, + "end": { + "line": 12, + "column": 43 + } + } + }, + { + "type": "Identifier", + "name": "ci", + "range": [ + 277, + 279 + ], + "loc": { + "start": { + "line": 12, + "column": 45 + }, + "end": { + "line": 12, + "column": 47 + } + } + }, + { + "type": "Identifier", + "name": "cj", + "range": [ + 281, + 283 + ], + "loc": { + "start": { + "line": 12, + "column": 49 + }, + "end": { + "line": 12, + "column": 51 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "ak", + "range": [ + 292, + 294 + ], + "loc": { + "start": { + "line": 13, + "column": 6 + }, + "end": { + "line": 13, + "column": 8 + } + } + }, + "init": null, + "range": [ + 292, + 294 + ], + "loc": { + "start": { + "line": 13, + "column": 6 + }, + "end": { + "line": 13, + "column": 8 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "ck", + "range": [ + 296, + 298 + ], + "loc": { + "start": { + "line": 13, + "column": 10 + }, + "end": { + "line": 13, + "column": 12 + } + } + }, + "init": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "cj", + "range": [ + 303, + 305 + ], + "loc": { + "start": { + "line": 13, + "column": 17 + }, + "end": { + "line": 13, + "column": 19 + } + } + }, + "prefix": true, + "range": [ + 301, + 305 + ], + "loc": { + "start": { + "line": 13, + "column": 15 + }, + "end": { + "line": 13, + "column": 19 + } + } + }, + "range": [ + 296, + 305 + ], + "loc": { + "start": { + "line": 13, + "column": 10 + }, + "end": { + "line": 13, + "column": 19 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "ct", + "range": [ + 307, + 309 + ], + "loc": { + "start": { + "line": 13, + "column": 21 + }, + "end": { + "line": 13, + "column": 23 + } + } + }, + "init": null, + "range": [ + 307, + 309 + ], + "loc": { + "start": { + "line": 13, + "column": 21 + }, + "end": { + "line": 13, + "column": 23 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "t", + "range": [ + 311, + 312 + ], + "loc": { + "start": { + "line": 13, + "column": 25 + }, + "end": { + "line": 13, + "column": 26 + } + } + }, + "init": null, + "range": [ + 311, + 312 + ], + "loc": { + "start": { + "line": 13, + "column": 25 + }, + "end": { + "line": 13, + "column": 26 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "u", + "range": [ + 314, + 315 + ], + "loc": { + "start": { + "line": 13, + "column": 28 + }, + "end": { + "line": 13, + "column": 29 + } + } + }, + "init": null, + "range": [ + 314, + 315 + ], + "loc": { + "start": { + "line": 13, + "column": 28 + }, + "end": { + "line": 13, + "column": 29 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "v", + "range": [ + 317, + 318 + ], + "loc": { + "start": { + "line": 13, + "column": 31 + }, + "end": { + "line": 13, + "column": 32 + } + } + }, + "init": null, + "range": [ + 317, + 318 + ], + "loc": { + "start": { + "line": 13, + "column": 31 + }, + "end": { + "line": 13, + "column": 32 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "w", + "range": [ + 320, + 321 + ], + "loc": { + "start": { + "line": 13, + "column": 34 + }, + "end": { + "line": 13, + "column": 35 + } + } + }, + "init": null, + "range": [ + 320, + 321 + ], + "loc": { + "start": { + "line": 13, + "column": 34 + }, + "end": { + "line": 13, + "column": 35 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "y", + "range": [ + 323, + 324 + ], + "loc": { + "start": { + "line": 13, + "column": 37 + }, + "end": { + "line": 13, + "column": 38 + } + } + }, + "init": null, + "range": [ + 323, + 324 + ], + "loc": { + "start": { + "line": 13, + "column": 37 + }, + "end": { + "line": 13, + "column": 38 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "z", + "range": [ + 326, + 327 + ], + "loc": { + "start": { + "line": 13, + "column": 40 + }, + "end": { + "line": 13, + "column": 41 + } + } + }, + "init": null, + "range": [ + 326, + 327 + ], + "loc": { + "start": { + "line": 13, + "column": 40 + }, + "end": { + "line": 13, + "column": 41 + } + } + } + ], + "kind": "var", + "range": [ + 288, + 328 + ], + "loc": { + "start": { + "line": 13, + "column": 2 + }, + "end": { + "line": 13, + "column": 42 + } + } + }, + { + "type": "WhileStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "bj", + "range": [ + 339, + 341 + ], + "loc": { + "start": { + "line": 15, + "column": 9 + }, + "end": { + "line": 15, + "column": 11 + } + } + }, + "prefix": false, + "range": [ + 339, + 344 + ], + "loc": { + "start": { + "line": 15, + "column": 9 + }, + "end": { + "line": 15, + "column": 14 + } + } + }, + "right": { + "type": "Identifier", + "name": "bi", + "range": [ + 346, + 348 + ], + "loc": { + "start": { + "line": 15, + "column": 16 + }, + "end": { + "line": 15, + "column": 18 + } + } + }, + "range": [ + 339, + 348 + ], + "loc": { + "start": { + "line": 15, + "column": 9 + }, + "end": { + "line": 15, + "column": 18 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "Identifier", + "name": "ck", + "range": [ + 352, + 354 + ], + "loc": { + "start": { + "line": 15, + "column": 22 + }, + "end": { + "line": 15, + "column": 24 + } + } + }, + "right": { + "type": "Identifier", + "name": "ci", + "range": [ + 358, + 360 + ], + "loc": { + "start": { + "line": 15, + "column": 28 + }, + "end": { + "line": 15, + "column": 30 + } + } + }, + "range": [ + 352, + 360 + ], + "loc": { + "start": { + "line": 15, + "column": 22 + }, + "end": { + "line": 15, + "column": 30 + } + } + }, + "range": [ + 339, + 360 + ], + "loc": { + "start": { + "line": 15, + "column": 9 + }, + "end": { + "line": 15, + "column": 30 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ForStatement", + "init": { + "type": "SequenceExpression", + "expressions": [ + { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "ak", + "range": [ + 372, + 374 + ], + "loc": { + "start": { + "line": 16, + "column": 8 + }, + "end": { + "line": 16, + "column": 10 + } + } + }, + "right": { + "type": "Identifier", + "name": "aj", + "range": [ + 377, + 379 + ], + "loc": { + "start": { + "line": 16, + "column": 13 + }, + "end": { + "line": 16, + "column": 15 + } + } + }, + "range": [ + 372, + 379 + ], + "loc": { + "start": { + "line": 16, + "column": 8 + }, + "end": { + "line": 16, + "column": 15 + } + } + }, + { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "w", + "range": [ + 381, + 382 + ], + "loc": { + "start": { + "line": 16, + "column": 17 + }, + "end": { + "line": 16, + "column": 18 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 385, + 386 + ], + "loc": { + "start": { + "line": 16, + "column": 21 + }, + "end": { + "line": 16, + "column": 22 + } + } + }, + "range": [ + 381, + 386 + ], + "loc": { + "start": { + "line": 16, + "column": 17 + }, + "end": { + "line": 16, + "column": 22 + } + } + } + ], + "range": [ + 372, + 386 + ], + "loc": { + "start": { + "line": 16, + "column": 8 + }, + "end": { + "line": 16, + "column": 22 + } + } + }, + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "ak", + "range": [ + 388, + 390 + ], + "loc": { + "start": { + "line": 16, + "column": 24 + }, + "end": { + "line": 16, + "column": 26 + } + } + }, + "prefix": false, + "range": [ + 388, + 393 + ], + "loc": { + "start": { + "line": 16, + "column": 24 + }, + "end": { + "line": 16, + "column": 29 + } + } + }, + "right": { + "type": "Identifier", + "name": "ai", + "range": [ + 395, + 397 + ], + "loc": { + "start": { + "line": 16, + "column": 31 + }, + "end": { + "line": 16, + "column": 33 + } + } + }, + "range": [ + 388, + 397 + ], + "loc": { + "start": { + "line": 16, + "column": 24 + }, + "end": { + "line": 16, + "column": 33 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "Identifier", + "name": "ck", + "range": [ + 401, + 403 + ], + "loc": { + "start": { + "line": 16, + "column": 37 + }, + "end": { + "line": 16, + "column": 39 + } + } + }, + "right": { + "type": "Identifier", + "name": "ci", + "range": [ + 407, + 409 + ], + "loc": { + "start": { + "line": 16, + "column": 43 + }, + "end": { + "line": 16, + "column": 45 + } + } + }, + "range": [ + 401, + 409 + ], + "loc": { + "start": { + "line": 16, + "column": 37 + }, + "end": { + "line": 16, + "column": 45 + } + } + }, + "range": [ + 388, + 409 + ], + "loc": { + "start": { + "line": 16, + "column": 24 + }, + "end": { + "line": 16, + "column": 45 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "ck", + "range": [ + 413, + 415 + ], + "loc": { + "start": { + "line": 16, + "column": 49 + }, + "end": { + "line": 16, + "column": 51 + } + } + }, + "prefix": true, + "range": [ + 411, + 415 + ], + "loc": { + "start": { + "line": 16, + "column": 47 + }, + "end": { + "line": 16, + "column": 51 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 423, + 424 + ], + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 5 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "*", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 427, + 428 + ], + "loc": { + "start": { + "line": 17, + "column": 8 + }, + "end": { + "line": 17, + "column": 9 + } + } + }, + "property": { + "type": "Identifier", + "name": "bj", + "range": [ + 429, + 431 + ], + "loc": { + "start": { + "line": 17, + "column": 10 + }, + "end": { + "line": 17, + "column": 12 + } + } + }, + "range": [ + 427, + 432 + ], + "loc": { + "start": { + "line": 17, + "column": 8 + }, + "end": { + "line": 17, + "column": 13 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 435, + 436 + ], + "loc": { + "start": { + "line": 17, + "column": 16 + }, + "end": { + "line": 17, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "ak", + "range": [ + 437, + 439 + ], + "loc": { + "start": { + "line": 17, + "column": 18 + }, + "end": { + "line": 17, + "column": 20 + } + } + }, + "range": [ + 435, + 440 + ], + "loc": { + "start": { + "line": 17, + "column": 16 + }, + "end": { + "line": 17, + "column": 21 + } + } + }, + "range": [ + 427, + 440 + ], + "loc": { + "start": { + "line": 17, + "column": 8 + }, + "end": { + "line": 17, + "column": 21 + } + } + }, + "range": [ + 423, + 440 + ], + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 21 + } + } + }, + "range": [ + 423, + 441 + ], + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 22 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "u", + "range": [ + 446, + 447 + ], + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 5 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "%", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 450, + 451 + ], + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 9 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 454, + 455 + ], + "loc": { + "start": { + "line": 18, + "column": 12 + }, + "end": { + "line": 18, + "column": 13 + } + } + }, + "range": [ + 450, + 455 + ], + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 13 + } + } + }, + "range": [ + 446, + 455 + ], + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 13 + } + } + }, + "range": [ + 446, + 456 + ], + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 14 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "v", + "range": [ + 461, + 462 + ], + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 5 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 465, + 466 + ], + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 9 + } + } + }, + "property": { + "type": "Identifier", + "name": "ck", + "range": [ + 467, + 469 + ], + "loc": { + "start": { + "line": 19, + "column": 10 + }, + "end": { + "line": 19, + "column": 12 + } + } + }, + "range": [ + 465, + 470 + ], + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 13 + } + } + }, + "right": { + "type": "Identifier", + "name": "u", + "range": [ + 473, + 474 + ], + "loc": { + "start": { + "line": 19, + "column": 16 + }, + "end": { + "line": 19, + "column": 17 + } + } + }, + "range": [ + 465, + 474 + ], + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 17 + } + } + }, + "right": { + "type": "Identifier", + "name": "w", + "range": [ + 477, + 478 + ], + "loc": { + "start": { + "line": 19, + "column": 20 + }, + "end": { + "line": 19, + "column": 21 + } + } + }, + "range": [ + 465, + 478 + ], + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 21 + } + } + }, + "range": [ + 461, + 478 + ], + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 21 + } + } + }, + "range": [ + 461, + 479 + ], + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 22 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "y", + "range": [ + 485, + 486 + ], + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 5 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "%", + "left": { + "type": "Identifier", + "name": "v", + "range": [ + 489, + 490 + ], + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 9 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 493, + 494 + ], + "loc": { + "start": { + "line": 21, + "column": 12 + }, + "end": { + "line": 21, + "column": 13 + } + } + }, + "range": [ + 489, + 494 + ], + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 13 + } + } + }, + "range": [ + 485, + 494 + ], + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 13 + } + } + }, + "range": [ + 485, + 495 + ], + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 14 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 501, + 502 + ], + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 5 + } + } + }, + "property": { + "type": "Identifier", + "name": "ck", + "range": [ + 503, + 505 + ], + "loc": { + "start": { + "line": 23, + "column": 6 + }, + "end": { + "line": 23, + "column": 8 + } + } + }, + "range": [ + 501, + 506 + ], + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 9 + } + } + }, + "right": { + "type": "Identifier", + "name": "y", + "range": [ + 509, + 510 + ], + "loc": { + "start": { + "line": 23, + "column": 12 + }, + "end": { + "line": 23, + "column": 13 + } + } + }, + "range": [ + 501, + 510 + ], + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 13 + } + } + }, + "range": [ + 501, + 511 + ], + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 14 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "z", + "range": [ + 517, + 518 + ], + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 5 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "v", + "range": [ + 522, + 523 + ], + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 10 + } + } + }, + "right": { + "type": "Identifier", + "name": "y", + "range": [ + 526, + 527 + ], + "loc": { + "start": { + "line": 25, + "column": 13 + }, + "end": { + "line": 25, + "column": 14 + } + } + }, + "range": [ + 522, + 527 + ], + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 14 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 531, + 532 + ], + "loc": { + "start": { + "line": 25, + "column": 18 + }, + "end": { + "line": 25, + "column": 19 + } + } + }, + "range": [ + 521, + 532 + ], + "loc": { + "start": { + "line": 25, + "column": 8 + }, + "end": { + "line": 25, + "column": 19 + } + } + }, + "range": [ + 517, + 532 + ], + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 19 + } + } + }, + "range": [ + 517, + 533 + ], + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 20 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "ct", + "range": [ + 544, + 546 + ], + "loc": { + "start": { + "line": 27, + "column": 9 + }, + "end": { + "line": 27, + "column": 11 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "ck", + "range": [ + 549, + 551 + ], + "loc": { + "start": { + "line": 27, + "column": 14 + }, + "end": { + "line": 27, + "column": 16 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 554, + 555 + ], + "loc": { + "start": { + "line": 27, + "column": 19 + }, + "end": { + "line": 27, + "column": 20 + } + } + }, + "range": [ + 549, + 555 + ], + "loc": { + "start": { + "line": 27, + "column": 14 + }, + "end": { + "line": 27, + "column": 20 + } + } + }, + "range": [ + 544, + 555 + ], + "loc": { + "start": { + "line": 27, + "column": 9 + }, + "end": { + "line": 27, + "column": 20 + } + } + }, + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "Identifier", + "name": "z", + "range": [ + 557, + 558 + ], + "loc": { + "start": { + "line": 27, + "column": 22 + }, + "end": { + "line": 27, + "column": 23 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 561, + 562 + ], + "loc": { + "start": { + "line": 27, + "column": 26 + }, + "end": { + "line": 27, + "column": 27 + } + } + }, + "range": [ + 557, + 562 + ], + "loc": { + "start": { + "line": 27, + "column": 22 + }, + "end": { + "line": 27, + "column": 27 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "Identifier", + "name": "ct", + "range": [ + 566, + 568 + ], + "loc": { + "start": { + "line": 27, + "column": 31 + }, + "end": { + "line": 27, + "column": 33 + } + } + }, + "right": { + "type": "Identifier", + "name": "ci", + "range": [ + 572, + 574 + ], + "loc": { + "start": { + "line": 27, + "column": 37 + }, + "end": { + "line": 27, + "column": 39 + } + } + }, + "range": [ + 566, + 574 + ], + "loc": { + "start": { + "line": 27, + "column": 31 + }, + "end": { + "line": 27, + "column": 39 + } + } + }, + "range": [ + 557, + 574 + ], + "loc": { + "start": { + "line": 27, + "column": 22 + }, + "end": { + "line": 27, + "column": 39 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "ct", + "range": [ + 578, + 580 + ], + "loc": { + "start": { + "line": 27, + "column": 43 + }, + "end": { + "line": 27, + "column": 45 + } + } + }, + "prefix": true, + "range": [ + 576, + 580 + ], + "loc": { + "start": { + "line": 27, + "column": 41 + }, + "end": { + "line": 27, + "column": 45 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "v", + "range": [ + 589, + 590 + ], + "loc": { + "start": { + "line": 28, + "column": 5 + }, + "end": { + "line": 28, + "column": 6 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 593, + 594 + ], + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "name": "ct", + "range": [ + 595, + 597 + ], + "loc": { + "start": { + "line": 28, + "column": 11 + }, + "end": { + "line": 28, + "column": 13 + } + } + }, + "range": [ + 593, + 598 + ], + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 14 + } + } + }, + "right": { + "type": "Identifier", + "name": "z", + "range": [ + 601, + 602 + ], + "loc": { + "start": { + "line": 28, + "column": 17 + }, + "end": { + "line": 28, + "column": 18 + } + } + }, + "range": [ + 593, + 602 + ], + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 18 + } + } + }, + "range": [ + 589, + 602 + ], + "loc": { + "start": { + "line": 28, + "column": 5 + }, + "end": { + "line": 28, + "column": 18 + } + } + }, + "range": [ + 589, + 603 + ], + "loc": { + "start": { + "line": 28, + "column": 5 + }, + "end": { + "line": 28, + "column": 19 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "y", + "range": [ + 609, + 610 + ], + "loc": { + "start": { + "line": 29, + "column": 5 + }, + "end": { + "line": 29, + "column": 6 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "%", + "left": { + "type": "Identifier", + "name": "v", + "range": [ + 613, + 614 + ], + "loc": { + "start": { + "line": 29, + "column": 9 + }, + "end": { + "line": 29, + "column": 10 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 617, + 618 + ], + "loc": { + "start": { + "line": 29, + "column": 13 + }, + "end": { + "line": 29, + "column": 14 + } + } + }, + "range": [ + 613, + 618 + ], + "loc": { + "start": { + "line": 29, + "column": 9 + }, + "end": { + "line": 29, + "column": 14 + } + } + }, + "range": [ + 609, + 618 + ], + "loc": { + "start": { + "line": 29, + "column": 5 + }, + "end": { + "line": 29, + "column": 14 + } + } + }, + "range": [ + 609, + 619 + ], + "loc": { + "start": { + "line": 29, + "column": 5 + }, + "end": { + "line": 29, + "column": 15 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 625, + 626 + ], + "loc": { + "start": { + "line": 30, + "column": 5 + }, + "end": { + "line": 30, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "name": "ct", + "range": [ + 627, + 629 + ], + "loc": { + "start": { + "line": 30, + "column": 7 + }, + "end": { + "line": 30, + "column": 9 + } + } + }, + "range": [ + 625, + 630 + ], + "loc": { + "start": { + "line": 30, + "column": 5 + }, + "end": { + "line": 30, + "column": 10 + } + } + }, + "right": { + "type": "Identifier", + "name": "y", + "range": [ + 633, + 634 + ], + "loc": { + "start": { + "line": 30, + "column": 13 + }, + "end": { + "line": 30, + "column": 14 + } + } + }, + "range": [ + 625, + 634 + ], + "loc": { + "start": { + "line": 30, + "column": 5 + }, + "end": { + "line": 30, + "column": 14 + } + } + }, + "range": [ + 625, + 635 + ], + "loc": { + "start": { + "line": 30, + "column": 5 + }, + "end": { + "line": 30, + "column": 15 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "z", + "range": [ + 641, + 642 + ], + "loc": { + "start": { + "line": 31, + "column": 5 + }, + "end": { + "line": 31, + "column": 6 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "v", + "range": [ + 646, + 647 + ], + "loc": { + "start": { + "line": 31, + "column": 10 + }, + "end": { + "line": 31, + "column": 11 + } + } + }, + "right": { + "type": "Identifier", + "name": "y", + "range": [ + 650, + 651 + ], + "loc": { + "start": { + "line": 31, + "column": 14 + }, + "end": { + "line": 31, + "column": 15 + } + } + }, + "range": [ + 646, + 651 + ], + "loc": { + "start": { + "line": 31, + "column": 10 + }, + "end": { + "line": 31, + "column": 15 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 655, + 656 + ], + "loc": { + "start": { + "line": 31, + "column": 19 + }, + "end": { + "line": 31, + "column": 20 + } + } + }, + "range": [ + 645, + 656 + ], + "loc": { + "start": { + "line": 31, + "column": 9 + }, + "end": { + "line": 31, + "column": 20 + } + } + }, + "range": [ + 641, + 656 + ], + "loc": { + "start": { + "line": 31, + "column": 5 + }, + "end": { + "line": 31, + "column": 20 + } + } + }, + "range": [ + 641, + 657 + ], + "loc": { + "start": { + "line": 31, + "column": 5 + }, + "end": { + "line": 31, + "column": 21 + } + } + } + ], + "range": [ + 582, + 663 + ], + "loc": { + "start": { + "line": 27, + "column": 47 + }, + "end": { + "line": 32, + "column": 5 + } + } + }, + "range": [ + 539, + 663 + ], + "loc": { + "start": { + "line": 27, + "column": 4 + }, + "end": { + "line": 32, + "column": 5 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "w", + "range": [ + 669, + 670 + ], + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 5 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 674, + 675 + ], + "loc": { + "start": { + "line": 34, + "column": 9 + }, + "end": { + "line": 34, + "column": 10 + } + } + }, + "right": { + "type": "Identifier", + "name": "u", + "range": [ + 678, + 679 + ], + "loc": { + "start": { + "line": 34, + "column": 13 + }, + "end": { + "line": 34, + "column": 14 + } + } + }, + "range": [ + 674, + 679 + ], + "loc": { + "start": { + "line": 34, + "column": 9 + }, + "end": { + "line": 34, + "column": 14 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 683, + 684 + ], + "loc": { + "start": { + "line": 34, + "column": 18 + }, + "end": { + "line": 34, + "column": 19 + } + } + }, + "range": [ + 673, + 684 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 19 + } + } + }, + "range": [ + 669, + 684 + ], + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 19 + } + } + }, + "range": [ + 669, + 685 + ], + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 20 + } + } + } + ], + "range": [ + 417, + 690 + ], + "loc": { + "start": { + "line": 16, + "column": 53 + }, + "end": { + "line": 35, + "column": 4 + } + } + }, + "range": [ + 367, + 690 + ], + "loc": { + "start": { + "line": 16, + "column": 3 + }, + "end": { + "line": 35, + "column": 4 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "ck", + "range": [ + 694, + 696 + ], + "loc": { + "start": { + "line": 36, + "column": 3 + }, + "end": { + "line": 36, + "column": 5 + } + } + }, + "right": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "cj", + "range": [ + 701, + 703 + ], + "loc": { + "start": { + "line": 36, + "column": 10 + }, + "end": { + "line": 36, + "column": 12 + } + } + }, + "prefix": true, + "range": [ + 699, + 703 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 12 + } + } + }, + "range": [ + 694, + 703 + ], + "loc": { + "start": { + "line": 36, + "column": 3 + }, + "end": { + "line": 36, + "column": 12 + } + } + }, + "range": [ + 694, + 704 + ], + "loc": { + "start": { + "line": 36, + "column": 3 + }, + "end": { + "line": 36, + "column": 13 + } + } + } + ], + "range": [ + 362, + 708 + ], + "loc": { + "start": { + "line": 15, + "column": 32 + }, + "end": { + "line": 37, + "column": 3 + } + } + }, + "range": [ + 332, + 708 + ], + "loc": { + "start": { + "line": 15, + "column": 2 + }, + "end": { + "line": 37, + "column": 3 + } + } + } + ], + "range": [ + 284, + 711 + ], + "loc": { + "start": { + "line": 12, + "column": 52 + }, + "end": { + "line": 38, + "column": 2 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 243, + 711 + ], + "loc": { + "start": { + "line": 12, + "column": 11 + }, + "end": { + "line": 38, + "column": 2 + } + } + }, + "range": [ + 237, + 711 + ], + "loc": { + "start": { + "line": 12, + "column": 5 + }, + "end": { + "line": 38, + "column": 2 + } + } + } + ], + "kind": "var", + "range": [ + 233, + 712 + ], + "loc": { + "start": { + "line": 12, + "column": 1 + }, + "end": { + "line": 38, + "column": 3 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n\t * Computes product of two big endian arrays.\n\t *

      \n\t * Computes product of two big endian arrays\n\t * using long multiplication algorithm (the one teached in\n\t * european primary schools)\n\t ", + "range": [ + 31, + 230 + ], + "loc": { + "start": { + "line": 4, + "column": 1 + }, + "end": { + "line": 10, + "column": 4 + } + } + } + ] + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "mul", + "range": [ + 722, + 725 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 40, + "column": 11 + } + } + }, + "range": [ + 715, + 726 + ], + "loc": { + "start": { + "line": 40, + "column": 1 + }, + "end": { + "line": 40, + "column": 12 + } + } + } + ], + "range": [ + 27, + 729 + ], + "loc": { + "start": { + "line": 2, + "column": 26 + }, + "end": { + "line": 42, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 8, + 729 + ], + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 42, + "column": 1 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 1, + 729 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 42, + "column": 1 + } + } + } + ], + "sourceType": "module", + "range": [ + 1, + 729 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 42, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n\t * Computes product of two big endian arrays.\n\t *

      \n\t * Computes product of two big endian arrays\n\t * using long multiplication algorithm (the one teached in\n\t * european primary schools)\n\t ", + "range": [ + 31, + 230 + ], + "loc": { + "start": { + "line": 4, + "column": 1 + }, + "end": { + "line": 10, + "column": 4 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/mul/mul53.js.json b/ast/source/0-legacy/arithmetic/mul/mul53.js.json new file mode 100644 index 0000000..69be162 --- /dev/null +++ b/ast/source/0-legacy/arithmetic/mul/mul53.js.json @@ -0,0 +1,3205 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "bmul53_t", + "range": [ + 165, + 173 + ], + "loc": { + "start": { + "line": 8, + "column": 16 + }, + "end": { + "line": 8, + "column": 24 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "r", + "range": [ + 175, + 176 + ], + "loc": { + "start": { + "line": 8, + "column": 26 + }, + "end": { + "line": 8, + "column": 27 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "mul", + "range": [ + 612, + 615 + ], + "loc": { + "start": { + "line": 26, + "column": 5 + }, + "end": { + "line": 26, + "column": 8 + } + } + }, + "init": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 627, + 628 + ], + "loc": { + "start": { + "line": 26, + "column": 20 + }, + "end": { + "line": 26, + "column": 21 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 630, + 632 + ], + "loc": { + "start": { + "line": 26, + "column": 23 + }, + "end": { + "line": 26, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 634, + 636 + ], + "loc": { + "start": { + "line": 26, + "column": 27 + }, + "end": { + "line": 26, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 638, + 639 + ], + "loc": { + "start": { + "line": 26, + "column": 31 + }, + "end": { + "line": 26, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 641, + 643 + ], + "loc": { + "start": { + "line": 26, + "column": 34 + }, + "end": { + "line": 26, + "column": 36 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 645, + 647 + ], + "loc": { + "start": { + "line": 26, + "column": 38 + }, + "end": { + "line": 26, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "c", + "range": [ + 649, + 650 + ], + "loc": { + "start": { + "line": 26, + "column": 42 + }, + "end": { + "line": 26, + "column": 43 + } + } + }, + { + "type": "Identifier", + "name": "ci", + "range": [ + 652, + 654 + ], + "loc": { + "start": { + "line": 26, + "column": 45 + }, + "end": { + "line": 26, + "column": 47 + } + } + }, + { + "type": "Identifier", + "name": "cj", + "range": [ + 656, + 658 + ], + "loc": { + "start": { + "line": 26, + "column": 49 + }, + "end": { + "line": 26, + "column": 51 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "v", + "range": [ + 668, + 669 + ], + "loc": { + "start": { + "line": 28, + "column": 6 + }, + "end": { + "line": 28, + "column": 7 + } + } + }, + "init": null, + "range": [ + 668, + 669 + ], + "loc": { + "start": { + "line": 28, + "column": 6 + }, + "end": { + "line": 28, + "column": 7 + } + } + } + ], + "kind": "var", + "range": [ + 664, + 670 + ], + "loc": { + "start": { + "line": 28, + "column": 2 + }, + "end": { + "line": 28, + "column": 8 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " EMPTY CASE", + "range": [ + 674, + 687 + ], + "loc": { + "start": { + "line": 30, + "column": 2 + }, + "end": { + "line": 30, + "column": 15 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "BinaryExpression", + "operator": "<=", + "left": { + "type": "Identifier", + "name": "aj", + "range": [ + 694, + 696 + ], + "loc": { + "start": { + "line": 31, + "column": 6 + }, + "end": { + "line": 31, + "column": 8 + } + } + }, + "right": { + "type": "Identifier", + "name": "ai", + "range": [ + 700, + 702 + ], + "loc": { + "start": { + "line": 31, + "column": 12 + }, + "end": { + "line": 31, + "column": 14 + } + } + }, + "range": [ + 694, + 702 + ], + "loc": { + "start": { + "line": 31, + "column": 6 + }, + "end": { + "line": 31, + "column": 14 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "<=", + "left": { + "type": "Identifier", + "name": "bj", + "range": [ + 706, + 708 + ], + "loc": { + "start": { + "line": 31, + "column": 18 + }, + "end": { + "line": 31, + "column": 20 + } + } + }, + "right": { + "type": "Identifier", + "name": "bi", + "range": [ + 712, + 714 + ], + "loc": { + "start": { + "line": 31, + "column": 24 + }, + "end": { + "line": 31, + "column": 26 + } + } + }, + "range": [ + 706, + 714 + ], + "loc": { + "start": { + "line": 31, + "column": 18 + }, + "end": { + "line": 31, + "column": 26 + } + } + }, + "range": [ + 694, + 714 + ], + "loc": { + "start": { + "line": 31, + "column": 6 + }, + "end": { + "line": 31, + "column": 26 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "<=", + "left": { + "type": "Identifier", + "name": "cj", + "range": [ + 718, + 720 + ], + "loc": { + "start": { + "line": 31, + "column": 30 + }, + "end": { + "line": 31, + "column": 32 + } + } + }, + "right": { + "type": "Identifier", + "name": "ci", + "range": [ + 724, + 726 + ], + "loc": { + "start": { + "line": 31, + "column": 36 + }, + "end": { + "line": 31, + "column": 38 + } + } + }, + "range": [ + 718, + 726 + ], + "loc": { + "start": { + "line": 31, + "column": 30 + }, + "end": { + "line": 31, + "column": 38 + } + } + }, + "range": [ + 694, + 726 + ], + "loc": { + "start": { + "line": 31, + "column": 6 + }, + "end": { + "line": 31, + "column": 38 + } + } + }, + "consequent": { + "type": "ReturnStatement", + "argument": null, + "range": [ + 728, + 735 + ], + "loc": { + "start": { + "line": 31, + "column": 40 + }, + "end": { + "line": 31, + "column": 47 + } + } + }, + "alternate": null, + "range": [ + 690, + 735 + ], + "loc": { + "start": { + "line": 31, + "column": 2 + }, + "end": { + "line": 31, + "column": 47 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " EMPTY CASE", + "range": [ + 674, + 687 + ], + "loc": { + "start": { + "line": 30, + "column": 2 + }, + "end": { + "line": 30, + "column": 15 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "v", + "range": [ + 739, + 740 + ], + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 33, + "column": 3 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "*", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 743, + 744 + ], + "loc": { + "start": { + "line": 33, + "column": 6 + }, + "end": { + "line": 33, + "column": 7 + } + } + }, + "property": { + "type": "Identifier", + "name": "ai", + "range": [ + 745, + 747 + ], + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 33, + "column": 10 + } + } + }, + "range": [ + 743, + 748 + ], + "loc": { + "start": { + "line": 33, + "column": 6 + }, + "end": { + "line": 33, + "column": 11 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 751, + 752 + ], + "loc": { + "start": { + "line": 33, + "column": 14 + }, + "end": { + "line": 33, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "bi", + "range": [ + 753, + 755 + ], + "loc": { + "start": { + "line": 33, + "column": 16 + }, + "end": { + "line": 33, + "column": 18 + } + } + }, + "range": [ + 751, + 756 + ], + "loc": { + "start": { + "line": 33, + "column": 14 + }, + "end": { + "line": 33, + "column": 19 + } + } + }, + "range": [ + 743, + 756 + ], + "loc": { + "start": { + "line": 33, + "column": 6 + }, + "end": { + "line": 33, + "column": 19 + } + } + }, + "range": [ + 739, + 756 + ], + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 33, + "column": 19 + } + } + }, + "range": [ + 739, + 757 + ], + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 33, + "column": 20 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 760, + 761 + ], + "loc": { + "start": { + "line": 34, + "column": 2 + }, + "end": { + "line": 34, + "column": 3 + } + } + }, + "property": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "cj", + "range": [ + 762, + 764 + ], + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 6 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 765, + 766 + ], + "loc": { + "start": { + "line": 34, + "column": 7 + }, + "end": { + "line": 34, + "column": 8 + } + } + }, + "range": [ + 762, + 766 + ], + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 8 + } + } + }, + "range": [ + 760, + 767 + ], + "loc": { + "start": { + "line": 34, + "column": 2 + }, + "end": { + "line": 34, + "column": 9 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "%", + "left": { + "type": "Identifier", + "name": "v", + "range": [ + 770, + 771 + ], + "loc": { + "start": { + "line": 34, + "column": 12 + }, + "end": { + "line": 34, + "column": 13 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 774, + 775 + ], + "loc": { + "start": { + "line": 34, + "column": 16 + }, + "end": { + "line": 34, + "column": 17 + } + } + }, + "range": [ + 770, + 775 + ], + "loc": { + "start": { + "line": 34, + "column": 12 + }, + "end": { + "line": 34, + "column": 17 + } + } + }, + "range": [ + 760, + 775 + ], + "loc": { + "start": { + "line": 34, + "column": 2 + }, + "end": { + "line": 34, + "column": 17 + } + } + }, + "range": [ + 760, + 776 + ], + "loc": { + "start": { + "line": 34, + "column": 2 + }, + "end": { + "line": 34, + "column": 18 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "Identifier", + "name": "cj", + "range": [ + 784, + 786 + ], + "loc": { + "start": { + "line": 36, + "column": 6 + }, + "end": { + "line": 36, + "column": 8 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "ci", + "range": [ + 789, + 791 + ], + "loc": { + "start": { + "line": 36, + "column": 11 + }, + "end": { + "line": 36, + "column": 13 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 794, + 795 + ], + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 17 + } + } + }, + "range": [ + 789, + 795 + ], + "loc": { + "start": { + "line": 36, + "column": 11 + }, + "end": { + "line": 36, + "column": 17 + } + } + }, + "range": [ + 784, + 795 + ], + "loc": { + "start": { + "line": 36, + "column": 6 + }, + "end": { + "line": 36, + "column": 17 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 802, + 803 + ], + "loc": { + "start": { + "line": 37, + "column": 3 + }, + "end": { + "line": 37, + "column": 4 + } + } + }, + "property": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "cj", + "range": [ + 804, + 806 + ], + "loc": { + "start": { + "line": 37, + "column": 5 + }, + "end": { + "line": 37, + "column": 7 + } + } + }, + "right": { + "type": "Literal", + "value": 2, + "raw": "2", + "range": [ + 807, + 808 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 9 + } + } + }, + "range": [ + 804, + 808 + ], + "loc": { + "start": { + "line": 37, + "column": 5 + }, + "end": { + "line": 37, + "column": 9 + } + } + }, + "range": [ + 802, + 809 + ], + "loc": { + "start": { + "line": 37, + "column": 3 + }, + "end": { + "line": 37, + "column": 10 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "v", + "range": [ + 813, + 814 + ], + "loc": { + "start": { + "line": 37, + "column": 14 + }, + "end": { + "line": 37, + "column": 15 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 817, + 818 + ], + "loc": { + "start": { + "line": 37, + "column": 18 + }, + "end": { + "line": 37, + "column": 19 + } + } + }, + "property": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "cj", + "range": [ + 819, + 821 + ], + "loc": { + "start": { + "line": 37, + "column": 20 + }, + "end": { + "line": 37, + "column": 22 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 822, + 823 + ], + "loc": { + "start": { + "line": 37, + "column": 23 + }, + "end": { + "line": 37, + "column": 24 + } + } + }, + "range": [ + 819, + 823 + ], + "loc": { + "start": { + "line": 37, + "column": 20 + }, + "end": { + "line": 37, + "column": 24 + } + } + }, + "range": [ + 817, + 824 + ], + "loc": { + "start": { + "line": 37, + "column": 18 + }, + "end": { + "line": 37, + "column": 25 + } + } + }, + "range": [ + 813, + 824 + ], + "loc": { + "start": { + "line": 37, + "column": 14 + }, + "end": { + "line": 37, + "column": 25 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 828, + 829 + ], + "loc": { + "start": { + "line": 37, + "column": 29 + }, + "end": { + "line": 37, + "column": 30 + } + } + }, + "range": [ + 812, + 829 + ], + "loc": { + "start": { + "line": 37, + "column": 13 + }, + "end": { + "line": 37, + "column": 30 + } + } + }, + "range": [ + 802, + 829 + ], + "loc": { + "start": { + "line": 37, + "column": 3 + }, + "end": { + "line": 37, + "column": 30 + } + } + }, + "range": [ + 802, + 830 + ], + "loc": { + "start": { + "line": 37, + "column": 3 + }, + "end": { + "line": 37, + "column": 31 + } + } + } + ], + "range": [ + 797, + 834 + ], + "loc": { + "start": { + "line": 36, + "column": 19 + }, + "end": { + "line": 38, + "column": 3 + } + } + }, + "alternate": null, + "range": [ + 780, + 834 + ], + "loc": { + "start": { + "line": 36, + "column": 2 + }, + "end": { + "line": 38, + "column": 3 + } + } + } + ], + "range": [ + 659, + 838 + ], + "loc": { + "start": { + "line": 26, + "column": 52 + }, + "end": { + "line": 40, + "column": 2 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 618, + 838 + ], + "loc": { + "start": { + "line": 26, + "column": 11 + }, + "end": { + "line": 40, + "column": 2 + } + } + }, + "range": [ + 612, + 838 + ], + "loc": { + "start": { + "line": 26, + "column": 5 + }, + "end": { + "line": 40, + "column": 2 + } + } + } + ], + "kind": "var", + "range": [ + 608, + 839 + ], + "loc": { + "start": { + "line": 26, + "column": 1 + }, + "end": { + "line": 40, + "column": 3 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n\t * Multiply two blocks, result is put in a 1 or 2 blocks big endian array.\n\t * aj - ai <= 1, bj - bi <= 1, cj - ci <= 2\n\t *\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t ", + "range": [ + 181, + 605 + ], + "loc": { + "start": { + "line": 10, + "column": 1 + }, + "end": { + "line": 24, + "column": 4 + } + } + } + ] + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "mul", + "range": [ + 849, + 852 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 11 + } + } + }, + "range": [ + 842, + 853 + ], + "loc": { + "start": { + "line": 42, + "column": 1 + }, + "end": { + "line": 42, + "column": 12 + } + } + } + ], + "range": [ + 177, + 856 + ], + "loc": { + "start": { + "line": 8, + "column": 28 + }, + "end": { + "line": 44, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 156, + 856 + ], + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 44, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * /!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n *\n * big endian 1 block multiplication\n *\n ", + "range": [ + 0, + 147 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * /!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n *\n * little endian 1 block multiplication\n *\n ", + "range": [ + 858, + 1008 + ], + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 51, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 149, + 856 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 44, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * /!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n *\n * big endian 1 block multiplication\n *\n ", + "range": [ + 0, + 147 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * /!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n *\n * little endian 1 block multiplication\n *\n ", + "range": [ + 858, + 1008 + ], + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 51, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "lmul53_t", + "range": [ + 1026, + 1034 + ], + "loc": { + "start": { + "line": 53, + "column": 16 + }, + "end": { + "line": 53, + "column": 24 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "r", + "range": [ + 1036, + 1037 + ], + "loc": { + "start": { + "line": 53, + "column": 26 + }, + "end": { + "line": 53, + "column": 27 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "mul", + "range": [ + 1476, + 1479 + ], + "loc": { + "start": { + "line": 71, + "column": 5 + }, + "end": { + "line": 71, + "column": 8 + } + } + }, + "init": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 1491, + 1492 + ], + "loc": { + "start": { + "line": 71, + "column": 20 + }, + "end": { + "line": 71, + "column": 21 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 1494, + 1496 + ], + "loc": { + "start": { + "line": 71, + "column": 23 + }, + "end": { + "line": 71, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 1498, + 1500 + ], + "loc": { + "start": { + "line": 71, + "column": 27 + }, + "end": { + "line": 71, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 1502, + 1503 + ], + "loc": { + "start": { + "line": 71, + "column": 31 + }, + "end": { + "line": 71, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 1505, + 1507 + ], + "loc": { + "start": { + "line": 71, + "column": 34 + }, + "end": { + "line": 71, + "column": 36 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 1509, + 1511 + ], + "loc": { + "start": { + "line": 71, + "column": 38 + }, + "end": { + "line": 71, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "c", + "range": [ + 1513, + 1514 + ], + "loc": { + "start": { + "line": 71, + "column": 42 + }, + "end": { + "line": 71, + "column": 43 + } + } + }, + { + "type": "Identifier", + "name": "ci", + "range": [ + 1516, + 1518 + ], + "loc": { + "start": { + "line": 71, + "column": 45 + }, + "end": { + "line": 71, + "column": 47 + } + } + }, + { + "type": "Identifier", + "name": "cj", + "range": [ + 1520, + 1522 + ], + "loc": { + "start": { + "line": 71, + "column": 49 + }, + "end": { + "line": 71, + "column": 51 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "v", + "range": [ + 1532, + 1533 + ], + "loc": { + "start": { + "line": 73, + "column": 6 + }, + "end": { + "line": 73, + "column": 7 + } + } + }, + "init": null, + "range": [ + 1532, + 1533 + ], + "loc": { + "start": { + "line": 73, + "column": 6 + }, + "end": { + "line": 73, + "column": 7 + } + } + } + ], + "kind": "var", + "range": [ + 1528, + 1534 + ], + "loc": { + "start": { + "line": 73, + "column": 2 + }, + "end": { + "line": 73, + "column": 8 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " EMPTY CASE", + "range": [ + 1538, + 1551 + ], + "loc": { + "start": { + "line": 75, + "column": 2 + }, + "end": { + "line": 75, + "column": 15 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "BinaryExpression", + "operator": "<=", + "left": { + "type": "Identifier", + "name": "aj", + "range": [ + 1558, + 1560 + ], + "loc": { + "start": { + "line": 76, + "column": 6 + }, + "end": { + "line": 76, + "column": 8 + } + } + }, + "right": { + "type": "Identifier", + "name": "ai", + "range": [ + 1564, + 1566 + ], + "loc": { + "start": { + "line": 76, + "column": 12 + }, + "end": { + "line": 76, + "column": 14 + } + } + }, + "range": [ + 1558, + 1566 + ], + "loc": { + "start": { + "line": 76, + "column": 6 + }, + "end": { + "line": 76, + "column": 14 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "<=", + "left": { + "type": "Identifier", + "name": "bj", + "range": [ + 1570, + 1572 + ], + "loc": { + "start": { + "line": 76, + "column": 18 + }, + "end": { + "line": 76, + "column": 20 + } + } + }, + "right": { + "type": "Identifier", + "name": "bi", + "range": [ + 1576, + 1578 + ], + "loc": { + "start": { + "line": 76, + "column": 24 + }, + "end": { + "line": 76, + "column": 26 + } + } + }, + "range": [ + 1570, + 1578 + ], + "loc": { + "start": { + "line": 76, + "column": 18 + }, + "end": { + "line": 76, + "column": 26 + } + } + }, + "range": [ + 1558, + 1578 + ], + "loc": { + "start": { + "line": 76, + "column": 6 + }, + "end": { + "line": 76, + "column": 26 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "<=", + "left": { + "type": "Identifier", + "name": "cj", + "range": [ + 1582, + 1584 + ], + "loc": { + "start": { + "line": 76, + "column": 30 + }, + "end": { + "line": 76, + "column": 32 + } + } + }, + "right": { + "type": "Identifier", + "name": "ci", + "range": [ + 1588, + 1590 + ], + "loc": { + "start": { + "line": 76, + "column": 36 + }, + "end": { + "line": 76, + "column": 38 + } + } + }, + "range": [ + 1582, + 1590 + ], + "loc": { + "start": { + "line": 76, + "column": 30 + }, + "end": { + "line": 76, + "column": 38 + } + } + }, + "range": [ + 1558, + 1590 + ], + "loc": { + "start": { + "line": 76, + "column": 6 + }, + "end": { + "line": 76, + "column": 38 + } + } + }, + "consequent": { + "type": "ReturnStatement", + "argument": null, + "range": [ + 1592, + 1599 + ], + "loc": { + "start": { + "line": 76, + "column": 40 + }, + "end": { + "line": 76, + "column": 47 + } + } + }, + "alternate": null, + "range": [ + 1554, + 1599 + ], + "loc": { + "start": { + "line": 76, + "column": 2 + }, + "end": { + "line": 76, + "column": 47 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " EMPTY CASE", + "range": [ + 1538, + 1551 + ], + "loc": { + "start": { + "line": 75, + "column": 2 + }, + "end": { + "line": 75, + "column": 15 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "v", + "range": [ + 1603, + 1604 + ], + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 78, + "column": 3 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "*", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 1607, + 1608 + ], + "loc": { + "start": { + "line": 78, + "column": 6 + }, + "end": { + "line": 78, + "column": 7 + } + } + }, + "property": { + "type": "Identifier", + "name": "ai", + "range": [ + 1609, + 1611 + ], + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 78, + "column": 10 + } + } + }, + "range": [ + 1607, + 1612 + ], + "loc": { + "start": { + "line": 78, + "column": 6 + }, + "end": { + "line": 78, + "column": 11 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 1615, + 1616 + ], + "loc": { + "start": { + "line": 78, + "column": 14 + }, + "end": { + "line": 78, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "bi", + "range": [ + 1617, + 1619 + ], + "loc": { + "start": { + "line": 78, + "column": 16 + }, + "end": { + "line": 78, + "column": 18 + } + } + }, + "range": [ + 1615, + 1620 + ], + "loc": { + "start": { + "line": 78, + "column": 14 + }, + "end": { + "line": 78, + "column": 19 + } + } + }, + "range": [ + 1607, + 1620 + ], + "loc": { + "start": { + "line": 78, + "column": 6 + }, + "end": { + "line": 78, + "column": 19 + } + } + }, + "range": [ + 1603, + 1620 + ], + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 78, + "column": 19 + } + } + }, + "range": [ + 1603, + 1621 + ], + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 78, + "column": 20 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 1624, + 1625 + ], + "loc": { + "start": { + "line": 79, + "column": 2 + }, + "end": { + "line": 79, + "column": 3 + } + } + }, + "property": { + "type": "Identifier", + "name": "ci", + "range": [ + 1626, + 1628 + ], + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 6 + } + } + }, + "range": [ + 1624, + 1629 + ], + "loc": { + "start": { + "line": 79, + "column": 2 + }, + "end": { + "line": 79, + "column": 7 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "%", + "left": { + "type": "Identifier", + "name": "v", + "range": [ + 1632, + 1633 + ], + "loc": { + "start": { + "line": 79, + "column": 10 + }, + "end": { + "line": 79, + "column": 11 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 1636, + 1637 + ], + "loc": { + "start": { + "line": 79, + "column": 14 + }, + "end": { + "line": 79, + "column": 15 + } + } + }, + "range": [ + 1632, + 1637 + ], + "loc": { + "start": { + "line": 79, + "column": 10 + }, + "end": { + "line": 79, + "column": 15 + } + } + }, + "range": [ + 1624, + 1637 + ], + "loc": { + "start": { + "line": 79, + "column": 2 + }, + "end": { + "line": 79, + "column": 15 + } + } + }, + "range": [ + 1624, + 1638 + ], + "loc": { + "start": { + "line": 79, + "column": 2 + }, + "end": { + "line": 79, + "column": 16 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "Identifier", + "name": "cj", + "range": [ + 1646, + 1648 + ], + "loc": { + "start": { + "line": 81, + "column": 6 + }, + "end": { + "line": 81, + "column": 8 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "ci", + "range": [ + 1651, + 1653 + ], + "loc": { + "start": { + "line": 81, + "column": 11 + }, + "end": { + "line": 81, + "column": 13 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 1656, + 1657 + ], + "loc": { + "start": { + "line": 81, + "column": 16 + }, + "end": { + "line": 81, + "column": 17 + } + } + }, + "range": [ + 1651, + 1657 + ], + "loc": { + "start": { + "line": 81, + "column": 11 + }, + "end": { + "line": 81, + "column": 17 + } + } + }, + "range": [ + 1646, + 1657 + ], + "loc": { + "start": { + "line": 81, + "column": 6 + }, + "end": { + "line": 81, + "column": 17 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 1664, + 1665 + ], + "loc": { + "start": { + "line": 82, + "column": 3 + }, + "end": { + "line": 82, + "column": 4 + } + } + }, + "property": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "ci", + "range": [ + 1666, + 1668 + ], + "loc": { + "start": { + "line": 82, + "column": 5 + }, + "end": { + "line": 82, + "column": 7 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 1669, + 1670 + ], + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 82, + "column": 9 + } + } + }, + "range": [ + 1666, + 1670 + ], + "loc": { + "start": { + "line": 82, + "column": 5 + }, + "end": { + "line": 82, + "column": 9 + } + } + }, + "range": [ + 1664, + 1671 + ], + "loc": { + "start": { + "line": 82, + "column": 3 + }, + "end": { + "line": 82, + "column": 10 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "v", + "range": [ + 1675, + 1676 + ], + "loc": { + "start": { + "line": 82, + "column": 14 + }, + "end": { + "line": 82, + "column": 15 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 1679, + 1680 + ], + "loc": { + "start": { + "line": 82, + "column": 18 + }, + "end": { + "line": 82, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "ci", + "range": [ + 1681, + 1683 + ], + "loc": { + "start": { + "line": 82, + "column": 20 + }, + "end": { + "line": 82, + "column": 22 + } + } + }, + "range": [ + 1679, + 1684 + ], + "loc": { + "start": { + "line": 82, + "column": 18 + }, + "end": { + "line": 82, + "column": 23 + } + } + }, + "range": [ + 1675, + 1684 + ], + "loc": { + "start": { + "line": 82, + "column": 14 + }, + "end": { + "line": 82, + "column": 23 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 1688, + 1689 + ], + "loc": { + "start": { + "line": 82, + "column": 27 + }, + "end": { + "line": 82, + "column": 28 + } + } + }, + "range": [ + 1674, + 1689 + ], + "loc": { + "start": { + "line": 82, + "column": 13 + }, + "end": { + "line": 82, + "column": 28 + } + } + }, + "range": [ + 1664, + 1689 + ], + "loc": { + "start": { + "line": 82, + "column": 3 + }, + "end": { + "line": 82, + "column": 28 + } + } + }, + "range": [ + 1664, + 1690 + ], + "loc": { + "start": { + "line": 82, + "column": 3 + }, + "end": { + "line": 82, + "column": 29 + } + } + } + ], + "range": [ + 1659, + 1694 + ], + "loc": { + "start": { + "line": 81, + "column": 19 + }, + "end": { + "line": 83, + "column": 3 + } + } + }, + "alternate": null, + "range": [ + 1642, + 1694 + ], + "loc": { + "start": { + "line": 81, + "column": 2 + }, + "end": { + "line": 83, + "column": 3 + } + } + } + ], + "range": [ + 1523, + 1698 + ], + "loc": { + "start": { + "line": 71, + "column": 52 + }, + "end": { + "line": 85, + "column": 2 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1482, + 1698 + ], + "loc": { + "start": { + "line": 71, + "column": 11 + }, + "end": { + "line": 85, + "column": 2 + } + } + }, + "range": [ + 1476, + 1698 + ], + "loc": { + "start": { + "line": 71, + "column": 5 + }, + "end": { + "line": 85, + "column": 2 + } + } + } + ], + "kind": "var", + "range": [ + 1472, + 1699 + ], + "loc": { + "start": { + "line": 71, + "column": 1 + }, + "end": { + "line": 85, + "column": 3 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n\t * Multiply two blocks, result is put in a 1 or 2 blocks little endian array.\n\t * aj - ai <= 1, bj - bi <= 1, cj - ci <= 2\n\t *\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t ", + "range": [ + 1042, + 1469 + ], + "loc": { + "start": { + "line": 55, + "column": 1 + }, + "end": { + "line": 69, + "column": 4 + } + } + } + ] + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "mul", + "range": [ + 1709, + 1712 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 11 + } + } + }, + "range": [ + 1702, + 1713 + ], + "loc": { + "start": { + "line": 87, + "column": 1 + }, + "end": { + "line": 87, + "column": 12 + } + } + } + ], + "range": [ + 1038, + 1716 + ], + "loc": { + "start": { + "line": 53, + "column": 28 + }, + "end": { + "line": 89, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1017, + 1716 + ], + "loc": { + "start": { + "line": 53, + "column": 7 + }, + "end": { + "line": 89, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * /!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n *\n * little endian 1 block multiplication\n *\n ", + "range": [ + 858, + 1008 + ], + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 51, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 1010, + 1716 + ], + "loc": { + "start": { + "line": 53, + "column": 0 + }, + "end": { + "line": 89, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * /!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n *\n * little endian 1 block multiplication\n *\n ", + "range": [ + 858, + 1008 + ], + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 51, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 149, + 1716 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 89, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * /!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n *\n * big endian 1 block multiplication\n *\n ", + "range": [ + 0, + 147 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n\t * Multiply two blocks, result is put in a 1 or 2 blocks big endian array.\n\t * aj - ai <= 1, bj - bi <= 1, cj - ci <= 2\n\t *\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t ", + "range": [ + 181, + 605 + ], + "loc": { + "start": { + "line": 10, + "column": 1 + }, + "end": { + "line": 24, + "column": 4 + } + } + }, + { + "type": "Line", + "value": " EMPTY CASE", + "range": [ + 674, + 687 + ], + "loc": { + "start": { + "line": 30, + "column": 2 + }, + "end": { + "line": 30, + "column": 15 + } + } + }, + { + "type": "Block", + "value": "*\n * /!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n *\n * little endian 1 block multiplication\n *\n ", + "range": [ + 858, + 1008 + ], + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 51, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n\t * Multiply two blocks, result is put in a 1 or 2 blocks little endian array.\n\t * aj - ai <= 1, bj - bi <= 1, cj - ci <= 2\n\t *\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t ", + "range": [ + 1042, + 1469 + ], + "loc": { + "start": { + "line": 55, + "column": 1 + }, + "end": { + "line": 69, + "column": 4 + } + } + }, + { + "type": "Line", + "value": " EMPTY CASE", + "range": [ + 1538, + 1551 + ], + "loc": { + "start": { + "line": 75, + "column": 2 + }, + "end": { + "line": 75, + "column": 15 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/mul/toomcook.js.json b/ast/source/0-legacy/arithmetic/mul/toomcook.js.json new file mode 100644 index 0000000..1d3132e --- /dev/null +++ b/ast/source/0-legacy/arithmetic/mul/toomcook.js.json @@ -0,0 +1,59 @@ +{ + "type": "Program", + "body": [], + "sourceType": "module", + "range": [ + 58, + 58 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 0 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " http://en.wikipedia.org/wiki/Toom–Cook_multiplication", + "range": [ + 1, + 57 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 56 + } + } + } + ], + "comments": [ + { + "type": "Line", + "value": " http://en.wikipedia.org/wiki/Toom–Cook_multiplication", + "range": [ + 1, + 57 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 56 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/sub/index.js.json b/ast/source/0-legacy/arithmetic/sub/index.js.json new file mode 100644 index 0000000..facfddd --- /dev/null +++ b/ast/source/0-legacy/arithmetic/sub/index.js.json @@ -0,0 +1,57 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./sub", + "raw": "'./sub'", + "range": [ + 14, + 21 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 21 + } + } + }, + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/sub/sub.js.json b/ast/source/0-legacy/arithmetic/sub/sub.js.json new file mode 100644 index 0000000..9dbe321 --- /dev/null +++ b/ast/source/0-legacy/arithmetic/sub/sub.js.json @@ -0,0 +1,4734 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "bsub_t", + "range": [ + 58, + 64 + ], + "loc": { + "start": { + "line": 7, + "column": 16 + }, + "end": { + "line": 7, + "column": 22 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "r", + "range": [ + 66, + 67 + ], + "loc": { + "start": { + "line": 7, + "column": 24 + }, + "end": { + "line": 7, + "column": 25 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 449, + 450 + ], + "loc": { + "start": { + "line": 24, + "column": 17 + }, + "end": { + "line": 24, + "column": 18 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 452, + 454 + ], + "loc": { + "start": { + "line": 24, + "column": 20 + }, + "end": { + "line": 24, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 456, + 458 + ], + "loc": { + "start": { + "line": 24, + "column": 24 + }, + "end": { + "line": 24, + "column": 26 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 460, + 461 + ], + "loc": { + "start": { + "line": 24, + "column": 28 + }, + "end": { + "line": 24, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 463, + 465 + ], + "loc": { + "start": { + "line": 24, + "column": 31 + }, + "end": { + "line": 24, + "column": 33 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 467, + 469 + ], + "loc": { + "start": { + "line": 24, + "column": 35 + }, + "end": { + "line": 24, + "column": 37 + } + } + }, + { + "type": "Identifier", + "name": "c", + "range": [ + 471, + 472 + ], + "loc": { + "start": { + "line": 24, + "column": 39 + }, + "end": { + "line": 24, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "ci", + "range": [ + 474, + 476 + ], + "loc": { + "start": { + "line": 24, + "column": 42 + }, + "end": { + "line": 24, + "column": 44 + } + } + }, + { + "type": "Identifier", + "name": "cj", + "range": [ + 478, + 480 + ], + "loc": { + "start": { + "line": 24, + "column": 46 + }, + "end": { + "line": 24, + "column": 48 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "T", + "range": [ + 489, + 490 + ], + "loc": { + "start": { + "line": 25, + "column": 6 + }, + "end": { + "line": 25, + "column": 7 + } + } + }, + "init": null, + "range": [ + 489, + 490 + ], + "loc": { + "start": { + "line": 25, + "column": 6 + }, + "end": { + "line": 25, + "column": 7 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "C", + "range": [ + 492, + 493 + ], + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 10 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 496, + 497 + ], + "loc": { + "start": { + "line": 25, + "column": 13 + }, + "end": { + "line": 25, + "column": 14 + } + } + }, + "range": [ + 492, + 497 + ], + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 14 + } + } + } + ], + "kind": "var", + "range": [ + 485, + 498 + ], + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 15 + } + } + }, + { + "type": "WhileStatement", + "test": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "bj", + "range": [ + 510, + 512 + ], + "loc": { + "start": { + "line": 27, + "column": 10 + }, + "end": { + "line": 27, + "column": 12 + } + } + }, + "prefix": true, + "range": [ + 508, + 512 + ], + "loc": { + "start": { + "line": 27, + "column": 8 + }, + "end": { + "line": 27, + "column": 12 + } + } + }, + "right": { + "type": "Identifier", + "name": "bi", + "range": [ + 516, + 518 + ], + "loc": { + "start": { + "line": 27, + "column": 16 + }, + "end": { + "line": 27, + "column": 18 + } + } + }, + "range": [ + 508, + 518 + ], + "loc": { + "start": { + "line": 27, + "column": 8 + }, + "end": { + "line": 27, + "column": 18 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "aj", + "range": [ + 526, + 528 + ], + "loc": { + "start": { + "line": 28, + "column": 5 + }, + "end": { + "line": 28, + "column": 7 + } + } + }, + "prefix": true, + "range": [ + 524, + 528 + ], + "loc": { + "start": { + "line": 28, + "column": 3 + }, + "end": { + "line": 28, + "column": 7 + } + } + }, + "range": [ + 524, + 529 + ], + "loc": { + "start": { + "line": 28, + "column": 3 + }, + "end": { + "line": 28, + "column": 8 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "cj", + "range": [ + 532, + 534 + ], + "loc": { + "start": { + "line": 28, + "column": 11 + }, + "end": { + "line": 28, + "column": 13 + } + } + }, + "prefix": true, + "range": [ + 530, + 534 + ], + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 13 + } + } + }, + "range": [ + 530, + 535 + ], + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 14 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "T", + "range": [ + 539, + 540 + ], + "loc": { + "start": { + "line": 29, + "column": 3 + }, + "end": { + "line": 29, + "column": 4 + } + } + }, + "right": { + "type": "Identifier", + "name": "C", + "range": [ + 543, + 544 + ], + "loc": { + "start": { + "line": 29, + "column": 7 + }, + "end": { + "line": 29, + "column": 8 + } + } + }, + "range": [ + 539, + 544 + ], + "loc": { + "start": { + "line": 29, + "column": 3 + }, + "end": { + "line": 29, + "column": 8 + } + } + }, + "range": [ + 539, + 545 + ], + "loc": { + "start": { + "line": 29, + "column": 3 + }, + "end": { + "line": 29, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "C", + "range": [ + 549, + 550 + ], + "loc": { + "start": { + "line": 30, + "column": 3 + }, + "end": { + "line": 30, + "column": 4 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 553, + 554 + ], + "loc": { + "start": { + "line": 30, + "column": 7 + }, + "end": { + "line": 30, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "name": "aj", + "range": [ + 555, + 557 + ], + "loc": { + "start": { + "line": 30, + "column": 9 + }, + "end": { + "line": 30, + "column": 11 + } + } + }, + "range": [ + 553, + 558 + ], + "loc": { + "start": { + "line": 30, + "column": 7 + }, + "end": { + "line": 30, + "column": 12 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 561, + 562 + ], + "loc": { + "start": { + "line": 30, + "column": 15 + }, + "end": { + "line": 30, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "bj", + "range": [ + 563, + 565 + ], + "loc": { + "start": { + "line": 30, + "column": 17 + }, + "end": { + "line": 30, + "column": 19 + } + } + }, + "range": [ + 561, + 566 + ], + "loc": { + "start": { + "line": 30, + "column": 15 + }, + "end": { + "line": 30, + "column": 20 + } + } + }, + "right": { + "type": "Identifier", + "name": "T", + "range": [ + 569, + 570 + ], + "loc": { + "start": { + "line": 30, + "column": 23 + }, + "end": { + "line": 30, + "column": 24 + } + } + }, + "range": [ + 561, + 570 + ], + "loc": { + "start": { + "line": 30, + "column": 15 + }, + "end": { + "line": 30, + "column": 24 + } + } + }, + "range": [ + 553, + 570 + ], + "loc": { + "start": { + "line": 30, + "column": 7 + }, + "end": { + "line": 30, + "column": 24 + } + } + }, + "range": [ + 549, + 570 + ], + "loc": { + "start": { + "line": 30, + "column": 3 + }, + "end": { + "line": 30, + "column": 24 + } + } + }, + "range": [ + 549, + 571 + ], + "loc": { + "start": { + "line": 30, + "column": 3 + }, + "end": { + "line": 30, + "column": 25 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 575, + 576 + ], + "loc": { + "start": { + "line": 31, + "column": 3 + }, + "end": { + "line": 31, + "column": 4 + } + } + }, + "property": { + "type": "Identifier", + "name": "cj", + "range": [ + 577, + 579 + ], + "loc": { + "start": { + "line": 31, + "column": 5 + }, + "end": { + "line": 31, + "column": 7 + } + } + }, + "range": [ + 575, + 580 + ], + "loc": { + "start": { + "line": 31, + "column": 3 + }, + "end": { + "line": 31, + "column": 8 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 583, + 584 + ], + "loc": { + "start": { + "line": 31, + "column": 11 + }, + "end": { + "line": 31, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "aj", + "range": [ + 585, + 587 + ], + "loc": { + "start": { + "line": 31, + "column": 13 + }, + "end": { + "line": 31, + "column": 15 + } + } + }, + "range": [ + 583, + 588 + ], + "loc": { + "start": { + "line": 31, + "column": 11 + }, + "end": { + "line": 31, + "column": 16 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 591, + 592 + ], + "loc": { + "start": { + "line": 31, + "column": 19 + }, + "end": { + "line": 31, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "bj", + "range": [ + 593, + 595 + ], + "loc": { + "start": { + "line": 31, + "column": 21 + }, + "end": { + "line": 31, + "column": 23 + } + } + }, + "range": [ + 591, + 596 + ], + "loc": { + "start": { + "line": 31, + "column": 19 + }, + "end": { + "line": 31, + "column": 24 + } + } + }, + "range": [ + 583, + 596 + ], + "loc": { + "start": { + "line": 31, + "column": 11 + }, + "end": { + "line": 31, + "column": 24 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "BinaryExpression", + "operator": "*", + "left": { + "type": "Identifier", + "name": "C", + "range": [ + 600, + 601 + ], + "loc": { + "start": { + "line": 31, + "column": 28 + }, + "end": { + "line": 31, + "column": 29 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 602, + 603 + ], + "loc": { + "start": { + "line": 31, + "column": 30 + }, + "end": { + "line": 31, + "column": 31 + } + } + }, + "range": [ + 600, + 603 + ], + "loc": { + "start": { + "line": 31, + "column": 28 + }, + "end": { + "line": 31, + "column": 31 + } + } + }, + "right": { + "type": "Identifier", + "name": "T", + "range": [ + 606, + 607 + ], + "loc": { + "start": { + "line": 31, + "column": 34 + }, + "end": { + "line": 31, + "column": 35 + } + } + }, + "range": [ + 600, + 607 + ], + "loc": { + "start": { + "line": 31, + "column": 28 + }, + "end": { + "line": 31, + "column": 35 + } + } + }, + "range": [ + 583, + 608 + ], + "loc": { + "start": { + "line": 31, + "column": 11 + }, + "end": { + "line": 31, + "column": 36 + } + } + }, + "range": [ + 575, + 608 + ], + "loc": { + "start": { + "line": 31, + "column": 3 + }, + "end": { + "line": 31, + "column": 36 + } + } + }, + "range": [ + 575, + 609 + ], + "loc": { + "start": { + "line": 31, + "column": 3 + }, + "end": { + "line": 31, + "column": 37 + } + } + } + ], + "range": [ + 519, + 613 + ], + "loc": { + "start": { + "line": 27, + "column": 19 + }, + "end": { + "line": 32, + "column": 3 + } + } + }, + "range": [ + 502, + 613 + ], + "loc": { + "start": { + "line": 27, + "column": 2 + }, + "end": { + "line": 32, + "column": 3 + } + } + }, + { + "type": "WhileStatement", + "test": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "aj", + "range": [ + 625, + 627 + ], + "loc": { + "start": { + "line": 34, + "column": 10 + }, + "end": { + "line": 34, + "column": 12 + } + } + }, + "prefix": true, + "range": [ + 623, + 627 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 12 + } + } + }, + "right": { + "type": "Identifier", + "name": "ai", + "range": [ + 631, + 633 + ], + "loc": { + "start": { + "line": 34, + "column": 16 + }, + "end": { + "line": 34, + "column": 18 + } + } + }, + "range": [ + 623, + 633 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 18 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "cj", + "range": [ + 641, + 643 + ], + "loc": { + "start": { + "line": 35, + "column": 5 + }, + "end": { + "line": 35, + "column": 7 + } + } + }, + "prefix": true, + "range": [ + 639, + 643 + ], + "loc": { + "start": { + "line": 35, + "column": 3 + }, + "end": { + "line": 35, + "column": 7 + } + } + }, + "range": [ + 639, + 644 + ], + "loc": { + "start": { + "line": 35, + "column": 3 + }, + "end": { + "line": 35, + "column": 8 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "T", + "range": [ + 648, + 649 + ], + "loc": { + "start": { + "line": 36, + "column": 3 + }, + "end": { + "line": 36, + "column": 4 + } + } + }, + "right": { + "type": "Identifier", + "name": "C", + "range": [ + 652, + 653 + ], + "loc": { + "start": { + "line": 36, + "column": 7 + }, + "end": { + "line": 36, + "column": 8 + } + } + }, + "range": [ + 648, + 653 + ], + "loc": { + "start": { + "line": 36, + "column": 3 + }, + "end": { + "line": 36, + "column": 8 + } + } + }, + "range": [ + 648, + 654 + ], + "loc": { + "start": { + "line": 36, + "column": 3 + }, + "end": { + "line": 36, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "C", + "range": [ + 658, + 659 + ], + "loc": { + "start": { + "line": 37, + "column": 3 + }, + "end": { + "line": 37, + "column": 4 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 662, + 663 + ], + "loc": { + "start": { + "line": 37, + "column": 7 + }, + "end": { + "line": 37, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "name": "aj", + "range": [ + 664, + 666 + ], + "loc": { + "start": { + "line": 37, + "column": 9 + }, + "end": { + "line": 37, + "column": 11 + } + } + }, + "range": [ + 662, + 667 + ], + "loc": { + "start": { + "line": 37, + "column": 7 + }, + "end": { + "line": 37, + "column": 12 + } + } + }, + "right": { + "type": "Identifier", + "name": "T", + "range": [ + 670, + 671 + ], + "loc": { + "start": { + "line": 37, + "column": 15 + }, + "end": { + "line": 37, + "column": 16 + } + } + }, + "range": [ + 662, + 671 + ], + "loc": { + "start": { + "line": 37, + "column": 7 + }, + "end": { + "line": 37, + "column": 16 + } + } + }, + "range": [ + 658, + 671 + ], + "loc": { + "start": { + "line": 37, + "column": 3 + }, + "end": { + "line": 37, + "column": 16 + } + } + }, + "range": [ + 658, + 672 + ], + "loc": { + "start": { + "line": 37, + "column": 3 + }, + "end": { + "line": 37, + "column": 17 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 676, + 677 + ], + "loc": { + "start": { + "line": 38, + "column": 3 + }, + "end": { + "line": 38, + "column": 4 + } + } + }, + "property": { + "type": "Identifier", + "name": "cj", + "range": [ + 678, + 680 + ], + "loc": { + "start": { + "line": 38, + "column": 5 + }, + "end": { + "line": 38, + "column": 7 + } + } + }, + "range": [ + 676, + 681 + ], + "loc": { + "start": { + "line": 38, + "column": 3 + }, + "end": { + "line": 38, + "column": 8 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 684, + 685 + ], + "loc": { + "start": { + "line": 38, + "column": 11 + }, + "end": { + "line": 38, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "aj", + "range": [ + 686, + 688 + ], + "loc": { + "start": { + "line": 38, + "column": 13 + }, + "end": { + "line": 38, + "column": 15 + } + } + }, + "range": [ + 684, + 689 + ], + "loc": { + "start": { + "line": 38, + "column": 11 + }, + "end": { + "line": 38, + "column": 16 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "BinaryExpression", + "operator": "*", + "left": { + "type": "Identifier", + "name": "C", + "range": [ + 693, + 694 + ], + "loc": { + "start": { + "line": 38, + "column": 20 + }, + "end": { + "line": 38, + "column": 21 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 695, + 696 + ], + "loc": { + "start": { + "line": 38, + "column": 22 + }, + "end": { + "line": 38, + "column": 23 + } + } + }, + "range": [ + 693, + 696 + ], + "loc": { + "start": { + "line": 38, + "column": 20 + }, + "end": { + "line": 38, + "column": 23 + } + } + }, + "right": { + "type": "Identifier", + "name": "T", + "range": [ + 699, + 700 + ], + "loc": { + "start": { + "line": 38, + "column": 26 + }, + "end": { + "line": 38, + "column": 27 + } + } + }, + "range": [ + 693, + 700 + ], + "loc": { + "start": { + "line": 38, + "column": 20 + }, + "end": { + "line": 38, + "column": 27 + } + } + }, + "range": [ + 684, + 701 + ], + "loc": { + "start": { + "line": 38, + "column": 11 + }, + "end": { + "line": 38, + "column": 28 + } + } + }, + "range": [ + 676, + 701 + ], + "loc": { + "start": { + "line": 38, + "column": 3 + }, + "end": { + "line": 38, + "column": 28 + } + } + }, + "range": [ + 676, + 702 + ], + "loc": { + "start": { + "line": 38, + "column": 3 + }, + "end": { + "line": 38, + "column": 29 + } + } + } + ], + "range": [ + 634, + 706 + ], + "loc": { + "start": { + "line": 34, + "column": 19 + }, + "end": { + "line": 39, + "column": 3 + } + } + }, + "range": [ + 617, + 706 + ], + "loc": { + "start": { + "line": 34, + "column": 2 + }, + "end": { + "line": 39, + "column": 3 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "C", + "range": [ + 713, + 714 + ], + "loc": { + "start": { + "line": 41, + "column": 5 + }, + "end": { + "line": 41, + "column": 6 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "WhileStatement", + "test": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "cj", + "range": [ + 728, + 730 + ], + "loc": { + "start": { + "line": 42, + "column": 11 + }, + "end": { + "line": 42, + "column": 13 + } + } + }, + "prefix": true, + "range": [ + 726, + 730 + ], + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 13 + } + } + }, + "right": { + "type": "Identifier", + "name": "ci", + "range": [ + 734, + 736 + ], + "loc": { + "start": { + "line": 42, + "column": 17 + }, + "end": { + "line": 42, + "column": 19 + } + } + }, + "range": [ + 726, + 736 + ], + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 19 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 743, + 744 + ], + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 5 + } + } + }, + "property": { + "type": "Identifier", + "name": "cj", + "range": [ + 745, + 747 + ], + "loc": { + "start": { + "line": 43, + "column": 6 + }, + "end": { + "line": 43, + "column": 8 + } + } + }, + "range": [ + 743, + 748 + ], + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 9 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "r", + "range": [ + 751, + 752 + ], + "loc": { + "start": { + "line": 43, + "column": 12 + }, + "end": { + "line": 43, + "column": 13 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 755, + 756 + ], + "loc": { + "start": { + "line": 43, + "column": 16 + }, + "end": { + "line": 43, + "column": 17 + } + } + }, + "range": [ + 751, + 756 + ], + "loc": { + "start": { + "line": 43, + "column": 12 + }, + "end": { + "line": 43, + "column": 17 + } + } + }, + "range": [ + 743, + 756 + ], + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 17 + } + } + }, + "range": [ + 743, + 757 + ], + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 18 + } + } + } + ], + "range": [ + 737, + 762 + ], + "loc": { + "start": { + "line": 42, + "column": 20 + }, + "end": { + "line": 44, + "column": 4 + } + } + }, + "range": [ + 720, + 762 + ], + "loc": { + "start": { + "line": 42, + "column": 3 + }, + "end": { + "line": 44, + "column": 4 + } + } + } + ], + "range": [ + 715, + 766 + ], + "loc": { + "start": { + "line": 41, + "column": 7 + }, + "end": { + "line": 45, + "column": 3 + } + } + }, + "alternate": null, + "range": [ + 710, + 766 + ], + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 45, + "column": 3 + } + } + } + ], + "range": [ + 481, + 770 + ], + "loc": { + "start": { + "line": 24, + "column": 49 + }, + "end": { + "line": 47, + "column": 2 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 440, + 770 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 47, + "column": 2 + } + } + }, + "range": [ + 433, + 771 + ], + "loc": { + "start": { + "line": 24, + "column": 1 + }, + "end": { + "line": 47, + "column": 3 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n\t * Subtracts two big endian arrays, k >= i >= j\n\t * wraps\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t ", + "range": [ + 72, + 430 + ], + "loc": { + "start": { + "line": 9, + "column": 1 + }, + "end": { + "line": 22, + "column": 4 + } + } + } + ] + } + ], + "range": [ + 68, + 773 + ], + "loc": { + "start": { + "line": 7, + "column": 26 + }, + "end": { + "line": 48, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 49, + 773 + ], + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 48, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * @param {int} r base (radix)\n ", + "range": [ + 1, + 39 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 4, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * @param {int} r base (radix)\n ", + "range": [ + 776, + 814 + ], + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 53, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 42, + 773 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 48, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * @param {int} r base (radix)\n ", + "range": [ + 1, + 39 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 4, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * @param {int} r base (radix)\n ", + "range": [ + 776, + 814 + ], + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 53, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "lsub_t", + "range": [ + 831, + 837 + ], + "loc": { + "start": { + "line": 54, + "column": 16 + }, + "end": { + "line": 54, + "column": 22 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "r", + "range": [ + 839, + 840 + ], + "loc": { + "start": { + "line": 54, + "column": 24 + }, + "end": { + "line": 54, + "column": 25 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 1225, + 1226 + ], + "loc": { + "start": { + "line": 71, + "column": 17 + }, + "end": { + "line": 71, + "column": 18 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 1228, + 1230 + ], + "loc": { + "start": { + "line": 71, + "column": 20 + }, + "end": { + "line": 71, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 1232, + 1234 + ], + "loc": { + "start": { + "line": 71, + "column": 24 + }, + "end": { + "line": 71, + "column": 26 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 1236, + 1237 + ], + "loc": { + "start": { + "line": 71, + "column": 28 + }, + "end": { + "line": 71, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 1239, + 1241 + ], + "loc": { + "start": { + "line": 71, + "column": 31 + }, + "end": { + "line": 71, + "column": 33 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 1243, + 1245 + ], + "loc": { + "start": { + "line": 71, + "column": 35 + }, + "end": { + "line": 71, + "column": 37 + } + } + }, + { + "type": "Identifier", + "name": "c", + "range": [ + 1247, + 1248 + ], + "loc": { + "start": { + "line": 71, + "column": 39 + }, + "end": { + "line": 71, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "ci", + "range": [ + 1250, + 1252 + ], + "loc": { + "start": { + "line": 71, + "column": 42 + }, + "end": { + "line": 71, + "column": 44 + } + } + }, + { + "type": "Identifier", + "name": "cj", + "range": [ + 1254, + 1256 + ], + "loc": { + "start": { + "line": 71, + "column": 46 + }, + "end": { + "line": 71, + "column": 48 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "T", + "range": [ + 1265, + 1266 + ], + "loc": { + "start": { + "line": 72, + "column": 6 + }, + "end": { + "line": 72, + "column": 7 + } + } + }, + "init": null, + "range": [ + 1265, + 1266 + ], + "loc": { + "start": { + "line": 72, + "column": 6 + }, + "end": { + "line": 72, + "column": 7 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "C", + "range": [ + 1268, + 1269 + ], + "loc": { + "start": { + "line": 72, + "column": 9 + }, + "end": { + "line": 72, + "column": 10 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 1272, + 1273 + ], + "loc": { + "start": { + "line": 72, + "column": 13 + }, + "end": { + "line": 72, + "column": 14 + } + } + }, + "range": [ + 1268, + 1273 + ], + "loc": { + "start": { + "line": 72, + "column": 9 + }, + "end": { + "line": 72, + "column": 14 + } + } + } + ], + "kind": "var", + "range": [ + 1261, + 1274 + ], + "loc": { + "start": { + "line": 72, + "column": 2 + }, + "end": { + "line": 72, + "column": 15 + } + } + }, + { + "type": "WhileStatement", + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "bi", + "range": [ + 1284, + 1286 + ], + "loc": { + "start": { + "line": 74, + "column": 8 + }, + "end": { + "line": 74, + "column": 10 + } + } + }, + "right": { + "type": "Identifier", + "name": "bj", + "range": [ + 1289, + 1291 + ], + "loc": { + "start": { + "line": 74, + "column": 13 + }, + "end": { + "line": 74, + "column": 15 + } + } + }, + "range": [ + 1284, + 1291 + ], + "loc": { + "start": { + "line": 74, + "column": 8 + }, + "end": { + "line": 74, + "column": 15 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "T", + "range": [ + 1297, + 1298 + ], + "loc": { + "start": { + "line": 75, + "column": 3 + }, + "end": { + "line": 75, + "column": 4 + } + } + }, + "right": { + "type": "Identifier", + "name": "C", + "range": [ + 1301, + 1302 + ], + "loc": { + "start": { + "line": 75, + "column": 7 + }, + "end": { + "line": 75, + "column": 8 + } + } + }, + "range": [ + 1297, + 1302 + ], + "loc": { + "start": { + "line": 75, + "column": 3 + }, + "end": { + "line": 75, + "column": 8 + } + } + }, + "range": [ + 1297, + 1303 + ], + "loc": { + "start": { + "line": 75, + "column": 3 + }, + "end": { + "line": 75, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "C", + "range": [ + 1307, + 1308 + ], + "loc": { + "start": { + "line": 76, + "column": 3 + }, + "end": { + "line": 76, + "column": 4 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 1311, + 1312 + ], + "loc": { + "start": { + "line": 76, + "column": 7 + }, + "end": { + "line": 76, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "name": "ai", + "range": [ + 1313, + 1315 + ], + "loc": { + "start": { + "line": 76, + "column": 9 + }, + "end": { + "line": 76, + "column": 11 + } + } + }, + "range": [ + 1311, + 1316 + ], + "loc": { + "start": { + "line": 76, + "column": 7 + }, + "end": { + "line": 76, + "column": 12 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 1319, + 1320 + ], + "loc": { + "start": { + "line": 76, + "column": 15 + }, + "end": { + "line": 76, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "bi", + "range": [ + 1321, + 1323 + ], + "loc": { + "start": { + "line": 76, + "column": 17 + }, + "end": { + "line": 76, + "column": 19 + } + } + }, + "range": [ + 1319, + 1324 + ], + "loc": { + "start": { + "line": 76, + "column": 15 + }, + "end": { + "line": 76, + "column": 20 + } + } + }, + "right": { + "type": "Identifier", + "name": "T", + "range": [ + 1327, + 1328 + ], + "loc": { + "start": { + "line": 76, + "column": 23 + }, + "end": { + "line": 76, + "column": 24 + } + } + }, + "range": [ + 1319, + 1328 + ], + "loc": { + "start": { + "line": 76, + "column": 15 + }, + "end": { + "line": 76, + "column": 24 + } + } + }, + "range": [ + 1311, + 1328 + ], + "loc": { + "start": { + "line": 76, + "column": 7 + }, + "end": { + "line": 76, + "column": 24 + } + } + }, + "range": [ + 1307, + 1328 + ], + "loc": { + "start": { + "line": 76, + "column": 3 + }, + "end": { + "line": 76, + "column": 24 + } + } + }, + "range": [ + 1307, + 1329 + ], + "loc": { + "start": { + "line": 76, + "column": 3 + }, + "end": { + "line": 76, + "column": 25 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 1333, + 1334 + ], + "loc": { + "start": { + "line": 77, + "column": 3 + }, + "end": { + "line": 77, + "column": 4 + } + } + }, + "property": { + "type": "Identifier", + "name": "ci", + "range": [ + 1335, + 1337 + ], + "loc": { + "start": { + "line": 77, + "column": 5 + }, + "end": { + "line": 77, + "column": 7 + } + } + }, + "range": [ + 1333, + 1338 + ], + "loc": { + "start": { + "line": 77, + "column": 3 + }, + "end": { + "line": 77, + "column": 8 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 1341, + 1342 + ], + "loc": { + "start": { + "line": 77, + "column": 11 + }, + "end": { + "line": 77, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "ai", + "range": [ + 1343, + 1345 + ], + "loc": { + "start": { + "line": 77, + "column": 13 + }, + "end": { + "line": 77, + "column": 15 + } + } + }, + "range": [ + 1341, + 1346 + ], + "loc": { + "start": { + "line": 77, + "column": 11 + }, + "end": { + "line": 77, + "column": 16 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 1349, + 1350 + ], + "loc": { + "start": { + "line": 77, + "column": 19 + }, + "end": { + "line": 77, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "bi", + "range": [ + 1351, + 1353 + ], + "loc": { + "start": { + "line": 77, + "column": 21 + }, + "end": { + "line": 77, + "column": 23 + } + } + }, + "range": [ + 1349, + 1354 + ], + "loc": { + "start": { + "line": 77, + "column": 19 + }, + "end": { + "line": 77, + "column": 24 + } + } + }, + "range": [ + 1341, + 1354 + ], + "loc": { + "start": { + "line": 77, + "column": 11 + }, + "end": { + "line": 77, + "column": 24 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "BinaryExpression", + "operator": "*", + "left": { + "type": "Identifier", + "name": "C", + "range": [ + 1358, + 1359 + ], + "loc": { + "start": { + "line": 77, + "column": 28 + }, + "end": { + "line": 77, + "column": 29 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 1360, + 1361 + ], + "loc": { + "start": { + "line": 77, + "column": 30 + }, + "end": { + "line": 77, + "column": 31 + } + } + }, + "range": [ + 1358, + 1361 + ], + "loc": { + "start": { + "line": 77, + "column": 28 + }, + "end": { + "line": 77, + "column": 31 + } + } + }, + "right": { + "type": "Identifier", + "name": "T", + "range": [ + 1364, + 1365 + ], + "loc": { + "start": { + "line": 77, + "column": 34 + }, + "end": { + "line": 77, + "column": 35 + } + } + }, + "range": [ + 1358, + 1365 + ], + "loc": { + "start": { + "line": 77, + "column": 28 + }, + "end": { + "line": 77, + "column": 35 + } + } + }, + "range": [ + 1341, + 1366 + ], + "loc": { + "start": { + "line": 77, + "column": 11 + }, + "end": { + "line": 77, + "column": 36 + } + } + }, + "range": [ + 1333, + 1366 + ], + "loc": { + "start": { + "line": 77, + "column": 3 + }, + "end": { + "line": 77, + "column": 36 + } + } + }, + "range": [ + 1333, + 1367 + ], + "loc": { + "start": { + "line": 77, + "column": 3 + }, + "end": { + "line": 77, + "column": 37 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "ai", + "range": [ + 1373, + 1375 + ], + "loc": { + "start": { + "line": 78, + "column": 5 + }, + "end": { + "line": 78, + "column": 7 + } + } + }, + "prefix": true, + "range": [ + 1371, + 1375 + ], + "loc": { + "start": { + "line": 78, + "column": 3 + }, + "end": { + "line": 78, + "column": 7 + } + } + }, + "range": [ + 1371, + 1376 + ], + "loc": { + "start": { + "line": 78, + "column": 3 + }, + "end": { + "line": 78, + "column": 8 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "bi", + "range": [ + 1379, + 1381 + ], + "loc": { + "start": { + "line": 78, + "column": 11 + }, + "end": { + "line": 78, + "column": 13 + } + } + }, + "prefix": true, + "range": [ + 1377, + 1381 + ], + "loc": { + "start": { + "line": 78, + "column": 9 + }, + "end": { + "line": 78, + "column": 13 + } + } + }, + "range": [ + 1377, + 1382 + ], + "loc": { + "start": { + "line": 78, + "column": 9 + }, + "end": { + "line": 78, + "column": 14 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "ci", + "range": [ + 1385, + 1387 + ], + "loc": { + "start": { + "line": 78, + "column": 17 + }, + "end": { + "line": 78, + "column": 19 + } + } + }, + "prefix": true, + "range": [ + 1383, + 1387 + ], + "loc": { + "start": { + "line": 78, + "column": 15 + }, + "end": { + "line": 78, + "column": 19 + } + } + }, + "range": [ + 1383, + 1388 + ], + "loc": { + "start": { + "line": 78, + "column": 15 + }, + "end": { + "line": 78, + "column": 20 + } + } + } + ], + "range": [ + 1292, + 1392 + ], + "loc": { + "start": { + "line": 74, + "column": 16 + }, + "end": { + "line": 79, + "column": 3 + } + } + }, + "range": [ + 1278, + 1392 + ], + "loc": { + "start": { + "line": 74, + "column": 2 + }, + "end": { + "line": 79, + "column": 3 + } + } + }, + { + "type": "WhileStatement", + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "ai", + "range": [ + 1402, + 1404 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 10 + } + } + }, + "right": { + "type": "Identifier", + "name": "aj", + "range": [ + 1407, + 1409 + ], + "loc": { + "start": { + "line": 81, + "column": 13 + }, + "end": { + "line": 81, + "column": 15 + } + } + }, + "range": [ + 1402, + 1409 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 15 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "T", + "range": [ + 1415, + 1416 + ], + "loc": { + "start": { + "line": 82, + "column": 3 + }, + "end": { + "line": 82, + "column": 4 + } + } + }, + "right": { + "type": "Identifier", + "name": "C", + "range": [ + 1419, + 1420 + ], + "loc": { + "start": { + "line": 82, + "column": 7 + }, + "end": { + "line": 82, + "column": 8 + } + } + }, + "range": [ + 1415, + 1420 + ], + "loc": { + "start": { + "line": 82, + "column": 3 + }, + "end": { + "line": 82, + "column": 8 + } + } + }, + "range": [ + 1415, + 1421 + ], + "loc": { + "start": { + "line": 82, + "column": 3 + }, + "end": { + "line": 82, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "C", + "range": [ + 1425, + 1426 + ], + "loc": { + "start": { + "line": 83, + "column": 3 + }, + "end": { + "line": 83, + "column": 4 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 1429, + 1430 + ], + "loc": { + "start": { + "line": 83, + "column": 7 + }, + "end": { + "line": 83, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "name": "ai", + "range": [ + 1431, + 1433 + ], + "loc": { + "start": { + "line": 83, + "column": 9 + }, + "end": { + "line": 83, + "column": 11 + } + } + }, + "range": [ + 1429, + 1434 + ], + "loc": { + "start": { + "line": 83, + "column": 7 + }, + "end": { + "line": 83, + "column": 12 + } + } + }, + "right": { + "type": "Identifier", + "name": "T", + "range": [ + 1437, + 1438 + ], + "loc": { + "start": { + "line": 83, + "column": 15 + }, + "end": { + "line": 83, + "column": 16 + } + } + }, + "range": [ + 1429, + 1438 + ], + "loc": { + "start": { + "line": 83, + "column": 7 + }, + "end": { + "line": 83, + "column": 16 + } + } + }, + "range": [ + 1425, + 1438 + ], + "loc": { + "start": { + "line": 83, + "column": 3 + }, + "end": { + "line": 83, + "column": 16 + } + } + }, + "range": [ + 1425, + 1439 + ], + "loc": { + "start": { + "line": 83, + "column": 3 + }, + "end": { + "line": 83, + "column": 17 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 1443, + 1444 + ], + "loc": { + "start": { + "line": 84, + "column": 3 + }, + "end": { + "line": 84, + "column": 4 + } + } + }, + "property": { + "type": "Identifier", + "name": "ci", + "range": [ + 1445, + 1447 + ], + "loc": { + "start": { + "line": 84, + "column": 5 + }, + "end": { + "line": 84, + "column": 7 + } + } + }, + "range": [ + 1443, + 1448 + ], + "loc": { + "start": { + "line": 84, + "column": 3 + }, + "end": { + "line": 84, + "column": 8 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 1451, + 1452 + ], + "loc": { + "start": { + "line": 84, + "column": 11 + }, + "end": { + "line": 84, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "ai", + "range": [ + 1453, + 1455 + ], + "loc": { + "start": { + "line": 84, + "column": 13 + }, + "end": { + "line": 84, + "column": 15 + } + } + }, + "range": [ + 1451, + 1456 + ], + "loc": { + "start": { + "line": 84, + "column": 11 + }, + "end": { + "line": 84, + "column": 16 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "BinaryExpression", + "operator": "*", + "left": { + "type": "Identifier", + "name": "C", + "range": [ + 1460, + 1461 + ], + "loc": { + "start": { + "line": 84, + "column": 20 + }, + "end": { + "line": 84, + "column": 21 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 1462, + 1463 + ], + "loc": { + "start": { + "line": 84, + "column": 22 + }, + "end": { + "line": 84, + "column": 23 + } + } + }, + "range": [ + 1460, + 1463 + ], + "loc": { + "start": { + "line": 84, + "column": 20 + }, + "end": { + "line": 84, + "column": 23 + } + } + }, + "right": { + "type": "Identifier", + "name": "T", + "range": [ + 1466, + 1467 + ], + "loc": { + "start": { + "line": 84, + "column": 26 + }, + "end": { + "line": 84, + "column": 27 + } + } + }, + "range": [ + 1460, + 1467 + ], + "loc": { + "start": { + "line": 84, + "column": 20 + }, + "end": { + "line": 84, + "column": 27 + } + } + }, + "range": [ + 1451, + 1468 + ], + "loc": { + "start": { + "line": 84, + "column": 11 + }, + "end": { + "line": 84, + "column": 28 + } + } + }, + "range": [ + 1443, + 1468 + ], + "loc": { + "start": { + "line": 84, + "column": 3 + }, + "end": { + "line": 84, + "column": 28 + } + } + }, + "range": [ + 1443, + 1469 + ], + "loc": { + "start": { + "line": 84, + "column": 3 + }, + "end": { + "line": 84, + "column": 29 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "ai", + "range": [ + 1475, + 1477 + ], + "loc": { + "start": { + "line": 85, + "column": 5 + }, + "end": { + "line": 85, + "column": 7 + } + } + }, + "prefix": true, + "range": [ + 1473, + 1477 + ], + "loc": { + "start": { + "line": 85, + "column": 3 + }, + "end": { + "line": 85, + "column": 7 + } + } + }, + "range": [ + 1473, + 1478 + ], + "loc": { + "start": { + "line": 85, + "column": 3 + }, + "end": { + "line": 85, + "column": 8 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "ci", + "range": [ + 1481, + 1483 + ], + "loc": { + "start": { + "line": 85, + "column": 11 + }, + "end": { + "line": 85, + "column": 13 + } + } + }, + "prefix": true, + "range": [ + 1479, + 1483 + ], + "loc": { + "start": { + "line": 85, + "column": 9 + }, + "end": { + "line": 85, + "column": 13 + } + } + }, + "range": [ + 1479, + 1484 + ], + "loc": { + "start": { + "line": 85, + "column": 9 + }, + "end": { + "line": 85, + "column": 14 + } + } + } + ], + "range": [ + 1410, + 1488 + ], + "loc": { + "start": { + "line": 81, + "column": 16 + }, + "end": { + "line": 86, + "column": 3 + } + } + }, + "range": [ + 1396, + 1488 + ], + "loc": { + "start": { + "line": 81, + "column": 2 + }, + "end": { + "line": 86, + "column": 3 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "C", + "range": [ + 1495, + 1496 + ], + "loc": { + "start": { + "line": 88, + "column": 5 + }, + "end": { + "line": 88, + "column": 6 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "WhileStatement", + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "ci", + "range": [ + 1508, + 1510 + ], + "loc": { + "start": { + "line": 89, + "column": 9 + }, + "end": { + "line": 89, + "column": 11 + } + } + }, + "right": { + "type": "Identifier", + "name": "cj", + "range": [ + 1513, + 1515 + ], + "loc": { + "start": { + "line": 89, + "column": 14 + }, + "end": { + "line": 89, + "column": 16 + } + } + }, + "range": [ + 1508, + 1515 + ], + "loc": { + "start": { + "line": 89, + "column": 9 + }, + "end": { + "line": 89, + "column": 16 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 1522, + 1523 + ], + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 90, + "column": 5 + } + } + }, + "property": { + "type": "Identifier", + "name": "ci", + "range": [ + 1524, + 1526 + ], + "loc": { + "start": { + "line": 90, + "column": 6 + }, + "end": { + "line": 90, + "column": 8 + } + } + }, + "range": [ + 1522, + 1527 + ], + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 90, + "column": 9 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "r", + "range": [ + 1530, + 1531 + ], + "loc": { + "start": { + "line": 90, + "column": 12 + }, + "end": { + "line": 90, + "column": 13 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 1534, + 1535 + ], + "loc": { + "start": { + "line": 90, + "column": 16 + }, + "end": { + "line": 90, + "column": 17 + } + } + }, + "range": [ + 1530, + 1535 + ], + "loc": { + "start": { + "line": 90, + "column": 12 + }, + "end": { + "line": 90, + "column": 17 + } + } + }, + "range": [ + 1522, + 1535 + ], + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 90, + "column": 17 + } + } + }, + "range": [ + 1522, + 1536 + ], + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 90, + "column": 18 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "ci", + "range": [ + 1543, + 1545 + ], + "loc": { + "start": { + "line": 91, + "column": 6 + }, + "end": { + "line": 91, + "column": 8 + } + } + }, + "prefix": true, + "range": [ + 1541, + 1545 + ], + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 8 + } + } + }, + "range": [ + 1541, + 1546 + ], + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 9 + } + } + } + ], + "range": [ + 1516, + 1551 + ], + "loc": { + "start": { + "line": 89, + "column": 17 + }, + "end": { + "line": 92, + "column": 4 + } + } + }, + "range": [ + 1502, + 1551 + ], + "loc": { + "start": { + "line": 89, + "column": 3 + }, + "end": { + "line": 92, + "column": 4 + } + } + } + ], + "range": [ + 1497, + 1555 + ], + "loc": { + "start": { + "line": 88, + "column": 7 + }, + "end": { + "line": 93, + "column": 3 + } + } + }, + "alternate": null, + "range": [ + 1492, + 1555 + ], + "loc": { + "start": { + "line": 88, + "column": 2 + }, + "end": { + "line": 93, + "column": 3 + } + } + } + ], + "range": [ + 1257, + 1559 + ], + "loc": { + "start": { + "line": 71, + "column": 49 + }, + "end": { + "line": 95, + "column": 2 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1216, + 1559 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 95, + "column": 2 + } + } + }, + "range": [ + 1209, + 1560 + ], + "loc": { + "start": { + "line": 71, + "column": 1 + }, + "end": { + "line": 95, + "column": 3 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n\t * Subtracts two little endian arrays, k >= i >= j\n\t * wraps\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t ", + "range": [ + 845, + 1206 + ], + "loc": { + "start": { + "line": 56, + "column": 1 + }, + "end": { + "line": 69, + "column": 4 + } + } + } + ] + } + ], + "range": [ + 841, + 1562 + ], + "loc": { + "start": { + "line": 54, + "column": 26 + }, + "end": { + "line": 96, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 822, + 1562 + ], + "loc": { + "start": { + "line": 54, + "column": 7 + }, + "end": { + "line": 96, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * @param {int} r base (radix)\n ", + "range": [ + 776, + 814 + ], + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 53, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 815, + 1562 + ], + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 96, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * @param {int} r base (radix)\n ", + "range": [ + 776, + 814 + ], + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 53, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 42, + 1562 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 96, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * @param {int} r base (radix)\n ", + "range": [ + 1, + 39 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 4, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n\t * Subtracts two big endian arrays, k >= i >= j\n\t * wraps\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t ", + "range": [ + 72, + 430 + ], + "loc": { + "start": { + "line": 9, + "column": 1 + }, + "end": { + "line": 22, + "column": 4 + } + } + }, + { + "type": "Block", + "value": "*\n * @param {int} r base (radix)\n ", + "range": [ + 776, + 814 + ], + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 53, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n\t * Subtracts two little endian arrays, k >= i >= j\n\t * wraps\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t ", + "range": [ + 845, + 1206 + ], + "loc": { + "start": { + "line": 56, + "column": 1 + }, + "end": { + "line": 69, + "column": 4 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/binary/and/and.js.json b/ast/source/0-legacy/binary/and/and.js.json new file mode 100644 index 0000000..8ef31da --- /dev/null +++ b/ast/source/0-legacy/binary/and/and.js.json @@ -0,0 +1,3945 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "and", + "range": [ + 140, + 143 + ], + "loc": { + "start": { + "line": 13, + "column": 16 + }, + "end": { + "line": 13, + "column": 19 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 145, + 146 + ], + "loc": { + "start": { + "line": 13, + "column": 21 + }, + "end": { + "line": 13, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "a0", + "range": [ + 148, + 150 + ], + "loc": { + "start": { + "line": 13, + "column": 24 + }, + "end": { + "line": 13, + "column": 26 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 152, + 153 + ], + "loc": { + "start": { + "line": 13, + "column": 28 + }, + "end": { + "line": 13, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "b0", + "range": [ + 155, + 157 + ], + "loc": { + "start": { + "line": 13, + "column": 31 + }, + "end": { + "line": 13, + "column": 33 + } + } + }, + { + "type": "Identifier", + "name": "c", + "range": [ + 159, + 160 + ], + "loc": { + "start": { + "line": 13, + "column": 35 + }, + "end": { + "line": 13, + "column": 36 + } + } + }, + { + "type": "Identifier", + "name": "c0", + "range": [ + 162, + 164 + ], + "loc": { + "start": { + "line": 13, + "column": 38 + }, + "end": { + "line": 13, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "c1", + "range": [ + 166, + 168 + ], + "loc": { + "start": { + "line": 13, + "column": 42 + }, + "end": { + "line": 13, + "column": 44 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "WhileStatement", + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "c0", + "range": [ + 181, + 183 + ], + "loc": { + "start": { + "line": 15, + "column": 8 + }, + "end": { + "line": 15, + "column": 10 + } + } + }, + "right": { + "type": "Identifier", + "name": "c1", + "range": [ + 186, + 188 + ], + "loc": { + "start": { + "line": 15, + "column": 13 + }, + "end": { + "line": 15, + "column": 15 + } + } + }, + "range": [ + 181, + 188 + ], + "loc": { + "start": { + "line": 15, + "column": 8 + }, + "end": { + "line": 15, + "column": 15 + } + } + }, + "body": { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 190, + 191 + ], + "loc": { + "start": { + "line": 15, + "column": 17 + }, + "end": { + "line": 15, + "column": 18 + } + } + }, + "property": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "c0", + "range": [ + 192, + 194 + ], + "loc": { + "start": { + "line": 15, + "column": 19 + }, + "end": { + "line": 15, + "column": 21 + } + } + }, + "prefix": false, + "range": [ + 192, + 196 + ], + "loc": { + "start": { + "line": 15, + "column": 19 + }, + "end": { + "line": 15, + "column": 23 + } + } + }, + "range": [ + 190, + 197 + ], + "loc": { + "start": { + "line": 15, + "column": 17 + }, + "end": { + "line": 15, + "column": 24 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "&", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 200, + 201 + ], + "loc": { + "start": { + "line": 15, + "column": 27 + }, + "end": { + "line": 15, + "column": 28 + } + } + }, + "property": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "a0", + "range": [ + 202, + 204 + ], + "loc": { + "start": { + "line": 15, + "column": 29 + }, + "end": { + "line": 15, + "column": 31 + } + } + }, + "prefix": false, + "range": [ + 202, + 206 + ], + "loc": { + "start": { + "line": 15, + "column": 29 + }, + "end": { + "line": 15, + "column": 33 + } + } + }, + "range": [ + 200, + 207 + ], + "loc": { + "start": { + "line": 15, + "column": 27 + }, + "end": { + "line": 15, + "column": 34 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 210, + 211 + ], + "loc": { + "start": { + "line": 15, + "column": 37 + }, + "end": { + "line": 15, + "column": 38 + } + } + }, + "property": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "b0", + "range": [ + 212, + 214 + ], + "loc": { + "start": { + "line": 15, + "column": 39 + }, + "end": { + "line": 15, + "column": 41 + } + } + }, + "prefix": false, + "range": [ + 212, + 216 + ], + "loc": { + "start": { + "line": 15, + "column": 39 + }, + "end": { + "line": 15, + "column": 43 + } + } + }, + "range": [ + 210, + 217 + ], + "loc": { + "start": { + "line": 15, + "column": 37 + }, + "end": { + "line": 15, + "column": 44 + } + } + }, + "range": [ + 200, + 217 + ], + "loc": { + "start": { + "line": 15, + "column": 27 + }, + "end": { + "line": 15, + "column": 44 + } + } + }, + "range": [ + 190, + 217 + ], + "loc": { + "start": { + "line": 15, + "column": 17 + }, + "end": { + "line": 15, + "column": 44 + } + } + }, + "range": [ + 190, + 218 + ], + "loc": { + "start": { + "line": 15, + "column": 17 + }, + "end": { + "line": 15, + "column": 45 + } + } + }, + "range": [ + 174, + 218 + ], + "loc": { + "start": { + "line": 15, + "column": 1 + }, + "end": { + "line": 15, + "column": 45 + } + } + } + ], + "range": [ + 170, + 221 + ], + "loc": { + "start": { + "line": 13, + "column": 46 + }, + "end": { + "line": 17, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 131, + 221 + ], + "loc": { + "start": { + "line": 13, + "column": 7 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n *\n * BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| = |b| = |c| > 0\n *\n *\n ", + "range": [ + 1, + 122 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * BIG ENDIAN BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| >= |b| > 0\n *\n * treats b as if it was represented with the same number of blocks as a\n ", + "range": [ + 224, + 418 + ], + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 28, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 124, + 221 + ], + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n *\n * BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| = |b| = |c| > 0\n *\n *\n ", + "range": [ + 1, + 122 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * BIG ENDIAN BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| >= |b| > 0\n *\n * treats b as if it was represented with the same number of blocks as a\n ", + "range": [ + 224, + 418 + ], + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 28, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "band_t", + "range": [ + 436, + 442 + ], + "loc": { + "start": { + "line": 30, + "column": 16 + }, + "end": { + "line": 30, + "column": 22 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "r", + "range": [ + 444, + 445 + ], + "loc": { + "start": { + "line": 30, + "column": 24 + }, + "end": { + "line": 30, + "column": 25 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "_r", + "range": [ + 454, + 456 + ], + "loc": { + "start": { + "line": 32, + "column": 5 + }, + "end": { + "line": 32, + "column": 7 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "Identifier", + "name": "r", + "range": [ + 459, + 460 + ], + "loc": { + "start": { + "line": 32, + "column": 10 + }, + "end": { + "line": 32, + "column": 11 + } + } + }, + "right": { + "type": "Literal", + "value": 2, + "raw": "2", + "range": [ + 463, + 464 + ], + "loc": { + "start": { + "line": 32, + "column": 14 + }, + "end": { + "line": 32, + "column": 15 + } + } + }, + "range": [ + 459, + 464 + ], + "loc": { + "start": { + "line": 32, + "column": 10 + }, + "end": { + "line": 32, + "column": 15 + } + } + }, + "range": [ + 454, + 464 + ], + "loc": { + "start": { + "line": 32, + "column": 5 + }, + "end": { + "line": 32, + "column": 15 + } + } + } + ], + "kind": "var", + "range": [ + 450, + 465 + ], + "loc": { + "start": { + "line": 32, + "column": 1 + }, + "end": { + "line": 32, + "column": 16 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 485, + 486 + ], + "loc": { + "start": { + "line": 34, + "column": 18 + }, + "end": { + "line": 34, + "column": 19 + } + } + }, + { + "type": "Identifier", + "name": "a0", + "range": [ + 488, + 490 + ], + "loc": { + "start": { + "line": 34, + "column": 21 + }, + "end": { + "line": 34, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "a1", + "range": [ + 492, + 494 + ], + "loc": { + "start": { + "line": 34, + "column": 25 + }, + "end": { + "line": 34, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 496, + 497 + ], + "loc": { + "start": { + "line": 34, + "column": 29 + }, + "end": { + "line": 34, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "b0", + "range": [ + 499, + 501 + ], + "loc": { + "start": { + "line": 34, + "column": 32 + }, + "end": { + "line": 34, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "b1", + "range": [ + 503, + 505 + ], + "loc": { + "start": { + "line": 34, + "column": 36 + }, + "end": { + "line": 34, + "column": 38 + } + } + }, + { + "type": "Identifier", + "name": "c", + "range": [ + 507, + 508 + ], + "loc": { + "start": { + "line": 34, + "column": 40 + }, + "end": { + "line": 34, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "c0", + "range": [ + 510, + 512 + ], + "loc": { + "start": { + "line": 34, + "column": 43 + }, + "end": { + "line": 34, + "column": 45 + } + } + }, + { + "type": "Identifier", + "name": "c1", + "range": [ + 514, + 516 + ], + "loc": { + "start": { + "line": 34, + "column": 47 + }, + "end": { + "line": 34, + "column": 49 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "at", + "range": [ + 527, + 529 + ], + "loc": { + "start": { + "line": 36, + "column": 6 + }, + "end": { + "line": 36, + "column": 8 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "a1", + "range": [ + 532, + 534 + ], + "loc": { + "start": { + "line": 36, + "column": 11 + }, + "end": { + "line": 36, + "column": 13 + } + } + }, + "right": { + "type": "Identifier", + "name": "b1", + "range": [ + 537, + 539 + ], + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 18 + } + } + }, + "range": [ + 532, + 539 + ], + "loc": { + "start": { + "line": 36, + "column": 11 + }, + "end": { + "line": 36, + "column": 18 + } + } + }, + "right": { + "type": "Identifier", + "name": "b0", + "range": [ + 542, + 544 + ], + "loc": { + "start": { + "line": 36, + "column": 21 + }, + "end": { + "line": 36, + "column": 23 + } + } + }, + "range": [ + 532, + 544 + ], + "loc": { + "start": { + "line": 36, + "column": 11 + }, + "end": { + "line": 36, + "column": 23 + } + } + }, + "range": [ + 527, + 544 + ], + "loc": { + "start": { + "line": 36, + "column": 6 + }, + "end": { + "line": 36, + "column": 23 + } + } + } + ], + "kind": "var", + "range": [ + 523, + 545 + ], + "loc": { + "start": { + "line": 36, + "column": 2 + }, + "end": { + "line": 36, + "column": 24 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "ct", + "range": [ + 552, + 554 + ], + "loc": { + "start": { + "line": 37, + "column": 6 + }, + "end": { + "line": 37, + "column": 8 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "c0", + "range": [ + 557, + 559 + ], + "loc": { + "start": { + "line": 37, + "column": 11 + }, + "end": { + "line": 37, + "column": 13 + } + } + }, + "right": { + "type": "Identifier", + "name": "at", + "range": [ + 562, + 564 + ], + "loc": { + "start": { + "line": 37, + "column": 16 + }, + "end": { + "line": 37, + "column": 18 + } + } + }, + "range": [ + 557, + 564 + ], + "loc": { + "start": { + "line": 37, + "column": 11 + }, + "end": { + "line": 37, + "column": 18 + } + } + }, + "right": { + "type": "Identifier", + "name": "a0", + "range": [ + 567, + 569 + ], + "loc": { + "start": { + "line": 37, + "column": 21 + }, + "end": { + "line": 37, + "column": 23 + } + } + }, + "range": [ + 557, + 569 + ], + "loc": { + "start": { + "line": 37, + "column": 11 + }, + "end": { + "line": 37, + "column": 23 + } + } + }, + "range": [ + 552, + 569 + ], + "loc": { + "start": { + "line": 37, + "column": 6 + }, + "end": { + "line": 37, + "column": 23 + } + } + } + ], + "kind": "var", + "range": [ + 548, + 570 + ], + "loc": { + "start": { + "line": 37, + "column": 2 + }, + "end": { + "line": 37, + "column": 24 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 578, + 579 + ], + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 39, + "column": 7 + } + } + }, + "property": { + "type": "Identifier", + "name": "b0", + "range": [ + 580, + 582 + ], + "loc": { + "start": { + "line": 39, + "column": 8 + }, + "end": { + "line": 39, + "column": 10 + } + } + }, + "range": [ + 578, + 583 + ], + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 39, + "column": 11 + } + } + }, + "right": { + "type": "Identifier", + "name": "_r", + "range": [ + 586, + 588 + ], + "loc": { + "start": { + "line": 39, + "column": 14 + }, + "end": { + "line": 39, + "column": 16 + } + } + }, + "range": [ + 578, + 588 + ], + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 39, + "column": 16 + } + } + }, + "consequent": { + "type": "WhileStatement", + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "c0", + "range": [ + 597, + 599 + ], + "loc": { + "start": { + "line": 39, + "column": 25 + }, + "end": { + "line": 39, + "column": 27 + } + } + }, + "right": { + "type": "Identifier", + "name": "ct", + "range": [ + 602, + 604 + ], + "loc": { + "start": { + "line": 39, + "column": 30 + }, + "end": { + "line": 39, + "column": 32 + } + } + }, + "range": [ + 597, + 604 + ], + "loc": { + "start": { + "line": 39, + "column": 25 + }, + "end": { + "line": 39, + "column": 32 + } + } + }, + "body": { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 606, + 607 + ], + "loc": { + "start": { + "line": 39, + "column": 34 + }, + "end": { + "line": 39, + "column": 35 + } + } + }, + "property": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "c0", + "range": [ + 608, + 610 + ], + "loc": { + "start": { + "line": 39, + "column": 36 + }, + "end": { + "line": 39, + "column": 38 + } + } + }, + "prefix": false, + "range": [ + 608, + 612 + ], + "loc": { + "start": { + "line": 39, + "column": 36 + }, + "end": { + "line": 39, + "column": 40 + } + } + }, + "range": [ + 606, + 613 + ], + "loc": { + "start": { + "line": 39, + "column": 34 + }, + "end": { + "line": 39, + "column": 41 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 616, + 617 + ], + "loc": { + "start": { + "line": 39, + "column": 44 + }, + "end": { + "line": 39, + "column": 45 + } + } + }, + "range": [ + 606, + 617 + ], + "loc": { + "start": { + "line": 39, + "column": 34 + }, + "end": { + "line": 39, + "column": 45 + } + } + }, + "range": [ + 606, + 618 + ], + "loc": { + "start": { + "line": 39, + "column": 34 + }, + "end": { + "line": 39, + "column": 46 + } + } + }, + "range": [ + 590, + 618 + ], + "loc": { + "start": { + "line": 39, + "column": 18 + }, + "end": { + "line": 39, + "column": 46 + } + } + }, + "alternate": { + "type": "WhileStatement", + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "c0", + "range": [ + 644, + 646 + ], + "loc": { + "start": { + "line": 40, + "column": 25 + }, + "end": { + "line": 40, + "column": 27 + } + } + }, + "right": { + "type": "Identifier", + "name": "ct", + "range": [ + 649, + 651 + ], + "loc": { + "start": { + "line": 40, + "column": 30 + }, + "end": { + "line": 40, + "column": 32 + } + } + }, + "range": [ + 644, + 651 + ], + "loc": { + "start": { + "line": 40, + "column": 25 + }, + "end": { + "line": 40, + "column": 32 + } + } + }, + "body": { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 653, + 654 + ], + "loc": { + "start": { + "line": 40, + "column": 34 + }, + "end": { + "line": 40, + "column": 35 + } + } + }, + "property": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "c0", + "range": [ + 655, + 657 + ], + "loc": { + "start": { + "line": 40, + "column": 36 + }, + "end": { + "line": 40, + "column": 38 + } + } + }, + "prefix": false, + "range": [ + 655, + 659 + ], + "loc": { + "start": { + "line": 40, + "column": 36 + }, + "end": { + "line": 40, + "column": 40 + } + } + }, + "range": [ + 653, + 660 + ], + "loc": { + "start": { + "line": 40, + "column": 34 + }, + "end": { + "line": 40, + "column": 41 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 663, + 664 + ], + "loc": { + "start": { + "line": 40, + "column": 44 + }, + "end": { + "line": 40, + "column": 45 + } + } + }, + "property": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "a0", + "range": [ + 665, + 667 + ], + "loc": { + "start": { + "line": 40, + "column": 46 + }, + "end": { + "line": 40, + "column": 48 + } + } + }, + "prefix": false, + "range": [ + 665, + 669 + ], + "loc": { + "start": { + "line": 40, + "column": 46 + }, + "end": { + "line": 40, + "column": 50 + } + } + }, + "range": [ + 663, + 670 + ], + "loc": { + "start": { + "line": 40, + "column": 44 + }, + "end": { + "line": 40, + "column": 51 + } + } + }, + "range": [ + 653, + 670 + ], + "loc": { + "start": { + "line": 40, + "column": 34 + }, + "end": { + "line": 40, + "column": 51 + } + } + }, + "range": [ + 653, + 671 + ], + "loc": { + "start": { + "line": 40, + "column": 34 + }, + "end": { + "line": 40, + "column": 52 + } + } + }, + "range": [ + 637, + 671 + ], + "loc": { + "start": { + "line": 40, + "column": 18 + }, + "end": { + "line": 40, + "column": 52 + } + } + }, + "range": [ + 574, + 671 + ], + "loc": { + "start": { + "line": 39, + "column": 2 + }, + "end": { + "line": 40, + "column": 52 + } + } + }, + { + "type": "WhileStatement", + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "c0", + "range": [ + 682, + 684 + ], + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 11 + } + } + }, + "right": { + "type": "Identifier", + "name": "c1", + "range": [ + 687, + 689 + ], + "loc": { + "start": { + "line": 42, + "column": 14 + }, + "end": { + "line": 42, + "column": 16 + } + } + }, + "range": [ + 682, + 689 + ], + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 16 + } + } + }, + "body": { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 691, + 692 + ], + "loc": { + "start": { + "line": 42, + "column": 18 + }, + "end": { + "line": 42, + "column": 19 + } + } + }, + "property": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "c0", + "range": [ + 693, + 695 + ], + "loc": { + "start": { + "line": 42, + "column": 20 + }, + "end": { + "line": 42, + "column": 22 + } + } + }, + "prefix": false, + "range": [ + 693, + 697 + ], + "loc": { + "start": { + "line": 42, + "column": 20 + }, + "end": { + "line": 42, + "column": 24 + } + } + }, + "range": [ + 691, + 698 + ], + "loc": { + "start": { + "line": 42, + "column": 18 + }, + "end": { + "line": 42, + "column": 25 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "&", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 701, + 702 + ], + "loc": { + "start": { + "line": 42, + "column": 28 + }, + "end": { + "line": 42, + "column": 29 + } + } + }, + "property": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "at", + "range": [ + 703, + 705 + ], + "loc": { + "start": { + "line": 42, + "column": 30 + }, + "end": { + "line": 42, + "column": 32 + } + } + }, + "prefix": false, + "range": [ + 703, + 707 + ], + "loc": { + "start": { + "line": 42, + "column": 30 + }, + "end": { + "line": 42, + "column": 34 + } + } + }, + "range": [ + 701, + 708 + ], + "loc": { + "start": { + "line": 42, + "column": 28 + }, + "end": { + "line": 42, + "column": 35 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 711, + 712 + ], + "loc": { + "start": { + "line": 42, + "column": 38 + }, + "end": { + "line": 42, + "column": 39 + } + } + }, + "property": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "b0", + "range": [ + 713, + 715 + ], + "loc": { + "start": { + "line": 42, + "column": 40 + }, + "end": { + "line": 42, + "column": 42 + } + } + }, + "prefix": false, + "range": [ + 713, + 717 + ], + "loc": { + "start": { + "line": 42, + "column": 40 + }, + "end": { + "line": 42, + "column": 44 + } + } + }, + "range": [ + 711, + 718 + ], + "loc": { + "start": { + "line": 42, + "column": 38 + }, + "end": { + "line": 42, + "column": 45 + } + } + }, + "range": [ + 701, + 718 + ], + "loc": { + "start": { + "line": 42, + "column": 28 + }, + "end": { + "line": 42, + "column": 45 + } + } + }, + "range": [ + 691, + 718 + ], + "loc": { + "start": { + "line": 42, + "column": 18 + }, + "end": { + "line": 42, + "column": 45 + } + } + }, + "range": [ + 691, + 719 + ], + "loc": { + "start": { + "line": 42, + "column": 18 + }, + "end": { + "line": 42, + "column": 46 + } + } + }, + "range": [ + 675, + 719 + ], + "loc": { + "start": { + "line": 42, + "column": 2 + }, + "end": { + "line": 42, + "column": 46 + } + } + } + ], + "range": [ + 518, + 723 + ], + "loc": { + "start": { + "line": 34, + "column": 51 + }, + "end": { + "line": 44, + "column": 2 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 475, + 723 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 44, + "column": 2 + } + } + }, + "range": [ + 468, + 724 + ], + "loc": { + "start": { + "line": 34, + "column": 1 + }, + "end": { + "line": 44, + "column": 3 + } + } + } + ], + "range": [ + 446, + 727 + ], + "loc": { + "start": { + "line": 30, + "column": 26 + }, + "end": { + "line": 46, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 427, + 727 + ], + "loc": { + "start": { + "line": 30, + "column": 7 + }, + "end": { + "line": 46, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * BIG ENDIAN BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| >= |b| > 0\n *\n * treats b as if it was represented with the same number of blocks as a\n ", + "range": [ + 224, + 418 + ], + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 28, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * LITTLE ENDIAN BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| >= |b| > 0\n *\n * treats b as if it was represented with the same number of blocks as a\n ", + "range": [ + 732, + 929 + ], + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 59, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 420, + 727 + ], + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 46, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * BIG ENDIAN BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| >= |b| > 0\n *\n * treats b as if it was represented with the same number of blocks as a\n ", + "range": [ + 224, + 418 + ], + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 28, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * LITTLE ENDIAN BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| >= |b| > 0\n *\n * treats b as if it was represented with the same number of blocks as a\n ", + "range": [ + 732, + 929 + ], + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 59, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "land_t", + "range": [ + 947, + 953 + ], + "loc": { + "start": { + "line": 61, + "column": 16 + }, + "end": { + "line": 61, + "column": 22 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "r", + "range": [ + 955, + 956 + ], + "loc": { + "start": { + "line": 61, + "column": 24 + }, + "end": { + "line": 61, + "column": 25 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "_r", + "range": [ + 965, + 967 + ], + "loc": { + "start": { + "line": 63, + "column": 5 + }, + "end": { + "line": 63, + "column": 7 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "Identifier", + "name": "r", + "range": [ + 970, + 971 + ], + "loc": { + "start": { + "line": 63, + "column": 10 + }, + "end": { + "line": 63, + "column": 11 + } + } + }, + "right": { + "type": "Literal", + "value": 2, + "raw": "2", + "range": [ + 974, + 975 + ], + "loc": { + "start": { + "line": 63, + "column": 14 + }, + "end": { + "line": 63, + "column": 15 + } + } + }, + "range": [ + 970, + 975 + ], + "loc": { + "start": { + "line": 63, + "column": 10 + }, + "end": { + "line": 63, + "column": 15 + } + } + }, + "range": [ + 965, + 975 + ], + "loc": { + "start": { + "line": 63, + "column": 5 + }, + "end": { + "line": 63, + "column": 15 + } + } + } + ], + "kind": "var", + "range": [ + 961, + 976 + ], + "loc": { + "start": { + "line": 63, + "column": 1 + }, + "end": { + "line": 63, + "column": 16 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 996, + 997 + ], + "loc": { + "start": { + "line": 65, + "column": 18 + }, + "end": { + "line": 65, + "column": 19 + } + } + }, + { + "type": "Identifier", + "name": "a0", + "range": [ + 999, + 1001 + ], + "loc": { + "start": { + "line": 65, + "column": 21 + }, + "end": { + "line": 65, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "a1", + "range": [ + 1003, + 1005 + ], + "loc": { + "start": { + "line": 65, + "column": 25 + }, + "end": { + "line": 65, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 1007, + 1008 + ], + "loc": { + "start": { + "line": 65, + "column": 29 + }, + "end": { + "line": 65, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "b0", + "range": [ + 1010, + 1012 + ], + "loc": { + "start": { + "line": 65, + "column": 32 + }, + "end": { + "line": 65, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "b1", + "range": [ + 1014, + 1016 + ], + "loc": { + "start": { + "line": 65, + "column": 36 + }, + "end": { + "line": 65, + "column": 38 + } + } + }, + { + "type": "Identifier", + "name": "c", + "range": [ + 1018, + 1019 + ], + "loc": { + "start": { + "line": 65, + "column": 40 + }, + "end": { + "line": 65, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "c0", + "range": [ + 1021, + 1023 + ], + "loc": { + "start": { + "line": 65, + "column": 43 + }, + "end": { + "line": 65, + "column": 45 + } + } + }, + { + "type": "Identifier", + "name": "c1", + "range": [ + 1025, + 1027 + ], + "loc": { + "start": { + "line": 65, + "column": 47 + }, + "end": { + "line": 65, + "column": 49 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "ct", + "range": [ + 1038, + 1040 + ], + "loc": { + "start": { + "line": 67, + "column": 6 + }, + "end": { + "line": 67, + "column": 8 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "c0", + "range": [ + 1043, + 1045 + ], + "loc": { + "start": { + "line": 67, + "column": 11 + }, + "end": { + "line": 67, + "column": 13 + } + } + }, + "right": { + "type": "Identifier", + "name": "b1", + "range": [ + 1048, + 1050 + ], + "loc": { + "start": { + "line": 67, + "column": 16 + }, + "end": { + "line": 67, + "column": 18 + } + } + }, + "range": [ + 1043, + 1050 + ], + "loc": { + "start": { + "line": 67, + "column": 11 + }, + "end": { + "line": 67, + "column": 18 + } + } + }, + "right": { + "type": "Identifier", + "name": "b0", + "range": [ + 1053, + 1055 + ], + "loc": { + "start": { + "line": 67, + "column": 21 + }, + "end": { + "line": 67, + "column": 23 + } + } + }, + "range": [ + 1043, + 1055 + ], + "loc": { + "start": { + "line": 67, + "column": 11 + }, + "end": { + "line": 67, + "column": 23 + } + } + }, + "range": [ + 1038, + 1055 + ], + "loc": { + "start": { + "line": 67, + "column": 6 + }, + "end": { + "line": 67, + "column": 23 + } + } + } + ], + "kind": "var", + "range": [ + 1034, + 1056 + ], + "loc": { + "start": { + "line": 67, + "column": 2 + }, + "end": { + "line": 67, + "column": 24 + } + } + }, + { + "type": "WhileStatement", + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "c0", + "range": [ + 1067, + 1069 + ], + "loc": { + "start": { + "line": 69, + "column": 9 + }, + "end": { + "line": 69, + "column": 11 + } + } + }, + "right": { + "type": "Identifier", + "name": "ct", + "range": [ + 1072, + 1074 + ], + "loc": { + "start": { + "line": 69, + "column": 14 + }, + "end": { + "line": 69, + "column": 16 + } + } + }, + "range": [ + 1067, + 1074 + ], + "loc": { + "start": { + "line": 69, + "column": 9 + }, + "end": { + "line": 69, + "column": 16 + } + } + }, + "body": { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 1076, + 1077 + ], + "loc": { + "start": { + "line": 69, + "column": 18 + }, + "end": { + "line": 69, + "column": 19 + } + } + }, + "property": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "c0", + "range": [ + 1078, + 1080 + ], + "loc": { + "start": { + "line": 69, + "column": 20 + }, + "end": { + "line": 69, + "column": 22 + } + } + }, + "prefix": false, + "range": [ + 1078, + 1082 + ], + "loc": { + "start": { + "line": 69, + "column": 20 + }, + "end": { + "line": 69, + "column": 24 + } + } + }, + "range": [ + 1076, + 1083 + ], + "loc": { + "start": { + "line": 69, + "column": 18 + }, + "end": { + "line": 69, + "column": 25 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "&", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 1086, + 1087 + ], + "loc": { + "start": { + "line": 69, + "column": 28 + }, + "end": { + "line": 69, + "column": 29 + } + } + }, + "property": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "a0", + "range": [ + 1088, + 1090 + ], + "loc": { + "start": { + "line": 69, + "column": 30 + }, + "end": { + "line": 69, + "column": 32 + } + } + }, + "prefix": false, + "range": [ + 1088, + 1092 + ], + "loc": { + "start": { + "line": 69, + "column": 30 + }, + "end": { + "line": 69, + "column": 34 + } + } + }, + "range": [ + 1086, + 1093 + ], + "loc": { + "start": { + "line": 69, + "column": 28 + }, + "end": { + "line": 69, + "column": 35 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 1096, + 1097 + ], + "loc": { + "start": { + "line": 69, + "column": 38 + }, + "end": { + "line": 69, + "column": 39 + } + } + }, + "property": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "b0", + "range": [ + 1098, + 1100 + ], + "loc": { + "start": { + "line": 69, + "column": 40 + }, + "end": { + "line": 69, + "column": 42 + } + } + }, + "prefix": false, + "range": [ + 1098, + 1102 + ], + "loc": { + "start": { + "line": 69, + "column": 40 + }, + "end": { + "line": 69, + "column": 44 + } + } + }, + "range": [ + 1096, + 1103 + ], + "loc": { + "start": { + "line": 69, + "column": 38 + }, + "end": { + "line": 69, + "column": 45 + } + } + }, + "range": [ + 1086, + 1103 + ], + "loc": { + "start": { + "line": 69, + "column": 28 + }, + "end": { + "line": 69, + "column": 45 + } + } + }, + "range": [ + 1076, + 1103 + ], + "loc": { + "start": { + "line": 69, + "column": 18 + }, + "end": { + "line": 69, + "column": 45 + } + } + }, + "range": [ + 1076, + 1104 + ], + "loc": { + "start": { + "line": 69, + "column": 18 + }, + "end": { + "line": 69, + "column": 46 + } + } + }, + "range": [ + 1060, + 1104 + ], + "loc": { + "start": { + "line": 69, + "column": 2 + }, + "end": { + "line": 69, + "column": 46 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 1112, + 1113 + ], + "loc": { + "start": { + "line": 71, + "column": 6 + }, + "end": { + "line": 71, + "column": 7 + } + } + }, + "property": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "b0", + "range": [ + 1114, + 1116 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 71, + "column": 10 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 1119, + 1120 + ], + "loc": { + "start": { + "line": 71, + "column": 13 + }, + "end": { + "line": 71, + "column": 14 + } + } + }, + "range": [ + 1114, + 1120 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 71, + "column": 14 + } + } + }, + "range": [ + 1112, + 1121 + ], + "loc": { + "start": { + "line": 71, + "column": 6 + }, + "end": { + "line": 71, + "column": 15 + } + } + }, + "right": { + "type": "Identifier", + "name": "_r", + "range": [ + 1124, + 1126 + ], + "loc": { + "start": { + "line": 71, + "column": 18 + }, + "end": { + "line": 71, + "column": 20 + } + } + }, + "range": [ + 1112, + 1126 + ], + "loc": { + "start": { + "line": 71, + "column": 6 + }, + "end": { + "line": 71, + "column": 20 + } + } + }, + "consequent": { + "type": "WhileStatement", + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "c0", + "range": [ + 1135, + 1137 + ], + "loc": { + "start": { + "line": 71, + "column": 29 + }, + "end": { + "line": 71, + "column": 31 + } + } + }, + "right": { + "type": "Identifier", + "name": "c1", + "range": [ + 1140, + 1142 + ], + "loc": { + "start": { + "line": 71, + "column": 34 + }, + "end": { + "line": 71, + "column": 36 + } + } + }, + "range": [ + 1135, + 1142 + ], + "loc": { + "start": { + "line": 71, + "column": 29 + }, + "end": { + "line": 71, + "column": 36 + } + } + }, + "body": { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 1144, + 1145 + ], + "loc": { + "start": { + "line": 71, + "column": 38 + }, + "end": { + "line": 71, + "column": 39 + } + } + }, + "property": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "c0", + "range": [ + 1146, + 1148 + ], + "loc": { + "start": { + "line": 71, + "column": 40 + }, + "end": { + "line": 71, + "column": 42 + } + } + }, + "prefix": false, + "range": [ + 1146, + 1150 + ], + "loc": { + "start": { + "line": 71, + "column": 40 + }, + "end": { + "line": 71, + "column": 44 + } + } + }, + "range": [ + 1144, + 1151 + ], + "loc": { + "start": { + "line": 71, + "column": 38 + }, + "end": { + "line": 71, + "column": 45 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 1154, + 1155 + ], + "loc": { + "start": { + "line": 71, + "column": 48 + }, + "end": { + "line": 71, + "column": 49 + } + } + }, + "range": [ + 1144, + 1155 + ], + "loc": { + "start": { + "line": 71, + "column": 38 + }, + "end": { + "line": 71, + "column": 49 + } + } + }, + "range": [ + 1144, + 1156 + ], + "loc": { + "start": { + "line": 71, + "column": 38 + }, + "end": { + "line": 71, + "column": 50 + } + } + }, + "range": [ + 1128, + 1156 + ], + "loc": { + "start": { + "line": 71, + "column": 22 + }, + "end": { + "line": 71, + "column": 50 + } + } + }, + "alternate": { + "type": "WhileStatement", + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "c0", + "range": [ + 1186, + 1188 + ], + "loc": { + "start": { + "line": 72, + "column": 29 + }, + "end": { + "line": 72, + "column": 31 + } + } + }, + "right": { + "type": "Identifier", + "name": "c1", + "range": [ + 1191, + 1193 + ], + "loc": { + "start": { + "line": 72, + "column": 34 + }, + "end": { + "line": 72, + "column": 36 + } + } + }, + "range": [ + 1186, + 1193 + ], + "loc": { + "start": { + "line": 72, + "column": 29 + }, + "end": { + "line": 72, + "column": 36 + } + } + }, + "body": { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 1195, + 1196 + ], + "loc": { + "start": { + "line": 72, + "column": 38 + }, + "end": { + "line": 72, + "column": 39 + } + } + }, + "property": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "c0", + "range": [ + 1197, + 1199 + ], + "loc": { + "start": { + "line": 72, + "column": 40 + }, + "end": { + "line": 72, + "column": 42 + } + } + }, + "prefix": false, + "range": [ + 1197, + 1201 + ], + "loc": { + "start": { + "line": 72, + "column": 40 + }, + "end": { + "line": 72, + "column": 44 + } + } + }, + "range": [ + 1195, + 1202 + ], + "loc": { + "start": { + "line": 72, + "column": 38 + }, + "end": { + "line": 72, + "column": 45 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 1205, + 1206 + ], + "loc": { + "start": { + "line": 72, + "column": 48 + }, + "end": { + "line": 72, + "column": 49 + } + } + }, + "property": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "a0", + "range": [ + 1207, + 1209 + ], + "loc": { + "start": { + "line": 72, + "column": 50 + }, + "end": { + "line": 72, + "column": 52 + } + } + }, + "prefix": false, + "range": [ + 1207, + 1211 + ], + "loc": { + "start": { + "line": 72, + "column": 50 + }, + "end": { + "line": 72, + "column": 54 + } + } + }, + "range": [ + 1205, + 1212 + ], + "loc": { + "start": { + "line": 72, + "column": 48 + }, + "end": { + "line": 72, + "column": 55 + } + } + }, + "range": [ + 1195, + 1212 + ], + "loc": { + "start": { + "line": 72, + "column": 38 + }, + "end": { + "line": 72, + "column": 55 + } + } + }, + "range": [ + 1195, + 1213 + ], + "loc": { + "start": { + "line": 72, + "column": 38 + }, + "end": { + "line": 72, + "column": 56 + } + } + }, + "range": [ + 1179, + 1213 + ], + "loc": { + "start": { + "line": 72, + "column": 22 + }, + "end": { + "line": 72, + "column": 56 + } + } + }, + "range": [ + 1108, + 1213 + ], + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 72, + "column": 56 + } + } + } + ], + "range": [ + 1029, + 1218 + ], + "loc": { + "start": { + "line": 65, + "column": 51 + }, + "end": { + "line": 75, + "column": 2 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 986, + 1218 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 75, + "column": 2 + } + } + }, + "range": [ + 979, + 1219 + ], + "loc": { + "start": { + "line": 65, + "column": 1 + }, + "end": { + "line": 75, + "column": 3 + } + } + } + ], + "range": [ + 957, + 1222 + ], + "loc": { + "start": { + "line": 61, + "column": 26 + }, + "end": { + "line": 77, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 938, + 1222 + ], + "loc": { + "start": { + "line": 61, + "column": 7 + }, + "end": { + "line": 77, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * LITTLE ENDIAN BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| >= |b| > 0\n *\n * treats b as if it was represented with the same number of blocks as a\n ", + "range": [ + 732, + 929 + ], + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 59, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 931, + 1222 + ], + "loc": { + "start": { + "line": 61, + "column": 0 + }, + "end": { + "line": 77, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * LITTLE ENDIAN BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| >= |b| > 0\n *\n * treats b as if it was represented with the same number of blocks as a\n ", + "range": [ + 732, + 929 + ], + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 59, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 124, + 1222 + ], + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 77, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n *\n * BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| = |b| = |c| > 0\n *\n *\n ", + "range": [ + 1, + 122 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * BIG ENDIAN BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| >= |b| > 0\n *\n * treats b as if it was represented with the same number of blocks as a\n ", + "range": [ + 224, + 418 + ], + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 28, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * LITTLE ENDIAN BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| >= |b| > 0\n *\n * treats b as if it was represented with the same number of blocks as a\n ", + "range": [ + 732, + 929 + ], + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 59, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/binary/and/index.js.json b/ast/source/0-legacy/binary/and/index.js.json new file mode 100644 index 0000000..44754b2 --- /dev/null +++ b/ast/source/0-legacy/binary/and/index.js.json @@ -0,0 +1,57 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./and", + "raw": "'./and'", + "range": [ + 14, + 21 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 21 + } + } + }, + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/0-legacy/binary/index.js.json b/ast/source/0-legacy/binary/index.js.json new file mode 100644 index 0000000..d027f1a --- /dev/null +++ b/ast/source/0-legacy/binary/index.js.json @@ -0,0 +1,165 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./and", + "raw": "'./and'", + "range": [ + 14, + 21 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 21 + } + } + }, + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./not", + "raw": "'./not'", + "range": [ + 38, + 45 + ], + "loc": { + "start": { + "line": 2, + "column": 14 + }, + "end": { + "line": 2, + "column": 21 + } + } + }, + "range": [ + 24, + 47 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 23 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./or", + "raw": "'./or'", + "range": [ + 62, + 68 + ], + "loc": { + "start": { + "line": 3, + "column": 14 + }, + "end": { + "line": 3, + "column": 20 + } + } + }, + "range": [ + 48, + 70 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 22 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./xor", + "raw": "'./xor'", + "range": [ + 85, + 92 + ], + "loc": { + "start": { + "line": 4, + "column": 14 + }, + "end": { + "line": 4, + "column": 21 + } + } + }, + "range": [ + 71, + 94 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 23 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 94 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 4, + "column": 23 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/0-legacy/binary/not/index.js.json b/ast/source/0-legacy/binary/not/index.js.json new file mode 100644 index 0000000..f49f2f8 --- /dev/null +++ b/ast/source/0-legacy/binary/not/index.js.json @@ -0,0 +1,57 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./not", + "raw": "'./not'", + "range": [ + 14, + 21 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 21 + } + } + }, + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/0-legacy/binary/not/not.js.json b/ast/source/0-legacy/binary/not/not.js.json new file mode 100644 index 0000000..5e22d9a --- /dev/null +++ b/ast/source/0-legacy/binary/not/not.js.json @@ -0,0 +1,59 @@ +{ + "type": "Program", + "body": [], + "sourceType": "module", + "range": [ + 34, + 34 + ], + "loc": { + "start": { + "line": 3, + "column": 3 + }, + "end": { + "line": 3, + "column": 3 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * BINARY not APPLIED ON a\n ", + "range": [ + 0, + 34 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + } + ], + "comments": [ + { + "type": "Block", + "value": "*\n * BINARY not APPLIED ON a\n ", + "range": [ + 0, + 34 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/binary/or/index.js.json b/ast/source/0-legacy/binary/or/index.js.json new file mode 100644 index 0000000..9174f35 --- /dev/null +++ b/ast/source/0-legacy/binary/or/index.js.json @@ -0,0 +1,57 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./or", + "raw": "'./or'", + "range": [ + 14, + 20 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 20 + } + } + }, + "range": [ + 0, + 22 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 22 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 22 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 22 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/0-legacy/binary/or/or.js.json b/ast/source/0-legacy/binary/or/or.js.json new file mode 100644 index 0000000..581ea7e --- /dev/null +++ b/ast/source/0-legacy/binary/or/or.js.json @@ -0,0 +1,59 @@ +{ + "type": "Program", + "body": [], + "sourceType": "module", + "range": [ + 39, + 39 + ], + "loc": { + "start": { + "line": 3, + "column": 3 + }, + "end": { + "line": 3, + "column": 3 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * BINARY or APPLIED ON a AND b\n ", + "range": [ + 0, + 39 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + } + ], + "comments": [ + { + "type": "Block", + "value": "*\n * BINARY or APPLIED ON a AND b\n ", + "range": [ + 0, + 39 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/binary/xor/index.js.json b/ast/source/0-legacy/binary/xor/index.js.json new file mode 100644 index 0000000..92ba787 --- /dev/null +++ b/ast/source/0-legacy/binary/xor/index.js.json @@ -0,0 +1,57 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./xor", + "raw": "'./xor'", + "range": [ + 14, + 21 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 21 + } + } + }, + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/0-legacy/binary/xor/xor.js.json b/ast/source/0-legacy/binary/xor/xor.js.json new file mode 100644 index 0000000..8d38e5d --- /dev/null +++ b/ast/source/0-legacy/binary/xor/xor.js.json @@ -0,0 +1,59 @@ +{ + "type": "Program", + "body": [], + "sourceType": "module", + "range": [ + 40, + 40 + ], + "loc": { + "start": { + "line": 3, + "column": 3 + }, + "end": { + "line": 3, + "column": 3 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * BINARY xor APPLIED ON a AND b\n ", + "range": [ + 0, + 40 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + } + ], + "comments": [ + { + "type": "Block", + "value": "*\n * BINARY xor APPLIED ON a AND b\n ", + "range": [ + 0, + 40 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/compare/cmp.js.json b/ast/source/0-legacy/compare/cmp.js.json new file mode 100644 index 0000000..34b9e4f --- /dev/null +++ b/ast/source/0-legacy/compare/cmp.js.json @@ -0,0 +1,2806 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "bcmp_t", + "range": [ + 17, + 23 + ], + "loc": { + "start": { + "line": 2, + "column": 16 + }, + "end": { + "line": 2, + "column": 22 + } + } + }, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 352, + 353 + ], + "loc": { + "start": { + "line": 18, + "column": 17 + }, + "end": { + "line": 18, + "column": 18 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 355, + 357 + ], + "loc": { + "start": { + "line": 18, + "column": 20 + }, + "end": { + "line": 18, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 359, + 361 + ], + "loc": { + "start": { + "line": 18, + "column": 24 + }, + "end": { + "line": 18, + "column": 26 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 363, + 364 + ], + "loc": { + "start": { + "line": 18, + "column": 28 + }, + "end": { + "line": 18, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 366, + 368 + ], + "loc": { + "start": { + "line": 18, + "column": 31 + }, + "end": { + "line": 18, + "column": 33 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 370, + 372 + ], + "loc": { + "start": { + "line": 18, + "column": 35 + }, + "end": { + "line": 18, + "column": 37 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tmp", + "range": [ + 382, + 385 + ], + "loc": { + "start": { + "line": 20, + "column": 6 + }, + "end": { + "line": 20, + "column": 9 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "aj", + "range": [ + 388, + 390 + ], + "loc": { + "start": { + "line": 20, + "column": 12 + }, + "end": { + "line": 20, + "column": 14 + } + } + }, + "right": { + "type": "Identifier", + "name": "bj", + "range": [ + 393, + 395 + ], + "loc": { + "start": { + "line": 20, + "column": 17 + }, + "end": { + "line": 20, + "column": 19 + } + } + }, + "range": [ + 388, + 395 + ], + "loc": { + "start": { + "line": 20, + "column": 12 + }, + "end": { + "line": 20, + "column": 19 + } + } + }, + "right": { + "type": "Identifier", + "name": "bi", + "range": [ + 398, + 400 + ], + "loc": { + "start": { + "line": 20, + "column": 22 + }, + "end": { + "line": 20, + "column": 24 + } + } + }, + "range": [ + 388, + 400 + ], + "loc": { + "start": { + "line": 20, + "column": 12 + }, + "end": { + "line": 20, + "column": 24 + } + } + }, + "range": [ + 382, + 400 + ], + "loc": { + "start": { + "line": 20, + "column": 6 + }, + "end": { + "line": 20, + "column": 24 + } + } + } + ], + "kind": "var", + "range": [ + 378, + 401 + ], + "loc": { + "start": { + "line": 20, + "column": 2 + }, + "end": { + "line": 20, + "column": 25 + } + } + }, + { + "type": "ForStatement", + "init": null, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "ai", + "range": [ + 412, + 414 + ], + "loc": { + "start": { + "line": 22, + "column": 9 + }, + "end": { + "line": 22, + "column": 11 + } + } + }, + "right": { + "type": "Identifier", + "name": "tmp", + "range": [ + 417, + 420 + ], + "loc": { + "start": { + "line": 22, + "column": 14 + }, + "end": { + "line": 22, + "column": 17 + } + } + }, + "range": [ + 412, + 420 + ], + "loc": { + "start": { + "line": 22, + "column": 9 + }, + "end": { + "line": 22, + "column": 17 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "ai", + "range": [ + 424, + 426 + ], + "loc": { + "start": { + "line": 22, + "column": 21 + }, + "end": { + "line": 22, + "column": 23 + } + } + }, + "prefix": true, + "range": [ + 422, + 426 + ], + "loc": { + "start": { + "line": 22, + "column": 19 + }, + "end": { + "line": 22, + "column": 23 + } + } + }, + "body": { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 435, + 436 + ], + "loc": { + "start": { + "line": 23, + "column": 7 + }, + "end": { + "line": 23, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "name": "ai", + "range": [ + 437, + 439 + ], + "loc": { + "start": { + "line": 23, + "column": 9 + }, + "end": { + "line": 23, + "column": 11 + } + } + }, + "range": [ + 435, + 440 + ], + "loc": { + "start": { + "line": 23, + "column": 7 + }, + "end": { + "line": 23, + "column": 12 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 443, + 444 + ], + "loc": { + "start": { + "line": 23, + "column": 15 + }, + "end": { + "line": 23, + "column": 16 + } + } + }, + "range": [ + 435, + 444 + ], + "loc": { + "start": { + "line": 23, + "column": 7 + }, + "end": { + "line": 23, + "column": 16 + } + } + }, + "consequent": { + "type": "ReturnStatement", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 453, + 454 + ], + "loc": { + "start": { + "line": 23, + "column": 25 + }, + "end": { + "line": 23, + "column": 26 + } + } + }, + "range": [ + 446, + 455 + ], + "loc": { + "start": { + "line": 23, + "column": 18 + }, + "end": { + "line": 23, + "column": 27 + } + } + }, + "alternate": null, + "range": [ + 431, + 455 + ], + "loc": { + "start": { + "line": 23, + "column": 3 + }, + "end": { + "line": 23, + "column": 27 + } + } + }, + "range": [ + 405, + 455 + ], + "loc": { + "start": { + "line": 22, + "column": 2 + }, + "end": { + "line": 23, + "column": 27 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " same size aj - ai === bj - bi", + "range": [ + 460, + 492 + ], + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 26, + "column": 34 + } + } + } + ] + }, + { + "type": "ForStatement", + "init": null, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "ai", + "range": [ + 502, + 504 + ], + "loc": { + "start": { + "line": 27, + "column": 9 + }, + "end": { + "line": 27, + "column": 11 + } + } + }, + "right": { + "type": "Identifier", + "name": "aj", + "range": [ + 507, + 509 + ], + "loc": { + "start": { + "line": 27, + "column": 14 + }, + "end": { + "line": 27, + "column": 16 + } + } + }, + "range": [ + 502, + 509 + ], + "loc": { + "start": { + "line": 27, + "column": 9 + }, + "end": { + "line": 27, + "column": 16 + } + } + }, + "update": { + "type": "SequenceExpression", + "expressions": [ + { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "ai", + "range": [ + 513, + 515 + ], + "loc": { + "start": { + "line": 27, + "column": 20 + }, + "end": { + "line": 27, + "column": 22 + } + } + }, + "prefix": true, + "range": [ + 511, + 515 + ], + "loc": { + "start": { + "line": 27, + "column": 18 + }, + "end": { + "line": 27, + "column": 22 + } + } + }, + { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "bi", + "range": [ + 519, + 521 + ], + "loc": { + "start": { + "line": 27, + "column": 26 + }, + "end": { + "line": 27, + "column": 28 + } + } + }, + "prefix": true, + "range": [ + 517, + 521 + ], + "loc": { + "start": { + "line": 27, + "column": 24 + }, + "end": { + "line": 27, + "column": 28 + } + } + } + ], + "range": [ + 511, + 521 + ], + "loc": { + "start": { + "line": 27, + "column": 18 + }, + "end": { + "line": 27, + "column": 28 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 532, + 533 + ], + "loc": { + "start": { + "line": 28, + "column": 7 + }, + "end": { + "line": 28, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "name": "ai", + "range": [ + 534, + 536 + ], + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 11 + } + } + }, + "range": [ + 532, + 537 + ], + "loc": { + "start": { + "line": 28, + "column": 7 + }, + "end": { + "line": 28, + "column": 12 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 540, + 541 + ], + "loc": { + "start": { + "line": 28, + "column": 15 + }, + "end": { + "line": 28, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "bi", + "range": [ + 542, + 544 + ], + "loc": { + "start": { + "line": 28, + "column": 17 + }, + "end": { + "line": 28, + "column": 19 + } + } + }, + "range": [ + 540, + 545 + ], + "loc": { + "start": { + "line": 28, + "column": 15 + }, + "end": { + "line": 28, + "column": 20 + } + } + }, + "range": [ + 532, + 545 + ], + "loc": { + "start": { + "line": 28, + "column": 7 + }, + "end": { + "line": 28, + "column": 20 + } + } + }, + "consequent": { + "type": "ReturnStatement", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 555, + 556 + ], + "loc": { + "start": { + "line": 28, + "column": 30 + }, + "end": { + "line": 28, + "column": 31 + } + } + }, + "range": [ + 547, + 557 + ], + "loc": { + "start": { + "line": 28, + "column": 22 + }, + "end": { + "line": 28, + "column": 32 + } + } + }, + "alternate": null, + "range": [ + 528, + 557 + ], + "loc": { + "start": { + "line": 28, + "column": 3 + }, + "end": { + "line": 28, + "column": 32 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 565, + 566 + ], + "loc": { + "start": { + "line": 29, + "column": 7 + }, + "end": { + "line": 29, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "name": "ai", + "range": [ + 567, + 569 + ], + "loc": { + "start": { + "line": 29, + "column": 9 + }, + "end": { + "line": 29, + "column": 11 + } + } + }, + "range": [ + 565, + 570 + ], + "loc": { + "start": { + "line": 29, + "column": 7 + }, + "end": { + "line": 29, + "column": 12 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 573, + 574 + ], + "loc": { + "start": { + "line": 29, + "column": 15 + }, + "end": { + "line": 29, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "bi", + "range": [ + 575, + 577 + ], + "loc": { + "start": { + "line": 29, + "column": 17 + }, + "end": { + "line": 29, + "column": 19 + } + } + }, + "range": [ + 573, + 578 + ], + "loc": { + "start": { + "line": 29, + "column": 15 + }, + "end": { + "line": 29, + "column": 20 + } + } + }, + "range": [ + 565, + 578 + ], + "loc": { + "start": { + "line": 29, + "column": 7 + }, + "end": { + "line": 29, + "column": 20 + } + } + }, + "consequent": { + "type": "ReturnStatement", + "argument": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 588, + 589 + ], + "loc": { + "start": { + "line": 29, + "column": 30 + }, + "end": { + "line": 29, + "column": 31 + } + } + }, + "prefix": true, + "range": [ + 587, + 589 + ], + "loc": { + "start": { + "line": 29, + "column": 29 + }, + "end": { + "line": 29, + "column": 31 + } + } + }, + "range": [ + 580, + 590 + ], + "loc": { + "start": { + "line": 29, + "column": 22 + }, + "end": { + "line": 29, + "column": 32 + } + } + }, + "alternate": null, + "range": [ + 561, + 590 + ], + "loc": { + "start": { + "line": 29, + "column": 3 + }, + "end": { + "line": 29, + "column": 32 + } + } + } + ], + "range": [ + 523, + 594 + ], + "loc": { + "start": { + "line": 27, + "column": 30 + }, + "end": { + "line": 30, + "column": 3 + } + } + }, + "range": [ + 495, + 594 + ], + "loc": { + "start": { + "line": 27, + "column": 2 + }, + "end": { + "line": 30, + "column": 3 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " same size aj - ai === bj - bi", + "range": [ + 460, + 492 + ], + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 26, + "column": 34 + } + } + } + ] + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 605, + 606 + ], + "loc": { + "start": { + "line": 32, + "column": 9 + }, + "end": { + "line": 32, + "column": 10 + } + } + }, + "range": [ + 598, + 607 + ], + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 32, + "column": 11 + } + } + } + ], + "range": [ + 373, + 610 + ], + "loc": { + "start": { + "line": 18, + "column": 38 + }, + "end": { + "line": 33, + "column": 2 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 343, + 610 + ], + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 33, + "column": 2 + } + } + }, + "range": [ + 336, + 611 + ], + "loc": { + "start": { + "line": 18, + "column": 1 + }, + "end": { + "line": 33, + "column": 3 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n\t * Compares two big endian arrays, |a| >= |b|\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t *\n\t * @return {int} 1 if a > b; 0 if a = b; -1 otherwise.\n\t ", + "range": [ + 33, + 333 + ], + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 16, + "column": 4 + } + } + } + ] + } + ], + "range": [ + 28, + 614 + ], + "loc": { + "start": { + "line": 2, + "column": 27 + }, + "end": { + "line": 35, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 8, + 614 + ], + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 35, + "column": 1 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 1, + 614 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 35, + "column": 1 + } + } + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "lcmp_t", + "range": [ + 632, + 638 + ], + "loc": { + "start": { + "line": 37, + "column": 16 + }, + "end": { + "line": 37, + "column": 22 + } + } + }, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 969, + 970 + ], + "loc": { + "start": { + "line": 52, + "column": 17 + }, + "end": { + "line": 52, + "column": 18 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 972, + 974 + ], + "loc": { + "start": { + "line": 52, + "column": 20 + }, + "end": { + "line": 52, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 976, + 978 + ], + "loc": { + "start": { + "line": 52, + "column": 24 + }, + "end": { + "line": 52, + "column": 26 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 980, + 981 + ], + "loc": { + "start": { + "line": 52, + "column": 28 + }, + "end": { + "line": 52, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 983, + 985 + ], + "loc": { + "start": { + "line": 52, + "column": 31 + }, + "end": { + "line": 52, + "column": 33 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 987, + 989 + ], + "loc": { + "start": { + "line": 52, + "column": 35 + }, + "end": { + "line": 52, + "column": 37 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tmp", + "range": [ + 999, + 1002 + ], + "loc": { + "start": { + "line": 54, + "column": 6 + }, + "end": { + "line": 54, + "column": 9 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "ai", + "range": [ + 1005, + 1007 + ], + "loc": { + "start": { + "line": 54, + "column": 12 + }, + "end": { + "line": 54, + "column": 14 + } + } + }, + "right": { + "type": "Identifier", + "name": "bj", + "range": [ + 1010, + 1012 + ], + "loc": { + "start": { + "line": 54, + "column": 17 + }, + "end": { + "line": 54, + "column": 19 + } + } + }, + "range": [ + 1005, + 1012 + ], + "loc": { + "start": { + "line": 54, + "column": 12 + }, + "end": { + "line": 54, + "column": 19 + } + } + }, + "right": { + "type": "Identifier", + "name": "bi", + "range": [ + 1015, + 1017 + ], + "loc": { + "start": { + "line": 54, + "column": 22 + }, + "end": { + "line": 54, + "column": 24 + } + } + }, + "range": [ + 1005, + 1017 + ], + "loc": { + "start": { + "line": 54, + "column": 12 + }, + "end": { + "line": 54, + "column": 24 + } + } + }, + "range": [ + 999, + 1017 + ], + "loc": { + "start": { + "line": 54, + "column": 6 + }, + "end": { + "line": 54, + "column": 24 + } + } + } + ], + "kind": "var", + "range": [ + 995, + 1018 + ], + "loc": { + "start": { + "line": 54, + "column": 2 + }, + "end": { + "line": 54, + "column": 25 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "aj", + "range": [ + 1024, + 1026 + ], + "loc": { + "start": { + "line": 56, + "column": 4 + }, + "end": { + "line": 56, + "column": 6 + } + } + }, + "prefix": true, + "range": [ + 1022, + 1026 + ], + "loc": { + "start": { + "line": 56, + "column": 2 + }, + "end": { + "line": 56, + "column": 6 + } + } + }, + "range": [ + 1022, + 1027 + ], + "loc": { + "start": { + "line": 56, + "column": 2 + }, + "end": { + "line": 56, + "column": 7 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "bj", + "range": [ + 1030, + 1032 + ], + "loc": { + "start": { + "line": 56, + "column": 10 + }, + "end": { + "line": 56, + "column": 12 + } + } + }, + "prefix": true, + "range": [ + 1028, + 1032 + ], + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 12 + } + } + }, + "range": [ + 1028, + 1033 + ], + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 13 + } + } + }, + { + "type": "ForStatement", + "init": null, + "test": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "Identifier", + "name": "aj", + "range": [ + 1044, + 1046 + ], + "loc": { + "start": { + "line": 58, + "column": 9 + }, + "end": { + "line": 58, + "column": 11 + } + } + }, + "right": { + "type": "Identifier", + "name": "tmp", + "range": [ + 1050, + 1053 + ], + "loc": { + "start": { + "line": 58, + "column": 15 + }, + "end": { + "line": 58, + "column": 18 + } + } + }, + "range": [ + 1044, + 1053 + ], + "loc": { + "start": { + "line": 58, + "column": 9 + }, + "end": { + "line": 58, + "column": 18 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "aj", + "range": [ + 1057, + 1059 + ], + "loc": { + "start": { + "line": 58, + "column": 22 + }, + "end": { + "line": 58, + "column": 24 + } + } + }, + "prefix": true, + "range": [ + 1055, + 1059 + ], + "loc": { + "start": { + "line": 58, + "column": 20 + }, + "end": { + "line": 58, + "column": 24 + } + } + }, + "body": { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 1068, + 1069 + ], + "loc": { + "start": { + "line": 59, + "column": 7 + }, + "end": { + "line": 59, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "name": "aj", + "range": [ + 1070, + 1072 + ], + "loc": { + "start": { + "line": 59, + "column": 9 + }, + "end": { + "line": 59, + "column": 11 + } + } + }, + "range": [ + 1068, + 1073 + ], + "loc": { + "start": { + "line": 59, + "column": 7 + }, + "end": { + "line": 59, + "column": 12 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 1076, + 1077 + ], + "loc": { + "start": { + "line": 59, + "column": 15 + }, + "end": { + "line": 59, + "column": 16 + } + } + }, + "range": [ + 1068, + 1077 + ], + "loc": { + "start": { + "line": 59, + "column": 7 + }, + "end": { + "line": 59, + "column": 16 + } + } + }, + "consequent": { + "type": "ReturnStatement", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 1086, + 1087 + ], + "loc": { + "start": { + "line": 59, + "column": 25 + }, + "end": { + "line": 59, + "column": 26 + } + } + }, + "range": [ + 1079, + 1088 + ], + "loc": { + "start": { + "line": 59, + "column": 18 + }, + "end": { + "line": 59, + "column": 27 + } + } + }, + "alternate": null, + "range": [ + 1064, + 1088 + ], + "loc": { + "start": { + "line": 59, + "column": 3 + }, + "end": { + "line": 59, + "column": 27 + } + } + }, + "range": [ + 1037, + 1088 + ], + "loc": { + "start": { + "line": 58, + "column": 2 + }, + "end": { + "line": 59, + "column": 27 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " same size aj - ai === bj - bi", + "range": [ + 1093, + 1125 + ], + "loc": { + "start": { + "line": 62, + "column": 2 + }, + "end": { + "line": 62, + "column": 34 + } + } + } + ] + }, + { + "type": "ForStatement", + "init": null, + "test": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "Identifier", + "name": "aj", + "range": [ + 1135, + 1137 + ], + "loc": { + "start": { + "line": 63, + "column": 9 + }, + "end": { + "line": 63, + "column": 11 + } + } + }, + "right": { + "type": "Identifier", + "name": "ai", + "range": [ + 1141, + 1143 + ], + "loc": { + "start": { + "line": 63, + "column": 15 + }, + "end": { + "line": 63, + "column": 17 + } + } + }, + "range": [ + 1135, + 1143 + ], + "loc": { + "start": { + "line": 63, + "column": 9 + }, + "end": { + "line": 63, + "column": 17 + } + } + }, + "update": { + "type": "SequenceExpression", + "expressions": [ + { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "aj", + "range": [ + 1147, + 1149 + ], + "loc": { + "start": { + "line": 63, + "column": 21 + }, + "end": { + "line": 63, + "column": 23 + } + } + }, + "prefix": true, + "range": [ + 1145, + 1149 + ], + "loc": { + "start": { + "line": 63, + "column": 19 + }, + "end": { + "line": 63, + "column": 23 + } + } + }, + { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "bj", + "range": [ + 1153, + 1155 + ], + "loc": { + "start": { + "line": 63, + "column": 27 + }, + "end": { + "line": 63, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 1151, + 1155 + ], + "loc": { + "start": { + "line": 63, + "column": 25 + }, + "end": { + "line": 63, + "column": 29 + } + } + } + ], + "range": [ + 1145, + 1155 + ], + "loc": { + "start": { + "line": 63, + "column": 19 + }, + "end": { + "line": 63, + "column": 29 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 1166, + 1167 + ], + "loc": { + "start": { + "line": 64, + "column": 7 + }, + "end": { + "line": 64, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "name": "aj", + "range": [ + 1168, + 1170 + ], + "loc": { + "start": { + "line": 64, + "column": 9 + }, + "end": { + "line": 64, + "column": 11 + } + } + }, + "range": [ + 1166, + 1171 + ], + "loc": { + "start": { + "line": 64, + "column": 7 + }, + "end": { + "line": 64, + "column": 12 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 1174, + 1175 + ], + "loc": { + "start": { + "line": 64, + "column": 15 + }, + "end": { + "line": 64, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "bj", + "range": [ + 1176, + 1178 + ], + "loc": { + "start": { + "line": 64, + "column": 17 + }, + "end": { + "line": 64, + "column": 19 + } + } + }, + "range": [ + 1174, + 1179 + ], + "loc": { + "start": { + "line": 64, + "column": 15 + }, + "end": { + "line": 64, + "column": 20 + } + } + }, + "range": [ + 1166, + 1179 + ], + "loc": { + "start": { + "line": 64, + "column": 7 + }, + "end": { + "line": 64, + "column": 20 + } + } + }, + "consequent": { + "type": "ReturnStatement", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 1189, + 1190 + ], + "loc": { + "start": { + "line": 64, + "column": 30 + }, + "end": { + "line": 64, + "column": 31 + } + } + }, + "range": [ + 1181, + 1191 + ], + "loc": { + "start": { + "line": 64, + "column": 22 + }, + "end": { + "line": 64, + "column": 32 + } + } + }, + "alternate": null, + "range": [ + 1162, + 1191 + ], + "loc": { + "start": { + "line": 64, + "column": 3 + }, + "end": { + "line": 64, + "column": 32 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 1199, + 1200 + ], + "loc": { + "start": { + "line": 65, + "column": 7 + }, + "end": { + "line": 65, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "name": "aj", + "range": [ + 1201, + 1203 + ], + "loc": { + "start": { + "line": 65, + "column": 9 + }, + "end": { + "line": 65, + "column": 11 + } + } + }, + "range": [ + 1199, + 1204 + ], + "loc": { + "start": { + "line": 65, + "column": 7 + }, + "end": { + "line": 65, + "column": 12 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 1207, + 1208 + ], + "loc": { + "start": { + "line": 65, + "column": 15 + }, + "end": { + "line": 65, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "bj", + "range": [ + 1209, + 1211 + ], + "loc": { + "start": { + "line": 65, + "column": 17 + }, + "end": { + "line": 65, + "column": 19 + } + } + }, + "range": [ + 1207, + 1212 + ], + "loc": { + "start": { + "line": 65, + "column": 15 + }, + "end": { + "line": 65, + "column": 20 + } + } + }, + "range": [ + 1199, + 1212 + ], + "loc": { + "start": { + "line": 65, + "column": 7 + }, + "end": { + "line": 65, + "column": 20 + } + } + }, + "consequent": { + "type": "ReturnStatement", + "argument": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 1222, + 1223 + ], + "loc": { + "start": { + "line": 65, + "column": 30 + }, + "end": { + "line": 65, + "column": 31 + } + } + }, + "prefix": true, + "range": [ + 1221, + 1223 + ], + "loc": { + "start": { + "line": 65, + "column": 29 + }, + "end": { + "line": 65, + "column": 31 + } + } + }, + "range": [ + 1214, + 1224 + ], + "loc": { + "start": { + "line": 65, + "column": 22 + }, + "end": { + "line": 65, + "column": 32 + } + } + }, + "alternate": null, + "range": [ + 1195, + 1224 + ], + "loc": { + "start": { + "line": 65, + "column": 3 + }, + "end": { + "line": 65, + "column": 32 + } + } + } + ], + "range": [ + 1157, + 1228 + ], + "loc": { + "start": { + "line": 63, + "column": 31 + }, + "end": { + "line": 66, + "column": 3 + } + } + }, + "range": [ + 1128, + 1228 + ], + "loc": { + "start": { + "line": 63, + "column": 2 + }, + "end": { + "line": 66, + "column": 3 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " same size aj - ai === bj - bi", + "range": [ + 1093, + 1125 + ], + "loc": { + "start": { + "line": 62, + "column": 2 + }, + "end": { + "line": 62, + "column": 34 + } + } + } + ] + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 1239, + 1240 + ], + "loc": { + "start": { + "line": 68, + "column": 9 + }, + "end": { + "line": 68, + "column": 10 + } + } + }, + "range": [ + 1232, + 1241 + ], + "loc": { + "start": { + "line": 68, + "column": 2 + }, + "end": { + "line": 68, + "column": 11 + } + } + } + ], + "range": [ + 990, + 1244 + ], + "loc": { + "start": { + "line": 52, + "column": 38 + }, + "end": { + "line": 69, + "column": 2 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 960, + 1244 + ], + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 69, + "column": 2 + } + } + }, + "range": [ + 953, + 1245 + ], + "loc": { + "start": { + "line": 52, + "column": 1 + }, + "end": { + "line": 69, + "column": 3 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n\t * Compares two little endian arrays, |a| >= |b|\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t *\n\t * @return {int} 1 if a > b; 0 if a = b; -1 otherwise.\n\t ", + "range": [ + 647, + 950 + ], + "loc": { + "start": { + "line": 39, + "column": 1 + }, + "end": { + "line": 50, + "column": 4 + } + } + } + ] + } + ], + "range": [ + 643, + 1247 + ], + "loc": { + "start": { + "line": 37, + "column": 27 + }, + "end": { + "line": 70, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 623, + 1247 + ], + "loc": { + "start": { + "line": 37, + "column": 7 + }, + "end": { + "line": 70, + "column": 1 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 616, + 1247 + ], + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 70, + "column": 1 + } + } + } + ], + "sourceType": "module", + "range": [ + 1, + 1247 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 70, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n\t * Compares two big endian arrays, |a| >= |b|\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t *\n\t * @return {int} 1 if a > b; 0 if a = b; -1 otherwise.\n\t ", + "range": [ + 33, + 333 + ], + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 16, + "column": 4 + } + } + }, + { + "type": "Line", + "value": " same size aj - ai === bj - bi", + "range": [ + 460, + 492 + ], + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 26, + "column": 34 + } + } + }, + { + "type": "Block", + "value": "*\n\t * Compares two little endian arrays, |a| >= |b|\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t *\n\t * @return {int} 1 if a > b; 0 if a = b; -1 otherwise.\n\t ", + "range": [ + 647, + 950 + ], + "loc": { + "start": { + "line": 39, + "column": 1 + }, + "end": { + "line": 50, + "column": 4 + } + } + }, + { + "type": "Line", + "value": " same size aj - ai === bj - bi", + "range": [ + 1093, + 1125 + ], + "loc": { + "start": { + "line": 62, + "column": 2 + }, + "end": { + "line": 62, + "column": 34 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/compare/eq.js.json b/ast/source/0-legacy/compare/eq.js.json new file mode 100644 index 0000000..e125d9d --- /dev/null +++ b/ast/source/0-legacy/compare/eq.js.json @@ -0,0 +1,541 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "eq_t", + "range": [ + 108, + 112 + ], + "loc": { + "start": { + "line": 6, + "column": 16 + }, + "end": { + "line": 6, + "column": 20 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "cmp", + "range": [ + 114, + 117 + ], + "loc": { + "start": { + "line": 6, + "column": 22 + }, + "end": { + "line": 6, + "column": 25 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 138, + 139 + ], + "loc": { + "start": { + "line": 7, + "column": 18 + }, + "end": { + "line": 7, + "column": 19 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 141, + 143 + ], + "loc": { + "start": { + "line": 7, + "column": 21 + }, + "end": { + "line": 7, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 145, + 147 + ], + "loc": { + "start": { + "line": 7, + "column": 25 + }, + "end": { + "line": 7, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 149, + 150 + ], + "loc": { + "start": { + "line": 7, + "column": 29 + }, + "end": { + "line": 7, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 152, + 154 + ], + "loc": { + "start": { + "line": 7, + "column": 32 + }, + "end": { + "line": 7, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 156, + 158 + ], + "loc": { + "start": { + "line": 7, + "column": 36 + }, + "end": { + "line": 7, + "column": 38 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "cmp", + "range": [ + 171, + 174 + ], + "loc": { + "start": { + "line": 8, + "column": 9 + }, + "end": { + "line": 8, + "column": 12 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 175, + 176 + ], + "loc": { + "start": { + "line": 8, + "column": 13 + }, + "end": { + "line": 8, + "column": 14 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 178, + 180 + ], + "loc": { + "start": { + "line": 8, + "column": 16 + }, + "end": { + "line": 8, + "column": 18 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 182, + 184 + ], + "loc": { + "start": { + "line": 8, + "column": 20 + }, + "end": { + "line": 8, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 186, + 187 + ], + "loc": { + "start": { + "line": 8, + "column": 24 + }, + "end": { + "line": 8, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 189, + 191 + ], + "loc": { + "start": { + "line": 8, + "column": 27 + }, + "end": { + "line": 8, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 193, + 195 + ], + "loc": { + "start": { + "line": 8, + "column": 31 + }, + "end": { + "line": 8, + "column": 33 + } + } + } + ], + "range": [ + 171, + 196 + ], + "loc": { + "start": { + "line": 8, + "column": 9 + }, + "end": { + "line": 8, + "column": 34 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 201, + 202 + ], + "loc": { + "start": { + "line": 8, + "column": 39 + }, + "end": { + "line": 8, + "column": 40 + } + } + }, + "range": [ + 171, + 202 + ], + "loc": { + "start": { + "line": 8, + "column": 9 + }, + "end": { + "line": 8, + "column": 40 + } + } + }, + "range": [ + 164, + 203 + ], + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 41 + } + } + } + ], + "range": [ + 160, + 206 + ], + "loc": { + "start": { + "line": 7, + "column": 40 + }, + "end": { + "line": 9, + "column": 2 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 128, + 206 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 9, + "column": 2 + } + } + }, + "range": [ + 121, + 207 + ], + "loc": { + "start": { + "line": 7, + "column": 1 + }, + "end": { + "line": 9, + "column": 3 + } + } + } + ], + "range": [ + 118, + 209 + ], + "loc": { + "start": { + "line": 6, + "column": 26 + }, + "end": { + "line": 10, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 99, + 209 + ], + "loc": { + "start": { + "line": 6, + "column": 7 + }, + "end": { + "line": 10, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is equal to _b_.\n ", + "range": [ + 0, + 90 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 4, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 92, + 209 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 10, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is equal to _b_.\n ", + "range": [ + 0, + 90 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 4, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 92, + 209 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 10, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is equal to _b_.\n ", + "range": [ + 0, + 90 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 4, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/compare/ge.js.json b/ast/source/0-legacy/compare/ge.js.json new file mode 100644 index 0000000..aa0ff43 --- /dev/null +++ b/ast/source/0-legacy/compare/ge.js.json @@ -0,0 +1,541 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "ge_t", + "range": [ + 121, + 125 + ], + "loc": { + "start": { + "line": 8, + "column": 16 + }, + "end": { + "line": 8, + "column": 20 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "cmp", + "range": [ + 127, + 130 + ], + "loc": { + "start": { + "line": 8, + "column": 22 + }, + "end": { + "line": 8, + "column": 25 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 151, + 152 + ], + "loc": { + "start": { + "line": 9, + "column": 18 + }, + "end": { + "line": 9, + "column": 19 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 154, + 156 + ], + "loc": { + "start": { + "line": 9, + "column": 21 + }, + "end": { + "line": 9, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 158, + 160 + ], + "loc": { + "start": { + "line": 9, + "column": 25 + }, + "end": { + "line": 9, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 162, + 163 + ], + "loc": { + "start": { + "line": 9, + "column": 29 + }, + "end": { + "line": 9, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 165, + 167 + ], + "loc": { + "start": { + "line": 9, + "column": 32 + }, + "end": { + "line": 9, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 169, + 171 + ], + "loc": { + "start": { + "line": 9, + "column": 36 + }, + "end": { + "line": 9, + "column": 38 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "cmp", + "range": [ + 184, + 187 + ], + "loc": { + "start": { + "line": 10, + "column": 9 + }, + "end": { + "line": 10, + "column": 12 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 188, + 189 + ], + "loc": { + "start": { + "line": 10, + "column": 13 + }, + "end": { + "line": 10, + "column": 14 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 191, + 193 + ], + "loc": { + "start": { + "line": 10, + "column": 16 + }, + "end": { + "line": 10, + "column": 18 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 195, + 197 + ], + "loc": { + "start": { + "line": 10, + "column": 20 + }, + "end": { + "line": 10, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 199, + 200 + ], + "loc": { + "start": { + "line": 10, + "column": 24 + }, + "end": { + "line": 10, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 202, + 204 + ], + "loc": { + "start": { + "line": 10, + "column": 27 + }, + "end": { + "line": 10, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 206, + 208 + ], + "loc": { + "start": { + "line": 10, + "column": 31 + }, + "end": { + "line": 10, + "column": 33 + } + } + } + ], + "range": [ + 184, + 209 + ], + "loc": { + "start": { + "line": 10, + "column": 9 + }, + "end": { + "line": 10, + "column": 34 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 213, + 214 + ], + "loc": { + "start": { + "line": 10, + "column": 38 + }, + "end": { + "line": 10, + "column": 39 + } + } + }, + "range": [ + 184, + 214 + ], + "loc": { + "start": { + "line": 10, + "column": 9 + }, + "end": { + "line": 10, + "column": 39 + } + } + }, + "range": [ + 177, + 215 + ], + "loc": { + "start": { + "line": 10, + "column": 2 + }, + "end": { + "line": 10, + "column": 40 + } + } + } + ], + "range": [ + 173, + 218 + ], + "loc": { + "start": { + "line": 9, + "column": 40 + }, + "end": { + "line": 11, + "column": 2 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 141, + 218 + ], + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 11, + "column": 2 + } + } + }, + "range": [ + 134, + 219 + ], + "loc": { + "start": { + "line": 9, + "column": 1 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ], + "range": [ + 131, + 221 + ], + "loc": { + "start": { + "line": 8, + "column": 26 + }, + "end": { + "line": 12, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 112, + 221 + ], + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 12, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is greater or equal to _b_.\n ", + "range": [ + 2, + 103 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 105, + 221 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 12, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is greater or equal to _b_.\n ", + "range": [ + 2, + 103 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 105, + 221 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 12, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is greater or equal to _b_.\n ", + "range": [ + 2, + 103 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/compare/gt.js.json b/ast/source/0-legacy/compare/gt.js.json new file mode 100644 index 0000000..6afd82b --- /dev/null +++ b/ast/source/0-legacy/compare/gt.js.json @@ -0,0 +1,541 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "gt_t", + "range": [ + 114, + 118 + ], + "loc": { + "start": { + "line": 8, + "column": 16 + }, + "end": { + "line": 8, + "column": 20 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "cmp", + "range": [ + 120, + 123 + ], + "loc": { + "start": { + "line": 8, + "column": 22 + }, + "end": { + "line": 8, + "column": 25 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 144, + 145 + ], + "loc": { + "start": { + "line": 9, + "column": 18 + }, + "end": { + "line": 9, + "column": 19 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 147, + 149 + ], + "loc": { + "start": { + "line": 9, + "column": 21 + }, + "end": { + "line": 9, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 151, + 153 + ], + "loc": { + "start": { + "line": 9, + "column": 25 + }, + "end": { + "line": 9, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 155, + 156 + ], + "loc": { + "start": { + "line": 9, + "column": 29 + }, + "end": { + "line": 9, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 158, + 160 + ], + "loc": { + "start": { + "line": 9, + "column": 32 + }, + "end": { + "line": 9, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 162, + 164 + ], + "loc": { + "start": { + "line": 9, + "column": 36 + }, + "end": { + "line": 9, + "column": 38 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "cmp", + "range": [ + 177, + 180 + ], + "loc": { + "start": { + "line": 10, + "column": 9 + }, + "end": { + "line": 10, + "column": 12 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 181, + 182 + ], + "loc": { + "start": { + "line": 10, + "column": 13 + }, + "end": { + "line": 10, + "column": 14 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 184, + 186 + ], + "loc": { + "start": { + "line": 10, + "column": 16 + }, + "end": { + "line": 10, + "column": 18 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 188, + 190 + ], + "loc": { + "start": { + "line": 10, + "column": 20 + }, + "end": { + "line": 10, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 192, + 193 + ], + "loc": { + "start": { + "line": 10, + "column": 24 + }, + "end": { + "line": 10, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 195, + 197 + ], + "loc": { + "start": { + "line": 10, + "column": 27 + }, + "end": { + "line": 10, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 199, + 201 + ], + "loc": { + "start": { + "line": 10, + "column": 31 + }, + "end": { + "line": 10, + "column": 33 + } + } + } + ], + "range": [ + 177, + 202 + ], + "loc": { + "start": { + "line": 10, + "column": 9 + }, + "end": { + "line": 10, + "column": 34 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 205, + 206 + ], + "loc": { + "start": { + "line": 10, + "column": 37 + }, + "end": { + "line": 10, + "column": 38 + } + } + }, + "range": [ + 177, + 206 + ], + "loc": { + "start": { + "line": 10, + "column": 9 + }, + "end": { + "line": 10, + "column": 38 + } + } + }, + "range": [ + 170, + 207 + ], + "loc": { + "start": { + "line": 10, + "column": 2 + }, + "end": { + "line": 10, + "column": 39 + } + } + } + ], + "range": [ + 166, + 210 + ], + "loc": { + "start": { + "line": 9, + "column": 40 + }, + "end": { + "line": 11, + "column": 2 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 134, + 210 + ], + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 11, + "column": 2 + } + } + }, + "range": [ + 127, + 211 + ], + "loc": { + "start": { + "line": 9, + "column": 1 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ], + "range": [ + 124, + 213 + ], + "loc": { + "start": { + "line": 8, + "column": 26 + }, + "end": { + "line": 12, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 105, + 213 + ], + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 12, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is greater than _b_.\n ", + "range": [ + 2, + 96 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 98, + 213 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 12, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is greater than _b_.\n ", + "range": [ + 2, + 96 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 98, + 213 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 12, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is greater than _b_.\n ", + "range": [ + 2, + 96 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/compare/index.js.json b/ast/source/0-legacy/compare/index.js.json new file mode 100644 index 0000000..80a75f6 --- /dev/null +++ b/ast/source/0-legacy/compare/index.js.json @@ -0,0 +1,273 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./cmp", + "raw": "'./cmp'", + "range": [ + 14, + 21 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 21 + } + } + }, + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./eq", + "raw": "'./eq'", + "range": [ + 38, + 44 + ], + "loc": { + "start": { + "line": 2, + "column": 14 + }, + "end": { + "line": 2, + "column": 20 + } + } + }, + "range": [ + 24, + 46 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 22 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./ge", + "raw": "'./ge'", + "range": [ + 61, + 67 + ], + "loc": { + "start": { + "line": 3, + "column": 14 + }, + "end": { + "line": 3, + "column": 20 + } + } + }, + "range": [ + 47, + 69 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 22 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./gt", + "raw": "'./gt'", + "range": [ + 84, + 90 + ], + "loc": { + "start": { + "line": 4, + "column": 14 + }, + "end": { + "line": 4, + "column": 20 + } + } + }, + "range": [ + 70, + 92 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 22 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./le", + "raw": "'./le'", + "range": [ + 107, + 113 + ], + "loc": { + "start": { + "line": 5, + "column": 14 + }, + "end": { + "line": 5, + "column": 20 + } + } + }, + "range": [ + 93, + 115 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 22 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./lt", + "raw": "'./lt'", + "range": [ + 130, + 136 + ], + "loc": { + "start": { + "line": 6, + "column": 14 + }, + "end": { + "line": 6, + "column": 20 + } + } + }, + "range": [ + 116, + 138 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 22 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./ne", + "raw": "'./ne'", + "range": [ + 153, + 159 + ], + "loc": { + "start": { + "line": 7, + "column": 14 + }, + "end": { + "line": 7, + "column": 20 + } + } + }, + "range": [ + 139, + 161 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 22 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 161 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 7, + "column": 22 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/0-legacy/compare/le.js.json b/ast/source/0-legacy/compare/le.js.json new file mode 100644 index 0000000..b673e89 --- /dev/null +++ b/ast/source/0-legacy/compare/le.js.json @@ -0,0 +1,541 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "le_t", + "range": [ + 118, + 122 + ], + "loc": { + "start": { + "line": 8, + "column": 16 + }, + "end": { + "line": 8, + "column": 20 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "cmp", + "range": [ + 124, + 127 + ], + "loc": { + "start": { + "line": 8, + "column": 22 + }, + "end": { + "line": 8, + "column": 25 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 148, + 149 + ], + "loc": { + "start": { + "line": 9, + "column": 18 + }, + "end": { + "line": 9, + "column": 19 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 151, + 153 + ], + "loc": { + "start": { + "line": 9, + "column": 21 + }, + "end": { + "line": 9, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 155, + 157 + ], + "loc": { + "start": { + "line": 9, + "column": 25 + }, + "end": { + "line": 9, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 159, + 160 + ], + "loc": { + "start": { + "line": 9, + "column": 29 + }, + "end": { + "line": 9, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 162, + 164 + ], + "loc": { + "start": { + "line": 9, + "column": 32 + }, + "end": { + "line": 9, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 166, + 168 + ], + "loc": { + "start": { + "line": 9, + "column": 36 + }, + "end": { + "line": 9, + "column": 38 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "BinaryExpression", + "operator": "<=", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "cmp", + "range": [ + 181, + 184 + ], + "loc": { + "start": { + "line": 10, + "column": 9 + }, + "end": { + "line": 10, + "column": 12 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 185, + 186 + ], + "loc": { + "start": { + "line": 10, + "column": 13 + }, + "end": { + "line": 10, + "column": 14 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 188, + 190 + ], + "loc": { + "start": { + "line": 10, + "column": 16 + }, + "end": { + "line": 10, + "column": 18 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 192, + 194 + ], + "loc": { + "start": { + "line": 10, + "column": 20 + }, + "end": { + "line": 10, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 196, + 197 + ], + "loc": { + "start": { + "line": 10, + "column": 24 + }, + "end": { + "line": 10, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 199, + 201 + ], + "loc": { + "start": { + "line": 10, + "column": 27 + }, + "end": { + "line": 10, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 203, + 205 + ], + "loc": { + "start": { + "line": 10, + "column": 31 + }, + "end": { + "line": 10, + "column": 33 + } + } + } + ], + "range": [ + 181, + 206 + ], + "loc": { + "start": { + "line": 10, + "column": 9 + }, + "end": { + "line": 10, + "column": 34 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 210, + 211 + ], + "loc": { + "start": { + "line": 10, + "column": 38 + }, + "end": { + "line": 10, + "column": 39 + } + } + }, + "range": [ + 181, + 211 + ], + "loc": { + "start": { + "line": 10, + "column": 9 + }, + "end": { + "line": 10, + "column": 39 + } + } + }, + "range": [ + 174, + 212 + ], + "loc": { + "start": { + "line": 10, + "column": 2 + }, + "end": { + "line": 10, + "column": 40 + } + } + } + ], + "range": [ + 170, + 215 + ], + "loc": { + "start": { + "line": 9, + "column": 40 + }, + "end": { + "line": 11, + "column": 2 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 138, + 215 + ], + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 11, + "column": 2 + } + } + }, + "range": [ + 131, + 216 + ], + "loc": { + "start": { + "line": 9, + "column": 1 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ], + "range": [ + 128, + 218 + ], + "loc": { + "start": { + "line": 8, + "column": 26 + }, + "end": { + "line": 12, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 109, + 218 + ], + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 12, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is less or equal to _b_.\n ", + "range": [ + 2, + 100 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 102, + 218 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 12, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is less or equal to _b_.\n ", + "range": [ + 2, + 100 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 102, + 218 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 12, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is less or equal to _b_.\n ", + "range": [ + 2, + 100 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/compare/lt.js.json b/ast/source/0-legacy/compare/lt.js.json new file mode 100644 index 0000000..b65937b --- /dev/null +++ b/ast/source/0-legacy/compare/lt.js.json @@ -0,0 +1,541 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "lt_t", + "range": [ + 111, + 115 + ], + "loc": { + "start": { + "line": 8, + "column": 16 + }, + "end": { + "line": 8, + "column": 20 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "cmp", + "range": [ + 117, + 120 + ], + "loc": { + "start": { + "line": 8, + "column": 22 + }, + "end": { + "line": 8, + "column": 25 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 141, + 142 + ], + "loc": { + "start": { + "line": 9, + "column": 18 + }, + "end": { + "line": 9, + "column": 19 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 144, + 146 + ], + "loc": { + "start": { + "line": 9, + "column": 21 + }, + "end": { + "line": 9, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 148, + 150 + ], + "loc": { + "start": { + "line": 9, + "column": 25 + }, + "end": { + "line": 9, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 152, + 153 + ], + "loc": { + "start": { + "line": 9, + "column": 29 + }, + "end": { + "line": 9, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 155, + 157 + ], + "loc": { + "start": { + "line": 9, + "column": 32 + }, + "end": { + "line": 9, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 159, + 161 + ], + "loc": { + "start": { + "line": 9, + "column": 36 + }, + "end": { + "line": 9, + "column": 38 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "cmp", + "range": [ + 174, + 177 + ], + "loc": { + "start": { + "line": 10, + "column": 9 + }, + "end": { + "line": 10, + "column": 12 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 178, + 179 + ], + "loc": { + "start": { + "line": 10, + "column": 13 + }, + "end": { + "line": 10, + "column": 14 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 181, + 183 + ], + "loc": { + "start": { + "line": 10, + "column": 16 + }, + "end": { + "line": 10, + "column": 18 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 185, + 187 + ], + "loc": { + "start": { + "line": 10, + "column": 20 + }, + "end": { + "line": 10, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 189, + 190 + ], + "loc": { + "start": { + "line": 10, + "column": 24 + }, + "end": { + "line": 10, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 192, + 194 + ], + "loc": { + "start": { + "line": 10, + "column": 27 + }, + "end": { + "line": 10, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 196, + 198 + ], + "loc": { + "start": { + "line": 10, + "column": 31 + }, + "end": { + "line": 10, + "column": 33 + } + } + } + ], + "range": [ + 174, + 199 + ], + "loc": { + "start": { + "line": 10, + "column": 9 + }, + "end": { + "line": 10, + "column": 34 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 202, + 203 + ], + "loc": { + "start": { + "line": 10, + "column": 37 + }, + "end": { + "line": 10, + "column": 38 + } + } + }, + "range": [ + 174, + 203 + ], + "loc": { + "start": { + "line": 10, + "column": 9 + }, + "end": { + "line": 10, + "column": 38 + } + } + }, + "range": [ + 167, + 204 + ], + "loc": { + "start": { + "line": 10, + "column": 2 + }, + "end": { + "line": 10, + "column": 39 + } + } + } + ], + "range": [ + 163, + 207 + ], + "loc": { + "start": { + "line": 9, + "column": 40 + }, + "end": { + "line": 11, + "column": 2 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 131, + 207 + ], + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 11, + "column": 2 + } + } + }, + "range": [ + 124, + 208 + ], + "loc": { + "start": { + "line": 9, + "column": 1 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ], + "range": [ + 121, + 210 + ], + "loc": { + "start": { + "line": 8, + "column": 26 + }, + "end": { + "line": 12, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 102, + 210 + ], + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 12, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is less than _b_.\n ", + "range": [ + 2, + 93 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 95, + 210 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 12, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is less than _b_.\n ", + "range": [ + 2, + 93 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 95, + 210 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 12, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is less than _b_.\n ", + "range": [ + 2, + 93 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/compare/ne.js.json b/ast/source/0-legacy/compare/ne.js.json new file mode 100644 index 0000000..ad6f667 --- /dev/null +++ b/ast/source/0-legacy/compare/ne.js.json @@ -0,0 +1,541 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "ne_t", + "range": [ + 114, + 118 + ], + "loc": { + "start": { + "line": 8, + "column": 16 + }, + "end": { + "line": 8, + "column": 20 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "cmp", + "range": [ + 120, + 123 + ], + "loc": { + "start": { + "line": 8, + "column": 22 + }, + "end": { + "line": 8, + "column": 25 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 144, + 145 + ], + "loc": { + "start": { + "line": 9, + "column": 18 + }, + "end": { + "line": 9, + "column": 19 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 147, + 149 + ], + "loc": { + "start": { + "line": 9, + "column": 21 + }, + "end": { + "line": 9, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 151, + 153 + ], + "loc": { + "start": { + "line": 9, + "column": 25 + }, + "end": { + "line": 9, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 155, + 156 + ], + "loc": { + "start": { + "line": 9, + "column": 29 + }, + "end": { + "line": 9, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 158, + 160 + ], + "loc": { + "start": { + "line": 9, + "column": 32 + }, + "end": { + "line": 9, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 162, + 164 + ], + "loc": { + "start": { + "line": 9, + "column": 36 + }, + "end": { + "line": 9, + "column": 38 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "cmp", + "range": [ + 177, + 180 + ], + "loc": { + "start": { + "line": 10, + "column": 9 + }, + "end": { + "line": 10, + "column": 12 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 181, + 182 + ], + "loc": { + "start": { + "line": 10, + "column": 13 + }, + "end": { + "line": 10, + "column": 14 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 184, + 186 + ], + "loc": { + "start": { + "line": 10, + "column": 16 + }, + "end": { + "line": 10, + "column": 18 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 188, + 190 + ], + "loc": { + "start": { + "line": 10, + "column": 20 + }, + "end": { + "line": 10, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 192, + 193 + ], + "loc": { + "start": { + "line": 10, + "column": 24 + }, + "end": { + "line": 10, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 195, + 197 + ], + "loc": { + "start": { + "line": 10, + "column": 27 + }, + "end": { + "line": 10, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 199, + 201 + ], + "loc": { + "start": { + "line": 10, + "column": 31 + }, + "end": { + "line": 10, + "column": 33 + } + } + } + ], + "range": [ + 177, + 202 + ], + "loc": { + "start": { + "line": 10, + "column": 9 + }, + "end": { + "line": 10, + "column": 34 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 207, + 208 + ], + "loc": { + "start": { + "line": 10, + "column": 39 + }, + "end": { + "line": 10, + "column": 40 + } + } + }, + "range": [ + 177, + 208 + ], + "loc": { + "start": { + "line": 10, + "column": 9 + }, + "end": { + "line": 10, + "column": 40 + } + } + }, + "range": [ + 170, + 209 + ], + "loc": { + "start": { + "line": 10, + "column": 2 + }, + "end": { + "line": 10, + "column": 41 + } + } + } + ], + "range": [ + 166, + 212 + ], + "loc": { + "start": { + "line": 9, + "column": 40 + }, + "end": { + "line": 11, + "column": 2 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 134, + 212 + ], + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 11, + "column": 2 + } + } + }, + "range": [ + 127, + 213 + ], + "loc": { + "start": { + "line": 9, + "column": 1 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ], + "range": [ + 124, + 215 + ], + "loc": { + "start": { + "line": 8, + "column": 26 + }, + "end": { + "line": 12, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 105, + 215 + ], + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 12, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is not equal to _b_.\n ", + "range": [ + 2, + 96 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 98, + 215 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 12, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is not equal to _b_.\n ", + "range": [ + 2, + 96 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 98, + 215 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 12, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is not equal to _b_.\n ", + "range": [ + 2, + 96 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/index.js.json b/ast/source/0-legacy/index.js.json new file mode 100644 index 0000000..d0b701a --- /dev/null +++ b/ast/source/0-legacy/index.js.json @@ -0,0 +1,273 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./abs", + "raw": "'./abs'", + "range": [ + 14, + 21 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 21 + } + } + }, + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./arithmetic", + "raw": "'./arithmetic'", + "range": [ + 38, + 52 + ], + "loc": { + "start": { + "line": 2, + "column": 14 + }, + "end": { + "line": 2, + "column": 28 + } + } + }, + "range": [ + 24, + 54 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 30 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./binary", + "raw": "'./binary'", + "range": [ + 69, + 79 + ], + "loc": { + "start": { + "line": 3, + "column": 14 + }, + "end": { + "line": 3, + "column": 24 + } + } + }, + "range": [ + 55, + 81 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 26 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./compare", + "raw": "'./compare'", + "range": [ + 96, + 107 + ], + "loc": { + "start": { + "line": 4, + "column": 14 + }, + "end": { + "line": 4, + "column": 25 + } + } + }, + "range": [ + 82, + 109 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 27 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./others", + "raw": "'./others'", + "range": [ + 124, + 134 + ], + "loc": { + "start": { + "line": 5, + "column": 14 + }, + "end": { + "line": 5, + "column": 24 + } + } + }, + "range": [ + 110, + 136 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 26 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./parse", + "raw": "'./parse'", + "range": [ + 151, + 160 + ], + "loc": { + "start": { + "line": 6, + "column": 14 + }, + "end": { + "line": 6, + "column": 23 + } + } + }, + "range": [ + 137, + 162 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 25 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./stringify", + "raw": "'./stringify'", + "range": [ + 177, + 190 + ], + "loc": { + "start": { + "line": 7, + "column": 14 + }, + "end": { + "line": 7, + "column": 27 + } + } + }, + "range": [ + 163, + 192 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 29 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 192 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 7, + "column": 29 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/0-legacy/others/gcd/gcd.js.json b/ast/source/0-legacy/others/gcd/gcd.js.json new file mode 100644 index 0000000..a5a8d3d --- /dev/null +++ b/ast/source/0-legacy/others/gcd/gcd.js.json @@ -0,0 +1,59 @@ +{ + "type": "Program", + "body": [], + "sourceType": "module", + "range": [ + 57, + 57 + ], + "loc": { + "start": { + "line": 3, + "column": 3 + }, + "end": { + "line": 3, + "column": 3 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * COMPUTE THE GREATEST COMMON DIVISOR OF a AND b\n ", + "range": [ + 0, + 57 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + } + ], + "comments": [ + { + "type": "Block", + "value": "*\n * COMPUTE THE GREATEST COMMON DIVISOR OF a AND b\n ", + "range": [ + 0, + 57 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/others/gcd/index.js.json b/ast/source/0-legacy/others/gcd/index.js.json new file mode 100644 index 0000000..17d73be --- /dev/null +++ b/ast/source/0-legacy/others/gcd/index.js.json @@ -0,0 +1,57 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./gcd", + "raw": "'./gcd'", + "range": [ + 14, + 21 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 21 + } + } + }, + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/0-legacy/others/index.js.json b/ast/source/0-legacy/others/index.js.json new file mode 100644 index 0000000..349d8bb --- /dev/null +++ b/ast/source/0-legacy/others/index.js.json @@ -0,0 +1,381 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./gcd", + "raw": "'./gcd'", + "range": [ + 14, + 21 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 21 + } + } + }, + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./lcm", + "raw": "'./lcm'", + "range": [ + 38, + 45 + ], + "loc": { + "start": { + "line": 2, + "column": 14 + }, + "end": { + "line": 2, + "column": 21 + } + } + }, + "range": [ + 24, + 47 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 23 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./log", + "raw": "'./log'", + "range": [ + 62, + 69 + ], + "loc": { + "start": { + "line": 3, + "column": 14 + }, + "end": { + "line": 3, + "column": 21 + } + } + }, + "range": [ + 48, + 71 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 23 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./mod", + "raw": "'./mod'", + "range": [ + 86, + 93 + ], + "loc": { + "start": { + "line": 4, + "column": 14 + }, + "end": { + "line": 4, + "column": 21 + } + } + }, + "range": [ + 72, + 95 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 23 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./mpow", + "raw": "'./mpow'", + "range": [ + 110, + 118 + ], + "loc": { + "start": { + "line": 5, + "column": 14 + }, + "end": { + "line": 5, + "column": 22 + } + } + }, + "range": [ + 96, + 120 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 24 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./neg", + "raw": "'./neg'", + "range": [ + 135, + 142 + ], + "loc": { + "start": { + "line": 6, + "column": 14 + }, + "end": { + "line": 6, + "column": 21 + } + } + }, + "range": [ + 121, + 144 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 23 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./pow", + "raw": "'./pow'", + "range": [ + 159, + 166 + ], + "loc": { + "start": { + "line": 7, + "column": 14 + }, + "end": { + "line": 7, + "column": 21 + } + } + }, + "range": [ + 145, + 168 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 23 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./sha", + "raw": "'./sha'", + "range": [ + 183, + 190 + ], + "loc": { + "start": { + "line": 8, + "column": 14 + }, + "end": { + "line": 8, + "column": 21 + } + } + }, + "range": [ + 169, + 192 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 23 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./shl", + "raw": "'./shl'", + "range": [ + 207, + 214 + ], + "loc": { + "start": { + "line": 9, + "column": 14 + }, + "end": { + "line": 9, + "column": 21 + } + } + }, + "range": [ + 193, + 216 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 23 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./wrap", + "raw": "'./wrap'", + "range": [ + 231, + 239 + ], + "loc": { + "start": { + "line": 10, + "column": 14 + }, + "end": { + "line": 10, + "column": 22 + } + } + }, + "range": [ + 217, + 241 + ], + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 24 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 241 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 10, + "column": 24 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/0-legacy/others/lcm/index.js.json b/ast/source/0-legacy/others/lcm/index.js.json new file mode 100644 index 0000000..f838f30 --- /dev/null +++ b/ast/source/0-legacy/others/lcm/index.js.json @@ -0,0 +1,57 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./lcm", + "raw": "'./lcm'", + "range": [ + 14, + 21 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 21 + } + } + }, + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/0-legacy/others/lcm/lcm.js.json b/ast/source/0-legacy/others/lcm/lcm.js.json new file mode 100644 index 0000000..2a324c4 --- /dev/null +++ b/ast/source/0-legacy/others/lcm/lcm.js.json @@ -0,0 +1,59 @@ +{ + "type": "Program", + "body": [], + "sourceType": "module", + "range": [ + 55, + 55 + ], + "loc": { + "start": { + "line": 3, + "column": 3 + }, + "end": { + "line": 3, + "column": 3 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * COMPUTE THE LEAST COMMON MULTIPLE OF a AND b\n ", + "range": [ + 0, + 55 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + } + ], + "comments": [ + { + "type": "Block", + "value": "*\n * COMPUTE THE LEAST COMMON MULTIPLE OF a AND b\n ", + "range": [ + 0, + 55 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/others/log/index.js.json b/ast/source/0-legacy/others/log/index.js.json new file mode 100644 index 0000000..ea45d27 --- /dev/null +++ b/ast/source/0-legacy/others/log/index.js.json @@ -0,0 +1,57 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./log", + "raw": "'./log'", + "range": [ + 14, + 21 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 21 + } + } + }, + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/0-legacy/others/log/log.js.json b/ast/source/0-legacy/others/log/log.js.json new file mode 100644 index 0000000..8d0c091 --- /dev/null +++ b/ast/source/0-legacy/others/log/log.js.json @@ -0,0 +1,59 @@ +{ + "type": "Program", + "body": [], + "sourceType": "module", + "range": [ + 67, + 67 + ], + "loc": { + "start": { + "line": 4, + "column": 3 + }, + "end": { + "line": 4, + "column": 3 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * FOR A NUMBER n COMPUTE THE GREATEST k SUCH THAT 2^k < n\n ", + "range": [ + 1, + 67 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 4, + "column": 3 + } + } + } + ], + "comments": [ + { + "type": "Block", + "value": "*\n * FOR A NUMBER n COMPUTE THE GREATEST k SUCH THAT 2^k < n\n ", + "range": [ + 1, + 67 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 4, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/others/mod/index.js.json b/ast/source/0-legacy/others/mod/index.js.json new file mode 100644 index 0000000..d83403a --- /dev/null +++ b/ast/source/0-legacy/others/mod/index.js.json @@ -0,0 +1,93 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./mod", + "raw": "'./mod'", + "range": [ + 14, + 21 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 21 + } + } + }, + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./montgomery", + "raw": "'./montgomery'", + "range": [ + 38, + 52 + ], + "loc": { + "start": { + "line": 2, + "column": 14 + }, + "end": { + "line": 2, + "column": 28 + } + } + }, + "range": [ + 24, + 54 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 30 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 54 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 2, + "column": 30 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/0-legacy/others/mod/mod.js.json b/ast/source/0-legacy/others/mod/mod.js.json new file mode 100644 index 0000000..9496d72 --- /dev/null +++ b/ast/source/0-legacy/others/mod/mod.js.json @@ -0,0 +1,59 @@ +{ + "type": "Program", + "body": [], + "sourceType": "module", + "range": [ + 35, + 35 + ], + "loc": { + "start": { + "line": 4, + "column": 3 + }, + "end": { + "line": 4, + "column": 3 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * COMPUTE MODULUS (a % b)\n ", + "range": [ + 1, + 35 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 4, + "column": 3 + } + } + } + ], + "comments": [ + { + "type": "Block", + "value": "*\n * COMPUTE MODULUS (a % b)\n ", + "range": [ + 1, + 35 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 4, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/others/mod/montgomery.js.json b/ast/source/0-legacy/others/mod/montgomery.js.json new file mode 100644 index 0000000..ddeb7a1 --- /dev/null +++ b/ast/source/0-legacy/others/mod/montgomery.js.json @@ -0,0 +1,59 @@ +{ + "type": "Program", + "body": [], + "sourceType": "module", + "range": [ + 106, + 106 + ], + "loc": { + "start": { + "line": 4, + "column": 3 + }, + "end": { + "line": 4, + "column": 3 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * COMPUTE MODULUS USING MONTGOMERY REDUCTION : http://en.wikipedia.org/wiki/Montgomery_reduction\n ", + "range": [ + 1, + 106 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 4, + "column": 3 + } + } + } + ], + "comments": [ + { + "type": "Block", + "value": "*\n * COMPUTE MODULUS USING MONTGOMERY REDUCTION : http://en.wikipedia.org/wiki/Montgomery_reduction\n ", + "range": [ + 1, + 106 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 4, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/others/mpow/index.js.json b/ast/source/0-legacy/others/mpow/index.js.json new file mode 100644 index 0000000..9ff1dc5 --- /dev/null +++ b/ast/source/0-legacy/others/mpow/index.js.json @@ -0,0 +1,57 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./mpow", + "raw": "'./mpow'", + "range": [ + 14, + 22 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 22 + } + } + }, + "range": [ + 0, + 24 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 24 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 24 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 24 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/0-legacy/others/mpow/mpow.js.json b/ast/source/0-legacy/others/mpow/mpow.js.json new file mode 100644 index 0000000..4136f0e --- /dev/null +++ b/ast/source/0-legacy/others/mpow/mpow.js.json @@ -0,0 +1,59 @@ +{ + "type": "Program", + "body": [], + "sourceType": "module", + "range": [ + 87, + 87 + ], + "loc": { + "start": { + "line": 3, + "column": 3 + }, + "end": { + "line": 3, + "column": 3 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * MODULAR EXPONENTIATION : http://en.wikipedia.org/wiki/Modular_exponentiation\n ", + "range": [ + 0, + 87 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + } + ], + "comments": [ + { + "type": "Block", + "value": "*\n * MODULAR EXPONENTIATION : http://en.wikipedia.org/wiki/Modular_exponentiation\n ", + "range": [ + 0, + 87 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/others/neg/index.js.json b/ast/source/0-legacy/others/neg/index.js.json new file mode 100644 index 0000000..5a74ca6 --- /dev/null +++ b/ast/source/0-legacy/others/neg/index.js.json @@ -0,0 +1,57 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./neg", + "raw": "'./neg'", + "range": [ + 14, + 21 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 21 + } + } + }, + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/0-legacy/others/neg/neg.js.json b/ast/source/0-legacy/others/neg/neg.js.json new file mode 100644 index 0000000..108e9d9 --- /dev/null +++ b/ast/source/0-legacy/others/neg/neg.js.json @@ -0,0 +1,59 @@ +{ + "type": "Program", + "body": [], + "sourceType": "module", + "range": [ + 49, + 49 + ], + "loc": { + "start": { + "line": 3, + "column": 3 + }, + "end": { + "line": 3, + "column": 3 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * COMPUTE THE NEGATIVE VALUE OF NUMBER n\n ", + "range": [ + 0, + 49 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + } + ], + "comments": [ + { + "type": "Block", + "value": "*\n * COMPUTE THE NEGATIVE VALUE OF NUMBER n\n ", + "range": [ + 0, + 49 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/others/pow/ebs.js.json b/ast/source/0-legacy/others/pow/ebs.js.json new file mode 100644 index 0000000..abe4c4d --- /dev/null +++ b/ast/source/0-legacy/others/pow/ebs.js.json @@ -0,0 +1,3198 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "__ebs__", + "range": [ + 136, + 143 + ], + "loc": { + "start": { + "line": 8, + "column": 16 + }, + "end": { + "line": 8, + "column": 23 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "alloc", + "range": [ + 145, + 150 + ], + "loc": { + "start": { + "line": 8, + "column": 25 + }, + "end": { + "line": 8, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "iszero", + "range": [ + 152, + 158 + ], + "loc": { + "start": { + "line": 8, + "column": 32 + }, + "end": { + "line": 8, + "column": 38 + } + } + }, + { + "type": "Identifier", + "name": "setone", + "range": [ + 160, + 166 + ], + "loc": { + "start": { + "line": 8, + "column": 40 + }, + "end": { + "line": 8, + "column": 46 + } + } + }, + { + "type": "Identifier", + "name": "iseven", + "range": [ + 168, + 174 + ], + "loc": { + "start": { + "line": 8, + "column": 48 + }, + "end": { + "line": 8, + "column": 54 + } + } + }, + { + "type": "Identifier", + "name": "div2", + "range": [ + 176, + 180 + ], + "loc": { + "start": { + "line": 8, + "column": 56 + }, + "end": { + "line": 8, + "column": 60 + } + } + }, + { + "type": "Identifier", + "name": "minus1", + "range": [ + 182, + 188 + ], + "loc": { + "start": { + "line": 8, + "column": 62 + }, + "end": { + "line": 8, + "column": 68 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "ebs", + "range": [ + 198, + 201 + ], + "loc": { + "start": { + "line": 10, + "column": 5 + }, + "end": { + "line": 10, + "column": 8 + } + } + }, + "init": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 214, + 215 + ], + "loc": { + "start": { + "line": 10, + "column": 21 + }, + "end": { + "line": 10, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 217, + 219 + ], + "loc": { + "start": { + "line": 10, + "column": 24 + }, + "end": { + "line": 10, + "column": 26 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 221, + 223 + ], + "loc": { + "start": { + "line": 10, + "column": 28 + }, + "end": { + "line": 10, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 225, + 226 + ], + "loc": { + "start": { + "line": 10, + "column": 32 + }, + "end": { + "line": 10, + "column": 33 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 228, + 230 + ], + "loc": { + "start": { + "line": 10, + "column": 35 + }, + "end": { + "line": 10, + "column": 37 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 232, + 234 + ], + "loc": { + "start": { + "line": 10, + "column": 39 + }, + "end": { + "line": 10, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "c", + "range": [ + 236, + 237 + ], + "loc": { + "start": { + "line": 10, + "column": 43 + }, + "end": { + "line": 10, + "column": 44 + } + } + }, + { + "type": "Identifier", + "name": "ci", + "range": [ + 239, + 241 + ], + "loc": { + "start": { + "line": 10, + "column": 46 + }, + "end": { + "line": 10, + "column": 48 + } + } + }, + { + "type": "Identifier", + "name": "cj", + "range": [ + 243, + 245 + ], + "loc": { + "start": { + "line": 10, + "column": 50 + }, + "end": { + "line": 10, + "column": 52 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "t", + "range": [ + 256, + 257 + ], + "loc": { + "start": { + "line": 12, + "column": 6 + }, + "end": { + "line": 12, + "column": 7 + } + } + }, + "init": null, + "range": [ + 256, + 257 + ], + "loc": { + "start": { + "line": 12, + "column": 6 + }, + "end": { + "line": 12, + "column": 7 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "u", + "range": [ + 259, + 260 + ], + "loc": { + "start": { + "line": 12, + "column": 9 + }, + "end": { + "line": 12, + "column": 10 + } + } + }, + "init": null, + "range": [ + 259, + 260 + ], + "loc": { + "start": { + "line": 12, + "column": 9 + }, + "end": { + "line": 12, + "column": 10 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "m", + "range": [ + 262, + 263 + ], + "loc": { + "start": { + "line": 12, + "column": 12 + }, + "end": { + "line": 12, + "column": 13 + } + } + }, + "init": null, + "range": [ + 262, + 263 + ], + "loc": { + "start": { + "line": 12, + "column": 12 + }, + "end": { + "line": 12, + "column": 13 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "n", + "range": [ + 265, + 266 + ], + "loc": { + "start": { + "line": 12, + "column": 15 + }, + "end": { + "line": 12, + "column": 16 + } + } + }, + "init": null, + "range": [ + 265, + 266 + ], + "loc": { + "start": { + "line": 12, + "column": 15 + }, + "end": { + "line": 12, + "column": 16 + } + } + } + ], + "kind": "var", + "range": [ + 252, + 267 + ], + "loc": { + "start": { + "line": 12, + "column": 2 + }, + "end": { + "line": 12, + "column": 17 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "iszero", + "range": [ + 276, + 282 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 13 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "b", + "range": [ + 283, + 284 + ], + "loc": { + "start": { + "line": 14, + "column": 14 + }, + "end": { + "line": 14, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 286, + 288 + ], + "loc": { + "start": { + "line": 14, + "column": 17 + }, + "end": { + "line": 14, + "column": 19 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 290, + 292 + ], + "loc": { + "start": { + "line": 14, + "column": 21 + }, + "end": { + "line": 14, + "column": 23 + } + } + } + ], + "range": [ + 276, + 293 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 24 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "setone", + "range": [ + 301, + 307 + ], + "loc": { + "start": { + "line": 15, + "column": 3 + }, + "end": { + "line": 15, + "column": 9 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "c", + "range": [ + 308, + 309 + ], + "loc": { + "start": { + "line": 15, + "column": 10 + }, + "end": { + "line": 15, + "column": 11 + } + } + }, + { + "type": "Identifier", + "name": "ci", + "range": [ + 311, + 313 + ], + "loc": { + "start": { + "line": 15, + "column": 13 + }, + "end": { + "line": 15, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "cj", + "range": [ + 315, + 317 + ], + "loc": { + "start": { + "line": 15, + "column": 17 + }, + "end": { + "line": 15, + "column": 19 + } + } + } + ], + "range": [ + 301, + 318 + ], + "loc": { + "start": { + "line": 15, + "column": 3 + }, + "end": { + "line": 15, + "column": 20 + } + } + }, + "range": [ + 301, + 319 + ], + "loc": { + "start": { + "line": 15, + "column": 3 + }, + "end": { + "line": 15, + "column": 21 + } + } + } + ], + "range": [ + 296, + 323 + ], + "loc": { + "start": { + "line": 14, + "column": 27 + }, + "end": { + "line": 16, + "column": 3 + } + } + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "iseven", + "range": [ + 336, + 342 + ], + "loc": { + "start": { + "line": 17, + "column": 12 + }, + "end": { + "line": 17, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "b", + "range": [ + 343, + 344 + ], + "loc": { + "start": { + "line": 17, + "column": 19 + }, + "end": { + "line": 17, + "column": 20 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 346, + 348 + ], + "loc": { + "start": { + "line": 17, + "column": 22 + }, + "end": { + "line": 17, + "column": 24 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 350, + 352 + ], + "loc": { + "start": { + "line": 17, + "column": 26 + }, + "end": { + "line": 17, + "column": 28 + } + } + } + ], + "range": [ + 336, + 353 + ], + "loc": { + "start": { + "line": 17, + "column": 12 + }, + "end": { + "line": 17, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "m", + "range": [ + 361, + 362 + ], + "loc": { + "start": { + "line": 18, + "column": 3 + }, + "end": { + "line": 18, + "column": 4 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "bj", + "range": [ + 365, + 367 + ], + "loc": { + "start": { + "line": 18, + "column": 7 + }, + "end": { + "line": 18, + "column": 9 + } + } + }, + "right": { + "type": "Identifier", + "name": "bi", + "range": [ + 370, + 372 + ], + "loc": { + "start": { + "line": 18, + "column": 12 + }, + "end": { + "line": 18, + "column": 14 + } + } + }, + "range": [ + 365, + 372 + ], + "loc": { + "start": { + "line": 18, + "column": 7 + }, + "end": { + "line": 18, + "column": 14 + } + } + }, + "range": [ + 361, + 372 + ], + "loc": { + "start": { + "line": 18, + "column": 3 + }, + "end": { + "line": 18, + "column": 14 + } + } + }, + "range": [ + 361, + 373 + ], + "loc": { + "start": { + "line": 18, + "column": 3 + }, + "end": { + "line": 18, + "column": 15 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 377, + 378 + ], + "loc": { + "start": { + "line": 19, + "column": 3 + }, + "end": { + "line": 19, + "column": 4 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "alloc", + "range": [ + 381, + 386 + ], + "loc": { + "start": { + "line": 19, + "column": 7 + }, + "end": { + "line": 19, + "column": 12 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "m", + "range": [ + 387, + 388 + ], + "loc": { + "start": { + "line": 19, + "column": 13 + }, + "end": { + "line": 19, + "column": 14 + } + } + } + ], + "range": [ + 381, + 389 + ], + "loc": { + "start": { + "line": 19, + "column": 7 + }, + "end": { + "line": 19, + "column": 15 + } + } + }, + "range": [ + 377, + 389 + ], + "loc": { + "start": { + "line": 19, + "column": 3 + }, + "end": { + "line": 19, + "column": 15 + } + } + }, + "range": [ + 377, + 390 + ], + "loc": { + "start": { + "line": 19, + "column": 3 + }, + "end": { + "line": 19, + "column": 16 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 394, + 395 + ], + "loc": { + "start": { + "line": 20, + "column": 3 + }, + "end": { + "line": 20, + "column": 4 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "div2", + "range": [ + 398, + 402 + ], + "loc": { + "start": { + "line": 20, + "column": 7 + }, + "end": { + "line": 20, + "column": 11 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "b", + "range": [ + 403, + 404 + ], + "loc": { + "start": { + "line": 20, + "column": 12 + }, + "end": { + "line": 20, + "column": 13 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 406, + 408 + ], + "loc": { + "start": { + "line": 20, + "column": 15 + }, + "end": { + "line": 20, + "column": 17 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 410, + 412 + ], + "loc": { + "start": { + "line": 20, + "column": 19 + }, + "end": { + "line": 20, + "column": 21 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 414, + 415 + ], + "loc": { + "start": { + "line": 20, + "column": 23 + }, + "end": { + "line": 20, + "column": 24 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 417, + 418 + ], + "loc": { + "start": { + "line": 20, + "column": 26 + }, + "end": { + "line": 20, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "m", + "range": [ + 420, + 421 + ], + "loc": { + "start": { + "line": 20, + "column": 29 + }, + "end": { + "line": 20, + "column": 30 + } + } + } + ], + "range": [ + 398, + 422 + ], + "loc": { + "start": { + "line": 20, + "column": 7 + }, + "end": { + "line": 20, + "column": 31 + } + } + }, + "range": [ + 394, + 422 + ], + "loc": { + "start": { + "line": 20, + "column": 3 + }, + "end": { + "line": 20, + "column": 31 + } + } + }, + "range": [ + 394, + 423 + ], + "loc": { + "start": { + "line": 20, + "column": 3 + }, + "end": { + "line": 20, + "column": 32 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "n", + "range": [ + 428, + 429 + ], + "loc": { + "start": { + "line": 22, + "column": 3 + }, + "end": { + "line": 22, + "column": 4 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "cj", + "range": [ + 432, + 434 + ], + "loc": { + "start": { + "line": 22, + "column": 7 + }, + "end": { + "line": 22, + "column": 9 + } + } + }, + "right": { + "type": "Identifier", + "name": "ci", + "range": [ + 437, + 439 + ], + "loc": { + "start": { + "line": 22, + "column": 12 + }, + "end": { + "line": 22, + "column": 14 + } + } + }, + "range": [ + 432, + 439 + ], + "loc": { + "start": { + "line": 22, + "column": 7 + }, + "end": { + "line": 22, + "column": 14 + } + } + }, + "range": [ + 428, + 439 + ], + "loc": { + "start": { + "line": 22, + "column": 3 + }, + "end": { + "line": 22, + "column": 14 + } + } + }, + "range": [ + 428, + 440 + ], + "loc": { + "start": { + "line": 22, + "column": 3 + }, + "end": { + "line": 22, + "column": 15 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "u", + "range": [ + 444, + 445 + ], + "loc": { + "start": { + "line": 23, + "column": 3 + }, + "end": { + "line": 23, + "column": 4 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "alloc", + "range": [ + 448, + 453 + ], + "loc": { + "start": { + "line": 23, + "column": 7 + }, + "end": { + "line": 23, + "column": 12 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "n", + "range": [ + 454, + 455 + ], + "loc": { + "start": { + "line": 23, + "column": 13 + }, + "end": { + "line": 23, + "column": 14 + } + } + } + ], + "range": [ + 448, + 456 + ], + "loc": { + "start": { + "line": 23, + "column": 7 + }, + "end": { + "line": 23, + "column": 15 + } + } + }, + "range": [ + 444, + 456 + ], + "loc": { + "start": { + "line": 23, + "column": 3 + }, + "end": { + "line": 23, + "column": 15 + } + } + }, + "range": [ + 444, + 457 + ], + "loc": { + "start": { + "line": 23, + "column": 3 + }, + "end": { + "line": 23, + "column": 16 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "ebs", + "range": [ + 462, + 465 + ], + "loc": { + "start": { + "line": 25, + "column": 3 + }, + "end": { + "line": 25, + "column": 6 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 466, + 467 + ], + "loc": { + "start": { + "line": 25, + "column": 7 + }, + "end": { + "line": 25, + "column": 8 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 469, + 471 + ], + "loc": { + "start": { + "line": 25, + "column": 10 + }, + "end": { + "line": 25, + "column": 12 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 473, + 475 + ], + "loc": { + "start": { + "line": 25, + "column": 14 + }, + "end": { + "line": 25, + "column": 16 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 477, + 478 + ], + "loc": { + "start": { + "line": 25, + "column": 18 + }, + "end": { + "line": 25, + "column": 19 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 480, + 481 + ], + "loc": { + "start": { + "line": 25, + "column": 21 + }, + "end": { + "line": 25, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "m", + "range": [ + 483, + 484 + ], + "loc": { + "start": { + "line": 25, + "column": 24 + }, + "end": { + "line": 25, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "u", + "range": [ + 486, + 487 + ], + "loc": { + "start": { + "line": 25, + "column": 27 + }, + "end": { + "line": 25, + "column": 28 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 489, + 490 + ], + "loc": { + "start": { + "line": 25, + "column": 30 + }, + "end": { + "line": 25, + "column": 31 + } + } + }, + { + "type": "Identifier", + "name": "n", + "range": [ + 492, + 493 + ], + "loc": { + "start": { + "line": 25, + "column": 33 + }, + "end": { + "line": 25, + "column": 34 + } + } + } + ], + "range": [ + 462, + 494 + ], + "loc": { + "start": { + "line": 25, + "column": 3 + }, + "end": { + "line": 25, + "column": 35 + } + } + }, + "range": [ + 462, + 495 + ], + "loc": { + "start": { + "line": 25, + "column": 3 + }, + "end": { + "line": 25, + "column": 36 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "mul", + "range": [ + 500, + 503 + ], + "loc": { + "start": { + "line": 27, + "column": 3 + }, + "end": { + "line": 27, + "column": 6 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "u", + "range": [ + 504, + 505 + ], + "loc": { + "start": { + "line": 27, + "column": 7 + }, + "end": { + "line": 27, + "column": 8 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 507, + 508 + ], + "loc": { + "start": { + "line": 27, + "column": 10 + }, + "end": { + "line": 27, + "column": 11 + } + } + }, + { + "type": "Identifier", + "name": "n", + "range": [ + 510, + 511 + ], + "loc": { + "start": { + "line": 27, + "column": 13 + }, + "end": { + "line": 27, + "column": 14 + } + } + }, + { + "type": "Identifier", + "name": "u", + "range": [ + 513, + 514 + ], + "loc": { + "start": { + "line": 27, + "column": 16 + }, + "end": { + "line": 27, + "column": 17 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 516, + 517 + ], + "loc": { + "start": { + "line": 27, + "column": 19 + }, + "end": { + "line": 27, + "column": 20 + } + } + }, + { + "type": "Identifier", + "name": "n", + "range": [ + 519, + 520 + ], + "loc": { + "start": { + "line": 27, + "column": 22 + }, + "end": { + "line": 27, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "c", + "range": [ + 522, + 523 + ], + "loc": { + "start": { + "line": 27, + "column": 25 + }, + "end": { + "line": 27, + "column": 26 + } + } + }, + { + "type": "Identifier", + "name": "ci", + "range": [ + 525, + 527 + ], + "loc": { + "start": { + "line": 27, + "column": 28 + }, + "end": { + "line": 27, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "cj", + "range": [ + 529, + 531 + ], + "loc": { + "start": { + "line": 27, + "column": 32 + }, + "end": { + "line": 27, + "column": 34 + } + } + } + ], + "range": [ + 500, + 532 + ], + "loc": { + "start": { + "line": 27, + "column": 3 + }, + "end": { + "line": 27, + "column": 35 + } + } + }, + "range": [ + 500, + 533 + ], + "loc": { + "start": { + "line": 27, + "column": 3 + }, + "end": { + "line": 27, + "column": 36 + } + } + } + ], + "range": [ + 356, + 537 + ], + "loc": { + "start": { + "line": 17, + "column": 32 + }, + "end": { + "line": 28, + "column": 3 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "m", + "range": [ + 549, + 550 + ], + "loc": { + "start": { + "line": 30, + "column": 3 + }, + "end": { + "line": 30, + "column": 4 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "bj", + "range": [ + 553, + 555 + ], + "loc": { + "start": { + "line": 30, + "column": 7 + }, + "end": { + "line": 30, + "column": 9 + } + } + }, + "right": { + "type": "Identifier", + "name": "bi", + "range": [ + 558, + 560 + ], + "loc": { + "start": { + "line": 30, + "column": 12 + }, + "end": { + "line": 30, + "column": 14 + } + } + }, + "range": [ + 553, + 560 + ], + "loc": { + "start": { + "line": 30, + "column": 7 + }, + "end": { + "line": 30, + "column": 14 + } + } + }, + "range": [ + 549, + 560 + ], + "loc": { + "start": { + "line": 30, + "column": 3 + }, + "end": { + "line": 30, + "column": 14 + } + } + }, + "range": [ + 549, + 561 + ], + "loc": { + "start": { + "line": 30, + "column": 3 + }, + "end": { + "line": 30, + "column": 15 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 565, + 566 + ], + "loc": { + "start": { + "line": 31, + "column": 3 + }, + "end": { + "line": 31, + "column": 4 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "alloc", + "range": [ + 569, + 574 + ], + "loc": { + "start": { + "line": 31, + "column": 7 + }, + "end": { + "line": 31, + "column": 12 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "m", + "range": [ + 575, + 576 + ], + "loc": { + "start": { + "line": 31, + "column": 13 + }, + "end": { + "line": 31, + "column": 14 + } + } + } + ], + "range": [ + 569, + 577 + ], + "loc": { + "start": { + "line": 31, + "column": 7 + }, + "end": { + "line": 31, + "column": 15 + } + } + }, + "range": [ + 565, + 577 + ], + "loc": { + "start": { + "line": 31, + "column": 3 + }, + "end": { + "line": 31, + "column": 15 + } + } + }, + "range": [ + 565, + 578 + ], + "loc": { + "start": { + "line": 31, + "column": 3 + }, + "end": { + "line": 31, + "column": 16 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 582, + 583 + ], + "loc": { + "start": { + "line": 32, + "column": 3 + }, + "end": { + "line": 32, + "column": 4 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "minus1", + "range": [ + 586, + 592 + ], + "loc": { + "start": { + "line": 32, + "column": 7 + }, + "end": { + "line": 32, + "column": 13 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "b", + "range": [ + 593, + 594 + ], + "loc": { + "start": { + "line": 32, + "column": 14 + }, + "end": { + "line": 32, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 596, + 598 + ], + "loc": { + "start": { + "line": 32, + "column": 17 + }, + "end": { + "line": 32, + "column": 19 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 600, + 602 + ], + "loc": { + "start": { + "line": 32, + "column": 21 + }, + "end": { + "line": 32, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 604, + 605 + ], + "loc": { + "start": { + "line": 32, + "column": 25 + }, + "end": { + "line": 32, + "column": 26 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 607, + 608 + ], + "loc": { + "start": { + "line": 32, + "column": 28 + }, + "end": { + "line": 32, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "m", + "range": [ + 610, + 611 + ], + "loc": { + "start": { + "line": 32, + "column": 31 + }, + "end": { + "line": 32, + "column": 32 + } + } + } + ], + "range": [ + 586, + 612 + ], + "loc": { + "start": { + "line": 32, + "column": 7 + }, + "end": { + "line": 32, + "column": 33 + } + } + }, + "range": [ + 582, + 612 + ], + "loc": { + "start": { + "line": 32, + "column": 3 + }, + "end": { + "line": 32, + "column": 33 + } + } + }, + "range": [ + 582, + 613 + ], + "loc": { + "start": { + "line": 32, + "column": 3 + }, + "end": { + "line": 32, + "column": 34 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "n", + "range": [ + 618, + 619 + ], + "loc": { + "start": { + "line": 34, + "column": 3 + }, + "end": { + "line": 34, + "column": 4 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "cj", + "range": [ + 622, + 624 + ], + "loc": { + "start": { + "line": 34, + "column": 7 + }, + "end": { + "line": 34, + "column": 9 + } + } + }, + "right": { + "type": "Identifier", + "name": "ci", + "range": [ + 627, + 629 + ], + "loc": { + "start": { + "line": 34, + "column": 12 + }, + "end": { + "line": 34, + "column": 14 + } + } + }, + "range": [ + 622, + 629 + ], + "loc": { + "start": { + "line": 34, + "column": 7 + }, + "end": { + "line": 34, + "column": 14 + } + } + }, + "range": [ + 618, + 629 + ], + "loc": { + "start": { + "line": 34, + "column": 3 + }, + "end": { + "line": 34, + "column": 14 + } + } + }, + "range": [ + 618, + 630 + ], + "loc": { + "start": { + "line": 34, + "column": 3 + }, + "end": { + "line": 34, + "column": 15 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "u", + "range": [ + 634, + 635 + ], + "loc": { + "start": { + "line": 35, + "column": 3 + }, + "end": { + "line": 35, + "column": 4 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "alloc", + "range": [ + 638, + 643 + ], + "loc": { + "start": { + "line": 35, + "column": 7 + }, + "end": { + "line": 35, + "column": 12 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "n", + "range": [ + 644, + 645 + ], + "loc": { + "start": { + "line": 35, + "column": 13 + }, + "end": { + "line": 35, + "column": 14 + } + } + } + ], + "range": [ + 638, + 646 + ], + "loc": { + "start": { + "line": 35, + "column": 7 + }, + "end": { + "line": 35, + "column": 15 + } + } + }, + "range": [ + 634, + 646 + ], + "loc": { + "start": { + "line": 35, + "column": 3 + }, + "end": { + "line": 35, + "column": 15 + } + } + }, + "range": [ + 634, + 647 + ], + "loc": { + "start": { + "line": 35, + "column": 3 + }, + "end": { + "line": 35, + "column": 16 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "ebs", + "range": [ + 652, + 655 + ], + "loc": { + "start": { + "line": 37, + "column": 3 + }, + "end": { + "line": 37, + "column": 6 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 656, + 657 + ], + "loc": { + "start": { + "line": 37, + "column": 7 + }, + "end": { + "line": 37, + "column": 8 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 659, + 661 + ], + "loc": { + "start": { + "line": 37, + "column": 10 + }, + "end": { + "line": 37, + "column": 12 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 663, + 665 + ], + "loc": { + "start": { + "line": 37, + "column": 14 + }, + "end": { + "line": 37, + "column": 16 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 667, + 668 + ], + "loc": { + "start": { + "line": 37, + "column": 18 + }, + "end": { + "line": 37, + "column": 19 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 670, + 671 + ], + "loc": { + "start": { + "line": 37, + "column": 21 + }, + "end": { + "line": 37, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "m", + "range": [ + 673, + 674 + ], + "loc": { + "start": { + "line": 37, + "column": 24 + }, + "end": { + "line": 37, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "u", + "range": [ + 676, + 677 + ], + "loc": { + "start": { + "line": 37, + "column": 27 + }, + "end": { + "line": 37, + "column": 28 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 679, + 680 + ], + "loc": { + "start": { + "line": 37, + "column": 30 + }, + "end": { + "line": 37, + "column": 31 + } + } + }, + { + "type": "Identifier", + "name": "n", + "range": [ + 682, + 683 + ], + "loc": { + "start": { + "line": 37, + "column": 33 + }, + "end": { + "line": 37, + "column": 34 + } + } + } + ], + "range": [ + 652, + 684 + ], + "loc": { + "start": { + "line": 37, + "column": 3 + }, + "end": { + "line": 37, + "column": 35 + } + } + }, + "range": [ + 652, + 685 + ], + "loc": { + "start": { + "line": 37, + "column": 3 + }, + "end": { + "line": 37, + "column": 36 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "mul", + "range": [ + 690, + 693 + ], + "loc": { + "start": { + "line": 39, + "column": 3 + }, + "end": { + "line": 39, + "column": 6 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 694, + 695 + ], + "loc": { + "start": { + "line": 39, + "column": 7 + }, + "end": { + "line": 39, + "column": 8 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 697, + 699 + ], + "loc": { + "start": { + "line": 39, + "column": 10 + }, + "end": { + "line": 39, + "column": 12 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 701, + 703 + ], + "loc": { + "start": { + "line": 39, + "column": 14 + }, + "end": { + "line": 39, + "column": 16 + } + } + }, + { + "type": "Identifier", + "name": "u", + "range": [ + 705, + 706 + ], + "loc": { + "start": { + "line": 39, + "column": 18 + }, + "end": { + "line": 39, + "column": 19 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 708, + 709 + ], + "loc": { + "start": { + "line": 39, + "column": 21 + }, + "end": { + "line": 39, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "n", + "range": [ + 711, + 712 + ], + "loc": { + "start": { + "line": 39, + "column": 24 + }, + "end": { + "line": 39, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "c", + "range": [ + 714, + 715 + ], + "loc": { + "start": { + "line": 39, + "column": 27 + }, + "end": { + "line": 39, + "column": 28 + } + } + }, + { + "type": "Identifier", + "name": "ci", + "range": [ + 717, + 719 + ], + "loc": { + "start": { + "line": 39, + "column": 30 + }, + "end": { + "line": 39, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "cj", + "range": [ + 721, + 723 + ], + "loc": { + "start": { + "line": 39, + "column": 34 + }, + "end": { + "line": 39, + "column": 36 + } + } + } + ], + "range": [ + 690, + 724 + ], + "loc": { + "start": { + "line": 39, + "column": 3 + }, + "end": { + "line": 39, + "column": 37 + } + } + }, + "range": [ + 690, + 725 + ], + "loc": { + "start": { + "line": 39, + "column": 3 + }, + "end": { + "line": 39, + "column": 38 + } + } + } + ], + "range": [ + 544, + 729 + ], + "loc": { + "start": { + "line": 29, + "column": 6 + }, + "end": { + "line": 40, + "column": 3 + } + } + }, + "range": [ + 331, + 729 + ], + "loc": { + "start": { + "line": 17, + "column": 7 + }, + "end": { + "line": 40, + "column": 3 + } + } + }, + "range": [ + 271, + 729 + ], + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 40, + "column": 3 + } + } + } + ], + "range": [ + 247, + 732 + ], + "loc": { + "start": { + "line": 10, + "column": 54 + }, + "end": { + "line": 41, + "column": 2 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 204, + 732 + ], + "loc": { + "start": { + "line": 10, + "column": 11 + }, + "end": { + "line": 41, + "column": 2 + } + } + }, + "range": [ + 198, + 732 + ], + "loc": { + "start": { + "line": 10, + "column": 5 + }, + "end": { + "line": 41, + "column": 2 + } + } + } + ], + "kind": "var", + "range": [ + 194, + 733 + ], + "loc": { + "start": { + "line": 10, + "column": 1 + }, + "end": { + "line": 41, + "column": 3 + } + } + } + ], + "range": [ + 190, + 735 + ], + "loc": { + "start": { + "line": 8, + "column": 70 + }, + "end": { + "line": 42, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 127, + 735 + ], + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 42, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Computes pow(a, b) using exponentiation by squaring.\n *\n * *could add an additional base case for b = 1*\n *\n ", + "range": [ + 0, + 118 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 120, + 735 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 42, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Computes pow(a, b) using exponentiation by squaring.\n *\n * *could add an additional base case for b = 1*\n *\n ", + "range": [ + 0, + 118 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 120, + 735 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 42, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Computes pow(a, b) using exponentiation by squaring.\n *\n * *could add an additional base case for b = 1*\n *\n ", + "range": [ + 0, + 118 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/others/pow/index.js.json b/ast/source/0-legacy/others/pow/index.js.json new file mode 100644 index 0000000..fabe8ba --- /dev/null +++ b/ast/source/0-legacy/others/pow/index.js.json @@ -0,0 +1,93 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./ebs", + "raw": "'./ebs'", + "range": [ + 14, + 21 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 21 + } + } + }, + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./pow", + "raw": "'./pow'", + "range": [ + 38, + 45 + ], + "loc": { + "start": { + "line": 2, + "column": 14 + }, + "end": { + "line": 2, + "column": 21 + } + } + }, + "range": [ + 24, + 47 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 23 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 47 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 2, + "column": 23 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/0-legacy/others/pow/pow.js.json b/ast/source/0-legacy/others/pow/pow.js.json new file mode 100644 index 0000000..65fcfb3 --- /dev/null +++ b/ast/source/0-legacy/others/pow/pow.js.json @@ -0,0 +1,1229 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "__pow__", + "range": [ + 78, + 85 + ], + "loc": { + "start": { + "line": 6, + "column": 16 + }, + "end": { + "line": 6, + "column": 23 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "alloc", + "range": [ + 87, + 92 + ], + "loc": { + "start": { + "line": 6, + "column": 25 + }, + "end": { + "line": 6, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "isnotzero", + "range": [ + 94, + 103 + ], + "loc": { + "start": { + "line": 6, + "column": 32 + }, + "end": { + "line": 6, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "setone", + "range": [ + 105, + 111 + ], + "loc": { + "start": { + "line": 6, + "column": 43 + }, + "end": { + "line": 6, + "column": 49 + } + } + }, + { + "type": "Identifier", + "name": "iseven", + "range": [ + 113, + 119 + ], + "loc": { + "start": { + "line": 6, + "column": 51 + }, + "end": { + "line": 6, + "column": 57 + } + } + }, + { + "type": "Identifier", + "name": "div2", + "range": [ + 121, + 125 + ], + "loc": { + "start": { + "line": 6, + "column": 59 + }, + "end": { + "line": 6, + "column": 63 + } + } + }, + { + "type": "Identifier", + "name": "minus1", + "range": [ + 127, + 133 + ], + "loc": { + "start": { + "line": 6, + "column": 65 + }, + "end": { + "line": 6, + "column": 71 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "pow", + "range": [ + 143, + 146 + ], + "loc": { + "start": { + "line": 8, + "column": 5 + }, + "end": { + "line": 8, + "column": 8 + } + } + }, + "init": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 159, + 160 + ], + "loc": { + "start": { + "line": 8, + "column": 21 + }, + "end": { + "line": 8, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 162, + 164 + ], + "loc": { + "start": { + "line": 8, + "column": 24 + }, + "end": { + "line": 8, + "column": 26 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 166, + 168 + ], + "loc": { + "start": { + "line": 8, + "column": 28 + }, + "end": { + "line": 8, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 170, + 171 + ], + "loc": { + "start": { + "line": 8, + "column": 32 + }, + "end": { + "line": 8, + "column": 33 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 173, + 175 + ], + "loc": { + "start": { + "line": 8, + "column": 35 + }, + "end": { + "line": 8, + "column": 37 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 177, + 179 + ], + "loc": { + "start": { + "line": 8, + "column": 39 + }, + "end": { + "line": 8, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "c", + "range": [ + 181, + 182 + ], + "loc": { + "start": { + "line": 8, + "column": 43 + }, + "end": { + "line": 8, + "column": 44 + } + } + }, + { + "type": "Identifier", + "name": "ci", + "range": [ + 184, + 186 + ], + "loc": { + "start": { + "line": 8, + "column": 46 + }, + "end": { + "line": 8, + "column": 48 + } + } + }, + { + "type": "Identifier", + "name": "cj", + "range": [ + 188, + 190 + ], + "loc": { + "start": { + "line": 8, + "column": 50 + }, + "end": { + "line": 8, + "column": 52 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "t", + "range": [ + 201, + 202 + ], + "loc": { + "start": { + "line": 10, + "column": 6 + }, + "end": { + "line": 10, + "column": 7 + } + } + }, + "init": null, + "range": [ + 201, + 202 + ], + "loc": { + "start": { + "line": 10, + "column": 6 + }, + "end": { + "line": 10, + "column": 7 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "m", + "range": [ + 204, + 205 + ], + "loc": { + "start": { + "line": 10, + "column": 9 + }, + "end": { + "line": 10, + "column": 10 + } + } + }, + "init": null, + "range": [ + 204, + 205 + ], + "loc": { + "start": { + "line": 10, + "column": 9 + }, + "end": { + "line": 10, + "column": 10 + } + } + } + ], + "kind": "var", + "range": [ + 197, + 206 + ], + "loc": { + "start": { + "line": 10, + "column": 2 + }, + "end": { + "line": 10, + "column": 11 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "setone", + "range": [ + 210, + 216 + ], + "loc": { + "start": { + "line": 12, + "column": 2 + }, + "end": { + "line": 12, + "column": 8 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "c", + "range": [ + 217, + 218 + ], + "loc": { + "start": { + "line": 12, + "column": 9 + }, + "end": { + "line": 12, + "column": 10 + } + } + }, + { + "type": "Identifier", + "name": "ci", + "range": [ + 220, + 222 + ], + "loc": { + "start": { + "line": 12, + "column": 12 + }, + "end": { + "line": 12, + "column": 14 + } + } + }, + { + "type": "Identifier", + "name": "cj", + "range": [ + 224, + 226 + ], + "loc": { + "start": { + "line": 12, + "column": 16 + }, + "end": { + "line": 12, + "column": 18 + } + } + } + ], + "range": [ + 210, + 227 + ], + "loc": { + "start": { + "line": 12, + "column": 2 + }, + "end": { + "line": 12, + "column": 19 + } + } + }, + "range": [ + 210, + 228 + ], + "loc": { + "start": { + "line": 12, + "column": 2 + }, + "end": { + "line": 12, + "column": 20 + } + } + }, + { + "type": "WhileStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isnotzero", + "range": [ + 239, + 248 + ], + "loc": { + "start": { + "line": 14, + "column": 9 + }, + "end": { + "line": 14, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "b", + "range": [ + 249, + 250 + ], + "loc": { + "start": { + "line": 14, + "column": 19 + }, + "end": { + "line": 14, + "column": 20 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 252, + 254 + ], + "loc": { + "start": { + "line": 14, + "column": 22 + }, + "end": { + "line": 14, + "column": 24 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 256, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 26 + }, + "end": { + "line": 14, + "column": 28 + } + } + } + ], + "range": [ + 239, + 259 + ], + "loc": { + "start": { + "line": 14, + "column": 9 + }, + "end": { + "line": 14, + "column": 29 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "mul", + "range": [ + 267, + 270 + ], + "loc": { + "start": { + "line": 16, + "column": 3 + }, + "end": { + "line": 16, + "column": 6 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "c", + "range": [ + 271, + 272 + ], + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 16, + "column": 8 + } + } + }, + { + "type": "Identifier", + "name": "ci", + "range": [ + 274, + 276 + ], + "loc": { + "start": { + "line": 16, + "column": 10 + }, + "end": { + "line": 16, + "column": 12 + } + } + }, + { + "type": "Identifier", + "name": "cj", + "range": [ + 278, + 280 + ], + "loc": { + "start": { + "line": 16, + "column": 14 + }, + "end": { + "line": 16, + "column": 16 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 282, + 283 + ], + "loc": { + "start": { + "line": 16, + "column": 18 + }, + "end": { + "line": 16, + "column": 19 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 285, + 287 + ], + "loc": { + "start": { + "line": 16, + "column": 21 + }, + "end": { + "line": 16, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 289, + 291 + ], + "loc": { + "start": { + "line": 16, + "column": 25 + }, + "end": { + "line": 16, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "c", + "range": [ + 293, + 294 + ], + "loc": { + "start": { + "line": 16, + "column": 29 + }, + "end": { + "line": 16, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "ci", + "range": [ + 296, + 298 + ], + "loc": { + "start": { + "line": 16, + "column": 32 + }, + "end": { + "line": 16, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "cj", + "range": [ + 300, + 302 + ], + "loc": { + "start": { + "line": 16, + "column": 36 + }, + "end": { + "line": 16, + "column": 38 + } + } + } + ], + "range": [ + 267, + 303 + ], + "loc": { + "start": { + "line": 16, + "column": 3 + }, + "end": { + "line": 16, + "column": 39 + } + } + }, + "range": [ + 267, + 304 + ], + "loc": { + "start": { + "line": 16, + "column": 3 + }, + "end": { + "line": 16, + "column": 40 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "minus1", + "range": [ + 309, + 315 + ], + "loc": { + "start": { + "line": 18, + "column": 3 + }, + "end": { + "line": 18, + "column": 9 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "b", + "range": [ + 316, + 317 + ], + "loc": { + "start": { + "line": 18, + "column": 10 + }, + "end": { + "line": 18, + "column": 11 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 319, + 321 + ], + "loc": { + "start": { + "line": 18, + "column": 13 + }, + "end": { + "line": 18, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 323, + 325 + ], + "loc": { + "start": { + "line": 18, + "column": 17 + }, + "end": { + "line": 18, + "column": 19 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 327, + 328 + ], + "loc": { + "start": { + "line": 18, + "column": 21 + }, + "end": { + "line": 18, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 330, + 332 + ], + "loc": { + "start": { + "line": 18, + "column": 24 + }, + "end": { + "line": 18, + "column": 26 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 334, + 336 + ], + "loc": { + "start": { + "line": 18, + "column": 28 + }, + "end": { + "line": 18, + "column": 30 + } + } + } + ], + "range": [ + 309, + 337 + ], + "loc": { + "start": { + "line": 18, + "column": 3 + }, + "end": { + "line": 18, + "column": 31 + } + } + }, + "range": [ + 309, + 338 + ], + "loc": { + "start": { + "line": 18, + "column": 3 + }, + "end": { + "line": 18, + "column": 32 + } + } + } + ], + "range": [ + 261, + 342 + ], + "loc": { + "start": { + "line": 14, + "column": 31 + }, + "end": { + "line": 19, + "column": 3 + } + } + }, + "range": [ + 232, + 342 + ], + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 19, + "column": 3 + } + } + } + ], + "range": [ + 192, + 346 + ], + "loc": { + "start": { + "line": 8, + "column": 54 + }, + "end": { + "line": 21, + "column": 2 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 149, + 346 + ], + "loc": { + "start": { + "line": 8, + "column": 11 + }, + "end": { + "line": 21, + "column": 2 + } + } + }, + "range": [ + 143, + 346 + ], + "loc": { + "start": { + "line": 8, + "column": 5 + }, + "end": { + "line": 21, + "column": 2 + } + } + } + ], + "kind": "var", + "range": [ + 139, + 347 + ], + "loc": { + "start": { + "line": 8, + "column": 1 + }, + "end": { + "line": 21, + "column": 3 + } + } + } + ], + "range": [ + 135, + 349 + ], + "loc": { + "start": { + "line": 6, + "column": 73 + }, + "end": { + "line": 22, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 69, + 349 + ], + "loc": { + "start": { + "line": 6, + "column": 7 + }, + "end": { + "line": 22, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Computes pow(a, b) using naive exponentiation.\n *\n ", + "range": [ + 0, + 60 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 4, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 62, + 349 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 22, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Computes pow(a, b) using naive exponentiation.\n *\n ", + "range": [ + 0, + 60 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 4, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 62, + 349 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 22, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Computes pow(a, b) using naive exponentiation.\n *\n ", + "range": [ + 0, + 60 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 4, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/others/sha/index.js.json b/ast/source/0-legacy/others/sha/index.js.json new file mode 100644 index 0000000..7e0a66b --- /dev/null +++ b/ast/source/0-legacy/others/sha/index.js.json @@ -0,0 +1,57 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./sha", + "raw": "'./sha'", + "range": [ + 14, + 21 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 21 + } + } + }, + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/0-legacy/others/sha/sha.js.json b/ast/source/0-legacy/others/sha/sha.js.json new file mode 100644 index 0000000..4c0f7da --- /dev/null +++ b/ast/source/0-legacy/others/sha/sha.js.json @@ -0,0 +1,59 @@ +{ + "type": "Program", + "body": [], + "sourceType": "module", + "range": [ + 27, + 27 + ], + "loc": { + "start": { + "line": 3, + "column": 3 + }, + "end": { + "line": 3, + "column": 3 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * ARITHMETIC SHIFT\n ", + "range": [ + 0, + 27 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + } + ], + "comments": [ + { + "type": "Block", + "value": "*\n * ARITHMETIC SHIFT\n ", + "range": [ + 0, + 27 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/others/shl/index.js.json b/ast/source/0-legacy/others/shl/index.js.json new file mode 100644 index 0000000..535595e --- /dev/null +++ b/ast/source/0-legacy/others/shl/index.js.json @@ -0,0 +1,57 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./shl", + "raw": "'./shl'", + "range": [ + 14, + 21 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 21 + } + } + }, + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/0-legacy/others/shl/shl.js.json b/ast/source/0-legacy/others/shl/shl.js.json new file mode 100644 index 0000000..71c78c1 --- /dev/null +++ b/ast/source/0-legacy/others/shl/shl.js.json @@ -0,0 +1,59 @@ +{ + "type": "Program", + "body": [], + "sourceType": "module", + "range": [ + 24, + 24 + ], + "loc": { + "start": { + "line": 3, + "column": 3 + }, + "end": { + "line": 3, + "column": 3 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * LOGICAL SHIFT\n ", + "range": [ + 0, + 24 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + } + ], + "comments": [ + { + "type": "Block", + "value": "*\n * LOGICAL SHIFT\n ", + "range": [ + 0, + 24 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/others/wrap/index.js.json b/ast/source/0-legacy/others/wrap/index.js.json new file mode 100644 index 0000000..2346fe3 --- /dev/null +++ b/ast/source/0-legacy/others/wrap/index.js.json @@ -0,0 +1,129 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./wrapbin", + "raw": "'./wrapbin'", + "range": [ + 14, + 25 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + "range": [ + 0, + 27 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 27 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./wrapcmp", + "raw": "'./wrapcmp'", + "range": [ + 42, + 53 + ], + "loc": { + "start": { + "line": 2, + "column": 14 + }, + "end": { + "line": 2, + "column": 25 + } + } + }, + "range": [ + 28, + 55 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 27 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./wrapmov", + "raw": "'./wrapmov'", + "range": [ + 70, + 81 + ], + "loc": { + "start": { + "line": 3, + "column": 14 + }, + "end": { + "line": 3, + "column": 25 + } + } + }, + "range": [ + 56, + 83 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 27 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 83 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 27 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/0-legacy/others/wrap/wrapbin.js.json b/ast/source/0-legacy/others/wrap/wrapbin.js.json new file mode 100644 index 0000000..7d394c3 --- /dev/null +++ b/ast/source/0-legacy/others/wrap/wrapbin.js.json @@ -0,0 +1,1945 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "wrapbin", + "range": [ + 111, + 118 + ], + "loc": { + "start": { + "line": 10, + "column": 16 + }, + "end": { + "line": 10, + "column": 23 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "fn", + "range": [ + 120, + 122 + ], + "loc": { + "start": { + "line": 10, + "column": 25 + }, + "end": { + "line": 10, + "column": 27 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 143, + 144 + ], + "loc": { + "start": { + "line": 12, + "column": 17 + }, + "end": { + "line": 12, + "column": 18 + } + } + }, + { + "type": "Identifier", + "name": "i0", + "range": [ + 146, + 148 + ], + "loc": { + "start": { + "line": 12, + "column": 20 + }, + "end": { + "line": 12, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "i1", + "range": [ + 150, + 152 + ], + "loc": { + "start": { + "line": 12, + "column": 24 + }, + "end": { + "line": 12, + "column": 26 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 154, + 155 + ], + "loc": { + "start": { + "line": 12, + "column": 28 + }, + "end": { + "line": 12, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "j0", + "range": [ + 157, + 159 + ], + "loc": { + "start": { + "line": 12, + "column": 31 + }, + "end": { + "line": 12, + "column": 33 + } + } + }, + { + "type": "Identifier", + "name": "j1", + "range": [ + 161, + 163 + ], + "loc": { + "start": { + "line": 12, + "column": 35 + }, + "end": { + "line": 12, + "column": 37 + } + } + }, + { + "type": "Identifier", + "name": "c", + "range": [ + 165, + 166 + ], + "loc": { + "start": { + "line": 12, + "column": 39 + }, + "end": { + "line": 12, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "k0", + "range": [ + 168, + 170 + ], + "loc": { + "start": { + "line": 12, + "column": 42 + }, + "end": { + "line": 12, + "column": 44 + } + } + }, + { + "type": "Identifier", + "name": "k1", + "range": [ + 172, + 174 + ], + "loc": { + "start": { + "line": 12, + "column": 46 + }, + "end": { + "line": 12, + "column": 48 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 184, + 185 + ], + "loc": { + "start": { + "line": 14, + "column": 6 + }, + "end": { + "line": 14, + "column": 7 + } + } + }, + "init": null, + "range": [ + 184, + 185 + ], + "loc": { + "start": { + "line": 14, + "column": 6 + }, + "end": { + "line": 14, + "column": 7 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "j", + "range": [ + 187, + 188 + ], + "loc": { + "start": { + "line": 14, + "column": 9 + }, + "end": { + "line": 14, + "column": 10 + } + } + }, + "init": null, + "range": [ + 187, + 188 + ], + "loc": { + "start": { + "line": 14, + "column": 9 + }, + "end": { + "line": 14, + "column": 10 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "k", + "range": [ + 190, + 191 + ], + "loc": { + "start": { + "line": 14, + "column": 12 + }, + "end": { + "line": 14, + "column": 13 + } + } + }, + "init": null, + "range": [ + 190, + 191 + ], + "loc": { + "start": { + "line": 14, + "column": 12 + }, + "end": { + "line": 14, + "column": 13 + } + } + } + ], + "kind": "var", + "range": [ + 180, + 192 + ], + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 14, + "column": 14 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "k0", + "range": [ + 196, + 198 + ], + "loc": { + "start": { + "line": 16, + "column": 2 + }, + "end": { + "line": 16, + "column": 4 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Math", + "range": [ + 201, + 205 + ], + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 16, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "max", + "range": [ + 206, + 209 + ], + "loc": { + "start": { + "line": 16, + "column": 12 + }, + "end": { + "line": 16, + "column": 15 + } + } + }, + "range": [ + 201, + 209 + ], + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 16, + "column": 15 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 210, + 211 + ], + "loc": { + "start": { + "line": 16, + "column": 16 + }, + "end": { + "line": 16, + "column": 17 + } + } + }, + { + "type": "Identifier", + "name": "k0", + "range": [ + 213, + 215 + ], + "loc": { + "start": { + "line": 16, + "column": 19 + }, + "end": { + "line": 16, + "column": 21 + } + } + } + ], + "range": [ + 201, + 216 + ], + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 16, + "column": 22 + } + } + }, + "range": [ + 196, + 216 + ], + "loc": { + "start": { + "line": 16, + "column": 2 + }, + "end": { + "line": 16, + "column": 22 + } + } + }, + "range": [ + 196, + 217 + ], + "loc": { + "start": { + "line": 16, + "column": 2 + }, + "end": { + "line": 16, + "column": 23 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 220, + 221 + ], + "loc": { + "start": { + "line": 17, + "column": 2 + }, + "end": { + "line": 17, + "column": 3 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "k1", + "range": [ + 224, + 226 + ], + "loc": { + "start": { + "line": 17, + "column": 6 + }, + "end": { + "line": 17, + "column": 8 + } + } + }, + "right": { + "type": "Identifier", + "name": "k0", + "range": [ + 229, + 231 + ], + "loc": { + "start": { + "line": 17, + "column": 11 + }, + "end": { + "line": 17, + "column": 13 + } + } + }, + "range": [ + 224, + 231 + ], + "loc": { + "start": { + "line": 17, + "column": 6 + }, + "end": { + "line": 17, + "column": 13 + } + } + }, + "range": [ + 220, + 231 + ], + "loc": { + "start": { + "line": 17, + "column": 2 + }, + "end": { + "line": 17, + "column": 13 + } + } + }, + "range": [ + 220, + 232 + ], + "loc": { + "start": { + "line": 17, + "column": 2 + }, + "end": { + "line": 17, + "column": 14 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "i0", + "range": [ + 236, + 238 + ], + "loc": { + "start": { + "line": 19, + "column": 2 + }, + "end": { + "line": 19, + "column": 4 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Math", + "range": [ + 241, + 245 + ], + "loc": { + "start": { + "line": 19, + "column": 7 + }, + "end": { + "line": 19, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "max", + "range": [ + 246, + 249 + ], + "loc": { + "start": { + "line": 19, + "column": 12 + }, + "end": { + "line": 19, + "column": 15 + } + } + }, + "range": [ + 241, + 249 + ], + "loc": { + "start": { + "line": 19, + "column": 7 + }, + "end": { + "line": 19, + "column": 15 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 250, + 251 + ], + "loc": { + "start": { + "line": 19, + "column": 16 + }, + "end": { + "line": 19, + "column": 17 + } + } + }, + { + "type": "Identifier", + "name": "i0", + "range": [ + 253, + 255 + ], + "loc": { + "start": { + "line": 19, + "column": 19 + }, + "end": { + "line": 19, + "column": 21 + } + } + }, + { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "i1", + "range": [ + 257, + 259 + ], + "loc": { + "start": { + "line": 19, + "column": 23 + }, + "end": { + "line": 19, + "column": 25 + } + } + }, + "right": { + "type": "Identifier", + "name": "k", + "range": [ + 262, + 263 + ], + "loc": { + "start": { + "line": 19, + "column": 28 + }, + "end": { + "line": 19, + "column": 29 + } + } + }, + "range": [ + 257, + 263 + ], + "loc": { + "start": { + "line": 19, + "column": 23 + }, + "end": { + "line": 19, + "column": 29 + } + } + } + ], + "range": [ + 241, + 264 + ], + "loc": { + "start": { + "line": 19, + "column": 7 + }, + "end": { + "line": 19, + "column": 30 + } + } + }, + "range": [ + 236, + 264 + ], + "loc": { + "start": { + "line": 19, + "column": 2 + }, + "end": { + "line": 19, + "column": 30 + } + } + }, + "range": [ + 236, + 265 + ], + "loc": { + "start": { + "line": 19, + "column": 2 + }, + "end": { + "line": 19, + "column": 31 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "j0", + "range": [ + 268, + 270 + ], + "loc": { + "start": { + "line": 20, + "column": 2 + }, + "end": { + "line": 20, + "column": 4 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Math", + "range": [ + 273, + 277 + ], + "loc": { + "start": { + "line": 20, + "column": 7 + }, + "end": { + "line": 20, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "max", + "range": [ + 278, + 281 + ], + "loc": { + "start": { + "line": 20, + "column": 12 + }, + "end": { + "line": 20, + "column": 15 + } + } + }, + "range": [ + 273, + 281 + ], + "loc": { + "start": { + "line": 20, + "column": 7 + }, + "end": { + "line": 20, + "column": 15 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 282, + 283 + ], + "loc": { + "start": { + "line": 20, + "column": 16 + }, + "end": { + "line": 20, + "column": 17 + } + } + }, + { + "type": "Identifier", + "name": "j0", + "range": [ + 285, + 287 + ], + "loc": { + "start": { + "line": 20, + "column": 19 + }, + "end": { + "line": 20, + "column": 21 + } + } + }, + { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "j1", + "range": [ + 289, + 291 + ], + "loc": { + "start": { + "line": 20, + "column": 23 + }, + "end": { + "line": 20, + "column": 25 + } + } + }, + "right": { + "type": "Identifier", + "name": "k", + "range": [ + 294, + 295 + ], + "loc": { + "start": { + "line": 20, + "column": 28 + }, + "end": { + "line": 20, + "column": 29 + } + } + }, + "range": [ + 289, + 295 + ], + "loc": { + "start": { + "line": 20, + "column": 23 + }, + "end": { + "line": 20, + "column": 29 + } + } + } + ], + "range": [ + 273, + 296 + ], + "loc": { + "start": { + "line": 20, + "column": 7 + }, + "end": { + "line": 20, + "column": 30 + } + } + }, + "range": [ + 268, + 296 + ], + "loc": { + "start": { + "line": 20, + "column": 2 + }, + "end": { + "line": 20, + "column": 30 + } + } + }, + "range": [ + 268, + 297 + ], + "loc": { + "start": { + "line": 20, + "column": 2 + }, + "end": { + "line": 20, + "column": 31 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 300, + 301 + ], + "loc": { + "start": { + "line": 21, + "column": 2 + }, + "end": { + "line": 21, + "column": 3 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "i1", + "range": [ + 304, + 306 + ], + "loc": { + "start": { + "line": 21, + "column": 6 + }, + "end": { + "line": 21, + "column": 8 + } + } + }, + "right": { + "type": "Identifier", + "name": "i0", + "range": [ + 309, + 311 + ], + "loc": { + "start": { + "line": 21, + "column": 11 + }, + "end": { + "line": 21, + "column": 13 + } + } + }, + "range": [ + 304, + 311 + ], + "loc": { + "start": { + "line": 21, + "column": 6 + }, + "end": { + "line": 21, + "column": 13 + } + } + }, + "range": [ + 300, + 311 + ], + "loc": { + "start": { + "line": 21, + "column": 2 + }, + "end": { + "line": 21, + "column": 13 + } + } + }, + "range": [ + 300, + 312 + ], + "loc": { + "start": { + "line": 21, + "column": 2 + }, + "end": { + "line": 21, + "column": 14 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "j", + "range": [ + 315, + 316 + ], + "loc": { + "start": { + "line": 22, + "column": 2 + }, + "end": { + "line": 22, + "column": 3 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "j1", + "range": [ + 319, + 321 + ], + "loc": { + "start": { + "line": 22, + "column": 6 + }, + "end": { + "line": 22, + "column": 8 + } + } + }, + "right": { + "type": "Identifier", + "name": "j0", + "range": [ + 324, + 326 + ], + "loc": { + "start": { + "line": 22, + "column": 11 + }, + "end": { + "line": 22, + "column": 13 + } + } + }, + "range": [ + 319, + 326 + ], + "loc": { + "start": { + "line": 22, + "column": 6 + }, + "end": { + "line": 22, + "column": 13 + } + } + }, + "range": [ + 315, + 326 + ], + "loc": { + "start": { + "line": 22, + "column": 2 + }, + "end": { + "line": 22, + "column": 13 + } + } + }, + "range": [ + 315, + 327 + ], + "loc": { + "start": { + "line": 22, + "column": 2 + }, + "end": { + "line": 22, + "column": 14 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 334, + 335 + ], + "loc": { + "start": { + "line": 24, + "column": 5 + }, + "end": { + "line": 24, + "column": 6 + } + } + }, + "right": { + "type": "Identifier", + "name": "j", + "range": [ + 338, + 339 + ], + "loc": { + "start": { + "line": 24, + "column": 9 + }, + "end": { + "line": 24, + "column": 10 + } + } + }, + "range": [ + 334, + 339 + ], + "loc": { + "start": { + "line": 24, + "column": 5 + }, + "end": { + "line": 24, + "column": 10 + } + } + }, + "consequent": { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "fn", + "range": [ + 350, + 352 + ], + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 11 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "b", + "range": [ + 353, + 354 + ], + "loc": { + "start": { + "line": 25, + "column": 12 + }, + "end": { + "line": 25, + "column": 13 + } + } + }, + { + "type": "Identifier", + "name": "j0", + "range": [ + 356, + 358 + ], + "loc": { + "start": { + "line": 25, + "column": 15 + }, + "end": { + "line": 25, + "column": 17 + } + } + }, + { + "type": "Identifier", + "name": "j1", + "range": [ + 360, + 362 + ], + "loc": { + "start": { + "line": 25, + "column": 19 + }, + "end": { + "line": 25, + "column": 21 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 364, + 365 + ], + "loc": { + "start": { + "line": 25, + "column": 23 + }, + "end": { + "line": 25, + "column": 24 + } + } + }, + { + "type": "Identifier", + "name": "i0", + "range": [ + 367, + 369 + ], + "loc": { + "start": { + "line": 25, + "column": 26 + }, + "end": { + "line": 25, + "column": 28 + } + } + }, + { + "type": "Identifier", + "name": "i1", + "range": [ + 371, + 373 + ], + "loc": { + "start": { + "line": 25, + "column": 30 + }, + "end": { + "line": 25, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "c", + "range": [ + 375, + 376 + ], + "loc": { + "start": { + "line": 25, + "column": 34 + }, + "end": { + "line": 25, + "column": 35 + } + } + }, + { + "type": "Identifier", + "name": "k0", + "range": [ + 378, + 380 + ], + "loc": { + "start": { + "line": 25, + "column": 37 + }, + "end": { + "line": 25, + "column": 39 + } + } + }, + { + "type": "Identifier", + "name": "k1", + "range": [ + 382, + 384 + ], + "loc": { + "start": { + "line": 25, + "column": 41 + }, + "end": { + "line": 25, + "column": 43 + } + } + } + ], + "range": [ + 350, + 385 + ], + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 44 + } + } + }, + "range": [ + 343, + 386 + ], + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 45 + } + } + }, + "alternate": { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "fn", + "range": [ + 404, + 406 + ], + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 11 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 407, + 408 + ], + "loc": { + "start": { + "line": 28, + "column": 12 + }, + "end": { + "line": 28, + "column": 13 + } + } + }, + { + "type": "Identifier", + "name": "i0", + "range": [ + 410, + 412 + ], + "loc": { + "start": { + "line": 28, + "column": 15 + }, + "end": { + "line": 28, + "column": 17 + } + } + }, + { + "type": "Identifier", + "name": "i1", + "range": [ + 414, + 416 + ], + "loc": { + "start": { + "line": 28, + "column": 19 + }, + "end": { + "line": 28, + "column": 21 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 418, + 419 + ], + "loc": { + "start": { + "line": 28, + "column": 23 + }, + "end": { + "line": 28, + "column": 24 + } + } + }, + { + "type": "Identifier", + "name": "j0", + "range": [ + 421, + 423 + ], + "loc": { + "start": { + "line": 28, + "column": 26 + }, + "end": { + "line": 28, + "column": 28 + } + } + }, + { + "type": "Identifier", + "name": "j1", + "range": [ + 425, + 427 + ], + "loc": { + "start": { + "line": 28, + "column": 30 + }, + "end": { + "line": 28, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "c", + "range": [ + 429, + 430 + ], + "loc": { + "start": { + "line": 28, + "column": 34 + }, + "end": { + "line": 28, + "column": 35 + } + } + }, + { + "type": "Identifier", + "name": "k0", + "range": [ + 432, + 434 + ], + "loc": { + "start": { + "line": 28, + "column": 37 + }, + "end": { + "line": 28, + "column": 39 + } + } + }, + { + "type": "Identifier", + "name": "k1", + "range": [ + 436, + 438 + ], + "loc": { + "start": { + "line": 28, + "column": 41 + }, + "end": { + "line": 28, + "column": 43 + } + } + } + ], + "range": [ + 404, + 439 + ], + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 44 + } + } + }, + "range": [ + 397, + 440 + ], + "loc": { + "start": { + "line": 28, + "column": 2 + }, + "end": { + "line": 28, + "column": 45 + } + } + }, + "range": [ + 331, + 440 + ], + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 28, + "column": 45 + } + } + } + ], + "range": [ + 175, + 443 + ], + "loc": { + "start": { + "line": 12, + "column": 49 + }, + "end": { + "line": 29, + "column": 2 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 134, + 443 + ], + "loc": { + "start": { + "line": 12, + "column": 8 + }, + "end": { + "line": 29, + "column": 2 + } + } + }, + "range": [ + 127, + 444 + ], + "loc": { + "start": { + "line": 12, + "column": 1 + }, + "end": { + "line": 29, + "column": 3 + } + } + } + ], + "range": [ + 123, + 446 + ], + "loc": { + "start": { + "line": 10, + "column": 28 + }, + "end": { + "line": 30, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 102, + 446 + ], + "loc": { + "start": { + "line": 10, + "column": 7 + }, + "end": { + "line": 30, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Wrapper for binary operator.\n * Ensures\n *\n * i >= j\n * i0, j0, k0 >= 0\n *\n ", + "range": [ + 0, + 93 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 95, + 446 + ], + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 30, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Wrapper for binary operator.\n * Ensures\n *\n * i >= j\n * i0, j0, k0 >= 0\n *\n ", + "range": [ + 0, + 93 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 95, + 446 + ], + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 30, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Wrapper for binary operator.\n * Ensures\n *\n * i >= j\n * i0, j0, k0 >= 0\n *\n ", + "range": [ + 0, + 93 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/others/wrap/wrapcmp.js.json b/ast/source/0-legacy/others/wrap/wrapcmp.js.json new file mode 100644 index 0000000..6dde5e0 --- /dev/null +++ b/ast/source/0-legacy/others/wrap/wrapcmp.js.json @@ -0,0 +1,845 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "wrapcmp", + "range": [ + 19, + 26 + ], + "loc": { + "start": { + "line": 4, + "column": 16 + }, + "end": { + "line": 4, + "column": 23 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "cmp", + "range": [ + 28, + 31 + ], + "loc": { + "start": { + "line": 4, + "column": 25 + }, + "end": { + "line": 4, + "column": 28 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 54, + 55 + ], + "loc": { + "start": { + "line": 7, + "column": 17 + }, + "end": { + "line": 7, + "column": 18 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 57, + 59 + ], + "loc": { + "start": { + "line": 7, + "column": 20 + }, + "end": { + "line": 7, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 61, + 63 + ], + "loc": { + "start": { + "line": 7, + "column": 24 + }, + "end": { + "line": 7, + "column": 26 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 65, + 66 + ], + "loc": { + "start": { + "line": 7, + "column": 28 + }, + "end": { + "line": 7, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 68, + 70 + ], + "loc": { + "start": { + "line": 7, + "column": 31 + }, + "end": { + "line": 7, + "column": 33 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 72, + 74 + ], + "loc": { + "start": { + "line": 7, + "column": 35 + }, + "end": { + "line": 7, + "column": 37 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "aj", + "range": [ + 84, + 86 + ], + "loc": { + "start": { + "line": 9, + "column": 6 + }, + "end": { + "line": 9, + "column": 8 + } + } + }, + "right": { + "type": "Identifier", + "name": "ai", + "range": [ + 89, + 91 + ], + "loc": { + "start": { + "line": 9, + "column": 11 + }, + "end": { + "line": 9, + "column": 13 + } + } + }, + "range": [ + 84, + 91 + ], + "loc": { + "start": { + "line": 9, + "column": 6 + }, + "end": { + "line": 9, + "column": 13 + } + } + }, + "right": { + "type": "Identifier", + "name": "bi", + "range": [ + 94, + 96 + ], + "loc": { + "start": { + "line": 9, + "column": 16 + }, + "end": { + "line": 9, + "column": 18 + } + } + }, + "range": [ + 84, + 96 + ], + "loc": { + "start": { + "line": 9, + "column": 6 + }, + "end": { + "line": 9, + "column": 18 + } + } + }, + "right": { + "type": "Identifier", + "name": "bj", + "range": [ + 99, + 101 + ], + "loc": { + "start": { + "line": 9, + "column": 21 + }, + "end": { + "line": 9, + "column": 23 + } + } + }, + "range": [ + 84, + 101 + ], + "loc": { + "start": { + "line": 9, + "column": 6 + }, + "end": { + "line": 9, + "column": 23 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 104, + 105 + ], + "loc": { + "start": { + "line": 9, + "column": 26 + }, + "end": { + "line": 9, + "column": 27 + } + } + }, + "range": [ + 84, + 105 + ], + "loc": { + "start": { + "line": 9, + "column": 6 + }, + "end": { + "line": 9, + "column": 27 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "cmp", + "range": [ + 121, + 124 + ], + "loc": { + "start": { + "line": 10, + "column": 12 + }, + "end": { + "line": 10, + "column": 15 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "b", + "range": [ + 125, + 126 + ], + "loc": { + "start": { + "line": 10, + "column": 16 + }, + "end": { + "line": 10, + "column": 17 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 128, + 130 + ], + "loc": { + "start": { + "line": 10, + "column": 19 + }, + "end": { + "line": 10, + "column": 21 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 132, + 134 + ], + "loc": { + "start": { + "line": 10, + "column": 23 + }, + "end": { + "line": 10, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 136, + 137 + ], + "loc": { + "start": { + "line": 10, + "column": 27 + }, + "end": { + "line": 10, + "column": 28 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 139, + 141 + ], + "loc": { + "start": { + "line": 10, + "column": 30 + }, + "end": { + "line": 10, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 143, + 145 + ], + "loc": { + "start": { + "line": 10, + "column": 34 + }, + "end": { + "line": 10, + "column": 36 + } + } + } + ], + "range": [ + 121, + 146 + ], + "loc": { + "start": { + "line": 10, + "column": 12 + }, + "end": { + "line": 10, + "column": 37 + } + } + }, + "prefix": true, + "range": [ + 119, + 146 + ], + "loc": { + "start": { + "line": 10, + "column": 10 + }, + "end": { + "line": 10, + "column": 37 + } + } + }, + "range": [ + 112, + 147 + ], + "loc": { + "start": { + "line": 10, + "column": 3 + }, + "end": { + "line": 10, + "column": 38 + } + } + } + ], + "range": [ + 107, + 151 + ], + "loc": { + "start": { + "line": 9, + "column": 29 + }, + "end": { + "line": 11, + "column": 3 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "cmp", + "range": [ + 171, + 174 + ], + "loc": { + "start": { + "line": 13, + "column": 10 + }, + "end": { + "line": 13, + "column": 13 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 175, + 176 + ], + "loc": { + "start": { + "line": 13, + "column": 14 + }, + "end": { + "line": 13, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 178, + 180 + ], + "loc": { + "start": { + "line": 13, + "column": 17 + }, + "end": { + "line": 13, + "column": 19 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 182, + 184 + ], + "loc": { + "start": { + "line": 13, + "column": 21 + }, + "end": { + "line": 13, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 186, + 187 + ], + "loc": { + "start": { + "line": 13, + "column": 25 + }, + "end": { + "line": 13, + "column": 26 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 189, + 191 + ], + "loc": { + "start": { + "line": 13, + "column": 28 + }, + "end": { + "line": 13, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 193, + 195 + ], + "loc": { + "start": { + "line": 13, + "column": 32 + }, + "end": { + "line": 13, + "column": 34 + } + } + } + ], + "range": [ + 171, + 196 + ], + "loc": { + "start": { + "line": 13, + "column": 10 + }, + "end": { + "line": 13, + "column": 35 + } + } + }, + "range": [ + 164, + 197 + ], + "loc": { + "start": { + "line": 13, + "column": 3 + }, + "end": { + "line": 13, + "column": 36 + } + } + } + ], + "range": [ + 159, + 201 + ], + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 14, + "column": 3 + } + } + }, + "range": [ + 80, + 201 + ], + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ], + "range": [ + 75, + 205 + ], + "loc": { + "start": { + "line": 7, + "column": 38 + }, + "end": { + "line": 16, + "column": 2 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 45, + 205 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 16, + "column": 2 + } + } + }, + "range": [ + 38, + 206 + ], + "loc": { + "start": { + "line": 7, + "column": 1 + }, + "end": { + "line": 16, + "column": 3 + } + } + } + ], + "range": [ + 33, + 209 + ], + "loc": { + "start": { + "line": 4, + "column": 30 + }, + "end": { + "line": 18, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 10, + 209 + ], + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 18, + "column": 1 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 3, + 209 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 18, + "column": 1 + } + } + } + ], + "sourceType": "module", + "range": [ + 3, + 209 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 18, + "column": 1 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/0-legacy/others/wrap/wrapmov.js.json b/ast/source/0-legacy/others/wrap/wrapmov.js.json new file mode 100644 index 0000000..176803e --- /dev/null +++ b/ast/source/0-legacy/others/wrap/wrapmov.js.json @@ -0,0 +1,880 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "wrapmov", + "range": [ + 18, + 25 + ], + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 23 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "fn", + "range": [ + 27, + 29 + ], + "loc": { + "start": { + "line": 3, + "column": 25 + }, + "end": { + "line": 3, + "column": 27 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 49, + 50 + ], + "loc": { + "start": { + "line": 4, + "column": 17 + }, + "end": { + "line": 4, + "column": 18 + } + } + }, + { + "type": "Identifier", + "name": "i", + "range": [ + 52, + 53 + ], + "loc": { + "start": { + "line": 4, + "column": 20 + }, + "end": { + "line": 4, + "column": 21 + } + } + }, + { + "type": "Identifier", + "name": "j", + "range": [ + 55, + 56 + ], + "loc": { + "start": { + "line": 4, + "column": 23 + }, + "end": { + "line": 4, + "column": 24 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 58, + 59 + ], + "loc": { + "start": { + "line": 4, + "column": 26 + }, + "end": { + "line": 4, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "k", + "range": [ + 61, + 62 + ], + "loc": { + "start": { + "line": 4, + "column": 29 + }, + "end": { + "line": 4, + "column": 30 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 71, + 72 + ], + "loc": { + "start": { + "line": 6, + "column": 5 + }, + "end": { + "line": 6, + "column": 6 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 75, + 76 + ], + "loc": { + "start": { + "line": 6, + "column": 9 + }, + "end": { + "line": 6, + "column": 10 + } + } + }, + "range": [ + 71, + 76 + ], + "loc": { + "start": { + "line": 6, + "column": 5 + }, + "end": { + "line": 6, + "column": 10 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "-=", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 82, + 83 + ], + "loc": { + "start": { + "line": 7, + "column": 3 + }, + "end": { + "line": 7, + "column": 4 + } + } + }, + "right": { + "type": "Identifier", + "name": "i", + "range": [ + 87, + 88 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 9 + } + } + }, + "range": [ + 82, + 88 + ], + "loc": { + "start": { + "line": 7, + "column": 3 + }, + "end": { + "line": 7, + "column": 9 + } + } + }, + "range": [ + 82, + 89 + ], + "loc": { + "start": { + "line": 7, + "column": 3 + }, + "end": { + "line": 7, + "column": 10 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 93, + 94 + ], + "loc": { + "start": { + "line": 8, + "column": 3 + }, + "end": { + "line": 8, + "column": 4 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 97, + 98 + ], + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 8 + } + } + }, + "range": [ + 93, + 98 + ], + "loc": { + "start": { + "line": 8, + "column": 3 + }, + "end": { + "line": 8, + "column": 8 + } + } + }, + "range": [ + 93, + 99 + ], + "loc": { + "start": { + "line": 8, + "column": 3 + }, + "end": { + "line": 8, + "column": 9 + } + } + } + ], + "range": [ + 77, + 103 + ], + "loc": { + "start": { + "line": 6, + "column": 11 + }, + "end": { + "line": 9, + "column": 3 + } + } + }, + "alternate": null, + "range": [ + 68, + 103 + ], + "loc": { + "start": { + "line": 6, + "column": 2 + }, + "end": { + "line": 9, + "column": 3 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 109, + 110 + ], + "loc": { + "start": { + "line": 10, + "column": 5 + }, + "end": { + "line": 10, + "column": 6 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 113, + 114 + ], + "loc": { + "start": { + "line": 10, + "column": 9 + }, + "end": { + "line": 10, + "column": 10 + } + } + }, + "range": [ + 109, + 114 + ], + "loc": { + "start": { + "line": 10, + "column": 5 + }, + "end": { + "line": 10, + "column": 10 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "-=", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 120, + 121 + ], + "loc": { + "start": { + "line": 11, + "column": 3 + }, + "end": { + "line": 11, + "column": 4 + } + } + }, + "right": { + "type": "Identifier", + "name": "k", + "range": [ + 125, + 126 + ], + "loc": { + "start": { + "line": 11, + "column": 8 + }, + "end": { + "line": 11, + "column": 9 + } + } + }, + "range": [ + 120, + 126 + ], + "loc": { + "start": { + "line": 11, + "column": 3 + }, + "end": { + "line": 11, + "column": 9 + } + } + }, + "range": [ + 120, + 127 + ], + "loc": { + "start": { + "line": 11, + "column": 3 + }, + "end": { + "line": 11, + "column": 10 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 131, + 132 + ], + "loc": { + "start": { + "line": 12, + "column": 3 + }, + "end": { + "line": 12, + "column": 4 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 135, + 136 + ], + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 12, + "column": 8 + } + } + }, + "range": [ + 131, + 136 + ], + "loc": { + "start": { + "line": 12, + "column": 3 + }, + "end": { + "line": 12, + "column": 8 + } + } + }, + "range": [ + 131, + 137 + ], + "loc": { + "start": { + "line": 12, + "column": 3 + }, + "end": { + "line": 12, + "column": 9 + } + } + } + ], + "range": [ + 115, + 141 + ], + "loc": { + "start": { + "line": 10, + "column": 11 + }, + "end": { + "line": 13, + "column": 3 + } + } + }, + "alternate": null, + "range": [ + 106, + 141 + ], + "loc": { + "start": { + "line": 10, + "column": 2 + }, + "end": { + "line": 13, + "column": 3 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "fn", + "range": [ + 151, + 153 + ], + "loc": { + "start": { + "line": 14, + "column": 9 + }, + "end": { + "line": 14, + "column": 11 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 154, + 155 + ], + "loc": { + "start": { + "line": 14, + "column": 12 + }, + "end": { + "line": 14, + "column": 13 + } + } + }, + { + "type": "Identifier", + "name": "i", + "range": [ + 157, + 158 + ], + "loc": { + "start": { + "line": 14, + "column": 15 + }, + "end": { + "line": 14, + "column": 16 + } + } + }, + { + "type": "Identifier", + "name": "j", + "range": [ + 160, + 161 + ], + "loc": { + "start": { + "line": 14, + "column": 18 + }, + "end": { + "line": 14, + "column": 19 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 163, + 164 + ], + "loc": { + "start": { + "line": 14, + "column": 21 + }, + "end": { + "line": 14, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "k", + "range": [ + 166, + 167 + ], + "loc": { + "start": { + "line": 14, + "column": 24 + }, + "end": { + "line": 14, + "column": 25 + } + } + } + ], + "range": [ + 151, + 168 + ], + "loc": { + "start": { + "line": 14, + "column": 9 + }, + "end": { + "line": 14, + "column": 26 + } + } + }, + "range": [ + 144, + 169 + ], + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 14, + "column": 27 + } + } + } + ], + "range": [ + 63, + 173 + ], + "loc": { + "start": { + "line": 4, + "column": 31 + }, + "end": { + "line": 16, + "column": 2 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 40, + 173 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 16, + "column": 2 + } + } + }, + "range": [ + 33, + 174 + ], + "loc": { + "start": { + "line": 4, + "column": 1 + }, + "end": { + "line": 16, + "column": 3 + } + } + } + ], + "range": [ + 30, + 176 + ], + "loc": { + "start": { + "line": 3, + "column": 28 + }, + "end": { + "line": 17, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 9, + 176 + ], + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 2, + 176 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 17, + "column": 1 + } + } + } + ], + "sourceType": "module", + "range": [ + 2, + 176 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/0-legacy/parse/index.js.json b/ast/source/0-legacy/parse/index.js.json new file mode 100644 index 0000000..4a5493d --- /dev/null +++ b/ast/source/0-legacy/parse/index.js.json @@ -0,0 +1,57 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./parse", + "raw": "'./parse'", + "range": [ + 14, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 23 + } + } + }, + "range": [ + 0, + 25 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 25 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 25 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 25 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/0-legacy/parse/parse.js.json b/ast/source/0-legacy/parse/parse.js.json new file mode 100644 index 0000000..fc522ea --- /dev/null +++ b/ast/source/0-legacy/parse/parse.js.json @@ -0,0 +1,2282 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "parse_t", + "range": [ + 263, + 270 + ], + "loc": { + "start": { + "line": 13, + "column": 16 + }, + "end": { + "line": 13, + "column": 23 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "t", + "range": [ + 273, + 274 + ], + "loc": { + "start": { + "line": 13, + "column": 26 + }, + "end": { + "line": 13, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "f", + "range": [ + 277, + 278 + ], + "loc": { + "start": { + "line": 13, + "column": 30 + }, + "end": { + "line": 13, + "column": 31 + } + } + }, + { + "type": "Identifier", + "name": "iter", + "range": [ + 281, + 285 + ], + "loc": { + "start": { + "line": 13, + "column": 34 + }, + "end": { + "line": 13, + "column": 38 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 295, + 296 + ], + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 5 + } + } + }, + "right": { + "type": "Identifier", + "name": "f", + "range": [ + 300, + 301 + ], + "loc": { + "start": { + "line": 15, + "column": 9 + }, + "end": { + "line": 15, + "column": 10 + } + } + }, + "range": [ + 295, + 301 + ], + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 10 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "Identifier", + "name": "f", + "range": [ + 310, + 311 + ], + "loc": { + "start": { + "line": 17, + "column": 5 + }, + "end": { + "line": 17, + "column": 6 + } + } + }, + "right": { + "type": "Literal", + "value": 36, + "raw": "36", + "range": [ + 314, + 316 + ], + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 11 + } + } + }, + "range": [ + 310, + 316 + ], + "loc": { + "start": { + "line": 17, + "column": 5 + }, + "end": { + "line": 17, + "column": 11 + } + } + }, + "consequent": { + "type": "ThrowStatement", + "argument": { + "type": "Literal", + "value": "f > 36 not implemented", + "raw": "'f > 36 not implemented'", + "range": [ + 324, + 348 + ], + "loc": { + "start": { + "line": 17, + "column": 19 + }, + "end": { + "line": 17, + "column": 43 + } + } + }, + "range": [ + 318, + 349 + ], + "loc": { + "start": { + "line": 17, + "column": 13 + }, + "end": { + "line": 17, + "column": 44 + } + } + }, + "alternate": null, + "range": [ + 307, + 349 + ], + "loc": { + "start": { + "line": 17, + "column": 2 + }, + "end": { + "line": 17, + "column": 44 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "z", + "range": [ + 357, + 358 + ], + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 7 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 361, + 362 + ], + "loc": { + "start": { + "line": 19, + "column": 10 + }, + "end": { + "line": 19, + "column": 11 + } + } + }, + "range": [ + 357, + 362 + ], + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 11 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "log", + "range": [ + 364, + 367 + ], + "loc": { + "start": { + "line": 19, + "column": 13 + }, + "end": { + "line": 19, + "column": 16 + } + } + }, + "init": { + "type": "Identifier", + "name": "t", + "range": [ + 370, + 371 + ], + "loc": { + "start": { + "line": 19, + "column": 19 + }, + "end": { + "line": 19, + "column": 20 + } + } + }, + "range": [ + 364, + 371 + ], + "loc": { + "start": { + "line": 19, + "column": 13 + }, + "end": { + "line": 19, + "column": 20 + } + } + } + ], + "kind": "var", + "range": [ + 353, + 372 + ], + "loc": { + "start": { + "line": 19, + "column": 2 + }, + "end": { + "line": 19, + "column": 21 + } + } + }, + { + "type": "WhileStatement", + "test": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "Identifier", + "name": "log", + "range": [ + 381, + 384 + ], + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 20, + "column": 11 + } + } + }, + "right": { + "type": "Identifier", + "name": "f", + "range": [ + 388, + 389 + ], + "loc": { + "start": { + "line": 20, + "column": 15 + }, + "end": { + "line": 20, + "column": 16 + } + } + }, + "range": [ + 381, + 389 + ], + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 20, + "column": 16 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "%", + "left": { + "type": "Identifier", + "name": "log", + "range": [ + 399, + 402 + ], + "loc": { + "start": { + "line": 21, + "column": 7 + }, + "end": { + "line": 21, + "column": 10 + } + } + }, + "right": { + "type": "Identifier", + "name": "f", + "range": [ + 405, + 406 + ], + "loc": { + "start": { + "line": 21, + "column": 13 + }, + "end": { + "line": 21, + "column": 14 + } + } + }, + "range": [ + 399, + 406 + ], + "loc": { + "start": { + "line": 21, + "column": 7 + }, + "end": { + "line": 21, + "column": 14 + } + } + }, + "consequent": { + "type": "BreakStatement", + "label": null, + "range": [ + 408, + 414 + ], + "loc": { + "start": { + "line": 21, + "column": 16 + }, + "end": { + "line": 21, + "column": 22 + } + } + }, + "alternate": null, + "range": [ + 395, + 414 + ], + "loc": { + "start": { + "line": 21, + "column": 3 + }, + "end": { + "line": 21, + "column": 22 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "/=", + "left": { + "type": "Identifier", + "name": "log", + "range": [ + 418, + 421 + ], + "loc": { + "start": { + "line": 22, + "column": 3 + }, + "end": { + "line": 22, + "column": 6 + } + } + }, + "right": { + "type": "Identifier", + "name": "f", + "range": [ + 425, + 426 + ], + "loc": { + "start": { + "line": 22, + "column": 10 + }, + "end": { + "line": 22, + "column": 11 + } + } + }, + "range": [ + 418, + 426 + ], + "loc": { + "start": { + "line": 22, + "column": 3 + }, + "end": { + "line": 22, + "column": 11 + } + } + }, + "range": [ + 418, + 427 + ], + "loc": { + "start": { + "line": 22, + "column": 3 + }, + "end": { + "line": 22, + "column": 12 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "z", + "range": [ + 433, + 434 + ], + "loc": { + "start": { + "line": 23, + "column": 5 + }, + "end": { + "line": 23, + "column": 6 + } + } + }, + "prefix": true, + "range": [ + 431, + 434 + ], + "loc": { + "start": { + "line": 23, + "column": 3 + }, + "end": { + "line": 23, + "column": 6 + } + } + }, + "range": [ + 431, + 435 + ], + "loc": { + "start": { + "line": 23, + "column": 3 + }, + "end": { + "line": 23, + "column": 7 + } + } + } + ], + "range": [ + 390, + 439 + ], + "loc": { + "start": { + "line": 20, + "column": 17 + }, + "end": { + "line": 24, + "column": 3 + } + } + }, + "range": [ + 375, + 439 + ], + "loc": { + "start": { + "line": 20, + "column": 2 + }, + "end": { + "line": 24, + "column": 3 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "log", + "range": [ + 447, + 450 + ], + "loc": { + "start": { + "line": 26, + "column": 6 + }, + "end": { + "line": 26, + "column": 9 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 455, + 456 + ], + "loc": { + "start": { + "line": 26, + "column": 14 + }, + "end": { + "line": 26, + "column": 15 + } + } + }, + "range": [ + 447, + 456 + ], + "loc": { + "start": { + "line": 26, + "column": 6 + }, + "end": { + "line": 26, + "column": 15 + } + } + }, + "consequent": { + "type": "ThrowStatement", + "argument": { + "type": "Literal", + "value": "log(f) does not divide log(t) not implemented", + "raw": "'log(f) does not divide log(t) not implemented'", + "range": [ + 464, + 511 + ], + "loc": { + "start": { + "line": 26, + "column": 23 + }, + "end": { + "line": 26, + "column": 70 + } + } + }, + "range": [ + 458, + 512 + ], + "loc": { + "start": { + "line": 26, + "column": 17 + }, + "end": { + "line": 26, + "column": 71 + } + } + }, + "alternate": null, + "range": [ + 443, + 512 + ], + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 26, + "column": 71 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " immediate log(t) divides log(f)", + "range": [ + 516, + 550 + ], + "loc": { + "start": { + "line": 28, + "column": 2 + }, + "end": { + "line": 28, + "column": 36 + } + } + } + ] + }, + { + "type": "ReturnStatement", + "argument": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "s", + "range": [ + 569, + 570 + ], + "loc": { + "start": { + "line": 29, + "column": 18 + }, + "end": { + "line": 29, + "column": 19 + } + } + }, + { + "type": "Identifier", + "name": "si", + "range": [ + 572, + 574 + ], + "loc": { + "start": { + "line": 29, + "column": 21 + }, + "end": { + "line": 29, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "sj", + "range": [ + 576, + 578 + ], + "loc": { + "start": { + "line": 29, + "column": 25 + }, + "end": { + "line": 29, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 580, + 581 + ], + "loc": { + "start": { + "line": 29, + "column": 29 + }, + "end": { + "line": 29, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 583, + 585 + ], + "loc": { + "start": { + "line": 29, + "column": 32 + }, + "end": { + "line": 29, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 587, + 589 + ], + "loc": { + "start": { + "line": 29, + "column": 36 + }, + "end": { + "line": 29, + "column": 38 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "len", + "range": [ + 599, + 602 + ], + "loc": { + "start": { + "line": 30, + "column": 7 + }, + "end": { + "line": 30, + "column": 10 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "sj", + "range": [ + 605, + 607 + ], + "loc": { + "start": { + "line": 30, + "column": 13 + }, + "end": { + "line": 30, + "column": 15 + } + } + }, + "right": { + "type": "Identifier", + "name": "si", + "range": [ + 610, + 612 + ], + "loc": { + "start": { + "line": 30, + "column": 18 + }, + "end": { + "line": 30, + "column": 20 + } + } + }, + "range": [ + 605, + 612 + ], + "loc": { + "start": { + "line": 30, + "column": 13 + }, + "end": { + "line": 30, + "column": 20 + } + } + }, + "range": [ + 599, + 612 + ], + "loc": { + "start": { + "line": 30, + "column": 7 + }, + "end": { + "line": 30, + "column": 20 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "k", + "range": [ + 614, + 615 + ], + "loc": { + "start": { + "line": 30, + "column": 22 + }, + "end": { + "line": 30, + "column": 23 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "sj", + "range": [ + 618, + 620 + ], + "loc": { + "start": { + "line": 30, + "column": 26 + }, + "end": { + "line": 30, + "column": 28 + } + } + }, + "right": { + "type": "Identifier", + "name": "z", + "range": [ + 623, + 624 + ], + "loc": { + "start": { + "line": 30, + "column": 31 + }, + "end": { + "line": 30, + "column": 32 + } + } + }, + "range": [ + 618, + 624 + ], + "loc": { + "start": { + "line": 30, + "column": 26 + }, + "end": { + "line": 30, + "column": 32 + } + } + }, + "range": [ + 614, + 624 + ], + "loc": { + "start": { + "line": 30, + "column": 22 + }, + "end": { + "line": 30, + "column": 32 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "n", + "range": [ + 626, + 627 + ], + "loc": { + "start": { + "line": 30, + "column": 34 + }, + "end": { + "line": 30, + "column": 35 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Math", + "range": [ + 630, + 634 + ], + "loc": { + "start": { + "line": 30, + "column": 38 + }, + "end": { + "line": 30, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "ceil", + "range": [ + 635, + 639 + ], + "loc": { + "start": { + "line": 30, + "column": 43 + }, + "end": { + "line": 30, + "column": 47 + } + } + }, + "range": [ + 630, + 639 + ], + "loc": { + "start": { + "line": 30, + "column": 38 + }, + "end": { + "line": 30, + "column": 47 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "Identifier", + "name": "len", + "range": [ + 640, + 643 + ], + "loc": { + "start": { + "line": 30, + "column": 48 + }, + "end": { + "line": 30, + "column": 51 + } + } + }, + "right": { + "type": "Identifier", + "name": "z", + "range": [ + 646, + 647 + ], + "loc": { + "start": { + "line": 30, + "column": 54 + }, + "end": { + "line": 30, + "column": 55 + } + } + }, + "range": [ + 640, + 647 + ], + "loc": { + "start": { + "line": 30, + "column": 48 + }, + "end": { + "line": 30, + "column": 55 + } + } + } + ], + "range": [ + 630, + 648 + ], + "loc": { + "start": { + "line": 30, + "column": 38 + }, + "end": { + "line": 30, + "column": 56 + } + } + }, + "range": [ + 626, + 648 + ], + "loc": { + "start": { + "line": 30, + "column": 34 + }, + "end": { + "line": 30, + "column": 56 + } + } + } + ], + "kind": "var", + "range": [ + 595, + 649 + ], + "loc": { + "start": { + "line": 30, + "column": 3 + }, + "end": { + "line": 30, + "column": 57 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "block", + "range": [ + 657, + 662 + ], + "loc": { + "start": { + "line": 31, + "column": 7 + }, + "end": { + "line": 31, + "column": 12 + } + } + }, + "init": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "i", + "range": [ + 674, + 675 + ], + "loc": { + "start": { + "line": 31, + "column": 24 + }, + "end": { + "line": 31, + "column": 25 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 682, + 683 + ], + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 5 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 684, + 685 + ], + "loc": { + "start": { + "line": 32, + "column": 6 + }, + "end": { + "line": 32, + "column": 7 + } + } + }, + "range": [ + 682, + 686 + ], + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 8 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseInt", + "range": [ + 689, + 697 + ], + "loc": { + "start": { + "line": 32, + "column": 11 + }, + "end": { + "line": 32, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "s", + "range": [ + 698, + 699 + ], + "loc": { + "start": { + "line": 32, + "column": 20 + }, + "end": { + "line": 32, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "slice", + "range": [ + 700, + 705 + ], + "loc": { + "start": { + "line": 32, + "column": 22 + }, + "end": { + "line": 32, + "column": 27 + } + } + }, + "range": [ + 698, + 705 + ], + "loc": { + "start": { + "line": 32, + "column": 20 + }, + "end": { + "line": 32, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Math", + "range": [ + 706, + 710 + ], + "loc": { + "start": { + "line": 32, + "column": 28 + }, + "end": { + "line": 32, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "max", + "range": [ + 711, + 714 + ], + "loc": { + "start": { + "line": 32, + "column": 33 + }, + "end": { + "line": 32, + "column": 36 + } + } + }, + "range": [ + 706, + 714 + ], + "loc": { + "start": { + "line": 32, + "column": 28 + }, + "end": { + "line": 32, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 715, + 716 + ], + "loc": { + "start": { + "line": 32, + "column": 37 + }, + "end": { + "line": 32, + "column": 38 + } + } + }, + { + "type": "Identifier", + "name": "k", + "range": [ + 718, + 719 + ], + "loc": { + "start": { + "line": 32, + "column": 40 + }, + "end": { + "line": 32, + "column": 41 + } + } + } + ], + "range": [ + 706, + 720 + ], + "loc": { + "start": { + "line": 32, + "column": 28 + }, + "end": { + "line": 32, + "column": 42 + } + } + }, + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 722, + 723 + ], + "loc": { + "start": { + "line": 32, + "column": 44 + }, + "end": { + "line": 32, + "column": 45 + } + } + }, + "right": { + "type": "Identifier", + "name": "z", + "range": [ + 726, + 727 + ], + "loc": { + "start": { + "line": 32, + "column": 48 + }, + "end": { + "line": 32, + "column": 49 + } + } + }, + "range": [ + 722, + 727 + ], + "loc": { + "start": { + "line": 32, + "column": 44 + }, + "end": { + "line": 32, + "column": 49 + } + } + } + ], + "range": [ + 698, + 728 + ], + "loc": { + "start": { + "line": 32, + "column": 20 + }, + "end": { + "line": 32, + "column": 50 + } + } + }, + { + "type": "Identifier", + "name": "f", + "range": [ + 730, + 731 + ], + "loc": { + "start": { + "line": 32, + "column": 52 + }, + "end": { + "line": 32, + "column": 53 + } + } + } + ], + "range": [ + 689, + 732 + ], + "loc": { + "start": { + "line": 32, + "column": 11 + }, + "end": { + "line": 32, + "column": 54 + } + } + }, + "range": [ + 682, + 732 + ], + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 54 + } + } + }, + "range": [ + 682, + 733 + ], + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 55 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "-=", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 738, + 739 + ], + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 5 + } + } + }, + "right": { + "type": "Identifier", + "name": "z", + "range": [ + 743, + 744 + ], + "loc": { + "start": { + "line": 33, + "column": 9 + }, + "end": { + "line": 33, + "column": 10 + } + } + }, + "range": [ + 738, + 744 + ], + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 10 + } + } + }, + "range": [ + 738, + 745 + ], + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 11 + } + } + } + ], + "range": [ + 676, + 750 + ], + "loc": { + "start": { + "line": 31, + "column": 26 + }, + "end": { + "line": 34, + "column": 4 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 665, + 750 + ], + "loc": { + "start": { + "line": 31, + "column": 15 + }, + "end": { + "line": 34, + "column": 4 + } + } + }, + "range": [ + 657, + 750 + ], + "loc": { + "start": { + "line": 31, + "column": 7 + }, + "end": { + "line": 34, + "column": 4 + } + } + } + ], + "kind": "var", + "range": [ + 653, + 751 + ], + "loc": { + "start": { + "line": 31, + "column": 3 + }, + "end": { + "line": 34, + "column": 5 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "iter", + "range": [ + 756, + 760 + ], + "loc": { + "start": { + "line": 36, + "column": 3 + }, + "end": { + "line": 36, + "column": 7 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "aj", + "range": [ + 761, + 763 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 10 + } + } + }, + "right": { + "type": "Identifier", + "name": "n", + "range": [ + 766, + 767 + ], + "loc": { + "start": { + "line": 36, + "column": 13 + }, + "end": { + "line": 36, + "column": 14 + } + } + }, + "range": [ + 761, + 767 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 14 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 769, + 771 + ], + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 18 + } + } + }, + { + "type": "Identifier", + "name": "block", + "range": [ + 773, + 778 + ], + "loc": { + "start": { + "line": 36, + "column": 20 + }, + "end": { + "line": 36, + "column": 25 + } + } + } + ], + "range": [ + 756, + 779 + ], + "loc": { + "start": { + "line": 36, + "column": 3 + }, + "end": { + "line": 36, + "column": 26 + } + } + }, + "range": [ + 756, + 780 + ], + "loc": { + "start": { + "line": 36, + "column": 3 + }, + "end": { + "line": 36, + "column": 27 + } + } + } + ], + "range": [ + 590, + 785 + ], + "loc": { + "start": { + "line": 29, + "column": 39 + }, + "end": { + "line": 38, + "column": 3 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 560, + 785 + ], + "loc": { + "start": { + "line": 29, + "column": 9 + }, + "end": { + "line": 38, + "column": 3 + } + } + }, + "range": [ + 553, + 786 + ], + "loc": { + "start": { + "line": 29, + "column": 2 + }, + "end": { + "line": 38, + "column": 4 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " immediate log(t) divides log(f)", + "range": [ + 516, + 550 + ], + "loc": { + "start": { + "line": 28, + "column": 2 + }, + "end": { + "line": 28, + "column": 36 + } + } + } + ] + } + ], + "range": [ + 302, + 790 + ], + "loc": { + "start": { + "line": 15, + "column": 11 + }, + "end": { + "line": 40, + "column": 2 + } + } + }, + "alternate": { + "type": "ThrowStatement", + "argument": { + "type": "Literal", + "value": "f > t not implemented", + "raw": "'f > t not implemented'", + "range": [ + 803, + 826 + ], + "loc": { + "start": { + "line": 41, + "column": 12 + }, + "end": { + "line": 41, + "column": 35 + } + } + }, + "range": [ + 797, + 827 + ], + "loc": { + "start": { + "line": 41, + "column": 6 + }, + "end": { + "line": 41, + "column": 36 + } + } + }, + "range": [ + 292, + 827 + ], + "loc": { + "start": { + "line": 15, + "column": 1 + }, + "end": { + "line": 41, + "column": 36 + } + } + } + ], + "range": [ + 288, + 831 + ], + "loc": { + "start": { + "line": 13, + "column": 41 + }, + "end": { + "line": 44, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 254, + 831 + ], + "loc": { + "start": { + "line": 13, + "column": 7 + }, + "end": { + "line": 44, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Function template for number parsing.\n * Endianess provided by the iterator function\n * iterator function must be reverse ordered\n *\n * @param {int} f from radix\n * @param {int} t to radix\n * @param {function} iter iterator function\n ", + "range": [ + 1, + 244 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 247, + 831 + ], + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 44, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Function template for number parsing.\n * Endianess provided by the iterator function\n * iterator function must be reverse ordered\n *\n * @param {int} f from radix\n * @param {int} t to radix\n * @param {function} iter iterator function\n ", + "range": [ + 1, + 244 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 247, + 831 + ], + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 44, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Function template for number parsing.\n * Endianess provided by the iterator function\n * iterator function must be reverse ordered\n *\n * @param {int} f from radix\n * @param {int} t to radix\n * @param {function} iter iterator function\n ", + "range": [ + 1, + 244 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + }, + { + "type": "Line", + "value": " immediate log(t) divides log(f)", + "range": [ + 516, + 550 + ], + "loc": { + "start": { + "line": 28, + "column": 2 + }, + "end": { + "line": 28, + "column": 36 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/0-legacy/stringify/index.js.json b/ast/source/0-legacy/stringify/index.js.json new file mode 100644 index 0000000..2b00683 --- /dev/null +++ b/ast/source/0-legacy/stringify/index.js.json @@ -0,0 +1,57 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./stringify", + "raw": "'./stringify'", + "range": [ + 14, + 27 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 27 + } + } + }, + "range": [ + 0, + 29 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 29 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 29 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 29 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/0-legacy/stringify/stringify.js.json b/ast/source/0-legacy/stringify/stringify.js.json new file mode 100644 index 0000000..88d05fa --- /dev/null +++ b/ast/source/0-legacy/stringify/stringify.js.json @@ -0,0 +1,1816 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "stringify_t", + "range": [ + 226, + 237 + ], + "loc": { + "start": { + "line": 12, + "column": 16 + }, + "end": { + "line": 12, + "column": 27 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "f", + "range": [ + 239, + 240 + ], + "loc": { + "start": { + "line": 12, + "column": 29 + }, + "end": { + "line": 12, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 242, + 243 + ], + "loc": { + "start": { + "line": 12, + "column": 32 + }, + "end": { + "line": 12, + "column": 33 + } + } + }, + { + "type": "Identifier", + "name": "iter", + "range": [ + 245, + 249 + ], + "loc": { + "start": { + "line": 12, + "column": 35 + }, + "end": { + "line": 12, + "column": 39 + } + } + }, + { + "type": "Identifier", + "name": "zfill_t", + "range": [ + 251, + 258 + ], + "loc": { + "start": { + "line": 12, + "column": 41 + }, + "end": { + "line": 12, + "column": 48 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "<=", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 266, + 267 + ], + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 14, + "column": 5 + } + } + }, + "right": { + "type": "Identifier", + "name": "f", + "range": [ + 271, + 272 + ], + "loc": { + "start": { + "line": 14, + "column": 9 + }, + "end": { + "line": 14, + "column": 10 + } + } + }, + "range": [ + 266, + 272 + ], + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 14, + "column": 10 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 281, + 282 + ], + "loc": { + "start": { + "line": 16, + "column": 5 + }, + "end": { + "line": 16, + "column": 6 + } + } + }, + "right": { + "type": "Literal", + "value": 36, + "raw": "36", + "range": [ + 285, + 287 + ], + "loc": { + "start": { + "line": 16, + "column": 9 + }, + "end": { + "line": 16, + "column": 11 + } + } + }, + "range": [ + 281, + 287 + ], + "loc": { + "start": { + "line": 16, + "column": 5 + }, + "end": { + "line": 16, + "column": 11 + } + } + }, + "consequent": { + "type": "ThrowStatement", + "argument": { + "type": "Literal", + "value": "t > 36 not implemented", + "raw": "'t > 36 not implemented'", + "range": [ + 295, + 319 + ], + "loc": { + "start": { + "line": 16, + "column": 19 + }, + "end": { + "line": 16, + "column": 43 + } + } + }, + "range": [ + 289, + 320 + ], + "loc": { + "start": { + "line": 16, + "column": 13 + }, + "end": { + "line": 16, + "column": 44 + } + } + }, + "alternate": null, + "range": [ + 278, + 320 + ], + "loc": { + "start": { + "line": 16, + "column": 2 + }, + "end": { + "line": 16, + "column": 44 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "z", + "range": [ + 328, + 329 + ], + "loc": { + "start": { + "line": 18, + "column": 6 + }, + "end": { + "line": 18, + "column": 7 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 332, + 333 + ], + "loc": { + "start": { + "line": 18, + "column": 10 + }, + "end": { + "line": 18, + "column": 11 + } + } + }, + "range": [ + 328, + 333 + ], + "loc": { + "start": { + "line": 18, + "column": 6 + }, + "end": { + "line": 18, + "column": 11 + } + } + } + ], + "kind": "var", + "range": [ + 324, + 334 + ], + "loc": { + "start": { + "line": 18, + "column": 2 + }, + "end": { + "line": 18, + "column": 12 + } + } + }, + { + "type": "WhileStatement", + "test": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "Identifier", + "name": "f", + "range": [ + 343, + 344 + ], + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 9 + } + } + }, + "right": { + "type": "Identifier", + "name": "t", + "range": [ + 348, + 349 + ], + "loc": { + "start": { + "line": 19, + "column": 13 + }, + "end": { + "line": 19, + "column": 14 + } + } + }, + "range": [ + 343, + 349 + ], + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 14 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "%", + "left": { + "type": "Identifier", + "name": "f", + "range": [ + 358, + 359 + ], + "loc": { + "start": { + "line": 20, + "column": 6 + }, + "end": { + "line": 20, + "column": 7 + } + } + }, + "right": { + "type": "Identifier", + "name": "t", + "range": [ + 362, + 363 + ], + "loc": { + "start": { + "line": 20, + "column": 10 + }, + "end": { + "line": 20, + "column": 11 + } + } + }, + "range": [ + 358, + 363 + ], + "loc": { + "start": { + "line": 20, + "column": 6 + }, + "end": { + "line": 20, + "column": 11 + } + } + }, + "consequent": { + "type": "BreakStatement", + "label": null, + "range": [ + 365, + 371 + ], + "loc": { + "start": { + "line": 20, + "column": 13 + }, + "end": { + "line": 20, + "column": 19 + } + } + }, + "alternate": null, + "range": [ + 355, + 371 + ], + "loc": { + "start": { + "line": 20, + "column": 3 + }, + "end": { + "line": 20, + "column": 19 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "/=", + "left": { + "type": "Identifier", + "name": "f", + "range": [ + 375, + 376 + ], + "loc": { + "start": { + "line": 21, + "column": 3 + }, + "end": { + "line": 21, + "column": 4 + } + } + }, + "right": { + "type": "Identifier", + "name": "t", + "range": [ + 380, + 381 + ], + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 9 + } + } + }, + "range": [ + 375, + 381 + ], + "loc": { + "start": { + "line": 21, + "column": 3 + }, + "end": { + "line": 21, + "column": 9 + } + } + }, + "range": [ + 375, + 382 + ], + "loc": { + "start": { + "line": 21, + "column": 3 + }, + "end": { + "line": 21, + "column": 10 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "z", + "range": [ + 388, + 389 + ], + "loc": { + "start": { + "line": 22, + "column": 5 + }, + "end": { + "line": 22, + "column": 6 + } + } + }, + "prefix": true, + "range": [ + 386, + 389 + ], + "loc": { + "start": { + "line": 22, + "column": 3 + }, + "end": { + "line": 22, + "column": 6 + } + } + }, + "range": [ + 386, + 390 + ], + "loc": { + "start": { + "line": 22, + "column": 3 + }, + "end": { + "line": 22, + "column": 7 + } + } + } + ], + "range": [ + 350, + 394 + ], + "loc": { + "start": { + "line": 19, + "column": 15 + }, + "end": { + "line": 23, + "column": 3 + } + } + }, + "range": [ + 337, + 394 + ], + "loc": { + "start": { + "line": 19, + "column": 2 + }, + "end": { + "line": 23, + "column": 3 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "f", + "range": [ + 401, + 402 + ], + "loc": { + "start": { + "line": 25, + "column": 5 + }, + "end": { + "line": 25, + "column": 6 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 407, + 408 + ], + "loc": { + "start": { + "line": 25, + "column": 11 + }, + "end": { + "line": 25, + "column": 12 + } + } + }, + "range": [ + 401, + 408 + ], + "loc": { + "start": { + "line": 25, + "column": 5 + }, + "end": { + "line": 25, + "column": 12 + } + } + }, + "consequent": { + "type": "ThrowStatement", + "argument": { + "type": "Literal", + "value": "log(t) does not divide log(f) not implemented", + "raw": "'log(t) does not divide log(f) not implemented'", + "range": [ + 416, + 463 + ], + "loc": { + "start": { + "line": 25, + "column": 20 + }, + "end": { + "line": 25, + "column": 67 + } + } + }, + "range": [ + 410, + 464 + ], + "loc": { + "start": { + "line": 25, + "column": 14 + }, + "end": { + "line": 25, + "column": 68 + } + } + }, + "alternate": null, + "range": [ + 398, + 464 + ], + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 68 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "zfill", + "range": [ + 472, + 477 + ], + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 11 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "zfill_t", + "range": [ + 480, + 487 + ], + "loc": { + "start": { + "line": 27, + "column": 14 + }, + "end": { + "line": 27, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "z", + "range": [ + 488, + 489 + ], + "loc": { + "start": { + "line": 27, + "column": 22 + }, + "end": { + "line": 27, + "column": 23 + } + } + } + ], + "range": [ + 480, + 490 + ], + "loc": { + "start": { + "line": 27, + "column": 14 + }, + "end": { + "line": 27, + "column": 24 + } + } + }, + "range": [ + 472, + 490 + ], + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 24 + } + } + } + ], + "kind": "var", + "range": [ + 468, + 491 + ], + "loc": { + "start": { + "line": 27, + "column": 2 + }, + "end": { + "line": 27, + "column": 25 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 511, + 512 + ], + "loc": { + "start": { + "line": 29, + "column": 18 + }, + "end": { + "line": 29, + "column": 19 + } + } + }, + { + "type": "Identifier", + "name": "i0", + "range": [ + 514, + 516 + ], + "loc": { + "start": { + "line": 29, + "column": 21 + }, + "end": { + "line": 29, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "i1", + "range": [ + 518, + 520 + ], + "loc": { + "start": { + "line": 29, + "column": 25 + }, + "end": { + "line": 29, + "column": 27 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "s", + "range": [ + 530, + 531 + ], + "loc": { + "start": { + "line": 30, + "column": 7 + }, + "end": { + "line": 30, + "column": 8 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 534, + 536 + ], + "loc": { + "start": { + "line": 30, + "column": 11 + }, + "end": { + "line": 30, + "column": 13 + } + } + }, + "range": [ + 530, + 536 + ], + "loc": { + "start": { + "line": 30, + "column": 7 + }, + "end": { + "line": 30, + "column": 13 + } + } + } + ], + "kind": "var", + "range": [ + 526, + 537 + ], + "loc": { + "start": { + "line": 30, + "column": 3 + }, + "end": { + "line": 30, + "column": 14 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "iter", + "range": [ + 541, + 545 + ], + "loc": { + "start": { + "line": 31, + "column": 3 + }, + "end": { + "line": 31, + "column": 7 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "i0", + "range": [ + 546, + 548 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 31, + "column": 10 + } + } + }, + { + "type": "Identifier", + "name": "i1", + "range": [ + 550, + 552 + ], + "loc": { + "start": { + "line": 31, + "column": 12 + }, + "end": { + "line": 31, + "column": 14 + } + } + }, + { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "i", + "range": [ + 563, + 564 + ], + "loc": { + "start": { + "line": 31, + "column": 25 + }, + "end": { + "line": 31, + "column": 26 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "s", + "range": [ + 571, + 572 + ], + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 5 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 573, + 577 + ], + "loc": { + "start": { + "line": 32, + "column": 6 + }, + "end": { + "line": 32, + "column": 10 + } + } + }, + "range": [ + 571, + 577 + ], + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 10 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "zfill", + "range": [ + 578, + 583 + ], + "loc": { + "start": { + "line": 32, + "column": 11 + }, + "end": { + "line": 32, + "column": 16 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Number", + "range": [ + 584, + 590 + ], + "loc": { + "start": { + "line": 32, + "column": 17 + }, + "end": { + "line": 32, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "UnaryExpression", + "operator": "+", + "argument": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 592, + 593 + ], + "loc": { + "start": { + "line": 32, + "column": 25 + }, + "end": { + "line": 32, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 594, + 595 + ], + "loc": { + "start": { + "line": 32, + "column": 27 + }, + "end": { + "line": 32, + "column": 28 + } + } + }, + "range": [ + 592, + 596 + ], + "loc": { + "start": { + "line": 32, + "column": 25 + }, + "end": { + "line": 32, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 591, + 596 + ], + "loc": { + "start": { + "line": 32, + "column": 24 + }, + "end": { + "line": 32, + "column": 29 + } + } + } + ], + "range": [ + 584, + 597 + ], + "loc": { + "start": { + "line": 32, + "column": 17 + }, + "end": { + "line": 32, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "toString", + "range": [ + 598, + 606 + ], + "loc": { + "start": { + "line": 32, + "column": 31 + }, + "end": { + "line": 32, + "column": 39 + } + } + }, + "range": [ + 584, + 606 + ], + "loc": { + "start": { + "line": 32, + "column": 17 + }, + "end": { + "line": 32, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "t", + "range": [ + 607, + 608 + ], + "loc": { + "start": { + "line": 32, + "column": 40 + }, + "end": { + "line": 32, + "column": 41 + } + } + } + ], + "range": [ + 584, + 609 + ], + "loc": { + "start": { + "line": 32, + "column": 17 + }, + "end": { + "line": 32, + "column": 42 + } + } + } + ], + "range": [ + 578, + 610 + ], + "loc": { + "start": { + "line": 32, + "column": 11 + }, + "end": { + "line": 32, + "column": 43 + } + } + } + ], + "range": [ + 571, + 611 + ], + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 44 + } + } + }, + "range": [ + 571, + 612 + ], + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 45 + } + } + } + ], + "range": [ + 565, + 617 + ], + "loc": { + "start": { + "line": 31, + "column": 27 + }, + "end": { + "line": 33, + "column": 4 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 554, + 617 + ], + "loc": { + "start": { + "line": 31, + "column": 16 + }, + "end": { + "line": 33, + "column": 4 + } + } + } + ], + "range": [ + 541, + 618 + ], + "loc": { + "start": { + "line": 31, + "column": 3 + }, + "end": { + "line": 33, + "column": 5 + } + } + }, + "range": [ + 541, + 619 + ], + "loc": { + "start": { + "line": 31, + "column": 3 + }, + "end": { + "line": 33, + "column": 6 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "s", + "range": [ + 630, + 631 + ], + "loc": { + "start": { + "line": 34, + "column": 10 + }, + "end": { + "line": 34, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "join", + "range": [ + 632, + 636 + ], + "loc": { + "start": { + "line": 34, + "column": 12 + }, + "end": { + "line": 34, + "column": 16 + } + } + }, + "range": [ + 630, + 636 + ], + "loc": { + "start": { + "line": 34, + "column": 10 + }, + "end": { + "line": 34, + "column": 16 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 637, + 639 + ], + "loc": { + "start": { + "line": 34, + "column": 17 + }, + "end": { + "line": 34, + "column": 19 + } + } + } + ], + "range": [ + 630, + 640 + ], + "loc": { + "start": { + "line": 34, + "column": 10 + }, + "end": { + "line": 34, + "column": 20 + } + } + }, + "range": [ + 623, + 641 + ], + "loc": { + "start": { + "line": 34, + "column": 3 + }, + "end": { + "line": 34, + "column": 21 + } + } + } + ], + "range": [ + 521, + 645 + ], + "loc": { + "start": { + "line": 29, + "column": 28 + }, + "end": { + "line": 35, + "column": 3 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 502, + 645 + ], + "loc": { + "start": { + "line": 29, + "column": 9 + }, + "end": { + "line": 35, + "column": 3 + } + } + }, + "range": [ + 495, + 646 + ], + "loc": { + "start": { + "line": 29, + "column": 2 + }, + "end": { + "line": 35, + "column": 4 + } + } + } + ], + "range": [ + 273, + 650 + ], + "loc": { + "start": { + "line": 14, + "column": 11 + }, + "end": { + "line": 37, + "column": 2 + } + } + }, + "alternate": { + "type": "ThrowStatement", + "argument": { + "type": "Literal", + "value": "t > f not implemented", + "raw": "'t > f not implemented'", + "range": [ + 663, + 686 + ], + "loc": { + "start": { + "line": 38, + "column": 12 + }, + "end": { + "line": 38, + "column": 35 + } + } + }, + "range": [ + 657, + 687 + ], + "loc": { + "start": { + "line": 38, + "column": 6 + }, + "end": { + "line": 38, + "column": 36 + } + } + }, + "range": [ + 263, + 687 + ], + "loc": { + "start": { + "line": 14, + "column": 1 + }, + "end": { + "line": 38, + "column": 36 + } + } + } + ], + "range": [ + 259, + 690 + ], + "loc": { + "start": { + "line": 12, + "column": 49 + }, + "end": { + "line": 40, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 217, + 690 + ], + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 40, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Function template for number stringification.\n * Endianess provided by the iterator function\n *\n * @param {int} f from radix\n * @param {int} t to radix\n * @param {function} iter iterator function\n ", + "range": [ + 1, + 207 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 9, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 210, + 690 + ], + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 40, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Function template for number stringification.\n * Endianess provided by the iterator function\n *\n * @param {int} f from radix\n * @param {int} t to radix\n * @param {function} iter iterator function\n ", + "range": [ + 1, + 207 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 9, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 210, + 690 + ], + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 40, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Function template for number stringification.\n * Endianess provided by the iterator function\n *\n * @param {int} f from radix\n * @param {int} t to radix\n * @param {function} iter iterator function\n ", + "range": [ + 1, + 207 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 9, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/1-new/arithmetic/div/_div.js.json b/ast/source/1-new/arithmetic/div/_div.js.json new file mode 100644 index 0000000..6666475 --- /dev/null +++ b/ast/source/1-new/arithmetic/div/_div.js.json @@ -0,0 +1,2923 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_sub", + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_sub", + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../sub", + "raw": "'../sub'", + "range": [ + 21, + 29 + ], + "loc": { + "start": { + "line": 1, + "column": 21 + }, + "end": { + "line": 1, + "column": 29 + } + } + }, + "range": [ + 0, + 31 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 31 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_lt", + "range": [ + 41, + 44 + ], + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_lt", + "range": [ + 41, + 44 + ], + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 12 + } + } + }, + "range": [ + 41, + 44 + ], + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 12 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../../compare", + "raw": "'../../compare'", + "range": [ + 52, + 67 + ], + "loc": { + "start": { + "line": 2, + "column": 20 + }, + "end": { + "line": 2, + "column": 35 + } + } + }, + "range": [ + 32, + 69 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 37 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Computes quotient and remainder of two big endian arrays.\n *

      \n * Computes quotient and remainder of two big endian arrays\n * using long division algorithm (the one teached in\n * european primary schools).\n *\n * /!\\ This algorithm modifies its first operand.\n *\n * HYP : q is at least as large as r\n * b is not zero\n *\n * @param {int} x the radix\n * @param {array} r dividend and remainder\n * @param {int} ri r left\n * @param {int} rj r right\n * @param {array} b divisor\n * @param {int} bi b left\n * @param {int} bj b right\n * @param {array} q quotient, must be 0 initialized\n * @param {int} qi q left\n ", + "range": [ + 71, + 691 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 25, + "column": 3 + } + } + }, + { + "type": "Line", + "value": " /!\\ There are implicit hypotheses", + "range": [ + 693, + 729 + ], + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 27, + "column": 36 + } + } + }, + { + "type": "Line", + "value": " made on the size of the operands.", + "range": [ + 730, + 770 + ], + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 28, + "column": 40 + } + } + }, + { + "type": "Line", + "value": " Should clarify.", + "range": [ + 771, + 793 + ], + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 29, + "column": 22 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "_div", + "range": [ + 811, + 815 + ], + "loc": { + "start": { + "line": 31, + "column": 16 + }, + "end": { + "line": 31, + "column": 20 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "x", + "range": [ + 818, + 819 + ], + "loc": { + "start": { + "line": 31, + "column": 23 + }, + "end": { + "line": 31, + "column": 24 + } + } + }, + { + "type": "Identifier", + "name": "r", + "range": [ + 822, + 823 + ], + "loc": { + "start": { + "line": 31, + "column": 27 + }, + "end": { + "line": 31, + "column": 28 + } + } + }, + { + "type": "Identifier", + "name": "ri", + "range": [ + 826, + 828 + ], + "loc": { + "start": { + "line": 31, + "column": 31 + }, + "end": { + "line": 31, + "column": 33 + } + } + }, + { + "type": "Identifier", + "name": "rj", + "range": [ + 831, + 833 + ], + "loc": { + "start": { + "line": 31, + "column": 36 + }, + "end": { + "line": 31, + "column": 38 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 836, + 837 + ], + "loc": { + "start": { + "line": 31, + "column": 41 + }, + "end": { + "line": 31, + "column": 42 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 840, + 842 + ], + "loc": { + "start": { + "line": 31, + "column": 45 + }, + "end": { + "line": 31, + "column": 47 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 845, + 847 + ], + "loc": { + "start": { + "line": 31, + "column": 50 + }, + "end": { + "line": 31, + "column": 52 + } + } + }, + { + "type": "Identifier", + "name": "q", + "range": [ + 850, + 851 + ], + "loc": { + "start": { + "line": 31, + "column": 55 + }, + "end": { + "line": 31, + "column": 56 + } + } + }, + { + "type": "Identifier", + "name": "qi", + "range": [ + 854, + 856 + ], + "loc": { + "start": { + "line": 31, + "column": 59 + }, + "end": { + "line": 31, + "column": 61 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "k", + "range": [ + 867, + 868 + ], + "loc": { + "start": { + "line": 33, + "column": 5 + }, + "end": { + "line": 33, + "column": 6 + } + } + }, + "init": null, + "range": [ + 867, + 868 + ], + "loc": { + "start": { + "line": 33, + "column": 5 + }, + "end": { + "line": 33, + "column": 6 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "t", + "range": [ + 870, + 871 + ], + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 33, + "column": 9 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "ri", + "range": [ + 874, + 876 + ], + "loc": { + "start": { + "line": 33, + "column": 12 + }, + "end": { + "line": 33, + "column": 14 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 879, + 880 + ], + "loc": { + "start": { + "line": 33, + "column": 17 + }, + "end": { + "line": 33, + "column": 18 + } + } + }, + "range": [ + 874, + 880 + ], + "loc": { + "start": { + "line": 33, + "column": 12 + }, + "end": { + "line": 33, + "column": 18 + } + } + }, + "range": [ + 870, + 880 + ], + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 33, + "column": 18 + } + } + } + ], + "kind": "var", + "range": [ + 863, + 881 + ], + "loc": { + "start": { + "line": 33, + "column": 1 + }, + "end": { + "line": 33, + "column": 19 + } + } + }, + { + "type": "DoWhileStatement", + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "WhileStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "ri", + "range": [ + 1118, + 1120 + ], + "loc": { + "start": { + "line": 41, + "column": 9 + }, + "end": { + "line": 41, + "column": 11 + } + } + }, + "right": { + "type": "Identifier", + "name": "rj", + "range": [ + 1123, + 1125 + ], + "loc": { + "start": { + "line": 41, + "column": 14 + }, + "end": { + "line": 41, + "column": 16 + } + } + }, + "range": [ + 1118, + 1125 + ], + "loc": { + "start": { + "line": 41, + "column": 9 + }, + "end": { + "line": 41, + "column": 16 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "r", + "range": [ + 1129, + 1130 + ], + "loc": { + "start": { + "line": 41, + "column": 20 + }, + "end": { + "line": 41, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "ri", + "range": [ + 1131, + 1133 + ], + "loc": { + "start": { + "line": 41, + "column": 22 + }, + "end": { + "line": 41, + "column": 24 + } + } + }, + "range": [ + 1129, + 1134 + ], + "loc": { + "start": { + "line": 41, + "column": 20 + }, + "end": { + "line": 41, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 1139, + 1140 + ], + "loc": { + "start": { + "line": 41, + "column": 30 + }, + "end": { + "line": 41, + "column": 31 + } + } + }, + "range": [ + 1129, + 1140 + ], + "loc": { + "start": { + "line": 41, + "column": 20 + }, + "end": { + "line": 41, + "column": 31 + } + } + }, + "range": [ + 1118, + 1140 + ], + "loc": { + "start": { + "line": 41, + "column": 9 + }, + "end": { + "line": 41, + "column": 31 + } + } + }, + "body": { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "ri", + "range": [ + 1144, + 1146 + ], + "loc": { + "start": { + "line": 41, + "column": 35 + }, + "end": { + "line": 41, + "column": 37 + } + } + }, + "prefix": true, + "range": [ + 1142, + 1146 + ], + "loc": { + "start": { + "line": 41, + "column": 33 + }, + "end": { + "line": 41, + "column": 37 + } + } + }, + "range": [ + 1142, + 1147 + ], + "loc": { + "start": { + "line": 41, + "column": 33 + }, + "end": { + "line": 41, + "column": 38 + } + } + }, + "range": [ + 1111, + 1147 + ], + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 41, + "column": 38 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " trim leading zeros", + "range": [ + 892, + 913 + ], + "loc": { + "start": { + "line": 37, + "column": 2 + }, + "end": { + "line": 37, + "column": 23 + } + } + }, + { + "type": "Line", + "value": " - maybe could try to put this procedure inside the _sub loop", + "range": [ + 916, + 983 + ], + "loc": { + "start": { + "line": 38, + "column": 2 + }, + "end": { + "line": 38, + "column": 69 + } + } + }, + { + "type": "Line", + "value": " - or assume that the number is trimed at the begining", + "range": [ + 986, + 1046 + ], + "loc": { + "start": { + "line": 39, + "column": 2 + }, + "end": { + "line": 39, + "column": 62 + } + } + }, + { + "type": "Line", + "value": " and put this statement at the end of the main loop", + "range": [ + 1049, + 1108 + ], + "loc": { + "start": { + "line": 40, + "column": 2 + }, + "end": { + "line": 40, + "column": 61 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " search for a remainder block interval", + "range": [ + 1151, + 1191 + ], + "loc": { + "start": { + "line": 43, + "column": 2 + }, + "end": { + "line": 43, + "column": 42 + } + } + }, + { + "type": "Line", + "value": " greater than the divisor", + "range": [ + 1194, + 1221 + ], + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 44, + "column": 29 + } + } + }, + { + "type": "Line", + "value": " - maybe could try binary search on the _lt function", + "range": [ + 1224, + 1282 + ], + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 45, + "column": 60 + } + } + }, + { + "type": "Line", + "value": " for another implementation", + "range": [ + 1285, + 1318 + ], + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 46, + "column": 35 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 1321, + 1322 + ], + "loc": { + "start": { + "line": 47, + "column": 2 + }, + "end": { + "line": 47, + "column": 3 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "ri", + "range": [ + 1325, + 1327 + ], + "loc": { + "start": { + "line": 47, + "column": 6 + }, + "end": { + "line": 47, + "column": 8 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 1330, + 1331 + ], + "loc": { + "start": { + "line": 47, + "column": 11 + }, + "end": { + "line": 47, + "column": 12 + } + } + }, + "range": [ + 1325, + 1331 + ], + "loc": { + "start": { + "line": 47, + "column": 6 + }, + "end": { + "line": 47, + "column": 12 + } + } + }, + "range": [ + 1321, + 1331 + ], + "loc": { + "start": { + "line": 47, + "column": 2 + }, + "end": { + "line": 47, + "column": 12 + } + } + }, + "range": [ + 1321, + 1332 + ], + "loc": { + "start": { + "line": 47, + "column": 2 + }, + "end": { + "line": 47, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " search for a remainder block interval", + "range": [ + 1151, + 1191 + ], + "loc": { + "start": { + "line": 43, + "column": 2 + }, + "end": { + "line": 43, + "column": 42 + } + } + }, + { + "type": "Line", + "value": " greater than the divisor", + "range": [ + 1194, + 1221 + ], + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 44, + "column": 29 + } + } + }, + { + "type": "Line", + "value": " - maybe could try binary search on the _lt function", + "range": [ + 1224, + 1282 + ], + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 45, + "column": 60 + } + } + }, + { + "type": "Line", + "value": " for another implementation", + "range": [ + 1285, + 1318 + ], + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 46, + "column": 35 + } + } + } + ] + }, + { + "type": "WhileStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "<=", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 1342, + 1343 + ], + "loc": { + "start": { + "line": 48, + "column": 9 + }, + "end": { + "line": 48, + "column": 10 + } + } + }, + "right": { + "type": "Identifier", + "name": "rj", + "range": [ + 1347, + 1349 + ], + "loc": { + "start": { + "line": 48, + "column": 14 + }, + "end": { + "line": 48, + "column": 16 + } + } + }, + "range": [ + 1342, + 1349 + ], + "loc": { + "start": { + "line": 48, + "column": 9 + }, + "end": { + "line": 48, + "column": 16 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_lt", + "range": [ + 1353, + 1356 + ], + "loc": { + "start": { + "line": 48, + "column": 20 + }, + "end": { + "line": 48, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "r", + "range": [ + 1357, + 1358 + ], + "loc": { + "start": { + "line": 48, + "column": 24 + }, + "end": { + "line": 48, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "ri", + "range": [ + 1360, + 1362 + ], + "loc": { + "start": { + "line": 48, + "column": 27 + }, + "end": { + "line": 48, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "k", + "range": [ + 1364, + 1365 + ], + "loc": { + "start": { + "line": 48, + "column": 31 + }, + "end": { + "line": 48, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 1367, + 1368 + ], + "loc": { + "start": { + "line": 48, + "column": 34 + }, + "end": { + "line": 48, + "column": 35 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 1370, + 1372 + ], + "loc": { + "start": { + "line": 48, + "column": 37 + }, + "end": { + "line": 48, + "column": 39 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 1374, + 1376 + ], + "loc": { + "start": { + "line": 48, + "column": 41 + }, + "end": { + "line": 48, + "column": 43 + } + } + } + ], + "range": [ + 1353, + 1377 + ], + "loc": { + "start": { + "line": 48, + "column": 20 + }, + "end": { + "line": 48, + "column": 44 + } + } + }, + "range": [ + 1342, + 1377 + ], + "loc": { + "start": { + "line": 48, + "column": 9 + }, + "end": { + "line": 48, + "column": 44 + } + } + }, + "body": { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "k", + "range": [ + 1381, + 1382 + ], + "loc": { + "start": { + "line": 48, + "column": 48 + }, + "end": { + "line": 48, + "column": 49 + } + } + }, + "prefix": true, + "range": [ + 1379, + 1382 + ], + "loc": { + "start": { + "line": 48, + "column": 46 + }, + "end": { + "line": 48, + "column": 49 + } + } + }, + "range": [ + 1379, + 1383 + ], + "loc": { + "start": { + "line": 48, + "column": 46 + }, + "end": { + "line": 48, + "column": 50 + } + } + }, + "range": [ + 1335, + 1383 + ], + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 48, + "column": 50 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " remainder smaller than divisor --> end", + "range": [ + 1387, + 1428 + ], + "loc": { + "start": { + "line": 50, + "column": 2 + }, + "end": { + "line": 50, + "column": 43 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 1435, + 1436 + ], + "loc": { + "start": { + "line": 51, + "column": 6 + }, + "end": { + "line": 51, + "column": 7 + } + } + }, + "right": { + "type": "Identifier", + "name": "rj", + "range": [ + 1439, + 1441 + ], + "loc": { + "start": { + "line": 51, + "column": 10 + }, + "end": { + "line": 51, + "column": 12 + } + } + }, + "range": [ + 1435, + 1441 + ], + "loc": { + "start": { + "line": 51, + "column": 6 + }, + "end": { + "line": 51, + "column": 12 + } + } + }, + "consequent": { + "type": "BreakStatement", + "label": null, + "range": [ + 1443, + 1449 + ], + "loc": { + "start": { + "line": 51, + "column": 14 + }, + "end": { + "line": 51, + "column": 20 + } + } + }, + "alternate": null, + "range": [ + 1431, + 1449 + ], + "loc": { + "start": { + "line": 51, + "column": 2 + }, + "end": { + "line": 51, + "column": 20 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " remainder smaller than divisor --> end", + "range": [ + 1387, + 1428 + ], + "loc": { + "start": { + "line": 50, + "column": 2 + }, + "end": { + "line": 50, + "column": 43 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " divide current block interval by quotient", + "range": [ + 1453, + 1497 + ], + "loc": { + "start": { + "line": 53, + "column": 2 + }, + "end": { + "line": 53, + "column": 46 + } + } + } + ] + }, + { + "type": "DoWhileStatement", + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "q", + "range": [ + 1603, + 1604 + ], + "loc": { + "start": { + "line": 58, + "column": 5 + }, + "end": { + "line": 58, + "column": 6 + } + } + }, + "property": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "qi", + "range": [ + 1605, + 1607 + ], + "loc": { + "start": { + "line": 58, + "column": 7 + }, + "end": { + "line": 58, + "column": 9 + } + } + }, + "right": { + "type": "Identifier", + "name": "k", + "range": [ + 1610, + 1611 + ], + "loc": { + "start": { + "line": 58, + "column": 12 + }, + "end": { + "line": 58, + "column": 13 + } + } + }, + "range": [ + 1605, + 1611 + ], + "loc": { + "start": { + "line": 58, + "column": 7 + }, + "end": { + "line": 58, + "column": 13 + } + } + }, + "right": { + "type": "Identifier", + "name": "t", + "range": [ + 1614, + 1615 + ], + "loc": { + "start": { + "line": 58, + "column": 16 + }, + "end": { + "line": 58, + "column": 17 + } + } + }, + "range": [ + 1605, + 1615 + ], + "loc": { + "start": { + "line": 58, + "column": 7 + }, + "end": { + "line": 58, + "column": 17 + } + } + }, + "range": [ + 1603, + 1616 + ], + "loc": { + "start": { + "line": 58, + "column": 5 + }, + "end": { + "line": 58, + "column": 18 + } + } + }, + "prefix": true, + "range": [ + 1601, + 1616 + ], + "loc": { + "start": { + "line": 58, + "column": 3 + }, + "end": { + "line": 58, + "column": 18 + } + } + }, + "range": [ + 1601, + 1617 + ], + "loc": { + "start": { + "line": 58, + "column": 3 + }, + "end": { + "line": 58, + "column": 19 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " increment quotient block corresponding", + "range": [ + 1508, + 1549 + ], + "loc": { + "start": { + "line": 56, + "column": 3 + }, + "end": { + "line": 56, + "column": 44 + } + } + }, + { + "type": "Line", + "value": " to current ls block of remainder interval", + "range": [ + 1553, + 1597 + ], + "loc": { + "start": { + "line": 57, + "column": 3 + }, + "end": { + "line": 57, + "column": 47 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " subtract divisor from current remainder", + "range": [ + 1622, + 1664 + ], + "loc": { + "start": { + "line": 60, + "column": 3 + }, + "end": { + "line": 60, + "column": 45 + } + } + }, + { + "type": "Line", + "value": " block interval", + "range": [ + 1668, + 1685 + ], + "loc": { + "start": { + "line": 61, + "column": 3 + }, + "end": { + "line": 61, + "column": 20 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_sub", + "range": [ + 1689, + 1693 + ], + "loc": { + "start": { + "line": 62, + "column": 3 + }, + "end": { + "line": 62, + "column": 7 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "x", + "range": [ + 1694, + 1695 + ], + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 62, + "column": 9 + } + } + }, + { + "type": "Identifier", + "name": "r", + "range": [ + 1697, + 1698 + ], + "loc": { + "start": { + "line": 62, + "column": 11 + }, + "end": { + "line": 62, + "column": 12 + } + } + }, + { + "type": "Identifier", + "name": "ri", + "range": [ + 1700, + 1702 + ], + "loc": { + "start": { + "line": 62, + "column": 14 + }, + "end": { + "line": 62, + "column": 16 + } + } + }, + { + "type": "Identifier", + "name": "k", + "range": [ + 1704, + 1705 + ], + "loc": { + "start": { + "line": 62, + "column": 18 + }, + "end": { + "line": 62, + "column": 19 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 1707, + 1708 + ], + "loc": { + "start": { + "line": 62, + "column": 21 + }, + "end": { + "line": 62, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 1710, + 1712 + ], + "loc": { + "start": { + "line": 62, + "column": 24 + }, + "end": { + "line": 62, + "column": 26 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 1714, + 1716 + ], + "loc": { + "start": { + "line": 62, + "column": 28 + }, + "end": { + "line": 62, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "r", + "range": [ + 1718, + 1719 + ], + "loc": { + "start": { + "line": 62, + "column": 32 + }, + "end": { + "line": 62, + "column": 33 + } + } + }, + { + "type": "Identifier", + "name": "ri", + "range": [ + 1721, + 1723 + ], + "loc": { + "start": { + "line": 62, + "column": 35 + }, + "end": { + "line": 62, + "column": 37 + } + } + }, + { + "type": "Identifier", + "name": "k", + "range": [ + 1725, + 1726 + ], + "loc": { + "start": { + "line": 62, + "column": 39 + }, + "end": { + "line": 62, + "column": 40 + } + } + } + ], + "range": [ + 1689, + 1727 + ], + "loc": { + "start": { + "line": 62, + "column": 3 + }, + "end": { + "line": 62, + "column": 41 + } + } + }, + "range": [ + 1689, + 1728 + ], + "loc": { + "start": { + "line": 62, + "column": 3 + }, + "end": { + "line": 62, + "column": 42 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " subtract divisor from current remainder", + "range": [ + 1622, + 1664 + ], + "loc": { + "start": { + "line": 60, + "column": 3 + }, + "end": { + "line": 60, + "column": 45 + } + } + }, + { + "type": "Line", + "value": " block interval", + "range": [ + 1668, + 1685 + ], + "loc": { + "start": { + "line": 61, + "column": 3 + }, + "end": { + "line": 61, + "column": 20 + } + } + } + ] + } + ], + "range": [ + 1502, + 1733 + ], + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 64, + "column": 3 + } + } + }, + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_lt", + "range": [ + 1741, + 1744 + ], + "loc": { + "start": { + "line": 64, + "column": 11 + }, + "end": { + "line": 64, + "column": 14 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "r", + "range": [ + 1745, + 1746 + ], + "loc": { + "start": { + "line": 64, + "column": 15 + }, + "end": { + "line": 64, + "column": 16 + } + } + }, + { + "type": "Identifier", + "name": "ri", + "range": [ + 1748, + 1750 + ], + "loc": { + "start": { + "line": 64, + "column": 18 + }, + "end": { + "line": 64, + "column": 20 + } + } + }, + { + "type": "Identifier", + "name": "k", + "range": [ + 1752, + 1753 + ], + "loc": { + "start": { + "line": 64, + "column": 22 + }, + "end": { + "line": 64, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 1755, + 1756 + ], + "loc": { + "start": { + "line": 64, + "column": 25 + }, + "end": { + "line": 64, + "column": 26 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 1758, + 1760 + ], + "loc": { + "start": { + "line": 64, + "column": 28 + }, + "end": { + "line": 64, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 1762, + 1764 + ], + "loc": { + "start": { + "line": 64, + "column": 32 + }, + "end": { + "line": 64, + "column": 34 + } + } + } + ], + "range": [ + 1741, + 1765 + ], + "loc": { + "start": { + "line": 64, + "column": 11 + }, + "end": { + "line": 64, + "column": 35 + } + } + }, + "prefix": true, + "range": [ + 1740, + 1765 + ], + "loc": { + "start": { + "line": 64, + "column": 10 + }, + "end": { + "line": 64, + "column": 35 + } + } + }, + "range": [ + 1500, + 1767 + ], + "loc": { + "start": { + "line": 54, + "column": 2 + }, + "end": { + "line": 64, + "column": 37 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " divide current block interval by quotient", + "range": [ + 1453, + 1497 + ], + "loc": { + "start": { + "line": 53, + "column": 2 + }, + "end": { + "line": 53, + "column": 46 + } + } + } + ] + } + ], + "range": [ + 887, + 1772 + ], + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 67, + "column": 2 + } + } + }, + "test": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 1779, + 1783 + ], + "loc": { + "start": { + "line": 67, + "column": 9 + }, + "end": { + "line": 67, + "column": 13 + } + } + }, + "range": [ + 884, + 1785 + ], + "loc": { + "start": { + "line": 35, + "column": 1 + }, + "end": { + "line": 67, + "column": 15 + } + } + } + ], + "range": [ + 859, + 1788 + ], + "loc": { + "start": { + "line": 31, + "column": 64 + }, + "end": { + "line": 69, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 802, + 1788 + ], + "loc": { + "start": { + "line": 31, + "column": 7 + }, + "end": { + "line": 69, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Computes quotient and remainder of two big endian arrays.\n *

      \n * Computes quotient and remainder of two big endian arrays\n * using long division algorithm (the one teached in\n * european primary schools).\n *\n * /!\\ This algorithm modifies its first operand.\n *\n * HYP : q is at least as large as r\n * b is not zero\n *\n * @param {int} x the radix\n * @param {array} r dividend and remainder\n * @param {int} ri r left\n * @param {int} rj r right\n * @param {array} b divisor\n * @param {int} bi b left\n * @param {int} bj b right\n * @param {array} q quotient, must be 0 initialized\n * @param {int} qi q left\n ", + "range": [ + 71, + 691 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 25, + "column": 3 + } + } + }, + { + "type": "Line", + "value": " /!\\ There are implicit hypotheses", + "range": [ + 693, + 729 + ], + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 27, + "column": 36 + } + } + }, + { + "type": "Line", + "value": " made on the size of the operands.", + "range": [ + 730, + 770 + ], + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 28, + "column": 40 + } + } + }, + { + "type": "Line", + "value": " Should clarify.", + "range": [ + 771, + 793 + ], + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 29, + "column": 22 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 795, + 1788 + ], + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 69, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Computes quotient and remainder of two big endian arrays.\n *

      \n * Computes quotient and remainder of two big endian arrays\n * using long division algorithm (the one teached in\n * european primary schools).\n *\n * /!\\ This algorithm modifies its first operand.\n *\n * HYP : q is at least as large as r\n * b is not zero\n *\n * @param {int} x the radix\n * @param {array} r dividend and remainder\n * @param {int} ri r left\n * @param {int} rj r right\n * @param {array} b divisor\n * @param {int} bi b left\n * @param {int} bj b right\n * @param {array} q quotient, must be 0 initialized\n * @param {int} qi q left\n ", + "range": [ + 71, + 691 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 25, + "column": 3 + } + } + }, + { + "type": "Line", + "value": " /!\\ There are implicit hypotheses", + "range": [ + 693, + 729 + ], + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 27, + "column": 36 + } + } + }, + { + "type": "Line", + "value": " made on the size of the operands.", + "range": [ + 730, + 770 + ], + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 28, + "column": 40 + } + } + }, + { + "type": "Line", + "value": " Should clarify.", + "range": [ + 771, + 793 + ], + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 29, + "column": 22 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 1788 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 69, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Computes quotient and remainder of two big endian arrays.\n *

      \n * Computes quotient and remainder of two big endian arrays\n * using long division algorithm (the one teached in\n * european primary schools).\n *\n * /!\\ This algorithm modifies its first operand.\n *\n * HYP : q is at least as large as r\n * b is not zero\n *\n * @param {int} x the radix\n * @param {array} r dividend and remainder\n * @param {int} ri r left\n * @param {int} rj r right\n * @param {array} b divisor\n * @param {int} bi b left\n * @param {int} bj b right\n * @param {array} q quotient, must be 0 initialized\n * @param {int} qi q left\n ", + "range": [ + 71, + 691 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 25, + "column": 3 + } + } + }, + { + "type": "Line", + "value": " /!\\ There are implicit hypotheses", + "range": [ + 693, + 729 + ], + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 27, + "column": 36 + } + } + }, + { + "type": "Line", + "value": " made on the size of the operands.", + "range": [ + 730, + 770 + ], + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 28, + "column": 40 + } + } + }, + { + "type": "Line", + "value": " Should clarify.", + "range": [ + 771, + 793 + ], + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 29, + "column": 22 + } + } + }, + { + "type": "Line", + "value": " trim leading zeros", + "range": [ + 892, + 913 + ], + "loc": { + "start": { + "line": 37, + "column": 2 + }, + "end": { + "line": 37, + "column": 23 + } + } + }, + { + "type": "Line", + "value": " - maybe could try to put this procedure inside the _sub loop", + "range": [ + 916, + 983 + ], + "loc": { + "start": { + "line": 38, + "column": 2 + }, + "end": { + "line": 38, + "column": 69 + } + } + }, + { + "type": "Line", + "value": " - or assume that the number is trimed at the begining", + "range": [ + 986, + 1046 + ], + "loc": { + "start": { + "line": 39, + "column": 2 + }, + "end": { + "line": 39, + "column": 62 + } + } + }, + { + "type": "Line", + "value": " and put this statement at the end of the main loop", + "range": [ + 1049, + 1108 + ], + "loc": { + "start": { + "line": 40, + "column": 2 + }, + "end": { + "line": 40, + "column": 61 + } + } + }, + { + "type": "Line", + "value": " search for a remainder block interval", + "range": [ + 1151, + 1191 + ], + "loc": { + "start": { + "line": 43, + "column": 2 + }, + "end": { + "line": 43, + "column": 42 + } + } + }, + { + "type": "Line", + "value": " greater than the divisor", + "range": [ + 1194, + 1221 + ], + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 44, + "column": 29 + } + } + }, + { + "type": "Line", + "value": " - maybe could try binary search on the _lt function", + "range": [ + 1224, + 1282 + ], + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 45, + "column": 60 + } + } + }, + { + "type": "Line", + "value": " for another implementation", + "range": [ + 1285, + 1318 + ], + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 46, + "column": 35 + } + } + }, + { + "type": "Line", + "value": " remainder smaller than divisor --> end", + "range": [ + 1387, + 1428 + ], + "loc": { + "start": { + "line": 50, + "column": 2 + }, + "end": { + "line": 50, + "column": 43 + } + } + }, + { + "type": "Line", + "value": " divide current block interval by quotient", + "range": [ + 1453, + 1497 + ], + "loc": { + "start": { + "line": 53, + "column": 2 + }, + "end": { + "line": 53, + "column": 46 + } + } + }, + { + "type": "Line", + "value": " increment quotient block corresponding", + "range": [ + 1508, + 1549 + ], + "loc": { + "start": { + "line": 56, + "column": 3 + }, + "end": { + "line": 56, + "column": 44 + } + } + }, + { + "type": "Line", + "value": " to current ls block of remainder interval", + "range": [ + 1553, + 1597 + ], + "loc": { + "start": { + "line": 57, + "column": 3 + }, + "end": { + "line": 57, + "column": 47 + } + } + }, + { + "type": "Line", + "value": " subtract divisor from current remainder", + "range": [ + 1622, + 1664 + ], + "loc": { + "start": { + "line": 60, + "column": 3 + }, + "end": { + "line": 60, + "column": 45 + } + } + }, + { + "type": "Line", + "value": " block interval", + "range": [ + 1668, + 1685 + ], + "loc": { + "start": { + "line": 61, + "column": 3 + }, + "end": { + "line": 61, + "column": 20 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/1-new/arithmetic/div/index.js.json b/ast/source/1-new/arithmetic/div/index.js.json new file mode 100644 index 0000000..d387a7e --- /dev/null +++ b/ast/source/1-new/arithmetic/div/index.js.json @@ -0,0 +1,57 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./_div", + "raw": "'./_div'", + "range": [ + 14, + 22 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 22 + } + } + }, + "range": [ + 0, + 24 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 24 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 24 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 24 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/arithmetic/index.js.json b/ast/source/1-new/arithmetic/index.js.json new file mode 100644 index 0000000..71b12ee --- /dev/null +++ b/ast/source/1-new/arithmetic/index.js.json @@ -0,0 +1,93 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./div", + "raw": "'./div'", + "range": [ + 14, + 21 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 21 + } + } + }, + "range": [ + 0, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 23 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./sub", + "raw": "'./sub'", + "range": [ + 38, + 45 + ], + "loc": { + "start": { + "line": 2, + "column": 14 + }, + "end": { + "line": 2, + "column": 21 + } + } + }, + "range": [ + 24, + 47 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 23 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 47 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 2, + "column": 23 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/arithmetic/sub/_sub.js.json b/ast/source/1-new/arithmetic/sub/_sub.js.json new file mode 100644 index 0000000..4ffa97e --- /dev/null +++ b/ast/source/1-new/arithmetic/sub/_sub.js.json @@ -0,0 +1,2210 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "_sub", + "range": [ + 395, + 399 + ], + "loc": { + "start": { + "line": 18, + "column": 16 + }, + "end": { + "line": 18, + "column": 20 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "r", + "range": [ + 402, + 403 + ], + "loc": { + "start": { + "line": 18, + "column": 23 + }, + "end": { + "line": 18, + "column": 24 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 406, + 407 + ], + "loc": { + "start": { + "line": 18, + "column": 27 + }, + "end": { + "line": 18, + "column": 28 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 409, + 411 + ], + "loc": { + "start": { + "line": 18, + "column": 30 + }, + "end": { + "line": 18, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 413, + 415 + ], + "loc": { + "start": { + "line": 18, + "column": 34 + }, + "end": { + "line": 18, + "column": 36 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 417, + 418 + ], + "loc": { + "start": { + "line": 18, + "column": 38 + }, + "end": { + "line": 18, + "column": 39 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 420, + 422 + ], + "loc": { + "start": { + "line": 18, + "column": 41 + }, + "end": { + "line": 18, + "column": 43 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 424, + 426 + ], + "loc": { + "start": { + "line": 18, + "column": 45 + }, + "end": { + "line": 18, + "column": 47 + } + } + }, + { + "type": "Identifier", + "name": "c", + "range": [ + 428, + 429 + ], + "loc": { + "start": { + "line": 18, + "column": 49 + }, + "end": { + "line": 18, + "column": 50 + } + } + }, + { + "type": "Identifier", + "name": "ci", + "range": [ + 431, + 433 + ], + "loc": { + "start": { + "line": 18, + "column": 52 + }, + "end": { + "line": 18, + "column": 54 + } + } + }, + { + "type": "Identifier", + "name": "cj", + "range": [ + 435, + 437 + ], + "loc": { + "start": { + "line": 18, + "column": 56 + }, + "end": { + "line": 18, + "column": 58 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "T", + "range": [ + 445, + 446 + ], + "loc": { + "start": { + "line": 19, + "column": 5 + }, + "end": { + "line": 19, + "column": 6 + } + } + }, + "init": null, + "range": [ + 445, + 446 + ], + "loc": { + "start": { + "line": 19, + "column": 5 + }, + "end": { + "line": 19, + "column": 6 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "C", + "range": [ + 448, + 449 + ], + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 9 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 452, + 453 + ], + "loc": { + "start": { + "line": 19, + "column": 12 + }, + "end": { + "line": 19, + "column": 13 + } + } + }, + "range": [ + 448, + 453 + ], + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 13 + } + } + } + ], + "kind": "var", + "range": [ + 441, + 454 + ], + "loc": { + "start": { + "line": 19, + "column": 1 + }, + "end": { + "line": 19, + "column": 14 + } + } + }, + { + "type": "WhileStatement", + "test": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "bj", + "range": [ + 465, + 467 + ], + "loc": { + "start": { + "line": 21, + "column": 9 + }, + "end": { + "line": 21, + "column": 11 + } + } + }, + "prefix": true, + "range": [ + 463, + 467 + ], + "loc": { + "start": { + "line": 21, + "column": 7 + }, + "end": { + "line": 21, + "column": 11 + } + } + }, + "right": { + "type": "Identifier", + "name": "bi", + "range": [ + 471, + 473 + ], + "loc": { + "start": { + "line": 21, + "column": 15 + }, + "end": { + "line": 21, + "column": 17 + } + } + }, + "range": [ + 463, + 473 + ], + "loc": { + "start": { + "line": 21, + "column": 7 + }, + "end": { + "line": 21, + "column": 17 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "aj", + "range": [ + 480, + 482 + ], + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 6 + } + } + }, + "prefix": true, + "range": [ + 478, + 482 + ], + "loc": { + "start": { + "line": 22, + "column": 2 + }, + "end": { + "line": 22, + "column": 6 + } + } + }, + "range": [ + 478, + 483 + ], + "loc": { + "start": { + "line": 22, + "column": 2 + }, + "end": { + "line": 22, + "column": 7 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "cj", + "range": [ + 486, + 488 + ], + "loc": { + "start": { + "line": 22, + "column": 10 + }, + "end": { + "line": 22, + "column": 12 + } + } + }, + "prefix": true, + "range": [ + 484, + 488 + ], + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 12 + } + } + }, + "range": [ + 484, + 489 + ], + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "T", + "range": [ + 492, + 493 + ], + "loc": { + "start": { + "line": 23, + "column": 2 + }, + "end": { + "line": 23, + "column": 3 + } + } + }, + "right": { + "type": "Identifier", + "name": "C", + "range": [ + 496, + 497 + ], + "loc": { + "start": { + "line": 23, + "column": 6 + }, + "end": { + "line": 23, + "column": 7 + } + } + }, + "range": [ + 492, + 497 + ], + "loc": { + "start": { + "line": 23, + "column": 2 + }, + "end": { + "line": 23, + "column": 7 + } + } + }, + "range": [ + 492, + 498 + ], + "loc": { + "start": { + "line": 23, + "column": 2 + }, + "end": { + "line": 23, + "column": 8 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "C", + "range": [ + 501, + 502 + ], + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 24, + "column": 3 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 505, + 506 + ], + "loc": { + "start": { + "line": 24, + "column": 6 + }, + "end": { + "line": 24, + "column": 7 + } + } + }, + "property": { + "type": "Identifier", + "name": "aj", + "range": [ + 507, + 509 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 10 + } + } + }, + "range": [ + 505, + 510 + ], + "loc": { + "start": { + "line": 24, + "column": 6 + }, + "end": { + "line": 24, + "column": 11 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 513, + 514 + ], + "loc": { + "start": { + "line": 24, + "column": 14 + }, + "end": { + "line": 24, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "bj", + "range": [ + 515, + 517 + ], + "loc": { + "start": { + "line": 24, + "column": 16 + }, + "end": { + "line": 24, + "column": 18 + } + } + }, + "range": [ + 513, + 518 + ], + "loc": { + "start": { + "line": 24, + "column": 14 + }, + "end": { + "line": 24, + "column": 19 + } + } + }, + "right": { + "type": "Identifier", + "name": "T", + "range": [ + 521, + 522 + ], + "loc": { + "start": { + "line": 24, + "column": 22 + }, + "end": { + "line": 24, + "column": 23 + } + } + }, + "range": [ + 513, + 522 + ], + "loc": { + "start": { + "line": 24, + "column": 14 + }, + "end": { + "line": 24, + "column": 23 + } + } + }, + "range": [ + 505, + 522 + ], + "loc": { + "start": { + "line": 24, + "column": 6 + }, + "end": { + "line": 24, + "column": 23 + } + } + }, + "range": [ + 501, + 522 + ], + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 24, + "column": 23 + } + } + }, + "range": [ + 501, + 523 + ], + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 24, + "column": 24 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 526, + 527 + ], + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 3 + } + } + }, + "property": { + "type": "Identifier", + "name": "cj", + "range": [ + 528, + 530 + ], + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 6 + } + } + }, + "range": [ + 526, + 531 + ], + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 7 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 534, + 535 + ], + "loc": { + "start": { + "line": 25, + "column": 10 + }, + "end": { + "line": 25, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "aj", + "range": [ + 536, + 538 + ], + "loc": { + "start": { + "line": 25, + "column": 12 + }, + "end": { + "line": 25, + "column": 14 + } + } + }, + "range": [ + 534, + 539 + ], + "loc": { + "start": { + "line": 25, + "column": 10 + }, + "end": { + "line": 25, + "column": 15 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 542, + 543 + ], + "loc": { + "start": { + "line": 25, + "column": 18 + }, + "end": { + "line": 25, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "bj", + "range": [ + 544, + 546 + ], + "loc": { + "start": { + "line": 25, + "column": 20 + }, + "end": { + "line": 25, + "column": 22 + } + } + }, + "range": [ + 542, + 547 + ], + "loc": { + "start": { + "line": 25, + "column": 18 + }, + "end": { + "line": 25, + "column": 23 + } + } + }, + "range": [ + 534, + 547 + ], + "loc": { + "start": { + "line": 25, + "column": 10 + }, + "end": { + "line": 25, + "column": 23 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "BinaryExpression", + "operator": "*", + "left": { + "type": "Identifier", + "name": "C", + "range": [ + 551, + 552 + ], + "loc": { + "start": { + "line": 25, + "column": 27 + }, + "end": { + "line": 25, + "column": 28 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 553, + 554 + ], + "loc": { + "start": { + "line": 25, + "column": 29 + }, + "end": { + "line": 25, + "column": 30 + } + } + }, + "range": [ + 551, + 554 + ], + "loc": { + "start": { + "line": 25, + "column": 27 + }, + "end": { + "line": 25, + "column": 30 + } + } + }, + "right": { + "type": "Identifier", + "name": "T", + "range": [ + 557, + 558 + ], + "loc": { + "start": { + "line": 25, + "column": 33 + }, + "end": { + "line": 25, + "column": 34 + } + } + }, + "range": [ + 551, + 558 + ], + "loc": { + "start": { + "line": 25, + "column": 27 + }, + "end": { + "line": 25, + "column": 34 + } + } + }, + "range": [ + 534, + 559 + ], + "loc": { + "start": { + "line": 25, + "column": 10 + }, + "end": { + "line": 25, + "column": 35 + } + } + }, + "range": [ + 526, + 559 + ], + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 35 + } + } + }, + "range": [ + 526, + 560 + ], + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 36 + } + } + } + ], + "range": [ + 474, + 563 + ], + "loc": { + "start": { + "line": 21, + "column": 18 + }, + "end": { + "line": 26, + "column": 2 + } + } + }, + "range": [ + 457, + 563 + ], + "loc": { + "start": { + "line": 21, + "column": 1 + }, + "end": { + "line": 26, + "column": 2 + } + } + }, + { + "type": "WhileStatement", + "test": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "aj", + "range": [ + 574, + 576 + ], + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 11 + } + } + }, + "prefix": true, + "range": [ + 572, + 576 + ], + "loc": { + "start": { + "line": 28, + "column": 7 + }, + "end": { + "line": 28, + "column": 11 + } + } + }, + "right": { + "type": "Identifier", + "name": "ai", + "range": [ + 580, + 582 + ], + "loc": { + "start": { + "line": 28, + "column": 15 + }, + "end": { + "line": 28, + "column": 17 + } + } + }, + "range": [ + 572, + 582 + ], + "loc": { + "start": { + "line": 28, + "column": 7 + }, + "end": { + "line": 28, + "column": 17 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "cj", + "range": [ + 589, + 591 + ], + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 6 + } + } + }, + "prefix": true, + "range": [ + 587, + 591 + ], + "loc": { + "start": { + "line": 29, + "column": 2 + }, + "end": { + "line": 29, + "column": 6 + } + } + }, + "range": [ + 587, + 592 + ], + "loc": { + "start": { + "line": 29, + "column": 2 + }, + "end": { + "line": 29, + "column": 7 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "T", + "range": [ + 595, + 596 + ], + "loc": { + "start": { + "line": 30, + "column": 2 + }, + "end": { + "line": 30, + "column": 3 + } + } + }, + "right": { + "type": "Identifier", + "name": "C", + "range": [ + 599, + 600 + ], + "loc": { + "start": { + "line": 30, + "column": 6 + }, + "end": { + "line": 30, + "column": 7 + } + } + }, + "range": [ + 595, + 600 + ], + "loc": { + "start": { + "line": 30, + "column": 2 + }, + "end": { + "line": 30, + "column": 7 + } + } + }, + "range": [ + 595, + 601 + ], + "loc": { + "start": { + "line": 30, + "column": 2 + }, + "end": { + "line": 30, + "column": 8 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "C", + "range": [ + 604, + 605 + ], + "loc": { + "start": { + "line": 31, + "column": 2 + }, + "end": { + "line": 31, + "column": 3 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 608, + 609 + ], + "loc": { + "start": { + "line": 31, + "column": 6 + }, + "end": { + "line": 31, + "column": 7 + } + } + }, + "property": { + "type": "Identifier", + "name": "aj", + "range": [ + 610, + 612 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 31, + "column": 10 + } + } + }, + "range": [ + 608, + 613 + ], + "loc": { + "start": { + "line": 31, + "column": 6 + }, + "end": { + "line": 31, + "column": 11 + } + } + }, + "right": { + "type": "Identifier", + "name": "T", + "range": [ + 616, + 617 + ], + "loc": { + "start": { + "line": 31, + "column": 14 + }, + "end": { + "line": 31, + "column": 15 + } + } + }, + "range": [ + 608, + 617 + ], + "loc": { + "start": { + "line": 31, + "column": 6 + }, + "end": { + "line": 31, + "column": 15 + } + } + }, + "range": [ + 604, + 617 + ], + "loc": { + "start": { + "line": 31, + "column": 2 + }, + "end": { + "line": 31, + "column": 15 + } + } + }, + "range": [ + 604, + 618 + ], + "loc": { + "start": { + "line": 31, + "column": 2 + }, + "end": { + "line": 31, + "column": 16 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 621, + 622 + ], + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 32, + "column": 3 + } + } + }, + "property": { + "type": "Identifier", + "name": "cj", + "range": [ + 623, + 625 + ], + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 6 + } + } + }, + "range": [ + 621, + 626 + ], + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 32, + "column": 7 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 629, + 630 + ], + "loc": { + "start": { + "line": 32, + "column": 10 + }, + "end": { + "line": 32, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "aj", + "range": [ + 631, + 633 + ], + "loc": { + "start": { + "line": 32, + "column": 12 + }, + "end": { + "line": 32, + "column": 14 + } + } + }, + "range": [ + 629, + 634 + ], + "loc": { + "start": { + "line": 32, + "column": 10 + }, + "end": { + "line": 32, + "column": 15 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "BinaryExpression", + "operator": "*", + "left": { + "type": "Identifier", + "name": "C", + "range": [ + 638, + 639 + ], + "loc": { + "start": { + "line": 32, + "column": 19 + }, + "end": { + "line": 32, + "column": 20 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 640, + 641 + ], + "loc": { + "start": { + "line": 32, + "column": 21 + }, + "end": { + "line": 32, + "column": 22 + } + } + }, + "range": [ + 638, + 641 + ], + "loc": { + "start": { + "line": 32, + "column": 19 + }, + "end": { + "line": 32, + "column": 22 + } + } + }, + "right": { + "type": "Identifier", + "name": "T", + "range": [ + 644, + 645 + ], + "loc": { + "start": { + "line": 32, + "column": 25 + }, + "end": { + "line": 32, + "column": 26 + } + } + }, + "range": [ + 638, + 645 + ], + "loc": { + "start": { + "line": 32, + "column": 19 + }, + "end": { + "line": 32, + "column": 26 + } + } + }, + "range": [ + 629, + 646 + ], + "loc": { + "start": { + "line": 32, + "column": 10 + }, + "end": { + "line": 32, + "column": 27 + } + } + }, + "range": [ + 621, + 646 + ], + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 32, + "column": 27 + } + } + }, + "range": [ + 621, + 647 + ], + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 32, + "column": 28 + } + } + } + ], + "range": [ + 583, + 650 + ], + "loc": { + "start": { + "line": 28, + "column": 18 + }, + "end": { + "line": 33, + "column": 2 + } + } + }, + "range": [ + 566, + 650 + ], + "loc": { + "start": { + "line": 28, + "column": 1 + }, + "end": { + "line": 33, + "column": 2 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "C", + "range": [ + 656, + 657 + ], + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 5 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "WhileStatement", + "test": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "cj", + "range": [ + 670, + 672 + ], + "loc": { + "start": { + "line": 36, + "column": 10 + }, + "end": { + "line": 36, + "column": 12 + } + } + }, + "prefix": true, + "range": [ + 668, + 672 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 12 + } + } + }, + "right": { + "type": "Identifier", + "name": "ci", + "range": [ + 676, + 678 + ], + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 18 + } + } + }, + "range": [ + 668, + 678 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 18 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 684, + 685 + ], + "loc": { + "start": { + "line": 37, + "column": 3 + }, + "end": { + "line": 37, + "column": 4 + } + } + }, + "property": { + "type": "Identifier", + "name": "cj", + "range": [ + 686, + 688 + ], + "loc": { + "start": { + "line": 37, + "column": 5 + }, + "end": { + "line": 37, + "column": 7 + } + } + }, + "range": [ + 684, + 689 + ], + "loc": { + "start": { + "line": 37, + "column": 3 + }, + "end": { + "line": 37, + "column": 8 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "r", + "range": [ + 692, + 693 + ], + "loc": { + "start": { + "line": 37, + "column": 11 + }, + "end": { + "line": 37, + "column": 12 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 696, + 697 + ], + "loc": { + "start": { + "line": 37, + "column": 15 + }, + "end": { + "line": 37, + "column": 16 + } + } + }, + "range": [ + 692, + 697 + ], + "loc": { + "start": { + "line": 37, + "column": 11 + }, + "end": { + "line": 37, + "column": 16 + } + } + }, + "range": [ + 684, + 697 + ], + "loc": { + "start": { + "line": 37, + "column": 3 + }, + "end": { + "line": 37, + "column": 16 + } + } + }, + "range": [ + 684, + 698 + ], + "loc": { + "start": { + "line": 37, + "column": 3 + }, + "end": { + "line": 37, + "column": 17 + } + } + } + ], + "range": [ + 679, + 702 + ], + "loc": { + "start": { + "line": 36, + "column": 19 + }, + "end": { + "line": 38, + "column": 3 + } + } + }, + "range": [ + 662, + 702 + ], + "loc": { + "start": { + "line": 36, + "column": 2 + }, + "end": { + "line": 38, + "column": 3 + } + } + } + ], + "range": [ + 658, + 705 + ], + "loc": { + "start": { + "line": 35, + "column": 6 + }, + "end": { + "line": 39, + "column": 2 + } + } + }, + "alternate": null, + "range": [ + 653, + 705 + ], + "loc": { + "start": { + "line": 35, + "column": 1 + }, + "end": { + "line": 39, + "column": 2 + } + } + } + ], + "range": [ + 438, + 708 + ], + "loc": { + "start": { + "line": 18, + "column": 59 + }, + "end": { + "line": 41, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 386, + 708 + ], + "loc": { + "start": { + "line": 18, + "column": 7 + }, + "end": { + "line": 41, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Subtracts two big endian arrays, k >= i >= j\n * wraps\n *\n * @param {int} r base (radix)\n * @param {array} a first operand\n * @param {int} ai a left\n * @param {int} aj a right\n * @param {array} b second operand\n * @param {int} bi b left\n * @param {int} bj b right\n * @param {array} c result, must be 0 initialized\n * @param {int} ci c left\n * @param {int} cj c right\n ", + "range": [ + 1, + 377 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 16, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 379, + 708 + ], + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 41, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Subtracts two big endian arrays, k >= i >= j\n * wraps\n *\n * @param {int} r base (radix)\n * @param {array} a first operand\n * @param {int} ai a left\n * @param {int} aj a right\n * @param {array} b second operand\n * @param {int} bi b left\n * @param {int} bj b right\n * @param {array} c result, must be 0 initialized\n * @param {int} ci c left\n * @param {int} cj c right\n ", + "range": [ + 1, + 377 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 16, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 379, + 708 + ], + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 41, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Subtracts two big endian arrays, k >= i >= j\n * wraps\n *\n * @param {int} r base (radix)\n * @param {array} a first operand\n * @param {int} ai a left\n * @param {int} aj a right\n * @param {array} b second operand\n * @param {int} bi b left\n * @param {int} bj b right\n * @param {array} c result, must be 0 initialized\n * @param {int} ci c left\n * @param {int} cj c right\n ", + "range": [ + 1, + 377 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 16, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/1-new/arithmetic/sub/index.js.json b/ast/source/1-new/arithmetic/sub/index.js.json new file mode 100644 index 0000000..1aa9530 --- /dev/null +++ b/ast/source/1-new/arithmetic/sub/index.js.json @@ -0,0 +1,57 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./_sub", + "raw": "'./_sub'", + "range": [ + 14, + 22 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 22 + } + } + }, + "range": [ + 0, + 24 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 24 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 24 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 24 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/compare/_CMP.js.json b/ast/source/1-new/compare/_CMP.js.json new file mode 100644 index 0000000..32bd507 --- /dev/null +++ b/ast/source/1-new/compare/_CMP.js.json @@ -0,0 +1,1322 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "_CMP", + "range": [ + 308, + 312 + ], + "loc": { + "start": { + "line": 15, + "column": 16 + }, + "end": { + "line": 15, + "column": 20 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 314, + 315 + ], + "loc": { + "start": { + "line": 15, + "column": 22 + }, + "end": { + "line": 15, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 317, + 319 + ], + "loc": { + "start": { + "line": 15, + "column": 25 + }, + "end": { + "line": 15, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 321, + 323 + ], + "loc": { + "start": { + "line": 15, + "column": 29 + }, + "end": { + "line": 15, + "column": 31 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 325, + 326 + ], + "loc": { + "start": { + "line": 15, + "column": 33 + }, + "end": { + "line": 15, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 328, + 330 + ], + "loc": { + "start": { + "line": 15, + "column": 36 + }, + "end": { + "line": 15, + "column": 38 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 332, + 334 + ], + "loc": { + "start": { + "line": 15, + "column": 40 + }, + "end": { + "line": 15, + "column": 42 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tmp", + "range": [ + 343, + 346 + ], + "loc": { + "start": { + "line": 17, + "column": 5 + }, + "end": { + "line": 17, + "column": 8 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "aj", + "range": [ + 349, + 351 + ], + "loc": { + "start": { + "line": 17, + "column": 11 + }, + "end": { + "line": 17, + "column": 13 + } + } + }, + "right": { + "type": "Identifier", + "name": "bj", + "range": [ + 354, + 356 + ], + "loc": { + "start": { + "line": 17, + "column": 16 + }, + "end": { + "line": 17, + "column": 18 + } + } + }, + "range": [ + 349, + 356 + ], + "loc": { + "start": { + "line": 17, + "column": 11 + }, + "end": { + "line": 17, + "column": 18 + } + } + }, + "right": { + "type": "Identifier", + "name": "bi", + "range": [ + 359, + 361 + ], + "loc": { + "start": { + "line": 17, + "column": 21 + }, + "end": { + "line": 17, + "column": 23 + } + } + }, + "range": [ + 349, + 361 + ], + "loc": { + "start": { + "line": 17, + "column": 11 + }, + "end": { + "line": 17, + "column": 23 + } + } + }, + "range": [ + 343, + 361 + ], + "loc": { + "start": { + "line": 17, + "column": 5 + }, + "end": { + "line": 17, + "column": 23 + } + } + } + ], + "kind": "var", + "range": [ + 339, + 362 + ], + "loc": { + "start": { + "line": 17, + "column": 1 + }, + "end": { + "line": 17, + "column": 24 + } + } + }, + { + "type": "ForStatement", + "init": null, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "ai", + "range": [ + 372, + 374 + ], + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 10 + } + } + }, + "right": { + "type": "Identifier", + "name": "tmp", + "range": [ + 377, + 380 + ], + "loc": { + "start": { + "line": 19, + "column": 13 + }, + "end": { + "line": 19, + "column": 16 + } + } + }, + "range": [ + 372, + 380 + ], + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 16 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "ai", + "range": [ + 384, + 386 + ], + "loc": { + "start": { + "line": 19, + "column": 20 + }, + "end": { + "line": 19, + "column": 22 + } + } + }, + "prefix": true, + "range": [ + 382, + 386 + ], + "loc": { + "start": { + "line": 19, + "column": 18 + }, + "end": { + "line": 19, + "column": 22 + } + } + }, + "body": { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 394, + 395 + ], + "loc": { + "start": { + "line": 20, + "column": 6 + }, + "end": { + "line": 20, + "column": 7 + } + } + }, + "property": { + "type": "Identifier", + "name": "ai", + "range": [ + 396, + 398 + ], + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 20, + "column": 10 + } + } + }, + "range": [ + 394, + 399 + ], + "loc": { + "start": { + "line": 20, + "column": 6 + }, + "end": { + "line": 20, + "column": 11 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 402, + 403 + ], + "loc": { + "start": { + "line": 20, + "column": 14 + }, + "end": { + "line": 20, + "column": 15 + } + } + }, + "range": [ + 394, + 403 + ], + "loc": { + "start": { + "line": 20, + "column": 6 + }, + "end": { + "line": 20, + "column": 15 + } + } + }, + "consequent": { + "type": "ReturnStatement", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 412, + 413 + ], + "loc": { + "start": { + "line": 20, + "column": 24 + }, + "end": { + "line": 20, + "column": 25 + } + } + }, + "range": [ + 405, + 414 + ], + "loc": { + "start": { + "line": 20, + "column": 17 + }, + "end": { + "line": 20, + "column": 26 + } + } + }, + "alternate": null, + "range": [ + 390, + 414 + ], + "loc": { + "start": { + "line": 20, + "column": 2 + }, + "end": { + "line": 20, + "column": 26 + } + } + }, + "range": [ + 365, + 414 + ], + "loc": { + "start": { + "line": 19, + "column": 1 + }, + "end": { + "line": 20, + "column": 26 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " same size aj - ai === bj - bi", + "range": [ + 417, + 449 + ], + "loc": { + "start": { + "line": 22, + "column": 1 + }, + "end": { + "line": 22, + "column": 33 + } + } + } + ] + }, + { + "type": "ForStatement", + "init": null, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "ai", + "range": [ + 458, + 460 + ], + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 10 + } + } + }, + "right": { + "type": "Identifier", + "name": "aj", + "range": [ + 463, + 465 + ], + "loc": { + "start": { + "line": 23, + "column": 13 + }, + "end": { + "line": 23, + "column": 15 + } + } + }, + "range": [ + 458, + 465 + ], + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 15 + } + } + }, + "update": { + "type": "SequenceExpression", + "expressions": [ + { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "ai", + "range": [ + 469, + 471 + ], + "loc": { + "start": { + "line": 23, + "column": 19 + }, + "end": { + "line": 23, + "column": 21 + } + } + }, + "prefix": true, + "range": [ + 467, + 471 + ], + "loc": { + "start": { + "line": 23, + "column": 17 + }, + "end": { + "line": 23, + "column": 21 + } + } + }, + { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "bi", + "range": [ + 475, + 477 + ], + "loc": { + "start": { + "line": 23, + "column": 25 + }, + "end": { + "line": 23, + "column": 27 + } + } + }, + "prefix": true, + "range": [ + 473, + 477 + ], + "loc": { + "start": { + "line": 23, + "column": 23 + }, + "end": { + "line": 23, + "column": 27 + } + } + } + ], + "range": [ + 467, + 477 + ], + "loc": { + "start": { + "line": 23, + "column": 17 + }, + "end": { + "line": 23, + "column": 27 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 487, + 488 + ], + "loc": { + "start": { + "line": 24, + "column": 6 + }, + "end": { + "line": 24, + "column": 7 + } + } + }, + "property": { + "type": "Identifier", + "name": "ai", + "range": [ + 489, + 491 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 10 + } + } + }, + "range": [ + 487, + 492 + ], + "loc": { + "start": { + "line": 24, + "column": 6 + }, + "end": { + "line": 24, + "column": 11 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 495, + 496 + ], + "loc": { + "start": { + "line": 24, + "column": 14 + }, + "end": { + "line": 24, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "bi", + "range": [ + 497, + 499 + ], + "loc": { + "start": { + "line": 24, + "column": 16 + }, + "end": { + "line": 24, + "column": 18 + } + } + }, + "range": [ + 495, + 500 + ], + "loc": { + "start": { + "line": 24, + "column": 14 + }, + "end": { + "line": 24, + "column": 19 + } + } + }, + "range": [ + 487, + 500 + ], + "loc": { + "start": { + "line": 24, + "column": 6 + }, + "end": { + "line": 24, + "column": 19 + } + } + }, + "consequent": { + "type": "ReturnStatement", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 510, + 511 + ], + "loc": { + "start": { + "line": 24, + "column": 29 + }, + "end": { + "line": 24, + "column": 30 + } + } + }, + "range": [ + 502, + 512 + ], + "loc": { + "start": { + "line": 24, + "column": 21 + }, + "end": { + "line": 24, + "column": 31 + } + } + }, + "alternate": null, + "range": [ + 483, + 512 + ], + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 24, + "column": 31 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 519, + 520 + ], + "loc": { + "start": { + "line": 25, + "column": 6 + }, + "end": { + "line": 25, + "column": 7 + } + } + }, + "property": { + "type": "Identifier", + "name": "ai", + "range": [ + 521, + 523 + ], + "loc": { + "start": { + "line": 25, + "column": 8 + }, + "end": { + "line": 25, + "column": 10 + } + } + }, + "range": [ + 519, + 524 + ], + "loc": { + "start": { + "line": 25, + "column": 6 + }, + "end": { + "line": 25, + "column": 11 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 527, + 528 + ], + "loc": { + "start": { + "line": 25, + "column": 14 + }, + "end": { + "line": 25, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "bi", + "range": [ + 529, + 531 + ], + "loc": { + "start": { + "line": 25, + "column": 16 + }, + "end": { + "line": 25, + "column": 18 + } + } + }, + "range": [ + 527, + 532 + ], + "loc": { + "start": { + "line": 25, + "column": 14 + }, + "end": { + "line": 25, + "column": 19 + } + } + }, + "range": [ + 519, + 532 + ], + "loc": { + "start": { + "line": 25, + "column": 6 + }, + "end": { + "line": 25, + "column": 19 + } + } + }, + "consequent": { + "type": "ReturnStatement", + "argument": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 542, + 543 + ], + "loc": { + "start": { + "line": 25, + "column": 29 + }, + "end": { + "line": 25, + "column": 30 + } + } + }, + "prefix": true, + "range": [ + 541, + 543 + ], + "loc": { + "start": { + "line": 25, + "column": 28 + }, + "end": { + "line": 25, + "column": 30 + } + } + }, + "range": [ + 534, + 544 + ], + "loc": { + "start": { + "line": 25, + "column": 21 + }, + "end": { + "line": 25, + "column": 31 + } + } + }, + "alternate": null, + "range": [ + 515, + 544 + ], + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 31 + } + } + } + ], + "range": [ + 479, + 547 + ], + "loc": { + "start": { + "line": 23, + "column": 29 + }, + "end": { + "line": 26, + "column": 2 + } + } + }, + "range": [ + 451, + 547 + ], + "loc": { + "start": { + "line": 23, + "column": 1 + }, + "end": { + "line": 26, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " same size aj - ai === bj - bi", + "range": [ + 417, + 449 + ], + "loc": { + "start": { + "line": 22, + "column": 1 + }, + "end": { + "line": 22, + "column": 33 + } + } + } + ] + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 557, + 558 + ], + "loc": { + "start": { + "line": 28, + "column": 8 + }, + "end": { + "line": 28, + "column": 9 + } + } + }, + "range": [ + 550, + 559 + ], + "loc": { + "start": { + "line": 28, + "column": 1 + }, + "end": { + "line": 28, + "column": 10 + } + } + } + ], + "range": [ + 335, + 561 + ], + "loc": { + "start": { + "line": 15, + "column": 43 + }, + "end": { + "line": 29, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 299, + 561 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 29, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Compares two big endian arrays, |a| >= |b|\n *\n * @param {array} a first operand\n * @param {int} ai a left\n * @param {int} aj a right\n * @param {array} b second operand\n * @param {int} bi b left\n * @param {int} bj b right\n *\n * @return {int} 1 if a > b; 0 if a = b; -1 otherwise.\n ", + "range": [ + 1, + 290 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 292, + 561 + ], + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 29, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Compares two big endian arrays, |a| >= |b|\n *\n * @param {array} a first operand\n * @param {int} ai a left\n * @param {int} aj a right\n * @param {array} b second operand\n * @param {int} bi b left\n * @param {int} bj b right\n *\n * @return {int} 1 if a > b; 0 if a = b; -1 otherwise.\n ", + "range": [ + 1, + 290 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 292, + 561 + ], + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 29, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Compares two big endian arrays, |a| >= |b|\n *\n * @param {array} a first operand\n * @param {int} ai a left\n * @param {int} aj a right\n * @param {array} b second operand\n * @param {int} bi b left\n * @param {int} bj b right\n *\n * @return {int} 1 if a > b; 0 if a = b; -1 otherwise.\n ", + "range": [ + 1, + 290 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + }, + { + "type": "Line", + "value": " same size aj - ai === bj - bi", + "range": [ + 417, + 449 + ], + "loc": { + "start": { + "line": 22, + "column": 1 + }, + "end": { + "line": 22, + "column": 33 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/1-new/compare/_cmp.js.json b/ast/source/1-new/compare/_cmp.js.json new file mode 100644 index 0000000..bad8dda --- /dev/null +++ b/ast/source/1-new/compare/_cmp.js.json @@ -0,0 +1,785 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_CMP", + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_CMP", + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + } + ], + "source": { + "type": "Literal", + "value": ".", + "raw": "'.'", + "range": [ + 21, + 24 + ], + "loc": { + "start": { + "line": 1, + "column": 21 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + "range": [ + 0, + 26 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 26 + } + } + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "_cmp", + "range": [ + 44, + 48 + ], + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 20 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 51, + 52 + ], + "loc": { + "start": { + "line": 3, + "column": 23 + }, + "end": { + "line": 3, + "column": 24 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 55, + 57 + ], + "loc": { + "start": { + "line": 3, + "column": 27 + }, + "end": { + "line": 3, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 60, + 62 + ], + "loc": { + "start": { + "line": 3, + "column": 32 + }, + "end": { + "line": 3, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 65, + 66 + ], + "loc": { + "start": { + "line": 3, + "column": 37 + }, + "end": { + "line": 3, + "column": 38 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 69, + 71 + ], + "loc": { + "start": { + "line": 3, + "column": 41 + }, + "end": { + "line": 3, + "column": 43 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 74, + 76 + ], + "loc": { + "start": { + "line": 3, + "column": 46 + }, + "end": { + "line": 3, + "column": 48 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "aj", + "range": [ + 88, + 90 + ], + "loc": { + "start": { + "line": 5, + "column": 6 + }, + "end": { + "line": 5, + "column": 8 + } + } + }, + "right": { + "type": "Identifier", + "name": "ai", + "range": [ + 93, + 95 + ], + "loc": { + "start": { + "line": 5, + "column": 11 + }, + "end": { + "line": 5, + "column": 13 + } + } + }, + "range": [ + 88, + 95 + ], + "loc": { + "start": { + "line": 5, + "column": 6 + }, + "end": { + "line": 5, + "column": 13 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "bj", + "range": [ + 98, + 100 + ], + "loc": { + "start": { + "line": 5, + "column": 16 + }, + "end": { + "line": 5, + "column": 18 + } + } + }, + "right": { + "type": "Identifier", + "name": "bi", + "range": [ + 103, + 105 + ], + "loc": { + "start": { + "line": 5, + "column": 21 + }, + "end": { + "line": 5, + "column": 23 + } + } + }, + "range": [ + 98, + 105 + ], + "loc": { + "start": { + "line": 5, + "column": 16 + }, + "end": { + "line": 5, + "column": 23 + } + } + }, + "range": [ + 88, + 105 + ], + "loc": { + "start": { + "line": 5, + "column": 6 + }, + "end": { + "line": 5, + "column": 23 + } + } + }, + "consequent": { + "type": "ReturnStatement", + "argument": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_CMP", + "range": [ + 118, + 122 + ], + "loc": { + "start": { + "line": 6, + "column": 10 + }, + "end": { + "line": 6, + "column": 14 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "b", + "range": [ + 124, + 125 + ], + "loc": { + "start": { + "line": 6, + "column": 16 + }, + "end": { + "line": 6, + "column": 17 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 128, + 130 + ], + "loc": { + "start": { + "line": 6, + "column": 20 + }, + "end": { + "line": 6, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 133, + 135 + ], + "loc": { + "start": { + "line": 6, + "column": 25 + }, + "end": { + "line": 6, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 138, + 139 + ], + "loc": { + "start": { + "line": 6, + "column": 30 + }, + "end": { + "line": 6, + "column": 31 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 142, + 144 + ], + "loc": { + "start": { + "line": 6, + "column": 34 + }, + "end": { + "line": 6, + "column": 36 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 147, + 149 + ], + "loc": { + "start": { + "line": 6, + "column": 39 + }, + "end": { + "line": 6, + "column": 41 + } + } + } + ], + "range": [ + 118, + 151 + ], + "loc": { + "start": { + "line": 6, + "column": 10 + }, + "end": { + "line": 6, + "column": 43 + } + } + }, + "prefix": true, + "range": [ + 117, + 151 + ], + "loc": { + "start": { + "line": 6, + "column": 9 + }, + "end": { + "line": 6, + "column": 43 + } + } + }, + "range": [ + 110, + 153 + ], + "loc": { + "start": { + "line": 6, + "column": 2 + }, + "end": { + "line": 6, + "column": 45 + } + } + }, + "alternate": { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_CMP", + "range": [ + 170, + 174 + ], + "loc": { + "start": { + "line": 8, + "column": 10 + }, + "end": { + "line": 8, + "column": 14 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 176, + 177 + ], + "loc": { + "start": { + "line": 8, + "column": 16 + }, + "end": { + "line": 8, + "column": 17 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 180, + 182 + ], + "loc": { + "start": { + "line": 8, + "column": 20 + }, + "end": { + "line": 8, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 185, + 187 + ], + "loc": { + "start": { + "line": 8, + "column": 25 + }, + "end": { + "line": 8, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 190, + 191 + ], + "loc": { + "start": { + "line": 8, + "column": 30 + }, + "end": { + "line": 8, + "column": 31 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 194, + 196 + ], + "loc": { + "start": { + "line": 8, + "column": 34 + }, + "end": { + "line": 8, + "column": 36 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 199, + 201 + ], + "loc": { + "start": { + "line": 8, + "column": 39 + }, + "end": { + "line": 8, + "column": 41 + } + } + } + ], + "range": [ + 170, + 203 + ], + "loc": { + "start": { + "line": 8, + "column": 10 + }, + "end": { + "line": 8, + "column": 43 + } + } + }, + "range": [ + 162, + 205 + ], + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 45 + } + } + }, + "range": [ + 83, + 205 + ], + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 8, + "column": 45 + } + } + } + ], + "range": [ + 79, + 208 + ], + "loc": { + "start": { + "line": 3, + "column": 51 + }, + "end": { + "line": 10, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 35, + 208 + ], + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 10, + "column": 1 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 28, + 208 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 10, + "column": 1 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 208 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 10, + "column": 1 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/compare/_eq.js.json b/ast/source/1-new/compare/_eq.js.json new file mode 100644 index 0000000..5df4f80 --- /dev/null +++ b/ast/source/1-new/compare/_eq.js.json @@ -0,0 +1,500 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_cmp", + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_cmp", + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + } + ], + "source": { + "type": "Literal", + "value": ".", + "raw": "'.'", + "range": [ + 21, + 24 + ], + "loc": { + "start": { + "line": 1, + "column": 21 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + "range": [ + 0, + 26 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 26 + } + } + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "_eq", + "range": [ + 41, + 44 + ], + "loc": { + "start": { + "line": 3, + "column": 13 + }, + "end": { + "line": 3, + "column": 16 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 49, + 50 + ], + "loc": { + "start": { + "line": 3, + "column": 21 + }, + "end": { + "line": 3, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 53, + 55 + ], + "loc": { + "start": { + "line": 3, + "column": 25 + }, + "end": { + "line": 3, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 58, + 60 + ], + "loc": { + "start": { + "line": 3, + "column": 30 + }, + "end": { + "line": 3, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 63, + 64 + ], + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 36 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 67, + 69 + ], + "loc": { + "start": { + "line": 3, + "column": 39 + }, + "end": { + "line": 3, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 72, + 74 + ], + "loc": { + "start": { + "line": 3, + "column": 44 + }, + "end": { + "line": 3, + "column": 46 + } + } + } + ], + "body": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_cmp", + "range": [ + 80, + 84 + ], + "loc": { + "start": { + "line": 3, + "column": 52 + }, + "end": { + "line": 3, + "column": 56 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 86, + 87 + ], + "loc": { + "start": { + "line": 3, + "column": 58 + }, + "end": { + "line": 3, + "column": 59 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 90, + 92 + ], + "loc": { + "start": { + "line": 3, + "column": 62 + }, + "end": { + "line": 3, + "column": 64 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 95, + 97 + ], + "loc": { + "start": { + "line": 3, + "column": 67 + }, + "end": { + "line": 3, + "column": 69 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 100, + 101 + ], + "loc": { + "start": { + "line": 3, + "column": 72 + }, + "end": { + "line": 3, + "column": 73 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 104, + 106 + ], + "loc": { + "start": { + "line": 3, + "column": 76 + }, + "end": { + "line": 3, + "column": 78 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 109, + 111 + ], + "loc": { + "start": { + "line": 3, + "column": 81 + }, + "end": { + "line": 3, + "column": 83 + } + } + } + ], + "range": [ + 80, + 113 + ], + "loc": { + "start": { + "line": 3, + "column": 52 + }, + "end": { + "line": 3, + "column": 85 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 118, + 119 + ], + "loc": { + "start": { + "line": 3, + "column": 90 + }, + "end": { + "line": 3, + "column": 91 + } + } + }, + "range": [ + 80, + 119 + ], + "loc": { + "start": { + "line": 3, + "column": 52 + }, + "end": { + "line": 3, + "column": 91 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 47, + 119 + ], + "loc": { + "start": { + "line": 3, + "column": 19 + }, + "end": { + "line": 3, + "column": 91 + } + } + }, + "range": [ + 41, + 119 + ], + "loc": { + "start": { + "line": 3, + "column": 13 + }, + "end": { + "line": 3, + "column": 91 + } + } + } + ], + "kind": "const", + "range": [ + 35, + 121 + ], + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 93 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 28, + 121 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 93 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 121 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 93 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/compare/_ge.js.json b/ast/source/1-new/compare/_ge.js.json new file mode 100644 index 0000000..a5a0ead --- /dev/null +++ b/ast/source/1-new/compare/_ge.js.json @@ -0,0 +1,500 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_cmp", + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_cmp", + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + } + ], + "source": { + "type": "Literal", + "value": ".", + "raw": "'.'", + "range": [ + 21, + 24 + ], + "loc": { + "start": { + "line": 1, + "column": 21 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + "range": [ + 0, + 26 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 26 + } + } + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "_ge", + "range": [ + 41, + 44 + ], + "loc": { + "start": { + "line": 3, + "column": 13 + }, + "end": { + "line": 3, + "column": 16 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 49, + 50 + ], + "loc": { + "start": { + "line": 3, + "column": 21 + }, + "end": { + "line": 3, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 53, + 55 + ], + "loc": { + "start": { + "line": 3, + "column": 25 + }, + "end": { + "line": 3, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 58, + 60 + ], + "loc": { + "start": { + "line": 3, + "column": 30 + }, + "end": { + "line": 3, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 63, + 64 + ], + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 36 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 67, + 69 + ], + "loc": { + "start": { + "line": 3, + "column": 39 + }, + "end": { + "line": 3, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 72, + 74 + ], + "loc": { + "start": { + "line": 3, + "column": 44 + }, + "end": { + "line": 3, + "column": 46 + } + } + } + ], + "body": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_cmp", + "range": [ + 80, + 84 + ], + "loc": { + "start": { + "line": 3, + "column": 52 + }, + "end": { + "line": 3, + "column": 56 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 86, + 87 + ], + "loc": { + "start": { + "line": 3, + "column": 58 + }, + "end": { + "line": 3, + "column": 59 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 90, + 92 + ], + "loc": { + "start": { + "line": 3, + "column": 62 + }, + "end": { + "line": 3, + "column": 64 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 95, + 97 + ], + "loc": { + "start": { + "line": 3, + "column": 67 + }, + "end": { + "line": 3, + "column": 69 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 100, + 101 + ], + "loc": { + "start": { + "line": 3, + "column": 72 + }, + "end": { + "line": 3, + "column": 73 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 104, + 106 + ], + "loc": { + "start": { + "line": 3, + "column": 76 + }, + "end": { + "line": 3, + "column": 78 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 109, + 111 + ], + "loc": { + "start": { + "line": 3, + "column": 81 + }, + "end": { + "line": 3, + "column": 83 + } + } + } + ], + "range": [ + 80, + 113 + ], + "loc": { + "start": { + "line": 3, + "column": 52 + }, + "end": { + "line": 3, + "column": 85 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 117, + 118 + ], + "loc": { + "start": { + "line": 3, + "column": 89 + }, + "end": { + "line": 3, + "column": 90 + } + } + }, + "range": [ + 80, + 118 + ], + "loc": { + "start": { + "line": 3, + "column": 52 + }, + "end": { + "line": 3, + "column": 90 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 47, + 118 + ], + "loc": { + "start": { + "line": 3, + "column": 19 + }, + "end": { + "line": 3, + "column": 90 + } + } + }, + "range": [ + 41, + 118 + ], + "loc": { + "start": { + "line": 3, + "column": 13 + }, + "end": { + "line": 3, + "column": 90 + } + } + } + ], + "kind": "const", + "range": [ + 35, + 120 + ], + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 92 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 28, + 120 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 92 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 120 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 92 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/compare/_gt.js.json b/ast/source/1-new/compare/_gt.js.json new file mode 100644 index 0000000..a779868 --- /dev/null +++ b/ast/source/1-new/compare/_gt.js.json @@ -0,0 +1,500 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_cmp", + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_cmp", + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + } + ], + "source": { + "type": "Literal", + "value": ".", + "raw": "'.'", + "range": [ + 21, + 24 + ], + "loc": { + "start": { + "line": 1, + "column": 21 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + "range": [ + 0, + 26 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 26 + } + } + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "_gt", + "range": [ + 41, + 44 + ], + "loc": { + "start": { + "line": 3, + "column": 13 + }, + "end": { + "line": 3, + "column": 16 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 49, + 50 + ], + "loc": { + "start": { + "line": 3, + "column": 21 + }, + "end": { + "line": 3, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 53, + 55 + ], + "loc": { + "start": { + "line": 3, + "column": 25 + }, + "end": { + "line": 3, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 58, + 60 + ], + "loc": { + "start": { + "line": 3, + "column": 30 + }, + "end": { + "line": 3, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 63, + 64 + ], + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 36 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 67, + 69 + ], + "loc": { + "start": { + "line": 3, + "column": 39 + }, + "end": { + "line": 3, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 72, + 74 + ], + "loc": { + "start": { + "line": 3, + "column": 44 + }, + "end": { + "line": 3, + "column": 46 + } + } + } + ], + "body": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_cmp", + "range": [ + 80, + 84 + ], + "loc": { + "start": { + "line": 3, + "column": 52 + }, + "end": { + "line": 3, + "column": 56 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 86, + 87 + ], + "loc": { + "start": { + "line": 3, + "column": 58 + }, + "end": { + "line": 3, + "column": 59 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 90, + 92 + ], + "loc": { + "start": { + "line": 3, + "column": 62 + }, + "end": { + "line": 3, + "column": 64 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 95, + 97 + ], + "loc": { + "start": { + "line": 3, + "column": 67 + }, + "end": { + "line": 3, + "column": 69 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 100, + 101 + ], + "loc": { + "start": { + "line": 3, + "column": 72 + }, + "end": { + "line": 3, + "column": 73 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 104, + 106 + ], + "loc": { + "start": { + "line": 3, + "column": 76 + }, + "end": { + "line": 3, + "column": 78 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 109, + 111 + ], + "loc": { + "start": { + "line": 3, + "column": 81 + }, + "end": { + "line": 3, + "column": 83 + } + } + } + ], + "range": [ + 80, + 113 + ], + "loc": { + "start": { + "line": 3, + "column": 52 + }, + "end": { + "line": 3, + "column": 85 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 116, + 117 + ], + "loc": { + "start": { + "line": 3, + "column": 88 + }, + "end": { + "line": 3, + "column": 89 + } + } + }, + "range": [ + 80, + 117 + ], + "loc": { + "start": { + "line": 3, + "column": 52 + }, + "end": { + "line": 3, + "column": 89 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 47, + 117 + ], + "loc": { + "start": { + "line": 3, + "column": 19 + }, + "end": { + "line": 3, + "column": 89 + } + } + }, + "range": [ + 41, + 117 + ], + "loc": { + "start": { + "line": 3, + "column": 13 + }, + "end": { + "line": 3, + "column": 89 + } + } + } + ], + "kind": "const", + "range": [ + 35, + 119 + ], + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 91 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 28, + 119 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 91 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 119 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 91 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/compare/_jz.js.json b/ast/source/1-new/compare/_jz.js.json new file mode 100644 index 0000000..7608d0e --- /dev/null +++ b/ast/source/1-new/compare/_jz.js.json @@ -0,0 +1,502 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "_jz", + "range": [ + 148, + 151 + ], + "loc": { + "start": { + "line": 10, + "column": 16 + }, + "end": { + "line": 10, + "column": 19 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 154, + 155 + ], + "loc": { + "start": { + "line": 10, + "column": 22 + }, + "end": { + "line": 10, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 158, + 160 + ], + "loc": { + "start": { + "line": 10, + "column": 26 + }, + "end": { + "line": 10, + "column": 28 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 163, + 165 + ], + "loc": { + "start": { + "line": 10, + "column": 31 + }, + "end": { + "line": 10, + "column": 33 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ForStatement", + "init": null, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "ai", + "range": [ + 180, + 182 + ], + "loc": { + "start": { + "line": 12, + "column": 9 + }, + "end": { + "line": 12, + "column": 11 + } + } + }, + "right": { + "type": "Identifier", + "name": "aj", + "range": [ + 185, + 187 + ], + "loc": { + "start": { + "line": 12, + "column": 14 + }, + "end": { + "line": 12, + "column": 16 + } + } + }, + "range": [ + 180, + 187 + ], + "loc": { + "start": { + "line": 12, + "column": 9 + }, + "end": { + "line": 12, + "column": 16 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "ai", + "range": [ + 192, + 194 + ], + "loc": { + "start": { + "line": 12, + "column": 21 + }, + "end": { + "line": 12, + "column": 23 + } + } + }, + "prefix": true, + "range": [ + 190, + 194 + ], + "loc": { + "start": { + "line": 12, + "column": 19 + }, + "end": { + "line": 12, + "column": 23 + } + } + }, + "body": { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 202, + 203 + ], + "loc": { + "start": { + "line": 12, + "column": 31 + }, + "end": { + "line": 12, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "ai", + "range": [ + 204, + 206 + ], + "loc": { + "start": { + "line": 12, + "column": 33 + }, + "end": { + "line": 12, + "column": 35 + } + } + }, + "range": [ + 202, + 207 + ], + "loc": { + "start": { + "line": 12, + "column": 31 + }, + "end": { + "line": 12, + "column": 36 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 212, + 213 + ], + "loc": { + "start": { + "line": 12, + "column": 41 + }, + "end": { + "line": 12, + "column": 42 + } + } + }, + "range": [ + 202, + 213 + ], + "loc": { + "start": { + "line": 12, + "column": 31 + }, + "end": { + "line": 12, + "column": 42 + } + } + }, + "consequent": { + "type": "ReturnStatement", + "argument": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 223, + 228 + ], + "loc": { + "start": { + "line": 12, + "column": 52 + }, + "end": { + "line": 12, + "column": 57 + } + } + }, + "range": [ + 216, + 230 + ], + "loc": { + "start": { + "line": 12, + "column": 45 + }, + "end": { + "line": 12, + "column": 59 + } + } + }, + "alternate": null, + "range": [ + 197, + 230 + ], + "loc": { + "start": { + "line": 12, + "column": 26 + }, + "end": { + "line": 12, + "column": 59 + } + } + }, + "range": [ + 172, + 230 + ], + "loc": { + "start": { + "line": 12, + "column": 1 + }, + "end": { + "line": 12, + "column": 59 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 240, + 244 + ], + "loc": { + "start": { + "line": 14, + "column": 8 + }, + "end": { + "line": 14, + "column": 12 + } + } + }, + "range": [ + 233, + 246 + ], + "loc": { + "start": { + "line": 14, + "column": 1 + }, + "end": { + "line": 14, + "column": 14 + } + } + } + ], + "range": [ + 168, + 249 + ], + "loc": { + "start": { + "line": 10, + "column": 36 + }, + "end": { + "line": 16, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 139, + 249 + ], + "loc": { + "start": { + "line": 10, + "column": 7 + }, + "end": { + "line": 16, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Returns true if number is 0.\n *\n * @param {array} a first operand\n * @param {int} ai a left\n * @param {int} aj a right\n ", + "range": [ + 1, + 130 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 132, + 249 + ], + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 16, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Returns true if number is 0.\n *\n * @param {array} a first operand\n * @param {int} ai a left\n * @param {int} aj a right\n ", + "range": [ + 1, + 130 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 132, + 249 + ], + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 16, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Returns true if number is 0.\n *\n * @param {array} a first operand\n * @param {int} ai a left\n * @param {int} aj a right\n ", + "range": [ + 1, + 130 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/1-new/compare/_le.js.json b/ast/source/1-new/compare/_le.js.json new file mode 100644 index 0000000..00992ae --- /dev/null +++ b/ast/source/1-new/compare/_le.js.json @@ -0,0 +1,500 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_cmp", + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_cmp", + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + } + ], + "source": { + "type": "Literal", + "value": ".", + "raw": "'.'", + "range": [ + 21, + 24 + ], + "loc": { + "start": { + "line": 1, + "column": 21 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + "range": [ + 0, + 26 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 26 + } + } + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "_le", + "range": [ + 41, + 44 + ], + "loc": { + "start": { + "line": 3, + "column": 13 + }, + "end": { + "line": 3, + "column": 16 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 49, + 50 + ], + "loc": { + "start": { + "line": 3, + "column": 21 + }, + "end": { + "line": 3, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 53, + 55 + ], + "loc": { + "start": { + "line": 3, + "column": 25 + }, + "end": { + "line": 3, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 58, + 60 + ], + "loc": { + "start": { + "line": 3, + "column": 30 + }, + "end": { + "line": 3, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 63, + 64 + ], + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 36 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 67, + 69 + ], + "loc": { + "start": { + "line": 3, + "column": 39 + }, + "end": { + "line": 3, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 72, + 74 + ], + "loc": { + "start": { + "line": 3, + "column": 44 + }, + "end": { + "line": 3, + "column": 46 + } + } + } + ], + "body": { + "type": "BinaryExpression", + "operator": "<=", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_cmp", + "range": [ + 80, + 84 + ], + "loc": { + "start": { + "line": 3, + "column": 52 + }, + "end": { + "line": 3, + "column": 56 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 86, + 87 + ], + "loc": { + "start": { + "line": 3, + "column": 58 + }, + "end": { + "line": 3, + "column": 59 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 90, + 92 + ], + "loc": { + "start": { + "line": 3, + "column": 62 + }, + "end": { + "line": 3, + "column": 64 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 95, + 97 + ], + "loc": { + "start": { + "line": 3, + "column": 67 + }, + "end": { + "line": 3, + "column": 69 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 100, + 101 + ], + "loc": { + "start": { + "line": 3, + "column": 72 + }, + "end": { + "line": 3, + "column": 73 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 104, + 106 + ], + "loc": { + "start": { + "line": 3, + "column": 76 + }, + "end": { + "line": 3, + "column": 78 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 109, + 111 + ], + "loc": { + "start": { + "line": 3, + "column": 81 + }, + "end": { + "line": 3, + "column": 83 + } + } + } + ], + "range": [ + 80, + 113 + ], + "loc": { + "start": { + "line": 3, + "column": 52 + }, + "end": { + "line": 3, + "column": 85 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 117, + 118 + ], + "loc": { + "start": { + "line": 3, + "column": 89 + }, + "end": { + "line": 3, + "column": 90 + } + } + }, + "range": [ + 80, + 118 + ], + "loc": { + "start": { + "line": 3, + "column": 52 + }, + "end": { + "line": 3, + "column": 90 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 47, + 118 + ], + "loc": { + "start": { + "line": 3, + "column": 19 + }, + "end": { + "line": 3, + "column": 90 + } + } + }, + "range": [ + 41, + 118 + ], + "loc": { + "start": { + "line": 3, + "column": 13 + }, + "end": { + "line": 3, + "column": 90 + } + } + } + ], + "kind": "const", + "range": [ + 35, + 120 + ], + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 92 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 28, + 120 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 92 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 120 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 92 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/compare/_lt.js.json b/ast/source/1-new/compare/_lt.js.json new file mode 100644 index 0000000..f5c71d7 --- /dev/null +++ b/ast/source/1-new/compare/_lt.js.json @@ -0,0 +1,500 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_cmp", + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_cmp", + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + } + ], + "source": { + "type": "Literal", + "value": ".", + "raw": "'.'", + "range": [ + 21, + 24 + ], + "loc": { + "start": { + "line": 1, + "column": 21 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + "range": [ + 0, + 26 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 26 + } + } + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "_lt", + "range": [ + 41, + 44 + ], + "loc": { + "start": { + "line": 3, + "column": 13 + }, + "end": { + "line": 3, + "column": 16 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 49, + 50 + ], + "loc": { + "start": { + "line": 3, + "column": 21 + }, + "end": { + "line": 3, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 53, + 55 + ], + "loc": { + "start": { + "line": 3, + "column": 25 + }, + "end": { + "line": 3, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 58, + 60 + ], + "loc": { + "start": { + "line": 3, + "column": 30 + }, + "end": { + "line": 3, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 63, + 64 + ], + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 36 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 67, + 69 + ], + "loc": { + "start": { + "line": 3, + "column": 39 + }, + "end": { + "line": 3, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 72, + 74 + ], + "loc": { + "start": { + "line": 3, + "column": 44 + }, + "end": { + "line": 3, + "column": 46 + } + } + } + ], + "body": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_cmp", + "range": [ + 80, + 84 + ], + "loc": { + "start": { + "line": 3, + "column": 52 + }, + "end": { + "line": 3, + "column": 56 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 86, + 87 + ], + "loc": { + "start": { + "line": 3, + "column": 58 + }, + "end": { + "line": 3, + "column": 59 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 90, + 92 + ], + "loc": { + "start": { + "line": 3, + "column": 62 + }, + "end": { + "line": 3, + "column": 64 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 95, + 97 + ], + "loc": { + "start": { + "line": 3, + "column": 67 + }, + "end": { + "line": 3, + "column": 69 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 100, + 101 + ], + "loc": { + "start": { + "line": 3, + "column": 72 + }, + "end": { + "line": 3, + "column": 73 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 104, + 106 + ], + "loc": { + "start": { + "line": 3, + "column": 76 + }, + "end": { + "line": 3, + "column": 78 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 109, + 111 + ], + "loc": { + "start": { + "line": 3, + "column": 81 + }, + "end": { + "line": 3, + "column": 83 + } + } + } + ], + "range": [ + 80, + 113 + ], + "loc": { + "start": { + "line": 3, + "column": 52 + }, + "end": { + "line": 3, + "column": 85 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 116, + 117 + ], + "loc": { + "start": { + "line": 3, + "column": 88 + }, + "end": { + "line": 3, + "column": 89 + } + } + }, + "range": [ + 80, + 117 + ], + "loc": { + "start": { + "line": 3, + "column": 52 + }, + "end": { + "line": 3, + "column": 89 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 47, + 117 + ], + "loc": { + "start": { + "line": 3, + "column": 19 + }, + "end": { + "line": 3, + "column": 89 + } + } + }, + "range": [ + 41, + 117 + ], + "loc": { + "start": { + "line": 3, + "column": 13 + }, + "end": { + "line": 3, + "column": 89 + } + } + } + ], + "kind": "const", + "range": [ + 35, + 119 + ], + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 91 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 28, + 119 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 91 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 119 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 91 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/compare/_ne.js.json b/ast/source/1-new/compare/_ne.js.json new file mode 100644 index 0000000..8dbc0c2 --- /dev/null +++ b/ast/source/1-new/compare/_ne.js.json @@ -0,0 +1,500 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_cmp", + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_cmp", + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + } + ], + "source": { + "type": "Literal", + "value": ".", + "raw": "'.'", + "range": [ + 21, + 24 + ], + "loc": { + "start": { + "line": 1, + "column": 21 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + "range": [ + 0, + 26 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 26 + } + } + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "_ne", + "range": [ + 41, + 44 + ], + "loc": { + "start": { + "line": 3, + "column": 13 + }, + "end": { + "line": 3, + "column": 16 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 49, + 50 + ], + "loc": { + "start": { + "line": 3, + "column": 21 + }, + "end": { + "line": 3, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 53, + 55 + ], + "loc": { + "start": { + "line": 3, + "column": 25 + }, + "end": { + "line": 3, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 58, + 60 + ], + "loc": { + "start": { + "line": 3, + "column": 30 + }, + "end": { + "line": 3, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 63, + 64 + ], + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 36 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 67, + 69 + ], + "loc": { + "start": { + "line": 3, + "column": 39 + }, + "end": { + "line": 3, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 72, + 74 + ], + "loc": { + "start": { + "line": 3, + "column": 44 + }, + "end": { + "line": 3, + "column": 46 + } + } + } + ], + "body": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_cmp", + "range": [ + 80, + 84 + ], + "loc": { + "start": { + "line": 3, + "column": 52 + }, + "end": { + "line": 3, + "column": 56 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 86, + 87 + ], + "loc": { + "start": { + "line": 3, + "column": 58 + }, + "end": { + "line": 3, + "column": 59 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 90, + 92 + ], + "loc": { + "start": { + "line": 3, + "column": 62 + }, + "end": { + "line": 3, + "column": 64 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 95, + 97 + ], + "loc": { + "start": { + "line": 3, + "column": 67 + }, + "end": { + "line": 3, + "column": 69 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 100, + 101 + ], + "loc": { + "start": { + "line": 3, + "column": 72 + }, + "end": { + "line": 3, + "column": 73 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 104, + 106 + ], + "loc": { + "start": { + "line": 3, + "column": 76 + }, + "end": { + "line": 3, + "column": 78 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 109, + 111 + ], + "loc": { + "start": { + "line": 3, + "column": 81 + }, + "end": { + "line": 3, + "column": 83 + } + } + } + ], + "range": [ + 80, + 113 + ], + "loc": { + "start": { + "line": 3, + "column": 52 + }, + "end": { + "line": 3, + "column": 85 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 118, + 119 + ], + "loc": { + "start": { + "line": 3, + "column": 90 + }, + "end": { + "line": 3, + "column": 91 + } + } + }, + "range": [ + 80, + 119 + ], + "loc": { + "start": { + "line": 3, + "column": 52 + }, + "end": { + "line": 3, + "column": 91 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 47, + 119 + ], + "loc": { + "start": { + "line": 3, + "column": 19 + }, + "end": { + "line": 3, + "column": 91 + } + } + }, + "range": [ + 41, + 119 + ], + "loc": { + "start": { + "line": 3, + "column": 13 + }, + "end": { + "line": 3, + "column": 91 + } + } + } + ], + "kind": "const", + "range": [ + 35, + 121 + ], + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 93 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 28, + 121 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 93 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 121 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 93 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/compare/index.js.json b/ast/source/1-new/compare/index.js.json new file mode 100644 index 0000000..347a2c3 --- /dev/null +++ b/ast/source/1-new/compare/index.js.json @@ -0,0 +1,345 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./_CMP", + "raw": "'./_CMP'", + "range": [ + 14, + 22 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 22 + } + } + }, + "range": [ + 0, + 24 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./_cmp", + "raw": "'./_cmp'", + "range": [ + 39, + 47 + ], + "loc": { + "start": { + "line": 2, + "column": 14 + }, + "end": { + "line": 2, + "column": 22 + } + } + }, + "range": [ + 25, + 49 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 24 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./_eq", + "raw": "'./_eq'", + "range": [ + 64, + 71 + ], + "loc": { + "start": { + "line": 3, + "column": 14 + }, + "end": { + "line": 3, + "column": 21 + } + } + }, + "range": [ + 50, + 73 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 23 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./_ge", + "raw": "'./_ge'", + "range": [ + 88, + 95 + ], + "loc": { + "start": { + "line": 4, + "column": 14 + }, + "end": { + "line": 4, + "column": 21 + } + } + }, + "range": [ + 74, + 97 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 23 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./_gt", + "raw": "'./_gt'", + "range": [ + 112, + 119 + ], + "loc": { + "start": { + "line": 5, + "column": 14 + }, + "end": { + "line": 5, + "column": 21 + } + } + }, + "range": [ + 98, + 121 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 23 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./_jz", + "raw": "'./_jz'", + "range": [ + 136, + 143 + ], + "loc": { + "start": { + "line": 6, + "column": 14 + }, + "end": { + "line": 6, + "column": 21 + } + } + }, + "range": [ + 122, + 145 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 23 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./_le", + "raw": "'./_le'", + "range": [ + 160, + 167 + ], + "loc": { + "start": { + "line": 7, + "column": 14 + }, + "end": { + "line": 7, + "column": 21 + } + } + }, + "range": [ + 146, + 169 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 23 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./_lt", + "raw": "'./_lt'", + "range": [ + 184, + 191 + ], + "loc": { + "start": { + "line": 8, + "column": 14 + }, + "end": { + "line": 8, + "column": 21 + } + } + }, + "range": [ + 170, + 193 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 23 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./_ne", + "raw": "'./_ne'", + "range": [ + 208, + 215 + ], + "loc": { + "start": { + "line": 9, + "column": 14 + }, + "end": { + "line": 9, + "column": 21 + } + } + }, + "range": [ + 194, + 217 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 23 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 217 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 9, + "column": 23 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/convert/_alloc.js.json b/ast/source/1-new/convert/_alloc.js.json new file mode 100644 index 0000000..e9004df --- /dev/null +++ b/ast/source/1-new/convert/_alloc.js.json @@ -0,0 +1,190 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "_alloc", + "range": [ + 17, + 23 + ], + "loc": { + "start": { + "line": 2, + "column": 16 + }, + "end": { + "line": 2, + "column": 22 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "n", + "range": [ + 26, + 27 + ], + "loc": { + "start": { + "line": 2, + "column": 25 + }, + "end": { + "line": 2, + "column": 26 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "Array", + "range": [ + 45, + 50 + ], + "loc": { + "start": { + "line": 4, + "column": 12 + }, + "end": { + "line": 4, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "n", + "range": [ + 52, + 53 + ], + "loc": { + "start": { + "line": 4, + "column": 19 + }, + "end": { + "line": 4, + "column": 20 + } + } + } + ], + "range": [ + 41, + 55 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 22 + } + } + }, + "range": [ + 34, + 57 + ], + "loc": { + "start": { + "line": 4, + "column": 1 + }, + "end": { + "line": 4, + "column": 24 + } + } + } + ], + "range": [ + 30, + 60 + ], + "loc": { + "start": { + "line": 2, + "column": 29 + }, + "end": { + "line": 6, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 8, + 60 + ], + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 6, + "column": 1 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 1, + 60 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 6, + "column": 1 + } + } + } + ], + "sourceType": "module", + "range": [ + 1, + 60 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 6, + "column": 1 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/convert/_build.js.json b/ast/source/1-new/convert/_build.js.json new file mode 100644 index 0000000..f7647d3 --- /dev/null +++ b/ast/source/1-new/convert/_build.js.json @@ -0,0 +1,1002 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "_build", + "range": [ + 17, + 23 + ], + "loc": { + "start": { + "line": 2, + "column": 16 + }, + "end": { + "line": 2, + "column": 22 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "base", + "range": [ + 26, + 30 + ], + "loc": { + "start": { + "line": 2, + "column": 25 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "number", + "range": [ + 33, + 39 + ], + "loc": { + "start": { + "line": 2, + "column": 32 + }, + "end": { + "line": 2, + "column": 38 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "data", + "range": [ + 52, + 56 + ], + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 11 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 59, + 62 + ], + "loc": { + "start": { + "line": 4, + "column": 14 + }, + "end": { + "line": 4, + "column": 17 + } + } + }, + "range": [ + 52, + 62 + ], + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 17 + } + } + } + ], + "kind": "const", + "range": [ + 46, + 64 + ], + "loc": { + "start": { + "line": 4, + "column": 1 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "q", + "range": [ + 71, + 72 + ], + "loc": { + "start": { + "line": 6, + "column": 5 + }, + "end": { + "line": 6, + "column": 6 + } + } + }, + "init": { + "type": "Identifier", + "name": "number", + "range": [ + 75, + 81 + ], + "loc": { + "start": { + "line": 6, + "column": 9 + }, + "end": { + "line": 6, + "column": 15 + } + } + }, + "range": [ + 71, + 81 + ], + "loc": { + "start": { + "line": 6, + "column": 5 + }, + "end": { + "line": 6, + "column": 15 + } + } + } + ], + "kind": "let", + "range": [ + 67, + 83 + ], + "loc": { + "start": { + "line": 6, + "column": 1 + }, + "end": { + "line": 6, + "column": 17 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "d", + "range": [ + 91, + 92 + ], + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 8 + } + } + }, + "init": { + "type": "Identifier", + "name": "base", + "range": [ + 95, + 99 + ], + "loc": { + "start": { + "line": 7, + "column": 11 + }, + "end": { + "line": 7, + "column": 15 + } + } + }, + "range": [ + 91, + 99 + ], + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 15 + } + } + } + ], + "kind": "const", + "range": [ + 85, + 101 + ], + "loc": { + "start": { + "line": 7, + "column": 1 + }, + "end": { + "line": 7, + "column": 17 + } + } + }, + { + "type": "WhileStatement", + "test": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "Identifier", + "name": "q", + "range": [ + 112, + 113 + ], + "loc": { + "start": { + "line": 9, + "column": 9 + }, + "end": { + "line": 9, + "column": 10 + } + } + }, + "right": { + "type": "Identifier", + "name": "d", + "range": [ + 117, + 118 + ], + "loc": { + "start": { + "line": 9, + "column": 14 + }, + "end": { + "line": 9, + "column": 15 + } + } + }, + "range": [ + 112, + 118 + ], + "loc": { + "start": { + "line": 9, + "column": 9 + }, + "end": { + "line": 9, + "column": 15 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "r", + "range": [ + 131, + 132 + ], + "loc": { + "start": { + "line": 10, + "column": 8 + }, + "end": { + "line": 10, + "column": 9 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "%", + "left": { + "type": "Identifier", + "name": "q", + "range": [ + 135, + 136 + ], + "loc": { + "start": { + "line": 10, + "column": 12 + }, + "end": { + "line": 10, + "column": 13 + } + } + }, + "right": { + "type": "Identifier", + "name": "d", + "range": [ + 139, + 140 + ], + "loc": { + "start": { + "line": 10, + "column": 16 + }, + "end": { + "line": 10, + "column": 17 + } + } + }, + "range": [ + 135, + 140 + ], + "loc": { + "start": { + "line": 10, + "column": 12 + }, + "end": { + "line": 10, + "column": 17 + } + } + }, + "range": [ + 131, + 140 + ], + "loc": { + "start": { + "line": 10, + "column": 8 + }, + "end": { + "line": 10, + "column": 17 + } + } + } + ], + "kind": "const", + "range": [ + 125, + 142 + ], + "loc": { + "start": { + "line": 10, + "column": 2 + }, + "end": { + "line": 10, + "column": 19 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "data", + "range": [ + 145, + 149 + ], + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 11, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 150, + 154 + ], + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 11, + "column": 11 + } + } + }, + "range": [ + 145, + 154 + ], + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 11, + "column": 11 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "r", + "range": [ + 156, + 157 + ], + "loc": { + "start": { + "line": 11, + "column": 13 + }, + "end": { + "line": 11, + "column": 14 + } + } + } + ], + "range": [ + 145, + 159 + ], + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 11, + "column": 16 + } + } + }, + "range": [ + 145, + 161 + ], + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 11, + "column": 18 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "q", + "range": [ + 164, + 165 + ], + "loc": { + "start": { + "line": 12, + "column": 2 + }, + "end": { + "line": 12, + "column": 3 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "q", + "range": [ + 170, + 171 + ], + "loc": { + "start": { + "line": 12, + "column": 8 + }, + "end": { + "line": 12, + "column": 9 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 174, + 175 + ], + "loc": { + "start": { + "line": 12, + "column": 12 + }, + "end": { + "line": 12, + "column": 13 + } + } + }, + "range": [ + 170, + 175 + ], + "loc": { + "start": { + "line": 12, + "column": 8 + }, + "end": { + "line": 12, + "column": 13 + } + } + }, + "right": { + "type": "Identifier", + "name": "d", + "range": [ + 180, + 181 + ], + "loc": { + "start": { + "line": 12, + "column": 18 + }, + "end": { + "line": 12, + "column": 19 + } + } + }, + "range": [ + 168, + 181 + ], + "loc": { + "start": { + "line": 12, + "column": 6 + }, + "end": { + "line": 12, + "column": 19 + } + } + }, + "range": [ + 164, + 181 + ], + "loc": { + "start": { + "line": 12, + "column": 2 + }, + "end": { + "line": 12, + "column": 19 + } + } + }, + "range": [ + 164, + 183 + ], + "loc": { + "start": { + "line": 12, + "column": 2 + }, + "end": { + "line": 12, + "column": 21 + } + } + } + ], + "range": [ + 121, + 186 + ], + "loc": { + "start": { + "line": 9, + "column": 18 + }, + "end": { + "line": 13, + "column": 2 + } + } + }, + "range": [ + 104, + 186 + ], + "loc": { + "start": { + "line": 9, + "column": 1 + }, + "end": { + "line": 13, + "column": 2 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "data", + "range": [ + 189, + 193 + ], + "loc": { + "start": { + "line": 15, + "column": 1 + }, + "end": { + "line": 15, + "column": 5 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 194, + 198 + ], + "loc": { + "start": { + "line": 15, + "column": 6 + }, + "end": { + "line": 15, + "column": 10 + } + } + }, + "range": [ + 189, + 198 + ], + "loc": { + "start": { + "line": 15, + "column": 1 + }, + "end": { + "line": 15, + "column": 10 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "q", + "range": [ + 200, + 201 + ], + "loc": { + "start": { + "line": 15, + "column": 12 + }, + "end": { + "line": 15, + "column": 13 + } + } + } + ], + "range": [ + 189, + 203 + ], + "loc": { + "start": { + "line": 15, + "column": 1 + }, + "end": { + "line": 15, + "column": 15 + } + } + }, + "range": [ + 189, + 205 + ], + "loc": { + "start": { + "line": 15, + "column": 1 + }, + "end": { + "line": 15, + "column": 17 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "data", + "range": [ + 215, + 219 + ], + "loc": { + "start": { + "line": 17, + "column": 8 + }, + "end": { + "line": 17, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "reverse", + "range": [ + 220, + 227 + ], + "loc": { + "start": { + "line": 17, + "column": 13 + }, + "end": { + "line": 17, + "column": 20 + } + } + }, + "range": [ + 215, + 227 + ], + "loc": { + "start": { + "line": 17, + "column": 8 + }, + "end": { + "line": 17, + "column": 20 + } + } + }, + "arguments": [], + "range": [ + 215, + 230 + ], + "loc": { + "start": { + "line": 17, + "column": 8 + }, + "end": { + "line": 17, + "column": 23 + } + } + }, + "range": [ + 208, + 232 + ], + "loc": { + "start": { + "line": 17, + "column": 1 + }, + "end": { + "line": 17, + "column": 25 + } + } + } + ], + "range": [ + 42, + 235 + ], + "loc": { + "start": { + "line": 2, + "column": 41 + }, + "end": { + "line": 19, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 8, + 235 + ], + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 19, + "column": 1 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 1, + 235 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 19, + "column": 1 + } + } + } + ], + "sourceType": "module", + "range": [ + 1, + 235 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 19, + "column": 1 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/convert/_chr.js.json b/ast/source/1-new/convert/_chr.js.json new file mode 100644 index 0000000..88a2251 --- /dev/null +++ b/ast/source/1-new/convert/_chr.js.json @@ -0,0 +1,481 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "_chr", + "range": [ + 17, + 21 + ], + "loc": { + "start": { + "line": 2, + "column": 16 + }, + "end": { + "line": 2, + "column": 20 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "x", + "range": [ + 24, + 25 + ], + "loc": { + "start": { + "line": 2, + "column": 23 + }, + "end": { + "line": 2, + "column": 24 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "x", + "range": [ + 37, + 38 + ], + "loc": { + "start": { + "line": 4, + "column": 6 + }, + "end": { + "line": 4, + "column": 7 + } + } + }, + "right": { + "type": "Literal", + "value": 10, + "raw": "10", + "range": [ + 41, + 43 + ], + "loc": { + "start": { + "line": 4, + "column": 10 + }, + "end": { + "line": 4, + "column": 12 + } + } + }, + "range": [ + 37, + 43 + ], + "loc": { + "start": { + "line": 4, + "column": 6 + }, + "end": { + "line": 4, + "column": 12 + } + } + }, + "consequent": { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "String", + "range": [ + 53, + 59 + ], + "loc": { + "start": { + "line": 4, + "column": 22 + }, + "end": { + "line": 4, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "fromCharCode", + "range": [ + 60, + 72 + ], + "loc": { + "start": { + "line": 4, + "column": 29 + }, + "end": { + "line": 4, + "column": 41 + } + } + }, + "range": [ + 53, + 72 + ], + "loc": { + "start": { + "line": 4, + "column": 22 + }, + "end": { + "line": 4, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": 48, + "raw": "48", + "range": [ + 74, + 76 + ], + "loc": { + "start": { + "line": 4, + "column": 43 + }, + "end": { + "line": 4, + "column": 45 + } + } + }, + "right": { + "type": "Identifier", + "name": "x", + "range": [ + 79, + 80 + ], + "loc": { + "start": { + "line": 4, + "column": 48 + }, + "end": { + "line": 4, + "column": 49 + } + } + }, + "range": [ + 74, + 80 + ], + "loc": { + "start": { + "line": 4, + "column": 43 + }, + "end": { + "line": 4, + "column": 49 + } + } + } + ], + "range": [ + 53, + 82 + ], + "loc": { + "start": { + "line": 4, + "column": 22 + }, + "end": { + "line": 4, + "column": 51 + } + } + }, + "range": [ + 46, + 84 + ], + "loc": { + "start": { + "line": 4, + "column": 15 + }, + "end": { + "line": 4, + "column": 53 + } + } + }, + "alternate": null, + "range": [ + 32, + 84 + ], + "loc": { + "start": { + "line": 4, + "column": 1 + }, + "end": { + "line": 4, + "column": 53 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "String", + "range": [ + 93, + 99 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "fromCharCode", + "range": [ + 100, + 112 + ], + "loc": { + "start": { + "line": 5, + "column": 15 + }, + "end": { + "line": 5, + "column": 27 + } + } + }, + "range": [ + 93, + 112 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": 87, + "raw": "87", + "range": [ + 114, + 116 + ], + "loc": { + "start": { + "line": 5, + "column": 29 + }, + "end": { + "line": 5, + "column": 31 + } + } + }, + "right": { + "type": "Identifier", + "name": "x", + "range": [ + 119, + 120 + ], + "loc": { + "start": { + "line": 5, + "column": 34 + }, + "end": { + "line": 5, + "column": 35 + } + } + }, + "range": [ + 114, + 120 + ], + "loc": { + "start": { + "line": 5, + "column": 29 + }, + "end": { + "line": 5, + "column": 35 + } + } + } + ], + "range": [ + 93, + 122 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 37 + } + } + }, + "range": [ + 86, + 124 + ], + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 39 + } + } + } + ], + "range": [ + 28, + 127 + ], + "loc": { + "start": { + "line": 2, + "column": 27 + }, + "end": { + "line": 7, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 8, + 127 + ], + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 7, + "column": 1 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 1, + 127 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 1 + } + } + } + ], + "sourceType": "module", + "range": [ + 1, + 127 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 1 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/convert/_convert.js.json b/ast/source/1-new/convert/_convert.js.json new file mode 100644 index 0000000..a146d6b --- /dev/null +++ b/ast/source/1-new/convert/_convert.js.json @@ -0,0 +1,1203 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_convert_to_smaller", + "range": [ + 9, + 28 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 28 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_convert_to_smaller", + "range": [ + 9, + 28 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 28 + } + } + }, + "range": [ + 9, + 28 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 28 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_convert_to_larger", + "range": [ + 31, + 49 + ], + "loc": { + "start": { + "line": 1, + "column": 31 + }, + "end": { + "line": 1, + "column": 49 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_convert_to_larger", + "range": [ + 31, + 49 + ], + "loc": { + "start": { + "line": 1, + "column": 31 + }, + "end": { + "line": 1, + "column": 49 + } + } + }, + "range": [ + 31, + 49 + ], + "loc": { + "start": { + "line": 1, + "column": 31 + }, + "end": { + "line": 1, + "column": 49 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_copy", + "range": [ + 52, + 57 + ], + "loc": { + "start": { + "line": 1, + "column": 52 + }, + "end": { + "line": 1, + "column": 57 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_copy", + "range": [ + 52, + 57 + ], + "loc": { + "start": { + "line": 1, + "column": 52 + }, + "end": { + "line": 1, + "column": 57 + } + } + }, + "range": [ + 52, + 57 + ], + "loc": { + "start": { + "line": 1, + "column": 52 + }, + "end": { + "line": 1, + "column": 57 + } + } + } + ], + "source": { + "type": "Literal", + "value": ".", + "raw": "'.'", + "range": [ + 65, + 68 + ], + "loc": { + "start": { + "line": 1, + "column": 65 + }, + "end": { + "line": 1, + "column": 68 + } + } + }, + "range": [ + 0, + 70 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 70 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", + "range": [ + 72, + 477 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "_convert", + "range": [ + 495, + 503 + ], + "loc": { + "start": { + "line": 15, + "column": 16 + }, + "end": { + "line": 15, + "column": 24 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "f", + "range": [ + 506, + 507 + ], + "loc": { + "start": { + "line": 15, + "column": 27 + }, + "end": { + "line": 15, + "column": 28 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 510, + 511 + ], + "loc": { + "start": { + "line": 15, + "column": 31 + }, + "end": { + "line": 15, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 514, + 515 + ], + "loc": { + "start": { + "line": 15, + "column": 35 + }, + "end": { + "line": 15, + "column": 36 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 518, + 520 + ], + "loc": { + "start": { + "line": 15, + "column": 39 + }, + "end": { + "line": 15, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 523, + 525 + ], + "loc": { + "start": { + "line": 15, + "column": 44 + }, + "end": { + "line": 15, + "column": 46 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 528, + 529 + ], + "loc": { + "start": { + "line": 15, + "column": 49 + }, + "end": { + "line": 15, + "column": 50 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 532, + 534 + ], + "loc": { + "start": { + "line": 15, + "column": 53 + }, + "end": { + "line": 15, + "column": 55 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 537, + 539 + ], + "loc": { + "start": { + "line": 15, + "column": 58 + }, + "end": { + "line": 15, + "column": 60 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "Identifier", + "name": "f", + "range": [ + 551, + 552 + ], + "loc": { + "start": { + "line": 17, + "column": 6 + }, + "end": { + "line": 17, + "column": 7 + } + } + }, + "right": { + "type": "Identifier", + "name": "t", + "range": [ + 555, + 556 + ], + "loc": { + "start": { + "line": 17, + "column": 10 + }, + "end": { + "line": 17, + "column": 11 + } + } + }, + "range": [ + 551, + 556 + ], + "loc": { + "start": { + "line": 17, + "column": 6 + }, + "end": { + "line": 17, + "column": 11 + } + } + }, + "consequent": { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_convert_to_smaller", + "range": [ + 566, + 585 + ], + "loc": { + "start": { + "line": 17, + "column": 21 + }, + "end": { + "line": 17, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "f", + "range": [ + 587, + 588 + ], + "loc": { + "start": { + "line": 17, + "column": 42 + }, + "end": { + "line": 17, + "column": 43 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 591, + 592 + ], + "loc": { + "start": { + "line": 17, + "column": 46 + }, + "end": { + "line": 17, + "column": 47 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 595, + 596 + ], + "loc": { + "start": { + "line": 17, + "column": 50 + }, + "end": { + "line": 17, + "column": 51 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 599, + 601 + ], + "loc": { + "start": { + "line": 17, + "column": 54 + }, + "end": { + "line": 17, + "column": 56 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 604, + 606 + ], + "loc": { + "start": { + "line": 17, + "column": 59 + }, + "end": { + "line": 17, + "column": 61 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 609, + 610 + ], + "loc": { + "start": { + "line": 17, + "column": 64 + }, + "end": { + "line": 17, + "column": 65 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 613, + 615 + ], + "loc": { + "start": { + "line": 17, + "column": 68 + }, + "end": { + "line": 17, + "column": 70 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 618, + 620 + ], + "loc": { + "start": { + "line": 17, + "column": 73 + }, + "end": { + "line": 17, + "column": 75 + } + } + } + ], + "range": [ + 566, + 622 + ], + "loc": { + "start": { + "line": 17, + "column": 21 + }, + "end": { + "line": 17, + "column": 77 + } + } + }, + "range": [ + 559, + 624 + ], + "loc": { + "start": { + "line": 17, + "column": 14 + }, + "end": { + "line": 17, + "column": 79 + } + } + }, + "alternate": null, + "range": [ + 546, + 624 + ], + "loc": { + "start": { + "line": 17, + "column": 1 + }, + "end": { + "line": 17, + "column": 79 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "f", + "range": [ + 631, + 632 + ], + "loc": { + "start": { + "line": 18, + "column": 6 + }, + "end": { + "line": 18, + "column": 7 + } + } + }, + "right": { + "type": "Identifier", + "name": "t", + "range": [ + 635, + 636 + ], + "loc": { + "start": { + "line": 18, + "column": 10 + }, + "end": { + "line": 18, + "column": 11 + } + } + }, + "range": [ + 631, + 636 + ], + "loc": { + "start": { + "line": 18, + "column": 6 + }, + "end": { + "line": 18, + "column": 11 + } + } + }, + "consequent": { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_convert_to_larger", + "range": [ + 646, + 664 + ], + "loc": { + "start": { + "line": 18, + "column": 21 + }, + "end": { + "line": 18, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "f", + "range": [ + 666, + 667 + ], + "loc": { + "start": { + "line": 18, + "column": 41 + }, + "end": { + "line": 18, + "column": 42 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 670, + 671 + ], + "loc": { + "start": { + "line": 18, + "column": 45 + }, + "end": { + "line": 18, + "column": 46 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 674, + 675 + ], + "loc": { + "start": { + "line": 18, + "column": 49 + }, + "end": { + "line": 18, + "column": 50 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 678, + 680 + ], + "loc": { + "start": { + "line": 18, + "column": 53 + }, + "end": { + "line": 18, + "column": 55 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 683, + 685 + ], + "loc": { + "start": { + "line": 18, + "column": 58 + }, + "end": { + "line": 18, + "column": 60 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 688, + 689 + ], + "loc": { + "start": { + "line": 18, + "column": 63 + }, + "end": { + "line": 18, + "column": 64 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 692, + 694 + ], + "loc": { + "start": { + "line": 18, + "column": 67 + }, + "end": { + "line": 18, + "column": 69 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 697, + 699 + ], + "loc": { + "start": { + "line": 18, + "column": 72 + }, + "end": { + "line": 18, + "column": 74 + } + } + } + ], + "range": [ + 646, + 701 + ], + "loc": { + "start": { + "line": 18, + "column": 21 + }, + "end": { + "line": 18, + "column": 76 + } + } + }, + "range": [ + 639, + 703 + ], + "loc": { + "start": { + "line": 18, + "column": 14 + }, + "end": { + "line": 18, + "column": 78 + } + } + }, + "alternate": null, + "range": [ + 626, + 703 + ], + "loc": { + "start": { + "line": 18, + "column": 1 + }, + "end": { + "line": 18, + "column": 78 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_copy", + "range": [ + 712, + 717 + ], + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 13 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 719, + 720 + ], + "loc": { + "start": { + "line": 19, + "column": 15 + }, + "end": { + "line": 19, + "column": 16 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 723, + 725 + ], + "loc": { + "start": { + "line": 19, + "column": 19 + }, + "end": { + "line": 19, + "column": 21 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 728, + 730 + ], + "loc": { + "start": { + "line": 19, + "column": 24 + }, + "end": { + "line": 19, + "column": 26 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 733, + 734 + ], + "loc": { + "start": { + "line": 19, + "column": 29 + }, + "end": { + "line": 19, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 737, + 739 + ], + "loc": { + "start": { + "line": 19, + "column": 33 + }, + "end": { + "line": 19, + "column": 35 + } + } + } + ], + "range": [ + 712, + 741 + ], + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 37 + } + } + }, + "range": [ + 705, + 743 + ], + "loc": { + "start": { + "line": 19, + "column": 1 + }, + "end": { + "line": 19, + "column": 39 + } + } + } + ], + "range": [ + 542, + 746 + ], + "loc": { + "start": { + "line": 15, + "column": 63 + }, + "end": { + "line": 21, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 486, + 746 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 21, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", + "range": [ + 72, + 477 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 479, + 746 + ], + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 21, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", + "range": [ + 72, + 477 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 746 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 21, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", + "range": [ + 72, + 477 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/1-new/convert/_convert_slow.js.json b/ast/source/1-new/convert/_convert_slow.js.json new file mode 100644 index 0000000..622d0e6 --- /dev/null +++ b/ast/source/1-new/convert/_convert_slow.js.json @@ -0,0 +1,2657 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_build", + "range": [ + 9, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_build", + "range": [ + 9, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "range": [ + 9, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_alloc", + "range": [ + 18, + 24 + ], + "loc": { + "start": { + "line": 1, + "column": 18 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_alloc", + "range": [ + 18, + 24 + ], + "loc": { + "start": { + "line": 1, + "column": 18 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + "range": [ + 18, + 24 + ], + "loc": { + "start": { + "line": 1, + "column": 18 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_reset", + "range": [ + 27, + 33 + ], + "loc": { + "start": { + "line": 1, + "column": 27 + }, + "end": { + "line": 1, + "column": 33 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_reset", + "range": [ + 27, + 33 + ], + "loc": { + "start": { + "line": 1, + "column": 27 + }, + "end": { + "line": 1, + "column": 33 + } + } + }, + "range": [ + 27, + 33 + ], + "loc": { + "start": { + "line": 1, + "column": 27 + }, + "end": { + "line": 1, + "column": 33 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_copy", + "range": [ + 36, + 41 + ], + "loc": { + "start": { + "line": 1, + "column": 36 + }, + "end": { + "line": 1, + "column": 41 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_copy", + "range": [ + 36, + 41 + ], + "loc": { + "start": { + "line": 1, + "column": 36 + }, + "end": { + "line": 1, + "column": 41 + } + } + }, + "range": [ + 36, + 41 + ], + "loc": { + "start": { + "line": 1, + "column": 36 + }, + "end": { + "line": 1, + "column": 41 + } + } + } + ], + "source": { + "type": "Literal", + "value": ".", + "raw": "'.'", + "range": [ + 49, + 52 + ], + "loc": { + "start": { + "line": 1, + "column": 49 + }, + "end": { + "line": 1, + "column": 52 + } + } + }, + "range": [ + 0, + 54 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 54 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_div", + "range": [ + 64, + 68 + ], + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 13 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_div", + "range": [ + 64, + 68 + ], + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 13 + } + } + }, + "range": [ + 64, + 68 + ], + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 13 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../arithmetic", + "raw": "'../arithmetic'", + "range": [ + 76, + 91 + ], + "loc": { + "start": { + "line": 2, + "column": 21 + }, + "end": { + "line": 2, + "column": 36 + } + } + }, + "range": [ + 55, + 93 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 38 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_jz", + "range": [ + 103, + 106 + ], + "loc": { + "start": { + "line": 3, + "column": 9 + }, + "end": { + "line": 3, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_jz", + "range": [ + 103, + 106 + ], + "loc": { + "start": { + "line": 3, + "column": 9 + }, + "end": { + "line": 3, + "column": 12 + } + } + }, + "range": [ + 103, + 106 + ], + "loc": { + "start": { + "line": 3, + "column": 9 + }, + "end": { + "line": 3, + "column": 12 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../compare", + "raw": "'../compare'", + "range": [ + 114, + 126 + ], + "loc": { + "start": { + "line": 3, + "column": 20 + }, + "end": { + "line": 3, + "column": 32 + } + } + }, + "range": [ + 94, + 128 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 34 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", + "range": [ + 130, + 535 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "_convert_slow", + "range": [ + 553, + 566 + ], + "loc": { + "start": { + "line": 17, + "column": 16 + }, + "end": { + "line": 17, + "column": 29 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "f", + "range": [ + 569, + 570 + ], + "loc": { + "start": { + "line": 17, + "column": 32 + }, + "end": { + "line": 17, + "column": 33 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 573, + 574 + ], + "loc": { + "start": { + "line": 17, + "column": 36 + }, + "end": { + "line": 17, + "column": 37 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 577, + 578 + ], + "loc": { + "start": { + "line": 17, + "column": 40 + }, + "end": { + "line": 17, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 581, + 583 + ], + "loc": { + "start": { + "line": 17, + "column": 44 + }, + "end": { + "line": 17, + "column": 46 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 586, + 588 + ], + "loc": { + "start": { + "line": 17, + "column": 49 + }, + "end": { + "line": 17, + "column": 51 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 591, + 592 + ], + "loc": { + "start": { + "line": 17, + "column": 54 + }, + "end": { + "line": 17, + "column": 55 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 595, + 597 + ], + "loc": { + "start": { + "line": 17, + "column": 58 + }, + "end": { + "line": 17, + "column": 60 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 600, + 602 + ], + "loc": { + "start": { + "line": 17, + "column": 63 + }, + "end": { + "line": 17, + "column": 65 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "d", + "range": [ + 615, + 616 + ], + "loc": { + "start": { + "line": 19, + "column": 7 + }, + "end": { + "line": 19, + "column": 8 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_build", + "range": [ + 619, + 625 + ], + "loc": { + "start": { + "line": 19, + "column": 11 + }, + "end": { + "line": 19, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "f", + "range": [ + 627, + 628 + ], + "loc": { + "start": { + "line": 19, + "column": 19 + }, + "end": { + "line": 19, + "column": 20 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 631, + 632 + ], + "loc": { + "start": { + "line": 19, + "column": 23 + }, + "end": { + "line": 19, + "column": 24 + } + } + } + ], + "range": [ + 619, + 634 + ], + "loc": { + "start": { + "line": 19, + "column": 11 + }, + "end": { + "line": 19, + "column": 26 + } + } + }, + "range": [ + 615, + 634 + ], + "loc": { + "start": { + "line": 19, + "column": 7 + }, + "end": { + "line": 19, + "column": 26 + } + } + } + ], + "kind": "const", + "range": [ + 609, + 636 + ], + "loc": { + "start": { + "line": 19, + "column": 1 + }, + "end": { + "line": 19, + "column": 28 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "di", + "range": [ + 644, + 646 + ], + "loc": { + "start": { + "line": 20, + "column": 7 + }, + "end": { + "line": 20, + "column": 9 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 649, + 650 + ], + "loc": { + "start": { + "line": 20, + "column": 12 + }, + "end": { + "line": 20, + "column": 13 + } + } + }, + "range": [ + 644, + 650 + ], + "loc": { + "start": { + "line": 20, + "column": 7 + }, + "end": { + "line": 20, + "column": 13 + } + } + } + ], + "kind": "const", + "range": [ + 638, + 652 + ], + "loc": { + "start": { + "line": 20, + "column": 1 + }, + "end": { + "line": 20, + "column": 15 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "dj", + "range": [ + 660, + 662 + ], + "loc": { + "start": { + "line": 21, + "column": 7 + }, + "end": { + "line": 21, + "column": 9 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "d", + "range": [ + 665, + 666 + ], + "loc": { + "start": { + "line": 21, + "column": 12 + }, + "end": { + "line": 21, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 667, + 673 + ], + "loc": { + "start": { + "line": 21, + "column": 14 + }, + "end": { + "line": 21, + "column": 20 + } + } + }, + "range": [ + 665, + 673 + ], + "loc": { + "start": { + "line": 21, + "column": 12 + }, + "end": { + "line": 21, + "column": 20 + } + } + }, + "range": [ + 660, + 673 + ], + "loc": { + "start": { + "line": 21, + "column": 7 + }, + "end": { + "line": 21, + "column": 20 + } + } + } + ], + "kind": "const", + "range": [ + 654, + 675 + ], + "loc": { + "start": { + "line": 21, + "column": 1 + }, + "end": { + "line": 21, + "column": 22 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "qi", + "range": [ + 683, + 685 + ], + "loc": { + "start": { + "line": 22, + "column": 7 + }, + "end": { + "line": 22, + "column": 9 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 688, + 689 + ], + "loc": { + "start": { + "line": 22, + "column": 12 + }, + "end": { + "line": 22, + "column": 13 + } + } + }, + "range": [ + 683, + 689 + ], + "loc": { + "start": { + "line": 22, + "column": 7 + }, + "end": { + "line": 22, + "column": 13 + } + } + } + ], + "kind": "const", + "range": [ + 677, + 691 + ], + "loc": { + "start": { + "line": 22, + "column": 1 + }, + "end": { + "line": 22, + "column": 15 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "qj", + "range": [ + 699, + 701 + ], + "loc": { + "start": { + "line": 23, + "column": 7 + }, + "end": { + "line": 23, + "column": 9 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "aj", + "range": [ + 704, + 706 + ], + "loc": { + "start": { + "line": 23, + "column": 12 + }, + "end": { + "line": 23, + "column": 14 + } + } + }, + "right": { + "type": "Identifier", + "name": "ai", + "range": [ + 709, + 711 + ], + "loc": { + "start": { + "line": 23, + "column": 17 + }, + "end": { + "line": 23, + "column": 19 + } + } + }, + "range": [ + 704, + 711 + ], + "loc": { + "start": { + "line": 23, + "column": 12 + }, + "end": { + "line": 23, + "column": 19 + } + } + }, + "range": [ + 699, + 711 + ], + "loc": { + "start": { + "line": 23, + "column": 7 + }, + "end": { + "line": 23, + "column": 19 + } + } + } + ], + "kind": "const", + "range": [ + 693, + 713 + ], + "loc": { + "start": { + "line": 23, + "column": 1 + }, + "end": { + "line": 23, + "column": 21 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "q", + "range": [ + 721, + 722 + ], + "loc": { + "start": { + "line": 24, + "column": 7 + }, + "end": { + "line": 24, + "column": 8 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_alloc", + "range": [ + 725, + 731 + ], + "loc": { + "start": { + "line": 24, + "column": 11 + }, + "end": { + "line": 24, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "qj", + "range": [ + 733, + 735 + ], + "loc": { + "start": { + "line": 24, + "column": 19 + }, + "end": { + "line": 24, + "column": 21 + } + } + }, + "right": { + "type": "Identifier", + "name": "qi", + "range": [ + 738, + 740 + ], + "loc": { + "start": { + "line": 24, + "column": 24 + }, + "end": { + "line": 24, + "column": 26 + } + } + }, + "range": [ + 733, + 740 + ], + "loc": { + "start": { + "line": 24, + "column": 19 + }, + "end": { + "line": 24, + "column": 26 + } + } + } + ], + "range": [ + 725, + 742 + ], + "loc": { + "start": { + "line": 24, + "column": 11 + }, + "end": { + "line": 24, + "column": 28 + } + } + }, + "range": [ + 721, + 742 + ], + "loc": { + "start": { + "line": 24, + "column": 7 + }, + "end": { + "line": 24, + "column": 28 + } + } + } + ], + "kind": "const", + "range": [ + 715, + 744 + ], + "loc": { + "start": { + "line": 24, + "column": 1 + }, + "end": { + "line": 24, + "column": 30 + } + } + }, + { + "type": "WhileStatement", + "test": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 755, + 759 + ], + "loc": { + "start": { + "line": 26, + "column": 9 + }, + "end": { + "line": 26, + "column": 13 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_reset", + "range": [ + 767, + 773 + ], + "loc": { + "start": { + "line": 28, + "column": 2 + }, + "end": { + "line": 28, + "column": 8 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "q", + "range": [ + 775, + 776 + ], + "loc": { + "start": { + "line": 28, + "column": 10 + }, + "end": { + "line": 28, + "column": 11 + } + } + }, + { + "type": "Identifier", + "name": "qi", + "range": [ + 779, + 781 + ], + "loc": { + "start": { + "line": 28, + "column": 14 + }, + "end": { + "line": 28, + "column": 16 + } + } + }, + { + "type": "Identifier", + "name": "qj", + "range": [ + 784, + 786 + ], + "loc": { + "start": { + "line": 28, + "column": 19 + }, + "end": { + "line": 28, + "column": 21 + } + } + } + ], + "range": [ + 767, + 788 + ], + "loc": { + "start": { + "line": 28, + "column": 2 + }, + "end": { + "line": 28, + "column": 23 + } + } + }, + "range": [ + 767, + 790 + ], + "loc": { + "start": { + "line": 28, + "column": 2 + }, + "end": { + "line": 28, + "column": 25 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_div", + "range": [ + 794, + 798 + ], + "loc": { + "start": { + "line": 30, + "column": 2 + }, + "end": { + "line": 30, + "column": 6 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "f", + "range": [ + 800, + 801 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 30, + "column": 9 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 804, + 805 + ], + "loc": { + "start": { + "line": 30, + "column": 12 + }, + "end": { + "line": 30, + "column": 13 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 808, + 810 + ], + "loc": { + "start": { + "line": 30, + "column": 16 + }, + "end": { + "line": 30, + "column": 18 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 813, + 815 + ], + "loc": { + "start": { + "line": 30, + "column": 21 + }, + "end": { + "line": 30, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "d", + "range": [ + 818, + 819 + ], + "loc": { + "start": { + "line": 30, + "column": 26 + }, + "end": { + "line": 30, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "di", + "range": [ + 822, + 824 + ], + "loc": { + "start": { + "line": 30, + "column": 30 + }, + "end": { + "line": 30, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "dj", + "range": [ + 827, + 829 + ], + "loc": { + "start": { + "line": 30, + "column": 35 + }, + "end": { + "line": 30, + "column": 37 + } + } + }, + { + "type": "Identifier", + "name": "q", + "range": [ + 832, + 833 + ], + "loc": { + "start": { + "line": 30, + "column": 40 + }, + "end": { + "line": 30, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "qi", + "range": [ + 836, + 838 + ], + "loc": { + "start": { + "line": 30, + "column": 44 + }, + "end": { + "line": 30, + "column": 46 + } + } + } + ], + "range": [ + 794, + 840 + ], + "loc": { + "start": { + "line": 30, + "column": 2 + }, + "end": { + "line": 30, + "column": 48 + } + } + }, + "range": [ + 794, + 842 + ], + "loc": { + "start": { + "line": 30, + "column": 2 + }, + "end": { + "line": 30, + "column": 50 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "bj", + "range": [ + 848, + 850 + ], + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 6 + } + } + }, + "prefix": true, + "range": [ + 846, + 850 + ], + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 32, + "column": 6 + } + } + }, + "range": [ + 846, + 852 + ], + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 32, + "column": 8 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "x", + "range": [ + 859, + 860 + ], + "loc": { + "start": { + "line": 33, + "column": 6 + }, + "end": { + "line": 33, + "column": 7 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 863, + 864 + ], + "loc": { + "start": { + "line": 33, + "column": 10 + }, + "end": { + "line": 33, + "column": 11 + } + } + }, + "range": [ + 859, + 864 + ], + "loc": { + "start": { + "line": 33, + "column": 6 + }, + "end": { + "line": 33, + "column": 11 + } + } + } + ], + "kind": "let", + "range": [ + 855, + 866 + ], + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 33, + "column": 13 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "k", + "range": [ + 880, + 881 + ], + "loc": { + "start": { + "line": 35, + "column": 12 + }, + "end": { + "line": 35, + "column": 13 + } + } + }, + "init": { + "type": "Identifier", + "name": "ai", + "range": [ + 884, + 886 + ], + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 35, + "column": 18 + } + } + }, + "range": [ + 880, + 886 + ], + "loc": { + "start": { + "line": 35, + "column": 12 + }, + "end": { + "line": 35, + "column": 18 + } + } + } + ], + "kind": "let", + "range": [ + 876, + 886 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 18 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 889, + 890 + ], + "loc": { + "start": { + "line": 35, + "column": 21 + }, + "end": { + "line": 35, + "column": 22 + } + } + }, + "right": { + "type": "Identifier", + "name": "aj", + "range": [ + 893, + 895 + ], + "loc": { + "start": { + "line": 35, + "column": 25 + }, + "end": { + "line": 35, + "column": 27 + } + } + }, + "range": [ + 889, + 895 + ], + "loc": { + "start": { + "line": 35, + "column": 21 + }, + "end": { + "line": 35, + "column": 27 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "k", + "range": [ + 900, + 901 + ], + "loc": { + "start": { + "line": 35, + "column": 32 + }, + "end": { + "line": 35, + "column": 33 + } + } + }, + "prefix": true, + "range": [ + 898, + 901 + ], + "loc": { + "start": { + "line": 35, + "column": 30 + }, + "end": { + "line": 35, + "column": 33 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "*=", + "left": { + "type": "Identifier", + "name": "x", + "range": [ + 909, + 910 + ], + "loc": { + "start": { + "line": 36, + "column": 3 + }, + "end": { + "line": 36, + "column": 4 + } + } + }, + "right": { + "type": "Identifier", + "name": "f", + "range": [ + 914, + 915 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 9 + } + } + }, + "range": [ + 909, + 915 + ], + "loc": { + "start": { + "line": 36, + "column": 3 + }, + "end": { + "line": 36, + "column": 9 + } + } + }, + "range": [ + 909, + 917 + ], + "loc": { + "start": { + "line": 36, + "column": 3 + }, + "end": { + "line": 36, + "column": 11 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "+=", + "left": { + "type": "Identifier", + "name": "x", + "range": [ + 921, + 922 + ], + "loc": { + "start": { + "line": 37, + "column": 3 + }, + "end": { + "line": 37, + "column": 4 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 926, + 927 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 9 + } + } + }, + "property": { + "type": "Identifier", + "name": "k", + "range": [ + 928, + 929 + ], + "loc": { + "start": { + "line": 37, + "column": 10 + }, + "end": { + "line": 37, + "column": 11 + } + } + }, + "range": [ + 926, + 930 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 12 + } + } + }, + "range": [ + 921, + 930 + ], + "loc": { + "start": { + "line": 37, + "column": 3 + }, + "end": { + "line": 37, + "column": 12 + } + } + }, + "range": [ + 921, + 932 + ], + "loc": { + "start": { + "line": 37, + "column": 3 + }, + "end": { + "line": 37, + "column": 14 + } + } + } + ], + "range": [ + 904, + 936 + ], + "loc": { + "start": { + "line": 35, + "column": 36 + }, + "end": { + "line": 38, + "column": 3 + } + } + }, + "range": [ + 870, + 936 + ], + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 38, + "column": 3 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 940, + 941 + ], + "loc": { + "start": { + "line": 40, + "column": 2 + }, + "end": { + "line": 40, + "column": 3 + } + } + }, + "property": { + "type": "Identifier", + "name": "bj", + "range": [ + 942, + 944 + ], + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 6 + } + } + }, + "range": [ + 940, + 945 + ], + "loc": { + "start": { + "line": 40, + "column": 2 + }, + "end": { + "line": 40, + "column": 7 + } + } + }, + "right": { + "type": "Identifier", + "name": "x", + "range": [ + 948, + 949 + ], + "loc": { + "start": { + "line": 40, + "column": 10 + }, + "end": { + "line": 40, + "column": 11 + } + } + }, + "range": [ + 940, + 949 + ], + "loc": { + "start": { + "line": 40, + "column": 2 + }, + "end": { + "line": 40, + "column": 11 + } + } + }, + "range": [ + 940, + 951 + ], + "loc": { + "start": { + "line": 40, + "column": 2 + }, + "end": { + "line": 40, + "column": 13 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_jz", + "range": [ + 960, + 963 + ], + "loc": { + "start": { + "line": 42, + "column": 7 + }, + "end": { + "line": 42, + "column": 10 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "q", + "range": [ + 965, + 966 + ], + "loc": { + "start": { + "line": 42, + "column": 12 + }, + "end": { + "line": 42, + "column": 13 + } + } + }, + { + "type": "Identifier", + "name": "qi", + "range": [ + 969, + 971 + ], + "loc": { + "start": { + "line": 42, + "column": 16 + }, + "end": { + "line": 42, + "column": 18 + } + } + }, + { + "type": "Identifier", + "name": "qj", + "range": [ + 974, + 976 + ], + "loc": { + "start": { + "line": 42, + "column": 21 + }, + "end": { + "line": 42, + "column": 23 + } + } + } + ], + "range": [ + 960, + 978 + ], + "loc": { + "start": { + "line": 42, + "column": 7 + }, + "end": { + "line": 42, + "column": 25 + } + } + }, + "consequent": { + "type": "ReturnStatement", + "argument": null, + "range": [ + 981, + 989 + ], + "loc": { + "start": { + "line": 42, + "column": 28 + }, + "end": { + "line": 42, + "column": 36 + } + } + }, + "alternate": null, + "range": [ + 955, + 989 + ], + "loc": { + "start": { + "line": 42, + "column": 2 + }, + "end": { + "line": 42, + "column": 36 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_copy", + "range": [ + 993, + 998 + ], + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 44, + "column": 7 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "q", + "range": [ + 1000, + 1001 + ], + "loc": { + "start": { + "line": 44, + "column": 9 + }, + "end": { + "line": 44, + "column": 10 + } + } + }, + { + "type": "Identifier", + "name": "qi", + "range": [ + 1004, + 1006 + ], + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 44, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "qj", + "range": [ + 1009, + 1011 + ], + "loc": { + "start": { + "line": 44, + "column": 18 + }, + "end": { + "line": 44, + "column": 20 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 1014, + 1015 + ], + "loc": { + "start": { + "line": 44, + "column": 23 + }, + "end": { + "line": 44, + "column": 24 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 1018, + 1020 + ], + "loc": { + "start": { + "line": 44, + "column": 27 + }, + "end": { + "line": 44, + "column": 29 + } + } + } + ], + "range": [ + 993, + 1022 + ], + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 44, + "column": 31 + } + } + }, + "range": [ + 993, + 1024 + ], + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 44, + "column": 33 + } + } + } + ], + "range": [ + 762, + 1028 + ], + "loc": { + "start": { + "line": 26, + "column": 16 + }, + "end": { + "line": 46, + "column": 2 + } + } + }, + "range": [ + 747, + 1028 + ], + "loc": { + "start": { + "line": 26, + "column": 1 + }, + "end": { + "line": 46, + "column": 2 + } + } + } + ], + "range": [ + 605, + 1031 + ], + "loc": { + "start": { + "line": 17, + "column": 68 + }, + "end": { + "line": 48, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 544, + 1031 + ], + "loc": { + "start": { + "line": 17, + "column": 7 + }, + "end": { + "line": 48, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", + "range": [ + 130, + 535 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 537, + 1031 + ], + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 48, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", + "range": [ + 130, + 535 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 1031 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 48, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", + "range": [ + 130, + 535 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/1-new/convert/_convert_to_larger.js.json b/ast/source/1-new/convert/_convert_to_larger.js.json new file mode 100644 index 0000000..3eea0d1 --- /dev/null +++ b/ast/source/1-new/convert/_convert_to_larger.js.json @@ -0,0 +1,1153 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_log", + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_log", + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_convert_slow", + "range": [ + 16, + 29 + ], + "loc": { + "start": { + "line": 1, + "column": 16 + }, + "end": { + "line": 1, + "column": 29 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_convert_slow", + "range": [ + 16, + 29 + ], + "loc": { + "start": { + "line": 1, + "column": 16 + }, + "end": { + "line": 1, + "column": 29 + } + } + }, + "range": [ + 16, + 29 + ], + "loc": { + "start": { + "line": 1, + "column": 16 + }, + "end": { + "line": 1, + "column": 29 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_convert_to_larger_fast", + "range": [ + 32, + 55 + ], + "loc": { + "start": { + "line": 1, + "column": 32 + }, + "end": { + "line": 1, + "column": 55 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_convert_to_larger_fast", + "range": [ + 32, + 55 + ], + "loc": { + "start": { + "line": 1, + "column": 32 + }, + "end": { + "line": 1, + "column": 55 + } + } + }, + "range": [ + 32, + 55 + ], + "loc": { + "start": { + "line": 1, + "column": 32 + }, + "end": { + "line": 1, + "column": 55 + } + } + } + ], + "source": { + "type": "Literal", + "value": ".", + "raw": "'.'", + "range": [ + 63, + 66 + ], + "loc": { + "start": { + "line": 1, + "column": 63 + }, + "end": { + "line": 1, + "column": 66 + } + } + }, + "range": [ + 0, + 68 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 68 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", + "range": [ + 70, + 475 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "_convert_to_larger", + "range": [ + 493, + 511 + ], + "loc": { + "start": { + "line": 15, + "column": 16 + }, + "end": { + "line": 15, + "column": 34 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "f", + "range": [ + 514, + 515 + ], + "loc": { + "start": { + "line": 15, + "column": 37 + }, + "end": { + "line": 15, + "column": 38 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 518, + 519 + ], + "loc": { + "start": { + "line": 15, + "column": 41 + }, + "end": { + "line": 15, + "column": 42 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 522, + 523 + ], + "loc": { + "start": { + "line": 15, + "column": 45 + }, + "end": { + "line": 15, + "column": 46 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 526, + 528 + ], + "loc": { + "start": { + "line": 15, + "column": 49 + }, + "end": { + "line": 15, + "column": 51 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 531, + 533 + ], + "loc": { + "start": { + "line": 15, + "column": 54 + }, + "end": { + "line": 15, + "column": 56 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 536, + 537 + ], + "loc": { + "start": { + "line": 15, + "column": 59 + }, + "end": { + "line": 15, + "column": 60 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 540, + 542 + ], + "loc": { + "start": { + "line": 15, + "column": 63 + }, + "end": { + "line": 15, + "column": 65 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 545, + 547 + ], + "loc": { + "start": { + "line": 15, + "column": 68 + }, + "end": { + "line": 15, + "column": 70 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "ArrayPattern", + "elements": [ + { + "type": "Identifier", + "name": "z", + "range": [ + 562, + 563 + ], + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 10 + } + } + }, + { + "type": "Identifier", + "name": "x", + "range": [ + 566, + 567 + ], + "loc": { + "start": { + "line": 17, + "column": 13 + }, + "end": { + "line": 17, + "column": 14 + } + } + } + ], + "range": [ + 560, + 569 + ], + "loc": { + "start": { + "line": 17, + "column": 7 + }, + "end": { + "line": 17, + "column": 16 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_log", + "range": [ + 572, + 576 + ], + "loc": { + "start": { + "line": 17, + "column": 19 + }, + "end": { + "line": 17, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "t", + "range": [ + 578, + 579 + ], + "loc": { + "start": { + "line": 17, + "column": 25 + }, + "end": { + "line": 17, + "column": 26 + } + } + }, + { + "type": "Identifier", + "name": "f", + "range": [ + 582, + 583 + ], + "loc": { + "start": { + "line": 17, + "column": 29 + }, + "end": { + "line": 17, + "column": 30 + } + } + } + ], + "range": [ + 572, + 585 + ], + "loc": { + "start": { + "line": 17, + "column": 19 + }, + "end": { + "line": 17, + "column": 32 + } + } + }, + "range": [ + 560, + 585 + ], + "loc": { + "start": { + "line": 17, + "column": 7 + }, + "end": { + "line": 17, + "column": 32 + } + } + } + ], + "kind": "const", + "range": [ + 554, + 587 + ], + "loc": { + "start": { + "line": 17, + "column": 1 + }, + "end": { + "line": 17, + "column": 34 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "x", + "range": [ + 595, + 596 + ], + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 7 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 601, + 602 + ], + "loc": { + "start": { + "line": 19, + "column": 12 + }, + "end": { + "line": 19, + "column": 13 + } + } + }, + "range": [ + 595, + 602 + ], + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 13 + } + } + }, + "consequent": { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_convert_to_larger_fast", + "range": [ + 612, + 635 + ], + "loc": { + "start": { + "line": 19, + "column": 23 + }, + "end": { + "line": 19, + "column": 46 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "f", + "range": [ + 637, + 638 + ], + "loc": { + "start": { + "line": 19, + "column": 48 + }, + "end": { + "line": 19, + "column": 49 + } + } + }, + { + "type": "Identifier", + "name": "z", + "range": [ + 641, + 642 + ], + "loc": { + "start": { + "line": 19, + "column": 52 + }, + "end": { + "line": 19, + "column": 53 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 645, + 646 + ], + "loc": { + "start": { + "line": 19, + "column": 56 + }, + "end": { + "line": 19, + "column": 57 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 649, + 651 + ], + "loc": { + "start": { + "line": 19, + "column": 60 + }, + "end": { + "line": 19, + "column": 62 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 654, + 656 + ], + "loc": { + "start": { + "line": 19, + "column": 65 + }, + "end": { + "line": 19, + "column": 67 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 659, + 660 + ], + "loc": { + "start": { + "line": 19, + "column": 70 + }, + "end": { + "line": 19, + "column": 71 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 663, + 665 + ], + "loc": { + "start": { + "line": 19, + "column": 74 + }, + "end": { + "line": 19, + "column": 76 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 668, + 670 + ], + "loc": { + "start": { + "line": 19, + "column": 79 + }, + "end": { + "line": 19, + "column": 81 + } + } + } + ], + "range": [ + 612, + 672 + ], + "loc": { + "start": { + "line": 19, + "column": 23 + }, + "end": { + "line": 19, + "column": 83 + } + } + }, + "range": [ + 605, + 674 + ], + "loc": { + "start": { + "line": 19, + "column": 16 + }, + "end": { + "line": 19, + "column": 85 + } + } + }, + "alternate": null, + "range": [ + 590, + 674 + ], + "loc": { + "start": { + "line": 19, + "column": 1 + }, + "end": { + "line": 19, + "column": 85 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_convert_slow", + "range": [ + 684, + 697 + ], + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "f", + "range": [ + 699, + 700 + ], + "loc": { + "start": { + "line": 21, + "column": 23 + }, + "end": { + "line": 21, + "column": 24 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 703, + 704 + ], + "loc": { + "start": { + "line": 21, + "column": 27 + }, + "end": { + "line": 21, + "column": 28 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 707, + 708 + ], + "loc": { + "start": { + "line": 21, + "column": 31 + }, + "end": { + "line": 21, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 711, + 713 + ], + "loc": { + "start": { + "line": 21, + "column": 35 + }, + "end": { + "line": 21, + "column": 37 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 716, + 718 + ], + "loc": { + "start": { + "line": 21, + "column": 40 + }, + "end": { + "line": 21, + "column": 42 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 721, + 722 + ], + "loc": { + "start": { + "line": 21, + "column": 45 + }, + "end": { + "line": 21, + "column": 46 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 725, + 727 + ], + "loc": { + "start": { + "line": 21, + "column": 49 + }, + "end": { + "line": 21, + "column": 51 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 730, + 732 + ], + "loc": { + "start": { + "line": 21, + "column": 54 + }, + "end": { + "line": 21, + "column": 56 + } + } + } + ], + "range": [ + 684, + 734 + ], + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 58 + } + } + }, + "range": [ + 677, + 736 + ], + "loc": { + "start": { + "line": 21, + "column": 1 + }, + "end": { + "line": 21, + "column": 60 + } + } + } + ], + "range": [ + 550, + 739 + ], + "loc": { + "start": { + "line": 15, + "column": 73 + }, + "end": { + "line": 23, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 484, + 739 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 23, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", + "range": [ + 70, + 475 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 477, + 739 + ], + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 23, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", + "range": [ + 70, + 475 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 739 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 23, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", + "range": [ + 70, + 475 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/1-new/convert/_convert_to_larger_fast.js.json b/ast/source/1-new/convert/_convert_to_larger_fast.js.json new file mode 100644 index 0000000..7412a4b --- /dev/null +++ b/ast/source/1-new/convert/_convert_to_larger_fast.js.json @@ -0,0 +1,3482 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "_convert_to_larger_fast", + "range": [ + 460, + 483 + ], + "loc": { + "start": { + "line": 15, + "column": 16 + }, + "end": { + "line": 15, + "column": 39 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "ar", + "range": [ + 486, + 488 + ], + "loc": { + "start": { + "line": 15, + "column": 42 + }, + "end": { + "line": 15, + "column": 44 + } + } + }, + { + "type": "Identifier", + "name": "z", + "range": [ + 491, + 492 + ], + "loc": { + "start": { + "line": 15, + "column": 47 + }, + "end": { + "line": 15, + "column": 48 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 495, + 496 + ], + "loc": { + "start": { + "line": 15, + "column": 51 + }, + "end": { + "line": 15, + "column": 52 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 499, + 501 + ], + "loc": { + "start": { + "line": 15, + "column": 55 + }, + "end": { + "line": 15, + "column": 57 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 504, + 506 + ], + "loc": { + "start": { + "line": 15, + "column": 60 + }, + "end": { + "line": 15, + "column": 62 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 509, + 510 + ], + "loc": { + "start": { + "line": 15, + "column": 65 + }, + "end": { + "line": 15, + "column": 66 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 513, + 515 + ], + "loc": { + "start": { + "line": 15, + "column": 69 + }, + "end": { + "line": 15, + "column": 71 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 518, + 520 + ], + "loc": { + "start": { + "line": 15, + "column": 74 + }, + "end": { + "line": 15, + "column": 76 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "m", + "range": [ + 531, + 532 + ], + "loc": { + "start": { + "line": 17, + "column": 5 + }, + "end": { + "line": 17, + "column": 6 + } + } + }, + "init": null, + "range": [ + 531, + 532 + ], + "loc": { + "start": { + "line": 17, + "column": 5 + }, + "end": { + "line": 17, + "column": 6 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "n", + "range": [ + 534, + 535 + ], + "loc": { + "start": { + "line": 17, + "column": 8 + }, + "end": { + "line": 17, + "column": 9 + } + } + }, + "init": null, + "range": [ + 534, + 535 + ], + "loc": { + "start": { + "line": 17, + "column": 8 + }, + "end": { + "line": 17, + "column": 9 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "q", + "range": [ + 537, + 538 + ], + "loc": { + "start": { + "line": 17, + "column": 11 + }, + "end": { + "line": 17, + "column": 12 + } + } + }, + "init": null, + "range": [ + 537, + 538 + ], + "loc": { + "start": { + "line": 17, + "column": 11 + }, + "end": { + "line": 17, + "column": 12 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "r", + "range": [ + 540, + 541 + ], + "loc": { + "start": { + "line": 17, + "column": 14 + }, + "end": { + "line": 17, + "column": 15 + } + } + }, + "init": null, + "range": [ + 540, + 541 + ], + "loc": { + "start": { + "line": 17, + "column": 14 + }, + "end": { + "line": 17, + "column": 15 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 543, + 544 + ], + "loc": { + "start": { + "line": 17, + "column": 17 + }, + "end": { + "line": 17, + "column": 18 + } + } + }, + "init": null, + "range": [ + 543, + 544 + ], + "loc": { + "start": { + "line": 17, + "column": 17 + }, + "end": { + "line": 17, + "column": 18 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "w", + "range": [ + 546, + 547 + ], + "loc": { + "start": { + "line": 17, + "column": 20 + }, + "end": { + "line": 17, + "column": 21 + } + } + }, + "init": null, + "range": [ + 546, + 547 + ], + "loc": { + "start": { + "line": 17, + "column": 20 + }, + "end": { + "line": 17, + "column": 21 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "t", + "range": [ + 549, + 550 + ], + "loc": { + "start": { + "line": 17, + "column": 23 + }, + "end": { + "line": 17, + "column": 24 + } + } + }, + "init": null, + "range": [ + 549, + 550 + ], + "loc": { + "start": { + "line": 17, + "column": 23 + }, + "end": { + "line": 17, + "column": 24 + } + } + } + ], + "kind": "var", + "range": [ + 527, + 551 + ], + "loc": { + "start": { + "line": 17, + "column": 1 + }, + "end": { + "line": 17, + "column": 25 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "m", + "range": [ + 554, + 555 + ], + "loc": { + "start": { + "line": 19, + "column": 1 + }, + "end": { + "line": 19, + "column": 2 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "aj", + "range": [ + 558, + 560 + ], + "loc": { + "start": { + "line": 19, + "column": 5 + }, + "end": { + "line": 19, + "column": 7 + } + } + }, + "right": { + "type": "Identifier", + "name": "ai", + "range": [ + 563, + 565 + ], + "loc": { + "start": { + "line": 19, + "column": 10 + }, + "end": { + "line": 19, + "column": 12 + } + } + }, + "range": [ + 558, + 565 + ], + "loc": { + "start": { + "line": 19, + "column": 5 + }, + "end": { + "line": 19, + "column": 12 + } + } + }, + "range": [ + 554, + 565 + ], + "loc": { + "start": { + "line": 19, + "column": 1 + }, + "end": { + "line": 19, + "column": 12 + } + } + }, + "range": [ + 554, + 566 + ], + "loc": { + "start": { + "line": 19, + "column": 1 + }, + "end": { + "line": 19, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "n", + "range": [ + 568, + 569 + ], + "loc": { + "start": { + "line": 20, + "column": 1 + }, + "end": { + "line": 20, + "column": 2 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "bj", + "range": [ + 572, + 574 + ], + "loc": { + "start": { + "line": 20, + "column": 5 + }, + "end": { + "line": 20, + "column": 7 + } + } + }, + "right": { + "type": "Identifier", + "name": "bi", + "range": [ + 577, + 579 + ], + "loc": { + "start": { + "line": 20, + "column": 10 + }, + "end": { + "line": 20, + "column": 12 + } + } + }, + "range": [ + 572, + 579 + ], + "loc": { + "start": { + "line": 20, + "column": 5 + }, + "end": { + "line": 20, + "column": 12 + } + } + }, + "range": [ + 568, + 579 + ], + "loc": { + "start": { + "line": 20, + "column": 1 + }, + "end": { + "line": 20, + "column": 12 + } + } + }, + "range": [ + 568, + 580 + ], + "loc": { + "start": { + "line": 20, + "column": 1 + }, + "end": { + "line": 20, + "column": 13 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " number of parts of first", + "range": [ + 583, + 610 + ], + "loc": { + "start": { + "line": 22, + "column": 1 + }, + "end": { + "line": 22, + "column": 28 + } + } + }, + { + "type": "Line", + "value": " destination block if incomplete", + "range": [ + 612, + 646 + ], + "loc": { + "start": { + "line": 23, + "column": 1 + }, + "end": { + "line": 23, + "column": 35 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "r", + "range": [ + 648, + 649 + ], + "loc": { + "start": { + "line": 24, + "column": 1 + }, + "end": { + "line": 24, + "column": 2 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "%", + "left": { + "type": "Identifier", + "name": "m", + "range": [ + 652, + 653 + ], + "loc": { + "start": { + "line": 24, + "column": 5 + }, + "end": { + "line": 24, + "column": 6 + } + } + }, + "right": { + "type": "Identifier", + "name": "z", + "range": [ + 656, + 657 + ], + "loc": { + "start": { + "line": 24, + "column": 9 + }, + "end": { + "line": 24, + "column": 10 + } + } + }, + "range": [ + 652, + 657 + ], + "loc": { + "start": { + "line": 24, + "column": 5 + }, + "end": { + "line": 24, + "column": 10 + } + } + }, + "range": [ + 648, + 657 + ], + "loc": { + "start": { + "line": 24, + "column": 1 + }, + "end": { + "line": 24, + "column": 10 + } + } + }, + "range": [ + 648, + 658 + ], + "loc": { + "start": { + "line": 24, + "column": 1 + }, + "end": { + "line": 24, + "column": 11 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " number of parts of first", + "range": [ + 583, + 610 + ], + "loc": { + "start": { + "line": 22, + "column": 1 + }, + "end": { + "line": 22, + "column": 28 + } + } + }, + { + "type": "Line", + "value": " destination block if incomplete", + "range": [ + 612, + 646 + ], + "loc": { + "start": { + "line": 23, + "column": 1 + }, + "end": { + "line": 23, + "column": 35 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " number of complete blocks in destination", + "range": [ + 661, + 704 + ], + "loc": { + "start": { + "line": 26, + "column": 1 + }, + "end": { + "line": 26, + "column": 44 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "q", + "range": [ + 706, + 707 + ], + "loc": { + "start": { + "line": 27, + "column": 1 + }, + "end": { + "line": 27, + "column": 2 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "m", + "range": [ + 711, + 712 + ], + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 7 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 715, + 716 + ], + "loc": { + "start": { + "line": 27, + "column": 10 + }, + "end": { + "line": 27, + "column": 11 + } + } + }, + "range": [ + 711, + 716 + ], + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 11 + } + } + }, + "right": { + "type": "Identifier", + "name": "z", + "range": [ + 720, + 721 + ], + "loc": { + "start": { + "line": 27, + "column": 15 + }, + "end": { + "line": 27, + "column": 16 + } + } + }, + "range": [ + 710, + 721 + ], + "loc": { + "start": { + "line": 27, + "column": 5 + }, + "end": { + "line": 27, + "column": 16 + } + } + }, + "range": [ + 706, + 721 + ], + "loc": { + "start": { + "line": 27, + "column": 1 + }, + "end": { + "line": 27, + "column": 16 + } + } + }, + "range": [ + 706, + 722 + ], + "loc": { + "start": { + "line": 27, + "column": 1 + }, + "end": { + "line": 27, + "column": 17 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " number of complete blocks in destination", + "range": [ + 661, + 704 + ], + "loc": { + "start": { + "line": 26, + "column": 1 + }, + "end": { + "line": 26, + "column": 44 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " total number of blocks in destination", + "range": [ + 725, + 765 + ], + "loc": { + "start": { + "line": 29, + "column": 1 + }, + "end": { + "line": 29, + "column": 41 + } + } + }, + { + "type": "Line", + "value": " (complete ones + first if incomplete)", + "range": [ + 767, + 807 + ], + "loc": { + "start": { + "line": 30, + "column": 1 + }, + "end": { + "line": 30, + "column": 41 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "w", + "range": [ + 809, + 810 + ], + "loc": { + "start": { + "line": 31, + "column": 1 + }, + "end": { + "line": 31, + "column": 2 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "q", + "range": [ + 813, + 814 + ], + "loc": { + "start": { + "line": 31, + "column": 5 + }, + "end": { + "line": 31, + "column": 6 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "r", + "range": [ + 819, + 820 + ], + "loc": { + "start": { + "line": 31, + "column": 11 + }, + "end": { + "line": 31, + "column": 12 + } + } + }, + "prefix": true, + "range": [ + 818, + 820 + ], + "loc": { + "start": { + "line": 31, + "column": 10 + }, + "end": { + "line": 31, + "column": 12 + } + } + }, + "prefix": true, + "range": [ + 817, + 820 + ], + "loc": { + "start": { + "line": 31, + "column": 9 + }, + "end": { + "line": 31, + "column": 12 + } + } + }, + "range": [ + 813, + 820 + ], + "loc": { + "start": { + "line": 31, + "column": 5 + }, + "end": { + "line": 31, + "column": 12 + } + } + }, + "range": [ + 809, + 820 + ], + "loc": { + "start": { + "line": 31, + "column": 1 + }, + "end": { + "line": 31, + "column": 12 + } + } + }, + "range": [ + 809, + 821 + ], + "loc": { + "start": { + "line": 31, + "column": 1 + }, + "end": { + "line": 31, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " total number of blocks in destination", + "range": [ + 725, + 765 + ], + "loc": { + "start": { + "line": 29, + "column": 1 + }, + "end": { + "line": 29, + "column": 41 + } + } + }, + { + "type": "Line", + "value": " (complete ones + first if incomplete)", + "range": [ + 767, + 807 + ], + "loc": { + "start": { + "line": 30, + "column": 1 + }, + "end": { + "line": 30, + "column": 41 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "Identifier", + "name": "n", + "range": [ + 829, + 830 + ], + "loc": { + "start": { + "line": 34, + "column": 5 + }, + "end": { + "line": 34, + "column": 6 + } + } + }, + "right": { + "type": "Identifier", + "name": "w", + "range": [ + 834, + 835 + ], + "loc": { + "start": { + "line": 34, + "column": 10 + }, + "end": { + "line": 34, + "column": 11 + } + } + }, + "range": [ + 829, + 835 + ], + "loc": { + "start": { + "line": 34, + "column": 5 + }, + "end": { + "line": 34, + "column": 11 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "bi", + "range": [ + 1113, + 1115 + ], + "loc": { + "start": { + "line": 42, + "column": 2 + }, + "end": { + "line": 42, + "column": 4 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "bj", + "range": [ + 1118, + 1120 + ], + "loc": { + "start": { + "line": 42, + "column": 7 + }, + "end": { + "line": 42, + "column": 9 + } + } + }, + "right": { + "type": "Identifier", + "name": "w", + "range": [ + 1123, + 1124 + ], + "loc": { + "start": { + "line": 42, + "column": 12 + }, + "end": { + "line": 42, + "column": 13 + } + } + }, + "range": [ + 1118, + 1124 + ], + "loc": { + "start": { + "line": 42, + "column": 7 + }, + "end": { + "line": 42, + "column": 13 + } + } + }, + "range": [ + 1113, + 1124 + ], + "loc": { + "start": { + "line": 42, + "column": 2 + }, + "end": { + "line": 42, + "column": 13 + } + } + }, + "range": [ + 1113, + 1125 + ], + "loc": { + "start": { + "line": 42, + "column": 2 + }, + "end": { + "line": 42, + "column": 14 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " if destination can contain more than", + "range": [ + 841, + 880 + ], + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 35, + "column": 41 + } + } + }, + { + "type": "Line", + "value": " what is available in source then", + "range": [ + 883, + 918 + ], + "loc": { + "start": { + "line": 36, + "column": 2 + }, + "end": { + "line": 36, + "column": 37 + } + } + }, + { + "type": "Line", + "value": " compute the effective write start", + "range": [ + 921, + 957 + ], + "loc": { + "start": { + "line": 37, + "column": 2 + }, + "end": { + "line": 37, + "column": 38 + } + } + }, + { + "type": "Line", + "value": " in destination and set i to the correct", + "range": [ + 960, + 1002 + ], + "loc": { + "start": { + "line": 38, + "column": 2 + }, + "end": { + "line": 38, + "column": 44 + } + } + }, + { + "type": "Line", + "value": " offset according to the size", + "range": [ + 1005, + 1036 + ], + "loc": { + "start": { + "line": 39, + "column": 2 + }, + "end": { + "line": 39, + "column": 33 + } + } + }, + { + "type": "Line", + "value": " (in source blocks) of the", + "range": [ + 1039, + 1067 + ], + "loc": { + "start": { + "line": 40, + "column": 2 + }, + "end": { + "line": 40, + "column": 30 + } + } + }, + { + "type": "Line", + "value": " first destination block if incomplete", + "range": [ + 1070, + 1110 + ], + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 41, + "column": 42 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 1128, + 1129 + ], + "loc": { + "start": { + "line": 43, + "column": 2 + }, + "end": { + "line": 43, + "column": 3 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "%", + "left": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "z", + "range": [ + 1133, + 1134 + ], + "loc": { + "start": { + "line": 43, + "column": 7 + }, + "end": { + "line": 43, + "column": 8 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 1137, + 1138 + ], + "loc": { + "start": { + "line": 43, + "column": 11 + }, + "end": { + "line": 43, + "column": 12 + } + } + }, + "range": [ + 1133, + 1138 + ], + "loc": { + "start": { + "line": 43, + "column": 7 + }, + "end": { + "line": 43, + "column": 12 + } + } + }, + "right": { + "type": "Identifier", + "name": "z", + "range": [ + 1142, + 1143 + ], + "loc": { + "start": { + "line": 43, + "column": 16 + }, + "end": { + "line": 43, + "column": 17 + } + } + }, + "range": [ + 1132, + 1143 + ], + "loc": { + "start": { + "line": 43, + "column": 6 + }, + "end": { + "line": 43, + "column": 17 + } + } + }, + "range": [ + 1128, + 1143 + ], + "loc": { + "start": { + "line": 43, + "column": 2 + }, + "end": { + "line": 43, + "column": 17 + } + } + }, + "range": [ + 1128, + 1144 + ], + "loc": { + "start": { + "line": 43, + "column": 2 + }, + "end": { + "line": 43, + "column": 18 + } + } + } + ], + "range": [ + 837, + 1147 + ], + "loc": { + "start": { + "line": 34, + "column": 13 + }, + "end": { + "line": 44, + "column": 2 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "ai", + "range": [ + 1325, + 1327 + ], + "loc": { + "start": { + "line": 50, + "column": 2 + }, + "end": { + "line": 50, + "column": 4 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "aj", + "range": [ + 1330, + 1332 + ], + "loc": { + "start": { + "line": 50, + "column": 7 + }, + "end": { + "line": 50, + "column": 9 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "*", + "left": { + "type": "Identifier", + "name": "n", + "range": [ + 1335, + 1336 + ], + "loc": { + "start": { + "line": 50, + "column": 12 + }, + "end": { + "line": 50, + "column": 13 + } + } + }, + "right": { + "type": "Identifier", + "name": "z", + "range": [ + 1339, + 1340 + ], + "loc": { + "start": { + "line": 50, + "column": 16 + }, + "end": { + "line": 50, + "column": 17 + } + } + }, + "range": [ + 1335, + 1340 + ], + "loc": { + "start": { + "line": 50, + "column": 12 + }, + "end": { + "line": 50, + "column": 17 + } + } + }, + "range": [ + 1330, + 1340 + ], + "loc": { + "start": { + "line": 50, + "column": 7 + }, + "end": { + "line": 50, + "column": 17 + } + } + }, + "range": [ + 1325, + 1340 + ], + "loc": { + "start": { + "line": 50, + "column": 2 + }, + "end": { + "line": 50, + "column": 17 + } + } + }, + "range": [ + 1325, + 1341 + ], + "loc": { + "start": { + "line": 50, + "column": 2 + }, + "end": { + "line": 50, + "column": 18 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " if source contains more than what", + "range": [ + 1158, + 1194 + ], + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 46, + "column": 38 + } + } + }, + { + "type": "Line", + "value": " destination can handle set the effective", + "range": [ + 1197, + 1240 + ], + "loc": { + "start": { + "line": 47, + "column": 2 + }, + "end": { + "line": 47, + "column": 45 + } + } + }, + { + "type": "Line", + "value": " read start in source and set i to 0 because", + "range": [ + 1243, + 1289 + ], + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 48, + "column": 48 + } + } + }, + { + "type": "Line", + "value": " all blocks will be complete", + "range": [ + 1292, + 1322 + ], + "loc": { + "start": { + "line": 49, + "column": 2 + }, + "end": { + "line": 49, + "column": 32 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 1344, + 1345 + ], + "loc": { + "start": { + "line": 51, + "column": 2 + }, + "end": { + "line": 51, + "column": 3 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 1348, + 1349 + ], + "loc": { + "start": { + "line": 51, + "column": 6 + }, + "end": { + "line": 51, + "column": 7 + } + } + }, + "range": [ + 1344, + 1349 + ], + "loc": { + "start": { + "line": 51, + "column": 2 + }, + "end": { + "line": 51, + "column": 7 + } + } + }, + "range": [ + 1344, + 1350 + ], + "loc": { + "start": { + "line": 51, + "column": 2 + }, + "end": { + "line": 51, + "column": 8 + } + } + } + ], + "range": [ + 1154, + 1353 + ], + "loc": { + "start": { + "line": 45, + "column": 6 + }, + "end": { + "line": 52, + "column": 2 + } + } + }, + "range": [ + 825, + 1353 + ], + "loc": { + "start": { + "line": 34, + "column": 1 + }, + "end": { + "line": 52, + "column": 2 + } + } + }, + { + "type": "ForStatement", + "init": null, + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "ai", + "range": [ + 1363, + 1365 + ], + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 10 + } + } + }, + "right": { + "type": "Identifier", + "name": "aj", + "range": [ + 1368, + 1370 + ], + "loc": { + "start": { + "line": 54, + "column": 13 + }, + "end": { + "line": 54, + "column": 15 + } + } + }, + "range": [ + 1363, + 1370 + ], + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 15 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "bi", + "range": [ + 1374, + 1376 + ], + "loc": { + "start": { + "line": 54, + "column": 19 + }, + "end": { + "line": 54, + "column": 21 + } + } + }, + "right": { + "type": "Identifier", + "name": "bj", + "range": [ + 1379, + 1381 + ], + "loc": { + "start": { + "line": 54, + "column": 24 + }, + "end": { + "line": 54, + "column": 26 + } + } + }, + "range": [ + 1374, + 1381 + ], + "loc": { + "start": { + "line": 54, + "column": 19 + }, + "end": { + "line": 54, + "column": 26 + } + } + }, + "range": [ + 1363, + 1381 + ], + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 26 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "bi", + "range": [ + 1385, + 1387 + ], + "loc": { + "start": { + "line": 54, + "column": 30 + }, + "end": { + "line": 54, + "column": 32 + } + } + }, + "prefix": true, + "range": [ + 1383, + 1387 + ], + "loc": { + "start": { + "line": 54, + "column": 28 + }, + "end": { + "line": 54, + "column": 32 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 1393, + 1394 + ], + "loc": { + "start": { + "line": 55, + "column": 2 + }, + "end": { + "line": 55, + "column": 3 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 1397, + 1398 + ], + "loc": { + "start": { + "line": 55, + "column": 6 + }, + "end": { + "line": 55, + "column": 7 + } + } + }, + "range": [ + 1393, + 1398 + ], + "loc": { + "start": { + "line": 55, + "column": 2 + }, + "end": { + "line": 55, + "column": 7 + } + } + }, + "range": [ + 1393, + 1399 + ], + "loc": { + "start": { + "line": 55, + "column": 2 + }, + "end": { + "line": 55, + "column": 8 + } + } + }, + { + "type": "ForStatement", + "init": null, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 1409, + 1410 + ], + "loc": { + "start": { + "line": 56, + "column": 9 + }, + "end": { + "line": 56, + "column": 10 + } + } + }, + "right": { + "type": "Identifier", + "name": "z", + "range": [ + 1413, + 1414 + ], + "loc": { + "start": { + "line": 56, + "column": 13 + }, + "end": { + "line": 56, + "column": 14 + } + } + }, + "range": [ + 1409, + 1414 + ], + "loc": { + "start": { + "line": 56, + "column": 9 + }, + "end": { + "line": 56, + "column": 14 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 1418, + 1419 + ], + "loc": { + "start": { + "line": 56, + "column": 18 + }, + "end": { + "line": 56, + "column": 19 + } + } + }, + "prefix": true, + "range": [ + 1416, + 1419 + ], + "loc": { + "start": { + "line": 56, + "column": 16 + }, + "end": { + "line": 56, + "column": 19 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "*=", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 1426, + 1427 + ], + "loc": { + "start": { + "line": 57, + "column": 3 + }, + "end": { + "line": 57, + "column": 4 + } + } + }, + "right": { + "type": "Identifier", + "name": "ar", + "range": [ + 1431, + 1433 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 57, + "column": 10 + } + } + }, + "range": [ + 1426, + 1433 + ], + "loc": { + "start": { + "line": 57, + "column": 3 + }, + "end": { + "line": 57, + "column": 10 + } + } + }, + "range": [ + 1426, + 1434 + ], + "loc": { + "start": { + "line": 57, + "column": 3 + }, + "end": { + "line": 57, + "column": 11 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " aggregate source blocks", + "range": [ + 1439, + 1465 + ], + "loc": { + "start": { + "line": 57, + "column": 16 + }, + "end": { + "line": 57, + "column": 42 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "+=", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 1469, + 1470 + ], + "loc": { + "start": { + "line": 58, + "column": 3 + }, + "end": { + "line": 58, + "column": 4 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 1474, + 1475 + ], + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 58, + "column": 9 + } + } + }, + "property": { + "type": "Identifier", + "name": "ai", + "range": [ + 1476, + 1478 + ], + "loc": { + "start": { + "line": 58, + "column": 10 + }, + "end": { + "line": 58, + "column": 12 + } + } + }, + "range": [ + 1474, + 1479 + ], + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 58, + "column": 13 + } + } + }, + "range": [ + 1469, + 1479 + ], + "loc": { + "start": { + "line": 58, + "column": 3 + }, + "end": { + "line": 58, + "column": 13 + } + } + }, + "range": [ + 1469, + 1480 + ], + "loc": { + "start": { + "line": 58, + "column": 3 + }, + "end": { + "line": 58, + "column": 14 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " aggregate source blocks", + "range": [ + 1439, + 1465 + ], + "loc": { + "start": { + "line": 57, + "column": 16 + }, + "end": { + "line": 57, + "column": 42 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " using simple", + "range": [ + 1482, + 1497 + ], + "loc": { + "start": { + "line": 58, + "column": 16 + }, + "end": { + "line": 58, + "column": 31 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "ai", + "range": [ + 1503, + 1505 + ], + "loc": { + "start": { + "line": 59, + "column": 5 + }, + "end": { + "line": 59, + "column": 7 + } + } + }, + "prefix": true, + "range": [ + 1501, + 1505 + ], + "loc": { + "start": { + "line": 59, + "column": 3 + }, + "end": { + "line": 59, + "column": 7 + } + } + }, + "range": [ + 1501, + 1506 + ], + "loc": { + "start": { + "line": 59, + "column": 3 + }, + "end": { + "line": 59, + "column": 8 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " using simple", + "range": [ + 1482, + 1497 + ], + "loc": { + "start": { + "line": 58, + "column": 16 + }, + "end": { + "line": 58, + "column": 31 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " multiply + add", + "range": [ + 1514, + 1531 + ], + "loc": { + "start": { + "line": 59, + "column": 16 + }, + "end": { + "line": 59, + "column": 33 + } + } + } + ] + } + ], + "range": [ + 1421, + 1535 + ], + "loc": { + "start": { + "line": 56, + "column": 21 + }, + "end": { + "line": 60, + "column": 3 + } + } + }, + "range": [ + 1402, + 1535 + ], + "loc": { + "start": { + "line": 56, + "column": 2 + }, + "end": { + "line": 60, + "column": 3 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 1538, + 1539 + ], + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 61, + "column": 3 + } + } + }, + "property": { + "type": "Identifier", + "name": "bi", + "range": [ + 1540, + 1542 + ], + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 6 + } + } + }, + "range": [ + 1538, + 1543 + ], + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 61, + "column": 7 + } + } + }, + "right": { + "type": "Identifier", + "name": "t", + "range": [ + 1546, + 1547 + ], + "loc": { + "start": { + "line": 61, + "column": 10 + }, + "end": { + "line": 61, + "column": 11 + } + } + }, + "range": [ + 1538, + 1547 + ], + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 61, + "column": 11 + } + } + }, + "range": [ + 1538, + 1548 + ], + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 61, + "column": 12 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " multiply + add", + "range": [ + 1514, + 1531 + ], + "loc": { + "start": { + "line": 59, + "column": 16 + }, + "end": { + "line": 59, + "column": 33 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " set block in destination", + "range": [ + 1550, + 1577 + ], + "loc": { + "start": { + "line": 61, + "column": 14 + }, + "end": { + "line": 61, + "column": 41 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 1580, + 1581 + ], + "loc": { + "start": { + "line": 62, + "column": 2 + }, + "end": { + "line": 62, + "column": 3 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 1584, + 1585 + ], + "loc": { + "start": { + "line": 62, + "column": 6 + }, + "end": { + "line": 62, + "column": 7 + } + } + }, + "range": [ + 1580, + 1585 + ], + "loc": { + "start": { + "line": 62, + "column": 2 + }, + "end": { + "line": 62, + "column": 7 + } + } + }, + "range": [ + 1580, + 1586 + ], + "loc": { + "start": { + "line": 62, + "column": 2 + }, + "end": { + "line": 62, + "column": 8 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " set block in destination", + "range": [ + 1550, + 1577 + ], + "loc": { + "start": { + "line": 61, + "column": 14 + }, + "end": { + "line": 61, + "column": 41 + } + } + } + ] + } + ], + "range": [ + 1389, + 1589 + ], + "loc": { + "start": { + "line": 54, + "column": 34 + }, + "end": { + "line": 63, + "column": 2 + } + } + }, + "range": [ + 1356, + 1589 + ], + "loc": { + "start": { + "line": 54, + "column": 1 + }, + "end": { + "line": 63, + "column": 2 + } + } + } + ], + "range": [ + 523, + 1592 + ], + "loc": { + "start": { + "line": 15, + "column": 79 + }, + "end": { + "line": 65, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 451, + 1592 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 65, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n *\n * @param {Number} ar the base to convert from\n * @param {Number} z if br is the base to convert to then log(br) = z log(ar)\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", + "range": [ + 2, + 442 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 444, + 1592 + ], + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 65, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n *\n * @param {Number} ar the base to convert from\n * @param {Number} z if br is the base to convert to then log(br) = z log(ar)\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", + "range": [ + 2, + 442 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 444, + 1592 + ], + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 65, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n *\n * @param {Number} ar the base to convert from\n * @param {Number} z if br is the base to convert to then log(br) = z log(ar)\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", + "range": [ + 2, + 442 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + }, + { + "type": "Line", + "value": " number of parts of first", + "range": [ + 583, + 610 + ], + "loc": { + "start": { + "line": 22, + "column": 1 + }, + "end": { + "line": 22, + "column": 28 + } + } + }, + { + "type": "Line", + "value": " destination block if incomplete", + "range": [ + 612, + 646 + ], + "loc": { + "start": { + "line": 23, + "column": 1 + }, + "end": { + "line": 23, + "column": 35 + } + } + }, + { + "type": "Line", + "value": " number of complete blocks in destination", + "range": [ + 661, + 704 + ], + "loc": { + "start": { + "line": 26, + "column": 1 + }, + "end": { + "line": 26, + "column": 44 + } + } + }, + { + "type": "Line", + "value": " total number of blocks in destination", + "range": [ + 725, + 765 + ], + "loc": { + "start": { + "line": 29, + "column": 1 + }, + "end": { + "line": 29, + "column": 41 + } + } + }, + { + "type": "Line", + "value": " (complete ones + first if incomplete)", + "range": [ + 767, + 807 + ], + "loc": { + "start": { + "line": 30, + "column": 1 + }, + "end": { + "line": 30, + "column": 41 + } + } + }, + { + "type": "Line", + "value": " if destination can contain more than", + "range": [ + 841, + 880 + ], + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 35, + "column": 41 + } + } + }, + { + "type": "Line", + "value": " what is available in source then", + "range": [ + 883, + 918 + ], + "loc": { + "start": { + "line": 36, + "column": 2 + }, + "end": { + "line": 36, + "column": 37 + } + } + }, + { + "type": "Line", + "value": " compute the effective write start", + "range": [ + 921, + 957 + ], + "loc": { + "start": { + "line": 37, + "column": 2 + }, + "end": { + "line": 37, + "column": 38 + } + } + }, + { + "type": "Line", + "value": " in destination and set i to the correct", + "range": [ + 960, + 1002 + ], + "loc": { + "start": { + "line": 38, + "column": 2 + }, + "end": { + "line": 38, + "column": 44 + } + } + }, + { + "type": "Line", + "value": " offset according to the size", + "range": [ + 1005, + 1036 + ], + "loc": { + "start": { + "line": 39, + "column": 2 + }, + "end": { + "line": 39, + "column": 33 + } + } + }, + { + "type": "Line", + "value": " (in source blocks) of the", + "range": [ + 1039, + 1067 + ], + "loc": { + "start": { + "line": 40, + "column": 2 + }, + "end": { + "line": 40, + "column": 30 + } + } + }, + { + "type": "Line", + "value": " first destination block if incomplete", + "range": [ + 1070, + 1110 + ], + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 41, + "column": 42 + } + } + }, + { + "type": "Line", + "value": " if source contains more than what", + "range": [ + 1158, + 1194 + ], + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 46, + "column": 38 + } + } + }, + { + "type": "Line", + "value": " destination can handle set the effective", + "range": [ + 1197, + 1240 + ], + "loc": { + "start": { + "line": 47, + "column": 2 + }, + "end": { + "line": 47, + "column": 45 + } + } + }, + { + "type": "Line", + "value": " read start in source and set i to 0 because", + "range": [ + 1243, + 1289 + ], + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 48, + "column": 48 + } + } + }, + { + "type": "Line", + "value": " all blocks will be complete", + "range": [ + 1292, + 1322 + ], + "loc": { + "start": { + "line": 49, + "column": 2 + }, + "end": { + "line": 49, + "column": 32 + } + } + }, + { + "type": "Line", + "value": " aggregate source blocks", + "range": [ + 1439, + 1465 + ], + "loc": { + "start": { + "line": 57, + "column": 16 + }, + "end": { + "line": 57, + "column": 42 + } + } + }, + { + "type": "Line", + "value": " using simple", + "range": [ + 1482, + 1497 + ], + "loc": { + "start": { + "line": 58, + "column": 16 + }, + "end": { + "line": 58, + "column": 31 + } + } + }, + { + "type": "Line", + "value": " multiply + add", + "range": [ + 1514, + 1531 + ], + "loc": { + "start": { + "line": 59, + "column": 16 + }, + "end": { + "line": 59, + "column": 33 + } + } + }, + { + "type": "Line", + "value": " set block in destination", + "range": [ + 1550, + 1577 + ], + "loc": { + "start": { + "line": 61, + "column": 14 + }, + "end": { + "line": 61, + "column": 41 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/1-new/convert/_convert_to_smaller.js.json b/ast/source/1-new/convert/_convert_to_smaller.js.json new file mode 100644 index 0000000..f099a85 --- /dev/null +++ b/ast/source/1-new/convert/_convert_to_smaller.js.json @@ -0,0 +1,1153 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_log", + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_log", + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_convert_slow", + "range": [ + 16, + 29 + ], + "loc": { + "start": { + "line": 1, + "column": 16 + }, + "end": { + "line": 1, + "column": 29 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_convert_slow", + "range": [ + 16, + 29 + ], + "loc": { + "start": { + "line": 1, + "column": 16 + }, + "end": { + "line": 1, + "column": 29 + } + } + }, + "range": [ + 16, + 29 + ], + "loc": { + "start": { + "line": 1, + "column": 16 + }, + "end": { + "line": 1, + "column": 29 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_convert_to_smaller_fast", + "range": [ + 32, + 56 + ], + "loc": { + "start": { + "line": 1, + "column": 32 + }, + "end": { + "line": 1, + "column": 56 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_convert_to_smaller_fast", + "range": [ + 32, + 56 + ], + "loc": { + "start": { + "line": 1, + "column": 32 + }, + "end": { + "line": 1, + "column": 56 + } + } + }, + "range": [ + 32, + 56 + ], + "loc": { + "start": { + "line": 1, + "column": 32 + }, + "end": { + "line": 1, + "column": 56 + } + } + } + ], + "source": { + "type": "Literal", + "value": ".", + "raw": "'.'", + "range": [ + 64, + 67 + ], + "loc": { + "start": { + "line": 1, + "column": 64 + }, + "end": { + "line": 1, + "column": 67 + } + } + }, + "range": [ + 0, + 69 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 69 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", + "range": [ + 71, + 476 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "_convert_to_smaller", + "range": [ + 494, + 513 + ], + "loc": { + "start": { + "line": 15, + "column": 16 + }, + "end": { + "line": 15, + "column": 35 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "f", + "range": [ + 516, + 517 + ], + "loc": { + "start": { + "line": 15, + "column": 38 + }, + "end": { + "line": 15, + "column": 39 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 520, + 521 + ], + "loc": { + "start": { + "line": 15, + "column": 42 + }, + "end": { + "line": 15, + "column": 43 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 524, + 525 + ], + "loc": { + "start": { + "line": 15, + "column": 46 + }, + "end": { + "line": 15, + "column": 47 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 528, + 530 + ], + "loc": { + "start": { + "line": 15, + "column": 50 + }, + "end": { + "line": 15, + "column": 52 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 533, + 535 + ], + "loc": { + "start": { + "line": 15, + "column": 55 + }, + "end": { + "line": 15, + "column": 57 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 538, + 539 + ], + "loc": { + "start": { + "line": 15, + "column": 60 + }, + "end": { + "line": 15, + "column": 61 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 542, + 544 + ], + "loc": { + "start": { + "line": 15, + "column": 64 + }, + "end": { + "line": 15, + "column": 66 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 547, + 549 + ], + "loc": { + "start": { + "line": 15, + "column": 69 + }, + "end": { + "line": 15, + "column": 71 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "ArrayPattern", + "elements": [ + { + "type": "Identifier", + "name": "z", + "range": [ + 564, + 565 + ], + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 10 + } + } + }, + { + "type": "Identifier", + "name": "x", + "range": [ + 568, + 569 + ], + "loc": { + "start": { + "line": 17, + "column": 13 + }, + "end": { + "line": 17, + "column": 14 + } + } + } + ], + "range": [ + 562, + 571 + ], + "loc": { + "start": { + "line": 17, + "column": 7 + }, + "end": { + "line": 17, + "column": 16 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_log", + "range": [ + 574, + 578 + ], + "loc": { + "start": { + "line": 17, + "column": 19 + }, + "end": { + "line": 17, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "f", + "range": [ + 580, + 581 + ], + "loc": { + "start": { + "line": 17, + "column": 25 + }, + "end": { + "line": 17, + "column": 26 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 584, + 585 + ], + "loc": { + "start": { + "line": 17, + "column": 29 + }, + "end": { + "line": 17, + "column": 30 + } + } + } + ], + "range": [ + 574, + 587 + ], + "loc": { + "start": { + "line": 17, + "column": 19 + }, + "end": { + "line": 17, + "column": 32 + } + } + }, + "range": [ + 562, + 587 + ], + "loc": { + "start": { + "line": 17, + "column": 7 + }, + "end": { + "line": 17, + "column": 32 + } + } + } + ], + "kind": "const", + "range": [ + 556, + 589 + ], + "loc": { + "start": { + "line": 17, + "column": 1 + }, + "end": { + "line": 17, + "column": 34 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "x", + "range": [ + 597, + 598 + ], + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 7 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 603, + 604 + ], + "loc": { + "start": { + "line": 19, + "column": 12 + }, + "end": { + "line": 19, + "column": 13 + } + } + }, + "range": [ + 597, + 604 + ], + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 13 + } + } + }, + "consequent": { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_convert_to_smaller_fast", + "range": [ + 614, + 638 + ], + "loc": { + "start": { + "line": 19, + "column": 23 + }, + "end": { + "line": 19, + "column": 47 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "t", + "range": [ + 640, + 641 + ], + "loc": { + "start": { + "line": 19, + "column": 49 + }, + "end": { + "line": 19, + "column": 50 + } + } + }, + { + "type": "Identifier", + "name": "z", + "range": [ + 644, + 645 + ], + "loc": { + "start": { + "line": 19, + "column": 53 + }, + "end": { + "line": 19, + "column": 54 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 648, + 649 + ], + "loc": { + "start": { + "line": 19, + "column": 57 + }, + "end": { + "line": 19, + "column": 58 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 652, + 654 + ], + "loc": { + "start": { + "line": 19, + "column": 61 + }, + "end": { + "line": 19, + "column": 63 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 657, + 659 + ], + "loc": { + "start": { + "line": 19, + "column": 66 + }, + "end": { + "line": 19, + "column": 68 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 662, + 663 + ], + "loc": { + "start": { + "line": 19, + "column": 71 + }, + "end": { + "line": 19, + "column": 72 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 666, + 668 + ], + "loc": { + "start": { + "line": 19, + "column": 75 + }, + "end": { + "line": 19, + "column": 77 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 671, + 673 + ], + "loc": { + "start": { + "line": 19, + "column": 80 + }, + "end": { + "line": 19, + "column": 82 + } + } + } + ], + "range": [ + 614, + 675 + ], + "loc": { + "start": { + "line": 19, + "column": 23 + }, + "end": { + "line": 19, + "column": 84 + } + } + }, + "range": [ + 607, + 677 + ], + "loc": { + "start": { + "line": 19, + "column": 16 + }, + "end": { + "line": 19, + "column": 86 + } + } + }, + "alternate": null, + "range": [ + 592, + 677 + ], + "loc": { + "start": { + "line": 19, + "column": 1 + }, + "end": { + "line": 19, + "column": 86 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_convert_slow", + "range": [ + 687, + 700 + ], + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "f", + "range": [ + 702, + 703 + ], + "loc": { + "start": { + "line": 21, + "column": 23 + }, + "end": { + "line": 21, + "column": 24 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 706, + 707 + ], + "loc": { + "start": { + "line": 21, + "column": 27 + }, + "end": { + "line": 21, + "column": 28 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 710, + 711 + ], + "loc": { + "start": { + "line": 21, + "column": 31 + }, + "end": { + "line": 21, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 714, + 716 + ], + "loc": { + "start": { + "line": 21, + "column": 35 + }, + "end": { + "line": 21, + "column": 37 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 719, + 721 + ], + "loc": { + "start": { + "line": 21, + "column": 40 + }, + "end": { + "line": 21, + "column": 42 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 724, + 725 + ], + "loc": { + "start": { + "line": 21, + "column": 45 + }, + "end": { + "line": 21, + "column": 46 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 728, + 730 + ], + "loc": { + "start": { + "line": 21, + "column": 49 + }, + "end": { + "line": 21, + "column": 51 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 733, + 735 + ], + "loc": { + "start": { + "line": 21, + "column": 54 + }, + "end": { + "line": 21, + "column": 56 + } + } + } + ], + "range": [ + 687, + 737 + ], + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 58 + } + } + }, + "range": [ + 680, + 739 + ], + "loc": { + "start": { + "line": 21, + "column": 1 + }, + "end": { + "line": 21, + "column": 60 + } + } + } + ], + "range": [ + 552, + 742 + ], + "loc": { + "start": { + "line": 15, + "column": 74 + }, + "end": { + "line": 23, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 485, + 742 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 23, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", + "range": [ + 71, + 476 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 478, + 742 + ], + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 23, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", + "range": [ + 71, + 476 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 742 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 23, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", + "range": [ + 71, + 476 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/1-new/convert/_convert_to_smaller_fast.js.json b/ast/source/1-new/convert/_convert_to_smaller_fast.js.json new file mode 100644 index 0000000..956fa7e --- /dev/null +++ b/ast/source/1-new/convert/_convert_to_smaller_fast.js.json @@ -0,0 +1,3818 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "_convert_to_smaller_fast", + "range": [ + 457, + 481 + ], + "loc": { + "start": { + "line": 14, + "column": 16 + }, + "end": { + "line": 14, + "column": 40 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "br", + "range": [ + 484, + 486 + ], + "loc": { + "start": { + "line": 14, + "column": 43 + }, + "end": { + "line": 14, + "column": 45 + } + } + }, + { + "type": "Identifier", + "name": "z", + "range": [ + 489, + 490 + ], + "loc": { + "start": { + "line": 14, + "column": 48 + }, + "end": { + "line": 14, + "column": 49 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 493, + 494 + ], + "loc": { + "start": { + "line": 14, + "column": 52 + }, + "end": { + "line": 14, + "column": 53 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 497, + 499 + ], + "loc": { + "start": { + "line": 14, + "column": 56 + }, + "end": { + "line": 14, + "column": 58 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 502, + 504 + ], + "loc": { + "start": { + "line": 14, + "column": 61 + }, + "end": { + "line": 14, + "column": 63 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 507, + 508 + ], + "loc": { + "start": { + "line": 14, + "column": 66 + }, + "end": { + "line": 14, + "column": 67 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 511, + 513 + ], + "loc": { + "start": { + "line": 14, + "column": 70 + }, + "end": { + "line": 14, + "column": 72 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 516, + 518 + ], + "loc": { + "start": { + "line": 14, + "column": 75 + }, + "end": { + "line": 14, + "column": 77 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "m", + "range": [ + 529, + 530 + ], + "loc": { + "start": { + "line": 16, + "column": 5 + }, + "end": { + "line": 16, + "column": 6 + } + } + }, + "init": null, + "range": [ + 529, + 530 + ], + "loc": { + "start": { + "line": 16, + "column": 5 + }, + "end": { + "line": 16, + "column": 6 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "n", + "range": [ + 532, + 533 + ], + "loc": { + "start": { + "line": 16, + "column": 8 + }, + "end": { + "line": 16, + "column": 9 + } + } + }, + "init": null, + "range": [ + 532, + 533 + ], + "loc": { + "start": { + "line": 16, + "column": 8 + }, + "end": { + "line": 16, + "column": 9 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "q", + "range": [ + 535, + 536 + ], + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 12 + } + } + }, + "init": null, + "range": [ + 535, + 536 + ], + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 12 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "r", + "range": [ + 538, + 539 + ], + "loc": { + "start": { + "line": 16, + "column": 14 + }, + "end": { + "line": 16, + "column": 15 + } + } + }, + "init": null, + "range": [ + 538, + 539 + ], + "loc": { + "start": { + "line": 16, + "column": 14 + }, + "end": { + "line": 16, + "column": 15 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 541, + 542 + ], + "loc": { + "start": { + "line": 16, + "column": 17 + }, + "end": { + "line": 16, + "column": 18 + } + } + }, + "init": null, + "range": [ + 541, + 542 + ], + "loc": { + "start": { + "line": 16, + "column": 17 + }, + "end": { + "line": 16, + "column": 18 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "w", + "range": [ + 544, + 545 + ], + "loc": { + "start": { + "line": 16, + "column": 20 + }, + "end": { + "line": 16, + "column": 21 + } + } + }, + "init": null, + "range": [ + 544, + 545 + ], + "loc": { + "start": { + "line": 16, + "column": 20 + }, + "end": { + "line": 16, + "column": 21 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "t", + "range": [ + 547, + 548 + ], + "loc": { + "start": { + "line": 16, + "column": 23 + }, + "end": { + "line": 16, + "column": 24 + } + } + }, + "init": null, + "range": [ + 547, + 548 + ], + "loc": { + "start": { + "line": 16, + "column": 23 + }, + "end": { + "line": 16, + "column": 24 + } + } + } + ], + "kind": "var", + "range": [ + 525, + 549 + ], + "loc": { + "start": { + "line": 16, + "column": 1 + }, + "end": { + "line": 16, + "column": 25 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "m", + "range": [ + 552, + 553 + ], + "loc": { + "start": { + "line": 18, + "column": 1 + }, + "end": { + "line": 18, + "column": 2 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "bj", + "range": [ + 556, + 558 + ], + "loc": { + "start": { + "line": 18, + "column": 5 + }, + "end": { + "line": 18, + "column": 7 + } + } + }, + "right": { + "type": "Identifier", + "name": "bi", + "range": [ + 561, + 563 + ], + "loc": { + "start": { + "line": 18, + "column": 10 + }, + "end": { + "line": 18, + "column": 12 + } + } + }, + "range": [ + 556, + 563 + ], + "loc": { + "start": { + "line": 18, + "column": 5 + }, + "end": { + "line": 18, + "column": 12 + } + } + }, + "range": [ + 552, + 563 + ], + "loc": { + "start": { + "line": 18, + "column": 1 + }, + "end": { + "line": 18, + "column": 12 + } + } + }, + "range": [ + 552, + 564 + ], + "loc": { + "start": { + "line": 18, + "column": 1 + }, + "end": { + "line": 18, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "n", + "range": [ + 566, + 567 + ], + "loc": { + "start": { + "line": 19, + "column": 1 + }, + "end": { + "line": 19, + "column": 2 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "aj", + "range": [ + 570, + 572 + ], + "loc": { + "start": { + "line": 19, + "column": 5 + }, + "end": { + "line": 19, + "column": 7 + } + } + }, + "right": { + "type": "Identifier", + "name": "ai", + "range": [ + 575, + 577 + ], + "loc": { + "start": { + "line": 19, + "column": 10 + }, + "end": { + "line": 19, + "column": 12 + } + } + }, + "range": [ + 570, + 577 + ], + "loc": { + "start": { + "line": 19, + "column": 5 + }, + "end": { + "line": 19, + "column": 12 + } + } + }, + "range": [ + 566, + 577 + ], + "loc": { + "start": { + "line": 19, + "column": 1 + }, + "end": { + "line": 19, + "column": 12 + } + } + }, + "range": [ + 566, + 578 + ], + "loc": { + "start": { + "line": 19, + "column": 1 + }, + "end": { + "line": 19, + "column": 13 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " number of parts of first", + "range": [ + 581, + 608 + ], + "loc": { + "start": { + "line": 21, + "column": 1 + }, + "end": { + "line": 21, + "column": 28 + } + } + }, + { + "type": "Line", + "value": " destination block if incomplete", + "range": [ + 610, + 644 + ], + "loc": { + "start": { + "line": 22, + "column": 1 + }, + "end": { + "line": 22, + "column": 35 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "r", + "range": [ + 646, + 647 + ], + "loc": { + "start": { + "line": 23, + "column": 1 + }, + "end": { + "line": 23, + "column": 2 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "%", + "left": { + "type": "Identifier", + "name": "m", + "range": [ + 650, + 651 + ], + "loc": { + "start": { + "line": 23, + "column": 5 + }, + "end": { + "line": 23, + "column": 6 + } + } + }, + "right": { + "type": "Identifier", + "name": "z", + "range": [ + 654, + 655 + ], + "loc": { + "start": { + "line": 23, + "column": 9 + }, + "end": { + "line": 23, + "column": 10 + } + } + }, + "range": [ + 650, + 655 + ], + "loc": { + "start": { + "line": 23, + "column": 5 + }, + "end": { + "line": 23, + "column": 10 + } + } + }, + "range": [ + 646, + 655 + ], + "loc": { + "start": { + "line": 23, + "column": 1 + }, + "end": { + "line": 23, + "column": 10 + } + } + }, + "range": [ + 646, + 656 + ], + "loc": { + "start": { + "line": 23, + "column": 1 + }, + "end": { + "line": 23, + "column": 11 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " number of parts of first", + "range": [ + 581, + 608 + ], + "loc": { + "start": { + "line": 21, + "column": 1 + }, + "end": { + "line": 21, + "column": 28 + } + } + }, + { + "type": "Line", + "value": " destination block if incomplete", + "range": [ + 610, + 644 + ], + "loc": { + "start": { + "line": 22, + "column": 1 + }, + "end": { + "line": 22, + "column": 35 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " number of complete blocks in destination", + "range": [ + 659, + 702 + ], + "loc": { + "start": { + "line": 25, + "column": 1 + }, + "end": { + "line": 25, + "column": 44 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "q", + "range": [ + 704, + 705 + ], + "loc": { + "start": { + "line": 26, + "column": 1 + }, + "end": { + "line": 26, + "column": 2 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "m", + "range": [ + 709, + 710 + ], + "loc": { + "start": { + "line": 26, + "column": 6 + }, + "end": { + "line": 26, + "column": 7 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 713, + 714 + ], + "loc": { + "start": { + "line": 26, + "column": 10 + }, + "end": { + "line": 26, + "column": 11 + } + } + }, + "range": [ + 709, + 714 + ], + "loc": { + "start": { + "line": 26, + "column": 6 + }, + "end": { + "line": 26, + "column": 11 + } + } + }, + "right": { + "type": "Identifier", + "name": "z", + "range": [ + 718, + 719 + ], + "loc": { + "start": { + "line": 26, + "column": 15 + }, + "end": { + "line": 26, + "column": 16 + } + } + }, + "range": [ + 708, + 719 + ], + "loc": { + "start": { + "line": 26, + "column": 5 + }, + "end": { + "line": 26, + "column": 16 + } + } + }, + "range": [ + 704, + 719 + ], + "loc": { + "start": { + "line": 26, + "column": 1 + }, + "end": { + "line": 26, + "column": 16 + } + } + }, + "range": [ + 704, + 720 + ], + "loc": { + "start": { + "line": 26, + "column": 1 + }, + "end": { + "line": 26, + "column": 17 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " number of complete blocks in destination", + "range": [ + 659, + 702 + ], + "loc": { + "start": { + "line": 25, + "column": 1 + }, + "end": { + "line": 25, + "column": 44 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " total number of blocks in destination", + "range": [ + 723, + 763 + ], + "loc": { + "start": { + "line": 28, + "column": 1 + }, + "end": { + "line": 28, + "column": 41 + } + } + }, + { + "type": "Line", + "value": " (complete ones + first if incomplete)", + "range": [ + 765, + 805 + ], + "loc": { + "start": { + "line": 29, + "column": 1 + }, + "end": { + "line": 29, + "column": 41 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "w", + "range": [ + 807, + 808 + ], + "loc": { + "start": { + "line": 30, + "column": 1 + }, + "end": { + "line": 30, + "column": 2 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "q", + "range": [ + 811, + 812 + ], + "loc": { + "start": { + "line": 30, + "column": 5 + }, + "end": { + "line": 30, + "column": 6 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "r", + "range": [ + 817, + 818 + ], + "loc": { + "start": { + "line": 30, + "column": 11 + }, + "end": { + "line": 30, + "column": 12 + } + } + }, + "prefix": true, + "range": [ + 816, + 818 + ], + "loc": { + "start": { + "line": 30, + "column": 10 + }, + "end": { + "line": 30, + "column": 12 + } + } + }, + "prefix": true, + "range": [ + 815, + 818 + ], + "loc": { + "start": { + "line": 30, + "column": 9 + }, + "end": { + "line": 30, + "column": 12 + } + } + }, + "range": [ + 811, + 818 + ], + "loc": { + "start": { + "line": 30, + "column": 5 + }, + "end": { + "line": 30, + "column": 12 + } + } + }, + "range": [ + 807, + 818 + ], + "loc": { + "start": { + "line": 30, + "column": 1 + }, + "end": { + "line": 30, + "column": 12 + } + } + }, + "range": [ + 807, + 819 + ], + "loc": { + "start": { + "line": 30, + "column": 1 + }, + "end": { + "line": 30, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " total number of blocks in destination", + "range": [ + 723, + 763 + ], + "loc": { + "start": { + "line": 28, + "column": 1 + }, + "end": { + "line": 28, + "column": 41 + } + } + }, + { + "type": "Line", + "value": " (complete ones + first if incomplete)", + "range": [ + 765, + 805 + ], + "loc": { + "start": { + "line": 29, + "column": 1 + }, + "end": { + "line": 29, + "column": 41 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "Identifier", + "name": "n", + "range": [ + 827, + 828 + ], + "loc": { + "start": { + "line": 33, + "column": 5 + }, + "end": { + "line": 33, + "column": 6 + } + } + }, + "right": { + "type": "Identifier", + "name": "w", + "range": [ + 832, + 833 + ], + "loc": { + "start": { + "line": 33, + "column": 10 + }, + "end": { + "line": 33, + "column": 11 + } + } + }, + "range": [ + 827, + 833 + ], + "loc": { + "start": { + "line": 33, + "column": 5 + }, + "end": { + "line": 33, + "column": 11 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "ai", + "range": [ + 1083, + 1085 + ], + "loc": { + "start": { + "line": 40, + "column": 2 + }, + "end": { + "line": 40, + "column": 4 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "aj", + "range": [ + 1088, + 1090 + ], + "loc": { + "start": { + "line": 40, + "column": 7 + }, + "end": { + "line": 40, + "column": 9 + } + } + }, + "right": { + "type": "Identifier", + "name": "w", + "range": [ + 1093, + 1094 + ], + "loc": { + "start": { + "line": 40, + "column": 12 + }, + "end": { + "line": 40, + "column": 13 + } + } + }, + "range": [ + 1088, + 1094 + ], + "loc": { + "start": { + "line": 40, + "column": 7 + }, + "end": { + "line": 40, + "column": 13 + } + } + }, + "range": [ + 1083, + 1094 + ], + "loc": { + "start": { + "line": 40, + "column": 2 + }, + "end": { + "line": 40, + "column": 13 + } + } + }, + "range": [ + 1083, + 1095 + ], + "loc": { + "start": { + "line": 40, + "column": 2 + }, + "end": { + "line": 40, + "column": 14 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " if source contains more than what", + "range": [ + 839, + 875 + ], + "loc": { + "start": { + "line": 34, + "column": 2 + }, + "end": { + "line": 34, + "column": 38 + } + } + }, + { + "type": "Line", + "value": " destination can handle set the effective", + "range": [ + 878, + 921 + ], + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 35, + "column": 45 + } + } + }, + { + "type": "Line", + "value": " read start in source and set i to the correct", + "range": [ + 924, + 972 + ], + "loc": { + "start": { + "line": 36, + "column": 2 + }, + "end": { + "line": 36, + "column": 50 + } + } + }, + { + "type": "Line", + "value": " offset according to the size", + "range": [ + 975, + 1006 + ], + "loc": { + "start": { + "line": 37, + "column": 2 + }, + "end": { + "line": 37, + "column": 33 + } + } + }, + { + "type": "Line", + "value": " (in destination blocks) of the", + "range": [ + 1009, + 1042 + ], + "loc": { + "start": { + "line": 38, + "column": 2 + }, + "end": { + "line": 38, + "column": 35 + } + } + }, + { + "type": "Line", + "value": " first source block if incomplete", + "range": [ + 1045, + 1080 + ], + "loc": { + "start": { + "line": 39, + "column": 2 + }, + "end": { + "line": 39, + "column": 37 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 1098, + 1099 + ], + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 41, + "column": 3 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "%", + "left": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "z", + "range": [ + 1103, + 1104 + ], + "loc": { + "start": { + "line": 41, + "column": 7 + }, + "end": { + "line": 41, + "column": 8 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 1107, + 1108 + ], + "loc": { + "start": { + "line": 41, + "column": 11 + }, + "end": { + "line": 41, + "column": 12 + } + } + }, + "range": [ + 1103, + 1108 + ], + "loc": { + "start": { + "line": 41, + "column": 7 + }, + "end": { + "line": 41, + "column": 12 + } + } + }, + "right": { + "type": "Identifier", + "name": "z", + "range": [ + 1112, + 1113 + ], + "loc": { + "start": { + "line": 41, + "column": 16 + }, + "end": { + "line": 41, + "column": 17 + } + } + }, + "range": [ + 1102, + 1113 + ], + "loc": { + "start": { + "line": 41, + "column": 6 + }, + "end": { + "line": 41, + "column": 17 + } + } + }, + "range": [ + 1098, + 1113 + ], + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 41, + "column": 17 + } + } + }, + "range": [ + 1098, + 1114 + ], + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 41, + "column": 18 + } + } + } + ], + "range": [ + 835, + 1117 + ], + "loc": { + "start": { + "line": 33, + "column": 13 + }, + "end": { + "line": 42, + "column": 2 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "bi", + "range": [ + 1323, + 1325 + ], + "loc": { + "start": { + "line": 49, + "column": 2 + }, + "end": { + "line": 49, + "column": 4 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "bj", + "range": [ + 1328, + 1330 + ], + "loc": { + "start": { + "line": 49, + "column": 7 + }, + "end": { + "line": 49, + "column": 9 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "*", + "left": { + "type": "Identifier", + "name": "n", + "range": [ + 1333, + 1334 + ], + "loc": { + "start": { + "line": 49, + "column": 12 + }, + "end": { + "line": 49, + "column": 13 + } + } + }, + "right": { + "type": "Identifier", + "name": "z", + "range": [ + 1337, + 1338 + ], + "loc": { + "start": { + "line": 49, + "column": 16 + }, + "end": { + "line": 49, + "column": 17 + } + } + }, + "range": [ + 1333, + 1338 + ], + "loc": { + "start": { + "line": 49, + "column": 12 + }, + "end": { + "line": 49, + "column": 17 + } + } + }, + "range": [ + 1328, + 1338 + ], + "loc": { + "start": { + "line": 49, + "column": 7 + }, + "end": { + "line": 49, + "column": 17 + } + } + }, + "range": [ + 1323, + 1338 + ], + "loc": { + "start": { + "line": 49, + "column": 2 + }, + "end": { + "line": 49, + "column": 17 + } + } + }, + "range": [ + 1323, + 1339 + ], + "loc": { + "start": { + "line": 49, + "column": 2 + }, + "end": { + "line": 49, + "column": 18 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " if destination can contain more than", + "range": [ + 1128, + 1167 + ], + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 44, + "column": 41 + } + } + }, + { + "type": "Line", + "value": " what is available in source then", + "range": [ + 1170, + 1205 + ], + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 45, + "column": 37 + } + } + }, + { + "type": "Line", + "value": " compute the effective write start", + "range": [ + 1208, + 1244 + ], + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 46, + "column": 38 + } + } + }, + { + "type": "Line", + "value": " in destination and set i to 0 because", + "range": [ + 1247, + 1287 + ], + "loc": { + "start": { + "line": 47, + "column": 2 + }, + "end": { + "line": 47, + "column": 42 + } + } + }, + { + "type": "Line", + "value": " all blocks will be complete", + "range": [ + 1290, + 1320 + ], + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 48, + "column": 32 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 1342, + 1343 + ], + "loc": { + "start": { + "line": 50, + "column": 2 + }, + "end": { + "line": 50, + "column": 3 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 1346, + 1347 + ], + "loc": { + "start": { + "line": 50, + "column": 6 + }, + "end": { + "line": 50, + "column": 7 + } + } + }, + "range": [ + 1342, + 1347 + ], + "loc": { + "start": { + "line": 50, + "column": 2 + }, + "end": { + "line": 50, + "column": 7 + } + } + }, + "range": [ + 1342, + 1348 + ], + "loc": { + "start": { + "line": 50, + "column": 2 + }, + "end": { + "line": 50, + "column": 8 + } + } + } + ], + "range": [ + 1124, + 1351 + ], + "loc": { + "start": { + "line": 43, + "column": 6 + }, + "end": { + "line": 51, + "column": 2 + } + } + }, + "range": [ + 823, + 1351 + ], + "loc": { + "start": { + "line": 33, + "column": 1 + }, + "end": { + "line": 51, + "column": 2 + } + } + }, + { + "type": "ForStatement", + "init": null, + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "ai", + "range": [ + 1361, + 1363 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 10 + } + } + }, + "right": { + "type": "Identifier", + "name": "aj", + "range": [ + 1366, + 1368 + ], + "loc": { + "start": { + "line": 53, + "column": 13 + }, + "end": { + "line": 53, + "column": 15 + } + } + }, + "range": [ + 1361, + 1368 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 15 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "bi", + "range": [ + 1372, + 1374 + ], + "loc": { + "start": { + "line": 53, + "column": 19 + }, + "end": { + "line": 53, + "column": 21 + } + } + }, + "right": { + "type": "Identifier", + "name": "bj", + "range": [ + 1377, + 1379 + ], + "loc": { + "start": { + "line": 53, + "column": 24 + }, + "end": { + "line": 53, + "column": 26 + } + } + }, + "range": [ + 1372, + 1379 + ], + "loc": { + "start": { + "line": 53, + "column": 19 + }, + "end": { + "line": 53, + "column": 26 + } + } + }, + "range": [ + 1361, + 1379 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 26 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "ai", + "range": [ + 1383, + 1385 + ], + "loc": { + "start": { + "line": 53, + "column": 30 + }, + "end": { + "line": 53, + "column": 32 + } + } + }, + "prefix": true, + "range": [ + 1381, + 1385 + ], + "loc": { + "start": { + "line": 53, + "column": 28 + }, + "end": { + "line": 53, + "column": 32 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "q", + "range": [ + 1391, + 1392 + ], + "loc": { + "start": { + "line": 54, + "column": 2 + }, + "end": { + "line": 54, + "column": 3 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 1395, + 1396 + ], + "loc": { + "start": { + "line": 54, + "column": 6 + }, + "end": { + "line": 54, + "column": 7 + } + } + }, + "property": { + "type": "Identifier", + "name": "ai", + "range": [ + 1397, + 1399 + ], + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 10 + } + } + }, + "range": [ + 1395, + 1400 + ], + "loc": { + "start": { + "line": 54, + "column": 6 + }, + "end": { + "line": 54, + "column": 11 + } + } + }, + "range": [ + 1391, + 1400 + ], + "loc": { + "start": { + "line": 54, + "column": 2 + }, + "end": { + "line": 54, + "column": 11 + } + } + }, + "range": [ + 1391, + 1401 + ], + "loc": { + "start": { + "line": 54, + "column": 2 + }, + "end": { + "line": 54, + "column": 12 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 1404, + 1405 + ], + "loc": { + "start": { + "line": 55, + "column": 2 + }, + "end": { + "line": 55, + "column": 3 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "bi", + "range": [ + 1408, + 1410 + ], + "loc": { + "start": { + "line": 55, + "column": 6 + }, + "end": { + "line": 55, + "column": 8 + } + } + }, + "right": { + "type": "Identifier", + "name": "z", + "range": [ + 1413, + 1414 + ], + "loc": { + "start": { + "line": 55, + "column": 11 + }, + "end": { + "line": 55, + "column": 12 + } + } + }, + "range": [ + 1408, + 1414 + ], + "loc": { + "start": { + "line": 55, + "column": 6 + }, + "end": { + "line": 55, + "column": 12 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 1417, + 1418 + ], + "loc": { + "start": { + "line": 55, + "column": 15 + }, + "end": { + "line": 55, + "column": 16 + } + } + }, + "range": [ + 1408, + 1418 + ], + "loc": { + "start": { + "line": 55, + "column": 6 + }, + "end": { + "line": 55, + "column": 16 + } + } + }, + "right": { + "type": "Identifier", + "name": "i", + "range": [ + 1421, + 1422 + ], + "loc": { + "start": { + "line": 55, + "column": 19 + }, + "end": { + "line": 55, + "column": 20 + } + } + }, + "range": [ + 1408, + 1422 + ], + "loc": { + "start": { + "line": 55, + "column": 6 + }, + "end": { + "line": 55, + "column": 20 + } + } + }, + "range": [ + 1404, + 1422 + ], + "loc": { + "start": { + "line": 55, + "column": 2 + }, + "end": { + "line": 55, + "column": 20 + } + } + }, + "range": [ + 1404, + 1423 + ], + "loc": { + "start": { + "line": 55, + "column": 2 + }, + "end": { + "line": 55, + "column": 21 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "+=", + "left": { + "type": "Identifier", + "name": "bi", + "range": [ + 1426, + 1428 + ], + "loc": { + "start": { + "line": 56, + "column": 2 + }, + "end": { + "line": 56, + "column": 4 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "z", + "range": [ + 1432, + 1433 + ], + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 9 + } + } + }, + "right": { + "type": "Identifier", + "name": "i", + "range": [ + 1436, + 1437 + ], + "loc": { + "start": { + "line": 56, + "column": 12 + }, + "end": { + "line": 56, + "column": 13 + } + } + }, + "range": [ + 1432, + 1437 + ], + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 13 + } + } + }, + "range": [ + 1426, + 1437 + ], + "loc": { + "start": { + "line": 56, + "column": 2 + }, + "end": { + "line": 56, + "column": 13 + } + } + }, + "range": [ + 1426, + 1438 + ], + "loc": { + "start": { + "line": 56, + "column": 2 + }, + "end": { + "line": 56, + "column": 14 + } + } + }, + { + "type": "ForStatement", + "init": null, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 1448, + 1449 + ], + "loc": { + "start": { + "line": 57, + "column": 9 + }, + "end": { + "line": 57, + "column": 10 + } + } + }, + "right": { + "type": "Identifier", + "name": "z", + "range": [ + 1452, + 1453 + ], + "loc": { + "start": { + "line": 57, + "column": 13 + }, + "end": { + "line": 57, + "column": 14 + } + } + }, + "range": [ + 1448, + 1453 + ], + "loc": { + "start": { + "line": 57, + "column": 9 + }, + "end": { + "line": 57, + "column": 14 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 1457, + 1458 + ], + "loc": { + "start": { + "line": 57, + "column": 18 + }, + "end": { + "line": 57, + "column": 19 + } + } + }, + "prefix": true, + "range": [ + 1455, + 1458 + ], + "loc": { + "start": { + "line": 57, + "column": 16 + }, + "end": { + "line": 57, + "column": 19 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "r", + "range": [ + 1465, + 1466 + ], + "loc": { + "start": { + "line": 58, + "column": 3 + }, + "end": { + "line": 58, + "column": 4 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "%", + "left": { + "type": "Identifier", + "name": "q", + "range": [ + 1469, + 1470 + ], + "loc": { + "start": { + "line": 58, + "column": 7 + }, + "end": { + "line": 58, + "column": 8 + } + } + }, + "right": { + "type": "Identifier", + "name": "br", + "range": [ + 1473, + 1475 + ], + "loc": { + "start": { + "line": 58, + "column": 11 + }, + "end": { + "line": 58, + "column": 13 + } + } + }, + "range": [ + 1469, + 1475 + ], + "loc": { + "start": { + "line": 58, + "column": 7 + }, + "end": { + "line": 58, + "column": 13 + } + } + }, + "range": [ + 1465, + 1475 + ], + "loc": { + "start": { + "line": 58, + "column": 3 + }, + "end": { + "line": 58, + "column": 13 + } + } + }, + "range": [ + 1465, + 1476 + ], + "loc": { + "start": { + "line": 58, + "column": 3 + }, + "end": { + "line": 58, + "column": 14 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " unpack source blocks", + "range": [ + 1484, + 1507 + ], + "loc": { + "start": { + "line": 58, + "column": 22 + }, + "end": { + "line": 58, + "column": 45 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "q", + "range": [ + 1511, + 1512 + ], + "loc": { + "start": { + "line": 59, + "column": 3 + }, + "end": { + "line": 59, + "column": 4 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "q", + "range": [ + 1516, + 1517 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 9 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 1520, + 1521 + ], + "loc": { + "start": { + "line": 59, + "column": 12 + }, + "end": { + "line": 59, + "column": 13 + } + } + }, + "range": [ + 1516, + 1521 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 13 + } + } + }, + "right": { + "type": "Identifier", + "name": "br", + "range": [ + 1525, + 1527 + ], + "loc": { + "start": { + "line": 59, + "column": 17 + }, + "end": { + "line": 59, + "column": 19 + } + } + }, + "range": [ + 1515, + 1527 + ], + "loc": { + "start": { + "line": 59, + "column": 7 + }, + "end": { + "line": 59, + "column": 19 + } + } + }, + "range": [ + 1511, + 1527 + ], + "loc": { + "start": { + "line": 59, + "column": 3 + }, + "end": { + "line": 59, + "column": 19 + } + } + }, + "range": [ + 1511, + 1528 + ], + "loc": { + "start": { + "line": 59, + "column": 3 + }, + "end": { + "line": 59, + "column": 20 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " unpack source blocks", + "range": [ + 1484, + 1507 + ], + "loc": { + "start": { + "line": 58, + "column": 22 + }, + "end": { + "line": 58, + "column": 45 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " using simple", + "range": [ + 1530, + 1545 + ], + "loc": { + "start": { + "line": 59, + "column": 22 + }, + "end": { + "line": 59, + "column": 37 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 1549, + 1550 + ], + "loc": { + "start": { + "line": 60, + "column": 3 + }, + "end": { + "line": 60, + "column": 4 + } + } + }, + "property": { + "type": "Identifier", + "name": "t", + "range": [ + 1551, + 1552 + ], + "loc": { + "start": { + "line": 60, + "column": 5 + }, + "end": { + "line": 60, + "column": 6 + } + } + }, + "range": [ + 1549, + 1553 + ], + "loc": { + "start": { + "line": 60, + "column": 3 + }, + "end": { + "line": 60, + "column": 7 + } + } + }, + "right": { + "type": "Identifier", + "name": "r", + "range": [ + 1556, + 1557 + ], + "loc": { + "start": { + "line": 60, + "column": 10 + }, + "end": { + "line": 60, + "column": 11 + } + } + }, + "range": [ + 1549, + 1557 + ], + "loc": { + "start": { + "line": 60, + "column": 3 + }, + "end": { + "line": 60, + "column": 11 + } + } + }, + "range": [ + 1549, + 1558 + ], + "loc": { + "start": { + "line": 60, + "column": 3 + }, + "end": { + "line": 60, + "column": 12 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " using simple", + "range": [ + 1530, + 1545 + ], + "loc": { + "start": { + "line": 59, + "column": 22 + }, + "end": { + "line": 59, + "column": 37 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " modulo + quotient", + "range": [ + 1568, + 1588 + ], + "loc": { + "start": { + "line": 60, + "column": 22 + }, + "end": { + "line": 60, + "column": 42 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "t", + "range": [ + 1594, + 1595 + ], + "loc": { + "start": { + "line": 61, + "column": 5 + }, + "end": { + "line": 61, + "column": 6 + } + } + }, + "prefix": true, + "range": [ + 1592, + 1595 + ], + "loc": { + "start": { + "line": 61, + "column": 3 + }, + "end": { + "line": 61, + "column": 6 + } + } + }, + "range": [ + 1592, + 1596 + ], + "loc": { + "start": { + "line": 61, + "column": 3 + }, + "end": { + "line": 61, + "column": 7 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " modulo + quotient", + "range": [ + 1568, + 1588 + ], + "loc": { + "start": { + "line": 60, + "column": 22 + }, + "end": { + "line": 60, + "column": 42 + } + } + } + ] + } + ], + "range": [ + 1460, + 1600 + ], + "loc": { + "start": { + "line": 57, + "column": 21 + }, + "end": { + "line": 62, + "column": 3 + } + } + }, + "range": [ + 1441, + 1600 + ], + "loc": { + "start": { + "line": 57, + "column": 2 + }, + "end": { + "line": 62, + "column": 3 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 1603, + 1604 + ], + "loc": { + "start": { + "line": 63, + "column": 2 + }, + "end": { + "line": 63, + "column": 3 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 1607, + 1608 + ], + "loc": { + "start": { + "line": 63, + "column": 6 + }, + "end": { + "line": 63, + "column": 7 + } + } + }, + "range": [ + 1603, + 1608 + ], + "loc": { + "start": { + "line": 63, + "column": 2 + }, + "end": { + "line": 63, + "column": 7 + } + } + }, + "range": [ + 1603, + 1609 + ], + "loc": { + "start": { + "line": 63, + "column": 2 + }, + "end": { + "line": 63, + "column": 8 + } + } + } + ], + "range": [ + 1387, + 1612 + ], + "loc": { + "start": { + "line": 53, + "column": 34 + }, + "end": { + "line": 64, + "column": 2 + } + } + }, + "range": [ + 1354, + 1612 + ], + "loc": { + "start": { + "line": 53, + "column": 1 + }, + "end": { + "line": 64, + "column": 2 + } + } + } + ], + "range": [ + 521, + 1615 + ], + "loc": { + "start": { + "line": 14, + "column": 80 + }, + "end": { + "line": 66, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 448, + 1615 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 66, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n *\n * @param {Number} br the base to convert to\n * @param {Number} z if ar is the base to convert to then log(ar) = z log(br)\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", + "range": [ + 1, + 439 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 441, + 1615 + ], + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 66, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n *\n * @param {Number} br the base to convert to\n * @param {Number} z if ar is the base to convert to then log(ar) = z log(br)\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", + "range": [ + 1, + 439 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 441, + 1615 + ], + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 66, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n *\n * @param {Number} br the base to convert to\n * @param {Number} z if ar is the base to convert to then log(ar) = z log(br)\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", + "range": [ + 1, + 439 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + }, + { + "type": "Line", + "value": " number of parts of first", + "range": [ + 581, + 608 + ], + "loc": { + "start": { + "line": 21, + "column": 1 + }, + "end": { + "line": 21, + "column": 28 + } + } + }, + { + "type": "Line", + "value": " destination block if incomplete", + "range": [ + 610, + 644 + ], + "loc": { + "start": { + "line": 22, + "column": 1 + }, + "end": { + "line": 22, + "column": 35 + } + } + }, + { + "type": "Line", + "value": " number of complete blocks in destination", + "range": [ + 659, + 702 + ], + "loc": { + "start": { + "line": 25, + "column": 1 + }, + "end": { + "line": 25, + "column": 44 + } + } + }, + { + "type": "Line", + "value": " total number of blocks in destination", + "range": [ + 723, + 763 + ], + "loc": { + "start": { + "line": 28, + "column": 1 + }, + "end": { + "line": 28, + "column": 41 + } + } + }, + { + "type": "Line", + "value": " (complete ones + first if incomplete)", + "range": [ + 765, + 805 + ], + "loc": { + "start": { + "line": 29, + "column": 1 + }, + "end": { + "line": 29, + "column": 41 + } + } + }, + { + "type": "Line", + "value": " if source contains more than what", + "range": [ + 839, + 875 + ], + "loc": { + "start": { + "line": 34, + "column": 2 + }, + "end": { + "line": 34, + "column": 38 + } + } + }, + { + "type": "Line", + "value": " destination can handle set the effective", + "range": [ + 878, + 921 + ], + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 35, + "column": 45 + } + } + }, + { + "type": "Line", + "value": " read start in source and set i to the correct", + "range": [ + 924, + 972 + ], + "loc": { + "start": { + "line": 36, + "column": 2 + }, + "end": { + "line": 36, + "column": 50 + } + } + }, + { + "type": "Line", + "value": " offset according to the size", + "range": [ + 975, + 1006 + ], + "loc": { + "start": { + "line": 37, + "column": 2 + }, + "end": { + "line": 37, + "column": 33 + } + } + }, + { + "type": "Line", + "value": " (in destination blocks) of the", + "range": [ + 1009, + 1042 + ], + "loc": { + "start": { + "line": 38, + "column": 2 + }, + "end": { + "line": 38, + "column": 35 + } + } + }, + { + "type": "Line", + "value": " first source block if incomplete", + "range": [ + 1045, + 1080 + ], + "loc": { + "start": { + "line": 39, + "column": 2 + }, + "end": { + "line": 39, + "column": 37 + } + } + }, + { + "type": "Line", + "value": " if destination can contain more than", + "range": [ + 1128, + 1167 + ], + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 44, + "column": 41 + } + } + }, + { + "type": "Line", + "value": " what is available in source then", + "range": [ + 1170, + 1205 + ], + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 45, + "column": 37 + } + } + }, + { + "type": "Line", + "value": " compute the effective write start", + "range": [ + 1208, + 1244 + ], + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 46, + "column": 38 + } + } + }, + { + "type": "Line", + "value": " in destination and set i to 0 because", + "range": [ + 1247, + 1287 + ], + "loc": { + "start": { + "line": 47, + "column": 2 + }, + "end": { + "line": 47, + "column": 42 + } + } + }, + { + "type": "Line", + "value": " all blocks will be complete", + "range": [ + 1290, + 1320 + ], + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 48, + "column": 32 + } + } + }, + { + "type": "Line", + "value": " unpack source blocks", + "range": [ + 1484, + 1507 + ], + "loc": { + "start": { + "line": 58, + "column": 22 + }, + "end": { + "line": 58, + "column": 45 + } + } + }, + { + "type": "Line", + "value": " using simple", + "range": [ + 1530, + 1545 + ], + "loc": { + "start": { + "line": 59, + "column": 22 + }, + "end": { + "line": 59, + "column": 37 + } + } + }, + { + "type": "Line", + "value": " modulo + quotient", + "range": [ + 1568, + 1588 + ], + "loc": { + "start": { + "line": 60, + "column": 22 + }, + "end": { + "line": 60, + "column": 42 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/1-new/convert/_copy.js.json b/ast/source/1-new/convert/_copy.js.json new file mode 100644 index 0000000..9fa7d1f --- /dev/null +++ b/ast/source/1-new/convert/_copy.js.json @@ -0,0 +1,498 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "_copy", + "range": [ + 17, + 22 + ], + "loc": { + "start": { + "line": 2, + "column": 16 + }, + "end": { + "line": 2, + "column": 21 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 25, + 26 + ], + "loc": { + "start": { + "line": 2, + "column": 24 + }, + "end": { + "line": 2, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 29, + 31 + ], + "loc": { + "start": { + "line": 2, + "column": 28 + }, + "end": { + "line": 2, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 34, + 36 + ], + "loc": { + "start": { + "line": 2, + "column": 33 + }, + "end": { + "line": 2, + "column": 35 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 39, + 40 + ], + "loc": { + "start": { + "line": 2, + "column": 38 + }, + "end": { + "line": 2, + "column": 39 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 43, + 45 + ], + "loc": { + "start": { + "line": 2, + "column": 42 + }, + "end": { + "line": 2, + "column": 44 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ForStatement", + "init": null, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "ai", + "range": [ + 60, + 62 + ], + "loc": { + "start": { + "line": 4, + "column": 9 + }, + "end": { + "line": 4, + "column": 11 + } + } + }, + "right": { + "type": "Identifier", + "name": "aj", + "range": [ + 65, + 67 + ], + "loc": { + "start": { + "line": 4, + "column": 14 + }, + "end": { + "line": 4, + "column": 16 + } + } + }, + "range": [ + 60, + 67 + ], + "loc": { + "start": { + "line": 4, + "column": 9 + }, + "end": { + "line": 4, + "column": 16 + } + } + }, + "update": { + "type": "SequenceExpression", + "expressions": [ + { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "ai", + "range": [ + 72, + 74 + ], + "loc": { + "start": { + "line": 4, + "column": 21 + }, + "end": { + "line": 4, + "column": 23 + } + } + }, + "prefix": true, + "range": [ + 70, + 74 + ], + "loc": { + "start": { + "line": 4, + "column": 19 + }, + "end": { + "line": 4, + "column": 23 + } + } + }, + { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "bi", + "range": [ + 78, + 80 + ], + "loc": { + "start": { + "line": 4, + "column": 27 + }, + "end": { + "line": 4, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 76, + 80 + ], + "loc": { + "start": { + "line": 4, + "column": 25 + }, + "end": { + "line": 4, + "column": 29 + } + } + } + ], + "range": [ + 70, + 80 + ], + "loc": { + "start": { + "line": 4, + "column": 19 + }, + "end": { + "line": 4, + "column": 29 + } + } + }, + "body": { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 83, + 84 + ], + "loc": { + "start": { + "line": 4, + "column": 32 + }, + "end": { + "line": 4, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "bi", + "range": [ + 85, + 87 + ], + "loc": { + "start": { + "line": 4, + "column": 34 + }, + "end": { + "line": 4, + "column": 36 + } + } + }, + "range": [ + 83, + 88 + ], + "loc": { + "start": { + "line": 4, + "column": 32 + }, + "end": { + "line": 4, + "column": 37 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 91, + 92 + ], + "loc": { + "start": { + "line": 4, + "column": 40 + }, + "end": { + "line": 4, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "ai", + "range": [ + 93, + 95 + ], + "loc": { + "start": { + "line": 4, + "column": 42 + }, + "end": { + "line": 4, + "column": 44 + } + } + }, + "range": [ + 91, + 96 + ], + "loc": { + "start": { + "line": 4, + "column": 40 + }, + "end": { + "line": 4, + "column": 45 + } + } + }, + "range": [ + 83, + 96 + ], + "loc": { + "start": { + "line": 4, + "column": 32 + }, + "end": { + "line": 4, + "column": 45 + } + } + }, + "range": [ + 83, + 98 + ], + "loc": { + "start": { + "line": 4, + "column": 32 + }, + "end": { + "line": 4, + "column": 47 + } + } + }, + "range": [ + 52, + 98 + ], + "loc": { + "start": { + "line": 4, + "column": 1 + }, + "end": { + "line": 4, + "column": 47 + } + } + } + ], + "range": [ + 48, + 101 + ], + "loc": { + "start": { + "line": 2, + "column": 47 + }, + "end": { + "line": 6, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 8, + 101 + ], + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 6, + "column": 1 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 1, + 101 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 6, + "column": 1 + } + } + } + ], + "sourceType": "module", + "range": [ + 1, + 101 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 6, + "column": 1 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/convert/_fill.js.json b/ast/source/1-new/convert/_fill.js.json new file mode 100644 index 0000000..7562050 --- /dev/null +++ b/ast/source/1-new/convert/_fill.js.json @@ -0,0 +1,460 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "_fill", + "range": [ + 17, + 22 + ], + "loc": { + "start": { + "line": 2, + "column": 16 + }, + "end": { + "line": 2, + "column": 21 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 25, + 26 + ], + "loc": { + "start": { + "line": 2, + "column": 24 + }, + "end": { + "line": 2, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 29, + 31 + ], + "loc": { + "start": { + "line": 2, + "column": 28 + }, + "end": { + "line": 2, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 34, + 36 + ], + "loc": { + "start": { + "line": 2, + "column": 33 + }, + "end": { + "line": 2, + "column": 35 + } + } + }, + { + "type": "Identifier", + "name": "v", + "range": [ + 39, + 40 + ], + "loc": { + "start": { + "line": 2, + "column": 38 + }, + "end": { + "line": 2, + "column": 39 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 57, + 58 + ], + "loc": { + "start": { + "line": 4, + "column": 11 + }, + "end": { + "line": 4, + "column": 12 + } + } + }, + "init": { + "type": "Identifier", + "name": "ai", + "range": [ + 61, + 63 + ], + "loc": { + "start": { + "line": 4, + "column": 15 + }, + "end": { + "line": 4, + "column": 17 + } + } + }, + "range": [ + 57, + 63 + ], + "loc": { + "start": { + "line": 4, + "column": 11 + }, + "end": { + "line": 4, + "column": 17 + } + } + } + ], + "kind": "let", + "range": [ + 53, + 63 + ], + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 17 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 66, + 67 + ], + "loc": { + "start": { + "line": 4, + "column": 20 + }, + "end": { + "line": 4, + "column": 21 + } + } + }, + "right": { + "type": "Identifier", + "name": "aj", + "range": [ + 70, + 72 + ], + "loc": { + "start": { + "line": 4, + "column": 24 + }, + "end": { + "line": 4, + "column": 26 + } + } + }, + "range": [ + 66, + 72 + ], + "loc": { + "start": { + "line": 4, + "column": 20 + }, + "end": { + "line": 4, + "column": 26 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 77, + 78 + ], + "loc": { + "start": { + "line": 4, + "column": 31 + }, + "end": { + "line": 4, + "column": 32 + } + } + }, + "prefix": true, + "range": [ + 75, + 78 + ], + "loc": { + "start": { + "line": 4, + "column": 29 + }, + "end": { + "line": 4, + "column": 32 + } + } + }, + "body": { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 81, + 82 + ], + "loc": { + "start": { + "line": 4, + "column": 35 + }, + "end": { + "line": 4, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 83, + 84 + ], + "loc": { + "start": { + "line": 4, + "column": 37 + }, + "end": { + "line": 4, + "column": 38 + } + } + }, + "range": [ + 81, + 85 + ], + "loc": { + "start": { + "line": 4, + "column": 35 + }, + "end": { + "line": 4, + "column": 39 + } + } + }, + "right": { + "type": "Identifier", + "name": "v", + "range": [ + 88, + 89 + ], + "loc": { + "start": { + "line": 4, + "column": 42 + }, + "end": { + "line": 4, + "column": 43 + } + } + }, + "range": [ + 81, + 89 + ], + "loc": { + "start": { + "line": 4, + "column": 35 + }, + "end": { + "line": 4, + "column": 43 + } + } + }, + "range": [ + 81, + 91 + ], + "loc": { + "start": { + "line": 4, + "column": 35 + }, + "end": { + "line": 4, + "column": 45 + } + } + }, + "range": [ + 47, + 91 + ], + "loc": { + "start": { + "line": 4, + "column": 1 + }, + "end": { + "line": 4, + "column": 45 + } + } + } + ], + "range": [ + 43, + 94 + ], + "loc": { + "start": { + "line": 2, + "column": 42 + }, + "end": { + "line": 6, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 8, + 94 + ], + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 6, + "column": 1 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 1, + 94 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 6, + "column": 1 + } + } + } + ], + "sourceType": "module", + "range": [ + 1, + 94 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 6, + "column": 1 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/convert/_int.js.json b/ast/source/1-new/convert/_int.js.json new file mode 100644 index 0000000..857407b --- /dev/null +++ b/ast/source/1-new/convert/_int.js.json @@ -0,0 +1,1066 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "_int", + "range": [ + 17, + 21 + ], + "loc": { + "start": { + "line": 2, + "column": 16 + }, + "end": { + "line": 2, + "column": 20 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "x", + "range": [ + 24, + 25 + ], + "loc": { + "start": { + "line": 2, + "column": 23 + }, + "end": { + "line": 2, + "column": 24 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "Identifier", + "name": "x", + "range": [ + 37, + 38 + ], + "loc": { + "start": { + "line": 4, + "column": 6 + }, + "end": { + "line": 4, + "column": 7 + } + } + }, + "right": { + "type": "Literal", + "value": "0", + "raw": "'0'", + "range": [ + 42, + 45 + ], + "loc": { + "start": { + "line": 4, + "column": 11 + }, + "end": { + "line": 4, + "column": 14 + } + } + }, + "range": [ + 37, + 45 + ], + "loc": { + "start": { + "line": 4, + "column": 6 + }, + "end": { + "line": 4, + "column": 14 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "<=", + "left": { + "type": "Identifier", + "name": "x", + "range": [ + 49, + 50 + ], + "loc": { + "start": { + "line": 4, + "column": 18 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + "right": { + "type": "Literal", + "value": "9", + "raw": "'9'", + "range": [ + 54, + 57 + ], + "loc": { + "start": { + "line": 4, + "column": 23 + }, + "end": { + "line": 4, + "column": 26 + } + } + }, + "range": [ + 49, + 57 + ], + "loc": { + "start": { + "line": 4, + "column": 18 + }, + "end": { + "line": 4, + "column": 26 + } + } + }, + "range": [ + 37, + 57 + ], + "loc": { + "start": { + "line": 4, + "column": 6 + }, + "end": { + "line": 4, + "column": 26 + } + } + }, + "consequent": { + "type": "ReturnStatement", + "argument": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "x", + "range": [ + 67, + 68 + ], + "loc": { + "start": { + "line": 4, + "column": 36 + }, + "end": { + "line": 4, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "charCodeAt", + "range": [ + 69, + 79 + ], + "loc": { + "start": { + "line": 4, + "column": 38 + }, + "end": { + "line": 4, + "column": 48 + } + } + }, + "range": [ + 67, + 79 + ], + "loc": { + "start": { + "line": 4, + "column": 36 + }, + "end": { + "line": 4, + "column": 48 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 81, + 82 + ], + "loc": { + "start": { + "line": 4, + "column": 50 + }, + "end": { + "line": 4, + "column": 51 + } + } + } + ], + "range": [ + 67, + 84 + ], + "loc": { + "start": { + "line": 4, + "column": 36 + }, + "end": { + "line": 4, + "column": 53 + } + } + }, + "right": { + "type": "Literal", + "value": 48, + "raw": "48", + "range": [ + 87, + 89 + ], + "loc": { + "start": { + "line": 4, + "column": 56 + }, + "end": { + "line": 4, + "column": 58 + } + } + }, + "range": [ + 67, + 89 + ], + "loc": { + "start": { + "line": 4, + "column": 36 + }, + "end": { + "line": 4, + "column": 58 + } + } + }, + "range": [ + 60, + 91 + ], + "loc": { + "start": { + "line": 4, + "column": 29 + }, + "end": { + "line": 4, + "column": 60 + } + } + }, + "alternate": null, + "range": [ + 32, + 91 + ], + "loc": { + "start": { + "line": 4, + "column": 1 + }, + "end": { + "line": 4, + "column": 60 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "Identifier", + "name": "x", + "range": [ + 98, + 99 + ], + "loc": { + "start": { + "line": 5, + "column": 6 + }, + "end": { + "line": 5, + "column": 7 + } + } + }, + "right": { + "type": "Literal", + "value": "A", + "raw": "'A'", + "range": [ + 103, + 106 + ], + "loc": { + "start": { + "line": 5, + "column": 11 + }, + "end": { + "line": 5, + "column": 14 + } + } + }, + "range": [ + 98, + 106 + ], + "loc": { + "start": { + "line": 5, + "column": 6 + }, + "end": { + "line": 5, + "column": 14 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "<=", + "left": { + "type": "Identifier", + "name": "x", + "range": [ + 110, + 111 + ], + "loc": { + "start": { + "line": 5, + "column": 18 + }, + "end": { + "line": 5, + "column": 19 + } + } + }, + "right": { + "type": "Literal", + "value": "Z", + "raw": "'Z'", + "range": [ + 115, + 118 + ], + "loc": { + "start": { + "line": 5, + "column": 23 + }, + "end": { + "line": 5, + "column": 26 + } + } + }, + "range": [ + 110, + 118 + ], + "loc": { + "start": { + "line": 5, + "column": 18 + }, + "end": { + "line": 5, + "column": 26 + } + } + }, + "range": [ + 98, + 118 + ], + "loc": { + "start": { + "line": 5, + "column": 6 + }, + "end": { + "line": 5, + "column": 26 + } + } + }, + "consequent": { + "type": "ReturnStatement", + "argument": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "x", + "range": [ + 128, + 129 + ], + "loc": { + "start": { + "line": 5, + "column": 36 + }, + "end": { + "line": 5, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "charCodeAt", + "range": [ + 130, + 140 + ], + "loc": { + "start": { + "line": 5, + "column": 38 + }, + "end": { + "line": 5, + "column": 48 + } + } + }, + "range": [ + 128, + 140 + ], + "loc": { + "start": { + "line": 5, + "column": 36 + }, + "end": { + "line": 5, + "column": 48 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 142, + 143 + ], + "loc": { + "start": { + "line": 5, + "column": 50 + }, + "end": { + "line": 5, + "column": 51 + } + } + } + ], + "range": [ + 128, + 145 + ], + "loc": { + "start": { + "line": 5, + "column": 36 + }, + "end": { + "line": 5, + "column": 53 + } + } + }, + "right": { + "type": "Literal", + "value": 55, + "raw": "55", + "range": [ + 148, + 150 + ], + "loc": { + "start": { + "line": 5, + "column": 56 + }, + "end": { + "line": 5, + "column": 58 + } + } + }, + "range": [ + 128, + 150 + ], + "loc": { + "start": { + "line": 5, + "column": 36 + }, + "end": { + "line": 5, + "column": 58 + } + } + }, + "range": [ + 121, + 152 + ], + "loc": { + "start": { + "line": 5, + "column": 29 + }, + "end": { + "line": 5, + "column": 60 + } + } + }, + "alternate": null, + "range": [ + 93, + 152 + ], + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 60 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "Identifier", + "name": "x", + "range": [ + 159, + 160 + ], + "loc": { + "start": { + "line": 6, + "column": 6 + }, + "end": { + "line": 6, + "column": 7 + } + } + }, + "right": { + "type": "Literal", + "value": "a", + "raw": "'a'", + "range": [ + 164, + 167 + ], + "loc": { + "start": { + "line": 6, + "column": 11 + }, + "end": { + "line": 6, + "column": 14 + } + } + }, + "range": [ + 159, + 167 + ], + "loc": { + "start": { + "line": 6, + "column": 6 + }, + "end": { + "line": 6, + "column": 14 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "<=", + "left": { + "type": "Identifier", + "name": "x", + "range": [ + 171, + 172 + ], + "loc": { + "start": { + "line": 6, + "column": 18 + }, + "end": { + "line": 6, + "column": 19 + } + } + }, + "right": { + "type": "Literal", + "value": "z", + "raw": "'z'", + "range": [ + 176, + 179 + ], + "loc": { + "start": { + "line": 6, + "column": 23 + }, + "end": { + "line": 6, + "column": 26 + } + } + }, + "range": [ + 171, + 179 + ], + "loc": { + "start": { + "line": 6, + "column": 18 + }, + "end": { + "line": 6, + "column": 26 + } + } + }, + "range": [ + 159, + 179 + ], + "loc": { + "start": { + "line": 6, + "column": 6 + }, + "end": { + "line": 6, + "column": 26 + } + } + }, + "consequent": { + "type": "ReturnStatement", + "argument": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "x", + "range": [ + 189, + 190 + ], + "loc": { + "start": { + "line": 6, + "column": 36 + }, + "end": { + "line": 6, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "charCodeAt", + "range": [ + 191, + 201 + ], + "loc": { + "start": { + "line": 6, + "column": 38 + }, + "end": { + "line": 6, + "column": 48 + } + } + }, + "range": [ + 189, + 201 + ], + "loc": { + "start": { + "line": 6, + "column": 36 + }, + "end": { + "line": 6, + "column": 48 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 203, + 204 + ], + "loc": { + "start": { + "line": 6, + "column": 50 + }, + "end": { + "line": 6, + "column": 51 + } + } + } + ], + "range": [ + 189, + 206 + ], + "loc": { + "start": { + "line": 6, + "column": 36 + }, + "end": { + "line": 6, + "column": 53 + } + } + }, + "right": { + "type": "Literal", + "value": 87, + "raw": "87", + "range": [ + 209, + 211 + ], + "loc": { + "start": { + "line": 6, + "column": 56 + }, + "end": { + "line": 6, + "column": 58 + } + } + }, + "range": [ + 189, + 211 + ], + "loc": { + "start": { + "line": 6, + "column": 36 + }, + "end": { + "line": 6, + "column": 58 + } + } + }, + "range": [ + 182, + 213 + ], + "loc": { + "start": { + "line": 6, + "column": 29 + }, + "end": { + "line": 6, + "column": 60 + } + } + }, + "alternate": null, + "range": [ + 154, + 213 + ], + "loc": { + "start": { + "line": 6, + "column": 1 + }, + "end": { + "line": 6, + "column": 60 + } + } + }, + { + "type": "ThrowStatement", + "argument": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": "invalid literal for _int: ", + "raw": "'invalid literal for _int: '", + "range": [ + 222, + 250 + ], + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 35 + } + } + }, + "right": { + "type": "Identifier", + "name": "x", + "range": [ + 253, + 254 + ], + "loc": { + "start": { + "line": 8, + "column": 38 + }, + "end": { + "line": 8, + "column": 39 + } + } + }, + "range": [ + 222, + 254 + ], + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 39 + } + } + }, + "range": [ + 216, + 256 + ], + "loc": { + "start": { + "line": 8, + "column": 1 + }, + "end": { + "line": 8, + "column": 41 + } + } + } + ], + "range": [ + 28, + 259 + ], + "loc": { + "start": { + "line": 2, + "column": 27 + }, + "end": { + "line": 10, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 8, + 259 + ], + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 10, + "column": 1 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 1, + 259 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 10, + "column": 1 + } + } + } + ], + "sourceType": "module", + "range": [ + 1, + 259 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 10, + "column": 1 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/convert/_log.js.json b/ast/source/1-new/convert/_log.js.json new file mode 100644 index 0000000..21ee6c7 --- /dev/null +++ b/ast/source/1-new/convert/_log.js.json @@ -0,0 +1,587 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "_log", + "range": [ + 17, + 21 + ], + "loc": { + "start": { + "line": 2, + "column": 16 + }, + "end": { + "line": 2, + "column": 20 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "x", + "range": [ + 24, + 25 + ], + "loc": { + "start": { + "line": 2, + "column": 23 + }, + "end": { + "line": 2, + "column": 24 + } + } + }, + { + "type": "Identifier", + "name": "y", + "range": [ + 28, + 29 + ], + "loc": { + "start": { + "line": 2, + "column": 27 + }, + "end": { + "line": 2, + "column": 28 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "z", + "range": [ + 40, + 41 + ], + "loc": { + "start": { + "line": 4, + "column": 5 + }, + "end": { + "line": 4, + "column": 6 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 44, + 45 + ], + "loc": { + "start": { + "line": 4, + "column": 9 + }, + "end": { + "line": 4, + "column": 10 + } + } + }, + "range": [ + 40, + 45 + ], + "loc": { + "start": { + "line": 4, + "column": 5 + }, + "end": { + "line": 4, + "column": 10 + } + } + } + ], + "kind": "let", + "range": [ + 36, + 47 + ], + "loc": { + "start": { + "line": 4, + "column": 1 + }, + "end": { + "line": 4, + "column": 12 + } + } + }, + { + "type": "WhileStatement", + "test": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "Identifier", + "name": "x", + "range": [ + 58, + 59 + ], + "loc": { + "start": { + "line": 6, + "column": 9 + }, + "end": { + "line": 6, + "column": 10 + } + } + }, + "right": { + "type": "Identifier", + "name": "y", + "range": [ + 63, + 64 + ], + "loc": { + "start": { + "line": 6, + "column": 14 + }, + "end": { + "line": 6, + "column": 15 + } + } + }, + "range": [ + 58, + 64 + ], + "loc": { + "start": { + "line": 6, + "column": 9 + }, + "end": { + "line": 6, + "column": 15 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "%", + "left": { + "type": "Identifier", + "name": "x", + "range": [ + 76, + 77 + ], + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 8 + } + } + }, + "right": { + "type": "Identifier", + "name": "y", + "range": [ + 80, + 81 + ], + "loc": { + "start": { + "line": 7, + "column": 11 + }, + "end": { + "line": 7, + "column": 12 + } + } + }, + "range": [ + 76, + 81 + ], + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 12 + } + } + }, + "consequent": { + "type": "BreakStatement", + "label": null, + "range": [ + 84, + 91 + ], + "loc": { + "start": { + "line": 7, + "column": 15 + }, + "end": { + "line": 7, + "column": 22 + } + } + }, + "alternate": null, + "range": [ + 71, + 91 + ], + "loc": { + "start": { + "line": 7, + "column": 2 + }, + "end": { + "line": 7, + "column": 22 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "/=", + "left": { + "type": "Identifier", + "name": "x", + "range": [ + 94, + 95 + ], + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 3 + } + } + }, + "right": { + "type": "Identifier", + "name": "y", + "range": [ + 99, + 100 + ], + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 8 + } + } + }, + "range": [ + 94, + 100 + ], + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 8 + } + } + }, + "range": [ + 94, + 102 + ], + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 10 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "z", + "range": [ + 107, + 108 + ], + "loc": { + "start": { + "line": 9, + "column": 4 + }, + "end": { + "line": 9, + "column": 5 + } + } + }, + "prefix": true, + "range": [ + 105, + 108 + ], + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 9, + "column": 5 + } + } + }, + "range": [ + 105, + 110 + ], + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 9, + "column": 7 + } + } + } + ], + "range": [ + 67, + 113 + ], + "loc": { + "start": { + "line": 6, + "column": 18 + }, + "end": { + "line": 10, + "column": 2 + } + } + }, + "range": [ + 50, + 113 + ], + "loc": { + "start": { + "line": 6, + "column": 1 + }, + "end": { + "line": 10, + "column": 2 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "ArrayExpression", + "elements": [ + { + "type": "Identifier", + "name": "z", + "range": [ + 125, + 126 + ], + "loc": { + "start": { + "line": 12, + "column": 10 + }, + "end": { + "line": 12, + "column": 11 + } + } + }, + { + "type": "Identifier", + "name": "x", + "range": [ + 129, + 130 + ], + "loc": { + "start": { + "line": 12, + "column": 14 + }, + "end": { + "line": 12, + "column": 15 + } + } + } + ], + "range": [ + 123, + 132 + ], + "loc": { + "start": { + "line": 12, + "column": 8 + }, + "end": { + "line": 12, + "column": 17 + } + } + }, + "range": [ + 116, + 134 + ], + "loc": { + "start": { + "line": 12, + "column": 1 + }, + "end": { + "line": 12, + "column": 19 + } + } + } + ], + "range": [ + 32, + 137 + ], + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 14, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 8, + 137 + ], + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 14, + "column": 1 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 1, + 137 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 14, + "column": 1 + } + } + } + ], + "sourceType": "module", + "range": [ + 1, + 137 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 14, + "column": 1 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/convert/_reset.js.json b/ast/source/1-new/convert/_reset.js.json new file mode 100644 index 0000000..06ffc68 --- /dev/null +++ b/ast/source/1-new/convert/_reset.js.json @@ -0,0 +1,372 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_fill", + "range": [ + 9, + 14 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 14 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_fill", + "range": [ + 9, + 14 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 14 + } + } + }, + "range": [ + 9, + 14 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 14 + } + } + } + ], + "source": { + "type": "Literal", + "value": ".", + "raw": "'.'", + "range": [ + 22, + 25 + ], + "loc": { + "start": { + "line": 1, + "column": 22 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + "range": [ + 0, + 27 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 27 + } + } + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "_reset", + "range": [ + 45, + 51 + ], + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 22 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 54, + 55 + ], + "loc": { + "start": { + "line": 3, + "column": 25 + }, + "end": { + "line": 3, + "column": 26 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 58, + 60 + ], + "loc": { + "start": { + "line": 3, + "column": 29 + }, + "end": { + "line": 3, + "column": 31 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 63, + 65 + ], + "loc": { + "start": { + "line": 3, + "column": 34 + }, + "end": { + "line": 3, + "column": 36 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_fill", + "range": [ + 72, + 77 + ], + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 6 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 79, + 80 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 9 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 83, + 85 + ], + "loc": { + "start": { + "line": 5, + "column": 12 + }, + "end": { + "line": 5, + "column": 14 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 88, + 90 + ], + "loc": { + "start": { + "line": 5, + "column": 17 + }, + "end": { + "line": 5, + "column": 19 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 93, + 94 + ], + "loc": { + "start": { + "line": 5, + "column": 22 + }, + "end": { + "line": 5, + "column": 23 + } + } + } + ], + "range": [ + 72, + 96 + ], + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 25 + } + } + }, + "range": [ + 72, + 98 + ], + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 27 + } + } + } + ], + "range": [ + 68, + 101 + ], + "loc": { + "start": { + "line": 3, + "column": 39 + }, + "end": { + "line": 7, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 36, + 101 + ], + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 7, + "column": 1 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 29, + 101 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 7, + "column": 1 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 101 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 7, + "column": 1 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/convert/_to_string.js.json b/ast/source/1-new/convert/_to_string.js.json new file mode 100644 index 0000000..56902cc --- /dev/null +++ b/ast/source/1-new/convert/_to_string.js.json @@ -0,0 +1,863 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_chr", + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_chr", + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + } + ], + "source": { + "type": "Literal", + "value": ".", + "raw": "'.'", + "range": [ + 21, + 24 + ], + "loc": { + "start": { + "line": 1, + "column": 21 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + "range": [ + 0, + 26 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 26 + } + } + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "_to_string", + "range": [ + 44, + 54 + ], + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 26 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "b", + "range": [ + 57, + 58 + ], + "loc": { + "start": { + "line": 3, + "column": 29 + }, + "end": { + "line": 3, + "column": 30 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "n", + "range": [ + 71, + 72 + ], + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 8 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 75, + 76 + ], + "loc": { + "start": { + "line": 5, + "column": 11 + }, + "end": { + "line": 5, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 77, + 83 + ], + "loc": { + "start": { + "line": 5, + "column": 13 + }, + "end": { + "line": 5, + "column": 19 + } + } + }, + "range": [ + 75, + 83 + ], + "loc": { + "start": { + "line": 5, + "column": 11 + }, + "end": { + "line": 5, + "column": 19 + } + } + }, + "range": [ + 71, + 83 + ], + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 19 + } + } + } + ], + "kind": "const", + "range": [ + 65, + 85 + ], + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 21 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "data", + "range": [ + 94, + 98 + ], + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 11 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 101, + 104 + ], + "loc": { + "start": { + "line": 7, + "column": 14 + }, + "end": { + "line": 7, + "column": 17 + } + } + }, + "range": [ + 94, + 104 + ], + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 17 + } + } + } + ], + "kind": "const", + "range": [ + 88, + 106 + ], + "loc": { + "start": { + "line": 7, + "column": 1 + }, + "end": { + "line": 7, + "column": 19 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "k", + "range": [ + 119, + 120 + ], + "loc": { + "start": { + "line": 9, + "column": 11 + }, + "end": { + "line": 9, + "column": 12 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 123, + 124 + ], + "loc": { + "start": { + "line": 9, + "column": 15 + }, + "end": { + "line": 9, + "column": 16 + } + } + }, + "range": [ + 119, + 124 + ], + "loc": { + "start": { + "line": 9, + "column": 11 + }, + "end": { + "line": 9, + "column": 16 + } + } + } + ], + "kind": "let", + "range": [ + 115, + 124 + ], + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 16 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 127, + 128 + ], + "loc": { + "start": { + "line": 9, + "column": 19 + }, + "end": { + "line": 9, + "column": 20 + } + } + }, + "right": { + "type": "Identifier", + "name": "n", + "range": [ + 131, + 132 + ], + "loc": { + "start": { + "line": 9, + "column": 23 + }, + "end": { + "line": 9, + "column": 24 + } + } + }, + "range": [ + 127, + 132 + ], + "loc": { + "start": { + "line": 9, + "column": 19 + }, + "end": { + "line": 9, + "column": 24 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "k", + "range": [ + 137, + 138 + ], + "loc": { + "start": { + "line": 9, + "column": 29 + }, + "end": { + "line": 9, + "column": 30 + } + } + }, + "prefix": true, + "range": [ + 135, + 138 + ], + "loc": { + "start": { + "line": 9, + "column": 27 + }, + "end": { + "line": 9, + "column": 30 + } + } + }, + "body": { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "data", + "range": [ + 141, + 145 + ], + "loc": { + "start": { + "line": 9, + "column": 33 + }, + "end": { + "line": 9, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 146, + 150 + ], + "loc": { + "start": { + "line": 9, + "column": 38 + }, + "end": { + "line": 9, + "column": 42 + } + } + }, + "range": [ + 141, + 150 + ], + "loc": { + "start": { + "line": 9, + "column": 33 + }, + "end": { + "line": 9, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_chr", + "range": [ + 152, + 156 + ], + "loc": { + "start": { + "line": 9, + "column": 44 + }, + "end": { + "line": 9, + "column": 48 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 158, + 159 + ], + "loc": { + "start": { + "line": 9, + "column": 50 + }, + "end": { + "line": 9, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "k", + "range": [ + 160, + 161 + ], + "loc": { + "start": { + "line": 9, + "column": 52 + }, + "end": { + "line": 9, + "column": 53 + } + } + }, + "range": [ + 158, + 162 + ], + "loc": { + "start": { + "line": 9, + "column": 50 + }, + "end": { + "line": 9, + "column": 54 + } + } + } + ], + "range": [ + 152, + 164 + ], + "loc": { + "start": { + "line": 9, + "column": 44 + }, + "end": { + "line": 9, + "column": 56 + } + } + } + ], + "range": [ + 141, + 166 + ], + "loc": { + "start": { + "line": 9, + "column": 33 + }, + "end": { + "line": 9, + "column": 58 + } + } + }, + "range": [ + 141, + 168 + ], + "loc": { + "start": { + "line": 9, + "column": 33 + }, + "end": { + "line": 9, + "column": 60 + } + } + }, + "range": [ + 109, + 168 + ], + "loc": { + "start": { + "line": 9, + "column": 1 + }, + "end": { + "line": 9, + "column": 60 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "data", + "range": [ + 178, + 182 + ], + "loc": { + "start": { + "line": 11, + "column": 8 + }, + "end": { + "line": 11, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "join", + "range": [ + 183, + 187 + ], + "loc": { + "start": { + "line": 11, + "column": 13 + }, + "end": { + "line": 11, + "column": 17 + } + } + }, + "range": [ + 178, + 187 + ], + "loc": { + "start": { + "line": 11, + "column": 8 + }, + "end": { + "line": 11, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 189, + 191 + ], + "loc": { + "start": { + "line": 11, + "column": 19 + }, + "end": { + "line": 11, + "column": 21 + } + } + } + ], + "range": [ + 178, + 193 + ], + "loc": { + "start": { + "line": 11, + "column": 8 + }, + "end": { + "line": 11, + "column": 23 + } + } + }, + "range": [ + 171, + 195 + ], + "loc": { + "start": { + "line": 11, + "column": 1 + }, + "end": { + "line": 11, + "column": 25 + } + } + } + ], + "range": [ + 61, + 198 + ], + "loc": { + "start": { + "line": 3, + "column": 33 + }, + "end": { + "line": 13, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 35, + 198 + ], + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 13, + "column": 1 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 28, + 198 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 13, + "column": 1 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 198 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 13, + "column": 1 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/convert/_trim_positive.js.json b/ast/source/1-new/convert/_trim_positive.js.json new file mode 100644 index 0000000..d6f9b03 --- /dev/null +++ b/ast/source/1-new/convert/_trim_positive.js.json @@ -0,0 +1,423 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "_trim_positive", + "range": [ + 17, + 31 + ], + "loc": { + "start": { + "line": 2, + "column": 16 + }, + "end": { + "line": 2, + "column": 30 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 34, + 35 + ], + "loc": { + "start": { + "line": 2, + "column": 33 + }, + "end": { + "line": 2, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 38, + 40 + ], + "loc": { + "start": { + "line": 2, + "column": 37 + }, + "end": { + "line": 2, + "column": 39 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 43, + 45 + ], + "loc": { + "start": { + "line": 2, + "column": 42 + }, + "end": { + "line": 2, + "column": 44 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "WhileStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 60, + 61 + ], + "loc": { + "start": { + "line": 4, + "column": 9 + }, + "end": { + "line": 4, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "name": "ai", + "range": [ + 62, + 64 + ], + "loc": { + "start": { + "line": 4, + "column": 11 + }, + "end": { + "line": 4, + "column": 13 + } + } + }, + "range": [ + 60, + 65 + ], + "loc": { + "start": { + "line": 4, + "column": 9 + }, + "end": { + "line": 4, + "column": 14 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 70, + 71 + ], + "loc": { + "start": { + "line": 4, + "column": 19 + }, + "end": { + "line": 4, + "column": 20 + } + } + }, + "range": [ + 60, + 71 + ], + "loc": { + "start": { + "line": 4, + "column": 9 + }, + "end": { + "line": 4, + "column": 20 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "ai", + "range": [ + 75, + 77 + ], + "loc": { + "start": { + "line": 4, + "column": 24 + }, + "end": { + "line": 4, + "column": 26 + } + } + }, + "right": { + "type": "Identifier", + "name": "aj", + "range": [ + 80, + 82 + ], + "loc": { + "start": { + "line": 4, + "column": 29 + }, + "end": { + "line": 4, + "column": 31 + } + } + }, + "range": [ + 75, + 82 + ], + "loc": { + "start": { + "line": 4, + "column": 24 + }, + "end": { + "line": 4, + "column": 31 + } + } + }, + "range": [ + 60, + 82 + ], + "loc": { + "start": { + "line": 4, + "column": 9 + }, + "end": { + "line": 4, + "column": 31 + } + } + }, + "body": { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "ai", + "range": [ + 87, + 89 + ], + "loc": { + "start": { + "line": 4, + "column": 36 + }, + "end": { + "line": 4, + "column": 38 + } + } + }, + "prefix": true, + "range": [ + 85, + 89 + ], + "loc": { + "start": { + "line": 4, + "column": 34 + }, + "end": { + "line": 4, + "column": 38 + } + } + }, + "range": [ + 85, + 91 + ], + "loc": { + "start": { + "line": 4, + "column": 34 + }, + "end": { + "line": 4, + "column": 40 + } + } + }, + "range": [ + 52, + 91 + ], + "loc": { + "start": { + "line": 4, + "column": 1 + }, + "end": { + "line": 4, + "column": 40 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "ai", + "range": [ + 101, + 103 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 10 + } + } + }, + "range": [ + 94, + 105 + ], + "loc": { + "start": { + "line": 6, + "column": 1 + }, + "end": { + "line": 6, + "column": 12 + } + } + } + ], + "range": [ + 48, + 108 + ], + "loc": { + "start": { + "line": 2, + "column": 47 + }, + "end": { + "line": 8, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 8, + 108 + ], + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 8, + "column": 1 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 1, + 108 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 8, + "column": 1 + } + } + } + ], + "sourceType": "module", + "range": [ + 1, + 108 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 8, + "column": 1 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/convert/_zeros.js.json b/ast/source/1-new/convert/_zeros.js.json new file mode 100644 index 0000000..a774171 --- /dev/null +++ b/ast/source/1-new/convert/_zeros.js.json @@ -0,0 +1,516 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_alloc", + "range": [ + 9, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_alloc", + "range": [ + 9, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "range": [ + 9, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_reset", + "range": [ + 18, + 24 + ], + "loc": { + "start": { + "line": 1, + "column": 18 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_reset", + "range": [ + 18, + 24 + ], + "loc": { + "start": { + "line": 1, + "column": 18 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + "range": [ + 18, + 24 + ], + "loc": { + "start": { + "line": 1, + "column": 18 + }, + "end": { + "line": 1, + "column": 24 + } + } + } + ], + "source": { + "type": "Literal", + "value": ".", + "raw": "'.'", + "range": [ + 32, + 35 + ], + "loc": { + "start": { + "line": 1, + "column": 32 + }, + "end": { + "line": 1, + "column": 35 + } + } + }, + "range": [ + 0, + 37 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 37 + } + } + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "_zeros", + "range": [ + 55, + 61 + ], + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 22 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "n", + "range": [ + 64, + 65 + ], + "loc": { + "start": { + "line": 3, + "column": 25 + }, + "end": { + "line": 3, + "column": 26 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "a", + "range": [ + 78, + 79 + ], + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 8 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_alloc", + "range": [ + 82, + 88 + ], + "loc": { + "start": { + "line": 5, + "column": 11 + }, + "end": { + "line": 5, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "n", + "range": [ + 90, + 91 + ], + "loc": { + "start": { + "line": 5, + "column": 19 + }, + "end": { + "line": 5, + "column": 20 + } + } + } + ], + "range": [ + 82, + 93 + ], + "loc": { + "start": { + "line": 5, + "column": 11 + }, + "end": { + "line": 5, + "column": 22 + } + } + }, + "range": [ + 78, + 93 + ], + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 22 + } + } + } + ], + "kind": "const", + "range": [ + 72, + 95 + ], + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 24 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_reset", + "range": [ + 98, + 104 + ], + "loc": { + "start": { + "line": 7, + "column": 1 + }, + "end": { + "line": 7, + "column": 7 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 106, + 107 + ], + "loc": { + "start": { + "line": 7, + "column": 9 + }, + "end": { + "line": 7, + "column": 10 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 110, + 111 + ], + "loc": { + "start": { + "line": 7, + "column": 13 + }, + "end": { + "line": 7, + "column": 14 + } + } + }, + { + "type": "Identifier", + "name": "n", + "range": [ + 114, + 115 + ], + "loc": { + "start": { + "line": 7, + "column": 17 + }, + "end": { + "line": 7, + "column": 18 + } + } + } + ], + "range": [ + 98, + 117 + ], + "loc": { + "start": { + "line": 7, + "column": 1 + }, + "end": { + "line": 7, + "column": 20 + } + } + }, + "range": [ + 98, + 119 + ], + "loc": { + "start": { + "line": 7, + "column": 1 + }, + "end": { + "line": 7, + "column": 22 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "a", + "range": [ + 129, + 130 + ], + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 9 + } + } + }, + "range": [ + 122, + 132 + ], + "loc": { + "start": { + "line": 9, + "column": 1 + }, + "end": { + "line": 9, + "column": 11 + } + } + } + ], + "range": [ + 68, + 135 + ], + "loc": { + "start": { + "line": 3, + "column": 29 + }, + "end": { + "line": 11, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 46, + 135 + ], + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 11, + "column": 1 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 39, + 135 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 11, + "column": 1 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 135 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 11, + "column": 1 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/convert/convert.js.json b/ast/source/1-new/convert/convert.js.json new file mode 100644 index 0000000..73bd4b1 --- /dev/null +++ b/ast/source/1-new/convert/convert.js.json @@ -0,0 +1,661 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "convert_keep_zeros", + "range": [ + 9, + 27 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 27 + } + } + }, + "imported": { + "type": "Identifier", + "name": "convert_keep_zeros", + "range": [ + 9, + 27 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 27 + } + } + }, + "range": [ + 9, + 27 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 27 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "trim_natural", + "range": [ + 30, + 42 + ], + "loc": { + "start": { + "line": 1, + "column": 30 + }, + "end": { + "line": 1, + "column": 42 + } + } + }, + "imported": { + "type": "Identifier", + "name": "trim_natural", + "range": [ + 30, + 42 + ], + "loc": { + "start": { + "line": 1, + "column": 30 + }, + "end": { + "line": 1, + "column": 42 + } + } + }, + "range": [ + 30, + 42 + ], + "loc": { + "start": { + "line": 1, + "column": 30 + }, + "end": { + "line": 1, + "column": 42 + } + } + } + ], + "source": { + "type": "Literal", + "value": ".", + "raw": "'.'", + "range": [ + 50, + 53 + ], + "loc": { + "start": { + "line": 1, + "column": 50 + }, + "end": { + "line": 1, + "column": 53 + } + } + }, + "range": [ + 0, + 55 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 55 + } + } + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "convert", + "range": [ + 73, + 80 + ], + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 23 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "f", + "range": [ + 83, + 84 + ], + "loc": { + "start": { + "line": 3, + "column": 26 + }, + "end": { + "line": 3, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 87, + 88 + ], + "loc": { + "start": { + "line": 3, + "column": 30 + }, + "end": { + "line": 3, + "column": 31 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 91, + 92 + ], + "loc": { + "start": { + "line": 3, + "column": 34 + }, + "end": { + "line": 3, + "column": 35 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 95, + 97 + ], + "loc": { + "start": { + "line": 3, + "column": 38 + }, + "end": { + "line": 3, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 100, + 102 + ], + "loc": { + "start": { + "line": 3, + "column": 43 + }, + "end": { + "line": 3, + "column": 45 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "b", + "range": [ + 115, + 116 + ], + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 8 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "convert_keep_zeros", + "range": [ + 119, + 137 + ], + "loc": { + "start": { + "line": 5, + "column": 11 + }, + "end": { + "line": 5, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "f", + "range": [ + 139, + 140 + ], + "loc": { + "start": { + "line": 5, + "column": 31 + }, + "end": { + "line": 5, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 143, + 144 + ], + "loc": { + "start": { + "line": 5, + "column": 35 + }, + "end": { + "line": 5, + "column": 36 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 147, + 148 + ], + "loc": { + "start": { + "line": 5, + "column": 39 + }, + "end": { + "line": 5, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 151, + 153 + ], + "loc": { + "start": { + "line": 5, + "column": 43 + }, + "end": { + "line": 5, + "column": 45 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 156, + 158 + ], + "loc": { + "start": { + "line": 5, + "column": 48 + }, + "end": { + "line": 5, + "column": 50 + } + } + } + ], + "range": [ + 119, + 160 + ], + "loc": { + "start": { + "line": 5, + "column": 11 + }, + "end": { + "line": 5, + "column": 52 + } + } + }, + "range": [ + 115, + 160 + ], + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 52 + } + } + } + ], + "kind": "const", + "range": [ + 109, + 162 + ], + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 54 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "trim_natural", + "range": [ + 172, + 184 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 20 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "b", + "range": [ + 186, + 187 + ], + "loc": { + "start": { + "line": 7, + "column": 22 + }, + "end": { + "line": 7, + "column": 23 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 190, + 191 + ], + "loc": { + "start": { + "line": 7, + "column": 26 + }, + "end": { + "line": 7, + "column": 27 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 194, + 195 + ], + "loc": { + "start": { + "line": 7, + "column": 30 + }, + "end": { + "line": 7, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 196, + 202 + ], + "loc": { + "start": { + "line": 7, + "column": 32 + }, + "end": { + "line": 7, + "column": 38 + } + } + }, + "range": [ + 194, + 202 + ], + "loc": { + "start": { + "line": 7, + "column": 30 + }, + "end": { + "line": 7, + "column": 38 + } + } + } + ], + "range": [ + 172, + 204 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 40 + } + } + }, + "range": [ + 165, + 206 + ], + "loc": { + "start": { + "line": 7, + "column": 1 + }, + "end": { + "line": 7, + "column": 42 + } + } + } + ], + "range": [ + 105, + 209 + ], + "loc": { + "start": { + "line": 3, + "column": 48 + }, + "end": { + "line": 9, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 64, + 209 + ], + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 9, + "column": 1 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 57, + 209 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 9, + "column": 1 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 209 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 9, + "column": 1 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/convert/convert_keep_zeros.js.json b/ast/source/1-new/convert/convert_keep_zeros.js.json new file mode 100644 index 0000000..80608dc --- /dev/null +++ b/ast/source/1-new/convert/convert_keep_zeros.js.json @@ -0,0 +1,1187 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_zeros", + "range": [ + 9, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_zeros", + "range": [ + 9, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "range": [ + 9, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_convert", + "range": [ + 18, + 26 + ], + "loc": { + "start": { + "line": 1, + "column": 18 + }, + "end": { + "line": 1, + "column": 26 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_convert", + "range": [ + 18, + 26 + ], + "loc": { + "start": { + "line": 1, + "column": 18 + }, + "end": { + "line": 1, + "column": 26 + } + } + }, + "range": [ + 18, + 26 + ], + "loc": { + "start": { + "line": 1, + "column": 18 + }, + "end": { + "line": 1, + "column": 26 + } + } + } + ], + "source": { + "type": "Literal", + "value": ".", + "raw": "'.'", + "range": [ + 34, + 37 + ], + "loc": { + "start": { + "line": 1, + "column": 34 + }, + "end": { + "line": 1, + "column": 37 + } + } + }, + "range": [ + 0, + 39 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 39 + } + } + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "convert_keep_zeros", + "range": [ + 57, + 75 + ], + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 34 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "f", + "range": [ + 78, + 79 + ], + "loc": { + "start": { + "line": 3, + "column": 37 + }, + "end": { + "line": 3, + "column": 38 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 82, + 83 + ], + "loc": { + "start": { + "line": 3, + "column": 41 + }, + "end": { + "line": 3, + "column": 42 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 86, + 87 + ], + "loc": { + "start": { + "line": 3, + "column": 45 + }, + "end": { + "line": 3, + "column": 46 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 90, + 92 + ], + "loc": { + "start": { + "line": 3, + "column": 49 + }, + "end": { + "line": 3, + "column": 51 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 95, + 97 + ], + "loc": { + "start": { + "line": 3, + "column": 54 + }, + "end": { + "line": 3, + "column": 56 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "bi", + "range": [ + 110, + 112 + ], + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 9 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 115, + 116 + ], + "loc": { + "start": { + "line": 5, + "column": 12 + }, + "end": { + "line": 5, + "column": 13 + } + } + }, + "range": [ + 110, + 116 + ], + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 13 + } + } + } + ], + "kind": "const", + "range": [ + 104, + 118 + ], + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 15 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "bj", + "range": [ + 126, + 128 + ], + "loc": { + "start": { + "line": 6, + "column": 7 + }, + "end": { + "line": 6, + "column": 9 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Math", + "range": [ + 131, + 135 + ], + "loc": { + "start": { + "line": 6, + "column": 12 + }, + "end": { + "line": 6, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "ceil", + "range": [ + 136, + 140 + ], + "loc": { + "start": { + "line": 6, + "column": 17 + }, + "end": { + "line": 6, + "column": 21 + } + } + }, + "range": [ + 131, + 140 + ], + "loc": { + "start": { + "line": 6, + "column": 12 + }, + "end": { + "line": 6, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "*", + "left": { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Math", + "range": [ + 142, + 146 + ], + "loc": { + "start": { + "line": 6, + "column": 23 + }, + "end": { + "line": 6, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "log", + "range": [ + 147, + 150 + ], + "loc": { + "start": { + "line": 6, + "column": 28 + }, + "end": { + "line": 6, + "column": 31 + } + } + }, + "range": [ + 142, + 150 + ], + "loc": { + "start": { + "line": 6, + "column": 23 + }, + "end": { + "line": 6, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "f", + "range": [ + 152, + 153 + ], + "loc": { + "start": { + "line": 6, + "column": 33 + }, + "end": { + "line": 6, + "column": 34 + } + } + } + ], + "range": [ + 142, + 155 + ], + "loc": { + "start": { + "line": 6, + "column": 23 + }, + "end": { + "line": 6, + "column": 36 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Math", + "range": [ + 158, + 162 + ], + "loc": { + "start": { + "line": 6, + "column": 39 + }, + "end": { + "line": 6, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "log", + "range": [ + 163, + 166 + ], + "loc": { + "start": { + "line": 6, + "column": 44 + }, + "end": { + "line": 6, + "column": 47 + } + } + }, + "range": [ + 158, + 166 + ], + "loc": { + "start": { + "line": 6, + "column": 39 + }, + "end": { + "line": 6, + "column": 47 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "t", + "range": [ + 168, + 169 + ], + "loc": { + "start": { + "line": 6, + "column": 49 + }, + "end": { + "line": 6, + "column": 50 + } + } + } + ], + "range": [ + 158, + 171 + ], + "loc": { + "start": { + "line": 6, + "column": 39 + }, + "end": { + "line": 6, + "column": 52 + } + } + }, + "range": [ + 142, + 171 + ], + "loc": { + "start": { + "line": 6, + "column": 23 + }, + "end": { + "line": 6, + "column": 52 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "aj", + "range": [ + 176, + 178 + ], + "loc": { + "start": { + "line": 6, + "column": 57 + }, + "end": { + "line": 6, + "column": 59 + } + } + }, + "right": { + "type": "Identifier", + "name": "ai", + "range": [ + 181, + 183 + ], + "loc": { + "start": { + "line": 6, + "column": 62 + }, + "end": { + "line": 6, + "column": 64 + } + } + }, + "range": [ + 176, + 183 + ], + "loc": { + "start": { + "line": 6, + "column": 57 + }, + "end": { + "line": 6, + "column": 64 + } + } + }, + "range": [ + 142, + 185 + ], + "loc": { + "start": { + "line": 6, + "column": 23 + }, + "end": { + "line": 6, + "column": 66 + } + } + } + ], + "range": [ + 131, + 187 + ], + "loc": { + "start": { + "line": 6, + "column": 12 + }, + "end": { + "line": 6, + "column": 68 + } + } + }, + "range": [ + 126, + 187 + ], + "loc": { + "start": { + "line": 6, + "column": 7 + }, + "end": { + "line": 6, + "column": 68 + } + } + } + ], + "kind": "const", + "range": [ + 120, + 189 + ], + "loc": { + "start": { + "line": 6, + "column": 1 + }, + "end": { + "line": 6, + "column": 70 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "b", + "range": [ + 197, + 198 + ], + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 8 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_zeros", + "range": [ + 201, + 207 + ], + "loc": { + "start": { + "line": 7, + "column": 11 + }, + "end": { + "line": 7, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "bj", + "range": [ + 209, + 211 + ], + "loc": { + "start": { + "line": 7, + "column": 19 + }, + "end": { + "line": 7, + "column": 21 + } + } + }, + "right": { + "type": "Identifier", + "name": "bi", + "range": [ + 214, + 216 + ], + "loc": { + "start": { + "line": 7, + "column": 24 + }, + "end": { + "line": 7, + "column": 26 + } + } + }, + "range": [ + 209, + 216 + ], + "loc": { + "start": { + "line": 7, + "column": 19 + }, + "end": { + "line": 7, + "column": 26 + } + } + } + ], + "range": [ + 201, + 218 + ], + "loc": { + "start": { + "line": 7, + "column": 11 + }, + "end": { + "line": 7, + "column": 28 + } + } + }, + "range": [ + 197, + 218 + ], + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 28 + } + } + } + ], + "kind": "const", + "range": [ + 191, + 220 + ], + "loc": { + "start": { + "line": 7, + "column": 1 + }, + "end": { + "line": 7, + "column": 30 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_convert", + "range": [ + 223, + 231 + ], + "loc": { + "start": { + "line": 9, + "column": 1 + }, + "end": { + "line": 9, + "column": 9 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "f", + "range": [ + 233, + 234 + ], + "loc": { + "start": { + "line": 9, + "column": 11 + }, + "end": { + "line": 9, + "column": 12 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 237, + 238 + ], + "loc": { + "start": { + "line": 9, + "column": 15 + }, + "end": { + "line": 9, + "column": 16 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 241, + 242 + ], + "loc": { + "start": { + "line": 9, + "column": 19 + }, + "end": { + "line": 9, + "column": 20 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 245, + 247 + ], + "loc": { + "start": { + "line": 9, + "column": 23 + }, + "end": { + "line": 9, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 250, + 252 + ], + "loc": { + "start": { + "line": 9, + "column": 28 + }, + "end": { + "line": 9, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 255, + 256 + ], + "loc": { + "start": { + "line": 9, + "column": 33 + }, + "end": { + "line": 9, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "bi", + "range": [ + 259, + 261 + ], + "loc": { + "start": { + "line": 9, + "column": 37 + }, + "end": { + "line": 9, + "column": 39 + } + } + }, + { + "type": "Identifier", + "name": "bj", + "range": [ + 264, + 266 + ], + "loc": { + "start": { + "line": 9, + "column": 42 + }, + "end": { + "line": 9, + "column": 44 + } + } + } + ], + "range": [ + 223, + 268 + ], + "loc": { + "start": { + "line": 9, + "column": 1 + }, + "end": { + "line": 9, + "column": 46 + } + } + }, + "range": [ + 223, + 270 + ], + "loc": { + "start": { + "line": 9, + "column": 1 + }, + "end": { + "line": 9, + "column": 48 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "b", + "range": [ + 280, + 281 + ], + "loc": { + "start": { + "line": 11, + "column": 8 + }, + "end": { + "line": 11, + "column": 9 + } + } + }, + "range": [ + 273, + 283 + ], + "loc": { + "start": { + "line": 11, + "column": 1 + }, + "end": { + "line": 11, + "column": 11 + } + } + } + ], + "range": [ + 100, + 286 + ], + "loc": { + "start": { + "line": 3, + "column": 59 + }, + "end": { + "line": 13, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 48, + 286 + ], + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 13, + "column": 1 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 41, + 286 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 13, + "column": 1 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 286 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 13, + "column": 1 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/convert/index.js.json b/ast/source/1-new/convert/index.js.json new file mode 100644 index 0000000..febe077 --- /dev/null +++ b/ast/source/1-new/convert/index.js.json @@ -0,0 +1,885 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./_alloc", + "raw": "'./_alloc'", + "range": [ + 14, + 24 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + "range": [ + 0, + 26 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 26 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./_build", + "raw": "'./_build'", + "range": [ + 41, + 51 + ], + "loc": { + "start": { + "line": 2, + "column": 14 + }, + "end": { + "line": 2, + "column": 24 + } + } + }, + "range": [ + 27, + 53 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 26 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./_chr", + "raw": "'./_chr'", + "range": [ + 68, + 76 + ], + "loc": { + "start": { + "line": 3, + "column": 14 + }, + "end": { + "line": 3, + "column": 22 + } + } + }, + "range": [ + 54, + 78 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 24 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./_convert", + "raw": "'./_convert'", + "range": [ + 93, + 105 + ], + "loc": { + "start": { + "line": 4, + "column": 14 + }, + "end": { + "line": 4, + "column": 26 + } + } + }, + "range": [ + 79, + 107 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 28 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./_convert_slow", + "raw": "'./_convert_slow'", + "range": [ + 122, + 139 + ], + "loc": { + "start": { + "line": 5, + "column": 14 + }, + "end": { + "line": 5, + "column": 31 + } + } + }, + "range": [ + 108, + 141 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 33 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./_convert_to_larger", + "raw": "'./_convert_to_larger'", + "range": [ + 156, + 178 + ], + "loc": { + "start": { + "line": 6, + "column": 14 + }, + "end": { + "line": 6, + "column": 36 + } + } + }, + "range": [ + 142, + 180 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 38 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./_convert_to_larger_fast", + "raw": "'./_convert_to_larger_fast'", + "range": [ + 195, + 222 + ], + "loc": { + "start": { + "line": 7, + "column": 14 + }, + "end": { + "line": 7, + "column": 41 + } + } + }, + "range": [ + 181, + 224 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 43 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./_convert_to_smaller", + "raw": "'./_convert_to_smaller'", + "range": [ + 239, + 262 + ], + "loc": { + "start": { + "line": 8, + "column": 14 + }, + "end": { + "line": 8, + "column": 37 + } + } + }, + "range": [ + 225, + 264 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 39 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./_convert_to_smaller_fast", + "raw": "'./_convert_to_smaller_fast'", + "range": [ + 279, + 307 + ], + "loc": { + "start": { + "line": 9, + "column": 14 + }, + "end": { + "line": 9, + "column": 42 + } + } + }, + "range": [ + 265, + 309 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 44 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./_copy", + "raw": "'./_copy'", + "range": [ + 324, + 333 + ], + "loc": { + "start": { + "line": 10, + "column": 14 + }, + "end": { + "line": 10, + "column": 23 + } + } + }, + "range": [ + 310, + 335 + ], + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 25 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./_fill", + "raw": "'./_fill'", + "range": [ + 350, + 359 + ], + "loc": { + "start": { + "line": 11, + "column": 14 + }, + "end": { + "line": 11, + "column": 23 + } + } + }, + "range": [ + 336, + 361 + ], + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 25 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./_int", + "raw": "'./_int'", + "range": [ + 376, + 384 + ], + "loc": { + "start": { + "line": 12, + "column": 14 + }, + "end": { + "line": 12, + "column": 22 + } + } + }, + "range": [ + 362, + 386 + ], + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 12, + "column": 24 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./_log", + "raw": "'./_log'", + "range": [ + 401, + 409 + ], + "loc": { + "start": { + "line": 13, + "column": 14 + }, + "end": { + "line": 13, + "column": 22 + } + } + }, + "range": [ + 387, + 411 + ], + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 13, + "column": 24 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./_reset", + "raw": "'./_reset'", + "range": [ + 426, + 436 + ], + "loc": { + "start": { + "line": 14, + "column": 14 + }, + "end": { + "line": 14, + "column": 24 + } + } + }, + "range": [ + 412, + 438 + ], + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 14, + "column": 26 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./_to_string", + "raw": "'./_to_string'", + "range": [ + 453, + 467 + ], + "loc": { + "start": { + "line": 15, + "column": 14 + }, + "end": { + "line": 15, + "column": 28 + } + } + }, + "range": [ + 439, + 469 + ], + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 15, + "column": 30 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./_trim_positive", + "raw": "'./_trim_positive'", + "range": [ + 484, + 502 + ], + "loc": { + "start": { + "line": 16, + "column": 14 + }, + "end": { + "line": 16, + "column": 32 + } + } + }, + "range": [ + 470, + 504 + ], + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 16, + "column": 34 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./_zeros", + "raw": "'./_zeros'", + "range": [ + 519, + 529 + ], + "loc": { + "start": { + "line": 17, + "column": 14 + }, + "end": { + "line": 17, + "column": 24 + } + } + }, + "range": [ + 505, + 531 + ], + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 26 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./convert", + "raw": "'./convert'", + "range": [ + 546, + 557 + ], + "loc": { + "start": { + "line": 18, + "column": 14 + }, + "end": { + "line": 18, + "column": 25 + } + } + }, + "range": [ + 532, + 559 + ], + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 27 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./convert_keep_zeros", + "raw": "'./convert_keep_zeros'", + "range": [ + 574, + 596 + ], + "loc": { + "start": { + "line": 19, + "column": 14 + }, + "end": { + "line": 19, + "column": 36 + } + } + }, + "range": [ + 560, + 598 + ], + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 38 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./parse", + "raw": "'./parse'", + "range": [ + 613, + 622 + ], + "loc": { + "start": { + "line": 20, + "column": 14 + }, + "end": { + "line": 20, + "column": 23 + } + } + }, + "range": [ + 599, + 624 + ], + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 25 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./parse_keep_zeros", + "raw": "'./parse_keep_zeros'", + "range": [ + 639, + 659 + ], + "loc": { + "start": { + "line": 21, + "column": 14 + }, + "end": { + "line": 21, + "column": 34 + } + } + }, + "range": [ + 625, + 661 + ], + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 21, + "column": 36 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./stringify", + "raw": "'./stringify'", + "range": [ + 676, + 689 + ], + "loc": { + "start": { + "line": 22, + "column": 14 + }, + "end": { + "line": 22, + "column": 27 + } + } + }, + "range": [ + 662, + 691 + ], + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 22, + "column": 29 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./stringify_keep_zeros", + "raw": "'./stringify_keep_zeros'", + "range": [ + 706, + 730 + ], + "loc": { + "start": { + "line": 23, + "column": 14 + }, + "end": { + "line": 23, + "column": 38 + } + } + }, + "range": [ + 692, + 732 + ], + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 23, + "column": 40 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./trim_natural", + "raw": "'./trim_natural'", + "range": [ + 747, + 763 + ], + "loc": { + "start": { + "line": 24, + "column": 14 + }, + "end": { + "line": 24, + "column": 30 + } + } + }, + "range": [ + 733, + 765 + ], + "loc": { + "start": { + "line": 24, + "column": 0 + }, + "end": { + "line": 24, + "column": 32 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 765 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 24, + "column": 32 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/convert/parse.js.json b/ast/source/1-new/convert/parse.js.json new file mode 100644 index 0000000..e973f86 --- /dev/null +++ b/ast/source/1-new/convert/parse.js.json @@ -0,0 +1,589 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "parse_keep_zeros", + "range": [ + 9, + 25 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + "imported": { + "type": "Identifier", + "name": "parse_keep_zeros", + "range": [ + 9, + 25 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + "range": [ + 9, + 25 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "trim_natural", + "range": [ + 28, + 40 + ], + "loc": { + "start": { + "line": 1, + "column": 28 + }, + "end": { + "line": 1, + "column": 40 + } + } + }, + "imported": { + "type": "Identifier", + "name": "trim_natural", + "range": [ + 28, + 40 + ], + "loc": { + "start": { + "line": 1, + "column": 28 + }, + "end": { + "line": 1, + "column": 40 + } + } + }, + "range": [ + 28, + 40 + ], + "loc": { + "start": { + "line": 1, + "column": 28 + }, + "end": { + "line": 1, + "column": 40 + } + } + } + ], + "source": { + "type": "Literal", + "value": ".", + "raw": "'.'", + "range": [ + 48, + 51 + ], + "loc": { + "start": { + "line": 1, + "column": 48 + }, + "end": { + "line": 1, + "column": 51 + } + } + }, + "range": [ + 0, + 53 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 53 + } + } + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "parse", + "range": [ + 71, + 76 + ], + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 21 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "f", + "range": [ + 79, + 80 + ], + "loc": { + "start": { + "line": 3, + "column": 24 + }, + "end": { + "line": 3, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 83, + 84 + ], + "loc": { + "start": { + "line": 3, + "column": 28 + }, + "end": { + "line": 3, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "string", + "range": [ + 87, + 93 + ], + "loc": { + "start": { + "line": 3, + "column": 32 + }, + "end": { + "line": 3, + "column": 38 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "b", + "range": [ + 106, + 107 + ], + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 8 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parse_keep_zeros", + "range": [ + 110, + 126 + ], + "loc": { + "start": { + "line": 5, + "column": 11 + }, + "end": { + "line": 5, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "f", + "range": [ + 128, + 129 + ], + "loc": { + "start": { + "line": 5, + "column": 29 + }, + "end": { + "line": 5, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 132, + 133 + ], + "loc": { + "start": { + "line": 5, + "column": 33 + }, + "end": { + "line": 5, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "string", + "range": [ + 136, + 142 + ], + "loc": { + "start": { + "line": 5, + "column": 37 + }, + "end": { + "line": 5, + "column": 43 + } + } + } + ], + "range": [ + 110, + 144 + ], + "loc": { + "start": { + "line": 5, + "column": 11 + }, + "end": { + "line": 5, + "column": 45 + } + } + }, + "range": [ + 106, + 144 + ], + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 45 + } + } + } + ], + "kind": "const", + "range": [ + 100, + 146 + ], + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 47 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "trim_natural", + "range": [ + 156, + 168 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 20 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "b", + "range": [ + 170, + 171 + ], + "loc": { + "start": { + "line": 7, + "column": 22 + }, + "end": { + "line": 7, + "column": 23 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 174, + 175 + ], + "loc": { + "start": { + "line": 7, + "column": 26 + }, + "end": { + "line": 7, + "column": 27 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 178, + 179 + ], + "loc": { + "start": { + "line": 7, + "column": 30 + }, + "end": { + "line": 7, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 180, + 186 + ], + "loc": { + "start": { + "line": 7, + "column": 32 + }, + "end": { + "line": 7, + "column": 38 + } + } + }, + "range": [ + 178, + 186 + ], + "loc": { + "start": { + "line": 7, + "column": 30 + }, + "end": { + "line": 7, + "column": 38 + } + } + } + ], + "range": [ + 156, + 188 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 40 + } + } + }, + "range": [ + 149, + 190 + ], + "loc": { + "start": { + "line": 7, + "column": 1 + }, + "end": { + "line": 7, + "column": 42 + } + } + } + ], + "range": [ + 96, + 193 + ], + "loc": { + "start": { + "line": 3, + "column": 41 + }, + "end": { + "line": 9, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 62, + 193 + ], + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 9, + "column": 1 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 55, + 193 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 9, + "column": 1 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 193 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 9, + "column": 1 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/convert/parse_keep_zeros.js.json b/ast/source/1-new/convert/parse_keep_zeros.js.json new file mode 100644 index 0000000..b19d973 --- /dev/null +++ b/ast/source/1-new/convert/parse_keep_zeros.js.json @@ -0,0 +1,1097 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_int", + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_int", + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + "range": [ + 9, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "convert_keep_zeros", + "range": [ + 16, + 34 + ], + "loc": { + "start": { + "line": 1, + "column": 16 + }, + "end": { + "line": 1, + "column": 34 + } + } + }, + "imported": { + "type": "Identifier", + "name": "convert_keep_zeros", + "range": [ + 16, + 34 + ], + "loc": { + "start": { + "line": 1, + "column": 16 + }, + "end": { + "line": 1, + "column": 34 + } + } + }, + "range": [ + 16, + 34 + ], + "loc": { + "start": { + "line": 1, + "column": 16 + }, + "end": { + "line": 1, + "column": 34 + } + } + } + ], + "source": { + "type": "Literal", + "value": ".", + "raw": "'.'", + "range": [ + 42, + 45 + ], + "loc": { + "start": { + "line": 1, + "column": 42 + }, + "end": { + "line": 1, + "column": 45 + } + } + }, + "range": [ + 0, + 47 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 47 + } + } + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "parse_keep_zeros", + "range": [ + 65, + 81 + ], + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 32 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "f", + "range": [ + 84, + 85 + ], + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 36 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 88, + 89 + ], + "loc": { + "start": { + "line": 3, + "column": 39 + }, + "end": { + "line": 3, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "string", + "range": [ + 92, + 98 + ], + "loc": { + "start": { + "line": 3, + "column": 43 + }, + "end": { + "line": 3, + "column": 49 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "Identifier", + "name": "f", + "range": [ + 110, + 111 + ], + "loc": { + "start": { + "line": 5, + "column": 6 + }, + "end": { + "line": 5, + "column": 7 + } + } + }, + "right": { + "type": "Literal", + "value": 36, + "raw": "36", + "range": [ + 114, + 116 + ], + "loc": { + "start": { + "line": 5, + "column": 10 + }, + "end": { + "line": 5, + "column": 12 + } + } + }, + "range": [ + 110, + 116 + ], + "loc": { + "start": { + "line": 5, + "column": 6 + }, + "end": { + "line": 5, + "column": 12 + } + } + }, + "consequent": { + "type": "ThrowStatement", + "argument": { + "type": "Literal", + "value": "f > 36 not implemented", + "raw": "'f > 36 not implemented'", + "range": [ + 125, + 149 + ], + "loc": { + "start": { + "line": 5, + "column": 21 + }, + "end": { + "line": 5, + "column": 45 + } + } + }, + "range": [ + 119, + 151 + ], + "loc": { + "start": { + "line": 5, + "column": 15 + }, + "end": { + "line": 5, + "column": 47 + } + } + }, + "alternate": null, + "range": [ + 105, + 151 + ], + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 47 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "n", + "range": [ + 160, + 161 + ], + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 8 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "string", + "range": [ + 164, + 170 + ], + "loc": { + "start": { + "line": 7, + "column": 11 + }, + "end": { + "line": 7, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 171, + 177 + ], + "loc": { + "start": { + "line": 7, + "column": 18 + }, + "end": { + "line": 7, + "column": 24 + } + } + }, + "range": [ + 164, + 177 + ], + "loc": { + "start": { + "line": 7, + "column": 11 + }, + "end": { + "line": 7, + "column": 24 + } + } + }, + "range": [ + 160, + 177 + ], + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 24 + } + } + } + ], + "kind": "const", + "range": [ + 154, + 179 + ], + "loc": { + "start": { + "line": 7, + "column": 1 + }, + "end": { + "line": 7, + "column": 26 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "a", + "range": [ + 188, + 189 + ], + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 8 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 192, + 195 + ], + "loc": { + "start": { + "line": 9, + "column": 11 + }, + "end": { + "line": 9, + "column": 14 + } + } + }, + "range": [ + 188, + 195 + ], + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 14 + } + } + } + ], + "kind": "const", + "range": [ + 182, + 197 + ], + "loc": { + "start": { + "line": 9, + "column": 1 + }, + "end": { + "line": 9, + "column": 16 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "k", + "range": [ + 210, + 211 + ], + "loc": { + "start": { + "line": 11, + "column": 11 + }, + "end": { + "line": 11, + "column": 12 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 214, + 215 + ], + "loc": { + "start": { + "line": 11, + "column": 15 + }, + "end": { + "line": 11, + "column": 16 + } + } + }, + "range": [ + 210, + 215 + ], + "loc": { + "start": { + "line": 11, + "column": 11 + }, + "end": { + "line": 11, + "column": 16 + } + } + } + ], + "kind": "let", + "range": [ + 206, + 215 + ], + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 11, + "column": 16 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 218, + 219 + ], + "loc": { + "start": { + "line": 11, + "column": 19 + }, + "end": { + "line": 11, + "column": 20 + } + } + }, + "right": { + "type": "Identifier", + "name": "n", + "range": [ + 222, + 223 + ], + "loc": { + "start": { + "line": 11, + "column": 23 + }, + "end": { + "line": 11, + "column": 24 + } + } + }, + "range": [ + 218, + 223 + ], + "loc": { + "start": { + "line": 11, + "column": 19 + }, + "end": { + "line": 11, + "column": 24 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "k", + "range": [ + 228, + 229 + ], + "loc": { + "start": { + "line": 11, + "column": 29 + }, + "end": { + "line": 11, + "column": 30 + } + } + }, + "prefix": true, + "range": [ + 226, + 229 + ], + "loc": { + "start": { + "line": 11, + "column": 27 + }, + "end": { + "line": 11, + "column": 30 + } + } + }, + "body": { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 232, + 233 + ], + "loc": { + "start": { + "line": 11, + "column": 33 + }, + "end": { + "line": 11, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 234, + 238 + ], + "loc": { + "start": { + "line": 11, + "column": 35 + }, + "end": { + "line": 11, + "column": 39 + } + } + }, + "range": [ + 232, + 238 + ], + "loc": { + "start": { + "line": 11, + "column": 33 + }, + "end": { + "line": 11, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_int", + "range": [ + 240, + 244 + ], + "loc": { + "start": { + "line": 11, + "column": 41 + }, + "end": { + "line": 11, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "string", + "range": [ + 246, + 252 + ], + "loc": { + "start": { + "line": 11, + "column": 47 + }, + "end": { + "line": 11, + "column": 53 + } + } + }, + "property": { + "type": "Identifier", + "name": "k", + "range": [ + 253, + 254 + ], + "loc": { + "start": { + "line": 11, + "column": 54 + }, + "end": { + "line": 11, + "column": 55 + } + } + }, + "range": [ + 246, + 255 + ], + "loc": { + "start": { + "line": 11, + "column": 47 + }, + "end": { + "line": 11, + "column": 56 + } + } + } + ], + "range": [ + 240, + 257 + ], + "loc": { + "start": { + "line": 11, + "column": 41 + }, + "end": { + "line": 11, + "column": 58 + } + } + } + ], + "range": [ + 232, + 259 + ], + "loc": { + "start": { + "line": 11, + "column": 33 + }, + "end": { + "line": 11, + "column": 60 + } + } + }, + "range": [ + 232, + 261 + ], + "loc": { + "start": { + "line": 11, + "column": 33 + }, + "end": { + "line": 11, + "column": 62 + } + } + }, + "range": [ + 200, + 261 + ], + "loc": { + "start": { + "line": 11, + "column": 1 + }, + "end": { + "line": 11, + "column": 62 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "convert_keep_zeros", + "range": [ + 271, + 289 + ], + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "f", + "range": [ + 291, + 292 + ], + "loc": { + "start": { + "line": 13, + "column": 28 + }, + "end": { + "line": 13, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 295, + 296 + ], + "loc": { + "start": { + "line": 13, + "column": 32 + }, + "end": { + "line": 13, + "column": 33 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 299, + 300 + ], + "loc": { + "start": { + "line": 13, + "column": 36 + }, + "end": { + "line": 13, + "column": 37 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 303, + 304 + ], + "loc": { + "start": { + "line": 13, + "column": 40 + }, + "end": { + "line": 13, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "n", + "range": [ + 307, + 308 + ], + "loc": { + "start": { + "line": 13, + "column": 44 + }, + "end": { + "line": 13, + "column": 45 + } + } + } + ], + "range": [ + 271, + 310 + ], + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 47 + } + } + }, + "range": [ + 264, + 312 + ], + "loc": { + "start": { + "line": 13, + "column": 1 + }, + "end": { + "line": 13, + "column": 49 + } + } + } + ], + "range": [ + 101, + 315 + ], + "loc": { + "start": { + "line": 3, + "column": 52 + }, + "end": { + "line": 15, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 56, + 315 + ], + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 15, + "column": 1 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 49, + 315 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 15, + "column": 1 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 315 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 15, + "column": 1 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/convert/stringify.js.json b/ast/source/1-new/convert/stringify.js.json new file mode 100644 index 0000000..84d352e --- /dev/null +++ b/ast/source/1-new/convert/stringify.js.json @@ -0,0 +1,697 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "convert", + "range": [ + 9, + 16 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 16 + } + } + }, + "imported": { + "type": "Identifier", + "name": "convert", + "range": [ + 9, + 16 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 16 + } + } + }, + "range": [ + 9, + 16 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 16 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_to_string", + "range": [ + 19, + 29 + ], + "loc": { + "start": { + "line": 1, + "column": 19 + }, + "end": { + "line": 1, + "column": 29 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_to_string", + "range": [ + 19, + 29 + ], + "loc": { + "start": { + "line": 1, + "column": 19 + }, + "end": { + "line": 1, + "column": 29 + } + } + }, + "range": [ + 19, + 29 + ], + "loc": { + "start": { + "line": 1, + "column": 19 + }, + "end": { + "line": 1, + "column": 29 + } + } + } + ], + "source": { + "type": "Literal", + "value": ".", + "raw": "'.'", + "range": [ + 37, + 40 + ], + "loc": { + "start": { + "line": 1, + "column": 37 + }, + "end": { + "line": 1, + "column": 40 + } + } + }, + "range": [ + 0, + 42 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 42 + } + } + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "stringify", + "range": [ + 60, + 69 + ], + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 25 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "f", + "range": [ + 72, + 73 + ], + "loc": { + "start": { + "line": 3, + "column": 28 + }, + "end": { + "line": 3, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 76, + 77 + ], + "loc": { + "start": { + "line": 3, + "column": 32 + }, + "end": { + "line": 3, + "column": 33 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 80, + 81 + ], + "loc": { + "start": { + "line": 3, + "column": 36 + }, + "end": { + "line": 3, + "column": 37 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 84, + 86 + ], + "loc": { + "start": { + "line": 3, + "column": 40 + }, + "end": { + "line": 3, + "column": 42 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 89, + 91 + ], + "loc": { + "start": { + "line": 3, + "column": 45 + }, + "end": { + "line": 3, + "column": 47 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 103, + 104 + ], + "loc": { + "start": { + "line": 5, + "column": 6 + }, + "end": { + "line": 5, + "column": 7 + } + } + }, + "right": { + "type": "Literal", + "value": 36, + "raw": "36", + "range": [ + 107, + 109 + ], + "loc": { + "start": { + "line": 5, + "column": 10 + }, + "end": { + "line": 5, + "column": 12 + } + } + }, + "range": [ + 103, + 109 + ], + "loc": { + "start": { + "line": 5, + "column": 6 + }, + "end": { + "line": 5, + "column": 12 + } + } + }, + "consequent": { + "type": "ThrowStatement", + "argument": { + "type": "Literal", + "value": "t > 36 not implemented", + "raw": "'t > 36 not implemented'", + "range": [ + 118, + 142 + ], + "loc": { + "start": { + "line": 5, + "column": 21 + }, + "end": { + "line": 5, + "column": 45 + } + } + }, + "range": [ + 112, + 144 + ], + "loc": { + "start": { + "line": 5, + "column": 15 + }, + "end": { + "line": 5, + "column": 47 + } + } + }, + "alternate": null, + "range": [ + 98, + 144 + ], + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 47 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "b", + "range": [ + 153, + 154 + ], + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 8 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "convert", + "range": [ + 157, + 164 + ], + "loc": { + "start": { + "line": 7, + "column": 11 + }, + "end": { + "line": 7, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "f", + "range": [ + 166, + 167 + ], + "loc": { + "start": { + "line": 7, + "column": 20 + }, + "end": { + "line": 7, + "column": 21 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 170, + 171 + ], + "loc": { + "start": { + "line": 7, + "column": 24 + }, + "end": { + "line": 7, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 174, + 175 + ], + "loc": { + "start": { + "line": 7, + "column": 28 + }, + "end": { + "line": 7, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 178, + 180 + ], + "loc": { + "start": { + "line": 7, + "column": 32 + }, + "end": { + "line": 7, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 183, + 185 + ], + "loc": { + "start": { + "line": 7, + "column": 37 + }, + "end": { + "line": 7, + "column": 39 + } + } + } + ], + "range": [ + 157, + 187 + ], + "loc": { + "start": { + "line": 7, + "column": 11 + }, + "end": { + "line": 7, + "column": 41 + } + } + }, + "range": [ + 153, + 187 + ], + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 41 + } + } + } + ], + "kind": "const", + "range": [ + 147, + 189 + ], + "loc": { + "start": { + "line": 7, + "column": 1 + }, + "end": { + "line": 7, + "column": 43 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_to_string", + "range": [ + 199, + 209 + ], + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "b", + "range": [ + 211, + 212 + ], + "loc": { + "start": { + "line": 9, + "column": 20 + }, + "end": { + "line": 9, + "column": 21 + } + } + } + ], + "range": [ + 199, + 214 + ], + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 23 + } + } + }, + "range": [ + 192, + 216 + ], + "loc": { + "start": { + "line": 9, + "column": 1 + }, + "end": { + "line": 9, + "column": 25 + } + } + } + ], + "range": [ + 94, + 219 + ], + "loc": { + "start": { + "line": 3, + "column": 50 + }, + "end": { + "line": 11, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 51, + 219 + ], + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 11, + "column": 1 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 44, + 219 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 11, + "column": 1 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 219 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 11, + "column": 1 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/convert/stringify_keep_zeros.js.json b/ast/source/1-new/convert/stringify_keep_zeros.js.json new file mode 100644 index 0000000..4808906 --- /dev/null +++ b/ast/source/1-new/convert/stringify_keep_zeros.js.json @@ -0,0 +1,697 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "convert_keep_zeros", + "range": [ + 9, + 27 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 27 + } + } + }, + "imported": { + "type": "Identifier", + "name": "convert_keep_zeros", + "range": [ + 9, + 27 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 27 + } + } + }, + "range": [ + 9, + 27 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 27 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_to_string", + "range": [ + 30, + 40 + ], + "loc": { + "start": { + "line": 1, + "column": 30 + }, + "end": { + "line": 1, + "column": 40 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_to_string", + "range": [ + 30, + 40 + ], + "loc": { + "start": { + "line": 1, + "column": 30 + }, + "end": { + "line": 1, + "column": 40 + } + } + }, + "range": [ + 30, + 40 + ], + "loc": { + "start": { + "line": 1, + "column": 30 + }, + "end": { + "line": 1, + "column": 40 + } + } + } + ], + "source": { + "type": "Literal", + "value": ".", + "raw": "'.'", + "range": [ + 48, + 51 + ], + "loc": { + "start": { + "line": 1, + "column": 48 + }, + "end": { + "line": 1, + "column": 51 + } + } + }, + "range": [ + 0, + 53 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 53 + } + } + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "stringify_keep_zeros", + "range": [ + 71, + 91 + ], + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 36 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "f", + "range": [ + 94, + 95 + ], + "loc": { + "start": { + "line": 3, + "column": 39 + }, + "end": { + "line": 3, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 98, + 99 + ], + "loc": { + "start": { + "line": 3, + "column": 43 + }, + "end": { + "line": 3, + "column": 44 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 102, + 103 + ], + "loc": { + "start": { + "line": 3, + "column": 47 + }, + "end": { + "line": 3, + "column": 48 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 106, + 108 + ], + "loc": { + "start": { + "line": 3, + "column": 51 + }, + "end": { + "line": 3, + "column": 53 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 111, + 113 + ], + "loc": { + "start": { + "line": 3, + "column": 56 + }, + "end": { + "line": 3, + "column": 58 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 125, + 126 + ], + "loc": { + "start": { + "line": 5, + "column": 6 + }, + "end": { + "line": 5, + "column": 7 + } + } + }, + "right": { + "type": "Literal", + "value": 36, + "raw": "36", + "range": [ + 129, + 131 + ], + "loc": { + "start": { + "line": 5, + "column": 10 + }, + "end": { + "line": 5, + "column": 12 + } + } + }, + "range": [ + 125, + 131 + ], + "loc": { + "start": { + "line": 5, + "column": 6 + }, + "end": { + "line": 5, + "column": 12 + } + } + }, + "consequent": { + "type": "ThrowStatement", + "argument": { + "type": "Literal", + "value": "t > 36 not implemented", + "raw": "'t > 36 not implemented'", + "range": [ + 140, + 164 + ], + "loc": { + "start": { + "line": 5, + "column": 21 + }, + "end": { + "line": 5, + "column": 45 + } + } + }, + "range": [ + 134, + 166 + ], + "loc": { + "start": { + "line": 5, + "column": 15 + }, + "end": { + "line": 5, + "column": 47 + } + } + }, + "alternate": null, + "range": [ + 120, + 166 + ], + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 47 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "b", + "range": [ + 175, + 176 + ], + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 8 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "convert_keep_zeros", + "range": [ + 179, + 197 + ], + "loc": { + "start": { + "line": 7, + "column": 11 + }, + "end": { + "line": 7, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "f", + "range": [ + 199, + 200 + ], + "loc": { + "start": { + "line": 7, + "column": 31 + }, + "end": { + "line": 7, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 203, + 204 + ], + "loc": { + "start": { + "line": 7, + "column": 35 + }, + "end": { + "line": 7, + "column": 36 + } + } + }, + { + "type": "Identifier", + "name": "a", + "range": [ + 207, + 208 + ], + "loc": { + "start": { + "line": 7, + "column": 39 + }, + "end": { + "line": 7, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 211, + 213 + ], + "loc": { + "start": { + "line": 7, + "column": 43 + }, + "end": { + "line": 7, + "column": 45 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 216, + 218 + ], + "loc": { + "start": { + "line": 7, + "column": 48 + }, + "end": { + "line": 7, + "column": 50 + } + } + } + ], + "range": [ + 179, + 220 + ], + "loc": { + "start": { + "line": 7, + "column": 11 + }, + "end": { + "line": 7, + "column": 52 + } + } + }, + "range": [ + 175, + 220 + ], + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 52 + } + } + } + ], + "kind": "const", + "range": [ + 169, + 222 + ], + "loc": { + "start": { + "line": 7, + "column": 1 + }, + "end": { + "line": 7, + "column": 54 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_to_string", + "range": [ + 232, + 242 + ], + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "b", + "range": [ + 244, + 245 + ], + "loc": { + "start": { + "line": 9, + "column": 20 + }, + "end": { + "line": 9, + "column": 21 + } + } + } + ], + "range": [ + 232, + 247 + ], + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 23 + } + } + }, + "range": [ + 225, + 249 + ], + "loc": { + "start": { + "line": 9, + "column": 1 + }, + "end": { + "line": 9, + "column": 25 + } + } + } + ], + "range": [ + 116, + 252 + ], + "loc": { + "start": { + "line": 3, + "column": 61 + }, + "end": { + "line": 11, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 62, + 252 + ], + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 11, + "column": 1 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 55, + 252 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 11, + "column": 1 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 252 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 11, + "column": 1 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/convert/trim_natural.js.json b/ast/source/1-new/convert/trim_natural.js.json new file mode 100644 index 0000000..d5dba9b --- /dev/null +++ b/ast/source/1-new/convert/trim_natural.js.json @@ -0,0 +1,950 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_trim_positive", + "range": [ + 9, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 23 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_trim_positive", + "range": [ + 9, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 23 + } + } + }, + "range": [ + 9, + 23 + ], + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 23 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_alloc", + "range": [ + 26, + 32 + ], + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 32 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_alloc", + "range": [ + 26, + 32 + ], + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 32 + } + } + }, + "range": [ + 26, + 32 + ], + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 32 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "_copy", + "range": [ + 35, + 40 + ], + "loc": { + "start": { + "line": 1, + "column": 35 + }, + "end": { + "line": 1, + "column": 40 + } + } + }, + "imported": { + "type": "Identifier", + "name": "_copy", + "range": [ + 35, + 40 + ], + "loc": { + "start": { + "line": 1, + "column": 35 + }, + "end": { + "line": 1, + "column": 40 + } + } + }, + "range": [ + 35, + 40 + ], + "loc": { + "start": { + "line": 1, + "column": 35 + }, + "end": { + "line": 1, + "column": 40 + } + } + } + ], + "source": { + "type": "Literal", + "value": ".", + "raw": "'.'", + "range": [ + 48, + 51 + ], + "loc": { + "start": { + "line": 1, + "column": 48 + }, + "end": { + "line": 1, + "column": 51 + } + } + }, + "range": [ + 0, + 53 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 53 + } + } + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "trim_natural", + "range": [ + 70, + 82 + ], + "loc": { + "start": { + "line": 2, + "column": 16 + }, + "end": { + "line": 2, + "column": 28 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 85, + 86 + ], + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 89, + 91 + ], + "loc": { + "start": { + "line": 2, + "column": 35 + }, + "end": { + "line": 2, + "column": 37 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 94, + 96 + ], + "loc": { + "start": { + "line": 2, + "column": 40 + }, + "end": { + "line": 2, + "column": 42 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "x", + "range": [ + 109, + 110 + ], + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 8 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_trim_positive", + "range": [ + 113, + 127 + ], + "loc": { + "start": { + "line": 4, + "column": 11 + }, + "end": { + "line": 4, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 129, + 130 + ], + "loc": { + "start": { + "line": 4, + "column": 27 + }, + "end": { + "line": 4, + "column": 28 + } + } + }, + { + "type": "Identifier", + "name": "ai", + "range": [ + 133, + 135 + ], + "loc": { + "start": { + "line": 4, + "column": 31 + }, + "end": { + "line": 4, + "column": 33 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 138, + 140 + ], + "loc": { + "start": { + "line": 4, + "column": 36 + }, + "end": { + "line": 4, + "column": 38 + } + } + } + ], + "range": [ + 113, + 142 + ], + "loc": { + "start": { + "line": 4, + "column": 11 + }, + "end": { + "line": 4, + "column": 40 + } + } + }, + "range": [ + 109, + 142 + ], + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 40 + } + } + } + ], + "kind": "const", + "range": [ + 103, + 144 + ], + "loc": { + "start": { + "line": 4, + "column": 1 + }, + "end": { + "line": 4, + "column": 42 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "Identifier", + "name": "x", + "range": [ + 152, + 153 + ], + "loc": { + "start": { + "line": 6, + "column": 6 + }, + "end": { + "line": 6, + "column": 7 + } + } + }, + "right": { + "type": "Identifier", + "name": "aj", + "range": [ + 157, + 159 + ], + "loc": { + "start": { + "line": 6, + "column": 11 + }, + "end": { + "line": 6, + "column": 13 + } + } + }, + "range": [ + 152, + 159 + ], + "loc": { + "start": { + "line": 6, + "column": 6 + }, + "end": { + "line": 6, + "column": 13 + } + } + }, + "consequent": { + "type": "ReturnStatement", + "argument": { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 171, + 172 + ], + "loc": { + "start": { + "line": 6, + "column": 25 + }, + "end": { + "line": 6, + "column": 26 + } + } + } + ], + "range": [ + 169, + 174 + ], + "loc": { + "start": { + "line": 6, + "column": 23 + }, + "end": { + "line": 6, + "column": 28 + } + } + }, + "range": [ + 162, + 176 + ], + "loc": { + "start": { + "line": 6, + "column": 16 + }, + "end": { + "line": 6, + "column": 30 + } + } + }, + "alternate": null, + "range": [ + 147, + 176 + ], + "loc": { + "start": { + "line": 6, + "column": 1 + }, + "end": { + "line": 6, + "column": 30 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "b", + "range": [ + 185, + 186 + ], + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 8 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_alloc", + "range": [ + 189, + 195 + ], + "loc": { + "start": { + "line": 8, + "column": 11 + }, + "end": { + "line": 8, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "aj", + "range": [ + 197, + 199 + ], + "loc": { + "start": { + "line": 8, + "column": 19 + }, + "end": { + "line": 8, + "column": 21 + } + } + }, + "right": { + "type": "Identifier", + "name": "x", + "range": [ + 202, + 203 + ], + "loc": { + "start": { + "line": 8, + "column": 24 + }, + "end": { + "line": 8, + "column": 25 + } + } + }, + "range": [ + 197, + 203 + ], + "loc": { + "start": { + "line": 8, + "column": 19 + }, + "end": { + "line": 8, + "column": 25 + } + } + } + ], + "range": [ + 189, + 205 + ], + "loc": { + "start": { + "line": 8, + "column": 11 + }, + "end": { + "line": 8, + "column": 27 + } + } + }, + "range": [ + 185, + 205 + ], + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 27 + } + } + } + ], + "kind": "const", + "range": [ + 179, + 207 + ], + "loc": { + "start": { + "line": 8, + "column": 1 + }, + "end": { + "line": 8, + "column": 29 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "_copy", + "range": [ + 210, + 215 + ], + "loc": { + "start": { + "line": 10, + "column": 1 + }, + "end": { + "line": 10, + "column": 6 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 217, + 218 + ], + "loc": { + "start": { + "line": 10, + "column": 8 + }, + "end": { + "line": 10, + "column": 9 + } + } + }, + { + "type": "Identifier", + "name": "x", + "range": [ + 221, + 222 + ], + "loc": { + "start": { + "line": 10, + "column": 12 + }, + "end": { + "line": 10, + "column": 13 + } + } + }, + { + "type": "Identifier", + "name": "aj", + "range": [ + 225, + 227 + ], + "loc": { + "start": { + "line": 10, + "column": 16 + }, + "end": { + "line": 10, + "column": 18 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 230, + 231 + ], + "loc": { + "start": { + "line": 10, + "column": 21 + }, + "end": { + "line": 10, + "column": 22 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 234, + 235 + ], + "loc": { + "start": { + "line": 10, + "column": 25 + }, + "end": { + "line": 10, + "column": 26 + } + } + } + ], + "range": [ + 210, + 237 + ], + "loc": { + "start": { + "line": 10, + "column": 1 + }, + "end": { + "line": 10, + "column": 28 + } + } + }, + "range": [ + 210, + 239 + ], + "loc": { + "start": { + "line": 10, + "column": 1 + }, + "end": { + "line": 10, + "column": 30 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "b", + "range": [ + 249, + 250 + ], + "loc": { + "start": { + "line": 12, + "column": 8 + }, + "end": { + "line": 12, + "column": 9 + } + } + }, + "range": [ + 242, + 252 + ], + "loc": { + "start": { + "line": 12, + "column": 1 + }, + "end": { + "line": 12, + "column": 11 + } + } + } + ], + "range": [ + 99, + 255 + ], + "loc": { + "start": { + "line": 2, + "column": 45 + }, + "end": { + "line": 14, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 61, + 255 + ], + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 14, + "column": 1 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 54, + 255 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 14, + "column": 1 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 255 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 14, + "column": 1 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/1-new/index.js.json b/ast/source/1-new/index.js.json new file mode 100644 index 0000000..d378e8e --- /dev/null +++ b/ast/source/1-new/index.js.json @@ -0,0 +1,129 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./arithmetic", + "raw": "'./arithmetic'", + "range": [ + 14, + 28 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 28 + } + } + }, + "range": [ + 0, + 30 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 30 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./compare", + "raw": "'./compare'", + "range": [ + 45, + 56 + ], + "loc": { + "start": { + "line": 2, + "column": 14 + }, + "end": { + "line": 2, + "column": 25 + } + } + }, + "range": [ + 31, + 58 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 27 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./convert", + "raw": "'./convert'", + "range": [ + 73, + 84 + ], + "loc": { + "start": { + "line": 3, + "column": 14 + }, + "end": { + "line": 3, + "column": 25 + } + } + }, + "range": [ + 59, + 86 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 27 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 86 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 27 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/ast/source/index.js.json b/ast/source/index.js.json new file mode 100644 index 0000000..7d609ac --- /dev/null +++ b/ast/source/index.js.json @@ -0,0 +1,93 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./0-legacy", + "raw": "'./0-legacy'", + "range": [ + 14, + 26 + ], + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 26 + } + } + }, + "range": [ + 0, + 28 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 28 + } + } + }, + { + "type": "ExportAllDeclaration", + "source": { + "type": "Literal", + "value": "./1-new", + "raw": "'./1-new'", + "range": [ + 43, + 52 + ], + "loc": { + "start": { + "line": 2, + "column": 14 + }, + "end": { + "line": 2, + "column": 23 + } + } + }, + "range": [ + 29, + 54 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 25 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 54 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 2, + "column": 25 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/badge.svg b/badge.svg new file mode 100644 index 0000000..2676430 --- /dev/null +++ b/badge.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + document + document + 50% + 50% + + diff --git a/cmp/cmp.html b/cmp/cmp.html deleted file mode 100644 index 660fc5e..0000000 --- a/cmp/cmp.html +++ /dev/null @@ -1,65 +0,0 @@ -cmp/cmp

      var bcmp_t = function(){

      Compares two big endian arrays, |a| >= |b|

      -

      Parameters:

      -
        -
      • a must be an array.
        (first operand)

        -
      • -
      • ai must be an int.
        (a left)

        -
      • -
      • aj must be an int.
        (a right)

        -
      • -
      • b must be an array.
        (second operand)

        -
      • -
      • bi must be an int.
        (b left)

        -
      • -
      • bj must be an int.
        (b right)

        -
      • -
      -

      Returns an int
      (1 if a > b; 0 if a = b; -1 otherwise.)

      return function(a, ai, aj, b, bi, bj){ - - var tmp = aj - bj + bi; - - for (; ai < tmp; ++ai) - if (a[ai] > 0) return 1;

      same size aj - ai === bj - bi

      for (; ai < aj; ++ai, ++bi) { - if (a[ai] > b[bi]) return 1; - if (a[ai] < b[bi]) return -1; - } - - return 0; - }; - -}; - -var lcmp_t = function(){

      Compares two little endian arrays, |a| >= |b|

      -

      Parameters:

      -
        -
      • a must be an array.
        (first operand)

        -
      • -
      • ai must be an int.
        (a left)

        -
      • -
      • aj must be an int.
        (a right)

        -
      • -
      • b must be an array.
        (second operand)

        -
      • -
      • bi must be an int.
        (b left)

        -
      • -
      • bj must be an int.
        (b right)

        -
      • -
      -

      Returns an int
      (1 if a > b; 0 if a = b; -1 otherwise.)

      return function(a, ai, aj, b, bi, bj){ - - var tmp = ai + bj - bi; - - --aj; --bj; - - for (; aj >= tmp; --aj) - if (a[aj] > 0) return 1;

      same size aj - ai === bj - bi

      for (; aj >= ai; --aj, --bj) { - if (a[aj] > b[bj]) return 1; - if (a[aj] < b[bj]) return -1; - } - - return 0; - }; -}; - -exports.bcmp_t = bcmp_t; -exports.lcmp_t = lcmp_t;
      \ No newline at end of file diff --git a/cmp/eq.html b/cmp/eq.html deleted file mode 100644 index 8da85ad..0000000 --- a/cmp/eq.html +++ /dev/null @@ -1,8 +0,0 @@ -cmp/eq

      Wrapper for a comparison operator that returns true iff -a is equal to b.

      var eq_t = function(cmp){ - return function (a, ai, aj, b, bi, bj) { - return cmp(a, ai, aj, b, bi, bj) === 0; - }; -}; - -exports.eq_t = eq_t;
      \ No newline at end of file diff --git a/cmp/ge.html b/cmp/ge.html deleted file mode 100644 index f045fcd..0000000 --- a/cmp/ge.html +++ /dev/null @@ -1,8 +0,0 @@ -cmp/ge

      Wrapper for a comparison operator that returns true iff -a is greater or equal to b.

      var ge_t = function(cmp){ - return function (a, ai, aj, b, bi, bj) { - return cmp(a, ai, aj, b, bi, bj) >= 0; - }; -}; - -exports.ge_t = ge_t;
      \ No newline at end of file diff --git a/cmp/gt.html b/cmp/gt.html deleted file mode 100644 index eb10997..0000000 --- a/cmp/gt.html +++ /dev/null @@ -1,8 +0,0 @@ -cmp/gt

      Wrapper for a comparison operator that returns true iff -a is greater than b.

      var gt_t = function(cmp){ - return function (a, ai, aj, b, bi, bj) { - return cmp(a, ai, aj, b, bi, bj) > 0; - }; -}; - -exports.gt_t = gt_t;
      \ No newline at end of file diff --git a/cmp/le.html b/cmp/le.html deleted file mode 100644 index a2b0ce5..0000000 --- a/cmp/le.html +++ /dev/null @@ -1,8 +0,0 @@ -cmp/le

      Wrapper for a comparison operator that returns true iff -a is less or equal to b.

      var le_t = function(cmp){ - return function (a, ai, aj, b, bi, bj) { - return cmp(a, ai, aj, b, bi, bj) <= 0; - }; -}; - -exports.le_t = le_t;
      \ No newline at end of file diff --git a/cmp/lt.html b/cmp/lt.html deleted file mode 100644 index cb5dd0c..0000000 --- a/cmp/lt.html +++ /dev/null @@ -1,8 +0,0 @@ -cmp/lt

      Wrapper for a comparison operator that returns true iff -a is less than b.

      var lt_t = function(cmp){ - return function (a, ai, aj, b, bi, bj) { - return cmp(a, ai, aj, b, bi, bj) < 0; - }; -}; - -exports.lt_t = lt_t;
      \ No newline at end of file diff --git a/cmp/ne.html b/cmp/ne.html deleted file mode 100644 index c4eca7e..0000000 --- a/cmp/ne.html +++ /dev/null @@ -1,8 +0,0 @@ -cmp/ne

      Wrapper for a comparison operator that returns true iff -a is not equal to b.

      var ne_t = function(cmp){ - return function (a, ai, aj, b, bi, bj) { - return cmp(a, ai, aj, b, bi, bj) !== 0; - }; -}; - -exports.ne_t = ne_t;
      \ No newline at end of file diff --git a/convert/basechange.html b/convert/basechange.html deleted file mode 100644 index ba845e9..0000000 --- a/convert/basechange.html +++ /dev/null @@ -1,72 +0,0 @@ -convert/basechange
      var bbasechange_t = function(ar, br, calloc, mov){ - - var basechange = function(a, ai, aj, b, bi, bj){ - - var m, n, d, q, z, r, ri, f, t, tmp, w; - - f = ar; - t = br; - - if (f > t) { - d = calloc(1); - d[0] = br; - z = 1; - } - else { - z = 0; - - while (t > 1) { - t /= f; - ++z; - } - - z += (t === 1); - - d = calloc(z); - - t = br; - - w = z; - - while (t > 0) { - tmp = t % f; - d[--w] = tmp; - t = (t - tmp) / f; - } - } - - m = aj - ai; - n = bj - bi; - - q = calloc(m); - r = calloc(m); - mov(a, ai, aj, r, 0); - - - ri = 0; - --bj; - - while (!lt(r, 0, m, d, 0, z)) { - div(r, 0, m, d, 0, z, q, 0); - for (w = 1; w <= z; ++w) { - b[bj] *= ar; - b[bj] += r[m - w]; - } - mov(q, 0, m, r, 0); - --bj; - } - - for (w = 1; w <= z; ++w) { - b[bj] *= ar; - b[bj] += r[m - w]; - } - - - }; - - return basechange; - -}; - - -exports.bbasechange_t = bbasechange_t;
      \ No newline at end of file diff --git a/convert/convert.html b/convert/convert.html deleted file mode 100644 index 6180e70..0000000 --- a/convert/convert.html +++ /dev/null @@ -1,42 +0,0 @@ -convert/convert
      var bconvert_t = function(ar, br, bjoin_t, bsplit_t) { - - var f, t, z; - - f = ar; - t = br; - z = 0; - - if (br <= ar) { - - while (f >= t) { - if (f % t) break; - f /= t; - ++z; - } - - if (f === 1) { - return bsplit_t(br, z); - } - - else {

      TODO

      throw 'f >= t + log(t) does not divide log(f) not implemented'; - } - } - - else { - - while (t >= f) { - if (t % f) break; - t /= f; - ++z; - } - - if (t === 1) { - return bjoin_t(ar, z); - } - - else {

      TODO

      throw 't > f + log(f) does not divide log(t) not implemented'; - } - } -} - -exports.bconvert_t = bconvert_t;
      \ No newline at end of file diff --git a/convert/join.html b/convert/join.html deleted file mode 100644 index 95ff4fb..0000000 --- a/convert/join.html +++ /dev/null @@ -1,46 +0,0 @@ -convert/join
      var bjoin_t = function(ar, z) { - - var join = function(a, ai, aj, b, bi, bj) { - - var m, n, q, r, i, w, t; - - m = aj - ai; - n = bj - bi;

      number of parts of first -destination block if incomplete

      r = m % z;

      number of complete blocks in destination

      q = (m - r) / z;

      total number of blocks in destination -(complete ones + first if incomplete)

      w = q + !!r; - - - if (n >= w) {

      if destination can contain more than -what is available in source then -compute the effective write start -in destination and set i to the correct -offset according to the size -(in source blocks) of the -first destination block if incomplete

      bi = bj - w; - i = (z - r) % z; - } - else {

      if source contains more than what -destination can handle set the effective -read start in source and set i to 0 because -all blocks will be complete

      ai = aj - n * z; - i = 0; - } - - for (; ai < aj && bi < bj; ++bi) { - t = 0; - for (; i < z; ++i) { - t *= ar; // aggregate source blocks - t += a[ai]; // using simple - ++ai; // multiply + add - } - b[bi] = t; // set block in destination - i = 0; - } - - }; - - return join; - -}; - -exports.bjoin_t = bjoin_t;
      \ No newline at end of file diff --git a/convert/split.html b/convert/split.html deleted file mode 100644 index 95e9083..0000000 --- a/convert/split.html +++ /dev/null @@ -1,48 +0,0 @@ -convert/split
      var bsplit_t = function(br, z) { - - var split = function(a, ai, aj, b, bi, bj) { - - var m, n, q, r, i, w, t; - - m = bj - bi; - n = aj - ai;

      number of parts of first -destination block if incomplete

      r = m % z;

      number of complete blocks in destination

      q = (m - r) / z;

      total number of blocks in destination -(complete ones + first if incomplete)

      w = q + !!r; - - - if (n >= w) {

      if source contains more than what -destination can handle set the effective -read start in source and set i to the correct -offset according to the size -(in destination blocks) of the -first source block if incomplete

      ai = aj - w; - i = (z - r) % z; - } - else {

      if destination can contain more than -what is available in source then -compute the effective write start -in destination and set i to 0 because -all blocks will be complete

      bi = bj - n * z; - i = 0; - } - - for (; ai < aj && bi < bj; ++ai) { - q = a[ai]; - t = bi + z - 1 - i; - bi += z - i; - for (; i < z; ++i) { - r = q % br; // unpack source blocks - q = (q - r) / br; // using simple - b[t] = r; // modulo + quotient - --t; - } - i = 0; - } - - }; - - return split; - -}; - -exports.bsplit_t = bsplit_t;
      \ No newline at end of file diff --git a/coverage.json b/coverage.json new file mode 100644 index 0000000..33ac03d --- /dev/null +++ b/coverage.json @@ -0,0 +1,348 @@ +{ + "coverage": "50%", + "expectCount": 62, + "actualCount": 31, + "files": { + "src/1-new/compare/_CMP.js": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/0-legacy/others/pow/ebs.js": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/0-legacy/others/pow/pow.js": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/1-new/convert/_alloc.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 2 + ] + }, + "src/1-new/convert/_build.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 2 + ] + }, + "src/1-new/convert/_chr.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 2 + ] + }, + "src/1-new/compare/_cmp.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 3 + ] + }, + "src/1-new/convert/_convert.js": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/1-new/convert/_convert_slow.js": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/1-new/convert/_convert_to_larger.js": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/1-new/convert/_convert_to_larger_fast.js": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/1-new/convert/_convert_to_smaller.js": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/1-new/convert/_convert_to_smaller_fast.js": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/1-new/convert/_copy.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 2 + ] + }, + "src/1-new/arithmetic/div/_div.js": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/1-new/compare/_eq.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 3 + ] + }, + "src/1-new/convert/_fill.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 2 + ] + }, + "src/1-new/compare/_ge.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 3 + ] + }, + "src/1-new/compare/_gt.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 3 + ] + }, + "src/1-new/convert/_int.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 2 + ] + }, + "src/1-new/compare/_jz.js": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/1-new/compare/_le.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 3 + ] + }, + "src/1-new/convert/_log.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 2 + ] + }, + "src/1-new/compare/_lt.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 3 + ] + }, + "src/1-new/compare/_ne.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 3 + ] + }, + "src/1-new/convert/_reset.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 3 + ] + }, + "src/1-new/arithmetic/sub/_sub.js": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/1-new/convert/_to_string.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 3 + ] + }, + "src/1-new/convert/_trim_positive.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 2 + ] + }, + "src/1-new/convert/_zeros.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 3 + ] + }, + "src/0-legacy/binary/and/and.js": { + "expectCount": 3, + "actualCount": 3, + "undocumentLines": [] + }, + "src/0-legacy/arithmetic/add/add.js": { + "expectCount": 2, + "actualCount": 2, + "undocumentLines": [] + }, + "src/0-legacy/compare/cmp.js": { + "expectCount": 2, + "actualCount": 0, + "undocumentLines": [ + 2, + 37 + ] + }, + "src/0-legacy/arithmetic/div/div.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 4 + ] + }, + "src/0-legacy/arithmetic/mul/karatsuba.js": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/0-legacy/arithmetic/mul/mul53.js": { + "expectCount": 2, + "actualCount": 2, + "undocumentLines": [] + }, + "src/0-legacy/arithmetic/mul/mul.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 2 + ] + }, + "src/0-legacy/arithmetic/sub/sub.js": { + "expectCount": 2, + "actualCount": 2, + "undocumentLines": [] + }, + "src/1-new/convert/convert.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 3 + ] + }, + "src/1-new/convert/convert_keep_zeros.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 3 + ] + }, + "src/0-legacy/compare/eq.js": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/0-legacy/compare/ge.js": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/0-legacy/compare/gt.js": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/0-legacy/compare/le.js": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/0-legacy/compare/lt.js": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/0-legacy/compare/ne.js": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/1-new/convert/parse.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 3 + ] + }, + "src/1-new/convert/parse_keep_zeros.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 3 + ] + }, + "src/0-legacy/parse/parse.js": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/1-new/convert/stringify.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 3 + ] + }, + "src/1-new/convert/stringify_keep_zeros.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 3 + ] + }, + "src/0-legacy/stringify/stringify.js": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/1-new/convert/trim_natural.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 2 + ] + }, + "src/0-legacy/others/wrap/wrapbin.js": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/0-legacy/others/wrap/wrapcmp.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 4 + ] + }, + "src/0-legacy/others/wrap/wrapmov.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 3 + ] + } + } +} \ No newline at end of file diff --git a/css/prettify-tomorrow.css b/css/prettify-tomorrow.css new file mode 100644 index 0000000..b6f92a7 --- /dev/null +++ b/css/prettify-tomorrow.css @@ -0,0 +1,132 @@ +/* Tomorrow Theme */ +/* Original theme - https://github.com/chriskempson/tomorrow-theme */ +/* Pretty printing styles. Used with prettify.js. */ +/* SPAN elements with the classes below are added by prettyprint. */ +/* plain text */ +.pln { + color: #4d4d4c; } + +@media screen { + /* string content */ + .str { + color: #718c00; } + + /* a keyword */ + .kwd { + color: #8959a8; } + + /* a comment */ + .com { + color: #8e908c; } + + /* a type name */ + .typ { + color: #4271ae; } + + /* a literal value */ + .lit { + color: #f5871f; } + + /* punctuation */ + .pun { + color: #4d4d4c; } + + /* lisp open bracket */ + .opn { + color: #4d4d4c; } + + /* lisp close bracket */ + .clo { + color: #4d4d4c; } + + /* a markup tag name */ + .tag { + color: #c82829; } + + /* a markup attribute name */ + .atn { + color: #f5871f; } + + /* a markup attribute value */ + .atv { + color: #3e999f; } + + /* a declaration */ + .dec { + color: #f5871f; } + + /* a variable name */ + .var { + color: #c82829; } + + /* a function name */ + .fun { + color: #4271ae; } } +/* Use higher contrast and text-weight for printable form. */ +@media print, projection { + .str { + color: #060; } + + .kwd { + color: #006; + font-weight: bold; } + + .com { + color: #600; + font-style: italic; } + + .typ { + color: #404; + font-weight: bold; } + + .lit { + color: #044; } + + .pun, .opn, .clo { + color: #440; } + + .tag { + color: #006; + font-weight: bold; } + + .atn { + color: #404; } + + .atv { + color: #060; } } +/* Style */ +/* +pre.prettyprint { + background: white; + font-family: Consolas, Monaco, 'Andale Mono', monospace; + font-size: 12px; + line-height: 1.5; + border: 1px solid #ccc; + padding: 10px; } +*/ + +/* Specify class=linenums on a pre to get line numbering */ +ol.linenums { + margin-top: 0; + margin-bottom: 0; } + +/* IE indents via margin-left */ +li.L0, +li.L1, +li.L2, +li.L3, +li.L4, +li.L5, +li.L6, +li.L7, +li.L8, +li.L9 { + /* */ } + +/* Alternate shading for lines */ +li.L1, +li.L3, +li.L5, +li.L7, +li.L9 { + /* */ } diff --git a/css/style.css b/css/style.css new file mode 100644 index 0000000..baf349f --- /dev/null +++ b/css/style.css @@ -0,0 +1,944 @@ +@import url(https://fonts.googleapis.com/css?family=Roboto:400,300,700); + +* { + margin: 0; + padding: 0; + text-decoration: none; +} + +html +{ + font-family: 'Roboto', sans-serif; + overflow: auto; + font-size: 14px; + /*color: #4d4e53;*/ + color: rgba(0, 0, 0, .68); + background-color: #fff; +} + +a { + /*color: #0095dd;*/ + /*color:rgb(37, 138, 175);*/ + color: #039BE5; +} + +code a:hover { + text-decoration: underline; +} + +ul, ol { + padding-left: 20px; +} + +ul li { + list-style: disc; + margin: 4px 0; +} + +ol li { + margin: 4px 0; +} + +h1 { + margin-bottom: 10px; + font-size: 34px; + font-weight: 300; + border-bottom: solid 1px #ddd; +} + +h2 { + margin-top: 24px; + margin-bottom: 10px; + font-size: 20px; + border-bottom: solid 1px #ddd; + font-weight: 300; +} + +h3 { + position: relative; + font-size: 16px; + margin-bottom: 12px; + background-color: #E2E2E2; + padding: 4px; + font-weight: 300; +} + +del { + text-decoration: line-through; +} + +p { + margin-bottom: 15px; + line-height: 1.5; +} + +p > code { + background-color: #f5f5f5; + border-radius: 3px; +} + +pre > code { + display: block; +} + +pre.prettyprint, pre > code { + padding: 4px; + margin: 1em 0; + background-color: #f5f5f5; + border-radius: 3px; +} + +pre.prettyprint > code { + margin: 0; +} + +p > code, +li > code { + padding: 0 4px; + border-radius: 3px; +} + +.import-path pre.prettyprint, +.import-path pre.prettyprint code { + margin: 0; + padding: 0; + border: none; + background: white; +} + +.layout-container { + /*display: flex;*/ + /*flex-direction: row;*/ + /*justify-content: flex-start;*/ + /*align-items: stretch;*/ +} + +.layout-container > header { + height: 40px; + line-height: 40px; + font-size: 16px; + padding: 0 10px; + margin: 0; + position: fixed; + width: 100%; + z-index: 1; + background-color: white; + top: 0; + border-bottom: solid 1px #E02130; +} +.layout-container > header > a{ + margin: 0 5px; +} + +.layout-container > header > a.repo-url-github { + font-size: 0; + display: inline-block; + width: 20px; + height: 38px; + background: url("../image/github.png") no-repeat center; + background-size: 20px; + vertical-align: top; +} + +.navigation { + position: fixed; + top: 0; + left: 0; + box-sizing: border-box; + width: 250px; + height: 100%; + padding-top: 40px; + padding-left: 15px; + padding-bottom: 2em; + margin-top:1em; + overflow-x: scroll; + box-shadow: rgba(255, 255, 255, 1) -1px 0 0 inset; + border-right: 1px solid rgba(0, 0, 0, 0.1); +} + +.navigation ul { + padding: 0; +} + +.navigation li { + list-style: none; + margin: 4px 0; + white-space: nowrap; +} + +.navigation .nav-dir-path { + margin-top: 0.7em; + margin-bottom: 0.25em; + font-size: 0.8em; + color: #aaa; +} + +.kind-class, +.kind-interface, +.kind-function, +.kind-typedef, +.kind-variable, +.kind-external { + margin-left: 0.75em; + width: 1.2em; + height: 1.2em; + display: inline-block; + text-align: center; + border-radius: 0.2em; + margin-right: 0.2em; + font-weight: bold; +} + +.kind-class { + color: #009800; + background-color: #bfe5bf; +} + +.kind-interface { + color: #fbca04; + background-color: #fef2c0; +} + +.kind-function { + color: #6b0090; + background-color: #d6bdde; +} + +.kind-variable { + color: #eb6420; + background-color: #fad8c7; +} + +.kind-typedef { + color: #db001e; + background-color: #edbec3; +} + +.kind-external { + color: #0738c3; + background-color: #bbcbea; +} + +h1 .version, +h1 .url a { + font-size: 14px; + color: #aaa; +} + +.content { + margin-top: 40px; + margin-left: 250px; + padding: 10px 50px 10px 20px; +} + +.header-notice { + font-size: 14px; + color: #aaa; + margin: 0; +} + +.expression-extends .prettyprint { + margin-left: 10px; + background: white; +} + +.extends-chain { + border-bottom: 1px solid#ddd; + padding-bottom: 10px; + margin-bottom: 10px; +} + +.extends-chain span:nth-of-type(1) { + padding-left: 10px; +} + +.extends-chain > div { + margin: 5px 0; +} + +.description table { + font-size: 14px; + border-spacing: 0; + border: 0; + border-collapse: collapse; +} + +.description thead { + background: #999; + color: white; +} + +.description table td, +.description table th { + border: solid 1px #ddd; + padding: 4px; + font-weight: normal; +} + +.flat-list ul { + padding-left: 0; +} + +.flat-list li { + display: inline; + list-style: none; +} + +table.summary { + width: 100%; + margin: 10px 0; + border-spacing: 0; + border: 0; + border-collapse: collapse; +} + +table.summary thead { + background: #999; + color: white; +} + +table.summary td { + border: solid 1px #ddd; + padding: 4px 10px; +} + +table.summary tbody td:nth-child(1) { + text-align: right; + white-space: nowrap; + min-width: 64px; + vertical-align: top; +} + +table.summary tbody td:nth-child(2) { + width: 100%; + border-right: none; +} + +table.summary tbody td:nth-child(3) { + white-space: nowrap; + border-left: none; + vertical-align: top; +} + +table.summary td > div:nth-of-type(2) { + padding-top: 4px; + padding-left: 15px; +} + +table.summary td p { + margin-bottom: 0; +} + +.inherited-summary thead td { + padding-left: 2px; +} + +.inherited-summary thead a { + color: white; +} + +.inherited-summary .summary tbody { + display: none; +} + +.inherited-summary .summary .toggle { + padding: 0 4px; + font-size: 12px; + cursor: pointer; +} +.inherited-summary .summary .toggle.closed:before { + content: "▶"; +} +.inherited-summary .summary .toggle.opened:before { + content: "▼"; +} + +.member, .method { + margin-bottom: 24px; +} + +table.params { + width: 100%; + margin: 10px 0; + border-spacing: 0; + border: 0; + border-collapse: collapse; +} + +table.params thead { + background: #eee; + color: #aaa; +} + +table.params td { + padding: 4px; + border: solid 1px #ddd; +} + +table.params td p { + margin: 0; +} + +.content .detail > * { + margin: 15px 0; +} + +.content .detail > h3 { + color: black; +} + +.content .detail > div { + margin-left: 10px; +} + +.content .detail > .import-path { + margin-top: -8px; +} + +.content .detail + .detail { + margin-top: 30px; +} + +.content .detail .throw td:first-child { + padding-right: 10px; +} + +.content .detail h4 + :not(pre) { + padding-left: 0; + margin-left: 10px; +} + +.content .detail h4 + ul li { + list-style: none; +} + +.return-param * { + display: inline; +} + +.argument-params { + margin-bottom: 20px; +} + +.return-type { + padding-right: 10px; + font-weight: normal; +} + +.return-desc { + margin-left: 10px; + margin-top: 4px; +} + +.return-desc p { + margin: 0; +} + +.deprecated, .experimental, .instance-docs { + border-left: solid 5px orange; + padding-left: 4px; + margin: 4px 0; +} + +tr.listen p, +tr.throw p, +tr.emit p{ + margin-bottom: 10px; +} + +.version, .since { + color: #aaa; +} + +h3 .right-info { + position: absolute; + right: 4px; + font-size: 14px; +} + +.version + .since:before { + content: '| '; +} + +.see { + margin-top: 10px; +} + +.see h4 { + margin: 4px 0; +} + +.content .detail h4 + .example-doc { + margin: 6px 0; +} + +.example-caption { + position: relative; + bottom: -1px; + display: inline-block; + padding: 4px; + font-style: italic; + background-color: #f5f5f5; + font-weight: bold; + border-radius: 3px; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +.example-caption + pre.source-code { + margin-top: 0; + border-top-left-radius: 0; +} + +footer, .file-footer { + text-align: right; + font-style: italic; + font-weight: 100; + font-size: 13px; + margin-right: 50px; + margin-left: 270px; + border-top: 1px solid #ddd; + padding-top: 30px; + margin-top: 20px; + padding-bottom: 10px; +} + +pre.source-code { + background: #f5f5f5; + padding: 4px; +} + +pre.raw-source-code > code { + padding: 0; + margin: 0; +} + +pre.source-code.line-number { + padding: 0; +} + +pre.source-code ol { + background: #eee; + padding-left: 40px; +} + +pre.source-code li { + background: white; + padding-left: 4px; + list-style: decimal; + margin: 0; +} + +pre.source-code.line-number li.active { + background: rgb(255, 255, 150); +} + +pre.source-code.line-number li.error-line { + background: #ffb8bf; +} + +table.files-summary { + width: 100%; + margin: 10px 0; + border-spacing: 0; + border: 0; + border-collapse: collapse; + text-align: right; +} + +table.files-summary tbody tr:hover { + background: #eee; +} + +table.files-summary td:first-child, +table.files-summary td:nth-of-type(2) { + text-align: left; +} + +table.files-summary[data-use-coverage="false"] td.coverage { + display: none; +} + +table.files-summary thead { + background: #999; + color: white; +} + +table.files-summary td { + border: solid 1px #ddd; + padding: 4px 10px; + vertical-align: top; +} + +table.files-summary td.identifiers > span { + display: block; + margin-top: 4px; +} +table.files-summary td.identifiers > span:first-child { + margin-top: 0; +} + +table.files-summary .coverage-count { + font-size: 12px; + color: #aaa; + display: inline-block; + min-width: 40px; +} + +.total-coverage-count { + position: relative; + bottom: 2px; + font-size: 12px; + color: #666; + font-weight: 500; + padding-left: 5px; +} + +table.test-summary thead { + background: #999; + color: white; +} + +table.test-summary thead .test-description { + width: 50%; +} + +table.test-summary { + width: 100%; + margin: 10px 0; + border-spacing: 0; + border: 0; + border-collapse: collapse; +} + +table.test-summary thead .test-count { + width: 3em; +} + +table.test-summary tbody tr:hover { + background-color: #eee; +} + +table.test-summary td { + border: solid 1px #ddd; + padding: 4px 10px; + vertical-align: top; +} + +table.test-summary td p { + margin: 0; +} + +table.test-summary tr.test-describe .toggle { + display: inline-block; + float: left; + margin-right: 4px; + cursor: pointer; +} + +table.test-summary tr.test-describe .toggle.opened:before { + content: '▼'; +} + +table.test-summary tr.test-describe .toggle.closed:before { + content: '▶'; +} + +table.test-summary .test-target > span { + display: block; + margin-top: 4px; +} +table.test-summary .test-target > span:first-child { + margin-top: 0; +} + +.inner-link-active { + background: rgb(255, 255, 150); +} + +/* search box */ +.search-box { + position: absolute; + top: 10px; + right: 50px; + padding-right: 8px; + padding-bottom: 10px; + line-height: normal; + font-size: 12px; +} + +.search-box img { + width: 20px; + vertical-align: top; +} + +.search-input { + display: inline; + visibility: hidden; + width: 0; + padding: 2px; + height: 1.5em; + outline: none; + background: transparent; + border: 1px #0af; + border-style: none none solid none; + vertical-align: bottom; +} + +.search-input-edge { + display: none; + width: 1px; + height: 5px; + background-color: #0af; + vertical-align: bottom; +} + +.search-result { + position: absolute; + display: none; + height: 600px; + width: 100%; + padding: 0; + margin-top: 5px; + margin-left: 24px; + background: white; + box-shadow: 1px 1px 4px rgb(0,0,0); + white-space: nowrap; + overflow-y: scroll; +} + +.search-result-import-path { + color: #aaa; + font-size: 12px; +} + +.search-result li { + list-style: none; + padding: 2px 4px; +} + +.search-result li a { + display: block; +} + +.search-result li.selected { + background: #ddd; +} + +.search-result li.search-separator { + background: rgb(37, 138, 175); + color: white; +} + +.search-box.active .search-input { + visibility: visible; + transition: width 0.2s ease-out; + width: 300px; +} + +.search-box.active .search-input-edge { + display: inline-block; +} + +/* coverage badge */ +.esdoc-coverage { + display: inline-block; + height: 20px; + vertical-align: top; +} + +h1 .esdoc-coverage { + position: relative; + top: -4px; +} + +.esdoc-coverage-wrap { + color: white; + font-size: 12px; + font-weight: 500; +} + +.esdoc-coverage-label { + padding: 3px 4px 3px 6px; + background: linear-gradient(to bottom, #5e5e5e 0%,#4c4c4c 100%); + border-radius: 4px 0 0 4px; + display: inline-block; + height: 20px; + box-sizing: border-box; + line-height: 14px; +} + +.esdoc-coverage-ratio { + padding: 3px 6px 3px 4px; + border-radius: 0 4px 4px 0; + display: inline-block; + height: 20px; + box-sizing: border-box; + line-height: 14px; +} + +.esdoc-coverage-low { + background: linear-gradient(to bottom, #db654f 0%,#c9533d 100%); +} + +.esdoc-coverage-middle { + background: linear-gradient(to bottom, #dab226 0%,#c9a179 100%); +} + +.esdoc-coverage-high { + background: linear-gradient(to bottom, #4fc921 0%,#3eb810 100%); +} + +.github-markdown .manual-toc { + padding-left: 0; +} + +/** manual */ + +.manual-root .navigation { + padding-left: 0; +} + +.navigation .manual-toc-title { + margin: 0; + padding: 0.5em 0 0.5em 1em; + border: none; + font-size: 1em; + font-weight: normal; +} + +.navigation .manual-toc-title:first-child { + margin-top: 0; +} + +.navigation .manual-toc { + display: none; + margin-left: 0.5em; + margin-top: -0.25em; +} + +.github-markdown .manual-toc-title a { + color: inherit; +} + +.manual-breadcrumb-list { + font-size: 0.8em; + margin-bottom: 1em; +} + +.manual-toc-title a:hover { + color: #039BE5; +} + +.manual-toc li { + margin: 0.75em 0; + list-style-type: none; +} + +.manual-toc .indent-h1 { + margin-left: 0; +} +.manual-toc .indent-h2 { + margin-left: 1em; +} +.manual-toc .indent-h3 { + margin-left: 3em; +} +.manual-toc .indent-h4 { + margin-left: 4em; +} +.manual-toc .indent-h5 { + margin-left: 5em; +} + +.manual-nav li { + margin: 0.75em 0; +} + +.manual-dot { + margin-left: 0.75em; + width: 0.6em; + height: 0.6em; + display: inline-block; + border-radius: 0.3em; + margin-right: 0.3em; + background-color: #bfe5bf; +} + +/* github markdown */ +.github-markdown { + font-size: 16px; +} + +.github-markdown h1, +.github-markdown h2, +.github-markdown h3, +.github-markdown h4, +.github-markdown h5 { + margin-top: 1em; + margin-bottom: 16px; + font-weight: bold; + padding: 0; +} + +.github-markdown h1:nth-of-type(1) { + margin-top: 0; +} + +.github-markdown h1 { + font-size: 2em; + padding-bottom: 0.3em; +} + +.github-markdown h2 { + font-size: 1.75em; + padding-bottom: 0.3em; +} + +.github-markdown h3 { + font-size: 1.5em; + background-color: transparent; +} + +.github-markdown h4 { + font-size: 1.25em; +} + +.github-markdown h5 { + font-size: 1em; +} + +.github-markdown ul, .github-markdown ol { + padding-left: 2em; +} + +.github-markdown pre > code { + font-size: 0.85em; +} + +.github-markdown table { + margin-bottom: 1em; + border-collapse: collapse; + border-spacing: 0; +} + +.github-markdown table tr { + background-color: #fff; + border-top: 1px solid #ccc; +} + +.github-markdown table th, +.github-markdown table td { + padding: 6px 13px; + border: 1px solid #ddd; +} + +.github-markdown table tr:nth-child(2n) { + background-color: #f8f8f8; +} + +/** badge(.svg) does not have border */ +.github-markdown img:not([src*=".svg"]) { + max-width: 100%; + box-shadow: 1px 1px 1px rgba(0,0,0,0.5); +} diff --git a/div/dcdiv.html b/div/dcdiv.html deleted file mode 100644 index 7299cae..0000000 --- a/div/dcdiv.html +++ /dev/null @@ -1 +0,0 @@ -div/dcdiv \ No newline at end of file diff --git a/div/div.html b/div/div.html deleted file mode 100644 index 27cbea7..0000000 --- a/div/div.html +++ /dev/null @@ -1,54 +0,0 @@ -div/div
      var bdiv_t = function(lt, sub){

      Computes quotient and remainder of two big endian arrays.

      -

      -Computes quotient and remainder of two big endian arrays -using long division algorithm (the one teached in -european primary schools).

      -

      /!\ This algorithm modifies its first operand.

      -

      HYP : q is at least as large as r - b is not zero

      -

      Parameters:

      -
        -
      • r must be an array.
        (dividend and remainder)

        -
      • -
      • ri must be an int.
        (r left)

        -
      • -
      • rj must be an int.
        (r right)

        -
      • -
      • b must be an array.
        (divisor)

        -
      • -
      • bi must be an int.
        (b left)

        -
      • -
      • bj must be an int.
        (b right)

        -
      • -
      • q must be an array.
        (quotient, must be 0 initialized)

        -
      • -
      • qi must be an int.
        (q left)

        -
      • -

      /!\ There are implicit hypotheses - made on the size of the operands. - Should clarify.

      var div = function(r, ri, rj, b, bi, bj, q, qi){ - var k, t = ri + 1; - - do {

      trim leading zeros

      -
      - maybe could try to put this procedure inside the sub loop
      -- or assume that the number is trimed at the begining
      -  and put this statement at the end of the main loop
      while (ri < rj && r[ri] === 0) ++ri;

      search for a remainder block interval -greater than the divisor

      -
      - maybe could try binary search on the lt function
      -for another implementation
      k = ri + 1; - while (k <= rj && lt(r, ri, k, b, bi, bj)) ++k;

      remainder smaller than divisor --> end

      if (k > rj) break;

      divide current block interval by quotient

      do{

      increment quotient block corresponding -to current ls block of remainder interval

      ++q[qi + k - t];

      subtract divisor from current remainder -block interval

      sub(r, ri, k, b, bi, bj, r, ri, k); - - } while(!lt(r, ri, k, b, bi, bj)); - - - } while(true); - - }; - - return div; - -}; - -exports.bdiv_t = bdiv_t;
      \ No newline at end of file diff --git a/div/fourierdiv.html b/div/fourierdiv.html deleted file mode 100644 index 9609f39..0000000 --- a/div/fourierdiv.html +++ /dev/null @@ -1 +0,0 @@ -div/fourierdiv \ No newline at end of file diff --git a/div/knuthd.html b/div/knuthd.html deleted file mode 100644 index d465180..0000000 --- a/div/knuthd.html +++ /dev/null @@ -1 +0,0 @@ -div/knuthd \ No newline at end of file diff --git a/dump.json b/dump.json new file mode 100644 index 0000000..1051046 --- /dev/null +++ b/dump.json @@ -0,0 +1,4964 @@ +[ + { + "__docId__": 0, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/abs/abs.js", + "memberof": null, + "longname": "src/0-legacy/abs/abs.js", + "access": null, + "description": null, + "lineNumber": 7, + "content": "/**\n * COMPUTE THE ABSOLUTE VALUE OF NUMBER n\n */\n\n// exports.abs = function abs() {};\n\n" + }, + { + "__docId__": 1, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/abs/index.js", + "memberof": null, + "longname": "src/0-legacy/abs/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './abs' ;\n" + }, + { + "__docId__": 2, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/arithmetic/add/add.js", + "memberof": null, + "longname": "src/0-legacy/arithmetic/add/add.js", + "access": null, + "description": null, + "lineNumber": 7, + "content": "\n/**\n * @param {int} r base (radix)\n */\n\n\nexport function badd_t (r) {\n\n\n\t/**\n\t * Adds two big endian arrays, k >= i >= j\n\t * wraps\n\t *\n\t * @param {array} a first operand\n\t * @param {int} i0 a left\n\t * @param {int} i1 a right\n\t * @param {array} b second operand\n\t * @param {int} j0 b left\n\t * @param {int} j1 b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} k0 c left\n\t * @param {int} k1 c right\n\t */\n\n\treturn function(a, i0, i1, b, j0, j1, c, k0, k1){\n\t\tvar t, C = 0;\n\n\t\twhile(--j1 >= j0){\n\t\t\t--i1; --k1;\n\t\t\tt = a[i1] + b[j1] + C;\n\t\t\tc[k1] = t % r;\n\t\t\tC = t / r >= 1;\n\t\t}\n\n\t\twhile(--i1 >= i0){\n\t\t\t--k1;\n\t\t\tt = a[i1] + C;\n\t\t\tc[k1] = t % r;\n\t\t\tC = t / r >= 1;\n\t\t}\n\n\t\tif(--k1 >= k0){\n\t\t\tc[k1] = +C;\n\t\t}\n\n\t};\n\n}\n\n\n/**\n * @param {int} r base (radix)\n */\n\nexport function ladd_t(r){\n\n\t/**\n\t * Adds two little endian arrays, k >= i >= j\n\t * wraps\n\t *\n\t * @param {array} a first operand\n\t * @param {int} i0 a left\n\t * @param {int} i1 a right\n\t * @param {array} b second operand\n\t * @param {int} j0 b left\n\t * @param {int} j1 b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} k0 c left\n\t * @param {int} k1 c right\n\t */\n\n\treturn function(a, i0, i1, b, j0, j1, c, k0, k1){\n\t\tvar t, C = 0;\n\n\t\twhile(j0 < j1){\n\t\t\tt = a[i0] + b[j0] + C;\n\t\t\tc[k0] = t % r;\n\t\t\tC = t / r >= 1;\n\t\t\t++i0; ++j0; ++k0;\n\t\t}\n\n\t\twhile(i0 < i1){\n\t\t\tt = a[i0] + C;\n\t\t\tc[k0] = t % r;\n\t\t\tC = t / r >= 1;\n\t\t\t++i0; ++k0;\n\t\t}\n\n\t\tif(k0 < k1){\n\t\t\tc[k0] = +C;\n\t\t}\n\n\t};\n}\n" + }, + { + "__docId__": 3, + "kind": "function", + "static": true, + "variation": null, + "name": "badd_t", + "memberof": "src/0-legacy/arithmetic/add/add.js", + "longname": "src/0-legacy/arithmetic/add/add.js~badd_t", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/0-legacy/arithmetic/add/add.js", + "importStyle": "{badd_t}", + "description": "", + "lineNumber": 7, + "params": [ + { + "nullable": null, + "types": [ + "int" + ], + "spread": false, + "optional": false, + "name": "r", + "description": "base (radix)" + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 4, + "kind": "function", + "static": true, + "variation": null, + "name": "ladd_t", + "memberof": "src/0-legacy/arithmetic/add/add.js", + "longname": "src/0-legacy/arithmetic/add/add.js~ladd_t", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/0-legacy/arithmetic/add/add.js", + "importStyle": "{ladd_t}", + "description": "", + "lineNumber": 55, + "params": [ + { + "nullable": null, + "types": [ + "int" + ], + "spread": false, + "optional": false, + "name": "r", + "description": "base (radix)" + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 5, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/arithmetic/add/index.js", + "memberof": null, + "longname": "src/0-legacy/arithmetic/add/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './add' ;\n" + }, + { + "__docId__": 6, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/arithmetic/div/dcdiv.js", + "memberof": null, + "longname": "src/0-legacy/arithmetic/div/dcdiv.js", + "access": null, + "description": null, + "lineNumber": 3, + "content": "\n// https://gmplib.org/manual/Divide-and-Conquer-Division.html\n" + }, + { + "__docId__": 7, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/arithmetic/div/div.js", + "memberof": null, + "longname": "src/0-legacy/arithmetic/div/div.js", + "access": null, + "description": null, + "lineNumber": 4, + "content": "\n\n\nexport function bdiv_t (lt, sub){\n\n\t/**\n\t * Computes quotient and remainder of two big endian arrays.\n\t *

      \n\t * Computes quotient and remainder of two big endian arrays\n\t * using long division algorithm (the one teached in\n\t * european primary schools).\n\t *\n\t * /!\\ This algorithm modifies its first operand.\n\t *\n\t * HYP : q is at least as large as r\n\t * b is not zero\n\t *\n\t * @param {array} r dividend and remainder\n\t * @param {int} ri r left\n\t * @param {int} rj r right\n\t * @param {array} b divisor\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} q quotient, must be 0 initialized\n\t * @param {int} qi q left\n\t */\n\n\t// /!\\ There are implicit hypotheses\n\t// made on the size of the operands.\n\t// Should clarify.\n\n\tvar div = function(r, ri, rj, b, bi, bj, q, qi){\n\t\tvar k, t = ri + 1;\n\n\t\tdo {\n\n\t\t\t// trim leading zeros\n\t\t\t// - maybe could try to put this procedure inside the sub loop\n\t\t\t// - or assume that the number is trimed at the begining\n\t\t\t// and put this statement at the end of the main loop\n\t\t\twhile (ri < rj && r[ri] === 0) ++ri;\n\n\t\t\t// search for a remainder block interval\n\t\t\t// greater than the divisor\n\t\t\t// - maybe could try binary search on the lt function\n\t\t\t// for another implementation\n\t\t\tk = ri + 1;\n\t\t\twhile (k <= rj && lt(r, ri, k, b, bi, bj)) ++k;\n\n\t\t\t// remainder smaller than divisor --> end\n\t\t\tif (k > rj) break;\n\n\t\t\t// divide current block interval by quotient\n\t\t\tdo{\n\n\t\t\t\t// increment quotient block corresponding\n\t\t\t\t// to current ls block of remainder interval\n\t\t\t\t++q[qi + k - t];\n\n\t\t\t\t// subtract divisor from current remainder\n\t\t\t\t// block interval\n\t\t\t\tsub(r, ri, k, b, bi, bj, r, ri, k);\n\n\t\t\t} while(!lt(r, ri, k, b, bi, bj));\n\n\n\t\t} while(true);\n\n\t};\n\n\treturn div;\n\n}\n" + }, + { + "__docId__": 8, + "kind": "function", + "static": true, + "variation": null, + "name": "bdiv_t", + "memberof": "src/0-legacy/arithmetic/div/div.js", + "longname": "src/0-legacy/arithmetic/div/div.js~bdiv_t", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/0-legacy/arithmetic/div/div.js", + "importStyle": "{bdiv_t}", + "description": null, + "lineNumber": 4, + "undocument": true, + "params": [ + { + "name": "lt", + "types": [ + "*" + ] + }, + { + "name": "sub", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 9, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/arithmetic/div/fourierdiv.js", + "memberof": null, + "longname": "src/0-legacy/arithmetic/div/fourierdiv.js", + "access": null, + "description": null, + "lineNumber": 3, + "content": "\n// http://en.wikipedia.org/wiki/Fourier_division\n" + }, + { + "__docId__": 10, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/arithmetic/div/index.js", + "memberof": null, + "longname": "src/0-legacy/arithmetic/div/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './dcdiv' ;\nexport * from './div' ;\nexport * from './fourierdiv' ;\nexport * from './knuthd' ;\n" + }, + { + "__docId__": 11, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/arithmetic/div/knuthd.js", + "memberof": null, + "longname": "src/0-legacy/arithmetic/div/knuthd.js", + "access": null, + "description": null, + "lineNumber": 3, + "content": "\n// http://books.google.be/books?id=VicPJYM0I5QC&pg=PA184&lpg=PA184&dq=knuth+algorithm+d&source=bl&ots=2n-NJWuw1o&sig=47hDkFG780BqE2mmi9OMPqbK4Fs&hl=en&sa=X&ei=_ioMVKbKFMawOZT_gaAH&ved=0CDkQ6AEwAw#v=onepage&q=knuth%20algorithm%20d&f=false\n" + }, + { + "__docId__": 12, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/arithmetic/index.js", + "memberof": null, + "longname": "src/0-legacy/arithmetic/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './add' ;\nexport * from './div' ;\nexport * from './mul' ;\nexport * from './sub' ;\n" + }, + { + "__docId__": 13, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/arithmetic/mul/index.js", + "memberof": null, + "longname": "src/0-legacy/arithmetic/mul/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './karatsuba' ;\nexport * from './mul' ;\nexport * from './mul53' ;\nexport * from './toomcook' ;\n" + }, + { + "__docId__": 14, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/arithmetic/mul/karatsuba.js", + "memberof": null, + "longname": "src/0-legacy/arithmetic/mul/karatsuba.js", + "access": null, + "description": null, + "lineNumber": 59, + "content": "/**\n * /!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n *\n *\n * @param {function} add addition algorithm\n * @param {function} sub subtraction algorithm\n * @param {function} mul multiplication algorithm\n * @param {function} copy copy algorithm\n * @param {function} calloc array allocator\n * @param {uint} r base (radix)\n *\n *\n * EXPLANATION\n * ###########\n *\n * We consider the numbers a and b, both of size N = 2n.\n *\n * We divide a and b into their lower and upper parts.\n *\n * a = a1 r^{n} + a0 (1)\n * b = b1 r^{n} + b0 (2)\n *\n * We express the product of a and b using their lower and upper parts.\n *\n * a b = (a1 r^{n} + a0) (b1 r^{n} + b0) (3)\n * = a1 b1 r^{2n} + (a1 b0 + a0 b1) r^{n} + a0 b0 (4)\n *\n * This gives us 4 multiplications with operands of size n.\n * Using a simple trick, we can reduce this computation to 3 multiplications.\n *\n * We give the 3 terms of (4) the names z0, z1 and z2.\n *\n * z2 = a1 b1\n * z1 = a1 b0 + a0 b1\n * z0 = a0 b0\n *\n * a b = z2 r^{2n} + z1 r^{n} + z0\n *\n * We then express z1 using z0, z2 and one additional multiplication.\n *\n * (a1 + a0)(b1 + b0) = a1 b1 + a0 b0 + (a1 b0 + a0 b1)\n * = z2 + z0 + z1\n *\n * z1 = (a1 + a0)(b1 + b0) - z2 - z0\n *\n * AN ANOTHER WAY AROUND (not used here)\n *\n * (a1 - a0)(b1 - b0) = (a1 b1 + a0 b0) - (a1 b0 + a0 b1)\n * (a0 - a1)(b1 - b0) = (a1 b0 + a0 b1) - (a1 b1 + a0 b0)\n * a b = (r^{2n} + r^{n})a1 b1 + r^{n}(a0 - a1)(b1 - b0) + (r^{n} + 1)a0 b0\n *\n * This algorithm is a generalization of the Toom-Cook algorithm, when m = n = 2.\n *\n * For further reference, see\n * - http://en.wikipedia.org/wiki/Karatsuba_algorithm\n * - http://en.wikipedia.org/wiki/Toom–Cook_multiplication\n */\n\nexport function bkaratsuba_t (add, sub, mul, calloc, mov, r, wrap){\n\n\t/**\n\t * Multiply two big endian arrays using karatsuba algorithm,\n\t * i >= j, k >= 2 * i\n\t *\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t */\n\n\tvar karatsuba = function(a, ai, aj, b, bi, bj, c, ci, cj){\n\n\t\tvar z0, z2, t1, t2, t3, n, I, N, N_, i_, j_, i, j, k;\n\n\t\ti = aj - ai;\n\t\tj = bj - bi;\n\t\tk = cj - ci;\n\n\t\t// EMPTY CASE\n\t\tif (i <= 0 || j <= 0 || k <= 0) return;\n\n\t\t// BASE CASE i = j = 1\n\t\tif (i === 1) {\n\n\t\t\tz0 = a[ai] * b[bi];\n\t\t\tc[cj-1] = z0 % r;\n\n\t\t\tif (k > 1) {\n\t\t\t\tc[cj-2] = (z0 - c[cj-1]) / r;\n\t\t\t}\n\n\t\t}\n\n\t\t// RECURSION\n\t\telse{\n\t\t\tn = Math.ceil(i / 2);\n\t\t\tI = i + j;\n\t\t\tN = 2 * n;\n\t\t\tN_ = I - N;\n\t\t\ti_ = aj - n;\n\t\t\tj_ = Math.max(bi, bj - n);\n\n\t\t\tt1 = calloc(n + 1); // + 1 to handle addition overflows\n\t\t\tt2 = calloc(n + 1); // and guarantee reducing k for the\n\t\t\tt3 = calloc(N + 1); // recursive calls\n\t\t\tz2 = calloc(N_);\n\t\t\tz0 = calloc(N);\n\n\t\t// RECURSIVE CALLS\n\t\t\tmul(a, ai, i_, b, bi, j_, z2, 0, N_); // z2 = a1.b1\n\t\t\tmul(a, i_, aj, b, j_, bj, z0, 0, N); // z0 = a0.b0\n\t\t\tadd(a, i_, aj, a, ai, i_, t1, 0, n + 1); // (a0 + a1)\n\t\t\tadd(b, bi, j_, b, j_, bj, t2, 0, n + 1); // (b1 + b0)\n\t\t\tmul(t1, 1, n + 1, t2, 1, n + 1, t3, 1, N + 1); // (a0 + a1)(b1 + b0)\n\n\t\t// BUILD OUTPUT\n\t\t\tmov(z2, 0, N_, c, cj - I); // + z2 . r^{2n}\n\t\t\tmov(z0, 0, N , c, cj - N); // + z0\n\n\t\t\tif (t1[0]) {\n\t\t\t\t// overflow on t1, add t2 . r^{n}\n\t\t\t\tadd(t3, 0, N + 1 - n, t2, 1, n + 1, t3, 0, N + 1 - n);\n\t\t\t}\n\n\t\t\tif (t2[0]) {\n\t\t\t\t// overflow on t2, add t1 . r^{n}\n\t\t\t\tadd(t3, 0, N + 1 - n, t1, 1, n + 1, t3, 0, N + 1 - n);\n\t\t\t}\n\n\t\t\tif (t1[0] && t2[0]) {\n\t\t\t\t// overflow on t1 and t2, add 1 . r^{n+1}\n\t\t\t\tadd(t3, 0, N - n, t1, 0, 1, t3, 0, N - n);\n\t\t\t}\n\n\t\t\tadd(c, ci, cj - n, t3, 0, N + 1, c, ci, cj - n); // + (a0 + a1)(b1 + b0) . r^{n}\n\t\t\tsub(c, ci, cj - n, z2, 0, N_, c, ci, cj - n); // - z2 . r^{n}\n\t\t\tsub(c, ci, cj - n, z0, 0, N, c, ci, cj - n); // - z1 . r^{n}\n\t\t}\n\n\t};\n\n\tif (wrap !== undefined) karatsuba = wrap(karatsuba);\n\tif (mul === undefined) mul = karatsuba;\n\n\treturn karatsuba;\n\n}\n" + }, + { + "__docId__": 15, + "kind": "function", + "static": true, + "variation": null, + "name": "bkaratsuba_t", + "memberof": "src/0-legacy/arithmetic/mul/karatsuba.js", + "longname": "src/0-legacy/arithmetic/mul/karatsuba.js~bkaratsuba_t", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/0-legacy/arithmetic/mul/karatsuba.js", + "importStyle": "{bkaratsuba_t}", + "description": "/!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)", + "lineNumber": 59, + "params": [ + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "add", + "description": "addition algorithm" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "sub", + "description": "subtraction algorithm" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "mul", + "description": "multiplication algorithm" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "copy", + "description": "copy algorithm" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "calloc", + "description": "array allocator" + }, + { + "nullable": null, + "types": [ + "uint" + ], + "spread": false, + "optional": false, + "name": "r", + "description": "base (radix)\n\n\nEXPLANATION\n###########\n\nWe consider the numbers a and b, both of size N = 2n.\n\nWe divide a and b into their lower and upper parts.\n\na = a1 r^{n} + a0 (1)\nb = b1 r^{n} + b0 (2)\n\nWe express the product of a and b using their lower and upper parts.\n\na b = (a1 r^{n} + a0) (b1 r^{n} + b0) (3)\n = a1 b1 r^{2n} + (a1 b0 + a0 b1) r^{n} + a0 b0 (4)\n\nThis gives us 4 multiplications with operands of size n.\nUsing a simple trick, we can reduce this computation to 3 multiplications.\n\nWe give the 3 terms of (4) the names z0, z1 and z2.\n\nz2 = a1 b1\nz1 = a1 b0 + a0 b1\nz0 = a0 b0\n\na b = z2 r^{2n} + z1 r^{n} + z0\n\nWe then express z1 using z0, z2 and one additional multiplication.\n\n(a1 + a0)(b1 + b0) = a1 b1 + a0 b0 + (a1 b0 + a0 b1)\n = z2 + z0 + z1\n\nz1 = (a1 + a0)(b1 + b0) - z2 - z0\n\nAN ANOTHER WAY AROUND (not used here)\n\n(a1 - a0)(b1 - b0) = (a1 b1 + a0 b0) - (a1 b0 + a0 b1)\n(a0 - a1)(b1 - b0) = (a1 b0 + a0 b1) - (a1 b1 + a0 b0)\na b = (r^{2n} + r^{n})a1 b1 + r^{n}(a0 - a1)(b1 - b0) + (r^{n} + 1)a0 b0\n\nThis algorithm is a generalization of the Toom-Cook algorithm, when m = n = 2.\n\nFor further reference, see\n - http://en.wikipedia.org/wiki/Karatsuba_algorithm\n - http://en.wikipedia.org/wiki/Toom–Cook_multiplication" + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 16, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/arithmetic/mul/mul.js", + "memberof": null, + "longname": "src/0-legacy/arithmetic/mul/mul.js", + "access": null, + "description": null, + "lineNumber": 2, + "content": "\nexport function bmul_t (r){\n\n\t/**\n\t * Computes product of two big endian arrays.\n\t *

      \n\t * Computes product of two big endian arrays\n\t * using long multiplication algorithm (the one teached in\n\t * european primary schools)\n\t */\n\n\tvar mul = function(a, ai, aj, b, bi, bj, c, ci, cj){\n\t\tvar ak, ck = --cj, ct, t, u, v, w, y, z;\n\n\t\twhile (bj --> bi && ck >= ci) {\n\t\t\tfor (ak = aj, w = 0; ak --> ai && ck >= ci; --ck) {\n\t\t\t\tt = b[bj] * a[ak];\n\t\t\t\tu = t % r;\n\t\t\t\tv = c[ck] + u + w;\n\n\t\t\t\ty = v % r;\n\n\t\t\t\tc[ck] = y;\n\n\t\t\t\tz = (v - y) / r;\n\n\t\t\t\tfor (ct = ck - 1; z > 0 && ct >= ci; --ct) {\n\t\t\t\t\tv = c[ct] + z;\n\t\t\t\t\ty = v % r;\n\t\t\t\t\tc[ct] = y;\n\t\t\t\t\tz = (v - y) / r;\n\t\t\t\t}\n\n\t\t\t\tw = (t - u) / r;\n\t\t\t}\n\t\t\tck = --cj;\n\t\t}\n\t};\n\n\treturn mul;\n\n}\n" + }, + { + "__docId__": 17, + "kind": "function", + "static": true, + "variation": null, + "name": "bmul_t", + "memberof": "src/0-legacy/arithmetic/mul/mul.js", + "longname": "src/0-legacy/arithmetic/mul/mul.js~bmul_t", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/0-legacy/arithmetic/mul/mul.js", + "importStyle": "{bmul_t}", + "description": null, + "lineNumber": 2, + "undocument": true, + "params": [ + { + "name": "r", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 18, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/arithmetic/mul/mul53.js", + "memberof": null, + "longname": "src/0-legacy/arithmetic/mul/mul53.js", + "access": null, + "description": null, + "lineNumber": 8, + "content": "/**\n * /!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n *\n * big endian 1 block multiplication\n *\n */\n\nexport function bmul53_t (r){\n\n\t/**\n\t * Multiply two blocks, result is put in a 1 or 2 blocks big endian array.\n\t * aj - ai <= 1, bj - bi <= 1, cj - ci <= 2\n\t *\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t */\n\n\tvar mul = function(a, ai, aj, b, bi, bj, c, ci, cj){\n\n\t\tvar v;\n\n\t\t// EMPTY CASE\n\t\tif (aj <= ai || bj <= bi || cj <= ci) return;\n\n\t\tv = a[ai] * b[bi];\n\t\tc[cj-1] = v % r;\n\n\t\tif (cj > ci + 1) {\n\t\t\tc[cj-2] = (v - c[cj-1]) / r;\n\t\t}\n\n\t};\n\n\treturn mul;\n\n}\n\n/**\n * /!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n *\n * little endian 1 block multiplication\n *\n */\n\nexport function lmul53_t (r){\n\n\t/**\n\t * Multiply two blocks, result is put in a 1 or 2 blocks little endian array.\n\t * aj - ai <= 1, bj - bi <= 1, cj - ci <= 2\n\t *\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t */\n\n\tvar mul = function(a, ai, aj, b, bi, bj, c, ci, cj){\n\n\t\tvar v;\n\n\t\t// EMPTY CASE\n\t\tif (aj <= ai || bj <= bi || cj <= ci) return;\n\n\t\tv = a[ai] * b[bi];\n\t\tc[ci] = v % r;\n\n\t\tif (cj > ci + 1) {\n\t\t\tc[ci+1] = (v - c[ci]) / r;\n\t\t}\n\n\t};\n\n\treturn mul;\n\n}\n" + }, + { + "__docId__": 19, + "kind": "function", + "static": true, + "variation": null, + "name": "bmul53_t", + "memberof": "src/0-legacy/arithmetic/mul/mul53.js", + "longname": "src/0-legacy/arithmetic/mul/mul53.js~bmul53_t", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/0-legacy/arithmetic/mul/mul53.js", + "importStyle": "{bmul53_t}", + "description": "/!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n\nbig endian 1 block multiplication", + "lineNumber": 8, + "params": [ + { + "name": "r", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 20, + "kind": "function", + "static": true, + "variation": null, + "name": "lmul53_t", + "memberof": "src/0-legacy/arithmetic/mul/mul53.js", + "longname": "src/0-legacy/arithmetic/mul/mul53.js~lmul53_t", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/0-legacy/arithmetic/mul/mul53.js", + "importStyle": "{lmul53_t}", + "description": "/!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n\nlittle endian 1 block multiplication", + "lineNumber": 53, + "params": [ + { + "name": "r", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 21, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/arithmetic/mul/toomcook.js", + "memberof": null, + "longname": "src/0-legacy/arithmetic/mul/toomcook.js", + "access": null, + "description": null, + "lineNumber": 3, + "content": "\n// http://en.wikipedia.org/wiki/Toom–Cook_multiplication\n" + }, + { + "__docId__": 22, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/arithmetic/sub/index.js", + "memberof": null, + "longname": "src/0-legacy/arithmetic/sub/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './sub' ;\n" + }, + { + "__docId__": 23, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/arithmetic/sub/sub.js", + "memberof": null, + "longname": "src/0-legacy/arithmetic/sub/sub.js", + "access": null, + "description": null, + "lineNumber": 7, + "content": "\n/**\n * @param {int} r base (radix)\n */\n\n\nexport function bsub_t (r){\n\n\t/**\n\t * Subtracts two big endian arrays, k >= i >= j\n\t * wraps\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t */\n\n\treturn function(a, ai, aj, b, bi, bj, c, ci, cj){\n\t\tvar T, C = 0;\n\n\t\twhile(--bj >= bi){\n\t\t\t--aj; --cj;\n\t\t\tT = C;\n\t\t\tC = a[aj] < b[bj] + T;\n\t\t\tc[cj] = a[aj] - b[bj] + (C*r - T);\n\t\t}\n\n\t\twhile(--aj >= ai){\n\t\t\t--cj;\n\t\t\tT = C;\n\t\t\tC = a[aj] < T;\n\t\t\tc[cj] = a[aj] + (C*r - T);\n\t\t}\n\n\t\tif(C){\n\t\t\twhile(--cj >= ci){\n\t\t\t\tc[cj] = r - 1;\n\t\t\t}\n\t\t}\n\n\t};\n}\n\n\n/**\n * @param {int} r base (radix)\n */\nexport function lsub_t (r){\n\n\t/**\n\t * Subtracts two little endian arrays, k >= i >= j\n\t * wraps\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t */\n\n\treturn function(a, ai, aj, b, bi, bj, c, ci, cj){\n\t\tvar T, C = 0;\n\n\t\twhile(bi < bj){\n\t\t\tT = C;\n\t\t\tC = a[ai] < b[bi] + T;\n\t\t\tc[ci] = a[ai] - b[bi] + (C*r - T);\n\t\t\t++ai; ++bi; ++ci;\n\t\t}\n\n\t\twhile(ai < aj){\n\t\t\tT = C;\n\t\t\tC = a[ai] < T;\n\t\t\tc[ci] = a[ai] + (C*r - T);\n\t\t\t++ai; ++ci;\n\t\t}\n\n\t\tif(C){\n\t\t\twhile(ci < cj){\n\t\t\t\tc[ci] = r - 1;\n\t\t\t\t++ci;\n\t\t\t}\n\t\t}\n\n\t};\n}\n" + }, + { + "__docId__": 24, + "kind": "function", + "static": true, + "variation": null, + "name": "bsub_t", + "memberof": "src/0-legacy/arithmetic/sub/sub.js", + "longname": "src/0-legacy/arithmetic/sub/sub.js~bsub_t", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/0-legacy/arithmetic/sub/sub.js", + "importStyle": "{bsub_t}", + "description": "", + "lineNumber": 7, + "params": [ + { + "nullable": null, + "types": [ + "int" + ], + "spread": false, + "optional": false, + "name": "r", + "description": "base (radix)" + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 25, + "kind": "function", + "static": true, + "variation": null, + "name": "lsub_t", + "memberof": "src/0-legacy/arithmetic/sub/sub.js", + "longname": "src/0-legacy/arithmetic/sub/sub.js~lsub_t", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/0-legacy/arithmetic/sub/sub.js", + "importStyle": "{lsub_t}", + "description": "", + "lineNumber": 54, + "params": [ + { + "nullable": null, + "types": [ + "int" + ], + "spread": false, + "optional": false, + "name": "r", + "description": "base (radix)" + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 26, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/binary/and/and.js", + "memberof": null, + "longname": "src/0-legacy/binary/and/and.js", + "access": null, + "description": null, + "lineNumber": 13, + "content": "\n/**\n *\n * BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| = |b| = |c| > 0\n *\n *\n */\n\nexport function and (a, a0, b, b0, c, c0, c1) {\n\n\twhile (c0 < c1) c[c0++] = a[a0++] & b[b0++];\n\n}\n\n\n/**\n * BIG ENDIAN BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| >= |b| > 0\n *\n * treats b as if it was represented with the same number of blocks as a\n */\n\nexport function band_t (r){\n\n\tvar _r = r / 2;\n\n\treturn function (a, a0, a1, b, b0, b1, c, c0, c1) {\n\n\t\tvar at = a1 - b1 + b0;\n\t\tvar ct = c0 + at - a0;\n\n\t\tif (b[b0] < _r) while (c0 < ct) c[c0++] = 0;\n\t\telse while (c0 < ct) c[c0++] = a[a0++];\n\n\t\twhile (c0 < c1) c[c0++] = a[at++] & b[b0++];\n\n\t};\n\n}\n\n\n\n\n/**\n * LITTLE ENDIAN BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| >= |b| > 0\n *\n * treats b as if it was represented with the same number of blocks as a\n */\n\nexport function land_t (r){\n\n\tvar _r = r / 2;\n\n\treturn function (a, a0, a1, b, b0, b1, c, c0, c1) {\n\n\t\tvar ct = c0 + b1 - b0;\n\n\t\twhile (c0 < ct) c[c0++] = a[a0++] & b[b0++];\n\n\t\tif (b[b0 - 1] < _r) while (c0 < c1) c[c0++] = 0;\n\t\telse while (c0 < c1) c[c0++] = a[a0++];\n\n\n\t};\n\n}\n" + }, + { + "__docId__": 27, + "kind": "function", + "static": true, + "variation": null, + "name": "and", + "memberof": "src/0-legacy/binary/and/and.js", + "longname": "src/0-legacy/binary/and/and.js~and", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/0-legacy/binary/and/and.js", + "importStyle": "{and}", + "description": "\nBINARY and APPLIED ON a AND b\n\nMeaningful only when r is a power of 2.\n\n|a| = |b| = |c| > 0", + "lineNumber": 13, + "params": [ + { + "name": "a", + "types": [ + "*" + ] + }, + { + "name": "a0", + "types": [ + "*" + ] + }, + { + "name": "b", + "types": [ + "*" + ] + }, + { + "name": "b0", + "types": [ + "*" + ] + }, + { + "name": "c", + "types": [ + "*" + ] + }, + { + "name": "c0", + "types": [ + "*" + ] + }, + { + "name": "c1", + "types": [ + "*" + ] + } + ], + "generator": false + }, + { + "__docId__": 28, + "kind": "function", + "static": true, + "variation": null, + "name": "band_t", + "memberof": "src/0-legacy/binary/and/and.js", + "longname": "src/0-legacy/binary/and/and.js~band_t", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/0-legacy/binary/and/and.js", + "importStyle": "{band_t}", + "description": "BIG ENDIAN BINARY and APPLIED ON a AND b\n\nMeaningful only when r is a power of 2.\n\n|a| >= |b| > 0\n\ntreats b as if it was represented with the same number of blocks as a", + "lineNumber": 30, + "params": [ + { + "name": "r", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 29, + "kind": "function", + "static": true, + "variation": null, + "name": "land_t", + "memberof": "src/0-legacy/binary/and/and.js", + "longname": "src/0-legacy/binary/and/and.js~land_t", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/0-legacy/binary/and/and.js", + "importStyle": "{land_t}", + "description": "LITTLE ENDIAN BINARY and APPLIED ON a AND b\n\nMeaningful only when r is a power of 2.\n\n|a| >= |b| > 0\n\ntreats b as if it was represented with the same number of blocks as a", + "lineNumber": 61, + "params": [ + { + "name": "r", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 30, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/binary/and/index.js", + "memberof": null, + "longname": "src/0-legacy/binary/and/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './and' ;\n" + }, + { + "__docId__": 31, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/binary/index.js", + "memberof": null, + "longname": "src/0-legacy/binary/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './and' ;\nexport * from './not' ;\nexport * from './or' ;\nexport * from './xor' ;\n" + }, + { + "__docId__": 32, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/binary/not/index.js", + "memberof": null, + "longname": "src/0-legacy/binary/not/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './not' ;\n" + }, + { + "__docId__": 33, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/binary/not/not.js", + "memberof": null, + "longname": "src/0-legacy/binary/not/not.js", + "access": null, + "description": null, + "lineNumber": 3, + "content": "/**\n * BINARY not APPLIED ON a\n */" + }, + { + "__docId__": 34, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/binary/or/index.js", + "memberof": null, + "longname": "src/0-legacy/binary/or/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './or' ;\n" + }, + { + "__docId__": 35, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/binary/or/or.js", + "memberof": null, + "longname": "src/0-legacy/binary/or/or.js", + "access": null, + "description": null, + "lineNumber": 3, + "content": "/**\n * BINARY or APPLIED ON a AND b\n */" + }, + { + "__docId__": 36, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/binary/xor/index.js", + "memberof": null, + "longname": "src/0-legacy/binary/xor/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './xor' ;\n" + }, + { + "__docId__": 37, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/binary/xor/xor.js", + "memberof": null, + "longname": "src/0-legacy/binary/xor/xor.js", + "access": null, + "description": null, + "lineNumber": 3, + "content": "/**\n * BINARY xor APPLIED ON a AND b\n */" + }, + { + "__docId__": 38, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/compare/cmp.js", + "memberof": null, + "longname": "src/0-legacy/compare/cmp.js", + "access": null, + "description": null, + "lineNumber": 2, + "content": "\nexport function bcmp_t ( ) {\n\n\n\t/**\n\t * Compares two big endian arrays, |a| >= |b|\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t *\n\t * @return {int} 1 if a > b; 0 if a = b; -1 otherwise.\n\t */\n\n\treturn function(a, ai, aj, b, bi, bj){\n\n\t\tvar tmp = aj - bj + bi;\n\n\t\tfor (; ai < tmp; ++ai)\n\t\t\tif (a[ai] > 0) return 1;\n\n\n\t\t// same size aj - ai === bj - bi\n\t\tfor (; ai < aj; ++ai, ++bi) {\n\t\t\tif (a[ai] > b[bi]) return 1;\n\t\t\tif (a[ai] < b[bi]) return -1;\n\t\t}\n\n\t\treturn 0;\n\t};\n\n}\n\nexport function lcmp_t ( ) {\n\n\t/**\n\t * Compares two little endian arrays, |a| >= |b|\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t *\n\t * @return {int} 1 if a > b; 0 if a = b; -1 otherwise.\n\t */\n\n\treturn function(a, ai, aj, b, bi, bj){\n\n\t\tvar tmp = ai + bj - bi;\n\n\t\t--aj; --bj;\n\n\t\tfor (; aj >= tmp; --aj)\n\t\t\tif (a[aj] > 0) return 1;\n\n\n\t\t// same size aj - ai === bj - bi\n\t\tfor (; aj >= ai; --aj, --bj) {\n\t\t\tif (a[aj] > b[bj]) return 1;\n\t\t\tif (a[aj] < b[bj]) return -1;\n\t\t}\n\n\t\treturn 0;\n\t};\n}\n" + }, + { + "__docId__": 39, + "kind": "function", + "static": true, + "variation": null, + "name": "bcmp_t", + "memberof": "src/0-legacy/compare/cmp.js", + "longname": "src/0-legacy/compare/cmp.js~bcmp_t", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/0-legacy/compare/cmp.js", + "importStyle": "{bcmp_t}", + "description": null, + "lineNumber": 2, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 40, + "kind": "function", + "static": true, + "variation": null, + "name": "lcmp_t", + "memberof": "src/0-legacy/compare/cmp.js", + "longname": "src/0-legacy/compare/cmp.js~lcmp_t", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/0-legacy/compare/cmp.js", + "importStyle": "{lcmp_t}", + "description": null, + "lineNumber": 37, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 41, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/compare/eq.js", + "memberof": null, + "longname": "src/0-legacy/compare/eq.js", + "access": null, + "description": null, + "lineNumber": 6, + "content": "/**\n * Wrapper for a comparison operator that returns true iff\n * _a_ is equal to _b_.\n */\n\nexport function eq_t (cmp){\n\treturn function (a, ai, aj, b, bi, bj) {\n\t\treturn cmp(a, ai, aj, b, bi, bj) === 0;\n\t};\n}\n" + }, + { + "__docId__": 42, + "kind": "function", + "static": true, + "variation": null, + "name": "eq_t", + "memberof": "src/0-legacy/compare/eq.js", + "longname": "src/0-legacy/compare/eq.js~eq_t", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/0-legacy/compare/eq.js", + "importStyle": "{eq_t}", + "description": "Wrapper for a comparison operator that returns true iff\n_a_ is equal to _b_.", + "lineNumber": 6, + "params": [ + { + "name": "cmp", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 43, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/compare/ge.js", + "memberof": null, + "longname": "src/0-legacy/compare/ge.js", + "access": null, + "description": null, + "lineNumber": 8, + "content": "\n\n/**\n * Wrapper for a comparison operator that returns true iff\n * _a_ is greater or equal to _b_.\n */\n\nexport function ge_t (cmp){\n\treturn function (a, ai, aj, b, bi, bj) {\n\t\treturn cmp(a, ai, aj, b, bi, bj) >= 0;\n\t};\n}\n" + }, + { + "__docId__": 44, + "kind": "function", + "static": true, + "variation": null, + "name": "ge_t", + "memberof": "src/0-legacy/compare/ge.js", + "longname": "src/0-legacy/compare/ge.js~ge_t", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/0-legacy/compare/ge.js", + "importStyle": "{ge_t}", + "description": "Wrapper for a comparison operator that returns true iff\n_a_ is greater or equal to _b_.", + "lineNumber": 8, + "params": [ + { + "name": "cmp", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 45, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/compare/gt.js", + "memberof": null, + "longname": "src/0-legacy/compare/gt.js", + "access": null, + "description": null, + "lineNumber": 8, + "content": "\n\n/**\n * Wrapper for a comparison operator that returns true iff\n * _a_ is greater than _b_.\n */\n\nexport function gt_t (cmp){\n\treturn function (a, ai, aj, b, bi, bj) {\n\t\treturn cmp(a, ai, aj, b, bi, bj) > 0;\n\t};\n}\n" + }, + { + "__docId__": 46, + "kind": "function", + "static": true, + "variation": null, + "name": "gt_t", + "memberof": "src/0-legacy/compare/gt.js", + "longname": "src/0-legacy/compare/gt.js~gt_t", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/0-legacy/compare/gt.js", + "importStyle": "{gt_t}", + "description": "Wrapper for a comparison operator that returns true iff\n_a_ is greater than _b_.", + "lineNumber": 8, + "params": [ + { + "name": "cmp", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 47, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/compare/index.js", + "memberof": null, + "longname": "src/0-legacy/compare/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './cmp' ;\nexport * from './eq' ;\nexport * from './ge' ;\nexport * from './gt' ;\nexport * from './le' ;\nexport * from './lt' ;\nexport * from './ne' ;\n" + }, + { + "__docId__": 48, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/compare/le.js", + "memberof": null, + "longname": "src/0-legacy/compare/le.js", + "access": null, + "description": null, + "lineNumber": 8, + "content": "\n\n/**\n * Wrapper for a comparison operator that returns true iff\n * _a_ is less or equal to _b_.\n */\n\nexport function le_t (cmp){\n\treturn function (a, ai, aj, b, bi, bj) {\n\t\treturn cmp(a, ai, aj, b, bi, bj) <= 0;\n\t};\n}\n" + }, + { + "__docId__": 49, + "kind": "function", + "static": true, + "variation": null, + "name": "le_t", + "memberof": "src/0-legacy/compare/le.js", + "longname": "src/0-legacy/compare/le.js~le_t", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/0-legacy/compare/le.js", + "importStyle": "{le_t}", + "description": "Wrapper for a comparison operator that returns true iff\n_a_ is less or equal to _b_.", + "lineNumber": 8, + "params": [ + { + "name": "cmp", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 50, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/compare/lt.js", + "memberof": null, + "longname": "src/0-legacy/compare/lt.js", + "access": null, + "description": null, + "lineNumber": 8, + "content": "\n\n/**\n * Wrapper for a comparison operator that returns true iff\n * _a_ is less than _b_.\n */\n\nexport function lt_t (cmp){\n\treturn function (a, ai, aj, b, bi, bj) {\n\t\treturn cmp(a, ai, aj, b, bi, bj) < 0;\n\t};\n}\n" + }, + { + "__docId__": 51, + "kind": "function", + "static": true, + "variation": null, + "name": "lt_t", + "memberof": "src/0-legacy/compare/lt.js", + "longname": "src/0-legacy/compare/lt.js~lt_t", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/0-legacy/compare/lt.js", + "importStyle": "{lt_t}", + "description": "Wrapper for a comparison operator that returns true iff\n_a_ is less than _b_.", + "lineNumber": 8, + "params": [ + { + "name": "cmp", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 52, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/compare/ne.js", + "memberof": null, + "longname": "src/0-legacy/compare/ne.js", + "access": null, + "description": null, + "lineNumber": 8, + "content": "\n\n/**\n * Wrapper for a comparison operator that returns true iff\n * _a_ is not equal to _b_.\n */\n\nexport function ne_t (cmp){\n\treturn function (a, ai, aj, b, bi, bj) {\n\t\treturn cmp(a, ai, aj, b, bi, bj) !== 0;\n\t};\n}\n" + }, + { + "__docId__": 53, + "kind": "function", + "static": true, + "variation": null, + "name": "ne_t", + "memberof": "src/0-legacy/compare/ne.js", + "longname": "src/0-legacy/compare/ne.js~ne_t", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/0-legacy/compare/ne.js", + "importStyle": "{ne_t}", + "description": "Wrapper for a comparison operator that returns true iff\n_a_ is not equal to _b_.", + "lineNumber": 8, + "params": [ + { + "name": "cmp", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 54, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/index.js", + "memberof": null, + "longname": "src/0-legacy/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './abs' ;\nexport * from './arithmetic' ;\nexport * from './binary' ;\nexport * from './compare' ;\nexport * from './others' ;\nexport * from './parse' ;\nexport * from './stringify' ;\n" + }, + { + "__docId__": 55, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/others/gcd/gcd.js", + "memberof": null, + "longname": "src/0-legacy/others/gcd/gcd.js", + "access": null, + "description": null, + "lineNumber": 3, + "content": "/**\n * COMPUTE THE GREATEST COMMON DIVISOR OF a AND b\n */" + }, + { + "__docId__": 56, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/others/gcd/index.js", + "memberof": null, + "longname": "src/0-legacy/others/gcd/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './gcd' ;\n" + }, + { + "__docId__": 57, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/others/index.js", + "memberof": null, + "longname": "src/0-legacy/others/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './gcd' ;\nexport * from './lcm' ;\nexport * from './log' ;\nexport * from './mod' ;\nexport * from './mpow' ;\nexport * from './neg' ;\nexport * from './pow' ;\nexport * from './sha' ;\nexport * from './shl' ;\nexport * from './wrap' ;\n" + }, + { + "__docId__": 58, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/others/lcm/index.js", + "memberof": null, + "longname": "src/0-legacy/others/lcm/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './lcm' ;\n" + }, + { + "__docId__": 59, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/others/lcm/lcm.js", + "memberof": null, + "longname": "src/0-legacy/others/lcm/lcm.js", + "access": null, + "description": null, + "lineNumber": 3, + "content": "/**\n * COMPUTE THE LEAST COMMON MULTIPLE OF a AND b\n */" + }, + { + "__docId__": 60, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/others/log/index.js", + "memberof": null, + "longname": "src/0-legacy/others/log/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './log' ;\n" + }, + { + "__docId__": 61, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/others/log/log.js", + "memberof": null, + "longname": "src/0-legacy/others/log/log.js", + "access": null, + "description": null, + "lineNumber": 4, + "content": "\n/**\n * FOR A NUMBER n COMPUTE THE GREATEST k SUCH THAT 2^k < n\n */" + }, + { + "__docId__": 62, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/others/mod/index.js", + "memberof": null, + "longname": "src/0-legacy/others/mod/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './mod' ;\nexport * from './montgomery' ;\n" + }, + { + "__docId__": 63, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/others/mod/mod.js", + "memberof": null, + "longname": "src/0-legacy/others/mod/mod.js", + "access": null, + "description": null, + "lineNumber": 4, + "content": "\n/**\n * COMPUTE MODULUS (a % b)\n */" + }, + { + "__docId__": 64, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/others/mod/montgomery.js", + "memberof": null, + "longname": "src/0-legacy/others/mod/montgomery.js", + "access": null, + "description": null, + "lineNumber": 4, + "content": "\n/**\n * COMPUTE MODULUS USING MONTGOMERY REDUCTION : http://en.wikipedia.org/wiki/Montgomery_reduction\n */" + }, + { + "__docId__": 65, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/others/mpow/index.js", + "memberof": null, + "longname": "src/0-legacy/others/mpow/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './mpow' ;\n" + }, + { + "__docId__": 66, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/others/mpow/mpow.js", + "memberof": null, + "longname": "src/0-legacy/others/mpow/mpow.js", + "access": null, + "description": null, + "lineNumber": 3, + "content": "/**\n * MODULAR EXPONENTIATION : http://en.wikipedia.org/wiki/Modular_exponentiation\n */" + }, + { + "__docId__": 67, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/others/neg/index.js", + "memberof": null, + "longname": "src/0-legacy/others/neg/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './neg' ;\n" + }, + { + "__docId__": 68, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/others/neg/neg.js", + "memberof": null, + "longname": "src/0-legacy/others/neg/neg.js", + "access": null, + "description": null, + "lineNumber": 3, + "content": "/**\n * COMPUTE THE NEGATIVE VALUE OF NUMBER n\n */" + }, + { + "__docId__": 69, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/others/pow/ebs.js", + "memberof": null, + "longname": "src/0-legacy/others/pow/ebs.js", + "access": null, + "description": null, + "lineNumber": 8, + "content": "/**\n * Computes pow(a, b) using exponentiation by squaring.\n *\n * *could add an additional base case for b = 1*\n *\n */\n\nexport function __ebs__ (alloc, iszero, setone, iseven, div2, minus1) {\n\n\tvar ebs = function (a, ai, aj, b, bi, bj, c, ci, cj) {\n\n\t\tvar t, u, m, n;\n\n\t\tif ( iszero(b, bi, bj) ) {\n\t\t\tsetone(c, ci, cj);\n\t\t}\n\t\telse if ( iseven(b, bi, bj) ) {\n\t\t\tm = bj - bi;\n\t\t\tt = alloc(m);\n\t\t\tt = div2(b, bi, bj, t, 0, m);\n\n\t\t\tn = cj - ci;\n\t\t\tu = alloc(n);\n\n\t\t\tebs(a, ai, aj, t, 0, m, u, 0, n);\n\n\t\t\tmul(u, 0, n, u, 0, n, c, ci, cj);\n\t\t}\n\t\telse{\n\t\t\tm = bj - bi;\n\t\t\tt = alloc(m);\n\t\t\tt = minus1(b, bi, bj, t, 0, m);\n\n\t\t\tn = cj - ci;\n\t\t\tu = alloc(n);\n\n\t\t\tebs(a, ai, aj, t, 0, m, u, 0, n);\n\n\t\t\tmul(a, ai, aj, u, 0, n, c, ci, cj);\n\t\t}\n\t};\n}\n" + }, + { + "__docId__": 70, + "kind": "function", + "static": true, + "variation": null, + "name": "__ebs__", + "memberof": "src/0-legacy/others/pow/ebs.js", + "longname": "src/0-legacy/others/pow/ebs.js~__ebs__", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/0-legacy/others/pow/ebs.js", + "importStyle": "{__ebs__}", + "description": "Computes pow(a, b) using exponentiation by squaring.\n\n*could add an additional base case for b = 1*", + "lineNumber": 8, + "params": [ + { + "name": "alloc", + "types": [ + "*" + ] + }, + { + "name": "iszero", + "types": [ + "*" + ] + }, + { + "name": "setone", + "types": [ + "*" + ] + }, + { + "name": "iseven", + "types": [ + "*" + ] + }, + { + "name": "div2", + "types": [ + "*" + ] + }, + { + "name": "minus1", + "types": [ + "*" + ] + } + ], + "generator": false + }, + { + "__docId__": 71, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/others/pow/index.js", + "memberof": null, + "longname": "src/0-legacy/others/pow/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './ebs' ;\nexport * from './pow' ;\n" + }, + { + "__docId__": 72, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/others/pow/pow.js", + "memberof": null, + "longname": "src/0-legacy/others/pow/pow.js", + "access": null, + "description": null, + "lineNumber": 6, + "content": "/**\n * Computes pow(a, b) using naive exponentiation.\n *\n */\n\nexport function __pow__ (alloc, isnotzero, setone, iseven, div2, minus1) {\n\n\tvar pow = function (a, ai, aj, b, bi, bj, c, ci, cj) {\n\n\t\tvar t, m;\n\n\t\tsetone(c, ci, cj);\n\n\t\twhile (isnotzero(b, bi, bj)) {\n\n\t\t\tmul(c, ci, cj, a, ai, aj, c, ci, cj);\n\n\t\t\tminus1(b, bi, bj, b, bi, bj);\n\t\t}\n\n\t};\n}\n" + }, + { + "__docId__": 73, + "kind": "function", + "static": true, + "variation": null, + "name": "__pow__", + "memberof": "src/0-legacy/others/pow/pow.js", + "longname": "src/0-legacy/others/pow/pow.js~__pow__", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/0-legacy/others/pow/pow.js", + "importStyle": "{__pow__}", + "description": "Computes pow(a, b) using naive exponentiation.", + "lineNumber": 6, + "params": [ + { + "name": "alloc", + "types": [ + "*" + ] + }, + { + "name": "isnotzero", + "types": [ + "*" + ] + }, + { + "name": "setone", + "types": [ + "*" + ] + }, + { + "name": "iseven", + "types": [ + "*" + ] + }, + { + "name": "div2", + "types": [ + "*" + ] + }, + { + "name": "minus1", + "types": [ + "*" + ] + } + ], + "generator": false + }, + { + "__docId__": 74, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/others/sha/index.js", + "memberof": null, + "longname": "src/0-legacy/others/sha/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './sha' ;\n" + }, + { + "__docId__": 75, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/others/sha/sha.js", + "memberof": null, + "longname": "src/0-legacy/others/sha/sha.js", + "access": null, + "description": null, + "lineNumber": 3, + "content": "/**\n * ARITHMETIC SHIFT\n */" + }, + { + "__docId__": 76, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/others/shl/index.js", + "memberof": null, + "longname": "src/0-legacy/others/shl/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './shl' ;\n" + }, + { + "__docId__": 77, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/others/shl/shl.js", + "memberof": null, + "longname": "src/0-legacy/others/shl/shl.js", + "access": null, + "description": null, + "lineNumber": 3, + "content": "/**\n * LOGICAL SHIFT\n */" + }, + { + "__docId__": 78, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/others/wrap/index.js", + "memberof": null, + "longname": "src/0-legacy/others/wrap/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './wrapbin' ;\nexport * from './wrapcmp' ;\nexport * from './wrapmov' ;\n" + }, + { + "__docId__": 79, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/others/wrap/wrapbin.js", + "memberof": null, + "longname": "src/0-legacy/others/wrap/wrapbin.js", + "access": null, + "description": null, + "lineNumber": 10, + "content": "/**\n * Wrapper for binary operator.\n * Ensures\n *\n * i >= j\n * i0, j0, k0 >= 0\n *\n */\n\nexport function wrapbin (fn){\n\n\treturn function(a, i0, i1, b, j0, j1, c, k0, k1){\n\n\t\tvar i, j, k;\n\n\t\tk0 = Math.max(0, k0);\n\t\tk = k1 - k0;\n\n\t\ti0 = Math.max(0, i0, i1 - k);\n\t\tj0 = Math.max(0, j0, j1 - k);\n\t\ti = i1 - i0;\n\t\tj = j1 - j0;\n\n\t\tif(i < j)\n\t\treturn fn(b, j0, j1, a, i0, i1, c, k0, k1);\n\n\t\telse\n\t\treturn fn(a, i0, i1, b, j0, j1, c, k0, k1);\n\t};\n}\n" + }, + { + "__docId__": 80, + "kind": "function", + "static": true, + "variation": null, + "name": "wrapbin", + "memberof": "src/0-legacy/others/wrap/wrapbin.js", + "longname": "src/0-legacy/others/wrap/wrapbin.js~wrapbin", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/0-legacy/others/wrap/wrapbin.js", + "importStyle": "{wrapbin}", + "description": "Wrapper for binary operator.\nEnsures\n\n i >= j\n i0, j0, k0 >= 0", + "lineNumber": 10, + "params": [ + { + "name": "fn", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 81, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/others/wrap/wrapcmp.js", + "memberof": null, + "longname": "src/0-legacy/others/wrap/wrapcmp.js", + "access": null, + "description": null, + "lineNumber": 4, + "content": "\n\n\nexport function wrapcmp (cmp) {\n\n\n\treturn function(a, ai, aj, b, bi, bj){\n\n\t\tif (aj - ai + bi - bj < 0) {\n\t\t\treturn - cmp(b, bi, bj, a, ai, aj);\n\t\t}\n\t\telse {\n\t\t\treturn cmp(a, ai, aj, b, bi, bj);\n\t\t}\n\n\t};\n\n}\n" + }, + { + "__docId__": 82, + "kind": "function", + "static": true, + "variation": null, + "name": "wrapcmp", + "memberof": "src/0-legacy/others/wrap/wrapcmp.js", + "longname": "src/0-legacy/others/wrap/wrapcmp.js~wrapcmp", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/0-legacy/others/wrap/wrapcmp.js", + "importStyle": "{wrapcmp}", + "description": null, + "lineNumber": 4, + "undocument": true, + "params": [ + { + "name": "cmp", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 83, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/others/wrap/wrapmov.js", + "memberof": null, + "longname": "src/0-legacy/others/wrap/wrapmov.js", + "access": null, + "description": null, + "lineNumber": 3, + "content": "\n\nexport function wrapmov (fn){\n\treturn function(a, i, j, b, k){\n\n\t\tif(i < 0){\n\t\t\tk -= i;\n\t\t\ti = 0;\n\t\t}\n\t\tif(k < 0){\n\t\t\ti -= k;\n\t\t\tk = 0;\n\t\t}\n\t\treturn fn(a, i, j, b, k);\n\n\t};\n}\n" + }, + { + "__docId__": 84, + "kind": "function", + "static": true, + "variation": null, + "name": "wrapmov", + "memberof": "src/0-legacy/others/wrap/wrapmov.js", + "longname": "src/0-legacy/others/wrap/wrapmov.js~wrapmov", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/0-legacy/others/wrap/wrapmov.js", + "importStyle": "{wrapmov}", + "description": null, + "lineNumber": 3, + "undocument": true, + "params": [ + { + "name": "fn", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 85, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/parse/index.js", + "memberof": null, + "longname": "src/0-legacy/parse/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './parse' ;\n" + }, + { + "__docId__": 86, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/parse/parse.js", + "memberof": null, + "longname": "src/0-legacy/parse/parse.js", + "access": null, + "description": null, + "lineNumber": 13, + "content": "\n/**\n * Function template for number parsing.\n * Endianess provided by the iterator function\n * iterator function must be reverse ordered\n *\n * @param {int} f from radix\n * @param {int} t to radix\n * @param {function} iter iterator function\n */\n\n\nexport function parse_t ( t , f , iter ) {\n\n\tif(t >= f){\n\n\t\tif(f > 36) throw 'f > 36 not implemented';\n\n\t\tvar z = 0, log = t;\n\t\twhile(log >= f){\n\t\t\tif (log % f) break;\n\t\t\tlog /= f;\n\t\t\t++z;\n\t\t}\n\n\t\tif (log !== 1) throw 'log(f) does not divide log(t) not implemented';\n\n\t\t// immediate log(t) divides log(f)\n\t\treturn function(s, si, sj, a, ai, aj){\n\t\t\tvar len = sj - si, k = sj - z, n = Math.ceil(len / z);\n\t\t\tvar block = function(i){\n\t\t\t\ta[i] = parseInt(s.slice(Math.max(0, k), k + z), f);\n\t\t\t\tk -= z;\n\t\t\t};\n\n\t\t\titer(aj - n, aj, block);\n\n\t\t};\n\n\t}\n\telse throw 'f > t not implemented';\n\n\n}\n" + }, + { + "__docId__": 87, + "kind": "function", + "static": true, + "variation": null, + "name": "parse_t", + "memberof": "src/0-legacy/parse/parse.js", + "longname": "src/0-legacy/parse/parse.js~parse_t", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/0-legacy/parse/parse.js", + "importStyle": "{parse_t}", + "description": "Function template for number parsing.\nEndianess provided by the iterator function\niterator function must be reverse ordered", + "lineNumber": 13, + "params": [ + { + "nullable": null, + "types": [ + "int" + ], + "spread": false, + "optional": false, + "name": "f", + "description": "from radix" + }, + { + "nullable": null, + "types": [ + "int" + ], + "spread": false, + "optional": false, + "name": "t", + "description": "to radix" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "iter", + "description": "iterator function" + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 88, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/stringify/index.js", + "memberof": null, + "longname": "src/0-legacy/stringify/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './stringify' ;\n" + }, + { + "__docId__": 89, + "kind": "file", + "static": true, + "variation": null, + "name": "src/0-legacy/stringify/stringify.js", + "memberof": null, + "longname": "src/0-legacy/stringify/stringify.js", + "access": null, + "description": null, + "lineNumber": 12, + "content": "\n/**\n * Function template for number stringification.\n * Endianess provided by the iterator function\n *\n * @param {int} f from radix\n * @param {int} t to radix\n * @param {function} iter iterator function\n */\n\n\nexport function stringify_t (f, t, iter, zfill_t){\n\n\tif(t <= f){\n\n\t\tif(t > 36) throw 't > 36 not implemented';\n\n\t\tvar z = 0;\n\t\twhile(f >= t){\n\t\t\tif(f % t) break;\n\t\t\tf /= t;\n\t\t\t++z;\n\t\t}\n\n\t\tif(f !== 1) throw 'log(t) does not divide log(f) not implemented';\n\n\t\tvar zfill = zfill_t(z);\n\n\t\treturn function(a, i0, i1){\n\t\t\tvar s = [];\n\t\t\titer(i0, i1, function(i){\n\t\t\t\ts.push(zfill(Number(+a[i]).toString(t)));\n\t\t\t});\n\t\t\treturn s.join('');\n\t\t};\n\n\t}\n\telse throw 't > f not implemented';\n\n}\n" + }, + { + "__docId__": 90, + "kind": "function", + "static": true, + "variation": null, + "name": "stringify_t", + "memberof": "src/0-legacy/stringify/stringify.js", + "longname": "src/0-legacy/stringify/stringify.js~stringify_t", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/0-legacy/stringify/stringify.js", + "importStyle": "{stringify_t}", + "description": "Function template for number stringification.\nEndianess provided by the iterator function", + "lineNumber": 12, + "params": [ + { + "nullable": null, + "types": [ + "int" + ], + "spread": false, + "optional": false, + "name": "f", + "description": "from radix" + }, + { + "nullable": null, + "types": [ + "int" + ], + "spread": false, + "optional": false, + "name": "t", + "description": "to radix" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "iter", + "description": "iterator function" + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 91, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/arithmetic/div/_div.js", + "memberof": null, + "longname": "src/1-new/arithmetic/div/_div.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import { _sub } from '../sub' ;\nimport { _lt } from '../../compare' ;\n\n/**\n * Computes quotient and remainder of two big endian arrays.\n *

      \n * Computes quotient and remainder of two big endian arrays\n * using long division algorithm (the one teached in\n * european primary schools).\n *\n * /!\\ This algorithm modifies its first operand.\n *\n * HYP : q is at least as large as r\n * b is not zero\n *\n * @param {int} x the radix\n * @param {array} r dividend and remainder\n * @param {int} ri r left\n * @param {int} rj r right\n * @param {array} b divisor\n * @param {int} bi b left\n * @param {int} bj b right\n * @param {array} q quotient, must be 0 initialized\n * @param {int} qi q left\n */\n\n// /!\\ There are implicit hypotheses\n// made on the size of the operands.\n// Should clarify.\n\nexport function _div ( x , r , ri , rj , b , bi , bj , q , qi ) {\n\n\tvar k, t = ri + 1;\n\n\tdo {\n\n\t\t// trim leading zeros\n\t\t// - maybe could try to put this procedure inside the _sub loop\n\t\t// - or assume that the number is trimed at the begining\n\t\t// and put this statement at the end of the main loop\n\t\twhile (ri < rj && r[ri] === 0) ++ri;\n\n\t\t// search for a remainder block interval\n\t\t// greater than the divisor\n\t\t// - maybe could try binary search on the _lt function\n\t\t// for another implementation\n\t\tk = ri + 1;\n\t\twhile (k <= rj && _lt(r, ri, k, b, bi, bj)) ++k;\n\n\t\t// remainder smaller than divisor --> end\n\t\tif (k > rj) break;\n\n\t\t// divide current block interval by quotient\n\t\tdo{\n\n\t\t\t// increment quotient block corresponding\n\t\t\t// to current ls block of remainder interval\n\t\t\t++q[qi + k - t];\n\n\t\t\t// subtract divisor from current remainder\n\t\t\t// block interval\n\t\t\t_sub(x, r, ri, k, b, bi, bj, r, ri, k);\n\n\t\t} while(!_lt(r, ri, k, b, bi, bj));\n\n\n\t} while(true);\n\n}\n" + }, + { + "__docId__": 92, + "kind": "function", + "static": true, + "variation": null, + "name": "_div", + "memberof": "src/1-new/arithmetic/div/_div.js", + "longname": "src/1-new/arithmetic/div/_div.js~_div", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/arithmetic/div/_div.js", + "importStyle": "{_div}", + "description": "Computes quotient and remainder of two big endian arrays.\n

      \nComputes quotient and remainder of two big endian arrays\nusing long division algorithm (the one teached in\neuropean primary schools).\n\n/!\\ This algorithm modifies its first operand.\n\nHYP : q is at least as large as r\n b is not zero", + "lineNumber": 31, + "params": [ + { + "nullable": null, + "types": [ + "int" + ], + "spread": false, + "optional": false, + "name": "x", + "description": "the radix" + }, + { + "nullable": null, + "types": [ + "array" + ], + "spread": false, + "optional": false, + "name": "r", + "description": "dividend and remainder" + }, + { + "nullable": null, + "types": [ + "int" + ], + "spread": false, + "optional": false, + "name": "ri", + "description": "r left" + }, + { + "nullable": null, + "types": [ + "int" + ], + "spread": false, + "optional": false, + "name": "rj", + "description": "r right" + }, + { + "nullable": null, + "types": [ + "array" + ], + "spread": false, + "optional": false, + "name": "b", + "description": "divisor" + }, + { + "nullable": null, + "types": [ + "int" + ], + "spread": false, + "optional": false, + "name": "bi", + "description": "b left" + }, + { + "nullable": null, + "types": [ + "int" + ], + "spread": false, + "optional": false, + "name": "bj", + "description": "b right" + }, + { + "nullable": null, + "types": [ + "array" + ], + "spread": false, + "optional": false, + "name": "q", + "description": "quotient, must be 0 initialized" + }, + { + "nullable": null, + "types": [ + "int" + ], + "spread": false, + "optional": false, + "name": "qi", + "description": "q left" + } + ], + "generator": false + }, + { + "__docId__": 93, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/arithmetic/div/index.js", + "memberof": null, + "longname": "src/1-new/arithmetic/div/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './_div' ;\n" + }, + { + "__docId__": 94, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/arithmetic/index.js", + "memberof": null, + "longname": "src/1-new/arithmetic/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './div' ;\nexport * from './sub' ;\n" + }, + { + "__docId__": 95, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/arithmetic/sub/_sub.js", + "memberof": null, + "longname": "src/1-new/arithmetic/sub/_sub.js", + "access": null, + "description": null, + "lineNumber": 18, + "content": "\n/**\n * Subtracts two big endian arrays, k >= i >= j\n * wraps\n *\n * @param {int} r base (radix)\n * @param {array} a first operand\n * @param {int} ai a left\n * @param {int} aj a right\n * @param {array} b second operand\n * @param {int} bi b left\n * @param {int} bj b right\n * @param {array} c result, must be 0 initialized\n * @param {int} ci c left\n * @param {int} cj c right\n */\n\nexport function _sub ( r , a, ai, aj, b, bi, bj, c, ci, cj){\n\tvar T, C = 0;\n\n\twhile(--bj >= bi){\n\t\t--aj; --cj;\n\t\tT = C;\n\t\tC = a[aj] < b[bj] + T;\n\t\tc[cj] = a[aj] - b[bj] + (C*r - T);\n\t}\n\n\twhile(--aj >= ai){\n\t\t--cj;\n\t\tT = C;\n\t\tC = a[aj] < T;\n\t\tc[cj] = a[aj] + (C*r - T);\n\t}\n\n\tif(C){\n\t\twhile(--cj >= ci){\n\t\t\tc[cj] = r - 1;\n\t\t}\n\t}\n\n}\n" + }, + { + "__docId__": 96, + "kind": "function", + "static": true, + "variation": null, + "name": "_sub", + "memberof": "src/1-new/arithmetic/sub/_sub.js", + "longname": "src/1-new/arithmetic/sub/_sub.js~_sub", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/arithmetic/sub/_sub.js", + "importStyle": "{_sub}", + "description": "Subtracts two big endian arrays, k >= i >= j\nwraps", + "lineNumber": 18, + "params": [ + { + "nullable": null, + "types": [ + "int" + ], + "spread": false, + "optional": false, + "name": "r", + "description": "base (radix)" + }, + { + "nullable": null, + "types": [ + "array" + ], + "spread": false, + "optional": false, + "name": "a", + "description": "first operand" + }, + { + "nullable": null, + "types": [ + "int" + ], + "spread": false, + "optional": false, + "name": "ai", + "description": "a left" + }, + { + "nullable": null, + "types": [ + "int" + ], + "spread": false, + "optional": false, + "name": "aj", + "description": "a right" + }, + { + "nullable": null, + "types": [ + "array" + ], + "spread": false, + "optional": false, + "name": "b", + "description": "second operand" + }, + { + "nullable": null, + "types": [ + "int" + ], + "spread": false, + "optional": false, + "name": "bi", + "description": "b left" + }, + { + "nullable": null, + "types": [ + "int" + ], + "spread": false, + "optional": false, + "name": "bj", + "description": "b right" + }, + { + "nullable": null, + "types": [ + "array" + ], + "spread": false, + "optional": false, + "name": "c", + "description": "result, must be 0 initialized" + }, + { + "nullable": null, + "types": [ + "int" + ], + "spread": false, + "optional": false, + "name": "ci", + "description": "c left" + }, + { + "nullable": null, + "types": [ + "int" + ], + "spread": false, + "optional": false, + "name": "cj", + "description": "c right" + } + ], + "generator": false + }, + { + "__docId__": 97, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/arithmetic/sub/index.js", + "memberof": null, + "longname": "src/1-new/arithmetic/sub/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './_sub' ;\n" + }, + { + "__docId__": 98, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/compare/_CMP.js", + "memberof": null, + "longname": "src/1-new/compare/_CMP.js", + "access": null, + "description": null, + "lineNumber": 15, + "content": "\n/**\n * Compares two big endian arrays, |a| >= |b|\n *\n * @param {array} a first operand\n * @param {int} ai a left\n * @param {int} aj a right\n * @param {array} b second operand\n * @param {int} bi b left\n * @param {int} bj b right\n *\n * @return {int} 1 if a > b; 0 if a = b; -1 otherwise.\n */\n\nexport function _CMP (a, ai, aj, b, bi, bj){\n\n\tvar tmp = aj - bj + bi;\n\n\tfor (; ai < tmp; ++ai)\n\t\tif (a[ai] > 0) return 1;\n\n\t// same size aj - ai === bj - bi\n\tfor (; ai < aj; ++ai, ++bi) {\n\t\tif (a[ai] > b[bi]) return 1;\n\t\tif (a[ai] < b[bi]) return -1;\n\t}\n\n\treturn 0;\n}\n" + }, + { + "__docId__": 99, + "kind": "function", + "static": true, + "variation": null, + "name": "_CMP", + "memberof": "src/1-new/compare/_CMP.js", + "longname": "src/1-new/compare/_CMP.js~_CMP", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/compare/_CMP.js", + "importStyle": "{_CMP}", + "description": "Compares two big endian arrays, |a| >= |b|", + "lineNumber": 15, + "params": [ + { + "nullable": null, + "types": [ + "array" + ], + "spread": false, + "optional": false, + "name": "a", + "description": "first operand" + }, + { + "nullable": null, + "types": [ + "int" + ], + "spread": false, + "optional": false, + "name": "ai", + "description": "a left" + }, + { + "nullable": null, + "types": [ + "int" + ], + "spread": false, + "optional": false, + "name": "aj", + "description": "a right" + }, + { + "nullable": null, + "types": [ + "array" + ], + "spread": false, + "optional": false, + "name": "b", + "description": "second operand" + }, + { + "nullable": null, + "types": [ + "int" + ], + "spread": false, + "optional": false, + "name": "bi", + "description": "b left" + }, + { + "nullable": null, + "types": [ + "int" + ], + "spread": false, + "optional": false, + "name": "bj", + "description": "b right" + } + ], + "return": { + "nullable": null, + "types": [ + "int" + ], + "spread": false, + "description": "1 if a > b; 0 if a = b; -1 otherwise." + }, + "generator": false + }, + { + "__docId__": 100, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/compare/_cmp.js", + "memberof": null, + "longname": "src/1-new/compare/_cmp.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import { _CMP } from '.' ;\n\nexport function _cmp ( a , ai , aj , b , bi , bj ) {\n\n\tif ( aj - ai < bj - bi )\n\t\treturn -_CMP( b , bi , bj , a , ai , aj ) ;\n\telse\n\t\treturn _CMP( a , ai , aj , b , bi , bj ) ;\n\n}\n" + }, + { + "__docId__": 101, + "kind": "function", + "static": true, + "variation": null, + "name": "_cmp", + "memberof": "src/1-new/compare/_cmp.js", + "longname": "src/1-new/compare/_cmp.js~_cmp", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/compare/_cmp.js", + "importStyle": "{_cmp}", + "description": null, + "lineNumber": 3, + "undocument": true, + "params": [ + { + "name": "a", + "types": [ + "*" + ] + }, + { + "name": "ai", + "types": [ + "*" + ] + }, + { + "name": "aj", + "types": [ + "*" + ] + }, + { + "name": "b", + "types": [ + "*" + ] + }, + { + "name": "bi", + "types": [ + "*" + ] + }, + { + "name": "bj", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 102, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/compare/_eq.js", + "memberof": null, + "longname": "src/1-new/compare/_eq.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import { _cmp } from '.' ;\n\nexport const _eq = ( a , ai , aj , b , bi , bj ) => _cmp( a , ai , aj , b , bi , bj ) === 0 ;\n" + }, + { + "__docId__": 103, + "kind": "variable", + "static": true, + "variation": null, + "name": "_eq", + "memberof": "src/1-new/compare/_eq.js", + "longname": "src/1-new/compare/_eq.js~_eq", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/compare/_eq.js", + "importStyle": "{_eq}", + "description": null, + "lineNumber": 3, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 104, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/compare/_ge.js", + "memberof": null, + "longname": "src/1-new/compare/_ge.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import { _cmp } from '.' ;\n\nexport const _ge = ( a , ai , aj , b , bi , bj ) => _cmp( a , ai , aj , b , bi , bj ) >= 0 ;\n" + }, + { + "__docId__": 105, + "kind": "variable", + "static": true, + "variation": null, + "name": "_ge", + "memberof": "src/1-new/compare/_ge.js", + "longname": "src/1-new/compare/_ge.js~_ge", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/compare/_ge.js", + "importStyle": "{_ge}", + "description": null, + "lineNumber": 3, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 106, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/compare/_gt.js", + "memberof": null, + "longname": "src/1-new/compare/_gt.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import { _cmp } from '.' ;\n\nexport const _gt = ( a , ai , aj , b , bi , bj ) => _cmp( a , ai , aj , b , bi , bj ) > 0 ;\n" + }, + { + "__docId__": 107, + "kind": "variable", + "static": true, + "variation": null, + "name": "_gt", + "memberof": "src/1-new/compare/_gt.js", + "longname": "src/1-new/compare/_gt.js~_gt", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/compare/_gt.js", + "importStyle": "{_gt}", + "description": null, + "lineNumber": 3, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 108, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/compare/_jz.js", + "memberof": null, + "longname": "src/1-new/compare/_jz.js", + "access": null, + "description": null, + "lineNumber": 10, + "content": "\n/**\n * Returns true if number is 0.\n *\n * @param {array} a first operand\n * @param {int} ai a left\n * @param {int} aj a right\n */\n\nexport function _jz ( a , ai , aj ) {\n\n\tfor ( ; ai < aj ; ++ai ) if ( a[ai] !== 0 ) return false ;\n\n\treturn true ;\n\n}\n" + }, + { + "__docId__": 109, + "kind": "function", + "static": true, + "variation": null, + "name": "_jz", + "memberof": "src/1-new/compare/_jz.js", + "longname": "src/1-new/compare/_jz.js~_jz", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/compare/_jz.js", + "importStyle": "{_jz}", + "description": "Returns true if number is 0.", + "lineNumber": 10, + "params": [ + { + "nullable": null, + "types": [ + "array" + ], + "spread": false, + "optional": false, + "name": "a", + "description": "first operand" + }, + { + "nullable": null, + "types": [ + "int" + ], + "spread": false, + "optional": false, + "name": "ai", + "description": "a left" + }, + { + "nullable": null, + "types": [ + "int" + ], + "spread": false, + "optional": false, + "name": "aj", + "description": "a right" + } + ], + "return": { + "types": [ + "boolean" + ] + }, + "generator": false + }, + { + "__docId__": 110, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/compare/_le.js", + "memberof": null, + "longname": "src/1-new/compare/_le.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import { _cmp } from '.' ;\n\nexport const _le = ( a , ai , aj , b , bi , bj ) => _cmp( a , ai , aj , b , bi , bj ) <= 0 ;\n" + }, + { + "__docId__": 111, + "kind": "variable", + "static": true, + "variation": null, + "name": "_le", + "memberof": "src/1-new/compare/_le.js", + "longname": "src/1-new/compare/_le.js~_le", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/compare/_le.js", + "importStyle": "{_le}", + "description": null, + "lineNumber": 3, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 112, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/compare/_lt.js", + "memberof": null, + "longname": "src/1-new/compare/_lt.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import { _cmp } from '.' ;\n\nexport const _lt = ( a , ai , aj , b , bi , bj ) => _cmp( a , ai , aj , b , bi , bj ) < 0 ;\n" + }, + { + "__docId__": 113, + "kind": "variable", + "static": true, + "variation": null, + "name": "_lt", + "memberof": "src/1-new/compare/_lt.js", + "longname": "src/1-new/compare/_lt.js~_lt", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/compare/_lt.js", + "importStyle": "{_lt}", + "description": null, + "lineNumber": 3, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 114, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/compare/_ne.js", + "memberof": null, + "longname": "src/1-new/compare/_ne.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import { _cmp } from '.' ;\n\nexport const _ne = ( a , ai , aj , b , bi , bj ) => _cmp( a , ai , aj , b , bi , bj ) !== 0 ;\n" + }, + { + "__docId__": 115, + "kind": "variable", + "static": true, + "variation": null, + "name": "_ne", + "memberof": "src/1-new/compare/_ne.js", + "longname": "src/1-new/compare/_ne.js~_ne", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/compare/_ne.js", + "importStyle": "{_ne}", + "description": null, + "lineNumber": 3, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 116, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/compare/index.js", + "memberof": null, + "longname": "src/1-new/compare/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './_CMP' ;\nexport * from './_cmp' ;\nexport * from './_eq' ;\nexport * from './_ge' ;\nexport * from './_gt' ;\nexport * from './_jz' ;\nexport * from './_le' ;\nexport * from './_lt' ;\nexport * from './_ne' ;\n" + }, + { + "__docId__": 117, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/convert/_alloc.js", + "memberof": null, + "longname": "src/1-new/convert/_alloc.js", + "access": null, + "description": null, + "lineNumber": 2, + "content": "\nexport function _alloc ( n ) {\n\n\treturn new Array( n ) ;\n\n}\n" + }, + { + "__docId__": 118, + "kind": "function", + "static": true, + "variation": null, + "name": "_alloc", + "memberof": "src/1-new/convert/_alloc.js", + "longname": "src/1-new/convert/_alloc.js~_alloc", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/convert/_alloc.js", + "importStyle": "{_alloc}", + "description": null, + "lineNumber": 2, + "undocument": true, + "params": [ + { + "name": "n", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 119, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/convert/_build.js", + "memberof": null, + "longname": "src/1-new/convert/_build.js", + "access": null, + "description": null, + "lineNumber": 2, + "content": "\nexport function _build ( base , number ) {\n\n\tconst data = [ ] ;\n\n\tlet q = number ;\n\tconst d = base ;\n\n\twhile ( q >= d ) {\n\t\tconst r = q % d ;\n\t\tdata.push( r ) ;\n\t\tq = ( q - r ) / d ;\n\t}\n\n\tdata.push( q ) ;\n\n\treturn data.reverse( ) ;\n\n}\n" + }, + { + "__docId__": 120, + "kind": "function", + "static": true, + "variation": null, + "name": "_build", + "memberof": "src/1-new/convert/_build.js", + "longname": "src/1-new/convert/_build.js~_build", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/convert/_build.js", + "importStyle": "{_build}", + "description": null, + "lineNumber": 2, + "undocument": true, + "params": [ + { + "name": "base", + "types": [ + "*" + ] + }, + { + "name": "number", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 121, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/convert/_chr.js", + "memberof": null, + "longname": "src/1-new/convert/_chr.js", + "access": null, + "description": null, + "lineNumber": 2, + "content": "\nexport function _chr ( x ) {\n\n\tif ( x < 10 ) return String.fromCharCode( 48 + x ) ;\n\treturn String.fromCharCode( 87 + x ) ;\n\n}\n" + }, + { + "__docId__": 122, + "kind": "function", + "static": true, + "variation": null, + "name": "_chr", + "memberof": "src/1-new/convert/_chr.js", + "longname": "src/1-new/convert/_chr.js~_chr", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/convert/_chr.js", + "importStyle": "{_chr}", + "description": null, + "lineNumber": 2, + "undocument": true, + "params": [ + { + "name": "x", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 123, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/convert/_convert.js", + "memberof": null, + "longname": "src/1-new/convert/_convert.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import { _convert_to_smaller , _convert_to_larger , _copy } from '.' ;\n\n/**\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n */\n\nexport function _convert ( f , t , a , ai , aj , b , bi , bj ) {\n\n\tif ( f > t ) return _convert_to_smaller( f , t , a , ai , aj , b , bi , bj ) ;\n\tif ( f < t ) return _convert_to_larger( f , t , a , ai , aj , b , bi , bj ) ;\n\treturn _copy( a , ai , aj , b , bi ) ;\n\n}\n" + }, + { + "__docId__": 124, + "kind": "function", + "static": true, + "variation": null, + "name": "_convert", + "memberof": "src/1-new/convert/_convert.js", + "longname": "src/1-new/convert/_convert.js~_convert", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/convert/_convert.js", + "importStyle": "{_convert}", + "description": "", + "lineNumber": 15, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "f", + "description": "the base to convert from" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "t", + "description": "the base to convert to" + }, + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": false, + "name": "a", + "description": "the origin array" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "ai", + "description": "start offset in the origin array" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "aj", + "description": "end offset in the origin array" + }, + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": false, + "name": "b", + "description": "the destination array" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "bi", + "description": "start offset in the destination array" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "bj", + "description": "end offset in the destination array" + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 125, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/convert/_convert_slow.js", + "memberof": null, + "longname": "src/1-new/convert/_convert_slow.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import { _build , _alloc , _reset , _copy } from '.' ;\nimport { _div } from '../arithmetic' ;\nimport { _jz } from '../compare' ;\n\n/**\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n */\n\nexport function _convert_slow ( f , t , a , ai , aj , b , bi , bj ) {\n\n\tconst d = _build( f , t ) ;\n\tconst di = 0 ;\n\tconst dj = d.length ;\n\tconst qi = 0 ;\n\tconst qj = aj - ai ;\n\tconst q = _alloc( qj - qi ) ;\n\n\twhile ( true ) {\n\n\t\t_reset( q , qi , qj ) ;\n\n\t\t_div( f , a , ai , aj , d , di , dj , q , qi ) ;\n\n\t\t--bj ;\n\t\tlet x = 0 ;\n\n\t\tfor ( let k = ai ; k < aj ; ++k ) {\n\t\t\tx *= f ;\n\t\t\tx += a[k] ;\n\t\t}\n\n\t\tb[bj] = x ;\n\n\t\tif ( _jz( q , qi , qj ) ) return ;\n\n\t\t_copy( q , qi , qj , a , ai ) ;\n\n\t}\n\n}\n" + }, + { + "__docId__": 126, + "kind": "function", + "static": true, + "variation": null, + "name": "_convert_slow", + "memberof": "src/1-new/convert/_convert_slow.js", + "longname": "src/1-new/convert/_convert_slow.js~_convert_slow", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/convert/_convert_slow.js", + "importStyle": "{_convert_slow}", + "description": "", + "lineNumber": 17, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "f", + "description": "the base to convert from" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "t", + "description": "the base to convert to" + }, + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": false, + "name": "a", + "description": "the origin array" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "ai", + "description": "start offset in the origin array" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "aj", + "description": "end offset in the origin array" + }, + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": false, + "name": "b", + "description": "the destination array" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "bi", + "description": "start offset in the destination array" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "bj", + "description": "end offset in the destination array" + } + ], + "generator": false + }, + { + "__docId__": 127, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/convert/_convert_to_larger.js", + "memberof": null, + "longname": "src/1-new/convert/_convert_to_larger.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import { _log , _convert_slow , _convert_to_larger_fast } from '.' ;\n\n/**\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n */\n\nexport function _convert_to_larger ( f , t , a , ai , aj , b , bi , bj ) {\n\n\tconst [ z , x ] = _log( t , f ) ;\n\n\tif ( x === 1 ) return _convert_to_larger_fast( f , z , a , ai , aj , b , bi , bj ) ;\n\n\treturn _convert_slow( f , t , a , ai , aj , b , bi , bj ) ;\n\n}\n" + }, + { + "__docId__": 128, + "kind": "function", + "static": true, + "variation": null, + "name": "_convert_to_larger", + "memberof": "src/1-new/convert/_convert_to_larger.js", + "longname": "src/1-new/convert/_convert_to_larger.js~_convert_to_larger", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/convert/_convert_to_larger.js", + "importStyle": "{_convert_to_larger}", + "description": "", + "lineNumber": 15, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "f", + "description": "the base to convert from" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "t", + "description": "the base to convert to" + }, + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": false, + "name": "a", + "description": "the origin array" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "ai", + "description": "start offset in the origin array" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "aj", + "description": "end offset in the origin array" + }, + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": false, + "name": "b", + "description": "the destination array" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "bi", + "description": "start offset in the destination array" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "bj", + "description": "end offset in the destination array" + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 129, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/convert/_convert_to_larger_fast.js", + "memberof": null, + "longname": "src/1-new/convert/_convert_to_larger_fast.js", + "access": null, + "description": null, + "lineNumber": 15, + "content": "\n\n/**\n *\n * @param {Number} ar the base to convert from\n * @param {Number} z if br is the base to convert to then log(br) = z log(ar)\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n */\n\nexport function _convert_to_larger_fast ( ar , z , a , ai , aj , b , bi , bj ) {\n\n\tvar m, n, q, r, i, w, t;\n\n\tm = aj - ai;\n\tn = bj - bi;\n\n\t// number of parts of first\n\t// destination block if incomplete\n\tr = m % z;\n\n\t// number of complete blocks in destination\n\tq = (m - r) / z;\n\n\t// total number of blocks in destination\n\t// (complete ones + first if incomplete)\n\tw = q + !!r;\n\n\n\tif (n >= w) {\n\t\t// if destination can contain more than\n\t\t// what is available in source then\n\t\t// compute the effective write start\n\t\t// in destination and set i to the correct\n\t\t// offset according to the size\n\t\t// (in source blocks) of the\n\t\t// first destination block if incomplete\n\t\tbi = bj - w;\n\t\ti = (z - r) % z;\n\t}\n\telse {\n\t\t// if source contains more than what\n\t\t// destination can handle set the effective\n\t\t// read start in source and set i to 0 because\n\t\t// all blocks will be complete\n\t\tai = aj - n * z;\n\t\ti = 0;\n\t}\n\n\tfor (; ai < aj && bi < bj; ++bi) {\n\t\tt = 0;\n\t\tfor (; i < z; ++i) {\n\t\t\tt *= ar; // aggregate source blocks\n\t\t\tt += a[ai]; // using simple\n\t\t\t++ai; // multiply + add\n\t\t}\n\t\tb[bi] = t; // set block in destination\n\t\ti = 0;\n\t}\n\n}\n" + }, + { + "__docId__": 130, + "kind": "function", + "static": true, + "variation": null, + "name": "_convert_to_larger_fast", + "memberof": "src/1-new/convert/_convert_to_larger_fast.js", + "longname": "src/1-new/convert/_convert_to_larger_fast.js~_convert_to_larger_fast", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/convert/_convert_to_larger_fast.js", + "importStyle": "{_convert_to_larger_fast}", + "description": "", + "lineNumber": 15, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "ar", + "description": "the base to convert from" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "z", + "description": "if br is the base to convert to then log(br) = z log(ar)" + }, + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": false, + "name": "a", + "description": "the origin array" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "ai", + "description": "start offset in the origin array" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "aj", + "description": "end offset in the origin array" + }, + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": false, + "name": "b", + "description": "the destination array" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "bi", + "description": "start offset in the destination array" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "bj", + "description": "end offset in the destination array" + } + ], + "generator": false + }, + { + "__docId__": 131, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/convert/_convert_to_smaller.js", + "memberof": null, + "longname": "src/1-new/convert/_convert_to_smaller.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import { _log , _convert_slow , _convert_to_smaller_fast } from '.' ;\n\n/**\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n */\n\nexport function _convert_to_smaller ( f , t , a , ai , aj , b , bi , bj ) {\n\n\tconst [ z , x ] = _log( f , t ) ;\n\n\tif ( x === 1 ) return _convert_to_smaller_fast( t , z , a , ai , aj , b , bi , bj ) ;\n\n\treturn _convert_slow( f , t , a , ai , aj , b , bi , bj ) ;\n\n}\n" + }, + { + "__docId__": 132, + "kind": "function", + "static": true, + "variation": null, + "name": "_convert_to_smaller", + "memberof": "src/1-new/convert/_convert_to_smaller.js", + "longname": "src/1-new/convert/_convert_to_smaller.js~_convert_to_smaller", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/convert/_convert_to_smaller.js", + "importStyle": "{_convert_to_smaller}", + "description": "", + "lineNumber": 15, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "f", + "description": "the base to convert from" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "t", + "description": "the base to convert to" + }, + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": false, + "name": "a", + "description": "the origin array" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "ai", + "description": "start offset in the origin array" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "aj", + "description": "end offset in the origin array" + }, + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": false, + "name": "b", + "description": "the destination array" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "bi", + "description": "start offset in the destination array" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "bj", + "description": "end offset in the destination array" + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 133, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/convert/_convert_to_smaller_fast.js", + "memberof": null, + "longname": "src/1-new/convert/_convert_to_smaller_fast.js", + "access": null, + "description": null, + "lineNumber": 14, + "content": "\n/**\n *\n * @param {Number} br the base to convert to\n * @param {Number} z if ar is the base to convert to then log(ar) = z log(br)\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n */\n\nexport function _convert_to_smaller_fast ( br , z , a , ai , aj , b , bi , bj ) {\n\n\tvar m, n, q, r, i, w, t;\n\n\tm = bj - bi;\n\tn = aj - ai;\n\n\t// number of parts of first\n\t// destination block if incomplete\n\tr = m % z;\n\n\t// number of complete blocks in destination\n\tq = (m - r) / z;\n\n\t// total number of blocks in destination\n\t// (complete ones + first if incomplete)\n\tw = q + !!r;\n\n\n\tif (n >= w) {\n\t\t// if source contains more than what\n\t\t// destination can handle set the effective\n\t\t// read start in source and set i to the correct\n\t\t// offset according to the size\n\t\t// (in destination blocks) of the\n\t\t// first source block if incomplete\n\t\tai = aj - w;\n\t\ti = (z - r) % z;\n\t}\n\telse {\n\t\t// if destination can contain more than\n\t\t// what is available in source then\n\t\t// compute the effective write start\n\t\t// in destination and set i to 0 because\n\t\t// all blocks will be complete\n\t\tbi = bj - n * z;\n\t\ti = 0;\n\t}\n\n\tfor (; ai < aj && bi < bj; ++ai) {\n\t\tq = a[ai];\n\t\tt = bi + z - 1 - i;\n\t\tbi += z - i;\n\t\tfor (; i < z; ++i) {\n\t\t\tr = q % br; // unpack source blocks\n\t\t\tq = (q - r) / br; // using simple\n\t\t\tb[t] = r; // modulo + quotient\n\t\t\t--t;\n\t\t}\n\t\ti = 0;\n\t}\n\n}\n" + }, + { + "__docId__": 134, + "kind": "function", + "static": true, + "variation": null, + "name": "_convert_to_smaller_fast", + "memberof": "src/1-new/convert/_convert_to_smaller_fast.js", + "longname": "src/1-new/convert/_convert_to_smaller_fast.js~_convert_to_smaller_fast", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/convert/_convert_to_smaller_fast.js", + "importStyle": "{_convert_to_smaller_fast}", + "description": "", + "lineNumber": 14, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "br", + "description": "the base to convert to" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "z", + "description": "if ar is the base to convert to then log(ar) = z log(br)" + }, + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": false, + "name": "a", + "description": "the origin array" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "ai", + "description": "start offset in the origin array" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "aj", + "description": "end offset in the origin array" + }, + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": false, + "name": "b", + "description": "the destination array" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "bi", + "description": "start offset in the destination array" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "bj", + "description": "end offset in the destination array" + } + ], + "generator": false + }, + { + "__docId__": 135, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/convert/_copy.js", + "memberof": null, + "longname": "src/1-new/convert/_copy.js", + "access": null, + "description": null, + "lineNumber": 2, + "content": "\nexport function _copy ( a , ai , aj , b , bi ) {\n\n\tfor ( ; ai < aj ; ++ai, ++bi ) b[bi] = a[ai] ;\n\n}\n" + }, + { + "__docId__": 136, + "kind": "function", + "static": true, + "variation": null, + "name": "_copy", + "memberof": "src/1-new/convert/_copy.js", + "longname": "src/1-new/convert/_copy.js~_copy", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/convert/_copy.js", + "importStyle": "{_copy}", + "description": null, + "lineNumber": 2, + "undocument": true, + "params": [ + { + "name": "a", + "types": [ + "*" + ] + }, + { + "name": "ai", + "types": [ + "*" + ] + }, + { + "name": "aj", + "types": [ + "*" + ] + }, + { + "name": "b", + "types": [ + "*" + ] + }, + { + "name": "bi", + "types": [ + "*" + ] + } + ], + "generator": false + }, + { + "__docId__": 137, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/convert/_fill.js", + "memberof": null, + "longname": "src/1-new/convert/_fill.js", + "access": null, + "description": null, + "lineNumber": 2, + "content": "\nexport function _fill ( a , ai , aj , v ) {\n\n\tfor ( let i = ai ; i < aj ; ++i ) a[i] = v ;\n\n}\n" + }, + { + "__docId__": 138, + "kind": "function", + "static": true, + "variation": null, + "name": "_fill", + "memberof": "src/1-new/convert/_fill.js", + "longname": "src/1-new/convert/_fill.js~_fill", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/convert/_fill.js", + "importStyle": "{_fill}", + "description": null, + "lineNumber": 2, + "undocument": true, + "params": [ + { + "name": "a", + "types": [ + "*" + ] + }, + { + "name": "ai", + "types": [ + "*" + ] + }, + { + "name": "aj", + "types": [ + "*" + ] + }, + { + "name": "v", + "types": [ + "*" + ] + } + ], + "generator": false + }, + { + "__docId__": 139, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/convert/_int.js", + "memberof": null, + "longname": "src/1-new/convert/_int.js", + "access": null, + "description": null, + "lineNumber": 2, + "content": "\nexport function _int ( x ) {\n\n\tif ( x >= '0' && x <= '9' ) return x.charCodeAt( 0 ) - 48 ;\n\tif ( x >= 'A' && x <= 'Z' ) return x.charCodeAt( 0 ) - 55 ;\n\tif ( x >= 'a' && x <= 'z' ) return x.charCodeAt( 0 ) - 87 ;\n\n\tthrow 'invalid literal for _int: ' + x ;\n\n}\n" + }, + { + "__docId__": 140, + "kind": "function", + "static": true, + "variation": null, + "name": "_int", + "memberof": "src/1-new/convert/_int.js", + "longname": "src/1-new/convert/_int.js~_int", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/convert/_int.js", + "importStyle": "{_int}", + "description": null, + "lineNumber": 2, + "undocument": true, + "params": [ + { + "name": "x", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 141, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/convert/_log.js", + "memberof": null, + "longname": "src/1-new/convert/_log.js", + "access": null, + "description": null, + "lineNumber": 2, + "content": "\nexport function _log ( x , y ) {\n\n\tlet z = 0 ;\n\n\twhile ( x >= y ) {\n\t\tif ( x % y ) break ;\n\t\tx /= y ;\n\t\t++z ;\n\t}\n\n\treturn [ z , x ] ;\n\n}\n" + }, + { + "__docId__": 142, + "kind": "function", + "static": true, + "variation": null, + "name": "_log", + "memberof": "src/1-new/convert/_log.js", + "longname": "src/1-new/convert/_log.js~_log", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/convert/_log.js", + "importStyle": "{_log}", + "description": null, + "lineNumber": 2, + "undocument": true, + "params": [ + { + "name": "x", + "types": [ + "*" + ] + }, + { + "name": "y", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 143, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/convert/_reset.js", + "memberof": null, + "longname": "src/1-new/convert/_reset.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import { _fill } from '.' ;\n\nexport function _reset ( a , ai , aj ) {\n\n\t_fill( a , ai , aj , 0 ) ;\n\n}\n" + }, + { + "__docId__": 144, + "kind": "function", + "static": true, + "variation": null, + "name": "_reset", + "memberof": "src/1-new/convert/_reset.js", + "longname": "src/1-new/convert/_reset.js~_reset", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/convert/_reset.js", + "importStyle": "{_reset}", + "description": null, + "lineNumber": 3, + "undocument": true, + "params": [ + { + "name": "a", + "types": [ + "*" + ] + }, + { + "name": "ai", + "types": [ + "*" + ] + }, + { + "name": "aj", + "types": [ + "*" + ] + } + ], + "generator": false + }, + { + "__docId__": 145, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/convert/_to_string.js", + "memberof": null, + "longname": "src/1-new/convert/_to_string.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import { _chr } from '.' ;\n\nexport function _to_string ( b ) {\n\n\tconst n = b.length ;\n\n\tconst data = [ ] ;\n\n\tfor ( let k = 0 ; k < n ; ++k ) data.push( _chr( b[k] ) ) ;\n\n\treturn data.join( '' ) ;\n\n}\n" + }, + { + "__docId__": 146, + "kind": "function", + "static": true, + "variation": null, + "name": "_to_string", + "memberof": "src/1-new/convert/_to_string.js", + "longname": "src/1-new/convert/_to_string.js~_to_string", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/convert/_to_string.js", + "importStyle": "{_to_string}", + "description": null, + "lineNumber": 3, + "undocument": true, + "params": [ + { + "name": "b", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 147, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/convert/_trim_positive.js", + "memberof": null, + "longname": "src/1-new/convert/_trim_positive.js", + "access": null, + "description": null, + "lineNumber": 2, + "content": "\nexport function _trim_positive ( a , ai , aj ) {\n\n\twhile ( a[ai] === 0 && ai < aj ) ++ai ;\n\n\treturn ai ;\n\n}\n" + }, + { + "__docId__": 148, + "kind": "function", + "static": true, + "variation": null, + "name": "_trim_positive", + "memberof": "src/1-new/convert/_trim_positive.js", + "longname": "src/1-new/convert/_trim_positive.js~_trim_positive", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/convert/_trim_positive.js", + "importStyle": "{_trim_positive}", + "description": null, + "lineNumber": 2, + "undocument": true, + "params": [ + { + "name": "a", + "types": [ + "*" + ] + }, + { + "name": "ai", + "types": [ + "*" + ] + }, + { + "name": "aj", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 149, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/convert/_zeros.js", + "memberof": null, + "longname": "src/1-new/convert/_zeros.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import { _alloc , _reset } from '.' ;\n\nexport function _zeros ( n ) {\n\n\tconst a = _alloc( n ) ;\n\n\t_reset( a , 0 , n ) ;\n\n\treturn a ;\n\n}\n" + }, + { + "__docId__": 150, + "kind": "function", + "static": true, + "variation": null, + "name": "_zeros", + "memberof": "src/1-new/convert/_zeros.js", + "longname": "src/1-new/convert/_zeros.js~_zeros", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/convert/_zeros.js", + "importStyle": "{_zeros}", + "description": null, + "lineNumber": 3, + "undocument": true, + "params": [ + { + "name": "n", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 151, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/convert/convert.js", + "memberof": null, + "longname": "src/1-new/convert/convert.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import { convert_keep_zeros , trim_natural } from '.' ;\n\nexport function convert ( f , t , a , ai , aj ) {\n\n\tconst b = convert_keep_zeros( f , t , a , ai , aj ) ;\n\n\treturn trim_natural( b , 0 , b.length ) ;\n\n}\n" + }, + { + "__docId__": 152, + "kind": "function", + "static": true, + "variation": null, + "name": "convert", + "memberof": "src/1-new/convert/convert.js", + "longname": "src/1-new/convert/convert.js~convert", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/convert/convert.js", + "importStyle": "{convert}", + "description": null, + "lineNumber": 3, + "undocument": true, + "params": [ + { + "name": "f", + "types": [ + "*" + ] + }, + { + "name": "t", + "types": [ + "*" + ] + }, + { + "name": "a", + "types": [ + "*" + ] + }, + { + "name": "ai", + "types": [ + "*" + ] + }, + { + "name": "aj", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 153, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/convert/convert_keep_zeros.js", + "memberof": null, + "longname": "src/1-new/convert/convert_keep_zeros.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import { _zeros , _convert } from '.' ;\n\nexport function convert_keep_zeros ( f , t , a , ai , aj ) {\n\n\tconst bi = 0 ;\n\tconst bj = Math.ceil( Math.log( f ) / Math.log( t ) * ( aj - ai ) ) ;\n\tconst b = _zeros( bj - bi ) ;\n\n\t_convert( f , t , a , ai , aj , b , bi , bj ) ;\n\n\treturn b ;\n\n}\n" + }, + { + "__docId__": 154, + "kind": "function", + "static": true, + "variation": null, + "name": "convert_keep_zeros", + "memberof": "src/1-new/convert/convert_keep_zeros.js", + "longname": "src/1-new/convert/convert_keep_zeros.js~convert_keep_zeros", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/convert/convert_keep_zeros.js", + "importStyle": "{convert_keep_zeros}", + "description": null, + "lineNumber": 3, + "undocument": true, + "params": [ + { + "name": "f", + "types": [ + "*" + ] + }, + { + "name": "t", + "types": [ + "*" + ] + }, + { + "name": "a", + "types": [ + "*" + ] + }, + { + "name": "ai", + "types": [ + "*" + ] + }, + { + "name": "aj", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 155, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/convert/index.js", + "memberof": null, + "longname": "src/1-new/convert/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './_alloc' ;\nexport * from './_build' ;\nexport * from './_chr' ;\nexport * from './_convert' ;\nexport * from './_convert_slow' ;\nexport * from './_convert_to_larger' ;\nexport * from './_convert_to_larger_fast' ;\nexport * from './_convert_to_smaller' ;\nexport * from './_convert_to_smaller_fast' ;\nexport * from './_copy' ;\nexport * from './_fill' ;\nexport * from './_int' ;\nexport * from './_log' ;\nexport * from './_reset' ;\nexport * from './_to_string' ;\nexport * from './_trim_positive' ;\nexport * from './_zeros' ;\nexport * from './convert' ;\nexport * from './convert_keep_zeros' ;\nexport * from './parse' ;\nexport * from './parse_keep_zeros' ;\nexport * from './stringify' ;\nexport * from './stringify_keep_zeros' ;\nexport * from './trim_natural' ;\n" + }, + { + "__docId__": 156, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/convert/parse.js", + "memberof": null, + "longname": "src/1-new/convert/parse.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import { parse_keep_zeros , trim_natural } from '.' ;\n\nexport function parse ( f , t , string ) {\n\n\tconst b = parse_keep_zeros( f , t , string ) ;\n\n\treturn trim_natural( b , 0 , b.length ) ;\n\n}\n" + }, + { + "__docId__": 157, + "kind": "function", + "static": true, + "variation": null, + "name": "parse", + "memberof": "src/1-new/convert/parse.js", + "longname": "src/1-new/convert/parse.js~parse", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/convert/parse.js", + "importStyle": "{parse}", + "description": null, + "lineNumber": 3, + "undocument": true, + "params": [ + { + "name": "f", + "types": [ + "*" + ] + }, + { + "name": "t", + "types": [ + "*" + ] + }, + { + "name": "string", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 158, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/convert/parse_keep_zeros.js", + "memberof": null, + "longname": "src/1-new/convert/parse_keep_zeros.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import { _int , convert_keep_zeros } from '.' ;\n\nexport function parse_keep_zeros ( f , t , string ) {\n\n\tif ( f > 36 ) throw 'f > 36 not implemented' ;\n\n\tconst n = string.length ;\n\n\tconst a = [ ] ;\n\n\tfor ( let k = 0 ; k < n ; ++k ) a.push( _int( string[k] ) ) ;\n\n\treturn convert_keep_zeros( f , t , a , 0 , n ) ;\n\n}\n" + }, + { + "__docId__": 159, + "kind": "function", + "static": true, + "variation": null, + "name": "parse_keep_zeros", + "memberof": "src/1-new/convert/parse_keep_zeros.js", + "longname": "src/1-new/convert/parse_keep_zeros.js~parse_keep_zeros", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/convert/parse_keep_zeros.js", + "importStyle": "{parse_keep_zeros}", + "description": null, + "lineNumber": 3, + "undocument": true, + "params": [ + { + "name": "f", + "types": [ + "*" + ] + }, + { + "name": "t", + "types": [ + "*" + ] + }, + { + "name": "string", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 160, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/convert/stringify.js", + "memberof": null, + "longname": "src/1-new/convert/stringify.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import { convert , _to_string } from '.' ;\n\nexport function stringify ( f , t , a , ai , aj ) {\n\n\tif ( t > 36 ) throw 't > 36 not implemented' ;\n\n\tconst b = convert( f , t , a , ai , aj ) ;\n\n\treturn _to_string( b ) ;\n\n}\n" + }, + { + "__docId__": 161, + "kind": "function", + "static": true, + "variation": null, + "name": "stringify", + "memberof": "src/1-new/convert/stringify.js", + "longname": "src/1-new/convert/stringify.js~stringify", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/convert/stringify.js", + "importStyle": "{stringify}", + "description": null, + "lineNumber": 3, + "undocument": true, + "params": [ + { + "name": "f", + "types": [ + "*" + ] + }, + { + "name": "t", + "types": [ + "*" + ] + }, + { + "name": "a", + "types": [ + "*" + ] + }, + { + "name": "ai", + "types": [ + "*" + ] + }, + { + "name": "aj", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 162, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/convert/stringify_keep_zeros.js", + "memberof": null, + "longname": "src/1-new/convert/stringify_keep_zeros.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import { convert_keep_zeros , _to_string } from '.' ;\n\nexport function stringify_keep_zeros ( f , t , a , ai , aj ) {\n\n\tif ( t > 36 ) throw 't > 36 not implemented' ;\n\n\tconst b = convert_keep_zeros( f , t , a , ai , aj ) ;\n\n\treturn _to_string( b ) ;\n\n}\n" + }, + { + "__docId__": 163, + "kind": "function", + "static": true, + "variation": null, + "name": "stringify_keep_zeros", + "memberof": "src/1-new/convert/stringify_keep_zeros.js", + "longname": "src/1-new/convert/stringify_keep_zeros.js~stringify_keep_zeros", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/convert/stringify_keep_zeros.js", + "importStyle": "{stringify_keep_zeros}", + "description": null, + "lineNumber": 3, + "undocument": true, + "params": [ + { + "name": "f", + "types": [ + "*" + ] + }, + { + "name": "t", + "types": [ + "*" + ] + }, + { + "name": "a", + "types": [ + "*" + ] + }, + { + "name": "ai", + "types": [ + "*" + ] + }, + { + "name": "aj", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 164, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/convert/trim_natural.js", + "memberof": null, + "longname": "src/1-new/convert/trim_natural.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import { _trim_positive , _alloc , _copy } from '.' ;\nexport function trim_natural ( a , ai , aj ) {\n\n\tconst x = _trim_positive( a , ai , aj ) ;\n\n\tif ( x >= aj ) return [ 0 ] ;\n\n\tconst b = _alloc( aj - x ) ;\n\n\t_copy( a , x , aj , b , 0 ) ;\n\n\treturn b ;\n\n}\n" + }, + { + "__docId__": 165, + "kind": "function", + "static": true, + "variation": null, + "name": "trim_natural", + "memberof": "src/1-new/convert/trim_natural.js", + "longname": "src/1-new/convert/trim_natural.js~trim_natural", + "access": null, + "export": true, + "importPath": "aureooms-js-integer/src/1-new/convert/trim_natural.js", + "importStyle": "{trim_natural}", + "description": null, + "lineNumber": 2, + "undocument": true, + "params": [ + { + "name": "a", + "types": [ + "*" + ] + }, + { + "name": "ai", + "types": [ + "*" + ] + }, + { + "name": "aj", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 166, + "kind": "file", + "static": true, + "variation": null, + "name": "src/1-new/index.js", + "memberof": null, + "longname": "src/1-new/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './arithmetic' ;\nexport * from './compare' ;\nexport * from './convert' ;\n" + }, + { + "__docId__": 167, + "kind": "file", + "static": true, + "variation": null, + "name": "src/index.js", + "memberof": null, + "longname": "src/index.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "export * from './0-legacy' ;\nexport * from './1-new' ;\n" + }, + { + "__docId__": 169, + "kind": "external", + "static": true, + "variation": null, + "name": "Infinity", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Infinity", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 170, + "kind": "external", + "static": true, + "variation": null, + "name": "NaN", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~NaN", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 171, + "kind": "external", + "static": true, + "variation": null, + "name": "undefined", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~undefined", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 172, + "kind": "external", + "static": true, + "variation": null, + "name": "null", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~null", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 173, + "kind": "external", + "static": true, + "variation": null, + "name": "Object", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Object", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 174, + "kind": "external", + "static": true, + "variation": null, + "name": "object", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~object", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 175, + "kind": "external", + "static": true, + "variation": null, + "name": "Function", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Function", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 176, + "kind": "external", + "static": true, + "variation": null, + "name": "function", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~function", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 177, + "kind": "external", + "static": true, + "variation": null, + "name": "Boolean", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Boolean", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 178, + "kind": "external", + "static": true, + "variation": null, + "name": "boolean", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~boolean", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 179, + "kind": "external", + "static": true, + "variation": null, + "name": "Symbol", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Symbol", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 180, + "kind": "external", + "static": true, + "variation": null, + "name": "Error", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Error", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 181, + "kind": "external", + "static": true, + "variation": null, + "name": "EvalError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~EvalError", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 182, + "kind": "external", + "static": true, + "variation": null, + "name": "InternalError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~InternalError", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 183, + "kind": "external", + "static": true, + "variation": null, + "name": "RangeError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~RangeError", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 184, + "kind": "external", + "static": true, + "variation": null, + "name": "ReferenceError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~ReferenceError", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 185, + "kind": "external", + "static": true, + "variation": null, + "name": "SyntaxError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~SyntaxError", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 186, + "kind": "external", + "static": true, + "variation": null, + "name": "TypeError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~TypeError", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 187, + "kind": "external", + "static": true, + "variation": null, + "name": "URIError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~URIError", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 188, + "kind": "external", + "static": true, + "variation": null, + "name": "Number", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Number", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 189, + "kind": "external", + "static": true, + "variation": null, + "name": "number", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~number", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 190, + "kind": "external", + "static": true, + "variation": null, + "name": "Date", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Date", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 191, + "kind": "external", + "static": true, + "variation": null, + "name": "String", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~String", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 192, + "kind": "external", + "static": true, + "variation": null, + "name": "string", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~string", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 193, + "kind": "external", + "static": true, + "variation": null, + "name": "RegExp", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~RegExp", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 194, + "kind": "external", + "static": true, + "variation": null, + "name": "Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Array", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 195, + "kind": "external", + "static": true, + "variation": null, + "name": "Int8Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Int8Array", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 196, + "kind": "external", + "static": true, + "variation": null, + "name": "Uint8Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Uint8Array", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 197, + "kind": "external", + "static": true, + "variation": null, + "name": "Uint8ClampedArray", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Uint8ClampedArray", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 198, + "kind": "external", + "static": true, + "variation": null, + "name": "Int16Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Int16Array", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 199, + "kind": "external", + "static": true, + "variation": null, + "name": "Uint16Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Uint16Array", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 200, + "kind": "external", + "static": true, + "variation": null, + "name": "Int32Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Int32Array", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 201, + "kind": "external", + "static": true, + "variation": null, + "name": "Uint32Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Uint32Array", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 202, + "kind": "external", + "static": true, + "variation": null, + "name": "Float32Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Float32Array", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 203, + "kind": "external", + "static": true, + "variation": null, + "name": "Float64Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Float64Array", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 204, + "kind": "external", + "static": true, + "variation": null, + "name": "Map", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Map", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 205, + "kind": "external", + "static": true, + "variation": null, + "name": "Set", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Set", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 206, + "kind": "external", + "static": true, + "variation": null, + "name": "WeakMap", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~WeakMap", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 207, + "kind": "external", + "static": true, + "variation": null, + "name": "WeakSet", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~WeakSet", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 208, + "kind": "external", + "static": true, + "variation": null, + "name": "ArrayBuffer", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~ArrayBuffer", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 209, + "kind": "external", + "static": true, + "variation": null, + "name": "DataView", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~DataView", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 210, + "kind": "external", + "static": true, + "variation": null, + "name": "JSON", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~JSON", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 211, + "kind": "external", + "static": true, + "variation": null, + "name": "Promise", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Promise", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 212, + "kind": "external", + "static": true, + "variation": null, + "name": "Generator", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Generator", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 213, + "kind": "external", + "static": true, + "variation": null, + "name": "GeneratorFunction", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~GeneratorFunction", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 214, + "kind": "external", + "static": true, + "variation": null, + "name": "Reflect", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Reflect", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 215, + "kind": "external", + "static": true, + "variation": null, + "name": "Proxy", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Proxy", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 217, + "kind": "external", + "static": true, + "variation": null, + "name": "CanvasRenderingContext2D", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D", + "memberof": "BuiltinExternal/WebAPIExternal.js", + "longname": "BuiltinExternal/WebAPIExternal.js~CanvasRenderingContext2D", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 218, + "kind": "external", + "static": true, + "variation": null, + "name": "DocumentFragment", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment", + "memberof": "BuiltinExternal/WebAPIExternal.js", + "longname": "BuiltinExternal/WebAPIExternal.js~DocumentFragment", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 219, + "kind": "external", + "static": true, + "variation": null, + "name": "Element", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Element", + "memberof": "BuiltinExternal/WebAPIExternal.js", + "longname": "BuiltinExternal/WebAPIExternal.js~Element", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 220, + "kind": "external", + "static": true, + "variation": null, + "name": "Event", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Event", + "memberof": "BuiltinExternal/WebAPIExternal.js", + "longname": "BuiltinExternal/WebAPIExternal.js~Event", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 221, + "kind": "external", + "static": true, + "variation": null, + "name": "Node", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Node", + "memberof": "BuiltinExternal/WebAPIExternal.js", + "longname": "BuiltinExternal/WebAPIExternal.js~Node", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 222, + "kind": "external", + "static": true, + "variation": null, + "name": "NodeList", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/NodeList", + "memberof": "BuiltinExternal/WebAPIExternal.js", + "longname": "BuiltinExternal/WebAPIExternal.js~NodeList", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 223, + "kind": "external", + "static": true, + "variation": null, + "name": "XMLHttpRequest", + "externalLink": "https://developer.mozilla.org/en/docs/Web/API/XMLHttpRequest", + "memberof": "BuiltinExternal/WebAPIExternal.js", + "longname": "BuiltinExternal/WebAPIExternal.js~XMLHttpRequest", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 224, + "kind": "external", + "static": true, + "variation": null, + "name": "AudioContext", + "externalLink": "https://developer.mozilla.org/en/docs/Web/API/AudioContext", + "memberof": "BuiltinExternal/WebAPIExternal.js", + "longname": "BuiltinExternal/WebAPIExternal.js~AudioContext", + "access": null, + "description": "", + "builtinExternal": true + } +] \ No newline at end of file diff --git a/file/src/0-legacy/abs/abs.js.html b/file/src/0-legacy/abs/abs.js.html new file mode 100644 index 0000000..e69f44e --- /dev/null +++ b/file/src/0-legacy/abs/abs.js.html @@ -0,0 +1,126 @@ + + + + + + src/0-legacy/abs/abs.js | aureooms/js-integer API Document + + + + + + + + + + + +

      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/abs/abs.js

      +
      /**
      + * COMPUTE THE ABSOLUTE VALUE OF NUMBER n
      + */
      +
      +// exports.abs = function abs() {};
      +
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/abs/index.js.html b/file/src/0-legacy/abs/index.js.html new file mode 100644 index 0000000..1a12fc0 --- /dev/null +++ b/file/src/0-legacy/abs/index.js.html @@ -0,0 +1,121 @@ + + + + + + src/0-legacy/abs/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/abs/index.js

      +
      export * from './abs' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/arithmetic/add/add.js.html b/file/src/0-legacy/arithmetic/add/add.js.html new file mode 100644 index 0000000..8d6ff54 --- /dev/null +++ b/file/src/0-legacy/arithmetic/add/add.js.html @@ -0,0 +1,214 @@ + + + + + + src/0-legacy/arithmetic/add/add.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/arithmetic/add/add.js

      +
      
      +/**
      + * @param {int} r base (radix)
      + */
      +
      +
      +export function badd_t (r) {
      +
      +
      +	/**
      +	 * Adds two big endian arrays, k >= i >= j
      +	 * wraps
      +	 *
      +	 * @param {array} a first operand
      +	 * @param {int} i0 a left
      +	 * @param {int} i1 a right
      +	 * @param {array} b second operand
      +	 * @param {int} j0 b left
      +	 * @param {int} j1 b right
      +	 * @param {array} c result, must be 0 initialized
      +	 * @param {int} k0 c left
      +	 * @param {int} k1 c right
      +	 */
      +
      +	return function(a, i0, i1, b, j0, j1, c, k0, k1){
      +		var t, C = 0;
      +
      +		while(--j1 >= j0){
      +			--i1; --k1;
      +			t = a[i1] + b[j1] + C;
      +			c[k1] = t % r;
      +			C = t / r >= 1;
      +		}
      +
      +		while(--i1 >= i0){
      +			--k1;
      +			t = a[i1] + C;
      +			c[k1] = t % r;
      +			C = t / r >= 1;
      +		}
      +
      +		if(--k1 >= k0){
      +			c[k1] = +C;
      +		}
      +
      +	};
      +
      +}
      +
      +
      +/**
      + * @param {int} r base (radix)
      + */
      +
      +export function ladd_t(r){
      +
      +	/**
      +	 * Adds two little endian arrays, k >= i >= j
      +	 * wraps
      +	 *
      +	 * @param {array} a first operand
      +	 * @param {int} i0 a left
      +	 * @param {int} i1 a right
      +	 * @param {array} b second operand
      +	 * @param {int} j0 b left
      +	 * @param {int} j1 b right
      +	 * @param {array} c result, must be 0 initialized
      +	 * @param {int} k0 c left
      +	 * @param {int} k1 c right
      +	 */
      +
      +	return function(a, i0, i1, b, j0, j1, c, k0, k1){
      +		var t, C = 0;
      +
      +		while(j0 < j1){
      +			t = a[i0] + b[j0] + C;
      +			c[k0] = t % r;
      +			C = t / r >= 1;
      +			++i0; ++j0; ++k0;
      +		}
      +
      +		while(i0 < i1){
      +			t = a[i0] + C;
      +			c[k0] = t % r;
      +			C = t / r >= 1;
      +			++i0; ++k0;
      +		}
      +
      +		if(k0 < k1){
      +			c[k0] = +C;
      +		}
      +
      +	};
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/arithmetic/add/index.js.html b/file/src/0-legacy/arithmetic/add/index.js.html new file mode 100644 index 0000000..1df2dc5 --- /dev/null +++ b/file/src/0-legacy/arithmetic/add/index.js.html @@ -0,0 +1,121 @@ + + + + + + src/0-legacy/arithmetic/add/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/arithmetic/add/index.js

      +
      export * from './add' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/arithmetic/div/dcdiv.js.html b/file/src/0-legacy/arithmetic/div/dcdiv.js.html new file mode 100644 index 0000000..bfa22e4 --- /dev/null +++ b/file/src/0-legacy/arithmetic/div/dcdiv.js.html @@ -0,0 +1,122 @@ + + + + + + src/0-legacy/arithmetic/div/dcdiv.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/arithmetic/div/dcdiv.js

      +
      
      +// https://gmplib.org/manual/Divide-and-Conquer-Division.html
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/arithmetic/div/div.js.html b/file/src/0-legacy/arithmetic/div/div.js.html new file mode 100644 index 0000000..5accc1a --- /dev/null +++ b/file/src/0-legacy/arithmetic/div/div.js.html @@ -0,0 +1,193 @@ + + + + + + src/0-legacy/arithmetic/div/div.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/arithmetic/div/div.js

      +
      
      +
      +
      +export function bdiv_t (lt, sub){
      +
      +	/**
      +	 * Computes quotient and remainder of two big endian arrays.
      +	 * <p>
      +	 * Computes quotient and remainder of two big endian arrays
      +	 * using long division algorithm (the one teached in
      +	 * european primary schools).
      +	 *
      +	 * /!\ This algorithm modifies its first operand.
      +	 *
      +	 * HYP : q is at least as large as r
      +	 *       b is not zero
      +	 *
      +	 * @param {array} r dividend and remainder
      +	 * @param {int} ri r left
      +	 * @param {int} rj r right
      +	 * @param {array} b divisor
      +	 * @param {int} bi b left
      +	 * @param {int} bj b right
      +	 * @param {array} q quotient, must be 0 initialized
      +	 * @param {int} qi q left
      +	 */
      +
      +	// /!\ There are implicit hypotheses
      +	//     made on the size of the operands.
      +	//     Should clarify.
      +
      +	var div = function(r, ri, rj, b, bi, bj, q, qi){
      +		var k, t = ri + 1;
      +
      +		do {
      +
      +			// trim leading zeros
      +			//     - maybe could try to put this procedure inside the sub loop
      +			//     - or assume that the number is trimed at the begining
      +			//       and put this statement at the end of the main loop
      +			while (ri < rj && r[ri] === 0) ++ri;
      +
      +			// search for a remainder block interval
      +			// greater than the divisor
      +			//     - maybe could try binary search on the lt function
      +			//     for another implementation
      +			k = ri + 1;
      +			while (k <= rj && lt(r, ri, k, b, bi, bj)) ++k;
      +
      +			// remainder smaller than divisor --> end
      +			if (k > rj) break;
      +
      +			// divide current block interval by quotient
      +			do{
      +
      +				// increment quotient block corresponding
      +				// to current ls block of remainder interval
      +				++q[qi + k - t];
      +
      +				// subtract divisor from current remainder
      +				// block interval
      +				sub(r, ri, k, b, bi, bj, r, ri, k);
      +
      +			} while(!lt(r, ri, k, b, bi, bj));
      +
      +
      +		} while(true);
      +
      +	};
      +
      +	return div;
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/arithmetic/div/fourierdiv.js.html b/file/src/0-legacy/arithmetic/div/fourierdiv.js.html new file mode 100644 index 0000000..aa0b095 --- /dev/null +++ b/file/src/0-legacy/arithmetic/div/fourierdiv.js.html @@ -0,0 +1,122 @@ + + + + + + src/0-legacy/arithmetic/div/fourierdiv.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/arithmetic/div/fourierdiv.js

      +
      
      +// http://en.wikipedia.org/wiki/Fourier_division
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/arithmetic/div/index.js.html b/file/src/0-legacy/arithmetic/div/index.js.html new file mode 100644 index 0000000..961f442 --- /dev/null +++ b/file/src/0-legacy/arithmetic/div/index.js.html @@ -0,0 +1,124 @@ + + + + + + src/0-legacy/arithmetic/div/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/arithmetic/div/index.js

      +
      export * from './dcdiv' ;
      +export * from './div' ;
      +export * from './fourierdiv' ;
      +export * from './knuthd' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/arithmetic/div/knuthd.js.html b/file/src/0-legacy/arithmetic/div/knuthd.js.html new file mode 100644 index 0000000..8c15500 --- /dev/null +++ b/file/src/0-legacy/arithmetic/div/knuthd.js.html @@ -0,0 +1,122 @@ + + + + + + src/0-legacy/arithmetic/div/knuthd.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/arithmetic/div/knuthd.js

      +
      
      +// http://books.google.be/books?id=VicPJYM0I5QC&pg=PA184&lpg=PA184&dq=knuth+algorithm+d&source=bl&ots=2n-NJWuw1o&sig=47hDkFG780BqE2mmi9OMPqbK4Fs&hl=en&sa=X&ei=_ioMVKbKFMawOZT_gaAH&ved=0CDkQ6AEwAw#v=onepage&q=knuth%20algorithm%20d&f=false
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/arithmetic/index.js.html b/file/src/0-legacy/arithmetic/index.js.html new file mode 100644 index 0000000..b571876 --- /dev/null +++ b/file/src/0-legacy/arithmetic/index.js.html @@ -0,0 +1,124 @@ + + + + + + src/0-legacy/arithmetic/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/arithmetic/index.js

      +
      export * from './add' ;
      +export * from './div' ;
      +export * from './mul' ;
      +export * from './sub' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/arithmetic/mul/index.js.html b/file/src/0-legacy/arithmetic/mul/index.js.html new file mode 100644 index 0000000..f80d7ff --- /dev/null +++ b/file/src/0-legacy/arithmetic/mul/index.js.html @@ -0,0 +1,124 @@ + + + + + + src/0-legacy/arithmetic/mul/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/arithmetic/mul/index.js

      +
      export * from './karatsuba' ;
      +export * from './mul' ;
      +export * from './mul53' ;
      +export * from './toomcook' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/arithmetic/mul/karatsuba.js.html b/file/src/0-legacy/arithmetic/mul/karatsuba.js.html new file mode 100644 index 0000000..8a68d97 --- /dev/null +++ b/file/src/0-legacy/arithmetic/mul/karatsuba.js.html @@ -0,0 +1,273 @@ + + + + + + src/0-legacy/arithmetic/mul/karatsuba.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/arithmetic/mul/karatsuba.js

      +
      /**
      + * /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)
      + *
      + *
      + * @param {function} add addition algorithm
      + * @param {function} sub subtraction algorithm
      + * @param {function} mul multiplication algorithm
      + * @param {function} copy copy algorithm
      + * @param {function} calloc array allocator
      + * @param {uint} r base (radix)
      + *
      + *
      + * EXPLANATION
      + * ###########
      + *
      + * We consider the numbers a and b, both of size N = 2n.
      + *
      + * We divide a and b into their lower and upper parts.
      + *
      + * a = a1 r^{n} + a0 (1)
      + * b = b1 r^{n} + b0 (2)
      + *
      + * We express the product of a and b using their lower and upper parts.
      + *
      + * a b = (a1 r^{n} + a0) (b1 r^{n} + b0) (3)
      + *     = a1 b1 r^{2n} + (a1 b0 + a0 b1) r^{n} + a0 b0 (4)
      + *
      + * This gives us 4 multiplications with operands of size n.
      + * Using a simple trick, we can reduce this computation to 3 multiplications.
      + *
      + * We give the 3 terms of (4) the names z0, z1 and z2.
      + *
      + * z2 = a1 b1
      + * z1 = a1 b0 + a0 b1
      + * z0 = a0 b0
      + *
      + * a b  = z2 r^{2n} + z1 r^{n} + z0
      + *
      + * We then express z1 using z0, z2 and one additional multiplication.
      + *
      + * (a1 + a0)(b1 + b0) = a1 b1 + a0 b0 + (a1 b0 + a0 b1)
      + *                    = z2 + z0 + z1
      + *
      + * z1 = (a1 + a0)(b1 + b0) - z2 - z0
      + *
      + * AN ANOTHER WAY AROUND (not used here)
      + *
      + * (a1 - a0)(b1 - b0) = (a1 b1 + a0 b0) - (a1 b0 + a0 b1)
      + * (a0 - a1)(b1 - b0) = (a1 b0 + a0 b1) - (a1 b1 + a0 b0)
      + * a b = (r^{2n} + r^{n})a1 b1 + r^{n}(a0 - a1)(b1 - b0) + (r^{n} + 1)a0 b0
      + *
      + * This algorithm is a generalization of the Toom-Cook algorithm, when m = n = 2.
      + *
      + * For further reference, see
      + *  - http://en.wikipedia.org/wiki/Karatsuba_algorithm
      + *  - http://en.wikipedia.org/wiki/Toom–Cook_multiplication
      + */
      +
      +export function bkaratsuba_t (add, sub, mul, calloc, mov, r, wrap){
      +
      +	/**
      +	 * Multiply two big endian arrays using karatsuba algorithm,
      +	 * i >= j, k >= 2 * i
      +	 *
      +	 *
      +	 * @param {array} a first operand
      +	 * @param {int} ai a left
      +	 * @param {int} aj a right
      +	 * @param {array} b second operand
      +	 * @param {int} bi b left
      +	 * @param {int} bj b right
      +	 * @param {array} c result, must be 0 initialized
      +	 * @param {int} ci c left
      +	 * @param {int} cj c right
      +	 */
      +
      +	var karatsuba = function(a, ai, aj, b, bi, bj, c, ci, cj){
      +
      +		var z0, z2, t1, t2, t3, n, I, N, N_, i_, j_, i, j, k;
      +
      +		i = aj - ai;
      +		j = bj - bi;
      +		k = cj - ci;
      +
      +		// EMPTY CASE
      +		if (i <= 0 || j <= 0 || k <= 0) return;
      +
      +		// BASE CASE i = j = 1
      +		if (i === 1) {
      +
      +			z0 = a[ai] * b[bi];
      +			c[cj-1] = z0 % r;
      +
      +			if (k > 1) {
      +				c[cj-2] = (z0 - c[cj-1]) / r;
      +			}
      +
      +		}
      +
      +		// RECURSION
      +		else{
      +			n  = Math.ceil(i / 2);
      +			I  = i + j;
      +			N  = 2 * n;
      +			N_ = I - N;
      +			i_ = aj - n;
      +			j_ = Math.max(bi, bj - n);
      +
      +			t1 = calloc(n + 1); // + 1 to handle addition overflows
      +			t2 = calloc(n + 1); // and guarantee reducing k for the
      +			t3 = calloc(N + 1); // recursive calls
      +			z2 = calloc(N_);
      +			z0 = calloc(N);
      +
      +		// RECURSIVE CALLS
      +			mul(a, ai, i_, b, bi, j_, z2, 0, N_);            // z2 = a1.b1
      +			mul(a, i_, aj, b, j_, bj, z0, 0, N);             // z0 = a0.b0
      +			add(a, i_, aj, a, ai, i_, t1, 0, n + 1);         // (a0 + a1)
      +			add(b, bi, j_, b, j_, bj, t2, 0, n + 1);         // (b1 + b0)
      +			mul(t1, 1, n + 1, t2, 1, n + 1, t3, 1, N + 1);   // (a0 + a1)(b1 + b0)
      +
      +		// BUILD OUTPUT
      +			mov(z2, 0, N_, c, cj - I);                       // + z2 . r^{2n}
      +			mov(z0, 0, N , c, cj - N);                       // + z0
      +
      +			if (t1[0]) {
      +				// overflow on t1, add t2 . r^{n}
      +				add(t3, 0, N + 1 - n, t2, 1, n + 1, t3, 0, N + 1 - n);
      +			}
      +
      +			if (t2[0]) {
      +				// overflow on t2, add t1 . r^{n}
      +				add(t3, 0, N + 1 - n, t1, 1, n + 1, t3, 0, N + 1 - n);
      +			}
      +
      +			if (t1[0] && t2[0]) {
      +				// overflow on t1 and t2, add 1 . r^{n+1}
      +				add(t3, 0, N - n, t1, 0, 1, t3, 0, N - n);
      +			}
      +
      +			add(c, ci, cj - n, t3, 0, N + 1, c, ci, cj - n); // + (a0 + a1)(b1 + b0) . r^{n}
      +			sub(c, ci, cj - n, z2, 0, N_, c, ci, cj - n);    // - z2 . r^{n}
      +			sub(c, ci, cj - n, z0, 0, N, c, ci, cj - n);     // - z1 . r^{n}
      +		}
      +
      +	};
      +
      +	if (wrap !== undefined) karatsuba = wrap(karatsuba);
      +	if (mul === undefined) mul = karatsuba;
      +
      +	return karatsuba;
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/arithmetic/mul/mul.js.html b/file/src/0-legacy/arithmetic/mul/mul.js.html new file mode 100644 index 0000000..d5251ca --- /dev/null +++ b/file/src/0-legacy/arithmetic/mul/mul.js.html @@ -0,0 +1,162 @@ + + + + + + src/0-legacy/arithmetic/mul/mul.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/arithmetic/mul/mul.js

      +
      
      +export function bmul_t (r){
      +
      +	/**
      +	 * Computes product of two big endian arrays.
      +	 * <p>
      +	 * Computes product of two big endian arrays
      +	 * using long multiplication algorithm (the one teached in
      +	 * european primary schools)
      +	 */
      +
      +	var mul = function(a, ai, aj, b, bi, bj, c, ci, cj){
      +		var ak, ck = --cj, ct, t, u, v, w, y, z;
      +
      +		while (bj --> bi && ck >= ci) {
      +			for (ak = aj, w = 0; ak --> ai && ck >= ci; --ck) {
      +				t = b[bj] * a[ak];
      +				u = t % r;
      +				v = c[ck] + u + w;
      +
      +				y = v % r;
      +
      +				c[ck] = y;
      +
      +				z = (v - y) / r;
      +
      +				for (ct = ck - 1; z > 0 && ct >= ci; --ct) {
      +					v = c[ct] + z;
      +					y = v % r;
      +					c[ct] = y;
      +					z = (v - y) / r;
      +				}
      +
      +				w = (t - u) / r;
      +			}
      +			ck = --cj;
      +		}
      +	};
      +
      +	return mul;
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/arithmetic/mul/mul53.js.html b/file/src/0-legacy/arithmetic/mul/mul53.js.html new file mode 100644 index 0000000..3b21939 --- /dev/null +++ b/file/src/0-legacy/arithmetic/mul/mul53.js.html @@ -0,0 +1,209 @@ + + + + + + src/0-legacy/arithmetic/mul/mul53.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/arithmetic/mul/mul53.js

      +
      /**
      + * /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)
      + *
      + * big endian 1 block multiplication
      + *
      + */
      +
      +export function bmul53_t (r){
      +
      +	/**
      +	 * Multiply two blocks, result is put in a 1 or 2 blocks big endian array.
      +	 * aj - ai <= 1, bj - bi <= 1, cj - ci <= 2
      +	 *
      +	 *
      +	 * @param {array} a first operand
      +	 * @param {int} ai a left
      +	 * @param {int} aj a right
      +	 * @param {array} b second operand
      +	 * @param {int} bi b left
      +	 * @param {int} bj b right
      +	 * @param {array} c result, must be 0 initialized
      +	 * @param {int} ci c left
      +	 * @param {int} cj c right
      +	 */
      +
      +	var mul = function(a, ai, aj, b, bi, bj, c, ci, cj){
      +
      +		var v;
      +
      +		// EMPTY CASE
      +		if (aj <= ai || bj <= bi || cj <= ci) return;
      +
      +		v = a[ai] * b[bi];
      +		c[cj-1] = v % r;
      +
      +		if (cj > ci + 1) {
      +			c[cj-2] = (v - c[cj-1]) / r;
      +		}
      +
      +	};
      +
      +	return mul;
      +
      +}
      +
      +/**
      + * /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)
      + *
      + * little endian 1 block multiplication
      + *
      + */
      +
      +export function lmul53_t (r){
      +
      +	/**
      +	 * Multiply two blocks, result is put in a 1 or 2 blocks little endian array.
      +	 * aj - ai <= 1, bj - bi <= 1, cj - ci <= 2
      +	 *
      +	 *
      +	 * @param {array} a first operand
      +	 * @param {int} ai a left
      +	 * @param {int} aj a right
      +	 * @param {array} b second operand
      +	 * @param {int} bi b left
      +	 * @param {int} bj b right
      +	 * @param {array} c result, must be 0 initialized
      +	 * @param {int} ci c left
      +	 * @param {int} cj c right
      +	 */
      +
      +	var mul = function(a, ai, aj, b, bi, bj, c, ci, cj){
      +
      +		var v;
      +
      +		// EMPTY CASE
      +		if (aj <= ai || bj <= bi || cj <= ci) return;
      +
      +		v = a[ai] * b[bi];
      +		c[ci] = v % r;
      +
      +		if (cj > ci + 1) {
      +			c[ci+1] = (v - c[ci]) / r;
      +		}
      +
      +	};
      +
      +	return mul;
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/arithmetic/mul/toomcook.js.html b/file/src/0-legacy/arithmetic/mul/toomcook.js.html new file mode 100644 index 0000000..9c29f4f --- /dev/null +++ b/file/src/0-legacy/arithmetic/mul/toomcook.js.html @@ -0,0 +1,122 @@ + + + + + + src/0-legacy/arithmetic/mul/toomcook.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/arithmetic/mul/toomcook.js

      +
      
      +// http://en.wikipedia.org/wiki/Toom–Cook_multiplication
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/arithmetic/sub/index.js.html b/file/src/0-legacy/arithmetic/sub/index.js.html new file mode 100644 index 0000000..f294c6c --- /dev/null +++ b/file/src/0-legacy/arithmetic/sub/index.js.html @@ -0,0 +1,121 @@ + + + + + + src/0-legacy/arithmetic/sub/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/arithmetic/sub/index.js

      +
      export * from './sub' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/arithmetic/sub/sub.js.html b/file/src/0-legacy/arithmetic/sub/sub.js.html new file mode 100644 index 0000000..fafa482 --- /dev/null +++ b/file/src/0-legacy/arithmetic/sub/sub.js.html @@ -0,0 +1,216 @@ + + + + + + src/0-legacy/arithmetic/sub/sub.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/arithmetic/sub/sub.js

      +
      
      +/**
      + * @param {int} r base (radix)
      + */
      +
      +
      +export function bsub_t (r){
      +
      +	/**
      +	 * Subtracts two big endian arrays, k >= i >= j
      +	 * wraps
      +	 *
      +	 * @param {array} a first operand
      +	 * @param {int} ai a left
      +	 * @param {int} aj a right
      +	 * @param {array} b second operand
      +	 * @param {int} bi b left
      +	 * @param {int} bj b right
      +	 * @param {array} c result, must be 0 initialized
      +	 * @param {int} ci c left
      +	 * @param {int} cj c right
      +	 */
      +
      +	return function(a, ai, aj, b, bi, bj, c, ci, cj){
      +		var T, C = 0;
      +
      +		while(--bj >= bi){
      +			--aj; --cj;
      +			T = C;
      +			C = a[aj] < b[bj] + T;
      +			c[cj] = a[aj] - b[bj] + (C*r - T);
      +		}
      +
      +		while(--aj >= ai){
      +			--cj;
      +			T = C;
      +			C = a[aj] < T;
      +			c[cj] = a[aj] + (C*r - T);
      +		}
      +
      +		if(C){
      +			while(--cj >= ci){
      +				c[cj] = r - 1;
      +			}
      +		}
      +
      +	};
      +}
      +
      +
      +/**
      + * @param {int} r base (radix)
      + */
      +export function lsub_t (r){
      +
      +	/**
      +	 * Subtracts two little endian arrays, k >= i >= j
      +	 * wraps
      +	 *
      +	 * @param {array} a first operand
      +	 * @param {int} ai a left
      +	 * @param {int} aj a right
      +	 * @param {array} b second operand
      +	 * @param {int} bi b left
      +	 * @param {int} bj b right
      +	 * @param {array} c result, must be 0 initialized
      +	 * @param {int} ci c left
      +	 * @param {int} cj c right
      +	 */
      +
      +	return function(a, ai, aj, b, bi, bj, c, ci, cj){
      +		var T, C = 0;
      +
      +		while(bi < bj){
      +			T = C;
      +			C = a[ai] < b[bi] + T;
      +			c[ci] = a[ai] - b[bi] + (C*r - T);
      +			++ai; ++bi; ++ci;
      +		}
      +
      +		while(ai < aj){
      +			T = C;
      +			C = a[ai] < T;
      +			c[ci] = a[ai] + (C*r - T);
      +			++ai; ++ci;
      +		}
      +
      +		if(C){
      +			while(ci < cj){
      +				c[ci] = r - 1;
      +				++ci;
      +			}
      +		}
      +
      +	};
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/binary/and/and.js.html b/file/src/0-legacy/binary/and/and.js.html new file mode 100644 index 0000000..daffc88 --- /dev/null +++ b/file/src/0-legacy/binary/and/and.js.html @@ -0,0 +1,197 @@ + + + + + + src/0-legacy/binary/and/and.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/binary/and/and.js

      +
      
      +/**
      + *
      + * BINARY and APPLIED ON a AND b
      + *
      + * Meaningful only when r is a power of 2.
      + *
      + * |a| = |b| = |c| > 0
      + *
      + *
      + */
      +
      +export function and (a, a0, b, b0, c, c0, c1) {
      +
      +	while (c0 < c1) c[c0++] = a[a0++] & b[b0++];
      +
      +}
      +
      +
      +/**
      + * BIG ENDIAN BINARY and APPLIED ON a AND b
      + *
      + * Meaningful only when r is a power of 2.
      + *
      + * |a| >= |b| > 0
      + *
      + * treats b as if it was represented with the same number of blocks as a
      + */
      +
      +export function band_t (r){
      +
      +	var _r = r / 2;
      +
      +	return function (a, a0, a1, b, b0, b1, c, c0, c1) {
      +
      +		var at = a1 - b1 + b0;
      +		var ct = c0 + at - a0;
      +
      +		if (b[b0] < _r) while (c0 < ct) c[c0++] = 0;
      +		else            while (c0 < ct) c[c0++] = a[a0++];
      +
      +		while (c0 < c1) c[c0++] = a[at++] & b[b0++];
      +
      +	};
      +
      +}
      +
      +
      +
      +
      +/**
      + * LITTLE ENDIAN BINARY and APPLIED ON a AND b
      + *
      + * Meaningful only when r is a power of 2.
      + *
      + * |a| >= |b| > 0
      + *
      + * treats b as if it was represented with the same number of blocks as a
      + */
      +
      +export function land_t (r){
      +
      +	var _r = r / 2;
      +
      +	return function (a, a0, a1, b, b0, b1, c, c0, c1) {
      +
      +		var ct = c0 + b1 - b0;
      +
      +		while (c0 < ct) c[c0++] = a[a0++] & b[b0++];
      +
      +		if (b[b0 - 1] < _r) while (c0 < c1) c[c0++] = 0;
      +		else                while (c0 < c1) c[c0++] = a[a0++];
      +
      +
      +	};
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/binary/and/index.js.html b/file/src/0-legacy/binary/and/index.js.html new file mode 100644 index 0000000..64e1e12 --- /dev/null +++ b/file/src/0-legacy/binary/and/index.js.html @@ -0,0 +1,121 @@ + + + + + + src/0-legacy/binary/and/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/binary/and/index.js

      +
      export * from './and' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/binary/index.js.html b/file/src/0-legacy/binary/index.js.html new file mode 100644 index 0000000..79278d7 --- /dev/null +++ b/file/src/0-legacy/binary/index.js.html @@ -0,0 +1,124 @@ + + + + + + src/0-legacy/binary/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/binary/index.js

      +
      export * from './and' ;
      +export * from './not' ;
      +export * from './or' ;
      +export * from './xor' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/binary/not/index.js.html b/file/src/0-legacy/binary/not/index.js.html new file mode 100644 index 0000000..9958c5a --- /dev/null +++ b/file/src/0-legacy/binary/not/index.js.html @@ -0,0 +1,121 @@ + + + + + + src/0-legacy/binary/not/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/binary/not/index.js

      +
      export * from './not' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/binary/not/not.js.html b/file/src/0-legacy/binary/not/not.js.html new file mode 100644 index 0000000..f76674c --- /dev/null +++ b/file/src/0-legacy/binary/not/not.js.html @@ -0,0 +1,122 @@ + + + + + + src/0-legacy/binary/not/not.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/binary/not/not.js

      +
      /**
      + * BINARY not APPLIED ON a
      + */
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/binary/or/index.js.html b/file/src/0-legacy/binary/or/index.js.html new file mode 100644 index 0000000..6f6f256 --- /dev/null +++ b/file/src/0-legacy/binary/or/index.js.html @@ -0,0 +1,121 @@ + + + + + + src/0-legacy/binary/or/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/binary/or/index.js

      +
      export * from './or' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/binary/or/or.js.html b/file/src/0-legacy/binary/or/or.js.html new file mode 100644 index 0000000..b462c6e --- /dev/null +++ b/file/src/0-legacy/binary/or/or.js.html @@ -0,0 +1,122 @@ + + + + + + src/0-legacy/binary/or/or.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/binary/or/or.js

      +
      /**
      + * BINARY or APPLIED ON a AND b
      + */
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/binary/xor/index.js.html b/file/src/0-legacy/binary/xor/index.js.html new file mode 100644 index 0000000..ac2f6a7 --- /dev/null +++ b/file/src/0-legacy/binary/xor/index.js.html @@ -0,0 +1,121 @@ + + + + + + src/0-legacy/binary/xor/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/binary/xor/index.js

      +
      export * from './xor' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/binary/xor/xor.js.html b/file/src/0-legacy/binary/xor/xor.js.html new file mode 100644 index 0000000..4d854f6 --- /dev/null +++ b/file/src/0-legacy/binary/xor/xor.js.html @@ -0,0 +1,122 @@ + + + + + + src/0-legacy/binary/xor/xor.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/binary/xor/xor.js

      +
      /**
      + * BINARY xor APPLIED ON a AND b
      + */
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/compare/cmp.js.html b/file/src/0-legacy/compare/cmp.js.html new file mode 100644 index 0000000..fcc876e --- /dev/null +++ b/file/src/0-legacy/compare/cmp.js.html @@ -0,0 +1,190 @@ + + + + + + src/0-legacy/compare/cmp.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/compare/cmp.js

      +
      
      +export function bcmp_t ( ) {
      +
      +
      +	/**
      +	 * Compares two big endian arrays, |a| >= |b|
      +	 *
      +	 * @param {array} a first operand
      +	 * @param {int} ai a left
      +	 * @param {int} aj a right
      +	 * @param {array} b second operand
      +	 * @param {int} bi b left
      +	 * @param {int} bj b right
      +	 *
      +	 * @return {int} 1 if a > b; 0 if a = b; -1 otherwise.
      +	 */
      +
      +	return function(a, ai, aj, b, bi, bj){
      +
      +		var tmp = aj - bj + bi;
      +
      +		for (; ai < tmp; ++ai)
      +			if (a[ai] > 0) return 1;
      +
      +
      +		// same size aj - ai === bj - bi
      +		for (; ai < aj; ++ai, ++bi) {
      +			if (a[ai] > b[bi]) return  1;
      +			if (a[ai] < b[bi]) return -1;
      +		}
      +
      +		return 0;
      +	};
      +
      +}
      +
      +export function lcmp_t ( ) {
      +
      +	/**
      +	 * Compares two little endian arrays, |a| >= |b|
      +	 *
      +	 * @param {array} a first operand
      +	 * @param {int} ai a left
      +	 * @param {int} aj a right
      +	 * @param {array} b second operand
      +	 * @param {int} bi b left
      +	 * @param {int} bj b right
      +	 *
      +	 * @return {int} 1 if a > b; 0 if a = b; -1 otherwise.
      +	 */
      +
      +	return function(a, ai, aj, b, bi, bj){
      +
      +		var tmp = ai + bj - bi;
      +
      +		--aj; --bj;
      +
      +		for (; aj >= tmp; --aj)
      +			if (a[aj] > 0) return 1;
      +
      +
      +		// same size aj - ai === bj - bi
      +		for (; aj >= ai; --aj, --bj) {
      +			if (a[aj] > b[bj]) return  1;
      +			if (a[aj] < b[bj]) return -1;
      +		}
      +
      +		return 0;
      +	};
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/compare/eq.js.html b/file/src/0-legacy/compare/eq.js.html new file mode 100644 index 0000000..5a0e651 --- /dev/null +++ b/file/src/0-legacy/compare/eq.js.html @@ -0,0 +1,130 @@ + + + + + + src/0-legacy/compare/eq.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/compare/eq.js

      +
      /**
      + * Wrapper for a comparison operator that returns true iff
      + * _a_ is equal to _b_.
      + */
      +
      +export function eq_t (cmp){
      +	return function (a, ai, aj, b, bi, bj) {
      +		return cmp(a, ai, aj, b, bi, bj) === 0;
      +	};
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/compare/ge.js.html b/file/src/0-legacy/compare/ge.js.html new file mode 100644 index 0000000..e3a5169 --- /dev/null +++ b/file/src/0-legacy/compare/ge.js.html @@ -0,0 +1,132 @@ + + + + + + src/0-legacy/compare/ge.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/compare/ge.js

      +
      
      +
      +/**
      + * Wrapper for a comparison operator that returns true iff
      + * _a_ is greater or equal to _b_.
      + */
      +
      +export function ge_t (cmp){
      +	return function (a, ai, aj, b, bi, bj) {
      +		return cmp(a, ai, aj, b, bi, bj) >= 0;
      +	};
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/compare/gt.js.html b/file/src/0-legacy/compare/gt.js.html new file mode 100644 index 0000000..56781f3 --- /dev/null +++ b/file/src/0-legacy/compare/gt.js.html @@ -0,0 +1,132 @@ + + + + + + src/0-legacy/compare/gt.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/compare/gt.js

      +
      
      +
      +/**
      + * Wrapper for a comparison operator that returns true iff
      + * _a_ is greater than _b_.
      + */
      +
      +export function gt_t (cmp){
      +	return function (a, ai, aj, b, bi, bj) {
      +		return cmp(a, ai, aj, b, bi, bj) > 0;
      +	};
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/compare/index.js.html b/file/src/0-legacy/compare/index.js.html new file mode 100644 index 0000000..e950040 --- /dev/null +++ b/file/src/0-legacy/compare/index.js.html @@ -0,0 +1,127 @@ + + + + + + src/0-legacy/compare/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/compare/index.js

      +
      export * from './cmp' ;
      +export * from './eq' ;
      +export * from './ge' ;
      +export * from './gt' ;
      +export * from './le' ;
      +export * from './lt' ;
      +export * from './ne' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/compare/le.js.html b/file/src/0-legacy/compare/le.js.html new file mode 100644 index 0000000..088e11b --- /dev/null +++ b/file/src/0-legacy/compare/le.js.html @@ -0,0 +1,132 @@ + + + + + + src/0-legacy/compare/le.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/compare/le.js

      +
      
      +
      +/**
      + * Wrapper for a comparison operator that returns true iff
      + * _a_ is less or equal to _b_.
      + */
      +
      +export function le_t (cmp){
      +	return function (a, ai, aj, b, bi, bj) {
      +		return cmp(a, ai, aj, b, bi, bj) <= 0;
      +	};
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/compare/lt.js.html b/file/src/0-legacy/compare/lt.js.html new file mode 100644 index 0000000..2cad4f0 --- /dev/null +++ b/file/src/0-legacy/compare/lt.js.html @@ -0,0 +1,132 @@ + + + + + + src/0-legacy/compare/lt.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/compare/lt.js

      +
      
      +
      +/**
      + * Wrapper for a comparison operator that returns true iff
      + * _a_ is less than _b_.
      + */
      +
      +export function lt_t (cmp){
      +	return function (a, ai, aj, b, bi, bj) {
      +		return cmp(a, ai, aj, b, bi, bj) < 0;
      +	};
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/compare/ne.js.html b/file/src/0-legacy/compare/ne.js.html new file mode 100644 index 0000000..0f40715 --- /dev/null +++ b/file/src/0-legacy/compare/ne.js.html @@ -0,0 +1,132 @@ + + + + + + src/0-legacy/compare/ne.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/compare/ne.js

      +
      
      +
      +/**
      + * Wrapper for a comparison operator that returns true iff
      + * _a_ is not equal to _b_.
      + */
      +
      +export function ne_t (cmp){
      +	return function (a, ai, aj, b, bi, bj) {
      +		return cmp(a, ai, aj, b, bi, bj) !== 0;
      +	};
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/index.js.html b/file/src/0-legacy/index.js.html new file mode 100644 index 0000000..f60b4f5 --- /dev/null +++ b/file/src/0-legacy/index.js.html @@ -0,0 +1,127 @@ + + + + + + src/0-legacy/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/index.js

      +
      export * from './abs' ;
      +export * from './arithmetic' ;
      +export * from './binary' ;
      +export * from './compare' ;
      +export * from './others' ;
      +export * from './parse' ;
      +export * from './stringify' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/others/gcd/gcd.js.html b/file/src/0-legacy/others/gcd/gcd.js.html new file mode 100644 index 0000000..892ed5b --- /dev/null +++ b/file/src/0-legacy/others/gcd/gcd.js.html @@ -0,0 +1,122 @@ + + + + + + src/0-legacy/others/gcd/gcd.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/others/gcd/gcd.js

      +
      /**
      + * COMPUTE THE GREATEST COMMON DIVISOR OF a AND b
      + */
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/others/gcd/index.js.html b/file/src/0-legacy/others/gcd/index.js.html new file mode 100644 index 0000000..4b27523 --- /dev/null +++ b/file/src/0-legacy/others/gcd/index.js.html @@ -0,0 +1,121 @@ + + + + + + src/0-legacy/others/gcd/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/others/gcd/index.js

      +
      export * from './gcd' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/others/index.js.html b/file/src/0-legacy/others/index.js.html new file mode 100644 index 0000000..e698642 --- /dev/null +++ b/file/src/0-legacy/others/index.js.html @@ -0,0 +1,130 @@ + + + + + + src/0-legacy/others/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/others/index.js

      +
      export * from './gcd' ;
      +export * from './lcm' ;
      +export * from './log' ;
      +export * from './mod' ;
      +export * from './mpow' ;
      +export * from './neg' ;
      +export * from './pow' ;
      +export * from './sha' ;
      +export * from './shl' ;
      +export * from './wrap' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/others/lcm/index.js.html b/file/src/0-legacy/others/lcm/index.js.html new file mode 100644 index 0000000..c4a2d6f --- /dev/null +++ b/file/src/0-legacy/others/lcm/index.js.html @@ -0,0 +1,121 @@ + + + + + + src/0-legacy/others/lcm/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/others/lcm/index.js

      +
      export * from './lcm' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/others/lcm/lcm.js.html b/file/src/0-legacy/others/lcm/lcm.js.html new file mode 100644 index 0000000..0d5ba0b --- /dev/null +++ b/file/src/0-legacy/others/lcm/lcm.js.html @@ -0,0 +1,122 @@ + + + + + + src/0-legacy/others/lcm/lcm.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/others/lcm/lcm.js

      +
      /**
      + * COMPUTE THE LEAST COMMON MULTIPLE OF a AND b
      + */
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/others/log/index.js.html b/file/src/0-legacy/others/log/index.js.html new file mode 100644 index 0000000..d0ad599 --- /dev/null +++ b/file/src/0-legacy/others/log/index.js.html @@ -0,0 +1,121 @@ + + + + + + src/0-legacy/others/log/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/others/log/index.js

      +
      export * from './log' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/others/log/log.js.html b/file/src/0-legacy/others/log/log.js.html new file mode 100644 index 0000000..dd06148 --- /dev/null +++ b/file/src/0-legacy/others/log/log.js.html @@ -0,0 +1,123 @@ + + + + + + src/0-legacy/others/log/log.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/others/log/log.js

      +
      
      +/**
      + * FOR A NUMBER n COMPUTE THE GREATEST k SUCH THAT 2^k < n
      + */
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/others/mod/index.js.html b/file/src/0-legacy/others/mod/index.js.html new file mode 100644 index 0000000..dbbfdd3 --- /dev/null +++ b/file/src/0-legacy/others/mod/index.js.html @@ -0,0 +1,122 @@ + + + + + + src/0-legacy/others/mod/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/others/mod/index.js

      +
      export * from './mod' ;
      +export * from './montgomery' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/others/mod/mod.js.html b/file/src/0-legacy/others/mod/mod.js.html new file mode 100644 index 0000000..e8423c1 --- /dev/null +++ b/file/src/0-legacy/others/mod/mod.js.html @@ -0,0 +1,123 @@ + + + + + + src/0-legacy/others/mod/mod.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/others/mod/mod.js

      +
      
      +/**
      + * COMPUTE MODULUS (a % b)
      + */
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/others/mod/montgomery.js.html b/file/src/0-legacy/others/mod/montgomery.js.html new file mode 100644 index 0000000..ab04049 --- /dev/null +++ b/file/src/0-legacy/others/mod/montgomery.js.html @@ -0,0 +1,123 @@ + + + + + + src/0-legacy/others/mod/montgomery.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/others/mod/montgomery.js

      +
      
      +/**
      + * COMPUTE MODULUS USING MONTGOMERY REDUCTION : http://en.wikipedia.org/wiki/Montgomery_reduction
      + */
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/others/mpow/index.js.html b/file/src/0-legacy/others/mpow/index.js.html new file mode 100644 index 0000000..aa3e38a --- /dev/null +++ b/file/src/0-legacy/others/mpow/index.js.html @@ -0,0 +1,121 @@ + + + + + + src/0-legacy/others/mpow/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/others/mpow/index.js

      +
      export * from './mpow' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/others/mpow/mpow.js.html b/file/src/0-legacy/others/mpow/mpow.js.html new file mode 100644 index 0000000..f5440e5 --- /dev/null +++ b/file/src/0-legacy/others/mpow/mpow.js.html @@ -0,0 +1,122 @@ + + + + + + src/0-legacy/others/mpow/mpow.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/others/mpow/mpow.js

      +
      /**
      + * MODULAR EXPONENTIATION : http://en.wikipedia.org/wiki/Modular_exponentiation
      + */
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/others/neg/index.js.html b/file/src/0-legacy/others/neg/index.js.html new file mode 100644 index 0000000..ac5159f --- /dev/null +++ b/file/src/0-legacy/others/neg/index.js.html @@ -0,0 +1,121 @@ + + + + + + src/0-legacy/others/neg/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/others/neg/index.js

      +
      export * from './neg' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/others/neg/neg.js.html b/file/src/0-legacy/others/neg/neg.js.html new file mode 100644 index 0000000..a99faca --- /dev/null +++ b/file/src/0-legacy/others/neg/neg.js.html @@ -0,0 +1,122 @@ + + + + + + src/0-legacy/others/neg/neg.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/others/neg/neg.js

      +
      /**
      + * COMPUTE THE NEGATIVE VALUE OF NUMBER n
      + */
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/others/pow/ebs.js.html b/file/src/0-legacy/others/pow/ebs.js.html new file mode 100644 index 0000000..8498aa4 --- /dev/null +++ b/file/src/0-legacy/others/pow/ebs.js.html @@ -0,0 +1,162 @@ + + + + + + src/0-legacy/others/pow/ebs.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/others/pow/ebs.js

      +
      /**
      + * Computes pow(a, b) using exponentiation by squaring.
      + *
      + * *could add an additional base case for b = 1*
      + *
      + */
      +
      +export function __ebs__ (alloc, iszero, setone, iseven, div2, minus1) {
      +
      +	var ebs = function (a, ai, aj, b, bi, bj, c, ci, cj) {
      +
      +		var t, u, m, n;
      +
      +		if ( iszero(b, bi, bj) ) {
      +			setone(c, ci, cj);
      +		}
      +		else if ( iseven(b, bi, bj) ) {
      +			m = bj - bi;
      +			t = alloc(m);
      +			t = div2(b, bi, bj, t, 0, m);
      +
      +			n = cj - ci;
      +			u = alloc(n);
      +
      +			ebs(a, ai, aj, t, 0, m, u, 0, n);
      +
      +			mul(u, 0, n, u, 0, n, c, ci, cj);
      +		}
      +		else{
      +			m = bj - bi;
      +			t = alloc(m);
      +			t = minus1(b, bi, bj, t, 0, m);
      +
      +			n = cj - ci;
      +			u = alloc(n);
      +
      +			ebs(a, ai, aj, t, 0, m, u, 0, n);
      +
      +			mul(a, ai, aj, u, 0, n, c, ci, cj);
      +		}
      +	};
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/others/pow/index.js.html b/file/src/0-legacy/others/pow/index.js.html new file mode 100644 index 0000000..50545b7 --- /dev/null +++ b/file/src/0-legacy/others/pow/index.js.html @@ -0,0 +1,122 @@ + + + + + + src/0-legacy/others/pow/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/others/pow/index.js

      +
      export * from './ebs' ;
      +export * from './pow' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/others/pow/pow.js.html b/file/src/0-legacy/others/pow/pow.js.html new file mode 100644 index 0000000..709e260 --- /dev/null +++ b/file/src/0-legacy/others/pow/pow.js.html @@ -0,0 +1,142 @@ + + + + + + src/0-legacy/others/pow/pow.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/others/pow/pow.js

      +
      /**
      + * Computes pow(a, b) using naive exponentiation.
      + *
      + */
      +
      +export function __pow__ (alloc, isnotzero, setone, iseven, div2, minus1) {
      +
      +	var pow = function (a, ai, aj, b, bi, bj, c, ci, cj) {
      +
      +		var t, m;
      +
      +		setone(c, ci, cj);
      +
      +		while (isnotzero(b, bi, bj)) {
      +
      +			mul(c, ci, cj, a, ai, aj, c, ci, cj);
      +
      +			minus1(b, bi, bj, b, bi, bj);
      +		}
      +
      +	};
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/others/sha/index.js.html b/file/src/0-legacy/others/sha/index.js.html new file mode 100644 index 0000000..a79543c --- /dev/null +++ b/file/src/0-legacy/others/sha/index.js.html @@ -0,0 +1,121 @@ + + + + + + src/0-legacy/others/sha/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/others/sha/index.js

      +
      export * from './sha' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/others/sha/sha.js.html b/file/src/0-legacy/others/sha/sha.js.html new file mode 100644 index 0000000..408eb1d --- /dev/null +++ b/file/src/0-legacy/others/sha/sha.js.html @@ -0,0 +1,122 @@ + + + + + + src/0-legacy/others/sha/sha.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/others/sha/sha.js

      +
      /**
      + * ARITHMETIC SHIFT
      + */
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/others/shl/index.js.html b/file/src/0-legacy/others/shl/index.js.html new file mode 100644 index 0000000..9d561b6 --- /dev/null +++ b/file/src/0-legacy/others/shl/index.js.html @@ -0,0 +1,121 @@ + + + + + + src/0-legacy/others/shl/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/others/shl/index.js

      +
      export * from './shl' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/others/shl/shl.js.html b/file/src/0-legacy/others/shl/shl.js.html new file mode 100644 index 0000000..c86922b --- /dev/null +++ b/file/src/0-legacy/others/shl/shl.js.html @@ -0,0 +1,122 @@ + + + + + + src/0-legacy/others/shl/shl.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/others/shl/shl.js

      +
      /**
      + * LOGICAL SHIFT
      + */
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/others/wrap/index.js.html b/file/src/0-legacy/others/wrap/index.js.html new file mode 100644 index 0000000..1b92673 --- /dev/null +++ b/file/src/0-legacy/others/wrap/index.js.html @@ -0,0 +1,123 @@ + + + + + + src/0-legacy/others/wrap/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/others/wrap/index.js

      +
      export * from './wrapbin' ;
      +export * from './wrapcmp' ;
      +export * from './wrapmov' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/others/wrap/wrapbin.js.html b/file/src/0-legacy/others/wrap/wrapbin.js.html new file mode 100644 index 0000000..86f8ced --- /dev/null +++ b/file/src/0-legacy/others/wrap/wrapbin.js.html @@ -0,0 +1,150 @@ + + + + + + src/0-legacy/others/wrap/wrapbin.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/others/wrap/wrapbin.js

      +
      /**
      + * Wrapper for binary operator.
      + * Ensures
      + *
      + *     i >= j
      + *     i0, j0, k0 >= 0
      + *
      + */
      +
      +export function wrapbin (fn){
      +
      +	return function(a, i0, i1, b, j0, j1, c, k0, k1){
      +
      +		var i, j, k;
      +
      +		k0 = Math.max(0, k0);
      +		k = k1 - k0;
      +
      +		i0 = Math.max(0, i0, i1 - k);
      +		j0 = Math.max(0, j0, j1 - k);
      +		i = i1 - i0;
      +		j = j1 - j0;
      +
      +		if(i < j)
      +		return fn(b, j0, j1, a, i0, i1, c, k0, k1);
      +
      +		else
      +		return fn(a, i0, i1, b, j0, j1, c, k0, k1);
      +	};
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/others/wrap/wrapcmp.js.html b/file/src/0-legacy/others/wrap/wrapcmp.js.html new file mode 100644 index 0000000..b08dc76 --- /dev/null +++ b/file/src/0-legacy/others/wrap/wrapcmp.js.html @@ -0,0 +1,138 @@ + + + + + + src/0-legacy/others/wrap/wrapcmp.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/others/wrap/wrapcmp.js

      +
      
      +
      +
      +export function wrapcmp (cmp) {
      +
      +
      +	return function(a, ai, aj, b, bi, bj){
      +
      +		if (aj - ai + bi - bj < 0) {
      +			return - cmp(b, bi, bj, a, ai, aj);
      +		}
      +		else {
      +			return cmp(a, ai, aj, b, bi, bj);
      +		}
      +
      +	};
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/others/wrap/wrapmov.js.html b/file/src/0-legacy/others/wrap/wrapmov.js.html new file mode 100644 index 0000000..9d745a4 --- /dev/null +++ b/file/src/0-legacy/others/wrap/wrapmov.js.html @@ -0,0 +1,137 @@ + + + + + + src/0-legacy/others/wrap/wrapmov.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/others/wrap/wrapmov.js

      +
      
      +
      +export function wrapmov (fn){
      +	return function(a, i, j, b, k){
      +
      +		if(i < 0){
      +			k -= i;
      +			i = 0;
      +		}
      +		if(k < 0){
      +			i -= k;
      +			k = 0;
      +		}
      +		return fn(a, i, j, b, k);
      +
      +	};
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/parse/index.js.html b/file/src/0-legacy/parse/index.js.html new file mode 100644 index 0000000..108074f --- /dev/null +++ b/file/src/0-legacy/parse/index.js.html @@ -0,0 +1,121 @@ + + + + + + src/0-legacy/parse/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/parse/index.js

      +
      export * from './parse' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/parse/parse.js.html b/file/src/0-legacy/parse/parse.js.html new file mode 100644 index 0000000..f4acbc5 --- /dev/null +++ b/file/src/0-legacy/parse/parse.js.html @@ -0,0 +1,164 @@ + + + + + + src/0-legacy/parse/parse.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/parse/parse.js

      +
      
      +/**
      + * Function template for number parsing.
      + * Endianess provided by the iterator function
      + * iterator function must be reverse ordered
      + *
      + * @param {int} f from radix
      + * @param {int} t to radix
      + * @param {function} iter iterator function
      + */
      +
      +
      +export function parse_t ( t , f , iter ) {
      +
      +	if(t >= f){
      +
      +		if(f > 36) throw 'f > 36 not implemented';
      +
      +		var z = 0, log = t;
      +		while(log >= f){
      +			if (log % f) break;
      +			log /= f;
      +			++z;
      +		}
      +
      +		if (log !== 1) throw 'log(f) does not divide log(t) not implemented';
      +
      +		// immediate log(t) divides log(f)
      +		return function(s, si, sj, a, ai, aj){
      +			var len = sj - si, k = sj - z, n = Math.ceil(len / z);
      +			var block = function(i){
      +				a[i] = parseInt(s.slice(Math.max(0, k), k + z), f);
      +				k -= z;
      +			};
      +
      +			iter(aj - n, aj, block);
      +
      +		};
      +
      +	}
      +	else throw 'f > t not implemented';
      +
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/stringify/index.js.html b/file/src/0-legacy/stringify/index.js.html new file mode 100644 index 0000000..262f0a7 --- /dev/null +++ b/file/src/0-legacy/stringify/index.js.html @@ -0,0 +1,121 @@ + + + + + + src/0-legacy/stringify/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/stringify/index.js

      +
      export * from './stringify' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/0-legacy/stringify/stringify.js.html b/file/src/0-legacy/stringify/stringify.js.html new file mode 100644 index 0000000..43a9bb5 --- /dev/null +++ b/file/src/0-legacy/stringify/stringify.js.html @@ -0,0 +1,160 @@ + + + + + + src/0-legacy/stringify/stringify.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/0-legacy/stringify/stringify.js

      +
      
      +/**
      + * Function template for number stringification.
      + * Endianess provided by the iterator function
      + *
      + * @param {int} f from radix
      + * @param {int} t to radix
      + * @param {function} iter iterator function
      + */
      +
      +
      +export function stringify_t (f, t, iter, zfill_t){
      +
      +	if(t <= f){
      +
      +		if(t > 36) throw 't > 36 not implemented';
      +
      +		var z = 0;
      +		while(f >= t){
      +			if(f % t) break;
      +			f /= t;
      +			++z;
      +		}
      +
      +		if(f !== 1) throw 'log(t) does not divide log(f) not implemented';
      +
      +		var zfill = zfill_t(z);
      +
      +		return function(a, i0, i1){
      +			var s = [];
      +			iter(i0, i1, function(i){
      +				s.push(zfill(Number(+a[i]).toString(t)));
      +			});
      +			return s.join('');
      +		};
      +
      +	}
      +	else throw 't > f not implemented';
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/arithmetic/div/_div.js.html b/file/src/1-new/arithmetic/div/_div.js.html new file mode 100644 index 0000000..4e13273 --- /dev/null +++ b/file/src/1-new/arithmetic/div/_div.js.html @@ -0,0 +1,189 @@ + + + + + + src/1-new/arithmetic/div/_div.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/arithmetic/div/_div.js

      +
      import { _sub } from '../sub' ;
      +import { _lt } from '../../compare' ;
      +
      +/**
      + * Computes quotient and remainder of two big endian arrays.
      + * <p>
      + * Computes quotient and remainder of two big endian arrays
      + * using long division algorithm (the one teached in
      + * european primary schools).
      + *
      + * /!\ This algorithm modifies its first operand.
      + *
      + * HYP : q is at least as large as r
      + *       b is not zero
      + *
      + * @param {int} x the radix
      + * @param {array} r dividend and remainder
      + * @param {int} ri r left
      + * @param {int} rj r right
      + * @param {array} b divisor
      + * @param {int} bi b left
      + * @param {int} bj b right
      + * @param {array} q quotient, must be 0 initialized
      + * @param {int} qi q left
      + */
      +
      +// /!\ There are implicit hypotheses
      +//     made on the size of the operands.
      +//     Should clarify.
      +
      +export function _div ( x , r , ri , rj , b , bi , bj , q , qi ) {
      +
      +	var k, t = ri + 1;
      +
      +	do {
      +
      +		// trim leading zeros
      +		//     - maybe could try to put this procedure inside the _sub loop
      +		//     - or assume that the number is trimed at the begining
      +		//       and put this statement at the end of the main loop
      +		while (ri < rj && r[ri] === 0) ++ri;
      +
      +		// search for a remainder block interval
      +		// greater than the divisor
      +		//     - maybe could try binary search on the _lt function
      +		//     for another implementation
      +		k = ri + 1;
      +		while (k <= rj && _lt(r, ri, k, b, bi, bj)) ++k;
      +
      +		// remainder smaller than divisor --> end
      +		if (k > rj) break;
      +
      +		// divide current block interval by quotient
      +		do{
      +
      +			// increment quotient block corresponding
      +			// to current ls block of remainder interval
      +			++q[qi + k - t];
      +
      +			// subtract divisor from current remainder
      +			// block interval
      +			_sub(x, r, ri, k, b, bi, bj, r, ri, k);
      +
      +		} while(!_lt(r, ri, k, b, bi, bj));
      +
      +
      +	} while(true);
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/arithmetic/div/index.js.html b/file/src/1-new/arithmetic/div/index.js.html new file mode 100644 index 0000000..f816679 --- /dev/null +++ b/file/src/1-new/arithmetic/div/index.js.html @@ -0,0 +1,121 @@ + + + + + + src/1-new/arithmetic/div/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/arithmetic/div/index.js

      +
      export * from './_div' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/arithmetic/index.js.html b/file/src/1-new/arithmetic/index.js.html new file mode 100644 index 0000000..dda036a --- /dev/null +++ b/file/src/1-new/arithmetic/index.js.html @@ -0,0 +1,122 @@ + + + + + + src/1-new/arithmetic/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/arithmetic/index.js

      +
      export * from './div' ;
      +export * from './sub' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/arithmetic/sub/_sub.js.html b/file/src/1-new/arithmetic/sub/_sub.js.html new file mode 100644 index 0000000..80510f0 --- /dev/null +++ b/file/src/1-new/arithmetic/sub/_sub.js.html @@ -0,0 +1,161 @@ + + + + + + src/1-new/arithmetic/sub/_sub.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/arithmetic/sub/_sub.js

      +
      
      +/**
      + * Subtracts two big endian arrays, k >= i >= j
      + * wraps
      + *
      + * @param {int} r base (radix)
      + * @param {array} a first operand
      + * @param {int} ai a left
      + * @param {int} aj a right
      + * @param {array} b second operand
      + * @param {int} bi b left
      + * @param {int} bj b right
      + * @param {array} c result, must be 0 initialized
      + * @param {int} ci c left
      + * @param {int} cj c right
      + */
      +
      +export function _sub ( r , a, ai, aj, b, bi, bj, c, ci, cj){
      +	var T, C = 0;
      +
      +	while(--bj >= bi){
      +		--aj; --cj;
      +		T = C;
      +		C = a[aj] < b[bj] + T;
      +		c[cj] = a[aj] - b[bj] + (C*r - T);
      +	}
      +
      +	while(--aj >= ai){
      +		--cj;
      +		T = C;
      +		C = a[aj] < T;
      +		c[cj] = a[aj] + (C*r - T);
      +	}
      +
      +	if(C){
      +		while(--cj >= ci){
      +			c[cj] = r - 1;
      +		}
      +	}
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/arithmetic/sub/index.js.html b/file/src/1-new/arithmetic/sub/index.js.html new file mode 100644 index 0000000..3b95bb9 --- /dev/null +++ b/file/src/1-new/arithmetic/sub/index.js.html @@ -0,0 +1,121 @@ + + + + + + src/1-new/arithmetic/sub/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/arithmetic/sub/index.js

      +
      export * from './_sub' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/compare/_CMP.js.html b/file/src/1-new/compare/_CMP.js.html new file mode 100644 index 0000000..01aa63b --- /dev/null +++ b/file/src/1-new/compare/_CMP.js.html @@ -0,0 +1,149 @@ + + + + + + src/1-new/compare/_CMP.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/compare/_CMP.js

      +
      
      +/**
      + * Compares two big endian arrays, |a| >= |b|
      + *
      + * @param {array} a first operand
      + * @param {int} ai a left
      + * @param {int} aj a right
      + * @param {array} b second operand
      + * @param {int} bi b left
      + * @param {int} bj b right
      + *
      + * @return {int} 1 if a > b; 0 if a = b; -1 otherwise.
      + */
      +
      +export function _CMP (a, ai, aj, b, bi, bj){
      +
      +	var tmp = aj - bj + bi;
      +
      +	for (; ai < tmp; ++ai)
      +		if (a[ai] > 0) return 1;
      +
      +	// same size aj - ai === bj - bi
      +	for (; ai < aj; ++ai, ++bi) {
      +		if (a[ai] > b[bi]) return  1;
      +		if (a[ai] < b[bi]) return -1;
      +	}
      +
      +	return 0;
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/compare/_cmp.js.html b/file/src/1-new/compare/_cmp.js.html new file mode 100644 index 0000000..1d6a12b --- /dev/null +++ b/file/src/1-new/compare/_cmp.js.html @@ -0,0 +1,130 @@ + + + + + + src/1-new/compare/_cmp.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/compare/_cmp.js

      +
      import { _CMP } from '.' ;
      +
      +export function _cmp ( a , ai , aj , b , bi , bj ) {
      +
      +	if ( aj - ai < bj - bi )
      +		return -_CMP( b , bi , bj , a , ai , aj ) ;
      +	else
      +		return  _CMP( a , ai , aj , b , bi , bj ) ;
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/compare/_eq.js.html b/file/src/1-new/compare/_eq.js.html new file mode 100644 index 0000000..9c05dec --- /dev/null +++ b/file/src/1-new/compare/_eq.js.html @@ -0,0 +1,123 @@ + + + + + + src/1-new/compare/_eq.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/compare/_eq.js

      +
      import { _cmp } from '.' ;
      +
      +export const _eq = ( a , ai , aj , b , bi , bj ) => _cmp( a , ai , aj , b , bi , bj ) === 0 ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/compare/_ge.js.html b/file/src/1-new/compare/_ge.js.html new file mode 100644 index 0000000..4a0e000 --- /dev/null +++ b/file/src/1-new/compare/_ge.js.html @@ -0,0 +1,123 @@ + + + + + + src/1-new/compare/_ge.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/compare/_ge.js

      +
      import { _cmp } from '.' ;
      +
      +export const _ge = ( a , ai , aj , b , bi , bj ) => _cmp( a , ai , aj , b , bi , bj ) >= 0 ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/compare/_gt.js.html b/file/src/1-new/compare/_gt.js.html new file mode 100644 index 0000000..c36ec1a --- /dev/null +++ b/file/src/1-new/compare/_gt.js.html @@ -0,0 +1,123 @@ + + + + + + src/1-new/compare/_gt.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/compare/_gt.js

      +
      import { _cmp } from '.' ;
      +
      +export const _gt = ( a , ai , aj , b , bi , bj ) => _cmp( a , ai , aj , b , bi , bj ) > 0 ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/compare/_jz.js.html b/file/src/1-new/compare/_jz.js.html new file mode 100644 index 0000000..85c4fa1 --- /dev/null +++ b/file/src/1-new/compare/_jz.js.html @@ -0,0 +1,136 @@ + + + + + + src/1-new/compare/_jz.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/compare/_jz.js

      +
      
      +/**
      + * Returns true if number is 0.
      + *
      + * @param {array} a first operand
      + * @param {int} ai a left
      + * @param {int} aj a right
      + */
      +
      +export function _jz ( a , ai , aj ) {
      +
      +	for ( ; ai < aj ; ++ai ) if ( a[ai] !== 0 ) return false ;
      +
      +	return true ;
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/compare/_le.js.html b/file/src/1-new/compare/_le.js.html new file mode 100644 index 0000000..e5fb24b --- /dev/null +++ b/file/src/1-new/compare/_le.js.html @@ -0,0 +1,123 @@ + + + + + + src/1-new/compare/_le.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/compare/_le.js

      +
      import { _cmp } from '.' ;
      +
      +export const _le = ( a , ai , aj , b , bi , bj ) => _cmp( a , ai , aj , b , bi , bj ) <= 0 ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/compare/_lt.js.html b/file/src/1-new/compare/_lt.js.html new file mode 100644 index 0000000..30e6a85 --- /dev/null +++ b/file/src/1-new/compare/_lt.js.html @@ -0,0 +1,123 @@ + + + + + + src/1-new/compare/_lt.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/compare/_lt.js

      +
      import { _cmp } from '.' ;
      +
      +export const _lt = ( a , ai , aj , b , bi , bj ) => _cmp( a , ai , aj , b , bi , bj ) < 0 ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/compare/_ne.js.html b/file/src/1-new/compare/_ne.js.html new file mode 100644 index 0000000..bd11bd7 --- /dev/null +++ b/file/src/1-new/compare/_ne.js.html @@ -0,0 +1,123 @@ + + + + + + src/1-new/compare/_ne.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/compare/_ne.js

      +
      import { _cmp } from '.' ;
      +
      +export const _ne = ( a , ai , aj , b , bi , bj ) => _cmp( a , ai , aj , b , bi , bj ) !== 0 ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/compare/index.js.html b/file/src/1-new/compare/index.js.html new file mode 100644 index 0000000..32e01d5 --- /dev/null +++ b/file/src/1-new/compare/index.js.html @@ -0,0 +1,129 @@ + + + + + + src/1-new/compare/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/compare/index.js

      +
      export * from './_CMP' ;
      +export * from './_cmp' ;
      +export * from './_eq' ;
      +export * from './_ge' ;
      +export * from './_gt' ;
      +export * from './_jz' ;
      +export * from './_le' ;
      +export * from './_lt' ;
      +export * from './_ne' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/convert/_alloc.js.html b/file/src/1-new/convert/_alloc.js.html new file mode 100644 index 0000000..988ff8b --- /dev/null +++ b/file/src/1-new/convert/_alloc.js.html @@ -0,0 +1,126 @@ + + + + + + src/1-new/convert/_alloc.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/convert/_alloc.js

      +
      
      +export function _alloc ( n ) {
      +
      +	return new Array( n ) ;
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/convert/_build.js.html b/file/src/1-new/convert/_build.js.html new file mode 100644 index 0000000..93523cb --- /dev/null +++ b/file/src/1-new/convert/_build.js.html @@ -0,0 +1,139 @@ + + + + + + src/1-new/convert/_build.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/convert/_build.js

      +
      
      +export function _build ( base , number ) {
      +
      +	const data = [ ] ;
      +
      +	let q = number ;
      +	const d = base ;
      +
      +	while ( q >= d ) {
      +		const r = q % d ;
      +		data.push( r ) ;
      +		q = ( q - r ) / d ;
      +	}
      +
      +	data.push( q ) ;
      +
      +	return data.reverse( ) ;
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/convert/_chr.js.html b/file/src/1-new/convert/_chr.js.html new file mode 100644 index 0000000..fec1eda --- /dev/null +++ b/file/src/1-new/convert/_chr.js.html @@ -0,0 +1,127 @@ + + + + + + src/1-new/convert/_chr.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/convert/_chr.js

      +
      
      +export function _chr ( x ) {
      +
      +	if ( x < 10 ) return String.fromCharCode( 48 + x ) ;
      +	return String.fromCharCode( 87 + x ) ;
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/convert/_convert.js.html b/file/src/1-new/convert/_convert.js.html new file mode 100644 index 0000000..cb49b8e --- /dev/null +++ b/file/src/1-new/convert/_convert.js.html @@ -0,0 +1,141 @@ + + + + + + src/1-new/convert/_convert.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/convert/_convert.js

      +
      import { _convert_to_smaller , _convert_to_larger , _copy } from '.' ;
      +
      +/**
      + *
      + * @param {Number} f the base to convert from
      + * @param {Number} t the base to convert to
      + * @param {Array} a the origin array
      + * @param {Number} ai start offset in the origin array
      + * @param {Number} aj end offset in the origin array
      + * @param {Array} b the destination array
      + * @param {Number} bi start offset in the destination array
      + * @param {Number} bj end offset in the destination array
      + */
      +
      +export function _convert ( f , t , a , ai , aj , b , bi , bj ) {
      +
      +	if ( f > t ) return _convert_to_smaller( f , t , a , ai , aj , b , bi , bj ) ;
      +	if ( f < t ) return _convert_to_larger( f , t , a , ai , aj , b , bi , bj ) ;
      +	return _copy( a , ai , aj , b , bi ) ;
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/convert/_convert_slow.js.html b/file/src/1-new/convert/_convert_slow.js.html new file mode 100644 index 0000000..88ab9c1 --- /dev/null +++ b/file/src/1-new/convert/_convert_slow.js.html @@ -0,0 +1,168 @@ + + + + + + src/1-new/convert/_convert_slow.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/convert/_convert_slow.js

      +
      import { _build , _alloc , _reset , _copy } from '.' ;
      +import { _div } from '../arithmetic' ;
      +import { _jz } from '../compare' ;
      +
      +/**
      + *
      + * @param {Number} f the base to convert from
      + * @param {Number} t the base to convert to
      + * @param {Array} a the origin array
      + * @param {Number} ai start offset in the origin array
      + * @param {Number} aj end offset in the origin array
      + * @param {Array} b the destination array
      + * @param {Number} bi start offset in the destination array
      + * @param {Number} bj end offset in the destination array
      + */
      +
      +export function _convert_slow ( f , t , a , ai , aj , b , bi , bj ) {
      +
      +	const d = _build( f , t ) ;
      +	const di = 0 ;
      +	const dj = d.length ;
      +	const qi = 0 ;
      +	const qj = aj - ai ;
      +	const q = _alloc( qj - qi ) ;
      +
      +	while ( true ) {
      +
      +		_reset( q , qi , qj ) ;
      +
      +		_div( f , a , ai , aj , d , di , dj , q , qi ) ;
      +
      +		--bj ;
      +		let x = 0 ;
      +
      +		for ( let k = ai ; k < aj ; ++k ) {
      +			x *= f ;
      +			x += a[k] ;
      +		}
      +
      +		b[bj] = x ;
      +
      +		if ( _jz( q , qi , qj ) ) return ;
      +
      +		_copy( q , qi , qj , a , ai ) ;
      +
      +	}
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/convert/_convert_to_larger.js.html b/file/src/1-new/convert/_convert_to_larger.js.html new file mode 100644 index 0000000..ea0cad0 --- /dev/null +++ b/file/src/1-new/convert/_convert_to_larger.js.html @@ -0,0 +1,143 @@ + + + + + + src/1-new/convert/_convert_to_larger.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/convert/_convert_to_larger.js

      +
      import { _log , _convert_slow , _convert_to_larger_fast } from '.' ;
      +
      +/**
      + *
      + * @param {Number} f the base to convert from
      + * @param {Number} t the base to convert to
      + * @param {Array} a the origin array
      + * @param {Number} ai start offset in the origin array
      + * @param {Number} aj end offset in the origin array
      + * @param {Array} b the destination array
      + * @param {Number} bi start offset in the destination array
      + * @param {Number} bj end offset in the destination array
      + */
      +
      +export function _convert_to_larger ( f , t , a , ai , aj , b , bi , bj ) {
      +
      +	const [ z , x ] = _log( t , f ) ;
      +
      +	if ( x === 1 ) return _convert_to_larger_fast( f , z , a , ai , aj , b , bi , bj ) ;
      +
      +	return _convert_slow( f , t , a , ai , aj , b , bi , bj ) ;
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/convert/_convert_to_larger_fast.js.html b/file/src/1-new/convert/_convert_to_larger_fast.js.html new file mode 100644 index 0000000..e419906 --- /dev/null +++ b/file/src/1-new/convert/_convert_to_larger_fast.js.html @@ -0,0 +1,185 @@ + + + + + + src/1-new/convert/_convert_to_larger_fast.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/convert/_convert_to_larger_fast.js

      +
      
      +
      +/**
      + *
      + * @param {Number} ar the base to convert from
      + * @param {Number} z if br is the base to convert to then log(br) = z log(ar)
      + * @param {Array} a the origin array
      + * @param {Number} ai start offset in the origin array
      + * @param {Number} aj end offset in the origin array
      + * @param {Array} b the destination array
      + * @param {Number} bi start offset in the destination array
      + * @param {Number} bj end offset in the destination array
      + */
      +
      +export function _convert_to_larger_fast ( ar , z , a , ai , aj , b , bi , bj ) {
      +
      +	var m, n, q, r, i, w, t;
      +
      +	m = aj - ai;
      +	n = bj - bi;
      +
      +	// number of parts of first
      +	// destination block if incomplete
      +	r = m % z;
      +
      +	// number of complete blocks in destination
      +	q = (m - r) / z;
      +
      +	// total number of blocks in destination
      +	// (complete ones + first if incomplete)
      +	w = q + !!r;
      +
      +
      +	if (n >= w) {
      +		// if destination can contain more than
      +		// what is available in source then
      +		// compute the effective write start
      +		// in destination and set i to the correct
      +		// offset according to the size
      +		// (in source blocks) of the
      +		// first destination block if incomplete
      +		bi = bj - w;
      +		i = (z - r) % z;
      +	}
      +	else {
      +		// if source contains more than what
      +		// destination can handle set the effective
      +		// read start in source and set i to 0 because
      +		// all blocks will be complete
      +		ai = aj - n * z;
      +		i = 0;
      +	}
      +
      +	for (; ai < aj && bi < bj; ++bi) {
      +		t = 0;
      +		for (; i < z; ++i) {
      +			t *= ar;     // aggregate source blocks
      +			t += a[ai];  // using simple
      +			++ai;        // multiply + add
      +		}
      +		b[bi] = t;  // set block in destination
      +		i = 0;
      +	}
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/convert/_convert_to_smaller.js.html b/file/src/1-new/convert/_convert_to_smaller.js.html new file mode 100644 index 0000000..fbc5875 --- /dev/null +++ b/file/src/1-new/convert/_convert_to_smaller.js.html @@ -0,0 +1,143 @@ + + + + + + src/1-new/convert/_convert_to_smaller.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/convert/_convert_to_smaller.js

      +
      import { _log , _convert_slow , _convert_to_smaller_fast } from '.' ;
      +
      +/**
      + *
      + * @param {Number} f the base to convert from
      + * @param {Number} t the base to convert to
      + * @param {Array} a the origin array
      + * @param {Number} ai start offset in the origin array
      + * @param {Number} aj end offset in the origin array
      + * @param {Array} b the destination array
      + * @param {Number} bi start offset in the destination array
      + * @param {Number} bj end offset in the destination array
      + */
      +
      +export function _convert_to_smaller ( f , t , a , ai , aj , b , bi , bj ) {
      +
      +	const [ z , x ] = _log( f , t ) ;
      +
      +	if ( x === 1 ) return _convert_to_smaller_fast( t , z , a , ai , aj , b , bi , bj ) ;
      +
      +	return _convert_slow( f , t , a , ai , aj , b , bi , bj ) ;
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/convert/_convert_to_smaller_fast.js.html b/file/src/1-new/convert/_convert_to_smaller_fast.js.html new file mode 100644 index 0000000..741a8d5 --- /dev/null +++ b/file/src/1-new/convert/_convert_to_smaller_fast.js.html @@ -0,0 +1,186 @@ + + + + + + src/1-new/convert/_convert_to_smaller_fast.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/convert/_convert_to_smaller_fast.js

      +
      
      +/**
      + *
      + * @param {Number} br the base to convert to
      + * @param {Number} z if ar is the base to convert to then log(ar) = z log(br)
      + * @param {Array} a the origin array
      + * @param {Number} ai start offset in the origin array
      + * @param {Number} aj end offset in the origin array
      + * @param {Array} b the destination array
      + * @param {Number} bi start offset in the destination array
      + * @param {Number} bj end offset in the destination array
      + */
      +
      +export function _convert_to_smaller_fast ( br , z , a , ai , aj , b , bi , bj ) {
      +
      +	var m, n, q, r, i, w, t;
      +
      +	m = bj - bi;
      +	n = aj - ai;
      +
      +	// number of parts of first
      +	// destination block if incomplete
      +	r = m % z;
      +
      +	// number of complete blocks in destination
      +	q = (m - r) / z;
      +
      +	// total number of blocks in destination
      +	// (complete ones + first if incomplete)
      +	w = q + !!r;
      +
      +
      +	if (n >= w) {
      +		// if source contains more than what
      +		// destination can handle set the effective
      +		// read start in source and set i to the correct
      +		// offset according to the size
      +		// (in destination blocks) of the
      +		// first source block if incomplete
      +		ai = aj - w;
      +		i = (z - r) % z;
      +	}
      +	else {
      +		// if destination can contain more than
      +		// what is available in source then
      +		// compute the effective write start
      +		// in destination and set i to 0 because
      +		// all blocks will be complete
      +		bi = bj - n * z;
      +		i = 0;
      +	}
      +
      +	for (; ai < aj && bi < bj; ++ai) {
      +		q = a[ai];
      +		t = bi + z - 1 - i;
      +		bi += z - i;
      +		for (; i < z; ++i) {
      +			r = q % br;        // unpack source blocks
      +			q = (q - r) / br;  // using simple
      +			b[t] = r;          // modulo + quotient
      +			--t;
      +		}
      +		i = 0;
      +	}
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/convert/_copy.js.html b/file/src/1-new/convert/_copy.js.html new file mode 100644 index 0000000..68e154f --- /dev/null +++ b/file/src/1-new/convert/_copy.js.html @@ -0,0 +1,126 @@ + + + + + + src/1-new/convert/_copy.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/convert/_copy.js

      +
      
      +export function _copy ( a , ai , aj , b , bi ) {
      +
      +	for ( ; ai < aj ; ++ai, ++bi ) b[bi] = a[ai] ;
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/convert/_fill.js.html b/file/src/1-new/convert/_fill.js.html new file mode 100644 index 0000000..de012c5 --- /dev/null +++ b/file/src/1-new/convert/_fill.js.html @@ -0,0 +1,126 @@ + + + + + + src/1-new/convert/_fill.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/convert/_fill.js

      +
      
      +export function _fill ( a , ai , aj , v ) {
      +
      +	for ( let i = ai ; i < aj ; ++i ) a[i] = v ;
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/convert/_int.js.html b/file/src/1-new/convert/_int.js.html new file mode 100644 index 0000000..8954624 --- /dev/null +++ b/file/src/1-new/convert/_int.js.html @@ -0,0 +1,130 @@ + + + + + + src/1-new/convert/_int.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/convert/_int.js

      +
      
      +export function _int ( x ) {
      +
      +	if ( x >= '0' && x <= '9' ) return x.charCodeAt( 0 ) - 48 ;
      +	if ( x >= 'A' && x <= 'Z' ) return x.charCodeAt( 0 ) - 55 ;
      +	if ( x >= 'a' && x <= 'z' ) return x.charCodeAt( 0 ) - 87 ;
      +
      +	throw 'invalid literal for _int: ' + x ;
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/convert/_log.js.html b/file/src/1-new/convert/_log.js.html new file mode 100644 index 0000000..98299d5 --- /dev/null +++ b/file/src/1-new/convert/_log.js.html @@ -0,0 +1,134 @@ + + + + + + src/1-new/convert/_log.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/convert/_log.js

      +
      
      +export function _log ( x , y ) {
      +
      +	let z = 0 ;
      +
      +	while ( x >= y ) {
      +		if ( x % y ) break ;
      +		x /= y ;
      +		++z ;
      +	}
      +
      +	return [ z , x ] ;
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/convert/_reset.js.html b/file/src/1-new/convert/_reset.js.html new file mode 100644 index 0000000..ab2a388 --- /dev/null +++ b/file/src/1-new/convert/_reset.js.html @@ -0,0 +1,127 @@ + + + + + + src/1-new/convert/_reset.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/convert/_reset.js

      +
      import { _fill } from '.' ;
      +
      +export function _reset ( a , ai , aj ) {
      +
      +	_fill( a , ai , aj , 0 ) ;
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/convert/_to_string.js.html b/file/src/1-new/convert/_to_string.js.html new file mode 100644 index 0000000..16f0e05 --- /dev/null +++ b/file/src/1-new/convert/_to_string.js.html @@ -0,0 +1,133 @@ + + + + + + src/1-new/convert/_to_string.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/convert/_to_string.js

      +
      import { _chr } from '.' ;
      +
      +export function _to_string ( b ) {
      +
      +	const n = b.length ;
      +
      +	const data = [ ] ;
      +
      +	for ( let k = 0 ; k < n ; ++k ) data.push( _chr( b[k] ) ) ;
      +
      +	return data.join( '' ) ;
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/convert/_trim_positive.js.html b/file/src/1-new/convert/_trim_positive.js.html new file mode 100644 index 0000000..1de8e69 --- /dev/null +++ b/file/src/1-new/convert/_trim_positive.js.html @@ -0,0 +1,128 @@ + + + + + + src/1-new/convert/_trim_positive.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/convert/_trim_positive.js

      +
      
      +export function _trim_positive ( a , ai , aj ) {
      +
      +	while ( a[ai] === 0 && ai < aj ) ++ai ;
      +
      +	return ai ;
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/convert/_zeros.js.html b/file/src/1-new/convert/_zeros.js.html new file mode 100644 index 0000000..d63a2ff --- /dev/null +++ b/file/src/1-new/convert/_zeros.js.html @@ -0,0 +1,131 @@ + + + + + + src/1-new/convert/_zeros.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/convert/_zeros.js

      +
      import { _alloc , _reset } from '.' ;
      +
      +export function _zeros ( n ) {
      +
      +	const a = _alloc( n ) ;
      +
      +	_reset( a , 0 , n ) ;
      +
      +	return a ;
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/convert/convert.js.html b/file/src/1-new/convert/convert.js.html new file mode 100644 index 0000000..6b1ed36 --- /dev/null +++ b/file/src/1-new/convert/convert.js.html @@ -0,0 +1,129 @@ + + + + + + src/1-new/convert/convert.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/convert/convert.js

      +
      import { convert_keep_zeros , trim_natural } from '.' ;
      +
      +export function convert ( f , t , a , ai , aj ) {
      +
      +	const b = convert_keep_zeros( f , t , a , ai , aj ) ;
      +
      +	return trim_natural( b , 0 , b.length ) ;
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/convert/convert_keep_zeros.js.html b/file/src/1-new/convert/convert_keep_zeros.js.html new file mode 100644 index 0000000..c673ee7 --- /dev/null +++ b/file/src/1-new/convert/convert_keep_zeros.js.html @@ -0,0 +1,133 @@ + + + + + + src/1-new/convert/convert_keep_zeros.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/convert/convert_keep_zeros.js

      +
      import { _zeros , _convert } from '.' ;
      +
      +export function convert_keep_zeros ( f , t , a , ai , aj ) {
      +
      +	const bi = 0 ;
      +	const bj = Math.ceil( Math.log( f ) / Math.log( t ) * ( aj - ai ) ) ;
      +	const b = _zeros( bj - bi ) ;
      +
      +	_convert( f , t , a , ai , aj , b , bi , bj ) ;
      +
      +	return b ;
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/convert/index.js.html b/file/src/1-new/convert/index.js.html new file mode 100644 index 0000000..9bca92a --- /dev/null +++ b/file/src/1-new/convert/index.js.html @@ -0,0 +1,144 @@ + + + + + + src/1-new/convert/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/convert/index.js

      +
      export * from './_alloc' ;
      +export * from './_build' ;
      +export * from './_chr' ;
      +export * from './_convert' ;
      +export * from './_convert_slow' ;
      +export * from './_convert_to_larger' ;
      +export * from './_convert_to_larger_fast' ;
      +export * from './_convert_to_smaller' ;
      +export * from './_convert_to_smaller_fast' ;
      +export * from './_copy' ;
      +export * from './_fill' ;
      +export * from './_int' ;
      +export * from './_log' ;
      +export * from './_reset' ;
      +export * from './_to_string' ;
      +export * from './_trim_positive' ;
      +export * from './_zeros' ;
      +export * from './convert' ;
      +export * from './convert_keep_zeros' ;
      +export * from './parse' ;
      +export * from './parse_keep_zeros' ;
      +export * from './stringify' ;
      +export * from './stringify_keep_zeros' ;
      +export * from './trim_natural' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/convert/parse.js.html b/file/src/1-new/convert/parse.js.html new file mode 100644 index 0000000..e921378 --- /dev/null +++ b/file/src/1-new/convert/parse.js.html @@ -0,0 +1,129 @@ + + + + + + src/1-new/convert/parse.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/convert/parse.js

      +
      import { parse_keep_zeros , trim_natural } from '.' ;
      +
      +export function parse ( f , t , string ) {
      +
      +	const b = parse_keep_zeros( f , t , string ) ;
      +
      +	return trim_natural( b , 0 , b.length ) ;
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/convert/parse_keep_zeros.js.html b/file/src/1-new/convert/parse_keep_zeros.js.html new file mode 100644 index 0000000..588bf1c --- /dev/null +++ b/file/src/1-new/convert/parse_keep_zeros.js.html @@ -0,0 +1,135 @@ + + + + + + src/1-new/convert/parse_keep_zeros.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/convert/parse_keep_zeros.js

      +
      import { _int , convert_keep_zeros } from '.' ;
      +
      +export function parse_keep_zeros ( f , t , string ) {
      +
      +	if ( f > 36 ) throw 'f > 36 not implemented' ;
      +
      +	const n = string.length ;
      +
      +	const a = [ ] ;
      +
      +	for ( let k = 0 ; k < n ; ++k ) a.push( _int( string[k] ) ) ;
      +
      +	return convert_keep_zeros( f , t , a , 0 , n ) ;
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/convert/stringify.js.html b/file/src/1-new/convert/stringify.js.html new file mode 100644 index 0000000..919d322 --- /dev/null +++ b/file/src/1-new/convert/stringify.js.html @@ -0,0 +1,131 @@ + + + + + + src/1-new/convert/stringify.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/convert/stringify.js

      +
      import { convert , _to_string } from '.' ;
      +
      +export function stringify ( f , t , a , ai , aj ) {
      +
      +	if ( t > 36 ) throw 't > 36 not implemented' ;
      +
      +	const b = convert( f , t , a , ai , aj ) ;
      +
      +	return _to_string( b ) ;
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/convert/stringify_keep_zeros.js.html b/file/src/1-new/convert/stringify_keep_zeros.js.html new file mode 100644 index 0000000..16de480 --- /dev/null +++ b/file/src/1-new/convert/stringify_keep_zeros.js.html @@ -0,0 +1,131 @@ + + + + + + src/1-new/convert/stringify_keep_zeros.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/convert/stringify_keep_zeros.js

      +
      import { convert_keep_zeros , _to_string } from '.' ;
      +
      +export function stringify_keep_zeros ( f , t , a , ai , aj ) {
      +
      +	if ( t > 36 ) throw 't > 36 not implemented' ;
      +
      +	const b = convert_keep_zeros( f , t , a , ai , aj ) ;
      +
      +	return _to_string( b ) ;
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/convert/trim_natural.js.html b/file/src/1-new/convert/trim_natural.js.html new file mode 100644 index 0000000..69a78f9 --- /dev/null +++ b/file/src/1-new/convert/trim_natural.js.html @@ -0,0 +1,134 @@ + + + + + + src/1-new/convert/trim_natural.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/convert/trim_natural.js

      +
      import { _trim_positive , _alloc , _copy } from '.' ;
      +export function trim_natural ( a , ai , aj ) {
      +
      +	const x = _trim_positive( a , ai , aj ) ;
      +
      +	if ( x >= aj ) return [ 0 ] ;
      +
      +	const b = _alloc( aj - x ) ;
      +
      +	_copy( a , x , aj , b , 0 ) ;
      +
      +	return b ;
      +
      +}
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/1-new/index.js.html b/file/src/1-new/index.js.html new file mode 100644 index 0000000..9648f37 --- /dev/null +++ b/file/src/1-new/index.js.html @@ -0,0 +1,123 @@ + + + + + + src/1-new/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/1-new/index.js

      +
      export * from './arithmetic' ;
      +export * from './compare' ;
      +export * from './convert' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/file/src/index.js.html b/file/src/index.js.html new file mode 100644 index 0000000..f8821d3 --- /dev/null +++ b/file/src/index.js.html @@ -0,0 +1,122 @@ + + + + + + src/index.js | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      src/index.js

      +
      export * from './0-legacy' ;
      +export * from './1-new' ;
      +
      + +
      + + + + + + + + + + + + diff --git a/function/index.html b/function/index.html new file mode 100644 index 0000000..27ef3d9 --- /dev/null +++ b/function/index.html @@ -0,0 +1,6085 @@ + + + + + + Function | aureooms/js-integer API Document + + + + + + + + + + + +
      + Home + Manual + Reference + Source + Test + Repository + +
      + + + +

      Function

      +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Static Public Summary
    + public + + + + + +
    +

    + and(a: *, a0: *, b: *, b0: *, c: *, c0: *, c1: *) +

    +
    +
    + + +

    BINARY and APPLIED ON a AND b

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + badd_t(r: int): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + band_t(r: *): * +

    +
    +
    + + +

    BIG ENDIAN BINARY and APPLIED ON a AND b

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + bcmp_t(): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + bdiv_t(lt: *, sub: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + bkaratsuba_t(add: function, sub: function, mul: function, copy: function, calloc: function, r: uint): * +

    +
    +
    + + +

    /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + bmul53_t(r: *): * +

    +
    +
    + + +

    /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + bmul_t(r: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + bsub_t(r: int): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + convert(f: *, t: *, a: *, ai: *, aj: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + convert_keep_zeros(f: *, t: *, a: *, ai: *, aj: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + eq_t(cmp: *): * +

    +
    +
    + + +

    Wrapper for a comparison operator that returns true iff +a is equal to b.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + ge_t(cmp: *): * +

    +
    +
    + + +

    Wrapper for a comparison operator that returns true iff +a is greater or equal to b.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + gt_t(cmp: *): * +

    +
    +
    + + +

    Wrapper for a comparison operator that returns true iff +a is greater than b.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + ladd_t(r: int): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + land_t(r: *): * +

    +
    +
    + + +

    LITTLE ENDIAN BINARY and APPLIED ON a AND b

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + lcmp_t(): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + le_t(cmp: *): * +

    +
    +
    + + +

    Wrapper for a comparison operator that returns true iff +a is less or equal to b.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + lmul53_t(r: *): * +

    +
    +
    + + +

    /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + lsub_t(r: int): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + lt_t(cmp: *): * +

    +
    +
    + + +

    Wrapper for a comparison operator that returns true iff +a is less than b.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + ne_t(cmp: *): * +

    +
    +
    + + +

    Wrapper for a comparison operator that returns true iff +a is not equal to b.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + parse(f: *, t: *, string: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + parse_keep_zeros(f: *, t: *, string: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + parse_t(f: int, t: int, iter: function): * +

    +
    +
    + + +

    Function template for number parsing.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + stringify(f: *, t: *, a: *, ai: *, aj: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + stringify_keep_zeros(f: *, t: *, a: *, ai: *, aj: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + stringify_t(f: int, t: int, iter: function): * +

    +
    +
    + + +

    Function template for number stringification.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + trim_natural(a: *, ai: *, aj: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + wrapbin(fn: *): * +

    +
    +
    + + +

    Wrapper for binary operator.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + wrapcmp(cmp: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + wrapmov(fn: *): * +

    +
    +
    + + + +
    +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Static Private Summary
    + private + + + + + +
    +

    + _CMP(a: array, ai: int, aj: int, b: array, bi: int, bj: int): int +

    +
    +
    + + +

    Compares two big endian arrays, |a| >= |b|

    +
    +
    +
    + + +
    + private + + + + + +
    +

    + __ebs__(alloc: *, iszero: *, setone: *, iseven: *, div2: *, minus1: *) +

    +
    +
    + + +

    Computes pow(a, b) using exponentiation by squaring.

    +
    +
    +
    + + +
    + private + + + + + +
    +

    + __pow__(alloc: *, isnotzero: *, setone: *, iseven: *, div2: *, minus1: *) +

    +
    +
    + + +

    Computes pow(a, b) using naive exponentiation.

    +
    +
    +
    + + +
    + private + + + + + +
    +

    + _alloc(n: *): * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _build(base: *, number: *): * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _chr(x: *): * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _cmp(a: *, ai: *, aj: *, b: *, bi: *, bj: *): * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _convert(f: Number, t: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number): * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _convert_slow(f: Number, t: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number) +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _convert_to_larger(f: Number, t: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number): * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _convert_to_larger_fast(ar: Number, z: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number) +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _convert_to_smaller(f: Number, t: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number): * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _convert_to_smaller_fast(br: Number, z: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number) +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _copy(a: *, ai: *, aj: *, b: *, bi: *) +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _div(x: int, r: array, ri: int, rj: int, b: array, bi: int, bj: int, q: array, qi: int) +

    +
    +
    + + +

    Computes quotient and remainder of two big endian arrays.

    +
    +
    +
    + + +
    + private + + + + + +
    +

    + _fill(a: *, ai: *, aj: *, v: *) +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _int(x: *): * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _jz(a: array, ai: int, aj: int): boolean +

    +
    +
    + + +

    Returns true if number is 0.

    +
    +
    +
    + + +
    + private + + + + + +
    +

    + _log(x: *, y: *): * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _reset(a: *, ai: *, aj: *) +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _sub(r: int, a: array, ai: int, aj: int, b: array, bi: int, bj: int, c: array, ci: int, cj: int) +

    +
    +
    + + +

    Subtracts two big endian arrays, k >= i >= j +wraps

    +
    +
    +
    + + +
    + private + + + + + +
    +

    + _to_string(b: *): * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _trim_positive(a: *, ai: *, aj: *): * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _zeros(n: *): * +

    +
    +
    + + + +
    +
    + + +
    + +

    Static Public

    + +
    +

    + public + + + + + and(a: *, a0: *, b: *, b0: *, c: *, c0: *, c1: *) + + + + source + +

    + + + + +

    BINARY and APPLIED ON a AND b

    +

    Meaningful only when r is a power of 2.

    +

    |a| = |b| = |c| > 0

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    a*
    a0*
    b*
    b0*
    c*
    c0*
    c1*
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + badd_t(r: int): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    rint

    base (radix)

    +
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + band_t(r: *): * + + + + source + +

    + + + + +

    BIG ENDIAN BINARY and APPLIED ON a AND b

    +

    Meaningful only when r is a power of 2.

    +

    |a| >= |b| > 0

    +

    treats b as if it was represented with the same number of blocks as a

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    r*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + bcmp_t(): * + + + + source + +

    + + + + + + + + +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + bdiv_t(lt: *, sub: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    lt*
    sub*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + bkaratsuba_t(add: function, sub: function, mul: function, copy: function, calloc: function, r: uint): * + + + + source + +

    + + + + +

    /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    addfunction

    addition algorithm

    +
    subfunction

    subtraction algorithm

    +
    mulfunction

    multiplication algorithm

    +
    copyfunction

    copy algorithm

    +
    callocfunction

    array allocator

    +
    ruint

    base (radix)

    +

    EXPLANATION

    +

    ###########

    +

    We consider the numbers a and b, both of size N = 2n.

    +

    We divide a and b into their lower and upper parts.

    +

    a = a1 r^{n} + a0 (1) +b = b1 r^{n} + b0 (2)

    +

    We express the product of a and b using their lower and upper parts.

    +

    a b = (a1 r^{n} + a0) (b1 r^{n} + b0) (3) + = a1 b1 r^{2n} + (a1 b0 + a0 b1) r^{n} + a0 b0 (4)

    +

    This gives us 4 multiplications with operands of size n. +Using a simple trick, we can reduce this computation to 3 multiplications.

    +

    We give the 3 terms of (4) the names z0, z1 and z2.

    +

    z2 = a1 b1 +z1 = a1 b0 + a0 b1 +z0 = a0 b0

    +

    a b = z2 r^{2n} + z1 r^{n} + z0

    +

    We then express z1 using z0, z2 and one additional multiplication.

    +

    (a1 + a0)(b1 + b0) = a1 b1 + a0 b0 + (a1 b0 + a0 b1) + = z2 + z0 + z1

    +

    z1 = (a1 + a0)(b1 + b0) - z2 - z0

    +

    AN ANOTHER WAY AROUND (not used here)

    +

    (a1 - a0)(b1 - b0) = (a1 b1 + a0 b0) - (a1 b0 + a0 b1) +(a0 - a1)(b1 - b0) = (a1 b0 + a0 b1) - (a1 b1 + a0 b0) +a b = (r^{2n} + r^{n})a1 b1 + r^{n}(a0 - a1)(b1 - b0) + (r^{n} + 1)a0 b0

    +

    This algorithm is a generalization of the Toom-Cook algorithm, when m = n = 2.

    +

    For further reference, see

    + +
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + bmul53_t(r: *): * + + + + source + +

    + + + + +

    /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)

    +

    big endian 1 block multiplication

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    r*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + bmul_t(r: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    r*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + bsub_t(r: int): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    rint

    base (radix)

    +
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + convert(f: *, t: *, a: *, ai: *, aj: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    f*
    t*
    a*
    ai*
    aj*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + convert_keep_zeros(f: *, t: *, a: *, ai: *, aj: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    f*
    t*
    a*
    ai*
    aj*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + eq_t(cmp: *): * + + + + source + +

    + + + + +

    Wrapper for a comparison operator that returns true iff +a is equal to b.

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    cmp*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + ge_t(cmp: *): * + + + + source + +

    + + + + +

    Wrapper for a comparison operator that returns true iff +a is greater or equal to b.

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    cmp*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + gt_t(cmp: *): * + + + + source + +

    + + + + +

    Wrapper for a comparison operator that returns true iff +a is greater than b.

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    cmp*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + ladd_t(r: int): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    rint

    base (radix)

    +
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + land_t(r: *): * + + + + source + +

    + + + + +

    LITTLE ENDIAN BINARY and APPLIED ON a AND b

    +

    Meaningful only when r is a power of 2.

    +

    |a| >= |b| > 0

    +

    treats b as if it was represented with the same number of blocks as a

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    r*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + lcmp_t(): * + + + + source + +

    + + + + + + + + +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + le_t(cmp: *): * + + + + source + +

    + + + + +

    Wrapper for a comparison operator that returns true iff +a is less or equal to b.

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    cmp*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + lmul53_t(r: *): * + + + + source + +

    + + + + +

    /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)

    +

    little endian 1 block multiplication

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    r*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + lsub_t(r: int): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    rint

    base (radix)

    +
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + lt_t(cmp: *): * + + + + source + +

    + + + + +

    Wrapper for a comparison operator that returns true iff +a is less than b.

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    cmp*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + ne_t(cmp: *): * + + + + source + +

    + + + + +

    Wrapper for a comparison operator that returns true iff +a is not equal to b.

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    cmp*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + parse(f: *, t: *, string: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    f*
    t*
    string*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + parse_keep_zeros(f: *, t: *, string: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    f*
    t*
    string*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + parse_t(f: int, t: int, iter: function): * + + + + source + +

    + + + + +

    Function template for number parsing. +Endianess provided by the iterator function +iterator function must be reverse ordered

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    fint

    from radix

    +
    tint

    to radix

    +
    iterfunction

    iterator function

    +
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + stringify(f: *, t: *, a: *, ai: *, aj: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    f*
    t*
    a*
    ai*
    aj*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + stringify_keep_zeros(f: *, t: *, a: *, ai: *, aj: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    f*
    t*
    a*
    ai*
    aj*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + stringify_t(f: int, t: int, iter: function): * + + + + source + +

    + + + + +

    Function template for number stringification. +Endianess provided by the iterator function

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    fint

    from radix

    +
    tint

    to radix

    +
    iterfunction

    iterator function

    +
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + trim_natural(a: *, ai: *, aj: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    a*
    ai*
    aj*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + wrapbin(fn: *): * + + + + source + +

    + + + + +

    Wrapper for binary operator. +Ensures

    +
    i >= j
    +i0, j0, k0 >= 0
    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    fn*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + wrapcmp(cmp: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    cmp*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + wrapmov(fn: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    fn*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +

    Static Private

    + +
    +

    + private + + + + + _CMP(a: array, ai: int, aj: int, b: array, bi: int, bj: int): int + + + + source + +

    + + + + +

    Compares two big endian arrays, |a| >= |b|

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    aarray

    first operand

    +
    aiint

    a left

    +
    ajint

    a right

    +
    barray

    second operand

    +
    biint

    b left

    +
    bjint

    b right

    +
    +
    +
    + +
    +

    Return:

    + + + + + +
    int

    1 if a > b; 0 if a = b; -1 otherwise.

    +
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + private + + + + + __ebs__(alloc: *, iszero: *, setone: *, iseven: *, div2: *, minus1: *) + + + + source + +

    + + + + +

    Computes pow(a, b) using exponentiation by squaring.

    +

    could add an additional base case for b = 1

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    alloc*
    iszero*
    setone*
    iseven*
    div2*
    minus1*
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + private + + + + + __pow__(alloc: *, isnotzero: *, setone: *, iseven: *, div2: *, minus1: *) + + + + source + +

    + + + + +

    Computes pow(a, b) using naive exponentiation.

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    alloc*
    isnotzero*
    setone*
    iseven*
    div2*
    minus1*
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + private + + + + + _alloc(n: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    n*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + private + + + + + _build(base: *, number: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    base*
    number*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + private + + + + + _chr(x: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    x*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + private + + + + + _cmp(a: *, ai: *, aj: *, b: *, bi: *, bj: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    a*
    ai*
    aj*
    b*
    bi*
    bj*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + private + + + + + _convert(f: Number, t: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    fNumber

    the base to convert from

    +
    tNumber

    the base to convert to

    +
    aArray

    the origin array

    +
    aiNumber

    start offset in the origin array

    +
    ajNumber

    end offset in the origin array

    +
    bArray

    the destination array

    +
    biNumber

    start offset in the destination array

    +
    bjNumber

    end offset in the destination array

    +
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + private + + + + + _convert_slow(f: Number, t: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number) + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    fNumber

    the base to convert from

    +
    tNumber

    the base to convert to

    +
    aArray

    the origin array

    +
    aiNumber

    start offset in the origin array

    +
    ajNumber

    end offset in the origin array

    +
    bArray

    the destination array

    +
    biNumber

    start offset in the destination array

    +
    bjNumber

    end offset in the destination array

    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + private + + + + + _convert_to_larger(f: Number, t: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    fNumber

    the base to convert from

    +
    tNumber

    the base to convert to

    +
    aArray

    the origin array

    +
    aiNumber

    start offset in the origin array

    +
    ajNumber

    end offset in the origin array

    +
    bArray

    the destination array

    +
    biNumber

    start offset in the destination array

    +
    bjNumber

    end offset in the destination array

    +
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + private + + + + + _convert_to_larger_fast(ar: Number, z: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number) + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    arNumber

    the base to convert from

    +
    zNumber

    if br is the base to convert to then log(br) = z log(ar)

    +
    aArray

    the origin array

    +
    aiNumber

    start offset in the origin array

    +
    ajNumber

    end offset in the origin array

    +
    bArray

    the destination array

    +
    biNumber

    start offset in the destination array

    +
    bjNumber

    end offset in the destination array

    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + private + + + + + _convert_to_smaller(f: Number, t: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    fNumber

    the base to convert from

    +
    tNumber

    the base to convert to

    +
    aArray

    the origin array

    +
    aiNumber

    start offset in the origin array

    +
    ajNumber

    end offset in the origin array

    +
    bArray

    the destination array

    +
    biNumber

    start offset in the destination array

    +
    bjNumber

    end offset in the destination array

    +
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + private + + + + + _convert_to_smaller_fast(br: Number, z: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number) + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    brNumber

    the base to convert to

    +
    zNumber

    if ar is the base to convert to then log(ar) = z log(br)

    +
    aArray

    the origin array

    +
    aiNumber

    start offset in the origin array

    +
    ajNumber

    end offset in the origin array

    +
    bArray

    the destination array

    +
    biNumber

    start offset in the destination array

    +
    bjNumber

    end offset in the destination array

    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + private + + + + + _copy(a: *, ai: *, aj: *, b: *, bi: *) + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    a*
    ai*
    aj*
    b*
    bi*
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + private + + + + + _div(x: int, r: array, ri: int, rj: int, b: array, bi: int, bj: int, q: array, qi: int) + + + + source + +

    + + + + +

    Computes quotient and remainder of two big endian arrays.

    +

    +Computes quotient and remainder of two big endian arrays +using long division algorithm (the one teached in +european primary schools).

    +

    /!\ This algorithm modifies its first operand.

    +

    HYP : q is at least as large as r + b is not zero

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    xint

    the radix

    +
    rarray

    dividend and remainder

    +
    riint

    r left

    +
    rjint

    r right

    +
    barray

    divisor

    +
    biint

    b left

    +
    bjint

    b right

    +
    qarray

    quotient, must be 0 initialized

    +
    qiint

    q left

    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + private + + + + + _fill(a: *, ai: *, aj: *, v: *) + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    a*
    ai*
    aj*
    v*
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + private + + + + + _int(x: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    x*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + private + + + + + _jz(a: array, ai: int, aj: int): boolean + + + + source + +

    + + + + +

    Returns true if number is 0.

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    aarray

    first operand

    +
    aiint

    a left

    +
    ajint

    a right

    +
    +
    +
    + +
    +

    Return:

    + + + + + +
    boolean
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + private + + + + + _log(x: *, y: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    x*
    y*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + private + + + + + _reset(a: *, ai: *, aj: *) + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    a*
    ai*
    aj*
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + private + + + + + _sub(r: int, a: array, ai: int, aj: int, b: array, bi: int, bj: int, c: array, ci: int, cj: int) + + + + source + +

    + + + + +

    Subtracts two big endian arrays, k >= i >= j +wraps

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    rint

    base (radix)

    +
    aarray

    first operand

    +
    aiint

    a left

    +
    ajint

    a right

    +
    barray

    second operand

    +
    biint

    b left

    +
    bjint

    b right

    +
    carray

    result, must be 0 initialized

    +
    ciint

    c left

    +
    cjint

    c right

    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + private + + + + + _to_string(b: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    b*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + private + + + + + _trim_positive(a: *, ai: *, aj: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    a*
    ai*
    aj*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + private + + + + + _zeros(n: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    n*
    +
    +
    + +
    +

    Return:

    + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    + + + + + + + + + + + + + diff --git a/gcd/gcd.html b/gcd/gcd.html deleted file mode 100644 index 8dfcc70..0000000 --- a/gcd/gcd.html +++ /dev/null @@ -1 +0,0 @@ -gcd/gcd

    COMPUTE THE GREATEST COMMON DIVISOR OF a AND b

    \ No newline at end of file diff --git a/identifiers.html b/identifiers.html new file mode 100644 index 0000000..81f7ed6 --- /dev/null +++ b/identifiers.html @@ -0,0 +1,1720 @@ + + + + + + Index | aureooms/js-integer API Document + + + + + + + + + + + +
    + Home + Manual + Reference + Source + Test + Repository + +
    + + + +

    References

    + + +

    Function Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Static Public Function Summary
    + public + + + + + +
    +

    + and(a: *, a0: *, b: *, b0: *, c: *, c0: *, c1: *) +

    +
    +
    + + +

    BINARY and APPLIED ON a AND b

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + badd_t(r: int): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + band_t(r: *): * +

    +
    +
    + + +

    BIG ENDIAN BINARY and APPLIED ON a AND b

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + bcmp_t(): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + bdiv_t(lt: *, sub: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + bkaratsuba_t(add: function, sub: function, mul: function, copy: function, calloc: function, r: uint): * +

    +
    +
    + + +

    /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + bmul53_t(r: *): * +

    +
    +
    + + +

    /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + bmul_t(r: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + bsub_t(r: int): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + convert(f: *, t: *, a: *, ai: *, aj: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + convert_keep_zeros(f: *, t: *, a: *, ai: *, aj: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + eq_t(cmp: *): * +

    +
    +
    + + +

    Wrapper for a comparison operator that returns true iff +a is equal to b.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + ge_t(cmp: *): * +

    +
    +
    + + +

    Wrapper for a comparison operator that returns true iff +a is greater or equal to b.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + gt_t(cmp: *): * +

    +
    +
    + + +

    Wrapper for a comparison operator that returns true iff +a is greater than b.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + ladd_t(r: int): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + land_t(r: *): * +

    +
    +
    + + +

    LITTLE ENDIAN BINARY and APPLIED ON a AND b

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + lcmp_t(): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + le_t(cmp: *): * +

    +
    +
    + + +

    Wrapper for a comparison operator that returns true iff +a is less or equal to b.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + lmul53_t(r: *): * +

    +
    +
    + + +

    /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + lsub_t(r: int): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + lt_t(cmp: *): * +

    +
    +
    + + +

    Wrapper for a comparison operator that returns true iff +a is less than b.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + ne_t(cmp: *): * +

    +
    +
    + + +

    Wrapper for a comparison operator that returns true iff +a is not equal to b.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + parse(f: *, t: *, string: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + parse_keep_zeros(f: *, t: *, string: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + parse_t(f: int, t: int, iter: function): * +

    +
    +
    + + +

    Function template for number parsing.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + stringify(f: *, t: *, a: *, ai: *, aj: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + stringify_keep_zeros(f: *, t: *, a: *, ai: *, aj: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + stringify_t(f: int, t: int, iter: function): * +

    +
    +
    + + +

    Function template for number stringification.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + trim_natural(a: *, ai: *, aj: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + wrapbin(fn: *): * +

    +
    +
    + + +

    Wrapper for binary operator.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + wrapcmp(cmp: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + wrapmov(fn: *): * +

    +
    +
    + + + +
    +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Static Private Function Summary
    + private + + + + + +
    +

    + _CMP(a: array, ai: int, aj: int, b: array, bi: int, bj: int): int +

    +
    +
    + + +

    Compares two big endian arrays, |a| >= |b|

    +
    +
    +
    + + +
    + private + + + + + +
    +

    + __ebs__(alloc: *, iszero: *, setone: *, iseven: *, div2: *, minus1: *) +

    +
    +
    + + +

    Computes pow(a, b) using exponentiation by squaring.

    +
    +
    +
    + + +
    + private + + + + + +
    +

    + __pow__(alloc: *, isnotzero: *, setone: *, iseven: *, div2: *, minus1: *) +

    +
    +
    + + +

    Computes pow(a, b) using naive exponentiation.

    +
    +
    +
    + + +
    + private + + + + + +
    +

    + _alloc(n: *): * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _build(base: *, number: *): * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _chr(x: *): * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _cmp(a: *, ai: *, aj: *, b: *, bi: *, bj: *): * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _convert(f: Number, t: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number): * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _convert_slow(f: Number, t: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number) +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _convert_to_larger(f: Number, t: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number): * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _convert_to_larger_fast(ar: Number, z: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number) +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _convert_to_smaller(f: Number, t: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number): * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _convert_to_smaller_fast(br: Number, z: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number) +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _copy(a: *, ai: *, aj: *, b: *, bi: *) +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _div(x: int, r: array, ri: int, rj: int, b: array, bi: int, bj: int, q: array, qi: int) +

    +
    +
    + + +

    Computes quotient and remainder of two big endian arrays.

    +
    +
    +
    + + +
    + private + + + + + +
    +

    + _fill(a: *, ai: *, aj: *, v: *) +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _int(x: *): * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _jz(a: array, ai: int, aj: int): boolean +

    +
    +
    + + +

    Returns true if number is 0.

    +
    +
    +
    + + +
    + private + + + + + +
    +

    + _log(x: *, y: *): * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _reset(a: *, ai: *, aj: *) +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _sub(r: int, a: array, ai: int, aj: int, b: array, bi: int, bj: int, c: array, ci: int, cj: int) +

    +
    +
    + + +

    Subtracts two big endian arrays, k >= i >= j +wraps

    +
    +
    +
    + + +
    + private + + + + + +
    +

    + _to_string(b: *): * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _trim_positive(a: *, ai: *, aj: *): * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _zeros(n: *): * +

    +
    +
    + + + +
    +
    + + +
    +
    +

    Variable Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Static Private Variable Summary
    + private + + + + + +
    +

    + _eq: * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _ge: * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _gt: * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _le: * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _lt: * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _ne: * +

    +
    +
    + + + +
    +
    + + +
    +
    + + +
    + + + + + + + + + + + + diff --git a/image/badge.svg b/image/badge.svg new file mode 100644 index 0000000..324db4c --- /dev/null +++ b/image/badge.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + document + document + @ratio@ + @ratio@ + + diff --git a/image/github.png b/image/github.png new file mode 100644 index 0000000000000000000000000000000000000000..ea6ff545a246caa64074ba809bbc86fcb8589071 GIT binary patch literal 4268 zcmaJ_c|25m+@2YcEGe=tO+zT_42H4qTL_VT8D=nHX3PwRki9HfBH7BIQ7JCj_beeI z(PA%IQuZumf5*MI`@VnN`<~A^=eL~adA{p8f1EgTGXqv8J|+MFz-nZuYe^f)M;9Xl z?T$df2WbN@Nzaya1?NEuL=w;dEfmfT4L0&cdZI1SNK}yDE3_&AKqrE+vL)G?nkc*D ze5H{`7-_OEp2h|MR5i$Wq`Nno1a?DvVz6qEm4+4w7=u!S*eICFn&NfPUKqn*0{Tj@ znU#C6w>ts_(NG7gl9g!!zGxB>O!oD`5|znnkUw>mY4f9P83_1K2+3Ow@|RP#rsiNB z903hhkd~8jmxV&XaJV#7UI7k=N`hgsP?(G??SxA~<&_oS$}mOn-v@+djezn{w$#=C z+ZJu52Js@1@X9hWfq{Y2fpXF~f~O1=fj}H-z+h4|gcLCdOG1*RuteeC3c6^bI{||y zVQ^URks{I!=TB0D&^-Ms1Yi6=vRLBZX`&@ehK$6^K&54mLi!CfHU0mgzP|sUi6l$( z|N8r{!bGbeJX*#QO~m;V+-ZgL5I!=6SJok*kt7_!3WxLgokepm90^DC!r{R>SKwfA zQ=~fvd$e)kPllD+ zRvxaUgpifj{ms?Ix%>N~v83Nz6pahhl84G`Y3tCq(0}C~HG?mnW?2_azyzRC`UIRW z_|Kq~G5_t0?0@_67Z>#}zWf~rt)x_q6t=RejnvErW>9V+3xJmC z`WZuvjAn72w+0gZ!c zA#ROc&m%S~RCo}xuD5jUEbXg(tZCM@w!T|#S$ju3+PKnZvOq!Te!k1i>ZlAY2d$hq zcr3hl)6*dTc>dY=Qd5hg9F-3ZJx12?th3 zY?KG;EA_?MEA`bUgvx84mEd_1K6WD6Zh&~3v&UiJT=<@uGaZ9%(IN9U?-o?uhZNz# z0#o|=;zl}_TF1jsmf+jyEQ<#bNr0KCAUYnr%4g{D(N{m#MffRnz-^cE<1DqGVEx5r zS9<&IEpl`xM442IxYkCk*}6`7oUa@Kl_Om(Wi)GrS2ItP;Ou5QroVSmsVXN0)hk8e z;lQ7wszq5KKkzMEul9)W#^WhAdM9n0$1xd~J`)gN+?&lyrT2u#TL&e_WNZu=06!YS z_X6e%y?CXFn(qe)=6ByvLZ1sdi9L_*4O%9s*q`)g@<+ngXLPynb=p>5ndD-SPd(4C`aTbdZ?bxKHELC zZeth7;3PqZD?s#@He`g7m$B$qvPY*AnR5l@#vg7e+&xsaNZJ7s<$W$OK|T@wSM zh`E>hGt7-jtmLJrt}Ivhf&`2+J~l%A7}}Xca7jJxI^wvclcjQLM5Eta<3kf9Toscy z2I56cmFzMI1s+2ser!B|B({ns8CaFV`-AdpPxNlkWi`M4xfYlJ>bcQa_Db9t&LAY; zx^2E~@4$Karl&<}9jvxNSjTQMt#zzn;Qqi*Jw&F8Na(c1_Jsc6N8&(xJElah#X~^m zO$FtV=RBR5){5SC5(*jhk?uKK7`fi`Y}eJ#ci%vh-fi6~JE0;=vP_jpjlbT?{#e-Q zg~+X2Dcc7K^U`4_pWG;HNCdX~rJUssvKg;+f3y~ob_om7(fWQVrk~|8c+5Oyh)!0u zH&@f%C3-|i_!B$Ex|tDNvP7;t@z^Uj(%<;2W8RZEAuh0EPbru^)k9_D$^x*({E+n& z{y0*heI0x$J9Uj|T}LA6SZHS^U1@BX{##YX50iv${&P>g_W{k;`KLa}>>L)9+be$H za1Hq$db|JP;I|C#s!D6abpfQ!SMEJxNrX5Po=~2~$zN$@d{C4ae%`0;u5lJIc<5zV zW0x;w_KUnGPtktlP2P#J6QNQr*8K9PVlhCrtEJW_VcAdqvfOn2!G(Z&x2T5n3f@d6yv9qGdpFIWgxra94$P&Yhsnc!#t)-Gv2pxFx>U@5&M# z7#U*2+|*`pSdAT(GQiPE$Ex`}N+I!wwb~zatxGDuvCL1$dV-cI>A&21r3eoG;Lk8> zhmAcpb*$KgS=PzD#t!=+rn>kYXx#YR)Dn+tD7G%>f%NHRvzUhtr}1(z(HiB$A-%vD z`5X-Jp!>%UspC}u?_WmmD;h%*I*Zz09eZ~A{G;;OSqJ&?c>WA=&gyqG%p)(6V*26E z{`k1QNoE~O9dKi0)Wme|c} zpD9V60svR6jT^^lPq@XY4fnzWFP@(qA|#AoRZ#%ui7nS&g(Xw!JO=DIRz0X4b&exr zkY`td`J1Q{ea9M&%2%T#Ta;&a<1sj6L)n2PV_y7NO8EsgholQRo&m^2^@skl2bJt` zu{-&e43fXh6JRAQ*3k{gK53WkKIN2vD)Z{THopDGy|Ji5&I%H;Ecs!{lt{IB9_h<_F@CJB{)}FVpTFvK zXP(=eD=e5uI3>NH`X-wAtvibZtmZ?rL z7wsuLRIVuCeEjQ}R}+ZAfvu;^h{(w;f2~*YCtDTpuuti0eA}tHeTR8%o~dzA^q5{z zUQNy_)>BQCr4&n zY9ifZI%XxIcTU~-B#>+|02RG{!zI=^*x31j0>MV-*^bTh_(BK8Ju&5MRoaw8+1sG1 zL%CEWY*}Ha7nicSa&3PfVrP_f!DVI}!S&!{Ym;aR{feM{vMO6NOZr%GWB(&Z`wMOR z#)*@43&=FFCXmN^kEWAz)MHgZ6DzNPf8RC_rbOG((u3cI+!P)?mdoPYwy+W=xS^mz zfWC?vOdizPc*paTy;7&k%4PvouNbGIDHnoj<91_&*-aZqO)}LOa&*pZeF>N7l>Pz< zd;rv0z9>AUFFFYW!822_#dpkxb^lmTJyFw~@j`t0>4*7~9p0D`MHX1=O>e$JdK(YU zaj~=9#M%X_gvkYeC*Lkko|dT;vWBG#k0&O6W2g6_Mv4}FWx^J#7cBEjg3w2YH@g)Q zuPcXBzOk0d9;`^u*e`sV2s~bPHkR-tDYRo6Xua4hTUwLG+tvh)QIX*oR|Y1Ov28Zk zylyfJyrpjDH=Jjhz5$=Jg(|PB@fV!q?btPZ{rS$TKfdo!+1YTi23~<47U94_5&pH} znfUigS(B@ik&Xh(E?Ua@PItu=bDG)ZUT{R;eznP5G{Em}%@vdRrM`+tN6I(JQMxzt zzG?+!S4Ta~BX5?vtMn^pahCg%YIEzN%1z!wZj%6cu}N6lF1c=c&0t!fJ{z?E+8|pX ztL03D#Wef7T$WgBgBg5GX1JT$UHCk!=iSaW`dgj`dWdyaEzWVS!D%kH>i&#|Y?8|9 z-4$lE_MykI*a<$47lk7Bjbdv}w_`*zdXZuGN3Iu`_YOWZs2xJ(qa;J)R&SUlR@|sR zt8oL;Vk6BgD)ama+gNdT3rq5$E=wTS_vPNL5v7O8(WRT)ia$MvhreFxtoojl@A>L* z?V3N9{Or`QzB8zrK~Wzy9(B6iNvvA2IDC!4FDT_F{|-W_zsO%Zd!zcZU$$SrY)QbT z+}KQlk=a`^_W*hzPZ#yMhjHq8PQ9i6db5c4WxBN_N7p?>>OOl+NcT)WrFk4NdiE{l z;%pD)D#!i39~nk@^PUQri!2Iu0oQ(*7KqFFs)#t$B7j`oGM}O2VyLY`9N-5vh@n;< zRNIc6&UJhY@?%IVdD-=xjGWJqn^0=jZBU)tv{v1U7ED&2v5=oi(iJ2&r=CAe0V;*$ zW$8S9fv(wveNqLlBQuhxlIr{{L<<*+21HMjNzwF5+p`Q`+5~JF9k>|vUCpaTL{(Py zw>le+8;vV|Ci0p)i8;A|+2>n*&Llb{e1az3q!#5`h2t?5>RN5A0%e*-$ySQrj$M&HIK~a9W)6d?W8J*D|_Nsk$ zGP@D92-<(_m%Dt`w&=aK1L=et-x-8!#A~nMjd>p5y_E~xqvBa(g-xz$rbrZzJy}@V zMDqqtV5Q@0Jnd^ZegdA!J_j+KUwf*Q89r!GpX^tCjM-_vCiKDr%LHG*Tq?b|4*FY1 zr|I5VzQbkN?NfI!QSV9w{6i7N+PZuZNn#B7s)KDhPO1TQJe zZL1UgBIOOdRP;I*>7?O<3ezgLDn5OQ67L#>r1#{bKe8hz0Pg XLyRvu{aX3a{{tgEGu={c*U0|?Dtn-9 literal 0 HcmV?d00001 diff --git a/image/search.png b/image/search.png new file mode 100644 index 0000000000000000000000000000000000000000..f5d84b697dad0c856a822c2df0a0da46ee3e9be3 GIT binary patch literal 12704 zcmaKTWn9x?_ct&$YBY?JE+wS96+raD)ZuW1T?Qn3UDI*M)-R57?D8{(G_ySR4Gggm^{a$ULZ`#Vl zSlI`9mR!860V&>^<>UGzD;4vViC})Ksa(fDL<)3`tNaT<{#2fw6lCrH>lD%OOh1aR z{Ml3g&0cbLo?W29O1rl;uYT|AlgnY5Wtk1R4fA56Y@{{Pk0y=hB9{g+(RJ5@-qNKjvOa^8CutOT_;keeKu@ z_jbkrr}T`M16BPOI@rG9dBd#DW>VRJ{#&#a8mSRjo@tTgVYnW?I9&fK^9LShqHR~{ z$R8L1OsSy~UIrW)mz5GLf*fiZIk{GSRhg^GGSMTs5zUk{PaJsQ(w^F#!a7XW=3U4z z4AJNt+u{kXwD)tMoSOx<=h4l5%wHVe@dVNP&MLuWh1Nm$=FKKwST}t}sBfyOa%w{a zt*5?f$bHex6HV#uP?MDB799wW=oz*W;m{eUa$fY6N&MX(9$!b-Ay}kWEZ1M{-ZfZj ztfc=7_nOtZen*(ef%;30)NJ++p(aumNd_c-=ORnXHxYRM-9%7MW`)tAhQMZFkn_GZc{UxHU(d&vI}-CD{u{JKt_sfMQ2f+e~1PX}g) z=yU{p!`wmdNnG#vywP9q0H0o*oEwx2n(2G_J-osbVltnfT=GJ4pl|k=v()=_&RSY5 zR5mY`_i4<2oKA25su*5#9{k+=oTsJ)aB`bWEi5aGb`j9x9uQm2mGv-ua!l-*Jvw3* z1X?C5dRE~*EjdJM^sBnO`TZP9lzJ5Hh&U~3?Y^W>OGkIyXRgjLjt`qEOIMvw zycfYPd#0*UcinQ^hHp&Er~`K?PP!Q9A~D(l>taQ51Sf4Bs~ex6{sATF%hoJkF>h(E zE_ybPL1AYGC|*@LRw>52Dk(-e3ywR;nB9?*362NUnTeko2S-rqnX1Z5DDG|`si(nI zrsM^8EfpT&5bu|0HkTVsJmagd1P@u}avO(Ek;zcy^VBCsU9!U`GR!yY4wWC8emffV zYafJtq~HooGv@!Utu_nFlx!q^>QKY1*1BJ`&_mJVb8v@TUtd?)o~d?o zuYZ{K1mtW53*8t^9!?W%XEb^BK)VaL>P@Za7JeS@Zk$t5s&dY#hc=H!vsn5wx0su> zzFWJhGVJaifQ5i{F;t#&p+FKf2Rpk|Wi1VMwqlA;+f?!f->oRRnnMCfYTVwsxh=mk zGYfnK6b@wrD2gg0<5VQ~T1inT)E#5^^SYK7(cekWU4a%9U9N=7inEQtSKfgZKS0FE%iFV;^>)0OMy$LK|I|vXh zhzS`bUcxGt*WTX#XN1@~M{>JivVMc5%K8~u&7`NN=j1n&`t`(D?vw;ry2`WoLc6zD z`&~@73ej4wk^1A^P?oyR-I}Y?3d71vQpNV30bCc!{E!+#^UF`%n)d9;{`8N0K3}+! z{KO;7*YfdoKKVPv6jH=5&Gju4%!PtYg-Ut-o%~i*RCI+&>0W-c$-}Edj*9+{6TZ*3 z&VKu5rpiobW@cu%fZ%Qb<_G#l1ON2tQ_izw9>GUyXB16%C+5QRY;_%+vn)!Uo4Qle zm8Pa($%xU%2$)M~dQ8=}5BobMWi=lI!t2sLRoeho<@2EUsy$-ZUtK`F@_;fc=o_Vc zd|ME$zGmJZg*L?{Qgp?_@1B&jHTtPQ3D{o~ZU*`k+}}VQmWysauEfuUBkJ}JaD_0x z;g76ITZ75>bgT^0qs|Gl*|kZCet^Svwfbq2uSD1m@EB*(YxH(fr1b+rx*na|A2ht3 z(6-UF;Vtmsi=(;=XNXMVz|GB$jNf}^>p9W0Bd_nQ-ggGVcb8em><`TyD-)-f?Bmf^y4J)XZpWkt?yEJIHL;|^ zqGfuKDhYtv#8n|%1QRHJ;L~VC2RW)^T7L&lgr}rQ%eva#_&DINL&vu`Fd?8^On$5T z!#$Zpi?OGWF|$($sMo<*n?sZ%?@a zE$BdYA)$SKo4)u92}8@3c8QmMgRgZ%9H1>0KHNN1Gwh>rKZ=tE7VU8|mmX@p%rh}D zxhR~stA}GmDK_Qd7e^Zwao_eNV$Glc;j}d>YAPlw&e{(vL82c803mkJIEWzMrypc0 zfp&ETz5!5r#QPRjjS?dRgGPRN!-*Hw^n_eJVY7>oNwbwSa@7ltI;~WkRQyz8r^Zh- zL#+{KU>#98B1=z`!%)$zldOK6y{%m2Hiu@$R_2D>^XR}4%%31FTUe-d=>uXgf`jg9 z4D-^27{Vl${W5K3@Xfb{@V>t6(OAGEIq`)Fe}Z`9HT>G#2SbS1!0#RKEKf@m$i+fR%YM7?i7qaDm~gM-c1?+)uTau(h;h~V$@ z12S1=(pY?7?|3I}iuh;0F%;}Pr>BW|9ukd8i;az4tm&=(!O0vzSG4zHQg9yZ zoSr>sdsyb7_kdtohdY=DMaTrmBg_+6%FNEb0^#qArBPq9FwRe8u%4R2Kd+F^&K349 zX~6-uvg>k7M63fZ{^lEm4pY-(kQZ3TvGrPYlG?A5Z_*1HCouf5daZqluY{wIElxIU zSH^jJG<7a=QMF>l%yHSdQ`I*HZnB!{M?2$Ev_qK`1=*Dq5bslHgutrLBu!f z!c5OzwFFQjb7nZ)-aYwi0^ecQup3fom_0zu+SF-X2!mqubfL?P$t%0DL>M5GrSuBf zr_ON~s%6hXi2d046z zJ|L$SM7XmYfw9YY0}%FMpSUX8ZRP@>Jh!aTAHj@MzPzIgbts?R1>FKO%sG<7FX*h; zIIfrbJ<}XtQAl!TJGKSg;i{YnW2hPv?k;coB8@U!I)rQkw zl5ly$AeqKlo6qp!&#cez)wXXL$wqG%D*EWRq8_|MW`u3=^SUFiEN+5cUM9ZI;I_xD zrq50TvZU16Nqzf5Am}c%;ZIm_Q8F5ejENH2zP-x`ouSF0CphWJw)JP;0{>s?+{^tcB z4xW3<n?TI268$OEjv^(LV{gTY{{8e~Ct41a%03AJRl?|+|V8n3x zv<$)A1zwYER6%xBtf<0&(nRQj2mwzod-b6Yz3x4|LGWuZx5-@PQ zr0R1J=;^jEi6~)$d3-Vmh}VX2!EsIJJ=@9n)jHyMeHi|J zMe#NX$-*uoPSkv~MZZ#QQ*sDen^VVklQ(sef z7gvw+Yh=$Qj*nC4tIt-sNP$a}fKU#GW`F;0=Z^w7IuDw7Hi|X1G@a#yLL9ONu#3a= z$Q>oYXYpw-4Gfsa<3-|UdwExx)|x6lxU4NO5V`3hd&KIgJ-BlUr$pn4tNuK~dDS6i z8-1=8@P)Rpx2dfKI@jP=9TBNY6-)LY z<%0@q6{8Dry;g5WLn}?2n=-V5=xgECRGTy40r&8UNZ5ldi256EHr*- z?#R_gJ7jhvaFAiYH5)_v1M|~ssE92}zKw{G9YhO#FD27C+YwKw-OsFL7lgvlAp~Bb zQT@poizbi)Y+~Z!so;Bm^!hQiycXhK0)MqYNaZ>?w8_TPt({RBf0Y=ps((<)AJO_U zy0^0dH$B!ygqUHI7n%Vx32iW+Vzic@E(f_qSTJ{wW=n*Wh0llzD;WU@zD3E8umDT(y2YHDiA?5s=1JrKlS zmw7(@)(Mc+Qj0tM1Zmpj{A=pzR`rA}4P%e&b7=JUKBnV?+^BYn$#D7}P! z>S9RFSo=%j#TI76+ zJ7)F1agox(sZP(pbW}Bd%lIKN%ZrO_afYyT#I+$ci}k?=T$j%2X$ag#F@W2GMn0oz zU7@I@`n~H&mV{e4ig~5MI6zR*$hIS^sUVt~zu=f~DM#jgpOvS^#5>)2gliNncp_RA zi&^7P2G`F_KS~zjfmK?DloQcw>+9uzf3D{J7w$*Eh*zVIaetEi zjYtSnX3F(~T1nD+Z2i59OSf7+ft7wDdWC0KLggh(rS`(`+izuMXcE7oB%1@pgVuBN zxR|WDaEP`uVvG|iY#R!(akr}^NP8#y5x)Y?$v}OG}|Dh(8H7cXZ^2rVG4HyH`DUHqP_K#rTonNVM?Byrd+L2p-8-uU_4U zX5Cxmgt&ChOiKoMMl>1}lQT&=r$Dydm%sS-M3SmEpxMcS87P)D!RMwX0Rf*53e5VwKlA$<$2}XGi-f$2?+e*d+sYD!PpH*D!#og!>0Oqj zka&E>dG6A~o&3lmK7QQ1DgyX=5#@+{bPp+9AOMs^_m0-9PK(N$I^_hUkqz3hSUzkIhCj5JUuf)@|>pjFv1;l|5RXPf9N|a6KhKB!no&_dXQL^3|FOGQltKS-I zr5y0Ea|X`{ds24{sk9$Hxyh8u^FAD%uRQX-s|tX*fU3&p(ESki$x%+|$jFGlcxK!c zwArcqvA~iTY)5)9v ziv^!%KfMOCyd?%Ggwo-*8~2}o^Tav0riU*Ax`p!-+f ztCqDP-?<_fhGwrc+VFhs+vRb0bEZ?Da9uOU*-4Y{SZ`so$dS>X zvNbUJRtNtWjS4Cn(~9wm@lBYG9y9|L5$C-OAb9MEoIZI^#Uyi)*A!>mu%&rw1i9Zck3mV)@DU<12 zto>MgY-g#9G_AKEVIA{YSUSUhzI*^37xhfHf7`7pfF;{W$r{+EJ|h+5660Z37Tu=_ z0@1>sepfo7QZBdS^f&H!GsdwL_AK>jI*Kko+U@nj>D|?r{Y~?Ib#V5_tHev?1{FbJ z{DpJP(kr*REarIiloKqG&`RSgU}c+pEnCX$d9x-7fO!B*UI+ zv?i9An7BN|V^q&!MAA51@Oc2c;+V5OSBXL8O?MUSB@*DiB zIr2AsZ{#F<2fNs`JF9N&V&H}SBhJol#f3!LNU}vpO|IhvnOi0(?UtvsZJ~R-B zgJ)$syj-a`QxB1K1#nmCL!)y!TS$F^IC zBRUs&13r|;h{OHa{Px8r-m6-5^FFiZwT=?}YOK+Mw@?0M(-&2n#rTPM92<-I(9qHO zu(jN2B>+WW(VHv#uF>X9s{2#)Q64_T-~k1>tv<$#UuKRHPxfD^3EU_>KvI*jv7G3a zYTsz$U!?N5@y2dQwv(Xqf$ zb@D?Oa$vj9ekaUVt8@%!Pc()a%^d5mV@Lm^h4}N&I~|a_*~NiF??Sx+(w&#zCwzEdS9~wq@FnAWVSW1|1xUJ9 z7=`Z&8HneW!GfRN`>w~Qf3y5!X5Pc#FX21}NT$#&mi|$NdkK*qni@~>WEqOmKkOQM zx(!?Pi)gj~qNAXpox+CYKG=9fswY2~W1$R(R-Q1{9HZzC4B^M7M@>xj29h`})B&wy zv@dZXp%3@|Z#JmHn^ak7^MR01m!A12Qr0v-y-sesI)A4YPBTjR70Z?G2z^@`@=T-y zctbTUGRbRPvhYAD)-K#T!xd$DF4FOaQPrG>BABG}y&wyyVgj>#-wz}=I)$VDyOo?n z&qkOPQ1BRR{prNkr-4%?LbSb228ypW;#0w7Wu@nmp)gB{>y`b6lGQi-IsJT>p zd?27jncg5HVp!;NuKd5-j8=Yq`pVyQ<-pVm{7-b&svze?Fy~ z0SdiS+V2`IaMgA4B1W(UIMgUaxiFX1J3rQ&ODEFlIsP<{PV}AKLzbK>P(NtlF4KSD zry{anV?G1aasTlzMUE{&xy`yO36WLrvv2z|CRW@)s;~S3{f?QvIWhj_6COGz+UICR z^riDXx%2w>p!a{QKyDsNW7u~30D78ey+OWmG1 zahql0m=l7FDO%?Bs%<^XX9U0l&&>@q$Btr6(uYs9F!;P}FZkVU0$PVN67G|&P7scL zjly9;Y=mIl^8ZV;f~0prr6XAA$Mz4}85&OiSEkhpU*t6O%O(TbR0l|YIz0a~D5ejZ zi2M2+kCI~wtVs5lFdO3wxyyfS=ndgSI;`m{qnoW-biv6w_uk8VV2E5kJdnY?+qlF_ zNtL#O6>Wq|u%ZrLVg85|7yj-~td8?+3=mH+ND5J=FW3Y=^0!Vcxqf2;ceF)5moL5C zUg?RtW2j56J@~M(Z;NmTozrJo6O>$qR902(f!mzL#-8~1Ctey8Fc49L=_v0EfaYoKHUQVF@ArA&DYRL=8=<{MpV@8}pnr3P{;vE{+ zx63E#>FQ#{tNa4MBZXqVukO=J$7*5hjN6DRJnonjO8Lib6d0-M^+olw(I@m_#UIvx4-2wEH=(O_L#B6%z{m2_A}7YoH@t@*)~t`?)9C2v zN>`YNtC64&ho>H2D3LsFk9%%nQ+HNR4|0$ecE^;Y?->I4DpcLVE$YFN>Vlq_D*^#o z|9tuJuaGY&L_CH33jW!Nt=)3MY<%#qW|X3#0W;%@xpTeWz67#57#BvPkO=3Zqje4@ z?c`S|?=G{R@_s91SKHZX-qzw&J2&KRi$8&B7qJffD#(7*MMCXpBrYi#)Lv4u9%fF4 zo@p-8&gJ7cH)_dXpib;KZwwBdaCY|j947~PJ%j63*50BP3u;Ya_-C`8feR1TF=eusR?=)c)HW)h7v;Lndw1a~Z znfg!lK5TvR@)4J>>Ht@p2c=(mW#w++-@kvU2UC>CG$REa`im-e`gbG7hlYm8b5kw% zOr{C(&E;<*70B@98+3K$j{!UdG6@2^fa`^LR@sQ>9QO|w9CL;61bWIJ7cRbIt z8VI|w_1e($strnQ2G{^I@>F_B+o;iNdm2)@rYe_MM3+G8a~ARZ7+d09`iSt15&-w3 z5^MvK{m+iXyg;M6WEyHwzpf=R_D1vkV#YKJHlJ*KAL+27Qm6n{>*x;f3DmO%kRP#F zuo~VAc=CIeq|hI1Hj^N&us2W<#s|uIG{&SHvn|)n;b%n&U&49T^D?dd02M~j$%o(LaX!#3d9tJOP|8oji^l;B?+RO=Ba}V22b_bZuXk%~Z;=IlBR_ zAePIadw-{GSufs^L}jn(9xvF6`I$7uumFYH@_+A{{Y%*$%5#vxfvZ0Mnj|vHTJECQ zQln1oE(cfwZt2Wp8|?nYoxj_?f@u`?%^Z_A^)RpF(`DYT#}AK;bP#n*F>pXhWAk8^ zt)M#{MB0Y6!DHP$2InZfz4rTO!o9m@*TFTdt-h$slkGL&&%%p;x8AWgjh2K=7XwdB z&0}=e5vI$Wrp4x#m?C~)hzVEkU%SgF)>CTLJ^ihFkrH;$LAq?ZM*V0y(rg3cOSKUk zfUPPfOW)Znymv~oxi}*NU>V~?g0NcjW##>bb#*9@_ZiXMZo3YHH&v;N#B5n<2G(WItdU&dH=i`0=5^b);) zWC1Pxs>t`bQ=33Xhyt;>XTC>uAhs_h;P~smTXI2<|BX)?G>Q`iGV+&pn!fKx19$JU z-u%`_xEe9aP>HZ~!BWzvpb1AS0E}P6g>EQ}=sAsYVV9LXT-BbZM-%{oLdvC%lvvs@ z6-0TU9il9q=3*#bC-p4_RslLc?In<+qjPh7LbMwe2r#}Nb}I}3o4V>ze*S#KS0I_S z+$Zq7$N8`k{{eRD&&_wSA9iS1>*($ymK3bUcVanTi4g+mTME#m-HFReKz6K}yE=Yc z;@RMk?ldC!9KP!@U`+q%U=fikDGKvBy(QTD?KS@@OF~4hbOW-^ZZysiP7EqZOBiU)4~k2ZOG$44Vi4yvSbzH#9fj4ZWjIkVH9QwZy>8 zf}bw{n3|fZ<{X~S-tm=RQUbyMec#|9+vk4t#+3xbNvbvoe(c&OHrZF-?9n~sO5aq{ zW}F+7AoLp%SUCg;!C4>g0fgX~N7VRkF7F%;HreRi|M9H?P4aTIL`P95JY*MfK4!nN+l-dGOT+LirWWqu1|nJ#8S`Xfl_g1m$|A3(!udzK#!BGyN;g>q!Q9C@Cg1kP+6_0+t*Pb0B* zGO6~XKE_(4=cdpeC;1af?>HVDa=@wn;o3yt4?K!4j$w~n0dRG;@0N{)CoZn8doG&~ zX~Xj<9uq3t2ThDfEngpE3*I0&G?yWdU7PENCB0<{9eDriWNekoD{LlDNVg9s&?YjS zxL#h01}r=wh8h_d=!ZZcol$!8i-BY0x`8H<-S2omhRj7`hQ&O_+_f9bh5oTs3WQjDiT9z3CRk*I^!7jFB6g^Hn)&G z&joW~?T`@er<8km$SZ4K-;0C}_xsQeEle_)3yGZ}s>4$h$0B@hA$($UA?j-`z%#62 z()?5dBkPC5{q?+1*8SM0nuBoMwS*OwE+^8%GiscF)oq2QgqAK_sFvkm&E7i#TyrBM zqpt;D&|7D;l#JLTbvlw=sl#dHPl7m<^|3I1>x8DQ(E_&(+}WsAof!Q?7gQrZwq{)W znJmG1wDA{M0%bf~Sy?$F)+06@h+mb8Ywstk5Y~9eb2KKJ+sV$?!+^GVb9pa1B+idG zPqB+4i5nY@P0Ab!19ftB2nTqu#@P=ZLo}fN0P1(G!j*;+x zqJxJetputfNtVb}DX6d;kg|-SKCu%oLQim=$Qb}RbyQ_NrVpSYhp3^R0jzF>tMfmj zfqe@6WMTlC4rRCwk|f;QPy_VOvM&oG?z?b`$p_0gxY!o3V&{WAp_k+!K{7pzd~rrZ za>zNB!PWPF`Y53d@u3@_B!MvSmmw@w1JLjMd~99h6g!Fy5c2PWQtm4Cm?&8DI_P8Wc?={EC<|j{rrKcswfGg=0y7neDnOsug<+#C z+<)WVFXygcu>gL|Tu!T@ZO%K0O#eH3E%lgh9Lh40}t?f*`y9eOD&)}tArkf({2#qw-# zkyqHo&P7{WTT=B8gfQQc8K=*M?&0eerZ8%uQVl6F_)CUA7q$pX5ai)&X>NZ0?G1_! zr73$Xy}@u`#yXX8ERl5+?r_%z%hUNFh&dFxqF0*>a#&hv$N;n z@-nMDEW~-)&UFH!mePQKjfA*kS4EYio;f-}dEZV;8DdlBw9=@qQecD%!pTuTOSFcIc&hy{iZ!&NJ1j z!^-~vu(r0AEK+VtymG~;m9p`^+S`$@_qm$s9re6q%0W9el!+Vgk`@&Db#%+LSA9J+ Vu(5TF{pSVFvnSfBRgWw~{|7^yU3&lk literal 0 HcmV?d00001 diff --git a/index.html b/index.html index 0a91c9e..21a71e0 100644 --- a/index.html +++ b/index.html @@ -1,8 +1,112 @@ -index

    js-integer

    -

    integer numbers code bricks for JavaScript

    + + + + + + aureooms/js-integer API Document + + + + + + + + + + + +
    + Home + Manual + Reference + Source + Test + Repository + +
    + + + +

    js-integer

    +

    Integer numbers library for JavaScript.

    +
    integer.parse( 16 , 100 , 'ff' ) ; // [ 2 , 55 ]
    +integer.stringify( 100 , 16 , [ 2 , 55 ] ) ; // 'ff'
    +

    NPM license NPM version -Bower version Build Status Coverage Status Dependencies Status @@ -10,10 +114,26 @@ Code Climate NPM downloads per month GitHub issues -Inline docs

    -

    references:

    +Documentation

    +

    Reference

    \ No newline at end of file + +
    +
    + + + + + + + + + + + + diff --git a/lcm/lcm.html b/lcm/lcm.html deleted file mode 100644 index 8a83fe9..0000000 --- a/lcm/lcm.html +++ /dev/null @@ -1 +0,0 @@ -lcm/lcm

    COMPUTE THE LEAST COMMON MULTIPLE OF a AND b

    \ No newline at end of file diff --git a/log/log.html b/log/log.html deleted file mode 100644 index 4556595..0000000 --- a/log/log.html +++ /dev/null @@ -1 +0,0 @@ -log/log

    FOR A NUMBER n COMPUTE THE GREATEST k SUCH THAT 2^k < n

    \ No newline at end of file diff --git a/manual/example.html b/manual/example.html new file mode 100644 index 0000000..d9556ee --- /dev/null +++ b/manual/example.html @@ -0,0 +1,95 @@ + + + + + + Example + + + + + + + + + + + +
    + Home + Manual + Reference + Source + Test + Repository + +
    + + + +
    +
    + Manual + » + Example +
    + +
    +
    + + + + + + + + + + + + diff --git a/manual/index.html b/manual/index.html new file mode 100644 index 0000000..12aa786 --- /dev/null +++ b/manual/index.html @@ -0,0 +1,124 @@ + + + + + + Manual + + + + + + + + + + + +
    + Home + Manual + Reference + Source + Test + Repository + +
    + + + +
    + +
    +

    Overview

    +
      + +
    +
    +
    +

    Installation

    + +
    +
    +

    Usage

    +
      + +
    +
    +
    +

    Example

    +
      + +
    +
    +
    +

    Reference

    + +
    +
    +
    + + + + + + + + + + + + diff --git a/manual/installation.html b/manual/installation.html new file mode 100644 index 0000000..1212b86 --- /dev/null +++ b/manual/installation.html @@ -0,0 +1,104 @@ + + + + + + Installation + + + + + + + + + + + +
    + Home + Manual + Reference + Source + Test + Repository + +
    + + + +
    +
    + Manual + » + Installation +
    +

    Can be managed using +jspm +or npm.

    +

    jspm

    +
    jspm install npm:aureooms-js-integer
    +
    +

    npm

    +
    npm install aureooms-js-integer --save
    +
    +
    +
    +
    + + + + + + + + + + + + diff --git a/manual/overview.html b/manual/overview.html new file mode 100644 index 0000000..e4131f9 --- /dev/null +++ b/manual/overview.html @@ -0,0 +1,95 @@ + + + + + + Overview + + + + + + + + + + + +
    + Home + Manual + Reference + Source + Test + Repository + +
    + + + +
    +
    + Manual + » + Overview +
    + +
    +
    + + + + + + + + + + + + diff --git a/manual/usage.html b/manual/usage.html new file mode 100644 index 0000000..01910e5 --- /dev/null +++ b/manual/usage.html @@ -0,0 +1,106 @@ + + + + + + Usage + + + + + + + + + + + +
    + Home + Manual + Reference + Source + Test + Repository + +
    + + + +
    +
    + Manual + » + Usage +
    +

    The code needs a ES2015+ polyfill to work, for example +babel-polyfill.

    +
    require( 'babel-polyfill' ) ;
    +// or
    +import 'babel-polyfill' ;
    +
    +

    Then

    +
    const measure = require( 'aureooms-js-integer' ) ;
    +// or
    +import measure from 'aureooms-js-integer' ;
    +
    +
    +
    +
    + + + + + + + + + + + + diff --git a/mod/mod.html b/mod/mod.html deleted file mode 100644 index 0dbab86..0000000 --- a/mod/mod.html +++ /dev/null @@ -1 +0,0 @@ -mod/mod

    COMPUTE MODULUS (a % b)

    \ No newline at end of file diff --git a/mod/montgomery.html b/mod/montgomery.html deleted file mode 100644 index 328a972..0000000 --- a/mod/montgomery.html +++ /dev/null @@ -1 +0,0 @@ -mod/montgomery

    COMPUTE MODULUS USING MONTGOMERY REDUCTION : http://en.wikipedia.org/wiki/Montgomery_reduction

    \ No newline at end of file diff --git a/mpow/mpow.html b/mpow/mpow.html deleted file mode 100644 index 5f660b5..0000000 --- a/mpow/mpow.html +++ /dev/null @@ -1 +0,0 @@ -mpow/mpow \ No newline at end of file diff --git a/mul/karatsuba.html b/mul/karatsuba.html deleted file mode 100644 index 08c719c..0000000 --- a/mul/karatsuba.html +++ /dev/null @@ -1,97 +0,0 @@ -mul/karatsuba

    /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)

    -

    Parameters:

    -
      -
    • add must be a function.
      (addition algorithm)

      -
    • -
    • sub must be a function.
      (subtraction algorithm)

      -
    • -
    • mul must be a function.
      (multiplication algorithm)

      -
    • -
    • copy must be a function.
      (copy algorithm)

      -
    • -
    • calloc must be a function.
      (array allocator)

      -
    • -
    • r must be an uint.
      (base (radix) EXPLANATION ########### We consider the numbers a and b, both of size N = 2n. We divide a and b into their lower and upper parts. a = a1 r^{n} + a0 (1) b = b1 r^{n} + b0 (2) We express the product of a and b using their lower and upper parts. a b = (a1 r^{n} + a0) (b1 r^{n} + b0) (3) = a1 b1 r^{2n} + (a1 b0 + a0 b1) r^{n} + a0 b0 (4) This gives us 4 multiplications with operands of size n. Using a simple trick, we can reduce this computation to 3 multiplications. We give the 3 terms of (4) the names z0, z1 and z2. z2 = a1 b1 z1 = a1 b0 + a0 b1 z0 = a0 b0 a b = z2 r^{2n} + z1 r^{n} + z0 We then express z1 using z0, z2 and one additional multiplication. (a1 + a0)(b1 + b0) = a1 b1 + a0 b0 + (a1 b0 + a0 b1) = z2 + z0 + z1 z1 = (a1 + a0)(b1 + b0) - z2 - z0 AN ANOTHER WAY AROUND (not used here) (a1 - a0)(b1 - b0) = (a1 b1 + a0 b0) - (a1 b0 + a0 b1) (a0 - a1)(b1 - b0) = (a1 b0 + a0 b1) - (a1 b1 + a0 b0) a b = (r^{2n} + r^{n})a1 b1 + r^{n}(a0 - a1)(b1 - b0) + (r^{n} + 1)a0 b0 This algorithm is a generalization of the Toom-Cook algorithm, when m = n = 2. For further reference, see - http://en.wikipedia.org/wiki/Karatsuba_algorithm - http://en.wikipedia.org/wiki/Toom–Cook_multiplication)

      -
    • -
    var bkaratsuba_t = function(add, sub, mul, calloc, mov, r, wrap){

    Multiply two big endian arrays using karatsuba algorithm, -i >= j, k >= 2 * i

    -

    Parameters:

    -
      -
    • a must be an array.
      (first operand)

      -
    • -
    • ai must be an int.
      (a left)

      -
    • -
    • aj must be an int.
      (a right)

      -
    • -
    • b must be an array.
      (second operand)

      -
    • -
    • bi must be an int.
      (b left)

      -
    • -
    • bj must be an int.
      (b right)

      -
    • -
    • c must be an array.
      (result, must be 0 initialized)

      -
    • -
    • ci must be an int.
      (c left)

      -
    • -
    • cj must be an int.
      (c right)

      -
    • -
    var karatsuba = function(a, ai, aj, b, bi, bj, c, ci, cj){ - - var z0, z2, t1, t2, t3, n, I, N, N_, i_, j_, i, j, k; - - i = aj - ai; - j = bj - bi; - k = cj - ci;

    EMPTY CASE

    if (i <= 0 || j <= 0 || k <= 0) return;

    BASE CASE i = j = 1

    if (i === 1) { - - z0 = a[ai] * b[bi]; - c[cj-1] = z0 % r; - - if (k > 1) { - c[cj-2] = (z0 - c[cj-1]) / r; - } - - }

    RECURSION

    else{ - n = Math.ceil(i / 2); - I = i + j; - N = 2 * n; - N_ = I - N; - i_ = aj - n; - j_ = Math.max(bi, bj - n); - - t1 = calloc(n + 1); // + 1 to handle addition overflows - t2 = calloc(n + 1); // and guarantee reducing k for the - t3 = calloc(N + 1); // recursive calls - z2 = calloc(N_); - z0 = calloc(N); -

    RECURSIVE CALLS

    mul(a, ai, i_, b, bi, j_, z2, 0, N_); // z2 = a1.b1 - mul(a, i_, aj, b, j_, bj, z0, 0, N); // z0 = a0.b0 - add(a, i_, aj, a, ai, i_, t1, 0, n + 1); // (a0 + a1) - add(b, bi, j_, b, j_, bj, t2, 0, n + 1); // (b1 + b0) - mul(t1, 1, n + 1, t2, 1, n + 1, t3, 1, N + 1); // (a0 + a1)(b1 + b0)

    BUILD OUTPUT

    mov(z2, 0, N_, c, cj - I); // + z2 . r^{2n} - mov(z0, 0, N , c, cj - N); // + z0 - - if (t1[0]) {

    overflow on t1, add t2 . r^{n}

    add(t3, 0, N + 1 - n, t2, 1, n + 1, t3, 0, N + 1 - n); - } - - if (t2[0]) {

    overflow on t2, add t1 . r^{n}

    add(t3, 0, N + 1 - n, t1, 1, n + 1, t3, 0, N + 1 - n); - } - - if (t1[0] && t2[0]) {

    overflow on t1 and t2, add 1 . r^{n+1}

    add(t3, 0, N - n, t1, 0, 1, t3, 0, N - n); - } - - add(c, ci, cj - n, t3, 0, N + 1, c, ci, cj - n); // + (a0 + a1)(b1 + b0) . r^{n} - sub(c, ci, cj - n, z2, 0, N_, c, ci, cj - n); // - z2 . r^{n} - sub(c, ci, cj - n, z0, 0, N, c, ci, cj - n); // - z1 . r^{n} - } - - }; - - if (wrap !== undefined) karatsuba = wrap(karatsuba); - if (mul === undefined) mul = karatsuba; - - return karatsuba; - -}; - - -exports.bkaratsuba_t = bkaratsuba_t;
    \ No newline at end of file diff --git a/mul/mul.html b/mul/mul.html deleted file mode 100644 index 7f9acd0..0000000 --- a/mul/mul.html +++ /dev/null @@ -1,38 +0,0 @@ -mul/mul
    var bmul_t = function(r){

    Computes product of two big endian arrays.

    -

    -Computes product of two big endian arrays -using long multiplication algorithm (the one teached in -european primary schools)

    var mul = function(a, ai, aj, b, bi, bj, c, ci, cj){ - var ak, ck = --cj, ct, t, u, v, w, y, z; - - while (bj --> bi && ck >= ci) { - for (ak = aj, w = 0; ak --> ai && ck >= ci; --ck) { - t = b[bj] * a[ak]; - u = t % r; - v = c[ck] + u + w; - - y = v % r; - - c[ck] = y; - - z = (v - y) / r; - - for (ct = ck - 1; z > 0 && ct >= ci; --ct) { - v = c[ct] + z; - y = v % r; - c[ct] = y; - z = (v - y) / r; - } - - w = (t - u) / r; - } - ck = --cj; - } - }; - - return mul; - -}; - - -exports.bmul_t = bmul_t;
    \ No newline at end of file diff --git a/mul/mul53.html b/mul/mul53.html deleted file mode 100644 index 244a2db..0000000 --- a/mul/mul53.html +++ /dev/null @@ -1,83 +0,0 @@ -mul/mul53

    /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)

    -

    big endian 1 block multiplication

    var bmul53_t = function(r){

    Multiply two blocks, result is put in a 1 or 2 blocks big endian array. -aj - ai <= 1, bj - bi <= 1, cj - ci <= 2

    -

    Parameters:

    -
      -
    • a must be an array.
      (first operand)

      -
    • -
    • ai must be an int.
      (a left)

      -
    • -
    • aj must be an int.
      (a right)

      -
    • -
    • b must be an array.
      (second operand)

      -
    • -
    • bi must be an int.
      (b left)

      -
    • -
    • bj must be an int.
      (b right)

      -
    • -
    • c must be an array.
      (result, must be 0 initialized)

      -
    • -
    • ci must be an int.
      (c left)

      -
    • -
    • cj must be an int.
      (c right)

      -
    • -
    var mul = function(a, ai, aj, b, bi, bj, c, ci, cj){ - - var v;

    EMPTY CASE

    if (aj <= ai || bj <= bi || cj <= ci) return; - - v = a[ai] * b[bi]; - c[cj-1] = v % r; - - if (cj > ci + 1) { - c[cj-2] = (v - c[cj-1]) / r; - } - - }; - - return mul; - -}; - - -exports.bmul53_t = bmul53_t;

    /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)

    -

    little endian 1 block multiplication

    var lmul53_t = function(r){

    Multiply two blocks, result is put in a 1 or 2 blocks little endian array. -aj - ai <= 1, bj - bi <= 1, cj - ci <= 2

    -

    Parameters:

    -
      -
    • a must be an array.
      (first operand)

      -
    • -
    • ai must be an int.
      (a left)

      -
    • -
    • aj must be an int.
      (a right)

      -
    • -
    • b must be an array.
      (second operand)

      -
    • -
    • bi must be an int.
      (b left)

      -
    • -
    • bj must be an int.
      (b right)

      -
    • -
    • c must be an array.
      (result, must be 0 initialized)

      -
    • -
    • ci must be an int.
      (c left)

      -
    • -
    • cj must be an int.
      (c right)

      -
    • -
    var mul = function(a, ai, aj, b, bi, bj, c, ci, cj){ - - var v;

    EMPTY CASE

    if (aj <= ai || bj <= bi || cj <= ci) return; - - v = a[ai] * b[bi]; - c[ci] = v % r; - - if (cj > ci + 1) { - c[ci+1] = (v - c[ci]) / r; - } - - }; - - return mul; - -}; - - -exports.lmul53_t = lmul53_t;
    \ No newline at end of file diff --git a/mul/toomcook.html b/mul/toomcook.html deleted file mode 100644 index 1f83cfb..0000000 --- a/mul/toomcook.html +++ /dev/null @@ -1 +0,0 @@ -mul/toomcook \ No newline at end of file diff --git a/neg/neg.html b/neg/neg.html deleted file mode 100644 index 8f88c82..0000000 --- a/neg/neg.html +++ /dev/null @@ -1 +0,0 @@ -neg/neg

    COMPUTE THE NEGATIVE VALUE OF NUMBER n

    \ No newline at end of file diff --git a/not/not.html b/not/not.html deleted file mode 100644 index c5a3420..0000000 --- a/not/not.html +++ /dev/null @@ -1 +0,0 @@ -not/not

    BINARY not APPLIED ON a

    \ No newline at end of file diff --git a/or/or.html b/or/or.html deleted file mode 100644 index 6476267..0000000 --- a/or/or.html +++ /dev/null @@ -1 +0,0 @@ -or/or

    BINARY or APPLIED ON a AND b

    \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..7bb5119 --- /dev/null +++ b/package.json @@ -0,0 +1,71 @@ +{ + "name": "aureooms-js-integer", + "description": "integer code bricks for JavaScript", + "version": "0.3.2", + "author": "Aurélien Ooms ", + "ava": { + "require": [ + "babel-polyfill", + "babel-register" + ] + }, + "babel": { + "presets": [ + "latest" + ], + "env": { + "development": { + "sourceMaps": "inline" + } + } + }, + "bugs": { + "url": "https://github.com/aureooms/js-integer/issues" + }, + "dependencies": {}, + "devDependencies": { + "aureooms-js-algo": "^3.0.5", + "aureooms-js-array": "^3.1.0", + "aureooms-js-operator": "^1.0.2", + "aureooms-js-random": "^1.0.2", + "aureooms-js-string": "^0.2.0", + "ava": "^0.16.0", + "babel-cli": "^6.18.0", + "babel-polyfill": "^6.16.0", + "babel-preset-latest": "^6.16.0", + "codeclimate-test-reporter": "^0.4.0", + "coveralls": "^2.11.14", + "esdoc": "^0.4.8", + "nyc": "^8.4.0" + }, + "homepage": "https://aureooms.github.io/js-integer", + "keywords": [ + "algorithm", + "arithmetic", + "bignum", + "bricks", + "code", + "complexity", + "integer", + "javascript", + "js", + "kernel", + "library", + "logic", + "mpa", + "multi-precision", + "template" + ], + "license": "AGPL-3.0", + "main": "lib/index.js", + "repository": { + "type": "git", + "url": "https://github.com/aureooms/js-integer.git" + }, + "scripts": { + "build": "babel src -d lib", + "cover": "nyc --reporter=lcov npm test", + "prepublish": "npm run build", + "test": "ava ./test/src" + } +} diff --git a/parse/parse.html b/parse/parse.html deleted file mode 100644 index b4bcf51..0000000 --- a/parse/parse.html +++ /dev/null @@ -1,43 +0,0 @@ -parse/parse

    Function template for number parsing. -Endianess provided by the iterator function -iterator function must be reverse ordered

    -

    Parameters:

    -
      -
    • f must be an int.
      (from radix)

      -
    • -
    • t must be an int.
      (to radix)

      -
    • -
    • iter must be a function.
      (iterator function)

      -
    • -
    var parse_t = function(t, f, iter){ - - if(t >= f){ - - if(f > 36) throw 'f > 36 not implemented'; - - var z = 0, log = t; - while(log >= f){ - if (log % f) break; - log /= f; - ++z; - } - - if (log !== 1) throw 'log(f) does not divide log(t) not implemented';

    immediate log(t) divides log(f)

    return function(s, si, sj, a, ai, aj){ - var len = sj - si, k = sj - z, n = Math.ceil(len / z); - var block = function(i){ - a[i] = parseInt(s.slice(Math.max(0, k), k + z), f); - k -= z; - }; - - iter(aj - n, aj, block); - - }; - - } - else throw 'f > t not implemented'; - - -}; - - -exports.parse_t = parse_t;
    \ No newline at end of file diff --git a/pow/ebs.html b/pow/ebs.html deleted file mode 100644 index 734e299..0000000 --- a/pow/ebs.html +++ /dev/null @@ -1,36 +0,0 @@ -pow/ebs

    Computes pow(a, b) using exponentiation by squaring.

    -

    could add an additional base case for b = 1

    var __ebs__ = function (alloc, iszero, setone, iseven, div2, minus1) { - - var ebs = function (a, ai, aj, b, bi, bj, c, ci, cj) { - - var t, u, m, n; - - if ( iszero(b, bi, bj) ) { - setone(c, ci, cj); - } - else if ( iseven(b, bi, bj) ) { - m = bj - bi; - t = alloc(m); - t = div2(b, bi, bj, t, 0, m); - - n = cj - ci; - u = alloc(n); - - ebs(a, ai, aj, t, 0, m, u, 0, n); - - mul(u, 0, n, u, 0, n, c, ci, cj); - } - else{ - m = bj - bi; - t = alloc(m); - t = minus1(b, bi, bj, t, 0, m); - - n = cj - ci; - u = alloc(n); - - ebs(a, ai, aj, t, 0, m, u, 0, n); - - mul(a, ai, aj, u, 0, n, c, ci, cj); - } - }; -};
    \ No newline at end of file diff --git a/pow/pow.html b/pow/pow.html deleted file mode 100644 index 13654da..0000000 --- a/pow/pow.html +++ /dev/null @@ -1,17 +0,0 @@ -pow/pow

    Computes pow(a, b) using naive exponentiation.

    var __pow__ = function (alloc, isnotzero, setone, iseven, div2, minus1) { - - var pow = function (a, ai, aj, b, bi, bj, c, ci, cj) { - - var t, m; - - setone(c, ci, cj); - - while (isnotzero(b, bi, bj)) { - - mul(c, ci, cj, a, ai, aj, c, ci, cj); - - minus1(b, bi, bj, b, bi, bj); - } - - }; -};
    \ No newline at end of file diff --git a/script/inherited-summary.js b/script/inherited-summary.js new file mode 100644 index 0000000..0a35b6d --- /dev/null +++ b/script/inherited-summary.js @@ -0,0 +1,28 @@ +(function(){ + function toggle(ev) { + var button = ev.target; + var parent = ev.target.parentElement; + while(parent) { + if (parent.tagName === 'TABLE' && parent.classList.contains('summary')) break; + parent = parent.parentElement; + } + + if (!parent) return; + + var tbody = parent.querySelector('tbody'); + if (button.classList.contains('opened')) { + button.classList.remove('opened'); + button.classList.add('closed'); + tbody.style.display = 'none'; + } else { + button.classList.remove('closed'); + button.classList.add('opened'); + tbody.style.display = 'block'; + } + } + + var buttons = document.querySelectorAll('.inherited-summary thead .toggle'); + for (var i = 0; i < buttons.length; i++) { + buttons[i].addEventListener('click', toggle); + } +})(); diff --git a/script/inner-link.js b/script/inner-link.js new file mode 100644 index 0000000..69a7477 --- /dev/null +++ b/script/inner-link.js @@ -0,0 +1,31 @@ +// inner link(#foo) can not correctly scroll, because page has fixed header, +// so, I manually scroll. +(function(){ + var matched = location.hash.match(/errorLines=([\d,]+)/); + if (matched) return; + + function adjust() { + window.scrollBy(0, -55); + var el = document.querySelector('.inner-link-active'); + if (el) el.classList.remove('inner-link-active'); + + // ``[ ] . ' " @`` are not valid in DOM id. so must escape these. + var id = location.hash.replace(/([\[\].'"@$])/g, '\\$1'); + var el = document.querySelector(id); + if (el) el.classList.add('inner-link-active'); + } + + window.addEventListener('hashchange', adjust); + + if (location.hash) { + setTimeout(adjust, 0); + } +})(); + +(function(){ + var els = document.querySelectorAll('[href^="#"]'); + for (var i = 0; i < els.length; i++) { + var el = els[i]; + el.href = location.href + el.getAttribute('href'); // because el.href is absolute path + } +})(); diff --git a/script/manual.js b/script/manual.js new file mode 100644 index 0000000..125049d --- /dev/null +++ b/script/manual.js @@ -0,0 +1,13 @@ +(function(){ + var matched = location.pathname.match(/([^/]*)\.html$/); + if (!matched) return; + + var currentName = matched[1]; + var cssClass = '.navigation [data-toc-name="' + currentName + '"]'; + var styleText = cssClass + ' .manual-toc { display: block; }\n'; + styleText += cssClass + ' .manual-toc-title { background-color: #039BE5; }\n'; + styleText += cssClass + ' .manual-toc-title a { color: white; }\n'; + var style = document.createElement('style'); + style.textContent = styleText; + document.querySelector('head').appendChild(style); +})(); diff --git a/script/patch-for-local.js b/script/patch-for-local.js new file mode 100644 index 0000000..5756d13 --- /dev/null +++ b/script/patch-for-local.js @@ -0,0 +1,8 @@ +(function(){ + if (location.protocol === 'file:') { + var elms = document.querySelectorAll('a[href="./"]'); + for (var i = 0; i < elms.length; i++) { + elms[i].href = './index.html'; + } + } +})(); diff --git a/script/prettify/Apache-License-2.0.txt b/script/prettify/Apache-License-2.0.txt new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/script/prettify/Apache-License-2.0.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/script/prettify/prettify.js b/script/prettify/prettify.js new file mode 100644 index 0000000..eef5ad7 --- /dev/null +++ b/script/prettify/prettify.js @@ -0,0 +1,28 @@ +var q=null;window.PR_SHOULD_USE_CONTINUATION=!0; +(function(){function L(a){function m(a){var f=a.charCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substring(1),8):b==="u"||b==="x"?parseInt(a.substring(2),16):a.charCodeAt(1)}function e(a){if(a<32)return(a<16?"\\x0":"\\x")+a.toString(16);a=String.fromCharCode(a);if(a==="\\"||a==="-"||a==="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),a= +[],b=[],o=f[0]==="^",c=o?1:0,i=f.length;c122||(d<65||j>90||b.push([Math.max(65,j)|32,Math.min(d,90)|32]),d<97||j>122||b.push([Math.max(97,j)&-33,Math.min(d,122)&-33]))}}b.sort(function(a,f){return a[0]-f[0]||f[1]-a[1]});f=[];j=[NaN,NaN];for(c=0;ci[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.join("")}function y(a){for(var f=a.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),b=f.length,d=[],c=0,i=0;c=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p=5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;d+=f.length;if(c){c=o[1];var j=f.indexOf(c),k=j+c.length;o[2]&&(k=f.length-o[2].length,j=k-c.length);b=b.substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.push(l+i,b)}a.e=p}var h={},y;(function(){for(var e=a.concat(m), +l=[],p={},d=0,g=e.length;d=0;)h[n.charAt(k)]=r;r=r[1];n=""+r;p.hasOwnProperty(n)||(l.push(r),p[n]=q)}l.push(/[\S\s]/);y=L(l)})();var t=m.length;return e}function u(a){var m=[],e=[];a.tripleQuotedStrings?m.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?m.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/, +q,"'\"`"]):m.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&e.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var h=a.hashComments;h&&(a.cStyleComments?(h>1?m.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):m.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),e.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):m.push(["com",/^#[^\n\r]*/, +q,"#"]));a.cStyleComments&&(e.push(["com",/^\/\/[^\n\r]*/,q]),e.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));a.regexLiterals&&e.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(h=a.types)&&e.push(["typ",h]);a=(""+a.keywords).replace(/^ | $/g, +"");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/,q," \r\n\t\xa0"]);e.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]);return x(m,e)}function D(a,m){function e(a){switch(a.nodeType){case 1:if(k.test(a.className))break;if("BR"===a.nodeName)h(a), +a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)e(a);break;case 3:case 4:if(p){var b=a.nodeValue,d=b.match(t);if(d){var c=b.substring(0,d.index);a.nodeValue=c;(b=b.substring(d.index+d[0].length))&&a.parentNode.insertBefore(s.createTextNode(b),a.nextSibling);h(a);c||a.parentNode.removeChild(a)}}}}function h(a){function b(a,d){var e=d?a.cloneNode(!1):a,f=a.parentNode;if(f){var f=b(f,1),g=a.nextSibling;f.appendChild(e);for(var h=g;h;h=g)g=h.nextSibling,f.appendChild(h)}return e} +for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),e;(e=a.parentNode)&&e.nodeType===1;)a=e;d.push(a)}var k=/(?:^|\s)nocode(?:\s|$)/,t=/\r\n?|\n/,s=a.ownerDocument,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=s.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);for(l=s.createElement("LI");a.firstChild;)l.appendChild(a.firstChild);for(var d=[l],g=0;g=0;){var h=m[e];A.hasOwnProperty(h)?window.console&&console.warn("cannot override language handler %s",h):A[h]=a}}function C(a,m){if(!a||!A.hasOwnProperty(a))a=/^\s*=o&&(h+=2);e>=c&&(a+=2)}}catch(w){"console"in window&&console.log(w&&w.stack?w.stack:w)}}var v=["break,continue,do,else,for,if,return,while"],w=[[v,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"], +"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],F=[w,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],G=[w,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"], +H=[G,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],w=[w,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],I=[v,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"], +J=[v,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],v=[v,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],K=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,N=/\S/,O=u({keywords:[F,H,w,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+ +I,J,v],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),A={};k(O,["default-code"]);k(x([],[["pln",/^[^]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]), +["default-markup","htm","html","mxml","xhtml","xml","xsl"]);k(x([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css", +/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);k(x([],[["atv",/^[\S\s]+/]]),["uq.val"]);k(u({keywords:F,hashComments:!0,cStyleComments:!0,types:K}),["c","cc","cpp","cxx","cyc","m"]);k(u({keywords:"null,true,false"}),["json"]);k(u({keywords:H,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:K}),["cs"]);k(u({keywords:G,cStyleComments:!0}),["java"]);k(u({keywords:v,hashComments:!0,multiLineStrings:!0}),["bsh","csh","sh"]);k(u({keywords:I,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}), +["cv","py"]);k(u({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["perl","pl","pm"]);k(u({keywords:J,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb"]);k(u({keywords:w,cStyleComments:!0,regexLiterals:!0}),["js"]);k(u({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes", +hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);k(x([],[["str",/^[\S\s]+/]]),["regex"]);window.prettyPrintOne=function(a,m,e){var h=document.createElement("PRE");h.innerHTML=a;e&&D(h,e);E({g:m,i:e,h:h});return h.innerHTML};window.prettyPrint=function(a){function m(){for(var e=window.PR_SHOULD_USE_CONTINUATION?l.now()+250:Infinity;p=0){var k=k.match(g),f,b;if(b= +!k){b=n;for(var o=void 0,c=b.firstChild;c;c=c.nextSibling)var i=c.nodeType,o=i===1?o?b:c:i===3?N.test(c.nodeValue)?b:o:o;b=(f=o===b?void 0:o)&&"CODE"===f.tagName}b&&(k=f.className.match(g));k&&(k=k[1]);b=!1;for(o=n.parentNode;o;o=o.parentNode)if((o.tagName==="pre"||o.tagName==="code"||o.tagName==="xmp")&&o.className&&o.className.indexOf("prettyprint")>=0){b=!0;break}b||((b=(b=n.className.match(/\blinenums\b(?::(\d+))?/))?b[1]&&b[1].length?+b[1]:!0:!1)&&D(n,b),d={g:k,h:n,i:b},E(d))}}p' + pair[2] + ''); + } + } + + var innerHTML = ''; + for (kind in html) { + var list = html[kind]; + if (!list.length) continue; + innerHTML += '
  • ' + kind + '
  • \n' + list.join('\n'); + } + result.innerHTML = innerHTML; + if (innerHTML) result.style.display = 'block'; + selectedIndex = -1; + }); + + // down, up and enter key are pressed, select search result. + input.addEventListener('keydown', function(ev){ + if (ev.keyCode === 40) { + // arrow down + var current = result.children[selectedIndex]; + var selected = result.children[selectedIndex + 1]; + if (selected && selected.classList.contains('search-separator')) { + var selected = result.children[selectedIndex + 2]; + selectedIndex++; + } + + if (selected) { + if (current) current.classList.remove('selected'); + selectedIndex++; + selected.classList.add('selected'); + } + } else if (ev.keyCode === 38) { + // arrow up + var current = result.children[selectedIndex]; + var selected = result.children[selectedIndex - 1]; + if (selected && selected.classList.contains('search-separator')) { + var selected = result.children[selectedIndex - 2]; + selectedIndex--; + } + + if (selected) { + if (current) current.classList.remove('selected'); + selectedIndex--; + selected.classList.add('selected'); + } + } else if (ev.keyCode === 13) { + // enter + var current = result.children[selectedIndex]; + if (current) { + var link = current.querySelector('a'); + if (link) location.href = link.href; + } + } else { + return; + } + + ev.preventDefault(); + }); + + // select search result when search result is mouse over. + result.addEventListener('mousemove', function(ev){ + var current = result.children[selectedIndex]; + if (current) current.classList.remove('selected'); + + var li = ev.target; + while (li) { + if (li.nodeName === 'LI') break; + li = li.parentElement; + } + + if (li) { + selectedIndex = Array.prototype.indexOf.call(result.children, li); + li.classList.add('selected'); + } + }); + + // clear search result when body is clicked. + document.body.addEventListener('click', function(ev){ + selectedIndex = -1; + result.style.display = 'none'; + result.innerHTML = ''; + }); + +})(); diff --git a/script/search_index.js b/script/search_index.js new file mode 100644 index 0000000..eb77816 --- /dev/null +++ b/script/search_index.js @@ -0,0 +1,1340 @@ +window.esdocSearchIndex = [ + [ + "aureooms-js-integer/src/1-new/compare/_cmp.js~_cmp", + "function/index.html#static-function-_CMP", + "_CMP aureooms-js-integer/src/1-new/compare/_CMP.js", + "function" + ], + [ + "aureooms-js-integer/src/0-legacy/others/pow/ebs.js~__ebs__", + "function/index.html#static-function-__ebs__", + "__ebs__ aureooms-js-integer/src/0-legacy/others/pow/ebs.js", + "function" + ], + [ + "aureooms-js-integer/src/0-legacy/others/pow/pow.js~__pow__", + "function/index.html#static-function-__pow__", + "__pow__ aureooms-js-integer/src/0-legacy/others/pow/pow.js", + "function" + ], + [ + "aureooms-js-integer/src/1-new/convert/_alloc.js~_alloc", + "function/index.html#static-function-_alloc", + "_alloc aureooms-js-integer/src/1-new/convert/_alloc.js", + "function" + ], + [ + "aureooms-js-integer/src/1-new/convert/_build.js~_build", + "function/index.html#static-function-_build", + "_build aureooms-js-integer/src/1-new/convert/_build.js", + "function" + ], + [ + "aureooms-js-integer/src/1-new/convert/_chr.js~_chr", + "function/index.html#static-function-_chr", + "_chr aureooms-js-integer/src/1-new/convert/_chr.js", + "function" + ], + [ + "aureooms-js-integer/src/1-new/compare/_cmp.js~_cmp", + "function/index.html#static-function-_cmp", + "_cmp aureooms-js-integer/src/1-new/compare/_cmp.js", + "function" + ], + [ + "aureooms-js-integer/src/1-new/convert/_convert.js~_convert", + "function/index.html#static-function-_convert", + "_convert aureooms-js-integer/src/1-new/convert/_convert.js", + "function" + ], + [ + "aureooms-js-integer/src/1-new/convert/_convert_slow.js~_convert_slow", + "function/index.html#static-function-_convert_slow", + "_convert_slow aureooms-js-integer/src/1-new/convert/_convert_slow.js", + "function" + ], + [ + "aureooms-js-integer/src/1-new/convert/_convert_to_larger.js~_convert_to_larger", + "function/index.html#static-function-_convert_to_larger", + "_convert_to_larger aureooms-js-integer/src/1-new/convert/_convert_to_larger.js", + "function" + ], + [ + "aureooms-js-integer/src/1-new/convert/_convert_to_larger_fast.js~_convert_to_larger_fast", + "function/index.html#static-function-_convert_to_larger_fast", + "_convert_to_larger_fast aureooms-js-integer/src/1-new/convert/_convert_to_larger_fast.js", + "function" + ], + [ + "aureooms-js-integer/src/1-new/convert/_convert_to_smaller.js~_convert_to_smaller", + "function/index.html#static-function-_convert_to_smaller", + "_convert_to_smaller aureooms-js-integer/src/1-new/convert/_convert_to_smaller.js", + "function" + ], + [ + "aureooms-js-integer/src/1-new/convert/_convert_to_smaller_fast.js~_convert_to_smaller_fast", + "function/index.html#static-function-_convert_to_smaller_fast", + "_convert_to_smaller_fast aureooms-js-integer/src/1-new/convert/_convert_to_smaller_fast.js", + "function" + ], + [ + "aureooms-js-integer/src/1-new/convert/_copy.js~_copy", + "function/index.html#static-function-_copy", + "_copy aureooms-js-integer/src/1-new/convert/_copy.js", + "function" + ], + [ + "aureooms-js-integer/src/1-new/arithmetic/div/_div.js~_div", + "function/index.html#static-function-_div", + "_div aureooms-js-integer/src/1-new/arithmetic/div/_div.js", + "function" + ], + [ + "aureooms-js-integer/src/1-new/compare/_eq.js~_eq", + "variable/index.html#static-variable-_eq", + "_eq aureooms-js-integer/src/1-new/compare/_eq.js", + "variable" + ], + [ + "aureooms-js-integer/src/1-new/convert/_fill.js~_fill", + "function/index.html#static-function-_fill", + "_fill aureooms-js-integer/src/1-new/convert/_fill.js", + "function" + ], + [ + "aureooms-js-integer/src/1-new/compare/_ge.js~_ge", + "variable/index.html#static-variable-_ge", + "_ge aureooms-js-integer/src/1-new/compare/_ge.js", + "variable" + ], + [ + "aureooms-js-integer/src/1-new/compare/_gt.js~_gt", + "variable/index.html#static-variable-_gt", + "_gt aureooms-js-integer/src/1-new/compare/_gt.js", + "variable" + ], + [ + "aureooms-js-integer/src/1-new/convert/_int.js~_int", + "function/index.html#static-function-_int", + "_int aureooms-js-integer/src/1-new/convert/_int.js", + "function" + ], + [ + "aureooms-js-integer/src/1-new/compare/_jz.js~_jz", + "function/index.html#static-function-_jz", + "_jz aureooms-js-integer/src/1-new/compare/_jz.js", + "function" + ], + [ + "aureooms-js-integer/src/1-new/compare/_le.js~_le", + "variable/index.html#static-variable-_le", + "_le aureooms-js-integer/src/1-new/compare/_le.js", + "variable" + ], + [ + "aureooms-js-integer/src/1-new/convert/_log.js~_log", + "function/index.html#static-function-_log", + "_log aureooms-js-integer/src/1-new/convert/_log.js", + "function" + ], + [ + "aureooms-js-integer/src/1-new/compare/_lt.js~_lt", + "variable/index.html#static-variable-_lt", + "_lt aureooms-js-integer/src/1-new/compare/_lt.js", + "variable" + ], + [ + "aureooms-js-integer/src/1-new/compare/_ne.js~_ne", + "variable/index.html#static-variable-_ne", + "_ne aureooms-js-integer/src/1-new/compare/_ne.js", + "variable" + ], + [ + "aureooms-js-integer/src/1-new/convert/_reset.js~_reset", + "function/index.html#static-function-_reset", + "_reset aureooms-js-integer/src/1-new/convert/_reset.js", + "function" + ], + [ + "aureooms-js-integer/src/1-new/arithmetic/sub/_sub.js~_sub", + "function/index.html#static-function-_sub", + "_sub aureooms-js-integer/src/1-new/arithmetic/sub/_sub.js", + "function" + ], + [ + "aureooms-js-integer/src/1-new/convert/_to_string.js~_to_string", + "function/index.html#static-function-_to_string", + "_to_string aureooms-js-integer/src/1-new/convert/_to_string.js", + "function" + ], + [ + "aureooms-js-integer/src/1-new/convert/_trim_positive.js~_trim_positive", + "function/index.html#static-function-_trim_positive", + "_trim_positive aureooms-js-integer/src/1-new/convert/_trim_positive.js", + "function" + ], + [ + "aureooms-js-integer/src/1-new/convert/_zeros.js~_zeros", + "function/index.html#static-function-_zeros", + "_zeros aureooms-js-integer/src/1-new/convert/_zeros.js", + "function" + ], + [ + "aureooms-js-integer/src/0-legacy/binary/and/and.js~and", + "function/index.html#static-function-and", + "and aureooms-js-integer/src/0-legacy/binary/and/and.js", + "function" + ], + [ + "aureooms-js-integer/src/0-legacy/arithmetic/add/add.js~badd_t", + "function/index.html#static-function-badd_t", + "badd_t aureooms-js-integer/src/0-legacy/arithmetic/add/add.js", + "function" + ], + [ + "aureooms-js-integer/src/0-legacy/binary/and/and.js~band_t", + "function/index.html#static-function-band_t", + "band_t aureooms-js-integer/src/0-legacy/binary/and/and.js", + "function" + ], + [ + "aureooms-js-integer/src/0-legacy/compare/cmp.js~bcmp_t", + "function/index.html#static-function-bcmp_t", + "bcmp_t aureooms-js-integer/src/0-legacy/compare/cmp.js", + "function" + ], + [ + "aureooms-js-integer/src/0-legacy/arithmetic/div/div.js~bdiv_t", + "function/index.html#static-function-bdiv_t", + "bdiv_t aureooms-js-integer/src/0-legacy/arithmetic/div/div.js", + "function" + ], + [ + "aureooms-js-integer/src/0-legacy/arithmetic/mul/karatsuba.js~bkaratsuba_t", + "function/index.html#static-function-bkaratsuba_t", + "bkaratsuba_t aureooms-js-integer/src/0-legacy/arithmetic/mul/karatsuba.js", + "function" + ], + [ + "aureooms-js-integer/src/0-legacy/arithmetic/mul/mul53.js~bmul53_t", + "function/index.html#static-function-bmul53_t", + "bmul53_t aureooms-js-integer/src/0-legacy/arithmetic/mul/mul53.js", + "function" + ], + [ + "aureooms-js-integer/src/0-legacy/arithmetic/mul/mul.js~bmul_t", + "function/index.html#static-function-bmul_t", + "bmul_t aureooms-js-integer/src/0-legacy/arithmetic/mul/mul.js", + "function" + ], + [ + "aureooms-js-integer/src/0-legacy/arithmetic/sub/sub.js~bsub_t", + "function/index.html#static-function-bsub_t", + "bsub_t aureooms-js-integer/src/0-legacy/arithmetic/sub/sub.js", + "function" + ], + [ + "aureooms-js-integer/src/1-new/convert/convert.js~convert", + "function/index.html#static-function-convert", + "convert aureooms-js-integer/src/1-new/convert/convert.js", + "function" + ], + [ + "aureooms-js-integer/src/1-new/convert/convert_keep_zeros.js~convert_keep_zeros", + "function/index.html#static-function-convert_keep_zeros", + "convert_keep_zeros aureooms-js-integer/src/1-new/convert/convert_keep_zeros.js", + "function" + ], + [ + "aureooms-js-integer/src/0-legacy/compare/eq.js~eq_t", + "function/index.html#static-function-eq_t", + "eq_t aureooms-js-integer/src/0-legacy/compare/eq.js", + "function" + ], + [ + "aureooms-js-integer/src/0-legacy/compare/ge.js~ge_t", + "function/index.html#static-function-ge_t", + "ge_t aureooms-js-integer/src/0-legacy/compare/ge.js", + "function" + ], + [ + "aureooms-js-integer/src/0-legacy/compare/gt.js~gt_t", + "function/index.html#static-function-gt_t", + "gt_t aureooms-js-integer/src/0-legacy/compare/gt.js", + "function" + ], + [ + "aureooms-js-integer/src/0-legacy/arithmetic/add/add.js~ladd_t", + "function/index.html#static-function-ladd_t", + "ladd_t aureooms-js-integer/src/0-legacy/arithmetic/add/add.js", + "function" + ], + [ + "aureooms-js-integer/src/0-legacy/binary/and/and.js~land_t", + "function/index.html#static-function-land_t", + "land_t aureooms-js-integer/src/0-legacy/binary/and/and.js", + "function" + ], + [ + "aureooms-js-integer/src/0-legacy/compare/cmp.js~lcmp_t", + "function/index.html#static-function-lcmp_t", + "lcmp_t aureooms-js-integer/src/0-legacy/compare/cmp.js", + "function" + ], + [ + "aureooms-js-integer/src/0-legacy/compare/le.js~le_t", + "function/index.html#static-function-le_t", + "le_t aureooms-js-integer/src/0-legacy/compare/le.js", + "function" + ], + [ + "aureooms-js-integer/src/0-legacy/arithmetic/mul/mul53.js~lmul53_t", + "function/index.html#static-function-lmul53_t", + "lmul53_t aureooms-js-integer/src/0-legacy/arithmetic/mul/mul53.js", + "function" + ], + [ + "aureooms-js-integer/src/0-legacy/arithmetic/sub/sub.js~lsub_t", + "function/index.html#static-function-lsub_t", + "lsub_t aureooms-js-integer/src/0-legacy/arithmetic/sub/sub.js", + "function" + ], + [ + "aureooms-js-integer/src/0-legacy/compare/lt.js~lt_t", + "function/index.html#static-function-lt_t", + "lt_t aureooms-js-integer/src/0-legacy/compare/lt.js", + "function" + ], + [ + "aureooms-js-integer/src/0-legacy/compare/ne.js~ne_t", + "function/index.html#static-function-ne_t", + "ne_t aureooms-js-integer/src/0-legacy/compare/ne.js", + "function" + ], + [ + "aureooms-js-integer/src/1-new/convert/parse.js~parse", + "function/index.html#static-function-parse", + "parse aureooms-js-integer/src/1-new/convert/parse.js", + "function" + ], + [ + "aureooms-js-integer/src/1-new/convert/parse_keep_zeros.js~parse_keep_zeros", + "function/index.html#static-function-parse_keep_zeros", + "parse_keep_zeros aureooms-js-integer/src/1-new/convert/parse_keep_zeros.js", + "function" + ], + [ + "aureooms-js-integer/src/0-legacy/parse/parse.js~parse_t", + "function/index.html#static-function-parse_t", + "parse_t aureooms-js-integer/src/0-legacy/parse/parse.js", + "function" + ], + [ + "aureooms-js-integer/src/1-new/convert/stringify.js~stringify", + "function/index.html#static-function-stringify", + "stringify aureooms-js-integer/src/1-new/convert/stringify.js", + "function" + ], + [ + "aureooms-js-integer/src/1-new/convert/stringify_keep_zeros.js~stringify_keep_zeros", + "function/index.html#static-function-stringify_keep_zeros", + "stringify_keep_zeros aureooms-js-integer/src/1-new/convert/stringify_keep_zeros.js", + "function" + ], + [ + "aureooms-js-integer/src/0-legacy/stringify/stringify.js~stringify_t", + "function/index.html#static-function-stringify_t", + "stringify_t aureooms-js-integer/src/0-legacy/stringify/stringify.js", + "function" + ], + [ + "aureooms-js-integer/src/1-new/convert/trim_natural.js~trim_natural", + "function/index.html#static-function-trim_natural", + "trim_natural aureooms-js-integer/src/1-new/convert/trim_natural.js", + "function" + ], + [ + "aureooms-js-integer/src/0-legacy/others/wrap/wrapbin.js~wrapbin", + "function/index.html#static-function-wrapbin", + "wrapbin aureooms-js-integer/src/0-legacy/others/wrap/wrapbin.js", + "function" + ], + [ + "aureooms-js-integer/src/0-legacy/others/wrap/wrapcmp.js~wrapcmp", + "function/index.html#static-function-wrapcmp", + "wrapcmp aureooms-js-integer/src/0-legacy/others/wrap/wrapcmp.js", + "function" + ], + [ + "aureooms-js-integer/src/0-legacy/others/wrap/wrapmov.js~wrapmov", + "function/index.html#static-function-wrapmov", + "wrapmov aureooms-js-integer/src/0-legacy/others/wrap/wrapmov.js", + "function" + ], + [ + "builtinexternal/ecmascriptexternal.js~array", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Array", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~arraybuffer", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~ArrayBuffer", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~boolean", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Boolean", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~dataview", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~DataView", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~date", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Date", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~error", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Error", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~evalerror", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~EvalError", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~float32array", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Float32Array", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~float64array", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Float64Array", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~function", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Function", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~generator", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Generator", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~generatorfunction", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~GeneratorFunction", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~infinity", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Infinity", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~int16array", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Int16Array", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~int32array", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Int32Array", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~int8array", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Int8Array", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~internalerror", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~InternalError", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~json", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~JSON", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~map", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Map", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~nan", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~NaN", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~number", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Number", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~object", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Object", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~promise", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Promise", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~proxy", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Proxy", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~rangeerror", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~RangeError", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~referenceerror", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~ReferenceError", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~reflect", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Reflect", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~regexp", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~RegExp", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~set", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Set", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~string", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~String", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~symbol", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Symbol", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~syntaxerror", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~SyntaxError", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~typeerror", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~TypeError", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~urierror", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~URIError", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~uint16array", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Uint16Array", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~uint32array", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Uint32Array", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~uint8array", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Uint8Array", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~uint8clampedarray", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Uint8ClampedArray", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~weakmap", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~WeakMap", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~weakset", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~WeakSet", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~boolean", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~boolean", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~function", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~function", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~null", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~null", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~number", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~number", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~object", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~object", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~string", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~string", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~undefined", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~undefined", + "external" + ], + [ + "builtinexternal/webapiexternal.js~audiocontext", + "external/index.html", + "BuiltinExternal/WebAPIExternal.js~AudioContext", + "external" + ], + [ + "builtinexternal/webapiexternal.js~canvasrenderingcontext2d", + "external/index.html", + "BuiltinExternal/WebAPIExternal.js~CanvasRenderingContext2D", + "external" + ], + [ + "builtinexternal/webapiexternal.js~documentfragment", + "external/index.html", + "BuiltinExternal/WebAPIExternal.js~DocumentFragment", + "external" + ], + [ + "builtinexternal/webapiexternal.js~element", + "external/index.html", + "BuiltinExternal/WebAPIExternal.js~Element", + "external" + ], + [ + "builtinexternal/webapiexternal.js~event", + "external/index.html", + "BuiltinExternal/WebAPIExternal.js~Event", + "external" + ], + [ + "builtinexternal/webapiexternal.js~node", + "external/index.html", + "BuiltinExternal/WebAPIExternal.js~Node", + "external" + ], + [ + "builtinexternal/webapiexternal.js~nodelist", + "external/index.html", + "BuiltinExternal/WebAPIExternal.js~NodeList", + "external" + ], + [ + "builtinexternal/webapiexternal.js~xmlhttprequest", + "external/index.html", + "BuiltinExternal/WebAPIExternal.js~XMLHttpRequest", + "external" + ], + [ + "src/0-legacy/abs/abs.js", + "file/src/0-legacy/abs/abs.js.html", + "src/0-legacy/abs/abs.js", + "file" + ], + [ + "src/0-legacy/abs/index.js", + "file/src/0-legacy/abs/index.js.html", + "src/0-legacy/abs/index.js", + "file" + ], + [ + "src/0-legacy/arithmetic/add/add.js", + "file/src/0-legacy/arithmetic/add/add.js.html", + "src/0-legacy/arithmetic/add/add.js", + "file" + ], + [ + "src/0-legacy/arithmetic/add/index.js", + "file/src/0-legacy/arithmetic/add/index.js.html", + "src/0-legacy/arithmetic/add/index.js", + "file" + ], + [ + "src/0-legacy/arithmetic/div/dcdiv.js", + "file/src/0-legacy/arithmetic/div/dcdiv.js.html", + "src/0-legacy/arithmetic/div/dcdiv.js", + "file" + ], + [ + "src/0-legacy/arithmetic/div/div.js", + "file/src/0-legacy/arithmetic/div/div.js.html", + "src/0-legacy/arithmetic/div/div.js", + "file" + ], + [ + "src/0-legacy/arithmetic/div/fourierdiv.js", + "file/src/0-legacy/arithmetic/div/fourierdiv.js.html", + "src/0-legacy/arithmetic/div/fourierdiv.js", + "file" + ], + [ + "src/0-legacy/arithmetic/div/index.js", + "file/src/0-legacy/arithmetic/div/index.js.html", + "src/0-legacy/arithmetic/div/index.js", + "file" + ], + [ + "src/0-legacy/arithmetic/div/knuthd.js", + "file/src/0-legacy/arithmetic/div/knuthd.js.html", + "src/0-legacy/arithmetic/div/knuthd.js", + "file" + ], + [ + "src/0-legacy/arithmetic/index.js", + "file/src/0-legacy/arithmetic/index.js.html", + "src/0-legacy/arithmetic/index.js", + "file" + ], + [ + "src/0-legacy/arithmetic/mul/index.js", + "file/src/0-legacy/arithmetic/mul/index.js.html", + "src/0-legacy/arithmetic/mul/index.js", + "file" + ], + [ + "src/0-legacy/arithmetic/mul/karatsuba.js", + "file/src/0-legacy/arithmetic/mul/karatsuba.js.html", + "src/0-legacy/arithmetic/mul/karatsuba.js", + "file" + ], + [ + "src/0-legacy/arithmetic/mul/mul.js", + "file/src/0-legacy/arithmetic/mul/mul.js.html", + "src/0-legacy/arithmetic/mul/mul.js", + "file" + ], + [ + "src/0-legacy/arithmetic/mul/mul53.js", + "file/src/0-legacy/arithmetic/mul/mul53.js.html", + "src/0-legacy/arithmetic/mul/mul53.js", + "file" + ], + [ + "src/0-legacy/arithmetic/mul/toomcook.js", + "file/src/0-legacy/arithmetic/mul/toomcook.js.html", + "src/0-legacy/arithmetic/mul/toomcook.js", + "file" + ], + [ + "src/0-legacy/arithmetic/sub/index.js", + "file/src/0-legacy/arithmetic/sub/index.js.html", + "src/0-legacy/arithmetic/sub/index.js", + "file" + ], + [ + "src/0-legacy/arithmetic/sub/sub.js", + "file/src/0-legacy/arithmetic/sub/sub.js.html", + "src/0-legacy/arithmetic/sub/sub.js", + "file" + ], + [ + "src/0-legacy/binary/and/and.js", + "file/src/0-legacy/binary/and/and.js.html", + "src/0-legacy/binary/and/and.js", + "file" + ], + [ + "src/0-legacy/binary/and/index.js", + "file/src/0-legacy/binary/and/index.js.html", + "src/0-legacy/binary/and/index.js", + "file" + ], + [ + "src/0-legacy/binary/index.js", + "file/src/0-legacy/binary/index.js.html", + "src/0-legacy/binary/index.js", + "file" + ], + [ + "src/0-legacy/binary/not/index.js", + "file/src/0-legacy/binary/not/index.js.html", + "src/0-legacy/binary/not/index.js", + "file" + ], + [ + "src/0-legacy/binary/not/not.js", + "file/src/0-legacy/binary/not/not.js.html", + "src/0-legacy/binary/not/not.js", + "file" + ], + [ + "src/0-legacy/binary/or/index.js", + "file/src/0-legacy/binary/or/index.js.html", + "src/0-legacy/binary/or/index.js", + "file" + ], + [ + "src/0-legacy/binary/or/or.js", + "file/src/0-legacy/binary/or/or.js.html", + "src/0-legacy/binary/or/or.js", + "file" + ], + [ + "src/0-legacy/binary/xor/index.js", + "file/src/0-legacy/binary/xor/index.js.html", + "src/0-legacy/binary/xor/index.js", + "file" + ], + [ + "src/0-legacy/binary/xor/xor.js", + "file/src/0-legacy/binary/xor/xor.js.html", + "src/0-legacy/binary/xor/xor.js", + "file" + ], + [ + "src/0-legacy/compare/cmp.js", + "file/src/0-legacy/compare/cmp.js.html", + "src/0-legacy/compare/cmp.js", + "file" + ], + [ + "src/0-legacy/compare/eq.js", + "file/src/0-legacy/compare/eq.js.html", + "src/0-legacy/compare/eq.js", + "file" + ], + [ + "src/0-legacy/compare/ge.js", + "file/src/0-legacy/compare/ge.js.html", + "src/0-legacy/compare/ge.js", + "file" + ], + [ + "src/0-legacy/compare/gt.js", + "file/src/0-legacy/compare/gt.js.html", + "src/0-legacy/compare/gt.js", + "file" + ], + [ + "src/0-legacy/compare/index.js", + "file/src/0-legacy/compare/index.js.html", + "src/0-legacy/compare/index.js", + "file" + ], + [ + "src/0-legacy/compare/le.js", + "file/src/0-legacy/compare/le.js.html", + "src/0-legacy/compare/le.js", + "file" + ], + [ + "src/0-legacy/compare/lt.js", + "file/src/0-legacy/compare/lt.js.html", + "src/0-legacy/compare/lt.js", + "file" + ], + [ + "src/0-legacy/compare/ne.js", + "file/src/0-legacy/compare/ne.js.html", + "src/0-legacy/compare/ne.js", + "file" + ], + [ + "src/0-legacy/index.js", + "file/src/0-legacy/index.js.html", + "src/0-legacy/index.js", + "file" + ], + [ + "src/0-legacy/others/gcd/gcd.js", + "file/src/0-legacy/others/gcd/gcd.js.html", + "src/0-legacy/others/gcd/gcd.js", + "file" + ], + [ + "src/0-legacy/others/gcd/index.js", + "file/src/0-legacy/others/gcd/index.js.html", + "src/0-legacy/others/gcd/index.js", + "file" + ], + [ + "src/0-legacy/others/index.js", + "file/src/0-legacy/others/index.js.html", + "src/0-legacy/others/index.js", + "file" + ], + [ + "src/0-legacy/others/lcm/index.js", + "file/src/0-legacy/others/lcm/index.js.html", + "src/0-legacy/others/lcm/index.js", + "file" + ], + [ + "src/0-legacy/others/lcm/lcm.js", + "file/src/0-legacy/others/lcm/lcm.js.html", + "src/0-legacy/others/lcm/lcm.js", + "file" + ], + [ + "src/0-legacy/others/log/index.js", + "file/src/0-legacy/others/log/index.js.html", + "src/0-legacy/others/log/index.js", + "file" + ], + [ + "src/0-legacy/others/log/log.js", + "file/src/0-legacy/others/log/log.js.html", + "src/0-legacy/others/log/log.js", + "file" + ], + [ + "src/0-legacy/others/mod/index.js", + "file/src/0-legacy/others/mod/index.js.html", + "src/0-legacy/others/mod/index.js", + "file" + ], + [ + "src/0-legacy/others/mod/mod.js", + "file/src/0-legacy/others/mod/mod.js.html", + "src/0-legacy/others/mod/mod.js", + "file" + ], + [ + "src/0-legacy/others/mod/montgomery.js", + "file/src/0-legacy/others/mod/montgomery.js.html", + "src/0-legacy/others/mod/montgomery.js", + "file" + ], + [ + "src/0-legacy/others/mpow/index.js", + "file/src/0-legacy/others/mpow/index.js.html", + "src/0-legacy/others/mpow/index.js", + "file" + ], + [ + "src/0-legacy/others/mpow/mpow.js", + "file/src/0-legacy/others/mpow/mpow.js.html", + "src/0-legacy/others/mpow/mpow.js", + "file" + ], + [ + "src/0-legacy/others/neg/index.js", + "file/src/0-legacy/others/neg/index.js.html", + "src/0-legacy/others/neg/index.js", + "file" + ], + [ + "src/0-legacy/others/neg/neg.js", + "file/src/0-legacy/others/neg/neg.js.html", + "src/0-legacy/others/neg/neg.js", + "file" + ], + [ + "src/0-legacy/others/pow/ebs.js", + "file/src/0-legacy/others/pow/ebs.js.html", + "src/0-legacy/others/pow/ebs.js", + "file" + ], + [ + "src/0-legacy/others/pow/index.js", + "file/src/0-legacy/others/pow/index.js.html", + "src/0-legacy/others/pow/index.js", + "file" + ], + [ + "src/0-legacy/others/pow/pow.js", + "file/src/0-legacy/others/pow/pow.js.html", + "src/0-legacy/others/pow/pow.js", + "file" + ], + [ + "src/0-legacy/others/sha/index.js", + "file/src/0-legacy/others/sha/index.js.html", + "src/0-legacy/others/sha/index.js", + "file" + ], + [ + "src/0-legacy/others/sha/sha.js", + "file/src/0-legacy/others/sha/sha.js.html", + "src/0-legacy/others/sha/sha.js", + "file" + ], + [ + "src/0-legacy/others/shl/index.js", + "file/src/0-legacy/others/shl/index.js.html", + "src/0-legacy/others/shl/index.js", + "file" + ], + [ + "src/0-legacy/others/shl/shl.js", + "file/src/0-legacy/others/shl/shl.js.html", + "src/0-legacy/others/shl/shl.js", + "file" + ], + [ + "src/0-legacy/others/wrap/index.js", + "file/src/0-legacy/others/wrap/index.js.html", + "src/0-legacy/others/wrap/index.js", + "file" + ], + [ + "src/0-legacy/others/wrap/wrapbin.js", + "file/src/0-legacy/others/wrap/wrapbin.js.html", + "src/0-legacy/others/wrap/wrapbin.js", + "file" + ], + [ + "src/0-legacy/others/wrap/wrapcmp.js", + "file/src/0-legacy/others/wrap/wrapcmp.js.html", + "src/0-legacy/others/wrap/wrapcmp.js", + "file" + ], + [ + "src/0-legacy/others/wrap/wrapmov.js", + "file/src/0-legacy/others/wrap/wrapmov.js.html", + "src/0-legacy/others/wrap/wrapmov.js", + "file" + ], + [ + "src/0-legacy/parse/index.js", + "file/src/0-legacy/parse/index.js.html", + "src/0-legacy/parse/index.js", + "file" + ], + [ + "src/0-legacy/parse/parse.js", + "file/src/0-legacy/parse/parse.js.html", + "src/0-legacy/parse/parse.js", + "file" + ], + [ + "src/0-legacy/stringify/index.js", + "file/src/0-legacy/stringify/index.js.html", + "src/0-legacy/stringify/index.js", + "file" + ], + [ + "src/0-legacy/stringify/stringify.js", + "file/src/0-legacy/stringify/stringify.js.html", + "src/0-legacy/stringify/stringify.js", + "file" + ], + [ + "src/1-new/arithmetic/div/_div.js", + "file/src/1-new/arithmetic/div/_div.js.html", + "src/1-new/arithmetic/div/_div.js", + "file" + ], + [ + "src/1-new/arithmetic/div/index.js", + "file/src/1-new/arithmetic/div/index.js.html", + "src/1-new/arithmetic/div/index.js", + "file" + ], + [ + "src/1-new/arithmetic/index.js", + "file/src/1-new/arithmetic/index.js.html", + "src/1-new/arithmetic/index.js", + "file" + ], + [ + "src/1-new/arithmetic/sub/_sub.js", + "file/src/1-new/arithmetic/sub/_sub.js.html", + "src/1-new/arithmetic/sub/_sub.js", + "file" + ], + [ + "src/1-new/arithmetic/sub/index.js", + "file/src/1-new/arithmetic/sub/index.js.html", + "src/1-new/arithmetic/sub/index.js", + "file" + ], + [ + "src/1-new/compare/_cmp.js", + "file/src/1-new/compare/_CMP.js.html", + "src/1-new/compare/_CMP.js", + "file" + ], + [ + "src/1-new/compare/_cmp.js", + "file/src/1-new/compare/_cmp.js.html", + "src/1-new/compare/_cmp.js", + "file" + ], + [ + "src/1-new/compare/_eq.js", + "file/src/1-new/compare/_eq.js.html", + "src/1-new/compare/_eq.js", + "file" + ], + [ + "src/1-new/compare/_ge.js", + "file/src/1-new/compare/_ge.js.html", + "src/1-new/compare/_ge.js", + "file" + ], + [ + "src/1-new/compare/_gt.js", + "file/src/1-new/compare/_gt.js.html", + "src/1-new/compare/_gt.js", + "file" + ], + [ + "src/1-new/compare/_jz.js", + "file/src/1-new/compare/_jz.js.html", + "src/1-new/compare/_jz.js", + "file" + ], + [ + "src/1-new/compare/_le.js", + "file/src/1-new/compare/_le.js.html", + "src/1-new/compare/_le.js", + "file" + ], + [ + "src/1-new/compare/_lt.js", + "file/src/1-new/compare/_lt.js.html", + "src/1-new/compare/_lt.js", + "file" + ], + [ + "src/1-new/compare/_ne.js", + "file/src/1-new/compare/_ne.js.html", + "src/1-new/compare/_ne.js", + "file" + ], + [ + "src/1-new/compare/index.js", + "file/src/1-new/compare/index.js.html", + "src/1-new/compare/index.js", + "file" + ], + [ + "src/1-new/convert/_alloc.js", + "file/src/1-new/convert/_alloc.js.html", + "src/1-new/convert/_alloc.js", + "file" + ], + [ + "src/1-new/convert/_build.js", + "file/src/1-new/convert/_build.js.html", + "src/1-new/convert/_build.js", + "file" + ], + [ + "src/1-new/convert/_chr.js", + "file/src/1-new/convert/_chr.js.html", + "src/1-new/convert/_chr.js", + "file" + ], + [ + "src/1-new/convert/_convert.js", + "file/src/1-new/convert/_convert.js.html", + "src/1-new/convert/_convert.js", + "file" + ], + [ + "src/1-new/convert/_convert_slow.js", + "file/src/1-new/convert/_convert_slow.js.html", + "src/1-new/convert/_convert_slow.js", + "file" + ], + [ + "src/1-new/convert/_convert_to_larger.js", + "file/src/1-new/convert/_convert_to_larger.js.html", + "src/1-new/convert/_convert_to_larger.js", + "file" + ], + [ + "src/1-new/convert/_convert_to_larger_fast.js", + "file/src/1-new/convert/_convert_to_larger_fast.js.html", + "src/1-new/convert/_convert_to_larger_fast.js", + "file" + ], + [ + "src/1-new/convert/_convert_to_smaller.js", + "file/src/1-new/convert/_convert_to_smaller.js.html", + "src/1-new/convert/_convert_to_smaller.js", + "file" + ], + [ + "src/1-new/convert/_convert_to_smaller_fast.js", + "file/src/1-new/convert/_convert_to_smaller_fast.js.html", + "src/1-new/convert/_convert_to_smaller_fast.js", + "file" + ], + [ + "src/1-new/convert/_copy.js", + "file/src/1-new/convert/_copy.js.html", + "src/1-new/convert/_copy.js", + "file" + ], + [ + "src/1-new/convert/_fill.js", + "file/src/1-new/convert/_fill.js.html", + "src/1-new/convert/_fill.js", + "file" + ], + [ + "src/1-new/convert/_int.js", + "file/src/1-new/convert/_int.js.html", + "src/1-new/convert/_int.js", + "file" + ], + [ + "src/1-new/convert/_log.js", + "file/src/1-new/convert/_log.js.html", + "src/1-new/convert/_log.js", + "file" + ], + [ + "src/1-new/convert/_reset.js", + "file/src/1-new/convert/_reset.js.html", + "src/1-new/convert/_reset.js", + "file" + ], + [ + "src/1-new/convert/_to_string.js", + "file/src/1-new/convert/_to_string.js.html", + "src/1-new/convert/_to_string.js", + "file" + ], + [ + "src/1-new/convert/_trim_positive.js", + "file/src/1-new/convert/_trim_positive.js.html", + "src/1-new/convert/_trim_positive.js", + "file" + ], + [ + "src/1-new/convert/_zeros.js", + "file/src/1-new/convert/_zeros.js.html", + "src/1-new/convert/_zeros.js", + "file" + ], + [ + "src/1-new/convert/convert.js", + "file/src/1-new/convert/convert.js.html", + "src/1-new/convert/convert.js", + "file" + ], + [ + "src/1-new/convert/convert_keep_zeros.js", + "file/src/1-new/convert/convert_keep_zeros.js.html", + "src/1-new/convert/convert_keep_zeros.js", + "file" + ], + [ + "src/1-new/convert/index.js", + "file/src/1-new/convert/index.js.html", + "src/1-new/convert/index.js", + "file" + ], + [ + "src/1-new/convert/parse.js", + "file/src/1-new/convert/parse.js.html", + "src/1-new/convert/parse.js", + "file" + ], + [ + "src/1-new/convert/parse_keep_zeros.js", + "file/src/1-new/convert/parse_keep_zeros.js.html", + "src/1-new/convert/parse_keep_zeros.js", + "file" + ], + [ + "src/1-new/convert/stringify.js", + "file/src/1-new/convert/stringify.js.html", + "src/1-new/convert/stringify.js", + "file" + ], + [ + "src/1-new/convert/stringify_keep_zeros.js", + "file/src/1-new/convert/stringify_keep_zeros.js.html", + "src/1-new/convert/stringify_keep_zeros.js", + "file" + ], + [ + "src/1-new/convert/trim_natural.js", + "file/src/1-new/convert/trim_natural.js.html", + "src/1-new/convert/trim_natural.js", + "file" + ], + [ + "src/1-new/index.js", + "file/src/1-new/index.js.html", + "src/1-new/index.js", + "file" + ], + [ + "src/index.js", + "file/src/index.js.html", + "src/index.js", + "file" + ] +] \ No newline at end of file diff --git a/script/test-summary.js b/script/test-summary.js new file mode 100644 index 0000000..2f32cb0 --- /dev/null +++ b/script/test-summary.js @@ -0,0 +1,54 @@ +(function(){ + function toggle(ev) { + var button = ev.target; + var parent = ev.target.parentElement; + while(parent) { + if (parent.tagName === 'TR' && parent.classList.contains('test-describe')) break; + parent = parent.parentElement; + } + + if (!parent) return; + + var direction; + if (button.classList.contains('opened')) { + button.classList.remove('opened'); + button.classList.add('closed'); + direction = 'closed'; + } else { + button.classList.remove('closed'); + button.classList.add('opened'); + direction = 'opened'; + } + + var targetDepth = parseInt(parent.dataset.testDepth, 10) + 1; + var nextElement = parent.nextElementSibling; + while (nextElement) { + var depth = parseInt(nextElement.dataset.testDepth, 10); + if (depth >= targetDepth) { + if (direction === 'opened') { + if (depth === targetDepth) nextElement.style.display = ''; + } else if (direction === 'closed') { + nextElement.style.display = 'none'; + var innerButton = nextElement.querySelector('.toggle'); + if (innerButton && innerButton.classList.contains('opened')) { + innerButton.classList.remove('opened'); + innerButton.classList.add('closed'); + } + } + } else { + break; + } + nextElement = nextElement.nextElementSibling; + } + } + + var buttons = document.querySelectorAll('.test-summary tr.test-describe .toggle'); + for (var i = 0; i < buttons.length; i++) { + buttons[i].addEventListener('click', toggle); + } + + var topDescribes = document.querySelectorAll('.test-summary tr[data-test-depth="0"]'); + for (var i = 0; i < topDescribes.length; i++) { + topDescribes[i].style.display = ''; + } +})(); diff --git a/sha/sha.html b/sha/sha.html deleted file mode 100644 index de817c0..0000000 --- a/sha/sha.html +++ /dev/null @@ -1 +0,0 @@ -sha/sha

    ARITHMETIC SHIFT

    \ No newline at end of file diff --git a/shl/shl.html b/shl/shl.html deleted file mode 100644 index a217098..0000000 --- a/shl/shl.html +++ /dev/null @@ -1 +0,0 @@ -shl/shl

    LOGICAL SHIFT

    \ No newline at end of file diff --git a/source.html b/source.html new file mode 100644 index 0000000..79e29bb --- /dev/null +++ b/source.html @@ -0,0 +1,988 @@ + + + + + + Source | aureooms/js-integer API Document + + + + + + + + + + + +
    + Home + Manual + Reference + Source + Test + Repository + +
    + + + +

    Source 31/62

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    FileIdentifierDocumentSizeLinesUpdated
    src/0-legacy/abs/abs.js--88 byte62016-11-01 16:29:24 (UTC)
    src/0-legacy/abs/index.js--24 byte12016-11-01 16:30:47 (UTC)
    src/0-legacy/arithmetic/add/add.jsbadd_t +ladd_t100 %2/21474 byte942016-11-01 16:29:24 (UTC)
    src/0-legacy/arithmetic/add/index.js--24 byte12016-11-01 16:30:47 (UTC)
    src/0-legacy/arithmetic/div/dcdiv.js--63 byte22016-11-01 16:29:24 (UTC)
    src/0-legacy/arithmetic/div/div.jsbdiv_t0 %0/11771 byte732016-11-01 16:29:24 (UTC)
    src/0-legacy/arithmetic/div/fourierdiv.js--50 byte22016-11-01 16:29:24 (UTC)
    src/0-legacy/arithmetic/div/index.js--108 byte42016-11-01 16:30:47 (UTC)
    src/0-legacy/arithmetic/div/knuthd.js--239 byte22016-11-01 16:29:24 (UTC)
    src/0-legacy/arithmetic/index.js--96 byte42016-11-01 16:30:47 (UTC)
    src/0-legacy/arithmetic/mul/index.js--109 byte42016-11-01 16:30:47 (UTC)
    src/0-legacy/arithmetic/mul/karatsuba.jsbkaratsuba_t100 %1/14121 byte1532016-11-01 16:29:24 (UTC)
    src/0-legacy/arithmetic/mul/mul.jsbmul_t0 %0/1730 byte422016-11-01 16:29:24 (UTC)
    src/0-legacy/arithmetic/mul/mul53.jsbmul53_t +lmul53_t100 %2/21717 byte892016-11-01 16:29:24 (UTC)
    src/0-legacy/arithmetic/mul/toomcook.js--60 byte22016-11-01 16:29:24 (UTC)
    src/0-legacy/arithmetic/sub/index.js--24 byte12016-11-01 16:30:47 (UTC)
    src/0-legacy/arithmetic/sub/sub.jsbsub_t +lsub_t100 %2/21563 byte962016-11-01 16:29:24 (UTC)
    src/0-legacy/binary/and/and.jsand +band_t +land_t100 %3/31223 byte772016-11-01 16:29:24 (UTC)
    src/0-legacy/binary/and/index.js--24 byte12016-11-01 16:30:47 (UTC)
    src/0-legacy/binary/index.js--95 byte42016-11-01 16:30:47 (UTC)
    src/0-legacy/binary/not/index.js--24 byte12016-11-01 16:30:47 (UTC)
    src/0-legacy/binary/not/not.js--34 byte22016-11-01 16:29:24 (UTC)
    src/0-legacy/binary/or/index.js--23 byte12016-11-01 16:30:47 (UTC)
    src/0-legacy/binary/or/or.js--39 byte22016-11-01 16:29:24 (UTC)
    src/0-legacy/binary/xor/index.js--24 byte12016-11-01 16:30:47 (UTC)
    src/0-legacy/binary/xor/xor.js--40 byte22016-11-01 16:29:24 (UTC)
    src/0-legacy/compare/cmp.jsbcmp_t +lcmp_t0 %0/21248 byte702016-11-01 16:29:24 (UTC)
    src/0-legacy/compare/eq.jseq_t100 %1/1210 byte102016-11-01 16:29:24 (UTC)
    src/0-legacy/compare/ge.jsge_t100 %1/1222 byte122016-11-01 16:29:24 (UTC)
    src/0-legacy/compare/gt.jsgt_t100 %1/1214 byte122016-11-01 16:29:24 (UTC)
    src/0-legacy/compare/index.js--162 byte72016-11-01 16:30:47 (UTC)
    src/0-legacy/compare/le.jsle_t100 %1/1219 byte122016-11-01 16:29:24 (UTC)
    src/0-legacy/compare/lt.jslt_t100 %1/1211 byte122016-11-01 16:29:24 (UTC)
    src/0-legacy/compare/ne.jsne_t100 %1/1216 byte122016-11-01 16:29:24 (UTC)
    src/0-legacy/index.js--193 byte72016-11-01 16:30:47 (UTC)
    src/0-legacy/others/gcd/gcd.js--57 byte22016-11-01 16:29:24 (UTC)
    src/0-legacy/others/gcd/index.js--24 byte12016-11-01 16:30:47 (UTC)
    src/0-legacy/others/index.js--242 byte102016-11-01 16:30:47 (UTC)
    src/0-legacy/others/lcm/index.js--24 byte12016-11-01 16:30:47 (UTC)
    src/0-legacy/others/lcm/lcm.js--55 byte22016-11-01 16:29:24 (UTC)
    src/0-legacy/others/log/index.js--24 byte12016-11-01 16:30:47 (UTC)
    src/0-legacy/others/log/log.js--67 byte32016-11-01 16:29:24 (UTC)
    src/0-legacy/others/mod/index.js--55 byte22016-11-01 16:30:47 (UTC)
    src/0-legacy/others/mod/mod.js--35 byte32016-11-01 16:29:24 (UTC)
    src/0-legacy/others/mod/montgomery.js--106 byte32016-11-01 16:29:24 (UTC)
    src/0-legacy/others/mpow/index.js--25 byte12016-11-01 16:30:47 (UTC)
    src/0-legacy/others/mpow/mpow.js--87 byte22016-11-01 16:29:24 (UTC)
    src/0-legacy/others/neg/index.js--24 byte12016-11-01 16:30:47 (UTC)
    src/0-legacy/others/neg/neg.js--49 byte22016-11-01 16:29:24 (UTC)
    src/0-legacy/others/pow/ebs.js__ebs__100 %1/1736 byte422016-11-01 16:29:24 (UTC)
    src/0-legacy/others/pow/index.js--48 byte22016-11-01 16:30:47 (UTC)
    src/0-legacy/others/pow/pow.js__pow__100 %1/1350 byte222016-11-01 16:29:24 (UTC)
    src/0-legacy/others/sha/index.js--24 byte12016-11-01 16:30:47 (UTC)
    src/0-legacy/others/sha/sha.js--27 byte22016-11-01 16:29:24 (UTC)
    src/0-legacy/others/shl/index.js--24 byte12016-11-01 16:30:47 (UTC)
    src/0-legacy/others/shl/shl.js--24 byte22016-11-01 16:29:24 (UTC)
    src/0-legacy/others/wrap/index.js--84 byte32016-11-01 16:30:47 (UTC)
    src/0-legacy/others/wrap/wrapbin.jswrapbin100 %1/1447 byte302016-11-01 16:29:24 (UTC)
    src/0-legacy/others/wrap/wrapcmp.jswrapcmp0 %0/1210 byte182016-11-01 16:29:24 (UTC)
    src/0-legacy/others/wrap/wrapmov.jswrapmov0 %0/1177 byte172016-11-01 16:29:24 (UTC)
    src/0-legacy/parse/index.js--26 byte12016-11-01 16:30:47 (UTC)
    src/0-legacy/parse/parse.jsparse_t100 %1/1832 byte442016-11-01 16:29:24 (UTC)
    src/0-legacy/stringify/index.js--30 byte12016-11-01 16:30:47 (UTC)
    src/0-legacy/stringify/stringify.jsstringify_t100 %1/1691 byte402016-11-01 16:29:24 (UTC)
    src/1-new/arithmetic/div/_div.js_div100 %1/11789 byte692016-11-01 16:41:46 (UTC)
    src/1-new/arithmetic/div/index.js--25 byte12016-11-01 16:30:47 (UTC)
    src/1-new/arithmetic/index.js--48 byte22016-11-01 16:30:47 (UTC)
    src/1-new/arithmetic/sub/_sub.js_sub100 %1/1709 byte412016-11-01 16:29:24 (UTC)
    src/1-new/arithmetic/sub/index.js--25 byte12016-11-01 16:30:47 (UTC)
    src/1-new/compare/_CMP.js_CMP100 %1/1562 byte292016-11-01 16:29:24 (UTC)
    src/1-new/compare/_cmp.js_cmp0 %0/1209 byte102016-11-01 16:49:10 (UTC)
    src/1-new/compare/_eq.js_eq0 %0/1122 byte32016-11-01 16:49:00 (UTC)
    src/1-new/compare/_ge.js_ge0 %0/1121 byte32016-11-01 16:48:57 (UTC)
    src/1-new/compare/_gt.js_gt0 %0/1120 byte32016-11-01 16:48:54 (UTC)
    src/1-new/compare/_jz.js_jz100 %1/1250 byte162016-11-01 16:29:24 (UTC)
    src/1-new/compare/_le.js_le0 %0/1121 byte32016-11-01 16:48:48 (UTC)
    src/1-new/compare/_lt.js_lt0 %0/1120 byte32016-11-01 16:48:46 (UTC)
    src/1-new/compare/_ne.js_ne0 %0/1122 byte32016-11-01 16:48:42 (UTC)
    src/1-new/compare/index.js--218 byte92016-11-01 16:30:47 (UTC)
    src/1-new/convert/_alloc.js_alloc0 %0/161 byte62016-11-01 16:29:24 (UTC)
    src/1-new/convert/_build.js_build0 %0/1236 byte192016-11-01 16:29:24 (UTC)
    src/1-new/convert/_chr.js_chr0 %0/1128 byte72016-11-01 16:29:24 (UTC)
    src/1-new/convert/_convert.js_convert100 %1/1747 byte212016-11-01 16:48:17 (UTC)
    src/1-new/convert/_convert_slow.js_convert_slow100 %1/11032 byte482016-11-01 16:45:20 (UTC)
    src/1-new/convert/_convert_to_larger.js_convert_to_larger100 %1/1740 byte232016-11-01 16:50:05 (UTC)
    src/1-new/convert/_convert_to_larger_fast.js_convert_to_larger_fast100 %1/11593 byte652016-11-01 16:29:24 (UTC)
    src/1-new/convert/_convert_to_smaller.js_convert_to_smaller100 %1/1743 byte232016-11-01 16:49:54 (UTC)
    src/1-new/convert/_convert_to_smaller_fast.js_convert_to_smaller_fast100 %1/11616 byte662016-11-01 16:29:24 (UTC)
    src/1-new/convert/_copy.js_copy0 %0/1102 byte62016-11-01 16:29:24 (UTC)
    src/1-new/convert/_fill.js_fill0 %0/195 byte62016-11-01 16:29:24 (UTC)
    src/1-new/convert/_int.js_int0 %0/1260 byte102016-11-01 16:29:24 (UTC)
    src/1-new/convert/_log.js_log0 %0/1138 byte142016-11-01 16:29:24 (UTC)
    src/1-new/convert/_reset.js_reset0 %0/1102 byte72016-11-01 16:32:59 (UTC)
    src/1-new/convert/_to_string.js_to_string0 %0/1199 byte132016-11-01 16:42:10 (UTC)
    src/1-new/convert/_trim_positive.js_trim_positive0 %0/1109 byte82016-11-01 16:29:24 (UTC)
    src/1-new/convert/_zeros.js_zeros0 %0/1136 byte112016-11-01 16:42:27 (UTC)
    src/1-new/convert/convert.jsconvert0 %0/1210 byte92016-11-01 16:42:42 (UTC)
    src/1-new/convert/convert_keep_zeros.jsconvert_keep_zeros0 %0/1287 byte132016-11-01 16:42:58 (UTC)
    src/1-new/convert/index.js--766 byte242016-11-01 16:30:47 (UTC)
    src/1-new/convert/parse.jsparse0 %0/1194 byte92016-11-01 16:43:11 (UTC)
    src/1-new/convert/parse_keep_zeros.jsparse_keep_zeros0 %0/1316 byte152016-11-01 16:36:54 (UTC)
    src/1-new/convert/stringify.jsstringify0 %0/1220 byte112016-11-01 16:43:22 (UTC)
    src/1-new/convert/stringify_keep_zeros.jsstringify_keep_zeros0 %0/1253 byte112016-11-01 16:43:31 (UTC)
    src/1-new/convert/trim_natural.jstrim_natural0 %0/1256 byte142016-11-01 16:43:43 (UTC)
    src/1-new/index.js--87 byte32016-11-01 16:30:47 (UTC)
    src/index.js--55 byte22016-11-01 16:30:47 (UTC)
    +
    + + + + + + + + + + + + diff --git a/stringify/stringify.html b/stringify/stringify.html deleted file mode 100644 index bcea1e4..0000000 --- a/stringify/stringify.html +++ /dev/null @@ -1,41 +0,0 @@ -stringify/stringify

    Function template for number stringification. -Endianess provided by the iterator function

    -

    Parameters:

    -
      -
    • f must be an int.
      (from radix)

      -
    • -
    • t must be an int.
      (to radix)

      -
    • -
    • iter must be a function.
      (iterator function)

      -
    • -
    var stringify_t = function(f, t, iter, zfill_t){ - - if(t <= f){ - - if(t > 36) throw 't > 36 not implemented'; - - var z = 0; - while(f >= t){ - if(f % t) break; - f /= t; - ++z; - } - - if(f !== 1) throw 'log(t) does not divide log(f) not implemented'; - - var zfill = zfill_t(z); - - return function(a, i0, i1){ - var s = []; - iter(i0, i1, function(i){ - s.push(zfill(Number(+a[i]).toString(t))); - }); - return s.join(''); - }; - - } - else throw 't > f not implemented'; - -}; - -exports.stringify_t = stringify_t;
    \ No newline at end of file diff --git a/sub/sub.html b/sub/sub.html deleted file mode 100644 index 621cff9..0000000 --- a/sub/sub.html +++ /dev/null @@ -1,104 +0,0 @@ -sub/sub

    Parameters:

    -
      -
    • r must be an int.
      (base (radix))
    • -
    var bsub_t = function(r){

    Subtracts two big endian arrays, k >= i >= j -wraps

    -

    Parameters:

    -
      -
    • a must be an array.
      (first operand)

      -
    • -
    • ai must be an int.
      (a left)

      -
    • -
    • aj must be an int.
      (a right)

      -
    • -
    • b must be an array.
      (second operand)

      -
    • -
    • bi must be an int.
      (b left)

      -
    • -
    • bj must be an int.
      (b right)

      -
    • -
    • c must be an array.
      (result, must be 0 initialized)

      -
    • -
    • ci must be an int.
      (c left)

      -
    • -
    • cj must be an int.
      (c right)

      -
    • -
    return function(a, ai, aj, b, bi, bj, c, ci, cj){ - var T, C = 0; - - while(--bj >= bi){ - --aj; --cj; - T = C; - C = a[aj] < b[bj] + T; - c[cj] = a[aj] - b[bj] + (C*r - T); - } - - while(--aj >= ai){ - --cj; - T = C; - C = a[aj] < T; - c[cj] = a[aj] + (C*r - T); - } - - if(C){ - while(--cj >= ci){ - c[cj] = r - 1; - } - } - - }; -};

    Parameters:

    -
      -
    • r must be an int.
      (base (radix))
    • -
    var lsub_t = function(r){

    Subtracts two little endian arrays, k >= i >= j -wraps

    -

    Parameters:

    -
      -
    • a must be an array.
      (first operand)

      -
    • -
    • ai must be an int.
      (a left)

      -
    • -
    • aj must be an int.
      (a right)

      -
    • -
    • b must be an array.
      (second operand)

      -
    • -
    • bi must be an int.
      (b left)

      -
    • -
    • bj must be an int.
      (b right)

      -
    • -
    • c must be an array.
      (result, must be 0 initialized)

      -
    • -
    • ci must be an int.
      (c left)

      -
    • -
    • cj must be an int.
      (c right)

      -
    • -
    return function(a, ai, aj, b, bi, bj, c, ci, cj){ - var T, C = 0; - - while(bi < bj){ - T = C; - C = a[ai] < b[bi] + T; - c[ci] = a[ai] - b[bi] + (C*r - T); - ++ai; ++bi; ++ci; - } - - while(ai < aj){ - T = C; - C = a[ai] < T; - c[ci] = a[ai] + (C*r - T); - ++ai; ++ci; - } - - if(C){ - while(ci < cj){ - c[ci] = r - 1; - ++ci; - } - } - - }; -}; - - -exports.bsub_t = bsub_t; -exports.lsub_t = lsub_t;
    \ No newline at end of file diff --git a/user/css/0-style.css b/user/css/0-style.css new file mode 100644 index 0000000..ed56934 --- /dev/null +++ b/user/css/0-style.css @@ -0,0 +1,52 @@ +h1, +h2, +.navigation, +.layout-container > header, +footer +{ + border: none; +} + +.project-name { + color: #FC913A; + font-weight: bold; +} + +.layout-container > header > a.repo-url-github { + font-size: inherit; + display: inline; + background: none; + vertical-align: inherit; +} + +.search-box img { + display: none; +} + +.search-box::before{ + content: "search"; +} + +.search-input-edge { + height: 0px; +} + +.search-result { + width: 300px; + margin-left: 42px; + box-shadow: 1px 1px 13px rgba(0,0,0,0.2); +} + +.search-input { + visibility: visible; +} + +.search-result li.search-separator { + text-transform: capitalize; + background-color: #ccc; +} + +span[data-ice="signature"] > span { + /*font-weight: bold;*/ + font-style: italic; +} diff --git a/user/script/0-header.js b/user/script/0-header.js new file mode 100644 index 0000000..8fac10e --- /dev/null +++ b/user/script/0-header.js @@ -0,0 +1,34 @@ +var domReady = function(callback) { + var state = document.readyState ; + if ( state === 'interactive' || state === 'complete' ) { + callback() ; + } + else { + document.addEventListener('DOMContentLoaded', callback); + } +} ; + + +domReady(function(){ + + var projectname = document.createElement('a'); + projectname.classList.add('project-name'); + projectname.text = 'aureooms/js-integer'; + projectname.href = './index.html' ; + + var header = document.getElementsByTagName('header')[0] ; + header.insertBefore(projectname,header.firstChild); + + var testlink = document.querySelector('header > a[data-ice="testLink"]') ; + testlink.href = 'https://coveralls.io/github/aureooms/js-integer' ; + testlink.target = '_BLANK' ; + + var searchBox = document.querySelector('.search-box'); + var input = document.querySelector('.search-input'); + + // active search box when focus on searchBox. + input.addEventListener('focus', function(){ + searchBox.classList.add('active'); + }); + +}); diff --git a/variable/index.html b/variable/index.html new file mode 100644 index 0000000..e0bff35 --- /dev/null +++ b/variable/index.html @@ -0,0 +1,518 @@ + + + + + + Variable | aureooms/js-integer API Document + + + + + + + + + + + +
    + Home + Manual + Reference + Source + Test + Repository + +
    + + + +

    Variable

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Static Private Summary
    + private + + + + + +
    +

    + _eq: * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _ge: * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _gt: * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _le: * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _lt: * +

    +
    +
    + + + +
    +
    + + +
    + private + + + + + +
    +

    + _ne: * +

    +
    +
    + + + +
    +
    + + +
    +
    +

    Static Private

    + +
    +

    + private + + + + + _eq: * + + + + source + +

    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + private + + + + + _ge: * + + + + source + +

    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + private + + + + + _gt: * + + + + source + +

    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + private + + + + + _le: * + + + + source + +

    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + private + + + + + _lt: * + + + + source + +

    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + private + + + + + _ne: * + + + + source + +

    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +
    + + + + + + + + + + + + diff --git a/wrap/wrapbin.html b/wrap/wrapbin.html deleted file mode 100644 index 1f22037..0000000 --- a/wrap/wrapbin.html +++ /dev/null @@ -1,26 +0,0 @@ -wrap/wrapbin

    Wrapper for binary operator. -Ensures

    -
    i >= j
    -i0, j0, k0 >= 0
    var wrapbin = function(fn){ - - return function(a, i0, i1, b, j0, j1, c, k0, k1){ - - var i, j, k; - - k0 = Math.max(0, k0); - k = k1 - k0; - - i0 = Math.max(0, i0, i1 - k); - j0 = Math.max(0, j0, j1 - k); - i = i1 - i0; - j = j1 - j0; - - if(i < j) - return fn(b, j0, j1, a, i0, i1, c, k0, k1); - - else - return fn(a, i0, i1, b, j0, j1, c, k0, k1); - }; -}; - -exports.wrapbin = wrapbin;
    \ No newline at end of file diff --git a/wrap/wrapcmp.html b/wrap/wrapcmp.html deleted file mode 100644 index 7f02139..0000000 --- a/wrap/wrapcmp.html +++ /dev/null @@ -1,17 +0,0 @@ -wrap/wrapcmp
    var wrapcmp = function(cmp) { - - - return function(a, ai, aj, b, bi, bj){ - - if (aj - ai + bi - bj < 0) { - return - cmp(b, bi, bj, a, ai, aj); - } - else { - return cmp(a, ai, aj, b, bi, bj); - } - - }; - -}; - -exports.wrapcmp = wrapcmp;
    \ No newline at end of file diff --git a/wrap/wrapmov.html b/wrap/wrapmov.html deleted file mode 100644 index af40b24..0000000 --- a/wrap/wrapmov.html +++ /dev/null @@ -1,17 +0,0 @@ -wrap/wrapmov
    var wrapmov = function(fn){ - return function(a, i, j, b, k){ - - if(i < 0){ - k -= i; - i = 0; - } - if(k < 0){ - i -= k; - k = 0; - } - return fn(a, i, j, b, k); - - }; -}; - -exports.wrapmov = wrapmov;
    \ No newline at end of file diff --git a/xor/xor.html b/xor/xor.html deleted file mode 100644 index d3e0ae2..0000000 --- a/xor/xor.html +++ /dev/null @@ -1 +0,0 @@ -xor/xor

    BINARY xor APPLIED ON a AND b

    \ No newline at end of file From a7b28480d808d799339b0f66c1ce5a9425d0f83b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Ooms?= Date: Tue, 25 Apr 2017 00:06:20 +0200 Subject: [PATCH 05/15] esdoc update --- ast/source/0-legacy/abs/abs.js.json | 95 - ast/source/0-legacy/abs/index.js.json | 57 - .../0-legacy/arithmetic/add/add.js.json | 4252 -- .../0-legacy/arithmetic/add/index.js.json | 57 - .../0-legacy/arithmetic/div/dcdiv.js.json | 59 - .../0-legacy/arithmetic/div/div.js.json | 2725 -- .../arithmetic/div/fourierdiv.js.json | 59 - .../0-legacy/arithmetic/div/index.js.json | 165 - .../0-legacy/arithmetic/div/knuthd.js.json | 59 - ast/source/0-legacy/arithmetic/index.js.json | 165 - .../0-legacy/arithmetic/mul/index.js.json | 165 - .../0-legacy/arithmetic/mul/karatsuba.js.json | 9466 ----- .../0-legacy/arithmetic/mul/mul.js.json | 3203 -- .../0-legacy/arithmetic/mul/mul53.js.json | 3205 -- .../0-legacy/arithmetic/mul/toomcook.js.json | 59 - .../0-legacy/arithmetic/sub/index.js.json | 57 - .../0-legacy/arithmetic/sub/sub.js.json | 4734 --- ast/source/0-legacy/binary/and/and.js.json | 3945 -- ast/source/0-legacy/binary/and/index.js.json | 57 - ast/source/0-legacy/binary/index.js.json | 165 - ast/source/0-legacy/binary/not/index.js.json | 57 - ast/source/0-legacy/binary/not/not.js.json | 59 - ast/source/0-legacy/binary/or/index.js.json | 57 - ast/source/0-legacy/binary/or/or.js.json | 59 - ast/source/0-legacy/binary/xor/index.js.json | 57 - ast/source/0-legacy/binary/xor/xor.js.json | 59 - ast/source/0-legacy/compare/cmp.js.json | 2806 -- ast/source/0-legacy/compare/eq.js.json | 541 - ast/source/0-legacy/compare/ge.js.json | 541 - ast/source/0-legacy/compare/gt.js.json | 541 - ast/source/0-legacy/compare/index.js.json | 273 - ast/source/0-legacy/compare/le.js.json | 541 - ast/source/0-legacy/compare/lt.js.json | 541 - ast/source/0-legacy/compare/ne.js.json | 541 - ast/source/0-legacy/index.js.json | 273 - ast/source/0-legacy/others/gcd/gcd.js.json | 59 - ast/source/0-legacy/others/gcd/index.js.json | 57 - ast/source/0-legacy/others/index.js.json | 381 - ast/source/0-legacy/others/lcm/index.js.json | 57 - ast/source/0-legacy/others/lcm/lcm.js.json | 59 - ast/source/0-legacy/others/log/index.js.json | 57 - ast/source/0-legacy/others/log/log.js.json | 59 - ast/source/0-legacy/others/mod/index.js.json | 93 - ast/source/0-legacy/others/mod/mod.js.json | 59 - .../0-legacy/others/mod/montgomery.js.json | 59 - ast/source/0-legacy/others/mpow/index.js.json | 57 - ast/source/0-legacy/others/mpow/mpow.js.json | 59 - ast/source/0-legacy/others/neg/index.js.json | 57 - ast/source/0-legacy/others/neg/neg.js.json | 59 - ast/source/0-legacy/others/pow/ebs.js.json | 3198 -- ast/source/0-legacy/others/pow/index.js.json | 93 - ast/source/0-legacy/others/pow/pow.js.json | 1229 - ast/source/0-legacy/others/sha/index.js.json | 57 - ast/source/0-legacy/others/sha/sha.js.json | 59 - ast/source/0-legacy/others/shl/index.js.json | 57 - ast/source/0-legacy/others/shl/shl.js.json | 59 - ast/source/0-legacy/others/wrap/index.js.json | 129 - .../0-legacy/others/wrap/wrapbin.js.json | 1945 - .../0-legacy/others/wrap/wrapcmp.js.json | 845 - .../0-legacy/others/wrap/wrapmov.js.json | 880 - ast/source/0-legacy/parse/index.js.json | 57 - ast/source/0-legacy/parse/parse.js.json | 2282 - ast/source/0-legacy/stringify/index.js.json | 57 - .../0-legacy/stringify/stringify.js.json | 1816 - ast/source/1-new/arithmetic/div/_div.js.json | 2923 -- ast/source/1-new/arithmetic/div/index.js.json | 57 - ast/source/1-new/arithmetic/index.js.json | 93 - ast/source/1-new/arithmetic/sub/_sub.js.json | 2210 - ast/source/1-new/arithmetic/sub/index.js.json | 57 - ast/source/1-new/compare/_CMP.js.json | 1322 - ast/source/1-new/compare/_cmp.js.json | 785 - ast/source/1-new/compare/_eq.js.json | 500 - ast/source/1-new/compare/_ge.js.json | 500 - ast/source/1-new/compare/_gt.js.json | 500 - ast/source/1-new/compare/_jz.js.json | 502 - ast/source/1-new/compare/_le.js.json | 500 - ast/source/1-new/compare/_lt.js.json | 500 - ast/source/1-new/compare/_ne.js.json | 500 - ast/source/1-new/compare/index.js.json | 345 - ast/source/1-new/convert/_alloc.js.json | 190 - ast/source/1-new/convert/_build.js.json | 1002 - ast/source/1-new/convert/_chr.js.json | 481 - ast/source/1-new/convert/_convert.js.json | 1203 - .../1-new/convert/_convert_slow.js.json | 2657 -- .../1-new/convert/_convert_to_larger.js.json | 1153 - .../convert/_convert_to_larger_fast.js.json | 3482 -- .../1-new/convert/_convert_to_smaller.js.json | 1153 - .../convert/_convert_to_smaller_fast.js.json | 3818 -- ast/source/1-new/convert/_copy.js.json | 498 - ast/source/1-new/convert/_fill.js.json | 460 - ast/source/1-new/convert/_int.js.json | 1066 - ast/source/1-new/convert/_log.js.json | 587 - ast/source/1-new/convert/_reset.js.json | 372 - ast/source/1-new/convert/_to_string.js.json | 863 - .../1-new/convert/_trim_positive.js.json | 423 - ast/source/1-new/convert/_zeros.js.json | 516 - ast/source/1-new/convert/convert.js.json | 661 - .../1-new/convert/convert_keep_zeros.js.json | 1187 - ast/source/1-new/convert/index.js.json | 885 - ast/source/1-new/convert/parse.js.json | 589 - .../1-new/convert/parse_keep_zeros.js.json | 1097 - ast/source/1-new/convert/stringify.js.json | 697 - .../convert/stringify_keep_zeros.js.json | 697 - ast/source/1-new/convert/trim_natural.js.json | 950 - ast/source/1-new/index.js.json | 129 - ast/source/DEFAULT_DISPLAY_BASE.js.json | 314 + .../DEFAULT_REPRESENTATION_BASE.js.json | 2069 + ast/source/Integer.js.json | 35093 ++++++++++++++++ ast/source/IntegerRing.js.json | 12944 ++++++ ast/source/ZZ.js.json | 917 + ast/source/index.js.json | 929 +- badge.svg | 14 +- class/src/Integer.js~Integer.html | 1299 + class/src/IntegerRing.js~IntegerRing.html | 1306 + coverage.json | 361 +- css/style.css | 228 +- dump.json | 4735 +-- file/src/0-legacy/abs/abs.js.html | 126 - file/src/0-legacy/abs/index.js.html | 121 - file/src/0-legacy/arithmetic/add/add.js.html | 214 - .../src/0-legacy/arithmetic/add/index.js.html | 121 - .../src/0-legacy/arithmetic/div/dcdiv.js.html | 122 - file/src/0-legacy/arithmetic/div/div.js.html | 193 - .../arithmetic/div/fourierdiv.js.html | 122 - .../src/0-legacy/arithmetic/div/index.js.html | 124 - .../0-legacy/arithmetic/div/knuthd.js.html | 122 - file/src/0-legacy/arithmetic/index.js.html | 124 - .../src/0-legacy/arithmetic/mul/index.js.html | 124 - .../0-legacy/arithmetic/mul/karatsuba.js.html | 273 - file/src/0-legacy/arithmetic/mul/mul.js.html | 162 - .../src/0-legacy/arithmetic/mul/mul53.js.html | 209 - .../0-legacy/arithmetic/mul/toomcook.js.html | 122 - .../src/0-legacy/arithmetic/sub/index.js.html | 121 - file/src/0-legacy/arithmetic/sub/sub.js.html | 216 - file/src/0-legacy/binary/and/and.js.html | 197 - file/src/0-legacy/binary/and/index.js.html | 121 - file/src/0-legacy/binary/index.js.html | 124 - file/src/0-legacy/binary/not/index.js.html | 121 - file/src/0-legacy/binary/not/not.js.html | 122 - file/src/0-legacy/binary/or/index.js.html | 121 - file/src/0-legacy/binary/or/or.js.html | 122 - file/src/0-legacy/binary/xor/index.js.html | 121 - file/src/0-legacy/binary/xor/xor.js.html | 122 - file/src/0-legacy/compare/cmp.js.html | 190 - file/src/0-legacy/compare/eq.js.html | 130 - file/src/0-legacy/compare/ge.js.html | 132 - file/src/0-legacy/compare/gt.js.html | 132 - file/src/0-legacy/compare/index.js.html | 127 - file/src/0-legacy/compare/le.js.html | 132 - file/src/0-legacy/compare/lt.js.html | 132 - file/src/0-legacy/compare/ne.js.html | 132 - file/src/0-legacy/index.js.html | 127 - file/src/0-legacy/others/gcd/gcd.js.html | 122 - file/src/0-legacy/others/gcd/index.js.html | 121 - file/src/0-legacy/others/index.js.html | 130 - file/src/0-legacy/others/lcm/index.js.html | 121 - file/src/0-legacy/others/lcm/lcm.js.html | 122 - file/src/0-legacy/others/log/index.js.html | 121 - file/src/0-legacy/others/log/log.js.html | 123 - file/src/0-legacy/others/mod/index.js.html | 122 - file/src/0-legacy/others/mod/mod.js.html | 123 - .../0-legacy/others/mod/montgomery.js.html | 123 - file/src/0-legacy/others/mpow/index.js.html | 121 - file/src/0-legacy/others/mpow/mpow.js.html | 122 - file/src/0-legacy/others/neg/index.js.html | 121 - file/src/0-legacy/others/neg/neg.js.html | 122 - file/src/0-legacy/others/pow/ebs.js.html | 162 - file/src/0-legacy/others/pow/index.js.html | 122 - file/src/0-legacy/others/pow/pow.js.html | 142 - file/src/0-legacy/others/sha/index.js.html | 121 - file/src/0-legacy/others/sha/sha.js.html | 122 - file/src/0-legacy/others/shl/index.js.html | 121 - file/src/0-legacy/others/shl/shl.js.html | 122 - file/src/0-legacy/others/wrap/index.js.html | 123 - file/src/0-legacy/others/wrap/wrapbin.js.html | 150 - file/src/0-legacy/others/wrap/wrapcmp.js.html | 138 - file/src/0-legacy/others/wrap/wrapmov.js.html | 137 - file/src/0-legacy/parse/index.js.html | 121 - file/src/0-legacy/parse/parse.js.html | 164 - file/src/0-legacy/stringify/index.js.html | 121 - file/src/0-legacy/stringify/stringify.js.html | 160 - file/src/1-new/arithmetic/div/_div.js.html | 189 - file/src/1-new/arithmetic/div/index.js.html | 121 - file/src/1-new/arithmetic/index.js.html | 122 - file/src/1-new/arithmetic/sub/_sub.js.html | 161 - file/src/1-new/arithmetic/sub/index.js.html | 121 - file/src/1-new/compare/_CMP.js.html | 149 - file/src/1-new/compare/_cmp.js.html | 130 - file/src/1-new/compare/_eq.js.html | 123 - file/src/1-new/compare/_ge.js.html | 123 - file/src/1-new/compare/_gt.js.html | 123 - file/src/1-new/compare/_jz.js.html | 136 - file/src/1-new/compare/_le.js.html | 123 - file/src/1-new/compare/_lt.js.html | 123 - file/src/1-new/compare/_ne.js.html | 123 - file/src/1-new/compare/index.js.html | 129 - file/src/1-new/convert/_alloc.js.html | 126 - file/src/1-new/convert/_build.js.html | 139 - file/src/1-new/convert/_chr.js.html | 127 - file/src/1-new/convert/_convert.js.html | 141 - file/src/1-new/convert/_convert_slow.js.html | 168 - .../1-new/convert/_convert_to_larger.js.html | 143 - .../convert/_convert_to_larger_fast.js.html | 185 - .../1-new/convert/_convert_to_smaller.js.html | 143 - .../convert/_convert_to_smaller_fast.js.html | 186 - file/src/1-new/convert/_copy.js.html | 126 - file/src/1-new/convert/_fill.js.html | 126 - file/src/1-new/convert/_int.js.html | 130 - file/src/1-new/convert/_log.js.html | 134 - file/src/1-new/convert/_reset.js.html | 127 - file/src/1-new/convert/_to_string.js.html | 133 - file/src/1-new/convert/_trim_positive.js.html | 128 - file/src/1-new/convert/_zeros.js.html | 131 - file/src/1-new/convert/convert.js.html | 129 - .../1-new/convert/convert_keep_zeros.js.html | 133 - file/src/1-new/convert/index.js.html | 144 - file/src/1-new/convert/parse.js.html | 129 - .../1-new/convert/parse_keep_zeros.js.html | 135 - file/src/1-new/convert/stringify.js.html | 131 - .../convert/stringify_keep_zeros.js.html | 131 - file/src/1-new/convert/trim_natural.js.html | 134 - file/src/1-new/index.js.html | 123 - file/src/DEFAULT_DISPLAY_BASE.js.html | 64 + file/src/DEFAULT_REPRESENTATION_BASE.js.html | 72 + file/src/Integer.js.html | 227 + file/src/IntegerRing.js.html | 131 + file/src/ZZ.js.html | 70 + file/src/index.js.html | 76 +- function/index.html | 6085 --- identifiers.html | 1570 +- image/badge.svg | 12 +- image/esdoc-logo-mini-black.png | Bin 0 -> 5651 bytes image/esdoc-logo-mini.png | Bin 0 -> 6504 bytes image/manual-badge.svg | 17 + index.html | 107 +- manual-badge.svg | 17 + manual/{ => example}/example.html | 18 +- manual/index.html | 211 +- manual/{ => installation}/installation.html | 22 +- manual/{ => overview}/overview.html | 18 +- manual/{ => usage}/usage.html | 22 +- package.json | 44 +- script/manual.js | 8 +- script/search_index.js | 1166 +- source.html | 931 +- variable/index.html | 313 +- 246 files changed, 56909 insertions(+), 120580 deletions(-) delete mode 100644 ast/source/0-legacy/abs/abs.js.json delete mode 100644 ast/source/0-legacy/abs/index.js.json delete mode 100644 ast/source/0-legacy/arithmetic/add/add.js.json delete mode 100644 ast/source/0-legacy/arithmetic/add/index.js.json delete mode 100644 ast/source/0-legacy/arithmetic/div/dcdiv.js.json delete mode 100644 ast/source/0-legacy/arithmetic/div/div.js.json delete mode 100644 ast/source/0-legacy/arithmetic/div/fourierdiv.js.json delete mode 100644 ast/source/0-legacy/arithmetic/div/index.js.json delete mode 100644 ast/source/0-legacy/arithmetic/div/knuthd.js.json delete mode 100644 ast/source/0-legacy/arithmetic/index.js.json delete mode 100644 ast/source/0-legacy/arithmetic/mul/index.js.json delete mode 100644 ast/source/0-legacy/arithmetic/mul/karatsuba.js.json delete mode 100644 ast/source/0-legacy/arithmetic/mul/mul.js.json delete mode 100644 ast/source/0-legacy/arithmetic/mul/mul53.js.json delete mode 100644 ast/source/0-legacy/arithmetic/mul/toomcook.js.json delete mode 100644 ast/source/0-legacy/arithmetic/sub/index.js.json delete mode 100644 ast/source/0-legacy/arithmetic/sub/sub.js.json delete mode 100644 ast/source/0-legacy/binary/and/and.js.json delete mode 100644 ast/source/0-legacy/binary/and/index.js.json delete mode 100644 ast/source/0-legacy/binary/index.js.json delete mode 100644 ast/source/0-legacy/binary/not/index.js.json delete mode 100644 ast/source/0-legacy/binary/not/not.js.json delete mode 100644 ast/source/0-legacy/binary/or/index.js.json delete mode 100644 ast/source/0-legacy/binary/or/or.js.json delete mode 100644 ast/source/0-legacy/binary/xor/index.js.json delete mode 100644 ast/source/0-legacy/binary/xor/xor.js.json delete mode 100644 ast/source/0-legacy/compare/cmp.js.json delete mode 100644 ast/source/0-legacy/compare/eq.js.json delete mode 100644 ast/source/0-legacy/compare/ge.js.json delete mode 100644 ast/source/0-legacy/compare/gt.js.json delete mode 100644 ast/source/0-legacy/compare/index.js.json delete mode 100644 ast/source/0-legacy/compare/le.js.json delete mode 100644 ast/source/0-legacy/compare/lt.js.json delete mode 100644 ast/source/0-legacy/compare/ne.js.json delete mode 100644 ast/source/0-legacy/index.js.json delete mode 100644 ast/source/0-legacy/others/gcd/gcd.js.json delete mode 100644 ast/source/0-legacy/others/gcd/index.js.json delete mode 100644 ast/source/0-legacy/others/index.js.json delete mode 100644 ast/source/0-legacy/others/lcm/index.js.json delete mode 100644 ast/source/0-legacy/others/lcm/lcm.js.json delete mode 100644 ast/source/0-legacy/others/log/index.js.json delete mode 100644 ast/source/0-legacy/others/log/log.js.json delete mode 100644 ast/source/0-legacy/others/mod/index.js.json delete mode 100644 ast/source/0-legacy/others/mod/mod.js.json delete mode 100644 ast/source/0-legacy/others/mod/montgomery.js.json delete mode 100644 ast/source/0-legacy/others/mpow/index.js.json delete mode 100644 ast/source/0-legacy/others/mpow/mpow.js.json delete mode 100644 ast/source/0-legacy/others/neg/index.js.json delete mode 100644 ast/source/0-legacy/others/neg/neg.js.json delete mode 100644 ast/source/0-legacy/others/pow/ebs.js.json delete mode 100644 ast/source/0-legacy/others/pow/index.js.json delete mode 100644 ast/source/0-legacy/others/pow/pow.js.json delete mode 100644 ast/source/0-legacy/others/sha/index.js.json delete mode 100644 ast/source/0-legacy/others/sha/sha.js.json delete mode 100644 ast/source/0-legacy/others/shl/index.js.json delete mode 100644 ast/source/0-legacy/others/shl/shl.js.json delete mode 100644 ast/source/0-legacy/others/wrap/index.js.json delete mode 100644 ast/source/0-legacy/others/wrap/wrapbin.js.json delete mode 100644 ast/source/0-legacy/others/wrap/wrapcmp.js.json delete mode 100644 ast/source/0-legacy/others/wrap/wrapmov.js.json delete mode 100644 ast/source/0-legacy/parse/index.js.json delete mode 100644 ast/source/0-legacy/parse/parse.js.json delete mode 100644 ast/source/0-legacy/stringify/index.js.json delete mode 100644 ast/source/0-legacy/stringify/stringify.js.json delete mode 100644 ast/source/1-new/arithmetic/div/_div.js.json delete mode 100644 ast/source/1-new/arithmetic/div/index.js.json delete mode 100644 ast/source/1-new/arithmetic/index.js.json delete mode 100644 ast/source/1-new/arithmetic/sub/_sub.js.json delete mode 100644 ast/source/1-new/arithmetic/sub/index.js.json delete mode 100644 ast/source/1-new/compare/_CMP.js.json delete mode 100644 ast/source/1-new/compare/_cmp.js.json delete mode 100644 ast/source/1-new/compare/_eq.js.json delete mode 100644 ast/source/1-new/compare/_ge.js.json delete mode 100644 ast/source/1-new/compare/_gt.js.json delete mode 100644 ast/source/1-new/compare/_jz.js.json delete mode 100644 ast/source/1-new/compare/_le.js.json delete mode 100644 ast/source/1-new/compare/_lt.js.json delete mode 100644 ast/source/1-new/compare/_ne.js.json delete mode 100644 ast/source/1-new/compare/index.js.json delete mode 100644 ast/source/1-new/convert/_alloc.js.json delete mode 100644 ast/source/1-new/convert/_build.js.json delete mode 100644 ast/source/1-new/convert/_chr.js.json delete mode 100644 ast/source/1-new/convert/_convert.js.json delete mode 100644 ast/source/1-new/convert/_convert_slow.js.json delete mode 100644 ast/source/1-new/convert/_convert_to_larger.js.json delete mode 100644 ast/source/1-new/convert/_convert_to_larger_fast.js.json delete mode 100644 ast/source/1-new/convert/_convert_to_smaller.js.json delete mode 100644 ast/source/1-new/convert/_convert_to_smaller_fast.js.json delete mode 100644 ast/source/1-new/convert/_copy.js.json delete mode 100644 ast/source/1-new/convert/_fill.js.json delete mode 100644 ast/source/1-new/convert/_int.js.json delete mode 100644 ast/source/1-new/convert/_log.js.json delete mode 100644 ast/source/1-new/convert/_reset.js.json delete mode 100644 ast/source/1-new/convert/_to_string.js.json delete mode 100644 ast/source/1-new/convert/_trim_positive.js.json delete mode 100644 ast/source/1-new/convert/_zeros.js.json delete mode 100644 ast/source/1-new/convert/convert.js.json delete mode 100644 ast/source/1-new/convert/convert_keep_zeros.js.json delete mode 100644 ast/source/1-new/convert/index.js.json delete mode 100644 ast/source/1-new/convert/parse.js.json delete mode 100644 ast/source/1-new/convert/parse_keep_zeros.js.json delete mode 100644 ast/source/1-new/convert/stringify.js.json delete mode 100644 ast/source/1-new/convert/stringify_keep_zeros.js.json delete mode 100644 ast/source/1-new/convert/trim_natural.js.json delete mode 100644 ast/source/1-new/index.js.json create mode 100644 ast/source/DEFAULT_DISPLAY_BASE.js.json create mode 100644 ast/source/DEFAULT_REPRESENTATION_BASE.js.json create mode 100644 ast/source/Integer.js.json create mode 100644 ast/source/IntegerRing.js.json create mode 100644 ast/source/ZZ.js.json create mode 100644 class/src/Integer.js~Integer.html create mode 100644 class/src/IntegerRing.js~IntegerRing.html delete mode 100644 file/src/0-legacy/abs/abs.js.html delete mode 100644 file/src/0-legacy/abs/index.js.html delete mode 100644 file/src/0-legacy/arithmetic/add/add.js.html delete mode 100644 file/src/0-legacy/arithmetic/add/index.js.html delete mode 100644 file/src/0-legacy/arithmetic/div/dcdiv.js.html delete mode 100644 file/src/0-legacy/arithmetic/div/div.js.html delete mode 100644 file/src/0-legacy/arithmetic/div/fourierdiv.js.html delete mode 100644 file/src/0-legacy/arithmetic/div/index.js.html delete mode 100644 file/src/0-legacy/arithmetic/div/knuthd.js.html delete mode 100644 file/src/0-legacy/arithmetic/index.js.html delete mode 100644 file/src/0-legacy/arithmetic/mul/index.js.html delete mode 100644 file/src/0-legacy/arithmetic/mul/karatsuba.js.html delete mode 100644 file/src/0-legacy/arithmetic/mul/mul.js.html delete mode 100644 file/src/0-legacy/arithmetic/mul/mul53.js.html delete mode 100644 file/src/0-legacy/arithmetic/mul/toomcook.js.html delete mode 100644 file/src/0-legacy/arithmetic/sub/index.js.html delete mode 100644 file/src/0-legacy/arithmetic/sub/sub.js.html delete mode 100644 file/src/0-legacy/binary/and/and.js.html delete mode 100644 file/src/0-legacy/binary/and/index.js.html delete mode 100644 file/src/0-legacy/binary/index.js.html delete mode 100644 file/src/0-legacy/binary/not/index.js.html delete mode 100644 file/src/0-legacy/binary/not/not.js.html delete mode 100644 file/src/0-legacy/binary/or/index.js.html delete mode 100644 file/src/0-legacy/binary/or/or.js.html delete mode 100644 file/src/0-legacy/binary/xor/index.js.html delete mode 100644 file/src/0-legacy/binary/xor/xor.js.html delete mode 100644 file/src/0-legacy/compare/cmp.js.html delete mode 100644 file/src/0-legacy/compare/eq.js.html delete mode 100644 file/src/0-legacy/compare/ge.js.html delete mode 100644 file/src/0-legacy/compare/gt.js.html delete mode 100644 file/src/0-legacy/compare/index.js.html delete mode 100644 file/src/0-legacy/compare/le.js.html delete mode 100644 file/src/0-legacy/compare/lt.js.html delete mode 100644 file/src/0-legacy/compare/ne.js.html delete mode 100644 file/src/0-legacy/index.js.html delete mode 100644 file/src/0-legacy/others/gcd/gcd.js.html delete mode 100644 file/src/0-legacy/others/gcd/index.js.html delete mode 100644 file/src/0-legacy/others/index.js.html delete mode 100644 file/src/0-legacy/others/lcm/index.js.html delete mode 100644 file/src/0-legacy/others/lcm/lcm.js.html delete mode 100644 file/src/0-legacy/others/log/index.js.html delete mode 100644 file/src/0-legacy/others/log/log.js.html delete mode 100644 file/src/0-legacy/others/mod/index.js.html delete mode 100644 file/src/0-legacy/others/mod/mod.js.html delete mode 100644 file/src/0-legacy/others/mod/montgomery.js.html delete mode 100644 file/src/0-legacy/others/mpow/index.js.html delete mode 100644 file/src/0-legacy/others/mpow/mpow.js.html delete mode 100644 file/src/0-legacy/others/neg/index.js.html delete mode 100644 file/src/0-legacy/others/neg/neg.js.html delete mode 100644 file/src/0-legacy/others/pow/ebs.js.html delete mode 100644 file/src/0-legacy/others/pow/index.js.html delete mode 100644 file/src/0-legacy/others/pow/pow.js.html delete mode 100644 file/src/0-legacy/others/sha/index.js.html delete mode 100644 file/src/0-legacy/others/sha/sha.js.html delete mode 100644 file/src/0-legacy/others/shl/index.js.html delete mode 100644 file/src/0-legacy/others/shl/shl.js.html delete mode 100644 file/src/0-legacy/others/wrap/index.js.html delete mode 100644 file/src/0-legacy/others/wrap/wrapbin.js.html delete mode 100644 file/src/0-legacy/others/wrap/wrapcmp.js.html delete mode 100644 file/src/0-legacy/others/wrap/wrapmov.js.html delete mode 100644 file/src/0-legacy/parse/index.js.html delete mode 100644 file/src/0-legacy/parse/parse.js.html delete mode 100644 file/src/0-legacy/stringify/index.js.html delete mode 100644 file/src/0-legacy/stringify/stringify.js.html delete mode 100644 file/src/1-new/arithmetic/div/_div.js.html delete mode 100644 file/src/1-new/arithmetic/div/index.js.html delete mode 100644 file/src/1-new/arithmetic/index.js.html delete mode 100644 file/src/1-new/arithmetic/sub/_sub.js.html delete mode 100644 file/src/1-new/arithmetic/sub/index.js.html delete mode 100644 file/src/1-new/compare/_CMP.js.html delete mode 100644 file/src/1-new/compare/_cmp.js.html delete mode 100644 file/src/1-new/compare/_eq.js.html delete mode 100644 file/src/1-new/compare/_ge.js.html delete mode 100644 file/src/1-new/compare/_gt.js.html delete mode 100644 file/src/1-new/compare/_jz.js.html delete mode 100644 file/src/1-new/compare/_le.js.html delete mode 100644 file/src/1-new/compare/_lt.js.html delete mode 100644 file/src/1-new/compare/_ne.js.html delete mode 100644 file/src/1-new/compare/index.js.html delete mode 100644 file/src/1-new/convert/_alloc.js.html delete mode 100644 file/src/1-new/convert/_build.js.html delete mode 100644 file/src/1-new/convert/_chr.js.html delete mode 100644 file/src/1-new/convert/_convert.js.html delete mode 100644 file/src/1-new/convert/_convert_slow.js.html delete mode 100644 file/src/1-new/convert/_convert_to_larger.js.html delete mode 100644 file/src/1-new/convert/_convert_to_larger_fast.js.html delete mode 100644 file/src/1-new/convert/_convert_to_smaller.js.html delete mode 100644 file/src/1-new/convert/_convert_to_smaller_fast.js.html delete mode 100644 file/src/1-new/convert/_copy.js.html delete mode 100644 file/src/1-new/convert/_fill.js.html delete mode 100644 file/src/1-new/convert/_int.js.html delete mode 100644 file/src/1-new/convert/_log.js.html delete mode 100644 file/src/1-new/convert/_reset.js.html delete mode 100644 file/src/1-new/convert/_to_string.js.html delete mode 100644 file/src/1-new/convert/_trim_positive.js.html delete mode 100644 file/src/1-new/convert/_zeros.js.html delete mode 100644 file/src/1-new/convert/convert.js.html delete mode 100644 file/src/1-new/convert/convert_keep_zeros.js.html delete mode 100644 file/src/1-new/convert/index.js.html delete mode 100644 file/src/1-new/convert/parse.js.html delete mode 100644 file/src/1-new/convert/parse_keep_zeros.js.html delete mode 100644 file/src/1-new/convert/stringify.js.html delete mode 100644 file/src/1-new/convert/stringify_keep_zeros.js.html delete mode 100644 file/src/1-new/convert/trim_natural.js.html delete mode 100644 file/src/1-new/index.js.html create mode 100644 file/src/DEFAULT_DISPLAY_BASE.js.html create mode 100644 file/src/DEFAULT_REPRESENTATION_BASE.js.html create mode 100644 file/src/Integer.js.html create mode 100644 file/src/IntegerRing.js.html create mode 100644 file/src/ZZ.js.html delete mode 100644 function/index.html create mode 100644 image/esdoc-logo-mini-black.png create mode 100644 image/esdoc-logo-mini.png create mode 100644 image/manual-badge.svg create mode 100644 manual-badge.svg rename manual/{ => example}/example.html (67%) rename manual/{ => installation}/installation.html (69%) rename manual/{ => overview}/overview.html (67%) rename manual/{ => usage}/usage.html (69%) diff --git a/ast/source/0-legacy/abs/abs.js.json b/ast/source/0-legacy/abs/abs.js.json deleted file mode 100644 index 48bed3a..0000000 --- a/ast/source/0-legacy/abs/abs.js.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "type": "Program", - "body": [], - "sourceType": "module", - "range": [ - 88, - 88 - ], - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 0 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * COMPUTE THE ABSOLUTE VALUE OF NUMBER n\n ", - "range": [ - 0, - 49 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 3 - } - } - }, - { - "type": "Line", - "value": " exports.abs = function abs() {};", - "range": [ - 51, - 86 - ], - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 35 - } - } - } - ], - "comments": [ - { - "type": "Block", - "value": "*\n * COMPUTE THE ABSOLUTE VALUE OF NUMBER n\n ", - "range": [ - 0, - 49 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 3 - } - } - }, - { - "type": "Line", - "value": " exports.abs = function abs() {};", - "range": [ - 51, - 86 - ], - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 35 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/abs/index.js.json b/ast/source/0-legacy/abs/index.js.json deleted file mode 100644 index 91195f5..0000000 --- a/ast/source/0-legacy/abs/index.js.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./abs", - "raw": "'./abs'", - "range": [ - 14, - 21 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 21 - } - } - }, - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/add/add.js.json b/ast/source/0-legacy/arithmetic/add/add.js.json deleted file mode 100644 index b5fe78a..0000000 --- a/ast/source/0-legacy/arithmetic/add/add.js.json +++ /dev/null @@ -1,4252 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "badd_t", - "range": [ - 58, - 64 - ], - "loc": { - "start": { - "line": 7, - "column": 16 - }, - "end": { - "line": 7, - "column": 22 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "r", - "range": [ - 66, - 67 - ], - "loc": { - "start": { - "line": 7, - "column": 24 - }, - "end": { - "line": 7, - "column": 25 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ReturnStatement", - "argument": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 446, - 447 - ], - "loc": { - "start": { - "line": 25, - "column": 17 - }, - "end": { - "line": 25, - "column": 18 - } - } - }, - { - "type": "Identifier", - "name": "i0", - "range": [ - 449, - 451 - ], - "loc": { - "start": { - "line": 25, - "column": 20 - }, - "end": { - "line": 25, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "i1", - "range": [ - 453, - 455 - ], - "loc": { - "start": { - "line": 25, - "column": 24 - }, - "end": { - "line": 25, - "column": 26 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 457, - 458 - ], - "loc": { - "start": { - "line": 25, - "column": 28 - }, - "end": { - "line": 25, - "column": 29 - } - } - }, - { - "type": "Identifier", - "name": "j0", - "range": [ - 460, - 462 - ], - "loc": { - "start": { - "line": 25, - "column": 31 - }, - "end": { - "line": 25, - "column": 33 - } - } - }, - { - "type": "Identifier", - "name": "j1", - "range": [ - 464, - 466 - ], - "loc": { - "start": { - "line": 25, - "column": 35 - }, - "end": { - "line": 25, - "column": 37 - } - } - }, - { - "type": "Identifier", - "name": "c", - "range": [ - 468, - 469 - ], - "loc": { - "start": { - "line": 25, - "column": 39 - }, - "end": { - "line": 25, - "column": 40 - } - } - }, - { - "type": "Identifier", - "name": "k0", - "range": [ - 471, - 473 - ], - "loc": { - "start": { - "line": 25, - "column": 42 - }, - "end": { - "line": 25, - "column": 44 - } - } - }, - { - "type": "Identifier", - "name": "k1", - "range": [ - 475, - 477 - ], - "loc": { - "start": { - "line": 25, - "column": 46 - }, - "end": { - "line": 25, - "column": 48 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "t", - "range": [ - 486, - 487 - ], - "loc": { - "start": { - "line": 26, - "column": 6 - }, - "end": { - "line": 26, - "column": 7 - } - } - }, - "init": null, - "range": [ - 486, - 487 - ], - "loc": { - "start": { - "line": 26, - "column": 6 - }, - "end": { - "line": 26, - "column": 7 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "C", - "range": [ - 489, - 490 - ], - "loc": { - "start": { - "line": 26, - "column": 9 - }, - "end": { - "line": 26, - "column": 10 - } - } - }, - "init": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 493, - 494 - ], - "loc": { - "start": { - "line": 26, - "column": 13 - }, - "end": { - "line": 26, - "column": 14 - } - } - }, - "range": [ - 489, - 494 - ], - "loc": { - "start": { - "line": 26, - "column": 9 - }, - "end": { - "line": 26, - "column": 14 - } - } - } - ], - "kind": "var", - "range": [ - 482, - 495 - ], - "loc": { - "start": { - "line": 26, - "column": 2 - }, - "end": { - "line": 26, - "column": 15 - } - } - }, - { - "type": "WhileStatement", - "test": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "j1", - "range": [ - 507, - 509 - ], - "loc": { - "start": { - "line": 28, - "column": 10 - }, - "end": { - "line": 28, - "column": 12 - } - } - }, - "prefix": true, - "range": [ - 505, - 509 - ], - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 12 - } - } - }, - "right": { - "type": "Identifier", - "name": "j0", - "range": [ - 513, - 515 - ], - "loc": { - "start": { - "line": 28, - "column": 16 - }, - "end": { - "line": 28, - "column": 18 - } - } - }, - "range": [ - 505, - 515 - ], - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 18 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "i1", - "range": [ - 523, - 525 - ], - "loc": { - "start": { - "line": 29, - "column": 5 - }, - "end": { - "line": 29, - "column": 7 - } - } - }, - "prefix": true, - "range": [ - 521, - 525 - ], - "loc": { - "start": { - "line": 29, - "column": 3 - }, - "end": { - "line": 29, - "column": 7 - } - } - }, - "range": [ - 521, - 526 - ], - "loc": { - "start": { - "line": 29, - "column": 3 - }, - "end": { - "line": 29, - "column": 8 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "k1", - "range": [ - 529, - 531 - ], - "loc": { - "start": { - "line": 29, - "column": 11 - }, - "end": { - "line": 29, - "column": 13 - } - } - }, - "prefix": true, - "range": [ - 527, - 531 - ], - "loc": { - "start": { - "line": 29, - "column": 9 - }, - "end": { - "line": 29, - "column": 13 - } - } - }, - "range": [ - 527, - 532 - ], - "loc": { - "start": { - "line": 29, - "column": 9 - }, - "end": { - "line": 29, - "column": 14 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "t", - "range": [ - 536, - 537 - ], - "loc": { - "start": { - "line": 30, - "column": 3 - }, - "end": { - "line": 30, - "column": 4 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 540, - 541 - ], - "loc": { - "start": { - "line": 30, - "column": 7 - }, - "end": { - "line": 30, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "name": "i1", - "range": [ - 542, - 544 - ], - "loc": { - "start": { - "line": 30, - "column": 9 - }, - "end": { - "line": 30, - "column": 11 - } - } - }, - "range": [ - 540, - 545 - ], - "loc": { - "start": { - "line": 30, - "column": 7 - }, - "end": { - "line": 30, - "column": 12 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 548, - 549 - ], - "loc": { - "start": { - "line": 30, - "column": 15 - }, - "end": { - "line": 30, - "column": 16 - } - } - }, - "property": { - "type": "Identifier", - "name": "j1", - "range": [ - 550, - 552 - ], - "loc": { - "start": { - "line": 30, - "column": 17 - }, - "end": { - "line": 30, - "column": 19 - } - } - }, - "range": [ - 548, - 553 - ], - "loc": { - "start": { - "line": 30, - "column": 15 - }, - "end": { - "line": 30, - "column": 20 - } - } - }, - "range": [ - 540, - 553 - ], - "loc": { - "start": { - "line": 30, - "column": 7 - }, - "end": { - "line": 30, - "column": 20 - } - } - }, - "right": { - "type": "Identifier", - "name": "C", - "range": [ - 556, - 557 - ], - "loc": { - "start": { - "line": 30, - "column": 23 - }, - "end": { - "line": 30, - "column": 24 - } - } - }, - "range": [ - 540, - 557 - ], - "loc": { - "start": { - "line": 30, - "column": 7 - }, - "end": { - "line": 30, - "column": 24 - } - } - }, - "range": [ - 536, - 557 - ], - "loc": { - "start": { - "line": 30, - "column": 3 - }, - "end": { - "line": 30, - "column": 24 - } - } - }, - "range": [ - 536, - 558 - ], - "loc": { - "start": { - "line": 30, - "column": 3 - }, - "end": { - "line": 30, - "column": 25 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 562, - 563 - ], - "loc": { - "start": { - "line": 31, - "column": 3 - }, - "end": { - "line": 31, - "column": 4 - } - } - }, - "property": { - "type": "Identifier", - "name": "k1", - "range": [ - 564, - 566 - ], - "loc": { - "start": { - "line": 31, - "column": 5 - }, - "end": { - "line": 31, - "column": 7 - } - } - }, - "range": [ - 562, - 567 - ], - "loc": { - "start": { - "line": 31, - "column": 3 - }, - "end": { - "line": 31, - "column": 8 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "%", - "left": { - "type": "Identifier", - "name": "t", - "range": [ - 570, - 571 - ], - "loc": { - "start": { - "line": 31, - "column": 11 - }, - "end": { - "line": 31, - "column": 12 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 574, - 575 - ], - "loc": { - "start": { - "line": 31, - "column": 15 - }, - "end": { - "line": 31, - "column": 16 - } - } - }, - "range": [ - 570, - 575 - ], - "loc": { - "start": { - "line": 31, - "column": 11 - }, - "end": { - "line": 31, - "column": 16 - } - } - }, - "range": [ - 562, - 575 - ], - "loc": { - "start": { - "line": 31, - "column": 3 - }, - "end": { - "line": 31, - "column": 16 - } - } - }, - "range": [ - 562, - 576 - ], - "loc": { - "start": { - "line": 31, - "column": 3 - }, - "end": { - "line": 31, - "column": 17 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "C", - "range": [ - 580, - 581 - ], - "loc": { - "start": { - "line": 32, - "column": 3 - }, - "end": { - "line": 32, - "column": 4 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "BinaryExpression", - "operator": "/", - "left": { - "type": "Identifier", - "name": "t", - "range": [ - 584, - 585 - ], - "loc": { - "start": { - "line": 32, - "column": 7 - }, - "end": { - "line": 32, - "column": 8 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 588, - 589 - ], - "loc": { - "start": { - "line": 32, - "column": 11 - }, - "end": { - "line": 32, - "column": 12 - } - } - }, - "range": [ - 584, - 589 - ], - "loc": { - "start": { - "line": 32, - "column": 7 - }, - "end": { - "line": 32, - "column": 12 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 593, - 594 - ], - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 32, - "column": 17 - } - } - }, - "range": [ - 584, - 594 - ], - "loc": { - "start": { - "line": 32, - "column": 7 - }, - "end": { - "line": 32, - "column": 17 - } - } - }, - "range": [ - 580, - 594 - ], - "loc": { - "start": { - "line": 32, - "column": 3 - }, - "end": { - "line": 32, - "column": 17 - } - } - }, - "range": [ - 580, - 595 - ], - "loc": { - "start": { - "line": 32, - "column": 3 - }, - "end": { - "line": 32, - "column": 18 - } - } - } - ], - "range": [ - 516, - 599 - ], - "loc": { - "start": { - "line": 28, - "column": 19 - }, - "end": { - "line": 33, - "column": 3 - } - } - }, - "range": [ - 499, - 599 - ], - "loc": { - "start": { - "line": 28, - "column": 2 - }, - "end": { - "line": 33, - "column": 3 - } - } - }, - { - "type": "WhileStatement", - "test": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "i1", - "range": [ - 611, - 613 - ], - "loc": { - "start": { - "line": 35, - "column": 10 - }, - "end": { - "line": 35, - "column": 12 - } - } - }, - "prefix": true, - "range": [ - 609, - 613 - ], - "loc": { - "start": { - "line": 35, - "column": 8 - }, - "end": { - "line": 35, - "column": 12 - } - } - }, - "right": { - "type": "Identifier", - "name": "i0", - "range": [ - 617, - 619 - ], - "loc": { - "start": { - "line": 35, - "column": 16 - }, - "end": { - "line": 35, - "column": 18 - } - } - }, - "range": [ - 609, - 619 - ], - "loc": { - "start": { - "line": 35, - "column": 8 - }, - "end": { - "line": 35, - "column": 18 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "k1", - "range": [ - 627, - 629 - ], - "loc": { - "start": { - "line": 36, - "column": 5 - }, - "end": { - "line": 36, - "column": 7 - } - } - }, - "prefix": true, - "range": [ - 625, - 629 - ], - "loc": { - "start": { - "line": 36, - "column": 3 - }, - "end": { - "line": 36, - "column": 7 - } - } - }, - "range": [ - 625, - 630 - ], - "loc": { - "start": { - "line": 36, - "column": 3 - }, - "end": { - "line": 36, - "column": 8 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "t", - "range": [ - 634, - 635 - ], - "loc": { - "start": { - "line": 37, - "column": 3 - }, - "end": { - "line": 37, - "column": 4 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 638, - 639 - ], - "loc": { - "start": { - "line": 37, - "column": 7 - }, - "end": { - "line": 37, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "name": "i1", - "range": [ - 640, - 642 - ], - "loc": { - "start": { - "line": 37, - "column": 9 - }, - "end": { - "line": 37, - "column": 11 - } - } - }, - "range": [ - 638, - 643 - ], - "loc": { - "start": { - "line": 37, - "column": 7 - }, - "end": { - "line": 37, - "column": 12 - } - } - }, - "right": { - "type": "Identifier", - "name": "C", - "range": [ - 646, - 647 - ], - "loc": { - "start": { - "line": 37, - "column": 15 - }, - "end": { - "line": 37, - "column": 16 - } - } - }, - "range": [ - 638, - 647 - ], - "loc": { - "start": { - "line": 37, - "column": 7 - }, - "end": { - "line": 37, - "column": 16 - } - } - }, - "range": [ - 634, - 647 - ], - "loc": { - "start": { - "line": 37, - "column": 3 - }, - "end": { - "line": 37, - "column": 16 - } - } - }, - "range": [ - 634, - 648 - ], - "loc": { - "start": { - "line": 37, - "column": 3 - }, - "end": { - "line": 37, - "column": 17 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 652, - 653 - ], - "loc": { - "start": { - "line": 38, - "column": 3 - }, - "end": { - "line": 38, - "column": 4 - } - } - }, - "property": { - "type": "Identifier", - "name": "k1", - "range": [ - 654, - 656 - ], - "loc": { - "start": { - "line": 38, - "column": 5 - }, - "end": { - "line": 38, - "column": 7 - } - } - }, - "range": [ - 652, - 657 - ], - "loc": { - "start": { - "line": 38, - "column": 3 - }, - "end": { - "line": 38, - "column": 8 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "%", - "left": { - "type": "Identifier", - "name": "t", - "range": [ - 660, - 661 - ], - "loc": { - "start": { - "line": 38, - "column": 11 - }, - "end": { - "line": 38, - "column": 12 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 664, - 665 - ], - "loc": { - "start": { - "line": 38, - "column": 15 - }, - "end": { - "line": 38, - "column": 16 - } - } - }, - "range": [ - 660, - 665 - ], - "loc": { - "start": { - "line": 38, - "column": 11 - }, - "end": { - "line": 38, - "column": 16 - } - } - }, - "range": [ - 652, - 665 - ], - "loc": { - "start": { - "line": 38, - "column": 3 - }, - "end": { - "line": 38, - "column": 16 - } - } - }, - "range": [ - 652, - 666 - ], - "loc": { - "start": { - "line": 38, - "column": 3 - }, - "end": { - "line": 38, - "column": 17 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "C", - "range": [ - 670, - 671 - ], - "loc": { - "start": { - "line": 39, - "column": 3 - }, - "end": { - "line": 39, - "column": 4 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "BinaryExpression", - "operator": "/", - "left": { - "type": "Identifier", - "name": "t", - "range": [ - 674, - 675 - ], - "loc": { - "start": { - "line": 39, - "column": 7 - }, - "end": { - "line": 39, - "column": 8 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 678, - 679 - ], - "loc": { - "start": { - "line": 39, - "column": 11 - }, - "end": { - "line": 39, - "column": 12 - } - } - }, - "range": [ - 674, - 679 - ], - "loc": { - "start": { - "line": 39, - "column": 7 - }, - "end": { - "line": 39, - "column": 12 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 683, - 684 - ], - "loc": { - "start": { - "line": 39, - "column": 16 - }, - "end": { - "line": 39, - "column": 17 - } - } - }, - "range": [ - 674, - 684 - ], - "loc": { - "start": { - "line": 39, - "column": 7 - }, - "end": { - "line": 39, - "column": 17 - } - } - }, - "range": [ - 670, - 684 - ], - "loc": { - "start": { - "line": 39, - "column": 3 - }, - "end": { - "line": 39, - "column": 17 - } - } - }, - "range": [ - 670, - 685 - ], - "loc": { - "start": { - "line": 39, - "column": 3 - }, - "end": { - "line": 39, - "column": 18 - } - } - } - ], - "range": [ - 620, - 689 - ], - "loc": { - "start": { - "line": 35, - "column": 19 - }, - "end": { - "line": 40, - "column": 3 - } - } - }, - "range": [ - 603, - 689 - ], - "loc": { - "start": { - "line": 35, - "column": 2 - }, - "end": { - "line": 40, - "column": 3 - } - } - }, - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "k1", - "range": [ - 698, - 700 - ], - "loc": { - "start": { - "line": 42, - "column": 7 - }, - "end": { - "line": 42, - "column": 9 - } - } - }, - "prefix": true, - "range": [ - 696, - 700 - ], - "loc": { - "start": { - "line": 42, - "column": 5 - }, - "end": { - "line": 42, - "column": 9 - } - } - }, - "right": { - "type": "Identifier", - "name": "k0", - "range": [ - 704, - 706 - ], - "loc": { - "start": { - "line": 42, - "column": 13 - }, - "end": { - "line": 42, - "column": 15 - } - } - }, - "range": [ - 696, - 706 - ], - "loc": { - "start": { - "line": 42, - "column": 5 - }, - "end": { - "line": 42, - "column": 15 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 712, - 713 - ], - "loc": { - "start": { - "line": 43, - "column": 3 - }, - "end": { - "line": 43, - "column": 4 - } - } - }, - "property": { - "type": "Identifier", - "name": "k1", - "range": [ - 714, - 716 - ], - "loc": { - "start": { - "line": 43, - "column": 5 - }, - "end": { - "line": 43, - "column": 7 - } - } - }, - "range": [ - 712, - 717 - ], - "loc": { - "start": { - "line": 43, - "column": 3 - }, - "end": { - "line": 43, - "column": 8 - } - } - }, - "right": { - "type": "UnaryExpression", - "operator": "+", - "argument": { - "type": "Identifier", - "name": "C", - "range": [ - 721, - 722 - ], - "loc": { - "start": { - "line": 43, - "column": 12 - }, - "end": { - "line": 43, - "column": 13 - } - } - }, - "prefix": true, - "range": [ - 720, - 722 - ], - "loc": { - "start": { - "line": 43, - "column": 11 - }, - "end": { - "line": 43, - "column": 13 - } - } - }, - "range": [ - 712, - 722 - ], - "loc": { - "start": { - "line": 43, - "column": 3 - }, - "end": { - "line": 43, - "column": 13 - } - } - }, - "range": [ - 712, - 723 - ], - "loc": { - "start": { - "line": 43, - "column": 3 - }, - "end": { - "line": 43, - "column": 14 - } - } - } - ], - "range": [ - 707, - 727 - ], - "loc": { - "start": { - "line": 42, - "column": 16 - }, - "end": { - "line": 44, - "column": 3 - } - } - }, - "alternate": null, - "range": [ - 693, - 727 - ], - "loc": { - "start": { - "line": 42, - "column": 2 - }, - "end": { - "line": 44, - "column": 3 - } - } - } - ], - "range": [ - 478, - 731 - ], - "loc": { - "start": { - "line": 25, - "column": 49 - }, - "end": { - "line": 46, - "column": 2 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 437, - 731 - ], - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 46, - "column": 2 - } - } - }, - "range": [ - 430, - 732 - ], - "loc": { - "start": { - "line": 25, - "column": 1 - }, - "end": { - "line": 46, - "column": 3 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n\t * Adds two big endian arrays, k >= i >= j\n\t * wraps\n\t *\n\t * @param {array} a first operand\n\t * @param {int} i0 a left\n\t * @param {int} i1 a right\n\t * @param {array} b second operand\n\t * @param {int} j0 b left\n\t * @param {int} j1 b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} k0 c left\n\t * @param {int} k1 c right\n\t ", - "range": [ - 74, - 427 - ], - "loc": { - "start": { - "line": 10, - "column": 1 - }, - "end": { - "line": 23, - "column": 4 - } - } - } - ] - } - ], - "range": [ - 69, - 735 - ], - "loc": { - "start": { - "line": 7, - "column": 27 - }, - "end": { - "line": 48, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 49, - 735 - ], - "loc": { - "start": { - "line": 7, - "column": 7 - }, - "end": { - "line": 48, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * @param {int} r base (radix)\n ", - "range": [ - 1, - 39 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 4, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "Block", - "value": "*\n * @param {int} r base (radix)\n ", - "range": [ - 738, - 776 - ], - "loc": { - "start": { - "line": 51, - "column": 0 - }, - "end": { - "line": 53, - "column": 3 - } - } - } - ] - }, - "specifiers": [], - "source": null, - "range": [ - 42, - 735 - ], - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 48, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * @param {int} r base (radix)\n ", - "range": [ - 1, - 39 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 4, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "Block", - "value": "*\n * @param {int} r base (radix)\n ", - "range": [ - 738, - 776 - ], - "loc": { - "start": { - "line": 51, - "column": 0 - }, - "end": { - "line": 53, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "ladd_t", - "range": [ - 794, - 800 - ], - "loc": { - "start": { - "line": 55, - "column": 16 - }, - "end": { - "line": 55, - "column": 22 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "r", - "range": [ - 801, - 802 - ], - "loc": { - "start": { - "line": 55, - "column": 23 - }, - "end": { - "line": 55, - "column": 24 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ReturnStatement", - "argument": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 1182, - 1183 - ], - "loc": { - "start": { - "line": 72, - "column": 17 - }, - "end": { - "line": 72, - "column": 18 - } - } - }, - { - "type": "Identifier", - "name": "i0", - "range": [ - 1185, - 1187 - ], - "loc": { - "start": { - "line": 72, - "column": 20 - }, - "end": { - "line": 72, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "i1", - "range": [ - 1189, - 1191 - ], - "loc": { - "start": { - "line": 72, - "column": 24 - }, - "end": { - "line": 72, - "column": 26 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 1193, - 1194 - ], - "loc": { - "start": { - "line": 72, - "column": 28 - }, - "end": { - "line": 72, - "column": 29 - } - } - }, - { - "type": "Identifier", - "name": "j0", - "range": [ - 1196, - 1198 - ], - "loc": { - "start": { - "line": 72, - "column": 31 - }, - "end": { - "line": 72, - "column": 33 - } - } - }, - { - "type": "Identifier", - "name": "j1", - "range": [ - 1200, - 1202 - ], - "loc": { - "start": { - "line": 72, - "column": 35 - }, - "end": { - "line": 72, - "column": 37 - } - } - }, - { - "type": "Identifier", - "name": "c", - "range": [ - 1204, - 1205 - ], - "loc": { - "start": { - "line": 72, - "column": 39 - }, - "end": { - "line": 72, - "column": 40 - } - } - }, - { - "type": "Identifier", - "name": "k0", - "range": [ - 1207, - 1209 - ], - "loc": { - "start": { - "line": 72, - "column": 42 - }, - "end": { - "line": 72, - "column": 44 - } - } - }, - { - "type": "Identifier", - "name": "k1", - "range": [ - 1211, - 1213 - ], - "loc": { - "start": { - "line": 72, - "column": 46 - }, - "end": { - "line": 72, - "column": 48 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "t", - "range": [ - 1222, - 1223 - ], - "loc": { - "start": { - "line": 73, - "column": 6 - }, - "end": { - "line": 73, - "column": 7 - } - } - }, - "init": null, - "range": [ - 1222, - 1223 - ], - "loc": { - "start": { - "line": 73, - "column": 6 - }, - "end": { - "line": 73, - "column": 7 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "C", - "range": [ - 1225, - 1226 - ], - "loc": { - "start": { - "line": 73, - "column": 9 - }, - "end": { - "line": 73, - "column": 10 - } - } - }, - "init": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 1229, - 1230 - ], - "loc": { - "start": { - "line": 73, - "column": 13 - }, - "end": { - "line": 73, - "column": 14 - } - } - }, - "range": [ - 1225, - 1230 - ], - "loc": { - "start": { - "line": 73, - "column": 9 - }, - "end": { - "line": 73, - "column": 14 - } - } - } - ], - "kind": "var", - "range": [ - 1218, - 1231 - ], - "loc": { - "start": { - "line": 73, - "column": 2 - }, - "end": { - "line": 73, - "column": 15 - } - } - }, - { - "type": "WhileStatement", - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "j0", - "range": [ - 1241, - 1243 - ], - "loc": { - "start": { - "line": 75, - "column": 8 - }, - "end": { - "line": 75, - "column": 10 - } - } - }, - "right": { - "type": "Identifier", - "name": "j1", - "range": [ - 1246, - 1248 - ], - "loc": { - "start": { - "line": 75, - "column": 13 - }, - "end": { - "line": 75, - "column": 15 - } - } - }, - "range": [ - 1241, - 1248 - ], - "loc": { - "start": { - "line": 75, - "column": 8 - }, - "end": { - "line": 75, - "column": 15 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "t", - "range": [ - 1254, - 1255 - ], - "loc": { - "start": { - "line": 76, - "column": 3 - }, - "end": { - "line": 76, - "column": 4 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 1258, - 1259 - ], - "loc": { - "start": { - "line": 76, - "column": 7 - }, - "end": { - "line": 76, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "name": "i0", - "range": [ - 1260, - 1262 - ], - "loc": { - "start": { - "line": 76, - "column": 9 - }, - "end": { - "line": 76, - "column": 11 - } - } - }, - "range": [ - 1258, - 1263 - ], - "loc": { - "start": { - "line": 76, - "column": 7 - }, - "end": { - "line": 76, - "column": 12 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 1266, - 1267 - ], - "loc": { - "start": { - "line": 76, - "column": 15 - }, - "end": { - "line": 76, - "column": 16 - } - } - }, - "property": { - "type": "Identifier", - "name": "j0", - "range": [ - 1268, - 1270 - ], - "loc": { - "start": { - "line": 76, - "column": 17 - }, - "end": { - "line": 76, - "column": 19 - } - } - }, - "range": [ - 1266, - 1271 - ], - "loc": { - "start": { - "line": 76, - "column": 15 - }, - "end": { - "line": 76, - "column": 20 - } - } - }, - "range": [ - 1258, - 1271 - ], - "loc": { - "start": { - "line": 76, - "column": 7 - }, - "end": { - "line": 76, - "column": 20 - } - } - }, - "right": { - "type": "Identifier", - "name": "C", - "range": [ - 1274, - 1275 - ], - "loc": { - "start": { - "line": 76, - "column": 23 - }, - "end": { - "line": 76, - "column": 24 - } - } - }, - "range": [ - 1258, - 1275 - ], - "loc": { - "start": { - "line": 76, - "column": 7 - }, - "end": { - "line": 76, - "column": 24 - } - } - }, - "range": [ - 1254, - 1275 - ], - "loc": { - "start": { - "line": 76, - "column": 3 - }, - "end": { - "line": 76, - "column": 24 - } - } - }, - "range": [ - 1254, - 1276 - ], - "loc": { - "start": { - "line": 76, - "column": 3 - }, - "end": { - "line": 76, - "column": 25 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 1280, - 1281 - ], - "loc": { - "start": { - "line": 77, - "column": 3 - }, - "end": { - "line": 77, - "column": 4 - } - } - }, - "property": { - "type": "Identifier", - "name": "k0", - "range": [ - 1282, - 1284 - ], - "loc": { - "start": { - "line": 77, - "column": 5 - }, - "end": { - "line": 77, - "column": 7 - } - } - }, - "range": [ - 1280, - 1285 - ], - "loc": { - "start": { - "line": 77, - "column": 3 - }, - "end": { - "line": 77, - "column": 8 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "%", - "left": { - "type": "Identifier", - "name": "t", - "range": [ - 1288, - 1289 - ], - "loc": { - "start": { - "line": 77, - "column": 11 - }, - "end": { - "line": 77, - "column": 12 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 1292, - 1293 - ], - "loc": { - "start": { - "line": 77, - "column": 15 - }, - "end": { - "line": 77, - "column": 16 - } - } - }, - "range": [ - 1288, - 1293 - ], - "loc": { - "start": { - "line": 77, - "column": 11 - }, - "end": { - "line": 77, - "column": 16 - } - } - }, - "range": [ - 1280, - 1293 - ], - "loc": { - "start": { - "line": 77, - "column": 3 - }, - "end": { - "line": 77, - "column": 16 - } - } - }, - "range": [ - 1280, - 1294 - ], - "loc": { - "start": { - "line": 77, - "column": 3 - }, - "end": { - "line": 77, - "column": 17 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "C", - "range": [ - 1298, - 1299 - ], - "loc": { - "start": { - "line": 78, - "column": 3 - }, - "end": { - "line": 78, - "column": 4 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "BinaryExpression", - "operator": "/", - "left": { - "type": "Identifier", - "name": "t", - "range": [ - 1302, - 1303 - ], - "loc": { - "start": { - "line": 78, - "column": 7 - }, - "end": { - "line": 78, - "column": 8 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 1306, - 1307 - ], - "loc": { - "start": { - "line": 78, - "column": 11 - }, - "end": { - "line": 78, - "column": 12 - } - } - }, - "range": [ - 1302, - 1307 - ], - "loc": { - "start": { - "line": 78, - "column": 7 - }, - "end": { - "line": 78, - "column": 12 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 1311, - 1312 - ], - "loc": { - "start": { - "line": 78, - "column": 16 - }, - "end": { - "line": 78, - "column": 17 - } - } - }, - "range": [ - 1302, - 1312 - ], - "loc": { - "start": { - "line": 78, - "column": 7 - }, - "end": { - "line": 78, - "column": 17 - } - } - }, - "range": [ - 1298, - 1312 - ], - "loc": { - "start": { - "line": 78, - "column": 3 - }, - "end": { - "line": 78, - "column": 17 - } - } - }, - "range": [ - 1298, - 1313 - ], - "loc": { - "start": { - "line": 78, - "column": 3 - }, - "end": { - "line": 78, - "column": 18 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "i0", - "range": [ - 1319, - 1321 - ], - "loc": { - "start": { - "line": 79, - "column": 5 - }, - "end": { - "line": 79, - "column": 7 - } - } - }, - "prefix": true, - "range": [ - 1317, - 1321 - ], - "loc": { - "start": { - "line": 79, - "column": 3 - }, - "end": { - "line": 79, - "column": 7 - } - } - }, - "range": [ - 1317, - 1322 - ], - "loc": { - "start": { - "line": 79, - "column": 3 - }, - "end": { - "line": 79, - "column": 8 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "j0", - "range": [ - 1325, - 1327 - ], - "loc": { - "start": { - "line": 79, - "column": 11 - }, - "end": { - "line": 79, - "column": 13 - } - } - }, - "prefix": true, - "range": [ - 1323, - 1327 - ], - "loc": { - "start": { - "line": 79, - "column": 9 - }, - "end": { - "line": 79, - "column": 13 - } - } - }, - "range": [ - 1323, - 1328 - ], - "loc": { - "start": { - "line": 79, - "column": 9 - }, - "end": { - "line": 79, - "column": 14 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "k0", - "range": [ - 1331, - 1333 - ], - "loc": { - "start": { - "line": 79, - "column": 17 - }, - "end": { - "line": 79, - "column": 19 - } - } - }, - "prefix": true, - "range": [ - 1329, - 1333 - ], - "loc": { - "start": { - "line": 79, - "column": 15 - }, - "end": { - "line": 79, - "column": 19 - } - } - }, - "range": [ - 1329, - 1334 - ], - "loc": { - "start": { - "line": 79, - "column": 15 - }, - "end": { - "line": 79, - "column": 20 - } - } - } - ], - "range": [ - 1249, - 1338 - ], - "loc": { - "start": { - "line": 75, - "column": 16 - }, - "end": { - "line": 80, - "column": 3 - } - } - }, - "range": [ - 1235, - 1338 - ], - "loc": { - "start": { - "line": 75, - "column": 2 - }, - "end": { - "line": 80, - "column": 3 - } - } - }, - { - "type": "WhileStatement", - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "i0", - "range": [ - 1348, - 1350 - ], - "loc": { - "start": { - "line": 82, - "column": 8 - }, - "end": { - "line": 82, - "column": 10 - } - } - }, - "right": { - "type": "Identifier", - "name": "i1", - "range": [ - 1353, - 1355 - ], - "loc": { - "start": { - "line": 82, - "column": 13 - }, - "end": { - "line": 82, - "column": 15 - } - } - }, - "range": [ - 1348, - 1355 - ], - "loc": { - "start": { - "line": 82, - "column": 8 - }, - "end": { - "line": 82, - "column": 15 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "t", - "range": [ - 1361, - 1362 - ], - "loc": { - "start": { - "line": 83, - "column": 3 - }, - "end": { - "line": 83, - "column": 4 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 1365, - 1366 - ], - "loc": { - "start": { - "line": 83, - "column": 7 - }, - "end": { - "line": 83, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "name": "i0", - "range": [ - 1367, - 1369 - ], - "loc": { - "start": { - "line": 83, - "column": 9 - }, - "end": { - "line": 83, - "column": 11 - } - } - }, - "range": [ - 1365, - 1370 - ], - "loc": { - "start": { - "line": 83, - "column": 7 - }, - "end": { - "line": 83, - "column": 12 - } - } - }, - "right": { - "type": "Identifier", - "name": "C", - "range": [ - 1373, - 1374 - ], - "loc": { - "start": { - "line": 83, - "column": 15 - }, - "end": { - "line": 83, - "column": 16 - } - } - }, - "range": [ - 1365, - 1374 - ], - "loc": { - "start": { - "line": 83, - "column": 7 - }, - "end": { - "line": 83, - "column": 16 - } - } - }, - "range": [ - 1361, - 1374 - ], - "loc": { - "start": { - "line": 83, - "column": 3 - }, - "end": { - "line": 83, - "column": 16 - } - } - }, - "range": [ - 1361, - 1375 - ], - "loc": { - "start": { - "line": 83, - "column": 3 - }, - "end": { - "line": 83, - "column": 17 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 1379, - 1380 - ], - "loc": { - "start": { - "line": 84, - "column": 3 - }, - "end": { - "line": 84, - "column": 4 - } - } - }, - "property": { - "type": "Identifier", - "name": "k0", - "range": [ - 1381, - 1383 - ], - "loc": { - "start": { - "line": 84, - "column": 5 - }, - "end": { - "line": 84, - "column": 7 - } - } - }, - "range": [ - 1379, - 1384 - ], - "loc": { - "start": { - "line": 84, - "column": 3 - }, - "end": { - "line": 84, - "column": 8 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "%", - "left": { - "type": "Identifier", - "name": "t", - "range": [ - 1387, - 1388 - ], - "loc": { - "start": { - "line": 84, - "column": 11 - }, - "end": { - "line": 84, - "column": 12 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 1391, - 1392 - ], - "loc": { - "start": { - "line": 84, - "column": 15 - }, - "end": { - "line": 84, - "column": 16 - } - } - }, - "range": [ - 1387, - 1392 - ], - "loc": { - "start": { - "line": 84, - "column": 11 - }, - "end": { - "line": 84, - "column": 16 - } - } - }, - "range": [ - 1379, - 1392 - ], - "loc": { - "start": { - "line": 84, - "column": 3 - }, - "end": { - "line": 84, - "column": 16 - } - } - }, - "range": [ - 1379, - 1393 - ], - "loc": { - "start": { - "line": 84, - "column": 3 - }, - "end": { - "line": 84, - "column": 17 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "C", - "range": [ - 1397, - 1398 - ], - "loc": { - "start": { - "line": 85, - "column": 3 - }, - "end": { - "line": 85, - "column": 4 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "BinaryExpression", - "operator": "/", - "left": { - "type": "Identifier", - "name": "t", - "range": [ - 1401, - 1402 - ], - "loc": { - "start": { - "line": 85, - "column": 7 - }, - "end": { - "line": 85, - "column": 8 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 1405, - 1406 - ], - "loc": { - "start": { - "line": 85, - "column": 11 - }, - "end": { - "line": 85, - "column": 12 - } - } - }, - "range": [ - 1401, - 1406 - ], - "loc": { - "start": { - "line": 85, - "column": 7 - }, - "end": { - "line": 85, - "column": 12 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 1410, - 1411 - ], - "loc": { - "start": { - "line": 85, - "column": 16 - }, - "end": { - "line": 85, - "column": 17 - } - } - }, - "range": [ - 1401, - 1411 - ], - "loc": { - "start": { - "line": 85, - "column": 7 - }, - "end": { - "line": 85, - "column": 17 - } - } - }, - "range": [ - 1397, - 1411 - ], - "loc": { - "start": { - "line": 85, - "column": 3 - }, - "end": { - "line": 85, - "column": 17 - } - } - }, - "range": [ - 1397, - 1412 - ], - "loc": { - "start": { - "line": 85, - "column": 3 - }, - "end": { - "line": 85, - "column": 18 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "i0", - "range": [ - 1418, - 1420 - ], - "loc": { - "start": { - "line": 86, - "column": 5 - }, - "end": { - "line": 86, - "column": 7 - } - } - }, - "prefix": true, - "range": [ - 1416, - 1420 - ], - "loc": { - "start": { - "line": 86, - "column": 3 - }, - "end": { - "line": 86, - "column": 7 - } - } - }, - "range": [ - 1416, - 1421 - ], - "loc": { - "start": { - "line": 86, - "column": 3 - }, - "end": { - "line": 86, - "column": 8 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "k0", - "range": [ - 1424, - 1426 - ], - "loc": { - "start": { - "line": 86, - "column": 11 - }, - "end": { - "line": 86, - "column": 13 - } - } - }, - "prefix": true, - "range": [ - 1422, - 1426 - ], - "loc": { - "start": { - "line": 86, - "column": 9 - }, - "end": { - "line": 86, - "column": 13 - } - } - }, - "range": [ - 1422, - 1427 - ], - "loc": { - "start": { - "line": 86, - "column": 9 - }, - "end": { - "line": 86, - "column": 14 - } - } - } - ], - "range": [ - 1356, - 1431 - ], - "loc": { - "start": { - "line": 82, - "column": 16 - }, - "end": { - "line": 87, - "column": 3 - } - } - }, - "range": [ - 1342, - 1431 - ], - "loc": { - "start": { - "line": 82, - "column": 2 - }, - "end": { - "line": 87, - "column": 3 - } - } - }, - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "k0", - "range": [ - 1438, - 1440 - ], - "loc": { - "start": { - "line": 89, - "column": 5 - }, - "end": { - "line": 89, - "column": 7 - } - } - }, - "right": { - "type": "Identifier", - "name": "k1", - "range": [ - 1443, - 1445 - ], - "loc": { - "start": { - "line": 89, - "column": 10 - }, - "end": { - "line": 89, - "column": 12 - } - } - }, - "range": [ - 1438, - 1445 - ], - "loc": { - "start": { - "line": 89, - "column": 5 - }, - "end": { - "line": 89, - "column": 12 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 1451, - 1452 - ], - "loc": { - "start": { - "line": 90, - "column": 3 - }, - "end": { - "line": 90, - "column": 4 - } - } - }, - "property": { - "type": "Identifier", - "name": "k0", - "range": [ - 1453, - 1455 - ], - "loc": { - "start": { - "line": 90, - "column": 5 - }, - "end": { - "line": 90, - "column": 7 - } - } - }, - "range": [ - 1451, - 1456 - ], - "loc": { - "start": { - "line": 90, - "column": 3 - }, - "end": { - "line": 90, - "column": 8 - } - } - }, - "right": { - "type": "UnaryExpression", - "operator": "+", - "argument": { - "type": "Identifier", - "name": "C", - "range": [ - 1460, - 1461 - ], - "loc": { - "start": { - "line": 90, - "column": 12 - }, - "end": { - "line": 90, - "column": 13 - } - } - }, - "prefix": true, - "range": [ - 1459, - 1461 - ], - "loc": { - "start": { - "line": 90, - "column": 11 - }, - "end": { - "line": 90, - "column": 13 - } - } - }, - "range": [ - 1451, - 1461 - ], - "loc": { - "start": { - "line": 90, - "column": 3 - }, - "end": { - "line": 90, - "column": 13 - } - } - }, - "range": [ - 1451, - 1462 - ], - "loc": { - "start": { - "line": 90, - "column": 3 - }, - "end": { - "line": 90, - "column": 14 - } - } - } - ], - "range": [ - 1446, - 1466 - ], - "loc": { - "start": { - "line": 89, - "column": 13 - }, - "end": { - "line": 91, - "column": 3 - } - } - }, - "alternate": null, - "range": [ - 1435, - 1466 - ], - "loc": { - "start": { - "line": 89, - "column": 2 - }, - "end": { - "line": 91, - "column": 3 - } - } - } - ], - "range": [ - 1214, - 1470 - ], - "loc": { - "start": { - "line": 72, - "column": 49 - }, - "end": { - "line": 93, - "column": 2 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 1173, - 1470 - ], - "loc": { - "start": { - "line": 72, - "column": 8 - }, - "end": { - "line": 93, - "column": 2 - } - } - }, - "range": [ - 1166, - 1471 - ], - "loc": { - "start": { - "line": 72, - "column": 1 - }, - "end": { - "line": 93, - "column": 3 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n\t * Adds two little endian arrays, k >= i >= j\n\t * wraps\n\t *\n\t * @param {array} a first operand\n\t * @param {int} i0 a left\n\t * @param {int} i1 a right\n\t * @param {array} b second operand\n\t * @param {int} j0 b left\n\t * @param {int} j1 b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} k0 c left\n\t * @param {int} k1 c right\n\t ", - "range": [ - 807, - 1163 - ], - "loc": { - "start": { - "line": 57, - "column": 1 - }, - "end": { - "line": 70, - "column": 4 - } - } - } - ] - } - ], - "range": [ - 803, - 1473 - ], - "loc": { - "start": { - "line": 55, - "column": 25 - }, - "end": { - "line": 94, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 785, - 1473 - ], - "loc": { - "start": { - "line": 55, - "column": 7 - }, - "end": { - "line": 94, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * @param {int} r base (radix)\n ", - "range": [ - 738, - 776 - ], - "loc": { - "start": { - "line": 51, - "column": 0 - }, - "end": { - "line": 53, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 778, - 1473 - ], - "loc": { - "start": { - "line": 55, - "column": 0 - }, - "end": { - "line": 94, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * @param {int} r base (radix)\n ", - "range": [ - 738, - 776 - ], - "loc": { - "start": { - "line": 51, - "column": 0 - }, - "end": { - "line": 53, - "column": 3 - } - } - } - ] - } - ], - "sourceType": "module", - "range": [ - 42, - 1473 - ], - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 94, - "column": 1 - } - }, - "comments": [ - { - "type": "Block", - "value": "*\n * @param {int} r base (radix)\n ", - "range": [ - 1, - 39 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 4, - "column": 3 - } - } - }, - { - "type": "Block", - "value": "*\n\t * Adds two big endian arrays, k >= i >= j\n\t * wraps\n\t *\n\t * @param {array} a first operand\n\t * @param {int} i0 a left\n\t * @param {int} i1 a right\n\t * @param {array} b second operand\n\t * @param {int} j0 b left\n\t * @param {int} j1 b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} k0 c left\n\t * @param {int} k1 c right\n\t ", - "range": [ - 74, - 427 - ], - "loc": { - "start": { - "line": 10, - "column": 1 - }, - "end": { - "line": 23, - "column": 4 - } - } - }, - { - "type": "Block", - "value": "*\n * @param {int} r base (radix)\n ", - "range": [ - 738, - 776 - ], - "loc": { - "start": { - "line": 51, - "column": 0 - }, - "end": { - "line": 53, - "column": 3 - } - } - }, - { - "type": "Block", - "value": "*\n\t * Adds two little endian arrays, k >= i >= j\n\t * wraps\n\t *\n\t * @param {array} a first operand\n\t * @param {int} i0 a left\n\t * @param {int} i1 a right\n\t * @param {array} b second operand\n\t * @param {int} j0 b left\n\t * @param {int} j1 b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} k0 c left\n\t * @param {int} k1 c right\n\t ", - "range": [ - 807, - 1163 - ], - "loc": { - "start": { - "line": 57, - "column": 1 - }, - "end": { - "line": 70, - "column": 4 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/add/index.js.json b/ast/source/0-legacy/arithmetic/add/index.js.json deleted file mode 100644 index fe01cb4..0000000 --- a/ast/source/0-legacy/arithmetic/add/index.js.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./add", - "raw": "'./add'", - "range": [ - 14, - 21 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 21 - } - } - }, - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/div/dcdiv.js.json b/ast/source/0-legacy/arithmetic/div/dcdiv.js.json deleted file mode 100644 index 8adf8d7..0000000 --- a/ast/source/0-legacy/arithmetic/div/dcdiv.js.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "type": "Program", - "body": [], - "sourceType": "module", - "range": [ - 63, - 63 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 0 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " https://gmplib.org/manual/Divide-and-Conquer-Division.html", - "range": [ - 1, - 62 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 61 - } - } - } - ], - "comments": [ - { - "type": "Line", - "value": " https://gmplib.org/manual/Divide-and-Conquer-Division.html", - "range": [ - 1, - 62 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 61 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/div/div.js.json b/ast/source/0-legacy/arithmetic/div/div.js.json deleted file mode 100644 index 0d17cf7..0000000 --- a/ast/source/0-legacy/arithmetic/div/div.js.json +++ /dev/null @@ -1,2725 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "bdiv_t", - "range": [ - 19, - 25 - ], - "loc": { - "start": { - "line": 4, - "column": 16 - }, - "end": { - "line": 4, - "column": 22 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "lt", - "range": [ - 27, - 29 - ], - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 4, - "column": 26 - } - } - }, - { - "type": "Identifier", - "name": "sub", - "range": [ - 31, - 34 - ], - "loc": { - "start": { - "line": 4, - "column": 28 - }, - "end": { - "line": 4, - "column": 31 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "div", - "range": [ - 763, - 766 - ], - "loc": { - "start": { - "line": 32, - "column": 5 - }, - "end": { - "line": 32, - "column": 8 - } - } - }, - "init": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "r", - "range": [ - 778, - 779 - ], - "loc": { - "start": { - "line": 32, - "column": 20 - }, - "end": { - "line": 32, - "column": 21 - } - } - }, - { - "type": "Identifier", - "name": "ri", - "range": [ - 781, - 783 - ], - "loc": { - "start": { - "line": 32, - "column": 23 - }, - "end": { - "line": 32, - "column": 25 - } - } - }, - { - "type": "Identifier", - "name": "rj", - "range": [ - 785, - 787 - ], - "loc": { - "start": { - "line": 32, - "column": 27 - }, - "end": { - "line": 32, - "column": 29 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 789, - 790 - ], - "loc": { - "start": { - "line": 32, - "column": 31 - }, - "end": { - "line": 32, - "column": 32 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 792, - 794 - ], - "loc": { - "start": { - "line": 32, - "column": 34 - }, - "end": { - "line": 32, - "column": 36 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 796, - 798 - ], - "loc": { - "start": { - "line": 32, - "column": 38 - }, - "end": { - "line": 32, - "column": 40 - } - } - }, - { - "type": "Identifier", - "name": "q", - "range": [ - 800, - 801 - ], - "loc": { - "start": { - "line": 32, - "column": 42 - }, - "end": { - "line": 32, - "column": 43 - } - } - }, - { - "type": "Identifier", - "name": "qi", - "range": [ - 803, - 805 - ], - "loc": { - "start": { - "line": 32, - "column": 45 - }, - "end": { - "line": 32, - "column": 47 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "k", - "range": [ - 814, - 815 - ], - "loc": { - "start": { - "line": 33, - "column": 6 - }, - "end": { - "line": 33, - "column": 7 - } - } - }, - "init": null, - "range": [ - 814, - 815 - ], - "loc": { - "start": { - "line": 33, - "column": 6 - }, - "end": { - "line": 33, - "column": 7 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "t", - "range": [ - 817, - 818 - ], - "loc": { - "start": { - "line": 33, - "column": 9 - }, - "end": { - "line": 33, - "column": 10 - } - } - }, - "init": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "ri", - "range": [ - 821, - 823 - ], - "loc": { - "start": { - "line": 33, - "column": 13 - }, - "end": { - "line": 33, - "column": 15 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 826, - 827 - ], - "loc": { - "start": { - "line": 33, - "column": 18 - }, - "end": { - "line": 33, - "column": 19 - } - } - }, - "range": [ - 821, - 827 - ], - "loc": { - "start": { - "line": 33, - "column": 13 - }, - "end": { - "line": 33, - "column": 19 - } - } - }, - "range": [ - 817, - 827 - ], - "loc": { - "start": { - "line": 33, - "column": 9 - }, - "end": { - "line": 33, - "column": 19 - } - } - } - ], - "kind": "var", - "range": [ - 810, - 828 - ], - "loc": { - "start": { - "line": 33, - "column": 2 - }, - "end": { - "line": 33, - "column": 20 - } - } - }, - { - "type": "DoWhileStatement", - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "WhileStatement", - "test": { - "type": "LogicalExpression", - "operator": "&&", - "left": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "ri", - "range": [ - 1070, - 1072 - ], - "loc": { - "start": { - "line": 41, - "column": 10 - }, - "end": { - "line": 41, - "column": 12 - } - } - }, - "right": { - "type": "Identifier", - "name": "rj", - "range": [ - 1075, - 1077 - ], - "loc": { - "start": { - "line": 41, - "column": 15 - }, - "end": { - "line": 41, - "column": 17 - } - } - }, - "range": [ - 1070, - 1077 - ], - "loc": { - "start": { - "line": 41, - "column": 10 - }, - "end": { - "line": 41, - "column": 17 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "===", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "r", - "range": [ - 1081, - 1082 - ], - "loc": { - "start": { - "line": 41, - "column": 21 - }, - "end": { - "line": 41, - "column": 22 - } - } - }, - "property": { - "type": "Identifier", - "name": "ri", - "range": [ - 1083, - 1085 - ], - "loc": { - "start": { - "line": 41, - "column": 23 - }, - "end": { - "line": 41, - "column": 25 - } - } - }, - "range": [ - 1081, - 1086 - ], - "loc": { - "start": { - "line": 41, - "column": 21 - }, - "end": { - "line": 41, - "column": 26 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 1091, - 1092 - ], - "loc": { - "start": { - "line": 41, - "column": 31 - }, - "end": { - "line": 41, - "column": 32 - } - } - }, - "range": [ - 1081, - 1092 - ], - "loc": { - "start": { - "line": 41, - "column": 21 - }, - "end": { - "line": 41, - "column": 32 - } - } - }, - "range": [ - 1070, - 1092 - ], - "loc": { - "start": { - "line": 41, - "column": 10 - }, - "end": { - "line": 41, - "column": 32 - } - } - }, - "body": { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "ri", - "range": [ - 1096, - 1098 - ], - "loc": { - "start": { - "line": 41, - "column": 36 - }, - "end": { - "line": 41, - "column": 38 - } - } - }, - "prefix": true, - "range": [ - 1094, - 1098 - ], - "loc": { - "start": { - "line": 41, - "column": 34 - }, - "end": { - "line": 41, - "column": 38 - } - } - }, - "range": [ - 1094, - 1099 - ], - "loc": { - "start": { - "line": 41, - "column": 34 - }, - "end": { - "line": 41, - "column": 39 - } - } - }, - "range": [ - 1063, - 1099 - ], - "loc": { - "start": { - "line": 41, - "column": 3 - }, - "end": { - "line": 41, - "column": 39 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " trim leading zeros", - "range": [ - 841, - 862 - ], - "loc": { - "start": { - "line": 37, - "column": 3 - }, - "end": { - "line": 37, - "column": 24 - } - } - }, - { - "type": "Line", - "value": " - maybe could try to put this procedure inside the sub loop", - "range": [ - 866, - 932 - ], - "loc": { - "start": { - "line": 38, - "column": 3 - }, - "end": { - "line": 38, - "column": 69 - } - } - }, - { - "type": "Line", - "value": " - or assume that the number is trimed at the begining", - "range": [ - 936, - 996 - ], - "loc": { - "start": { - "line": 39, - "column": 3 - }, - "end": { - "line": 39, - "column": 63 - } - } - }, - { - "type": "Line", - "value": " and put this statement at the end of the main loop", - "range": [ - 1000, - 1059 - ], - "loc": { - "start": { - "line": 40, - "column": 3 - }, - "end": { - "line": 40, - "column": 62 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": " search for a remainder block interval", - "range": [ - 1104, - 1144 - ], - "loc": { - "start": { - "line": 43, - "column": 3 - }, - "end": { - "line": 43, - "column": 43 - } - } - }, - { - "type": "Line", - "value": " greater than the divisor", - "range": [ - 1148, - 1175 - ], - "loc": { - "start": { - "line": 44, - "column": 3 - }, - "end": { - "line": 44, - "column": 30 - } - } - }, - { - "type": "Line", - "value": " - maybe could try binary search on the lt function", - "range": [ - 1179, - 1236 - ], - "loc": { - "start": { - "line": 45, - "column": 3 - }, - "end": { - "line": 45, - "column": 60 - } - } - }, - { - "type": "Line", - "value": " for another implementation", - "range": [ - 1240, - 1273 - ], - "loc": { - "start": { - "line": 46, - "column": 3 - }, - "end": { - "line": 46, - "column": 36 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "k", - "range": [ - 1277, - 1278 - ], - "loc": { - "start": { - "line": 47, - "column": 3 - }, - "end": { - "line": 47, - "column": 4 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "ri", - "range": [ - 1281, - 1283 - ], - "loc": { - "start": { - "line": 47, - "column": 7 - }, - "end": { - "line": 47, - "column": 9 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 1286, - 1287 - ], - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 13 - } - } - }, - "range": [ - 1281, - 1287 - ], - "loc": { - "start": { - "line": 47, - "column": 7 - }, - "end": { - "line": 47, - "column": 13 - } - } - }, - "range": [ - 1277, - 1287 - ], - "loc": { - "start": { - "line": 47, - "column": 3 - }, - "end": { - "line": 47, - "column": 13 - } - } - }, - "range": [ - 1277, - 1288 - ], - "loc": { - "start": { - "line": 47, - "column": 3 - }, - "end": { - "line": 47, - "column": 14 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " search for a remainder block interval", - "range": [ - 1104, - 1144 - ], - "loc": { - "start": { - "line": 43, - "column": 3 - }, - "end": { - "line": 43, - "column": 43 - } - } - }, - { - "type": "Line", - "value": " greater than the divisor", - "range": [ - 1148, - 1175 - ], - "loc": { - "start": { - "line": 44, - "column": 3 - }, - "end": { - "line": 44, - "column": 30 - } - } - }, - { - "type": "Line", - "value": " - maybe could try binary search on the lt function", - "range": [ - 1179, - 1236 - ], - "loc": { - "start": { - "line": 45, - "column": 3 - }, - "end": { - "line": 45, - "column": 60 - } - } - }, - { - "type": "Line", - "value": " for another implementation", - "range": [ - 1240, - 1273 - ], - "loc": { - "start": { - "line": 46, - "column": 3 - }, - "end": { - "line": 46, - "column": 36 - } - } - } - ] - }, - { - "type": "WhileStatement", - "test": { - "type": "LogicalExpression", - "operator": "&&", - "left": { - "type": "BinaryExpression", - "operator": "<=", - "left": { - "type": "Identifier", - "name": "k", - "range": [ - 1299, - 1300 - ], - "loc": { - "start": { - "line": 48, - "column": 10 - }, - "end": { - "line": 48, - "column": 11 - } - } - }, - "right": { - "type": "Identifier", - "name": "rj", - "range": [ - 1304, - 1306 - ], - "loc": { - "start": { - "line": 48, - "column": 15 - }, - "end": { - "line": 48, - "column": 17 - } - } - }, - "range": [ - 1299, - 1306 - ], - "loc": { - "start": { - "line": 48, - "column": 10 - }, - "end": { - "line": 48, - "column": 17 - } - } - }, - "right": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "lt", - "range": [ - 1310, - 1312 - ], - "loc": { - "start": { - "line": 48, - "column": 21 - }, - "end": { - "line": 48, - "column": 23 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "r", - "range": [ - 1313, - 1314 - ], - "loc": { - "start": { - "line": 48, - "column": 24 - }, - "end": { - "line": 48, - "column": 25 - } - } - }, - { - "type": "Identifier", - "name": "ri", - "range": [ - 1316, - 1318 - ], - "loc": { - "start": { - "line": 48, - "column": 27 - }, - "end": { - "line": 48, - "column": 29 - } - } - }, - { - "type": "Identifier", - "name": "k", - "range": [ - 1320, - 1321 - ], - "loc": { - "start": { - "line": 48, - "column": 31 - }, - "end": { - "line": 48, - "column": 32 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 1323, - 1324 - ], - "loc": { - "start": { - "line": 48, - "column": 34 - }, - "end": { - "line": 48, - "column": 35 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 1326, - 1328 - ], - "loc": { - "start": { - "line": 48, - "column": 37 - }, - "end": { - "line": 48, - "column": 39 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 1330, - 1332 - ], - "loc": { - "start": { - "line": 48, - "column": 41 - }, - "end": { - "line": 48, - "column": 43 - } - } - } - ], - "range": [ - 1310, - 1333 - ], - "loc": { - "start": { - "line": 48, - "column": 21 - }, - "end": { - "line": 48, - "column": 44 - } - } - }, - "range": [ - 1299, - 1333 - ], - "loc": { - "start": { - "line": 48, - "column": 10 - }, - "end": { - "line": 48, - "column": 44 - } - } - }, - "body": { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "k", - "range": [ - 1337, - 1338 - ], - "loc": { - "start": { - "line": 48, - "column": 48 - }, - "end": { - "line": 48, - "column": 49 - } - } - }, - "prefix": true, - "range": [ - 1335, - 1338 - ], - "loc": { - "start": { - "line": 48, - "column": 46 - }, - "end": { - "line": 48, - "column": 49 - } - } - }, - "range": [ - 1335, - 1339 - ], - "loc": { - "start": { - "line": 48, - "column": 46 - }, - "end": { - "line": 48, - "column": 50 - } - } - }, - "range": [ - 1292, - 1339 - ], - "loc": { - "start": { - "line": 48, - "column": 3 - }, - "end": { - "line": 48, - "column": 50 - } - }, - "trailingComments": [ - { - "type": "Line", - "value": " remainder smaller than divisor --> end", - "range": [ - 1344, - 1385 - ], - "loc": { - "start": { - "line": 50, - "column": 3 - }, - "end": { - "line": 50, - "column": 44 - } - } - } - ] - }, - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": ">", - "left": { - "type": "Identifier", - "name": "k", - "range": [ - 1393, - 1394 - ], - "loc": { - "start": { - "line": 51, - "column": 7 - }, - "end": { - "line": 51, - "column": 8 - } - } - }, - "right": { - "type": "Identifier", - "name": "rj", - "range": [ - 1397, - 1399 - ], - "loc": { - "start": { - "line": 51, - "column": 11 - }, - "end": { - "line": 51, - "column": 13 - } - } - }, - "range": [ - 1393, - 1399 - ], - "loc": { - "start": { - "line": 51, - "column": 7 - }, - "end": { - "line": 51, - "column": 13 - } - } - }, - "consequent": { - "type": "BreakStatement", - "label": null, - "range": [ - 1401, - 1407 - ], - "loc": { - "start": { - "line": 51, - "column": 15 - }, - "end": { - "line": 51, - "column": 21 - } - } - }, - "alternate": null, - "range": [ - 1389, - 1407 - ], - "loc": { - "start": { - "line": 51, - "column": 3 - }, - "end": { - "line": 51, - "column": 21 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " remainder smaller than divisor --> end", - "range": [ - 1344, - 1385 - ], - "loc": { - "start": { - "line": 50, - "column": 3 - }, - "end": { - "line": 50, - "column": 44 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": " divide current block interval by quotient", - "range": [ - 1412, - 1456 - ], - "loc": { - "start": { - "line": 53, - "column": 3 - }, - "end": { - "line": 53, - "column": 47 - } - } - } - ] - }, - { - "type": "DoWhileStatement", - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "q", - "range": [ - 1566, - 1567 - ], - "loc": { - "start": { - "line": 58, - "column": 6 - }, - "end": { - "line": 58, - "column": 7 - } - } - }, - "property": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "qi", - "range": [ - 1568, - 1570 - ], - "loc": { - "start": { - "line": 58, - "column": 8 - }, - "end": { - "line": 58, - "column": 10 - } - } - }, - "right": { - "type": "Identifier", - "name": "k", - "range": [ - 1573, - 1574 - ], - "loc": { - "start": { - "line": 58, - "column": 13 - }, - "end": { - "line": 58, - "column": 14 - } - } - }, - "range": [ - 1568, - 1574 - ], - "loc": { - "start": { - "line": 58, - "column": 8 - }, - "end": { - "line": 58, - "column": 14 - } - } - }, - "right": { - "type": "Identifier", - "name": "t", - "range": [ - 1577, - 1578 - ], - "loc": { - "start": { - "line": 58, - "column": 17 - }, - "end": { - "line": 58, - "column": 18 - } - } - }, - "range": [ - 1568, - 1578 - ], - "loc": { - "start": { - "line": 58, - "column": 8 - }, - "end": { - "line": 58, - "column": 18 - } - } - }, - "range": [ - 1566, - 1579 - ], - "loc": { - "start": { - "line": 58, - "column": 6 - }, - "end": { - "line": 58, - "column": 19 - } - } - }, - "prefix": true, - "range": [ - 1564, - 1579 - ], - "loc": { - "start": { - "line": 58, - "column": 4 - }, - "end": { - "line": 58, - "column": 19 - } - } - }, - "range": [ - 1564, - 1580 - ], - "loc": { - "start": { - "line": 58, - "column": 4 - }, - "end": { - "line": 58, - "column": 20 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " increment quotient block corresponding", - "range": [ - 1469, - 1510 - ], - "loc": { - "start": { - "line": 56, - "column": 4 - }, - "end": { - "line": 56, - "column": 45 - } - } - }, - { - "type": "Line", - "value": " to current ls block of remainder interval", - "range": [ - 1515, - 1559 - ], - "loc": { - "start": { - "line": 57, - "column": 4 - }, - "end": { - "line": 57, - "column": 48 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": " subtract divisor from current remainder", - "range": [ - 1586, - 1628 - ], - "loc": { - "start": { - "line": 60, - "column": 4 - }, - "end": { - "line": 60, - "column": 46 - } - } - }, - { - "type": "Line", - "value": " block interval", - "range": [ - 1633, - 1650 - ], - "loc": { - "start": { - "line": 61, - "column": 4 - }, - "end": { - "line": 61, - "column": 21 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "sub", - "range": [ - 1655, - 1658 - ], - "loc": { - "start": { - "line": 62, - "column": 4 - }, - "end": { - "line": 62, - "column": 7 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "r", - "range": [ - 1659, - 1660 - ], - "loc": { - "start": { - "line": 62, - "column": 8 - }, - "end": { - "line": 62, - "column": 9 - } - } - }, - { - "type": "Identifier", - "name": "ri", - "range": [ - 1662, - 1664 - ], - "loc": { - "start": { - "line": 62, - "column": 11 - }, - "end": { - "line": 62, - "column": 13 - } - } - }, - { - "type": "Identifier", - "name": "k", - "range": [ - 1666, - 1667 - ], - "loc": { - "start": { - "line": 62, - "column": 15 - }, - "end": { - "line": 62, - "column": 16 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 1669, - 1670 - ], - "loc": { - "start": { - "line": 62, - "column": 18 - }, - "end": { - "line": 62, - "column": 19 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 1672, - 1674 - ], - "loc": { - "start": { - "line": 62, - "column": 21 - }, - "end": { - "line": 62, - "column": 23 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 1676, - 1678 - ], - "loc": { - "start": { - "line": 62, - "column": 25 - }, - "end": { - "line": 62, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "r", - "range": [ - 1680, - 1681 - ], - "loc": { - "start": { - "line": 62, - "column": 29 - }, - "end": { - "line": 62, - "column": 30 - } - } - }, - { - "type": "Identifier", - "name": "ri", - "range": [ - 1683, - 1685 - ], - "loc": { - "start": { - "line": 62, - "column": 32 - }, - "end": { - "line": 62, - "column": 34 - } - } - }, - { - "type": "Identifier", - "name": "k", - "range": [ - 1687, - 1688 - ], - "loc": { - "start": { - "line": 62, - "column": 36 - }, - "end": { - "line": 62, - "column": 37 - } - } - } - ], - "range": [ - 1655, - 1689 - ], - "loc": { - "start": { - "line": 62, - "column": 4 - }, - "end": { - "line": 62, - "column": 38 - } - } - }, - "range": [ - 1655, - 1690 - ], - "loc": { - "start": { - "line": 62, - "column": 4 - }, - "end": { - "line": 62, - "column": 39 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " subtract divisor from current remainder", - "range": [ - 1586, - 1628 - ], - "loc": { - "start": { - "line": 60, - "column": 4 - }, - "end": { - "line": 60, - "column": 46 - } - } - }, - { - "type": "Line", - "value": " block interval", - "range": [ - 1633, - 1650 - ], - "loc": { - "start": { - "line": 61, - "column": 4 - }, - "end": { - "line": 61, - "column": 21 - } - } - } - ] - } - ], - "range": [ - 1462, - 1696 - ], - "loc": { - "start": { - "line": 54, - "column": 5 - }, - "end": { - "line": 64, - "column": 4 - } - } - }, - "test": { - "type": "UnaryExpression", - "operator": "!", - "argument": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "lt", - "range": [ - 1704, - 1706 - ], - "loc": { - "start": { - "line": 64, - "column": 12 - }, - "end": { - "line": 64, - "column": 14 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "r", - "range": [ - 1707, - 1708 - ], - "loc": { - "start": { - "line": 64, - "column": 15 - }, - "end": { - "line": 64, - "column": 16 - } - } - }, - { - "type": "Identifier", - "name": "ri", - "range": [ - 1710, - 1712 - ], - "loc": { - "start": { - "line": 64, - "column": 18 - }, - "end": { - "line": 64, - "column": 20 - } - } - }, - { - "type": "Identifier", - "name": "k", - "range": [ - 1714, - 1715 - ], - "loc": { - "start": { - "line": 64, - "column": 22 - }, - "end": { - "line": 64, - "column": 23 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 1717, - 1718 - ], - "loc": { - "start": { - "line": 64, - "column": 25 - }, - "end": { - "line": 64, - "column": 26 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 1720, - 1722 - ], - "loc": { - "start": { - "line": 64, - "column": 28 - }, - "end": { - "line": 64, - "column": 30 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 1724, - 1726 - ], - "loc": { - "start": { - "line": 64, - "column": 32 - }, - "end": { - "line": 64, - "column": 34 - } - } - } - ], - "range": [ - 1704, - 1727 - ], - "loc": { - "start": { - "line": 64, - "column": 12 - }, - "end": { - "line": 64, - "column": 35 - } - } - }, - "prefix": true, - "range": [ - 1703, - 1727 - ], - "loc": { - "start": { - "line": 64, - "column": 11 - }, - "end": { - "line": 64, - "column": 35 - } - } - }, - "range": [ - 1460, - 1729 - ], - "loc": { - "start": { - "line": 54, - "column": 3 - }, - "end": { - "line": 64, - "column": 37 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " divide current block interval by quotient", - "range": [ - 1412, - 1456 - ], - "loc": { - "start": { - "line": 53, - "column": 3 - }, - "end": { - "line": 53, - "column": 47 - } - } - } - ] - } - ], - "range": [ - 835, - 1735 - ], - "loc": { - "start": { - "line": 35, - "column": 5 - }, - "end": { - "line": 67, - "column": 3 - } - } - }, - "test": { - "type": "Literal", - "value": true, - "raw": "true", - "range": [ - 1742, - 1746 - ], - "loc": { - "start": { - "line": 67, - "column": 10 - }, - "end": { - "line": 67, - "column": 14 - } - } - }, - "range": [ - 832, - 1748 - ], - "loc": { - "start": { - "line": 35, - "column": 2 - }, - "end": { - "line": 67, - "column": 16 - } - } - } - ], - "range": [ - 806, - 1752 - ], - "loc": { - "start": { - "line": 32, - "column": 48 - }, - "end": { - "line": 69, - "column": 2 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 769, - 1752 - ], - "loc": { - "start": { - "line": 32, - "column": 11 - }, - "end": { - "line": 69, - "column": 2 - } - } - }, - "range": [ - 763, - 1752 - ], - "loc": { - "start": { - "line": 32, - "column": 5 - }, - "end": { - "line": 69, - "column": 2 - } - } - } - ], - "kind": "var", - "range": [ - 759, - 1753 - ], - "loc": { - "start": { - "line": 32, - "column": 1 - }, - "end": { - "line": 69, - "column": 3 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n\t * Computes quotient and remainder of two big endian arrays.\n\t *

    \n\t * Computes quotient and remainder of two big endian arrays\n\t * using long division algorithm (the one teached in\n\t * european primary schools).\n\t *\n\t * /!\\ This algorithm modifies its first operand.\n\t *\n\t * HYP : q is at least as large as r\n\t * b is not zero\n\t *\n\t * @param {array} r dividend and remainder\n\t * @param {int} ri r left\n\t * @param {int} rj r right\n\t * @param {array} b divisor\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} q quotient, must be 0 initialized\n\t * @param {int} qi q left\n\t ", - "range": [ - 39, - 651 - ], - "loc": { - "start": { - "line": 6, - "column": 1 - }, - "end": { - "line": 26, - "column": 4 - } - } - }, - { - "type": "Line", - "value": " /!\\ There are implicit hypotheses", - "range": [ - 654, - 690 - ], - "loc": { - "start": { - "line": 28, - "column": 1 - }, - "end": { - "line": 28, - "column": 37 - } - } - }, - { - "type": "Line", - "value": " made on the size of the operands.", - "range": [ - 692, - 732 - ], - "loc": { - "start": { - "line": 29, - "column": 1 - }, - "end": { - "line": 29, - "column": 41 - } - } - }, - { - "type": "Line", - "value": " Should clarify.", - "range": [ - 734, - 756 - ], - "loc": { - "start": { - "line": 30, - "column": 1 - }, - "end": { - "line": 30, - "column": 23 - } - } - } - ] - }, - { - "type": "ReturnStatement", - "argument": { - "type": "Identifier", - "name": "div", - "range": [ - 1763, - 1766 - ], - "loc": { - "start": { - "line": 71, - "column": 8 - }, - "end": { - "line": 71, - "column": 11 - } - } - }, - "range": [ - 1756, - 1767 - ], - "loc": { - "start": { - "line": 71, - "column": 1 - }, - "end": { - "line": 71, - "column": 12 - } - } - } - ], - "range": [ - 35, - 1770 - ], - "loc": { - "start": { - "line": 4, - "column": 32 - }, - "end": { - "line": 73, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 10, - 1770 - ], - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 73, - "column": 1 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 3, - 1770 - ], - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 73, - "column": 1 - } - } - } - ], - "sourceType": "module", - "range": [ - 3, - 1770 - ], - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 73, - "column": 1 - } - }, - "comments": [ - { - "type": "Block", - "value": "*\n\t * Computes quotient and remainder of two big endian arrays.\n\t *

    \n\t * Computes quotient and remainder of two big endian arrays\n\t * using long division algorithm (the one teached in\n\t * european primary schools).\n\t *\n\t * /!\\ This algorithm modifies its first operand.\n\t *\n\t * HYP : q is at least as large as r\n\t * b is not zero\n\t *\n\t * @param {array} r dividend and remainder\n\t * @param {int} ri r left\n\t * @param {int} rj r right\n\t * @param {array} b divisor\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} q quotient, must be 0 initialized\n\t * @param {int} qi q left\n\t ", - "range": [ - 39, - 651 - ], - "loc": { - "start": { - "line": 6, - "column": 1 - }, - "end": { - "line": 26, - "column": 4 - } - } - }, - { - "type": "Line", - "value": " /!\\ There are implicit hypotheses", - "range": [ - 654, - 690 - ], - "loc": { - "start": { - "line": 28, - "column": 1 - }, - "end": { - "line": 28, - "column": 37 - } - } - }, - { - "type": "Line", - "value": " made on the size of the operands.", - "range": [ - 692, - 732 - ], - "loc": { - "start": { - "line": 29, - "column": 1 - }, - "end": { - "line": 29, - "column": 41 - } - } - }, - { - "type": "Line", - "value": " Should clarify.", - "range": [ - 734, - 756 - ], - "loc": { - "start": { - "line": 30, - "column": 1 - }, - "end": { - "line": 30, - "column": 23 - } - } - }, - { - "type": "Line", - "value": " trim leading zeros", - "range": [ - 841, - 862 - ], - "loc": { - "start": { - "line": 37, - "column": 3 - }, - "end": { - "line": 37, - "column": 24 - } - } - }, - { - "type": "Line", - "value": " - maybe could try to put this procedure inside the sub loop", - "range": [ - 866, - 932 - ], - "loc": { - "start": { - "line": 38, - "column": 3 - }, - "end": { - "line": 38, - "column": 69 - } - } - }, - { - "type": "Line", - "value": " - or assume that the number is trimed at the begining", - "range": [ - 936, - 996 - ], - "loc": { - "start": { - "line": 39, - "column": 3 - }, - "end": { - "line": 39, - "column": 63 - } - } - }, - { - "type": "Line", - "value": " and put this statement at the end of the main loop", - "range": [ - 1000, - 1059 - ], - "loc": { - "start": { - "line": 40, - "column": 3 - }, - "end": { - "line": 40, - "column": 62 - } - } - }, - { - "type": "Line", - "value": " search for a remainder block interval", - "range": [ - 1104, - 1144 - ], - "loc": { - "start": { - "line": 43, - "column": 3 - }, - "end": { - "line": 43, - "column": 43 - } - } - }, - { - "type": "Line", - "value": " greater than the divisor", - "range": [ - 1148, - 1175 - ], - "loc": { - "start": { - "line": 44, - "column": 3 - }, - "end": { - "line": 44, - "column": 30 - } - } - }, - { - "type": "Line", - "value": " - maybe could try binary search on the lt function", - "range": [ - 1179, - 1236 - ], - "loc": { - "start": { - "line": 45, - "column": 3 - }, - "end": { - "line": 45, - "column": 60 - } - } - }, - { - "type": "Line", - "value": " for another implementation", - "range": [ - 1240, - 1273 - ], - "loc": { - "start": { - "line": 46, - "column": 3 - }, - "end": { - "line": 46, - "column": 36 - } - } - }, - { - "type": "Line", - "value": " remainder smaller than divisor --> end", - "range": [ - 1344, - 1385 - ], - "loc": { - "start": { - "line": 50, - "column": 3 - }, - "end": { - "line": 50, - "column": 44 - } - } - }, - { - "type": "Line", - "value": " divide current block interval by quotient", - "range": [ - 1412, - 1456 - ], - "loc": { - "start": { - "line": 53, - "column": 3 - }, - "end": { - "line": 53, - "column": 47 - } - } - }, - { - "type": "Line", - "value": " increment quotient block corresponding", - "range": [ - 1469, - 1510 - ], - "loc": { - "start": { - "line": 56, - "column": 4 - }, - "end": { - "line": 56, - "column": 45 - } - } - }, - { - "type": "Line", - "value": " to current ls block of remainder interval", - "range": [ - 1515, - 1559 - ], - "loc": { - "start": { - "line": 57, - "column": 4 - }, - "end": { - "line": 57, - "column": 48 - } - } - }, - { - "type": "Line", - "value": " subtract divisor from current remainder", - "range": [ - 1586, - 1628 - ], - "loc": { - "start": { - "line": 60, - "column": 4 - }, - "end": { - "line": 60, - "column": 46 - } - } - }, - { - "type": "Line", - "value": " block interval", - "range": [ - 1633, - 1650 - ], - "loc": { - "start": { - "line": 61, - "column": 4 - }, - "end": { - "line": 61, - "column": 21 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/div/fourierdiv.js.json b/ast/source/0-legacy/arithmetic/div/fourierdiv.js.json deleted file mode 100644 index 8abbdf8..0000000 --- a/ast/source/0-legacy/arithmetic/div/fourierdiv.js.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "type": "Program", - "body": [], - "sourceType": "module", - "range": [ - 50, - 50 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 0 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " http://en.wikipedia.org/wiki/Fourier_division", - "range": [ - 1, - 49 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 48 - } - } - } - ], - "comments": [ - { - "type": "Line", - "value": " http://en.wikipedia.org/wiki/Fourier_division", - "range": [ - 1, - 49 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 48 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/div/index.js.json b/ast/source/0-legacy/arithmetic/div/index.js.json deleted file mode 100644 index fc7303f..0000000 --- a/ast/source/0-legacy/arithmetic/div/index.js.json +++ /dev/null @@ -1,165 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./dcdiv", - "raw": "'./dcdiv'", - "range": [ - 14, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 23 - } - } - }, - "range": [ - 0, - 25 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 25 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./div", - "raw": "'./div'", - "range": [ - 40, - 47 - ], - "loc": { - "start": { - "line": 2, - "column": 14 - }, - "end": { - "line": 2, - "column": 21 - } - } - }, - "range": [ - 26, - 49 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 23 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./fourierdiv", - "raw": "'./fourierdiv'", - "range": [ - 64, - 78 - ], - "loc": { - "start": { - "line": 3, - "column": 14 - }, - "end": { - "line": 3, - "column": 28 - } - } - }, - "range": [ - 50, - 80 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 30 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./knuthd", - "raw": "'./knuthd'", - "range": [ - 95, - 105 - ], - "loc": { - "start": { - "line": 4, - "column": 14 - }, - "end": { - "line": 4, - "column": 24 - } - } - }, - "range": [ - 81, - 107 - ], - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 26 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 107 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 4, - "column": 26 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/div/knuthd.js.json b/ast/source/0-legacy/arithmetic/div/knuthd.js.json deleted file mode 100644 index b03b813..0000000 --- a/ast/source/0-legacy/arithmetic/div/knuthd.js.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "type": "Program", - "body": [], - "sourceType": "module", - "range": [ - 239, - 239 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 0 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " http://books.google.be/books?id=VicPJYM0I5QC&pg=PA184&lpg=PA184&dq=knuth+algorithm+d&source=bl&ots=2n-NJWuw1o&sig=47hDkFG780BqE2mmi9OMPqbK4Fs&hl=en&sa=X&ei=_ioMVKbKFMawOZT_gaAH&ved=0CDkQ6AEwAw#v=onepage&q=knuth%20algorithm%20d&f=false", - "range": [ - 1, - 238 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 237 - } - } - } - ], - "comments": [ - { - "type": "Line", - "value": " http://books.google.be/books?id=VicPJYM0I5QC&pg=PA184&lpg=PA184&dq=knuth+algorithm+d&source=bl&ots=2n-NJWuw1o&sig=47hDkFG780BqE2mmi9OMPqbK4Fs&hl=en&sa=X&ei=_ioMVKbKFMawOZT_gaAH&ved=0CDkQ6AEwAw#v=onepage&q=knuth%20algorithm%20d&f=false", - "range": [ - 1, - 238 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 237 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/index.js.json b/ast/source/0-legacy/arithmetic/index.js.json deleted file mode 100644 index 4985776..0000000 --- a/ast/source/0-legacy/arithmetic/index.js.json +++ /dev/null @@ -1,165 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./add", - "raw": "'./add'", - "range": [ - 14, - 21 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 21 - } - } - }, - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./div", - "raw": "'./div'", - "range": [ - 38, - 45 - ], - "loc": { - "start": { - "line": 2, - "column": 14 - }, - "end": { - "line": 2, - "column": 21 - } - } - }, - "range": [ - 24, - 47 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 23 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./mul", - "raw": "'./mul'", - "range": [ - 62, - 69 - ], - "loc": { - "start": { - "line": 3, - "column": 14 - }, - "end": { - "line": 3, - "column": 21 - } - } - }, - "range": [ - 48, - 71 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 23 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./sub", - "raw": "'./sub'", - "range": [ - 86, - 93 - ], - "loc": { - "start": { - "line": 4, - "column": 14 - }, - "end": { - "line": 4, - "column": 21 - } - } - }, - "range": [ - 72, - 95 - ], - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 23 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 95 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 4, - "column": 23 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/mul/index.js.json b/ast/source/0-legacy/arithmetic/mul/index.js.json deleted file mode 100644 index b1cda0d..0000000 --- a/ast/source/0-legacy/arithmetic/mul/index.js.json +++ /dev/null @@ -1,165 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./karatsuba", - "raw": "'./karatsuba'", - "range": [ - 14, - 27 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 27 - } - } - }, - "range": [ - 0, - 29 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 29 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./mul", - "raw": "'./mul'", - "range": [ - 44, - 51 - ], - "loc": { - "start": { - "line": 2, - "column": 14 - }, - "end": { - "line": 2, - "column": 21 - } - } - }, - "range": [ - 30, - 53 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 23 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./mul53", - "raw": "'./mul53'", - "range": [ - 68, - 77 - ], - "loc": { - "start": { - "line": 3, - "column": 14 - }, - "end": { - "line": 3, - "column": 23 - } - } - }, - "range": [ - 54, - 79 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 25 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./toomcook", - "raw": "'./toomcook'", - "range": [ - 94, - 106 - ], - "loc": { - "start": { - "line": 4, - "column": 14 - }, - "end": { - "line": 4, - "column": 26 - } - } - }, - "range": [ - 80, - 108 - ], - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 28 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 108 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 4, - "column": 28 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/mul/karatsuba.js.json b/ast/source/0-legacy/arithmetic/mul/karatsuba.js.json deleted file mode 100644 index c8187c9..0000000 --- a/ast/source/0-legacy/arithmetic/mul/karatsuba.js.json +++ /dev/null @@ -1,9466 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "bkaratsuba_t", - "range": [ - 1746, - 1758 - ], - "loc": { - "start": { - "line": 59, - "column": 16 - }, - "end": { - "line": 59, - "column": 28 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "add", - "range": [ - 1760, - 1763 - ], - "loc": { - "start": { - "line": 59, - "column": 30 - }, - "end": { - "line": 59, - "column": 33 - } - } - }, - { - "type": "Identifier", - "name": "sub", - "range": [ - 1765, - 1768 - ], - "loc": { - "start": { - "line": 59, - "column": 35 - }, - "end": { - "line": 59, - "column": 38 - } - } - }, - { - "type": "Identifier", - "name": "mul", - "range": [ - 1770, - 1773 - ], - "loc": { - "start": { - "line": 59, - "column": 40 - }, - "end": { - "line": 59, - "column": 43 - } - } - }, - { - "type": "Identifier", - "name": "calloc", - "range": [ - 1775, - 1781 - ], - "loc": { - "start": { - "line": 59, - "column": 45 - }, - "end": { - "line": 59, - "column": 51 - } - } - }, - { - "type": "Identifier", - "name": "mov", - "range": [ - 1783, - 1786 - ], - "loc": { - "start": { - "line": 59, - "column": 53 - }, - "end": { - "line": 59, - "column": 56 - } - } - }, - { - "type": "Identifier", - "name": "r", - "range": [ - 1788, - 1789 - ], - "loc": { - "start": { - "line": 59, - "column": 58 - }, - "end": { - "line": 59, - "column": 59 - } - } - }, - { - "type": "Identifier", - "name": "wrap", - "range": [ - 1791, - 1795 - ], - "loc": { - "start": { - "line": 59, - "column": 61 - }, - "end": { - "line": 59, - "column": 65 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "karatsuba", - "range": [ - 2195, - 2204 - ], - "loc": { - "start": { - "line": 77, - "column": 5 - }, - "end": { - "line": 77, - "column": 14 - } - } - }, - "init": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 2216, - 2217 - ], - "loc": { - "start": { - "line": 77, - "column": 26 - }, - "end": { - "line": 77, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 2219, - 2221 - ], - "loc": { - "start": { - "line": 77, - "column": 29 - }, - "end": { - "line": 77, - "column": 31 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 2223, - 2225 - ], - "loc": { - "start": { - "line": 77, - "column": 33 - }, - "end": { - "line": 77, - "column": 35 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 2227, - 2228 - ], - "loc": { - "start": { - "line": 77, - "column": 37 - }, - "end": { - "line": 77, - "column": 38 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 2230, - 2232 - ], - "loc": { - "start": { - "line": 77, - "column": 40 - }, - "end": { - "line": 77, - "column": 42 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 2234, - 2236 - ], - "loc": { - "start": { - "line": 77, - "column": 44 - }, - "end": { - "line": 77, - "column": 46 - } - } - }, - { - "type": "Identifier", - "name": "c", - "range": [ - 2238, - 2239 - ], - "loc": { - "start": { - "line": 77, - "column": 48 - }, - "end": { - "line": 77, - "column": 49 - } - } - }, - { - "type": "Identifier", - "name": "ci", - "range": [ - 2241, - 2243 - ], - "loc": { - "start": { - "line": 77, - "column": 51 - }, - "end": { - "line": 77, - "column": 53 - } - } - }, - { - "type": "Identifier", - "name": "cj", - "range": [ - 2245, - 2247 - ], - "loc": { - "start": { - "line": 77, - "column": 55 - }, - "end": { - "line": 77, - "column": 57 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "z0", - "range": [ - 2257, - 2259 - ], - "loc": { - "start": { - "line": 79, - "column": 6 - }, - "end": { - "line": 79, - "column": 8 - } - } - }, - "init": null, - "range": [ - 2257, - 2259 - ], - "loc": { - "start": { - "line": 79, - "column": 6 - }, - "end": { - "line": 79, - "column": 8 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "z2", - "range": [ - 2261, - 2263 - ], - "loc": { - "start": { - "line": 79, - "column": 10 - }, - "end": { - "line": 79, - "column": 12 - } - } - }, - "init": null, - "range": [ - 2261, - 2263 - ], - "loc": { - "start": { - "line": 79, - "column": 10 - }, - "end": { - "line": 79, - "column": 12 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "t1", - "range": [ - 2265, - 2267 - ], - "loc": { - "start": { - "line": 79, - "column": 14 - }, - "end": { - "line": 79, - "column": 16 - } - } - }, - "init": null, - "range": [ - 2265, - 2267 - ], - "loc": { - "start": { - "line": 79, - "column": 14 - }, - "end": { - "line": 79, - "column": 16 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "t2", - "range": [ - 2269, - 2271 - ], - "loc": { - "start": { - "line": 79, - "column": 18 - }, - "end": { - "line": 79, - "column": 20 - } - } - }, - "init": null, - "range": [ - 2269, - 2271 - ], - "loc": { - "start": { - "line": 79, - "column": 18 - }, - "end": { - "line": 79, - "column": 20 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "t3", - "range": [ - 2273, - 2275 - ], - "loc": { - "start": { - "line": 79, - "column": 22 - }, - "end": { - "line": 79, - "column": 24 - } - } - }, - "init": null, - "range": [ - 2273, - 2275 - ], - "loc": { - "start": { - "line": 79, - "column": 22 - }, - "end": { - "line": 79, - "column": 24 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "n", - "range": [ - 2277, - 2278 - ], - "loc": { - "start": { - "line": 79, - "column": 26 - }, - "end": { - "line": 79, - "column": 27 - } - } - }, - "init": null, - "range": [ - 2277, - 2278 - ], - "loc": { - "start": { - "line": 79, - "column": 26 - }, - "end": { - "line": 79, - "column": 27 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "I", - "range": [ - 2280, - 2281 - ], - "loc": { - "start": { - "line": 79, - "column": 29 - }, - "end": { - "line": 79, - "column": 30 - } - } - }, - "init": null, - "range": [ - 2280, - 2281 - ], - "loc": { - "start": { - "line": 79, - "column": 29 - }, - "end": { - "line": 79, - "column": 30 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "N", - "range": [ - 2283, - 2284 - ], - "loc": { - "start": { - "line": 79, - "column": 32 - }, - "end": { - "line": 79, - "column": 33 - } - } - }, - "init": null, - "range": [ - 2283, - 2284 - ], - "loc": { - "start": { - "line": 79, - "column": 32 - }, - "end": { - "line": 79, - "column": 33 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "N_", - "range": [ - 2286, - 2288 - ], - "loc": { - "start": { - "line": 79, - "column": 35 - }, - "end": { - "line": 79, - "column": 37 - } - } - }, - "init": null, - "range": [ - 2286, - 2288 - ], - "loc": { - "start": { - "line": 79, - "column": 35 - }, - "end": { - "line": 79, - "column": 37 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "i_", - "range": [ - 2290, - 2292 - ], - "loc": { - "start": { - "line": 79, - "column": 39 - }, - "end": { - "line": 79, - "column": 41 - } - } - }, - "init": null, - "range": [ - 2290, - 2292 - ], - "loc": { - "start": { - "line": 79, - "column": 39 - }, - "end": { - "line": 79, - "column": 41 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "j_", - "range": [ - 2294, - 2296 - ], - "loc": { - "start": { - "line": 79, - "column": 43 - }, - "end": { - "line": 79, - "column": 45 - } - } - }, - "init": null, - "range": [ - 2294, - 2296 - ], - "loc": { - "start": { - "line": 79, - "column": 43 - }, - "end": { - "line": 79, - "column": 45 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "i", - "range": [ - 2298, - 2299 - ], - "loc": { - "start": { - "line": 79, - "column": 47 - }, - "end": { - "line": 79, - "column": 48 - } - } - }, - "init": null, - "range": [ - 2298, - 2299 - ], - "loc": { - "start": { - "line": 79, - "column": 47 - }, - "end": { - "line": 79, - "column": 48 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "j", - "range": [ - 2301, - 2302 - ], - "loc": { - "start": { - "line": 79, - "column": 50 - }, - "end": { - "line": 79, - "column": 51 - } - } - }, - "init": null, - "range": [ - 2301, - 2302 - ], - "loc": { - "start": { - "line": 79, - "column": 50 - }, - "end": { - "line": 79, - "column": 51 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "k", - "range": [ - 2304, - 2305 - ], - "loc": { - "start": { - "line": 79, - "column": 53 - }, - "end": { - "line": 79, - "column": 54 - } - } - }, - "init": null, - "range": [ - 2304, - 2305 - ], - "loc": { - "start": { - "line": 79, - "column": 53 - }, - "end": { - "line": 79, - "column": 54 - } - } - } - ], - "kind": "var", - "range": [ - 2253, - 2306 - ], - "loc": { - "start": { - "line": 79, - "column": 2 - }, - "end": { - "line": 79, - "column": 55 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "i", - "range": [ - 2310, - 2311 - ], - "loc": { - "start": { - "line": 81, - "column": 2 - }, - "end": { - "line": 81, - "column": 3 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "aj", - "range": [ - 2314, - 2316 - ], - "loc": { - "start": { - "line": 81, - "column": 6 - }, - "end": { - "line": 81, - "column": 8 - } - } - }, - "right": { - "type": "Identifier", - "name": "ai", - "range": [ - 2319, - 2321 - ], - "loc": { - "start": { - "line": 81, - "column": 11 - }, - "end": { - "line": 81, - "column": 13 - } - } - }, - "range": [ - 2314, - 2321 - ], - "loc": { - "start": { - "line": 81, - "column": 6 - }, - "end": { - "line": 81, - "column": 13 - } - } - }, - "range": [ - 2310, - 2321 - ], - "loc": { - "start": { - "line": 81, - "column": 2 - }, - "end": { - "line": 81, - "column": 13 - } - } - }, - "range": [ - 2310, - 2322 - ], - "loc": { - "start": { - "line": 81, - "column": 2 - }, - "end": { - "line": 81, - "column": 14 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "j", - "range": [ - 2325, - 2326 - ], - "loc": { - "start": { - "line": 82, - "column": 2 - }, - "end": { - "line": 82, - "column": 3 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "bj", - "range": [ - 2329, - 2331 - ], - "loc": { - "start": { - "line": 82, - "column": 6 - }, - "end": { - "line": 82, - "column": 8 - } - } - }, - "right": { - "type": "Identifier", - "name": "bi", - "range": [ - 2334, - 2336 - ], - "loc": { - "start": { - "line": 82, - "column": 11 - }, - "end": { - "line": 82, - "column": 13 - } - } - }, - "range": [ - 2329, - 2336 - ], - "loc": { - "start": { - "line": 82, - "column": 6 - }, - "end": { - "line": 82, - "column": 13 - } - } - }, - "range": [ - 2325, - 2336 - ], - "loc": { - "start": { - "line": 82, - "column": 2 - }, - "end": { - "line": 82, - "column": 13 - } - } - }, - "range": [ - 2325, - 2337 - ], - "loc": { - "start": { - "line": 82, - "column": 2 - }, - "end": { - "line": 82, - "column": 14 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "k", - "range": [ - 2340, - 2341 - ], - "loc": { - "start": { - "line": 83, - "column": 2 - }, - "end": { - "line": 83, - "column": 3 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "cj", - "range": [ - 2344, - 2346 - ], - "loc": { - "start": { - "line": 83, - "column": 6 - }, - "end": { - "line": 83, - "column": 8 - } - } - }, - "right": { - "type": "Identifier", - "name": "ci", - "range": [ - 2349, - 2351 - ], - "loc": { - "start": { - "line": 83, - "column": 11 - }, - "end": { - "line": 83, - "column": 13 - } - } - }, - "range": [ - 2344, - 2351 - ], - "loc": { - "start": { - "line": 83, - "column": 6 - }, - "end": { - "line": 83, - "column": 13 - } - } - }, - "range": [ - 2340, - 2351 - ], - "loc": { - "start": { - "line": 83, - "column": 2 - }, - "end": { - "line": 83, - "column": 13 - } - } - }, - "range": [ - 2340, - 2352 - ], - "loc": { - "start": { - "line": 83, - "column": 2 - }, - "end": { - "line": 83, - "column": 14 - } - }, - "trailingComments": [ - { - "type": "Line", - "value": " EMPTY CASE", - "range": [ - 2356, - 2369 - ], - "loc": { - "start": { - "line": 85, - "column": 2 - }, - "end": { - "line": 85, - "column": 15 - } - } - } - ] - }, - { - "type": "IfStatement", - "test": { - "type": "LogicalExpression", - "operator": "||", - "left": { - "type": "LogicalExpression", - "operator": "||", - "left": { - "type": "BinaryExpression", - "operator": "<=", - "left": { - "type": "Identifier", - "name": "i", - "range": [ - 2376, - 2377 - ], - "loc": { - "start": { - "line": 86, - "column": 6 - }, - "end": { - "line": 86, - "column": 7 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 2381, - 2382 - ], - "loc": { - "start": { - "line": 86, - "column": 11 - }, - "end": { - "line": 86, - "column": 12 - } - } - }, - "range": [ - 2376, - 2382 - ], - "loc": { - "start": { - "line": 86, - "column": 6 - }, - "end": { - "line": 86, - "column": 12 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "<=", - "left": { - "type": "Identifier", - "name": "j", - "range": [ - 2386, - 2387 - ], - "loc": { - "start": { - "line": 86, - "column": 16 - }, - "end": { - "line": 86, - "column": 17 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 2391, - 2392 - ], - "loc": { - "start": { - "line": 86, - "column": 21 - }, - "end": { - "line": 86, - "column": 22 - } - } - }, - "range": [ - 2386, - 2392 - ], - "loc": { - "start": { - "line": 86, - "column": 16 - }, - "end": { - "line": 86, - "column": 22 - } - } - }, - "range": [ - 2376, - 2392 - ], - "loc": { - "start": { - "line": 86, - "column": 6 - }, - "end": { - "line": 86, - "column": 22 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "<=", - "left": { - "type": "Identifier", - "name": "k", - "range": [ - 2396, - 2397 - ], - "loc": { - "start": { - "line": 86, - "column": 26 - }, - "end": { - "line": 86, - "column": 27 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 2401, - 2402 - ], - "loc": { - "start": { - "line": 86, - "column": 31 - }, - "end": { - "line": 86, - "column": 32 - } - } - }, - "range": [ - 2396, - 2402 - ], - "loc": { - "start": { - "line": 86, - "column": 26 - }, - "end": { - "line": 86, - "column": 32 - } - } - }, - "range": [ - 2376, - 2402 - ], - "loc": { - "start": { - "line": 86, - "column": 6 - }, - "end": { - "line": 86, - "column": 32 - } - } - }, - "consequent": { - "type": "ReturnStatement", - "argument": null, - "range": [ - 2404, - 2411 - ], - "loc": { - "start": { - "line": 86, - "column": 34 - }, - "end": { - "line": 86, - "column": 41 - } - } - }, - "alternate": null, - "range": [ - 2372, - 2411 - ], - "loc": { - "start": { - "line": 86, - "column": 2 - }, - "end": { - "line": 86, - "column": 41 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " EMPTY CASE", - "range": [ - 2356, - 2369 - ], - "loc": { - "start": { - "line": 85, - "column": 2 - }, - "end": { - "line": 85, - "column": 15 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": " BASE CASE i = j = 1", - "range": [ - 2415, - 2437 - ], - "loc": { - "start": { - "line": 88, - "column": 2 - }, - "end": { - "line": 88, - "column": 24 - } - } - } - ] - }, - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "===", - "left": { - "type": "Identifier", - "name": "i", - "range": [ - 2444, - 2445 - ], - "loc": { - "start": { - "line": 89, - "column": 6 - }, - "end": { - "line": 89, - "column": 7 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 2450, - 2451 - ], - "loc": { - "start": { - "line": 89, - "column": 12 - }, - "end": { - "line": 89, - "column": 13 - } - } - }, - "range": [ - 2444, - 2451 - ], - "loc": { - "start": { - "line": 89, - "column": 6 - }, - "end": { - "line": 89, - "column": 13 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "z0", - "range": [ - 2459, - 2461 - ], - "loc": { - "start": { - "line": 91, - "column": 3 - }, - "end": { - "line": 91, - "column": 5 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "*", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 2464, - 2465 - ], - "loc": { - "start": { - "line": 91, - "column": 8 - }, - "end": { - "line": 91, - "column": 9 - } - } - }, - "property": { - "type": "Identifier", - "name": "ai", - "range": [ - 2466, - 2468 - ], - "loc": { - "start": { - "line": 91, - "column": 10 - }, - "end": { - "line": 91, - "column": 12 - } - } - }, - "range": [ - 2464, - 2469 - ], - "loc": { - "start": { - "line": 91, - "column": 8 - }, - "end": { - "line": 91, - "column": 13 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 2472, - 2473 - ], - "loc": { - "start": { - "line": 91, - "column": 16 - }, - "end": { - "line": 91, - "column": 17 - } - } - }, - "property": { - "type": "Identifier", - "name": "bi", - "range": [ - 2474, - 2476 - ], - "loc": { - "start": { - "line": 91, - "column": 18 - }, - "end": { - "line": 91, - "column": 20 - } - } - }, - "range": [ - 2472, - 2477 - ], - "loc": { - "start": { - "line": 91, - "column": 16 - }, - "end": { - "line": 91, - "column": 21 - } - } - }, - "range": [ - 2464, - 2477 - ], - "loc": { - "start": { - "line": 91, - "column": 8 - }, - "end": { - "line": 91, - "column": 21 - } - } - }, - "range": [ - 2459, - 2477 - ], - "loc": { - "start": { - "line": 91, - "column": 3 - }, - "end": { - "line": 91, - "column": 21 - } - } - }, - "range": [ - 2459, - 2478 - ], - "loc": { - "start": { - "line": 91, - "column": 3 - }, - "end": { - "line": 91, - "column": 22 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 2482, - 2483 - ], - "loc": { - "start": { - "line": 92, - "column": 3 - }, - "end": { - "line": 92, - "column": 4 - } - } - }, - "property": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "cj", - "range": [ - 2484, - 2486 - ], - "loc": { - "start": { - "line": 92, - "column": 5 - }, - "end": { - "line": 92, - "column": 7 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 2487, - 2488 - ], - "loc": { - "start": { - "line": 92, - "column": 8 - }, - "end": { - "line": 92, - "column": 9 - } - } - }, - "range": [ - 2484, - 2488 - ], - "loc": { - "start": { - "line": 92, - "column": 5 - }, - "end": { - "line": 92, - "column": 9 - } - } - }, - "range": [ - 2482, - 2489 - ], - "loc": { - "start": { - "line": 92, - "column": 3 - }, - "end": { - "line": 92, - "column": 10 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "%", - "left": { - "type": "Identifier", - "name": "z0", - "range": [ - 2492, - 2494 - ], - "loc": { - "start": { - "line": 92, - "column": 13 - }, - "end": { - "line": 92, - "column": 15 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 2497, - 2498 - ], - "loc": { - "start": { - "line": 92, - "column": 18 - }, - "end": { - "line": 92, - "column": 19 - } - } - }, - "range": [ - 2492, - 2498 - ], - "loc": { - "start": { - "line": 92, - "column": 13 - }, - "end": { - "line": 92, - "column": 19 - } - } - }, - "range": [ - 2482, - 2498 - ], - "loc": { - "start": { - "line": 92, - "column": 3 - }, - "end": { - "line": 92, - "column": 19 - } - } - }, - "range": [ - 2482, - 2499 - ], - "loc": { - "start": { - "line": 92, - "column": 3 - }, - "end": { - "line": 92, - "column": 20 - } - } - }, - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": ">", - "left": { - "type": "Identifier", - "name": "k", - "range": [ - 2508, - 2509 - ], - "loc": { - "start": { - "line": 94, - "column": 7 - }, - "end": { - "line": 94, - "column": 8 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 2512, - 2513 - ], - "loc": { - "start": { - "line": 94, - "column": 11 - }, - "end": { - "line": 94, - "column": 12 - } - } - }, - "range": [ - 2508, - 2513 - ], - "loc": { - "start": { - "line": 94, - "column": 7 - }, - "end": { - "line": 94, - "column": 12 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 2521, - 2522 - ], - "loc": { - "start": { - "line": 95, - "column": 4 - }, - "end": { - "line": 95, - "column": 5 - } - } - }, - "property": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "cj", - "range": [ - 2523, - 2525 - ], - "loc": { - "start": { - "line": 95, - "column": 6 - }, - "end": { - "line": 95, - "column": 8 - } - } - }, - "right": { - "type": "Literal", - "value": 2, - "raw": "2", - "range": [ - 2526, - 2527 - ], - "loc": { - "start": { - "line": 95, - "column": 9 - }, - "end": { - "line": 95, - "column": 10 - } - } - }, - "range": [ - 2523, - 2527 - ], - "loc": { - "start": { - "line": 95, - "column": 6 - }, - "end": { - "line": 95, - "column": 10 - } - } - }, - "range": [ - 2521, - 2528 - ], - "loc": { - "start": { - "line": 95, - "column": 4 - }, - "end": { - "line": 95, - "column": 11 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "/", - "left": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "z0", - "range": [ - 2532, - 2534 - ], - "loc": { - "start": { - "line": 95, - "column": 15 - }, - "end": { - "line": 95, - "column": 17 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 2537, - 2538 - ], - "loc": { - "start": { - "line": 95, - "column": 20 - }, - "end": { - "line": 95, - "column": 21 - } - } - }, - "property": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "cj", - "range": [ - 2539, - 2541 - ], - "loc": { - "start": { - "line": 95, - "column": 22 - }, - "end": { - "line": 95, - "column": 24 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 2542, - 2543 - ], - "loc": { - "start": { - "line": 95, - "column": 25 - }, - "end": { - "line": 95, - "column": 26 - } - } - }, - "range": [ - 2539, - 2543 - ], - "loc": { - "start": { - "line": 95, - "column": 22 - }, - "end": { - "line": 95, - "column": 26 - } - } - }, - "range": [ - 2537, - 2544 - ], - "loc": { - "start": { - "line": 95, - "column": 20 - }, - "end": { - "line": 95, - "column": 27 - } - } - }, - "range": [ - 2532, - 2544 - ], - "loc": { - "start": { - "line": 95, - "column": 15 - }, - "end": { - "line": 95, - "column": 27 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 2548, - 2549 - ], - "loc": { - "start": { - "line": 95, - "column": 31 - }, - "end": { - "line": 95, - "column": 32 - } - } - }, - "range": [ - 2531, - 2549 - ], - "loc": { - "start": { - "line": 95, - "column": 14 - }, - "end": { - "line": 95, - "column": 32 - } - } - }, - "range": [ - 2521, - 2549 - ], - "loc": { - "start": { - "line": 95, - "column": 4 - }, - "end": { - "line": 95, - "column": 32 - } - } - }, - "range": [ - 2521, - 2550 - ], - "loc": { - "start": { - "line": 95, - "column": 4 - }, - "end": { - "line": 95, - "column": 33 - } - } - } - ], - "range": [ - 2515, - 2555 - ], - "loc": { - "start": { - "line": 94, - "column": 14 - }, - "end": { - "line": 96, - "column": 4 - } - } - }, - "alternate": null, - "range": [ - 2504, - 2555 - ], - "loc": { - "start": { - "line": 94, - "column": 3 - }, - "end": { - "line": 96, - "column": 4 - } - } - } - ], - "range": [ - 2453, - 2560 - ], - "loc": { - "start": { - "line": 89, - "column": 15 - }, - "end": { - "line": 98, - "column": 3 - } - }, - "trailingComments": [ - { - "type": "Line", - "value": " RECURSION", - "range": [ - 2564, - 2576 - ], - "loc": { - "start": { - "line": 100, - "column": 2 - }, - "end": { - "line": 100, - "column": 14 - } - } - } - ] - }, - "alternate": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "n", - "range": [ - 2588, - 2589 - ], - "loc": { - "start": { - "line": 102, - "column": 3 - }, - "end": { - "line": 102, - "column": 4 - } - } - }, - "right": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "Math", - "range": [ - 2593, - 2597 - ], - "loc": { - "start": { - "line": 102, - "column": 8 - }, - "end": { - "line": 102, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "name": "ceil", - "range": [ - 2598, - 2602 - ], - "loc": { - "start": { - "line": 102, - "column": 13 - }, - "end": { - "line": 102, - "column": 17 - } - } - }, - "range": [ - 2593, - 2602 - ], - "loc": { - "start": { - "line": 102, - "column": 8 - }, - "end": { - "line": 102, - "column": 17 - } - } - }, - "arguments": [ - { - "type": "BinaryExpression", - "operator": "/", - "left": { - "type": "Identifier", - "name": "i", - "range": [ - 2603, - 2604 - ], - "loc": { - "start": { - "line": 102, - "column": 18 - }, - "end": { - "line": 102, - "column": 19 - } - } - }, - "right": { - "type": "Literal", - "value": 2, - "raw": "2", - "range": [ - 2607, - 2608 - ], - "loc": { - "start": { - "line": 102, - "column": 22 - }, - "end": { - "line": 102, - "column": 23 - } - } - }, - "range": [ - 2603, - 2608 - ], - "loc": { - "start": { - "line": 102, - "column": 18 - }, - "end": { - "line": 102, - "column": 23 - } - } - } - ], - "range": [ - 2593, - 2609 - ], - "loc": { - "start": { - "line": 102, - "column": 8 - }, - "end": { - "line": 102, - "column": 24 - } - } - }, - "range": [ - 2588, - 2609 - ], - "loc": { - "start": { - "line": 102, - "column": 3 - }, - "end": { - "line": 102, - "column": 24 - } - } - }, - "range": [ - 2588, - 2610 - ], - "loc": { - "start": { - "line": 102, - "column": 3 - }, - "end": { - "line": 102, - "column": 25 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "I", - "range": [ - 2614, - 2615 - ], - "loc": { - "start": { - "line": 103, - "column": 3 - }, - "end": { - "line": 103, - "column": 4 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "i", - "range": [ - 2619, - 2620 - ], - "loc": { - "start": { - "line": 103, - "column": 8 - }, - "end": { - "line": 103, - "column": 9 - } - } - }, - "right": { - "type": "Identifier", - "name": "j", - "range": [ - 2623, - 2624 - ], - "loc": { - "start": { - "line": 103, - "column": 12 - }, - "end": { - "line": 103, - "column": 13 - } - } - }, - "range": [ - 2619, - 2624 - ], - "loc": { - "start": { - "line": 103, - "column": 8 - }, - "end": { - "line": 103, - "column": 13 - } - } - }, - "range": [ - 2614, - 2624 - ], - "loc": { - "start": { - "line": 103, - "column": 3 - }, - "end": { - "line": 103, - "column": 13 - } - } - }, - "range": [ - 2614, - 2625 - ], - "loc": { - "start": { - "line": 103, - "column": 3 - }, - "end": { - "line": 103, - "column": 14 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "N", - "range": [ - 2629, - 2630 - ], - "loc": { - "start": { - "line": 104, - "column": 3 - }, - "end": { - "line": 104, - "column": 4 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "*", - "left": { - "type": "Literal", - "value": 2, - "raw": "2", - "range": [ - 2634, - 2635 - ], - "loc": { - "start": { - "line": 104, - "column": 8 - }, - "end": { - "line": 104, - "column": 9 - } - } - }, - "right": { - "type": "Identifier", - "name": "n", - "range": [ - 2638, - 2639 - ], - "loc": { - "start": { - "line": 104, - "column": 12 - }, - "end": { - "line": 104, - "column": 13 - } - } - }, - "range": [ - 2634, - 2639 - ], - "loc": { - "start": { - "line": 104, - "column": 8 - }, - "end": { - "line": 104, - "column": 13 - } - } - }, - "range": [ - 2629, - 2639 - ], - "loc": { - "start": { - "line": 104, - "column": 3 - }, - "end": { - "line": 104, - "column": 13 - } - } - }, - "range": [ - 2629, - 2640 - ], - "loc": { - "start": { - "line": 104, - "column": 3 - }, - "end": { - "line": 104, - "column": 14 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "N_", - "range": [ - 2644, - 2646 - ], - "loc": { - "start": { - "line": 105, - "column": 3 - }, - "end": { - "line": 105, - "column": 5 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "I", - "range": [ - 2649, - 2650 - ], - "loc": { - "start": { - "line": 105, - "column": 8 - }, - "end": { - "line": 105, - "column": 9 - } - } - }, - "right": { - "type": "Identifier", - "name": "N", - "range": [ - 2653, - 2654 - ], - "loc": { - "start": { - "line": 105, - "column": 12 - }, - "end": { - "line": 105, - "column": 13 - } - } - }, - "range": [ - 2649, - 2654 - ], - "loc": { - "start": { - "line": 105, - "column": 8 - }, - "end": { - "line": 105, - "column": 13 - } - } - }, - "range": [ - 2644, - 2654 - ], - "loc": { - "start": { - "line": 105, - "column": 3 - }, - "end": { - "line": 105, - "column": 13 - } - } - }, - "range": [ - 2644, - 2655 - ], - "loc": { - "start": { - "line": 105, - "column": 3 - }, - "end": { - "line": 105, - "column": 14 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "i_", - "range": [ - 2659, - 2661 - ], - "loc": { - "start": { - "line": 106, - "column": 3 - }, - "end": { - "line": 106, - "column": 5 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "aj", - "range": [ - 2664, - 2666 - ], - "loc": { - "start": { - "line": 106, - "column": 8 - }, - "end": { - "line": 106, - "column": 10 - } - } - }, - "right": { - "type": "Identifier", - "name": "n", - "range": [ - 2669, - 2670 - ], - "loc": { - "start": { - "line": 106, - "column": 13 - }, - "end": { - "line": 106, - "column": 14 - } - } - }, - "range": [ - 2664, - 2670 - ], - "loc": { - "start": { - "line": 106, - "column": 8 - }, - "end": { - "line": 106, - "column": 14 - } - } - }, - "range": [ - 2659, - 2670 - ], - "loc": { - "start": { - "line": 106, - "column": 3 - }, - "end": { - "line": 106, - "column": 14 - } - } - }, - "range": [ - 2659, - 2671 - ], - "loc": { - "start": { - "line": 106, - "column": 3 - }, - "end": { - "line": 106, - "column": 15 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "j_", - "range": [ - 2675, - 2677 - ], - "loc": { - "start": { - "line": 107, - "column": 3 - }, - "end": { - "line": 107, - "column": 5 - } - } - }, - "right": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "Math", - "range": [ - 2680, - 2684 - ], - "loc": { - "start": { - "line": 107, - "column": 8 - }, - "end": { - "line": 107, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "name": "max", - "range": [ - 2685, - 2688 - ], - "loc": { - "start": { - "line": 107, - "column": 13 - }, - "end": { - "line": 107, - "column": 16 - } - } - }, - "range": [ - 2680, - 2688 - ], - "loc": { - "start": { - "line": 107, - "column": 8 - }, - "end": { - "line": 107, - "column": 16 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "bi", - "range": [ - 2689, - 2691 - ], - "loc": { - "start": { - "line": 107, - "column": 17 - }, - "end": { - "line": 107, - "column": 19 - } - } - }, - { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "bj", - "range": [ - 2693, - 2695 - ], - "loc": { - "start": { - "line": 107, - "column": 21 - }, - "end": { - "line": 107, - "column": 23 - } - } - }, - "right": { - "type": "Identifier", - "name": "n", - "range": [ - 2698, - 2699 - ], - "loc": { - "start": { - "line": 107, - "column": 26 - }, - "end": { - "line": 107, - "column": 27 - } - } - }, - "range": [ - 2693, - 2699 - ], - "loc": { - "start": { - "line": 107, - "column": 21 - }, - "end": { - "line": 107, - "column": 27 - } - } - } - ], - "range": [ - 2680, - 2700 - ], - "loc": { - "start": { - "line": 107, - "column": 8 - }, - "end": { - "line": 107, - "column": 28 - } - } - }, - "range": [ - 2675, - 2700 - ], - "loc": { - "start": { - "line": 107, - "column": 3 - }, - "end": { - "line": 107, - "column": 28 - } - } - }, - "range": [ - 2675, - 2701 - ], - "loc": { - "start": { - "line": 107, - "column": 3 - }, - "end": { - "line": 107, - "column": 29 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "t1", - "range": [ - 2706, - 2708 - ], - "loc": { - "start": { - "line": 109, - "column": 3 - }, - "end": { - "line": 109, - "column": 5 - } - } - }, - "right": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "calloc", - "range": [ - 2711, - 2717 - ], - "loc": { - "start": { - "line": 109, - "column": 8 - }, - "end": { - "line": 109, - "column": 14 - } - } - }, - "arguments": [ - { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "n", - "range": [ - 2718, - 2719 - ], - "loc": { - "start": { - "line": 109, - "column": 15 - }, - "end": { - "line": 109, - "column": 16 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 2722, - 2723 - ], - "loc": { - "start": { - "line": 109, - "column": 19 - }, - "end": { - "line": 109, - "column": 20 - } - } - }, - "range": [ - 2718, - 2723 - ], - "loc": { - "start": { - "line": 109, - "column": 15 - }, - "end": { - "line": 109, - "column": 20 - } - } - } - ], - "range": [ - 2711, - 2724 - ], - "loc": { - "start": { - "line": 109, - "column": 8 - }, - "end": { - "line": 109, - "column": 21 - } - } - }, - "range": [ - 2706, - 2724 - ], - "loc": { - "start": { - "line": 109, - "column": 3 - }, - "end": { - "line": 109, - "column": 21 - } - } - }, - "range": [ - 2706, - 2725 - ], - "loc": { - "start": { - "line": 109, - "column": 3 - }, - "end": { - "line": 109, - "column": 22 - } - }, - "trailingComments": [ - { - "type": "Line", - "value": " + 1 to handle addition overflows", - "range": [ - 2726, - 2761 - ], - "loc": { - "start": { - "line": 109, - "column": 23 - }, - "end": { - "line": 109, - "column": 58 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "t2", - "range": [ - 2765, - 2767 - ], - "loc": { - "start": { - "line": 110, - "column": 3 - }, - "end": { - "line": 110, - "column": 5 - } - } - }, - "right": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "calloc", - "range": [ - 2770, - 2776 - ], - "loc": { - "start": { - "line": 110, - "column": 8 - }, - "end": { - "line": 110, - "column": 14 - } - } - }, - "arguments": [ - { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "n", - "range": [ - 2777, - 2778 - ], - "loc": { - "start": { - "line": 110, - "column": 15 - }, - "end": { - "line": 110, - "column": 16 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 2781, - 2782 - ], - "loc": { - "start": { - "line": 110, - "column": 19 - }, - "end": { - "line": 110, - "column": 20 - } - } - }, - "range": [ - 2777, - 2782 - ], - "loc": { - "start": { - "line": 110, - "column": 15 - }, - "end": { - "line": 110, - "column": 20 - } - } - } - ], - "range": [ - 2770, - 2783 - ], - "loc": { - "start": { - "line": 110, - "column": 8 - }, - "end": { - "line": 110, - "column": 21 - } - } - }, - "range": [ - 2765, - 2783 - ], - "loc": { - "start": { - "line": 110, - "column": 3 - }, - "end": { - "line": 110, - "column": 21 - } - } - }, - "range": [ - 2765, - 2784 - ], - "loc": { - "start": { - "line": 110, - "column": 3 - }, - "end": { - "line": 110, - "column": 22 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " + 1 to handle addition overflows", - "range": [ - 2726, - 2761 - ], - "loc": { - "start": { - "line": 109, - "column": 23 - }, - "end": { - "line": 109, - "column": 58 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": " and guarantee reducing k for the", - "range": [ - 2785, - 2820 - ], - "loc": { - "start": { - "line": 110, - "column": 23 - }, - "end": { - "line": 110, - "column": 58 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "t3", - "range": [ - 2824, - 2826 - ], - "loc": { - "start": { - "line": 111, - "column": 3 - }, - "end": { - "line": 111, - "column": 5 - } - } - }, - "right": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "calloc", - "range": [ - 2829, - 2835 - ], - "loc": { - "start": { - "line": 111, - "column": 8 - }, - "end": { - "line": 111, - "column": 14 - } - } - }, - "arguments": [ - { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "N", - "range": [ - 2836, - 2837 - ], - "loc": { - "start": { - "line": 111, - "column": 15 - }, - "end": { - "line": 111, - "column": 16 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 2840, - 2841 - ], - "loc": { - "start": { - "line": 111, - "column": 19 - }, - "end": { - "line": 111, - "column": 20 - } - } - }, - "range": [ - 2836, - 2841 - ], - "loc": { - "start": { - "line": 111, - "column": 15 - }, - "end": { - "line": 111, - "column": 20 - } - } - } - ], - "range": [ - 2829, - 2842 - ], - "loc": { - "start": { - "line": 111, - "column": 8 - }, - "end": { - "line": 111, - "column": 21 - } - } - }, - "range": [ - 2824, - 2842 - ], - "loc": { - "start": { - "line": 111, - "column": 3 - }, - "end": { - "line": 111, - "column": 21 - } - } - }, - "range": [ - 2824, - 2843 - ], - "loc": { - "start": { - "line": 111, - "column": 3 - }, - "end": { - "line": 111, - "column": 22 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " and guarantee reducing k for the", - "range": [ - 2785, - 2820 - ], - "loc": { - "start": { - "line": 110, - "column": 23 - }, - "end": { - "line": 110, - "column": 58 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": " recursive calls", - "range": [ - 2844, - 2862 - ], - "loc": { - "start": { - "line": 111, - "column": 23 - }, - "end": { - "line": 111, - "column": 41 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "z2", - "range": [ - 2866, - 2868 - ], - "loc": { - "start": { - "line": 112, - "column": 3 - }, - "end": { - "line": 112, - "column": 5 - } - } - }, - "right": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "calloc", - "range": [ - 2871, - 2877 - ], - "loc": { - "start": { - "line": 112, - "column": 8 - }, - "end": { - "line": 112, - "column": 14 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "N_", - "range": [ - 2878, - 2880 - ], - "loc": { - "start": { - "line": 112, - "column": 15 - }, - "end": { - "line": 112, - "column": 17 - } - } - } - ], - "range": [ - 2871, - 2881 - ], - "loc": { - "start": { - "line": 112, - "column": 8 - }, - "end": { - "line": 112, - "column": 18 - } - } - }, - "range": [ - 2866, - 2881 - ], - "loc": { - "start": { - "line": 112, - "column": 3 - }, - "end": { - "line": 112, - "column": 18 - } - } - }, - "range": [ - 2866, - 2882 - ], - "loc": { - "start": { - "line": 112, - "column": 3 - }, - "end": { - "line": 112, - "column": 19 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " recursive calls", - "range": [ - 2844, - 2862 - ], - "loc": { - "start": { - "line": 111, - "column": 23 - }, - "end": { - "line": 111, - "column": 41 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "z0", - "range": [ - 2886, - 2888 - ], - "loc": { - "start": { - "line": 113, - "column": 3 - }, - "end": { - "line": 113, - "column": 5 - } - } - }, - "right": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "calloc", - "range": [ - 2891, - 2897 - ], - "loc": { - "start": { - "line": 113, - "column": 8 - }, - "end": { - "line": 113, - "column": 14 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "N", - "range": [ - 2898, - 2899 - ], - "loc": { - "start": { - "line": 113, - "column": 15 - }, - "end": { - "line": 113, - "column": 16 - } - } - } - ], - "range": [ - 2891, - 2900 - ], - "loc": { - "start": { - "line": 113, - "column": 8 - }, - "end": { - "line": 113, - "column": 17 - } - } - }, - "range": [ - 2886, - 2900 - ], - "loc": { - "start": { - "line": 113, - "column": 3 - }, - "end": { - "line": 113, - "column": 17 - } - } - }, - "range": [ - 2886, - 2901 - ], - "loc": { - "start": { - "line": 113, - "column": 3 - }, - "end": { - "line": 113, - "column": 18 - } - }, - "trailingComments": [ - { - "type": "Line", - "value": " RECURSIVE CALLS", - "range": [ - 2905, - 2923 - ], - "loc": { - "start": { - "line": 115, - "column": 2 - }, - "end": { - "line": 115, - "column": 20 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "mul", - "range": [ - 2927, - 2930 - ], - "loc": { - "start": { - "line": 116, - "column": 3 - }, - "end": { - "line": 116, - "column": 6 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 2931, - 2932 - ], - "loc": { - "start": { - "line": 116, - "column": 7 - }, - "end": { - "line": 116, - "column": 8 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 2934, - 2936 - ], - "loc": { - "start": { - "line": 116, - "column": 10 - }, - "end": { - "line": 116, - "column": 12 - } - } - }, - { - "type": "Identifier", - "name": "i_", - "range": [ - 2938, - 2940 - ], - "loc": { - "start": { - "line": 116, - "column": 14 - }, - "end": { - "line": 116, - "column": 16 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 2942, - 2943 - ], - "loc": { - "start": { - "line": 116, - "column": 18 - }, - "end": { - "line": 116, - "column": 19 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 2945, - 2947 - ], - "loc": { - "start": { - "line": 116, - "column": 21 - }, - "end": { - "line": 116, - "column": 23 - } - } - }, - { - "type": "Identifier", - "name": "j_", - "range": [ - 2949, - 2951 - ], - "loc": { - "start": { - "line": 116, - "column": 25 - }, - "end": { - "line": 116, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "z2", - "range": [ - 2953, - 2955 - ], - "loc": { - "start": { - "line": 116, - "column": 29 - }, - "end": { - "line": 116, - "column": 31 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 2957, - 2958 - ], - "loc": { - "start": { - "line": 116, - "column": 33 - }, - "end": { - "line": 116, - "column": 34 - } - } - }, - { - "type": "Identifier", - "name": "N_", - "range": [ - 2960, - 2962 - ], - "loc": { - "start": { - "line": 116, - "column": 36 - }, - "end": { - "line": 116, - "column": 38 - } - } - } - ], - "range": [ - 2927, - 2963 - ], - "loc": { - "start": { - "line": 116, - "column": 3 - }, - "end": { - "line": 116, - "column": 39 - } - } - }, - "range": [ - 2927, - 2964 - ], - "loc": { - "start": { - "line": 116, - "column": 3 - }, - "end": { - "line": 116, - "column": 40 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " RECURSIVE CALLS", - "range": [ - 2905, - 2923 - ], - "loc": { - "start": { - "line": 115, - "column": 2 - }, - "end": { - "line": 115, - "column": 20 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": " z2 = a1.b1", - "range": [ - 2976, - 2989 - ], - "loc": { - "start": { - "line": 116, - "column": 52 - }, - "end": { - "line": 116, - "column": 65 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "mul", - "range": [ - 2993, - 2996 - ], - "loc": { - "start": { - "line": 117, - "column": 3 - }, - "end": { - "line": 117, - "column": 6 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 2997, - 2998 - ], - "loc": { - "start": { - "line": 117, - "column": 7 - }, - "end": { - "line": 117, - "column": 8 - } - } - }, - { - "type": "Identifier", - "name": "i_", - "range": [ - 3000, - 3002 - ], - "loc": { - "start": { - "line": 117, - "column": 10 - }, - "end": { - "line": 117, - "column": 12 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 3004, - 3006 - ], - "loc": { - "start": { - "line": 117, - "column": 14 - }, - "end": { - "line": 117, - "column": 16 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 3008, - 3009 - ], - "loc": { - "start": { - "line": 117, - "column": 18 - }, - "end": { - "line": 117, - "column": 19 - } - } - }, - { - "type": "Identifier", - "name": "j_", - "range": [ - 3011, - 3013 - ], - "loc": { - "start": { - "line": 117, - "column": 21 - }, - "end": { - "line": 117, - "column": 23 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 3015, - 3017 - ], - "loc": { - "start": { - "line": 117, - "column": 25 - }, - "end": { - "line": 117, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "z0", - "range": [ - 3019, - 3021 - ], - "loc": { - "start": { - "line": 117, - "column": 29 - }, - "end": { - "line": 117, - "column": 31 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 3023, - 3024 - ], - "loc": { - "start": { - "line": 117, - "column": 33 - }, - "end": { - "line": 117, - "column": 34 - } - } - }, - { - "type": "Identifier", - "name": "N", - "range": [ - 3026, - 3027 - ], - "loc": { - "start": { - "line": 117, - "column": 36 - }, - "end": { - "line": 117, - "column": 37 - } - } - } - ], - "range": [ - 2993, - 3028 - ], - "loc": { - "start": { - "line": 117, - "column": 3 - }, - "end": { - "line": 117, - "column": 38 - } - } - }, - "range": [ - 2993, - 3029 - ], - "loc": { - "start": { - "line": 117, - "column": 3 - }, - "end": { - "line": 117, - "column": 39 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " z2 = a1.b1", - "range": [ - 2976, - 2989 - ], - "loc": { - "start": { - "line": 116, - "column": 52 - }, - "end": { - "line": 116, - "column": 65 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": " z0 = a0.b0", - "range": [ - 3042, - 3055 - ], - "loc": { - "start": { - "line": 117, - "column": 52 - }, - "end": { - "line": 117, - "column": 65 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "add", - "range": [ - 3059, - 3062 - ], - "loc": { - "start": { - "line": 118, - "column": 3 - }, - "end": { - "line": 118, - "column": 6 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 3063, - 3064 - ], - "loc": { - "start": { - "line": 118, - "column": 7 - }, - "end": { - "line": 118, - "column": 8 - } - } - }, - { - "type": "Identifier", - "name": "i_", - "range": [ - 3066, - 3068 - ], - "loc": { - "start": { - "line": 118, - "column": 10 - }, - "end": { - "line": 118, - "column": 12 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 3070, - 3072 - ], - "loc": { - "start": { - "line": 118, - "column": 14 - }, - "end": { - "line": 118, - "column": 16 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 3074, - 3075 - ], - "loc": { - "start": { - "line": 118, - "column": 18 - }, - "end": { - "line": 118, - "column": 19 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 3077, - 3079 - ], - "loc": { - "start": { - "line": 118, - "column": 21 - }, - "end": { - "line": 118, - "column": 23 - } - } - }, - { - "type": "Identifier", - "name": "i_", - "range": [ - 3081, - 3083 - ], - "loc": { - "start": { - "line": 118, - "column": 25 - }, - "end": { - "line": 118, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "t1", - "range": [ - 3085, - 3087 - ], - "loc": { - "start": { - "line": 118, - "column": 29 - }, - "end": { - "line": 118, - "column": 31 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 3089, - 3090 - ], - "loc": { - "start": { - "line": 118, - "column": 33 - }, - "end": { - "line": 118, - "column": 34 - } - } - }, - { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "n", - "range": [ - 3092, - 3093 - ], - "loc": { - "start": { - "line": 118, - "column": 36 - }, - "end": { - "line": 118, - "column": 37 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 3096, - 3097 - ], - "loc": { - "start": { - "line": 118, - "column": 40 - }, - "end": { - "line": 118, - "column": 41 - } - } - }, - "range": [ - 3092, - 3097 - ], - "loc": { - "start": { - "line": 118, - "column": 36 - }, - "end": { - "line": 118, - "column": 41 - } - } - } - ], - "range": [ - 3059, - 3098 - ], - "loc": { - "start": { - "line": 118, - "column": 3 - }, - "end": { - "line": 118, - "column": 42 - } - } - }, - "range": [ - 3059, - 3099 - ], - "loc": { - "start": { - "line": 118, - "column": 3 - }, - "end": { - "line": 118, - "column": 43 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " z0 = a0.b0", - "range": [ - 3042, - 3055 - ], - "loc": { - "start": { - "line": 117, - "column": 52 - }, - "end": { - "line": 117, - "column": 65 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": " (a0 + a1)", - "range": [ - 3108, - 3120 - ], - "loc": { - "start": { - "line": 118, - "column": 52 - }, - "end": { - "line": 118, - "column": 64 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "add", - "range": [ - 3124, - 3127 - ], - "loc": { - "start": { - "line": 119, - "column": 3 - }, - "end": { - "line": 119, - "column": 6 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "b", - "range": [ - 3128, - 3129 - ], - "loc": { - "start": { - "line": 119, - "column": 7 - }, - "end": { - "line": 119, - "column": 8 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 3131, - 3133 - ], - "loc": { - "start": { - "line": 119, - "column": 10 - }, - "end": { - "line": 119, - "column": 12 - } - } - }, - { - "type": "Identifier", - "name": "j_", - "range": [ - 3135, - 3137 - ], - "loc": { - "start": { - "line": 119, - "column": 14 - }, - "end": { - "line": 119, - "column": 16 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 3139, - 3140 - ], - "loc": { - "start": { - "line": 119, - "column": 18 - }, - "end": { - "line": 119, - "column": 19 - } - } - }, - { - "type": "Identifier", - "name": "j_", - "range": [ - 3142, - 3144 - ], - "loc": { - "start": { - "line": 119, - "column": 21 - }, - "end": { - "line": 119, - "column": 23 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 3146, - 3148 - ], - "loc": { - "start": { - "line": 119, - "column": 25 - }, - "end": { - "line": 119, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "t2", - "range": [ - 3150, - 3152 - ], - "loc": { - "start": { - "line": 119, - "column": 29 - }, - "end": { - "line": 119, - "column": 31 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 3154, - 3155 - ], - "loc": { - "start": { - "line": 119, - "column": 33 - }, - "end": { - "line": 119, - "column": 34 - } - } - }, - { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "n", - "range": [ - 3157, - 3158 - ], - "loc": { - "start": { - "line": 119, - "column": 36 - }, - "end": { - "line": 119, - "column": 37 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 3161, - 3162 - ], - "loc": { - "start": { - "line": 119, - "column": 40 - }, - "end": { - "line": 119, - "column": 41 - } - } - }, - "range": [ - 3157, - 3162 - ], - "loc": { - "start": { - "line": 119, - "column": 36 - }, - "end": { - "line": 119, - "column": 41 - } - } - } - ], - "range": [ - 3124, - 3163 - ], - "loc": { - "start": { - "line": 119, - "column": 3 - }, - "end": { - "line": 119, - "column": 42 - } - } - }, - "range": [ - 3124, - 3164 - ], - "loc": { - "start": { - "line": 119, - "column": 3 - }, - "end": { - "line": 119, - "column": 43 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " (a0 + a1)", - "range": [ - 3108, - 3120 - ], - "loc": { - "start": { - "line": 118, - "column": 52 - }, - "end": { - "line": 118, - "column": 64 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": " (b1 + b0)", - "range": [ - 3173, - 3185 - ], - "loc": { - "start": { - "line": 119, - "column": 52 - }, - "end": { - "line": 119, - "column": 64 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "mul", - "range": [ - 3189, - 3192 - ], - "loc": { - "start": { - "line": 120, - "column": 3 - }, - "end": { - "line": 120, - "column": 6 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "t1", - "range": [ - 3193, - 3195 - ], - "loc": { - "start": { - "line": 120, - "column": 7 - }, - "end": { - "line": 120, - "column": 9 - } - } - }, - { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 3197, - 3198 - ], - "loc": { - "start": { - "line": 120, - "column": 11 - }, - "end": { - "line": 120, - "column": 12 - } - } - }, - { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "n", - "range": [ - 3200, - 3201 - ], - "loc": { - "start": { - "line": 120, - "column": 14 - }, - "end": { - "line": 120, - "column": 15 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 3204, - 3205 - ], - "loc": { - "start": { - "line": 120, - "column": 18 - }, - "end": { - "line": 120, - "column": 19 - } - } - }, - "range": [ - 3200, - 3205 - ], - "loc": { - "start": { - "line": 120, - "column": 14 - }, - "end": { - "line": 120, - "column": 19 - } - } - }, - { - "type": "Identifier", - "name": "t2", - "range": [ - 3207, - 3209 - ], - "loc": { - "start": { - "line": 120, - "column": 21 - }, - "end": { - "line": 120, - "column": 23 - } - } - }, - { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 3211, - 3212 - ], - "loc": { - "start": { - "line": 120, - "column": 25 - }, - "end": { - "line": 120, - "column": 26 - } - } - }, - { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "n", - "range": [ - 3214, - 3215 - ], - "loc": { - "start": { - "line": 120, - "column": 28 - }, - "end": { - "line": 120, - "column": 29 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 3218, - 3219 - ], - "loc": { - "start": { - "line": 120, - "column": 32 - }, - "end": { - "line": 120, - "column": 33 - } - } - }, - "range": [ - 3214, - 3219 - ], - "loc": { - "start": { - "line": 120, - "column": 28 - }, - "end": { - "line": 120, - "column": 33 - } - } - }, - { - "type": "Identifier", - "name": "t3", - "range": [ - 3221, - 3223 - ], - "loc": { - "start": { - "line": 120, - "column": 35 - }, - "end": { - "line": 120, - "column": 37 - } - } - }, - { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 3225, - 3226 - ], - "loc": { - "start": { - "line": 120, - "column": 39 - }, - "end": { - "line": 120, - "column": 40 - } - } - }, - { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "N", - "range": [ - 3228, - 3229 - ], - "loc": { - "start": { - "line": 120, - "column": 42 - }, - "end": { - "line": 120, - "column": 43 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 3232, - 3233 - ], - "loc": { - "start": { - "line": 120, - "column": 46 - }, - "end": { - "line": 120, - "column": 47 - } - } - }, - "range": [ - 3228, - 3233 - ], - "loc": { - "start": { - "line": 120, - "column": 42 - }, - "end": { - "line": 120, - "column": 47 - } - } - } - ], - "range": [ - 3189, - 3234 - ], - "loc": { - "start": { - "line": 120, - "column": 3 - }, - "end": { - "line": 120, - "column": 48 - } - } - }, - "range": [ - 3189, - 3235 - ], - "loc": { - "start": { - "line": 120, - "column": 3 - }, - "end": { - "line": 120, - "column": 49 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " (b1 + b0)", - "range": [ - 3173, - 3185 - ], - "loc": { - "start": { - "line": 119, - "column": 52 - }, - "end": { - "line": 119, - "column": 64 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": " (a0 + a1)(b1 + b0)", - "range": [ - 3238, - 3259 - ], - "loc": { - "start": { - "line": 120, - "column": 52 - }, - "end": { - "line": 120, - "column": 73 - } - } - }, - { - "type": "Line", - "value": " BUILD OUTPUT", - "range": [ - 3263, - 3278 - ], - "loc": { - "start": { - "line": 122, - "column": 2 - }, - "end": { - "line": 122, - "column": 17 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "mov", - "range": [ - 3282, - 3285 - ], - "loc": { - "start": { - "line": 123, - "column": 3 - }, - "end": { - "line": 123, - "column": 6 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "z2", - "range": [ - 3286, - 3288 - ], - "loc": { - "start": { - "line": 123, - "column": 7 - }, - "end": { - "line": 123, - "column": 9 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 3290, - 3291 - ], - "loc": { - "start": { - "line": 123, - "column": 11 - }, - "end": { - "line": 123, - "column": 12 - } - } - }, - { - "type": "Identifier", - "name": "N_", - "range": [ - 3293, - 3295 - ], - "loc": { - "start": { - "line": 123, - "column": 14 - }, - "end": { - "line": 123, - "column": 16 - } - } - }, - { - "type": "Identifier", - "name": "c", - "range": [ - 3297, - 3298 - ], - "loc": { - "start": { - "line": 123, - "column": 18 - }, - "end": { - "line": 123, - "column": 19 - } - } - }, - { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "cj", - "range": [ - 3300, - 3302 - ], - "loc": { - "start": { - "line": 123, - "column": 21 - }, - "end": { - "line": 123, - "column": 23 - } - } - }, - "right": { - "type": "Identifier", - "name": "I", - "range": [ - 3305, - 3306 - ], - "loc": { - "start": { - "line": 123, - "column": 26 - }, - "end": { - "line": 123, - "column": 27 - } - } - }, - "range": [ - 3300, - 3306 - ], - "loc": { - "start": { - "line": 123, - "column": 21 - }, - "end": { - "line": 123, - "column": 27 - } - } - } - ], - "range": [ - 3282, - 3307 - ], - "loc": { - "start": { - "line": 123, - "column": 3 - }, - "end": { - "line": 123, - "column": 28 - } - } - }, - "range": [ - 3282, - 3308 - ], - "loc": { - "start": { - "line": 123, - "column": 3 - }, - "end": { - "line": 123, - "column": 29 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " (a0 + a1)(b1 + b0)", - "range": [ - 3238, - 3259 - ], - "loc": { - "start": { - "line": 120, - "column": 52 - }, - "end": { - "line": 120, - "column": 73 - } - } - }, - { - "type": "Line", - "value": " BUILD OUTPUT", - "range": [ - 3263, - 3278 - ], - "loc": { - "start": { - "line": 122, - "column": 2 - }, - "end": { - "line": 122, - "column": 17 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": " + z2 . r^{2n}", - "range": [ - 3331, - 3347 - ], - "loc": { - "start": { - "line": 123, - "column": 52 - }, - "end": { - "line": 123, - "column": 68 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "mov", - "range": [ - 3351, - 3354 - ], - "loc": { - "start": { - "line": 124, - "column": 3 - }, - "end": { - "line": 124, - "column": 6 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "z0", - "range": [ - 3355, - 3357 - ], - "loc": { - "start": { - "line": 124, - "column": 7 - }, - "end": { - "line": 124, - "column": 9 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 3359, - 3360 - ], - "loc": { - "start": { - "line": 124, - "column": 11 - }, - "end": { - "line": 124, - "column": 12 - } - } - }, - { - "type": "Identifier", - "name": "N", - "range": [ - 3362, - 3363 - ], - "loc": { - "start": { - "line": 124, - "column": 14 - }, - "end": { - "line": 124, - "column": 15 - } - } - }, - { - "type": "Identifier", - "name": "c", - "range": [ - 3366, - 3367 - ], - "loc": { - "start": { - "line": 124, - "column": 18 - }, - "end": { - "line": 124, - "column": 19 - } - } - }, - { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "cj", - "range": [ - 3369, - 3371 - ], - "loc": { - "start": { - "line": 124, - "column": 21 - }, - "end": { - "line": 124, - "column": 23 - } - } - }, - "right": { - "type": "Identifier", - "name": "N", - "range": [ - 3374, - 3375 - ], - "loc": { - "start": { - "line": 124, - "column": 26 - }, - "end": { - "line": 124, - "column": 27 - } - } - }, - "range": [ - 3369, - 3375 - ], - "loc": { - "start": { - "line": 124, - "column": 21 - }, - "end": { - "line": 124, - "column": 27 - } - } - } - ], - "range": [ - 3351, - 3376 - ], - "loc": { - "start": { - "line": 124, - "column": 3 - }, - "end": { - "line": 124, - "column": 28 - } - } - }, - "range": [ - 3351, - 3377 - ], - "loc": { - "start": { - "line": 124, - "column": 3 - }, - "end": { - "line": 124, - "column": 29 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " + z2 . r^{2n}", - "range": [ - 3331, - 3347 - ], - "loc": { - "start": { - "line": 123, - "column": 52 - }, - "end": { - "line": 123, - "column": 68 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": " + z0", - "range": [ - 3400, - 3407 - ], - "loc": { - "start": { - "line": 124, - "column": 52 - }, - "end": { - "line": 124, - "column": 59 - } - } - } - ] - }, - { - "type": "IfStatement", - "test": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "t1", - "range": [ - 3416, - 3418 - ], - "loc": { - "start": { - "line": 126, - "column": 7 - }, - "end": { - "line": 126, - "column": 9 - } - } - }, - "property": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 3419, - 3420 - ], - "loc": { - "start": { - "line": 126, - "column": 10 - }, - "end": { - "line": 126, - "column": 11 - } - } - }, - "range": [ - 3416, - 3421 - ], - "loc": { - "start": { - "line": 126, - "column": 7 - }, - "end": { - "line": 126, - "column": 12 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "add", - "range": [ - 3467, - 3470 - ], - "loc": { - "start": { - "line": 128, - "column": 4 - }, - "end": { - "line": 128, - "column": 7 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "t3", - "range": [ - 3471, - 3473 - ], - "loc": { - "start": { - "line": 128, - "column": 8 - }, - "end": { - "line": 128, - "column": 10 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 3475, - 3476 - ], - "loc": { - "start": { - "line": 128, - "column": 12 - }, - "end": { - "line": 128, - "column": 13 - } - } - }, - { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "N", - "range": [ - 3478, - 3479 - ], - "loc": { - "start": { - "line": 128, - "column": 15 - }, - "end": { - "line": 128, - "column": 16 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 3482, - 3483 - ], - "loc": { - "start": { - "line": 128, - "column": 19 - }, - "end": { - "line": 128, - "column": 20 - } - } - }, - "range": [ - 3478, - 3483 - ], - "loc": { - "start": { - "line": 128, - "column": 15 - }, - "end": { - "line": 128, - "column": 20 - } - } - }, - "right": { - "type": "Identifier", - "name": "n", - "range": [ - 3486, - 3487 - ], - "loc": { - "start": { - "line": 128, - "column": 23 - }, - "end": { - "line": 128, - "column": 24 - } - } - }, - "range": [ - 3478, - 3487 - ], - "loc": { - "start": { - "line": 128, - "column": 15 - }, - "end": { - "line": 128, - "column": 24 - } - } - }, - { - "type": "Identifier", - "name": "t2", - "range": [ - 3489, - 3491 - ], - "loc": { - "start": { - "line": 128, - "column": 26 - }, - "end": { - "line": 128, - "column": 28 - } - } - }, - { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 3493, - 3494 - ], - "loc": { - "start": { - "line": 128, - "column": 30 - }, - "end": { - "line": 128, - "column": 31 - } - } - }, - { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "n", - "range": [ - 3496, - 3497 - ], - "loc": { - "start": { - "line": 128, - "column": 33 - }, - "end": { - "line": 128, - "column": 34 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 3500, - 3501 - ], - "loc": { - "start": { - "line": 128, - "column": 37 - }, - "end": { - "line": 128, - "column": 38 - } - } - }, - "range": [ - 3496, - 3501 - ], - "loc": { - "start": { - "line": 128, - "column": 33 - }, - "end": { - "line": 128, - "column": 38 - } - } - }, - { - "type": "Identifier", - "name": "t3", - "range": [ - 3503, - 3505 - ], - "loc": { - "start": { - "line": 128, - "column": 40 - }, - "end": { - "line": 128, - "column": 42 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 3507, - 3508 - ], - "loc": { - "start": { - "line": 128, - "column": 44 - }, - "end": { - "line": 128, - "column": 45 - } - } - }, - { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "N", - "range": [ - 3510, - 3511 - ], - "loc": { - "start": { - "line": 128, - "column": 47 - }, - "end": { - "line": 128, - "column": 48 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 3514, - 3515 - ], - "loc": { - "start": { - "line": 128, - "column": 51 - }, - "end": { - "line": 128, - "column": 52 - } - } - }, - "range": [ - 3510, - 3515 - ], - "loc": { - "start": { - "line": 128, - "column": 47 - }, - "end": { - "line": 128, - "column": 52 - } - } - }, - "right": { - "type": "Identifier", - "name": "n", - "range": [ - 3518, - 3519 - ], - "loc": { - "start": { - "line": 128, - "column": 55 - }, - "end": { - "line": 128, - "column": 56 - } - } - }, - "range": [ - 3510, - 3519 - ], - "loc": { - "start": { - "line": 128, - "column": 47 - }, - "end": { - "line": 128, - "column": 56 - } - } - } - ], - "range": [ - 3467, - 3520 - ], - "loc": { - "start": { - "line": 128, - "column": 4 - }, - "end": { - "line": 128, - "column": 57 - } - } - }, - "range": [ - 3467, - 3521 - ], - "loc": { - "start": { - "line": 128, - "column": 4 - }, - "end": { - "line": 128, - "column": 58 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " overflow on t1, add t2 . r^{n}", - "range": [ - 3429, - 3462 - ], - "loc": { - "start": { - "line": 127, - "column": 4 - }, - "end": { - "line": 127, - "column": 37 - } - } - } - ] - } - ], - "range": [ - 3423, - 3526 - ], - "loc": { - "start": { - "line": 126, - "column": 14 - }, - "end": { - "line": 129, - "column": 4 - } - } - }, - "alternate": null, - "range": [ - 3412, - 3526 - ], - "loc": { - "start": { - "line": 126, - "column": 3 - }, - "end": { - "line": 129, - "column": 4 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " + z0", - "range": [ - 3400, - 3407 - ], - "loc": { - "start": { - "line": 124, - "column": 52 - }, - "end": { - "line": 124, - "column": 59 - } - } - } - ] - }, - { - "type": "IfStatement", - "test": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "t2", - "range": [ - 3535, - 3537 - ], - "loc": { - "start": { - "line": 131, - "column": 7 - }, - "end": { - "line": 131, - "column": 9 - } - } - }, - "property": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 3538, - 3539 - ], - "loc": { - "start": { - "line": 131, - "column": 10 - }, - "end": { - "line": 131, - "column": 11 - } - } - }, - "range": [ - 3535, - 3540 - ], - "loc": { - "start": { - "line": 131, - "column": 7 - }, - "end": { - "line": 131, - "column": 12 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "add", - "range": [ - 3586, - 3589 - ], - "loc": { - "start": { - "line": 133, - "column": 4 - }, - "end": { - "line": 133, - "column": 7 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "t3", - "range": [ - 3590, - 3592 - ], - "loc": { - "start": { - "line": 133, - "column": 8 - }, - "end": { - "line": 133, - "column": 10 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 3594, - 3595 - ], - "loc": { - "start": { - "line": 133, - "column": 12 - }, - "end": { - "line": 133, - "column": 13 - } - } - }, - { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "N", - "range": [ - 3597, - 3598 - ], - "loc": { - "start": { - "line": 133, - "column": 15 - }, - "end": { - "line": 133, - "column": 16 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 3601, - 3602 - ], - "loc": { - "start": { - "line": 133, - "column": 19 - }, - "end": { - "line": 133, - "column": 20 - } - } - }, - "range": [ - 3597, - 3602 - ], - "loc": { - "start": { - "line": 133, - "column": 15 - }, - "end": { - "line": 133, - "column": 20 - } - } - }, - "right": { - "type": "Identifier", - "name": "n", - "range": [ - 3605, - 3606 - ], - "loc": { - "start": { - "line": 133, - "column": 23 - }, - "end": { - "line": 133, - "column": 24 - } - } - }, - "range": [ - 3597, - 3606 - ], - "loc": { - "start": { - "line": 133, - "column": 15 - }, - "end": { - "line": 133, - "column": 24 - } - } - }, - { - "type": "Identifier", - "name": "t1", - "range": [ - 3608, - 3610 - ], - "loc": { - "start": { - "line": 133, - "column": 26 - }, - "end": { - "line": 133, - "column": 28 - } - } - }, - { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 3612, - 3613 - ], - "loc": { - "start": { - "line": 133, - "column": 30 - }, - "end": { - "line": 133, - "column": 31 - } - } - }, - { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "n", - "range": [ - 3615, - 3616 - ], - "loc": { - "start": { - "line": 133, - "column": 33 - }, - "end": { - "line": 133, - "column": 34 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 3619, - 3620 - ], - "loc": { - "start": { - "line": 133, - "column": 37 - }, - "end": { - "line": 133, - "column": 38 - } - } - }, - "range": [ - 3615, - 3620 - ], - "loc": { - "start": { - "line": 133, - "column": 33 - }, - "end": { - "line": 133, - "column": 38 - } - } - }, - { - "type": "Identifier", - "name": "t3", - "range": [ - 3622, - 3624 - ], - "loc": { - "start": { - "line": 133, - "column": 40 - }, - "end": { - "line": 133, - "column": 42 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 3626, - 3627 - ], - "loc": { - "start": { - "line": 133, - "column": 44 - }, - "end": { - "line": 133, - "column": 45 - } - } - }, - { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "N", - "range": [ - 3629, - 3630 - ], - "loc": { - "start": { - "line": 133, - "column": 47 - }, - "end": { - "line": 133, - "column": 48 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 3633, - 3634 - ], - "loc": { - "start": { - "line": 133, - "column": 51 - }, - "end": { - "line": 133, - "column": 52 - } - } - }, - "range": [ - 3629, - 3634 - ], - "loc": { - "start": { - "line": 133, - "column": 47 - }, - "end": { - "line": 133, - "column": 52 - } - } - }, - "right": { - "type": "Identifier", - "name": "n", - "range": [ - 3637, - 3638 - ], - "loc": { - "start": { - "line": 133, - "column": 55 - }, - "end": { - "line": 133, - "column": 56 - } - } - }, - "range": [ - 3629, - 3638 - ], - "loc": { - "start": { - "line": 133, - "column": 47 - }, - "end": { - "line": 133, - "column": 56 - } - } - } - ], - "range": [ - 3586, - 3639 - ], - "loc": { - "start": { - "line": 133, - "column": 4 - }, - "end": { - "line": 133, - "column": 57 - } - } - }, - "range": [ - 3586, - 3640 - ], - "loc": { - "start": { - "line": 133, - "column": 4 - }, - "end": { - "line": 133, - "column": 58 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " overflow on t2, add t1 . r^{n}", - "range": [ - 3548, - 3581 - ], - "loc": { - "start": { - "line": 132, - "column": 4 - }, - "end": { - "line": 132, - "column": 37 - } - } - } - ] - } - ], - "range": [ - 3542, - 3645 - ], - "loc": { - "start": { - "line": 131, - "column": 14 - }, - "end": { - "line": 134, - "column": 4 - } - } - }, - "alternate": null, - "range": [ - 3531, - 3645 - ], - "loc": { - "start": { - "line": 131, - "column": 3 - }, - "end": { - "line": 134, - "column": 4 - } - } - }, - { - "type": "IfStatement", - "test": { - "type": "LogicalExpression", - "operator": "&&", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "t1", - "range": [ - 3654, - 3656 - ], - "loc": { - "start": { - "line": 136, - "column": 7 - }, - "end": { - "line": 136, - "column": 9 - } - } - }, - "property": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 3657, - 3658 - ], - "loc": { - "start": { - "line": 136, - "column": 10 - }, - "end": { - "line": 136, - "column": 11 - } - } - }, - "range": [ - 3654, - 3659 - ], - "loc": { - "start": { - "line": 136, - "column": 7 - }, - "end": { - "line": 136, - "column": 12 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "t2", - "range": [ - 3663, - 3665 - ], - "loc": { - "start": { - "line": 136, - "column": 16 - }, - "end": { - "line": 136, - "column": 18 - } - } - }, - "property": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 3666, - 3667 - ], - "loc": { - "start": { - "line": 136, - "column": 19 - }, - "end": { - "line": 136, - "column": 20 - } - } - }, - "range": [ - 3663, - 3668 - ], - "loc": { - "start": { - "line": 136, - "column": 16 - }, - "end": { - "line": 136, - "column": 21 - } - } - }, - "range": [ - 3654, - 3668 - ], - "loc": { - "start": { - "line": 136, - "column": 7 - }, - "end": { - "line": 136, - "column": 21 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "add", - "range": [ - 3722, - 3725 - ], - "loc": { - "start": { - "line": 138, - "column": 4 - }, - "end": { - "line": 138, - "column": 7 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "t3", - "range": [ - 3726, - 3728 - ], - "loc": { - "start": { - "line": 138, - "column": 8 - }, - "end": { - "line": 138, - "column": 10 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 3730, - 3731 - ], - "loc": { - "start": { - "line": 138, - "column": 12 - }, - "end": { - "line": 138, - "column": 13 - } - } - }, - { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "N", - "range": [ - 3733, - 3734 - ], - "loc": { - "start": { - "line": 138, - "column": 15 - }, - "end": { - "line": 138, - "column": 16 - } - } - }, - "right": { - "type": "Identifier", - "name": "n", - "range": [ - 3737, - 3738 - ], - "loc": { - "start": { - "line": 138, - "column": 19 - }, - "end": { - "line": 138, - "column": 20 - } - } - }, - "range": [ - 3733, - 3738 - ], - "loc": { - "start": { - "line": 138, - "column": 15 - }, - "end": { - "line": 138, - "column": 20 - } - } - }, - { - "type": "Identifier", - "name": "t1", - "range": [ - 3740, - 3742 - ], - "loc": { - "start": { - "line": 138, - "column": 22 - }, - "end": { - "line": 138, - "column": 24 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 3744, - 3745 - ], - "loc": { - "start": { - "line": 138, - "column": 26 - }, - "end": { - "line": 138, - "column": 27 - } - } - }, - { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 3747, - 3748 - ], - "loc": { - "start": { - "line": 138, - "column": 29 - }, - "end": { - "line": 138, - "column": 30 - } - } - }, - { - "type": "Identifier", - "name": "t3", - "range": [ - 3750, - 3752 - ], - "loc": { - "start": { - "line": 138, - "column": 32 - }, - "end": { - "line": 138, - "column": 34 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 3754, - 3755 - ], - "loc": { - "start": { - "line": 138, - "column": 36 - }, - "end": { - "line": 138, - "column": 37 - } - } - }, - { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "N", - "range": [ - 3757, - 3758 - ], - "loc": { - "start": { - "line": 138, - "column": 39 - }, - "end": { - "line": 138, - "column": 40 - } - } - }, - "right": { - "type": "Identifier", - "name": "n", - "range": [ - 3761, - 3762 - ], - "loc": { - "start": { - "line": 138, - "column": 43 - }, - "end": { - "line": 138, - "column": 44 - } - } - }, - "range": [ - 3757, - 3762 - ], - "loc": { - "start": { - "line": 138, - "column": 39 - }, - "end": { - "line": 138, - "column": 44 - } - } - } - ], - "range": [ - 3722, - 3763 - ], - "loc": { - "start": { - "line": 138, - "column": 4 - }, - "end": { - "line": 138, - "column": 45 - } - } - }, - "range": [ - 3722, - 3764 - ], - "loc": { - "start": { - "line": 138, - "column": 4 - }, - "end": { - "line": 138, - "column": 46 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " overflow on t1 and t2, add 1 . r^{n+1}", - "range": [ - 3676, - 3717 - ], - "loc": { - "start": { - "line": 137, - "column": 4 - }, - "end": { - "line": 137, - "column": 45 - } - } - } - ] - } - ], - "range": [ - 3670, - 3769 - ], - "loc": { - "start": { - "line": 136, - "column": 23 - }, - "end": { - "line": 139, - "column": 4 - } - } - }, - "alternate": null, - "range": [ - 3650, - 3769 - ], - "loc": { - "start": { - "line": 136, - "column": 3 - }, - "end": { - "line": 139, - "column": 4 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "add", - "range": [ - 3774, - 3777 - ], - "loc": { - "start": { - "line": 141, - "column": 3 - }, - "end": { - "line": 141, - "column": 6 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "c", - "range": [ - 3778, - 3779 - ], - "loc": { - "start": { - "line": 141, - "column": 7 - }, - "end": { - "line": 141, - "column": 8 - } - } - }, - { - "type": "Identifier", - "name": "ci", - "range": [ - 3781, - 3783 - ], - "loc": { - "start": { - "line": 141, - "column": 10 - }, - "end": { - "line": 141, - "column": 12 - } - } - }, - { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "cj", - "range": [ - 3785, - 3787 - ], - "loc": { - "start": { - "line": 141, - "column": 14 - }, - "end": { - "line": 141, - "column": 16 - } - } - }, - "right": { - "type": "Identifier", - "name": "n", - "range": [ - 3790, - 3791 - ], - "loc": { - "start": { - "line": 141, - "column": 19 - }, - "end": { - "line": 141, - "column": 20 - } - } - }, - "range": [ - 3785, - 3791 - ], - "loc": { - "start": { - "line": 141, - "column": 14 - }, - "end": { - "line": 141, - "column": 20 - } - } - }, - { - "type": "Identifier", - "name": "t3", - "range": [ - 3793, - 3795 - ], - "loc": { - "start": { - "line": 141, - "column": 22 - }, - "end": { - "line": 141, - "column": 24 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 3797, - 3798 - ], - "loc": { - "start": { - "line": 141, - "column": 26 - }, - "end": { - "line": 141, - "column": 27 - } - } - }, - { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "N", - "range": [ - 3800, - 3801 - ], - "loc": { - "start": { - "line": 141, - "column": 29 - }, - "end": { - "line": 141, - "column": 30 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 3804, - 3805 - ], - "loc": { - "start": { - "line": 141, - "column": 33 - }, - "end": { - "line": 141, - "column": 34 - } - } - }, - "range": [ - 3800, - 3805 - ], - "loc": { - "start": { - "line": 141, - "column": 29 - }, - "end": { - "line": 141, - "column": 34 - } - } - }, - { - "type": "Identifier", - "name": "c", - "range": [ - 3807, - 3808 - ], - "loc": { - "start": { - "line": 141, - "column": 36 - }, - "end": { - "line": 141, - "column": 37 - } - } - }, - { - "type": "Identifier", - "name": "ci", - "range": [ - 3810, - 3812 - ], - "loc": { - "start": { - "line": 141, - "column": 39 - }, - "end": { - "line": 141, - "column": 41 - } - } - }, - { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "cj", - "range": [ - 3814, - 3816 - ], - "loc": { - "start": { - "line": 141, - "column": 43 - }, - "end": { - "line": 141, - "column": 45 - } - } - }, - "right": { - "type": "Identifier", - "name": "n", - "range": [ - 3819, - 3820 - ], - "loc": { - "start": { - "line": 141, - "column": 48 - }, - "end": { - "line": 141, - "column": 49 - } - } - }, - "range": [ - 3814, - 3820 - ], - "loc": { - "start": { - "line": 141, - "column": 43 - }, - "end": { - "line": 141, - "column": 49 - } - } - } - ], - "range": [ - 3774, - 3821 - ], - "loc": { - "start": { - "line": 141, - "column": 3 - }, - "end": { - "line": 141, - "column": 50 - } - } - }, - "range": [ - 3774, - 3822 - ], - "loc": { - "start": { - "line": 141, - "column": 3 - }, - "end": { - "line": 141, - "column": 51 - } - }, - "trailingComments": [ - { - "type": "Line", - "value": " + (a0 + a1)(b1 + b0) . r^{n}", - "range": [ - 3823, - 3854 - ], - "loc": { - "start": { - "line": 141, - "column": 52 - }, - "end": { - "line": 141, - "column": 83 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "sub", - "range": [ - 3858, - 3861 - ], - "loc": { - "start": { - "line": 142, - "column": 3 - }, - "end": { - "line": 142, - "column": 6 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "c", - "range": [ - 3862, - 3863 - ], - "loc": { - "start": { - "line": 142, - "column": 7 - }, - "end": { - "line": 142, - "column": 8 - } - } - }, - { - "type": "Identifier", - "name": "ci", - "range": [ - 3865, - 3867 - ], - "loc": { - "start": { - "line": 142, - "column": 10 - }, - "end": { - "line": 142, - "column": 12 - } - } - }, - { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "cj", - "range": [ - 3869, - 3871 - ], - "loc": { - "start": { - "line": 142, - "column": 14 - }, - "end": { - "line": 142, - "column": 16 - } - } - }, - "right": { - "type": "Identifier", - "name": "n", - "range": [ - 3874, - 3875 - ], - "loc": { - "start": { - "line": 142, - "column": 19 - }, - "end": { - "line": 142, - "column": 20 - } - } - }, - "range": [ - 3869, - 3875 - ], - "loc": { - "start": { - "line": 142, - "column": 14 - }, - "end": { - "line": 142, - "column": 20 - } - } - }, - { - "type": "Identifier", - "name": "z2", - "range": [ - 3877, - 3879 - ], - "loc": { - "start": { - "line": 142, - "column": 22 - }, - "end": { - "line": 142, - "column": 24 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 3881, - 3882 - ], - "loc": { - "start": { - "line": 142, - "column": 26 - }, - "end": { - "line": 142, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "N_", - "range": [ - 3884, - 3886 - ], - "loc": { - "start": { - "line": 142, - "column": 29 - }, - "end": { - "line": 142, - "column": 31 - } - } - }, - { - "type": "Identifier", - "name": "c", - "range": [ - 3888, - 3889 - ], - "loc": { - "start": { - "line": 142, - "column": 33 - }, - "end": { - "line": 142, - "column": 34 - } - } - }, - { - "type": "Identifier", - "name": "ci", - "range": [ - 3891, - 3893 - ], - "loc": { - "start": { - "line": 142, - "column": 36 - }, - "end": { - "line": 142, - "column": 38 - } - } - }, - { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "cj", - "range": [ - 3895, - 3897 - ], - "loc": { - "start": { - "line": 142, - "column": 40 - }, - "end": { - "line": 142, - "column": 42 - } - } - }, - "right": { - "type": "Identifier", - "name": "n", - "range": [ - 3900, - 3901 - ], - "loc": { - "start": { - "line": 142, - "column": 45 - }, - "end": { - "line": 142, - "column": 46 - } - } - }, - "range": [ - 3895, - 3901 - ], - "loc": { - "start": { - "line": 142, - "column": 40 - }, - "end": { - "line": 142, - "column": 46 - } - } - } - ], - "range": [ - 3858, - 3902 - ], - "loc": { - "start": { - "line": 142, - "column": 3 - }, - "end": { - "line": 142, - "column": 47 - } - } - }, - "range": [ - 3858, - 3903 - ], - "loc": { - "start": { - "line": 142, - "column": 3 - }, - "end": { - "line": 142, - "column": 48 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " + (a0 + a1)(b1 + b0) . r^{n}", - "range": [ - 3823, - 3854 - ], - "loc": { - "start": { - "line": 141, - "column": 52 - }, - "end": { - "line": 141, - "column": 83 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": " - z2 . r^{n}", - "range": [ - 3907, - 3922 - ], - "loc": { - "start": { - "line": 142, - "column": 52 - }, - "end": { - "line": 142, - "column": 67 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "sub", - "range": [ - 3926, - 3929 - ], - "loc": { - "start": { - "line": 143, - "column": 3 - }, - "end": { - "line": 143, - "column": 6 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "c", - "range": [ - 3930, - 3931 - ], - "loc": { - "start": { - "line": 143, - "column": 7 - }, - "end": { - "line": 143, - "column": 8 - } - } - }, - { - "type": "Identifier", - "name": "ci", - "range": [ - 3933, - 3935 - ], - "loc": { - "start": { - "line": 143, - "column": 10 - }, - "end": { - "line": 143, - "column": 12 - } - } - }, - { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "cj", - "range": [ - 3937, - 3939 - ], - "loc": { - "start": { - "line": 143, - "column": 14 - }, - "end": { - "line": 143, - "column": 16 - } - } - }, - "right": { - "type": "Identifier", - "name": "n", - "range": [ - 3942, - 3943 - ], - "loc": { - "start": { - "line": 143, - "column": 19 - }, - "end": { - "line": 143, - "column": 20 - } - } - }, - "range": [ - 3937, - 3943 - ], - "loc": { - "start": { - "line": 143, - "column": 14 - }, - "end": { - "line": 143, - "column": 20 - } - } - }, - { - "type": "Identifier", - "name": "z0", - "range": [ - 3945, - 3947 - ], - "loc": { - "start": { - "line": 143, - "column": 22 - }, - "end": { - "line": 143, - "column": 24 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 3949, - 3950 - ], - "loc": { - "start": { - "line": 143, - "column": 26 - }, - "end": { - "line": 143, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "N", - "range": [ - 3952, - 3953 - ], - "loc": { - "start": { - "line": 143, - "column": 29 - }, - "end": { - "line": 143, - "column": 30 - } - } - }, - { - "type": "Identifier", - "name": "c", - "range": [ - 3955, - 3956 - ], - "loc": { - "start": { - "line": 143, - "column": 32 - }, - "end": { - "line": 143, - "column": 33 - } - } - }, - { - "type": "Identifier", - "name": "ci", - "range": [ - 3958, - 3960 - ], - "loc": { - "start": { - "line": 143, - "column": 35 - }, - "end": { - "line": 143, - "column": 37 - } - } - }, - { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "cj", - "range": [ - 3962, - 3964 - ], - "loc": { - "start": { - "line": 143, - "column": 39 - }, - "end": { - "line": 143, - "column": 41 - } - } - }, - "right": { - "type": "Identifier", - "name": "n", - "range": [ - 3967, - 3968 - ], - "loc": { - "start": { - "line": 143, - "column": 44 - }, - "end": { - "line": 143, - "column": 45 - } - } - }, - "range": [ - 3962, - 3968 - ], - "loc": { - "start": { - "line": 143, - "column": 39 - }, - "end": { - "line": 143, - "column": 45 - } - } - } - ], - "range": [ - 3926, - 3969 - ], - "loc": { - "start": { - "line": 143, - "column": 3 - }, - "end": { - "line": 143, - "column": 46 - } - } - }, - "range": [ - 3926, - 3970 - ], - "loc": { - "start": { - "line": 143, - "column": 3 - }, - "end": { - "line": 143, - "column": 47 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " - z2 . r^{n}", - "range": [ - 3907, - 3922 - ], - "loc": { - "start": { - "line": 142, - "column": 52 - }, - "end": { - "line": 142, - "column": 67 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": " - z1 . r^{n}", - "range": [ - 3975, - 3990 - ], - "loc": { - "start": { - "line": 143, - "column": 52 - }, - "end": { - "line": 143, - "column": 67 - } - } - } - ] - } - ], - "range": [ - 2583, - 3994 - ], - "loc": { - "start": { - "line": 101, - "column": 6 - }, - "end": { - "line": 144, - "column": 3 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " RECURSION", - "range": [ - 2564, - 2576 - ], - "loc": { - "start": { - "line": 100, - "column": 2 - }, - "end": { - "line": 100, - "column": 14 - } - } - } - ] - }, - "range": [ - 2440, - 3994 - ], - "loc": { - "start": { - "line": 89, - "column": 2 - }, - "end": { - "line": 144, - "column": 3 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " BASE CASE i = j = 1", - "range": [ - 2415, - 2437 - ], - "loc": { - "start": { - "line": 88, - "column": 2 - }, - "end": { - "line": 88, - "column": 24 - } - } - } - ] - } - ], - "range": [ - 2248, - 3998 - ], - "loc": { - "start": { - "line": 77, - "column": 58 - }, - "end": { - "line": 146, - "column": 2 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 2207, - 3998 - ], - "loc": { - "start": { - "line": 77, - "column": 17 - }, - "end": { - "line": 146, - "column": 2 - } - } - }, - "range": [ - 2195, - 3998 - ], - "loc": { - "start": { - "line": 77, - "column": 5 - }, - "end": { - "line": 146, - "column": 2 - } - } - } - ], - "kind": "var", - "range": [ - 2191, - 3999 - ], - "loc": { - "start": { - "line": 77, - "column": 1 - }, - "end": { - "line": 146, - "column": 3 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n\t * Multiply two big endian arrays using karatsuba algorithm,\n\t * i >= j, k >= 2 * i\n\t *\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t ", - "range": [ - 1800, - 2188 - ], - "loc": { - "start": { - "line": 61, - "column": 1 - }, - "end": { - "line": 75, - "column": 4 - } - } - } - ] - }, - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "!==", - "left": { - "type": "Identifier", - "name": "wrap", - "range": [ - 4006, - 4010 - ], - "loc": { - "start": { - "line": 148, - "column": 5 - }, - "end": { - "line": 148, - "column": 9 - } - } - }, - "right": { - "type": "Identifier", - "name": "undefined", - "range": [ - 4015, - 4024 - ], - "loc": { - "start": { - "line": 148, - "column": 14 - }, - "end": { - "line": 148, - "column": 23 - } - } - }, - "range": [ - 4006, - 4024 - ], - "loc": { - "start": { - "line": 148, - "column": 5 - }, - "end": { - "line": 148, - "column": 23 - } - } - }, - "consequent": { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "karatsuba", - "range": [ - 4026, - 4035 - ], - "loc": { - "start": { - "line": 148, - "column": 25 - }, - "end": { - "line": 148, - "column": 34 - } - } - }, - "right": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "wrap", - "range": [ - 4038, - 4042 - ], - "loc": { - "start": { - "line": 148, - "column": 37 - }, - "end": { - "line": 148, - "column": 41 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "karatsuba", - "range": [ - 4043, - 4052 - ], - "loc": { - "start": { - "line": 148, - "column": 42 - }, - "end": { - "line": 148, - "column": 51 - } - } - } - ], - "range": [ - 4038, - 4053 - ], - "loc": { - "start": { - "line": 148, - "column": 37 - }, - "end": { - "line": 148, - "column": 52 - } - } - }, - "range": [ - 4026, - 4053 - ], - "loc": { - "start": { - "line": 148, - "column": 25 - }, - "end": { - "line": 148, - "column": 52 - } - } - }, - "range": [ - 4026, - 4054 - ], - "loc": { - "start": { - "line": 148, - "column": 25 - }, - "end": { - "line": 148, - "column": 53 - } - } - }, - "alternate": null, - "range": [ - 4002, - 4054 - ], - "loc": { - "start": { - "line": 148, - "column": 1 - }, - "end": { - "line": 148, - "column": 53 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " - z1 . r^{n}", - "range": [ - 3975, - 3990 - ], - "loc": { - "start": { - "line": 143, - "column": 52 - }, - "end": { - "line": 143, - "column": 67 - } - } - } - ] - }, - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "===", - "left": { - "type": "Identifier", - "name": "mul", - "range": [ - 4060, - 4063 - ], - "loc": { - "start": { - "line": 149, - "column": 5 - }, - "end": { - "line": 149, - "column": 8 - } - } - }, - "right": { - "type": "Identifier", - "name": "undefined", - "range": [ - 4068, - 4077 - ], - "loc": { - "start": { - "line": 149, - "column": 13 - }, - "end": { - "line": 149, - "column": 22 - } - } - }, - "range": [ - 4060, - 4077 - ], - "loc": { - "start": { - "line": 149, - "column": 5 - }, - "end": { - "line": 149, - "column": 22 - } - } - }, - "consequent": { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "mul", - "range": [ - 4079, - 4082 - ], - "loc": { - "start": { - "line": 149, - "column": 24 - }, - "end": { - "line": 149, - "column": 27 - } - } - }, - "right": { - "type": "Identifier", - "name": "karatsuba", - "range": [ - 4085, - 4094 - ], - "loc": { - "start": { - "line": 149, - "column": 30 - }, - "end": { - "line": 149, - "column": 39 - } - } - }, - "range": [ - 4079, - 4094 - ], - "loc": { - "start": { - "line": 149, - "column": 24 - }, - "end": { - "line": 149, - "column": 39 - } - } - }, - "range": [ - 4079, - 4095 - ], - "loc": { - "start": { - "line": 149, - "column": 24 - }, - "end": { - "line": 149, - "column": 40 - } - } - }, - "alternate": null, - "range": [ - 4056, - 4095 - ], - "loc": { - "start": { - "line": 149, - "column": 1 - }, - "end": { - "line": 149, - "column": 40 - } - } - }, - { - "type": "ReturnStatement", - "argument": { - "type": "Identifier", - "name": "karatsuba", - "range": [ - 4105, - 4114 - ], - "loc": { - "start": { - "line": 151, - "column": 8 - }, - "end": { - "line": 151, - "column": 17 - } - } - }, - "range": [ - 4098, - 4115 - ], - "loc": { - "start": { - "line": 151, - "column": 1 - }, - "end": { - "line": 151, - "column": 18 - } - } - } - ], - "range": [ - 1796, - 4118 - ], - "loc": { - "start": { - "line": 59, - "column": 66 - }, - "end": { - "line": 153, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 1737, - 4118 - ], - "loc": { - "start": { - "line": 59, - "column": 7 - }, - "end": { - "line": 153, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * /!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n *\n *\n * @param {function} add addition algorithm\n * @param {function} sub subtraction algorithm\n * @param {function} mul multiplication algorithm\n * @param {function} copy copy algorithm\n * @param {function} calloc array allocator\n * @param {uint} r base (radix)\n *\n *\n * EXPLANATION\n * ###########\n *\n * We consider the numbers a and b, both of size N = 2n.\n *\n * We divide a and b into their lower and upper parts.\n *\n * a = a1 r^{n} + a0 (1)\n * b = b1 r^{n} + b0 (2)\n *\n * We express the product of a and b using their lower and upper parts.\n *\n * a b = (a1 r^{n} + a0) (b1 r^{n} + b0) (3)\n * = a1 b1 r^{2n} + (a1 b0 + a0 b1) r^{n} + a0 b0 (4)\n *\n * This gives us 4 multiplications with operands of size n.\n * Using a simple trick, we can reduce this computation to 3 multiplications.\n *\n * We give the 3 terms of (4) the names z0, z1 and z2.\n *\n * z2 = a1 b1\n * z1 = a1 b0 + a0 b1\n * z0 = a0 b0\n *\n * a b = z2 r^{2n} + z1 r^{n} + z0\n *\n * We then express z1 using z0, z2 and one additional multiplication.\n *\n * (a1 + a0)(b1 + b0) = a1 b1 + a0 b0 + (a1 b0 + a0 b1)\n * = z2 + z0 + z1\n *\n * z1 = (a1 + a0)(b1 + b0) - z2 - z0\n *\n * AN ANOTHER WAY AROUND (not used here)\n *\n * (a1 - a0)(b1 - b0) = (a1 b1 + a0 b0) - (a1 b0 + a0 b1)\n * (a0 - a1)(b1 - b0) = (a1 b0 + a0 b1) - (a1 b1 + a0 b0)\n * a b = (r^{2n} + r^{n})a1 b1 + r^{n}(a0 - a1)(b1 - b0) + (r^{n} + 1)a0 b0\n *\n * This algorithm is a generalization of the Toom-Cook algorithm, when m = n = 2.\n *\n * For further reference, see\n * - http://en.wikipedia.org/wiki/Karatsuba_algorithm\n * - http://en.wikipedia.org/wiki/Toom–Cook_multiplication\n ", - "range": [ - 0, - 1728 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 57, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 1730, - 4118 - ], - "loc": { - "start": { - "line": 59, - "column": 0 - }, - "end": { - "line": 153, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * /!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n *\n *\n * @param {function} add addition algorithm\n * @param {function} sub subtraction algorithm\n * @param {function} mul multiplication algorithm\n * @param {function} copy copy algorithm\n * @param {function} calloc array allocator\n * @param {uint} r base (radix)\n *\n *\n * EXPLANATION\n * ###########\n *\n * We consider the numbers a and b, both of size N = 2n.\n *\n * We divide a and b into their lower and upper parts.\n *\n * a = a1 r^{n} + a0 (1)\n * b = b1 r^{n} + b0 (2)\n *\n * We express the product of a and b using their lower and upper parts.\n *\n * a b = (a1 r^{n} + a0) (b1 r^{n} + b0) (3)\n * = a1 b1 r^{2n} + (a1 b0 + a0 b1) r^{n} + a0 b0 (4)\n *\n * This gives us 4 multiplications with operands of size n.\n * Using a simple trick, we can reduce this computation to 3 multiplications.\n *\n * We give the 3 terms of (4) the names z0, z1 and z2.\n *\n * z2 = a1 b1\n * z1 = a1 b0 + a0 b1\n * z0 = a0 b0\n *\n * a b = z2 r^{2n} + z1 r^{n} + z0\n *\n * We then express z1 using z0, z2 and one additional multiplication.\n *\n * (a1 + a0)(b1 + b0) = a1 b1 + a0 b0 + (a1 b0 + a0 b1)\n * = z2 + z0 + z1\n *\n * z1 = (a1 + a0)(b1 + b0) - z2 - z0\n *\n * AN ANOTHER WAY AROUND (not used here)\n *\n * (a1 - a0)(b1 - b0) = (a1 b1 + a0 b0) - (a1 b0 + a0 b1)\n * (a0 - a1)(b1 - b0) = (a1 b0 + a0 b1) - (a1 b1 + a0 b0)\n * a b = (r^{2n} + r^{n})a1 b1 + r^{n}(a0 - a1)(b1 - b0) + (r^{n} + 1)a0 b0\n *\n * This algorithm is a generalization of the Toom-Cook algorithm, when m = n = 2.\n *\n * For further reference, see\n * - http://en.wikipedia.org/wiki/Karatsuba_algorithm\n * - http://en.wikipedia.org/wiki/Toom–Cook_multiplication\n ", - "range": [ - 0, - 1728 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 57, - "column": 3 - } - } - } - ] - } - ], - "sourceType": "module", - "range": [ - 1730, - 4118 - ], - "loc": { - "start": { - "line": 59, - "column": 0 - }, - "end": { - "line": 153, - "column": 1 - } - }, - "comments": [ - { - "type": "Block", - "value": "*\n * /!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n *\n *\n * @param {function} add addition algorithm\n * @param {function} sub subtraction algorithm\n * @param {function} mul multiplication algorithm\n * @param {function} copy copy algorithm\n * @param {function} calloc array allocator\n * @param {uint} r base (radix)\n *\n *\n * EXPLANATION\n * ###########\n *\n * We consider the numbers a and b, both of size N = 2n.\n *\n * We divide a and b into their lower and upper parts.\n *\n * a = a1 r^{n} + a0 (1)\n * b = b1 r^{n} + b0 (2)\n *\n * We express the product of a and b using their lower and upper parts.\n *\n * a b = (a1 r^{n} + a0) (b1 r^{n} + b0) (3)\n * = a1 b1 r^{2n} + (a1 b0 + a0 b1) r^{n} + a0 b0 (4)\n *\n * This gives us 4 multiplications with operands of size n.\n * Using a simple trick, we can reduce this computation to 3 multiplications.\n *\n * We give the 3 terms of (4) the names z0, z1 and z2.\n *\n * z2 = a1 b1\n * z1 = a1 b0 + a0 b1\n * z0 = a0 b0\n *\n * a b = z2 r^{2n} + z1 r^{n} + z0\n *\n * We then express z1 using z0, z2 and one additional multiplication.\n *\n * (a1 + a0)(b1 + b0) = a1 b1 + a0 b0 + (a1 b0 + a0 b1)\n * = z2 + z0 + z1\n *\n * z1 = (a1 + a0)(b1 + b0) - z2 - z0\n *\n * AN ANOTHER WAY AROUND (not used here)\n *\n * (a1 - a0)(b1 - b0) = (a1 b1 + a0 b0) - (a1 b0 + a0 b1)\n * (a0 - a1)(b1 - b0) = (a1 b0 + a0 b1) - (a1 b1 + a0 b0)\n * a b = (r^{2n} + r^{n})a1 b1 + r^{n}(a0 - a1)(b1 - b0) + (r^{n} + 1)a0 b0\n *\n * This algorithm is a generalization of the Toom-Cook algorithm, when m = n = 2.\n *\n * For further reference, see\n * - http://en.wikipedia.org/wiki/Karatsuba_algorithm\n * - http://en.wikipedia.org/wiki/Toom–Cook_multiplication\n ", - "range": [ - 0, - 1728 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 57, - "column": 3 - } - } - }, - { - "type": "Block", - "value": "*\n\t * Multiply two big endian arrays using karatsuba algorithm,\n\t * i >= j, k >= 2 * i\n\t *\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t ", - "range": [ - 1800, - 2188 - ], - "loc": { - "start": { - "line": 61, - "column": 1 - }, - "end": { - "line": 75, - "column": 4 - } - } - }, - { - "type": "Line", - "value": " EMPTY CASE", - "range": [ - 2356, - 2369 - ], - "loc": { - "start": { - "line": 85, - "column": 2 - }, - "end": { - "line": 85, - "column": 15 - } - } - }, - { - "type": "Line", - "value": " BASE CASE i = j = 1", - "range": [ - 2415, - 2437 - ], - "loc": { - "start": { - "line": 88, - "column": 2 - }, - "end": { - "line": 88, - "column": 24 - } - } - }, - { - "type": "Line", - "value": " RECURSION", - "range": [ - 2564, - 2576 - ], - "loc": { - "start": { - "line": 100, - "column": 2 - }, - "end": { - "line": 100, - "column": 14 - } - } - }, - { - "type": "Line", - "value": " + 1 to handle addition overflows", - "range": [ - 2726, - 2761 - ], - "loc": { - "start": { - "line": 109, - "column": 23 - }, - "end": { - "line": 109, - "column": 58 - } - } - }, - { - "type": "Line", - "value": " and guarantee reducing k for the", - "range": [ - 2785, - 2820 - ], - "loc": { - "start": { - "line": 110, - "column": 23 - }, - "end": { - "line": 110, - "column": 58 - } - } - }, - { - "type": "Line", - "value": " recursive calls", - "range": [ - 2844, - 2862 - ], - "loc": { - "start": { - "line": 111, - "column": 23 - }, - "end": { - "line": 111, - "column": 41 - } - } - }, - { - "type": "Line", - "value": " RECURSIVE CALLS", - "range": [ - 2905, - 2923 - ], - "loc": { - "start": { - "line": 115, - "column": 2 - }, - "end": { - "line": 115, - "column": 20 - } - } - }, - { - "type": "Line", - "value": " z2 = a1.b1", - "range": [ - 2976, - 2989 - ], - "loc": { - "start": { - "line": 116, - "column": 52 - }, - "end": { - "line": 116, - "column": 65 - } - } - }, - { - "type": "Line", - "value": " z0 = a0.b0", - "range": [ - 3042, - 3055 - ], - "loc": { - "start": { - "line": 117, - "column": 52 - }, - "end": { - "line": 117, - "column": 65 - } - } - }, - { - "type": "Line", - "value": " (a0 + a1)", - "range": [ - 3108, - 3120 - ], - "loc": { - "start": { - "line": 118, - "column": 52 - }, - "end": { - "line": 118, - "column": 64 - } - } - }, - { - "type": "Line", - "value": " (b1 + b0)", - "range": [ - 3173, - 3185 - ], - "loc": { - "start": { - "line": 119, - "column": 52 - }, - "end": { - "line": 119, - "column": 64 - } - } - }, - { - "type": "Line", - "value": " (a0 + a1)(b1 + b0)", - "range": [ - 3238, - 3259 - ], - "loc": { - "start": { - "line": 120, - "column": 52 - }, - "end": { - "line": 120, - "column": 73 - } - } - }, - { - "type": "Line", - "value": " BUILD OUTPUT", - "range": [ - 3263, - 3278 - ], - "loc": { - "start": { - "line": 122, - "column": 2 - }, - "end": { - "line": 122, - "column": 17 - } - } - }, - { - "type": "Line", - "value": " + z2 . r^{2n}", - "range": [ - 3331, - 3347 - ], - "loc": { - "start": { - "line": 123, - "column": 52 - }, - "end": { - "line": 123, - "column": 68 - } - } - }, - { - "type": "Line", - "value": " + z0", - "range": [ - 3400, - 3407 - ], - "loc": { - "start": { - "line": 124, - "column": 52 - }, - "end": { - "line": 124, - "column": 59 - } - } - }, - { - "type": "Line", - "value": " overflow on t1, add t2 . r^{n}", - "range": [ - 3429, - 3462 - ], - "loc": { - "start": { - "line": 127, - "column": 4 - }, - "end": { - "line": 127, - "column": 37 - } - } - }, - { - "type": "Line", - "value": " overflow on t2, add t1 . r^{n}", - "range": [ - 3548, - 3581 - ], - "loc": { - "start": { - "line": 132, - "column": 4 - }, - "end": { - "line": 132, - "column": 37 - } - } - }, - { - "type": "Line", - "value": " overflow on t1 and t2, add 1 . r^{n+1}", - "range": [ - 3676, - 3717 - ], - "loc": { - "start": { - "line": 137, - "column": 4 - }, - "end": { - "line": 137, - "column": 45 - } - } - }, - { - "type": "Line", - "value": " + (a0 + a1)(b1 + b0) . r^{n}", - "range": [ - 3823, - 3854 - ], - "loc": { - "start": { - "line": 141, - "column": 52 - }, - "end": { - "line": 141, - "column": 83 - } - } - }, - { - "type": "Line", - "value": " - z2 . r^{n}", - "range": [ - 3907, - 3922 - ], - "loc": { - "start": { - "line": 142, - "column": 52 - }, - "end": { - "line": 142, - "column": 67 - } - } - }, - { - "type": "Line", - "value": " - z1 . r^{n}", - "range": [ - 3975, - 3990 - ], - "loc": { - "start": { - "line": 143, - "column": 52 - }, - "end": { - "line": 143, - "column": 67 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/mul/mul.js.json b/ast/source/0-legacy/arithmetic/mul/mul.js.json deleted file mode 100644 index df0a4d9..0000000 --- a/ast/source/0-legacy/arithmetic/mul/mul.js.json +++ /dev/null @@ -1,3203 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "bmul_t", - "range": [ - 17, - 23 - ], - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "r", - "range": [ - 25, - 26 - ], - "loc": { - "start": { - "line": 2, - "column": 24 - }, - "end": { - "line": 2, - "column": 25 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "mul", - "range": [ - 237, - 240 - ], - "loc": { - "start": { - "line": 12, - "column": 5 - }, - "end": { - "line": 12, - "column": 8 - } - } - }, - "init": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 252, - 253 - ], - "loc": { - "start": { - "line": 12, - "column": 20 - }, - "end": { - "line": 12, - "column": 21 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 255, - 257 - ], - "loc": { - "start": { - "line": 12, - "column": 23 - }, - "end": { - "line": 12, - "column": 25 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 259, - 261 - ], - "loc": { - "start": { - "line": 12, - "column": 27 - }, - "end": { - "line": 12, - "column": 29 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 263, - 264 - ], - "loc": { - "start": { - "line": 12, - "column": 31 - }, - "end": { - "line": 12, - "column": 32 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 266, - 268 - ], - "loc": { - "start": { - "line": 12, - "column": 34 - }, - "end": { - "line": 12, - "column": 36 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 270, - 272 - ], - "loc": { - "start": { - "line": 12, - "column": 38 - }, - "end": { - "line": 12, - "column": 40 - } - } - }, - { - "type": "Identifier", - "name": "c", - "range": [ - 274, - 275 - ], - "loc": { - "start": { - "line": 12, - "column": 42 - }, - "end": { - "line": 12, - "column": 43 - } - } - }, - { - "type": "Identifier", - "name": "ci", - "range": [ - 277, - 279 - ], - "loc": { - "start": { - "line": 12, - "column": 45 - }, - "end": { - "line": 12, - "column": 47 - } - } - }, - { - "type": "Identifier", - "name": "cj", - "range": [ - 281, - 283 - ], - "loc": { - "start": { - "line": 12, - "column": 49 - }, - "end": { - "line": 12, - "column": 51 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "ak", - "range": [ - 292, - 294 - ], - "loc": { - "start": { - "line": 13, - "column": 6 - }, - "end": { - "line": 13, - "column": 8 - } - } - }, - "init": null, - "range": [ - 292, - 294 - ], - "loc": { - "start": { - "line": 13, - "column": 6 - }, - "end": { - "line": 13, - "column": 8 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "ck", - "range": [ - 296, - 298 - ], - "loc": { - "start": { - "line": 13, - "column": 10 - }, - "end": { - "line": 13, - "column": 12 - } - } - }, - "init": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "cj", - "range": [ - 303, - 305 - ], - "loc": { - "start": { - "line": 13, - "column": 17 - }, - "end": { - "line": 13, - "column": 19 - } - } - }, - "prefix": true, - "range": [ - 301, - 305 - ], - "loc": { - "start": { - "line": 13, - "column": 15 - }, - "end": { - "line": 13, - "column": 19 - } - } - }, - "range": [ - 296, - 305 - ], - "loc": { - "start": { - "line": 13, - "column": 10 - }, - "end": { - "line": 13, - "column": 19 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "ct", - "range": [ - 307, - 309 - ], - "loc": { - "start": { - "line": 13, - "column": 21 - }, - "end": { - "line": 13, - "column": 23 - } - } - }, - "init": null, - "range": [ - 307, - 309 - ], - "loc": { - "start": { - "line": 13, - "column": 21 - }, - "end": { - "line": 13, - "column": 23 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "t", - "range": [ - 311, - 312 - ], - "loc": { - "start": { - "line": 13, - "column": 25 - }, - "end": { - "line": 13, - "column": 26 - } - } - }, - "init": null, - "range": [ - 311, - 312 - ], - "loc": { - "start": { - "line": 13, - "column": 25 - }, - "end": { - "line": 13, - "column": 26 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "u", - "range": [ - 314, - 315 - ], - "loc": { - "start": { - "line": 13, - "column": 28 - }, - "end": { - "line": 13, - "column": 29 - } - } - }, - "init": null, - "range": [ - 314, - 315 - ], - "loc": { - "start": { - "line": 13, - "column": 28 - }, - "end": { - "line": 13, - "column": 29 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "v", - "range": [ - 317, - 318 - ], - "loc": { - "start": { - "line": 13, - "column": 31 - }, - "end": { - "line": 13, - "column": 32 - } - } - }, - "init": null, - "range": [ - 317, - 318 - ], - "loc": { - "start": { - "line": 13, - "column": 31 - }, - "end": { - "line": 13, - "column": 32 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "w", - "range": [ - 320, - 321 - ], - "loc": { - "start": { - "line": 13, - "column": 34 - }, - "end": { - "line": 13, - "column": 35 - } - } - }, - "init": null, - "range": [ - 320, - 321 - ], - "loc": { - "start": { - "line": 13, - "column": 34 - }, - "end": { - "line": 13, - "column": 35 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "y", - "range": [ - 323, - 324 - ], - "loc": { - "start": { - "line": 13, - "column": 37 - }, - "end": { - "line": 13, - "column": 38 - } - } - }, - "init": null, - "range": [ - 323, - 324 - ], - "loc": { - "start": { - "line": 13, - "column": 37 - }, - "end": { - "line": 13, - "column": 38 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "z", - "range": [ - 326, - 327 - ], - "loc": { - "start": { - "line": 13, - "column": 40 - }, - "end": { - "line": 13, - "column": 41 - } - } - }, - "init": null, - "range": [ - 326, - 327 - ], - "loc": { - "start": { - "line": 13, - "column": 40 - }, - "end": { - "line": 13, - "column": 41 - } - } - } - ], - "kind": "var", - "range": [ - 288, - 328 - ], - "loc": { - "start": { - "line": 13, - "column": 2 - }, - "end": { - "line": 13, - "column": 42 - } - } - }, - { - "type": "WhileStatement", - "test": { - "type": "LogicalExpression", - "operator": "&&", - "left": { - "type": "BinaryExpression", - "operator": ">", - "left": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "bj", - "range": [ - 339, - 341 - ], - "loc": { - "start": { - "line": 15, - "column": 9 - }, - "end": { - "line": 15, - "column": 11 - } - } - }, - "prefix": false, - "range": [ - 339, - 344 - ], - "loc": { - "start": { - "line": 15, - "column": 9 - }, - "end": { - "line": 15, - "column": 14 - } - } - }, - "right": { - "type": "Identifier", - "name": "bi", - "range": [ - 346, - 348 - ], - "loc": { - "start": { - "line": 15, - "column": 16 - }, - "end": { - "line": 15, - "column": 18 - } - } - }, - "range": [ - 339, - 348 - ], - "loc": { - "start": { - "line": 15, - "column": 9 - }, - "end": { - "line": 15, - "column": 18 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "Identifier", - "name": "ck", - "range": [ - 352, - 354 - ], - "loc": { - "start": { - "line": 15, - "column": 22 - }, - "end": { - "line": 15, - "column": 24 - } - } - }, - "right": { - "type": "Identifier", - "name": "ci", - "range": [ - 358, - 360 - ], - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 30 - } - } - }, - "range": [ - 352, - 360 - ], - "loc": { - "start": { - "line": 15, - "column": 22 - }, - "end": { - "line": 15, - "column": 30 - } - } - }, - "range": [ - 339, - 360 - ], - "loc": { - "start": { - "line": 15, - "column": 9 - }, - "end": { - "line": 15, - "column": 30 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ForStatement", - "init": { - "type": "SequenceExpression", - "expressions": [ - { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "ak", - "range": [ - 372, - 374 - ], - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 10 - } - } - }, - "right": { - "type": "Identifier", - "name": "aj", - "range": [ - 377, - 379 - ], - "loc": { - "start": { - "line": 16, - "column": 13 - }, - "end": { - "line": 16, - "column": 15 - } - } - }, - "range": [ - 372, - 379 - ], - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 15 - } - } - }, - { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "w", - "range": [ - 381, - 382 - ], - "loc": { - "start": { - "line": 16, - "column": 17 - }, - "end": { - "line": 16, - "column": 18 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 385, - 386 - ], - "loc": { - "start": { - "line": 16, - "column": 21 - }, - "end": { - "line": 16, - "column": 22 - } - } - }, - "range": [ - 381, - 386 - ], - "loc": { - "start": { - "line": 16, - "column": 17 - }, - "end": { - "line": 16, - "column": 22 - } - } - } - ], - "range": [ - 372, - 386 - ], - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 22 - } - } - }, - "test": { - "type": "LogicalExpression", - "operator": "&&", - "left": { - "type": "BinaryExpression", - "operator": ">", - "left": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "ak", - "range": [ - 388, - 390 - ], - "loc": { - "start": { - "line": 16, - "column": 24 - }, - "end": { - "line": 16, - "column": 26 - } - } - }, - "prefix": false, - "range": [ - 388, - 393 - ], - "loc": { - "start": { - "line": 16, - "column": 24 - }, - "end": { - "line": 16, - "column": 29 - } - } - }, - "right": { - "type": "Identifier", - "name": "ai", - "range": [ - 395, - 397 - ], - "loc": { - "start": { - "line": 16, - "column": 31 - }, - "end": { - "line": 16, - "column": 33 - } - } - }, - "range": [ - 388, - 397 - ], - "loc": { - "start": { - "line": 16, - "column": 24 - }, - "end": { - "line": 16, - "column": 33 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "Identifier", - "name": "ck", - "range": [ - 401, - 403 - ], - "loc": { - "start": { - "line": 16, - "column": 37 - }, - "end": { - "line": 16, - "column": 39 - } - } - }, - "right": { - "type": "Identifier", - "name": "ci", - "range": [ - 407, - 409 - ], - "loc": { - "start": { - "line": 16, - "column": 43 - }, - "end": { - "line": 16, - "column": 45 - } - } - }, - "range": [ - 401, - 409 - ], - "loc": { - "start": { - "line": 16, - "column": 37 - }, - "end": { - "line": 16, - "column": 45 - } - } - }, - "range": [ - 388, - 409 - ], - "loc": { - "start": { - "line": 16, - "column": 24 - }, - "end": { - "line": 16, - "column": 45 - } - } - }, - "update": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "ck", - "range": [ - 413, - 415 - ], - "loc": { - "start": { - "line": 16, - "column": 49 - }, - "end": { - "line": 16, - "column": 51 - } - } - }, - "prefix": true, - "range": [ - 411, - 415 - ], - "loc": { - "start": { - "line": 16, - "column": 47 - }, - "end": { - "line": 16, - "column": 51 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "t", - "range": [ - 423, - 424 - ], - "loc": { - "start": { - "line": 17, - "column": 4 - }, - "end": { - "line": 17, - "column": 5 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "*", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 427, - 428 - ], - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 9 - } - } - }, - "property": { - "type": "Identifier", - "name": "bj", - "range": [ - 429, - 431 - ], - "loc": { - "start": { - "line": 17, - "column": 10 - }, - "end": { - "line": 17, - "column": 12 - } - } - }, - "range": [ - 427, - 432 - ], - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 13 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 435, - 436 - ], - "loc": { - "start": { - "line": 17, - "column": 16 - }, - "end": { - "line": 17, - "column": 17 - } - } - }, - "property": { - "type": "Identifier", - "name": "ak", - "range": [ - 437, - 439 - ], - "loc": { - "start": { - "line": 17, - "column": 18 - }, - "end": { - "line": 17, - "column": 20 - } - } - }, - "range": [ - 435, - 440 - ], - "loc": { - "start": { - "line": 17, - "column": 16 - }, - "end": { - "line": 17, - "column": 21 - } - } - }, - "range": [ - 427, - 440 - ], - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 21 - } - } - }, - "range": [ - 423, - 440 - ], - "loc": { - "start": { - "line": 17, - "column": 4 - }, - "end": { - "line": 17, - "column": 21 - } - } - }, - "range": [ - 423, - 441 - ], - "loc": { - "start": { - "line": 17, - "column": 4 - }, - "end": { - "line": 17, - "column": 22 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "u", - "range": [ - 446, - 447 - ], - "loc": { - "start": { - "line": 18, - "column": 4 - }, - "end": { - "line": 18, - "column": 5 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "%", - "left": { - "type": "Identifier", - "name": "t", - "range": [ - 450, - 451 - ], - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 9 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 454, - 455 - ], - "loc": { - "start": { - "line": 18, - "column": 12 - }, - "end": { - "line": 18, - "column": 13 - } - } - }, - "range": [ - 450, - 455 - ], - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 13 - } - } - }, - "range": [ - 446, - 455 - ], - "loc": { - "start": { - "line": 18, - "column": 4 - }, - "end": { - "line": 18, - "column": 13 - } - } - }, - "range": [ - 446, - 456 - ], - "loc": { - "start": { - "line": 18, - "column": 4 - }, - "end": { - "line": 18, - "column": 14 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "v", - "range": [ - 461, - 462 - ], - "loc": { - "start": { - "line": 19, - "column": 4 - }, - "end": { - "line": 19, - "column": 5 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 465, - 466 - ], - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 9 - } - } - }, - "property": { - "type": "Identifier", - "name": "ck", - "range": [ - 467, - 469 - ], - "loc": { - "start": { - "line": 19, - "column": 10 - }, - "end": { - "line": 19, - "column": 12 - } - } - }, - "range": [ - 465, - 470 - ], - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 13 - } - } - }, - "right": { - "type": "Identifier", - "name": "u", - "range": [ - 473, - 474 - ], - "loc": { - "start": { - "line": 19, - "column": 16 - }, - "end": { - "line": 19, - "column": 17 - } - } - }, - "range": [ - 465, - 474 - ], - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 17 - } - } - }, - "right": { - "type": "Identifier", - "name": "w", - "range": [ - 477, - 478 - ], - "loc": { - "start": { - "line": 19, - "column": 20 - }, - "end": { - "line": 19, - "column": 21 - } - } - }, - "range": [ - 465, - 478 - ], - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 21 - } - } - }, - "range": [ - 461, - 478 - ], - "loc": { - "start": { - "line": 19, - "column": 4 - }, - "end": { - "line": 19, - "column": 21 - } - } - }, - "range": [ - 461, - 479 - ], - "loc": { - "start": { - "line": 19, - "column": 4 - }, - "end": { - "line": 19, - "column": 22 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "y", - "range": [ - 485, - 486 - ], - "loc": { - "start": { - "line": 21, - "column": 4 - }, - "end": { - "line": 21, - "column": 5 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "%", - "left": { - "type": "Identifier", - "name": "v", - "range": [ - 489, - 490 - ], - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 9 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 493, - 494 - ], - "loc": { - "start": { - "line": 21, - "column": 12 - }, - "end": { - "line": 21, - "column": 13 - } - } - }, - "range": [ - 489, - 494 - ], - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 13 - } - } - }, - "range": [ - 485, - 494 - ], - "loc": { - "start": { - "line": 21, - "column": 4 - }, - "end": { - "line": 21, - "column": 13 - } - } - }, - "range": [ - 485, - 495 - ], - "loc": { - "start": { - "line": 21, - "column": 4 - }, - "end": { - "line": 21, - "column": 14 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 501, - 502 - ], - "loc": { - "start": { - "line": 23, - "column": 4 - }, - "end": { - "line": 23, - "column": 5 - } - } - }, - "property": { - "type": "Identifier", - "name": "ck", - "range": [ - 503, - 505 - ], - "loc": { - "start": { - "line": 23, - "column": 6 - }, - "end": { - "line": 23, - "column": 8 - } - } - }, - "range": [ - 501, - 506 - ], - "loc": { - "start": { - "line": 23, - "column": 4 - }, - "end": { - "line": 23, - "column": 9 - } - } - }, - "right": { - "type": "Identifier", - "name": "y", - "range": [ - 509, - 510 - ], - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 13 - } - } - }, - "range": [ - 501, - 510 - ], - "loc": { - "start": { - "line": 23, - "column": 4 - }, - "end": { - "line": 23, - "column": 13 - } - } - }, - "range": [ - 501, - 511 - ], - "loc": { - "start": { - "line": 23, - "column": 4 - }, - "end": { - "line": 23, - "column": 14 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "z", - "range": [ - 517, - 518 - ], - "loc": { - "start": { - "line": 25, - "column": 4 - }, - "end": { - "line": 25, - "column": 5 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "/", - "left": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "v", - "range": [ - 522, - 523 - ], - "loc": { - "start": { - "line": 25, - "column": 9 - }, - "end": { - "line": 25, - "column": 10 - } - } - }, - "right": { - "type": "Identifier", - "name": "y", - "range": [ - 526, - 527 - ], - "loc": { - "start": { - "line": 25, - "column": 13 - }, - "end": { - "line": 25, - "column": 14 - } - } - }, - "range": [ - 522, - 527 - ], - "loc": { - "start": { - "line": 25, - "column": 9 - }, - "end": { - "line": 25, - "column": 14 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 531, - 532 - ], - "loc": { - "start": { - "line": 25, - "column": 18 - }, - "end": { - "line": 25, - "column": 19 - } - } - }, - "range": [ - 521, - 532 - ], - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 19 - } - } - }, - "range": [ - 517, - 532 - ], - "loc": { - "start": { - "line": 25, - "column": 4 - }, - "end": { - "line": 25, - "column": 19 - } - } - }, - "range": [ - 517, - 533 - ], - "loc": { - "start": { - "line": 25, - "column": 4 - }, - "end": { - "line": 25, - "column": 20 - } - } - }, - { - "type": "ForStatement", - "init": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "ct", - "range": [ - 544, - 546 - ], - "loc": { - "start": { - "line": 27, - "column": 9 - }, - "end": { - "line": 27, - "column": 11 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "ck", - "range": [ - 549, - 551 - ], - "loc": { - "start": { - "line": 27, - "column": 14 - }, - "end": { - "line": 27, - "column": 16 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 554, - 555 - ], - "loc": { - "start": { - "line": 27, - "column": 19 - }, - "end": { - "line": 27, - "column": 20 - } - } - }, - "range": [ - 549, - 555 - ], - "loc": { - "start": { - "line": 27, - "column": 14 - }, - "end": { - "line": 27, - "column": 20 - } - } - }, - "range": [ - 544, - 555 - ], - "loc": { - "start": { - "line": 27, - "column": 9 - }, - "end": { - "line": 27, - "column": 20 - } - } - }, - "test": { - "type": "LogicalExpression", - "operator": "&&", - "left": { - "type": "BinaryExpression", - "operator": ">", - "left": { - "type": "Identifier", - "name": "z", - "range": [ - 557, - 558 - ], - "loc": { - "start": { - "line": 27, - "column": 22 - }, - "end": { - "line": 27, - "column": 23 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 561, - 562 - ], - "loc": { - "start": { - "line": 27, - "column": 26 - }, - "end": { - "line": 27, - "column": 27 - } - } - }, - "range": [ - 557, - 562 - ], - "loc": { - "start": { - "line": 27, - "column": 22 - }, - "end": { - "line": 27, - "column": 27 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "Identifier", - "name": "ct", - "range": [ - 566, - 568 - ], - "loc": { - "start": { - "line": 27, - "column": 31 - }, - "end": { - "line": 27, - "column": 33 - } - } - }, - "right": { - "type": "Identifier", - "name": "ci", - "range": [ - 572, - 574 - ], - "loc": { - "start": { - "line": 27, - "column": 37 - }, - "end": { - "line": 27, - "column": 39 - } - } - }, - "range": [ - 566, - 574 - ], - "loc": { - "start": { - "line": 27, - "column": 31 - }, - "end": { - "line": 27, - "column": 39 - } - } - }, - "range": [ - 557, - 574 - ], - "loc": { - "start": { - "line": 27, - "column": 22 - }, - "end": { - "line": 27, - "column": 39 - } - } - }, - "update": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "ct", - "range": [ - 578, - 580 - ], - "loc": { - "start": { - "line": 27, - "column": 43 - }, - "end": { - "line": 27, - "column": 45 - } - } - }, - "prefix": true, - "range": [ - 576, - 580 - ], - "loc": { - "start": { - "line": 27, - "column": 41 - }, - "end": { - "line": 27, - "column": 45 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "v", - "range": [ - 589, - 590 - ], - "loc": { - "start": { - "line": 28, - "column": 5 - }, - "end": { - "line": 28, - "column": 6 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 593, - 594 - ], - "loc": { - "start": { - "line": 28, - "column": 9 - }, - "end": { - "line": 28, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "name": "ct", - "range": [ - 595, - 597 - ], - "loc": { - "start": { - "line": 28, - "column": 11 - }, - "end": { - "line": 28, - "column": 13 - } - } - }, - "range": [ - 593, - 598 - ], - "loc": { - "start": { - "line": 28, - "column": 9 - }, - "end": { - "line": 28, - "column": 14 - } - } - }, - "right": { - "type": "Identifier", - "name": "z", - "range": [ - 601, - 602 - ], - "loc": { - "start": { - "line": 28, - "column": 17 - }, - "end": { - "line": 28, - "column": 18 - } - } - }, - "range": [ - 593, - 602 - ], - "loc": { - "start": { - "line": 28, - "column": 9 - }, - "end": { - "line": 28, - "column": 18 - } - } - }, - "range": [ - 589, - 602 - ], - "loc": { - "start": { - "line": 28, - "column": 5 - }, - "end": { - "line": 28, - "column": 18 - } - } - }, - "range": [ - 589, - 603 - ], - "loc": { - "start": { - "line": 28, - "column": 5 - }, - "end": { - "line": 28, - "column": 19 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "y", - "range": [ - 609, - 610 - ], - "loc": { - "start": { - "line": 29, - "column": 5 - }, - "end": { - "line": 29, - "column": 6 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "%", - "left": { - "type": "Identifier", - "name": "v", - "range": [ - 613, - 614 - ], - "loc": { - "start": { - "line": 29, - "column": 9 - }, - "end": { - "line": 29, - "column": 10 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 617, - 618 - ], - "loc": { - "start": { - "line": 29, - "column": 13 - }, - "end": { - "line": 29, - "column": 14 - } - } - }, - "range": [ - 613, - 618 - ], - "loc": { - "start": { - "line": 29, - "column": 9 - }, - "end": { - "line": 29, - "column": 14 - } - } - }, - "range": [ - 609, - 618 - ], - "loc": { - "start": { - "line": 29, - "column": 5 - }, - "end": { - "line": 29, - "column": 14 - } - } - }, - "range": [ - 609, - 619 - ], - "loc": { - "start": { - "line": 29, - "column": 5 - }, - "end": { - "line": 29, - "column": 15 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 625, - 626 - ], - "loc": { - "start": { - "line": 30, - "column": 5 - }, - "end": { - "line": 30, - "column": 6 - } - } - }, - "property": { - "type": "Identifier", - "name": "ct", - "range": [ - 627, - 629 - ], - "loc": { - "start": { - "line": 30, - "column": 7 - }, - "end": { - "line": 30, - "column": 9 - } - } - }, - "range": [ - 625, - 630 - ], - "loc": { - "start": { - "line": 30, - "column": 5 - }, - "end": { - "line": 30, - "column": 10 - } - } - }, - "right": { - "type": "Identifier", - "name": "y", - "range": [ - 633, - 634 - ], - "loc": { - "start": { - "line": 30, - "column": 13 - }, - "end": { - "line": 30, - "column": 14 - } - } - }, - "range": [ - 625, - 634 - ], - "loc": { - "start": { - "line": 30, - "column": 5 - }, - "end": { - "line": 30, - "column": 14 - } - } - }, - "range": [ - 625, - 635 - ], - "loc": { - "start": { - "line": 30, - "column": 5 - }, - "end": { - "line": 30, - "column": 15 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "z", - "range": [ - 641, - 642 - ], - "loc": { - "start": { - "line": 31, - "column": 5 - }, - "end": { - "line": 31, - "column": 6 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "/", - "left": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "v", - "range": [ - 646, - 647 - ], - "loc": { - "start": { - "line": 31, - "column": 10 - }, - "end": { - "line": 31, - "column": 11 - } - } - }, - "right": { - "type": "Identifier", - "name": "y", - "range": [ - 650, - 651 - ], - "loc": { - "start": { - "line": 31, - "column": 14 - }, - "end": { - "line": 31, - "column": 15 - } - } - }, - "range": [ - 646, - 651 - ], - "loc": { - "start": { - "line": 31, - "column": 10 - }, - "end": { - "line": 31, - "column": 15 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 655, - 656 - ], - "loc": { - "start": { - "line": 31, - "column": 19 - }, - "end": { - "line": 31, - "column": 20 - } - } - }, - "range": [ - 645, - 656 - ], - "loc": { - "start": { - "line": 31, - "column": 9 - }, - "end": { - "line": 31, - "column": 20 - } - } - }, - "range": [ - 641, - 656 - ], - "loc": { - "start": { - "line": 31, - "column": 5 - }, - "end": { - "line": 31, - "column": 20 - } - } - }, - "range": [ - 641, - 657 - ], - "loc": { - "start": { - "line": 31, - "column": 5 - }, - "end": { - "line": 31, - "column": 21 - } - } - } - ], - "range": [ - 582, - 663 - ], - "loc": { - "start": { - "line": 27, - "column": 47 - }, - "end": { - "line": 32, - "column": 5 - } - } - }, - "range": [ - 539, - 663 - ], - "loc": { - "start": { - "line": 27, - "column": 4 - }, - "end": { - "line": 32, - "column": 5 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "w", - "range": [ - 669, - 670 - ], - "loc": { - "start": { - "line": 34, - "column": 4 - }, - "end": { - "line": 34, - "column": 5 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "/", - "left": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "t", - "range": [ - 674, - 675 - ], - "loc": { - "start": { - "line": 34, - "column": 9 - }, - "end": { - "line": 34, - "column": 10 - } - } - }, - "right": { - "type": "Identifier", - "name": "u", - "range": [ - 678, - 679 - ], - "loc": { - "start": { - "line": 34, - "column": 13 - }, - "end": { - "line": 34, - "column": 14 - } - } - }, - "range": [ - 674, - 679 - ], - "loc": { - "start": { - "line": 34, - "column": 9 - }, - "end": { - "line": 34, - "column": 14 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 683, - 684 - ], - "loc": { - "start": { - "line": 34, - "column": 18 - }, - "end": { - "line": 34, - "column": 19 - } - } - }, - "range": [ - 673, - 684 - ], - "loc": { - "start": { - "line": 34, - "column": 8 - }, - "end": { - "line": 34, - "column": 19 - } - } - }, - "range": [ - 669, - 684 - ], - "loc": { - "start": { - "line": 34, - "column": 4 - }, - "end": { - "line": 34, - "column": 19 - } - } - }, - "range": [ - 669, - 685 - ], - "loc": { - "start": { - "line": 34, - "column": 4 - }, - "end": { - "line": 34, - "column": 20 - } - } - } - ], - "range": [ - 417, - 690 - ], - "loc": { - "start": { - "line": 16, - "column": 53 - }, - "end": { - "line": 35, - "column": 4 - } - } - }, - "range": [ - 367, - 690 - ], - "loc": { - "start": { - "line": 16, - "column": 3 - }, - "end": { - "line": 35, - "column": 4 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "ck", - "range": [ - 694, - 696 - ], - "loc": { - "start": { - "line": 36, - "column": 3 - }, - "end": { - "line": 36, - "column": 5 - } - } - }, - "right": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "cj", - "range": [ - 701, - 703 - ], - "loc": { - "start": { - "line": 36, - "column": 10 - }, - "end": { - "line": 36, - "column": 12 - } - } - }, - "prefix": true, - "range": [ - 699, - 703 - ], - "loc": { - "start": { - "line": 36, - "column": 8 - }, - "end": { - "line": 36, - "column": 12 - } - } - }, - "range": [ - 694, - 703 - ], - "loc": { - "start": { - "line": 36, - "column": 3 - }, - "end": { - "line": 36, - "column": 12 - } - } - }, - "range": [ - 694, - 704 - ], - "loc": { - "start": { - "line": 36, - "column": 3 - }, - "end": { - "line": 36, - "column": 13 - } - } - } - ], - "range": [ - 362, - 708 - ], - "loc": { - "start": { - "line": 15, - "column": 32 - }, - "end": { - "line": 37, - "column": 3 - } - } - }, - "range": [ - 332, - 708 - ], - "loc": { - "start": { - "line": 15, - "column": 2 - }, - "end": { - "line": 37, - "column": 3 - } - } - } - ], - "range": [ - 284, - 711 - ], - "loc": { - "start": { - "line": 12, - "column": 52 - }, - "end": { - "line": 38, - "column": 2 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 243, - 711 - ], - "loc": { - "start": { - "line": 12, - "column": 11 - }, - "end": { - "line": 38, - "column": 2 - } - } - }, - "range": [ - 237, - 711 - ], - "loc": { - "start": { - "line": 12, - "column": 5 - }, - "end": { - "line": 38, - "column": 2 - } - } - } - ], - "kind": "var", - "range": [ - 233, - 712 - ], - "loc": { - "start": { - "line": 12, - "column": 1 - }, - "end": { - "line": 38, - "column": 3 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n\t * Computes product of two big endian arrays.\n\t *

    \n\t * Computes product of two big endian arrays\n\t * using long multiplication algorithm (the one teached in\n\t * european primary schools)\n\t ", - "range": [ - 31, - 230 - ], - "loc": { - "start": { - "line": 4, - "column": 1 - }, - "end": { - "line": 10, - "column": 4 - } - } - } - ] - }, - { - "type": "ReturnStatement", - "argument": { - "type": "Identifier", - "name": "mul", - "range": [ - 722, - 725 - ], - "loc": { - "start": { - "line": 40, - "column": 8 - }, - "end": { - "line": 40, - "column": 11 - } - } - }, - "range": [ - 715, - 726 - ], - "loc": { - "start": { - "line": 40, - "column": 1 - }, - "end": { - "line": 40, - "column": 12 - } - } - } - ], - "range": [ - 27, - 729 - ], - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 42, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 8, - 729 - ], - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 42, - "column": 1 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 1, - 729 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 42, - "column": 1 - } - } - } - ], - "sourceType": "module", - "range": [ - 1, - 729 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 42, - "column": 1 - } - }, - "comments": [ - { - "type": "Block", - "value": "*\n\t * Computes product of two big endian arrays.\n\t *

    \n\t * Computes product of two big endian arrays\n\t * using long multiplication algorithm (the one teached in\n\t * european primary schools)\n\t ", - "range": [ - 31, - 230 - ], - "loc": { - "start": { - "line": 4, - "column": 1 - }, - "end": { - "line": 10, - "column": 4 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/mul/mul53.js.json b/ast/source/0-legacy/arithmetic/mul/mul53.js.json deleted file mode 100644 index 69be162..0000000 --- a/ast/source/0-legacy/arithmetic/mul/mul53.js.json +++ /dev/null @@ -1,3205 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "bmul53_t", - "range": [ - 165, - 173 - ], - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 24 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "r", - "range": [ - 175, - 176 - ], - "loc": { - "start": { - "line": 8, - "column": 26 - }, - "end": { - "line": 8, - "column": 27 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "mul", - "range": [ - 612, - 615 - ], - "loc": { - "start": { - "line": 26, - "column": 5 - }, - "end": { - "line": 26, - "column": 8 - } - } - }, - "init": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 627, - 628 - ], - "loc": { - "start": { - "line": 26, - "column": 20 - }, - "end": { - "line": 26, - "column": 21 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 630, - 632 - ], - "loc": { - "start": { - "line": 26, - "column": 23 - }, - "end": { - "line": 26, - "column": 25 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 634, - 636 - ], - "loc": { - "start": { - "line": 26, - "column": 27 - }, - "end": { - "line": 26, - "column": 29 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 638, - 639 - ], - "loc": { - "start": { - "line": 26, - "column": 31 - }, - "end": { - "line": 26, - "column": 32 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 641, - 643 - ], - "loc": { - "start": { - "line": 26, - "column": 34 - }, - "end": { - "line": 26, - "column": 36 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 645, - 647 - ], - "loc": { - "start": { - "line": 26, - "column": 38 - }, - "end": { - "line": 26, - "column": 40 - } - } - }, - { - "type": "Identifier", - "name": "c", - "range": [ - 649, - 650 - ], - "loc": { - "start": { - "line": 26, - "column": 42 - }, - "end": { - "line": 26, - "column": 43 - } - } - }, - { - "type": "Identifier", - "name": "ci", - "range": [ - 652, - 654 - ], - "loc": { - "start": { - "line": 26, - "column": 45 - }, - "end": { - "line": 26, - "column": 47 - } - } - }, - { - "type": "Identifier", - "name": "cj", - "range": [ - 656, - 658 - ], - "loc": { - "start": { - "line": 26, - "column": 49 - }, - "end": { - "line": 26, - "column": 51 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "v", - "range": [ - 668, - 669 - ], - "loc": { - "start": { - "line": 28, - "column": 6 - }, - "end": { - "line": 28, - "column": 7 - } - } - }, - "init": null, - "range": [ - 668, - 669 - ], - "loc": { - "start": { - "line": 28, - "column": 6 - }, - "end": { - "line": 28, - "column": 7 - } - } - } - ], - "kind": "var", - "range": [ - 664, - 670 - ], - "loc": { - "start": { - "line": 28, - "column": 2 - }, - "end": { - "line": 28, - "column": 8 - } - }, - "trailingComments": [ - { - "type": "Line", - "value": " EMPTY CASE", - "range": [ - 674, - 687 - ], - "loc": { - "start": { - "line": 30, - "column": 2 - }, - "end": { - "line": 30, - "column": 15 - } - } - } - ] - }, - { - "type": "IfStatement", - "test": { - "type": "LogicalExpression", - "operator": "||", - "left": { - "type": "LogicalExpression", - "operator": "||", - "left": { - "type": "BinaryExpression", - "operator": "<=", - "left": { - "type": "Identifier", - "name": "aj", - "range": [ - 694, - 696 - ], - "loc": { - "start": { - "line": 31, - "column": 6 - }, - "end": { - "line": 31, - "column": 8 - } - } - }, - "right": { - "type": "Identifier", - "name": "ai", - "range": [ - 700, - 702 - ], - "loc": { - "start": { - "line": 31, - "column": 12 - }, - "end": { - "line": 31, - "column": 14 - } - } - }, - "range": [ - 694, - 702 - ], - "loc": { - "start": { - "line": 31, - "column": 6 - }, - "end": { - "line": 31, - "column": 14 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "<=", - "left": { - "type": "Identifier", - "name": "bj", - "range": [ - 706, - 708 - ], - "loc": { - "start": { - "line": 31, - "column": 18 - }, - "end": { - "line": 31, - "column": 20 - } - } - }, - "right": { - "type": "Identifier", - "name": "bi", - "range": [ - 712, - 714 - ], - "loc": { - "start": { - "line": 31, - "column": 24 - }, - "end": { - "line": 31, - "column": 26 - } - } - }, - "range": [ - 706, - 714 - ], - "loc": { - "start": { - "line": 31, - "column": 18 - }, - "end": { - "line": 31, - "column": 26 - } - } - }, - "range": [ - 694, - 714 - ], - "loc": { - "start": { - "line": 31, - "column": 6 - }, - "end": { - "line": 31, - "column": 26 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "<=", - "left": { - "type": "Identifier", - "name": "cj", - "range": [ - 718, - 720 - ], - "loc": { - "start": { - "line": 31, - "column": 30 - }, - "end": { - "line": 31, - "column": 32 - } - } - }, - "right": { - "type": "Identifier", - "name": "ci", - "range": [ - 724, - 726 - ], - "loc": { - "start": { - "line": 31, - "column": 36 - }, - "end": { - "line": 31, - "column": 38 - } - } - }, - "range": [ - 718, - 726 - ], - "loc": { - "start": { - "line": 31, - "column": 30 - }, - "end": { - "line": 31, - "column": 38 - } - } - }, - "range": [ - 694, - 726 - ], - "loc": { - "start": { - "line": 31, - "column": 6 - }, - "end": { - "line": 31, - "column": 38 - } - } - }, - "consequent": { - "type": "ReturnStatement", - "argument": null, - "range": [ - 728, - 735 - ], - "loc": { - "start": { - "line": 31, - "column": 40 - }, - "end": { - "line": 31, - "column": 47 - } - } - }, - "alternate": null, - "range": [ - 690, - 735 - ], - "loc": { - "start": { - "line": 31, - "column": 2 - }, - "end": { - "line": 31, - "column": 47 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " EMPTY CASE", - "range": [ - 674, - 687 - ], - "loc": { - "start": { - "line": 30, - "column": 2 - }, - "end": { - "line": 30, - "column": 15 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "v", - "range": [ - 739, - 740 - ], - "loc": { - "start": { - "line": 33, - "column": 2 - }, - "end": { - "line": 33, - "column": 3 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "*", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 743, - 744 - ], - "loc": { - "start": { - "line": 33, - "column": 6 - }, - "end": { - "line": 33, - "column": 7 - } - } - }, - "property": { - "type": "Identifier", - "name": "ai", - "range": [ - 745, - 747 - ], - "loc": { - "start": { - "line": 33, - "column": 8 - }, - "end": { - "line": 33, - "column": 10 - } - } - }, - "range": [ - 743, - 748 - ], - "loc": { - "start": { - "line": 33, - "column": 6 - }, - "end": { - "line": 33, - "column": 11 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 751, - 752 - ], - "loc": { - "start": { - "line": 33, - "column": 14 - }, - "end": { - "line": 33, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "name": "bi", - "range": [ - 753, - 755 - ], - "loc": { - "start": { - "line": 33, - "column": 16 - }, - "end": { - "line": 33, - "column": 18 - } - } - }, - "range": [ - 751, - 756 - ], - "loc": { - "start": { - "line": 33, - "column": 14 - }, - "end": { - "line": 33, - "column": 19 - } - } - }, - "range": [ - 743, - 756 - ], - "loc": { - "start": { - "line": 33, - "column": 6 - }, - "end": { - "line": 33, - "column": 19 - } - } - }, - "range": [ - 739, - 756 - ], - "loc": { - "start": { - "line": 33, - "column": 2 - }, - "end": { - "line": 33, - "column": 19 - } - } - }, - "range": [ - 739, - 757 - ], - "loc": { - "start": { - "line": 33, - "column": 2 - }, - "end": { - "line": 33, - "column": 20 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 760, - 761 - ], - "loc": { - "start": { - "line": 34, - "column": 2 - }, - "end": { - "line": 34, - "column": 3 - } - } - }, - "property": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "cj", - "range": [ - 762, - 764 - ], - "loc": { - "start": { - "line": 34, - "column": 4 - }, - "end": { - "line": 34, - "column": 6 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 765, - 766 - ], - "loc": { - "start": { - "line": 34, - "column": 7 - }, - "end": { - "line": 34, - "column": 8 - } - } - }, - "range": [ - 762, - 766 - ], - "loc": { - "start": { - "line": 34, - "column": 4 - }, - "end": { - "line": 34, - "column": 8 - } - } - }, - "range": [ - 760, - 767 - ], - "loc": { - "start": { - "line": 34, - "column": 2 - }, - "end": { - "line": 34, - "column": 9 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "%", - "left": { - "type": "Identifier", - "name": "v", - "range": [ - 770, - 771 - ], - "loc": { - "start": { - "line": 34, - "column": 12 - }, - "end": { - "line": 34, - "column": 13 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 774, - 775 - ], - "loc": { - "start": { - "line": 34, - "column": 16 - }, - "end": { - "line": 34, - "column": 17 - } - } - }, - "range": [ - 770, - 775 - ], - "loc": { - "start": { - "line": 34, - "column": 12 - }, - "end": { - "line": 34, - "column": 17 - } - } - }, - "range": [ - 760, - 775 - ], - "loc": { - "start": { - "line": 34, - "column": 2 - }, - "end": { - "line": 34, - "column": 17 - } - } - }, - "range": [ - 760, - 776 - ], - "loc": { - "start": { - "line": 34, - "column": 2 - }, - "end": { - "line": 34, - "column": 18 - } - } - }, - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": ">", - "left": { - "type": "Identifier", - "name": "cj", - "range": [ - 784, - 786 - ], - "loc": { - "start": { - "line": 36, - "column": 6 - }, - "end": { - "line": 36, - "column": 8 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "ci", - "range": [ - 789, - 791 - ], - "loc": { - "start": { - "line": 36, - "column": 11 - }, - "end": { - "line": 36, - "column": 13 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 794, - 795 - ], - "loc": { - "start": { - "line": 36, - "column": 16 - }, - "end": { - "line": 36, - "column": 17 - } - } - }, - "range": [ - 789, - 795 - ], - "loc": { - "start": { - "line": 36, - "column": 11 - }, - "end": { - "line": 36, - "column": 17 - } - } - }, - "range": [ - 784, - 795 - ], - "loc": { - "start": { - "line": 36, - "column": 6 - }, - "end": { - "line": 36, - "column": 17 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 802, - 803 - ], - "loc": { - "start": { - "line": 37, - "column": 3 - }, - "end": { - "line": 37, - "column": 4 - } - } - }, - "property": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "cj", - "range": [ - 804, - 806 - ], - "loc": { - "start": { - "line": 37, - "column": 5 - }, - "end": { - "line": 37, - "column": 7 - } - } - }, - "right": { - "type": "Literal", - "value": 2, - "raw": "2", - "range": [ - 807, - 808 - ], - "loc": { - "start": { - "line": 37, - "column": 8 - }, - "end": { - "line": 37, - "column": 9 - } - } - }, - "range": [ - 804, - 808 - ], - "loc": { - "start": { - "line": 37, - "column": 5 - }, - "end": { - "line": 37, - "column": 9 - } - } - }, - "range": [ - 802, - 809 - ], - "loc": { - "start": { - "line": 37, - "column": 3 - }, - "end": { - "line": 37, - "column": 10 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "/", - "left": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "v", - "range": [ - 813, - 814 - ], - "loc": { - "start": { - "line": 37, - "column": 14 - }, - "end": { - "line": 37, - "column": 15 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 817, - 818 - ], - "loc": { - "start": { - "line": 37, - "column": 18 - }, - "end": { - "line": 37, - "column": 19 - } - } - }, - "property": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "cj", - "range": [ - 819, - 821 - ], - "loc": { - "start": { - "line": 37, - "column": 20 - }, - "end": { - "line": 37, - "column": 22 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 822, - 823 - ], - "loc": { - "start": { - "line": 37, - "column": 23 - }, - "end": { - "line": 37, - "column": 24 - } - } - }, - "range": [ - 819, - 823 - ], - "loc": { - "start": { - "line": 37, - "column": 20 - }, - "end": { - "line": 37, - "column": 24 - } - } - }, - "range": [ - 817, - 824 - ], - "loc": { - "start": { - "line": 37, - "column": 18 - }, - "end": { - "line": 37, - "column": 25 - } - } - }, - "range": [ - 813, - 824 - ], - "loc": { - "start": { - "line": 37, - "column": 14 - }, - "end": { - "line": 37, - "column": 25 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 828, - 829 - ], - "loc": { - "start": { - "line": 37, - "column": 29 - }, - "end": { - "line": 37, - "column": 30 - } - } - }, - "range": [ - 812, - 829 - ], - "loc": { - "start": { - "line": 37, - "column": 13 - }, - "end": { - "line": 37, - "column": 30 - } - } - }, - "range": [ - 802, - 829 - ], - "loc": { - "start": { - "line": 37, - "column": 3 - }, - "end": { - "line": 37, - "column": 30 - } - } - }, - "range": [ - 802, - 830 - ], - "loc": { - "start": { - "line": 37, - "column": 3 - }, - "end": { - "line": 37, - "column": 31 - } - } - } - ], - "range": [ - 797, - 834 - ], - "loc": { - "start": { - "line": 36, - "column": 19 - }, - "end": { - "line": 38, - "column": 3 - } - } - }, - "alternate": null, - "range": [ - 780, - 834 - ], - "loc": { - "start": { - "line": 36, - "column": 2 - }, - "end": { - "line": 38, - "column": 3 - } - } - } - ], - "range": [ - 659, - 838 - ], - "loc": { - "start": { - "line": 26, - "column": 52 - }, - "end": { - "line": 40, - "column": 2 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 618, - 838 - ], - "loc": { - "start": { - "line": 26, - "column": 11 - }, - "end": { - "line": 40, - "column": 2 - } - } - }, - "range": [ - 612, - 838 - ], - "loc": { - "start": { - "line": 26, - "column": 5 - }, - "end": { - "line": 40, - "column": 2 - } - } - } - ], - "kind": "var", - "range": [ - 608, - 839 - ], - "loc": { - "start": { - "line": 26, - "column": 1 - }, - "end": { - "line": 40, - "column": 3 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n\t * Multiply two blocks, result is put in a 1 or 2 blocks big endian array.\n\t * aj - ai <= 1, bj - bi <= 1, cj - ci <= 2\n\t *\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t ", - "range": [ - 181, - 605 - ], - "loc": { - "start": { - "line": 10, - "column": 1 - }, - "end": { - "line": 24, - "column": 4 - } - } - } - ] - }, - { - "type": "ReturnStatement", - "argument": { - "type": "Identifier", - "name": "mul", - "range": [ - 849, - 852 - ], - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 11 - } - } - }, - "range": [ - 842, - 853 - ], - "loc": { - "start": { - "line": 42, - "column": 1 - }, - "end": { - "line": 42, - "column": 12 - } - } - } - ], - "range": [ - 177, - 856 - ], - "loc": { - "start": { - "line": 8, - "column": 28 - }, - "end": { - "line": 44, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 156, - 856 - ], - "loc": { - "start": { - "line": 8, - "column": 7 - }, - "end": { - "line": 44, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * /!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n *\n * big endian 1 block multiplication\n *\n ", - "range": [ - 0, - 147 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 6, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "Block", - "value": "*\n * /!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n *\n * little endian 1 block multiplication\n *\n ", - "range": [ - 858, - 1008 - ], - "loc": { - "start": { - "line": 46, - "column": 0 - }, - "end": { - "line": 51, - "column": 3 - } - } - } - ] - }, - "specifiers": [], - "source": null, - "range": [ - 149, - 856 - ], - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 44, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * /!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n *\n * big endian 1 block multiplication\n *\n ", - "range": [ - 0, - 147 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 6, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "Block", - "value": "*\n * /!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n *\n * little endian 1 block multiplication\n *\n ", - "range": [ - 858, - 1008 - ], - "loc": { - "start": { - "line": 46, - "column": 0 - }, - "end": { - "line": 51, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "lmul53_t", - "range": [ - 1026, - 1034 - ], - "loc": { - "start": { - "line": 53, - "column": 16 - }, - "end": { - "line": 53, - "column": 24 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "r", - "range": [ - 1036, - 1037 - ], - "loc": { - "start": { - "line": 53, - "column": 26 - }, - "end": { - "line": 53, - "column": 27 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "mul", - "range": [ - 1476, - 1479 - ], - "loc": { - "start": { - "line": 71, - "column": 5 - }, - "end": { - "line": 71, - "column": 8 - } - } - }, - "init": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 1491, - 1492 - ], - "loc": { - "start": { - "line": 71, - "column": 20 - }, - "end": { - "line": 71, - "column": 21 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 1494, - 1496 - ], - "loc": { - "start": { - "line": 71, - "column": 23 - }, - "end": { - "line": 71, - "column": 25 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 1498, - 1500 - ], - "loc": { - "start": { - "line": 71, - "column": 27 - }, - "end": { - "line": 71, - "column": 29 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 1502, - 1503 - ], - "loc": { - "start": { - "line": 71, - "column": 31 - }, - "end": { - "line": 71, - "column": 32 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 1505, - 1507 - ], - "loc": { - "start": { - "line": 71, - "column": 34 - }, - "end": { - "line": 71, - "column": 36 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 1509, - 1511 - ], - "loc": { - "start": { - "line": 71, - "column": 38 - }, - "end": { - "line": 71, - "column": 40 - } - } - }, - { - "type": "Identifier", - "name": "c", - "range": [ - 1513, - 1514 - ], - "loc": { - "start": { - "line": 71, - "column": 42 - }, - "end": { - "line": 71, - "column": 43 - } - } - }, - { - "type": "Identifier", - "name": "ci", - "range": [ - 1516, - 1518 - ], - "loc": { - "start": { - "line": 71, - "column": 45 - }, - "end": { - "line": 71, - "column": 47 - } - } - }, - { - "type": "Identifier", - "name": "cj", - "range": [ - 1520, - 1522 - ], - "loc": { - "start": { - "line": 71, - "column": 49 - }, - "end": { - "line": 71, - "column": 51 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "v", - "range": [ - 1532, - 1533 - ], - "loc": { - "start": { - "line": 73, - "column": 6 - }, - "end": { - "line": 73, - "column": 7 - } - } - }, - "init": null, - "range": [ - 1532, - 1533 - ], - "loc": { - "start": { - "line": 73, - "column": 6 - }, - "end": { - "line": 73, - "column": 7 - } - } - } - ], - "kind": "var", - "range": [ - 1528, - 1534 - ], - "loc": { - "start": { - "line": 73, - "column": 2 - }, - "end": { - "line": 73, - "column": 8 - } - }, - "trailingComments": [ - { - "type": "Line", - "value": " EMPTY CASE", - "range": [ - 1538, - 1551 - ], - "loc": { - "start": { - "line": 75, - "column": 2 - }, - "end": { - "line": 75, - "column": 15 - } - } - } - ] - }, - { - "type": "IfStatement", - "test": { - "type": "LogicalExpression", - "operator": "||", - "left": { - "type": "LogicalExpression", - "operator": "||", - "left": { - "type": "BinaryExpression", - "operator": "<=", - "left": { - "type": "Identifier", - "name": "aj", - "range": [ - 1558, - 1560 - ], - "loc": { - "start": { - "line": 76, - "column": 6 - }, - "end": { - "line": 76, - "column": 8 - } - } - }, - "right": { - "type": "Identifier", - "name": "ai", - "range": [ - 1564, - 1566 - ], - "loc": { - "start": { - "line": 76, - "column": 12 - }, - "end": { - "line": 76, - "column": 14 - } - } - }, - "range": [ - 1558, - 1566 - ], - "loc": { - "start": { - "line": 76, - "column": 6 - }, - "end": { - "line": 76, - "column": 14 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "<=", - "left": { - "type": "Identifier", - "name": "bj", - "range": [ - 1570, - 1572 - ], - "loc": { - "start": { - "line": 76, - "column": 18 - }, - "end": { - "line": 76, - "column": 20 - } - } - }, - "right": { - "type": "Identifier", - "name": "bi", - "range": [ - 1576, - 1578 - ], - "loc": { - "start": { - "line": 76, - "column": 24 - }, - "end": { - "line": 76, - "column": 26 - } - } - }, - "range": [ - 1570, - 1578 - ], - "loc": { - "start": { - "line": 76, - "column": 18 - }, - "end": { - "line": 76, - "column": 26 - } - } - }, - "range": [ - 1558, - 1578 - ], - "loc": { - "start": { - "line": 76, - "column": 6 - }, - "end": { - "line": 76, - "column": 26 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "<=", - "left": { - "type": "Identifier", - "name": "cj", - "range": [ - 1582, - 1584 - ], - "loc": { - "start": { - "line": 76, - "column": 30 - }, - "end": { - "line": 76, - "column": 32 - } - } - }, - "right": { - "type": "Identifier", - "name": "ci", - "range": [ - 1588, - 1590 - ], - "loc": { - "start": { - "line": 76, - "column": 36 - }, - "end": { - "line": 76, - "column": 38 - } - } - }, - "range": [ - 1582, - 1590 - ], - "loc": { - "start": { - "line": 76, - "column": 30 - }, - "end": { - "line": 76, - "column": 38 - } - } - }, - "range": [ - 1558, - 1590 - ], - "loc": { - "start": { - "line": 76, - "column": 6 - }, - "end": { - "line": 76, - "column": 38 - } - } - }, - "consequent": { - "type": "ReturnStatement", - "argument": null, - "range": [ - 1592, - 1599 - ], - "loc": { - "start": { - "line": 76, - "column": 40 - }, - "end": { - "line": 76, - "column": 47 - } - } - }, - "alternate": null, - "range": [ - 1554, - 1599 - ], - "loc": { - "start": { - "line": 76, - "column": 2 - }, - "end": { - "line": 76, - "column": 47 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " EMPTY CASE", - "range": [ - 1538, - 1551 - ], - "loc": { - "start": { - "line": 75, - "column": 2 - }, - "end": { - "line": 75, - "column": 15 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "v", - "range": [ - 1603, - 1604 - ], - "loc": { - "start": { - "line": 78, - "column": 2 - }, - "end": { - "line": 78, - "column": 3 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "*", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 1607, - 1608 - ], - "loc": { - "start": { - "line": 78, - "column": 6 - }, - "end": { - "line": 78, - "column": 7 - } - } - }, - "property": { - "type": "Identifier", - "name": "ai", - "range": [ - 1609, - 1611 - ], - "loc": { - "start": { - "line": 78, - "column": 8 - }, - "end": { - "line": 78, - "column": 10 - } - } - }, - "range": [ - 1607, - 1612 - ], - "loc": { - "start": { - "line": 78, - "column": 6 - }, - "end": { - "line": 78, - "column": 11 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 1615, - 1616 - ], - "loc": { - "start": { - "line": 78, - "column": 14 - }, - "end": { - "line": 78, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "name": "bi", - "range": [ - 1617, - 1619 - ], - "loc": { - "start": { - "line": 78, - "column": 16 - }, - "end": { - "line": 78, - "column": 18 - } - } - }, - "range": [ - 1615, - 1620 - ], - "loc": { - "start": { - "line": 78, - "column": 14 - }, - "end": { - "line": 78, - "column": 19 - } - } - }, - "range": [ - 1607, - 1620 - ], - "loc": { - "start": { - "line": 78, - "column": 6 - }, - "end": { - "line": 78, - "column": 19 - } - } - }, - "range": [ - 1603, - 1620 - ], - "loc": { - "start": { - "line": 78, - "column": 2 - }, - "end": { - "line": 78, - "column": 19 - } - } - }, - "range": [ - 1603, - 1621 - ], - "loc": { - "start": { - "line": 78, - "column": 2 - }, - "end": { - "line": 78, - "column": 20 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 1624, - 1625 - ], - "loc": { - "start": { - "line": 79, - "column": 2 - }, - "end": { - "line": 79, - "column": 3 - } - } - }, - "property": { - "type": "Identifier", - "name": "ci", - "range": [ - 1626, - 1628 - ], - "loc": { - "start": { - "line": 79, - "column": 4 - }, - "end": { - "line": 79, - "column": 6 - } - } - }, - "range": [ - 1624, - 1629 - ], - "loc": { - "start": { - "line": 79, - "column": 2 - }, - "end": { - "line": 79, - "column": 7 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "%", - "left": { - "type": "Identifier", - "name": "v", - "range": [ - 1632, - 1633 - ], - "loc": { - "start": { - "line": 79, - "column": 10 - }, - "end": { - "line": 79, - "column": 11 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 1636, - 1637 - ], - "loc": { - "start": { - "line": 79, - "column": 14 - }, - "end": { - "line": 79, - "column": 15 - } - } - }, - "range": [ - 1632, - 1637 - ], - "loc": { - "start": { - "line": 79, - "column": 10 - }, - "end": { - "line": 79, - "column": 15 - } - } - }, - "range": [ - 1624, - 1637 - ], - "loc": { - "start": { - "line": 79, - "column": 2 - }, - "end": { - "line": 79, - "column": 15 - } - } - }, - "range": [ - 1624, - 1638 - ], - "loc": { - "start": { - "line": 79, - "column": 2 - }, - "end": { - "line": 79, - "column": 16 - } - } - }, - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": ">", - "left": { - "type": "Identifier", - "name": "cj", - "range": [ - 1646, - 1648 - ], - "loc": { - "start": { - "line": 81, - "column": 6 - }, - "end": { - "line": 81, - "column": 8 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "ci", - "range": [ - 1651, - 1653 - ], - "loc": { - "start": { - "line": 81, - "column": 11 - }, - "end": { - "line": 81, - "column": 13 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 1656, - 1657 - ], - "loc": { - "start": { - "line": 81, - "column": 16 - }, - "end": { - "line": 81, - "column": 17 - } - } - }, - "range": [ - 1651, - 1657 - ], - "loc": { - "start": { - "line": 81, - "column": 11 - }, - "end": { - "line": 81, - "column": 17 - } - } - }, - "range": [ - 1646, - 1657 - ], - "loc": { - "start": { - "line": 81, - "column": 6 - }, - "end": { - "line": 81, - "column": 17 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 1664, - 1665 - ], - "loc": { - "start": { - "line": 82, - "column": 3 - }, - "end": { - "line": 82, - "column": 4 - } - } - }, - "property": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "ci", - "range": [ - 1666, - 1668 - ], - "loc": { - "start": { - "line": 82, - "column": 5 - }, - "end": { - "line": 82, - "column": 7 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 1669, - 1670 - ], - "loc": { - "start": { - "line": 82, - "column": 8 - }, - "end": { - "line": 82, - "column": 9 - } - } - }, - "range": [ - 1666, - 1670 - ], - "loc": { - "start": { - "line": 82, - "column": 5 - }, - "end": { - "line": 82, - "column": 9 - } - } - }, - "range": [ - 1664, - 1671 - ], - "loc": { - "start": { - "line": 82, - "column": 3 - }, - "end": { - "line": 82, - "column": 10 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "/", - "left": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "v", - "range": [ - 1675, - 1676 - ], - "loc": { - "start": { - "line": 82, - "column": 14 - }, - "end": { - "line": 82, - "column": 15 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 1679, - 1680 - ], - "loc": { - "start": { - "line": 82, - "column": 18 - }, - "end": { - "line": 82, - "column": 19 - } - } - }, - "property": { - "type": "Identifier", - "name": "ci", - "range": [ - 1681, - 1683 - ], - "loc": { - "start": { - "line": 82, - "column": 20 - }, - "end": { - "line": 82, - "column": 22 - } - } - }, - "range": [ - 1679, - 1684 - ], - "loc": { - "start": { - "line": 82, - "column": 18 - }, - "end": { - "line": 82, - "column": 23 - } - } - }, - "range": [ - 1675, - 1684 - ], - "loc": { - "start": { - "line": 82, - "column": 14 - }, - "end": { - "line": 82, - "column": 23 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 1688, - 1689 - ], - "loc": { - "start": { - "line": 82, - "column": 27 - }, - "end": { - "line": 82, - "column": 28 - } - } - }, - "range": [ - 1674, - 1689 - ], - "loc": { - "start": { - "line": 82, - "column": 13 - }, - "end": { - "line": 82, - "column": 28 - } - } - }, - "range": [ - 1664, - 1689 - ], - "loc": { - "start": { - "line": 82, - "column": 3 - }, - "end": { - "line": 82, - "column": 28 - } - } - }, - "range": [ - 1664, - 1690 - ], - "loc": { - "start": { - "line": 82, - "column": 3 - }, - "end": { - "line": 82, - "column": 29 - } - } - } - ], - "range": [ - 1659, - 1694 - ], - "loc": { - "start": { - "line": 81, - "column": 19 - }, - "end": { - "line": 83, - "column": 3 - } - } - }, - "alternate": null, - "range": [ - 1642, - 1694 - ], - "loc": { - "start": { - "line": 81, - "column": 2 - }, - "end": { - "line": 83, - "column": 3 - } - } - } - ], - "range": [ - 1523, - 1698 - ], - "loc": { - "start": { - "line": 71, - "column": 52 - }, - "end": { - "line": 85, - "column": 2 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 1482, - 1698 - ], - "loc": { - "start": { - "line": 71, - "column": 11 - }, - "end": { - "line": 85, - "column": 2 - } - } - }, - "range": [ - 1476, - 1698 - ], - "loc": { - "start": { - "line": 71, - "column": 5 - }, - "end": { - "line": 85, - "column": 2 - } - } - } - ], - "kind": "var", - "range": [ - 1472, - 1699 - ], - "loc": { - "start": { - "line": 71, - "column": 1 - }, - "end": { - "line": 85, - "column": 3 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n\t * Multiply two blocks, result is put in a 1 or 2 blocks little endian array.\n\t * aj - ai <= 1, bj - bi <= 1, cj - ci <= 2\n\t *\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t ", - "range": [ - 1042, - 1469 - ], - "loc": { - "start": { - "line": 55, - "column": 1 - }, - "end": { - "line": 69, - "column": 4 - } - } - } - ] - }, - { - "type": "ReturnStatement", - "argument": { - "type": "Identifier", - "name": "mul", - "range": [ - 1709, - 1712 - ], - "loc": { - "start": { - "line": 87, - "column": 8 - }, - "end": { - "line": 87, - "column": 11 - } - } - }, - "range": [ - 1702, - 1713 - ], - "loc": { - "start": { - "line": 87, - "column": 1 - }, - "end": { - "line": 87, - "column": 12 - } - } - } - ], - "range": [ - 1038, - 1716 - ], - "loc": { - "start": { - "line": 53, - "column": 28 - }, - "end": { - "line": 89, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 1017, - 1716 - ], - "loc": { - "start": { - "line": 53, - "column": 7 - }, - "end": { - "line": 89, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * /!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n *\n * little endian 1 block multiplication\n *\n ", - "range": [ - 858, - 1008 - ], - "loc": { - "start": { - "line": 46, - "column": 0 - }, - "end": { - "line": 51, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 1010, - 1716 - ], - "loc": { - "start": { - "line": 53, - "column": 0 - }, - "end": { - "line": 89, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * /!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n *\n * little endian 1 block multiplication\n *\n ", - "range": [ - 858, - 1008 - ], - "loc": { - "start": { - "line": 46, - "column": 0 - }, - "end": { - "line": 51, - "column": 3 - } - } - } - ] - } - ], - "sourceType": "module", - "range": [ - 149, - 1716 - ], - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 89, - "column": 1 - } - }, - "comments": [ - { - "type": "Block", - "value": "*\n * /!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n *\n * big endian 1 block multiplication\n *\n ", - "range": [ - 0, - 147 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 6, - "column": 3 - } - } - }, - { - "type": "Block", - "value": "*\n\t * Multiply two blocks, result is put in a 1 or 2 blocks big endian array.\n\t * aj - ai <= 1, bj - bi <= 1, cj - ci <= 2\n\t *\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t ", - "range": [ - 181, - 605 - ], - "loc": { - "start": { - "line": 10, - "column": 1 - }, - "end": { - "line": 24, - "column": 4 - } - } - }, - { - "type": "Line", - "value": " EMPTY CASE", - "range": [ - 674, - 687 - ], - "loc": { - "start": { - "line": 30, - "column": 2 - }, - "end": { - "line": 30, - "column": 15 - } - } - }, - { - "type": "Block", - "value": "*\n * /!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n *\n * little endian 1 block multiplication\n *\n ", - "range": [ - 858, - 1008 - ], - "loc": { - "start": { - "line": 46, - "column": 0 - }, - "end": { - "line": 51, - "column": 3 - } - } - }, - { - "type": "Block", - "value": "*\n\t * Multiply two blocks, result is put in a 1 or 2 blocks little endian array.\n\t * aj - ai <= 1, bj - bi <= 1, cj - ci <= 2\n\t *\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t ", - "range": [ - 1042, - 1469 - ], - "loc": { - "start": { - "line": 55, - "column": 1 - }, - "end": { - "line": 69, - "column": 4 - } - } - }, - { - "type": "Line", - "value": " EMPTY CASE", - "range": [ - 1538, - 1551 - ], - "loc": { - "start": { - "line": 75, - "column": 2 - }, - "end": { - "line": 75, - "column": 15 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/mul/toomcook.js.json b/ast/source/0-legacy/arithmetic/mul/toomcook.js.json deleted file mode 100644 index 1d3132e..0000000 --- a/ast/source/0-legacy/arithmetic/mul/toomcook.js.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "type": "Program", - "body": [], - "sourceType": "module", - "range": [ - 58, - 58 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 0 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " http://en.wikipedia.org/wiki/Toom–Cook_multiplication", - "range": [ - 1, - 57 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 56 - } - } - } - ], - "comments": [ - { - "type": "Line", - "value": " http://en.wikipedia.org/wiki/Toom–Cook_multiplication", - "range": [ - 1, - 57 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 56 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/sub/index.js.json b/ast/source/0-legacy/arithmetic/sub/index.js.json deleted file mode 100644 index facfddd..0000000 --- a/ast/source/0-legacy/arithmetic/sub/index.js.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./sub", - "raw": "'./sub'", - "range": [ - 14, - 21 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 21 - } - } - }, - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/0-legacy/arithmetic/sub/sub.js.json b/ast/source/0-legacy/arithmetic/sub/sub.js.json deleted file mode 100644 index 9dbe321..0000000 --- a/ast/source/0-legacy/arithmetic/sub/sub.js.json +++ /dev/null @@ -1,4734 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "bsub_t", - "range": [ - 58, - 64 - ], - "loc": { - "start": { - "line": 7, - "column": 16 - }, - "end": { - "line": 7, - "column": 22 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "r", - "range": [ - 66, - 67 - ], - "loc": { - "start": { - "line": 7, - "column": 24 - }, - "end": { - "line": 7, - "column": 25 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ReturnStatement", - "argument": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 449, - 450 - ], - "loc": { - "start": { - "line": 24, - "column": 17 - }, - "end": { - "line": 24, - "column": 18 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 452, - 454 - ], - "loc": { - "start": { - "line": 24, - "column": 20 - }, - "end": { - "line": 24, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 456, - 458 - ], - "loc": { - "start": { - "line": 24, - "column": 24 - }, - "end": { - "line": 24, - "column": 26 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 460, - 461 - ], - "loc": { - "start": { - "line": 24, - "column": 28 - }, - "end": { - "line": 24, - "column": 29 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 463, - 465 - ], - "loc": { - "start": { - "line": 24, - "column": 31 - }, - "end": { - "line": 24, - "column": 33 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 467, - 469 - ], - "loc": { - "start": { - "line": 24, - "column": 35 - }, - "end": { - "line": 24, - "column": 37 - } - } - }, - { - "type": "Identifier", - "name": "c", - "range": [ - 471, - 472 - ], - "loc": { - "start": { - "line": 24, - "column": 39 - }, - "end": { - "line": 24, - "column": 40 - } - } - }, - { - "type": "Identifier", - "name": "ci", - "range": [ - 474, - 476 - ], - "loc": { - "start": { - "line": 24, - "column": 42 - }, - "end": { - "line": 24, - "column": 44 - } - } - }, - { - "type": "Identifier", - "name": "cj", - "range": [ - 478, - 480 - ], - "loc": { - "start": { - "line": 24, - "column": 46 - }, - "end": { - "line": 24, - "column": 48 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "T", - "range": [ - 489, - 490 - ], - "loc": { - "start": { - "line": 25, - "column": 6 - }, - "end": { - "line": 25, - "column": 7 - } - } - }, - "init": null, - "range": [ - 489, - 490 - ], - "loc": { - "start": { - "line": 25, - "column": 6 - }, - "end": { - "line": 25, - "column": 7 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "C", - "range": [ - 492, - 493 - ], - "loc": { - "start": { - "line": 25, - "column": 9 - }, - "end": { - "line": 25, - "column": 10 - } - } - }, - "init": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 496, - 497 - ], - "loc": { - "start": { - "line": 25, - "column": 13 - }, - "end": { - "line": 25, - "column": 14 - } - } - }, - "range": [ - 492, - 497 - ], - "loc": { - "start": { - "line": 25, - "column": 9 - }, - "end": { - "line": 25, - "column": 14 - } - } - } - ], - "kind": "var", - "range": [ - 485, - 498 - ], - "loc": { - "start": { - "line": 25, - "column": 2 - }, - "end": { - "line": 25, - "column": 15 - } - } - }, - { - "type": "WhileStatement", - "test": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "bj", - "range": [ - 510, - 512 - ], - "loc": { - "start": { - "line": 27, - "column": 10 - }, - "end": { - "line": 27, - "column": 12 - } - } - }, - "prefix": true, - "range": [ - 508, - 512 - ], - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 12 - } - } - }, - "right": { - "type": "Identifier", - "name": "bi", - "range": [ - 516, - 518 - ], - "loc": { - "start": { - "line": 27, - "column": 16 - }, - "end": { - "line": 27, - "column": 18 - } - } - }, - "range": [ - 508, - 518 - ], - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 18 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "aj", - "range": [ - 526, - 528 - ], - "loc": { - "start": { - "line": 28, - "column": 5 - }, - "end": { - "line": 28, - "column": 7 - } - } - }, - "prefix": true, - "range": [ - 524, - 528 - ], - "loc": { - "start": { - "line": 28, - "column": 3 - }, - "end": { - "line": 28, - "column": 7 - } - } - }, - "range": [ - 524, - 529 - ], - "loc": { - "start": { - "line": 28, - "column": 3 - }, - "end": { - "line": 28, - "column": 8 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "cj", - "range": [ - 532, - 534 - ], - "loc": { - "start": { - "line": 28, - "column": 11 - }, - "end": { - "line": 28, - "column": 13 - } - } - }, - "prefix": true, - "range": [ - 530, - 534 - ], - "loc": { - "start": { - "line": 28, - "column": 9 - }, - "end": { - "line": 28, - "column": 13 - } - } - }, - "range": [ - 530, - 535 - ], - "loc": { - "start": { - "line": 28, - "column": 9 - }, - "end": { - "line": 28, - "column": 14 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "T", - "range": [ - 539, - 540 - ], - "loc": { - "start": { - "line": 29, - "column": 3 - }, - "end": { - "line": 29, - "column": 4 - } - } - }, - "right": { - "type": "Identifier", - "name": "C", - "range": [ - 543, - 544 - ], - "loc": { - "start": { - "line": 29, - "column": 7 - }, - "end": { - "line": 29, - "column": 8 - } - } - }, - "range": [ - 539, - 544 - ], - "loc": { - "start": { - "line": 29, - "column": 3 - }, - "end": { - "line": 29, - "column": 8 - } - } - }, - "range": [ - 539, - 545 - ], - "loc": { - "start": { - "line": 29, - "column": 3 - }, - "end": { - "line": 29, - "column": 9 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "C", - "range": [ - 549, - 550 - ], - "loc": { - "start": { - "line": 30, - "column": 3 - }, - "end": { - "line": 30, - "column": 4 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 553, - 554 - ], - "loc": { - "start": { - "line": 30, - "column": 7 - }, - "end": { - "line": 30, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "name": "aj", - "range": [ - 555, - 557 - ], - "loc": { - "start": { - "line": 30, - "column": 9 - }, - "end": { - "line": 30, - "column": 11 - } - } - }, - "range": [ - 553, - 558 - ], - "loc": { - "start": { - "line": 30, - "column": 7 - }, - "end": { - "line": 30, - "column": 12 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 561, - 562 - ], - "loc": { - "start": { - "line": 30, - "column": 15 - }, - "end": { - "line": 30, - "column": 16 - } - } - }, - "property": { - "type": "Identifier", - "name": "bj", - "range": [ - 563, - 565 - ], - "loc": { - "start": { - "line": 30, - "column": 17 - }, - "end": { - "line": 30, - "column": 19 - } - } - }, - "range": [ - 561, - 566 - ], - "loc": { - "start": { - "line": 30, - "column": 15 - }, - "end": { - "line": 30, - "column": 20 - } - } - }, - "right": { - "type": "Identifier", - "name": "T", - "range": [ - 569, - 570 - ], - "loc": { - "start": { - "line": 30, - "column": 23 - }, - "end": { - "line": 30, - "column": 24 - } - } - }, - "range": [ - 561, - 570 - ], - "loc": { - "start": { - "line": 30, - "column": 15 - }, - "end": { - "line": 30, - "column": 24 - } - } - }, - "range": [ - 553, - 570 - ], - "loc": { - "start": { - "line": 30, - "column": 7 - }, - "end": { - "line": 30, - "column": 24 - } - } - }, - "range": [ - 549, - 570 - ], - "loc": { - "start": { - "line": 30, - "column": 3 - }, - "end": { - "line": 30, - "column": 24 - } - } - }, - "range": [ - 549, - 571 - ], - "loc": { - "start": { - "line": 30, - "column": 3 - }, - "end": { - "line": 30, - "column": 25 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 575, - 576 - ], - "loc": { - "start": { - "line": 31, - "column": 3 - }, - "end": { - "line": 31, - "column": 4 - } - } - }, - "property": { - "type": "Identifier", - "name": "cj", - "range": [ - 577, - 579 - ], - "loc": { - "start": { - "line": 31, - "column": 5 - }, - "end": { - "line": 31, - "column": 7 - } - } - }, - "range": [ - 575, - 580 - ], - "loc": { - "start": { - "line": 31, - "column": 3 - }, - "end": { - "line": 31, - "column": 8 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 583, - 584 - ], - "loc": { - "start": { - "line": 31, - "column": 11 - }, - "end": { - "line": 31, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "name": "aj", - "range": [ - 585, - 587 - ], - "loc": { - "start": { - "line": 31, - "column": 13 - }, - "end": { - "line": 31, - "column": 15 - } - } - }, - "range": [ - 583, - 588 - ], - "loc": { - "start": { - "line": 31, - "column": 11 - }, - "end": { - "line": 31, - "column": 16 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 591, - 592 - ], - "loc": { - "start": { - "line": 31, - "column": 19 - }, - "end": { - "line": 31, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "name": "bj", - "range": [ - 593, - 595 - ], - "loc": { - "start": { - "line": 31, - "column": 21 - }, - "end": { - "line": 31, - "column": 23 - } - } - }, - "range": [ - 591, - 596 - ], - "loc": { - "start": { - "line": 31, - "column": 19 - }, - "end": { - "line": 31, - "column": 24 - } - } - }, - "range": [ - 583, - 596 - ], - "loc": { - "start": { - "line": 31, - "column": 11 - }, - "end": { - "line": 31, - "column": 24 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "BinaryExpression", - "operator": "*", - "left": { - "type": "Identifier", - "name": "C", - "range": [ - 600, - 601 - ], - "loc": { - "start": { - "line": 31, - "column": 28 - }, - "end": { - "line": 31, - "column": 29 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 602, - 603 - ], - "loc": { - "start": { - "line": 31, - "column": 30 - }, - "end": { - "line": 31, - "column": 31 - } - } - }, - "range": [ - 600, - 603 - ], - "loc": { - "start": { - "line": 31, - "column": 28 - }, - "end": { - "line": 31, - "column": 31 - } - } - }, - "right": { - "type": "Identifier", - "name": "T", - "range": [ - 606, - 607 - ], - "loc": { - "start": { - "line": 31, - "column": 34 - }, - "end": { - "line": 31, - "column": 35 - } - } - }, - "range": [ - 600, - 607 - ], - "loc": { - "start": { - "line": 31, - "column": 28 - }, - "end": { - "line": 31, - "column": 35 - } - } - }, - "range": [ - 583, - 608 - ], - "loc": { - "start": { - "line": 31, - "column": 11 - }, - "end": { - "line": 31, - "column": 36 - } - } - }, - "range": [ - 575, - 608 - ], - "loc": { - "start": { - "line": 31, - "column": 3 - }, - "end": { - "line": 31, - "column": 36 - } - } - }, - "range": [ - 575, - 609 - ], - "loc": { - "start": { - "line": 31, - "column": 3 - }, - "end": { - "line": 31, - "column": 37 - } - } - } - ], - "range": [ - 519, - 613 - ], - "loc": { - "start": { - "line": 27, - "column": 19 - }, - "end": { - "line": 32, - "column": 3 - } - } - }, - "range": [ - 502, - 613 - ], - "loc": { - "start": { - "line": 27, - "column": 2 - }, - "end": { - "line": 32, - "column": 3 - } - } - }, - { - "type": "WhileStatement", - "test": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "aj", - "range": [ - 625, - 627 - ], - "loc": { - "start": { - "line": 34, - "column": 10 - }, - "end": { - "line": 34, - "column": 12 - } - } - }, - "prefix": true, - "range": [ - 623, - 627 - ], - "loc": { - "start": { - "line": 34, - "column": 8 - }, - "end": { - "line": 34, - "column": 12 - } - } - }, - "right": { - "type": "Identifier", - "name": "ai", - "range": [ - 631, - 633 - ], - "loc": { - "start": { - "line": 34, - "column": 16 - }, - "end": { - "line": 34, - "column": 18 - } - } - }, - "range": [ - 623, - 633 - ], - "loc": { - "start": { - "line": 34, - "column": 8 - }, - "end": { - "line": 34, - "column": 18 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "cj", - "range": [ - 641, - 643 - ], - "loc": { - "start": { - "line": 35, - "column": 5 - }, - "end": { - "line": 35, - "column": 7 - } - } - }, - "prefix": true, - "range": [ - 639, - 643 - ], - "loc": { - "start": { - "line": 35, - "column": 3 - }, - "end": { - "line": 35, - "column": 7 - } - } - }, - "range": [ - 639, - 644 - ], - "loc": { - "start": { - "line": 35, - "column": 3 - }, - "end": { - "line": 35, - "column": 8 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "T", - "range": [ - 648, - 649 - ], - "loc": { - "start": { - "line": 36, - "column": 3 - }, - "end": { - "line": 36, - "column": 4 - } - } - }, - "right": { - "type": "Identifier", - "name": "C", - "range": [ - 652, - 653 - ], - "loc": { - "start": { - "line": 36, - "column": 7 - }, - "end": { - "line": 36, - "column": 8 - } - } - }, - "range": [ - 648, - 653 - ], - "loc": { - "start": { - "line": 36, - "column": 3 - }, - "end": { - "line": 36, - "column": 8 - } - } - }, - "range": [ - 648, - 654 - ], - "loc": { - "start": { - "line": 36, - "column": 3 - }, - "end": { - "line": 36, - "column": 9 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "C", - "range": [ - 658, - 659 - ], - "loc": { - "start": { - "line": 37, - "column": 3 - }, - "end": { - "line": 37, - "column": 4 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 662, - 663 - ], - "loc": { - "start": { - "line": 37, - "column": 7 - }, - "end": { - "line": 37, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "name": "aj", - "range": [ - 664, - 666 - ], - "loc": { - "start": { - "line": 37, - "column": 9 - }, - "end": { - "line": 37, - "column": 11 - } - } - }, - "range": [ - 662, - 667 - ], - "loc": { - "start": { - "line": 37, - "column": 7 - }, - "end": { - "line": 37, - "column": 12 - } - } - }, - "right": { - "type": "Identifier", - "name": "T", - "range": [ - 670, - 671 - ], - "loc": { - "start": { - "line": 37, - "column": 15 - }, - "end": { - "line": 37, - "column": 16 - } - } - }, - "range": [ - 662, - 671 - ], - "loc": { - "start": { - "line": 37, - "column": 7 - }, - "end": { - "line": 37, - "column": 16 - } - } - }, - "range": [ - 658, - 671 - ], - "loc": { - "start": { - "line": 37, - "column": 3 - }, - "end": { - "line": 37, - "column": 16 - } - } - }, - "range": [ - 658, - 672 - ], - "loc": { - "start": { - "line": 37, - "column": 3 - }, - "end": { - "line": 37, - "column": 17 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 676, - 677 - ], - "loc": { - "start": { - "line": 38, - "column": 3 - }, - "end": { - "line": 38, - "column": 4 - } - } - }, - "property": { - "type": "Identifier", - "name": "cj", - "range": [ - 678, - 680 - ], - "loc": { - "start": { - "line": 38, - "column": 5 - }, - "end": { - "line": 38, - "column": 7 - } - } - }, - "range": [ - 676, - 681 - ], - "loc": { - "start": { - "line": 38, - "column": 3 - }, - "end": { - "line": 38, - "column": 8 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 684, - 685 - ], - "loc": { - "start": { - "line": 38, - "column": 11 - }, - "end": { - "line": 38, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "name": "aj", - "range": [ - 686, - 688 - ], - "loc": { - "start": { - "line": 38, - "column": 13 - }, - "end": { - "line": 38, - "column": 15 - } - } - }, - "range": [ - 684, - 689 - ], - "loc": { - "start": { - "line": 38, - "column": 11 - }, - "end": { - "line": 38, - "column": 16 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "BinaryExpression", - "operator": "*", - "left": { - "type": "Identifier", - "name": "C", - "range": [ - 693, - 694 - ], - "loc": { - "start": { - "line": 38, - "column": 20 - }, - "end": { - "line": 38, - "column": 21 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 695, - 696 - ], - "loc": { - "start": { - "line": 38, - "column": 22 - }, - "end": { - "line": 38, - "column": 23 - } - } - }, - "range": [ - 693, - 696 - ], - "loc": { - "start": { - "line": 38, - "column": 20 - }, - "end": { - "line": 38, - "column": 23 - } - } - }, - "right": { - "type": "Identifier", - "name": "T", - "range": [ - 699, - 700 - ], - "loc": { - "start": { - "line": 38, - "column": 26 - }, - "end": { - "line": 38, - "column": 27 - } - } - }, - "range": [ - 693, - 700 - ], - "loc": { - "start": { - "line": 38, - "column": 20 - }, - "end": { - "line": 38, - "column": 27 - } - } - }, - "range": [ - 684, - 701 - ], - "loc": { - "start": { - "line": 38, - "column": 11 - }, - "end": { - "line": 38, - "column": 28 - } - } - }, - "range": [ - 676, - 701 - ], - "loc": { - "start": { - "line": 38, - "column": 3 - }, - "end": { - "line": 38, - "column": 28 - } - } - }, - "range": [ - 676, - 702 - ], - "loc": { - "start": { - "line": 38, - "column": 3 - }, - "end": { - "line": 38, - "column": 29 - } - } - } - ], - "range": [ - 634, - 706 - ], - "loc": { - "start": { - "line": 34, - "column": 19 - }, - "end": { - "line": 39, - "column": 3 - } - } - }, - "range": [ - 617, - 706 - ], - "loc": { - "start": { - "line": 34, - "column": 2 - }, - "end": { - "line": 39, - "column": 3 - } - } - }, - { - "type": "IfStatement", - "test": { - "type": "Identifier", - "name": "C", - "range": [ - 713, - 714 - ], - "loc": { - "start": { - "line": 41, - "column": 5 - }, - "end": { - "line": 41, - "column": 6 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "WhileStatement", - "test": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "cj", - "range": [ - 728, - 730 - ], - "loc": { - "start": { - "line": 42, - "column": 11 - }, - "end": { - "line": 42, - "column": 13 - } - } - }, - "prefix": true, - "range": [ - 726, - 730 - ], - "loc": { - "start": { - "line": 42, - "column": 9 - }, - "end": { - "line": 42, - "column": 13 - } - } - }, - "right": { - "type": "Identifier", - "name": "ci", - "range": [ - 734, - 736 - ], - "loc": { - "start": { - "line": 42, - "column": 17 - }, - "end": { - "line": 42, - "column": 19 - } - } - }, - "range": [ - 726, - 736 - ], - "loc": { - "start": { - "line": 42, - "column": 9 - }, - "end": { - "line": 42, - "column": 19 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 743, - 744 - ], - "loc": { - "start": { - "line": 43, - "column": 4 - }, - "end": { - "line": 43, - "column": 5 - } - } - }, - "property": { - "type": "Identifier", - "name": "cj", - "range": [ - 745, - 747 - ], - "loc": { - "start": { - "line": 43, - "column": 6 - }, - "end": { - "line": 43, - "column": 8 - } - } - }, - "range": [ - 743, - 748 - ], - "loc": { - "start": { - "line": 43, - "column": 4 - }, - "end": { - "line": 43, - "column": 9 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "r", - "range": [ - 751, - 752 - ], - "loc": { - "start": { - "line": 43, - "column": 12 - }, - "end": { - "line": 43, - "column": 13 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 755, - 756 - ], - "loc": { - "start": { - "line": 43, - "column": 16 - }, - "end": { - "line": 43, - "column": 17 - } - } - }, - "range": [ - 751, - 756 - ], - "loc": { - "start": { - "line": 43, - "column": 12 - }, - "end": { - "line": 43, - "column": 17 - } - } - }, - "range": [ - 743, - 756 - ], - "loc": { - "start": { - "line": 43, - "column": 4 - }, - "end": { - "line": 43, - "column": 17 - } - } - }, - "range": [ - 743, - 757 - ], - "loc": { - "start": { - "line": 43, - "column": 4 - }, - "end": { - "line": 43, - "column": 18 - } - } - } - ], - "range": [ - 737, - 762 - ], - "loc": { - "start": { - "line": 42, - "column": 20 - }, - "end": { - "line": 44, - "column": 4 - } - } - }, - "range": [ - 720, - 762 - ], - "loc": { - "start": { - "line": 42, - "column": 3 - }, - "end": { - "line": 44, - "column": 4 - } - } - } - ], - "range": [ - 715, - 766 - ], - "loc": { - "start": { - "line": 41, - "column": 7 - }, - "end": { - "line": 45, - "column": 3 - } - } - }, - "alternate": null, - "range": [ - 710, - 766 - ], - "loc": { - "start": { - "line": 41, - "column": 2 - }, - "end": { - "line": 45, - "column": 3 - } - } - } - ], - "range": [ - 481, - 770 - ], - "loc": { - "start": { - "line": 24, - "column": 49 - }, - "end": { - "line": 47, - "column": 2 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 440, - 770 - ], - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 47, - "column": 2 - } - } - }, - "range": [ - 433, - 771 - ], - "loc": { - "start": { - "line": 24, - "column": 1 - }, - "end": { - "line": 47, - "column": 3 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n\t * Subtracts two big endian arrays, k >= i >= j\n\t * wraps\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t ", - "range": [ - 72, - 430 - ], - "loc": { - "start": { - "line": 9, - "column": 1 - }, - "end": { - "line": 22, - "column": 4 - } - } - } - ] - } - ], - "range": [ - 68, - 773 - ], - "loc": { - "start": { - "line": 7, - "column": 26 - }, - "end": { - "line": 48, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 49, - 773 - ], - "loc": { - "start": { - "line": 7, - "column": 7 - }, - "end": { - "line": 48, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * @param {int} r base (radix)\n ", - "range": [ - 1, - 39 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 4, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "Block", - "value": "*\n * @param {int} r base (radix)\n ", - "range": [ - 776, - 814 - ], - "loc": { - "start": { - "line": 51, - "column": 0 - }, - "end": { - "line": 53, - "column": 3 - } - } - } - ] - }, - "specifiers": [], - "source": null, - "range": [ - 42, - 773 - ], - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 48, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * @param {int} r base (radix)\n ", - "range": [ - 1, - 39 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 4, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "Block", - "value": "*\n * @param {int} r base (radix)\n ", - "range": [ - 776, - 814 - ], - "loc": { - "start": { - "line": 51, - "column": 0 - }, - "end": { - "line": 53, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "lsub_t", - "range": [ - 831, - 837 - ], - "loc": { - "start": { - "line": 54, - "column": 16 - }, - "end": { - "line": 54, - "column": 22 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "r", - "range": [ - 839, - 840 - ], - "loc": { - "start": { - "line": 54, - "column": 24 - }, - "end": { - "line": 54, - "column": 25 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ReturnStatement", - "argument": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 1225, - 1226 - ], - "loc": { - "start": { - "line": 71, - "column": 17 - }, - "end": { - "line": 71, - "column": 18 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 1228, - 1230 - ], - "loc": { - "start": { - "line": 71, - "column": 20 - }, - "end": { - "line": 71, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 1232, - 1234 - ], - "loc": { - "start": { - "line": 71, - "column": 24 - }, - "end": { - "line": 71, - "column": 26 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 1236, - 1237 - ], - "loc": { - "start": { - "line": 71, - "column": 28 - }, - "end": { - "line": 71, - "column": 29 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 1239, - 1241 - ], - "loc": { - "start": { - "line": 71, - "column": 31 - }, - "end": { - "line": 71, - "column": 33 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 1243, - 1245 - ], - "loc": { - "start": { - "line": 71, - "column": 35 - }, - "end": { - "line": 71, - "column": 37 - } - } - }, - { - "type": "Identifier", - "name": "c", - "range": [ - 1247, - 1248 - ], - "loc": { - "start": { - "line": 71, - "column": 39 - }, - "end": { - "line": 71, - "column": 40 - } - } - }, - { - "type": "Identifier", - "name": "ci", - "range": [ - 1250, - 1252 - ], - "loc": { - "start": { - "line": 71, - "column": 42 - }, - "end": { - "line": 71, - "column": 44 - } - } - }, - { - "type": "Identifier", - "name": "cj", - "range": [ - 1254, - 1256 - ], - "loc": { - "start": { - "line": 71, - "column": 46 - }, - "end": { - "line": 71, - "column": 48 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "T", - "range": [ - 1265, - 1266 - ], - "loc": { - "start": { - "line": 72, - "column": 6 - }, - "end": { - "line": 72, - "column": 7 - } - } - }, - "init": null, - "range": [ - 1265, - 1266 - ], - "loc": { - "start": { - "line": 72, - "column": 6 - }, - "end": { - "line": 72, - "column": 7 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "C", - "range": [ - 1268, - 1269 - ], - "loc": { - "start": { - "line": 72, - "column": 9 - }, - "end": { - "line": 72, - "column": 10 - } - } - }, - "init": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 1272, - 1273 - ], - "loc": { - "start": { - "line": 72, - "column": 13 - }, - "end": { - "line": 72, - "column": 14 - } - } - }, - "range": [ - 1268, - 1273 - ], - "loc": { - "start": { - "line": 72, - "column": 9 - }, - "end": { - "line": 72, - "column": 14 - } - } - } - ], - "kind": "var", - "range": [ - 1261, - 1274 - ], - "loc": { - "start": { - "line": 72, - "column": 2 - }, - "end": { - "line": 72, - "column": 15 - } - } - }, - { - "type": "WhileStatement", - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "bi", - "range": [ - 1284, - 1286 - ], - "loc": { - "start": { - "line": 74, - "column": 8 - }, - "end": { - "line": 74, - "column": 10 - } - } - }, - "right": { - "type": "Identifier", - "name": "bj", - "range": [ - 1289, - 1291 - ], - "loc": { - "start": { - "line": 74, - "column": 13 - }, - "end": { - "line": 74, - "column": 15 - } - } - }, - "range": [ - 1284, - 1291 - ], - "loc": { - "start": { - "line": 74, - "column": 8 - }, - "end": { - "line": 74, - "column": 15 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "T", - "range": [ - 1297, - 1298 - ], - "loc": { - "start": { - "line": 75, - "column": 3 - }, - "end": { - "line": 75, - "column": 4 - } - } - }, - "right": { - "type": "Identifier", - "name": "C", - "range": [ - 1301, - 1302 - ], - "loc": { - "start": { - "line": 75, - "column": 7 - }, - "end": { - "line": 75, - "column": 8 - } - } - }, - "range": [ - 1297, - 1302 - ], - "loc": { - "start": { - "line": 75, - "column": 3 - }, - "end": { - "line": 75, - "column": 8 - } - } - }, - "range": [ - 1297, - 1303 - ], - "loc": { - "start": { - "line": 75, - "column": 3 - }, - "end": { - "line": 75, - "column": 9 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "C", - "range": [ - 1307, - 1308 - ], - "loc": { - "start": { - "line": 76, - "column": 3 - }, - "end": { - "line": 76, - "column": 4 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 1311, - 1312 - ], - "loc": { - "start": { - "line": 76, - "column": 7 - }, - "end": { - "line": 76, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "name": "ai", - "range": [ - 1313, - 1315 - ], - "loc": { - "start": { - "line": 76, - "column": 9 - }, - "end": { - "line": 76, - "column": 11 - } - } - }, - "range": [ - 1311, - 1316 - ], - "loc": { - "start": { - "line": 76, - "column": 7 - }, - "end": { - "line": 76, - "column": 12 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 1319, - 1320 - ], - "loc": { - "start": { - "line": 76, - "column": 15 - }, - "end": { - "line": 76, - "column": 16 - } - } - }, - "property": { - "type": "Identifier", - "name": "bi", - "range": [ - 1321, - 1323 - ], - "loc": { - "start": { - "line": 76, - "column": 17 - }, - "end": { - "line": 76, - "column": 19 - } - } - }, - "range": [ - 1319, - 1324 - ], - "loc": { - "start": { - "line": 76, - "column": 15 - }, - "end": { - "line": 76, - "column": 20 - } - } - }, - "right": { - "type": "Identifier", - "name": "T", - "range": [ - 1327, - 1328 - ], - "loc": { - "start": { - "line": 76, - "column": 23 - }, - "end": { - "line": 76, - "column": 24 - } - } - }, - "range": [ - 1319, - 1328 - ], - "loc": { - "start": { - "line": 76, - "column": 15 - }, - "end": { - "line": 76, - "column": 24 - } - } - }, - "range": [ - 1311, - 1328 - ], - "loc": { - "start": { - "line": 76, - "column": 7 - }, - "end": { - "line": 76, - "column": 24 - } - } - }, - "range": [ - 1307, - 1328 - ], - "loc": { - "start": { - "line": 76, - "column": 3 - }, - "end": { - "line": 76, - "column": 24 - } - } - }, - "range": [ - 1307, - 1329 - ], - "loc": { - "start": { - "line": 76, - "column": 3 - }, - "end": { - "line": 76, - "column": 25 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 1333, - 1334 - ], - "loc": { - "start": { - "line": 77, - "column": 3 - }, - "end": { - "line": 77, - "column": 4 - } - } - }, - "property": { - "type": "Identifier", - "name": "ci", - "range": [ - 1335, - 1337 - ], - "loc": { - "start": { - "line": 77, - "column": 5 - }, - "end": { - "line": 77, - "column": 7 - } - } - }, - "range": [ - 1333, - 1338 - ], - "loc": { - "start": { - "line": 77, - "column": 3 - }, - "end": { - "line": 77, - "column": 8 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 1341, - 1342 - ], - "loc": { - "start": { - "line": 77, - "column": 11 - }, - "end": { - "line": 77, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "name": "ai", - "range": [ - 1343, - 1345 - ], - "loc": { - "start": { - "line": 77, - "column": 13 - }, - "end": { - "line": 77, - "column": 15 - } - } - }, - "range": [ - 1341, - 1346 - ], - "loc": { - "start": { - "line": 77, - "column": 11 - }, - "end": { - "line": 77, - "column": 16 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 1349, - 1350 - ], - "loc": { - "start": { - "line": 77, - "column": 19 - }, - "end": { - "line": 77, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "name": "bi", - "range": [ - 1351, - 1353 - ], - "loc": { - "start": { - "line": 77, - "column": 21 - }, - "end": { - "line": 77, - "column": 23 - } - } - }, - "range": [ - 1349, - 1354 - ], - "loc": { - "start": { - "line": 77, - "column": 19 - }, - "end": { - "line": 77, - "column": 24 - } - } - }, - "range": [ - 1341, - 1354 - ], - "loc": { - "start": { - "line": 77, - "column": 11 - }, - "end": { - "line": 77, - "column": 24 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "BinaryExpression", - "operator": "*", - "left": { - "type": "Identifier", - "name": "C", - "range": [ - 1358, - 1359 - ], - "loc": { - "start": { - "line": 77, - "column": 28 - }, - "end": { - "line": 77, - "column": 29 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 1360, - 1361 - ], - "loc": { - "start": { - "line": 77, - "column": 30 - }, - "end": { - "line": 77, - "column": 31 - } - } - }, - "range": [ - 1358, - 1361 - ], - "loc": { - "start": { - "line": 77, - "column": 28 - }, - "end": { - "line": 77, - "column": 31 - } - } - }, - "right": { - "type": "Identifier", - "name": "T", - "range": [ - 1364, - 1365 - ], - "loc": { - "start": { - "line": 77, - "column": 34 - }, - "end": { - "line": 77, - "column": 35 - } - } - }, - "range": [ - 1358, - 1365 - ], - "loc": { - "start": { - "line": 77, - "column": 28 - }, - "end": { - "line": 77, - "column": 35 - } - } - }, - "range": [ - 1341, - 1366 - ], - "loc": { - "start": { - "line": 77, - "column": 11 - }, - "end": { - "line": 77, - "column": 36 - } - } - }, - "range": [ - 1333, - 1366 - ], - "loc": { - "start": { - "line": 77, - "column": 3 - }, - "end": { - "line": 77, - "column": 36 - } - } - }, - "range": [ - 1333, - 1367 - ], - "loc": { - "start": { - "line": 77, - "column": 3 - }, - "end": { - "line": 77, - "column": 37 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "ai", - "range": [ - 1373, - 1375 - ], - "loc": { - "start": { - "line": 78, - "column": 5 - }, - "end": { - "line": 78, - "column": 7 - } - } - }, - "prefix": true, - "range": [ - 1371, - 1375 - ], - "loc": { - "start": { - "line": 78, - "column": 3 - }, - "end": { - "line": 78, - "column": 7 - } - } - }, - "range": [ - 1371, - 1376 - ], - "loc": { - "start": { - "line": 78, - "column": 3 - }, - "end": { - "line": 78, - "column": 8 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "bi", - "range": [ - 1379, - 1381 - ], - "loc": { - "start": { - "line": 78, - "column": 11 - }, - "end": { - "line": 78, - "column": 13 - } - } - }, - "prefix": true, - "range": [ - 1377, - 1381 - ], - "loc": { - "start": { - "line": 78, - "column": 9 - }, - "end": { - "line": 78, - "column": 13 - } - } - }, - "range": [ - 1377, - 1382 - ], - "loc": { - "start": { - "line": 78, - "column": 9 - }, - "end": { - "line": 78, - "column": 14 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "ci", - "range": [ - 1385, - 1387 - ], - "loc": { - "start": { - "line": 78, - "column": 17 - }, - "end": { - "line": 78, - "column": 19 - } - } - }, - "prefix": true, - "range": [ - 1383, - 1387 - ], - "loc": { - "start": { - "line": 78, - "column": 15 - }, - "end": { - "line": 78, - "column": 19 - } - } - }, - "range": [ - 1383, - 1388 - ], - "loc": { - "start": { - "line": 78, - "column": 15 - }, - "end": { - "line": 78, - "column": 20 - } - } - } - ], - "range": [ - 1292, - 1392 - ], - "loc": { - "start": { - "line": 74, - "column": 16 - }, - "end": { - "line": 79, - "column": 3 - } - } - }, - "range": [ - 1278, - 1392 - ], - "loc": { - "start": { - "line": 74, - "column": 2 - }, - "end": { - "line": 79, - "column": 3 - } - } - }, - { - "type": "WhileStatement", - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "ai", - "range": [ - 1402, - 1404 - ], - "loc": { - "start": { - "line": 81, - "column": 8 - }, - "end": { - "line": 81, - "column": 10 - } - } - }, - "right": { - "type": "Identifier", - "name": "aj", - "range": [ - 1407, - 1409 - ], - "loc": { - "start": { - "line": 81, - "column": 13 - }, - "end": { - "line": 81, - "column": 15 - } - } - }, - "range": [ - 1402, - 1409 - ], - "loc": { - "start": { - "line": 81, - "column": 8 - }, - "end": { - "line": 81, - "column": 15 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "T", - "range": [ - 1415, - 1416 - ], - "loc": { - "start": { - "line": 82, - "column": 3 - }, - "end": { - "line": 82, - "column": 4 - } - } - }, - "right": { - "type": "Identifier", - "name": "C", - "range": [ - 1419, - 1420 - ], - "loc": { - "start": { - "line": 82, - "column": 7 - }, - "end": { - "line": 82, - "column": 8 - } - } - }, - "range": [ - 1415, - 1420 - ], - "loc": { - "start": { - "line": 82, - "column": 3 - }, - "end": { - "line": 82, - "column": 8 - } - } - }, - "range": [ - 1415, - 1421 - ], - "loc": { - "start": { - "line": 82, - "column": 3 - }, - "end": { - "line": 82, - "column": 9 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "C", - "range": [ - 1425, - 1426 - ], - "loc": { - "start": { - "line": 83, - "column": 3 - }, - "end": { - "line": 83, - "column": 4 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 1429, - 1430 - ], - "loc": { - "start": { - "line": 83, - "column": 7 - }, - "end": { - "line": 83, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "name": "ai", - "range": [ - 1431, - 1433 - ], - "loc": { - "start": { - "line": 83, - "column": 9 - }, - "end": { - "line": 83, - "column": 11 - } - } - }, - "range": [ - 1429, - 1434 - ], - "loc": { - "start": { - "line": 83, - "column": 7 - }, - "end": { - "line": 83, - "column": 12 - } - } - }, - "right": { - "type": "Identifier", - "name": "T", - "range": [ - 1437, - 1438 - ], - "loc": { - "start": { - "line": 83, - "column": 15 - }, - "end": { - "line": 83, - "column": 16 - } - } - }, - "range": [ - 1429, - 1438 - ], - "loc": { - "start": { - "line": 83, - "column": 7 - }, - "end": { - "line": 83, - "column": 16 - } - } - }, - "range": [ - 1425, - 1438 - ], - "loc": { - "start": { - "line": 83, - "column": 3 - }, - "end": { - "line": 83, - "column": 16 - } - } - }, - "range": [ - 1425, - 1439 - ], - "loc": { - "start": { - "line": 83, - "column": 3 - }, - "end": { - "line": 83, - "column": 17 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 1443, - 1444 - ], - "loc": { - "start": { - "line": 84, - "column": 3 - }, - "end": { - "line": 84, - "column": 4 - } - } - }, - "property": { - "type": "Identifier", - "name": "ci", - "range": [ - 1445, - 1447 - ], - "loc": { - "start": { - "line": 84, - "column": 5 - }, - "end": { - "line": 84, - "column": 7 - } - } - }, - "range": [ - 1443, - 1448 - ], - "loc": { - "start": { - "line": 84, - "column": 3 - }, - "end": { - "line": 84, - "column": 8 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 1451, - 1452 - ], - "loc": { - "start": { - "line": 84, - "column": 11 - }, - "end": { - "line": 84, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "name": "ai", - "range": [ - 1453, - 1455 - ], - "loc": { - "start": { - "line": 84, - "column": 13 - }, - "end": { - "line": 84, - "column": 15 - } - } - }, - "range": [ - 1451, - 1456 - ], - "loc": { - "start": { - "line": 84, - "column": 11 - }, - "end": { - "line": 84, - "column": 16 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "BinaryExpression", - "operator": "*", - "left": { - "type": "Identifier", - "name": "C", - "range": [ - 1460, - 1461 - ], - "loc": { - "start": { - "line": 84, - "column": 20 - }, - "end": { - "line": 84, - "column": 21 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 1462, - 1463 - ], - "loc": { - "start": { - "line": 84, - "column": 22 - }, - "end": { - "line": 84, - "column": 23 - } - } - }, - "range": [ - 1460, - 1463 - ], - "loc": { - "start": { - "line": 84, - "column": 20 - }, - "end": { - "line": 84, - "column": 23 - } - } - }, - "right": { - "type": "Identifier", - "name": "T", - "range": [ - 1466, - 1467 - ], - "loc": { - "start": { - "line": 84, - "column": 26 - }, - "end": { - "line": 84, - "column": 27 - } - } - }, - "range": [ - 1460, - 1467 - ], - "loc": { - "start": { - "line": 84, - "column": 20 - }, - "end": { - "line": 84, - "column": 27 - } - } - }, - "range": [ - 1451, - 1468 - ], - "loc": { - "start": { - "line": 84, - "column": 11 - }, - "end": { - "line": 84, - "column": 28 - } - } - }, - "range": [ - 1443, - 1468 - ], - "loc": { - "start": { - "line": 84, - "column": 3 - }, - "end": { - "line": 84, - "column": 28 - } - } - }, - "range": [ - 1443, - 1469 - ], - "loc": { - "start": { - "line": 84, - "column": 3 - }, - "end": { - "line": 84, - "column": 29 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "ai", - "range": [ - 1475, - 1477 - ], - "loc": { - "start": { - "line": 85, - "column": 5 - }, - "end": { - "line": 85, - "column": 7 - } - } - }, - "prefix": true, - "range": [ - 1473, - 1477 - ], - "loc": { - "start": { - "line": 85, - "column": 3 - }, - "end": { - "line": 85, - "column": 7 - } - } - }, - "range": [ - 1473, - 1478 - ], - "loc": { - "start": { - "line": 85, - "column": 3 - }, - "end": { - "line": 85, - "column": 8 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "ci", - "range": [ - 1481, - 1483 - ], - "loc": { - "start": { - "line": 85, - "column": 11 - }, - "end": { - "line": 85, - "column": 13 - } - } - }, - "prefix": true, - "range": [ - 1479, - 1483 - ], - "loc": { - "start": { - "line": 85, - "column": 9 - }, - "end": { - "line": 85, - "column": 13 - } - } - }, - "range": [ - 1479, - 1484 - ], - "loc": { - "start": { - "line": 85, - "column": 9 - }, - "end": { - "line": 85, - "column": 14 - } - } - } - ], - "range": [ - 1410, - 1488 - ], - "loc": { - "start": { - "line": 81, - "column": 16 - }, - "end": { - "line": 86, - "column": 3 - } - } - }, - "range": [ - 1396, - 1488 - ], - "loc": { - "start": { - "line": 81, - "column": 2 - }, - "end": { - "line": 86, - "column": 3 - } - } - }, - { - "type": "IfStatement", - "test": { - "type": "Identifier", - "name": "C", - "range": [ - 1495, - 1496 - ], - "loc": { - "start": { - "line": 88, - "column": 5 - }, - "end": { - "line": 88, - "column": 6 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "WhileStatement", - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "ci", - "range": [ - 1508, - 1510 - ], - "loc": { - "start": { - "line": 89, - "column": 9 - }, - "end": { - "line": 89, - "column": 11 - } - } - }, - "right": { - "type": "Identifier", - "name": "cj", - "range": [ - 1513, - 1515 - ], - "loc": { - "start": { - "line": 89, - "column": 14 - }, - "end": { - "line": 89, - "column": 16 - } - } - }, - "range": [ - 1508, - 1515 - ], - "loc": { - "start": { - "line": 89, - "column": 9 - }, - "end": { - "line": 89, - "column": 16 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 1522, - 1523 - ], - "loc": { - "start": { - "line": 90, - "column": 4 - }, - "end": { - "line": 90, - "column": 5 - } - } - }, - "property": { - "type": "Identifier", - "name": "ci", - "range": [ - 1524, - 1526 - ], - "loc": { - "start": { - "line": 90, - "column": 6 - }, - "end": { - "line": 90, - "column": 8 - } - } - }, - "range": [ - 1522, - 1527 - ], - "loc": { - "start": { - "line": 90, - "column": 4 - }, - "end": { - "line": 90, - "column": 9 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "r", - "range": [ - 1530, - 1531 - ], - "loc": { - "start": { - "line": 90, - "column": 12 - }, - "end": { - "line": 90, - "column": 13 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 1534, - 1535 - ], - "loc": { - "start": { - "line": 90, - "column": 16 - }, - "end": { - "line": 90, - "column": 17 - } - } - }, - "range": [ - 1530, - 1535 - ], - "loc": { - "start": { - "line": 90, - "column": 12 - }, - "end": { - "line": 90, - "column": 17 - } - } - }, - "range": [ - 1522, - 1535 - ], - "loc": { - "start": { - "line": 90, - "column": 4 - }, - "end": { - "line": 90, - "column": 17 - } - } - }, - "range": [ - 1522, - 1536 - ], - "loc": { - "start": { - "line": 90, - "column": 4 - }, - "end": { - "line": 90, - "column": 18 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "ci", - "range": [ - 1543, - 1545 - ], - "loc": { - "start": { - "line": 91, - "column": 6 - }, - "end": { - "line": 91, - "column": 8 - } - } - }, - "prefix": true, - "range": [ - 1541, - 1545 - ], - "loc": { - "start": { - "line": 91, - "column": 4 - }, - "end": { - "line": 91, - "column": 8 - } - } - }, - "range": [ - 1541, - 1546 - ], - "loc": { - "start": { - "line": 91, - "column": 4 - }, - "end": { - "line": 91, - "column": 9 - } - } - } - ], - "range": [ - 1516, - 1551 - ], - "loc": { - "start": { - "line": 89, - "column": 17 - }, - "end": { - "line": 92, - "column": 4 - } - } - }, - "range": [ - 1502, - 1551 - ], - "loc": { - "start": { - "line": 89, - "column": 3 - }, - "end": { - "line": 92, - "column": 4 - } - } - } - ], - "range": [ - 1497, - 1555 - ], - "loc": { - "start": { - "line": 88, - "column": 7 - }, - "end": { - "line": 93, - "column": 3 - } - } - }, - "alternate": null, - "range": [ - 1492, - 1555 - ], - "loc": { - "start": { - "line": 88, - "column": 2 - }, - "end": { - "line": 93, - "column": 3 - } - } - } - ], - "range": [ - 1257, - 1559 - ], - "loc": { - "start": { - "line": 71, - "column": 49 - }, - "end": { - "line": 95, - "column": 2 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 1216, - 1559 - ], - "loc": { - "start": { - "line": 71, - "column": 8 - }, - "end": { - "line": 95, - "column": 2 - } - } - }, - "range": [ - 1209, - 1560 - ], - "loc": { - "start": { - "line": 71, - "column": 1 - }, - "end": { - "line": 95, - "column": 3 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n\t * Subtracts two little endian arrays, k >= i >= j\n\t * wraps\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t ", - "range": [ - 845, - 1206 - ], - "loc": { - "start": { - "line": 56, - "column": 1 - }, - "end": { - "line": 69, - "column": 4 - } - } - } - ] - } - ], - "range": [ - 841, - 1562 - ], - "loc": { - "start": { - "line": 54, - "column": 26 - }, - "end": { - "line": 96, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 822, - 1562 - ], - "loc": { - "start": { - "line": 54, - "column": 7 - }, - "end": { - "line": 96, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * @param {int} r base (radix)\n ", - "range": [ - 776, - 814 - ], - "loc": { - "start": { - "line": 51, - "column": 0 - }, - "end": { - "line": 53, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 815, - 1562 - ], - "loc": { - "start": { - "line": 54, - "column": 0 - }, - "end": { - "line": 96, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * @param {int} r base (radix)\n ", - "range": [ - 776, - 814 - ], - "loc": { - "start": { - "line": 51, - "column": 0 - }, - "end": { - "line": 53, - "column": 3 - } - } - } - ] - } - ], - "sourceType": "module", - "range": [ - 42, - 1562 - ], - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 96, - "column": 1 - } - }, - "comments": [ - { - "type": "Block", - "value": "*\n * @param {int} r base (radix)\n ", - "range": [ - 1, - 39 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 4, - "column": 3 - } - } - }, - { - "type": "Block", - "value": "*\n\t * Subtracts two big endian arrays, k >= i >= j\n\t * wraps\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t ", - "range": [ - 72, - 430 - ], - "loc": { - "start": { - "line": 9, - "column": 1 - }, - "end": { - "line": 22, - "column": 4 - } - } - }, - { - "type": "Block", - "value": "*\n * @param {int} r base (radix)\n ", - "range": [ - 776, - 814 - ], - "loc": { - "start": { - "line": 51, - "column": 0 - }, - "end": { - "line": 53, - "column": 3 - } - } - }, - { - "type": "Block", - "value": "*\n\t * Subtracts two little endian arrays, k >= i >= j\n\t * wraps\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t ", - "range": [ - 845, - 1206 - ], - "loc": { - "start": { - "line": 56, - "column": 1 - }, - "end": { - "line": 69, - "column": 4 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/binary/and/and.js.json b/ast/source/0-legacy/binary/and/and.js.json deleted file mode 100644 index 8ef31da..0000000 --- a/ast/source/0-legacy/binary/and/and.js.json +++ /dev/null @@ -1,3945 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "and", - "range": [ - 140, - 143 - ], - "loc": { - "start": { - "line": 13, - "column": 16 - }, - "end": { - "line": 13, - "column": 19 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 145, - 146 - ], - "loc": { - "start": { - "line": 13, - "column": 21 - }, - "end": { - "line": 13, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "a0", - "range": [ - 148, - 150 - ], - "loc": { - "start": { - "line": 13, - "column": 24 - }, - "end": { - "line": 13, - "column": 26 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 152, - 153 - ], - "loc": { - "start": { - "line": 13, - "column": 28 - }, - "end": { - "line": 13, - "column": 29 - } - } - }, - { - "type": "Identifier", - "name": "b0", - "range": [ - 155, - 157 - ], - "loc": { - "start": { - "line": 13, - "column": 31 - }, - "end": { - "line": 13, - "column": 33 - } - } - }, - { - "type": "Identifier", - "name": "c", - "range": [ - 159, - 160 - ], - "loc": { - "start": { - "line": 13, - "column": 35 - }, - "end": { - "line": 13, - "column": 36 - } - } - }, - { - "type": "Identifier", - "name": "c0", - "range": [ - 162, - 164 - ], - "loc": { - "start": { - "line": 13, - "column": 38 - }, - "end": { - "line": 13, - "column": 40 - } - } - }, - { - "type": "Identifier", - "name": "c1", - "range": [ - 166, - 168 - ], - "loc": { - "start": { - "line": 13, - "column": 42 - }, - "end": { - "line": 13, - "column": 44 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "WhileStatement", - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "c0", - "range": [ - 181, - 183 - ], - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 10 - } - } - }, - "right": { - "type": "Identifier", - "name": "c1", - "range": [ - 186, - 188 - ], - "loc": { - "start": { - "line": 15, - "column": 13 - }, - "end": { - "line": 15, - "column": 15 - } - } - }, - "range": [ - 181, - 188 - ], - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 15 - } - } - }, - "body": { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 190, - 191 - ], - "loc": { - "start": { - "line": 15, - "column": 17 - }, - "end": { - "line": 15, - "column": 18 - } - } - }, - "property": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "c0", - "range": [ - 192, - 194 - ], - "loc": { - "start": { - "line": 15, - "column": 19 - }, - "end": { - "line": 15, - "column": 21 - } - } - }, - "prefix": false, - "range": [ - 192, - 196 - ], - "loc": { - "start": { - "line": 15, - "column": 19 - }, - "end": { - "line": 15, - "column": 23 - } - } - }, - "range": [ - 190, - 197 - ], - "loc": { - "start": { - "line": 15, - "column": 17 - }, - "end": { - "line": 15, - "column": 24 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "&", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 200, - 201 - ], - "loc": { - "start": { - "line": 15, - "column": 27 - }, - "end": { - "line": 15, - "column": 28 - } - } - }, - "property": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "a0", - "range": [ - 202, - 204 - ], - "loc": { - "start": { - "line": 15, - "column": 29 - }, - "end": { - "line": 15, - "column": 31 - } - } - }, - "prefix": false, - "range": [ - 202, - 206 - ], - "loc": { - "start": { - "line": 15, - "column": 29 - }, - "end": { - "line": 15, - "column": 33 - } - } - }, - "range": [ - 200, - 207 - ], - "loc": { - "start": { - "line": 15, - "column": 27 - }, - "end": { - "line": 15, - "column": 34 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 210, - 211 - ], - "loc": { - "start": { - "line": 15, - "column": 37 - }, - "end": { - "line": 15, - "column": 38 - } - } - }, - "property": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "b0", - "range": [ - 212, - 214 - ], - "loc": { - "start": { - "line": 15, - "column": 39 - }, - "end": { - "line": 15, - "column": 41 - } - } - }, - "prefix": false, - "range": [ - 212, - 216 - ], - "loc": { - "start": { - "line": 15, - "column": 39 - }, - "end": { - "line": 15, - "column": 43 - } - } - }, - "range": [ - 210, - 217 - ], - "loc": { - "start": { - "line": 15, - "column": 37 - }, - "end": { - "line": 15, - "column": 44 - } - } - }, - "range": [ - 200, - 217 - ], - "loc": { - "start": { - "line": 15, - "column": 27 - }, - "end": { - "line": 15, - "column": 44 - } - } - }, - "range": [ - 190, - 217 - ], - "loc": { - "start": { - "line": 15, - "column": 17 - }, - "end": { - "line": 15, - "column": 44 - } - } - }, - "range": [ - 190, - 218 - ], - "loc": { - "start": { - "line": 15, - "column": 17 - }, - "end": { - "line": 15, - "column": 45 - } - } - }, - "range": [ - 174, - 218 - ], - "loc": { - "start": { - "line": 15, - "column": 1 - }, - "end": { - "line": 15, - "column": 45 - } - } - } - ], - "range": [ - 170, - 221 - ], - "loc": { - "start": { - "line": 13, - "column": 46 - }, - "end": { - "line": 17, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 131, - 221 - ], - "loc": { - "start": { - "line": 13, - "column": 7 - }, - "end": { - "line": 17, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n *\n * BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| = |b| = |c| > 0\n *\n *\n ", - "range": [ - 1, - 122 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 11, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "Block", - "value": "*\n * BIG ENDIAN BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| >= |b| > 0\n *\n * treats b as if it was represented with the same number of blocks as a\n ", - "range": [ - 224, - 418 - ], - "loc": { - "start": { - "line": 20, - "column": 0 - }, - "end": { - "line": 28, - "column": 3 - } - } - } - ] - }, - "specifiers": [], - "source": null, - "range": [ - 124, - 221 - ], - "loc": { - "start": { - "line": 13, - "column": 0 - }, - "end": { - "line": 17, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n *\n * BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| = |b| = |c| > 0\n *\n *\n ", - "range": [ - 1, - 122 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 11, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "Block", - "value": "*\n * BIG ENDIAN BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| >= |b| > 0\n *\n * treats b as if it was represented with the same number of blocks as a\n ", - "range": [ - 224, - 418 - ], - "loc": { - "start": { - "line": 20, - "column": 0 - }, - "end": { - "line": 28, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "band_t", - "range": [ - 436, - 442 - ], - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 22 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "r", - "range": [ - 444, - 445 - ], - "loc": { - "start": { - "line": 30, - "column": 24 - }, - "end": { - "line": 30, - "column": 25 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "_r", - "range": [ - 454, - 456 - ], - "loc": { - "start": { - "line": 32, - "column": 5 - }, - "end": { - "line": 32, - "column": 7 - } - } - }, - "init": { - "type": "BinaryExpression", - "operator": "/", - "left": { - "type": "Identifier", - "name": "r", - "range": [ - 459, - 460 - ], - "loc": { - "start": { - "line": 32, - "column": 10 - }, - "end": { - "line": 32, - "column": 11 - } - } - }, - "right": { - "type": "Literal", - "value": 2, - "raw": "2", - "range": [ - 463, - 464 - ], - "loc": { - "start": { - "line": 32, - "column": 14 - }, - "end": { - "line": 32, - "column": 15 - } - } - }, - "range": [ - 459, - 464 - ], - "loc": { - "start": { - "line": 32, - "column": 10 - }, - "end": { - "line": 32, - "column": 15 - } - } - }, - "range": [ - 454, - 464 - ], - "loc": { - "start": { - "line": 32, - "column": 5 - }, - "end": { - "line": 32, - "column": 15 - } - } - } - ], - "kind": "var", - "range": [ - 450, - 465 - ], - "loc": { - "start": { - "line": 32, - "column": 1 - }, - "end": { - "line": 32, - "column": 16 - } - } - }, - { - "type": "ReturnStatement", - "argument": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 485, - 486 - ], - "loc": { - "start": { - "line": 34, - "column": 18 - }, - "end": { - "line": 34, - "column": 19 - } - } - }, - { - "type": "Identifier", - "name": "a0", - "range": [ - 488, - 490 - ], - "loc": { - "start": { - "line": 34, - "column": 21 - }, - "end": { - "line": 34, - "column": 23 - } - } - }, - { - "type": "Identifier", - "name": "a1", - "range": [ - 492, - 494 - ], - "loc": { - "start": { - "line": 34, - "column": 25 - }, - "end": { - "line": 34, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 496, - 497 - ], - "loc": { - "start": { - "line": 34, - "column": 29 - }, - "end": { - "line": 34, - "column": 30 - } - } - }, - { - "type": "Identifier", - "name": "b0", - "range": [ - 499, - 501 - ], - "loc": { - "start": { - "line": 34, - "column": 32 - }, - "end": { - "line": 34, - "column": 34 - } - } - }, - { - "type": "Identifier", - "name": "b1", - "range": [ - 503, - 505 - ], - "loc": { - "start": { - "line": 34, - "column": 36 - }, - "end": { - "line": 34, - "column": 38 - } - } - }, - { - "type": "Identifier", - "name": "c", - "range": [ - 507, - 508 - ], - "loc": { - "start": { - "line": 34, - "column": 40 - }, - "end": { - "line": 34, - "column": 41 - } - } - }, - { - "type": "Identifier", - "name": "c0", - "range": [ - 510, - 512 - ], - "loc": { - "start": { - "line": 34, - "column": 43 - }, - "end": { - "line": 34, - "column": 45 - } - } - }, - { - "type": "Identifier", - "name": "c1", - "range": [ - 514, - 516 - ], - "loc": { - "start": { - "line": 34, - "column": 47 - }, - "end": { - "line": 34, - "column": 49 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "at", - "range": [ - 527, - 529 - ], - "loc": { - "start": { - "line": 36, - "column": 6 - }, - "end": { - "line": 36, - "column": 8 - } - } - }, - "init": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "a1", - "range": [ - 532, - 534 - ], - "loc": { - "start": { - "line": 36, - "column": 11 - }, - "end": { - "line": 36, - "column": 13 - } - } - }, - "right": { - "type": "Identifier", - "name": "b1", - "range": [ - 537, - 539 - ], - "loc": { - "start": { - "line": 36, - "column": 16 - }, - "end": { - "line": 36, - "column": 18 - } - } - }, - "range": [ - 532, - 539 - ], - "loc": { - "start": { - "line": 36, - "column": 11 - }, - "end": { - "line": 36, - "column": 18 - } - } - }, - "right": { - "type": "Identifier", - "name": "b0", - "range": [ - 542, - 544 - ], - "loc": { - "start": { - "line": 36, - "column": 21 - }, - "end": { - "line": 36, - "column": 23 - } - } - }, - "range": [ - 532, - 544 - ], - "loc": { - "start": { - "line": 36, - "column": 11 - }, - "end": { - "line": 36, - "column": 23 - } - } - }, - "range": [ - 527, - 544 - ], - "loc": { - "start": { - "line": 36, - "column": 6 - }, - "end": { - "line": 36, - "column": 23 - } - } - } - ], - "kind": "var", - "range": [ - 523, - 545 - ], - "loc": { - "start": { - "line": 36, - "column": 2 - }, - "end": { - "line": 36, - "column": 24 - } - } - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "ct", - "range": [ - 552, - 554 - ], - "loc": { - "start": { - "line": 37, - "column": 6 - }, - "end": { - "line": 37, - "column": 8 - } - } - }, - "init": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "c0", - "range": [ - 557, - 559 - ], - "loc": { - "start": { - "line": 37, - "column": 11 - }, - "end": { - "line": 37, - "column": 13 - } - } - }, - "right": { - "type": "Identifier", - "name": "at", - "range": [ - 562, - 564 - ], - "loc": { - "start": { - "line": 37, - "column": 16 - }, - "end": { - "line": 37, - "column": 18 - } - } - }, - "range": [ - 557, - 564 - ], - "loc": { - "start": { - "line": 37, - "column": 11 - }, - "end": { - "line": 37, - "column": 18 - } - } - }, - "right": { - "type": "Identifier", - "name": "a0", - "range": [ - 567, - 569 - ], - "loc": { - "start": { - "line": 37, - "column": 21 - }, - "end": { - "line": 37, - "column": 23 - } - } - }, - "range": [ - 557, - 569 - ], - "loc": { - "start": { - "line": 37, - "column": 11 - }, - "end": { - "line": 37, - "column": 23 - } - } - }, - "range": [ - 552, - 569 - ], - "loc": { - "start": { - "line": 37, - "column": 6 - }, - "end": { - "line": 37, - "column": 23 - } - } - } - ], - "kind": "var", - "range": [ - 548, - 570 - ], - "loc": { - "start": { - "line": 37, - "column": 2 - }, - "end": { - "line": 37, - "column": 24 - } - } - }, - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 578, - 579 - ], - "loc": { - "start": { - "line": 39, - "column": 6 - }, - "end": { - "line": 39, - "column": 7 - } - } - }, - "property": { - "type": "Identifier", - "name": "b0", - "range": [ - 580, - 582 - ], - "loc": { - "start": { - "line": 39, - "column": 8 - }, - "end": { - "line": 39, - "column": 10 - } - } - }, - "range": [ - 578, - 583 - ], - "loc": { - "start": { - "line": 39, - "column": 6 - }, - "end": { - "line": 39, - "column": 11 - } - } - }, - "right": { - "type": "Identifier", - "name": "_r", - "range": [ - 586, - 588 - ], - "loc": { - "start": { - "line": 39, - "column": 14 - }, - "end": { - "line": 39, - "column": 16 - } - } - }, - "range": [ - 578, - 588 - ], - "loc": { - "start": { - "line": 39, - "column": 6 - }, - "end": { - "line": 39, - "column": 16 - } - } - }, - "consequent": { - "type": "WhileStatement", - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "c0", - "range": [ - 597, - 599 - ], - "loc": { - "start": { - "line": 39, - "column": 25 - }, - "end": { - "line": 39, - "column": 27 - } - } - }, - "right": { - "type": "Identifier", - "name": "ct", - "range": [ - 602, - 604 - ], - "loc": { - "start": { - "line": 39, - "column": 30 - }, - "end": { - "line": 39, - "column": 32 - } - } - }, - "range": [ - 597, - 604 - ], - "loc": { - "start": { - "line": 39, - "column": 25 - }, - "end": { - "line": 39, - "column": 32 - } - } - }, - "body": { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 606, - 607 - ], - "loc": { - "start": { - "line": 39, - "column": 34 - }, - "end": { - "line": 39, - "column": 35 - } - } - }, - "property": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "c0", - "range": [ - 608, - 610 - ], - "loc": { - "start": { - "line": 39, - "column": 36 - }, - "end": { - "line": 39, - "column": 38 - } - } - }, - "prefix": false, - "range": [ - 608, - 612 - ], - "loc": { - "start": { - "line": 39, - "column": 36 - }, - "end": { - "line": 39, - "column": 40 - } - } - }, - "range": [ - 606, - 613 - ], - "loc": { - "start": { - "line": 39, - "column": 34 - }, - "end": { - "line": 39, - "column": 41 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 616, - 617 - ], - "loc": { - "start": { - "line": 39, - "column": 44 - }, - "end": { - "line": 39, - "column": 45 - } - } - }, - "range": [ - 606, - 617 - ], - "loc": { - "start": { - "line": 39, - "column": 34 - }, - "end": { - "line": 39, - "column": 45 - } - } - }, - "range": [ - 606, - 618 - ], - "loc": { - "start": { - "line": 39, - "column": 34 - }, - "end": { - "line": 39, - "column": 46 - } - } - }, - "range": [ - 590, - 618 - ], - "loc": { - "start": { - "line": 39, - "column": 18 - }, - "end": { - "line": 39, - "column": 46 - } - } - }, - "alternate": { - "type": "WhileStatement", - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "c0", - "range": [ - 644, - 646 - ], - "loc": { - "start": { - "line": 40, - "column": 25 - }, - "end": { - "line": 40, - "column": 27 - } - } - }, - "right": { - "type": "Identifier", - "name": "ct", - "range": [ - 649, - 651 - ], - "loc": { - "start": { - "line": 40, - "column": 30 - }, - "end": { - "line": 40, - "column": 32 - } - } - }, - "range": [ - 644, - 651 - ], - "loc": { - "start": { - "line": 40, - "column": 25 - }, - "end": { - "line": 40, - "column": 32 - } - } - }, - "body": { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 653, - 654 - ], - "loc": { - "start": { - "line": 40, - "column": 34 - }, - "end": { - "line": 40, - "column": 35 - } - } - }, - "property": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "c0", - "range": [ - 655, - 657 - ], - "loc": { - "start": { - "line": 40, - "column": 36 - }, - "end": { - "line": 40, - "column": 38 - } - } - }, - "prefix": false, - "range": [ - 655, - 659 - ], - "loc": { - "start": { - "line": 40, - "column": 36 - }, - "end": { - "line": 40, - "column": 40 - } - } - }, - "range": [ - 653, - 660 - ], - "loc": { - "start": { - "line": 40, - "column": 34 - }, - "end": { - "line": 40, - "column": 41 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 663, - 664 - ], - "loc": { - "start": { - "line": 40, - "column": 44 - }, - "end": { - "line": 40, - "column": 45 - } - } - }, - "property": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "a0", - "range": [ - 665, - 667 - ], - "loc": { - "start": { - "line": 40, - "column": 46 - }, - "end": { - "line": 40, - "column": 48 - } - } - }, - "prefix": false, - "range": [ - 665, - 669 - ], - "loc": { - "start": { - "line": 40, - "column": 46 - }, - "end": { - "line": 40, - "column": 50 - } - } - }, - "range": [ - 663, - 670 - ], - "loc": { - "start": { - "line": 40, - "column": 44 - }, - "end": { - "line": 40, - "column": 51 - } - } - }, - "range": [ - 653, - 670 - ], - "loc": { - "start": { - "line": 40, - "column": 34 - }, - "end": { - "line": 40, - "column": 51 - } - } - }, - "range": [ - 653, - 671 - ], - "loc": { - "start": { - "line": 40, - "column": 34 - }, - "end": { - "line": 40, - "column": 52 - } - } - }, - "range": [ - 637, - 671 - ], - "loc": { - "start": { - "line": 40, - "column": 18 - }, - "end": { - "line": 40, - "column": 52 - } - } - }, - "range": [ - 574, - 671 - ], - "loc": { - "start": { - "line": 39, - "column": 2 - }, - "end": { - "line": 40, - "column": 52 - } - } - }, - { - "type": "WhileStatement", - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "c0", - "range": [ - 682, - 684 - ], - "loc": { - "start": { - "line": 42, - "column": 9 - }, - "end": { - "line": 42, - "column": 11 - } - } - }, - "right": { - "type": "Identifier", - "name": "c1", - "range": [ - 687, - 689 - ], - "loc": { - "start": { - "line": 42, - "column": 14 - }, - "end": { - "line": 42, - "column": 16 - } - } - }, - "range": [ - 682, - 689 - ], - "loc": { - "start": { - "line": 42, - "column": 9 - }, - "end": { - "line": 42, - "column": 16 - } - } - }, - "body": { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 691, - 692 - ], - "loc": { - "start": { - "line": 42, - "column": 18 - }, - "end": { - "line": 42, - "column": 19 - } - } - }, - "property": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "c0", - "range": [ - 693, - 695 - ], - "loc": { - "start": { - "line": 42, - "column": 20 - }, - "end": { - "line": 42, - "column": 22 - } - } - }, - "prefix": false, - "range": [ - 693, - 697 - ], - "loc": { - "start": { - "line": 42, - "column": 20 - }, - "end": { - "line": 42, - "column": 24 - } - } - }, - "range": [ - 691, - 698 - ], - "loc": { - "start": { - "line": 42, - "column": 18 - }, - "end": { - "line": 42, - "column": 25 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "&", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 701, - 702 - ], - "loc": { - "start": { - "line": 42, - "column": 28 - }, - "end": { - "line": 42, - "column": 29 - } - } - }, - "property": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "at", - "range": [ - 703, - 705 - ], - "loc": { - "start": { - "line": 42, - "column": 30 - }, - "end": { - "line": 42, - "column": 32 - } - } - }, - "prefix": false, - "range": [ - 703, - 707 - ], - "loc": { - "start": { - "line": 42, - "column": 30 - }, - "end": { - "line": 42, - "column": 34 - } - } - }, - "range": [ - 701, - 708 - ], - "loc": { - "start": { - "line": 42, - "column": 28 - }, - "end": { - "line": 42, - "column": 35 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 711, - 712 - ], - "loc": { - "start": { - "line": 42, - "column": 38 - }, - "end": { - "line": 42, - "column": 39 - } - } - }, - "property": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "b0", - "range": [ - 713, - 715 - ], - "loc": { - "start": { - "line": 42, - "column": 40 - }, - "end": { - "line": 42, - "column": 42 - } - } - }, - "prefix": false, - "range": [ - 713, - 717 - ], - "loc": { - "start": { - "line": 42, - "column": 40 - }, - "end": { - "line": 42, - "column": 44 - } - } - }, - "range": [ - 711, - 718 - ], - "loc": { - "start": { - "line": 42, - "column": 38 - }, - "end": { - "line": 42, - "column": 45 - } - } - }, - "range": [ - 701, - 718 - ], - "loc": { - "start": { - "line": 42, - "column": 28 - }, - "end": { - "line": 42, - "column": 45 - } - } - }, - "range": [ - 691, - 718 - ], - "loc": { - "start": { - "line": 42, - "column": 18 - }, - "end": { - "line": 42, - "column": 45 - } - } - }, - "range": [ - 691, - 719 - ], - "loc": { - "start": { - "line": 42, - "column": 18 - }, - "end": { - "line": 42, - "column": 46 - } - } - }, - "range": [ - 675, - 719 - ], - "loc": { - "start": { - "line": 42, - "column": 2 - }, - "end": { - "line": 42, - "column": 46 - } - } - } - ], - "range": [ - 518, - 723 - ], - "loc": { - "start": { - "line": 34, - "column": 51 - }, - "end": { - "line": 44, - "column": 2 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 475, - 723 - ], - "loc": { - "start": { - "line": 34, - "column": 8 - }, - "end": { - "line": 44, - "column": 2 - } - } - }, - "range": [ - 468, - 724 - ], - "loc": { - "start": { - "line": 34, - "column": 1 - }, - "end": { - "line": 44, - "column": 3 - } - } - } - ], - "range": [ - 446, - 727 - ], - "loc": { - "start": { - "line": 30, - "column": 26 - }, - "end": { - "line": 46, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 427, - 727 - ], - "loc": { - "start": { - "line": 30, - "column": 7 - }, - "end": { - "line": 46, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * BIG ENDIAN BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| >= |b| > 0\n *\n * treats b as if it was represented with the same number of blocks as a\n ", - "range": [ - 224, - 418 - ], - "loc": { - "start": { - "line": 20, - "column": 0 - }, - "end": { - "line": 28, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "Block", - "value": "*\n * LITTLE ENDIAN BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| >= |b| > 0\n *\n * treats b as if it was represented with the same number of blocks as a\n ", - "range": [ - 732, - 929 - ], - "loc": { - "start": { - "line": 51, - "column": 0 - }, - "end": { - "line": 59, - "column": 3 - } - } - } - ] - }, - "specifiers": [], - "source": null, - "range": [ - 420, - 727 - ], - "loc": { - "start": { - "line": 30, - "column": 0 - }, - "end": { - "line": 46, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * BIG ENDIAN BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| >= |b| > 0\n *\n * treats b as if it was represented with the same number of blocks as a\n ", - "range": [ - 224, - 418 - ], - "loc": { - "start": { - "line": 20, - "column": 0 - }, - "end": { - "line": 28, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "Block", - "value": "*\n * LITTLE ENDIAN BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| >= |b| > 0\n *\n * treats b as if it was represented with the same number of blocks as a\n ", - "range": [ - 732, - 929 - ], - "loc": { - "start": { - "line": 51, - "column": 0 - }, - "end": { - "line": 59, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "land_t", - "range": [ - 947, - 953 - ], - "loc": { - "start": { - "line": 61, - "column": 16 - }, - "end": { - "line": 61, - "column": 22 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "r", - "range": [ - 955, - 956 - ], - "loc": { - "start": { - "line": 61, - "column": 24 - }, - "end": { - "line": 61, - "column": 25 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "_r", - "range": [ - 965, - 967 - ], - "loc": { - "start": { - "line": 63, - "column": 5 - }, - "end": { - "line": 63, - "column": 7 - } - } - }, - "init": { - "type": "BinaryExpression", - "operator": "/", - "left": { - "type": "Identifier", - "name": "r", - "range": [ - 970, - 971 - ], - "loc": { - "start": { - "line": 63, - "column": 10 - }, - "end": { - "line": 63, - "column": 11 - } - } - }, - "right": { - "type": "Literal", - "value": 2, - "raw": "2", - "range": [ - 974, - 975 - ], - "loc": { - "start": { - "line": 63, - "column": 14 - }, - "end": { - "line": 63, - "column": 15 - } - } - }, - "range": [ - 970, - 975 - ], - "loc": { - "start": { - "line": 63, - "column": 10 - }, - "end": { - "line": 63, - "column": 15 - } - } - }, - "range": [ - 965, - 975 - ], - "loc": { - "start": { - "line": 63, - "column": 5 - }, - "end": { - "line": 63, - "column": 15 - } - } - } - ], - "kind": "var", - "range": [ - 961, - 976 - ], - "loc": { - "start": { - "line": 63, - "column": 1 - }, - "end": { - "line": 63, - "column": 16 - } - } - }, - { - "type": "ReturnStatement", - "argument": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 996, - 997 - ], - "loc": { - "start": { - "line": 65, - "column": 18 - }, - "end": { - "line": 65, - "column": 19 - } - } - }, - { - "type": "Identifier", - "name": "a0", - "range": [ - 999, - 1001 - ], - "loc": { - "start": { - "line": 65, - "column": 21 - }, - "end": { - "line": 65, - "column": 23 - } - } - }, - { - "type": "Identifier", - "name": "a1", - "range": [ - 1003, - 1005 - ], - "loc": { - "start": { - "line": 65, - "column": 25 - }, - "end": { - "line": 65, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 1007, - 1008 - ], - "loc": { - "start": { - "line": 65, - "column": 29 - }, - "end": { - "line": 65, - "column": 30 - } - } - }, - { - "type": "Identifier", - "name": "b0", - "range": [ - 1010, - 1012 - ], - "loc": { - "start": { - "line": 65, - "column": 32 - }, - "end": { - "line": 65, - "column": 34 - } - } - }, - { - "type": "Identifier", - "name": "b1", - "range": [ - 1014, - 1016 - ], - "loc": { - "start": { - "line": 65, - "column": 36 - }, - "end": { - "line": 65, - "column": 38 - } - } - }, - { - "type": "Identifier", - "name": "c", - "range": [ - 1018, - 1019 - ], - "loc": { - "start": { - "line": 65, - "column": 40 - }, - "end": { - "line": 65, - "column": 41 - } - } - }, - { - "type": "Identifier", - "name": "c0", - "range": [ - 1021, - 1023 - ], - "loc": { - "start": { - "line": 65, - "column": 43 - }, - "end": { - "line": 65, - "column": 45 - } - } - }, - { - "type": "Identifier", - "name": "c1", - "range": [ - 1025, - 1027 - ], - "loc": { - "start": { - "line": 65, - "column": 47 - }, - "end": { - "line": 65, - "column": 49 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "ct", - "range": [ - 1038, - 1040 - ], - "loc": { - "start": { - "line": 67, - "column": 6 - }, - "end": { - "line": 67, - "column": 8 - } - } - }, - "init": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "c0", - "range": [ - 1043, - 1045 - ], - "loc": { - "start": { - "line": 67, - "column": 11 - }, - "end": { - "line": 67, - "column": 13 - } - } - }, - "right": { - "type": "Identifier", - "name": "b1", - "range": [ - 1048, - 1050 - ], - "loc": { - "start": { - "line": 67, - "column": 16 - }, - "end": { - "line": 67, - "column": 18 - } - } - }, - "range": [ - 1043, - 1050 - ], - "loc": { - "start": { - "line": 67, - "column": 11 - }, - "end": { - "line": 67, - "column": 18 - } - } - }, - "right": { - "type": "Identifier", - "name": "b0", - "range": [ - 1053, - 1055 - ], - "loc": { - "start": { - "line": 67, - "column": 21 - }, - "end": { - "line": 67, - "column": 23 - } - } - }, - "range": [ - 1043, - 1055 - ], - "loc": { - "start": { - "line": 67, - "column": 11 - }, - "end": { - "line": 67, - "column": 23 - } - } - }, - "range": [ - 1038, - 1055 - ], - "loc": { - "start": { - "line": 67, - "column": 6 - }, - "end": { - "line": 67, - "column": 23 - } - } - } - ], - "kind": "var", - "range": [ - 1034, - 1056 - ], - "loc": { - "start": { - "line": 67, - "column": 2 - }, - "end": { - "line": 67, - "column": 24 - } - } - }, - { - "type": "WhileStatement", - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "c0", - "range": [ - 1067, - 1069 - ], - "loc": { - "start": { - "line": 69, - "column": 9 - }, - "end": { - "line": 69, - "column": 11 - } - } - }, - "right": { - "type": "Identifier", - "name": "ct", - "range": [ - 1072, - 1074 - ], - "loc": { - "start": { - "line": 69, - "column": 14 - }, - "end": { - "line": 69, - "column": 16 - } - } - }, - "range": [ - 1067, - 1074 - ], - "loc": { - "start": { - "line": 69, - "column": 9 - }, - "end": { - "line": 69, - "column": 16 - } - } - }, - "body": { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 1076, - 1077 - ], - "loc": { - "start": { - "line": 69, - "column": 18 - }, - "end": { - "line": 69, - "column": 19 - } - } - }, - "property": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "c0", - "range": [ - 1078, - 1080 - ], - "loc": { - "start": { - "line": 69, - "column": 20 - }, - "end": { - "line": 69, - "column": 22 - } - } - }, - "prefix": false, - "range": [ - 1078, - 1082 - ], - "loc": { - "start": { - "line": 69, - "column": 20 - }, - "end": { - "line": 69, - "column": 24 - } - } - }, - "range": [ - 1076, - 1083 - ], - "loc": { - "start": { - "line": 69, - "column": 18 - }, - "end": { - "line": 69, - "column": 25 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "&", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 1086, - 1087 - ], - "loc": { - "start": { - "line": 69, - "column": 28 - }, - "end": { - "line": 69, - "column": 29 - } - } - }, - "property": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "a0", - "range": [ - 1088, - 1090 - ], - "loc": { - "start": { - "line": 69, - "column": 30 - }, - "end": { - "line": 69, - "column": 32 - } - } - }, - "prefix": false, - "range": [ - 1088, - 1092 - ], - "loc": { - "start": { - "line": 69, - "column": 30 - }, - "end": { - "line": 69, - "column": 34 - } - } - }, - "range": [ - 1086, - 1093 - ], - "loc": { - "start": { - "line": 69, - "column": 28 - }, - "end": { - "line": 69, - "column": 35 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 1096, - 1097 - ], - "loc": { - "start": { - "line": 69, - "column": 38 - }, - "end": { - "line": 69, - "column": 39 - } - } - }, - "property": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "b0", - "range": [ - 1098, - 1100 - ], - "loc": { - "start": { - "line": 69, - "column": 40 - }, - "end": { - "line": 69, - "column": 42 - } - } - }, - "prefix": false, - "range": [ - 1098, - 1102 - ], - "loc": { - "start": { - "line": 69, - "column": 40 - }, - "end": { - "line": 69, - "column": 44 - } - } - }, - "range": [ - 1096, - 1103 - ], - "loc": { - "start": { - "line": 69, - "column": 38 - }, - "end": { - "line": 69, - "column": 45 - } - } - }, - "range": [ - 1086, - 1103 - ], - "loc": { - "start": { - "line": 69, - "column": 28 - }, - "end": { - "line": 69, - "column": 45 - } - } - }, - "range": [ - 1076, - 1103 - ], - "loc": { - "start": { - "line": 69, - "column": 18 - }, - "end": { - "line": 69, - "column": 45 - } - } - }, - "range": [ - 1076, - 1104 - ], - "loc": { - "start": { - "line": 69, - "column": 18 - }, - "end": { - "line": 69, - "column": 46 - } - } - }, - "range": [ - 1060, - 1104 - ], - "loc": { - "start": { - "line": 69, - "column": 2 - }, - "end": { - "line": 69, - "column": 46 - } - } - }, - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 1112, - 1113 - ], - "loc": { - "start": { - "line": 71, - "column": 6 - }, - "end": { - "line": 71, - "column": 7 - } - } - }, - "property": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "b0", - "range": [ - 1114, - 1116 - ], - "loc": { - "start": { - "line": 71, - "column": 8 - }, - "end": { - "line": 71, - "column": 10 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 1119, - 1120 - ], - "loc": { - "start": { - "line": 71, - "column": 13 - }, - "end": { - "line": 71, - "column": 14 - } - } - }, - "range": [ - 1114, - 1120 - ], - "loc": { - "start": { - "line": 71, - "column": 8 - }, - "end": { - "line": 71, - "column": 14 - } - } - }, - "range": [ - 1112, - 1121 - ], - "loc": { - "start": { - "line": 71, - "column": 6 - }, - "end": { - "line": 71, - "column": 15 - } - } - }, - "right": { - "type": "Identifier", - "name": "_r", - "range": [ - 1124, - 1126 - ], - "loc": { - "start": { - "line": 71, - "column": 18 - }, - "end": { - "line": 71, - "column": 20 - } - } - }, - "range": [ - 1112, - 1126 - ], - "loc": { - "start": { - "line": 71, - "column": 6 - }, - "end": { - "line": 71, - "column": 20 - } - } - }, - "consequent": { - "type": "WhileStatement", - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "c0", - "range": [ - 1135, - 1137 - ], - "loc": { - "start": { - "line": 71, - "column": 29 - }, - "end": { - "line": 71, - "column": 31 - } - } - }, - "right": { - "type": "Identifier", - "name": "c1", - "range": [ - 1140, - 1142 - ], - "loc": { - "start": { - "line": 71, - "column": 34 - }, - "end": { - "line": 71, - "column": 36 - } - } - }, - "range": [ - 1135, - 1142 - ], - "loc": { - "start": { - "line": 71, - "column": 29 - }, - "end": { - "line": 71, - "column": 36 - } - } - }, - "body": { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 1144, - 1145 - ], - "loc": { - "start": { - "line": 71, - "column": 38 - }, - "end": { - "line": 71, - "column": 39 - } - } - }, - "property": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "c0", - "range": [ - 1146, - 1148 - ], - "loc": { - "start": { - "line": 71, - "column": 40 - }, - "end": { - "line": 71, - "column": 42 - } - } - }, - "prefix": false, - "range": [ - 1146, - 1150 - ], - "loc": { - "start": { - "line": 71, - "column": 40 - }, - "end": { - "line": 71, - "column": 44 - } - } - }, - "range": [ - 1144, - 1151 - ], - "loc": { - "start": { - "line": 71, - "column": 38 - }, - "end": { - "line": 71, - "column": 45 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 1154, - 1155 - ], - "loc": { - "start": { - "line": 71, - "column": 48 - }, - "end": { - "line": 71, - "column": 49 - } - } - }, - "range": [ - 1144, - 1155 - ], - "loc": { - "start": { - "line": 71, - "column": 38 - }, - "end": { - "line": 71, - "column": 49 - } - } - }, - "range": [ - 1144, - 1156 - ], - "loc": { - "start": { - "line": 71, - "column": 38 - }, - "end": { - "line": 71, - "column": 50 - } - } - }, - "range": [ - 1128, - 1156 - ], - "loc": { - "start": { - "line": 71, - "column": 22 - }, - "end": { - "line": 71, - "column": 50 - } - } - }, - "alternate": { - "type": "WhileStatement", - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "c0", - "range": [ - 1186, - 1188 - ], - "loc": { - "start": { - "line": 72, - "column": 29 - }, - "end": { - "line": 72, - "column": 31 - } - } - }, - "right": { - "type": "Identifier", - "name": "c1", - "range": [ - 1191, - 1193 - ], - "loc": { - "start": { - "line": 72, - "column": 34 - }, - "end": { - "line": 72, - "column": 36 - } - } - }, - "range": [ - 1186, - 1193 - ], - "loc": { - "start": { - "line": 72, - "column": 29 - }, - "end": { - "line": 72, - "column": 36 - } - } - }, - "body": { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 1195, - 1196 - ], - "loc": { - "start": { - "line": 72, - "column": 38 - }, - "end": { - "line": 72, - "column": 39 - } - } - }, - "property": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "c0", - "range": [ - 1197, - 1199 - ], - "loc": { - "start": { - "line": 72, - "column": 40 - }, - "end": { - "line": 72, - "column": 42 - } - } - }, - "prefix": false, - "range": [ - 1197, - 1201 - ], - "loc": { - "start": { - "line": 72, - "column": 40 - }, - "end": { - "line": 72, - "column": 44 - } - } - }, - "range": [ - 1195, - 1202 - ], - "loc": { - "start": { - "line": 72, - "column": 38 - }, - "end": { - "line": 72, - "column": 45 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 1205, - 1206 - ], - "loc": { - "start": { - "line": 72, - "column": 48 - }, - "end": { - "line": 72, - "column": 49 - } - } - }, - "property": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "a0", - "range": [ - 1207, - 1209 - ], - "loc": { - "start": { - "line": 72, - "column": 50 - }, - "end": { - "line": 72, - "column": 52 - } - } - }, - "prefix": false, - "range": [ - 1207, - 1211 - ], - "loc": { - "start": { - "line": 72, - "column": 50 - }, - "end": { - "line": 72, - "column": 54 - } - } - }, - "range": [ - 1205, - 1212 - ], - "loc": { - "start": { - "line": 72, - "column": 48 - }, - "end": { - "line": 72, - "column": 55 - } - } - }, - "range": [ - 1195, - 1212 - ], - "loc": { - "start": { - "line": 72, - "column": 38 - }, - "end": { - "line": 72, - "column": 55 - } - } - }, - "range": [ - 1195, - 1213 - ], - "loc": { - "start": { - "line": 72, - "column": 38 - }, - "end": { - "line": 72, - "column": 56 - } - } - }, - "range": [ - 1179, - 1213 - ], - "loc": { - "start": { - "line": 72, - "column": 22 - }, - "end": { - "line": 72, - "column": 56 - } - } - }, - "range": [ - 1108, - 1213 - ], - "loc": { - "start": { - "line": 71, - "column": 2 - }, - "end": { - "line": 72, - "column": 56 - } - } - } - ], - "range": [ - 1029, - 1218 - ], - "loc": { - "start": { - "line": 65, - "column": 51 - }, - "end": { - "line": 75, - "column": 2 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 986, - 1218 - ], - "loc": { - "start": { - "line": 65, - "column": 8 - }, - "end": { - "line": 75, - "column": 2 - } - } - }, - "range": [ - 979, - 1219 - ], - "loc": { - "start": { - "line": 65, - "column": 1 - }, - "end": { - "line": 75, - "column": 3 - } - } - } - ], - "range": [ - 957, - 1222 - ], - "loc": { - "start": { - "line": 61, - "column": 26 - }, - "end": { - "line": 77, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 938, - 1222 - ], - "loc": { - "start": { - "line": 61, - "column": 7 - }, - "end": { - "line": 77, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * LITTLE ENDIAN BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| >= |b| > 0\n *\n * treats b as if it was represented with the same number of blocks as a\n ", - "range": [ - 732, - 929 - ], - "loc": { - "start": { - "line": 51, - "column": 0 - }, - "end": { - "line": 59, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 931, - 1222 - ], - "loc": { - "start": { - "line": 61, - "column": 0 - }, - "end": { - "line": 77, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * LITTLE ENDIAN BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| >= |b| > 0\n *\n * treats b as if it was represented with the same number of blocks as a\n ", - "range": [ - 732, - 929 - ], - "loc": { - "start": { - "line": 51, - "column": 0 - }, - "end": { - "line": 59, - "column": 3 - } - } - } - ] - } - ], - "sourceType": "module", - "range": [ - 124, - 1222 - ], - "loc": { - "start": { - "line": 13, - "column": 0 - }, - "end": { - "line": 77, - "column": 1 - } - }, - "comments": [ - { - "type": "Block", - "value": "*\n *\n * BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| = |b| = |c| > 0\n *\n *\n ", - "range": [ - 1, - 122 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 11, - "column": 3 - } - } - }, - { - "type": "Block", - "value": "*\n * BIG ENDIAN BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| >= |b| > 0\n *\n * treats b as if it was represented with the same number of blocks as a\n ", - "range": [ - 224, - 418 - ], - "loc": { - "start": { - "line": 20, - "column": 0 - }, - "end": { - "line": 28, - "column": 3 - } - } - }, - { - "type": "Block", - "value": "*\n * LITTLE ENDIAN BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| >= |b| > 0\n *\n * treats b as if it was represented with the same number of blocks as a\n ", - "range": [ - 732, - 929 - ], - "loc": { - "start": { - "line": 51, - "column": 0 - }, - "end": { - "line": 59, - "column": 3 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/binary/and/index.js.json b/ast/source/0-legacy/binary/and/index.js.json deleted file mode 100644 index 44754b2..0000000 --- a/ast/source/0-legacy/binary/and/index.js.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./and", - "raw": "'./and'", - "range": [ - 14, - 21 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 21 - } - } - }, - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/0-legacy/binary/index.js.json b/ast/source/0-legacy/binary/index.js.json deleted file mode 100644 index d027f1a..0000000 --- a/ast/source/0-legacy/binary/index.js.json +++ /dev/null @@ -1,165 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./and", - "raw": "'./and'", - "range": [ - 14, - 21 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 21 - } - } - }, - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./not", - "raw": "'./not'", - "range": [ - 38, - 45 - ], - "loc": { - "start": { - "line": 2, - "column": 14 - }, - "end": { - "line": 2, - "column": 21 - } - } - }, - "range": [ - 24, - 47 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 23 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./or", - "raw": "'./or'", - "range": [ - 62, - 68 - ], - "loc": { - "start": { - "line": 3, - "column": 14 - }, - "end": { - "line": 3, - "column": 20 - } - } - }, - "range": [ - 48, - 70 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 22 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./xor", - "raw": "'./xor'", - "range": [ - 85, - 92 - ], - "loc": { - "start": { - "line": 4, - "column": 14 - }, - "end": { - "line": 4, - "column": 21 - } - } - }, - "range": [ - 71, - 94 - ], - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 23 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 94 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 4, - "column": 23 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/0-legacy/binary/not/index.js.json b/ast/source/0-legacy/binary/not/index.js.json deleted file mode 100644 index f49f2f8..0000000 --- a/ast/source/0-legacy/binary/not/index.js.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./not", - "raw": "'./not'", - "range": [ - 14, - 21 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 21 - } - } - }, - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/0-legacy/binary/not/not.js.json b/ast/source/0-legacy/binary/not/not.js.json deleted file mode 100644 index 5e22d9a..0000000 --- a/ast/source/0-legacy/binary/not/not.js.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "type": "Program", - "body": [], - "sourceType": "module", - "range": [ - 34, - 34 - ], - "loc": { - "start": { - "line": 3, - "column": 3 - }, - "end": { - "line": 3, - "column": 3 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * BINARY not APPLIED ON a\n ", - "range": [ - 0, - 34 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 3 - } - } - } - ], - "comments": [ - { - "type": "Block", - "value": "*\n * BINARY not APPLIED ON a\n ", - "range": [ - 0, - 34 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 3 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/binary/or/index.js.json b/ast/source/0-legacy/binary/or/index.js.json deleted file mode 100644 index 9174f35..0000000 --- a/ast/source/0-legacy/binary/or/index.js.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./or", - "raw": "'./or'", - "range": [ - 14, - 20 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 20 - } - } - }, - "range": [ - 0, - 22 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 22 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 22 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 22 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/0-legacy/binary/or/or.js.json b/ast/source/0-legacy/binary/or/or.js.json deleted file mode 100644 index 581ea7e..0000000 --- a/ast/source/0-legacy/binary/or/or.js.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "type": "Program", - "body": [], - "sourceType": "module", - "range": [ - 39, - 39 - ], - "loc": { - "start": { - "line": 3, - "column": 3 - }, - "end": { - "line": 3, - "column": 3 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * BINARY or APPLIED ON a AND b\n ", - "range": [ - 0, - 39 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 3 - } - } - } - ], - "comments": [ - { - "type": "Block", - "value": "*\n * BINARY or APPLIED ON a AND b\n ", - "range": [ - 0, - 39 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 3 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/binary/xor/index.js.json b/ast/source/0-legacy/binary/xor/index.js.json deleted file mode 100644 index 92ba787..0000000 --- a/ast/source/0-legacy/binary/xor/index.js.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./xor", - "raw": "'./xor'", - "range": [ - 14, - 21 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 21 - } - } - }, - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/0-legacy/binary/xor/xor.js.json b/ast/source/0-legacy/binary/xor/xor.js.json deleted file mode 100644 index 8d38e5d..0000000 --- a/ast/source/0-legacy/binary/xor/xor.js.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "type": "Program", - "body": [], - "sourceType": "module", - "range": [ - 40, - 40 - ], - "loc": { - "start": { - "line": 3, - "column": 3 - }, - "end": { - "line": 3, - "column": 3 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * BINARY xor APPLIED ON a AND b\n ", - "range": [ - 0, - 40 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 3 - } - } - } - ], - "comments": [ - { - "type": "Block", - "value": "*\n * BINARY xor APPLIED ON a AND b\n ", - "range": [ - 0, - 40 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 3 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/compare/cmp.js.json b/ast/source/0-legacy/compare/cmp.js.json deleted file mode 100644 index 34b9e4f..0000000 --- a/ast/source/0-legacy/compare/cmp.js.json +++ /dev/null @@ -1,2806 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "bcmp_t", - "range": [ - 17, - 23 - ], - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - "params": [], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ReturnStatement", - "argument": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 352, - 353 - ], - "loc": { - "start": { - "line": 18, - "column": 17 - }, - "end": { - "line": 18, - "column": 18 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 355, - 357 - ], - "loc": { - "start": { - "line": 18, - "column": 20 - }, - "end": { - "line": 18, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 359, - 361 - ], - "loc": { - "start": { - "line": 18, - "column": 24 - }, - "end": { - "line": 18, - "column": 26 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 363, - 364 - ], - "loc": { - "start": { - "line": 18, - "column": 28 - }, - "end": { - "line": 18, - "column": 29 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 366, - 368 - ], - "loc": { - "start": { - "line": 18, - "column": 31 - }, - "end": { - "line": 18, - "column": 33 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 370, - 372 - ], - "loc": { - "start": { - "line": 18, - "column": 35 - }, - "end": { - "line": 18, - "column": 37 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "tmp", - "range": [ - 382, - 385 - ], - "loc": { - "start": { - "line": 20, - "column": 6 - }, - "end": { - "line": 20, - "column": 9 - } - } - }, - "init": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "aj", - "range": [ - 388, - 390 - ], - "loc": { - "start": { - "line": 20, - "column": 12 - }, - "end": { - "line": 20, - "column": 14 - } - } - }, - "right": { - "type": "Identifier", - "name": "bj", - "range": [ - 393, - 395 - ], - "loc": { - "start": { - "line": 20, - "column": 17 - }, - "end": { - "line": 20, - "column": 19 - } - } - }, - "range": [ - 388, - 395 - ], - "loc": { - "start": { - "line": 20, - "column": 12 - }, - "end": { - "line": 20, - "column": 19 - } - } - }, - "right": { - "type": "Identifier", - "name": "bi", - "range": [ - 398, - 400 - ], - "loc": { - "start": { - "line": 20, - "column": 22 - }, - "end": { - "line": 20, - "column": 24 - } - } - }, - "range": [ - 388, - 400 - ], - "loc": { - "start": { - "line": 20, - "column": 12 - }, - "end": { - "line": 20, - "column": 24 - } - } - }, - "range": [ - 382, - 400 - ], - "loc": { - "start": { - "line": 20, - "column": 6 - }, - "end": { - "line": 20, - "column": 24 - } - } - } - ], - "kind": "var", - "range": [ - 378, - 401 - ], - "loc": { - "start": { - "line": 20, - "column": 2 - }, - "end": { - "line": 20, - "column": 25 - } - } - }, - { - "type": "ForStatement", - "init": null, - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "ai", - "range": [ - 412, - 414 - ], - "loc": { - "start": { - "line": 22, - "column": 9 - }, - "end": { - "line": 22, - "column": 11 - } - } - }, - "right": { - "type": "Identifier", - "name": "tmp", - "range": [ - 417, - 420 - ], - "loc": { - "start": { - "line": 22, - "column": 14 - }, - "end": { - "line": 22, - "column": 17 - } - } - }, - "range": [ - 412, - 420 - ], - "loc": { - "start": { - "line": 22, - "column": 9 - }, - "end": { - "line": 22, - "column": 17 - } - } - }, - "update": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "ai", - "range": [ - 424, - 426 - ], - "loc": { - "start": { - "line": 22, - "column": 21 - }, - "end": { - "line": 22, - "column": 23 - } - } - }, - "prefix": true, - "range": [ - 422, - 426 - ], - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 23 - } - } - }, - "body": { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": ">", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 435, - 436 - ], - "loc": { - "start": { - "line": 23, - "column": 7 - }, - "end": { - "line": 23, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "name": "ai", - "range": [ - 437, - 439 - ], - "loc": { - "start": { - "line": 23, - "column": 9 - }, - "end": { - "line": 23, - "column": 11 - } - } - }, - "range": [ - 435, - 440 - ], - "loc": { - "start": { - "line": 23, - "column": 7 - }, - "end": { - "line": 23, - "column": 12 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 443, - 444 - ], - "loc": { - "start": { - "line": 23, - "column": 15 - }, - "end": { - "line": 23, - "column": 16 - } - } - }, - "range": [ - 435, - 444 - ], - "loc": { - "start": { - "line": 23, - "column": 7 - }, - "end": { - "line": 23, - "column": 16 - } - } - }, - "consequent": { - "type": "ReturnStatement", - "argument": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 453, - 454 - ], - "loc": { - "start": { - "line": 23, - "column": 25 - }, - "end": { - "line": 23, - "column": 26 - } - } - }, - "range": [ - 446, - 455 - ], - "loc": { - "start": { - "line": 23, - "column": 18 - }, - "end": { - "line": 23, - "column": 27 - } - } - }, - "alternate": null, - "range": [ - 431, - 455 - ], - "loc": { - "start": { - "line": 23, - "column": 3 - }, - "end": { - "line": 23, - "column": 27 - } - } - }, - "range": [ - 405, - 455 - ], - "loc": { - "start": { - "line": 22, - "column": 2 - }, - "end": { - "line": 23, - "column": 27 - } - }, - "trailingComments": [ - { - "type": "Line", - "value": " same size aj - ai === bj - bi", - "range": [ - 460, - 492 - ], - "loc": { - "start": { - "line": 26, - "column": 2 - }, - "end": { - "line": 26, - "column": 34 - } - } - } - ] - }, - { - "type": "ForStatement", - "init": null, - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "ai", - "range": [ - 502, - 504 - ], - "loc": { - "start": { - "line": 27, - "column": 9 - }, - "end": { - "line": 27, - "column": 11 - } - } - }, - "right": { - "type": "Identifier", - "name": "aj", - "range": [ - 507, - 509 - ], - "loc": { - "start": { - "line": 27, - "column": 14 - }, - "end": { - "line": 27, - "column": 16 - } - } - }, - "range": [ - 502, - 509 - ], - "loc": { - "start": { - "line": 27, - "column": 9 - }, - "end": { - "line": 27, - "column": 16 - } - } - }, - "update": { - "type": "SequenceExpression", - "expressions": [ - { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "ai", - "range": [ - 513, - 515 - ], - "loc": { - "start": { - "line": 27, - "column": 20 - }, - "end": { - "line": 27, - "column": 22 - } - } - }, - "prefix": true, - "range": [ - 511, - 515 - ], - "loc": { - "start": { - "line": 27, - "column": 18 - }, - "end": { - "line": 27, - "column": 22 - } - } - }, - { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "bi", - "range": [ - 519, - 521 - ], - "loc": { - "start": { - "line": 27, - "column": 26 - }, - "end": { - "line": 27, - "column": 28 - } - } - }, - "prefix": true, - "range": [ - 517, - 521 - ], - "loc": { - "start": { - "line": 27, - "column": 24 - }, - "end": { - "line": 27, - "column": 28 - } - } - } - ], - "range": [ - 511, - 521 - ], - "loc": { - "start": { - "line": 27, - "column": 18 - }, - "end": { - "line": 27, - "column": 28 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": ">", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 532, - 533 - ], - "loc": { - "start": { - "line": 28, - "column": 7 - }, - "end": { - "line": 28, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "name": "ai", - "range": [ - 534, - 536 - ], - "loc": { - "start": { - "line": 28, - "column": 9 - }, - "end": { - "line": 28, - "column": 11 - } - } - }, - "range": [ - 532, - 537 - ], - "loc": { - "start": { - "line": 28, - "column": 7 - }, - "end": { - "line": 28, - "column": 12 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 540, - 541 - ], - "loc": { - "start": { - "line": 28, - "column": 15 - }, - "end": { - "line": 28, - "column": 16 - } - } - }, - "property": { - "type": "Identifier", - "name": "bi", - "range": [ - 542, - 544 - ], - "loc": { - "start": { - "line": 28, - "column": 17 - }, - "end": { - "line": 28, - "column": 19 - } - } - }, - "range": [ - 540, - 545 - ], - "loc": { - "start": { - "line": 28, - "column": 15 - }, - "end": { - "line": 28, - "column": 20 - } - } - }, - "range": [ - 532, - 545 - ], - "loc": { - "start": { - "line": 28, - "column": 7 - }, - "end": { - "line": 28, - "column": 20 - } - } - }, - "consequent": { - "type": "ReturnStatement", - "argument": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 555, - 556 - ], - "loc": { - "start": { - "line": 28, - "column": 30 - }, - "end": { - "line": 28, - "column": 31 - } - } - }, - "range": [ - 547, - 557 - ], - "loc": { - "start": { - "line": 28, - "column": 22 - }, - "end": { - "line": 28, - "column": 32 - } - } - }, - "alternate": null, - "range": [ - 528, - 557 - ], - "loc": { - "start": { - "line": 28, - "column": 3 - }, - "end": { - "line": 28, - "column": 32 - } - } - }, - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 565, - 566 - ], - "loc": { - "start": { - "line": 29, - "column": 7 - }, - "end": { - "line": 29, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "name": "ai", - "range": [ - 567, - 569 - ], - "loc": { - "start": { - "line": 29, - "column": 9 - }, - "end": { - "line": 29, - "column": 11 - } - } - }, - "range": [ - 565, - 570 - ], - "loc": { - "start": { - "line": 29, - "column": 7 - }, - "end": { - "line": 29, - "column": 12 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 573, - 574 - ], - "loc": { - "start": { - "line": 29, - "column": 15 - }, - "end": { - "line": 29, - "column": 16 - } - } - }, - "property": { - "type": "Identifier", - "name": "bi", - "range": [ - 575, - 577 - ], - "loc": { - "start": { - "line": 29, - "column": 17 - }, - "end": { - "line": 29, - "column": 19 - } - } - }, - "range": [ - 573, - 578 - ], - "loc": { - "start": { - "line": 29, - "column": 15 - }, - "end": { - "line": 29, - "column": 20 - } - } - }, - "range": [ - 565, - 578 - ], - "loc": { - "start": { - "line": 29, - "column": 7 - }, - "end": { - "line": 29, - "column": 20 - } - } - }, - "consequent": { - "type": "ReturnStatement", - "argument": { - "type": "UnaryExpression", - "operator": "-", - "argument": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 588, - 589 - ], - "loc": { - "start": { - "line": 29, - "column": 30 - }, - "end": { - "line": 29, - "column": 31 - } - } - }, - "prefix": true, - "range": [ - 587, - 589 - ], - "loc": { - "start": { - "line": 29, - "column": 29 - }, - "end": { - "line": 29, - "column": 31 - } - } - }, - "range": [ - 580, - 590 - ], - "loc": { - "start": { - "line": 29, - "column": 22 - }, - "end": { - "line": 29, - "column": 32 - } - } - }, - "alternate": null, - "range": [ - 561, - 590 - ], - "loc": { - "start": { - "line": 29, - "column": 3 - }, - "end": { - "line": 29, - "column": 32 - } - } - } - ], - "range": [ - 523, - 594 - ], - "loc": { - "start": { - "line": 27, - "column": 30 - }, - "end": { - "line": 30, - "column": 3 - } - } - }, - "range": [ - 495, - 594 - ], - "loc": { - "start": { - "line": 27, - "column": 2 - }, - "end": { - "line": 30, - "column": 3 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " same size aj - ai === bj - bi", - "range": [ - 460, - 492 - ], - "loc": { - "start": { - "line": 26, - "column": 2 - }, - "end": { - "line": 26, - "column": 34 - } - } - } - ] - }, - { - "type": "ReturnStatement", - "argument": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 605, - 606 - ], - "loc": { - "start": { - "line": 32, - "column": 9 - }, - "end": { - "line": 32, - "column": 10 - } - } - }, - "range": [ - 598, - 607 - ], - "loc": { - "start": { - "line": 32, - "column": 2 - }, - "end": { - "line": 32, - "column": 11 - } - } - } - ], - "range": [ - 373, - 610 - ], - "loc": { - "start": { - "line": 18, - "column": 38 - }, - "end": { - "line": 33, - "column": 2 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 343, - 610 - ], - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 33, - "column": 2 - } - } - }, - "range": [ - 336, - 611 - ], - "loc": { - "start": { - "line": 18, - "column": 1 - }, - "end": { - "line": 33, - "column": 3 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n\t * Compares two big endian arrays, |a| >= |b|\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t *\n\t * @return {int} 1 if a > b; 0 if a = b; -1 otherwise.\n\t ", - "range": [ - 33, - 333 - ], - "loc": { - "start": { - "line": 5, - "column": 1 - }, - "end": { - "line": 16, - "column": 4 - } - } - } - ] - } - ], - "range": [ - 28, - 614 - ], - "loc": { - "start": { - "line": 2, - "column": 27 - }, - "end": { - "line": 35, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 8, - 614 - ], - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 35, - "column": 1 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 1, - 614 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 35, - "column": 1 - } - } - }, - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "lcmp_t", - "range": [ - 632, - 638 - ], - "loc": { - "start": { - "line": 37, - "column": 16 - }, - "end": { - "line": 37, - "column": 22 - } - } - }, - "params": [], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ReturnStatement", - "argument": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 969, - 970 - ], - "loc": { - "start": { - "line": 52, - "column": 17 - }, - "end": { - "line": 52, - "column": 18 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 972, - 974 - ], - "loc": { - "start": { - "line": 52, - "column": 20 - }, - "end": { - "line": 52, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 976, - 978 - ], - "loc": { - "start": { - "line": 52, - "column": 24 - }, - "end": { - "line": 52, - "column": 26 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 980, - 981 - ], - "loc": { - "start": { - "line": 52, - "column": 28 - }, - "end": { - "line": 52, - "column": 29 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 983, - 985 - ], - "loc": { - "start": { - "line": 52, - "column": 31 - }, - "end": { - "line": 52, - "column": 33 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 987, - 989 - ], - "loc": { - "start": { - "line": 52, - "column": 35 - }, - "end": { - "line": 52, - "column": 37 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "tmp", - "range": [ - 999, - 1002 - ], - "loc": { - "start": { - "line": 54, - "column": 6 - }, - "end": { - "line": 54, - "column": 9 - } - } - }, - "init": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "ai", - "range": [ - 1005, - 1007 - ], - "loc": { - "start": { - "line": 54, - "column": 12 - }, - "end": { - "line": 54, - "column": 14 - } - } - }, - "right": { - "type": "Identifier", - "name": "bj", - "range": [ - 1010, - 1012 - ], - "loc": { - "start": { - "line": 54, - "column": 17 - }, - "end": { - "line": 54, - "column": 19 - } - } - }, - "range": [ - 1005, - 1012 - ], - "loc": { - "start": { - "line": 54, - "column": 12 - }, - "end": { - "line": 54, - "column": 19 - } - } - }, - "right": { - "type": "Identifier", - "name": "bi", - "range": [ - 1015, - 1017 - ], - "loc": { - "start": { - "line": 54, - "column": 22 - }, - "end": { - "line": 54, - "column": 24 - } - } - }, - "range": [ - 1005, - 1017 - ], - "loc": { - "start": { - "line": 54, - "column": 12 - }, - "end": { - "line": 54, - "column": 24 - } - } - }, - "range": [ - 999, - 1017 - ], - "loc": { - "start": { - "line": 54, - "column": 6 - }, - "end": { - "line": 54, - "column": 24 - } - } - } - ], - "kind": "var", - "range": [ - 995, - 1018 - ], - "loc": { - "start": { - "line": 54, - "column": 2 - }, - "end": { - "line": 54, - "column": 25 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "aj", - "range": [ - 1024, - 1026 - ], - "loc": { - "start": { - "line": 56, - "column": 4 - }, - "end": { - "line": 56, - "column": 6 - } - } - }, - "prefix": true, - "range": [ - 1022, - 1026 - ], - "loc": { - "start": { - "line": 56, - "column": 2 - }, - "end": { - "line": 56, - "column": 6 - } - } - }, - "range": [ - 1022, - 1027 - ], - "loc": { - "start": { - "line": 56, - "column": 2 - }, - "end": { - "line": 56, - "column": 7 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "bj", - "range": [ - 1030, - 1032 - ], - "loc": { - "start": { - "line": 56, - "column": 10 - }, - "end": { - "line": 56, - "column": 12 - } - } - }, - "prefix": true, - "range": [ - 1028, - 1032 - ], - "loc": { - "start": { - "line": 56, - "column": 8 - }, - "end": { - "line": 56, - "column": 12 - } - } - }, - "range": [ - 1028, - 1033 - ], - "loc": { - "start": { - "line": 56, - "column": 8 - }, - "end": { - "line": 56, - "column": 13 - } - } - }, - { - "type": "ForStatement", - "init": null, - "test": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "Identifier", - "name": "aj", - "range": [ - 1044, - 1046 - ], - "loc": { - "start": { - "line": 58, - "column": 9 - }, - "end": { - "line": 58, - "column": 11 - } - } - }, - "right": { - "type": "Identifier", - "name": "tmp", - "range": [ - 1050, - 1053 - ], - "loc": { - "start": { - "line": 58, - "column": 15 - }, - "end": { - "line": 58, - "column": 18 - } - } - }, - "range": [ - 1044, - 1053 - ], - "loc": { - "start": { - "line": 58, - "column": 9 - }, - "end": { - "line": 58, - "column": 18 - } - } - }, - "update": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "aj", - "range": [ - 1057, - 1059 - ], - "loc": { - "start": { - "line": 58, - "column": 22 - }, - "end": { - "line": 58, - "column": 24 - } - } - }, - "prefix": true, - "range": [ - 1055, - 1059 - ], - "loc": { - "start": { - "line": 58, - "column": 20 - }, - "end": { - "line": 58, - "column": 24 - } - } - }, - "body": { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": ">", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 1068, - 1069 - ], - "loc": { - "start": { - "line": 59, - "column": 7 - }, - "end": { - "line": 59, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "name": "aj", - "range": [ - 1070, - 1072 - ], - "loc": { - "start": { - "line": 59, - "column": 9 - }, - "end": { - "line": 59, - "column": 11 - } - } - }, - "range": [ - 1068, - 1073 - ], - "loc": { - "start": { - "line": 59, - "column": 7 - }, - "end": { - "line": 59, - "column": 12 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 1076, - 1077 - ], - "loc": { - "start": { - "line": 59, - "column": 15 - }, - "end": { - "line": 59, - "column": 16 - } - } - }, - "range": [ - 1068, - 1077 - ], - "loc": { - "start": { - "line": 59, - "column": 7 - }, - "end": { - "line": 59, - "column": 16 - } - } - }, - "consequent": { - "type": "ReturnStatement", - "argument": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 1086, - 1087 - ], - "loc": { - "start": { - "line": 59, - "column": 25 - }, - "end": { - "line": 59, - "column": 26 - } - } - }, - "range": [ - 1079, - 1088 - ], - "loc": { - "start": { - "line": 59, - "column": 18 - }, - "end": { - "line": 59, - "column": 27 - } - } - }, - "alternate": null, - "range": [ - 1064, - 1088 - ], - "loc": { - "start": { - "line": 59, - "column": 3 - }, - "end": { - "line": 59, - "column": 27 - } - } - }, - "range": [ - 1037, - 1088 - ], - "loc": { - "start": { - "line": 58, - "column": 2 - }, - "end": { - "line": 59, - "column": 27 - } - }, - "trailingComments": [ - { - "type": "Line", - "value": " same size aj - ai === bj - bi", - "range": [ - 1093, - 1125 - ], - "loc": { - "start": { - "line": 62, - "column": 2 - }, - "end": { - "line": 62, - "column": 34 - } - } - } - ] - }, - { - "type": "ForStatement", - "init": null, - "test": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "Identifier", - "name": "aj", - "range": [ - 1135, - 1137 - ], - "loc": { - "start": { - "line": 63, - "column": 9 - }, - "end": { - "line": 63, - "column": 11 - } - } - }, - "right": { - "type": "Identifier", - "name": "ai", - "range": [ - 1141, - 1143 - ], - "loc": { - "start": { - "line": 63, - "column": 15 - }, - "end": { - "line": 63, - "column": 17 - } - } - }, - "range": [ - 1135, - 1143 - ], - "loc": { - "start": { - "line": 63, - "column": 9 - }, - "end": { - "line": 63, - "column": 17 - } - } - }, - "update": { - "type": "SequenceExpression", - "expressions": [ - { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "aj", - "range": [ - 1147, - 1149 - ], - "loc": { - "start": { - "line": 63, - "column": 21 - }, - "end": { - "line": 63, - "column": 23 - } - } - }, - "prefix": true, - "range": [ - 1145, - 1149 - ], - "loc": { - "start": { - "line": 63, - "column": 19 - }, - "end": { - "line": 63, - "column": 23 - } - } - }, - { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "bj", - "range": [ - 1153, - 1155 - ], - "loc": { - "start": { - "line": 63, - "column": 27 - }, - "end": { - "line": 63, - "column": 29 - } - } - }, - "prefix": true, - "range": [ - 1151, - 1155 - ], - "loc": { - "start": { - "line": 63, - "column": 25 - }, - "end": { - "line": 63, - "column": 29 - } - } - } - ], - "range": [ - 1145, - 1155 - ], - "loc": { - "start": { - "line": 63, - "column": 19 - }, - "end": { - "line": 63, - "column": 29 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": ">", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 1166, - 1167 - ], - "loc": { - "start": { - "line": 64, - "column": 7 - }, - "end": { - "line": 64, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "name": "aj", - "range": [ - 1168, - 1170 - ], - "loc": { - "start": { - "line": 64, - "column": 9 - }, - "end": { - "line": 64, - "column": 11 - } - } - }, - "range": [ - 1166, - 1171 - ], - "loc": { - "start": { - "line": 64, - "column": 7 - }, - "end": { - "line": 64, - "column": 12 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 1174, - 1175 - ], - "loc": { - "start": { - "line": 64, - "column": 15 - }, - "end": { - "line": 64, - "column": 16 - } - } - }, - "property": { - "type": "Identifier", - "name": "bj", - "range": [ - 1176, - 1178 - ], - "loc": { - "start": { - "line": 64, - "column": 17 - }, - "end": { - "line": 64, - "column": 19 - } - } - }, - "range": [ - 1174, - 1179 - ], - "loc": { - "start": { - "line": 64, - "column": 15 - }, - "end": { - "line": 64, - "column": 20 - } - } - }, - "range": [ - 1166, - 1179 - ], - "loc": { - "start": { - "line": 64, - "column": 7 - }, - "end": { - "line": 64, - "column": 20 - } - } - }, - "consequent": { - "type": "ReturnStatement", - "argument": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 1189, - 1190 - ], - "loc": { - "start": { - "line": 64, - "column": 30 - }, - "end": { - "line": 64, - "column": 31 - } - } - }, - "range": [ - 1181, - 1191 - ], - "loc": { - "start": { - "line": 64, - "column": 22 - }, - "end": { - "line": 64, - "column": 32 - } - } - }, - "alternate": null, - "range": [ - 1162, - 1191 - ], - "loc": { - "start": { - "line": 64, - "column": 3 - }, - "end": { - "line": 64, - "column": 32 - } - } - }, - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 1199, - 1200 - ], - "loc": { - "start": { - "line": 65, - "column": 7 - }, - "end": { - "line": 65, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "name": "aj", - "range": [ - 1201, - 1203 - ], - "loc": { - "start": { - "line": 65, - "column": 9 - }, - "end": { - "line": 65, - "column": 11 - } - } - }, - "range": [ - 1199, - 1204 - ], - "loc": { - "start": { - "line": 65, - "column": 7 - }, - "end": { - "line": 65, - "column": 12 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 1207, - 1208 - ], - "loc": { - "start": { - "line": 65, - "column": 15 - }, - "end": { - "line": 65, - "column": 16 - } - } - }, - "property": { - "type": "Identifier", - "name": "bj", - "range": [ - 1209, - 1211 - ], - "loc": { - "start": { - "line": 65, - "column": 17 - }, - "end": { - "line": 65, - "column": 19 - } - } - }, - "range": [ - 1207, - 1212 - ], - "loc": { - "start": { - "line": 65, - "column": 15 - }, - "end": { - "line": 65, - "column": 20 - } - } - }, - "range": [ - 1199, - 1212 - ], - "loc": { - "start": { - "line": 65, - "column": 7 - }, - "end": { - "line": 65, - "column": 20 - } - } - }, - "consequent": { - "type": "ReturnStatement", - "argument": { - "type": "UnaryExpression", - "operator": "-", - "argument": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 1222, - 1223 - ], - "loc": { - "start": { - "line": 65, - "column": 30 - }, - "end": { - "line": 65, - "column": 31 - } - } - }, - "prefix": true, - "range": [ - 1221, - 1223 - ], - "loc": { - "start": { - "line": 65, - "column": 29 - }, - "end": { - "line": 65, - "column": 31 - } - } - }, - "range": [ - 1214, - 1224 - ], - "loc": { - "start": { - "line": 65, - "column": 22 - }, - "end": { - "line": 65, - "column": 32 - } - } - }, - "alternate": null, - "range": [ - 1195, - 1224 - ], - "loc": { - "start": { - "line": 65, - "column": 3 - }, - "end": { - "line": 65, - "column": 32 - } - } - } - ], - "range": [ - 1157, - 1228 - ], - "loc": { - "start": { - "line": 63, - "column": 31 - }, - "end": { - "line": 66, - "column": 3 - } - } - }, - "range": [ - 1128, - 1228 - ], - "loc": { - "start": { - "line": 63, - "column": 2 - }, - "end": { - "line": 66, - "column": 3 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " same size aj - ai === bj - bi", - "range": [ - 1093, - 1125 - ], - "loc": { - "start": { - "line": 62, - "column": 2 - }, - "end": { - "line": 62, - "column": 34 - } - } - } - ] - }, - { - "type": "ReturnStatement", - "argument": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 1239, - 1240 - ], - "loc": { - "start": { - "line": 68, - "column": 9 - }, - "end": { - "line": 68, - "column": 10 - } - } - }, - "range": [ - 1232, - 1241 - ], - "loc": { - "start": { - "line": 68, - "column": 2 - }, - "end": { - "line": 68, - "column": 11 - } - } - } - ], - "range": [ - 990, - 1244 - ], - "loc": { - "start": { - "line": 52, - "column": 38 - }, - "end": { - "line": 69, - "column": 2 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 960, - 1244 - ], - "loc": { - "start": { - "line": 52, - "column": 8 - }, - "end": { - "line": 69, - "column": 2 - } - } - }, - "range": [ - 953, - 1245 - ], - "loc": { - "start": { - "line": 52, - "column": 1 - }, - "end": { - "line": 69, - "column": 3 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n\t * Compares two little endian arrays, |a| >= |b|\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t *\n\t * @return {int} 1 if a > b; 0 if a = b; -1 otherwise.\n\t ", - "range": [ - 647, - 950 - ], - "loc": { - "start": { - "line": 39, - "column": 1 - }, - "end": { - "line": 50, - "column": 4 - } - } - } - ] - } - ], - "range": [ - 643, - 1247 - ], - "loc": { - "start": { - "line": 37, - "column": 27 - }, - "end": { - "line": 70, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 623, - 1247 - ], - "loc": { - "start": { - "line": 37, - "column": 7 - }, - "end": { - "line": 70, - "column": 1 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 616, - 1247 - ], - "loc": { - "start": { - "line": 37, - "column": 0 - }, - "end": { - "line": 70, - "column": 1 - } - } - } - ], - "sourceType": "module", - "range": [ - 1, - 1247 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 70, - "column": 1 - } - }, - "comments": [ - { - "type": "Block", - "value": "*\n\t * Compares two big endian arrays, |a| >= |b|\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t *\n\t * @return {int} 1 if a > b; 0 if a = b; -1 otherwise.\n\t ", - "range": [ - 33, - 333 - ], - "loc": { - "start": { - "line": 5, - "column": 1 - }, - "end": { - "line": 16, - "column": 4 - } - } - }, - { - "type": "Line", - "value": " same size aj - ai === bj - bi", - "range": [ - 460, - 492 - ], - "loc": { - "start": { - "line": 26, - "column": 2 - }, - "end": { - "line": 26, - "column": 34 - } - } - }, - { - "type": "Block", - "value": "*\n\t * Compares two little endian arrays, |a| >= |b|\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t *\n\t * @return {int} 1 if a > b; 0 if a = b; -1 otherwise.\n\t ", - "range": [ - 647, - 950 - ], - "loc": { - "start": { - "line": 39, - "column": 1 - }, - "end": { - "line": 50, - "column": 4 - } - } - }, - { - "type": "Line", - "value": " same size aj - ai === bj - bi", - "range": [ - 1093, - 1125 - ], - "loc": { - "start": { - "line": 62, - "column": 2 - }, - "end": { - "line": 62, - "column": 34 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/compare/eq.js.json b/ast/source/0-legacy/compare/eq.js.json deleted file mode 100644 index e125d9d..0000000 --- a/ast/source/0-legacy/compare/eq.js.json +++ /dev/null @@ -1,541 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "eq_t", - "range": [ - 108, - 112 - ], - "loc": { - "start": { - "line": 6, - "column": 16 - }, - "end": { - "line": 6, - "column": 20 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "cmp", - "range": [ - 114, - 117 - ], - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 6, - "column": 25 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ReturnStatement", - "argument": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 138, - 139 - ], - "loc": { - "start": { - "line": 7, - "column": 18 - }, - "end": { - "line": 7, - "column": 19 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 141, - 143 - ], - "loc": { - "start": { - "line": 7, - "column": 21 - }, - "end": { - "line": 7, - "column": 23 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 145, - 147 - ], - "loc": { - "start": { - "line": 7, - "column": 25 - }, - "end": { - "line": 7, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 149, - 150 - ], - "loc": { - "start": { - "line": 7, - "column": 29 - }, - "end": { - "line": 7, - "column": 30 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 152, - 154 - ], - "loc": { - "start": { - "line": 7, - "column": 32 - }, - "end": { - "line": 7, - "column": 34 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 156, - 158 - ], - "loc": { - "start": { - "line": 7, - "column": 36 - }, - "end": { - "line": 7, - "column": 38 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ReturnStatement", - "argument": { - "type": "BinaryExpression", - "operator": "===", - "left": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "cmp", - "range": [ - 171, - 174 - ], - "loc": { - "start": { - "line": 8, - "column": 9 - }, - "end": { - "line": 8, - "column": 12 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 175, - 176 - ], - "loc": { - "start": { - "line": 8, - "column": 13 - }, - "end": { - "line": 8, - "column": 14 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 178, - 180 - ], - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 18 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 182, - 184 - ], - "loc": { - "start": { - "line": 8, - "column": 20 - }, - "end": { - "line": 8, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 186, - 187 - ], - "loc": { - "start": { - "line": 8, - "column": 24 - }, - "end": { - "line": 8, - "column": 25 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 189, - 191 - ], - "loc": { - "start": { - "line": 8, - "column": 27 - }, - "end": { - "line": 8, - "column": 29 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 193, - 195 - ], - "loc": { - "start": { - "line": 8, - "column": 31 - }, - "end": { - "line": 8, - "column": 33 - } - } - } - ], - "range": [ - 171, - 196 - ], - "loc": { - "start": { - "line": 8, - "column": 9 - }, - "end": { - "line": 8, - "column": 34 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 201, - 202 - ], - "loc": { - "start": { - "line": 8, - "column": 39 - }, - "end": { - "line": 8, - "column": 40 - } - } - }, - "range": [ - 171, - 202 - ], - "loc": { - "start": { - "line": 8, - "column": 9 - }, - "end": { - "line": 8, - "column": 40 - } - } - }, - "range": [ - 164, - 203 - ], - "loc": { - "start": { - "line": 8, - "column": 2 - }, - "end": { - "line": 8, - "column": 41 - } - } - } - ], - "range": [ - 160, - 206 - ], - "loc": { - "start": { - "line": 7, - "column": 40 - }, - "end": { - "line": 9, - "column": 2 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 128, - 206 - ], - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 9, - "column": 2 - } - } - }, - "range": [ - 121, - 207 - ], - "loc": { - "start": { - "line": 7, - "column": 1 - }, - "end": { - "line": 9, - "column": 3 - } - } - } - ], - "range": [ - 118, - 209 - ], - "loc": { - "start": { - "line": 6, - "column": 26 - }, - "end": { - "line": 10, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 99, - 209 - ], - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 10, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is equal to _b_.\n ", - "range": [ - 0, - 90 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 4, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 92, - 209 - ], - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 10, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is equal to _b_.\n ", - "range": [ - 0, - 90 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 4, - "column": 3 - } - } - } - ] - } - ], - "sourceType": "module", - "range": [ - 92, - 209 - ], - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 10, - "column": 1 - } - }, - "comments": [ - { - "type": "Block", - "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is equal to _b_.\n ", - "range": [ - 0, - 90 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 4, - "column": 3 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/compare/ge.js.json b/ast/source/0-legacy/compare/ge.js.json deleted file mode 100644 index aa0ff43..0000000 --- a/ast/source/0-legacy/compare/ge.js.json +++ /dev/null @@ -1,541 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "ge_t", - "range": [ - 121, - 125 - ], - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 20 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "cmp", - "range": [ - 127, - 130 - ], - "loc": { - "start": { - "line": 8, - "column": 22 - }, - "end": { - "line": 8, - "column": 25 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ReturnStatement", - "argument": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 151, - 152 - ], - "loc": { - "start": { - "line": 9, - "column": 18 - }, - "end": { - "line": 9, - "column": 19 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 154, - 156 - ], - "loc": { - "start": { - "line": 9, - "column": 21 - }, - "end": { - "line": 9, - "column": 23 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 158, - 160 - ], - "loc": { - "start": { - "line": 9, - "column": 25 - }, - "end": { - "line": 9, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 162, - 163 - ], - "loc": { - "start": { - "line": 9, - "column": 29 - }, - "end": { - "line": 9, - "column": 30 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 165, - 167 - ], - "loc": { - "start": { - "line": 9, - "column": 32 - }, - "end": { - "line": 9, - "column": 34 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 169, - 171 - ], - "loc": { - "start": { - "line": 9, - "column": 36 - }, - "end": { - "line": 9, - "column": 38 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ReturnStatement", - "argument": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "cmp", - "range": [ - 184, - 187 - ], - "loc": { - "start": { - "line": 10, - "column": 9 - }, - "end": { - "line": 10, - "column": 12 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 188, - 189 - ], - "loc": { - "start": { - "line": 10, - "column": 13 - }, - "end": { - "line": 10, - "column": 14 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 191, - 193 - ], - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 18 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 195, - 197 - ], - "loc": { - "start": { - "line": 10, - "column": 20 - }, - "end": { - "line": 10, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 199, - 200 - ], - "loc": { - "start": { - "line": 10, - "column": 24 - }, - "end": { - "line": 10, - "column": 25 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 202, - 204 - ], - "loc": { - "start": { - "line": 10, - "column": 27 - }, - "end": { - "line": 10, - "column": 29 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 206, - 208 - ], - "loc": { - "start": { - "line": 10, - "column": 31 - }, - "end": { - "line": 10, - "column": 33 - } - } - } - ], - "range": [ - 184, - 209 - ], - "loc": { - "start": { - "line": 10, - "column": 9 - }, - "end": { - "line": 10, - "column": 34 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 213, - 214 - ], - "loc": { - "start": { - "line": 10, - "column": 38 - }, - "end": { - "line": 10, - "column": 39 - } - } - }, - "range": [ - 184, - 214 - ], - "loc": { - "start": { - "line": 10, - "column": 9 - }, - "end": { - "line": 10, - "column": 39 - } - } - }, - "range": [ - 177, - 215 - ], - "loc": { - "start": { - "line": 10, - "column": 2 - }, - "end": { - "line": 10, - "column": 40 - } - } - } - ], - "range": [ - 173, - 218 - ], - "loc": { - "start": { - "line": 9, - "column": 40 - }, - "end": { - "line": 11, - "column": 2 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 141, - 218 - ], - "loc": { - "start": { - "line": 9, - "column": 8 - }, - "end": { - "line": 11, - "column": 2 - } - } - }, - "range": [ - 134, - 219 - ], - "loc": { - "start": { - "line": 9, - "column": 1 - }, - "end": { - "line": 11, - "column": 3 - } - } - } - ], - "range": [ - 131, - 221 - ], - "loc": { - "start": { - "line": 8, - "column": 26 - }, - "end": { - "line": 12, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 112, - 221 - ], - "loc": { - "start": { - "line": 8, - "column": 7 - }, - "end": { - "line": 12, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is greater or equal to _b_.\n ", - "range": [ - 2, - 103 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 6, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 105, - 221 - ], - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 12, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is greater or equal to _b_.\n ", - "range": [ - 2, - 103 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 6, - "column": 3 - } - } - } - ] - } - ], - "sourceType": "module", - "range": [ - 105, - 221 - ], - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 12, - "column": 1 - } - }, - "comments": [ - { - "type": "Block", - "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is greater or equal to _b_.\n ", - "range": [ - 2, - 103 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 6, - "column": 3 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/compare/gt.js.json b/ast/source/0-legacy/compare/gt.js.json deleted file mode 100644 index 6afd82b..0000000 --- a/ast/source/0-legacy/compare/gt.js.json +++ /dev/null @@ -1,541 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "gt_t", - "range": [ - 114, - 118 - ], - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 20 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "cmp", - "range": [ - 120, - 123 - ], - "loc": { - "start": { - "line": 8, - "column": 22 - }, - "end": { - "line": 8, - "column": 25 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ReturnStatement", - "argument": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 144, - 145 - ], - "loc": { - "start": { - "line": 9, - "column": 18 - }, - "end": { - "line": 9, - "column": 19 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 147, - 149 - ], - "loc": { - "start": { - "line": 9, - "column": 21 - }, - "end": { - "line": 9, - "column": 23 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 151, - 153 - ], - "loc": { - "start": { - "line": 9, - "column": 25 - }, - "end": { - "line": 9, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 155, - 156 - ], - "loc": { - "start": { - "line": 9, - "column": 29 - }, - "end": { - "line": 9, - "column": 30 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 158, - 160 - ], - "loc": { - "start": { - "line": 9, - "column": 32 - }, - "end": { - "line": 9, - "column": 34 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 162, - 164 - ], - "loc": { - "start": { - "line": 9, - "column": 36 - }, - "end": { - "line": 9, - "column": 38 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ReturnStatement", - "argument": { - "type": "BinaryExpression", - "operator": ">", - "left": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "cmp", - "range": [ - 177, - 180 - ], - "loc": { - "start": { - "line": 10, - "column": 9 - }, - "end": { - "line": 10, - "column": 12 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 181, - 182 - ], - "loc": { - "start": { - "line": 10, - "column": 13 - }, - "end": { - "line": 10, - "column": 14 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 184, - 186 - ], - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 18 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 188, - 190 - ], - "loc": { - "start": { - "line": 10, - "column": 20 - }, - "end": { - "line": 10, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 192, - 193 - ], - "loc": { - "start": { - "line": 10, - "column": 24 - }, - "end": { - "line": 10, - "column": 25 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 195, - 197 - ], - "loc": { - "start": { - "line": 10, - "column": 27 - }, - "end": { - "line": 10, - "column": 29 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 199, - 201 - ], - "loc": { - "start": { - "line": 10, - "column": 31 - }, - "end": { - "line": 10, - "column": 33 - } - } - } - ], - "range": [ - 177, - 202 - ], - "loc": { - "start": { - "line": 10, - "column": 9 - }, - "end": { - "line": 10, - "column": 34 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 205, - 206 - ], - "loc": { - "start": { - "line": 10, - "column": 37 - }, - "end": { - "line": 10, - "column": 38 - } - } - }, - "range": [ - 177, - 206 - ], - "loc": { - "start": { - "line": 10, - "column": 9 - }, - "end": { - "line": 10, - "column": 38 - } - } - }, - "range": [ - 170, - 207 - ], - "loc": { - "start": { - "line": 10, - "column": 2 - }, - "end": { - "line": 10, - "column": 39 - } - } - } - ], - "range": [ - 166, - 210 - ], - "loc": { - "start": { - "line": 9, - "column": 40 - }, - "end": { - "line": 11, - "column": 2 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 134, - 210 - ], - "loc": { - "start": { - "line": 9, - "column": 8 - }, - "end": { - "line": 11, - "column": 2 - } - } - }, - "range": [ - 127, - 211 - ], - "loc": { - "start": { - "line": 9, - "column": 1 - }, - "end": { - "line": 11, - "column": 3 - } - } - } - ], - "range": [ - 124, - 213 - ], - "loc": { - "start": { - "line": 8, - "column": 26 - }, - "end": { - "line": 12, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 105, - 213 - ], - "loc": { - "start": { - "line": 8, - "column": 7 - }, - "end": { - "line": 12, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is greater than _b_.\n ", - "range": [ - 2, - 96 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 6, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 98, - 213 - ], - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 12, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is greater than _b_.\n ", - "range": [ - 2, - 96 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 6, - "column": 3 - } - } - } - ] - } - ], - "sourceType": "module", - "range": [ - 98, - 213 - ], - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 12, - "column": 1 - } - }, - "comments": [ - { - "type": "Block", - "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is greater than _b_.\n ", - "range": [ - 2, - 96 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 6, - "column": 3 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/compare/index.js.json b/ast/source/0-legacy/compare/index.js.json deleted file mode 100644 index 80a75f6..0000000 --- a/ast/source/0-legacy/compare/index.js.json +++ /dev/null @@ -1,273 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./cmp", - "raw": "'./cmp'", - "range": [ - 14, - 21 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 21 - } - } - }, - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./eq", - "raw": "'./eq'", - "range": [ - 38, - 44 - ], - "loc": { - "start": { - "line": 2, - "column": 14 - }, - "end": { - "line": 2, - "column": 20 - } - } - }, - "range": [ - 24, - 46 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./ge", - "raw": "'./ge'", - "range": [ - 61, - 67 - ], - "loc": { - "start": { - "line": 3, - "column": 14 - }, - "end": { - "line": 3, - "column": 20 - } - } - }, - "range": [ - 47, - 69 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 22 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./gt", - "raw": "'./gt'", - "range": [ - 84, - 90 - ], - "loc": { - "start": { - "line": 4, - "column": 14 - }, - "end": { - "line": 4, - "column": 20 - } - } - }, - "range": [ - 70, - 92 - ], - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 22 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./le", - "raw": "'./le'", - "range": [ - 107, - 113 - ], - "loc": { - "start": { - "line": 5, - "column": 14 - }, - "end": { - "line": 5, - "column": 20 - } - } - }, - "range": [ - 93, - 115 - ], - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 22 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./lt", - "raw": "'./lt'", - "range": [ - 130, - 136 - ], - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 20 - } - } - }, - "range": [ - 116, - 138 - ], - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 6, - "column": 22 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./ne", - "raw": "'./ne'", - "range": [ - 153, - 159 - ], - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 20 - } - } - }, - "range": [ - 139, - 161 - ], - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 22 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 161 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 7, - "column": 22 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/0-legacy/compare/le.js.json b/ast/source/0-legacy/compare/le.js.json deleted file mode 100644 index b673e89..0000000 --- a/ast/source/0-legacy/compare/le.js.json +++ /dev/null @@ -1,541 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "le_t", - "range": [ - 118, - 122 - ], - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 20 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "cmp", - "range": [ - 124, - 127 - ], - "loc": { - "start": { - "line": 8, - "column": 22 - }, - "end": { - "line": 8, - "column": 25 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ReturnStatement", - "argument": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 148, - 149 - ], - "loc": { - "start": { - "line": 9, - "column": 18 - }, - "end": { - "line": 9, - "column": 19 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 151, - 153 - ], - "loc": { - "start": { - "line": 9, - "column": 21 - }, - "end": { - "line": 9, - "column": 23 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 155, - 157 - ], - "loc": { - "start": { - "line": 9, - "column": 25 - }, - "end": { - "line": 9, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 159, - 160 - ], - "loc": { - "start": { - "line": 9, - "column": 29 - }, - "end": { - "line": 9, - "column": 30 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 162, - 164 - ], - "loc": { - "start": { - "line": 9, - "column": 32 - }, - "end": { - "line": 9, - "column": 34 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 166, - 168 - ], - "loc": { - "start": { - "line": 9, - "column": 36 - }, - "end": { - "line": 9, - "column": 38 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ReturnStatement", - "argument": { - "type": "BinaryExpression", - "operator": "<=", - "left": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "cmp", - "range": [ - 181, - 184 - ], - "loc": { - "start": { - "line": 10, - "column": 9 - }, - "end": { - "line": 10, - "column": 12 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 185, - 186 - ], - "loc": { - "start": { - "line": 10, - "column": 13 - }, - "end": { - "line": 10, - "column": 14 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 188, - 190 - ], - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 18 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 192, - 194 - ], - "loc": { - "start": { - "line": 10, - "column": 20 - }, - "end": { - "line": 10, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 196, - 197 - ], - "loc": { - "start": { - "line": 10, - "column": 24 - }, - "end": { - "line": 10, - "column": 25 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 199, - 201 - ], - "loc": { - "start": { - "line": 10, - "column": 27 - }, - "end": { - "line": 10, - "column": 29 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 203, - 205 - ], - "loc": { - "start": { - "line": 10, - "column": 31 - }, - "end": { - "line": 10, - "column": 33 - } - } - } - ], - "range": [ - 181, - 206 - ], - "loc": { - "start": { - "line": 10, - "column": 9 - }, - "end": { - "line": 10, - "column": 34 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 210, - 211 - ], - "loc": { - "start": { - "line": 10, - "column": 38 - }, - "end": { - "line": 10, - "column": 39 - } - } - }, - "range": [ - 181, - 211 - ], - "loc": { - "start": { - "line": 10, - "column": 9 - }, - "end": { - "line": 10, - "column": 39 - } - } - }, - "range": [ - 174, - 212 - ], - "loc": { - "start": { - "line": 10, - "column": 2 - }, - "end": { - "line": 10, - "column": 40 - } - } - } - ], - "range": [ - 170, - 215 - ], - "loc": { - "start": { - "line": 9, - "column": 40 - }, - "end": { - "line": 11, - "column": 2 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 138, - 215 - ], - "loc": { - "start": { - "line": 9, - "column": 8 - }, - "end": { - "line": 11, - "column": 2 - } - } - }, - "range": [ - 131, - 216 - ], - "loc": { - "start": { - "line": 9, - "column": 1 - }, - "end": { - "line": 11, - "column": 3 - } - } - } - ], - "range": [ - 128, - 218 - ], - "loc": { - "start": { - "line": 8, - "column": 26 - }, - "end": { - "line": 12, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 109, - 218 - ], - "loc": { - "start": { - "line": 8, - "column": 7 - }, - "end": { - "line": 12, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is less or equal to _b_.\n ", - "range": [ - 2, - 100 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 6, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 102, - 218 - ], - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 12, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is less or equal to _b_.\n ", - "range": [ - 2, - 100 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 6, - "column": 3 - } - } - } - ] - } - ], - "sourceType": "module", - "range": [ - 102, - 218 - ], - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 12, - "column": 1 - } - }, - "comments": [ - { - "type": "Block", - "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is less or equal to _b_.\n ", - "range": [ - 2, - 100 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 6, - "column": 3 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/compare/lt.js.json b/ast/source/0-legacy/compare/lt.js.json deleted file mode 100644 index b65937b..0000000 --- a/ast/source/0-legacy/compare/lt.js.json +++ /dev/null @@ -1,541 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "lt_t", - "range": [ - 111, - 115 - ], - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 20 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "cmp", - "range": [ - 117, - 120 - ], - "loc": { - "start": { - "line": 8, - "column": 22 - }, - "end": { - "line": 8, - "column": 25 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ReturnStatement", - "argument": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 141, - 142 - ], - "loc": { - "start": { - "line": 9, - "column": 18 - }, - "end": { - "line": 9, - "column": 19 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 144, - 146 - ], - "loc": { - "start": { - "line": 9, - "column": 21 - }, - "end": { - "line": 9, - "column": 23 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 148, - 150 - ], - "loc": { - "start": { - "line": 9, - "column": 25 - }, - "end": { - "line": 9, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 152, - 153 - ], - "loc": { - "start": { - "line": 9, - "column": 29 - }, - "end": { - "line": 9, - "column": 30 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 155, - 157 - ], - "loc": { - "start": { - "line": 9, - "column": 32 - }, - "end": { - "line": 9, - "column": 34 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 159, - 161 - ], - "loc": { - "start": { - "line": 9, - "column": 36 - }, - "end": { - "line": 9, - "column": 38 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ReturnStatement", - "argument": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "cmp", - "range": [ - 174, - 177 - ], - "loc": { - "start": { - "line": 10, - "column": 9 - }, - "end": { - "line": 10, - "column": 12 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 178, - 179 - ], - "loc": { - "start": { - "line": 10, - "column": 13 - }, - "end": { - "line": 10, - "column": 14 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 181, - 183 - ], - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 18 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 185, - 187 - ], - "loc": { - "start": { - "line": 10, - "column": 20 - }, - "end": { - "line": 10, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 189, - 190 - ], - "loc": { - "start": { - "line": 10, - "column": 24 - }, - "end": { - "line": 10, - "column": 25 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 192, - 194 - ], - "loc": { - "start": { - "line": 10, - "column": 27 - }, - "end": { - "line": 10, - "column": 29 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 196, - 198 - ], - "loc": { - "start": { - "line": 10, - "column": 31 - }, - "end": { - "line": 10, - "column": 33 - } - } - } - ], - "range": [ - 174, - 199 - ], - "loc": { - "start": { - "line": 10, - "column": 9 - }, - "end": { - "line": 10, - "column": 34 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 202, - 203 - ], - "loc": { - "start": { - "line": 10, - "column": 37 - }, - "end": { - "line": 10, - "column": 38 - } - } - }, - "range": [ - 174, - 203 - ], - "loc": { - "start": { - "line": 10, - "column": 9 - }, - "end": { - "line": 10, - "column": 38 - } - } - }, - "range": [ - 167, - 204 - ], - "loc": { - "start": { - "line": 10, - "column": 2 - }, - "end": { - "line": 10, - "column": 39 - } - } - } - ], - "range": [ - 163, - 207 - ], - "loc": { - "start": { - "line": 9, - "column": 40 - }, - "end": { - "line": 11, - "column": 2 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 131, - 207 - ], - "loc": { - "start": { - "line": 9, - "column": 8 - }, - "end": { - "line": 11, - "column": 2 - } - } - }, - "range": [ - 124, - 208 - ], - "loc": { - "start": { - "line": 9, - "column": 1 - }, - "end": { - "line": 11, - "column": 3 - } - } - } - ], - "range": [ - 121, - 210 - ], - "loc": { - "start": { - "line": 8, - "column": 26 - }, - "end": { - "line": 12, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 102, - 210 - ], - "loc": { - "start": { - "line": 8, - "column": 7 - }, - "end": { - "line": 12, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is less than _b_.\n ", - "range": [ - 2, - 93 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 6, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 95, - 210 - ], - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 12, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is less than _b_.\n ", - "range": [ - 2, - 93 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 6, - "column": 3 - } - } - } - ] - } - ], - "sourceType": "module", - "range": [ - 95, - 210 - ], - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 12, - "column": 1 - } - }, - "comments": [ - { - "type": "Block", - "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is less than _b_.\n ", - "range": [ - 2, - 93 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 6, - "column": 3 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/compare/ne.js.json b/ast/source/0-legacy/compare/ne.js.json deleted file mode 100644 index ad6f667..0000000 --- a/ast/source/0-legacy/compare/ne.js.json +++ /dev/null @@ -1,541 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "ne_t", - "range": [ - 114, - 118 - ], - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 20 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "cmp", - "range": [ - 120, - 123 - ], - "loc": { - "start": { - "line": 8, - "column": 22 - }, - "end": { - "line": 8, - "column": 25 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ReturnStatement", - "argument": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 144, - 145 - ], - "loc": { - "start": { - "line": 9, - "column": 18 - }, - "end": { - "line": 9, - "column": 19 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 147, - 149 - ], - "loc": { - "start": { - "line": 9, - "column": 21 - }, - "end": { - "line": 9, - "column": 23 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 151, - 153 - ], - "loc": { - "start": { - "line": 9, - "column": 25 - }, - "end": { - "line": 9, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 155, - 156 - ], - "loc": { - "start": { - "line": 9, - "column": 29 - }, - "end": { - "line": 9, - "column": 30 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 158, - 160 - ], - "loc": { - "start": { - "line": 9, - "column": 32 - }, - "end": { - "line": 9, - "column": 34 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 162, - 164 - ], - "loc": { - "start": { - "line": 9, - "column": 36 - }, - "end": { - "line": 9, - "column": 38 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ReturnStatement", - "argument": { - "type": "BinaryExpression", - "operator": "!==", - "left": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "cmp", - "range": [ - 177, - 180 - ], - "loc": { - "start": { - "line": 10, - "column": 9 - }, - "end": { - "line": 10, - "column": 12 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 181, - 182 - ], - "loc": { - "start": { - "line": 10, - "column": 13 - }, - "end": { - "line": 10, - "column": 14 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 184, - 186 - ], - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 18 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 188, - 190 - ], - "loc": { - "start": { - "line": 10, - "column": 20 - }, - "end": { - "line": 10, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 192, - 193 - ], - "loc": { - "start": { - "line": 10, - "column": 24 - }, - "end": { - "line": 10, - "column": 25 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 195, - 197 - ], - "loc": { - "start": { - "line": 10, - "column": 27 - }, - "end": { - "line": 10, - "column": 29 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 199, - 201 - ], - "loc": { - "start": { - "line": 10, - "column": 31 - }, - "end": { - "line": 10, - "column": 33 - } - } - } - ], - "range": [ - 177, - 202 - ], - "loc": { - "start": { - "line": 10, - "column": 9 - }, - "end": { - "line": 10, - "column": 34 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 207, - 208 - ], - "loc": { - "start": { - "line": 10, - "column": 39 - }, - "end": { - "line": 10, - "column": 40 - } - } - }, - "range": [ - 177, - 208 - ], - "loc": { - "start": { - "line": 10, - "column": 9 - }, - "end": { - "line": 10, - "column": 40 - } - } - }, - "range": [ - 170, - 209 - ], - "loc": { - "start": { - "line": 10, - "column": 2 - }, - "end": { - "line": 10, - "column": 41 - } - } - } - ], - "range": [ - 166, - 212 - ], - "loc": { - "start": { - "line": 9, - "column": 40 - }, - "end": { - "line": 11, - "column": 2 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 134, - 212 - ], - "loc": { - "start": { - "line": 9, - "column": 8 - }, - "end": { - "line": 11, - "column": 2 - } - } - }, - "range": [ - 127, - 213 - ], - "loc": { - "start": { - "line": 9, - "column": 1 - }, - "end": { - "line": 11, - "column": 3 - } - } - } - ], - "range": [ - 124, - 215 - ], - "loc": { - "start": { - "line": 8, - "column": 26 - }, - "end": { - "line": 12, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 105, - 215 - ], - "loc": { - "start": { - "line": 8, - "column": 7 - }, - "end": { - "line": 12, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is not equal to _b_.\n ", - "range": [ - 2, - 96 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 6, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 98, - 215 - ], - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 12, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is not equal to _b_.\n ", - "range": [ - 2, - 96 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 6, - "column": 3 - } - } - } - ] - } - ], - "sourceType": "module", - "range": [ - 98, - 215 - ], - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 12, - "column": 1 - } - }, - "comments": [ - { - "type": "Block", - "value": "*\n * Wrapper for a comparison operator that returns true iff\n * _a_ is not equal to _b_.\n ", - "range": [ - 2, - 96 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 6, - "column": 3 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/index.js.json b/ast/source/0-legacy/index.js.json deleted file mode 100644 index d0b701a..0000000 --- a/ast/source/0-legacy/index.js.json +++ /dev/null @@ -1,273 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./abs", - "raw": "'./abs'", - "range": [ - 14, - 21 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 21 - } - } - }, - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./arithmetic", - "raw": "'./arithmetic'", - "range": [ - 38, - 52 - ], - "loc": { - "start": { - "line": 2, - "column": 14 - }, - "end": { - "line": 2, - "column": 28 - } - } - }, - "range": [ - 24, - 54 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./binary", - "raw": "'./binary'", - "range": [ - 69, - 79 - ], - "loc": { - "start": { - "line": 3, - "column": 14 - }, - "end": { - "line": 3, - "column": 24 - } - } - }, - "range": [ - 55, - 81 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 26 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./compare", - "raw": "'./compare'", - "range": [ - 96, - 107 - ], - "loc": { - "start": { - "line": 4, - "column": 14 - }, - "end": { - "line": 4, - "column": 25 - } - } - }, - "range": [ - 82, - 109 - ], - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 27 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./others", - "raw": "'./others'", - "range": [ - 124, - 134 - ], - "loc": { - "start": { - "line": 5, - "column": 14 - }, - "end": { - "line": 5, - "column": 24 - } - } - }, - "range": [ - 110, - 136 - ], - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 26 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./parse", - "raw": "'./parse'", - "range": [ - 151, - 160 - ], - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 23 - } - } - }, - "range": [ - 137, - 162 - ], - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 6, - "column": 25 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./stringify", - "raw": "'./stringify'", - "range": [ - 177, - 190 - ], - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 27 - } - } - }, - "range": [ - 163, - 192 - ], - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 29 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 192 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 7, - "column": 29 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/0-legacy/others/gcd/gcd.js.json b/ast/source/0-legacy/others/gcd/gcd.js.json deleted file mode 100644 index a5a8d3d..0000000 --- a/ast/source/0-legacy/others/gcd/gcd.js.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "type": "Program", - "body": [], - "sourceType": "module", - "range": [ - 57, - 57 - ], - "loc": { - "start": { - "line": 3, - "column": 3 - }, - "end": { - "line": 3, - "column": 3 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * COMPUTE THE GREATEST COMMON DIVISOR OF a AND b\n ", - "range": [ - 0, - 57 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 3 - } - } - } - ], - "comments": [ - { - "type": "Block", - "value": "*\n * COMPUTE THE GREATEST COMMON DIVISOR OF a AND b\n ", - "range": [ - 0, - 57 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 3 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/others/gcd/index.js.json b/ast/source/0-legacy/others/gcd/index.js.json deleted file mode 100644 index 17d73be..0000000 --- a/ast/source/0-legacy/others/gcd/index.js.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./gcd", - "raw": "'./gcd'", - "range": [ - 14, - 21 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 21 - } - } - }, - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/0-legacy/others/index.js.json b/ast/source/0-legacy/others/index.js.json deleted file mode 100644 index 349d8bb..0000000 --- a/ast/source/0-legacy/others/index.js.json +++ /dev/null @@ -1,381 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./gcd", - "raw": "'./gcd'", - "range": [ - 14, - 21 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 21 - } - } - }, - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./lcm", - "raw": "'./lcm'", - "range": [ - 38, - 45 - ], - "loc": { - "start": { - "line": 2, - "column": 14 - }, - "end": { - "line": 2, - "column": 21 - } - } - }, - "range": [ - 24, - 47 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 23 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./log", - "raw": "'./log'", - "range": [ - 62, - 69 - ], - "loc": { - "start": { - "line": 3, - "column": 14 - }, - "end": { - "line": 3, - "column": 21 - } - } - }, - "range": [ - 48, - 71 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 23 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./mod", - "raw": "'./mod'", - "range": [ - 86, - 93 - ], - "loc": { - "start": { - "line": 4, - "column": 14 - }, - "end": { - "line": 4, - "column": 21 - } - } - }, - "range": [ - 72, - 95 - ], - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 23 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./mpow", - "raw": "'./mpow'", - "range": [ - 110, - 118 - ], - "loc": { - "start": { - "line": 5, - "column": 14 - }, - "end": { - "line": 5, - "column": 22 - } - } - }, - "range": [ - 96, - 120 - ], - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 24 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./neg", - "raw": "'./neg'", - "range": [ - 135, - 142 - ], - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - "range": [ - 121, - 144 - ], - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 6, - "column": 23 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./pow", - "raw": "'./pow'", - "range": [ - 159, - 166 - ], - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 21 - } - } - }, - "range": [ - 145, - 168 - ], - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 23 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./sha", - "raw": "'./sha'", - "range": [ - 183, - 190 - ], - "loc": { - "start": { - "line": 8, - "column": 14 - }, - "end": { - "line": 8, - "column": 21 - } - } - }, - "range": [ - 169, - 192 - ], - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 8, - "column": 23 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./shl", - "raw": "'./shl'", - "range": [ - 207, - 214 - ], - "loc": { - "start": { - "line": 9, - "column": 14 - }, - "end": { - "line": 9, - "column": 21 - } - } - }, - "range": [ - 193, - 216 - ], - "loc": { - "start": { - "line": 9, - "column": 0 - }, - "end": { - "line": 9, - "column": 23 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./wrap", - "raw": "'./wrap'", - "range": [ - 231, - 239 - ], - "loc": { - "start": { - "line": 10, - "column": 14 - }, - "end": { - "line": 10, - "column": 22 - } - } - }, - "range": [ - 217, - 241 - ], - "loc": { - "start": { - "line": 10, - "column": 0 - }, - "end": { - "line": 10, - "column": 24 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 241 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 10, - "column": 24 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/0-legacy/others/lcm/index.js.json b/ast/source/0-legacy/others/lcm/index.js.json deleted file mode 100644 index f838f30..0000000 --- a/ast/source/0-legacy/others/lcm/index.js.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./lcm", - "raw": "'./lcm'", - "range": [ - 14, - 21 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 21 - } - } - }, - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/0-legacy/others/lcm/lcm.js.json b/ast/source/0-legacy/others/lcm/lcm.js.json deleted file mode 100644 index 2a324c4..0000000 --- a/ast/source/0-legacy/others/lcm/lcm.js.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "type": "Program", - "body": [], - "sourceType": "module", - "range": [ - 55, - 55 - ], - "loc": { - "start": { - "line": 3, - "column": 3 - }, - "end": { - "line": 3, - "column": 3 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * COMPUTE THE LEAST COMMON MULTIPLE OF a AND b\n ", - "range": [ - 0, - 55 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 3 - } - } - } - ], - "comments": [ - { - "type": "Block", - "value": "*\n * COMPUTE THE LEAST COMMON MULTIPLE OF a AND b\n ", - "range": [ - 0, - 55 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 3 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/others/log/index.js.json b/ast/source/0-legacy/others/log/index.js.json deleted file mode 100644 index ea45d27..0000000 --- a/ast/source/0-legacy/others/log/index.js.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./log", - "raw": "'./log'", - "range": [ - 14, - 21 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 21 - } - } - }, - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/0-legacy/others/log/log.js.json b/ast/source/0-legacy/others/log/log.js.json deleted file mode 100644 index 8d0c091..0000000 --- a/ast/source/0-legacy/others/log/log.js.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "type": "Program", - "body": [], - "sourceType": "module", - "range": [ - 67, - 67 - ], - "loc": { - "start": { - "line": 4, - "column": 3 - }, - "end": { - "line": 4, - "column": 3 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * FOR A NUMBER n COMPUTE THE GREATEST k SUCH THAT 2^k < n\n ", - "range": [ - 1, - 67 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 4, - "column": 3 - } - } - } - ], - "comments": [ - { - "type": "Block", - "value": "*\n * FOR A NUMBER n COMPUTE THE GREATEST k SUCH THAT 2^k < n\n ", - "range": [ - 1, - 67 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 4, - "column": 3 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/others/mod/index.js.json b/ast/source/0-legacy/others/mod/index.js.json deleted file mode 100644 index d83403a..0000000 --- a/ast/source/0-legacy/others/mod/index.js.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./mod", - "raw": "'./mod'", - "range": [ - 14, - 21 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 21 - } - } - }, - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./montgomery", - "raw": "'./montgomery'", - "range": [ - 38, - 52 - ], - "loc": { - "start": { - "line": 2, - "column": 14 - }, - "end": { - "line": 2, - "column": 28 - } - } - }, - "range": [ - 24, - 54 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 54 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/0-legacy/others/mod/mod.js.json b/ast/source/0-legacy/others/mod/mod.js.json deleted file mode 100644 index 9496d72..0000000 --- a/ast/source/0-legacy/others/mod/mod.js.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "type": "Program", - "body": [], - "sourceType": "module", - "range": [ - 35, - 35 - ], - "loc": { - "start": { - "line": 4, - "column": 3 - }, - "end": { - "line": 4, - "column": 3 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * COMPUTE MODULUS (a % b)\n ", - "range": [ - 1, - 35 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 4, - "column": 3 - } - } - } - ], - "comments": [ - { - "type": "Block", - "value": "*\n * COMPUTE MODULUS (a % b)\n ", - "range": [ - 1, - 35 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 4, - "column": 3 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/others/mod/montgomery.js.json b/ast/source/0-legacy/others/mod/montgomery.js.json deleted file mode 100644 index ddeb7a1..0000000 --- a/ast/source/0-legacy/others/mod/montgomery.js.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "type": "Program", - "body": [], - "sourceType": "module", - "range": [ - 106, - 106 - ], - "loc": { - "start": { - "line": 4, - "column": 3 - }, - "end": { - "line": 4, - "column": 3 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * COMPUTE MODULUS USING MONTGOMERY REDUCTION : http://en.wikipedia.org/wiki/Montgomery_reduction\n ", - "range": [ - 1, - 106 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 4, - "column": 3 - } - } - } - ], - "comments": [ - { - "type": "Block", - "value": "*\n * COMPUTE MODULUS USING MONTGOMERY REDUCTION : http://en.wikipedia.org/wiki/Montgomery_reduction\n ", - "range": [ - 1, - 106 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 4, - "column": 3 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/others/mpow/index.js.json b/ast/source/0-legacy/others/mpow/index.js.json deleted file mode 100644 index 9ff1dc5..0000000 --- a/ast/source/0-legacy/others/mpow/index.js.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./mpow", - "raw": "'./mpow'", - "range": [ - 14, - 22 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 22 - } - } - }, - "range": [ - 0, - 24 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 24 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 24 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/0-legacy/others/mpow/mpow.js.json b/ast/source/0-legacy/others/mpow/mpow.js.json deleted file mode 100644 index 4136f0e..0000000 --- a/ast/source/0-legacy/others/mpow/mpow.js.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "type": "Program", - "body": [], - "sourceType": "module", - "range": [ - 87, - 87 - ], - "loc": { - "start": { - "line": 3, - "column": 3 - }, - "end": { - "line": 3, - "column": 3 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * MODULAR EXPONENTIATION : http://en.wikipedia.org/wiki/Modular_exponentiation\n ", - "range": [ - 0, - 87 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 3 - } - } - } - ], - "comments": [ - { - "type": "Block", - "value": "*\n * MODULAR EXPONENTIATION : http://en.wikipedia.org/wiki/Modular_exponentiation\n ", - "range": [ - 0, - 87 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 3 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/others/neg/index.js.json b/ast/source/0-legacy/others/neg/index.js.json deleted file mode 100644 index 5a74ca6..0000000 --- a/ast/source/0-legacy/others/neg/index.js.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./neg", - "raw": "'./neg'", - "range": [ - 14, - 21 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 21 - } - } - }, - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/0-legacy/others/neg/neg.js.json b/ast/source/0-legacy/others/neg/neg.js.json deleted file mode 100644 index 108e9d9..0000000 --- a/ast/source/0-legacy/others/neg/neg.js.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "type": "Program", - "body": [], - "sourceType": "module", - "range": [ - 49, - 49 - ], - "loc": { - "start": { - "line": 3, - "column": 3 - }, - "end": { - "line": 3, - "column": 3 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * COMPUTE THE NEGATIVE VALUE OF NUMBER n\n ", - "range": [ - 0, - 49 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 3 - } - } - } - ], - "comments": [ - { - "type": "Block", - "value": "*\n * COMPUTE THE NEGATIVE VALUE OF NUMBER n\n ", - "range": [ - 0, - 49 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 3 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/others/pow/ebs.js.json b/ast/source/0-legacy/others/pow/ebs.js.json deleted file mode 100644 index abe4c4d..0000000 --- a/ast/source/0-legacy/others/pow/ebs.js.json +++ /dev/null @@ -1,3198 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "__ebs__", - "range": [ - 136, - 143 - ], - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 23 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "alloc", - "range": [ - 145, - 150 - ], - "loc": { - "start": { - "line": 8, - "column": 25 - }, - "end": { - "line": 8, - "column": 30 - } - } - }, - { - "type": "Identifier", - "name": "iszero", - "range": [ - 152, - 158 - ], - "loc": { - "start": { - "line": 8, - "column": 32 - }, - "end": { - "line": 8, - "column": 38 - } - } - }, - { - "type": "Identifier", - "name": "setone", - "range": [ - 160, - 166 - ], - "loc": { - "start": { - "line": 8, - "column": 40 - }, - "end": { - "line": 8, - "column": 46 - } - } - }, - { - "type": "Identifier", - "name": "iseven", - "range": [ - 168, - 174 - ], - "loc": { - "start": { - "line": 8, - "column": 48 - }, - "end": { - "line": 8, - "column": 54 - } - } - }, - { - "type": "Identifier", - "name": "div2", - "range": [ - 176, - 180 - ], - "loc": { - "start": { - "line": 8, - "column": 56 - }, - "end": { - "line": 8, - "column": 60 - } - } - }, - { - "type": "Identifier", - "name": "minus1", - "range": [ - 182, - 188 - ], - "loc": { - "start": { - "line": 8, - "column": 62 - }, - "end": { - "line": 8, - "column": 68 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "ebs", - "range": [ - 198, - 201 - ], - "loc": { - "start": { - "line": 10, - "column": 5 - }, - "end": { - "line": 10, - "column": 8 - } - } - }, - "init": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 214, - 215 - ], - "loc": { - "start": { - "line": 10, - "column": 21 - }, - "end": { - "line": 10, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 217, - 219 - ], - "loc": { - "start": { - "line": 10, - "column": 24 - }, - "end": { - "line": 10, - "column": 26 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 221, - 223 - ], - "loc": { - "start": { - "line": 10, - "column": 28 - }, - "end": { - "line": 10, - "column": 30 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 225, - 226 - ], - "loc": { - "start": { - "line": 10, - "column": 32 - }, - "end": { - "line": 10, - "column": 33 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 228, - 230 - ], - "loc": { - "start": { - "line": 10, - "column": 35 - }, - "end": { - "line": 10, - "column": 37 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 232, - 234 - ], - "loc": { - "start": { - "line": 10, - "column": 39 - }, - "end": { - "line": 10, - "column": 41 - } - } - }, - { - "type": "Identifier", - "name": "c", - "range": [ - 236, - 237 - ], - "loc": { - "start": { - "line": 10, - "column": 43 - }, - "end": { - "line": 10, - "column": 44 - } - } - }, - { - "type": "Identifier", - "name": "ci", - "range": [ - 239, - 241 - ], - "loc": { - "start": { - "line": 10, - "column": 46 - }, - "end": { - "line": 10, - "column": 48 - } - } - }, - { - "type": "Identifier", - "name": "cj", - "range": [ - 243, - 245 - ], - "loc": { - "start": { - "line": 10, - "column": 50 - }, - "end": { - "line": 10, - "column": 52 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "t", - "range": [ - 256, - 257 - ], - "loc": { - "start": { - "line": 12, - "column": 6 - }, - "end": { - "line": 12, - "column": 7 - } - } - }, - "init": null, - "range": [ - 256, - 257 - ], - "loc": { - "start": { - "line": 12, - "column": 6 - }, - "end": { - "line": 12, - "column": 7 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "u", - "range": [ - 259, - 260 - ], - "loc": { - "start": { - "line": 12, - "column": 9 - }, - "end": { - "line": 12, - "column": 10 - } - } - }, - "init": null, - "range": [ - 259, - 260 - ], - "loc": { - "start": { - "line": 12, - "column": 9 - }, - "end": { - "line": 12, - "column": 10 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "m", - "range": [ - 262, - 263 - ], - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 13 - } - } - }, - "init": null, - "range": [ - 262, - 263 - ], - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 13 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "n", - "range": [ - 265, - 266 - ], - "loc": { - "start": { - "line": 12, - "column": 15 - }, - "end": { - "line": 12, - "column": 16 - } - } - }, - "init": null, - "range": [ - 265, - 266 - ], - "loc": { - "start": { - "line": 12, - "column": 15 - }, - "end": { - "line": 12, - "column": 16 - } - } - } - ], - "kind": "var", - "range": [ - 252, - 267 - ], - "loc": { - "start": { - "line": 12, - "column": 2 - }, - "end": { - "line": 12, - "column": 17 - } - } - }, - { - "type": "IfStatement", - "test": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "iszero", - "range": [ - 276, - 282 - ], - "loc": { - "start": { - "line": 14, - "column": 7 - }, - "end": { - "line": 14, - "column": 13 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "b", - "range": [ - 283, - 284 - ], - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 15 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 286, - 288 - ], - "loc": { - "start": { - "line": 14, - "column": 17 - }, - "end": { - "line": 14, - "column": 19 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 290, - 292 - ], - "loc": { - "start": { - "line": 14, - "column": 21 - }, - "end": { - "line": 14, - "column": 23 - } - } - } - ], - "range": [ - 276, - 293 - ], - "loc": { - "start": { - "line": 14, - "column": 7 - }, - "end": { - "line": 14, - "column": 24 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "setone", - "range": [ - 301, - 307 - ], - "loc": { - "start": { - "line": 15, - "column": 3 - }, - "end": { - "line": 15, - "column": 9 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "c", - "range": [ - 308, - 309 - ], - "loc": { - "start": { - "line": 15, - "column": 10 - }, - "end": { - "line": 15, - "column": 11 - } - } - }, - { - "type": "Identifier", - "name": "ci", - "range": [ - 311, - 313 - ], - "loc": { - "start": { - "line": 15, - "column": 13 - }, - "end": { - "line": 15, - "column": 15 - } - } - }, - { - "type": "Identifier", - "name": "cj", - "range": [ - 315, - 317 - ], - "loc": { - "start": { - "line": 15, - "column": 17 - }, - "end": { - "line": 15, - "column": 19 - } - } - } - ], - "range": [ - 301, - 318 - ], - "loc": { - "start": { - "line": 15, - "column": 3 - }, - "end": { - "line": 15, - "column": 20 - } - } - }, - "range": [ - 301, - 319 - ], - "loc": { - "start": { - "line": 15, - "column": 3 - }, - "end": { - "line": 15, - "column": 21 - } - } - } - ], - "range": [ - 296, - 323 - ], - "loc": { - "start": { - "line": 14, - "column": 27 - }, - "end": { - "line": 16, - "column": 3 - } - } - }, - "alternate": { - "type": "IfStatement", - "test": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "iseven", - "range": [ - 336, - 342 - ], - "loc": { - "start": { - "line": 17, - "column": 12 - }, - "end": { - "line": 17, - "column": 18 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "b", - "range": [ - 343, - 344 - ], - "loc": { - "start": { - "line": 17, - "column": 19 - }, - "end": { - "line": 17, - "column": 20 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 346, - 348 - ], - "loc": { - "start": { - "line": 17, - "column": 22 - }, - "end": { - "line": 17, - "column": 24 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 350, - 352 - ], - "loc": { - "start": { - "line": 17, - "column": 26 - }, - "end": { - "line": 17, - "column": 28 - } - } - } - ], - "range": [ - 336, - 353 - ], - "loc": { - "start": { - "line": 17, - "column": 12 - }, - "end": { - "line": 17, - "column": 29 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "m", - "range": [ - 361, - 362 - ], - "loc": { - "start": { - "line": 18, - "column": 3 - }, - "end": { - "line": 18, - "column": 4 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "bj", - "range": [ - 365, - 367 - ], - "loc": { - "start": { - "line": 18, - "column": 7 - }, - "end": { - "line": 18, - "column": 9 - } - } - }, - "right": { - "type": "Identifier", - "name": "bi", - "range": [ - 370, - 372 - ], - "loc": { - "start": { - "line": 18, - "column": 12 - }, - "end": { - "line": 18, - "column": 14 - } - } - }, - "range": [ - 365, - 372 - ], - "loc": { - "start": { - "line": 18, - "column": 7 - }, - "end": { - "line": 18, - "column": 14 - } - } - }, - "range": [ - 361, - 372 - ], - "loc": { - "start": { - "line": 18, - "column": 3 - }, - "end": { - "line": 18, - "column": 14 - } - } - }, - "range": [ - 361, - 373 - ], - "loc": { - "start": { - "line": 18, - "column": 3 - }, - "end": { - "line": 18, - "column": 15 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "t", - "range": [ - 377, - 378 - ], - "loc": { - "start": { - "line": 19, - "column": 3 - }, - "end": { - "line": 19, - "column": 4 - } - } - }, - "right": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "alloc", - "range": [ - 381, - 386 - ], - "loc": { - "start": { - "line": 19, - "column": 7 - }, - "end": { - "line": 19, - "column": 12 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "m", - "range": [ - 387, - 388 - ], - "loc": { - "start": { - "line": 19, - "column": 13 - }, - "end": { - "line": 19, - "column": 14 - } - } - } - ], - "range": [ - 381, - 389 - ], - "loc": { - "start": { - "line": 19, - "column": 7 - }, - "end": { - "line": 19, - "column": 15 - } - } - }, - "range": [ - 377, - 389 - ], - "loc": { - "start": { - "line": 19, - "column": 3 - }, - "end": { - "line": 19, - "column": 15 - } - } - }, - "range": [ - 377, - 390 - ], - "loc": { - "start": { - "line": 19, - "column": 3 - }, - "end": { - "line": 19, - "column": 16 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "t", - "range": [ - 394, - 395 - ], - "loc": { - "start": { - "line": 20, - "column": 3 - }, - "end": { - "line": 20, - "column": 4 - } - } - }, - "right": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "div2", - "range": [ - 398, - 402 - ], - "loc": { - "start": { - "line": 20, - "column": 7 - }, - "end": { - "line": 20, - "column": 11 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "b", - "range": [ - 403, - 404 - ], - "loc": { - "start": { - "line": 20, - "column": 12 - }, - "end": { - "line": 20, - "column": 13 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 406, - 408 - ], - "loc": { - "start": { - "line": 20, - "column": 15 - }, - "end": { - "line": 20, - "column": 17 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 410, - 412 - ], - "loc": { - "start": { - "line": 20, - "column": 19 - }, - "end": { - "line": 20, - "column": 21 - } - } - }, - { - "type": "Identifier", - "name": "t", - "range": [ - 414, - 415 - ], - "loc": { - "start": { - "line": 20, - "column": 23 - }, - "end": { - "line": 20, - "column": 24 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 417, - 418 - ], - "loc": { - "start": { - "line": 20, - "column": 26 - }, - "end": { - "line": 20, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "m", - "range": [ - 420, - 421 - ], - "loc": { - "start": { - "line": 20, - "column": 29 - }, - "end": { - "line": 20, - "column": 30 - } - } - } - ], - "range": [ - 398, - 422 - ], - "loc": { - "start": { - "line": 20, - "column": 7 - }, - "end": { - "line": 20, - "column": 31 - } - } - }, - "range": [ - 394, - 422 - ], - "loc": { - "start": { - "line": 20, - "column": 3 - }, - "end": { - "line": 20, - "column": 31 - } - } - }, - "range": [ - 394, - 423 - ], - "loc": { - "start": { - "line": 20, - "column": 3 - }, - "end": { - "line": 20, - "column": 32 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "n", - "range": [ - 428, - 429 - ], - "loc": { - "start": { - "line": 22, - "column": 3 - }, - "end": { - "line": 22, - "column": 4 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "cj", - "range": [ - 432, - 434 - ], - "loc": { - "start": { - "line": 22, - "column": 7 - }, - "end": { - "line": 22, - "column": 9 - } - } - }, - "right": { - "type": "Identifier", - "name": "ci", - "range": [ - 437, - 439 - ], - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 14 - } - } - }, - "range": [ - 432, - 439 - ], - "loc": { - "start": { - "line": 22, - "column": 7 - }, - "end": { - "line": 22, - "column": 14 - } - } - }, - "range": [ - 428, - 439 - ], - "loc": { - "start": { - "line": 22, - "column": 3 - }, - "end": { - "line": 22, - "column": 14 - } - } - }, - "range": [ - 428, - 440 - ], - "loc": { - "start": { - "line": 22, - "column": 3 - }, - "end": { - "line": 22, - "column": 15 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "u", - "range": [ - 444, - 445 - ], - "loc": { - "start": { - "line": 23, - "column": 3 - }, - "end": { - "line": 23, - "column": 4 - } - } - }, - "right": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "alloc", - "range": [ - 448, - 453 - ], - "loc": { - "start": { - "line": 23, - "column": 7 - }, - "end": { - "line": 23, - "column": 12 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "n", - "range": [ - 454, - 455 - ], - "loc": { - "start": { - "line": 23, - "column": 13 - }, - "end": { - "line": 23, - "column": 14 - } - } - } - ], - "range": [ - 448, - 456 - ], - "loc": { - "start": { - "line": 23, - "column": 7 - }, - "end": { - "line": 23, - "column": 15 - } - } - }, - "range": [ - 444, - 456 - ], - "loc": { - "start": { - "line": 23, - "column": 3 - }, - "end": { - "line": 23, - "column": 15 - } - } - }, - "range": [ - 444, - 457 - ], - "loc": { - "start": { - "line": 23, - "column": 3 - }, - "end": { - "line": 23, - "column": 16 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "ebs", - "range": [ - 462, - 465 - ], - "loc": { - "start": { - "line": 25, - "column": 3 - }, - "end": { - "line": 25, - "column": 6 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 466, - 467 - ], - "loc": { - "start": { - "line": 25, - "column": 7 - }, - "end": { - "line": 25, - "column": 8 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 469, - 471 - ], - "loc": { - "start": { - "line": 25, - "column": 10 - }, - "end": { - "line": 25, - "column": 12 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 473, - 475 - ], - "loc": { - "start": { - "line": 25, - "column": 14 - }, - "end": { - "line": 25, - "column": 16 - } - } - }, - { - "type": "Identifier", - "name": "t", - "range": [ - 477, - 478 - ], - "loc": { - "start": { - "line": 25, - "column": 18 - }, - "end": { - "line": 25, - "column": 19 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 480, - 481 - ], - "loc": { - "start": { - "line": 25, - "column": 21 - }, - "end": { - "line": 25, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "m", - "range": [ - 483, - 484 - ], - "loc": { - "start": { - "line": 25, - "column": 24 - }, - "end": { - "line": 25, - "column": 25 - } - } - }, - { - "type": "Identifier", - "name": "u", - "range": [ - 486, - 487 - ], - "loc": { - "start": { - "line": 25, - "column": 27 - }, - "end": { - "line": 25, - "column": 28 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 489, - 490 - ], - "loc": { - "start": { - "line": 25, - "column": 30 - }, - "end": { - "line": 25, - "column": 31 - } - } - }, - { - "type": "Identifier", - "name": "n", - "range": [ - 492, - 493 - ], - "loc": { - "start": { - "line": 25, - "column": 33 - }, - "end": { - "line": 25, - "column": 34 - } - } - } - ], - "range": [ - 462, - 494 - ], - "loc": { - "start": { - "line": 25, - "column": 3 - }, - "end": { - "line": 25, - "column": 35 - } - } - }, - "range": [ - 462, - 495 - ], - "loc": { - "start": { - "line": 25, - "column": 3 - }, - "end": { - "line": 25, - "column": 36 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "mul", - "range": [ - 500, - 503 - ], - "loc": { - "start": { - "line": 27, - "column": 3 - }, - "end": { - "line": 27, - "column": 6 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "u", - "range": [ - 504, - 505 - ], - "loc": { - "start": { - "line": 27, - "column": 7 - }, - "end": { - "line": 27, - "column": 8 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 507, - 508 - ], - "loc": { - "start": { - "line": 27, - "column": 10 - }, - "end": { - "line": 27, - "column": 11 - } - } - }, - { - "type": "Identifier", - "name": "n", - "range": [ - 510, - 511 - ], - "loc": { - "start": { - "line": 27, - "column": 13 - }, - "end": { - "line": 27, - "column": 14 - } - } - }, - { - "type": "Identifier", - "name": "u", - "range": [ - 513, - 514 - ], - "loc": { - "start": { - "line": 27, - "column": 16 - }, - "end": { - "line": 27, - "column": 17 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 516, - 517 - ], - "loc": { - "start": { - "line": 27, - "column": 19 - }, - "end": { - "line": 27, - "column": 20 - } - } - }, - { - "type": "Identifier", - "name": "n", - "range": [ - 519, - 520 - ], - "loc": { - "start": { - "line": 27, - "column": 22 - }, - "end": { - "line": 27, - "column": 23 - } - } - }, - { - "type": "Identifier", - "name": "c", - "range": [ - 522, - 523 - ], - "loc": { - "start": { - "line": 27, - "column": 25 - }, - "end": { - "line": 27, - "column": 26 - } - } - }, - { - "type": "Identifier", - "name": "ci", - "range": [ - 525, - 527 - ], - "loc": { - "start": { - "line": 27, - "column": 28 - }, - "end": { - "line": 27, - "column": 30 - } - } - }, - { - "type": "Identifier", - "name": "cj", - "range": [ - 529, - 531 - ], - "loc": { - "start": { - "line": 27, - "column": 32 - }, - "end": { - "line": 27, - "column": 34 - } - } - } - ], - "range": [ - 500, - 532 - ], - "loc": { - "start": { - "line": 27, - "column": 3 - }, - "end": { - "line": 27, - "column": 35 - } - } - }, - "range": [ - 500, - 533 - ], - "loc": { - "start": { - "line": 27, - "column": 3 - }, - "end": { - "line": 27, - "column": 36 - } - } - } - ], - "range": [ - 356, - 537 - ], - "loc": { - "start": { - "line": 17, - "column": 32 - }, - "end": { - "line": 28, - "column": 3 - } - } - }, - "alternate": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "m", - "range": [ - 549, - 550 - ], - "loc": { - "start": { - "line": 30, - "column": 3 - }, - "end": { - "line": 30, - "column": 4 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "bj", - "range": [ - 553, - 555 - ], - "loc": { - "start": { - "line": 30, - "column": 7 - }, - "end": { - "line": 30, - "column": 9 - } - } - }, - "right": { - "type": "Identifier", - "name": "bi", - "range": [ - 558, - 560 - ], - "loc": { - "start": { - "line": 30, - "column": 12 - }, - "end": { - "line": 30, - "column": 14 - } - } - }, - "range": [ - 553, - 560 - ], - "loc": { - "start": { - "line": 30, - "column": 7 - }, - "end": { - "line": 30, - "column": 14 - } - } - }, - "range": [ - 549, - 560 - ], - "loc": { - "start": { - "line": 30, - "column": 3 - }, - "end": { - "line": 30, - "column": 14 - } - } - }, - "range": [ - 549, - 561 - ], - "loc": { - "start": { - "line": 30, - "column": 3 - }, - "end": { - "line": 30, - "column": 15 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "t", - "range": [ - 565, - 566 - ], - "loc": { - "start": { - "line": 31, - "column": 3 - }, - "end": { - "line": 31, - "column": 4 - } - } - }, - "right": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "alloc", - "range": [ - 569, - 574 - ], - "loc": { - "start": { - "line": 31, - "column": 7 - }, - "end": { - "line": 31, - "column": 12 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "m", - "range": [ - 575, - 576 - ], - "loc": { - "start": { - "line": 31, - "column": 13 - }, - "end": { - "line": 31, - "column": 14 - } - } - } - ], - "range": [ - 569, - 577 - ], - "loc": { - "start": { - "line": 31, - "column": 7 - }, - "end": { - "line": 31, - "column": 15 - } - } - }, - "range": [ - 565, - 577 - ], - "loc": { - "start": { - "line": 31, - "column": 3 - }, - "end": { - "line": 31, - "column": 15 - } - } - }, - "range": [ - 565, - 578 - ], - "loc": { - "start": { - "line": 31, - "column": 3 - }, - "end": { - "line": 31, - "column": 16 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "t", - "range": [ - 582, - 583 - ], - "loc": { - "start": { - "line": 32, - "column": 3 - }, - "end": { - "line": 32, - "column": 4 - } - } - }, - "right": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "minus1", - "range": [ - 586, - 592 - ], - "loc": { - "start": { - "line": 32, - "column": 7 - }, - "end": { - "line": 32, - "column": 13 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "b", - "range": [ - 593, - 594 - ], - "loc": { - "start": { - "line": 32, - "column": 14 - }, - "end": { - "line": 32, - "column": 15 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 596, - 598 - ], - "loc": { - "start": { - "line": 32, - "column": 17 - }, - "end": { - "line": 32, - "column": 19 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 600, - 602 - ], - "loc": { - "start": { - "line": 32, - "column": 21 - }, - "end": { - "line": 32, - "column": 23 - } - } - }, - { - "type": "Identifier", - "name": "t", - "range": [ - 604, - 605 - ], - "loc": { - "start": { - "line": 32, - "column": 25 - }, - "end": { - "line": 32, - "column": 26 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 607, - 608 - ], - "loc": { - "start": { - "line": 32, - "column": 28 - }, - "end": { - "line": 32, - "column": 29 - } - } - }, - { - "type": "Identifier", - "name": "m", - "range": [ - 610, - 611 - ], - "loc": { - "start": { - "line": 32, - "column": 31 - }, - "end": { - "line": 32, - "column": 32 - } - } - } - ], - "range": [ - 586, - 612 - ], - "loc": { - "start": { - "line": 32, - "column": 7 - }, - "end": { - "line": 32, - "column": 33 - } - } - }, - "range": [ - 582, - 612 - ], - "loc": { - "start": { - "line": 32, - "column": 3 - }, - "end": { - "line": 32, - "column": 33 - } - } - }, - "range": [ - 582, - 613 - ], - "loc": { - "start": { - "line": 32, - "column": 3 - }, - "end": { - "line": 32, - "column": 34 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "n", - "range": [ - 618, - 619 - ], - "loc": { - "start": { - "line": 34, - "column": 3 - }, - "end": { - "line": 34, - "column": 4 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "cj", - "range": [ - 622, - 624 - ], - "loc": { - "start": { - "line": 34, - "column": 7 - }, - "end": { - "line": 34, - "column": 9 - } - } - }, - "right": { - "type": "Identifier", - "name": "ci", - "range": [ - 627, - 629 - ], - "loc": { - "start": { - "line": 34, - "column": 12 - }, - "end": { - "line": 34, - "column": 14 - } - } - }, - "range": [ - 622, - 629 - ], - "loc": { - "start": { - "line": 34, - "column": 7 - }, - "end": { - "line": 34, - "column": 14 - } - } - }, - "range": [ - 618, - 629 - ], - "loc": { - "start": { - "line": 34, - "column": 3 - }, - "end": { - "line": 34, - "column": 14 - } - } - }, - "range": [ - 618, - 630 - ], - "loc": { - "start": { - "line": 34, - "column": 3 - }, - "end": { - "line": 34, - "column": 15 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "u", - "range": [ - 634, - 635 - ], - "loc": { - "start": { - "line": 35, - "column": 3 - }, - "end": { - "line": 35, - "column": 4 - } - } - }, - "right": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "alloc", - "range": [ - 638, - 643 - ], - "loc": { - "start": { - "line": 35, - "column": 7 - }, - "end": { - "line": 35, - "column": 12 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "n", - "range": [ - 644, - 645 - ], - "loc": { - "start": { - "line": 35, - "column": 13 - }, - "end": { - "line": 35, - "column": 14 - } - } - } - ], - "range": [ - 638, - 646 - ], - "loc": { - "start": { - "line": 35, - "column": 7 - }, - "end": { - "line": 35, - "column": 15 - } - } - }, - "range": [ - 634, - 646 - ], - "loc": { - "start": { - "line": 35, - "column": 3 - }, - "end": { - "line": 35, - "column": 15 - } - } - }, - "range": [ - 634, - 647 - ], - "loc": { - "start": { - "line": 35, - "column": 3 - }, - "end": { - "line": 35, - "column": 16 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "ebs", - "range": [ - 652, - 655 - ], - "loc": { - "start": { - "line": 37, - "column": 3 - }, - "end": { - "line": 37, - "column": 6 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 656, - 657 - ], - "loc": { - "start": { - "line": 37, - "column": 7 - }, - "end": { - "line": 37, - "column": 8 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 659, - 661 - ], - "loc": { - "start": { - "line": 37, - "column": 10 - }, - "end": { - "line": 37, - "column": 12 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 663, - 665 - ], - "loc": { - "start": { - "line": 37, - "column": 14 - }, - "end": { - "line": 37, - "column": 16 - } - } - }, - { - "type": "Identifier", - "name": "t", - "range": [ - 667, - 668 - ], - "loc": { - "start": { - "line": 37, - "column": 18 - }, - "end": { - "line": 37, - "column": 19 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 670, - 671 - ], - "loc": { - "start": { - "line": 37, - "column": 21 - }, - "end": { - "line": 37, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "m", - "range": [ - 673, - 674 - ], - "loc": { - "start": { - "line": 37, - "column": 24 - }, - "end": { - "line": 37, - "column": 25 - } - } - }, - { - "type": "Identifier", - "name": "u", - "range": [ - 676, - 677 - ], - "loc": { - "start": { - "line": 37, - "column": 27 - }, - "end": { - "line": 37, - "column": 28 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 679, - 680 - ], - "loc": { - "start": { - "line": 37, - "column": 30 - }, - "end": { - "line": 37, - "column": 31 - } - } - }, - { - "type": "Identifier", - "name": "n", - "range": [ - 682, - 683 - ], - "loc": { - "start": { - "line": 37, - "column": 33 - }, - "end": { - "line": 37, - "column": 34 - } - } - } - ], - "range": [ - 652, - 684 - ], - "loc": { - "start": { - "line": 37, - "column": 3 - }, - "end": { - "line": 37, - "column": 35 - } - } - }, - "range": [ - 652, - 685 - ], - "loc": { - "start": { - "line": 37, - "column": 3 - }, - "end": { - "line": 37, - "column": 36 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "mul", - "range": [ - 690, - 693 - ], - "loc": { - "start": { - "line": 39, - "column": 3 - }, - "end": { - "line": 39, - "column": 6 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 694, - 695 - ], - "loc": { - "start": { - "line": 39, - "column": 7 - }, - "end": { - "line": 39, - "column": 8 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 697, - 699 - ], - "loc": { - "start": { - "line": 39, - "column": 10 - }, - "end": { - "line": 39, - "column": 12 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 701, - 703 - ], - "loc": { - "start": { - "line": 39, - "column": 14 - }, - "end": { - "line": 39, - "column": 16 - } - } - }, - { - "type": "Identifier", - "name": "u", - "range": [ - 705, - 706 - ], - "loc": { - "start": { - "line": 39, - "column": 18 - }, - "end": { - "line": 39, - "column": 19 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 708, - 709 - ], - "loc": { - "start": { - "line": 39, - "column": 21 - }, - "end": { - "line": 39, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "n", - "range": [ - 711, - 712 - ], - "loc": { - "start": { - "line": 39, - "column": 24 - }, - "end": { - "line": 39, - "column": 25 - } - } - }, - { - "type": "Identifier", - "name": "c", - "range": [ - 714, - 715 - ], - "loc": { - "start": { - "line": 39, - "column": 27 - }, - "end": { - "line": 39, - "column": 28 - } - } - }, - { - "type": "Identifier", - "name": "ci", - "range": [ - 717, - 719 - ], - "loc": { - "start": { - "line": 39, - "column": 30 - }, - "end": { - "line": 39, - "column": 32 - } - } - }, - { - "type": "Identifier", - "name": "cj", - "range": [ - 721, - 723 - ], - "loc": { - "start": { - "line": 39, - "column": 34 - }, - "end": { - "line": 39, - "column": 36 - } - } - } - ], - "range": [ - 690, - 724 - ], - "loc": { - "start": { - "line": 39, - "column": 3 - }, - "end": { - "line": 39, - "column": 37 - } - } - }, - "range": [ - 690, - 725 - ], - "loc": { - "start": { - "line": 39, - "column": 3 - }, - "end": { - "line": 39, - "column": 38 - } - } - } - ], - "range": [ - 544, - 729 - ], - "loc": { - "start": { - "line": 29, - "column": 6 - }, - "end": { - "line": 40, - "column": 3 - } - } - }, - "range": [ - 331, - 729 - ], - "loc": { - "start": { - "line": 17, - "column": 7 - }, - "end": { - "line": 40, - "column": 3 - } - } - }, - "range": [ - 271, - 729 - ], - "loc": { - "start": { - "line": 14, - "column": 2 - }, - "end": { - "line": 40, - "column": 3 - } - } - } - ], - "range": [ - 247, - 732 - ], - "loc": { - "start": { - "line": 10, - "column": 54 - }, - "end": { - "line": 41, - "column": 2 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 204, - 732 - ], - "loc": { - "start": { - "line": 10, - "column": 11 - }, - "end": { - "line": 41, - "column": 2 - } - } - }, - "range": [ - 198, - 732 - ], - "loc": { - "start": { - "line": 10, - "column": 5 - }, - "end": { - "line": 41, - "column": 2 - } - } - } - ], - "kind": "var", - "range": [ - 194, - 733 - ], - "loc": { - "start": { - "line": 10, - "column": 1 - }, - "end": { - "line": 41, - "column": 3 - } - } - } - ], - "range": [ - 190, - 735 - ], - "loc": { - "start": { - "line": 8, - "column": 70 - }, - "end": { - "line": 42, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 127, - 735 - ], - "loc": { - "start": { - "line": 8, - "column": 7 - }, - "end": { - "line": 42, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Computes pow(a, b) using exponentiation by squaring.\n *\n * *could add an additional base case for b = 1*\n *\n ", - "range": [ - 0, - 118 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 6, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 120, - 735 - ], - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 42, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Computes pow(a, b) using exponentiation by squaring.\n *\n * *could add an additional base case for b = 1*\n *\n ", - "range": [ - 0, - 118 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 6, - "column": 3 - } - } - } - ] - } - ], - "sourceType": "module", - "range": [ - 120, - 735 - ], - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 42, - "column": 1 - } - }, - "comments": [ - { - "type": "Block", - "value": "*\n * Computes pow(a, b) using exponentiation by squaring.\n *\n * *could add an additional base case for b = 1*\n *\n ", - "range": [ - 0, - 118 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 6, - "column": 3 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/others/pow/index.js.json b/ast/source/0-legacy/others/pow/index.js.json deleted file mode 100644 index fabe8ba..0000000 --- a/ast/source/0-legacy/others/pow/index.js.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./ebs", - "raw": "'./ebs'", - "range": [ - 14, - 21 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 21 - } - } - }, - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./pow", - "raw": "'./pow'", - "range": [ - 38, - 45 - ], - "loc": { - "start": { - "line": 2, - "column": 14 - }, - "end": { - "line": 2, - "column": 21 - } - } - }, - "range": [ - 24, - 47 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 23 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 47 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 2, - "column": 23 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/0-legacy/others/pow/pow.js.json b/ast/source/0-legacy/others/pow/pow.js.json deleted file mode 100644 index 65fcfb3..0000000 --- a/ast/source/0-legacy/others/pow/pow.js.json +++ /dev/null @@ -1,1229 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "__pow__", - "range": [ - 78, - 85 - ], - "loc": { - "start": { - "line": 6, - "column": 16 - }, - "end": { - "line": 6, - "column": 23 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "alloc", - "range": [ - 87, - 92 - ], - "loc": { - "start": { - "line": 6, - "column": 25 - }, - "end": { - "line": 6, - "column": 30 - } - } - }, - { - "type": "Identifier", - "name": "isnotzero", - "range": [ - 94, - 103 - ], - "loc": { - "start": { - "line": 6, - "column": 32 - }, - "end": { - "line": 6, - "column": 41 - } - } - }, - { - "type": "Identifier", - "name": "setone", - "range": [ - 105, - 111 - ], - "loc": { - "start": { - "line": 6, - "column": 43 - }, - "end": { - "line": 6, - "column": 49 - } - } - }, - { - "type": "Identifier", - "name": "iseven", - "range": [ - 113, - 119 - ], - "loc": { - "start": { - "line": 6, - "column": 51 - }, - "end": { - "line": 6, - "column": 57 - } - } - }, - { - "type": "Identifier", - "name": "div2", - "range": [ - 121, - 125 - ], - "loc": { - "start": { - "line": 6, - "column": 59 - }, - "end": { - "line": 6, - "column": 63 - } - } - }, - { - "type": "Identifier", - "name": "minus1", - "range": [ - 127, - 133 - ], - "loc": { - "start": { - "line": 6, - "column": 65 - }, - "end": { - "line": 6, - "column": 71 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "pow", - "range": [ - 143, - 146 - ], - "loc": { - "start": { - "line": 8, - "column": 5 - }, - "end": { - "line": 8, - "column": 8 - } - } - }, - "init": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 159, - 160 - ], - "loc": { - "start": { - "line": 8, - "column": 21 - }, - "end": { - "line": 8, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 162, - 164 - ], - "loc": { - "start": { - "line": 8, - "column": 24 - }, - "end": { - "line": 8, - "column": 26 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 166, - 168 - ], - "loc": { - "start": { - "line": 8, - "column": 28 - }, - "end": { - "line": 8, - "column": 30 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 170, - 171 - ], - "loc": { - "start": { - "line": 8, - "column": 32 - }, - "end": { - "line": 8, - "column": 33 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 173, - 175 - ], - "loc": { - "start": { - "line": 8, - "column": 35 - }, - "end": { - "line": 8, - "column": 37 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 177, - 179 - ], - "loc": { - "start": { - "line": 8, - "column": 39 - }, - "end": { - "line": 8, - "column": 41 - } - } - }, - { - "type": "Identifier", - "name": "c", - "range": [ - 181, - 182 - ], - "loc": { - "start": { - "line": 8, - "column": 43 - }, - "end": { - "line": 8, - "column": 44 - } - } - }, - { - "type": "Identifier", - "name": "ci", - "range": [ - 184, - 186 - ], - "loc": { - "start": { - "line": 8, - "column": 46 - }, - "end": { - "line": 8, - "column": 48 - } - } - }, - { - "type": "Identifier", - "name": "cj", - "range": [ - 188, - 190 - ], - "loc": { - "start": { - "line": 8, - "column": 50 - }, - "end": { - "line": 8, - "column": 52 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "t", - "range": [ - 201, - 202 - ], - "loc": { - "start": { - "line": 10, - "column": 6 - }, - "end": { - "line": 10, - "column": 7 - } - } - }, - "init": null, - "range": [ - 201, - 202 - ], - "loc": { - "start": { - "line": 10, - "column": 6 - }, - "end": { - "line": 10, - "column": 7 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "m", - "range": [ - 204, - 205 - ], - "loc": { - "start": { - "line": 10, - "column": 9 - }, - "end": { - "line": 10, - "column": 10 - } - } - }, - "init": null, - "range": [ - 204, - 205 - ], - "loc": { - "start": { - "line": 10, - "column": 9 - }, - "end": { - "line": 10, - "column": 10 - } - } - } - ], - "kind": "var", - "range": [ - 197, - 206 - ], - "loc": { - "start": { - "line": 10, - "column": 2 - }, - "end": { - "line": 10, - "column": 11 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "setone", - "range": [ - 210, - 216 - ], - "loc": { - "start": { - "line": 12, - "column": 2 - }, - "end": { - "line": 12, - "column": 8 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "c", - "range": [ - 217, - 218 - ], - "loc": { - "start": { - "line": 12, - "column": 9 - }, - "end": { - "line": 12, - "column": 10 - } - } - }, - { - "type": "Identifier", - "name": "ci", - "range": [ - 220, - 222 - ], - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 14 - } - } - }, - { - "type": "Identifier", - "name": "cj", - "range": [ - 224, - 226 - ], - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 18 - } - } - } - ], - "range": [ - 210, - 227 - ], - "loc": { - "start": { - "line": 12, - "column": 2 - }, - "end": { - "line": 12, - "column": 19 - } - } - }, - "range": [ - 210, - 228 - ], - "loc": { - "start": { - "line": 12, - "column": 2 - }, - "end": { - "line": 12, - "column": 20 - } - } - }, - { - "type": "WhileStatement", - "test": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "isnotzero", - "range": [ - 239, - 248 - ], - "loc": { - "start": { - "line": 14, - "column": 9 - }, - "end": { - "line": 14, - "column": 18 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "b", - "range": [ - 249, - 250 - ], - "loc": { - "start": { - "line": 14, - "column": 19 - }, - "end": { - "line": 14, - "column": 20 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 252, - 254 - ], - "loc": { - "start": { - "line": 14, - "column": 22 - }, - "end": { - "line": 14, - "column": 24 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 256, - 258 - ], - "loc": { - "start": { - "line": 14, - "column": 26 - }, - "end": { - "line": 14, - "column": 28 - } - } - } - ], - "range": [ - 239, - 259 - ], - "loc": { - "start": { - "line": 14, - "column": 9 - }, - "end": { - "line": 14, - "column": 29 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "mul", - "range": [ - 267, - 270 - ], - "loc": { - "start": { - "line": 16, - "column": 3 - }, - "end": { - "line": 16, - "column": 6 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "c", - "range": [ - 271, - 272 - ], - "loc": { - "start": { - "line": 16, - "column": 7 - }, - "end": { - "line": 16, - "column": 8 - } - } - }, - { - "type": "Identifier", - "name": "ci", - "range": [ - 274, - 276 - ], - "loc": { - "start": { - "line": 16, - "column": 10 - }, - "end": { - "line": 16, - "column": 12 - } - } - }, - { - "type": "Identifier", - "name": "cj", - "range": [ - 278, - 280 - ], - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 16 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 282, - 283 - ], - "loc": { - "start": { - "line": 16, - "column": 18 - }, - "end": { - "line": 16, - "column": 19 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 285, - 287 - ], - "loc": { - "start": { - "line": 16, - "column": 21 - }, - "end": { - "line": 16, - "column": 23 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 289, - 291 - ], - "loc": { - "start": { - "line": 16, - "column": 25 - }, - "end": { - "line": 16, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "c", - "range": [ - 293, - 294 - ], - "loc": { - "start": { - "line": 16, - "column": 29 - }, - "end": { - "line": 16, - "column": 30 - } - } - }, - { - "type": "Identifier", - "name": "ci", - "range": [ - 296, - 298 - ], - "loc": { - "start": { - "line": 16, - "column": 32 - }, - "end": { - "line": 16, - "column": 34 - } - } - }, - { - "type": "Identifier", - "name": "cj", - "range": [ - 300, - 302 - ], - "loc": { - "start": { - "line": 16, - "column": 36 - }, - "end": { - "line": 16, - "column": 38 - } - } - } - ], - "range": [ - 267, - 303 - ], - "loc": { - "start": { - "line": 16, - "column": 3 - }, - "end": { - "line": 16, - "column": 39 - } - } - }, - "range": [ - 267, - 304 - ], - "loc": { - "start": { - "line": 16, - "column": 3 - }, - "end": { - "line": 16, - "column": 40 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "minus1", - "range": [ - 309, - 315 - ], - "loc": { - "start": { - "line": 18, - "column": 3 - }, - "end": { - "line": 18, - "column": 9 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "b", - "range": [ - 316, - 317 - ], - "loc": { - "start": { - "line": 18, - "column": 10 - }, - "end": { - "line": 18, - "column": 11 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 319, - 321 - ], - "loc": { - "start": { - "line": 18, - "column": 13 - }, - "end": { - "line": 18, - "column": 15 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 323, - 325 - ], - "loc": { - "start": { - "line": 18, - "column": 17 - }, - "end": { - "line": 18, - "column": 19 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 327, - 328 - ], - "loc": { - "start": { - "line": 18, - "column": 21 - }, - "end": { - "line": 18, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 330, - 332 - ], - "loc": { - "start": { - "line": 18, - "column": 24 - }, - "end": { - "line": 18, - "column": 26 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 334, - 336 - ], - "loc": { - "start": { - "line": 18, - "column": 28 - }, - "end": { - "line": 18, - "column": 30 - } - } - } - ], - "range": [ - 309, - 337 - ], - "loc": { - "start": { - "line": 18, - "column": 3 - }, - "end": { - "line": 18, - "column": 31 - } - } - }, - "range": [ - 309, - 338 - ], - "loc": { - "start": { - "line": 18, - "column": 3 - }, - "end": { - "line": 18, - "column": 32 - } - } - } - ], - "range": [ - 261, - 342 - ], - "loc": { - "start": { - "line": 14, - "column": 31 - }, - "end": { - "line": 19, - "column": 3 - } - } - }, - "range": [ - 232, - 342 - ], - "loc": { - "start": { - "line": 14, - "column": 2 - }, - "end": { - "line": 19, - "column": 3 - } - } - } - ], - "range": [ - 192, - 346 - ], - "loc": { - "start": { - "line": 8, - "column": 54 - }, - "end": { - "line": 21, - "column": 2 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 149, - 346 - ], - "loc": { - "start": { - "line": 8, - "column": 11 - }, - "end": { - "line": 21, - "column": 2 - } - } - }, - "range": [ - 143, - 346 - ], - "loc": { - "start": { - "line": 8, - "column": 5 - }, - "end": { - "line": 21, - "column": 2 - } - } - } - ], - "kind": "var", - "range": [ - 139, - 347 - ], - "loc": { - "start": { - "line": 8, - "column": 1 - }, - "end": { - "line": 21, - "column": 3 - } - } - } - ], - "range": [ - 135, - 349 - ], - "loc": { - "start": { - "line": 6, - "column": 73 - }, - "end": { - "line": 22, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 69, - 349 - ], - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 22, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Computes pow(a, b) using naive exponentiation.\n *\n ", - "range": [ - 0, - 60 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 4, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 62, - 349 - ], - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 22, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Computes pow(a, b) using naive exponentiation.\n *\n ", - "range": [ - 0, - 60 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 4, - "column": 3 - } - } - } - ] - } - ], - "sourceType": "module", - "range": [ - 62, - 349 - ], - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 22, - "column": 1 - } - }, - "comments": [ - { - "type": "Block", - "value": "*\n * Computes pow(a, b) using naive exponentiation.\n *\n ", - "range": [ - 0, - 60 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 4, - "column": 3 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/others/sha/index.js.json b/ast/source/0-legacy/others/sha/index.js.json deleted file mode 100644 index 7e0a66b..0000000 --- a/ast/source/0-legacy/others/sha/index.js.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./sha", - "raw": "'./sha'", - "range": [ - 14, - 21 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 21 - } - } - }, - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/0-legacy/others/sha/sha.js.json b/ast/source/0-legacy/others/sha/sha.js.json deleted file mode 100644 index 4c0f7da..0000000 --- a/ast/source/0-legacy/others/sha/sha.js.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "type": "Program", - "body": [], - "sourceType": "module", - "range": [ - 27, - 27 - ], - "loc": { - "start": { - "line": 3, - "column": 3 - }, - "end": { - "line": 3, - "column": 3 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * ARITHMETIC SHIFT\n ", - "range": [ - 0, - 27 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 3 - } - } - } - ], - "comments": [ - { - "type": "Block", - "value": "*\n * ARITHMETIC SHIFT\n ", - "range": [ - 0, - 27 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 3 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/others/shl/index.js.json b/ast/source/0-legacy/others/shl/index.js.json deleted file mode 100644 index 535595e..0000000 --- a/ast/source/0-legacy/others/shl/index.js.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./shl", - "raw": "'./shl'", - "range": [ - 14, - 21 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 21 - } - } - }, - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/0-legacy/others/shl/shl.js.json b/ast/source/0-legacy/others/shl/shl.js.json deleted file mode 100644 index 71c78c1..0000000 --- a/ast/source/0-legacy/others/shl/shl.js.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "type": "Program", - "body": [], - "sourceType": "module", - "range": [ - 24, - 24 - ], - "loc": { - "start": { - "line": 3, - "column": 3 - }, - "end": { - "line": 3, - "column": 3 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * LOGICAL SHIFT\n ", - "range": [ - 0, - 24 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 3 - } - } - } - ], - "comments": [ - { - "type": "Block", - "value": "*\n * LOGICAL SHIFT\n ", - "range": [ - 0, - 24 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 3 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/others/wrap/index.js.json b/ast/source/0-legacy/others/wrap/index.js.json deleted file mode 100644 index 2346fe3..0000000 --- a/ast/source/0-legacy/others/wrap/index.js.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./wrapbin", - "raw": "'./wrapbin'", - "range": [ - 14, - 25 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 25 - } - } - }, - "range": [ - 0, - 27 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 27 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./wrapcmp", - "raw": "'./wrapcmp'", - "range": [ - 42, - 53 - ], - "loc": { - "start": { - "line": 2, - "column": 14 - }, - "end": { - "line": 2, - "column": 25 - } - } - }, - "range": [ - 28, - 55 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 27 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./wrapmov", - "raw": "'./wrapmov'", - "range": [ - 70, - 81 - ], - "loc": { - "start": { - "line": 3, - "column": 14 - }, - "end": { - "line": 3, - "column": 25 - } - } - }, - "range": [ - 56, - 83 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 27 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 83 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 27 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/0-legacy/others/wrap/wrapbin.js.json b/ast/source/0-legacy/others/wrap/wrapbin.js.json deleted file mode 100644 index 7d394c3..0000000 --- a/ast/source/0-legacy/others/wrap/wrapbin.js.json +++ /dev/null @@ -1,1945 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "wrapbin", - "range": [ - 111, - 118 - ], - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 23 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "fn", - "range": [ - 120, - 122 - ], - "loc": { - "start": { - "line": 10, - "column": 25 - }, - "end": { - "line": 10, - "column": 27 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ReturnStatement", - "argument": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 143, - 144 - ], - "loc": { - "start": { - "line": 12, - "column": 17 - }, - "end": { - "line": 12, - "column": 18 - } - } - }, - { - "type": "Identifier", - "name": "i0", - "range": [ - 146, - 148 - ], - "loc": { - "start": { - "line": 12, - "column": 20 - }, - "end": { - "line": 12, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "i1", - "range": [ - 150, - 152 - ], - "loc": { - "start": { - "line": 12, - "column": 24 - }, - "end": { - "line": 12, - "column": 26 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 154, - 155 - ], - "loc": { - "start": { - "line": 12, - "column": 28 - }, - "end": { - "line": 12, - "column": 29 - } - } - }, - { - "type": "Identifier", - "name": "j0", - "range": [ - 157, - 159 - ], - "loc": { - "start": { - "line": 12, - "column": 31 - }, - "end": { - "line": 12, - "column": 33 - } - } - }, - { - "type": "Identifier", - "name": "j1", - "range": [ - 161, - 163 - ], - "loc": { - "start": { - "line": 12, - "column": 35 - }, - "end": { - "line": 12, - "column": 37 - } - } - }, - { - "type": "Identifier", - "name": "c", - "range": [ - 165, - 166 - ], - "loc": { - "start": { - "line": 12, - "column": 39 - }, - "end": { - "line": 12, - "column": 40 - } - } - }, - { - "type": "Identifier", - "name": "k0", - "range": [ - 168, - 170 - ], - "loc": { - "start": { - "line": 12, - "column": 42 - }, - "end": { - "line": 12, - "column": 44 - } - } - }, - { - "type": "Identifier", - "name": "k1", - "range": [ - 172, - 174 - ], - "loc": { - "start": { - "line": 12, - "column": 46 - }, - "end": { - "line": 12, - "column": 48 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "i", - "range": [ - 184, - 185 - ], - "loc": { - "start": { - "line": 14, - "column": 6 - }, - "end": { - "line": 14, - "column": 7 - } - } - }, - "init": null, - "range": [ - 184, - 185 - ], - "loc": { - "start": { - "line": 14, - "column": 6 - }, - "end": { - "line": 14, - "column": 7 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "j", - "range": [ - 187, - 188 - ], - "loc": { - "start": { - "line": 14, - "column": 9 - }, - "end": { - "line": 14, - "column": 10 - } - } - }, - "init": null, - "range": [ - 187, - 188 - ], - "loc": { - "start": { - "line": 14, - "column": 9 - }, - "end": { - "line": 14, - "column": 10 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "k", - "range": [ - 190, - 191 - ], - "loc": { - "start": { - "line": 14, - "column": 12 - }, - "end": { - "line": 14, - "column": 13 - } - } - }, - "init": null, - "range": [ - 190, - 191 - ], - "loc": { - "start": { - "line": 14, - "column": 12 - }, - "end": { - "line": 14, - "column": 13 - } - } - } - ], - "kind": "var", - "range": [ - 180, - 192 - ], - "loc": { - "start": { - "line": 14, - "column": 2 - }, - "end": { - "line": 14, - "column": 14 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "k0", - "range": [ - 196, - 198 - ], - "loc": { - "start": { - "line": 16, - "column": 2 - }, - "end": { - "line": 16, - "column": 4 - } - } - }, - "right": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "Math", - "range": [ - 201, - 205 - ], - "loc": { - "start": { - "line": 16, - "column": 7 - }, - "end": { - "line": 16, - "column": 11 - } - } - }, - "property": { - "type": "Identifier", - "name": "max", - "range": [ - 206, - 209 - ], - "loc": { - "start": { - "line": 16, - "column": 12 - }, - "end": { - "line": 16, - "column": 15 - } - } - }, - "range": [ - 201, - 209 - ], - "loc": { - "start": { - "line": 16, - "column": 7 - }, - "end": { - "line": 16, - "column": 15 - } - } - }, - "arguments": [ - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 210, - 211 - ], - "loc": { - "start": { - "line": 16, - "column": 16 - }, - "end": { - "line": 16, - "column": 17 - } - } - }, - { - "type": "Identifier", - "name": "k0", - "range": [ - 213, - 215 - ], - "loc": { - "start": { - "line": 16, - "column": 19 - }, - "end": { - "line": 16, - "column": 21 - } - } - } - ], - "range": [ - 201, - 216 - ], - "loc": { - "start": { - "line": 16, - "column": 7 - }, - "end": { - "line": 16, - "column": 22 - } - } - }, - "range": [ - 196, - 216 - ], - "loc": { - "start": { - "line": 16, - "column": 2 - }, - "end": { - "line": 16, - "column": 22 - } - } - }, - "range": [ - 196, - 217 - ], - "loc": { - "start": { - "line": 16, - "column": 2 - }, - "end": { - "line": 16, - "column": 23 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "k", - "range": [ - 220, - 221 - ], - "loc": { - "start": { - "line": 17, - "column": 2 - }, - "end": { - "line": 17, - "column": 3 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "k1", - "range": [ - 224, - 226 - ], - "loc": { - "start": { - "line": 17, - "column": 6 - }, - "end": { - "line": 17, - "column": 8 - } - } - }, - "right": { - "type": "Identifier", - "name": "k0", - "range": [ - 229, - 231 - ], - "loc": { - "start": { - "line": 17, - "column": 11 - }, - "end": { - "line": 17, - "column": 13 - } - } - }, - "range": [ - 224, - 231 - ], - "loc": { - "start": { - "line": 17, - "column": 6 - }, - "end": { - "line": 17, - "column": 13 - } - } - }, - "range": [ - 220, - 231 - ], - "loc": { - "start": { - "line": 17, - "column": 2 - }, - "end": { - "line": 17, - "column": 13 - } - } - }, - "range": [ - 220, - 232 - ], - "loc": { - "start": { - "line": 17, - "column": 2 - }, - "end": { - "line": 17, - "column": 14 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "i0", - "range": [ - 236, - 238 - ], - "loc": { - "start": { - "line": 19, - "column": 2 - }, - "end": { - "line": 19, - "column": 4 - } - } - }, - "right": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "Math", - "range": [ - 241, - 245 - ], - "loc": { - "start": { - "line": 19, - "column": 7 - }, - "end": { - "line": 19, - "column": 11 - } - } - }, - "property": { - "type": "Identifier", - "name": "max", - "range": [ - 246, - 249 - ], - "loc": { - "start": { - "line": 19, - "column": 12 - }, - "end": { - "line": 19, - "column": 15 - } - } - }, - "range": [ - 241, - 249 - ], - "loc": { - "start": { - "line": 19, - "column": 7 - }, - "end": { - "line": 19, - "column": 15 - } - } - }, - "arguments": [ - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 250, - 251 - ], - "loc": { - "start": { - "line": 19, - "column": 16 - }, - "end": { - "line": 19, - "column": 17 - } - } - }, - { - "type": "Identifier", - "name": "i0", - "range": [ - 253, - 255 - ], - "loc": { - "start": { - "line": 19, - "column": 19 - }, - "end": { - "line": 19, - "column": 21 - } - } - }, - { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "i1", - "range": [ - 257, - 259 - ], - "loc": { - "start": { - "line": 19, - "column": 23 - }, - "end": { - "line": 19, - "column": 25 - } - } - }, - "right": { - "type": "Identifier", - "name": "k", - "range": [ - 262, - 263 - ], - "loc": { - "start": { - "line": 19, - "column": 28 - }, - "end": { - "line": 19, - "column": 29 - } - } - }, - "range": [ - 257, - 263 - ], - "loc": { - "start": { - "line": 19, - "column": 23 - }, - "end": { - "line": 19, - "column": 29 - } - } - } - ], - "range": [ - 241, - 264 - ], - "loc": { - "start": { - "line": 19, - "column": 7 - }, - "end": { - "line": 19, - "column": 30 - } - } - }, - "range": [ - 236, - 264 - ], - "loc": { - "start": { - "line": 19, - "column": 2 - }, - "end": { - "line": 19, - "column": 30 - } - } - }, - "range": [ - 236, - 265 - ], - "loc": { - "start": { - "line": 19, - "column": 2 - }, - "end": { - "line": 19, - "column": 31 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "j0", - "range": [ - 268, - 270 - ], - "loc": { - "start": { - "line": 20, - "column": 2 - }, - "end": { - "line": 20, - "column": 4 - } - } - }, - "right": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "Math", - "range": [ - 273, - 277 - ], - "loc": { - "start": { - "line": 20, - "column": 7 - }, - "end": { - "line": 20, - "column": 11 - } - } - }, - "property": { - "type": "Identifier", - "name": "max", - "range": [ - 278, - 281 - ], - "loc": { - "start": { - "line": 20, - "column": 12 - }, - "end": { - "line": 20, - "column": 15 - } - } - }, - "range": [ - 273, - 281 - ], - "loc": { - "start": { - "line": 20, - "column": 7 - }, - "end": { - "line": 20, - "column": 15 - } - } - }, - "arguments": [ - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 282, - 283 - ], - "loc": { - "start": { - "line": 20, - "column": 16 - }, - "end": { - "line": 20, - "column": 17 - } - } - }, - { - "type": "Identifier", - "name": "j0", - "range": [ - 285, - 287 - ], - "loc": { - "start": { - "line": 20, - "column": 19 - }, - "end": { - "line": 20, - "column": 21 - } - } - }, - { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "j1", - "range": [ - 289, - 291 - ], - "loc": { - "start": { - "line": 20, - "column": 23 - }, - "end": { - "line": 20, - "column": 25 - } - } - }, - "right": { - "type": "Identifier", - "name": "k", - "range": [ - 294, - 295 - ], - "loc": { - "start": { - "line": 20, - "column": 28 - }, - "end": { - "line": 20, - "column": 29 - } - } - }, - "range": [ - 289, - 295 - ], - "loc": { - "start": { - "line": 20, - "column": 23 - }, - "end": { - "line": 20, - "column": 29 - } - } - } - ], - "range": [ - 273, - 296 - ], - "loc": { - "start": { - "line": 20, - "column": 7 - }, - "end": { - "line": 20, - "column": 30 - } - } - }, - "range": [ - 268, - 296 - ], - "loc": { - "start": { - "line": 20, - "column": 2 - }, - "end": { - "line": 20, - "column": 30 - } - } - }, - "range": [ - 268, - 297 - ], - "loc": { - "start": { - "line": 20, - "column": 2 - }, - "end": { - "line": 20, - "column": 31 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "i", - "range": [ - 300, - 301 - ], - "loc": { - "start": { - "line": 21, - "column": 2 - }, - "end": { - "line": 21, - "column": 3 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "i1", - "range": [ - 304, - 306 - ], - "loc": { - "start": { - "line": 21, - "column": 6 - }, - "end": { - "line": 21, - "column": 8 - } - } - }, - "right": { - "type": "Identifier", - "name": "i0", - "range": [ - 309, - 311 - ], - "loc": { - "start": { - "line": 21, - "column": 11 - }, - "end": { - "line": 21, - "column": 13 - } - } - }, - "range": [ - 304, - 311 - ], - "loc": { - "start": { - "line": 21, - "column": 6 - }, - "end": { - "line": 21, - "column": 13 - } - } - }, - "range": [ - 300, - 311 - ], - "loc": { - "start": { - "line": 21, - "column": 2 - }, - "end": { - "line": 21, - "column": 13 - } - } - }, - "range": [ - 300, - 312 - ], - "loc": { - "start": { - "line": 21, - "column": 2 - }, - "end": { - "line": 21, - "column": 14 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "j", - "range": [ - 315, - 316 - ], - "loc": { - "start": { - "line": 22, - "column": 2 - }, - "end": { - "line": 22, - "column": 3 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "j1", - "range": [ - 319, - 321 - ], - "loc": { - "start": { - "line": 22, - "column": 6 - }, - "end": { - "line": 22, - "column": 8 - } - } - }, - "right": { - "type": "Identifier", - "name": "j0", - "range": [ - 324, - 326 - ], - "loc": { - "start": { - "line": 22, - "column": 11 - }, - "end": { - "line": 22, - "column": 13 - } - } - }, - "range": [ - 319, - 326 - ], - "loc": { - "start": { - "line": 22, - "column": 6 - }, - "end": { - "line": 22, - "column": 13 - } - } - }, - "range": [ - 315, - 326 - ], - "loc": { - "start": { - "line": 22, - "column": 2 - }, - "end": { - "line": 22, - "column": 13 - } - } - }, - "range": [ - 315, - 327 - ], - "loc": { - "start": { - "line": 22, - "column": 2 - }, - "end": { - "line": 22, - "column": 14 - } - } - }, - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "i", - "range": [ - 334, - 335 - ], - "loc": { - "start": { - "line": 24, - "column": 5 - }, - "end": { - "line": 24, - "column": 6 - } - } - }, - "right": { - "type": "Identifier", - "name": "j", - "range": [ - 338, - 339 - ], - "loc": { - "start": { - "line": 24, - "column": 9 - }, - "end": { - "line": 24, - "column": 10 - } - } - }, - "range": [ - 334, - 339 - ], - "loc": { - "start": { - "line": 24, - "column": 5 - }, - "end": { - "line": 24, - "column": 10 - } - } - }, - "consequent": { - "type": "ReturnStatement", - "argument": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "fn", - "range": [ - 350, - 352 - ], - "loc": { - "start": { - "line": 25, - "column": 9 - }, - "end": { - "line": 25, - "column": 11 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "b", - "range": [ - 353, - 354 - ], - "loc": { - "start": { - "line": 25, - "column": 12 - }, - "end": { - "line": 25, - "column": 13 - } - } - }, - { - "type": "Identifier", - "name": "j0", - "range": [ - 356, - 358 - ], - "loc": { - "start": { - "line": 25, - "column": 15 - }, - "end": { - "line": 25, - "column": 17 - } - } - }, - { - "type": "Identifier", - "name": "j1", - "range": [ - 360, - 362 - ], - "loc": { - "start": { - "line": 25, - "column": 19 - }, - "end": { - "line": 25, - "column": 21 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 364, - 365 - ], - "loc": { - "start": { - "line": 25, - "column": 23 - }, - "end": { - "line": 25, - "column": 24 - } - } - }, - { - "type": "Identifier", - "name": "i0", - "range": [ - 367, - 369 - ], - "loc": { - "start": { - "line": 25, - "column": 26 - }, - "end": { - "line": 25, - "column": 28 - } - } - }, - { - "type": "Identifier", - "name": "i1", - "range": [ - 371, - 373 - ], - "loc": { - "start": { - "line": 25, - "column": 30 - }, - "end": { - "line": 25, - "column": 32 - } - } - }, - { - "type": "Identifier", - "name": "c", - "range": [ - 375, - 376 - ], - "loc": { - "start": { - "line": 25, - "column": 34 - }, - "end": { - "line": 25, - "column": 35 - } - } - }, - { - "type": "Identifier", - "name": "k0", - "range": [ - 378, - 380 - ], - "loc": { - "start": { - "line": 25, - "column": 37 - }, - "end": { - "line": 25, - "column": 39 - } - } - }, - { - "type": "Identifier", - "name": "k1", - "range": [ - 382, - 384 - ], - "loc": { - "start": { - "line": 25, - "column": 41 - }, - "end": { - "line": 25, - "column": 43 - } - } - } - ], - "range": [ - 350, - 385 - ], - "loc": { - "start": { - "line": 25, - "column": 9 - }, - "end": { - "line": 25, - "column": 44 - } - } - }, - "range": [ - 343, - 386 - ], - "loc": { - "start": { - "line": 25, - "column": 2 - }, - "end": { - "line": 25, - "column": 45 - } - } - }, - "alternate": { - "type": "ReturnStatement", - "argument": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "fn", - "range": [ - 404, - 406 - ], - "loc": { - "start": { - "line": 28, - "column": 9 - }, - "end": { - "line": 28, - "column": 11 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 407, - 408 - ], - "loc": { - "start": { - "line": 28, - "column": 12 - }, - "end": { - "line": 28, - "column": 13 - } - } - }, - { - "type": "Identifier", - "name": "i0", - "range": [ - 410, - 412 - ], - "loc": { - "start": { - "line": 28, - "column": 15 - }, - "end": { - "line": 28, - "column": 17 - } - } - }, - { - "type": "Identifier", - "name": "i1", - "range": [ - 414, - 416 - ], - "loc": { - "start": { - "line": 28, - "column": 19 - }, - "end": { - "line": 28, - "column": 21 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 418, - 419 - ], - "loc": { - "start": { - "line": 28, - "column": 23 - }, - "end": { - "line": 28, - "column": 24 - } - } - }, - { - "type": "Identifier", - "name": "j0", - "range": [ - 421, - 423 - ], - "loc": { - "start": { - "line": 28, - "column": 26 - }, - "end": { - "line": 28, - "column": 28 - } - } - }, - { - "type": "Identifier", - "name": "j1", - "range": [ - 425, - 427 - ], - "loc": { - "start": { - "line": 28, - "column": 30 - }, - "end": { - "line": 28, - "column": 32 - } - } - }, - { - "type": "Identifier", - "name": "c", - "range": [ - 429, - 430 - ], - "loc": { - "start": { - "line": 28, - "column": 34 - }, - "end": { - "line": 28, - "column": 35 - } - } - }, - { - "type": "Identifier", - "name": "k0", - "range": [ - 432, - 434 - ], - "loc": { - "start": { - "line": 28, - "column": 37 - }, - "end": { - "line": 28, - "column": 39 - } - } - }, - { - "type": "Identifier", - "name": "k1", - "range": [ - 436, - 438 - ], - "loc": { - "start": { - "line": 28, - "column": 41 - }, - "end": { - "line": 28, - "column": 43 - } - } - } - ], - "range": [ - 404, - 439 - ], - "loc": { - "start": { - "line": 28, - "column": 9 - }, - "end": { - "line": 28, - "column": 44 - } - } - }, - "range": [ - 397, - 440 - ], - "loc": { - "start": { - "line": 28, - "column": 2 - }, - "end": { - "line": 28, - "column": 45 - } - } - }, - "range": [ - 331, - 440 - ], - "loc": { - "start": { - "line": 24, - "column": 2 - }, - "end": { - "line": 28, - "column": 45 - } - } - } - ], - "range": [ - 175, - 443 - ], - "loc": { - "start": { - "line": 12, - "column": 49 - }, - "end": { - "line": 29, - "column": 2 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 134, - 443 - ], - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 29, - "column": 2 - } - } - }, - "range": [ - 127, - 444 - ], - "loc": { - "start": { - "line": 12, - "column": 1 - }, - "end": { - "line": 29, - "column": 3 - } - } - } - ], - "range": [ - 123, - 446 - ], - "loc": { - "start": { - "line": 10, - "column": 28 - }, - "end": { - "line": 30, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 102, - 446 - ], - "loc": { - "start": { - "line": 10, - "column": 7 - }, - "end": { - "line": 30, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Wrapper for binary operator.\n * Ensures\n *\n * i >= j\n * i0, j0, k0 >= 0\n *\n ", - "range": [ - 0, - 93 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 8, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 95, - 446 - ], - "loc": { - "start": { - "line": 10, - "column": 0 - }, - "end": { - "line": 30, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Wrapper for binary operator.\n * Ensures\n *\n * i >= j\n * i0, j0, k0 >= 0\n *\n ", - "range": [ - 0, - 93 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 8, - "column": 3 - } - } - } - ] - } - ], - "sourceType": "module", - "range": [ - 95, - 446 - ], - "loc": { - "start": { - "line": 10, - "column": 0 - }, - "end": { - "line": 30, - "column": 1 - } - }, - "comments": [ - { - "type": "Block", - "value": "*\n * Wrapper for binary operator.\n * Ensures\n *\n * i >= j\n * i0, j0, k0 >= 0\n *\n ", - "range": [ - 0, - 93 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 8, - "column": 3 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/others/wrap/wrapcmp.js.json b/ast/source/0-legacy/others/wrap/wrapcmp.js.json deleted file mode 100644 index 6dde5e0..0000000 --- a/ast/source/0-legacy/others/wrap/wrapcmp.js.json +++ /dev/null @@ -1,845 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "wrapcmp", - "range": [ - 19, - 26 - ], - "loc": { - "start": { - "line": 4, - "column": 16 - }, - "end": { - "line": 4, - "column": 23 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "cmp", - "range": [ - 28, - 31 - ], - "loc": { - "start": { - "line": 4, - "column": 25 - }, - "end": { - "line": 4, - "column": 28 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ReturnStatement", - "argument": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 54, - 55 - ], - "loc": { - "start": { - "line": 7, - "column": 17 - }, - "end": { - "line": 7, - "column": 18 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 57, - 59 - ], - "loc": { - "start": { - "line": 7, - "column": 20 - }, - "end": { - "line": 7, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 61, - 63 - ], - "loc": { - "start": { - "line": 7, - "column": 24 - }, - "end": { - "line": 7, - "column": 26 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 65, - 66 - ], - "loc": { - "start": { - "line": 7, - "column": 28 - }, - "end": { - "line": 7, - "column": 29 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 68, - 70 - ], - "loc": { - "start": { - "line": 7, - "column": 31 - }, - "end": { - "line": 7, - "column": 33 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 72, - 74 - ], - "loc": { - "start": { - "line": 7, - "column": 35 - }, - "end": { - "line": 7, - "column": 37 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "aj", - "range": [ - 84, - 86 - ], - "loc": { - "start": { - "line": 9, - "column": 6 - }, - "end": { - "line": 9, - "column": 8 - } - } - }, - "right": { - "type": "Identifier", - "name": "ai", - "range": [ - 89, - 91 - ], - "loc": { - "start": { - "line": 9, - "column": 11 - }, - "end": { - "line": 9, - "column": 13 - } - } - }, - "range": [ - 84, - 91 - ], - "loc": { - "start": { - "line": 9, - "column": 6 - }, - "end": { - "line": 9, - "column": 13 - } - } - }, - "right": { - "type": "Identifier", - "name": "bi", - "range": [ - 94, - 96 - ], - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 18 - } - } - }, - "range": [ - 84, - 96 - ], - "loc": { - "start": { - "line": 9, - "column": 6 - }, - "end": { - "line": 9, - "column": 18 - } - } - }, - "right": { - "type": "Identifier", - "name": "bj", - "range": [ - 99, - 101 - ], - "loc": { - "start": { - "line": 9, - "column": 21 - }, - "end": { - "line": 9, - "column": 23 - } - } - }, - "range": [ - 84, - 101 - ], - "loc": { - "start": { - "line": 9, - "column": 6 - }, - "end": { - "line": 9, - "column": 23 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 104, - 105 - ], - "loc": { - "start": { - "line": 9, - "column": 26 - }, - "end": { - "line": 9, - "column": 27 - } - } - }, - "range": [ - 84, - 105 - ], - "loc": { - "start": { - "line": 9, - "column": 6 - }, - "end": { - "line": 9, - "column": 27 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "ReturnStatement", - "argument": { - "type": "UnaryExpression", - "operator": "-", - "argument": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "cmp", - "range": [ - 121, - 124 - ], - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 15 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "b", - "range": [ - 125, - 126 - ], - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 17 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 128, - 130 - ], - "loc": { - "start": { - "line": 10, - "column": 19 - }, - "end": { - "line": 10, - "column": 21 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 132, - 134 - ], - "loc": { - "start": { - "line": 10, - "column": 23 - }, - "end": { - "line": 10, - "column": 25 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 136, - 137 - ], - "loc": { - "start": { - "line": 10, - "column": 27 - }, - "end": { - "line": 10, - "column": 28 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 139, - 141 - ], - "loc": { - "start": { - "line": 10, - "column": 30 - }, - "end": { - "line": 10, - "column": 32 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 143, - 145 - ], - "loc": { - "start": { - "line": 10, - "column": 34 - }, - "end": { - "line": 10, - "column": 36 - } - } - } - ], - "range": [ - 121, - 146 - ], - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 37 - } - } - }, - "prefix": true, - "range": [ - 119, - 146 - ], - "loc": { - "start": { - "line": 10, - "column": 10 - }, - "end": { - "line": 10, - "column": 37 - } - } - }, - "range": [ - 112, - 147 - ], - "loc": { - "start": { - "line": 10, - "column": 3 - }, - "end": { - "line": 10, - "column": 38 - } - } - } - ], - "range": [ - 107, - 151 - ], - "loc": { - "start": { - "line": 9, - "column": 29 - }, - "end": { - "line": 11, - "column": 3 - } - } - }, - "alternate": { - "type": "BlockStatement", - "body": [ - { - "type": "ReturnStatement", - "argument": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "cmp", - "range": [ - 171, - 174 - ], - "loc": { - "start": { - "line": 13, - "column": 10 - }, - "end": { - "line": 13, - "column": 13 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 175, - 176 - ], - "loc": { - "start": { - "line": 13, - "column": 14 - }, - "end": { - "line": 13, - "column": 15 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 178, - 180 - ], - "loc": { - "start": { - "line": 13, - "column": 17 - }, - "end": { - "line": 13, - "column": 19 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 182, - 184 - ], - "loc": { - "start": { - "line": 13, - "column": 21 - }, - "end": { - "line": 13, - "column": 23 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 186, - 187 - ], - "loc": { - "start": { - "line": 13, - "column": 25 - }, - "end": { - "line": 13, - "column": 26 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 189, - 191 - ], - "loc": { - "start": { - "line": 13, - "column": 28 - }, - "end": { - "line": 13, - "column": 30 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 193, - 195 - ], - "loc": { - "start": { - "line": 13, - "column": 32 - }, - "end": { - "line": 13, - "column": 34 - } - } - } - ], - "range": [ - 171, - 196 - ], - "loc": { - "start": { - "line": 13, - "column": 10 - }, - "end": { - "line": 13, - "column": 35 - } - } - }, - "range": [ - 164, - 197 - ], - "loc": { - "start": { - "line": 13, - "column": 3 - }, - "end": { - "line": 13, - "column": 36 - } - } - } - ], - "range": [ - 159, - 201 - ], - "loc": { - "start": { - "line": 12, - "column": 7 - }, - "end": { - "line": 14, - "column": 3 - } - } - }, - "range": [ - 80, - 201 - ], - "loc": { - "start": { - "line": 9, - "column": 2 - }, - "end": { - "line": 14, - "column": 3 - } - } - } - ], - "range": [ - 75, - 205 - ], - "loc": { - "start": { - "line": 7, - "column": 38 - }, - "end": { - "line": 16, - "column": 2 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 45, - 205 - ], - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 16, - "column": 2 - } - } - }, - "range": [ - 38, - 206 - ], - "loc": { - "start": { - "line": 7, - "column": 1 - }, - "end": { - "line": 16, - "column": 3 - } - } - } - ], - "range": [ - 33, - 209 - ], - "loc": { - "start": { - "line": 4, - "column": 30 - }, - "end": { - "line": 18, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 10, - 209 - ], - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 18, - "column": 1 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 3, - 209 - ], - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 18, - "column": 1 - } - } - } - ], - "sourceType": "module", - "range": [ - 3, - 209 - ], - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 18, - "column": 1 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/0-legacy/others/wrap/wrapmov.js.json b/ast/source/0-legacy/others/wrap/wrapmov.js.json deleted file mode 100644 index 176803e..0000000 --- a/ast/source/0-legacy/others/wrap/wrapmov.js.json +++ /dev/null @@ -1,880 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "wrapmov", - "range": [ - 18, - 25 - ], - "loc": { - "start": { - "line": 3, - "column": 16 - }, - "end": { - "line": 3, - "column": 23 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "fn", - "range": [ - 27, - 29 - ], - "loc": { - "start": { - "line": 3, - "column": 25 - }, - "end": { - "line": 3, - "column": 27 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ReturnStatement", - "argument": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 49, - 50 - ], - "loc": { - "start": { - "line": 4, - "column": 17 - }, - "end": { - "line": 4, - "column": 18 - } - } - }, - { - "type": "Identifier", - "name": "i", - "range": [ - 52, - 53 - ], - "loc": { - "start": { - "line": 4, - "column": 20 - }, - "end": { - "line": 4, - "column": 21 - } - } - }, - { - "type": "Identifier", - "name": "j", - "range": [ - 55, - 56 - ], - "loc": { - "start": { - "line": 4, - "column": 23 - }, - "end": { - "line": 4, - "column": 24 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 58, - 59 - ], - "loc": { - "start": { - "line": 4, - "column": 26 - }, - "end": { - "line": 4, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "k", - "range": [ - 61, - 62 - ], - "loc": { - "start": { - "line": 4, - "column": 29 - }, - "end": { - "line": 4, - "column": 30 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "i", - "range": [ - 71, - 72 - ], - "loc": { - "start": { - "line": 6, - "column": 5 - }, - "end": { - "line": 6, - "column": 6 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 75, - 76 - ], - "loc": { - "start": { - "line": 6, - "column": 9 - }, - "end": { - "line": 6, - "column": 10 - } - } - }, - "range": [ - 71, - 76 - ], - "loc": { - "start": { - "line": 6, - "column": 5 - }, - "end": { - "line": 6, - "column": 10 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "-=", - "left": { - "type": "Identifier", - "name": "k", - "range": [ - 82, - 83 - ], - "loc": { - "start": { - "line": 7, - "column": 3 - }, - "end": { - "line": 7, - "column": 4 - } - } - }, - "right": { - "type": "Identifier", - "name": "i", - "range": [ - 87, - 88 - ], - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 7, - "column": 9 - } - } - }, - "range": [ - 82, - 88 - ], - "loc": { - "start": { - "line": 7, - "column": 3 - }, - "end": { - "line": 7, - "column": 9 - } - } - }, - "range": [ - 82, - 89 - ], - "loc": { - "start": { - "line": 7, - "column": 3 - }, - "end": { - "line": 7, - "column": 10 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "i", - "range": [ - 93, - 94 - ], - "loc": { - "start": { - "line": 8, - "column": 3 - }, - "end": { - "line": 8, - "column": 4 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 97, - 98 - ], - "loc": { - "start": { - "line": 8, - "column": 7 - }, - "end": { - "line": 8, - "column": 8 - } - } - }, - "range": [ - 93, - 98 - ], - "loc": { - "start": { - "line": 8, - "column": 3 - }, - "end": { - "line": 8, - "column": 8 - } - } - }, - "range": [ - 93, - 99 - ], - "loc": { - "start": { - "line": 8, - "column": 3 - }, - "end": { - "line": 8, - "column": 9 - } - } - } - ], - "range": [ - 77, - 103 - ], - "loc": { - "start": { - "line": 6, - "column": 11 - }, - "end": { - "line": 9, - "column": 3 - } - } - }, - "alternate": null, - "range": [ - 68, - 103 - ], - "loc": { - "start": { - "line": 6, - "column": 2 - }, - "end": { - "line": 9, - "column": 3 - } - } - }, - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "k", - "range": [ - 109, - 110 - ], - "loc": { - "start": { - "line": 10, - "column": 5 - }, - "end": { - "line": 10, - "column": 6 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 113, - 114 - ], - "loc": { - "start": { - "line": 10, - "column": 9 - }, - "end": { - "line": 10, - "column": 10 - } - } - }, - "range": [ - 109, - 114 - ], - "loc": { - "start": { - "line": 10, - "column": 5 - }, - "end": { - "line": 10, - "column": 10 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "-=", - "left": { - "type": "Identifier", - "name": "i", - "range": [ - 120, - 121 - ], - "loc": { - "start": { - "line": 11, - "column": 3 - }, - "end": { - "line": 11, - "column": 4 - } - } - }, - "right": { - "type": "Identifier", - "name": "k", - "range": [ - 125, - 126 - ], - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 9 - } - } - }, - "range": [ - 120, - 126 - ], - "loc": { - "start": { - "line": 11, - "column": 3 - }, - "end": { - "line": 11, - "column": 9 - } - } - }, - "range": [ - 120, - 127 - ], - "loc": { - "start": { - "line": 11, - "column": 3 - }, - "end": { - "line": 11, - "column": 10 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "k", - "range": [ - 131, - 132 - ], - "loc": { - "start": { - "line": 12, - "column": 3 - }, - "end": { - "line": 12, - "column": 4 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 135, - 136 - ], - "loc": { - "start": { - "line": 12, - "column": 7 - }, - "end": { - "line": 12, - "column": 8 - } - } - }, - "range": [ - 131, - 136 - ], - "loc": { - "start": { - "line": 12, - "column": 3 - }, - "end": { - "line": 12, - "column": 8 - } - } - }, - "range": [ - 131, - 137 - ], - "loc": { - "start": { - "line": 12, - "column": 3 - }, - "end": { - "line": 12, - "column": 9 - } - } - } - ], - "range": [ - 115, - 141 - ], - "loc": { - "start": { - "line": 10, - "column": 11 - }, - "end": { - "line": 13, - "column": 3 - } - } - }, - "alternate": null, - "range": [ - 106, - 141 - ], - "loc": { - "start": { - "line": 10, - "column": 2 - }, - "end": { - "line": 13, - "column": 3 - } - } - }, - { - "type": "ReturnStatement", - "argument": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "fn", - "range": [ - 151, - 153 - ], - "loc": { - "start": { - "line": 14, - "column": 9 - }, - "end": { - "line": 14, - "column": 11 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 154, - 155 - ], - "loc": { - "start": { - "line": 14, - "column": 12 - }, - "end": { - "line": 14, - "column": 13 - } - } - }, - { - "type": "Identifier", - "name": "i", - "range": [ - 157, - 158 - ], - "loc": { - "start": { - "line": 14, - "column": 15 - }, - "end": { - "line": 14, - "column": 16 - } - } - }, - { - "type": "Identifier", - "name": "j", - "range": [ - 160, - 161 - ], - "loc": { - "start": { - "line": 14, - "column": 18 - }, - "end": { - "line": 14, - "column": 19 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 163, - 164 - ], - "loc": { - "start": { - "line": 14, - "column": 21 - }, - "end": { - "line": 14, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "k", - "range": [ - 166, - 167 - ], - "loc": { - "start": { - "line": 14, - "column": 24 - }, - "end": { - "line": 14, - "column": 25 - } - } - } - ], - "range": [ - 151, - 168 - ], - "loc": { - "start": { - "line": 14, - "column": 9 - }, - "end": { - "line": 14, - "column": 26 - } - } - }, - "range": [ - 144, - 169 - ], - "loc": { - "start": { - "line": 14, - "column": 2 - }, - "end": { - "line": 14, - "column": 27 - } - } - } - ], - "range": [ - 63, - 173 - ], - "loc": { - "start": { - "line": 4, - "column": 31 - }, - "end": { - "line": 16, - "column": 2 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 40, - 173 - ], - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 16, - "column": 2 - } - } - }, - "range": [ - 33, - 174 - ], - "loc": { - "start": { - "line": 4, - "column": 1 - }, - "end": { - "line": 16, - "column": 3 - } - } - } - ], - "range": [ - 30, - 176 - ], - "loc": { - "start": { - "line": 3, - "column": 28 - }, - "end": { - "line": 17, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 9, - 176 - ], - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 17, - "column": 1 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 2, - 176 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 17, - "column": 1 - } - } - } - ], - "sourceType": "module", - "range": [ - 2, - 176 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 17, - "column": 1 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/0-legacy/parse/index.js.json b/ast/source/0-legacy/parse/index.js.json deleted file mode 100644 index 4a5493d..0000000 --- a/ast/source/0-legacy/parse/index.js.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./parse", - "raw": "'./parse'", - "range": [ - 14, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 23 - } - } - }, - "range": [ - 0, - 25 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 25 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 25 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 25 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/0-legacy/parse/parse.js.json b/ast/source/0-legacy/parse/parse.js.json deleted file mode 100644 index fc522ea..0000000 --- a/ast/source/0-legacy/parse/parse.js.json +++ /dev/null @@ -1,2282 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "parse_t", - "range": [ - 263, - 270 - ], - "loc": { - "start": { - "line": 13, - "column": 16 - }, - "end": { - "line": 13, - "column": 23 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "t", - "range": [ - 273, - 274 - ], - "loc": { - "start": { - "line": 13, - "column": 26 - }, - "end": { - "line": 13, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "f", - "range": [ - 277, - 278 - ], - "loc": { - "start": { - "line": 13, - "column": 30 - }, - "end": { - "line": 13, - "column": 31 - } - } - }, - { - "type": "Identifier", - "name": "iter", - "range": [ - 281, - 285 - ], - "loc": { - "start": { - "line": 13, - "column": 34 - }, - "end": { - "line": 13, - "column": 38 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "Identifier", - "name": "t", - "range": [ - 295, - 296 - ], - "loc": { - "start": { - "line": 15, - "column": 4 - }, - "end": { - "line": 15, - "column": 5 - } - } - }, - "right": { - "type": "Identifier", - "name": "f", - "range": [ - 300, - 301 - ], - "loc": { - "start": { - "line": 15, - "column": 9 - }, - "end": { - "line": 15, - "column": 10 - } - } - }, - "range": [ - 295, - 301 - ], - "loc": { - "start": { - "line": 15, - "column": 4 - }, - "end": { - "line": 15, - "column": 10 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": ">", - "left": { - "type": "Identifier", - "name": "f", - "range": [ - 310, - 311 - ], - "loc": { - "start": { - "line": 17, - "column": 5 - }, - "end": { - "line": 17, - "column": 6 - } - } - }, - "right": { - "type": "Literal", - "value": 36, - "raw": "36", - "range": [ - 314, - 316 - ], - "loc": { - "start": { - "line": 17, - "column": 9 - }, - "end": { - "line": 17, - "column": 11 - } - } - }, - "range": [ - 310, - 316 - ], - "loc": { - "start": { - "line": 17, - "column": 5 - }, - "end": { - "line": 17, - "column": 11 - } - } - }, - "consequent": { - "type": "ThrowStatement", - "argument": { - "type": "Literal", - "value": "f > 36 not implemented", - "raw": "'f > 36 not implemented'", - "range": [ - 324, - 348 - ], - "loc": { - "start": { - "line": 17, - "column": 19 - }, - "end": { - "line": 17, - "column": 43 - } - } - }, - "range": [ - 318, - 349 - ], - "loc": { - "start": { - "line": 17, - "column": 13 - }, - "end": { - "line": 17, - "column": 44 - } - } - }, - "alternate": null, - "range": [ - 307, - 349 - ], - "loc": { - "start": { - "line": 17, - "column": 2 - }, - "end": { - "line": 17, - "column": 44 - } - } - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "z", - "range": [ - 357, - 358 - ], - "loc": { - "start": { - "line": 19, - "column": 6 - }, - "end": { - "line": 19, - "column": 7 - } - } - }, - "init": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 361, - 362 - ], - "loc": { - "start": { - "line": 19, - "column": 10 - }, - "end": { - "line": 19, - "column": 11 - } - } - }, - "range": [ - 357, - 362 - ], - "loc": { - "start": { - "line": 19, - "column": 6 - }, - "end": { - "line": 19, - "column": 11 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "log", - "range": [ - 364, - 367 - ], - "loc": { - "start": { - "line": 19, - "column": 13 - }, - "end": { - "line": 19, - "column": 16 - } - } - }, - "init": { - "type": "Identifier", - "name": "t", - "range": [ - 370, - 371 - ], - "loc": { - "start": { - "line": 19, - "column": 19 - }, - "end": { - "line": 19, - "column": 20 - } - } - }, - "range": [ - 364, - 371 - ], - "loc": { - "start": { - "line": 19, - "column": 13 - }, - "end": { - "line": 19, - "column": 20 - } - } - } - ], - "kind": "var", - "range": [ - 353, - 372 - ], - "loc": { - "start": { - "line": 19, - "column": 2 - }, - "end": { - "line": 19, - "column": 21 - } - } - }, - { - "type": "WhileStatement", - "test": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "Identifier", - "name": "log", - "range": [ - 381, - 384 - ], - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 11 - } - } - }, - "right": { - "type": "Identifier", - "name": "f", - "range": [ - 388, - 389 - ], - "loc": { - "start": { - "line": 20, - "column": 15 - }, - "end": { - "line": 20, - "column": 16 - } - } - }, - "range": [ - 381, - 389 - ], - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 16 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "%", - "left": { - "type": "Identifier", - "name": "log", - "range": [ - 399, - 402 - ], - "loc": { - "start": { - "line": 21, - "column": 7 - }, - "end": { - "line": 21, - "column": 10 - } - } - }, - "right": { - "type": "Identifier", - "name": "f", - "range": [ - 405, - 406 - ], - "loc": { - "start": { - "line": 21, - "column": 13 - }, - "end": { - "line": 21, - "column": 14 - } - } - }, - "range": [ - 399, - 406 - ], - "loc": { - "start": { - "line": 21, - "column": 7 - }, - "end": { - "line": 21, - "column": 14 - } - } - }, - "consequent": { - "type": "BreakStatement", - "label": null, - "range": [ - 408, - 414 - ], - "loc": { - "start": { - "line": 21, - "column": 16 - }, - "end": { - "line": 21, - "column": 22 - } - } - }, - "alternate": null, - "range": [ - 395, - 414 - ], - "loc": { - "start": { - "line": 21, - "column": 3 - }, - "end": { - "line": 21, - "column": 22 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "/=", - "left": { - "type": "Identifier", - "name": "log", - "range": [ - 418, - 421 - ], - "loc": { - "start": { - "line": 22, - "column": 3 - }, - "end": { - "line": 22, - "column": 6 - } - } - }, - "right": { - "type": "Identifier", - "name": "f", - "range": [ - 425, - 426 - ], - "loc": { - "start": { - "line": 22, - "column": 10 - }, - "end": { - "line": 22, - "column": 11 - } - } - }, - "range": [ - 418, - 426 - ], - "loc": { - "start": { - "line": 22, - "column": 3 - }, - "end": { - "line": 22, - "column": 11 - } - } - }, - "range": [ - 418, - 427 - ], - "loc": { - "start": { - "line": 22, - "column": 3 - }, - "end": { - "line": 22, - "column": 12 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "z", - "range": [ - 433, - 434 - ], - "loc": { - "start": { - "line": 23, - "column": 5 - }, - "end": { - "line": 23, - "column": 6 - } - } - }, - "prefix": true, - "range": [ - 431, - 434 - ], - "loc": { - "start": { - "line": 23, - "column": 3 - }, - "end": { - "line": 23, - "column": 6 - } - } - }, - "range": [ - 431, - 435 - ], - "loc": { - "start": { - "line": 23, - "column": 3 - }, - "end": { - "line": 23, - "column": 7 - } - } - } - ], - "range": [ - 390, - 439 - ], - "loc": { - "start": { - "line": 20, - "column": 17 - }, - "end": { - "line": 24, - "column": 3 - } - } - }, - "range": [ - 375, - 439 - ], - "loc": { - "start": { - "line": 20, - "column": 2 - }, - "end": { - "line": 24, - "column": 3 - } - } - }, - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "!==", - "left": { - "type": "Identifier", - "name": "log", - "range": [ - 447, - 450 - ], - "loc": { - "start": { - "line": 26, - "column": 6 - }, - "end": { - "line": 26, - "column": 9 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 455, - 456 - ], - "loc": { - "start": { - "line": 26, - "column": 14 - }, - "end": { - "line": 26, - "column": 15 - } - } - }, - "range": [ - 447, - 456 - ], - "loc": { - "start": { - "line": 26, - "column": 6 - }, - "end": { - "line": 26, - "column": 15 - } - } - }, - "consequent": { - "type": "ThrowStatement", - "argument": { - "type": "Literal", - "value": "log(f) does not divide log(t) not implemented", - "raw": "'log(f) does not divide log(t) not implemented'", - "range": [ - 464, - 511 - ], - "loc": { - "start": { - "line": 26, - "column": 23 - }, - "end": { - "line": 26, - "column": 70 - } - } - }, - "range": [ - 458, - 512 - ], - "loc": { - "start": { - "line": 26, - "column": 17 - }, - "end": { - "line": 26, - "column": 71 - } - } - }, - "alternate": null, - "range": [ - 443, - 512 - ], - "loc": { - "start": { - "line": 26, - "column": 2 - }, - "end": { - "line": 26, - "column": 71 - } - }, - "trailingComments": [ - { - "type": "Line", - "value": " immediate log(t) divides log(f)", - "range": [ - 516, - 550 - ], - "loc": { - "start": { - "line": 28, - "column": 2 - }, - "end": { - "line": 28, - "column": 36 - } - } - } - ] - }, - { - "type": "ReturnStatement", - "argument": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "s", - "range": [ - 569, - 570 - ], - "loc": { - "start": { - "line": 29, - "column": 18 - }, - "end": { - "line": 29, - "column": 19 - } - } - }, - { - "type": "Identifier", - "name": "si", - "range": [ - 572, - 574 - ], - "loc": { - "start": { - "line": 29, - "column": 21 - }, - "end": { - "line": 29, - "column": 23 - } - } - }, - { - "type": "Identifier", - "name": "sj", - "range": [ - 576, - 578 - ], - "loc": { - "start": { - "line": 29, - "column": 25 - }, - "end": { - "line": 29, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 580, - 581 - ], - "loc": { - "start": { - "line": 29, - "column": 29 - }, - "end": { - "line": 29, - "column": 30 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 583, - 585 - ], - "loc": { - "start": { - "line": 29, - "column": 32 - }, - "end": { - "line": 29, - "column": 34 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 587, - 589 - ], - "loc": { - "start": { - "line": 29, - "column": 36 - }, - "end": { - "line": 29, - "column": 38 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "len", - "range": [ - 599, - 602 - ], - "loc": { - "start": { - "line": 30, - "column": 7 - }, - "end": { - "line": 30, - "column": 10 - } - } - }, - "init": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "sj", - "range": [ - 605, - 607 - ], - "loc": { - "start": { - "line": 30, - "column": 13 - }, - "end": { - "line": 30, - "column": 15 - } - } - }, - "right": { - "type": "Identifier", - "name": "si", - "range": [ - 610, - 612 - ], - "loc": { - "start": { - "line": 30, - "column": 18 - }, - "end": { - "line": 30, - "column": 20 - } - } - }, - "range": [ - 605, - 612 - ], - "loc": { - "start": { - "line": 30, - "column": 13 - }, - "end": { - "line": 30, - "column": 20 - } - } - }, - "range": [ - 599, - 612 - ], - "loc": { - "start": { - "line": 30, - "column": 7 - }, - "end": { - "line": 30, - "column": 20 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "k", - "range": [ - 614, - 615 - ], - "loc": { - "start": { - "line": 30, - "column": 22 - }, - "end": { - "line": 30, - "column": 23 - } - } - }, - "init": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "sj", - "range": [ - 618, - 620 - ], - "loc": { - "start": { - "line": 30, - "column": 26 - }, - "end": { - "line": 30, - "column": 28 - } - } - }, - "right": { - "type": "Identifier", - "name": "z", - "range": [ - 623, - 624 - ], - "loc": { - "start": { - "line": 30, - "column": 31 - }, - "end": { - "line": 30, - "column": 32 - } - } - }, - "range": [ - 618, - 624 - ], - "loc": { - "start": { - "line": 30, - "column": 26 - }, - "end": { - "line": 30, - "column": 32 - } - } - }, - "range": [ - 614, - 624 - ], - "loc": { - "start": { - "line": 30, - "column": 22 - }, - "end": { - "line": 30, - "column": 32 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "n", - "range": [ - 626, - 627 - ], - "loc": { - "start": { - "line": 30, - "column": 34 - }, - "end": { - "line": 30, - "column": 35 - } - } - }, - "init": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "Math", - "range": [ - 630, - 634 - ], - "loc": { - "start": { - "line": 30, - "column": 38 - }, - "end": { - "line": 30, - "column": 42 - } - } - }, - "property": { - "type": "Identifier", - "name": "ceil", - "range": [ - 635, - 639 - ], - "loc": { - "start": { - "line": 30, - "column": 43 - }, - "end": { - "line": 30, - "column": 47 - } - } - }, - "range": [ - 630, - 639 - ], - "loc": { - "start": { - "line": 30, - "column": 38 - }, - "end": { - "line": 30, - "column": 47 - } - } - }, - "arguments": [ - { - "type": "BinaryExpression", - "operator": "/", - "left": { - "type": "Identifier", - "name": "len", - "range": [ - 640, - 643 - ], - "loc": { - "start": { - "line": 30, - "column": 48 - }, - "end": { - "line": 30, - "column": 51 - } - } - }, - "right": { - "type": "Identifier", - "name": "z", - "range": [ - 646, - 647 - ], - "loc": { - "start": { - "line": 30, - "column": 54 - }, - "end": { - "line": 30, - "column": 55 - } - } - }, - "range": [ - 640, - 647 - ], - "loc": { - "start": { - "line": 30, - "column": 48 - }, - "end": { - "line": 30, - "column": 55 - } - } - } - ], - "range": [ - 630, - 648 - ], - "loc": { - "start": { - "line": 30, - "column": 38 - }, - "end": { - "line": 30, - "column": 56 - } - } - }, - "range": [ - 626, - 648 - ], - "loc": { - "start": { - "line": 30, - "column": 34 - }, - "end": { - "line": 30, - "column": 56 - } - } - } - ], - "kind": "var", - "range": [ - 595, - 649 - ], - "loc": { - "start": { - "line": 30, - "column": 3 - }, - "end": { - "line": 30, - "column": 57 - } - } - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "block", - "range": [ - 657, - 662 - ], - "loc": { - "start": { - "line": 31, - "column": 7 - }, - "end": { - "line": 31, - "column": 12 - } - } - }, - "init": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "i", - "range": [ - 674, - 675 - ], - "loc": { - "start": { - "line": 31, - "column": 24 - }, - "end": { - "line": 31, - "column": 25 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 682, - 683 - ], - "loc": { - "start": { - "line": 32, - "column": 4 - }, - "end": { - "line": 32, - "column": 5 - } - } - }, - "property": { - "type": "Identifier", - "name": "i", - "range": [ - 684, - 685 - ], - "loc": { - "start": { - "line": 32, - "column": 6 - }, - "end": { - "line": 32, - "column": 7 - } - } - }, - "range": [ - 682, - 686 - ], - "loc": { - "start": { - "line": 32, - "column": 4 - }, - "end": { - "line": 32, - "column": 8 - } - } - }, - "right": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "parseInt", - "range": [ - 689, - 697 - ], - "loc": { - "start": { - "line": 32, - "column": 11 - }, - "end": { - "line": 32, - "column": 19 - } - } - }, - "arguments": [ - { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "s", - "range": [ - 698, - 699 - ], - "loc": { - "start": { - "line": 32, - "column": 20 - }, - "end": { - "line": 32, - "column": 21 - } - } - }, - "property": { - "type": "Identifier", - "name": "slice", - "range": [ - 700, - 705 - ], - "loc": { - "start": { - "line": 32, - "column": 22 - }, - "end": { - "line": 32, - "column": 27 - } - } - }, - "range": [ - 698, - 705 - ], - "loc": { - "start": { - "line": 32, - "column": 20 - }, - "end": { - "line": 32, - "column": 27 - } - } - }, - "arguments": [ - { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "Math", - "range": [ - 706, - 710 - ], - "loc": { - "start": { - "line": 32, - "column": 28 - }, - "end": { - "line": 32, - "column": 32 - } - } - }, - "property": { - "type": "Identifier", - "name": "max", - "range": [ - 711, - 714 - ], - "loc": { - "start": { - "line": 32, - "column": 33 - }, - "end": { - "line": 32, - "column": 36 - } - } - }, - "range": [ - 706, - 714 - ], - "loc": { - "start": { - "line": 32, - "column": 28 - }, - "end": { - "line": 32, - "column": 36 - } - } - }, - "arguments": [ - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 715, - 716 - ], - "loc": { - "start": { - "line": 32, - "column": 37 - }, - "end": { - "line": 32, - "column": 38 - } - } - }, - { - "type": "Identifier", - "name": "k", - "range": [ - 718, - 719 - ], - "loc": { - "start": { - "line": 32, - "column": 40 - }, - "end": { - "line": 32, - "column": 41 - } - } - } - ], - "range": [ - 706, - 720 - ], - "loc": { - "start": { - "line": 32, - "column": 28 - }, - "end": { - "line": 32, - "column": 42 - } - } - }, - { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "k", - "range": [ - 722, - 723 - ], - "loc": { - "start": { - "line": 32, - "column": 44 - }, - "end": { - "line": 32, - "column": 45 - } - } - }, - "right": { - "type": "Identifier", - "name": "z", - "range": [ - 726, - 727 - ], - "loc": { - "start": { - "line": 32, - "column": 48 - }, - "end": { - "line": 32, - "column": 49 - } - } - }, - "range": [ - 722, - 727 - ], - "loc": { - "start": { - "line": 32, - "column": 44 - }, - "end": { - "line": 32, - "column": 49 - } - } - } - ], - "range": [ - 698, - 728 - ], - "loc": { - "start": { - "line": 32, - "column": 20 - }, - "end": { - "line": 32, - "column": 50 - } - } - }, - { - "type": "Identifier", - "name": "f", - "range": [ - 730, - 731 - ], - "loc": { - "start": { - "line": 32, - "column": 52 - }, - "end": { - "line": 32, - "column": 53 - } - } - } - ], - "range": [ - 689, - 732 - ], - "loc": { - "start": { - "line": 32, - "column": 11 - }, - "end": { - "line": 32, - "column": 54 - } - } - }, - "range": [ - 682, - 732 - ], - "loc": { - "start": { - "line": 32, - "column": 4 - }, - "end": { - "line": 32, - "column": 54 - } - } - }, - "range": [ - 682, - 733 - ], - "loc": { - "start": { - "line": 32, - "column": 4 - }, - "end": { - "line": 32, - "column": 55 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "-=", - "left": { - "type": "Identifier", - "name": "k", - "range": [ - 738, - 739 - ], - "loc": { - "start": { - "line": 33, - "column": 4 - }, - "end": { - "line": 33, - "column": 5 - } - } - }, - "right": { - "type": "Identifier", - "name": "z", - "range": [ - 743, - 744 - ], - "loc": { - "start": { - "line": 33, - "column": 9 - }, - "end": { - "line": 33, - "column": 10 - } - } - }, - "range": [ - 738, - 744 - ], - "loc": { - "start": { - "line": 33, - "column": 4 - }, - "end": { - "line": 33, - "column": 10 - } - } - }, - "range": [ - 738, - 745 - ], - "loc": { - "start": { - "line": 33, - "column": 4 - }, - "end": { - "line": 33, - "column": 11 - } - } - } - ], - "range": [ - 676, - 750 - ], - "loc": { - "start": { - "line": 31, - "column": 26 - }, - "end": { - "line": 34, - "column": 4 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 665, - 750 - ], - "loc": { - "start": { - "line": 31, - "column": 15 - }, - "end": { - "line": 34, - "column": 4 - } - } - }, - "range": [ - 657, - 750 - ], - "loc": { - "start": { - "line": 31, - "column": 7 - }, - "end": { - "line": 34, - "column": 4 - } - } - } - ], - "kind": "var", - "range": [ - 653, - 751 - ], - "loc": { - "start": { - "line": 31, - "column": 3 - }, - "end": { - "line": 34, - "column": 5 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "iter", - "range": [ - 756, - 760 - ], - "loc": { - "start": { - "line": 36, - "column": 3 - }, - "end": { - "line": 36, - "column": 7 - } - } - }, - "arguments": [ - { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "aj", - "range": [ - 761, - 763 - ], - "loc": { - "start": { - "line": 36, - "column": 8 - }, - "end": { - "line": 36, - "column": 10 - } - } - }, - "right": { - "type": "Identifier", - "name": "n", - "range": [ - 766, - 767 - ], - "loc": { - "start": { - "line": 36, - "column": 13 - }, - "end": { - "line": 36, - "column": 14 - } - } - }, - "range": [ - 761, - 767 - ], - "loc": { - "start": { - "line": 36, - "column": 8 - }, - "end": { - "line": 36, - "column": 14 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 769, - 771 - ], - "loc": { - "start": { - "line": 36, - "column": 16 - }, - "end": { - "line": 36, - "column": 18 - } - } - }, - { - "type": "Identifier", - "name": "block", - "range": [ - 773, - 778 - ], - "loc": { - "start": { - "line": 36, - "column": 20 - }, - "end": { - "line": 36, - "column": 25 - } - } - } - ], - "range": [ - 756, - 779 - ], - "loc": { - "start": { - "line": 36, - "column": 3 - }, - "end": { - "line": 36, - "column": 26 - } - } - }, - "range": [ - 756, - 780 - ], - "loc": { - "start": { - "line": 36, - "column": 3 - }, - "end": { - "line": 36, - "column": 27 - } - } - } - ], - "range": [ - 590, - 785 - ], - "loc": { - "start": { - "line": 29, - "column": 39 - }, - "end": { - "line": 38, - "column": 3 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 560, - 785 - ], - "loc": { - "start": { - "line": 29, - "column": 9 - }, - "end": { - "line": 38, - "column": 3 - } - } - }, - "range": [ - 553, - 786 - ], - "loc": { - "start": { - "line": 29, - "column": 2 - }, - "end": { - "line": 38, - "column": 4 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " immediate log(t) divides log(f)", - "range": [ - 516, - 550 - ], - "loc": { - "start": { - "line": 28, - "column": 2 - }, - "end": { - "line": 28, - "column": 36 - } - } - } - ] - } - ], - "range": [ - 302, - 790 - ], - "loc": { - "start": { - "line": 15, - "column": 11 - }, - "end": { - "line": 40, - "column": 2 - } - } - }, - "alternate": { - "type": "ThrowStatement", - "argument": { - "type": "Literal", - "value": "f > t not implemented", - "raw": "'f > t not implemented'", - "range": [ - 803, - 826 - ], - "loc": { - "start": { - "line": 41, - "column": 12 - }, - "end": { - "line": 41, - "column": 35 - } - } - }, - "range": [ - 797, - 827 - ], - "loc": { - "start": { - "line": 41, - "column": 6 - }, - "end": { - "line": 41, - "column": 36 - } - } - }, - "range": [ - 292, - 827 - ], - "loc": { - "start": { - "line": 15, - "column": 1 - }, - "end": { - "line": 41, - "column": 36 - } - } - } - ], - "range": [ - 288, - 831 - ], - "loc": { - "start": { - "line": 13, - "column": 41 - }, - "end": { - "line": 44, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 254, - 831 - ], - "loc": { - "start": { - "line": 13, - "column": 7 - }, - "end": { - "line": 44, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Function template for number parsing.\n * Endianess provided by the iterator function\n * iterator function must be reverse ordered\n *\n * @param {int} f from radix\n * @param {int} t to radix\n * @param {function} iter iterator function\n ", - "range": [ - 1, - 244 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 10, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 247, - 831 - ], - "loc": { - "start": { - "line": 13, - "column": 0 - }, - "end": { - "line": 44, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Function template for number parsing.\n * Endianess provided by the iterator function\n * iterator function must be reverse ordered\n *\n * @param {int} f from radix\n * @param {int} t to radix\n * @param {function} iter iterator function\n ", - "range": [ - 1, - 244 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 10, - "column": 3 - } - } - } - ] - } - ], - "sourceType": "module", - "range": [ - 247, - 831 - ], - "loc": { - "start": { - "line": 13, - "column": 0 - }, - "end": { - "line": 44, - "column": 1 - } - }, - "comments": [ - { - "type": "Block", - "value": "*\n * Function template for number parsing.\n * Endianess provided by the iterator function\n * iterator function must be reverse ordered\n *\n * @param {int} f from radix\n * @param {int} t to radix\n * @param {function} iter iterator function\n ", - "range": [ - 1, - 244 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 10, - "column": 3 - } - } - }, - { - "type": "Line", - "value": " immediate log(t) divides log(f)", - "range": [ - 516, - 550 - ], - "loc": { - "start": { - "line": 28, - "column": 2 - }, - "end": { - "line": 28, - "column": 36 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/0-legacy/stringify/index.js.json b/ast/source/0-legacy/stringify/index.js.json deleted file mode 100644 index 2b00683..0000000 --- a/ast/source/0-legacy/stringify/index.js.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./stringify", - "raw": "'./stringify'", - "range": [ - 14, - 27 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 27 - } - } - }, - "range": [ - 0, - 29 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 29 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 29 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/0-legacy/stringify/stringify.js.json b/ast/source/0-legacy/stringify/stringify.js.json deleted file mode 100644 index 88d05fa..0000000 --- a/ast/source/0-legacy/stringify/stringify.js.json +++ /dev/null @@ -1,1816 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "stringify_t", - "range": [ - 226, - 237 - ], - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 27 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "f", - "range": [ - 239, - 240 - ], - "loc": { - "start": { - "line": 12, - "column": 29 - }, - "end": { - "line": 12, - "column": 30 - } - } - }, - { - "type": "Identifier", - "name": "t", - "range": [ - 242, - 243 - ], - "loc": { - "start": { - "line": 12, - "column": 32 - }, - "end": { - "line": 12, - "column": 33 - } - } - }, - { - "type": "Identifier", - "name": "iter", - "range": [ - 245, - 249 - ], - "loc": { - "start": { - "line": 12, - "column": 35 - }, - "end": { - "line": 12, - "column": 39 - } - } - }, - { - "type": "Identifier", - "name": "zfill_t", - "range": [ - 251, - 258 - ], - "loc": { - "start": { - "line": 12, - "column": 41 - }, - "end": { - "line": 12, - "column": 48 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "<=", - "left": { - "type": "Identifier", - "name": "t", - "range": [ - 266, - 267 - ], - "loc": { - "start": { - "line": 14, - "column": 4 - }, - "end": { - "line": 14, - "column": 5 - } - } - }, - "right": { - "type": "Identifier", - "name": "f", - "range": [ - 271, - 272 - ], - "loc": { - "start": { - "line": 14, - "column": 9 - }, - "end": { - "line": 14, - "column": 10 - } - } - }, - "range": [ - 266, - 272 - ], - "loc": { - "start": { - "line": 14, - "column": 4 - }, - "end": { - "line": 14, - "column": 10 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": ">", - "left": { - "type": "Identifier", - "name": "t", - "range": [ - 281, - 282 - ], - "loc": { - "start": { - "line": 16, - "column": 5 - }, - "end": { - "line": 16, - "column": 6 - } - } - }, - "right": { - "type": "Literal", - "value": 36, - "raw": "36", - "range": [ - 285, - 287 - ], - "loc": { - "start": { - "line": 16, - "column": 9 - }, - "end": { - "line": 16, - "column": 11 - } - } - }, - "range": [ - 281, - 287 - ], - "loc": { - "start": { - "line": 16, - "column": 5 - }, - "end": { - "line": 16, - "column": 11 - } - } - }, - "consequent": { - "type": "ThrowStatement", - "argument": { - "type": "Literal", - "value": "t > 36 not implemented", - "raw": "'t > 36 not implemented'", - "range": [ - 295, - 319 - ], - "loc": { - "start": { - "line": 16, - "column": 19 - }, - "end": { - "line": 16, - "column": 43 - } - } - }, - "range": [ - 289, - 320 - ], - "loc": { - "start": { - "line": 16, - "column": 13 - }, - "end": { - "line": 16, - "column": 44 - } - } - }, - "alternate": null, - "range": [ - 278, - 320 - ], - "loc": { - "start": { - "line": 16, - "column": 2 - }, - "end": { - "line": 16, - "column": 44 - } - } - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "z", - "range": [ - 328, - 329 - ], - "loc": { - "start": { - "line": 18, - "column": 6 - }, - "end": { - "line": 18, - "column": 7 - } - } - }, - "init": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 332, - 333 - ], - "loc": { - "start": { - "line": 18, - "column": 10 - }, - "end": { - "line": 18, - "column": 11 - } - } - }, - "range": [ - 328, - 333 - ], - "loc": { - "start": { - "line": 18, - "column": 6 - }, - "end": { - "line": 18, - "column": 11 - } - } - } - ], - "kind": "var", - "range": [ - 324, - 334 - ], - "loc": { - "start": { - "line": 18, - "column": 2 - }, - "end": { - "line": 18, - "column": 12 - } - } - }, - { - "type": "WhileStatement", - "test": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "Identifier", - "name": "f", - "range": [ - 343, - 344 - ], - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 9 - } - } - }, - "right": { - "type": "Identifier", - "name": "t", - "range": [ - 348, - 349 - ], - "loc": { - "start": { - "line": 19, - "column": 13 - }, - "end": { - "line": 19, - "column": 14 - } - } - }, - "range": [ - 343, - 349 - ], - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 14 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "%", - "left": { - "type": "Identifier", - "name": "f", - "range": [ - 358, - 359 - ], - "loc": { - "start": { - "line": 20, - "column": 6 - }, - "end": { - "line": 20, - "column": 7 - } - } - }, - "right": { - "type": "Identifier", - "name": "t", - "range": [ - 362, - 363 - ], - "loc": { - "start": { - "line": 20, - "column": 10 - }, - "end": { - "line": 20, - "column": 11 - } - } - }, - "range": [ - 358, - 363 - ], - "loc": { - "start": { - "line": 20, - "column": 6 - }, - "end": { - "line": 20, - "column": 11 - } - } - }, - "consequent": { - "type": "BreakStatement", - "label": null, - "range": [ - 365, - 371 - ], - "loc": { - "start": { - "line": 20, - "column": 13 - }, - "end": { - "line": 20, - "column": 19 - } - } - }, - "alternate": null, - "range": [ - 355, - 371 - ], - "loc": { - "start": { - "line": 20, - "column": 3 - }, - "end": { - "line": 20, - "column": 19 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "/=", - "left": { - "type": "Identifier", - "name": "f", - "range": [ - 375, - 376 - ], - "loc": { - "start": { - "line": 21, - "column": 3 - }, - "end": { - "line": 21, - "column": 4 - } - } - }, - "right": { - "type": "Identifier", - "name": "t", - "range": [ - 380, - 381 - ], - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 9 - } - } - }, - "range": [ - 375, - 381 - ], - "loc": { - "start": { - "line": 21, - "column": 3 - }, - "end": { - "line": 21, - "column": 9 - } - } - }, - "range": [ - 375, - 382 - ], - "loc": { - "start": { - "line": 21, - "column": 3 - }, - "end": { - "line": 21, - "column": 10 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "z", - "range": [ - 388, - 389 - ], - "loc": { - "start": { - "line": 22, - "column": 5 - }, - "end": { - "line": 22, - "column": 6 - } - } - }, - "prefix": true, - "range": [ - 386, - 389 - ], - "loc": { - "start": { - "line": 22, - "column": 3 - }, - "end": { - "line": 22, - "column": 6 - } - } - }, - "range": [ - 386, - 390 - ], - "loc": { - "start": { - "line": 22, - "column": 3 - }, - "end": { - "line": 22, - "column": 7 - } - } - } - ], - "range": [ - 350, - 394 - ], - "loc": { - "start": { - "line": 19, - "column": 15 - }, - "end": { - "line": 23, - "column": 3 - } - } - }, - "range": [ - 337, - 394 - ], - "loc": { - "start": { - "line": 19, - "column": 2 - }, - "end": { - "line": 23, - "column": 3 - } - } - }, - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "!==", - "left": { - "type": "Identifier", - "name": "f", - "range": [ - 401, - 402 - ], - "loc": { - "start": { - "line": 25, - "column": 5 - }, - "end": { - "line": 25, - "column": 6 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 407, - 408 - ], - "loc": { - "start": { - "line": 25, - "column": 11 - }, - "end": { - "line": 25, - "column": 12 - } - } - }, - "range": [ - 401, - 408 - ], - "loc": { - "start": { - "line": 25, - "column": 5 - }, - "end": { - "line": 25, - "column": 12 - } - } - }, - "consequent": { - "type": "ThrowStatement", - "argument": { - "type": "Literal", - "value": "log(t) does not divide log(f) not implemented", - "raw": "'log(t) does not divide log(f) not implemented'", - "range": [ - 416, - 463 - ], - "loc": { - "start": { - "line": 25, - "column": 20 - }, - "end": { - "line": 25, - "column": 67 - } - } - }, - "range": [ - 410, - 464 - ], - "loc": { - "start": { - "line": 25, - "column": 14 - }, - "end": { - "line": 25, - "column": 68 - } - } - }, - "alternate": null, - "range": [ - 398, - 464 - ], - "loc": { - "start": { - "line": 25, - "column": 2 - }, - "end": { - "line": 25, - "column": 68 - } - } - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "zfill", - "range": [ - 472, - 477 - ], - "loc": { - "start": { - "line": 27, - "column": 6 - }, - "end": { - "line": 27, - "column": 11 - } - } - }, - "init": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "zfill_t", - "range": [ - 480, - 487 - ], - "loc": { - "start": { - "line": 27, - "column": 14 - }, - "end": { - "line": 27, - "column": 21 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "z", - "range": [ - 488, - 489 - ], - "loc": { - "start": { - "line": 27, - "column": 22 - }, - "end": { - "line": 27, - "column": 23 - } - } - } - ], - "range": [ - 480, - 490 - ], - "loc": { - "start": { - "line": 27, - "column": 14 - }, - "end": { - "line": 27, - "column": 24 - } - } - }, - "range": [ - 472, - 490 - ], - "loc": { - "start": { - "line": 27, - "column": 6 - }, - "end": { - "line": 27, - "column": 24 - } - } - } - ], - "kind": "var", - "range": [ - 468, - 491 - ], - "loc": { - "start": { - "line": 27, - "column": 2 - }, - "end": { - "line": 27, - "column": 25 - } - } - }, - { - "type": "ReturnStatement", - "argument": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 511, - 512 - ], - "loc": { - "start": { - "line": 29, - "column": 18 - }, - "end": { - "line": 29, - "column": 19 - } - } - }, - { - "type": "Identifier", - "name": "i0", - "range": [ - 514, - 516 - ], - "loc": { - "start": { - "line": 29, - "column": 21 - }, - "end": { - "line": 29, - "column": 23 - } - } - }, - { - "type": "Identifier", - "name": "i1", - "range": [ - 518, - 520 - ], - "loc": { - "start": { - "line": 29, - "column": 25 - }, - "end": { - "line": 29, - "column": 27 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "s", - "range": [ - 530, - 531 - ], - "loc": { - "start": { - "line": 30, - "column": 7 - }, - "end": { - "line": 30, - "column": 8 - } - } - }, - "init": { - "type": "ArrayExpression", - "elements": [], - "range": [ - 534, - 536 - ], - "loc": { - "start": { - "line": 30, - "column": 11 - }, - "end": { - "line": 30, - "column": 13 - } - } - }, - "range": [ - 530, - 536 - ], - "loc": { - "start": { - "line": 30, - "column": 7 - }, - "end": { - "line": 30, - "column": 13 - } - } - } - ], - "kind": "var", - "range": [ - 526, - 537 - ], - "loc": { - "start": { - "line": 30, - "column": 3 - }, - "end": { - "line": 30, - "column": 14 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "iter", - "range": [ - 541, - 545 - ], - "loc": { - "start": { - "line": 31, - "column": 3 - }, - "end": { - "line": 31, - "column": 7 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "i0", - "range": [ - 546, - 548 - ], - "loc": { - "start": { - "line": 31, - "column": 8 - }, - "end": { - "line": 31, - "column": 10 - } - } - }, - { - "type": "Identifier", - "name": "i1", - "range": [ - 550, - 552 - ], - "loc": { - "start": { - "line": 31, - "column": 12 - }, - "end": { - "line": 31, - "column": 14 - } - } - }, - { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "i", - "range": [ - 563, - 564 - ], - "loc": { - "start": { - "line": 31, - "column": 25 - }, - "end": { - "line": 31, - "column": 26 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "s", - "range": [ - 571, - 572 - ], - "loc": { - "start": { - "line": 32, - "column": 4 - }, - "end": { - "line": 32, - "column": 5 - } - } - }, - "property": { - "type": "Identifier", - "name": "push", - "range": [ - 573, - 577 - ], - "loc": { - "start": { - "line": 32, - "column": 6 - }, - "end": { - "line": 32, - "column": 10 - } - } - }, - "range": [ - 571, - 577 - ], - "loc": { - "start": { - "line": 32, - "column": 4 - }, - "end": { - "line": 32, - "column": 10 - } - } - }, - "arguments": [ - { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "zfill", - "range": [ - 578, - 583 - ], - "loc": { - "start": { - "line": 32, - "column": 11 - }, - "end": { - "line": 32, - "column": 16 - } - } - }, - "arguments": [ - { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "Number", - "range": [ - 584, - 590 - ], - "loc": { - "start": { - "line": 32, - "column": 17 - }, - "end": { - "line": 32, - "column": 23 - } - } - }, - "arguments": [ - { - "type": "UnaryExpression", - "operator": "+", - "argument": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 592, - 593 - ], - "loc": { - "start": { - "line": 32, - "column": 25 - }, - "end": { - "line": 32, - "column": 26 - } - } - }, - "property": { - "type": "Identifier", - "name": "i", - "range": [ - 594, - 595 - ], - "loc": { - "start": { - "line": 32, - "column": 27 - }, - "end": { - "line": 32, - "column": 28 - } - } - }, - "range": [ - 592, - 596 - ], - "loc": { - "start": { - "line": 32, - "column": 25 - }, - "end": { - "line": 32, - "column": 29 - } - } - }, - "prefix": true, - "range": [ - 591, - 596 - ], - "loc": { - "start": { - "line": 32, - "column": 24 - }, - "end": { - "line": 32, - "column": 29 - } - } - } - ], - "range": [ - 584, - 597 - ], - "loc": { - "start": { - "line": 32, - "column": 17 - }, - "end": { - "line": 32, - "column": 30 - } - } - }, - "property": { - "type": "Identifier", - "name": "toString", - "range": [ - 598, - 606 - ], - "loc": { - "start": { - "line": 32, - "column": 31 - }, - "end": { - "line": 32, - "column": 39 - } - } - }, - "range": [ - 584, - 606 - ], - "loc": { - "start": { - "line": 32, - "column": 17 - }, - "end": { - "line": 32, - "column": 39 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "t", - "range": [ - 607, - 608 - ], - "loc": { - "start": { - "line": 32, - "column": 40 - }, - "end": { - "line": 32, - "column": 41 - } - } - } - ], - "range": [ - 584, - 609 - ], - "loc": { - "start": { - "line": 32, - "column": 17 - }, - "end": { - "line": 32, - "column": 42 - } - } - } - ], - "range": [ - 578, - 610 - ], - "loc": { - "start": { - "line": 32, - "column": 11 - }, - "end": { - "line": 32, - "column": 43 - } - } - } - ], - "range": [ - 571, - 611 - ], - "loc": { - "start": { - "line": 32, - "column": 4 - }, - "end": { - "line": 32, - "column": 44 - } - } - }, - "range": [ - 571, - 612 - ], - "loc": { - "start": { - "line": 32, - "column": 4 - }, - "end": { - "line": 32, - "column": 45 - } - } - } - ], - "range": [ - 565, - 617 - ], - "loc": { - "start": { - "line": 31, - "column": 27 - }, - "end": { - "line": 33, - "column": 4 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 554, - 617 - ], - "loc": { - "start": { - "line": 31, - "column": 16 - }, - "end": { - "line": 33, - "column": 4 - } - } - } - ], - "range": [ - 541, - 618 - ], - "loc": { - "start": { - "line": 31, - "column": 3 - }, - "end": { - "line": 33, - "column": 5 - } - } - }, - "range": [ - 541, - 619 - ], - "loc": { - "start": { - "line": 31, - "column": 3 - }, - "end": { - "line": 33, - "column": 6 - } - } - }, - { - "type": "ReturnStatement", - "argument": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "s", - "range": [ - 630, - 631 - ], - "loc": { - "start": { - "line": 34, - "column": 10 - }, - "end": { - "line": 34, - "column": 11 - } - } - }, - "property": { - "type": "Identifier", - "name": "join", - "range": [ - 632, - 636 - ], - "loc": { - "start": { - "line": 34, - "column": 12 - }, - "end": { - "line": 34, - "column": 16 - } - } - }, - "range": [ - 630, - 636 - ], - "loc": { - "start": { - "line": 34, - "column": 10 - }, - "end": { - "line": 34, - "column": 16 - } - } - }, - "arguments": [ - { - "type": "Literal", - "value": "", - "raw": "''", - "range": [ - 637, - 639 - ], - "loc": { - "start": { - "line": 34, - "column": 17 - }, - "end": { - "line": 34, - "column": 19 - } - } - } - ], - "range": [ - 630, - 640 - ], - "loc": { - "start": { - "line": 34, - "column": 10 - }, - "end": { - "line": 34, - "column": 20 - } - } - }, - "range": [ - 623, - 641 - ], - "loc": { - "start": { - "line": 34, - "column": 3 - }, - "end": { - "line": 34, - "column": 21 - } - } - } - ], - "range": [ - 521, - 645 - ], - "loc": { - "start": { - "line": 29, - "column": 28 - }, - "end": { - "line": 35, - "column": 3 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 502, - 645 - ], - "loc": { - "start": { - "line": 29, - "column": 9 - }, - "end": { - "line": 35, - "column": 3 - } - } - }, - "range": [ - 495, - 646 - ], - "loc": { - "start": { - "line": 29, - "column": 2 - }, - "end": { - "line": 35, - "column": 4 - } - } - } - ], - "range": [ - 273, - 650 - ], - "loc": { - "start": { - "line": 14, - "column": 11 - }, - "end": { - "line": 37, - "column": 2 - } - } - }, - "alternate": { - "type": "ThrowStatement", - "argument": { - "type": "Literal", - "value": "t > f not implemented", - "raw": "'t > f not implemented'", - "range": [ - 663, - 686 - ], - "loc": { - "start": { - "line": 38, - "column": 12 - }, - "end": { - "line": 38, - "column": 35 - } - } - }, - "range": [ - 657, - 687 - ], - "loc": { - "start": { - "line": 38, - "column": 6 - }, - "end": { - "line": 38, - "column": 36 - } - } - }, - "range": [ - 263, - 687 - ], - "loc": { - "start": { - "line": 14, - "column": 1 - }, - "end": { - "line": 38, - "column": 36 - } - } - } - ], - "range": [ - 259, - 690 - ], - "loc": { - "start": { - "line": 12, - "column": 49 - }, - "end": { - "line": 40, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 217, - 690 - ], - "loc": { - "start": { - "line": 12, - "column": 7 - }, - "end": { - "line": 40, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Function template for number stringification.\n * Endianess provided by the iterator function\n *\n * @param {int} f from radix\n * @param {int} t to radix\n * @param {function} iter iterator function\n ", - "range": [ - 1, - 207 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 9, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 210, - 690 - ], - "loc": { - "start": { - "line": 12, - "column": 0 - }, - "end": { - "line": 40, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Function template for number stringification.\n * Endianess provided by the iterator function\n *\n * @param {int} f from radix\n * @param {int} t to radix\n * @param {function} iter iterator function\n ", - "range": [ - 1, - 207 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 9, - "column": 3 - } - } - } - ] - } - ], - "sourceType": "module", - "range": [ - 210, - 690 - ], - "loc": { - "start": { - "line": 12, - "column": 0 - }, - "end": { - "line": 40, - "column": 1 - } - }, - "comments": [ - { - "type": "Block", - "value": "*\n * Function template for number stringification.\n * Endianess provided by the iterator function\n *\n * @param {int} f from radix\n * @param {int} t to radix\n * @param {function} iter iterator function\n ", - "range": [ - 1, - 207 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 9, - "column": 3 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/1-new/arithmetic/div/_div.js.json b/ast/source/1-new/arithmetic/div/_div.js.json deleted file mode 100644 index 6666475..0000000 --- a/ast/source/1-new/arithmetic/div/_div.js.json +++ /dev/null @@ -1,2923 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ImportDeclaration", - "specifiers": [ - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_sub", - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_sub", - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - }, - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - } - ], - "source": { - "type": "Literal", - "value": "../sub", - "raw": "'../sub'", - "range": [ - 21, - 29 - ], - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 29 - } - } - }, - "range": [ - 0, - 31 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 31 - } - } - }, - { - "type": "ImportDeclaration", - "specifiers": [ - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_lt", - "range": [ - 41, - 44 - ], - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 12 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_lt", - "range": [ - 41, - 44 - ], - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 12 - } - } - }, - "range": [ - 41, - 44 - ], - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 12 - } - } - } - ], - "source": { - "type": "Literal", - "value": "../../compare", - "raw": "'../../compare'", - "range": [ - 52, - 67 - ], - "loc": { - "start": { - "line": 2, - "column": 20 - }, - "end": { - "line": 2, - "column": 35 - } - } - }, - "range": [ - 32, - 69 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 37 - } - }, - "trailingComments": [ - { - "type": "Block", - "value": "*\n * Computes quotient and remainder of two big endian arrays.\n *

    \n * Computes quotient and remainder of two big endian arrays\n * using long division algorithm (the one teached in\n * european primary schools).\n *\n * /!\\ This algorithm modifies its first operand.\n *\n * HYP : q is at least as large as r\n * b is not zero\n *\n * @param {int} x the radix\n * @param {array} r dividend and remainder\n * @param {int} ri r left\n * @param {int} rj r right\n * @param {array} b divisor\n * @param {int} bi b left\n * @param {int} bj b right\n * @param {array} q quotient, must be 0 initialized\n * @param {int} qi q left\n ", - "range": [ - 71, - 691 - ], - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 25, - "column": 3 - } - } - }, - { - "type": "Line", - "value": " /!\\ There are implicit hypotheses", - "range": [ - 693, - 729 - ], - "loc": { - "start": { - "line": 27, - "column": 0 - }, - "end": { - "line": 27, - "column": 36 - } - } - }, - { - "type": "Line", - "value": " made on the size of the operands.", - "range": [ - 730, - 770 - ], - "loc": { - "start": { - "line": 28, - "column": 0 - }, - "end": { - "line": 28, - "column": 40 - } - } - }, - { - "type": "Line", - "value": " Should clarify.", - "range": [ - 771, - 793 - ], - "loc": { - "start": { - "line": 29, - "column": 0 - }, - "end": { - "line": 29, - "column": 22 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "_div", - "range": [ - 811, - 815 - ], - "loc": { - "start": { - "line": 31, - "column": 16 - }, - "end": { - "line": 31, - "column": 20 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "x", - "range": [ - 818, - 819 - ], - "loc": { - "start": { - "line": 31, - "column": 23 - }, - "end": { - "line": 31, - "column": 24 - } - } - }, - { - "type": "Identifier", - "name": "r", - "range": [ - 822, - 823 - ], - "loc": { - "start": { - "line": 31, - "column": 27 - }, - "end": { - "line": 31, - "column": 28 - } - } - }, - { - "type": "Identifier", - "name": "ri", - "range": [ - 826, - 828 - ], - "loc": { - "start": { - "line": 31, - "column": 31 - }, - "end": { - "line": 31, - "column": 33 - } - } - }, - { - "type": "Identifier", - "name": "rj", - "range": [ - 831, - 833 - ], - "loc": { - "start": { - "line": 31, - "column": 36 - }, - "end": { - "line": 31, - "column": 38 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 836, - 837 - ], - "loc": { - "start": { - "line": 31, - "column": 41 - }, - "end": { - "line": 31, - "column": 42 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 840, - 842 - ], - "loc": { - "start": { - "line": 31, - "column": 45 - }, - "end": { - "line": 31, - "column": 47 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 845, - 847 - ], - "loc": { - "start": { - "line": 31, - "column": 50 - }, - "end": { - "line": 31, - "column": 52 - } - } - }, - { - "type": "Identifier", - "name": "q", - "range": [ - 850, - 851 - ], - "loc": { - "start": { - "line": 31, - "column": 55 - }, - "end": { - "line": 31, - "column": 56 - } - } - }, - { - "type": "Identifier", - "name": "qi", - "range": [ - 854, - 856 - ], - "loc": { - "start": { - "line": 31, - "column": 59 - }, - "end": { - "line": 31, - "column": 61 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "k", - "range": [ - 867, - 868 - ], - "loc": { - "start": { - "line": 33, - "column": 5 - }, - "end": { - "line": 33, - "column": 6 - } - } - }, - "init": null, - "range": [ - 867, - 868 - ], - "loc": { - "start": { - "line": 33, - "column": 5 - }, - "end": { - "line": 33, - "column": 6 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "t", - "range": [ - 870, - 871 - ], - "loc": { - "start": { - "line": 33, - "column": 8 - }, - "end": { - "line": 33, - "column": 9 - } - } - }, - "init": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "ri", - "range": [ - 874, - 876 - ], - "loc": { - "start": { - "line": 33, - "column": 12 - }, - "end": { - "line": 33, - "column": 14 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 879, - 880 - ], - "loc": { - "start": { - "line": 33, - "column": 17 - }, - "end": { - "line": 33, - "column": 18 - } - } - }, - "range": [ - 874, - 880 - ], - "loc": { - "start": { - "line": 33, - "column": 12 - }, - "end": { - "line": 33, - "column": 18 - } - } - }, - "range": [ - 870, - 880 - ], - "loc": { - "start": { - "line": 33, - "column": 8 - }, - "end": { - "line": 33, - "column": 18 - } - } - } - ], - "kind": "var", - "range": [ - 863, - 881 - ], - "loc": { - "start": { - "line": 33, - "column": 1 - }, - "end": { - "line": 33, - "column": 19 - } - } - }, - { - "type": "DoWhileStatement", - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "WhileStatement", - "test": { - "type": "LogicalExpression", - "operator": "&&", - "left": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "ri", - "range": [ - 1118, - 1120 - ], - "loc": { - "start": { - "line": 41, - "column": 9 - }, - "end": { - "line": 41, - "column": 11 - } - } - }, - "right": { - "type": "Identifier", - "name": "rj", - "range": [ - 1123, - 1125 - ], - "loc": { - "start": { - "line": 41, - "column": 14 - }, - "end": { - "line": 41, - "column": 16 - } - } - }, - "range": [ - 1118, - 1125 - ], - "loc": { - "start": { - "line": 41, - "column": 9 - }, - "end": { - "line": 41, - "column": 16 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "===", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "r", - "range": [ - 1129, - 1130 - ], - "loc": { - "start": { - "line": 41, - "column": 20 - }, - "end": { - "line": 41, - "column": 21 - } - } - }, - "property": { - "type": "Identifier", - "name": "ri", - "range": [ - 1131, - 1133 - ], - "loc": { - "start": { - "line": 41, - "column": 22 - }, - "end": { - "line": 41, - "column": 24 - } - } - }, - "range": [ - 1129, - 1134 - ], - "loc": { - "start": { - "line": 41, - "column": 20 - }, - "end": { - "line": 41, - "column": 25 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 1139, - 1140 - ], - "loc": { - "start": { - "line": 41, - "column": 30 - }, - "end": { - "line": 41, - "column": 31 - } - } - }, - "range": [ - 1129, - 1140 - ], - "loc": { - "start": { - "line": 41, - "column": 20 - }, - "end": { - "line": 41, - "column": 31 - } - } - }, - "range": [ - 1118, - 1140 - ], - "loc": { - "start": { - "line": 41, - "column": 9 - }, - "end": { - "line": 41, - "column": 31 - } - } - }, - "body": { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "ri", - "range": [ - 1144, - 1146 - ], - "loc": { - "start": { - "line": 41, - "column": 35 - }, - "end": { - "line": 41, - "column": 37 - } - } - }, - "prefix": true, - "range": [ - 1142, - 1146 - ], - "loc": { - "start": { - "line": 41, - "column": 33 - }, - "end": { - "line": 41, - "column": 37 - } - } - }, - "range": [ - 1142, - 1147 - ], - "loc": { - "start": { - "line": 41, - "column": 33 - }, - "end": { - "line": 41, - "column": 38 - } - } - }, - "range": [ - 1111, - 1147 - ], - "loc": { - "start": { - "line": 41, - "column": 2 - }, - "end": { - "line": 41, - "column": 38 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " trim leading zeros", - "range": [ - 892, - 913 - ], - "loc": { - "start": { - "line": 37, - "column": 2 - }, - "end": { - "line": 37, - "column": 23 - } - } - }, - { - "type": "Line", - "value": " - maybe could try to put this procedure inside the _sub loop", - "range": [ - 916, - 983 - ], - "loc": { - "start": { - "line": 38, - "column": 2 - }, - "end": { - "line": 38, - "column": 69 - } - } - }, - { - "type": "Line", - "value": " - or assume that the number is trimed at the begining", - "range": [ - 986, - 1046 - ], - "loc": { - "start": { - "line": 39, - "column": 2 - }, - "end": { - "line": 39, - "column": 62 - } - } - }, - { - "type": "Line", - "value": " and put this statement at the end of the main loop", - "range": [ - 1049, - 1108 - ], - "loc": { - "start": { - "line": 40, - "column": 2 - }, - "end": { - "line": 40, - "column": 61 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": " search for a remainder block interval", - "range": [ - 1151, - 1191 - ], - "loc": { - "start": { - "line": 43, - "column": 2 - }, - "end": { - "line": 43, - "column": 42 - } - } - }, - { - "type": "Line", - "value": " greater than the divisor", - "range": [ - 1194, - 1221 - ], - "loc": { - "start": { - "line": 44, - "column": 2 - }, - "end": { - "line": 44, - "column": 29 - } - } - }, - { - "type": "Line", - "value": " - maybe could try binary search on the _lt function", - "range": [ - 1224, - 1282 - ], - "loc": { - "start": { - "line": 45, - "column": 2 - }, - "end": { - "line": 45, - "column": 60 - } - } - }, - { - "type": "Line", - "value": " for another implementation", - "range": [ - 1285, - 1318 - ], - "loc": { - "start": { - "line": 46, - "column": 2 - }, - "end": { - "line": 46, - "column": 35 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "k", - "range": [ - 1321, - 1322 - ], - "loc": { - "start": { - "line": 47, - "column": 2 - }, - "end": { - "line": 47, - "column": 3 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "ri", - "range": [ - 1325, - 1327 - ], - "loc": { - "start": { - "line": 47, - "column": 6 - }, - "end": { - "line": 47, - "column": 8 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 1330, - 1331 - ], - "loc": { - "start": { - "line": 47, - "column": 11 - }, - "end": { - "line": 47, - "column": 12 - } - } - }, - "range": [ - 1325, - 1331 - ], - "loc": { - "start": { - "line": 47, - "column": 6 - }, - "end": { - "line": 47, - "column": 12 - } - } - }, - "range": [ - 1321, - 1331 - ], - "loc": { - "start": { - "line": 47, - "column": 2 - }, - "end": { - "line": 47, - "column": 12 - } - } - }, - "range": [ - 1321, - 1332 - ], - "loc": { - "start": { - "line": 47, - "column": 2 - }, - "end": { - "line": 47, - "column": 13 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " search for a remainder block interval", - "range": [ - 1151, - 1191 - ], - "loc": { - "start": { - "line": 43, - "column": 2 - }, - "end": { - "line": 43, - "column": 42 - } - } - }, - { - "type": "Line", - "value": " greater than the divisor", - "range": [ - 1194, - 1221 - ], - "loc": { - "start": { - "line": 44, - "column": 2 - }, - "end": { - "line": 44, - "column": 29 - } - } - }, - { - "type": "Line", - "value": " - maybe could try binary search on the _lt function", - "range": [ - 1224, - 1282 - ], - "loc": { - "start": { - "line": 45, - "column": 2 - }, - "end": { - "line": 45, - "column": 60 - } - } - }, - { - "type": "Line", - "value": " for another implementation", - "range": [ - 1285, - 1318 - ], - "loc": { - "start": { - "line": 46, - "column": 2 - }, - "end": { - "line": 46, - "column": 35 - } - } - } - ] - }, - { - "type": "WhileStatement", - "test": { - "type": "LogicalExpression", - "operator": "&&", - "left": { - "type": "BinaryExpression", - "operator": "<=", - "left": { - "type": "Identifier", - "name": "k", - "range": [ - 1342, - 1343 - ], - "loc": { - "start": { - "line": 48, - "column": 9 - }, - "end": { - "line": 48, - "column": 10 - } - } - }, - "right": { - "type": "Identifier", - "name": "rj", - "range": [ - 1347, - 1349 - ], - "loc": { - "start": { - "line": 48, - "column": 14 - }, - "end": { - "line": 48, - "column": 16 - } - } - }, - "range": [ - 1342, - 1349 - ], - "loc": { - "start": { - "line": 48, - "column": 9 - }, - "end": { - "line": 48, - "column": 16 - } - } - }, - "right": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_lt", - "range": [ - 1353, - 1356 - ], - "loc": { - "start": { - "line": 48, - "column": 20 - }, - "end": { - "line": 48, - "column": 23 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "r", - "range": [ - 1357, - 1358 - ], - "loc": { - "start": { - "line": 48, - "column": 24 - }, - "end": { - "line": 48, - "column": 25 - } - } - }, - { - "type": "Identifier", - "name": "ri", - "range": [ - 1360, - 1362 - ], - "loc": { - "start": { - "line": 48, - "column": 27 - }, - "end": { - "line": 48, - "column": 29 - } - } - }, - { - "type": "Identifier", - "name": "k", - "range": [ - 1364, - 1365 - ], - "loc": { - "start": { - "line": 48, - "column": 31 - }, - "end": { - "line": 48, - "column": 32 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 1367, - 1368 - ], - "loc": { - "start": { - "line": 48, - "column": 34 - }, - "end": { - "line": 48, - "column": 35 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 1370, - 1372 - ], - "loc": { - "start": { - "line": 48, - "column": 37 - }, - "end": { - "line": 48, - "column": 39 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 1374, - 1376 - ], - "loc": { - "start": { - "line": 48, - "column": 41 - }, - "end": { - "line": 48, - "column": 43 - } - } - } - ], - "range": [ - 1353, - 1377 - ], - "loc": { - "start": { - "line": 48, - "column": 20 - }, - "end": { - "line": 48, - "column": 44 - } - } - }, - "range": [ - 1342, - 1377 - ], - "loc": { - "start": { - "line": 48, - "column": 9 - }, - "end": { - "line": 48, - "column": 44 - } - } - }, - "body": { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "k", - "range": [ - 1381, - 1382 - ], - "loc": { - "start": { - "line": 48, - "column": 48 - }, - "end": { - "line": 48, - "column": 49 - } - } - }, - "prefix": true, - "range": [ - 1379, - 1382 - ], - "loc": { - "start": { - "line": 48, - "column": 46 - }, - "end": { - "line": 48, - "column": 49 - } - } - }, - "range": [ - 1379, - 1383 - ], - "loc": { - "start": { - "line": 48, - "column": 46 - }, - "end": { - "line": 48, - "column": 50 - } - } - }, - "range": [ - 1335, - 1383 - ], - "loc": { - "start": { - "line": 48, - "column": 2 - }, - "end": { - "line": 48, - "column": 50 - } - }, - "trailingComments": [ - { - "type": "Line", - "value": " remainder smaller than divisor --> end", - "range": [ - 1387, - 1428 - ], - "loc": { - "start": { - "line": 50, - "column": 2 - }, - "end": { - "line": 50, - "column": 43 - } - } - } - ] - }, - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": ">", - "left": { - "type": "Identifier", - "name": "k", - "range": [ - 1435, - 1436 - ], - "loc": { - "start": { - "line": 51, - "column": 6 - }, - "end": { - "line": 51, - "column": 7 - } - } - }, - "right": { - "type": "Identifier", - "name": "rj", - "range": [ - 1439, - 1441 - ], - "loc": { - "start": { - "line": 51, - "column": 10 - }, - "end": { - "line": 51, - "column": 12 - } - } - }, - "range": [ - 1435, - 1441 - ], - "loc": { - "start": { - "line": 51, - "column": 6 - }, - "end": { - "line": 51, - "column": 12 - } - } - }, - "consequent": { - "type": "BreakStatement", - "label": null, - "range": [ - 1443, - 1449 - ], - "loc": { - "start": { - "line": 51, - "column": 14 - }, - "end": { - "line": 51, - "column": 20 - } - } - }, - "alternate": null, - "range": [ - 1431, - 1449 - ], - "loc": { - "start": { - "line": 51, - "column": 2 - }, - "end": { - "line": 51, - "column": 20 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " remainder smaller than divisor --> end", - "range": [ - 1387, - 1428 - ], - "loc": { - "start": { - "line": 50, - "column": 2 - }, - "end": { - "line": 50, - "column": 43 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": " divide current block interval by quotient", - "range": [ - 1453, - 1497 - ], - "loc": { - "start": { - "line": 53, - "column": 2 - }, - "end": { - "line": 53, - "column": 46 - } - } - } - ] - }, - { - "type": "DoWhileStatement", - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "q", - "range": [ - 1603, - 1604 - ], - "loc": { - "start": { - "line": 58, - "column": 5 - }, - "end": { - "line": 58, - "column": 6 - } - } - }, - "property": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "qi", - "range": [ - 1605, - 1607 - ], - "loc": { - "start": { - "line": 58, - "column": 7 - }, - "end": { - "line": 58, - "column": 9 - } - } - }, - "right": { - "type": "Identifier", - "name": "k", - "range": [ - 1610, - 1611 - ], - "loc": { - "start": { - "line": 58, - "column": 12 - }, - "end": { - "line": 58, - "column": 13 - } - } - }, - "range": [ - 1605, - 1611 - ], - "loc": { - "start": { - "line": 58, - "column": 7 - }, - "end": { - "line": 58, - "column": 13 - } - } - }, - "right": { - "type": "Identifier", - "name": "t", - "range": [ - 1614, - 1615 - ], - "loc": { - "start": { - "line": 58, - "column": 16 - }, - "end": { - "line": 58, - "column": 17 - } - } - }, - "range": [ - 1605, - 1615 - ], - "loc": { - "start": { - "line": 58, - "column": 7 - }, - "end": { - "line": 58, - "column": 17 - } - } - }, - "range": [ - 1603, - 1616 - ], - "loc": { - "start": { - "line": 58, - "column": 5 - }, - "end": { - "line": 58, - "column": 18 - } - } - }, - "prefix": true, - "range": [ - 1601, - 1616 - ], - "loc": { - "start": { - "line": 58, - "column": 3 - }, - "end": { - "line": 58, - "column": 18 - } - } - }, - "range": [ - 1601, - 1617 - ], - "loc": { - "start": { - "line": 58, - "column": 3 - }, - "end": { - "line": 58, - "column": 19 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " increment quotient block corresponding", - "range": [ - 1508, - 1549 - ], - "loc": { - "start": { - "line": 56, - "column": 3 - }, - "end": { - "line": 56, - "column": 44 - } - } - }, - { - "type": "Line", - "value": " to current ls block of remainder interval", - "range": [ - 1553, - 1597 - ], - "loc": { - "start": { - "line": 57, - "column": 3 - }, - "end": { - "line": 57, - "column": 47 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": " subtract divisor from current remainder", - "range": [ - 1622, - 1664 - ], - "loc": { - "start": { - "line": 60, - "column": 3 - }, - "end": { - "line": 60, - "column": 45 - } - } - }, - { - "type": "Line", - "value": " block interval", - "range": [ - 1668, - 1685 - ], - "loc": { - "start": { - "line": 61, - "column": 3 - }, - "end": { - "line": 61, - "column": 20 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_sub", - "range": [ - 1689, - 1693 - ], - "loc": { - "start": { - "line": 62, - "column": 3 - }, - "end": { - "line": 62, - "column": 7 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "x", - "range": [ - 1694, - 1695 - ], - "loc": { - "start": { - "line": 62, - "column": 8 - }, - "end": { - "line": 62, - "column": 9 - } - } - }, - { - "type": "Identifier", - "name": "r", - "range": [ - 1697, - 1698 - ], - "loc": { - "start": { - "line": 62, - "column": 11 - }, - "end": { - "line": 62, - "column": 12 - } - } - }, - { - "type": "Identifier", - "name": "ri", - "range": [ - 1700, - 1702 - ], - "loc": { - "start": { - "line": 62, - "column": 14 - }, - "end": { - "line": 62, - "column": 16 - } - } - }, - { - "type": "Identifier", - "name": "k", - "range": [ - 1704, - 1705 - ], - "loc": { - "start": { - "line": 62, - "column": 18 - }, - "end": { - "line": 62, - "column": 19 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 1707, - 1708 - ], - "loc": { - "start": { - "line": 62, - "column": 21 - }, - "end": { - "line": 62, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 1710, - 1712 - ], - "loc": { - "start": { - "line": 62, - "column": 24 - }, - "end": { - "line": 62, - "column": 26 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 1714, - 1716 - ], - "loc": { - "start": { - "line": 62, - "column": 28 - }, - "end": { - "line": 62, - "column": 30 - } - } - }, - { - "type": "Identifier", - "name": "r", - "range": [ - 1718, - 1719 - ], - "loc": { - "start": { - "line": 62, - "column": 32 - }, - "end": { - "line": 62, - "column": 33 - } - } - }, - { - "type": "Identifier", - "name": "ri", - "range": [ - 1721, - 1723 - ], - "loc": { - "start": { - "line": 62, - "column": 35 - }, - "end": { - "line": 62, - "column": 37 - } - } - }, - { - "type": "Identifier", - "name": "k", - "range": [ - 1725, - 1726 - ], - "loc": { - "start": { - "line": 62, - "column": 39 - }, - "end": { - "line": 62, - "column": 40 - } - } - } - ], - "range": [ - 1689, - 1727 - ], - "loc": { - "start": { - "line": 62, - "column": 3 - }, - "end": { - "line": 62, - "column": 41 - } - } - }, - "range": [ - 1689, - 1728 - ], - "loc": { - "start": { - "line": 62, - "column": 3 - }, - "end": { - "line": 62, - "column": 42 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " subtract divisor from current remainder", - "range": [ - 1622, - 1664 - ], - "loc": { - "start": { - "line": 60, - "column": 3 - }, - "end": { - "line": 60, - "column": 45 - } - } - }, - { - "type": "Line", - "value": " block interval", - "range": [ - 1668, - 1685 - ], - "loc": { - "start": { - "line": 61, - "column": 3 - }, - "end": { - "line": 61, - "column": 20 - } - } - } - ] - } - ], - "range": [ - 1502, - 1733 - ], - "loc": { - "start": { - "line": 54, - "column": 4 - }, - "end": { - "line": 64, - "column": 3 - } - } - }, - "test": { - "type": "UnaryExpression", - "operator": "!", - "argument": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_lt", - "range": [ - 1741, - 1744 - ], - "loc": { - "start": { - "line": 64, - "column": 11 - }, - "end": { - "line": 64, - "column": 14 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "r", - "range": [ - 1745, - 1746 - ], - "loc": { - "start": { - "line": 64, - "column": 15 - }, - "end": { - "line": 64, - "column": 16 - } - } - }, - { - "type": "Identifier", - "name": "ri", - "range": [ - 1748, - 1750 - ], - "loc": { - "start": { - "line": 64, - "column": 18 - }, - "end": { - "line": 64, - "column": 20 - } - } - }, - { - "type": "Identifier", - "name": "k", - "range": [ - 1752, - 1753 - ], - "loc": { - "start": { - "line": 64, - "column": 22 - }, - "end": { - "line": 64, - "column": 23 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 1755, - 1756 - ], - "loc": { - "start": { - "line": 64, - "column": 25 - }, - "end": { - "line": 64, - "column": 26 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 1758, - 1760 - ], - "loc": { - "start": { - "line": 64, - "column": 28 - }, - "end": { - "line": 64, - "column": 30 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 1762, - 1764 - ], - "loc": { - "start": { - "line": 64, - "column": 32 - }, - "end": { - "line": 64, - "column": 34 - } - } - } - ], - "range": [ - 1741, - 1765 - ], - "loc": { - "start": { - "line": 64, - "column": 11 - }, - "end": { - "line": 64, - "column": 35 - } - } - }, - "prefix": true, - "range": [ - 1740, - 1765 - ], - "loc": { - "start": { - "line": 64, - "column": 10 - }, - "end": { - "line": 64, - "column": 35 - } - } - }, - "range": [ - 1500, - 1767 - ], - "loc": { - "start": { - "line": 54, - "column": 2 - }, - "end": { - "line": 64, - "column": 37 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " divide current block interval by quotient", - "range": [ - 1453, - 1497 - ], - "loc": { - "start": { - "line": 53, - "column": 2 - }, - "end": { - "line": 53, - "column": 46 - } - } - } - ] - } - ], - "range": [ - 887, - 1772 - ], - "loc": { - "start": { - "line": 35, - "column": 4 - }, - "end": { - "line": 67, - "column": 2 - } - } - }, - "test": { - "type": "Literal", - "value": true, - "raw": "true", - "range": [ - 1779, - 1783 - ], - "loc": { - "start": { - "line": 67, - "column": 9 - }, - "end": { - "line": 67, - "column": 13 - } - } - }, - "range": [ - 884, - 1785 - ], - "loc": { - "start": { - "line": 35, - "column": 1 - }, - "end": { - "line": 67, - "column": 15 - } - } - } - ], - "range": [ - 859, - 1788 - ], - "loc": { - "start": { - "line": 31, - "column": 64 - }, - "end": { - "line": 69, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 802, - 1788 - ], - "loc": { - "start": { - "line": 31, - "column": 7 - }, - "end": { - "line": 69, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Computes quotient and remainder of two big endian arrays.\n *

    \n * Computes quotient and remainder of two big endian arrays\n * using long division algorithm (the one teached in\n * european primary schools).\n *\n * /!\\ This algorithm modifies its first operand.\n *\n * HYP : q is at least as large as r\n * b is not zero\n *\n * @param {int} x the radix\n * @param {array} r dividend and remainder\n * @param {int} ri r left\n * @param {int} rj r right\n * @param {array} b divisor\n * @param {int} bi b left\n * @param {int} bj b right\n * @param {array} q quotient, must be 0 initialized\n * @param {int} qi q left\n ", - "range": [ - 71, - 691 - ], - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 25, - "column": 3 - } - } - }, - { - "type": "Line", - "value": " /!\\ There are implicit hypotheses", - "range": [ - 693, - 729 - ], - "loc": { - "start": { - "line": 27, - "column": 0 - }, - "end": { - "line": 27, - "column": 36 - } - } - }, - { - "type": "Line", - "value": " made on the size of the operands.", - "range": [ - 730, - 770 - ], - "loc": { - "start": { - "line": 28, - "column": 0 - }, - "end": { - "line": 28, - "column": 40 - } - } - }, - { - "type": "Line", - "value": " Should clarify.", - "range": [ - 771, - 793 - ], - "loc": { - "start": { - "line": 29, - "column": 0 - }, - "end": { - "line": 29, - "column": 22 - } - } - } - ], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 795, - 1788 - ], - "loc": { - "start": { - "line": 31, - "column": 0 - }, - "end": { - "line": 69, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Computes quotient and remainder of two big endian arrays.\n *

    \n * Computes quotient and remainder of two big endian arrays\n * using long division algorithm (the one teached in\n * european primary schools).\n *\n * /!\\ This algorithm modifies its first operand.\n *\n * HYP : q is at least as large as r\n * b is not zero\n *\n * @param {int} x the radix\n * @param {array} r dividend and remainder\n * @param {int} ri r left\n * @param {int} rj r right\n * @param {array} b divisor\n * @param {int} bi b left\n * @param {int} bj b right\n * @param {array} q quotient, must be 0 initialized\n * @param {int} qi q left\n ", - "range": [ - 71, - 691 - ], - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 25, - "column": 3 - } - } - }, - { - "type": "Line", - "value": " /!\\ There are implicit hypotheses", - "range": [ - 693, - 729 - ], - "loc": { - "start": { - "line": 27, - "column": 0 - }, - "end": { - "line": 27, - "column": 36 - } - } - }, - { - "type": "Line", - "value": " made on the size of the operands.", - "range": [ - 730, - 770 - ], - "loc": { - "start": { - "line": 28, - "column": 0 - }, - "end": { - "line": 28, - "column": 40 - } - } - }, - { - "type": "Line", - "value": " Should clarify.", - "range": [ - 771, - 793 - ], - "loc": { - "start": { - "line": 29, - "column": 0 - }, - "end": { - "line": 29, - "column": 22 - } - } - } - ] - } - ], - "sourceType": "module", - "range": [ - 0, - 1788 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 69, - "column": 1 - } - }, - "comments": [ - { - "type": "Block", - "value": "*\n * Computes quotient and remainder of two big endian arrays.\n *

    \n * Computes quotient and remainder of two big endian arrays\n * using long division algorithm (the one teached in\n * european primary schools).\n *\n * /!\\ This algorithm modifies its first operand.\n *\n * HYP : q is at least as large as r\n * b is not zero\n *\n * @param {int} x the radix\n * @param {array} r dividend and remainder\n * @param {int} ri r left\n * @param {int} rj r right\n * @param {array} b divisor\n * @param {int} bi b left\n * @param {int} bj b right\n * @param {array} q quotient, must be 0 initialized\n * @param {int} qi q left\n ", - "range": [ - 71, - 691 - ], - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 25, - "column": 3 - } - } - }, - { - "type": "Line", - "value": " /!\\ There are implicit hypotheses", - "range": [ - 693, - 729 - ], - "loc": { - "start": { - "line": 27, - "column": 0 - }, - "end": { - "line": 27, - "column": 36 - } - } - }, - { - "type": "Line", - "value": " made on the size of the operands.", - "range": [ - 730, - 770 - ], - "loc": { - "start": { - "line": 28, - "column": 0 - }, - "end": { - "line": 28, - "column": 40 - } - } - }, - { - "type": "Line", - "value": " Should clarify.", - "range": [ - 771, - 793 - ], - "loc": { - "start": { - "line": 29, - "column": 0 - }, - "end": { - "line": 29, - "column": 22 - } - } - }, - { - "type": "Line", - "value": " trim leading zeros", - "range": [ - 892, - 913 - ], - "loc": { - "start": { - "line": 37, - "column": 2 - }, - "end": { - "line": 37, - "column": 23 - } - } - }, - { - "type": "Line", - "value": " - maybe could try to put this procedure inside the _sub loop", - "range": [ - 916, - 983 - ], - "loc": { - "start": { - "line": 38, - "column": 2 - }, - "end": { - "line": 38, - "column": 69 - } - } - }, - { - "type": "Line", - "value": " - or assume that the number is trimed at the begining", - "range": [ - 986, - 1046 - ], - "loc": { - "start": { - "line": 39, - "column": 2 - }, - "end": { - "line": 39, - "column": 62 - } - } - }, - { - "type": "Line", - "value": " and put this statement at the end of the main loop", - "range": [ - 1049, - 1108 - ], - "loc": { - "start": { - "line": 40, - "column": 2 - }, - "end": { - "line": 40, - "column": 61 - } - } - }, - { - "type": "Line", - "value": " search for a remainder block interval", - "range": [ - 1151, - 1191 - ], - "loc": { - "start": { - "line": 43, - "column": 2 - }, - "end": { - "line": 43, - "column": 42 - } - } - }, - { - "type": "Line", - "value": " greater than the divisor", - "range": [ - 1194, - 1221 - ], - "loc": { - "start": { - "line": 44, - "column": 2 - }, - "end": { - "line": 44, - "column": 29 - } - } - }, - { - "type": "Line", - "value": " - maybe could try binary search on the _lt function", - "range": [ - 1224, - 1282 - ], - "loc": { - "start": { - "line": 45, - "column": 2 - }, - "end": { - "line": 45, - "column": 60 - } - } - }, - { - "type": "Line", - "value": " for another implementation", - "range": [ - 1285, - 1318 - ], - "loc": { - "start": { - "line": 46, - "column": 2 - }, - "end": { - "line": 46, - "column": 35 - } - } - }, - { - "type": "Line", - "value": " remainder smaller than divisor --> end", - "range": [ - 1387, - 1428 - ], - "loc": { - "start": { - "line": 50, - "column": 2 - }, - "end": { - "line": 50, - "column": 43 - } - } - }, - { - "type": "Line", - "value": " divide current block interval by quotient", - "range": [ - 1453, - 1497 - ], - "loc": { - "start": { - "line": 53, - "column": 2 - }, - "end": { - "line": 53, - "column": 46 - } - } - }, - { - "type": "Line", - "value": " increment quotient block corresponding", - "range": [ - 1508, - 1549 - ], - "loc": { - "start": { - "line": 56, - "column": 3 - }, - "end": { - "line": 56, - "column": 44 - } - } - }, - { - "type": "Line", - "value": " to current ls block of remainder interval", - "range": [ - 1553, - 1597 - ], - "loc": { - "start": { - "line": 57, - "column": 3 - }, - "end": { - "line": 57, - "column": 47 - } - } - }, - { - "type": "Line", - "value": " subtract divisor from current remainder", - "range": [ - 1622, - 1664 - ], - "loc": { - "start": { - "line": 60, - "column": 3 - }, - "end": { - "line": 60, - "column": 45 - } - } - }, - { - "type": "Line", - "value": " block interval", - "range": [ - 1668, - 1685 - ], - "loc": { - "start": { - "line": 61, - "column": 3 - }, - "end": { - "line": 61, - "column": 20 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/1-new/arithmetic/div/index.js.json b/ast/source/1-new/arithmetic/div/index.js.json deleted file mode 100644 index d387a7e..0000000 --- a/ast/source/1-new/arithmetic/div/index.js.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./_div", - "raw": "'./_div'", - "range": [ - 14, - 22 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 22 - } - } - }, - "range": [ - 0, - 24 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 24 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 24 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/arithmetic/index.js.json b/ast/source/1-new/arithmetic/index.js.json deleted file mode 100644 index 71b12ee..0000000 --- a/ast/source/1-new/arithmetic/index.js.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./div", - "raw": "'./div'", - "range": [ - 14, - 21 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 21 - } - } - }, - "range": [ - 0, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./sub", - "raw": "'./sub'", - "range": [ - 38, - 45 - ], - "loc": { - "start": { - "line": 2, - "column": 14 - }, - "end": { - "line": 2, - "column": 21 - } - } - }, - "range": [ - 24, - 47 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 23 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 47 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 2, - "column": 23 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/arithmetic/sub/_sub.js.json b/ast/source/1-new/arithmetic/sub/_sub.js.json deleted file mode 100644 index 4ffa97e..0000000 --- a/ast/source/1-new/arithmetic/sub/_sub.js.json +++ /dev/null @@ -1,2210 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "_sub", - "range": [ - 395, - 399 - ], - "loc": { - "start": { - "line": 18, - "column": 16 - }, - "end": { - "line": 18, - "column": 20 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "r", - "range": [ - 402, - 403 - ], - "loc": { - "start": { - "line": 18, - "column": 23 - }, - "end": { - "line": 18, - "column": 24 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 406, - 407 - ], - "loc": { - "start": { - "line": 18, - "column": 27 - }, - "end": { - "line": 18, - "column": 28 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 409, - 411 - ], - "loc": { - "start": { - "line": 18, - "column": 30 - }, - "end": { - "line": 18, - "column": 32 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 413, - 415 - ], - "loc": { - "start": { - "line": 18, - "column": 34 - }, - "end": { - "line": 18, - "column": 36 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 417, - 418 - ], - "loc": { - "start": { - "line": 18, - "column": 38 - }, - "end": { - "line": 18, - "column": 39 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 420, - 422 - ], - "loc": { - "start": { - "line": 18, - "column": 41 - }, - "end": { - "line": 18, - "column": 43 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 424, - 426 - ], - "loc": { - "start": { - "line": 18, - "column": 45 - }, - "end": { - "line": 18, - "column": 47 - } - } - }, - { - "type": "Identifier", - "name": "c", - "range": [ - 428, - 429 - ], - "loc": { - "start": { - "line": 18, - "column": 49 - }, - "end": { - "line": 18, - "column": 50 - } - } - }, - { - "type": "Identifier", - "name": "ci", - "range": [ - 431, - 433 - ], - "loc": { - "start": { - "line": 18, - "column": 52 - }, - "end": { - "line": 18, - "column": 54 - } - } - }, - { - "type": "Identifier", - "name": "cj", - "range": [ - 435, - 437 - ], - "loc": { - "start": { - "line": 18, - "column": 56 - }, - "end": { - "line": 18, - "column": 58 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "T", - "range": [ - 445, - 446 - ], - "loc": { - "start": { - "line": 19, - "column": 5 - }, - "end": { - "line": 19, - "column": 6 - } - } - }, - "init": null, - "range": [ - 445, - 446 - ], - "loc": { - "start": { - "line": 19, - "column": 5 - }, - "end": { - "line": 19, - "column": 6 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "C", - "range": [ - 448, - 449 - ], - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 9 - } - } - }, - "init": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 452, - 453 - ], - "loc": { - "start": { - "line": 19, - "column": 12 - }, - "end": { - "line": 19, - "column": 13 - } - } - }, - "range": [ - 448, - 453 - ], - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 13 - } - } - } - ], - "kind": "var", - "range": [ - 441, - 454 - ], - "loc": { - "start": { - "line": 19, - "column": 1 - }, - "end": { - "line": 19, - "column": 14 - } - } - }, - { - "type": "WhileStatement", - "test": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "bj", - "range": [ - 465, - 467 - ], - "loc": { - "start": { - "line": 21, - "column": 9 - }, - "end": { - "line": 21, - "column": 11 - } - } - }, - "prefix": true, - "range": [ - 463, - 467 - ], - "loc": { - "start": { - "line": 21, - "column": 7 - }, - "end": { - "line": 21, - "column": 11 - } - } - }, - "right": { - "type": "Identifier", - "name": "bi", - "range": [ - 471, - 473 - ], - "loc": { - "start": { - "line": 21, - "column": 15 - }, - "end": { - "line": 21, - "column": 17 - } - } - }, - "range": [ - 463, - 473 - ], - "loc": { - "start": { - "line": 21, - "column": 7 - }, - "end": { - "line": 21, - "column": 17 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "aj", - "range": [ - 480, - 482 - ], - "loc": { - "start": { - "line": 22, - "column": 4 - }, - "end": { - "line": 22, - "column": 6 - } - } - }, - "prefix": true, - "range": [ - 478, - 482 - ], - "loc": { - "start": { - "line": 22, - "column": 2 - }, - "end": { - "line": 22, - "column": 6 - } - } - }, - "range": [ - 478, - 483 - ], - "loc": { - "start": { - "line": 22, - "column": 2 - }, - "end": { - "line": 22, - "column": 7 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "cj", - "range": [ - 486, - 488 - ], - "loc": { - "start": { - "line": 22, - "column": 10 - }, - "end": { - "line": 22, - "column": 12 - } - } - }, - "prefix": true, - "range": [ - 484, - 488 - ], - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 12 - } - } - }, - "range": [ - 484, - 489 - ], - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 13 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "T", - "range": [ - 492, - 493 - ], - "loc": { - "start": { - "line": 23, - "column": 2 - }, - "end": { - "line": 23, - "column": 3 - } - } - }, - "right": { - "type": "Identifier", - "name": "C", - "range": [ - 496, - 497 - ], - "loc": { - "start": { - "line": 23, - "column": 6 - }, - "end": { - "line": 23, - "column": 7 - } - } - }, - "range": [ - 492, - 497 - ], - "loc": { - "start": { - "line": 23, - "column": 2 - }, - "end": { - "line": 23, - "column": 7 - } - } - }, - "range": [ - 492, - 498 - ], - "loc": { - "start": { - "line": 23, - "column": 2 - }, - "end": { - "line": 23, - "column": 8 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "C", - "range": [ - 501, - 502 - ], - "loc": { - "start": { - "line": 24, - "column": 2 - }, - "end": { - "line": 24, - "column": 3 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 505, - 506 - ], - "loc": { - "start": { - "line": 24, - "column": 6 - }, - "end": { - "line": 24, - "column": 7 - } - } - }, - "property": { - "type": "Identifier", - "name": "aj", - "range": [ - 507, - 509 - ], - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 10 - } - } - }, - "range": [ - 505, - 510 - ], - "loc": { - "start": { - "line": 24, - "column": 6 - }, - "end": { - "line": 24, - "column": 11 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 513, - 514 - ], - "loc": { - "start": { - "line": 24, - "column": 14 - }, - "end": { - "line": 24, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "name": "bj", - "range": [ - 515, - 517 - ], - "loc": { - "start": { - "line": 24, - "column": 16 - }, - "end": { - "line": 24, - "column": 18 - } - } - }, - "range": [ - 513, - 518 - ], - "loc": { - "start": { - "line": 24, - "column": 14 - }, - "end": { - "line": 24, - "column": 19 - } - } - }, - "right": { - "type": "Identifier", - "name": "T", - "range": [ - 521, - 522 - ], - "loc": { - "start": { - "line": 24, - "column": 22 - }, - "end": { - "line": 24, - "column": 23 - } - } - }, - "range": [ - 513, - 522 - ], - "loc": { - "start": { - "line": 24, - "column": 14 - }, - "end": { - "line": 24, - "column": 23 - } - } - }, - "range": [ - 505, - 522 - ], - "loc": { - "start": { - "line": 24, - "column": 6 - }, - "end": { - "line": 24, - "column": 23 - } - } - }, - "range": [ - 501, - 522 - ], - "loc": { - "start": { - "line": 24, - "column": 2 - }, - "end": { - "line": 24, - "column": 23 - } - } - }, - "range": [ - 501, - 523 - ], - "loc": { - "start": { - "line": 24, - "column": 2 - }, - "end": { - "line": 24, - "column": 24 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 526, - 527 - ], - "loc": { - "start": { - "line": 25, - "column": 2 - }, - "end": { - "line": 25, - "column": 3 - } - } - }, - "property": { - "type": "Identifier", - "name": "cj", - "range": [ - 528, - 530 - ], - "loc": { - "start": { - "line": 25, - "column": 4 - }, - "end": { - "line": 25, - "column": 6 - } - } - }, - "range": [ - 526, - 531 - ], - "loc": { - "start": { - "line": 25, - "column": 2 - }, - "end": { - "line": 25, - "column": 7 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 534, - 535 - ], - "loc": { - "start": { - "line": 25, - "column": 10 - }, - "end": { - "line": 25, - "column": 11 - } - } - }, - "property": { - "type": "Identifier", - "name": "aj", - "range": [ - 536, - 538 - ], - "loc": { - "start": { - "line": 25, - "column": 12 - }, - "end": { - "line": 25, - "column": 14 - } - } - }, - "range": [ - 534, - 539 - ], - "loc": { - "start": { - "line": 25, - "column": 10 - }, - "end": { - "line": 25, - "column": 15 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 542, - 543 - ], - "loc": { - "start": { - "line": 25, - "column": 18 - }, - "end": { - "line": 25, - "column": 19 - } - } - }, - "property": { - "type": "Identifier", - "name": "bj", - "range": [ - 544, - 546 - ], - "loc": { - "start": { - "line": 25, - "column": 20 - }, - "end": { - "line": 25, - "column": 22 - } - } - }, - "range": [ - 542, - 547 - ], - "loc": { - "start": { - "line": 25, - "column": 18 - }, - "end": { - "line": 25, - "column": 23 - } - } - }, - "range": [ - 534, - 547 - ], - "loc": { - "start": { - "line": 25, - "column": 10 - }, - "end": { - "line": 25, - "column": 23 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "BinaryExpression", - "operator": "*", - "left": { - "type": "Identifier", - "name": "C", - "range": [ - 551, - 552 - ], - "loc": { - "start": { - "line": 25, - "column": 27 - }, - "end": { - "line": 25, - "column": 28 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 553, - 554 - ], - "loc": { - "start": { - "line": 25, - "column": 29 - }, - "end": { - "line": 25, - "column": 30 - } - } - }, - "range": [ - 551, - 554 - ], - "loc": { - "start": { - "line": 25, - "column": 27 - }, - "end": { - "line": 25, - "column": 30 - } - } - }, - "right": { - "type": "Identifier", - "name": "T", - "range": [ - 557, - 558 - ], - "loc": { - "start": { - "line": 25, - "column": 33 - }, - "end": { - "line": 25, - "column": 34 - } - } - }, - "range": [ - 551, - 558 - ], - "loc": { - "start": { - "line": 25, - "column": 27 - }, - "end": { - "line": 25, - "column": 34 - } - } - }, - "range": [ - 534, - 559 - ], - "loc": { - "start": { - "line": 25, - "column": 10 - }, - "end": { - "line": 25, - "column": 35 - } - } - }, - "range": [ - 526, - 559 - ], - "loc": { - "start": { - "line": 25, - "column": 2 - }, - "end": { - "line": 25, - "column": 35 - } - } - }, - "range": [ - 526, - 560 - ], - "loc": { - "start": { - "line": 25, - "column": 2 - }, - "end": { - "line": 25, - "column": 36 - } - } - } - ], - "range": [ - 474, - 563 - ], - "loc": { - "start": { - "line": 21, - "column": 18 - }, - "end": { - "line": 26, - "column": 2 - } - } - }, - "range": [ - 457, - 563 - ], - "loc": { - "start": { - "line": 21, - "column": 1 - }, - "end": { - "line": 26, - "column": 2 - } - } - }, - { - "type": "WhileStatement", - "test": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "aj", - "range": [ - 574, - 576 - ], - "loc": { - "start": { - "line": 28, - "column": 9 - }, - "end": { - "line": 28, - "column": 11 - } - } - }, - "prefix": true, - "range": [ - 572, - 576 - ], - "loc": { - "start": { - "line": 28, - "column": 7 - }, - "end": { - "line": 28, - "column": 11 - } - } - }, - "right": { - "type": "Identifier", - "name": "ai", - "range": [ - 580, - 582 - ], - "loc": { - "start": { - "line": 28, - "column": 15 - }, - "end": { - "line": 28, - "column": 17 - } - } - }, - "range": [ - 572, - 582 - ], - "loc": { - "start": { - "line": 28, - "column": 7 - }, - "end": { - "line": 28, - "column": 17 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "cj", - "range": [ - 589, - 591 - ], - "loc": { - "start": { - "line": 29, - "column": 4 - }, - "end": { - "line": 29, - "column": 6 - } - } - }, - "prefix": true, - "range": [ - 587, - 591 - ], - "loc": { - "start": { - "line": 29, - "column": 2 - }, - "end": { - "line": 29, - "column": 6 - } - } - }, - "range": [ - 587, - 592 - ], - "loc": { - "start": { - "line": 29, - "column": 2 - }, - "end": { - "line": 29, - "column": 7 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "T", - "range": [ - 595, - 596 - ], - "loc": { - "start": { - "line": 30, - "column": 2 - }, - "end": { - "line": 30, - "column": 3 - } - } - }, - "right": { - "type": "Identifier", - "name": "C", - "range": [ - 599, - 600 - ], - "loc": { - "start": { - "line": 30, - "column": 6 - }, - "end": { - "line": 30, - "column": 7 - } - } - }, - "range": [ - 595, - 600 - ], - "loc": { - "start": { - "line": 30, - "column": 2 - }, - "end": { - "line": 30, - "column": 7 - } - } - }, - "range": [ - 595, - 601 - ], - "loc": { - "start": { - "line": 30, - "column": 2 - }, - "end": { - "line": 30, - "column": 8 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "C", - "range": [ - 604, - 605 - ], - "loc": { - "start": { - "line": 31, - "column": 2 - }, - "end": { - "line": 31, - "column": 3 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 608, - 609 - ], - "loc": { - "start": { - "line": 31, - "column": 6 - }, - "end": { - "line": 31, - "column": 7 - } - } - }, - "property": { - "type": "Identifier", - "name": "aj", - "range": [ - 610, - 612 - ], - "loc": { - "start": { - "line": 31, - "column": 8 - }, - "end": { - "line": 31, - "column": 10 - } - } - }, - "range": [ - 608, - 613 - ], - "loc": { - "start": { - "line": 31, - "column": 6 - }, - "end": { - "line": 31, - "column": 11 - } - } - }, - "right": { - "type": "Identifier", - "name": "T", - "range": [ - 616, - 617 - ], - "loc": { - "start": { - "line": 31, - "column": 14 - }, - "end": { - "line": 31, - "column": 15 - } - } - }, - "range": [ - 608, - 617 - ], - "loc": { - "start": { - "line": 31, - "column": 6 - }, - "end": { - "line": 31, - "column": 15 - } - } - }, - "range": [ - 604, - 617 - ], - "loc": { - "start": { - "line": 31, - "column": 2 - }, - "end": { - "line": 31, - "column": 15 - } - } - }, - "range": [ - 604, - 618 - ], - "loc": { - "start": { - "line": 31, - "column": 2 - }, - "end": { - "line": 31, - "column": 16 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 621, - 622 - ], - "loc": { - "start": { - "line": 32, - "column": 2 - }, - "end": { - "line": 32, - "column": 3 - } - } - }, - "property": { - "type": "Identifier", - "name": "cj", - "range": [ - 623, - 625 - ], - "loc": { - "start": { - "line": 32, - "column": 4 - }, - "end": { - "line": 32, - "column": 6 - } - } - }, - "range": [ - 621, - 626 - ], - "loc": { - "start": { - "line": 32, - "column": 2 - }, - "end": { - "line": 32, - "column": 7 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 629, - 630 - ], - "loc": { - "start": { - "line": 32, - "column": 10 - }, - "end": { - "line": 32, - "column": 11 - } - } - }, - "property": { - "type": "Identifier", - "name": "aj", - "range": [ - 631, - 633 - ], - "loc": { - "start": { - "line": 32, - "column": 12 - }, - "end": { - "line": 32, - "column": 14 - } - } - }, - "range": [ - 629, - 634 - ], - "loc": { - "start": { - "line": 32, - "column": 10 - }, - "end": { - "line": 32, - "column": 15 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "BinaryExpression", - "operator": "*", - "left": { - "type": "Identifier", - "name": "C", - "range": [ - 638, - 639 - ], - "loc": { - "start": { - "line": 32, - "column": 19 - }, - "end": { - "line": 32, - "column": 20 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 640, - 641 - ], - "loc": { - "start": { - "line": 32, - "column": 21 - }, - "end": { - "line": 32, - "column": 22 - } - } - }, - "range": [ - 638, - 641 - ], - "loc": { - "start": { - "line": 32, - "column": 19 - }, - "end": { - "line": 32, - "column": 22 - } - } - }, - "right": { - "type": "Identifier", - "name": "T", - "range": [ - 644, - 645 - ], - "loc": { - "start": { - "line": 32, - "column": 25 - }, - "end": { - "line": 32, - "column": 26 - } - } - }, - "range": [ - 638, - 645 - ], - "loc": { - "start": { - "line": 32, - "column": 19 - }, - "end": { - "line": 32, - "column": 26 - } - } - }, - "range": [ - 629, - 646 - ], - "loc": { - "start": { - "line": 32, - "column": 10 - }, - "end": { - "line": 32, - "column": 27 - } - } - }, - "range": [ - 621, - 646 - ], - "loc": { - "start": { - "line": 32, - "column": 2 - }, - "end": { - "line": 32, - "column": 27 - } - } - }, - "range": [ - 621, - 647 - ], - "loc": { - "start": { - "line": 32, - "column": 2 - }, - "end": { - "line": 32, - "column": 28 - } - } - } - ], - "range": [ - 583, - 650 - ], - "loc": { - "start": { - "line": 28, - "column": 18 - }, - "end": { - "line": 33, - "column": 2 - } - } - }, - "range": [ - 566, - 650 - ], - "loc": { - "start": { - "line": 28, - "column": 1 - }, - "end": { - "line": 33, - "column": 2 - } - } - }, - { - "type": "IfStatement", - "test": { - "type": "Identifier", - "name": "C", - "range": [ - 656, - 657 - ], - "loc": { - "start": { - "line": 35, - "column": 4 - }, - "end": { - "line": 35, - "column": 5 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "WhileStatement", - "test": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "cj", - "range": [ - 670, - 672 - ], - "loc": { - "start": { - "line": 36, - "column": 10 - }, - "end": { - "line": 36, - "column": 12 - } - } - }, - "prefix": true, - "range": [ - 668, - 672 - ], - "loc": { - "start": { - "line": 36, - "column": 8 - }, - "end": { - "line": 36, - "column": 12 - } - } - }, - "right": { - "type": "Identifier", - "name": "ci", - "range": [ - 676, - 678 - ], - "loc": { - "start": { - "line": 36, - "column": 16 - }, - "end": { - "line": 36, - "column": 18 - } - } - }, - "range": [ - 668, - 678 - ], - "loc": { - "start": { - "line": 36, - "column": 8 - }, - "end": { - "line": 36, - "column": 18 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 684, - 685 - ], - "loc": { - "start": { - "line": 37, - "column": 3 - }, - "end": { - "line": 37, - "column": 4 - } - } - }, - "property": { - "type": "Identifier", - "name": "cj", - "range": [ - 686, - 688 - ], - "loc": { - "start": { - "line": 37, - "column": 5 - }, - "end": { - "line": 37, - "column": 7 - } - } - }, - "range": [ - 684, - 689 - ], - "loc": { - "start": { - "line": 37, - "column": 3 - }, - "end": { - "line": 37, - "column": 8 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "r", - "range": [ - 692, - 693 - ], - "loc": { - "start": { - "line": 37, - "column": 11 - }, - "end": { - "line": 37, - "column": 12 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 696, - 697 - ], - "loc": { - "start": { - "line": 37, - "column": 15 - }, - "end": { - "line": 37, - "column": 16 - } - } - }, - "range": [ - 692, - 697 - ], - "loc": { - "start": { - "line": 37, - "column": 11 - }, - "end": { - "line": 37, - "column": 16 - } - } - }, - "range": [ - 684, - 697 - ], - "loc": { - "start": { - "line": 37, - "column": 3 - }, - "end": { - "line": 37, - "column": 16 - } - } - }, - "range": [ - 684, - 698 - ], - "loc": { - "start": { - "line": 37, - "column": 3 - }, - "end": { - "line": 37, - "column": 17 - } - } - } - ], - "range": [ - 679, - 702 - ], - "loc": { - "start": { - "line": 36, - "column": 19 - }, - "end": { - "line": 38, - "column": 3 - } - } - }, - "range": [ - 662, - 702 - ], - "loc": { - "start": { - "line": 36, - "column": 2 - }, - "end": { - "line": 38, - "column": 3 - } - } - } - ], - "range": [ - 658, - 705 - ], - "loc": { - "start": { - "line": 35, - "column": 6 - }, - "end": { - "line": 39, - "column": 2 - } - } - }, - "alternate": null, - "range": [ - 653, - 705 - ], - "loc": { - "start": { - "line": 35, - "column": 1 - }, - "end": { - "line": 39, - "column": 2 - } - } - } - ], - "range": [ - 438, - 708 - ], - "loc": { - "start": { - "line": 18, - "column": 59 - }, - "end": { - "line": 41, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 386, - 708 - ], - "loc": { - "start": { - "line": 18, - "column": 7 - }, - "end": { - "line": 41, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Subtracts two big endian arrays, k >= i >= j\n * wraps\n *\n * @param {int} r base (radix)\n * @param {array} a first operand\n * @param {int} ai a left\n * @param {int} aj a right\n * @param {array} b second operand\n * @param {int} bi b left\n * @param {int} bj b right\n * @param {array} c result, must be 0 initialized\n * @param {int} ci c left\n * @param {int} cj c right\n ", - "range": [ - 1, - 377 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 16, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 379, - 708 - ], - "loc": { - "start": { - "line": 18, - "column": 0 - }, - "end": { - "line": 41, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Subtracts two big endian arrays, k >= i >= j\n * wraps\n *\n * @param {int} r base (radix)\n * @param {array} a first operand\n * @param {int} ai a left\n * @param {int} aj a right\n * @param {array} b second operand\n * @param {int} bi b left\n * @param {int} bj b right\n * @param {array} c result, must be 0 initialized\n * @param {int} ci c left\n * @param {int} cj c right\n ", - "range": [ - 1, - 377 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 16, - "column": 3 - } - } - } - ] - } - ], - "sourceType": "module", - "range": [ - 379, - 708 - ], - "loc": { - "start": { - "line": 18, - "column": 0 - }, - "end": { - "line": 41, - "column": 1 - } - }, - "comments": [ - { - "type": "Block", - "value": "*\n * Subtracts two big endian arrays, k >= i >= j\n * wraps\n *\n * @param {int} r base (radix)\n * @param {array} a first operand\n * @param {int} ai a left\n * @param {int} aj a right\n * @param {array} b second operand\n * @param {int} bi b left\n * @param {int} bj b right\n * @param {array} c result, must be 0 initialized\n * @param {int} ci c left\n * @param {int} cj c right\n ", - "range": [ - 1, - 377 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 16, - "column": 3 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/1-new/arithmetic/sub/index.js.json b/ast/source/1-new/arithmetic/sub/index.js.json deleted file mode 100644 index 1aa9530..0000000 --- a/ast/source/1-new/arithmetic/sub/index.js.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./_sub", - "raw": "'./_sub'", - "range": [ - 14, - 22 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 22 - } - } - }, - "range": [ - 0, - 24 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 24 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 24 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/compare/_CMP.js.json b/ast/source/1-new/compare/_CMP.js.json deleted file mode 100644 index 32bd507..0000000 --- a/ast/source/1-new/compare/_CMP.js.json +++ /dev/null @@ -1,1322 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "_CMP", - "range": [ - 308, - 312 - ], - "loc": { - "start": { - "line": 15, - "column": 16 - }, - "end": { - "line": 15, - "column": 20 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 314, - 315 - ], - "loc": { - "start": { - "line": 15, - "column": 22 - }, - "end": { - "line": 15, - "column": 23 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 317, - 319 - ], - "loc": { - "start": { - "line": 15, - "column": 25 - }, - "end": { - "line": 15, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 321, - 323 - ], - "loc": { - "start": { - "line": 15, - "column": 29 - }, - "end": { - "line": 15, - "column": 31 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 325, - 326 - ], - "loc": { - "start": { - "line": 15, - "column": 33 - }, - "end": { - "line": 15, - "column": 34 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 328, - 330 - ], - "loc": { - "start": { - "line": 15, - "column": 36 - }, - "end": { - "line": 15, - "column": 38 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 332, - 334 - ], - "loc": { - "start": { - "line": 15, - "column": 40 - }, - "end": { - "line": 15, - "column": 42 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "tmp", - "range": [ - 343, - 346 - ], - "loc": { - "start": { - "line": 17, - "column": 5 - }, - "end": { - "line": 17, - "column": 8 - } - } - }, - "init": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "aj", - "range": [ - 349, - 351 - ], - "loc": { - "start": { - "line": 17, - "column": 11 - }, - "end": { - "line": 17, - "column": 13 - } - } - }, - "right": { - "type": "Identifier", - "name": "bj", - "range": [ - 354, - 356 - ], - "loc": { - "start": { - "line": 17, - "column": 16 - }, - "end": { - "line": 17, - "column": 18 - } - } - }, - "range": [ - 349, - 356 - ], - "loc": { - "start": { - "line": 17, - "column": 11 - }, - "end": { - "line": 17, - "column": 18 - } - } - }, - "right": { - "type": "Identifier", - "name": "bi", - "range": [ - 359, - 361 - ], - "loc": { - "start": { - "line": 17, - "column": 21 - }, - "end": { - "line": 17, - "column": 23 - } - } - }, - "range": [ - 349, - 361 - ], - "loc": { - "start": { - "line": 17, - "column": 11 - }, - "end": { - "line": 17, - "column": 23 - } - } - }, - "range": [ - 343, - 361 - ], - "loc": { - "start": { - "line": 17, - "column": 5 - }, - "end": { - "line": 17, - "column": 23 - } - } - } - ], - "kind": "var", - "range": [ - 339, - 362 - ], - "loc": { - "start": { - "line": 17, - "column": 1 - }, - "end": { - "line": 17, - "column": 24 - } - } - }, - { - "type": "ForStatement", - "init": null, - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "ai", - "range": [ - 372, - 374 - ], - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 10 - } - } - }, - "right": { - "type": "Identifier", - "name": "tmp", - "range": [ - 377, - 380 - ], - "loc": { - "start": { - "line": 19, - "column": 13 - }, - "end": { - "line": 19, - "column": 16 - } - } - }, - "range": [ - 372, - 380 - ], - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 16 - } - } - }, - "update": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "ai", - "range": [ - 384, - 386 - ], - "loc": { - "start": { - "line": 19, - "column": 20 - }, - "end": { - "line": 19, - "column": 22 - } - } - }, - "prefix": true, - "range": [ - 382, - 386 - ], - "loc": { - "start": { - "line": 19, - "column": 18 - }, - "end": { - "line": 19, - "column": 22 - } - } - }, - "body": { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": ">", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 394, - 395 - ], - "loc": { - "start": { - "line": 20, - "column": 6 - }, - "end": { - "line": 20, - "column": 7 - } - } - }, - "property": { - "type": "Identifier", - "name": "ai", - "range": [ - 396, - 398 - ], - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 10 - } - } - }, - "range": [ - 394, - 399 - ], - "loc": { - "start": { - "line": 20, - "column": 6 - }, - "end": { - "line": 20, - "column": 11 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 402, - 403 - ], - "loc": { - "start": { - "line": 20, - "column": 14 - }, - "end": { - "line": 20, - "column": 15 - } - } - }, - "range": [ - 394, - 403 - ], - "loc": { - "start": { - "line": 20, - "column": 6 - }, - "end": { - "line": 20, - "column": 15 - } - } - }, - "consequent": { - "type": "ReturnStatement", - "argument": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 412, - 413 - ], - "loc": { - "start": { - "line": 20, - "column": 24 - }, - "end": { - "line": 20, - "column": 25 - } - } - }, - "range": [ - 405, - 414 - ], - "loc": { - "start": { - "line": 20, - "column": 17 - }, - "end": { - "line": 20, - "column": 26 - } - } - }, - "alternate": null, - "range": [ - 390, - 414 - ], - "loc": { - "start": { - "line": 20, - "column": 2 - }, - "end": { - "line": 20, - "column": 26 - } - } - }, - "range": [ - 365, - 414 - ], - "loc": { - "start": { - "line": 19, - "column": 1 - }, - "end": { - "line": 20, - "column": 26 - } - }, - "trailingComments": [ - { - "type": "Line", - "value": " same size aj - ai === bj - bi", - "range": [ - 417, - 449 - ], - "loc": { - "start": { - "line": 22, - "column": 1 - }, - "end": { - "line": 22, - "column": 33 - } - } - } - ] - }, - { - "type": "ForStatement", - "init": null, - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "ai", - "range": [ - 458, - 460 - ], - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 10 - } - } - }, - "right": { - "type": "Identifier", - "name": "aj", - "range": [ - 463, - 465 - ], - "loc": { - "start": { - "line": 23, - "column": 13 - }, - "end": { - "line": 23, - "column": 15 - } - } - }, - "range": [ - 458, - 465 - ], - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 15 - } - } - }, - "update": { - "type": "SequenceExpression", - "expressions": [ - { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "ai", - "range": [ - 469, - 471 - ], - "loc": { - "start": { - "line": 23, - "column": 19 - }, - "end": { - "line": 23, - "column": 21 - } - } - }, - "prefix": true, - "range": [ - 467, - 471 - ], - "loc": { - "start": { - "line": 23, - "column": 17 - }, - "end": { - "line": 23, - "column": 21 - } - } - }, - { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "bi", - "range": [ - 475, - 477 - ], - "loc": { - "start": { - "line": 23, - "column": 25 - }, - "end": { - "line": 23, - "column": 27 - } - } - }, - "prefix": true, - "range": [ - 473, - 477 - ], - "loc": { - "start": { - "line": 23, - "column": 23 - }, - "end": { - "line": 23, - "column": 27 - } - } - } - ], - "range": [ - 467, - 477 - ], - "loc": { - "start": { - "line": 23, - "column": 17 - }, - "end": { - "line": 23, - "column": 27 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": ">", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 487, - 488 - ], - "loc": { - "start": { - "line": 24, - "column": 6 - }, - "end": { - "line": 24, - "column": 7 - } - } - }, - "property": { - "type": "Identifier", - "name": "ai", - "range": [ - 489, - 491 - ], - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 10 - } - } - }, - "range": [ - 487, - 492 - ], - "loc": { - "start": { - "line": 24, - "column": 6 - }, - "end": { - "line": 24, - "column": 11 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 495, - 496 - ], - "loc": { - "start": { - "line": 24, - "column": 14 - }, - "end": { - "line": 24, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "name": "bi", - "range": [ - 497, - 499 - ], - "loc": { - "start": { - "line": 24, - "column": 16 - }, - "end": { - "line": 24, - "column": 18 - } - } - }, - "range": [ - 495, - 500 - ], - "loc": { - "start": { - "line": 24, - "column": 14 - }, - "end": { - "line": 24, - "column": 19 - } - } - }, - "range": [ - 487, - 500 - ], - "loc": { - "start": { - "line": 24, - "column": 6 - }, - "end": { - "line": 24, - "column": 19 - } - } - }, - "consequent": { - "type": "ReturnStatement", - "argument": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 510, - 511 - ], - "loc": { - "start": { - "line": 24, - "column": 29 - }, - "end": { - "line": 24, - "column": 30 - } - } - }, - "range": [ - 502, - 512 - ], - "loc": { - "start": { - "line": 24, - "column": 21 - }, - "end": { - "line": 24, - "column": 31 - } - } - }, - "alternate": null, - "range": [ - 483, - 512 - ], - "loc": { - "start": { - "line": 24, - "column": 2 - }, - "end": { - "line": 24, - "column": 31 - } - } - }, - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 519, - 520 - ], - "loc": { - "start": { - "line": 25, - "column": 6 - }, - "end": { - "line": 25, - "column": 7 - } - } - }, - "property": { - "type": "Identifier", - "name": "ai", - "range": [ - 521, - 523 - ], - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 10 - } - } - }, - "range": [ - 519, - 524 - ], - "loc": { - "start": { - "line": 25, - "column": 6 - }, - "end": { - "line": 25, - "column": 11 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 527, - 528 - ], - "loc": { - "start": { - "line": 25, - "column": 14 - }, - "end": { - "line": 25, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "name": "bi", - "range": [ - 529, - 531 - ], - "loc": { - "start": { - "line": 25, - "column": 16 - }, - "end": { - "line": 25, - "column": 18 - } - } - }, - "range": [ - 527, - 532 - ], - "loc": { - "start": { - "line": 25, - "column": 14 - }, - "end": { - "line": 25, - "column": 19 - } - } - }, - "range": [ - 519, - 532 - ], - "loc": { - "start": { - "line": 25, - "column": 6 - }, - "end": { - "line": 25, - "column": 19 - } - } - }, - "consequent": { - "type": "ReturnStatement", - "argument": { - "type": "UnaryExpression", - "operator": "-", - "argument": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 542, - 543 - ], - "loc": { - "start": { - "line": 25, - "column": 29 - }, - "end": { - "line": 25, - "column": 30 - } - } - }, - "prefix": true, - "range": [ - 541, - 543 - ], - "loc": { - "start": { - "line": 25, - "column": 28 - }, - "end": { - "line": 25, - "column": 30 - } - } - }, - "range": [ - 534, - 544 - ], - "loc": { - "start": { - "line": 25, - "column": 21 - }, - "end": { - "line": 25, - "column": 31 - } - } - }, - "alternate": null, - "range": [ - 515, - 544 - ], - "loc": { - "start": { - "line": 25, - "column": 2 - }, - "end": { - "line": 25, - "column": 31 - } - } - } - ], - "range": [ - 479, - 547 - ], - "loc": { - "start": { - "line": 23, - "column": 29 - }, - "end": { - "line": 26, - "column": 2 - } - } - }, - "range": [ - 451, - 547 - ], - "loc": { - "start": { - "line": 23, - "column": 1 - }, - "end": { - "line": 26, - "column": 2 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " same size aj - ai === bj - bi", - "range": [ - 417, - 449 - ], - "loc": { - "start": { - "line": 22, - "column": 1 - }, - "end": { - "line": 22, - "column": 33 - } - } - } - ] - }, - { - "type": "ReturnStatement", - "argument": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 557, - 558 - ], - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 9 - } - } - }, - "range": [ - 550, - 559 - ], - "loc": { - "start": { - "line": 28, - "column": 1 - }, - "end": { - "line": 28, - "column": 10 - } - } - } - ], - "range": [ - 335, - 561 - ], - "loc": { - "start": { - "line": 15, - "column": 43 - }, - "end": { - "line": 29, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 299, - 561 - ], - "loc": { - "start": { - "line": 15, - "column": 7 - }, - "end": { - "line": 29, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Compares two big endian arrays, |a| >= |b|\n *\n * @param {array} a first operand\n * @param {int} ai a left\n * @param {int} aj a right\n * @param {array} b second operand\n * @param {int} bi b left\n * @param {int} bj b right\n *\n * @return {int} 1 if a > b; 0 if a = b; -1 otherwise.\n ", - "range": [ - 1, - 290 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 13, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 292, - 561 - ], - "loc": { - "start": { - "line": 15, - "column": 0 - }, - "end": { - "line": 29, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Compares two big endian arrays, |a| >= |b|\n *\n * @param {array} a first operand\n * @param {int} ai a left\n * @param {int} aj a right\n * @param {array} b second operand\n * @param {int} bi b left\n * @param {int} bj b right\n *\n * @return {int} 1 if a > b; 0 if a = b; -1 otherwise.\n ", - "range": [ - 1, - 290 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 13, - "column": 3 - } - } - } - ] - } - ], - "sourceType": "module", - "range": [ - 292, - 561 - ], - "loc": { - "start": { - "line": 15, - "column": 0 - }, - "end": { - "line": 29, - "column": 1 - } - }, - "comments": [ - { - "type": "Block", - "value": "*\n * Compares two big endian arrays, |a| >= |b|\n *\n * @param {array} a first operand\n * @param {int} ai a left\n * @param {int} aj a right\n * @param {array} b second operand\n * @param {int} bi b left\n * @param {int} bj b right\n *\n * @return {int} 1 if a > b; 0 if a = b; -1 otherwise.\n ", - "range": [ - 1, - 290 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 13, - "column": 3 - } - } - }, - { - "type": "Line", - "value": " same size aj - ai === bj - bi", - "range": [ - 417, - 449 - ], - "loc": { - "start": { - "line": 22, - "column": 1 - }, - "end": { - "line": 22, - "column": 33 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/1-new/compare/_cmp.js.json b/ast/source/1-new/compare/_cmp.js.json deleted file mode 100644 index bad8dda..0000000 --- a/ast/source/1-new/compare/_cmp.js.json +++ /dev/null @@ -1,785 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ImportDeclaration", - "specifiers": [ - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_CMP", - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_CMP", - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - }, - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - } - ], - "source": { - "type": "Literal", - "value": ".", - "raw": "'.'", - "range": [ - 21, - 24 - ], - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - "range": [ - 0, - 26 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 26 - } - } - }, - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "_cmp", - "range": [ - 44, - 48 - ], - "loc": { - "start": { - "line": 3, - "column": 16 - }, - "end": { - "line": 3, - "column": 20 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 51, - 52 - ], - "loc": { - "start": { - "line": 3, - "column": 23 - }, - "end": { - "line": 3, - "column": 24 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 55, - 57 - ], - "loc": { - "start": { - "line": 3, - "column": 27 - }, - "end": { - "line": 3, - "column": 29 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 60, - 62 - ], - "loc": { - "start": { - "line": 3, - "column": 32 - }, - "end": { - "line": 3, - "column": 34 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 65, - 66 - ], - "loc": { - "start": { - "line": 3, - "column": 37 - }, - "end": { - "line": 3, - "column": 38 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 69, - 71 - ], - "loc": { - "start": { - "line": 3, - "column": 41 - }, - "end": { - "line": 3, - "column": 43 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 74, - 76 - ], - "loc": { - "start": { - "line": 3, - "column": 46 - }, - "end": { - "line": 3, - "column": 48 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "aj", - "range": [ - 88, - 90 - ], - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 8 - } - } - }, - "right": { - "type": "Identifier", - "name": "ai", - "range": [ - 93, - 95 - ], - "loc": { - "start": { - "line": 5, - "column": 11 - }, - "end": { - "line": 5, - "column": 13 - } - } - }, - "range": [ - 88, - 95 - ], - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 13 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "bj", - "range": [ - 98, - 100 - ], - "loc": { - "start": { - "line": 5, - "column": 16 - }, - "end": { - "line": 5, - "column": 18 - } - } - }, - "right": { - "type": "Identifier", - "name": "bi", - "range": [ - 103, - 105 - ], - "loc": { - "start": { - "line": 5, - "column": 21 - }, - "end": { - "line": 5, - "column": 23 - } - } - }, - "range": [ - 98, - 105 - ], - "loc": { - "start": { - "line": 5, - "column": 16 - }, - "end": { - "line": 5, - "column": 23 - } - } - }, - "range": [ - 88, - 105 - ], - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 23 - } - } - }, - "consequent": { - "type": "ReturnStatement", - "argument": { - "type": "UnaryExpression", - "operator": "-", - "argument": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_CMP", - "range": [ - 118, - 122 - ], - "loc": { - "start": { - "line": 6, - "column": 10 - }, - "end": { - "line": 6, - "column": 14 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "b", - "range": [ - 124, - 125 - ], - "loc": { - "start": { - "line": 6, - "column": 16 - }, - "end": { - "line": 6, - "column": 17 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 128, - 130 - ], - "loc": { - "start": { - "line": 6, - "column": 20 - }, - "end": { - "line": 6, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 133, - 135 - ], - "loc": { - "start": { - "line": 6, - "column": 25 - }, - "end": { - "line": 6, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 138, - 139 - ], - "loc": { - "start": { - "line": 6, - "column": 30 - }, - "end": { - "line": 6, - "column": 31 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 142, - 144 - ], - "loc": { - "start": { - "line": 6, - "column": 34 - }, - "end": { - "line": 6, - "column": 36 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 147, - 149 - ], - "loc": { - "start": { - "line": 6, - "column": 39 - }, - "end": { - "line": 6, - "column": 41 - } - } - } - ], - "range": [ - 118, - 151 - ], - "loc": { - "start": { - "line": 6, - "column": 10 - }, - "end": { - "line": 6, - "column": 43 - } - } - }, - "prefix": true, - "range": [ - 117, - 151 - ], - "loc": { - "start": { - "line": 6, - "column": 9 - }, - "end": { - "line": 6, - "column": 43 - } - } - }, - "range": [ - 110, - 153 - ], - "loc": { - "start": { - "line": 6, - "column": 2 - }, - "end": { - "line": 6, - "column": 45 - } - } - }, - "alternate": { - "type": "ReturnStatement", - "argument": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_CMP", - "range": [ - 170, - 174 - ], - "loc": { - "start": { - "line": 8, - "column": 10 - }, - "end": { - "line": 8, - "column": 14 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 176, - 177 - ], - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 17 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 180, - 182 - ], - "loc": { - "start": { - "line": 8, - "column": 20 - }, - "end": { - "line": 8, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 185, - 187 - ], - "loc": { - "start": { - "line": 8, - "column": 25 - }, - "end": { - "line": 8, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 190, - 191 - ], - "loc": { - "start": { - "line": 8, - "column": 30 - }, - "end": { - "line": 8, - "column": 31 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 194, - 196 - ], - "loc": { - "start": { - "line": 8, - "column": 34 - }, - "end": { - "line": 8, - "column": 36 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 199, - 201 - ], - "loc": { - "start": { - "line": 8, - "column": 39 - }, - "end": { - "line": 8, - "column": 41 - } - } - } - ], - "range": [ - 170, - 203 - ], - "loc": { - "start": { - "line": 8, - "column": 10 - }, - "end": { - "line": 8, - "column": 43 - } - } - }, - "range": [ - 162, - 205 - ], - "loc": { - "start": { - "line": 8, - "column": 2 - }, - "end": { - "line": 8, - "column": 45 - } - } - }, - "range": [ - 83, - 205 - ], - "loc": { - "start": { - "line": 5, - "column": 1 - }, - "end": { - "line": 8, - "column": 45 - } - } - } - ], - "range": [ - 79, - 208 - ], - "loc": { - "start": { - "line": 3, - "column": 51 - }, - "end": { - "line": 10, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 35, - 208 - ], - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 10, - "column": 1 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 28, - 208 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 10, - "column": 1 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 208 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 10, - "column": 1 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/compare/_eq.js.json b/ast/source/1-new/compare/_eq.js.json deleted file mode 100644 index 5df4f80..0000000 --- a/ast/source/1-new/compare/_eq.js.json +++ /dev/null @@ -1,500 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ImportDeclaration", - "specifiers": [ - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_cmp", - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_cmp", - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - }, - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - } - ], - "source": { - "type": "Literal", - "value": ".", - "raw": "'.'", - "range": [ - 21, - 24 - ], - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - "range": [ - 0, - 26 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 26 - } - } - }, - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "_eq", - "range": [ - 41, - 44 - ], - "loc": { - "start": { - "line": 3, - "column": 13 - }, - "end": { - "line": 3, - "column": 16 - } - } - }, - "init": { - "type": "ArrowFunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 49, - 50 - ], - "loc": { - "start": { - "line": 3, - "column": 21 - }, - "end": { - "line": 3, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 53, - 55 - ], - "loc": { - "start": { - "line": 3, - "column": 25 - }, - "end": { - "line": 3, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 58, - 60 - ], - "loc": { - "start": { - "line": 3, - "column": 30 - }, - "end": { - "line": 3, - "column": 32 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 63, - 64 - ], - "loc": { - "start": { - "line": 3, - "column": 35 - }, - "end": { - "line": 3, - "column": 36 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 67, - 69 - ], - "loc": { - "start": { - "line": 3, - "column": 39 - }, - "end": { - "line": 3, - "column": 41 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 72, - 74 - ], - "loc": { - "start": { - "line": 3, - "column": 44 - }, - "end": { - "line": 3, - "column": 46 - } - } - } - ], - "body": { - "type": "BinaryExpression", - "operator": "===", - "left": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_cmp", - "range": [ - 80, - 84 - ], - "loc": { - "start": { - "line": 3, - "column": 52 - }, - "end": { - "line": 3, - "column": 56 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 86, - 87 - ], - "loc": { - "start": { - "line": 3, - "column": 58 - }, - "end": { - "line": 3, - "column": 59 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 90, - 92 - ], - "loc": { - "start": { - "line": 3, - "column": 62 - }, - "end": { - "line": 3, - "column": 64 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 95, - 97 - ], - "loc": { - "start": { - "line": 3, - "column": 67 - }, - "end": { - "line": 3, - "column": 69 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 100, - 101 - ], - "loc": { - "start": { - "line": 3, - "column": 72 - }, - "end": { - "line": 3, - "column": 73 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 104, - 106 - ], - "loc": { - "start": { - "line": 3, - "column": 76 - }, - "end": { - "line": 3, - "column": 78 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 109, - 111 - ], - "loc": { - "start": { - "line": 3, - "column": 81 - }, - "end": { - "line": 3, - "column": 83 - } - } - } - ], - "range": [ - 80, - 113 - ], - "loc": { - "start": { - "line": 3, - "column": 52 - }, - "end": { - "line": 3, - "column": 85 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 118, - 119 - ], - "loc": { - "start": { - "line": 3, - "column": 90 - }, - "end": { - "line": 3, - "column": 91 - } - } - }, - "range": [ - 80, - 119 - ], - "loc": { - "start": { - "line": 3, - "column": 52 - }, - "end": { - "line": 3, - "column": 91 - } - } - }, - "generator": false, - "expression": true, - "range": [ - 47, - 119 - ], - "loc": { - "start": { - "line": 3, - "column": 19 - }, - "end": { - "line": 3, - "column": 91 - } - } - }, - "range": [ - 41, - 119 - ], - "loc": { - "start": { - "line": 3, - "column": 13 - }, - "end": { - "line": 3, - "column": 91 - } - } - } - ], - "kind": "const", - "range": [ - 35, - 121 - ], - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 93 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 28, - 121 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 93 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 121 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 93 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/compare/_ge.js.json b/ast/source/1-new/compare/_ge.js.json deleted file mode 100644 index a5a0ead..0000000 --- a/ast/source/1-new/compare/_ge.js.json +++ /dev/null @@ -1,500 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ImportDeclaration", - "specifiers": [ - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_cmp", - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_cmp", - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - }, - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - } - ], - "source": { - "type": "Literal", - "value": ".", - "raw": "'.'", - "range": [ - 21, - 24 - ], - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - "range": [ - 0, - 26 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 26 - } - } - }, - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "_ge", - "range": [ - 41, - 44 - ], - "loc": { - "start": { - "line": 3, - "column": 13 - }, - "end": { - "line": 3, - "column": 16 - } - } - }, - "init": { - "type": "ArrowFunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 49, - 50 - ], - "loc": { - "start": { - "line": 3, - "column": 21 - }, - "end": { - "line": 3, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 53, - 55 - ], - "loc": { - "start": { - "line": 3, - "column": 25 - }, - "end": { - "line": 3, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 58, - 60 - ], - "loc": { - "start": { - "line": 3, - "column": 30 - }, - "end": { - "line": 3, - "column": 32 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 63, - 64 - ], - "loc": { - "start": { - "line": 3, - "column": 35 - }, - "end": { - "line": 3, - "column": 36 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 67, - 69 - ], - "loc": { - "start": { - "line": 3, - "column": 39 - }, - "end": { - "line": 3, - "column": 41 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 72, - 74 - ], - "loc": { - "start": { - "line": 3, - "column": 44 - }, - "end": { - "line": 3, - "column": 46 - } - } - } - ], - "body": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_cmp", - "range": [ - 80, - 84 - ], - "loc": { - "start": { - "line": 3, - "column": 52 - }, - "end": { - "line": 3, - "column": 56 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 86, - 87 - ], - "loc": { - "start": { - "line": 3, - "column": 58 - }, - "end": { - "line": 3, - "column": 59 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 90, - 92 - ], - "loc": { - "start": { - "line": 3, - "column": 62 - }, - "end": { - "line": 3, - "column": 64 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 95, - 97 - ], - "loc": { - "start": { - "line": 3, - "column": 67 - }, - "end": { - "line": 3, - "column": 69 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 100, - 101 - ], - "loc": { - "start": { - "line": 3, - "column": 72 - }, - "end": { - "line": 3, - "column": 73 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 104, - 106 - ], - "loc": { - "start": { - "line": 3, - "column": 76 - }, - "end": { - "line": 3, - "column": 78 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 109, - 111 - ], - "loc": { - "start": { - "line": 3, - "column": 81 - }, - "end": { - "line": 3, - "column": 83 - } - } - } - ], - "range": [ - 80, - 113 - ], - "loc": { - "start": { - "line": 3, - "column": 52 - }, - "end": { - "line": 3, - "column": 85 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 117, - 118 - ], - "loc": { - "start": { - "line": 3, - "column": 89 - }, - "end": { - "line": 3, - "column": 90 - } - } - }, - "range": [ - 80, - 118 - ], - "loc": { - "start": { - "line": 3, - "column": 52 - }, - "end": { - "line": 3, - "column": 90 - } - } - }, - "generator": false, - "expression": true, - "range": [ - 47, - 118 - ], - "loc": { - "start": { - "line": 3, - "column": 19 - }, - "end": { - "line": 3, - "column": 90 - } - } - }, - "range": [ - 41, - 118 - ], - "loc": { - "start": { - "line": 3, - "column": 13 - }, - "end": { - "line": 3, - "column": 90 - } - } - } - ], - "kind": "const", - "range": [ - 35, - 120 - ], - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 92 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 28, - 120 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 92 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 120 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 92 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/compare/_gt.js.json b/ast/source/1-new/compare/_gt.js.json deleted file mode 100644 index a779868..0000000 --- a/ast/source/1-new/compare/_gt.js.json +++ /dev/null @@ -1,500 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ImportDeclaration", - "specifiers": [ - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_cmp", - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_cmp", - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - }, - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - } - ], - "source": { - "type": "Literal", - "value": ".", - "raw": "'.'", - "range": [ - 21, - 24 - ], - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - "range": [ - 0, - 26 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 26 - } - } - }, - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "_gt", - "range": [ - 41, - 44 - ], - "loc": { - "start": { - "line": 3, - "column": 13 - }, - "end": { - "line": 3, - "column": 16 - } - } - }, - "init": { - "type": "ArrowFunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 49, - 50 - ], - "loc": { - "start": { - "line": 3, - "column": 21 - }, - "end": { - "line": 3, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 53, - 55 - ], - "loc": { - "start": { - "line": 3, - "column": 25 - }, - "end": { - "line": 3, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 58, - 60 - ], - "loc": { - "start": { - "line": 3, - "column": 30 - }, - "end": { - "line": 3, - "column": 32 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 63, - 64 - ], - "loc": { - "start": { - "line": 3, - "column": 35 - }, - "end": { - "line": 3, - "column": 36 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 67, - 69 - ], - "loc": { - "start": { - "line": 3, - "column": 39 - }, - "end": { - "line": 3, - "column": 41 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 72, - 74 - ], - "loc": { - "start": { - "line": 3, - "column": 44 - }, - "end": { - "line": 3, - "column": 46 - } - } - } - ], - "body": { - "type": "BinaryExpression", - "operator": ">", - "left": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_cmp", - "range": [ - 80, - 84 - ], - "loc": { - "start": { - "line": 3, - "column": 52 - }, - "end": { - "line": 3, - "column": 56 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 86, - 87 - ], - "loc": { - "start": { - "line": 3, - "column": 58 - }, - "end": { - "line": 3, - "column": 59 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 90, - 92 - ], - "loc": { - "start": { - "line": 3, - "column": 62 - }, - "end": { - "line": 3, - "column": 64 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 95, - 97 - ], - "loc": { - "start": { - "line": 3, - "column": 67 - }, - "end": { - "line": 3, - "column": 69 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 100, - 101 - ], - "loc": { - "start": { - "line": 3, - "column": 72 - }, - "end": { - "line": 3, - "column": 73 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 104, - 106 - ], - "loc": { - "start": { - "line": 3, - "column": 76 - }, - "end": { - "line": 3, - "column": 78 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 109, - 111 - ], - "loc": { - "start": { - "line": 3, - "column": 81 - }, - "end": { - "line": 3, - "column": 83 - } - } - } - ], - "range": [ - 80, - 113 - ], - "loc": { - "start": { - "line": 3, - "column": 52 - }, - "end": { - "line": 3, - "column": 85 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 116, - 117 - ], - "loc": { - "start": { - "line": 3, - "column": 88 - }, - "end": { - "line": 3, - "column": 89 - } - } - }, - "range": [ - 80, - 117 - ], - "loc": { - "start": { - "line": 3, - "column": 52 - }, - "end": { - "line": 3, - "column": 89 - } - } - }, - "generator": false, - "expression": true, - "range": [ - 47, - 117 - ], - "loc": { - "start": { - "line": 3, - "column": 19 - }, - "end": { - "line": 3, - "column": 89 - } - } - }, - "range": [ - 41, - 117 - ], - "loc": { - "start": { - "line": 3, - "column": 13 - }, - "end": { - "line": 3, - "column": 89 - } - } - } - ], - "kind": "const", - "range": [ - 35, - 119 - ], - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 91 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 28, - 119 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 91 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 119 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 91 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/compare/_jz.js.json b/ast/source/1-new/compare/_jz.js.json deleted file mode 100644 index 7608d0e..0000000 --- a/ast/source/1-new/compare/_jz.js.json +++ /dev/null @@ -1,502 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "_jz", - "range": [ - 148, - 151 - ], - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 19 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 154, - 155 - ], - "loc": { - "start": { - "line": 10, - "column": 22 - }, - "end": { - "line": 10, - "column": 23 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 158, - 160 - ], - "loc": { - "start": { - "line": 10, - "column": 26 - }, - "end": { - "line": 10, - "column": 28 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 163, - 165 - ], - "loc": { - "start": { - "line": 10, - "column": 31 - }, - "end": { - "line": 10, - "column": 33 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ForStatement", - "init": null, - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "ai", - "range": [ - 180, - 182 - ], - "loc": { - "start": { - "line": 12, - "column": 9 - }, - "end": { - "line": 12, - "column": 11 - } - } - }, - "right": { - "type": "Identifier", - "name": "aj", - "range": [ - 185, - 187 - ], - "loc": { - "start": { - "line": 12, - "column": 14 - }, - "end": { - "line": 12, - "column": 16 - } - } - }, - "range": [ - 180, - 187 - ], - "loc": { - "start": { - "line": 12, - "column": 9 - }, - "end": { - "line": 12, - "column": 16 - } - } - }, - "update": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "ai", - "range": [ - 192, - 194 - ], - "loc": { - "start": { - "line": 12, - "column": 21 - }, - "end": { - "line": 12, - "column": 23 - } - } - }, - "prefix": true, - "range": [ - 190, - 194 - ], - "loc": { - "start": { - "line": 12, - "column": 19 - }, - "end": { - "line": 12, - "column": 23 - } - } - }, - "body": { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "!==", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 202, - 203 - ], - "loc": { - "start": { - "line": 12, - "column": 31 - }, - "end": { - "line": 12, - "column": 32 - } - } - }, - "property": { - "type": "Identifier", - "name": "ai", - "range": [ - 204, - 206 - ], - "loc": { - "start": { - "line": 12, - "column": 33 - }, - "end": { - "line": 12, - "column": 35 - } - } - }, - "range": [ - 202, - 207 - ], - "loc": { - "start": { - "line": 12, - "column": 31 - }, - "end": { - "line": 12, - "column": 36 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 212, - 213 - ], - "loc": { - "start": { - "line": 12, - "column": 41 - }, - "end": { - "line": 12, - "column": 42 - } - } - }, - "range": [ - 202, - 213 - ], - "loc": { - "start": { - "line": 12, - "column": 31 - }, - "end": { - "line": 12, - "column": 42 - } - } - }, - "consequent": { - "type": "ReturnStatement", - "argument": { - "type": "Literal", - "value": false, - "raw": "false", - "range": [ - 223, - 228 - ], - "loc": { - "start": { - "line": 12, - "column": 52 - }, - "end": { - "line": 12, - "column": 57 - } - } - }, - "range": [ - 216, - 230 - ], - "loc": { - "start": { - "line": 12, - "column": 45 - }, - "end": { - "line": 12, - "column": 59 - } - } - }, - "alternate": null, - "range": [ - 197, - 230 - ], - "loc": { - "start": { - "line": 12, - "column": 26 - }, - "end": { - "line": 12, - "column": 59 - } - } - }, - "range": [ - 172, - 230 - ], - "loc": { - "start": { - "line": 12, - "column": 1 - }, - "end": { - "line": 12, - "column": 59 - } - } - }, - { - "type": "ReturnStatement", - "argument": { - "type": "Literal", - "value": true, - "raw": "true", - "range": [ - 240, - 244 - ], - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 12 - } - } - }, - "range": [ - 233, - 246 - ], - "loc": { - "start": { - "line": 14, - "column": 1 - }, - "end": { - "line": 14, - "column": 14 - } - } - } - ], - "range": [ - 168, - 249 - ], - "loc": { - "start": { - "line": 10, - "column": 36 - }, - "end": { - "line": 16, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 139, - 249 - ], - "loc": { - "start": { - "line": 10, - "column": 7 - }, - "end": { - "line": 16, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Returns true if number is 0.\n *\n * @param {array} a first operand\n * @param {int} ai a left\n * @param {int} aj a right\n ", - "range": [ - 1, - 130 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 8, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 132, - 249 - ], - "loc": { - "start": { - "line": 10, - "column": 0 - }, - "end": { - "line": 16, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Returns true if number is 0.\n *\n * @param {array} a first operand\n * @param {int} ai a left\n * @param {int} aj a right\n ", - "range": [ - 1, - 130 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 8, - "column": 3 - } - } - } - ] - } - ], - "sourceType": "module", - "range": [ - 132, - 249 - ], - "loc": { - "start": { - "line": 10, - "column": 0 - }, - "end": { - "line": 16, - "column": 1 - } - }, - "comments": [ - { - "type": "Block", - "value": "*\n * Returns true if number is 0.\n *\n * @param {array} a first operand\n * @param {int} ai a left\n * @param {int} aj a right\n ", - "range": [ - 1, - 130 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 8, - "column": 3 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/1-new/compare/_le.js.json b/ast/source/1-new/compare/_le.js.json deleted file mode 100644 index 00992ae..0000000 --- a/ast/source/1-new/compare/_le.js.json +++ /dev/null @@ -1,500 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ImportDeclaration", - "specifiers": [ - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_cmp", - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_cmp", - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - }, - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - } - ], - "source": { - "type": "Literal", - "value": ".", - "raw": "'.'", - "range": [ - 21, - 24 - ], - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - "range": [ - 0, - 26 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 26 - } - } - }, - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "_le", - "range": [ - 41, - 44 - ], - "loc": { - "start": { - "line": 3, - "column": 13 - }, - "end": { - "line": 3, - "column": 16 - } - } - }, - "init": { - "type": "ArrowFunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 49, - 50 - ], - "loc": { - "start": { - "line": 3, - "column": 21 - }, - "end": { - "line": 3, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 53, - 55 - ], - "loc": { - "start": { - "line": 3, - "column": 25 - }, - "end": { - "line": 3, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 58, - 60 - ], - "loc": { - "start": { - "line": 3, - "column": 30 - }, - "end": { - "line": 3, - "column": 32 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 63, - 64 - ], - "loc": { - "start": { - "line": 3, - "column": 35 - }, - "end": { - "line": 3, - "column": 36 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 67, - 69 - ], - "loc": { - "start": { - "line": 3, - "column": 39 - }, - "end": { - "line": 3, - "column": 41 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 72, - 74 - ], - "loc": { - "start": { - "line": 3, - "column": 44 - }, - "end": { - "line": 3, - "column": 46 - } - } - } - ], - "body": { - "type": "BinaryExpression", - "operator": "<=", - "left": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_cmp", - "range": [ - 80, - 84 - ], - "loc": { - "start": { - "line": 3, - "column": 52 - }, - "end": { - "line": 3, - "column": 56 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 86, - 87 - ], - "loc": { - "start": { - "line": 3, - "column": 58 - }, - "end": { - "line": 3, - "column": 59 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 90, - 92 - ], - "loc": { - "start": { - "line": 3, - "column": 62 - }, - "end": { - "line": 3, - "column": 64 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 95, - 97 - ], - "loc": { - "start": { - "line": 3, - "column": 67 - }, - "end": { - "line": 3, - "column": 69 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 100, - 101 - ], - "loc": { - "start": { - "line": 3, - "column": 72 - }, - "end": { - "line": 3, - "column": 73 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 104, - 106 - ], - "loc": { - "start": { - "line": 3, - "column": 76 - }, - "end": { - "line": 3, - "column": 78 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 109, - 111 - ], - "loc": { - "start": { - "line": 3, - "column": 81 - }, - "end": { - "line": 3, - "column": 83 - } - } - } - ], - "range": [ - 80, - 113 - ], - "loc": { - "start": { - "line": 3, - "column": 52 - }, - "end": { - "line": 3, - "column": 85 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 117, - 118 - ], - "loc": { - "start": { - "line": 3, - "column": 89 - }, - "end": { - "line": 3, - "column": 90 - } - } - }, - "range": [ - 80, - 118 - ], - "loc": { - "start": { - "line": 3, - "column": 52 - }, - "end": { - "line": 3, - "column": 90 - } - } - }, - "generator": false, - "expression": true, - "range": [ - 47, - 118 - ], - "loc": { - "start": { - "line": 3, - "column": 19 - }, - "end": { - "line": 3, - "column": 90 - } - } - }, - "range": [ - 41, - 118 - ], - "loc": { - "start": { - "line": 3, - "column": 13 - }, - "end": { - "line": 3, - "column": 90 - } - } - } - ], - "kind": "const", - "range": [ - 35, - 120 - ], - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 92 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 28, - 120 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 92 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 120 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 92 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/compare/_lt.js.json b/ast/source/1-new/compare/_lt.js.json deleted file mode 100644 index f5c71d7..0000000 --- a/ast/source/1-new/compare/_lt.js.json +++ /dev/null @@ -1,500 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ImportDeclaration", - "specifiers": [ - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_cmp", - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_cmp", - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - }, - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - } - ], - "source": { - "type": "Literal", - "value": ".", - "raw": "'.'", - "range": [ - 21, - 24 - ], - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - "range": [ - 0, - 26 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 26 - } - } - }, - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "_lt", - "range": [ - 41, - 44 - ], - "loc": { - "start": { - "line": 3, - "column": 13 - }, - "end": { - "line": 3, - "column": 16 - } - } - }, - "init": { - "type": "ArrowFunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 49, - 50 - ], - "loc": { - "start": { - "line": 3, - "column": 21 - }, - "end": { - "line": 3, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 53, - 55 - ], - "loc": { - "start": { - "line": 3, - "column": 25 - }, - "end": { - "line": 3, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 58, - 60 - ], - "loc": { - "start": { - "line": 3, - "column": 30 - }, - "end": { - "line": 3, - "column": 32 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 63, - 64 - ], - "loc": { - "start": { - "line": 3, - "column": 35 - }, - "end": { - "line": 3, - "column": 36 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 67, - 69 - ], - "loc": { - "start": { - "line": 3, - "column": 39 - }, - "end": { - "line": 3, - "column": 41 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 72, - 74 - ], - "loc": { - "start": { - "line": 3, - "column": 44 - }, - "end": { - "line": 3, - "column": 46 - } - } - } - ], - "body": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_cmp", - "range": [ - 80, - 84 - ], - "loc": { - "start": { - "line": 3, - "column": 52 - }, - "end": { - "line": 3, - "column": 56 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 86, - 87 - ], - "loc": { - "start": { - "line": 3, - "column": 58 - }, - "end": { - "line": 3, - "column": 59 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 90, - 92 - ], - "loc": { - "start": { - "line": 3, - "column": 62 - }, - "end": { - "line": 3, - "column": 64 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 95, - 97 - ], - "loc": { - "start": { - "line": 3, - "column": 67 - }, - "end": { - "line": 3, - "column": 69 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 100, - 101 - ], - "loc": { - "start": { - "line": 3, - "column": 72 - }, - "end": { - "line": 3, - "column": 73 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 104, - 106 - ], - "loc": { - "start": { - "line": 3, - "column": 76 - }, - "end": { - "line": 3, - "column": 78 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 109, - 111 - ], - "loc": { - "start": { - "line": 3, - "column": 81 - }, - "end": { - "line": 3, - "column": 83 - } - } - } - ], - "range": [ - 80, - 113 - ], - "loc": { - "start": { - "line": 3, - "column": 52 - }, - "end": { - "line": 3, - "column": 85 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 116, - 117 - ], - "loc": { - "start": { - "line": 3, - "column": 88 - }, - "end": { - "line": 3, - "column": 89 - } - } - }, - "range": [ - 80, - 117 - ], - "loc": { - "start": { - "line": 3, - "column": 52 - }, - "end": { - "line": 3, - "column": 89 - } - } - }, - "generator": false, - "expression": true, - "range": [ - 47, - 117 - ], - "loc": { - "start": { - "line": 3, - "column": 19 - }, - "end": { - "line": 3, - "column": 89 - } - } - }, - "range": [ - 41, - 117 - ], - "loc": { - "start": { - "line": 3, - "column": 13 - }, - "end": { - "line": 3, - "column": 89 - } - } - } - ], - "kind": "const", - "range": [ - 35, - 119 - ], - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 91 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 28, - 119 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 91 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 119 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 91 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/compare/_ne.js.json b/ast/source/1-new/compare/_ne.js.json deleted file mode 100644 index 8dbc0c2..0000000 --- a/ast/source/1-new/compare/_ne.js.json +++ /dev/null @@ -1,500 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ImportDeclaration", - "specifiers": [ - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_cmp", - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_cmp", - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - }, - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - } - ], - "source": { - "type": "Literal", - "value": ".", - "raw": "'.'", - "range": [ - 21, - 24 - ], - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - "range": [ - 0, - 26 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 26 - } - } - }, - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "_ne", - "range": [ - 41, - 44 - ], - "loc": { - "start": { - "line": 3, - "column": 13 - }, - "end": { - "line": 3, - "column": 16 - } - } - }, - "init": { - "type": "ArrowFunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 49, - 50 - ], - "loc": { - "start": { - "line": 3, - "column": 21 - }, - "end": { - "line": 3, - "column": 22 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 53, - 55 - ], - "loc": { - "start": { - "line": 3, - "column": 25 - }, - "end": { - "line": 3, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 58, - 60 - ], - "loc": { - "start": { - "line": 3, - "column": 30 - }, - "end": { - "line": 3, - "column": 32 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 63, - 64 - ], - "loc": { - "start": { - "line": 3, - "column": 35 - }, - "end": { - "line": 3, - "column": 36 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 67, - 69 - ], - "loc": { - "start": { - "line": 3, - "column": 39 - }, - "end": { - "line": 3, - "column": 41 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 72, - 74 - ], - "loc": { - "start": { - "line": 3, - "column": 44 - }, - "end": { - "line": 3, - "column": 46 - } - } - } - ], - "body": { - "type": "BinaryExpression", - "operator": "!==", - "left": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_cmp", - "range": [ - 80, - 84 - ], - "loc": { - "start": { - "line": 3, - "column": 52 - }, - "end": { - "line": 3, - "column": 56 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 86, - 87 - ], - "loc": { - "start": { - "line": 3, - "column": 58 - }, - "end": { - "line": 3, - "column": 59 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 90, - 92 - ], - "loc": { - "start": { - "line": 3, - "column": 62 - }, - "end": { - "line": 3, - "column": 64 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 95, - 97 - ], - "loc": { - "start": { - "line": 3, - "column": 67 - }, - "end": { - "line": 3, - "column": 69 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 100, - 101 - ], - "loc": { - "start": { - "line": 3, - "column": 72 - }, - "end": { - "line": 3, - "column": 73 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 104, - 106 - ], - "loc": { - "start": { - "line": 3, - "column": 76 - }, - "end": { - "line": 3, - "column": 78 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 109, - 111 - ], - "loc": { - "start": { - "line": 3, - "column": 81 - }, - "end": { - "line": 3, - "column": 83 - } - } - } - ], - "range": [ - 80, - 113 - ], - "loc": { - "start": { - "line": 3, - "column": 52 - }, - "end": { - "line": 3, - "column": 85 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 118, - 119 - ], - "loc": { - "start": { - "line": 3, - "column": 90 - }, - "end": { - "line": 3, - "column": 91 - } - } - }, - "range": [ - 80, - 119 - ], - "loc": { - "start": { - "line": 3, - "column": 52 - }, - "end": { - "line": 3, - "column": 91 - } - } - }, - "generator": false, - "expression": true, - "range": [ - 47, - 119 - ], - "loc": { - "start": { - "line": 3, - "column": 19 - }, - "end": { - "line": 3, - "column": 91 - } - } - }, - "range": [ - 41, - 119 - ], - "loc": { - "start": { - "line": 3, - "column": 13 - }, - "end": { - "line": 3, - "column": 91 - } - } - } - ], - "kind": "const", - "range": [ - 35, - 121 - ], - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 93 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 28, - 121 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 93 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 121 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 93 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/compare/index.js.json b/ast/source/1-new/compare/index.js.json deleted file mode 100644 index 347a2c3..0000000 --- a/ast/source/1-new/compare/index.js.json +++ /dev/null @@ -1,345 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./_CMP", - "raw": "'./_CMP'", - "range": [ - 14, - 22 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 22 - } - } - }, - "range": [ - 0, - 24 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./_cmp", - "raw": "'./_cmp'", - "range": [ - 39, - 47 - ], - "loc": { - "start": { - "line": 2, - "column": 14 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - "range": [ - 25, - 49 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 24 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./_eq", - "raw": "'./_eq'", - "range": [ - 64, - 71 - ], - "loc": { - "start": { - "line": 3, - "column": 14 - }, - "end": { - "line": 3, - "column": 21 - } - } - }, - "range": [ - 50, - 73 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 23 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./_ge", - "raw": "'./_ge'", - "range": [ - 88, - 95 - ], - "loc": { - "start": { - "line": 4, - "column": 14 - }, - "end": { - "line": 4, - "column": 21 - } - } - }, - "range": [ - 74, - 97 - ], - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 23 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./_gt", - "raw": "'./_gt'", - "range": [ - 112, - 119 - ], - "loc": { - "start": { - "line": 5, - "column": 14 - }, - "end": { - "line": 5, - "column": 21 - } - } - }, - "range": [ - 98, - 121 - ], - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 23 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./_jz", - "raw": "'./_jz'", - "range": [ - 136, - 143 - ], - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - "range": [ - 122, - 145 - ], - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 6, - "column": 23 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./_le", - "raw": "'./_le'", - "range": [ - 160, - 167 - ], - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 21 - } - } - }, - "range": [ - 146, - 169 - ], - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 23 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./_lt", - "raw": "'./_lt'", - "range": [ - 184, - 191 - ], - "loc": { - "start": { - "line": 8, - "column": 14 - }, - "end": { - "line": 8, - "column": 21 - } - } - }, - "range": [ - 170, - 193 - ], - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 8, - "column": 23 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./_ne", - "raw": "'./_ne'", - "range": [ - 208, - 215 - ], - "loc": { - "start": { - "line": 9, - "column": 14 - }, - "end": { - "line": 9, - "column": 21 - } - } - }, - "range": [ - 194, - 217 - ], - "loc": { - "start": { - "line": 9, - "column": 0 - }, - "end": { - "line": 9, - "column": 23 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 217 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 9, - "column": 23 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/convert/_alloc.js.json b/ast/source/1-new/convert/_alloc.js.json deleted file mode 100644 index e9004df..0000000 --- a/ast/source/1-new/convert/_alloc.js.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "_alloc", - "range": [ - 17, - 23 - ], - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "n", - "range": [ - 26, - 27 - ], - "loc": { - "start": { - "line": 2, - "column": 25 - }, - "end": { - "line": 2, - "column": 26 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ReturnStatement", - "argument": { - "type": "NewExpression", - "callee": { - "type": "Identifier", - "name": "Array", - "range": [ - 45, - 50 - ], - "loc": { - "start": { - "line": 4, - "column": 12 - }, - "end": { - "line": 4, - "column": 17 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "n", - "range": [ - 52, - 53 - ], - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 4, - "column": 20 - } - } - } - ], - "range": [ - 41, - 55 - ], - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 22 - } - } - }, - "range": [ - 34, - 57 - ], - "loc": { - "start": { - "line": 4, - "column": 1 - }, - "end": { - "line": 4, - "column": 24 - } - } - } - ], - "range": [ - 30, - 60 - ], - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 6, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 8, - 60 - ], - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 6, - "column": 1 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 1, - 60 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 6, - "column": 1 - } - } - } - ], - "sourceType": "module", - "range": [ - 1, - 60 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 6, - "column": 1 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/convert/_build.js.json b/ast/source/1-new/convert/_build.js.json deleted file mode 100644 index f7647d3..0000000 --- a/ast/source/1-new/convert/_build.js.json +++ /dev/null @@ -1,1002 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "_build", - "range": [ - 17, - 23 - ], - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "base", - "range": [ - 26, - 30 - ], - "loc": { - "start": { - "line": 2, - "column": 25 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": "Identifier", - "name": "number", - "range": [ - 33, - 39 - ], - "loc": { - "start": { - "line": 2, - "column": 32 - }, - "end": { - "line": 2, - "column": 38 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "data", - "range": [ - 52, - 56 - ], - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 11 - } - } - }, - "init": { - "type": "ArrayExpression", - "elements": [], - "range": [ - 59, - 62 - ], - "loc": { - "start": { - "line": 4, - "column": 14 - }, - "end": { - "line": 4, - "column": 17 - } - } - }, - "range": [ - 52, - 62 - ], - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 17 - } - } - } - ], - "kind": "const", - "range": [ - 46, - 64 - ], - "loc": { - "start": { - "line": 4, - "column": 1 - }, - "end": { - "line": 4, - "column": 19 - } - } - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "q", - "range": [ - 71, - 72 - ], - "loc": { - "start": { - "line": 6, - "column": 5 - }, - "end": { - "line": 6, - "column": 6 - } - } - }, - "init": { - "type": "Identifier", - "name": "number", - "range": [ - 75, - 81 - ], - "loc": { - "start": { - "line": 6, - "column": 9 - }, - "end": { - "line": 6, - "column": 15 - } - } - }, - "range": [ - 71, - 81 - ], - "loc": { - "start": { - "line": 6, - "column": 5 - }, - "end": { - "line": 6, - "column": 15 - } - } - } - ], - "kind": "let", - "range": [ - 67, - 83 - ], - "loc": { - "start": { - "line": 6, - "column": 1 - }, - "end": { - "line": 6, - "column": 17 - } - } - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "d", - "range": [ - 91, - 92 - ], - "loc": { - "start": { - "line": 7, - "column": 7 - }, - "end": { - "line": 7, - "column": 8 - } - } - }, - "init": { - "type": "Identifier", - "name": "base", - "range": [ - 95, - 99 - ], - "loc": { - "start": { - "line": 7, - "column": 11 - }, - "end": { - "line": 7, - "column": 15 - } - } - }, - "range": [ - 91, - 99 - ], - "loc": { - "start": { - "line": 7, - "column": 7 - }, - "end": { - "line": 7, - "column": 15 - } - } - } - ], - "kind": "const", - "range": [ - 85, - 101 - ], - "loc": { - "start": { - "line": 7, - "column": 1 - }, - "end": { - "line": 7, - "column": 17 - } - } - }, - { - "type": "WhileStatement", - "test": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "Identifier", - "name": "q", - "range": [ - 112, - 113 - ], - "loc": { - "start": { - "line": 9, - "column": 9 - }, - "end": { - "line": 9, - "column": 10 - } - } - }, - "right": { - "type": "Identifier", - "name": "d", - "range": [ - 117, - 118 - ], - "loc": { - "start": { - "line": 9, - "column": 14 - }, - "end": { - "line": 9, - "column": 15 - } - } - }, - "range": [ - 112, - 118 - ], - "loc": { - "start": { - "line": 9, - "column": 9 - }, - "end": { - "line": 9, - "column": 15 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "r", - "range": [ - 131, - 132 - ], - "loc": { - "start": { - "line": 10, - "column": 8 - }, - "end": { - "line": 10, - "column": 9 - } - } - }, - "init": { - "type": "BinaryExpression", - "operator": "%", - "left": { - "type": "Identifier", - "name": "q", - "range": [ - 135, - 136 - ], - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 13 - } - } - }, - "right": { - "type": "Identifier", - "name": "d", - "range": [ - 139, - 140 - ], - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 17 - } - } - }, - "range": [ - 135, - 140 - ], - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 17 - } - } - }, - "range": [ - 131, - 140 - ], - "loc": { - "start": { - "line": 10, - "column": 8 - }, - "end": { - "line": 10, - "column": 17 - } - } - } - ], - "kind": "const", - "range": [ - 125, - 142 - ], - "loc": { - "start": { - "line": 10, - "column": 2 - }, - "end": { - "line": 10, - "column": 19 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "data", - "range": [ - 145, - 149 - ], - "loc": { - "start": { - "line": 11, - "column": 2 - }, - "end": { - "line": 11, - "column": 6 - } - } - }, - "property": { - "type": "Identifier", - "name": "push", - "range": [ - 150, - 154 - ], - "loc": { - "start": { - "line": 11, - "column": 7 - }, - "end": { - "line": 11, - "column": 11 - } - } - }, - "range": [ - 145, - 154 - ], - "loc": { - "start": { - "line": 11, - "column": 2 - }, - "end": { - "line": 11, - "column": 11 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "r", - "range": [ - 156, - 157 - ], - "loc": { - "start": { - "line": 11, - "column": 13 - }, - "end": { - "line": 11, - "column": 14 - } - } - } - ], - "range": [ - 145, - 159 - ], - "loc": { - "start": { - "line": 11, - "column": 2 - }, - "end": { - "line": 11, - "column": 16 - } - } - }, - "range": [ - 145, - 161 - ], - "loc": { - "start": { - "line": 11, - "column": 2 - }, - "end": { - "line": 11, - "column": 18 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "q", - "range": [ - 164, - 165 - ], - "loc": { - "start": { - "line": 12, - "column": 2 - }, - "end": { - "line": 12, - "column": 3 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "/", - "left": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "q", - "range": [ - 170, - 171 - ], - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 9 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 174, - 175 - ], - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 13 - } - } - }, - "range": [ - 170, - 175 - ], - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 13 - } - } - }, - "right": { - "type": "Identifier", - "name": "d", - "range": [ - 180, - 181 - ], - "loc": { - "start": { - "line": 12, - "column": 18 - }, - "end": { - "line": 12, - "column": 19 - } - } - }, - "range": [ - 168, - 181 - ], - "loc": { - "start": { - "line": 12, - "column": 6 - }, - "end": { - "line": 12, - "column": 19 - } - } - }, - "range": [ - 164, - 181 - ], - "loc": { - "start": { - "line": 12, - "column": 2 - }, - "end": { - "line": 12, - "column": 19 - } - } - }, - "range": [ - 164, - 183 - ], - "loc": { - "start": { - "line": 12, - "column": 2 - }, - "end": { - "line": 12, - "column": 21 - } - } - } - ], - "range": [ - 121, - 186 - ], - "loc": { - "start": { - "line": 9, - "column": 18 - }, - "end": { - "line": 13, - "column": 2 - } - } - }, - "range": [ - 104, - 186 - ], - "loc": { - "start": { - "line": 9, - "column": 1 - }, - "end": { - "line": 13, - "column": 2 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "data", - "range": [ - 189, - 193 - ], - "loc": { - "start": { - "line": 15, - "column": 1 - }, - "end": { - "line": 15, - "column": 5 - } - } - }, - "property": { - "type": "Identifier", - "name": "push", - "range": [ - 194, - 198 - ], - "loc": { - "start": { - "line": 15, - "column": 6 - }, - "end": { - "line": 15, - "column": 10 - } - } - }, - "range": [ - 189, - 198 - ], - "loc": { - "start": { - "line": 15, - "column": 1 - }, - "end": { - "line": 15, - "column": 10 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "q", - "range": [ - 200, - 201 - ], - "loc": { - "start": { - "line": 15, - "column": 12 - }, - "end": { - "line": 15, - "column": 13 - } - } - } - ], - "range": [ - 189, - 203 - ], - "loc": { - "start": { - "line": 15, - "column": 1 - }, - "end": { - "line": 15, - "column": 15 - } - } - }, - "range": [ - 189, - 205 - ], - "loc": { - "start": { - "line": 15, - "column": 1 - }, - "end": { - "line": 15, - "column": 17 - } - } - }, - { - "type": "ReturnStatement", - "argument": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "data", - "range": [ - 215, - 219 - ], - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "name": "reverse", - "range": [ - 220, - 227 - ], - "loc": { - "start": { - "line": 17, - "column": 13 - }, - "end": { - "line": 17, - "column": 20 - } - } - }, - "range": [ - 215, - 227 - ], - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 20 - } - } - }, - "arguments": [], - "range": [ - 215, - 230 - ], - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 23 - } - } - }, - "range": [ - 208, - 232 - ], - "loc": { - "start": { - "line": 17, - "column": 1 - }, - "end": { - "line": 17, - "column": 25 - } - } - } - ], - "range": [ - 42, - 235 - ], - "loc": { - "start": { - "line": 2, - "column": 41 - }, - "end": { - "line": 19, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 8, - 235 - ], - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 19, - "column": 1 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 1, - 235 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 19, - "column": 1 - } - } - } - ], - "sourceType": "module", - "range": [ - 1, - 235 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 19, - "column": 1 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/convert/_chr.js.json b/ast/source/1-new/convert/_chr.js.json deleted file mode 100644 index 88a2251..0000000 --- a/ast/source/1-new/convert/_chr.js.json +++ /dev/null @@ -1,481 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "_chr", - "range": [ - 17, - 21 - ], - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 20 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "x", - "range": [ - 24, - 25 - ], - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 24 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "x", - "range": [ - 37, - 38 - ], - "loc": { - "start": { - "line": 4, - "column": 6 - }, - "end": { - "line": 4, - "column": 7 - } - } - }, - "right": { - "type": "Literal", - "value": 10, - "raw": "10", - "range": [ - 41, - 43 - ], - "loc": { - "start": { - "line": 4, - "column": 10 - }, - "end": { - "line": 4, - "column": 12 - } - } - }, - "range": [ - 37, - 43 - ], - "loc": { - "start": { - "line": 4, - "column": 6 - }, - "end": { - "line": 4, - "column": 12 - } - } - }, - "consequent": { - "type": "ReturnStatement", - "argument": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "String", - "range": [ - 53, - 59 - ], - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 4, - "column": 28 - } - } - }, - "property": { - "type": "Identifier", - "name": "fromCharCode", - "range": [ - 60, - 72 - ], - "loc": { - "start": { - "line": 4, - "column": 29 - }, - "end": { - "line": 4, - "column": 41 - } - } - }, - "range": [ - 53, - 72 - ], - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 4, - "column": 41 - } - } - }, - "arguments": [ - { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Literal", - "value": 48, - "raw": "48", - "range": [ - 74, - 76 - ], - "loc": { - "start": { - "line": 4, - "column": 43 - }, - "end": { - "line": 4, - "column": 45 - } - } - }, - "right": { - "type": "Identifier", - "name": "x", - "range": [ - 79, - 80 - ], - "loc": { - "start": { - "line": 4, - "column": 48 - }, - "end": { - "line": 4, - "column": 49 - } - } - }, - "range": [ - 74, - 80 - ], - "loc": { - "start": { - "line": 4, - "column": 43 - }, - "end": { - "line": 4, - "column": 49 - } - } - } - ], - "range": [ - 53, - 82 - ], - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 4, - "column": 51 - } - } - }, - "range": [ - 46, - 84 - ], - "loc": { - "start": { - "line": 4, - "column": 15 - }, - "end": { - "line": 4, - "column": 53 - } - } - }, - "alternate": null, - "range": [ - 32, - 84 - ], - "loc": { - "start": { - "line": 4, - "column": 1 - }, - "end": { - "line": 4, - "column": 53 - } - } - }, - { - "type": "ReturnStatement", - "argument": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "String", - "range": [ - 93, - 99 - ], - "loc": { - "start": { - "line": 5, - "column": 8 - }, - "end": { - "line": 5, - "column": 14 - } - } - }, - "property": { - "type": "Identifier", - "name": "fromCharCode", - "range": [ - 100, - 112 - ], - "loc": { - "start": { - "line": 5, - "column": 15 - }, - "end": { - "line": 5, - "column": 27 - } - } - }, - "range": [ - 93, - 112 - ], - "loc": { - "start": { - "line": 5, - "column": 8 - }, - "end": { - "line": 5, - "column": 27 - } - } - }, - "arguments": [ - { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Literal", - "value": 87, - "raw": "87", - "range": [ - 114, - 116 - ], - "loc": { - "start": { - "line": 5, - "column": 29 - }, - "end": { - "line": 5, - "column": 31 - } - } - }, - "right": { - "type": "Identifier", - "name": "x", - "range": [ - 119, - 120 - ], - "loc": { - "start": { - "line": 5, - "column": 34 - }, - "end": { - "line": 5, - "column": 35 - } - } - }, - "range": [ - 114, - 120 - ], - "loc": { - "start": { - "line": 5, - "column": 29 - }, - "end": { - "line": 5, - "column": 35 - } - } - } - ], - "range": [ - 93, - 122 - ], - "loc": { - "start": { - "line": 5, - "column": 8 - }, - "end": { - "line": 5, - "column": 37 - } - } - }, - "range": [ - 86, - 124 - ], - "loc": { - "start": { - "line": 5, - "column": 1 - }, - "end": { - "line": 5, - "column": 39 - } - } - } - ], - "range": [ - 28, - 127 - ], - "loc": { - "start": { - "line": 2, - "column": 27 - }, - "end": { - "line": 7, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 8, - 127 - ], - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 7, - "column": 1 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 1, - 127 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 7, - "column": 1 - } - } - } - ], - "sourceType": "module", - "range": [ - 1, - 127 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 7, - "column": 1 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/convert/_convert.js.json b/ast/source/1-new/convert/_convert.js.json deleted file mode 100644 index a146d6b..0000000 --- a/ast/source/1-new/convert/_convert.js.json +++ /dev/null @@ -1,1203 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ImportDeclaration", - "specifiers": [ - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_convert_to_smaller", - "range": [ - 9, - 28 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 28 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_convert_to_smaller", - "range": [ - 9, - 28 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 28 - } - } - }, - "range": [ - 9, - 28 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 28 - } - } - }, - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_convert_to_larger", - "range": [ - 31, - 49 - ], - "loc": { - "start": { - "line": 1, - "column": 31 - }, - "end": { - "line": 1, - "column": 49 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_convert_to_larger", - "range": [ - 31, - 49 - ], - "loc": { - "start": { - "line": 1, - "column": 31 - }, - "end": { - "line": 1, - "column": 49 - } - } - }, - "range": [ - 31, - 49 - ], - "loc": { - "start": { - "line": 1, - "column": 31 - }, - "end": { - "line": 1, - "column": 49 - } - } - }, - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_copy", - "range": [ - 52, - 57 - ], - "loc": { - "start": { - "line": 1, - "column": 52 - }, - "end": { - "line": 1, - "column": 57 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_copy", - "range": [ - 52, - 57 - ], - "loc": { - "start": { - "line": 1, - "column": 52 - }, - "end": { - "line": 1, - "column": 57 - } - } - }, - "range": [ - 52, - 57 - ], - "loc": { - "start": { - "line": 1, - "column": 52 - }, - "end": { - "line": 1, - "column": 57 - } - } - } - ], - "source": { - "type": "Literal", - "value": ".", - "raw": "'.'", - "range": [ - 65, - 68 - ], - "loc": { - "start": { - "line": 1, - "column": 65 - }, - "end": { - "line": 1, - "column": 68 - } - } - }, - "range": [ - 0, - 70 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 70 - } - }, - "trailingComments": [ - { - "type": "Block", - "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", - "range": [ - 72, - 477 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 13, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "_convert", - "range": [ - 495, - 503 - ], - "loc": { - "start": { - "line": 15, - "column": 16 - }, - "end": { - "line": 15, - "column": 24 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "f", - "range": [ - 506, - 507 - ], - "loc": { - "start": { - "line": 15, - "column": 27 - }, - "end": { - "line": 15, - "column": 28 - } - } - }, - { - "type": "Identifier", - "name": "t", - "range": [ - 510, - 511 - ], - "loc": { - "start": { - "line": 15, - "column": 31 - }, - "end": { - "line": 15, - "column": 32 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 514, - 515 - ], - "loc": { - "start": { - "line": 15, - "column": 35 - }, - "end": { - "line": 15, - "column": 36 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 518, - 520 - ], - "loc": { - "start": { - "line": 15, - "column": 39 - }, - "end": { - "line": 15, - "column": 41 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 523, - 525 - ], - "loc": { - "start": { - "line": 15, - "column": 44 - }, - "end": { - "line": 15, - "column": 46 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 528, - 529 - ], - "loc": { - "start": { - "line": 15, - "column": 49 - }, - "end": { - "line": 15, - "column": 50 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 532, - 534 - ], - "loc": { - "start": { - "line": 15, - "column": 53 - }, - "end": { - "line": 15, - "column": 55 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 537, - 539 - ], - "loc": { - "start": { - "line": 15, - "column": 58 - }, - "end": { - "line": 15, - "column": 60 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": ">", - "left": { - "type": "Identifier", - "name": "f", - "range": [ - 551, - 552 - ], - "loc": { - "start": { - "line": 17, - "column": 6 - }, - "end": { - "line": 17, - "column": 7 - } - } - }, - "right": { - "type": "Identifier", - "name": "t", - "range": [ - 555, - 556 - ], - "loc": { - "start": { - "line": 17, - "column": 10 - }, - "end": { - "line": 17, - "column": 11 - } - } - }, - "range": [ - 551, - 556 - ], - "loc": { - "start": { - "line": 17, - "column": 6 - }, - "end": { - "line": 17, - "column": 11 - } - } - }, - "consequent": { - "type": "ReturnStatement", - "argument": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_convert_to_smaller", - "range": [ - 566, - 585 - ], - "loc": { - "start": { - "line": 17, - "column": 21 - }, - "end": { - "line": 17, - "column": 40 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "f", - "range": [ - 587, - 588 - ], - "loc": { - "start": { - "line": 17, - "column": 42 - }, - "end": { - "line": 17, - "column": 43 - } - } - }, - { - "type": "Identifier", - "name": "t", - "range": [ - 591, - 592 - ], - "loc": { - "start": { - "line": 17, - "column": 46 - }, - "end": { - "line": 17, - "column": 47 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 595, - 596 - ], - "loc": { - "start": { - "line": 17, - "column": 50 - }, - "end": { - "line": 17, - "column": 51 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 599, - 601 - ], - "loc": { - "start": { - "line": 17, - "column": 54 - }, - "end": { - "line": 17, - "column": 56 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 604, - 606 - ], - "loc": { - "start": { - "line": 17, - "column": 59 - }, - "end": { - "line": 17, - "column": 61 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 609, - 610 - ], - "loc": { - "start": { - "line": 17, - "column": 64 - }, - "end": { - "line": 17, - "column": 65 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 613, - 615 - ], - "loc": { - "start": { - "line": 17, - "column": 68 - }, - "end": { - "line": 17, - "column": 70 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 618, - 620 - ], - "loc": { - "start": { - "line": 17, - "column": 73 - }, - "end": { - "line": 17, - "column": 75 - } - } - } - ], - "range": [ - 566, - 622 - ], - "loc": { - "start": { - "line": 17, - "column": 21 - }, - "end": { - "line": 17, - "column": 77 - } - } - }, - "range": [ - 559, - 624 - ], - "loc": { - "start": { - "line": 17, - "column": 14 - }, - "end": { - "line": 17, - "column": 79 - } - } - }, - "alternate": null, - "range": [ - 546, - 624 - ], - "loc": { - "start": { - "line": 17, - "column": 1 - }, - "end": { - "line": 17, - "column": 79 - } - } - }, - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "f", - "range": [ - 631, - 632 - ], - "loc": { - "start": { - "line": 18, - "column": 6 - }, - "end": { - "line": 18, - "column": 7 - } - } - }, - "right": { - "type": "Identifier", - "name": "t", - "range": [ - 635, - 636 - ], - "loc": { - "start": { - "line": 18, - "column": 10 - }, - "end": { - "line": 18, - "column": 11 - } - } - }, - "range": [ - 631, - 636 - ], - "loc": { - "start": { - "line": 18, - "column": 6 - }, - "end": { - "line": 18, - "column": 11 - } - } - }, - "consequent": { - "type": "ReturnStatement", - "argument": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_convert_to_larger", - "range": [ - 646, - 664 - ], - "loc": { - "start": { - "line": 18, - "column": 21 - }, - "end": { - "line": 18, - "column": 39 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "f", - "range": [ - 666, - 667 - ], - "loc": { - "start": { - "line": 18, - "column": 41 - }, - "end": { - "line": 18, - "column": 42 - } - } - }, - { - "type": "Identifier", - "name": "t", - "range": [ - 670, - 671 - ], - "loc": { - "start": { - "line": 18, - "column": 45 - }, - "end": { - "line": 18, - "column": 46 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 674, - 675 - ], - "loc": { - "start": { - "line": 18, - "column": 49 - }, - "end": { - "line": 18, - "column": 50 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 678, - 680 - ], - "loc": { - "start": { - "line": 18, - "column": 53 - }, - "end": { - "line": 18, - "column": 55 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 683, - 685 - ], - "loc": { - "start": { - "line": 18, - "column": 58 - }, - "end": { - "line": 18, - "column": 60 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 688, - 689 - ], - "loc": { - "start": { - "line": 18, - "column": 63 - }, - "end": { - "line": 18, - "column": 64 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 692, - 694 - ], - "loc": { - "start": { - "line": 18, - "column": 67 - }, - "end": { - "line": 18, - "column": 69 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 697, - 699 - ], - "loc": { - "start": { - "line": 18, - "column": 72 - }, - "end": { - "line": 18, - "column": 74 - } - } - } - ], - "range": [ - 646, - 701 - ], - "loc": { - "start": { - "line": 18, - "column": 21 - }, - "end": { - "line": 18, - "column": 76 - } - } - }, - "range": [ - 639, - 703 - ], - "loc": { - "start": { - "line": 18, - "column": 14 - }, - "end": { - "line": 18, - "column": 78 - } - } - }, - "alternate": null, - "range": [ - 626, - 703 - ], - "loc": { - "start": { - "line": 18, - "column": 1 - }, - "end": { - "line": 18, - "column": 78 - } - } - }, - { - "type": "ReturnStatement", - "argument": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_copy", - "range": [ - 712, - 717 - ], - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 13 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 719, - 720 - ], - "loc": { - "start": { - "line": 19, - "column": 15 - }, - "end": { - "line": 19, - "column": 16 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 723, - 725 - ], - "loc": { - "start": { - "line": 19, - "column": 19 - }, - "end": { - "line": 19, - "column": 21 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 728, - 730 - ], - "loc": { - "start": { - "line": 19, - "column": 24 - }, - "end": { - "line": 19, - "column": 26 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 733, - 734 - ], - "loc": { - "start": { - "line": 19, - "column": 29 - }, - "end": { - "line": 19, - "column": 30 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 737, - 739 - ], - "loc": { - "start": { - "line": 19, - "column": 33 - }, - "end": { - "line": 19, - "column": 35 - } - } - } - ], - "range": [ - 712, - 741 - ], - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 37 - } - } - }, - "range": [ - 705, - 743 - ], - "loc": { - "start": { - "line": 19, - "column": 1 - }, - "end": { - "line": 19, - "column": 39 - } - } - } - ], - "range": [ - 542, - 746 - ], - "loc": { - "start": { - "line": 15, - "column": 63 - }, - "end": { - "line": 21, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 486, - 746 - ], - "loc": { - "start": { - "line": 15, - "column": 7 - }, - "end": { - "line": 21, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", - "range": [ - 72, - 477 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 13, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 479, - 746 - ], - "loc": { - "start": { - "line": 15, - "column": 0 - }, - "end": { - "line": 21, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", - "range": [ - 72, - 477 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 13, - "column": 3 - } - } - } - ] - } - ], - "sourceType": "module", - "range": [ - 0, - 746 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 21, - "column": 1 - } - }, - "comments": [ - { - "type": "Block", - "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", - "range": [ - 72, - 477 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 13, - "column": 3 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/1-new/convert/_convert_slow.js.json b/ast/source/1-new/convert/_convert_slow.js.json deleted file mode 100644 index 622d0e6..0000000 --- a/ast/source/1-new/convert/_convert_slow.js.json +++ /dev/null @@ -1,2657 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ImportDeclaration", - "specifiers": [ - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_build", - "range": [ - 9, - 15 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_build", - "range": [ - 9, - 15 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - } - } - }, - "range": [ - 9, - 15 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - } - } - }, - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_alloc", - "range": [ - 18, - 24 - ], - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_alloc", - "range": [ - 18, - 24 - ], - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - "range": [ - 18, - 24 - ], - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_reset", - "range": [ - 27, - 33 - ], - "loc": { - "start": { - "line": 1, - "column": 27 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_reset", - "range": [ - 27, - 33 - ], - "loc": { - "start": { - "line": 1, - "column": 27 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - "range": [ - 27, - 33 - ], - "loc": { - "start": { - "line": 1, - "column": 27 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_copy", - "range": [ - 36, - 41 - ], - "loc": { - "start": { - "line": 1, - "column": 36 - }, - "end": { - "line": 1, - "column": 41 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_copy", - "range": [ - 36, - 41 - ], - "loc": { - "start": { - "line": 1, - "column": 36 - }, - "end": { - "line": 1, - "column": 41 - } - } - }, - "range": [ - 36, - 41 - ], - "loc": { - "start": { - "line": 1, - "column": 36 - }, - "end": { - "line": 1, - "column": 41 - } - } - } - ], - "source": { - "type": "Literal", - "value": ".", - "raw": "'.'", - "range": [ - 49, - 52 - ], - "loc": { - "start": { - "line": 1, - "column": 49 - }, - "end": { - "line": 1, - "column": 52 - } - } - }, - "range": [ - 0, - 54 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 54 - } - } - }, - { - "type": "ImportDeclaration", - "specifiers": [ - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_div", - "range": [ - 64, - 68 - ], - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 13 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_div", - "range": [ - 64, - 68 - ], - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 13 - } - } - }, - "range": [ - 64, - 68 - ], - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 13 - } - } - } - ], - "source": { - "type": "Literal", - "value": "../arithmetic", - "raw": "'../arithmetic'", - "range": [ - 76, - 91 - ], - "loc": { - "start": { - "line": 2, - "column": 21 - }, - "end": { - "line": 2, - "column": 36 - } - } - }, - "range": [ - 55, - 93 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 38 - } - } - }, - { - "type": "ImportDeclaration", - "specifiers": [ - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_jz", - "range": [ - 103, - 106 - ], - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_jz", - "range": [ - 103, - 106 - ], - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - } - } - }, - "range": [ - 103, - 106 - ], - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - } - } - } - ], - "source": { - "type": "Literal", - "value": "../compare", - "raw": "'../compare'", - "range": [ - 114, - 126 - ], - "loc": { - "start": { - "line": 3, - "column": 20 - }, - "end": { - "line": 3, - "column": 32 - } - } - }, - "range": [ - 94, - 128 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 34 - } - }, - "trailingComments": [ - { - "type": "Block", - "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", - "range": [ - 130, - 535 - ], - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 15, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "_convert_slow", - "range": [ - 553, - 566 - ], - "loc": { - "start": { - "line": 17, - "column": 16 - }, - "end": { - "line": 17, - "column": 29 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "f", - "range": [ - 569, - 570 - ], - "loc": { - "start": { - "line": 17, - "column": 32 - }, - "end": { - "line": 17, - "column": 33 - } - } - }, - { - "type": "Identifier", - "name": "t", - "range": [ - 573, - 574 - ], - "loc": { - "start": { - "line": 17, - "column": 36 - }, - "end": { - "line": 17, - "column": 37 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 577, - 578 - ], - "loc": { - "start": { - "line": 17, - "column": 40 - }, - "end": { - "line": 17, - "column": 41 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 581, - 583 - ], - "loc": { - "start": { - "line": 17, - "column": 44 - }, - "end": { - "line": 17, - "column": 46 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 586, - 588 - ], - "loc": { - "start": { - "line": 17, - "column": 49 - }, - "end": { - "line": 17, - "column": 51 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 591, - 592 - ], - "loc": { - "start": { - "line": 17, - "column": 54 - }, - "end": { - "line": 17, - "column": 55 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 595, - 597 - ], - "loc": { - "start": { - "line": 17, - "column": 58 - }, - "end": { - "line": 17, - "column": 60 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 600, - 602 - ], - "loc": { - "start": { - "line": 17, - "column": 63 - }, - "end": { - "line": 17, - "column": 65 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "d", - "range": [ - 615, - 616 - ], - "loc": { - "start": { - "line": 19, - "column": 7 - }, - "end": { - "line": 19, - "column": 8 - } - } - }, - "init": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_build", - "range": [ - 619, - 625 - ], - "loc": { - "start": { - "line": 19, - "column": 11 - }, - "end": { - "line": 19, - "column": 17 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "f", - "range": [ - 627, - 628 - ], - "loc": { - "start": { - "line": 19, - "column": 19 - }, - "end": { - "line": 19, - "column": 20 - } - } - }, - { - "type": "Identifier", - "name": "t", - "range": [ - 631, - 632 - ], - "loc": { - "start": { - "line": 19, - "column": 23 - }, - "end": { - "line": 19, - "column": 24 - } - } - } - ], - "range": [ - 619, - 634 - ], - "loc": { - "start": { - "line": 19, - "column": 11 - }, - "end": { - "line": 19, - "column": 26 - } - } - }, - "range": [ - 615, - 634 - ], - "loc": { - "start": { - "line": 19, - "column": 7 - }, - "end": { - "line": 19, - "column": 26 - } - } - } - ], - "kind": "const", - "range": [ - 609, - 636 - ], - "loc": { - "start": { - "line": 19, - "column": 1 - }, - "end": { - "line": 19, - "column": 28 - } - } - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "di", - "range": [ - 644, - 646 - ], - "loc": { - "start": { - "line": 20, - "column": 7 - }, - "end": { - "line": 20, - "column": 9 - } - } - }, - "init": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 649, - 650 - ], - "loc": { - "start": { - "line": 20, - "column": 12 - }, - "end": { - "line": 20, - "column": 13 - } - } - }, - "range": [ - 644, - 650 - ], - "loc": { - "start": { - "line": 20, - "column": 7 - }, - "end": { - "line": 20, - "column": 13 - } - } - } - ], - "kind": "const", - "range": [ - 638, - 652 - ], - "loc": { - "start": { - "line": 20, - "column": 1 - }, - "end": { - "line": 20, - "column": 15 - } - } - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "dj", - "range": [ - 660, - 662 - ], - "loc": { - "start": { - "line": 21, - "column": 7 - }, - "end": { - "line": 21, - "column": 9 - } - } - }, - "init": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "d", - "range": [ - 665, - 666 - ], - "loc": { - "start": { - "line": 21, - "column": 12 - }, - "end": { - "line": 21, - "column": 13 - } - } - }, - "property": { - "type": "Identifier", - "name": "length", - "range": [ - 667, - 673 - ], - "loc": { - "start": { - "line": 21, - "column": 14 - }, - "end": { - "line": 21, - "column": 20 - } - } - }, - "range": [ - 665, - 673 - ], - "loc": { - "start": { - "line": 21, - "column": 12 - }, - "end": { - "line": 21, - "column": 20 - } - } - }, - "range": [ - 660, - 673 - ], - "loc": { - "start": { - "line": 21, - "column": 7 - }, - "end": { - "line": 21, - "column": 20 - } - } - } - ], - "kind": "const", - "range": [ - 654, - 675 - ], - "loc": { - "start": { - "line": 21, - "column": 1 - }, - "end": { - "line": 21, - "column": 22 - } - } - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "qi", - "range": [ - 683, - 685 - ], - "loc": { - "start": { - "line": 22, - "column": 7 - }, - "end": { - "line": 22, - "column": 9 - } - } - }, - "init": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 688, - 689 - ], - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 13 - } - } - }, - "range": [ - 683, - 689 - ], - "loc": { - "start": { - "line": 22, - "column": 7 - }, - "end": { - "line": 22, - "column": 13 - } - } - } - ], - "kind": "const", - "range": [ - 677, - 691 - ], - "loc": { - "start": { - "line": 22, - "column": 1 - }, - "end": { - "line": 22, - "column": 15 - } - } - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "qj", - "range": [ - 699, - 701 - ], - "loc": { - "start": { - "line": 23, - "column": 7 - }, - "end": { - "line": 23, - "column": 9 - } - } - }, - "init": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "aj", - "range": [ - 704, - 706 - ], - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 14 - } - } - }, - "right": { - "type": "Identifier", - "name": "ai", - "range": [ - 709, - 711 - ], - "loc": { - "start": { - "line": 23, - "column": 17 - }, - "end": { - "line": 23, - "column": 19 - } - } - }, - "range": [ - 704, - 711 - ], - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 19 - } - } - }, - "range": [ - 699, - 711 - ], - "loc": { - "start": { - "line": 23, - "column": 7 - }, - "end": { - "line": 23, - "column": 19 - } - } - } - ], - "kind": "const", - "range": [ - 693, - 713 - ], - "loc": { - "start": { - "line": 23, - "column": 1 - }, - "end": { - "line": 23, - "column": 21 - } - } - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "q", - "range": [ - 721, - 722 - ], - "loc": { - "start": { - "line": 24, - "column": 7 - }, - "end": { - "line": 24, - "column": 8 - } - } - }, - "init": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_alloc", - "range": [ - 725, - 731 - ], - "loc": { - "start": { - "line": 24, - "column": 11 - }, - "end": { - "line": 24, - "column": 17 - } - } - }, - "arguments": [ - { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "qj", - "range": [ - 733, - 735 - ], - "loc": { - "start": { - "line": 24, - "column": 19 - }, - "end": { - "line": 24, - "column": 21 - } - } - }, - "right": { - "type": "Identifier", - "name": "qi", - "range": [ - 738, - 740 - ], - "loc": { - "start": { - "line": 24, - "column": 24 - }, - "end": { - "line": 24, - "column": 26 - } - } - }, - "range": [ - 733, - 740 - ], - "loc": { - "start": { - "line": 24, - "column": 19 - }, - "end": { - "line": 24, - "column": 26 - } - } - } - ], - "range": [ - 725, - 742 - ], - "loc": { - "start": { - "line": 24, - "column": 11 - }, - "end": { - "line": 24, - "column": 28 - } - } - }, - "range": [ - 721, - 742 - ], - "loc": { - "start": { - "line": 24, - "column": 7 - }, - "end": { - "line": 24, - "column": 28 - } - } - } - ], - "kind": "const", - "range": [ - 715, - 744 - ], - "loc": { - "start": { - "line": 24, - "column": 1 - }, - "end": { - "line": 24, - "column": 30 - } - } - }, - { - "type": "WhileStatement", - "test": { - "type": "Literal", - "value": true, - "raw": "true", - "range": [ - 755, - 759 - ], - "loc": { - "start": { - "line": 26, - "column": 9 - }, - "end": { - "line": 26, - "column": 13 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_reset", - "range": [ - 767, - 773 - ], - "loc": { - "start": { - "line": 28, - "column": 2 - }, - "end": { - "line": 28, - "column": 8 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "q", - "range": [ - 775, - 776 - ], - "loc": { - "start": { - "line": 28, - "column": 10 - }, - "end": { - "line": 28, - "column": 11 - } - } - }, - { - "type": "Identifier", - "name": "qi", - "range": [ - 779, - 781 - ], - "loc": { - "start": { - "line": 28, - "column": 14 - }, - "end": { - "line": 28, - "column": 16 - } - } - }, - { - "type": "Identifier", - "name": "qj", - "range": [ - 784, - 786 - ], - "loc": { - "start": { - "line": 28, - "column": 19 - }, - "end": { - "line": 28, - "column": 21 - } - } - } - ], - "range": [ - 767, - 788 - ], - "loc": { - "start": { - "line": 28, - "column": 2 - }, - "end": { - "line": 28, - "column": 23 - } - } - }, - "range": [ - 767, - 790 - ], - "loc": { - "start": { - "line": 28, - "column": 2 - }, - "end": { - "line": 28, - "column": 25 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_div", - "range": [ - 794, - 798 - ], - "loc": { - "start": { - "line": 30, - "column": 2 - }, - "end": { - "line": 30, - "column": 6 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "f", - "range": [ - 800, - 801 - ], - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 9 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 804, - 805 - ], - "loc": { - "start": { - "line": 30, - "column": 12 - }, - "end": { - "line": 30, - "column": 13 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 808, - 810 - ], - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 18 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 813, - 815 - ], - "loc": { - "start": { - "line": 30, - "column": 21 - }, - "end": { - "line": 30, - "column": 23 - } - } - }, - { - "type": "Identifier", - "name": "d", - "range": [ - 818, - 819 - ], - "loc": { - "start": { - "line": 30, - "column": 26 - }, - "end": { - "line": 30, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "di", - "range": [ - 822, - 824 - ], - "loc": { - "start": { - "line": 30, - "column": 30 - }, - "end": { - "line": 30, - "column": 32 - } - } - }, - { - "type": "Identifier", - "name": "dj", - "range": [ - 827, - 829 - ], - "loc": { - "start": { - "line": 30, - "column": 35 - }, - "end": { - "line": 30, - "column": 37 - } - } - }, - { - "type": "Identifier", - "name": "q", - "range": [ - 832, - 833 - ], - "loc": { - "start": { - "line": 30, - "column": 40 - }, - "end": { - "line": 30, - "column": 41 - } - } - }, - { - "type": "Identifier", - "name": "qi", - "range": [ - 836, - 838 - ], - "loc": { - "start": { - "line": 30, - "column": 44 - }, - "end": { - "line": 30, - "column": 46 - } - } - } - ], - "range": [ - 794, - 840 - ], - "loc": { - "start": { - "line": 30, - "column": 2 - }, - "end": { - "line": 30, - "column": 48 - } - } - }, - "range": [ - 794, - 842 - ], - "loc": { - "start": { - "line": 30, - "column": 2 - }, - "end": { - "line": 30, - "column": 50 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "bj", - "range": [ - 848, - 850 - ], - "loc": { - "start": { - "line": 32, - "column": 4 - }, - "end": { - "line": 32, - "column": 6 - } - } - }, - "prefix": true, - "range": [ - 846, - 850 - ], - "loc": { - "start": { - "line": 32, - "column": 2 - }, - "end": { - "line": 32, - "column": 6 - } - } - }, - "range": [ - 846, - 852 - ], - "loc": { - "start": { - "line": 32, - "column": 2 - }, - "end": { - "line": 32, - "column": 8 - } - } - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "x", - "range": [ - 859, - 860 - ], - "loc": { - "start": { - "line": 33, - "column": 6 - }, - "end": { - "line": 33, - "column": 7 - } - } - }, - "init": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 863, - 864 - ], - "loc": { - "start": { - "line": 33, - "column": 10 - }, - "end": { - "line": 33, - "column": 11 - } - } - }, - "range": [ - 859, - 864 - ], - "loc": { - "start": { - "line": 33, - "column": 6 - }, - "end": { - "line": 33, - "column": 11 - } - } - } - ], - "kind": "let", - "range": [ - 855, - 866 - ], - "loc": { - "start": { - "line": 33, - "column": 2 - }, - "end": { - "line": 33, - "column": 13 - } - } - }, - { - "type": "ForStatement", - "init": { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "k", - "range": [ - 880, - 881 - ], - "loc": { - "start": { - "line": 35, - "column": 12 - }, - "end": { - "line": 35, - "column": 13 - } - } - }, - "init": { - "type": "Identifier", - "name": "ai", - "range": [ - 884, - 886 - ], - "loc": { - "start": { - "line": 35, - "column": 16 - }, - "end": { - "line": 35, - "column": 18 - } - } - }, - "range": [ - 880, - 886 - ], - "loc": { - "start": { - "line": 35, - "column": 12 - }, - "end": { - "line": 35, - "column": 18 - } - } - } - ], - "kind": "let", - "range": [ - 876, - 886 - ], - "loc": { - "start": { - "line": 35, - "column": 8 - }, - "end": { - "line": 35, - "column": 18 - } - } - }, - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "k", - "range": [ - 889, - 890 - ], - "loc": { - "start": { - "line": 35, - "column": 21 - }, - "end": { - "line": 35, - "column": 22 - } - } - }, - "right": { - "type": "Identifier", - "name": "aj", - "range": [ - 893, - 895 - ], - "loc": { - "start": { - "line": 35, - "column": 25 - }, - "end": { - "line": 35, - "column": 27 - } - } - }, - "range": [ - 889, - 895 - ], - "loc": { - "start": { - "line": 35, - "column": 21 - }, - "end": { - "line": 35, - "column": 27 - } - } - }, - "update": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "k", - "range": [ - 900, - 901 - ], - "loc": { - "start": { - "line": 35, - "column": 32 - }, - "end": { - "line": 35, - "column": 33 - } - } - }, - "prefix": true, - "range": [ - 898, - 901 - ], - "loc": { - "start": { - "line": 35, - "column": 30 - }, - "end": { - "line": 35, - "column": 33 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "*=", - "left": { - "type": "Identifier", - "name": "x", - "range": [ - 909, - 910 - ], - "loc": { - "start": { - "line": 36, - "column": 3 - }, - "end": { - "line": 36, - "column": 4 - } - } - }, - "right": { - "type": "Identifier", - "name": "f", - "range": [ - 914, - 915 - ], - "loc": { - "start": { - "line": 36, - "column": 8 - }, - "end": { - "line": 36, - "column": 9 - } - } - }, - "range": [ - 909, - 915 - ], - "loc": { - "start": { - "line": 36, - "column": 3 - }, - "end": { - "line": 36, - "column": 9 - } - } - }, - "range": [ - 909, - 917 - ], - "loc": { - "start": { - "line": 36, - "column": 3 - }, - "end": { - "line": 36, - "column": 11 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "+=", - "left": { - "type": "Identifier", - "name": "x", - "range": [ - 921, - 922 - ], - "loc": { - "start": { - "line": 37, - "column": 3 - }, - "end": { - "line": 37, - "column": 4 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 926, - 927 - ], - "loc": { - "start": { - "line": 37, - "column": 8 - }, - "end": { - "line": 37, - "column": 9 - } - } - }, - "property": { - "type": "Identifier", - "name": "k", - "range": [ - 928, - 929 - ], - "loc": { - "start": { - "line": 37, - "column": 10 - }, - "end": { - "line": 37, - "column": 11 - } - } - }, - "range": [ - 926, - 930 - ], - "loc": { - "start": { - "line": 37, - "column": 8 - }, - "end": { - "line": 37, - "column": 12 - } - } - }, - "range": [ - 921, - 930 - ], - "loc": { - "start": { - "line": 37, - "column": 3 - }, - "end": { - "line": 37, - "column": 12 - } - } - }, - "range": [ - 921, - 932 - ], - "loc": { - "start": { - "line": 37, - "column": 3 - }, - "end": { - "line": 37, - "column": 14 - } - } - } - ], - "range": [ - 904, - 936 - ], - "loc": { - "start": { - "line": 35, - "column": 36 - }, - "end": { - "line": 38, - "column": 3 - } - } - }, - "range": [ - 870, - 936 - ], - "loc": { - "start": { - "line": 35, - "column": 2 - }, - "end": { - "line": 38, - "column": 3 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 940, - 941 - ], - "loc": { - "start": { - "line": 40, - "column": 2 - }, - "end": { - "line": 40, - "column": 3 - } - } - }, - "property": { - "type": "Identifier", - "name": "bj", - "range": [ - 942, - 944 - ], - "loc": { - "start": { - "line": 40, - "column": 4 - }, - "end": { - "line": 40, - "column": 6 - } - } - }, - "range": [ - 940, - 945 - ], - "loc": { - "start": { - "line": 40, - "column": 2 - }, - "end": { - "line": 40, - "column": 7 - } - } - }, - "right": { - "type": "Identifier", - "name": "x", - "range": [ - 948, - 949 - ], - "loc": { - "start": { - "line": 40, - "column": 10 - }, - "end": { - "line": 40, - "column": 11 - } - } - }, - "range": [ - 940, - 949 - ], - "loc": { - "start": { - "line": 40, - "column": 2 - }, - "end": { - "line": 40, - "column": 11 - } - } - }, - "range": [ - 940, - 951 - ], - "loc": { - "start": { - "line": 40, - "column": 2 - }, - "end": { - "line": 40, - "column": 13 - } - } - }, - { - "type": "IfStatement", - "test": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_jz", - "range": [ - 960, - 963 - ], - "loc": { - "start": { - "line": 42, - "column": 7 - }, - "end": { - "line": 42, - "column": 10 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "q", - "range": [ - 965, - 966 - ], - "loc": { - "start": { - "line": 42, - "column": 12 - }, - "end": { - "line": 42, - "column": 13 - } - } - }, - { - "type": "Identifier", - "name": "qi", - "range": [ - 969, - 971 - ], - "loc": { - "start": { - "line": 42, - "column": 16 - }, - "end": { - "line": 42, - "column": 18 - } - } - }, - { - "type": "Identifier", - "name": "qj", - "range": [ - 974, - 976 - ], - "loc": { - "start": { - "line": 42, - "column": 21 - }, - "end": { - "line": 42, - "column": 23 - } - } - } - ], - "range": [ - 960, - 978 - ], - "loc": { - "start": { - "line": 42, - "column": 7 - }, - "end": { - "line": 42, - "column": 25 - } - } - }, - "consequent": { - "type": "ReturnStatement", - "argument": null, - "range": [ - 981, - 989 - ], - "loc": { - "start": { - "line": 42, - "column": 28 - }, - "end": { - "line": 42, - "column": 36 - } - } - }, - "alternate": null, - "range": [ - 955, - 989 - ], - "loc": { - "start": { - "line": 42, - "column": 2 - }, - "end": { - "line": 42, - "column": 36 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_copy", - "range": [ - 993, - 998 - ], - "loc": { - "start": { - "line": 44, - "column": 2 - }, - "end": { - "line": 44, - "column": 7 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "q", - "range": [ - 1000, - 1001 - ], - "loc": { - "start": { - "line": 44, - "column": 9 - }, - "end": { - "line": 44, - "column": 10 - } - } - }, - { - "type": "Identifier", - "name": "qi", - "range": [ - 1004, - 1006 - ], - "loc": { - "start": { - "line": 44, - "column": 13 - }, - "end": { - "line": 44, - "column": 15 - } - } - }, - { - "type": "Identifier", - "name": "qj", - "range": [ - 1009, - 1011 - ], - "loc": { - "start": { - "line": 44, - "column": 18 - }, - "end": { - "line": 44, - "column": 20 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 1014, - 1015 - ], - "loc": { - "start": { - "line": 44, - "column": 23 - }, - "end": { - "line": 44, - "column": 24 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 1018, - 1020 - ], - "loc": { - "start": { - "line": 44, - "column": 27 - }, - "end": { - "line": 44, - "column": 29 - } - } - } - ], - "range": [ - 993, - 1022 - ], - "loc": { - "start": { - "line": 44, - "column": 2 - }, - "end": { - "line": 44, - "column": 31 - } - } - }, - "range": [ - 993, - 1024 - ], - "loc": { - "start": { - "line": 44, - "column": 2 - }, - "end": { - "line": 44, - "column": 33 - } - } - } - ], - "range": [ - 762, - 1028 - ], - "loc": { - "start": { - "line": 26, - "column": 16 - }, - "end": { - "line": 46, - "column": 2 - } - } - }, - "range": [ - 747, - 1028 - ], - "loc": { - "start": { - "line": 26, - "column": 1 - }, - "end": { - "line": 46, - "column": 2 - } - } - } - ], - "range": [ - 605, - 1031 - ], - "loc": { - "start": { - "line": 17, - "column": 68 - }, - "end": { - "line": 48, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 544, - 1031 - ], - "loc": { - "start": { - "line": 17, - "column": 7 - }, - "end": { - "line": 48, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", - "range": [ - 130, - 535 - ], - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 15, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 537, - 1031 - ], - "loc": { - "start": { - "line": 17, - "column": 0 - }, - "end": { - "line": 48, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", - "range": [ - 130, - 535 - ], - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 15, - "column": 3 - } - } - } - ] - } - ], - "sourceType": "module", - "range": [ - 0, - 1031 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 48, - "column": 1 - } - }, - "comments": [ - { - "type": "Block", - "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", - "range": [ - 130, - 535 - ], - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 15, - "column": 3 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/1-new/convert/_convert_to_larger.js.json b/ast/source/1-new/convert/_convert_to_larger.js.json deleted file mode 100644 index 3eea0d1..0000000 --- a/ast/source/1-new/convert/_convert_to_larger.js.json +++ /dev/null @@ -1,1153 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ImportDeclaration", - "specifiers": [ - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_log", - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_log", - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - }, - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - }, - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_convert_slow", - "range": [ - 16, - 29 - ], - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 29 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_convert_slow", - "range": [ - 16, - 29 - ], - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 29 - } - } - }, - "range": [ - 16, - 29 - ], - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 29 - } - } - }, - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_convert_to_larger_fast", - "range": [ - 32, - 55 - ], - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 55 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_convert_to_larger_fast", - "range": [ - 32, - 55 - ], - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 55 - } - } - }, - "range": [ - 32, - 55 - ], - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 55 - } - } - } - ], - "source": { - "type": "Literal", - "value": ".", - "raw": "'.'", - "range": [ - 63, - 66 - ], - "loc": { - "start": { - "line": 1, - "column": 63 - }, - "end": { - "line": 1, - "column": 66 - } - } - }, - "range": [ - 0, - 68 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 68 - } - }, - "trailingComments": [ - { - "type": "Block", - "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", - "range": [ - 70, - 475 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 13, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "_convert_to_larger", - "range": [ - 493, - 511 - ], - "loc": { - "start": { - "line": 15, - "column": 16 - }, - "end": { - "line": 15, - "column": 34 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "f", - "range": [ - 514, - 515 - ], - "loc": { - "start": { - "line": 15, - "column": 37 - }, - "end": { - "line": 15, - "column": 38 - } - } - }, - { - "type": "Identifier", - "name": "t", - "range": [ - 518, - 519 - ], - "loc": { - "start": { - "line": 15, - "column": 41 - }, - "end": { - "line": 15, - "column": 42 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 522, - 523 - ], - "loc": { - "start": { - "line": 15, - "column": 45 - }, - "end": { - "line": 15, - "column": 46 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 526, - 528 - ], - "loc": { - "start": { - "line": 15, - "column": 49 - }, - "end": { - "line": 15, - "column": 51 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 531, - 533 - ], - "loc": { - "start": { - "line": 15, - "column": 54 - }, - "end": { - "line": 15, - "column": 56 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 536, - 537 - ], - "loc": { - "start": { - "line": 15, - "column": 59 - }, - "end": { - "line": 15, - "column": 60 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 540, - 542 - ], - "loc": { - "start": { - "line": 15, - "column": 63 - }, - "end": { - "line": 15, - "column": 65 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 545, - 547 - ], - "loc": { - "start": { - "line": 15, - "column": 68 - }, - "end": { - "line": 15, - "column": 70 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "ArrayPattern", - "elements": [ - { - "type": "Identifier", - "name": "z", - "range": [ - 562, - 563 - ], - "loc": { - "start": { - "line": 17, - "column": 9 - }, - "end": { - "line": 17, - "column": 10 - } - } - }, - { - "type": "Identifier", - "name": "x", - "range": [ - 566, - 567 - ], - "loc": { - "start": { - "line": 17, - "column": 13 - }, - "end": { - "line": 17, - "column": 14 - } - } - } - ], - "range": [ - 560, - 569 - ], - "loc": { - "start": { - "line": 17, - "column": 7 - }, - "end": { - "line": 17, - "column": 16 - } - } - }, - "init": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_log", - "range": [ - 572, - 576 - ], - "loc": { - "start": { - "line": 17, - "column": 19 - }, - "end": { - "line": 17, - "column": 23 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "t", - "range": [ - 578, - 579 - ], - "loc": { - "start": { - "line": 17, - "column": 25 - }, - "end": { - "line": 17, - "column": 26 - } - } - }, - { - "type": "Identifier", - "name": "f", - "range": [ - 582, - 583 - ], - "loc": { - "start": { - "line": 17, - "column": 29 - }, - "end": { - "line": 17, - "column": 30 - } - } - } - ], - "range": [ - 572, - 585 - ], - "loc": { - "start": { - "line": 17, - "column": 19 - }, - "end": { - "line": 17, - "column": 32 - } - } - }, - "range": [ - 560, - 585 - ], - "loc": { - "start": { - "line": 17, - "column": 7 - }, - "end": { - "line": 17, - "column": 32 - } - } - } - ], - "kind": "const", - "range": [ - 554, - 587 - ], - "loc": { - "start": { - "line": 17, - "column": 1 - }, - "end": { - "line": 17, - "column": 34 - } - } - }, - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "===", - "left": { - "type": "Identifier", - "name": "x", - "range": [ - 595, - 596 - ], - "loc": { - "start": { - "line": 19, - "column": 6 - }, - "end": { - "line": 19, - "column": 7 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 601, - 602 - ], - "loc": { - "start": { - "line": 19, - "column": 12 - }, - "end": { - "line": 19, - "column": 13 - } - } - }, - "range": [ - 595, - 602 - ], - "loc": { - "start": { - "line": 19, - "column": 6 - }, - "end": { - "line": 19, - "column": 13 - } - } - }, - "consequent": { - "type": "ReturnStatement", - "argument": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_convert_to_larger_fast", - "range": [ - 612, - 635 - ], - "loc": { - "start": { - "line": 19, - "column": 23 - }, - "end": { - "line": 19, - "column": 46 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "f", - "range": [ - 637, - 638 - ], - "loc": { - "start": { - "line": 19, - "column": 48 - }, - "end": { - "line": 19, - "column": 49 - } - } - }, - { - "type": "Identifier", - "name": "z", - "range": [ - 641, - 642 - ], - "loc": { - "start": { - "line": 19, - "column": 52 - }, - "end": { - "line": 19, - "column": 53 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 645, - 646 - ], - "loc": { - "start": { - "line": 19, - "column": 56 - }, - "end": { - "line": 19, - "column": 57 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 649, - 651 - ], - "loc": { - "start": { - "line": 19, - "column": 60 - }, - "end": { - "line": 19, - "column": 62 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 654, - 656 - ], - "loc": { - "start": { - "line": 19, - "column": 65 - }, - "end": { - "line": 19, - "column": 67 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 659, - 660 - ], - "loc": { - "start": { - "line": 19, - "column": 70 - }, - "end": { - "line": 19, - "column": 71 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 663, - 665 - ], - "loc": { - "start": { - "line": 19, - "column": 74 - }, - "end": { - "line": 19, - "column": 76 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 668, - 670 - ], - "loc": { - "start": { - "line": 19, - "column": 79 - }, - "end": { - "line": 19, - "column": 81 - } - } - } - ], - "range": [ - 612, - 672 - ], - "loc": { - "start": { - "line": 19, - "column": 23 - }, - "end": { - "line": 19, - "column": 83 - } - } - }, - "range": [ - 605, - 674 - ], - "loc": { - "start": { - "line": 19, - "column": 16 - }, - "end": { - "line": 19, - "column": 85 - } - } - }, - "alternate": null, - "range": [ - 590, - 674 - ], - "loc": { - "start": { - "line": 19, - "column": 1 - }, - "end": { - "line": 19, - "column": 85 - } - } - }, - { - "type": "ReturnStatement", - "argument": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_convert_slow", - "range": [ - 684, - 697 - ], - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 21 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "f", - "range": [ - 699, - 700 - ], - "loc": { - "start": { - "line": 21, - "column": 23 - }, - "end": { - "line": 21, - "column": 24 - } - } - }, - { - "type": "Identifier", - "name": "t", - "range": [ - 703, - 704 - ], - "loc": { - "start": { - "line": 21, - "column": 27 - }, - "end": { - "line": 21, - "column": 28 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 707, - 708 - ], - "loc": { - "start": { - "line": 21, - "column": 31 - }, - "end": { - "line": 21, - "column": 32 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 711, - 713 - ], - "loc": { - "start": { - "line": 21, - "column": 35 - }, - "end": { - "line": 21, - "column": 37 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 716, - 718 - ], - "loc": { - "start": { - "line": 21, - "column": 40 - }, - "end": { - "line": 21, - "column": 42 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 721, - 722 - ], - "loc": { - "start": { - "line": 21, - "column": 45 - }, - "end": { - "line": 21, - "column": 46 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 725, - 727 - ], - "loc": { - "start": { - "line": 21, - "column": 49 - }, - "end": { - "line": 21, - "column": 51 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 730, - 732 - ], - "loc": { - "start": { - "line": 21, - "column": 54 - }, - "end": { - "line": 21, - "column": 56 - } - } - } - ], - "range": [ - 684, - 734 - ], - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 58 - } - } - }, - "range": [ - 677, - 736 - ], - "loc": { - "start": { - "line": 21, - "column": 1 - }, - "end": { - "line": 21, - "column": 60 - } - } - } - ], - "range": [ - 550, - 739 - ], - "loc": { - "start": { - "line": 15, - "column": 73 - }, - "end": { - "line": 23, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 484, - 739 - ], - "loc": { - "start": { - "line": 15, - "column": 7 - }, - "end": { - "line": 23, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", - "range": [ - 70, - 475 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 13, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 477, - 739 - ], - "loc": { - "start": { - "line": 15, - "column": 0 - }, - "end": { - "line": 23, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", - "range": [ - 70, - 475 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 13, - "column": 3 - } - } - } - ] - } - ], - "sourceType": "module", - "range": [ - 0, - 739 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 23, - "column": 1 - } - }, - "comments": [ - { - "type": "Block", - "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", - "range": [ - 70, - 475 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 13, - "column": 3 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/1-new/convert/_convert_to_larger_fast.js.json b/ast/source/1-new/convert/_convert_to_larger_fast.js.json deleted file mode 100644 index 7412a4b..0000000 --- a/ast/source/1-new/convert/_convert_to_larger_fast.js.json +++ /dev/null @@ -1,3482 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "_convert_to_larger_fast", - "range": [ - 460, - 483 - ], - "loc": { - "start": { - "line": 15, - "column": 16 - }, - "end": { - "line": 15, - "column": 39 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "ar", - "range": [ - 486, - 488 - ], - "loc": { - "start": { - "line": 15, - "column": 42 - }, - "end": { - "line": 15, - "column": 44 - } - } - }, - { - "type": "Identifier", - "name": "z", - "range": [ - 491, - 492 - ], - "loc": { - "start": { - "line": 15, - "column": 47 - }, - "end": { - "line": 15, - "column": 48 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 495, - 496 - ], - "loc": { - "start": { - "line": 15, - "column": 51 - }, - "end": { - "line": 15, - "column": 52 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 499, - 501 - ], - "loc": { - "start": { - "line": 15, - "column": 55 - }, - "end": { - "line": 15, - "column": 57 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 504, - 506 - ], - "loc": { - "start": { - "line": 15, - "column": 60 - }, - "end": { - "line": 15, - "column": 62 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 509, - 510 - ], - "loc": { - "start": { - "line": 15, - "column": 65 - }, - "end": { - "line": 15, - "column": 66 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 513, - 515 - ], - "loc": { - "start": { - "line": 15, - "column": 69 - }, - "end": { - "line": 15, - "column": 71 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 518, - 520 - ], - "loc": { - "start": { - "line": 15, - "column": 74 - }, - "end": { - "line": 15, - "column": 76 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "m", - "range": [ - 531, - 532 - ], - "loc": { - "start": { - "line": 17, - "column": 5 - }, - "end": { - "line": 17, - "column": 6 - } - } - }, - "init": null, - "range": [ - 531, - 532 - ], - "loc": { - "start": { - "line": 17, - "column": 5 - }, - "end": { - "line": 17, - "column": 6 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "n", - "range": [ - 534, - 535 - ], - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 9 - } - } - }, - "init": null, - "range": [ - 534, - 535 - ], - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 9 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "q", - "range": [ - 537, - 538 - ], - "loc": { - "start": { - "line": 17, - "column": 11 - }, - "end": { - "line": 17, - "column": 12 - } - } - }, - "init": null, - "range": [ - 537, - 538 - ], - "loc": { - "start": { - "line": 17, - "column": 11 - }, - "end": { - "line": 17, - "column": 12 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "r", - "range": [ - 540, - 541 - ], - "loc": { - "start": { - "line": 17, - "column": 14 - }, - "end": { - "line": 17, - "column": 15 - } - } - }, - "init": null, - "range": [ - 540, - 541 - ], - "loc": { - "start": { - "line": 17, - "column": 14 - }, - "end": { - "line": 17, - "column": 15 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "i", - "range": [ - 543, - 544 - ], - "loc": { - "start": { - "line": 17, - "column": 17 - }, - "end": { - "line": 17, - "column": 18 - } - } - }, - "init": null, - "range": [ - 543, - 544 - ], - "loc": { - "start": { - "line": 17, - "column": 17 - }, - "end": { - "line": 17, - "column": 18 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "w", - "range": [ - 546, - 547 - ], - "loc": { - "start": { - "line": 17, - "column": 20 - }, - "end": { - "line": 17, - "column": 21 - } - } - }, - "init": null, - "range": [ - 546, - 547 - ], - "loc": { - "start": { - "line": 17, - "column": 20 - }, - "end": { - "line": 17, - "column": 21 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "t", - "range": [ - 549, - 550 - ], - "loc": { - "start": { - "line": 17, - "column": 23 - }, - "end": { - "line": 17, - "column": 24 - } - } - }, - "init": null, - "range": [ - 549, - 550 - ], - "loc": { - "start": { - "line": 17, - "column": 23 - }, - "end": { - "line": 17, - "column": 24 - } - } - } - ], - "kind": "var", - "range": [ - 527, - 551 - ], - "loc": { - "start": { - "line": 17, - "column": 1 - }, - "end": { - "line": 17, - "column": 25 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "m", - "range": [ - 554, - 555 - ], - "loc": { - "start": { - "line": 19, - "column": 1 - }, - "end": { - "line": 19, - "column": 2 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "aj", - "range": [ - 558, - 560 - ], - "loc": { - "start": { - "line": 19, - "column": 5 - }, - "end": { - "line": 19, - "column": 7 - } - } - }, - "right": { - "type": "Identifier", - "name": "ai", - "range": [ - 563, - 565 - ], - "loc": { - "start": { - "line": 19, - "column": 10 - }, - "end": { - "line": 19, - "column": 12 - } - } - }, - "range": [ - 558, - 565 - ], - "loc": { - "start": { - "line": 19, - "column": 5 - }, - "end": { - "line": 19, - "column": 12 - } - } - }, - "range": [ - 554, - 565 - ], - "loc": { - "start": { - "line": 19, - "column": 1 - }, - "end": { - "line": 19, - "column": 12 - } - } - }, - "range": [ - 554, - 566 - ], - "loc": { - "start": { - "line": 19, - "column": 1 - }, - "end": { - "line": 19, - "column": 13 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "n", - "range": [ - 568, - 569 - ], - "loc": { - "start": { - "line": 20, - "column": 1 - }, - "end": { - "line": 20, - "column": 2 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "bj", - "range": [ - 572, - 574 - ], - "loc": { - "start": { - "line": 20, - "column": 5 - }, - "end": { - "line": 20, - "column": 7 - } - } - }, - "right": { - "type": "Identifier", - "name": "bi", - "range": [ - 577, - 579 - ], - "loc": { - "start": { - "line": 20, - "column": 10 - }, - "end": { - "line": 20, - "column": 12 - } - } - }, - "range": [ - 572, - 579 - ], - "loc": { - "start": { - "line": 20, - "column": 5 - }, - "end": { - "line": 20, - "column": 12 - } - } - }, - "range": [ - 568, - 579 - ], - "loc": { - "start": { - "line": 20, - "column": 1 - }, - "end": { - "line": 20, - "column": 12 - } - } - }, - "range": [ - 568, - 580 - ], - "loc": { - "start": { - "line": 20, - "column": 1 - }, - "end": { - "line": 20, - "column": 13 - } - }, - "trailingComments": [ - { - "type": "Line", - "value": " number of parts of first", - "range": [ - 583, - 610 - ], - "loc": { - "start": { - "line": 22, - "column": 1 - }, - "end": { - "line": 22, - "column": 28 - } - } - }, - { - "type": "Line", - "value": " destination block if incomplete", - "range": [ - 612, - 646 - ], - "loc": { - "start": { - "line": 23, - "column": 1 - }, - "end": { - "line": 23, - "column": 35 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "r", - "range": [ - 648, - 649 - ], - "loc": { - "start": { - "line": 24, - "column": 1 - }, - "end": { - "line": 24, - "column": 2 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "%", - "left": { - "type": "Identifier", - "name": "m", - "range": [ - 652, - 653 - ], - "loc": { - "start": { - "line": 24, - "column": 5 - }, - "end": { - "line": 24, - "column": 6 - } - } - }, - "right": { - "type": "Identifier", - "name": "z", - "range": [ - 656, - 657 - ], - "loc": { - "start": { - "line": 24, - "column": 9 - }, - "end": { - "line": 24, - "column": 10 - } - } - }, - "range": [ - 652, - 657 - ], - "loc": { - "start": { - "line": 24, - "column": 5 - }, - "end": { - "line": 24, - "column": 10 - } - } - }, - "range": [ - 648, - 657 - ], - "loc": { - "start": { - "line": 24, - "column": 1 - }, - "end": { - "line": 24, - "column": 10 - } - } - }, - "range": [ - 648, - 658 - ], - "loc": { - "start": { - "line": 24, - "column": 1 - }, - "end": { - "line": 24, - "column": 11 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " number of parts of first", - "range": [ - 583, - 610 - ], - "loc": { - "start": { - "line": 22, - "column": 1 - }, - "end": { - "line": 22, - "column": 28 - } - } - }, - { - "type": "Line", - "value": " destination block if incomplete", - "range": [ - 612, - 646 - ], - "loc": { - "start": { - "line": 23, - "column": 1 - }, - "end": { - "line": 23, - "column": 35 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": " number of complete blocks in destination", - "range": [ - 661, - 704 - ], - "loc": { - "start": { - "line": 26, - "column": 1 - }, - "end": { - "line": 26, - "column": 44 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "q", - "range": [ - 706, - 707 - ], - "loc": { - "start": { - "line": 27, - "column": 1 - }, - "end": { - "line": 27, - "column": 2 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "/", - "left": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "m", - "range": [ - 711, - 712 - ], - "loc": { - "start": { - "line": 27, - "column": 6 - }, - "end": { - "line": 27, - "column": 7 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 715, - 716 - ], - "loc": { - "start": { - "line": 27, - "column": 10 - }, - "end": { - "line": 27, - "column": 11 - } - } - }, - "range": [ - 711, - 716 - ], - "loc": { - "start": { - "line": 27, - "column": 6 - }, - "end": { - "line": 27, - "column": 11 - } - } - }, - "right": { - "type": "Identifier", - "name": "z", - "range": [ - 720, - 721 - ], - "loc": { - "start": { - "line": 27, - "column": 15 - }, - "end": { - "line": 27, - "column": 16 - } - } - }, - "range": [ - 710, - 721 - ], - "loc": { - "start": { - "line": 27, - "column": 5 - }, - "end": { - "line": 27, - "column": 16 - } - } - }, - "range": [ - 706, - 721 - ], - "loc": { - "start": { - "line": 27, - "column": 1 - }, - "end": { - "line": 27, - "column": 16 - } - } - }, - "range": [ - 706, - 722 - ], - "loc": { - "start": { - "line": 27, - "column": 1 - }, - "end": { - "line": 27, - "column": 17 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " number of complete blocks in destination", - "range": [ - 661, - 704 - ], - "loc": { - "start": { - "line": 26, - "column": 1 - }, - "end": { - "line": 26, - "column": 44 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": " total number of blocks in destination", - "range": [ - 725, - 765 - ], - "loc": { - "start": { - "line": 29, - "column": 1 - }, - "end": { - "line": 29, - "column": 41 - } - } - }, - { - "type": "Line", - "value": " (complete ones + first if incomplete)", - "range": [ - 767, - 807 - ], - "loc": { - "start": { - "line": 30, - "column": 1 - }, - "end": { - "line": 30, - "column": 41 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "w", - "range": [ - 809, - 810 - ], - "loc": { - "start": { - "line": 31, - "column": 1 - }, - "end": { - "line": 31, - "column": 2 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "q", - "range": [ - 813, - 814 - ], - "loc": { - "start": { - "line": 31, - "column": 5 - }, - "end": { - "line": 31, - "column": 6 - } - } - }, - "right": { - "type": "UnaryExpression", - "operator": "!", - "argument": { - "type": "UnaryExpression", - "operator": "!", - "argument": { - "type": "Identifier", - "name": "r", - "range": [ - 819, - 820 - ], - "loc": { - "start": { - "line": 31, - "column": 11 - }, - "end": { - "line": 31, - "column": 12 - } - } - }, - "prefix": true, - "range": [ - 818, - 820 - ], - "loc": { - "start": { - "line": 31, - "column": 10 - }, - "end": { - "line": 31, - "column": 12 - } - } - }, - "prefix": true, - "range": [ - 817, - 820 - ], - "loc": { - "start": { - "line": 31, - "column": 9 - }, - "end": { - "line": 31, - "column": 12 - } - } - }, - "range": [ - 813, - 820 - ], - "loc": { - "start": { - "line": 31, - "column": 5 - }, - "end": { - "line": 31, - "column": 12 - } - } - }, - "range": [ - 809, - 820 - ], - "loc": { - "start": { - "line": 31, - "column": 1 - }, - "end": { - "line": 31, - "column": 12 - } - } - }, - "range": [ - 809, - 821 - ], - "loc": { - "start": { - "line": 31, - "column": 1 - }, - "end": { - "line": 31, - "column": 13 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " total number of blocks in destination", - "range": [ - 725, - 765 - ], - "loc": { - "start": { - "line": 29, - "column": 1 - }, - "end": { - "line": 29, - "column": 41 - } - } - }, - { - "type": "Line", - "value": " (complete ones + first if incomplete)", - "range": [ - 767, - 807 - ], - "loc": { - "start": { - "line": 30, - "column": 1 - }, - "end": { - "line": 30, - "column": 41 - } - } - } - ] - }, - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "Identifier", - "name": "n", - "range": [ - 829, - 830 - ], - "loc": { - "start": { - "line": 34, - "column": 5 - }, - "end": { - "line": 34, - "column": 6 - } - } - }, - "right": { - "type": "Identifier", - "name": "w", - "range": [ - 834, - 835 - ], - "loc": { - "start": { - "line": 34, - "column": 10 - }, - "end": { - "line": 34, - "column": 11 - } - } - }, - "range": [ - 829, - 835 - ], - "loc": { - "start": { - "line": 34, - "column": 5 - }, - "end": { - "line": 34, - "column": 11 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "bi", - "range": [ - 1113, - 1115 - ], - "loc": { - "start": { - "line": 42, - "column": 2 - }, - "end": { - "line": 42, - "column": 4 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "bj", - "range": [ - 1118, - 1120 - ], - "loc": { - "start": { - "line": 42, - "column": 7 - }, - "end": { - "line": 42, - "column": 9 - } - } - }, - "right": { - "type": "Identifier", - "name": "w", - "range": [ - 1123, - 1124 - ], - "loc": { - "start": { - "line": 42, - "column": 12 - }, - "end": { - "line": 42, - "column": 13 - } - } - }, - "range": [ - 1118, - 1124 - ], - "loc": { - "start": { - "line": 42, - "column": 7 - }, - "end": { - "line": 42, - "column": 13 - } - } - }, - "range": [ - 1113, - 1124 - ], - "loc": { - "start": { - "line": 42, - "column": 2 - }, - "end": { - "line": 42, - "column": 13 - } - } - }, - "range": [ - 1113, - 1125 - ], - "loc": { - "start": { - "line": 42, - "column": 2 - }, - "end": { - "line": 42, - "column": 14 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " if destination can contain more than", - "range": [ - 841, - 880 - ], - "loc": { - "start": { - "line": 35, - "column": 2 - }, - "end": { - "line": 35, - "column": 41 - } - } - }, - { - "type": "Line", - "value": " what is available in source then", - "range": [ - 883, - 918 - ], - "loc": { - "start": { - "line": 36, - "column": 2 - }, - "end": { - "line": 36, - "column": 37 - } - } - }, - { - "type": "Line", - "value": " compute the effective write start", - "range": [ - 921, - 957 - ], - "loc": { - "start": { - "line": 37, - "column": 2 - }, - "end": { - "line": 37, - "column": 38 - } - } - }, - { - "type": "Line", - "value": " in destination and set i to the correct", - "range": [ - 960, - 1002 - ], - "loc": { - "start": { - "line": 38, - "column": 2 - }, - "end": { - "line": 38, - "column": 44 - } - } - }, - { - "type": "Line", - "value": " offset according to the size", - "range": [ - 1005, - 1036 - ], - "loc": { - "start": { - "line": 39, - "column": 2 - }, - "end": { - "line": 39, - "column": 33 - } - } - }, - { - "type": "Line", - "value": " (in source blocks) of the", - "range": [ - 1039, - 1067 - ], - "loc": { - "start": { - "line": 40, - "column": 2 - }, - "end": { - "line": 40, - "column": 30 - } - } - }, - { - "type": "Line", - "value": " first destination block if incomplete", - "range": [ - 1070, - 1110 - ], - "loc": { - "start": { - "line": 41, - "column": 2 - }, - "end": { - "line": 41, - "column": 42 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "i", - "range": [ - 1128, - 1129 - ], - "loc": { - "start": { - "line": 43, - "column": 2 - }, - "end": { - "line": 43, - "column": 3 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "%", - "left": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "z", - "range": [ - 1133, - 1134 - ], - "loc": { - "start": { - "line": 43, - "column": 7 - }, - "end": { - "line": 43, - "column": 8 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 1137, - 1138 - ], - "loc": { - "start": { - "line": 43, - "column": 11 - }, - "end": { - "line": 43, - "column": 12 - } - } - }, - "range": [ - 1133, - 1138 - ], - "loc": { - "start": { - "line": 43, - "column": 7 - }, - "end": { - "line": 43, - "column": 12 - } - } - }, - "right": { - "type": "Identifier", - "name": "z", - "range": [ - 1142, - 1143 - ], - "loc": { - "start": { - "line": 43, - "column": 16 - }, - "end": { - "line": 43, - "column": 17 - } - } - }, - "range": [ - 1132, - 1143 - ], - "loc": { - "start": { - "line": 43, - "column": 6 - }, - "end": { - "line": 43, - "column": 17 - } - } - }, - "range": [ - 1128, - 1143 - ], - "loc": { - "start": { - "line": 43, - "column": 2 - }, - "end": { - "line": 43, - "column": 17 - } - } - }, - "range": [ - 1128, - 1144 - ], - "loc": { - "start": { - "line": 43, - "column": 2 - }, - "end": { - "line": 43, - "column": 18 - } - } - } - ], - "range": [ - 837, - 1147 - ], - "loc": { - "start": { - "line": 34, - "column": 13 - }, - "end": { - "line": 44, - "column": 2 - } - } - }, - "alternate": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "ai", - "range": [ - 1325, - 1327 - ], - "loc": { - "start": { - "line": 50, - "column": 2 - }, - "end": { - "line": 50, - "column": 4 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "aj", - "range": [ - 1330, - 1332 - ], - "loc": { - "start": { - "line": 50, - "column": 7 - }, - "end": { - "line": 50, - "column": 9 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "*", - "left": { - "type": "Identifier", - "name": "n", - "range": [ - 1335, - 1336 - ], - "loc": { - "start": { - "line": 50, - "column": 12 - }, - "end": { - "line": 50, - "column": 13 - } - } - }, - "right": { - "type": "Identifier", - "name": "z", - "range": [ - 1339, - 1340 - ], - "loc": { - "start": { - "line": 50, - "column": 16 - }, - "end": { - "line": 50, - "column": 17 - } - } - }, - "range": [ - 1335, - 1340 - ], - "loc": { - "start": { - "line": 50, - "column": 12 - }, - "end": { - "line": 50, - "column": 17 - } - } - }, - "range": [ - 1330, - 1340 - ], - "loc": { - "start": { - "line": 50, - "column": 7 - }, - "end": { - "line": 50, - "column": 17 - } - } - }, - "range": [ - 1325, - 1340 - ], - "loc": { - "start": { - "line": 50, - "column": 2 - }, - "end": { - "line": 50, - "column": 17 - } - } - }, - "range": [ - 1325, - 1341 - ], - "loc": { - "start": { - "line": 50, - "column": 2 - }, - "end": { - "line": 50, - "column": 18 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " if source contains more than what", - "range": [ - 1158, - 1194 - ], - "loc": { - "start": { - "line": 46, - "column": 2 - }, - "end": { - "line": 46, - "column": 38 - } - } - }, - { - "type": "Line", - "value": " destination can handle set the effective", - "range": [ - 1197, - 1240 - ], - "loc": { - "start": { - "line": 47, - "column": 2 - }, - "end": { - "line": 47, - "column": 45 - } - } - }, - { - "type": "Line", - "value": " read start in source and set i to 0 because", - "range": [ - 1243, - 1289 - ], - "loc": { - "start": { - "line": 48, - "column": 2 - }, - "end": { - "line": 48, - "column": 48 - } - } - }, - { - "type": "Line", - "value": " all blocks will be complete", - "range": [ - 1292, - 1322 - ], - "loc": { - "start": { - "line": 49, - "column": 2 - }, - "end": { - "line": 49, - "column": 32 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "i", - "range": [ - 1344, - 1345 - ], - "loc": { - "start": { - "line": 51, - "column": 2 - }, - "end": { - "line": 51, - "column": 3 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 1348, - 1349 - ], - "loc": { - "start": { - "line": 51, - "column": 6 - }, - "end": { - "line": 51, - "column": 7 - } - } - }, - "range": [ - 1344, - 1349 - ], - "loc": { - "start": { - "line": 51, - "column": 2 - }, - "end": { - "line": 51, - "column": 7 - } - } - }, - "range": [ - 1344, - 1350 - ], - "loc": { - "start": { - "line": 51, - "column": 2 - }, - "end": { - "line": 51, - "column": 8 - } - } - } - ], - "range": [ - 1154, - 1353 - ], - "loc": { - "start": { - "line": 45, - "column": 6 - }, - "end": { - "line": 52, - "column": 2 - } - } - }, - "range": [ - 825, - 1353 - ], - "loc": { - "start": { - "line": 34, - "column": 1 - }, - "end": { - "line": 52, - "column": 2 - } - } - }, - { - "type": "ForStatement", - "init": null, - "test": { - "type": "LogicalExpression", - "operator": "&&", - "left": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "ai", - "range": [ - 1363, - 1365 - ], - "loc": { - "start": { - "line": 54, - "column": 8 - }, - "end": { - "line": 54, - "column": 10 - } - } - }, - "right": { - "type": "Identifier", - "name": "aj", - "range": [ - 1368, - 1370 - ], - "loc": { - "start": { - "line": 54, - "column": 13 - }, - "end": { - "line": 54, - "column": 15 - } - } - }, - "range": [ - 1363, - 1370 - ], - "loc": { - "start": { - "line": 54, - "column": 8 - }, - "end": { - "line": 54, - "column": 15 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "bi", - "range": [ - 1374, - 1376 - ], - "loc": { - "start": { - "line": 54, - "column": 19 - }, - "end": { - "line": 54, - "column": 21 - } - } - }, - "right": { - "type": "Identifier", - "name": "bj", - "range": [ - 1379, - 1381 - ], - "loc": { - "start": { - "line": 54, - "column": 24 - }, - "end": { - "line": 54, - "column": 26 - } - } - }, - "range": [ - 1374, - 1381 - ], - "loc": { - "start": { - "line": 54, - "column": 19 - }, - "end": { - "line": 54, - "column": 26 - } - } - }, - "range": [ - 1363, - 1381 - ], - "loc": { - "start": { - "line": 54, - "column": 8 - }, - "end": { - "line": 54, - "column": 26 - } - } - }, - "update": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "bi", - "range": [ - 1385, - 1387 - ], - "loc": { - "start": { - "line": 54, - "column": 30 - }, - "end": { - "line": 54, - "column": 32 - } - } - }, - "prefix": true, - "range": [ - 1383, - 1387 - ], - "loc": { - "start": { - "line": 54, - "column": 28 - }, - "end": { - "line": 54, - "column": 32 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "t", - "range": [ - 1393, - 1394 - ], - "loc": { - "start": { - "line": 55, - "column": 2 - }, - "end": { - "line": 55, - "column": 3 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 1397, - 1398 - ], - "loc": { - "start": { - "line": 55, - "column": 6 - }, - "end": { - "line": 55, - "column": 7 - } - } - }, - "range": [ - 1393, - 1398 - ], - "loc": { - "start": { - "line": 55, - "column": 2 - }, - "end": { - "line": 55, - "column": 7 - } - } - }, - "range": [ - 1393, - 1399 - ], - "loc": { - "start": { - "line": 55, - "column": 2 - }, - "end": { - "line": 55, - "column": 8 - } - } - }, - { - "type": "ForStatement", - "init": null, - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "i", - "range": [ - 1409, - 1410 - ], - "loc": { - "start": { - "line": 56, - "column": 9 - }, - "end": { - "line": 56, - "column": 10 - } - } - }, - "right": { - "type": "Identifier", - "name": "z", - "range": [ - 1413, - 1414 - ], - "loc": { - "start": { - "line": 56, - "column": 13 - }, - "end": { - "line": 56, - "column": 14 - } - } - }, - "range": [ - 1409, - 1414 - ], - "loc": { - "start": { - "line": 56, - "column": 9 - }, - "end": { - "line": 56, - "column": 14 - } - } - }, - "update": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "i", - "range": [ - 1418, - 1419 - ], - "loc": { - "start": { - "line": 56, - "column": 18 - }, - "end": { - "line": 56, - "column": 19 - } - } - }, - "prefix": true, - "range": [ - 1416, - 1419 - ], - "loc": { - "start": { - "line": 56, - "column": 16 - }, - "end": { - "line": 56, - "column": 19 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "*=", - "left": { - "type": "Identifier", - "name": "t", - "range": [ - 1426, - 1427 - ], - "loc": { - "start": { - "line": 57, - "column": 3 - }, - "end": { - "line": 57, - "column": 4 - } - } - }, - "right": { - "type": "Identifier", - "name": "ar", - "range": [ - 1431, - 1433 - ], - "loc": { - "start": { - "line": 57, - "column": 8 - }, - "end": { - "line": 57, - "column": 10 - } - } - }, - "range": [ - 1426, - 1433 - ], - "loc": { - "start": { - "line": 57, - "column": 3 - }, - "end": { - "line": 57, - "column": 10 - } - } - }, - "range": [ - 1426, - 1434 - ], - "loc": { - "start": { - "line": 57, - "column": 3 - }, - "end": { - "line": 57, - "column": 11 - } - }, - "trailingComments": [ - { - "type": "Line", - "value": " aggregate source blocks", - "range": [ - 1439, - 1465 - ], - "loc": { - "start": { - "line": 57, - "column": 16 - }, - "end": { - "line": 57, - "column": 42 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "+=", - "left": { - "type": "Identifier", - "name": "t", - "range": [ - 1469, - 1470 - ], - "loc": { - "start": { - "line": 58, - "column": 3 - }, - "end": { - "line": 58, - "column": 4 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 1474, - 1475 - ], - "loc": { - "start": { - "line": 58, - "column": 8 - }, - "end": { - "line": 58, - "column": 9 - } - } - }, - "property": { - "type": "Identifier", - "name": "ai", - "range": [ - 1476, - 1478 - ], - "loc": { - "start": { - "line": 58, - "column": 10 - }, - "end": { - "line": 58, - "column": 12 - } - } - }, - "range": [ - 1474, - 1479 - ], - "loc": { - "start": { - "line": 58, - "column": 8 - }, - "end": { - "line": 58, - "column": 13 - } - } - }, - "range": [ - 1469, - 1479 - ], - "loc": { - "start": { - "line": 58, - "column": 3 - }, - "end": { - "line": 58, - "column": 13 - } - } - }, - "range": [ - 1469, - 1480 - ], - "loc": { - "start": { - "line": 58, - "column": 3 - }, - "end": { - "line": 58, - "column": 14 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " aggregate source blocks", - "range": [ - 1439, - 1465 - ], - "loc": { - "start": { - "line": 57, - "column": 16 - }, - "end": { - "line": 57, - "column": 42 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": " using simple", - "range": [ - 1482, - 1497 - ], - "loc": { - "start": { - "line": 58, - "column": 16 - }, - "end": { - "line": 58, - "column": 31 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "ai", - "range": [ - 1503, - 1505 - ], - "loc": { - "start": { - "line": 59, - "column": 5 - }, - "end": { - "line": 59, - "column": 7 - } - } - }, - "prefix": true, - "range": [ - 1501, - 1505 - ], - "loc": { - "start": { - "line": 59, - "column": 3 - }, - "end": { - "line": 59, - "column": 7 - } - } - }, - "range": [ - 1501, - 1506 - ], - "loc": { - "start": { - "line": 59, - "column": 3 - }, - "end": { - "line": 59, - "column": 8 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " using simple", - "range": [ - 1482, - 1497 - ], - "loc": { - "start": { - "line": 58, - "column": 16 - }, - "end": { - "line": 58, - "column": 31 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": " multiply + add", - "range": [ - 1514, - 1531 - ], - "loc": { - "start": { - "line": 59, - "column": 16 - }, - "end": { - "line": 59, - "column": 33 - } - } - } - ] - } - ], - "range": [ - 1421, - 1535 - ], - "loc": { - "start": { - "line": 56, - "column": 21 - }, - "end": { - "line": 60, - "column": 3 - } - } - }, - "range": [ - 1402, - 1535 - ], - "loc": { - "start": { - "line": 56, - "column": 2 - }, - "end": { - "line": 60, - "column": 3 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 1538, - 1539 - ], - "loc": { - "start": { - "line": 61, - "column": 2 - }, - "end": { - "line": 61, - "column": 3 - } - } - }, - "property": { - "type": "Identifier", - "name": "bi", - "range": [ - 1540, - 1542 - ], - "loc": { - "start": { - "line": 61, - "column": 4 - }, - "end": { - "line": 61, - "column": 6 - } - } - }, - "range": [ - 1538, - 1543 - ], - "loc": { - "start": { - "line": 61, - "column": 2 - }, - "end": { - "line": 61, - "column": 7 - } - } - }, - "right": { - "type": "Identifier", - "name": "t", - "range": [ - 1546, - 1547 - ], - "loc": { - "start": { - "line": 61, - "column": 10 - }, - "end": { - "line": 61, - "column": 11 - } - } - }, - "range": [ - 1538, - 1547 - ], - "loc": { - "start": { - "line": 61, - "column": 2 - }, - "end": { - "line": 61, - "column": 11 - } - } - }, - "range": [ - 1538, - 1548 - ], - "loc": { - "start": { - "line": 61, - "column": 2 - }, - "end": { - "line": 61, - "column": 12 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " multiply + add", - "range": [ - 1514, - 1531 - ], - "loc": { - "start": { - "line": 59, - "column": 16 - }, - "end": { - "line": 59, - "column": 33 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": " set block in destination", - "range": [ - 1550, - 1577 - ], - "loc": { - "start": { - "line": 61, - "column": 14 - }, - "end": { - "line": 61, - "column": 41 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "i", - "range": [ - 1580, - 1581 - ], - "loc": { - "start": { - "line": 62, - "column": 2 - }, - "end": { - "line": 62, - "column": 3 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 1584, - 1585 - ], - "loc": { - "start": { - "line": 62, - "column": 6 - }, - "end": { - "line": 62, - "column": 7 - } - } - }, - "range": [ - 1580, - 1585 - ], - "loc": { - "start": { - "line": 62, - "column": 2 - }, - "end": { - "line": 62, - "column": 7 - } - } - }, - "range": [ - 1580, - 1586 - ], - "loc": { - "start": { - "line": 62, - "column": 2 - }, - "end": { - "line": 62, - "column": 8 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " set block in destination", - "range": [ - 1550, - 1577 - ], - "loc": { - "start": { - "line": 61, - "column": 14 - }, - "end": { - "line": 61, - "column": 41 - } - } - } - ] - } - ], - "range": [ - 1389, - 1589 - ], - "loc": { - "start": { - "line": 54, - "column": 34 - }, - "end": { - "line": 63, - "column": 2 - } - } - }, - "range": [ - 1356, - 1589 - ], - "loc": { - "start": { - "line": 54, - "column": 1 - }, - "end": { - "line": 63, - "column": 2 - } - } - } - ], - "range": [ - 523, - 1592 - ], - "loc": { - "start": { - "line": 15, - "column": 79 - }, - "end": { - "line": 65, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 451, - 1592 - ], - "loc": { - "start": { - "line": 15, - "column": 7 - }, - "end": { - "line": 65, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n *\n * @param {Number} ar the base to convert from\n * @param {Number} z if br is the base to convert to then log(br) = z log(ar)\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", - "range": [ - 2, - 442 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 13, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 444, - 1592 - ], - "loc": { - "start": { - "line": 15, - "column": 0 - }, - "end": { - "line": 65, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n *\n * @param {Number} ar the base to convert from\n * @param {Number} z if br is the base to convert to then log(br) = z log(ar)\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", - "range": [ - 2, - 442 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 13, - "column": 3 - } - } - } - ] - } - ], - "sourceType": "module", - "range": [ - 444, - 1592 - ], - "loc": { - "start": { - "line": 15, - "column": 0 - }, - "end": { - "line": 65, - "column": 1 - } - }, - "comments": [ - { - "type": "Block", - "value": "*\n *\n * @param {Number} ar the base to convert from\n * @param {Number} z if br is the base to convert to then log(br) = z log(ar)\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", - "range": [ - 2, - 442 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 13, - "column": 3 - } - } - }, - { - "type": "Line", - "value": " number of parts of first", - "range": [ - 583, - 610 - ], - "loc": { - "start": { - "line": 22, - "column": 1 - }, - "end": { - "line": 22, - "column": 28 - } - } - }, - { - "type": "Line", - "value": " destination block if incomplete", - "range": [ - 612, - 646 - ], - "loc": { - "start": { - "line": 23, - "column": 1 - }, - "end": { - "line": 23, - "column": 35 - } - } - }, - { - "type": "Line", - "value": " number of complete blocks in destination", - "range": [ - 661, - 704 - ], - "loc": { - "start": { - "line": 26, - "column": 1 - }, - "end": { - "line": 26, - "column": 44 - } - } - }, - { - "type": "Line", - "value": " total number of blocks in destination", - "range": [ - 725, - 765 - ], - "loc": { - "start": { - "line": 29, - "column": 1 - }, - "end": { - "line": 29, - "column": 41 - } - } - }, - { - "type": "Line", - "value": " (complete ones + first if incomplete)", - "range": [ - 767, - 807 - ], - "loc": { - "start": { - "line": 30, - "column": 1 - }, - "end": { - "line": 30, - "column": 41 - } - } - }, - { - "type": "Line", - "value": " if destination can contain more than", - "range": [ - 841, - 880 - ], - "loc": { - "start": { - "line": 35, - "column": 2 - }, - "end": { - "line": 35, - "column": 41 - } - } - }, - { - "type": "Line", - "value": " what is available in source then", - "range": [ - 883, - 918 - ], - "loc": { - "start": { - "line": 36, - "column": 2 - }, - "end": { - "line": 36, - "column": 37 - } - } - }, - { - "type": "Line", - "value": " compute the effective write start", - "range": [ - 921, - 957 - ], - "loc": { - "start": { - "line": 37, - "column": 2 - }, - "end": { - "line": 37, - "column": 38 - } - } - }, - { - "type": "Line", - "value": " in destination and set i to the correct", - "range": [ - 960, - 1002 - ], - "loc": { - "start": { - "line": 38, - "column": 2 - }, - "end": { - "line": 38, - "column": 44 - } - } - }, - { - "type": "Line", - "value": " offset according to the size", - "range": [ - 1005, - 1036 - ], - "loc": { - "start": { - "line": 39, - "column": 2 - }, - "end": { - "line": 39, - "column": 33 - } - } - }, - { - "type": "Line", - "value": " (in source blocks) of the", - "range": [ - 1039, - 1067 - ], - "loc": { - "start": { - "line": 40, - "column": 2 - }, - "end": { - "line": 40, - "column": 30 - } - } - }, - { - "type": "Line", - "value": " first destination block if incomplete", - "range": [ - 1070, - 1110 - ], - "loc": { - "start": { - "line": 41, - "column": 2 - }, - "end": { - "line": 41, - "column": 42 - } - } - }, - { - "type": "Line", - "value": " if source contains more than what", - "range": [ - 1158, - 1194 - ], - "loc": { - "start": { - "line": 46, - "column": 2 - }, - "end": { - "line": 46, - "column": 38 - } - } - }, - { - "type": "Line", - "value": " destination can handle set the effective", - "range": [ - 1197, - 1240 - ], - "loc": { - "start": { - "line": 47, - "column": 2 - }, - "end": { - "line": 47, - "column": 45 - } - } - }, - { - "type": "Line", - "value": " read start in source and set i to 0 because", - "range": [ - 1243, - 1289 - ], - "loc": { - "start": { - "line": 48, - "column": 2 - }, - "end": { - "line": 48, - "column": 48 - } - } - }, - { - "type": "Line", - "value": " all blocks will be complete", - "range": [ - 1292, - 1322 - ], - "loc": { - "start": { - "line": 49, - "column": 2 - }, - "end": { - "line": 49, - "column": 32 - } - } - }, - { - "type": "Line", - "value": " aggregate source blocks", - "range": [ - 1439, - 1465 - ], - "loc": { - "start": { - "line": 57, - "column": 16 - }, - "end": { - "line": 57, - "column": 42 - } - } - }, - { - "type": "Line", - "value": " using simple", - "range": [ - 1482, - 1497 - ], - "loc": { - "start": { - "line": 58, - "column": 16 - }, - "end": { - "line": 58, - "column": 31 - } - } - }, - { - "type": "Line", - "value": " multiply + add", - "range": [ - 1514, - 1531 - ], - "loc": { - "start": { - "line": 59, - "column": 16 - }, - "end": { - "line": 59, - "column": 33 - } - } - }, - { - "type": "Line", - "value": " set block in destination", - "range": [ - 1550, - 1577 - ], - "loc": { - "start": { - "line": 61, - "column": 14 - }, - "end": { - "line": 61, - "column": 41 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/1-new/convert/_convert_to_smaller.js.json b/ast/source/1-new/convert/_convert_to_smaller.js.json deleted file mode 100644 index f099a85..0000000 --- a/ast/source/1-new/convert/_convert_to_smaller.js.json +++ /dev/null @@ -1,1153 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ImportDeclaration", - "specifiers": [ - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_log", - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_log", - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - }, - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - }, - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_convert_slow", - "range": [ - 16, - 29 - ], - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 29 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_convert_slow", - "range": [ - 16, - 29 - ], - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 29 - } - } - }, - "range": [ - 16, - 29 - ], - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 29 - } - } - }, - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_convert_to_smaller_fast", - "range": [ - 32, - 56 - ], - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 56 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_convert_to_smaller_fast", - "range": [ - 32, - 56 - ], - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 56 - } - } - }, - "range": [ - 32, - 56 - ], - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 56 - } - } - } - ], - "source": { - "type": "Literal", - "value": ".", - "raw": "'.'", - "range": [ - 64, - 67 - ], - "loc": { - "start": { - "line": 1, - "column": 64 - }, - "end": { - "line": 1, - "column": 67 - } - } - }, - "range": [ - 0, - 69 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 69 - } - }, - "trailingComments": [ - { - "type": "Block", - "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", - "range": [ - 71, - 476 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 13, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "_convert_to_smaller", - "range": [ - 494, - 513 - ], - "loc": { - "start": { - "line": 15, - "column": 16 - }, - "end": { - "line": 15, - "column": 35 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "f", - "range": [ - 516, - 517 - ], - "loc": { - "start": { - "line": 15, - "column": 38 - }, - "end": { - "line": 15, - "column": 39 - } - } - }, - { - "type": "Identifier", - "name": "t", - "range": [ - 520, - 521 - ], - "loc": { - "start": { - "line": 15, - "column": 42 - }, - "end": { - "line": 15, - "column": 43 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 524, - 525 - ], - "loc": { - "start": { - "line": 15, - "column": 46 - }, - "end": { - "line": 15, - "column": 47 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 528, - 530 - ], - "loc": { - "start": { - "line": 15, - "column": 50 - }, - "end": { - "line": 15, - "column": 52 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 533, - 535 - ], - "loc": { - "start": { - "line": 15, - "column": 55 - }, - "end": { - "line": 15, - "column": 57 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 538, - 539 - ], - "loc": { - "start": { - "line": 15, - "column": 60 - }, - "end": { - "line": 15, - "column": 61 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 542, - 544 - ], - "loc": { - "start": { - "line": 15, - "column": 64 - }, - "end": { - "line": 15, - "column": 66 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 547, - 549 - ], - "loc": { - "start": { - "line": 15, - "column": 69 - }, - "end": { - "line": 15, - "column": 71 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "ArrayPattern", - "elements": [ - { - "type": "Identifier", - "name": "z", - "range": [ - 564, - 565 - ], - "loc": { - "start": { - "line": 17, - "column": 9 - }, - "end": { - "line": 17, - "column": 10 - } - } - }, - { - "type": "Identifier", - "name": "x", - "range": [ - 568, - 569 - ], - "loc": { - "start": { - "line": 17, - "column": 13 - }, - "end": { - "line": 17, - "column": 14 - } - } - } - ], - "range": [ - 562, - 571 - ], - "loc": { - "start": { - "line": 17, - "column": 7 - }, - "end": { - "line": 17, - "column": 16 - } - } - }, - "init": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_log", - "range": [ - 574, - 578 - ], - "loc": { - "start": { - "line": 17, - "column": 19 - }, - "end": { - "line": 17, - "column": 23 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "f", - "range": [ - 580, - 581 - ], - "loc": { - "start": { - "line": 17, - "column": 25 - }, - "end": { - "line": 17, - "column": 26 - } - } - }, - { - "type": "Identifier", - "name": "t", - "range": [ - 584, - 585 - ], - "loc": { - "start": { - "line": 17, - "column": 29 - }, - "end": { - "line": 17, - "column": 30 - } - } - } - ], - "range": [ - 574, - 587 - ], - "loc": { - "start": { - "line": 17, - "column": 19 - }, - "end": { - "line": 17, - "column": 32 - } - } - }, - "range": [ - 562, - 587 - ], - "loc": { - "start": { - "line": 17, - "column": 7 - }, - "end": { - "line": 17, - "column": 32 - } - } - } - ], - "kind": "const", - "range": [ - 556, - 589 - ], - "loc": { - "start": { - "line": 17, - "column": 1 - }, - "end": { - "line": 17, - "column": 34 - } - } - }, - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "===", - "left": { - "type": "Identifier", - "name": "x", - "range": [ - 597, - 598 - ], - "loc": { - "start": { - "line": 19, - "column": 6 - }, - "end": { - "line": 19, - "column": 7 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 603, - 604 - ], - "loc": { - "start": { - "line": 19, - "column": 12 - }, - "end": { - "line": 19, - "column": 13 - } - } - }, - "range": [ - 597, - 604 - ], - "loc": { - "start": { - "line": 19, - "column": 6 - }, - "end": { - "line": 19, - "column": 13 - } - } - }, - "consequent": { - "type": "ReturnStatement", - "argument": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_convert_to_smaller_fast", - "range": [ - 614, - 638 - ], - "loc": { - "start": { - "line": 19, - "column": 23 - }, - "end": { - "line": 19, - "column": 47 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "t", - "range": [ - 640, - 641 - ], - "loc": { - "start": { - "line": 19, - "column": 49 - }, - "end": { - "line": 19, - "column": 50 - } - } - }, - { - "type": "Identifier", - "name": "z", - "range": [ - 644, - 645 - ], - "loc": { - "start": { - "line": 19, - "column": 53 - }, - "end": { - "line": 19, - "column": 54 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 648, - 649 - ], - "loc": { - "start": { - "line": 19, - "column": 57 - }, - "end": { - "line": 19, - "column": 58 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 652, - 654 - ], - "loc": { - "start": { - "line": 19, - "column": 61 - }, - "end": { - "line": 19, - "column": 63 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 657, - 659 - ], - "loc": { - "start": { - "line": 19, - "column": 66 - }, - "end": { - "line": 19, - "column": 68 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 662, - 663 - ], - "loc": { - "start": { - "line": 19, - "column": 71 - }, - "end": { - "line": 19, - "column": 72 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 666, - 668 - ], - "loc": { - "start": { - "line": 19, - "column": 75 - }, - "end": { - "line": 19, - "column": 77 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 671, - 673 - ], - "loc": { - "start": { - "line": 19, - "column": 80 - }, - "end": { - "line": 19, - "column": 82 - } - } - } - ], - "range": [ - 614, - 675 - ], - "loc": { - "start": { - "line": 19, - "column": 23 - }, - "end": { - "line": 19, - "column": 84 - } - } - }, - "range": [ - 607, - 677 - ], - "loc": { - "start": { - "line": 19, - "column": 16 - }, - "end": { - "line": 19, - "column": 86 - } - } - }, - "alternate": null, - "range": [ - 592, - 677 - ], - "loc": { - "start": { - "line": 19, - "column": 1 - }, - "end": { - "line": 19, - "column": 86 - } - } - }, - { - "type": "ReturnStatement", - "argument": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_convert_slow", - "range": [ - 687, - 700 - ], - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 21 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "f", - "range": [ - 702, - 703 - ], - "loc": { - "start": { - "line": 21, - "column": 23 - }, - "end": { - "line": 21, - "column": 24 - } - } - }, - { - "type": "Identifier", - "name": "t", - "range": [ - 706, - 707 - ], - "loc": { - "start": { - "line": 21, - "column": 27 - }, - "end": { - "line": 21, - "column": 28 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 710, - 711 - ], - "loc": { - "start": { - "line": 21, - "column": 31 - }, - "end": { - "line": 21, - "column": 32 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 714, - 716 - ], - "loc": { - "start": { - "line": 21, - "column": 35 - }, - "end": { - "line": 21, - "column": 37 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 719, - 721 - ], - "loc": { - "start": { - "line": 21, - "column": 40 - }, - "end": { - "line": 21, - "column": 42 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 724, - 725 - ], - "loc": { - "start": { - "line": 21, - "column": 45 - }, - "end": { - "line": 21, - "column": 46 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 728, - 730 - ], - "loc": { - "start": { - "line": 21, - "column": 49 - }, - "end": { - "line": 21, - "column": 51 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 733, - 735 - ], - "loc": { - "start": { - "line": 21, - "column": 54 - }, - "end": { - "line": 21, - "column": 56 - } - } - } - ], - "range": [ - 687, - 737 - ], - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 58 - } - } - }, - "range": [ - 680, - 739 - ], - "loc": { - "start": { - "line": 21, - "column": 1 - }, - "end": { - "line": 21, - "column": 60 - } - } - } - ], - "range": [ - 552, - 742 - ], - "loc": { - "start": { - "line": 15, - "column": 74 - }, - "end": { - "line": 23, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 485, - 742 - ], - "loc": { - "start": { - "line": 15, - "column": 7 - }, - "end": { - "line": 23, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", - "range": [ - 71, - 476 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 13, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 478, - 742 - ], - "loc": { - "start": { - "line": 15, - "column": 0 - }, - "end": { - "line": 23, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", - "range": [ - 71, - 476 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 13, - "column": 3 - } - } - } - ] - } - ], - "sourceType": "module", - "range": [ - 0, - 742 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 23, - "column": 1 - } - }, - "comments": [ - { - "type": "Block", - "value": "*\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", - "range": [ - 71, - 476 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 13, - "column": 3 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/1-new/convert/_convert_to_smaller_fast.js.json b/ast/source/1-new/convert/_convert_to_smaller_fast.js.json deleted file mode 100644 index 956fa7e..0000000 --- a/ast/source/1-new/convert/_convert_to_smaller_fast.js.json +++ /dev/null @@ -1,3818 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "_convert_to_smaller_fast", - "range": [ - 457, - 481 - ], - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 40 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "br", - "range": [ - 484, - 486 - ], - "loc": { - "start": { - "line": 14, - "column": 43 - }, - "end": { - "line": 14, - "column": 45 - } - } - }, - { - "type": "Identifier", - "name": "z", - "range": [ - 489, - 490 - ], - "loc": { - "start": { - "line": 14, - "column": 48 - }, - "end": { - "line": 14, - "column": 49 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 493, - 494 - ], - "loc": { - "start": { - "line": 14, - "column": 52 - }, - "end": { - "line": 14, - "column": 53 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 497, - 499 - ], - "loc": { - "start": { - "line": 14, - "column": 56 - }, - "end": { - "line": 14, - "column": 58 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 502, - 504 - ], - "loc": { - "start": { - "line": 14, - "column": 61 - }, - "end": { - "line": 14, - "column": 63 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 507, - 508 - ], - "loc": { - "start": { - "line": 14, - "column": 66 - }, - "end": { - "line": 14, - "column": 67 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 511, - 513 - ], - "loc": { - "start": { - "line": 14, - "column": 70 - }, - "end": { - "line": 14, - "column": 72 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 516, - 518 - ], - "loc": { - "start": { - "line": 14, - "column": 75 - }, - "end": { - "line": 14, - "column": 77 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "m", - "range": [ - 529, - 530 - ], - "loc": { - "start": { - "line": 16, - "column": 5 - }, - "end": { - "line": 16, - "column": 6 - } - } - }, - "init": null, - "range": [ - 529, - 530 - ], - "loc": { - "start": { - "line": 16, - "column": 5 - }, - "end": { - "line": 16, - "column": 6 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "n", - "range": [ - 532, - 533 - ], - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 9 - } - } - }, - "init": null, - "range": [ - 532, - 533 - ], - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 9 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "q", - "range": [ - 535, - 536 - ], - "loc": { - "start": { - "line": 16, - "column": 11 - }, - "end": { - "line": 16, - "column": 12 - } - } - }, - "init": null, - "range": [ - 535, - 536 - ], - "loc": { - "start": { - "line": 16, - "column": 11 - }, - "end": { - "line": 16, - "column": 12 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "r", - "range": [ - 538, - 539 - ], - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 15 - } - } - }, - "init": null, - "range": [ - 538, - 539 - ], - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 15 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "i", - "range": [ - 541, - 542 - ], - "loc": { - "start": { - "line": 16, - "column": 17 - }, - "end": { - "line": 16, - "column": 18 - } - } - }, - "init": null, - "range": [ - 541, - 542 - ], - "loc": { - "start": { - "line": 16, - "column": 17 - }, - "end": { - "line": 16, - "column": 18 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "w", - "range": [ - 544, - 545 - ], - "loc": { - "start": { - "line": 16, - "column": 20 - }, - "end": { - "line": 16, - "column": 21 - } - } - }, - "init": null, - "range": [ - 544, - 545 - ], - "loc": { - "start": { - "line": 16, - "column": 20 - }, - "end": { - "line": 16, - "column": 21 - } - } - }, - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "t", - "range": [ - 547, - 548 - ], - "loc": { - "start": { - "line": 16, - "column": 23 - }, - "end": { - "line": 16, - "column": 24 - } - } - }, - "init": null, - "range": [ - 547, - 548 - ], - "loc": { - "start": { - "line": 16, - "column": 23 - }, - "end": { - "line": 16, - "column": 24 - } - } - } - ], - "kind": "var", - "range": [ - 525, - 549 - ], - "loc": { - "start": { - "line": 16, - "column": 1 - }, - "end": { - "line": 16, - "column": 25 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "m", - "range": [ - 552, - 553 - ], - "loc": { - "start": { - "line": 18, - "column": 1 - }, - "end": { - "line": 18, - "column": 2 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "bj", - "range": [ - 556, - 558 - ], - "loc": { - "start": { - "line": 18, - "column": 5 - }, - "end": { - "line": 18, - "column": 7 - } - } - }, - "right": { - "type": "Identifier", - "name": "bi", - "range": [ - 561, - 563 - ], - "loc": { - "start": { - "line": 18, - "column": 10 - }, - "end": { - "line": 18, - "column": 12 - } - } - }, - "range": [ - 556, - 563 - ], - "loc": { - "start": { - "line": 18, - "column": 5 - }, - "end": { - "line": 18, - "column": 12 - } - } - }, - "range": [ - 552, - 563 - ], - "loc": { - "start": { - "line": 18, - "column": 1 - }, - "end": { - "line": 18, - "column": 12 - } - } - }, - "range": [ - 552, - 564 - ], - "loc": { - "start": { - "line": 18, - "column": 1 - }, - "end": { - "line": 18, - "column": 13 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "n", - "range": [ - 566, - 567 - ], - "loc": { - "start": { - "line": 19, - "column": 1 - }, - "end": { - "line": 19, - "column": 2 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "aj", - "range": [ - 570, - 572 - ], - "loc": { - "start": { - "line": 19, - "column": 5 - }, - "end": { - "line": 19, - "column": 7 - } - } - }, - "right": { - "type": "Identifier", - "name": "ai", - "range": [ - 575, - 577 - ], - "loc": { - "start": { - "line": 19, - "column": 10 - }, - "end": { - "line": 19, - "column": 12 - } - } - }, - "range": [ - 570, - 577 - ], - "loc": { - "start": { - "line": 19, - "column": 5 - }, - "end": { - "line": 19, - "column": 12 - } - } - }, - "range": [ - 566, - 577 - ], - "loc": { - "start": { - "line": 19, - "column": 1 - }, - "end": { - "line": 19, - "column": 12 - } - } - }, - "range": [ - 566, - 578 - ], - "loc": { - "start": { - "line": 19, - "column": 1 - }, - "end": { - "line": 19, - "column": 13 - } - }, - "trailingComments": [ - { - "type": "Line", - "value": " number of parts of first", - "range": [ - 581, - 608 - ], - "loc": { - "start": { - "line": 21, - "column": 1 - }, - "end": { - "line": 21, - "column": 28 - } - } - }, - { - "type": "Line", - "value": " destination block if incomplete", - "range": [ - 610, - 644 - ], - "loc": { - "start": { - "line": 22, - "column": 1 - }, - "end": { - "line": 22, - "column": 35 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "r", - "range": [ - 646, - 647 - ], - "loc": { - "start": { - "line": 23, - "column": 1 - }, - "end": { - "line": 23, - "column": 2 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "%", - "left": { - "type": "Identifier", - "name": "m", - "range": [ - 650, - 651 - ], - "loc": { - "start": { - "line": 23, - "column": 5 - }, - "end": { - "line": 23, - "column": 6 - } - } - }, - "right": { - "type": "Identifier", - "name": "z", - "range": [ - 654, - 655 - ], - "loc": { - "start": { - "line": 23, - "column": 9 - }, - "end": { - "line": 23, - "column": 10 - } - } - }, - "range": [ - 650, - 655 - ], - "loc": { - "start": { - "line": 23, - "column": 5 - }, - "end": { - "line": 23, - "column": 10 - } - } - }, - "range": [ - 646, - 655 - ], - "loc": { - "start": { - "line": 23, - "column": 1 - }, - "end": { - "line": 23, - "column": 10 - } - } - }, - "range": [ - 646, - 656 - ], - "loc": { - "start": { - "line": 23, - "column": 1 - }, - "end": { - "line": 23, - "column": 11 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " number of parts of first", - "range": [ - 581, - 608 - ], - "loc": { - "start": { - "line": 21, - "column": 1 - }, - "end": { - "line": 21, - "column": 28 - } - } - }, - { - "type": "Line", - "value": " destination block if incomplete", - "range": [ - 610, - 644 - ], - "loc": { - "start": { - "line": 22, - "column": 1 - }, - "end": { - "line": 22, - "column": 35 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": " number of complete blocks in destination", - "range": [ - 659, - 702 - ], - "loc": { - "start": { - "line": 25, - "column": 1 - }, - "end": { - "line": 25, - "column": 44 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "q", - "range": [ - 704, - 705 - ], - "loc": { - "start": { - "line": 26, - "column": 1 - }, - "end": { - "line": 26, - "column": 2 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "/", - "left": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "m", - "range": [ - 709, - 710 - ], - "loc": { - "start": { - "line": 26, - "column": 6 - }, - "end": { - "line": 26, - "column": 7 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 713, - 714 - ], - "loc": { - "start": { - "line": 26, - "column": 10 - }, - "end": { - "line": 26, - "column": 11 - } - } - }, - "range": [ - 709, - 714 - ], - "loc": { - "start": { - "line": 26, - "column": 6 - }, - "end": { - "line": 26, - "column": 11 - } - } - }, - "right": { - "type": "Identifier", - "name": "z", - "range": [ - 718, - 719 - ], - "loc": { - "start": { - "line": 26, - "column": 15 - }, - "end": { - "line": 26, - "column": 16 - } - } - }, - "range": [ - 708, - 719 - ], - "loc": { - "start": { - "line": 26, - "column": 5 - }, - "end": { - "line": 26, - "column": 16 - } - } - }, - "range": [ - 704, - 719 - ], - "loc": { - "start": { - "line": 26, - "column": 1 - }, - "end": { - "line": 26, - "column": 16 - } - } - }, - "range": [ - 704, - 720 - ], - "loc": { - "start": { - "line": 26, - "column": 1 - }, - "end": { - "line": 26, - "column": 17 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " number of complete blocks in destination", - "range": [ - 659, - 702 - ], - "loc": { - "start": { - "line": 25, - "column": 1 - }, - "end": { - "line": 25, - "column": 44 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": " total number of blocks in destination", - "range": [ - 723, - 763 - ], - "loc": { - "start": { - "line": 28, - "column": 1 - }, - "end": { - "line": 28, - "column": 41 - } - } - }, - { - "type": "Line", - "value": " (complete ones + first if incomplete)", - "range": [ - 765, - 805 - ], - "loc": { - "start": { - "line": 29, - "column": 1 - }, - "end": { - "line": 29, - "column": 41 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "w", - "range": [ - 807, - 808 - ], - "loc": { - "start": { - "line": 30, - "column": 1 - }, - "end": { - "line": 30, - "column": 2 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "q", - "range": [ - 811, - 812 - ], - "loc": { - "start": { - "line": 30, - "column": 5 - }, - "end": { - "line": 30, - "column": 6 - } - } - }, - "right": { - "type": "UnaryExpression", - "operator": "!", - "argument": { - "type": "UnaryExpression", - "operator": "!", - "argument": { - "type": "Identifier", - "name": "r", - "range": [ - 817, - 818 - ], - "loc": { - "start": { - "line": 30, - "column": 11 - }, - "end": { - "line": 30, - "column": 12 - } - } - }, - "prefix": true, - "range": [ - 816, - 818 - ], - "loc": { - "start": { - "line": 30, - "column": 10 - }, - "end": { - "line": 30, - "column": 12 - } - } - }, - "prefix": true, - "range": [ - 815, - 818 - ], - "loc": { - "start": { - "line": 30, - "column": 9 - }, - "end": { - "line": 30, - "column": 12 - } - } - }, - "range": [ - 811, - 818 - ], - "loc": { - "start": { - "line": 30, - "column": 5 - }, - "end": { - "line": 30, - "column": 12 - } - } - }, - "range": [ - 807, - 818 - ], - "loc": { - "start": { - "line": 30, - "column": 1 - }, - "end": { - "line": 30, - "column": 12 - } - } - }, - "range": [ - 807, - 819 - ], - "loc": { - "start": { - "line": 30, - "column": 1 - }, - "end": { - "line": 30, - "column": 13 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " total number of blocks in destination", - "range": [ - 723, - 763 - ], - "loc": { - "start": { - "line": 28, - "column": 1 - }, - "end": { - "line": 28, - "column": 41 - } - } - }, - { - "type": "Line", - "value": " (complete ones + first if incomplete)", - "range": [ - 765, - 805 - ], - "loc": { - "start": { - "line": 29, - "column": 1 - }, - "end": { - "line": 29, - "column": 41 - } - } - } - ] - }, - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "Identifier", - "name": "n", - "range": [ - 827, - 828 - ], - "loc": { - "start": { - "line": 33, - "column": 5 - }, - "end": { - "line": 33, - "column": 6 - } - } - }, - "right": { - "type": "Identifier", - "name": "w", - "range": [ - 832, - 833 - ], - "loc": { - "start": { - "line": 33, - "column": 10 - }, - "end": { - "line": 33, - "column": 11 - } - } - }, - "range": [ - 827, - 833 - ], - "loc": { - "start": { - "line": 33, - "column": 5 - }, - "end": { - "line": 33, - "column": 11 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "ai", - "range": [ - 1083, - 1085 - ], - "loc": { - "start": { - "line": 40, - "column": 2 - }, - "end": { - "line": 40, - "column": 4 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "aj", - "range": [ - 1088, - 1090 - ], - "loc": { - "start": { - "line": 40, - "column": 7 - }, - "end": { - "line": 40, - "column": 9 - } - } - }, - "right": { - "type": "Identifier", - "name": "w", - "range": [ - 1093, - 1094 - ], - "loc": { - "start": { - "line": 40, - "column": 12 - }, - "end": { - "line": 40, - "column": 13 - } - } - }, - "range": [ - 1088, - 1094 - ], - "loc": { - "start": { - "line": 40, - "column": 7 - }, - "end": { - "line": 40, - "column": 13 - } - } - }, - "range": [ - 1083, - 1094 - ], - "loc": { - "start": { - "line": 40, - "column": 2 - }, - "end": { - "line": 40, - "column": 13 - } - } - }, - "range": [ - 1083, - 1095 - ], - "loc": { - "start": { - "line": 40, - "column": 2 - }, - "end": { - "line": 40, - "column": 14 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " if source contains more than what", - "range": [ - 839, - 875 - ], - "loc": { - "start": { - "line": 34, - "column": 2 - }, - "end": { - "line": 34, - "column": 38 - } - } - }, - { - "type": "Line", - "value": " destination can handle set the effective", - "range": [ - 878, - 921 - ], - "loc": { - "start": { - "line": 35, - "column": 2 - }, - "end": { - "line": 35, - "column": 45 - } - } - }, - { - "type": "Line", - "value": " read start in source and set i to the correct", - "range": [ - 924, - 972 - ], - "loc": { - "start": { - "line": 36, - "column": 2 - }, - "end": { - "line": 36, - "column": 50 - } - } - }, - { - "type": "Line", - "value": " offset according to the size", - "range": [ - 975, - 1006 - ], - "loc": { - "start": { - "line": 37, - "column": 2 - }, - "end": { - "line": 37, - "column": 33 - } - } - }, - { - "type": "Line", - "value": " (in destination blocks) of the", - "range": [ - 1009, - 1042 - ], - "loc": { - "start": { - "line": 38, - "column": 2 - }, - "end": { - "line": 38, - "column": 35 - } - } - }, - { - "type": "Line", - "value": " first source block if incomplete", - "range": [ - 1045, - 1080 - ], - "loc": { - "start": { - "line": 39, - "column": 2 - }, - "end": { - "line": 39, - "column": 37 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "i", - "range": [ - 1098, - 1099 - ], - "loc": { - "start": { - "line": 41, - "column": 2 - }, - "end": { - "line": 41, - "column": 3 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "%", - "left": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "z", - "range": [ - 1103, - 1104 - ], - "loc": { - "start": { - "line": 41, - "column": 7 - }, - "end": { - "line": 41, - "column": 8 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 1107, - 1108 - ], - "loc": { - "start": { - "line": 41, - "column": 11 - }, - "end": { - "line": 41, - "column": 12 - } - } - }, - "range": [ - 1103, - 1108 - ], - "loc": { - "start": { - "line": 41, - "column": 7 - }, - "end": { - "line": 41, - "column": 12 - } - } - }, - "right": { - "type": "Identifier", - "name": "z", - "range": [ - 1112, - 1113 - ], - "loc": { - "start": { - "line": 41, - "column": 16 - }, - "end": { - "line": 41, - "column": 17 - } - } - }, - "range": [ - 1102, - 1113 - ], - "loc": { - "start": { - "line": 41, - "column": 6 - }, - "end": { - "line": 41, - "column": 17 - } - } - }, - "range": [ - 1098, - 1113 - ], - "loc": { - "start": { - "line": 41, - "column": 2 - }, - "end": { - "line": 41, - "column": 17 - } - } - }, - "range": [ - 1098, - 1114 - ], - "loc": { - "start": { - "line": 41, - "column": 2 - }, - "end": { - "line": 41, - "column": 18 - } - } - } - ], - "range": [ - 835, - 1117 - ], - "loc": { - "start": { - "line": 33, - "column": 13 - }, - "end": { - "line": 42, - "column": 2 - } - } - }, - "alternate": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "bi", - "range": [ - 1323, - 1325 - ], - "loc": { - "start": { - "line": 49, - "column": 2 - }, - "end": { - "line": 49, - "column": 4 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "bj", - "range": [ - 1328, - 1330 - ], - "loc": { - "start": { - "line": 49, - "column": 7 - }, - "end": { - "line": 49, - "column": 9 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "*", - "left": { - "type": "Identifier", - "name": "n", - "range": [ - 1333, - 1334 - ], - "loc": { - "start": { - "line": 49, - "column": 12 - }, - "end": { - "line": 49, - "column": 13 - } - } - }, - "right": { - "type": "Identifier", - "name": "z", - "range": [ - 1337, - 1338 - ], - "loc": { - "start": { - "line": 49, - "column": 16 - }, - "end": { - "line": 49, - "column": 17 - } - } - }, - "range": [ - 1333, - 1338 - ], - "loc": { - "start": { - "line": 49, - "column": 12 - }, - "end": { - "line": 49, - "column": 17 - } - } - }, - "range": [ - 1328, - 1338 - ], - "loc": { - "start": { - "line": 49, - "column": 7 - }, - "end": { - "line": 49, - "column": 17 - } - } - }, - "range": [ - 1323, - 1338 - ], - "loc": { - "start": { - "line": 49, - "column": 2 - }, - "end": { - "line": 49, - "column": 17 - } - } - }, - "range": [ - 1323, - 1339 - ], - "loc": { - "start": { - "line": 49, - "column": 2 - }, - "end": { - "line": 49, - "column": 18 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " if destination can contain more than", - "range": [ - 1128, - 1167 - ], - "loc": { - "start": { - "line": 44, - "column": 2 - }, - "end": { - "line": 44, - "column": 41 - } - } - }, - { - "type": "Line", - "value": " what is available in source then", - "range": [ - 1170, - 1205 - ], - "loc": { - "start": { - "line": 45, - "column": 2 - }, - "end": { - "line": 45, - "column": 37 - } - } - }, - { - "type": "Line", - "value": " compute the effective write start", - "range": [ - 1208, - 1244 - ], - "loc": { - "start": { - "line": 46, - "column": 2 - }, - "end": { - "line": 46, - "column": 38 - } - } - }, - { - "type": "Line", - "value": " in destination and set i to 0 because", - "range": [ - 1247, - 1287 - ], - "loc": { - "start": { - "line": 47, - "column": 2 - }, - "end": { - "line": 47, - "column": 42 - } - } - }, - { - "type": "Line", - "value": " all blocks will be complete", - "range": [ - 1290, - 1320 - ], - "loc": { - "start": { - "line": 48, - "column": 2 - }, - "end": { - "line": 48, - "column": 32 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "i", - "range": [ - 1342, - 1343 - ], - "loc": { - "start": { - "line": 50, - "column": 2 - }, - "end": { - "line": 50, - "column": 3 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 1346, - 1347 - ], - "loc": { - "start": { - "line": 50, - "column": 6 - }, - "end": { - "line": 50, - "column": 7 - } - } - }, - "range": [ - 1342, - 1347 - ], - "loc": { - "start": { - "line": 50, - "column": 2 - }, - "end": { - "line": 50, - "column": 7 - } - } - }, - "range": [ - 1342, - 1348 - ], - "loc": { - "start": { - "line": 50, - "column": 2 - }, - "end": { - "line": 50, - "column": 8 - } - } - } - ], - "range": [ - 1124, - 1351 - ], - "loc": { - "start": { - "line": 43, - "column": 6 - }, - "end": { - "line": 51, - "column": 2 - } - } - }, - "range": [ - 823, - 1351 - ], - "loc": { - "start": { - "line": 33, - "column": 1 - }, - "end": { - "line": 51, - "column": 2 - } - } - }, - { - "type": "ForStatement", - "init": null, - "test": { - "type": "LogicalExpression", - "operator": "&&", - "left": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "ai", - "range": [ - 1361, - 1363 - ], - "loc": { - "start": { - "line": 53, - "column": 8 - }, - "end": { - "line": 53, - "column": 10 - } - } - }, - "right": { - "type": "Identifier", - "name": "aj", - "range": [ - 1366, - 1368 - ], - "loc": { - "start": { - "line": 53, - "column": 13 - }, - "end": { - "line": 53, - "column": 15 - } - } - }, - "range": [ - 1361, - 1368 - ], - "loc": { - "start": { - "line": 53, - "column": 8 - }, - "end": { - "line": 53, - "column": 15 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "bi", - "range": [ - 1372, - 1374 - ], - "loc": { - "start": { - "line": 53, - "column": 19 - }, - "end": { - "line": 53, - "column": 21 - } - } - }, - "right": { - "type": "Identifier", - "name": "bj", - "range": [ - 1377, - 1379 - ], - "loc": { - "start": { - "line": 53, - "column": 24 - }, - "end": { - "line": 53, - "column": 26 - } - } - }, - "range": [ - 1372, - 1379 - ], - "loc": { - "start": { - "line": 53, - "column": 19 - }, - "end": { - "line": 53, - "column": 26 - } - } - }, - "range": [ - 1361, - 1379 - ], - "loc": { - "start": { - "line": 53, - "column": 8 - }, - "end": { - "line": 53, - "column": 26 - } - } - }, - "update": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "ai", - "range": [ - 1383, - 1385 - ], - "loc": { - "start": { - "line": 53, - "column": 30 - }, - "end": { - "line": 53, - "column": 32 - } - } - }, - "prefix": true, - "range": [ - 1381, - 1385 - ], - "loc": { - "start": { - "line": 53, - "column": 28 - }, - "end": { - "line": 53, - "column": 32 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "q", - "range": [ - 1391, - 1392 - ], - "loc": { - "start": { - "line": 54, - "column": 2 - }, - "end": { - "line": 54, - "column": 3 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 1395, - 1396 - ], - "loc": { - "start": { - "line": 54, - "column": 6 - }, - "end": { - "line": 54, - "column": 7 - } - } - }, - "property": { - "type": "Identifier", - "name": "ai", - "range": [ - 1397, - 1399 - ], - "loc": { - "start": { - "line": 54, - "column": 8 - }, - "end": { - "line": 54, - "column": 10 - } - } - }, - "range": [ - 1395, - 1400 - ], - "loc": { - "start": { - "line": 54, - "column": 6 - }, - "end": { - "line": 54, - "column": 11 - } - } - }, - "range": [ - 1391, - 1400 - ], - "loc": { - "start": { - "line": 54, - "column": 2 - }, - "end": { - "line": 54, - "column": 11 - } - } - }, - "range": [ - 1391, - 1401 - ], - "loc": { - "start": { - "line": 54, - "column": 2 - }, - "end": { - "line": 54, - "column": 12 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "t", - "range": [ - 1404, - 1405 - ], - "loc": { - "start": { - "line": 55, - "column": 2 - }, - "end": { - "line": 55, - "column": 3 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Identifier", - "name": "bi", - "range": [ - 1408, - 1410 - ], - "loc": { - "start": { - "line": 55, - "column": 6 - }, - "end": { - "line": 55, - "column": 8 - } - } - }, - "right": { - "type": "Identifier", - "name": "z", - "range": [ - 1413, - 1414 - ], - "loc": { - "start": { - "line": 55, - "column": 11 - }, - "end": { - "line": 55, - "column": 12 - } - } - }, - "range": [ - 1408, - 1414 - ], - "loc": { - "start": { - "line": 55, - "column": 6 - }, - "end": { - "line": 55, - "column": 12 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 1417, - 1418 - ], - "loc": { - "start": { - "line": 55, - "column": 15 - }, - "end": { - "line": 55, - "column": 16 - } - } - }, - "range": [ - 1408, - 1418 - ], - "loc": { - "start": { - "line": 55, - "column": 6 - }, - "end": { - "line": 55, - "column": 16 - } - } - }, - "right": { - "type": "Identifier", - "name": "i", - "range": [ - 1421, - 1422 - ], - "loc": { - "start": { - "line": 55, - "column": 19 - }, - "end": { - "line": 55, - "column": 20 - } - } - }, - "range": [ - 1408, - 1422 - ], - "loc": { - "start": { - "line": 55, - "column": 6 - }, - "end": { - "line": 55, - "column": 20 - } - } - }, - "range": [ - 1404, - 1422 - ], - "loc": { - "start": { - "line": 55, - "column": 2 - }, - "end": { - "line": 55, - "column": 20 - } - } - }, - "range": [ - 1404, - 1423 - ], - "loc": { - "start": { - "line": 55, - "column": 2 - }, - "end": { - "line": 55, - "column": 21 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "+=", - "left": { - "type": "Identifier", - "name": "bi", - "range": [ - 1426, - 1428 - ], - "loc": { - "start": { - "line": 56, - "column": 2 - }, - "end": { - "line": 56, - "column": 4 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "z", - "range": [ - 1432, - 1433 - ], - "loc": { - "start": { - "line": 56, - "column": 8 - }, - "end": { - "line": 56, - "column": 9 - } - } - }, - "right": { - "type": "Identifier", - "name": "i", - "range": [ - 1436, - 1437 - ], - "loc": { - "start": { - "line": 56, - "column": 12 - }, - "end": { - "line": 56, - "column": 13 - } - } - }, - "range": [ - 1432, - 1437 - ], - "loc": { - "start": { - "line": 56, - "column": 8 - }, - "end": { - "line": 56, - "column": 13 - } - } - }, - "range": [ - 1426, - 1437 - ], - "loc": { - "start": { - "line": 56, - "column": 2 - }, - "end": { - "line": 56, - "column": 13 - } - } - }, - "range": [ - 1426, - 1438 - ], - "loc": { - "start": { - "line": 56, - "column": 2 - }, - "end": { - "line": 56, - "column": 14 - } - } - }, - { - "type": "ForStatement", - "init": null, - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "i", - "range": [ - 1448, - 1449 - ], - "loc": { - "start": { - "line": 57, - "column": 9 - }, - "end": { - "line": 57, - "column": 10 - } - } - }, - "right": { - "type": "Identifier", - "name": "z", - "range": [ - 1452, - 1453 - ], - "loc": { - "start": { - "line": 57, - "column": 13 - }, - "end": { - "line": 57, - "column": 14 - } - } - }, - "range": [ - 1448, - 1453 - ], - "loc": { - "start": { - "line": 57, - "column": 9 - }, - "end": { - "line": 57, - "column": 14 - } - } - }, - "update": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "i", - "range": [ - 1457, - 1458 - ], - "loc": { - "start": { - "line": 57, - "column": 18 - }, - "end": { - "line": 57, - "column": 19 - } - } - }, - "prefix": true, - "range": [ - 1455, - 1458 - ], - "loc": { - "start": { - "line": 57, - "column": 16 - }, - "end": { - "line": 57, - "column": 19 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "r", - "range": [ - 1465, - 1466 - ], - "loc": { - "start": { - "line": 58, - "column": 3 - }, - "end": { - "line": 58, - "column": 4 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "%", - "left": { - "type": "Identifier", - "name": "q", - "range": [ - 1469, - 1470 - ], - "loc": { - "start": { - "line": 58, - "column": 7 - }, - "end": { - "line": 58, - "column": 8 - } - } - }, - "right": { - "type": "Identifier", - "name": "br", - "range": [ - 1473, - 1475 - ], - "loc": { - "start": { - "line": 58, - "column": 11 - }, - "end": { - "line": 58, - "column": 13 - } - } - }, - "range": [ - 1469, - 1475 - ], - "loc": { - "start": { - "line": 58, - "column": 7 - }, - "end": { - "line": 58, - "column": 13 - } - } - }, - "range": [ - 1465, - 1475 - ], - "loc": { - "start": { - "line": 58, - "column": 3 - }, - "end": { - "line": 58, - "column": 13 - } - } - }, - "range": [ - 1465, - 1476 - ], - "loc": { - "start": { - "line": 58, - "column": 3 - }, - "end": { - "line": 58, - "column": 14 - } - }, - "trailingComments": [ - { - "type": "Line", - "value": " unpack source blocks", - "range": [ - 1484, - 1507 - ], - "loc": { - "start": { - "line": 58, - "column": 22 - }, - "end": { - "line": 58, - "column": 45 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "q", - "range": [ - 1511, - 1512 - ], - "loc": { - "start": { - "line": 59, - "column": 3 - }, - "end": { - "line": 59, - "column": 4 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "/", - "left": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "q", - "range": [ - 1516, - 1517 - ], - "loc": { - "start": { - "line": 59, - "column": 8 - }, - "end": { - "line": 59, - "column": 9 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 1520, - 1521 - ], - "loc": { - "start": { - "line": 59, - "column": 12 - }, - "end": { - "line": 59, - "column": 13 - } - } - }, - "range": [ - 1516, - 1521 - ], - "loc": { - "start": { - "line": 59, - "column": 8 - }, - "end": { - "line": 59, - "column": 13 - } - } - }, - "right": { - "type": "Identifier", - "name": "br", - "range": [ - 1525, - 1527 - ], - "loc": { - "start": { - "line": 59, - "column": 17 - }, - "end": { - "line": 59, - "column": 19 - } - } - }, - "range": [ - 1515, - 1527 - ], - "loc": { - "start": { - "line": 59, - "column": 7 - }, - "end": { - "line": 59, - "column": 19 - } - } - }, - "range": [ - 1511, - 1527 - ], - "loc": { - "start": { - "line": 59, - "column": 3 - }, - "end": { - "line": 59, - "column": 19 - } - } - }, - "range": [ - 1511, - 1528 - ], - "loc": { - "start": { - "line": 59, - "column": 3 - }, - "end": { - "line": 59, - "column": 20 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " unpack source blocks", - "range": [ - 1484, - 1507 - ], - "loc": { - "start": { - "line": 58, - "column": 22 - }, - "end": { - "line": 58, - "column": 45 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": " using simple", - "range": [ - 1530, - 1545 - ], - "loc": { - "start": { - "line": 59, - "column": 22 - }, - "end": { - "line": 59, - "column": 37 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 1549, - 1550 - ], - "loc": { - "start": { - "line": 60, - "column": 3 - }, - "end": { - "line": 60, - "column": 4 - } - } - }, - "property": { - "type": "Identifier", - "name": "t", - "range": [ - 1551, - 1552 - ], - "loc": { - "start": { - "line": 60, - "column": 5 - }, - "end": { - "line": 60, - "column": 6 - } - } - }, - "range": [ - 1549, - 1553 - ], - "loc": { - "start": { - "line": 60, - "column": 3 - }, - "end": { - "line": 60, - "column": 7 - } - } - }, - "right": { - "type": "Identifier", - "name": "r", - "range": [ - 1556, - 1557 - ], - "loc": { - "start": { - "line": 60, - "column": 10 - }, - "end": { - "line": 60, - "column": 11 - } - } - }, - "range": [ - 1549, - 1557 - ], - "loc": { - "start": { - "line": 60, - "column": 3 - }, - "end": { - "line": 60, - "column": 11 - } - } - }, - "range": [ - 1549, - 1558 - ], - "loc": { - "start": { - "line": 60, - "column": 3 - }, - "end": { - "line": 60, - "column": 12 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " using simple", - "range": [ - 1530, - 1545 - ], - "loc": { - "start": { - "line": 59, - "column": 22 - }, - "end": { - "line": 59, - "column": 37 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": " modulo + quotient", - "range": [ - 1568, - 1588 - ], - "loc": { - "start": { - "line": 60, - "column": 22 - }, - "end": { - "line": 60, - "column": 42 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "t", - "range": [ - 1594, - 1595 - ], - "loc": { - "start": { - "line": 61, - "column": 5 - }, - "end": { - "line": 61, - "column": 6 - } - } - }, - "prefix": true, - "range": [ - 1592, - 1595 - ], - "loc": { - "start": { - "line": 61, - "column": 3 - }, - "end": { - "line": 61, - "column": 6 - } - } - }, - "range": [ - 1592, - 1596 - ], - "loc": { - "start": { - "line": 61, - "column": 3 - }, - "end": { - "line": 61, - "column": 7 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " modulo + quotient", - "range": [ - 1568, - 1588 - ], - "loc": { - "start": { - "line": 60, - "column": 22 - }, - "end": { - "line": 60, - "column": 42 - } - } - } - ] - } - ], - "range": [ - 1460, - 1600 - ], - "loc": { - "start": { - "line": 57, - "column": 21 - }, - "end": { - "line": 62, - "column": 3 - } - } - }, - "range": [ - 1441, - 1600 - ], - "loc": { - "start": { - "line": 57, - "column": 2 - }, - "end": { - "line": 62, - "column": 3 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "i", - "range": [ - 1603, - 1604 - ], - "loc": { - "start": { - "line": 63, - "column": 2 - }, - "end": { - "line": 63, - "column": 3 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 1607, - 1608 - ], - "loc": { - "start": { - "line": 63, - "column": 6 - }, - "end": { - "line": 63, - "column": 7 - } - } - }, - "range": [ - 1603, - 1608 - ], - "loc": { - "start": { - "line": 63, - "column": 2 - }, - "end": { - "line": 63, - "column": 7 - } - } - }, - "range": [ - 1603, - 1609 - ], - "loc": { - "start": { - "line": 63, - "column": 2 - }, - "end": { - "line": 63, - "column": 8 - } - } - } - ], - "range": [ - 1387, - 1612 - ], - "loc": { - "start": { - "line": 53, - "column": 34 - }, - "end": { - "line": 64, - "column": 2 - } - } - }, - "range": [ - 1354, - 1612 - ], - "loc": { - "start": { - "line": 53, - "column": 1 - }, - "end": { - "line": 64, - "column": 2 - } - } - } - ], - "range": [ - 521, - 1615 - ], - "loc": { - "start": { - "line": 14, - "column": 80 - }, - "end": { - "line": 66, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 448, - 1615 - ], - "loc": { - "start": { - "line": 14, - "column": 7 - }, - "end": { - "line": 66, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n *\n * @param {Number} br the base to convert to\n * @param {Number} z if ar is the base to convert to then log(ar) = z log(br)\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", - "range": [ - 1, - 439 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 12, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 441, - 1615 - ], - "loc": { - "start": { - "line": 14, - "column": 0 - }, - "end": { - "line": 66, - "column": 1 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n *\n * @param {Number} br the base to convert to\n * @param {Number} z if ar is the base to convert to then log(ar) = z log(br)\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", - "range": [ - 1, - 439 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 12, - "column": 3 - } - } - } - ] - } - ], - "sourceType": "module", - "range": [ - 441, - 1615 - ], - "loc": { - "start": { - "line": 14, - "column": 0 - }, - "end": { - "line": 66, - "column": 1 - } - }, - "comments": [ - { - "type": "Block", - "value": "*\n *\n * @param {Number} br the base to convert to\n * @param {Number} z if ar is the base to convert to then log(ar) = z log(br)\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n ", - "range": [ - 1, - 439 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 12, - "column": 3 - } - } - }, - { - "type": "Line", - "value": " number of parts of first", - "range": [ - 581, - 608 - ], - "loc": { - "start": { - "line": 21, - "column": 1 - }, - "end": { - "line": 21, - "column": 28 - } - } - }, - { - "type": "Line", - "value": " destination block if incomplete", - "range": [ - 610, - 644 - ], - "loc": { - "start": { - "line": 22, - "column": 1 - }, - "end": { - "line": 22, - "column": 35 - } - } - }, - { - "type": "Line", - "value": " number of complete blocks in destination", - "range": [ - 659, - 702 - ], - "loc": { - "start": { - "line": 25, - "column": 1 - }, - "end": { - "line": 25, - "column": 44 - } - } - }, - { - "type": "Line", - "value": " total number of blocks in destination", - "range": [ - 723, - 763 - ], - "loc": { - "start": { - "line": 28, - "column": 1 - }, - "end": { - "line": 28, - "column": 41 - } - } - }, - { - "type": "Line", - "value": " (complete ones + first if incomplete)", - "range": [ - 765, - 805 - ], - "loc": { - "start": { - "line": 29, - "column": 1 - }, - "end": { - "line": 29, - "column": 41 - } - } - }, - { - "type": "Line", - "value": " if source contains more than what", - "range": [ - 839, - 875 - ], - "loc": { - "start": { - "line": 34, - "column": 2 - }, - "end": { - "line": 34, - "column": 38 - } - } - }, - { - "type": "Line", - "value": " destination can handle set the effective", - "range": [ - 878, - 921 - ], - "loc": { - "start": { - "line": 35, - "column": 2 - }, - "end": { - "line": 35, - "column": 45 - } - } - }, - { - "type": "Line", - "value": " read start in source and set i to the correct", - "range": [ - 924, - 972 - ], - "loc": { - "start": { - "line": 36, - "column": 2 - }, - "end": { - "line": 36, - "column": 50 - } - } - }, - { - "type": "Line", - "value": " offset according to the size", - "range": [ - 975, - 1006 - ], - "loc": { - "start": { - "line": 37, - "column": 2 - }, - "end": { - "line": 37, - "column": 33 - } - } - }, - { - "type": "Line", - "value": " (in destination blocks) of the", - "range": [ - 1009, - 1042 - ], - "loc": { - "start": { - "line": 38, - "column": 2 - }, - "end": { - "line": 38, - "column": 35 - } - } - }, - { - "type": "Line", - "value": " first source block if incomplete", - "range": [ - 1045, - 1080 - ], - "loc": { - "start": { - "line": 39, - "column": 2 - }, - "end": { - "line": 39, - "column": 37 - } - } - }, - { - "type": "Line", - "value": " if destination can contain more than", - "range": [ - 1128, - 1167 - ], - "loc": { - "start": { - "line": 44, - "column": 2 - }, - "end": { - "line": 44, - "column": 41 - } - } - }, - { - "type": "Line", - "value": " what is available in source then", - "range": [ - 1170, - 1205 - ], - "loc": { - "start": { - "line": 45, - "column": 2 - }, - "end": { - "line": 45, - "column": 37 - } - } - }, - { - "type": "Line", - "value": " compute the effective write start", - "range": [ - 1208, - 1244 - ], - "loc": { - "start": { - "line": 46, - "column": 2 - }, - "end": { - "line": 46, - "column": 38 - } - } - }, - { - "type": "Line", - "value": " in destination and set i to 0 because", - "range": [ - 1247, - 1287 - ], - "loc": { - "start": { - "line": 47, - "column": 2 - }, - "end": { - "line": 47, - "column": 42 - } - } - }, - { - "type": "Line", - "value": " all blocks will be complete", - "range": [ - 1290, - 1320 - ], - "loc": { - "start": { - "line": 48, - "column": 2 - }, - "end": { - "line": 48, - "column": 32 - } - } - }, - { - "type": "Line", - "value": " unpack source blocks", - "range": [ - 1484, - 1507 - ], - "loc": { - "start": { - "line": 58, - "column": 22 - }, - "end": { - "line": 58, - "column": 45 - } - } - }, - { - "type": "Line", - "value": " using simple", - "range": [ - 1530, - 1545 - ], - "loc": { - "start": { - "line": 59, - "column": 22 - }, - "end": { - "line": 59, - "column": 37 - } - } - }, - { - "type": "Line", - "value": " modulo + quotient", - "range": [ - 1568, - 1588 - ], - "loc": { - "start": { - "line": 60, - "column": 22 - }, - "end": { - "line": 60, - "column": 42 - } - } - } - ] -} \ No newline at end of file diff --git a/ast/source/1-new/convert/_copy.js.json b/ast/source/1-new/convert/_copy.js.json deleted file mode 100644 index 9fa7d1f..0000000 --- a/ast/source/1-new/convert/_copy.js.json +++ /dev/null @@ -1,498 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "_copy", - "range": [ - 17, - 22 - ], - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 21 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 25, - 26 - ], - "loc": { - "start": { - "line": 2, - "column": 24 - }, - "end": { - "line": 2, - "column": 25 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 29, - 31 - ], - "loc": { - "start": { - "line": 2, - "column": 28 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 34, - 36 - ], - "loc": { - "start": { - "line": 2, - "column": 33 - }, - "end": { - "line": 2, - "column": 35 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 39, - 40 - ], - "loc": { - "start": { - "line": 2, - "column": 38 - }, - "end": { - "line": 2, - "column": 39 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 43, - 45 - ], - "loc": { - "start": { - "line": 2, - "column": 42 - }, - "end": { - "line": 2, - "column": 44 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ForStatement", - "init": null, - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "ai", - "range": [ - 60, - 62 - ], - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 11 - } - } - }, - "right": { - "type": "Identifier", - "name": "aj", - "range": [ - 65, - 67 - ], - "loc": { - "start": { - "line": 4, - "column": 14 - }, - "end": { - "line": 4, - "column": 16 - } - } - }, - "range": [ - 60, - 67 - ], - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 16 - } - } - }, - "update": { - "type": "SequenceExpression", - "expressions": [ - { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "ai", - "range": [ - 72, - 74 - ], - "loc": { - "start": { - "line": 4, - "column": 21 - }, - "end": { - "line": 4, - "column": 23 - } - } - }, - "prefix": true, - "range": [ - 70, - 74 - ], - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 4, - "column": 23 - } - } - }, - { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "bi", - "range": [ - 78, - 80 - ], - "loc": { - "start": { - "line": 4, - "column": 27 - }, - "end": { - "line": 4, - "column": 29 - } - } - }, - "prefix": true, - "range": [ - 76, - 80 - ], - "loc": { - "start": { - "line": 4, - "column": 25 - }, - "end": { - "line": 4, - "column": 29 - } - } - } - ], - "range": [ - 70, - 80 - ], - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 4, - "column": 29 - } - } - }, - "body": { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 83, - 84 - ], - "loc": { - "start": { - "line": 4, - "column": 32 - }, - "end": { - "line": 4, - "column": 33 - } - } - }, - "property": { - "type": "Identifier", - "name": "bi", - "range": [ - 85, - 87 - ], - "loc": { - "start": { - "line": 4, - "column": 34 - }, - "end": { - "line": 4, - "column": 36 - } - } - }, - "range": [ - 83, - 88 - ], - "loc": { - "start": { - "line": 4, - "column": 32 - }, - "end": { - "line": 4, - "column": 37 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 91, - 92 - ], - "loc": { - "start": { - "line": 4, - "column": 40 - }, - "end": { - "line": 4, - "column": 41 - } - } - }, - "property": { - "type": "Identifier", - "name": "ai", - "range": [ - 93, - 95 - ], - "loc": { - "start": { - "line": 4, - "column": 42 - }, - "end": { - "line": 4, - "column": 44 - } - } - }, - "range": [ - 91, - 96 - ], - "loc": { - "start": { - "line": 4, - "column": 40 - }, - "end": { - "line": 4, - "column": 45 - } - } - }, - "range": [ - 83, - 96 - ], - "loc": { - "start": { - "line": 4, - "column": 32 - }, - "end": { - "line": 4, - "column": 45 - } - } - }, - "range": [ - 83, - 98 - ], - "loc": { - "start": { - "line": 4, - "column": 32 - }, - "end": { - "line": 4, - "column": 47 - } - } - }, - "range": [ - 52, - 98 - ], - "loc": { - "start": { - "line": 4, - "column": 1 - }, - "end": { - "line": 4, - "column": 47 - } - } - } - ], - "range": [ - 48, - 101 - ], - "loc": { - "start": { - "line": 2, - "column": 47 - }, - "end": { - "line": 6, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 8, - 101 - ], - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 6, - "column": 1 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 1, - 101 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 6, - "column": 1 - } - } - } - ], - "sourceType": "module", - "range": [ - 1, - 101 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 6, - "column": 1 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/convert/_fill.js.json b/ast/source/1-new/convert/_fill.js.json deleted file mode 100644 index 7562050..0000000 --- a/ast/source/1-new/convert/_fill.js.json +++ /dev/null @@ -1,460 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "_fill", - "range": [ - 17, - 22 - ], - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 21 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 25, - 26 - ], - "loc": { - "start": { - "line": 2, - "column": 24 - }, - "end": { - "line": 2, - "column": 25 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 29, - 31 - ], - "loc": { - "start": { - "line": 2, - "column": 28 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 34, - 36 - ], - "loc": { - "start": { - "line": 2, - "column": 33 - }, - "end": { - "line": 2, - "column": 35 - } - } - }, - { - "type": "Identifier", - "name": "v", - "range": [ - 39, - 40 - ], - "loc": { - "start": { - "line": 2, - "column": 38 - }, - "end": { - "line": 2, - "column": 39 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ForStatement", - "init": { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "i", - "range": [ - 57, - 58 - ], - "loc": { - "start": { - "line": 4, - "column": 11 - }, - "end": { - "line": 4, - "column": 12 - } - } - }, - "init": { - "type": "Identifier", - "name": "ai", - "range": [ - 61, - 63 - ], - "loc": { - "start": { - "line": 4, - "column": 15 - }, - "end": { - "line": 4, - "column": 17 - } - } - }, - "range": [ - 57, - 63 - ], - "loc": { - "start": { - "line": 4, - "column": 11 - }, - "end": { - "line": 4, - "column": 17 - } - } - } - ], - "kind": "let", - "range": [ - 53, - 63 - ], - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 17 - } - } - }, - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "i", - "range": [ - 66, - 67 - ], - "loc": { - "start": { - "line": 4, - "column": 20 - }, - "end": { - "line": 4, - "column": 21 - } - } - }, - "right": { - "type": "Identifier", - "name": "aj", - "range": [ - 70, - 72 - ], - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 4, - "column": 26 - } - } - }, - "range": [ - 66, - 72 - ], - "loc": { - "start": { - "line": 4, - "column": 20 - }, - "end": { - "line": 4, - "column": 26 - } - } - }, - "update": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "i", - "range": [ - 77, - 78 - ], - "loc": { - "start": { - "line": 4, - "column": 31 - }, - "end": { - "line": 4, - "column": 32 - } - } - }, - "prefix": true, - "range": [ - 75, - 78 - ], - "loc": { - "start": { - "line": 4, - "column": 29 - }, - "end": { - "line": 4, - "column": 32 - } - } - }, - "body": { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 81, - 82 - ], - "loc": { - "start": { - "line": 4, - "column": 35 - }, - "end": { - "line": 4, - "column": 36 - } - } - }, - "property": { - "type": "Identifier", - "name": "i", - "range": [ - 83, - 84 - ], - "loc": { - "start": { - "line": 4, - "column": 37 - }, - "end": { - "line": 4, - "column": 38 - } - } - }, - "range": [ - 81, - 85 - ], - "loc": { - "start": { - "line": 4, - "column": 35 - }, - "end": { - "line": 4, - "column": 39 - } - } - }, - "right": { - "type": "Identifier", - "name": "v", - "range": [ - 88, - 89 - ], - "loc": { - "start": { - "line": 4, - "column": 42 - }, - "end": { - "line": 4, - "column": 43 - } - } - }, - "range": [ - 81, - 89 - ], - "loc": { - "start": { - "line": 4, - "column": 35 - }, - "end": { - "line": 4, - "column": 43 - } - } - }, - "range": [ - 81, - 91 - ], - "loc": { - "start": { - "line": 4, - "column": 35 - }, - "end": { - "line": 4, - "column": 45 - } - } - }, - "range": [ - 47, - 91 - ], - "loc": { - "start": { - "line": 4, - "column": 1 - }, - "end": { - "line": 4, - "column": 45 - } - } - } - ], - "range": [ - 43, - 94 - ], - "loc": { - "start": { - "line": 2, - "column": 42 - }, - "end": { - "line": 6, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 8, - 94 - ], - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 6, - "column": 1 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 1, - 94 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 6, - "column": 1 - } - } - } - ], - "sourceType": "module", - "range": [ - 1, - 94 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 6, - "column": 1 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/convert/_int.js.json b/ast/source/1-new/convert/_int.js.json deleted file mode 100644 index 857407b..0000000 --- a/ast/source/1-new/convert/_int.js.json +++ /dev/null @@ -1,1066 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "_int", - "range": [ - 17, - 21 - ], - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 20 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "x", - "range": [ - 24, - 25 - ], - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 24 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "IfStatement", - "test": { - "type": "LogicalExpression", - "operator": "&&", - "left": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "Identifier", - "name": "x", - "range": [ - 37, - 38 - ], - "loc": { - "start": { - "line": 4, - "column": 6 - }, - "end": { - "line": 4, - "column": 7 - } - } - }, - "right": { - "type": "Literal", - "value": "0", - "raw": "'0'", - "range": [ - 42, - 45 - ], - "loc": { - "start": { - "line": 4, - "column": 11 - }, - "end": { - "line": 4, - "column": 14 - } - } - }, - "range": [ - 37, - 45 - ], - "loc": { - "start": { - "line": 4, - "column": 6 - }, - "end": { - "line": 4, - "column": 14 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "<=", - "left": { - "type": "Identifier", - "name": "x", - "range": [ - 49, - 50 - ], - "loc": { - "start": { - "line": 4, - "column": 18 - }, - "end": { - "line": 4, - "column": 19 - } - } - }, - "right": { - "type": "Literal", - "value": "9", - "raw": "'9'", - "range": [ - 54, - 57 - ], - "loc": { - "start": { - "line": 4, - "column": 23 - }, - "end": { - "line": 4, - "column": 26 - } - } - }, - "range": [ - 49, - 57 - ], - "loc": { - "start": { - "line": 4, - "column": 18 - }, - "end": { - "line": 4, - "column": 26 - } - } - }, - "range": [ - 37, - 57 - ], - "loc": { - "start": { - "line": 4, - "column": 6 - }, - "end": { - "line": 4, - "column": 26 - } - } - }, - "consequent": { - "type": "ReturnStatement", - "argument": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "x", - "range": [ - 67, - 68 - ], - "loc": { - "start": { - "line": 4, - "column": 36 - }, - "end": { - "line": 4, - "column": 37 - } - } - }, - "property": { - "type": "Identifier", - "name": "charCodeAt", - "range": [ - 69, - 79 - ], - "loc": { - "start": { - "line": 4, - "column": 38 - }, - "end": { - "line": 4, - "column": 48 - } - } - }, - "range": [ - 67, - 79 - ], - "loc": { - "start": { - "line": 4, - "column": 36 - }, - "end": { - "line": 4, - "column": 48 - } - } - }, - "arguments": [ - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 81, - 82 - ], - "loc": { - "start": { - "line": 4, - "column": 50 - }, - "end": { - "line": 4, - "column": 51 - } - } - } - ], - "range": [ - 67, - 84 - ], - "loc": { - "start": { - "line": 4, - "column": 36 - }, - "end": { - "line": 4, - "column": 53 - } - } - }, - "right": { - "type": "Literal", - "value": 48, - "raw": "48", - "range": [ - 87, - 89 - ], - "loc": { - "start": { - "line": 4, - "column": 56 - }, - "end": { - "line": 4, - "column": 58 - } - } - }, - "range": [ - 67, - 89 - ], - "loc": { - "start": { - "line": 4, - "column": 36 - }, - "end": { - "line": 4, - "column": 58 - } - } - }, - "range": [ - 60, - 91 - ], - "loc": { - "start": { - "line": 4, - "column": 29 - }, - "end": { - "line": 4, - "column": 60 - } - } - }, - "alternate": null, - "range": [ - 32, - 91 - ], - "loc": { - "start": { - "line": 4, - "column": 1 - }, - "end": { - "line": 4, - "column": 60 - } - } - }, - { - "type": "IfStatement", - "test": { - "type": "LogicalExpression", - "operator": "&&", - "left": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "Identifier", - "name": "x", - "range": [ - 98, - 99 - ], - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - "right": { - "type": "Literal", - "value": "A", - "raw": "'A'", - "range": [ - 103, - 106 - ], - "loc": { - "start": { - "line": 5, - "column": 11 - }, - "end": { - "line": 5, - "column": 14 - } - } - }, - "range": [ - 98, - 106 - ], - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 14 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "<=", - "left": { - "type": "Identifier", - "name": "x", - "range": [ - 110, - 111 - ], - "loc": { - "start": { - "line": 5, - "column": 18 - }, - "end": { - "line": 5, - "column": 19 - } - } - }, - "right": { - "type": "Literal", - "value": "Z", - "raw": "'Z'", - "range": [ - 115, - 118 - ], - "loc": { - "start": { - "line": 5, - "column": 23 - }, - "end": { - "line": 5, - "column": 26 - } - } - }, - "range": [ - 110, - 118 - ], - "loc": { - "start": { - "line": 5, - "column": 18 - }, - "end": { - "line": 5, - "column": 26 - } - } - }, - "range": [ - 98, - 118 - ], - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 26 - } - } - }, - "consequent": { - "type": "ReturnStatement", - "argument": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "x", - "range": [ - 128, - 129 - ], - "loc": { - "start": { - "line": 5, - "column": 36 - }, - "end": { - "line": 5, - "column": 37 - } - } - }, - "property": { - "type": "Identifier", - "name": "charCodeAt", - "range": [ - 130, - 140 - ], - "loc": { - "start": { - "line": 5, - "column": 38 - }, - "end": { - "line": 5, - "column": 48 - } - } - }, - "range": [ - 128, - 140 - ], - "loc": { - "start": { - "line": 5, - "column": 36 - }, - "end": { - "line": 5, - "column": 48 - } - } - }, - "arguments": [ - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 142, - 143 - ], - "loc": { - "start": { - "line": 5, - "column": 50 - }, - "end": { - "line": 5, - "column": 51 - } - } - } - ], - "range": [ - 128, - 145 - ], - "loc": { - "start": { - "line": 5, - "column": 36 - }, - "end": { - "line": 5, - "column": 53 - } - } - }, - "right": { - "type": "Literal", - "value": 55, - "raw": "55", - "range": [ - 148, - 150 - ], - "loc": { - "start": { - "line": 5, - "column": 56 - }, - "end": { - "line": 5, - "column": 58 - } - } - }, - "range": [ - 128, - 150 - ], - "loc": { - "start": { - "line": 5, - "column": 36 - }, - "end": { - "line": 5, - "column": 58 - } - } - }, - "range": [ - 121, - 152 - ], - "loc": { - "start": { - "line": 5, - "column": 29 - }, - "end": { - "line": 5, - "column": 60 - } - } - }, - "alternate": null, - "range": [ - 93, - 152 - ], - "loc": { - "start": { - "line": 5, - "column": 1 - }, - "end": { - "line": 5, - "column": 60 - } - } - }, - { - "type": "IfStatement", - "test": { - "type": "LogicalExpression", - "operator": "&&", - "left": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "Identifier", - "name": "x", - "range": [ - 159, - 160 - ], - "loc": { - "start": { - "line": 6, - "column": 6 - }, - "end": { - "line": 6, - "column": 7 - } - } - }, - "right": { - "type": "Literal", - "value": "a", - "raw": "'a'", - "range": [ - 164, - 167 - ], - "loc": { - "start": { - "line": 6, - "column": 11 - }, - "end": { - "line": 6, - "column": 14 - } - } - }, - "range": [ - 159, - 167 - ], - "loc": { - "start": { - "line": 6, - "column": 6 - }, - "end": { - "line": 6, - "column": 14 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "<=", - "left": { - "type": "Identifier", - "name": "x", - "range": [ - 171, - 172 - ], - "loc": { - "start": { - "line": 6, - "column": 18 - }, - "end": { - "line": 6, - "column": 19 - } - } - }, - "right": { - "type": "Literal", - "value": "z", - "raw": "'z'", - "range": [ - 176, - 179 - ], - "loc": { - "start": { - "line": 6, - "column": 23 - }, - "end": { - "line": 6, - "column": 26 - } - } - }, - "range": [ - 171, - 179 - ], - "loc": { - "start": { - "line": 6, - "column": 18 - }, - "end": { - "line": 6, - "column": 26 - } - } - }, - "range": [ - 159, - 179 - ], - "loc": { - "start": { - "line": 6, - "column": 6 - }, - "end": { - "line": 6, - "column": 26 - } - } - }, - "consequent": { - "type": "ReturnStatement", - "argument": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "x", - "range": [ - 189, - 190 - ], - "loc": { - "start": { - "line": 6, - "column": 36 - }, - "end": { - "line": 6, - "column": 37 - } - } - }, - "property": { - "type": "Identifier", - "name": "charCodeAt", - "range": [ - 191, - 201 - ], - "loc": { - "start": { - "line": 6, - "column": 38 - }, - "end": { - "line": 6, - "column": 48 - } - } - }, - "range": [ - 189, - 201 - ], - "loc": { - "start": { - "line": 6, - "column": 36 - }, - "end": { - "line": 6, - "column": 48 - } - } - }, - "arguments": [ - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 203, - 204 - ], - "loc": { - "start": { - "line": 6, - "column": 50 - }, - "end": { - "line": 6, - "column": 51 - } - } - } - ], - "range": [ - 189, - 206 - ], - "loc": { - "start": { - "line": 6, - "column": 36 - }, - "end": { - "line": 6, - "column": 53 - } - } - }, - "right": { - "type": "Literal", - "value": 87, - "raw": "87", - "range": [ - 209, - 211 - ], - "loc": { - "start": { - "line": 6, - "column": 56 - }, - "end": { - "line": 6, - "column": 58 - } - } - }, - "range": [ - 189, - 211 - ], - "loc": { - "start": { - "line": 6, - "column": 36 - }, - "end": { - "line": 6, - "column": 58 - } - } - }, - "range": [ - 182, - 213 - ], - "loc": { - "start": { - "line": 6, - "column": 29 - }, - "end": { - "line": 6, - "column": 60 - } - } - }, - "alternate": null, - "range": [ - 154, - 213 - ], - "loc": { - "start": { - "line": 6, - "column": 1 - }, - "end": { - "line": 6, - "column": 60 - } - } - }, - { - "type": "ThrowStatement", - "argument": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "Literal", - "value": "invalid literal for _int: ", - "raw": "'invalid literal for _int: '", - "range": [ - 222, - 250 - ], - "loc": { - "start": { - "line": 8, - "column": 7 - }, - "end": { - "line": 8, - "column": 35 - } - } - }, - "right": { - "type": "Identifier", - "name": "x", - "range": [ - 253, - 254 - ], - "loc": { - "start": { - "line": 8, - "column": 38 - }, - "end": { - "line": 8, - "column": 39 - } - } - }, - "range": [ - 222, - 254 - ], - "loc": { - "start": { - "line": 8, - "column": 7 - }, - "end": { - "line": 8, - "column": 39 - } - } - }, - "range": [ - 216, - 256 - ], - "loc": { - "start": { - "line": 8, - "column": 1 - }, - "end": { - "line": 8, - "column": 41 - } - } - } - ], - "range": [ - 28, - 259 - ], - "loc": { - "start": { - "line": 2, - "column": 27 - }, - "end": { - "line": 10, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 8, - 259 - ], - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 10, - "column": 1 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 1, - 259 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 10, - "column": 1 - } - } - } - ], - "sourceType": "module", - "range": [ - 1, - 259 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 10, - "column": 1 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/convert/_log.js.json b/ast/source/1-new/convert/_log.js.json deleted file mode 100644 index 21ee6c7..0000000 --- a/ast/source/1-new/convert/_log.js.json +++ /dev/null @@ -1,587 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "_log", - "range": [ - 17, - 21 - ], - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 20 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "x", - "range": [ - 24, - 25 - ], - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 24 - } - } - }, - { - "type": "Identifier", - "name": "y", - "range": [ - 28, - 29 - ], - "loc": { - "start": { - "line": 2, - "column": 27 - }, - "end": { - "line": 2, - "column": 28 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "z", - "range": [ - 40, - 41 - ], - "loc": { - "start": { - "line": 4, - "column": 5 - }, - "end": { - "line": 4, - "column": 6 - } - } - }, - "init": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 44, - 45 - ], - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 10 - } - } - }, - "range": [ - 40, - 45 - ], - "loc": { - "start": { - "line": 4, - "column": 5 - }, - "end": { - "line": 4, - "column": 10 - } - } - } - ], - "kind": "let", - "range": [ - 36, - 47 - ], - "loc": { - "start": { - "line": 4, - "column": 1 - }, - "end": { - "line": 4, - "column": 12 - } - } - }, - { - "type": "WhileStatement", - "test": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "Identifier", - "name": "x", - "range": [ - 58, - 59 - ], - "loc": { - "start": { - "line": 6, - "column": 9 - }, - "end": { - "line": 6, - "column": 10 - } - } - }, - "right": { - "type": "Identifier", - "name": "y", - "range": [ - 63, - 64 - ], - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 15 - } - } - }, - "range": [ - 58, - 64 - ], - "loc": { - "start": { - "line": 6, - "column": 9 - }, - "end": { - "line": 6, - "column": 15 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "%", - "left": { - "type": "Identifier", - "name": "x", - "range": [ - 76, - 77 - ], - "loc": { - "start": { - "line": 7, - "column": 7 - }, - "end": { - "line": 7, - "column": 8 - } - } - }, - "right": { - "type": "Identifier", - "name": "y", - "range": [ - 80, - 81 - ], - "loc": { - "start": { - "line": 7, - "column": 11 - }, - "end": { - "line": 7, - "column": 12 - } - } - }, - "range": [ - 76, - 81 - ], - "loc": { - "start": { - "line": 7, - "column": 7 - }, - "end": { - "line": 7, - "column": 12 - } - } - }, - "consequent": { - "type": "BreakStatement", - "label": null, - "range": [ - 84, - 91 - ], - "loc": { - "start": { - "line": 7, - "column": 15 - }, - "end": { - "line": 7, - "column": 22 - } - } - }, - "alternate": null, - "range": [ - 71, - 91 - ], - "loc": { - "start": { - "line": 7, - "column": 2 - }, - "end": { - "line": 7, - "column": 22 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "/=", - "left": { - "type": "Identifier", - "name": "x", - "range": [ - 94, - 95 - ], - "loc": { - "start": { - "line": 8, - "column": 2 - }, - "end": { - "line": 8, - "column": 3 - } - } - }, - "right": { - "type": "Identifier", - "name": "y", - "range": [ - 99, - 100 - ], - "loc": { - "start": { - "line": 8, - "column": 7 - }, - "end": { - "line": 8, - "column": 8 - } - } - }, - "range": [ - 94, - 100 - ], - "loc": { - "start": { - "line": 8, - "column": 2 - }, - "end": { - "line": 8, - "column": 8 - } - } - }, - "range": [ - 94, - 102 - ], - "loc": { - "start": { - "line": 8, - "column": 2 - }, - "end": { - "line": 8, - "column": 10 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "z", - "range": [ - 107, - 108 - ], - "loc": { - "start": { - "line": 9, - "column": 4 - }, - "end": { - "line": 9, - "column": 5 - } - } - }, - "prefix": true, - "range": [ - 105, - 108 - ], - "loc": { - "start": { - "line": 9, - "column": 2 - }, - "end": { - "line": 9, - "column": 5 - } - } - }, - "range": [ - 105, - 110 - ], - "loc": { - "start": { - "line": 9, - "column": 2 - }, - "end": { - "line": 9, - "column": 7 - } - } - } - ], - "range": [ - 67, - 113 - ], - "loc": { - "start": { - "line": 6, - "column": 18 - }, - "end": { - "line": 10, - "column": 2 - } - } - }, - "range": [ - 50, - 113 - ], - "loc": { - "start": { - "line": 6, - "column": 1 - }, - "end": { - "line": 10, - "column": 2 - } - } - }, - { - "type": "ReturnStatement", - "argument": { - "type": "ArrayExpression", - "elements": [ - { - "type": "Identifier", - "name": "z", - "range": [ - 125, - 126 - ], - "loc": { - "start": { - "line": 12, - "column": 10 - }, - "end": { - "line": 12, - "column": 11 - } - } - }, - { - "type": "Identifier", - "name": "x", - "range": [ - 129, - 130 - ], - "loc": { - "start": { - "line": 12, - "column": 14 - }, - "end": { - "line": 12, - "column": 15 - } - } - } - ], - "range": [ - 123, - 132 - ], - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 17 - } - } - }, - "range": [ - 116, - 134 - ], - "loc": { - "start": { - "line": 12, - "column": 1 - }, - "end": { - "line": 12, - "column": 19 - } - } - } - ], - "range": [ - 32, - 137 - ], - "loc": { - "start": { - "line": 2, - "column": 31 - }, - "end": { - "line": 14, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 8, - 137 - ], - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 14, - "column": 1 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 1, - 137 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 14, - "column": 1 - } - } - } - ], - "sourceType": "module", - "range": [ - 1, - 137 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 14, - "column": 1 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/convert/_reset.js.json b/ast/source/1-new/convert/_reset.js.json deleted file mode 100644 index 06ffc68..0000000 --- a/ast/source/1-new/convert/_reset.js.json +++ /dev/null @@ -1,372 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ImportDeclaration", - "specifiers": [ - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_fill", - "range": [ - 9, - 14 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_fill", - "range": [ - 9, - 14 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - "range": [ - 9, - 14 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - } - } - ], - "source": { - "type": "Literal", - "value": ".", - "raw": "'.'", - "range": [ - 22, - 25 - ], - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 25 - } - } - }, - "range": [ - 0, - 27 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 27 - } - } - }, - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "_reset", - "range": [ - 45, - 51 - ], - "loc": { - "start": { - "line": 3, - "column": 16 - }, - "end": { - "line": 3, - "column": 22 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 54, - 55 - ], - "loc": { - "start": { - "line": 3, - "column": 25 - }, - "end": { - "line": 3, - "column": 26 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 58, - 60 - ], - "loc": { - "start": { - "line": 3, - "column": 29 - }, - "end": { - "line": 3, - "column": 31 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 63, - 65 - ], - "loc": { - "start": { - "line": 3, - "column": 34 - }, - "end": { - "line": 3, - "column": 36 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_fill", - "range": [ - 72, - 77 - ], - "loc": { - "start": { - "line": 5, - "column": 1 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 79, - 80 - ], - "loc": { - "start": { - "line": 5, - "column": 8 - }, - "end": { - "line": 5, - "column": 9 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 83, - 85 - ], - "loc": { - "start": { - "line": 5, - "column": 12 - }, - "end": { - "line": 5, - "column": 14 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 88, - 90 - ], - "loc": { - "start": { - "line": 5, - "column": 17 - }, - "end": { - "line": 5, - "column": 19 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 93, - 94 - ], - "loc": { - "start": { - "line": 5, - "column": 22 - }, - "end": { - "line": 5, - "column": 23 - } - } - } - ], - "range": [ - 72, - 96 - ], - "loc": { - "start": { - "line": 5, - "column": 1 - }, - "end": { - "line": 5, - "column": 25 - } - } - }, - "range": [ - 72, - 98 - ], - "loc": { - "start": { - "line": 5, - "column": 1 - }, - "end": { - "line": 5, - "column": 27 - } - } - } - ], - "range": [ - 68, - 101 - ], - "loc": { - "start": { - "line": 3, - "column": 39 - }, - "end": { - "line": 7, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 36, - 101 - ], - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 7, - "column": 1 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 29, - 101 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 7, - "column": 1 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 101 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 7, - "column": 1 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/convert/_to_string.js.json b/ast/source/1-new/convert/_to_string.js.json deleted file mode 100644 index 56902cc..0000000 --- a/ast/source/1-new/convert/_to_string.js.json +++ /dev/null @@ -1,863 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ImportDeclaration", - "specifiers": [ - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_chr", - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_chr", - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - }, - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - } - ], - "source": { - "type": "Literal", - "value": ".", - "raw": "'.'", - "range": [ - 21, - 24 - ], - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - "range": [ - 0, - 26 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 26 - } - } - }, - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "_to_string", - "range": [ - 44, - 54 - ], - "loc": { - "start": { - "line": 3, - "column": 16 - }, - "end": { - "line": 3, - "column": 26 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "b", - "range": [ - 57, - 58 - ], - "loc": { - "start": { - "line": 3, - "column": 29 - }, - "end": { - "line": 3, - "column": 30 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "n", - "range": [ - 71, - 72 - ], - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 8 - } - } - }, - "init": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 75, - 76 - ], - "loc": { - "start": { - "line": 5, - "column": 11 - }, - "end": { - "line": 5, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "name": "length", - "range": [ - 77, - 83 - ], - "loc": { - "start": { - "line": 5, - "column": 13 - }, - "end": { - "line": 5, - "column": 19 - } - } - }, - "range": [ - 75, - 83 - ], - "loc": { - "start": { - "line": 5, - "column": 11 - }, - "end": { - "line": 5, - "column": 19 - } - } - }, - "range": [ - 71, - 83 - ], - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 19 - } - } - } - ], - "kind": "const", - "range": [ - 65, - 85 - ], - "loc": { - "start": { - "line": 5, - "column": 1 - }, - "end": { - "line": 5, - "column": 21 - } - } - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "data", - "range": [ - 94, - 98 - ], - "loc": { - "start": { - "line": 7, - "column": 7 - }, - "end": { - "line": 7, - "column": 11 - } - } - }, - "init": { - "type": "ArrayExpression", - "elements": [], - "range": [ - 101, - 104 - ], - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 17 - } - } - }, - "range": [ - 94, - 104 - ], - "loc": { - "start": { - "line": 7, - "column": 7 - }, - "end": { - "line": 7, - "column": 17 - } - } - } - ], - "kind": "const", - "range": [ - 88, - 106 - ], - "loc": { - "start": { - "line": 7, - "column": 1 - }, - "end": { - "line": 7, - "column": 19 - } - } - }, - { - "type": "ForStatement", - "init": { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "k", - "range": [ - 119, - 120 - ], - "loc": { - "start": { - "line": 9, - "column": 11 - }, - "end": { - "line": 9, - "column": 12 - } - } - }, - "init": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 123, - 124 - ], - "loc": { - "start": { - "line": 9, - "column": 15 - }, - "end": { - "line": 9, - "column": 16 - } - } - }, - "range": [ - 119, - 124 - ], - "loc": { - "start": { - "line": 9, - "column": 11 - }, - "end": { - "line": 9, - "column": 16 - } - } - } - ], - "kind": "let", - "range": [ - 115, - 124 - ], - "loc": { - "start": { - "line": 9, - "column": 7 - }, - "end": { - "line": 9, - "column": 16 - } - } - }, - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "k", - "range": [ - 127, - 128 - ], - "loc": { - "start": { - "line": 9, - "column": 19 - }, - "end": { - "line": 9, - "column": 20 - } - } - }, - "right": { - "type": "Identifier", - "name": "n", - "range": [ - 131, - 132 - ], - "loc": { - "start": { - "line": 9, - "column": 23 - }, - "end": { - "line": 9, - "column": 24 - } - } - }, - "range": [ - 127, - 132 - ], - "loc": { - "start": { - "line": 9, - "column": 19 - }, - "end": { - "line": 9, - "column": 24 - } - } - }, - "update": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "k", - "range": [ - 137, - 138 - ], - "loc": { - "start": { - "line": 9, - "column": 29 - }, - "end": { - "line": 9, - "column": 30 - } - } - }, - "prefix": true, - "range": [ - 135, - 138 - ], - "loc": { - "start": { - "line": 9, - "column": 27 - }, - "end": { - "line": 9, - "column": 30 - } - } - }, - "body": { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "data", - "range": [ - 141, - 145 - ], - "loc": { - "start": { - "line": 9, - "column": 33 - }, - "end": { - "line": 9, - "column": 37 - } - } - }, - "property": { - "type": "Identifier", - "name": "push", - "range": [ - 146, - 150 - ], - "loc": { - "start": { - "line": 9, - "column": 38 - }, - "end": { - "line": 9, - "column": 42 - } - } - }, - "range": [ - 141, - 150 - ], - "loc": { - "start": { - "line": 9, - "column": 33 - }, - "end": { - "line": 9, - "column": 42 - } - } - }, - "arguments": [ - { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_chr", - "range": [ - 152, - 156 - ], - "loc": { - "start": { - "line": 9, - "column": 44 - }, - "end": { - "line": 9, - "column": 48 - } - } - }, - "arguments": [ - { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 158, - 159 - ], - "loc": { - "start": { - "line": 9, - "column": 50 - }, - "end": { - "line": 9, - "column": 51 - } - } - }, - "property": { - "type": "Identifier", - "name": "k", - "range": [ - 160, - 161 - ], - "loc": { - "start": { - "line": 9, - "column": 52 - }, - "end": { - "line": 9, - "column": 53 - } - } - }, - "range": [ - 158, - 162 - ], - "loc": { - "start": { - "line": 9, - "column": 50 - }, - "end": { - "line": 9, - "column": 54 - } - } - } - ], - "range": [ - 152, - 164 - ], - "loc": { - "start": { - "line": 9, - "column": 44 - }, - "end": { - "line": 9, - "column": 56 - } - } - } - ], - "range": [ - 141, - 166 - ], - "loc": { - "start": { - "line": 9, - "column": 33 - }, - "end": { - "line": 9, - "column": 58 - } - } - }, - "range": [ - 141, - 168 - ], - "loc": { - "start": { - "line": 9, - "column": 33 - }, - "end": { - "line": 9, - "column": 60 - } - } - }, - "range": [ - 109, - 168 - ], - "loc": { - "start": { - "line": 9, - "column": 1 - }, - "end": { - "line": 9, - "column": 60 - } - } - }, - { - "type": "ReturnStatement", - "argument": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "data", - "range": [ - 178, - 182 - ], - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "name": "join", - "range": [ - 183, - 187 - ], - "loc": { - "start": { - "line": 11, - "column": 13 - }, - "end": { - "line": 11, - "column": 17 - } - } - }, - "range": [ - 178, - 187 - ], - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 17 - } - } - }, - "arguments": [ - { - "type": "Literal", - "value": "", - "raw": "''", - "range": [ - 189, - 191 - ], - "loc": { - "start": { - "line": 11, - "column": 19 - }, - "end": { - "line": 11, - "column": 21 - } - } - } - ], - "range": [ - 178, - 193 - ], - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 23 - } - } - }, - "range": [ - 171, - 195 - ], - "loc": { - "start": { - "line": 11, - "column": 1 - }, - "end": { - "line": 11, - "column": 25 - } - } - } - ], - "range": [ - 61, - 198 - ], - "loc": { - "start": { - "line": 3, - "column": 33 - }, - "end": { - "line": 13, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 35, - 198 - ], - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 13, - "column": 1 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 28, - 198 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 13, - "column": 1 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 198 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 13, - "column": 1 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/convert/_trim_positive.js.json b/ast/source/1-new/convert/_trim_positive.js.json deleted file mode 100644 index d6f9b03..0000000 --- a/ast/source/1-new/convert/_trim_positive.js.json +++ /dev/null @@ -1,423 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "_trim_positive", - "range": [ - 17, - 31 - ], - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 34, - 35 - ], - "loc": { - "start": { - "line": 2, - "column": 33 - }, - "end": { - "line": 2, - "column": 34 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 38, - 40 - ], - "loc": { - "start": { - "line": 2, - "column": 37 - }, - "end": { - "line": 2, - "column": 39 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 43, - 45 - ], - "loc": { - "start": { - "line": 2, - "column": 42 - }, - "end": { - "line": 2, - "column": 44 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "WhileStatement", - "test": { - "type": "LogicalExpression", - "operator": "&&", - "left": { - "type": "BinaryExpression", - "operator": "===", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 60, - 61 - ], - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "name": "ai", - "range": [ - 62, - 64 - ], - "loc": { - "start": { - "line": 4, - "column": 11 - }, - "end": { - "line": 4, - "column": 13 - } - } - }, - "range": [ - 60, - 65 - ], - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 14 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 70, - 71 - ], - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 4, - "column": 20 - } - } - }, - "range": [ - 60, - 71 - ], - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 20 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "ai", - "range": [ - 75, - 77 - ], - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 4, - "column": 26 - } - } - }, - "right": { - "type": "Identifier", - "name": "aj", - "range": [ - 80, - 82 - ], - "loc": { - "start": { - "line": 4, - "column": 29 - }, - "end": { - "line": 4, - "column": 31 - } - } - }, - "range": [ - 75, - 82 - ], - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 4, - "column": 31 - } - } - }, - "range": [ - 60, - 82 - ], - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 31 - } - } - }, - "body": { - "type": "ExpressionStatement", - "expression": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "ai", - "range": [ - 87, - 89 - ], - "loc": { - "start": { - "line": 4, - "column": 36 - }, - "end": { - "line": 4, - "column": 38 - } - } - }, - "prefix": true, - "range": [ - 85, - 89 - ], - "loc": { - "start": { - "line": 4, - "column": 34 - }, - "end": { - "line": 4, - "column": 38 - } - } - }, - "range": [ - 85, - 91 - ], - "loc": { - "start": { - "line": 4, - "column": 34 - }, - "end": { - "line": 4, - "column": 40 - } - } - }, - "range": [ - 52, - 91 - ], - "loc": { - "start": { - "line": 4, - "column": 1 - }, - "end": { - "line": 4, - "column": 40 - } - } - }, - { - "type": "ReturnStatement", - "argument": { - "type": "Identifier", - "name": "ai", - "range": [ - 101, - 103 - ], - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 10 - } - } - }, - "range": [ - 94, - 105 - ], - "loc": { - "start": { - "line": 6, - "column": 1 - }, - "end": { - "line": 6, - "column": 12 - } - } - } - ], - "range": [ - 48, - 108 - ], - "loc": { - "start": { - "line": 2, - "column": 47 - }, - "end": { - "line": 8, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 8, - 108 - ], - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 8, - "column": 1 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 1, - 108 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 8, - "column": 1 - } - } - } - ], - "sourceType": "module", - "range": [ - 1, - 108 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 8, - "column": 1 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/convert/_zeros.js.json b/ast/source/1-new/convert/_zeros.js.json deleted file mode 100644 index a774171..0000000 --- a/ast/source/1-new/convert/_zeros.js.json +++ /dev/null @@ -1,516 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ImportDeclaration", - "specifiers": [ - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_alloc", - "range": [ - 9, - 15 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_alloc", - "range": [ - 9, - 15 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - } - } - }, - "range": [ - 9, - 15 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - } - } - }, - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_reset", - "range": [ - 18, - 24 - ], - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_reset", - "range": [ - 18, - 24 - ], - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - "range": [ - 18, - 24 - ], - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 24 - } - } - } - ], - "source": { - "type": "Literal", - "value": ".", - "raw": "'.'", - "range": [ - 32, - 35 - ], - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 35 - } - } - }, - "range": [ - 0, - 37 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 37 - } - } - }, - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "_zeros", - "range": [ - 55, - 61 - ], - "loc": { - "start": { - "line": 3, - "column": 16 - }, - "end": { - "line": 3, - "column": 22 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "n", - "range": [ - 64, - 65 - ], - "loc": { - "start": { - "line": 3, - "column": 25 - }, - "end": { - "line": 3, - "column": 26 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "a", - "range": [ - 78, - 79 - ], - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 8 - } - } - }, - "init": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_alloc", - "range": [ - 82, - 88 - ], - "loc": { - "start": { - "line": 5, - "column": 11 - }, - "end": { - "line": 5, - "column": 17 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "n", - "range": [ - 90, - 91 - ], - "loc": { - "start": { - "line": 5, - "column": 19 - }, - "end": { - "line": 5, - "column": 20 - } - } - } - ], - "range": [ - 82, - 93 - ], - "loc": { - "start": { - "line": 5, - "column": 11 - }, - "end": { - "line": 5, - "column": 22 - } - } - }, - "range": [ - 78, - 93 - ], - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 22 - } - } - } - ], - "kind": "const", - "range": [ - 72, - 95 - ], - "loc": { - "start": { - "line": 5, - "column": 1 - }, - "end": { - "line": 5, - "column": 24 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_reset", - "range": [ - 98, - 104 - ], - "loc": { - "start": { - "line": 7, - "column": 1 - }, - "end": { - "line": 7, - "column": 7 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 106, - 107 - ], - "loc": { - "start": { - "line": 7, - "column": 9 - }, - "end": { - "line": 7, - "column": 10 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 110, - 111 - ], - "loc": { - "start": { - "line": 7, - "column": 13 - }, - "end": { - "line": 7, - "column": 14 - } - } - }, - { - "type": "Identifier", - "name": "n", - "range": [ - 114, - 115 - ], - "loc": { - "start": { - "line": 7, - "column": 17 - }, - "end": { - "line": 7, - "column": 18 - } - } - } - ], - "range": [ - 98, - 117 - ], - "loc": { - "start": { - "line": 7, - "column": 1 - }, - "end": { - "line": 7, - "column": 20 - } - } - }, - "range": [ - 98, - 119 - ], - "loc": { - "start": { - "line": 7, - "column": 1 - }, - "end": { - "line": 7, - "column": 22 - } - } - }, - { - "type": "ReturnStatement", - "argument": { - "type": "Identifier", - "name": "a", - "range": [ - 129, - 130 - ], - "loc": { - "start": { - "line": 9, - "column": 8 - }, - "end": { - "line": 9, - "column": 9 - } - } - }, - "range": [ - 122, - 132 - ], - "loc": { - "start": { - "line": 9, - "column": 1 - }, - "end": { - "line": 9, - "column": 11 - } - } - } - ], - "range": [ - 68, - 135 - ], - "loc": { - "start": { - "line": 3, - "column": 29 - }, - "end": { - "line": 11, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 46, - 135 - ], - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 11, - "column": 1 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 39, - 135 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 11, - "column": 1 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 135 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 11, - "column": 1 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/convert/convert.js.json b/ast/source/1-new/convert/convert.js.json deleted file mode 100644 index 73bd4b1..0000000 --- a/ast/source/1-new/convert/convert.js.json +++ /dev/null @@ -1,661 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ImportDeclaration", - "specifiers": [ - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "convert_keep_zeros", - "range": [ - 9, - 27 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 27 - } - } - }, - "imported": { - "type": "Identifier", - "name": "convert_keep_zeros", - "range": [ - 9, - 27 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 27 - } - } - }, - "range": [ - 9, - 27 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 27 - } - } - }, - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "trim_natural", - "range": [ - 30, - 42 - ], - "loc": { - "start": { - "line": 1, - "column": 30 - }, - "end": { - "line": 1, - "column": 42 - } - } - }, - "imported": { - "type": "Identifier", - "name": "trim_natural", - "range": [ - 30, - 42 - ], - "loc": { - "start": { - "line": 1, - "column": 30 - }, - "end": { - "line": 1, - "column": 42 - } - } - }, - "range": [ - 30, - 42 - ], - "loc": { - "start": { - "line": 1, - "column": 30 - }, - "end": { - "line": 1, - "column": 42 - } - } - } - ], - "source": { - "type": "Literal", - "value": ".", - "raw": "'.'", - "range": [ - 50, - 53 - ], - "loc": { - "start": { - "line": 1, - "column": 50 - }, - "end": { - "line": 1, - "column": 53 - } - } - }, - "range": [ - 0, - 55 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 55 - } - } - }, - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "convert", - "range": [ - 73, - 80 - ], - "loc": { - "start": { - "line": 3, - "column": 16 - }, - "end": { - "line": 3, - "column": 23 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "f", - "range": [ - 83, - 84 - ], - "loc": { - "start": { - "line": 3, - "column": 26 - }, - "end": { - "line": 3, - "column": 27 - } - } - }, - { - "type": "Identifier", - "name": "t", - "range": [ - 87, - 88 - ], - "loc": { - "start": { - "line": 3, - "column": 30 - }, - "end": { - "line": 3, - "column": 31 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 91, - 92 - ], - "loc": { - "start": { - "line": 3, - "column": 34 - }, - "end": { - "line": 3, - "column": 35 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 95, - 97 - ], - "loc": { - "start": { - "line": 3, - "column": 38 - }, - "end": { - "line": 3, - "column": 40 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 100, - 102 - ], - "loc": { - "start": { - "line": 3, - "column": 43 - }, - "end": { - "line": 3, - "column": 45 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "b", - "range": [ - 115, - 116 - ], - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 8 - } - } - }, - "init": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "convert_keep_zeros", - "range": [ - 119, - 137 - ], - "loc": { - "start": { - "line": 5, - "column": 11 - }, - "end": { - "line": 5, - "column": 29 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "f", - "range": [ - 139, - 140 - ], - "loc": { - "start": { - "line": 5, - "column": 31 - }, - "end": { - "line": 5, - "column": 32 - } - } - }, - { - "type": "Identifier", - "name": "t", - "range": [ - 143, - 144 - ], - "loc": { - "start": { - "line": 5, - "column": 35 - }, - "end": { - "line": 5, - "column": 36 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 147, - 148 - ], - "loc": { - "start": { - "line": 5, - "column": 39 - }, - "end": { - "line": 5, - "column": 40 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 151, - 153 - ], - "loc": { - "start": { - "line": 5, - "column": 43 - }, - "end": { - "line": 5, - "column": 45 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 156, - 158 - ], - "loc": { - "start": { - "line": 5, - "column": 48 - }, - "end": { - "line": 5, - "column": 50 - } - } - } - ], - "range": [ - 119, - 160 - ], - "loc": { - "start": { - "line": 5, - "column": 11 - }, - "end": { - "line": 5, - "column": 52 - } - } - }, - "range": [ - 115, - 160 - ], - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 52 - } - } - } - ], - "kind": "const", - "range": [ - 109, - 162 - ], - "loc": { - "start": { - "line": 5, - "column": 1 - }, - "end": { - "line": 5, - "column": 54 - } - } - }, - { - "type": "ReturnStatement", - "argument": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "trim_natural", - "range": [ - 172, - 184 - ], - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 7, - "column": 20 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "b", - "range": [ - 186, - 187 - ], - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 7, - "column": 23 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 190, - 191 - ], - "loc": { - "start": { - "line": 7, - "column": 26 - }, - "end": { - "line": 7, - "column": 27 - } - } - }, - { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 194, - 195 - ], - "loc": { - "start": { - "line": 7, - "column": 30 - }, - "end": { - "line": 7, - "column": 31 - } - } - }, - "property": { - "type": "Identifier", - "name": "length", - "range": [ - 196, - 202 - ], - "loc": { - "start": { - "line": 7, - "column": 32 - }, - "end": { - "line": 7, - "column": 38 - } - } - }, - "range": [ - 194, - 202 - ], - "loc": { - "start": { - "line": 7, - "column": 30 - }, - "end": { - "line": 7, - "column": 38 - } - } - } - ], - "range": [ - 172, - 204 - ], - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 7, - "column": 40 - } - } - }, - "range": [ - 165, - 206 - ], - "loc": { - "start": { - "line": 7, - "column": 1 - }, - "end": { - "line": 7, - "column": 42 - } - } - } - ], - "range": [ - 105, - 209 - ], - "loc": { - "start": { - "line": 3, - "column": 48 - }, - "end": { - "line": 9, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 64, - 209 - ], - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 9, - "column": 1 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 57, - 209 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 9, - "column": 1 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 209 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 9, - "column": 1 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/convert/convert_keep_zeros.js.json b/ast/source/1-new/convert/convert_keep_zeros.js.json deleted file mode 100644 index 80608dc..0000000 --- a/ast/source/1-new/convert/convert_keep_zeros.js.json +++ /dev/null @@ -1,1187 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ImportDeclaration", - "specifiers": [ - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_zeros", - "range": [ - 9, - 15 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_zeros", - "range": [ - 9, - 15 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - } - } - }, - "range": [ - 9, - 15 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - } - } - }, - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_convert", - "range": [ - 18, - 26 - ], - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 26 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_convert", - "range": [ - 18, - 26 - ], - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 26 - } - } - }, - "range": [ - 18, - 26 - ], - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 26 - } - } - } - ], - "source": { - "type": "Literal", - "value": ".", - "raw": "'.'", - "range": [ - 34, - 37 - ], - "loc": { - "start": { - "line": 1, - "column": 34 - }, - "end": { - "line": 1, - "column": 37 - } - } - }, - "range": [ - 0, - 39 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 39 - } - } - }, - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "convert_keep_zeros", - "range": [ - 57, - 75 - ], - "loc": { - "start": { - "line": 3, - "column": 16 - }, - "end": { - "line": 3, - "column": 34 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "f", - "range": [ - 78, - 79 - ], - "loc": { - "start": { - "line": 3, - "column": 37 - }, - "end": { - "line": 3, - "column": 38 - } - } - }, - { - "type": "Identifier", - "name": "t", - "range": [ - 82, - 83 - ], - "loc": { - "start": { - "line": 3, - "column": 41 - }, - "end": { - "line": 3, - "column": 42 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 86, - 87 - ], - "loc": { - "start": { - "line": 3, - "column": 45 - }, - "end": { - "line": 3, - "column": 46 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 90, - 92 - ], - "loc": { - "start": { - "line": 3, - "column": 49 - }, - "end": { - "line": 3, - "column": 51 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 95, - 97 - ], - "loc": { - "start": { - "line": 3, - "column": 54 - }, - "end": { - "line": 3, - "column": 56 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "bi", - "range": [ - 110, - 112 - ], - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 9 - } - } - }, - "init": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 115, - 116 - ], - "loc": { - "start": { - "line": 5, - "column": 12 - }, - "end": { - "line": 5, - "column": 13 - } - } - }, - "range": [ - 110, - 116 - ], - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 13 - } - } - } - ], - "kind": "const", - "range": [ - 104, - 118 - ], - "loc": { - "start": { - "line": 5, - "column": 1 - }, - "end": { - "line": 5, - "column": 15 - } - } - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "bj", - "range": [ - 126, - 128 - ], - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 9 - } - } - }, - "init": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "Math", - "range": [ - 131, - 135 - ], - "loc": { - "start": { - "line": 6, - "column": 12 - }, - "end": { - "line": 6, - "column": 16 - } - } - }, - "property": { - "type": "Identifier", - "name": "ceil", - "range": [ - 136, - 140 - ], - "loc": { - "start": { - "line": 6, - "column": 17 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - "range": [ - 131, - 140 - ], - "loc": { - "start": { - "line": 6, - "column": 12 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - "arguments": [ - { - "type": "BinaryExpression", - "operator": "*", - "left": { - "type": "BinaryExpression", - "operator": "/", - "left": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "Math", - "range": [ - 142, - 146 - ], - "loc": { - "start": { - "line": 6, - "column": 23 - }, - "end": { - "line": 6, - "column": 27 - } - } - }, - "property": { - "type": "Identifier", - "name": "log", - "range": [ - 147, - 150 - ], - "loc": { - "start": { - "line": 6, - "column": 28 - }, - "end": { - "line": 6, - "column": 31 - } - } - }, - "range": [ - 142, - 150 - ], - "loc": { - "start": { - "line": 6, - "column": 23 - }, - "end": { - "line": 6, - "column": 31 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "f", - "range": [ - 152, - 153 - ], - "loc": { - "start": { - "line": 6, - "column": 33 - }, - "end": { - "line": 6, - "column": 34 - } - } - } - ], - "range": [ - 142, - 155 - ], - "loc": { - "start": { - "line": 6, - "column": 23 - }, - "end": { - "line": 6, - "column": 36 - } - } - }, - "right": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "Math", - "range": [ - 158, - 162 - ], - "loc": { - "start": { - "line": 6, - "column": 39 - }, - "end": { - "line": 6, - "column": 43 - } - } - }, - "property": { - "type": "Identifier", - "name": "log", - "range": [ - 163, - 166 - ], - "loc": { - "start": { - "line": 6, - "column": 44 - }, - "end": { - "line": 6, - "column": 47 - } - } - }, - "range": [ - 158, - 166 - ], - "loc": { - "start": { - "line": 6, - "column": 39 - }, - "end": { - "line": 6, - "column": 47 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "t", - "range": [ - 168, - 169 - ], - "loc": { - "start": { - "line": 6, - "column": 49 - }, - "end": { - "line": 6, - "column": 50 - } - } - } - ], - "range": [ - 158, - 171 - ], - "loc": { - "start": { - "line": 6, - "column": 39 - }, - "end": { - "line": 6, - "column": 52 - } - } - }, - "range": [ - 142, - 171 - ], - "loc": { - "start": { - "line": 6, - "column": 23 - }, - "end": { - "line": 6, - "column": 52 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "aj", - "range": [ - 176, - 178 - ], - "loc": { - "start": { - "line": 6, - "column": 57 - }, - "end": { - "line": 6, - "column": 59 - } - } - }, - "right": { - "type": "Identifier", - "name": "ai", - "range": [ - 181, - 183 - ], - "loc": { - "start": { - "line": 6, - "column": 62 - }, - "end": { - "line": 6, - "column": 64 - } - } - }, - "range": [ - 176, - 183 - ], - "loc": { - "start": { - "line": 6, - "column": 57 - }, - "end": { - "line": 6, - "column": 64 - } - } - }, - "range": [ - 142, - 185 - ], - "loc": { - "start": { - "line": 6, - "column": 23 - }, - "end": { - "line": 6, - "column": 66 - } - } - } - ], - "range": [ - 131, - 187 - ], - "loc": { - "start": { - "line": 6, - "column": 12 - }, - "end": { - "line": 6, - "column": 68 - } - } - }, - "range": [ - 126, - 187 - ], - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 68 - } - } - } - ], - "kind": "const", - "range": [ - 120, - 189 - ], - "loc": { - "start": { - "line": 6, - "column": 1 - }, - "end": { - "line": 6, - "column": 70 - } - } - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "b", - "range": [ - 197, - 198 - ], - "loc": { - "start": { - "line": 7, - "column": 7 - }, - "end": { - "line": 7, - "column": 8 - } - } - }, - "init": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_zeros", - "range": [ - 201, - 207 - ], - "loc": { - "start": { - "line": 7, - "column": 11 - }, - "end": { - "line": 7, - "column": 17 - } - } - }, - "arguments": [ - { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "bj", - "range": [ - 209, - 211 - ], - "loc": { - "start": { - "line": 7, - "column": 19 - }, - "end": { - "line": 7, - "column": 21 - } - } - }, - "right": { - "type": "Identifier", - "name": "bi", - "range": [ - 214, - 216 - ], - "loc": { - "start": { - "line": 7, - "column": 24 - }, - "end": { - "line": 7, - "column": 26 - } - } - }, - "range": [ - 209, - 216 - ], - "loc": { - "start": { - "line": 7, - "column": 19 - }, - "end": { - "line": 7, - "column": 26 - } - } - } - ], - "range": [ - 201, - 218 - ], - "loc": { - "start": { - "line": 7, - "column": 11 - }, - "end": { - "line": 7, - "column": 28 - } - } - }, - "range": [ - 197, - 218 - ], - "loc": { - "start": { - "line": 7, - "column": 7 - }, - "end": { - "line": 7, - "column": 28 - } - } - } - ], - "kind": "const", - "range": [ - 191, - 220 - ], - "loc": { - "start": { - "line": 7, - "column": 1 - }, - "end": { - "line": 7, - "column": 30 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_convert", - "range": [ - 223, - 231 - ], - "loc": { - "start": { - "line": 9, - "column": 1 - }, - "end": { - "line": 9, - "column": 9 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "f", - "range": [ - 233, - 234 - ], - "loc": { - "start": { - "line": 9, - "column": 11 - }, - "end": { - "line": 9, - "column": 12 - } - } - }, - { - "type": "Identifier", - "name": "t", - "range": [ - 237, - 238 - ], - "loc": { - "start": { - "line": 9, - "column": 15 - }, - "end": { - "line": 9, - "column": 16 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 241, - 242 - ], - "loc": { - "start": { - "line": 9, - "column": 19 - }, - "end": { - "line": 9, - "column": 20 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 245, - 247 - ], - "loc": { - "start": { - "line": 9, - "column": 23 - }, - "end": { - "line": 9, - "column": 25 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 250, - 252 - ], - "loc": { - "start": { - "line": 9, - "column": 28 - }, - "end": { - "line": 9, - "column": 30 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 255, - 256 - ], - "loc": { - "start": { - "line": 9, - "column": 33 - }, - "end": { - "line": 9, - "column": 34 - } - } - }, - { - "type": "Identifier", - "name": "bi", - "range": [ - 259, - 261 - ], - "loc": { - "start": { - "line": 9, - "column": 37 - }, - "end": { - "line": 9, - "column": 39 - } - } - }, - { - "type": "Identifier", - "name": "bj", - "range": [ - 264, - 266 - ], - "loc": { - "start": { - "line": 9, - "column": 42 - }, - "end": { - "line": 9, - "column": 44 - } - } - } - ], - "range": [ - 223, - 268 - ], - "loc": { - "start": { - "line": 9, - "column": 1 - }, - "end": { - "line": 9, - "column": 46 - } - } - }, - "range": [ - 223, - 270 - ], - "loc": { - "start": { - "line": 9, - "column": 1 - }, - "end": { - "line": 9, - "column": 48 - } - } - }, - { - "type": "ReturnStatement", - "argument": { - "type": "Identifier", - "name": "b", - "range": [ - 280, - 281 - ], - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 9 - } - } - }, - "range": [ - 273, - 283 - ], - "loc": { - "start": { - "line": 11, - "column": 1 - }, - "end": { - "line": 11, - "column": 11 - } - } - } - ], - "range": [ - 100, - 286 - ], - "loc": { - "start": { - "line": 3, - "column": 59 - }, - "end": { - "line": 13, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 48, - 286 - ], - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 13, - "column": 1 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 41, - 286 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 13, - "column": 1 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 286 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 13, - "column": 1 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/convert/index.js.json b/ast/source/1-new/convert/index.js.json deleted file mode 100644 index febe077..0000000 --- a/ast/source/1-new/convert/index.js.json +++ /dev/null @@ -1,885 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./_alloc", - "raw": "'./_alloc'", - "range": [ - 14, - 24 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - "range": [ - 0, - 26 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 26 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./_build", - "raw": "'./_build'", - "range": [ - 41, - 51 - ], - "loc": { - "start": { - "line": 2, - "column": 14 - }, - "end": { - "line": 2, - "column": 24 - } - } - }, - "range": [ - 27, - 53 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 26 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./_chr", - "raw": "'./_chr'", - "range": [ - 68, - 76 - ], - "loc": { - "start": { - "line": 3, - "column": 14 - }, - "end": { - "line": 3, - "column": 22 - } - } - }, - "range": [ - 54, - 78 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 24 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./_convert", - "raw": "'./_convert'", - "range": [ - 93, - 105 - ], - "loc": { - "start": { - "line": 4, - "column": 14 - }, - "end": { - "line": 4, - "column": 26 - } - } - }, - "range": [ - 79, - 107 - ], - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 28 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./_convert_slow", - "raw": "'./_convert_slow'", - "range": [ - 122, - 139 - ], - "loc": { - "start": { - "line": 5, - "column": 14 - }, - "end": { - "line": 5, - "column": 31 - } - } - }, - "range": [ - 108, - 141 - ], - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 33 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./_convert_to_larger", - "raw": "'./_convert_to_larger'", - "range": [ - 156, - 178 - ], - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 36 - } - } - }, - "range": [ - 142, - 180 - ], - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 6, - "column": 38 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./_convert_to_larger_fast", - "raw": "'./_convert_to_larger_fast'", - "range": [ - 195, - 222 - ], - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 41 - } - } - }, - "range": [ - 181, - 224 - ], - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 43 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./_convert_to_smaller", - "raw": "'./_convert_to_smaller'", - "range": [ - 239, - 262 - ], - "loc": { - "start": { - "line": 8, - "column": 14 - }, - "end": { - "line": 8, - "column": 37 - } - } - }, - "range": [ - 225, - 264 - ], - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 8, - "column": 39 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./_convert_to_smaller_fast", - "raw": "'./_convert_to_smaller_fast'", - "range": [ - 279, - 307 - ], - "loc": { - "start": { - "line": 9, - "column": 14 - }, - "end": { - "line": 9, - "column": 42 - } - } - }, - "range": [ - 265, - 309 - ], - "loc": { - "start": { - "line": 9, - "column": 0 - }, - "end": { - "line": 9, - "column": 44 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./_copy", - "raw": "'./_copy'", - "range": [ - 324, - 333 - ], - "loc": { - "start": { - "line": 10, - "column": 14 - }, - "end": { - "line": 10, - "column": 23 - } - } - }, - "range": [ - 310, - 335 - ], - "loc": { - "start": { - "line": 10, - "column": 0 - }, - "end": { - "line": 10, - "column": 25 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./_fill", - "raw": "'./_fill'", - "range": [ - 350, - 359 - ], - "loc": { - "start": { - "line": 11, - "column": 14 - }, - "end": { - "line": 11, - "column": 23 - } - } - }, - "range": [ - 336, - 361 - ], - "loc": { - "start": { - "line": 11, - "column": 0 - }, - "end": { - "line": 11, - "column": 25 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./_int", - "raw": "'./_int'", - "range": [ - 376, - 384 - ], - "loc": { - "start": { - "line": 12, - "column": 14 - }, - "end": { - "line": 12, - "column": 22 - } - } - }, - "range": [ - 362, - 386 - ], - "loc": { - "start": { - "line": 12, - "column": 0 - }, - "end": { - "line": 12, - "column": 24 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./_log", - "raw": "'./_log'", - "range": [ - 401, - 409 - ], - "loc": { - "start": { - "line": 13, - "column": 14 - }, - "end": { - "line": 13, - "column": 22 - } - } - }, - "range": [ - 387, - 411 - ], - "loc": { - "start": { - "line": 13, - "column": 0 - }, - "end": { - "line": 13, - "column": 24 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./_reset", - "raw": "'./_reset'", - "range": [ - 426, - 436 - ], - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 24 - } - } - }, - "range": [ - 412, - 438 - ], - "loc": { - "start": { - "line": 14, - "column": 0 - }, - "end": { - "line": 14, - "column": 26 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./_to_string", - "raw": "'./_to_string'", - "range": [ - 453, - 467 - ], - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 28 - } - } - }, - "range": [ - 439, - 469 - ], - "loc": { - "start": { - "line": 15, - "column": 0 - }, - "end": { - "line": 15, - "column": 30 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./_trim_positive", - "raw": "'./_trim_positive'", - "range": [ - 484, - 502 - ], - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 32 - } - } - }, - "range": [ - 470, - 504 - ], - "loc": { - "start": { - "line": 16, - "column": 0 - }, - "end": { - "line": 16, - "column": 34 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./_zeros", - "raw": "'./_zeros'", - "range": [ - 519, - 529 - ], - "loc": { - "start": { - "line": 17, - "column": 14 - }, - "end": { - "line": 17, - "column": 24 - } - } - }, - "range": [ - 505, - 531 - ], - "loc": { - "start": { - "line": 17, - "column": 0 - }, - "end": { - "line": 17, - "column": 26 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./convert", - "raw": "'./convert'", - "range": [ - 546, - 557 - ], - "loc": { - "start": { - "line": 18, - "column": 14 - }, - "end": { - "line": 18, - "column": 25 - } - } - }, - "range": [ - 532, - 559 - ], - "loc": { - "start": { - "line": 18, - "column": 0 - }, - "end": { - "line": 18, - "column": 27 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./convert_keep_zeros", - "raw": "'./convert_keep_zeros'", - "range": [ - 574, - 596 - ], - "loc": { - "start": { - "line": 19, - "column": 14 - }, - "end": { - "line": 19, - "column": 36 - } - } - }, - "range": [ - 560, - 598 - ], - "loc": { - "start": { - "line": 19, - "column": 0 - }, - "end": { - "line": 19, - "column": 38 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./parse", - "raw": "'./parse'", - "range": [ - 613, - 622 - ], - "loc": { - "start": { - "line": 20, - "column": 14 - }, - "end": { - "line": 20, - "column": 23 - } - } - }, - "range": [ - 599, - 624 - ], - "loc": { - "start": { - "line": 20, - "column": 0 - }, - "end": { - "line": 20, - "column": 25 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./parse_keep_zeros", - "raw": "'./parse_keep_zeros'", - "range": [ - 639, - 659 - ], - "loc": { - "start": { - "line": 21, - "column": 14 - }, - "end": { - "line": 21, - "column": 34 - } - } - }, - "range": [ - 625, - 661 - ], - "loc": { - "start": { - "line": 21, - "column": 0 - }, - "end": { - "line": 21, - "column": 36 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./stringify", - "raw": "'./stringify'", - "range": [ - 676, - 689 - ], - "loc": { - "start": { - "line": 22, - "column": 14 - }, - "end": { - "line": 22, - "column": 27 - } - } - }, - "range": [ - 662, - 691 - ], - "loc": { - "start": { - "line": 22, - "column": 0 - }, - "end": { - "line": 22, - "column": 29 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./stringify_keep_zeros", - "raw": "'./stringify_keep_zeros'", - "range": [ - 706, - 730 - ], - "loc": { - "start": { - "line": 23, - "column": 14 - }, - "end": { - "line": 23, - "column": 38 - } - } - }, - "range": [ - 692, - 732 - ], - "loc": { - "start": { - "line": 23, - "column": 0 - }, - "end": { - "line": 23, - "column": 40 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./trim_natural", - "raw": "'./trim_natural'", - "range": [ - 747, - 763 - ], - "loc": { - "start": { - "line": 24, - "column": 14 - }, - "end": { - "line": 24, - "column": 30 - } - } - }, - "range": [ - 733, - 765 - ], - "loc": { - "start": { - "line": 24, - "column": 0 - }, - "end": { - "line": 24, - "column": 32 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 765 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 24, - "column": 32 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/convert/parse.js.json b/ast/source/1-new/convert/parse.js.json deleted file mode 100644 index e973f86..0000000 --- a/ast/source/1-new/convert/parse.js.json +++ /dev/null @@ -1,589 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ImportDeclaration", - "specifiers": [ - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "parse_keep_zeros", - "range": [ - 9, - 25 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 25 - } - } - }, - "imported": { - "type": "Identifier", - "name": "parse_keep_zeros", - "range": [ - 9, - 25 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 25 - } - } - }, - "range": [ - 9, - 25 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 25 - } - } - }, - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "trim_natural", - "range": [ - 28, - 40 - ], - "loc": { - "start": { - "line": 1, - "column": 28 - }, - "end": { - "line": 1, - "column": 40 - } - } - }, - "imported": { - "type": "Identifier", - "name": "trim_natural", - "range": [ - 28, - 40 - ], - "loc": { - "start": { - "line": 1, - "column": 28 - }, - "end": { - "line": 1, - "column": 40 - } - } - }, - "range": [ - 28, - 40 - ], - "loc": { - "start": { - "line": 1, - "column": 28 - }, - "end": { - "line": 1, - "column": 40 - } - } - } - ], - "source": { - "type": "Literal", - "value": ".", - "raw": "'.'", - "range": [ - 48, - 51 - ], - "loc": { - "start": { - "line": 1, - "column": 48 - }, - "end": { - "line": 1, - "column": 51 - } - } - }, - "range": [ - 0, - 53 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 53 - } - } - }, - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "parse", - "range": [ - 71, - 76 - ], - "loc": { - "start": { - "line": 3, - "column": 16 - }, - "end": { - "line": 3, - "column": 21 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "f", - "range": [ - 79, - 80 - ], - "loc": { - "start": { - "line": 3, - "column": 24 - }, - "end": { - "line": 3, - "column": 25 - } - } - }, - { - "type": "Identifier", - "name": "t", - "range": [ - 83, - 84 - ], - "loc": { - "start": { - "line": 3, - "column": 28 - }, - "end": { - "line": 3, - "column": 29 - } - } - }, - { - "type": "Identifier", - "name": "string", - "range": [ - 87, - 93 - ], - "loc": { - "start": { - "line": 3, - "column": 32 - }, - "end": { - "line": 3, - "column": 38 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "b", - "range": [ - 106, - 107 - ], - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 8 - } - } - }, - "init": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "parse_keep_zeros", - "range": [ - 110, - 126 - ], - "loc": { - "start": { - "line": 5, - "column": 11 - }, - "end": { - "line": 5, - "column": 27 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "f", - "range": [ - 128, - 129 - ], - "loc": { - "start": { - "line": 5, - "column": 29 - }, - "end": { - "line": 5, - "column": 30 - } - } - }, - { - "type": "Identifier", - "name": "t", - "range": [ - 132, - 133 - ], - "loc": { - "start": { - "line": 5, - "column": 33 - }, - "end": { - "line": 5, - "column": 34 - } - } - }, - { - "type": "Identifier", - "name": "string", - "range": [ - 136, - 142 - ], - "loc": { - "start": { - "line": 5, - "column": 37 - }, - "end": { - "line": 5, - "column": 43 - } - } - } - ], - "range": [ - 110, - 144 - ], - "loc": { - "start": { - "line": 5, - "column": 11 - }, - "end": { - "line": 5, - "column": 45 - } - } - }, - "range": [ - 106, - 144 - ], - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 45 - } - } - } - ], - "kind": "const", - "range": [ - 100, - 146 - ], - "loc": { - "start": { - "line": 5, - "column": 1 - }, - "end": { - "line": 5, - "column": 47 - } - } - }, - { - "type": "ReturnStatement", - "argument": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "trim_natural", - "range": [ - 156, - 168 - ], - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 7, - "column": 20 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "b", - "range": [ - 170, - 171 - ], - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 7, - "column": 23 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 174, - 175 - ], - "loc": { - "start": { - "line": 7, - "column": 26 - }, - "end": { - "line": 7, - "column": 27 - } - } - }, - { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "b", - "range": [ - 178, - 179 - ], - "loc": { - "start": { - "line": 7, - "column": 30 - }, - "end": { - "line": 7, - "column": 31 - } - } - }, - "property": { - "type": "Identifier", - "name": "length", - "range": [ - 180, - 186 - ], - "loc": { - "start": { - "line": 7, - "column": 32 - }, - "end": { - "line": 7, - "column": 38 - } - } - }, - "range": [ - 178, - 186 - ], - "loc": { - "start": { - "line": 7, - "column": 30 - }, - "end": { - "line": 7, - "column": 38 - } - } - } - ], - "range": [ - 156, - 188 - ], - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 7, - "column": 40 - } - } - }, - "range": [ - 149, - 190 - ], - "loc": { - "start": { - "line": 7, - "column": 1 - }, - "end": { - "line": 7, - "column": 42 - } - } - } - ], - "range": [ - 96, - 193 - ], - "loc": { - "start": { - "line": 3, - "column": 41 - }, - "end": { - "line": 9, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 62, - 193 - ], - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 9, - "column": 1 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 55, - 193 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 9, - "column": 1 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 193 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 9, - "column": 1 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/convert/parse_keep_zeros.js.json b/ast/source/1-new/convert/parse_keep_zeros.js.json deleted file mode 100644 index b19d973..0000000 --- a/ast/source/1-new/convert/parse_keep_zeros.js.json +++ /dev/null @@ -1,1097 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ImportDeclaration", - "specifiers": [ - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_int", - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_int", - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - }, - "range": [ - 9, - 13 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - }, - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "convert_keep_zeros", - "range": [ - 16, - 34 - ], - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 34 - } - } - }, - "imported": { - "type": "Identifier", - "name": "convert_keep_zeros", - "range": [ - 16, - 34 - ], - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 34 - } - } - }, - "range": [ - 16, - 34 - ], - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 34 - } - } - } - ], - "source": { - "type": "Literal", - "value": ".", - "raw": "'.'", - "range": [ - 42, - 45 - ], - "loc": { - "start": { - "line": 1, - "column": 42 - }, - "end": { - "line": 1, - "column": 45 - } - } - }, - "range": [ - 0, - 47 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 47 - } - } - }, - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "parse_keep_zeros", - "range": [ - 65, - 81 - ], - "loc": { - "start": { - "line": 3, - "column": 16 - }, - "end": { - "line": 3, - "column": 32 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "f", - "range": [ - 84, - 85 - ], - "loc": { - "start": { - "line": 3, - "column": 35 - }, - "end": { - "line": 3, - "column": 36 - } - } - }, - { - "type": "Identifier", - "name": "t", - "range": [ - 88, - 89 - ], - "loc": { - "start": { - "line": 3, - "column": 39 - }, - "end": { - "line": 3, - "column": 40 - } - } - }, - { - "type": "Identifier", - "name": "string", - "range": [ - 92, - 98 - ], - "loc": { - "start": { - "line": 3, - "column": 43 - }, - "end": { - "line": 3, - "column": 49 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": ">", - "left": { - "type": "Identifier", - "name": "f", - "range": [ - 110, - 111 - ], - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - "right": { - "type": "Literal", - "value": 36, - "raw": "36", - "range": [ - 114, - 116 - ], - "loc": { - "start": { - "line": 5, - "column": 10 - }, - "end": { - "line": 5, - "column": 12 - } - } - }, - "range": [ - 110, - 116 - ], - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 12 - } - } - }, - "consequent": { - "type": "ThrowStatement", - "argument": { - "type": "Literal", - "value": "f > 36 not implemented", - "raw": "'f > 36 not implemented'", - "range": [ - 125, - 149 - ], - "loc": { - "start": { - "line": 5, - "column": 21 - }, - "end": { - "line": 5, - "column": 45 - } - } - }, - "range": [ - 119, - 151 - ], - "loc": { - "start": { - "line": 5, - "column": 15 - }, - "end": { - "line": 5, - "column": 47 - } - } - }, - "alternate": null, - "range": [ - 105, - 151 - ], - "loc": { - "start": { - "line": 5, - "column": 1 - }, - "end": { - "line": 5, - "column": 47 - } - } - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "n", - "range": [ - 160, - 161 - ], - "loc": { - "start": { - "line": 7, - "column": 7 - }, - "end": { - "line": 7, - "column": 8 - } - } - }, - "init": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "string", - "range": [ - 164, - 170 - ], - "loc": { - "start": { - "line": 7, - "column": 11 - }, - "end": { - "line": 7, - "column": 17 - } - } - }, - "property": { - "type": "Identifier", - "name": "length", - "range": [ - 171, - 177 - ], - "loc": { - "start": { - "line": 7, - "column": 18 - }, - "end": { - "line": 7, - "column": 24 - } - } - }, - "range": [ - 164, - 177 - ], - "loc": { - "start": { - "line": 7, - "column": 11 - }, - "end": { - "line": 7, - "column": 24 - } - } - }, - "range": [ - 160, - 177 - ], - "loc": { - "start": { - "line": 7, - "column": 7 - }, - "end": { - "line": 7, - "column": 24 - } - } - } - ], - "kind": "const", - "range": [ - 154, - 179 - ], - "loc": { - "start": { - "line": 7, - "column": 1 - }, - "end": { - "line": 7, - "column": 26 - } - } - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "a", - "range": [ - 188, - 189 - ], - "loc": { - "start": { - "line": 9, - "column": 7 - }, - "end": { - "line": 9, - "column": 8 - } - } - }, - "init": { - "type": "ArrayExpression", - "elements": [], - "range": [ - 192, - 195 - ], - "loc": { - "start": { - "line": 9, - "column": 11 - }, - "end": { - "line": 9, - "column": 14 - } - } - }, - "range": [ - 188, - 195 - ], - "loc": { - "start": { - "line": 9, - "column": 7 - }, - "end": { - "line": 9, - "column": 14 - } - } - } - ], - "kind": "const", - "range": [ - 182, - 197 - ], - "loc": { - "start": { - "line": 9, - "column": 1 - }, - "end": { - "line": 9, - "column": 16 - } - } - }, - { - "type": "ForStatement", - "init": { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "k", - "range": [ - 210, - 211 - ], - "loc": { - "start": { - "line": 11, - "column": 11 - }, - "end": { - "line": 11, - "column": 12 - } - } - }, - "init": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 214, - 215 - ], - "loc": { - "start": { - "line": 11, - "column": 15 - }, - "end": { - "line": 11, - "column": 16 - } - } - }, - "range": [ - 210, - 215 - ], - "loc": { - "start": { - "line": 11, - "column": 11 - }, - "end": { - "line": 11, - "column": 16 - } - } - } - ], - "kind": "let", - "range": [ - 206, - 215 - ], - "loc": { - "start": { - "line": 11, - "column": 7 - }, - "end": { - "line": 11, - "column": 16 - } - } - }, - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "k", - "range": [ - 218, - 219 - ], - "loc": { - "start": { - "line": 11, - "column": 19 - }, - "end": { - "line": 11, - "column": 20 - } - } - }, - "right": { - "type": "Identifier", - "name": "n", - "range": [ - 222, - 223 - ], - "loc": { - "start": { - "line": 11, - "column": 23 - }, - "end": { - "line": 11, - "column": 24 - } - } - }, - "range": [ - 218, - 223 - ], - "loc": { - "start": { - "line": 11, - "column": 19 - }, - "end": { - "line": 11, - "column": 24 - } - } - }, - "update": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "k", - "range": [ - 228, - 229 - ], - "loc": { - "start": { - "line": 11, - "column": 29 - }, - "end": { - "line": 11, - "column": 30 - } - } - }, - "prefix": true, - "range": [ - 226, - 229 - ], - "loc": { - "start": { - "line": 11, - "column": 27 - }, - "end": { - "line": 11, - "column": 30 - } - } - }, - "body": { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "a", - "range": [ - 232, - 233 - ], - "loc": { - "start": { - "line": 11, - "column": 33 - }, - "end": { - "line": 11, - "column": 34 - } - } - }, - "property": { - "type": "Identifier", - "name": "push", - "range": [ - 234, - 238 - ], - "loc": { - "start": { - "line": 11, - "column": 35 - }, - "end": { - "line": 11, - "column": 39 - } - } - }, - "range": [ - 232, - 238 - ], - "loc": { - "start": { - "line": 11, - "column": 33 - }, - "end": { - "line": 11, - "column": 39 - } - } - }, - "arguments": [ - { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_int", - "range": [ - 240, - 244 - ], - "loc": { - "start": { - "line": 11, - "column": 41 - }, - "end": { - "line": 11, - "column": 45 - } - } - }, - "arguments": [ - { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "string", - "range": [ - 246, - 252 - ], - "loc": { - "start": { - "line": 11, - "column": 47 - }, - "end": { - "line": 11, - "column": 53 - } - } - }, - "property": { - "type": "Identifier", - "name": "k", - "range": [ - 253, - 254 - ], - "loc": { - "start": { - "line": 11, - "column": 54 - }, - "end": { - "line": 11, - "column": 55 - } - } - }, - "range": [ - 246, - 255 - ], - "loc": { - "start": { - "line": 11, - "column": 47 - }, - "end": { - "line": 11, - "column": 56 - } - } - } - ], - "range": [ - 240, - 257 - ], - "loc": { - "start": { - "line": 11, - "column": 41 - }, - "end": { - "line": 11, - "column": 58 - } - } - } - ], - "range": [ - 232, - 259 - ], - "loc": { - "start": { - "line": 11, - "column": 33 - }, - "end": { - "line": 11, - "column": 60 - } - } - }, - "range": [ - 232, - 261 - ], - "loc": { - "start": { - "line": 11, - "column": 33 - }, - "end": { - "line": 11, - "column": 62 - } - } - }, - "range": [ - 200, - 261 - ], - "loc": { - "start": { - "line": 11, - "column": 1 - }, - "end": { - "line": 11, - "column": 62 - } - } - }, - { - "type": "ReturnStatement", - "argument": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "convert_keep_zeros", - "range": [ - 271, - 289 - ], - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 13, - "column": 26 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "f", - "range": [ - 291, - 292 - ], - "loc": { - "start": { - "line": 13, - "column": 28 - }, - "end": { - "line": 13, - "column": 29 - } - } - }, - { - "type": "Identifier", - "name": "t", - "range": [ - 295, - 296 - ], - "loc": { - "start": { - "line": 13, - "column": 32 - }, - "end": { - "line": 13, - "column": 33 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 299, - 300 - ], - "loc": { - "start": { - "line": 13, - "column": 36 - }, - "end": { - "line": 13, - "column": 37 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 303, - 304 - ], - "loc": { - "start": { - "line": 13, - "column": 40 - }, - "end": { - "line": 13, - "column": 41 - } - } - }, - { - "type": "Identifier", - "name": "n", - "range": [ - 307, - 308 - ], - "loc": { - "start": { - "line": 13, - "column": 44 - }, - "end": { - "line": 13, - "column": 45 - } - } - } - ], - "range": [ - 271, - 310 - ], - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 13, - "column": 47 - } - } - }, - "range": [ - 264, - 312 - ], - "loc": { - "start": { - "line": 13, - "column": 1 - }, - "end": { - "line": 13, - "column": 49 - } - } - } - ], - "range": [ - 101, - 315 - ], - "loc": { - "start": { - "line": 3, - "column": 52 - }, - "end": { - "line": 15, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 56, - 315 - ], - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 15, - "column": 1 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 49, - 315 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 15, - "column": 1 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 315 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 15, - "column": 1 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/convert/stringify.js.json b/ast/source/1-new/convert/stringify.js.json deleted file mode 100644 index 84d352e..0000000 --- a/ast/source/1-new/convert/stringify.js.json +++ /dev/null @@ -1,697 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ImportDeclaration", - "specifiers": [ - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "convert", - "range": [ - 9, - 16 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 16 - } - } - }, - "imported": { - "type": "Identifier", - "name": "convert", - "range": [ - 9, - 16 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 16 - } - } - }, - "range": [ - 9, - 16 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 16 - } - } - }, - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_to_string", - "range": [ - 19, - 29 - ], - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 29 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_to_string", - "range": [ - 19, - 29 - ], - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 29 - } - } - }, - "range": [ - 19, - 29 - ], - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 29 - } - } - } - ], - "source": { - "type": "Literal", - "value": ".", - "raw": "'.'", - "range": [ - 37, - 40 - ], - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 40 - } - } - }, - "range": [ - 0, - 42 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 42 - } - } - }, - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "stringify", - "range": [ - 60, - 69 - ], - "loc": { - "start": { - "line": 3, - "column": 16 - }, - "end": { - "line": 3, - "column": 25 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "f", - "range": [ - 72, - 73 - ], - "loc": { - "start": { - "line": 3, - "column": 28 - }, - "end": { - "line": 3, - "column": 29 - } - } - }, - { - "type": "Identifier", - "name": "t", - "range": [ - 76, - 77 - ], - "loc": { - "start": { - "line": 3, - "column": 32 - }, - "end": { - "line": 3, - "column": 33 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 80, - 81 - ], - "loc": { - "start": { - "line": 3, - "column": 36 - }, - "end": { - "line": 3, - "column": 37 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 84, - 86 - ], - "loc": { - "start": { - "line": 3, - "column": 40 - }, - "end": { - "line": 3, - "column": 42 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 89, - 91 - ], - "loc": { - "start": { - "line": 3, - "column": 45 - }, - "end": { - "line": 3, - "column": 47 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": ">", - "left": { - "type": "Identifier", - "name": "t", - "range": [ - 103, - 104 - ], - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - "right": { - "type": "Literal", - "value": 36, - "raw": "36", - "range": [ - 107, - 109 - ], - "loc": { - "start": { - "line": 5, - "column": 10 - }, - "end": { - "line": 5, - "column": 12 - } - } - }, - "range": [ - 103, - 109 - ], - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 12 - } - } - }, - "consequent": { - "type": "ThrowStatement", - "argument": { - "type": "Literal", - "value": "t > 36 not implemented", - "raw": "'t > 36 not implemented'", - "range": [ - 118, - 142 - ], - "loc": { - "start": { - "line": 5, - "column": 21 - }, - "end": { - "line": 5, - "column": 45 - } - } - }, - "range": [ - 112, - 144 - ], - "loc": { - "start": { - "line": 5, - "column": 15 - }, - "end": { - "line": 5, - "column": 47 - } - } - }, - "alternate": null, - "range": [ - 98, - 144 - ], - "loc": { - "start": { - "line": 5, - "column": 1 - }, - "end": { - "line": 5, - "column": 47 - } - } - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "b", - "range": [ - 153, - 154 - ], - "loc": { - "start": { - "line": 7, - "column": 7 - }, - "end": { - "line": 7, - "column": 8 - } - } - }, - "init": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "convert", - "range": [ - 157, - 164 - ], - "loc": { - "start": { - "line": 7, - "column": 11 - }, - "end": { - "line": 7, - "column": 18 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "f", - "range": [ - 166, - 167 - ], - "loc": { - "start": { - "line": 7, - "column": 20 - }, - "end": { - "line": 7, - "column": 21 - } - } - }, - { - "type": "Identifier", - "name": "t", - "range": [ - 170, - 171 - ], - "loc": { - "start": { - "line": 7, - "column": 24 - }, - "end": { - "line": 7, - "column": 25 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 174, - 175 - ], - "loc": { - "start": { - "line": 7, - "column": 28 - }, - "end": { - "line": 7, - "column": 29 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 178, - 180 - ], - "loc": { - "start": { - "line": 7, - "column": 32 - }, - "end": { - "line": 7, - "column": 34 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 183, - 185 - ], - "loc": { - "start": { - "line": 7, - "column": 37 - }, - "end": { - "line": 7, - "column": 39 - } - } - } - ], - "range": [ - 157, - 187 - ], - "loc": { - "start": { - "line": 7, - "column": 11 - }, - "end": { - "line": 7, - "column": 41 - } - } - }, - "range": [ - 153, - 187 - ], - "loc": { - "start": { - "line": 7, - "column": 7 - }, - "end": { - "line": 7, - "column": 41 - } - } - } - ], - "kind": "const", - "range": [ - 147, - 189 - ], - "loc": { - "start": { - "line": 7, - "column": 1 - }, - "end": { - "line": 7, - "column": 43 - } - } - }, - { - "type": "ReturnStatement", - "argument": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_to_string", - "range": [ - 199, - 209 - ], - "loc": { - "start": { - "line": 9, - "column": 8 - }, - "end": { - "line": 9, - "column": 18 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "b", - "range": [ - 211, - 212 - ], - "loc": { - "start": { - "line": 9, - "column": 20 - }, - "end": { - "line": 9, - "column": 21 - } - } - } - ], - "range": [ - 199, - 214 - ], - "loc": { - "start": { - "line": 9, - "column": 8 - }, - "end": { - "line": 9, - "column": 23 - } - } - }, - "range": [ - 192, - 216 - ], - "loc": { - "start": { - "line": 9, - "column": 1 - }, - "end": { - "line": 9, - "column": 25 - } - } - } - ], - "range": [ - 94, - 219 - ], - "loc": { - "start": { - "line": 3, - "column": 50 - }, - "end": { - "line": 11, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 51, - 219 - ], - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 11, - "column": 1 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 44, - 219 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 11, - "column": 1 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 219 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 11, - "column": 1 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/convert/stringify_keep_zeros.js.json b/ast/source/1-new/convert/stringify_keep_zeros.js.json deleted file mode 100644 index 4808906..0000000 --- a/ast/source/1-new/convert/stringify_keep_zeros.js.json +++ /dev/null @@ -1,697 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ImportDeclaration", - "specifiers": [ - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "convert_keep_zeros", - "range": [ - 9, - 27 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 27 - } - } - }, - "imported": { - "type": "Identifier", - "name": "convert_keep_zeros", - "range": [ - 9, - 27 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 27 - } - } - }, - "range": [ - 9, - 27 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 27 - } - } - }, - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_to_string", - "range": [ - 30, - 40 - ], - "loc": { - "start": { - "line": 1, - "column": 30 - }, - "end": { - "line": 1, - "column": 40 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_to_string", - "range": [ - 30, - 40 - ], - "loc": { - "start": { - "line": 1, - "column": 30 - }, - "end": { - "line": 1, - "column": 40 - } - } - }, - "range": [ - 30, - 40 - ], - "loc": { - "start": { - "line": 1, - "column": 30 - }, - "end": { - "line": 1, - "column": 40 - } - } - } - ], - "source": { - "type": "Literal", - "value": ".", - "raw": "'.'", - "range": [ - 48, - 51 - ], - "loc": { - "start": { - "line": 1, - "column": 48 - }, - "end": { - "line": 1, - "column": 51 - } - } - }, - "range": [ - 0, - 53 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 53 - } - } - }, - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "stringify_keep_zeros", - "range": [ - 71, - 91 - ], - "loc": { - "start": { - "line": 3, - "column": 16 - }, - "end": { - "line": 3, - "column": 36 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "f", - "range": [ - 94, - 95 - ], - "loc": { - "start": { - "line": 3, - "column": 39 - }, - "end": { - "line": 3, - "column": 40 - } - } - }, - { - "type": "Identifier", - "name": "t", - "range": [ - 98, - 99 - ], - "loc": { - "start": { - "line": 3, - "column": 43 - }, - "end": { - "line": 3, - "column": 44 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 102, - 103 - ], - "loc": { - "start": { - "line": 3, - "column": 47 - }, - "end": { - "line": 3, - "column": 48 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 106, - 108 - ], - "loc": { - "start": { - "line": 3, - "column": 51 - }, - "end": { - "line": 3, - "column": 53 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 111, - 113 - ], - "loc": { - "start": { - "line": 3, - "column": 56 - }, - "end": { - "line": 3, - "column": 58 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": ">", - "left": { - "type": "Identifier", - "name": "t", - "range": [ - 125, - 126 - ], - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - "right": { - "type": "Literal", - "value": 36, - "raw": "36", - "range": [ - 129, - 131 - ], - "loc": { - "start": { - "line": 5, - "column": 10 - }, - "end": { - "line": 5, - "column": 12 - } - } - }, - "range": [ - 125, - 131 - ], - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 12 - } - } - }, - "consequent": { - "type": "ThrowStatement", - "argument": { - "type": "Literal", - "value": "t > 36 not implemented", - "raw": "'t > 36 not implemented'", - "range": [ - 140, - 164 - ], - "loc": { - "start": { - "line": 5, - "column": 21 - }, - "end": { - "line": 5, - "column": 45 - } - } - }, - "range": [ - 134, - 166 - ], - "loc": { - "start": { - "line": 5, - "column": 15 - }, - "end": { - "line": 5, - "column": 47 - } - } - }, - "alternate": null, - "range": [ - 120, - 166 - ], - "loc": { - "start": { - "line": 5, - "column": 1 - }, - "end": { - "line": 5, - "column": 47 - } - } - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "b", - "range": [ - 175, - 176 - ], - "loc": { - "start": { - "line": 7, - "column": 7 - }, - "end": { - "line": 7, - "column": 8 - } - } - }, - "init": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "convert_keep_zeros", - "range": [ - 179, - 197 - ], - "loc": { - "start": { - "line": 7, - "column": 11 - }, - "end": { - "line": 7, - "column": 29 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "f", - "range": [ - 199, - 200 - ], - "loc": { - "start": { - "line": 7, - "column": 31 - }, - "end": { - "line": 7, - "column": 32 - } - } - }, - { - "type": "Identifier", - "name": "t", - "range": [ - 203, - 204 - ], - "loc": { - "start": { - "line": 7, - "column": 35 - }, - "end": { - "line": 7, - "column": 36 - } - } - }, - { - "type": "Identifier", - "name": "a", - "range": [ - 207, - 208 - ], - "loc": { - "start": { - "line": 7, - "column": 39 - }, - "end": { - "line": 7, - "column": 40 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 211, - 213 - ], - "loc": { - "start": { - "line": 7, - "column": 43 - }, - "end": { - "line": 7, - "column": 45 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 216, - 218 - ], - "loc": { - "start": { - "line": 7, - "column": 48 - }, - "end": { - "line": 7, - "column": 50 - } - } - } - ], - "range": [ - 179, - 220 - ], - "loc": { - "start": { - "line": 7, - "column": 11 - }, - "end": { - "line": 7, - "column": 52 - } - } - }, - "range": [ - 175, - 220 - ], - "loc": { - "start": { - "line": 7, - "column": 7 - }, - "end": { - "line": 7, - "column": 52 - } - } - } - ], - "kind": "const", - "range": [ - 169, - 222 - ], - "loc": { - "start": { - "line": 7, - "column": 1 - }, - "end": { - "line": 7, - "column": 54 - } - } - }, - { - "type": "ReturnStatement", - "argument": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_to_string", - "range": [ - 232, - 242 - ], - "loc": { - "start": { - "line": 9, - "column": 8 - }, - "end": { - "line": 9, - "column": 18 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "b", - "range": [ - 244, - 245 - ], - "loc": { - "start": { - "line": 9, - "column": 20 - }, - "end": { - "line": 9, - "column": 21 - } - } - } - ], - "range": [ - 232, - 247 - ], - "loc": { - "start": { - "line": 9, - "column": 8 - }, - "end": { - "line": 9, - "column": 23 - } - } - }, - "range": [ - 225, - 249 - ], - "loc": { - "start": { - "line": 9, - "column": 1 - }, - "end": { - "line": 9, - "column": 25 - } - } - } - ], - "range": [ - 116, - 252 - ], - "loc": { - "start": { - "line": 3, - "column": 61 - }, - "end": { - "line": 11, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 62, - 252 - ], - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 11, - "column": 1 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 55, - 252 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 11, - "column": 1 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 252 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 11, - "column": 1 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/convert/trim_natural.js.json b/ast/source/1-new/convert/trim_natural.js.json deleted file mode 100644 index d5dba9b..0000000 --- a/ast/source/1-new/convert/trim_natural.js.json +++ /dev/null @@ -1,950 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ImportDeclaration", - "specifiers": [ - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_trim_positive", - "range": [ - 9, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 23 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_trim_positive", - "range": [ - 9, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 23 - } - } - }, - "range": [ - 9, - 23 - ], - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 23 - } - } - }, - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_alloc", - "range": [ - 26, - 32 - ], - "loc": { - "start": { - "line": 1, - "column": 26 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_alloc", - "range": [ - 26, - 32 - ], - "loc": { - "start": { - "line": 1, - "column": 26 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - "range": [ - 26, - 32 - ], - "loc": { - "start": { - "line": 1, - "column": 26 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "_copy", - "range": [ - 35, - 40 - ], - "loc": { - "start": { - "line": 1, - "column": 35 - }, - "end": { - "line": 1, - "column": 40 - } - } - }, - "imported": { - "type": "Identifier", - "name": "_copy", - "range": [ - 35, - 40 - ], - "loc": { - "start": { - "line": 1, - "column": 35 - }, - "end": { - "line": 1, - "column": 40 - } - } - }, - "range": [ - 35, - 40 - ], - "loc": { - "start": { - "line": 1, - "column": 35 - }, - "end": { - "line": 1, - "column": 40 - } - } - } - ], - "source": { - "type": "Literal", - "value": ".", - "raw": "'.'", - "range": [ - 48, - 51 - ], - "loc": { - "start": { - "line": 1, - "column": 48 - }, - "end": { - "line": 1, - "column": 51 - } - } - }, - "range": [ - 0, - 53 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 53 - } - } - }, - { - "type": "ExportNamedDeclaration", - "declaration": { - "type": "FunctionDeclaration", - "id": { - "type": "Identifier", - "name": "trim_natural", - "range": [ - 70, - 82 - ], - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 28 - } - } - }, - "params": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 85, - 86 - ], - "loc": { - "start": { - "line": 2, - "column": 31 - }, - "end": { - "line": 2, - "column": 32 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 89, - 91 - ], - "loc": { - "start": { - "line": 2, - "column": 35 - }, - "end": { - "line": 2, - "column": 37 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 94, - 96 - ], - "loc": { - "start": { - "line": 2, - "column": 40 - }, - "end": { - "line": 2, - "column": 42 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "x", - "range": [ - 109, - 110 - ], - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - "init": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_trim_positive", - "range": [ - 113, - 127 - ], - "loc": { - "start": { - "line": 4, - "column": 11 - }, - "end": { - "line": 4, - "column": 25 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 129, - 130 - ], - "loc": { - "start": { - "line": 4, - "column": 27 - }, - "end": { - "line": 4, - "column": 28 - } - } - }, - { - "type": "Identifier", - "name": "ai", - "range": [ - 133, - 135 - ], - "loc": { - "start": { - "line": 4, - "column": 31 - }, - "end": { - "line": 4, - "column": 33 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 138, - 140 - ], - "loc": { - "start": { - "line": 4, - "column": 36 - }, - "end": { - "line": 4, - "column": 38 - } - } - } - ], - "range": [ - 113, - 142 - ], - "loc": { - "start": { - "line": 4, - "column": 11 - }, - "end": { - "line": 4, - "column": 40 - } - } - }, - "range": [ - 109, - 142 - ], - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 40 - } - } - } - ], - "kind": "const", - "range": [ - 103, - 144 - ], - "loc": { - "start": { - "line": 4, - "column": 1 - }, - "end": { - "line": 4, - "column": 42 - } - } - }, - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "Identifier", - "name": "x", - "range": [ - 152, - 153 - ], - "loc": { - "start": { - "line": 6, - "column": 6 - }, - "end": { - "line": 6, - "column": 7 - } - } - }, - "right": { - "type": "Identifier", - "name": "aj", - "range": [ - 157, - 159 - ], - "loc": { - "start": { - "line": 6, - "column": 11 - }, - "end": { - "line": 6, - "column": 13 - } - } - }, - "range": [ - 152, - 159 - ], - "loc": { - "start": { - "line": 6, - "column": 6 - }, - "end": { - "line": 6, - "column": 13 - } - } - }, - "consequent": { - "type": "ReturnStatement", - "argument": { - "type": "ArrayExpression", - "elements": [ - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 171, - 172 - ], - "loc": { - "start": { - "line": 6, - "column": 25 - }, - "end": { - "line": 6, - "column": 26 - } - } - } - ], - "range": [ - 169, - 174 - ], - "loc": { - "start": { - "line": 6, - "column": 23 - }, - "end": { - "line": 6, - "column": 28 - } - } - }, - "range": [ - 162, - 176 - ], - "loc": { - "start": { - "line": 6, - "column": 16 - }, - "end": { - "line": 6, - "column": 30 - } - } - }, - "alternate": null, - "range": [ - 147, - 176 - ], - "loc": { - "start": { - "line": 6, - "column": 1 - }, - "end": { - "line": 6, - "column": 30 - } - } - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "b", - "range": [ - 185, - 186 - ], - "loc": { - "start": { - "line": 8, - "column": 7 - }, - "end": { - "line": 8, - "column": 8 - } - } - }, - "init": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_alloc", - "range": [ - 189, - 195 - ], - "loc": { - "start": { - "line": 8, - "column": 11 - }, - "end": { - "line": 8, - "column": 17 - } - } - }, - "arguments": [ - { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "Identifier", - "name": "aj", - "range": [ - 197, - 199 - ], - "loc": { - "start": { - "line": 8, - "column": 19 - }, - "end": { - "line": 8, - "column": 21 - } - } - }, - "right": { - "type": "Identifier", - "name": "x", - "range": [ - 202, - 203 - ], - "loc": { - "start": { - "line": 8, - "column": 24 - }, - "end": { - "line": 8, - "column": 25 - } - } - }, - "range": [ - 197, - 203 - ], - "loc": { - "start": { - "line": 8, - "column": 19 - }, - "end": { - "line": 8, - "column": 25 - } - } - } - ], - "range": [ - 189, - 205 - ], - "loc": { - "start": { - "line": 8, - "column": 11 - }, - "end": { - "line": 8, - "column": 27 - } - } - }, - "range": [ - 185, - 205 - ], - "loc": { - "start": { - "line": 8, - "column": 7 - }, - "end": { - "line": 8, - "column": 27 - } - } - } - ], - "kind": "const", - "range": [ - 179, - 207 - ], - "loc": { - "start": { - "line": 8, - "column": 1 - }, - "end": { - "line": 8, - "column": 29 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "_copy", - "range": [ - 210, - 215 - ], - "loc": { - "start": { - "line": 10, - "column": 1 - }, - "end": { - "line": 10, - "column": 6 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "a", - "range": [ - 217, - 218 - ], - "loc": { - "start": { - "line": 10, - "column": 8 - }, - "end": { - "line": 10, - "column": 9 - } - } - }, - { - "type": "Identifier", - "name": "x", - "range": [ - 221, - 222 - ], - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 13 - } - } - }, - { - "type": "Identifier", - "name": "aj", - "range": [ - 225, - 227 - ], - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 18 - } - } - }, - { - "type": "Identifier", - "name": "b", - "range": [ - 230, - 231 - ], - "loc": { - "start": { - "line": 10, - "column": 21 - }, - "end": { - "line": 10, - "column": 22 - } - } - }, - { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 234, - 235 - ], - "loc": { - "start": { - "line": 10, - "column": 25 - }, - "end": { - "line": 10, - "column": 26 - } - } - } - ], - "range": [ - 210, - 237 - ], - "loc": { - "start": { - "line": 10, - "column": 1 - }, - "end": { - "line": 10, - "column": 28 - } - } - }, - "range": [ - 210, - 239 - ], - "loc": { - "start": { - "line": 10, - "column": 1 - }, - "end": { - "line": 10, - "column": 30 - } - } - }, - { - "type": "ReturnStatement", - "argument": { - "type": "Identifier", - "name": "b", - "range": [ - 249, - 250 - ], - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 9 - } - } - }, - "range": [ - 242, - 252 - ], - "loc": { - "start": { - "line": 12, - "column": 1 - }, - "end": { - "line": 12, - "column": 11 - } - } - } - ], - "range": [ - 99, - 255 - ], - "loc": { - "start": { - "line": 2, - "column": 45 - }, - "end": { - "line": 14, - "column": 1 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 61, - 255 - ], - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 14, - "column": 1 - } - }, - "leadingComments": [], - "trailingComments": [] - }, - "specifiers": [], - "source": null, - "range": [ - 54, - 255 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 14, - "column": 1 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 255 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 14, - "column": 1 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/1-new/index.js.json b/ast/source/1-new/index.js.json deleted file mode 100644 index d378e8e..0000000 --- a/ast/source/1-new/index.js.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./arithmetic", - "raw": "'./arithmetic'", - "range": [ - 14, - 28 - ], - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 28 - } - } - }, - "range": [ - 0, - 30 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 30 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./compare", - "raw": "'./compare'", - "range": [ - 45, - 56 - ], - "loc": { - "start": { - "line": 2, - "column": 14 - }, - "end": { - "line": 2, - "column": 25 - } - } - }, - "range": [ - 31, - 58 - ], - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 27 - } - } - }, - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./convert", - "raw": "'./convert'", - "range": [ - 73, - 84 - ], - "loc": { - "start": { - "line": 3, - "column": 14 - }, - "end": { - "line": 3, - "column": 25 - } - } - }, - "range": [ - 59, - 86 - ], - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 27 - } - } - } - ], - "sourceType": "module", - "range": [ - 0, - 86 - ], - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 27 - } - }, - "comments": [] -} \ No newline at end of file diff --git a/ast/source/DEFAULT_DISPLAY_BASE.js.json b/ast/source/DEFAULT_DISPLAY_BASE.js.json new file mode 100644 index 0000000..fc220fc --- /dev/null +++ b/ast/source/DEFAULT_DISPLAY_BASE.js.json @@ -0,0 +1,314 @@ +{ + "type": "File", + "start": 0, + "end": 41, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 2, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 41, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 2, + "column": 0 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ExportNamedDeclaration", + "start": 0, + "end": 40, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 40 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "VariableDeclaration", + "start": 7, + "end": 40, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 40 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 13, + "end": 38, + "loc": { + "start": { + "line": 1, + "column": 13 + }, + "end": { + "line": 1, + "column": 38 + } + }, + "id": { + "type": "Identifier", + "start": 13, + "end": 33, + "loc": { + "start": { + "line": 1, + "column": 13 + }, + "end": { + "line": 1, + "column": 33 + }, + "identifierName": "DEFAULT_DISPLAY_BASE" + }, + "name": "DEFAULT_DISPLAY_BASE" + }, + "init": { + "type": "NumericLiteral", + "start": 36, + "end": 38, + "loc": { + "start": { + "line": 1, + "column": 36 + }, + "end": { + "line": 1, + "column": 38 + } + }, + "extra": { + "rawValue": 10, + "raw": "10" + }, + "value": 10 + } + } + ], + "kind": "const", + "leadingComments": [], + "trailingComments": [] + } + } + ], + "directives": [] + }, + "comments": [], + "tokens": [ + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 7, + "end": 12, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DEFAULT_DISPLAY_BASE", + "start": 13, + "end": 33, + "loc": { + "start": { + "line": 1, + "column": 13 + }, + "end": { + "line": 1, + "column": 33 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 34, + "end": 35, + "loc": { + "start": { + "line": 1, + "column": 34 + }, + "end": { + "line": 1, + "column": 35 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 10, + "start": 36, + "end": 38, + "loc": { + "start": { + "line": 1, + "column": 36 + }, + "end": { + "line": 1, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 39, + "end": 40, + "loc": { + "start": { + "line": 1, + "column": 39 + }, + "end": { + "line": 1, + "column": 40 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 41, + "end": 41, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 0 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/DEFAULT_REPRESENTATION_BASE.js.json b/ast/source/DEFAULT_REPRESENTATION_BASE.js.json new file mode 100644 index 0000000..df2a7f5 --- /dev/null +++ b/ast/source/DEFAULT_REPRESENTATION_BASE.js.json @@ -0,0 +1,2069 @@ +{ + "type": "File", + "start": 0, + "end": 496, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 10, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 496, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 10, + "column": 0 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 0, + "end": 43, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 43 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 9, + "end": 29, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 29 + } + }, + "imported": { + "type": "Identifier", + "start": 9, + "end": 29, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 29 + }, + "identifierName": "DEFAULT_DISPLAY_BASE" + }, + "name": "DEFAULT_DISPLAY_BASE" + }, + "local": { + "type": "Identifier", + "start": 9, + "end": 29, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 29 + }, + "identifierName": "DEFAULT_DISPLAY_BASE" + }, + "name": "DEFAULT_DISPLAY_BASE" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 37, + "end": 41, + "loc": { + "start": { + "line": 1, + "column": 37 + }, + "end": { + "line": 1, + "column": 41 + } + }, + "extra": { + "rawValue": "./", + "raw": "'./'" + }, + "value": "./" + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "\n * Biggest power of DEFAULT_DISPLAY_BASE whose square holds in a single double\n * with full precision. For working correctly with multiplication algorithms\n * and for fast base DEFAULT_DISPLAY_BASE printing. On older machines with no\n * native doubles, it might be worth to only use ints.\n ", + "start": 45, + "end": 340, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 341, + "end": 495, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 154 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "VariableDeclaration", + "start": 348, + "end": 495, + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 154 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 354, + "end": 493, + "loc": { + "start": { + "line": 9, + "column": 13 + }, + "end": { + "line": 9, + "column": 152 + } + }, + "id": { + "type": "Identifier", + "start": 354, + "end": 381, + "loc": { + "start": { + "line": 9, + "column": 13 + }, + "end": { + "line": 9, + "column": 40 + }, + "identifierName": "DEFAULT_REPRESENTATION_BASE" + }, + "name": "DEFAULT_REPRESENTATION_BASE", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 384, + "end": 493, + "loc": { + "start": { + "line": 9, + "column": 43 + }, + "end": { + "line": 9, + "column": 152 + } + }, + "callee": { + "type": "MemberExpression", + "start": 384, + "end": 392, + "loc": { + "start": { + "line": 9, + "column": 43 + }, + "end": { + "line": 9, + "column": 51 + } + }, + "object": { + "type": "Identifier", + "start": 384, + "end": 388, + "loc": { + "start": { + "line": 9, + "column": 43 + }, + "end": { + "line": 9, + "column": 47 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 389, + "end": 392, + "loc": { + "start": { + "line": 9, + "column": 48 + }, + "end": { + "line": 9, + "column": 51 + }, + "identifierName": "pow" + }, + "name": "pow" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 393, + "end": 413, + "loc": { + "start": { + "line": 9, + "column": 52 + }, + "end": { + "line": 9, + "column": 72 + }, + "identifierName": "DEFAULT_DISPLAY_BASE" + }, + "name": "DEFAULT_DISPLAY_BASE" + }, + { + "type": "CallExpression", + "start": 414, + "end": 492, + "loc": { + "start": { + "line": 9, + "column": 73 + }, + "end": { + "line": 9, + "column": 151 + } + }, + "callee": { + "type": "MemberExpression", + "start": 414, + "end": 424, + "loc": { + "start": { + "line": 9, + "column": 73 + }, + "end": { + "line": 9, + "column": 83 + } + }, + "object": { + "type": "Identifier", + "start": 414, + "end": 418, + "loc": { + "start": { + "line": 9, + "column": 73 + }, + "end": { + "line": 9, + "column": 77 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 419, + "end": 424, + "loc": { + "start": { + "line": 9, + "column": 78 + }, + "end": { + "line": 9, + "column": 83 + }, + "identifierName": "floor" + }, + "name": "floor" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 425, + "end": 491, + "loc": { + "start": { + "line": 9, + "column": 84 + }, + "end": { + "line": 9, + "column": 150 + } + }, + "left": { + "type": "CallExpression", + "start": 425, + "end": 460, + "loc": { + "start": { + "line": 9, + "column": 84 + }, + "end": { + "line": 9, + "column": 119 + } + }, + "callee": { + "type": "MemberExpression", + "start": 425, + "end": 433, + "loc": { + "start": { + "line": 9, + "column": 84 + }, + "end": { + "line": 9, + "column": 92 + } + }, + "object": { + "type": "Identifier", + "start": 425, + "end": 429, + "loc": { + "start": { + "line": 9, + "column": 84 + }, + "end": { + "line": 9, + "column": 88 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 430, + "end": 433, + "loc": { + "start": { + "line": 9, + "column": 89 + }, + "end": { + "line": 9, + "column": 92 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 434, + "end": 459, + "loc": { + "start": { + "line": 9, + "column": 93 + }, + "end": { + "line": 9, + "column": 118 + } + }, + "callee": { + "type": "MemberExpression", + "start": 434, + "end": 443, + "loc": { + "start": { + "line": 9, + "column": 93 + }, + "end": { + "line": 9, + "column": 102 + } + }, + "object": { + "type": "Identifier", + "start": 434, + "end": 438, + "loc": { + "start": { + "line": 9, + "column": 93 + }, + "end": { + "line": 9, + "column": 97 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 439, + "end": 443, + "loc": { + "start": { + "line": 9, + "column": 98 + }, + "end": { + "line": 9, + "column": 102 + }, + "identifierName": "sqrt" + }, + "name": "sqrt" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 444, + "end": 458, + "loc": { + "start": { + "line": 9, + "column": 103 + }, + "end": { + "line": 9, + "column": 117 + } + }, + "callee": { + "type": "MemberExpression", + "start": 444, + "end": 452, + "loc": { + "start": { + "line": 9, + "column": 103 + }, + "end": { + "line": 9, + "column": 111 + } + }, + "object": { + "type": "Identifier", + "start": 444, + "end": 448, + "loc": { + "start": { + "line": 9, + "column": 103 + }, + "end": { + "line": 9, + "column": 107 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 449, + "end": 452, + "loc": { + "start": { + "line": 9, + "column": 108 + }, + "end": { + "line": 9, + "column": 111 + }, + "identifierName": "pow" + }, + "name": "pow" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 453, + "end": 454, + "loc": { + "start": { + "line": 9, + "column": 112 + }, + "end": { + "line": 9, + "column": 113 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + }, + { + "type": "NumericLiteral", + "start": 455, + "end": 457, + "loc": { + "start": { + "line": 9, + "column": 114 + }, + "end": { + "line": 9, + "column": 116 + } + }, + "extra": { + "rawValue": 53, + "raw": "53" + }, + "value": 53 + } + ] + } + ] + } + ] + }, + "operator": "/", + "right": { + "type": "CallExpression", + "start": 461, + "end": 491, + "loc": { + "start": { + "line": 9, + "column": 120 + }, + "end": { + "line": 9, + "column": 150 + } + }, + "callee": { + "type": "MemberExpression", + "start": 461, + "end": 469, + "loc": { + "start": { + "line": 9, + "column": 120 + }, + "end": { + "line": 9, + "column": 128 + } + }, + "object": { + "type": "Identifier", + "start": 461, + "end": 465, + "loc": { + "start": { + "line": 9, + "column": 120 + }, + "end": { + "line": 9, + "column": 124 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 466, + "end": 469, + "loc": { + "start": { + "line": 9, + "column": 125 + }, + "end": { + "line": 9, + "column": 128 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 470, + "end": 490, + "loc": { + "start": { + "line": 9, + "column": 129 + }, + "end": { + "line": 9, + "column": 149 + }, + "identifierName": "DEFAULT_DISPLAY_BASE" + }, + "name": "DEFAULT_DISPLAY_BASE" + } + ] + } + } + ] + } + ] + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "\n * Biggest power of DEFAULT_DISPLAY_BASE whose square holds in a single double\n * with full precision. For working correctly with multiplication algorithms\n * and for fast base DEFAULT_DISPLAY_BASE printing. On older machines with no\n * native doubles, it might be worth to only use ints.\n ", + "start": 45, + "end": 340, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "\n * Biggest power of DEFAULT_DISPLAY_BASE whose square holds in a single double\n * with full precision. For working correctly with multiplication algorithms\n * and for fast base DEFAULT_DISPLAY_BASE printing. On older machines with no\n * native doubles, it might be worth to only use ints.\n ", + "start": 45, + "end": 340, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "\n * Biggest power of DEFAULT_DISPLAY_BASE whose square holds in a single double\n * with full precision. For working correctly with multiplication algorithms\n * and for fast base DEFAULT_DISPLAY_BASE printing. On older machines with no\n * native doubles, it might be worth to only use ints.\n ", + "start": 45, + "end": 340, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DEFAULT_DISPLAY_BASE", + "start": 9, + "end": 29, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 29 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 30, + "end": 31, + "loc": { + "start": { + "line": 1, + "column": 30 + }, + "end": { + "line": 1, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 32, + "end": 36, + "loc": { + "start": { + "line": 1, + "column": 32 + }, + "end": { + "line": 1, + "column": 36 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./", + "start": 37, + "end": 41, + "loc": { + "start": { + "line": 1, + "column": 37 + }, + "end": { + "line": 1, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 42, + "end": 43, + "loc": { + "start": { + "line": 1, + "column": 42 + }, + "end": { + "line": 1, + "column": 43 + } + } + }, + { + "type": "CommentBlock", + "value": "\n * Biggest power of DEFAULT_DISPLAY_BASE whose square holds in a single double\n * with full precision. For working correctly with multiplication algorithms\n * and for fast base DEFAULT_DISPLAY_BASE printing. On older machines with no\n * native doubles, it might be worth to only use ints.\n ", + "start": 45, + "end": 340, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 341, + "end": 347, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 6 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 348, + "end": 353, + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DEFAULT_REPRESENTATION_BASE", + "start": 354, + "end": 381, + "loc": { + "start": { + "line": 9, + "column": 13 + }, + "end": { + "line": 9, + "column": 40 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 382, + "end": 383, + "loc": { + "start": { + "line": 9, + "column": 41 + }, + "end": { + "line": 9, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 384, + "end": 388, + "loc": { + "start": { + "line": 9, + "column": 43 + }, + "end": { + "line": 9, + "column": 47 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 388, + "end": 389, + "loc": { + "start": { + "line": 9, + "column": 47 + }, + "end": { + "line": 9, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pow", + "start": 389, + "end": 392, + "loc": { + "start": { + "line": 9, + "column": 48 + }, + "end": { + "line": 9, + "column": 51 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 392, + "end": 393, + "loc": { + "start": { + "line": 9, + "column": 51 + }, + "end": { + "line": 9, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DEFAULT_DISPLAY_BASE", + "start": 393, + "end": 413, + "loc": { + "start": { + "line": 9, + "column": 52 + }, + "end": { + "line": 9, + "column": 72 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 413, + "end": 414, + "loc": { + "start": { + "line": 9, + "column": 72 + }, + "end": { + "line": 9, + "column": 73 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 414, + "end": 418, + "loc": { + "start": { + "line": 9, + "column": 73 + }, + "end": { + "line": 9, + "column": 77 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 418, + "end": 419, + "loc": { + "start": { + "line": 9, + "column": 77 + }, + "end": { + "line": 9, + "column": 78 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "floor", + "start": 419, + "end": 424, + "loc": { + "start": { + "line": 9, + "column": 78 + }, + "end": { + "line": 9, + "column": 83 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 424, + "end": 425, + "loc": { + "start": { + "line": 9, + "column": 83 + }, + "end": { + "line": 9, + "column": 84 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 425, + "end": 429, + "loc": { + "start": { + "line": 9, + "column": 84 + }, + "end": { + "line": 9, + "column": 88 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 429, + "end": 430, + "loc": { + "start": { + "line": 9, + "column": 88 + }, + "end": { + "line": 9, + "column": 89 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 430, + "end": 433, + "loc": { + "start": { + "line": 9, + "column": 89 + }, + "end": { + "line": 9, + "column": 92 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 433, + "end": 434, + "loc": { + "start": { + "line": 9, + "column": 92 + }, + "end": { + "line": 9, + "column": 93 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 434, + "end": 438, + "loc": { + "start": { + "line": 9, + "column": 93 + }, + "end": { + "line": 9, + "column": 97 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 438, + "end": 439, + "loc": { + "start": { + "line": 9, + "column": 97 + }, + "end": { + "line": 9, + "column": 98 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sqrt", + "start": 439, + "end": 443, + "loc": { + "start": { + "line": 9, + "column": 98 + }, + "end": { + "line": 9, + "column": 102 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 443, + "end": 444, + "loc": { + "start": { + "line": 9, + "column": 102 + }, + "end": { + "line": 9, + "column": 103 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 444, + "end": 448, + "loc": { + "start": { + "line": 9, + "column": 103 + }, + "end": { + "line": 9, + "column": 107 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 448, + "end": 449, + "loc": { + "start": { + "line": 9, + "column": 107 + }, + "end": { + "line": 9, + "column": 108 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pow", + "start": 449, + "end": 452, + "loc": { + "start": { + "line": 9, + "column": 108 + }, + "end": { + "line": 9, + "column": 111 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 452, + "end": 453, + "loc": { + "start": { + "line": 9, + "column": 111 + }, + "end": { + "line": 9, + "column": 112 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 453, + "end": 454, + "loc": { + "start": { + "line": 9, + "column": 112 + }, + "end": { + "line": 9, + "column": 113 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 454, + "end": 455, + "loc": { + "start": { + "line": 9, + "column": 113 + }, + "end": { + "line": 9, + "column": 114 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 53, + "start": 455, + "end": 457, + "loc": { + "start": { + "line": 9, + "column": 114 + }, + "end": { + "line": 9, + "column": 116 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 457, + "end": 458, + "loc": { + "start": { + "line": 9, + "column": 116 + }, + "end": { + "line": 9, + "column": 117 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 458, + "end": 459, + "loc": { + "start": { + "line": 9, + "column": 117 + }, + "end": { + "line": 9, + "column": 118 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 459, + "end": 460, + "loc": { + "start": { + "line": 9, + "column": 118 + }, + "end": { + "line": 9, + "column": 119 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 460, + "end": 461, + "loc": { + "start": { + "line": 9, + "column": 119 + }, + "end": { + "line": 9, + "column": 120 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 461, + "end": 465, + "loc": { + "start": { + "line": 9, + "column": 120 + }, + "end": { + "line": 9, + "column": 124 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 465, + "end": 466, + "loc": { + "start": { + "line": 9, + "column": 124 + }, + "end": { + "line": 9, + "column": 125 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 466, + "end": 469, + "loc": { + "start": { + "line": 9, + "column": 125 + }, + "end": { + "line": 9, + "column": 128 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 469, + "end": 470, + "loc": { + "start": { + "line": 9, + "column": 128 + }, + "end": { + "line": 9, + "column": 129 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DEFAULT_DISPLAY_BASE", + "start": 470, + "end": 490, + "loc": { + "start": { + "line": 9, + "column": 129 + }, + "end": { + "line": 9, + "column": 149 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 490, + "end": 491, + "loc": { + "start": { + "line": 9, + "column": 149 + }, + "end": { + "line": 9, + "column": 150 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 491, + "end": 492, + "loc": { + "start": { + "line": 9, + "column": 150 + }, + "end": { + "line": 9, + "column": 151 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 492, + "end": 493, + "loc": { + "start": { + "line": 9, + "column": 151 + }, + "end": { + "line": 9, + "column": 152 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 494, + "end": 495, + "loc": { + "start": { + "line": 9, + "column": 153 + }, + "end": { + "line": 9, + "column": 154 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 496, + "end": 496, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 0 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/Integer.js.json b/ast/source/Integer.js.json new file mode 100644 index 0000000..ae226d3 --- /dev/null +++ b/ast/source/Integer.js.json @@ -0,0 +1,35093 @@ +{ + "type": "File", + "start": 0, + "end": 3447, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 165, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 3447, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 165, + "column": 0 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 1, + "end": 44, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 43 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 10, + "end": 30, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 29 + } + }, + "imported": { + "type": "Identifier", + "start": 10, + "end": 30, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 29 + }, + "identifierName": "DEFAULT_DISPLAY_BASE" + }, + "name": "DEFAULT_DISPLAY_BASE" + }, + "local": { + "type": "Identifier", + "start": 10, + "end": 30, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 29 + }, + "identifierName": "DEFAULT_DISPLAY_BASE" + }, + "name": "DEFAULT_DISPLAY_BASE" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 38, + "end": 42, + "loc": { + "start": { + "line": 2, + "column": 37 + }, + "end": { + "line": 2, + "column": 41 + } + }, + "extra": { + "rawValue": "./", + "raw": "'./'" + }, + "value": "./" + } + }, + { + "type": "ImportDeclaration", + "start": 46, + "end": 188, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 9, + "column": 42 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 56, + "end": 65, + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 10 + } + }, + "imported": { + "type": "Identifier", + "start": 56, + "end": 65, + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 10 + }, + "identifierName": "stringify" + }, + "name": "stringify" + }, + "local": { + "type": "Identifier", + "start": 56, + "end": 65, + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 10 + }, + "identifierName": "stringify" + }, + "name": "stringify" + } + }, + { + "type": "ImportSpecifier", + "start": 68, + "end": 75, + "loc": { + "start": { + "line": 5, + "column": 13 + }, + "end": { + "line": 5, + "column": 20 + } + }, + "imported": { + "type": "Identifier", + "start": 68, + "end": 75, + "loc": { + "start": { + "line": 5, + "column": 13 + }, + "end": { + "line": 5, + "column": 20 + }, + "identifierName": "convert" + }, + "name": "convert" + }, + "local": { + "type": "Identifier", + "start": 68, + "end": 75, + "loc": { + "start": { + "line": 5, + "column": 13 + }, + "end": { + "line": 5, + "column": 20 + }, + "identifierName": "convert" + }, + "name": "convert" + } + }, + { + "type": "ImportSpecifier", + "start": 79, + "end": 85, + "loc": { + "start": { + "line": 6, + "column": 1 + }, + "end": { + "line": 6, + "column": 7 + } + }, + "imported": { + "type": "Identifier", + "start": 79, + "end": 85, + "loc": { + "start": { + "line": 6, + "column": 1 + }, + "end": { + "line": 6, + "column": 7 + }, + "identifierName": "_alloc" + }, + "name": "_alloc" + }, + "local": { + "type": "Identifier", + "start": 79, + "end": 85, + "loc": { + "start": { + "line": 6, + "column": 1 + }, + "end": { + "line": 6, + "column": 7 + }, + "identifierName": "_alloc" + }, + "name": "_alloc" + } + }, + { + "type": "ImportSpecifier", + "start": 88, + "end": 93, + "loc": { + "start": { + "line": 6, + "column": 10 + }, + "end": { + "line": 6, + "column": 15 + } + }, + "imported": { + "type": "Identifier", + "start": 88, + "end": 93, + "loc": { + "start": { + "line": 6, + "column": 10 + }, + "end": { + "line": 6, + "column": 15 + }, + "identifierName": "_copy" + }, + "name": "_copy" + }, + "local": { + "type": "Identifier", + "start": 88, + "end": 93, + "loc": { + "start": { + "line": 6, + "column": 10 + }, + "end": { + "line": 6, + "column": 15 + }, + "identifierName": "_copy" + }, + "name": "_copy" + } + }, + { + "type": "ImportSpecifier", + "start": 96, + "end": 102, + "loc": { + "start": { + "line": 6, + "column": 18 + }, + "end": { + "line": 6, + "column": 24 + } + }, + "imported": { + "type": "Identifier", + "start": 96, + "end": 102, + "loc": { + "start": { + "line": 6, + "column": 18 + }, + "end": { + "line": 6, + "column": 24 + }, + "identifierName": "_zeros" + }, + "name": "_zeros" + }, + "local": { + "type": "Identifier", + "start": 96, + "end": 102, + "loc": { + "start": { + "line": 6, + "column": 18 + }, + "end": { + "line": 6, + "column": 24 + }, + "identifierName": "_zeros" + }, + "name": "_zeros" + } + }, + { + "type": "ImportSpecifier", + "start": 106, + "end": 109, + "loc": { + "start": { + "line": 7, + "column": 1 + }, + "end": { + "line": 7, + "column": 4 + } + }, + "imported": { + "type": "Identifier", + "start": 106, + "end": 109, + "loc": { + "start": { + "line": 7, + "column": 1 + }, + "end": { + "line": 7, + "column": 4 + }, + "identifierName": "_lt" + }, + "name": "_lt" + }, + "local": { + "type": "Identifier", + "start": 106, + "end": 109, + "loc": { + "start": { + "line": 7, + "column": 1 + }, + "end": { + "line": 7, + "column": 4 + }, + "identifierName": "_lt" + }, + "name": "_lt" + } + }, + { + "type": "ImportSpecifier", + "start": 112, + "end": 115, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 10 + } + }, + "imported": { + "type": "Identifier", + "start": 112, + "end": 115, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 10 + }, + "identifierName": "_jz" + }, + "name": "_jz" + }, + "local": { + "type": "Identifier", + "start": 112, + "end": 115, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 10 + }, + "identifierName": "_jz" + }, + "name": "_jz" + } + }, + { + "type": "ImportSpecifier", + "start": 119, + "end": 123, + "loc": { + "start": { + "line": 8, + "column": 1 + }, + "end": { + "line": 8, + "column": 5 + } + }, + "imported": { + "type": "Identifier", + "start": 119, + "end": 123, + "loc": { + "start": { + "line": 8, + "column": 1 + }, + "end": { + "line": 8, + "column": 5 + }, + "identifierName": "_add" + }, + "name": "_add" + }, + "local": { + "type": "Identifier", + "start": 119, + "end": 123, + "loc": { + "start": { + "line": 8, + "column": 1 + }, + "end": { + "line": 8, + "column": 5 + }, + "identifierName": "_add" + }, + "name": "_add" + } + }, + { + "type": "ImportSpecifier", + "start": 126, + "end": 130, + "loc": { + "start": { + "line": 8, + "column": 8 + }, + "end": { + "line": 8, + "column": 12 + } + }, + "imported": { + "type": "Identifier", + "start": 126, + "end": 130, + "loc": { + "start": { + "line": 8, + "column": 8 + }, + "end": { + "line": 8, + "column": 12 + }, + "identifierName": "_sub" + }, + "name": "_sub" + }, + "local": { + "type": "Identifier", + "start": 126, + "end": 130, + "loc": { + "start": { + "line": 8, + "column": 8 + }, + "end": { + "line": 8, + "column": 12 + }, + "identifierName": "_sub" + }, + "name": "_sub" + } + }, + { + "type": "ImportSpecifier", + "start": 133, + "end": 137, + "loc": { + "start": { + "line": 8, + "column": 15 + }, + "end": { + "line": 8, + "column": 19 + } + }, + "imported": { + "type": "Identifier", + "start": 133, + "end": 137, + "loc": { + "start": { + "line": 8, + "column": 15 + }, + "end": { + "line": 8, + "column": 19 + }, + "identifierName": "_mul" + }, + "name": "_mul" + }, + "local": { + "type": "Identifier", + "start": 133, + "end": 137, + "loc": { + "start": { + "line": 8, + "column": 15 + }, + "end": { + "line": 8, + "column": 19 + }, + "identifierName": "_mul" + }, + "name": "_mul" + } + }, + { + "type": "ImportSpecifier", + "start": 140, + "end": 144, + "loc": { + "start": { + "line": 8, + "column": 22 + }, + "end": { + "line": 8, + "column": 26 + } + }, + "imported": { + "type": "Identifier", + "start": 140, + "end": 144, + "loc": { + "start": { + "line": 8, + "column": 22 + }, + "end": { + "line": 8, + "column": 26 + }, + "identifierName": "_div" + }, + "name": "_div" + }, + "local": { + "type": "Identifier", + "start": 140, + "end": 144, + "loc": { + "start": { + "line": 8, + "column": 22 + }, + "end": { + "line": 8, + "column": 26 + }, + "identifierName": "_div" + }, + "name": "_div" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 153, + "end": 186, + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 40 + } + }, + "extra": { + "rawValue": "@aureooms/js-integer-big-endian", + "raw": "'@aureooms/js-integer-big-endian'" + }, + "value": "@aureooms/js-integer-big-endian" + } + }, + { + "type": "ExportNamedDeclaration", + "start": 190, + "end": 3446, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 164, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "ClassDeclaration", + "start": 197, + "end": 3446, + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 164, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 203, + "end": 210, + "loc": { + "start": { + "line": 11, + "column": 13 + }, + "end": { + "line": 11, + "column": 20 + }, + "identifierName": "Integer" + }, + "name": "Integer" + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 211, + "end": 3446, + "loc": { + "start": { + "line": 11, + "column": 21 + }, + "end": { + "line": 164, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 215, + "end": 341, + "loc": { + "start": { + "line": 13, + "column": 1 + }, + "end": { + "line": 17, + "column": 2 + } + }, + "computed": false, + "key": { + "type": "Identifier", + "start": 215, + "end": 226, + "loc": { + "start": { + "line": 13, + "column": 1 + }, + "end": { + "line": 13, + "column": 12 + }, + "identifierName": "constructor" + }, + "name": "constructor" + }, + "static": false, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 229, + "end": 233, + "loc": { + "start": { + "line": 13, + "column": 15 + }, + "end": { + "line": 13, + "column": 19 + }, + "identifierName": "base" + }, + "name": "base" + }, + { + "type": "Identifier", + "start": 236, + "end": 247, + "loc": { + "start": { + "line": 13, + "column": 22 + }, + "end": { + "line": 13, + "column": 33 + }, + "identifierName": "is_negative" + }, + "name": "is_negative" + }, + { + "type": "Identifier", + "start": 250, + "end": 255, + "loc": { + "start": { + "line": 13, + "column": 36 + }, + "end": { + "line": 13, + "column": 41 + }, + "identifierName": "limbs" + }, + "name": "limbs" + } + ], + "body": { + "type": "BlockStatement", + "start": 258, + "end": 341, + "loc": { + "start": { + "line": 13, + "column": 44 + }, + "end": { + "line": 17, + "column": 2 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 262, + "end": 280, + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 14, + "column": 20 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 262, + "end": 278, + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 14, + "column": 18 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 262, + "end": 271, + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 14, + "column": 11 + } + }, + "object": { + "type": "ThisExpression", + "start": 262, + "end": 266, + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 14, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 267, + "end": 271, + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 11 + }, + "identifierName": "base" + }, + "name": "base" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 274, + "end": 278, + "loc": { + "start": { + "line": 14, + "column": 14 + }, + "end": { + "line": 14, + "column": 18 + }, + "identifierName": "base" + }, + "name": "base" + } + } + }, + { + "type": "ExpressionStatement", + "start": 283, + "end": 315, + "loc": { + "start": { + "line": 15, + "column": 2 + }, + "end": { + "line": 15, + "column": 34 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 283, + "end": 313, + "loc": { + "start": { + "line": 15, + "column": 2 + }, + "end": { + "line": 15, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 283, + "end": 299, + "loc": { + "start": { + "line": 15, + "column": 2 + }, + "end": { + "line": 15, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 283, + "end": 287, + "loc": { + "start": { + "line": 15, + "column": 2 + }, + "end": { + "line": 15, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 288, + "end": 299, + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 18 + }, + "identifierName": "is_negative" + }, + "name": "is_negative" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 302, + "end": 313, + "loc": { + "start": { + "line": 15, + "column": 21 + }, + "end": { + "line": 15, + "column": 32 + }, + "identifierName": "is_negative" + }, + "name": "is_negative" + } + } + }, + { + "type": "ExpressionStatement", + "start": 318, + "end": 338, + "loc": { + "start": { + "line": 16, + "column": 2 + }, + "end": { + "line": 16, + "column": 22 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 318, + "end": 336, + "loc": { + "start": { + "line": 16, + "column": 2 + }, + "end": { + "line": 16, + "column": 20 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 318, + "end": 328, + "loc": { + "start": { + "line": 16, + "column": 2 + }, + "end": { + "line": 16, + "column": 12 + } + }, + "object": { + "type": "ThisExpression", + "start": 318, + "end": 322, + "loc": { + "start": { + "line": 16, + "column": 2 + }, + "end": { + "line": 16, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 323, + "end": 328, + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 16, + "column": 12 + }, + "identifierName": "limbs" + }, + "name": "limbs" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 331, + "end": 336, + "loc": { + "start": { + "line": 16, + "column": 15 + }, + "end": { + "line": 16, + "column": 20 + }, + "identifierName": "limbs" + }, + "name": "limbs" + } + } + } + ], + "directives": [] + } + }, + { + "type": "ClassMethod", + "start": 344, + "end": 595, + "loc": { + "start": { + "line": 19, + "column": 1 + }, + "end": { + "line": 27, + "column": 2 + } + }, + "computed": false, + "key": { + "type": "Identifier", + "start": 344, + "end": 352, + "loc": { + "start": { + "line": 19, + "column": 1 + }, + "end": { + "line": 19, + "column": 9 + }, + "identifierName": "toString" + }, + "name": "toString" + }, + "static": false, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "AssignmentPattern", + "start": 355, + "end": 382, + "loc": { + "start": { + "line": 19, + "column": 12 + }, + "end": { + "line": 19, + "column": 39 + } + }, + "left": { + "type": "Identifier", + "start": 355, + "end": 359, + "loc": { + "start": { + "line": 19, + "column": 12 + }, + "end": { + "line": 19, + "column": 16 + }, + "identifierName": "base" + }, + "name": "base" + }, + "right": { + "type": "Identifier", + "start": 362, + "end": 382, + "loc": { + "start": { + "line": 19, + "column": 19 + }, + "end": { + "line": 19, + "column": 39 + }, + "identifierName": "DEFAULT_DISPLAY_BASE" + }, + "name": "DEFAULT_DISPLAY_BASE" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 385, + "end": 595, + "loc": { + "start": { + "line": 19, + "column": 42 + }, + "end": { + "line": 27, + "column": 2 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 390, + "end": 451, + "loc": { + "start": { + "line": 21, + "column": 2 + }, + "end": { + "line": 21, + "column": 63 + } + }, + "test": { + "type": "CallExpression", + "start": 395, + "end": 436, + "loc": { + "start": { + "line": 21, + "column": 7 + }, + "end": { + "line": 21, + "column": 48 + } + }, + "callee": { + "type": "Identifier", + "start": 395, + "end": 398, + "loc": { + "start": { + "line": 21, + "column": 7 + }, + "end": { + "line": 21, + "column": 10 + }, + "identifierName": "_jz" + }, + "name": "_jz" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 400, + "end": 410, + "loc": { + "start": { + "line": 21, + "column": 12 + }, + "end": { + "line": 21, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 400, + "end": 404, + "loc": { + "start": { + "line": 21, + "column": 12 + }, + "end": { + "line": 21, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 405, + "end": 410, + "loc": { + "start": { + "line": 21, + "column": 17 + }, + "end": { + "line": 21, + "column": 22 + }, + "identifierName": "limbs" + }, + "name": "limbs" + }, + "computed": false + }, + { + "type": "NumericLiteral", + "start": 413, + "end": 414, + "loc": { + "start": { + "line": 21, + "column": 25 + }, + "end": { + "line": 21, + "column": 26 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "MemberExpression", + "start": 417, + "end": 434, + "loc": { + "start": { + "line": 21, + "column": 29 + }, + "end": { + "line": 21, + "column": 46 + } + }, + "object": { + "type": "MemberExpression", + "start": 417, + "end": 427, + "loc": { + "start": { + "line": 21, + "column": 29 + }, + "end": { + "line": 21, + "column": 39 + } + }, + "object": { + "type": "ThisExpression", + "start": 417, + "end": 421, + "loc": { + "start": { + "line": 21, + "column": 29 + }, + "end": { + "line": 21, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "start": 422, + "end": 427, + "loc": { + "start": { + "line": 21, + "column": 34 + }, + "end": { + "line": 21, + "column": 39 + }, + "identifierName": "limbs" + }, + "name": "limbs" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 428, + "end": 434, + "loc": { + "start": { + "line": 21, + "column": 40 + }, + "end": { + "line": 21, + "column": 46 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + ] + }, + "consequent": { + "type": "ReturnStatement", + "start": 439, + "end": 451, + "loc": { + "start": { + "line": 21, + "column": 51 + }, + "end": { + "line": 21, + "column": 63 + } + }, + "argument": { + "type": "StringLiteral", + "start": 446, + "end": 449, + "loc": { + "start": { + "line": 21, + "column": 58 + }, + "end": { + "line": 21, + "column": 61 + } + }, + "extra": { + "rawValue": "0", + "raw": "'0'" + }, + "value": "0" + } + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 455, + "end": 538, + "loc": { + "start": { + "line": 23, + "column": 2 + }, + "end": { + "line": 23, + "column": 85 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 461, + "end": 536, + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 83 + } + }, + "id": { + "type": "Identifier", + "start": 461, + "end": 467, + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 14 + }, + "identifierName": "digits" + }, + "name": "digits" + }, + "init": { + "type": "CallExpression", + "start": 470, + "end": 536, + "loc": { + "start": { + "line": 23, + "column": 17 + }, + "end": { + "line": 23, + "column": 83 + } + }, + "callee": { + "type": "Identifier", + "start": 470, + "end": 479, + "loc": { + "start": { + "line": 23, + "column": 17 + }, + "end": { + "line": 23, + "column": 26 + }, + "identifierName": "stringify" + }, + "name": "stringify" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 481, + "end": 490, + "loc": { + "start": { + "line": 23, + "column": 28 + }, + "end": { + "line": 23, + "column": 37 + } + }, + "object": { + "type": "ThisExpression", + "start": 481, + "end": 485, + "loc": { + "start": { + "line": 23, + "column": 28 + }, + "end": { + "line": 23, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "start": 486, + "end": 490, + "loc": { + "start": { + "line": 23, + "column": 33 + }, + "end": { + "line": 23, + "column": 37 + }, + "identifierName": "base" + }, + "name": "base" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 493, + "end": 497, + "loc": { + "start": { + "line": 23, + "column": 40 + }, + "end": { + "line": 23, + "column": 44 + }, + "identifierName": "base" + }, + "name": "base" + }, + { + "type": "MemberExpression", + "start": 500, + "end": 510, + "loc": { + "start": { + "line": 23, + "column": 47 + }, + "end": { + "line": 23, + "column": 57 + } + }, + "object": { + "type": "ThisExpression", + "start": 500, + "end": 504, + "loc": { + "start": { + "line": 23, + "column": 47 + }, + "end": { + "line": 23, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "start": 505, + "end": 510, + "loc": { + "start": { + "line": 23, + "column": 52 + }, + "end": { + "line": 23, + "column": 57 + }, + "identifierName": "limbs" + }, + "name": "limbs" + }, + "computed": false + }, + { + "type": "NumericLiteral", + "start": 513, + "end": 514, + "loc": { + "start": { + "line": 23, + "column": 60 + }, + "end": { + "line": 23, + "column": 61 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "MemberExpression", + "start": 517, + "end": 534, + "loc": { + "start": { + "line": 23, + "column": 64 + }, + "end": { + "line": 23, + "column": 81 + } + }, + "object": { + "type": "MemberExpression", + "start": 517, + "end": 527, + "loc": { + "start": { + "line": 23, + "column": 64 + }, + "end": { + "line": 23, + "column": 74 + } + }, + "object": { + "type": "ThisExpression", + "start": 517, + "end": 521, + "loc": { + "start": { + "line": 23, + "column": 64 + }, + "end": { + "line": 23, + "column": 68 + } + } + }, + "property": { + "type": "Identifier", + "start": 522, + "end": 527, + "loc": { + "start": { + "line": 23, + "column": 69 + }, + "end": { + "line": 23, + "column": 74 + }, + "identifierName": "limbs" + }, + "name": "limbs" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 528, + "end": 534, + "loc": { + "start": { + "line": 23, + "column": 75 + }, + "end": { + "line": 23, + "column": 81 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ReturnStatement", + "start": 542, + "end": 591, + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 51 + } + }, + "argument": { + "type": "ConditionalExpression", + "start": 549, + "end": 589, + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 49 + } + }, + "test": { + "type": "MemberExpression", + "start": 549, + "end": 565, + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 25 + } + }, + "object": { + "type": "ThisExpression", + "start": 549, + "end": 553, + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "start": 554, + "end": 565, + "loc": { + "start": { + "line": 25, + "column": 14 + }, + "end": { + "line": 25, + "column": 25 + }, + "identifierName": "is_negative" + }, + "name": "is_negative" + }, + "computed": false + }, + "consequent": { + "type": "BinaryExpression", + "start": 568, + "end": 580, + "loc": { + "start": { + "line": 25, + "column": 28 + }, + "end": { + "line": 25, + "column": 40 + } + }, + "left": { + "type": "StringLiteral", + "start": 568, + "end": 571, + "loc": { + "start": { + "line": 25, + "column": 28 + }, + "end": { + "line": 25, + "column": 31 + } + }, + "extra": { + "rawValue": "-", + "raw": "'-'" + }, + "value": "-" + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 574, + "end": 580, + "loc": { + "start": { + "line": 25, + "column": 34 + }, + "end": { + "line": 25, + "column": 40 + }, + "identifierName": "digits" + }, + "name": "digits" + } + }, + "alternate": { + "type": "Identifier", + "start": 583, + "end": 589, + "loc": { + "start": { + "line": 25, + "column": 43 + }, + "end": { + "line": 25, + "column": 49 + }, + "identifierName": "digits" + }, + "name": "digits" + } + } + } + ], + "directives": [] + } + }, + { + "type": "ClassMethod", + "start": 598, + "end": 1231, + "loc": { + "start": { + "line": 29, + "column": 1 + }, + "end": { + "line": 59, + "column": 2 + } + }, + "computed": false, + "key": { + "type": "Identifier", + "start": 598, + "end": 601, + "loc": { + "start": { + "line": 29, + "column": 1 + }, + "end": { + "line": 29, + "column": 4 + }, + "identifierName": "add" + }, + "name": "add" + }, + "static": false, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 604, + "end": 609, + "loc": { + "start": { + "line": 29, + "column": 7 + }, + "end": { + "line": 29, + "column": 12 + }, + "identifierName": "other" + }, + "name": "other" + } + ], + "body": { + "type": "BlockStatement", + "start": 612, + "end": 1231, + "loc": { + "start": { + "line": 29, + "column": 15 + }, + "end": { + "line": 59, + "column": 2 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 617, + "end": 1227, + "loc": { + "start": { + "line": 31, + "column": 2 + }, + "end": { + "line": 57, + "column": 3 + } + }, + "test": { + "type": "BinaryExpression", + "start": 622, + "end": 660, + "loc": { + "start": { + "line": 31, + "column": 7 + }, + "end": { + "line": 31, + "column": 45 + } + }, + "left": { + "type": "MemberExpression", + "start": 622, + "end": 638, + "loc": { + "start": { + "line": 31, + "column": 7 + }, + "end": { + "line": 31, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 622, + "end": 626, + "loc": { + "start": { + "line": 31, + "column": 7 + }, + "end": { + "line": 31, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "start": 627, + "end": 638, + "loc": { + "start": { + "line": 31, + "column": 12 + }, + "end": { + "line": 31, + "column": 23 + }, + "identifierName": "is_negative" + }, + "name": "is_negative" + }, + "computed": false + }, + "operator": "!==", + "right": { + "type": "MemberExpression", + "start": 643, + "end": 660, + "loc": { + "start": { + "line": 31, + "column": 28 + }, + "end": { + "line": 31, + "column": 45 + } + }, + "object": { + "type": "Identifier", + "start": 643, + "end": 648, + "loc": { + "start": { + "line": 31, + "column": 28 + }, + "end": { + "line": 31, + "column": 33 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 649, + "end": 660, + "loc": { + "start": { + "line": 31, + "column": 34 + }, + "end": { + "line": 31, + "column": 45 + }, + "identifierName": "is_negative" + }, + "name": "is_negative" + }, + "computed": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 663, + "end": 783, + "loc": { + "start": { + "line": 31, + "column": 48 + }, + "end": { + "line": 37, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 669, + "end": 778, + "loc": { + "start": { + "line": 33, + "column": 3 + }, + "end": { + "line": 35, + "column": 45 + } + }, + "test": { + "type": "MemberExpression", + "start": 674, + "end": 691, + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 33, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 674, + "end": 679, + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 33, + "column": 13 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 680, + "end": 691, + "loc": { + "start": { + "line": 33, + "column": 14 + }, + "end": { + "line": 33, + "column": 25 + }, + "identifierName": "is_negative" + }, + "name": "is_negative" + }, + "computed": false + }, + "consequent": { + "type": "ReturnStatement", + "start": 694, + "end": 731, + "loc": { + "start": { + "line": 33, + "column": 28 + }, + "end": { + "line": 33, + "column": 65 + } + }, + "argument": { + "type": "CallExpression", + "start": 701, + "end": 729, + "loc": { + "start": { + "line": 33, + "column": 35 + }, + "end": { + "line": 33, + "column": 63 + } + }, + "callee": { + "type": "MemberExpression", + "start": 701, + "end": 709, + "loc": { + "start": { + "line": 33, + "column": 35 + }, + "end": { + "line": 33, + "column": 43 + } + }, + "object": { + "type": "ThisExpression", + "start": 701, + "end": 705, + "loc": { + "start": { + "line": 33, + "column": 35 + }, + "end": { + "line": 33, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "start": 706, + "end": 709, + "loc": { + "start": { + "line": 33, + "column": 40 + }, + "end": { + "line": 33, + "column": 43 + }, + "identifierName": "sub" + }, + "name": "sub" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 711, + "end": 727, + "loc": { + "start": { + "line": 33, + "column": 45 + }, + "end": { + "line": 33, + "column": 61 + } + }, + "callee": { + "type": "MemberExpression", + "start": 711, + "end": 725, + "loc": { + "start": { + "line": 33, + "column": 45 + }, + "end": { + "line": 33, + "column": 59 + } + }, + "object": { + "type": "Identifier", + "start": 711, + "end": 716, + "loc": { + "start": { + "line": 33, + "column": 45 + }, + "end": { + "line": 33, + "column": 50 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 717, + "end": 725, + "loc": { + "start": { + "line": 33, + "column": 51 + }, + "end": { + "line": 33, + "column": 59 + }, + "identifierName": "opposite" + }, + "name": "opposite" + }, + "computed": false + }, + "arguments": [] + } + ] + } + }, + "alternate": { + "type": "ReturnStatement", + "start": 741, + "end": 778, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 45 + } + }, + "argument": { + "type": "CallExpression", + "start": 748, + "end": 776, + "loc": { + "start": { + "line": 35, + "column": 15 + }, + "end": { + "line": 35, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 748, + "end": 757, + "loc": { + "start": { + "line": 35, + "column": 15 + }, + "end": { + "line": 35, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 748, + "end": 753, + "loc": { + "start": { + "line": 35, + "column": 15 + }, + "end": { + "line": 35, + "column": 20 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 754, + "end": 757, + "loc": { + "start": { + "line": 35, + "column": 21 + }, + "end": { + "line": 35, + "column": 24 + }, + "identifierName": "sub" + }, + "name": "sub" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 759, + "end": 774, + "loc": { + "start": { + "line": 35, + "column": 26 + }, + "end": { + "line": 35, + "column": 41 + } + }, + "callee": { + "type": "MemberExpression", + "start": 759, + "end": 772, + "loc": { + "start": { + "line": 35, + "column": 26 + }, + "end": { + "line": 35, + "column": 39 + } + }, + "object": { + "type": "ThisExpression", + "start": 759, + "end": 763, + "loc": { + "start": { + "line": 35, + "column": 26 + }, + "end": { + "line": 35, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "start": 764, + "end": 772, + "loc": { + "start": { + "line": 35, + "column": 31 + }, + "end": { + "line": 35, + "column": 39 + }, + "identifierName": "opposite" + }, + "name": "opposite" + }, + "computed": false + }, + "arguments": [] + } + ] + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 792, + "end": 1227, + "loc": { + "start": { + "line": 39, + "column": 7 + }, + "end": { + "line": 57, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 798, + "end": 843, + "loc": { + "start": { + "line": 41, + "column": 3 + }, + "end": { + "line": 41, + "column": 48 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 804, + "end": 841, + "loc": { + "start": { + "line": 41, + "column": 9 + }, + "end": { + "line": 41, + "column": 46 + } + }, + "id": { + "type": "Identifier", + "start": 804, + "end": 822, + "loc": { + "start": { + "line": 41, + "column": 9 + }, + "end": { + "line": 41, + "column": 27 + }, + "identifierName": "result_is_negative" + }, + "name": "result_is_negative" + }, + "init": { + "type": "MemberExpression", + "start": 825, + "end": 841, + "loc": { + "start": { + "line": 41, + "column": 30 + }, + "end": { + "line": 41, + "column": 46 + } + }, + "object": { + "type": "ThisExpression", + "start": 825, + "end": 829, + "loc": { + "start": { + "line": 41, + "column": 30 + }, + "end": { + "line": 41, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "start": 830, + "end": 841, + "loc": { + "start": { + "line": 41, + "column": 35 + }, + "end": { + "line": 41, + "column": 46 + }, + "identifierName": "is_negative" + }, + "name": "is_negative" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 847, + "end": 868, + "loc": { + "start": { + "line": 42, + "column": 3 + }, + "end": { + "line": 42, + "column": 24 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 853, + "end": 866, + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 22 + } + }, + "id": { + "type": "Identifier", + "start": 853, + "end": 854, + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 10 + }, + "identifierName": "r" + }, + "name": "r" + }, + "init": { + "type": "MemberExpression", + "start": 857, + "end": 866, + "loc": { + "start": { + "line": 42, + "column": 13 + }, + "end": { + "line": 42, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 857, + "end": 861, + "loc": { + "start": { + "line": 42, + "column": 13 + }, + "end": { + "line": 42, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "start": 862, + "end": 866, + "loc": { + "start": { + "line": 42, + "column": 18 + }, + "end": { + "line": 42, + "column": 22 + }, + "identifierName": "base" + }, + "name": "base" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 873, + "end": 895, + "loc": { + "start": { + "line": 44, + "column": 3 + }, + "end": { + "line": 44, + "column": 25 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 879, + "end": 893, + "loc": { + "start": { + "line": 44, + "column": 9 + }, + "end": { + "line": 44, + "column": 23 + } + }, + "id": { + "type": "Identifier", + "start": 879, + "end": 880, + "loc": { + "start": { + "line": 44, + "column": 9 + }, + "end": { + "line": 44, + "column": 10 + }, + "identifierName": "a" + }, + "name": "a" + }, + "init": { + "type": "MemberExpression", + "start": 883, + "end": 893, + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 44, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 883, + "end": 887, + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 44, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "start": 888, + "end": 893, + "loc": { + "start": { + "line": 44, + "column": 18 + }, + "end": { + "line": 44, + "column": 23 + }, + "identifierName": "limbs" + }, + "name": "limbs" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 900, + "end": 907, + "loc": { + "start": { + "line": 46, + "column": 3 + }, + "end": { + "line": 46, + "column": 10 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 904, + "end": 905, + "loc": { + "start": { + "line": 46, + "column": 7 + }, + "end": { + "line": 46, + "column": 8 + } + }, + "id": { + "type": "Identifier", + "start": 904, + "end": 905, + "loc": { + "start": { + "line": 46, + "column": 7 + }, + "end": { + "line": 46, + "column": 8 + }, + "identifierName": "b" + }, + "name": "b" + }, + "init": null + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 912, + "end": 1032, + "loc": { + "start": { + "line": 48, + "column": 3 + }, + "end": { + "line": 49, + "column": 78 + } + }, + "test": { + "type": "BinaryExpression", + "start": 917, + "end": 933, + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 24 + } + }, + "left": { + "type": "MemberExpression", + "start": 917, + "end": 927, + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 917, + "end": 922, + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 13 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 923, + "end": 927, + "loc": { + "start": { + "line": 48, + "column": 14 + }, + "end": { + "line": 48, + "column": 18 + }, + "identifierName": "base" + }, + "name": "base" + }, + "computed": false + }, + "operator": "===", + "right": { + "type": "Identifier", + "start": 932, + "end": 933, + "loc": { + "start": { + "line": 48, + "column": 23 + }, + "end": { + "line": 48, + "column": 24 + }, + "identifierName": "r" + }, + "name": "r" + } + }, + "consequent": { + "type": "ExpressionStatement", + "start": 936, + "end": 953, + "loc": { + "start": { + "line": 48, + "column": 27 + }, + "end": { + "line": 48, + "column": 44 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 936, + "end": 951, + "loc": { + "start": { + "line": 48, + "column": 27 + }, + "end": { + "line": 48, + "column": 42 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 936, + "end": 937, + "loc": { + "start": { + "line": 48, + "column": 27 + }, + "end": { + "line": 48, + "column": 28 + }, + "identifierName": "b" + }, + "name": "b" + }, + "right": { + "type": "MemberExpression", + "start": 940, + "end": 951, + "loc": { + "start": { + "line": 48, + "column": 31 + }, + "end": { + "line": 48, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 940, + "end": 945, + "loc": { + "start": { + "line": 48, + "column": 31 + }, + "end": { + "line": 48, + "column": 36 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 946, + "end": 951, + "loc": { + "start": { + "line": 48, + "column": 37 + }, + "end": { + "line": 48, + "column": 42 + }, + "identifierName": "limbs" + }, + "name": "limbs" + }, + "computed": false + } + } + }, + "alternate": { + "type": "ExpressionStatement", + "start": 962, + "end": 1032, + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 78 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 962, + "end": 1030, + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 76 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 962, + "end": 963, + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 9 + }, + "identifierName": "b" + }, + "name": "b" + }, + "right": { + "type": "CallExpression", + "start": 966, + "end": 1030, + "loc": { + "start": { + "line": 49, + "column": 12 + }, + "end": { + "line": 49, + "column": 76 + } + }, + "callee": { + "type": "Identifier", + "start": 966, + "end": 973, + "loc": { + "start": { + "line": 49, + "column": 12 + }, + "end": { + "line": 49, + "column": 19 + }, + "identifierName": "convert" + }, + "name": "convert" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 975, + "end": 985, + "loc": { + "start": { + "line": 49, + "column": 21 + }, + "end": { + "line": 49, + "column": 31 + } + }, + "object": { + "type": "Identifier", + "start": 975, + "end": 980, + "loc": { + "start": { + "line": 49, + "column": 21 + }, + "end": { + "line": 49, + "column": 26 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 981, + "end": 985, + "loc": { + "start": { + "line": 49, + "column": 27 + }, + "end": { + "line": 49, + "column": 31 + }, + "identifierName": "base" + }, + "name": "base" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 988, + "end": 989, + "loc": { + "start": { + "line": 49, + "column": 34 + }, + "end": { + "line": 49, + "column": 35 + }, + "identifierName": "r" + }, + "name": "r" + }, + { + "type": "MemberExpression", + "start": 992, + "end": 1003, + "loc": { + "start": { + "line": 49, + "column": 38 + }, + "end": { + "line": 49, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 992, + "end": 997, + "loc": { + "start": { + "line": 49, + "column": 38 + }, + "end": { + "line": 49, + "column": 43 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 998, + "end": 1003, + "loc": { + "start": { + "line": 49, + "column": 44 + }, + "end": { + "line": 49, + "column": 49 + }, + "identifierName": "limbs" + }, + "name": "limbs" + }, + "computed": false + }, + { + "type": "NumericLiteral", + "start": 1006, + "end": 1007, + "loc": { + "start": { + "line": 49, + "column": 52 + }, + "end": { + "line": 49, + "column": 53 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "MemberExpression", + "start": 1010, + "end": 1028, + "loc": { + "start": { + "line": 49, + "column": 56 + }, + "end": { + "line": 49, + "column": 74 + } + }, + "object": { + "type": "MemberExpression", + "start": 1010, + "end": 1021, + "loc": { + "start": { + "line": 49, + "column": 56 + }, + "end": { + "line": 49, + "column": 67 + } + }, + "object": { + "type": "Identifier", + "start": 1010, + "end": 1015, + "loc": { + "start": { + "line": 49, + "column": 56 + }, + "end": { + "line": 49, + "column": 61 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 1016, + "end": 1021, + "loc": { + "start": { + "line": 49, + "column": 62 + }, + "end": { + "line": 49, + "column": 67 + }, + "identifierName": "limbs" + }, + "name": "limbs" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1022, + "end": 1028, + "loc": { + "start": { + "line": 49, + "column": 68 + }, + "end": { + "line": 49, + "column": 74 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + ] + } + } + } + }, + { + "type": "VariableDeclaration", + "start": 1037, + "end": 1094, + "loc": { + "start": { + "line": 51, + "column": 3 + }, + "end": { + "line": 51, + "column": 60 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1043, + "end": 1092, + "loc": { + "start": { + "line": 51, + "column": 9 + }, + "end": { + "line": 51, + "column": 58 + } + }, + "id": { + "type": "Identifier", + "start": 1043, + "end": 1044, + "loc": { + "start": { + "line": 51, + "column": 9 + }, + "end": { + "line": 51, + "column": 10 + }, + "identifierName": "c" + }, + "name": "c" + }, + "init": { + "type": "CallExpression", + "start": 1047, + "end": 1092, + "loc": { + "start": { + "line": 51, + "column": 13 + }, + "end": { + "line": 51, + "column": 58 + } + }, + "callee": { + "type": "Identifier", + "start": 1047, + "end": 1053, + "loc": { + "start": { + "line": 51, + "column": 13 + }, + "end": { + "line": 51, + "column": 19 + }, + "identifierName": "_zeros" + }, + "name": "_zeros" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 1055, + "end": 1090, + "loc": { + "start": { + "line": 51, + "column": 21 + }, + "end": { + "line": 51, + "column": 56 + } + }, + "left": { + "type": "CallExpression", + "start": 1055, + "end": 1086, + "loc": { + "start": { + "line": 51, + "column": 21 + }, + "end": { + "line": 51, + "column": 52 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1055, + "end": 1063, + "loc": { + "start": { + "line": 51, + "column": 21 + }, + "end": { + "line": 51, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 1055, + "end": 1059, + "loc": { + "start": { + "line": 51, + "column": 21 + }, + "end": { + "line": 51, + "column": 25 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 1060, + "end": 1063, + "loc": { + "start": { + "line": 51, + "column": 26 + }, + "end": { + "line": 51, + "column": 29 + }, + "identifierName": "max" + }, + "name": "max" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 1065, + "end": 1073, + "loc": { + "start": { + "line": 51, + "column": 31 + }, + "end": { + "line": 51, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 1065, + "end": 1066, + "loc": { + "start": { + "line": 51, + "column": 31 + }, + "end": { + "line": 51, + "column": 32 + }, + "identifierName": "a" + }, + "name": "a" + }, + "property": { + "type": "Identifier", + "start": 1067, + "end": 1073, + "loc": { + "start": { + "line": 51, + "column": 33 + }, + "end": { + "line": 51, + "column": 39 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 1076, + "end": 1084, + "loc": { + "start": { + "line": 51, + "column": 42 + }, + "end": { + "line": 51, + "column": 50 + } + }, + "object": { + "type": "Identifier", + "start": 1076, + "end": 1077, + "loc": { + "start": { + "line": 51, + "column": 42 + }, + "end": { + "line": 51, + "column": 43 + }, + "identifierName": "b" + }, + "name": "b" + }, + "property": { + "type": "Identifier", + "start": 1078, + "end": 1084, + "loc": { + "start": { + "line": 51, + "column": 44 + }, + "end": { + "line": 51, + "column": 50 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + ] + }, + "operator": "+", + "right": { + "type": "NumericLiteral", + "start": 1089, + "end": 1090, + "loc": { + "start": { + "line": 51, + "column": 55 + }, + "end": { + "line": 51, + "column": 56 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 1099, + "end": 1167, + "loc": { + "start": { + "line": 53, + "column": 3 + }, + "end": { + "line": 53, + "column": 71 + } + }, + "expression": { + "type": "CallExpression", + "start": 1099, + "end": 1165, + "loc": { + "start": { + "line": 53, + "column": 3 + }, + "end": { + "line": 53, + "column": 69 + } + }, + "callee": { + "type": "Identifier", + "start": 1099, + "end": 1103, + "loc": { + "start": { + "line": 53, + "column": 3 + }, + "end": { + "line": 53, + "column": 7 + }, + "identifierName": "_add" + }, + "name": "_add" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1105, + "end": 1106, + "loc": { + "start": { + "line": 53, + "column": 9 + }, + "end": { + "line": 53, + "column": 10 + }, + "identifierName": "r" + }, + "name": "r" + }, + { + "type": "Identifier", + "start": 1109, + "end": 1110, + "loc": { + "start": { + "line": 53, + "column": 13 + }, + "end": { + "line": 53, + "column": 14 + }, + "identifierName": "a" + }, + "name": "a" + }, + { + "type": "NumericLiteral", + "start": 1113, + "end": 1114, + "loc": { + "start": { + "line": 53, + "column": 17 + }, + "end": { + "line": 53, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "MemberExpression", + "start": 1117, + "end": 1125, + "loc": { + "start": { + "line": 53, + "column": 21 + }, + "end": { + "line": 53, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 1117, + "end": 1118, + "loc": { + "start": { + "line": 53, + "column": 21 + }, + "end": { + "line": 53, + "column": 22 + }, + "identifierName": "a" + }, + "name": "a" + }, + "property": { + "type": "Identifier", + "start": 1119, + "end": 1125, + "loc": { + "start": { + "line": 53, + "column": 23 + }, + "end": { + "line": 53, + "column": 29 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 1128, + "end": 1129, + "loc": { + "start": { + "line": 53, + "column": 32 + }, + "end": { + "line": 53, + "column": 33 + }, + "identifierName": "b" + }, + "name": "b" + }, + { + "type": "NumericLiteral", + "start": 1132, + "end": 1133, + "loc": { + "start": { + "line": 53, + "column": 36 + }, + "end": { + "line": 53, + "column": 37 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "MemberExpression", + "start": 1136, + "end": 1144, + "loc": { + "start": { + "line": 53, + "column": 40 + }, + "end": { + "line": 53, + "column": 48 + } + }, + "object": { + "type": "Identifier", + "start": 1136, + "end": 1137, + "loc": { + "start": { + "line": 53, + "column": 40 + }, + "end": { + "line": 53, + "column": 41 + }, + "identifierName": "b" + }, + "name": "b" + }, + "property": { + "type": "Identifier", + "start": 1138, + "end": 1144, + "loc": { + "start": { + "line": 53, + "column": 42 + }, + "end": { + "line": 53, + "column": 48 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 1147, + "end": 1148, + "loc": { + "start": { + "line": 53, + "column": 51 + }, + "end": { + "line": 53, + "column": 52 + }, + "identifierName": "c" + }, + "name": "c" + }, + { + "type": "NumericLiteral", + "start": 1151, + "end": 1152, + "loc": { + "start": { + "line": 53, + "column": 55 + }, + "end": { + "line": 53, + "column": 56 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "MemberExpression", + "start": 1155, + "end": 1163, + "loc": { + "start": { + "line": 53, + "column": 59 + }, + "end": { + "line": 53, + "column": 67 + } + }, + "object": { + "type": "Identifier", + "start": 1155, + "end": 1156, + "loc": { + "start": { + "line": 53, + "column": 59 + }, + "end": { + "line": 53, + "column": 60 + }, + "identifierName": "c" + }, + "name": "c" + }, + "property": { + "type": "Identifier", + "start": 1157, + "end": 1163, + "loc": { + "start": { + "line": 53, + "column": 61 + }, + "end": { + "line": 53, + "column": 67 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + ] + } + }, + { + "type": "ReturnStatement", + "start": 1172, + "end": 1222, + "loc": { + "start": { + "line": 55, + "column": 3 + }, + "end": { + "line": 55, + "column": 53 + } + }, + "argument": { + "type": "NewExpression", + "start": 1179, + "end": 1220, + "loc": { + "start": { + "line": 55, + "column": 10 + }, + "end": { + "line": 55, + "column": 51 + } + }, + "callee": { + "type": "Identifier", + "start": 1183, + "end": 1190, + "loc": { + "start": { + "line": 55, + "column": 14 + }, + "end": { + "line": 55, + "column": 21 + }, + "identifierName": "Integer" + }, + "name": "Integer" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1192, + "end": 1193, + "loc": { + "start": { + "line": 55, + "column": 23 + }, + "end": { + "line": 55, + "column": 24 + }, + "identifierName": "r" + }, + "name": "r" + }, + { + "type": "Identifier", + "start": 1196, + "end": 1214, + "loc": { + "start": { + "line": 55, + "column": 27 + }, + "end": { + "line": 55, + "column": 45 + }, + "identifierName": "result_is_negative" + }, + "name": "result_is_negative" + }, + { + "type": "Identifier", + "start": 1217, + "end": 1218, + "loc": { + "start": { + "line": 55, + "column": 48 + }, + "end": { + "line": 55, + "column": 49 + }, + "identifierName": "c" + }, + "name": "c" + } + ] + } + } + ], + "directives": [] + } + } + ], + "directives": [] + } + }, + { + "type": "ClassMethod", + "start": 1234, + "end": 2031, + "loc": { + "start": { + "line": 61, + "column": 1 + }, + "end": { + "line": 100, + "column": 2 + } + }, + "computed": false, + "key": { + "type": "Identifier", + "start": 1234, + "end": 1237, + "loc": { + "start": { + "line": 61, + "column": 1 + }, + "end": { + "line": 61, + "column": 4 + }, + "identifierName": "sub" + }, + "name": "sub" + }, + "static": false, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1240, + "end": 1245, + "loc": { + "start": { + "line": 61, + "column": 7 + }, + "end": { + "line": 61, + "column": 12 + }, + "identifierName": "other" + }, + "name": "other" + } + ], + "body": { + "type": "BlockStatement", + "start": 1248, + "end": 2031, + "loc": { + "start": { + "line": 61, + "column": 15 + }, + "end": { + "line": 100, + "column": 2 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 1253, + "end": 2027, + "loc": { + "start": { + "line": 63, + "column": 2 + }, + "end": { + "line": 98, + "column": 3 + } + }, + "test": { + "type": "BinaryExpression", + "start": 1258, + "end": 1296, + "loc": { + "start": { + "line": 63, + "column": 7 + }, + "end": { + "line": 63, + "column": 45 + } + }, + "left": { + "type": "MemberExpression", + "start": 1258, + "end": 1274, + "loc": { + "start": { + "line": 63, + "column": 7 + }, + "end": { + "line": 63, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 1258, + "end": 1262, + "loc": { + "start": { + "line": 63, + "column": 7 + }, + "end": { + "line": 63, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "start": 1263, + "end": 1274, + "loc": { + "start": { + "line": 63, + "column": 12 + }, + "end": { + "line": 63, + "column": 23 + }, + "identifierName": "is_negative" + }, + "name": "is_negative" + }, + "computed": false + }, + "operator": "!==", + "right": { + "type": "MemberExpression", + "start": 1279, + "end": 1296, + "loc": { + "start": { + "line": 63, + "column": 28 + }, + "end": { + "line": 63, + "column": 45 + } + }, + "object": { + "type": "Identifier", + "start": 1279, + "end": 1284, + "loc": { + "start": { + "line": 63, + "column": 28 + }, + "end": { + "line": 63, + "column": 33 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 1285, + "end": 1296, + "loc": { + "start": { + "line": 63, + "column": 34 + }, + "end": { + "line": 63, + "column": 45 + }, + "identifierName": "is_negative" + }, + "name": "is_negative" + }, + "computed": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 1299, + "end": 1430, + "loc": { + "start": { + "line": 63, + "column": 48 + }, + "end": { + "line": 69, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 1305, + "end": 1425, + "loc": { + "start": { + "line": 65, + "column": 3 + }, + "end": { + "line": 67, + "column": 56 + } + }, + "test": { + "type": "MemberExpression", + "start": 1310, + "end": 1327, + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 1310, + "end": 1315, + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 13 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 1316, + "end": 1327, + "loc": { + "start": { + "line": 65, + "column": 14 + }, + "end": { + "line": 65, + "column": 25 + }, + "identifierName": "is_negative" + }, + "name": "is_negative" + }, + "computed": false + }, + "consequent": { + "type": "ReturnStatement", + "start": 1330, + "end": 1367, + "loc": { + "start": { + "line": 65, + "column": 28 + }, + "end": { + "line": 65, + "column": 65 + } + }, + "argument": { + "type": "CallExpression", + "start": 1337, + "end": 1365, + "loc": { + "start": { + "line": 65, + "column": 35 + }, + "end": { + "line": 65, + "column": 63 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1337, + "end": 1345, + "loc": { + "start": { + "line": 65, + "column": 35 + }, + "end": { + "line": 65, + "column": 43 + } + }, + "object": { + "type": "ThisExpression", + "start": 1337, + "end": 1341, + "loc": { + "start": { + "line": 65, + "column": 35 + }, + "end": { + "line": 65, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "start": 1342, + "end": 1345, + "loc": { + "start": { + "line": 65, + "column": 40 + }, + "end": { + "line": 65, + "column": 43 + }, + "identifierName": "add" + }, + "name": "add" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 1347, + "end": 1363, + "loc": { + "start": { + "line": 65, + "column": 45 + }, + "end": { + "line": 65, + "column": 61 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1347, + "end": 1361, + "loc": { + "start": { + "line": 65, + "column": 45 + }, + "end": { + "line": 65, + "column": 59 + } + }, + "object": { + "type": "Identifier", + "start": 1347, + "end": 1352, + "loc": { + "start": { + "line": 65, + "column": 45 + }, + "end": { + "line": 65, + "column": 50 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 1353, + "end": 1361, + "loc": { + "start": { + "line": 65, + "column": 51 + }, + "end": { + "line": 65, + "column": 59 + }, + "identifierName": "opposite" + }, + "name": "opposite" + }, + "computed": false + }, + "arguments": [] + } + ] + } + }, + "alternate": { + "type": "ReturnStatement", + "start": 1377, + "end": 1425, + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 56 + } + }, + "argument": { + "type": "CallExpression", + "start": 1384, + "end": 1423, + "loc": { + "start": { + "line": 67, + "column": 15 + }, + "end": { + "line": 67, + "column": 54 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1384, + "end": 1421, + "loc": { + "start": { + "line": 67, + "column": 15 + }, + "end": { + "line": 67, + "column": 52 + } + }, + "object": { + "type": "CallExpression", + "start": 1384, + "end": 1412, + "loc": { + "start": { + "line": 67, + "column": 15 + }, + "end": { + "line": 67, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1384, + "end": 1403, + "loc": { + "start": { + "line": 67, + "column": 15 + }, + "end": { + "line": 67, + "column": 34 + } + }, + "object": { + "type": "CallExpression", + "start": 1384, + "end": 1399, + "loc": { + "start": { + "line": 67, + "column": 15 + }, + "end": { + "line": 67, + "column": 30 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1384, + "end": 1397, + "loc": { + "start": { + "line": 67, + "column": 15 + }, + "end": { + "line": 67, + "column": 28 + } + }, + "object": { + "type": "ThisExpression", + "start": 1384, + "end": 1388, + "loc": { + "start": { + "line": 67, + "column": 15 + }, + "end": { + "line": 67, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "start": 1389, + "end": 1397, + "loc": { + "start": { + "line": 67, + "column": 20 + }, + "end": { + "line": 67, + "column": 28 + }, + "identifierName": "opposite" + }, + "name": "opposite" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 1400, + "end": 1403, + "loc": { + "start": { + "line": 67, + "column": 31 + }, + "end": { + "line": 67, + "column": 34 + }, + "identifierName": "add" + }, + "name": "add" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1405, + "end": 1410, + "loc": { + "start": { + "line": 67, + "column": 36 + }, + "end": { + "line": 67, + "column": 41 + }, + "identifierName": "other" + }, + "name": "other" + } + ] + }, + "property": { + "type": "Identifier", + "start": 1413, + "end": 1421, + "loc": { + "start": { + "line": 67, + "column": 44 + }, + "end": { + "line": 67, + "column": 52 + }, + "identifierName": "opposite" + }, + "name": "opposite" + }, + "computed": false + }, + "arguments": [] + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 1439, + "end": 2027, + "loc": { + "start": { + "line": 71, + "column": 7 + }, + "end": { + "line": 98, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 1445, + "end": 1466, + "loc": { + "start": { + "line": 73, + "column": 3 + }, + "end": { + "line": 73, + "column": 24 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1451, + "end": 1464, + "loc": { + "start": { + "line": 73, + "column": 9 + }, + "end": { + "line": 73, + "column": 22 + } + }, + "id": { + "type": "Identifier", + "start": 1451, + "end": 1452, + "loc": { + "start": { + "line": 73, + "column": 9 + }, + "end": { + "line": 73, + "column": 10 + }, + "identifierName": "r" + }, + "name": "r" + }, + "init": { + "type": "MemberExpression", + "start": 1455, + "end": 1464, + "loc": { + "start": { + "line": 73, + "column": 13 + }, + "end": { + "line": 73, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 1455, + "end": 1459, + "loc": { + "start": { + "line": 73, + "column": 13 + }, + "end": { + "line": 73, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "start": 1460, + "end": 1464, + "loc": { + "start": { + "line": 73, + "column": 18 + }, + "end": { + "line": 73, + "column": 22 + }, + "identifierName": "base" + }, + "name": "base" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 1470, + "end": 1492, + "loc": { + "start": { + "line": 74, + "column": 3 + }, + "end": { + "line": 74, + "column": 25 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1476, + "end": 1490, + "loc": { + "start": { + "line": 74, + "column": 9 + }, + "end": { + "line": 74, + "column": 23 + } + }, + "id": { + "type": "Identifier", + "start": 1476, + "end": 1477, + "loc": { + "start": { + "line": 74, + "column": 9 + }, + "end": { + "line": 74, + "column": 10 + }, + "identifierName": "a" + }, + "name": "a" + }, + "init": { + "type": "MemberExpression", + "start": 1480, + "end": 1490, + "loc": { + "start": { + "line": 74, + "column": 13 + }, + "end": { + "line": 74, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 1480, + "end": 1484, + "loc": { + "start": { + "line": 74, + "column": 13 + }, + "end": { + "line": 74, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "start": 1485, + "end": 1490, + "loc": { + "start": { + "line": 74, + "column": 18 + }, + "end": { + "line": 74, + "column": 23 + }, + "identifierName": "limbs" + }, + "name": "limbs" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 1497, + "end": 1504, + "loc": { + "start": { + "line": 76, + "column": 3 + }, + "end": { + "line": 76, + "column": 10 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1501, + "end": 1502, + "loc": { + "start": { + "line": 76, + "column": 7 + }, + "end": { + "line": 76, + "column": 8 + } + }, + "id": { + "type": "Identifier", + "start": 1501, + "end": 1502, + "loc": { + "start": { + "line": 76, + "column": 7 + }, + "end": { + "line": 76, + "column": 8 + }, + "identifierName": "b" + }, + "name": "b" + }, + "init": null + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 1509, + "end": 1629, + "loc": { + "start": { + "line": 78, + "column": 3 + }, + "end": { + "line": 79, + "column": 78 + } + }, + "test": { + "type": "BinaryExpression", + "start": 1514, + "end": 1530, + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 78, + "column": 24 + } + }, + "left": { + "type": "MemberExpression", + "start": 1514, + "end": 1524, + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 78, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 1514, + "end": 1519, + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 78, + "column": 13 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 1520, + "end": 1524, + "loc": { + "start": { + "line": 78, + "column": 14 + }, + "end": { + "line": 78, + "column": 18 + }, + "identifierName": "base" + }, + "name": "base" + }, + "computed": false + }, + "operator": "===", + "right": { + "type": "Identifier", + "start": 1529, + "end": 1530, + "loc": { + "start": { + "line": 78, + "column": 23 + }, + "end": { + "line": 78, + "column": 24 + }, + "identifierName": "r" + }, + "name": "r" + } + }, + "consequent": { + "type": "ExpressionStatement", + "start": 1533, + "end": 1550, + "loc": { + "start": { + "line": 78, + "column": 27 + }, + "end": { + "line": 78, + "column": 44 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1533, + "end": 1548, + "loc": { + "start": { + "line": 78, + "column": 27 + }, + "end": { + "line": 78, + "column": 42 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 1533, + "end": 1534, + "loc": { + "start": { + "line": 78, + "column": 27 + }, + "end": { + "line": 78, + "column": 28 + }, + "identifierName": "b" + }, + "name": "b" + }, + "right": { + "type": "MemberExpression", + "start": 1537, + "end": 1548, + "loc": { + "start": { + "line": 78, + "column": 31 + }, + "end": { + "line": 78, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 1537, + "end": 1542, + "loc": { + "start": { + "line": 78, + "column": 31 + }, + "end": { + "line": 78, + "column": 36 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 1543, + "end": 1548, + "loc": { + "start": { + "line": 78, + "column": 37 + }, + "end": { + "line": 78, + "column": 42 + }, + "identifierName": "limbs" + }, + "name": "limbs" + }, + "computed": false + } + } + }, + "alternate": { + "type": "ExpressionStatement", + "start": 1559, + "end": 1629, + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 78 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1559, + "end": 1627, + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 76 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 1559, + "end": 1560, + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 9 + }, + "identifierName": "b" + }, + "name": "b" + }, + "right": { + "type": "CallExpression", + "start": 1563, + "end": 1627, + "loc": { + "start": { + "line": 79, + "column": 12 + }, + "end": { + "line": 79, + "column": 76 + } + }, + "callee": { + "type": "Identifier", + "start": 1563, + "end": 1570, + "loc": { + "start": { + "line": 79, + "column": 12 + }, + "end": { + "line": 79, + "column": 19 + }, + "identifierName": "convert" + }, + "name": "convert" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 1572, + "end": 1582, + "loc": { + "start": { + "line": 79, + "column": 21 + }, + "end": { + "line": 79, + "column": 31 + } + }, + "object": { + "type": "Identifier", + "start": 1572, + "end": 1577, + "loc": { + "start": { + "line": 79, + "column": 21 + }, + "end": { + "line": 79, + "column": 26 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 1578, + "end": 1582, + "loc": { + "start": { + "line": 79, + "column": 27 + }, + "end": { + "line": 79, + "column": 31 + }, + "identifierName": "base" + }, + "name": "base" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 1585, + "end": 1586, + "loc": { + "start": { + "line": 79, + "column": 34 + }, + "end": { + "line": 79, + "column": 35 + }, + "identifierName": "r" + }, + "name": "r" + }, + { + "type": "MemberExpression", + "start": 1589, + "end": 1600, + "loc": { + "start": { + "line": 79, + "column": 38 + }, + "end": { + "line": 79, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 1589, + "end": 1594, + "loc": { + "start": { + "line": 79, + "column": 38 + }, + "end": { + "line": 79, + "column": 43 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 1595, + "end": 1600, + "loc": { + "start": { + "line": 79, + "column": 44 + }, + "end": { + "line": 79, + "column": 49 + }, + "identifierName": "limbs" + }, + "name": "limbs" + }, + "computed": false + }, + { + "type": "NumericLiteral", + "start": 1603, + "end": 1604, + "loc": { + "start": { + "line": 79, + "column": 52 + }, + "end": { + "line": 79, + "column": 53 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "MemberExpression", + "start": 1607, + "end": 1625, + "loc": { + "start": { + "line": 79, + "column": 56 + }, + "end": { + "line": 79, + "column": 74 + } + }, + "object": { + "type": "MemberExpression", + "start": 1607, + "end": 1618, + "loc": { + "start": { + "line": 79, + "column": 56 + }, + "end": { + "line": 79, + "column": 67 + } + }, + "object": { + "type": "Identifier", + "start": 1607, + "end": 1612, + "loc": { + "start": { + "line": 79, + "column": 56 + }, + "end": { + "line": 79, + "column": 61 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 1613, + "end": 1618, + "loc": { + "start": { + "line": 79, + "column": 62 + }, + "end": { + "line": 79, + "column": 67 + }, + "identifierName": "limbs" + }, + "name": "limbs" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1619, + "end": 1625, + "loc": { + "start": { + "line": 79, + "column": 68 + }, + "end": { + "line": 79, + "column": 74 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + ] + } + } + } + }, + { + "type": "VariableDeclaration", + "start": 1634, + "end": 1687, + "loc": { + "start": { + "line": 81, + "column": 3 + }, + "end": { + "line": 81, + "column": 56 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1640, + "end": 1685, + "loc": { + "start": { + "line": 81, + "column": 9 + }, + "end": { + "line": 81, + "column": 54 + } + }, + "id": { + "type": "Identifier", + "start": 1640, + "end": 1641, + "loc": { + "start": { + "line": 81, + "column": 9 + }, + "end": { + "line": 81, + "column": 10 + }, + "identifierName": "c" + }, + "name": "c" + }, + "init": { + "type": "CallExpression", + "start": 1644, + "end": 1685, + "loc": { + "start": { + "line": 81, + "column": 13 + }, + "end": { + "line": 81, + "column": 54 + } + }, + "callee": { + "type": "Identifier", + "start": 1644, + "end": 1650, + "loc": { + "start": { + "line": 81, + "column": 13 + }, + "end": { + "line": 81, + "column": 19 + }, + "identifierName": "_zeros" + }, + "name": "_zeros" + }, + "arguments": [ + { + "type": "CallExpression", + "start": 1652, + "end": 1683, + "loc": { + "start": { + "line": 81, + "column": 21 + }, + "end": { + "line": 81, + "column": 52 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1652, + "end": 1660, + "loc": { + "start": { + "line": 81, + "column": 21 + }, + "end": { + "line": 81, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 1652, + "end": 1656, + "loc": { + "start": { + "line": 81, + "column": 21 + }, + "end": { + "line": 81, + "column": 25 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 1657, + "end": 1660, + "loc": { + "start": { + "line": 81, + "column": 26 + }, + "end": { + "line": 81, + "column": 29 + }, + "identifierName": "max" + }, + "name": "max" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 1662, + "end": 1670, + "loc": { + "start": { + "line": 81, + "column": 31 + }, + "end": { + "line": 81, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 1662, + "end": 1663, + "loc": { + "start": { + "line": 81, + "column": 31 + }, + "end": { + "line": 81, + "column": 32 + }, + "identifierName": "a" + }, + "name": "a" + }, + "property": { + "type": "Identifier", + "start": 1664, + "end": 1670, + "loc": { + "start": { + "line": 81, + "column": 33 + }, + "end": { + "line": 81, + "column": 39 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 1673, + "end": 1681, + "loc": { + "start": { + "line": 81, + "column": 42 + }, + "end": { + "line": 81, + "column": 50 + } + }, + "object": { + "type": "Identifier", + "start": 1673, + "end": 1674, + "loc": { + "start": { + "line": 81, + "column": 42 + }, + "end": { + "line": 81, + "column": 43 + }, + "identifierName": "b" + }, + "name": "b" + }, + "property": { + "type": "Identifier", + "start": 1675, + "end": 1681, + "loc": { + "start": { + "line": 81, + "column": 44 + }, + "end": { + "line": 81, + "column": 50 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + ] + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 1692, + "end": 2022, + "loc": { + "start": { + "line": 83, + "column": 3 + }, + "end": { + "line": 96, + "column": 4 + } + }, + "test": { + "type": "CallExpression", + "start": 1697, + "end": 1739, + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 50 + } + }, + "callee": { + "type": "Identifier", + "start": 1697, + "end": 1700, + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 11 + }, + "identifierName": "_lt" + }, + "name": "_lt" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1702, + "end": 1703, + "loc": { + "start": { + "line": 83, + "column": 13 + }, + "end": { + "line": 83, + "column": 14 + }, + "identifierName": "a" + }, + "name": "a" + }, + { + "type": "NumericLiteral", + "start": 1706, + "end": 1707, + "loc": { + "start": { + "line": 83, + "column": 17 + }, + "end": { + "line": 83, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "MemberExpression", + "start": 1710, + "end": 1718, + "loc": { + "start": { + "line": 83, + "column": 21 + }, + "end": { + "line": 83, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 1710, + "end": 1711, + "loc": { + "start": { + "line": 83, + "column": 21 + }, + "end": { + "line": 83, + "column": 22 + }, + "identifierName": "a" + }, + "name": "a" + }, + "property": { + "type": "Identifier", + "start": 1712, + "end": 1718, + "loc": { + "start": { + "line": 83, + "column": 23 + }, + "end": { + "line": 83, + "column": 29 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 1721, + "end": 1722, + "loc": { + "start": { + "line": 83, + "column": 32 + }, + "end": { + "line": 83, + "column": 33 + }, + "identifierName": "b" + }, + "name": "b" + }, + { + "type": "NumericLiteral", + "start": 1725, + "end": 1726, + "loc": { + "start": { + "line": 83, + "column": 36 + }, + "end": { + "line": 83, + "column": 37 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "MemberExpression", + "start": 1729, + "end": 1737, + "loc": { + "start": { + "line": 83, + "column": 40 + }, + "end": { + "line": 83, + "column": 48 + } + }, + "object": { + "type": "Identifier", + "start": 1729, + "end": 1730, + "loc": { + "start": { + "line": 83, + "column": 40 + }, + "end": { + "line": 83, + "column": 41 + }, + "identifierName": "b" + }, + "name": "b" + }, + "property": { + "type": "Identifier", + "start": 1731, + "end": 1737, + "loc": { + "start": { + "line": 83, + "column": 42 + }, + "end": { + "line": 83, + "column": 48 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + ] + }, + "consequent": { + "type": "BlockStatement", + "start": 1742, + "end": 1877, + "loc": { + "start": { + "line": 83, + "column": 53 + }, + "end": { + "line": 88, + "column": 4 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1749, + "end": 1817, + "loc": { + "start": { + "line": 85, + "column": 4 + }, + "end": { + "line": 85, + "column": 72 + } + }, + "expression": { + "type": "CallExpression", + "start": 1749, + "end": 1815, + "loc": { + "start": { + "line": 85, + "column": 4 + }, + "end": { + "line": 85, + "column": 70 + } + }, + "callee": { + "type": "Identifier", + "start": 1749, + "end": 1753, + "loc": { + "start": { + "line": 85, + "column": 4 + }, + "end": { + "line": 85, + "column": 8 + }, + "identifierName": "_sub" + }, + "name": "_sub" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1755, + "end": 1756, + "loc": { + "start": { + "line": 85, + "column": 10 + }, + "end": { + "line": 85, + "column": 11 + }, + "identifierName": "r" + }, + "name": "r" + }, + { + "type": "Identifier", + "start": 1759, + "end": 1760, + "loc": { + "start": { + "line": 85, + "column": 14 + }, + "end": { + "line": 85, + "column": 15 + }, + "identifierName": "b" + }, + "name": "b" + }, + { + "type": "NumericLiteral", + "start": 1763, + "end": 1764, + "loc": { + "start": { + "line": 85, + "column": 18 + }, + "end": { + "line": 85, + "column": 19 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "MemberExpression", + "start": 1767, + "end": 1775, + "loc": { + "start": { + "line": 85, + "column": 22 + }, + "end": { + "line": 85, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 1767, + "end": 1768, + "loc": { + "start": { + "line": 85, + "column": 22 + }, + "end": { + "line": 85, + "column": 23 + }, + "identifierName": "b" + }, + "name": "b" + }, + "property": { + "type": "Identifier", + "start": 1769, + "end": 1775, + "loc": { + "start": { + "line": 85, + "column": 24 + }, + "end": { + "line": 85, + "column": 30 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 1778, + "end": 1779, + "loc": { + "start": { + "line": 85, + "column": 33 + }, + "end": { + "line": 85, + "column": 34 + }, + "identifierName": "a" + }, + "name": "a" + }, + { + "type": "NumericLiteral", + "start": 1782, + "end": 1783, + "loc": { + "start": { + "line": 85, + "column": 37 + }, + "end": { + "line": 85, + "column": 38 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "MemberExpression", + "start": 1786, + "end": 1794, + "loc": { + "start": { + "line": 85, + "column": 41 + }, + "end": { + "line": 85, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 1786, + "end": 1787, + "loc": { + "start": { + "line": 85, + "column": 41 + }, + "end": { + "line": 85, + "column": 42 + }, + "identifierName": "a" + }, + "name": "a" + }, + "property": { + "type": "Identifier", + "start": 1788, + "end": 1794, + "loc": { + "start": { + "line": 85, + "column": 43 + }, + "end": { + "line": 85, + "column": 49 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 1797, + "end": 1798, + "loc": { + "start": { + "line": 85, + "column": 52 + }, + "end": { + "line": 85, + "column": 53 + }, + "identifierName": "c" + }, + "name": "c" + }, + { + "type": "NumericLiteral", + "start": 1801, + "end": 1802, + "loc": { + "start": { + "line": 85, + "column": 56 + }, + "end": { + "line": 85, + "column": 57 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "MemberExpression", + "start": 1805, + "end": 1813, + "loc": { + "start": { + "line": 85, + "column": 60 + }, + "end": { + "line": 85, + "column": 68 + } + }, + "object": { + "type": "Identifier", + "start": 1805, + "end": 1806, + "loc": { + "start": { + "line": 85, + "column": 60 + }, + "end": { + "line": 85, + "column": 61 + }, + "identifierName": "c" + }, + "name": "c" + }, + "property": { + "type": "Identifier", + "start": 1807, + "end": 1813, + "loc": { + "start": { + "line": 85, + "column": 62 + }, + "end": { + "line": 85, + "column": 68 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + ] + } + }, + { + "type": "ReturnStatement", + "start": 1823, + "end": 1872, + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 87, + "column": 53 + } + }, + "argument": { + "type": "NewExpression", + "start": 1830, + "end": 1870, + "loc": { + "start": { + "line": 87, + "column": 11 + }, + "end": { + "line": 87, + "column": 51 + } + }, + "callee": { + "type": "Identifier", + "start": 1834, + "end": 1841, + "loc": { + "start": { + "line": 87, + "column": 15 + }, + "end": { + "line": 87, + "column": 22 + }, + "identifierName": "Integer" + }, + "name": "Integer" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1843, + "end": 1844, + "loc": { + "start": { + "line": 87, + "column": 24 + }, + "end": { + "line": 87, + "column": 25 + }, + "identifierName": "r" + }, + "name": "r" + }, + { + "type": "UnaryExpression", + "start": 1847, + "end": 1864, + "loc": { + "start": { + "line": 87, + "column": 28 + }, + "end": { + "line": 87, + "column": 45 + } + }, + "operator": "~", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 1848, + "end": 1864, + "loc": { + "start": { + "line": 87, + "column": 29 + }, + "end": { + "line": 87, + "column": 45 + } + }, + "object": { + "type": "ThisExpression", + "start": 1848, + "end": 1852, + "loc": { + "start": { + "line": 87, + "column": 29 + }, + "end": { + "line": 87, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "start": 1853, + "end": 1864, + "loc": { + "start": { + "line": 87, + "column": 34 + }, + "end": { + "line": 87, + "column": 45 + }, + "identifierName": "is_negative" + }, + "name": "is_negative" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false + } + }, + { + "type": "Identifier", + "start": 1867, + "end": 1868, + "loc": { + "start": { + "line": 87, + "column": 48 + }, + "end": { + "line": 87, + "column": 49 + }, + "identifierName": "c" + }, + "name": "c" + } + ] + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 1887, + "end": 2022, + "loc": { + "start": { + "line": 90, + "column": 8 + }, + "end": { + "line": 96, + "column": 4 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1894, + "end": 1962, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 72 + } + }, + "expression": { + "type": "CallExpression", + "start": 1894, + "end": 1960, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 70 + } + }, + "callee": { + "type": "Identifier", + "start": 1894, + "end": 1898, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 8 + }, + "identifierName": "_sub" + }, + "name": "_sub" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1900, + "end": 1901, + "loc": { + "start": { + "line": 92, + "column": 10 + }, + "end": { + "line": 92, + "column": 11 + }, + "identifierName": "r" + }, + "name": "r" + }, + { + "type": "Identifier", + "start": 1904, + "end": 1905, + "loc": { + "start": { + "line": 92, + "column": 14 + }, + "end": { + "line": 92, + "column": 15 + }, + "identifierName": "a" + }, + "name": "a" + }, + { + "type": "NumericLiteral", + "start": 1908, + "end": 1909, + "loc": { + "start": { + "line": 92, + "column": 18 + }, + "end": { + "line": 92, + "column": 19 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "MemberExpression", + "start": 1912, + "end": 1920, + "loc": { + "start": { + "line": 92, + "column": 22 + }, + "end": { + "line": 92, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 1912, + "end": 1913, + "loc": { + "start": { + "line": 92, + "column": 22 + }, + "end": { + "line": 92, + "column": 23 + }, + "identifierName": "a" + }, + "name": "a" + }, + "property": { + "type": "Identifier", + "start": 1914, + "end": 1920, + "loc": { + "start": { + "line": 92, + "column": 24 + }, + "end": { + "line": 92, + "column": 30 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 1923, + "end": 1924, + "loc": { + "start": { + "line": 92, + "column": 33 + }, + "end": { + "line": 92, + "column": 34 + }, + "identifierName": "b" + }, + "name": "b" + }, + { + "type": "NumericLiteral", + "start": 1927, + "end": 1928, + "loc": { + "start": { + "line": 92, + "column": 37 + }, + "end": { + "line": 92, + "column": 38 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "MemberExpression", + "start": 1931, + "end": 1939, + "loc": { + "start": { + "line": 92, + "column": 41 + }, + "end": { + "line": 92, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 1931, + "end": 1932, + "loc": { + "start": { + "line": 92, + "column": 41 + }, + "end": { + "line": 92, + "column": 42 + }, + "identifierName": "b" + }, + "name": "b" + }, + "property": { + "type": "Identifier", + "start": 1933, + "end": 1939, + "loc": { + "start": { + "line": 92, + "column": 43 + }, + "end": { + "line": 92, + "column": 49 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 1942, + "end": 1943, + "loc": { + "start": { + "line": 92, + "column": 52 + }, + "end": { + "line": 92, + "column": 53 + }, + "identifierName": "c" + }, + "name": "c" + }, + { + "type": "NumericLiteral", + "start": 1946, + "end": 1947, + "loc": { + "start": { + "line": 92, + "column": 56 + }, + "end": { + "line": 92, + "column": 57 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "MemberExpression", + "start": 1950, + "end": 1958, + "loc": { + "start": { + "line": 92, + "column": 60 + }, + "end": { + "line": 92, + "column": 68 + } + }, + "object": { + "type": "Identifier", + "start": 1950, + "end": 1951, + "loc": { + "start": { + "line": 92, + "column": 60 + }, + "end": { + "line": 92, + "column": 61 + }, + "identifierName": "c" + }, + "name": "c" + }, + "property": { + "type": "Identifier", + "start": 1952, + "end": 1958, + "loc": { + "start": { + "line": 92, + "column": 62 + }, + "end": { + "line": 92, + "column": 68 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + ] + } + }, + { + "type": "ReturnStatement", + "start": 1968, + "end": 2016, + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 94, + "column": 52 + } + }, + "argument": { + "type": "NewExpression", + "start": 1975, + "end": 2014, + "loc": { + "start": { + "line": 94, + "column": 11 + }, + "end": { + "line": 94, + "column": 50 + } + }, + "callee": { + "type": "Identifier", + "start": 1979, + "end": 1986, + "loc": { + "start": { + "line": 94, + "column": 15 + }, + "end": { + "line": 94, + "column": 22 + }, + "identifierName": "Integer" + }, + "name": "Integer" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1988, + "end": 1989, + "loc": { + "start": { + "line": 94, + "column": 24 + }, + "end": { + "line": 94, + "column": 25 + }, + "identifierName": "r" + }, + "name": "r" + }, + { + "type": "MemberExpression", + "start": 1992, + "end": 2008, + "loc": { + "start": { + "line": 94, + "column": 28 + }, + "end": { + "line": 94, + "column": 44 + } + }, + "object": { + "type": "ThisExpression", + "start": 1992, + "end": 1996, + "loc": { + "start": { + "line": 94, + "column": 28 + }, + "end": { + "line": 94, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "start": 1997, + "end": 2008, + "loc": { + "start": { + "line": 94, + "column": 33 + }, + "end": { + "line": 94, + "column": 44 + }, + "identifierName": "is_negative" + }, + "name": "is_negative" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 2011, + "end": 2012, + "loc": { + "start": { + "line": 94, + "column": 47 + }, + "end": { + "line": 94, + "column": 48 + }, + "identifierName": "c" + }, + "name": "c" + } + ] + } + } + ], + "directives": [] + } + } + ], + "directives": [] + } + } + ], + "directives": [] + } + }, + { + "type": "ClassMethod", + "start": 2034, + "end": 2477, + "loc": { + "start": { + "line": 102, + "column": 1 + }, + "end": { + "line": 120, + "column": 2 + } + }, + "computed": false, + "key": { + "type": "Identifier", + "start": 2034, + "end": 2037, + "loc": { + "start": { + "line": 102, + "column": 1 + }, + "end": { + "line": 102, + "column": 4 + }, + "identifierName": "mul" + }, + "name": "mul" + }, + "static": false, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2040, + "end": 2045, + "loc": { + "start": { + "line": 102, + "column": 7 + }, + "end": { + "line": 102, + "column": 12 + }, + "identifierName": "other" + }, + "name": "other" + } + ], + "body": { + "type": "BlockStatement", + "start": 2048, + "end": 2477, + "loc": { + "start": { + "line": 102, + "column": 15 + }, + "end": { + "line": 120, + "column": 2 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 2053, + "end": 2118, + "loc": { + "start": { + "line": 104, + "column": 2 + }, + "end": { + "line": 104, + "column": 67 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2059, + "end": 2116, + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 104, + "column": 65 + } + }, + "id": { + "type": "Identifier", + "start": 2059, + "end": 2077, + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 104, + "column": 26 + }, + "identifierName": "result_is_negative" + }, + "name": "result_is_negative" + }, + "init": { + "type": "BinaryExpression", + "start": 2080, + "end": 2116, + "loc": { + "start": { + "line": 104, + "column": 29 + }, + "end": { + "line": 104, + "column": 65 + } + }, + "left": { + "type": "MemberExpression", + "start": 2080, + "end": 2096, + "loc": { + "start": { + "line": 104, + "column": 29 + }, + "end": { + "line": 104, + "column": 45 + } + }, + "object": { + "type": "ThisExpression", + "start": 2080, + "end": 2084, + "loc": { + "start": { + "line": 104, + "column": 29 + }, + "end": { + "line": 104, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "start": 2085, + "end": 2096, + "loc": { + "start": { + "line": 104, + "column": 34 + }, + "end": { + "line": 104, + "column": 45 + }, + "identifierName": "is_negative" + }, + "name": "is_negative" + }, + "computed": false + }, + "operator": "^", + "right": { + "type": "MemberExpression", + "start": 2099, + "end": 2116, + "loc": { + "start": { + "line": 104, + "column": 48 + }, + "end": { + "line": 104, + "column": 65 + } + }, + "object": { + "type": "Identifier", + "start": 2099, + "end": 2104, + "loc": { + "start": { + "line": 104, + "column": 48 + }, + "end": { + "line": 104, + "column": 53 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 2105, + "end": 2116, + "loc": { + "start": { + "line": 104, + "column": 54 + }, + "end": { + "line": 104, + "column": 65 + }, + "identifierName": "is_negative" + }, + "name": "is_negative" + }, + "computed": false + } + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2121, + "end": 2142, + "loc": { + "start": { + "line": 105, + "column": 2 + }, + "end": { + "line": 105, + "column": 23 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2127, + "end": 2140, + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 105, + "column": 21 + } + }, + "id": { + "type": "Identifier", + "start": 2127, + "end": 2128, + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 105, + "column": 9 + }, + "identifierName": "r" + }, + "name": "r" + }, + "init": { + "type": "MemberExpression", + "start": 2131, + "end": 2140, + "loc": { + "start": { + "line": 105, + "column": 12 + }, + "end": { + "line": 105, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 2131, + "end": 2135, + "loc": { + "start": { + "line": 105, + "column": 12 + }, + "end": { + "line": 105, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 2136, + "end": 2140, + "loc": { + "start": { + "line": 105, + "column": 17 + }, + "end": { + "line": 105, + "column": 21 + }, + "identifierName": "base" + }, + "name": "base" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2146, + "end": 2168, + "loc": { + "start": { + "line": 107, + "column": 2 + }, + "end": { + "line": 107, + "column": 24 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2152, + "end": 2166, + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 22 + } + }, + "id": { + "type": "Identifier", + "start": 2152, + "end": 2153, + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 9 + }, + "identifierName": "a" + }, + "name": "a" + }, + "init": { + "type": "MemberExpression", + "start": 2156, + "end": 2166, + "loc": { + "start": { + "line": 107, + "column": 12 + }, + "end": { + "line": 107, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 2156, + "end": 2160, + "loc": { + "start": { + "line": 107, + "column": 12 + }, + "end": { + "line": 107, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 2161, + "end": 2166, + "loc": { + "start": { + "line": 107, + "column": 17 + }, + "end": { + "line": 107, + "column": 22 + }, + "identifierName": "limbs" + }, + "name": "limbs" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2172, + "end": 2179, + "loc": { + "start": { + "line": 109, + "column": 2 + }, + "end": { + "line": 109, + "column": 9 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2176, + "end": 2177, + "loc": { + "start": { + "line": 109, + "column": 6 + }, + "end": { + "line": 109, + "column": 7 + } + }, + "id": { + "type": "Identifier", + "start": 2176, + "end": 2177, + "loc": { + "start": { + "line": 109, + "column": 6 + }, + "end": { + "line": 109, + "column": 7 + }, + "identifierName": "b" + }, + "name": "b" + }, + "init": null + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 2183, + "end": 2302, + "loc": { + "start": { + "line": 111, + "column": 2 + }, + "end": { + "line": 112, + "column": 77 + } + }, + "test": { + "type": "BinaryExpression", + "start": 2188, + "end": 2204, + "loc": { + "start": { + "line": 111, + "column": 7 + }, + "end": { + "line": 111, + "column": 23 + } + }, + "left": { + "type": "MemberExpression", + "start": 2188, + "end": 2198, + "loc": { + "start": { + "line": 111, + "column": 7 + }, + "end": { + "line": 111, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 2188, + "end": 2193, + "loc": { + "start": { + "line": 111, + "column": 7 + }, + "end": { + "line": 111, + "column": 12 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 2194, + "end": 2198, + "loc": { + "start": { + "line": 111, + "column": 13 + }, + "end": { + "line": 111, + "column": 17 + }, + "identifierName": "base" + }, + "name": "base" + }, + "computed": false + }, + "operator": "===", + "right": { + "type": "Identifier", + "start": 2203, + "end": 2204, + "loc": { + "start": { + "line": 111, + "column": 22 + }, + "end": { + "line": 111, + "column": 23 + }, + "identifierName": "r" + }, + "name": "r" + } + }, + "consequent": { + "type": "ExpressionStatement", + "start": 2207, + "end": 2224, + "loc": { + "start": { + "line": 111, + "column": 26 + }, + "end": { + "line": 111, + "column": 43 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2207, + "end": 2222, + "loc": { + "start": { + "line": 111, + "column": 26 + }, + "end": { + "line": 111, + "column": 41 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 2207, + "end": 2208, + "loc": { + "start": { + "line": 111, + "column": 26 + }, + "end": { + "line": 111, + "column": 27 + }, + "identifierName": "b" + }, + "name": "b" + }, + "right": { + "type": "MemberExpression", + "start": 2211, + "end": 2222, + "loc": { + "start": { + "line": 111, + "column": 30 + }, + "end": { + "line": 111, + "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 2211, + "end": 2216, + "loc": { + "start": { + "line": 111, + "column": 30 + }, + "end": { + "line": 111, + "column": 35 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 2217, + "end": 2222, + "loc": { + "start": { + "line": 111, + "column": 36 + }, + "end": { + "line": 111, + "column": 41 + }, + "identifierName": "limbs" + }, + "name": "limbs" + }, + "computed": false + } + } + }, + "alternate": { + "type": "ExpressionStatement", + "start": 2232, + "end": 2302, + "loc": { + "start": { + "line": 112, + "column": 7 + }, + "end": { + "line": 112, + "column": 77 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2232, + "end": 2300, + "loc": { + "start": { + "line": 112, + "column": 7 + }, + "end": { + "line": 112, + "column": 75 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 2232, + "end": 2233, + "loc": { + "start": { + "line": 112, + "column": 7 + }, + "end": { + "line": 112, + "column": 8 + }, + "identifierName": "b" + }, + "name": "b" + }, + "right": { + "type": "CallExpression", + "start": 2236, + "end": 2300, + "loc": { + "start": { + "line": 112, + "column": 11 + }, + "end": { + "line": 112, + "column": 75 + } + }, + "callee": { + "type": "Identifier", + "start": 2236, + "end": 2243, + "loc": { + "start": { + "line": 112, + "column": 11 + }, + "end": { + "line": 112, + "column": 18 + }, + "identifierName": "convert" + }, + "name": "convert" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 2245, + "end": 2255, + "loc": { + "start": { + "line": 112, + "column": 20 + }, + "end": { + "line": 112, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 2245, + "end": 2250, + "loc": { + "start": { + "line": 112, + "column": 20 + }, + "end": { + "line": 112, + "column": 25 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 2251, + "end": 2255, + "loc": { + "start": { + "line": 112, + "column": 26 + }, + "end": { + "line": 112, + "column": 30 + }, + "identifierName": "base" + }, + "name": "base" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 2258, + "end": 2259, + "loc": { + "start": { + "line": 112, + "column": 33 + }, + "end": { + "line": 112, + "column": 34 + }, + "identifierName": "r" + }, + "name": "r" + }, + { + "type": "MemberExpression", + "start": 2262, + "end": 2273, + "loc": { + "start": { + "line": 112, + "column": 37 + }, + "end": { + "line": 112, + "column": 48 + } + }, + "object": { + "type": "Identifier", + "start": 2262, + "end": 2267, + "loc": { + "start": { + "line": 112, + "column": 37 + }, + "end": { + "line": 112, + "column": 42 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 2268, + "end": 2273, + "loc": { + "start": { + "line": 112, + "column": 43 + }, + "end": { + "line": 112, + "column": 48 + }, + "identifierName": "limbs" + }, + "name": "limbs" + }, + "computed": false + }, + { + "type": "NumericLiteral", + "start": 2276, + "end": 2277, + "loc": { + "start": { + "line": 112, + "column": 51 + }, + "end": { + "line": 112, + "column": 52 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "MemberExpression", + "start": 2280, + "end": 2298, + "loc": { + "start": { + "line": 112, + "column": 55 + }, + "end": { + "line": 112, + "column": 73 + } + }, + "object": { + "type": "MemberExpression", + "start": 2280, + "end": 2291, + "loc": { + "start": { + "line": 112, + "column": 55 + }, + "end": { + "line": 112, + "column": 66 + } + }, + "object": { + "type": "Identifier", + "start": 2280, + "end": 2285, + "loc": { + "start": { + "line": 112, + "column": 55 + }, + "end": { + "line": 112, + "column": 60 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 2286, + "end": 2291, + "loc": { + "start": { + "line": 112, + "column": 61 + }, + "end": { + "line": 112, + "column": 66 + }, + "identifierName": "limbs" + }, + "name": "limbs" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2292, + "end": 2298, + "loc": { + "start": { + "line": 112, + "column": 67 + }, + "end": { + "line": 112, + "column": 73 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + ] + } + } + } + }, + { + "type": "VariableDeclaration", + "start": 2306, + "end": 2347, + "loc": { + "start": { + "line": 114, + "column": 2 + }, + "end": { + "line": 114, + "column": 43 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2312, + "end": 2345, + "loc": { + "start": { + "line": 114, + "column": 8 + }, + "end": { + "line": 114, + "column": 41 + } + }, + "id": { + "type": "Identifier", + "start": 2312, + "end": 2313, + "loc": { + "start": { + "line": 114, + "column": 8 + }, + "end": { + "line": 114, + "column": 9 + }, + "identifierName": "c" + }, + "name": "c" + }, + "init": { + "type": "CallExpression", + "start": 2316, + "end": 2345, + "loc": { + "start": { + "line": 114, + "column": 12 + }, + "end": { + "line": 114, + "column": 41 + } + }, + "callee": { + "type": "Identifier", + "start": 2316, + "end": 2322, + "loc": { + "start": { + "line": 114, + "column": 12 + }, + "end": { + "line": 114, + "column": 18 + }, + "identifierName": "_zeros" + }, + "name": "_zeros" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 2324, + "end": 2343, + "loc": { + "start": { + "line": 114, + "column": 20 + }, + "end": { + "line": 114, + "column": 39 + } + }, + "left": { + "type": "MemberExpression", + "start": 2324, + "end": 2332, + "loc": { + "start": { + "line": 114, + "column": 20 + }, + "end": { + "line": 114, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 2324, + "end": 2325, + "loc": { + "start": { + "line": 114, + "column": 20 + }, + "end": { + "line": 114, + "column": 21 + }, + "identifierName": "a" + }, + "name": "a" + }, + "property": { + "type": "Identifier", + "start": 2326, + "end": 2332, + "loc": { + "start": { + "line": 114, + "column": 22 + }, + "end": { + "line": 114, + "column": 28 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": "+", + "right": { + "type": "MemberExpression", + "start": 2335, + "end": 2343, + "loc": { + "start": { + "line": 114, + "column": 31 + }, + "end": { + "line": 114, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 2335, + "end": 2336, + "loc": { + "start": { + "line": 114, + "column": 31 + }, + "end": { + "line": 114, + "column": 32 + }, + "identifierName": "b" + }, + "name": "b" + }, + "property": { + "type": "Identifier", + "start": 2337, + "end": 2343, + "loc": { + "start": { + "line": 114, + "column": 33 + }, + "end": { + "line": 114, + "column": 39 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 2351, + "end": 2419, + "loc": { + "start": { + "line": 116, + "column": 2 + }, + "end": { + "line": 116, + "column": 70 + } + }, + "expression": { + "type": "CallExpression", + "start": 2351, + "end": 2417, + "loc": { + "start": { + "line": 116, + "column": 2 + }, + "end": { + "line": 116, + "column": 68 + } + }, + "callee": { + "type": "Identifier", + "start": 2351, + "end": 2355, + "loc": { + "start": { + "line": 116, + "column": 2 + }, + "end": { + "line": 116, + "column": 6 + }, + "identifierName": "_mul" + }, + "name": "_mul" + }, + "arguments": [ + { + "type": "Identifier", + "start": 2357, + "end": 2358, + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 9 + }, + "identifierName": "r" + }, + "name": "r" + }, + { + "type": "Identifier", + "start": 2361, + "end": 2362, + "loc": { + "start": { + "line": 116, + "column": 12 + }, + "end": { + "line": 116, + "column": 13 + }, + "identifierName": "a" + }, + "name": "a" + }, + { + "type": "NumericLiteral", + "start": 2365, + "end": 2366, + "loc": { + "start": { + "line": 116, + "column": 16 + }, + "end": { + "line": 116, + "column": 17 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "MemberExpression", + "start": 2369, + "end": 2377, + "loc": { + "start": { + "line": 116, + "column": 20 + }, + "end": { + "line": 116, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 2369, + "end": 2370, + "loc": { + "start": { + "line": 116, + "column": 20 + }, + "end": { + "line": 116, + "column": 21 + }, + "identifierName": "a" + }, + "name": "a" + }, + "property": { + "type": "Identifier", + "start": 2371, + "end": 2377, + "loc": { + "start": { + "line": 116, + "column": 22 + }, + "end": { + "line": 116, + "column": 28 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 2380, + "end": 2381, + "loc": { + "start": { + "line": 116, + "column": 31 + }, + "end": { + "line": 116, + "column": 32 + }, + "identifierName": "b" + }, + "name": "b" + }, + { + "type": "NumericLiteral", + "start": 2384, + "end": 2385, + "loc": { + "start": { + "line": 116, + "column": 35 + }, + "end": { + "line": 116, + "column": 36 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "MemberExpression", + "start": 2388, + "end": 2396, + "loc": { + "start": { + "line": 116, + "column": 39 + }, + "end": { + "line": 116, + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 2388, + "end": 2389, + "loc": { + "start": { + "line": 116, + "column": 39 + }, + "end": { + "line": 116, + "column": 40 + }, + "identifierName": "b" + }, + "name": "b" + }, + "property": { + "type": "Identifier", + "start": 2390, + "end": 2396, + "loc": { + "start": { + "line": 116, + "column": 41 + }, + "end": { + "line": 116, + "column": 47 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 2399, + "end": 2400, + "loc": { + "start": { + "line": 116, + "column": 50 + }, + "end": { + "line": 116, + "column": 51 + }, + "identifierName": "c" + }, + "name": "c" + }, + { + "type": "NumericLiteral", + "start": 2403, + "end": 2404, + "loc": { + "start": { + "line": 116, + "column": 54 + }, + "end": { + "line": 116, + "column": 55 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "MemberExpression", + "start": 2407, + "end": 2415, + "loc": { + "start": { + "line": 116, + "column": 58 + }, + "end": { + "line": 116, + "column": 66 + } + }, + "object": { + "type": "Identifier", + "start": 2407, + "end": 2408, + "loc": { + "start": { + "line": 116, + "column": 58 + }, + "end": { + "line": 116, + "column": 59 + }, + "identifierName": "c" + }, + "name": "c" + }, + "property": { + "type": "Identifier", + "start": 2409, + "end": 2415, + "loc": { + "start": { + "line": 116, + "column": 60 + }, + "end": { + "line": 116, + "column": 66 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + ] + } + }, + { + "type": "ReturnStatement", + "start": 2423, + "end": 2473, + "loc": { + "start": { + "line": 118, + "column": 2 + }, + "end": { + "line": 118, + "column": 52 + } + }, + "argument": { + "type": "NewExpression", + "start": 2430, + "end": 2471, + "loc": { + "start": { + "line": 118, + "column": 9 + }, + "end": { + "line": 118, + "column": 50 + } + }, + "callee": { + "type": "Identifier", + "start": 2434, + "end": 2441, + "loc": { + "start": { + "line": 118, + "column": 13 + }, + "end": { + "line": 118, + "column": 20 + }, + "identifierName": "Integer" + }, + "name": "Integer" + }, + "arguments": [ + { + "type": "Identifier", + "start": 2443, + "end": 2444, + "loc": { + "start": { + "line": 118, + "column": 22 + }, + "end": { + "line": 118, + "column": 23 + }, + "identifierName": "r" + }, + "name": "r" + }, + { + "type": "Identifier", + "start": 2447, + "end": 2465, + "loc": { + "start": { + "line": 118, + "column": 26 + }, + "end": { + "line": 118, + "column": 44 + }, + "identifierName": "result_is_negative" + }, + "name": "result_is_negative" + }, + { + "type": "Identifier", + "start": 2468, + "end": 2469, + "loc": { + "start": { + "line": 118, + "column": 47 + }, + "end": { + "line": 118, + "column": 48 + }, + "identifierName": "c" + }, + "name": "c" + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ClassMethod", + "start": 2480, + "end": 2588, + "loc": { + "start": { + "line": 122, + "column": 1 + }, + "end": { + "line": 124, + "column": 2 + } + }, + "computed": false, + "key": { + "type": "Identifier", + "start": 2480, + "end": 2483, + "loc": { + "start": { + "line": 122, + "column": 1 + }, + "end": { + "line": 122, + "column": 4 + }, + "identifierName": "pow" + }, + "name": "pow" + }, + "static": false, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2486, + "end": 2491, + "loc": { + "start": { + "line": 122, + "column": 7 + }, + "end": { + "line": 122, + "column": 12 + }, + "identifierName": "other" + }, + "name": "other" + } + ], + "body": { + "type": "BlockStatement", + "start": 2494, + "end": 2588, + "loc": { + "start": { + "line": 122, + "column": 15 + }, + "end": { + "line": 124, + "column": 2 + } + }, + "body": [ + { + "type": "ThrowStatement", + "start": 2498, + "end": 2585, + "loc": { + "start": { + "line": 123, + "column": 2 + }, + "end": { + "line": 123, + "column": 89 + } + }, + "argument": { + "type": "StringLiteral", + "start": 2504, + "end": 2583, + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 87 + } + }, + "extra": { + "rawValue": "Integer#pow not implemented yet, waiting for @aureooms/js-integer-big-endian.", + "raw": "'Integer#pow not implemented yet, waiting for @aureooms/js-integer-big-endian.'" + }, + "value": "Integer#pow not implemented yet, waiting for @aureooms/js-integer-big-endian." + } + } + ], + "directives": [] + } + }, + { + "type": "ClassMethod", + "start": 2591, + "end": 2644, + "loc": { + "start": { + "line": 126, + "column": 1 + }, + "end": { + "line": 128, + "column": 2 + } + }, + "computed": false, + "key": { + "type": "Identifier", + "start": 2591, + "end": 2594, + "loc": { + "start": { + "line": 126, + "column": 1 + }, + "end": { + "line": 126, + "column": 4 + }, + "identifierName": "div" + }, + "name": "div" + }, + "static": false, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2597, + "end": 2602, + "loc": { + "start": { + "line": 126, + "column": 7 + }, + "end": { + "line": 126, + "column": 12 + }, + "identifierName": "other" + }, + "name": "other" + } + ], + "body": { + "type": "BlockStatement", + "start": 2605, + "end": 2644, + "loc": { + "start": { + "line": 126, + "column": 15 + }, + "end": { + "line": 128, + "column": 2 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2609, + "end": 2641, + "loc": { + "start": { + "line": 127, + "column": 2 + }, + "end": { + "line": 127, + "column": 34 + } + }, + "argument": { + "type": "MemberExpression", + "start": 2616, + "end": 2639, + "loc": { + "start": { + "line": 127, + "column": 9 + }, + "end": { + "line": 127, + "column": 32 + } + }, + "object": { + "type": "CallExpression", + "start": 2616, + "end": 2636, + "loc": { + "start": { + "line": 127, + "column": 9 + }, + "end": { + "line": 127, + "column": 29 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2616, + "end": 2627, + "loc": { + "start": { + "line": 127, + "column": 9 + }, + "end": { + "line": 127, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 2616, + "end": 2620, + "loc": { + "start": { + "line": 127, + "column": 9 + }, + "end": { + "line": 127, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "start": 2621, + "end": 2627, + "loc": { + "start": { + "line": 127, + "column": 14 + }, + "end": { + "line": 127, + "column": 20 + }, + "identifierName": "divmod" + }, + "name": "divmod" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2629, + "end": 2634, + "loc": { + "start": { + "line": 127, + "column": 22 + }, + "end": { + "line": 127, + "column": 27 + }, + "identifierName": "other" + }, + "name": "other" + } + ] + }, + "property": { + "type": "NumericLiteral", + "start": 2637, + "end": 2638, + "loc": { + "start": { + "line": 127, + "column": 30 + }, + "end": { + "line": 127, + "column": 31 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "computed": true + } + } + ], + "directives": [] + } + }, + { + "type": "ClassMethod", + "start": 2647, + "end": 2700, + "loc": { + "start": { + "line": 130, + "column": 1 + }, + "end": { + "line": 132, + "column": 2 + } + }, + "computed": false, + "key": { + "type": "Identifier", + "start": 2647, + "end": 2650, + "loc": { + "start": { + "line": 130, + "column": 1 + }, + "end": { + "line": 130, + "column": 4 + }, + "identifierName": "mod" + }, + "name": "mod" + }, + "static": false, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2653, + "end": 2658, + "loc": { + "start": { + "line": 130, + "column": 7 + }, + "end": { + "line": 130, + "column": 12 + }, + "identifierName": "other" + }, + "name": "other" + } + ], + "body": { + "type": "BlockStatement", + "start": 2661, + "end": 2700, + "loc": { + "start": { + "line": 130, + "column": 15 + }, + "end": { + "line": 132, + "column": 2 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2665, + "end": 2697, + "loc": { + "start": { + "line": 131, + "column": 2 + }, + "end": { + "line": 131, + "column": 34 + } + }, + "argument": { + "type": "MemberExpression", + "start": 2672, + "end": 2695, + "loc": { + "start": { + "line": 131, + "column": 9 + }, + "end": { + "line": 131, + "column": 32 + } + }, + "object": { + "type": "CallExpression", + "start": 2672, + "end": 2692, + "loc": { + "start": { + "line": 131, + "column": 9 + }, + "end": { + "line": 131, + "column": 29 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2672, + "end": 2683, + "loc": { + "start": { + "line": 131, + "column": 9 + }, + "end": { + "line": 131, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 2672, + "end": 2676, + "loc": { + "start": { + "line": 131, + "column": 9 + }, + "end": { + "line": 131, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "start": 2677, + "end": 2683, + "loc": { + "start": { + "line": 131, + "column": 14 + }, + "end": { + "line": 131, + "column": 20 + }, + "identifierName": "divmod" + }, + "name": "divmod" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2685, + "end": 2690, + "loc": { + "start": { + "line": 131, + "column": 22 + }, + "end": { + "line": 131, + "column": 27 + }, + "identifierName": "other" + }, + "name": "other" + } + ] + }, + "property": { + "type": "NumericLiteral", + "start": 2693, + "end": 2694, + "loc": { + "start": { + "line": 131, + "column": 30 + }, + "end": { + "line": 131, + "column": 31 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "computed": true + } + } + ], + "directives": [] + } + }, + { + "type": "ClassMethod", + "start": 2703, + "end": 3354, + "loc": { + "start": { + "line": 134, + "column": 1 + }, + "end": { + "line": 158, + "column": 2 + } + }, + "computed": false, + "key": { + "type": "Identifier", + "start": 2703, + "end": 2709, + "loc": { + "start": { + "line": 134, + "column": 1 + }, + "end": { + "line": 134, + "column": 7 + }, + "identifierName": "divmod" + }, + "name": "divmod" + }, + "static": false, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2712, + "end": 2717, + "loc": { + "start": { + "line": 134, + "column": 10 + }, + "end": { + "line": 134, + "column": 15 + }, + "identifierName": "other" + }, + "name": "other" + } + ], + "body": { + "type": "BlockStatement", + "start": 2720, + "end": 3354, + "loc": { + "start": { + "line": 134, + "column": 18 + }, + "end": { + "line": 158, + "column": 2 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 2725, + "end": 2792, + "loc": { + "start": { + "line": 136, + "column": 2 + }, + "end": { + "line": 136, + "column": 69 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2731, + "end": 2790, + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 136, + "column": 67 + } + }, + "id": { + "type": "Identifier", + "start": 2731, + "end": 2751, + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 136, + "column": 28 + }, + "identifierName": "quotient_is_negative" + }, + "name": "quotient_is_negative" + }, + "init": { + "type": "BinaryExpression", + "start": 2754, + "end": 2790, + "loc": { + "start": { + "line": 136, + "column": 31 + }, + "end": { + "line": 136, + "column": 67 + } + }, + "left": { + "type": "MemberExpression", + "start": 2754, + "end": 2770, + "loc": { + "start": { + "line": 136, + "column": 31 + }, + "end": { + "line": 136, + "column": 47 + } + }, + "object": { + "type": "ThisExpression", + "start": 2754, + "end": 2758, + "loc": { + "start": { + "line": 136, + "column": 31 + }, + "end": { + "line": 136, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "start": 2759, + "end": 2770, + "loc": { + "start": { + "line": 136, + "column": 36 + }, + "end": { + "line": 136, + "column": 47 + }, + "identifierName": "is_negative" + }, + "name": "is_negative" + }, + "computed": false + }, + "operator": "^", + "right": { + "type": "MemberExpression", + "start": 2773, + "end": 2790, + "loc": { + "start": { + "line": 136, + "column": 50 + }, + "end": { + "line": 136, + "column": 67 + } + }, + "object": { + "type": "Identifier", + "start": 2773, + "end": 2778, + "loc": { + "start": { + "line": 136, + "column": 50 + }, + "end": { + "line": 136, + "column": 55 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 2779, + "end": 2790, + "loc": { + "start": { + "line": 136, + "column": 56 + }, + "end": { + "line": 136, + "column": 67 + }, + "identifierName": "is_negative" + }, + "name": "is_negative" + }, + "computed": false + } + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2795, + "end": 2816, + "loc": { + "start": { + "line": 137, + "column": 2 + }, + "end": { + "line": 137, + "column": 23 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2801, + "end": 2814, + "loc": { + "start": { + "line": 137, + "column": 8 + }, + "end": { + "line": 137, + "column": 21 + } + }, + "id": { + "type": "Identifier", + "start": 2801, + "end": 2802, + "loc": { + "start": { + "line": 137, + "column": 8 + }, + "end": { + "line": 137, + "column": 9 + }, + "identifierName": "r" + }, + "name": "r" + }, + "init": { + "type": "MemberExpression", + "start": 2805, + "end": 2814, + "loc": { + "start": { + "line": 137, + "column": 12 + }, + "end": { + "line": 137, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 2805, + "end": 2809, + "loc": { + "start": { + "line": 137, + "column": 12 + }, + "end": { + "line": 137, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 2810, + "end": 2814, + "loc": { + "start": { + "line": 137, + "column": 17 + }, + "end": { + "line": 137, + "column": 21 + }, + "identifierName": "base" + }, + "name": "base" + }, + "computed": false + } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentLine", + "value": " Dividend (& Remainder)", + "start": 2820, + "end": 2845, + "loc": { + "start": { + "line": 139, + "column": 2 + }, + "end": { + "line": 139, + "column": 27 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 2848, + "end": 2887, + "loc": { + "start": { + "line": 140, + "column": 2 + }, + "end": { + "line": 140, + "column": 41 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2854, + "end": 2885, + "loc": { + "start": { + "line": 140, + "column": 8 + }, + "end": { + "line": 140, + "column": 39 + } + }, + "id": { + "type": "Identifier", + "start": 2854, + "end": 2855, + "loc": { + "start": { + "line": 140, + "column": 8 + }, + "end": { + "line": 140, + "column": 9 + }, + "identifierName": "D" + }, + "name": "D", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 2858, + "end": 2885, + "loc": { + "start": { + "line": 140, + "column": 12 + }, + "end": { + "line": 140, + "column": 39 + } + }, + "callee": { + "type": "Identifier", + "start": 2858, + "end": 2864, + "loc": { + "start": { + "line": 140, + "column": 12 + }, + "end": { + "line": 140, + "column": 18 + }, + "identifierName": "_alloc" + }, + "name": "_alloc" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 2866, + "end": 2883, + "loc": { + "start": { + "line": 140, + "column": 20 + }, + "end": { + "line": 140, + "column": 37 + } + }, + "object": { + "type": "MemberExpression", + "start": 2866, + "end": 2876, + "loc": { + "start": { + "line": 140, + "column": 20 + }, + "end": { + "line": 140, + "column": 30 + } + }, + "object": { + "type": "ThisExpression", + "start": 2866, + "end": 2870, + "loc": { + "start": { + "line": 140, + "column": 20 + }, + "end": { + "line": 140, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "start": 2871, + "end": 2876, + "loc": { + "start": { + "line": 140, + "column": 25 + }, + "end": { + "line": 140, + "column": 30 + }, + "identifierName": "limbs" + }, + "name": "limbs" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2877, + "end": 2883, + "loc": { + "start": { + "line": 140, + "column": 31 + }, + "end": { + "line": 140, + "column": 37 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + ] + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentLine", + "value": " Dividend (& Remainder)", + "start": 2820, + "end": 2845, + "loc": { + "start": { + "line": 139, + "column": 2 + }, + "end": { + "line": 139, + "column": 27 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 2890, + "end": 2943, + "loc": { + "start": { + "line": 141, + "column": 2 + }, + "end": { + "line": 141, + "column": 55 + } + }, + "expression": { + "type": "CallExpression", + "start": 2890, + "end": 2941, + "loc": { + "start": { + "line": 141, + "column": 2 + }, + "end": { + "line": 141, + "column": 53 + } + }, + "callee": { + "type": "Identifier", + "start": 2890, + "end": 2895, + "loc": { + "start": { + "line": 141, + "column": 2 + }, + "end": { + "line": 141, + "column": 7 + }, + "identifierName": "_copy" + }, + "name": "_copy" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 2897, + "end": 2907, + "loc": { + "start": { + "line": 141, + "column": 9 + }, + "end": { + "line": 141, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 2897, + "end": 2901, + "loc": { + "start": { + "line": 141, + "column": 9 + }, + "end": { + "line": 141, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "start": 2902, + "end": 2907, + "loc": { + "start": { + "line": 141, + "column": 14 + }, + "end": { + "line": 141, + "column": 19 + }, + "identifierName": "limbs" + }, + "name": "limbs" + }, + "computed": false + }, + { + "type": "NumericLiteral", + "start": 2910, + "end": 2911, + "loc": { + "start": { + "line": 141, + "column": 22 + }, + "end": { + "line": 141, + "column": 23 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "MemberExpression", + "start": 2914, + "end": 2931, + "loc": { + "start": { + "line": 141, + "column": 26 + }, + "end": { + "line": 141, + "column": 43 + } + }, + "object": { + "type": "MemberExpression", + "start": 2914, + "end": 2924, + "loc": { + "start": { + "line": 141, + "column": 26 + }, + "end": { + "line": 141, + "column": 36 + } + }, + "object": { + "type": "ThisExpression", + "start": 2914, + "end": 2918, + "loc": { + "start": { + "line": 141, + "column": 26 + }, + "end": { + "line": 141, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "start": 2919, + "end": 2924, + "loc": { + "start": { + "line": 141, + "column": 31 + }, + "end": { + "line": 141, + "column": 36 + }, + "identifierName": "limbs" + }, + "name": "limbs" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2925, + "end": 2931, + "loc": { + "start": { + "line": 141, + "column": 37 + }, + "end": { + "line": 141, + "column": 43 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 2934, + "end": 2935, + "loc": { + "start": { + "line": 141, + "column": 46 + }, + "end": { + "line": 141, + "column": 47 + }, + "identifierName": "D" + }, + "name": "D" + }, + { + "type": "NumericLiteral", + "start": 2938, + "end": 2939, + "loc": { + "start": { + "line": 141, + "column": 50 + }, + "end": { + "line": 141, + "column": 51 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + ] + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": " Divisor", + "start": 2947, + "end": 2957, + "loc": { + "start": { + "line": 143, + "column": 2 + }, + "end": { + "line": 143, + "column": 12 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 2960, + "end": 2967, + "loc": { + "start": { + "line": 144, + "column": 2 + }, + "end": { + "line": 144, + "column": 9 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2964, + "end": 2965, + "loc": { + "start": { + "line": 144, + "column": 6 + }, + "end": { + "line": 144, + "column": 7 + } + }, + "id": { + "type": "Identifier", + "start": 2964, + "end": 2965, + "loc": { + "start": { + "line": 144, + "column": 6 + }, + "end": { + "line": 144, + "column": 7 + }, + "identifierName": "d" + }, + "name": "d", + "leadingComments": null + }, + "init": null, + "leadingComments": null + } + ], + "kind": "let", + "leadingComments": [ + { + "type": "CommentLine", + "value": " Divisor", + "start": 2947, + "end": 2957, + "loc": { + "start": { + "line": 143, + "column": 2 + }, + "end": { + "line": 143, + "column": 12 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 2970, + "end": 3089, + "loc": { + "start": { + "line": 145, + "column": 2 + }, + "end": { + "line": 146, + "column": 77 + } + }, + "test": { + "type": "BinaryExpression", + "start": 2975, + "end": 2991, + "loc": { + "start": { + "line": 145, + "column": 7 + }, + "end": { + "line": 145, + "column": 23 + } + }, + "left": { + "type": "MemberExpression", + "start": 2975, + "end": 2985, + "loc": { + "start": { + "line": 145, + "column": 7 + }, + "end": { + "line": 145, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 2975, + "end": 2980, + "loc": { + "start": { + "line": 145, + "column": 7 + }, + "end": { + "line": 145, + "column": 12 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 2981, + "end": 2985, + "loc": { + "start": { + "line": 145, + "column": 13 + }, + "end": { + "line": 145, + "column": 17 + }, + "identifierName": "base" + }, + "name": "base" + }, + "computed": false + }, + "operator": "===", + "right": { + "type": "Identifier", + "start": 2990, + "end": 2991, + "loc": { + "start": { + "line": 145, + "column": 22 + }, + "end": { + "line": 145, + "column": 23 + }, + "identifierName": "r" + }, + "name": "r" + } + }, + "consequent": { + "type": "ExpressionStatement", + "start": 2994, + "end": 3011, + "loc": { + "start": { + "line": 145, + "column": 26 + }, + "end": { + "line": 145, + "column": 43 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2994, + "end": 3009, + "loc": { + "start": { + "line": 145, + "column": 26 + }, + "end": { + "line": 145, + "column": 41 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 2994, + "end": 2995, + "loc": { + "start": { + "line": 145, + "column": 26 + }, + "end": { + "line": 145, + "column": 27 + }, + "identifierName": "d" + }, + "name": "d" + }, + "right": { + "type": "MemberExpression", + "start": 2998, + "end": 3009, + "loc": { + "start": { + "line": 145, + "column": 30 + }, + "end": { + "line": 145, + "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 2998, + "end": 3003, + "loc": { + "start": { + "line": 145, + "column": 30 + }, + "end": { + "line": 145, + "column": 35 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 3004, + "end": 3009, + "loc": { + "start": { + "line": 145, + "column": 36 + }, + "end": { + "line": 145, + "column": 41 + }, + "identifierName": "limbs" + }, + "name": "limbs" + }, + "computed": false + } + } + }, + "alternate": { + "type": "ExpressionStatement", + "start": 3019, + "end": 3089, + "loc": { + "start": { + "line": 146, + "column": 7 + }, + "end": { + "line": 146, + "column": 77 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3019, + "end": 3087, + "loc": { + "start": { + "line": 146, + "column": 7 + }, + "end": { + "line": 146, + "column": 75 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 3019, + "end": 3020, + "loc": { + "start": { + "line": 146, + "column": 7 + }, + "end": { + "line": 146, + "column": 8 + }, + "identifierName": "d" + }, + "name": "d" + }, + "right": { + "type": "CallExpression", + "start": 3023, + "end": 3087, + "loc": { + "start": { + "line": 146, + "column": 11 + }, + "end": { + "line": 146, + "column": 75 + } + }, + "callee": { + "type": "Identifier", + "start": 3023, + "end": 3030, + "loc": { + "start": { + "line": 146, + "column": 11 + }, + "end": { + "line": 146, + "column": 18 + }, + "identifierName": "convert" + }, + "name": "convert" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 3032, + "end": 3042, + "loc": { + "start": { + "line": 146, + "column": 20 + }, + "end": { + "line": 146, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 3032, + "end": 3037, + "loc": { + "start": { + "line": 146, + "column": 20 + }, + "end": { + "line": 146, + "column": 25 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 3038, + "end": 3042, + "loc": { + "start": { + "line": 146, + "column": 26 + }, + "end": { + "line": 146, + "column": 30 + }, + "identifierName": "base" + }, + "name": "base" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 3045, + "end": 3046, + "loc": { + "start": { + "line": 146, + "column": 33 + }, + "end": { + "line": 146, + "column": 34 + }, + "identifierName": "r" + }, + "name": "r" + }, + { + "type": "MemberExpression", + "start": 3049, + "end": 3060, + "loc": { + "start": { + "line": 146, + "column": 37 + }, + "end": { + "line": 146, + "column": 48 + } + }, + "object": { + "type": "Identifier", + "start": 3049, + "end": 3054, + "loc": { + "start": { + "line": 146, + "column": 37 + }, + "end": { + "line": 146, + "column": 42 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 3055, + "end": 3060, + "loc": { + "start": { + "line": 146, + "column": 43 + }, + "end": { + "line": 146, + "column": 48 + }, + "identifierName": "limbs" + }, + "name": "limbs" + }, + "computed": false + }, + { + "type": "NumericLiteral", + "start": 3063, + "end": 3064, + "loc": { + "start": { + "line": 146, + "column": 51 + }, + "end": { + "line": 146, + "column": 52 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "MemberExpression", + "start": 3067, + "end": 3085, + "loc": { + "start": { + "line": 146, + "column": 55 + }, + "end": { + "line": 146, + "column": 73 + } + }, + "object": { + "type": "MemberExpression", + "start": 3067, + "end": 3078, + "loc": { + "start": { + "line": 146, + "column": 55 + }, + "end": { + "line": 146, + "column": 66 + } + }, + "object": { + "type": "Identifier", + "start": 3067, + "end": 3072, + "loc": { + "start": { + "line": 146, + "column": 55 + }, + "end": { + "line": 146, + "column": 60 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 3073, + "end": 3078, + "loc": { + "start": { + "line": 146, + "column": 61 + }, + "end": { + "line": 146, + "column": 66 + }, + "identifierName": "limbs" + }, + "name": "limbs" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3079, + "end": 3085, + "loc": { + "start": { + "line": 146, + "column": 67 + }, + "end": { + "line": 146, + "column": 73 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + ] + } + }, + "trailingComments": null + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": " Quotient", + "start": 3093, + "end": 3104, + "loc": { + "start": { + "line": 148, + "column": 2 + }, + "end": { + "line": 148, + "column": 13 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 3107, + "end": 3137, + "loc": { + "start": { + "line": 149, + "column": 2 + }, + "end": { + "line": 149, + "column": 32 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3113, + "end": 3135, + "loc": { + "start": { + "line": 149, + "column": 8 + }, + "end": { + "line": 149, + "column": 30 + } + }, + "id": { + "type": "Identifier", + "start": 3113, + "end": 3114, + "loc": { + "start": { + "line": 149, + "column": 8 + }, + "end": { + "line": 149, + "column": 9 + }, + "identifierName": "q" + }, + "name": "q", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 3117, + "end": 3135, + "loc": { + "start": { + "line": 149, + "column": 12 + }, + "end": { + "line": 149, + "column": 30 + } + }, + "callee": { + "type": "Identifier", + "start": 3117, + "end": 3123, + "loc": { + "start": { + "line": 149, + "column": 12 + }, + "end": { + "line": 149, + "column": 18 + }, + "identifierName": "_zeros" + }, + "name": "_zeros" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 3125, + "end": 3133, + "loc": { + "start": { + "line": 149, + "column": 20 + }, + "end": { + "line": 149, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 3125, + "end": 3126, + "loc": { + "start": { + "line": 149, + "column": 20 + }, + "end": { + "line": 149, + "column": 21 + }, + "identifierName": "D" + }, + "name": "D" + }, + "property": { + "type": "Identifier", + "start": 3127, + "end": 3133, + "loc": { + "start": { + "line": 149, + "column": 22 + }, + "end": { + "line": 149, + "column": 28 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + ] + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentLine", + "value": " Quotient", + "start": 3093, + "end": 3104, + "loc": { + "start": { + "line": 148, + "column": 2 + }, + "end": { + "line": 148, + "column": 13 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 3141, + "end": 3209, + "loc": { + "start": { + "line": 151, + "column": 2 + }, + "end": { + "line": 151, + "column": 70 + } + }, + "expression": { + "type": "CallExpression", + "start": 3141, + "end": 3207, + "loc": { + "start": { + "line": 151, + "column": 2 + }, + "end": { + "line": 151, + "column": 68 + } + }, + "callee": { + "type": "Identifier", + "start": 3141, + "end": 3145, + "loc": { + "start": { + "line": 151, + "column": 2 + }, + "end": { + "line": 151, + "column": 6 + }, + "identifierName": "_div" + }, + "name": "_div" + }, + "arguments": [ + { + "type": "Identifier", + "start": 3147, + "end": 3148, + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 9 + }, + "identifierName": "r" + }, + "name": "r" + }, + { + "type": "Identifier", + "start": 3151, + "end": 3152, + "loc": { + "start": { + "line": 151, + "column": 12 + }, + "end": { + "line": 151, + "column": 13 + }, + "identifierName": "D" + }, + "name": "D" + }, + { + "type": "NumericLiteral", + "start": 3155, + "end": 3156, + "loc": { + "start": { + "line": 151, + "column": 16 + }, + "end": { + "line": 151, + "column": 17 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "MemberExpression", + "start": 3159, + "end": 3167, + "loc": { + "start": { + "line": 151, + "column": 20 + }, + "end": { + "line": 151, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 3159, + "end": 3160, + "loc": { + "start": { + "line": 151, + "column": 20 + }, + "end": { + "line": 151, + "column": 21 + }, + "identifierName": "D" + }, + "name": "D" + }, + "property": { + "type": "Identifier", + "start": 3161, + "end": 3167, + "loc": { + "start": { + "line": 151, + "column": 22 + }, + "end": { + "line": 151, + "column": 28 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 3170, + "end": 3171, + "loc": { + "start": { + "line": 151, + "column": 31 + }, + "end": { + "line": 151, + "column": 32 + }, + "identifierName": "d" + }, + "name": "d" + }, + { + "type": "NumericLiteral", + "start": 3174, + "end": 3175, + "loc": { + "start": { + "line": 151, + "column": 35 + }, + "end": { + "line": 151, + "column": 36 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "MemberExpression", + "start": 3178, + "end": 3186, + "loc": { + "start": { + "line": 151, + "column": 39 + }, + "end": { + "line": 151, + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 3178, + "end": 3179, + "loc": { + "start": { + "line": 151, + "column": 39 + }, + "end": { + "line": 151, + "column": 40 + }, + "identifierName": "d" + }, + "name": "d" + }, + "property": { + "type": "Identifier", + "start": 3180, + "end": 3186, + "loc": { + "start": { + "line": 151, + "column": 41 + }, + "end": { + "line": 151, + "column": 47 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 3189, + "end": 3190, + "loc": { + "start": { + "line": 151, + "column": 50 + }, + "end": { + "line": 151, + "column": 51 + }, + "identifierName": "q" + }, + "name": "q" + }, + { + "type": "NumericLiteral", + "start": 3193, + "end": 3194, + "loc": { + "start": { + "line": 151, + "column": 54 + }, + "end": { + "line": 151, + "column": 55 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "MemberExpression", + "start": 3197, + "end": 3205, + "loc": { + "start": { + "line": 151, + "column": 58 + }, + "end": { + "line": 151, + "column": 66 + } + }, + "object": { + "type": "Identifier", + "start": 3197, + "end": 3198, + "loc": { + "start": { + "line": 151, + "column": 58 + }, + "end": { + "line": 151, + "column": 59 + }, + "identifierName": "q" + }, + "name": "q" + }, + "property": { + "type": "Identifier", + "start": 3199, + "end": 3205, + "loc": { + "start": { + "line": 151, + "column": 60 + }, + "end": { + "line": 151, + "column": 66 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + ] + } + }, + { + "type": "ReturnStatement", + "start": 3213, + "end": 3350, + "loc": { + "start": { + "line": 153, + "column": 2 + }, + "end": { + "line": 156, + "column": 5 + } + }, + "argument": { + "type": "ArrayExpression", + "start": 3220, + "end": 3348, + "loc": { + "start": { + "line": 153, + "column": 9 + }, + "end": { + "line": 156, + "column": 3 + } + }, + "elements": [ + { + "type": "NewExpression", + "start": 3225, + "end": 3268, + "loc": { + "start": { + "line": 154, + "column": 3 + }, + "end": { + "line": 154, + "column": 46 + } + }, + "callee": { + "type": "Identifier", + "start": 3229, + "end": 3236, + "loc": { + "start": { + "line": 154, + "column": 7 + }, + "end": { + "line": 154, + "column": 14 + }, + "identifierName": "Integer" + }, + "name": "Integer" + }, + "arguments": [ + { + "type": "Identifier", + "start": 3238, + "end": 3239, + "loc": { + "start": { + "line": 154, + "column": 16 + }, + "end": { + "line": 154, + "column": 17 + }, + "identifierName": "r" + }, + "name": "r" + }, + { + "type": "Identifier", + "start": 3242, + "end": 3262, + "loc": { + "start": { + "line": 154, + "column": 20 + }, + "end": { + "line": 154, + "column": 40 + }, + "identifierName": "quotient_is_negative" + }, + "name": "quotient_is_negative" + }, + { + "type": "Identifier", + "start": 3265, + "end": 3266, + "loc": { + "start": { + "line": 154, + "column": 43 + }, + "end": { + "line": 154, + "column": 44 + }, + "identifierName": "q" + }, + "name": "q" + } + ] + }, + { + "type": "NewExpression", + "start": 3286, + "end": 3310, + "loc": { + "start": { + "line": 155, + "column": 3 + }, + "end": { + "line": 155, + "column": 27 + } + }, + "callee": { + "type": "Identifier", + "start": 3290, + "end": 3297, + "loc": { + "start": { + "line": 155, + "column": 7 + }, + "end": { + "line": 155, + "column": 14 + }, + "identifierName": "Integer" + }, + "name": "Integer" + }, + "arguments": [ + { + "type": "Identifier", + "start": 3299, + "end": 3300, + "loc": { + "start": { + "line": 155, + "column": 16 + }, + "end": { + "line": 155, + "column": 17 + }, + "identifierName": "r" + }, + "name": "r" + }, + { + "type": "NumericLiteral", + "start": 3303, + "end": 3304, + "loc": { + "start": { + "line": 155, + "column": 20 + }, + "end": { + "line": 155, + "column": 21 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "Identifier", + "start": 3307, + "end": 3308, + "loc": { + "start": { + "line": 155, + "column": 24 + }, + "end": { + "line": 155, + "column": 25 + }, + "identifierName": "D" + }, + "name": "D" + } + ], + "leadingComments": [ + { + "type": "CommentLine", + "value": " quotient", + "start": 3271, + "end": 3282, + "loc": { + "start": { + "line": 154, + "column": 49 + }, + "end": { + "line": 154, + "column": 60 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " remainder", + "start": 3332, + "end": 3344, + "loc": { + "start": { + "line": 155, + "column": 49 + }, + "end": { + "line": 155, + "column": 61 + } + } + } + ] + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ClassMethod", + "start": 3357, + "end": 3443, + "loc": { + "start": { + "line": 160, + "column": 1 + }, + "end": { + "line": 162, + "column": 2 + } + }, + "computed": false, + "key": { + "type": "Identifier", + "start": 3357, + "end": 3365, + "loc": { + "start": { + "line": 160, + "column": 1 + }, + "end": { + "line": 160, + "column": 9 + }, + "identifierName": "opposite" + }, + "name": "opposite" + }, + "static": false, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 3370, + "end": 3443, + "loc": { + "start": { + "line": 160, + "column": 14 + }, + "end": { + "line": 162, + "column": 2 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 3374, + "end": 3440, + "loc": { + "start": { + "line": 161, + "column": 2 + }, + "end": { + "line": 161, + "column": 68 + } + }, + "argument": { + "type": "NewExpression", + "start": 3381, + "end": 3438, + "loc": { + "start": { + "line": 161, + "column": 9 + }, + "end": { + "line": 161, + "column": 66 + } + }, + "callee": { + "type": "Identifier", + "start": 3385, + "end": 3392, + "loc": { + "start": { + "line": 161, + "column": 13 + }, + "end": { + "line": 161, + "column": 20 + }, + "identifierName": "Integer" + }, + "name": "Integer" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 3394, + "end": 3403, + "loc": { + "start": { + "line": 161, + "column": 22 + }, + "end": { + "line": 161, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 3394, + "end": 3398, + "loc": { + "start": { + "line": 161, + "column": 22 + }, + "end": { + "line": 161, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "start": 3399, + "end": 3403, + "loc": { + "start": { + "line": 161, + "column": 27 + }, + "end": { + "line": 161, + "column": 31 + }, + "identifierName": "base" + }, + "name": "base" + }, + "computed": false + }, + { + "type": "UnaryExpression", + "start": 3406, + "end": 3423, + "loc": { + "start": { + "line": 161, + "column": 34 + }, + "end": { + "line": 161, + "column": 51 + } + }, + "operator": "~", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 3407, + "end": 3423, + "loc": { + "start": { + "line": 161, + "column": 35 + }, + "end": { + "line": 161, + "column": 51 + } + }, + "object": { + "type": "ThisExpression", + "start": 3407, + "end": 3411, + "loc": { + "start": { + "line": 161, + "column": 35 + }, + "end": { + "line": 161, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "start": 3412, + "end": 3423, + "loc": { + "start": { + "line": 161, + "column": 40 + }, + "end": { + "line": 161, + "column": 51 + }, + "identifierName": "is_negative" + }, + "name": "is_negative" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false + } + }, + { + "type": "MemberExpression", + "start": 3426, + "end": 3436, + "loc": { + "start": { + "line": 161, + "column": 54 + }, + "end": { + "line": 161, + "column": 64 + } + }, + "object": { + "type": "ThisExpression", + "start": 3426, + "end": 3430, + "loc": { + "start": { + "line": 161, + "column": 54 + }, + "end": { + "line": 161, + "column": 58 + } + } + }, + "property": { + "type": "Identifier", + "start": 3431, + "end": 3436, + "loc": { + "start": { + "line": 161, + "column": 59 + }, + "end": { + "line": 161, + "column": 64 + }, + "identifierName": "limbs" + }, + "name": "limbs" + }, + "computed": false + } + ] + } + } + ], + "directives": [] + } + } + ] + }, + "leadingComments": [], + "trailingComments": [] + } + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentLine", + "value": " Dividend (& Remainder)", + "start": 2820, + "end": 2845, + "loc": { + "start": { + "line": 139, + "column": 2 + }, + "end": { + "line": 139, + "column": 27 + } + } + }, + { + "type": "CommentLine", + "value": " Divisor", + "start": 2947, + "end": 2957, + "loc": { + "start": { + "line": 143, + "column": 2 + }, + "end": { + "line": 143, + "column": 12 + } + } + }, + { + "type": "CommentLine", + "value": " Quotient", + "start": 3093, + "end": 3104, + "loc": { + "start": { + "line": 148, + "column": 2 + }, + "end": { + "line": 148, + "column": 13 + } + } + }, + { + "type": "CommentLine", + "value": " quotient", + "start": 3271, + "end": 3282, + "loc": { + "start": { + "line": 154, + "column": 49 + }, + "end": { + "line": 154, + "column": 60 + } + } + }, + { + "type": "CommentLine", + "value": " remainder", + "start": 3332, + "end": 3344, + "loc": { + "start": { + "line": 155, + "column": 49 + }, + "end": { + "line": 155, + "column": 61 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1, + "end": 7, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8, + "end": 9, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DEFAULT_DISPLAY_BASE", + "start": 10, + "end": 30, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 31, + "end": 32, + "loc": { + "start": { + "line": 2, + "column": 30 + }, + "end": { + "line": 2, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 33, + "end": 37, + "loc": { + "start": { + "line": 2, + "column": 32 + }, + "end": { + "line": 2, + "column": 36 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./", + "start": 38, + "end": 42, + "loc": { + "start": { + "line": 2, + "column": 37 + }, + "end": { + "line": 2, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 43, + "end": 44, + "loc": { + "start": { + "line": 2, + "column": 42 + }, + "end": { + "line": 2, + "column": 43 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 46, + "end": 52, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 53, + "end": 54, + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stringify", + "start": 56, + "end": 65, + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 10 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 66, + "end": 67, + "loc": { + "start": { + "line": 5, + "column": 11 + }, + "end": { + "line": 5, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convert", + "start": 68, + "end": 75, + "loc": { + "start": { + "line": 5, + "column": 13 + }, + "end": { + "line": 5, + "column": 20 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 76, + "end": 77, + "loc": { + "start": { + "line": 5, + "column": 21 + }, + "end": { + "line": 5, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_alloc", + "start": 79, + "end": 85, + "loc": { + "start": { + "line": 6, + "column": 1 + }, + "end": { + "line": 6, + "column": 7 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 86, + "end": 87, + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_copy", + "start": 88, + "end": 93, + "loc": { + "start": { + "line": 6, + "column": 10 + }, + "end": { + "line": 6, + "column": 15 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 94, + "end": 95, + "loc": { + "start": { + "line": 6, + "column": 16 + }, + "end": { + "line": 6, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_zeros", + "start": 96, + "end": 102, + "loc": { + "start": { + "line": 6, + "column": 18 + }, + "end": { + "line": 6, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 103, + "end": 104, + "loc": { + "start": { + "line": 6, + "column": 25 + }, + "end": { + "line": 6, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_lt", + "start": 106, + "end": 109, + "loc": { + "start": { + "line": 7, + "column": 1 + }, + "end": { + "line": 7, + "column": 4 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 110, + "end": 111, + "loc": { + "start": { + "line": 7, + "column": 5 + }, + "end": { + "line": 7, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_jz", + "start": 112, + "end": 115, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 10 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 116, + "end": 117, + "loc": { + "start": { + "line": 7, + "column": 11 + }, + "end": { + "line": 7, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_add", + "start": 119, + "end": 123, + "loc": { + "start": { + "line": 8, + "column": 1 + }, + "end": { + "line": 8, + "column": 5 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 124, + "end": 125, + "loc": { + "start": { + "line": 8, + "column": 6 + }, + "end": { + "line": 8, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_sub", + "start": 126, + "end": 130, + "loc": { + "start": { + "line": 8, + "column": 8 + }, + "end": { + "line": 8, + "column": 12 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 131, + "end": 132, + "loc": { + "start": { + "line": 8, + "column": 13 + }, + "end": { + "line": 8, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_mul", + "start": 133, + "end": 137, + "loc": { + "start": { + "line": 8, + "column": 15 + }, + "end": { + "line": 8, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 138, + "end": 139, + "loc": { + "start": { + "line": 8, + "column": 20 + }, + "end": { + "line": 8, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_div", + "start": 140, + "end": 144, + "loc": { + "start": { + "line": 8, + "column": 22 + }, + "end": { + "line": 8, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 144, + "end": 145, + "loc": { + "start": { + "line": 8, + "column": 26 + }, + "end": { + "line": 8, + "column": 27 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 146, + "end": 147, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 1 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 148, + "end": 152, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 9, + "column": 6 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "@aureooms/js-integer-big-endian", + "start": 153, + "end": 186, + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 187, + "end": 188, + "loc": { + "start": { + "line": 9, + "column": 41 + }, + "end": { + "line": 9, + "column": 42 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 190, + "end": 196, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 6 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 197, + "end": 202, + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 11, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Integer", + "start": 203, + "end": 210, + "loc": { + "start": { + "line": 11, + "column": 13 + }, + "end": { + "line": 11, + "column": 20 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 211, + "end": 212, + "loc": { + "start": { + "line": 11, + "column": 21 + }, + "end": { + "line": 11, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 215, + "end": 226, + "loc": { + "start": { + "line": 13, + "column": 1 + }, + "end": { + "line": 13, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 227, + "end": 228, + "loc": { + "start": { + "line": 13, + "column": 13 + }, + "end": { + "line": 13, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 229, + "end": 233, + "loc": { + "start": { + "line": 13, + "column": 15 + }, + "end": { + "line": 13, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 234, + "end": 235, + "loc": { + "start": { + "line": 13, + "column": 20 + }, + "end": { + "line": 13, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 236, + "end": 247, + "loc": { + "start": { + "line": 13, + "column": 22 + }, + "end": { + "line": 13, + "column": 33 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 248, + "end": 249, + "loc": { + "start": { + "line": 13, + "column": 34 + }, + "end": { + "line": 13, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 250, + "end": 255, + "loc": { + "start": { + "line": 13, + "column": 36 + }, + "end": { + "line": 13, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 256, + "end": 257, + "loc": { + "start": { + "line": 13, + "column": 42 + }, + "end": { + "line": 13, + "column": 43 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 258, + "end": 259, + "loc": { + "start": { + "line": 13, + "column": 44 + }, + "end": { + "line": 13, + "column": 45 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 262, + "end": 266, + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 14, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 266, + "end": 267, + "loc": { + "start": { + "line": 14, + "column": 6 + }, + "end": { + "line": 14, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 267, + "end": 271, + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 11 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 272, + "end": 273, + "loc": { + "start": { + "line": 14, + "column": 12 + }, + "end": { + "line": 14, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 274, + "end": 278, + "loc": { + "start": { + "line": 14, + "column": 14 + }, + "end": { + "line": 14, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 279, + "end": 280, + "loc": { + "start": { + "line": 14, + "column": 19 + }, + "end": { + "line": 14, + "column": 20 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 283, + "end": 287, + "loc": { + "start": { + "line": 15, + "column": 2 + }, + "end": { + "line": 15, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 287, + "end": 288, + "loc": { + "start": { + "line": 15, + "column": 6 + }, + "end": { + "line": 15, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 288, + "end": 299, + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 300, + "end": 301, + "loc": { + "start": { + "line": 15, + "column": 19 + }, + "end": { + "line": 15, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 302, + "end": 313, + "loc": { + "start": { + "line": 15, + "column": 21 + }, + "end": { + "line": 15, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 314, + "end": 315, + "loc": { + "start": { + "line": 15, + "column": 33 + }, + "end": { + "line": 15, + "column": 34 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 318, + "end": 322, + "loc": { + "start": { + "line": 16, + "column": 2 + }, + "end": { + "line": 16, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 322, + "end": 323, + "loc": { + "start": { + "line": 16, + "column": 6 + }, + "end": { + "line": 16, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 323, + "end": 328, + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 16, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 329, + "end": 330, + "loc": { + "start": { + "line": 16, + "column": 13 + }, + "end": { + "line": 16, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 331, + "end": 336, + "loc": { + "start": { + "line": 16, + "column": 15 + }, + "end": { + "line": 16, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 337, + "end": 338, + "loc": { + "start": { + "line": 16, + "column": 21 + }, + "end": { + "line": 16, + "column": 22 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 340, + "end": 341, + "loc": { + "start": { + "line": 17, + "column": 1 + }, + "end": { + "line": 17, + "column": 2 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "toString", + "start": 344, + "end": 352, + "loc": { + "start": { + "line": 19, + "column": 1 + }, + "end": { + "line": 19, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 353, + "end": 354, + "loc": { + "start": { + "line": 19, + "column": 10 + }, + "end": { + "line": 19, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 355, + "end": 359, + "loc": { + "start": { + "line": 19, + "column": 12 + }, + "end": { + "line": 19, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 360, + "end": 361, + "loc": { + "start": { + "line": 19, + "column": 17 + }, + "end": { + "line": 19, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DEFAULT_DISPLAY_BASE", + "start": 362, + "end": 382, + "loc": { + "start": { + "line": 19, + "column": 19 + }, + "end": { + "line": 19, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 383, + "end": 384, + "loc": { + "start": { + "line": 19, + "column": 40 + }, + "end": { + "line": 19, + "column": 41 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 385, + "end": 386, + "loc": { + "start": { + "line": 19, + "column": 42 + }, + "end": { + "line": 19, + "column": 43 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 390, + "end": 392, + "loc": { + "start": { + "line": 21, + "column": 2 + }, + "end": { + "line": 21, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 393, + "end": 394, + "loc": { + "start": { + "line": 21, + "column": 5 + }, + "end": { + "line": 21, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_jz", + "start": 395, + "end": 398, + "loc": { + "start": { + "line": 21, + "column": 7 + }, + "end": { + "line": 21, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 398, + "end": 399, + "loc": { + "start": { + "line": 21, + "column": 10 + }, + "end": { + "line": 21, + "column": 11 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 400, + "end": 404, + "loc": { + "start": { + "line": 21, + "column": 12 + }, + "end": { + "line": 21, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 404, + "end": 405, + "loc": { + "start": { + "line": 21, + "column": 16 + }, + "end": { + "line": 21, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 405, + "end": 410, + "loc": { + "start": { + "line": 21, + "column": 17 + }, + "end": { + "line": 21, + "column": 22 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 411, + "end": 412, + "loc": { + "start": { + "line": 21, + "column": 23 + }, + "end": { + "line": 21, + "column": 24 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 413, + "end": 414, + "loc": { + "start": { + "line": 21, + "column": 25 + }, + "end": { + "line": 21, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 415, + "end": 416, + "loc": { + "start": { + "line": 21, + "column": 27 + }, + "end": { + "line": 21, + "column": 28 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 417, + "end": 421, + "loc": { + "start": { + "line": 21, + "column": 29 + }, + "end": { + "line": 21, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 421, + "end": 422, + "loc": { + "start": { + "line": 21, + "column": 33 + }, + "end": { + "line": 21, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 422, + "end": 427, + "loc": { + "start": { + "line": 21, + "column": 34 + }, + "end": { + "line": 21, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 427, + "end": 428, + "loc": { + "start": { + "line": 21, + "column": 39 + }, + "end": { + "line": 21, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 428, + "end": 434, + "loc": { + "start": { + "line": 21, + "column": 40 + }, + "end": { + "line": 21, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 435, + "end": 436, + "loc": { + "start": { + "line": 21, + "column": 47 + }, + "end": { + "line": 21, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 437, + "end": 438, + "loc": { + "start": { + "line": 21, + "column": 49 + }, + "end": { + "line": 21, + "column": 50 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 439, + "end": 445, + "loc": { + "start": { + "line": 21, + "column": 51 + }, + "end": { + "line": 21, + "column": 57 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "0", + "start": 446, + "end": 449, + "loc": { + "start": { + "line": 21, + "column": 58 + }, + "end": { + "line": 21, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 450, + "end": 451, + "loc": { + "start": { + "line": 21, + "column": 62 + }, + "end": { + "line": 21, + "column": 63 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 455, + "end": 460, + "loc": { + "start": { + "line": 23, + "column": 2 + }, + "end": { + "line": 23, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "digits", + "start": 461, + "end": 467, + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 468, + "end": 469, + "loc": { + "start": { + "line": 23, + "column": 15 + }, + "end": { + "line": 23, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stringify", + "start": 470, + "end": 479, + "loc": { + "start": { + "line": 23, + "column": 17 + }, + "end": { + "line": 23, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 479, + "end": 480, + "loc": { + "start": { + "line": 23, + "column": 26 + }, + "end": { + "line": 23, + "column": 27 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 481, + "end": 485, + "loc": { + "start": { + "line": 23, + "column": 28 + }, + "end": { + "line": 23, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 485, + "end": 486, + "loc": { + "start": { + "line": 23, + "column": 32 + }, + "end": { + "line": 23, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 486, + "end": 490, + "loc": { + "start": { + "line": 23, + "column": 33 + }, + "end": { + "line": 23, + "column": 37 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 491, + "end": 492, + "loc": { + "start": { + "line": 23, + "column": 38 + }, + "end": { + "line": 23, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 493, + "end": 497, + "loc": { + "start": { + "line": 23, + "column": 40 + }, + "end": { + "line": 23, + "column": 44 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 498, + "end": 499, + "loc": { + "start": { + "line": 23, + "column": 45 + }, + "end": { + "line": 23, + "column": 46 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 500, + "end": 504, + "loc": { + "start": { + "line": 23, + "column": 47 + }, + "end": { + "line": 23, + "column": 51 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 504, + "end": 505, + "loc": { + "start": { + "line": 23, + "column": 51 + }, + "end": { + "line": 23, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 505, + "end": 510, + "loc": { + "start": { + "line": 23, + "column": 52 + }, + "end": { + "line": 23, + "column": 57 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 511, + "end": 512, + "loc": { + "start": { + "line": 23, + "column": 58 + }, + "end": { + "line": 23, + "column": 59 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 513, + "end": 514, + "loc": { + "start": { + "line": 23, + "column": 60 + }, + "end": { + "line": 23, + "column": 61 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 515, + "end": 516, + "loc": { + "start": { + "line": 23, + "column": 62 + }, + "end": { + "line": 23, + "column": 63 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 517, + "end": 521, + "loc": { + "start": { + "line": 23, + "column": 64 + }, + "end": { + "line": 23, + "column": 68 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 521, + "end": 522, + "loc": { + "start": { + "line": 23, + "column": 68 + }, + "end": { + "line": 23, + "column": 69 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 522, + "end": 527, + "loc": { + "start": { + "line": 23, + "column": 69 + }, + "end": { + "line": 23, + "column": 74 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 527, + "end": 528, + "loc": { + "start": { + "line": 23, + "column": 74 + }, + "end": { + "line": 23, + "column": 75 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 528, + "end": 534, + "loc": { + "start": { + "line": 23, + "column": 75 + }, + "end": { + "line": 23, + "column": 81 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 535, + "end": 536, + "loc": { + "start": { + "line": 23, + "column": 82 + }, + "end": { + "line": 23, + "column": 83 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 537, + "end": 538, + "loc": { + "start": { + "line": 23, + "column": 84 + }, + "end": { + "line": 23, + "column": 85 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 542, + "end": 548, + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 549, + "end": 553, + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 553, + "end": 554, + "loc": { + "start": { + "line": 25, + "column": 13 + }, + "end": { + "line": 25, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 554, + "end": 565, + "loc": { + "start": { + "line": 25, + "column": 14 + }, + "end": { + "line": 25, + "column": 25 + } + } + }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 566, + "end": 567, + "loc": { + "start": { + "line": 25, + "column": 26 + }, + "end": { + "line": 25, + "column": 27 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "-", + "start": 568, + "end": 571, + "loc": { + "start": { + "line": 25, + "column": 28 + }, + "end": { + "line": 25, + "column": 31 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 572, + "end": 573, + "loc": { + "start": { + "line": 25, + "column": 32 + }, + "end": { + "line": 25, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "digits", + "start": 574, + "end": 580, + "loc": { + "start": { + "line": 25, + "column": 34 + }, + "end": { + "line": 25, + "column": 40 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 581, + "end": 582, + "loc": { + "start": { + "line": 25, + "column": 41 + }, + "end": { + "line": 25, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "digits", + "start": 583, + "end": 589, + "loc": { + "start": { + "line": 25, + "column": 43 + }, + "end": { + "line": 25, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 590, + "end": 591, + "loc": { + "start": { + "line": 25, + "column": 50 + }, + "end": { + "line": 25, + "column": 51 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 594, + "end": 595, + "loc": { + "start": { + "line": 27, + "column": 1 + }, + "end": { + "line": 27, + "column": 2 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "add", + "start": 598, + "end": 601, + "loc": { + "start": { + "line": 29, + "column": 1 + }, + "end": { + "line": 29, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 602, + "end": 603, + "loc": { + "start": { + "line": 29, + "column": 5 + }, + "end": { + "line": 29, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 604, + "end": 609, + "loc": { + "start": { + "line": 29, + "column": 7 + }, + "end": { + "line": 29, + "column": 12 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 610, + "end": 611, + "loc": { + "start": { + "line": 29, + "column": 13 + }, + "end": { + "line": 29, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 612, + "end": 613, + "loc": { + "start": { + "line": 29, + "column": 15 + }, + "end": { + "line": 29, + "column": 16 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 617, + "end": 619, + "loc": { + "start": { + "line": 31, + "column": 2 + }, + "end": { + "line": 31, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 620, + "end": 621, + "loc": { + "start": { + "line": 31, + "column": 5 + }, + "end": { + "line": 31, + "column": 6 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 622, + "end": 626, + "loc": { + "start": { + "line": 31, + "column": 7 + }, + "end": { + "line": 31, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 626, + "end": 627, + "loc": { + "start": { + "line": 31, + "column": 11 + }, + "end": { + "line": 31, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 627, + "end": 638, + "loc": { + "start": { + "line": 31, + "column": 12 + }, + "end": { + "line": 31, + "column": 23 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "!==", + "start": 639, + "end": 642, + "loc": { + "start": { + "line": 31, + "column": 24 + }, + "end": { + "line": 31, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 643, + "end": 648, + "loc": { + "start": { + "line": 31, + "column": 28 + }, + "end": { + "line": 31, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 648, + "end": 649, + "loc": { + "start": { + "line": 31, + "column": 33 + }, + "end": { + "line": 31, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 649, + "end": 660, + "loc": { + "start": { + "line": 31, + "column": 34 + }, + "end": { + "line": 31, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 661, + "end": 662, + "loc": { + "start": { + "line": 31, + "column": 46 + }, + "end": { + "line": 31, + "column": 47 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 663, + "end": 664, + "loc": { + "start": { + "line": 31, + "column": 48 + }, + "end": { + "line": 31, + "column": 49 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 669, + "end": 671, + "loc": { + "start": { + "line": 33, + "column": 3 + }, + "end": { + "line": 33, + "column": 5 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 672, + "end": 673, + "loc": { + "start": { + "line": 33, + "column": 6 + }, + "end": { + "line": 33, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 674, + "end": 679, + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 33, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 679, + "end": 680, + "loc": { + "start": { + "line": 33, + "column": 13 + }, + "end": { + "line": 33, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 680, + "end": 691, + "loc": { + "start": { + "line": 33, + "column": 14 + }, + "end": { + "line": 33, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 692, + "end": 693, + "loc": { + "start": { + "line": 33, + "column": 26 + }, + "end": { + "line": 33, + "column": 27 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 694, + "end": 700, + "loc": { + "start": { + "line": 33, + "column": 28 + }, + "end": { + "line": 33, + "column": 34 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 701, + "end": 705, + "loc": { + "start": { + "line": 33, + "column": 35 + }, + "end": { + "line": 33, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 705, + "end": 706, + "loc": { + "start": { + "line": 33, + "column": 39 + }, + "end": { + "line": 33, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sub", + "start": 706, + "end": 709, + "loc": { + "start": { + "line": 33, + "column": 40 + }, + "end": { + "line": 33, + "column": 43 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 709, + "end": 710, + "loc": { + "start": { + "line": 33, + "column": 43 + }, + "end": { + "line": 33, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 711, + "end": 716, + "loc": { + "start": { + "line": 33, + "column": 45 + }, + "end": { + "line": 33, + "column": 50 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 716, + "end": 717, + "loc": { + "start": { + "line": 33, + "column": 50 + }, + "end": { + "line": 33, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "opposite", + "start": 717, + "end": 725, + "loc": { + "start": { + "line": 33, + "column": 51 + }, + "end": { + "line": 33, + "column": 59 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 725, + "end": 726, + "loc": { + "start": { + "line": 33, + "column": 59 + }, + "end": { + "line": 33, + "column": 60 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 726, + "end": 727, + "loc": { + "start": { + "line": 33, + "column": 60 + }, + "end": { + "line": 33, + "column": 61 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 728, + "end": 729, + "loc": { + "start": { + "line": 33, + "column": 62 + }, + "end": { + "line": 33, + "column": 63 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 730, + "end": 731, + "loc": { + "start": { + "line": 33, + "column": 64 + }, + "end": { + "line": 33, + "column": 65 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 736, + "end": 740, + "loc": { + "start": { + "line": 35, + "column": 3 + }, + "end": { + "line": 35, + "column": 7 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 741, + "end": 747, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 748, + "end": 753, + "loc": { + "start": { + "line": 35, + "column": 15 + }, + "end": { + "line": 35, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 753, + "end": 754, + "loc": { + "start": { + "line": 35, + "column": 20 + }, + "end": { + "line": 35, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sub", + "start": 754, + "end": 757, + "loc": { + "start": { + "line": 35, + "column": 21 + }, + "end": { + "line": 35, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 757, + "end": 758, + "loc": { + "start": { + "line": 35, + "column": 24 + }, + "end": { + "line": 35, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 759, + "end": 763, + "loc": { + "start": { + "line": 35, + "column": 26 + }, + "end": { + "line": 35, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 763, + "end": 764, + "loc": { + "start": { + "line": 35, + "column": 30 + }, + "end": { + "line": 35, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "opposite", + "start": 764, + "end": 772, + "loc": { + "start": { + "line": 35, + "column": 31 + }, + "end": { + "line": 35, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 772, + "end": 773, + "loc": { + "start": { + "line": 35, + "column": 39 + }, + "end": { + "line": 35, + "column": 40 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 773, + "end": 774, + "loc": { + "start": { + "line": 35, + "column": 40 + }, + "end": { + "line": 35, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 775, + "end": 776, + "loc": { + "start": { + "line": 35, + "column": 42 + }, + "end": { + "line": 35, + "column": 43 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 777, + "end": 778, + "loc": { + "start": { + "line": 35, + "column": 44 + }, + "end": { + "line": 35, + "column": 45 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 782, + "end": 783, + "loc": { + "start": { + "line": 37, + "column": 2 + }, + "end": { + "line": 37, + "column": 3 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 787, + "end": 791, + "loc": { + "start": { + "line": 39, + "column": 2 + }, + "end": { + "line": 39, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 792, + "end": 793, + "loc": { + "start": { + "line": 39, + "column": 7 + }, + "end": { + "line": 39, + "column": 8 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 798, + "end": 803, + "loc": { + "start": { + "line": 41, + "column": 3 + }, + "end": { + "line": 41, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "result_is_negative", + "start": 804, + "end": 822, + "loc": { + "start": { + "line": 41, + "column": 9 + }, + "end": { + "line": 41, + "column": 27 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 823, + "end": 824, + "loc": { + "start": { + "line": 41, + "column": 28 + }, + "end": { + "line": 41, + "column": 29 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 825, + "end": 829, + "loc": { + "start": { + "line": 41, + "column": 30 + }, + "end": { + "line": 41, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 829, + "end": 830, + "loc": { + "start": { + "line": 41, + "column": 34 + }, + "end": { + "line": 41, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 830, + "end": 841, + "loc": { + "start": { + "line": 41, + "column": 35 + }, + "end": { + "line": 41, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 842, + "end": 843, + "loc": { + "start": { + "line": 41, + "column": 47 + }, + "end": { + "line": 41, + "column": 48 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 847, + "end": 852, + "loc": { + "start": { + "line": 42, + "column": 3 + }, + "end": { + "line": 42, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "r", + "start": 853, + "end": 854, + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 10 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 855, + "end": 856, + "loc": { + "start": { + "line": 42, + "column": 11 + }, + "end": { + "line": 42, + "column": 12 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 857, + "end": 861, + "loc": { + "start": { + "line": 42, + "column": 13 + }, + "end": { + "line": 42, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 861, + "end": 862, + "loc": { + "start": { + "line": 42, + "column": 17 + }, + "end": { + "line": 42, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 862, + "end": 866, + "loc": { + "start": { + "line": 42, + "column": 18 + }, + "end": { + "line": 42, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 867, + "end": 868, + "loc": { + "start": { + "line": 42, + "column": 23 + }, + "end": { + "line": 42, + "column": 24 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 873, + "end": 878, + "loc": { + "start": { + "line": 44, + "column": 3 + }, + "end": { + "line": 44, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "a", + "start": 879, + "end": 880, + "loc": { + "start": { + "line": 44, + "column": 9 + }, + "end": { + "line": 44, + "column": 10 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 881, + "end": 882, + "loc": { + "start": { + "line": 44, + "column": 11 + }, + "end": { + "line": 44, + "column": 12 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 883, + "end": 887, + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 44, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 887, + "end": 888, + "loc": { + "start": { + "line": 44, + "column": 17 + }, + "end": { + "line": 44, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 888, + "end": 893, + "loc": { + "start": { + "line": 44, + "column": 18 + }, + "end": { + "line": 44, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 894, + "end": 895, + "loc": { + "start": { + "line": 44, + "column": 24 + }, + "end": { + "line": 44, + "column": 25 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 900, + "end": 903, + "loc": { + "start": { + "line": 46, + "column": 3 + }, + "end": { + "line": 46, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "b", + "start": 904, + "end": 905, + "loc": { + "start": { + "line": 46, + "column": 7 + }, + "end": { + "line": 46, + "column": 8 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 906, + "end": 907, + "loc": { + "start": { + "line": 46, + "column": 9 + }, + "end": { + "line": 46, + "column": 10 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 912, + "end": 914, + "loc": { + "start": { + "line": 48, + "column": 3 + }, + "end": { + "line": 48, + "column": 5 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 915, + "end": 916, + "loc": { + "start": { + "line": 48, + "column": 6 + }, + "end": { + "line": 48, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 917, + "end": 922, + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 922, + "end": 923, + "loc": { + "start": { + "line": 48, + "column": 13 + }, + "end": { + "line": 48, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 923, + "end": 927, + "loc": { + "start": { + "line": 48, + "column": 14 + }, + "end": { + "line": 48, + "column": 18 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 928, + "end": 931, + "loc": { + "start": { + "line": 48, + "column": 19 + }, + "end": { + "line": 48, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "r", + "start": 932, + "end": 933, + "loc": { + "start": { + "line": 48, + "column": 23 + }, + "end": { + "line": 48, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 934, + "end": 935, + "loc": { + "start": { + "line": 48, + "column": 25 + }, + "end": { + "line": 48, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "b", + "start": 936, + "end": 937, + "loc": { + "start": { + "line": 48, + "column": 27 + }, + "end": { + "line": 48, + "column": 28 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 938, + "end": 939, + "loc": { + "start": { + "line": 48, + "column": 29 + }, + "end": { + "line": 48, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 940, + "end": 945, + "loc": { + "start": { + "line": 48, + "column": 31 + }, + "end": { + "line": 48, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 945, + "end": 946, + "loc": { + "start": { + "line": 48, + "column": 36 + }, + "end": { + "line": 48, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 946, + "end": 951, + "loc": { + "start": { + "line": 48, + "column": 37 + }, + "end": { + "line": 48, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 952, + "end": 953, + "loc": { + "start": { + "line": 48, + "column": 43 + }, + "end": { + "line": 48, + "column": 44 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 957, + "end": 961, + "loc": { + "start": { + "line": 49, + "column": 3 + }, + "end": { + "line": 49, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "b", + "start": 962, + "end": 963, + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 9 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 964, + "end": 965, + "loc": { + "start": { + "line": 49, + "column": 10 + }, + "end": { + "line": 49, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convert", + "start": 966, + "end": 973, + "loc": { + "start": { + "line": 49, + "column": 12 + }, + "end": { + "line": 49, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 973, + "end": 974, + "loc": { + "start": { + "line": 49, + "column": 19 + }, + "end": { + "line": 49, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 975, + "end": 980, + "loc": { + "start": { + "line": 49, + "column": 21 + }, + "end": { + "line": 49, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 980, + "end": 981, + "loc": { + "start": { + "line": 49, + "column": 26 + }, + "end": { + "line": 49, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 981, + "end": 985, + "loc": { + "start": { + "line": 49, + "column": 27 + }, + "end": { + "line": 49, + "column": 31 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 986, + "end": 987, + "loc": { + "start": { + "line": 49, + "column": 32 + }, + "end": { + "line": 49, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "r", + "start": 988, + "end": 989, + "loc": { + "start": { + "line": 49, + "column": 34 + }, + "end": { + "line": 49, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 990, + "end": 991, + "loc": { + "start": { + "line": 49, + "column": 36 + }, + "end": { + "line": 49, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 992, + "end": 997, + "loc": { + "start": { + "line": 49, + "column": 38 + }, + "end": { + "line": 49, + "column": 43 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 997, + "end": 998, + "loc": { + "start": { + "line": 49, + "column": 43 + }, + "end": { + "line": 49, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 998, + "end": 1003, + "loc": { + "start": { + "line": 49, + "column": 44 + }, + "end": { + "line": 49, + "column": 49 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1004, + "end": 1005, + "loc": { + "start": { + "line": 49, + "column": 50 + }, + "end": { + "line": 49, + "column": 51 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 1006, + "end": 1007, + "loc": { + "start": { + "line": 49, + "column": 52 + }, + "end": { + "line": 49, + "column": 53 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1008, + "end": 1009, + "loc": { + "start": { + "line": 49, + "column": 54 + }, + "end": { + "line": 49, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 1010, + "end": 1015, + "loc": { + "start": { + "line": 49, + "column": 56 + }, + "end": { + "line": 49, + "column": 61 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1015, + "end": 1016, + "loc": { + "start": { + "line": 49, + "column": 61 + }, + "end": { + "line": 49, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 1016, + "end": 1021, + "loc": { + "start": { + "line": 49, + "column": 62 + }, + "end": { + "line": 49, + "column": 67 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1021, + "end": 1022, + "loc": { + "start": { + "line": 49, + "column": 67 + }, + "end": { + "line": 49, + "column": 68 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 1022, + "end": 1028, + "loc": { + "start": { + "line": 49, + "column": 68 + }, + "end": { + "line": 49, + "column": 74 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1029, + "end": 1030, + "loc": { + "start": { + "line": 49, + "column": 75 + }, + "end": { + "line": 49, + "column": 76 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1031, + "end": 1032, + "loc": { + "start": { + "line": 49, + "column": 77 + }, + "end": { + "line": 49, + "column": 78 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1037, + "end": 1042, + "loc": { + "start": { + "line": 51, + "column": 3 + }, + "end": { + "line": 51, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "c", + "start": 1043, + "end": 1044, + "loc": { + "start": { + "line": 51, + "column": 9 + }, + "end": { + "line": 51, + "column": 10 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1045, + "end": 1046, + "loc": { + "start": { + "line": 51, + "column": 11 + }, + "end": { + "line": 51, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_zeros", + "start": 1047, + "end": 1053, + "loc": { + "start": { + "line": 51, + "column": 13 + }, + "end": { + "line": 51, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1053, + "end": 1054, + "loc": { + "start": { + "line": 51, + "column": 19 + }, + "end": { + "line": 51, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 1055, + "end": 1059, + "loc": { + "start": { + "line": 51, + "column": 21 + }, + "end": { + "line": 51, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1059, + "end": 1060, + "loc": { + "start": { + "line": 51, + "column": 25 + }, + "end": { + "line": 51, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "max", + "start": 1060, + "end": 1063, + "loc": { + "start": { + "line": 51, + "column": 26 + }, + "end": { + "line": 51, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1063, + "end": 1064, + "loc": { + "start": { + "line": 51, + "column": 29 + }, + "end": { + "line": 51, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "a", + "start": 1065, + "end": 1066, + "loc": { + "start": { + "line": 51, + "column": 31 + }, + "end": { + "line": 51, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1066, + "end": 1067, + "loc": { + "start": { + "line": 51, + "column": 32 + }, + "end": { + "line": 51, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 1067, + "end": 1073, + "loc": { + "start": { + "line": 51, + "column": 33 + }, + "end": { + "line": 51, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1074, + "end": 1075, + "loc": { + "start": { + "line": 51, + "column": 40 + }, + "end": { + "line": 51, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "b", + "start": 1076, + "end": 1077, + "loc": { + "start": { + "line": 51, + "column": 42 + }, + "end": { + "line": 51, + "column": 43 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1077, + "end": 1078, + "loc": { + "start": { + "line": 51, + "column": 43 + }, + "end": { + "line": 51, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 1078, + "end": 1084, + "loc": { + "start": { + "line": 51, + "column": 44 + }, + "end": { + "line": 51, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1085, + "end": 1086, + "loc": { + "start": { + "line": 51, + "column": 51 + }, + "end": { + "line": 51, + "column": 52 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 1087, + "end": 1088, + "loc": { + "start": { + "line": 51, + "column": 53 + }, + "end": { + "line": 51, + "column": 54 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 1089, + "end": 1090, + "loc": { + "start": { + "line": 51, + "column": 55 + }, + "end": { + "line": 51, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1091, + "end": 1092, + "loc": { + "start": { + "line": 51, + "column": 57 + }, + "end": { + "line": 51, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1093, + "end": 1094, + "loc": { + "start": { + "line": 51, + "column": 59 + }, + "end": { + "line": 51, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_add", + "start": 1099, + "end": 1103, + "loc": { + "start": { + "line": 53, + "column": 3 + }, + "end": { + "line": 53, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1103, + "end": 1104, + "loc": { + "start": { + "line": 53, + "column": 7 + }, + "end": { + "line": 53, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "r", + "start": 1105, + "end": 1106, + "loc": { + "start": { + "line": 53, + "column": 9 + }, + "end": { + "line": 53, + "column": 10 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1107, + "end": 1108, + "loc": { + "start": { + "line": 53, + "column": 11 + }, + "end": { + "line": 53, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "a", + "start": 1109, + "end": 1110, + "loc": { + "start": { + "line": 53, + "column": 13 + }, + "end": { + "line": 53, + "column": 14 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1111, + "end": 1112, + "loc": { + "start": { + "line": 53, + "column": 15 + }, + "end": { + "line": 53, + "column": 16 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 1113, + "end": 1114, + "loc": { + "start": { + "line": 53, + "column": 17 + }, + "end": { + "line": 53, + "column": 18 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1115, + "end": 1116, + "loc": { + "start": { + "line": 53, + "column": 19 + }, + "end": { + "line": 53, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "a", + "start": 1117, + "end": 1118, + "loc": { + "start": { + "line": 53, + "column": 21 + }, + "end": { + "line": 53, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1118, + "end": 1119, + "loc": { + "start": { + "line": 53, + "column": 22 + }, + "end": { + "line": 53, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 1119, + "end": 1125, + "loc": { + "start": { + "line": 53, + "column": 23 + }, + "end": { + "line": 53, + "column": 29 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1126, + "end": 1127, + "loc": { + "start": { + "line": 53, + "column": 30 + }, + "end": { + "line": 53, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "b", + "start": 1128, + "end": 1129, + "loc": { + "start": { + "line": 53, + "column": 32 + }, + "end": { + "line": 53, + "column": 33 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1130, + "end": 1131, + "loc": { + "start": { + "line": 53, + "column": 34 + }, + "end": { + "line": 53, + "column": 35 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 1132, + "end": 1133, + "loc": { + "start": { + "line": 53, + "column": 36 + }, + "end": { + "line": 53, + "column": 37 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1134, + "end": 1135, + "loc": { + "start": { + "line": 53, + "column": 38 + }, + "end": { + "line": 53, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "b", + "start": 1136, + "end": 1137, + "loc": { + "start": { + "line": 53, + "column": 40 + }, + "end": { + "line": 53, + "column": 41 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1137, + "end": 1138, + "loc": { + "start": { + "line": 53, + "column": 41 + }, + "end": { + "line": 53, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 1138, + "end": 1144, + "loc": { + "start": { + "line": 53, + "column": 42 + }, + "end": { + "line": 53, + "column": 48 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1145, + "end": 1146, + "loc": { + "start": { + "line": 53, + "column": 49 + }, + "end": { + "line": 53, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "c", + "start": 1147, + "end": 1148, + "loc": { + "start": { + "line": 53, + "column": 51 + }, + "end": { + "line": 53, + "column": 52 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1149, + "end": 1150, + "loc": { + "start": { + "line": 53, + "column": 53 + }, + "end": { + "line": 53, + "column": 54 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 1151, + "end": 1152, + "loc": { + "start": { + "line": 53, + "column": 55 + }, + "end": { + "line": 53, + "column": 56 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1153, + "end": 1154, + "loc": { + "start": { + "line": 53, + "column": 57 + }, + "end": { + "line": 53, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "c", + "start": 1155, + "end": 1156, + "loc": { + "start": { + "line": 53, + "column": 59 + }, + "end": { + "line": 53, + "column": 60 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1156, + "end": 1157, + "loc": { + "start": { + "line": 53, + "column": 60 + }, + "end": { + "line": 53, + "column": 61 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 1157, + "end": 1163, + "loc": { + "start": { + "line": 53, + "column": 61 + }, + "end": { + "line": 53, + "column": 67 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1164, + "end": 1165, + "loc": { + "start": { + "line": 53, + "column": 68 + }, + "end": { + "line": 53, + "column": 69 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1166, + "end": 1167, + "loc": { + "start": { + "line": 53, + "column": 70 + }, + "end": { + "line": 53, + "column": 71 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1172, + "end": 1178, + "loc": { + "start": { + "line": 55, + "column": 3 + }, + "end": { + "line": 55, + "column": 9 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 1179, + "end": 1182, + "loc": { + "start": { + "line": 55, + "column": 10 + }, + "end": { + "line": 55, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Integer", + "start": 1183, + "end": 1190, + "loc": { + "start": { + "line": 55, + "column": 14 + }, + "end": { + "line": 55, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1190, + "end": 1191, + "loc": { + "start": { + "line": 55, + "column": 21 + }, + "end": { + "line": 55, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "r", + "start": 1192, + "end": 1193, + "loc": { + "start": { + "line": 55, + "column": 23 + }, + "end": { + "line": 55, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1194, + "end": 1195, + "loc": { + "start": { + "line": 55, + "column": 25 + }, + "end": { + "line": 55, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "result_is_negative", + "start": 1196, + "end": 1214, + "loc": { + "start": { + "line": 55, + "column": 27 + }, + "end": { + "line": 55, + "column": 45 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1215, + "end": 1216, + "loc": { + "start": { + "line": 55, + "column": 46 + }, + "end": { + "line": 55, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "c", + "start": 1217, + "end": 1218, + "loc": { + "start": { + "line": 55, + "column": 48 + }, + "end": { + "line": 55, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1219, + "end": 1220, + "loc": { + "start": { + "line": 55, + "column": 50 + }, + "end": { + "line": 55, + "column": 51 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1221, + "end": 1222, + "loc": { + "start": { + "line": 55, + "column": 52 + }, + "end": { + "line": 55, + "column": 53 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1226, + "end": 1227, + "loc": { + "start": { + "line": 57, + "column": 2 + }, + "end": { + "line": 57, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1230, + "end": 1231, + "loc": { + "start": { + "line": 59, + "column": 1 + }, + "end": { + "line": 59, + "column": 2 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sub", + "start": 1234, + "end": 1237, + "loc": { + "start": { + "line": 61, + "column": 1 + }, + "end": { + "line": 61, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1238, + "end": 1239, + "loc": { + "start": { + "line": 61, + "column": 5 + }, + "end": { + "line": 61, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 1240, + "end": 1245, + "loc": { + "start": { + "line": 61, + "column": 7 + }, + "end": { + "line": 61, + "column": 12 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1246, + "end": 1247, + "loc": { + "start": { + "line": 61, + "column": 13 + }, + "end": { + "line": 61, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1248, + "end": 1249, + "loc": { + "start": { + "line": 61, + "column": 15 + }, + "end": { + "line": 61, + "column": 16 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1253, + "end": 1255, + "loc": { + "start": { + "line": 63, + "column": 2 + }, + "end": { + "line": 63, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1256, + "end": 1257, + "loc": { + "start": { + "line": 63, + "column": 5 + }, + "end": { + "line": 63, + "column": 6 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1258, + "end": 1262, + "loc": { + "start": { + "line": 63, + "column": 7 + }, + "end": { + "line": 63, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1262, + "end": 1263, + "loc": { + "start": { + "line": 63, + "column": 11 + }, + "end": { + "line": 63, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 1263, + "end": 1274, + "loc": { + "start": { + "line": 63, + "column": 12 + }, + "end": { + "line": 63, + "column": 23 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "!==", + "start": 1275, + "end": 1278, + "loc": { + "start": { + "line": 63, + "column": 24 + }, + "end": { + "line": 63, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 1279, + "end": 1284, + "loc": { + "start": { + "line": 63, + "column": 28 + }, + "end": { + "line": 63, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1284, + "end": 1285, + "loc": { + "start": { + "line": 63, + "column": 33 + }, + "end": { + "line": 63, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 1285, + "end": 1296, + "loc": { + "start": { + "line": 63, + "column": 34 + }, + "end": { + "line": 63, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1297, + "end": 1298, + "loc": { + "start": { + "line": 63, + "column": 46 + }, + "end": { + "line": 63, + "column": 47 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1299, + "end": 1300, + "loc": { + "start": { + "line": 63, + "column": 48 + }, + "end": { + "line": 63, + "column": 49 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1305, + "end": 1307, + "loc": { + "start": { + "line": 65, + "column": 3 + }, + "end": { + "line": 65, + "column": 5 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1308, + "end": 1309, + "loc": { + "start": { + "line": 65, + "column": 6 + }, + "end": { + "line": 65, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 1310, + "end": 1315, + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1315, + "end": 1316, + "loc": { + "start": { + "line": 65, + "column": 13 + }, + "end": { + "line": 65, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 1316, + "end": 1327, + "loc": { + "start": { + "line": 65, + "column": 14 + }, + "end": { + "line": 65, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1328, + "end": 1329, + "loc": { + "start": { + "line": 65, + "column": 26 + }, + "end": { + "line": 65, + "column": 27 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1330, + "end": 1336, + "loc": { + "start": { + "line": 65, + "column": 28 + }, + "end": { + "line": 65, + "column": 34 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1337, + "end": 1341, + "loc": { + "start": { + "line": 65, + "column": 35 + }, + "end": { + "line": 65, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1341, + "end": 1342, + "loc": { + "start": { + "line": 65, + "column": 39 + }, + "end": { + "line": 65, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "add", + "start": 1342, + "end": 1345, + "loc": { + "start": { + "line": 65, + "column": 40 + }, + "end": { + "line": 65, + "column": 43 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1345, + "end": 1346, + "loc": { + "start": { + "line": 65, + "column": 43 + }, + "end": { + "line": 65, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 1347, + "end": 1352, + "loc": { + "start": { + "line": 65, + "column": 45 + }, + "end": { + "line": 65, + "column": 50 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1352, + "end": 1353, + "loc": { + "start": { + "line": 65, + "column": 50 + }, + "end": { + "line": 65, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "opposite", + "start": 1353, + "end": 1361, + "loc": { + "start": { + "line": 65, + "column": 51 + }, + "end": { + "line": 65, + "column": 59 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1361, + "end": 1362, + "loc": { + "start": { + "line": 65, + "column": 59 + }, + "end": { + "line": 65, + "column": 60 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1362, + "end": 1363, + "loc": { + "start": { + "line": 65, + "column": 60 + }, + "end": { + "line": 65, + "column": 61 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1364, + "end": 1365, + "loc": { + "start": { + "line": 65, + "column": 62 + }, + "end": { + "line": 65, + "column": 63 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1366, + "end": 1367, + "loc": { + "start": { + "line": 65, + "column": 64 + }, + "end": { + "line": 65, + "column": 65 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 1372, + "end": 1376, + "loc": { + "start": { + "line": 67, + "column": 3 + }, + "end": { + "line": 67, + "column": 7 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1377, + "end": 1383, + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 14 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1384, + "end": 1388, + "loc": { + "start": { + "line": 67, + "column": 15 + }, + "end": { + "line": 67, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1388, + "end": 1389, + "loc": { + "start": { + "line": 67, + "column": 19 + }, + "end": { + "line": 67, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "opposite", + "start": 1389, + "end": 1397, + "loc": { + "start": { + "line": 67, + "column": 20 + }, + "end": { + "line": 67, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1397, + "end": 1398, + "loc": { + "start": { + "line": 67, + "column": 28 + }, + "end": { + "line": 67, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1398, + "end": 1399, + "loc": { + "start": { + "line": 67, + "column": 29 + }, + "end": { + "line": 67, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1399, + "end": 1400, + "loc": { + "start": { + "line": 67, + "column": 30 + }, + "end": { + "line": 67, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "add", + "start": 1400, + "end": 1403, + "loc": { + "start": { + "line": 67, + "column": 31 + }, + "end": { + "line": 67, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1403, + "end": 1404, + "loc": { + "start": { + "line": 67, + "column": 34 + }, + "end": { + "line": 67, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 1405, + "end": 1410, + "loc": { + "start": { + "line": 67, + "column": 36 + }, + "end": { + "line": 67, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1411, + "end": 1412, + "loc": { + "start": { + "line": 67, + "column": 42 + }, + "end": { + "line": 67, + "column": 43 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1412, + "end": 1413, + "loc": { + "start": { + "line": 67, + "column": 43 + }, + "end": { + "line": 67, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "opposite", + "start": 1413, + "end": 1421, + "loc": { + "start": { + "line": 67, + "column": 44 + }, + "end": { + "line": 67, + "column": 52 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1421, + "end": 1422, + "loc": { + "start": { + "line": 67, + "column": 52 + }, + "end": { + "line": 67, + "column": 53 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1422, + "end": 1423, + "loc": { + "start": { + "line": 67, + "column": 53 + }, + "end": { + "line": 67, + "column": 54 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1424, + "end": 1425, + "loc": { + "start": { + "line": 67, + "column": 55 + }, + "end": { + "line": 67, + "column": 56 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1429, + "end": 1430, + "loc": { + "start": { + "line": 69, + "column": 2 + }, + "end": { + "line": 69, + "column": 3 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 1434, + "end": 1438, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 71, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1439, + "end": 1440, + "loc": { + "start": { + "line": 71, + "column": 7 + }, + "end": { + "line": 71, + "column": 8 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1445, + "end": 1450, + "loc": { + "start": { + "line": 73, + "column": 3 + }, + "end": { + "line": 73, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "r", + "start": 1451, + "end": 1452, + "loc": { + "start": { + "line": 73, + "column": 9 + }, + "end": { + "line": 73, + "column": 10 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1453, + "end": 1454, + "loc": { + "start": { + "line": 73, + "column": 11 + }, + "end": { + "line": 73, + "column": 12 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1455, + "end": 1459, + "loc": { + "start": { + "line": 73, + "column": 13 + }, + "end": { + "line": 73, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1459, + "end": 1460, + "loc": { + "start": { + "line": 73, + "column": 17 + }, + "end": { + "line": 73, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 1460, + "end": 1464, + "loc": { + "start": { + "line": 73, + "column": 18 + }, + "end": { + "line": 73, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1465, + "end": 1466, + "loc": { + "start": { + "line": 73, + "column": 23 + }, + "end": { + "line": 73, + "column": 24 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1470, + "end": 1475, + "loc": { + "start": { + "line": 74, + "column": 3 + }, + "end": { + "line": 74, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "a", + "start": 1476, + "end": 1477, + "loc": { + "start": { + "line": 74, + "column": 9 + }, + "end": { + "line": 74, + "column": 10 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1478, + "end": 1479, + "loc": { + "start": { + "line": 74, + "column": 11 + }, + "end": { + "line": 74, + "column": 12 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1480, + "end": 1484, + "loc": { + "start": { + "line": 74, + "column": 13 + }, + "end": { + "line": 74, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1484, + "end": 1485, + "loc": { + "start": { + "line": 74, + "column": 17 + }, + "end": { + "line": 74, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 1485, + "end": 1490, + "loc": { + "start": { + "line": 74, + "column": 18 + }, + "end": { + "line": 74, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1491, + "end": 1492, + "loc": { + "start": { + "line": 74, + "column": 24 + }, + "end": { + "line": 74, + "column": 25 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 1497, + "end": 1500, + "loc": { + "start": { + "line": 76, + "column": 3 + }, + "end": { + "line": 76, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "b", + "start": 1501, + "end": 1502, + "loc": { + "start": { + "line": 76, + "column": 7 + }, + "end": { + "line": 76, + "column": 8 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1503, + "end": 1504, + "loc": { + "start": { + "line": 76, + "column": 9 + }, + "end": { + "line": 76, + "column": 10 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1509, + "end": 1511, + "loc": { + "start": { + "line": 78, + "column": 3 + }, + "end": { + "line": 78, + "column": 5 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1512, + "end": 1513, + "loc": { + "start": { + "line": 78, + "column": 6 + }, + "end": { + "line": 78, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 1514, + "end": 1519, + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 78, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1519, + "end": 1520, + "loc": { + "start": { + "line": 78, + "column": 13 + }, + "end": { + "line": 78, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 1520, + "end": 1524, + "loc": { + "start": { + "line": 78, + "column": 14 + }, + "end": { + "line": 78, + "column": 18 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 1525, + "end": 1528, + "loc": { + "start": { + "line": 78, + "column": 19 + }, + "end": { + "line": 78, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "r", + "start": 1529, + "end": 1530, + "loc": { + "start": { + "line": 78, + "column": 23 + }, + "end": { + "line": 78, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1531, + "end": 1532, + "loc": { + "start": { + "line": 78, + "column": 25 + }, + "end": { + "line": 78, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "b", + "start": 1533, + "end": 1534, + "loc": { + "start": { + "line": 78, + "column": 27 + }, + "end": { + "line": 78, + "column": 28 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1535, + "end": 1536, + "loc": { + "start": { + "line": 78, + "column": 29 + }, + "end": { + "line": 78, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 1537, + "end": 1542, + "loc": { + "start": { + "line": 78, + "column": 31 + }, + "end": { + "line": 78, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1542, + "end": 1543, + "loc": { + "start": { + "line": 78, + "column": 36 + }, + "end": { + "line": 78, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 1543, + "end": 1548, + "loc": { + "start": { + "line": 78, + "column": 37 + }, + "end": { + "line": 78, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1549, + "end": 1550, + "loc": { + "start": { + "line": 78, + "column": 43 + }, + "end": { + "line": 78, + "column": 44 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 1554, + "end": 1558, + "loc": { + "start": { + "line": 79, + "column": 3 + }, + "end": { + "line": 79, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "b", + "start": 1559, + "end": 1560, + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 9 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1561, + "end": 1562, + "loc": { + "start": { + "line": 79, + "column": 10 + }, + "end": { + "line": 79, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convert", + "start": 1563, + "end": 1570, + "loc": { + "start": { + "line": 79, + "column": 12 + }, + "end": { + "line": 79, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1570, + "end": 1571, + "loc": { + "start": { + "line": 79, + "column": 19 + }, + "end": { + "line": 79, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 1572, + "end": 1577, + "loc": { + "start": { + "line": 79, + "column": 21 + }, + "end": { + "line": 79, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1577, + "end": 1578, + "loc": { + "start": { + "line": 79, + "column": 26 + }, + "end": { + "line": 79, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 1578, + "end": 1582, + "loc": { + "start": { + "line": 79, + "column": 27 + }, + "end": { + "line": 79, + "column": 31 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1583, + "end": 1584, + "loc": { + "start": { + "line": 79, + "column": 32 + }, + "end": { + "line": 79, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "r", + "start": 1585, + "end": 1586, + "loc": { + "start": { + "line": 79, + "column": 34 + }, + "end": { + "line": 79, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1587, + "end": 1588, + "loc": { + "start": { + "line": 79, + "column": 36 + }, + "end": { + "line": 79, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 1589, + "end": 1594, + "loc": { + "start": { + "line": 79, + "column": 38 + }, + "end": { + "line": 79, + "column": 43 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1594, + "end": 1595, + "loc": { + "start": { + "line": 79, + "column": 43 + }, + "end": { + "line": 79, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 1595, + "end": 1600, + "loc": { + "start": { + "line": 79, + "column": 44 + }, + "end": { + "line": 79, + "column": 49 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1601, + "end": 1602, + "loc": { + "start": { + "line": 79, + "column": 50 + }, + "end": { + "line": 79, + "column": 51 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 1603, + "end": 1604, + "loc": { + "start": { + "line": 79, + "column": 52 + }, + "end": { + "line": 79, + "column": 53 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1605, + "end": 1606, + "loc": { + "start": { + "line": 79, + "column": 54 + }, + "end": { + "line": 79, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 1607, + "end": 1612, + "loc": { + "start": { + "line": 79, + "column": 56 + }, + "end": { + "line": 79, + "column": 61 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1612, + "end": 1613, + "loc": { + "start": { + "line": 79, + "column": 61 + }, + "end": { + "line": 79, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 1613, + "end": 1618, + "loc": { + "start": { + "line": 79, + "column": 62 + }, + "end": { + "line": 79, + "column": 67 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1618, + "end": 1619, + "loc": { + "start": { + "line": 79, + "column": 67 + }, + "end": { + "line": 79, + "column": 68 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 1619, + "end": 1625, + "loc": { + "start": { + "line": 79, + "column": 68 + }, + "end": { + "line": 79, + "column": 74 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1626, + "end": 1627, + "loc": { + "start": { + "line": 79, + "column": 75 + }, + "end": { + "line": 79, + "column": 76 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1628, + "end": 1629, + "loc": { + "start": { + "line": 79, + "column": 77 + }, + "end": { + "line": 79, + "column": 78 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1634, + "end": 1639, + "loc": { + "start": { + "line": 81, + "column": 3 + }, + "end": { + "line": 81, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "c", + "start": 1640, + "end": 1641, + "loc": { + "start": { + "line": 81, + "column": 9 + }, + "end": { + "line": 81, + "column": 10 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1642, + "end": 1643, + "loc": { + "start": { + "line": 81, + "column": 11 + }, + "end": { + "line": 81, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_zeros", + "start": 1644, + "end": 1650, + "loc": { + "start": { + "line": 81, + "column": 13 + }, + "end": { + "line": 81, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1650, + "end": 1651, + "loc": { + "start": { + "line": 81, + "column": 19 + }, + "end": { + "line": 81, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 1652, + "end": 1656, + "loc": { + "start": { + "line": 81, + "column": 21 + }, + "end": { + "line": 81, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1656, + "end": 1657, + "loc": { + "start": { + "line": 81, + "column": 25 + }, + "end": { + "line": 81, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "max", + "start": 1657, + "end": 1660, + "loc": { + "start": { + "line": 81, + "column": 26 + }, + "end": { + "line": 81, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1660, + "end": 1661, + "loc": { + "start": { + "line": 81, + "column": 29 + }, + "end": { + "line": 81, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "a", + "start": 1662, + "end": 1663, + "loc": { + "start": { + "line": 81, + "column": 31 + }, + "end": { + "line": 81, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1663, + "end": 1664, + "loc": { + "start": { + "line": 81, + "column": 32 + }, + "end": { + "line": 81, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 1664, + "end": 1670, + "loc": { + "start": { + "line": 81, + "column": 33 + }, + "end": { + "line": 81, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1671, + "end": 1672, + "loc": { + "start": { + "line": 81, + "column": 40 + }, + "end": { + "line": 81, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "b", + "start": 1673, + "end": 1674, + "loc": { + "start": { + "line": 81, + "column": 42 + }, + "end": { + "line": 81, + "column": 43 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1674, + "end": 1675, + "loc": { + "start": { + "line": 81, + "column": 43 + }, + "end": { + "line": 81, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 1675, + "end": 1681, + "loc": { + "start": { + "line": 81, + "column": 44 + }, + "end": { + "line": 81, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1682, + "end": 1683, + "loc": { + "start": { + "line": 81, + "column": 51 + }, + "end": { + "line": 81, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1684, + "end": 1685, + "loc": { + "start": { + "line": 81, + "column": 53 + }, + "end": { + "line": 81, + "column": 54 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1686, + "end": 1687, + "loc": { + "start": { + "line": 81, + "column": 55 + }, + "end": { + "line": 81, + "column": 56 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1692, + "end": 1694, + "loc": { + "start": { + "line": 83, + "column": 3 + }, + "end": { + "line": 83, + "column": 5 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1695, + "end": 1696, + "loc": { + "start": { + "line": 83, + "column": 6 + }, + "end": { + "line": 83, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_lt", + "start": 1697, + "end": 1700, + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1700, + "end": 1701, + "loc": { + "start": { + "line": 83, + "column": 11 + }, + "end": { + "line": 83, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "a", + "start": 1702, + "end": 1703, + "loc": { + "start": { + "line": 83, + "column": 13 + }, + "end": { + "line": 83, + "column": 14 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1704, + "end": 1705, + "loc": { + "start": { + "line": 83, + "column": 15 + }, + "end": { + "line": 83, + "column": 16 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 1706, + "end": 1707, + "loc": { + "start": { + "line": 83, + "column": 17 + }, + "end": { + "line": 83, + "column": 18 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1708, + "end": 1709, + "loc": { + "start": { + "line": 83, + "column": 19 + }, + "end": { + "line": 83, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "a", + "start": 1710, + "end": 1711, + "loc": { + "start": { + "line": 83, + "column": 21 + }, + "end": { + "line": 83, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1711, + "end": 1712, + "loc": { + "start": { + "line": 83, + "column": 22 + }, + "end": { + "line": 83, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 1712, + "end": 1718, + "loc": { + "start": { + "line": 83, + "column": 23 + }, + "end": { + "line": 83, + "column": 29 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1719, + "end": 1720, + "loc": { + "start": { + "line": 83, + "column": 30 + }, + "end": { + "line": 83, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "b", + "start": 1721, + "end": 1722, + "loc": { + "start": { + "line": 83, + "column": 32 + }, + "end": { + "line": 83, + "column": 33 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1723, + "end": 1724, + "loc": { + "start": { + "line": 83, + "column": 34 + }, + "end": { + "line": 83, + "column": 35 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 1725, + "end": 1726, + "loc": { + "start": { + "line": 83, + "column": 36 + }, + "end": { + "line": 83, + "column": 37 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1727, + "end": 1728, + "loc": { + "start": { + "line": 83, + "column": 38 + }, + "end": { + "line": 83, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "b", + "start": 1729, + "end": 1730, + "loc": { + "start": { + "line": 83, + "column": 40 + }, + "end": { + "line": 83, + "column": 41 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1730, + "end": 1731, + "loc": { + "start": { + "line": 83, + "column": 41 + }, + "end": { + "line": 83, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 1731, + "end": 1737, + "loc": { + "start": { + "line": 83, + "column": 42 + }, + "end": { + "line": 83, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1738, + "end": 1739, + "loc": { + "start": { + "line": 83, + "column": 49 + }, + "end": { + "line": 83, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1740, + "end": 1741, + "loc": { + "start": { + "line": 83, + "column": 51 + }, + "end": { + "line": 83, + "column": 52 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1742, + "end": 1743, + "loc": { + "start": { + "line": 83, + "column": 53 + }, + "end": { + "line": 83, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_sub", + "start": 1749, + "end": 1753, + "loc": { + "start": { + "line": 85, + "column": 4 + }, + "end": { + "line": 85, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1753, + "end": 1754, + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 85, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "r", + "start": 1755, + "end": 1756, + "loc": { + "start": { + "line": 85, + "column": 10 + }, + "end": { + "line": 85, + "column": 11 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1757, + "end": 1758, + "loc": { + "start": { + "line": 85, + "column": 12 + }, + "end": { + "line": 85, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "b", + "start": 1759, + "end": 1760, + "loc": { + "start": { + "line": 85, + "column": 14 + }, + "end": { + "line": 85, + "column": 15 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1761, + "end": 1762, + "loc": { + "start": { + "line": 85, + "column": 16 + }, + "end": { + "line": 85, + "column": 17 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 1763, + "end": 1764, + "loc": { + "start": { + "line": 85, + "column": 18 + }, + "end": { + "line": 85, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1765, + "end": 1766, + "loc": { + "start": { + "line": 85, + "column": 20 + }, + "end": { + "line": 85, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "b", + "start": 1767, + "end": 1768, + "loc": { + "start": { + "line": 85, + "column": 22 + }, + "end": { + "line": 85, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1768, + "end": 1769, + "loc": { + "start": { + "line": 85, + "column": 23 + }, + "end": { + "line": 85, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 1769, + "end": 1775, + "loc": { + "start": { + "line": 85, + "column": 24 + }, + "end": { + "line": 85, + "column": 30 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1776, + "end": 1777, + "loc": { + "start": { + "line": 85, + "column": 31 + }, + "end": { + "line": 85, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "a", + "start": 1778, + "end": 1779, + "loc": { + "start": { + "line": 85, + "column": 33 + }, + "end": { + "line": 85, + "column": 34 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1780, + "end": 1781, + "loc": { + "start": { + "line": 85, + "column": 35 + }, + "end": { + "line": 85, + "column": 36 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 1782, + "end": 1783, + "loc": { + "start": { + "line": 85, + "column": 37 + }, + "end": { + "line": 85, + "column": 38 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1784, + "end": 1785, + "loc": { + "start": { + "line": 85, + "column": 39 + }, + "end": { + "line": 85, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "a", + "start": 1786, + "end": 1787, + "loc": { + "start": { + "line": 85, + "column": 41 + }, + "end": { + "line": 85, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1787, + "end": 1788, + "loc": { + "start": { + "line": 85, + "column": 42 + }, + "end": { + "line": 85, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 1788, + "end": 1794, + "loc": { + "start": { + "line": 85, + "column": 43 + }, + "end": { + "line": 85, + "column": 49 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1795, + "end": 1796, + "loc": { + "start": { + "line": 85, + "column": 50 + }, + "end": { + "line": 85, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "c", + "start": 1797, + "end": 1798, + "loc": { + "start": { + "line": 85, + "column": 52 + }, + "end": { + "line": 85, + "column": 53 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1799, + "end": 1800, + "loc": { + "start": { + "line": 85, + "column": 54 + }, + "end": { + "line": 85, + "column": 55 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 1801, + "end": 1802, + "loc": { + "start": { + "line": 85, + "column": 56 + }, + "end": { + "line": 85, + "column": 57 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1803, + "end": 1804, + "loc": { + "start": { + "line": 85, + "column": 58 + }, + "end": { + "line": 85, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "c", + "start": 1805, + "end": 1806, + "loc": { + "start": { + "line": 85, + "column": 60 + }, + "end": { + "line": 85, + "column": 61 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1806, + "end": 1807, + "loc": { + "start": { + "line": 85, + "column": 61 + }, + "end": { + "line": 85, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 1807, + "end": 1813, + "loc": { + "start": { + "line": 85, + "column": 62 + }, + "end": { + "line": 85, + "column": 68 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1814, + "end": 1815, + "loc": { + "start": { + "line": 85, + "column": 69 + }, + "end": { + "line": 85, + "column": 70 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1816, + "end": 1817, + "loc": { + "start": { + "line": 85, + "column": 71 + }, + "end": { + "line": 85, + "column": 72 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1823, + "end": 1829, + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 87, + "column": 10 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 1830, + "end": 1833, + "loc": { + "start": { + "line": 87, + "column": 11 + }, + "end": { + "line": 87, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Integer", + "start": 1834, + "end": 1841, + "loc": { + "start": { + "line": 87, + "column": 15 + }, + "end": { + "line": 87, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1841, + "end": 1842, + "loc": { + "start": { + "line": 87, + "column": 22 + }, + "end": { + "line": 87, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "r", + "start": 1843, + "end": 1844, + "loc": { + "start": { + "line": 87, + "column": 24 + }, + "end": { + "line": 87, + "column": 25 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1845, + "end": 1846, + "loc": { + "start": { + "line": 87, + "column": 26 + }, + "end": { + "line": 87, + "column": 27 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "~", + "start": 1847, + "end": 1848, + "loc": { + "start": { + "line": 87, + "column": 28 + }, + "end": { + "line": 87, + "column": 29 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1848, + "end": 1852, + "loc": { + "start": { + "line": 87, + "column": 29 + }, + "end": { + "line": 87, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1852, + "end": 1853, + "loc": { + "start": { + "line": 87, + "column": 33 + }, + "end": { + "line": 87, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 1853, + "end": 1864, + "loc": { + "start": { + "line": 87, + "column": 34 + }, + "end": { + "line": 87, + "column": 45 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1865, + "end": 1866, + "loc": { + "start": { + "line": 87, + "column": 46 + }, + "end": { + "line": 87, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "c", + "start": 1867, + "end": 1868, + "loc": { + "start": { + "line": 87, + "column": 48 + }, + "end": { + "line": 87, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1869, + "end": 1870, + "loc": { + "start": { + "line": 87, + "column": 50 + }, + "end": { + "line": 87, + "column": 51 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1871, + "end": 1872, + "loc": { + "start": { + "line": 87, + "column": 52 + }, + "end": { + "line": 87, + "column": 53 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1876, + "end": 1877, + "loc": { + "start": { + "line": 88, + "column": 3 + }, + "end": { + "line": 88, + "column": 4 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 1882, + "end": 1886, + "loc": { + "start": { + "line": 90, + "column": 3 + }, + "end": { + "line": 90, + "column": 7 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1887, + "end": 1888, + "loc": { + "start": { + "line": 90, + "column": 8 + }, + "end": { + "line": 90, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_sub", + "start": 1894, + "end": 1898, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1898, + "end": 1899, + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 92, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "r", + "start": 1900, + "end": 1901, + "loc": { + "start": { + "line": 92, + "column": 10 + }, + "end": { + "line": 92, + "column": 11 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1902, + "end": 1903, + "loc": { + "start": { + "line": 92, + "column": 12 + }, + "end": { + "line": 92, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "a", + "start": 1904, + "end": 1905, + "loc": { + "start": { + "line": 92, + "column": 14 + }, + "end": { + "line": 92, + "column": 15 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1906, + "end": 1907, + "loc": { + "start": { + "line": 92, + "column": 16 + }, + "end": { + "line": 92, + "column": 17 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 1908, + "end": 1909, + "loc": { + "start": { + "line": 92, + "column": 18 + }, + "end": { + "line": 92, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1910, + "end": 1911, + "loc": { + "start": { + "line": 92, + "column": 20 + }, + "end": { + "line": 92, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "a", + "start": 1912, + "end": 1913, + "loc": { + "start": { + "line": 92, + "column": 22 + }, + "end": { + "line": 92, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1913, + "end": 1914, + "loc": { + "start": { + "line": 92, + "column": 23 + }, + "end": { + "line": 92, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 1914, + "end": 1920, + "loc": { + "start": { + "line": 92, + "column": 24 + }, + "end": { + "line": 92, + "column": 30 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1921, + "end": 1922, + "loc": { + "start": { + "line": 92, + "column": 31 + }, + "end": { + "line": 92, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "b", + "start": 1923, + "end": 1924, + "loc": { + "start": { + "line": 92, + "column": 33 + }, + "end": { + "line": 92, + "column": 34 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1925, + "end": 1926, + "loc": { + "start": { + "line": 92, + "column": 35 + }, + "end": { + "line": 92, + "column": 36 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 1927, + "end": 1928, + "loc": { + "start": { + "line": 92, + "column": 37 + }, + "end": { + "line": 92, + "column": 38 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1929, + "end": 1930, + "loc": { + "start": { + "line": 92, + "column": 39 + }, + "end": { + "line": 92, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "b", + "start": 1931, + "end": 1932, + "loc": { + "start": { + "line": 92, + "column": 41 + }, + "end": { + "line": 92, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1932, + "end": 1933, + "loc": { + "start": { + "line": 92, + "column": 42 + }, + "end": { + "line": 92, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 1933, + "end": 1939, + "loc": { + "start": { + "line": 92, + "column": 43 + }, + "end": { + "line": 92, + "column": 49 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1940, + "end": 1941, + "loc": { + "start": { + "line": 92, + "column": 50 + }, + "end": { + "line": 92, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "c", + "start": 1942, + "end": 1943, + "loc": { + "start": { + "line": 92, + "column": 52 + }, + "end": { + "line": 92, + "column": 53 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1944, + "end": 1945, + "loc": { + "start": { + "line": 92, + "column": 54 + }, + "end": { + "line": 92, + "column": 55 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 1946, + "end": 1947, + "loc": { + "start": { + "line": 92, + "column": 56 + }, + "end": { + "line": 92, + "column": 57 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1948, + "end": 1949, + "loc": { + "start": { + "line": 92, + "column": 58 + }, + "end": { + "line": 92, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "c", + "start": 1950, + "end": 1951, + "loc": { + "start": { + "line": 92, + "column": 60 + }, + "end": { + "line": 92, + "column": 61 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1951, + "end": 1952, + "loc": { + "start": { + "line": 92, + "column": 61 + }, + "end": { + "line": 92, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 1952, + "end": 1958, + "loc": { + "start": { + "line": 92, + "column": 62 + }, + "end": { + "line": 92, + "column": 68 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1959, + "end": 1960, + "loc": { + "start": { + "line": 92, + "column": 69 + }, + "end": { + "line": 92, + "column": 70 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1961, + "end": 1962, + "loc": { + "start": { + "line": 92, + "column": 71 + }, + "end": { + "line": 92, + "column": 72 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1968, + "end": 1974, + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 94, + "column": 10 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 1975, + "end": 1978, + "loc": { + "start": { + "line": 94, + "column": 11 + }, + "end": { + "line": 94, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Integer", + "start": 1979, + "end": 1986, + "loc": { + "start": { + "line": 94, + "column": 15 + }, + "end": { + "line": 94, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1986, + "end": 1987, + "loc": { + "start": { + "line": 94, + "column": 22 + }, + "end": { + "line": 94, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "r", + "start": 1988, + "end": 1989, + "loc": { + "start": { + "line": 94, + "column": 24 + }, + "end": { + "line": 94, + "column": 25 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1990, + "end": 1991, + "loc": { + "start": { + "line": 94, + "column": 26 + }, + "end": { + "line": 94, + "column": 27 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1992, + "end": 1996, + "loc": { + "start": { + "line": 94, + "column": 28 + }, + "end": { + "line": 94, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1996, + "end": 1997, + "loc": { + "start": { + "line": 94, + "column": 32 + }, + "end": { + "line": 94, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 1997, + "end": 2008, + "loc": { + "start": { + "line": 94, + "column": 33 + }, + "end": { + "line": 94, + "column": 44 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2009, + "end": 2010, + "loc": { + "start": { + "line": 94, + "column": 45 + }, + "end": { + "line": 94, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "c", + "start": 2011, + "end": 2012, + "loc": { + "start": { + "line": 94, + "column": 47 + }, + "end": { + "line": 94, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2013, + "end": 2014, + "loc": { + "start": { + "line": 94, + "column": 49 + }, + "end": { + "line": 94, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2015, + "end": 2016, + "loc": { + "start": { + "line": 94, + "column": 51 + }, + "end": { + "line": 94, + "column": 52 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2021, + "end": 2022, + "loc": { + "start": { + "line": 96, + "column": 3 + }, + "end": { + "line": 96, + "column": 4 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2026, + "end": 2027, + "loc": { + "start": { + "line": 98, + "column": 2 + }, + "end": { + "line": 98, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2030, + "end": 2031, + "loc": { + "start": { + "line": 100, + "column": 1 + }, + "end": { + "line": 100, + "column": 2 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mul", + "start": 2034, + "end": 2037, + "loc": { + "start": { + "line": 102, + "column": 1 + }, + "end": { + "line": 102, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2038, + "end": 2039, + "loc": { + "start": { + "line": 102, + "column": 5 + }, + "end": { + "line": 102, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 2040, + "end": 2045, + "loc": { + "start": { + "line": 102, + "column": 7 + }, + "end": { + "line": 102, + "column": 12 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2046, + "end": 2047, + "loc": { + "start": { + "line": 102, + "column": 13 + }, + "end": { + "line": 102, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2048, + "end": 2049, + "loc": { + "start": { + "line": 102, + "column": 15 + }, + "end": { + "line": 102, + "column": 16 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2053, + "end": 2058, + "loc": { + "start": { + "line": 104, + "column": 2 + }, + "end": { + "line": 104, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "result_is_negative", + "start": 2059, + "end": 2077, + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 104, + "column": 26 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2078, + "end": 2079, + "loc": { + "start": { + "line": 104, + "column": 27 + }, + "end": { + "line": 104, + "column": 28 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2080, + "end": 2084, + "loc": { + "start": { + "line": 104, + "column": 29 + }, + "end": { + "line": 104, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2084, + "end": 2085, + "loc": { + "start": { + "line": 104, + "column": 33 + }, + "end": { + "line": 104, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 2085, + "end": 2096, + "loc": { + "start": { + "line": 104, + "column": 34 + }, + "end": { + "line": 104, + "column": 45 + } + } + }, + { + "type": { + "label": "^", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 4, + "updateContext": null + }, + "value": "^", + "start": 2097, + "end": 2098, + "loc": { + "start": { + "line": 104, + "column": 46 + }, + "end": { + "line": 104, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 2099, + "end": 2104, + "loc": { + "start": { + "line": 104, + "column": 48 + }, + "end": { + "line": 104, + "column": 53 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2104, + "end": 2105, + "loc": { + "start": { + "line": 104, + "column": 53 + }, + "end": { + "line": 104, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 2105, + "end": 2116, + "loc": { + "start": { + "line": 104, + "column": 54 + }, + "end": { + "line": 104, + "column": 65 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2117, + "end": 2118, + "loc": { + "start": { + "line": 104, + "column": 66 + }, + "end": { + "line": 104, + "column": 67 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2121, + "end": 2126, + "loc": { + "start": { + "line": 105, + "column": 2 + }, + "end": { + "line": 105, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "r", + "start": 2127, + "end": 2128, + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 105, + "column": 9 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2129, + "end": 2130, + "loc": { + "start": { + "line": 105, + "column": 10 + }, + "end": { + "line": 105, + "column": 11 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2131, + "end": 2135, + "loc": { + "start": { + "line": 105, + "column": 12 + }, + "end": { + "line": 105, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2135, + "end": 2136, + "loc": { + "start": { + "line": 105, + "column": 16 + }, + "end": { + "line": 105, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 2136, + "end": 2140, + "loc": { + "start": { + "line": 105, + "column": 17 + }, + "end": { + "line": 105, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2141, + "end": 2142, + "loc": { + "start": { + "line": 105, + "column": 22 + }, + "end": { + "line": 105, + "column": 23 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2146, + "end": 2151, + "loc": { + "start": { + "line": 107, + "column": 2 + }, + "end": { + "line": 107, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "a", + "start": 2152, + "end": 2153, + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 9 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2154, + "end": 2155, + "loc": { + "start": { + "line": 107, + "column": 10 + }, + "end": { + "line": 107, + "column": 11 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2156, + "end": 2160, + "loc": { + "start": { + "line": 107, + "column": 12 + }, + "end": { + "line": 107, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2160, + "end": 2161, + "loc": { + "start": { + "line": 107, + "column": 16 + }, + "end": { + "line": 107, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 2161, + "end": 2166, + "loc": { + "start": { + "line": 107, + "column": 17 + }, + "end": { + "line": 107, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2167, + "end": 2168, + "loc": { + "start": { + "line": 107, + "column": 23 + }, + "end": { + "line": 107, + "column": 24 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 2172, + "end": 2175, + "loc": { + "start": { + "line": 109, + "column": 2 + }, + "end": { + "line": 109, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "b", + "start": 2176, + "end": 2177, + "loc": { + "start": { + "line": 109, + "column": 6 + }, + "end": { + "line": 109, + "column": 7 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2178, + "end": 2179, + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 9 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 2183, + "end": 2185, + "loc": { + "start": { + "line": 111, + "column": 2 + }, + "end": { + "line": 111, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2186, + "end": 2187, + "loc": { + "start": { + "line": 111, + "column": 5 + }, + "end": { + "line": 111, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 2188, + "end": 2193, + "loc": { + "start": { + "line": 111, + "column": 7 + }, + "end": { + "line": 111, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2193, + "end": 2194, + "loc": { + "start": { + "line": 111, + "column": 12 + }, + "end": { + "line": 111, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 2194, + "end": 2198, + "loc": { + "start": { + "line": 111, + "column": 13 + }, + "end": { + "line": 111, + "column": 17 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 2199, + "end": 2202, + "loc": { + "start": { + "line": 111, + "column": 18 + }, + "end": { + "line": 111, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "r", + "start": 2203, + "end": 2204, + "loc": { + "start": { + "line": 111, + "column": 22 + }, + "end": { + "line": 111, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2205, + "end": 2206, + "loc": { + "start": { + "line": 111, + "column": 24 + }, + "end": { + "line": 111, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "b", + "start": 2207, + "end": 2208, + "loc": { + "start": { + "line": 111, + "column": 26 + }, + "end": { + "line": 111, + "column": 27 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2209, + "end": 2210, + "loc": { + "start": { + "line": 111, + "column": 28 + }, + "end": { + "line": 111, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 2211, + "end": 2216, + "loc": { + "start": { + "line": 111, + "column": 30 + }, + "end": { + "line": 111, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2216, + "end": 2217, + "loc": { + "start": { + "line": 111, + "column": 35 + }, + "end": { + "line": 111, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 2217, + "end": 2222, + "loc": { + "start": { + "line": 111, + "column": 36 + }, + "end": { + "line": 111, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2223, + "end": 2224, + "loc": { + "start": { + "line": 111, + "column": 42 + }, + "end": { + "line": 111, + "column": 43 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 2227, + "end": 2231, + "loc": { + "start": { + "line": 112, + "column": 2 + }, + "end": { + "line": 112, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "b", + "start": 2232, + "end": 2233, + "loc": { + "start": { + "line": 112, + "column": 7 + }, + "end": { + "line": 112, + "column": 8 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2234, + "end": 2235, + "loc": { + "start": { + "line": 112, + "column": 9 + }, + "end": { + "line": 112, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convert", + "start": 2236, + "end": 2243, + "loc": { + "start": { + "line": 112, + "column": 11 + }, + "end": { + "line": 112, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2243, + "end": 2244, + "loc": { + "start": { + "line": 112, + "column": 18 + }, + "end": { + "line": 112, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 2245, + "end": 2250, + "loc": { + "start": { + "line": 112, + "column": 20 + }, + "end": { + "line": 112, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2250, + "end": 2251, + "loc": { + "start": { + "line": 112, + "column": 25 + }, + "end": { + "line": 112, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 2251, + "end": 2255, + "loc": { + "start": { + "line": 112, + "column": 26 + }, + "end": { + "line": 112, + "column": 30 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2256, + "end": 2257, + "loc": { + "start": { + "line": 112, + "column": 31 + }, + "end": { + "line": 112, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "r", + "start": 2258, + "end": 2259, + "loc": { + "start": { + "line": 112, + "column": 33 + }, + "end": { + "line": 112, + "column": 34 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2260, + "end": 2261, + "loc": { + "start": { + "line": 112, + "column": 35 + }, + "end": { + "line": 112, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 2262, + "end": 2267, + "loc": { + "start": { + "line": 112, + "column": 37 + }, + "end": { + "line": 112, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2267, + "end": 2268, + "loc": { + "start": { + "line": 112, + "column": 42 + }, + "end": { + "line": 112, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 2268, + "end": 2273, + "loc": { + "start": { + "line": 112, + "column": 43 + }, + "end": { + "line": 112, + "column": 48 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2274, + "end": 2275, + "loc": { + "start": { + "line": 112, + "column": 49 + }, + "end": { + "line": 112, + "column": 50 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 2276, + "end": 2277, + "loc": { + "start": { + "line": 112, + "column": 51 + }, + "end": { + "line": 112, + "column": 52 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2278, + "end": 2279, + "loc": { + "start": { + "line": 112, + "column": 53 + }, + "end": { + "line": 112, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 2280, + "end": 2285, + "loc": { + "start": { + "line": 112, + "column": 55 + }, + "end": { + "line": 112, + "column": 60 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2285, + "end": 2286, + "loc": { + "start": { + "line": 112, + "column": 60 + }, + "end": { + "line": 112, + "column": 61 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 2286, + "end": 2291, + "loc": { + "start": { + "line": 112, + "column": 61 + }, + "end": { + "line": 112, + "column": 66 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2291, + "end": 2292, + "loc": { + "start": { + "line": 112, + "column": 66 + }, + "end": { + "line": 112, + "column": 67 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 2292, + "end": 2298, + "loc": { + "start": { + "line": 112, + "column": 67 + }, + "end": { + "line": 112, + "column": 73 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2299, + "end": 2300, + "loc": { + "start": { + "line": 112, + "column": 74 + }, + "end": { + "line": 112, + "column": 75 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2301, + "end": 2302, + "loc": { + "start": { + "line": 112, + "column": 76 + }, + "end": { + "line": 112, + "column": 77 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2306, + "end": 2311, + "loc": { + "start": { + "line": 114, + "column": 2 + }, + "end": { + "line": 114, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "c", + "start": 2312, + "end": 2313, + "loc": { + "start": { + "line": 114, + "column": 8 + }, + "end": { + "line": 114, + "column": 9 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2314, + "end": 2315, + "loc": { + "start": { + "line": 114, + "column": 10 + }, + "end": { + "line": 114, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_zeros", + "start": 2316, + "end": 2322, + "loc": { + "start": { + "line": 114, + "column": 12 + }, + "end": { + "line": 114, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2322, + "end": 2323, + "loc": { + "start": { + "line": 114, + "column": 18 + }, + "end": { + "line": 114, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "a", + "start": 2324, + "end": 2325, + "loc": { + "start": { + "line": 114, + "column": 20 + }, + "end": { + "line": 114, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2325, + "end": 2326, + "loc": { + "start": { + "line": 114, + "column": 21 + }, + "end": { + "line": 114, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 2326, + "end": 2332, + "loc": { + "start": { + "line": 114, + "column": 22 + }, + "end": { + "line": 114, + "column": 28 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2333, + "end": 2334, + "loc": { + "start": { + "line": 114, + "column": 29 + }, + "end": { + "line": 114, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "b", + "start": 2335, + "end": 2336, + "loc": { + "start": { + "line": 114, + "column": 31 + }, + "end": { + "line": 114, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2336, + "end": 2337, + "loc": { + "start": { + "line": 114, + "column": 32 + }, + "end": { + "line": 114, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 2337, + "end": 2343, + "loc": { + "start": { + "line": 114, + "column": 33 + }, + "end": { + "line": 114, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2344, + "end": 2345, + "loc": { + "start": { + "line": 114, + "column": 40 + }, + "end": { + "line": 114, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2346, + "end": 2347, + "loc": { + "start": { + "line": 114, + "column": 42 + }, + "end": { + "line": 114, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_mul", + "start": 2351, + "end": 2355, + "loc": { + "start": { + "line": 116, + "column": 2 + }, + "end": { + "line": 116, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2355, + "end": 2356, + "loc": { + "start": { + "line": 116, + "column": 6 + }, + "end": { + "line": 116, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "r", + "start": 2357, + "end": 2358, + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 9 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2359, + "end": 2360, + "loc": { + "start": { + "line": 116, + "column": 10 + }, + "end": { + "line": 116, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "a", + "start": 2361, + "end": 2362, + "loc": { + "start": { + "line": 116, + "column": 12 + }, + "end": { + "line": 116, + "column": 13 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2363, + "end": 2364, + "loc": { + "start": { + "line": 116, + "column": 14 + }, + "end": { + "line": 116, + "column": 15 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 2365, + "end": 2366, + "loc": { + "start": { + "line": 116, + "column": 16 + }, + "end": { + "line": 116, + "column": 17 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2367, + "end": 2368, + "loc": { + "start": { + "line": 116, + "column": 18 + }, + "end": { + "line": 116, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "a", + "start": 2369, + "end": 2370, + "loc": { + "start": { + "line": 116, + "column": 20 + }, + "end": { + "line": 116, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2370, + "end": 2371, + "loc": { + "start": { + "line": 116, + "column": 21 + }, + "end": { + "line": 116, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 2371, + "end": 2377, + "loc": { + "start": { + "line": 116, + "column": 22 + }, + "end": { + "line": 116, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2378, + "end": 2379, + "loc": { + "start": { + "line": 116, + "column": 29 + }, + "end": { + "line": 116, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "b", + "start": 2380, + "end": 2381, + "loc": { + "start": { + "line": 116, + "column": 31 + }, + "end": { + "line": 116, + "column": 32 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2382, + "end": 2383, + "loc": { + "start": { + "line": 116, + "column": 33 + }, + "end": { + "line": 116, + "column": 34 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 2384, + "end": 2385, + "loc": { + "start": { + "line": 116, + "column": 35 + }, + "end": { + "line": 116, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2386, + "end": 2387, + "loc": { + "start": { + "line": 116, + "column": 37 + }, + "end": { + "line": 116, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "b", + "start": 2388, + "end": 2389, + "loc": { + "start": { + "line": 116, + "column": 39 + }, + "end": { + "line": 116, + "column": 40 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2389, + "end": 2390, + "loc": { + "start": { + "line": 116, + "column": 40 + }, + "end": { + "line": 116, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 2390, + "end": 2396, + "loc": { + "start": { + "line": 116, + "column": 41 + }, + "end": { + "line": 116, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2397, + "end": 2398, + "loc": { + "start": { + "line": 116, + "column": 48 + }, + "end": { + "line": 116, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "c", + "start": 2399, + "end": 2400, + "loc": { + "start": { + "line": 116, + "column": 50 + }, + "end": { + "line": 116, + "column": 51 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2401, + "end": 2402, + "loc": { + "start": { + "line": 116, + "column": 52 + }, + "end": { + "line": 116, + "column": 53 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 2403, + "end": 2404, + "loc": { + "start": { + "line": 116, + "column": 54 + }, + "end": { + "line": 116, + "column": 55 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2405, + "end": 2406, + "loc": { + "start": { + "line": 116, + "column": 56 + }, + "end": { + "line": 116, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "c", + "start": 2407, + "end": 2408, + "loc": { + "start": { + "line": 116, + "column": 58 + }, + "end": { + "line": 116, + "column": 59 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2408, + "end": 2409, + "loc": { + "start": { + "line": 116, + "column": 59 + }, + "end": { + "line": 116, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 2409, + "end": 2415, + "loc": { + "start": { + "line": 116, + "column": 60 + }, + "end": { + "line": 116, + "column": 66 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2416, + "end": 2417, + "loc": { + "start": { + "line": 116, + "column": 67 + }, + "end": { + "line": 116, + "column": 68 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2418, + "end": 2419, + "loc": { + "start": { + "line": 116, + "column": 69 + }, + "end": { + "line": 116, + "column": 70 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 2423, + "end": 2429, + "loc": { + "start": { + "line": 118, + "column": 2 + }, + "end": { + "line": 118, + "column": 8 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 2430, + "end": 2433, + "loc": { + "start": { + "line": 118, + "column": 9 + }, + "end": { + "line": 118, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Integer", + "start": 2434, + "end": 2441, + "loc": { + "start": { + "line": 118, + "column": 13 + }, + "end": { + "line": 118, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2441, + "end": 2442, + "loc": { + "start": { + "line": 118, + "column": 20 + }, + "end": { + "line": 118, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "r", + "start": 2443, + "end": 2444, + "loc": { + "start": { + "line": 118, + "column": 22 + }, + "end": { + "line": 118, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2445, + "end": 2446, + "loc": { + "start": { + "line": 118, + "column": 24 + }, + "end": { + "line": 118, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "result_is_negative", + "start": 2447, + "end": 2465, + "loc": { + "start": { + "line": 118, + "column": 26 + }, + "end": { + "line": 118, + "column": 44 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2466, + "end": 2467, + "loc": { + "start": { + "line": 118, + "column": 45 + }, + "end": { + "line": 118, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "c", + "start": 2468, + "end": 2469, + "loc": { + "start": { + "line": 118, + "column": 47 + }, + "end": { + "line": 118, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2470, + "end": 2471, + "loc": { + "start": { + "line": 118, + "column": 49 + }, + "end": { + "line": 118, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2472, + "end": 2473, + "loc": { + "start": { + "line": 118, + "column": 51 + }, + "end": { + "line": 118, + "column": 52 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2476, + "end": 2477, + "loc": { + "start": { + "line": 120, + "column": 1 + }, + "end": { + "line": 120, + "column": 2 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pow", + "start": 2480, + "end": 2483, + "loc": { + "start": { + "line": 122, + "column": 1 + }, + "end": { + "line": 122, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2484, + "end": 2485, + "loc": { + "start": { + "line": 122, + "column": 5 + }, + "end": { + "line": 122, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 2486, + "end": 2491, + "loc": { + "start": { + "line": 122, + "column": 7 + }, + "end": { + "line": 122, + "column": 12 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2492, + "end": 2493, + "loc": { + "start": { + "line": 122, + "column": 13 + }, + "end": { + "line": 122, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2494, + "end": 2495, + "loc": { + "start": { + "line": 122, + "column": 15 + }, + "end": { + "line": 122, + "column": 16 + } + } + }, + { + "type": { + "label": "throw", + "keyword": "throw", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "throw", + "start": 2498, + "end": 2503, + "loc": { + "start": { + "line": 123, + "column": 2 + }, + "end": { + "line": 123, + "column": 7 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Integer#pow not implemented yet, waiting for @aureooms/js-integer-big-endian.", + "start": 2504, + "end": 2583, + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 87 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2584, + "end": 2585, + "loc": { + "start": { + "line": 123, + "column": 88 + }, + "end": { + "line": 123, + "column": 89 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2587, + "end": 2588, + "loc": { + "start": { + "line": 124, + "column": 1 + }, + "end": { + "line": 124, + "column": 2 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "div", + "start": 2591, + "end": 2594, + "loc": { + "start": { + "line": 126, + "column": 1 + }, + "end": { + "line": 126, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2595, + "end": 2596, + "loc": { + "start": { + "line": 126, + "column": 5 + }, + "end": { + "line": 126, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 2597, + "end": 2602, + "loc": { + "start": { + "line": 126, + "column": 7 + }, + "end": { + "line": 126, + "column": 12 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2603, + "end": 2604, + "loc": { + "start": { + "line": 126, + "column": 13 + }, + "end": { + "line": 126, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2605, + "end": 2606, + "loc": { + "start": { + "line": 126, + "column": 15 + }, + "end": { + "line": 126, + "column": 16 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 2609, + "end": 2615, + "loc": { + "start": { + "line": 127, + "column": 2 + }, + "end": { + "line": 127, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2616, + "end": 2620, + "loc": { + "start": { + "line": 127, + "column": 9 + }, + "end": { + "line": 127, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2620, + "end": 2621, + "loc": { + "start": { + "line": 127, + "column": 13 + }, + "end": { + "line": 127, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "divmod", + "start": 2621, + "end": 2627, + "loc": { + "start": { + "line": 127, + "column": 14 + }, + "end": { + "line": 127, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2627, + "end": 2628, + "loc": { + "start": { + "line": 127, + "column": 20 + }, + "end": { + "line": 127, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 2629, + "end": 2634, + "loc": { + "start": { + "line": 127, + "column": 22 + }, + "end": { + "line": 127, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2635, + "end": 2636, + "loc": { + "start": { + "line": 127, + "column": 28 + }, + "end": { + "line": 127, + "column": 29 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2636, + "end": 2637, + "loc": { + "start": { + "line": 127, + "column": 29 + }, + "end": { + "line": 127, + "column": 30 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 2637, + "end": 2638, + "loc": { + "start": { + "line": 127, + "column": 30 + }, + "end": { + "line": 127, + "column": 31 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2638, + "end": 2639, + "loc": { + "start": { + "line": 127, + "column": 31 + }, + "end": { + "line": 127, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2640, + "end": 2641, + "loc": { + "start": { + "line": 127, + "column": 33 + }, + "end": { + "line": 127, + "column": 34 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2643, + "end": 2644, + "loc": { + "start": { + "line": 128, + "column": 1 + }, + "end": { + "line": 128, + "column": 2 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mod", + "start": 2647, + "end": 2650, + "loc": { + "start": { + "line": 130, + "column": 1 + }, + "end": { + "line": 130, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2651, + "end": 2652, + "loc": { + "start": { + "line": 130, + "column": 5 + }, + "end": { + "line": 130, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 2653, + "end": 2658, + "loc": { + "start": { + "line": 130, + "column": 7 + }, + "end": { + "line": 130, + "column": 12 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2659, + "end": 2660, + "loc": { + "start": { + "line": 130, + "column": 13 + }, + "end": { + "line": 130, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2661, + "end": 2662, + "loc": { + "start": { + "line": 130, + "column": 15 + }, + "end": { + "line": 130, + "column": 16 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 2665, + "end": 2671, + "loc": { + "start": { + "line": 131, + "column": 2 + }, + "end": { + "line": 131, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2672, + "end": 2676, + "loc": { + "start": { + "line": 131, + "column": 9 + }, + "end": { + "line": 131, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2676, + "end": 2677, + "loc": { + "start": { + "line": 131, + "column": 13 + }, + "end": { + "line": 131, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "divmod", + "start": 2677, + "end": 2683, + "loc": { + "start": { + "line": 131, + "column": 14 + }, + "end": { + "line": 131, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2683, + "end": 2684, + "loc": { + "start": { + "line": 131, + "column": 20 + }, + "end": { + "line": 131, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 2685, + "end": 2690, + "loc": { + "start": { + "line": 131, + "column": 22 + }, + "end": { + "line": 131, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2691, + "end": 2692, + "loc": { + "start": { + "line": 131, + "column": 28 + }, + "end": { + "line": 131, + "column": 29 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2692, + "end": 2693, + "loc": { + "start": { + "line": 131, + "column": 29 + }, + "end": { + "line": 131, + "column": 30 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 2693, + "end": 2694, + "loc": { + "start": { + "line": 131, + "column": 30 + }, + "end": { + "line": 131, + "column": 31 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2694, + "end": 2695, + "loc": { + "start": { + "line": 131, + "column": 31 + }, + "end": { + "line": 131, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2696, + "end": 2697, + "loc": { + "start": { + "line": 131, + "column": 33 + }, + "end": { + "line": 131, + "column": 34 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2699, + "end": 2700, + "loc": { + "start": { + "line": 132, + "column": 1 + }, + "end": { + "line": 132, + "column": 2 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "divmod", + "start": 2703, + "end": 2709, + "loc": { + "start": { + "line": 134, + "column": 1 + }, + "end": { + "line": 134, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2710, + "end": 2711, + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 134, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 2712, + "end": 2717, + "loc": { + "start": { + "line": 134, + "column": 10 + }, + "end": { + "line": 134, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2718, + "end": 2719, + "loc": { + "start": { + "line": 134, + "column": 16 + }, + "end": { + "line": 134, + "column": 17 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2720, + "end": 2721, + "loc": { + "start": { + "line": 134, + "column": 18 + }, + "end": { + "line": 134, + "column": 19 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2725, + "end": 2730, + "loc": { + "start": { + "line": 136, + "column": 2 + }, + "end": { + "line": 136, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "quotient_is_negative", + "start": 2731, + "end": 2751, + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 136, + "column": 28 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2752, + "end": 2753, + "loc": { + "start": { + "line": 136, + "column": 29 + }, + "end": { + "line": 136, + "column": 30 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2754, + "end": 2758, + "loc": { + "start": { + "line": 136, + "column": 31 + }, + "end": { + "line": 136, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2758, + "end": 2759, + "loc": { + "start": { + "line": 136, + "column": 35 + }, + "end": { + "line": 136, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 2759, + "end": 2770, + "loc": { + "start": { + "line": 136, + "column": 36 + }, + "end": { + "line": 136, + "column": 47 + } + } + }, + { + "type": { + "label": "^", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 4, + "updateContext": null + }, + "value": "^", + "start": 2771, + "end": 2772, + "loc": { + "start": { + "line": 136, + "column": 48 + }, + "end": { + "line": 136, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 2773, + "end": 2778, + "loc": { + "start": { + "line": 136, + "column": 50 + }, + "end": { + "line": 136, + "column": 55 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2778, + "end": 2779, + "loc": { + "start": { + "line": 136, + "column": 55 + }, + "end": { + "line": 136, + "column": 56 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 2779, + "end": 2790, + "loc": { + "start": { + "line": 136, + "column": 56 + }, + "end": { + "line": 136, + "column": 67 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2791, + "end": 2792, + "loc": { + "start": { + "line": 136, + "column": 68 + }, + "end": { + "line": 136, + "column": 69 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2795, + "end": 2800, + "loc": { + "start": { + "line": 137, + "column": 2 + }, + "end": { + "line": 137, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "r", + "start": 2801, + "end": 2802, + "loc": { + "start": { + "line": 137, + "column": 8 + }, + "end": { + "line": 137, + "column": 9 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2803, + "end": 2804, + "loc": { + "start": { + "line": 137, + "column": 10 + }, + "end": { + "line": 137, + "column": 11 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2805, + "end": 2809, + "loc": { + "start": { + "line": 137, + "column": 12 + }, + "end": { + "line": 137, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2809, + "end": 2810, + "loc": { + "start": { + "line": 137, + "column": 16 + }, + "end": { + "line": 137, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 2810, + "end": 2814, + "loc": { + "start": { + "line": 137, + "column": 17 + }, + "end": { + "line": 137, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2815, + "end": 2816, + "loc": { + "start": { + "line": 137, + "column": 22 + }, + "end": { + "line": 137, + "column": 23 + } + } + }, + { + "type": "CommentLine", + "value": " Dividend (& Remainder)", + "start": 2820, + "end": 2845, + "loc": { + "start": { + "line": 139, + "column": 2 + }, + "end": { + "line": 139, + "column": 27 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2848, + "end": 2853, + "loc": { + "start": { + "line": 140, + "column": 2 + }, + "end": { + "line": 140, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "D", + "start": 2854, + "end": 2855, + "loc": { + "start": { + "line": 140, + "column": 8 + }, + "end": { + "line": 140, + "column": 9 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2856, + "end": 2857, + "loc": { + "start": { + "line": 140, + "column": 10 + }, + "end": { + "line": 140, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_alloc", + "start": 2858, + "end": 2864, + "loc": { + "start": { + "line": 140, + "column": 12 + }, + "end": { + "line": 140, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2864, + "end": 2865, + "loc": { + "start": { + "line": 140, + "column": 18 + }, + "end": { + "line": 140, + "column": 19 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2866, + "end": 2870, + "loc": { + "start": { + "line": 140, + "column": 20 + }, + "end": { + "line": 140, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2870, + "end": 2871, + "loc": { + "start": { + "line": 140, + "column": 24 + }, + "end": { + "line": 140, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 2871, + "end": 2876, + "loc": { + "start": { + "line": 140, + "column": 25 + }, + "end": { + "line": 140, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2876, + "end": 2877, + "loc": { + "start": { + "line": 140, + "column": 30 + }, + "end": { + "line": 140, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 2877, + "end": 2883, + "loc": { + "start": { + "line": 140, + "column": 31 + }, + "end": { + "line": 140, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2884, + "end": 2885, + "loc": { + "start": { + "line": 140, + "column": 38 + }, + "end": { + "line": 140, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2886, + "end": 2887, + "loc": { + "start": { + "line": 140, + "column": 40 + }, + "end": { + "line": 140, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_copy", + "start": 2890, + "end": 2895, + "loc": { + "start": { + "line": 141, + "column": 2 + }, + "end": { + "line": 141, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2895, + "end": 2896, + "loc": { + "start": { + "line": 141, + "column": 7 + }, + "end": { + "line": 141, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2897, + "end": 2901, + "loc": { + "start": { + "line": 141, + "column": 9 + }, + "end": { + "line": 141, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2901, + "end": 2902, + "loc": { + "start": { + "line": 141, + "column": 13 + }, + "end": { + "line": 141, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 2902, + "end": 2907, + "loc": { + "start": { + "line": 141, + "column": 14 + }, + "end": { + "line": 141, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2908, + "end": 2909, + "loc": { + "start": { + "line": 141, + "column": 20 + }, + "end": { + "line": 141, + "column": 21 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 2910, + "end": 2911, + "loc": { + "start": { + "line": 141, + "column": 22 + }, + "end": { + "line": 141, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2912, + "end": 2913, + "loc": { + "start": { + "line": 141, + "column": 24 + }, + "end": { + "line": 141, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2914, + "end": 2918, + "loc": { + "start": { + "line": 141, + "column": 26 + }, + "end": { + "line": 141, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2918, + "end": 2919, + "loc": { + "start": { + "line": 141, + "column": 30 + }, + "end": { + "line": 141, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 2919, + "end": 2924, + "loc": { + "start": { + "line": 141, + "column": 31 + }, + "end": { + "line": 141, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2924, + "end": 2925, + "loc": { + "start": { + "line": 141, + "column": 36 + }, + "end": { + "line": 141, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 2925, + "end": 2931, + "loc": { + "start": { + "line": 141, + "column": 37 + }, + "end": { + "line": 141, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2932, + "end": 2933, + "loc": { + "start": { + "line": 141, + "column": 44 + }, + "end": { + "line": 141, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "D", + "start": 2934, + "end": 2935, + "loc": { + "start": { + "line": 141, + "column": 46 + }, + "end": { + "line": 141, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2936, + "end": 2937, + "loc": { + "start": { + "line": 141, + "column": 48 + }, + "end": { + "line": 141, + "column": 49 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 2938, + "end": 2939, + "loc": { + "start": { + "line": 141, + "column": 50 + }, + "end": { + "line": 141, + "column": 51 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2940, + "end": 2941, + "loc": { + "start": { + "line": 141, + "column": 52 + }, + "end": { + "line": 141, + "column": 53 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2942, + "end": 2943, + "loc": { + "start": { + "line": 141, + "column": 54 + }, + "end": { + "line": 141, + "column": 55 + } + } + }, + { + "type": "CommentLine", + "value": " Divisor", + "start": 2947, + "end": 2957, + "loc": { + "start": { + "line": 143, + "column": 2 + }, + "end": { + "line": 143, + "column": 12 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 2960, + "end": 2963, + "loc": { + "start": { + "line": 144, + "column": 2 + }, + "end": { + "line": 144, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "d", + "start": 2964, + "end": 2965, + "loc": { + "start": { + "line": 144, + "column": 6 + }, + "end": { + "line": 144, + "column": 7 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2966, + "end": 2967, + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 144, + "column": 9 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 2970, + "end": 2972, + "loc": { + "start": { + "line": 145, + "column": 2 + }, + "end": { + "line": 145, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2973, + "end": 2974, + "loc": { + "start": { + "line": 145, + "column": 5 + }, + "end": { + "line": 145, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 2975, + "end": 2980, + "loc": { + "start": { + "line": 145, + "column": 7 + }, + "end": { + "line": 145, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2980, + "end": 2981, + "loc": { + "start": { + "line": 145, + "column": 12 + }, + "end": { + "line": 145, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 2981, + "end": 2985, + "loc": { + "start": { + "line": 145, + "column": 13 + }, + "end": { + "line": 145, + "column": 17 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 2986, + "end": 2989, + "loc": { + "start": { + "line": 145, + "column": 18 + }, + "end": { + "line": 145, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "r", + "start": 2990, + "end": 2991, + "loc": { + "start": { + "line": 145, + "column": 22 + }, + "end": { + "line": 145, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2992, + "end": 2993, + "loc": { + "start": { + "line": 145, + "column": 24 + }, + "end": { + "line": 145, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "d", + "start": 2994, + "end": 2995, + "loc": { + "start": { + "line": 145, + "column": 26 + }, + "end": { + "line": 145, + "column": 27 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2996, + "end": 2997, + "loc": { + "start": { + "line": 145, + "column": 28 + }, + "end": { + "line": 145, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 2998, + "end": 3003, + "loc": { + "start": { + "line": 145, + "column": 30 + }, + "end": { + "line": 145, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3003, + "end": 3004, + "loc": { + "start": { + "line": 145, + "column": 35 + }, + "end": { + "line": 145, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 3004, + "end": 3009, + "loc": { + "start": { + "line": 145, + "column": 36 + }, + "end": { + "line": 145, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3010, + "end": 3011, + "loc": { + "start": { + "line": 145, + "column": 42 + }, + "end": { + "line": 145, + "column": 43 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 3014, + "end": 3018, + "loc": { + "start": { + "line": 146, + "column": 2 + }, + "end": { + "line": 146, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "d", + "start": 3019, + "end": 3020, + "loc": { + "start": { + "line": 146, + "column": 7 + }, + "end": { + "line": 146, + "column": 8 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3021, + "end": 3022, + "loc": { + "start": { + "line": 146, + "column": 9 + }, + "end": { + "line": 146, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convert", + "start": 3023, + "end": 3030, + "loc": { + "start": { + "line": 146, + "column": 11 + }, + "end": { + "line": 146, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3030, + "end": 3031, + "loc": { + "start": { + "line": 146, + "column": 18 + }, + "end": { + "line": 146, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 3032, + "end": 3037, + "loc": { + "start": { + "line": 146, + "column": 20 + }, + "end": { + "line": 146, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3037, + "end": 3038, + "loc": { + "start": { + "line": 146, + "column": 25 + }, + "end": { + "line": 146, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 3038, + "end": 3042, + "loc": { + "start": { + "line": 146, + "column": 26 + }, + "end": { + "line": 146, + "column": 30 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3043, + "end": 3044, + "loc": { + "start": { + "line": 146, + "column": 31 + }, + "end": { + "line": 146, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "r", + "start": 3045, + "end": 3046, + "loc": { + "start": { + "line": 146, + "column": 33 + }, + "end": { + "line": 146, + "column": 34 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3047, + "end": 3048, + "loc": { + "start": { + "line": 146, + "column": 35 + }, + "end": { + "line": 146, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 3049, + "end": 3054, + "loc": { + "start": { + "line": 146, + "column": 37 + }, + "end": { + "line": 146, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3054, + "end": 3055, + "loc": { + "start": { + "line": 146, + "column": 42 + }, + "end": { + "line": 146, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 3055, + "end": 3060, + "loc": { + "start": { + "line": 146, + "column": 43 + }, + "end": { + "line": 146, + "column": 48 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3061, + "end": 3062, + "loc": { + "start": { + "line": 146, + "column": 49 + }, + "end": { + "line": 146, + "column": 50 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 3063, + "end": 3064, + "loc": { + "start": { + "line": 146, + "column": 51 + }, + "end": { + "line": 146, + "column": 52 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3065, + "end": 3066, + "loc": { + "start": { + "line": 146, + "column": 53 + }, + "end": { + "line": 146, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 3067, + "end": 3072, + "loc": { + "start": { + "line": 146, + "column": 55 + }, + "end": { + "line": 146, + "column": 60 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3072, + "end": 3073, + "loc": { + "start": { + "line": 146, + "column": 60 + }, + "end": { + "line": 146, + "column": 61 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 3073, + "end": 3078, + "loc": { + "start": { + "line": 146, + "column": 61 + }, + "end": { + "line": 146, + "column": 66 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3078, + "end": 3079, + "loc": { + "start": { + "line": 146, + "column": 66 + }, + "end": { + "line": 146, + "column": 67 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 3079, + "end": 3085, + "loc": { + "start": { + "line": 146, + "column": 67 + }, + "end": { + "line": 146, + "column": 73 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3086, + "end": 3087, + "loc": { + "start": { + "line": 146, + "column": 74 + }, + "end": { + "line": 146, + "column": 75 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3088, + "end": 3089, + "loc": { + "start": { + "line": 146, + "column": 76 + }, + "end": { + "line": 146, + "column": 77 + } + } + }, + { + "type": "CommentLine", + "value": " Quotient", + "start": 3093, + "end": 3104, + "loc": { + "start": { + "line": 148, + "column": 2 + }, + "end": { + "line": 148, + "column": 13 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 3107, + "end": 3112, + "loc": { + "start": { + "line": 149, + "column": 2 + }, + "end": { + "line": 149, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "q", + "start": 3113, + "end": 3114, + "loc": { + "start": { + "line": 149, + "column": 8 + }, + "end": { + "line": 149, + "column": 9 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3115, + "end": 3116, + "loc": { + "start": { + "line": 149, + "column": 10 + }, + "end": { + "line": 149, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_zeros", + "start": 3117, + "end": 3123, + "loc": { + "start": { + "line": 149, + "column": 12 + }, + "end": { + "line": 149, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3123, + "end": 3124, + "loc": { + "start": { + "line": 149, + "column": 18 + }, + "end": { + "line": 149, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "D", + "start": 3125, + "end": 3126, + "loc": { + "start": { + "line": 149, + "column": 20 + }, + "end": { + "line": 149, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3126, + "end": 3127, + "loc": { + "start": { + "line": 149, + "column": 21 + }, + "end": { + "line": 149, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 3127, + "end": 3133, + "loc": { + "start": { + "line": 149, + "column": 22 + }, + "end": { + "line": 149, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3134, + "end": 3135, + "loc": { + "start": { + "line": 149, + "column": 29 + }, + "end": { + "line": 149, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3136, + "end": 3137, + "loc": { + "start": { + "line": 149, + "column": 31 + }, + "end": { + "line": 149, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_div", + "start": 3141, + "end": 3145, + "loc": { + "start": { + "line": 151, + "column": 2 + }, + "end": { + "line": 151, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3145, + "end": 3146, + "loc": { + "start": { + "line": 151, + "column": 6 + }, + "end": { + "line": 151, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "r", + "start": 3147, + "end": 3148, + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 9 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3149, + "end": 3150, + "loc": { + "start": { + "line": 151, + "column": 10 + }, + "end": { + "line": 151, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "D", + "start": 3151, + "end": 3152, + "loc": { + "start": { + "line": 151, + "column": 12 + }, + "end": { + "line": 151, + "column": 13 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3153, + "end": 3154, + "loc": { + "start": { + "line": 151, + "column": 14 + }, + "end": { + "line": 151, + "column": 15 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 3155, + "end": 3156, + "loc": { + "start": { + "line": 151, + "column": 16 + }, + "end": { + "line": 151, + "column": 17 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3157, + "end": 3158, + "loc": { + "start": { + "line": 151, + "column": 18 + }, + "end": { + "line": 151, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "D", + "start": 3159, + "end": 3160, + "loc": { + "start": { + "line": 151, + "column": 20 + }, + "end": { + "line": 151, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3160, + "end": 3161, + "loc": { + "start": { + "line": 151, + "column": 21 + }, + "end": { + "line": 151, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 3161, + "end": 3167, + "loc": { + "start": { + "line": 151, + "column": 22 + }, + "end": { + "line": 151, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3168, + "end": 3169, + "loc": { + "start": { + "line": 151, + "column": 29 + }, + "end": { + "line": 151, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "d", + "start": 3170, + "end": 3171, + "loc": { + "start": { + "line": 151, + "column": 31 + }, + "end": { + "line": 151, + "column": 32 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3172, + "end": 3173, + "loc": { + "start": { + "line": 151, + "column": 33 + }, + "end": { + "line": 151, + "column": 34 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 3174, + "end": 3175, + "loc": { + "start": { + "line": 151, + "column": 35 + }, + "end": { + "line": 151, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3176, + "end": 3177, + "loc": { + "start": { + "line": 151, + "column": 37 + }, + "end": { + "line": 151, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "d", + "start": 3178, + "end": 3179, + "loc": { + "start": { + "line": 151, + "column": 39 + }, + "end": { + "line": 151, + "column": 40 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3179, + "end": 3180, + "loc": { + "start": { + "line": 151, + "column": 40 + }, + "end": { + "line": 151, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 3180, + "end": 3186, + "loc": { + "start": { + "line": 151, + "column": 41 + }, + "end": { + "line": 151, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3187, + "end": 3188, + "loc": { + "start": { + "line": 151, + "column": 48 + }, + "end": { + "line": 151, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "q", + "start": 3189, + "end": 3190, + "loc": { + "start": { + "line": 151, + "column": 50 + }, + "end": { + "line": 151, + "column": 51 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3191, + "end": 3192, + "loc": { + "start": { + "line": 151, + "column": 52 + }, + "end": { + "line": 151, + "column": 53 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 3193, + "end": 3194, + "loc": { + "start": { + "line": 151, + "column": 54 + }, + "end": { + "line": 151, + "column": 55 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3195, + "end": 3196, + "loc": { + "start": { + "line": 151, + "column": 56 + }, + "end": { + "line": 151, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "q", + "start": 3197, + "end": 3198, + "loc": { + "start": { + "line": 151, + "column": 58 + }, + "end": { + "line": 151, + "column": 59 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3198, + "end": 3199, + "loc": { + "start": { + "line": 151, + "column": 59 + }, + "end": { + "line": 151, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 3199, + "end": 3205, + "loc": { + "start": { + "line": 151, + "column": 60 + }, + "end": { + "line": 151, + "column": 66 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3206, + "end": 3207, + "loc": { + "start": { + "line": 151, + "column": 67 + }, + "end": { + "line": 151, + "column": 68 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3208, + "end": 3209, + "loc": { + "start": { + "line": 151, + "column": 69 + }, + "end": { + "line": 151, + "column": 70 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 3213, + "end": 3219, + "loc": { + "start": { + "line": 153, + "column": 2 + }, + "end": { + "line": 153, + "column": 8 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3220, + "end": 3221, + "loc": { + "start": { + "line": 153, + "column": 9 + }, + "end": { + "line": 153, + "column": 10 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 3225, + "end": 3228, + "loc": { + "start": { + "line": 154, + "column": 3 + }, + "end": { + "line": 154, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Integer", + "start": 3229, + "end": 3236, + "loc": { + "start": { + "line": 154, + "column": 7 + }, + "end": { + "line": 154, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3236, + "end": 3237, + "loc": { + "start": { + "line": 154, + "column": 14 + }, + "end": { + "line": 154, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "r", + "start": 3238, + "end": 3239, + "loc": { + "start": { + "line": 154, + "column": 16 + }, + "end": { + "line": 154, + "column": 17 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3240, + "end": 3241, + "loc": { + "start": { + "line": 154, + "column": 18 + }, + "end": { + "line": 154, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "quotient_is_negative", + "start": 3242, + "end": 3262, + "loc": { + "start": { + "line": 154, + "column": 20 + }, + "end": { + "line": 154, + "column": 40 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3263, + "end": 3264, + "loc": { + "start": { + "line": 154, + "column": 41 + }, + "end": { + "line": 154, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "q", + "start": 3265, + "end": 3266, + "loc": { + "start": { + "line": 154, + "column": 43 + }, + "end": { + "line": 154, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3267, + "end": 3268, + "loc": { + "start": { + "line": 154, + "column": 45 + }, + "end": { + "line": 154, + "column": 46 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3269, + "end": 3270, + "loc": { + "start": { + "line": 154, + "column": 47 + }, + "end": { + "line": 154, + "column": 48 + } + } + }, + { + "type": "CommentLine", + "value": " quotient", + "start": 3271, + "end": 3282, + "loc": { + "start": { + "line": 154, + "column": 49 + }, + "end": { + "line": 154, + "column": 60 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 3286, + "end": 3289, + "loc": { + "start": { + "line": 155, + "column": 3 + }, + "end": { + "line": 155, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Integer", + "start": 3290, + "end": 3297, + "loc": { + "start": { + "line": 155, + "column": 7 + }, + "end": { + "line": 155, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3297, + "end": 3298, + "loc": { + "start": { + "line": 155, + "column": 14 + }, + "end": { + "line": 155, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "r", + "start": 3299, + "end": 3300, + "loc": { + "start": { + "line": 155, + "column": 16 + }, + "end": { + "line": 155, + "column": 17 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3301, + "end": 3302, + "loc": { + "start": { + "line": 155, + "column": 18 + }, + "end": { + "line": 155, + "column": 19 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 3303, + "end": 3304, + "loc": { + "start": { + "line": 155, + "column": 20 + }, + "end": { + "line": 155, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3305, + "end": 3306, + "loc": { + "start": { + "line": 155, + "column": 22 + }, + "end": { + "line": 155, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "D", + "start": 3307, + "end": 3308, + "loc": { + "start": { + "line": 155, + "column": 24 + }, + "end": { + "line": 155, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3309, + "end": 3310, + "loc": { + "start": { + "line": 155, + "column": 26 + }, + "end": { + "line": 155, + "column": 27 + } + } + }, + { + "type": "CommentLine", + "value": " remainder", + "start": 3332, + "end": 3344, + "loc": { + "start": { + "line": 155, + "column": 49 + }, + "end": { + "line": 155, + "column": 61 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3347, + "end": 3348, + "loc": { + "start": { + "line": 156, + "column": 2 + }, + "end": { + "line": 156, + "column": 3 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3349, + "end": 3350, + "loc": { + "start": { + "line": 156, + "column": 4 + }, + "end": { + "line": 156, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3353, + "end": 3354, + "loc": { + "start": { + "line": 158, + "column": 1 + }, + "end": { + "line": 158, + "column": 2 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "opposite", + "start": 3357, + "end": 3365, + "loc": { + "start": { + "line": 160, + "column": 1 + }, + "end": { + "line": 160, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3366, + "end": 3367, + "loc": { + "start": { + "line": 160, + "column": 10 + }, + "end": { + "line": 160, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3368, + "end": 3369, + "loc": { + "start": { + "line": 160, + "column": 12 + }, + "end": { + "line": 160, + "column": 13 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3370, + "end": 3371, + "loc": { + "start": { + "line": 160, + "column": 14 + }, + "end": { + "line": 160, + "column": 15 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 3374, + "end": 3380, + "loc": { + "start": { + "line": 161, + "column": 2 + }, + "end": { + "line": 161, + "column": 8 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 3381, + "end": 3384, + "loc": { + "start": { + "line": 161, + "column": 9 + }, + "end": { + "line": 161, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Integer", + "start": 3385, + "end": 3392, + "loc": { + "start": { + "line": 161, + "column": 13 + }, + "end": { + "line": 161, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3392, + "end": 3393, + "loc": { + "start": { + "line": 161, + "column": 20 + }, + "end": { + "line": 161, + "column": 21 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3394, + "end": 3398, + "loc": { + "start": { + "line": 161, + "column": 22 + }, + "end": { + "line": 161, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3398, + "end": 3399, + "loc": { + "start": { + "line": 161, + "column": 26 + }, + "end": { + "line": 161, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 3399, + "end": 3403, + "loc": { + "start": { + "line": 161, + "column": 27 + }, + "end": { + "line": 161, + "column": 31 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3404, + "end": 3405, + "loc": { + "start": { + "line": 161, + "column": 32 + }, + "end": { + "line": 161, + "column": 33 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "~", + "start": 3406, + "end": 3407, + "loc": { + "start": { + "line": 161, + "column": 34 + }, + "end": { + "line": 161, + "column": 35 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3407, + "end": 3411, + "loc": { + "start": { + "line": 161, + "column": 35 + }, + "end": { + "line": 161, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3411, + "end": 3412, + "loc": { + "start": { + "line": 161, + "column": 39 + }, + "end": { + "line": 161, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 3412, + "end": 3423, + "loc": { + "start": { + "line": 161, + "column": 40 + }, + "end": { + "line": 161, + "column": 51 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3424, + "end": 3425, + "loc": { + "start": { + "line": 161, + "column": 52 + }, + "end": { + "line": 161, + "column": 53 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3426, + "end": 3430, + "loc": { + "start": { + "line": 161, + "column": 54 + }, + "end": { + "line": 161, + "column": 58 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3430, + "end": 3431, + "loc": { + "start": { + "line": 161, + "column": 58 + }, + "end": { + "line": 161, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 3431, + "end": 3436, + "loc": { + "start": { + "line": 161, + "column": 59 + }, + "end": { + "line": 161, + "column": 64 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3437, + "end": 3438, + "loc": { + "start": { + "line": 161, + "column": 65 + }, + "end": { + "line": 161, + "column": 66 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3439, + "end": 3440, + "loc": { + "start": { + "line": 161, + "column": 67 + }, + "end": { + "line": 161, + "column": 68 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3442, + "end": 3443, + "loc": { + "start": { + "line": 162, + "column": 1 + }, + "end": { + "line": 162, + "column": 2 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3445, + "end": 3446, + "loc": { + "start": { + "line": 164, + "column": 0 + }, + "end": { + "line": 164, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3447, + "end": 3447, + "loc": { + "start": { + "line": 165, + "column": 0 + }, + "end": { + "line": 165, + "column": 0 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/IntegerRing.js.json b/ast/source/IntegerRing.js.json new file mode 100644 index 0000000..c5b6712 --- /dev/null +++ b/ast/source/IntegerRing.js.json @@ -0,0 +1,12944 @@ +{ + "type": "File", + "start": 0, + "end": 1600, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 69, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 1600, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 69, + "column": 0 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 0, + "end": 30, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 30 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 9, + "end": 16, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 16 + } + }, + "imported": { + "type": "Identifier", + "start": 9, + "end": 16, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 16 + }, + "identifierName": "Integer" + }, + "name": "Integer" + }, + "local": { + "type": "Identifier", + "start": 9, + "end": 16, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 16 + }, + "identifierName": "Integer" + }, + "name": "Integer" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 24, + "end": 28, + "loc": { + "start": { + "line": 1, + "column": 24 + }, + "end": { + "line": 1, + "column": 28 + } + }, + "extra": { + "rawValue": "./", + "raw": "'./'" + }, + "value": "./" + } + }, + { + "type": "ImportDeclaration", + "start": 31, + "end": 88, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 57 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 40, + "end": 45, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 14 + } + }, + "imported": { + "type": "Identifier", + "start": 40, + "end": 45, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 14 + }, + "identifierName": "parse" + }, + "name": "parse" + }, + "local": { + "type": "Identifier", + "start": 40, + "end": 45, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 14 + }, + "identifierName": "parse" + }, + "name": "parse" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 53, + "end": 86, + "loc": { + "start": { + "line": 2, + "column": 22 + }, + "end": { + "line": 2, + "column": 55 + } + }, + "extra": { + "rawValue": "@aureooms/js-integer-big-endian", + "raw": "'@aureooms/js-integer-big-endian'" + }, + "value": "@aureooms/js-integer-big-endian" + } + }, + { + "type": "ExportNamedDeclaration", + "start": 90, + "end": 1599, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 68, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "ClassDeclaration", + "start": 97, + "end": 1599, + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 68, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 103, + "end": 114, + "loc": { + "start": { + "line": 4, + "column": 13 + }, + "end": { + "line": 4, + "column": 24 + }, + "identifierName": "IntegerRing" + }, + "name": "IntegerRing" + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 115, + "end": 1599, + "loc": { + "start": { + "line": 4, + "column": 25 + }, + "end": { + "line": 68, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 119, + "end": 193, + "loc": { + "start": { + "line": 6, + "column": 1 + }, + "end": { + "line": 9, + "column": 2 + } + }, + "computed": false, + "key": { + "type": "Identifier", + "start": 119, + "end": 130, + "loc": { + "start": { + "line": 6, + "column": 1 + }, + "end": { + "line": 6, + "column": 12 + }, + "identifierName": "constructor" + }, + "name": "constructor" + }, + "static": false, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 133, + "end": 137, + "loc": { + "start": { + "line": 6, + "column": 15 + }, + "end": { + "line": 6, + "column": 19 + }, + "identifierName": "name" + }, + "name": "name" + }, + { + "type": "Identifier", + "start": 140, + "end": 144, + "loc": { + "start": { + "line": 6, + "column": 22 + }, + "end": { + "line": 6, + "column": 26 + }, + "identifierName": "base" + }, + "name": "base" + } + ], + "body": { + "type": "BlockStatement", + "start": 147, + "end": 193, + "loc": { + "start": { + "line": 6, + "column": 29 + }, + "end": { + "line": 9, + "column": 2 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 151, + "end": 169, + "loc": { + "start": { + "line": 7, + "column": 2 + }, + "end": { + "line": 7, + "column": 20 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 151, + "end": 167, + "loc": { + "start": { + "line": 7, + "column": 2 + }, + "end": { + "line": 7, + "column": 18 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 151, + "end": 160, + "loc": { + "start": { + "line": 7, + "column": 2 + }, + "end": { + "line": 7, + "column": 11 + } + }, + "object": { + "type": "ThisExpression", + "start": 151, + "end": 155, + "loc": { + "start": { + "line": 7, + "column": 2 + }, + "end": { + "line": 7, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 156, + "end": 160, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 11 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 163, + "end": 167, + "loc": { + "start": { + "line": 7, + "column": 14 + }, + "end": { + "line": 7, + "column": 18 + }, + "identifierName": "name" + }, + "name": "name" + } + } + }, + { + "type": "ExpressionStatement", + "start": 172, + "end": 190, + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 20 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 172, + "end": 188, + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 18 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 172, + "end": 181, + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 11 + } + }, + "object": { + "type": "ThisExpression", + "start": 172, + "end": 176, + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 177, + "end": 181, + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 11 + }, + "identifierName": "base" + }, + "name": "base" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 184, + "end": 188, + "loc": { + "start": { + "line": 8, + "column": 14 + }, + "end": { + "line": 8, + "column": 18 + }, + "identifierName": "base" + }, + "name": "base" + } + } + } + ], + "directives": [] + } + }, + { + "type": "ClassMethod", + "start": 196, + "end": 704, + "loc": { + "start": { + "line": 11, + "column": 1 + }, + "end": { + "line": 24, + "column": 2 + } + }, + "computed": false, + "key": { + "type": "Identifier", + "start": 196, + "end": 200, + "loc": { + "start": { + "line": 11, + "column": 1 + }, + "end": { + "line": 11, + "column": 5 + }, + "identifierName": "from" + }, + "name": "from" + }, + "static": false, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 203, + "end": 209, + "loc": { + "start": { + "line": 11, + "column": 8 + }, + "end": { + "line": 11, + "column": 14 + }, + "identifierName": "object" + }, + "name": "object" + }, + { + "type": "AssignmentPattern", + "start": 212, + "end": 228, + "loc": { + "start": { + "line": 11, + "column": 17 + }, + "end": { + "line": 11, + "column": 33 + } + }, + "left": { + "type": "Identifier", + "start": 212, + "end": 216, + "loc": { + "start": { + "line": 11, + "column": 17 + }, + "end": { + "line": 11, + "column": 21 + }, + "identifierName": "base" + }, + "name": "base" + }, + "right": { + "type": "Identifier", + "start": 219, + "end": 228, + "loc": { + "start": { + "line": 11, + "column": 24 + }, + "end": { + "line": 11, + "column": 33 + }, + "identifierName": "undefined" + }, + "name": "undefined" + } + }, + { + "type": "AssignmentPattern", + "start": 231, + "end": 246, + "loc": { + "start": { + "line": 11, + "column": 36 + }, + "end": { + "line": 11, + "column": 51 + } + }, + "left": { + "type": "Identifier", + "start": 231, + "end": 242, + "loc": { + "start": { + "line": 11, + "column": 36 + }, + "end": { + "line": 11, + "column": 47 + }, + "identifierName": "is_negative" + }, + "name": "is_negative" + }, + "right": { + "type": "NumericLiteral", + "start": 245, + "end": 246, + "loc": { + "start": { + "line": 11, + "column": 50 + }, + "end": { + "line": 11, + "column": 51 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "body": { + "type": "BlockStatement", + "start": 249, + "end": 704, + "loc": { + "start": { + "line": 11, + "column": 54 + }, + "end": { + "line": 24, + "column": 2 + } + }, + "body": [ + { + "type": "SwitchStatement", + "start": 254, + "end": 700, + "loc": { + "start": { + "line": 13, + "column": 2 + }, + "end": { + "line": 22, + "column": 3 + } + }, + "discriminant": { + "type": "UnaryExpression", + "start": 263, + "end": 276, + "loc": { + "start": { + "line": 13, + "column": 11 + }, + "end": { + "line": 13, + "column": 24 + } + }, + "operator": "typeof", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 270, + "end": 276, + "loc": { + "start": { + "line": 13, + "column": 18 + }, + "end": { + "line": 13, + "column": 24 + }, + "identifierName": "object" + }, + "name": "object" + }, + "extra": { + "parenthesizedArgument": false + } + }, + "cases": [ + { + "type": "SwitchCase", + "start": 284, + "end": 500, + "loc": { + "start": { + "line": 14, + "column": 3 + }, + "end": { + "line": 16, + "column": 63 + } + }, + "consequent": [ + { + "type": "IfStatement", + "start": 304, + "end": 436, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 136 + } + }, + "test": { + "type": "BinaryExpression", + "start": 309, + "end": 327, + "loc": { + "start": { + "line": 15, + "column": 9 + }, + "end": { + "line": 15, + "column": 27 + } + }, + "left": { + "type": "Identifier", + "start": 309, + "end": 313, + "loc": { + "start": { + "line": 15, + "column": 9 + }, + "end": { + "line": 15, + "column": 13 + }, + "identifierName": "base" + }, + "name": "base" + }, + "operator": "!==", + "right": { + "type": "Identifier", + "start": 318, + "end": 327, + "loc": { + "start": { + "line": 15, + "column": 18 + }, + "end": { + "line": 15, + "column": 27 + }, + "identifierName": "undefined" + }, + "name": "undefined" + } + }, + "consequent": { + "type": "ThrowStatement", + "start": 330, + "end": 436, + "loc": { + "start": { + "line": 15, + "column": 30 + }, + "end": { + "line": 15, + "column": 136 + } + }, + "argument": { + "type": "StringLiteral", + "start": 336, + "end": 434, + "loc": { + "start": { + "line": 15, + "column": 36 + }, + "end": { + "line": 15, + "column": 134 + } + }, + "extra": { + "rawValue": "IntegerRing#from: using the base parameter does not make sense when parsing a JavaScript number.", + "raw": "'IntegerRing#from: using the base parameter does not make sense when parsing a JavaScript number.'" + }, + "value": "IntegerRing#from: using the base parameter does not make sense when parsing a JavaScript number." + } + }, + "alternate": null + }, + { + "type": "ReturnStatement", + "start": 441, + "end": 500, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 63 + } + }, + "argument": { + "type": "CallExpression", + "start": 448, + "end": 498, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 61 + } + }, + "callee": { + "type": "MemberExpression", + "start": 448, + "end": 464, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 448, + "end": 452, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 453, + "end": 464, + "loc": { + "start": { + "line": 16, + "column": 16 + }, + "end": { + "line": 16, + "column": 27 + }, + "identifierName": "from_string" + }, + "name": "from_string" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 466, + "end": 477, + "loc": { + "start": { + "line": 16, + "column": 29 + }, + "end": { + "line": 16, + "column": 40 + } + }, + "left": { + "type": "StringLiteral", + "start": 466, + "end": 468, + "loc": { + "start": { + "line": 16, + "column": 29 + }, + "end": { + "line": 16, + "column": 31 + } + }, + "extra": { + "rawValue": "", + "raw": "''" + }, + "value": "" + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 471, + "end": 477, + "loc": { + "start": { + "line": 16, + "column": 34 + }, + "end": { + "line": 16, + "column": 40 + }, + "identifierName": "object" + }, + "name": "object" + } + }, + { + "type": "NumericLiteral", + "start": 480, + "end": 482, + "loc": { + "start": { + "line": 16, + "column": 43 + }, + "end": { + "line": 16, + "column": 45 + } + }, + "extra": { + "rawValue": 10, + "raw": "10" + }, + "value": 10 + }, + { + "type": "Identifier", + "start": 485, + "end": 496, + "loc": { + "start": { + "line": 16, + "column": 48 + }, + "end": { + "line": 16, + "column": 59 + }, + "identifierName": "is_negative" + }, + "name": "is_negative" + } + ] + } + } + ], + "test": { + "type": "StringLiteral", + "start": 289, + "end": 297, + "loc": { + "start": { + "line": 14, + "column": 8 + }, + "end": { + "line": 14, + "column": 16 + } + }, + "extra": { + "rawValue": "number", + "raw": "'number'" + }, + "value": "number" + } + }, + { + "type": "SwitchCase", + "start": 504, + "end": 622, + "loc": { + "start": { + "line": 17, + "column": 3 + }, + "end": { + "line": 19, + "column": 60 + } + }, + "consequent": [ + { + "type": "IfStatement", + "start": 524, + "end": 561, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 41 + } + }, + "test": { + "type": "BinaryExpression", + "start": 529, + "end": 547, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 27 + } + }, + "left": { + "type": "Identifier", + "start": 529, + "end": 533, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 13 + }, + "identifierName": "base" + }, + "name": "base" + }, + "operator": "===", + "right": { + "type": "Identifier", + "start": 538, + "end": 547, + "loc": { + "start": { + "line": 18, + "column": 18 + }, + "end": { + "line": 18, + "column": 27 + }, + "identifierName": "undefined" + }, + "name": "undefined" + } + }, + "consequent": { + "type": "ExpressionStatement", + "start": 550, + "end": 561, + "loc": { + "start": { + "line": 18, + "column": 30 + }, + "end": { + "line": 18, + "column": 41 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 550, + "end": 559, + "loc": { + "start": { + "line": 18, + "column": 30 + }, + "end": { + "line": 18, + "column": 39 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 550, + "end": 554, + "loc": { + "start": { + "line": 18, + "column": 30 + }, + "end": { + "line": 18, + "column": 34 + }, + "identifierName": "base" + }, + "name": "base" + }, + "right": { + "type": "NumericLiteral", + "start": 557, + "end": 559, + "loc": { + "start": { + "line": 18, + "column": 37 + }, + "end": { + "line": 18, + "column": 39 + } + }, + "extra": { + "rawValue": 10, + "raw": "10" + }, + "value": 10 + } + } + }, + "alternate": null + }, + { + "type": "ReturnStatement", + "start": 566, + "end": 622, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 60 + } + }, + "argument": { + "type": "CallExpression", + "start": 573, + "end": 620, + "loc": { + "start": { + "line": 19, + "column": 11 + }, + "end": { + "line": 19, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 573, + "end": 589, + "loc": { + "start": { + "line": 19, + "column": 11 + }, + "end": { + "line": 19, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 573, + "end": 577, + "loc": { + "start": { + "line": 19, + "column": 11 + }, + "end": { + "line": 19, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 578, + "end": 589, + "loc": { + "start": { + "line": 19, + "column": 16 + }, + "end": { + "line": 19, + "column": 27 + }, + "identifierName": "from_string" + }, + "name": "from_string" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 591, + "end": 597, + "loc": { + "start": { + "line": 19, + "column": 29 + }, + "end": { + "line": 19, + "column": 35 + }, + "identifierName": "object" + }, + "name": "object" + }, + { + "type": "Identifier", + "start": 600, + "end": 604, + "loc": { + "start": { + "line": 19, + "column": 38 + }, + "end": { + "line": 19, + "column": 42 + }, + "identifierName": "base" + }, + "name": "base" + }, + { + "type": "Identifier", + "start": 607, + "end": 618, + "loc": { + "start": { + "line": 19, + "column": 45 + }, + "end": { + "line": 19, + "column": 56 + }, + "identifierName": "is_negative" + }, + "name": "is_negative" + } + ] + } + } + ], + "test": { + "type": "StringLiteral", + "start": 509, + "end": 517, + "loc": { + "start": { + "line": 17, + "column": 8 + }, + "end": { + "line": 17, + "column": 16 + } + }, + "extra": { + "rawValue": "string", + "raw": "'string'" + }, + "value": "string" + } + }, + { + "type": "SwitchCase", + "start": 626, + "end": 696, + "loc": { + "start": { + "line": 20, + "column": 3 + }, + "end": { + "line": 21, + "column": 61 + } + }, + "consequent": [ + { + "type": "ThrowStatement", + "start": 639, + "end": 696, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 61 + } + }, + "argument": { + "type": "TemplateLiteral", + "start": 645, + "end": 694, + "loc": { + "start": { + "line": 21, + "column": 10 + }, + "end": { + "line": 21, + "column": 59 + } + }, + "expressions": [ + { + "type": "UnaryExpression", + "start": 679, + "end": 692, + "loc": { + "start": { + "line": 21, + "column": 44 + }, + "end": { + "line": 21, + "column": 57 + } + }, + "operator": "typeof", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 686, + "end": 692, + "loc": { + "start": { + "line": 21, + "column": 51 + }, + "end": { + "line": 21, + "column": 57 + }, + "identifierName": "object" + }, + "name": "object" + }, + "extra": { + "parenthesizedArgument": false + } + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 646, + "end": 677, + "loc": { + "start": { + "line": 21, + "column": 11 + }, + "end": { + "line": 21, + "column": 42 + } + }, + "value": { + "raw": "IntegerRing#from cannot handle ", + "cooked": "IntegerRing#from cannot handle " + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 693, + "end": 693, + "loc": { + "start": { + "line": 21, + "column": 58 + }, + "end": { + "line": 21, + "column": 58 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + } + } + ], + "test": null + } + ] + } + ], + "directives": [] + } + }, + { + "type": "ClassMethod", + "start": 707, + "end": 1159, + "loc": { + "start": { + "line": 26, + "column": 1 + }, + "end": { + "line": 38, + "column": 2 + } + }, + "computed": false, + "key": { + "type": "Identifier", + "start": 707, + "end": 718, + "loc": { + "start": { + "line": 26, + "column": 1 + }, + "end": { + "line": 26, + "column": 12 + }, + "identifierName": "from_string" + }, + "name": "from_string" + }, + "static": false, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 721, + "end": 727, + "loc": { + "start": { + "line": 26, + "column": 15 + }, + "end": { + "line": 26, + "column": 21 + }, + "identifierName": "string" + }, + "name": "string" + }, + { + "type": "AssignmentPattern", + "start": 730, + "end": 739, + "loc": { + "start": { + "line": 26, + "column": 24 + }, + "end": { + "line": 26, + "column": 33 + } + }, + "left": { + "type": "Identifier", + "start": 730, + "end": 734, + "loc": { + "start": { + "line": 26, + "column": 24 + }, + "end": { + "line": 26, + "column": 28 + }, + "identifierName": "base" + }, + "name": "base" + }, + "right": { + "type": "NumericLiteral", + "start": 737, + "end": 739, + "loc": { + "start": { + "line": 26, + "column": 31 + }, + "end": { + "line": 26, + "column": 33 + } + }, + "extra": { + "rawValue": 10, + "raw": "10" + }, + "value": 10 + } + }, + { + "type": "AssignmentPattern", + "start": 742, + "end": 757, + "loc": { + "start": { + "line": 26, + "column": 36 + }, + "end": { + "line": 26, + "column": 51 + } + }, + "left": { + "type": "Identifier", + "start": 742, + "end": 753, + "loc": { + "start": { + "line": 26, + "column": 36 + }, + "end": { + "line": 26, + "column": 47 + }, + "identifierName": "is_negative" + }, + "name": "is_negative" + }, + "right": { + "type": "NumericLiteral", + "start": 756, + "end": 757, + "loc": { + "start": { + "line": 26, + "column": 50 + }, + "end": { + "line": 26, + "column": 51 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "body": { + "type": "BlockStatement", + "start": 761, + "end": 1159, + "loc": { + "start": { + "line": 26, + "column": 55 + }, + "end": { + "line": 38, + "column": 2 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 766, + "end": 853, + "loc": { + "start": { + "line": 28, + "column": 2 + }, + "end": { + "line": 28, + "column": 89 + } + }, + "test": { + "type": "BinaryExpression", + "start": 771, + "end": 790, + "loc": { + "start": { + "line": 28, + "column": 7 + }, + "end": { + "line": 28, + "column": 26 + } + }, + "left": { + "type": "MemberExpression", + "start": 771, + "end": 784, + "loc": { + "start": { + "line": 28, + "column": 7 + }, + "end": { + "line": 28, + "column": 20 + } + }, + "object": { + "type": "Identifier", + "start": 771, + "end": 777, + "loc": { + "start": { + "line": 28, + "column": 7 + }, + "end": { + "line": 28, + "column": 13 + }, + "identifierName": "string" + }, + "name": "string" + }, + "property": { + "type": "Identifier", + "start": 778, + "end": 784, + "loc": { + "start": { + "line": 28, + "column": 14 + }, + "end": { + "line": 28, + "column": 20 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": "===", + "right": { + "type": "NumericLiteral", + "start": 789, + "end": 790, + "loc": { + "start": { + "line": 28, + "column": 25 + }, + "end": { + "line": 28, + "column": 26 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + }, + "consequent": { + "type": "ThrowStatement", + "start": 793, + "end": 853, + "loc": { + "start": { + "line": 28, + "column": 29 + }, + "end": { + "line": 28, + "column": 89 + } + }, + "argument": { + "type": "StringLiteral", + "start": 799, + "end": 851, + "loc": { + "start": { + "line": 28, + "column": 35 + }, + "end": { + "line": 28, + "column": 87 + } + }, + "extra": { + "rawValue": "IntegerRing#from_string cannot parse empty string.", + "raw": "'IntegerRing#from_string cannot parse empty string.'" + }, + "value": "IntegerRing#from_string cannot parse empty string." + } + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 857, + "end": 948, + "loc": { + "start": { + "line": 30, + "column": 2 + }, + "end": { + "line": 30, + "column": 93 + } + }, + "test": { + "type": "BinaryExpression", + "start": 862, + "end": 879, + "loc": { + "start": { + "line": 30, + "column": 7 + }, + "end": { + "line": 30, + "column": 24 + } + }, + "left": { + "type": "MemberExpression", + "start": 862, + "end": 871, + "loc": { + "start": { + "line": 30, + "column": 7 + }, + "end": { + "line": 30, + "column": 16 + } + }, + "object": { + "type": "Identifier", + "start": 862, + "end": 868, + "loc": { + "start": { + "line": 30, + "column": 7 + }, + "end": { + "line": 30, + "column": 13 + }, + "identifierName": "string" + }, + "name": "string" + }, + "property": { + "type": "NumericLiteral", + "start": 869, + "end": 870, + "loc": { + "start": { + "line": 30, + "column": 14 + }, + "end": { + "line": 30, + "column": 15 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "computed": true + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 876, + "end": 879, + "loc": { + "start": { + "line": 30, + "column": 21 + }, + "end": { + "line": 30, + "column": 24 + } + }, + "extra": { + "rawValue": "-", + "raw": "'-'" + }, + "value": "-" + } + }, + "consequent": { + "type": "ReturnStatement", + "start": 882, + "end": 948, + "loc": { + "start": { + "line": 30, + "column": 27 + }, + "end": { + "line": 30, + "column": 93 + } + }, + "argument": { + "type": "CallExpression", + "start": 889, + "end": 946, + "loc": { + "start": { + "line": 30, + "column": 34 + }, + "end": { + "line": 30, + "column": 91 + } + }, + "callee": { + "type": "MemberExpression", + "start": 889, + "end": 905, + "loc": { + "start": { + "line": 30, + "column": 34 + }, + "end": { + "line": 30, + "column": 50 + } + }, + "object": { + "type": "ThisExpression", + "start": 889, + "end": 893, + "loc": { + "start": { + "line": 30, + "column": 34 + }, + "end": { + "line": 30, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "start": 894, + "end": 905, + "loc": { + "start": { + "line": 30, + "column": 39 + }, + "end": { + "line": 30, + "column": 50 + }, + "identifierName": "from_string" + }, + "name": "from_string" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 907, + "end": 922, + "loc": { + "start": { + "line": 30, + "column": 52 + }, + "end": { + "line": 30, + "column": 67 + } + }, + "callee": { + "type": "MemberExpression", + "start": 907, + "end": 919, + "loc": { + "start": { + "line": 30, + "column": 52 + }, + "end": { + "line": 30, + "column": 64 + } + }, + "object": { + "type": "Identifier", + "start": 907, + "end": 913, + "loc": { + "start": { + "line": 30, + "column": 52 + }, + "end": { + "line": 30, + "column": 58 + }, + "identifierName": "string" + }, + "name": "string" + }, + "property": { + "type": "Identifier", + "start": 914, + "end": 919, + "loc": { + "start": { + "line": 30, + "column": 59 + }, + "end": { + "line": 30, + "column": 64 + }, + "identifierName": "slice" + }, + "name": "slice" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 920, + "end": 921, + "loc": { + "start": { + "line": 30, + "column": 65 + }, + "end": { + "line": 30, + "column": 66 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + ] + }, + { + "type": "Identifier", + "start": 925, + "end": 929, + "loc": { + "start": { + "line": 30, + "column": 70 + }, + "end": { + "line": 30, + "column": 74 + }, + "identifierName": "base" + }, + "name": "base" + }, + { + "type": "UnaryExpression", + "start": 932, + "end": 944, + "loc": { + "start": { + "line": 30, + "column": 77 + }, + "end": { + "line": 30, + "column": 89 + } + }, + "operator": "~", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 933, + "end": 944, + "loc": { + "start": { + "line": 30, + "column": 78 + }, + "end": { + "line": 30, + "column": 89 + }, + "identifierName": "is_negative" + }, + "name": "is_negative" + }, + "extra": { + "parenthesizedArgument": false + } + } + ] + } + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 952, + "end": 1042, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 32, + "column": 92 + } + }, + "test": { + "type": "BinaryExpression", + "start": 957, + "end": 974, + "loc": { + "start": { + "line": 32, + "column": 7 + }, + "end": { + "line": 32, + "column": 24 + } + }, + "left": { + "type": "MemberExpression", + "start": 957, + "end": 966, + "loc": { + "start": { + "line": 32, + "column": 7 + }, + "end": { + "line": 32, + "column": 16 + } + }, + "object": { + "type": "Identifier", + "start": 957, + "end": 963, + "loc": { + "start": { + "line": 32, + "column": 7 + }, + "end": { + "line": 32, + "column": 13 + }, + "identifierName": "string" + }, + "name": "string" + }, + "property": { + "type": "NumericLiteral", + "start": 964, + "end": 965, + "loc": { + "start": { + "line": 32, + "column": 14 + }, + "end": { + "line": 32, + "column": 15 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "computed": true + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 971, + "end": 974, + "loc": { + "start": { + "line": 32, + "column": 21 + }, + "end": { + "line": 32, + "column": 24 + } + }, + "extra": { + "rawValue": "+", + "raw": "'+'" + }, + "value": "+" + } + }, + "consequent": { + "type": "ReturnStatement", + "start": 977, + "end": 1042, + "loc": { + "start": { + "line": 32, + "column": 27 + }, + "end": { + "line": 32, + "column": 92 + } + }, + "argument": { + "type": "CallExpression", + "start": 984, + "end": 1040, + "loc": { + "start": { + "line": 32, + "column": 34 + }, + "end": { + "line": 32, + "column": 90 + } + }, + "callee": { + "type": "MemberExpression", + "start": 984, + "end": 1000, + "loc": { + "start": { + "line": 32, + "column": 34 + }, + "end": { + "line": 32, + "column": 50 + } + }, + "object": { + "type": "ThisExpression", + "start": 984, + "end": 988, + "loc": { + "start": { + "line": 32, + "column": 34 + }, + "end": { + "line": 32, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "start": 989, + "end": 1000, + "loc": { + "start": { + "line": 32, + "column": 39 + }, + "end": { + "line": 32, + "column": 50 + }, + "identifierName": "from_string" + }, + "name": "from_string" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 1002, + "end": 1017, + "loc": { + "start": { + "line": 32, + "column": 52 + }, + "end": { + "line": 32, + "column": 67 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1002, + "end": 1014, + "loc": { + "start": { + "line": 32, + "column": 52 + }, + "end": { + "line": 32, + "column": 64 + } + }, + "object": { + "type": "Identifier", + "start": 1002, + "end": 1008, + "loc": { + "start": { + "line": 32, + "column": 52 + }, + "end": { + "line": 32, + "column": 58 + }, + "identifierName": "string" + }, + "name": "string" + }, + "property": { + "type": "Identifier", + "start": 1009, + "end": 1014, + "loc": { + "start": { + "line": 32, + "column": 59 + }, + "end": { + "line": 32, + "column": 64 + }, + "identifierName": "slice" + }, + "name": "slice" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 1015, + "end": 1016, + "loc": { + "start": { + "line": 32, + "column": 65 + }, + "end": { + "line": 32, + "column": 66 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + ] + }, + { + "type": "Identifier", + "start": 1020, + "end": 1024, + "loc": { + "start": { + "line": 32, + "column": 70 + }, + "end": { + "line": 32, + "column": 74 + }, + "identifierName": "base" + }, + "name": "base" + }, + { + "type": "Identifier", + "start": 1027, + "end": 1038, + "loc": { + "start": { + "line": 32, + "column": 77 + }, + "end": { + "line": 32, + "column": 88 + }, + "identifierName": "is_negative" + }, + "name": "is_negative" + } + ] + } + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 1046, + "end": 1096, + "loc": { + "start": { + "line": 34, + "column": 2 + }, + "end": { + "line": 34, + "column": 52 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1052, + "end": 1094, + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 50 + } + }, + "id": { + "type": "Identifier", + "start": 1052, + "end": 1057, + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 13 + }, + "identifierName": "limbs" + }, + "name": "limbs" + }, + "init": { + "type": "CallExpression", + "start": 1060, + "end": 1094, + "loc": { + "start": { + "line": 34, + "column": 16 + }, + "end": { + "line": 34, + "column": 50 + } + }, + "callee": { + "type": "Identifier", + "start": 1060, + "end": 1065, + "loc": { + "start": { + "line": 34, + "column": 16 + }, + "end": { + "line": 34, + "column": 21 + }, + "identifierName": "parse" + }, + "name": "parse" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1067, + "end": 1071, + "loc": { + "start": { + "line": 34, + "column": 23 + }, + "end": { + "line": 34, + "column": 27 + }, + "identifierName": "base" + }, + "name": "base" + }, + { + "type": "MemberExpression", + "start": 1074, + "end": 1083, + "loc": { + "start": { + "line": 34, + "column": 30 + }, + "end": { + "line": 34, + "column": 39 + } + }, + "object": { + "type": "ThisExpression", + "start": 1074, + "end": 1078, + "loc": { + "start": { + "line": 34, + "column": 30 + }, + "end": { + "line": 34, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "start": 1079, + "end": 1083, + "loc": { + "start": { + "line": 34, + "column": 35 + }, + "end": { + "line": 34, + "column": 39 + }, + "identifierName": "base" + }, + "name": "base" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 1086, + "end": 1092, + "loc": { + "start": { + "line": 34, + "column": 42 + }, + "end": { + "line": 34, + "column": 48 + }, + "identifierName": "string" + }, + "name": "string" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ReturnStatement", + "start": 1100, + "end": 1155, + "loc": { + "start": { + "line": 36, + "column": 2 + }, + "end": { + "line": 36, + "column": 57 + } + }, + "argument": { + "type": "NewExpression", + "start": 1107, + "end": 1153, + "loc": { + "start": { + "line": 36, + "column": 9 + }, + "end": { + "line": 36, + "column": 55 + } + }, + "callee": { + "type": "Identifier", + "start": 1111, + "end": 1118, + "loc": { + "start": { + "line": 36, + "column": 13 + }, + "end": { + "line": 36, + "column": 20 + }, + "identifierName": "Integer" + }, + "name": "Integer" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 1120, + "end": 1129, + "loc": { + "start": { + "line": 36, + "column": 22 + }, + "end": { + "line": 36, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 1120, + "end": 1124, + "loc": { + "start": { + "line": 36, + "column": 22 + }, + "end": { + "line": 36, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "start": 1125, + "end": 1129, + "loc": { + "start": { + "line": 36, + "column": 27 + }, + "end": { + "line": 36, + "column": 31 + }, + "identifierName": "base" + }, + "name": "base" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 1132, + "end": 1143, + "loc": { + "start": { + "line": 36, + "column": 34 + }, + "end": { + "line": 36, + "column": 45 + }, + "identifierName": "is_negative" + }, + "name": "is_negative" + }, + { + "type": "Identifier", + "start": 1146, + "end": 1151, + "loc": { + "start": { + "line": 36, + "column": 48 + }, + "end": { + "line": 36, + "column": 53 + }, + "identifierName": "limbs" + }, + "name": "limbs" + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ClassMethod", + "start": 1162, + "end": 1200, + "loc": { + "start": { + "line": 40, + "column": 1 + }, + "end": { + "line": 42, + "column": 2 + } + }, + "computed": false, + "key": { + "type": "Identifier", + "start": 1162, + "end": 1170, + "loc": { + "start": { + "line": 40, + "column": 1 + }, + "end": { + "line": 40, + "column": 9 + }, + "identifierName": "toString" + }, + "name": "toString" + }, + "static": false, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1175, + "end": 1200, + "loc": { + "start": { + "line": 40, + "column": 14 + }, + "end": { + "line": 42, + "column": 2 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1179, + "end": 1197, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 41, + "column": 20 + } + }, + "argument": { + "type": "MemberExpression", + "start": 1186, + "end": 1195, + "loc": { + "start": { + "line": 41, + "column": 9 + }, + "end": { + "line": 41, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 1186, + "end": 1190, + "loc": { + "start": { + "line": 41, + "column": 9 + }, + "end": { + "line": 41, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "start": 1191, + "end": 1195, + "loc": { + "start": { + "line": 41, + "column": 14 + }, + "end": { + "line": 41, + "column": 18 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": false + } + } + ], + "directives": [] + } + }, + { + "type": "ClassMethod", + "start": 1203, + "end": 1266, + "loc": { + "start": { + "line": 44, + "column": 1 + }, + "end": { + "line": 46, + "column": 2 + } + }, + "computed": false, + "key": { + "type": "Identifier", + "start": 1210, + "end": 1213, + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 11 + }, + "identifierName": "add" + }, + "name": "add" + }, + "static": true, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1216, + "end": 1221, + "loc": { + "start": { + "line": 44, + "column": 14 + }, + "end": { + "line": 44, + "column": 19 + }, + "identifierName": "first" + }, + "name": "first" + }, + { + "type": "Identifier", + "start": 1224, + "end": 1230, + "loc": { + "start": { + "line": 44, + "column": 22 + }, + "end": { + "line": 44, + "column": 28 + }, + "identifierName": "second" + }, + "name": "second" + } + ], + "body": { + "type": "BlockStatement", + "start": 1233, + "end": 1266, + "loc": { + "start": { + "line": 44, + "column": 31 + }, + "end": { + "line": 46, + "column": 2 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1237, + "end": 1263, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 45, + "column": 28 + } + }, + "argument": { + "type": "CallExpression", + "start": 1244, + "end": 1261, + "loc": { + "start": { + "line": 45, + "column": 9 + }, + "end": { + "line": 45, + "column": 26 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1244, + "end": 1253, + "loc": { + "start": { + "line": 45, + "column": 9 + }, + "end": { + "line": 45, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 1244, + "end": 1249, + "loc": { + "start": { + "line": 45, + "column": 9 + }, + "end": { + "line": 45, + "column": 14 + }, + "identifierName": "first" + }, + "name": "first" + }, + "property": { + "type": "Identifier", + "start": 1250, + "end": 1253, + "loc": { + "start": { + "line": 45, + "column": 15 + }, + "end": { + "line": 45, + "column": 18 + }, + "identifierName": "add" + }, + "name": "add" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1254, + "end": 1260, + "loc": { + "start": { + "line": 45, + "column": 19 + }, + "end": { + "line": 45, + "column": 25 + }, + "identifierName": "second" + }, + "name": "second" + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ClassMethod", + "start": 1269, + "end": 1332, + "loc": { + "start": { + "line": 48, + "column": 1 + }, + "end": { + "line": 50, + "column": 2 + } + }, + "computed": false, + "key": { + "type": "Identifier", + "start": 1276, + "end": 1279, + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 11 + }, + "identifierName": "sub" + }, + "name": "sub" + }, + "static": true, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1282, + "end": 1287, + "loc": { + "start": { + "line": 48, + "column": 14 + }, + "end": { + "line": 48, + "column": 19 + }, + "identifierName": "first" + }, + "name": "first" + }, + { + "type": "Identifier", + "start": 1290, + "end": 1296, + "loc": { + "start": { + "line": 48, + "column": 22 + }, + "end": { + "line": 48, + "column": 28 + }, + "identifierName": "second" + }, + "name": "second" + } + ], + "body": { + "type": "BlockStatement", + "start": 1299, + "end": 1332, + "loc": { + "start": { + "line": 48, + "column": 31 + }, + "end": { + "line": 50, + "column": 2 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1303, + "end": 1329, + "loc": { + "start": { + "line": 49, + "column": 2 + }, + "end": { + "line": 49, + "column": 28 + } + }, + "argument": { + "type": "CallExpression", + "start": 1310, + "end": 1327, + "loc": { + "start": { + "line": 49, + "column": 9 + }, + "end": { + "line": 49, + "column": 26 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1310, + "end": 1319, + "loc": { + "start": { + "line": 49, + "column": 9 + }, + "end": { + "line": 49, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 1310, + "end": 1315, + "loc": { + "start": { + "line": 49, + "column": 9 + }, + "end": { + "line": 49, + "column": 14 + }, + "identifierName": "first" + }, + "name": "first" + }, + "property": { + "type": "Identifier", + "start": 1316, + "end": 1319, + "loc": { + "start": { + "line": 49, + "column": 15 + }, + "end": { + "line": 49, + "column": 18 + }, + "identifierName": "sub" + }, + "name": "sub" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1320, + "end": 1326, + "loc": { + "start": { + "line": 49, + "column": 19 + }, + "end": { + "line": 49, + "column": 25 + }, + "identifierName": "second" + }, + "name": "second" + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ClassMethod", + "start": 1335, + "end": 1398, + "loc": { + "start": { + "line": 52, + "column": 1 + }, + "end": { + "line": 54, + "column": 2 + } + }, + "computed": false, + "key": { + "type": "Identifier", + "start": 1342, + "end": 1345, + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 52, + "column": 11 + }, + "identifierName": "mul" + }, + "name": "mul" + }, + "static": true, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1348, + "end": 1353, + "loc": { + "start": { + "line": 52, + "column": 14 + }, + "end": { + "line": 52, + "column": 19 + }, + "identifierName": "first" + }, + "name": "first" + }, + { + "type": "Identifier", + "start": 1356, + "end": 1362, + "loc": { + "start": { + "line": 52, + "column": 22 + }, + "end": { + "line": 52, + "column": 28 + }, + "identifierName": "second" + }, + "name": "second" + } + ], + "body": { + "type": "BlockStatement", + "start": 1365, + "end": 1398, + "loc": { + "start": { + "line": 52, + "column": 31 + }, + "end": { + "line": 54, + "column": 2 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1369, + "end": 1395, + "loc": { + "start": { + "line": 53, + "column": 2 + }, + "end": { + "line": 53, + "column": 28 + } + }, + "argument": { + "type": "CallExpression", + "start": 1376, + "end": 1393, + "loc": { + "start": { + "line": 53, + "column": 9 + }, + "end": { + "line": 53, + "column": 26 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1376, + "end": 1385, + "loc": { + "start": { + "line": 53, + "column": 9 + }, + "end": { + "line": 53, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 1376, + "end": 1381, + "loc": { + "start": { + "line": 53, + "column": 9 + }, + "end": { + "line": 53, + "column": 14 + }, + "identifierName": "first" + }, + "name": "first" + }, + "property": { + "type": "Identifier", + "start": 1382, + "end": 1385, + "loc": { + "start": { + "line": 53, + "column": 15 + }, + "end": { + "line": 53, + "column": 18 + }, + "identifierName": "mul" + }, + "name": "mul" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1386, + "end": 1392, + "loc": { + "start": { + "line": 53, + "column": 19 + }, + "end": { + "line": 53, + "column": 25 + }, + "identifierName": "second" + }, + "name": "second" + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ClassMethod", + "start": 1401, + "end": 1464, + "loc": { + "start": { + "line": 56, + "column": 1 + }, + "end": { + "line": 58, + "column": 2 + } + }, + "computed": false, + "key": { + "type": "Identifier", + "start": 1408, + "end": 1411, + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 11 + }, + "identifierName": "pow" + }, + "name": "pow" + }, + "static": true, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1414, + "end": 1419, + "loc": { + "start": { + "line": 56, + "column": 14 + }, + "end": { + "line": 56, + "column": 19 + }, + "identifierName": "first" + }, + "name": "first" + }, + { + "type": "Identifier", + "start": 1422, + "end": 1428, + "loc": { + "start": { + "line": 56, + "column": 22 + }, + "end": { + "line": 56, + "column": 28 + }, + "identifierName": "second" + }, + "name": "second" + } + ], + "body": { + "type": "BlockStatement", + "start": 1431, + "end": 1464, + "loc": { + "start": { + "line": 56, + "column": 31 + }, + "end": { + "line": 58, + "column": 2 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1435, + "end": 1461, + "loc": { + "start": { + "line": 57, + "column": 2 + }, + "end": { + "line": 57, + "column": 28 + } + }, + "argument": { + "type": "CallExpression", + "start": 1442, + "end": 1459, + "loc": { + "start": { + "line": 57, + "column": 9 + }, + "end": { + "line": 57, + "column": 26 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1442, + "end": 1451, + "loc": { + "start": { + "line": 57, + "column": 9 + }, + "end": { + "line": 57, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 1442, + "end": 1447, + "loc": { + "start": { + "line": 57, + "column": 9 + }, + "end": { + "line": 57, + "column": 14 + }, + "identifierName": "first" + }, + "name": "first" + }, + "property": { + "type": "Identifier", + "start": 1448, + "end": 1451, + "loc": { + "start": { + "line": 57, + "column": 15 + }, + "end": { + "line": 57, + "column": 18 + }, + "identifierName": "pow" + }, + "name": "pow" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1452, + "end": 1458, + "loc": { + "start": { + "line": 57, + "column": 19 + }, + "end": { + "line": 57, + "column": 25 + }, + "identifierName": "second" + }, + "name": "second" + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ClassMethod", + "start": 1467, + "end": 1530, + "loc": { + "start": { + "line": 60, + "column": 1 + }, + "end": { + "line": 62, + "column": 2 + } + }, + "computed": false, + "key": { + "type": "Identifier", + "start": 1474, + "end": 1477, + "loc": { + "start": { + "line": 60, + "column": 8 + }, + "end": { + "line": 60, + "column": 11 + }, + "identifierName": "div" + }, + "name": "div" + }, + "static": true, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1480, + "end": 1485, + "loc": { + "start": { + "line": 60, + "column": 14 + }, + "end": { + "line": 60, + "column": 19 + }, + "identifierName": "first" + }, + "name": "first" + }, + { + "type": "Identifier", + "start": 1488, + "end": 1494, + "loc": { + "start": { + "line": 60, + "column": 22 + }, + "end": { + "line": 60, + "column": 28 + }, + "identifierName": "second" + }, + "name": "second" + } + ], + "body": { + "type": "BlockStatement", + "start": 1497, + "end": 1530, + "loc": { + "start": { + "line": 60, + "column": 31 + }, + "end": { + "line": 62, + "column": 2 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1501, + "end": 1527, + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 61, + "column": 28 + } + }, + "argument": { + "type": "CallExpression", + "start": 1508, + "end": 1525, + "loc": { + "start": { + "line": 61, + "column": 9 + }, + "end": { + "line": 61, + "column": 26 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1508, + "end": 1517, + "loc": { + "start": { + "line": 61, + "column": 9 + }, + "end": { + "line": 61, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 1508, + "end": 1513, + "loc": { + "start": { + "line": 61, + "column": 9 + }, + "end": { + "line": 61, + "column": 14 + }, + "identifierName": "first" + }, + "name": "first" + }, + "property": { + "type": "Identifier", + "start": 1514, + "end": 1517, + "loc": { + "start": { + "line": 61, + "column": 15 + }, + "end": { + "line": 61, + "column": 18 + }, + "identifierName": "div" + }, + "name": "div" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1518, + "end": 1524, + "loc": { + "start": { + "line": 61, + "column": 19 + }, + "end": { + "line": 61, + "column": 25 + }, + "identifierName": "second" + }, + "name": "second" + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ClassMethod", + "start": 1533, + "end": 1596, + "loc": { + "start": { + "line": 64, + "column": 1 + }, + "end": { + "line": 66, + "column": 2 + } + }, + "computed": false, + "key": { + "type": "Identifier", + "start": 1540, + "end": 1543, + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 64, + "column": 11 + }, + "identifierName": "mod" + }, + "name": "mod" + }, + "static": true, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1546, + "end": 1551, + "loc": { + "start": { + "line": 64, + "column": 14 + }, + "end": { + "line": 64, + "column": 19 + }, + "identifierName": "first" + }, + "name": "first" + }, + { + "type": "Identifier", + "start": 1554, + "end": 1560, + "loc": { + "start": { + "line": 64, + "column": 22 + }, + "end": { + "line": 64, + "column": 28 + }, + "identifierName": "second" + }, + "name": "second" + } + ], + "body": { + "type": "BlockStatement", + "start": 1563, + "end": 1596, + "loc": { + "start": { + "line": 64, + "column": 31 + }, + "end": { + "line": 66, + "column": 2 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1567, + "end": 1593, + "loc": { + "start": { + "line": 65, + "column": 2 + }, + "end": { + "line": 65, + "column": 28 + } + }, + "argument": { + "type": "CallExpression", + "start": 1574, + "end": 1591, + "loc": { + "start": { + "line": 65, + "column": 9 + }, + "end": { + "line": 65, + "column": 26 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1574, + "end": 1583, + "loc": { + "start": { + "line": 65, + "column": 9 + }, + "end": { + "line": 65, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 1574, + "end": 1579, + "loc": { + "start": { + "line": 65, + "column": 9 + }, + "end": { + "line": 65, + "column": 14 + }, + "identifierName": "first" + }, + "name": "first" + }, + "property": { + "type": "Identifier", + "start": 1580, + "end": 1583, + "loc": { + "start": { + "line": 65, + "column": 15 + }, + "end": { + "line": 65, + "column": 18 + }, + "identifierName": "mod" + }, + "name": "mod" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1584, + "end": 1590, + "loc": { + "start": { + "line": 65, + "column": 19 + }, + "end": { + "line": 65, + "column": 25 + }, + "identifierName": "second" + }, + "name": "second" + } + ] + } + } + ], + "directives": [] + } + } + ] + }, + "leadingComments": [], + "trailingComments": [] + } + } + ], + "directives": [] + }, + "comments": [], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Integer", + "start": 9, + "end": 16, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 16 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17, + "end": 18, + "loc": { + "start": { + "line": 1, + "column": 17 + }, + "end": { + "line": 1, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 19, + "end": 23, + "loc": { + "start": { + "line": 1, + "column": 19 + }, + "end": { + "line": 1, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./", + "start": 24, + "end": 28, + "loc": { + "start": { + "line": 1, + "column": 24 + }, + "end": { + "line": 1, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 29, + "end": 30, + "loc": { + "start": { + "line": 1, + "column": 29 + }, + "end": { + "line": 1, + "column": 30 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 31, + "end": 37, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 38, + "end": 39, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parse", + "start": 40, + "end": 45, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 14 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 46, + "end": 47, + "loc": { + "start": { + "line": 2, + "column": 15 + }, + "end": { + "line": 2, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 48, + "end": 52, + "loc": { + "start": { + "line": 2, + "column": 17 + }, + "end": { + "line": 2, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "@aureooms/js-integer-big-endian", + "start": 53, + "end": 86, + "loc": { + "start": { + "line": 2, + "column": 22 + }, + "end": { + "line": 2, + "column": 55 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 87, + "end": 88, + "loc": { + "start": { + "line": 2, + "column": 56 + }, + "end": { + "line": 2, + "column": 57 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 90, + "end": 96, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 6 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 97, + "end": 102, + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "IntegerRing", + "start": 103, + "end": 114, + "loc": { + "start": { + "line": 4, + "column": 13 + }, + "end": { + "line": 4, + "column": 24 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 115, + "end": 116, + "loc": { + "start": { + "line": 4, + "column": 25 + }, + "end": { + "line": 4, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 119, + "end": 130, + "loc": { + "start": { + "line": 6, + "column": 1 + }, + "end": { + "line": 6, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 131, + "end": 132, + "loc": { + "start": { + "line": 6, + "column": 13 + }, + "end": { + "line": 6, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 133, + "end": 137, + "loc": { + "start": { + "line": 6, + "column": 15 + }, + "end": { + "line": 6, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 138, + "end": 139, + "loc": { + "start": { + "line": 6, + "column": 20 + }, + "end": { + "line": 6, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 140, + "end": 144, + "loc": { + "start": { + "line": 6, + "column": 22 + }, + "end": { + "line": 6, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 145, + "end": 146, + "loc": { + "start": { + "line": 6, + "column": 27 + }, + "end": { + "line": 6, + "column": 28 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 147, + "end": 148, + "loc": { + "start": { + "line": 6, + "column": 29 + }, + "end": { + "line": 6, + "column": 30 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 151, + "end": 155, + "loc": { + "start": { + "line": 7, + "column": 2 + }, + "end": { + "line": 7, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 155, + "end": 156, + "loc": { + "start": { + "line": 7, + "column": 6 + }, + "end": { + "line": 7, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 156, + "end": 160, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 11 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 161, + "end": 162, + "loc": { + "start": { + "line": 7, + "column": 12 + }, + "end": { + "line": 7, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 163, + "end": 167, + "loc": { + "start": { + "line": 7, + "column": 14 + }, + "end": { + "line": 7, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 168, + "end": 169, + "loc": { + "start": { + "line": 7, + "column": 19 + }, + "end": { + "line": 7, + "column": 20 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 172, + "end": 176, + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 176, + "end": 177, + "loc": { + "start": { + "line": 8, + "column": 6 + }, + "end": { + "line": 8, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 177, + "end": 181, + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 11 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 182, + "end": 183, + "loc": { + "start": { + "line": 8, + "column": 12 + }, + "end": { + "line": 8, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 184, + "end": 188, + "loc": { + "start": { + "line": 8, + "column": 14 + }, + "end": { + "line": 8, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 189, + "end": 190, + "loc": { + "start": { + "line": 8, + "column": 19 + }, + "end": { + "line": 8, + "column": 20 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 192, + "end": 193, + "loc": { + "start": { + "line": 9, + "column": 1 + }, + "end": { + "line": 9, + "column": 2 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 196, + "end": 200, + "loc": { + "start": { + "line": 11, + "column": 1 + }, + "end": { + "line": 11, + "column": 5 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 201, + "end": 202, + "loc": { + "start": { + "line": 11, + "column": 6 + }, + "end": { + "line": 11, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "object", + "start": 203, + "end": 209, + "loc": { + "start": { + "line": 11, + "column": 8 + }, + "end": { + "line": 11, + "column": 14 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 210, + "end": 211, + "loc": { + "start": { + "line": 11, + "column": 15 + }, + "end": { + "line": 11, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 212, + "end": 216, + "loc": { + "start": { + "line": 11, + "column": 17 + }, + "end": { + "line": 11, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 217, + "end": 218, + "loc": { + "start": { + "line": 11, + "column": 22 + }, + "end": { + "line": 11, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "undefined", + "start": 219, + "end": 228, + "loc": { + "start": { + "line": 11, + "column": 24 + }, + "end": { + "line": 11, + "column": 33 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 229, + "end": 230, + "loc": { + "start": { + "line": 11, + "column": 34 + }, + "end": { + "line": 11, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 231, + "end": 242, + "loc": { + "start": { + "line": 11, + "column": 36 + }, + "end": { + "line": 11, + "column": 47 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 243, + "end": 244, + "loc": { + "start": { + "line": 11, + "column": 48 + }, + "end": { + "line": 11, + "column": 49 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 245, + "end": 246, + "loc": { + "start": { + "line": 11, + "column": 50 + }, + "end": { + "line": 11, + "column": 51 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 247, + "end": 248, + "loc": { + "start": { + "line": 11, + "column": 52 + }, + "end": { + "line": 11, + "column": 53 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 249, + "end": 250, + "loc": { + "start": { + "line": 11, + "column": 54 + }, + "end": { + "line": 11, + "column": 55 + } + } + }, + { + "type": { + "label": "switch", + "keyword": "switch", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "switch", + "start": 254, + "end": 260, + "loc": { + "start": { + "line": 13, + "column": 2 + }, + "end": { + "line": 13, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 261, + "end": 262, + "loc": { + "start": { + "line": 13, + "column": 9 + }, + "end": { + "line": 13, + "column": 10 + } + } + }, + { + "type": { + "label": "typeof", + "keyword": "typeof", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "typeof", + "start": 263, + "end": 269, + "loc": { + "start": { + "line": 13, + "column": 11 + }, + "end": { + "line": 13, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "object", + "start": 270, + "end": 276, + "loc": { + "start": { + "line": 13, + "column": 18 + }, + "end": { + "line": 13, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 277, + "end": 278, + "loc": { + "start": { + "line": 13, + "column": 25 + }, + "end": { + "line": 13, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 279, + "end": 280, + "loc": { + "start": { + "line": 13, + "column": 27 + }, + "end": { + "line": 13, + "column": 28 + } + } + }, + { + "type": { + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 284, + "end": 288, + "loc": { + "start": { + "line": 14, + "column": 3 + }, + "end": { + "line": 14, + "column": 7 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "number", + "start": 289, + "end": 297, + "loc": { + "start": { + "line": 14, + "column": 8 + }, + "end": { + "line": 14, + "column": 16 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 298, + "end": 299, + "loc": { + "start": { + "line": 14, + "column": 17 + }, + "end": { + "line": 14, + "column": 18 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 304, + "end": 306, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 307, + "end": 308, + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 309, + "end": 313, + "loc": { + "start": { + "line": 15, + "column": 9 + }, + "end": { + "line": 15, + "column": 13 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "!==", + "start": 314, + "end": 317, + "loc": { + "start": { + "line": 15, + "column": 14 + }, + "end": { + "line": 15, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "undefined", + "start": 318, + "end": 327, + "loc": { + "start": { + "line": 15, + "column": 18 + }, + "end": { + "line": 15, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 328, + "end": 329, + "loc": { + "start": { + "line": 15, + "column": 28 + }, + "end": { + "line": 15, + "column": 29 + } + } + }, + { + "type": { + "label": "throw", + "keyword": "throw", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "throw", + "start": 330, + "end": 335, + "loc": { + "start": { + "line": 15, + "column": 30 + }, + "end": { + "line": 15, + "column": 35 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "IntegerRing#from: using the base parameter does not make sense when parsing a JavaScript number.", + "start": 336, + "end": 434, + "loc": { + "start": { + "line": 15, + "column": 36 + }, + "end": { + "line": 15, + "column": 134 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 435, + "end": 436, + "loc": { + "start": { + "line": 15, + "column": 135 + }, + "end": { + "line": 15, + "column": 136 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 441, + "end": 447, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 448, + "end": 452, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 452, + "end": 453, + "loc": { + "start": { + "line": 16, + "column": 15 + }, + "end": { + "line": 16, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from_string", + "start": 453, + "end": 464, + "loc": { + "start": { + "line": 16, + "column": 16 + }, + "end": { + "line": 16, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 464, + "end": 465, + "loc": { + "start": { + "line": 16, + "column": 27 + }, + "end": { + "line": 16, + "column": 28 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 466, + "end": 468, + "loc": { + "start": { + "line": 16, + "column": 29 + }, + "end": { + "line": 16, + "column": 31 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 469, + "end": 470, + "loc": { + "start": { + "line": 16, + "column": 32 + }, + "end": { + "line": 16, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "object", + "start": 471, + "end": 477, + "loc": { + "start": { + "line": 16, + "column": 34 + }, + "end": { + "line": 16, + "column": 40 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 478, + "end": 479, + "loc": { + "start": { + "line": 16, + "column": 41 + }, + "end": { + "line": 16, + "column": 42 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 10, + "start": 480, + "end": 482, + "loc": { + "start": { + "line": 16, + "column": 43 + }, + "end": { + "line": 16, + "column": 45 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 483, + "end": 484, + "loc": { + "start": { + "line": 16, + "column": 46 + }, + "end": { + "line": 16, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 485, + "end": 496, + "loc": { + "start": { + "line": 16, + "column": 48 + }, + "end": { + "line": 16, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 497, + "end": 498, + "loc": { + "start": { + "line": 16, + "column": 60 + }, + "end": { + "line": 16, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 499, + "end": 500, + "loc": { + "start": { + "line": 16, + "column": 62 + }, + "end": { + "line": 16, + "column": 63 + } + } + }, + { + "type": { + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 504, + "end": 508, + "loc": { + "start": { + "line": 17, + "column": 3 + }, + "end": { + "line": 17, + "column": 7 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "string", + "start": 509, + "end": 517, + "loc": { + "start": { + "line": 17, + "column": 8 + }, + "end": { + "line": 17, + "column": 16 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 518, + "end": 519, + "loc": { + "start": { + "line": 17, + "column": 17 + }, + "end": { + "line": 17, + "column": 18 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 524, + "end": 526, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 527, + "end": 528, + "loc": { + "start": { + "line": 18, + "column": 7 + }, + "end": { + "line": 18, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 529, + "end": 533, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 13 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 534, + "end": 537, + "loc": { + "start": { + "line": 18, + "column": 14 + }, + "end": { + "line": 18, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "undefined", + "start": 538, + "end": 547, + "loc": { + "start": { + "line": 18, + "column": 18 + }, + "end": { + "line": 18, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 548, + "end": 549, + "loc": { + "start": { + "line": 18, + "column": 28 + }, + "end": { + "line": 18, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 550, + "end": 554, + "loc": { + "start": { + "line": 18, + "column": 30 + }, + "end": { + "line": 18, + "column": 34 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 555, + "end": 556, + "loc": { + "start": { + "line": 18, + "column": 35 + }, + "end": { + "line": 18, + "column": 36 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 10, + "start": 557, + "end": 559, + "loc": { + "start": { + "line": 18, + "column": 37 + }, + "end": { + "line": 18, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 560, + "end": 561, + "loc": { + "start": { + "line": 18, + "column": 40 + }, + "end": { + "line": 18, + "column": 41 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 566, + "end": 572, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 573, + "end": 577, + "loc": { + "start": { + "line": 19, + "column": 11 + }, + "end": { + "line": 19, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 577, + "end": 578, + "loc": { + "start": { + "line": 19, + "column": 15 + }, + "end": { + "line": 19, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from_string", + "start": 578, + "end": 589, + "loc": { + "start": { + "line": 19, + "column": 16 + }, + "end": { + "line": 19, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 589, + "end": 590, + "loc": { + "start": { + "line": 19, + "column": 27 + }, + "end": { + "line": 19, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "object", + "start": 591, + "end": 597, + "loc": { + "start": { + "line": 19, + "column": 29 + }, + "end": { + "line": 19, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 598, + "end": 599, + "loc": { + "start": { + "line": 19, + "column": 36 + }, + "end": { + "line": 19, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 600, + "end": 604, + "loc": { + "start": { + "line": 19, + "column": 38 + }, + "end": { + "line": 19, + "column": 42 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 605, + "end": 606, + "loc": { + "start": { + "line": 19, + "column": 43 + }, + "end": { + "line": 19, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 607, + "end": 618, + "loc": { + "start": { + "line": 19, + "column": 45 + }, + "end": { + "line": 19, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 619, + "end": 620, + "loc": { + "start": { + "line": 19, + "column": 57 + }, + "end": { + "line": 19, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 621, + "end": 622, + "loc": { + "start": { + "line": 19, + "column": 59 + }, + "end": { + "line": 19, + "column": 60 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 626, + "end": 633, + "loc": { + "start": { + "line": 20, + "column": 3 + }, + "end": { + "line": 20, + "column": 10 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 633, + "end": 634, + "loc": { + "start": { + "line": 20, + "column": 10 + }, + "end": { + "line": 20, + "column": 11 + } + } + }, + { + "type": { + "label": "throw", + "keyword": "throw", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "throw", + "start": 639, + "end": 644, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 9 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 645, + "end": 646, + "loc": { + "start": { + "line": 21, + "column": 10 + }, + "end": { + "line": 21, + "column": 11 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "IntegerRing#from cannot handle ", + "start": 646, + "end": 677, + "loc": { + "start": { + "line": 21, + "column": 11 + }, + "end": { + "line": 21, + "column": 42 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 677, + "end": 679, + "loc": { + "start": { + "line": 21, + "column": 42 + }, + "end": { + "line": 21, + "column": 44 + } + } + }, + { + "type": { + "label": "typeof", + "keyword": "typeof", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "typeof", + "start": 679, + "end": 685, + "loc": { + "start": { + "line": 21, + "column": 44 + }, + "end": { + "line": 21, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "object", + "start": 686, + "end": 692, + "loc": { + "start": { + "line": 21, + "column": 51 + }, + "end": { + "line": 21, + "column": 57 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 692, + "end": 693, + "loc": { + "start": { + "line": 21, + "column": 57 + }, + "end": { + "line": 21, + "column": 58 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 693, + "end": 693, + "loc": { + "start": { + "line": 21, + "column": 58 + }, + "end": { + "line": 21, + "column": 58 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 693, + "end": 694, + "loc": { + "start": { + "line": 21, + "column": 58 + }, + "end": { + "line": 21, + "column": 59 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 695, + "end": 696, + "loc": { + "start": { + "line": 21, + "column": 60 + }, + "end": { + "line": 21, + "column": 61 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 699, + "end": 700, + "loc": { + "start": { + "line": 22, + "column": 2 + }, + "end": { + "line": 22, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 703, + "end": 704, + "loc": { + "start": { + "line": 24, + "column": 1 + }, + "end": { + "line": 24, + "column": 2 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from_string", + "start": 707, + "end": 718, + "loc": { + "start": { + "line": 26, + "column": 1 + }, + "end": { + "line": 26, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 719, + "end": 720, + "loc": { + "start": { + "line": 26, + "column": 13 + }, + "end": { + "line": 26, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "string", + "start": 721, + "end": 727, + "loc": { + "start": { + "line": 26, + "column": 15 + }, + "end": { + "line": 26, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 728, + "end": 729, + "loc": { + "start": { + "line": 26, + "column": 22 + }, + "end": { + "line": 26, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 730, + "end": 734, + "loc": { + "start": { + "line": 26, + "column": 24 + }, + "end": { + "line": 26, + "column": 28 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 735, + "end": 736, + "loc": { + "start": { + "line": 26, + "column": 29 + }, + "end": { + "line": 26, + "column": 30 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 10, + "start": 737, + "end": 739, + "loc": { + "start": { + "line": 26, + "column": 31 + }, + "end": { + "line": 26, + "column": 33 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 740, + "end": 741, + "loc": { + "start": { + "line": 26, + "column": 34 + }, + "end": { + "line": 26, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 742, + "end": 753, + "loc": { + "start": { + "line": 26, + "column": 36 + }, + "end": { + "line": 26, + "column": 47 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 754, + "end": 755, + "loc": { + "start": { + "line": 26, + "column": 48 + }, + "end": { + "line": 26, + "column": 49 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 756, + "end": 757, + "loc": { + "start": { + "line": 26, + "column": 50 + }, + "end": { + "line": 26, + "column": 51 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 759, + "end": 760, + "loc": { + "start": { + "line": 26, + "column": 53 + }, + "end": { + "line": 26, + "column": 54 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 761, + "end": 762, + "loc": { + "start": { + "line": 26, + "column": 55 + }, + "end": { + "line": 26, + "column": 56 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 766, + "end": 768, + "loc": { + "start": { + "line": 28, + "column": 2 + }, + "end": { + "line": 28, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 769, + "end": 770, + "loc": { + "start": { + "line": 28, + "column": 5 + }, + "end": { + "line": 28, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "string", + "start": 771, + "end": 777, + "loc": { + "start": { + "line": 28, + "column": 7 + }, + "end": { + "line": 28, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 777, + "end": 778, + "loc": { + "start": { + "line": 28, + "column": 13 + }, + "end": { + "line": 28, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 778, + "end": 784, + "loc": { + "start": { + "line": 28, + "column": 14 + }, + "end": { + "line": 28, + "column": 20 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 785, + "end": 788, + "loc": { + "start": { + "line": 28, + "column": 21 + }, + "end": { + "line": 28, + "column": 24 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 789, + "end": 790, + "loc": { + "start": { + "line": 28, + "column": 25 + }, + "end": { + "line": 28, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 791, + "end": 792, + "loc": { + "start": { + "line": 28, + "column": 27 + }, + "end": { + "line": 28, + "column": 28 + } + } + }, + { + "type": { + "label": "throw", + "keyword": "throw", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "throw", + "start": 793, + "end": 798, + "loc": { + "start": { + "line": 28, + "column": 29 + }, + "end": { + "line": 28, + "column": 34 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "IntegerRing#from_string cannot parse empty string.", + "start": 799, + "end": 851, + "loc": { + "start": { + "line": 28, + "column": 35 + }, + "end": { + "line": 28, + "column": 87 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 852, + "end": 853, + "loc": { + "start": { + "line": 28, + "column": 88 + }, + "end": { + "line": 28, + "column": 89 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 857, + "end": 859, + "loc": { + "start": { + "line": 30, + "column": 2 + }, + "end": { + "line": 30, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 860, + "end": 861, + "loc": { + "start": { + "line": 30, + "column": 5 + }, + "end": { + "line": 30, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "string", + "start": 862, + "end": 868, + "loc": { + "start": { + "line": 30, + "column": 7 + }, + "end": { + "line": 30, + "column": 13 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 868, + "end": 869, + "loc": { + "start": { + "line": 30, + "column": 13 + }, + "end": { + "line": 30, + "column": 14 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 869, + "end": 870, + "loc": { + "start": { + "line": 30, + "column": 14 + }, + "end": { + "line": 30, + "column": 15 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 870, + "end": 871, + "loc": { + "start": { + "line": 30, + "column": 15 + }, + "end": { + "line": 30, + "column": 16 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 872, + "end": 875, + "loc": { + "start": { + "line": 30, + "column": 17 + }, + "end": { + "line": 30, + "column": 20 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "-", + "start": 876, + "end": 879, + "loc": { + "start": { + "line": 30, + "column": 21 + }, + "end": { + "line": 30, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 880, + "end": 881, + "loc": { + "start": { + "line": 30, + "column": 25 + }, + "end": { + "line": 30, + "column": 26 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 882, + "end": 888, + "loc": { + "start": { + "line": 30, + "column": 27 + }, + "end": { + "line": 30, + "column": 33 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 889, + "end": 893, + "loc": { + "start": { + "line": 30, + "column": 34 + }, + "end": { + "line": 30, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 893, + "end": 894, + "loc": { + "start": { + "line": 30, + "column": 38 + }, + "end": { + "line": 30, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from_string", + "start": 894, + "end": 905, + "loc": { + "start": { + "line": 30, + "column": 39 + }, + "end": { + "line": 30, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 905, + "end": 906, + "loc": { + "start": { + "line": 30, + "column": 50 + }, + "end": { + "line": 30, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "string", + "start": 907, + "end": 913, + "loc": { + "start": { + "line": 30, + "column": 52 + }, + "end": { + "line": 30, + "column": 58 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 913, + "end": 914, + "loc": { + "start": { + "line": 30, + "column": 58 + }, + "end": { + "line": 30, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "slice", + "start": 914, + "end": 919, + "loc": { + "start": { + "line": 30, + "column": 59 + }, + "end": { + "line": 30, + "column": 64 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 919, + "end": 920, + "loc": { + "start": { + "line": 30, + "column": 64 + }, + "end": { + "line": 30, + "column": 65 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 920, + "end": 921, + "loc": { + "start": { + "line": 30, + "column": 65 + }, + "end": { + "line": 30, + "column": 66 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 921, + "end": 922, + "loc": { + "start": { + "line": 30, + "column": 66 + }, + "end": { + "line": 30, + "column": 67 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 923, + "end": 924, + "loc": { + "start": { + "line": 30, + "column": 68 + }, + "end": { + "line": 30, + "column": 69 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 925, + "end": 929, + "loc": { + "start": { + "line": 30, + "column": 70 + }, + "end": { + "line": 30, + "column": 74 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 930, + "end": 931, + "loc": { + "start": { + "line": 30, + "column": 75 + }, + "end": { + "line": 30, + "column": 76 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "~", + "start": 932, + "end": 933, + "loc": { + "start": { + "line": 30, + "column": 77 + }, + "end": { + "line": 30, + "column": 78 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 933, + "end": 944, + "loc": { + "start": { + "line": 30, + "column": 78 + }, + "end": { + "line": 30, + "column": 89 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 945, + "end": 946, + "loc": { + "start": { + "line": 30, + "column": 90 + }, + "end": { + "line": 30, + "column": 91 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 947, + "end": 948, + "loc": { + "start": { + "line": 30, + "column": 92 + }, + "end": { + "line": 30, + "column": 93 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 952, + "end": 954, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 32, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 955, + "end": 956, + "loc": { + "start": { + "line": 32, + "column": 5 + }, + "end": { + "line": 32, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "string", + "start": 957, + "end": 963, + "loc": { + "start": { + "line": 32, + "column": 7 + }, + "end": { + "line": 32, + "column": 13 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 963, + "end": 964, + "loc": { + "start": { + "line": 32, + "column": 13 + }, + "end": { + "line": 32, + "column": 14 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 964, + "end": 965, + "loc": { + "start": { + "line": 32, + "column": 14 + }, + "end": { + "line": 32, + "column": 15 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 965, + "end": 966, + "loc": { + "start": { + "line": 32, + "column": 15 + }, + "end": { + "line": 32, + "column": 16 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 967, + "end": 970, + "loc": { + "start": { + "line": 32, + "column": 17 + }, + "end": { + "line": 32, + "column": 20 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+", + "start": 971, + "end": 974, + "loc": { + "start": { + "line": 32, + "column": 21 + }, + "end": { + "line": 32, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 975, + "end": 976, + "loc": { + "start": { + "line": 32, + "column": 25 + }, + "end": { + "line": 32, + "column": 26 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 977, + "end": 983, + "loc": { + "start": { + "line": 32, + "column": 27 + }, + "end": { + "line": 32, + "column": 33 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 984, + "end": 988, + "loc": { + "start": { + "line": 32, + "column": 34 + }, + "end": { + "line": 32, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 988, + "end": 989, + "loc": { + "start": { + "line": 32, + "column": 38 + }, + "end": { + "line": 32, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from_string", + "start": 989, + "end": 1000, + "loc": { + "start": { + "line": 32, + "column": 39 + }, + "end": { + "line": 32, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1000, + "end": 1001, + "loc": { + "start": { + "line": 32, + "column": 50 + }, + "end": { + "line": 32, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "string", + "start": 1002, + "end": 1008, + "loc": { + "start": { + "line": 32, + "column": 52 + }, + "end": { + "line": 32, + "column": 58 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1008, + "end": 1009, + "loc": { + "start": { + "line": 32, + "column": 58 + }, + "end": { + "line": 32, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "slice", + "start": 1009, + "end": 1014, + "loc": { + "start": { + "line": 32, + "column": 59 + }, + "end": { + "line": 32, + "column": 64 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1014, + "end": 1015, + "loc": { + "start": { + "line": 32, + "column": 64 + }, + "end": { + "line": 32, + "column": 65 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 1015, + "end": 1016, + "loc": { + "start": { + "line": 32, + "column": 65 + }, + "end": { + "line": 32, + "column": 66 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1016, + "end": 1017, + "loc": { + "start": { + "line": 32, + "column": 66 + }, + "end": { + "line": 32, + "column": 67 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1018, + "end": 1019, + "loc": { + "start": { + "line": 32, + "column": 68 + }, + "end": { + "line": 32, + "column": 69 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 1020, + "end": 1024, + "loc": { + "start": { + "line": 32, + "column": 70 + }, + "end": { + "line": 32, + "column": 74 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1025, + "end": 1026, + "loc": { + "start": { + "line": 32, + "column": 75 + }, + "end": { + "line": 32, + "column": 76 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 1027, + "end": 1038, + "loc": { + "start": { + "line": 32, + "column": 77 + }, + "end": { + "line": 32, + "column": 88 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1039, + "end": 1040, + "loc": { + "start": { + "line": 32, + "column": 89 + }, + "end": { + "line": 32, + "column": 90 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1041, + "end": 1042, + "loc": { + "start": { + "line": 32, + "column": 91 + }, + "end": { + "line": 32, + "column": 92 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1046, + "end": 1051, + "loc": { + "start": { + "line": 34, + "column": 2 + }, + "end": { + "line": 34, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 1052, + "end": 1057, + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1058, + "end": 1059, + "loc": { + "start": { + "line": 34, + "column": 14 + }, + "end": { + "line": 34, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parse", + "start": 1060, + "end": 1065, + "loc": { + "start": { + "line": 34, + "column": 16 + }, + "end": { + "line": 34, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1065, + "end": 1066, + "loc": { + "start": { + "line": 34, + "column": 21 + }, + "end": { + "line": 34, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 1067, + "end": 1071, + "loc": { + "start": { + "line": 34, + "column": 23 + }, + "end": { + "line": 34, + "column": 27 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1072, + "end": 1073, + "loc": { + "start": { + "line": 34, + "column": 28 + }, + "end": { + "line": 34, + "column": 29 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1074, + "end": 1078, + "loc": { + "start": { + "line": 34, + "column": 30 + }, + "end": { + "line": 34, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1078, + "end": 1079, + "loc": { + "start": { + "line": 34, + "column": 34 + }, + "end": { + "line": 34, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 1079, + "end": 1083, + "loc": { + "start": { + "line": 34, + "column": 35 + }, + "end": { + "line": 34, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1084, + "end": 1085, + "loc": { + "start": { + "line": 34, + "column": 40 + }, + "end": { + "line": 34, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "string", + "start": 1086, + "end": 1092, + "loc": { + "start": { + "line": 34, + "column": 42 + }, + "end": { + "line": 34, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1093, + "end": 1094, + "loc": { + "start": { + "line": 34, + "column": 49 + }, + "end": { + "line": 34, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1095, + "end": 1096, + "loc": { + "start": { + "line": 34, + "column": 51 + }, + "end": { + "line": 34, + "column": 52 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1100, + "end": 1106, + "loc": { + "start": { + "line": 36, + "column": 2 + }, + "end": { + "line": 36, + "column": 8 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 1107, + "end": 1110, + "loc": { + "start": { + "line": 36, + "column": 9 + }, + "end": { + "line": 36, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Integer", + "start": 1111, + "end": 1118, + "loc": { + "start": { + "line": 36, + "column": 13 + }, + "end": { + "line": 36, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1118, + "end": 1119, + "loc": { + "start": { + "line": 36, + "column": 20 + }, + "end": { + "line": 36, + "column": 21 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1120, + "end": 1124, + "loc": { + "start": { + "line": 36, + "column": 22 + }, + "end": { + "line": 36, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1124, + "end": 1125, + "loc": { + "start": { + "line": 36, + "column": 26 + }, + "end": { + "line": 36, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 1125, + "end": 1129, + "loc": { + "start": { + "line": 36, + "column": 27 + }, + "end": { + "line": 36, + "column": 31 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1130, + "end": 1131, + "loc": { + "start": { + "line": 36, + "column": 32 + }, + "end": { + "line": 36, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 1132, + "end": 1143, + "loc": { + "start": { + "line": 36, + "column": 34 + }, + "end": { + "line": 36, + "column": 45 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1144, + "end": 1145, + "loc": { + "start": { + "line": 36, + "column": 46 + }, + "end": { + "line": 36, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 1146, + "end": 1151, + "loc": { + "start": { + "line": 36, + "column": 48 + }, + "end": { + "line": 36, + "column": 53 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1152, + "end": 1153, + "loc": { + "start": { + "line": 36, + "column": 54 + }, + "end": { + "line": 36, + "column": 55 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1154, + "end": 1155, + "loc": { + "start": { + "line": 36, + "column": 56 + }, + "end": { + "line": 36, + "column": 57 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1158, + "end": 1159, + "loc": { + "start": { + "line": 38, + "column": 1 + }, + "end": { + "line": 38, + "column": 2 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "toString", + "start": 1162, + "end": 1170, + "loc": { + "start": { + "line": 40, + "column": 1 + }, + "end": { + "line": 40, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1171, + "end": 1172, + "loc": { + "start": { + "line": 40, + "column": 10 + }, + "end": { + "line": 40, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1173, + "end": 1174, + "loc": { + "start": { + "line": 40, + "column": 12 + }, + "end": { + "line": 40, + "column": 13 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1175, + "end": 1176, + "loc": { + "start": { + "line": 40, + "column": 14 + }, + "end": { + "line": 40, + "column": 15 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1179, + "end": 1185, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 41, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1186, + "end": 1190, + "loc": { + "start": { + "line": 41, + "column": 9 + }, + "end": { + "line": 41, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1190, + "end": 1191, + "loc": { + "start": { + "line": 41, + "column": 13 + }, + "end": { + "line": 41, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 1191, + "end": 1195, + "loc": { + "start": { + "line": 41, + "column": 14 + }, + "end": { + "line": 41, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1196, + "end": 1197, + "loc": { + "start": { + "line": 41, + "column": 19 + }, + "end": { + "line": 41, + "column": 20 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1199, + "end": 1200, + "loc": { + "start": { + "line": 42, + "column": 1 + }, + "end": { + "line": 42, + "column": 2 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "static", + "start": 1203, + "end": 1209, + "loc": { + "start": { + "line": 44, + "column": 1 + }, + "end": { + "line": 44, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "add", + "start": 1210, + "end": 1213, + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1214, + "end": 1215, + "loc": { + "start": { + "line": 44, + "column": 12 + }, + "end": { + "line": 44, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "first", + "start": 1216, + "end": 1221, + "loc": { + "start": { + "line": 44, + "column": 14 + }, + "end": { + "line": 44, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1222, + "end": 1223, + "loc": { + "start": { + "line": 44, + "column": 20 + }, + "end": { + "line": 44, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "second", + "start": 1224, + "end": 1230, + "loc": { + "start": { + "line": 44, + "column": 22 + }, + "end": { + "line": 44, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1231, + "end": 1232, + "loc": { + "start": { + "line": 44, + "column": 29 + }, + "end": { + "line": 44, + "column": 30 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1233, + "end": 1234, + "loc": { + "start": { + "line": 44, + "column": 31 + }, + "end": { + "line": 44, + "column": 32 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1237, + "end": 1243, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 45, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "first", + "start": 1244, + "end": 1249, + "loc": { + "start": { + "line": 45, + "column": 9 + }, + "end": { + "line": 45, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1249, + "end": 1250, + "loc": { + "start": { + "line": 45, + "column": 14 + }, + "end": { + "line": 45, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "add", + "start": 1250, + "end": 1253, + "loc": { + "start": { + "line": 45, + "column": 15 + }, + "end": { + "line": 45, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1253, + "end": 1254, + "loc": { + "start": { + "line": 45, + "column": 18 + }, + "end": { + "line": 45, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "second", + "start": 1254, + "end": 1260, + "loc": { + "start": { + "line": 45, + "column": 19 + }, + "end": { + "line": 45, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1260, + "end": 1261, + "loc": { + "start": { + "line": 45, + "column": 25 + }, + "end": { + "line": 45, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1262, + "end": 1263, + "loc": { + "start": { + "line": 45, + "column": 27 + }, + "end": { + "line": 45, + "column": 28 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1265, + "end": 1266, + "loc": { + "start": { + "line": 46, + "column": 1 + }, + "end": { + "line": 46, + "column": 2 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "static", + "start": 1269, + "end": 1275, + "loc": { + "start": { + "line": 48, + "column": 1 + }, + "end": { + "line": 48, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sub", + "start": 1276, + "end": 1279, + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1280, + "end": 1281, + "loc": { + "start": { + "line": 48, + "column": 12 + }, + "end": { + "line": 48, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "first", + "start": 1282, + "end": 1287, + "loc": { + "start": { + "line": 48, + "column": 14 + }, + "end": { + "line": 48, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1288, + "end": 1289, + "loc": { + "start": { + "line": 48, + "column": 20 + }, + "end": { + "line": 48, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "second", + "start": 1290, + "end": 1296, + "loc": { + "start": { + "line": 48, + "column": 22 + }, + "end": { + "line": 48, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1297, + "end": 1298, + "loc": { + "start": { + "line": 48, + "column": 29 + }, + "end": { + "line": 48, + "column": 30 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1299, + "end": 1300, + "loc": { + "start": { + "line": 48, + "column": 31 + }, + "end": { + "line": 48, + "column": 32 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1303, + "end": 1309, + "loc": { + "start": { + "line": 49, + "column": 2 + }, + "end": { + "line": 49, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "first", + "start": 1310, + "end": 1315, + "loc": { + "start": { + "line": 49, + "column": 9 + }, + "end": { + "line": 49, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1315, + "end": 1316, + "loc": { + "start": { + "line": 49, + "column": 14 + }, + "end": { + "line": 49, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sub", + "start": 1316, + "end": 1319, + "loc": { + "start": { + "line": 49, + "column": 15 + }, + "end": { + "line": 49, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1319, + "end": 1320, + "loc": { + "start": { + "line": 49, + "column": 18 + }, + "end": { + "line": 49, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "second", + "start": 1320, + "end": 1326, + "loc": { + "start": { + "line": 49, + "column": 19 + }, + "end": { + "line": 49, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1326, + "end": 1327, + "loc": { + "start": { + "line": 49, + "column": 25 + }, + "end": { + "line": 49, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1328, + "end": 1329, + "loc": { + "start": { + "line": 49, + "column": 27 + }, + "end": { + "line": 49, + "column": 28 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1331, + "end": 1332, + "loc": { + "start": { + "line": 50, + "column": 1 + }, + "end": { + "line": 50, + "column": 2 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "static", + "start": 1335, + "end": 1341, + "loc": { + "start": { + "line": 52, + "column": 1 + }, + "end": { + "line": 52, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mul", + "start": 1342, + "end": 1345, + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 52, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1346, + "end": 1347, + "loc": { + "start": { + "line": 52, + "column": 12 + }, + "end": { + "line": 52, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "first", + "start": 1348, + "end": 1353, + "loc": { + "start": { + "line": 52, + "column": 14 + }, + "end": { + "line": 52, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1354, + "end": 1355, + "loc": { + "start": { + "line": 52, + "column": 20 + }, + "end": { + "line": 52, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "second", + "start": 1356, + "end": 1362, + "loc": { + "start": { + "line": 52, + "column": 22 + }, + "end": { + "line": 52, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1363, + "end": 1364, + "loc": { + "start": { + "line": 52, + "column": 29 + }, + "end": { + "line": 52, + "column": 30 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1365, + "end": 1366, + "loc": { + "start": { + "line": 52, + "column": 31 + }, + "end": { + "line": 52, + "column": 32 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1369, + "end": 1375, + "loc": { + "start": { + "line": 53, + "column": 2 + }, + "end": { + "line": 53, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "first", + "start": 1376, + "end": 1381, + "loc": { + "start": { + "line": 53, + "column": 9 + }, + "end": { + "line": 53, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1381, + "end": 1382, + "loc": { + "start": { + "line": 53, + "column": 14 + }, + "end": { + "line": 53, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mul", + "start": 1382, + "end": 1385, + "loc": { + "start": { + "line": 53, + "column": 15 + }, + "end": { + "line": 53, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1385, + "end": 1386, + "loc": { + "start": { + "line": 53, + "column": 18 + }, + "end": { + "line": 53, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "second", + "start": 1386, + "end": 1392, + "loc": { + "start": { + "line": 53, + "column": 19 + }, + "end": { + "line": 53, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1392, + "end": 1393, + "loc": { + "start": { + "line": 53, + "column": 25 + }, + "end": { + "line": 53, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1394, + "end": 1395, + "loc": { + "start": { + "line": 53, + "column": 27 + }, + "end": { + "line": 53, + "column": 28 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1397, + "end": 1398, + "loc": { + "start": { + "line": 54, + "column": 1 + }, + "end": { + "line": 54, + "column": 2 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "static", + "start": 1401, + "end": 1407, + "loc": { + "start": { + "line": 56, + "column": 1 + }, + "end": { + "line": 56, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pow", + "start": 1408, + "end": 1411, + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1412, + "end": 1413, + "loc": { + "start": { + "line": 56, + "column": 12 + }, + "end": { + "line": 56, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "first", + "start": 1414, + "end": 1419, + "loc": { + "start": { + "line": 56, + "column": 14 + }, + "end": { + "line": 56, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1420, + "end": 1421, + "loc": { + "start": { + "line": 56, + "column": 20 + }, + "end": { + "line": 56, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "second", + "start": 1422, + "end": 1428, + "loc": { + "start": { + "line": 56, + "column": 22 + }, + "end": { + "line": 56, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1429, + "end": 1430, + "loc": { + "start": { + "line": 56, + "column": 29 + }, + "end": { + "line": 56, + "column": 30 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1431, + "end": 1432, + "loc": { + "start": { + "line": 56, + "column": 31 + }, + "end": { + "line": 56, + "column": 32 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1435, + "end": 1441, + "loc": { + "start": { + "line": 57, + "column": 2 + }, + "end": { + "line": 57, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "first", + "start": 1442, + "end": 1447, + "loc": { + "start": { + "line": 57, + "column": 9 + }, + "end": { + "line": 57, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1447, + "end": 1448, + "loc": { + "start": { + "line": 57, + "column": 14 + }, + "end": { + "line": 57, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pow", + "start": 1448, + "end": 1451, + "loc": { + "start": { + "line": 57, + "column": 15 + }, + "end": { + "line": 57, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1451, + "end": 1452, + "loc": { + "start": { + "line": 57, + "column": 18 + }, + "end": { + "line": 57, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "second", + "start": 1452, + "end": 1458, + "loc": { + "start": { + "line": 57, + "column": 19 + }, + "end": { + "line": 57, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1458, + "end": 1459, + "loc": { + "start": { + "line": 57, + "column": 25 + }, + "end": { + "line": 57, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1460, + "end": 1461, + "loc": { + "start": { + "line": 57, + "column": 27 + }, + "end": { + "line": 57, + "column": 28 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1463, + "end": 1464, + "loc": { + "start": { + "line": 58, + "column": 1 + }, + "end": { + "line": 58, + "column": 2 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "static", + "start": 1467, + "end": 1473, + "loc": { + "start": { + "line": 60, + "column": 1 + }, + "end": { + "line": 60, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "div", + "start": 1474, + "end": 1477, + "loc": { + "start": { + "line": 60, + "column": 8 + }, + "end": { + "line": 60, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1478, + "end": 1479, + "loc": { + "start": { + "line": 60, + "column": 12 + }, + "end": { + "line": 60, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "first", + "start": 1480, + "end": 1485, + "loc": { + "start": { + "line": 60, + "column": 14 + }, + "end": { + "line": 60, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1486, + "end": 1487, + "loc": { + "start": { + "line": 60, + "column": 20 + }, + "end": { + "line": 60, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "second", + "start": 1488, + "end": 1494, + "loc": { + "start": { + "line": 60, + "column": 22 + }, + "end": { + "line": 60, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1495, + "end": 1496, + "loc": { + "start": { + "line": 60, + "column": 29 + }, + "end": { + "line": 60, + "column": 30 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1497, + "end": 1498, + "loc": { + "start": { + "line": 60, + "column": 31 + }, + "end": { + "line": 60, + "column": 32 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1501, + "end": 1507, + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 61, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "first", + "start": 1508, + "end": 1513, + "loc": { + "start": { + "line": 61, + "column": 9 + }, + "end": { + "line": 61, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1513, + "end": 1514, + "loc": { + "start": { + "line": 61, + "column": 14 + }, + "end": { + "line": 61, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "div", + "start": 1514, + "end": 1517, + "loc": { + "start": { + "line": 61, + "column": 15 + }, + "end": { + "line": 61, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1517, + "end": 1518, + "loc": { + "start": { + "line": 61, + "column": 18 + }, + "end": { + "line": 61, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "second", + "start": 1518, + "end": 1524, + "loc": { + "start": { + "line": 61, + "column": 19 + }, + "end": { + "line": 61, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1524, + "end": 1525, + "loc": { + "start": { + "line": 61, + "column": 25 + }, + "end": { + "line": 61, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1526, + "end": 1527, + "loc": { + "start": { + "line": 61, + "column": 27 + }, + "end": { + "line": 61, + "column": 28 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1529, + "end": 1530, + "loc": { + "start": { + "line": 62, + "column": 1 + }, + "end": { + "line": 62, + "column": 2 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "static", + "start": 1533, + "end": 1539, + "loc": { + "start": { + "line": 64, + "column": 1 + }, + "end": { + "line": 64, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mod", + "start": 1540, + "end": 1543, + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 64, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1544, + "end": 1545, + "loc": { + "start": { + "line": 64, + "column": 12 + }, + "end": { + "line": 64, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "first", + "start": 1546, + "end": 1551, + "loc": { + "start": { + "line": 64, + "column": 14 + }, + "end": { + "line": 64, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1552, + "end": 1553, + "loc": { + "start": { + "line": 64, + "column": 20 + }, + "end": { + "line": 64, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "second", + "start": 1554, + "end": 1560, + "loc": { + "start": { + "line": 64, + "column": 22 + }, + "end": { + "line": 64, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1561, + "end": 1562, + "loc": { + "start": { + "line": 64, + "column": 29 + }, + "end": { + "line": 64, + "column": 30 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1563, + "end": 1564, + "loc": { + "start": { + "line": 64, + "column": 31 + }, + "end": { + "line": 64, + "column": 32 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1567, + "end": 1573, + "loc": { + "start": { + "line": 65, + "column": 2 + }, + "end": { + "line": 65, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "first", + "start": 1574, + "end": 1579, + "loc": { + "start": { + "line": 65, + "column": 9 + }, + "end": { + "line": 65, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1579, + "end": 1580, + "loc": { + "start": { + "line": 65, + "column": 14 + }, + "end": { + "line": 65, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mod", + "start": 1580, + "end": 1583, + "loc": { + "start": { + "line": 65, + "column": 15 + }, + "end": { + "line": 65, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1583, + "end": 1584, + "loc": { + "start": { + "line": 65, + "column": 18 + }, + "end": { + "line": 65, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "second", + "start": 1584, + "end": 1590, + "loc": { + "start": { + "line": 65, + "column": 19 + }, + "end": { + "line": 65, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1590, + "end": 1591, + "loc": { + "start": { + "line": 65, + "column": 25 + }, + "end": { + "line": 65, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1592, + "end": 1593, + "loc": { + "start": { + "line": 65, + "column": 27 + }, + "end": { + "line": 65, + "column": 28 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1595, + "end": 1596, + "loc": { + "start": { + "line": 66, + "column": 1 + }, + "end": { + "line": 66, + "column": 2 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1598, + "end": 1599, + "loc": { + "start": { + "line": 68, + "column": 0 + }, + "end": { + "line": 68, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1600, + "end": 1600, + "loc": { + "start": { + "line": 69, + "column": 0 + }, + "end": { + "line": 69, + "column": 0 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/ZZ.js.json b/ast/source/ZZ.js.json new file mode 100644 index 0000000..d2a4bd9 --- /dev/null +++ b/ast/source/ZZ.js.json @@ -0,0 +1,917 @@ +{ + "type": "File", + "start": 0, + "end": 145, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 8, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 145, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 8, + "column": 0 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 1, + "end": 69, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 5, + "column": 13 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 11, + "end": 38, + "loc": { + "start": { + "line": 3, + "column": 1 + }, + "end": { + "line": 3, + "column": 28 + } + }, + "imported": { + "type": "Identifier", + "start": 11, + "end": 38, + "loc": { + "start": { + "line": 3, + "column": 1 + }, + "end": { + "line": 3, + "column": 28 + }, + "identifierName": "DEFAULT_REPRESENTATION_BASE" + }, + "name": "DEFAULT_REPRESENTATION_BASE" + }, + "local": { + "type": "Identifier", + "start": 11, + "end": 38, + "loc": { + "start": { + "line": 3, + "column": 1 + }, + "end": { + "line": 3, + "column": 28 + }, + "identifierName": "DEFAULT_REPRESENTATION_BASE" + }, + "name": "DEFAULT_REPRESENTATION_BASE" + } + }, + { + "type": "ImportSpecifier", + "start": 42, + "end": 53, + "loc": { + "start": { + "line": 4, + "column": 1 + }, + "end": { + "line": 4, + "column": 12 + } + }, + "imported": { + "type": "Identifier", + "start": 42, + "end": 53, + "loc": { + "start": { + "line": 4, + "column": 1 + }, + "end": { + "line": 4, + "column": 12 + }, + "identifierName": "IntegerRing" + }, + "name": "IntegerRing" + }, + "local": { + "type": "Identifier", + "start": 42, + "end": 53, + "loc": { + "start": { + "line": 4, + "column": 1 + }, + "end": { + "line": 4, + "column": 12 + }, + "identifierName": "IntegerRing" + }, + "name": "IntegerRing" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 63, + "end": 67, + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 11 + } + }, + "extra": { + "rawValue": "./", + "raw": "'./'" + }, + "value": "./" + } + }, + { + "type": "ExportNamedDeclaration", + "start": 71, + "end": 144, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 73 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "VariableDeclaration", + "start": 78, + "end": 144, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 73 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 84, + "end": 142, + "loc": { + "start": { + "line": 7, + "column": 13 + }, + "end": { + "line": 7, + "column": 71 + } + }, + "id": { + "type": "Identifier", + "start": 84, + "end": 86, + "loc": { + "start": { + "line": 7, + "column": 13 + }, + "end": { + "line": 7, + "column": 15 + }, + "identifierName": "ZZ" + }, + "name": "ZZ" + }, + "init": { + "type": "NewExpression", + "start": 89, + "end": 142, + "loc": { + "start": { + "line": 7, + "column": 18 + }, + "end": { + "line": 7, + "column": 71 + } + }, + "callee": { + "type": "Identifier", + "start": 93, + "end": 104, + "loc": { + "start": { + "line": 7, + "column": 22 + }, + "end": { + "line": 7, + "column": 33 + }, + "identifierName": "IntegerRing" + }, + "name": "IntegerRing" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 106, + "end": 110, + "loc": { + "start": { + "line": 7, + "column": 35 + }, + "end": { + "line": 7, + "column": 39 + } + }, + "extra": { + "rawValue": "ZZ", + "raw": "'ZZ'" + }, + "value": "ZZ" + }, + { + "type": "Identifier", + "start": 113, + "end": 140, + "loc": { + "start": { + "line": 7, + "column": 42 + }, + "end": { + "line": 7, + "column": 69 + }, + "identifierName": "DEFAULT_REPRESENTATION_BASE" + }, + "name": "DEFAULT_REPRESENTATION_BASE" + } + ] + } + } + ], + "kind": "const", + "leadingComments": [], + "trailingComments": [] + } + } + ], + "directives": [] + }, + "comments": [], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1, + "end": 7, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8, + "end": 9, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DEFAULT_REPRESENTATION_BASE", + "start": 11, + "end": 38, + "loc": { + "start": { + "line": 3, + "column": 1 + }, + "end": { + "line": 3, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 39, + "end": 40, + "loc": { + "start": { + "line": 3, + "column": 29 + }, + "end": { + "line": 3, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "IntegerRing", + "start": 42, + "end": 53, + "loc": { + "start": { + "line": 4, + "column": 1 + }, + "end": { + "line": 4, + "column": 12 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 54, + "end": 55, + "loc": { + "start": { + "line": 4, + "column": 13 + }, + "end": { + "line": 4, + "column": 14 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 56, + "end": 57, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 1 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 58, + "end": 62, + "loc": { + "start": { + "line": 5, + "column": 2 + }, + "end": { + "line": 5, + "column": 6 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./", + "start": 63, + "end": 67, + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 11 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 68, + "end": 69, + "loc": { + "start": { + "line": 5, + "column": 12 + }, + "end": { + "line": 5, + "column": 13 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 71, + "end": 77, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 6 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 78, + "end": 83, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ZZ", + "start": 84, + "end": 86, + "loc": { + "start": { + "line": 7, + "column": 13 + }, + "end": { + "line": 7, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 87, + "end": 88, + "loc": { + "start": { + "line": 7, + "column": 16 + }, + "end": { + "line": 7, + "column": 17 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 89, + "end": 92, + "loc": { + "start": { + "line": 7, + "column": 18 + }, + "end": { + "line": 7, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "IntegerRing", + "start": 93, + "end": 104, + "loc": { + "start": { + "line": 7, + "column": 22 + }, + "end": { + "line": 7, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 104, + "end": 105, + "loc": { + "start": { + "line": 7, + "column": 33 + }, + "end": { + "line": 7, + "column": 34 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "ZZ", + "start": 106, + "end": 110, + "loc": { + "start": { + "line": 7, + "column": 35 + }, + "end": { + "line": 7, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 111, + "end": 112, + "loc": { + "start": { + "line": 7, + "column": 40 + }, + "end": { + "line": 7, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DEFAULT_REPRESENTATION_BASE", + "start": 113, + "end": 140, + "loc": { + "start": { + "line": 7, + "column": 42 + }, + "end": { + "line": 7, + "column": 69 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 141, + "end": 142, + "loc": { + "start": { + "line": 7, + "column": 70 + }, + "end": { + "line": 7, + "column": 71 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 143, + "end": 144, + "loc": { + "start": { + "line": 7, + "column": 72 + }, + "end": { + "line": 7, + "column": 73 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 145, + "end": 145, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 0 + } + } + } + ] +} \ No newline at end of file diff --git a/ast/source/index.js.json b/ast/source/index.js.json index 7d609ac..b8e4b1a 100644 --- a/ast/source/index.js.json +++ b/ast/source/index.js.json @@ -1,31 +1,230 @@ { - "type": "Program", - "body": [ - { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./0-legacy", - "raw": "'./0-legacy'", - "range": [ - 14, - 26 - ], + "type": "File", + "start": 0, + "end": 172, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 6, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 172, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 6, + "column": 0 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ExportAllDeclaration", + "start": 0, + "end": 40, "loc": { "start": { "line": 1, - "column": 14 + "column": 0 }, "end": { "line": 1, - "column": 26 + "column": 40 + } + }, + "source": { + "type": "StringLiteral", + "start": 14, + "end": 38, + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 38 + } + }, + "extra": { + "rawValue": "./DEFAULT_DISPLAY_BASE", + "raw": "'./DEFAULT_DISPLAY_BASE'" + }, + "value": "./DEFAULT_DISPLAY_BASE" + } + }, + { + "type": "ExportAllDeclaration", + "start": 41, + "end": 88, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 47 + } + }, + "source": { + "type": "StringLiteral", + "start": 55, + "end": 86, + "loc": { + "start": { + "line": 2, + "column": 14 + }, + "end": { + "line": 2, + "column": 45 + } + }, + "extra": { + "rawValue": "./DEFAULT_REPRESENTATION_BASE", + "raw": "'./DEFAULT_REPRESENTATION_BASE'" + }, + "value": "./DEFAULT_REPRESENTATION_BASE" + } + }, + { + "type": "ExportAllDeclaration", + "start": 89, + "end": 116, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 27 + } + }, + "source": { + "type": "StringLiteral", + "start": 103, + "end": 114, + "loc": { + "start": { + "line": 3, + "column": 14 + }, + "end": { + "line": 3, + "column": 25 + } + }, + "extra": { + "rawValue": "./Integer", + "raw": "'./Integer'" + }, + "value": "./Integer" + } + }, + { + "type": "ExportAllDeclaration", + "start": 117, + "end": 148, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 31 } + }, + "source": { + "type": "StringLiteral", + "start": 131, + "end": 146, + "loc": { + "start": { + "line": 4, + "column": 14 + }, + "end": { + "line": 4, + "column": 29 + } + }, + "extra": { + "rawValue": "./IntegerRing", + "raw": "'./IntegerRing'" + }, + "value": "./IntegerRing" } }, - "range": [ - 0, - 28 - ], + { + "type": "ExportAllDeclaration", + "start": 149, + "end": 171, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 22 + } + }, + "source": { + "type": "StringLiteral", + "start": 163, + "end": 169, + "loc": { + "start": { + "line": 5, + "column": 14 + }, + "end": { + "line": 5, + "column": 20 + } + }, + "extra": { + "rawValue": "./ZZ", + "raw": "'./ZZ'" + }, + "value": "./ZZ" + } + } + ], + "directives": [] + }, + "comments": [], + "tokens": [ + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 0, + "end": 6, "loc": { "start": { "line": 1, @@ -33,35 +232,133 @@ }, "end": { "line": 1, - "column": 28 + "column": 6 } } }, { - "type": "ExportAllDeclaration", - "source": { - "type": "Literal", - "value": "./1-new", - "raw": "'./1-new'", - "range": [ - 43, - 52 - ], - "loc": { - "start": { - "line": 2, - "column": 14 - }, - "end": { - "line": 2, - "column": 23 - } + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null }, - "range": [ - 29, - 54 - ], + "value": "from", + "start": 9, + "end": 13, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./DEFAULT_DISPLAY_BASE", + "start": 14, + "end": 38, + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 39, + "end": 40, + "loc": { + "start": { + "line": 1, + "column": 39 + }, + "end": { + "line": 1, + "column": 40 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 41, + "end": 47, "loc": { "start": { "line": 2, @@ -69,25 +366,543 @@ }, "end": { "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 48, + "end": 49, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 50, + "end": 54, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 13 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./DEFAULT_REPRESENTATION_BASE", + "start": 55, + "end": 86, + "loc": { + "start": { + "line": 2, + "column": 14 + }, + "end": { + "line": 2, + "column": 45 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 87, + "end": 88, + "loc": { + "start": { + "line": 2, + "column": 46 + }, + "end": { + "line": 2, + "column": 47 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 89, + "end": 95, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 6 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 96, + "end": 97, + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 98, + "end": 102, + "loc": { + "start": { + "line": 3, + "column": 9 + }, + "end": { + "line": 3, + "column": 13 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./Integer", + "start": 103, + "end": 114, + "loc": { + "start": { + "line": 3, + "column": 14 + }, + "end": { + "line": 3, "column": 25 } } - } - ], - "sourceType": "module", - "range": [ - 0, - 54 - ], - "loc": { - "start": { - "line": 1, - "column": 0 }, - "end": { - "line": 2, - "column": 25 + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 115, + "end": 116, + "loc": { + "start": { + "line": 3, + "column": 26 + }, + "end": { + "line": 3, + "column": 27 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 117, + "end": 123, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 6 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 124, + "end": 125, + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 126, + "end": 130, + "loc": { + "start": { + "line": 4, + "column": 9 + }, + "end": { + "line": 4, + "column": 13 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./IntegerRing", + "start": 131, + "end": 146, + "loc": { + "start": { + "line": 4, + "column": 14 + }, + "end": { + "line": 4, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 147, + "end": 148, + "loc": { + "start": { + "line": 4, + "column": 30 + }, + "end": { + "line": 4, + "column": 31 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 149, + "end": 155, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 6 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 156, + "end": 157, + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 158, + "end": 162, + "loc": { + "start": { + "line": 5, + "column": 9 + }, + "end": { + "line": 5, + "column": 13 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./ZZ", + "start": 163, + "end": 169, + "loc": { + "start": { + "line": 5, + "column": 14 + }, + "end": { + "line": 5, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 170, + "end": 171, + "loc": { + "start": { + "line": 5, + "column": 21 + }, + "end": { + "line": 5, + "column": 22 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 172, + "end": 172, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 0 + } + } } - }, - "comments": [] + ] } \ No newline at end of file diff --git a/badge.svg b/badge.svg index 2676430..39bdda8 100644 --- a/badge.svg +++ b/badge.svg @@ -1,17 +1,17 @@ - + - - - - + + + + document document - 50% - 50% + 0% + 0% diff --git a/class/src/Integer.js~Integer.html b/class/src/Integer.js~Integer.html new file mode 100644 index 0000000..b7e569c --- /dev/null +++ b/class/src/Integer.js~Integer.html @@ -0,0 +1,1299 @@ + + + + + + Integer | aureooms/js-integer API Document + + + + + + + + + + + +

    + Home + Manual + Reference + Source + Test + Repository + +
    + + + +
    +
    import {Integer} from '@aureooms/js-integer/src/Integer.js'
    + public + class + + + + | source +
    + +
    +

    Integer

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + +

    Constructor Summary

    + + + + + + + + + +
    Public Constructor
    + public + + + + + +
    +

    + + + constructor(base: *, is_negative: *, limbs: *) +

    +
    +
    + + + +
    +
    + + +
    +
    +

    Member Summary

    + + + + + + + + + + + + + + + + + + + +
    Public Members
    + public + + + + + +
    +

    + + + base: * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + is_negative: * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + limbs: * +

    +
    +
    + + + +
    +
    + + +
    +
    +

    Method Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Public Methods
    + public + + + + + +
    +

    + + + add(other: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + div(other: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + divmod(other: *): undefined[] +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + mod(other: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + mul(other: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + opposite(): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + pow(other: *) +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + sub(other: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + toString(base: *): * +

    +
    +
    + + + +
    +
    + + +
    +
    + + + + + +

    Public Constructors

    + +
    +

    + public + + + + + + constructor(base: *, is_negative: *, limbs: *) + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    base*
    is_negative*
    limbs*
    +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    Public Members

    + +
    +

    + public + + + + + + base: * + + + + source + +

    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + is_negative: * + + + + source + +

    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + limbs: * + + + + source + +

    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    Public Methods

    + +
    +

    + public + + + + + + add(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + div(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + divmod(other: *): undefined[] + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    undefined[]
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + mod(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + mul(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + opposite(): * + + + + source + +

    + + + + + + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + pow(other: *) + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + sub(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + toString(base: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    base*
    • optional
    • +
    • default: DEFAULT_DISPLAY_BASE
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +
    + + + + + + + + + + + + diff --git a/class/src/IntegerRing.js~IntegerRing.html b/class/src/IntegerRing.js~IntegerRing.html new file mode 100644 index 0000000..f50e64c --- /dev/null +++ b/class/src/IntegerRing.js~IntegerRing.html @@ -0,0 +1,1306 @@ + + + + + + IntegerRing | aureooms/js-integer API Document + + + + + + + + + + + +
    + Home + Manual + Reference + Source + Test + Repository + +
    + + + +
    +
    import {IntegerRing} from '@aureooms/js-integer/src/IntegerRing.js'
    + public + class + + + + | source +
    + +
    +

    IntegerRing

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +

    Static Method Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Static Public Methods
    + public + static + + + + +
    +

    + + + add(first: *, second: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + static + + + + +
    +

    + + + div(first: *, second: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + static + + + + +
    +

    + + + mod(first: *, second: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + static + + + + +
    +

    + + + mul(first: *, second: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + static + + + + +
    +

    + + + pow(first: *, second: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + static + + + + +
    +

    + + + sub(first: *, second: *): * +

    +
    +
    + + + +
    +
    + + +
    +
    +

    Constructor Summary

    + + + + + + + + + +
    Public Constructor
    + public + + + + + +
    +

    + + + constructor(name: *, base: *) +

    +
    +
    + + + +
    +
    + + +
    +
    +

    Member Summary

    + + + + + + + + + + + + + + +
    Public Members
    + public + + + + + +
    +

    + + + base: * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + name: * +

    +
    +
    + + + +
    +
    + + +
    +
    +

    Method Summary

    + + + + + + + + + + + + + + + + + + + +
    Public Methods
    + public + + + + + +
    +

    + + + from(object: *, base: *, is_negative: number): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + from_string(string: *, base: number, is_negative: number): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + toString(): * +

    +
    +
    + + + +
    +
    + + +
    +
    + + + + +

    Static Public Methods

    + +
    +

    + public + static + + + + + add(first: *, second: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    first*
    second*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + static + + + + + div(first: *, second: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    first*
    second*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + static + + + + + mod(first: *, second: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    first*
    second*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + static + + + + + mul(first: *, second: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    first*
    second*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + static + + + + + pow(first: *, second: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    first*
    second*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + static + + + + + sub(first: *, second: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    first*
    second*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    Public Constructors

    + +
    +

    + public + + + + + + constructor(name: *, base: *) + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    name*
    base*
    +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    Public Members

    + +
    +

    + public + + + + + + base: * + + + + source + +

    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + name: * + + + + source + +

    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    Public Methods

    + +
    +

    + public + + + + + + from(object: *, base: *, is_negative: number): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    object*
    base*
    • optional
    • +
    • default: undefined
    is_negativenumber
    • optional
    • +
    • default: 0
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + from_string(string: *, base: number, is_negative: number): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    string*
    basenumber
    • optional
    • +
    • default: 10
    is_negativenumber
    • optional
    • +
    • default: 0
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + toString(): * + + + + source + +

    + + + + + + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +
    + + + + + + + + + + + + diff --git a/coverage.json b/coverage.json index 33ac03d..f942d1b 100644 --- a/coverage.json +++ b/coverage.json @@ -1,347 +1,66 @@ { - "coverage": "50%", - "expectCount": 62, - "actualCount": 31, + "coverage": "0%", + "expectCount": 30, + "actualCount": 0, "files": { - "src/1-new/compare/_CMP.js": { - "expectCount": 1, - "actualCount": 1, - "undocumentLines": [] - }, - "src/0-legacy/others/pow/ebs.js": { - "expectCount": 1, - "actualCount": 1, - "undocumentLines": [] - }, - "src/0-legacy/others/pow/pow.js": { - "expectCount": 1, - "actualCount": 1, - "undocumentLines": [] - }, - "src/1-new/convert/_alloc.js": { - "expectCount": 1, - "actualCount": 0, - "undocumentLines": [ - 2 - ] - }, - "src/1-new/convert/_build.js": { - "expectCount": 1, - "actualCount": 0, - "undocumentLines": [ - 2 - ] - }, - "src/1-new/convert/_chr.js": { - "expectCount": 1, - "actualCount": 0, - "undocumentLines": [ - 2 - ] - }, - "src/1-new/compare/_cmp.js": { - "expectCount": 1, - "actualCount": 0, - "undocumentLines": [ - 3 - ] - }, - "src/1-new/convert/_convert.js": { - "expectCount": 1, - "actualCount": 1, - "undocumentLines": [] - }, - "src/1-new/convert/_convert_slow.js": { - "expectCount": 1, - "actualCount": 1, - "undocumentLines": [] - }, - "src/1-new/convert/_convert_to_larger.js": { - "expectCount": 1, - "actualCount": 1, - "undocumentLines": [] - }, - "src/1-new/convert/_convert_to_larger_fast.js": { - "expectCount": 1, - "actualCount": 1, - "undocumentLines": [] - }, - "src/1-new/convert/_convert_to_smaller.js": { - "expectCount": 1, - "actualCount": 1, - "undocumentLines": [] - }, - "src/1-new/convert/_convert_to_smaller_fast.js": { - "expectCount": 1, - "actualCount": 1, - "undocumentLines": [] - }, - "src/1-new/convert/_copy.js": { - "expectCount": 1, - "actualCount": 0, - "undocumentLines": [ - 2 - ] - }, - "src/1-new/arithmetic/div/_div.js": { - "expectCount": 1, - "actualCount": 1, - "undocumentLines": [] - }, - "src/1-new/compare/_eq.js": { - "expectCount": 1, - "actualCount": 0, - "undocumentLines": [ - 3 - ] - }, - "src/1-new/convert/_fill.js": { - "expectCount": 1, - "actualCount": 0, - "undocumentLines": [ - 2 - ] - }, - "src/1-new/compare/_ge.js": { - "expectCount": 1, - "actualCount": 0, - "undocumentLines": [ - 3 - ] - }, - "src/1-new/compare/_gt.js": { - "expectCount": 1, - "actualCount": 0, - "undocumentLines": [ - 3 - ] - }, - "src/1-new/convert/_int.js": { - "expectCount": 1, - "actualCount": 0, - "undocumentLines": [ - 2 - ] - }, - "src/1-new/compare/_jz.js": { - "expectCount": 1, - "actualCount": 1, - "undocumentLines": [] - }, - "src/1-new/compare/_le.js": { - "expectCount": 1, - "actualCount": 0, - "undocumentLines": [ - 3 - ] - }, - "src/1-new/convert/_log.js": { - "expectCount": 1, - "actualCount": 0, - "undocumentLines": [ - 2 - ] - }, - "src/1-new/compare/_lt.js": { - "expectCount": 1, - "actualCount": 0, - "undocumentLines": [ - 3 - ] - }, - "src/1-new/compare/_ne.js": { + "src/DEFAULT_DISPLAY_BASE.js": { "expectCount": 1, "actualCount": 0, "undocumentLines": [ - 3 + 1 ] }, - "src/1-new/convert/_reset.js": { + "src/DEFAULT_REPRESENTATION_BASE.js": { "expectCount": 1, "actualCount": 0, "undocumentLines": [ - 3 + 9 ] }, - "src/1-new/arithmetic/sub/_sub.js": { - "expectCount": 1, - "actualCount": 1, - "undocumentLines": [] - }, - "src/1-new/convert/_to_string.js": { - "expectCount": 1, - "actualCount": 0, - "undocumentLines": [ - 3 - ] - }, - "src/1-new/convert/_trim_positive.js": { - "expectCount": 1, - "actualCount": 0, - "undocumentLines": [ - 2 - ] - }, - "src/1-new/convert/_zeros.js": { - "expectCount": 1, - "actualCount": 0, - "undocumentLines": [ - 3 - ] - }, - "src/0-legacy/binary/and/and.js": { - "expectCount": 3, - "actualCount": 3, - "undocumentLines": [] - }, - "src/0-legacy/arithmetic/add/add.js": { - "expectCount": 2, - "actualCount": 2, - "undocumentLines": [] - }, - "src/0-legacy/compare/cmp.js": { - "expectCount": 2, - "actualCount": 0, - "undocumentLines": [ - 2, - 37 - ] - }, - "src/0-legacy/arithmetic/div/div.js": { - "expectCount": 1, - "actualCount": 0, - "undocumentLines": [ - 4 - ] - }, - "src/0-legacy/arithmetic/mul/karatsuba.js": { - "expectCount": 1, - "actualCount": 1, - "undocumentLines": [] - }, - "src/0-legacy/arithmetic/mul/mul53.js": { - "expectCount": 2, - "actualCount": 2, - "undocumentLines": [] - }, - "src/0-legacy/arithmetic/mul/mul.js": { - "expectCount": 1, - "actualCount": 0, - "undocumentLines": [ - 2 - ] - }, - "src/0-legacy/arithmetic/sub/sub.js": { - "expectCount": 2, - "actualCount": 2, - "undocumentLines": [] - }, - "src/1-new/convert/convert.js": { - "expectCount": 1, + "src/Integer.js": { + "expectCount": 14, "actualCount": 0, "undocumentLines": [ - 3 + 11, + 29, + 14, + 13, + 126, + 134, + 15, + 16, + 130, + 102, + 160, + 122, + 61, + 19 ] }, - "src/1-new/convert/convert_keep_zeros.js": { - "expectCount": 1, - "actualCount": 0, - "undocumentLines": [ - 3 - ] - }, - "src/0-legacy/compare/eq.js": { - "expectCount": 1, - "actualCount": 1, - "undocumentLines": [] - }, - "src/0-legacy/compare/ge.js": { - "expectCount": 1, - "actualCount": 1, - "undocumentLines": [] - }, - "src/0-legacy/compare/gt.js": { - "expectCount": 1, - "actualCount": 1, - "undocumentLines": [] - }, - "src/0-legacy/compare/le.js": { - "expectCount": 1, - "actualCount": 1, - "undocumentLines": [] - }, - "src/0-legacy/compare/lt.js": { - "expectCount": 1, - "actualCount": 1, - "undocumentLines": [] - }, - "src/0-legacy/compare/ne.js": { - "expectCount": 1, - "actualCount": 1, - "undocumentLines": [] - }, - "src/1-new/convert/parse.js": { - "expectCount": 1, - "actualCount": 0, - "undocumentLines": [ - 3 - ] - }, - "src/1-new/convert/parse_keep_zeros.js": { - "expectCount": 1, - "actualCount": 0, - "undocumentLines": [ - 3 - ] - }, - "src/0-legacy/parse/parse.js": { - "expectCount": 1, - "actualCount": 1, - "undocumentLines": [] - }, - "src/1-new/convert/stringify.js": { - "expectCount": 1, - "actualCount": 0, - "undocumentLines": [ - 3 - ] - }, - "src/1-new/convert/stringify_keep_zeros.js": { - "expectCount": 1, - "actualCount": 0, - "undocumentLines": [ - 3 - ] - }, - "src/0-legacy/stringify/stringify.js": { - "expectCount": 1, - "actualCount": 1, - "undocumentLines": [] - }, - "src/1-new/convert/trim_natural.js": { - "expectCount": 1, - "actualCount": 0, - "undocumentLines": [ - 2 - ] - }, - "src/0-legacy/others/wrap/wrapbin.js": { - "expectCount": 1, - "actualCount": 1, - "undocumentLines": [] - }, - "src/0-legacy/others/wrap/wrapcmp.js": { - "expectCount": 1, + "src/IntegerRing.js": { + "expectCount": 13, "actualCount": 0, "undocumentLines": [ - 4 + 4, + 44, + 8, + 6, + 60, + 11, + 26, + 64, + 52, + 7, + 56, + 48, + 40 ] }, - "src/0-legacy/others/wrap/wrapmov.js": { + "src/ZZ.js": { "expectCount": 1, "actualCount": 0, "undocumentLines": [ - 3 + 7 ] } } diff --git a/css/style.css b/css/style.css index baf349f..5ad3785 100644 --- a/css/style.css +++ b/css/style.css @@ -1,4 +1,5 @@ @import url(https://fonts.googleapis.com/css?family=Roboto:400,300,700); +@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,600,700); * { margin: 0; @@ -8,11 +9,12 @@ html { - font-family: 'Roboto', sans-serif; + font-family: 'Source Sans Pro', 'Roboto', sans-serif; overflow: auto; - font-size: 14px; + /*font-size: 14px;*/ /*color: #4d4e53;*/ - color: rgba(0, 0, 0, .68); + /*color: rgba(0, 0, 0, .68);*/ + color: #555; background-color: #fff; } @@ -72,11 +74,6 @@ p { line-height: 1.5; } -p > code { - background-color: #f5f5f5; - border-radius: 3px; -} - pre > code { display: block; } @@ -94,7 +91,10 @@ pre.prettyprint > code { p > code, li > code { - padding: 0 4px; + padding: 0.2em 0.5em; + margin: 0; + font-size: 85%; + background-color: rgba(0,0,0,0.04); border-radius: 3px; } @@ -122,12 +122,13 @@ li > code { position: fixed; width: 100%; z-index: 1; - background-color: white; + background-color: #fafafa; top: 0; - border-bottom: solid 1px #E02130; + border-bottom: solid 1px #ddd; } .layout-container > header > a{ margin: 0 5px; + color: #444; } .layout-container > header > a.repo-url-github { @@ -153,7 +154,7 @@ li > code { margin-top:1em; overflow-x: scroll; box-shadow: rgba(255, 255, 255, 1) -1px 0 0 inset; - border-right: 1px solid rgba(0, 0, 0, 0.1); + border-right: 1px solid #ddd; } .navigation ul { @@ -166,6 +167,10 @@ li > code { white-space: nowrap; } +.navigation li a { + color: #666; +} + .navigation .nav-dir-path { margin-top: 0.7em; margin-bottom: 0.25em; @@ -503,6 +508,15 @@ footer, .file-footer { padding-bottom: 10px; } +footer img { + width: 24px; + vertical-align: middle; + padding-left: 4px; + position: relative; + top: -3px; + opacity: 0.6; +} + pre.source-code { background: #f5f5f5; padding: 4px; @@ -634,6 +648,8 @@ table.test-summary tr.test-describe .toggle { float: left; margin-right: 4px; cursor: pointer; + font-size: 0.8em; + padding-top: 0.25em; } table.test-summary tr.test-describe .toggle.opened:before { @@ -740,83 +756,89 @@ table.test-summary .test-target > span:first-child { display: inline-block; } -/* coverage badge */ -.esdoc-coverage { - display: inline-block; - height: 20px; - vertical-align: top; +.github-markdown .manual-toc { + padding-left: 0; } -h1 .esdoc-coverage { - position: relative; - top: -4px; -} +/** manual */ -.esdoc-coverage-wrap { - color: white; - font-size: 12px; - font-weight: 500; +.manual-index .manual-cards { + display: flex; + flex-wrap: wrap; } -.esdoc-coverage-label { - padding: 3px 4px 3px 6px; - background: linear-gradient(to bottom, #5e5e5e 0%,#4c4c4c 100%); - border-radius: 4px 0 0 4px; - display: inline-block; - height: 20px; +.manual-index .manual-card-wrap { + width: 280px; + padding: 10px 20px 10px 0; box-sizing: border-box; - line-height: 14px; } -.esdoc-coverage-ratio { - padding: 3px 6px 3px 4px; - border-radius: 0 4px 4px 0; - display: inline-block; - height: 20px; - box-sizing: border-box; - line-height: 14px; +.manual-index .manual-card-wrap > h1 { + margin: 0; + font-size: 1em; + font-weight: 600; + padding: 0.2em 0 0.2em 0.5em; + border-radius: 0.1em 0.1em 0 0; + border: none; } -.esdoc-coverage-low { - background: linear-gradient(to bottom, #db654f 0%,#c9533d 100%); +.manual-index .manual-card-wrap > h1 span { + color: #555; } -.esdoc-coverage-middle { - background: linear-gradient(to bottom, #dab226 0%,#c9a179 100%); +.manual-index .manual-card { + height: 200px; + overflow: hidden; + border: solid 1px rgba(230, 230, 230, 0.84); + border-radius: 0 0 0.1em 0.1em; + padding: 8px; + position: relative; + border-top: none; } -.esdoc-coverage-high { - background: linear-gradient(to bottom, #4fc921 0%,#3eb810 100%); +.manual-index .manual-card > div { + transform: scale(0.4); + transform-origin: 0 0; + width: 250%; } -.github-markdown .manual-toc { - padding-left: 0; +.manual-index .manual-card > a { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(210, 210, 210, 0.1); } -/** manual */ - -.manual-root .navigation { - padding-left: 0; +.manual-index .manual-card > a:hover { + background: none; } -.navigation .manual-toc-title { +.manual-index .manual-badge { margin: 0; - padding: 0.5em 0 0.5em 1em; - border: none; - font-size: 1em; - font-weight: normal; } -.navigation .manual-toc-title:first-child { - margin-top: 0; +.manual-index .manual-user-index { + margin-bottom: 1em; + border-bottom: solid 1px #ddd; +} + +.manual-root .navigation { + padding-left: 4px; + margin-top: 4px; } .navigation .manual-toc { - display: none; - margin-left: 0.5em; margin-top: -0.25em; } +.navigation .manual-toc-root > div { + padding-top: 1px; + padding-left: 0.25em; + padding-right: 0.75em; +} + .github-markdown .manual-toc-title a { color: inherit; } @@ -835,36 +857,87 @@ h1 .esdoc-coverage { list-style-type: none; } +.navigation .manual-toc [class^="indent-h"] a { + color: #666; +} + +.navigation .manual-toc .indent-h1 a { + color: #555; + font-weight: 600; + display: block; +} + .manual-toc .indent-h1 { - margin-left: 0; + display: block; + margin: 1em 0 0 0.25em; + padding: 0.2em 0 0.2em 0.5em; + border-radius: 0.1em; } .manual-toc .indent-h2 { - margin-left: 1em; + display: none; + margin-left: 1.5em; } .manual-toc .indent-h3 { - margin-left: 3em; + display: none; + margin-left: 2.5em; } .manual-toc .indent-h4 { - margin-left: 4em; + display: none; + margin-left: 3.5em; } .manual-toc .indent-h5 { - margin-left: 5em; + display: none; + margin-left: 4.5em; } -.manual-nav li { - margin: 0.75em 0; +.manual-color { + position: relative; } -.manual-dot { - margin-left: 0.75em; - width: 0.6em; - height: 0.6em; - display: inline-block; - border-radius: 0.3em; - margin-right: 0.3em; +.manual-color:after { + content: attr(data-section-count); + font-size: 0.5em; + opacity: 0.5; + position: absolute; + right: 0.5em; + top: 0.5em; +} + +.manual-color-overview, +.manual-color-design { + color: #db001e; + background-color: #edbec3; +} + +.manual-color-installation, +.manual-color-tutorial, +.manual-color-usage, +.manual-color-configuration, +.manual-color-advanced { + color: #009800; background-color: #bfe5bf; } +.manual-color-example { + color: #eb6420; + background-color: #fad8c7; +} + +.manual-color-reference { + color: #6b0090; + background-color: #d6bdde; +} + +.manual-color-faq, +.manual-color-changelog { + color: #0738c3; + background-color: #bbcbea; +} + +.manual-nav li { + margin: 0.75em 0; +} + /* github markdown */ .github-markdown { font-size: 16px; @@ -937,6 +1010,13 @@ h1 .esdoc-coverage { background-color: #f8f8f8; } +.github-markdown hr { + border-right: 0; + border-bottom: 1px solid #e5e5e5; + border-left: 0; + border-top: 0; +} + /** badge(.svg) does not have border */ .github-markdown img:not([src*=".svg"]) { max-width: 100%; diff --git a/dump.json b/dump.json index 1051046..323be12 100644 --- a/dump.json +++ b/dump.json @@ -2,3575 +2,343 @@ { "__docId__": 0, "kind": "file", + "name": "src/DEFAULT_DISPLAY_BASE.js", + "content": "export const DEFAULT_DISPLAY_BASE = 10 ;\n", "static": true, - "variation": null, - "name": "src/0-legacy/abs/abs.js", - "memberof": null, - "longname": "src/0-legacy/abs/abs.js", + "longname": "src/DEFAULT_DISPLAY_BASE.js", "access": null, "description": null, - "lineNumber": 7, - "content": "/**\n * COMPUTE THE ABSOLUTE VALUE OF NUMBER n\n */\n\n// exports.abs = function abs() {};\n\n" + "lineNumber": 1 }, { "__docId__": 1, - "kind": "file", + "kind": "variable", + "name": "DEFAULT_DISPLAY_BASE", + "memberof": "src/DEFAULT_DISPLAY_BASE.js", "static": true, - "variation": null, - "name": "src/0-legacy/abs/index.js", - "memberof": null, - "longname": "src/0-legacy/abs/index.js", + "longname": "src/DEFAULT_DISPLAY_BASE.js~DEFAULT_DISPLAY_BASE", "access": null, + "export": true, + "importPath": "@aureooms/js-integer/src/DEFAULT_DISPLAY_BASE.js", + "importStyle": "{DEFAULT_DISPLAY_BASE}", "description": null, "lineNumber": 1, - "content": "export * from './abs' ;\n" + "undocument": true, + "unknown": [ + { + "tagName": "@_undocument", + "tagValue": "" + } + ], + "type": { + "types": [ + "number" + ] + } }, { "__docId__": 2, "kind": "file", + "name": "src/DEFAULT_REPRESENTATION_BASE.js", + "content": "import { DEFAULT_DISPLAY_BASE } from './' ;\n\n/*\n * Biggest power of DEFAULT_DISPLAY_BASE whose square holds in a single double\n * with full precision. For working correctly with multiplication algorithms\n * and for fast base DEFAULT_DISPLAY_BASE printing. On older machines with no\n * native doubles, it might be worth to only use ints.\n */\nexport const DEFAULT_REPRESENTATION_BASE = Math.pow(DEFAULT_DISPLAY_BASE,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(DEFAULT_DISPLAY_BASE))) ;\n", "static": true, - "variation": null, - "name": "src/0-legacy/arithmetic/add/add.js", - "memberof": null, - "longname": "src/0-legacy/arithmetic/add/add.js", + "longname": "src/DEFAULT_REPRESENTATION_BASE.js", "access": null, "description": null, - "lineNumber": 7, - "content": "\n/**\n * @param {int} r base (radix)\n */\n\n\nexport function badd_t (r) {\n\n\n\t/**\n\t * Adds two big endian arrays, k >= i >= j\n\t * wraps\n\t *\n\t * @param {array} a first operand\n\t * @param {int} i0 a left\n\t * @param {int} i1 a right\n\t * @param {array} b second operand\n\t * @param {int} j0 b left\n\t * @param {int} j1 b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} k0 c left\n\t * @param {int} k1 c right\n\t */\n\n\treturn function(a, i0, i1, b, j0, j1, c, k0, k1){\n\t\tvar t, C = 0;\n\n\t\twhile(--j1 >= j0){\n\t\t\t--i1; --k1;\n\t\t\tt = a[i1] + b[j1] + C;\n\t\t\tc[k1] = t % r;\n\t\t\tC = t / r >= 1;\n\t\t}\n\n\t\twhile(--i1 >= i0){\n\t\t\t--k1;\n\t\t\tt = a[i1] + C;\n\t\t\tc[k1] = t % r;\n\t\t\tC = t / r >= 1;\n\t\t}\n\n\t\tif(--k1 >= k0){\n\t\t\tc[k1] = +C;\n\t\t}\n\n\t};\n\n}\n\n\n/**\n * @param {int} r base (radix)\n */\n\nexport function ladd_t(r){\n\n\t/**\n\t * Adds two little endian arrays, k >= i >= j\n\t * wraps\n\t *\n\t * @param {array} a first operand\n\t * @param {int} i0 a left\n\t * @param {int} i1 a right\n\t * @param {array} b second operand\n\t * @param {int} j0 b left\n\t * @param {int} j1 b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} k0 c left\n\t * @param {int} k1 c right\n\t */\n\n\treturn function(a, i0, i1, b, j0, j1, c, k0, k1){\n\t\tvar t, C = 0;\n\n\t\twhile(j0 < j1){\n\t\t\tt = a[i0] + b[j0] + C;\n\t\t\tc[k0] = t % r;\n\t\t\tC = t / r >= 1;\n\t\t\t++i0; ++j0; ++k0;\n\t\t}\n\n\t\twhile(i0 < i1){\n\t\t\tt = a[i0] + C;\n\t\t\tc[k0] = t % r;\n\t\t\tC = t / r >= 1;\n\t\t\t++i0; ++k0;\n\t\t}\n\n\t\tif(k0 < k1){\n\t\t\tc[k0] = +C;\n\t\t}\n\n\t};\n}\n" + "lineNumber": 1 }, { "__docId__": 3, - "kind": "function", + "kind": "variable", + "name": "DEFAULT_REPRESENTATION_BASE", + "memberof": "src/DEFAULT_REPRESENTATION_BASE.js", "static": true, - "variation": null, - "name": "badd_t", - "memberof": "src/0-legacy/arithmetic/add/add.js", - "longname": "src/0-legacy/arithmetic/add/add.js~badd_t", + "longname": "src/DEFAULT_REPRESENTATION_BASE.js~DEFAULT_REPRESENTATION_BASE", "access": null, "export": true, - "importPath": "aureooms-js-integer/src/0-legacy/arithmetic/add/add.js", - "importStyle": "{badd_t}", - "description": "", - "lineNumber": 7, - "params": [ + "importPath": "@aureooms/js-integer/src/DEFAULT_REPRESENTATION_BASE.js", + "importStyle": "{DEFAULT_REPRESENTATION_BASE}", + "description": null, + "lineNumber": 9, + "undocument": true, + "unknown": [ { - "nullable": null, - "types": [ - "int" - ], - "spread": false, - "optional": false, - "name": "r", - "description": "base (radix)" + "tagName": "@_undocument", + "tagValue": "" } ], - "return": { + "type": { "types": [ "*" ] - }, - "generator": false + } }, { "__docId__": 4, - "kind": "function", - "static": true, - "variation": null, - "name": "ladd_t", - "memberof": "src/0-legacy/arithmetic/add/add.js", - "longname": "src/0-legacy/arithmetic/add/add.js~ladd_t", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/0-legacy/arithmetic/add/add.js", - "importStyle": "{ladd_t}", - "description": "", - "lineNumber": 55, - "params": [ - { - "nullable": null, - "types": [ - "int" - ], - "spread": false, - "optional": false, - "name": "r", - "description": "base (radix)" - } - ], - "return": { - "types": [ - "*" - ] - }, - "generator": false - }, - { - "__docId__": 5, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/arithmetic/add/index.js", - "memberof": null, - "longname": "src/0-legacy/arithmetic/add/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './add' ;\n" - }, - { - "__docId__": 6, "kind": "file", + "name": "src/Integer.js", + "content": "\nimport { DEFAULT_DISPLAY_BASE } from './' ;\n\nimport {\n\tstringify , convert ,\n\t_alloc , _copy , _zeros ,\n\t_lt , _jz ,\n\t_add , _sub , _mul , _div,\n} from '@aureooms/js-integer-big-endian' ;\n\nexport class Integer {\n\n\tconstructor ( base , is_negative , limbs ) {\n\t\tthis.base = base ;\n\t\tthis.is_negative = is_negative ;\n\t\tthis.limbs = limbs ;\n\t}\n\n\ttoString ( base = DEFAULT_DISPLAY_BASE ) {\n\n\t\tif ( _jz( this.limbs , 0 , this.limbs.length ) ) return '0' ;\n\n\t\tconst digits = stringify( this.base , base , this.limbs , 0 , this.limbs.length ) ;\n\n\t\treturn this.is_negative ? '-' + digits : digits ;\n\n\t}\n\n\tadd ( other ) {\n\n\t\tif ( this.is_negative !== other.is_negative ) {\n\n\t\t\tif ( other.is_negative ) return this.sub( other.opposite() ) ;\n\n\t\t\telse return other.sub( this.opposite() ) ;\n\n\t\t}\n\n\t\telse {\n\n\t\t\tconst result_is_negative = this.is_negative ;\n\t\t\tconst r = this.base ;\n\n\t\t\tconst a = this.limbs ;\n\n\t\t\tlet b ;\n\n\t\t\tif ( other.base === r ) b = other.limbs ;\n\t\t\telse b = convert( other.base , r , other.limbs , 0 , other.limbs.length ) ;\n\n\t\t\tconst c = _zeros( Math.max( a.length , b.length ) + 1 ) ;\n\n\t\t\t_add( r , a , 0 , a.length , b , 0 , b.length , c , 0 , c.length ) ;\n\n\t\t\treturn new Integer( r , result_is_negative , c ) ;\n\n\t\t}\n\n\t}\n\n\tsub ( other ) {\n\n\t\tif ( this.is_negative !== other.is_negative ) {\n\n\t\t\tif ( other.is_negative ) return this.add( other.opposite() ) ;\n\n\t\t\telse return this.opposite().add( other ).opposite() ;\n\n\t\t}\n\n\t\telse {\n\n\t\t\tconst r = this.base ;\n\t\t\tconst a = this.limbs ;\n\n\t\t\tlet b ;\n\n\t\t\tif ( other.base === r ) b = other.limbs ;\n\t\t\telse b = convert( other.base , r , other.limbs , 0 , other.limbs.length ) ;\n\n\t\t\tconst c = _zeros( Math.max( a.length , b.length ) ) ;\n\n\t\t\tif ( _lt( a , 0 , a.length , b , 0 , b.length ) ) {\n\n\t\t\t\t_sub( r , b , 0 , b.length , a , 0 , a.length , c , 0 , c.length ) ;\n\n\t\t\t\treturn new Integer( r , ~this.is_negative , c ) ;\n\t\t\t}\n\n\t\t\telse {\n\n\t\t\t\t_sub( r , a , 0 , a.length , b , 0 , b.length , c , 0 , c.length ) ;\n\n\t\t\t\treturn new Integer( r , this.is_negative , c ) ;\n\n\t\t\t}\n\n\t\t}\n\n\t}\n\n\tmul ( other ) {\n\n\t\tconst result_is_negative = this.is_negative ^ other.is_negative ;\n\t\tconst r = this.base ;\n\n\t\tconst a = this.limbs ;\n\n\t\tlet b ;\n\n\t\tif ( other.base === r ) b = other.limbs ;\n\t\telse b = convert( other.base , r , other.limbs , 0 , other.limbs.length ) ;\n\n\t\tconst c = _zeros( a.length + b.length ) ;\n\n\t\t_mul( r , a , 0 , a.length , b , 0 , b.length , c , 0 , c.length ) ;\n\n\t\treturn new Integer( r , result_is_negative , c ) ;\n\n\t}\n\n\tpow ( other ) {\n\t\tthrow 'Integer#pow not implemented yet, waiting for @aureooms/js-integer-big-endian.' ;\n\t}\n\n\tdiv ( other ) {\n\t\treturn this.divmod( other )[0] ;\n\t}\n\n\tmod ( other ) {\n\t\treturn this.divmod( other )[1] ;\n\t}\n\n\tdivmod ( other ) {\n\n\t\tconst quotient_is_negative = this.is_negative ^ other.is_negative ;\n\t\tconst r = this.base ;\n\n\t\t// Dividend (& Remainder)\n\t\tconst D = _alloc( this.limbs.length ) ;\n\t\t_copy( this.limbs , 0 , this.limbs.length , D , 0 ) ;\n\n\t\t// Divisor\n\t\tlet d ;\n\t\tif ( other.base === r ) d = other.limbs ;\n\t\telse d = convert( other.base , r , other.limbs , 0 , other.limbs.length ) ;\n\n\t\t// Quotient\n\t\tconst q = _zeros( D.length ) ;\n\n\t\t_div( r , D , 0 , D.length , d , 0 , d.length , q , 0 , q.length ) ;\n\n\t\treturn [\n\t\t\tnew Integer( r , quotient_is_negative , q ) , // quotient\n\t\t\tnew Integer( r , 0 , D ) // remainder\n\t\t] ;\n\n\t}\n\n\topposite ( ) {\n\t\treturn new Integer( this.base , ~this.is_negative , this.limbs ) ;\n\t}\n\n}\n", "static": true, - "variation": null, - "name": "src/0-legacy/arithmetic/div/dcdiv.js", - "memberof": null, - "longname": "src/0-legacy/arithmetic/div/dcdiv.js", + "longname": "src/Integer.js", "access": null, "description": null, - "lineNumber": 3, - "content": "\n// https://gmplib.org/manual/Divide-and-Conquer-Division.html\n" + "lineNumber": 1 }, { - "__docId__": 7, - "kind": "file", + "__docId__": 5, + "kind": "class", + "name": "Integer", + "memberof": "src/Integer.js", "static": true, - "variation": null, - "name": "src/0-legacy/arithmetic/div/div.js", - "memberof": null, - "longname": "src/0-legacy/arithmetic/div/div.js", + "longname": "src/Integer.js~Integer", "access": null, + "export": true, + "importPath": "@aureooms/js-integer/src/Integer.js", + "importStyle": "{Integer}", "description": null, - "lineNumber": 4, - "content": "\n\n\nexport function bdiv_t (lt, sub){\n\n\t/**\n\t * Computes quotient and remainder of two big endian arrays.\n\t *

    \n\t * Computes quotient and remainder of two big endian arrays\n\t * using long division algorithm (the one teached in\n\t * european primary schools).\n\t *\n\t * /!\\ This algorithm modifies its first operand.\n\t *\n\t * HYP : q is at least as large as r\n\t * b is not zero\n\t *\n\t * @param {array} r dividend and remainder\n\t * @param {int} ri r left\n\t * @param {int} rj r right\n\t * @param {array} b divisor\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} q quotient, must be 0 initialized\n\t * @param {int} qi q left\n\t */\n\n\t// /!\\ There are implicit hypotheses\n\t// made on the size of the operands.\n\t// Should clarify.\n\n\tvar div = function(r, ri, rj, b, bi, bj, q, qi){\n\t\tvar k, t = ri + 1;\n\n\t\tdo {\n\n\t\t\t// trim leading zeros\n\t\t\t// - maybe could try to put this procedure inside the sub loop\n\t\t\t// - or assume that the number is trimed at the begining\n\t\t\t// and put this statement at the end of the main loop\n\t\t\twhile (ri < rj && r[ri] === 0) ++ri;\n\n\t\t\t// search for a remainder block interval\n\t\t\t// greater than the divisor\n\t\t\t// - maybe could try binary search on the lt function\n\t\t\t// for another implementation\n\t\t\tk = ri + 1;\n\t\t\twhile (k <= rj && lt(r, ri, k, b, bi, bj)) ++k;\n\n\t\t\t// remainder smaller than divisor --> end\n\t\t\tif (k > rj) break;\n\n\t\t\t// divide current block interval by quotient\n\t\t\tdo{\n\n\t\t\t\t// increment quotient block corresponding\n\t\t\t\t// to current ls block of remainder interval\n\t\t\t\t++q[qi + k - t];\n\n\t\t\t\t// subtract divisor from current remainder\n\t\t\t\t// block interval\n\t\t\t\tsub(r, ri, k, b, bi, bj, r, ri, k);\n\n\t\t\t} while(!lt(r, ri, k, b, bi, bj));\n\n\n\t\t} while(true);\n\n\t};\n\n\treturn div;\n\n}\n" + "lineNumber": 11, + "undocument": true, + "unknown": [ + { + "tagName": "@_undocument", + "tagValue": "" + } + ], + "interface": false }, { - "__docId__": 8, - "kind": "function", - "static": true, - "variation": null, - "name": "bdiv_t", - "memberof": "src/0-legacy/arithmetic/div/div.js", - "longname": "src/0-legacy/arithmetic/div/div.js~bdiv_t", + "__docId__": 6, + "kind": "constructor", + "name": "constructor", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#constructor", "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/0-legacy/arithmetic/div/div.js", - "importStyle": "{bdiv_t}", "description": null, - "lineNumber": 4, + "lineNumber": 13, "undocument": true, + "unknown": [ + { + "tagName": "@_undocument", + "tagValue": "" + } + ], "params": [ { - "name": "lt", + "name": "base", + "types": [ + "*" + ] + }, + { + "name": "is_negative", "types": [ "*" ] }, { - "name": "sub", + "name": "limbs", "types": [ "*" ] } - ], - "return": { - "types": [ - "*" - ] - }, - "generator": false - }, - { - "__docId__": 9, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/arithmetic/div/fourierdiv.js", - "memberof": null, - "longname": "src/0-legacy/arithmetic/div/fourierdiv.js", - "access": null, - "description": null, - "lineNumber": 3, - "content": "\n// http://en.wikipedia.org/wiki/Fourier_division\n" - }, - { - "__docId__": 10, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/arithmetic/div/index.js", - "memberof": null, - "longname": "src/0-legacy/arithmetic/div/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './dcdiv' ;\nexport * from './div' ;\nexport * from './fourierdiv' ;\nexport * from './knuthd' ;\n" - }, - { - "__docId__": 11, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/arithmetic/div/knuthd.js", - "memberof": null, - "longname": "src/0-legacy/arithmetic/div/knuthd.js", - "access": null, - "description": null, - "lineNumber": 3, - "content": "\n// http://books.google.be/books?id=VicPJYM0I5QC&pg=PA184&lpg=PA184&dq=knuth+algorithm+d&source=bl&ots=2n-NJWuw1o&sig=47hDkFG780BqE2mmi9OMPqbK4Fs&hl=en&sa=X&ei=_ioMVKbKFMawOZT_gaAH&ved=0CDkQ6AEwAw#v=onepage&q=knuth%20algorithm%20d&f=false\n" - }, - { - "__docId__": 12, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/arithmetic/index.js", - "memberof": null, - "longname": "src/0-legacy/arithmetic/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './add' ;\nexport * from './div' ;\nexport * from './mul' ;\nexport * from './sub' ;\n" - }, - { - "__docId__": 13, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/arithmetic/mul/index.js", - "memberof": null, - "longname": "src/0-legacy/arithmetic/mul/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './karatsuba' ;\nexport * from './mul' ;\nexport * from './mul53' ;\nexport * from './toomcook' ;\n" + ] }, { - "__docId__": 14, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/arithmetic/mul/karatsuba.js", - "memberof": null, - "longname": "src/0-legacy/arithmetic/mul/karatsuba.js", + "__docId__": 7, + "kind": "member", + "name": "base", + "memberof": "src/Integer.js~Integer", + "static": false, + "longname": "src/Integer.js~Integer#base", "access": null, "description": null, - "lineNumber": 59, - "content": "/**\n * /!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n *\n *\n * @param {function} add addition algorithm\n * @param {function} sub subtraction algorithm\n * @param {function} mul multiplication algorithm\n * @param {function} copy copy algorithm\n * @param {function} calloc array allocator\n * @param {uint} r base (radix)\n *\n *\n * EXPLANATION\n * ###########\n *\n * We consider the numbers a and b, both of size N = 2n.\n *\n * We divide a and b into their lower and upper parts.\n *\n * a = a1 r^{n} + a0 (1)\n * b = b1 r^{n} + b0 (2)\n *\n * We express the product of a and b using their lower and upper parts.\n *\n * a b = (a1 r^{n} + a0) (b1 r^{n} + b0) (3)\n * = a1 b1 r^{2n} + (a1 b0 + a0 b1) r^{n} + a0 b0 (4)\n *\n * This gives us 4 multiplications with operands of size n.\n * Using a simple trick, we can reduce this computation to 3 multiplications.\n *\n * We give the 3 terms of (4) the names z0, z1 and z2.\n *\n * z2 = a1 b1\n * z1 = a1 b0 + a0 b1\n * z0 = a0 b0\n *\n * a b = z2 r^{2n} + z1 r^{n} + z0\n *\n * We then express z1 using z0, z2 and one additional multiplication.\n *\n * (a1 + a0)(b1 + b0) = a1 b1 + a0 b0 + (a1 b0 + a0 b1)\n * = z2 + z0 + z1\n *\n * z1 = (a1 + a0)(b1 + b0) - z2 - z0\n *\n * AN ANOTHER WAY AROUND (not used here)\n *\n * (a1 - a0)(b1 - b0) = (a1 b1 + a0 b0) - (a1 b0 + a0 b1)\n * (a0 - a1)(b1 - b0) = (a1 b0 + a0 b1) - (a1 b1 + a0 b0)\n * a b = (r^{2n} + r^{n})a1 b1 + r^{n}(a0 - a1)(b1 - b0) + (r^{n} + 1)a0 b0\n *\n * This algorithm is a generalization of the Toom-Cook algorithm, when m = n = 2.\n *\n * For further reference, see\n * - http://en.wikipedia.org/wiki/Karatsuba_algorithm\n * - http://en.wikipedia.org/wiki/Toom–Cook_multiplication\n */\n\nexport function bkaratsuba_t (add, sub, mul, calloc, mov, r, wrap){\n\n\t/**\n\t * Multiply two big endian arrays using karatsuba algorithm,\n\t * i >= j, k >= 2 * i\n\t *\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t */\n\n\tvar karatsuba = function(a, ai, aj, b, bi, bj, c, ci, cj){\n\n\t\tvar z0, z2, t1, t2, t3, n, I, N, N_, i_, j_, i, j, k;\n\n\t\ti = aj - ai;\n\t\tj = bj - bi;\n\t\tk = cj - ci;\n\n\t\t// EMPTY CASE\n\t\tif (i <= 0 || j <= 0 || k <= 0) return;\n\n\t\t// BASE CASE i = j = 1\n\t\tif (i === 1) {\n\n\t\t\tz0 = a[ai] * b[bi];\n\t\t\tc[cj-1] = z0 % r;\n\n\t\t\tif (k > 1) {\n\t\t\t\tc[cj-2] = (z0 - c[cj-1]) / r;\n\t\t\t}\n\n\t\t}\n\n\t\t// RECURSION\n\t\telse{\n\t\t\tn = Math.ceil(i / 2);\n\t\t\tI = i + j;\n\t\t\tN = 2 * n;\n\t\t\tN_ = I - N;\n\t\t\ti_ = aj - n;\n\t\t\tj_ = Math.max(bi, bj - n);\n\n\t\t\tt1 = calloc(n + 1); // + 1 to handle addition overflows\n\t\t\tt2 = calloc(n + 1); // and guarantee reducing k for the\n\t\t\tt3 = calloc(N + 1); // recursive calls\n\t\t\tz2 = calloc(N_);\n\t\t\tz0 = calloc(N);\n\n\t\t// RECURSIVE CALLS\n\t\t\tmul(a, ai, i_, b, bi, j_, z2, 0, N_); // z2 = a1.b1\n\t\t\tmul(a, i_, aj, b, j_, bj, z0, 0, N); // z0 = a0.b0\n\t\t\tadd(a, i_, aj, a, ai, i_, t1, 0, n + 1); // (a0 + a1)\n\t\t\tadd(b, bi, j_, b, j_, bj, t2, 0, n + 1); // (b1 + b0)\n\t\t\tmul(t1, 1, n + 1, t2, 1, n + 1, t3, 1, N + 1); // (a0 + a1)(b1 + b0)\n\n\t\t// BUILD OUTPUT\n\t\t\tmov(z2, 0, N_, c, cj - I); // + z2 . r^{2n}\n\t\t\tmov(z0, 0, N , c, cj - N); // + z0\n\n\t\t\tif (t1[0]) {\n\t\t\t\t// overflow on t1, add t2 . r^{n}\n\t\t\t\tadd(t3, 0, N + 1 - n, t2, 1, n + 1, t3, 0, N + 1 - n);\n\t\t\t}\n\n\t\t\tif (t2[0]) {\n\t\t\t\t// overflow on t2, add t1 . r^{n}\n\t\t\t\tadd(t3, 0, N + 1 - n, t1, 1, n + 1, t3, 0, N + 1 - n);\n\t\t\t}\n\n\t\t\tif (t1[0] && t2[0]) {\n\t\t\t\t// overflow on t1 and t2, add 1 . r^{n+1}\n\t\t\t\tadd(t3, 0, N - n, t1, 0, 1, t3, 0, N - n);\n\t\t\t}\n\n\t\t\tadd(c, ci, cj - n, t3, 0, N + 1, c, ci, cj - n); // + (a0 + a1)(b1 + b0) . r^{n}\n\t\t\tsub(c, ci, cj - n, z2, 0, N_, c, ci, cj - n); // - z2 . r^{n}\n\t\t\tsub(c, ci, cj - n, z0, 0, N, c, ci, cj - n); // - z1 . r^{n}\n\t\t}\n\n\t};\n\n\tif (wrap !== undefined) karatsuba = wrap(karatsuba);\n\tif (mul === undefined) mul = karatsuba;\n\n\treturn karatsuba;\n\n}\n" - }, - { - "__docId__": 15, - "kind": "function", - "static": true, - "variation": null, - "name": "bkaratsuba_t", - "memberof": "src/0-legacy/arithmetic/mul/karatsuba.js", - "longname": "src/0-legacy/arithmetic/mul/karatsuba.js~bkaratsuba_t", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/0-legacy/arithmetic/mul/karatsuba.js", - "importStyle": "{bkaratsuba_t}", - "description": "/!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)", - "lineNumber": 59, - "params": [ - { - "nullable": null, - "types": [ - "function" - ], - "spread": false, - "optional": false, - "name": "add", - "description": "addition algorithm" - }, - { - "nullable": null, - "types": [ - "function" - ], - "spread": false, - "optional": false, - "name": "sub", - "description": "subtraction algorithm" - }, - { - "nullable": null, - "types": [ - "function" - ], - "spread": false, - "optional": false, - "name": "mul", - "description": "multiplication algorithm" - }, - { - "nullable": null, - "types": [ - "function" - ], - "spread": false, - "optional": false, - "name": "copy", - "description": "copy algorithm" - }, - { - "nullable": null, - "types": [ - "function" - ], - "spread": false, - "optional": false, - "name": "calloc", - "description": "array allocator" - }, + "lineNumber": 14, + "undocument": true, + "unknown": [ { - "nullable": null, - "types": [ - "uint" - ], - "spread": false, - "optional": false, - "name": "r", - "description": "base (radix)\n\n\nEXPLANATION\n###########\n\nWe consider the numbers a and b, both of size N = 2n.\n\nWe divide a and b into their lower and upper parts.\n\na = a1 r^{n} + a0 (1)\nb = b1 r^{n} + b0 (2)\n\nWe express the product of a and b using their lower and upper parts.\n\na b = (a1 r^{n} + a0) (b1 r^{n} + b0) (3)\n = a1 b1 r^{2n} + (a1 b0 + a0 b1) r^{n} + a0 b0 (4)\n\nThis gives us 4 multiplications with operands of size n.\nUsing a simple trick, we can reduce this computation to 3 multiplications.\n\nWe give the 3 terms of (4) the names z0, z1 and z2.\n\nz2 = a1 b1\nz1 = a1 b0 + a0 b1\nz0 = a0 b0\n\na b = z2 r^{2n} + z1 r^{n} + z0\n\nWe then express z1 using z0, z2 and one additional multiplication.\n\n(a1 + a0)(b1 + b0) = a1 b1 + a0 b0 + (a1 b0 + a0 b1)\n = z2 + z0 + z1\n\nz1 = (a1 + a0)(b1 + b0) - z2 - z0\n\nAN ANOTHER WAY AROUND (not used here)\n\n(a1 - a0)(b1 - b0) = (a1 b1 + a0 b0) - (a1 b0 + a0 b1)\n(a0 - a1)(b1 - b0) = (a1 b0 + a0 b1) - (a1 b1 + a0 b0)\na b = (r^{2n} + r^{n})a1 b1 + r^{n}(a0 - a1)(b1 - b0) + (r^{n} + 1)a0 b0\n\nThis algorithm is a generalization of the Toom-Cook algorithm, when m = n = 2.\n\nFor further reference, see\n - http://en.wikipedia.org/wiki/Karatsuba_algorithm\n - http://en.wikipedia.org/wiki/Toom–Cook_multiplication" + "tagName": "@_undocument", + "tagValue": "" } ], - "return": { + "type": { "types": [ "*" ] - }, - "generator": false - }, - { - "__docId__": 16, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/arithmetic/mul/mul.js", - "memberof": null, - "longname": "src/0-legacy/arithmetic/mul/mul.js", - "access": null, - "description": null, - "lineNumber": 2, - "content": "\nexport function bmul_t (r){\n\n\t/**\n\t * Computes product of two big endian arrays.\n\t *

    \n\t * Computes product of two big endian arrays\n\t * using long multiplication algorithm (the one teached in\n\t * european primary schools)\n\t */\n\n\tvar mul = function(a, ai, aj, b, bi, bj, c, ci, cj){\n\t\tvar ak, ck = --cj, ct, t, u, v, w, y, z;\n\n\t\twhile (bj --> bi && ck >= ci) {\n\t\t\tfor (ak = aj, w = 0; ak --> ai && ck >= ci; --ck) {\n\t\t\t\tt = b[bj] * a[ak];\n\t\t\t\tu = t % r;\n\t\t\t\tv = c[ck] + u + w;\n\n\t\t\t\ty = v % r;\n\n\t\t\t\tc[ck] = y;\n\n\t\t\t\tz = (v - y) / r;\n\n\t\t\t\tfor (ct = ck - 1; z > 0 && ct >= ci; --ct) {\n\t\t\t\t\tv = c[ct] + z;\n\t\t\t\t\ty = v % r;\n\t\t\t\t\tc[ct] = y;\n\t\t\t\t\tz = (v - y) / r;\n\t\t\t\t}\n\n\t\t\t\tw = (t - u) / r;\n\t\t\t}\n\t\t\tck = --cj;\n\t\t}\n\t};\n\n\treturn mul;\n\n}\n" + } }, { - "__docId__": 17, - "kind": "function", - "static": true, - "variation": null, - "name": "bmul_t", - "memberof": "src/0-legacy/arithmetic/mul/mul.js", - "longname": "src/0-legacy/arithmetic/mul/mul.js~bmul_t", + "__docId__": 8, + "kind": "member", + "name": "is_negative", + "memberof": "src/Integer.js~Integer", + "static": false, + "longname": "src/Integer.js~Integer#is_negative", "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/0-legacy/arithmetic/mul/mul.js", - "importStyle": "{bmul_t}", "description": null, - "lineNumber": 2, + "lineNumber": 15, "undocument": true, - "params": [ + "unknown": [ { - "name": "r", - "types": [ - "*" - ] + "tagName": "@_undocument", + "tagValue": "" } ], - "return": { + "type": { "types": [ "*" ] - }, - "generator": false + } }, { - "__docId__": 18, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/arithmetic/mul/mul53.js", - "memberof": null, - "longname": "src/0-legacy/arithmetic/mul/mul53.js", + "__docId__": 9, + "kind": "member", + "name": "limbs", + "memberof": "src/Integer.js~Integer", + "static": false, + "longname": "src/Integer.js~Integer#limbs", "access": null, "description": null, - "lineNumber": 8, - "content": "/**\n * /!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n *\n * big endian 1 block multiplication\n *\n */\n\nexport function bmul53_t (r){\n\n\t/**\n\t * Multiply two blocks, result is put in a 1 or 2 blocks big endian array.\n\t * aj - ai <= 1, bj - bi <= 1, cj - ci <= 2\n\t *\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t */\n\n\tvar mul = function(a, ai, aj, b, bi, bj, c, ci, cj){\n\n\t\tvar v;\n\n\t\t// EMPTY CASE\n\t\tif (aj <= ai || bj <= bi || cj <= ci) return;\n\n\t\tv = a[ai] * b[bi];\n\t\tc[cj-1] = v % r;\n\n\t\tif (cj > ci + 1) {\n\t\t\tc[cj-2] = (v - c[cj-1]) / r;\n\t\t}\n\n\t};\n\n\treturn mul;\n\n}\n\n/**\n * /!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n *\n * little endian 1 block multiplication\n *\n */\n\nexport function lmul53_t (r){\n\n\t/**\n\t * Multiply two blocks, result is put in a 1 or 2 blocks little endian array.\n\t * aj - ai <= 1, bj - bi <= 1, cj - ci <= 2\n\t *\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t */\n\n\tvar mul = function(a, ai, aj, b, bi, bj, c, ci, cj){\n\n\t\tvar v;\n\n\t\t// EMPTY CASE\n\t\tif (aj <= ai || bj <= bi || cj <= ci) return;\n\n\t\tv = a[ai] * b[bi];\n\t\tc[ci] = v % r;\n\n\t\tif (cj > ci + 1) {\n\t\t\tc[ci+1] = (v - c[ci]) / r;\n\t\t}\n\n\t};\n\n\treturn mul;\n\n}\n" - }, - { - "__docId__": 19, - "kind": "function", - "static": true, - "variation": null, - "name": "bmul53_t", - "memberof": "src/0-legacy/arithmetic/mul/mul53.js", - "longname": "src/0-legacy/arithmetic/mul/mul53.js~bmul53_t", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/0-legacy/arithmetic/mul/mul53.js", - "importStyle": "{bmul53_t}", - "description": "/!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n\nbig endian 1 block multiplication", - "lineNumber": 8, - "params": [ + "lineNumber": 16, + "undocument": true, + "unknown": [ { - "name": "r", - "types": [ - "*" - ] + "tagName": "@_undocument", + "tagValue": "" } ], - "return": { + "type": { "types": [ "*" ] - }, - "generator": false + } }, { - "__docId__": 20, - "kind": "function", - "static": true, - "variation": null, - "name": "lmul53_t", - "memberof": "src/0-legacy/arithmetic/mul/mul53.js", - "longname": "src/0-legacy/arithmetic/mul/mul53.js~lmul53_t", + "__docId__": 10, + "kind": "method", + "name": "toString", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#toString", "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/0-legacy/arithmetic/mul/mul53.js", - "importStyle": "{lmul53_t}", - "description": "/!\\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)\n\nlittle endian 1 block multiplication", - "lineNumber": 53, + "description": null, + "lineNumber": 19, + "undocument": true, + "unknown": [ + { + "tagName": "@_undocument", + "tagValue": "" + } + ], "params": [ { - "name": "r", + "name": "base", + "optional": true, "types": [ "*" - ] + ], + "defaultRaw": "DEFAULT_DISPLAY_BASE", + "defaultValue": "DEFAULT_DISPLAY_BASE" } ], "return": { "types": [ "*" ] - }, - "generator": false - }, - { - "__docId__": 21, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/arithmetic/mul/toomcook.js", - "memberof": null, - "longname": "src/0-legacy/arithmetic/mul/toomcook.js", - "access": null, - "description": null, - "lineNumber": 3, - "content": "\n// http://en.wikipedia.org/wiki/Toom–Cook_multiplication\n" - }, - { - "__docId__": 22, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/arithmetic/sub/index.js", - "memberof": null, - "longname": "src/0-legacy/arithmetic/sub/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './sub' ;\n" + } }, { - "__docId__": 23, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/arithmetic/sub/sub.js", - "memberof": null, - "longname": "src/0-legacy/arithmetic/sub/sub.js", + "__docId__": 11, + "kind": "method", + "name": "add", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#add", "access": null, "description": null, - "lineNumber": 7, - "content": "\n/**\n * @param {int} r base (radix)\n */\n\n\nexport function bsub_t (r){\n\n\t/**\n\t * Subtracts two big endian arrays, k >= i >= j\n\t * wraps\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t */\n\n\treturn function(a, ai, aj, b, bi, bj, c, ci, cj){\n\t\tvar T, C = 0;\n\n\t\twhile(--bj >= bi){\n\t\t\t--aj; --cj;\n\t\t\tT = C;\n\t\t\tC = a[aj] < b[bj] + T;\n\t\t\tc[cj] = a[aj] - b[bj] + (C*r - T);\n\t\t}\n\n\t\twhile(--aj >= ai){\n\t\t\t--cj;\n\t\t\tT = C;\n\t\t\tC = a[aj] < T;\n\t\t\tc[cj] = a[aj] + (C*r - T);\n\t\t}\n\n\t\tif(C){\n\t\t\twhile(--cj >= ci){\n\t\t\t\tc[cj] = r - 1;\n\t\t\t}\n\t\t}\n\n\t};\n}\n\n\n/**\n * @param {int} r base (radix)\n */\nexport function lsub_t (r){\n\n\t/**\n\t * Subtracts two little endian arrays, k >= i >= j\n\t * wraps\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t * @param {array} c result, must be 0 initialized\n\t * @param {int} ci c left\n\t * @param {int} cj c right\n\t */\n\n\treturn function(a, ai, aj, b, bi, bj, c, ci, cj){\n\t\tvar T, C = 0;\n\n\t\twhile(bi < bj){\n\t\t\tT = C;\n\t\t\tC = a[ai] < b[bi] + T;\n\t\t\tc[ci] = a[ai] - b[bi] + (C*r - T);\n\t\t\t++ai; ++bi; ++ci;\n\t\t}\n\n\t\twhile(ai < aj){\n\t\t\tT = C;\n\t\t\tC = a[ai] < T;\n\t\t\tc[ci] = a[ai] + (C*r - T);\n\t\t\t++ai; ++ci;\n\t\t}\n\n\t\tif(C){\n\t\t\twhile(ci < cj){\n\t\t\t\tc[ci] = r - 1;\n\t\t\t\t++ci;\n\t\t\t}\n\t\t}\n\n\t};\n}\n" - }, - { - "__docId__": 24, - "kind": "function", - "static": true, - "variation": null, - "name": "bsub_t", - "memberof": "src/0-legacy/arithmetic/sub/sub.js", - "longname": "src/0-legacy/arithmetic/sub/sub.js~bsub_t", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/0-legacy/arithmetic/sub/sub.js", - "importStyle": "{bsub_t}", - "description": "", - "lineNumber": 7, + "lineNumber": 29, + "undocument": true, + "unknown": [ + { + "tagName": "@_undocument", + "tagValue": "" + } + ], "params": [ { - "nullable": null, + "name": "other", "types": [ - "int" - ], - "spread": false, - "optional": false, - "name": "r", - "description": "base (radix)" + "*" + ] } ], "return": { "types": [ "*" ] - }, - "generator": false + } }, { - "__docId__": 25, - "kind": "function", - "static": true, - "variation": null, - "name": "lsub_t", - "memberof": "src/0-legacy/arithmetic/sub/sub.js", - "longname": "src/0-legacy/arithmetic/sub/sub.js~lsub_t", + "__docId__": 12, + "kind": "method", + "name": "sub", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#sub", "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/0-legacy/arithmetic/sub/sub.js", - "importStyle": "{lsub_t}", - "description": "", - "lineNumber": 54, + "description": null, + "lineNumber": 61, + "undocument": true, + "unknown": [ + { + "tagName": "@_undocument", + "tagValue": "" + } + ], "params": [ { - "nullable": null, + "name": "other", "types": [ - "int" - ], - "spread": false, - "optional": false, - "name": "r", - "description": "base (radix)" + "*" + ] } ], "return": { "types": [ - "*" - ] - }, - "generator": false - }, - { - "__docId__": 26, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/binary/and/and.js", - "memberof": null, - "longname": "src/0-legacy/binary/and/and.js", - "access": null, - "description": null, - "lineNumber": 13, - "content": "\n/**\n *\n * BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| = |b| = |c| > 0\n *\n *\n */\n\nexport function and (a, a0, b, b0, c, c0, c1) {\n\n\twhile (c0 < c1) c[c0++] = a[a0++] & b[b0++];\n\n}\n\n\n/**\n * BIG ENDIAN BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| >= |b| > 0\n *\n * treats b as if it was represented with the same number of blocks as a\n */\n\nexport function band_t (r){\n\n\tvar _r = r / 2;\n\n\treturn function (a, a0, a1, b, b0, b1, c, c0, c1) {\n\n\t\tvar at = a1 - b1 + b0;\n\t\tvar ct = c0 + at - a0;\n\n\t\tif (b[b0] < _r) while (c0 < ct) c[c0++] = 0;\n\t\telse while (c0 < ct) c[c0++] = a[a0++];\n\n\t\twhile (c0 < c1) c[c0++] = a[at++] & b[b0++];\n\n\t};\n\n}\n\n\n\n\n/**\n * LITTLE ENDIAN BINARY and APPLIED ON a AND b\n *\n * Meaningful only when r is a power of 2.\n *\n * |a| >= |b| > 0\n *\n * treats b as if it was represented with the same number of blocks as a\n */\n\nexport function land_t (r){\n\n\tvar _r = r / 2;\n\n\treturn function (a, a0, a1, b, b0, b1, c, c0, c1) {\n\n\t\tvar ct = c0 + b1 - b0;\n\n\t\twhile (c0 < ct) c[c0++] = a[a0++] & b[b0++];\n\n\t\tif (b[b0 - 1] < _r) while (c0 < c1) c[c0++] = 0;\n\t\telse while (c0 < c1) c[c0++] = a[a0++];\n\n\n\t};\n\n}\n" - }, - { - "__docId__": 27, - "kind": "function", - "static": true, - "variation": null, - "name": "and", - "memberof": "src/0-legacy/binary/and/and.js", - "longname": "src/0-legacy/binary/and/and.js~and", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/0-legacy/binary/and/and.js", - "importStyle": "{and}", - "description": "\nBINARY and APPLIED ON a AND b\n\nMeaningful only when r is a power of 2.\n\n|a| = |b| = |c| > 0", - "lineNumber": 13, - "params": [ - { - "name": "a", - "types": [ - "*" - ] - }, - { - "name": "a0", - "types": [ - "*" - ] - }, - { - "name": "b", - "types": [ - "*" - ] - }, - { - "name": "b0", - "types": [ - "*" - ] - }, - { - "name": "c", - "types": [ - "*" - ] - }, - { - "name": "c0", - "types": [ - "*" - ] - }, - { - "name": "c1", - "types": [ - "*" - ] - } - ], - "generator": false - }, - { - "__docId__": 28, - "kind": "function", - "static": true, - "variation": null, - "name": "band_t", - "memberof": "src/0-legacy/binary/and/and.js", - "longname": "src/0-legacy/binary/and/and.js~band_t", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/0-legacy/binary/and/and.js", - "importStyle": "{band_t}", - "description": "BIG ENDIAN BINARY and APPLIED ON a AND b\n\nMeaningful only when r is a power of 2.\n\n|a| >= |b| > 0\n\ntreats b as if it was represented with the same number of blocks as a", - "lineNumber": 30, - "params": [ - { - "name": "r", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - }, - "generator": false - }, - { - "__docId__": 29, - "kind": "function", - "static": true, - "variation": null, - "name": "land_t", - "memberof": "src/0-legacy/binary/and/and.js", - "longname": "src/0-legacy/binary/and/and.js~land_t", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/0-legacy/binary/and/and.js", - "importStyle": "{land_t}", - "description": "LITTLE ENDIAN BINARY and APPLIED ON a AND b\n\nMeaningful only when r is a power of 2.\n\n|a| >= |b| > 0\n\ntreats b as if it was represented with the same number of blocks as a", - "lineNumber": 61, - "params": [ - { - "name": "r", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - }, - "generator": false - }, - { - "__docId__": 30, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/binary/and/index.js", - "memberof": null, - "longname": "src/0-legacy/binary/and/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './and' ;\n" - }, - { - "__docId__": 31, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/binary/index.js", - "memberof": null, - "longname": "src/0-legacy/binary/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './and' ;\nexport * from './not' ;\nexport * from './or' ;\nexport * from './xor' ;\n" - }, - { - "__docId__": 32, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/binary/not/index.js", - "memberof": null, - "longname": "src/0-legacy/binary/not/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './not' ;\n" - }, - { - "__docId__": 33, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/binary/not/not.js", - "memberof": null, - "longname": "src/0-legacy/binary/not/not.js", - "access": null, - "description": null, - "lineNumber": 3, - "content": "/**\n * BINARY not APPLIED ON a\n */" - }, - { - "__docId__": 34, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/binary/or/index.js", - "memberof": null, - "longname": "src/0-legacy/binary/or/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './or' ;\n" - }, - { - "__docId__": 35, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/binary/or/or.js", - "memberof": null, - "longname": "src/0-legacy/binary/or/or.js", - "access": null, - "description": null, - "lineNumber": 3, - "content": "/**\n * BINARY or APPLIED ON a AND b\n */" - }, - { - "__docId__": 36, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/binary/xor/index.js", - "memberof": null, - "longname": "src/0-legacy/binary/xor/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './xor' ;\n" - }, - { - "__docId__": 37, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/binary/xor/xor.js", - "memberof": null, - "longname": "src/0-legacy/binary/xor/xor.js", - "access": null, - "description": null, - "lineNumber": 3, - "content": "/**\n * BINARY xor APPLIED ON a AND b\n */" - }, - { - "__docId__": 38, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/compare/cmp.js", - "memberof": null, - "longname": "src/0-legacy/compare/cmp.js", - "access": null, - "description": null, - "lineNumber": 2, - "content": "\nexport function bcmp_t ( ) {\n\n\n\t/**\n\t * Compares two big endian arrays, |a| >= |b|\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t *\n\t * @return {int} 1 if a > b; 0 if a = b; -1 otherwise.\n\t */\n\n\treturn function(a, ai, aj, b, bi, bj){\n\n\t\tvar tmp = aj - bj + bi;\n\n\t\tfor (; ai < tmp; ++ai)\n\t\t\tif (a[ai] > 0) return 1;\n\n\n\t\t// same size aj - ai === bj - bi\n\t\tfor (; ai < aj; ++ai, ++bi) {\n\t\t\tif (a[ai] > b[bi]) return 1;\n\t\t\tif (a[ai] < b[bi]) return -1;\n\t\t}\n\n\t\treturn 0;\n\t};\n\n}\n\nexport function lcmp_t ( ) {\n\n\t/**\n\t * Compares two little endian arrays, |a| >= |b|\n\t *\n\t * @param {array} a first operand\n\t * @param {int} ai a left\n\t * @param {int} aj a right\n\t * @param {array} b second operand\n\t * @param {int} bi b left\n\t * @param {int} bj b right\n\t *\n\t * @return {int} 1 if a > b; 0 if a = b; -1 otherwise.\n\t */\n\n\treturn function(a, ai, aj, b, bi, bj){\n\n\t\tvar tmp = ai + bj - bi;\n\n\t\t--aj; --bj;\n\n\t\tfor (; aj >= tmp; --aj)\n\t\t\tif (a[aj] > 0) return 1;\n\n\n\t\t// same size aj - ai === bj - bi\n\t\tfor (; aj >= ai; --aj, --bj) {\n\t\t\tif (a[aj] > b[bj]) return 1;\n\t\t\tif (a[aj] < b[bj]) return -1;\n\t\t}\n\n\t\treturn 0;\n\t};\n}\n" - }, - { - "__docId__": 39, - "kind": "function", - "static": true, - "variation": null, - "name": "bcmp_t", - "memberof": "src/0-legacy/compare/cmp.js", - "longname": "src/0-legacy/compare/cmp.js~bcmp_t", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/0-legacy/compare/cmp.js", - "importStyle": "{bcmp_t}", - "description": null, - "lineNumber": 2, - "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - }, - "generator": false - }, - { - "__docId__": 40, - "kind": "function", - "static": true, - "variation": null, - "name": "lcmp_t", - "memberof": "src/0-legacy/compare/cmp.js", - "longname": "src/0-legacy/compare/cmp.js~lcmp_t", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/0-legacy/compare/cmp.js", - "importStyle": "{lcmp_t}", - "description": null, - "lineNumber": 37, - "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - }, - "generator": false - }, - { - "__docId__": 41, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/compare/eq.js", - "memberof": null, - "longname": "src/0-legacy/compare/eq.js", - "access": null, - "description": null, - "lineNumber": 6, - "content": "/**\n * Wrapper for a comparison operator that returns true iff\n * _a_ is equal to _b_.\n */\n\nexport function eq_t (cmp){\n\treturn function (a, ai, aj, b, bi, bj) {\n\t\treturn cmp(a, ai, aj, b, bi, bj) === 0;\n\t};\n}\n" - }, - { - "__docId__": 42, - "kind": "function", - "static": true, - "variation": null, - "name": "eq_t", - "memberof": "src/0-legacy/compare/eq.js", - "longname": "src/0-legacy/compare/eq.js~eq_t", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/0-legacy/compare/eq.js", - "importStyle": "{eq_t}", - "description": "Wrapper for a comparison operator that returns true iff\n_a_ is equal to _b_.", - "lineNumber": 6, - "params": [ - { - "name": "cmp", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - }, - "generator": false - }, - { - "__docId__": 43, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/compare/ge.js", - "memberof": null, - "longname": "src/0-legacy/compare/ge.js", - "access": null, - "description": null, - "lineNumber": 8, - "content": "\n\n/**\n * Wrapper for a comparison operator that returns true iff\n * _a_ is greater or equal to _b_.\n */\n\nexport function ge_t (cmp){\n\treturn function (a, ai, aj, b, bi, bj) {\n\t\treturn cmp(a, ai, aj, b, bi, bj) >= 0;\n\t};\n}\n" - }, - { - "__docId__": 44, - "kind": "function", - "static": true, - "variation": null, - "name": "ge_t", - "memberof": "src/0-legacy/compare/ge.js", - "longname": "src/0-legacy/compare/ge.js~ge_t", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/0-legacy/compare/ge.js", - "importStyle": "{ge_t}", - "description": "Wrapper for a comparison operator that returns true iff\n_a_ is greater or equal to _b_.", - "lineNumber": 8, - "params": [ - { - "name": "cmp", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - }, - "generator": false - }, - { - "__docId__": 45, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/compare/gt.js", - "memberof": null, - "longname": "src/0-legacy/compare/gt.js", - "access": null, - "description": null, - "lineNumber": 8, - "content": "\n\n/**\n * Wrapper for a comparison operator that returns true iff\n * _a_ is greater than _b_.\n */\n\nexport function gt_t (cmp){\n\treturn function (a, ai, aj, b, bi, bj) {\n\t\treturn cmp(a, ai, aj, b, bi, bj) > 0;\n\t};\n}\n" - }, - { - "__docId__": 46, - "kind": "function", - "static": true, - "variation": null, - "name": "gt_t", - "memberof": "src/0-legacy/compare/gt.js", - "longname": "src/0-legacy/compare/gt.js~gt_t", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/0-legacy/compare/gt.js", - "importStyle": "{gt_t}", - "description": "Wrapper for a comparison operator that returns true iff\n_a_ is greater than _b_.", - "lineNumber": 8, - "params": [ - { - "name": "cmp", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - }, - "generator": false - }, - { - "__docId__": 47, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/compare/index.js", - "memberof": null, - "longname": "src/0-legacy/compare/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './cmp' ;\nexport * from './eq' ;\nexport * from './ge' ;\nexport * from './gt' ;\nexport * from './le' ;\nexport * from './lt' ;\nexport * from './ne' ;\n" - }, - { - "__docId__": 48, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/compare/le.js", - "memberof": null, - "longname": "src/0-legacy/compare/le.js", - "access": null, - "description": null, - "lineNumber": 8, - "content": "\n\n/**\n * Wrapper for a comparison operator that returns true iff\n * _a_ is less or equal to _b_.\n */\n\nexport function le_t (cmp){\n\treturn function (a, ai, aj, b, bi, bj) {\n\t\treturn cmp(a, ai, aj, b, bi, bj) <= 0;\n\t};\n}\n" - }, - { - "__docId__": 49, - "kind": "function", - "static": true, - "variation": null, - "name": "le_t", - "memberof": "src/0-legacy/compare/le.js", - "longname": "src/0-legacy/compare/le.js~le_t", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/0-legacy/compare/le.js", - "importStyle": "{le_t}", - "description": "Wrapper for a comparison operator that returns true iff\n_a_ is less or equal to _b_.", - "lineNumber": 8, - "params": [ - { - "name": "cmp", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - }, - "generator": false - }, - { - "__docId__": 50, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/compare/lt.js", - "memberof": null, - "longname": "src/0-legacy/compare/lt.js", - "access": null, - "description": null, - "lineNumber": 8, - "content": "\n\n/**\n * Wrapper for a comparison operator that returns true iff\n * _a_ is less than _b_.\n */\n\nexport function lt_t (cmp){\n\treturn function (a, ai, aj, b, bi, bj) {\n\t\treturn cmp(a, ai, aj, b, bi, bj) < 0;\n\t};\n}\n" - }, - { - "__docId__": 51, - "kind": "function", - "static": true, - "variation": null, - "name": "lt_t", - "memberof": "src/0-legacy/compare/lt.js", - "longname": "src/0-legacy/compare/lt.js~lt_t", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/0-legacy/compare/lt.js", - "importStyle": "{lt_t}", - "description": "Wrapper for a comparison operator that returns true iff\n_a_ is less than _b_.", - "lineNumber": 8, - "params": [ - { - "name": "cmp", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - }, - "generator": false - }, - { - "__docId__": 52, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/compare/ne.js", - "memberof": null, - "longname": "src/0-legacy/compare/ne.js", - "access": null, - "description": null, - "lineNumber": 8, - "content": "\n\n/**\n * Wrapper for a comparison operator that returns true iff\n * _a_ is not equal to _b_.\n */\n\nexport function ne_t (cmp){\n\treturn function (a, ai, aj, b, bi, bj) {\n\t\treturn cmp(a, ai, aj, b, bi, bj) !== 0;\n\t};\n}\n" - }, - { - "__docId__": 53, - "kind": "function", - "static": true, - "variation": null, - "name": "ne_t", - "memberof": "src/0-legacy/compare/ne.js", - "longname": "src/0-legacy/compare/ne.js~ne_t", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/0-legacy/compare/ne.js", - "importStyle": "{ne_t}", - "description": "Wrapper for a comparison operator that returns true iff\n_a_ is not equal to _b_.", - "lineNumber": 8, - "params": [ - { - "name": "cmp", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - }, - "generator": false - }, - { - "__docId__": 54, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/index.js", - "memberof": null, - "longname": "src/0-legacy/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './abs' ;\nexport * from './arithmetic' ;\nexport * from './binary' ;\nexport * from './compare' ;\nexport * from './others' ;\nexport * from './parse' ;\nexport * from './stringify' ;\n" - }, - { - "__docId__": 55, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/others/gcd/gcd.js", - "memberof": null, - "longname": "src/0-legacy/others/gcd/gcd.js", - "access": null, - "description": null, - "lineNumber": 3, - "content": "/**\n * COMPUTE THE GREATEST COMMON DIVISOR OF a AND b\n */" - }, - { - "__docId__": 56, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/others/gcd/index.js", - "memberof": null, - "longname": "src/0-legacy/others/gcd/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './gcd' ;\n" - }, - { - "__docId__": 57, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/others/index.js", - "memberof": null, - "longname": "src/0-legacy/others/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './gcd' ;\nexport * from './lcm' ;\nexport * from './log' ;\nexport * from './mod' ;\nexport * from './mpow' ;\nexport * from './neg' ;\nexport * from './pow' ;\nexport * from './sha' ;\nexport * from './shl' ;\nexport * from './wrap' ;\n" - }, - { - "__docId__": 58, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/others/lcm/index.js", - "memberof": null, - "longname": "src/0-legacy/others/lcm/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './lcm' ;\n" - }, - { - "__docId__": 59, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/others/lcm/lcm.js", - "memberof": null, - "longname": "src/0-legacy/others/lcm/lcm.js", - "access": null, - "description": null, - "lineNumber": 3, - "content": "/**\n * COMPUTE THE LEAST COMMON MULTIPLE OF a AND b\n */" - }, - { - "__docId__": 60, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/others/log/index.js", - "memberof": null, - "longname": "src/0-legacy/others/log/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './log' ;\n" - }, - { - "__docId__": 61, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/others/log/log.js", - "memberof": null, - "longname": "src/0-legacy/others/log/log.js", - "access": null, - "description": null, - "lineNumber": 4, - "content": "\n/**\n * FOR A NUMBER n COMPUTE THE GREATEST k SUCH THAT 2^k < n\n */" - }, - { - "__docId__": 62, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/others/mod/index.js", - "memberof": null, - "longname": "src/0-legacy/others/mod/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './mod' ;\nexport * from './montgomery' ;\n" - }, - { - "__docId__": 63, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/others/mod/mod.js", - "memberof": null, - "longname": "src/0-legacy/others/mod/mod.js", - "access": null, - "description": null, - "lineNumber": 4, - "content": "\n/**\n * COMPUTE MODULUS (a % b)\n */" - }, - { - "__docId__": 64, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/others/mod/montgomery.js", - "memberof": null, - "longname": "src/0-legacy/others/mod/montgomery.js", - "access": null, - "description": null, - "lineNumber": 4, - "content": "\n/**\n * COMPUTE MODULUS USING MONTGOMERY REDUCTION : http://en.wikipedia.org/wiki/Montgomery_reduction\n */" - }, - { - "__docId__": 65, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/others/mpow/index.js", - "memberof": null, - "longname": "src/0-legacy/others/mpow/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './mpow' ;\n" - }, - { - "__docId__": 66, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/others/mpow/mpow.js", - "memberof": null, - "longname": "src/0-legacy/others/mpow/mpow.js", - "access": null, - "description": null, - "lineNumber": 3, - "content": "/**\n * MODULAR EXPONENTIATION : http://en.wikipedia.org/wiki/Modular_exponentiation\n */" - }, - { - "__docId__": 67, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/others/neg/index.js", - "memberof": null, - "longname": "src/0-legacy/others/neg/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './neg' ;\n" - }, - { - "__docId__": 68, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/others/neg/neg.js", - "memberof": null, - "longname": "src/0-legacy/others/neg/neg.js", - "access": null, - "description": null, - "lineNumber": 3, - "content": "/**\n * COMPUTE THE NEGATIVE VALUE OF NUMBER n\n */" - }, - { - "__docId__": 69, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/others/pow/ebs.js", - "memberof": null, - "longname": "src/0-legacy/others/pow/ebs.js", - "access": null, - "description": null, - "lineNumber": 8, - "content": "/**\n * Computes pow(a, b) using exponentiation by squaring.\n *\n * *could add an additional base case for b = 1*\n *\n */\n\nexport function __ebs__ (alloc, iszero, setone, iseven, div2, minus1) {\n\n\tvar ebs = function (a, ai, aj, b, bi, bj, c, ci, cj) {\n\n\t\tvar t, u, m, n;\n\n\t\tif ( iszero(b, bi, bj) ) {\n\t\t\tsetone(c, ci, cj);\n\t\t}\n\t\telse if ( iseven(b, bi, bj) ) {\n\t\t\tm = bj - bi;\n\t\t\tt = alloc(m);\n\t\t\tt = div2(b, bi, bj, t, 0, m);\n\n\t\t\tn = cj - ci;\n\t\t\tu = alloc(n);\n\n\t\t\tebs(a, ai, aj, t, 0, m, u, 0, n);\n\n\t\t\tmul(u, 0, n, u, 0, n, c, ci, cj);\n\t\t}\n\t\telse{\n\t\t\tm = bj - bi;\n\t\t\tt = alloc(m);\n\t\t\tt = minus1(b, bi, bj, t, 0, m);\n\n\t\t\tn = cj - ci;\n\t\t\tu = alloc(n);\n\n\t\t\tebs(a, ai, aj, t, 0, m, u, 0, n);\n\n\t\t\tmul(a, ai, aj, u, 0, n, c, ci, cj);\n\t\t}\n\t};\n}\n" - }, - { - "__docId__": 70, - "kind": "function", - "static": true, - "variation": null, - "name": "__ebs__", - "memberof": "src/0-legacy/others/pow/ebs.js", - "longname": "src/0-legacy/others/pow/ebs.js~__ebs__", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/0-legacy/others/pow/ebs.js", - "importStyle": "{__ebs__}", - "description": "Computes pow(a, b) using exponentiation by squaring.\n\n*could add an additional base case for b = 1*", - "lineNumber": 8, - "params": [ - { - "name": "alloc", - "types": [ - "*" - ] - }, - { - "name": "iszero", - "types": [ - "*" - ] - }, - { - "name": "setone", - "types": [ - "*" - ] - }, - { - "name": "iseven", - "types": [ - "*" - ] - }, - { - "name": "div2", - "types": [ - "*" - ] - }, - { - "name": "minus1", - "types": [ - "*" - ] - } - ], - "generator": false - }, - { - "__docId__": 71, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/others/pow/index.js", - "memberof": null, - "longname": "src/0-legacy/others/pow/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './ebs' ;\nexport * from './pow' ;\n" - }, - { - "__docId__": 72, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/others/pow/pow.js", - "memberof": null, - "longname": "src/0-legacy/others/pow/pow.js", - "access": null, - "description": null, - "lineNumber": 6, - "content": "/**\n * Computes pow(a, b) using naive exponentiation.\n *\n */\n\nexport function __pow__ (alloc, isnotzero, setone, iseven, div2, minus1) {\n\n\tvar pow = function (a, ai, aj, b, bi, bj, c, ci, cj) {\n\n\t\tvar t, m;\n\n\t\tsetone(c, ci, cj);\n\n\t\twhile (isnotzero(b, bi, bj)) {\n\n\t\t\tmul(c, ci, cj, a, ai, aj, c, ci, cj);\n\n\t\t\tminus1(b, bi, bj, b, bi, bj);\n\t\t}\n\n\t};\n}\n" - }, - { - "__docId__": 73, - "kind": "function", - "static": true, - "variation": null, - "name": "__pow__", - "memberof": "src/0-legacy/others/pow/pow.js", - "longname": "src/0-legacy/others/pow/pow.js~__pow__", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/0-legacy/others/pow/pow.js", - "importStyle": "{__pow__}", - "description": "Computes pow(a, b) using naive exponentiation.", - "lineNumber": 6, - "params": [ - { - "name": "alloc", - "types": [ - "*" - ] - }, - { - "name": "isnotzero", - "types": [ - "*" - ] - }, - { - "name": "setone", - "types": [ - "*" - ] - }, - { - "name": "iseven", - "types": [ - "*" - ] - }, - { - "name": "div2", - "types": [ - "*" - ] - }, - { - "name": "minus1", - "types": [ - "*" - ] - } - ], - "generator": false - }, - { - "__docId__": 74, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/others/sha/index.js", - "memberof": null, - "longname": "src/0-legacy/others/sha/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './sha' ;\n" - }, - { - "__docId__": 75, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/others/sha/sha.js", - "memberof": null, - "longname": "src/0-legacy/others/sha/sha.js", - "access": null, - "description": null, - "lineNumber": 3, - "content": "/**\n * ARITHMETIC SHIFT\n */" - }, - { - "__docId__": 76, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/others/shl/index.js", - "memberof": null, - "longname": "src/0-legacy/others/shl/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './shl' ;\n" - }, - { - "__docId__": 77, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/others/shl/shl.js", - "memberof": null, - "longname": "src/0-legacy/others/shl/shl.js", - "access": null, - "description": null, - "lineNumber": 3, - "content": "/**\n * LOGICAL SHIFT\n */" - }, - { - "__docId__": 78, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/others/wrap/index.js", - "memberof": null, - "longname": "src/0-legacy/others/wrap/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './wrapbin' ;\nexport * from './wrapcmp' ;\nexport * from './wrapmov' ;\n" - }, - { - "__docId__": 79, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/others/wrap/wrapbin.js", - "memberof": null, - "longname": "src/0-legacy/others/wrap/wrapbin.js", - "access": null, - "description": null, - "lineNumber": 10, - "content": "/**\n * Wrapper for binary operator.\n * Ensures\n *\n * i >= j\n * i0, j0, k0 >= 0\n *\n */\n\nexport function wrapbin (fn){\n\n\treturn function(a, i0, i1, b, j0, j1, c, k0, k1){\n\n\t\tvar i, j, k;\n\n\t\tk0 = Math.max(0, k0);\n\t\tk = k1 - k0;\n\n\t\ti0 = Math.max(0, i0, i1 - k);\n\t\tj0 = Math.max(0, j0, j1 - k);\n\t\ti = i1 - i0;\n\t\tj = j1 - j0;\n\n\t\tif(i < j)\n\t\treturn fn(b, j0, j1, a, i0, i1, c, k0, k1);\n\n\t\telse\n\t\treturn fn(a, i0, i1, b, j0, j1, c, k0, k1);\n\t};\n}\n" - }, - { - "__docId__": 80, - "kind": "function", - "static": true, - "variation": null, - "name": "wrapbin", - "memberof": "src/0-legacy/others/wrap/wrapbin.js", - "longname": "src/0-legacy/others/wrap/wrapbin.js~wrapbin", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/0-legacy/others/wrap/wrapbin.js", - "importStyle": "{wrapbin}", - "description": "Wrapper for binary operator.\nEnsures\n\n i >= j\n i0, j0, k0 >= 0", - "lineNumber": 10, - "params": [ - { - "name": "fn", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - }, - "generator": false - }, - { - "__docId__": 81, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/others/wrap/wrapcmp.js", - "memberof": null, - "longname": "src/0-legacy/others/wrap/wrapcmp.js", - "access": null, - "description": null, - "lineNumber": 4, - "content": "\n\n\nexport function wrapcmp (cmp) {\n\n\n\treturn function(a, ai, aj, b, bi, bj){\n\n\t\tif (aj - ai + bi - bj < 0) {\n\t\t\treturn - cmp(b, bi, bj, a, ai, aj);\n\t\t}\n\t\telse {\n\t\t\treturn cmp(a, ai, aj, b, bi, bj);\n\t\t}\n\n\t};\n\n}\n" - }, - { - "__docId__": 82, - "kind": "function", - "static": true, - "variation": null, - "name": "wrapcmp", - "memberof": "src/0-legacy/others/wrap/wrapcmp.js", - "longname": "src/0-legacy/others/wrap/wrapcmp.js~wrapcmp", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/0-legacy/others/wrap/wrapcmp.js", - "importStyle": "{wrapcmp}", - "description": null, - "lineNumber": 4, - "undocument": true, - "params": [ - { - "name": "cmp", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - }, - "generator": false - }, - { - "__docId__": 83, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/others/wrap/wrapmov.js", - "memberof": null, - "longname": "src/0-legacy/others/wrap/wrapmov.js", - "access": null, - "description": null, - "lineNumber": 3, - "content": "\n\nexport function wrapmov (fn){\n\treturn function(a, i, j, b, k){\n\n\t\tif(i < 0){\n\t\t\tk -= i;\n\t\t\ti = 0;\n\t\t}\n\t\tif(k < 0){\n\t\t\ti -= k;\n\t\t\tk = 0;\n\t\t}\n\t\treturn fn(a, i, j, b, k);\n\n\t};\n}\n" - }, - { - "__docId__": 84, - "kind": "function", - "static": true, - "variation": null, - "name": "wrapmov", - "memberof": "src/0-legacy/others/wrap/wrapmov.js", - "longname": "src/0-legacy/others/wrap/wrapmov.js~wrapmov", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/0-legacy/others/wrap/wrapmov.js", - "importStyle": "{wrapmov}", - "description": null, - "lineNumber": 3, - "undocument": true, - "params": [ - { - "name": "fn", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - }, - "generator": false - }, - { - "__docId__": 85, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/parse/index.js", - "memberof": null, - "longname": "src/0-legacy/parse/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './parse' ;\n" - }, - { - "__docId__": 86, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/parse/parse.js", - "memberof": null, - "longname": "src/0-legacy/parse/parse.js", - "access": null, - "description": null, - "lineNumber": 13, - "content": "\n/**\n * Function template for number parsing.\n * Endianess provided by the iterator function\n * iterator function must be reverse ordered\n *\n * @param {int} f from radix\n * @param {int} t to radix\n * @param {function} iter iterator function\n */\n\n\nexport function parse_t ( t , f , iter ) {\n\n\tif(t >= f){\n\n\t\tif(f > 36) throw 'f > 36 not implemented';\n\n\t\tvar z = 0, log = t;\n\t\twhile(log >= f){\n\t\t\tif (log % f) break;\n\t\t\tlog /= f;\n\t\t\t++z;\n\t\t}\n\n\t\tif (log !== 1) throw 'log(f) does not divide log(t) not implemented';\n\n\t\t// immediate log(t) divides log(f)\n\t\treturn function(s, si, sj, a, ai, aj){\n\t\t\tvar len = sj - si, k = sj - z, n = Math.ceil(len / z);\n\t\t\tvar block = function(i){\n\t\t\t\ta[i] = parseInt(s.slice(Math.max(0, k), k + z), f);\n\t\t\t\tk -= z;\n\t\t\t};\n\n\t\t\titer(aj - n, aj, block);\n\n\t\t};\n\n\t}\n\telse throw 'f > t not implemented';\n\n\n}\n" - }, - { - "__docId__": 87, - "kind": "function", - "static": true, - "variation": null, - "name": "parse_t", - "memberof": "src/0-legacy/parse/parse.js", - "longname": "src/0-legacy/parse/parse.js~parse_t", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/0-legacy/parse/parse.js", - "importStyle": "{parse_t}", - "description": "Function template for number parsing.\nEndianess provided by the iterator function\niterator function must be reverse ordered", - "lineNumber": 13, - "params": [ - { - "nullable": null, - "types": [ - "int" - ], - "spread": false, - "optional": false, - "name": "f", - "description": "from radix" - }, - { - "nullable": null, - "types": [ - "int" - ], - "spread": false, - "optional": false, - "name": "t", - "description": "to radix" - }, - { - "nullable": null, - "types": [ - "function" - ], - "spread": false, - "optional": false, - "name": "iter", - "description": "iterator function" - } - ], - "return": { - "types": [ - "*" - ] - }, - "generator": false - }, - { - "__docId__": 88, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/stringify/index.js", - "memberof": null, - "longname": "src/0-legacy/stringify/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './stringify' ;\n" - }, - { - "__docId__": 89, - "kind": "file", - "static": true, - "variation": null, - "name": "src/0-legacy/stringify/stringify.js", - "memberof": null, - "longname": "src/0-legacy/stringify/stringify.js", - "access": null, - "description": null, - "lineNumber": 12, - "content": "\n/**\n * Function template for number stringification.\n * Endianess provided by the iterator function\n *\n * @param {int} f from radix\n * @param {int} t to radix\n * @param {function} iter iterator function\n */\n\n\nexport function stringify_t (f, t, iter, zfill_t){\n\n\tif(t <= f){\n\n\t\tif(t > 36) throw 't > 36 not implemented';\n\n\t\tvar z = 0;\n\t\twhile(f >= t){\n\t\t\tif(f % t) break;\n\t\t\tf /= t;\n\t\t\t++z;\n\t\t}\n\n\t\tif(f !== 1) throw 'log(t) does not divide log(f) not implemented';\n\n\t\tvar zfill = zfill_t(z);\n\n\t\treturn function(a, i0, i1){\n\t\t\tvar s = [];\n\t\t\titer(i0, i1, function(i){\n\t\t\t\ts.push(zfill(Number(+a[i]).toString(t)));\n\t\t\t});\n\t\t\treturn s.join('');\n\t\t};\n\n\t}\n\telse throw 't > f not implemented';\n\n}\n" - }, - { - "__docId__": 90, - "kind": "function", - "static": true, - "variation": null, - "name": "stringify_t", - "memberof": "src/0-legacy/stringify/stringify.js", - "longname": "src/0-legacy/stringify/stringify.js~stringify_t", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/0-legacy/stringify/stringify.js", - "importStyle": "{stringify_t}", - "description": "Function template for number stringification.\nEndianess provided by the iterator function", - "lineNumber": 12, - "params": [ - { - "nullable": null, - "types": [ - "int" - ], - "spread": false, - "optional": false, - "name": "f", - "description": "from radix" - }, - { - "nullable": null, - "types": [ - "int" - ], - "spread": false, - "optional": false, - "name": "t", - "description": "to radix" - }, - { - "nullable": null, - "types": [ - "function" - ], - "spread": false, - "optional": false, - "name": "iter", - "description": "iterator function" - } - ], - "return": { - "types": [ - "*" - ] - }, - "generator": false - }, - { - "__docId__": 91, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/arithmetic/div/_div.js", - "memberof": null, - "longname": "src/1-new/arithmetic/div/_div.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "import { _sub } from '../sub' ;\nimport { _lt } from '../../compare' ;\n\n/**\n * Computes quotient and remainder of two big endian arrays.\n *

    \n * Computes quotient and remainder of two big endian arrays\n * using long division algorithm (the one teached in\n * european primary schools).\n *\n * /!\\ This algorithm modifies its first operand.\n *\n * HYP : q is at least as large as r\n * b is not zero\n *\n * @param {int} x the radix\n * @param {array} r dividend and remainder\n * @param {int} ri r left\n * @param {int} rj r right\n * @param {array} b divisor\n * @param {int} bi b left\n * @param {int} bj b right\n * @param {array} q quotient, must be 0 initialized\n * @param {int} qi q left\n */\n\n// /!\\ There are implicit hypotheses\n// made on the size of the operands.\n// Should clarify.\n\nexport function _div ( x , r , ri , rj , b , bi , bj , q , qi ) {\n\n\tvar k, t = ri + 1;\n\n\tdo {\n\n\t\t// trim leading zeros\n\t\t// - maybe could try to put this procedure inside the _sub loop\n\t\t// - or assume that the number is trimed at the begining\n\t\t// and put this statement at the end of the main loop\n\t\twhile (ri < rj && r[ri] === 0) ++ri;\n\n\t\t// search for a remainder block interval\n\t\t// greater than the divisor\n\t\t// - maybe could try binary search on the _lt function\n\t\t// for another implementation\n\t\tk = ri + 1;\n\t\twhile (k <= rj && _lt(r, ri, k, b, bi, bj)) ++k;\n\n\t\t// remainder smaller than divisor --> end\n\t\tif (k > rj) break;\n\n\t\t// divide current block interval by quotient\n\t\tdo{\n\n\t\t\t// increment quotient block corresponding\n\t\t\t// to current ls block of remainder interval\n\t\t\t++q[qi + k - t];\n\n\t\t\t// subtract divisor from current remainder\n\t\t\t// block interval\n\t\t\t_sub(x, r, ri, k, b, bi, bj, r, ri, k);\n\n\t\t} while(!_lt(r, ri, k, b, bi, bj));\n\n\n\t} while(true);\n\n}\n" - }, - { - "__docId__": 92, - "kind": "function", - "static": true, - "variation": null, - "name": "_div", - "memberof": "src/1-new/arithmetic/div/_div.js", - "longname": "src/1-new/arithmetic/div/_div.js~_div", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/arithmetic/div/_div.js", - "importStyle": "{_div}", - "description": "Computes quotient and remainder of two big endian arrays.\n

    \nComputes quotient and remainder of two big endian arrays\nusing long division algorithm (the one teached in\neuropean primary schools).\n\n/!\\ This algorithm modifies its first operand.\n\nHYP : q is at least as large as r\n b is not zero", - "lineNumber": 31, - "params": [ - { - "nullable": null, - "types": [ - "int" - ], - "spread": false, - "optional": false, - "name": "x", - "description": "the radix" - }, - { - "nullable": null, - "types": [ - "array" - ], - "spread": false, - "optional": false, - "name": "r", - "description": "dividend and remainder" - }, - { - "nullable": null, - "types": [ - "int" - ], - "spread": false, - "optional": false, - "name": "ri", - "description": "r left" - }, - { - "nullable": null, - "types": [ - "int" - ], - "spread": false, - "optional": false, - "name": "rj", - "description": "r right" - }, - { - "nullable": null, - "types": [ - "array" - ], - "spread": false, - "optional": false, - "name": "b", - "description": "divisor" - }, - { - "nullable": null, - "types": [ - "int" - ], - "spread": false, - "optional": false, - "name": "bi", - "description": "b left" - }, - { - "nullable": null, - "types": [ - "int" - ], - "spread": false, - "optional": false, - "name": "bj", - "description": "b right" - }, - { - "nullable": null, - "types": [ - "array" - ], - "spread": false, - "optional": false, - "name": "q", - "description": "quotient, must be 0 initialized" - }, - { - "nullable": null, - "types": [ - "int" - ], - "spread": false, - "optional": false, - "name": "qi", - "description": "q left" - } - ], - "generator": false - }, - { - "__docId__": 93, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/arithmetic/div/index.js", - "memberof": null, - "longname": "src/1-new/arithmetic/div/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './_div' ;\n" - }, - { - "__docId__": 94, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/arithmetic/index.js", - "memberof": null, - "longname": "src/1-new/arithmetic/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './div' ;\nexport * from './sub' ;\n" - }, - { - "__docId__": 95, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/arithmetic/sub/_sub.js", - "memberof": null, - "longname": "src/1-new/arithmetic/sub/_sub.js", - "access": null, - "description": null, - "lineNumber": 18, - "content": "\n/**\n * Subtracts two big endian arrays, k >= i >= j\n * wraps\n *\n * @param {int} r base (radix)\n * @param {array} a first operand\n * @param {int} ai a left\n * @param {int} aj a right\n * @param {array} b second operand\n * @param {int} bi b left\n * @param {int} bj b right\n * @param {array} c result, must be 0 initialized\n * @param {int} ci c left\n * @param {int} cj c right\n */\n\nexport function _sub ( r , a, ai, aj, b, bi, bj, c, ci, cj){\n\tvar T, C = 0;\n\n\twhile(--bj >= bi){\n\t\t--aj; --cj;\n\t\tT = C;\n\t\tC = a[aj] < b[bj] + T;\n\t\tc[cj] = a[aj] - b[bj] + (C*r - T);\n\t}\n\n\twhile(--aj >= ai){\n\t\t--cj;\n\t\tT = C;\n\t\tC = a[aj] < T;\n\t\tc[cj] = a[aj] + (C*r - T);\n\t}\n\n\tif(C){\n\t\twhile(--cj >= ci){\n\t\t\tc[cj] = r - 1;\n\t\t}\n\t}\n\n}\n" - }, - { - "__docId__": 96, - "kind": "function", - "static": true, - "variation": null, - "name": "_sub", - "memberof": "src/1-new/arithmetic/sub/_sub.js", - "longname": "src/1-new/arithmetic/sub/_sub.js~_sub", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/arithmetic/sub/_sub.js", - "importStyle": "{_sub}", - "description": "Subtracts two big endian arrays, k >= i >= j\nwraps", - "lineNumber": 18, - "params": [ - { - "nullable": null, - "types": [ - "int" - ], - "spread": false, - "optional": false, - "name": "r", - "description": "base (radix)" - }, - { - "nullable": null, - "types": [ - "array" - ], - "spread": false, - "optional": false, - "name": "a", - "description": "first operand" - }, - { - "nullable": null, - "types": [ - "int" - ], - "spread": false, - "optional": false, - "name": "ai", - "description": "a left" - }, - { - "nullable": null, - "types": [ - "int" - ], - "spread": false, - "optional": false, - "name": "aj", - "description": "a right" - }, - { - "nullable": null, - "types": [ - "array" - ], - "spread": false, - "optional": false, - "name": "b", - "description": "second operand" - }, - { - "nullable": null, - "types": [ - "int" - ], - "spread": false, - "optional": false, - "name": "bi", - "description": "b left" - }, - { - "nullable": null, - "types": [ - "int" - ], - "spread": false, - "optional": false, - "name": "bj", - "description": "b right" - }, - { - "nullable": null, - "types": [ - "array" - ], - "spread": false, - "optional": false, - "name": "c", - "description": "result, must be 0 initialized" - }, - { - "nullable": null, - "types": [ - "int" - ], - "spread": false, - "optional": false, - "name": "ci", - "description": "c left" - }, - { - "nullable": null, - "types": [ - "int" - ], - "spread": false, - "optional": false, - "name": "cj", - "description": "c right" - } - ], - "generator": false - }, - { - "__docId__": 97, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/arithmetic/sub/index.js", - "memberof": null, - "longname": "src/1-new/arithmetic/sub/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './_sub' ;\n" - }, - { - "__docId__": 98, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/compare/_CMP.js", - "memberof": null, - "longname": "src/1-new/compare/_CMP.js", - "access": null, - "description": null, - "lineNumber": 15, - "content": "\n/**\n * Compares two big endian arrays, |a| >= |b|\n *\n * @param {array} a first operand\n * @param {int} ai a left\n * @param {int} aj a right\n * @param {array} b second operand\n * @param {int} bi b left\n * @param {int} bj b right\n *\n * @return {int} 1 if a > b; 0 if a = b; -1 otherwise.\n */\n\nexport function _CMP (a, ai, aj, b, bi, bj){\n\n\tvar tmp = aj - bj + bi;\n\n\tfor (; ai < tmp; ++ai)\n\t\tif (a[ai] > 0) return 1;\n\n\t// same size aj - ai === bj - bi\n\tfor (; ai < aj; ++ai, ++bi) {\n\t\tif (a[ai] > b[bi]) return 1;\n\t\tif (a[ai] < b[bi]) return -1;\n\t}\n\n\treturn 0;\n}\n" - }, - { - "__docId__": 99, - "kind": "function", - "static": true, - "variation": null, - "name": "_CMP", - "memberof": "src/1-new/compare/_CMP.js", - "longname": "src/1-new/compare/_CMP.js~_CMP", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/compare/_CMP.js", - "importStyle": "{_CMP}", - "description": "Compares two big endian arrays, |a| >= |b|", - "lineNumber": 15, - "params": [ - { - "nullable": null, - "types": [ - "array" - ], - "spread": false, - "optional": false, - "name": "a", - "description": "first operand" - }, - { - "nullable": null, - "types": [ - "int" - ], - "spread": false, - "optional": false, - "name": "ai", - "description": "a left" - }, - { - "nullable": null, - "types": [ - "int" - ], - "spread": false, - "optional": false, - "name": "aj", - "description": "a right" - }, - { - "nullable": null, - "types": [ - "array" - ], - "spread": false, - "optional": false, - "name": "b", - "description": "second operand" - }, - { - "nullable": null, - "types": [ - "int" - ], - "spread": false, - "optional": false, - "name": "bi", - "description": "b left" - }, - { - "nullable": null, - "types": [ - "int" - ], - "spread": false, - "optional": false, - "name": "bj", - "description": "b right" - } - ], - "return": { - "nullable": null, - "types": [ - "int" - ], - "spread": false, - "description": "1 if a > b; 0 if a = b; -1 otherwise." - }, - "generator": false - }, - { - "__docId__": 100, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/compare/_cmp.js", - "memberof": null, - "longname": "src/1-new/compare/_cmp.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "import { _CMP } from '.' ;\n\nexport function _cmp ( a , ai , aj , b , bi , bj ) {\n\n\tif ( aj - ai < bj - bi )\n\t\treturn -_CMP( b , bi , bj , a , ai , aj ) ;\n\telse\n\t\treturn _CMP( a , ai , aj , b , bi , bj ) ;\n\n}\n" - }, - { - "__docId__": 101, - "kind": "function", - "static": true, - "variation": null, - "name": "_cmp", - "memberof": "src/1-new/compare/_cmp.js", - "longname": "src/1-new/compare/_cmp.js~_cmp", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/compare/_cmp.js", - "importStyle": "{_cmp}", - "description": null, - "lineNumber": 3, - "undocument": true, - "params": [ - { - "name": "a", - "types": [ - "*" - ] - }, - { - "name": "ai", - "types": [ - "*" - ] - }, - { - "name": "aj", - "types": [ - "*" - ] - }, - { - "name": "b", - "types": [ - "*" - ] - }, - { - "name": "bi", - "types": [ - "*" - ] - }, - { - "name": "bj", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - }, - "generator": false - }, - { - "__docId__": 102, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/compare/_eq.js", - "memberof": null, - "longname": "src/1-new/compare/_eq.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "import { _cmp } from '.' ;\n\nexport const _eq = ( a , ai , aj , b , bi , bj ) => _cmp( a , ai , aj , b , bi , bj ) === 0 ;\n" - }, - { - "__docId__": 103, - "kind": "variable", - "static": true, - "variation": null, - "name": "_eq", - "memberof": "src/1-new/compare/_eq.js", - "longname": "src/1-new/compare/_eq.js~_eq", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/compare/_eq.js", - "importStyle": "{_eq}", - "description": null, - "lineNumber": 3, - "undocument": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 104, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/compare/_ge.js", - "memberof": null, - "longname": "src/1-new/compare/_ge.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "import { _cmp } from '.' ;\n\nexport const _ge = ( a , ai , aj , b , bi , bj ) => _cmp( a , ai , aj , b , bi , bj ) >= 0 ;\n" - }, - { - "__docId__": 105, - "kind": "variable", - "static": true, - "variation": null, - "name": "_ge", - "memberof": "src/1-new/compare/_ge.js", - "longname": "src/1-new/compare/_ge.js~_ge", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/compare/_ge.js", - "importStyle": "{_ge}", - "description": null, - "lineNumber": 3, - "undocument": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 106, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/compare/_gt.js", - "memberof": null, - "longname": "src/1-new/compare/_gt.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "import { _cmp } from '.' ;\n\nexport const _gt = ( a , ai , aj , b , bi , bj ) => _cmp( a , ai , aj , b , bi , bj ) > 0 ;\n" - }, - { - "__docId__": 107, - "kind": "variable", - "static": true, - "variation": null, - "name": "_gt", - "memberof": "src/1-new/compare/_gt.js", - "longname": "src/1-new/compare/_gt.js~_gt", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/compare/_gt.js", - "importStyle": "{_gt}", - "description": null, - "lineNumber": 3, - "undocument": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 108, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/compare/_jz.js", - "memberof": null, - "longname": "src/1-new/compare/_jz.js", - "access": null, - "description": null, - "lineNumber": 10, - "content": "\n/**\n * Returns true if number is 0.\n *\n * @param {array} a first operand\n * @param {int} ai a left\n * @param {int} aj a right\n */\n\nexport function _jz ( a , ai , aj ) {\n\n\tfor ( ; ai < aj ; ++ai ) if ( a[ai] !== 0 ) return false ;\n\n\treturn true ;\n\n}\n" - }, - { - "__docId__": 109, - "kind": "function", - "static": true, - "variation": null, - "name": "_jz", - "memberof": "src/1-new/compare/_jz.js", - "longname": "src/1-new/compare/_jz.js~_jz", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/compare/_jz.js", - "importStyle": "{_jz}", - "description": "Returns true if number is 0.", - "lineNumber": 10, - "params": [ - { - "nullable": null, - "types": [ - "array" - ], - "spread": false, - "optional": false, - "name": "a", - "description": "first operand" - }, - { - "nullable": null, - "types": [ - "int" - ], - "spread": false, - "optional": false, - "name": "ai", - "description": "a left" - }, - { - "nullable": null, - "types": [ - "int" - ], - "spread": false, - "optional": false, - "name": "aj", - "description": "a right" - } - ], - "return": { - "types": [ - "boolean" - ] - }, - "generator": false - }, - { - "__docId__": 110, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/compare/_le.js", - "memberof": null, - "longname": "src/1-new/compare/_le.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "import { _cmp } from '.' ;\n\nexport const _le = ( a , ai , aj , b , bi , bj ) => _cmp( a , ai , aj , b , bi , bj ) <= 0 ;\n" - }, - { - "__docId__": 111, - "kind": "variable", - "static": true, - "variation": null, - "name": "_le", - "memberof": "src/1-new/compare/_le.js", - "longname": "src/1-new/compare/_le.js~_le", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/compare/_le.js", - "importStyle": "{_le}", - "description": null, - "lineNumber": 3, - "undocument": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 112, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/compare/_lt.js", - "memberof": null, - "longname": "src/1-new/compare/_lt.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "import { _cmp } from '.' ;\n\nexport const _lt = ( a , ai , aj , b , bi , bj ) => _cmp( a , ai , aj , b , bi , bj ) < 0 ;\n" - }, - { - "__docId__": 113, - "kind": "variable", - "static": true, - "variation": null, - "name": "_lt", - "memberof": "src/1-new/compare/_lt.js", - "longname": "src/1-new/compare/_lt.js~_lt", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/compare/_lt.js", - "importStyle": "{_lt}", - "description": null, - "lineNumber": 3, - "undocument": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 114, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/compare/_ne.js", - "memberof": null, - "longname": "src/1-new/compare/_ne.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "import { _cmp } from '.' ;\n\nexport const _ne = ( a , ai , aj , b , bi , bj ) => _cmp( a , ai , aj , b , bi , bj ) !== 0 ;\n" - }, - { - "__docId__": 115, - "kind": "variable", - "static": true, - "variation": null, - "name": "_ne", - "memberof": "src/1-new/compare/_ne.js", - "longname": "src/1-new/compare/_ne.js~_ne", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/compare/_ne.js", - "importStyle": "{_ne}", - "description": null, - "lineNumber": 3, - "undocument": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 116, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/compare/index.js", - "memberof": null, - "longname": "src/1-new/compare/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './_CMP' ;\nexport * from './_cmp' ;\nexport * from './_eq' ;\nexport * from './_ge' ;\nexport * from './_gt' ;\nexport * from './_jz' ;\nexport * from './_le' ;\nexport * from './_lt' ;\nexport * from './_ne' ;\n" - }, - { - "__docId__": 117, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/convert/_alloc.js", - "memberof": null, - "longname": "src/1-new/convert/_alloc.js", - "access": null, - "description": null, - "lineNumber": 2, - "content": "\nexport function _alloc ( n ) {\n\n\treturn new Array( n ) ;\n\n}\n" - }, - { - "__docId__": 118, - "kind": "function", - "static": true, - "variation": null, - "name": "_alloc", - "memberof": "src/1-new/convert/_alloc.js", - "longname": "src/1-new/convert/_alloc.js~_alloc", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/convert/_alloc.js", - "importStyle": "{_alloc}", - "description": null, - "lineNumber": 2, - "undocument": true, - "params": [ - { - "name": "n", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - }, - "generator": false - }, - { - "__docId__": 119, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/convert/_build.js", - "memberof": null, - "longname": "src/1-new/convert/_build.js", - "access": null, - "description": null, - "lineNumber": 2, - "content": "\nexport function _build ( base , number ) {\n\n\tconst data = [ ] ;\n\n\tlet q = number ;\n\tconst d = base ;\n\n\twhile ( q >= d ) {\n\t\tconst r = q % d ;\n\t\tdata.push( r ) ;\n\t\tq = ( q - r ) / d ;\n\t}\n\n\tdata.push( q ) ;\n\n\treturn data.reverse( ) ;\n\n}\n" - }, - { - "__docId__": 120, - "kind": "function", - "static": true, - "variation": null, - "name": "_build", - "memberof": "src/1-new/convert/_build.js", - "longname": "src/1-new/convert/_build.js~_build", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/convert/_build.js", - "importStyle": "{_build}", - "description": null, - "lineNumber": 2, - "undocument": true, - "params": [ - { - "name": "base", - "types": [ - "*" - ] - }, - { - "name": "number", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - }, - "generator": false - }, - { - "__docId__": 121, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/convert/_chr.js", - "memberof": null, - "longname": "src/1-new/convert/_chr.js", - "access": null, - "description": null, - "lineNumber": 2, - "content": "\nexport function _chr ( x ) {\n\n\tif ( x < 10 ) return String.fromCharCode( 48 + x ) ;\n\treturn String.fromCharCode( 87 + x ) ;\n\n}\n" - }, - { - "__docId__": 122, - "kind": "function", - "static": true, - "variation": null, - "name": "_chr", - "memberof": "src/1-new/convert/_chr.js", - "longname": "src/1-new/convert/_chr.js~_chr", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/convert/_chr.js", - "importStyle": "{_chr}", - "description": null, - "lineNumber": 2, - "undocument": true, - "params": [ - { - "name": "x", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - }, - "generator": false - }, - { - "__docId__": 123, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/convert/_convert.js", - "memberof": null, - "longname": "src/1-new/convert/_convert.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "import { _convert_to_smaller , _convert_to_larger , _copy } from '.' ;\n\n/**\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n */\n\nexport function _convert ( f , t , a , ai , aj , b , bi , bj ) {\n\n\tif ( f > t ) return _convert_to_smaller( f , t , a , ai , aj , b , bi , bj ) ;\n\tif ( f < t ) return _convert_to_larger( f , t , a , ai , aj , b , bi , bj ) ;\n\treturn _copy( a , ai , aj , b , bi ) ;\n\n}\n" - }, - { - "__docId__": 124, - "kind": "function", - "static": true, - "variation": null, - "name": "_convert", - "memberof": "src/1-new/convert/_convert.js", - "longname": "src/1-new/convert/_convert.js~_convert", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/convert/_convert.js", - "importStyle": "{_convert}", - "description": "", - "lineNumber": 15, - "params": [ - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "f", - "description": "the base to convert from" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "t", - "description": "the base to convert to" - }, - { - "nullable": null, - "types": [ - "Array" - ], - "spread": false, - "optional": false, - "name": "a", - "description": "the origin array" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "ai", - "description": "start offset in the origin array" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "aj", - "description": "end offset in the origin array" - }, - { - "nullable": null, - "types": [ - "Array" - ], - "spread": false, - "optional": false, - "name": "b", - "description": "the destination array" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "bi", - "description": "start offset in the destination array" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "bj", - "description": "end offset in the destination array" - } - ], - "return": { - "types": [ - "*" - ] - }, - "generator": false - }, - { - "__docId__": 125, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/convert/_convert_slow.js", - "memberof": null, - "longname": "src/1-new/convert/_convert_slow.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "import { _build , _alloc , _reset , _copy } from '.' ;\nimport { _div } from '../arithmetic' ;\nimport { _jz } from '../compare' ;\n\n/**\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n */\n\nexport function _convert_slow ( f , t , a , ai , aj , b , bi , bj ) {\n\n\tconst d = _build( f , t ) ;\n\tconst di = 0 ;\n\tconst dj = d.length ;\n\tconst qi = 0 ;\n\tconst qj = aj - ai ;\n\tconst q = _alloc( qj - qi ) ;\n\n\twhile ( true ) {\n\n\t\t_reset( q , qi , qj ) ;\n\n\t\t_div( f , a , ai , aj , d , di , dj , q , qi ) ;\n\n\t\t--bj ;\n\t\tlet x = 0 ;\n\n\t\tfor ( let k = ai ; k < aj ; ++k ) {\n\t\t\tx *= f ;\n\t\t\tx += a[k] ;\n\t\t}\n\n\t\tb[bj] = x ;\n\n\t\tif ( _jz( q , qi , qj ) ) return ;\n\n\t\t_copy( q , qi , qj , a , ai ) ;\n\n\t}\n\n}\n" - }, - { - "__docId__": 126, - "kind": "function", - "static": true, - "variation": null, - "name": "_convert_slow", - "memberof": "src/1-new/convert/_convert_slow.js", - "longname": "src/1-new/convert/_convert_slow.js~_convert_slow", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/convert/_convert_slow.js", - "importStyle": "{_convert_slow}", - "description": "", - "lineNumber": 17, - "params": [ - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "f", - "description": "the base to convert from" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "t", - "description": "the base to convert to" - }, - { - "nullable": null, - "types": [ - "Array" - ], - "spread": false, - "optional": false, - "name": "a", - "description": "the origin array" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "ai", - "description": "start offset in the origin array" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "aj", - "description": "end offset in the origin array" - }, - { - "nullable": null, - "types": [ - "Array" - ], - "spread": false, - "optional": false, - "name": "b", - "description": "the destination array" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "bi", - "description": "start offset in the destination array" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "bj", - "description": "end offset in the destination array" - } - ], - "generator": false - }, - { - "__docId__": 127, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/convert/_convert_to_larger.js", - "memberof": null, - "longname": "src/1-new/convert/_convert_to_larger.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "import { _log , _convert_slow , _convert_to_larger_fast } from '.' ;\n\n/**\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n */\n\nexport function _convert_to_larger ( f , t , a , ai , aj , b , bi , bj ) {\n\n\tconst [ z , x ] = _log( t , f ) ;\n\n\tif ( x === 1 ) return _convert_to_larger_fast( f , z , a , ai , aj , b , bi , bj ) ;\n\n\treturn _convert_slow( f , t , a , ai , aj , b , bi , bj ) ;\n\n}\n" - }, - { - "__docId__": 128, - "kind": "function", - "static": true, - "variation": null, - "name": "_convert_to_larger", - "memberof": "src/1-new/convert/_convert_to_larger.js", - "longname": "src/1-new/convert/_convert_to_larger.js~_convert_to_larger", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/convert/_convert_to_larger.js", - "importStyle": "{_convert_to_larger}", - "description": "", - "lineNumber": 15, - "params": [ - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "f", - "description": "the base to convert from" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "t", - "description": "the base to convert to" - }, - { - "nullable": null, - "types": [ - "Array" - ], - "spread": false, - "optional": false, - "name": "a", - "description": "the origin array" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "ai", - "description": "start offset in the origin array" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "aj", - "description": "end offset in the origin array" - }, - { - "nullable": null, - "types": [ - "Array" - ], - "spread": false, - "optional": false, - "name": "b", - "description": "the destination array" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "bi", - "description": "start offset in the destination array" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "bj", - "description": "end offset in the destination array" - } - ], - "return": { - "types": [ - "*" - ] - }, - "generator": false - }, - { - "__docId__": 129, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/convert/_convert_to_larger_fast.js", - "memberof": null, - "longname": "src/1-new/convert/_convert_to_larger_fast.js", - "access": null, - "description": null, - "lineNumber": 15, - "content": "\n\n/**\n *\n * @param {Number} ar the base to convert from\n * @param {Number} z if br is the base to convert to then log(br) = z log(ar)\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n */\n\nexport function _convert_to_larger_fast ( ar , z , a , ai , aj , b , bi , bj ) {\n\n\tvar m, n, q, r, i, w, t;\n\n\tm = aj - ai;\n\tn = bj - bi;\n\n\t// number of parts of first\n\t// destination block if incomplete\n\tr = m % z;\n\n\t// number of complete blocks in destination\n\tq = (m - r) / z;\n\n\t// total number of blocks in destination\n\t// (complete ones + first if incomplete)\n\tw = q + !!r;\n\n\n\tif (n >= w) {\n\t\t// if destination can contain more than\n\t\t// what is available in source then\n\t\t// compute the effective write start\n\t\t// in destination and set i to the correct\n\t\t// offset according to the size\n\t\t// (in source blocks) of the\n\t\t// first destination block if incomplete\n\t\tbi = bj - w;\n\t\ti = (z - r) % z;\n\t}\n\telse {\n\t\t// if source contains more than what\n\t\t// destination can handle set the effective\n\t\t// read start in source and set i to 0 because\n\t\t// all blocks will be complete\n\t\tai = aj - n * z;\n\t\ti = 0;\n\t}\n\n\tfor (; ai < aj && bi < bj; ++bi) {\n\t\tt = 0;\n\t\tfor (; i < z; ++i) {\n\t\t\tt *= ar; // aggregate source blocks\n\t\t\tt += a[ai]; // using simple\n\t\t\t++ai; // multiply + add\n\t\t}\n\t\tb[bi] = t; // set block in destination\n\t\ti = 0;\n\t}\n\n}\n" - }, - { - "__docId__": 130, - "kind": "function", - "static": true, - "variation": null, - "name": "_convert_to_larger_fast", - "memberof": "src/1-new/convert/_convert_to_larger_fast.js", - "longname": "src/1-new/convert/_convert_to_larger_fast.js~_convert_to_larger_fast", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/convert/_convert_to_larger_fast.js", - "importStyle": "{_convert_to_larger_fast}", - "description": "", - "lineNumber": 15, - "params": [ - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "ar", - "description": "the base to convert from" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "z", - "description": "if br is the base to convert to then log(br) = z log(ar)" - }, - { - "nullable": null, - "types": [ - "Array" - ], - "spread": false, - "optional": false, - "name": "a", - "description": "the origin array" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "ai", - "description": "start offset in the origin array" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "aj", - "description": "end offset in the origin array" - }, - { - "nullable": null, - "types": [ - "Array" - ], - "spread": false, - "optional": false, - "name": "b", - "description": "the destination array" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "bi", - "description": "start offset in the destination array" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "bj", - "description": "end offset in the destination array" - } - ], - "generator": false - }, - { - "__docId__": 131, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/convert/_convert_to_smaller.js", - "memberof": null, - "longname": "src/1-new/convert/_convert_to_smaller.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "import { _log , _convert_slow , _convert_to_smaller_fast } from '.' ;\n\n/**\n *\n * @param {Number} f the base to convert from\n * @param {Number} t the base to convert to\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n */\n\nexport function _convert_to_smaller ( f , t , a , ai , aj , b , bi , bj ) {\n\n\tconst [ z , x ] = _log( f , t ) ;\n\n\tif ( x === 1 ) return _convert_to_smaller_fast( t , z , a , ai , aj , b , bi , bj ) ;\n\n\treturn _convert_slow( f , t , a , ai , aj , b , bi , bj ) ;\n\n}\n" - }, - { - "__docId__": 132, - "kind": "function", - "static": true, - "variation": null, - "name": "_convert_to_smaller", - "memberof": "src/1-new/convert/_convert_to_smaller.js", - "longname": "src/1-new/convert/_convert_to_smaller.js~_convert_to_smaller", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/convert/_convert_to_smaller.js", - "importStyle": "{_convert_to_smaller}", - "description": "", - "lineNumber": 15, - "params": [ - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "f", - "description": "the base to convert from" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "t", - "description": "the base to convert to" - }, - { - "nullable": null, - "types": [ - "Array" - ], - "spread": false, - "optional": false, - "name": "a", - "description": "the origin array" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "ai", - "description": "start offset in the origin array" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "aj", - "description": "end offset in the origin array" - }, - { - "nullable": null, - "types": [ - "Array" - ], - "spread": false, - "optional": false, - "name": "b", - "description": "the destination array" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "bi", - "description": "start offset in the destination array" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "bj", - "description": "end offset in the destination array" - } - ], - "return": { - "types": [ - "*" - ] - }, - "generator": false - }, - { - "__docId__": 133, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/convert/_convert_to_smaller_fast.js", - "memberof": null, - "longname": "src/1-new/convert/_convert_to_smaller_fast.js", - "access": null, - "description": null, - "lineNumber": 14, - "content": "\n/**\n *\n * @param {Number} br the base to convert to\n * @param {Number} z if ar is the base to convert to then log(ar) = z log(br)\n * @param {Array} a the origin array\n * @param {Number} ai start offset in the origin array\n * @param {Number} aj end offset in the origin array\n * @param {Array} b the destination array\n * @param {Number} bi start offset in the destination array\n * @param {Number} bj end offset in the destination array\n */\n\nexport function _convert_to_smaller_fast ( br , z , a , ai , aj , b , bi , bj ) {\n\n\tvar m, n, q, r, i, w, t;\n\n\tm = bj - bi;\n\tn = aj - ai;\n\n\t// number of parts of first\n\t// destination block if incomplete\n\tr = m % z;\n\n\t// number of complete blocks in destination\n\tq = (m - r) / z;\n\n\t// total number of blocks in destination\n\t// (complete ones + first if incomplete)\n\tw = q + !!r;\n\n\n\tif (n >= w) {\n\t\t// if source contains more than what\n\t\t// destination can handle set the effective\n\t\t// read start in source and set i to the correct\n\t\t// offset according to the size\n\t\t// (in destination blocks) of the\n\t\t// first source block if incomplete\n\t\tai = aj - w;\n\t\ti = (z - r) % z;\n\t}\n\telse {\n\t\t// if destination can contain more than\n\t\t// what is available in source then\n\t\t// compute the effective write start\n\t\t// in destination and set i to 0 because\n\t\t// all blocks will be complete\n\t\tbi = bj - n * z;\n\t\ti = 0;\n\t}\n\n\tfor (; ai < aj && bi < bj; ++ai) {\n\t\tq = a[ai];\n\t\tt = bi + z - 1 - i;\n\t\tbi += z - i;\n\t\tfor (; i < z; ++i) {\n\t\t\tr = q % br; // unpack source blocks\n\t\t\tq = (q - r) / br; // using simple\n\t\t\tb[t] = r; // modulo + quotient\n\t\t\t--t;\n\t\t}\n\t\ti = 0;\n\t}\n\n}\n" - }, - { - "__docId__": 134, - "kind": "function", - "static": true, - "variation": null, - "name": "_convert_to_smaller_fast", - "memberof": "src/1-new/convert/_convert_to_smaller_fast.js", - "longname": "src/1-new/convert/_convert_to_smaller_fast.js~_convert_to_smaller_fast", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/convert/_convert_to_smaller_fast.js", - "importStyle": "{_convert_to_smaller_fast}", - "description": "", - "lineNumber": 14, - "params": [ - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "br", - "description": "the base to convert to" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "z", - "description": "if ar is the base to convert to then log(ar) = z log(br)" - }, - { - "nullable": null, - "types": [ - "Array" - ], - "spread": false, - "optional": false, - "name": "a", - "description": "the origin array" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "ai", - "description": "start offset in the origin array" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "aj", - "description": "end offset in the origin array" - }, - { - "nullable": null, - "types": [ - "Array" - ], - "spread": false, - "optional": false, - "name": "b", - "description": "the destination array" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "bi", - "description": "start offset in the destination array" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "bj", - "description": "end offset in the destination array" - } - ], - "generator": false - }, - { - "__docId__": 135, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/convert/_copy.js", - "memberof": null, - "longname": "src/1-new/convert/_copy.js", - "access": null, - "description": null, - "lineNumber": 2, - "content": "\nexport function _copy ( a , ai , aj , b , bi ) {\n\n\tfor ( ; ai < aj ; ++ai, ++bi ) b[bi] = a[ai] ;\n\n}\n" - }, - { - "__docId__": 136, - "kind": "function", - "static": true, - "variation": null, - "name": "_copy", - "memberof": "src/1-new/convert/_copy.js", - "longname": "src/1-new/convert/_copy.js~_copy", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/convert/_copy.js", - "importStyle": "{_copy}", - "description": null, - "lineNumber": 2, - "undocument": true, - "params": [ - { - "name": "a", - "types": [ - "*" - ] - }, - { - "name": "ai", - "types": [ - "*" - ] - }, - { - "name": "aj", - "types": [ - "*" - ] - }, - { - "name": "b", - "types": [ - "*" - ] - }, - { - "name": "bi", - "types": [ - "*" - ] - } - ], - "generator": false - }, - { - "__docId__": 137, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/convert/_fill.js", - "memberof": null, - "longname": "src/1-new/convert/_fill.js", - "access": null, - "description": null, - "lineNumber": 2, - "content": "\nexport function _fill ( a , ai , aj , v ) {\n\n\tfor ( let i = ai ; i < aj ; ++i ) a[i] = v ;\n\n}\n" - }, - { - "__docId__": 138, - "kind": "function", - "static": true, - "variation": null, - "name": "_fill", - "memberof": "src/1-new/convert/_fill.js", - "longname": "src/1-new/convert/_fill.js~_fill", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/convert/_fill.js", - "importStyle": "{_fill}", - "description": null, - "lineNumber": 2, - "undocument": true, - "params": [ - { - "name": "a", - "types": [ - "*" - ] - }, - { - "name": "ai", - "types": [ - "*" - ] - }, - { - "name": "aj", - "types": [ - "*" - ] - }, - { - "name": "v", - "types": [ - "*" - ] - } - ], - "generator": false - }, - { - "__docId__": 139, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/convert/_int.js", - "memberof": null, - "longname": "src/1-new/convert/_int.js", - "access": null, - "description": null, - "lineNumber": 2, - "content": "\nexport function _int ( x ) {\n\n\tif ( x >= '0' && x <= '9' ) return x.charCodeAt( 0 ) - 48 ;\n\tif ( x >= 'A' && x <= 'Z' ) return x.charCodeAt( 0 ) - 55 ;\n\tif ( x >= 'a' && x <= 'z' ) return x.charCodeAt( 0 ) - 87 ;\n\n\tthrow 'invalid literal for _int: ' + x ;\n\n}\n" - }, - { - "__docId__": 140, - "kind": "function", - "static": true, - "variation": null, - "name": "_int", - "memberof": "src/1-new/convert/_int.js", - "longname": "src/1-new/convert/_int.js~_int", - "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/convert/_int.js", - "importStyle": "{_int}", - "description": null, - "lineNumber": 2, - "undocument": true, - "params": [ - { - "name": "x", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - }, - "generator": false - }, - { - "__docId__": 141, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/convert/_log.js", - "memberof": null, - "longname": "src/1-new/convert/_log.js", - "access": null, - "description": null, - "lineNumber": 2, - "content": "\nexport function _log ( x , y ) {\n\n\tlet z = 0 ;\n\n\twhile ( x >= y ) {\n\t\tif ( x % y ) break ;\n\t\tx /= y ;\n\t\t++z ;\n\t}\n\n\treturn [ z , x ] ;\n\n}\n" + "*" + ] + } }, { - "__docId__": 142, - "kind": "function", - "static": true, - "variation": null, - "name": "_log", - "memberof": "src/1-new/convert/_log.js", - "longname": "src/1-new/convert/_log.js~_log", + "__docId__": 13, + "kind": "method", + "name": "mul", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#mul", "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/convert/_log.js", - "importStyle": "{_log}", "description": null, - "lineNumber": 2, + "lineNumber": 102, "undocument": true, - "params": [ + "unknown": [ { - "name": "x", - "types": [ - "*" - ] - }, + "tagName": "@_undocument", + "tagValue": "" + } + ], + "params": [ { - "name": "y", + "name": "other", "types": [ "*" ] @@ -3580,90 +348,91 @@ "types": [ "*" ] - }, - "generator": false - }, - { - "__docId__": 143, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/convert/_reset.js", - "memberof": null, - "longname": "src/1-new/convert/_reset.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "import { _fill } from '.' ;\n\nexport function _reset ( a , ai , aj ) {\n\n\t_fill( a , ai , aj , 0 ) ;\n\n}\n" + } }, { - "__docId__": 144, - "kind": "function", - "static": true, - "variation": null, - "name": "_reset", - "memberof": "src/1-new/convert/_reset.js", - "longname": "src/1-new/convert/_reset.js~_reset", + "__docId__": 14, + "kind": "method", + "name": "pow", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#pow", "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/convert/_reset.js", - "importStyle": "{_reset}", "description": null, - "lineNumber": 3, + "lineNumber": 122, "undocument": true, + "unknown": [ + { + "tagName": "@_undocument", + "tagValue": "" + } + ], "params": [ { - "name": "a", + "name": "other", "types": [ "*" ] - }, + } + ] + }, + { + "__docId__": 15, + "kind": "method", + "name": "div", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#div", + "access": null, + "description": null, + "lineNumber": 126, + "undocument": true, + "unknown": [ { - "name": "ai", - "types": [ - "*" - ] - }, + "tagName": "@_undocument", + "tagValue": "" + } + ], + "params": [ { - "name": "aj", + "name": "other", "types": [ "*" ] } ], - "generator": false - }, - { - "__docId__": 145, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/convert/_to_string.js", - "memberof": null, - "longname": "src/1-new/convert/_to_string.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "import { _chr } from '.' ;\n\nexport function _to_string ( b ) {\n\n\tconst n = b.length ;\n\n\tconst data = [ ] ;\n\n\tfor ( let k = 0 ; k < n ; ++k ) data.push( _chr( b[k] ) ) ;\n\n\treturn data.join( '' ) ;\n\n}\n" + "return": { + "types": [ + "*" + ] + } }, { - "__docId__": 146, - "kind": "function", - "static": true, - "variation": null, - "name": "_to_string", - "memberof": "src/1-new/convert/_to_string.js", - "longname": "src/1-new/convert/_to_string.js~_to_string", + "__docId__": 16, + "kind": "method", + "name": "mod", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#mod", "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/convert/_to_string.js", - "importStyle": "{_to_string}", "description": null, - "lineNumber": 3, + "lineNumber": 130, "undocument": true, + "unknown": [ + { + "tagName": "@_undocument", + "tagValue": "" + } + ], "params": [ { - "name": "b", + "name": "other", "types": [ "*" ] @@ -3673,52 +442,30 @@ "types": [ "*" ] - }, - "generator": false - }, - { - "__docId__": 147, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/convert/_trim_positive.js", - "memberof": null, - "longname": "src/1-new/convert/_trim_positive.js", - "access": null, - "description": null, - "lineNumber": 2, - "content": "\nexport function _trim_positive ( a , ai , aj ) {\n\n\twhile ( a[ai] === 0 && ai < aj ) ++ai ;\n\n\treturn ai ;\n\n}\n" + } }, { - "__docId__": 148, - "kind": "function", - "static": true, - "variation": null, - "name": "_trim_positive", - "memberof": "src/1-new/convert/_trim_positive.js", - "longname": "src/1-new/convert/_trim_positive.js~_trim_positive", + "__docId__": 17, + "kind": "method", + "name": "divmod", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#divmod", "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/convert/_trim_positive.js", - "importStyle": "{_trim_positive}", "description": null, - "lineNumber": 2, + "lineNumber": 134, "undocument": true, - "params": [ + "unknown": [ { - "name": "a", - "types": [ - "*" - ] - }, - { - "name": "ai", - "types": [ - "*" - ] - }, + "tagName": "@_undocument", + "tagValue": "" + } + ], + "params": [ { - "name": "aj", + "name": "other", "types": [ "*" ] @@ -3726,299 +473,305 @@ ], "return": { "types": [ - "*" + "undefined[]" ] - }, - "generator": false - }, - { - "__docId__": 149, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/convert/_zeros.js", - "memberof": null, - "longname": "src/1-new/convert/_zeros.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "import { _alloc , _reset } from '.' ;\n\nexport function _zeros ( n ) {\n\n\tconst a = _alloc( n ) ;\n\n\t_reset( a , 0 , n ) ;\n\n\treturn a ;\n\n}\n" + } }, { - "__docId__": 150, - "kind": "function", - "static": true, - "variation": null, - "name": "_zeros", - "memberof": "src/1-new/convert/_zeros.js", - "longname": "src/1-new/convert/_zeros.js~_zeros", + "__docId__": 18, + "kind": "method", + "name": "opposite", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#opposite", "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/convert/_zeros.js", - "importStyle": "{_zeros}", "description": null, - "lineNumber": 3, + "lineNumber": 160, "undocument": true, - "params": [ + "unknown": [ { - "name": "n", - "types": [ - "*" - ] + "tagName": "@_undocument", + "tagValue": "" } ], + "params": [], "return": { "types": [ "*" ] - }, - "generator": false + } }, { - "__docId__": 151, + "__docId__": 19, "kind": "file", + "name": "src/IntegerRing.js", + "content": "import { Integer } from './' ;\nimport { parse } from '@aureooms/js-integer-big-endian' ;\n\nexport class IntegerRing {\n\n\tconstructor ( name , base ) {\n\t\tthis.name = name ;\n\t\tthis.base = base ;\n\t}\n\n\tfrom ( object , base = undefined , is_negative = 0 ) {\n\n\t\tswitch ( typeof object ) {\n\t\t\tcase 'number' :\n\t\t\t\tif ( base !== undefined ) throw 'IntegerRing#from: using the base parameter does not make sense when parsing a JavaScript number.' ;\n\t\t\t\treturn this.from_string( '' + object , 10 , is_negative ) ;\n\t\t\tcase 'string' :\n\t\t\t\tif ( base === undefined ) base = 10 ;\n\t\t\t\treturn this.from_string( object , base , is_negative ) ;\n\t\t\tdefault:\n\t\t\t\tthrow `IntegerRing#from cannot handle ${typeof object}` ;\n\t\t}\n\n\t}\n\n\tfrom_string ( string , base = 10 , is_negative = 0 ) {\n\n\t\tif ( string.length === 0 ) throw 'IntegerRing#from_string cannot parse empty string.' ;\n\n\t\tif ( string[0] === '-' ) return this.from_string( string.slice(1) , base , ~is_negative ) ;\n\n\t\tif ( string[0] === '+' ) return this.from_string( string.slice(1) , base , is_negative ) ;\n\n\t\tconst limbs = parse( base , this.base , string ) ;\n\n\t\treturn new Integer( this.base , is_negative , limbs ) ;\n\n\t}\n\n\ttoString ( ) {\n\t\treturn this.name ;\n\t}\n\n\tstatic add ( first , second ) {\n\t\treturn first.add(second) ;\n\t}\n\n\tstatic sub ( first , second ) {\n\t\treturn first.sub(second) ;\n\t}\n\n\tstatic mul ( first , second ) {\n\t\treturn first.mul(second) ;\n\t}\n\n\tstatic pow ( first , second ) {\n\t\treturn first.pow(second) ;\n\t}\n\n\tstatic div ( first , second ) {\n\t\treturn first.div(second) ;\n\t}\n\n\tstatic mod ( first , second ) {\n\t\treturn first.mod(second) ;\n\t}\n\n}\n", "static": true, - "variation": null, - "name": "src/1-new/convert/convert.js", - "memberof": null, - "longname": "src/1-new/convert/convert.js", + "longname": "src/IntegerRing.js", "access": null, "description": null, - "lineNumber": 1, - "content": "import { convert_keep_zeros , trim_natural } from '.' ;\n\nexport function convert ( f , t , a , ai , aj ) {\n\n\tconst b = convert_keep_zeros( f , t , a , ai , aj ) ;\n\n\treturn trim_natural( b , 0 , b.length ) ;\n\n}\n" + "lineNumber": 1 }, { - "__docId__": 152, - "kind": "function", + "__docId__": 20, + "kind": "class", + "name": "IntegerRing", + "memberof": "src/IntegerRing.js", "static": true, - "variation": null, - "name": "convert", - "memberof": "src/1-new/convert/convert.js", - "longname": "src/1-new/convert/convert.js~convert", + "longname": "src/IntegerRing.js~IntegerRing", "access": null, "export": true, - "importPath": "aureooms-js-integer/src/1-new/convert/convert.js", - "importStyle": "{convert}", + "importPath": "@aureooms/js-integer/src/IntegerRing.js", + "importStyle": "{IntegerRing}", "description": null, - "lineNumber": 3, + "lineNumber": 4, "undocument": true, - "params": [ + "unknown": [ { - "name": "f", - "types": [ - "*" - ] - }, + "tagName": "@_undocument", + "tagValue": "" + } + ], + "interface": false + }, + { + "__docId__": 21, + "kind": "constructor", + "name": "constructor", + "memberof": "src/IntegerRing.js~IntegerRing", + "generator": false, + "async": false, + "static": false, + "longname": "src/IntegerRing.js~IntegerRing#constructor", + "access": null, + "description": null, + "lineNumber": 6, + "undocument": true, + "unknown": [ { - "name": "t", - "types": [ - "*" - ] - }, + "tagName": "@_undocument", + "tagValue": "" + } + ], + "params": [ { - "name": "a", + "name": "name", "types": [ "*" ] }, { - "name": "ai", + "name": "base", "types": [ "*" ] - }, + } + ] + }, + { + "__docId__": 22, + "kind": "member", + "name": "name", + "memberof": "src/IntegerRing.js~IntegerRing", + "static": false, + "longname": "src/IntegerRing.js~IntegerRing#name", + "access": null, + "description": null, + "lineNumber": 7, + "undocument": true, + "unknown": [ { - "name": "aj", - "types": [ - "*" - ] + "tagName": "@_undocument", + "tagValue": "" } ], - "return": { + "type": { "types": [ "*" ] - }, - "generator": false + } }, { - "__docId__": 153, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/convert/convert_keep_zeros.js", - "memberof": null, - "longname": "src/1-new/convert/convert_keep_zeros.js", + "__docId__": 23, + "kind": "member", + "name": "base", + "memberof": "src/IntegerRing.js~IntegerRing", + "static": false, + "longname": "src/IntegerRing.js~IntegerRing#base", "access": null, "description": null, - "lineNumber": 1, - "content": "import { _zeros , _convert } from '.' ;\n\nexport function convert_keep_zeros ( f , t , a , ai , aj ) {\n\n\tconst bi = 0 ;\n\tconst bj = Math.ceil( Math.log( f ) / Math.log( t ) * ( aj - ai ) ) ;\n\tconst b = _zeros( bj - bi ) ;\n\n\t_convert( f , t , a , ai , aj , b , bi , bj ) ;\n\n\treturn b ;\n\n}\n" + "lineNumber": 8, + "undocument": true, + "unknown": [ + { + "tagName": "@_undocument", + "tagValue": "" + } + ], + "type": { + "types": [ + "*" + ] + } }, { - "__docId__": 154, - "kind": "function", - "static": true, - "variation": null, - "name": "convert_keep_zeros", - "memberof": "src/1-new/convert/convert_keep_zeros.js", - "longname": "src/1-new/convert/convert_keep_zeros.js~convert_keep_zeros", + "__docId__": 24, + "kind": "method", + "name": "from", + "memberof": "src/IntegerRing.js~IntegerRing", + "generator": false, + "async": false, + "static": false, + "longname": "src/IntegerRing.js~IntegerRing#from", "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/convert/convert_keep_zeros.js", - "importStyle": "{convert_keep_zeros}", "description": null, - "lineNumber": 3, + "lineNumber": 11, "undocument": true, - "params": [ - { - "name": "f", - "types": [ - "*" - ] - }, + "unknown": [ { - "name": "t", - "types": [ - "*" - ] - }, + "tagName": "@_undocument", + "tagValue": "" + } + ], + "params": [ { - "name": "a", + "name": "object", "types": [ "*" ] }, { - "name": "ai", + "name": "base", + "optional": true, "types": [ "*" - ] + ], + "defaultRaw": "undefined", + "defaultValue": "undefined" }, { - "name": "aj", + "name": "is_negative", + "optional": true, "types": [ - "*" - ] + "number" + ], + "defaultRaw": 0, + "defaultValue": "0" } ], "return": { "types": [ "*" ] - }, - "generator": false - }, - { - "__docId__": 155, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/convert/index.js", - "memberof": null, - "longname": "src/1-new/convert/index.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "export * from './_alloc' ;\nexport * from './_build' ;\nexport * from './_chr' ;\nexport * from './_convert' ;\nexport * from './_convert_slow' ;\nexport * from './_convert_to_larger' ;\nexport * from './_convert_to_larger_fast' ;\nexport * from './_convert_to_smaller' ;\nexport * from './_convert_to_smaller_fast' ;\nexport * from './_copy' ;\nexport * from './_fill' ;\nexport * from './_int' ;\nexport * from './_log' ;\nexport * from './_reset' ;\nexport * from './_to_string' ;\nexport * from './_trim_positive' ;\nexport * from './_zeros' ;\nexport * from './convert' ;\nexport * from './convert_keep_zeros' ;\nexport * from './parse' ;\nexport * from './parse_keep_zeros' ;\nexport * from './stringify' ;\nexport * from './stringify_keep_zeros' ;\nexport * from './trim_natural' ;\n" - }, - { - "__docId__": 156, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/convert/parse.js", - "memberof": null, - "longname": "src/1-new/convert/parse.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "import { parse_keep_zeros , trim_natural } from '.' ;\n\nexport function parse ( f , t , string ) {\n\n\tconst b = parse_keep_zeros( f , t , string ) ;\n\n\treturn trim_natural( b , 0 , b.length ) ;\n\n}\n" + } }, { - "__docId__": 157, - "kind": "function", - "static": true, - "variation": null, - "name": "parse", - "memberof": "src/1-new/convert/parse.js", - "longname": "src/1-new/convert/parse.js~parse", + "__docId__": 25, + "kind": "method", + "name": "from_string", + "memberof": "src/IntegerRing.js~IntegerRing", + "generator": false, + "async": false, + "static": false, + "longname": "src/IntegerRing.js~IntegerRing#from_string", "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/convert/parse.js", - "importStyle": "{parse}", "description": null, - "lineNumber": 3, + "lineNumber": 26, "undocument": true, + "unknown": [ + { + "tagName": "@_undocument", + "tagValue": "" + } + ], "params": [ { - "name": "f", + "name": "string", "types": [ "*" ] }, { - "name": "t", + "name": "base", + "optional": true, "types": [ - "*" - ] + "number" + ], + "defaultRaw": 10, + "defaultValue": "10" }, { - "name": "string", + "name": "is_negative", + "optional": true, "types": [ - "*" - ] + "number" + ], + "defaultRaw": 0, + "defaultValue": "0" } ], "return": { "types": [ "*" ] - }, - "generator": false + } }, { - "__docId__": 158, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/convert/parse_keep_zeros.js", - "memberof": null, - "longname": "src/1-new/convert/parse_keep_zeros.js", + "__docId__": 26, + "kind": "method", + "name": "toString", + "memberof": "src/IntegerRing.js~IntegerRing", + "generator": false, + "async": false, + "static": false, + "longname": "src/IntegerRing.js~IntegerRing#toString", "access": null, "description": null, - "lineNumber": 1, - "content": "import { _int , convert_keep_zeros } from '.' ;\n\nexport function parse_keep_zeros ( f , t , string ) {\n\n\tif ( f > 36 ) throw 'f > 36 not implemented' ;\n\n\tconst n = string.length ;\n\n\tconst a = [ ] ;\n\n\tfor ( let k = 0 ; k < n ; ++k ) a.push( _int( string[k] ) ) ;\n\n\treturn convert_keep_zeros( f , t , a , 0 , n ) ;\n\n}\n" + "lineNumber": 40, + "undocument": true, + "unknown": [ + { + "tagName": "@_undocument", + "tagValue": "" + } + ], + "params": [], + "return": { + "types": [ + "*" + ] + } }, { - "__docId__": 159, - "kind": "function", + "__docId__": 27, + "kind": "method", + "name": "add", + "memberof": "src/IntegerRing.js~IntegerRing", + "generator": false, + "async": false, "static": true, - "variation": null, - "name": "parse_keep_zeros", - "memberof": "src/1-new/convert/parse_keep_zeros.js", - "longname": "src/1-new/convert/parse_keep_zeros.js~parse_keep_zeros", + "longname": "src/IntegerRing.js~IntegerRing.add", "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/convert/parse_keep_zeros.js", - "importStyle": "{parse_keep_zeros}", "description": null, - "lineNumber": 3, + "lineNumber": 44, "undocument": true, - "params": [ + "unknown": [ { - "name": "f", - "types": [ - "*" - ] - }, + "tagName": "@_undocument", + "tagValue": "" + } + ], + "params": [ { - "name": "t", + "name": "first", "types": [ "*" ] }, { - "name": "string", + "name": "second", "types": [ "*" ] @@ -4028,64 +781,75 @@ "types": [ "*" ] - }, - "generator": false - }, - { - "__docId__": 160, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/convert/stringify.js", - "memberof": null, - "longname": "src/1-new/convert/stringify.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "import { convert , _to_string } from '.' ;\n\nexport function stringify ( f , t , a , ai , aj ) {\n\n\tif ( t > 36 ) throw 't > 36 not implemented' ;\n\n\tconst b = convert( f , t , a , ai , aj ) ;\n\n\treturn _to_string( b ) ;\n\n}\n" + } }, { - "__docId__": 161, - "kind": "function", + "__docId__": 28, + "kind": "method", + "name": "sub", + "memberof": "src/IntegerRing.js~IntegerRing", + "generator": false, + "async": false, "static": true, - "variation": null, - "name": "stringify", - "memberof": "src/1-new/convert/stringify.js", - "longname": "src/1-new/convert/stringify.js~stringify", + "longname": "src/IntegerRing.js~IntegerRing.sub", "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/convert/stringify.js", - "importStyle": "{stringify}", "description": null, - "lineNumber": 3, + "lineNumber": 48, "undocument": true, + "unknown": [ + { + "tagName": "@_undocument", + "tagValue": "" + } + ], "params": [ { - "name": "f", + "name": "first", "types": [ "*" ] }, { - "name": "t", + "name": "second", "types": [ "*" ] - }, + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 29, + "kind": "method", + "name": "mul", + "memberof": "src/IntegerRing.js~IntegerRing", + "generator": false, + "async": false, + "static": true, + "longname": "src/IntegerRing.js~IntegerRing.mul", + "access": null, + "description": null, + "lineNumber": 52, + "undocument": true, + "unknown": [ { - "name": "a", - "types": [ - "*" - ] - }, + "tagName": "@_undocument", + "tagValue": "" + } + ], + "params": [ { - "name": "ai", + "name": "first", "types": [ "*" ] }, { - "name": "aj", + "name": "second", "types": [ "*" ] @@ -4095,64 +859,75 @@ "types": [ "*" ] - }, - "generator": false - }, - { - "__docId__": 162, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/convert/stringify_keep_zeros.js", - "memberof": null, - "longname": "src/1-new/convert/stringify_keep_zeros.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "import { convert_keep_zeros , _to_string } from '.' ;\n\nexport function stringify_keep_zeros ( f , t , a , ai , aj ) {\n\n\tif ( t > 36 ) throw 't > 36 not implemented' ;\n\n\tconst b = convert_keep_zeros( f , t , a , ai , aj ) ;\n\n\treturn _to_string( b ) ;\n\n}\n" + } }, { - "__docId__": 163, - "kind": "function", + "__docId__": 30, + "kind": "method", + "name": "pow", + "memberof": "src/IntegerRing.js~IntegerRing", + "generator": false, + "async": false, "static": true, - "variation": null, - "name": "stringify_keep_zeros", - "memberof": "src/1-new/convert/stringify_keep_zeros.js", - "longname": "src/1-new/convert/stringify_keep_zeros.js~stringify_keep_zeros", + "longname": "src/IntegerRing.js~IntegerRing.pow", "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/convert/stringify_keep_zeros.js", - "importStyle": "{stringify_keep_zeros}", "description": null, - "lineNumber": 3, + "lineNumber": 56, "undocument": true, + "unknown": [ + { + "tagName": "@_undocument", + "tagValue": "" + } + ], "params": [ { - "name": "f", + "name": "first", "types": [ "*" ] }, { - "name": "t", + "name": "second", "types": [ "*" ] - }, + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 31, + "kind": "method", + "name": "div", + "memberof": "src/IntegerRing.js~IntegerRing", + "generator": false, + "async": false, + "static": true, + "longname": "src/IntegerRing.js~IntegerRing.div", + "access": null, + "description": null, + "lineNumber": 60, + "undocument": true, + "unknown": [ { - "name": "a", - "types": [ - "*" - ] - }, + "tagName": "@_undocument", + "tagValue": "" + } + ], + "params": [ { - "name": "ai", + "name": "first", "types": [ "*" ] }, { - "name": "aj", + "name": "second", "types": [ "*" ] @@ -4162,52 +937,36 @@ "types": [ "*" ] - }, - "generator": false - }, - { - "__docId__": 164, - "kind": "file", - "static": true, - "variation": null, - "name": "src/1-new/convert/trim_natural.js", - "memberof": null, - "longname": "src/1-new/convert/trim_natural.js", - "access": null, - "description": null, - "lineNumber": 1, - "content": "import { _trim_positive , _alloc , _copy } from '.' ;\nexport function trim_natural ( a , ai , aj ) {\n\n\tconst x = _trim_positive( a , ai , aj ) ;\n\n\tif ( x >= aj ) return [ 0 ] ;\n\n\tconst b = _alloc( aj - x ) ;\n\n\t_copy( a , x , aj , b , 0 ) ;\n\n\treturn b ;\n\n}\n" + } }, { - "__docId__": 165, - "kind": "function", + "__docId__": 32, + "kind": "method", + "name": "mod", + "memberof": "src/IntegerRing.js~IntegerRing", + "generator": false, + "async": false, "static": true, - "variation": null, - "name": "trim_natural", - "memberof": "src/1-new/convert/trim_natural.js", - "longname": "src/1-new/convert/trim_natural.js~trim_natural", + "longname": "src/IntegerRing.js~IntegerRing.mod", "access": null, - "export": true, - "importPath": "aureooms-js-integer/src/1-new/convert/trim_natural.js", - "importStyle": "{trim_natural}", "description": null, - "lineNumber": 2, + "lineNumber": 64, "undocument": true, - "params": [ + "unknown": [ { - "name": "a", - "types": [ - "*" - ] - }, + "tagName": "@_undocument", + "tagValue": "" + } + ], + "params": [ { - "name": "ai", + "name": "first", "types": [ "*" ] }, { - "name": "aj", + "name": "second", "types": [ "*" ] @@ -4217,748 +976,716 @@ "types": [ "*" ] - }, - "generator": false + } }, { - "__docId__": 166, + "__docId__": 33, "kind": "file", + "name": "src/ZZ.js", + "content": "\nimport {\n\tDEFAULT_REPRESENTATION_BASE ,\n\tIntegerRing ,\n} from './' ;\n\nexport const ZZ = new IntegerRing( 'ZZ' , DEFAULT_REPRESENTATION_BASE ) ;\n", "static": true, - "variation": null, - "name": "src/1-new/index.js", - "memberof": null, - "longname": "src/1-new/index.js", + "longname": "src/ZZ.js", "access": null, "description": null, - "lineNumber": 1, - "content": "export * from './arithmetic' ;\nexport * from './compare' ;\nexport * from './convert' ;\n" + "lineNumber": 1 }, { - "__docId__": 167, - "kind": "file", + "__docId__": 34, + "kind": "variable", + "name": "ZZ", + "memberof": "src/ZZ.js", "static": true, - "variation": null, + "longname": "src/ZZ.js~ZZ", + "access": null, + "export": true, + "importPath": "@aureooms/js-integer/src/ZZ.js", + "importStyle": "{ZZ}", + "description": null, + "lineNumber": 7, + "undocument": true, + "unknown": [ + { + "tagName": "@_undocument", + "tagValue": "" + } + ], + "type": { + "types": [ + "src/.js~IntegerRing" + ] + } + }, + { + "__docId__": 35, + "kind": "file", "name": "src/index.js", - "memberof": null, + "content": "export * from './DEFAULT_DISPLAY_BASE' ;\nexport * from './DEFAULT_REPRESENTATION_BASE' ;\nexport * from './Integer' ;\nexport * from './IntegerRing' ;\nexport * from './ZZ' ;\n", + "static": true, "longname": "src/index.js", "access": null, "description": null, - "lineNumber": 1, - "content": "export * from './0-legacy' ;\nexport * from './1-new' ;\n" + "lineNumber": 1 }, { - "__docId__": 169, + "__docId__": 37, "kind": "external", - "static": true, - "variation": null, "name": "Infinity", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~Infinity", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 170, + "__docId__": 38, "kind": "external", - "static": true, - "variation": null, "name": "NaN", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~NaN", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 171, + "__docId__": 39, "kind": "external", - "static": true, - "variation": null, "name": "undefined", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~undefined", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 172, + "__docId__": 40, "kind": "external", - "static": true, - "variation": null, "name": "null", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~null", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 173, + "__docId__": 41, "kind": "external", - "static": true, - "variation": null, "name": "Object", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~Object", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 174, + "__docId__": 42, "kind": "external", - "static": true, - "variation": null, "name": "object", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~object", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 175, + "__docId__": 43, "kind": "external", - "static": true, - "variation": null, "name": "Function", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~Function", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 176, + "__docId__": 44, "kind": "external", - "static": true, - "variation": null, "name": "function", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~function", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 177, + "__docId__": 45, "kind": "external", - "static": true, - "variation": null, "name": "Boolean", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~Boolean", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 178, + "__docId__": 46, "kind": "external", - "static": true, - "variation": null, "name": "boolean", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~boolean", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 179, + "__docId__": 47, "kind": "external", - "static": true, - "variation": null, "name": "Symbol", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~Symbol", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 180, + "__docId__": 48, "kind": "external", - "static": true, - "variation": null, "name": "Error", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~Error", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 181, + "__docId__": 49, "kind": "external", - "static": true, - "variation": null, "name": "EvalError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~EvalError", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 182, + "__docId__": 50, "kind": "external", - "static": true, - "variation": null, "name": "InternalError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~InternalError", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 183, + "__docId__": 51, "kind": "external", - "static": true, - "variation": null, "name": "RangeError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~RangeError", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 184, + "__docId__": 52, "kind": "external", - "static": true, - "variation": null, "name": "ReferenceError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~ReferenceError", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 185, + "__docId__": 53, "kind": "external", - "static": true, - "variation": null, "name": "SyntaxError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~SyntaxError", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 186, + "__docId__": 54, "kind": "external", - "static": true, - "variation": null, "name": "TypeError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~TypeError", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 187, + "__docId__": 55, "kind": "external", - "static": true, - "variation": null, "name": "URIError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~URIError", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 188, + "__docId__": 56, "kind": "external", - "static": true, - "variation": null, "name": "Number", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~Number", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 189, + "__docId__": 57, "kind": "external", - "static": true, - "variation": null, "name": "number", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~number", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 190, + "__docId__": 58, "kind": "external", - "static": true, - "variation": null, "name": "Date", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~Date", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 191, + "__docId__": 59, "kind": "external", - "static": true, - "variation": null, "name": "String", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~String", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 192, + "__docId__": 60, "kind": "external", - "static": true, - "variation": null, "name": "string", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~string", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 193, + "__docId__": 61, "kind": "external", - "static": true, - "variation": null, "name": "RegExp", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~RegExp", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 194, + "__docId__": 62, "kind": "external", - "static": true, - "variation": null, "name": "Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~Array", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 195, + "__docId__": 63, "kind": "external", - "static": true, - "variation": null, "name": "Int8Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~Int8Array", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 196, + "__docId__": 64, "kind": "external", - "static": true, - "variation": null, "name": "Uint8Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~Uint8Array", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 197, + "__docId__": 65, "kind": "external", - "static": true, - "variation": null, "name": "Uint8ClampedArray", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~Uint8ClampedArray", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 198, + "__docId__": 66, "kind": "external", - "static": true, - "variation": null, "name": "Int16Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~Int16Array", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 199, + "__docId__": 67, "kind": "external", - "static": true, - "variation": null, "name": "Uint16Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~Uint16Array", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 200, + "__docId__": 68, "kind": "external", - "static": true, - "variation": null, "name": "Int32Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~Int32Array", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 201, + "__docId__": 69, "kind": "external", - "static": true, - "variation": null, "name": "Uint32Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~Uint32Array", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 202, + "__docId__": 70, "kind": "external", - "static": true, - "variation": null, "name": "Float32Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~Float32Array", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 203, + "__docId__": 71, "kind": "external", - "static": true, - "variation": null, "name": "Float64Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~Float64Array", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 204, + "__docId__": 72, "kind": "external", - "static": true, - "variation": null, "name": "Map", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~Map", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 205, + "__docId__": 73, "kind": "external", - "static": true, - "variation": null, "name": "Set", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~Set", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 206, + "__docId__": 74, "kind": "external", - "static": true, - "variation": null, "name": "WeakMap", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~WeakMap", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 207, + "__docId__": 75, "kind": "external", - "static": true, - "variation": null, "name": "WeakSet", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~WeakSet", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 208, + "__docId__": 76, "kind": "external", - "static": true, - "variation": null, "name": "ArrayBuffer", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~ArrayBuffer", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 209, + "__docId__": 77, "kind": "external", - "static": true, - "variation": null, "name": "DataView", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~DataView", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 210, + "__docId__": 78, "kind": "external", - "static": true, - "variation": null, "name": "JSON", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~JSON", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 211, + "__docId__": 79, "kind": "external", - "static": true, - "variation": null, "name": "Promise", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~Promise", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 212, + "__docId__": 80, "kind": "external", - "static": true, - "variation": null, "name": "Generator", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~Generator", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 213, + "__docId__": 81, "kind": "external", - "static": true, - "variation": null, "name": "GeneratorFunction", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~GeneratorFunction", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 214, + "__docId__": 82, "kind": "external", - "static": true, - "variation": null, "name": "Reflect", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~Reflect", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 215, + "__docId__": 83, "kind": "external", - "static": true, - "variation": null, "name": "Proxy", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy", "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "static": true, "longname": "BuiltinExternal/ECMAScriptExternal.js~Proxy", "access": null, "description": "", + "lineNumber": 193, "builtinExternal": true }, { - "__docId__": 217, + "__docId__": 85, "kind": "external", - "static": true, - "variation": null, "name": "CanvasRenderingContext2D", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D", "memberof": "BuiltinExternal/WebAPIExternal.js", + "static": true, "longname": "BuiltinExternal/WebAPIExternal.js~CanvasRenderingContext2D", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 218, + "__docId__": 86, "kind": "external", - "static": true, - "variation": null, "name": "DocumentFragment", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment", "memberof": "BuiltinExternal/WebAPIExternal.js", + "static": true, "longname": "BuiltinExternal/WebAPIExternal.js~DocumentFragment", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 219, + "__docId__": 87, "kind": "external", - "static": true, - "variation": null, "name": "Element", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Element", "memberof": "BuiltinExternal/WebAPIExternal.js", + "static": true, "longname": "BuiltinExternal/WebAPIExternal.js~Element", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 220, + "__docId__": 88, "kind": "external", - "static": true, - "variation": null, "name": "Event", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Event", "memberof": "BuiltinExternal/WebAPIExternal.js", + "static": true, "longname": "BuiltinExternal/WebAPIExternal.js~Event", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 221, + "__docId__": 89, "kind": "external", - "static": true, - "variation": null, "name": "Node", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Node", "memberof": "BuiltinExternal/WebAPIExternal.js", + "static": true, "longname": "BuiltinExternal/WebAPIExternal.js~Node", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 222, + "__docId__": 90, "kind": "external", - "static": true, - "variation": null, "name": "NodeList", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/NodeList", "memberof": "BuiltinExternal/WebAPIExternal.js", + "static": true, "longname": "BuiltinExternal/WebAPIExternal.js~NodeList", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 223, + "__docId__": 91, "kind": "external", - "static": true, - "variation": null, "name": "XMLHttpRequest", "externalLink": "https://developer.mozilla.org/en/docs/Web/API/XMLHttpRequest", "memberof": "BuiltinExternal/WebAPIExternal.js", + "static": true, "longname": "BuiltinExternal/WebAPIExternal.js~XMLHttpRequest", "access": null, "description": "", "builtinExternal": true }, { - "__docId__": 224, + "__docId__": 92, "kind": "external", - "static": true, - "variation": null, "name": "AudioContext", "externalLink": "https://developer.mozilla.org/en/docs/Web/API/AudioContext", "memberof": "BuiltinExternal/WebAPIExternal.js", + "static": true, "longname": "BuiltinExternal/WebAPIExternal.js~AudioContext", "access": null, "description": "", + "lineNumber": 34, "builtinExternal": true } ] \ No newline at end of file diff --git a/file/src/0-legacy/abs/abs.js.html b/file/src/0-legacy/abs/abs.js.html deleted file mode 100644 index e69f44e..0000000 --- a/file/src/0-legacy/abs/abs.js.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - src/0-legacy/abs/abs.js | aureooms/js-integer API Document - - - - - - - - - - - -

    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/abs/abs.js

    -
    /**
    - * COMPUTE THE ABSOLUTE VALUE OF NUMBER n
    - */
    -
    -// exports.abs = function abs() {};
    -
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/abs/index.js.html b/file/src/0-legacy/abs/index.js.html deleted file mode 100644 index 1a12fc0..0000000 --- a/file/src/0-legacy/abs/index.js.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - src/0-legacy/abs/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/abs/index.js

    -
    export * from './abs' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/arithmetic/add/add.js.html b/file/src/0-legacy/arithmetic/add/add.js.html deleted file mode 100644 index 8d6ff54..0000000 --- a/file/src/0-legacy/arithmetic/add/add.js.html +++ /dev/null @@ -1,214 +0,0 @@ - - - - - - src/0-legacy/arithmetic/add/add.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/arithmetic/add/add.js

    -
    
    -/**
    - * @param {int} r base (radix)
    - */
    -
    -
    -export function badd_t (r) {
    -
    -
    -	/**
    -	 * Adds two big endian arrays, k >= i >= j
    -	 * wraps
    -	 *
    -	 * @param {array} a first operand
    -	 * @param {int} i0 a left
    -	 * @param {int} i1 a right
    -	 * @param {array} b second operand
    -	 * @param {int} j0 b left
    -	 * @param {int} j1 b right
    -	 * @param {array} c result, must be 0 initialized
    -	 * @param {int} k0 c left
    -	 * @param {int} k1 c right
    -	 */
    -
    -	return function(a, i0, i1, b, j0, j1, c, k0, k1){
    -		var t, C = 0;
    -
    -		while(--j1 >= j0){
    -			--i1; --k1;
    -			t = a[i1] + b[j1] + C;
    -			c[k1] = t % r;
    -			C = t / r >= 1;
    -		}
    -
    -		while(--i1 >= i0){
    -			--k1;
    -			t = a[i1] + C;
    -			c[k1] = t % r;
    -			C = t / r >= 1;
    -		}
    -
    -		if(--k1 >= k0){
    -			c[k1] = +C;
    -		}
    -
    -	};
    -
    -}
    -
    -
    -/**
    - * @param {int} r base (radix)
    - */
    -
    -export function ladd_t(r){
    -
    -	/**
    -	 * Adds two little endian arrays, k >= i >= j
    -	 * wraps
    -	 *
    -	 * @param {array} a first operand
    -	 * @param {int} i0 a left
    -	 * @param {int} i1 a right
    -	 * @param {array} b second operand
    -	 * @param {int} j0 b left
    -	 * @param {int} j1 b right
    -	 * @param {array} c result, must be 0 initialized
    -	 * @param {int} k0 c left
    -	 * @param {int} k1 c right
    -	 */
    -
    -	return function(a, i0, i1, b, j0, j1, c, k0, k1){
    -		var t, C = 0;
    -
    -		while(j0 < j1){
    -			t = a[i0] + b[j0] + C;
    -			c[k0] = t % r;
    -			C = t / r >= 1;
    -			++i0; ++j0; ++k0;
    -		}
    -
    -		while(i0 < i1){
    -			t = a[i0] + C;
    -			c[k0] = t % r;
    -			C = t / r >= 1;
    -			++i0; ++k0;
    -		}
    -
    -		if(k0 < k1){
    -			c[k0] = +C;
    -		}
    -
    -	};
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/arithmetic/add/index.js.html b/file/src/0-legacy/arithmetic/add/index.js.html deleted file mode 100644 index 1df2dc5..0000000 --- a/file/src/0-legacy/arithmetic/add/index.js.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - src/0-legacy/arithmetic/add/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/arithmetic/add/index.js

    -
    export * from './add' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/arithmetic/div/dcdiv.js.html b/file/src/0-legacy/arithmetic/div/dcdiv.js.html deleted file mode 100644 index bfa22e4..0000000 --- a/file/src/0-legacy/arithmetic/div/dcdiv.js.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - src/0-legacy/arithmetic/div/dcdiv.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/arithmetic/div/dcdiv.js

    -
    
    -// https://gmplib.org/manual/Divide-and-Conquer-Division.html
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/arithmetic/div/div.js.html b/file/src/0-legacy/arithmetic/div/div.js.html deleted file mode 100644 index 5accc1a..0000000 --- a/file/src/0-legacy/arithmetic/div/div.js.html +++ /dev/null @@ -1,193 +0,0 @@ - - - - - - src/0-legacy/arithmetic/div/div.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/arithmetic/div/div.js

    -
    
    -
    -
    -export function bdiv_t (lt, sub){
    -
    -	/**
    -	 * Computes quotient and remainder of two big endian arrays.
    -	 * <p>
    -	 * Computes quotient and remainder of two big endian arrays
    -	 * using long division algorithm (the one teached in
    -	 * european primary schools).
    -	 *
    -	 * /!\ This algorithm modifies its first operand.
    -	 *
    -	 * HYP : q is at least as large as r
    -	 *       b is not zero
    -	 *
    -	 * @param {array} r dividend and remainder
    -	 * @param {int} ri r left
    -	 * @param {int} rj r right
    -	 * @param {array} b divisor
    -	 * @param {int} bi b left
    -	 * @param {int} bj b right
    -	 * @param {array} q quotient, must be 0 initialized
    -	 * @param {int} qi q left
    -	 */
    -
    -	// /!\ There are implicit hypotheses
    -	//     made on the size of the operands.
    -	//     Should clarify.
    -
    -	var div = function(r, ri, rj, b, bi, bj, q, qi){
    -		var k, t = ri + 1;
    -
    -		do {
    -
    -			// trim leading zeros
    -			//     - maybe could try to put this procedure inside the sub loop
    -			//     - or assume that the number is trimed at the begining
    -			//       and put this statement at the end of the main loop
    -			while (ri < rj && r[ri] === 0) ++ri;
    -
    -			// search for a remainder block interval
    -			// greater than the divisor
    -			//     - maybe could try binary search on the lt function
    -			//     for another implementation
    -			k = ri + 1;
    -			while (k <= rj && lt(r, ri, k, b, bi, bj)) ++k;
    -
    -			// remainder smaller than divisor --> end
    -			if (k > rj) break;
    -
    -			// divide current block interval by quotient
    -			do{
    -
    -				// increment quotient block corresponding
    -				// to current ls block of remainder interval
    -				++q[qi + k - t];
    -
    -				// subtract divisor from current remainder
    -				// block interval
    -				sub(r, ri, k, b, bi, bj, r, ri, k);
    -
    -			} while(!lt(r, ri, k, b, bi, bj));
    -
    -
    -		} while(true);
    -
    -	};
    -
    -	return div;
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/arithmetic/div/fourierdiv.js.html b/file/src/0-legacy/arithmetic/div/fourierdiv.js.html deleted file mode 100644 index aa0b095..0000000 --- a/file/src/0-legacy/arithmetic/div/fourierdiv.js.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - src/0-legacy/arithmetic/div/fourierdiv.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/arithmetic/div/fourierdiv.js

    -
    
    -// http://en.wikipedia.org/wiki/Fourier_division
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/arithmetic/div/index.js.html b/file/src/0-legacy/arithmetic/div/index.js.html deleted file mode 100644 index 961f442..0000000 --- a/file/src/0-legacy/arithmetic/div/index.js.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - src/0-legacy/arithmetic/div/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/arithmetic/div/index.js

    -
    export * from './dcdiv' ;
    -export * from './div' ;
    -export * from './fourierdiv' ;
    -export * from './knuthd' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/arithmetic/div/knuthd.js.html b/file/src/0-legacy/arithmetic/div/knuthd.js.html deleted file mode 100644 index 8c15500..0000000 --- a/file/src/0-legacy/arithmetic/div/knuthd.js.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - src/0-legacy/arithmetic/div/knuthd.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/arithmetic/div/knuthd.js

    -
    
    -// http://books.google.be/books?id=VicPJYM0I5QC&pg=PA184&lpg=PA184&dq=knuth+algorithm+d&source=bl&ots=2n-NJWuw1o&sig=47hDkFG780BqE2mmi9OMPqbK4Fs&hl=en&sa=X&ei=_ioMVKbKFMawOZT_gaAH&ved=0CDkQ6AEwAw#v=onepage&q=knuth%20algorithm%20d&f=false
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/arithmetic/index.js.html b/file/src/0-legacy/arithmetic/index.js.html deleted file mode 100644 index b571876..0000000 --- a/file/src/0-legacy/arithmetic/index.js.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - src/0-legacy/arithmetic/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/arithmetic/index.js

    -
    export * from './add' ;
    -export * from './div' ;
    -export * from './mul' ;
    -export * from './sub' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/arithmetic/mul/index.js.html b/file/src/0-legacy/arithmetic/mul/index.js.html deleted file mode 100644 index f80d7ff..0000000 --- a/file/src/0-legacy/arithmetic/mul/index.js.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - src/0-legacy/arithmetic/mul/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/arithmetic/mul/index.js

    -
    export * from './karatsuba' ;
    -export * from './mul' ;
    -export * from './mul53' ;
    -export * from './toomcook' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/arithmetic/mul/karatsuba.js.html b/file/src/0-legacy/arithmetic/mul/karatsuba.js.html deleted file mode 100644 index 8a68d97..0000000 --- a/file/src/0-legacy/arithmetic/mul/karatsuba.js.html +++ /dev/null @@ -1,273 +0,0 @@ - - - - - - src/0-legacy/arithmetic/mul/karatsuba.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/arithmetic/mul/karatsuba.js

    -
    /**
    - * /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)
    - *
    - *
    - * @param {function} add addition algorithm
    - * @param {function} sub subtraction algorithm
    - * @param {function} mul multiplication algorithm
    - * @param {function} copy copy algorithm
    - * @param {function} calloc array allocator
    - * @param {uint} r base (radix)
    - *
    - *
    - * EXPLANATION
    - * ###########
    - *
    - * We consider the numbers a and b, both of size N = 2n.
    - *
    - * We divide a and b into their lower and upper parts.
    - *
    - * a = a1 r^{n} + a0 (1)
    - * b = b1 r^{n} + b0 (2)
    - *
    - * We express the product of a and b using their lower and upper parts.
    - *
    - * a b = (a1 r^{n} + a0) (b1 r^{n} + b0) (3)
    - *     = a1 b1 r^{2n} + (a1 b0 + a0 b1) r^{n} + a0 b0 (4)
    - *
    - * This gives us 4 multiplications with operands of size n.
    - * Using a simple trick, we can reduce this computation to 3 multiplications.
    - *
    - * We give the 3 terms of (4) the names z0, z1 and z2.
    - *
    - * z2 = a1 b1
    - * z1 = a1 b0 + a0 b1
    - * z0 = a0 b0
    - *
    - * a b  = z2 r^{2n} + z1 r^{n} + z0
    - *
    - * We then express z1 using z0, z2 and one additional multiplication.
    - *
    - * (a1 + a0)(b1 + b0) = a1 b1 + a0 b0 + (a1 b0 + a0 b1)
    - *                    = z2 + z0 + z1
    - *
    - * z1 = (a1 + a0)(b1 + b0) - z2 - z0
    - *
    - * AN ANOTHER WAY AROUND (not used here)
    - *
    - * (a1 - a0)(b1 - b0) = (a1 b1 + a0 b0) - (a1 b0 + a0 b1)
    - * (a0 - a1)(b1 - b0) = (a1 b0 + a0 b1) - (a1 b1 + a0 b0)
    - * a b = (r^{2n} + r^{n})a1 b1 + r^{n}(a0 - a1)(b1 - b0) + (r^{n} + 1)a0 b0
    - *
    - * This algorithm is a generalization of the Toom-Cook algorithm, when m = n = 2.
    - *
    - * For further reference, see
    - *  - http://en.wikipedia.org/wiki/Karatsuba_algorithm
    - *  - http://en.wikipedia.org/wiki/Toom–Cook_multiplication
    - */
    -
    -export function bkaratsuba_t (add, sub, mul, calloc, mov, r, wrap){
    -
    -	/**
    -	 * Multiply two big endian arrays using karatsuba algorithm,
    -	 * i >= j, k >= 2 * i
    -	 *
    -	 *
    -	 * @param {array} a first operand
    -	 * @param {int} ai a left
    -	 * @param {int} aj a right
    -	 * @param {array} b second operand
    -	 * @param {int} bi b left
    -	 * @param {int} bj b right
    -	 * @param {array} c result, must be 0 initialized
    -	 * @param {int} ci c left
    -	 * @param {int} cj c right
    -	 */
    -
    -	var karatsuba = function(a, ai, aj, b, bi, bj, c, ci, cj){
    -
    -		var z0, z2, t1, t2, t3, n, I, N, N_, i_, j_, i, j, k;
    -
    -		i = aj - ai;
    -		j = bj - bi;
    -		k = cj - ci;
    -
    -		// EMPTY CASE
    -		if (i <= 0 || j <= 0 || k <= 0) return;
    -
    -		// BASE CASE i = j = 1
    -		if (i === 1) {
    -
    -			z0 = a[ai] * b[bi];
    -			c[cj-1] = z0 % r;
    -
    -			if (k > 1) {
    -				c[cj-2] = (z0 - c[cj-1]) / r;
    -			}
    -
    -		}
    -
    -		// RECURSION
    -		else{
    -			n  = Math.ceil(i / 2);
    -			I  = i + j;
    -			N  = 2 * n;
    -			N_ = I - N;
    -			i_ = aj - n;
    -			j_ = Math.max(bi, bj - n);
    -
    -			t1 = calloc(n + 1); // + 1 to handle addition overflows
    -			t2 = calloc(n + 1); // and guarantee reducing k for the
    -			t3 = calloc(N + 1); // recursive calls
    -			z2 = calloc(N_);
    -			z0 = calloc(N);
    -
    -		// RECURSIVE CALLS
    -			mul(a, ai, i_, b, bi, j_, z2, 0, N_);            // z2 = a1.b1
    -			mul(a, i_, aj, b, j_, bj, z0, 0, N);             // z0 = a0.b0
    -			add(a, i_, aj, a, ai, i_, t1, 0, n + 1);         // (a0 + a1)
    -			add(b, bi, j_, b, j_, bj, t2, 0, n + 1);         // (b1 + b0)
    -			mul(t1, 1, n + 1, t2, 1, n + 1, t3, 1, N + 1);   // (a0 + a1)(b1 + b0)
    -
    -		// BUILD OUTPUT
    -			mov(z2, 0, N_, c, cj - I);                       // + z2 . r^{2n}
    -			mov(z0, 0, N , c, cj - N);                       // + z0
    -
    -			if (t1[0]) {
    -				// overflow on t1, add t2 . r^{n}
    -				add(t3, 0, N + 1 - n, t2, 1, n + 1, t3, 0, N + 1 - n);
    -			}
    -
    -			if (t2[0]) {
    -				// overflow on t2, add t1 . r^{n}
    -				add(t3, 0, N + 1 - n, t1, 1, n + 1, t3, 0, N + 1 - n);
    -			}
    -
    -			if (t1[0] && t2[0]) {
    -				// overflow on t1 and t2, add 1 . r^{n+1}
    -				add(t3, 0, N - n, t1, 0, 1, t3, 0, N - n);
    -			}
    -
    -			add(c, ci, cj - n, t3, 0, N + 1, c, ci, cj - n); // + (a0 + a1)(b1 + b0) . r^{n}
    -			sub(c, ci, cj - n, z2, 0, N_, c, ci, cj - n);    // - z2 . r^{n}
    -			sub(c, ci, cj - n, z0, 0, N, c, ci, cj - n);     // - z1 . r^{n}
    -		}
    -
    -	};
    -
    -	if (wrap !== undefined) karatsuba = wrap(karatsuba);
    -	if (mul === undefined) mul = karatsuba;
    -
    -	return karatsuba;
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/arithmetic/mul/mul.js.html b/file/src/0-legacy/arithmetic/mul/mul.js.html deleted file mode 100644 index d5251ca..0000000 --- a/file/src/0-legacy/arithmetic/mul/mul.js.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - src/0-legacy/arithmetic/mul/mul.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/arithmetic/mul/mul.js

    -
    
    -export function bmul_t (r){
    -
    -	/**
    -	 * Computes product of two big endian arrays.
    -	 * <p>
    -	 * Computes product of two big endian arrays
    -	 * using long multiplication algorithm (the one teached in
    -	 * european primary schools)
    -	 */
    -
    -	var mul = function(a, ai, aj, b, bi, bj, c, ci, cj){
    -		var ak, ck = --cj, ct, t, u, v, w, y, z;
    -
    -		while (bj --> bi && ck >= ci) {
    -			for (ak = aj, w = 0; ak --> ai && ck >= ci; --ck) {
    -				t = b[bj] * a[ak];
    -				u = t % r;
    -				v = c[ck] + u + w;
    -
    -				y = v % r;
    -
    -				c[ck] = y;
    -
    -				z = (v - y) / r;
    -
    -				for (ct = ck - 1; z > 0 && ct >= ci; --ct) {
    -					v = c[ct] + z;
    -					y = v % r;
    -					c[ct] = y;
    -					z = (v - y) / r;
    -				}
    -
    -				w = (t - u) / r;
    -			}
    -			ck = --cj;
    -		}
    -	};
    -
    -	return mul;
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/arithmetic/mul/mul53.js.html b/file/src/0-legacy/arithmetic/mul/mul53.js.html deleted file mode 100644 index 3b21939..0000000 --- a/file/src/0-legacy/arithmetic/mul/mul53.js.html +++ /dev/null @@ -1,209 +0,0 @@ - - - - - - src/0-legacy/arithmetic/mul/mul53.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/arithmetic/mul/mul53.js

    -
    /**
    - * /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)
    - *
    - * big endian 1 block multiplication
    - *
    - */
    -
    -export function bmul53_t (r){
    -
    -	/**
    -	 * Multiply two blocks, result is put in a 1 or 2 blocks big endian array.
    -	 * aj - ai <= 1, bj - bi <= 1, cj - ci <= 2
    -	 *
    -	 *
    -	 * @param {array} a first operand
    -	 * @param {int} ai a left
    -	 * @param {int} aj a right
    -	 * @param {array} b second operand
    -	 * @param {int} bi b left
    -	 * @param {int} bj b right
    -	 * @param {array} c result, must be 0 initialized
    -	 * @param {int} ci c left
    -	 * @param {int} cj c right
    -	 */
    -
    -	var mul = function(a, ai, aj, b, bi, bj, c, ci, cj){
    -
    -		var v;
    -
    -		// EMPTY CASE
    -		if (aj <= ai || bj <= bi || cj <= ci) return;
    -
    -		v = a[ai] * b[bi];
    -		c[cj-1] = v % r;
    -
    -		if (cj > ci + 1) {
    -			c[cj-2] = (v - c[cj-1]) / r;
    -		}
    -
    -	};
    -
    -	return mul;
    -
    -}
    -
    -/**
    - * /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)
    - *
    - * little endian 1 block multiplication
    - *
    - */
    -
    -export function lmul53_t (r){
    -
    -	/**
    -	 * Multiply two blocks, result is put in a 1 or 2 blocks little endian array.
    -	 * aj - ai <= 1, bj - bi <= 1, cj - ci <= 2
    -	 *
    -	 *
    -	 * @param {array} a first operand
    -	 * @param {int} ai a left
    -	 * @param {int} aj a right
    -	 * @param {array} b second operand
    -	 * @param {int} bi b left
    -	 * @param {int} bj b right
    -	 * @param {array} c result, must be 0 initialized
    -	 * @param {int} ci c left
    -	 * @param {int} cj c right
    -	 */
    -
    -	var mul = function(a, ai, aj, b, bi, bj, c, ci, cj){
    -
    -		var v;
    -
    -		// EMPTY CASE
    -		if (aj <= ai || bj <= bi || cj <= ci) return;
    -
    -		v = a[ai] * b[bi];
    -		c[ci] = v % r;
    -
    -		if (cj > ci + 1) {
    -			c[ci+1] = (v - c[ci]) / r;
    -		}
    -
    -	};
    -
    -	return mul;
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/arithmetic/mul/toomcook.js.html b/file/src/0-legacy/arithmetic/mul/toomcook.js.html deleted file mode 100644 index 9c29f4f..0000000 --- a/file/src/0-legacy/arithmetic/mul/toomcook.js.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - src/0-legacy/arithmetic/mul/toomcook.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/arithmetic/mul/toomcook.js

    -
    
    -// http://en.wikipedia.org/wiki/Toom–Cook_multiplication
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/arithmetic/sub/index.js.html b/file/src/0-legacy/arithmetic/sub/index.js.html deleted file mode 100644 index f294c6c..0000000 --- a/file/src/0-legacy/arithmetic/sub/index.js.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - src/0-legacy/arithmetic/sub/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/arithmetic/sub/index.js

    -
    export * from './sub' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/arithmetic/sub/sub.js.html b/file/src/0-legacy/arithmetic/sub/sub.js.html deleted file mode 100644 index fafa482..0000000 --- a/file/src/0-legacy/arithmetic/sub/sub.js.html +++ /dev/null @@ -1,216 +0,0 @@ - - - - - - src/0-legacy/arithmetic/sub/sub.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/arithmetic/sub/sub.js

    -
    
    -/**
    - * @param {int} r base (radix)
    - */
    -
    -
    -export function bsub_t (r){
    -
    -	/**
    -	 * Subtracts two big endian arrays, k >= i >= j
    -	 * wraps
    -	 *
    -	 * @param {array} a first operand
    -	 * @param {int} ai a left
    -	 * @param {int} aj a right
    -	 * @param {array} b second operand
    -	 * @param {int} bi b left
    -	 * @param {int} bj b right
    -	 * @param {array} c result, must be 0 initialized
    -	 * @param {int} ci c left
    -	 * @param {int} cj c right
    -	 */
    -
    -	return function(a, ai, aj, b, bi, bj, c, ci, cj){
    -		var T, C = 0;
    -
    -		while(--bj >= bi){
    -			--aj; --cj;
    -			T = C;
    -			C = a[aj] < b[bj] + T;
    -			c[cj] = a[aj] - b[bj] + (C*r - T);
    -		}
    -
    -		while(--aj >= ai){
    -			--cj;
    -			T = C;
    -			C = a[aj] < T;
    -			c[cj] = a[aj] + (C*r - T);
    -		}
    -
    -		if(C){
    -			while(--cj >= ci){
    -				c[cj] = r - 1;
    -			}
    -		}
    -
    -	};
    -}
    -
    -
    -/**
    - * @param {int} r base (radix)
    - */
    -export function lsub_t (r){
    -
    -	/**
    -	 * Subtracts two little endian arrays, k >= i >= j
    -	 * wraps
    -	 *
    -	 * @param {array} a first operand
    -	 * @param {int} ai a left
    -	 * @param {int} aj a right
    -	 * @param {array} b second operand
    -	 * @param {int} bi b left
    -	 * @param {int} bj b right
    -	 * @param {array} c result, must be 0 initialized
    -	 * @param {int} ci c left
    -	 * @param {int} cj c right
    -	 */
    -
    -	return function(a, ai, aj, b, bi, bj, c, ci, cj){
    -		var T, C = 0;
    -
    -		while(bi < bj){
    -			T = C;
    -			C = a[ai] < b[bi] + T;
    -			c[ci] = a[ai] - b[bi] + (C*r - T);
    -			++ai; ++bi; ++ci;
    -		}
    -
    -		while(ai < aj){
    -			T = C;
    -			C = a[ai] < T;
    -			c[ci] = a[ai] + (C*r - T);
    -			++ai; ++ci;
    -		}
    -
    -		if(C){
    -			while(ci < cj){
    -				c[ci] = r - 1;
    -				++ci;
    -			}
    -		}
    -
    -	};
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/binary/and/and.js.html b/file/src/0-legacy/binary/and/and.js.html deleted file mode 100644 index daffc88..0000000 --- a/file/src/0-legacy/binary/and/and.js.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - - src/0-legacy/binary/and/and.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/binary/and/and.js

    -
    
    -/**
    - *
    - * BINARY and APPLIED ON a AND b
    - *
    - * Meaningful only when r is a power of 2.
    - *
    - * |a| = |b| = |c| > 0
    - *
    - *
    - */
    -
    -export function and (a, a0, b, b0, c, c0, c1) {
    -
    -	while (c0 < c1) c[c0++] = a[a0++] & b[b0++];
    -
    -}
    -
    -
    -/**
    - * BIG ENDIAN BINARY and APPLIED ON a AND b
    - *
    - * Meaningful only when r is a power of 2.
    - *
    - * |a| >= |b| > 0
    - *
    - * treats b as if it was represented with the same number of blocks as a
    - */
    -
    -export function band_t (r){
    -
    -	var _r = r / 2;
    -
    -	return function (a, a0, a1, b, b0, b1, c, c0, c1) {
    -
    -		var at = a1 - b1 + b0;
    -		var ct = c0 + at - a0;
    -
    -		if (b[b0] < _r) while (c0 < ct) c[c0++] = 0;
    -		else            while (c0 < ct) c[c0++] = a[a0++];
    -
    -		while (c0 < c1) c[c0++] = a[at++] & b[b0++];
    -
    -	};
    -
    -}
    -
    -
    -
    -
    -/**
    - * LITTLE ENDIAN BINARY and APPLIED ON a AND b
    - *
    - * Meaningful only when r is a power of 2.
    - *
    - * |a| >= |b| > 0
    - *
    - * treats b as if it was represented with the same number of blocks as a
    - */
    -
    -export function land_t (r){
    -
    -	var _r = r / 2;
    -
    -	return function (a, a0, a1, b, b0, b1, c, c0, c1) {
    -
    -		var ct = c0 + b1 - b0;
    -
    -		while (c0 < ct) c[c0++] = a[a0++] & b[b0++];
    -
    -		if (b[b0 - 1] < _r) while (c0 < c1) c[c0++] = 0;
    -		else                while (c0 < c1) c[c0++] = a[a0++];
    -
    -
    -	};
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/binary/and/index.js.html b/file/src/0-legacy/binary/and/index.js.html deleted file mode 100644 index 64e1e12..0000000 --- a/file/src/0-legacy/binary/and/index.js.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - src/0-legacy/binary/and/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/binary/and/index.js

    -
    export * from './and' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/binary/index.js.html b/file/src/0-legacy/binary/index.js.html deleted file mode 100644 index 79278d7..0000000 --- a/file/src/0-legacy/binary/index.js.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - src/0-legacy/binary/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/binary/index.js

    -
    export * from './and' ;
    -export * from './not' ;
    -export * from './or' ;
    -export * from './xor' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/binary/not/index.js.html b/file/src/0-legacy/binary/not/index.js.html deleted file mode 100644 index 9958c5a..0000000 --- a/file/src/0-legacy/binary/not/index.js.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - src/0-legacy/binary/not/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/binary/not/index.js

    -
    export * from './not' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/binary/not/not.js.html b/file/src/0-legacy/binary/not/not.js.html deleted file mode 100644 index f76674c..0000000 --- a/file/src/0-legacy/binary/not/not.js.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - src/0-legacy/binary/not/not.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/binary/not/not.js

    -
    /**
    - * BINARY not APPLIED ON a
    - */
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/binary/or/index.js.html b/file/src/0-legacy/binary/or/index.js.html deleted file mode 100644 index 6f6f256..0000000 --- a/file/src/0-legacy/binary/or/index.js.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - src/0-legacy/binary/or/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/binary/or/index.js

    -
    export * from './or' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/binary/or/or.js.html b/file/src/0-legacy/binary/or/or.js.html deleted file mode 100644 index b462c6e..0000000 --- a/file/src/0-legacy/binary/or/or.js.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - src/0-legacy/binary/or/or.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/binary/or/or.js

    -
    /**
    - * BINARY or APPLIED ON a AND b
    - */
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/binary/xor/index.js.html b/file/src/0-legacy/binary/xor/index.js.html deleted file mode 100644 index ac2f6a7..0000000 --- a/file/src/0-legacy/binary/xor/index.js.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - src/0-legacy/binary/xor/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/binary/xor/index.js

    -
    export * from './xor' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/binary/xor/xor.js.html b/file/src/0-legacy/binary/xor/xor.js.html deleted file mode 100644 index 4d854f6..0000000 --- a/file/src/0-legacy/binary/xor/xor.js.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - src/0-legacy/binary/xor/xor.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/binary/xor/xor.js

    -
    /**
    - * BINARY xor APPLIED ON a AND b
    - */
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/compare/cmp.js.html b/file/src/0-legacy/compare/cmp.js.html deleted file mode 100644 index fcc876e..0000000 --- a/file/src/0-legacy/compare/cmp.js.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - src/0-legacy/compare/cmp.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/compare/cmp.js

    -
    
    -export function bcmp_t ( ) {
    -
    -
    -	/**
    -	 * Compares two big endian arrays, |a| >= |b|
    -	 *
    -	 * @param {array} a first operand
    -	 * @param {int} ai a left
    -	 * @param {int} aj a right
    -	 * @param {array} b second operand
    -	 * @param {int} bi b left
    -	 * @param {int} bj b right
    -	 *
    -	 * @return {int} 1 if a > b; 0 if a = b; -1 otherwise.
    -	 */
    -
    -	return function(a, ai, aj, b, bi, bj){
    -
    -		var tmp = aj - bj + bi;
    -
    -		for (; ai < tmp; ++ai)
    -			if (a[ai] > 0) return 1;
    -
    -
    -		// same size aj - ai === bj - bi
    -		for (; ai < aj; ++ai, ++bi) {
    -			if (a[ai] > b[bi]) return  1;
    -			if (a[ai] < b[bi]) return -1;
    -		}
    -
    -		return 0;
    -	};
    -
    -}
    -
    -export function lcmp_t ( ) {
    -
    -	/**
    -	 * Compares two little endian arrays, |a| >= |b|
    -	 *
    -	 * @param {array} a first operand
    -	 * @param {int} ai a left
    -	 * @param {int} aj a right
    -	 * @param {array} b second operand
    -	 * @param {int} bi b left
    -	 * @param {int} bj b right
    -	 *
    -	 * @return {int} 1 if a > b; 0 if a = b; -1 otherwise.
    -	 */
    -
    -	return function(a, ai, aj, b, bi, bj){
    -
    -		var tmp = ai + bj - bi;
    -
    -		--aj; --bj;
    -
    -		for (; aj >= tmp; --aj)
    -			if (a[aj] > 0) return 1;
    -
    -
    -		// same size aj - ai === bj - bi
    -		for (; aj >= ai; --aj, --bj) {
    -			if (a[aj] > b[bj]) return  1;
    -			if (a[aj] < b[bj]) return -1;
    -		}
    -
    -		return 0;
    -	};
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/compare/eq.js.html b/file/src/0-legacy/compare/eq.js.html deleted file mode 100644 index 5a0e651..0000000 --- a/file/src/0-legacy/compare/eq.js.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - src/0-legacy/compare/eq.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/compare/eq.js

    -
    /**
    - * Wrapper for a comparison operator that returns true iff
    - * _a_ is equal to _b_.
    - */
    -
    -export function eq_t (cmp){
    -	return function (a, ai, aj, b, bi, bj) {
    -		return cmp(a, ai, aj, b, bi, bj) === 0;
    -	};
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/compare/ge.js.html b/file/src/0-legacy/compare/ge.js.html deleted file mode 100644 index e3a5169..0000000 --- a/file/src/0-legacy/compare/ge.js.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - src/0-legacy/compare/ge.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/compare/ge.js

    -
    
    -
    -/**
    - * Wrapper for a comparison operator that returns true iff
    - * _a_ is greater or equal to _b_.
    - */
    -
    -export function ge_t (cmp){
    -	return function (a, ai, aj, b, bi, bj) {
    -		return cmp(a, ai, aj, b, bi, bj) >= 0;
    -	};
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/compare/gt.js.html b/file/src/0-legacy/compare/gt.js.html deleted file mode 100644 index 56781f3..0000000 --- a/file/src/0-legacy/compare/gt.js.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - src/0-legacy/compare/gt.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/compare/gt.js

    -
    
    -
    -/**
    - * Wrapper for a comparison operator that returns true iff
    - * _a_ is greater than _b_.
    - */
    -
    -export function gt_t (cmp){
    -	return function (a, ai, aj, b, bi, bj) {
    -		return cmp(a, ai, aj, b, bi, bj) > 0;
    -	};
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/compare/index.js.html b/file/src/0-legacy/compare/index.js.html deleted file mode 100644 index e950040..0000000 --- a/file/src/0-legacy/compare/index.js.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - src/0-legacy/compare/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/compare/index.js

    -
    export * from './cmp' ;
    -export * from './eq' ;
    -export * from './ge' ;
    -export * from './gt' ;
    -export * from './le' ;
    -export * from './lt' ;
    -export * from './ne' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/compare/le.js.html b/file/src/0-legacy/compare/le.js.html deleted file mode 100644 index 088e11b..0000000 --- a/file/src/0-legacy/compare/le.js.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - src/0-legacy/compare/le.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/compare/le.js

    -
    
    -
    -/**
    - * Wrapper for a comparison operator that returns true iff
    - * _a_ is less or equal to _b_.
    - */
    -
    -export function le_t (cmp){
    -	return function (a, ai, aj, b, bi, bj) {
    -		return cmp(a, ai, aj, b, bi, bj) <= 0;
    -	};
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/compare/lt.js.html b/file/src/0-legacy/compare/lt.js.html deleted file mode 100644 index 2cad4f0..0000000 --- a/file/src/0-legacy/compare/lt.js.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - src/0-legacy/compare/lt.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/compare/lt.js

    -
    
    -
    -/**
    - * Wrapper for a comparison operator that returns true iff
    - * _a_ is less than _b_.
    - */
    -
    -export function lt_t (cmp){
    -	return function (a, ai, aj, b, bi, bj) {
    -		return cmp(a, ai, aj, b, bi, bj) < 0;
    -	};
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/compare/ne.js.html b/file/src/0-legacy/compare/ne.js.html deleted file mode 100644 index 0f40715..0000000 --- a/file/src/0-legacy/compare/ne.js.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - src/0-legacy/compare/ne.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/compare/ne.js

    -
    
    -
    -/**
    - * Wrapper for a comparison operator that returns true iff
    - * _a_ is not equal to _b_.
    - */
    -
    -export function ne_t (cmp){
    -	return function (a, ai, aj, b, bi, bj) {
    -		return cmp(a, ai, aj, b, bi, bj) !== 0;
    -	};
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/index.js.html b/file/src/0-legacy/index.js.html deleted file mode 100644 index f60b4f5..0000000 --- a/file/src/0-legacy/index.js.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - src/0-legacy/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/index.js

    -
    export * from './abs' ;
    -export * from './arithmetic' ;
    -export * from './binary' ;
    -export * from './compare' ;
    -export * from './others' ;
    -export * from './parse' ;
    -export * from './stringify' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/others/gcd/gcd.js.html b/file/src/0-legacy/others/gcd/gcd.js.html deleted file mode 100644 index 892ed5b..0000000 --- a/file/src/0-legacy/others/gcd/gcd.js.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - src/0-legacy/others/gcd/gcd.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/others/gcd/gcd.js

    -
    /**
    - * COMPUTE THE GREATEST COMMON DIVISOR OF a AND b
    - */
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/others/gcd/index.js.html b/file/src/0-legacy/others/gcd/index.js.html deleted file mode 100644 index 4b27523..0000000 --- a/file/src/0-legacy/others/gcd/index.js.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - src/0-legacy/others/gcd/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/others/gcd/index.js

    -
    export * from './gcd' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/others/index.js.html b/file/src/0-legacy/others/index.js.html deleted file mode 100644 index e698642..0000000 --- a/file/src/0-legacy/others/index.js.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - src/0-legacy/others/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/others/index.js

    -
    export * from './gcd' ;
    -export * from './lcm' ;
    -export * from './log' ;
    -export * from './mod' ;
    -export * from './mpow' ;
    -export * from './neg' ;
    -export * from './pow' ;
    -export * from './sha' ;
    -export * from './shl' ;
    -export * from './wrap' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/others/lcm/index.js.html b/file/src/0-legacy/others/lcm/index.js.html deleted file mode 100644 index c4a2d6f..0000000 --- a/file/src/0-legacy/others/lcm/index.js.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - src/0-legacy/others/lcm/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/others/lcm/index.js

    -
    export * from './lcm' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/others/lcm/lcm.js.html b/file/src/0-legacy/others/lcm/lcm.js.html deleted file mode 100644 index 0d5ba0b..0000000 --- a/file/src/0-legacy/others/lcm/lcm.js.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - src/0-legacy/others/lcm/lcm.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/others/lcm/lcm.js

    -
    /**
    - * COMPUTE THE LEAST COMMON MULTIPLE OF a AND b
    - */
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/others/log/index.js.html b/file/src/0-legacy/others/log/index.js.html deleted file mode 100644 index d0ad599..0000000 --- a/file/src/0-legacy/others/log/index.js.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - src/0-legacy/others/log/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/others/log/index.js

    -
    export * from './log' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/others/log/log.js.html b/file/src/0-legacy/others/log/log.js.html deleted file mode 100644 index dd06148..0000000 --- a/file/src/0-legacy/others/log/log.js.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - src/0-legacy/others/log/log.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/others/log/log.js

    -
    
    -/**
    - * FOR A NUMBER n COMPUTE THE GREATEST k SUCH THAT 2^k < n
    - */
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/others/mod/index.js.html b/file/src/0-legacy/others/mod/index.js.html deleted file mode 100644 index dbbfdd3..0000000 --- a/file/src/0-legacy/others/mod/index.js.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - src/0-legacy/others/mod/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/others/mod/index.js

    -
    export * from './mod' ;
    -export * from './montgomery' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/others/mod/mod.js.html b/file/src/0-legacy/others/mod/mod.js.html deleted file mode 100644 index e8423c1..0000000 --- a/file/src/0-legacy/others/mod/mod.js.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - src/0-legacy/others/mod/mod.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/others/mod/mod.js

    -
    
    -/**
    - * COMPUTE MODULUS (a % b)
    - */
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/others/mod/montgomery.js.html b/file/src/0-legacy/others/mod/montgomery.js.html deleted file mode 100644 index ab04049..0000000 --- a/file/src/0-legacy/others/mod/montgomery.js.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - src/0-legacy/others/mod/montgomery.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/others/mod/montgomery.js

    -
    
    -/**
    - * COMPUTE MODULUS USING MONTGOMERY REDUCTION : http://en.wikipedia.org/wiki/Montgomery_reduction
    - */
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/others/mpow/index.js.html b/file/src/0-legacy/others/mpow/index.js.html deleted file mode 100644 index aa3e38a..0000000 --- a/file/src/0-legacy/others/mpow/index.js.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - src/0-legacy/others/mpow/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/others/mpow/index.js

    -
    export * from './mpow' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/others/mpow/mpow.js.html b/file/src/0-legacy/others/mpow/mpow.js.html deleted file mode 100644 index f5440e5..0000000 --- a/file/src/0-legacy/others/mpow/mpow.js.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - src/0-legacy/others/mpow/mpow.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/others/mpow/mpow.js

    -
    /**
    - * MODULAR EXPONENTIATION : http://en.wikipedia.org/wiki/Modular_exponentiation
    - */
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/others/neg/index.js.html b/file/src/0-legacy/others/neg/index.js.html deleted file mode 100644 index ac5159f..0000000 --- a/file/src/0-legacy/others/neg/index.js.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - src/0-legacy/others/neg/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/others/neg/index.js

    -
    export * from './neg' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/others/neg/neg.js.html b/file/src/0-legacy/others/neg/neg.js.html deleted file mode 100644 index a99faca..0000000 --- a/file/src/0-legacy/others/neg/neg.js.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - src/0-legacy/others/neg/neg.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/others/neg/neg.js

    -
    /**
    - * COMPUTE THE NEGATIVE VALUE OF NUMBER n
    - */
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/others/pow/ebs.js.html b/file/src/0-legacy/others/pow/ebs.js.html deleted file mode 100644 index 8498aa4..0000000 --- a/file/src/0-legacy/others/pow/ebs.js.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - src/0-legacy/others/pow/ebs.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/others/pow/ebs.js

    -
    /**
    - * Computes pow(a, b) using exponentiation by squaring.
    - *
    - * *could add an additional base case for b = 1*
    - *
    - */
    -
    -export function __ebs__ (alloc, iszero, setone, iseven, div2, minus1) {
    -
    -	var ebs = function (a, ai, aj, b, bi, bj, c, ci, cj) {
    -
    -		var t, u, m, n;
    -
    -		if ( iszero(b, bi, bj) ) {
    -			setone(c, ci, cj);
    -		}
    -		else if ( iseven(b, bi, bj) ) {
    -			m = bj - bi;
    -			t = alloc(m);
    -			t = div2(b, bi, bj, t, 0, m);
    -
    -			n = cj - ci;
    -			u = alloc(n);
    -
    -			ebs(a, ai, aj, t, 0, m, u, 0, n);
    -
    -			mul(u, 0, n, u, 0, n, c, ci, cj);
    -		}
    -		else{
    -			m = bj - bi;
    -			t = alloc(m);
    -			t = minus1(b, bi, bj, t, 0, m);
    -
    -			n = cj - ci;
    -			u = alloc(n);
    -
    -			ebs(a, ai, aj, t, 0, m, u, 0, n);
    -
    -			mul(a, ai, aj, u, 0, n, c, ci, cj);
    -		}
    -	};
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/others/pow/index.js.html b/file/src/0-legacy/others/pow/index.js.html deleted file mode 100644 index 50545b7..0000000 --- a/file/src/0-legacy/others/pow/index.js.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - src/0-legacy/others/pow/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/others/pow/index.js

    -
    export * from './ebs' ;
    -export * from './pow' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/others/pow/pow.js.html b/file/src/0-legacy/others/pow/pow.js.html deleted file mode 100644 index 709e260..0000000 --- a/file/src/0-legacy/others/pow/pow.js.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - src/0-legacy/others/pow/pow.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/others/pow/pow.js

    -
    /**
    - * Computes pow(a, b) using naive exponentiation.
    - *
    - */
    -
    -export function __pow__ (alloc, isnotzero, setone, iseven, div2, minus1) {
    -
    -	var pow = function (a, ai, aj, b, bi, bj, c, ci, cj) {
    -
    -		var t, m;
    -
    -		setone(c, ci, cj);
    -
    -		while (isnotzero(b, bi, bj)) {
    -
    -			mul(c, ci, cj, a, ai, aj, c, ci, cj);
    -
    -			minus1(b, bi, bj, b, bi, bj);
    -		}
    -
    -	};
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/others/sha/index.js.html b/file/src/0-legacy/others/sha/index.js.html deleted file mode 100644 index a79543c..0000000 --- a/file/src/0-legacy/others/sha/index.js.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - src/0-legacy/others/sha/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/others/sha/index.js

    -
    export * from './sha' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/others/sha/sha.js.html b/file/src/0-legacy/others/sha/sha.js.html deleted file mode 100644 index 408eb1d..0000000 --- a/file/src/0-legacy/others/sha/sha.js.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - src/0-legacy/others/sha/sha.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/others/sha/sha.js

    -
    /**
    - * ARITHMETIC SHIFT
    - */
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/others/shl/index.js.html b/file/src/0-legacy/others/shl/index.js.html deleted file mode 100644 index 9d561b6..0000000 --- a/file/src/0-legacy/others/shl/index.js.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - src/0-legacy/others/shl/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/others/shl/index.js

    -
    export * from './shl' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/others/shl/shl.js.html b/file/src/0-legacy/others/shl/shl.js.html deleted file mode 100644 index c86922b..0000000 --- a/file/src/0-legacy/others/shl/shl.js.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - src/0-legacy/others/shl/shl.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/others/shl/shl.js

    -
    /**
    - * LOGICAL SHIFT
    - */
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/others/wrap/index.js.html b/file/src/0-legacy/others/wrap/index.js.html deleted file mode 100644 index 1b92673..0000000 --- a/file/src/0-legacy/others/wrap/index.js.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - src/0-legacy/others/wrap/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/others/wrap/index.js

    -
    export * from './wrapbin' ;
    -export * from './wrapcmp' ;
    -export * from './wrapmov' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/others/wrap/wrapbin.js.html b/file/src/0-legacy/others/wrap/wrapbin.js.html deleted file mode 100644 index 86f8ced..0000000 --- a/file/src/0-legacy/others/wrap/wrapbin.js.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - src/0-legacy/others/wrap/wrapbin.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/others/wrap/wrapbin.js

    -
    /**
    - * Wrapper for binary operator.
    - * Ensures
    - *
    - *     i >= j
    - *     i0, j0, k0 >= 0
    - *
    - */
    -
    -export function wrapbin (fn){
    -
    -	return function(a, i0, i1, b, j0, j1, c, k0, k1){
    -
    -		var i, j, k;
    -
    -		k0 = Math.max(0, k0);
    -		k = k1 - k0;
    -
    -		i0 = Math.max(0, i0, i1 - k);
    -		j0 = Math.max(0, j0, j1 - k);
    -		i = i1 - i0;
    -		j = j1 - j0;
    -
    -		if(i < j)
    -		return fn(b, j0, j1, a, i0, i1, c, k0, k1);
    -
    -		else
    -		return fn(a, i0, i1, b, j0, j1, c, k0, k1);
    -	};
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/others/wrap/wrapcmp.js.html b/file/src/0-legacy/others/wrap/wrapcmp.js.html deleted file mode 100644 index b08dc76..0000000 --- a/file/src/0-legacy/others/wrap/wrapcmp.js.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - src/0-legacy/others/wrap/wrapcmp.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/others/wrap/wrapcmp.js

    -
    
    -
    -
    -export function wrapcmp (cmp) {
    -
    -
    -	return function(a, ai, aj, b, bi, bj){
    -
    -		if (aj - ai + bi - bj < 0) {
    -			return - cmp(b, bi, bj, a, ai, aj);
    -		}
    -		else {
    -			return cmp(a, ai, aj, b, bi, bj);
    -		}
    -
    -	};
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/others/wrap/wrapmov.js.html b/file/src/0-legacy/others/wrap/wrapmov.js.html deleted file mode 100644 index 9d745a4..0000000 --- a/file/src/0-legacy/others/wrap/wrapmov.js.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - src/0-legacy/others/wrap/wrapmov.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/others/wrap/wrapmov.js

    -
    
    -
    -export function wrapmov (fn){
    -	return function(a, i, j, b, k){
    -
    -		if(i < 0){
    -			k -= i;
    -			i = 0;
    -		}
    -		if(k < 0){
    -			i -= k;
    -			k = 0;
    -		}
    -		return fn(a, i, j, b, k);
    -
    -	};
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/parse/index.js.html b/file/src/0-legacy/parse/index.js.html deleted file mode 100644 index 108074f..0000000 --- a/file/src/0-legacy/parse/index.js.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - src/0-legacy/parse/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/parse/index.js

    -
    export * from './parse' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/parse/parse.js.html b/file/src/0-legacy/parse/parse.js.html deleted file mode 100644 index f4acbc5..0000000 --- a/file/src/0-legacy/parse/parse.js.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - src/0-legacy/parse/parse.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/parse/parse.js

    -
    
    -/**
    - * Function template for number parsing.
    - * Endianess provided by the iterator function
    - * iterator function must be reverse ordered
    - *
    - * @param {int} f from radix
    - * @param {int} t to radix
    - * @param {function} iter iterator function
    - */
    -
    -
    -export function parse_t ( t , f , iter ) {
    -
    -	if(t >= f){
    -
    -		if(f > 36) throw 'f > 36 not implemented';
    -
    -		var z = 0, log = t;
    -		while(log >= f){
    -			if (log % f) break;
    -			log /= f;
    -			++z;
    -		}
    -
    -		if (log !== 1) throw 'log(f) does not divide log(t) not implemented';
    -
    -		// immediate log(t) divides log(f)
    -		return function(s, si, sj, a, ai, aj){
    -			var len = sj - si, k = sj - z, n = Math.ceil(len / z);
    -			var block = function(i){
    -				a[i] = parseInt(s.slice(Math.max(0, k), k + z), f);
    -				k -= z;
    -			};
    -
    -			iter(aj - n, aj, block);
    -
    -		};
    -
    -	}
    -	else throw 'f > t not implemented';
    -
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/stringify/index.js.html b/file/src/0-legacy/stringify/index.js.html deleted file mode 100644 index 262f0a7..0000000 --- a/file/src/0-legacy/stringify/index.js.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - src/0-legacy/stringify/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/stringify/index.js

    -
    export * from './stringify' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/0-legacy/stringify/stringify.js.html b/file/src/0-legacy/stringify/stringify.js.html deleted file mode 100644 index 43a9bb5..0000000 --- a/file/src/0-legacy/stringify/stringify.js.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - src/0-legacy/stringify/stringify.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/0-legacy/stringify/stringify.js

    -
    
    -/**
    - * Function template for number stringification.
    - * Endianess provided by the iterator function
    - *
    - * @param {int} f from radix
    - * @param {int} t to radix
    - * @param {function} iter iterator function
    - */
    -
    -
    -export function stringify_t (f, t, iter, zfill_t){
    -
    -	if(t <= f){
    -
    -		if(t > 36) throw 't > 36 not implemented';
    -
    -		var z = 0;
    -		while(f >= t){
    -			if(f % t) break;
    -			f /= t;
    -			++z;
    -		}
    -
    -		if(f !== 1) throw 'log(t) does not divide log(f) not implemented';
    -
    -		var zfill = zfill_t(z);
    -
    -		return function(a, i0, i1){
    -			var s = [];
    -			iter(i0, i1, function(i){
    -				s.push(zfill(Number(+a[i]).toString(t)));
    -			});
    -			return s.join('');
    -		};
    -
    -	}
    -	else throw 't > f not implemented';
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/arithmetic/div/_div.js.html b/file/src/1-new/arithmetic/div/_div.js.html deleted file mode 100644 index 4e13273..0000000 --- a/file/src/1-new/arithmetic/div/_div.js.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - - src/1-new/arithmetic/div/_div.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/arithmetic/div/_div.js

    -
    import { _sub } from '../sub' ;
    -import { _lt } from '../../compare' ;
    -
    -/**
    - * Computes quotient and remainder of two big endian arrays.
    - * <p>
    - * Computes quotient and remainder of two big endian arrays
    - * using long division algorithm (the one teached in
    - * european primary schools).
    - *
    - * /!\ This algorithm modifies its first operand.
    - *
    - * HYP : q is at least as large as r
    - *       b is not zero
    - *
    - * @param {int} x the radix
    - * @param {array} r dividend and remainder
    - * @param {int} ri r left
    - * @param {int} rj r right
    - * @param {array} b divisor
    - * @param {int} bi b left
    - * @param {int} bj b right
    - * @param {array} q quotient, must be 0 initialized
    - * @param {int} qi q left
    - */
    -
    -// /!\ There are implicit hypotheses
    -//     made on the size of the operands.
    -//     Should clarify.
    -
    -export function _div ( x , r , ri , rj , b , bi , bj , q , qi ) {
    -
    -	var k, t = ri + 1;
    -
    -	do {
    -
    -		// trim leading zeros
    -		//     - maybe could try to put this procedure inside the _sub loop
    -		//     - or assume that the number is trimed at the begining
    -		//       and put this statement at the end of the main loop
    -		while (ri < rj && r[ri] === 0) ++ri;
    -
    -		// search for a remainder block interval
    -		// greater than the divisor
    -		//     - maybe could try binary search on the _lt function
    -		//     for another implementation
    -		k = ri + 1;
    -		while (k <= rj && _lt(r, ri, k, b, bi, bj)) ++k;
    -
    -		// remainder smaller than divisor --> end
    -		if (k > rj) break;
    -
    -		// divide current block interval by quotient
    -		do{
    -
    -			// increment quotient block corresponding
    -			// to current ls block of remainder interval
    -			++q[qi + k - t];
    -
    -			// subtract divisor from current remainder
    -			// block interval
    -			_sub(x, r, ri, k, b, bi, bj, r, ri, k);
    -
    -		} while(!_lt(r, ri, k, b, bi, bj));
    -
    -
    -	} while(true);
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/arithmetic/div/index.js.html b/file/src/1-new/arithmetic/div/index.js.html deleted file mode 100644 index f816679..0000000 --- a/file/src/1-new/arithmetic/div/index.js.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - src/1-new/arithmetic/div/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/arithmetic/div/index.js

    -
    export * from './_div' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/arithmetic/index.js.html b/file/src/1-new/arithmetic/index.js.html deleted file mode 100644 index dda036a..0000000 --- a/file/src/1-new/arithmetic/index.js.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - src/1-new/arithmetic/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/arithmetic/index.js

    -
    export * from './div' ;
    -export * from './sub' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/arithmetic/sub/_sub.js.html b/file/src/1-new/arithmetic/sub/_sub.js.html deleted file mode 100644 index 80510f0..0000000 --- a/file/src/1-new/arithmetic/sub/_sub.js.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - src/1-new/arithmetic/sub/_sub.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/arithmetic/sub/_sub.js

    -
    
    -/**
    - * Subtracts two big endian arrays, k >= i >= j
    - * wraps
    - *
    - * @param {int} r base (radix)
    - * @param {array} a first operand
    - * @param {int} ai a left
    - * @param {int} aj a right
    - * @param {array} b second operand
    - * @param {int} bi b left
    - * @param {int} bj b right
    - * @param {array} c result, must be 0 initialized
    - * @param {int} ci c left
    - * @param {int} cj c right
    - */
    -
    -export function _sub ( r , a, ai, aj, b, bi, bj, c, ci, cj){
    -	var T, C = 0;
    -
    -	while(--bj >= bi){
    -		--aj; --cj;
    -		T = C;
    -		C = a[aj] < b[bj] + T;
    -		c[cj] = a[aj] - b[bj] + (C*r - T);
    -	}
    -
    -	while(--aj >= ai){
    -		--cj;
    -		T = C;
    -		C = a[aj] < T;
    -		c[cj] = a[aj] + (C*r - T);
    -	}
    -
    -	if(C){
    -		while(--cj >= ci){
    -			c[cj] = r - 1;
    -		}
    -	}
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/arithmetic/sub/index.js.html b/file/src/1-new/arithmetic/sub/index.js.html deleted file mode 100644 index 3b95bb9..0000000 --- a/file/src/1-new/arithmetic/sub/index.js.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - src/1-new/arithmetic/sub/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/arithmetic/sub/index.js

    -
    export * from './_sub' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/compare/_CMP.js.html b/file/src/1-new/compare/_CMP.js.html deleted file mode 100644 index 01aa63b..0000000 --- a/file/src/1-new/compare/_CMP.js.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - src/1-new/compare/_CMP.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/compare/_CMP.js

    -
    
    -/**
    - * Compares two big endian arrays, |a| >= |b|
    - *
    - * @param {array} a first operand
    - * @param {int} ai a left
    - * @param {int} aj a right
    - * @param {array} b second operand
    - * @param {int} bi b left
    - * @param {int} bj b right
    - *
    - * @return {int} 1 if a > b; 0 if a = b; -1 otherwise.
    - */
    -
    -export function _CMP (a, ai, aj, b, bi, bj){
    -
    -	var tmp = aj - bj + bi;
    -
    -	for (; ai < tmp; ++ai)
    -		if (a[ai] > 0) return 1;
    -
    -	// same size aj - ai === bj - bi
    -	for (; ai < aj; ++ai, ++bi) {
    -		if (a[ai] > b[bi]) return  1;
    -		if (a[ai] < b[bi]) return -1;
    -	}
    -
    -	return 0;
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/compare/_cmp.js.html b/file/src/1-new/compare/_cmp.js.html deleted file mode 100644 index 1d6a12b..0000000 --- a/file/src/1-new/compare/_cmp.js.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - src/1-new/compare/_cmp.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/compare/_cmp.js

    -
    import { _CMP } from '.' ;
    -
    -export function _cmp ( a , ai , aj , b , bi , bj ) {
    -
    -	if ( aj - ai < bj - bi )
    -		return -_CMP( b , bi , bj , a , ai , aj ) ;
    -	else
    -		return  _CMP( a , ai , aj , b , bi , bj ) ;
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/compare/_eq.js.html b/file/src/1-new/compare/_eq.js.html deleted file mode 100644 index 9c05dec..0000000 --- a/file/src/1-new/compare/_eq.js.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - src/1-new/compare/_eq.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/compare/_eq.js

    -
    import { _cmp } from '.' ;
    -
    -export const _eq = ( a , ai , aj , b , bi , bj ) => _cmp( a , ai , aj , b , bi , bj ) === 0 ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/compare/_ge.js.html b/file/src/1-new/compare/_ge.js.html deleted file mode 100644 index 4a0e000..0000000 --- a/file/src/1-new/compare/_ge.js.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - src/1-new/compare/_ge.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/compare/_ge.js

    -
    import { _cmp } from '.' ;
    -
    -export const _ge = ( a , ai , aj , b , bi , bj ) => _cmp( a , ai , aj , b , bi , bj ) >= 0 ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/compare/_gt.js.html b/file/src/1-new/compare/_gt.js.html deleted file mode 100644 index c36ec1a..0000000 --- a/file/src/1-new/compare/_gt.js.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - src/1-new/compare/_gt.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/compare/_gt.js

    -
    import { _cmp } from '.' ;
    -
    -export const _gt = ( a , ai , aj , b , bi , bj ) => _cmp( a , ai , aj , b , bi , bj ) > 0 ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/compare/_jz.js.html b/file/src/1-new/compare/_jz.js.html deleted file mode 100644 index 85c4fa1..0000000 --- a/file/src/1-new/compare/_jz.js.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - src/1-new/compare/_jz.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/compare/_jz.js

    -
    
    -/**
    - * Returns true if number is 0.
    - *
    - * @param {array} a first operand
    - * @param {int} ai a left
    - * @param {int} aj a right
    - */
    -
    -export function _jz ( a , ai , aj ) {
    -
    -	for ( ; ai < aj ; ++ai ) if ( a[ai] !== 0 ) return false ;
    -
    -	return true ;
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/compare/_le.js.html b/file/src/1-new/compare/_le.js.html deleted file mode 100644 index e5fb24b..0000000 --- a/file/src/1-new/compare/_le.js.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - src/1-new/compare/_le.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/compare/_le.js

    -
    import { _cmp } from '.' ;
    -
    -export const _le = ( a , ai , aj , b , bi , bj ) => _cmp( a , ai , aj , b , bi , bj ) <= 0 ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/compare/_lt.js.html b/file/src/1-new/compare/_lt.js.html deleted file mode 100644 index 30e6a85..0000000 --- a/file/src/1-new/compare/_lt.js.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - src/1-new/compare/_lt.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/compare/_lt.js

    -
    import { _cmp } from '.' ;
    -
    -export const _lt = ( a , ai , aj , b , bi , bj ) => _cmp( a , ai , aj , b , bi , bj ) < 0 ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/compare/_ne.js.html b/file/src/1-new/compare/_ne.js.html deleted file mode 100644 index bd11bd7..0000000 --- a/file/src/1-new/compare/_ne.js.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - src/1-new/compare/_ne.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/compare/_ne.js

    -
    import { _cmp } from '.' ;
    -
    -export const _ne = ( a , ai , aj , b , bi , bj ) => _cmp( a , ai , aj , b , bi , bj ) !== 0 ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/compare/index.js.html b/file/src/1-new/compare/index.js.html deleted file mode 100644 index 32e01d5..0000000 --- a/file/src/1-new/compare/index.js.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - src/1-new/compare/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/compare/index.js

    -
    export * from './_CMP' ;
    -export * from './_cmp' ;
    -export * from './_eq' ;
    -export * from './_ge' ;
    -export * from './_gt' ;
    -export * from './_jz' ;
    -export * from './_le' ;
    -export * from './_lt' ;
    -export * from './_ne' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/convert/_alloc.js.html b/file/src/1-new/convert/_alloc.js.html deleted file mode 100644 index 988ff8b..0000000 --- a/file/src/1-new/convert/_alloc.js.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - src/1-new/convert/_alloc.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/convert/_alloc.js

    -
    
    -export function _alloc ( n ) {
    -
    -	return new Array( n ) ;
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/convert/_build.js.html b/file/src/1-new/convert/_build.js.html deleted file mode 100644 index 93523cb..0000000 --- a/file/src/1-new/convert/_build.js.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - src/1-new/convert/_build.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/convert/_build.js

    -
    
    -export function _build ( base , number ) {
    -
    -	const data = [ ] ;
    -
    -	let q = number ;
    -	const d = base ;
    -
    -	while ( q >= d ) {
    -		const r = q % d ;
    -		data.push( r ) ;
    -		q = ( q - r ) / d ;
    -	}
    -
    -	data.push( q ) ;
    -
    -	return data.reverse( ) ;
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/convert/_chr.js.html b/file/src/1-new/convert/_chr.js.html deleted file mode 100644 index fec1eda..0000000 --- a/file/src/1-new/convert/_chr.js.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - src/1-new/convert/_chr.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/convert/_chr.js

    -
    
    -export function _chr ( x ) {
    -
    -	if ( x < 10 ) return String.fromCharCode( 48 + x ) ;
    -	return String.fromCharCode( 87 + x ) ;
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/convert/_convert.js.html b/file/src/1-new/convert/_convert.js.html deleted file mode 100644 index cb49b8e..0000000 --- a/file/src/1-new/convert/_convert.js.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - src/1-new/convert/_convert.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/convert/_convert.js

    -
    import { _convert_to_smaller , _convert_to_larger , _copy } from '.' ;
    -
    -/**
    - *
    - * @param {Number} f the base to convert from
    - * @param {Number} t the base to convert to
    - * @param {Array} a the origin array
    - * @param {Number} ai start offset in the origin array
    - * @param {Number} aj end offset in the origin array
    - * @param {Array} b the destination array
    - * @param {Number} bi start offset in the destination array
    - * @param {Number} bj end offset in the destination array
    - */
    -
    -export function _convert ( f , t , a , ai , aj , b , bi , bj ) {
    -
    -	if ( f > t ) return _convert_to_smaller( f , t , a , ai , aj , b , bi , bj ) ;
    -	if ( f < t ) return _convert_to_larger( f , t , a , ai , aj , b , bi , bj ) ;
    -	return _copy( a , ai , aj , b , bi ) ;
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/convert/_convert_slow.js.html b/file/src/1-new/convert/_convert_slow.js.html deleted file mode 100644 index 88ab9c1..0000000 --- a/file/src/1-new/convert/_convert_slow.js.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - - - src/1-new/convert/_convert_slow.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/convert/_convert_slow.js

    -
    import { _build , _alloc , _reset , _copy } from '.' ;
    -import { _div } from '../arithmetic' ;
    -import { _jz } from '../compare' ;
    -
    -/**
    - *
    - * @param {Number} f the base to convert from
    - * @param {Number} t the base to convert to
    - * @param {Array} a the origin array
    - * @param {Number} ai start offset in the origin array
    - * @param {Number} aj end offset in the origin array
    - * @param {Array} b the destination array
    - * @param {Number} bi start offset in the destination array
    - * @param {Number} bj end offset in the destination array
    - */
    -
    -export function _convert_slow ( f , t , a , ai , aj , b , bi , bj ) {
    -
    -	const d = _build( f , t ) ;
    -	const di = 0 ;
    -	const dj = d.length ;
    -	const qi = 0 ;
    -	const qj = aj - ai ;
    -	const q = _alloc( qj - qi ) ;
    -
    -	while ( true ) {
    -
    -		_reset( q , qi , qj ) ;
    -
    -		_div( f , a , ai , aj , d , di , dj , q , qi ) ;
    -
    -		--bj ;
    -		let x = 0 ;
    -
    -		for ( let k = ai ; k < aj ; ++k ) {
    -			x *= f ;
    -			x += a[k] ;
    -		}
    -
    -		b[bj] = x ;
    -
    -		if ( _jz( q , qi , qj ) ) return ;
    -
    -		_copy( q , qi , qj , a , ai ) ;
    -
    -	}
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/convert/_convert_to_larger.js.html b/file/src/1-new/convert/_convert_to_larger.js.html deleted file mode 100644 index ea0cad0..0000000 --- a/file/src/1-new/convert/_convert_to_larger.js.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - src/1-new/convert/_convert_to_larger.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/convert/_convert_to_larger.js

    -
    import { _log , _convert_slow , _convert_to_larger_fast } from '.' ;
    -
    -/**
    - *
    - * @param {Number} f the base to convert from
    - * @param {Number} t the base to convert to
    - * @param {Array} a the origin array
    - * @param {Number} ai start offset in the origin array
    - * @param {Number} aj end offset in the origin array
    - * @param {Array} b the destination array
    - * @param {Number} bi start offset in the destination array
    - * @param {Number} bj end offset in the destination array
    - */
    -
    -export function _convert_to_larger ( f , t , a , ai , aj , b , bi , bj ) {
    -
    -	const [ z , x ] = _log( t , f ) ;
    -
    -	if ( x === 1 ) return _convert_to_larger_fast( f , z , a , ai , aj , b , bi , bj ) ;
    -
    -	return _convert_slow( f , t , a , ai , aj , b , bi , bj ) ;
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/convert/_convert_to_larger_fast.js.html b/file/src/1-new/convert/_convert_to_larger_fast.js.html deleted file mode 100644 index e419906..0000000 --- a/file/src/1-new/convert/_convert_to_larger_fast.js.html +++ /dev/null @@ -1,185 +0,0 @@ - - - - - - src/1-new/convert/_convert_to_larger_fast.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/convert/_convert_to_larger_fast.js

    -
    
    -
    -/**
    - *
    - * @param {Number} ar the base to convert from
    - * @param {Number} z if br is the base to convert to then log(br) = z log(ar)
    - * @param {Array} a the origin array
    - * @param {Number} ai start offset in the origin array
    - * @param {Number} aj end offset in the origin array
    - * @param {Array} b the destination array
    - * @param {Number} bi start offset in the destination array
    - * @param {Number} bj end offset in the destination array
    - */
    -
    -export function _convert_to_larger_fast ( ar , z , a , ai , aj , b , bi , bj ) {
    -
    -	var m, n, q, r, i, w, t;
    -
    -	m = aj - ai;
    -	n = bj - bi;
    -
    -	// number of parts of first
    -	// destination block if incomplete
    -	r = m % z;
    -
    -	// number of complete blocks in destination
    -	q = (m - r) / z;
    -
    -	// total number of blocks in destination
    -	// (complete ones + first if incomplete)
    -	w = q + !!r;
    -
    -
    -	if (n >= w) {
    -		// if destination can contain more than
    -		// what is available in source then
    -		// compute the effective write start
    -		// in destination and set i to the correct
    -		// offset according to the size
    -		// (in source blocks) of the
    -		// first destination block if incomplete
    -		bi = bj - w;
    -		i = (z - r) % z;
    -	}
    -	else {
    -		// if source contains more than what
    -		// destination can handle set the effective
    -		// read start in source and set i to 0 because
    -		// all blocks will be complete
    -		ai = aj - n * z;
    -		i = 0;
    -	}
    -
    -	for (; ai < aj && bi < bj; ++bi) {
    -		t = 0;
    -		for (; i < z; ++i) {
    -			t *= ar;     // aggregate source blocks
    -			t += a[ai];  // using simple
    -			++ai;        // multiply + add
    -		}
    -		b[bi] = t;  // set block in destination
    -		i = 0;
    -	}
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/convert/_convert_to_smaller.js.html b/file/src/1-new/convert/_convert_to_smaller.js.html deleted file mode 100644 index fbc5875..0000000 --- a/file/src/1-new/convert/_convert_to_smaller.js.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - src/1-new/convert/_convert_to_smaller.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/convert/_convert_to_smaller.js

    -
    import { _log , _convert_slow , _convert_to_smaller_fast } from '.' ;
    -
    -/**
    - *
    - * @param {Number} f the base to convert from
    - * @param {Number} t the base to convert to
    - * @param {Array} a the origin array
    - * @param {Number} ai start offset in the origin array
    - * @param {Number} aj end offset in the origin array
    - * @param {Array} b the destination array
    - * @param {Number} bi start offset in the destination array
    - * @param {Number} bj end offset in the destination array
    - */
    -
    -export function _convert_to_smaller ( f , t , a , ai , aj , b , bi , bj ) {
    -
    -	const [ z , x ] = _log( f , t ) ;
    -
    -	if ( x === 1 ) return _convert_to_smaller_fast( t , z , a , ai , aj , b , bi , bj ) ;
    -
    -	return _convert_slow( f , t , a , ai , aj , b , bi , bj ) ;
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/convert/_convert_to_smaller_fast.js.html b/file/src/1-new/convert/_convert_to_smaller_fast.js.html deleted file mode 100644 index 741a8d5..0000000 --- a/file/src/1-new/convert/_convert_to_smaller_fast.js.html +++ /dev/null @@ -1,186 +0,0 @@ - - - - - - src/1-new/convert/_convert_to_smaller_fast.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/convert/_convert_to_smaller_fast.js

    -
    
    -/**
    - *
    - * @param {Number} br the base to convert to
    - * @param {Number} z if ar is the base to convert to then log(ar) = z log(br)
    - * @param {Array} a the origin array
    - * @param {Number} ai start offset in the origin array
    - * @param {Number} aj end offset in the origin array
    - * @param {Array} b the destination array
    - * @param {Number} bi start offset in the destination array
    - * @param {Number} bj end offset in the destination array
    - */
    -
    -export function _convert_to_smaller_fast ( br , z , a , ai , aj , b , bi , bj ) {
    -
    -	var m, n, q, r, i, w, t;
    -
    -	m = bj - bi;
    -	n = aj - ai;
    -
    -	// number of parts of first
    -	// destination block if incomplete
    -	r = m % z;
    -
    -	// number of complete blocks in destination
    -	q = (m - r) / z;
    -
    -	// total number of blocks in destination
    -	// (complete ones + first if incomplete)
    -	w = q + !!r;
    -
    -
    -	if (n >= w) {
    -		// if source contains more than what
    -		// destination can handle set the effective
    -		// read start in source and set i to the correct
    -		// offset according to the size
    -		// (in destination blocks) of the
    -		// first source block if incomplete
    -		ai = aj - w;
    -		i = (z - r) % z;
    -	}
    -	else {
    -		// if destination can contain more than
    -		// what is available in source then
    -		// compute the effective write start
    -		// in destination and set i to 0 because
    -		// all blocks will be complete
    -		bi = bj - n * z;
    -		i = 0;
    -	}
    -
    -	for (; ai < aj && bi < bj; ++ai) {
    -		q = a[ai];
    -		t = bi + z - 1 - i;
    -		bi += z - i;
    -		for (; i < z; ++i) {
    -			r = q % br;        // unpack source blocks
    -			q = (q - r) / br;  // using simple
    -			b[t] = r;          // modulo + quotient
    -			--t;
    -		}
    -		i = 0;
    -	}
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/convert/_copy.js.html b/file/src/1-new/convert/_copy.js.html deleted file mode 100644 index 68e154f..0000000 --- a/file/src/1-new/convert/_copy.js.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - src/1-new/convert/_copy.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/convert/_copy.js

    -
    
    -export function _copy ( a , ai , aj , b , bi ) {
    -
    -	for ( ; ai < aj ; ++ai, ++bi ) b[bi] = a[ai] ;
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/convert/_fill.js.html b/file/src/1-new/convert/_fill.js.html deleted file mode 100644 index de012c5..0000000 --- a/file/src/1-new/convert/_fill.js.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - src/1-new/convert/_fill.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/convert/_fill.js

    -
    
    -export function _fill ( a , ai , aj , v ) {
    -
    -	for ( let i = ai ; i < aj ; ++i ) a[i] = v ;
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/convert/_int.js.html b/file/src/1-new/convert/_int.js.html deleted file mode 100644 index 8954624..0000000 --- a/file/src/1-new/convert/_int.js.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - src/1-new/convert/_int.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/convert/_int.js

    -
    
    -export function _int ( x ) {
    -
    -	if ( x >= '0' && x <= '9' ) return x.charCodeAt( 0 ) - 48 ;
    -	if ( x >= 'A' && x <= 'Z' ) return x.charCodeAt( 0 ) - 55 ;
    -	if ( x >= 'a' && x <= 'z' ) return x.charCodeAt( 0 ) - 87 ;
    -
    -	throw 'invalid literal for _int: ' + x ;
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/convert/_log.js.html b/file/src/1-new/convert/_log.js.html deleted file mode 100644 index 98299d5..0000000 --- a/file/src/1-new/convert/_log.js.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - src/1-new/convert/_log.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/convert/_log.js

    -
    
    -export function _log ( x , y ) {
    -
    -	let z = 0 ;
    -
    -	while ( x >= y ) {
    -		if ( x % y ) break ;
    -		x /= y ;
    -		++z ;
    -	}
    -
    -	return [ z , x ] ;
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/convert/_reset.js.html b/file/src/1-new/convert/_reset.js.html deleted file mode 100644 index ab2a388..0000000 --- a/file/src/1-new/convert/_reset.js.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - src/1-new/convert/_reset.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/convert/_reset.js

    -
    import { _fill } from '.' ;
    -
    -export function _reset ( a , ai , aj ) {
    -
    -	_fill( a , ai , aj , 0 ) ;
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/convert/_to_string.js.html b/file/src/1-new/convert/_to_string.js.html deleted file mode 100644 index 16f0e05..0000000 --- a/file/src/1-new/convert/_to_string.js.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - src/1-new/convert/_to_string.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/convert/_to_string.js

    -
    import { _chr } from '.' ;
    -
    -export function _to_string ( b ) {
    -
    -	const n = b.length ;
    -
    -	const data = [ ] ;
    -
    -	for ( let k = 0 ; k < n ; ++k ) data.push( _chr( b[k] ) ) ;
    -
    -	return data.join( '' ) ;
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/convert/_trim_positive.js.html b/file/src/1-new/convert/_trim_positive.js.html deleted file mode 100644 index 1de8e69..0000000 --- a/file/src/1-new/convert/_trim_positive.js.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - src/1-new/convert/_trim_positive.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/convert/_trim_positive.js

    -
    
    -export function _trim_positive ( a , ai , aj ) {
    -
    -	while ( a[ai] === 0 && ai < aj ) ++ai ;
    -
    -	return ai ;
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/convert/_zeros.js.html b/file/src/1-new/convert/_zeros.js.html deleted file mode 100644 index d63a2ff..0000000 --- a/file/src/1-new/convert/_zeros.js.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - src/1-new/convert/_zeros.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/convert/_zeros.js

    -
    import { _alloc , _reset } from '.' ;
    -
    -export function _zeros ( n ) {
    -
    -	const a = _alloc( n ) ;
    -
    -	_reset( a , 0 , n ) ;
    -
    -	return a ;
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/convert/convert.js.html b/file/src/1-new/convert/convert.js.html deleted file mode 100644 index 6b1ed36..0000000 --- a/file/src/1-new/convert/convert.js.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - src/1-new/convert/convert.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/convert/convert.js

    -
    import { convert_keep_zeros , trim_natural } from '.' ;
    -
    -export function convert ( f , t , a , ai , aj ) {
    -
    -	const b = convert_keep_zeros( f , t , a , ai , aj ) ;
    -
    -	return trim_natural( b , 0 , b.length ) ;
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/convert/convert_keep_zeros.js.html b/file/src/1-new/convert/convert_keep_zeros.js.html deleted file mode 100644 index c673ee7..0000000 --- a/file/src/1-new/convert/convert_keep_zeros.js.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - src/1-new/convert/convert_keep_zeros.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/convert/convert_keep_zeros.js

    -
    import { _zeros , _convert } from '.' ;
    -
    -export function convert_keep_zeros ( f , t , a , ai , aj ) {
    -
    -	const bi = 0 ;
    -	const bj = Math.ceil( Math.log( f ) / Math.log( t ) * ( aj - ai ) ) ;
    -	const b = _zeros( bj - bi ) ;
    -
    -	_convert( f , t , a , ai , aj , b , bi , bj ) ;
    -
    -	return b ;
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/convert/index.js.html b/file/src/1-new/convert/index.js.html deleted file mode 100644 index 9bca92a..0000000 --- a/file/src/1-new/convert/index.js.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - src/1-new/convert/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/convert/index.js

    -
    export * from './_alloc' ;
    -export * from './_build' ;
    -export * from './_chr' ;
    -export * from './_convert' ;
    -export * from './_convert_slow' ;
    -export * from './_convert_to_larger' ;
    -export * from './_convert_to_larger_fast' ;
    -export * from './_convert_to_smaller' ;
    -export * from './_convert_to_smaller_fast' ;
    -export * from './_copy' ;
    -export * from './_fill' ;
    -export * from './_int' ;
    -export * from './_log' ;
    -export * from './_reset' ;
    -export * from './_to_string' ;
    -export * from './_trim_positive' ;
    -export * from './_zeros' ;
    -export * from './convert' ;
    -export * from './convert_keep_zeros' ;
    -export * from './parse' ;
    -export * from './parse_keep_zeros' ;
    -export * from './stringify' ;
    -export * from './stringify_keep_zeros' ;
    -export * from './trim_natural' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/convert/parse.js.html b/file/src/1-new/convert/parse.js.html deleted file mode 100644 index e921378..0000000 --- a/file/src/1-new/convert/parse.js.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - src/1-new/convert/parse.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/convert/parse.js

    -
    import { parse_keep_zeros , trim_natural } from '.' ;
    -
    -export function parse ( f , t , string ) {
    -
    -	const b = parse_keep_zeros( f , t , string ) ;
    -
    -	return trim_natural( b , 0 , b.length ) ;
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/convert/parse_keep_zeros.js.html b/file/src/1-new/convert/parse_keep_zeros.js.html deleted file mode 100644 index 588bf1c..0000000 --- a/file/src/1-new/convert/parse_keep_zeros.js.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - src/1-new/convert/parse_keep_zeros.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/convert/parse_keep_zeros.js

    -
    import { _int , convert_keep_zeros } from '.' ;
    -
    -export function parse_keep_zeros ( f , t , string ) {
    -
    -	if ( f > 36 ) throw 'f > 36 not implemented' ;
    -
    -	const n = string.length ;
    -
    -	const a = [ ] ;
    -
    -	for ( let k = 0 ; k < n ; ++k ) a.push( _int( string[k] ) ) ;
    -
    -	return convert_keep_zeros( f , t , a , 0 , n ) ;
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/convert/stringify.js.html b/file/src/1-new/convert/stringify.js.html deleted file mode 100644 index 919d322..0000000 --- a/file/src/1-new/convert/stringify.js.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - src/1-new/convert/stringify.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/convert/stringify.js

    -
    import { convert , _to_string } from '.' ;
    -
    -export function stringify ( f , t , a , ai , aj ) {
    -
    -	if ( t > 36 ) throw 't > 36 not implemented' ;
    -
    -	const b = convert( f , t , a , ai , aj ) ;
    -
    -	return _to_string( b ) ;
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/convert/stringify_keep_zeros.js.html b/file/src/1-new/convert/stringify_keep_zeros.js.html deleted file mode 100644 index 16de480..0000000 --- a/file/src/1-new/convert/stringify_keep_zeros.js.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - src/1-new/convert/stringify_keep_zeros.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/convert/stringify_keep_zeros.js

    -
    import { convert_keep_zeros , _to_string } from '.' ;
    -
    -export function stringify_keep_zeros ( f , t , a , ai , aj ) {
    -
    -	if ( t > 36 ) throw 't > 36 not implemented' ;
    -
    -	const b = convert_keep_zeros( f , t , a , ai , aj ) ;
    -
    -	return _to_string( b ) ;
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/convert/trim_natural.js.html b/file/src/1-new/convert/trim_natural.js.html deleted file mode 100644 index 69a78f9..0000000 --- a/file/src/1-new/convert/trim_natural.js.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - src/1-new/convert/trim_natural.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/convert/trim_natural.js

    -
    import { _trim_positive , _alloc , _copy } from '.' ;
    -export function trim_natural ( a , ai , aj ) {
    -
    -	const x = _trim_positive( a , ai , aj ) ;
    -
    -	if ( x >= aj ) return [ 0 ] ;
    -
    -	const b = _alloc( aj - x ) ;
    -
    -	_copy( a , x , aj , b , 0 ) ;
    -
    -	return b ;
    -
    -}
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/1-new/index.js.html b/file/src/1-new/index.js.html deleted file mode 100644 index 9648f37..0000000 --- a/file/src/1-new/index.js.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - src/1-new/index.js | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    src/1-new/index.js

    -
    export * from './arithmetic' ;
    -export * from './compare' ;
    -export * from './convert' ;
    -
    - -
    - - - - - - - - - - - - diff --git a/file/src/DEFAULT_DISPLAY_BASE.js.html b/file/src/DEFAULT_DISPLAY_BASE.js.html new file mode 100644 index 0000000..06c438b --- /dev/null +++ b/file/src/DEFAULT_DISPLAY_BASE.js.html @@ -0,0 +1,64 @@ + + + + + + src/DEFAULT_DISPLAY_BASE.js | aureooms/js-integer API Document + + + + + + + + + + + +
    + Home + Manual + Reference + Source + Test + Repository + +
    + + + +

    src/DEFAULT_DISPLAY_BASE.js

    +
    export const DEFAULT_DISPLAY_BASE = 10 ;
    +
    + +
    + + + + + + + + + + + + diff --git a/file/src/DEFAULT_REPRESENTATION_BASE.js.html b/file/src/DEFAULT_REPRESENTATION_BASE.js.html new file mode 100644 index 0000000..bd84c53 --- /dev/null +++ b/file/src/DEFAULT_REPRESENTATION_BASE.js.html @@ -0,0 +1,72 @@ + + + + + + src/DEFAULT_REPRESENTATION_BASE.js | aureooms/js-integer API Document + + + + + + + + + + + +
    + Home + Manual + Reference + Source + Test + Repository + +
    + + + +

    src/DEFAULT_REPRESENTATION_BASE.js

    +
    import { DEFAULT_DISPLAY_BASE } from './' ;
    +
    +/*
    + * Biggest power of DEFAULT_DISPLAY_BASE whose square holds in a single double
    + * with full precision. For working correctly with multiplication algorithms
    + * and for fast base DEFAULT_DISPLAY_BASE printing. On older machines with no
    + * native doubles, it might be worth to only use ints.
    + */
    +export const DEFAULT_REPRESENTATION_BASE = Math.pow(DEFAULT_DISPLAY_BASE,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(DEFAULT_DISPLAY_BASE))) ;
    +
    + +
    + + + + + + + + + + + + diff --git a/file/src/Integer.js.html b/file/src/Integer.js.html new file mode 100644 index 0000000..f2cf862 --- /dev/null +++ b/file/src/Integer.js.html @@ -0,0 +1,227 @@ + + + + + + src/Integer.js | aureooms/js-integer API Document + + + + + + + + + + + +
    + Home + Manual + Reference + Source + Test + Repository + +
    + + + +

    src/Integer.js

    +
    
    +import { DEFAULT_DISPLAY_BASE } from './' ;
    +
    +import {
    +	stringify , convert ,
    +	_alloc , _copy , _zeros ,
    +	_lt , _jz ,
    +	_add , _sub , _mul , _div,
    +} from '@aureooms/js-integer-big-endian' ;
    +
    +export class Integer {
    +
    +	constructor ( base , is_negative , limbs ) {
    +		this.base = base ;
    +		this.is_negative = is_negative ;
    +		this.limbs = limbs ;
    +	}
    +
    +	toString ( base = DEFAULT_DISPLAY_BASE ) {
    +
    +		if ( _jz( this.limbs , 0 , this.limbs.length ) ) return '0' ;
    +
    +		const digits = stringify( this.base , base , this.limbs , 0 , this.limbs.length ) ;
    +
    +		return this.is_negative ? '-' + digits : digits ;
    +
    +	}
    +
    +	add ( other ) {
    +
    +		if ( this.is_negative !== other.is_negative ) {
    +
    +			if ( other.is_negative ) return this.sub( other.opposite() ) ;
    +
    +			else return other.sub( this.opposite() ) ;
    +
    +		}
    +
    +		else {
    +
    +			const result_is_negative = this.is_negative ;
    +			const r = this.base ;
    +
    +			const a = this.limbs ;
    +
    +			let b ;
    +
    +			if ( other.base === r ) b = other.limbs ;
    +			else b = convert( other.base , r , other.limbs , 0 , other.limbs.length ) ;
    +
    +			const c = _zeros( Math.max( a.length , b.length ) + 1 ) ;
    +
    +			_add( r , a , 0 , a.length , b , 0 , b.length , c , 0 , c.length ) ;
    +
    +			return new Integer( r , result_is_negative , c ) ;
    +
    +		}
    +
    +	}
    +
    +	sub ( other ) {
    +
    +		if ( this.is_negative !== other.is_negative ) {
    +
    +			if ( other.is_negative ) return this.add( other.opposite() ) ;
    +
    +			else return this.opposite().add( other ).opposite() ;
    +
    +		}
    +
    +		else {
    +
    +			const r = this.base ;
    +			const a = this.limbs ;
    +
    +			let b ;
    +
    +			if ( other.base === r ) b = other.limbs ;
    +			else b = convert( other.base , r , other.limbs , 0 , other.limbs.length ) ;
    +
    +			const c = _zeros( Math.max( a.length , b.length ) ) ;
    +
    +			if ( _lt( a , 0 , a.length , b , 0 , b.length ) ) {
    +
    +				_sub( r , b , 0 , b.length , a , 0 , a.length , c , 0 , c.length ) ;
    +
    +				return new Integer( r , ~this.is_negative , c ) ;
    +			}
    +
    +			else {
    +
    +				_sub( r , a , 0 , a.length , b , 0 , b.length , c , 0 , c.length ) ;
    +
    +				return new Integer( r , this.is_negative , c ) ;
    +
    +			}
    +
    +		}
    +
    +	}
    +
    +	mul ( other ) {
    +
    +		const result_is_negative = this.is_negative ^ other.is_negative ;
    +		const r = this.base ;
    +
    +		const a = this.limbs ;
    +
    +		let b ;
    +
    +		if ( other.base === r ) b = other.limbs ;
    +		else b = convert( other.base , r , other.limbs , 0 , other.limbs.length ) ;
    +
    +		const c = _zeros( a.length + b.length ) ;
    +
    +		_mul( r , a , 0 , a.length , b , 0 , b.length , c , 0 , c.length ) ;
    +
    +		return new Integer( r , result_is_negative , c ) ;
    +
    +	}
    +
    +	pow ( other ) {
    +		throw 'Integer#pow not implemented yet, waiting for @aureooms/js-integer-big-endian.' ;
    +	}
    +
    +	div ( other ) {
    +		return this.divmod( other )[0] ;
    +	}
    +
    +	mod ( other ) {
    +		return this.divmod( other )[1] ;
    +	}
    +
    +	divmod ( other ) {
    +
    +		const quotient_is_negative = this.is_negative ^ other.is_negative ;
    +		const r = this.base ;
    +
    +		// Dividend (& Remainder)
    +		const D = _alloc( this.limbs.length ) ;
    +		_copy( this.limbs , 0 , this.limbs.length , D , 0 ) ;
    +
    +		// Divisor
    +		let d ;
    +		if ( other.base === r ) d = other.limbs ;
    +		else d = convert( other.base , r , other.limbs , 0 , other.limbs.length ) ;
    +
    +		// Quotient
    +		const q = _zeros( D.length ) ;
    +
    +		_div( r , D , 0 , D.length , d , 0 , d.length , q , 0 , q.length ) ;
    +
    +		return [
    +			new Integer( r , quotient_is_negative , q ) , // quotient
    +			new Integer( r , 0 , D )                      // remainder
    +		] ;
    +
    +	}
    +
    +	opposite ( ) {
    +		return new Integer( this.base , ~this.is_negative , this.limbs ) ;
    +	}
    +
    +}
    +
    + +
    + + + + + + + + + + + + diff --git a/file/src/IntegerRing.js.html b/file/src/IntegerRing.js.html new file mode 100644 index 0000000..83109c2 --- /dev/null +++ b/file/src/IntegerRing.js.html @@ -0,0 +1,131 @@ + + + + + + src/IntegerRing.js | aureooms/js-integer API Document + + + + + + + + + + + +
    + Home + Manual + Reference + Source + Test + Repository + +
    + + + +

    src/IntegerRing.js

    +
    import { Integer } from './' ;
    +import { parse } from '@aureooms/js-integer-big-endian' ;
    +
    +export class IntegerRing {
    +
    +	constructor ( name , base ) {
    +		this.name = name ;
    +		this.base = base ;
    +	}
    +
    +	from ( object , base = undefined , is_negative = 0 ) {
    +
    +		switch ( typeof object ) {
    +			case 'number' :
    +				if ( base !== undefined ) throw 'IntegerRing#from: using the base parameter does not make sense when parsing a JavaScript number.' ;
    +				return this.from_string( '' + object , 10 , is_negative ) ;
    +			case 'string' :
    +				if ( base === undefined ) base = 10 ;
    +				return this.from_string( object , base , is_negative ) ;
    +			default:
    +				throw `IntegerRing#from cannot handle ${typeof object}` ;
    +		}
    +
    +	}
    +
    +	from_string ( string , base = 10 , is_negative = 0  ) {
    +
    +		if ( string.length === 0 ) throw 'IntegerRing#from_string cannot parse empty string.' ;
    +
    +		if ( string[0] === '-' ) return this.from_string( string.slice(1) , base , ~is_negative ) ;
    +
    +		if ( string[0] === '+' ) return this.from_string( string.slice(1) , base , is_negative ) ;
    +
    +		const limbs = parse( base , this.base , string ) ;
    +
    +		return new Integer( this.base , is_negative , limbs ) ;
    +
    +	}
    +
    +	toString ( ) {
    +		return this.name ;
    +	}
    +
    +	static add ( first , second ) {
    +		return first.add(second) ;
    +	}
    +
    +	static sub ( first , second ) {
    +		return first.sub(second) ;
    +	}
    +
    +	static mul ( first , second ) {
    +		return first.mul(second) ;
    +	}
    +
    +	static pow ( first , second ) {
    +		return first.pow(second) ;
    +	}
    +
    +	static div ( first , second ) {
    +		return first.div(second) ;
    +	}
    +
    +	static mod ( first , second ) {
    +		return first.mod(second) ;
    +	}
    +
    +}
    +
    + +
    + + + + + + + + + + + + diff --git a/file/src/ZZ.js.html b/file/src/ZZ.js.html new file mode 100644 index 0000000..535b50c --- /dev/null +++ b/file/src/ZZ.js.html @@ -0,0 +1,70 @@ + + + + + + src/ZZ.js | aureooms/js-integer API Document + + + + + + + + + + + +
    + Home + Manual + Reference + Source + Test + Repository + +
    + + + +

    src/ZZ.js

    +
    
    +import {
    +	DEFAULT_REPRESENTATION_BASE ,
    +	IntegerRing ,
    +} from './' ;
    +
    +export const ZZ = new IntegerRing( 'ZZ' , DEFAULT_REPRESENTATION_BASE ) ;
    +
    + +
    + + + + + + + + + + + + diff --git a/file/src/index.js.html b/file/src/index.js.html index f8821d3..2cf6aeb 100644 --- a/file/src/index.js.html +++ b/file/src/index.js.html @@ -34,81 +34,27 @@

    src/index.js

    -
    export * from './0-legacy' ;
    -export * from './1-new' ;
    +
    export * from './DEFAULT_DISPLAY_BASE' ;
    +export * from './DEFAULT_REPRESENTATION_BASE' ;
    +export * from './Integer' ;
    +export * from './IntegerRing' ;
    +export * from './ZZ' ;
     
    diff --git a/function/index.html b/function/index.html deleted file mode 100644 index 27ef3d9..0000000 --- a/function/index.html +++ /dev/null @@ -1,6085 +0,0 @@ - - - - - - Function | aureooms/js-integer API Document - - - - - - - - - - - -
    - Home - Manual - Reference - Source - Test - Repository - -
    - - - -

    Function

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Static Public Summary
    - public - - - - - -
    -

    - and(a: *, a0: *, b: *, b0: *, c: *, c0: *, c1: *) -

    -
    -
    - - -

    BINARY and APPLIED ON a AND b

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - badd_t(r: int): * -

    -
    -
    - - - -
    -
    - - -
    - public - - - - - -
    -

    - band_t(r: *): * -

    -
    -
    - - -

    BIG ENDIAN BINARY and APPLIED ON a AND b

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - bcmp_t(): * -

    -
    -
    - - - -
    -
    - - -
    - public - - - - - -
    -

    - bdiv_t(lt: *, sub: *): * -

    -
    -
    - - - -
    -
    - - -
    - public - - - - - -
    -

    - bkaratsuba_t(add: function, sub: function, mul: function, copy: function, calloc: function, r: uint): * -

    -
    -
    - - -

    /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e.

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - bmul53_t(r: *): * -

    -
    -
    - - -

    /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e.

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - bmul_t(r: *): * -

    -
    -
    - - - -
    -
    - - -
    - public - - - - - -
    -

    - bsub_t(r: int): * -

    -
    -
    - - - -
    -
    - - -
    - public - - - - - -
    -

    - convert(f: *, t: *, a: *, ai: *, aj: *): * -

    -
    -
    - - - -
    -
    - - -
    - public - - - - - -
    -

    - convert_keep_zeros(f: *, t: *, a: *, ai: *, aj: *): * -

    -
    -
    - - - -
    -
    - - -
    - public - - - - - -
    -

    - eq_t(cmp: *): * -

    -
    -
    - - -

    Wrapper for a comparison operator that returns true iff -a is equal to b.

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - ge_t(cmp: *): * -

    -
    -
    - - -

    Wrapper for a comparison operator that returns true iff -a is greater or equal to b.

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - gt_t(cmp: *): * -

    -
    -
    - - -

    Wrapper for a comparison operator that returns true iff -a is greater than b.

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - ladd_t(r: int): * -

    -
    -
    - - - -
    -
    - - -
    - public - - - - - -
    -

    - land_t(r: *): * -

    -
    -
    - - -

    LITTLE ENDIAN BINARY and APPLIED ON a AND b

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - lcmp_t(): * -

    -
    -
    - - - -
    -
    - - -
    - public - - - - - -
    -

    - le_t(cmp: *): * -

    -
    -
    - - -

    Wrapper for a comparison operator that returns true iff -a is less or equal to b.

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - lmul53_t(r: *): * -

    -
    -
    - - -

    /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e.

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - lsub_t(r: int): * -

    -
    -
    - - - -
    -
    - - -
    - public - - - - - -
    -

    - lt_t(cmp: *): * -

    -
    -
    - - -

    Wrapper for a comparison operator that returns true iff -a is less than b.

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - ne_t(cmp: *): * -

    -
    -
    - - -

    Wrapper for a comparison operator that returns true iff -a is not equal to b.

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - parse(f: *, t: *, string: *): * -

    -
    -
    - - - -
    -
    - - -
    - public - - - - - -
    -

    - parse_keep_zeros(f: *, t: *, string: *): * -

    -
    -
    - - - -
    -
    - - -
    - public - - - - - -
    -

    - parse_t(f: int, t: int, iter: function): * -

    -
    -
    - - -

    Function template for number parsing.

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - stringify(f: *, t: *, a: *, ai: *, aj: *): * -

    -
    -
    - - - -
    -
    - - -
    - public - - - - - -
    -

    - stringify_keep_zeros(f: *, t: *, a: *, ai: *, aj: *): * -

    -
    -
    - - - -
    -
    - - -
    - public - - - - - -
    -

    - stringify_t(f: int, t: int, iter: function): * -

    -
    -
    - - -

    Function template for number stringification.

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - trim_natural(a: *, ai: *, aj: *): * -

    -
    -
    - - - -
    -
    - - -
    - public - - - - - -
    -

    - wrapbin(fn: *): * -

    -
    -
    - - -

    Wrapper for binary operator.

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - wrapcmp(cmp: *): * -

    -
    -
    - - - -
    -
    - - -
    - public - - - - - -
    -

    - wrapmov(fn: *): * -

    -
    -
    - - - -
    -
    - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Static Private Summary
    - private - - - - - -
    -

    - _CMP(a: array, ai: int, aj: int, b: array, bi: int, bj: int): int -

    -
    -
    - - -

    Compares two big endian arrays, |a| >= |b|

    -
    -
    -
    - - -
    - private - - - - - -
    -

    - __ebs__(alloc: *, iszero: *, setone: *, iseven: *, div2: *, minus1: *) -

    -
    -
    - - -

    Computes pow(a, b) using exponentiation by squaring.

    -
    -
    -
    - - -
    - private - - - - - -
    -

    - __pow__(alloc: *, isnotzero: *, setone: *, iseven: *, div2: *, minus1: *) -

    -
    -
    - - -

    Computes pow(a, b) using naive exponentiation.

    -
    -
    -
    - - -
    - private - - - - - -
    -

    - _alloc(n: *): * -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _build(base: *, number: *): * -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _chr(x: *): * -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _cmp(a: *, ai: *, aj: *, b: *, bi: *, bj: *): * -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _convert(f: Number, t: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number): * -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _convert_slow(f: Number, t: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number) -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _convert_to_larger(f: Number, t: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number): * -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _convert_to_larger_fast(ar: Number, z: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number) -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _convert_to_smaller(f: Number, t: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number): * -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _convert_to_smaller_fast(br: Number, z: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number) -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _copy(a: *, ai: *, aj: *, b: *, bi: *) -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _div(x: int, r: array, ri: int, rj: int, b: array, bi: int, bj: int, q: array, qi: int) -

    -
    -
    - - -

    Computes quotient and remainder of two big endian arrays.

    -
    -
    -
    - - -
    - private - - - - - -
    -

    - _fill(a: *, ai: *, aj: *, v: *) -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _int(x: *): * -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _jz(a: array, ai: int, aj: int): boolean -

    -
    -
    - - -

    Returns true if number is 0.

    -
    -
    -
    - - -
    - private - - - - - -
    -

    - _log(x: *, y: *): * -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _reset(a: *, ai: *, aj: *) -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _sub(r: int, a: array, ai: int, aj: int, b: array, bi: int, bj: int, c: array, ci: int, cj: int) -

    -
    -
    - - -

    Subtracts two big endian arrays, k >= i >= j -wraps

    -
    -
    -
    - - -
    - private - - - - - -
    -

    - _to_string(b: *): * -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _trim_positive(a: *, ai: *, aj: *): * -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _zeros(n: *): * -

    -
    -
    - - - -
    -
    - - -
    -
    -

    Static Public

    - -
    -

    - public - - - - - and(a: *, a0: *, b: *, b0: *, c: *, c0: *, c1: *) - - - - source - -

    - - - - -

    BINARY and APPLIED ON a AND b

    -

    Meaningful only when r is a power of 2.

    -

    |a| = |b| = |c| > 0

    -
    - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    a*
    a0*
    b*
    b0*
    c*
    c0*
    c1*
    -
    -
    - - - - - - - - - - - - - - - -
    -
    -

    - public - - - - - badd_t(r: int): * - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    rint

    base (radix)

    -
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - band_t(r: *): * - - - - source - -

    - - - - -

    BIG ENDIAN BINARY and APPLIED ON a AND b

    -

    Meaningful only when r is a power of 2.

    -

    |a| >= |b| > 0

    -

    treats b as if it was represented with the same number of blocks as a

    -
    - - - -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    r*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - bcmp_t(): * - - - - source - -

    - - - - - - - - -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - bdiv_t(lt: *, sub: *): * - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    lt*
    sub*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - bkaratsuba_t(add: function, sub: function, mul: function, copy: function, calloc: function, r: uint): * - - - - source - -

    - - - - -

    /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)

    -
    - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    addfunction

    addition algorithm

    -
    subfunction

    subtraction algorithm

    -
    mulfunction

    multiplication algorithm

    -
    copyfunction

    copy algorithm

    -
    callocfunction

    array allocator

    -
    ruint

    base (radix)

    -

    EXPLANATION

    -

    ###########

    -

    We consider the numbers a and b, both of size N = 2n.

    -

    We divide a and b into their lower and upper parts.

    -

    a = a1 r^{n} + a0 (1) -b = b1 r^{n} + b0 (2)

    -

    We express the product of a and b using their lower and upper parts.

    -

    a b = (a1 r^{n} + a0) (b1 r^{n} + b0) (3) - = a1 b1 r^{2n} + (a1 b0 + a0 b1) r^{n} + a0 b0 (4)

    -

    This gives us 4 multiplications with operands of size n. -Using a simple trick, we can reduce this computation to 3 multiplications.

    -

    We give the 3 terms of (4) the names z0, z1 and z2.

    -

    z2 = a1 b1 -z1 = a1 b0 + a0 b1 -z0 = a0 b0

    -

    a b = z2 r^{2n} + z1 r^{n} + z0

    -

    We then express z1 using z0, z2 and one additional multiplication.

    -

    (a1 + a0)(b1 + b0) = a1 b1 + a0 b0 + (a1 b0 + a0 b1) - = z2 + z0 + z1

    -

    z1 = (a1 + a0)(b1 + b0) - z2 - z0

    -

    AN ANOTHER WAY AROUND (not used here)

    -

    (a1 - a0)(b1 - b0) = (a1 b1 + a0 b0) - (a1 b0 + a0 b1) -(a0 - a1)(b1 - b0) = (a1 b0 + a0 b1) - (a1 b1 + a0 b0) -a b = (r^{2n} + r^{n})a1 b1 + r^{n}(a0 - a1)(b1 - b0) + (r^{n} + 1)a0 b0

    -

    This algorithm is a generalization of the Toom-Cook algorithm, when m = n = 2.

    -

    For further reference, see

    - -
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - bmul53_t(r: *): * - - - - source - -

    - - - - -

    /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)

    -

    big endian 1 block multiplication

    -
    - - - -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    r*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - bmul_t(r: *): * - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    r*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - bsub_t(r: int): * - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    rint

    base (radix)

    -
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - convert(f: *, t: *, a: *, ai: *, aj: *): * - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    f*
    t*
    a*
    ai*
    aj*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - convert_keep_zeros(f: *, t: *, a: *, ai: *, aj: *): * - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    f*
    t*
    a*
    ai*
    aj*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - eq_t(cmp: *): * - - - - source - -

    - - - - -

    Wrapper for a comparison operator that returns true iff -a is equal to b.

    -
    - - - -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    cmp*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - ge_t(cmp: *): * - - - - source - -

    - - - - -

    Wrapper for a comparison operator that returns true iff -a is greater or equal to b.

    -
    - - - -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    cmp*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - gt_t(cmp: *): * - - - - source - -

    - - - - -

    Wrapper for a comparison operator that returns true iff -a is greater than b.

    -
    - - - -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    cmp*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - ladd_t(r: int): * - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    rint

    base (radix)

    -
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - land_t(r: *): * - - - - source - -

    - - - - -

    LITTLE ENDIAN BINARY and APPLIED ON a AND b

    -

    Meaningful only when r is a power of 2.

    -

    |a| >= |b| > 0

    -

    treats b as if it was represented with the same number of blocks as a

    -
    - - - -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    r*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - lcmp_t(): * - - - - source - -

    - - - - - - - - -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - le_t(cmp: *): * - - - - source - -

    - - - - -

    Wrapper for a comparison operator that returns true iff -a is less or equal to b.

    -
    - - - -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    cmp*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - lmul53_t(r: *): * - - - - source - -

    - - - - -

    /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. 53 bits)

    -

    little endian 1 block multiplication

    -
    - - - -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    r*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - lsub_t(r: int): * - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    rint

    base (radix)

    -
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - lt_t(cmp: *): * - - - - source - -

    - - - - -

    Wrapper for a comparison operator that returns true iff -a is less than b.

    -
    - - - -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    cmp*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - ne_t(cmp: *): * - - - - source - -

    - - - - -

    Wrapper for a comparison operator that returns true iff -a is not equal to b.

    -
    - - - -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    cmp*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - parse(f: *, t: *, string: *): * - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    f*
    t*
    string*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - parse_keep_zeros(f: *, t: *, string: *): * - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    f*
    t*
    string*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - parse_t(f: int, t: int, iter: function): * - - - - source - -

    - - - - -

    Function template for number parsing. -Endianess provided by the iterator function -iterator function must be reverse ordered

    -
    - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    fint

    from radix

    -
    tint

    to radix

    -
    iterfunction

    iterator function

    -
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - stringify(f: *, t: *, a: *, ai: *, aj: *): * - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    f*
    t*
    a*
    ai*
    aj*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - stringify_keep_zeros(f: *, t: *, a: *, ai: *, aj: *): * - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    f*
    t*
    a*
    ai*
    aj*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - stringify_t(f: int, t: int, iter: function): * - - - - source - -

    - - - - -

    Function template for number stringification. -Endianess provided by the iterator function

    -
    - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    fint

    from radix

    -
    tint

    to radix

    -
    iterfunction

    iterator function

    -
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - trim_natural(a: *, ai: *, aj: *): * - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    a*
    ai*
    aj*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - wrapbin(fn: *): * - - - - source - -

    - - - - -

    Wrapper for binary operator. -Ensures

    -
    i >= j
    -i0, j0, k0 >= 0
    -
    - - - -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    fn*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - wrapcmp(cmp: *): * - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    cmp*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - public - - - - - wrapmov(fn: *): * - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    fn*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -

    Static Private

    - -
    -

    - private - - - - - _CMP(a: array, ai: int, aj: int, b: array, bi: int, bj: int): int - - - - source - -

    - - - - -

    Compares two big endian arrays, |a| >= |b|

    -
    - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    aarray

    first operand

    -
    aiint

    a left

    -
    ajint

    a right

    -
    barray

    second operand

    -
    biint

    b left

    -
    bjint

    b right

    -
    -
    -
    - -
    -

    Return:

    - - - - - -
    int

    1 if a > b; 0 if a = b; -1 otherwise.

    -
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - private - - - - - __ebs__(alloc: *, iszero: *, setone: *, iseven: *, div2: *, minus1: *) - - - - source - -

    - - - - -

    Computes pow(a, b) using exponentiation by squaring.

    -

    could add an additional base case for b = 1

    -
    - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    alloc*
    iszero*
    setone*
    iseven*
    div2*
    minus1*
    -
    -
    - - - - - - - - - - - - - - - -
    -
    -

    - private - - - - - __pow__(alloc: *, isnotzero: *, setone: *, iseven: *, div2: *, minus1: *) - - - - source - -

    - - - - -

    Computes pow(a, b) using naive exponentiation.

    -
    - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    alloc*
    isnotzero*
    setone*
    iseven*
    div2*
    minus1*
    -
    -
    - - - - - - - - - - - - - - - -
    -
    -

    - private - - - - - _alloc(n: *): * - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    n*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - private - - - - - _build(base: *, number: *): * - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    base*
    number*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - private - - - - - _chr(x: *): * - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    x*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - private - - - - - _cmp(a: *, ai: *, aj: *, b: *, bi: *, bj: *): * - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    a*
    ai*
    aj*
    b*
    bi*
    bj*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - private - - - - - _convert(f: Number, t: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number): * - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    fNumber

    the base to convert from

    -
    tNumber

    the base to convert to

    -
    aArray

    the origin array

    -
    aiNumber

    start offset in the origin array

    -
    ajNumber

    end offset in the origin array

    -
    bArray

    the destination array

    -
    biNumber

    start offset in the destination array

    -
    bjNumber

    end offset in the destination array

    -
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - private - - - - - _convert_slow(f: Number, t: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number) - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    fNumber

    the base to convert from

    -
    tNumber

    the base to convert to

    -
    aArray

    the origin array

    -
    aiNumber

    start offset in the origin array

    -
    ajNumber

    end offset in the origin array

    -
    bArray

    the destination array

    -
    biNumber

    start offset in the destination array

    -
    bjNumber

    end offset in the destination array

    -
    -
    -
    - - - - - - - - - - - - - - - -
    -
    -

    - private - - - - - _convert_to_larger(f: Number, t: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number): * - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    fNumber

    the base to convert from

    -
    tNumber

    the base to convert to

    -
    aArray

    the origin array

    -
    aiNumber

    start offset in the origin array

    -
    ajNumber

    end offset in the origin array

    -
    bArray

    the destination array

    -
    biNumber

    start offset in the destination array

    -
    bjNumber

    end offset in the destination array

    -
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - private - - - - - _convert_to_larger_fast(ar: Number, z: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number) - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    arNumber

    the base to convert from

    -
    zNumber

    if br is the base to convert to then log(br) = z log(ar)

    -
    aArray

    the origin array

    -
    aiNumber

    start offset in the origin array

    -
    ajNumber

    end offset in the origin array

    -
    bArray

    the destination array

    -
    biNumber

    start offset in the destination array

    -
    bjNumber

    end offset in the destination array

    -
    -
    -
    - - - - - - - - - - - - - - - -
    -
    -

    - private - - - - - _convert_to_smaller(f: Number, t: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number): * - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    fNumber

    the base to convert from

    -
    tNumber

    the base to convert to

    -
    aArray

    the origin array

    -
    aiNumber

    start offset in the origin array

    -
    ajNumber

    end offset in the origin array

    -
    bArray

    the destination array

    -
    biNumber

    start offset in the destination array

    -
    bjNumber

    end offset in the destination array

    -
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - private - - - - - _convert_to_smaller_fast(br: Number, z: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number) - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    brNumber

    the base to convert to

    -
    zNumber

    if ar is the base to convert to then log(ar) = z log(br)

    -
    aArray

    the origin array

    -
    aiNumber

    start offset in the origin array

    -
    ajNumber

    end offset in the origin array

    -
    bArray

    the destination array

    -
    biNumber

    start offset in the destination array

    -
    bjNumber

    end offset in the destination array

    -
    -
    -
    - - - - - - - - - - - - - - - -
    -
    -

    - private - - - - - _copy(a: *, ai: *, aj: *, b: *, bi: *) - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    a*
    ai*
    aj*
    b*
    bi*
    -
    -
    - - - - - - - - - - - - - - - -
    -
    -

    - private - - - - - _div(x: int, r: array, ri: int, rj: int, b: array, bi: int, bj: int, q: array, qi: int) - - - - source - -

    - - - - -

    Computes quotient and remainder of two big endian arrays.

    -

    -Computes quotient and remainder of two big endian arrays -using long division algorithm (the one teached in -european primary schools).

    -

    /!\ This algorithm modifies its first operand.

    -

    HYP : q is at least as large as r - b is not zero

    -
    - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    xint

    the radix

    -
    rarray

    dividend and remainder

    -
    riint

    r left

    -
    rjint

    r right

    -
    barray

    divisor

    -
    biint

    b left

    -
    bjint

    b right

    -
    qarray

    quotient, must be 0 initialized

    -
    qiint

    q left

    -
    -
    -
    - - - - - - - - - - - - - - - -
    -
    -

    - private - - - - - _fill(a: *, ai: *, aj: *, v: *) - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    a*
    ai*
    aj*
    v*
    -
    -
    - - - - - - - - - - - - - - - -
    -
    -

    - private - - - - - _int(x: *): * - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    x*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - private - - - - - _jz(a: array, ai: int, aj: int): boolean - - - - source - -

    - - - - -

    Returns true if number is 0.

    -
    - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    aarray

    first operand

    -
    aiint

    a left

    -
    ajint

    a right

    -
    -
    -
    - -
    -

    Return:

    - - - - - -
    boolean
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - private - - - - - _log(x: *, y: *): * - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    x*
    y*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - private - - - - - _reset(a: *, ai: *, aj: *) - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    a*
    ai*
    aj*
    -
    -
    - - - - - - - - - - - - - - - -
    -
    -

    - private - - - - - _sub(r: int, a: array, ai: int, aj: int, b: array, bi: int, bj: int, c: array, ci: int, cj: int) - - - - source - -

    - - - - -

    Subtracts two big endian arrays, k >= i >= j -wraps

    -
    - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    rint

    base (radix)

    -
    aarray

    first operand

    -
    aiint

    a left

    -
    ajint

    a right

    -
    barray

    second operand

    -
    biint

    b left

    -
    bjint

    b right

    -
    carray

    result, must be 0 initialized

    -
    ciint

    c left

    -
    cjint

    c right

    -
    -
    -
    - - - - - - - - - - - - - - - -
    -
    -

    - private - - - - - _to_string(b: *): * - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    b*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - private - - - - - _trim_positive(a: *, ai: *, aj: *): * - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    a*
    ai*
    aj*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -

    - private - - - - - _zeros(n: *): * - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    n*
    -
    -
    - -
    -

    Return:

    - - - - - -
    *
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -
    - - - - - - - - - - - - diff --git a/identifiers.html b/identifiers.html index 81f7ed6..38e9ea5 100644 --- a/identifiers.html +++ b/identifiers.html @@ -34,77 +34,18 @@

    References

    - - -

    Function Summary

    - +

    Class Summary

    Static Public Function Summary
    + @@ -118,84 +59,9 @@ - - - - - - - - - - - - - - - - - - - - - - - +
    Static Public Class Summary

    - and(a: *, a0: *, b: *, b0: *, c: *, c0: *, c1: *) -

    -
    -
    - - -

    BINARY and APPLIED ON a AND b

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - badd_t(r: int): * -

    -
    -
    - - - -
    -
    - - -
    - public - - - - - -
    -

    - band_t(r: *): * -

    -
    -
    - - -

    BIG ENDIAN BINARY and APPLIED ON a AND b

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - bcmp_t(): * + + + Integer

    @@ -220,7 +86,9 @@

    - bdiv_t(lt: *, sub: *): * + + + IntegerRing

    @@ -234,134 +102,16 @@
    - public - - - - - -
    -

    - bkaratsuba_t(add: function, sub: function, mul: function, copy: function, calloc: function, r: uint): * -

    -
    -
    - - -

    /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e.

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - bmul53_t(r: *): * -

    -
    -
    - - -

    /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e.

    +
    -
    - - - - - - - - - public - - - - - - -
    -

    - bmul_t(r: *): * -

    -
    -
    - - - -
    - - - - - - - - - public - - - - - - -
    -

    - bsub_t(r: int): * -

    -
    -
    - - - -
    - - - - - - - - - public - - - - - - -
    -

    - convert(f: *, t: *, a: *, ai: *, aj: *): * -

    -
    -
    - - - -
    - - - - - - - + + +

    Variable Summary

    + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Static Public Variable Summary
    public @@ -372,7 +122,9 @@

    - convert_keep_zeros(f: *, t: *, a: *, ai: *, aj: *): * + + + DEFAULT_DISPLAY_BASE: number

    @@ -397,69 +149,15 @@

    - eq_t(cmp: *): * -

    -
    -
    - - -

    Wrapper for a comparison operator that returns true iff -a is equal to b.

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - ge_t(cmp: *): * + + + DEFAULT_REPRESENTATION_BASE: *

    -

    Wrapper for a comparison operator that returns true iff -a is greater or equal to b.

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - gt_t(cmp: *): * -

    -
    -
    - -

    Wrapper for a comparison operator that returns true iff -a is greater than b.

    -
    @@ -478,1213 +176,9 @@

    - ladd_t(r: int): * -

    -
    -
    - - - -
    -
    - - -
    - public - - - - - -
    -

    - land_t(r: *): * -

    -
    -
    - - -

    LITTLE ENDIAN BINARY and APPLIED ON a AND b

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - lcmp_t(): * -

    -
    -
    - - - -
    -
    - - -
    - public - - - - - -
    -

    - le_t(cmp: *): * -

    -
    -
    - - -

    Wrapper for a comparison operator that returns true iff -a is less or equal to b.

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - lmul53_t(r: *): * -

    -
    -
    - - -

    /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e.

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - lsub_t(r: int): * -

    -
    -
    - - - -
    -
    - - -
    - public - - - - - -
    -

    - lt_t(cmp: *): * -

    -
    -
    - - -

    Wrapper for a comparison operator that returns true iff -a is less than b.

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - ne_t(cmp: *): * -

    -
    -
    - - -

    Wrapper for a comparison operator that returns true iff -a is not equal to b.

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - parse(f: *, t: *, string: *): * -

    -
    -
    - - - -
    -
    - - -
    - public - - - - - -
    -

    - parse_keep_zeros(f: *, t: *, string: *): * -

    -
    -
    - - - -
    -
    - - -
    - public - - - - - -
    -

    - parse_t(f: int, t: int, iter: function): * -

    -
    -
    - - -

    Function template for number parsing.

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - stringify(f: *, t: *, a: *, ai: *, aj: *): * -

    -
    -
    - - - -
    -
    - - -
    - public - - - - - -
    -

    - stringify_keep_zeros(f: *, t: *, a: *, ai: *, aj: *): * -

    -
    -
    - - - -
    -
    - - -
    - public - - - - - -
    -

    - stringify_t(f: int, t: int, iter: function): * -

    -
    -
    - - -

    Function template for number stringification.

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - trim_natural(a: *, ai: *, aj: *): * -

    -
    -
    - - - -
    -
    - - -
    - public - - - - - -
    -

    - wrapbin(fn: *): * -

    -
    -
    - - -

    Wrapper for binary operator.

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - wrapcmp(cmp: *): * -

    -
    -
    - - - -
    -
    - - -
    - public - - - - - -
    -

    - wrapmov(fn: *): * -

    -
    -
    - - - -
    -
    - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Static Private Function Summary
    - private - - - - - -
    -

    - _CMP(a: array, ai: int, aj: int, b: array, bi: int, bj: int): int -

    -
    -
    - - -

    Compares two big endian arrays, |a| >= |b|

    -
    -
    -
    - - -
    - private - - - - - -
    -

    - __ebs__(alloc: *, iszero: *, setone: *, iseven: *, div2: *, minus1: *) -

    -
    -
    - - -

    Computes pow(a, b) using exponentiation by squaring.

    -
    -
    -
    - - -
    - private - - - - - -
    -

    - __pow__(alloc: *, isnotzero: *, setone: *, iseven: *, div2: *, minus1: *) -

    -
    -
    - - -

    Computes pow(a, b) using naive exponentiation.

    -
    -
    -
    - - -
    - private - - - - - -
    -

    - _alloc(n: *): * -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _build(base: *, number: *): * -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _chr(x: *): * -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _cmp(a: *, ai: *, aj: *, b: *, bi: *, bj: *): * -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _convert(f: Number, t: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number): * -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _convert_slow(f: Number, t: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number) -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _convert_to_larger(f: Number, t: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number): * -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _convert_to_larger_fast(ar: Number, z: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number) -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _convert_to_smaller(f: Number, t: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number): * -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _convert_to_smaller_fast(br: Number, z: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number) -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _copy(a: *, ai: *, aj: *, b: *, bi: *) -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _div(x: int, r: array, ri: int, rj: int, b: array, bi: int, bj: int, q: array, qi: int) -

    -
    -
    - - -

    Computes quotient and remainder of two big endian arrays.

    -
    -
    -
    - - -
    - private - - - - - -
    -

    - _fill(a: *, ai: *, aj: *, v: *) -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _int(x: *): * -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _jz(a: array, ai: int, aj: int): boolean -

    -
    -
    - - -

    Returns true if number is 0.

    -
    -
    -
    - - -
    - private - - - - - -
    -

    - _log(x: *, y: *): * -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _reset(a: *, ai: *, aj: *) -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _sub(r: int, a: array, ai: int, aj: int, b: array, bi: int, bj: int, c: array, ci: int, cj: int) -

    -
    -
    - - -

    Subtracts two big endian arrays, k >= i >= j -wraps

    -
    -
    -
    - - -
    - private - - - - - -
    -

    - _to_string(b: *): * -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _trim_positive(a: *, ai: *, aj: *): * -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _zeros(n: *): * -

    -
    -
    - - - -
    -
    - - -
    -
    -

    Variable Summary

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Static Private Variable Summary
    - private - - - - - -
    -

    - _eq: * -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _ge: * -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _gt: * -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _le: * -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _lt: * -

    -
    -
    - - - -
    -
    - - -
    - private - - - - - -
    -

    - _ne: * + + + ZZ: src/.js~IntegerRing

    @@ -1706,7 +200,7 @@
    diff --git a/image/badge.svg b/image/badge.svg index 324db4c..b18426b 100644 --- a/image/badge.svg +++ b/image/badge.svg @@ -1,17 +1,17 @@ - + - - + + - + document document - @ratio@ - @ratio@ + @ratio@ + @ratio@ diff --git a/image/esdoc-logo-mini-black.png b/image/esdoc-logo-mini-black.png new file mode 100644 index 0000000000000000000000000000000000000000..5d5f9a254a27bdd14a2156eb3c66fbe2daa89459 GIT binary patch literal 5651 zcmY*d2UJtdwmt!Zp;zf86hWkgE*%2W3`L{`P)aC4S|C(G2u*qurArqD=>pPAKoF#Z zNC!nJA`qoW6E6PuzWd%gYt5ONz4v_Ie0$BDwbzL?GSH?XXCnsyfJ#?K)A+Ji``aL- zm+x{Hucgb5#93Wm9RO;RDbDP`mvbme$5eE)oDvE={-%0PuwYz;{~!P{;%T zW=w9&9i>YL8Ab<*1po?$zYPRr=du6*2&33+*WahRmIq@?I&geW%9!^bW_ z)C0@+Z;=1N(R9S3yj?IpE}kCHzqoexp1wZHyu5#j{`>rUpFS>5|I6fo{g13mf#QEX z;u2yo@&969E>-$#RWS5+alB;yi?1S~^iSmfv;BuhN&GMQ|JlsHmHuPBl&V6mB>vyD zsgNV^f=B>hLOGG@svstB_ zrWm`Ox%8gLS?SW%>$}c9A;OeCH!6OG>Q7Rvu;~n0c9Wggr+RKOC--3LRl}0iMzbEc zG{p2+*D-6*{$TVO&dL4Fuq;;PWTV(-Y7Gaq5cH(lU3mI19s=y8b5}EiU<`hXzMss7 zvt_n~1q{tLc^*qX@F=qU*r$#PA7rx&DVOlnV;Pn4SU5@?RXL?p2Z=$Z7evr3w_apm z_N4FbPLT;kp+G=ZfP=>R5^rso|W&8+^QMsnqa z(NMGZ?iQ_6!3EEv^qJJAS|pOPJ|tJuc4wHHnAATTI4v58V9Raxc2(e;Iv=u5ya%Q4 zQ&L`TUG$q*W24Sq{o9R)!{$ug)E%jE7%ThK>KR*y2lJfxq-rGL5Ul>+sm5QL0JQ z8e?A**woDI@!D`s^ls;cO7Ou)bEvbT|Bm%*`5XuvS!ly_o6Bc>l>cNbEn_@FqD_t@ zBn=1-Tl8OUZx;xKQyyqe#!YXjoFAv7VMGC` zR!JzQEg_LG8_l5Of3C$og;Oo9BwYdLTLc9#i{4bH@Jlb9-jWw)a8#7qKHOPU+~1y; zlcL;>st#lLqwL9WU^xlY~xX<>SjMBl> z-D%O+ua3TD*pzE(Bu-bGJj(mdDU~$@MRw`EY`|36?^4kNPSvrlynEv4?nBFzlBks_ zmdPuyd-aVU#9AYzMsD)$Z;bOHGGRPz2h&!dZd)q%`Nntlh{+w&qed2TVe=}=cxG|x z-Hua_qm!-bL@$z9N8D;v_rnC!djoYv;LrK58e@xonvA!U7s6*=0SoIAL86gsWuIK^ zm`1TY&JdoJ)1V)<+D&WOu6QuBwXKtWPI!7&9byI(Lt#M#cbP2JpK+~j9}0(+Z@*n$ z!kAUxci$oLpev{~z?YeZijN;Qp}BDQDe6#16dVcC6te7^)HIAa9)%`PLd?P`EmB zyjVMW_Kowp*`!St8a-YVl^E;fhN{WF%#Ii$_vSb`u~^GS5oRsR`Ed`m;*cLP23M+| zV|kBoMQfN-diOt6W4s^z18A$T{n8g5~{TZ?HniWU_v+M z{CNG!HsteTb`Kb+X0R}t>p?)KWGir zGFi~vTmi6x%pngt*oLEp#LPFZ@eKLN8GPnXCX>>oDE8L9CCZw2zuyHfYd`%*MLh}w z>8tQ;-EPDTT+6Tkwl1X|eTf$*k_ky}(xRwIfpJVzt{b!U;cUr4IHc`S`e+>!~v+{?()31rtO%sUnTJ4M4S!|8ooP248 z=pN<@IkKC#J6sOEz(L~yGox$Y^zV54Cj6olX?jIFfuf5c18)o4+JR+mOzEbQzKNUg zvu(aSDRsP1Mf+Yz5c3|g+2HUUv(3=pS)JrTMP@Dj&EZK!IO=dEf@VZ7Ms_V1J2DVL z=)QvdMnootV%)D=4&Kv0tnKHLQUc4qc0?kb#Y?3z( z0;M5mk10Wp?EUIK-CwW-U(~v5H5?0f#L1GOGgZpAyTXWvf5c8XxW)0U^}9u(Cn->~ zWQ>`J_&+BHQt@5O-F9uObv?9FEk2v}-^R7MqeyNSC8?et74#Sd9L_q6GT8=#J#f6P z4q*NV`Y#efzjK1vlFO;+`zChh4o@D`B^@3rrOgW&{usRO32rbpYrIG`>&gVU~Oh0*xotspb#YDZOcT=6yf;>5|h z44V*_N9d%5d;Y|S1_iv>h+`t`ese`Bjr{=AILGKW0&DMFt^_TcnwlnEt{gz}tY~)b z3wMTI{!!8)eI7mNz2G)7dsDz(l1{$byXa>qwW6jgVmxd+VG#tE?MtC3m0iNoAslIzvln<#1W(j31=zsI?8F0lZk8{!*$?XXdo z^0xAy{mFE6Ed}POz;n`@=-OLPB#9yABu#*2Ur4B2C!~GaS-kw} z^rY};h%jN^t4ldVJ+%k!Mvzj~J&$0w(GyyMGk)MXZvGM{j3<2V5f!w3G)EVCrl3ab zlTIH#xAoJBDCMwHLp^G%>g@Ep&Q*ruTScO3)LrmiAUK~-VjjxOV*%=>z(Y)$!0E&) zt4+L$zZbBg8SBzydv34MwA~Wv@??HWQc1-JI1n-Zqqz;I-@Lor{Na(4+PEA!1FqGS zzuBUpv1VMfi=+VjDTb_Lf(bm7_J;{iaEGAo7$YHl(q1nH(gdv>oJL8LZDVZsG&41e zhp-d6g0l)u#2#TaN|^BIi()%oC792K5f+?$)S*%ZQL`bdc~vHF-gnO5bP8cmJDX0w z>lLz(Sc@WKviHgZEsb+HKlH$XPI6i6lMN$!q|74JB(oA6y;mmI0#<$vwV^XDFqhSH zmJwM8_2xl)r4ChUUk&;`+o}8t>rWTZ(cYJsr#eC%?00q8?;0|M!(gTmC&RU)^4$}s ztLP`^J|G%WI@(b**KNJk8iDDE7XU|FjpVc=<;vFi{@oEY@->NtB>!2|{s$R`rCb-b z?HS>c<~w!!-%Kj5Fhv;cdx2@F@q2`1f4yu5=qttu_>z+JxKO|U)jo`2G@xpL)1%|q>2_Tc;7A2*uZCQf@NMm=^IoF-9yV+!Es#-kkzT{p zf7p8#DDLC4BxEf_GaX5z1qx6^B?R~ps~8=v!(#ALzESQW@8y&seVWZuCGCY>X64*g zGn`Q83q#dE(rt%xuIXqV%?eEkVUEiZ*RNDZ_*w(0xs3(p`AN`iph;#o@ON$$kx?kM zZcw1G3o4Fj-U?0-$M5HqlIfvStJTrr71SAB%D}H+72A{pP)Qq!$b&}Fki&2nVt&P7 zUEUY(a;35okQ7uq{1A$CN zZpE@`g7$+6$FeXja9i(Hiv-&Zt1k_o?z?IpeY-B$C72&PK`z&PR&k3PP87|b*(V9{ zrp^=t(G(ij2t+;{6ne=*-tX2Slf+6a)V)J$%XOPai&5f_<@kH^Lf`T~Pr)>PTkdJS zst3JH^TQ@jIZOxN3b=$VAxb;iiY1xU^ggt=Eq_d{?}COUclCB(VO|M9C=T(c>9I{X zA-K8Kt6IL_P&8OwhU5Z2wo=@^B}H?!vGn~%&w=0B#SIaZiCa^XD%Z z^_{Wf1D3Cv1%|L-e#5aZDk+&bwHRVR)!%Elh8P&(_Z7l`QV)q>+uYhS^vL+YKUVP6 zz$3QE!(-*oIwwKTjt?y87byhk_b|ph-1!3Go^ekECC zz;6}beQD63rnj(?l|N&50s((MIlKQd){K2f&Q5IHFN0_;W`^d`E&X@>f|LOowR4ZI zrwzCXf)G>T?Y#vQg(bA(l5m{MN{R+`t*dB=T(9AMTFP{Fj^^`|tsV^;Wrw%AZZCVO zDxLAV$omq%M8v}Qvio9=Kkyp2D|gPUc#Ea1tZG2iof?dX@^AFzeGC^-o2|*e#^+6g zj^7w|N&54sn@BNXwwY_vPYptH6Ne>1I{5lFB#QPZWjp4qMn9JTG2D~EA#w|Y;eq!m97s&hZ)3Od{U>EyMP)M+|ukM0?I+`yZU zrn;2ljY&PuXkg z)g7muqqmSo|4x>7zIw1x-t@0y)$;3Ql<^?Ldk1&#v3*cihJWCBdGe$}5593DTsx*9 zB=!0jhQe)O{ViJ`EfFFf?du8DDMxDBG8_%1v(v@{L*;5IQic7t7g7KNN1$>`gdv_UxV7U3OV0%d0Es?^ z;D5*cEJLs`$RbqQsqayR57Xg9S6KPP^$cHs-4%>Y#vVLOu3O z1ylHre28dj|20AXEb!y%m$H$Q$sIIR4#D{inD*0tN*)P*gRQ@;Gg(jWnV6UUhF7XjZ{(!~X@J%1mzn literal 0 HcmV?d00001 diff --git a/image/esdoc-logo-mini.png b/image/esdoc-logo-mini.png new file mode 100644 index 0000000000000000000000000000000000000000..76ba5b7d8e547bb469f0479736e96707453718b4 GIT binary patch literal 6504 zcmY*;bzD?W-}a%U86yUr-GCsor|Oo z-uM09@AI6`XU@!AbIoV__G5*$QuB-et<%D0Kkh60CueaKq4Igs9$BZXiGf| z;J#8ZMgRal`QL&De8>U;0GhFbo{^`KhPs4}n+vbCts4}^>+ACBfeipsz7h{j7nr9t zldp@jD?-8-!u&6W#6$Zp3}$Bf7sb;F!fd3W#iZco0b>&872@S%md0aZVv_Q(g-hrt zD*tEtLl44i@9FtU0u1)?@!|Cm}FOMsN<=-Oz zPe&1ku<>ws<>}z&%Jf&)8tUfd31MdbYxLje-|O^rfd79dSHyq9dI%8wcLdDO%Lo3i z_QO=Ezo>+!hXd@v`LDh-ztq2&{|Ebzj}-W?`TttXza#w@`Vgu#o)q}MpG_K1z2~X% z!w&eVD$42kqHSmTC7A1H4+LL!RL-a>$cM;=)Npi%^iF@I!c(H-NP*xA(bj^v)p}`W zyJ<`6YWlHDYu|h-N%}Bdz)d6ac#O5%8bMJgr)-8q;?;3T;$kkzPmcr~txB#<9Ic*R zw~z0=R7d{tEwfnL&I%Ymx`cEd+>Sfccb<{mRbDaD)5j18?|ibC#UO4!Pl{jbT(HP^ z?5+q856`f$4R-qAz2v*WI*g6|;u374H*|e75)MCU!XClYvY%*QKAKkbpOK7o7_$`; z5~2vUvM*VRT_4btsuc<7kI7kw*Q?(R?$~c$U=V@C9k+-3dr{%&2cPfnKX-P@e4`{g zEkgSqLrl=yFhMBltes7r_Na8CmtX!a&TNeWI85?&Y9c2E1X254T@2eokS8N` zy5}4A{D{d0ol>(n1mR?W+fM8p19NYirQd>zE}cdaY5Qxl_)A3x|B=+%+E(KBO`?!G zK(WD*(&kWai4$NdFrT#qfyBgAlY%F?!PWgIw>dgP8KIww(hXEE5DL`k#Ip*>)omk{ zeYEmCOXIG#srT%#rRqA47G9o|`@InTa*K6I=e|6zy${#+P@hjLE*3tZ5a_)5zyjE^ z!%jrRI~0C>`>lLV{DQUC`cCgwQxf4XI+q?wTD8tFV*J4(^&cQcc{7nCu6or6weQ5T zM8IyHGP_an`2E{bWN2s=)>gbp^El!BTiD3Bdi{P~#@ue0_Smcug>c~>d<>pdD1bAF z8mBlf)Z0iiN$M5c5W}XSnQUc!nYQ2QeGurmCjBIM>{YO^d#E2x^J;}zhdlGO=CoVy zY~hoYnorJiWlA^u;fv^sL0FL}Mm=n2kBh+-cg7&VxHLUB&IGkzPsM35czyjLv29?~ zgvYU}3(2w&HAXsDlYybs3zucCsWPq%o&6f%u?OZPfV;T+q(s zf`zfxb5mI@=$s`QwJNEB<*P|=SWBLnyd@L)TzPyz1)FvNC;NK*?s!(?bb0dRt>Czr zeE6T{^x#Z5Q{t-K^pK;32s{H>`Z%!Rf*uhQ+jf?1(0K(PVF;XczV;lk@E^*Ehfg%w zPe8`b!yQUhrN2}UR^4rbQ(cyO)idWDS35kXRYhEW>6FuZrxRA2I}xIhO=QzOk5z8W zDT=KXszjzDur^mUd5t~1JmpAiKi&pxI%!!19z{GgjHWoSg9t28O2div=FP zdq1a=K-B4ofi7dCPv^?UH*Y~zGa{-rN-h>y;-FF9yBbK@T(U*g!a~Pu)Kc+t(Qge7 z0dkA%08e(>qTm_dAOC!9>J3WvHEp7nif1Ckq-lmV!=X4P+ihox>rU*PwR$aCyV8jq zb}TG-!CUjB!DHS+HgEfq;!dAL8XYX!m`gz4NgwFkG5dugn@ly!6PnLc{M$K6t}P!k zbgbW>jZ2afyBjj(symPuVTKUJO^>#Ak9gg?j7p6TX-bz?y}jp8~qvB#5Se5^V=}aW80I%R>_i8 zBEv;?G;412xzG%IwF07IC2+fEEW^Z8iUAGf@bKySLzoT_MT{8Xb&Br}Fz1MN>iA{L zfSrD2Xi1r!(RYd-YnM}78*o^AUD<3RA@pWlAlXq7hu$g?zLeowj7yrPSU~otmhrZ0 zHwpW^(|hBcK{A)pOwl&>`Os4yiQ8io_zQ%IHE)U{B+&n^4n{m`UJs8TmC)2C$*n51 z?D6}it6BK_N{7N+JSxbkV|H=MHIO1b__uX=&<44I3F&hq z%rkUs$#n+c5)_1~fj-_xuSz1D*ei2)cU0+qbCCMz>kDfc+Pwu+)K`SX(He{2W(4Td zlL;-IbHDRGe5$Xj&HfkBB`3p#bS*FB41usi-!}`+7S$ZiVB?jRez|kW==5O*|G~1{ zKW$^b7YCg8MLTQP!LPe3#W(iVSq^ukdN+1C^;F^$cYS8^U{ zNgj%oxBZ07|6ZElUTIs(TeTSbr^^XLu04gqd%;e>Jdj1TZbCm^>NGI@Pei01^jfld;$<3;r#y?$SmVa7OW{(=8!6JQ+ z{bYP|aj{5_2~0G(O*=h*36$ZmH{ixQt{AIW)eN6TXw>`V=Cz5-lbKFBfJp++4g6&` z>DFqJV&;k_UiU))UfyI)uv+l5D4Y!l>e%?j_8uLy?CJ}nSBwvWj{)HCO6W4onPI@g+O;RPdB8wY5UTIq<5 z{&wwQwkaR-yH{8NM|V`($wk6OznJJpNqA)j7|!^((m{ml?8nj%x4;nrnvR|C z;aK`h{@~Wp%@8B$PPV-3s-mTeJ<-!KHxu?W^y`ZZNC;CY4a-{c6*?Bslsz)8yymxZgOG+*F=gf(< zISZrQb~LRiNIp#H(;j!z#`_?rK>^W@ONby^cMQtHGx0*j(wyx0E&}|Ns0)HZCjN4? zncg%K6uU#@)^iD#PC*PfmIJidIDbLzJom2l?Xrzyc1zkYyR|Q31kGH4w!)Wa=vb_I z?cEYe+w}KLOW}SWVxNN_0|cD0eWpn?6+exq{R`5X$Ns!s3f{mix2Jl6=P+RV{xvo$ zsxdzJt0P%}87;y0!$)B~@jkQq+cf^R+ySZJ=DHAd{`a)thRqjfQX#*L+ZG4%HO`7< z8jA`l%Q*NyNG>Qit9K9+f(=2$CF_A!U&6DmLnD6shSvDGW zQm%tTr3|v@f%WVrh;ovoxU;AV_|-}e4dR&IHGOLU_)h(}GE;f8D~aQkZ=(g` zfS71bZjt`tijQv>Avb5afv61yVqs#-3{}vF3a#P}Da`&m{&~HFU(XNJ5I>A!VznLa z*NIadvQ8ye6RSZ_!+uttKaJ9{pL!JS7eR}RrgG;2<{>AFM6wh-tdR@YvO8Rzd2V&L zhntk0EK!G>O2A3m4I*TjN@4cPZxr9eAeL3pw(w>FIwU24$J*zks+A|r3=NO-QjgtB zNsa3~9d(gr9)RlN;+5B2zR!0wAJdaH&<3Y<)u>hbP6 z34+Q$X(wZ;q2iR`D@j0LbPhS)cedTj)y(otGfw9CPhKes7oU%qHA1QDM!0ZJ?WUeY zZnf>MqFGhP;dwjvUO2Of`)z5SK;m84c6c!H2=XMr0#O%x)y@1oflrphX}Nad-99(1 z{j~Jz$TzotmbVGLlJs9NpEqh8X5I!_3F+>y*T)ri1E(5kd8F%dr3!(`FhtwCu=b5W zB3Wd@VwDb-q=+sx2o5I+tP{r5zcUs@WBOuf;gD~F*BXHFXbdEmXc-;wR03dT>Gx=! ztFn)FXUPz#=(5uz{rJ>m&Jrp1PEM*+z9K~QQ|Doypr|}lw9Lyz`27|AS|P0ZWlEo? zj^HOIWxlxeM7&<;=gY4M7rkpu)*YunXAH&QUup(2SGMK$JeoxV`snER-v@8s)T9Z^ z>#CViTerOn0<|fst@Td?yAEjvK}qK=Y~U}dzTX5i{4RU!S1@O6mT0R)#*WiPlL%7r zk%-2aymF+^#yvu4+wlFvoE~O1k5;G|IQ&+a&Z~0%H4nIyiF6pR>MHxl7kw6jg~?nd z@V*foG*tvP{gL{5q`A{&>?mkKo%G3tt0K%kR*_2$x{aQIZIA?0%5A5uR$n&nlbgi^ z^@}YQRz3n-c-D>*g&a+k6Sg+ALm)OEepcf5=069~@$dX{g%tZ@5)ud+ZTB}Wm=sVx zRvyBQwC-7xe-0t9IO;d3s7Wg5vopS|%^UW<`JS^t}IC?7M0An)*EzIG~ zkpdY7eQfql!=`S%p#%nY?kqczMn2hNl^zVVOp2X?aX>bIlmL-`IGX1G%a z>nXgm6-Dt+oJFIm>Q)gn5W@SWV?@Xg`Vb!v^lvMs>DQh>?;_nrbP*;8wC|>ayKBuvxhEn;m(%F->~1( z?jBK3U;TXfDcFLWd>cKNR|4h!`=dTcQQdEu4zAb6(<@t3MajmkY62fV@iBrUo&QYb z(EKz%sq_IYAIn1A-*!RQm0Y{^NvsfWrCz==tPn{K?HXKGtQ8x{DOl;aIx}sf)GatZ zPBoS76U)--9iOE%+9B!zQA|-I7*MC90c95$Z<1ncVhEX*v}gUoU4yOYwOSiDAy#U! z$Gpg(0Qa8rY;Y?Le&c#(rJ8|`%mp_cW#w{_P6i0~l(zzl^%=2;*r!L4k^yh5fP`AL zrTz_?4GePse(7Fk7k$RkIKU9u%4UA{GF z(-r`QvhEOyhv)ayQjp$>WyZZH!nC5OodrK3`=W9}p8yU4FoTI@B~8$4_+kT`h&`j+ z(*eu4O*AB^7M$HT1oky<4sfr5epI=cYA8fsh74g}m}L$9Q;f`(Ys0``RNOl)>M^I1 zH(EE4vxU*=#4st!Q?LQ=Wn6B+2Wasf#@BTz%Katj6i2dNwjVNI#CYz@Hecq%)7?x< zj~o^ZCwI6=H3Ai<8 z?Tnh${RjUIKNc@9O^NDnG?Jq${(6DBQr4Kjh+V@DXkePfuAJ@&*0geywfaADseQ>v znd!_V3QGHChs=Ek6=&+;97!f!1)0qO_{P~t>Ya^c={e&v1sbp%+l+-tIuWO(vGi>< zG}O#Y*v7O0nt#s45%#^sJ8IX2o6X2#+U`2_z}-$-g{b8jX(VSIL@@~li(6uYt5tl$ zbT+@in0f!0ofz#&zCVM3*a1E(_M4)nJP};7EL-EU%0}W*)A}DdH9x23D-iVxj4peq4Q z3UOO|$(HmCFPUt;XCtF4yKG%ZN0!rA$Jrvf-V7Q2UKe(9-tVX5nHeIf)0$y3_c{=X zwHJIV{B8yJIztQdd7WvY&UDk&7~jzx{QwU;hY-$a+%zxNUK+P}b+e9fZQ&B8MbIV} z#zx&J@|mPm!I#X=yGmg%rZ98*UWQ9OleR^FaNDFKUYwXx7^#wg)JINutje@c6q2YG zMYfX2_-9dB=*vD@osX>4$K)plGavGKFJ4UEg%b^bJ5c;a-B5Q6qmhY-o!YpYuej>0 zS>t4o7#36Lb1GnR<~(Y>TwU;>b%GblbAQ7{@F6R16~FEnb~KToIL1(Glk#qA@5^WQjCjA;>Ytl6Gov!q$Nz6(KZyNiBF z(|mtb+rn*%c2+ZQ`T2_I@S=ti5MuJ$AAmN9B%poXYE-sK$52IoUer_xpkF`Ru>R^L z`8x=1N}y!Y?PvC}39s%HMG{Bxis#VO39Y5L5`;ovV(KBq)?P@wreAu;D=kAZzf-O^ zyi6acxN@C#Ca`(F$QsGog5LE!t7|I(^XIWxlrkS0ZrL)|@~d3JhtxyJ`hZ|}Qb(ch zmWpJ~RfKn+Aoldiq>_V+k^GI=y~k~Q-j}!D4P_qdrL()am&UE$`Eet!I!bl@ z2V{QnqRmF%#*n9fMG(d3+b<)2CWhJVaFfhi_`*Y(fknthP9K4jFZkd9?FCbB2{r@z z4;V1SEUrR+;}Xn!s8ka6wxUOI=-N`s=VJE{44t~tOq}!Vbr~r;*qIGyvs+w>uuinN zRxCm9wQwosmGcx*J<;2JiJwbV;}}2&=%czj?uKjux+|68dc;+Xh=kZ zx{ejY=f+HzWzzf0yZNeiE+PGIZ!&O&ue?qzR+j%EQjM`Nue1H3LQy&Q>0J;JE2YLV zbiFCQhlilfnpv4SVzLxP>Xc>%otco9TnHW$xc@`QrbBLg|8NyKYnLuiB3lR4``UVQ zGSWr_m&z!0mdx8!eyab~hR9kT8u-Kj}4bJNgB^55|;N-T6gwg!yF=mA&?& zZHS({Iv`FK3?XGUq{hp832YTB4x&i*oiqL5O;srtg@$W_XQ6%tR0<5&xw|dqz@!{t z-9+@nb(2LdyOL7n|jXx%fF6*^yFNl2`^~&;H+_0|+zFIXChjxtJo2 zO>EDkj0K|-D`uw&hbg_MM)yk4U{X))lcEUDTy7AN9%P4?=VXVn; zf2H;7he_13>fwrZkQ@%N;#?uU3iPD6mcnb91T^ToBV%@<+#J#+4e$fgp|*q4VrSVl z%s(jZ37@8T`Ix8S;Tnyo8WqY>JOeNwOR-4H@7+U0#l8qgLCKgnLRU0{J-6bz9UGlRJ>h`G$ z0TWW&`srbzFmk(F^5{`rGbrn-b8fuI{iOyPljj2A zqg}C#?sd$u%hwQwlA+xEP@l7Q2?)}U2)Dh+hfc*D|KoGI7gleBy1h3)G`i~N7n9I|KRMVuNYQI*{uBipP{PsQn5 + diff --git a/manual-badge.svg b/manual-badge.svg new file mode 100644 index 0000000..08cb0c8 --- /dev/null +++ b/manual-badge.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + manual + manual + 40% + 40% + + diff --git a/manual/example.html b/manual/example/example.html similarity index 67% rename from manual/example.html rename to manual/example/example.html index d9556ee..cf1a30c 100644 --- a/manual/example.html +++ b/manual/example/example.html @@ -2,7 +2,7 @@ - + Example @@ -34,37 +34,33 @@
    + + +
    + public + + + + + +
    +

    + + + + bin(): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + bits(): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + cmp(other: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + copy(): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + digits(base: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + div(other: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + divide_knowing_divisible_by(other: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + divides(other: *): *

    @@ -250,7 +491,8 @@

    Integer

    - div(other: *): * + + divmod(other: *): undefined[]

    @@ -277,7 +519,8 @@

    Integer

    - divmod(other: *): undefined[] + + eq(other: *): *

    @@ -304,7 +547,8 @@

    Integer

    - mod(other: *): * + + ge(other: *): *

    @@ -331,7 +575,8 @@

    Integer

    - mul(other: *): * + + gt(other: *): *

    @@ -358,7 +603,8 @@

    Integer

    - opposite(): * + + hex(): *

    @@ -385,7 +631,8 @@

    Integer

    - pow(other: *) + + iadd(other: *): *

    @@ -412,7 +659,8 @@

    Integer

    - sub(other: *): * + + idiv(other: *): *

    @@ -439,7 +687,8 @@

    Integer

    - toString(base: *): * + + imod(other: *): *

    @@ -453,29 +702,2565 @@

    Integer

    + public + + + + + +
    +

    + + + + imul(other: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + ipow(x: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + isone(): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + isquare(): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + isub(other: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + iszero(): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + le(other: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + lt(other: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + mod(other: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + move(other: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + mul(other: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + ne(other: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + negate(): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + nonzero(): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + oct(): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + opposite(): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + pow(x: Number): Integer +

    +
    +
    + + +

    Computes this raised to the xth power.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + sign(): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + square(): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + sub(other: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + toString(base: *): * +

    +
    +
    + + + +
    +
    + + +
    + + + + + + + + + + +
    Private Methods
    + private + + + + + +
    +

    + + + + _limbs_in_base(base: *): * +

    +
    +
    + + + +
    +
    + + +
    +
    + + + + + +

    Public Constructors

    + +
    +

    + public + + + + + + constructor() + + + + source + +

    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    Public Members

    + +
    +

    + public + + + + + + base: * + + + + source + +

    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + is_negative: * + + + + source + +

    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + limbs: * + + + + source + +

    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    Public Methods

    + +
    +

    + public + + + + + + add(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + bin(): * + + + + source + +

    + + + + + + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + bits(): * + + + + source + +

    + + + + + + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + cmp(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + copy(): * + + + + source + +

    + + + + + + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + digits(base: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    base*
    • optional
    • +
    • default: DEFAULT_DISPLAY_BASE
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + div(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + divide_knowing_divisible_by(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + divides(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + divmod(other: *): undefined[] + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    undefined[]
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + eq(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + ge(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + gt(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + hex(): * + + + + source + +

    + + + + + + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + iadd(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + idiv(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + imod(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + imul(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + ipow(x: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    x*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + isone(): * + + + + source + +

    + + + + + + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + isquare(): * + + + + source + +

    + + + + + + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + isub(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + iszero(): * + + + + source + +

    + + + + + + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + le(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + lt(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + mod(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + -
    NameTypeAttributeDescription
    other*
    + +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    + + + + -

    Public Constructors

    + + + + + +
    -

    +

    public - constructor(base: *, is_negative: *, limbs: *) + move(other: *): * - source + source

    @@ -495,20 +3280,8 @@

    Params:

    - base - * - - - - - is_negative - * - - - - - limbs - * + other + * @@ -517,7 +3290,19 @@

    Params:

    - +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    @@ -534,22 +3319,19 @@

    Params:

    - -

    Public Members

    -
    -

    +

    public - base: * + mul(other: *): * - source + source

    @@ -560,10 +3342,38 @@

    -
    +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    - +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    @@ -581,18 +3391,18 @@

    -

    +

    public - is_negative: * + ne(other: *): * - source + source

    @@ -603,10 +3413,38 @@

    -
    +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    - +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    @@ -624,18 +3462,18 @@

    -

    +

    public - limbs: * + negate(): * - source + source

    @@ -649,7 +3487,19 @@

    - +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    @@ -666,22 +3516,19 @@

    -

    -

    Public Methods

    -
    -

    +

    public - add(other: *): * + nonzero(): * - source + source

    @@ -692,23 +3539,7 @@

    -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    other*
    -
    +
    @@ -716,7 +3547,7 @@

    Return:

    - + @@ -741,18 +3572,18 @@

    Return:

    -

    +

    public - div(other: *): * + oct(): * - source + source

    @@ -763,23 +3594,7 @@

    -
    -

    Params:

    -

    **
    - - - - - - - - - - - - -
    NameTypeAttributeDescription
    other*
    -
    +
    @@ -787,7 +3602,7 @@

    Return:

    - + @@ -812,18 +3627,18 @@

    Return:

    -

    +

    public - divmod(other: *): undefined[] + opposite(): * - source + source

    @@ -834,23 +3649,7 @@

    -
    -

    Params:

    -

    **
    - - - - - - - - - - - - -
    NameTypeAttributeDescription
    other*
    -
    +
    @@ -858,7 +3657,7 @@

    Return:

    - + @@ -883,25 +3682,27 @@

    Return:

    -

    +

    public - mod(other: *): * + pow(x: Number): Integer - source + source

    - +

    Computes this raised to the xth power. +x is a double smaller or equal to 2^53.

    +
    @@ -914,10 +3715,11 @@

    Params:

    - - + + - +
    undefined[]*
    other*xNumber

    The power to raise this to.

    +
    @@ -929,8 +3731,9 @@

    Return:

    - - + +
    *Integer

    this ^ x

    +
    @@ -954,18 +3757,18 @@

    Return:

    -

    +

    public - mul(other: *): * + sign(): * - source + source

    @@ -976,23 +3779,7 @@

    -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    other*
    -
    +
    @@ -1000,7 +3787,7 @@

    Return:

    - + @@ -1025,18 +3812,18 @@

    Return:

    -

    +

    public - opposite(): * + square(): * - source + source

    @@ -1055,7 +3842,7 @@

    Return:

    **
    - + @@ -1080,18 +3867,18 @@

    Return:

    -

    +

    public - pow(other: *) + sub(other: *): * - source + source

    @@ -1111,8 +3898,8 @@

    Params:

    - - + + @@ -1121,7 +3908,19 @@

    Params:

    - +
    +

    Return:

    +
    **
    other*other*
    + + + + + + +
    *
    +
    +
    +
    @@ -1139,18 +3938,18 @@

    Params:

    -

    +

    public - sub(other: *): * + toString(base: *): * - source + source

    @@ -1170,9 +3969,10 @@

    Params:

    - other - * - + base + * +
    • optional
    • +
    • default: DEFAULT_DISPLAY_BASE
    @@ -1185,7 +3985,7 @@

    Return:

    - + @@ -1209,19 +4009,21 @@

    Return:

    +

    Private Methods

    +
    -

    - public +

    + private - toString(base: *): * + _limbs_in_base(base: *): * - source + source

    @@ -1241,10 +4043,9 @@

    Params:

    - - - + + + @@ -1257,7 +4058,7 @@

    Return:

    **
    base*
    • optional
    • -
    • default: DEFAULT_DISPLAY_BASE
    base*
    - + @@ -1285,7 +4086,7 @@

    Return:

    diff --git a/class/src/IntegerRing.js~IntegerRing.html b/class/src/IntegerRing.js~IntegerRing.html index f50e64c..33169c1 100644 --- a/class/src/IntegerRing.js~IntegerRing.html +++ b/class/src/IntegerRing.js~IntegerRing.html @@ -3,16 +3,12 @@ - IntegerRing | aureooms/js-integer API Document + IntegerRing | @aureooms/js-integer - - - - - +
    @@ -20,8 +16,7 @@ Manual Reference Source - Test - Repository + -
    +
    -
    import {IntegerRing} from '@aureooms/js-integer/src/IntegerRing.js'
    +
    import {IntegerRing} from '@aureooms/js-integer/src/IntegerRing.js'
    public class - | source + | source

    IntegerRing

    - +
    + You can directly use an instance of this class. + + ZZ +
    @@ -83,42 +99,16 @@

    IntegerRing

    -

    Static Method Summary

    **
    - + +

    Constructor Summary

    Static Public Methods
    + - - - - - @@ -127,7 +117,8 @@

    IntegerRing

    - div(first: *, second: *): * + + constructor()

    @@ -141,10 +132,17 @@

    IntegerRing

    - + +
    Public Constructor
    public - static - - - - -
    -

    - - - add(first: *, second: *): * -

    -
    -
    - - - -
    -
    -
    - public - static -
    +
    +

    Member Summary

    + + + + - + +
    Public Members
    public - static + @@ -154,7 +152,8 @@

    IntegerRing

    - mod(first: *, second: *): * + + base: *

    @@ -171,7 +170,7 @@

    IntegerRing

    public - static + @@ -181,7 +180,8 @@

    IntegerRing

    - mul(first: *, second: *): * + + name: *

    @@ -195,10 +195,17 @@

    IntegerRing

    +
    +

    Method Summary

    + + + + - -
    Public Methods
    public - static + @@ -208,7 +215,8 @@

    IntegerRing

    - pow(first: *, second: *): * + + $0(): *

    @@ -225,7 +233,7 @@

    IntegerRing

    public - static + @@ -235,7 +243,8 @@

    IntegerRing

    - sub(first: *, second: *): * + + $1(): *

    @@ -249,14 +258,7 @@

    IntegerRing

    -
    -

    Constructor Summary

    - - - - + - -
    Public Constructor
    public @@ -269,7 +271,8 @@

    IntegerRing

    - constructor(name: *, base: *) + + characteristic(): *

    @@ -283,14 +286,7 @@

    IntegerRing

    -
    -

    Member Summary

    - - - - + - -
    Public Members
    public @@ -303,7 +299,8 @@

    IntegerRing

    - base: * + + from(object: *, base: *, is_negative: number): *

    @@ -330,7 +327,8 @@

    IntegerRing

    - name: * + + from_digits(digits: *, base: *, is_negative: *): *

    @@ -344,14 +342,7 @@

    IntegerRing

    -
    -

    Method Summary

    - - - - + - - + + - - - - - - - - + + @@ -1124,7 +958,7 @@

    Return:

    Public Methods
    public @@ -364,7 +355,8 @@

    IntegerRing

    - from(object: *, base: *, is_negative: number): * + + from_number(number: *, is_negative: number): *

    @@ -391,7 +383,8 @@

    IntegerRing

    - from_string(string: *, base: number, is_negative: number): * + + from_string(string: *, base: number, is_negative: number): *

    @@ -418,7 +411,8 @@

    IntegerRing

    - toString(): * + + toString(): *

    @@ -439,21 +433,22 @@

    IntegerRing

    -

    Static Public Methods

    + +

    Public Constructors

    -

    +

    public - static - add(first: *, second: *): * + + constructor() - source + source

    @@ -464,44 +459,10 @@

    -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    first*
    second*
    -
    +
    -
    -

    Return:

    - - - - - - - -
    *
    -
    -
    -
    + @@ -518,19 +479,22 @@

    Return:

    +

    +

    Public Members

    +
    -

    +

    public - static - div(first: *, second: *): * + + base: * - source + source

    @@ -541,44 +505,10 @@

    -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    first*
    second*
    -
    +
    -
    -

    Return:

    - - - - - - - -
    *
    -
    -
    -
    + @@ -596,18 +526,18 @@

    Return:

    -

    +

    public - static - mod(first: *, second: *): * + + name: * - source + source

    @@ -618,44 +548,10 @@

    -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    first*
    second*
    -
    +
    -
    -

    Return:

    - - - - - - - -
    *
    -
    -
    -
    + @@ -672,19 +568,22 @@

    Return:

    +

    +

    Public Methods

    +
    -

    +

    public - static - mul(first: *, second: *): * + + $0(): * - source + source

    @@ -695,29 +594,7 @@

    -
    -

    Params:

    - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    first*
    second*
    -
    +
    @@ -725,7 +602,7 @@

    Return:

    - + @@ -750,18 +627,18 @@

    Return:

    -

    +

    public - static - pow(first: *, second: *): * + + $1(): * - source + source

    @@ -772,29 +649,7 @@

    -
    -

    Params:

    -

    **
    - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    first*
    second*
    -
    +
    @@ -802,7 +657,7 @@

    Return:

    - + @@ -827,18 +682,18 @@

    Return:

    -

    +

    public - static - sub(first: *, second: *): * + + characteristic(): * - source + source

    @@ -849,29 +704,7 @@

    -
    -

    Params:

    -

    **
    - - - - - - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    first*
    second*
    -
    +
    @@ -879,7 +712,7 @@

    Return:

    - + @@ -903,22 +736,19 @@

    Return:

    - -

    Public Constructors

    -
    -

    +

    public - constructor(name: *, base: *) + from(object: *, base: *, is_negative: number): * - source + source

    @@ -938,15 +768,23 @@

    Params:

    - - + + - - - + + + + + + + + + @@ -954,7 +792,19 @@

    Params:

    - +
    +

    Return:

    +
    **
    name*object*
    base*base*
    • optional
    • +
    • default: undefined
    is_negativenumber
    • optional
    • +
    • default: 0
    + + + + + + +
    *
    +
    +
    +
    @@ -971,22 +821,19 @@

    Params:

    -

    -

    Public Members

    -
    -

    +

    public - base: * + from_digits(digits: *, base: *, is_negative: *): * - source + source

    @@ -997,53 +844,50 @@

    -
    +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    digits*
    base*
    is_negative*
    - - - - - - - - - - - - - - - - -
    -
    -

    - public - - - - - - name: * - - - - source - -

    - - - - - - - -
    +
    +

    Return:

    + + + + + + + +
    *
    +
    - - +
    @@ -1060,22 +904,19 @@

    -
    -

    Public Methods

    -
    -

    +

    public - from(object: *, base: *, is_negative: number): * + from_number(number: *, is_negative: number): * - source + source

    @@ -1095,21 +936,14 @@

    Params:

    object*number*
    base*
    • optional
    • -
    • default: undefined
    is_negativenumberis_negativenumber
    • optional
    • default: 0
    - + @@ -1156,11 +990,11 @@

    - from_string(string: *, base: number, is_negative: number): * + from_string(string: *, base: number, is_negative: number): * - source + source

    @@ -1180,21 +1014,21 @@

    Params:

    - - + + - - + + - - + + @@ -1209,7 +1043,7 @@

    Return:

    **
    string*string*
    basenumberbasenumber
    • optional
    • default: 10
    is_negativenumberis_negativenumber
    • optional
    • default: 0
    - + @@ -1241,11 +1075,11 @@

    - toString(): * + toString(): * - source + source

    @@ -1264,7 +1098,7 @@

    Return:

    **
    - + @@ -1292,7 +1126,7 @@

    Return:

    diff --git a/class/src/ZeroDivisionError.js~ZeroDivisionError.html b/class/src/ZeroDivisionError.js~ZeroDivisionError.html new file mode 100644 index 0000000..3962c11 --- /dev/null +++ b/class/src/ZeroDivisionError.js~ZeroDivisionError.html @@ -0,0 +1,294 @@ + + + + + + ZeroDivisionError | @aureooms/js-integer + + + + + + + +
    + Home + Manual + Reference + Source + + +
    + + + +
    +
    import {ZeroDivisionError} from '@aureooms/js-integer/src/ZeroDivisionError.js'
    + public + class + + + + | source +
    + +
    +

    ZeroDivisionError

    + + + + + +

    Extends:

    Error → ZeroDivisionError
    + + + + + + + + + + + + + + + + + + + +
    + + + +

    Constructor Summary

    **
    + + + + + + + + + +
    Public Constructor
    + public + + + + + +
    +

    + + + + constructor() +

    +
    +
    + + + +
    +
    + + +
    +
    + +

    Method Summary

    + + + + + + + + + +
    Public Methods
    + public + + + + + +
    +

    + + + + toString(): string +

    +
    +
    + + + +
    +
    + + +
    +
    + + + + + +

    Public Constructors

    + +
    +

    + public + + + + + + constructor() + + + + source + +

    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    + +

    Public Methods

    + +
    +

    + public + + + + + + toString(): string + + + + source + +

    + + + + + + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    string
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + + + + + + + + + + + + diff --git a/coverage.json b/coverage.json index f942d1b..eb1ec10 100644 --- a/coverage.json +++ b/coverage.json @@ -1,7 +1,7 @@ { - "coverage": "0%", - "expectCount": 30, - "actualCount": 0, + "coverage": "1.28%", + "expectCount": 78, + "actualCount": 1, "files": { "src/DEFAULT_DISPLAY_BASE.js": { "expectCount": 1, @@ -18,42 +18,70 @@ ] }, "src/Integer.js": { - "expectCount": 14, - "actualCount": 0, + "expectCount": 44, + "actualCount": 1, "undocumentLines": [ 11, - 29, - 14, 13, - 126, - 134, + 14, 15, 16, - 130, - 102, - 160, - 122, - 61, - 19 + 19, + 26, + 30, + 35, + 45, + 74, + 79, + 129, + 134, + 151, + 176, + 181, + 186, + 191, + 195, + 200, + 204, + 209, + 266, + 270, + 275, + 279, + 283, + 288, + 292, + 296, + 300, + 304, + 308, + 312, + 316, + 320, + 340, + 344, + 348, + 352, + 356, + 360 ] }, "src/IntegerRing.js": { - "expectCount": 13, + "expectCount": 12, "actualCount": 0, "undocumentLines": [ - 4, - 44, - 8, 6, - 60, - 11, - 26, - 64, - 52, - 7, - 56, - 48, - 40 + 8, + 9, + 10, + 13, + 17, + 50, + 63, + 77, + 85, + 89, + 93 ] }, "src/ZZ.js": { @@ -62,6 +90,37 @@ "undocumentLines": [ 7 ] + }, + "src/ZeroDivisionError.js": { + "expectCount": 3, + "actualCount": 0, + "undocumentLines": [ + 2, + 4, + 8 + ] + }, + "src/integer.js": { + "expectCount": 16, + "actualCount": 0, + "undocumentLines": [ + 3, + 7, + 11, + 15, + 19, + 23, + 27, + 31, + 35, + 39, + 43, + 47, + 51, + 55, + 59, + 63 + ] } } } \ No newline at end of file diff --git a/css/github.css b/css/github.css new file mode 100644 index 0000000..db9ca23 --- /dev/null +++ b/css/github.css @@ -0,0 +1,83 @@ +/* github markdown */ +.github-markdown { + font-size: 16px; +} + +.github-markdown h1, +.github-markdown h2, +.github-markdown h3, +.github-markdown h4, +.github-markdown h5 { + margin-top: 1em; + margin-bottom: 16px; + font-weight: bold; + padding: 0; +} + +.github-markdown h1:nth-of-type(1) { + margin-top: 0; +} + +.github-markdown h1 { + font-size: 2em; + padding-bottom: 0.3em; +} + +.github-markdown h2 { + font-size: 1.75em; + padding-bottom: 0.3em; +} + +.github-markdown h3 { + font-size: 1.5em; +} + +.github-markdown h4 { + font-size: 1.25em; +} + +.github-markdown h5 { + font-size: 1em; +} + +.github-markdown ul, .github-markdown ol { + padding-left: 2em; +} + +.github-markdown pre > code { + font-size: 0.85em; +} + +.github-markdown table { + margin-bottom: 1em; + border-collapse: collapse; + border-spacing: 0; +} + +.github-markdown table tr { + background-color: #fff; + border-top: 1px solid #ccc; +} + +.github-markdown table th, +.github-markdown table td { + padding: 6px 13px; + border: 1px solid #ddd; +} + +.github-markdown table tr:nth-child(2n) { + background-color: #f8f8f8; +} + +.github-markdown hr { + border-right: 0; + border-bottom: 1px solid #e5e5e5; + border-left: 0; + border-top: 0; +} + +/** badge(.svg) does not have border */ +.github-markdown img:not([src*=".svg"]) { + max-width: 100%; + box-shadow: 1px 1px 1px rgba(0,0,0,0.5); +} diff --git a/css/identifiers.css b/css/identifiers.css new file mode 100644 index 0000000..52c8461 --- /dev/null +++ b/css/identifiers.css @@ -0,0 +1,37 @@ +.identifiers-wrap { + display: flex; + align-items: flex-start; +} + +.identifier-dir-tree { + background: #fff; + border: solid 1px #ddd; + border-radius: 0.25em; + top: 52px; + position: -webkit-sticky; + position: sticky; + max-height: calc(100vh - 155px); + overflow-y: scroll; + min-width: 200px; + margin-left: 1em; +} + +.identifier-dir-tree-header { + padding: 0.5em; + background-color: #fafafa; + border-bottom: solid 1px #ddd; +} + +.identifier-dir-tree-content { + padding: 0 0.5em 0; +} + +.identifier-dir-tree-content > div { + padding-top: 0.25em; + padding-bottom: 0.25em; +} + +.identifier-dir-tree-content a { + color: inherit; +} + diff --git a/css/manual.css b/css/manual.css new file mode 100644 index 0000000..138a07f --- /dev/null +++ b/css/manual.css @@ -0,0 +1,134 @@ +.github-markdown .manual-toc { + padding-left: 0; +} + +.manual-index .manual-cards { + display: flex; + flex-wrap: wrap; +} + +.manual-index .manual-card-wrap { + width: 280px; + padding: 10px 20px 10px 0; + box-sizing: border-box; +} + +.manual-index .manual-card-wrap > h1 { + margin: 0; + font-size: 1em; + font-weight: 600; + padding: 0.2em 0 0.2em 0.5em; + border-radius: 0.1em 0.1em 0 0; + border: none; +} + +.manual-index .manual-card-wrap > h1 span { + color: #555; +} + +.manual-index .manual-card { + height: 200px; + overflow: hidden; + border: solid 1px rgba(230, 230, 230, 0.84); + border-radius: 0 0 0.1em 0.1em; + padding: 8px; + position: relative; +} + +.manual-index .manual-card > div { + transform: scale(0.4); + transform-origin: 0 0; + width: 250%; +} + +.manual-index .manual-card > a { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(210, 210, 210, 0.1); +} + +.manual-index .manual-card > a:hover { + background: none; +} + +.manual-index .manual-badge { + margin: 0; +} + +.manual-index .manual-user-index { + margin-bottom: 1em; + border-bottom: solid 1px #ddd; +} + +.manual-root .navigation { + padding-left: 4px; + margin-top: 4px; +} + +.navigation .manual-toc-root > div { + padding-left: 0.25em; + padding-right: 0.75em; +} + +.github-markdown .manual-toc-title a { + color: inherit; +} + +.manual-breadcrumb-list { + font-size: 0.8em; + margin-bottom: 1em; +} + +.manual-toc-title a:hover { + color: #039BE5; +} + +.manual-toc li { + margin: 0.75em 0; + list-style-type: none; +} + +.navigation .manual-toc [class^="indent-h"] a { + color: #666; +} + +.navigation .manual-toc .indent-h1 a { + color: #555; + font-weight: 600; + display: block; +} + +.manual-toc .indent-h1 { + display: block; + margin: 0.4em 0 0 0.25em; + padding: 0.2em 0 0.2em 0.5em; + border-radius: 0.1em; +} + +.manual-root .navigation .manual-toc li:not(.indent-h1) { + margin-top: 0.5em; +} + +.manual-toc .indent-h2 { + display: none; + margin-left: 1.5em; +} +.manual-toc .indent-h3 { + display: none; + margin-left: 2.5em; +} +.manual-toc .indent-h4 { + display: none; + margin-left: 3.5em; +} +.manual-toc .indent-h5 { + display: none; + margin-left: 4.5em; +} + +.manual-nav li { + margin: 0.75em 0; +} diff --git a/css/search.css b/css/search.css new file mode 100644 index 0000000..9940a54 --- /dev/null +++ b/css/search.css @@ -0,0 +1,84 @@ +/* search box */ +.search-box { + position: absolute; + top: 10px; + right: 50px; + padding-right: 8px; + padding-bottom: 10px; + line-height: normal; + font-size: 12px; +} + +.search-box img { + width: 20px; + vertical-align: top; +} + +.search-input { + display: inline; + visibility: hidden; + width: 0; + padding: 2px; + height: 1.5em; + outline: none; + background: transparent; + border: 1px #0af; + border-style: none none solid none; + vertical-align: bottom; +} + +.search-input-edge { + display: none; + width: 1px; + height: 5px; + background-color: #0af; + vertical-align: bottom; +} + +.search-result { + position: absolute; + display: none; + height: 600px; + width: 100%; + padding: 0; + margin-top: 5px; + margin-left: 24px; + background: white; + box-shadow: 1px 1px 4px rgb(0,0,0); + white-space: nowrap; + overflow-y: scroll; +} + +.search-result-import-path { + color: #aaa; + font-size: 12px; +} + +.search-result li { + list-style: none; + padding: 2px 4px; +} + +.search-result li a { + display: block; +} + +.search-result li.selected { + background: #ddd; +} + +.search-result li.search-separator { + background: rgb(37, 138, 175); + color: white; +} + +.search-box.active .search-input { + visibility: visible; + transition: width 0.2s ease-out; + width: 300px; +} + +.search-box.active .search-input-edge { + display: inline-block; +} + diff --git a/css/source.css b/css/source.css new file mode 100644 index 0000000..3b9c92d --- /dev/null +++ b/css/source.css @@ -0,0 +1,55 @@ +table.files-summary { + width: 100%; + margin: 10px 0; + border-spacing: 0; + border: 0; + border-collapse: collapse; + text-align: right; +} + +table.files-summary tbody tr:hover { + background: #eee; +} + +table.files-summary td:first-child, +table.files-summary td:nth-of-type(2) { + text-align: left; +} + +table.files-summary[data-use-coverage="false"] td.coverage { + display: none; +} + +table.files-summary thead { + background: #fafafa; +} + +table.files-summary td { + border: solid 1px #ddd; + padding: 4px 10px; + vertical-align: top; +} + +table.files-summary td.identifiers > span { + display: block; + margin-top: 4px; +} +table.files-summary td.identifiers > span:first-child { + margin-top: 0; +} + +table.files-summary .coverage-count { + font-size: 12px; + color: #aaa; + display: inline-block; + min-width: 40px; +} + +.total-coverage-count { + position: relative; + bottom: 2px; + font-size: 12px; + color: #666; + font-weight: 500; + padding-left: 5px; +} diff --git a/css/style.css b/css/style.css index 5ad3785..fe3b2d9 100644 --- a/css/style.css +++ b/css/style.css @@ -1,5 +1,11 @@ @import url(https://fonts.googleapis.com/css?family=Roboto:400,300,700); @import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,600,700); +@import url(./manual.css); +@import url(./source.css); +@import url(./test.css); +@import url(./identifiers.css); +@import url(./github.css); +@import url(./search.css); * { margin: 0; @@ -60,11 +66,14 @@ h3 { position: relative; font-size: 16px; margin-bottom: 12px; - background-color: #E2E2E2; padding: 4px; font-weight: 300; } +details { + cursor: pointer; +} + del { text-decoration: line-through; } @@ -74,6 +83,10 @@ p { line-height: 1.5; } +code { + font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; +} + pre > code { display: block; } @@ -98,6 +111,11 @@ li > code { border-radius: 3px; } +.code { + font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; + font-size: 13px; +} + .import-path pre.prettyprint, .import-path pre.prettyprint code { margin: 0; @@ -114,6 +132,7 @@ li > code { } .layout-container > header { + display: flex; height: 40px; line-height: 40px; font-size: 16px; @@ -172,10 +191,10 @@ li > code { } .navigation .nav-dir-path { + display: block; margin-top: 0.7em; margin-bottom: 0.25em; - font-size: 0.8em; - color: #aaa; + font-weight: 600; } .kind-class, @@ -192,6 +211,7 @@ li > code { border-radius: 0.2em; margin-right: 0.2em; font-weight: bold; + line-height: 1.2em; } .kind-class { @@ -224,6 +244,10 @@ li > code { background-color: #bbcbea; } +.summary span[class^="kind-"] { + margin-left: 0; +} + h1 .version, h1 .url a { font-size: 14px; @@ -298,8 +322,7 @@ table.summary { } table.summary thead { - background: #999; - color: white; + background: #fafafa; } table.summary td { @@ -390,6 +413,7 @@ table.params td p { .content .detail > h3 { color: black; + background-color: #f0f0f0; } .content .detail > div { @@ -518,13 +542,34 @@ footer img { } pre.source-code { - background: #f5f5f5; padding: 4px; } pre.raw-source-code > code { padding: 0; margin: 0; + font-size: 12px; + background: #fff; + border: solid 1px #ddd; + line-height: 1.5; +} + +pre.raw-source-code > code > ol { + counter-reset:number; + list-style:none; + margin:0; + padding:0; + overflow: hidden; +} + +pre.raw-source-code > code > ol li:before { + counter-increment: number; + content: counter(number); + display: inline-block; + min-width: 3em; + color: #aaa; + text-align: right; + padding-right: 1em; } pre.source-code.line-number { @@ -544,481 +589,20 @@ pre.source-code li { } pre.source-code.line-number li.active { - background: rgb(255, 255, 150); + background: rgb(255, 255, 150) !important; } pre.source-code.line-number li.error-line { background: #ffb8bf; } -table.files-summary { - width: 100%; - margin: 10px 0; - border-spacing: 0; - border: 0; - border-collapse: collapse; - text-align: right; -} - -table.files-summary tbody tr:hover { - background: #eee; -} - -table.files-summary td:first-child, -table.files-summary td:nth-of-type(2) { - text-align: left; -} - -table.files-summary[data-use-coverage="false"] td.coverage { - display: none; -} - -table.files-summary thead { - background: #999; - color: white; -} - -table.files-summary td { - border: solid 1px #ddd; - padding: 4px 10px; - vertical-align: top; -} - -table.files-summary td.identifiers > span { - display: block; - margin-top: 4px; -} -table.files-summary td.identifiers > span:first-child { - margin-top: 0; -} - -table.files-summary .coverage-count { - font-size: 12px; - color: #aaa; - display: inline-block; - min-width: 40px; -} - -.total-coverage-count { - position: relative; - bottom: 2px; - font-size: 12px; - color: #666; - font-weight: 500; - padding-left: 5px; -} - -table.test-summary thead { - background: #999; - color: white; -} - -table.test-summary thead .test-description { - width: 50%; -} - -table.test-summary { - width: 100%; - margin: 10px 0; - border-spacing: 0; - border: 0; - border-collapse: collapse; -} - -table.test-summary thead .test-count { - width: 3em; -} - -table.test-summary tbody tr:hover { - background-color: #eee; -} - -table.test-summary td { - border: solid 1px #ddd; - padding: 4px 10px; - vertical-align: top; -} - -table.test-summary td p { - margin: 0; -} - -table.test-summary tr.test-describe .toggle { - display: inline-block; - float: left; - margin-right: 4px; - cursor: pointer; - font-size: 0.8em; - padding-top: 0.25em; -} - -table.test-summary tr.test-describe .toggle.opened:before { - content: '▼'; -} - -table.test-summary tr.test-describe .toggle.closed:before { - content: '▶'; -} - -table.test-summary .test-target > span { - display: block; - margin-top: 4px; -} -table.test-summary .test-target > span:first-child { - margin-top: 0; -} - .inner-link-active { - background: rgb(255, 255, 150); -} - -/* search box */ -.search-box { - position: absolute; - top: 10px; - right: 50px; - padding-right: 8px; - padding-bottom: 10px; - line-height: normal; - font-size: 12px; -} - -.search-box img { - width: 20px; - vertical-align: top; -} - -.search-input { - display: inline; - visibility: hidden; - width: 0; - padding: 2px; - height: 1.5em; - outline: none; - background: transparent; - border: 1px #0af; - border-style: none none solid none; - vertical-align: bottom; -} - -.search-input-edge { - display: none; - width: 1px; - height: 5px; - background-color: #0af; - vertical-align: bottom; -} - -.search-result { - position: absolute; - display: none; - height: 600px; - width: 100%; - padding: 0; - margin-top: 5px; - margin-left: 24px; - background: white; - box-shadow: 1px 1px 4px rgb(0,0,0); - white-space: nowrap; - overflow-y: scroll; -} - -.search-result-import-path { - color: #aaa; - font-size: 12px; -} - -.search-result li { - list-style: none; - padding: 2px 4px; -} - -.search-result li a { - display: block; -} - -.search-result li.selected { - background: #ddd; -} - -.search-result li.search-separator { - background: rgb(37, 138, 175); - color: white; -} - -.search-box.active .search-input { - visibility: visible; - transition: width 0.2s ease-out; - width: 300px; -} - -.search-box.active .search-input-edge { - display: inline-block; -} - -.github-markdown .manual-toc { - padding-left: 0; -} - -/** manual */ - -.manual-index .manual-cards { - display: flex; - flex-wrap: wrap; -} - -.manual-index .manual-card-wrap { - width: 280px; - padding: 10px 20px 10px 0; - box-sizing: border-box; -} - -.manual-index .manual-card-wrap > h1 { - margin: 0; - font-size: 1em; - font-weight: 600; - padding: 0.2em 0 0.2em 0.5em; - border-radius: 0.1em 0.1em 0 0; - border: none; -} - -.manual-index .manual-card-wrap > h1 span { - color: #555; -} - -.manual-index .manual-card { - height: 200px; - overflow: hidden; - border: solid 1px rgba(230, 230, 230, 0.84); - border-radius: 0 0 0.1em 0.1em; - padding: 8px; - position: relative; - border-top: none; -} - -.manual-index .manual-card > div { - transform: scale(0.4); - transform-origin: 0 0; - width: 250%; -} - -.manual-index .manual-card > a { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: rgba(210, 210, 210, 0.1); -} - -.manual-index .manual-card > a:hover { - background: none; -} - -.manual-index .manual-badge { - margin: 0; -} - -.manual-index .manual-user-index { - margin-bottom: 1em; - border-bottom: solid 1px #ddd; -} - -.manual-root .navigation { - padding-left: 4px; - margin-top: 4px; + /*background: rgb(255, 255, 150) !important;*/ + background: #039BE5 !important; + color: #fff !important; + padding-left: 0.1em !important; } -.navigation .manual-toc { - margin-top: -0.25em; -} - -.navigation .manual-toc-root > div { - padding-top: 1px; - padding-left: 0.25em; - padding-right: 0.75em; -} - -.github-markdown .manual-toc-title a { +.inner-link-active a { color: inherit; } - -.manual-breadcrumb-list { - font-size: 0.8em; - margin-bottom: 1em; -} - -.manual-toc-title a:hover { - color: #039BE5; -} - -.manual-toc li { - margin: 0.75em 0; - list-style-type: none; -} - -.navigation .manual-toc [class^="indent-h"] a { - color: #666; -} - -.navigation .manual-toc .indent-h1 a { - color: #555; - font-weight: 600; - display: block; -} - -.manual-toc .indent-h1 { - display: block; - margin: 1em 0 0 0.25em; - padding: 0.2em 0 0.2em 0.5em; - border-radius: 0.1em; -} -.manual-toc .indent-h2 { - display: none; - margin-left: 1.5em; -} -.manual-toc .indent-h3 { - display: none; - margin-left: 2.5em; -} -.manual-toc .indent-h4 { - display: none; - margin-left: 3.5em; -} -.manual-toc .indent-h5 { - display: none; - margin-left: 4.5em; -} - -.manual-color { - position: relative; -} - -.manual-color:after { - content: attr(data-section-count); - font-size: 0.5em; - opacity: 0.5; - position: absolute; - right: 0.5em; - top: 0.5em; -} - -.manual-color-overview, -.manual-color-design { - color: #db001e; - background-color: #edbec3; -} - -.manual-color-installation, -.manual-color-tutorial, -.manual-color-usage, -.manual-color-configuration, -.manual-color-advanced { - color: #009800; - background-color: #bfe5bf; -} - -.manual-color-example { - color: #eb6420; - background-color: #fad8c7; -} - -.manual-color-reference { - color: #6b0090; - background-color: #d6bdde; -} - -.manual-color-faq, -.manual-color-changelog { - color: #0738c3; - background-color: #bbcbea; -} - -.manual-nav li { - margin: 0.75em 0; -} - -/* github markdown */ -.github-markdown { - font-size: 16px; -} - -.github-markdown h1, -.github-markdown h2, -.github-markdown h3, -.github-markdown h4, -.github-markdown h5 { - margin-top: 1em; - margin-bottom: 16px; - font-weight: bold; - padding: 0; -} - -.github-markdown h1:nth-of-type(1) { - margin-top: 0; -} - -.github-markdown h1 { - font-size: 2em; - padding-bottom: 0.3em; -} - -.github-markdown h2 { - font-size: 1.75em; - padding-bottom: 0.3em; -} - -.github-markdown h3 { - font-size: 1.5em; - background-color: transparent; -} - -.github-markdown h4 { - font-size: 1.25em; -} - -.github-markdown h5 { - font-size: 1em; -} - -.github-markdown ul, .github-markdown ol { - padding-left: 2em; -} - -.github-markdown pre > code { - font-size: 0.85em; -} - -.github-markdown table { - margin-bottom: 1em; - border-collapse: collapse; - border-spacing: 0; -} - -.github-markdown table tr { - background-color: #fff; - border-top: 1px solid #ccc; -} - -.github-markdown table th, -.github-markdown table td { - padding: 6px 13px; - border: 1px solid #ddd; -} - -.github-markdown table tr:nth-child(2n) { - background-color: #f8f8f8; -} - -.github-markdown hr { - border-right: 0; - border-bottom: 1px solid #e5e5e5; - border-left: 0; - border-top: 0; -} - -/** badge(.svg) does not have border */ -.github-markdown img:not([src*=".svg"]) { - max-width: 100%; - box-shadow: 1px 1px 1px rgba(0,0,0,0.5); -} diff --git a/css/test.css b/css/test.css new file mode 100644 index 0000000..8ce1266 --- /dev/null +++ b/css/test.css @@ -0,0 +1,58 @@ +table.test-summary thead { + background: #fafafa; +} + +table.test-summary thead .test-description { + width: 50%; +} + +table.test-summary { + width: 100%; + margin: 10px 0; + border-spacing: 0; + border: 0; + border-collapse: collapse; +} + +table.test-summary thead .test-count { + width: 3em; +} + +table.test-summary tbody tr:hover { + background-color: #eee; +} + +table.test-summary td { + border: solid 1px #ddd; + padding: 4px 10px; + vertical-align: top; +} + +table.test-summary td p { + margin: 0; +} + +table.test-summary tr.test-interface .toggle { + display: inline-block; + float: left; + margin-right: 4px; + cursor: pointer; + font-size: 0.8em; + padding-top: 0.25em; +} + +table.test-summary tr.test-interface .toggle.opened:before { + content: '▼'; +} + +table.test-summary tr.test-interface .toggle.closed:before { + content: '▶'; +} + +table.test-summary .test-target > span { + display: block; + margin-top: 4px; +} +table.test-summary .test-target > span:first-child { + margin-top: 0; +} diff --git a/file/src/DEFAULT_DISPLAY_BASE.js.html b/file/src/DEFAULT_DISPLAY_BASE.js.html index 06c438b..e052421 100644 --- a/file/src/DEFAULT_DISPLAY_BASE.js.html +++ b/file/src/DEFAULT_DISPLAY_BASE.js.html @@ -3,16 +3,12 @@ - src/DEFAULT_DISPLAY_BASE.js | aureooms/js-integer API Document + src/DEFAULT_DISPLAY_BASE.js | @aureooms/js-integer - - - - - +
    @@ -20,8 +16,7 @@ Manual Reference Source - Test - Repository + -
    +

    diff --git a/image/manual-badge.svg b/image/manual-badge.svg index 54224bc..4029606 100644 --- a/image/manual-badge.svg +++ b/image/manual-badge.svg @@ -1,17 +1,17 @@ - + - - + + - + manual manual - @value@ - @value@ + @value@ + @value@ diff --git a/index.html b/index.html index d6b6352..d7476d1 100644 --- a/index.html +++ b/index.html @@ -3,16 +3,12 @@ - aureooms/js-integer API Document + Home | @aureooms/js-integer - - - - - +
    @@ -20,8 +16,7 @@ Manual Reference Source - Test - Repository + -
    + -

    @aureooms/js-integer

    -

    +

    @aureooms/js-integer

    Integers for JavaScript. See docs. Parent is @aureooms/js-algorithms.

    @@ -53,34 +64,36 @@ const b = ZZ.from( '-302940923028393' ) ; a.mul( b ).toString( ) ; // '-903954021577363596419770144565091'
    -

    License -NPM version -Build Status -Coverage Status -Dependencies Status -devDependencies Status -Code Climate -NPM downloads per month -GitHub issues -Documentation

    -

    Children

    -

    The current underlying implementation uses big endian order. There is no +

    License +Version +Build +Dependencies +Dev dependencies +GitHub issues +Downloads

    +

    Code issues +Code maintainability +Code coverage (cov) +Code technical debt +Documentation +Package size

    +

    Children

    The current underlying implementation uses big endian order. There is no alternative for the moment.

    -

    Reference

    -
    diff --git a/index.json b/index.json new file mode 100644 index 0000000..fc1b619 --- /dev/null +++ b/index.json @@ -0,0 +1,2752 @@ +[ + { + "__docId__": 1, + "kind": "external", + "name": "Infinity", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Infinity", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 2, + "kind": "external", + "name": "NaN", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~NaN", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 3, + "kind": "external", + "name": "undefined", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~undefined", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 4, + "kind": "external", + "name": "null", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~null", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 5, + "kind": "external", + "name": "Object", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Object", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 6, + "kind": "external", + "name": "object", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~object", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 7, + "kind": "external", + "name": "Function", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Function", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 8, + "kind": "external", + "name": "function", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~function", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 9, + "kind": "external", + "name": "Boolean", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Boolean", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 10, + "kind": "external", + "name": "boolean", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~boolean", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 11, + "kind": "external", + "name": "Symbol", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Symbol", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 12, + "kind": "external", + "name": "Error", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Error", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 13, + "kind": "external", + "name": "EvalError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~EvalError", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 14, + "kind": "external", + "name": "InternalError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~InternalError", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 15, + "kind": "external", + "name": "RangeError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~RangeError", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 16, + "kind": "external", + "name": "ReferenceError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~ReferenceError", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 17, + "kind": "external", + "name": "SyntaxError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~SyntaxError", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 18, + "kind": "external", + "name": "TypeError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~TypeError", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 19, + "kind": "external", + "name": "URIError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~URIError", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 20, + "kind": "external", + "name": "Number", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Number", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 21, + "kind": "external", + "name": "number", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~number", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 22, + "kind": "external", + "name": "Date", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Date", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 23, + "kind": "external", + "name": "String", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~String", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 24, + "kind": "external", + "name": "string", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~string", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 25, + "kind": "external", + "name": "RegExp", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~RegExp", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 26, + "kind": "external", + "name": "Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 27, + "kind": "external", + "name": "Int8Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Int8Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 28, + "kind": "external", + "name": "Uint8Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Uint8Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 29, + "kind": "external", + "name": "Uint8ClampedArray", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Uint8ClampedArray", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 30, + "kind": "external", + "name": "Int16Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Int16Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 31, + "kind": "external", + "name": "Uint16Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Uint16Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 32, + "kind": "external", + "name": "Int32Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Int32Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 33, + "kind": "external", + "name": "Uint32Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Uint32Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 34, + "kind": "external", + "name": "Float32Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Float32Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 35, + "kind": "external", + "name": "Float64Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Float64Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 36, + "kind": "external", + "name": "Map", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Map", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 37, + "kind": "external", + "name": "Set", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Set", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 38, + "kind": "external", + "name": "WeakMap", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~WeakMap", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 39, + "kind": "external", + "name": "WeakSet", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~WeakSet", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 40, + "kind": "external", + "name": "ArrayBuffer", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~ArrayBuffer", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 41, + "kind": "external", + "name": "DataView", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~DataView", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 42, + "kind": "external", + "name": "JSON", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~JSON", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 43, + "kind": "external", + "name": "Promise", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Promise", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 44, + "kind": "external", + "name": "Generator", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Generator", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 45, + "kind": "external", + "name": "GeneratorFunction", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~GeneratorFunction", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 46, + "kind": "external", + "name": "Reflect", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Reflect", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 47, + "kind": "external", + "name": "Proxy", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Proxy", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 48, + "kind": "file", + "name": "src/DEFAULT_DISPLAY_BASE.js", + "content": "export const DEFAULT_DISPLAY_BASE = 10 ;\n", + "static": true, + "longname": "/home/aureooms/dev/js/js-integer/src/DEFAULT_DISPLAY_BASE.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 49, + "kind": "variable", + "name": "DEFAULT_DISPLAY_BASE", + "memberof": "src/DEFAULT_DISPLAY_BASE.js", + "static": true, + "longname": "src/DEFAULT_DISPLAY_BASE.js~DEFAULT_DISPLAY_BASE", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/DEFAULT_DISPLAY_BASE.js", + "importStyle": "{DEFAULT_DISPLAY_BASE}", + "description": null, + "lineNumber": 1, + "undocument": true, + "type": { + "types": [ + "number" + ] + } + }, + { + "__docId__": 50, + "kind": "file", + "name": "src/DEFAULT_REPRESENTATION_BASE.js", + "content": "import { DEFAULT_DISPLAY_BASE } from './' ;\n\n/*\n * Biggest power of DEFAULT_DISPLAY_BASE whose square holds in a single double\n * with full precision. For working correctly with multiplication algorithms\n * and for fast base DEFAULT_DISPLAY_BASE printing. On older machines with no\n * native doubles, it might be worth to only use ints.\n */\nexport const DEFAULT_REPRESENTATION_BASE = Math.pow(DEFAULT_DISPLAY_BASE,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(DEFAULT_DISPLAY_BASE))) ;\n", + "static": true, + "longname": "/home/aureooms/dev/js/js-integer/src/DEFAULT_REPRESENTATION_BASE.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 51, + "kind": "variable", + "name": "DEFAULT_REPRESENTATION_BASE", + "memberof": "src/DEFAULT_REPRESENTATION_BASE.js", + "static": true, + "longname": "src/DEFAULT_REPRESENTATION_BASE.js~DEFAULT_REPRESENTATION_BASE", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/DEFAULT_REPRESENTATION_BASE.js", + "importStyle": "{DEFAULT_REPRESENTATION_BASE}", + "description": null, + "lineNumber": 9, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 52, + "kind": "file", + "name": "src/Integer.js", + "content": "import { DEFAULT_DISPLAY_BASE , ZeroDivisionError } from './' ;\n\nimport {\n\tstringify , convert , _trim_positive ,\n\t_alloc , _copy , _zeros ,\n\t_jz , _cmp , _eq ,\n\tadd , _sub , mul , _idivmod , _powd ,\n\t_increment ,\n} from '@aureooms/js-integer-big-endian' ;\n\nexport class Integer {\n\n\tconstructor ( base , is_negative , limbs ) {\n\t\tthis.base = base ;\n\t\tthis.is_negative = is_negative ;\n\t\tthis.limbs = limbs ;\n\t}\n\n\tmove ( other ) {\n\t\tother.base = this.base ;\n\t\tother.is_negative = this.is_negative ;\n\t\tother.limbs = this.limbs ;\n\t\treturn other ;\n\t}\n\n\tcopy ( ) {\n\t\treturn new Integer( this.base , this.is_negative , this.limbs ) ;\n\t}\n\n\t_limbs_in_base ( base ) {\n\t\tif ( this.base === base ) return this.limbs ;\n\t\telse return convert( this.base , base , this.limbs , 0 , this.limbs.length ) ;\n\t}\n\n\ttoString ( base = DEFAULT_DISPLAY_BASE ) {\n\n\t\tif ( this.iszero( ) ) return '0' ;\n\n\t\tconst digits = stringify( this.base , base , this.limbs , 0 , this.limbs.length ) ;\n\n\t\treturn this.is_negative ? '-' + digits : digits ;\n\n\t}\n\n\tadd ( other ) {\n\n\t\tif ( this.is_negative !== other.is_negative ) {\n\n\t\t\tif ( other.is_negative ) return this.sub( other.opposite() ) ;\n\n\t\t\telse return other.sub( this.opposite() ) ;\n\n\t\t}\n\n\t\telse {\n\n\t\t\tconst result_is_negative = this.is_negative ;\n\t\t\tconst r = this.base ;\n\n\t\t\tconst a = this.limbs ;\n\n\t\t\tconst b = other._limbs_in_base( r ) ;\n\n\t\t\tconst c = _zeros( Math.max( a.length , b.length ) + 1 ) ;\n\n\t\t\tadd( r , a , 0 , a.length , b , 0 , b.length , c , 0 , c.length ) ;\n\n\t\t\treturn new Integer( r , result_is_negative , c ) ;\n\n\t\t}\n\n\t}\n\n\tiadd ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.add(other).move(this);\n\t}\n\n\tsub ( other ) {\n\n\t\tif ( this.is_negative !== other.is_negative ) {\n\n\t\t\tif ( other.is_negative ) return this.add( other.opposite() ) ;\n\n\t\t\telse return this.opposite().add( other ).opposite() ;\n\n\t\t}\n\n\t\telse {\n\n\t\t\t// /!\\ _sub needs |c| >= |a| >= |b|\n\n\t\t\tconst r = this.base ;\n\t\t\tconst a = this.limbs ;\n\t\t\tconst aj = a.length ;\n\t\t\tconst ai = _trim_positive( a , 0 , aj ) ;\n\n\t\t\tif ( ai >= aj ) return other.opposite() ;\n\n\t\t\tconst b = other._limbs_in_base( r ) ;\n\t\t\tconst bj = b.length ;\n\t\t\tconst bi = _trim_positive( b , 0 , bj ) ;\n\n\t\t\tif ( bi >= bj ) return this.copy() ;\n\n\t\t\tif ( _cmp( a , ai , aj , b , bi , bj ) < 0 ) {\n\n\t\t\t\tconst c = _zeros( bj - bi ) ;\n\n\t\t\t\t_sub( r , b , bi , bj , a , ai , aj , c , 0 , c.length ) ;\n\n\t\t\t\treturn new Integer( r , ~this.is_negative , c ) ;\n\t\t\t}\n\n\t\t\telse {\n\n\t\t\t\tconst c = _zeros( aj - ai ) ;\n\n\t\t\t\t_sub( r , a , ai , aj , b , bi , bj , c , 0 , c.length ) ;\n\n\t\t\t\treturn new Integer( r , this.is_negative , c ) ;\n\n\t\t\t}\n\n\t\t}\n\n\t}\n\n\tisub ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.sub(other).move(this);\n\t}\n\n\tmul ( other ) {\n\n\t\tconst result_is_negative = this.is_negative ^ other.is_negative ;\n\t\tconst r = this.base ;\n\n\t\tconst a = this.limbs ;\n\n\t\tconst b = other._limbs_in_base( r ) ;\n\n\t\tconst c = _zeros( a.length + b.length ) ;\n\n\t\tmul( r , a , 0 , a.length , b , 0 , b.length , c , 0 , c.length ) ;\n\n\t\treturn new Integer( r , result_is_negative , c ) ;\n\n\t}\n\n\timul ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.mul(other).move(this);\n\t}\n\n\t/**\n\t * Computes this raised to the xth power.\n\t * x is a double smaller or equal to 2^53.\n\t *\n\t * @param {Number} x The power to raise this to.\n\t * @return {Integer} this ^ x\n\t */\n\tpow ( x ) {\n\n\t\tconst is_negative = this.is_negative & x & 1 ? -1 : 0 ;\n\n\t\tconst a = this.limbs ;\n\t\tconst c = _zeros( Math.max( 1 , a.length * x ) ) ;\n\n\t\t_powd( this.base , x , a , 0 , a.length , c , 0 , c.length ) ;\n\n\t\treturn new Integer( this.base , is_negative , c ) ;\n\n\t}\n\n\tipow ( x ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.pow(x).move(this);\n\t}\n\n\tsquare ( ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.pow(2);\n\t}\n\n\tisquare ( ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.ipow(2);\n\t}\n\n\tdiv ( other ) {\n\t\treturn this.divmod( other )[0] ;\n\t}\n\n\tidiv ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.div(other).move(this);\n\t}\n\n\tmod ( other ) {\n\t\treturn this.divmod( other )[1] ;\n\t}\n\n\timod ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.mod(other).move(this);\n\t}\n\n\tdivmod ( other ) {\n\n\t\tif ( other.iszero() ) throw new ZeroDivisionError( 'Integer division by zero' ) ; // optimize\n\n\t\tconst quotient_is_negative = this.is_negative ^ other.is_negative ;\n\t\tconst r = this.base ;\n\n\t\t// The underlying algorithm does not allow leading 0's so we trim them.\n\t\tconst lj = this.limbs.length ;\n\t\tconst li = _trim_positive( this.limbs , 0 , lj ) ;\n\n\t\t// Dividend is 0\n\t\tif ( li >= lj ) return [ new Integer( this.base , 0 , [ 0 ] ) , new Integer( this.base , 0 , [ 0 ] ) ] ;\n\n\t\t// Dividend (& Remainder)\n\t\tconst D = _alloc( lj - li ) ;\n\t\t_copy( this.limbs , li , lj , D , 0 ) ;\n\n\t\t// Divisor\n\t\tconst d = other._limbs_in_base( r ) ;\n\t\tconst dj = d.length ;\n\t\tconst di = _trim_positive( d , 0 , dj ) ; // di < dj because d != 0\n\n\t\t// Quotient\n\t\tconst q = _zeros( D.length ) ;\n\n\t\t_idivmod( r , D , 0 , D.length , d , di , dj , q , 0 , q.length ) ;\n\n\t\tconst Q = new Integer( r , quotient_is_negative , q ) ; // quotient\n\t\tconst R = new Integer( r , 0 , D ) ; // remainder\n\n\t\tif ( (this.is_negative || other.is_negative ) && !_jz( D , 0 , D.length ) ) {\n\n\t\t\tif ( other.is_negative ) {\n\n\t\t\t\tif ( !this.is_negative ) {\n\t\t\t\t\t_increment( r , q , 0 , q.length ) ;\n\t\t\t\t\tR.iadd( other ) ; // TODO optimize\n\t\t\t\t}\n\n\t\t\t\telse {\n\t\t\t\t\tR.negate(); // TODO optimize\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\telse {\n\t\t\t\t_increment( r , q , 0 , q.length ) ;\n\t\t\t\tR.negate().iadd( other ) ; // TODO optimize\n\t\t\t}\n\n\t\t}\n\n\t\treturn [ Q , R ] ;\n\n\t}\n\n\topposite ( ) {\n\t\treturn new Integer( this.base , ~this.is_negative , this.limbs ) ;\n\t}\n\n\tnegate ( ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.opposite().move(this);\n\t}\n\n\tsign ( ) {\n\t\treturn this.iszero() ? 0 : this.is_negative ? -1 : 1 ;\n\t}\n\n\tiszero ( ) {\n\t\treturn _jz( this.limbs , 0 , this.limbs.length ) ;\n\t}\n\n\tisone ( ) {\n\t\tif ( this.is_negative ) return false ;\n\t\treturn _eq( this.limbs , 0 , this.limbs.length , [ 1 ] , 0 , 1 ) ;\n\t}\n\n\tnonzero ( ) {\n\t\treturn !this.iszero();\n\t}\n\n\tbin ( ) {\n\t\treturn this.toString( 2 ) ;\n\t}\n\n\toct ( ) {\n\t\treturn this.toString( 8 ) ;\n\t}\n\n\thex ( ) {\n\t\treturn this.toString( 16 ) ;\n\t}\n\n\tdigits ( base = DEFAULT_DISPLAY_BASE ) {\n\t\treturn convert( this.base , base , this.limbs , 0 , this.limbs.length ).reverse( ) ;\n\t}\n\n\tbits ( ) {\n\t\treturn this.digits( 2 ) ;\n\t}\n\n\tdivides ( other ) {\n\t\treturn other.mod( this ).iszero( ) ;\n\t}\n\n\tdivide_knowing_divisible_by ( other ) {\n\t\treturn this.div( other ) ;\n\t}\n\n\tcmp ( other ) {\n\n\t\t// TODO optimize with _trim_positive\n\n\t\tif ( this.iszero( ) ) {\n\t\t\tif ( other.iszero( ) ) return 0 ;\n\t\t\telse if ( other.is_negative ) return 1 ;\n\t\t\telse return -1 ;\n\t\t}\n\n\t\tif ( this.is_negative < other.is_negative ) return -1 ;\n\t\tif ( this.is_negative > other.is_negative ) return 1 ;\n\n\t\tconst a = this.limbs ;\n\t\tconst b = other._limbs_in_base( this.base ) ;\n\n\t\treturn _cmp( a , 0 , a.length , b , 0 , b.length ) ;\n\n\t}\n\n\teq ( other ) {\n\t\treturn this.cmp( other ) === 0 ;\n\t}\n\n\tge ( other ) {\n\t\treturn this.cmp( other ) >= 0 ;\n\t}\n\n\tgt ( other ) {\n\t\treturn this.cmp( other ) > 0 ;\n\t}\n\n\tle ( other ) {\n\t\treturn this.cmp( other ) <= 0 ;\n\t}\n\n\tlt ( other ) {\n\t\treturn this.cmp( other ) < 0 ;\n\t}\n\n\tne ( other ) {\n\t\treturn this.cmp( other ) !== 0 ;\n\t}\n\n}\n", + "static": true, + "longname": "/home/aureooms/dev/js/js-integer/src/Integer.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 53, + "kind": "class", + "name": "Integer", + "memberof": "src/Integer.js", + "static": true, + "longname": "src/Integer.js~Integer", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/Integer.js", + "importStyle": "{Integer}", + "description": null, + "lineNumber": 11, + "undocument": true, + "interface": false + }, + { + "__docId__": 54, + "kind": "constructor", + "name": "constructor", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#constructor", + "access": "public", + "description": null, + "lineNumber": 13, + "undocument": true + }, + { + "__docId__": 55, + "kind": "member", + "name": "base", + "memberof": "src/Integer.js~Integer", + "static": false, + "longname": "src/Integer.js~Integer#base", + "access": "public", + "description": null, + "lineNumber": 14, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 56, + "kind": "member", + "name": "is_negative", + "memberof": "src/Integer.js~Integer", + "static": false, + "longname": "src/Integer.js~Integer#is_negative", + "access": "public", + "description": null, + "lineNumber": 15, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 57, + "kind": "member", + "name": "limbs", + "memberof": "src/Integer.js~Integer", + "static": false, + "longname": "src/Integer.js~Integer#limbs", + "access": "public", + "description": null, + "lineNumber": 16, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 58, + "kind": "method", + "name": "move", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#move", + "access": "public", + "description": null, + "lineNumber": 19, + "undocument": true, + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 59, + "kind": "method", + "name": "copy", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#copy", + "access": "public", + "description": null, + "lineNumber": 26, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 60, + "kind": "method", + "name": "_limbs_in_base", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#_limbs_in_base", + "access": "private", + "description": null, + "lineNumber": 30, + "undocument": true, + "params": [ + { + "name": "base", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 61, + "kind": "method", + "name": "toString", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#toString", + "access": "public", + "description": null, + "lineNumber": 35, + "undocument": true, + "params": [ + { + "name": "base", + "optional": true, + "types": [ + "*" + ], + "defaultRaw": "DEFAULT_DISPLAY_BASE", + "defaultValue": "DEFAULT_DISPLAY_BASE" + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 62, + "kind": "method", + "name": "add", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#add", + "access": "public", + "description": null, + "lineNumber": 45, + "undocument": true, + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 63, + "kind": "method", + "name": "iadd", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#iadd", + "access": "public", + "description": null, + "lineNumber": 74, + "undocument": true, + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 64, + "kind": "method", + "name": "sub", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#sub", + "access": "public", + "description": null, + "lineNumber": 79, + "undocument": true, + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 65, + "kind": "method", + "name": "isub", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#isub", + "access": "public", + "description": null, + "lineNumber": 129, + "undocument": true, + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 66, + "kind": "method", + "name": "mul", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#mul", + "access": "public", + "description": null, + "lineNumber": 134, + "undocument": true, + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 67, + "kind": "method", + "name": "imul", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#imul", + "access": "public", + "description": null, + "lineNumber": 151, + "undocument": true, + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 68, + "kind": "method", + "name": "pow", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#pow", + "access": "public", + "description": "Computes this raised to the xth power.\nx is a double smaller or equal to 2^53.", + "lineNumber": 163, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "x", + "description": "The power to raise this to." + } + ], + "return": { + "nullable": null, + "types": [ + "Integer" + ], + "spread": false, + "description": "this ^ x" + } + }, + { + "__docId__": 69, + "kind": "method", + "name": "ipow", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#ipow", + "access": "public", + "description": null, + "lineNumber": 176, + "undocument": true, + "params": [ + { + "name": "x", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 70, + "kind": "method", + "name": "square", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#square", + "access": "public", + "description": null, + "lineNumber": 181, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 71, + "kind": "method", + "name": "isquare", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#isquare", + "access": "public", + "description": null, + "lineNumber": 186, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 72, + "kind": "method", + "name": "div", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#div", + "access": "public", + "description": null, + "lineNumber": 191, + "undocument": true, + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 73, + "kind": "method", + "name": "idiv", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#idiv", + "access": "public", + "description": null, + "lineNumber": 195, + "undocument": true, + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 74, + "kind": "method", + "name": "mod", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#mod", + "access": "public", + "description": null, + "lineNumber": 200, + "undocument": true, + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 75, + "kind": "method", + "name": "imod", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#imod", + "access": "public", + "description": null, + "lineNumber": 204, + "undocument": true, + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 76, + "kind": "method", + "name": "divmod", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#divmod", + "access": "public", + "description": null, + "lineNumber": 209, + "undocument": true, + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "undefined[]" + ] + } + }, + { + "__docId__": 77, + "kind": "method", + "name": "opposite", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#opposite", + "access": "public", + "description": null, + "lineNumber": 266, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 78, + "kind": "method", + "name": "negate", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#negate", + "access": "public", + "description": null, + "lineNumber": 270, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 79, + "kind": "method", + "name": "sign", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#sign", + "access": "public", + "description": null, + "lineNumber": 275, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 80, + "kind": "method", + "name": "iszero", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#iszero", + "access": "public", + "description": null, + "lineNumber": 279, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 81, + "kind": "method", + "name": "isone", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#isone", + "access": "public", + "description": null, + "lineNumber": 283, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 82, + "kind": "method", + "name": "nonzero", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#nonzero", + "access": "public", + "description": null, + "lineNumber": 288, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 83, + "kind": "method", + "name": "bin", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#bin", + "access": "public", + "description": null, + "lineNumber": 292, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 84, + "kind": "method", + "name": "oct", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#oct", + "access": "public", + "description": null, + "lineNumber": 296, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 85, + "kind": "method", + "name": "hex", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#hex", + "access": "public", + "description": null, + "lineNumber": 300, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 86, + "kind": "method", + "name": "digits", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#digits", + "access": "public", + "description": null, + "lineNumber": 304, + "undocument": true, + "params": [ + { + "name": "base", + "optional": true, + "types": [ + "*" + ], + "defaultRaw": "DEFAULT_DISPLAY_BASE", + "defaultValue": "DEFAULT_DISPLAY_BASE" + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 87, + "kind": "method", + "name": "bits", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#bits", + "access": "public", + "description": null, + "lineNumber": 308, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 88, + "kind": "method", + "name": "divides", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#divides", + "access": "public", + "description": null, + "lineNumber": 312, + "undocument": true, + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 89, + "kind": "method", + "name": "divide_knowing_divisible_by", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#divide_knowing_divisible_by", + "access": "public", + "description": null, + "lineNumber": 316, + "undocument": true, + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 90, + "kind": "method", + "name": "cmp", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#cmp", + "access": "public", + "description": null, + "lineNumber": 320, + "undocument": true, + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 91, + "kind": "method", + "name": "eq", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#eq", + "access": "public", + "description": null, + "lineNumber": 340, + "undocument": true, + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 92, + "kind": "method", + "name": "ge", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#ge", + "access": "public", + "description": null, + "lineNumber": 344, + "undocument": true, + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 93, + "kind": "method", + "name": "gt", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#gt", + "access": "public", + "description": null, + "lineNumber": 348, + "undocument": true, + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 94, + "kind": "method", + "name": "le", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#le", + "access": "public", + "description": null, + "lineNumber": 352, + "undocument": true, + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 95, + "kind": "method", + "name": "lt", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#lt", + "access": "public", + "description": null, + "lineNumber": 356, + "undocument": true, + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 96, + "kind": "method", + "name": "ne", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#ne", + "access": "public", + "description": null, + "lineNumber": 360, + "undocument": true, + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 97, + "kind": "file", + "name": "src/IntegerRing.js", + "content": "import { Integer } from './' ;\nimport { DEFAULT_DISPLAY_BASE } from './' ;\nimport { parse , convert } from '@aureooms/js-integer-big-endian' ;\nimport { TypeError , ValueError } from '@aureooms/js-error' ;\n\nexport class IntegerRing {\n\n\tconstructor ( name , base ) {\n\t\tthis.name = name ;\n\t\tthis.base = base ;\n\t}\n\n\tcharacteristic ( ) {\n\t\treturn this.$0() ;\n\t}\n\n\tfrom ( object , base = undefined , is_negative = 0 ) {\n\n\t\tif ( object === null || object === undefined ) return this.$0();\n\n\t\tswitch ( object.constructor.prototype ) {\n\n\t\t\tcase Number.prototype :\n\t\t\t\tif ( base !== undefined ) throw new ValueError('IntegerRing#from: using the base parameter does not make sense when passing a Number.') ;\n\t\t\t\treturn this.from_number( object , is_negative ) ;\n\n\t\t\tcase String.prototype :\n\t\t\t\tif ( base === undefined ) base = DEFAULT_DISPLAY_BASE ;\n\t\t\t\treturn this.from_string( object , base , is_negative ) ;\n\n\t\t\tcase Array.prototype :\n\t\t\t\tif ( base === undefined ) base = this.base ;\n\t\t\t\treturn this.from_digits( object , base , is_negative ) ;\n\n\t\t\tcase Boolean.prototype :\n\t\t\t\tif ( base !== undefined ) throw new ValueError('IntegerRing#from: using the base parameter does not make sense when passing a Boolean.') ;\n\t\t\t\treturn this.from_number( +object , is_negative ) ;\n\n\t\t\tcase Integer.prototype :\n\t\t\t\tif ( base !== undefined ) throw new ValueError('IntegerRing#from: using the base parameter does not make sense when passing an Integer.') ;\n\t\t\t\treturn new Integer( object.base , object.is_negative ^ is_negative , object.limbs ) ;\n\n\t\t\tdefault:\n\t\t\t\tthrow new TypeError(`IntegerRing#from cannot handle ${object.constructor.prototype}`) ;\n\n\t\t}\n\n\t}\n\n\tfrom_number ( number , is_negative = 0 ) {\n\n\t\tif ( number < 0 ) {\n\t\t\tis_negative = ~is_negative ;\n\t\t\tnumber = -number ;\n\t\t}\n\n\t\tconst limbs = convert( 0x20000000000000 , this.base , [ number ] , 0 , 1 ) ;\n\n\t\treturn new Integer( this.base , is_negative , limbs ) ;\n\n\t}\n\n\tfrom_string ( string , base = 10 , is_negative = 0 ) {\n\n\t\tif ( string.length === 0 ) throw new ValueError( 'IntegerRing#from_string cannot parse empty string.' ) ;\n\n\t\tif ( string[0] === '-' ) return this.from_string( string.slice(1) , base , ~is_negative ) ;\n\n\t\tif ( string[0] === '+' ) return this.from_string( string.slice(1) , base , is_negative ) ;\n\n\t\tconst limbs = parse( base , this.base , string ) ;\n\n\t\treturn new Integer( this.base , is_negative , limbs ) ;\n\n\t}\n\n\tfrom_digits ( digits , base , is_negative ) {\n\n\t\tconst limbs = convert( base , this.base , digits.slice().reverse() , 0 , digits.length ) ;\n\n\t\treturn new Integer( this.base , is_negative , limbs ) ;\n\n\t}\n\n\ttoString ( ) {\n\t\treturn this.name ;\n\t}\n\n\t$0 ( ) {\n\t\treturn new Integer( this.base , 0 , [ 0 ] ) ;\n\t}\n\n\t$1 ( ) {\n\t\treturn new Integer( this.base , 0 , [ 1 ] ) ;\n\t}\n\n}\n", + "static": true, + "longname": "/home/aureooms/dev/js/js-integer/src/IntegerRing.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 98, + "kind": "class", + "name": "IntegerRing", + "memberof": "src/IntegerRing.js", + "static": true, + "longname": "src/IntegerRing.js~IntegerRing", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/IntegerRing.js", + "importStyle": "{IntegerRing}", + "description": null, + "lineNumber": 6, + "undocument": true, + "interface": false + }, + { + "__docId__": 99, + "kind": "constructor", + "name": "constructor", + "memberof": "src/IntegerRing.js~IntegerRing", + "generator": false, + "async": false, + "static": false, + "longname": "src/IntegerRing.js~IntegerRing#constructor", + "access": "public", + "description": null, + "lineNumber": 8, + "undocument": true + }, + { + "__docId__": 100, + "kind": "member", + "name": "name", + "memberof": "src/IntegerRing.js~IntegerRing", + "static": false, + "longname": "src/IntegerRing.js~IntegerRing#name", + "access": "public", + "description": null, + "lineNumber": 9, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 101, + "kind": "member", + "name": "base", + "memberof": "src/IntegerRing.js~IntegerRing", + "static": false, + "longname": "src/IntegerRing.js~IntegerRing#base", + "access": "public", + "description": null, + "lineNumber": 10, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 102, + "kind": "method", + "name": "characteristic", + "memberof": "src/IntegerRing.js~IntegerRing", + "generator": false, + "async": false, + "static": false, + "longname": "src/IntegerRing.js~IntegerRing#characteristic", + "access": "public", + "description": null, + "lineNumber": 13, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 103, + "kind": "method", + "name": "from", + "memberof": "src/IntegerRing.js~IntegerRing", + "generator": false, + "async": false, + "static": false, + "longname": "src/IntegerRing.js~IntegerRing#from", + "access": "public", + "description": null, + "lineNumber": 17, + "undocument": true, + "params": [ + { + "name": "object", + "types": [ + "*" + ] + }, + { + "name": "base", + "optional": true, + "types": [ + "*" + ], + "defaultRaw": "undefined", + "defaultValue": "undefined" + }, + { + "name": "is_negative", + "optional": true, + "types": [ + "number" + ], + "defaultRaw": 0, + "defaultValue": "0" + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 104, + "kind": "method", + "name": "from_number", + "memberof": "src/IntegerRing.js~IntegerRing", + "generator": false, + "async": false, + "static": false, + "longname": "src/IntegerRing.js~IntegerRing#from_number", + "access": "public", + "description": null, + "lineNumber": 50, + "undocument": true, + "params": [ + { + "name": "number", + "types": [ + "*" + ] + }, + { + "name": "is_negative", + "optional": true, + "types": [ + "number" + ], + "defaultRaw": 0, + "defaultValue": "0" + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 105, + "kind": "method", + "name": "from_string", + "memberof": "src/IntegerRing.js~IntegerRing", + "generator": false, + "async": false, + "static": false, + "longname": "src/IntegerRing.js~IntegerRing#from_string", + "access": "public", + "description": null, + "lineNumber": 63, + "undocument": true, + "params": [ + { + "name": "string", + "types": [ + "*" + ] + }, + { + "name": "base", + "optional": true, + "types": [ + "number" + ], + "defaultRaw": 10, + "defaultValue": "10" + }, + { + "name": "is_negative", + "optional": true, + "types": [ + "number" + ], + "defaultRaw": 0, + "defaultValue": "0" + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 106, + "kind": "method", + "name": "from_digits", + "memberof": "src/IntegerRing.js~IntegerRing", + "generator": false, + "async": false, + "static": false, + "longname": "src/IntegerRing.js~IntegerRing#from_digits", + "access": "public", + "description": null, + "lineNumber": 77, + "undocument": true, + "params": [ + { + "name": "digits", + "types": [ + "*" + ] + }, + { + "name": "base", + "types": [ + "*" + ] + }, + { + "name": "is_negative", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 107, + "kind": "method", + "name": "toString", + "memberof": "src/IntegerRing.js~IntegerRing", + "generator": false, + "async": false, + "static": false, + "longname": "src/IntegerRing.js~IntegerRing#toString", + "access": "public", + "description": null, + "lineNumber": 85, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 108, + "kind": "method", + "name": "$0", + "memberof": "src/IntegerRing.js~IntegerRing", + "generator": false, + "async": false, + "static": false, + "longname": "src/IntegerRing.js~IntegerRing#$0", + "access": "public", + "description": null, + "lineNumber": 89, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 109, + "kind": "method", + "name": "$1", + "memberof": "src/IntegerRing.js~IntegerRing", + "generator": false, + "async": false, + "static": false, + "longname": "src/IntegerRing.js~IntegerRing#$1", + "access": "public", + "description": null, + "lineNumber": 93, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 110, + "kind": "file", + "name": "src/ZZ.js", + "content": "\nimport {\n\tDEFAULT_REPRESENTATION_BASE ,\n\tIntegerRing ,\n} from './' ;\n\nexport const ZZ = new IntegerRing( 'Integer Ring' , DEFAULT_REPRESENTATION_BASE ) ;\n", + "static": true, + "longname": "/home/aureooms/dev/js/js-integer/src/ZZ.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 111, + "kind": "variable", + "name": "ZZ", + "memberof": "src/ZZ.js", + "static": true, + "longname": "src/ZZ.js~ZZ", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/ZZ.js", + "importStyle": "{ZZ}", + "description": null, + "lineNumber": 7, + "undocument": true, + "type": { + "types": [ + "src/IntegerRing.js~IntegerRing" + ] + } + }, + { + "__docId__": 112, + "kind": "file", + "name": "src/ZeroDivisionError.js", + "content": "\nexport class ZeroDivisionError extends Error {\n\n\tconstructor ( message ) {\n\t\tsuper( message ) ;\n\t}\n\n\ttoString ( ) {\n\t\treturn `ZeroDivisionError: ${this.message}` ;\n\t}\n\n}\n", + "static": true, + "longname": "/home/aureooms/dev/js/js-integer/src/ZeroDivisionError.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 113, + "kind": "class", + "name": "ZeroDivisionError", + "memberof": "src/ZeroDivisionError.js", + "static": true, + "longname": "src/ZeroDivisionError.js~ZeroDivisionError", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/ZeroDivisionError.js", + "importStyle": "{ZeroDivisionError}", + "description": null, + "lineNumber": 2, + "undocument": true, + "interface": false, + "extends": [ + "Error" + ] + }, + { + "__docId__": 114, + "kind": "constructor", + "name": "constructor", + "memberof": "src/ZeroDivisionError.js~ZeroDivisionError", + "generator": false, + "async": false, + "static": false, + "longname": "src/ZeroDivisionError.js~ZeroDivisionError#constructor", + "access": "public", + "description": null, + "lineNumber": 4, + "undocument": true + }, + { + "__docId__": 115, + "kind": "method", + "name": "toString", + "memberof": "src/ZeroDivisionError.js~ZeroDivisionError", + "generator": false, + "async": false, + "static": false, + "longname": "src/ZeroDivisionError.js~ZeroDivisionError#toString", + "access": "public", + "description": null, + "lineNumber": 8, + "undocument": true, + "params": [], + "return": { + "types": [ + "string" + ] + } + }, + { + "__docId__": 116, + "kind": "file", + "name": "src/index.js", + "content": "export * from './DEFAULT_DISPLAY_BASE' ;\nexport * from './DEFAULT_REPRESENTATION_BASE' ;\nexport * from './Integer' ;\nexport * from './IntegerRing' ;\nexport * from './ZZ' ;\nexport * from './ZeroDivisionError' ;\nexport * from './integer' ;\n", + "static": true, + "longname": "/home/aureooms/dev/js/js-integer/src/index.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 117, + "kind": "file", + "name": "src/integer.js", + "content": "import { DEFAULT_DISPLAY_BASE , ZZ } from './' ;\n\nexport function $0 ( ) {\n\treturn ZZ.$0() ;\n}\n\nexport function $1 ( ) {\n\treturn ZZ.$1() ;\n}\n\nexport function parse ( object , base = undefined , is_negative = 0 ) {\n\treturn ZZ.from( object , base , is_negative ) ;\n}\n\nexport function stringify ( integer , base = DEFAULT_DISPLAY_BASE ) {\n\treturn integer.toString( base ) ;\n}\n\nexport function add ( first , second ) {\n\treturn first.add(second) ;\n}\n\nexport function iadd ( first , second ) {\n\treturn first.iadd(second) ;\n}\n\nexport function sub ( first , second ) {\n\treturn first.sub(second) ;\n}\n\nexport function isub ( first , second ) {\n\treturn first.isub(second) ;\n}\n\nexport function mul ( first , second ) {\n\treturn first.mul(second) ;\n}\n\nexport function imul ( first , second ) {\n\treturn first.imul(second) ;\n}\n\nexport function pow ( first , second ) {\n\treturn first.pow(second) ;\n}\n\nexport function ipow ( first , second ) {\n\treturn first.ipow(second) ;\n}\n\nexport function div ( first , second ) {\n\treturn first.div(second) ;\n}\n\nexport function idiv ( first , second ) {\n\treturn first.idiv(second) ;\n}\n\nexport function mod ( first , second ) {\n\treturn first.mod(second) ;\n}\n\nexport function imod ( first , second ) {\n\treturn first.imod(second) ;\n}\n", + "static": true, + "longname": "/home/aureooms/dev/js/js-integer/src/integer.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 118, + "kind": "function", + "name": "$0", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~$0", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{$0}", + "description": null, + "lineNumber": 3, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 119, + "kind": "function", + "name": "$1", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~$1", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{$1}", + "description": null, + "lineNumber": 7, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 120, + "kind": "function", + "name": "parse", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~parse", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{parse}", + "description": null, + "lineNumber": 11, + "undocument": true, + "params": [ + { + "name": "object", + "types": [ + "*" + ] + }, + { + "name": "base", + "optional": true, + "types": [ + "*" + ], + "defaultRaw": "undefined", + "defaultValue": "undefined" + }, + { + "name": "is_negative", + "optional": true, + "types": [ + "number" + ], + "defaultRaw": 0, + "defaultValue": "0" + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 121, + "kind": "function", + "name": "stringify", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~stringify", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{stringify}", + "description": null, + "lineNumber": 15, + "undocument": true, + "params": [ + { + "name": "integer", + "types": [ + "*" + ] + }, + { + "name": "base", + "optional": true, + "types": [ + "*" + ], + "defaultRaw": "DEFAULT_DISPLAY_BASE", + "defaultValue": "DEFAULT_DISPLAY_BASE" + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 122, + "kind": "function", + "name": "add", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~add", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{add}", + "description": null, + "lineNumber": 19, + "undocument": true, + "params": [ + { + "name": "first", + "types": [ + "*" + ] + }, + { + "name": "second", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 123, + "kind": "function", + "name": "iadd", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~iadd", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{iadd}", + "description": null, + "lineNumber": 23, + "undocument": true, + "params": [ + { + "name": "first", + "types": [ + "*" + ] + }, + { + "name": "second", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 124, + "kind": "function", + "name": "sub", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~sub", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{sub}", + "description": null, + "lineNumber": 27, + "undocument": true, + "params": [ + { + "name": "first", + "types": [ + "*" + ] + }, + { + "name": "second", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 125, + "kind": "function", + "name": "isub", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~isub", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{isub}", + "description": null, + "lineNumber": 31, + "undocument": true, + "params": [ + { + "name": "first", + "types": [ + "*" + ] + }, + { + "name": "second", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 126, + "kind": "function", + "name": "mul", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~mul", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{mul}", + "description": null, + "lineNumber": 35, + "undocument": true, + "params": [ + { + "name": "first", + "types": [ + "*" + ] + }, + { + "name": "second", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 127, + "kind": "function", + "name": "imul", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~imul", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{imul}", + "description": null, + "lineNumber": 39, + "undocument": true, + "params": [ + { + "name": "first", + "types": [ + "*" + ] + }, + { + "name": "second", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 128, + "kind": "function", + "name": "pow", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~pow", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{pow}", + "description": null, + "lineNumber": 43, + "undocument": true, + "params": [ + { + "name": "first", + "types": [ + "*" + ] + }, + { + "name": "second", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 129, + "kind": "function", + "name": "ipow", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~ipow", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{ipow}", + "description": null, + "lineNumber": 47, + "undocument": true, + "params": [ + { + "name": "first", + "types": [ + "*" + ] + }, + { + "name": "second", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 130, + "kind": "function", + "name": "div", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~div", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{div}", + "description": null, + "lineNumber": 51, + "undocument": true, + "params": [ + { + "name": "first", + "types": [ + "*" + ] + }, + { + "name": "second", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 131, + "kind": "function", + "name": "idiv", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~idiv", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{idiv}", + "description": null, + "lineNumber": 55, + "undocument": true, + "params": [ + { + "name": "first", + "types": [ + "*" + ] + }, + { + "name": "second", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 132, + "kind": "function", + "name": "mod", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~mod", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{mod}", + "description": null, + "lineNumber": 59, + "undocument": true, + "params": [ + { + "name": "first", + "types": [ + "*" + ] + }, + { + "name": "second", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 133, + "kind": "function", + "name": "imod", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~imod", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{imod}", + "description": null, + "lineNumber": 63, + "undocument": true, + "params": [ + { + "name": "first", + "types": [ + "*" + ] + }, + { + "name": "second", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "kind": "index", + "content": "[@aureooms/js-integer](https://aureooms.github.io/js-integer)\n==\n\n\n\nIntegers for JavaScript.\nSee [docs](https://aureooms.github.io/js-integer).\nParent is [@aureooms/js-algorithms](https://github.com/aureooms/js-algorithms).\n\n```js\nimport { ZZ } from '@aureooms/js-integer' ; \nconst a = ZZ.from( '2983928392839289387' ) ;\nconst b = ZZ.from( '-302940923028393' ) ;\na.mul( b ).toString( ) ; // '-903954021577363596419770144565091'\n```\n\n[![License](https://img.shields.io/github/license/aureooms/js-integer.svg)](https://raw.githubusercontent.com/aureooms/js-integer/master/LICENSE)\n[![Version](https://img.shields.io/npm/v/@aureooms/js-integer.svg)](https://www.npmjs.org/package/@aureooms/js-integer)\n[![Build](https://img.shields.io/travis/aureooms/js-integer/master.svg)](https://travis-ci.org/aureooms/js-integer/branches)\n[![Dependencies](https://img.shields.io/david/aureooms/js-integer.svg)](https://david-dm.org/aureooms/js-integer)\n[![Dev dependencies](https://img.shields.io/david/dev/aureooms/js-integer.svg)](https://david-dm.org/aureooms/js-integer?type=dev)\n[![GitHub issues](https://img.shields.io/github/issues/aureooms/js-integer.svg)](https://github.com/aureooms/js-integer/issues)\n[![Downloads](https://img.shields.io/npm/dm/@aureooms/js-integer.svg)](https://www.npmjs.org/package/@aureooms/js-integer)\n\n[![Code issues](https://img.shields.io/codeclimate/issues/aureooms/js-integer.svg)](https://codeclimate.com/github/aureooms/js-integer/issues)\n[![Code maintainability](https://img.shields.io/codeclimate/maintainability/aureooms/js-integer.svg)](https://codeclimate.com/github/aureooms/js-integer/trends/churn)\n[![Code coverage (cov)](https://img.shields.io/codecov/c/gh/aureooms/js-integer/master.svg)](https://codecov.io/gh/aureooms/js-integer)\n[![Code technical debt](https://img.shields.io/codeclimate/tech-debt/aureooms/js-integer.svg)](https://codeclimate.com/github/aureooms/js-integer/trends/technical_debt)\n[![Documentation](https://aureooms.github.io/js-integer/badge.svg)](https://aureooms.github.io/js-integer/source.html)\n[![Package size](https://img.shields.io/bundlephobia/minzip/@aureooms/js-integer)](https://bundlephobia.com/result?p=@aureooms/js-integer)\n\n## Children\n\nThe current underlying implementation uses big endian order. There is no\nalternative for the moment.\n\n - [x] [@aureooms/js-integer-big-endian](https://github.com/aureooms/js-integer-big-endian)\n - [ ] [@aureooms/js-integer-little-endian](https://github.com/aureooms/js-integer-little-endian)\n\n## Reference\n\n - [The GNU Multiple Precision Arithmetic Library](https://gmplib.org/)\n - https://gmplib.org/gmp-man-6.0.0a.pdf\n - https://en.wikipedia.org/wiki/Sch%C3%B6nhage%E2%80%93Strassen_algorithm\n - [Similar work on GitHub](https://github.com/search?l=JavaScript&o=desc&q=bigint&s=stars&type=Repositories)\n", + "longname": "/home/aureooms/dev/js/js-integer/README.md", + "name": "./README.md", + "static": true, + "access": "public" + }, + { + "kind": "packageJSON", + "content": "{\n \"name\": \"@aureooms/js-integer\",\n \"description\": \"Integers for JavaScript\",\n \"version\": \"4.0.1\",\n \"author\": \"Aurélien Ooms \",\n \"ava\": {\n \"require\": [\n \"@babel/polyfill\",\n \"@babel/register\"\n ],\n \"files\": [\n \"test/src/**/*\"\n ],\n \"timeout\": \"1m\",\n \"concurrency\": 8\n },\n \"babel\": {\n \"presets\": [\n \"@babel/preset-env\"\n ],\n \"env\": {\n \"development\": {\n \"sourceMaps\": \"inline\"\n }\n }\n },\n \"bugs\": {\n \"url\": \"https://github.com/aureooms/js-integer/issues\"\n },\n \"dependencies\": {\n \"@aureooms/js-error\": \"^4.0.0\",\n \"@aureooms/js-integer-big-endian\": \"^5.0.1\"\n },\n \"devDependencies\": {\n \"@aureooms/js-algorithms\": \"3.0.7\",\n \"@aureooms/js-array\": \"4.0.0\",\n \"@aureooms/js-operator\": \"1.0.2\",\n \"@aureooms/js-random\": \"2.0.0\",\n \"@aureooms/js-string\": \"0.2.0\",\n \"@babel/cli\": \"7.8.4\",\n \"@babel/core\": \"7.9.6\",\n \"@babel/polyfill\": \"7.8.7\",\n \"@babel/preset-env\": \"7.9.6\",\n \"@babel/register\": \"7.9.0\",\n \"ava\": \"3.8.1\",\n \"coveralls\": \"3.1.0\",\n \"esdoc\": \"1.1.0\",\n \"esdoc-inject-script-plugin\": \"1.0.0\",\n \"esdoc-inject-style-plugin\": \"1.0.0\",\n \"esdoc-standard-plugin\": \"1.0.0\",\n \"np\": \"6.2.3\",\n \"nyc\": \"15.0.1\"\n },\n \"files\": [\n \"lib\"\n ],\n \"homepage\": \"https://aureooms.github.io/js-integer\",\n \"keywords\": [\n \"algorithm\",\n \"arithmetic\",\n \"bignum\",\n \"complexity\",\n \"integer\",\n \"javascript\",\n \"js\",\n \"library\",\n \"logic\",\n \"mpa\",\n \"multi-precision\"\n ],\n \"license\": \"AGPL-3.0\",\n \"main\": \"lib/index.js\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/aureooms/js-integer.git\"\n },\n \"scripts\": {\n \"build\": \"rm -rf lib && babel src -d lib\",\n \"cover\": \"nyc --reporter=lcov npm test\",\n \"esdoc\": \"esdoc\",\n \"prepare\": \"npm run build\",\n \"release\": \"np\",\n \"test\": \"ava\"\n }\n}\n", + "longname": "/home/aureooms/dev/js/js-integer/package.json", + "name": "package.json", + "static": true, + "access": "public" + }, + { + "kind": "manualIndex", + "globalIndex": false, + "content": null, + "longname": "", + "static": true, + "access": "public" + }, + { + "kind": "manual", + "longname": "/home/aureooms/dev/js/js-integer/doc/manual/overview.md", + "name": "./doc/manual/overview.md", + "content": "# Overview\n", + "static": true, + "access": "public" + }, + { + "kind": "manual", + "longname": "/home/aureooms/dev/js/js-integer/doc/manual/installation.md", + "name": "./doc/manual/installation.md", + "content": "# Installation\nCan be managed using\n[jspm](http://jspm.io)\nor [npm](https://github.com/npm/npm).\n\n### jspm\n```terminal\njspm install npm:@aureooms/js-integer\n```\n\n### npm\n```terminal\nnpm install @aureooms/js-integer --save\n```\n", + "static": true, + "access": "public" + }, + { + "kind": "manual", + "longname": "/home/aureooms/dev/js/js-integer/doc/manual/usage.md", + "name": "./doc/manual/usage.md", + "content": "# Usage\nThe code needs a ES2015+ polyfill to work, for example\n[@babel/polyfill](https://babeljs.io/docs/usage/polyfill).\n```js\nrequire( '@babel/polyfill' ) ;\n// or\nimport '@babel/polyfill' ;\n```\n\nThen\n```js\nconst integer = require( '@aureooms/js-integer' ) ;\n// or\nimport * as integer from '@aureooms/js-integer' ;\n```\n", + "static": true, + "access": "public" + }, + { + "kind": "manual", + "longname": "/home/aureooms/dev/js/js-integer/doc/manual/example.md", + "name": "./doc/manual/example.md", + "content": "# Examples\n", + "static": true, + "access": "public" + } +] \ No newline at end of file diff --git a/inject/css/0-style.css b/inject/css/0-style.css new file mode 100644 index 0000000..ed56934 --- /dev/null +++ b/inject/css/0-style.css @@ -0,0 +1,52 @@ +h1, +h2, +.navigation, +.layout-container > header, +footer +{ + border: none; +} + +.project-name { + color: #FC913A; + font-weight: bold; +} + +.layout-container > header > a.repo-url-github { + font-size: inherit; + display: inline; + background: none; + vertical-align: inherit; +} + +.search-box img { + display: none; +} + +.search-box::before{ + content: "search"; +} + +.search-input-edge { + height: 0px; +} + +.search-result { + width: 300px; + margin-left: 42px; + box-shadow: 1px 1px 13px rgba(0,0,0,0.2); +} + +.search-input { + visibility: visible; +} + +.search-result li.search-separator { + text-transform: capitalize; + background-color: #ccc; +} + +span[data-ice="signature"] > span { + /*font-weight: bold;*/ + font-style: italic; +} diff --git a/inject/script/0-header.js b/inject/script/0-header.js new file mode 100644 index 0000000..8fac10e --- /dev/null +++ b/inject/script/0-header.js @@ -0,0 +1,34 @@ +var domReady = function(callback) { + var state = document.readyState ; + if ( state === 'interactive' || state === 'complete' ) { + callback() ; + } + else { + document.addEventListener('DOMContentLoaded', callback); + } +} ; + + +domReady(function(){ + + var projectname = document.createElement('a'); + projectname.classList.add('project-name'); + projectname.text = 'aureooms/js-integer'; + projectname.href = './index.html' ; + + var header = document.getElementsByTagName('header')[0] ; + header.insertBefore(projectname,header.firstChild); + + var testlink = document.querySelector('header > a[data-ice="testLink"]') ; + testlink.href = 'https://coveralls.io/github/aureooms/js-integer' ; + testlink.target = '_BLANK' ; + + var searchBox = document.querySelector('.search-box'); + var input = document.querySelector('.search-input'); + + // active search box when focus on searchBox. + input.addEventListener('focus', function(){ + searchBox.classList.add('active'); + }); + +}); diff --git a/lint.json b/lint.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/lint.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/manual/example.html b/manual/example.html new file mode 100644 index 0000000..a52bf82 --- /dev/null +++ b/manual/example.html @@ -0,0 +1,75 @@ + + + + + + Manual | @aureooms/js-integer + + + + + + + +
    + Home + Manual + Reference + Source + + +
    + + + +

    Examples

    +
    + + + + + + + + + + + + diff --git a/manual/index.html b/manual/index.html index 0e1445a..1da7a5a 100644 --- a/manual/index.html +++ b/manual/index.html @@ -3,16 +3,12 @@ - Manual + Manual | @aureooms/js-integer - - - - - +
    @@ -20,8 +16,7 @@ Manual Reference Source - Test - Repository + -
    +
    -
    import {Integer} from '@aureooms/js-integer/src/Integer.js'
    +
    import {Integer} from '@aureooms/js-integer/src/Integer.js'
    public class - | source + | source
    @@ -232,6 +238,34 @@

    Integer

    + + + +
    +

    + + + + abs(): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -260,6 +294,34 @@

    Integer

    + + + +
    +

    + + + + addn(number: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -316,6 +378,34 @@

    Integer

    + + + +
    +

    + + + + clone(): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -352,7 +442,7 @@

    Integer

    - copy(): * + cmpn(number: *): *

    @@ -520,7 +610,7 @@

    Integer

    - eq(other: *): * + divn(number: *): *

    @@ -548,7 +638,7 @@

    Integer

    - ge(other: *): * + divround(other: *): *

    @@ -576,7 +666,7 @@

    Integer

    - gt(other: *): * + egcd(other: *): {"gcd": *, "x": *, "y": *, "u": *, "v": *}

    @@ -604,7 +694,7 @@

    Integer

    - hex(): * + eq(other: *): *

    @@ -632,7 +722,7 @@

    Integer

    - iadd(other: *): * + eqn(number: *): *

    @@ -660,7 +750,7 @@

    Integer

    - idiv(other: *): * + gcd(other: *): *

    @@ -688,7 +778,7 @@

    Integer

    - imod(other: *): * + ge(other: *): *

    @@ -716,7 +806,7 @@

    Integer

    - imul(other: *): * + gen(number: *): *

    @@ -744,7 +834,7 @@

    Integer

    - ipow(x: *): * + gt(other: *): *

    @@ -772,7 +862,7 @@

    Integer

    - isone(): * + gtn(number: *): *

    @@ -800,7 +890,7 @@

    Integer

    - isquare(): * + hex(): *

    @@ -828,7 +918,7 @@

    Integer

    - isub(other: *): * + iabs(): *

    @@ -856,7 +946,7 @@

    Integer

    - iszero(): * + iadd(other: *): *

    @@ -884,7 +974,7 @@

    Integer

    - le(other: *): * + iaddn(number: *): *

    @@ -912,7 +1002,7 @@

    Integer

    - lt(other: *): * + idiv(other: *): *

    @@ -940,7 +1030,7 @@

    Integer

    - mod(other: *): * + idivmod(other: *): undefined[]

    @@ -968,7 +1058,7 @@

    Integer

    - move(other: *): * + idivn(number: *): *

    @@ -996,7 +1086,7 @@

    Integer

    - mul(other: *): * + imod(other: *): *

    @@ -1024,7 +1114,7 @@

    Integer

    - ne(other: *): * + imodn(number: *): *

    @@ -1052,7 +1142,7 @@

    Integer

    - negate(): * + imul(other: *): *

    @@ -1080,7 +1170,7 @@

    Integer

    - nonzero(): * + imuln(number: *): *

    @@ -1108,7 +1198,7 @@

    Integer

    - oct(): * + ipow(other: *): *

    @@ -1136,7 +1226,7 @@

    Integer

    - opposite(): * + ipown(number: *): *

    @@ -1164,14 +1254,13 @@

    Integer

    - pow(x: Number): Integer + iseven(): *

    -

    Computes this raised to the xth power.

    -
    +
    @@ -1193,7 +1282,7 @@

    Integer

    - sign(): * + isnegative(): *

    @@ -1221,7 +1310,7 @@

    Integer

    - square(): * + isnonnegative(): *

    @@ -1249,7 +1338,7 @@

    Integer

    - sub(other: *): * + isnonpositive(): *

    @@ -1277,7 +1366,7 @@

    Integer

    - toString(base: *): * + isnonzero(): *

    @@ -1291,15 +1380,9 @@

    Integer

    - - - - - - - + - -
    Private Methods
    - private + public @@ -1311,7 +1394,7 @@

    Integer

    - _limbs_in_base(base: *): * + isodd(): *

    @@ -1325,121 +1408,3148 @@

    Integer

    -
    - - - - - -

    Public Constructors

    - -
    -

    - public - - - - - - constructor() - - + + + public - source - -

    - - - - - - - - -
    -
    - - - - - - - - - - - - - - - - - -
    -
    -

    Public Members

    - -
    -

    - public - - - - - - base: * - - source - -

    - - - - - - - - -
    -
    - - - - - - - - - - - - - - - - - -
    -
    -

    - public - - - - - - is_negative: * - + + + +
    +

    + + + + isone(): * +

    +
    +
    + + + +
    + + - source -
    -

    - + + + + + public + + + + + + +
    +

    + + + + ispositive(): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + isquare(): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + isub(other: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + isubn(number: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + iszero(): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + le(other: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + len(number: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + lt(other: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + ltn(number: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + mod(other: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + modn(number: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + move(other: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + mul(other: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + muln(number: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + ne(other: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + negate(): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + nen(number: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + oct(): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + opposite(): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + parity(): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + pow(other: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + pown(x: Number): Integer +

    +
    +
    + + +

    Computes this raised to the xth power.

    +
    +
    + + + + + + + + + public + + + + + + +
    +

    + + + + sign(): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + square(): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + sub(other: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + subn(number: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + toJSON(): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + toNumber(): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + toString(base: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + valueOf(): * +

    +
    +
    + + + +
    + + + + + + + + + + + + + + + + + + +
    Private Methods
    + private + + + + + +
    +

    + + + + _limbs_in_base(base: *): * +

    +
    +
    + + + +
    +
    + + +
    +
    + + + + + +

    Public Constructors

    + +
    +

    + public + + + + + + constructor() + + + + source + +

    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    Public Members

    + +
    +

    + public + + + + + + base: * + + + + source + +

    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + is_negative: * + + + + source + +

    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + limbs: * + + + + source + +

    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    Public Methods

    + +
    +

    + public + + + + + + abs(): * + + + + source + +

    + + + + + + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + add(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + addn(number: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    number*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + bin(): * + + + + source + +

    + + + + + + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + bits(): * + + + + source + +

    + + + + + + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + clone(): * + + + + source + +

    + + + + + + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + cmp(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + cmpn(number: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    number*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + digits(base: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    base*
    • optional
    • +
    • default: DEFAULT_DISPLAY_BASE
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + div(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + divide_knowing_divisible_by(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + divides(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + divmod(other: *): undefined[] + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    undefined[]
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + divn(number: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    number*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + divround(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + egcd(other: *): {"gcd": *, "x": *, "y": *, "u": *, "v": *} + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    {"gcd": *, "x": *, "y": *, "u": *, "v": *}
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + eq(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + eqn(number: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    number*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + gcd(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + ge(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + gen(number: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    number*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + gt(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + gtn(number: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    number*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + hex(): * + + + + source + +

    + + + + + + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + iabs(): * + + + + source + +

    + + + + + + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + iadd(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + iaddn(number: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    number*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + idiv(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + idivmod(other: *): undefined[] + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    undefined[]
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + idivn(number: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    number*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + imod(other: *): * + + + + source + +

    + @@ -1447,11 +4557,110 @@

    -
    +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + imodn(number: *): * + + + + source + +

    + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    number*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + @@ -1468,18 +4677,18 @@

    -

    +

    public - limbs: * + imul(other: *): * - source + source

    @@ -1490,10 +4699,180 @@

    -
    +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + imuln(number: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    number*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + ipow(other: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    - +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    @@ -1510,22 +4889,19 @@

    -

    -

    Public Methods

    -
    -

    +

    public - add(other: *): * + ipown(number: *): * - source + source

    @@ -1545,7 +4921,7 @@

    Params:

    - other + number * @@ -1585,18 +4961,18 @@

    Return:

    -

    +

    public - bin(): * + iseven(): * - source + source

    @@ -1640,18 +5016,18 @@

    Return:

    -

    +

    public - bits(): * + isnegative(): * - source + source

    @@ -1695,18 +5071,18 @@

    Return:

    -

    +

    public - cmp(other: *): * + isnonnegative(): * - source + source

    @@ -1717,23 +5093,7 @@

    -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    other*
    -
    +
    @@ -1766,18 +5126,18 @@

    Return:

    -

    +

    public - copy(): * + isnonpositive(): * - source + source

    @@ -1821,18 +5181,18 @@

    Return:

    -

    +

    public - digits(base: *): * + isnonzero(): * - source + source

    @@ -1843,24 +5203,7 @@

    -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    base*
    • optional
    • -
    • default: DEFAULT_DISPLAY_BASE
    -
    +
    @@ -1893,18 +5236,18 @@

    Return:

    -

    +

    public - div(other: *): * + isodd(): * - source + source

    @@ -1915,23 +5258,7 @@

    -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    other*
    -
    +
    @@ -1964,18 +5291,18 @@

    Return:

    -

    +

    public - divide_knowing_divisible_by(other: *): * + isone(): * - source + source

    @@ -1986,23 +5313,7 @@

    -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    other*
    -
    +
    @@ -2035,18 +5346,18 @@

    Return:

    -

    +

    public - divides(other: *): * + ispositive(): * - source + source

    @@ -2057,23 +5368,7 @@

    -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    other*
    -
    +
    @@ -2106,18 +5401,18 @@

    Return:

    -

    +

    public - divmod(other: *): undefined[] + isquare(): * - source + source

    @@ -2128,23 +5423,7 @@

    -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    other*
    -
    +
    @@ -2152,7 +5431,7 @@

    Return:

    - + @@ -2177,18 +5456,18 @@

    Return:

    -

    +

    public - eq(other: *): * + isub(other: *): * - source + source

    @@ -2248,18 +5527,18 @@

    Return:

    -

    +

    public - ge(other: *): * + isubn(number: *): * - source + source

    @@ -2279,7 +5558,7 @@

    Params:

    - + @@ -2319,18 +5598,18 @@

    Return:

    -

    +

    public - gt(other: *): * + iszero(): * - source + source

    @@ -2341,23 +5620,7 @@

    -
    -

    Params:

    -

    undefined[]*
    othernumber *
    - - - - - - - - - - - - -
    NameTypeAttributeDescription
    other*
    -
    +
    @@ -2390,18 +5653,18 @@

    Return:

    -

    +

    public - hex(): * + le(other: *): * - source + source

    @@ -2412,7 +5675,23 @@

    -
    +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    @@ -2445,18 +5724,18 @@

    Return:

    -

    +

    public - iadd(other: *): * + len(number: *): * - source + source

    @@ -2476,7 +5755,7 @@

    Params:

    - other + number * @@ -2516,18 +5795,18 @@

    Return:

    -

    +

    public - idiv(other: *): * + lt(other: *): * - source + source

    @@ -2587,18 +5866,18 @@

    Return:

    -

    +

    public - imod(other: *): * + ltn(number: *): * - source + source

    @@ -2618,7 +5897,7 @@

    Params:

    - other + number * @@ -2658,18 +5937,18 @@

    Return:

    -

    +

    public - imul(other: *): * + mod(other: *): * - source + source

    @@ -2729,18 +6008,18 @@

    Return:

    -

    +

    public - ipow(x: *): * + modn(number: *): * - source + source

    @@ -2760,7 +6039,7 @@

    Params:

    - x + number * @@ -2800,18 +6079,18 @@

    Return:

    -

    +

    public - isone(): * + move(other: *): * - source + source

    @@ -2822,7 +6101,23 @@

    -
    +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    @@ -2855,18 +6150,18 @@

    Return:

    -

    +

    public - isquare(): * + mul(other: *): * - source + source

    @@ -2877,7 +6172,23 @@

    -
    +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    @@ -2910,18 +6221,18 @@

    Return:

    -

    +

    public - isub(other: *): * + muln(number: *): * - source + source

    @@ -2941,7 +6252,7 @@

    Params:

    - other + number * @@ -2981,18 +6292,18 @@

    Return:

    -

    +

    public - iszero(): * + ne(other: *): * - source + source

    @@ -3003,7 +6314,23 @@

    -
    +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    @@ -3036,18 +6363,18 @@

    Return:

    -

    +

    public - le(other: *): * + negate(): * - source + source

    @@ -3058,23 +6385,7 @@

    -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    other*
    -
    +
    @@ -3107,18 +6418,18 @@

    Return:

    -

    +

    public - lt(other: *): * + nen(number: *): * - source + source

    @@ -3138,7 +6449,7 @@

    Params:

    - other + number * @@ -3178,18 +6489,18 @@

    Return:

    -

    +

    public - mod(other: *): * + oct(): * - source + source

    @@ -3200,23 +6511,7 @@

    -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    other*
    -
    +
    @@ -3249,18 +6544,18 @@

    Return:

    -

    +

    public - move(other: *): * + opposite(): * - source + source

    @@ -3271,23 +6566,7 @@

    -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    other*
    -
    +
    @@ -3320,18 +6599,18 @@

    Return:

    -

    +

    public - mul(other: *): * + parity(): * - source + source

    @@ -3342,23 +6621,7 @@

    -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    other*
    -
    +
    @@ -3391,18 +6654,18 @@

    Return:

    -

    +

    public - ne(other: *): * + pow(other: *): * - source + source

    @@ -3462,29 +6725,48 @@

    Return:

    -

    +

    public - negate(): * + pown(x: Number): Integer - source + source

    - +

    Computes this raised to the xth power. +x is a double smaller or equal to 2^53.

    +
    -
    +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    xNumber

    The power to raise this to.

    +
    +
    @@ -3492,8 +6774,9 @@

    Return:

    - - + +
    *Integer

    this ^ x

    +
    @@ -3517,18 +6800,18 @@

    Return:

    -

    +

    public - nonzero(): * + sign(): * - source + source

    @@ -3572,18 +6855,18 @@

    Return:

    -

    +

    public - oct(): * + square(): * - source + source

    @@ -3627,18 +6910,18 @@

    Return:

    -

    +

    public - opposite(): * + sub(other: *): * - source + source

    @@ -3649,7 +6932,23 @@

    -
    +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    other*
    +
    @@ -3682,27 +6981,25 @@

    Return:

    -

    +

    public - pow(x: Number): Integer + subn(number: *): * - source + source

    -

    Computes this raised to the xth power. -x is a double smaller or equal to 2^53.

    -
    + @@ -3715,11 +7012,10 @@

    Params:

    - x - Number + number + * -

    The power to raise this to.

    - + @@ -3731,9 +7027,8 @@

    Return:

    - - + +
    Integer

    this ^ x

    -
    *
    @@ -3757,18 +7052,18 @@

    Return:

    -

    +

    public - sign(): * + toJSON(): * - source + source

    @@ -3812,18 +7107,18 @@

    Return:

    -

    +

    public - square(): * + toNumber(): * - source + source

    @@ -3867,18 +7162,18 @@

    Return:

    -

    +

    public - sub(other: *): * + toString(base: *): * - source + source

    @@ -3898,9 +7193,10 @@

    Params:

    - other + base * - +
    • optional
    • +
    • default: DEFAULT_DISPLAY_BASE
    @@ -3938,18 +7234,18 @@

    Return:

    -

    +

    public - toString(base: *): * + valueOf(): * - source + source

    @@ -3960,24 +7256,7 @@

    -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    base*
    • optional
    • -
    • default: DEFAULT_DISPLAY_BASE
    -
    +
    @@ -4023,7 +7302,7 @@

    - source + source

    diff --git a/class/src/IntegerRing.js~IntegerRing.html b/class/src/IntegerRing.js~IntegerRing.html index 33169c1..c455633 100644 --- a/class/src/IntegerRing.js~IntegerRing.html +++ b/class/src/IntegerRing.js~IntegerRing.html @@ -32,8 +32,10 @@
  • CInteger
  • CIntegerRing
  • CZeroDivisionError
  • +
  • F_from_number
  • F$0
  • F$1
  • +
  • F$_1
  • Fadd
  • Fdiv
  • Fiadd
  • @@ -51,18 +53,22 @@
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • +
  • VMAX_BASE
  • +
  • VMAX_NUMBER
  • +
  • VMIN_BASE
  • +
  • VMIN_NUMBER
  • -
    import {IntegerRing} from '@aureooms/js-integer/src/IntegerRing.js'
    +
    import {IntegerRing} from '@aureooms/js-integer/src/IntegerRing.js'
    public class - | source + | source
    @@ -264,6 +270,34 @@

    IntegerRing

    + + + +
    +

    + + + + $_1(): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -404,6 +438,90 @@

    IntegerRing

    + + + +
    +

    + + + + has(x: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + max(a: *, b: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + min(a: *, b: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -448,7 +566,7 @@

    - source + source

    @@ -494,7 +612,7 @@

    - source + source

    @@ -537,7 +655,7 @@

    - source + source

    @@ -583,7 +701,7 @@

    - source + source

    @@ -638,7 +756,62 @@

    - source + source + +

    + + + + + + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + $_1(): * + + + + source

    @@ -693,7 +866,7 @@

    - source + source

    @@ -748,7 +921,7 @@

    - source + source

    @@ -833,7 +1006,7 @@

    - source + source

    @@ -916,7 +1089,7 @@

    - source + source

    @@ -994,7 +1167,7 @@

    - source + source

    @@ -1066,6 +1239,231 @@

    Return:

    +
    +
    +

    + public + + + + + + has(x: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    x*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + max(a: *, b: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    a*
    b*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + min(a: *, b: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    a*
    b*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + +

    @@ -1079,7 +1477,7 @@

    - source + source

    diff --git a/class/src/ZeroDivisionError.js~ZeroDivisionError.html b/class/src/ZeroDivisionError.js~ZeroDivisionError.html index 3962c11..1fb0e94 100644 --- a/class/src/ZeroDivisionError.js~ZeroDivisionError.html +++ b/class/src/ZeroDivisionError.js~ZeroDivisionError.html @@ -32,8 +32,10 @@
  • CInteger
  • CIntegerRing
  • CZeroDivisionError
  • +
  • F_from_number
  • F$0
  • F$1
  • +
  • F$_1
  • Fadd
  • Fdiv
  • Fiadd
  • @@ -51,6 +53,10 @@
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • +
  • VMAX_BASE
  • +
  • VMAX_NUMBER
  • +
  • VMIN_BASE
  • +
  • VMIN_NUMBER
  • diff --git a/coverage.json b/coverage.json index eb1ec10..acaa8c5 100644 --- a/coverage.json +++ b/coverage.json @@ -1,6 +1,6 @@ { - "coverage": "1.28%", - "expectCount": 78, + "coverage": "0.81%", + "expectCount": 123, "actualCount": 1, "files": { "src/DEFAULT_DISPLAY_BASE.js": { @@ -18,70 +18,109 @@ ] }, "src/Integer.js": { - "expectCount": 44, + "expectCount": 79, "actualCount": 1, "undocumentLines": [ - 11, - 13, - 14, - 15, - 16, - 19, + 18, + 20, + 21, + 22, + 23, 26, - 30, - 35, - 45, - 74, - 79, - 129, - 134, - 151, - 176, - 181, + 33, + 37, + 43, + 53, + 82, + 87, + 92, + 97, + 147, + 152, + 156, + 160, + 177, + 182, 186, - 191, - 195, - 200, - 204, - 209, + 210, + 214, + 219, + 224, + 230, + 236, + 240, + 244, + 249, + 253, + 257, + 261, 266, 270, - 275, - 279, - 283, - 288, - 292, - 296, - 300, - 304, - 308, - 312, - 316, - 320, - 340, - 344, + 276, + 333, + 339, + 343, 348, 352, 356, - 360 + 360, + 364, + 369, + 373, + 377, + 381, + 385, + 389, + 395, + 399, + 403, + 407, + 411, + 415, + 419, + 425, + 429, + 433, + 439, + 460, + 464, + 468, + 472, + 476, + 480, + 484, + 488, + 492, + 496, + 500, + 504, + 508, + 512, + 522, + 546, + 562 ] }, "src/IntegerRing.js": { - "expectCount": 12, + "expectCount": 16, "actualCount": 0, "undocumentLines": [ - 6, - 8, + 7, 9, 10, - 13, - 17, - 50, - 63, - 77, - 85, - 89, - 93 + 11, + 14, + 18, + 51, + 61, + 75, + 83, + 87, + 92, + 96, + 100, + 105, + 109 ] }, "src/ZZ.js": { @@ -100,8 +139,25 @@ 8 ] }, + "src/_from_number.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 4 + ] + }, + "src/_limits.js": { + "expectCount": 4, + "actualCount": 0, + "undocumentLines": [ + 2, + 3, + 4, + 5 + ] + }, "src/integer.js": { - "expectCount": 16, + "expectCount": 17, "actualCount": 0, "undocumentLines": [ 3, @@ -119,7 +175,8 @@ 51, 55, 59, - 63 + 63, + 67 ] } } diff --git a/file/src/DEFAULT_DISPLAY_BASE.js.html b/file/src/DEFAULT_DISPLAY_BASE.js.html index e052421..2be182b 100644 --- a/file/src/DEFAULT_DISPLAY_BASE.js.html +++ b/file/src/DEFAULT_DISPLAY_BASE.js.html @@ -32,8 +32,10 @@
  • CInteger
  • CIntegerRing
  • CZeroDivisionError
  • +
  • F_from_number
  • F$0
  • F$1
  • +
  • F$_1
  • Fadd
  • Fdiv
  • Fiadd
  • @@ -51,6 +53,10 @@
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • +
  • VMAX_BASE
  • +
  • VMAX_NUMBER
  • +
  • VMIN_BASE
  • +
  • VMIN_NUMBER
  • diff --git a/file/src/DEFAULT_REPRESENTATION_BASE.js.html b/file/src/DEFAULT_REPRESENTATION_BASE.js.html index ec2dad8..deaa0e3 100644 --- a/file/src/DEFAULT_REPRESENTATION_BASE.js.html +++ b/file/src/DEFAULT_REPRESENTATION_BASE.js.html @@ -32,8 +32,10 @@
  • CInteger
  • CIntegerRing
  • CZeroDivisionError
  • +
  • F_from_number
  • F$0
  • F$1
  • +
  • F$_1
  • Fadd
  • Fdiv
  • Fiadd
  • @@ -51,6 +53,10 @@
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • +
  • VMAX_BASE
  • +
  • VMAX_NUMBER
  • +
  • VMIN_BASE
  • +
  • VMIN_NUMBER
  • diff --git a/file/src/Integer.js.html b/file/src/Integer.js.html index 81c7f4d..c75aa75 100644 --- a/file/src/Integer.js.html +++ b/file/src/Integer.js.html @@ -32,8 +32,10 @@
  • CInteger
  • CIntegerRing
  • CZeroDivisionError
  • +
  • F_from_number
  • F$0
  • F$1
  • +
  • F$_1
  • Fadd
  • Fdiv
  • Fiadd
  • @@ -51,6 +53,10 @@
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • +
  • VMAX_BASE
  • +
  • VMAX_NUMBER
  • +
  • VMIN_BASE
  • +
  • VMIN_NUMBER
  • @@ -58,14 +64,21 @@

    src/Integer.js

    import { DEFAULT_DISPLAY_BASE , ZeroDivisionError } from './' ;
     
    +import { ValueError } from '@aureooms/js-error' ;
    +
    +import { _from_number } from './_from_number' ;
    +
     import {
     	stringify , convert , _trim_positive ,
     	_alloc , _copy , _zeros ,
    -	_jz , _cmp , _eq ,
    -	add , _sub , mul , _idivmod , _powd ,
    -	_increment ,
    +	jz , cmp , eq ,
    +	add , _sub , mul , _idivmod , _pow_double ,
    +	increment ,
    +	euclidean_algorithm , extended_euclidean_algorithm ,
     } from '@aureooms/js-integer-big-endian' ;
     
    +import { MIN_NUMBER , MAX_NUMBER , MAX_BASE } from './_limits' ;
    +
     export class Integer {
     
     	constructor ( base , is_negative , limbs ) {
    @@ -81,11 +94,12 @@
     		return other ;
     	}
     
    -	copy ( ) {
    +	clone ( ) {
     		return new Integer( this.base , this.is_negative , this.limbs ) ;
     	}
     
     	_limbs_in_base ( base ) {
    +		// TODO save result for later ? Maybe replace base ?
     		if ( this.base === base ) return this.limbs ;
     		else return convert( this.base , base , this.limbs , 0 , this.limbs.length ) ;
     	}
    @@ -134,6 +148,16 @@
     		return this.add(other).move(this);
     	}
     
    +	addn ( number ) {
    +		// TODO optimize
    +		return this.add(_from_number(number)) ;
    +	}
    +
    +	iaddn ( number ) {
    +		// TODO optimize but be careful with side effects
    +		return this.addn(number).move(this);
    +	}
    +
     	sub ( other ) {
     
     		if ( this.is_negative !== other.is_negative ) {
    @@ -159,9 +183,9 @@
     			const bj = b.length ;
     			const bi = _trim_positive( b , 0 , bj ) ;
     
    -			if ( bi >= bj ) return this.copy() ;
    +			if ( bi >= bj ) return this.clone() ;
     
    -			if ( _cmp( a , ai , aj , b , bi , bj ) < 0 ) {
    +			if ( cmp( a , ai , aj , b , bi , bj ) < 0 ) {
     
     				const c = _zeros( bj - bi ) ;
     
    @@ -189,6 +213,14 @@
     		return this.sub(other).move(this);
     	}
     
    +	subn ( number ) {
    +		return this.sub(_from_number(number));
    +	}
    +
    +	isubn ( number ) {
    +		return this.subn(number).move(this);
    +	}
    +
     	mul ( other ) {
     
     		const result_is_negative = this.is_negative ^ other.is_negative ;
    @@ -211,6 +243,14 @@
     		return this.mul(other).move(this);
     	}
     
    +	muln ( number ) {
    +		return this.mul(_from_number(number));
    +	}
    +
    +	imuln ( number ) {
    +		return this.muln(number).move(this);
    +	}
    +
     	/**
     	 * Computes <code>this</code> raised to the <code>x</code>th power.
     	 * <code>x</code> is a double smaller or equal to 2^53.
    @@ -218,31 +258,42 @@
     	 * @param {Number} x The power to raise <code>this</code> to.
     	 * @return {Integer} <code>this ^ x</code>
     	 */
    -	pow ( x ) {
    +	pown ( x ) {
     
     		const is_negative = this.is_negative & x & 1 ? -1 : 0 ;
     
     		const a = this.limbs ;
     		const c = _zeros( Math.max( 1 , a.length * x ) ) ;
     
    -		_powd( this.base , x , a , 0 , a.length , c , 0 , c.length ) ;
    +		_pow_double( this.base , x , a , 0 , a.length , c , 0 , c.length ) ;
     
     		return new Integer( this.base , is_negative , c ) ;
     
     	}
     
    -	ipow ( x ) {
    +	pow ( other ) {
    +		return this.pown( other.valueOf() ) ;
    +	}
    +
    +	ipow ( other ) {
     		// TODO optimize but be careful with side effects
    -		return this.pow(x).move(this);
    +		return this.pow(other).move(this);
    +	}
    +
    +	ipown ( number ) {
    +		// TODO optimize but be careful with side effects
    +		return this.pown(other).move(this);
     	}
     
     	square ( ) {
     		// TODO optimize but be careful with side effects
    +		// TODO use this.mul(this) instead?
     		return this.pow(2);
     	}
     
     	isquare ( ) {
     		// TODO optimize but be careful with side effects
    +		// TODO use this.imul(this) instead?
     		return this.ipow(2);
     	}
     
    @@ -250,20 +301,42 @@
     		return this.divmod( other )[0] ;
     	}
     
    +	divn ( number ) {
    +		return this.div(_from_number(number)) ;
    +	}
    +
     	idiv ( other ) {
     		// TODO optimize but be careful with side effects
     		return this.div(other).move(this);
     	}
     
    +	idivn ( number ) {
    +		return this.divn(number).move(this);
    +	}
    +
     	mod ( other ) {
     		return this.divmod( other )[1] ;
     	}
     
    +	modn ( number ) {
    +		return this.mod(_from_number(number)) ;
    +	}
    +
     	imod ( other ) {
     		// TODO optimize but be careful with side effects
     		return this.mod(other).move(this);
     	}
     
    +	imodn ( number ) {
    +		return this.modn(number).move(this);
    +	}
    +
    +	divround ( other ) {
    +		const [ q , r ] = this.divmod(other) ;
    +		if ( r >= ( this.base / 2 | 0 ) ) increment( r , q.limbs , 0 , q.limbs.length ) ;
    +		return q ;
    +	}
    +
     	divmod ( other ) {
     
     		if ( other.iszero() ) throw new ZeroDivisionError( 'Integer division by zero' ) ; // optimize
    @@ -295,12 +368,12 @@
     		const Q = new Integer( r , quotient_is_negative , q ) ; // quotient
     		const R = new Integer( r , 0 , D ) ;                    // remainder
     
    -		if ( (this.is_negative || other.is_negative ) && !_jz( D , 0 , D.length ) ) {
    +		if ( (this.is_negative || other.is_negative ) && !jz( D , 0 , D.length ) ) {
     
     			if ( other.is_negative ) {
     
     				if ( !this.is_negative ) {
    -					_increment( r , q , 0 , q.length ) ;
    +					increment( r , q , 0 , q.length ) ;
     					R.iadd( other ) ; // TODO optimize
     				}
     
    @@ -311,7 +384,7 @@
     			}
     
     			else {
    -				_increment( r , q , 0 , q.length ) ;
    +				increment( r , q , 0 , q.length ) ;
     				R.negate().iadd( other ) ; // TODO optimize
     			}
     
    @@ -321,6 +394,12 @@
     
     	}
     
    +	idivmod ( other ) {
    +		// TODO optimize but be careful with side effects
    +		const [ q , r ] = this.divmod(other) ;
    +		return [ q.move(this) , r ] ;
    +	}
    +
     	opposite ( ) {
     		return new Integer( this.base , ~this.is_negative , this.limbs ) ;
     	}
    @@ -330,23 +409,61 @@
     		return this.opposite().move(this);
     	}
     
    +	abs ( ) {
    +		return this.sign() >= 0 ? this : this.opposite(this) ;
    +	}
    +
    +	iabs ( ) {
    +		return this.sign() >= 0 ? this : this.negate(this) ;
    +	}
    +
     	sign ( ) {
     		return this.iszero() ? 0 : this.is_negative ? -1 : 1 ;
     	}
     
     	iszero ( ) {
    -		return _jz( this.limbs , 0 , this.limbs.length ) ;
    +		return jz( this.limbs , 0 , this.limbs.length ) ;
     	}
     
     	isone ( ) {
     		if ( this.is_negative ) return false ;
    -		return _eq( this.limbs , 0 , this.limbs.length , [ 1 ] , 0 , 1 ) ;
    +		return eq( this.limbs , 0 , this.limbs.length , [ 1 ] , 0 , 1 ) ;
     	}
     
    -	nonzero ( ) {
    +	isnonzero ( ) {
     		return !this.iszero();
     	}
     
    +	isnegative ( ) {
    +		return this.is_negative ;
    +	}
    +
    +	ispositive ( ) {
    +		return this.sign() > 0 ;
    +	}
    +
    +	isnonnegative ( ) {
    +		return !this.negative();
    +	}
    +
    +	isnonpositive ( ) {
    +		return !this.positive() ;
    +	}
    +
    +	parity ( ) {
    +		// TODO optimize this, there is a much faster way to test for parity
    +		// when the base is a multiple of two
    +		return this.modn(2) ;
    +	}
    +
    +	iseven ( ) {
    +		return this.parity().iszero() ;
    +	}
    +
    +	isodd ( ) {
    +		return !this.iseven() ;
    +	}
    +
     	bin ( ) {
     		return this.toString( 2 ) ;
     	}
    @@ -359,7 +476,13 @@
     		return this.toString( 16 ) ;
     	}
     
    +	toJSON ( ) {
    +		return this.hex( ) ;
    +	}
    +
     	digits ( base = DEFAULT_DISPLAY_BASE ) {
    +		// TODO Once #to is implemented we can rewrite this as
    +		// return this.to(LITTLE_ENDIAN, base, Array) ;
     		return convert( this.base , base , this.limbs , 0 , this.limbs.length ).reverse( ) ;
     	}
     
    @@ -372,11 +495,12 @@
     	}
     
     	divide_knowing_divisible_by ( other ) {
    +		// TODO optimize
     		return this.div( other ) ;
     	}
     
    -	cmp ( other ) {
     
    +	cmp ( other ) {
     		// TODO optimize with _trim_positive
     
     		if ( this.iszero( ) ) {
    @@ -391,34 +515,118 @@
     		const a = this.limbs ;
     		const b = other._limbs_in_base( this.base ) ;
     
    -		return _cmp( a , 0 , a.length , b , 0 , b.length ) ;
    +		return this.is_negative === 0 ?
    +			cmp( a , 0 , a.length , b , 0 , b.length ) :
    +			cmp( b , 0 , b.length , a , 0 , a.length ) ;
     
     	}
     
    +	cmpn ( number ) {
    +		return this.cmp(_from_number(number)) ;
    +	}
    +
     	eq ( other ) {
     		return this.cmp( other ) === 0 ;
     	}
     
    +	eqn ( number ) {
    +		return this.cmpn( number ) === 0 ;
    +	}
    +
     	ge ( other ) {
     		return this.cmp( other ) >= 0 ;
     	}
     
    +	gen ( number ) {
    +		return this.cmpn( number ) >= 0 ;
    +	}
    +
     	gt ( other ) {
     		return this.cmp( other ) > 0 ;
     	}
     
    +	gtn ( number ) {
    +		return this.cmpn( number ) > 0 ;
    +	}
    +
     	le ( other ) {
     		return this.cmp( other ) <= 0 ;
     	}
     
    +	len ( number ) {
    +		return this.cmpn( number ) <= 0 ;
    +	}
    +
     	lt ( other ) {
     		return this.cmp( other ) < 0 ;
     	}
     
    +	ltn ( number ) {
    +		return this.cmpn( number ) < 0 ;
    +	}
    +
     	ne ( other ) {
     		return this.cmp( other ) !== 0 ;
     	}
     
    +	nen ( number ) {
    +		return this.cmpn( number ) !== 0 ;
    +	}
    +
    +	gcd ( other ) {
    +		const r = this.base ;
    +		const a = this.limbs ;
    +		const b = other._limbs_in_base( r ) ;
    +		const [ d , di , dj ] = euclidean_algorithm( r , a , 0 , a.length , b , 0 , b.length ) ;
    +		const gcd = _alloc( dj - di ) ;
    +		_copy( d , di , dj , gcd , 0 ) ;
    +		return new Integer( r , 0 , gcd ) ;
    +	}
    +
    +	egcd ( other ) {
    +		const r = this.base ;
    +		const a = this.limbs ;
    +		const b = other._limbs_in_base( r ) ;
    +		const [ R0 , R0i , S0 , S0i , T0 , T0i , S1 , S1i , T1 , T1i , steps ] = extended_euclidean_algorithm( r , a , 0 , a.length , b , 0 , b.length ) ;
    +		const gcd = _alloc( R0.length - R0i ) ;
    +		_copy( R0 , R0i , R0.length , gcd , 0 ) ;
    +		const x = _alloc( S0.length - S0i ) ;
    +		_copy( S0 , S0i , S0.length , x , 0 ) ;
    +		const y = _alloc( T0.length - T0i ) ;
    +		_copy( T0 , T0i , T0.length , y , 0 ) ;
    +		const u = _alloc( S1.length - S1i ) ;
    +		_copy( S1 , S1i , S1.length , u , 0 ) ;
    +		const v = _alloc( T1.length - T1i ) ;
    +		_copy( T1 , T1i , T1.length , v , 0 ) ;
    +		return { // TODO use immutable zero
    +			gcd: new Integer(r, 0, gcd) ,
    +			x: x.length ? new Integer(r, this.is_negative ^ ((steps % 2)-1), x) : new Integer(r, 0, [0]) ,
    +			y: y.length ? new Integer(r, other.is_negative ^ (-(steps % 2)), y) : new Integer(r, 0, [0]) ,
    +			u: u.length ? new Integer(r, this.is_negative ^ (-(steps % 2)), u) : new Integer(r, 0, [0]) ,
    +			v: v.length ? new Integer(r, other.is_negative ^ ((steps % 2)-1), v) : new Integer(r, 0, [0]) ,
    +		} ;
    +	}
    +
    +	valueOf ( ) {
    +
    +		if (this.gtn(MAX_NUMBER)) throw new ValueError(`Cannot call valueOf on Integer larger than ${MAX_NUMBER}. Got ${this.toString()}`) ;
    +		if (this.ltn(MIN_NUMBER)) throw new ValueError(`Cannot call valueOf on Integer smaller than ${MIN_NUMBER}. Got ${this.toString()}`) ;
    +
    +		const limbs = convert( this.base , MAX_BASE , this.limbs , 0 , this.limbs.length ) ;
    +
    +		const sign = this.is_negative ? -1 : 1 ;
    +
    +		const value = limbs.length === 2 ?
    +			limbs[0] * MAX_BASE + limbs[1] :
    +			limbs[0] ;
    +
    +		return sign * value ;
    +	}
    +
    +	toNumber ( ) {
    +		return this.valueOf( ) ;
    +	}
    +
     }
     
    diff --git a/file/src/IntegerRing.js.html b/file/src/IntegerRing.js.html index 03e619b..e549d66 100644 --- a/file/src/IntegerRing.js.html +++ b/file/src/IntegerRing.js.html @@ -32,8 +32,10 @@
  • CInteger
  • CIntegerRing
  • CZeroDivisionError
  • +
  • F_from_number
  • F$0
  • F$1
  • +
  • F$_1
  • Fadd
  • Fdiv
  • Fiadd
  • @@ -51,6 +53,10 @@
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • +
  • VMAX_BASE
  • +
  • VMAX_NUMBER
  • +
  • VMIN_BASE
  • +
  • VMIN_NUMBER
  • @@ -60,6 +66,7 @@ import { DEFAULT_DISPLAY_BASE } from './' ; import { parse , convert } from '@aureooms/js-integer-big-endian' ; import { TypeError , ValueError } from '@aureooms/js-error' ; +import { _from_number } from './_from_number' ; export class IntegerRing { @@ -107,14 +114,11 @@ from_number ( number , is_negative = 0 ) { - if ( number < 0 ) { - is_negative = ~is_negative ; - number = -number ; - } + const dirty = _from_number(number) ; - const limbs = convert( 0x20000000000000 , this.base , [ number ] , 0 , 1 ) ; + const limbs = dirty._limbs_in_base(this.base) ; - return new Integer( this.base , is_negative , limbs ) ; + return new Integer( this.base , is_negative ^ dirty.is_negative , limbs ) ; } @@ -145,6 +149,7 @@ } $0 ( ) { + // TODO Could we use an empty array instead ? return new Integer( this.base , 0 , [ 0 ] ) ; } @@ -152,6 +157,23 @@ return new Integer( this.base , 0 , [ 1 ] ) ; } + $_1 ( ) { + return new Integer( this.base , -1 , [ 1 ] ) ; + } + + has ( x ) { + if ( x instanceof Integer ) return true ; + return Number.isInteger(x) ; + } + + min ( a , b ) { + return a.le(b) ? a : b ; + } + + max ( a , b ) { + return a.ge(b) ? a : b ; + } + } diff --git a/file/src/ZZ.js.html b/file/src/ZZ.js.html index 8c39548..e7d20d6 100644 --- a/file/src/ZZ.js.html +++ b/file/src/ZZ.js.html @@ -32,8 +32,10 @@
  • CInteger
  • CIntegerRing
  • CZeroDivisionError
  • +
  • F_from_number
  • F$0
  • F$1
  • +
  • F$_1
  • Fadd
  • Fdiv
  • Fiadd
  • @@ -51,6 +53,10 @@
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • +
  • VMAX_BASE
  • +
  • VMAX_NUMBER
  • +
  • VMIN_BASE
  • +
  • VMIN_NUMBER
  • diff --git a/file/src/ZeroDivisionError.js.html b/file/src/ZeroDivisionError.js.html index a3d9bdc..4d58c29 100644 --- a/file/src/ZeroDivisionError.js.html +++ b/file/src/ZeroDivisionError.js.html @@ -32,8 +32,10 @@
  • CInteger
  • CIntegerRing
  • CZeroDivisionError
  • +
  • F_from_number
  • F$0
  • F$1
  • +
  • F$_1
  • Fadd
  • Fdiv
  • Fiadd
  • @@ -51,6 +53,10 @@
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • +
  • VMAX_BASE
  • +
  • VMAX_NUMBER
  • +
  • VMIN_BASE
  • +
  • VMIN_NUMBER
  • diff --git a/file/src/_from_number.js.html b/file/src/_from_number.js.html new file mode 100644 index 0000000..8e3f5f4 --- /dev/null +++ b/file/src/_from_number.js.html @@ -0,0 +1,91 @@ + + + + + + src/_from_number.js | @aureooms/js-integer + + + + + + + +
    + Home + Manual + Reference + Source + + +
    + + + +

    src/_from_number.js

    +
    import { Integer } from './Integer' ;
    +import { MAX_BASE } from './_limits' ;
    +
    +export function _from_number ( number ) {
    +	const x = number >= 0 ? number : -number ;
    +	const is_negative = number >= 0 ? 0 : -1 ;
    +	return x < MAX_BASE ?
    +		new Integer( MAX_BASE , is_negative , [ x ] ) :
    +		new Integer( MAX_BASE , is_negative , [ x / MAX_BASE | 0 , x % MAX_BASE ] ) ;
    +}
    +
    + +
    + + + + + + + + + + + + diff --git a/file/src/_limits.js.html b/file/src/_limits.js.html new file mode 100644 index 0000000..27e45a6 --- /dev/null +++ b/file/src/_limits.js.html @@ -0,0 +1,86 @@ + + + + + + src/_limits.js | @aureooms/js-integer + + + + + + + +
    + Home + Manual + Reference + Source + + +
    + + + +

    src/_limits.js

    +
    // The range of valid numbers is -2^53 to 2^53 - 1
    +export const MAX_NUMBER = Math.pow(2,53) - 1 ;
    +export const MIN_NUMBER = -Math.pow(2,53) ;
    +export const MIN_BASE = 2 ;
    +export const MAX_BASE = Math.ceil(Math.sqrt(Math.pow(2,53))) ;
    +
    + +
    + + + + + + + + + + + + diff --git a/file/src/index.js.html b/file/src/index.js.html index 5957478..cfb5771 100644 --- a/file/src/index.js.html +++ b/file/src/index.js.html @@ -32,8 +32,10 @@
  • CInteger
  • CIntegerRing
  • CZeroDivisionError
  • +
  • F_from_number
  • F$0
  • F$1
  • +
  • F$_1
  • Fadd
  • Fdiv
  • Fiadd
  • @@ -51,6 +53,10 @@
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • +
  • VMAX_BASE
  • +
  • VMAX_NUMBER
  • +
  • VMIN_BASE
  • +
  • VMIN_NUMBER
  • @@ -63,6 +69,7 @@ export * from './ZZ' ; export * from './ZeroDivisionError' ; export * from './integer' ; +export * from './_limits' ;
    diff --git a/file/src/integer.js.html b/file/src/integer.js.html index 4074807..7478ce4 100644 --- a/file/src/integer.js.html +++ b/file/src/integer.js.html @@ -32,8 +32,10 @@
  • CInteger
  • CIntegerRing
  • CZeroDivisionError
  • +
  • F_from_number
  • F$0
  • F$1
  • +
  • F$_1
  • Fadd
  • Fdiv
  • Fiadd
  • @@ -51,6 +53,10 @@
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • +
  • VMAX_BASE
  • +
  • VMAX_NUMBER
  • +
  • VMIN_BASE
  • +
  • VMIN_NUMBER
  • @@ -66,6 +72,10 @@ return ZZ.$1() ; } +export function $_1 ( ) { + return ZZ.$_1() ; +} + export function parse ( object , base = undefined , is_negative = 0 ) { return ZZ.from( object , base , is_negative ) ; } diff --git a/function/index.html b/function/index.html index 0cd2946..2d60089 100644 --- a/function/index.html +++ b/function/index.html @@ -32,8 +32,10 @@
  • CInteger
  • CIntegerRing
  • CZeroDivisionError
  • +
  • F_from_number
  • F$0
  • F$1
  • +
  • F$_1
  • Fadd
  • Fdiv
  • Fiadd
  • @@ -51,6 +53,10 @@
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • +
  • VMAX_BASE
  • +
  • VMAX_NUMBER
  • +
  • VMIN_BASE
  • +
  • VMIN_NUMBER
  • @@ -122,6 +128,34 @@ + + + +
    +

    + + + + $_1(): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -506,6 +540,40 @@ + + + + + + + + + + + + @@ -622,6 +690,61 @@

    Return:

    + +
    +

    + public + + + + + + $_1(): * + + + + source + +

    + + + + + + + + +
    +
    + +
    +

    Return:

    +
    Static Private Summary
    + private + + + + + +
    +

    + + + + _from_number(number: *): * +

    +
    +
    + + + +
    +
    + +
    + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + +

    @@ -635,11 +758,11 @@

    - source + source

    - + @@ -712,11 +835,11 @@

    - source + source

    - + @@ -789,11 +912,11 @@

    - source + source

    - + @@ -866,11 +989,11 @@

    - source + source

    - + @@ -943,11 +1066,11 @@

    - source + source

    - + @@ -1020,11 +1143,11 @@

    - source + source

    - + @@ -1097,11 +1220,11 @@

    - source + source

    - + @@ -1174,11 +1297,11 @@

    - source + source

    - + @@ -1251,11 +1374,11 @@

    - source + source

    - + @@ -1328,11 +1451,11 @@

    - source + source

    - + @@ -1405,11 +1528,11 @@

    - source + source

    - + @@ -1490,11 +1613,11 @@

    - source + source

    - + @@ -1567,11 +1690,11 @@

    - source + source

    -
    import {stringify} from '@aureooms/js-integer/src/integer.js'
    +
    import {stringify} from '@aureooms/js-integer/src/integer.js'
    @@ -1645,11 +1768,11 @@

    - source + source

    - + @@ -1709,6 +1832,79 @@

    Return:

    +
    +

    Static Private

    + +
    +

    + private + + + + + + _from_number(number: *): * + + + + source + +

    + +
    import {_from_number} from '@aureooms/js-integer/src/_from_number.js'
    + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    number*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + +

    diff --git a/identifiers.html b/identifiers.html index abdc212..df8e6f2 100644 --- a/identifiers.html +++ b/identifiers.html @@ -32,8 +32,10 @@
  • CInteger
  • CIntegerRing
  • CZeroDivisionError
  • +
  • F_from_number
  • F$0
  • F$1
  • +
  • F$_1
  • Fadd
  • Fdiv
  • Fiadd
  • @@ -51,6 +53,10 @@
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • +
  • VMAX_BASE
  • +
  • VMAX_NUMBER
  • +
  • VMIN_BASE
  • +
  • VMIN_NUMBER
  • @@ -148,6 +154,34 @@ + + + + + private + + + + + + +
    +

    + F + + + _from_number(number: *): * +

    +
    +
    + + + +
    + + + + @@ -212,6 +246,34 @@ + + + +
    +

    + F + + + $_1(): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -680,6 +742,118 @@ + + + + + public + + + + + + +
    +

    + V + + + MAX_BASE: * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + V + + + MAX_NUMBER: * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + V + + + MIN_BASE: number +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + V + + + MIN_NUMBER: * +

    +
    +
    + + + +
    + + + + diff --git a/index.html b/index.html index d7476d1..b27affe 100644 --- a/index.html +++ b/index.html @@ -32,8 +32,10 @@
  • CInteger
  • CIntegerRing
  • CZeroDivisionError
  • +
  • F_from_number
  • F$0
  • F$1
  • +
  • F$_1
  • Fadd
  • Fdiv
  • Fiadd
  • @@ -51,6 +53,10 @@
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • +
  • VMAX_BASE
  • +
  • VMAX_NUMBER
  • +
  • VMIN_BASE
  • +
  • VMIN_NUMBER
  • diff --git a/index.json b/index.json index fc1b619..646f4fc 100644 --- a/index.json +++ b/index.json @@ -629,7 +629,7 @@ "__docId__": 52, "kind": "file", "name": "src/Integer.js", - "content": "import { DEFAULT_DISPLAY_BASE , ZeroDivisionError } from './' ;\n\nimport {\n\tstringify , convert , _trim_positive ,\n\t_alloc , _copy , _zeros ,\n\t_jz , _cmp , _eq ,\n\tadd , _sub , mul , _idivmod , _powd ,\n\t_increment ,\n} from '@aureooms/js-integer-big-endian' ;\n\nexport class Integer {\n\n\tconstructor ( base , is_negative , limbs ) {\n\t\tthis.base = base ;\n\t\tthis.is_negative = is_negative ;\n\t\tthis.limbs = limbs ;\n\t}\n\n\tmove ( other ) {\n\t\tother.base = this.base ;\n\t\tother.is_negative = this.is_negative ;\n\t\tother.limbs = this.limbs ;\n\t\treturn other ;\n\t}\n\n\tcopy ( ) {\n\t\treturn new Integer( this.base , this.is_negative , this.limbs ) ;\n\t}\n\n\t_limbs_in_base ( base ) {\n\t\tif ( this.base === base ) return this.limbs ;\n\t\telse return convert( this.base , base , this.limbs , 0 , this.limbs.length ) ;\n\t}\n\n\ttoString ( base = DEFAULT_DISPLAY_BASE ) {\n\n\t\tif ( this.iszero( ) ) return '0' ;\n\n\t\tconst digits = stringify( this.base , base , this.limbs , 0 , this.limbs.length ) ;\n\n\t\treturn this.is_negative ? '-' + digits : digits ;\n\n\t}\n\n\tadd ( other ) {\n\n\t\tif ( this.is_negative !== other.is_negative ) {\n\n\t\t\tif ( other.is_negative ) return this.sub( other.opposite() ) ;\n\n\t\t\telse return other.sub( this.opposite() ) ;\n\n\t\t}\n\n\t\telse {\n\n\t\t\tconst result_is_negative = this.is_negative ;\n\t\t\tconst r = this.base ;\n\n\t\t\tconst a = this.limbs ;\n\n\t\t\tconst b = other._limbs_in_base( r ) ;\n\n\t\t\tconst c = _zeros( Math.max( a.length , b.length ) + 1 ) ;\n\n\t\t\tadd( r , a , 0 , a.length , b , 0 , b.length , c , 0 , c.length ) ;\n\n\t\t\treturn new Integer( r , result_is_negative , c ) ;\n\n\t\t}\n\n\t}\n\n\tiadd ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.add(other).move(this);\n\t}\n\n\tsub ( other ) {\n\n\t\tif ( this.is_negative !== other.is_negative ) {\n\n\t\t\tif ( other.is_negative ) return this.add( other.opposite() ) ;\n\n\t\t\telse return this.opposite().add( other ).opposite() ;\n\n\t\t}\n\n\t\telse {\n\n\t\t\t// /!\\ _sub needs |c| >= |a| >= |b|\n\n\t\t\tconst r = this.base ;\n\t\t\tconst a = this.limbs ;\n\t\t\tconst aj = a.length ;\n\t\t\tconst ai = _trim_positive( a , 0 , aj ) ;\n\n\t\t\tif ( ai >= aj ) return other.opposite() ;\n\n\t\t\tconst b = other._limbs_in_base( r ) ;\n\t\t\tconst bj = b.length ;\n\t\t\tconst bi = _trim_positive( b , 0 , bj ) ;\n\n\t\t\tif ( bi >= bj ) return this.copy() ;\n\n\t\t\tif ( _cmp( a , ai , aj , b , bi , bj ) < 0 ) {\n\n\t\t\t\tconst c = _zeros( bj - bi ) ;\n\n\t\t\t\t_sub( r , b , bi , bj , a , ai , aj , c , 0 , c.length ) ;\n\n\t\t\t\treturn new Integer( r , ~this.is_negative , c ) ;\n\t\t\t}\n\n\t\t\telse {\n\n\t\t\t\tconst c = _zeros( aj - ai ) ;\n\n\t\t\t\t_sub( r , a , ai , aj , b , bi , bj , c , 0 , c.length ) ;\n\n\t\t\t\treturn new Integer( r , this.is_negative , c ) ;\n\n\t\t\t}\n\n\t\t}\n\n\t}\n\n\tisub ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.sub(other).move(this);\n\t}\n\n\tmul ( other ) {\n\n\t\tconst result_is_negative = this.is_negative ^ other.is_negative ;\n\t\tconst r = this.base ;\n\n\t\tconst a = this.limbs ;\n\n\t\tconst b = other._limbs_in_base( r ) ;\n\n\t\tconst c = _zeros( a.length + b.length ) ;\n\n\t\tmul( r , a , 0 , a.length , b , 0 , b.length , c , 0 , c.length ) ;\n\n\t\treturn new Integer( r , result_is_negative , c ) ;\n\n\t}\n\n\timul ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.mul(other).move(this);\n\t}\n\n\t/**\n\t * Computes this raised to the xth power.\n\t * x is a double smaller or equal to 2^53.\n\t *\n\t * @param {Number} x The power to raise this to.\n\t * @return {Integer} this ^ x\n\t */\n\tpow ( x ) {\n\n\t\tconst is_negative = this.is_negative & x & 1 ? -1 : 0 ;\n\n\t\tconst a = this.limbs ;\n\t\tconst c = _zeros( Math.max( 1 , a.length * x ) ) ;\n\n\t\t_powd( this.base , x , a , 0 , a.length , c , 0 , c.length ) ;\n\n\t\treturn new Integer( this.base , is_negative , c ) ;\n\n\t}\n\n\tipow ( x ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.pow(x).move(this);\n\t}\n\n\tsquare ( ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.pow(2);\n\t}\n\n\tisquare ( ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.ipow(2);\n\t}\n\n\tdiv ( other ) {\n\t\treturn this.divmod( other )[0] ;\n\t}\n\n\tidiv ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.div(other).move(this);\n\t}\n\n\tmod ( other ) {\n\t\treturn this.divmod( other )[1] ;\n\t}\n\n\timod ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.mod(other).move(this);\n\t}\n\n\tdivmod ( other ) {\n\n\t\tif ( other.iszero() ) throw new ZeroDivisionError( 'Integer division by zero' ) ; // optimize\n\n\t\tconst quotient_is_negative = this.is_negative ^ other.is_negative ;\n\t\tconst r = this.base ;\n\n\t\t// The underlying algorithm does not allow leading 0's so we trim them.\n\t\tconst lj = this.limbs.length ;\n\t\tconst li = _trim_positive( this.limbs , 0 , lj ) ;\n\n\t\t// Dividend is 0\n\t\tif ( li >= lj ) return [ new Integer( this.base , 0 , [ 0 ] ) , new Integer( this.base , 0 , [ 0 ] ) ] ;\n\n\t\t// Dividend (& Remainder)\n\t\tconst D = _alloc( lj - li ) ;\n\t\t_copy( this.limbs , li , lj , D , 0 ) ;\n\n\t\t// Divisor\n\t\tconst d = other._limbs_in_base( r ) ;\n\t\tconst dj = d.length ;\n\t\tconst di = _trim_positive( d , 0 , dj ) ; // di < dj because d != 0\n\n\t\t// Quotient\n\t\tconst q = _zeros( D.length ) ;\n\n\t\t_idivmod( r , D , 0 , D.length , d , di , dj , q , 0 , q.length ) ;\n\n\t\tconst Q = new Integer( r , quotient_is_negative , q ) ; // quotient\n\t\tconst R = new Integer( r , 0 , D ) ; // remainder\n\n\t\tif ( (this.is_negative || other.is_negative ) && !_jz( D , 0 , D.length ) ) {\n\n\t\t\tif ( other.is_negative ) {\n\n\t\t\t\tif ( !this.is_negative ) {\n\t\t\t\t\t_increment( r , q , 0 , q.length ) ;\n\t\t\t\t\tR.iadd( other ) ; // TODO optimize\n\t\t\t\t}\n\n\t\t\t\telse {\n\t\t\t\t\tR.negate(); // TODO optimize\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\telse {\n\t\t\t\t_increment( r , q , 0 , q.length ) ;\n\t\t\t\tR.negate().iadd( other ) ; // TODO optimize\n\t\t\t}\n\n\t\t}\n\n\t\treturn [ Q , R ] ;\n\n\t}\n\n\topposite ( ) {\n\t\treturn new Integer( this.base , ~this.is_negative , this.limbs ) ;\n\t}\n\n\tnegate ( ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.opposite().move(this);\n\t}\n\n\tsign ( ) {\n\t\treturn this.iszero() ? 0 : this.is_negative ? -1 : 1 ;\n\t}\n\n\tiszero ( ) {\n\t\treturn _jz( this.limbs , 0 , this.limbs.length ) ;\n\t}\n\n\tisone ( ) {\n\t\tif ( this.is_negative ) return false ;\n\t\treturn _eq( this.limbs , 0 , this.limbs.length , [ 1 ] , 0 , 1 ) ;\n\t}\n\n\tnonzero ( ) {\n\t\treturn !this.iszero();\n\t}\n\n\tbin ( ) {\n\t\treturn this.toString( 2 ) ;\n\t}\n\n\toct ( ) {\n\t\treturn this.toString( 8 ) ;\n\t}\n\n\thex ( ) {\n\t\treturn this.toString( 16 ) ;\n\t}\n\n\tdigits ( base = DEFAULT_DISPLAY_BASE ) {\n\t\treturn convert( this.base , base , this.limbs , 0 , this.limbs.length ).reverse( ) ;\n\t}\n\n\tbits ( ) {\n\t\treturn this.digits( 2 ) ;\n\t}\n\n\tdivides ( other ) {\n\t\treturn other.mod( this ).iszero( ) ;\n\t}\n\n\tdivide_knowing_divisible_by ( other ) {\n\t\treturn this.div( other ) ;\n\t}\n\n\tcmp ( other ) {\n\n\t\t// TODO optimize with _trim_positive\n\n\t\tif ( this.iszero( ) ) {\n\t\t\tif ( other.iszero( ) ) return 0 ;\n\t\t\telse if ( other.is_negative ) return 1 ;\n\t\t\telse return -1 ;\n\t\t}\n\n\t\tif ( this.is_negative < other.is_negative ) return -1 ;\n\t\tif ( this.is_negative > other.is_negative ) return 1 ;\n\n\t\tconst a = this.limbs ;\n\t\tconst b = other._limbs_in_base( this.base ) ;\n\n\t\treturn _cmp( a , 0 , a.length , b , 0 , b.length ) ;\n\n\t}\n\n\teq ( other ) {\n\t\treturn this.cmp( other ) === 0 ;\n\t}\n\n\tge ( other ) {\n\t\treturn this.cmp( other ) >= 0 ;\n\t}\n\n\tgt ( other ) {\n\t\treturn this.cmp( other ) > 0 ;\n\t}\n\n\tle ( other ) {\n\t\treturn this.cmp( other ) <= 0 ;\n\t}\n\n\tlt ( other ) {\n\t\treturn this.cmp( other ) < 0 ;\n\t}\n\n\tne ( other ) {\n\t\treturn this.cmp( other ) !== 0 ;\n\t}\n\n}\n", + "content": "import { DEFAULT_DISPLAY_BASE , ZeroDivisionError } from './' ;\n\nimport { ValueError } from '@aureooms/js-error' ;\n\nimport { _from_number } from './_from_number' ;\n\nimport {\n\tstringify , convert , _trim_positive ,\n\t_alloc , _copy , _zeros ,\n\tjz , cmp , eq ,\n\tadd , _sub , mul , _idivmod , _pow_double ,\n\tincrement ,\n\teuclidean_algorithm , extended_euclidean_algorithm ,\n} from '@aureooms/js-integer-big-endian' ;\n\nimport { MIN_NUMBER , MAX_NUMBER , MAX_BASE } from './_limits' ;\n\nexport class Integer {\n\n\tconstructor ( base , is_negative , limbs ) {\n\t\tthis.base = base ;\n\t\tthis.is_negative = is_negative ;\n\t\tthis.limbs = limbs ;\n\t}\n\n\tmove ( other ) {\n\t\tother.base = this.base ;\n\t\tother.is_negative = this.is_negative ;\n\t\tother.limbs = this.limbs ;\n\t\treturn other ;\n\t}\n\n\tclone ( ) {\n\t\treturn new Integer( this.base , this.is_negative , this.limbs ) ;\n\t}\n\n\t_limbs_in_base ( base ) {\n\t\t// TODO save result for later ? Maybe replace base ?\n\t\tif ( this.base === base ) return this.limbs ;\n\t\telse return convert( this.base , base , this.limbs , 0 , this.limbs.length ) ;\n\t}\n\n\ttoString ( base = DEFAULT_DISPLAY_BASE ) {\n\n\t\tif ( this.iszero( ) ) return '0' ;\n\n\t\tconst digits = stringify( this.base , base , this.limbs , 0 , this.limbs.length ) ;\n\n\t\treturn this.is_negative ? '-' + digits : digits ;\n\n\t}\n\n\tadd ( other ) {\n\n\t\tif ( this.is_negative !== other.is_negative ) {\n\n\t\t\tif ( other.is_negative ) return this.sub( other.opposite() ) ;\n\n\t\t\telse return other.sub( this.opposite() ) ;\n\n\t\t}\n\n\t\telse {\n\n\t\t\tconst result_is_negative = this.is_negative ;\n\t\t\tconst r = this.base ;\n\n\t\t\tconst a = this.limbs ;\n\n\t\t\tconst b = other._limbs_in_base( r ) ;\n\n\t\t\tconst c = _zeros( Math.max( a.length , b.length ) + 1 ) ;\n\n\t\t\tadd( r , a , 0 , a.length , b , 0 , b.length , c , 0 , c.length ) ;\n\n\t\t\treturn new Integer( r , result_is_negative , c ) ;\n\n\t\t}\n\n\t}\n\n\tiadd ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.add(other).move(this);\n\t}\n\n\taddn ( number ) {\n\t\t// TODO optimize\n\t\treturn this.add(_from_number(number)) ;\n\t}\n\n\tiaddn ( number ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.addn(number).move(this);\n\t}\n\n\tsub ( other ) {\n\n\t\tif ( this.is_negative !== other.is_negative ) {\n\n\t\t\tif ( other.is_negative ) return this.add( other.opposite() ) ;\n\n\t\t\telse return this.opposite().add( other ).opposite() ;\n\n\t\t}\n\n\t\telse {\n\n\t\t\t// /!\\ _sub needs |c| >= |a| >= |b|\n\n\t\t\tconst r = this.base ;\n\t\t\tconst a = this.limbs ;\n\t\t\tconst aj = a.length ;\n\t\t\tconst ai = _trim_positive( a , 0 , aj ) ;\n\n\t\t\tif ( ai >= aj ) return other.opposite() ;\n\n\t\t\tconst b = other._limbs_in_base( r ) ;\n\t\t\tconst bj = b.length ;\n\t\t\tconst bi = _trim_positive( b , 0 , bj ) ;\n\n\t\t\tif ( bi >= bj ) return this.clone() ;\n\n\t\t\tif ( cmp( a , ai , aj , b , bi , bj ) < 0 ) {\n\n\t\t\t\tconst c = _zeros( bj - bi ) ;\n\n\t\t\t\t_sub( r , b , bi , bj , a , ai , aj , c , 0 , c.length ) ;\n\n\t\t\t\treturn new Integer( r , ~this.is_negative , c ) ;\n\t\t\t}\n\n\t\t\telse {\n\n\t\t\t\tconst c = _zeros( aj - ai ) ;\n\n\t\t\t\t_sub( r , a , ai , aj , b , bi , bj , c , 0 , c.length ) ;\n\n\t\t\t\treturn new Integer( r , this.is_negative , c ) ;\n\n\t\t\t}\n\n\t\t}\n\n\t}\n\n\tisub ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.sub(other).move(this);\n\t}\n\n\tsubn ( number ) {\n\t\treturn this.sub(_from_number(number));\n\t}\n\n\tisubn ( number ) {\n\t\treturn this.subn(number).move(this);\n\t}\n\n\tmul ( other ) {\n\n\t\tconst result_is_negative = this.is_negative ^ other.is_negative ;\n\t\tconst r = this.base ;\n\n\t\tconst a = this.limbs ;\n\n\t\tconst b = other._limbs_in_base( r ) ;\n\n\t\tconst c = _zeros( a.length + b.length ) ;\n\n\t\tmul( r , a , 0 , a.length , b , 0 , b.length , c , 0 , c.length ) ;\n\n\t\treturn new Integer( r , result_is_negative , c ) ;\n\n\t}\n\n\timul ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.mul(other).move(this);\n\t}\n\n\tmuln ( number ) {\n\t\treturn this.mul(_from_number(number));\n\t}\n\n\timuln ( number ) {\n\t\treturn this.muln(number).move(this);\n\t}\n\n\t/**\n\t * Computes this raised to the xth power.\n\t * x is a double smaller or equal to 2^53.\n\t *\n\t * @param {Number} x The power to raise this to.\n\t * @return {Integer} this ^ x\n\t */\n\tpown ( x ) {\n\n\t\tconst is_negative = this.is_negative & x & 1 ? -1 : 0 ;\n\n\t\tconst a = this.limbs ;\n\t\tconst c = _zeros( Math.max( 1 , a.length * x ) ) ;\n\n\t\t_pow_double( this.base , x , a , 0 , a.length , c , 0 , c.length ) ;\n\n\t\treturn new Integer( this.base , is_negative , c ) ;\n\n\t}\n\n\tpow ( other ) {\n\t\treturn this.pown( other.valueOf() ) ;\n\t}\n\n\tipow ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.pow(other).move(this);\n\t}\n\n\tipown ( number ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.pown(other).move(this);\n\t}\n\n\tsquare ( ) {\n\t\t// TODO optimize but be careful with side effects\n\t\t// TODO use this.mul(this) instead?\n\t\treturn this.pow(2);\n\t}\n\n\tisquare ( ) {\n\t\t// TODO optimize but be careful with side effects\n\t\t// TODO use this.imul(this) instead?\n\t\treturn this.ipow(2);\n\t}\n\n\tdiv ( other ) {\n\t\treturn this.divmod( other )[0] ;\n\t}\n\n\tdivn ( number ) {\n\t\treturn this.div(_from_number(number)) ;\n\t}\n\n\tidiv ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.div(other).move(this);\n\t}\n\n\tidivn ( number ) {\n\t\treturn this.divn(number).move(this);\n\t}\n\n\tmod ( other ) {\n\t\treturn this.divmod( other )[1] ;\n\t}\n\n\tmodn ( number ) {\n\t\treturn this.mod(_from_number(number)) ;\n\t}\n\n\timod ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.mod(other).move(this);\n\t}\n\n\timodn ( number ) {\n\t\treturn this.modn(number).move(this);\n\t}\n\n\tdivround ( other ) {\n\t\tconst [ q , r ] = this.divmod(other) ;\n\t\tif ( r >= ( this.base / 2 | 0 ) ) increment( r , q.limbs , 0 , q.limbs.length ) ;\n\t\treturn q ;\n\t}\n\n\tdivmod ( other ) {\n\n\t\tif ( other.iszero() ) throw new ZeroDivisionError( 'Integer division by zero' ) ; // optimize\n\n\t\tconst quotient_is_negative = this.is_negative ^ other.is_negative ;\n\t\tconst r = this.base ;\n\n\t\t// The underlying algorithm does not allow leading 0's so we trim them.\n\t\tconst lj = this.limbs.length ;\n\t\tconst li = _trim_positive( this.limbs , 0 , lj ) ;\n\n\t\t// Dividend is 0\n\t\tif ( li >= lj ) return [ new Integer( this.base , 0 , [ 0 ] ) , new Integer( this.base , 0 , [ 0 ] ) ] ;\n\n\t\t// Dividend (& Remainder)\n\t\tconst D = _alloc( lj - li ) ;\n\t\t_copy( this.limbs , li , lj , D , 0 ) ;\n\n\t\t// Divisor\n\t\tconst d = other._limbs_in_base( r ) ;\n\t\tconst dj = d.length ;\n\t\tconst di = _trim_positive( d , 0 , dj ) ; // di < dj because d != 0\n\n\t\t// Quotient\n\t\tconst q = _zeros( D.length ) ;\n\n\t\t_idivmod( r , D , 0 , D.length , d , di , dj , q , 0 , q.length ) ;\n\n\t\tconst Q = new Integer( r , quotient_is_negative , q ) ; // quotient\n\t\tconst R = new Integer( r , 0 , D ) ; // remainder\n\n\t\tif ( (this.is_negative || other.is_negative ) && !jz( D , 0 , D.length ) ) {\n\n\t\t\tif ( other.is_negative ) {\n\n\t\t\t\tif ( !this.is_negative ) {\n\t\t\t\t\tincrement( r , q , 0 , q.length ) ;\n\t\t\t\t\tR.iadd( other ) ; // TODO optimize\n\t\t\t\t}\n\n\t\t\t\telse {\n\t\t\t\t\tR.negate(); // TODO optimize\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\telse {\n\t\t\t\tincrement( r , q , 0 , q.length ) ;\n\t\t\t\tR.negate().iadd( other ) ; // TODO optimize\n\t\t\t}\n\n\t\t}\n\n\t\treturn [ Q , R ] ;\n\n\t}\n\n\tidivmod ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\tconst [ q , r ] = this.divmod(other) ;\n\t\treturn [ q.move(this) , r ] ;\n\t}\n\n\topposite ( ) {\n\t\treturn new Integer( this.base , ~this.is_negative , this.limbs ) ;\n\t}\n\n\tnegate ( ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.opposite().move(this);\n\t}\n\n\tabs ( ) {\n\t\treturn this.sign() >= 0 ? this : this.opposite(this) ;\n\t}\n\n\tiabs ( ) {\n\t\treturn this.sign() >= 0 ? this : this.negate(this) ;\n\t}\n\n\tsign ( ) {\n\t\treturn this.iszero() ? 0 : this.is_negative ? -1 : 1 ;\n\t}\n\n\tiszero ( ) {\n\t\treturn jz( this.limbs , 0 , this.limbs.length ) ;\n\t}\n\n\tisone ( ) {\n\t\tif ( this.is_negative ) return false ;\n\t\treturn eq( this.limbs , 0 , this.limbs.length , [ 1 ] , 0 , 1 ) ;\n\t}\n\n\tisnonzero ( ) {\n\t\treturn !this.iszero();\n\t}\n\n\tisnegative ( ) {\n\t\treturn this.is_negative ;\n\t}\n\n\tispositive ( ) {\n\t\treturn this.sign() > 0 ;\n\t}\n\n\tisnonnegative ( ) {\n\t\treturn !this.negative();\n\t}\n\n\tisnonpositive ( ) {\n\t\treturn !this.positive() ;\n\t}\n\n\tparity ( ) {\n\t\t// TODO optimize this, there is a much faster way to test for parity\n\t\t// when the base is a multiple of two\n\t\treturn this.modn(2) ;\n\t}\n\n\tiseven ( ) {\n\t\treturn this.parity().iszero() ;\n\t}\n\n\tisodd ( ) {\n\t\treturn !this.iseven() ;\n\t}\n\n\tbin ( ) {\n\t\treturn this.toString( 2 ) ;\n\t}\n\n\toct ( ) {\n\t\treturn this.toString( 8 ) ;\n\t}\n\n\thex ( ) {\n\t\treturn this.toString( 16 ) ;\n\t}\n\n\ttoJSON ( ) {\n\t\treturn this.hex( ) ;\n\t}\n\n\tdigits ( base = DEFAULT_DISPLAY_BASE ) {\n\t\t// TODO Once #to is implemented we can rewrite this as\n\t\t// return this.to(LITTLE_ENDIAN, base, Array) ;\n\t\treturn convert( this.base , base , this.limbs , 0 , this.limbs.length ).reverse( ) ;\n\t}\n\n\tbits ( ) {\n\t\treturn this.digits( 2 ) ;\n\t}\n\n\tdivides ( other ) {\n\t\treturn other.mod( this ).iszero( ) ;\n\t}\n\n\tdivide_knowing_divisible_by ( other ) {\n\t\t// TODO optimize\n\t\treturn this.div( other ) ;\n\t}\n\n\n\tcmp ( other ) {\n\t\t// TODO optimize with _trim_positive\n\n\t\tif ( this.iszero( ) ) {\n\t\t\tif ( other.iszero( ) ) return 0 ;\n\t\t\telse if ( other.is_negative ) return 1 ;\n\t\t\telse return -1 ;\n\t\t}\n\n\t\tif ( this.is_negative < other.is_negative ) return -1 ;\n\t\tif ( this.is_negative > other.is_negative ) return 1 ;\n\n\t\tconst a = this.limbs ;\n\t\tconst b = other._limbs_in_base( this.base ) ;\n\n\t\treturn this.is_negative === 0 ?\n\t\t\tcmp( a , 0 , a.length , b , 0 , b.length ) :\n\t\t\tcmp( b , 0 , b.length , a , 0 , a.length ) ;\n\n\t}\n\n\tcmpn ( number ) {\n\t\treturn this.cmp(_from_number(number)) ;\n\t}\n\n\teq ( other ) {\n\t\treturn this.cmp( other ) === 0 ;\n\t}\n\n\teqn ( number ) {\n\t\treturn this.cmpn( number ) === 0 ;\n\t}\n\n\tge ( other ) {\n\t\treturn this.cmp( other ) >= 0 ;\n\t}\n\n\tgen ( number ) {\n\t\treturn this.cmpn( number ) >= 0 ;\n\t}\n\n\tgt ( other ) {\n\t\treturn this.cmp( other ) > 0 ;\n\t}\n\n\tgtn ( number ) {\n\t\treturn this.cmpn( number ) > 0 ;\n\t}\n\n\tle ( other ) {\n\t\treturn this.cmp( other ) <= 0 ;\n\t}\n\n\tlen ( number ) {\n\t\treturn this.cmpn( number ) <= 0 ;\n\t}\n\n\tlt ( other ) {\n\t\treturn this.cmp( other ) < 0 ;\n\t}\n\n\tltn ( number ) {\n\t\treturn this.cmpn( number ) < 0 ;\n\t}\n\n\tne ( other ) {\n\t\treturn this.cmp( other ) !== 0 ;\n\t}\n\n\tnen ( number ) {\n\t\treturn this.cmpn( number ) !== 0 ;\n\t}\n\n\tgcd ( other ) {\n\t\tconst r = this.base ;\n\t\tconst a = this.limbs ;\n\t\tconst b = other._limbs_in_base( r ) ;\n\t\tconst [ d , di , dj ] = euclidean_algorithm( r , a , 0 , a.length , b , 0 , b.length ) ;\n\t\tconst gcd = _alloc( dj - di ) ;\n\t\t_copy( d , di , dj , gcd , 0 ) ;\n\t\treturn new Integer( r , 0 , gcd ) ;\n\t}\n\n\tegcd ( other ) {\n\t\tconst r = this.base ;\n\t\tconst a = this.limbs ;\n\t\tconst b = other._limbs_in_base( r ) ;\n\t\tconst [ R0 , R0i , S0 , S0i , T0 , T0i , S1 , S1i , T1 , T1i , steps ] = extended_euclidean_algorithm( r , a , 0 , a.length , b , 0 , b.length ) ;\n\t\tconst gcd = _alloc( R0.length - R0i ) ;\n\t\t_copy( R0 , R0i , R0.length , gcd , 0 ) ;\n\t\tconst x = _alloc( S0.length - S0i ) ;\n\t\t_copy( S0 , S0i , S0.length , x , 0 ) ;\n\t\tconst y = _alloc( T0.length - T0i ) ;\n\t\t_copy( T0 , T0i , T0.length , y , 0 ) ;\n\t\tconst u = _alloc( S1.length - S1i ) ;\n\t\t_copy( S1 , S1i , S1.length , u , 0 ) ;\n\t\tconst v = _alloc( T1.length - T1i ) ;\n\t\t_copy( T1 , T1i , T1.length , v , 0 ) ;\n\t\treturn { // TODO use immutable zero\n\t\t\tgcd: new Integer(r, 0, gcd) ,\n\t\t\tx: x.length ? new Integer(r, this.is_negative ^ ((steps % 2)-1), x) : new Integer(r, 0, [0]) ,\n\t\t\ty: y.length ? new Integer(r, other.is_negative ^ (-(steps % 2)), y) : new Integer(r, 0, [0]) ,\n\t\t\tu: u.length ? new Integer(r, this.is_negative ^ (-(steps % 2)), u) : new Integer(r, 0, [0]) ,\n\t\t\tv: v.length ? new Integer(r, other.is_negative ^ ((steps % 2)-1), v) : new Integer(r, 0, [0]) ,\n\t\t} ;\n\t}\n\n\tvalueOf ( ) {\n\n\t\tif (this.gtn(MAX_NUMBER)) throw new ValueError(`Cannot call valueOf on Integer larger than ${MAX_NUMBER}. Got ${this.toString()}`) ;\n\t\tif (this.ltn(MIN_NUMBER)) throw new ValueError(`Cannot call valueOf on Integer smaller than ${MIN_NUMBER}. Got ${this.toString()}`) ;\n\n\t\tconst limbs = convert( this.base , MAX_BASE , this.limbs , 0 , this.limbs.length ) ;\n\n\t\tconst sign = this.is_negative ? -1 : 1 ;\n\n\t\tconst value = limbs.length === 2 ?\n\t\t\tlimbs[0] * MAX_BASE + limbs[1] :\n\t\t\tlimbs[0] ;\n\n\t\treturn sign * value ;\n\t}\n\n\ttoNumber ( ) {\n\t\treturn this.valueOf( ) ;\n\t}\n\n}\n", "static": true, "longname": "/home/aureooms/dev/js/js-integer/src/Integer.js", "access": "public", @@ -648,7 +648,7 @@ "importPath": "@aureooms/js-integer/src/Integer.js", "importStyle": "{Integer}", "description": null, - "lineNumber": 11, + "lineNumber": 18, "undocument": true, "interface": false }, @@ -663,7 +663,7 @@ "longname": "src/Integer.js~Integer#constructor", "access": "public", "description": null, - "lineNumber": 13, + "lineNumber": 20, "undocument": true }, { @@ -675,7 +675,7 @@ "longname": "src/Integer.js~Integer#base", "access": "public", "description": null, - "lineNumber": 14, + "lineNumber": 21, "undocument": true, "type": { "types": [ @@ -692,7 +692,7 @@ "longname": "src/Integer.js~Integer#is_negative", "access": "public", "description": null, - "lineNumber": 15, + "lineNumber": 22, "undocument": true, "type": { "types": [ @@ -709,7 +709,7 @@ "longname": "src/Integer.js~Integer#limbs", "access": "public", "description": null, - "lineNumber": 16, + "lineNumber": 23, "undocument": true, "type": { "types": [ @@ -728,7 +728,7 @@ "longname": "src/Integer.js~Integer#move", "access": "public", "description": null, - "lineNumber": 19, + "lineNumber": 26, "undocument": true, "params": [ { @@ -747,15 +747,15 @@ { "__docId__": 59, "kind": "method", - "name": "copy", + "name": "clone", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#copy", + "longname": "src/Integer.js~Integer#clone", "access": "public", "description": null, - "lineNumber": 26, + "lineNumber": 33, "undocument": true, "params": [], "return": { @@ -775,7 +775,7 @@ "longname": "src/Integer.js~Integer#_limbs_in_base", "access": "private", "description": null, - "lineNumber": 30, + "lineNumber": 37, "undocument": true, "params": [ { @@ -802,7 +802,7 @@ "longname": "src/Integer.js~Integer#toString", "access": "public", "description": null, - "lineNumber": 35, + "lineNumber": 43, "undocument": true, "params": [ { @@ -832,7 +832,7 @@ "longname": "src/Integer.js~Integer#add", "access": "public", "description": null, - "lineNumber": 45, + "lineNumber": 53, "undocument": true, "params": [ { @@ -859,7 +859,7 @@ "longname": "src/Integer.js~Integer#iadd", "access": "public", "description": null, - "lineNumber": 74, + "lineNumber": 82, "undocument": true, "params": [ { @@ -878,19 +878,19 @@ { "__docId__": 64, "kind": "method", - "name": "sub", + "name": "addn", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#sub", + "longname": "src/Integer.js~Integer#addn", "access": "public", "description": null, - "lineNumber": 79, + "lineNumber": 87, "undocument": true, "params": [ { - "name": "other", + "name": "number", "types": [ "*" ] @@ -905,19 +905,19 @@ { "__docId__": 65, "kind": "method", - "name": "isub", + "name": "iaddn", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#isub", + "longname": "src/Integer.js~Integer#iaddn", "access": "public", "description": null, - "lineNumber": 129, + "lineNumber": 92, "undocument": true, "params": [ { - "name": "other", + "name": "number", "types": [ "*" ] @@ -932,15 +932,15 @@ { "__docId__": 66, "kind": "method", - "name": "mul", + "name": "sub", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#mul", + "longname": "src/Integer.js~Integer#sub", "access": "public", "description": null, - "lineNumber": 134, + "lineNumber": 97, "undocument": true, "params": [ { @@ -959,15 +959,15 @@ { "__docId__": 67, "kind": "method", - "name": "imul", + "name": "isub", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#imul", + "longname": "src/Integer.js~Integer#isub", "access": "public", "description": null, - "lineNumber": 151, + "lineNumber": 147, "undocument": true, "params": [ { @@ -986,52 +986,46 @@ { "__docId__": 68, "kind": "method", - "name": "pow", + "name": "subn", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#pow", + "longname": "src/Integer.js~Integer#subn", "access": "public", - "description": "Computes this raised to the xth power.\nx is a double smaller or equal to 2^53.", - "lineNumber": 163, + "description": null, + "lineNumber": 152, + "undocument": true, "params": [ { - "nullable": null, + "name": "number", "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "x", - "description": "The power to raise this to." + "*" + ] } ], "return": { - "nullable": null, "types": [ - "Integer" - ], - "spread": false, - "description": "this ^ x" + "*" + ] } }, { "__docId__": 69, "kind": "method", - "name": "ipow", + "name": "isubn", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#ipow", + "longname": "src/Integer.js~Integer#isubn", "access": "public", "description": null, - "lineNumber": 176, + "lineNumber": 156, "undocument": true, "params": [ { - "name": "x", + "name": "number", "types": [ "*" ] @@ -1046,17 +1040,24 @@ { "__docId__": 70, "kind": "method", - "name": "square", + "name": "mul", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#square", + "longname": "src/Integer.js~Integer#mul", "access": "public", "description": null, - "lineNumber": 181, + "lineNumber": 160, "undocument": true, - "params": [], + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], "return": { "types": [ "*" @@ -1066,17 +1067,24 @@ { "__docId__": 71, "kind": "method", - "name": "isquare", + "name": "imul", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#isquare", + "longname": "src/Integer.js~Integer#imul", "access": "public", "description": null, - "lineNumber": 186, + "lineNumber": 177, "undocument": true, - "params": [], + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], "return": { "types": [ "*" @@ -1086,19 +1094,19 @@ { "__docId__": 72, "kind": "method", - "name": "div", + "name": "muln", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#div", + "longname": "src/Integer.js~Integer#muln", "access": "public", "description": null, - "lineNumber": 191, + "lineNumber": 182, "undocument": true, "params": [ { - "name": "other", + "name": "number", "types": [ "*" ] @@ -1113,19 +1121,19 @@ { "__docId__": 73, "kind": "method", - "name": "idiv", + "name": "imuln", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#idiv", + "longname": "src/Integer.js~Integer#imuln", "access": "public", "description": null, - "lineNumber": 195, + "lineNumber": 186, "undocument": true, "params": [ { - "name": "other", + "name": "number", "types": [ "*" ] @@ -1140,42 +1148,48 @@ { "__docId__": 74, "kind": "method", - "name": "mod", + "name": "pown", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#mod", + "longname": "src/Integer.js~Integer#pown", "access": "public", - "description": null, - "lineNumber": 200, - "undocument": true, + "description": "Computes this raised to the xth power.\nx is a double smaller or equal to 2^53.", + "lineNumber": 197, "params": [ { - "name": "other", + "nullable": null, "types": [ - "*" - ] + "Number" + ], + "spread": false, + "optional": false, + "name": "x", + "description": "The power to raise this to." } ], "return": { + "nullable": null, "types": [ - "*" - ] + "Integer" + ], + "spread": false, + "description": "this ^ x" } }, { "__docId__": 75, "kind": "method", - "name": "imod", + "name": "pow", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#imod", + "longname": "src/Integer.js~Integer#pow", "access": "public", "description": null, - "lineNumber": 204, + "lineNumber": 210, "undocument": true, "params": [ { @@ -1194,15 +1208,15 @@ { "__docId__": 76, "kind": "method", - "name": "divmod", + "name": "ipow", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#divmod", + "longname": "src/Integer.js~Integer#ipow", "access": "public", "description": null, - "lineNumber": 209, + "lineNumber": 214, "undocument": true, "params": [ { @@ -1214,24 +1228,31 @@ ], "return": { "types": [ - "undefined[]" + "*" ] } }, { "__docId__": 77, "kind": "method", - "name": "opposite", + "name": "ipown", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#opposite", + "longname": "src/Integer.js~Integer#ipown", "access": "public", "description": null, - "lineNumber": 266, + "lineNumber": 219, "undocument": true, - "params": [], + "params": [ + { + "name": "number", + "types": [ + "*" + ] + } + ], "return": { "types": [ "*" @@ -1241,15 +1262,15 @@ { "__docId__": 78, "kind": "method", - "name": "negate", + "name": "square", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#negate", + "longname": "src/Integer.js~Integer#square", "access": "public", "description": null, - "lineNumber": 270, + "lineNumber": 224, "undocument": true, "params": [], "return": { @@ -1261,15 +1282,15 @@ { "__docId__": 79, "kind": "method", - "name": "sign", + "name": "isquare", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#sign", + "longname": "src/Integer.js~Integer#isquare", "access": "public", "description": null, - "lineNumber": 275, + "lineNumber": 230, "undocument": true, "params": [], "return": { @@ -1281,17 +1302,24 @@ { "__docId__": 80, "kind": "method", - "name": "iszero", + "name": "div", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#iszero", + "longname": "src/Integer.js~Integer#div", "access": "public", "description": null, - "lineNumber": 279, + "lineNumber": 236, "undocument": true, - "params": [], + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], "return": { "types": [ "*" @@ -1301,17 +1329,24 @@ { "__docId__": 81, "kind": "method", - "name": "isone", + "name": "divn", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#isone", + "longname": "src/Integer.js~Integer#divn", "access": "public", "description": null, - "lineNumber": 283, + "lineNumber": 240, "undocument": true, - "params": [], + "params": [ + { + "name": "number", + "types": [ + "*" + ] + } + ], "return": { "types": [ "*" @@ -1321,17 +1356,24 @@ { "__docId__": 82, "kind": "method", - "name": "nonzero", + "name": "idiv", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#nonzero", + "longname": "src/Integer.js~Integer#idiv", "access": "public", "description": null, - "lineNumber": 288, + "lineNumber": 244, "undocument": true, - "params": [], + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], "return": { "types": [ "*" @@ -1341,17 +1383,24 @@ { "__docId__": 83, "kind": "method", - "name": "bin", + "name": "idivn", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#bin", + "longname": "src/Integer.js~Integer#idivn", "access": "public", "description": null, - "lineNumber": 292, + "lineNumber": 249, "undocument": true, - "params": [], + "params": [ + { + "name": "number", + "types": [ + "*" + ] + } + ], "return": { "types": [ "*" @@ -1361,17 +1410,24 @@ { "__docId__": 84, "kind": "method", - "name": "oct", + "name": "mod", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#oct", + "longname": "src/Integer.js~Integer#mod", "access": "public", "description": null, - "lineNumber": 296, + "lineNumber": 253, "undocument": true, - "params": [], + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], "return": { "types": [ "*" @@ -1381,17 +1437,24 @@ { "__docId__": 85, "kind": "method", - "name": "hex", + "name": "modn", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#hex", + "longname": "src/Integer.js~Integer#modn", "access": "public", "description": null, - "lineNumber": 300, + "lineNumber": 257, "undocument": true, - "params": [], + "params": [ + { + "name": "number", + "types": [ + "*" + ] + } + ], "return": { "types": [ "*" @@ -1401,25 +1464,22 @@ { "__docId__": 86, "kind": "method", - "name": "digits", + "name": "imod", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#digits", + "longname": "src/Integer.js~Integer#imod", "access": "public", "description": null, - "lineNumber": 304, + "lineNumber": 261, "undocument": true, "params": [ { - "name": "base", - "optional": true, + "name": "other", "types": [ "*" - ], - "defaultRaw": "DEFAULT_DISPLAY_BASE", - "defaultValue": "DEFAULT_DISPLAY_BASE" + ] } ], "return": { @@ -1431,17 +1491,24 @@ { "__docId__": 87, "kind": "method", - "name": "bits", + "name": "imodn", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#bits", + "longname": "src/Integer.js~Integer#imodn", "access": "public", "description": null, - "lineNumber": 308, + "lineNumber": 266, "undocument": true, - "params": [], + "params": [ + { + "name": "number", + "types": [ + "*" + ] + } + ], "return": { "types": [ "*" @@ -1451,15 +1518,15 @@ { "__docId__": 88, "kind": "method", - "name": "divides", + "name": "divround", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#divides", + "longname": "src/Integer.js~Integer#divround", "access": "public", "description": null, - "lineNumber": 312, + "lineNumber": 270, "undocument": true, "params": [ { @@ -1478,15 +1545,15 @@ { "__docId__": 89, "kind": "method", - "name": "divide_knowing_divisible_by", + "name": "divmod", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#divide_knowing_divisible_by", + "longname": "src/Integer.js~Integer#divmod", "access": "public", "description": null, - "lineNumber": 316, + "lineNumber": 276, "undocument": true, "params": [ { @@ -1498,22 +1565,22 @@ ], "return": { "types": [ - "*" + "undefined[]" ] } }, { "__docId__": 90, "kind": "method", - "name": "cmp", + "name": "idivmod", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#cmp", + "longname": "src/Integer.js~Integer#idivmod", "access": "public", "description": null, - "lineNumber": 320, + "lineNumber": 333, "undocument": true, "params": [ { @@ -1525,29 +1592,756 @@ ], "return": { "types": [ - "*" + "undefined[]" ] } }, { "__docId__": 91, "kind": "method", - "name": "eq", + "name": "opposite", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#eq", + "longname": "src/Integer.js~Integer#opposite", "access": "public", "description": null, - "lineNumber": 340, + "lineNumber": 339, "undocument": true, - "params": [ - { - "name": "other", - "types": [ - "*" - ] + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 92, + "kind": "method", + "name": "negate", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#negate", + "access": "public", + "description": null, + "lineNumber": 343, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 93, + "kind": "method", + "name": "abs", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#abs", + "access": "public", + "description": null, + "lineNumber": 348, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 94, + "kind": "method", + "name": "iabs", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#iabs", + "access": "public", + "description": null, + "lineNumber": 352, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 95, + "kind": "method", + "name": "sign", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#sign", + "access": "public", + "description": null, + "lineNumber": 356, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 96, + "kind": "method", + "name": "iszero", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#iszero", + "access": "public", + "description": null, + "lineNumber": 360, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 97, + "kind": "method", + "name": "isone", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#isone", + "access": "public", + "description": null, + "lineNumber": 364, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 98, + "kind": "method", + "name": "isnonzero", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#isnonzero", + "access": "public", + "description": null, + "lineNumber": 369, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 99, + "kind": "method", + "name": "isnegative", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#isnegative", + "access": "public", + "description": null, + "lineNumber": 373, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 100, + "kind": "method", + "name": "ispositive", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#ispositive", + "access": "public", + "description": null, + "lineNumber": 377, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 101, + "kind": "method", + "name": "isnonnegative", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#isnonnegative", + "access": "public", + "description": null, + "lineNumber": 381, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 102, + "kind": "method", + "name": "isnonpositive", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#isnonpositive", + "access": "public", + "description": null, + "lineNumber": 385, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 103, + "kind": "method", + "name": "parity", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#parity", + "access": "public", + "description": null, + "lineNumber": 389, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 104, + "kind": "method", + "name": "iseven", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#iseven", + "access": "public", + "description": null, + "lineNumber": 395, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 105, + "kind": "method", + "name": "isodd", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#isodd", + "access": "public", + "description": null, + "lineNumber": 399, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 106, + "kind": "method", + "name": "bin", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#bin", + "access": "public", + "description": null, + "lineNumber": 403, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 107, + "kind": "method", + "name": "oct", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#oct", + "access": "public", + "description": null, + "lineNumber": 407, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 108, + "kind": "method", + "name": "hex", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#hex", + "access": "public", + "description": null, + "lineNumber": 411, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 109, + "kind": "method", + "name": "toJSON", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#toJSON", + "access": "public", + "description": null, + "lineNumber": 415, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 110, + "kind": "method", + "name": "digits", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#digits", + "access": "public", + "description": null, + "lineNumber": 419, + "undocument": true, + "params": [ + { + "name": "base", + "optional": true, + "types": [ + "*" + ], + "defaultRaw": "DEFAULT_DISPLAY_BASE", + "defaultValue": "DEFAULT_DISPLAY_BASE" + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 111, + "kind": "method", + "name": "bits", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#bits", + "access": "public", + "description": null, + "lineNumber": 425, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 112, + "kind": "method", + "name": "divides", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#divides", + "access": "public", + "description": null, + "lineNumber": 429, + "undocument": true, + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 113, + "kind": "method", + "name": "divide_knowing_divisible_by", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#divide_knowing_divisible_by", + "access": "public", + "description": null, + "lineNumber": 433, + "undocument": true, + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 114, + "kind": "method", + "name": "cmp", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#cmp", + "access": "public", + "description": null, + "lineNumber": 439, + "undocument": true, + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 115, + "kind": "method", + "name": "cmpn", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#cmpn", + "access": "public", + "description": null, + "lineNumber": 460, + "undocument": true, + "params": [ + { + "name": "number", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 116, + "kind": "method", + "name": "eq", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#eq", + "access": "public", + "description": null, + "lineNumber": 464, + "undocument": true, + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 117, + "kind": "method", + "name": "eqn", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#eqn", + "access": "public", + "description": null, + "lineNumber": 468, + "undocument": true, + "params": [ + { + "name": "number", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 118, + "kind": "method", + "name": "ge", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#ge", + "access": "public", + "description": null, + "lineNumber": 472, + "undocument": true, + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 119, + "kind": "method", + "name": "gen", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#gen", + "access": "public", + "description": null, + "lineNumber": 476, + "undocument": true, + "params": [ + { + "name": "number", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 120, + "kind": "method", + "name": "gt", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#gt", + "access": "public", + "description": null, + "lineNumber": 480, + "undocument": true, + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 121, + "kind": "method", + "name": "gtn", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#gtn", + "access": "public", + "description": null, + "lineNumber": 484, + "undocument": true, + "params": [ + { + "name": "number", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 122, + "kind": "method", + "name": "le", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#le", + "access": "public", + "description": null, + "lineNumber": 488, + "undocument": true, + "params": [ + { + "name": "other", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 123, + "kind": "method", + "name": "len", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#len", + "access": "public", + "description": null, + "lineNumber": 492, + "undocument": true, + "params": [ + { + "name": "number", + "types": [ + "*" + ] } ], "return": { @@ -1557,17 +2351,17 @@ } }, { - "__docId__": 92, + "__docId__": 124, "kind": "method", - "name": "ge", + "name": "lt", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#ge", + "longname": "src/Integer.js~Integer#lt", "access": "public", "description": null, - "lineNumber": 344, + "lineNumber": 496, "undocument": true, "params": [ { @@ -1584,21 +2378,21 @@ } }, { - "__docId__": 93, + "__docId__": 125, "kind": "method", - "name": "gt", + "name": "ltn", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#gt", + "longname": "src/Integer.js~Integer#ltn", "access": "public", "description": null, - "lineNumber": 348, + "lineNumber": 500, "undocument": true, "params": [ { - "name": "other", + "name": "number", "types": [ "*" ] @@ -1611,17 +2405,17 @@ } }, { - "__docId__": 94, + "__docId__": 126, "kind": "method", - "name": "le", + "name": "ne", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#le", + "longname": "src/Integer.js~Integer#ne", "access": "public", "description": null, - "lineNumber": 352, + "lineNumber": 504, "undocument": true, "params": [ { @@ -1638,17 +2432,44 @@ } }, { - "__docId__": 95, + "__docId__": 127, "kind": "method", - "name": "lt", + "name": "nen", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#lt", + "longname": "src/Integer.js~Integer#nen", "access": "public", "description": null, - "lineNumber": 356, + "lineNumber": 508, + "undocument": true, + "params": [ + { + "name": "number", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 128, + "kind": "method", + "name": "gcd", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#gcd", + "access": "public", + "description": null, + "lineNumber": 512, "undocument": true, "params": [ { @@ -1665,17 +2486,17 @@ } }, { - "__docId__": 96, + "__docId__": 129, "kind": "method", - "name": "ne", + "name": "egcd", "memberof": "src/Integer.js~Integer", "generator": false, "async": false, "static": false, - "longname": "src/Integer.js~Integer#ne", + "longname": "src/Integer.js~Integer#egcd", "access": "public", "description": null, - "lineNumber": 360, + "lineNumber": 522, "undocument": true, "params": [ { @@ -1685,6 +2506,26 @@ ] } ], + "return": { + "types": [ + "{\"gcd\": *, \"x\": *, \"y\": *, \"u\": *, \"v\": *}" + ] + } + }, + { + "__docId__": 130, + "kind": "method", + "name": "valueOf", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#valueOf", + "access": "public", + "description": null, + "lineNumber": 546, + "undocument": true, + "params": [], "return": { "types": [ "*" @@ -1692,10 +2533,30 @@ } }, { - "__docId__": 97, + "__docId__": 131, + "kind": "method", + "name": "toNumber", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#toNumber", + "access": "public", + "description": null, + "lineNumber": 562, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 132, "kind": "file", "name": "src/IntegerRing.js", - "content": "import { Integer } from './' ;\nimport { DEFAULT_DISPLAY_BASE } from './' ;\nimport { parse , convert } from '@aureooms/js-integer-big-endian' ;\nimport { TypeError , ValueError } from '@aureooms/js-error' ;\n\nexport class IntegerRing {\n\n\tconstructor ( name , base ) {\n\t\tthis.name = name ;\n\t\tthis.base = base ;\n\t}\n\n\tcharacteristic ( ) {\n\t\treturn this.$0() ;\n\t}\n\n\tfrom ( object , base = undefined , is_negative = 0 ) {\n\n\t\tif ( object === null || object === undefined ) return this.$0();\n\n\t\tswitch ( object.constructor.prototype ) {\n\n\t\t\tcase Number.prototype :\n\t\t\t\tif ( base !== undefined ) throw new ValueError('IntegerRing#from: using the base parameter does not make sense when passing a Number.') ;\n\t\t\t\treturn this.from_number( object , is_negative ) ;\n\n\t\t\tcase String.prototype :\n\t\t\t\tif ( base === undefined ) base = DEFAULT_DISPLAY_BASE ;\n\t\t\t\treturn this.from_string( object , base , is_negative ) ;\n\n\t\t\tcase Array.prototype :\n\t\t\t\tif ( base === undefined ) base = this.base ;\n\t\t\t\treturn this.from_digits( object , base , is_negative ) ;\n\n\t\t\tcase Boolean.prototype :\n\t\t\t\tif ( base !== undefined ) throw new ValueError('IntegerRing#from: using the base parameter does not make sense when passing a Boolean.') ;\n\t\t\t\treturn this.from_number( +object , is_negative ) ;\n\n\t\t\tcase Integer.prototype :\n\t\t\t\tif ( base !== undefined ) throw new ValueError('IntegerRing#from: using the base parameter does not make sense when passing an Integer.') ;\n\t\t\t\treturn new Integer( object.base , object.is_negative ^ is_negative , object.limbs ) ;\n\n\t\t\tdefault:\n\t\t\t\tthrow new TypeError(`IntegerRing#from cannot handle ${object.constructor.prototype}`) ;\n\n\t\t}\n\n\t}\n\n\tfrom_number ( number , is_negative = 0 ) {\n\n\t\tif ( number < 0 ) {\n\t\t\tis_negative = ~is_negative ;\n\t\t\tnumber = -number ;\n\t\t}\n\n\t\tconst limbs = convert( 0x20000000000000 , this.base , [ number ] , 0 , 1 ) ;\n\n\t\treturn new Integer( this.base , is_negative , limbs ) ;\n\n\t}\n\n\tfrom_string ( string , base = 10 , is_negative = 0 ) {\n\n\t\tif ( string.length === 0 ) throw new ValueError( 'IntegerRing#from_string cannot parse empty string.' ) ;\n\n\t\tif ( string[0] === '-' ) return this.from_string( string.slice(1) , base , ~is_negative ) ;\n\n\t\tif ( string[0] === '+' ) return this.from_string( string.slice(1) , base , is_negative ) ;\n\n\t\tconst limbs = parse( base , this.base , string ) ;\n\n\t\treturn new Integer( this.base , is_negative , limbs ) ;\n\n\t}\n\n\tfrom_digits ( digits , base , is_negative ) {\n\n\t\tconst limbs = convert( base , this.base , digits.slice().reverse() , 0 , digits.length ) ;\n\n\t\treturn new Integer( this.base , is_negative , limbs ) ;\n\n\t}\n\n\ttoString ( ) {\n\t\treturn this.name ;\n\t}\n\n\t$0 ( ) {\n\t\treturn new Integer( this.base , 0 , [ 0 ] ) ;\n\t}\n\n\t$1 ( ) {\n\t\treturn new Integer( this.base , 0 , [ 1 ] ) ;\n\t}\n\n}\n", + "content": "import { Integer } from './' ;\nimport { DEFAULT_DISPLAY_BASE } from './' ;\nimport { parse , convert } from '@aureooms/js-integer-big-endian' ;\nimport { TypeError , ValueError } from '@aureooms/js-error' ;\nimport { _from_number } from './_from_number' ;\n\nexport class IntegerRing {\n\n\tconstructor ( name , base ) {\n\t\tthis.name = name ;\n\t\tthis.base = base ;\n\t}\n\n\tcharacteristic ( ) {\n\t\treturn this.$0() ;\n\t}\n\n\tfrom ( object , base = undefined , is_negative = 0 ) {\n\n\t\tif ( object === null || object === undefined ) return this.$0();\n\n\t\tswitch ( object.constructor.prototype ) {\n\n\t\t\tcase Number.prototype :\n\t\t\t\tif ( base !== undefined ) throw new ValueError('IntegerRing#from: using the base parameter does not make sense when passing a Number.') ;\n\t\t\t\treturn this.from_number( object , is_negative ) ;\n\n\t\t\tcase String.prototype :\n\t\t\t\tif ( base === undefined ) base = DEFAULT_DISPLAY_BASE ;\n\t\t\t\treturn this.from_string( object , base , is_negative ) ;\n\n\t\t\tcase Array.prototype :\n\t\t\t\tif ( base === undefined ) base = this.base ;\n\t\t\t\treturn this.from_digits( object , base , is_negative ) ;\n\n\t\t\tcase Boolean.prototype :\n\t\t\t\tif ( base !== undefined ) throw new ValueError('IntegerRing#from: using the base parameter does not make sense when passing a Boolean.') ;\n\t\t\t\treturn this.from_number( +object , is_negative ) ;\n\n\t\t\tcase Integer.prototype :\n\t\t\t\tif ( base !== undefined ) throw new ValueError('IntegerRing#from: using the base parameter does not make sense when passing an Integer.') ;\n\t\t\t\treturn new Integer( object.base , object.is_negative ^ is_negative , object.limbs ) ;\n\n\t\t\tdefault:\n\t\t\t\tthrow new TypeError(`IntegerRing#from cannot handle ${object.constructor.prototype}`) ;\n\n\t\t}\n\n\t}\n\n\tfrom_number ( number , is_negative = 0 ) {\n\n\t\tconst dirty = _from_number(number) ;\n\n\t\tconst limbs = dirty._limbs_in_base(this.base) ;\n\n\t\treturn new Integer( this.base , is_negative ^ dirty.is_negative , limbs ) ;\n\n\t}\n\n\tfrom_string ( string , base = 10 , is_negative = 0 ) {\n\n\t\tif ( string.length === 0 ) throw new ValueError( 'IntegerRing#from_string cannot parse empty string.' ) ;\n\n\t\tif ( string[0] === '-' ) return this.from_string( string.slice(1) , base , ~is_negative ) ;\n\n\t\tif ( string[0] === '+' ) return this.from_string( string.slice(1) , base , is_negative ) ;\n\n\t\tconst limbs = parse( base , this.base , string ) ;\n\n\t\treturn new Integer( this.base , is_negative , limbs ) ;\n\n\t}\n\n\tfrom_digits ( digits , base , is_negative ) {\n\n\t\tconst limbs = convert( base , this.base , digits.slice().reverse() , 0 , digits.length ) ;\n\n\t\treturn new Integer( this.base , is_negative , limbs ) ;\n\n\t}\n\n\ttoString ( ) {\n\t\treturn this.name ;\n\t}\n\n\t$0 ( ) {\n\t\t// TODO Could we use an empty array instead ?\n\t\treturn new Integer( this.base , 0 , [ 0 ] ) ;\n\t}\n\n\t$1 ( ) {\n\t\treturn new Integer( this.base , 0 , [ 1 ] ) ;\n\t}\n\n\t$_1 ( ) {\n\t\treturn new Integer( this.base , -1 , [ 1 ] ) ;\n\t}\n\n\thas ( x ) {\n\t\tif ( x instanceof Integer ) return true ;\n\t\treturn Number.isInteger(x) ;\n\t}\n\n\tmin ( a , b ) {\n\t\treturn a.le(b) ? a : b ;\n\t}\n\n\tmax ( a , b ) {\n\t\treturn a.ge(b) ? a : b ;\n\t}\n\n}\n", "static": true, "longname": "/home/aureooms/dev/js/js-integer/src/IntegerRing.js", "access": "public", @@ -1703,7 +2564,7 @@ "lineNumber": 1 }, { - "__docId__": 98, + "__docId__": 133, "kind": "class", "name": "IntegerRing", "memberof": "src/IntegerRing.js", @@ -1714,12 +2575,12 @@ "importPath": "@aureooms/js-integer/src/IntegerRing.js", "importStyle": "{IntegerRing}", "description": null, - "lineNumber": 6, + "lineNumber": 7, "undocument": true, "interface": false }, { - "__docId__": 99, + "__docId__": 134, "kind": "constructor", "name": "constructor", "memberof": "src/IntegerRing.js~IntegerRing", @@ -1729,11 +2590,11 @@ "longname": "src/IntegerRing.js~IntegerRing#constructor", "access": "public", "description": null, - "lineNumber": 8, + "lineNumber": 9, "undocument": true }, { - "__docId__": 100, + "__docId__": 135, "kind": "member", "name": "name", "memberof": "src/IntegerRing.js~IntegerRing", @@ -1741,7 +2602,7 @@ "longname": "src/IntegerRing.js~IntegerRing#name", "access": "public", "description": null, - "lineNumber": 9, + "lineNumber": 10, "undocument": true, "type": { "types": [ @@ -1750,7 +2611,7 @@ } }, { - "__docId__": 101, + "__docId__": 136, "kind": "member", "name": "base", "memberof": "src/IntegerRing.js~IntegerRing", @@ -1758,7 +2619,7 @@ "longname": "src/IntegerRing.js~IntegerRing#base", "access": "public", "description": null, - "lineNumber": 10, + "lineNumber": 11, "undocument": true, "type": { "types": [ @@ -1767,7 +2628,7 @@ } }, { - "__docId__": 102, + "__docId__": 137, "kind": "method", "name": "characteristic", "memberof": "src/IntegerRing.js~IntegerRing", @@ -1777,7 +2638,7 @@ "longname": "src/IntegerRing.js~IntegerRing#characteristic", "access": "public", "description": null, - "lineNumber": 13, + "lineNumber": 14, "undocument": true, "params": [], "return": { @@ -1787,7 +2648,7 @@ } }, { - "__docId__": 103, + "__docId__": 138, "kind": "method", "name": "from", "memberof": "src/IntegerRing.js~IntegerRing", @@ -1797,7 +2658,7 @@ "longname": "src/IntegerRing.js~IntegerRing#from", "access": "public", "description": null, - "lineNumber": 17, + "lineNumber": 18, "undocument": true, "params": [ { @@ -1832,7 +2693,7 @@ } }, { - "__docId__": 104, + "__docId__": 139, "kind": "method", "name": "from_number", "memberof": "src/IntegerRing.js~IntegerRing", @@ -1842,7 +2703,7 @@ "longname": "src/IntegerRing.js~IntegerRing#from_number", "access": "public", "description": null, - "lineNumber": 50, + "lineNumber": 51, "undocument": true, "params": [ { @@ -1868,42 +2729,188 @@ } }, { - "__docId__": 105, + "__docId__": 140, + "kind": "method", + "name": "from_string", + "memberof": "src/IntegerRing.js~IntegerRing", + "generator": false, + "async": false, + "static": false, + "longname": "src/IntegerRing.js~IntegerRing#from_string", + "access": "public", + "description": null, + "lineNumber": 61, + "undocument": true, + "params": [ + { + "name": "string", + "types": [ + "*" + ] + }, + { + "name": "base", + "optional": true, + "types": [ + "number" + ], + "defaultRaw": 10, + "defaultValue": "10" + }, + { + "name": "is_negative", + "optional": true, + "types": [ + "number" + ], + "defaultRaw": 0, + "defaultValue": "0" + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 141, + "kind": "method", + "name": "from_digits", + "memberof": "src/IntegerRing.js~IntegerRing", + "generator": false, + "async": false, + "static": false, + "longname": "src/IntegerRing.js~IntegerRing#from_digits", + "access": "public", + "description": null, + "lineNumber": 75, + "undocument": true, + "params": [ + { + "name": "digits", + "types": [ + "*" + ] + }, + { + "name": "base", + "types": [ + "*" + ] + }, + { + "name": "is_negative", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 142, + "kind": "method", + "name": "toString", + "memberof": "src/IntegerRing.js~IntegerRing", + "generator": false, + "async": false, + "static": false, + "longname": "src/IntegerRing.js~IntegerRing#toString", + "access": "public", + "description": null, + "lineNumber": 83, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 143, + "kind": "method", + "name": "$0", + "memberof": "src/IntegerRing.js~IntegerRing", + "generator": false, + "async": false, + "static": false, + "longname": "src/IntegerRing.js~IntegerRing#$0", + "access": "public", + "description": null, + "lineNumber": 87, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 144, + "kind": "method", + "name": "$1", + "memberof": "src/IntegerRing.js~IntegerRing", + "generator": false, + "async": false, + "static": false, + "longname": "src/IntegerRing.js~IntegerRing#$1", + "access": "public", + "description": null, + "lineNumber": 92, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 145, + "kind": "method", + "name": "$_1", + "memberof": "src/IntegerRing.js~IntegerRing", + "generator": false, + "async": false, + "static": false, + "longname": "src/IntegerRing.js~IntegerRing#$_1", + "access": "public", + "description": null, + "lineNumber": 96, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 146, "kind": "method", - "name": "from_string", + "name": "has", "memberof": "src/IntegerRing.js~IntegerRing", "generator": false, "async": false, "static": false, - "longname": "src/IntegerRing.js~IntegerRing#from_string", + "longname": "src/IntegerRing.js~IntegerRing#has", "access": "public", "description": null, - "lineNumber": 63, + "lineNumber": 100, "undocument": true, "params": [ { - "name": "string", + "name": "x", "types": [ "*" ] - }, - { - "name": "base", - "optional": true, - "types": [ - "number" - ], - "defaultRaw": 10, - "defaultValue": "10" - }, - { - "name": "is_negative", - "optional": true, - "types": [ - "number" - ], - "defaultRaw": 0, - "defaultValue": "0" } ], "return": { @@ -1913,33 +2920,27 @@ } }, { - "__docId__": 106, + "__docId__": 147, "kind": "method", - "name": "from_digits", + "name": "min", "memberof": "src/IntegerRing.js~IntegerRing", "generator": false, "async": false, "static": false, - "longname": "src/IntegerRing.js~IntegerRing#from_digits", + "longname": "src/IntegerRing.js~IntegerRing#min", "access": "public", "description": null, - "lineNumber": 77, + "lineNumber": 105, "undocument": true, "params": [ { - "name": "digits", - "types": [ - "*" - ] - }, - { - "name": "base", + "name": "a", "types": [ "*" ] }, { - "name": "is_negative", + "name": "b", "types": [ "*" ] @@ -1952,59 +2953,32 @@ } }, { - "__docId__": 107, - "kind": "method", - "name": "toString", - "memberof": "src/IntegerRing.js~IntegerRing", - "generator": false, - "async": false, - "static": false, - "longname": "src/IntegerRing.js~IntegerRing#toString", - "access": "public", - "description": null, - "lineNumber": 85, - "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 108, - "kind": "method", - "name": "$0", - "memberof": "src/IntegerRing.js~IntegerRing", - "generator": false, - "async": false, - "static": false, - "longname": "src/IntegerRing.js~IntegerRing#$0", - "access": "public", - "description": null, - "lineNumber": 89, - "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 109, + "__docId__": 148, "kind": "method", - "name": "$1", + "name": "max", "memberof": "src/IntegerRing.js~IntegerRing", "generator": false, "async": false, "static": false, - "longname": "src/IntegerRing.js~IntegerRing#$1", + "longname": "src/IntegerRing.js~IntegerRing#max", "access": "public", "description": null, - "lineNumber": 93, + "lineNumber": 109, "undocument": true, - "params": [], + "params": [ + { + "name": "a", + "types": [ + "*" + ] + }, + { + "name": "b", + "types": [ + "*" + ] + } + ], "return": { "types": [ "*" @@ -2012,7 +2986,7 @@ } }, { - "__docId__": 110, + "__docId__": 149, "kind": "file", "name": "src/ZZ.js", "content": "\nimport {\n\tDEFAULT_REPRESENTATION_BASE ,\n\tIntegerRing ,\n} from './' ;\n\nexport const ZZ = new IntegerRing( 'Integer Ring' , DEFAULT_REPRESENTATION_BASE ) ;\n", @@ -2023,7 +2997,7 @@ "lineNumber": 1 }, { - "__docId__": 111, + "__docId__": 150, "kind": "variable", "name": "ZZ", "memberof": "src/ZZ.js", @@ -2043,7 +3017,7 @@ } }, { - "__docId__": 112, + "__docId__": 151, "kind": "file", "name": "src/ZeroDivisionError.js", "content": "\nexport class ZeroDivisionError extends Error {\n\n\tconstructor ( message ) {\n\t\tsuper( message ) ;\n\t}\n\n\ttoString ( ) {\n\t\treturn `ZeroDivisionError: ${this.message}` ;\n\t}\n\n}\n", @@ -2054,7 +3028,7 @@ "lineNumber": 1 }, { - "__docId__": 113, + "__docId__": 152, "kind": "class", "name": "ZeroDivisionError", "memberof": "src/ZeroDivisionError.js", @@ -2073,7 +3047,7 @@ ] }, { - "__docId__": 114, + "__docId__": 153, "kind": "constructor", "name": "constructor", "memberof": "src/ZeroDivisionError.js~ZeroDivisionError", @@ -2087,7 +3061,7 @@ "undocument": true }, { - "__docId__": 115, + "__docId__": 154, "kind": "method", "name": "toString", "memberof": "src/ZeroDivisionError.js~ZeroDivisionError", @@ -2107,10 +3081,142 @@ } }, { - "__docId__": 116, + "__docId__": 155, + "kind": "file", + "name": "src/_from_number.js", + "content": "import { Integer } from './Integer' ;\nimport { MAX_BASE } from './_limits' ;\n\nexport function _from_number ( number ) {\n\tconst x = number >= 0 ? number : -number ;\n\tconst is_negative = number >= 0 ? 0 : -1 ;\n\treturn x < MAX_BASE ?\n\t\tnew Integer( MAX_BASE , is_negative , [ x ] ) :\n\t\tnew Integer( MAX_BASE , is_negative , [ x / MAX_BASE | 0 , x % MAX_BASE ] ) ;\n}\n", + "static": true, + "longname": "/home/aureooms/dev/js/js-integer/src/_from_number.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 156, + "kind": "function", + "name": "_from_number", + "memberof": "src/_from_number.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/_from_number.js~_from_number", + "access": "private", + "export": true, + "importPath": "@aureooms/js-integer/src/_from_number.js", + "importStyle": "{_from_number}", + "description": null, + "lineNumber": 4, + "undocument": true, + "params": [ + { + "name": "number", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 157, + "kind": "file", + "name": "src/_limits.js", + "content": "// The range of valid numbers is -2^53 to 2^53 - 1\nexport const MAX_NUMBER = Math.pow(2,53) - 1 ;\nexport const MIN_NUMBER = -Math.pow(2,53) ;\nexport const MIN_BASE = 2 ;\nexport const MAX_BASE = Math.ceil(Math.sqrt(Math.pow(2,53))) ;\n", + "static": true, + "longname": "/home/aureooms/dev/js/js-integer/src/_limits.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 158, + "kind": "variable", + "name": "MAX_NUMBER", + "memberof": "src/_limits.js", + "static": true, + "longname": "src/_limits.js~MAX_NUMBER", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/_limits.js", + "importStyle": "{MAX_NUMBER}", + "description": null, + "lineNumber": 2, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 159, + "kind": "variable", + "name": "MIN_NUMBER", + "memberof": "src/_limits.js", + "static": true, + "longname": "src/_limits.js~MIN_NUMBER", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/_limits.js", + "importStyle": "{MIN_NUMBER}", + "description": null, + "lineNumber": 3, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 160, + "kind": "variable", + "name": "MIN_BASE", + "memberof": "src/_limits.js", + "static": true, + "longname": "src/_limits.js~MIN_BASE", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/_limits.js", + "importStyle": "{MIN_BASE}", + "description": null, + "lineNumber": 4, + "undocument": true, + "type": { + "types": [ + "number" + ] + } + }, + { + "__docId__": 161, + "kind": "variable", + "name": "MAX_BASE", + "memberof": "src/_limits.js", + "static": true, + "longname": "src/_limits.js~MAX_BASE", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/_limits.js", + "importStyle": "{MAX_BASE}", + "description": null, + "lineNumber": 5, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 162, "kind": "file", "name": "src/index.js", - "content": "export * from './DEFAULT_DISPLAY_BASE' ;\nexport * from './DEFAULT_REPRESENTATION_BASE' ;\nexport * from './Integer' ;\nexport * from './IntegerRing' ;\nexport * from './ZZ' ;\nexport * from './ZeroDivisionError' ;\nexport * from './integer' ;\n", + "content": "export * from './DEFAULT_DISPLAY_BASE' ;\nexport * from './DEFAULT_REPRESENTATION_BASE' ;\nexport * from './Integer' ;\nexport * from './IntegerRing' ;\nexport * from './ZZ' ;\nexport * from './ZeroDivisionError' ;\nexport * from './integer' ;\nexport * from './_limits' ;\n", "static": true, "longname": "/home/aureooms/dev/js/js-integer/src/index.js", "access": "public", @@ -2118,10 +3224,10 @@ "lineNumber": 1 }, { - "__docId__": 117, + "__docId__": 163, "kind": "file", "name": "src/integer.js", - "content": "import { DEFAULT_DISPLAY_BASE , ZZ } from './' ;\n\nexport function $0 ( ) {\n\treturn ZZ.$0() ;\n}\n\nexport function $1 ( ) {\n\treturn ZZ.$1() ;\n}\n\nexport function parse ( object , base = undefined , is_negative = 0 ) {\n\treturn ZZ.from( object , base , is_negative ) ;\n}\n\nexport function stringify ( integer , base = DEFAULT_DISPLAY_BASE ) {\n\treturn integer.toString( base ) ;\n}\n\nexport function add ( first , second ) {\n\treturn first.add(second) ;\n}\n\nexport function iadd ( first , second ) {\n\treturn first.iadd(second) ;\n}\n\nexport function sub ( first , second ) {\n\treturn first.sub(second) ;\n}\n\nexport function isub ( first , second ) {\n\treturn first.isub(second) ;\n}\n\nexport function mul ( first , second ) {\n\treturn first.mul(second) ;\n}\n\nexport function imul ( first , second ) {\n\treturn first.imul(second) ;\n}\n\nexport function pow ( first , second ) {\n\treturn first.pow(second) ;\n}\n\nexport function ipow ( first , second ) {\n\treturn first.ipow(second) ;\n}\n\nexport function div ( first , second ) {\n\treturn first.div(second) ;\n}\n\nexport function idiv ( first , second ) {\n\treturn first.idiv(second) ;\n}\n\nexport function mod ( first , second ) {\n\treturn first.mod(second) ;\n}\n\nexport function imod ( first , second ) {\n\treturn first.imod(second) ;\n}\n", + "content": "import { DEFAULT_DISPLAY_BASE , ZZ } from './' ;\n\nexport function $0 ( ) {\n\treturn ZZ.$0() ;\n}\n\nexport function $1 ( ) {\n\treturn ZZ.$1() ;\n}\n\nexport function $_1 ( ) {\n\treturn ZZ.$_1() ;\n}\n\nexport function parse ( object , base = undefined , is_negative = 0 ) {\n\treturn ZZ.from( object , base , is_negative ) ;\n}\n\nexport function stringify ( integer , base = DEFAULT_DISPLAY_BASE ) {\n\treturn integer.toString( base ) ;\n}\n\nexport function add ( first , second ) {\n\treturn first.add(second) ;\n}\n\nexport function iadd ( first , second ) {\n\treturn first.iadd(second) ;\n}\n\nexport function sub ( first , second ) {\n\treturn first.sub(second) ;\n}\n\nexport function isub ( first , second ) {\n\treturn first.isub(second) ;\n}\n\nexport function mul ( first , second ) {\n\treturn first.mul(second) ;\n}\n\nexport function imul ( first , second ) {\n\treturn first.imul(second) ;\n}\n\nexport function pow ( first , second ) {\n\treturn first.pow(second) ;\n}\n\nexport function ipow ( first , second ) {\n\treturn first.ipow(second) ;\n}\n\nexport function div ( first , second ) {\n\treturn first.div(second) ;\n}\n\nexport function idiv ( first , second ) {\n\treturn first.idiv(second) ;\n}\n\nexport function mod ( first , second ) {\n\treturn first.mod(second) ;\n}\n\nexport function imod ( first , second ) {\n\treturn first.imod(second) ;\n}\n", "static": true, "longname": "/home/aureooms/dev/js/js-integer/src/integer.js", "access": "public", @@ -2129,7 +3235,7 @@ "lineNumber": 1 }, { - "__docId__": 118, + "__docId__": 164, "kind": "function", "name": "$0", "memberof": "src/integer.js", @@ -2152,7 +3258,7 @@ } }, { - "__docId__": 119, + "__docId__": 165, "kind": "function", "name": "$1", "memberof": "src/integer.js", @@ -2175,7 +3281,30 @@ } }, { - "__docId__": 120, + "__docId__": 166, + "kind": "function", + "name": "$_1", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~$_1", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{$_1}", + "description": null, + "lineNumber": 11, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 167, "kind": "function", "name": "parse", "memberof": "src/integer.js", @@ -2188,7 +3317,7 @@ "importPath": "@aureooms/js-integer/src/integer.js", "importStyle": "{parse}", "description": null, - "lineNumber": 11, + "lineNumber": 15, "undocument": true, "params": [ { @@ -2223,7 +3352,7 @@ } }, { - "__docId__": 121, + "__docId__": 168, "kind": "function", "name": "stringify", "memberof": "src/integer.js", @@ -2236,7 +3365,7 @@ "importPath": "@aureooms/js-integer/src/integer.js", "importStyle": "{stringify}", "description": null, - "lineNumber": 15, + "lineNumber": 19, "undocument": true, "params": [ { @@ -2262,7 +3391,7 @@ } }, { - "__docId__": 122, + "__docId__": 169, "kind": "function", "name": "add", "memberof": "src/integer.js", @@ -2275,7 +3404,7 @@ "importPath": "@aureooms/js-integer/src/integer.js", "importStyle": "{add}", "description": null, - "lineNumber": 19, + "lineNumber": 23, "undocument": true, "params": [ { @@ -2298,7 +3427,7 @@ } }, { - "__docId__": 123, + "__docId__": 170, "kind": "function", "name": "iadd", "memberof": "src/integer.js", @@ -2311,7 +3440,7 @@ "importPath": "@aureooms/js-integer/src/integer.js", "importStyle": "{iadd}", "description": null, - "lineNumber": 23, + "lineNumber": 27, "undocument": true, "params": [ { @@ -2334,7 +3463,7 @@ } }, { - "__docId__": 124, + "__docId__": 171, "kind": "function", "name": "sub", "memberof": "src/integer.js", @@ -2347,7 +3476,7 @@ "importPath": "@aureooms/js-integer/src/integer.js", "importStyle": "{sub}", "description": null, - "lineNumber": 27, + "lineNumber": 31, "undocument": true, "params": [ { @@ -2370,7 +3499,7 @@ } }, { - "__docId__": 125, + "__docId__": 172, "kind": "function", "name": "isub", "memberof": "src/integer.js", @@ -2383,7 +3512,7 @@ "importPath": "@aureooms/js-integer/src/integer.js", "importStyle": "{isub}", "description": null, - "lineNumber": 31, + "lineNumber": 35, "undocument": true, "params": [ { @@ -2406,7 +3535,7 @@ } }, { - "__docId__": 126, + "__docId__": 173, "kind": "function", "name": "mul", "memberof": "src/integer.js", @@ -2419,7 +3548,7 @@ "importPath": "@aureooms/js-integer/src/integer.js", "importStyle": "{mul}", "description": null, - "lineNumber": 35, + "lineNumber": 39, "undocument": true, "params": [ { @@ -2442,7 +3571,7 @@ } }, { - "__docId__": 127, + "__docId__": 174, "kind": "function", "name": "imul", "memberof": "src/integer.js", @@ -2455,7 +3584,7 @@ "importPath": "@aureooms/js-integer/src/integer.js", "importStyle": "{imul}", "description": null, - "lineNumber": 39, + "lineNumber": 43, "undocument": true, "params": [ { @@ -2478,7 +3607,7 @@ } }, { - "__docId__": 128, + "__docId__": 175, "kind": "function", "name": "pow", "memberof": "src/integer.js", @@ -2491,7 +3620,7 @@ "importPath": "@aureooms/js-integer/src/integer.js", "importStyle": "{pow}", "description": null, - "lineNumber": 43, + "lineNumber": 47, "undocument": true, "params": [ { @@ -2514,7 +3643,7 @@ } }, { - "__docId__": 129, + "__docId__": 176, "kind": "function", "name": "ipow", "memberof": "src/integer.js", @@ -2527,7 +3656,7 @@ "importPath": "@aureooms/js-integer/src/integer.js", "importStyle": "{ipow}", "description": null, - "lineNumber": 47, + "lineNumber": 51, "undocument": true, "params": [ { @@ -2550,7 +3679,7 @@ } }, { - "__docId__": 130, + "__docId__": 177, "kind": "function", "name": "div", "memberof": "src/integer.js", @@ -2563,7 +3692,7 @@ "importPath": "@aureooms/js-integer/src/integer.js", "importStyle": "{div}", "description": null, - "lineNumber": 51, + "lineNumber": 55, "undocument": true, "params": [ { @@ -2586,7 +3715,7 @@ } }, { - "__docId__": 131, + "__docId__": 178, "kind": "function", "name": "idiv", "memberof": "src/integer.js", @@ -2599,7 +3728,7 @@ "importPath": "@aureooms/js-integer/src/integer.js", "importStyle": "{idiv}", "description": null, - "lineNumber": 55, + "lineNumber": 59, "undocument": true, "params": [ { @@ -2622,7 +3751,7 @@ } }, { - "__docId__": 132, + "__docId__": 179, "kind": "function", "name": "mod", "memberof": "src/integer.js", @@ -2635,7 +3764,7 @@ "importPath": "@aureooms/js-integer/src/integer.js", "importStyle": "{mod}", "description": null, - "lineNumber": 59, + "lineNumber": 63, "undocument": true, "params": [ { @@ -2658,7 +3787,7 @@ } }, { - "__docId__": 133, + "__docId__": 180, "kind": "function", "name": "imod", "memberof": "src/integer.js", @@ -2671,7 +3800,7 @@ "importPath": "@aureooms/js-integer/src/integer.js", "importStyle": "{imod}", "description": null, - "lineNumber": 63, + "lineNumber": 67, "undocument": true, "params": [ { @@ -2703,7 +3832,7 @@ }, { "kind": "packageJSON", - "content": "{\n \"name\": \"@aureooms/js-integer\",\n \"description\": \"Integers for JavaScript\",\n \"version\": \"4.0.1\",\n \"author\": \"Aurélien Ooms \",\n \"ava\": {\n \"require\": [\n \"@babel/polyfill\",\n \"@babel/register\"\n ],\n \"files\": [\n \"test/src/**/*\"\n ],\n \"timeout\": \"1m\",\n \"concurrency\": 8\n },\n \"babel\": {\n \"presets\": [\n \"@babel/preset-env\"\n ],\n \"env\": {\n \"development\": {\n \"sourceMaps\": \"inline\"\n }\n }\n },\n \"bugs\": {\n \"url\": \"https://github.com/aureooms/js-integer/issues\"\n },\n \"dependencies\": {\n \"@aureooms/js-error\": \"^4.0.0\",\n \"@aureooms/js-integer-big-endian\": \"^5.0.1\"\n },\n \"devDependencies\": {\n \"@aureooms/js-algorithms\": \"3.0.7\",\n \"@aureooms/js-array\": \"4.0.0\",\n \"@aureooms/js-operator\": \"1.0.2\",\n \"@aureooms/js-random\": \"2.0.0\",\n \"@aureooms/js-string\": \"0.2.0\",\n \"@babel/cli\": \"7.8.4\",\n \"@babel/core\": \"7.9.6\",\n \"@babel/polyfill\": \"7.8.7\",\n \"@babel/preset-env\": \"7.9.6\",\n \"@babel/register\": \"7.9.0\",\n \"ava\": \"3.8.1\",\n \"coveralls\": \"3.1.0\",\n \"esdoc\": \"1.1.0\",\n \"esdoc-inject-script-plugin\": \"1.0.0\",\n \"esdoc-inject-style-plugin\": \"1.0.0\",\n \"esdoc-standard-plugin\": \"1.0.0\",\n \"np\": \"6.2.3\",\n \"nyc\": \"15.0.1\"\n },\n \"files\": [\n \"lib\"\n ],\n \"homepage\": \"https://aureooms.github.io/js-integer\",\n \"keywords\": [\n \"algorithm\",\n \"arithmetic\",\n \"bignum\",\n \"complexity\",\n \"integer\",\n \"javascript\",\n \"js\",\n \"library\",\n \"logic\",\n \"mpa\",\n \"multi-precision\"\n ],\n \"license\": \"AGPL-3.0\",\n \"main\": \"lib/index.js\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/aureooms/js-integer.git\"\n },\n \"scripts\": {\n \"build\": \"rm -rf lib && babel src -d lib\",\n \"cover\": \"nyc --reporter=lcov npm test\",\n \"esdoc\": \"esdoc\",\n \"prepare\": \"npm run build\",\n \"release\": \"np\",\n \"test\": \"ava\"\n }\n}\n", + "content": "{\n \"name\": \"@aureooms/js-integer\",\n \"description\": \"Integers for JavaScript\",\n \"version\": \"5.0.0\",\n \"author\": \"Aurélien Ooms \",\n \"ava\": {\n \"require\": [\n \"@babel/polyfill\",\n \"@babel/register\"\n ],\n \"files\": [\n \"test/src/**/*\"\n ],\n \"timeout\": \"1m\",\n \"concurrency\": 8\n },\n \"babel\": {\n \"presets\": [\n \"@babel/preset-env\"\n ],\n \"env\": {\n \"development\": {\n \"sourceMaps\": \"inline\"\n }\n }\n },\n \"bugs\": {\n \"url\": \"https://github.com/aureooms/js-integer/issues\"\n },\n \"dependencies\": {\n \"@aureooms/js-error\": \"^4.0.0\",\n \"@aureooms/js-integer-big-endian\": \"^8.0.0\"\n },\n \"devDependencies\": {\n \"@aureooms/js-algorithms\": \"3.0.7\",\n \"@aureooms/js-array\": \"4.0.0\",\n \"@aureooms/js-itertools\": \"^4.0.0\",\n \"@aureooms/js-operator\": \"1.0.2\",\n \"@aureooms/js-random\": \"2.0.0\",\n \"@aureooms/js-string\": \"0.2.0\",\n \"@babel/cli\": \"7.8.4\",\n \"@babel/core\": \"7.9.6\",\n \"@babel/polyfill\": \"7.8.7\",\n \"@babel/preset-env\": \"7.9.6\",\n \"@babel/register\": \"7.9.0\",\n \"ava\": \"3.8.1\",\n \"coveralls\": \"3.1.0\",\n \"esdoc\": \"1.1.0\",\n \"esdoc-inject-script-plugin\": \"1.0.0\",\n \"esdoc-inject-style-plugin\": \"1.0.0\",\n \"esdoc-standard-plugin\": \"1.0.0\",\n \"np\": \"6.2.3\",\n \"nyc\": \"15.0.1\"\n },\n \"files\": [\n \"lib\"\n ],\n \"homepage\": \"https://aureooms.github.io/js-integer\",\n \"keywords\": [\n \"algorithm\",\n \"arithmetic\",\n \"bignum\",\n \"complexity\",\n \"integer\",\n \"javascript\",\n \"js\",\n \"library\",\n \"logic\",\n \"mpa\",\n \"multi-precision\"\n ],\n \"license\": \"AGPL-3.0\",\n \"main\": \"lib/index.js\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/aureooms/js-integer.git\"\n },\n \"scripts\": {\n \"build\": \"rm -rf lib && babel src -d lib\",\n \"cover\": \"nyc --reporter=lcov npm test\",\n \"esdoc\": \"esdoc\",\n \"prepare\": \"npm run build\",\n \"release\": \"np\",\n \"test\": \"ava\"\n }\n}\n", "longname": "/home/aureooms/dev/js/js-integer/package.json", "name": "package.json", "static": true, @@ -2737,7 +3866,7 @@ "kind": "manual", "longname": "/home/aureooms/dev/js/js-integer/doc/manual/usage.md", "name": "./doc/manual/usage.md", - "content": "# Usage\nThe code needs a ES2015+ polyfill to work, for example\n[@babel/polyfill](https://babeljs.io/docs/usage/polyfill).\n```js\nrequire( '@babel/polyfill' ) ;\n// or\nimport '@babel/polyfill' ;\n```\n\nThen\n```js\nconst integer = require( '@aureooms/js-integer' ) ;\n// or\nimport * as integer from '@aureooms/js-integer' ;\n```\n", + "content": "# Usage\n\nThe code needs a ES2015+ polyfill to work, for example\n[@babel/polyfill](https://babeljs.io/docs/usage/polyfill).\n```js\nrequire( '@babel/polyfill' ) ;\n// or\nimport '@babel/polyfill' ;\n```\n\nThen\n```js\nconst integer = require( '@aureooms/js-integer' ) ;\n// or\nimport * as integer from '@aureooms/js-integer' ;\n```\n\n## Notation\n\nThe Notation tries to emulate the notation in [bn.js](https://github.com/indutny/bn.js).\n\n## Instructions\n\nPrefixes/postfixes are put in parens at the of the line.\n\n\n### Initialization\n\n* [x] `ZZ.from(object, base = undefined, is_negative = 0)` (Base is guessed depending on object type if `undefined`, default is 10.)\n\n### Copying\n\n* [x] `a.clone()` - clone number\n* [x] `a.move(b)` - copy `a`'s' properties to `b`\n\n> Note that we plan to be pure in the future.\n\n\n### Comparison\n\n* [x] `a.cmp(b)` - compare numbers and return `-1` (a `<` b), `0` (a `=` b), or `1` (a `>` b) depending on the comparison result (`cmpn`)\n* [x] `a.lt(b)` - `a` less than `b` (`n`)\n* [x] `a.le(b)` - `a` less than or equals `b` (`n`)\n* [x] `a.gt(b)` - `a` greater than `b` (`n`)\n* [x] `a.ge(b)` - `a` greater than or equals `b` (`n`)\n* [x] `a.eq(b)` - `a` equals `b` (`n`)\n\n\n### Integer Arithmetic\n\n* [x] `a.negate()` - negate sign (`ineg` in bn.js)\n* [x] `a.opposite()` - negate sign (`neg` in bn.js)\n* [x] `a.abs()` - absolute value (`i`)\n\n* [x] `a.add(b)` - addition (`i`, `n`, `in`)\n* [x] `a.sub(b)` - subtraction (`i`, `n`, `in`)\n* [x] `a.mul(b)` - multiply (`i`, `n`, `in`)\n* [x] `a.square()` - square (`i`, `sqr` in bn.js)\n* [x] `a.pow(b)` - raise `a` to the power of `b` (`i`, `n`, `in`)\n\n* [x] `[q,r] = a.divmod(b)` - divide (`i`, `n`)\n* [x] `q = a.div(b)` - division quotient (`u`, `n`)\n* [x] `r = a.mod(b)` - division remained (`u`, `n`) (but no `umodn`)\n* [x] `q = a.divround(b)` - rounded division\n\n> In the future, remove in-place operations. They make very little sense except\n> in a few exceptional cases like increment/decrement. If the result is too big\n> to fit in the original array we will have to resize it to make it fit anyway.\n> Maybe little endianess would save the day in that case. Who knows...\n> Could use an immutable flag that is set as soon as a shallow copy is made?\n> Then all operations could try to run in-place if no shallow copy exists.\n\n### Greatest Common Divisor\n\n* [x] `a.gcd(b)` - GCD\n* [x] `a.egcd(b)` - Extended GCD results (`{ gcd: ..., x: ..., y: ..., u: ..., v: ... }`)\n\n\n### Modular Arithmetic\n\n* [ ] `ZZ(n)` - integers modulo `n`\n* [ ] `ZZ(n).get(3)` - `returns the equivalence class [3]_n`\n* [ ] `a.add(b)` - no comment\n* [ ] `a.sub(b)` - no comment\n* [ ] `a.mul(b)` - no comment\n* [ ] `a.inv()` - inverse `a` modulo `n`\n* [ ] `a.square()` - no comment\n* [ ] `a.pow(b)` - no comment\n\n\n### Bit operations\n\nWe should really have two packages:\n\n - One for immutable, keyable, hashable integers.\n - One for safe in-place word array manipulation.\n\nThere are multiple reasons for this:\n\n - Some bit operations do not really care about endianess\n - It only works efficiently with a radix that is a power of 2\n\nQ: Does it make any sense to have those operations defined for unbounded\nintegers?\n\nThe following will be implemented in a package to come.\n\n* [ ] `a.or(b)` - or (`i`, `u`, `iu`)\n* [ ] `a.and(b)` - and (`i`, `u`, `iu`, `andln`) (NOTE: `andln` is going to be replaced with `andn` in future)\n* [ ] `a.xor(b)` - xor (`i`, `u`, `iu`)\n* [ ] `a.setn(b)` - set specified bit to `1`\n* [ ] `a.shln(b)` - shift left (`i`, `u`, `iu`)\n* [ ] `a.shrn(b)` - shift right (`i`, `u`, `iu`)\n* [ ] `a.testn(b)` - test if specified bit is set\n* [ ] `a.maskn(b)` - clear bits with indexes higher or equal to `b` (`i`)\n* [ ] `a.bincn(b)` - add `1 << b` to the number\n* [ ] `a.notn(w)` - not (for the width specified by `w`) (`i`)\n\n### Test\n\n* [x] `a.sign()` - return -1, 0, 1\n* [x] `a.iszero()` - no comments\n* [x] `a.isone()` - no comments\n* [x] `a.ispositive()` - no comments\n* [x] `a.isnegative()` - no comments\n* [x] `a.isnonnegative()` - no comments\n* [x] `a.isnonpositive()` - no comments\n* [x] `a.iseven()` - no comments\n* [x] `a.isodd()` - no comments\n* [x] `a.divides(b)` - no comments\n\n### Utilities\n\n* [x] `ZZ.has(object)` - returns true if the supplied `object` is an integer.\n* [x] `ZZ.max(a, b)` - return `a` if `a` larger than `b`.\n* [x] `ZZ.min(a, b)` - return `a` if `a` smaller than `b`.\n* [ ] `a.bitLength()` - get number of bits occupied\n* [ ] `a.zeroBits()` - return number of less-significant consequent zero bits (example: `1010000` has 4 zero bits)\n* [ ] `a.byteLength()` - return number of bytes occupied\n* [ ] `a.toTwos(width)` - convert to two's complement representation, where `width` is bit width\n* [ ] `a.fromTwos(width)` - convert from two's complement representation, where `width` is the bit width\n\n### Conversion\n* [x] `a.toString(base=10)` - convert to base-string (No zero padding, this is up to you)\n* [x] `a.bin()` - alias for `a.toString(2)`\n* [x] `a.oct()` - alias for `a.toString(8)`\n* [x] `a.hex()` - alias for `a.toString(16)`\n* [x] `d = a.digits(base=10)` - returns little endian array of digits in given base so that d[0] is the first digit, d[1] the second, etc.\n* [x] `a.bin()` - alias for `a.digits(2)`.\n* [x] `a.valueOf()` - convert to Javascript Number (limited to 53 bits `toNumber` in bn.js)\n* [x] `a.toJSON()` - convert to JSON compatible hex string (alias of `toString(16)`)\n* [ ] `a.to(type, endian, length)` - convert to an instance of `type`, which must behave like an `Array` (`toArrayLike` in bn.js)\n* [ ] `a.toArray(endian, length)` - convert to byte `Array`, and optionally zero pad to length, throwing if already exceeding\n* [ ] `a.toBuffer(endian, length)` - convert to Node.js Buffer (if available). For compatibility with browserify and similar tools, use this instead: `a.toArrayLike(Buffer, endian, length)`\n", "static": true, "access": "public" }, @@ -2745,7 +3874,7 @@ "kind": "manual", "longname": "/home/aureooms/dev/js/js-integer/doc/manual/example.md", "name": "./doc/manual/example.md", - "content": "# Examples\n", + "content": "# Examples\n\n> More examples in [the test files](https://github.com/aureooms/js-integer/tree/master/test/src).\n\n```js\nimport { ZZ } from '@aureooms/js-integer' ;\n\nconst a = ZZ.from( 'dead' , 16 ) ;\nconst b = ZZ.from( '101010' , 2 ) ;\n\nconst c = a.add(b);\nconsole.log(c.toString()); // 57047\n```\n\n**Note**: decimals are not supported in this library.\n", "static": true, "access": "public" } diff --git a/manual/example.html b/manual/example.html index a52bf82..0b4553c 100644 --- a/manual/example.html +++ b/manual/example.html @@ -46,6 +46,18 @@
    @@ -57,7 +69,19 @@
    -

    Examples

    +

    Examples

    +

    More examples in the test files.

    +
    +
    import { ZZ } from '@aureooms/js-integer' ;
    +
    +const a = ZZ.from( 'dead' , 16 ) ;
    +const b = ZZ.from( '101010' , 2 ) ;
    +
    +const c = a.add(b);
    +console.log(c.toString()); // 57047
    +
    +

    Note: decimals are not supported in this library.

    +
    @@ -89,13 +101,122 @@

    Then

    const integer = require( '@aureooms/js-integer' ) ;
     // or
     import * as integer from '@aureooms/js-integer' ;
    -
    +

    Notation

    The Notation tries to emulate the notation in bn.js.

    Instructions

    Prefixes/postfixes are put in parens at the of the line.

    Initialization

      +
    • [x] ZZ.from(object, base = undefined, is_negative = 0) (Base is guessed depending on object type if undefined, default is 10.)
    • +

    Copying

      +
    • [x] a.clone() - clone number
    • +
    • [x] a.move(b) - copy a's' properties to b
    • +
    +

    Note that we plan to be pure in the future.

    +

    Comparison

      +
    • [x] a.cmp(b) - compare numbers and return -1 (a < b), 0 (a = b), or 1 (a > b) depending on the comparison result (cmpn)
    • +
    • [x] a.lt(b) - a less than b (n)
    • +
    • [x] a.le(b) - a less than or equals b (n)
    • +
    • [x] a.gt(b) - a greater than b (n)
    • +
    • [x] a.ge(b) - a greater than or equals b (n)
    • +
    • [x] a.eq(b) - a equals b (n)
    • +

    Integer Arithmetic

      +
    • [x] a.negate() - negate sign (ineg in bn.js)
    • +
    • [x] a.opposite() - negate sign (neg in bn.js)
    • +
    • [x] a.abs() - absolute value (i)

      +
    • +
    • [x] a.add(b) - addition (i, n, in)

      +
    • +
    • [x] a.sub(b) - subtraction (i, n, in)
    • +
    • [x] a.mul(b) - multiply (i, n, in)
    • +
    • [x] a.square() - square (i, sqr in bn.js)
    • +
    • [x] a.pow(b) - raise a to the power of b (i, n, in)

      +
    • +
    • [x] [q,r] = a.divmod(b) - divide (i, n)

      +
    • +
    • [x] q = a.div(b) - division quotient (u, n)
    • +
    • [x] r = a.mod(b) - division remained (u, n) (but no umodn)
    • +
    • [x] q = a.divround(b) - rounded division
    • +
    +

    In the future, remove in-place operations. They make very little sense except +in a few exceptional cases like increment/decrement. If the result is too big +to fit in the original array we will have to resize it to make it fit anyway. +Maybe little endianess would save the day in that case. Who knows... +Could use an immutable flag that is set as soon as a shallow copy is made? +Then all operations could try to run in-place if no shallow copy exists.

    +

    Greatest Common Divisor

      +
    • [x] a.gcd(b) - GCD
    • +
    • [x] a.egcd(b) - Extended GCD results ({ gcd: ..., x: ..., y: ..., u: ..., v: ... })
    • +

    Modular Arithmetic

      +
    • [ ] ZZ(n) - integers modulo n
    • +
    • [ ] ZZ(n).get(3) - returns the equivalence class [3]_n
    • +
    • [ ] a.add(b) - no comment
    • +
    • [ ] a.sub(b) - no comment
    • +
    • [ ] a.mul(b) - no comment
    • +
    • [ ] a.inv() - inverse a modulo n
    • +
    • [ ] a.square() - no comment
    • +
    • [ ] a.pow(b) - no comment
    • +

    Bit operations

    We should really have two packages:

      +
    • One for immutable, keyable, hashable integers.
    • +
    • One for safe in-place word array manipulation.
    • +

    There are multiple reasons for this:

      +
    • Some bit operations do not really care about endianess
    • +
    • It only works efficiently with a radix that is a power of 2
    • +

    Q: Does it make any sense to have those operations defined for unbounded +integers?

    The following will be implemented in a package to come.

      +
    • [ ] a.or(b) - or (i, u, iu)
    • +
    • [ ] a.and(b) - and (i, u, iu, andln) (NOTE: andln is going to be replaced with andn in future)
    • +
    • [ ] a.xor(b) - xor (i, u, iu)
    • +
    • [ ] a.setn(b) - set specified bit to 1
    • +
    • [ ] a.shln(b) - shift left (i, u, iu)
    • +
    • [ ] a.shrn(b) - shift right (i, u, iu)
    • +
    • [ ] a.testn(b) - test if specified bit is set
    • +
    • [ ] a.maskn(b) - clear bits with indexes higher or equal to b (i)
    • +
    • [ ] a.bincn(b) - add 1 << b to the number
    • +
    • [ ] a.notn(w) - not (for the width specified by w) (i)
    • +

    Test

      +
    • [x] a.sign() - return -1, 0, 1
    • +
    • [x] a.iszero() - no comments
    • +
    • [x] a.isone() - no comments
    • +
    • [x] a.ispositive() - no comments
    • +
    • [x] a.isnegative() - no comments
    • +
    • [x] a.isnonnegative() - no comments
    • +
    • [x] a.isnonpositive() - no comments
    • +
    • [x] a.iseven() - no comments
    • +
    • [x] a.isodd() - no comments
    • +
    • [x] a.divides(b) - no comments
    • +

    Utilities

      +
    • [x] ZZ.has(object) - returns true if the supplied object is an integer.
    • +
    • [x] ZZ.max(a, b) - return a if a larger than b.
    • +
    • [x] ZZ.min(a, b) - return a if a smaller than b.
    • +
    • [ ] a.bitLength() - get number of bits occupied
    • +
    • [ ] a.zeroBits() - return number of less-significant consequent zero bits (example: 1010000 has 4 zero bits)
    • +
    • [ ] a.byteLength() - return number of bytes occupied
    • +
    • [ ] a.toTwos(width) - convert to two's complement representation, where width is bit width
    • +
    • [ ] a.fromTwos(width) - convert from two's complement representation, where width is the bit width
    • +

    Conversion

      +
    • [x] a.toString(base=10) - convert to base-string (No zero padding, this is up to you)
    • +
    • [x] a.bin() - alias for a.toString(2)
    • +
    • [x] a.oct() - alias for a.toString(8)
    • +
    • [x] a.hex() - alias for a.toString(16)
    • +
    • [x] d = a.digits(base=10) - returns little endian array of digits in given base so that d[0] is the first digit, d[1] the second, etc.
    • +
    • [x] a.bin() - alias for a.digits(2).
    • +
    • [x] a.valueOf() - convert to Javascript Number (limited to 53 bits toNumber in bn.js)
    • +
    • [x] a.toJSON() - convert to JSON compatible hex string (alias of toString(16))
    • +
    • [ ] a.to(type, endian, length) - convert to an instance of type, which must behave like an Array (toArrayLike in bn.js)
    • +
    • [ ] a.toArray(endian, length) - convert to byte Array, and optionally zero pad to length, throwing if already exceeding
    • +
    • [ ] a.toBuffer(endian, length) - convert to Node.js Buffer (if available). For compatibility with browserify and similar tools, use this instead: a.toArrayLike(Buffer, endian, length)
    • +

    -

    Examples

    +

    Examples

    +

    More examples in the test files.

    +
    import { ZZ } from '@aureooms/js-integer' ;
    +
    +const a = ZZ.from( 'dead' , 16 ) ;
    +const b = ZZ.from( '101010' , 2 ) ;
    +
    +const c = a.add(b);
    +console.log(c.toString()); // 57047
    +

    Note: decimals are not supported in this library.

    diff --git a/manual/installation.html b/manual/installation.html index f771182..4bd15c9 100644 --- a/manual/installation.html +++ b/manual/installation.html @@ -46,6 +46,18 @@
    diff --git a/manual/overview.html b/manual/overview.html index 8608465..78b14ef 100644 --- a/manual/overview.html +++ b/manual/overview.html @@ -46,6 +46,18 @@
    diff --git a/manual/usage.html b/manual/usage.html index 12dbd7e..084c458 100644 --- a/manual/usage.html +++ b/manual/usage.html @@ -46,6 +46,18 @@
    @@ -68,6 +80,126 @@ // or import * as integer from '@aureooms/js-integer' ; +

    Notation

    The Notation tries to emulate the notation in bn.js.

    +

    Instructions

    Prefixes/postfixes are put in parens at the of the line.

    +

    Initialization

      +
    • [x] ZZ.from(object, base = undefined, is_negative = 0) (Base is guessed depending on object type if undefined, default is 10.)
    • +
    +

    Copying

      +
    • [x] a.clone() - clone number
    • +
    • [x] a.move(b) - copy a's' properties to b
    • +
    +
    +

    Note that we plan to be pure in the future.

    +
    +

    Comparison

      +
    • [x] a.cmp(b) - compare numbers and return -1 (a < b), 0 (a = b), or 1 (a > b) depending on the comparison result (cmpn)
    • +
    • [x] a.lt(b) - a less than b (n)
    • +
    • [x] a.le(b) - a less than or equals b (n)
    • +
    • [x] a.gt(b) - a greater than b (n)
    • +
    • [x] a.ge(b) - a greater than or equals b (n)
    • +
    • [x] a.eq(b) - a equals b (n)
    • +
    +

    Integer Arithmetic

      +
    • [x] a.negate() - negate sign (ineg in bn.js)
    • +
    • [x] a.opposite() - negate sign (neg in bn.js)
    • +
    • [x] a.abs() - absolute value (i)

      +
    • +
    • [x] a.add(b) - addition (i, n, in)

      +
    • +
    • [x] a.sub(b) - subtraction (i, n, in)
    • +
    • [x] a.mul(b) - multiply (i, n, in)
    • +
    • [x] a.square() - square (i, sqr in bn.js)
    • +
    • [x] a.pow(b) - raise a to the power of b (i, n, in)

      +
    • +
    • [x] [q,r] = a.divmod(b) - divide (i, n)

      +
    • +
    • [x] q = a.div(b) - division quotient (u, n)
    • +
    • [x] r = a.mod(b) - division remained (u, n) (but no umodn)
    • +
    • [x] q = a.divround(b) - rounded division
    • +
    +
    +

    In the future, remove in-place operations. They make very little sense except +in a few exceptional cases like increment/decrement. If the result is too big +to fit in the original array we will have to resize it to make it fit anyway. +Maybe little endianess would save the day in that case. Who knows... +Could use an immutable flag that is set as soon as a shallow copy is made? +Then all operations could try to run in-place if no shallow copy exists.

    +
    +

    Greatest Common Divisor

      +
    • [x] a.gcd(b) - GCD
    • +
    • [x] a.egcd(b) - Extended GCD results ({ gcd: ..., x: ..., y: ..., u: ..., v: ... })
    • +
    +

    Modular Arithmetic

      +
    • [ ] ZZ(n) - integers modulo n
    • +
    • [ ] ZZ(n).get(3) - returns the equivalence class [3]_n
    • +
    • [ ] a.add(b) - no comment
    • +
    • [ ] a.sub(b) - no comment
    • +
    • [ ] a.mul(b) - no comment
    • +
    • [ ] a.inv() - inverse a modulo n
    • +
    • [ ] a.square() - no comment
    • +
    • [ ] a.pow(b) - no comment
    • +
    +

    Bit operations

    We should really have two packages:

    +
      +
    • One for immutable, keyable, hashable integers.
    • +
    • One for safe in-place word array manipulation.
    • +
    +

    There are multiple reasons for this:

    +
      +
    • Some bit operations do not really care about endianess
    • +
    • It only works efficiently with a radix that is a power of 2
    • +
    +

    Q: Does it make any sense to have those operations defined for unbounded +integers?

    +

    The following will be implemented in a package to come.

    +
      +
    • [ ] a.or(b) - or (i, u, iu)
    • +
    • [ ] a.and(b) - and (i, u, iu, andln) (NOTE: andln is going to be replaced with andn in future)
    • +
    • [ ] a.xor(b) - xor (i, u, iu)
    • +
    • [ ] a.setn(b) - set specified bit to 1
    • +
    • [ ] a.shln(b) - shift left (i, u, iu)
    • +
    • [ ] a.shrn(b) - shift right (i, u, iu)
    • +
    • [ ] a.testn(b) - test if specified bit is set
    • +
    • [ ] a.maskn(b) - clear bits with indexes higher or equal to b (i)
    • +
    • [ ] a.bincn(b) - add 1 << b to the number
    • +
    • [ ] a.notn(w) - not (for the width specified by w) (i)
    • +
    +

    Test

      +
    • [x] a.sign() - return -1, 0, 1
    • +
    • [x] a.iszero() - no comments
    • +
    • [x] a.isone() - no comments
    • +
    • [x] a.ispositive() - no comments
    • +
    • [x] a.isnegative() - no comments
    • +
    • [x] a.isnonnegative() - no comments
    • +
    • [x] a.isnonpositive() - no comments
    • +
    • [x] a.iseven() - no comments
    • +
    • [x] a.isodd() - no comments
    • +
    • [x] a.divides(b) - no comments
    • +
    +

    Utilities

      +
    • [x] ZZ.has(object) - returns true if the supplied object is an integer.
    • +
    • [x] ZZ.max(a, b) - return a if a larger than b.
    • +
    • [x] ZZ.min(a, b) - return a if a smaller than b.
    • +
    • [ ] a.bitLength() - get number of bits occupied
    • +
    • [ ] a.zeroBits() - return number of less-significant consequent zero bits (example: 1010000 has 4 zero bits)
    • +
    • [ ] a.byteLength() - return number of bytes occupied
    • +
    • [ ] a.toTwos(width) - convert to two's complement representation, where width is bit width
    • +
    • [ ] a.fromTwos(width) - convert from two's complement representation, where width is the bit width
    • +
    +

    Conversion

      +
    • [x] a.toString(base=10) - convert to base-string (No zero padding, this is up to you)
    • +
    • [x] a.bin() - alias for a.toString(2)
    • +
    • [x] a.oct() - alias for a.toString(8)
    • +
    • [x] a.hex() - alias for a.toString(16)
    • +
    • [x] d = a.digits(base=10) - returns little endian array of digits in given base so that d[0] is the first digit, d[1] the second, etc.
    • +
    • [x] a.bin() - alias for a.digits(2).
    • +
    • [x] a.valueOf() - convert to Javascript Number (limited to 53 bits toNumber in bn.js)
    • +
    • [x] a.toJSON() - convert to JSON compatible hex string (alias of toString(16))
    • +
    • [ ] a.to(type, endian, length) - convert to an instance of type, which must behave like an Array (toArrayLike in bn.js)
    • +
    • [ ] a.toArray(endian, length) - convert to byte Array, and optionally zero pad to length, throwing if already exceeding
    • +
    • [ ] a.toBuffer(endian, length) - convert to Node.js Buffer (if available). For compatibility with browserify and similar tools, use this instead: a.toArrayLike(Buffer, endian, length)
    • +

    diff --git a/script/search_index.js b/script/search_index.js index 4ea3b46..987818f 100644 --- a/script/search_index.js +++ b/script/search_index.js @@ -11,6 +11,12 @@ window.esdocSearchIndex = [ "$1 @aureooms/js-integer/src/integer.js", "function" ], + [ + "@aureooms/js-integer/src/integer.js~$_1", + "function/index.html#static-function-$_1", + "$_1 @aureooms/js-integer/src/integer.js", + "function" + ], [ "@aureooms/js-integer/src/default_display_base.js~default_display_base", "variable/index.html#static-variable-DEFAULT_DISPLAY_BASE", @@ -35,6 +41,30 @@ window.esdocSearchIndex = [ "IntegerRing @aureooms/js-integer/src/IntegerRing.js", "class" ], + [ + "@aureooms/js-integer/src/_limits.js~max_base", + "variable/index.html#static-variable-MAX_BASE", + "MAX_BASE @aureooms/js-integer/src/_limits.js", + "variable" + ], + [ + "@aureooms/js-integer/src/_limits.js~max_number", + "variable/index.html#static-variable-MAX_NUMBER", + "MAX_NUMBER @aureooms/js-integer/src/_limits.js", + "variable" + ], + [ + "@aureooms/js-integer/src/_limits.js~min_base", + "variable/index.html#static-variable-MIN_BASE", + "MIN_BASE @aureooms/js-integer/src/_limits.js", + "variable" + ], + [ + "@aureooms/js-integer/src/_limits.js~min_number", + "variable/index.html#static-variable-MIN_NUMBER", + "MIN_NUMBER @aureooms/js-integer/src/_limits.js", + "variable" + ], [ "@aureooms/js-integer/src/zz.js~zz", "variable/index.html#static-variable-ZZ", @@ -47,6 +77,12 @@ window.esdocSearchIndex = [ "ZeroDivisionError @aureooms/js-integer/src/ZeroDivisionError.js", "class" ], + [ + "@aureooms/js-integer/src/_from_number.js~_from_number", + "function/index.html#static-function-_from_number", + "_from_number @aureooms/js-integer/src/_from_number.js", + "function" + ], [ "@aureooms/js-integer/src/integer.js~add", "function/index.html#static-function-add", @@ -437,12 +473,24 @@ window.esdocSearchIndex = [ "src/Integer.js~Integer#_limbs_in_base", "method" ], + [ + "src/integer.js~integer#abs", + "class/src/Integer.js~Integer.html#instance-method-abs", + "src/Integer.js~Integer#abs", + "method" + ], [ "src/integer.js~integer#add", "class/src/Integer.js~Integer.html#instance-method-add", "src/Integer.js~Integer#add", "method" ], + [ + "src/integer.js~integer#addn", + "class/src/Integer.js~Integer.html#instance-method-addn", + "src/Integer.js~Integer#addn", + "method" + ], [ "src/integer.js~integer#base", "class/src/Integer.js~Integer.html#instance-member-base", @@ -461,6 +509,12 @@ window.esdocSearchIndex = [ "src/Integer.js~Integer#bits", "method" ], + [ + "src/integer.js~integer#clone", + "class/src/Integer.js~Integer.html#instance-method-clone", + "src/Integer.js~Integer#clone", + "method" + ], [ "src/integer.js~integer#cmp", "class/src/Integer.js~Integer.html#instance-method-cmp", @@ -468,15 +522,15 @@ window.esdocSearchIndex = [ "method" ], [ - "src/integer.js~integer#constructor", - "class/src/Integer.js~Integer.html#instance-constructor-constructor", - "src/Integer.js~Integer#constructor", + "src/integer.js~integer#cmpn", + "class/src/Integer.js~Integer.html#instance-method-cmpn", + "src/Integer.js~Integer#cmpn", "method" ], [ - "src/integer.js~integer#copy", - "class/src/Integer.js~Integer.html#instance-method-copy", - "src/Integer.js~Integer#copy", + "src/integer.js~integer#constructor", + "class/src/Integer.js~Integer.html#instance-constructor-constructor", + "src/Integer.js~Integer#constructor", "method" ], [ @@ -509,72 +563,198 @@ window.esdocSearchIndex = [ "src/Integer.js~Integer#divmod", "method" ], + [ + "src/integer.js~integer#divn", + "class/src/Integer.js~Integer.html#instance-method-divn", + "src/Integer.js~Integer#divn", + "method" + ], + [ + "src/integer.js~integer#divround", + "class/src/Integer.js~Integer.html#instance-method-divround", + "src/Integer.js~Integer#divround", + "method" + ], + [ + "src/integer.js~integer#egcd", + "class/src/Integer.js~Integer.html#instance-method-egcd", + "src/Integer.js~Integer#egcd", + "method" + ], [ "src/integer.js~integer#eq", "class/src/Integer.js~Integer.html#instance-method-eq", "src/Integer.js~Integer#eq", "method" ], + [ + "src/integer.js~integer#eqn", + "class/src/Integer.js~Integer.html#instance-method-eqn", + "src/Integer.js~Integer#eqn", + "method" + ], + [ + "src/integer.js~integer#gcd", + "class/src/Integer.js~Integer.html#instance-method-gcd", + "src/Integer.js~Integer#gcd", + "method" + ], [ "src/integer.js~integer#ge", "class/src/Integer.js~Integer.html#instance-method-ge", "src/Integer.js~Integer#ge", "method" ], + [ + "src/integer.js~integer#gen", + "class/src/Integer.js~Integer.html#instance-method-gen", + "src/Integer.js~Integer#gen", + "method" + ], [ "src/integer.js~integer#gt", "class/src/Integer.js~Integer.html#instance-method-gt", "src/Integer.js~Integer#gt", "method" ], + [ + "src/integer.js~integer#gtn", + "class/src/Integer.js~Integer.html#instance-method-gtn", + "src/Integer.js~Integer#gtn", + "method" + ], [ "src/integer.js~integer#hex", "class/src/Integer.js~Integer.html#instance-method-hex", "src/Integer.js~Integer#hex", "method" ], + [ + "src/integer.js~integer#iabs", + "class/src/Integer.js~Integer.html#instance-method-iabs", + "src/Integer.js~Integer#iabs", + "method" + ], [ "src/integer.js~integer#iadd", "class/src/Integer.js~Integer.html#instance-method-iadd", "src/Integer.js~Integer#iadd", "method" ], + [ + "src/integer.js~integer#iaddn", + "class/src/Integer.js~Integer.html#instance-method-iaddn", + "src/Integer.js~Integer#iaddn", + "method" + ], [ "src/integer.js~integer#idiv", "class/src/Integer.js~Integer.html#instance-method-idiv", "src/Integer.js~Integer#idiv", "method" ], + [ + "src/integer.js~integer#idivmod", + "class/src/Integer.js~Integer.html#instance-method-idivmod", + "src/Integer.js~Integer#idivmod", + "method" + ], + [ + "src/integer.js~integer#idivn", + "class/src/Integer.js~Integer.html#instance-method-idivn", + "src/Integer.js~Integer#idivn", + "method" + ], [ "src/integer.js~integer#imod", "class/src/Integer.js~Integer.html#instance-method-imod", "src/Integer.js~Integer#imod", "method" ], + [ + "src/integer.js~integer#imodn", + "class/src/Integer.js~Integer.html#instance-method-imodn", + "src/Integer.js~Integer#imodn", + "method" + ], [ "src/integer.js~integer#imul", "class/src/Integer.js~Integer.html#instance-method-imul", "src/Integer.js~Integer#imul", "method" ], + [ + "src/integer.js~integer#imuln", + "class/src/Integer.js~Integer.html#instance-method-imuln", + "src/Integer.js~Integer#imuln", + "method" + ], [ "src/integer.js~integer#ipow", "class/src/Integer.js~Integer.html#instance-method-ipow", "src/Integer.js~Integer#ipow", "method" ], + [ + "src/integer.js~integer#ipown", + "class/src/Integer.js~Integer.html#instance-method-ipown", + "src/Integer.js~Integer#ipown", + "method" + ], [ "src/integer.js~integer#is_negative", "class/src/Integer.js~Integer.html#instance-member-is_negative", "src/Integer.js~Integer#is_negative", "member" ], + [ + "src/integer.js~integer#iseven", + "class/src/Integer.js~Integer.html#instance-method-iseven", + "src/Integer.js~Integer#iseven", + "method" + ], + [ + "src/integer.js~integer#isnegative", + "class/src/Integer.js~Integer.html#instance-method-isnegative", + "src/Integer.js~Integer#isnegative", + "method" + ], + [ + "src/integer.js~integer#isnonnegative", + "class/src/Integer.js~Integer.html#instance-method-isnonnegative", + "src/Integer.js~Integer#isnonnegative", + "method" + ], + [ + "src/integer.js~integer#isnonpositive", + "class/src/Integer.js~Integer.html#instance-method-isnonpositive", + "src/Integer.js~Integer#isnonpositive", + "method" + ], + [ + "src/integer.js~integer#isnonzero", + "class/src/Integer.js~Integer.html#instance-method-isnonzero", + "src/Integer.js~Integer#isnonzero", + "method" + ], + [ + "src/integer.js~integer#isodd", + "class/src/Integer.js~Integer.html#instance-method-isodd", + "src/Integer.js~Integer#isodd", + "method" + ], [ "src/integer.js~integer#isone", "class/src/Integer.js~Integer.html#instance-method-isone", "src/Integer.js~Integer#isone", "method" ], + [ + "src/integer.js~integer#ispositive", + "class/src/Integer.js~Integer.html#instance-method-ispositive", + "src/Integer.js~Integer#ispositive", + "method" + ], [ "src/integer.js~integer#isquare", "class/src/Integer.js~Integer.html#instance-method-isquare", @@ -587,6 +767,12 @@ window.esdocSearchIndex = [ "src/Integer.js~Integer#isub", "method" ], + [ + "src/integer.js~integer#isubn", + "class/src/Integer.js~Integer.html#instance-method-isubn", + "src/Integer.js~Integer#isubn", + "method" + ], [ "src/integer.js~integer#iszero", "class/src/Integer.js~Integer.html#instance-method-iszero", @@ -599,6 +785,12 @@ window.esdocSearchIndex = [ "src/Integer.js~Integer#le", "method" ], + [ + "src/integer.js~integer#len", + "class/src/Integer.js~Integer.html#instance-method-len", + "src/Integer.js~Integer#len", + "method" + ], [ "src/integer.js~integer#limbs", "class/src/Integer.js~Integer.html#instance-member-limbs", @@ -611,12 +803,24 @@ window.esdocSearchIndex = [ "src/Integer.js~Integer#lt", "method" ], + [ + "src/integer.js~integer#ltn", + "class/src/Integer.js~Integer.html#instance-method-ltn", + "src/Integer.js~Integer#ltn", + "method" + ], [ "src/integer.js~integer#mod", "class/src/Integer.js~Integer.html#instance-method-mod", "src/Integer.js~Integer#mod", "method" ], + [ + "src/integer.js~integer#modn", + "class/src/Integer.js~Integer.html#instance-method-modn", + "src/Integer.js~Integer#modn", + "method" + ], [ "src/integer.js~integer#move", "class/src/Integer.js~Integer.html#instance-method-move", @@ -629,6 +833,12 @@ window.esdocSearchIndex = [ "src/Integer.js~Integer#mul", "method" ], + [ + "src/integer.js~integer#muln", + "class/src/Integer.js~Integer.html#instance-method-muln", + "src/Integer.js~Integer#muln", + "method" + ], [ "src/integer.js~integer#ne", "class/src/Integer.js~Integer.html#instance-method-ne", @@ -642,9 +852,9 @@ window.esdocSearchIndex = [ "method" ], [ - "src/integer.js~integer#nonzero", - "class/src/Integer.js~Integer.html#instance-method-nonzero", - "src/Integer.js~Integer#nonzero", + "src/integer.js~integer#nen", + "class/src/Integer.js~Integer.html#instance-method-nen", + "src/Integer.js~Integer#nen", "method" ], [ @@ -659,12 +869,24 @@ window.esdocSearchIndex = [ "src/Integer.js~Integer#opposite", "method" ], + [ + "src/integer.js~integer#parity", + "class/src/Integer.js~Integer.html#instance-method-parity", + "src/Integer.js~Integer#parity", + "method" + ], [ "src/integer.js~integer#pow", "class/src/Integer.js~Integer.html#instance-method-pow", "src/Integer.js~Integer#pow", "method" ], + [ + "src/integer.js~integer#pown", + "class/src/Integer.js~Integer.html#instance-method-pown", + "src/Integer.js~Integer#pown", + "method" + ], [ "src/integer.js~integer#sign", "class/src/Integer.js~Integer.html#instance-method-sign", @@ -683,12 +905,36 @@ window.esdocSearchIndex = [ "src/Integer.js~Integer#sub", "method" ], + [ + "src/integer.js~integer#subn", + "class/src/Integer.js~Integer.html#instance-method-subn", + "src/Integer.js~Integer#subn", + "method" + ], + [ + "src/integer.js~integer#tojson", + "class/src/Integer.js~Integer.html#instance-method-toJSON", + "src/Integer.js~Integer#toJSON", + "method" + ], + [ + "src/integer.js~integer#tonumber", + "class/src/Integer.js~Integer.html#instance-method-toNumber", + "src/Integer.js~Integer#toNumber", + "method" + ], [ "src/integer.js~integer#tostring", "class/src/Integer.js~Integer.html#instance-method-toString", "src/Integer.js~Integer#toString", "method" ], + [ + "src/integer.js~integer#valueof", + "class/src/Integer.js~Integer.html#instance-method-valueOf", + "src/Integer.js~Integer#valueOf", + "method" + ], [ "src/integerring.js", "file/src/IntegerRing.js.html", @@ -707,6 +953,12 @@ window.esdocSearchIndex = [ "src/IntegerRing.js~IntegerRing#$1", "method" ], + [ + "src/integerring.js~integerring#$_1", + "class/src/IntegerRing.js~IntegerRing.html#instance-method-$_1", + "src/IntegerRing.js~IntegerRing#$_1", + "method" + ], [ "src/integerring.js~integerring#base", "class/src/IntegerRing.js~IntegerRing.html#instance-member-base", @@ -749,6 +1001,24 @@ window.esdocSearchIndex = [ "src/IntegerRing.js~IntegerRing#from_string", "method" ], + [ + "src/integerring.js~integerring#has", + "class/src/IntegerRing.js~IntegerRing.html#instance-method-has", + "src/IntegerRing.js~IntegerRing#has", + "method" + ], + [ + "src/integerring.js~integerring#max", + "class/src/IntegerRing.js~IntegerRing.html#instance-method-max", + "src/IntegerRing.js~IntegerRing#max", + "method" + ], + [ + "src/integerring.js~integerring#min", + "class/src/IntegerRing.js~IntegerRing.html#instance-method-min", + "src/IntegerRing.js~IntegerRing#min", + "method" + ], [ "src/integerring.js~integerring#name", "class/src/IntegerRing.js~IntegerRing.html#instance-member-name", @@ -785,6 +1055,18 @@ window.esdocSearchIndex = [ "src/ZeroDivisionError.js~ZeroDivisionError#toString", "method" ], + [ + "src/_from_number.js", + "file/src/_from_number.js.html", + "src/_from_number.js", + "file" + ], + [ + "src/_limits.js", + "file/src/_limits.js.html", + "src/_limits.js", + "file" + ], [ "src/index.js", "file/src/index.js.html", diff --git a/source.html b/source.html index 01c640e..10ba1f4 100644 --- a/source.html +++ b/source.html @@ -32,8 +32,10 @@
  • CInteger
  • CIntegerRing
  • CZeroDivisionError
  • +
  • F_from_number
  • F$0
  • F$1
  • +
  • F$_1
  • Fadd
  • Fdiv
  • Fiadd
  • @@ -51,11 +53,15 @@
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • +
  • VMAX_BASE
  • +
  • VMAX_NUMBER
  • +
  • VMIN_BASE
  • +
  • VMIN_NUMBER
  • -

    Source 1/78

    +

    Source 1/123

    @@ -87,20 +93,20 @@ - + - - - - + + + + - + - - - - + + + + @@ -118,18 +124,38 @@ + + + + + + + + + + + + + + + + - - - + + + - + - - - - + + + +
    2020-04-05 14:36:48 (UTC)
    src/Integer.jssrc/Integer.js Integer2 %1/447552 byte3642020-05-07 14:41:03 (UTC)1 %1/7912401 byte5662020-05-01 22:06:10 (UTC)
    src/IntegerRing.jssrc/IntegerRing.js IntegerRing0 %0/122756 byte972020-04-05 14:36:48 (UTC)0 %0/163054 byte1132020-05-01 22:06:10 (UTC)
    src/ZZ.js12 2020-04-05 14:36:48 (UTC)
    src/_from_number.js_from_number0 %0/1363 byte102020-05-01 21:06:18 (UTC)
    src/_limits.jsMAX_BASE +MAX_NUMBER +MIN_BASE +MIN_NUMBER0 %0/4233 byte52020-05-01 19:33:17 (UTC)
    src/index.js - -238 byte72020-04-05 14:36:48 (UTC)266 byte82020-05-01 20:27:28 (UTC)
    src/integer.jssrc/integer.js $0 $1 +$_1 add div iadd @@ -144,10 +170,10 @@ pow stringify sub0 %0/161249 byte652020-04-05 14:36:48 (UTC)0 %0/171297 byte692020-05-01 21:27:34 (UTC)
    diff --git a/variable/index.html b/variable/index.html index 82fec73..c17b6b7 100644 --- a/variable/index.html +++ b/variable/index.html @@ -32,8 +32,10 @@
  • CInteger
  • CIntegerRing
  • CZeroDivisionError
  • +
  • F_from_number
  • F$0
  • F$1
  • +
  • F$_1
  • Fadd
  • Fdiv
  • Fiadd
  • @@ -51,6 +53,10 @@
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • +
  • VMAX_BASE
  • +
  • VMAX_NUMBER
  • +
  • VMIN_BASE
  • +
  • VMIN_NUMBER
  • @@ -122,6 +128,118 @@ + + + +
    +

    + + + + MAX_BASE: * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + MAX_NUMBER: * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + MIN_BASE: number +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + MIN_NUMBER: * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -234,6 +352,178 @@

    +

    +
    +

    + public + + + + + + MAX_BASE: * + + + + source + +

    + +
    import {MAX_BASE} from '@aureooms/js-integer/src/_limits.js'
    + + + + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + MAX_NUMBER: * + + + + source + +

    + +
    import {MAX_NUMBER} from '@aureooms/js-integer/src/_limits.js'
    + + + + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + MIN_BASE: number + + + + source + +

    + +
    import {MIN_BASE} from '@aureooms/js-integer/src/_limits.js'
    + + + + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + MIN_NUMBER: * + + + + source + +

    + +
    import {MIN_NUMBER} from '@aureooms/js-integer/src/_limits.js'
    + + + + + + +
    +
    + + + + + + + + + + + + + + + + +

    From 7f0a67aed3fa2ef659b0e60363db429ac711ffae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Ooms?= Date: Mon, 4 May 2020 01:42:06 +0200 Subject: [PATCH 08/15] Generate docs. --- ast/source/Integer.js.json | 15593 ++++++++++---------- ast/source/IntegerRing.js.json | 3561 +++-- class/src/IntegerRing.js~IntegerRing.html | 16 +- coverage.json | 16 +- file/src/Integer.js.html | 16 +- file/src/IntegerRing.js.html | 2 + index.json | 22 +- source.html | 12 +- 8 files changed, 10398 insertions(+), 8840 deletions(-) diff --git a/ast/source/Integer.js.json b/ast/source/Integer.js.json index 1c3e768..b4f1b02 100644 --- a/ast/source/Integer.js.json +++ b/ast/source/Integer.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 12401, + "end": 12446, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 12401, + "end": 12446, "loc": { "start": { "line": 1, @@ -1392,7 +1392,7 @@ { "type": "ExportNamedDeclaration", "start": 480, - "end": 12400, + "end": 12445, "loc": { "start": { "line": 18, @@ -1408,7 +1408,7 @@ "declaration": { "type": "ClassDeclaration", "start": 487, - "end": 12400, + "end": 12445, "loc": { "start": { "line": 18, @@ -1440,7 +1440,7 @@ "body": { "type": "ClassBody", "start": 501, - "end": 12400, + "end": 12445, "loc": { "start": { "line": 18, @@ -13544,7 +13544,7 @@ { "type": "ClassMethod", "start": 4637, - "end": 4748, + "end": 4749, "loc": { "start": { "line": 219, @@ -13601,7 +13601,7 @@ "body": { "type": "BlockStatement", "start": 4654, - "end": 4748, + "end": 4749, "loc": { "start": { "line": 219, @@ -13616,7 +13616,7 @@ { "type": "ReturnStatement", "start": 4710, - "end": 4745, + "end": 4746, "loc": { "start": { "line": 221, @@ -13624,13 +13624,13 @@ }, "end": { "line": 221, - "column": 37 + "column": 38 } }, "argument": { "type": "CallExpression", "start": 4717, - "end": 4744, + "end": 4745, "loc": { "start": { "line": 221, @@ -13638,13 +13638,13 @@ }, "end": { "line": 221, - "column": 36 + "column": 37 } }, "callee": { "type": "MemberExpression", "start": 4717, - "end": 4738, + "end": 4739, "loc": { "start": { "line": 221, @@ -13652,13 +13652,13 @@ }, "end": { "line": 221, - "column": 30 + "column": 31 } }, "object": { "type": "CallExpression", "start": 4717, - "end": 4733, + "end": 4734, "loc": { "start": { "line": 221, @@ -13666,7 +13666,7 @@ }, "end": { "line": 221, - "column": 25 + "column": 26 } }, "callee": { @@ -13723,7 +13723,7 @@ { "type": "Identifier", "start": 4727, - "end": 4732, + "end": 4733, "loc": { "start": { "line": 221, @@ -13731,27 +13731,27 @@ }, "end": { "line": 221, - "column": 24 + "column": 25 }, - "identifierName": "other" + "identifierName": "number" }, - "name": "other" + "name": "number" } ], "leadingComments": null }, "property": { "type": "Identifier", - "start": 4734, - "end": 4738, + "start": 4735, + "end": 4739, "loc": { "start": { "line": 221, - "column": 26 + "column": 27 }, "end": { "line": 221, - "column": 30 + "column": 31 }, "identifierName": "move" }, @@ -13763,16 +13763,16 @@ "arguments": [ { "type": "ThisExpression", - "start": 4739, - "end": 4743, + "start": 4740, + "end": 4744, "loc": { "start": { "line": 221, - "column": 31 + "column": 32 }, "end": { "line": 221, - "column": 35 + "column": 36 } } } @@ -13804,8 +13804,8 @@ }, { "type": "ClassMethod", - "start": 4751, - "end": 4878, + "start": 4752, + "end": 4880, "loc": { "start": { "line": 224, @@ -13820,8 +13820,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4751, - "end": 4757, + "start": 4752, + "end": 4758, "loc": { "start": { "line": 224, @@ -13843,8 +13843,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4762, - "end": 4878, + "start": 4763, + "end": 4880, "loc": { "start": { "line": 224, @@ -13858,8 +13858,8 @@ "body": [ { "type": "ReturnStatement", - "start": 4856, - "end": 4875, + "start": 4857, + "end": 4877, "loc": { "start": { "line": 227, @@ -13867,13 +13867,13 @@ }, "end": { "line": 227, - "column": 21 + "column": 22 } }, "argument": { "type": "CallExpression", - "start": 4863, - "end": 4874, + "start": 4864, + "end": 4876, "loc": { "start": { "line": 227, @@ -13881,13 +13881,13 @@ }, "end": { "line": 227, - "column": 20 + "column": 21 } }, "callee": { "type": "MemberExpression", - "start": 4863, - "end": 4871, + "start": 4864, + "end": 4873, "loc": { "start": { "line": 227, @@ -13895,13 +13895,13 @@ }, "end": { "line": 227, - "column": 17 + "column": 18 } }, "object": { "type": "ThisExpression", - "start": 4863, - "end": 4867, + "start": 4864, + "end": 4868, "loc": { "start": { "line": 227, @@ -13916,8 +13916,8 @@ }, "property": { "type": "Identifier", - "start": 4868, - "end": 4871, + "start": 4869, + "end": 4873, "loc": { "start": { "line": 227, @@ -13925,11 +13925,11 @@ }, "end": { "line": 227, - "column": 17 + "column": 18 }, - "identifierName": "pow" + "identifierName": "pown" }, - "name": "pow" + "name": "pown" }, "computed": false, "leadingComments": null @@ -13937,16 +13937,16 @@ "arguments": [ { "type": "NumericLiteral", - "start": 4872, - "end": 4873, + "start": 4874, + "end": 4875, "loc": { "start": { "line": 227, - "column": 18 + "column": 19 }, "end": { "line": 227, - "column": 19 + "column": 20 } }, "extra": { @@ -13962,8 +13962,8 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 4766, - "end": 4815, + "start": 4767, + "end": 4816, "loc": { "start": { "line": 225, @@ -13978,8 +13978,8 @@ { "type": "CommentLine", "value": " TODO use this.mul(this) instead?", - "start": 4818, - "end": 4853, + "start": 4819, + "end": 4854, "loc": { "start": { "line": 226, @@ -13999,8 +13999,8 @@ }, { "type": "ClassMethod", - "start": 4881, - "end": 5011, + "start": 4883, + "end": 5025, "loc": { "start": { "line": 230, @@ -14015,8 +14015,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4881, - "end": 4888, + "start": 4883, + "end": 4890, "loc": { "start": { "line": 230, @@ -14038,8 +14038,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4893, - "end": 5011, + "start": 4895, + "end": 5025, "loc": { "start": { "line": 230, @@ -14053,8 +14053,8 @@ "body": [ { "type": "ReturnStatement", - "start": 4988, - "end": 5008, + "start": 4990, + "end": 5022, "loc": { "start": { "line": 233, @@ -14062,13 +14062,13 @@ }, "end": { "line": 233, - "column": 22 + "column": 34 } }, "argument": { "type": "CallExpression", - "start": 4995, - "end": 5007, + "start": 4997, + "end": 5021, "loc": { "start": { "line": 233, @@ -14076,13 +14076,13 @@ }, "end": { "line": 233, - "column": 21 + "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 4995, - "end": 5004, + "start": 4997, + "end": 5015, "loc": { "start": { "line": 233, @@ -14090,13 +14090,13 @@ }, "end": { "line": 233, - "column": 18 + "column": 27 } }, "object": { - "type": "ThisExpression", - "start": 4995, - "end": 4999, + "type": "CallExpression", + "start": 4997, + "end": 5010, "loc": { "start": { "line": 233, @@ -14104,51 +14104,97 @@ }, "end": { "line": 233, - "column": 13 + "column": 22 } }, + "callee": { + "type": "MemberExpression", + "start": 4997, + "end": 5008, + "loc": { + "start": { + "line": 233, + "column": 9 + }, + "end": { + "line": 233, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 4997, + "end": 5001, + "loc": { + "start": { + "line": 233, + "column": 9 + }, + "end": { + "line": 233, + "column": 13 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 5002, + "end": 5008, + "loc": { + "start": { + "line": 233, + "column": 14 + }, + "end": { + "line": 233, + "column": 20 + }, + "identifierName": "square" + }, + "name": "square" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [], "leadingComments": null }, "property": { "type": "Identifier", - "start": 5000, - "end": 5004, + "start": 5011, + "end": 5015, "loc": { "start": { "line": 233, - "column": 14 + "column": 23 }, "end": { "line": 233, - "column": 18 + "column": 27 }, - "identifierName": "ipow" + "identifierName": "move" }, - "name": "ipow" + "name": "move" }, "computed": false, "leadingComments": null }, "arguments": [ { - "type": "NumericLiteral", - "start": 5005, - "end": 5006, + "type": "ThisExpression", + "start": 5016, + "end": 5020, "loc": { "start": { "line": 233, - "column": 19 + "column": 28 }, "end": { "line": 233, - "column": 20 + "column": 32 } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 + } } ], "leadingComments": null @@ -14157,8 +14203,8 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 4897, - "end": 4946, + "start": 4899, + "end": 4948, "loc": { "start": { "line": 231, @@ -14173,8 +14219,8 @@ { "type": "CommentLine", "value": " TODO use this.imul(this) instead?", - "start": 4949, - "end": 4985, + "start": 4951, + "end": 4987, "loc": { "start": { "line": 232, @@ -14194,8 +14240,8 @@ }, { "type": "ClassMethod", - "start": 5014, - "end": 5067, + "start": 5028, + "end": 5081, "loc": { "start": { "line": 236, @@ -14210,8 +14256,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 5014, - "end": 5017, + "start": 5028, + "end": 5031, "loc": { "start": { "line": 236, @@ -14233,8 +14279,8 @@ "params": [ { "type": "Identifier", - "start": 5020, - "end": 5025, + "start": 5034, + "end": 5039, "loc": { "start": { "line": 236, @@ -14251,8 +14297,8 @@ ], "body": { "type": "BlockStatement", - "start": 5028, - "end": 5067, + "start": 5042, + "end": 5081, "loc": { "start": { "line": 236, @@ -14266,8 +14312,8 @@ "body": [ { "type": "ReturnStatement", - "start": 5032, - "end": 5064, + "start": 5046, + "end": 5078, "loc": { "start": { "line": 237, @@ -14280,8 +14326,8 @@ }, "argument": { "type": "MemberExpression", - "start": 5039, - "end": 5062, + "start": 5053, + "end": 5076, "loc": { "start": { "line": 237, @@ -14294,8 +14340,8 @@ }, "object": { "type": "CallExpression", - "start": 5039, - "end": 5059, + "start": 5053, + "end": 5073, "loc": { "start": { "line": 237, @@ -14308,8 +14354,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5039, - "end": 5050, + "start": 5053, + "end": 5064, "loc": { "start": { "line": 237, @@ -14322,8 +14368,8 @@ }, "object": { "type": "ThisExpression", - "start": 5039, - "end": 5043, + "start": 5053, + "end": 5057, "loc": { "start": { "line": 237, @@ -14337,8 +14383,8 @@ }, "property": { "type": "Identifier", - "start": 5044, - "end": 5050, + "start": 5058, + "end": 5064, "loc": { "start": { "line": 237, @@ -14357,8 +14403,8 @@ "arguments": [ { "type": "Identifier", - "start": 5052, - "end": 5057, + "start": 5066, + "end": 5071, "loc": { "start": { "line": 237, @@ -14376,8 +14422,8 @@ }, "property": { "type": "NumericLiteral", - "start": 5060, - "end": 5061, + "start": 5074, + "end": 5075, "loc": { "start": { "line": 237, @@ -14403,8 +14449,8 @@ }, { "type": "ClassMethod", - "start": 5070, - "end": 5132, + "start": 5084, + "end": 5146, "loc": { "start": { "line": 240, @@ -14419,8 +14465,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 5070, - "end": 5074, + "start": 5084, + "end": 5088, "loc": { "start": { "line": 240, @@ -14442,8 +14488,8 @@ "params": [ { "type": "Identifier", - "start": 5077, - "end": 5083, + "start": 5091, + "end": 5097, "loc": { "start": { "line": 240, @@ -14460,8 +14506,8 @@ ], "body": { "type": "BlockStatement", - "start": 5086, - "end": 5132, + "start": 5100, + "end": 5146, "loc": { "start": { "line": 240, @@ -14475,8 +14521,8 @@ "body": [ { "type": "ReturnStatement", - "start": 5090, - "end": 5129, + "start": 5104, + "end": 5143, "loc": { "start": { "line": 241, @@ -14489,8 +14535,8 @@ }, "argument": { "type": "CallExpression", - "start": 5097, - "end": 5127, + "start": 5111, + "end": 5141, "loc": { "start": { "line": 241, @@ -14503,8 +14549,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5097, - "end": 5105, + "start": 5111, + "end": 5119, "loc": { "start": { "line": 241, @@ -14517,8 +14563,8 @@ }, "object": { "type": "ThisExpression", - "start": 5097, - "end": 5101, + "start": 5111, + "end": 5115, "loc": { "start": { "line": 241, @@ -14532,8 +14578,8 @@ }, "property": { "type": "Identifier", - "start": 5102, - "end": 5105, + "start": 5116, + "end": 5119, "loc": { "start": { "line": 241, @@ -14552,8 +14598,8 @@ "arguments": [ { "type": "CallExpression", - "start": 5106, - "end": 5126, + "start": 5120, + "end": 5140, "loc": { "start": { "line": 241, @@ -14566,8 +14612,8 @@ }, "callee": { "type": "Identifier", - "start": 5106, - "end": 5118, + "start": 5120, + "end": 5132, "loc": { "start": { "line": 241, @@ -14584,8 +14630,8 @@ "arguments": [ { "type": "Identifier", - "start": 5119, - "end": 5125, + "start": 5133, + "end": 5139, "loc": { "start": { "line": 241, @@ -14610,8 +14656,8 @@ }, { "type": "ClassMethod", - "start": 5135, - "end": 5243, + "start": 5149, + "end": 5257, "loc": { "start": { "line": 244, @@ -14626,8 +14672,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 5135, - "end": 5139, + "start": 5149, + "end": 5153, "loc": { "start": { "line": 244, @@ -14649,8 +14695,8 @@ "params": [ { "type": "Identifier", - "start": 5142, - "end": 5147, + "start": 5156, + "end": 5161, "loc": { "start": { "line": 244, @@ -14667,8 +14713,8 @@ ], "body": { "type": "BlockStatement", - "start": 5150, - "end": 5243, + "start": 5164, + "end": 5257, "loc": { "start": { "line": 244, @@ -14682,8 +14728,8 @@ "body": [ { "type": "ReturnStatement", - "start": 5206, - "end": 5240, + "start": 5220, + "end": 5254, "loc": { "start": { "line": 246, @@ -14696,8 +14742,8 @@ }, "argument": { "type": "CallExpression", - "start": 5213, - "end": 5239, + "start": 5227, + "end": 5253, "loc": { "start": { "line": 246, @@ -14710,8 +14756,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5213, - "end": 5233, + "start": 5227, + "end": 5247, "loc": { "start": { "line": 246, @@ -14724,8 +14770,8 @@ }, "object": { "type": "CallExpression", - "start": 5213, - "end": 5228, + "start": 5227, + "end": 5242, "loc": { "start": { "line": 246, @@ -14738,8 +14784,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5213, - "end": 5221, + "start": 5227, + "end": 5235, "loc": { "start": { "line": 246, @@ -14752,8 +14798,8 @@ }, "object": { "type": "ThisExpression", - "start": 5213, - "end": 5217, + "start": 5227, + "end": 5231, "loc": { "start": { "line": 246, @@ -14768,8 +14814,8 @@ }, "property": { "type": "Identifier", - "start": 5218, - "end": 5221, + "start": 5232, + "end": 5235, "loc": { "start": { "line": 246, @@ -14789,8 +14835,8 @@ "arguments": [ { "type": "Identifier", - "start": 5222, - "end": 5227, + "start": 5236, + "end": 5241, "loc": { "start": { "line": 246, @@ -14809,8 +14855,8 @@ }, "property": { "type": "Identifier", - "start": 5229, - "end": 5233, + "start": 5243, + "end": 5247, "loc": { "start": { "line": 246, @@ -14830,8 +14876,8 @@ "arguments": [ { "type": "ThisExpression", - "start": 5234, - "end": 5238, + "start": 5248, + "end": 5252, "loc": { "start": { "line": 246, @@ -14850,8 +14896,8 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 5154, - "end": 5203, + "start": 5168, + "end": 5217, "loc": { "start": { "line": 245, @@ -14871,8 +14917,8 @@ }, { "type": "ClassMethod", - "start": 5246, - "end": 5306, + "start": 5260, + "end": 5320, "loc": { "start": { "line": 249, @@ -14887,8 +14933,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 5246, - "end": 5251, + "start": 5260, + "end": 5265, "loc": { "start": { "line": 249, @@ -14910,8 +14956,8 @@ "params": [ { "type": "Identifier", - "start": 5254, - "end": 5260, + "start": 5268, + "end": 5274, "loc": { "start": { "line": 249, @@ -14928,8 +14974,8 @@ ], "body": { "type": "BlockStatement", - "start": 5263, - "end": 5306, + "start": 5277, + "end": 5320, "loc": { "start": { "line": 249, @@ -14943,8 +14989,8 @@ "body": [ { "type": "ReturnStatement", - "start": 5267, - "end": 5303, + "start": 5281, + "end": 5317, "loc": { "start": { "line": 250, @@ -14957,8 +15003,8 @@ }, "argument": { "type": "CallExpression", - "start": 5274, - "end": 5302, + "start": 5288, + "end": 5316, "loc": { "start": { "line": 250, @@ -14971,8 +15017,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5274, - "end": 5296, + "start": 5288, + "end": 5310, "loc": { "start": { "line": 250, @@ -14985,8 +15031,8 @@ }, "object": { "type": "CallExpression", - "start": 5274, - "end": 5291, + "start": 5288, + "end": 5305, "loc": { "start": { "line": 250, @@ -14999,8 +15045,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5274, - "end": 5283, + "start": 5288, + "end": 5297, "loc": { "start": { "line": 250, @@ -15013,8 +15059,8 @@ }, "object": { "type": "ThisExpression", - "start": 5274, - "end": 5278, + "start": 5288, + "end": 5292, "loc": { "start": { "line": 250, @@ -15028,8 +15074,8 @@ }, "property": { "type": "Identifier", - "start": 5279, - "end": 5283, + "start": 5293, + "end": 5297, "loc": { "start": { "line": 250, @@ -15048,8 +15094,8 @@ "arguments": [ { "type": "Identifier", - "start": 5284, - "end": 5290, + "start": 5298, + "end": 5304, "loc": { "start": { "line": 250, @@ -15067,8 +15113,8 @@ }, "property": { "type": "Identifier", - "start": 5292, - "end": 5296, + "start": 5306, + "end": 5310, "loc": { "start": { "line": 250, @@ -15087,8 +15133,8 @@ "arguments": [ { "type": "ThisExpression", - "start": 5297, - "end": 5301, + "start": 5311, + "end": 5315, "loc": { "start": { "line": 250, @@ -15109,8 +15155,8 @@ }, { "type": "ClassMethod", - "start": 5309, - "end": 5362, + "start": 5323, + "end": 5376, "loc": { "start": { "line": 253, @@ -15125,8 +15171,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 5309, - "end": 5312, + "start": 5323, + "end": 5326, "loc": { "start": { "line": 253, @@ -15148,8 +15194,8 @@ "params": [ { "type": "Identifier", - "start": 5315, - "end": 5320, + "start": 5329, + "end": 5334, "loc": { "start": { "line": 253, @@ -15166,8 +15212,8 @@ ], "body": { "type": "BlockStatement", - "start": 5323, - "end": 5362, + "start": 5337, + "end": 5376, "loc": { "start": { "line": 253, @@ -15181,8 +15227,8 @@ "body": [ { "type": "ReturnStatement", - "start": 5327, - "end": 5359, + "start": 5341, + "end": 5373, "loc": { "start": { "line": 254, @@ -15195,8 +15241,8 @@ }, "argument": { "type": "MemberExpression", - "start": 5334, - "end": 5357, + "start": 5348, + "end": 5371, "loc": { "start": { "line": 254, @@ -15209,8 +15255,8 @@ }, "object": { "type": "CallExpression", - "start": 5334, - "end": 5354, + "start": 5348, + "end": 5368, "loc": { "start": { "line": 254, @@ -15223,8 +15269,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5334, - "end": 5345, + "start": 5348, + "end": 5359, "loc": { "start": { "line": 254, @@ -15237,8 +15283,8 @@ }, "object": { "type": "ThisExpression", - "start": 5334, - "end": 5338, + "start": 5348, + "end": 5352, "loc": { "start": { "line": 254, @@ -15252,8 +15298,8 @@ }, "property": { "type": "Identifier", - "start": 5339, - "end": 5345, + "start": 5353, + "end": 5359, "loc": { "start": { "line": 254, @@ -15272,8 +15318,8 @@ "arguments": [ { "type": "Identifier", - "start": 5347, - "end": 5352, + "start": 5361, + "end": 5366, "loc": { "start": { "line": 254, @@ -15291,8 +15337,8 @@ }, "property": { "type": "NumericLiteral", - "start": 5355, - "end": 5356, + "start": 5369, + "end": 5370, "loc": { "start": { "line": 254, @@ -15318,8 +15364,8 @@ }, { "type": "ClassMethod", - "start": 5365, - "end": 5427, + "start": 5379, + "end": 5441, "loc": { "start": { "line": 257, @@ -15334,8 +15380,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 5365, - "end": 5369, + "start": 5379, + "end": 5383, "loc": { "start": { "line": 257, @@ -15357,8 +15403,8 @@ "params": [ { "type": "Identifier", - "start": 5372, - "end": 5378, + "start": 5386, + "end": 5392, "loc": { "start": { "line": 257, @@ -15375,8 +15421,8 @@ ], "body": { "type": "BlockStatement", - "start": 5381, - "end": 5427, + "start": 5395, + "end": 5441, "loc": { "start": { "line": 257, @@ -15390,8 +15436,8 @@ "body": [ { "type": "ReturnStatement", - "start": 5385, - "end": 5424, + "start": 5399, + "end": 5438, "loc": { "start": { "line": 258, @@ -15404,8 +15450,8 @@ }, "argument": { "type": "CallExpression", - "start": 5392, - "end": 5422, + "start": 5406, + "end": 5436, "loc": { "start": { "line": 258, @@ -15418,8 +15464,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5392, - "end": 5400, + "start": 5406, + "end": 5414, "loc": { "start": { "line": 258, @@ -15432,8 +15478,8 @@ }, "object": { "type": "ThisExpression", - "start": 5392, - "end": 5396, + "start": 5406, + "end": 5410, "loc": { "start": { "line": 258, @@ -15447,8 +15493,8 @@ }, "property": { "type": "Identifier", - "start": 5397, - "end": 5400, + "start": 5411, + "end": 5414, "loc": { "start": { "line": 258, @@ -15467,8 +15513,8 @@ "arguments": [ { "type": "CallExpression", - "start": 5401, - "end": 5421, + "start": 5415, + "end": 5435, "loc": { "start": { "line": 258, @@ -15481,8 +15527,8 @@ }, "callee": { "type": "Identifier", - "start": 5401, - "end": 5413, + "start": 5415, + "end": 5427, "loc": { "start": { "line": 258, @@ -15499,8 +15545,8 @@ "arguments": [ { "type": "Identifier", - "start": 5414, - "end": 5420, + "start": 5428, + "end": 5434, "loc": { "start": { "line": 258, @@ -15525,8 +15571,8 @@ }, { "type": "ClassMethod", - "start": 5430, - "end": 5538, + "start": 5444, + "end": 5552, "loc": { "start": { "line": 261, @@ -15541,8 +15587,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 5430, - "end": 5434, + "start": 5444, + "end": 5448, "loc": { "start": { "line": 261, @@ -15564,8 +15610,8 @@ "params": [ { "type": "Identifier", - "start": 5437, - "end": 5442, + "start": 5451, + "end": 5456, "loc": { "start": { "line": 261, @@ -15582,8 +15628,8 @@ ], "body": { "type": "BlockStatement", - "start": 5445, - "end": 5538, + "start": 5459, + "end": 5552, "loc": { "start": { "line": 261, @@ -15597,8 +15643,8 @@ "body": [ { "type": "ReturnStatement", - "start": 5501, - "end": 5535, + "start": 5515, + "end": 5549, "loc": { "start": { "line": 263, @@ -15611,8 +15657,8 @@ }, "argument": { "type": "CallExpression", - "start": 5508, - "end": 5534, + "start": 5522, + "end": 5548, "loc": { "start": { "line": 263, @@ -15625,8 +15671,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5508, - "end": 5528, + "start": 5522, + "end": 5542, "loc": { "start": { "line": 263, @@ -15639,8 +15685,8 @@ }, "object": { "type": "CallExpression", - "start": 5508, - "end": 5523, + "start": 5522, + "end": 5537, "loc": { "start": { "line": 263, @@ -15653,8 +15699,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5508, - "end": 5516, + "start": 5522, + "end": 5530, "loc": { "start": { "line": 263, @@ -15667,8 +15713,8 @@ }, "object": { "type": "ThisExpression", - "start": 5508, - "end": 5512, + "start": 5522, + "end": 5526, "loc": { "start": { "line": 263, @@ -15683,8 +15729,8 @@ }, "property": { "type": "Identifier", - "start": 5513, - "end": 5516, + "start": 5527, + "end": 5530, "loc": { "start": { "line": 263, @@ -15704,8 +15750,8 @@ "arguments": [ { "type": "Identifier", - "start": 5517, - "end": 5522, + "start": 5531, + "end": 5536, "loc": { "start": { "line": 263, @@ -15724,8 +15770,8 @@ }, "property": { "type": "Identifier", - "start": 5524, - "end": 5528, + "start": 5538, + "end": 5542, "loc": { "start": { "line": 263, @@ -15745,8 +15791,8 @@ "arguments": [ { "type": "ThisExpression", - "start": 5529, - "end": 5533, + "start": 5543, + "end": 5547, "loc": { "start": { "line": 263, @@ -15765,8 +15811,8 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 5449, - "end": 5498, + "start": 5463, + "end": 5512, "loc": { "start": { "line": 262, @@ -15786,8 +15832,8 @@ }, { "type": "ClassMethod", - "start": 5541, - "end": 5601, + "start": 5555, + "end": 5615, "loc": { "start": { "line": 266, @@ -15802,8 +15848,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 5541, - "end": 5546, + "start": 5555, + "end": 5560, "loc": { "start": { "line": 266, @@ -15825,8 +15871,8 @@ "params": [ { "type": "Identifier", - "start": 5549, - "end": 5555, + "start": 5563, + "end": 5569, "loc": { "start": { "line": 266, @@ -15843,8 +15889,8 @@ ], "body": { "type": "BlockStatement", - "start": 5558, - "end": 5601, + "start": 5572, + "end": 5615, "loc": { "start": { "line": 266, @@ -15858,8 +15904,8 @@ "body": [ { "type": "ReturnStatement", - "start": 5562, - "end": 5598, + "start": 5576, + "end": 5612, "loc": { "start": { "line": 267, @@ -15872,8 +15918,8 @@ }, "argument": { "type": "CallExpression", - "start": 5569, - "end": 5597, + "start": 5583, + "end": 5611, "loc": { "start": { "line": 267, @@ -15886,8 +15932,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5569, - "end": 5591, + "start": 5583, + "end": 5605, "loc": { "start": { "line": 267, @@ -15900,8 +15946,8 @@ }, "object": { "type": "CallExpression", - "start": 5569, - "end": 5586, + "start": 5583, + "end": 5600, "loc": { "start": { "line": 267, @@ -15914,8 +15960,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5569, - "end": 5578, + "start": 5583, + "end": 5592, "loc": { "start": { "line": 267, @@ -15928,8 +15974,8 @@ }, "object": { "type": "ThisExpression", - "start": 5569, - "end": 5573, + "start": 5583, + "end": 5587, "loc": { "start": { "line": 267, @@ -15943,8 +15989,8 @@ }, "property": { "type": "Identifier", - "start": 5574, - "end": 5578, + "start": 5588, + "end": 5592, "loc": { "start": { "line": 267, @@ -15963,8 +16009,8 @@ "arguments": [ { "type": "Identifier", - "start": 5579, - "end": 5585, + "start": 5593, + "end": 5599, "loc": { "start": { "line": 267, @@ -15982,8 +16028,8 @@ }, "property": { "type": "Identifier", - "start": 5587, - "end": 5591, + "start": 5601, + "end": 5605, "loc": { "start": { "line": 267, @@ -16002,8 +16048,8 @@ "arguments": [ { "type": "ThisExpression", - "start": 5592, - "end": 5596, + "start": 5606, + "end": 5610, "loc": { "start": { "line": 267, @@ -16024,8 +16070,8 @@ }, { "type": "ClassMethod", - "start": 5604, - "end": 5765, + "start": 5618, + "end": 5806, "loc": { "start": { "line": 270, @@ -16040,8 +16086,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 5604, - "end": 5612, + "start": 5618, + "end": 5626, "loc": { "start": { "line": 270, @@ -16063,8 +16109,8 @@ "params": [ { "type": "Identifier", - "start": 5615, - "end": 5620, + "start": 5629, + "end": 5634, "loc": { "start": { "line": 270, @@ -16081,8 +16127,8 @@ ], "body": { "type": "BlockStatement", - "start": 5623, - "end": 5765, + "start": 5637, + "end": 5806, "loc": { "start": { "line": 270, @@ -16096,8 +16142,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 5627, - "end": 5665, + "start": 5641, + "end": 5679, "loc": { "start": { "line": 271, @@ -16111,8 +16157,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 5633, - "end": 5663, + "start": 5647, + "end": 5677, "loc": { "start": { "line": 271, @@ -16125,8 +16171,8 @@ }, "id": { "type": "ArrayPattern", - "start": 5633, - "end": 5642, + "start": 5647, + "end": 5656, "loc": { "start": { "line": 271, @@ -16140,8 +16186,8 @@ "elements": [ { "type": "Identifier", - "start": 5635, - "end": 5636, + "start": 5649, + "end": 5650, "loc": { "start": { "line": 271, @@ -16157,8 +16203,8 @@ }, { "type": "Identifier", - "start": 5639, - "end": 5640, + "start": 5653, + "end": 5654, "loc": { "start": { "line": 271, @@ -16176,8 +16222,8 @@ }, "init": { "type": "CallExpression", - "start": 5645, - "end": 5663, + "start": 5659, + "end": 5677, "loc": { "start": { "line": 271, @@ -16190,8 +16236,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5645, - "end": 5656, + "start": 5659, + "end": 5670, "loc": { "start": { "line": 271, @@ -16204,8 +16250,8 @@ }, "object": { "type": "ThisExpression", - "start": 5645, - "end": 5649, + "start": 5659, + "end": 5663, "loc": { "start": { "line": 271, @@ -16219,8 +16265,8 @@ }, "property": { "type": "Identifier", - "start": 5650, - "end": 5656, + "start": 5664, + "end": 5670, "loc": { "start": { "line": 271, @@ -16239,8 +16285,8 @@ "arguments": [ { "type": "Identifier", - "start": 5657, - "end": 5662, + "start": 5671, + "end": 5676, "loc": { "start": { "line": 271, @@ -16262,8 +16308,8 @@ }, { "type": "IfStatement", - "start": 5668, - "end": 5749, + "start": 5682, + "end": 5790, "loc": { "start": { "line": 272, @@ -16271,13 +16317,13 @@ }, "end": { "line": 272, - "column": 83 + "column": 110 } }, "test": { - "type": "BinaryExpression", - "start": 5673, - "end": 5699, + "type": "CallExpression", + "start": 5687, + "end": 5735, "loc": { "start": { "line": 272, @@ -16285,13 +16331,13 @@ }, "end": { "line": 272, - "column": 33 + "column": 55 } }, - "left": { - "type": "Identifier", - "start": 5673, - "end": 5674, + "callee": { + "type": "MemberExpression", + "start": 5687, + "end": 5691, "loc": { "start": { "line": 272, @@ -16299,178 +16345,346 @@ }, "end": { "line": 272, - "column": 8 + "column": 11 + } + }, + "object": { + "type": "Identifier", + "start": 5687, + "end": 5688, + "loc": { + "start": { + "line": 272, + "column": 7 + }, + "end": { + "line": 272, + "column": 8 + }, + "identifierName": "r" }, - "identifierName": "r" + "name": "r" }, - "name": "r" - }, - "operator": ">=", - "right": { - "type": "BinaryExpression", - "start": 5680, - "end": 5697, - "loc": { - "start": { - "line": 272, - "column": 14 + "property": { + "type": "Identifier", + "start": 5689, + "end": 5691, + "loc": { + "start": { + "line": 272, + "column": 9 + }, + "end": { + "line": 272, + "column": 11 + }, + "identifierName": "ge" }, - "end": { - "line": 272, - "column": 31 - } + "name": "ge" }, - "left": { - "type": "BinaryExpression", - "start": 5680, - "end": 5693, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 5692, + "end": 5734, "loc": { "start": { "line": 272, - "column": 14 + "column": 12 }, "end": { "line": 272, - "column": 27 + "column": 54 } }, - "left": { + "callee": { "type": "MemberExpression", - "start": 5680, - "end": 5689, + "start": 5692, + "end": 5710, "loc": { "start": { "line": 272, - "column": 14 + "column": 12 }, "end": { "line": 272, - "column": 23 + "column": 30 } }, "object": { - "type": "ThisExpression", - "start": 5680, - "end": 5684, + "type": "CallExpression", + "start": 5692, + "end": 5705, "loc": { "start": { "line": 272, - "column": 14 + "column": 12 }, "end": { "line": 272, - "column": 18 + "column": 25 } - } + }, + "callee": { + "type": "MemberExpression", + "start": 5692, + "end": 5702, + "loc": { + "start": { + "line": 272, + "column": 12 + }, + "end": { + "line": 272, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 5692, + "end": 5697, + "loc": { + "start": { + "line": 272, + "column": 12 + }, + "end": { + "line": 272, + "column": 17 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 5698, + "end": 5702, + "loc": { + "start": { + "line": 272, + "column": 18 + }, + "end": { + "line": 272, + "column": 22 + }, + "identifierName": "divn" + }, + "name": "divn" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 5703, + "end": 5704, + "loc": { + "start": { + "line": 272, + "column": 23 + }, + "end": { + "line": 272, + "column": 24 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + } + ] }, "property": { "type": "Identifier", - "start": 5685, - "end": 5689, + "start": 5706, + "end": 5710, "loc": { "start": { "line": 272, - "column": 19 + "column": 26 }, "end": { "line": 272, - "column": 23 + "column": 30 }, - "identifierName": "base" + "identifierName": "addn" }, - "name": "base" + "name": "addn" }, "computed": false }, - "operator": "/", - "right": { - "type": "NumericLiteral", - "start": 5692, - "end": 5693, - "loc": { - "start": { - "line": 272, - "column": 26 + "arguments": [ + { + "type": "ConditionalExpression", + "start": 5711, + "end": 5733, + "loc": { + "start": { + "line": 272, + "column": 31 + }, + "end": { + "line": 272, + "column": 53 + } }, - "end": { - "line": 272, - "column": 27 + "test": { + "type": "CallExpression", + "start": 5711, + "end": 5725, + "loc": { + "start": { + "line": 272, + "column": 31 + }, + "end": { + "line": 272, + "column": 45 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5711, + "end": 5723, + "loc": { + "start": { + "line": 272, + "column": 31 + }, + "end": { + "line": 272, + "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 5711, + "end": 5716, + "loc": { + "start": { + "line": 272, + "column": 31 + }, + "end": { + "line": 272, + "column": 36 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 5717, + "end": 5723, + "loc": { + "start": { + "line": 272, + "column": 37 + }, + "end": { + "line": 272, + "column": 43 + }, + "identifierName": "iseven" + }, + "name": "iseven" + }, + "computed": false + }, + "arguments": [] + }, + "consequent": { + "type": "NumericLiteral", + "start": 5728, + "end": 5729, + "loc": { + "start": { + "line": 272, + "column": 48 + }, + "end": { + "line": 272, + "column": 49 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "alternate": { + "type": "NumericLiteral", + "start": 5732, + "end": 5733, + "loc": { + "start": { + "line": 272, + "column": 52 + }, + "end": { + "line": 272, + "column": 53 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - }, - "operator": "|", - "right": { - "type": "NumericLiteral", - "start": 5696, - "end": 5697, - "loc": { - "start": { - "line": 272, - "column": 30 - }, - "end": { - "line": 272, - "column": 31 } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "extra": { - "parenthesized": true, - "parenStart": 5678 + ] } - } + ] }, "consequent": { "type": "ExpressionStatement", - "start": 5702, - "end": 5749, + "start": 5738, + "end": 5790, "loc": { "start": { "line": 272, - "column": 36 + "column": 58 }, "end": { "line": 272, - "column": 83 + "column": 110 } }, "expression": { "type": "CallExpression", - "start": 5702, - "end": 5747, + "start": 5738, + "end": 5788, "loc": { "start": { "line": 272, - "column": 36 + "column": 58 }, "end": { "line": 272, - "column": 81 + "column": 108 } }, "callee": { "type": "Identifier", - "start": 5702, - "end": 5711, + "start": 5738, + "end": 5747, "loc": { "start": { "line": 272, - "column": 36 + "column": 58 }, "end": { "line": 272, - "column": 45 + "column": 67 }, "identifierName": "increment" }, @@ -16478,48 +16692,81 @@ }, "arguments": [ { - "type": "Identifier", - "start": 5713, - "end": 5714, + "type": "MemberExpression", + "start": 5749, + "end": 5755, "loc": { "start": { "line": 272, - "column": 47 + "column": 69 }, "end": { "line": 272, - "column": 48 + "column": 75 + } + }, + "object": { + "type": "Identifier", + "start": 5749, + "end": 5750, + "loc": { + "start": { + "line": 272, + "column": 69 + }, + "end": { + "line": 272, + "column": 70 + }, + "identifierName": "q" + }, + "name": "q" + }, + "property": { + "type": "Identifier", + "start": 5751, + "end": 5755, + "loc": { + "start": { + "line": 272, + "column": 71 + }, + "end": { + "line": 272, + "column": 75 + }, + "identifierName": "base" }, - "identifierName": "r" + "name": "base" }, - "name": "r" + "computed": false }, { "type": "MemberExpression", - "start": 5717, - "end": 5724, + "start": 5758, + "end": 5765, "loc": { "start": { "line": 272, - "column": 51 + "column": 78 }, "end": { "line": 272, - "column": 58 + "column": 85 } }, "object": { "type": "Identifier", - "start": 5717, - "end": 5718, + "start": 5758, + "end": 5759, "loc": { "start": { "line": 272, - "column": 51 + "column": 78 }, "end": { "line": 272, - "column": 52 + "column": 79 }, "identifierName": "q" }, @@ -16527,16 +16774,16 @@ }, "property": { "type": "Identifier", - "start": 5719, - "end": 5724, + "start": 5760, + "end": 5765, "loc": { "start": { "line": 272, - "column": 53 + "column": 80 }, "end": { "line": 272, - "column": 58 + "column": 85 }, "identifierName": "limbs" }, @@ -16546,16 +16793,16 @@ }, { "type": "NumericLiteral", - "start": 5727, - "end": 5728, + "start": 5768, + "end": 5769, "loc": { "start": { "line": 272, - "column": 61 + "column": 88 }, "end": { "line": 272, - "column": 62 + "column": 89 } }, "extra": { @@ -16566,44 +16813,44 @@ }, { "type": "MemberExpression", - "start": 5731, - "end": 5745, + "start": 5772, + "end": 5786, "loc": { "start": { "line": 272, - "column": 65 + "column": 92 }, "end": { "line": 272, - "column": 79 + "column": 106 } }, "object": { "type": "MemberExpression", - "start": 5731, - "end": 5738, + "start": 5772, + "end": 5779, "loc": { "start": { "line": 272, - "column": 65 + "column": 92 }, "end": { "line": 272, - "column": 72 + "column": 99 } }, "object": { "type": "Identifier", - "start": 5731, - "end": 5732, + "start": 5772, + "end": 5773, "loc": { "start": { "line": 272, - "column": 65 + "column": 92 }, "end": { "line": 272, - "column": 66 + "column": 93 }, "identifierName": "q" }, @@ -16611,16 +16858,16 @@ }, "property": { "type": "Identifier", - "start": 5733, - "end": 5738, + "start": 5774, + "end": 5779, "loc": { "start": { "line": 272, - "column": 67 + "column": 94 }, "end": { "line": 272, - "column": 72 + "column": 99 }, "identifierName": "limbs" }, @@ -16630,16 +16877,16 @@ }, "property": { "type": "Identifier", - "start": 5739, - "end": 5745, + "start": 5780, + "end": 5786, "loc": { "start": { "line": 272, - "column": 73 + "column": 100 }, "end": { "line": 272, - "column": 79 + "column": 106 }, "identifierName": "length" }, @@ -16654,8 +16901,8 @@ }, { "type": "ReturnStatement", - "start": 5752, - "end": 5762, + "start": 5793, + "end": 5803, "loc": { "start": { "line": 273, @@ -16668,8 +16915,8 @@ }, "argument": { "type": "Identifier", - "start": 5759, - "end": 5760, + "start": 5800, + "end": 5801, "loc": { "start": { "line": 273, @@ -16690,8 +16937,8 @@ }, { "type": "ClassMethod", - "start": 5768, - "end": 7202, + "start": 5809, + "end": 7243, "loc": { "start": { "line": 276, @@ -16706,8 +16953,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 5768, - "end": 5774, + "start": 5809, + "end": 5815, "loc": { "start": { "line": 276, @@ -16729,8 +16976,8 @@ "params": [ { "type": "Identifier", - "start": 5777, - "end": 5782, + "start": 5818, + "end": 5823, "loc": { "start": { "line": 276, @@ -16747,8 +16994,8 @@ ], "body": { "type": "BlockStatement", - "start": 5785, - "end": 7202, + "start": 5826, + "end": 7243, "loc": { "start": { "line": 276, @@ -16762,8 +17009,8 @@ "body": [ { "type": "IfStatement", - "start": 5790, - "end": 5871, + "start": 5831, + "end": 5912, "loc": { "start": { "line": 278, @@ -16776,8 +17023,8 @@ }, "test": { "type": "CallExpression", - "start": 5795, - "end": 5809, + "start": 5836, + "end": 5850, "loc": { "start": { "line": 278, @@ -16790,8 +17037,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5795, - "end": 5807, + "start": 5836, + "end": 5848, "loc": { "start": { "line": 278, @@ -16804,8 +17051,8 @@ }, "object": { "type": "Identifier", - "start": 5795, - "end": 5800, + "start": 5836, + "end": 5841, "loc": { "start": { "line": 278, @@ -16821,8 +17068,8 @@ }, "property": { "type": "Identifier", - "start": 5801, - "end": 5807, + "start": 5842, + "end": 5848, "loc": { "start": { "line": 278, @@ -16842,8 +17089,8 @@ }, "consequent": { "type": "ThrowStatement", - "start": 5812, - "end": 5871, + "start": 5853, + "end": 5912, "loc": { "start": { "line": 278, @@ -16856,8 +17103,8 @@ }, "argument": { "type": "NewExpression", - "start": 5818, - "end": 5869, + "start": 5859, + "end": 5910, "loc": { "start": { "line": 278, @@ -16870,8 +17117,8 @@ }, "callee": { "type": "Identifier", - "start": 5822, - "end": 5839, + "start": 5863, + "end": 5880, "loc": { "start": { "line": 278, @@ -16888,8 +17135,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 5841, - "end": 5867, + "start": 5882, + "end": 5908, "loc": { "start": { "line": 278, @@ -16915,8 +17162,8 @@ { "type": "CommentLine", "value": " optimize", - "start": 5872, - "end": 5883, + "start": 5913, + "end": 5924, "loc": { "start": { "line": 278, @@ -16932,8 +17179,8 @@ }, { "type": "VariableDeclaration", - "start": 5887, - "end": 5954, + "start": 5928, + "end": 5995, "loc": { "start": { "line": 280, @@ -16947,8 +17194,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 5893, - "end": 5952, + "start": 5934, + "end": 5993, "loc": { "start": { "line": 280, @@ -16961,8 +17208,8 @@ }, "id": { "type": "Identifier", - "start": 5893, - "end": 5913, + "start": 5934, + "end": 5954, "loc": { "start": { "line": 280, @@ -16979,8 +17226,8 @@ }, "init": { "type": "BinaryExpression", - "start": 5916, - "end": 5952, + "start": 5957, + "end": 5993, "loc": { "start": { "line": 280, @@ -16993,8 +17240,8 @@ }, "left": { "type": "MemberExpression", - "start": 5916, - "end": 5932, + "start": 5957, + "end": 5973, "loc": { "start": { "line": 280, @@ -17007,8 +17254,8 @@ }, "object": { "type": "ThisExpression", - "start": 5916, - "end": 5920, + "start": 5957, + "end": 5961, "loc": { "start": { "line": 280, @@ -17022,8 +17269,8 @@ }, "property": { "type": "Identifier", - "start": 5921, - "end": 5932, + "start": 5962, + "end": 5973, "loc": { "start": { "line": 280, @@ -17042,8 +17289,8 @@ "operator": "^", "right": { "type": "MemberExpression", - "start": 5935, - "end": 5952, + "start": 5976, + "end": 5993, "loc": { "start": { "line": 280, @@ -17056,8 +17303,8 @@ }, "object": { "type": "Identifier", - "start": 5935, - "end": 5940, + "start": 5976, + "end": 5981, "loc": { "start": { "line": 280, @@ -17073,8 +17320,8 @@ }, "property": { "type": "Identifier", - "start": 5941, - "end": 5952, + "start": 5982, + "end": 5993, "loc": { "start": { "line": 280, @@ -17099,8 +17346,8 @@ { "type": "CommentLine", "value": " optimize", - "start": 5872, - "end": 5883, + "start": 5913, + "end": 5924, "loc": { "start": { "line": 278, @@ -17116,8 +17363,8 @@ }, { "type": "VariableDeclaration", - "start": 5957, - "end": 5978, + "start": 5998, + "end": 6019, "loc": { "start": { "line": 281, @@ -17131,8 +17378,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 5963, - "end": 5976, + "start": 6004, + "end": 6017, "loc": { "start": { "line": 281, @@ -17145,8 +17392,8 @@ }, "id": { "type": "Identifier", - "start": 5963, - "end": 5964, + "start": 6004, + "end": 6005, "loc": { "start": { "line": 281, @@ -17162,8 +17409,8 @@ }, "init": { "type": "MemberExpression", - "start": 5967, - "end": 5976, + "start": 6008, + "end": 6017, "loc": { "start": { "line": 281, @@ -17176,8 +17423,8 @@ }, "object": { "type": "ThisExpression", - "start": 5967, - "end": 5971, + "start": 6008, + "end": 6012, "loc": { "start": { "line": 281, @@ -17191,8 +17438,8 @@ }, "property": { "type": "Identifier", - "start": 5972, - "end": 5976, + "start": 6013, + "end": 6017, "loc": { "start": { "line": 281, @@ -17215,8 +17462,8 @@ { "type": "CommentLine", "value": " The underlying algorithm does not allow leading 0's so we trim them.", - "start": 5982, - "end": 6053, + "start": 6023, + "end": 6094, "loc": { "start": { "line": 283, @@ -17232,8 +17479,8 @@ }, { "type": "VariableDeclaration", - "start": 6056, - "end": 6086, + "start": 6097, + "end": 6127, "loc": { "start": { "line": 284, @@ -17247,8 +17494,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 6062, - "end": 6084, + "start": 6103, + "end": 6125, "loc": { "start": { "line": 284, @@ -17261,8 +17508,8 @@ }, "id": { "type": "Identifier", - "start": 6062, - "end": 6064, + "start": 6103, + "end": 6105, "loc": { "start": { "line": 284, @@ -17279,8 +17526,8 @@ }, "init": { "type": "MemberExpression", - "start": 6067, - "end": 6084, + "start": 6108, + "end": 6125, "loc": { "start": { "line": 284, @@ -17293,8 +17540,8 @@ }, "object": { "type": "MemberExpression", - "start": 6067, - "end": 6077, + "start": 6108, + "end": 6118, "loc": { "start": { "line": 284, @@ -17307,8 +17554,8 @@ }, "object": { "type": "ThisExpression", - "start": 6067, - "end": 6071, + "start": 6108, + "end": 6112, "loc": { "start": { "line": 284, @@ -17322,8 +17569,8 @@ }, "property": { "type": "Identifier", - "start": 6072, - "end": 6077, + "start": 6113, + "end": 6118, "loc": { "start": { "line": 284, @@ -17341,8 +17588,8 @@ }, "property": { "type": "Identifier", - "start": 6078, - "end": 6084, + "start": 6119, + "end": 6125, "loc": { "start": { "line": 284, @@ -17366,8 +17613,8 @@ { "type": "CommentLine", "value": " The underlying algorithm does not allow leading 0's so we trim them.", - "start": 5982, - "end": 6053, + "start": 6023, + "end": 6094, "loc": { "start": { "line": 283, @@ -17383,8 +17630,8 @@ }, { "type": "VariableDeclaration", - "start": 6089, - "end": 6140, + "start": 6130, + "end": 6181, "loc": { "start": { "line": 285, @@ -17398,8 +17645,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 6095, - "end": 6138, + "start": 6136, + "end": 6179, "loc": { "start": { "line": 285, @@ -17412,8 +17659,8 @@ }, "id": { "type": "Identifier", - "start": 6095, - "end": 6097, + "start": 6136, + "end": 6138, "loc": { "start": { "line": 285, @@ -17429,8 +17676,8 @@ }, "init": { "type": "CallExpression", - "start": 6101, - "end": 6138, + "start": 6142, + "end": 6179, "loc": { "start": { "line": 285, @@ -17443,8 +17690,8 @@ }, "callee": { "type": "Identifier", - "start": 6101, - "end": 6115, + "start": 6142, + "end": 6156, "loc": { "start": { "line": 285, @@ -17461,8 +17708,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 6117, - "end": 6127, + "start": 6158, + "end": 6168, "loc": { "start": { "line": 285, @@ -17475,8 +17722,8 @@ }, "object": { "type": "ThisExpression", - "start": 6117, - "end": 6121, + "start": 6158, + "end": 6162, "loc": { "start": { "line": 285, @@ -17490,8 +17737,8 @@ }, "property": { "type": "Identifier", - "start": 6122, - "end": 6127, + "start": 6163, + "end": 6168, "loc": { "start": { "line": 285, @@ -17509,8 +17756,8 @@ }, { "type": "NumericLiteral", - "start": 6130, - "end": 6131, + "start": 6171, + "end": 6172, "loc": { "start": { "line": 285, @@ -17529,8 +17776,8 @@ }, { "type": "Identifier", - "start": 6134, - "end": 6136, + "start": 6175, + "end": 6177, "loc": { "start": { "line": 285, @@ -17553,8 +17800,8 @@ { "type": "CommentLine", "value": " Dividend is 0", - "start": 6144, - "end": 6160, + "start": 6185, + "end": 6201, "loc": { "start": { "line": 287, @@ -17570,8 +17817,8 @@ }, { "type": "IfStatement", - "start": 6163, - "end": 6267, + "start": 6204, + "end": 6308, "loc": { "start": { "line": 288, @@ -17584,8 +17831,8 @@ }, "test": { "type": "BinaryExpression", - "start": 6168, - "end": 6176, + "start": 6209, + "end": 6217, "loc": { "start": { "line": 288, @@ -17598,8 +17845,8 @@ }, "left": { "type": "Identifier", - "start": 6168, - "end": 6170, + "start": 6209, + "end": 6211, "loc": { "start": { "line": 288, @@ -17617,8 +17864,8 @@ "operator": ">=", "right": { "type": "Identifier", - "start": 6174, - "end": 6176, + "start": 6215, + "end": 6217, "loc": { "start": { "line": 288, @@ -17636,8 +17883,8 @@ }, "consequent": { "type": "ReturnStatement", - "start": 6179, - "end": 6267, + "start": 6220, + "end": 6308, "loc": { "start": { "line": 288, @@ -17650,8 +17897,8 @@ }, "argument": { "type": "ArrayExpression", - "start": 6186, - "end": 6265, + "start": 6227, + "end": 6306, "loc": { "start": { "line": 288, @@ -17665,8 +17912,8 @@ "elements": [ { "type": "NewExpression", - "start": 6188, - "end": 6224, + "start": 6229, + "end": 6265, "loc": { "start": { "line": 288, @@ -17679,8 +17926,8 @@ }, "callee": { "type": "Identifier", - "start": 6192, - "end": 6199, + "start": 6233, + "end": 6240, "loc": { "start": { "line": 288, @@ -17697,8 +17944,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 6201, - "end": 6210, + "start": 6242, + "end": 6251, "loc": { "start": { "line": 288, @@ -17711,8 +17958,8 @@ }, "object": { "type": "ThisExpression", - "start": 6201, - "end": 6205, + "start": 6242, + "end": 6246, "loc": { "start": { "line": 288, @@ -17726,8 +17973,8 @@ }, "property": { "type": "Identifier", - "start": 6206, - "end": 6210, + "start": 6247, + "end": 6251, "loc": { "start": { "line": 288, @@ -17745,8 +17992,8 @@ }, { "type": "NumericLiteral", - "start": 6213, - "end": 6214, + "start": 6254, + "end": 6255, "loc": { "start": { "line": 288, @@ -17765,8 +18012,8 @@ }, { "type": "ArrayExpression", - "start": 6217, - "end": 6222, + "start": 6258, + "end": 6263, "loc": { "start": { "line": 288, @@ -17780,8 +18027,8 @@ "elements": [ { "type": "NumericLiteral", - "start": 6219, - "end": 6220, + "start": 6260, + "end": 6261, "loc": { "start": { "line": 288, @@ -17804,8 +18051,8 @@ }, { "type": "NewExpression", - "start": 6227, - "end": 6263, + "start": 6268, + "end": 6304, "loc": { "start": { "line": 288, @@ -17818,8 +18065,8 @@ }, "callee": { "type": "Identifier", - "start": 6231, - "end": 6238, + "start": 6272, + "end": 6279, "loc": { "start": { "line": 288, @@ -17836,8 +18083,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 6240, - "end": 6249, + "start": 6281, + "end": 6290, "loc": { "start": { "line": 288, @@ -17850,8 +18097,8 @@ }, "object": { "type": "ThisExpression", - "start": 6240, - "end": 6244, + "start": 6281, + "end": 6285, "loc": { "start": { "line": 288, @@ -17865,8 +18112,8 @@ }, "property": { "type": "Identifier", - "start": 6245, - "end": 6249, + "start": 6286, + "end": 6290, "loc": { "start": { "line": 288, @@ -17884,8 +18131,8 @@ }, { "type": "NumericLiteral", - "start": 6252, - "end": 6253, + "start": 6293, + "end": 6294, "loc": { "start": { "line": 288, @@ -17904,8 +18151,8 @@ }, { "type": "ArrayExpression", - "start": 6256, - "end": 6261, + "start": 6297, + "end": 6302, "loc": { "start": { "line": 288, @@ -17919,8 +18166,8 @@ "elements": [ { "type": "NumericLiteral", - "start": 6258, - "end": 6259, + "start": 6299, + "end": 6300, "loc": { "start": { "line": 288, @@ -17950,8 +18197,8 @@ { "type": "CommentLine", "value": " Dividend is 0", - "start": 6144, - "end": 6160, + "start": 6185, + "end": 6201, "loc": { "start": { "line": 287, @@ -17968,8 +18215,8 @@ { "type": "CommentLine", "value": " Dividend (& Remainder)", - "start": 6271, - "end": 6296, + "start": 6312, + "end": 6337, "loc": { "start": { "line": 290, @@ -17985,8 +18232,8 @@ }, { "type": "VariableDeclaration", - "start": 6299, - "end": 6328, + "start": 6340, + "end": 6369, "loc": { "start": { "line": 291, @@ -18000,8 +18247,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 6305, - "end": 6326, + "start": 6346, + "end": 6367, "loc": { "start": { "line": 291, @@ -18014,8 +18261,8 @@ }, "id": { "type": "Identifier", - "start": 6305, - "end": 6306, + "start": 6346, + "end": 6347, "loc": { "start": { "line": 291, @@ -18032,8 +18279,8 @@ }, "init": { "type": "CallExpression", - "start": 6309, - "end": 6326, + "start": 6350, + "end": 6367, "loc": { "start": { "line": 291, @@ -18046,8 +18293,8 @@ }, "callee": { "type": "Identifier", - "start": 6309, - "end": 6315, + "start": 6350, + "end": 6356, "loc": { "start": { "line": 291, @@ -18064,8 +18311,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 6317, - "end": 6324, + "start": 6358, + "end": 6365, "loc": { "start": { "line": 291, @@ -18078,8 +18325,8 @@ }, "left": { "type": "Identifier", - "start": 6317, - "end": 6319, + "start": 6358, + "end": 6360, "loc": { "start": { "line": 291, @@ -18096,8 +18343,8 @@ "operator": "-", "right": { "type": "Identifier", - "start": 6322, - "end": 6324, + "start": 6363, + "end": 6365, "loc": { "start": { "line": 291, @@ -18122,8 +18369,8 @@ { "type": "CommentLine", "value": " Dividend (& Remainder)", - "start": 6271, - "end": 6296, + "start": 6312, + "end": 6337, "loc": { "start": { "line": 290, @@ -18139,8 +18386,8 @@ }, { "type": "ExpressionStatement", - "start": 6331, - "end": 6370, + "start": 6372, + "end": 6411, "loc": { "start": { "line": 292, @@ -18153,8 +18400,8 @@ }, "expression": { "type": "CallExpression", - "start": 6331, - "end": 6368, + "start": 6372, + "end": 6409, "loc": { "start": { "line": 292, @@ -18167,8 +18414,8 @@ }, "callee": { "type": "Identifier", - "start": 6331, - "end": 6336, + "start": 6372, + "end": 6377, "loc": { "start": { "line": 292, @@ -18185,8 +18432,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 6338, - "end": 6348, + "start": 6379, + "end": 6389, "loc": { "start": { "line": 292, @@ -18199,8 +18446,8 @@ }, "object": { "type": "ThisExpression", - "start": 6338, - "end": 6342, + "start": 6379, + "end": 6383, "loc": { "start": { "line": 292, @@ -18214,8 +18461,8 @@ }, "property": { "type": "Identifier", - "start": 6343, - "end": 6348, + "start": 6384, + "end": 6389, "loc": { "start": { "line": 292, @@ -18233,8 +18480,8 @@ }, { "type": "Identifier", - "start": 6351, - "end": 6353, + "start": 6392, + "end": 6394, "loc": { "start": { "line": 292, @@ -18250,8 +18497,8 @@ }, { "type": "Identifier", - "start": 6356, - "end": 6358, + "start": 6397, + "end": 6399, "loc": { "start": { "line": 292, @@ -18267,8 +18514,8 @@ }, { "type": "Identifier", - "start": 6361, - "end": 6362, + "start": 6402, + "end": 6403, "loc": { "start": { "line": 292, @@ -18284,8 +18531,8 @@ }, { "type": "NumericLiteral", - "start": 6365, - "end": 6366, + "start": 6406, + "end": 6407, "loc": { "start": { "line": 292, @@ -18308,8 +18555,8 @@ { "type": "CommentLine", "value": " Divisor", - "start": 6374, - "end": 6384, + "start": 6415, + "end": 6425, "loc": { "start": { "line": 294, @@ -18325,8 +18572,8 @@ }, { "type": "VariableDeclaration", - "start": 6387, - "end": 6424, + "start": 6428, + "end": 6465, "loc": { "start": { "line": 295, @@ -18340,8 +18587,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 6393, - "end": 6422, + "start": 6434, + "end": 6463, "loc": { "start": { "line": 295, @@ -18354,8 +18601,8 @@ }, "id": { "type": "Identifier", - "start": 6393, - "end": 6394, + "start": 6434, + "end": 6435, "loc": { "start": { "line": 295, @@ -18372,8 +18619,8 @@ }, "init": { "type": "CallExpression", - "start": 6397, - "end": 6422, + "start": 6438, + "end": 6463, "loc": { "start": { "line": 295, @@ -18386,8 +18633,8 @@ }, "callee": { "type": "MemberExpression", - "start": 6397, - "end": 6417, + "start": 6438, + "end": 6458, "loc": { "start": { "line": 295, @@ -18400,8 +18647,8 @@ }, "object": { "type": "Identifier", - "start": 6397, - "end": 6402, + "start": 6438, + "end": 6443, "loc": { "start": { "line": 295, @@ -18417,8 +18664,8 @@ }, "property": { "type": "Identifier", - "start": 6403, - "end": 6417, + "start": 6444, + "end": 6458, "loc": { "start": { "line": 295, @@ -18437,8 +18684,8 @@ "arguments": [ { "type": "Identifier", - "start": 6419, - "end": 6420, + "start": 6460, + "end": 6461, "loc": { "start": { "line": 295, @@ -18462,8 +18709,8 @@ { "type": "CommentLine", "value": " Divisor", - "start": 6374, - "end": 6384, + "start": 6415, + "end": 6425, "loc": { "start": { "line": 294, @@ -18479,8 +18726,8 @@ }, { "type": "VariableDeclaration", - "start": 6427, - "end": 6448, + "start": 6468, + "end": 6489, "loc": { "start": { "line": 296, @@ -18494,8 +18741,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 6433, - "end": 6446, + "start": 6474, + "end": 6487, "loc": { "start": { "line": 296, @@ -18508,8 +18755,8 @@ }, "id": { "type": "Identifier", - "start": 6433, - "end": 6435, + "start": 6474, + "end": 6476, "loc": { "start": { "line": 296, @@ -18525,8 +18772,8 @@ }, "init": { "type": "MemberExpression", - "start": 6438, - "end": 6446, + "start": 6479, + "end": 6487, "loc": { "start": { "line": 296, @@ -18539,8 +18786,8 @@ }, "object": { "type": "Identifier", - "start": 6438, - "end": 6439, + "start": 6479, + "end": 6480, "loc": { "start": { "line": 296, @@ -18556,8 +18803,8 @@ }, "property": { "type": "Identifier", - "start": 6440, - "end": 6446, + "start": 6481, + "end": 6487, "loc": { "start": { "line": 296, @@ -18579,8 +18826,8 @@ }, { "type": "VariableDeclaration", - "start": 6451, - "end": 6492, + "start": 6492, + "end": 6533, "loc": { "start": { "line": 297, @@ -18594,8 +18841,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 6457, - "end": 6490, + "start": 6498, + "end": 6531, "loc": { "start": { "line": 297, @@ -18608,8 +18855,8 @@ }, "id": { "type": "Identifier", - "start": 6457, - "end": 6459, + "start": 6498, + "end": 6500, "loc": { "start": { "line": 297, @@ -18625,8 +18872,8 @@ }, "init": { "type": "CallExpression", - "start": 6462, - "end": 6490, + "start": 6503, + "end": 6531, "loc": { "start": { "line": 297, @@ -18639,8 +18886,8 @@ }, "callee": { "type": "Identifier", - "start": 6462, - "end": 6476, + "start": 6503, + "end": 6517, "loc": { "start": { "line": 297, @@ -18657,8 +18904,8 @@ "arguments": [ { "type": "Identifier", - "start": 6478, - "end": 6479, + "start": 6519, + "end": 6520, "loc": { "start": { "line": 297, @@ -18674,8 +18921,8 @@ }, { "type": "NumericLiteral", - "start": 6482, - "end": 6483, + "start": 6523, + "end": 6524, "loc": { "start": { "line": 297, @@ -18694,8 +18941,8 @@ }, { "type": "Identifier", - "start": 6486, - "end": 6488, + "start": 6527, + "end": 6529, "loc": { "start": { "line": 297, @@ -18718,8 +18965,8 @@ { "type": "CommentLine", "value": " di < dj because d != 0", - "start": 6493, - "end": 6518, + "start": 6534, + "end": 6559, "loc": { "start": { "line": 297, @@ -18734,8 +18981,8 @@ { "type": "CommentLine", "value": " Quotient", - "start": 6522, - "end": 6533, + "start": 6563, + "end": 6574, "loc": { "start": { "line": 299, @@ -18751,8 +18998,8 @@ }, { "type": "VariableDeclaration", - "start": 6536, - "end": 6566, + "start": 6577, + "end": 6607, "loc": { "start": { "line": 300, @@ -18766,8 +19013,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 6542, - "end": 6564, + "start": 6583, + "end": 6605, "loc": { "start": { "line": 300, @@ -18780,8 +19027,8 @@ }, "id": { "type": "Identifier", - "start": 6542, - "end": 6543, + "start": 6583, + "end": 6584, "loc": { "start": { "line": 300, @@ -18798,8 +19045,8 @@ }, "init": { "type": "CallExpression", - "start": 6546, - "end": 6564, + "start": 6587, + "end": 6605, "loc": { "start": { "line": 300, @@ -18812,8 +19059,8 @@ }, "callee": { "type": "Identifier", - "start": 6546, - "end": 6552, + "start": 6587, + "end": 6593, "loc": { "start": { "line": 300, @@ -18830,8 +19077,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 6554, - "end": 6562, + "start": 6595, + "end": 6603, "loc": { "start": { "line": 300, @@ -18844,8 +19091,8 @@ }, "object": { "type": "Identifier", - "start": 6554, - "end": 6555, + "start": 6595, + "end": 6596, "loc": { "start": { "line": 300, @@ -18861,8 +19108,8 @@ }, "property": { "type": "Identifier", - "start": 6556, - "end": 6562, + "start": 6597, + "end": 6603, "loc": { "start": { "line": 300, @@ -18888,8 +19135,8 @@ { "type": "CommentLine", "value": " di < dj because d != 0", - "start": 6493, - "end": 6518, + "start": 6534, + "end": 6559, "loc": { "start": { "line": 297, @@ -18904,8 +19151,8 @@ { "type": "CommentLine", "value": " Quotient", - "start": 6522, - "end": 6533, + "start": 6563, + "end": 6574, "loc": { "start": { "line": 299, @@ -18921,8 +19168,8 @@ }, { "type": "ExpressionStatement", - "start": 6570, - "end": 6637, + "start": 6611, + "end": 6678, "loc": { "start": { "line": 302, @@ -18935,8 +19182,8 @@ }, "expression": { "type": "CallExpression", - "start": 6570, - "end": 6635, + "start": 6611, + "end": 6676, "loc": { "start": { "line": 302, @@ -18949,8 +19196,8 @@ }, "callee": { "type": "Identifier", - "start": 6570, - "end": 6578, + "start": 6611, + "end": 6619, "loc": { "start": { "line": 302, @@ -18967,8 +19214,8 @@ "arguments": [ { "type": "Identifier", - "start": 6580, - "end": 6581, + "start": 6621, + "end": 6622, "loc": { "start": { "line": 302, @@ -18984,8 +19231,8 @@ }, { "type": "Identifier", - "start": 6584, - "end": 6585, + "start": 6625, + "end": 6626, "loc": { "start": { "line": 302, @@ -19001,8 +19248,8 @@ }, { "type": "NumericLiteral", - "start": 6588, - "end": 6589, + "start": 6629, + "end": 6630, "loc": { "start": { "line": 302, @@ -19021,8 +19268,8 @@ }, { "type": "MemberExpression", - "start": 6592, - "end": 6600, + "start": 6633, + "end": 6641, "loc": { "start": { "line": 302, @@ -19035,8 +19282,8 @@ }, "object": { "type": "Identifier", - "start": 6592, - "end": 6593, + "start": 6633, + "end": 6634, "loc": { "start": { "line": 302, @@ -19052,8 +19299,8 @@ }, "property": { "type": "Identifier", - "start": 6594, - "end": 6600, + "start": 6635, + "end": 6641, "loc": { "start": { "line": 302, @@ -19071,8 +19318,8 @@ }, { "type": "Identifier", - "start": 6603, - "end": 6604, + "start": 6644, + "end": 6645, "loc": { "start": { "line": 302, @@ -19088,8 +19335,8 @@ }, { "type": "Identifier", - "start": 6607, - "end": 6609, + "start": 6648, + "end": 6650, "loc": { "start": { "line": 302, @@ -19105,8 +19352,8 @@ }, { "type": "Identifier", - "start": 6612, - "end": 6614, + "start": 6653, + "end": 6655, "loc": { "start": { "line": 302, @@ -19122,8 +19369,8 @@ }, { "type": "Identifier", - "start": 6617, - "end": 6618, + "start": 6658, + "end": 6659, "loc": { "start": { "line": 302, @@ -19139,8 +19386,8 @@ }, { "type": "NumericLiteral", - "start": 6621, - "end": 6622, + "start": 6662, + "end": 6663, "loc": { "start": { "line": 302, @@ -19159,8 +19406,8 @@ }, { "type": "MemberExpression", - "start": 6625, - "end": 6633, + "start": 6666, + "end": 6674, "loc": { "start": { "line": 302, @@ -19173,8 +19420,8 @@ }, "object": { "type": "Identifier", - "start": 6625, - "end": 6626, + "start": 6666, + "end": 6667, "loc": { "start": { "line": 302, @@ -19190,8 +19437,8 @@ }, "property": { "type": "Identifier", - "start": 6627, - "end": 6633, + "start": 6668, + "end": 6674, "loc": { "start": { "line": 302, @@ -19212,8 +19459,8 @@ }, { "type": "VariableDeclaration", - "start": 6641, - "end": 6696, + "start": 6682, + "end": 6737, "loc": { "start": { "line": 304, @@ -19227,8 +19474,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 6647, - "end": 6694, + "start": 6688, + "end": 6735, "loc": { "start": { "line": 304, @@ -19241,8 +19488,8 @@ }, "id": { "type": "Identifier", - "start": 6647, - "end": 6648, + "start": 6688, + "end": 6689, "loc": { "start": { "line": 304, @@ -19258,8 +19505,8 @@ }, "init": { "type": "NewExpression", - "start": 6651, - "end": 6694, + "start": 6692, + "end": 6735, "loc": { "start": { "line": 304, @@ -19272,8 +19519,8 @@ }, "callee": { "type": "Identifier", - "start": 6655, - "end": 6662, + "start": 6696, + "end": 6703, "loc": { "start": { "line": 304, @@ -19290,8 +19537,8 @@ "arguments": [ { "type": "Identifier", - "start": 6664, - "end": 6665, + "start": 6705, + "end": 6706, "loc": { "start": { "line": 304, @@ -19307,8 +19554,8 @@ }, { "type": "Identifier", - "start": 6668, - "end": 6688, + "start": 6709, + "end": 6729, "loc": { "start": { "line": 304, @@ -19324,8 +19571,8 @@ }, { "type": "Identifier", - "start": 6691, - "end": 6692, + "start": 6732, + "end": 6733, "loc": { "start": { "line": 304, @@ -19348,8 +19595,8 @@ { "type": "CommentLine", "value": " quotient", - "start": 6697, - "end": 6708, + "start": 6738, + "end": 6749, "loc": { "start": { "line": 304, @@ -19365,8 +19612,8 @@ }, { "type": "VariableDeclaration", - "start": 6711, - "end": 6747, + "start": 6752, + "end": 6788, "loc": { "start": { "line": 305, @@ -19380,8 +19627,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 6717, - "end": 6745, + "start": 6758, + "end": 6786, "loc": { "start": { "line": 305, @@ -19394,8 +19641,8 @@ }, "id": { "type": "Identifier", - "start": 6717, - "end": 6718, + "start": 6758, + "end": 6759, "loc": { "start": { "line": 305, @@ -19412,8 +19659,8 @@ }, "init": { "type": "NewExpression", - "start": 6721, - "end": 6745, + "start": 6762, + "end": 6786, "loc": { "start": { "line": 305, @@ -19426,8 +19673,8 @@ }, "callee": { "type": "Identifier", - "start": 6725, - "end": 6732, + "start": 6766, + "end": 6773, "loc": { "start": { "line": 305, @@ -19444,8 +19691,8 @@ "arguments": [ { "type": "Identifier", - "start": 6734, - "end": 6735, + "start": 6775, + "end": 6776, "loc": { "start": { "line": 305, @@ -19461,8 +19708,8 @@ }, { "type": "NumericLiteral", - "start": 6738, - "end": 6739, + "start": 6779, + "end": 6780, "loc": { "start": { "line": 305, @@ -19481,8 +19728,8 @@ }, { "type": "Identifier", - "start": 6742, - "end": 6743, + "start": 6783, + "end": 6784, "loc": { "start": { "line": 305, @@ -19506,8 +19753,8 @@ { "type": "CommentLine", "value": " quotient", - "start": 6697, - "end": 6708, + "start": 6738, + "end": 6749, "loc": { "start": { "line": 304, @@ -19524,8 +19771,8 @@ { "type": "CommentLine", "value": " remainder", - "start": 6767, - "end": 6779, + "start": 6808, + "end": 6820, "loc": { "start": { "line": 305, @@ -19541,8 +19788,8 @@ }, { "type": "IfStatement", - "start": 6783, - "end": 7176, + "start": 6824, + "end": 7217, "loc": { "start": { "line": 307, @@ -19555,8 +19802,8 @@ }, "test": { "type": "LogicalExpression", - "start": 6788, - "end": 6855, + "start": 6829, + "end": 6896, "loc": { "start": { "line": 307, @@ -19569,8 +19816,8 @@ }, "left": { "type": "LogicalExpression", - "start": 6789, - "end": 6826, + "start": 6830, + "end": 6867, "loc": { "start": { "line": 307, @@ -19583,8 +19830,8 @@ }, "left": { "type": "MemberExpression", - "start": 6789, - "end": 6805, + "start": 6830, + "end": 6846, "loc": { "start": { "line": 307, @@ -19597,8 +19844,8 @@ }, "object": { "type": "ThisExpression", - "start": 6789, - "end": 6793, + "start": 6830, + "end": 6834, "loc": { "start": { "line": 307, @@ -19613,8 +19860,8 @@ }, "property": { "type": "Identifier", - "start": 6794, - "end": 6805, + "start": 6835, + "end": 6846, "loc": { "start": { "line": 307, @@ -19634,8 +19881,8 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 6809, - "end": 6826, + "start": 6850, + "end": 6867, "loc": { "start": { "line": 307, @@ -19648,8 +19895,8 @@ }, "object": { "type": "Identifier", - "start": 6809, - "end": 6814, + "start": 6850, + "end": 6855, "loc": { "start": { "line": 307, @@ -19665,8 +19912,8 @@ }, "property": { "type": "Identifier", - "start": 6815, - "end": 6826, + "start": 6856, + "end": 6867, "loc": { "start": { "line": 307, @@ -19685,14 +19932,14 @@ "leadingComments": null, "extra": { "parenthesized": true, - "parenStart": 6788 + "parenStart": 6829 } }, "operator": "&&", "right": { "type": "UnaryExpression", - "start": 6832, - "end": 6855, + "start": 6873, + "end": 6896, "loc": { "start": { "line": 307, @@ -19707,8 +19954,8 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 6833, - "end": 6855, + "start": 6874, + "end": 6896, "loc": { "start": { "line": 307, @@ -19721,8 +19968,8 @@ }, "callee": { "type": "Identifier", - "start": 6833, - "end": 6835, + "start": 6874, + "end": 6876, "loc": { "start": { "line": 307, @@ -19739,8 +19986,8 @@ "arguments": [ { "type": "Identifier", - "start": 6837, - "end": 6838, + "start": 6878, + "end": 6879, "loc": { "start": { "line": 307, @@ -19756,8 +20003,8 @@ }, { "type": "NumericLiteral", - "start": 6841, - "end": 6842, + "start": 6882, + "end": 6883, "loc": { "start": { "line": 307, @@ -19776,8 +20023,8 @@ }, { "type": "MemberExpression", - "start": 6845, - "end": 6853, + "start": 6886, + "end": 6894, "loc": { "start": { "line": 307, @@ -19790,8 +20037,8 @@ }, "object": { "type": "Identifier", - "start": 6845, - "end": 6846, + "start": 6886, + "end": 6887, "loc": { "start": { "line": 307, @@ -19807,8 +20054,8 @@ }, "property": { "type": "Identifier", - "start": 6847, - "end": 6853, + "start": 6888, + "end": 6894, "loc": { "start": { "line": 307, @@ -19834,8 +20081,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 6858, - "end": 7176, + "start": 6899, + "end": 7217, "loc": { "start": { "line": 307, @@ -19849,8 +20096,8 @@ "body": [ { "type": "IfStatement", - "start": 6864, - "end": 7171, + "start": 6905, + "end": 7212, "loc": { "start": { "line": 309, @@ -19863,8 +20110,8 @@ }, "test": { "type": "MemberExpression", - "start": 6869, - "end": 6886, + "start": 6910, + "end": 6927, "loc": { "start": { "line": 309, @@ -19877,8 +20124,8 @@ }, "object": { "type": "Identifier", - "start": 6869, - "end": 6874, + "start": 6910, + "end": 6915, "loc": { "start": { "line": 309, @@ -19894,8 +20141,8 @@ }, "property": { "type": "Identifier", - "start": 6875, - "end": 6886, + "start": 6916, + "end": 6927, "loc": { "start": { "line": 309, @@ -19913,8 +20160,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 6889, - "end": 7067, + "start": 6930, + "end": 7108, "loc": { "start": { "line": 309, @@ -19928,8 +20175,8 @@ "body": [ { "type": "IfStatement", - "start": 6896, - "end": 7061, + "start": 6937, + "end": 7102, "loc": { "start": { "line": 311, @@ -19942,8 +20189,8 @@ }, "test": { "type": "UnaryExpression", - "start": 6901, - "end": 6918, + "start": 6942, + "end": 6959, "loc": { "start": { "line": 311, @@ -19958,8 +20205,8 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 6902, - "end": 6918, + "start": 6943, + "end": 6959, "loc": { "start": { "line": 311, @@ -19972,8 +20219,8 @@ }, "object": { "type": "ThisExpression", - "start": 6902, - "end": 6906, + "start": 6943, + "end": 6947, "loc": { "start": { "line": 311, @@ -19987,8 +20234,8 @@ }, "property": { "type": "Identifier", - "start": 6907, - "end": 6918, + "start": 6948, + "end": 6959, "loc": { "start": { "line": 311, @@ -20010,8 +20257,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 6921, - "end": 7009, + "start": 6962, + "end": 7050, "loc": { "start": { "line": 311, @@ -20025,8 +20272,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 6928, - "end": 6963, + "start": 6969, + "end": 7004, "loc": { "start": { "line": 312, @@ -20039,8 +20286,8 @@ }, "expression": { "type": "CallExpression", - "start": 6928, - "end": 6961, + "start": 6969, + "end": 7002, "loc": { "start": { "line": 312, @@ -20053,8 +20300,8 @@ }, "callee": { "type": "Identifier", - "start": 6928, - "end": 6937, + "start": 6969, + "end": 6978, "loc": { "start": { "line": 312, @@ -20071,8 +20318,8 @@ "arguments": [ { "type": "Identifier", - "start": 6939, - "end": 6940, + "start": 6980, + "end": 6981, "loc": { "start": { "line": 312, @@ -20088,8 +20335,8 @@ }, { "type": "Identifier", - "start": 6943, - "end": 6944, + "start": 6984, + "end": 6985, "loc": { "start": { "line": 312, @@ -20105,8 +20352,8 @@ }, { "type": "NumericLiteral", - "start": 6947, - "end": 6948, + "start": 6988, + "end": 6989, "loc": { "start": { "line": 312, @@ -20125,8 +20372,8 @@ }, { "type": "MemberExpression", - "start": 6951, - "end": 6959, + "start": 6992, + "end": 7000, "loc": { "start": { "line": 312, @@ -20139,8 +20386,8 @@ }, "object": { "type": "Identifier", - "start": 6951, - "end": 6952, + "start": 6992, + "end": 6993, "loc": { "start": { "line": 312, @@ -20156,8 +20403,8 @@ }, "property": { "type": "Identifier", - "start": 6953, - "end": 6959, + "start": 6994, + "end": 7000, "loc": { "start": { "line": 312, @@ -20178,8 +20425,8 @@ }, { "type": "ExpressionStatement", - "start": 6969, - "end": 6986, + "start": 7010, + "end": 7027, "loc": { "start": { "line": 313, @@ -20192,8 +20439,8 @@ }, "expression": { "type": "CallExpression", - "start": 6969, - "end": 6984, + "start": 7010, + "end": 7025, "loc": { "start": { "line": 313, @@ -20206,8 +20453,8 @@ }, "callee": { "type": "MemberExpression", - "start": 6969, - "end": 6975, + "start": 7010, + "end": 7016, "loc": { "start": { "line": 313, @@ -20220,8 +20467,8 @@ }, "object": { "type": "Identifier", - "start": 6969, - "end": 6970, + "start": 7010, + "end": 7011, "loc": { "start": { "line": 313, @@ -20237,8 +20484,8 @@ }, "property": { "type": "Identifier", - "start": 6971, - "end": 6975, + "start": 7012, + "end": 7016, "loc": { "start": { "line": 313, @@ -20257,8 +20504,8 @@ "arguments": [ { "type": "Identifier", - "start": 6977, - "end": 6982, + "start": 7018, + "end": 7023, "loc": { "start": { "line": 313, @@ -20278,8 +20525,8 @@ { "type": "CommentLine", "value": " TODO optimize", - "start": 6987, - "end": 7003, + "start": 7028, + "end": 7044, "loc": { "start": { "line": 313, @@ -20298,8 +20545,8 @@ }, "alternate": { "type": "BlockStatement", - "start": 7020, - "end": 7061, + "start": 7061, + "end": 7102, "loc": { "start": { "line": 316, @@ -20313,8 +20560,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 7027, - "end": 7038, + "start": 7068, + "end": 7079, "loc": { "start": { "line": 317, @@ -20327,8 +20574,8 @@ }, "expression": { "type": "CallExpression", - "start": 7027, - "end": 7037, + "start": 7068, + "end": 7078, "loc": { "start": { "line": 317, @@ -20341,8 +20588,8 @@ }, "callee": { "type": "MemberExpression", - "start": 7027, - "end": 7035, + "start": 7068, + "end": 7076, "loc": { "start": { "line": 317, @@ -20355,8 +20602,8 @@ }, "object": { "type": "Identifier", - "start": 7027, - "end": 7028, + "start": 7068, + "end": 7069, "loc": { "start": { "line": 317, @@ -20372,8 +20619,8 @@ }, "property": { "type": "Identifier", - "start": 7029, - "end": 7035, + "start": 7070, + "end": 7076, "loc": { "start": { "line": 317, @@ -20395,8 +20642,8 @@ { "type": "CommentLine", "value": " TODO optimize", - "start": 7039, - "end": 7055, + "start": 7080, + "end": 7096, "loc": { "start": { "line": 317, @@ -20419,8 +20666,8 @@ }, "alternate": { "type": "BlockStatement", - "start": 7077, - "end": 7171, + "start": 7118, + "end": 7212, "loc": { "start": { "line": 322, @@ -20434,8 +20681,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 7083, - "end": 7118, + "start": 7124, + "end": 7159, "loc": { "start": { "line": 323, @@ -20448,8 +20695,8 @@ }, "expression": { "type": "CallExpression", - "start": 7083, - "end": 7116, + "start": 7124, + "end": 7157, "loc": { "start": { "line": 323, @@ -20462,8 +20709,8 @@ }, "callee": { "type": "Identifier", - "start": 7083, - "end": 7092, + "start": 7124, + "end": 7133, "loc": { "start": { "line": 323, @@ -20480,8 +20727,8 @@ "arguments": [ { "type": "Identifier", - "start": 7094, - "end": 7095, + "start": 7135, + "end": 7136, "loc": { "start": { "line": 323, @@ -20497,8 +20744,8 @@ }, { "type": "Identifier", - "start": 7098, - "end": 7099, + "start": 7139, + "end": 7140, "loc": { "start": { "line": 323, @@ -20514,8 +20761,8 @@ }, { "type": "NumericLiteral", - "start": 7102, - "end": 7103, + "start": 7143, + "end": 7144, "loc": { "start": { "line": 323, @@ -20534,8 +20781,8 @@ }, { "type": "MemberExpression", - "start": 7106, - "end": 7114, + "start": 7147, + "end": 7155, "loc": { "start": { "line": 323, @@ -20548,8 +20795,8 @@ }, "object": { "type": "Identifier", - "start": 7106, - "end": 7107, + "start": 7147, + "end": 7148, "loc": { "start": { "line": 323, @@ -20565,8 +20812,8 @@ }, "property": { "type": "Identifier", - "start": 7108, - "end": 7114, + "start": 7149, + "end": 7155, "loc": { "start": { "line": 323, @@ -20587,8 +20834,8 @@ }, { "type": "ExpressionStatement", - "start": 7123, - "end": 7149, + "start": 7164, + "end": 7190, "loc": { "start": { "line": 324, @@ -20601,8 +20848,8 @@ }, "expression": { "type": "CallExpression", - "start": 7123, - "end": 7147, + "start": 7164, + "end": 7188, "loc": { "start": { "line": 324, @@ -20615,8 +20862,8 @@ }, "callee": { "type": "MemberExpression", - "start": 7123, - "end": 7138, + "start": 7164, + "end": 7179, "loc": { "start": { "line": 324, @@ -20629,8 +20876,8 @@ }, "object": { "type": "CallExpression", - "start": 7123, - "end": 7133, + "start": 7164, + "end": 7174, "loc": { "start": { "line": 324, @@ -20643,8 +20890,8 @@ }, "callee": { "type": "MemberExpression", - "start": 7123, - "end": 7131, + "start": 7164, + "end": 7172, "loc": { "start": { "line": 324, @@ -20657,8 +20904,8 @@ }, "object": { "type": "Identifier", - "start": 7123, - "end": 7124, + "start": 7164, + "end": 7165, "loc": { "start": { "line": 324, @@ -20674,8 +20921,8 @@ }, "property": { "type": "Identifier", - "start": 7125, - "end": 7131, + "start": 7166, + "end": 7172, "loc": { "start": { "line": 324, @@ -20695,8 +20942,8 @@ }, "property": { "type": "Identifier", - "start": 7134, - "end": 7138, + "start": 7175, + "end": 7179, "loc": { "start": { "line": 324, @@ -20715,8 +20962,8 @@ "arguments": [ { "type": "Identifier", - "start": 7140, - "end": 7145, + "start": 7181, + "end": 7186, "loc": { "start": { "line": 324, @@ -20736,8 +20983,8 @@ { "type": "CommentLine", "value": " TODO optimize", - "start": 7150, - "end": 7166, + "start": 7191, + "end": 7207, "loc": { "start": { "line": 324, @@ -20763,8 +21010,8 @@ { "type": "CommentLine", "value": " remainder", - "start": 6767, - "end": 6779, + "start": 6808, + "end": 6820, "loc": { "start": { "line": 305, @@ -20780,8 +21027,8 @@ }, { "type": "ReturnStatement", - "start": 7180, - "end": 7198, + "start": 7221, + "end": 7239, "loc": { "start": { "line": 329, @@ -20794,8 +21041,8 @@ }, "argument": { "type": "ArrayExpression", - "start": 7187, - "end": 7196, + "start": 7228, + "end": 7237, "loc": { "start": { "line": 329, @@ -20809,8 +21056,8 @@ "elements": [ { "type": "Identifier", - "start": 7189, - "end": 7190, + "start": 7230, + "end": 7231, "loc": { "start": { "line": 329, @@ -20826,8 +21073,8 @@ }, { "type": "Identifier", - "start": 7193, - "end": 7194, + "start": 7234, + "end": 7235, "loc": { "start": { "line": 329, @@ -20850,8 +21097,8 @@ }, { "type": "ClassMethod", - "start": 7205, - "end": 7352, + "start": 7246, + "end": 7393, "loc": { "start": { "line": 333, @@ -20866,8 +21113,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 7205, - "end": 7212, + "start": 7246, + "end": 7253, "loc": { "start": { "line": 333, @@ -20889,8 +21136,8 @@ "params": [ { "type": "Identifier", - "start": 7215, - "end": 7220, + "start": 7256, + "end": 7261, "loc": { "start": { "line": 333, @@ -20907,8 +21154,8 @@ ], "body": { "type": "BlockStatement", - "start": 7223, - "end": 7352, + "start": 7264, + "end": 7393, "loc": { "start": { "line": 333, @@ -20922,8 +21169,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 7279, - "end": 7317, + "start": 7320, + "end": 7358, "loc": { "start": { "line": 335, @@ -20937,8 +21184,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 7285, - "end": 7315, + "start": 7326, + "end": 7356, "loc": { "start": { "line": 335, @@ -20951,8 +21198,8 @@ }, "id": { "type": "ArrayPattern", - "start": 7285, - "end": 7294, + "start": 7326, + "end": 7335, "loc": { "start": { "line": 335, @@ -20966,8 +21213,8 @@ "elements": [ { "type": "Identifier", - "start": 7287, - "end": 7288, + "start": 7328, + "end": 7329, "loc": { "start": { "line": 335, @@ -20984,8 +21231,8 @@ }, { "type": "Identifier", - "start": 7291, - "end": 7292, + "start": 7332, + "end": 7333, "loc": { "start": { "line": 335, @@ -21004,8 +21251,8 @@ }, "init": { "type": "CallExpression", - "start": 7297, - "end": 7315, + "start": 7338, + "end": 7356, "loc": { "start": { "line": 335, @@ -21018,8 +21265,8 @@ }, "callee": { "type": "MemberExpression", - "start": 7297, - "end": 7308, + "start": 7338, + "end": 7349, "loc": { "start": { "line": 335, @@ -21032,8 +21279,8 @@ }, "object": { "type": "ThisExpression", - "start": 7297, - "end": 7301, + "start": 7338, + "end": 7342, "loc": { "start": { "line": 335, @@ -21047,8 +21294,8 @@ }, "property": { "type": "Identifier", - "start": 7302, - "end": 7308, + "start": 7343, + "end": 7349, "loc": { "start": { "line": 335, @@ -21067,8 +21314,8 @@ "arguments": [ { "type": "Identifier", - "start": 7309, - "end": 7314, + "start": 7350, + "end": 7355, "loc": { "start": { "line": 335, @@ -21092,8 +21339,8 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 7227, - "end": 7276, + "start": 7268, + "end": 7317, "loc": { "start": { "line": 334, @@ -21109,8 +21356,8 @@ }, { "type": "ReturnStatement", - "start": 7320, - "end": 7349, + "start": 7361, + "end": 7390, "loc": { "start": { "line": 336, @@ -21123,8 +21370,8 @@ }, "argument": { "type": "ArrayExpression", - "start": 7327, - "end": 7347, + "start": 7368, + "end": 7388, "loc": { "start": { "line": 336, @@ -21138,8 +21385,8 @@ "elements": [ { "type": "CallExpression", - "start": 7329, - "end": 7341, + "start": 7370, + "end": 7382, "loc": { "start": { "line": 336, @@ -21152,8 +21399,8 @@ }, "callee": { "type": "MemberExpression", - "start": 7329, - "end": 7335, + "start": 7370, + "end": 7376, "loc": { "start": { "line": 336, @@ -21166,8 +21413,8 @@ }, "object": { "type": "Identifier", - "start": 7329, - "end": 7330, + "start": 7370, + "end": 7371, "loc": { "start": { "line": 336, @@ -21183,8 +21430,8 @@ }, "property": { "type": "Identifier", - "start": 7331, - "end": 7335, + "start": 7372, + "end": 7376, "loc": { "start": { "line": 336, @@ -21203,8 +21450,8 @@ "arguments": [ { "type": "ThisExpression", - "start": 7336, - "end": 7340, + "start": 7377, + "end": 7381, "loc": { "start": { "line": 336, @@ -21220,8 +21467,8 @@ }, { "type": "Identifier", - "start": 7344, - "end": 7345, + "start": 7385, + "end": 7386, "loc": { "start": { "line": 336, @@ -21244,8 +21491,8 @@ }, { "type": "ClassMethod", - "start": 7355, - "end": 7441, + "start": 7396, + "end": 7482, "loc": { "start": { "line": 339, @@ -21260,8 +21507,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 7355, - "end": 7363, + "start": 7396, + "end": 7404, "loc": { "start": { "line": 339, @@ -21283,8 +21530,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 7368, - "end": 7441, + "start": 7409, + "end": 7482, "loc": { "start": { "line": 339, @@ -21298,8 +21545,8 @@ "body": [ { "type": "ReturnStatement", - "start": 7372, - "end": 7438, + "start": 7413, + "end": 7479, "loc": { "start": { "line": 340, @@ -21312,8 +21559,8 @@ }, "argument": { "type": "NewExpression", - "start": 7379, - "end": 7436, + "start": 7420, + "end": 7477, "loc": { "start": { "line": 340, @@ -21326,8 +21573,8 @@ }, "callee": { "type": "Identifier", - "start": 7383, - "end": 7390, + "start": 7424, + "end": 7431, "loc": { "start": { "line": 340, @@ -21344,8 +21591,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 7392, - "end": 7401, + "start": 7433, + "end": 7442, "loc": { "start": { "line": 340, @@ -21358,8 +21605,8 @@ }, "object": { "type": "ThisExpression", - "start": 7392, - "end": 7396, + "start": 7433, + "end": 7437, "loc": { "start": { "line": 340, @@ -21373,8 +21620,8 @@ }, "property": { "type": "Identifier", - "start": 7397, - "end": 7401, + "start": 7438, + "end": 7442, "loc": { "start": { "line": 340, @@ -21392,8 +21639,8 @@ }, { "type": "UnaryExpression", - "start": 7404, - "end": 7421, + "start": 7445, + "end": 7462, "loc": { "start": { "line": 340, @@ -21408,8 +21655,8 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 7405, - "end": 7421, + "start": 7446, + "end": 7462, "loc": { "start": { "line": 340, @@ -21422,8 +21669,8 @@ }, "object": { "type": "ThisExpression", - "start": 7405, - "end": 7409, + "start": 7446, + "end": 7450, "loc": { "start": { "line": 340, @@ -21437,8 +21684,8 @@ }, "property": { "type": "Identifier", - "start": 7410, - "end": 7421, + "start": 7451, + "end": 7462, "loc": { "start": { "line": 340, @@ -21460,8 +21707,8 @@ }, { "type": "MemberExpression", - "start": 7424, - "end": 7434, + "start": 7465, + "end": 7475, "loc": { "start": { "line": 340, @@ -21474,8 +21721,8 @@ }, "object": { "type": "ThisExpression", - "start": 7424, - "end": 7428, + "start": 7465, + "end": 7469, "loc": { "start": { "line": 340, @@ -21489,8 +21736,8 @@ }, "property": { "type": "Identifier", - "start": 7429, - "end": 7434, + "start": 7470, + "end": 7475, "loc": { "start": { "line": 340, @@ -21515,8 +21762,8 @@ }, { "type": "ClassMethod", - "start": 7444, - "end": 7548, + "start": 7485, + "end": 7589, "loc": { "start": { "line": 343, @@ -21531,8 +21778,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 7444, - "end": 7450, + "start": 7485, + "end": 7491, "loc": { "start": { "line": 343, @@ -21554,8 +21801,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 7455, - "end": 7548, + "start": 7496, + "end": 7589, "loc": { "start": { "line": 343, @@ -21569,8 +21816,8 @@ "body": [ { "type": "ReturnStatement", - "start": 7511, - "end": 7545, + "start": 7552, + "end": 7586, "loc": { "start": { "line": 345, @@ -21583,8 +21830,8 @@ }, "argument": { "type": "CallExpression", - "start": 7518, - "end": 7544, + "start": 7559, + "end": 7585, "loc": { "start": { "line": 345, @@ -21597,8 +21844,8 @@ }, "callee": { "type": "MemberExpression", - "start": 7518, - "end": 7538, + "start": 7559, + "end": 7579, "loc": { "start": { "line": 345, @@ -21611,8 +21858,8 @@ }, "object": { "type": "CallExpression", - "start": 7518, - "end": 7533, + "start": 7559, + "end": 7574, "loc": { "start": { "line": 345, @@ -21625,8 +21872,8 @@ }, "callee": { "type": "MemberExpression", - "start": 7518, - "end": 7531, + "start": 7559, + "end": 7572, "loc": { "start": { "line": 345, @@ -21639,8 +21886,8 @@ }, "object": { "type": "ThisExpression", - "start": 7518, - "end": 7522, + "start": 7559, + "end": 7563, "loc": { "start": { "line": 345, @@ -21655,8 +21902,8 @@ }, "property": { "type": "Identifier", - "start": 7523, - "end": 7531, + "start": 7564, + "end": 7572, "loc": { "start": { "line": 345, @@ -21678,8 +21925,8 @@ }, "property": { "type": "Identifier", - "start": 7534, - "end": 7538, + "start": 7575, + "end": 7579, "loc": { "start": { "line": 345, @@ -21699,8 +21946,8 @@ "arguments": [ { "type": "ThisExpression", - "start": 7539, - "end": 7543, + "start": 7580, + "end": 7584, "loc": { "start": { "line": 345, @@ -21719,8 +21966,8 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 7459, - "end": 7508, + "start": 7500, + "end": 7549, "loc": { "start": { "line": 344, @@ -21740,8 +21987,8 @@ }, { "type": "ClassMethod", - "start": 7551, - "end": 7620, + "start": 7592, + "end": 7661, "loc": { "start": { "line": 348, @@ -21756,8 +22003,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 7551, - "end": 7554, + "start": 7592, + "end": 7595, "loc": { "start": { "line": 348, @@ -21779,8 +22026,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 7559, - "end": 7620, + "start": 7600, + "end": 7661, "loc": { "start": { "line": 348, @@ -21794,8 +22041,8 @@ "body": [ { "type": "ReturnStatement", - "start": 7563, - "end": 7617, + "start": 7604, + "end": 7658, "loc": { "start": { "line": 349, @@ -21808,8 +22055,8 @@ }, "argument": { "type": "ConditionalExpression", - "start": 7570, - "end": 7615, + "start": 7611, + "end": 7656, "loc": { "start": { "line": 349, @@ -21822,8 +22069,8 @@ }, "test": { "type": "BinaryExpression", - "start": 7570, - "end": 7586, + "start": 7611, + "end": 7627, "loc": { "start": { "line": 349, @@ -21836,8 +22083,8 @@ }, "left": { "type": "CallExpression", - "start": 7570, - "end": 7581, + "start": 7611, + "end": 7622, "loc": { "start": { "line": 349, @@ -21850,8 +22097,8 @@ }, "callee": { "type": "MemberExpression", - "start": 7570, - "end": 7579, + "start": 7611, + "end": 7620, "loc": { "start": { "line": 349, @@ -21864,8 +22111,8 @@ }, "object": { "type": "ThisExpression", - "start": 7570, - "end": 7574, + "start": 7611, + "end": 7615, "loc": { "start": { "line": 349, @@ -21879,8 +22126,8 @@ }, "property": { "type": "Identifier", - "start": 7575, - "end": 7579, + "start": 7616, + "end": 7620, "loc": { "start": { "line": 349, @@ -21901,8 +22148,8 @@ "operator": ">=", "right": { "type": "NumericLiteral", - "start": 7585, - "end": 7586, + "start": 7626, + "end": 7627, "loc": { "start": { "line": 349, @@ -21922,8 +22169,8 @@ }, "consequent": { "type": "ThisExpression", - "start": 7589, - "end": 7593, + "start": 7630, + "end": 7634, "loc": { "start": { "line": 349, @@ -21937,8 +22184,8 @@ }, "alternate": { "type": "CallExpression", - "start": 7596, - "end": 7615, + "start": 7637, + "end": 7656, "loc": { "start": { "line": 349, @@ -21951,8 +22198,8 @@ }, "callee": { "type": "MemberExpression", - "start": 7596, - "end": 7609, + "start": 7637, + "end": 7650, "loc": { "start": { "line": 349, @@ -21965,8 +22212,8 @@ }, "object": { "type": "ThisExpression", - "start": 7596, - "end": 7600, + "start": 7637, + "end": 7641, "loc": { "start": { "line": 349, @@ -21980,8 +22227,8 @@ }, "property": { "type": "Identifier", - "start": 7601, - "end": 7609, + "start": 7642, + "end": 7650, "loc": { "start": { "line": 349, @@ -22000,8 +22247,8 @@ "arguments": [ { "type": "ThisExpression", - "start": 7610, - "end": 7614, + "start": 7651, + "end": 7655, "loc": { "start": { "line": 349, @@ -22023,8 +22270,8 @@ }, { "type": "ClassMethod", - "start": 7623, - "end": 7691, + "start": 7664, + "end": 7710, "loc": { "start": { "line": 352, @@ -22039,8 +22286,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 7623, - "end": 7627, + "start": 7664, + "end": 7668, "loc": { "start": { "line": 352, @@ -22062,8 +22309,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 7632, - "end": 7691, + "start": 7673, + "end": 7710, "loc": { "start": { "line": 352, @@ -22077,8 +22324,8 @@ "body": [ { "type": "ReturnStatement", - "start": 7636, - "end": 7688, + "start": 7677, + "end": 7707, "loc": { "start": { "line": 353, @@ -22086,13 +22333,13 @@ }, "end": { "line": 353, - "column": 54 + "column": 32 } }, "argument": { - "type": "ConditionalExpression", - "start": 7643, - "end": 7686, + "type": "CallExpression", + "start": 7684, + "end": 7705, "loc": { "start": { "line": 353, @@ -22100,13 +22347,13 @@ }, "end": { "line": 353, - "column": 52 + "column": 30 } }, - "test": { - "type": "BinaryExpression", - "start": 7643, - "end": 7659, + "callee": { + "type": "MemberExpression", + "start": 7684, + "end": 7699, "loc": { "start": { "line": 353, @@ -22114,13 +22361,13 @@ }, "end": { "line": 353, - "column": 25 + "column": 24 } }, - "left": { + "object": { "type": "CallExpression", - "start": 7643, - "end": 7654, + "start": 7684, + "end": 7694, "loc": { "start": { "line": 353, @@ -22128,13 +22375,13 @@ }, "end": { "line": 353, - "column": 20 + "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 7643, - "end": 7652, + "start": 7684, + "end": 7692, "loc": { "start": { "line": 353, @@ -22142,13 +22389,13 @@ }, "end": { "line": 353, - "column": 18 + "column": 17 } }, "object": { "type": "ThisExpression", - "start": 7643, - "end": 7647, + "start": 7684, + "end": 7688, "loc": { "start": { "line": 353, @@ -22162,8 +22409,8 @@ }, "property": { "type": "Identifier", - "start": 7648, - "end": 7652, + "start": 7689, + "end": 7692, "loc": { "start": { "line": 353, @@ -22171,133 +22418,52 @@ }, "end": { "line": 353, - "column": 18 + "column": 17 }, - "identifierName": "sign" + "identifierName": "abs" }, - "name": "sign" + "name": "abs" }, "computed": false }, "arguments": [] }, - "operator": ">=", - "right": { - "type": "NumericLiteral", - "start": 7658, - "end": 7659, + "property": { + "type": "Identifier", + "start": 7695, + "end": 7699, "loc": { "start": { "line": 353, - "column": 24 + "column": 20 }, "end": { "line": 353, - "column": 25 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - }, - "consequent": { - "type": "ThisExpression", - "start": 7662, - "end": 7666, - "loc": { - "start": { - "line": 353, - "column": 28 - }, - "end": { - "line": 353, - "column": 32 - } - } - }, - "alternate": { - "type": "CallExpression", - "start": 7669, - "end": 7686, - "loc": { - "start": { - "line": 353, - "column": 35 + "column": 24 + }, + "identifierName": "move" }, - "end": { - "line": 353, - "column": 52 - } + "name": "move" }, - "callee": { - "type": "MemberExpression", - "start": 7669, - "end": 7680, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 7700, + "end": 7704, "loc": { "start": { "line": 353, - "column": 35 + "column": 25 }, "end": { "line": 353, - "column": 46 - } - }, - "object": { - "type": "ThisExpression", - "start": 7669, - "end": 7673, - "loc": { - "start": { - "line": 353, - "column": 35 - }, - "end": { - "line": 353, - "column": 39 - } - } - }, - "property": { - "type": "Identifier", - "start": 7674, - "end": 7680, - "loc": { - "start": { - "line": 353, - "column": 40 - }, - "end": { - "line": 353, - "column": 46 - }, - "identifierName": "negate" - }, - "name": "negate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ThisExpression", - "start": 7681, - "end": 7685, - "loc": { - "start": { - "line": 353, - "column": 47 - }, - "end": { - "line": 353, - "column": 51 - } + "column": 29 } } - ] - } + } + ] } } ], @@ -22306,8 +22472,8 @@ }, { "type": "ClassMethod", - "start": 7694, - "end": 7764, + "start": 7713, + "end": 7783, "loc": { "start": { "line": 356, @@ -22322,8 +22488,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 7694, - "end": 7698, + "start": 7713, + "end": 7717, "loc": { "start": { "line": 356, @@ -22345,8 +22511,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 7703, - "end": 7764, + "start": 7722, + "end": 7783, "loc": { "start": { "line": 356, @@ -22360,8 +22526,8 @@ "body": [ { "type": "ReturnStatement", - "start": 7707, - "end": 7761, + "start": 7726, + "end": 7780, "loc": { "start": { "line": 357, @@ -22374,8 +22540,8 @@ }, "argument": { "type": "ConditionalExpression", - "start": 7714, - "end": 7759, + "start": 7733, + "end": 7778, "loc": { "start": { "line": 357, @@ -22388,8 +22554,8 @@ }, "test": { "type": "CallExpression", - "start": 7714, - "end": 7727, + "start": 7733, + "end": 7746, "loc": { "start": { "line": 357, @@ -22402,8 +22568,8 @@ }, "callee": { "type": "MemberExpression", - "start": 7714, - "end": 7725, + "start": 7733, + "end": 7744, "loc": { "start": { "line": 357, @@ -22416,8 +22582,8 @@ }, "object": { "type": "ThisExpression", - "start": 7714, - "end": 7718, + "start": 7733, + "end": 7737, "loc": { "start": { "line": 357, @@ -22431,8 +22597,8 @@ }, "property": { "type": "Identifier", - "start": 7719, - "end": 7725, + "start": 7738, + "end": 7744, "loc": { "start": { "line": 357, @@ -22452,8 +22618,8 @@ }, "consequent": { "type": "NumericLiteral", - "start": 7730, - "end": 7731, + "start": 7749, + "end": 7750, "loc": { "start": { "line": 357, @@ -22472,8 +22638,8 @@ }, "alternate": { "type": "ConditionalExpression", - "start": 7734, - "end": 7759, + "start": 7753, + "end": 7778, "loc": { "start": { "line": 357, @@ -22486,8 +22652,8 @@ }, "test": { "type": "MemberExpression", - "start": 7734, - "end": 7750, + "start": 7753, + "end": 7769, "loc": { "start": { "line": 357, @@ -22500,8 +22666,8 @@ }, "object": { "type": "ThisExpression", - "start": 7734, - "end": 7738, + "start": 7753, + "end": 7757, "loc": { "start": { "line": 357, @@ -22515,8 +22681,8 @@ }, "property": { "type": "Identifier", - "start": 7739, - "end": 7750, + "start": 7758, + "end": 7769, "loc": { "start": { "line": 357, @@ -22534,8 +22700,8 @@ }, "consequent": { "type": "UnaryExpression", - "start": 7753, - "end": 7755, + "start": 7772, + "end": 7774, "loc": { "start": { "line": 357, @@ -22550,8 +22716,8 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 7754, - "end": 7755, + "start": 7773, + "end": 7774, "loc": { "start": { "line": 357, @@ -22574,8 +22740,8 @@ }, "alternate": { "type": "NumericLiteral", - "start": 7758, - "end": 7759, + "start": 7777, + "end": 7778, "loc": { "start": { "line": 357, @@ -22601,8 +22767,8 @@ }, { "type": "ClassMethod", - "start": 7767, - "end": 7834, + "start": 7786, + "end": 7853, "loc": { "start": { "line": 360, @@ -22617,8 +22783,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 7767, - "end": 7773, + "start": 7786, + "end": 7792, "loc": { "start": { "line": 360, @@ -22640,8 +22806,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 7778, - "end": 7834, + "start": 7797, + "end": 7853, "loc": { "start": { "line": 360, @@ -22655,8 +22821,8 @@ "body": [ { "type": "ReturnStatement", - "start": 7782, - "end": 7831, + "start": 7801, + "end": 7850, "loc": { "start": { "line": 361, @@ -22669,8 +22835,8 @@ }, "argument": { "type": "CallExpression", - "start": 7789, - "end": 7829, + "start": 7808, + "end": 7848, "loc": { "start": { "line": 361, @@ -22683,8 +22849,8 @@ }, "callee": { "type": "Identifier", - "start": 7789, - "end": 7791, + "start": 7808, + "end": 7810, "loc": { "start": { "line": 361, @@ -22701,8 +22867,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 7793, - "end": 7803, + "start": 7812, + "end": 7822, "loc": { "start": { "line": 361, @@ -22715,8 +22881,8 @@ }, "object": { "type": "ThisExpression", - "start": 7793, - "end": 7797, + "start": 7812, + "end": 7816, "loc": { "start": { "line": 361, @@ -22730,8 +22896,8 @@ }, "property": { "type": "Identifier", - "start": 7798, - "end": 7803, + "start": 7817, + "end": 7822, "loc": { "start": { "line": 361, @@ -22749,8 +22915,8 @@ }, { "type": "NumericLiteral", - "start": 7806, - "end": 7807, + "start": 7825, + "end": 7826, "loc": { "start": { "line": 361, @@ -22769,8 +22935,8 @@ }, { "type": "MemberExpression", - "start": 7810, - "end": 7827, + "start": 7829, + "end": 7846, "loc": { "start": { "line": 361, @@ -22783,8 +22949,8 @@ }, "object": { "type": "MemberExpression", - "start": 7810, - "end": 7820, + "start": 7829, + "end": 7839, "loc": { "start": { "line": 361, @@ -22797,8 +22963,8 @@ }, "object": { "type": "ThisExpression", - "start": 7810, - "end": 7814, + "start": 7829, + "end": 7833, "loc": { "start": { "line": 361, @@ -22812,8 +22978,8 @@ }, "property": { "type": "Identifier", - "start": 7815, - "end": 7820, + "start": 7834, + "end": 7839, "loc": { "start": { "line": 361, @@ -22831,8 +22997,8 @@ }, "property": { "type": "Identifier", - "start": 7821, - "end": 7827, + "start": 7840, + "end": 7846, "loc": { "start": { "line": 361, @@ -22857,8 +23023,8 @@ }, { "type": "ClassMethod", - "start": 7837, - "end": 7960, + "start": 7856, + "end": 7979, "loc": { "start": { "line": 364, @@ -22873,8 +23039,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 7837, - "end": 7842, + "start": 7856, + "end": 7861, "loc": { "start": { "line": 364, @@ -22896,8 +23062,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 7847, - "end": 7960, + "start": 7866, + "end": 7979, "loc": { "start": { "line": 364, @@ -22911,8 +23077,8 @@ "body": [ { "type": "IfStatement", - "start": 7851, - "end": 7889, + "start": 7870, + "end": 7908, "loc": { "start": { "line": 365, @@ -22925,8 +23091,8 @@ }, "test": { "type": "MemberExpression", - "start": 7856, - "end": 7872, + "start": 7875, + "end": 7891, "loc": { "start": { "line": 365, @@ -22939,8 +23105,8 @@ }, "object": { "type": "ThisExpression", - "start": 7856, - "end": 7860, + "start": 7875, + "end": 7879, "loc": { "start": { "line": 365, @@ -22954,8 +23120,8 @@ }, "property": { "type": "Identifier", - "start": 7861, - "end": 7872, + "start": 7880, + "end": 7891, "loc": { "start": { "line": 365, @@ -22973,8 +23139,8 @@ }, "consequent": { "type": "ReturnStatement", - "start": 7875, - "end": 7889, + "start": 7894, + "end": 7908, "loc": { "start": { "line": 365, @@ -22987,8 +23153,8 @@ }, "argument": { "type": "BooleanLiteral", - "start": 7882, - "end": 7887, + "start": 7901, + "end": 7906, "loc": { "start": { "line": 365, @@ -23006,8 +23172,8 @@ }, { "type": "ReturnStatement", - "start": 7892, - "end": 7957, + "start": 7911, + "end": 7976, "loc": { "start": { "line": 366, @@ -23020,8 +23186,8 @@ }, "argument": { "type": "CallExpression", - "start": 7899, - "end": 7955, + "start": 7918, + "end": 7974, "loc": { "start": { "line": 366, @@ -23034,8 +23200,8 @@ }, "callee": { "type": "Identifier", - "start": 7899, - "end": 7901, + "start": 7918, + "end": 7920, "loc": { "start": { "line": 366, @@ -23052,8 +23218,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 7903, - "end": 7913, + "start": 7922, + "end": 7932, "loc": { "start": { "line": 366, @@ -23066,8 +23232,8 @@ }, "object": { "type": "ThisExpression", - "start": 7903, - "end": 7907, + "start": 7922, + "end": 7926, "loc": { "start": { "line": 366, @@ -23081,8 +23247,8 @@ }, "property": { "type": "Identifier", - "start": 7908, - "end": 7913, + "start": 7927, + "end": 7932, "loc": { "start": { "line": 366, @@ -23100,8 +23266,8 @@ }, { "type": "NumericLiteral", - "start": 7916, - "end": 7917, + "start": 7935, + "end": 7936, "loc": { "start": { "line": 366, @@ -23120,8 +23286,8 @@ }, { "type": "MemberExpression", - "start": 7920, - "end": 7937, + "start": 7939, + "end": 7956, "loc": { "start": { "line": 366, @@ -23134,8 +23300,8 @@ }, "object": { "type": "MemberExpression", - "start": 7920, - "end": 7930, + "start": 7939, + "end": 7949, "loc": { "start": { "line": 366, @@ -23148,8 +23314,8 @@ }, "object": { "type": "ThisExpression", - "start": 7920, - "end": 7924, + "start": 7939, + "end": 7943, "loc": { "start": { "line": 366, @@ -23163,8 +23329,8 @@ }, "property": { "type": "Identifier", - "start": 7925, - "end": 7930, + "start": 7944, + "end": 7949, "loc": { "start": { "line": 366, @@ -23182,8 +23348,8 @@ }, "property": { "type": "Identifier", - "start": 7931, - "end": 7937, + "start": 7950, + "end": 7956, "loc": { "start": { "line": 366, @@ -23201,8 +23367,8 @@ }, { "type": "ArrayExpression", - "start": 7940, - "end": 7945, + "start": 7959, + "end": 7964, "loc": { "start": { "line": 366, @@ -23216,8 +23382,8 @@ "elements": [ { "type": "NumericLiteral", - "start": 7942, - "end": 7943, + "start": 7961, + "end": 7962, "loc": { "start": { "line": 366, @@ -23238,8 +23404,8 @@ }, { "type": "NumericLiteral", - "start": 7948, - "end": 7949, + "start": 7967, + "end": 7968, "loc": { "start": { "line": 366, @@ -23258,8 +23424,8 @@ }, { "type": "NumericLiteral", - "start": 7952, - "end": 7953, + "start": 7971, + "end": 7972, "loc": { "start": { "line": 366, @@ -23285,8 +23451,8 @@ }, { "type": "ClassMethod", - "start": 7963, - "end": 8006, + "start": 7982, + "end": 8025, "loc": { "start": { "line": 369, @@ -23301,8 +23467,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 7963, - "end": 7972, + "start": 7982, + "end": 7991, "loc": { "start": { "line": 369, @@ -23324,8 +23490,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 7977, - "end": 8006, + "start": 7996, + "end": 8025, "loc": { "start": { "line": 369, @@ -23339,8 +23505,8 @@ "body": [ { "type": "ReturnStatement", - "start": 7981, - "end": 8003, + "start": 8000, + "end": 8022, "loc": { "start": { "line": 370, @@ -23353,8 +23519,8 @@ }, "argument": { "type": "UnaryExpression", - "start": 7988, - "end": 8002, + "start": 8007, + "end": 8021, "loc": { "start": { "line": 370, @@ -23369,8 +23535,8 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 7989, - "end": 8002, + "start": 8008, + "end": 8021, "loc": { "start": { "line": 370, @@ -23383,8 +23549,8 @@ }, "callee": { "type": "MemberExpression", - "start": 7989, - "end": 8000, + "start": 8008, + "end": 8019, "loc": { "start": { "line": 370, @@ -23397,8 +23563,8 @@ }, "object": { "type": "ThisExpression", - "start": 7989, - "end": 7993, + "start": 8008, + "end": 8012, "loc": { "start": { "line": 370, @@ -23412,8 +23578,8 @@ }, "property": { "type": "Identifier", - "start": 7994, - "end": 8000, + "start": 8013, + "end": 8019, "loc": { "start": { "line": 370, @@ -23442,8 +23608,8 @@ }, { "type": "ClassMethod", - "start": 8009, - "end": 8056, + "start": 8028, + "end": 8097, "loc": { "start": { "line": 373, @@ -23458,8 +23624,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 8009, - "end": 8019, + "start": 8028, + "end": 8038, "loc": { "start": { "line": 373, @@ -23481,8 +23647,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8024, - "end": 8056, + "start": 8043, + "end": 8097, "loc": { "start": { "line": 373, @@ -23496,8 +23662,8 @@ "body": [ { "type": "ReturnStatement", - "start": 8028, - "end": 8053, + "start": 8047, + "end": 8094, "loc": { "start": { "line": 374, @@ -23505,13 +23671,13 @@ }, "end": { "line": 374, - "column": 27 + "column": 49 } }, "argument": { - "type": "MemberExpression", - "start": 8035, - "end": 8051, + "type": "ConditionalExpression", + "start": 8054, + "end": 8092, "loc": { "start": { "line": 374, @@ -23519,13 +23685,13 @@ }, "end": { "line": 374, - "column": 25 + "column": 47 } }, - "object": { - "type": "ThisExpression", - "start": 8035, - "end": 8039, + "test": { + "type": "BinaryExpression", + "start": 8054, + "end": 8077, "loc": { "start": { "line": 374, @@ -23533,28 +23699,131 @@ }, "end": { "line": 374, - "column": 13 + "column": 32 + } + }, + "left": { + "type": "MemberExpression", + "start": 8054, + "end": 8070, + "loc": { + "start": { + "line": 374, + "column": 9 + }, + "end": { + "line": 374, + "column": 25 + } + }, + "object": { + "type": "ThisExpression", + "start": 8054, + "end": 8058, + "loc": { + "start": { + "line": 374, + "column": 9 + }, + "end": { + "line": 374, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "start": 8059, + "end": 8070, + "loc": { + "start": { + "line": 374, + "column": 14 + }, + "end": { + "line": 374, + "column": 25 + }, + "identifierName": "is_negative" + }, + "name": "is_negative" + }, + "computed": false + }, + "operator": "===", + "right": { + "type": "UnaryExpression", + "start": 8075, + "end": 8077, + "loc": { + "start": { + "line": 374, + "column": 30 + }, + "end": { + "line": 374, + "column": 32 + } + }, + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 8076, + "end": 8077, + "loc": { + "start": { + "line": 374, + "column": 31 + }, + "end": { + "line": 374, + "column": 32 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesizedArgument": false } } }, - "property": { - "type": "Identifier", - "start": 8040, - "end": 8051, + "consequent": { + "type": "BooleanLiteral", + "start": 8080, + "end": 8084, "loc": { "start": { "line": 374, - "column": 14 + "column": 35 }, "end": { "line": 374, - "column": 25 - }, - "identifierName": "is_negative" + "column": 39 + } }, - "name": "is_negative" + "value": true }, - "computed": false + "alternate": { + "type": "BooleanLiteral", + "start": 8087, + "end": 8092, + "loc": { + "start": { + "line": 374, + "column": 42 + }, + "end": { + "line": 374, + "column": 47 + } + }, + "value": false + } } } ], @@ -23563,8 +23832,8 @@ }, { "type": "ClassMethod", - "start": 8059, - "end": 8105, + "start": 8100, + "end": 8146, "loc": { "start": { "line": 377, @@ -23579,8 +23848,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 8059, - "end": 8069, + "start": 8100, + "end": 8110, "loc": { "start": { "line": 377, @@ -23602,8 +23871,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8074, - "end": 8105, + "start": 8115, + "end": 8146, "loc": { "start": { "line": 377, @@ -23617,8 +23886,8 @@ "body": [ { "type": "ReturnStatement", - "start": 8078, - "end": 8102, + "start": 8119, + "end": 8143, "loc": { "start": { "line": 378, @@ -23631,8 +23900,8 @@ }, "argument": { "type": "BinaryExpression", - "start": 8085, - "end": 8100, + "start": 8126, + "end": 8141, "loc": { "start": { "line": 378, @@ -23645,8 +23914,8 @@ }, "left": { "type": "CallExpression", - "start": 8085, - "end": 8096, + "start": 8126, + "end": 8137, "loc": { "start": { "line": 378, @@ -23659,8 +23928,8 @@ }, "callee": { "type": "MemberExpression", - "start": 8085, - "end": 8094, + "start": 8126, + "end": 8135, "loc": { "start": { "line": 378, @@ -23673,8 +23942,8 @@ }, "object": { "type": "ThisExpression", - "start": 8085, - "end": 8089, + "start": 8126, + "end": 8130, "loc": { "start": { "line": 378, @@ -23688,8 +23957,8 @@ }, "property": { "type": "Identifier", - "start": 8090, - "end": 8094, + "start": 8131, + "end": 8135, "loc": { "start": { "line": 378, @@ -23710,8 +23979,8 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 8099, - "end": 8100, + "start": 8140, + "end": 8141, "loc": { "start": { "line": 378, @@ -23736,8 +24005,8 @@ }, { "type": "ClassMethod", - "start": 8108, - "end": 8157, + "start": 8149, + "end": 8200, "loc": { "start": { "line": 381, @@ -23752,8 +24021,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 8108, - "end": 8121, + "start": 8149, + "end": 8162, "loc": { "start": { "line": 381, @@ -23775,8 +24044,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8126, - "end": 8157, + "start": 8167, + "end": 8200, "loc": { "start": { "line": 381, @@ -23790,8 +24059,8 @@ "body": [ { "type": "ReturnStatement", - "start": 8130, - "end": 8154, + "start": 8171, + "end": 8197, "loc": { "start": { "line": 382, @@ -23799,13 +24068,13 @@ }, "end": { "line": 382, - "column": 26 + "column": 28 } }, "argument": { "type": "UnaryExpression", - "start": 8137, - "end": 8153, + "start": 8178, + "end": 8196, "loc": { "start": { "line": 382, @@ -23813,15 +24082,15 @@ }, "end": { "line": 382, - "column": 25 + "column": 27 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", - "start": 8138, - "end": 8153, + "start": 8179, + "end": 8196, "loc": { "start": { "line": 382, @@ -23829,13 +24098,13 @@ }, "end": { "line": 382, - "column": 25 + "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 8138, - "end": 8151, + "start": 8179, + "end": 8194, "loc": { "start": { "line": 382, @@ -23843,13 +24112,13 @@ }, "end": { "line": 382, - "column": 23 + "column": 25 } }, "object": { "type": "ThisExpression", - "start": 8138, - "end": 8142, + "start": 8179, + "end": 8183, "loc": { "start": { "line": 382, @@ -23863,8 +24132,8 @@ }, "property": { "type": "Identifier", - "start": 8143, - "end": 8151, + "start": 8184, + "end": 8194, "loc": { "start": { "line": 382, @@ -23872,11 +24141,11 @@ }, "end": { "line": 382, - "column": 23 + "column": 25 }, - "identifierName": "negative" + "identifierName": "isnegative" }, - "name": "negative" + "name": "isnegative" }, "computed": false }, @@ -23893,8 +24162,8 @@ }, { "type": "ClassMethod", - "start": 8160, - "end": 8210, + "start": 8203, + "end": 8255, "loc": { "start": { "line": 385, @@ -23909,8 +24178,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 8160, - "end": 8173, + "start": 8203, + "end": 8216, "loc": { "start": { "line": 385, @@ -23932,8 +24201,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8178, - "end": 8210, + "start": 8221, + "end": 8255, "loc": { "start": { "line": 385, @@ -23947,8 +24216,8 @@ "body": [ { "type": "ReturnStatement", - "start": 8182, - "end": 8207, + "start": 8225, + "end": 8252, "loc": { "start": { "line": 386, @@ -23956,13 +24225,13 @@ }, "end": { "line": 386, - "column": 27 + "column": 29 } }, "argument": { "type": "UnaryExpression", - "start": 8189, - "end": 8205, + "start": 8232, + "end": 8250, "loc": { "start": { "line": 386, @@ -23970,15 +24239,15 @@ }, "end": { "line": 386, - "column": 25 + "column": 27 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", - "start": 8190, - "end": 8205, + "start": 8233, + "end": 8250, "loc": { "start": { "line": 386, @@ -23986,13 +24255,13 @@ }, "end": { "line": 386, - "column": 25 + "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 8190, - "end": 8203, + "start": 8233, + "end": 8248, "loc": { "start": { "line": 386, @@ -24000,13 +24269,13 @@ }, "end": { "line": 386, - "column": 23 + "column": 25 } }, "object": { "type": "ThisExpression", - "start": 8190, - "end": 8194, + "start": 8233, + "end": 8237, "loc": { "start": { "line": 386, @@ -24020,8 +24289,8 @@ }, "property": { "type": "Identifier", - "start": 8195, - "end": 8203, + "start": 8238, + "end": 8248, "loc": { "start": { "line": 386, @@ -24029,11 +24298,11 @@ }, "end": { "line": 386, - "column": 23 + "column": 25 }, - "identifierName": "positive" + "identifierName": "ispositive" }, - "name": "positive" + "name": "ispositive" }, "computed": false }, @@ -24050,8 +24319,8 @@ }, { "type": "ClassMethod", - "start": 8213, - "end": 8363, + "start": 8258, + "end": 8408, "loc": { "start": { "line": 389, @@ -24066,8 +24335,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 8213, - "end": 8219, + "start": 8258, + "end": 8264, "loc": { "start": { "line": 389, @@ -24089,8 +24358,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8224, - "end": 8363, + "start": 8269, + "end": 8408, "loc": { "start": { "line": 389, @@ -24104,8 +24373,8 @@ "body": [ { "type": "ReturnStatement", - "start": 8339, - "end": 8360, + "start": 8384, + "end": 8405, "loc": { "start": { "line": 392, @@ -24118,8 +24387,8 @@ }, "argument": { "type": "CallExpression", - "start": 8346, - "end": 8358, + "start": 8391, + "end": 8403, "loc": { "start": { "line": 392, @@ -24132,8 +24401,8 @@ }, "callee": { "type": "MemberExpression", - "start": 8346, - "end": 8355, + "start": 8391, + "end": 8400, "loc": { "start": { "line": 392, @@ -24146,8 +24415,8 @@ }, "object": { "type": "ThisExpression", - "start": 8346, - "end": 8350, + "start": 8391, + "end": 8395, "loc": { "start": { "line": 392, @@ -24162,8 +24431,8 @@ }, "property": { "type": "Identifier", - "start": 8351, - "end": 8355, + "start": 8396, + "end": 8400, "loc": { "start": { "line": 392, @@ -24183,8 +24452,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 8356, - "end": 8357, + "start": 8401, + "end": 8402, "loc": { "start": { "line": 392, @@ -24208,8 +24477,8 @@ { "type": "CommentLine", "value": " TODO optimize this, there is a much faster way to test for parity", - "start": 8228, - "end": 8296, + "start": 8273, + "end": 8341, "loc": { "start": { "line": 390, @@ -24224,8 +24493,8 @@ { "type": "CommentLine", "value": " when the base is a multiple of two", - "start": 8299, - "end": 8336, + "start": 8344, + "end": 8381, "loc": { "start": { "line": 391, @@ -24245,8 +24514,8 @@ }, { "type": "ClassMethod", - "start": 8366, - "end": 8415, + "start": 8411, + "end": 8460, "loc": { "start": { "line": 395, @@ -24261,8 +24530,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 8366, - "end": 8372, + "start": 8411, + "end": 8417, "loc": { "start": { "line": 395, @@ -24284,8 +24553,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8377, - "end": 8415, + "start": 8422, + "end": 8460, "loc": { "start": { "line": 395, @@ -24299,8 +24568,8 @@ "body": [ { "type": "ReturnStatement", - "start": 8381, - "end": 8412, + "start": 8426, + "end": 8457, "loc": { "start": { "line": 396, @@ -24313,8 +24582,8 @@ }, "argument": { "type": "CallExpression", - "start": 8388, - "end": 8410, + "start": 8433, + "end": 8455, "loc": { "start": { "line": 396, @@ -24327,8 +24596,8 @@ }, "callee": { "type": "MemberExpression", - "start": 8388, - "end": 8408, + "start": 8433, + "end": 8453, "loc": { "start": { "line": 396, @@ -24341,8 +24610,8 @@ }, "object": { "type": "CallExpression", - "start": 8388, - "end": 8401, + "start": 8433, + "end": 8446, "loc": { "start": { "line": 396, @@ -24355,8 +24624,8 @@ }, "callee": { "type": "MemberExpression", - "start": 8388, - "end": 8399, + "start": 8433, + "end": 8444, "loc": { "start": { "line": 396, @@ -24369,8 +24638,8 @@ }, "object": { "type": "ThisExpression", - "start": 8388, - "end": 8392, + "start": 8433, + "end": 8437, "loc": { "start": { "line": 396, @@ -24384,8 +24653,8 @@ }, "property": { "type": "Identifier", - "start": 8393, - "end": 8399, + "start": 8438, + "end": 8444, "loc": { "start": { "line": 396, @@ -24405,8 +24674,8 @@ }, "property": { "type": "Identifier", - "start": 8402, - "end": 8408, + "start": 8447, + "end": 8453, "loc": { "start": { "line": 396, @@ -24431,8 +24700,8 @@ }, { "type": "ClassMethod", - "start": 8418, - "end": 8458, + "start": 8463, + "end": 8503, "loc": { "start": { "line": 399, @@ -24447,8 +24716,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 8418, - "end": 8423, + "start": 8463, + "end": 8468, "loc": { "start": { "line": 399, @@ -24470,8 +24739,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8428, - "end": 8458, + "start": 8473, + "end": 8503, "loc": { "start": { "line": 399, @@ -24485,8 +24754,8 @@ "body": [ { "type": "ReturnStatement", - "start": 8432, - "end": 8455, + "start": 8477, + "end": 8500, "loc": { "start": { "line": 400, @@ -24499,8 +24768,8 @@ }, "argument": { "type": "UnaryExpression", - "start": 8439, - "end": 8453, + "start": 8484, + "end": 8498, "loc": { "start": { "line": 400, @@ -24515,8 +24784,8 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 8440, - "end": 8453, + "start": 8485, + "end": 8498, "loc": { "start": { "line": 400, @@ -24529,8 +24798,8 @@ }, "callee": { "type": "MemberExpression", - "start": 8440, - "end": 8451, + "start": 8485, + "end": 8496, "loc": { "start": { "line": 400, @@ -24543,8 +24812,8 @@ }, "object": { "type": "ThisExpression", - "start": 8440, - "end": 8444, + "start": 8485, + "end": 8489, "loc": { "start": { "line": 400, @@ -24558,8 +24827,8 @@ }, "property": { "type": "Identifier", - "start": 8445, - "end": 8451, + "start": 8490, + "end": 8496, "loc": { "start": { "line": 400, @@ -24588,8 +24857,8 @@ }, { "type": "ClassMethod", - "start": 8461, - "end": 8503, + "start": 8506, + "end": 8548, "loc": { "start": { "line": 403, @@ -24604,8 +24873,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 8461, - "end": 8464, + "start": 8506, + "end": 8509, "loc": { "start": { "line": 403, @@ -24627,8 +24896,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8469, - "end": 8503, + "start": 8514, + "end": 8548, "loc": { "start": { "line": 403, @@ -24642,8 +24911,8 @@ "body": [ { "type": "ReturnStatement", - "start": 8473, - "end": 8500, + "start": 8518, + "end": 8545, "loc": { "start": { "line": 404, @@ -24656,8 +24925,8 @@ }, "argument": { "type": "CallExpression", - "start": 8480, - "end": 8498, + "start": 8525, + "end": 8543, "loc": { "start": { "line": 404, @@ -24670,8 +24939,8 @@ }, "callee": { "type": "MemberExpression", - "start": 8480, - "end": 8493, + "start": 8525, + "end": 8538, "loc": { "start": { "line": 404, @@ -24684,8 +24953,8 @@ }, "object": { "type": "ThisExpression", - "start": 8480, - "end": 8484, + "start": 8525, + "end": 8529, "loc": { "start": { "line": 404, @@ -24699,8 +24968,8 @@ }, "property": { "type": "Identifier", - "start": 8485, - "end": 8493, + "start": 8530, + "end": 8538, "loc": { "start": { "line": 404, @@ -24719,8 +24988,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 8495, - "end": 8496, + "start": 8540, + "end": 8541, "loc": { "start": { "line": 404, @@ -24746,8 +25015,8 @@ }, { "type": "ClassMethod", - "start": 8506, - "end": 8548, + "start": 8551, + "end": 8593, "loc": { "start": { "line": 407, @@ -24762,8 +25031,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 8506, - "end": 8509, + "start": 8551, + "end": 8554, "loc": { "start": { "line": 407, @@ -24785,8 +25054,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8514, - "end": 8548, + "start": 8559, + "end": 8593, "loc": { "start": { "line": 407, @@ -24800,8 +25069,8 @@ "body": [ { "type": "ReturnStatement", - "start": 8518, - "end": 8545, + "start": 8563, + "end": 8590, "loc": { "start": { "line": 408, @@ -24814,8 +25083,8 @@ }, "argument": { "type": "CallExpression", - "start": 8525, - "end": 8543, + "start": 8570, + "end": 8588, "loc": { "start": { "line": 408, @@ -24828,8 +25097,8 @@ }, "callee": { "type": "MemberExpression", - "start": 8525, - "end": 8538, + "start": 8570, + "end": 8583, "loc": { "start": { "line": 408, @@ -24842,8 +25111,8 @@ }, "object": { "type": "ThisExpression", - "start": 8525, - "end": 8529, + "start": 8570, + "end": 8574, "loc": { "start": { "line": 408, @@ -24857,8 +25126,8 @@ }, "property": { "type": "Identifier", - "start": 8530, - "end": 8538, + "start": 8575, + "end": 8583, "loc": { "start": { "line": 408, @@ -24877,8 +25146,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 8540, - "end": 8541, + "start": 8585, + "end": 8586, "loc": { "start": { "line": 408, @@ -24904,8 +25173,8 @@ }, { "type": "ClassMethod", - "start": 8551, - "end": 8594, + "start": 8596, + "end": 8639, "loc": { "start": { "line": 411, @@ -24920,8 +25189,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 8551, - "end": 8554, + "start": 8596, + "end": 8599, "loc": { "start": { "line": 411, @@ -24943,8 +25212,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8559, - "end": 8594, + "start": 8604, + "end": 8639, "loc": { "start": { "line": 411, @@ -24958,8 +25227,8 @@ "body": [ { "type": "ReturnStatement", - "start": 8563, - "end": 8591, + "start": 8608, + "end": 8636, "loc": { "start": { "line": 412, @@ -24972,8 +25241,8 @@ }, "argument": { "type": "CallExpression", - "start": 8570, - "end": 8589, + "start": 8615, + "end": 8634, "loc": { "start": { "line": 412, @@ -24986,8 +25255,8 @@ }, "callee": { "type": "MemberExpression", - "start": 8570, - "end": 8583, + "start": 8615, + "end": 8628, "loc": { "start": { "line": 412, @@ -25000,8 +25269,8 @@ }, "object": { "type": "ThisExpression", - "start": 8570, - "end": 8574, + "start": 8615, + "end": 8619, "loc": { "start": { "line": 412, @@ -25015,8 +25284,8 @@ }, "property": { "type": "Identifier", - "start": 8575, - "end": 8583, + "start": 8620, + "end": 8628, "loc": { "start": { "line": 412, @@ -25035,8 +25304,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 8585, - "end": 8587, + "start": 8630, + "end": 8632, "loc": { "start": { "line": 412, @@ -25062,8 +25331,8 @@ }, { "type": "ClassMethod", - "start": 8597, - "end": 8635, + "start": 8642, + "end": 8680, "loc": { "start": { "line": 415, @@ -25078,8 +25347,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 8597, - "end": 8603, + "start": 8642, + "end": 8648, "loc": { "start": { "line": 415, @@ -25101,8 +25370,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8608, - "end": 8635, + "start": 8653, + "end": 8680, "loc": { "start": { "line": 415, @@ -25116,8 +25385,8 @@ "body": [ { "type": "ReturnStatement", - "start": 8612, - "end": 8632, + "start": 8657, + "end": 8677, "loc": { "start": { "line": 416, @@ -25130,8 +25399,8 @@ }, "argument": { "type": "CallExpression", - "start": 8619, - "end": 8630, + "start": 8664, + "end": 8675, "loc": { "start": { "line": 416, @@ -25144,8 +25413,8 @@ }, "callee": { "type": "MemberExpression", - "start": 8619, - "end": 8627, + "start": 8664, + "end": 8672, "loc": { "start": { "line": 416, @@ -25158,8 +25427,8 @@ }, "object": { "type": "ThisExpression", - "start": 8619, - "end": 8623, + "start": 8664, + "end": 8668, "loc": { "start": { "line": 416, @@ -25173,8 +25442,8 @@ }, "property": { "type": "Identifier", - "start": 8624, - "end": 8627, + "start": 8669, + "end": 8672, "loc": { "start": { "line": 416, @@ -25199,8 +25468,8 @@ }, { "type": "ClassMethod", - "start": 8638, - "end": 8875, + "start": 8683, + "end": 8920, "loc": { "start": { "line": 419, @@ -25215,8 +25484,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 8638, - "end": 8644, + "start": 8683, + "end": 8689, "loc": { "start": { "line": 419, @@ -25238,8 +25507,8 @@ "params": [ { "type": "AssignmentPattern", - "start": 8647, - "end": 8674, + "start": 8692, + "end": 8719, "loc": { "start": { "line": 419, @@ -25252,8 +25521,8 @@ }, "left": { "type": "Identifier", - "start": 8647, - "end": 8651, + "start": 8692, + "end": 8696, "loc": { "start": { "line": 419, @@ -25269,8 +25538,8 @@ }, "right": { "type": "Identifier", - "start": 8654, - "end": 8674, + "start": 8699, + "end": 8719, "loc": { "start": { "line": 419, @@ -25288,8 +25557,8 @@ ], "body": { "type": "BlockStatement", - "start": 8677, - "end": 8875, + "start": 8722, + "end": 8920, "loc": { "start": { "line": 419, @@ -25303,8 +25572,8 @@ "body": [ { "type": "ReturnStatement", - "start": 8788, - "end": 8872, + "start": 8833, + "end": 8917, "loc": { "start": { "line": 422, @@ -25317,8 +25586,8 @@ }, "argument": { "type": "CallExpression", - "start": 8795, - "end": 8870, + "start": 8840, + "end": 8915, "loc": { "start": { "line": 422, @@ -25331,8 +25600,8 @@ }, "callee": { "type": "MemberExpression", - "start": 8795, - "end": 8867, + "start": 8840, + "end": 8912, "loc": { "start": { "line": 422, @@ -25345,8 +25614,8 @@ }, "object": { "type": "CallExpression", - "start": 8795, - "end": 8859, + "start": 8840, + "end": 8904, "loc": { "start": { "line": 422, @@ -25359,8 +25628,8 @@ }, "callee": { "type": "Identifier", - "start": 8795, - "end": 8802, + "start": 8840, + "end": 8847, "loc": { "start": { "line": 422, @@ -25378,8 +25647,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 8804, - "end": 8813, + "start": 8849, + "end": 8858, "loc": { "start": { "line": 422, @@ -25392,8 +25661,8 @@ }, "object": { "type": "ThisExpression", - "start": 8804, - "end": 8808, + "start": 8849, + "end": 8853, "loc": { "start": { "line": 422, @@ -25407,8 +25676,8 @@ }, "property": { "type": "Identifier", - "start": 8809, - "end": 8813, + "start": 8854, + "end": 8858, "loc": { "start": { "line": 422, @@ -25426,8 +25695,8 @@ }, { "type": "Identifier", - "start": 8816, - "end": 8820, + "start": 8861, + "end": 8865, "loc": { "start": { "line": 422, @@ -25443,8 +25712,8 @@ }, { "type": "MemberExpression", - "start": 8823, - "end": 8833, + "start": 8868, + "end": 8878, "loc": { "start": { "line": 422, @@ -25457,8 +25726,8 @@ }, "object": { "type": "ThisExpression", - "start": 8823, - "end": 8827, + "start": 8868, + "end": 8872, "loc": { "start": { "line": 422, @@ -25472,8 +25741,8 @@ }, "property": { "type": "Identifier", - "start": 8828, - "end": 8833, + "start": 8873, + "end": 8878, "loc": { "start": { "line": 422, @@ -25491,8 +25760,8 @@ }, { "type": "NumericLiteral", - "start": 8836, - "end": 8837, + "start": 8881, + "end": 8882, "loc": { "start": { "line": 422, @@ -25511,8 +25780,8 @@ }, { "type": "MemberExpression", - "start": 8840, - "end": 8857, + "start": 8885, + "end": 8902, "loc": { "start": { "line": 422, @@ -25525,8 +25794,8 @@ }, "object": { "type": "MemberExpression", - "start": 8840, - "end": 8850, + "start": 8885, + "end": 8895, "loc": { "start": { "line": 422, @@ -25539,8 +25808,8 @@ }, "object": { "type": "ThisExpression", - "start": 8840, - "end": 8844, + "start": 8885, + "end": 8889, "loc": { "start": { "line": 422, @@ -25554,8 +25823,8 @@ }, "property": { "type": "Identifier", - "start": 8845, - "end": 8850, + "start": 8890, + "end": 8895, "loc": { "start": { "line": 422, @@ -25573,8 +25842,8 @@ }, "property": { "type": "Identifier", - "start": 8851, - "end": 8857, + "start": 8896, + "end": 8902, "loc": { "start": { "line": 422, @@ -25595,8 +25864,8 @@ }, "property": { "type": "Identifier", - "start": 8860, - "end": 8867, + "start": 8905, + "end": 8912, "loc": { "start": { "line": 422, @@ -25620,8 +25889,8 @@ { "type": "CommentLine", "value": " TODO Once #to is implemented we can rewrite this as", - "start": 8681, - "end": 8735, + "start": 8726, + "end": 8780, "loc": { "start": { "line": 420, @@ -25636,8 +25905,8 @@ { "type": "CommentLine", "value": " return this.to(LITTLE_ENDIAN, base, Array) ;", - "start": 8738, - "end": 8785, + "start": 8783, + "end": 8830, "loc": { "start": { "line": 421, @@ -25657,8 +25926,8 @@ }, { "type": "ClassMethod", - "start": 8878, - "end": 8919, + "start": 8923, + "end": 8964, "loc": { "start": { "line": 425, @@ -25673,8 +25942,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 8878, - "end": 8882, + "start": 8923, + "end": 8927, "loc": { "start": { "line": 425, @@ -25696,8 +25965,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8887, - "end": 8919, + "start": 8932, + "end": 8964, "loc": { "start": { "line": 425, @@ -25711,8 +25980,8 @@ "body": [ { "type": "ReturnStatement", - "start": 8891, - "end": 8916, + "start": 8936, + "end": 8961, "loc": { "start": { "line": 426, @@ -25725,8 +25994,8 @@ }, "argument": { "type": "CallExpression", - "start": 8898, - "end": 8914, + "start": 8943, + "end": 8959, "loc": { "start": { "line": 426, @@ -25739,8 +26008,8 @@ }, "callee": { "type": "MemberExpression", - "start": 8898, - "end": 8909, + "start": 8943, + "end": 8954, "loc": { "start": { "line": 426, @@ -25753,8 +26022,8 @@ }, "object": { "type": "ThisExpression", - "start": 8898, - "end": 8902, + "start": 8943, + "end": 8947, "loc": { "start": { "line": 426, @@ -25768,8 +26037,8 @@ }, "property": { "type": "Identifier", - "start": 8903, - "end": 8909, + "start": 8948, + "end": 8954, "loc": { "start": { "line": 426, @@ -25788,8 +26057,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 8911, - "end": 8912, + "start": 8956, + "end": 8957, "loc": { "start": { "line": 426, @@ -25815,8 +26084,8 @@ }, { "type": "ClassMethod", - "start": 8922, - "end": 8983, + "start": 8967, + "end": 9028, "loc": { "start": { "line": 429, @@ -25831,8 +26100,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 8922, - "end": 8929, + "start": 8967, + "end": 8974, "loc": { "start": { "line": 429, @@ -25854,8 +26123,8 @@ "params": [ { "type": "Identifier", - "start": 8932, - "end": 8937, + "start": 8977, + "end": 8982, "loc": { "start": { "line": 429, @@ -25872,8 +26141,8 @@ ], "body": { "type": "BlockStatement", - "start": 8940, - "end": 8983, + "start": 8985, + "end": 9028, "loc": { "start": { "line": 429, @@ -25887,8 +26156,8 @@ "body": [ { "type": "ReturnStatement", - "start": 8944, - "end": 8980, + "start": 8989, + "end": 9025, "loc": { "start": { "line": 430, @@ -25901,8 +26170,8 @@ }, "argument": { "type": "CallExpression", - "start": 8951, - "end": 8978, + "start": 8996, + "end": 9023, "loc": { "start": { "line": 430, @@ -25915,8 +26184,8 @@ }, "callee": { "type": "MemberExpression", - "start": 8951, - "end": 8975, + "start": 8996, + "end": 9020, "loc": { "start": { "line": 430, @@ -25929,8 +26198,8 @@ }, "object": { "type": "CallExpression", - "start": 8951, - "end": 8968, + "start": 8996, + "end": 9013, "loc": { "start": { "line": 430, @@ -25943,8 +26212,8 @@ }, "callee": { "type": "MemberExpression", - "start": 8951, - "end": 8960, + "start": 8996, + "end": 9005, "loc": { "start": { "line": 430, @@ -25957,8 +26226,8 @@ }, "object": { "type": "Identifier", - "start": 8951, - "end": 8956, + "start": 8996, + "end": 9001, "loc": { "start": { "line": 430, @@ -25974,8 +26243,8 @@ }, "property": { "type": "Identifier", - "start": 8957, - "end": 8960, + "start": 9002, + "end": 9005, "loc": { "start": { "line": 430, @@ -25994,8 +26263,8 @@ "arguments": [ { "type": "ThisExpression", - "start": 8962, - "end": 8966, + "start": 9007, + "end": 9011, "loc": { "start": { "line": 430, @@ -26011,8 +26280,8 @@ }, "property": { "type": "Identifier", - "start": 8969, - "end": 8975, + "start": 9014, + "end": 9020, "loc": { "start": { "line": 430, @@ -26037,8 +26306,8 @@ }, { "type": "ClassMethod", - "start": 8986, - "end": 9076, + "start": 9031, + "end": 9121, "loc": { "start": { "line": 433, @@ -26053,8 +26322,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 8986, - "end": 9013, + "start": 9031, + "end": 9058, "loc": { "start": { "line": 433, @@ -26076,8 +26345,8 @@ "params": [ { "type": "Identifier", - "start": 9016, - "end": 9021, + "start": 9061, + "end": 9066, "loc": { "start": { "line": 433, @@ -26094,8 +26363,8 @@ ], "body": { "type": "BlockStatement", - "start": 9024, - "end": 9076, + "start": 9069, + "end": 9121, "loc": { "start": { "line": 433, @@ -26109,8 +26378,8 @@ "body": [ { "type": "ReturnStatement", - "start": 9047, - "end": 9073, + "start": 9092, + "end": 9118, "loc": { "start": { "line": 435, @@ -26123,8 +26392,8 @@ }, "argument": { "type": "CallExpression", - "start": 9054, - "end": 9071, + "start": 9099, + "end": 9116, "loc": { "start": { "line": 435, @@ -26137,8 +26406,8 @@ }, "callee": { "type": "MemberExpression", - "start": 9054, - "end": 9062, + "start": 9099, + "end": 9107, "loc": { "start": { "line": 435, @@ -26151,8 +26420,8 @@ }, "object": { "type": "ThisExpression", - "start": 9054, - "end": 9058, + "start": 9099, + "end": 9103, "loc": { "start": { "line": 435, @@ -26167,8 +26436,8 @@ }, "property": { "type": "Identifier", - "start": 9059, - "end": 9062, + "start": 9104, + "end": 9107, "loc": { "start": { "line": 435, @@ -26188,8 +26457,8 @@ "arguments": [ { "type": "Identifier", - "start": 9064, - "end": 9069, + "start": 9109, + "end": 9114, "loc": { "start": { "line": 435, @@ -26210,8 +26479,8 @@ { "type": "CommentLine", "value": " TODO optimize", - "start": 9028, - "end": 9044, + "start": 9073, + "end": 9089, "loc": { "start": { "line": 434, @@ -26231,8 +26500,8 @@ }, { "type": "ClassMethod", - "start": 9080, - "end": 9626, + "start": 9125, + "end": 9671, "loc": { "start": { "line": 439, @@ -26247,8 +26516,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 9080, - "end": 9083, + "start": 9125, + "end": 9128, "loc": { "start": { "line": 439, @@ -26270,8 +26539,8 @@ "params": [ { "type": "Identifier", - "start": 9086, - "end": 9091, + "start": 9131, + "end": 9136, "loc": { "start": { "line": 439, @@ -26288,8 +26557,8 @@ ], "body": { "type": "BlockStatement", - "start": 9094, - "end": 9626, + "start": 9139, + "end": 9671, "loc": { "start": { "line": 439, @@ -26303,8 +26572,8 @@ "body": [ { "type": "IfStatement", - "start": 9138, - "end": 9300, + "start": 9183, + "end": 9345, "loc": { "start": { "line": 442, @@ -26317,8 +26586,8 @@ }, "test": { "type": "CallExpression", - "start": 9143, - "end": 9157, + "start": 9188, + "end": 9202, "loc": { "start": { "line": 442, @@ -26331,8 +26600,8 @@ }, "callee": { "type": "MemberExpression", - "start": 9143, - "end": 9154, + "start": 9188, + "end": 9199, "loc": { "start": { "line": 442, @@ -26345,8 +26614,8 @@ }, "object": { "type": "ThisExpression", - "start": 9143, - "end": 9147, + "start": 9188, + "end": 9192, "loc": { "start": { "line": 442, @@ -26361,8 +26630,8 @@ }, "property": { "type": "Identifier", - "start": 9148, - "end": 9154, + "start": 9193, + "end": 9199, "loc": { "start": { "line": 442, @@ -26384,8 +26653,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 9160, - "end": 9300, + "start": 9205, + "end": 9345, "loc": { "start": { "line": 442, @@ -26399,8 +26668,8 @@ "body": [ { "type": "IfStatement", - "start": 9165, - "end": 9296, + "start": 9210, + "end": 9341, "loc": { "start": { "line": 443, @@ -26413,8 +26682,8 @@ }, "test": { "type": "CallExpression", - "start": 9170, - "end": 9185, + "start": 9215, + "end": 9230, "loc": { "start": { "line": 443, @@ -26427,8 +26696,8 @@ }, "callee": { "type": "MemberExpression", - "start": 9170, - "end": 9182, + "start": 9215, + "end": 9227, "loc": { "start": { "line": 443, @@ -26441,8 +26710,8 @@ }, "object": { "type": "Identifier", - "start": 9170, - "end": 9175, + "start": 9215, + "end": 9220, "loc": { "start": { "line": 443, @@ -26458,8 +26727,8 @@ }, "property": { "type": "Identifier", - "start": 9176, - "end": 9182, + "start": 9221, + "end": 9227, "loc": { "start": { "line": 443, @@ -26479,8 +26748,8 @@ }, "consequent": { "type": "ReturnStatement", - "start": 9195, - "end": 9206, + "start": 9240, + "end": 9251, "loc": { "start": { "line": 443, @@ -26493,8 +26762,8 @@ }, "argument": { "type": "NumericLiteral", - "start": 9203, - "end": 9204, + "start": 9248, + "end": 9249, "loc": { "start": { "line": 443, @@ -26514,8 +26783,8 @@ }, "alternate": { "type": "IfStatement", - "start": 9215, - "end": 9296, + "start": 9260, + "end": 9341, "loc": { "start": { "line": 444, @@ -26528,8 +26797,8 @@ }, "test": { "type": "MemberExpression", - "start": 9220, - "end": 9237, + "start": 9265, + "end": 9282, "loc": { "start": { "line": 444, @@ -26542,8 +26811,8 @@ }, "object": { "type": "Identifier", - "start": 9220, - "end": 9225, + "start": 9265, + "end": 9270, "loc": { "start": { "line": 444, @@ -26559,8 +26828,8 @@ }, "property": { "type": "Identifier", - "start": 9226, - "end": 9237, + "start": 9271, + "end": 9282, "loc": { "start": { "line": 444, @@ -26578,8 +26847,8 @@ }, "consequent": { "type": "ReturnStatement", - "start": 9240, - "end": 9251, + "start": 9285, + "end": 9296, "loc": { "start": { "line": 444, @@ -26592,8 +26861,8 @@ }, "argument": { "type": "NumericLiteral", - "start": 9248, - "end": 9249, + "start": 9293, + "end": 9294, "loc": { "start": { "line": 444, @@ -26613,8 +26882,8 @@ }, "alternate": { "type": "ReturnStatement", - "start": 9285, - "end": 9296, + "start": 9330, + "end": 9341, "loc": { "start": { "line": 445, @@ -26627,8 +26896,8 @@ }, "argument": { "type": "UnaryExpression", - "start": 9292, - "end": 9294, + "start": 9337, + "end": 9339, "loc": { "start": { "line": 445, @@ -26643,8 +26912,8 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 9293, - "end": 9294, + "start": 9338, + "end": 9339, "loc": { "start": { "line": 445, @@ -26676,8 +26945,8 @@ { "type": "CommentLine", "value": " TODO optimize with _trim_positive", - "start": 9098, - "end": 9134, + "start": 9143, + "end": 9179, "loc": { "start": { "line": 440, @@ -26693,8 +26962,8 @@ }, { "type": "IfStatement", - "start": 9304, - "end": 9359, + "start": 9349, + "end": 9404, "loc": { "start": { "line": 448, @@ -26707,8 +26976,8 @@ }, "test": { "type": "BinaryExpression", - "start": 9309, - "end": 9345, + "start": 9354, + "end": 9390, "loc": { "start": { "line": 448, @@ -26721,8 +26990,8 @@ }, "left": { "type": "MemberExpression", - "start": 9309, - "end": 9325, + "start": 9354, + "end": 9370, "loc": { "start": { "line": 448, @@ -26735,8 +27004,8 @@ }, "object": { "type": "ThisExpression", - "start": 9309, - "end": 9313, + "start": 9354, + "end": 9358, "loc": { "start": { "line": 448, @@ -26750,8 +27019,8 @@ }, "property": { "type": "Identifier", - "start": 9314, - "end": 9325, + "start": 9359, + "end": 9370, "loc": { "start": { "line": 448, @@ -26770,8 +27039,8 @@ "operator": "<", "right": { "type": "MemberExpression", - "start": 9328, - "end": 9345, + "start": 9373, + "end": 9390, "loc": { "start": { "line": 448, @@ -26784,8 +27053,8 @@ }, "object": { "type": "Identifier", - "start": 9328, - "end": 9333, + "start": 9373, + "end": 9378, "loc": { "start": { "line": 448, @@ -26801,8 +27070,8 @@ }, "property": { "type": "Identifier", - "start": 9334, - "end": 9345, + "start": 9379, + "end": 9390, "loc": { "start": { "line": 448, @@ -26821,8 +27090,8 @@ }, "consequent": { "type": "ReturnStatement", - "start": 9348, - "end": 9359, + "start": 9393, + "end": 9404, "loc": { "start": { "line": 448, @@ -26835,8 +27104,8 @@ }, "argument": { "type": "UnaryExpression", - "start": 9355, - "end": 9357, + "start": 9400, + "end": 9402, "loc": { "start": { "line": 448, @@ -26851,8 +27120,8 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 9356, - "end": 9357, + "start": 9401, + "end": 9402, "loc": { "start": { "line": 448, @@ -26878,8 +27147,8 @@ }, { "type": "IfStatement", - "start": 9362, - "end": 9417, + "start": 9407, + "end": 9462, "loc": { "start": { "line": 449, @@ -26892,8 +27161,8 @@ }, "test": { "type": "BinaryExpression", - "start": 9367, - "end": 9403, + "start": 9412, + "end": 9448, "loc": { "start": { "line": 449, @@ -26906,8 +27175,8 @@ }, "left": { "type": "MemberExpression", - "start": 9367, - "end": 9383, + "start": 9412, + "end": 9428, "loc": { "start": { "line": 449, @@ -26920,8 +27189,8 @@ }, "object": { "type": "ThisExpression", - "start": 9367, - "end": 9371, + "start": 9412, + "end": 9416, "loc": { "start": { "line": 449, @@ -26935,8 +27204,8 @@ }, "property": { "type": "Identifier", - "start": 9372, - "end": 9383, + "start": 9417, + "end": 9428, "loc": { "start": { "line": 449, @@ -26955,8 +27224,8 @@ "operator": ">", "right": { "type": "MemberExpression", - "start": 9386, - "end": 9403, + "start": 9431, + "end": 9448, "loc": { "start": { "line": 449, @@ -26969,8 +27238,8 @@ }, "object": { "type": "Identifier", - "start": 9386, - "end": 9391, + "start": 9431, + "end": 9436, "loc": { "start": { "line": 449, @@ -26986,8 +27255,8 @@ }, "property": { "type": "Identifier", - "start": 9392, - "end": 9403, + "start": 9437, + "end": 9448, "loc": { "start": { "line": 449, @@ -27006,8 +27275,8 @@ }, "consequent": { "type": "ReturnStatement", - "start": 9406, - "end": 9417, + "start": 9451, + "end": 9462, "loc": { "start": { "line": 449, @@ -27020,8 +27289,8 @@ }, "argument": { "type": "NumericLiteral", - "start": 9414, - "end": 9415, + "start": 9459, + "end": 9460, "loc": { "start": { "line": 449, @@ -27043,8 +27312,8 @@ }, { "type": "VariableDeclaration", - "start": 9421, - "end": 9443, + "start": 9466, + "end": 9488, "loc": { "start": { "line": 451, @@ -27058,8 +27327,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 9427, - "end": 9441, + "start": 9472, + "end": 9486, "loc": { "start": { "line": 451, @@ -27072,8 +27341,8 @@ }, "id": { "type": "Identifier", - "start": 9427, - "end": 9428, + "start": 9472, + "end": 9473, "loc": { "start": { "line": 451, @@ -27089,8 +27358,8 @@ }, "init": { "type": "MemberExpression", - "start": 9431, - "end": 9441, + "start": 9476, + "end": 9486, "loc": { "start": { "line": 451, @@ -27103,8 +27372,8 @@ }, "object": { "type": "ThisExpression", - "start": 9431, - "end": 9435, + "start": 9476, + "end": 9480, "loc": { "start": { "line": 451, @@ -27118,8 +27387,8 @@ }, "property": { "type": "Identifier", - "start": 9436, - "end": 9441, + "start": 9481, + "end": 9486, "loc": { "start": { "line": 451, @@ -27141,8 +27410,8 @@ }, { "type": "VariableDeclaration", - "start": 9446, - "end": 9491, + "start": 9491, + "end": 9536, "loc": { "start": { "line": 452, @@ -27156,8 +27425,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 9452, - "end": 9489, + "start": 9497, + "end": 9534, "loc": { "start": { "line": 452, @@ -27170,8 +27439,8 @@ }, "id": { "type": "Identifier", - "start": 9452, - "end": 9453, + "start": 9497, + "end": 9498, "loc": { "start": { "line": 452, @@ -27187,8 +27456,8 @@ }, "init": { "type": "CallExpression", - "start": 9456, - "end": 9489, + "start": 9501, + "end": 9534, "loc": { "start": { "line": 452, @@ -27201,8 +27470,8 @@ }, "callee": { "type": "MemberExpression", - "start": 9456, - "end": 9476, + "start": 9501, + "end": 9521, "loc": { "start": { "line": 452, @@ -27215,8 +27484,8 @@ }, "object": { "type": "Identifier", - "start": 9456, - "end": 9461, + "start": 9501, + "end": 9506, "loc": { "start": { "line": 452, @@ -27232,8 +27501,8 @@ }, "property": { "type": "Identifier", - "start": 9462, - "end": 9476, + "start": 9507, + "end": 9521, "loc": { "start": { "line": 452, @@ -27252,8 +27521,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 9478, - "end": 9487, + "start": 9523, + "end": 9532, "loc": { "start": { "line": 452, @@ -27266,8 +27535,8 @@ }, "object": { "type": "ThisExpression", - "start": 9478, - "end": 9482, + "start": 9523, + "end": 9527, "loc": { "start": { "line": 452, @@ -27281,8 +27550,8 @@ }, "property": { "type": "Identifier", - "start": 9483, - "end": 9487, + "start": 9528, + "end": 9532, "loc": { "start": { "line": 452, @@ -27306,8 +27575,8 @@ }, { "type": "ReturnStatement", - "start": 9495, - "end": 9622, + "start": 9540, + "end": 9667, "loc": { "start": { "line": 454, @@ -27320,8 +27589,8 @@ }, "argument": { "type": "ConditionalExpression", - "start": 9502, - "end": 9620, + "start": 9547, + "end": 9665, "loc": { "start": { "line": 454, @@ -27334,8 +27603,8 @@ }, "test": { "type": "BinaryExpression", - "start": 9502, - "end": 9524, + "start": 9547, + "end": 9569, "loc": { "start": { "line": 454, @@ -27348,8 +27617,8 @@ }, "left": { "type": "MemberExpression", - "start": 9502, - "end": 9518, + "start": 9547, + "end": 9563, "loc": { "start": { "line": 454, @@ -27362,8 +27631,8 @@ }, "object": { "type": "ThisExpression", - "start": 9502, - "end": 9506, + "start": 9547, + "end": 9551, "loc": { "start": { "line": 454, @@ -27377,8 +27646,8 @@ }, "property": { "type": "Identifier", - "start": 9507, - "end": 9518, + "start": 9552, + "end": 9563, "loc": { "start": { "line": 454, @@ -27397,8 +27666,8 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 9523, - "end": 9524, + "start": 9568, + "end": 9569, "loc": { "start": { "line": 454, @@ -27418,8 +27687,8 @@ }, "consequent": { "type": "CallExpression", - "start": 9530, - "end": 9572, + "start": 9575, + "end": 9617, "loc": { "start": { "line": 455, @@ -27432,8 +27701,8 @@ }, "callee": { "type": "Identifier", - "start": 9530, - "end": 9533, + "start": 9575, + "end": 9578, "loc": { "start": { "line": 455, @@ -27450,8 +27719,8 @@ "arguments": [ { "type": "Identifier", - "start": 9535, - "end": 9536, + "start": 9580, + "end": 9581, "loc": { "start": { "line": 455, @@ -27467,8 +27736,8 @@ }, { "type": "NumericLiteral", - "start": 9539, - "end": 9540, + "start": 9584, + "end": 9585, "loc": { "start": { "line": 455, @@ -27487,8 +27756,8 @@ }, { "type": "MemberExpression", - "start": 9543, - "end": 9551, + "start": 9588, + "end": 9596, "loc": { "start": { "line": 455, @@ -27501,8 +27770,8 @@ }, "object": { "type": "Identifier", - "start": 9543, - "end": 9544, + "start": 9588, + "end": 9589, "loc": { "start": { "line": 455, @@ -27518,8 +27787,8 @@ }, "property": { "type": "Identifier", - "start": 9545, - "end": 9551, + "start": 9590, + "end": 9596, "loc": { "start": { "line": 455, @@ -27537,8 +27806,8 @@ }, { "type": "Identifier", - "start": 9554, - "end": 9555, + "start": 9599, + "end": 9600, "loc": { "start": { "line": 455, @@ -27554,8 +27823,8 @@ }, { "type": "NumericLiteral", - "start": 9558, - "end": 9559, + "start": 9603, + "end": 9604, "loc": { "start": { "line": 455, @@ -27574,8 +27843,8 @@ }, { "type": "MemberExpression", - "start": 9562, - "end": 9570, + "start": 9607, + "end": 9615, "loc": { "start": { "line": 455, @@ -27588,8 +27857,8 @@ }, "object": { "type": "Identifier", - "start": 9562, - "end": 9563, + "start": 9607, + "end": 9608, "loc": { "start": { "line": 455, @@ -27605,8 +27874,8 @@ }, "property": { "type": "Identifier", - "start": 9564, - "end": 9570, + "start": 9609, + "end": 9615, "loc": { "start": { "line": 455, @@ -27626,8 +27895,8 @@ }, "alternate": { "type": "CallExpression", - "start": 9578, - "end": 9620, + "start": 9623, + "end": 9665, "loc": { "start": { "line": 456, @@ -27640,8 +27909,8 @@ }, "callee": { "type": "Identifier", - "start": 9578, - "end": 9581, + "start": 9623, + "end": 9626, "loc": { "start": { "line": 456, @@ -27658,8 +27927,8 @@ "arguments": [ { "type": "Identifier", - "start": 9583, - "end": 9584, + "start": 9628, + "end": 9629, "loc": { "start": { "line": 456, @@ -27675,8 +27944,8 @@ }, { "type": "NumericLiteral", - "start": 9587, - "end": 9588, + "start": 9632, + "end": 9633, "loc": { "start": { "line": 456, @@ -27695,8 +27964,8 @@ }, { "type": "MemberExpression", - "start": 9591, - "end": 9599, + "start": 9636, + "end": 9644, "loc": { "start": { "line": 456, @@ -27709,8 +27978,8 @@ }, "object": { "type": "Identifier", - "start": 9591, - "end": 9592, + "start": 9636, + "end": 9637, "loc": { "start": { "line": 456, @@ -27726,8 +27995,8 @@ }, "property": { "type": "Identifier", - "start": 9593, - "end": 9599, + "start": 9638, + "end": 9644, "loc": { "start": { "line": 456, @@ -27745,8 +28014,8 @@ }, { "type": "Identifier", - "start": 9602, - "end": 9603, + "start": 9647, + "end": 9648, "loc": { "start": { "line": 456, @@ -27762,8 +28031,8 @@ }, { "type": "NumericLiteral", - "start": 9606, - "end": 9607, + "start": 9651, + "end": 9652, "loc": { "start": { "line": 456, @@ -27782,8 +28051,8 @@ }, { "type": "MemberExpression", - "start": 9610, - "end": 9618, + "start": 9655, + "end": 9663, "loc": { "start": { "line": 456, @@ -27796,8 +28065,8 @@ }, "object": { "type": "Identifier", - "start": 9610, - "end": 9611, + "start": 9655, + "end": 9656, "loc": { "start": { "line": 456, @@ -27813,8 +28082,8 @@ }, "property": { "type": "Identifier", - "start": 9612, - "end": 9618, + "start": 9657, + "end": 9663, "loc": { "start": { "line": 456, @@ -27840,8 +28109,8 @@ }, { "type": "ClassMethod", - "start": 9629, - "end": 9691, + "start": 9674, + "end": 9736, "loc": { "start": { "line": 460, @@ -27856,8 +28125,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 9629, - "end": 9633, + "start": 9674, + "end": 9678, "loc": { "start": { "line": 460, @@ -27879,8 +28148,8 @@ "params": [ { "type": "Identifier", - "start": 9636, - "end": 9642, + "start": 9681, + "end": 9687, "loc": { "start": { "line": 460, @@ -27897,8 +28166,8 @@ ], "body": { "type": "BlockStatement", - "start": 9645, - "end": 9691, + "start": 9690, + "end": 9736, "loc": { "start": { "line": 460, @@ -27912,8 +28181,8 @@ "body": [ { "type": "ReturnStatement", - "start": 9649, - "end": 9688, + "start": 9694, + "end": 9733, "loc": { "start": { "line": 461, @@ -27926,8 +28195,8 @@ }, "argument": { "type": "CallExpression", - "start": 9656, - "end": 9686, + "start": 9701, + "end": 9731, "loc": { "start": { "line": 461, @@ -27940,8 +28209,8 @@ }, "callee": { "type": "MemberExpression", - "start": 9656, - "end": 9664, + "start": 9701, + "end": 9709, "loc": { "start": { "line": 461, @@ -27954,8 +28223,8 @@ }, "object": { "type": "ThisExpression", - "start": 9656, - "end": 9660, + "start": 9701, + "end": 9705, "loc": { "start": { "line": 461, @@ -27969,8 +28238,8 @@ }, "property": { "type": "Identifier", - "start": 9661, - "end": 9664, + "start": 9706, + "end": 9709, "loc": { "start": { "line": 461, @@ -27989,8 +28258,8 @@ "arguments": [ { "type": "CallExpression", - "start": 9665, - "end": 9685, + "start": 9710, + "end": 9730, "loc": { "start": { "line": 461, @@ -28003,8 +28272,8 @@ }, "callee": { "type": "Identifier", - "start": 9665, - "end": 9677, + "start": 9710, + "end": 9722, "loc": { "start": { "line": 461, @@ -28021,8 +28290,8 @@ "arguments": [ { "type": "Identifier", - "start": 9678, - "end": 9684, + "start": 9723, + "end": 9729, "loc": { "start": { "line": 461, @@ -28047,8 +28316,8 @@ }, { "type": "ClassMethod", - "start": 9694, - "end": 9746, + "start": 9739, + "end": 9791, "loc": { "start": { "line": 464, @@ -28063,8 +28332,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 9694, - "end": 9696, + "start": 9739, + "end": 9741, "loc": { "start": { "line": 464, @@ -28086,8 +28355,8 @@ "params": [ { "type": "Identifier", - "start": 9699, - "end": 9704, + "start": 9744, + "end": 9749, "loc": { "start": { "line": 464, @@ -28104,8 +28373,8 @@ ], "body": { "type": "BlockStatement", - "start": 9707, - "end": 9746, + "start": 9752, + "end": 9791, "loc": { "start": { "line": 464, @@ -28119,8 +28388,8 @@ "body": [ { "type": "ReturnStatement", - "start": 9711, - "end": 9743, + "start": 9756, + "end": 9788, "loc": { "start": { "line": 465, @@ -28133,8 +28402,8 @@ }, "argument": { "type": "BinaryExpression", - "start": 9718, - "end": 9741, + "start": 9763, + "end": 9786, "loc": { "start": { "line": 465, @@ -28147,8 +28416,8 @@ }, "left": { "type": "CallExpression", - "start": 9718, - "end": 9735, + "start": 9763, + "end": 9780, "loc": { "start": { "line": 465, @@ -28161,8 +28430,8 @@ }, "callee": { "type": "MemberExpression", - "start": 9718, - "end": 9726, + "start": 9763, + "end": 9771, "loc": { "start": { "line": 465, @@ -28175,8 +28444,8 @@ }, "object": { "type": "ThisExpression", - "start": 9718, - "end": 9722, + "start": 9763, + "end": 9767, "loc": { "start": { "line": 465, @@ -28190,8 +28459,8 @@ }, "property": { "type": "Identifier", - "start": 9723, - "end": 9726, + "start": 9768, + "end": 9771, "loc": { "start": { "line": 465, @@ -28210,8 +28479,8 @@ "arguments": [ { "type": "Identifier", - "start": 9728, - "end": 9733, + "start": 9773, + "end": 9778, "loc": { "start": { "line": 465, @@ -28230,8 +28499,8 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 9740, - "end": 9741, + "start": 9785, + "end": 9786, "loc": { "start": { "line": 465, @@ -28256,8 +28525,8 @@ }, { "type": "ClassMethod", - "start": 9749, - "end": 9805, + "start": 9794, + "end": 9850, "loc": { "start": { "line": 468, @@ -28272,8 +28541,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 9749, - "end": 9752, + "start": 9794, + "end": 9797, "loc": { "start": { "line": 468, @@ -28295,8 +28564,8 @@ "params": [ { "type": "Identifier", - "start": 9755, - "end": 9761, + "start": 9800, + "end": 9806, "loc": { "start": { "line": 468, @@ -28313,8 +28582,8 @@ ], "body": { "type": "BlockStatement", - "start": 9764, - "end": 9805, + "start": 9809, + "end": 9850, "loc": { "start": { "line": 468, @@ -28328,8 +28597,8 @@ "body": [ { "type": "ReturnStatement", - "start": 9768, - "end": 9802, + "start": 9813, + "end": 9847, "loc": { "start": { "line": 469, @@ -28342,8 +28611,8 @@ }, "argument": { "type": "BinaryExpression", - "start": 9775, - "end": 9800, + "start": 9820, + "end": 9845, "loc": { "start": { "line": 469, @@ -28356,8 +28625,8 @@ }, "left": { "type": "CallExpression", - "start": 9775, - "end": 9794, + "start": 9820, + "end": 9839, "loc": { "start": { "line": 469, @@ -28370,8 +28639,8 @@ }, "callee": { "type": "MemberExpression", - "start": 9775, - "end": 9784, + "start": 9820, + "end": 9829, "loc": { "start": { "line": 469, @@ -28384,8 +28653,8 @@ }, "object": { "type": "ThisExpression", - "start": 9775, - "end": 9779, + "start": 9820, + "end": 9824, "loc": { "start": { "line": 469, @@ -28399,8 +28668,8 @@ }, "property": { "type": "Identifier", - "start": 9780, - "end": 9784, + "start": 9825, + "end": 9829, "loc": { "start": { "line": 469, @@ -28419,8 +28688,8 @@ "arguments": [ { "type": "Identifier", - "start": 9786, - "end": 9792, + "start": 9831, + "end": 9837, "loc": { "start": { "line": 469, @@ -28439,8 +28708,8 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 9799, - "end": 9800, + "start": 9844, + "end": 9845, "loc": { "start": { "line": 469, @@ -28465,8 +28734,8 @@ }, { "type": "ClassMethod", - "start": 9808, - "end": 9859, + "start": 9853, + "end": 9904, "loc": { "start": { "line": 472, @@ -28481,8 +28750,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 9808, - "end": 9810, + "start": 9853, + "end": 9855, "loc": { "start": { "line": 472, @@ -28504,8 +28773,8 @@ "params": [ { "type": "Identifier", - "start": 9813, - "end": 9818, + "start": 9858, + "end": 9863, "loc": { "start": { "line": 472, @@ -28522,8 +28791,8 @@ ], "body": { "type": "BlockStatement", - "start": 9821, - "end": 9859, + "start": 9866, + "end": 9904, "loc": { "start": { "line": 472, @@ -28537,8 +28806,8 @@ "body": [ { "type": "ReturnStatement", - "start": 9825, - "end": 9856, + "start": 9870, + "end": 9901, "loc": { "start": { "line": 473, @@ -28551,8 +28820,8 @@ }, "argument": { "type": "BinaryExpression", - "start": 9832, - "end": 9854, + "start": 9877, + "end": 9899, "loc": { "start": { "line": 473, @@ -28565,8 +28834,8 @@ }, "left": { "type": "CallExpression", - "start": 9832, - "end": 9849, + "start": 9877, + "end": 9894, "loc": { "start": { "line": 473, @@ -28579,8 +28848,8 @@ }, "callee": { "type": "MemberExpression", - "start": 9832, - "end": 9840, + "start": 9877, + "end": 9885, "loc": { "start": { "line": 473, @@ -28593,8 +28862,8 @@ }, "object": { "type": "ThisExpression", - "start": 9832, - "end": 9836, + "start": 9877, + "end": 9881, "loc": { "start": { "line": 473, @@ -28608,8 +28877,8 @@ }, "property": { "type": "Identifier", - "start": 9837, - "end": 9840, + "start": 9882, + "end": 9885, "loc": { "start": { "line": 473, @@ -28628,8 +28897,8 @@ "arguments": [ { "type": "Identifier", - "start": 9842, - "end": 9847, + "start": 9887, + "end": 9892, "loc": { "start": { "line": 473, @@ -28648,8 +28917,8 @@ "operator": ">=", "right": { "type": "NumericLiteral", - "start": 9853, - "end": 9854, + "start": 9898, + "end": 9899, "loc": { "start": { "line": 473, @@ -28674,8 +28943,8 @@ }, { "type": "ClassMethod", - "start": 9862, - "end": 9917, + "start": 9907, + "end": 9962, "loc": { "start": { "line": 476, @@ -28690,8 +28959,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 9862, - "end": 9865, + "start": 9907, + "end": 9910, "loc": { "start": { "line": 476, @@ -28713,8 +28982,8 @@ "params": [ { "type": "Identifier", - "start": 9868, - "end": 9874, + "start": 9913, + "end": 9919, "loc": { "start": { "line": 476, @@ -28731,8 +29000,8 @@ ], "body": { "type": "BlockStatement", - "start": 9877, - "end": 9917, + "start": 9922, + "end": 9962, "loc": { "start": { "line": 476, @@ -28746,8 +29015,8 @@ "body": [ { "type": "ReturnStatement", - "start": 9881, - "end": 9914, + "start": 9926, + "end": 9959, "loc": { "start": { "line": 477, @@ -28760,8 +29029,8 @@ }, "argument": { "type": "BinaryExpression", - "start": 9888, - "end": 9912, + "start": 9933, + "end": 9957, "loc": { "start": { "line": 477, @@ -28774,8 +29043,8 @@ }, "left": { "type": "CallExpression", - "start": 9888, - "end": 9907, + "start": 9933, + "end": 9952, "loc": { "start": { "line": 477, @@ -28788,8 +29057,8 @@ }, "callee": { "type": "MemberExpression", - "start": 9888, - "end": 9897, + "start": 9933, + "end": 9942, "loc": { "start": { "line": 477, @@ -28802,8 +29071,8 @@ }, "object": { "type": "ThisExpression", - "start": 9888, - "end": 9892, + "start": 9933, + "end": 9937, "loc": { "start": { "line": 477, @@ -28817,8 +29086,8 @@ }, "property": { "type": "Identifier", - "start": 9893, - "end": 9897, + "start": 9938, + "end": 9942, "loc": { "start": { "line": 477, @@ -28837,8 +29106,8 @@ "arguments": [ { "type": "Identifier", - "start": 9899, - "end": 9905, + "start": 9944, + "end": 9950, "loc": { "start": { "line": 477, @@ -28857,8 +29126,8 @@ "operator": ">=", "right": { "type": "NumericLiteral", - "start": 9911, - "end": 9912, + "start": 9956, + "end": 9957, "loc": { "start": { "line": 477, @@ -28883,8 +29152,8 @@ }, { "type": "ClassMethod", - "start": 9920, - "end": 9970, + "start": 9965, + "end": 10015, "loc": { "start": { "line": 480, @@ -28899,8 +29168,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 9920, - "end": 9922, + "start": 9965, + "end": 9967, "loc": { "start": { "line": 480, @@ -28922,8 +29191,8 @@ "params": [ { "type": "Identifier", - "start": 9925, - "end": 9930, + "start": 9970, + "end": 9975, "loc": { "start": { "line": 480, @@ -28940,8 +29209,8 @@ ], "body": { "type": "BlockStatement", - "start": 9933, - "end": 9970, + "start": 9978, + "end": 10015, "loc": { "start": { "line": 480, @@ -28955,8 +29224,8 @@ "body": [ { "type": "ReturnStatement", - "start": 9937, - "end": 9967, + "start": 9982, + "end": 10012, "loc": { "start": { "line": 481, @@ -28969,8 +29238,8 @@ }, "argument": { "type": "BinaryExpression", - "start": 9944, - "end": 9965, + "start": 9989, + "end": 10010, "loc": { "start": { "line": 481, @@ -28983,8 +29252,8 @@ }, "left": { "type": "CallExpression", - "start": 9944, - "end": 9961, + "start": 9989, + "end": 10006, "loc": { "start": { "line": 481, @@ -28997,8 +29266,8 @@ }, "callee": { "type": "MemberExpression", - "start": 9944, - "end": 9952, + "start": 9989, + "end": 9997, "loc": { "start": { "line": 481, @@ -29011,8 +29280,8 @@ }, "object": { "type": "ThisExpression", - "start": 9944, - "end": 9948, + "start": 9989, + "end": 9993, "loc": { "start": { "line": 481, @@ -29026,8 +29295,8 @@ }, "property": { "type": "Identifier", - "start": 9949, - "end": 9952, + "start": 9994, + "end": 9997, "loc": { "start": { "line": 481, @@ -29046,8 +29315,8 @@ "arguments": [ { "type": "Identifier", - "start": 9954, - "end": 9959, + "start": 9999, + "end": 10004, "loc": { "start": { "line": 481, @@ -29066,8 +29335,8 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 9964, - "end": 9965, + "start": 10009, + "end": 10010, "loc": { "start": { "line": 481, @@ -29092,8 +29361,8 @@ }, { "type": "ClassMethod", - "start": 9973, - "end": 10027, + "start": 10018, + "end": 10072, "loc": { "start": { "line": 484, @@ -29108,8 +29377,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 9973, - "end": 9976, + "start": 10018, + "end": 10021, "loc": { "start": { "line": 484, @@ -29131,8 +29400,8 @@ "params": [ { "type": "Identifier", - "start": 9979, - "end": 9985, + "start": 10024, + "end": 10030, "loc": { "start": { "line": 484, @@ -29149,8 +29418,8 @@ ], "body": { "type": "BlockStatement", - "start": 9988, - "end": 10027, + "start": 10033, + "end": 10072, "loc": { "start": { "line": 484, @@ -29164,8 +29433,8 @@ "body": [ { "type": "ReturnStatement", - "start": 9992, - "end": 10024, + "start": 10037, + "end": 10069, "loc": { "start": { "line": 485, @@ -29178,8 +29447,8 @@ }, "argument": { "type": "BinaryExpression", - "start": 9999, - "end": 10022, + "start": 10044, + "end": 10067, "loc": { "start": { "line": 485, @@ -29192,8 +29461,8 @@ }, "left": { "type": "CallExpression", - "start": 9999, - "end": 10018, + "start": 10044, + "end": 10063, "loc": { "start": { "line": 485, @@ -29206,8 +29475,8 @@ }, "callee": { "type": "MemberExpression", - "start": 9999, - "end": 10008, + "start": 10044, + "end": 10053, "loc": { "start": { "line": 485, @@ -29220,8 +29489,8 @@ }, "object": { "type": "ThisExpression", - "start": 9999, - "end": 10003, + "start": 10044, + "end": 10048, "loc": { "start": { "line": 485, @@ -29235,8 +29504,8 @@ }, "property": { "type": "Identifier", - "start": 10004, - "end": 10008, + "start": 10049, + "end": 10053, "loc": { "start": { "line": 485, @@ -29255,8 +29524,8 @@ "arguments": [ { "type": "Identifier", - "start": 10010, - "end": 10016, + "start": 10055, + "end": 10061, "loc": { "start": { "line": 485, @@ -29275,8 +29544,8 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 10021, - "end": 10022, + "start": 10066, + "end": 10067, "loc": { "start": { "line": 485, @@ -29301,8 +29570,8 @@ }, { "type": "ClassMethod", - "start": 10030, - "end": 10081, + "start": 10075, + "end": 10126, "loc": { "start": { "line": 488, @@ -29317,8 +29586,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 10030, - "end": 10032, + "start": 10075, + "end": 10077, "loc": { "start": { "line": 488, @@ -29340,8 +29609,8 @@ "params": [ { "type": "Identifier", - "start": 10035, - "end": 10040, + "start": 10080, + "end": 10085, "loc": { "start": { "line": 488, @@ -29358,8 +29627,8 @@ ], "body": { "type": "BlockStatement", - "start": 10043, - "end": 10081, + "start": 10088, + "end": 10126, "loc": { "start": { "line": 488, @@ -29373,8 +29642,8 @@ "body": [ { "type": "ReturnStatement", - "start": 10047, - "end": 10078, + "start": 10092, + "end": 10123, "loc": { "start": { "line": 489, @@ -29387,8 +29656,8 @@ }, "argument": { "type": "BinaryExpression", - "start": 10054, - "end": 10076, + "start": 10099, + "end": 10121, "loc": { "start": { "line": 489, @@ -29401,8 +29670,8 @@ }, "left": { "type": "CallExpression", - "start": 10054, - "end": 10071, + "start": 10099, + "end": 10116, "loc": { "start": { "line": 489, @@ -29415,8 +29684,8 @@ }, "callee": { "type": "MemberExpression", - "start": 10054, - "end": 10062, + "start": 10099, + "end": 10107, "loc": { "start": { "line": 489, @@ -29429,8 +29698,8 @@ }, "object": { "type": "ThisExpression", - "start": 10054, - "end": 10058, + "start": 10099, + "end": 10103, "loc": { "start": { "line": 489, @@ -29444,8 +29713,8 @@ }, "property": { "type": "Identifier", - "start": 10059, - "end": 10062, + "start": 10104, + "end": 10107, "loc": { "start": { "line": 489, @@ -29464,8 +29733,8 @@ "arguments": [ { "type": "Identifier", - "start": 10064, - "end": 10069, + "start": 10109, + "end": 10114, "loc": { "start": { "line": 489, @@ -29484,8 +29753,8 @@ "operator": "<=", "right": { "type": "NumericLiteral", - "start": 10075, - "end": 10076, + "start": 10120, + "end": 10121, "loc": { "start": { "line": 489, @@ -29510,8 +29779,8 @@ }, { "type": "ClassMethod", - "start": 10084, - "end": 10139, + "start": 10129, + "end": 10184, "loc": { "start": { "line": 492, @@ -29526,8 +29795,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 10084, - "end": 10087, + "start": 10129, + "end": 10132, "loc": { "start": { "line": 492, @@ -29549,8 +29818,8 @@ "params": [ { "type": "Identifier", - "start": 10090, - "end": 10096, + "start": 10135, + "end": 10141, "loc": { "start": { "line": 492, @@ -29567,8 +29836,8 @@ ], "body": { "type": "BlockStatement", - "start": 10099, - "end": 10139, + "start": 10144, + "end": 10184, "loc": { "start": { "line": 492, @@ -29582,8 +29851,8 @@ "body": [ { "type": "ReturnStatement", - "start": 10103, - "end": 10136, + "start": 10148, + "end": 10181, "loc": { "start": { "line": 493, @@ -29596,8 +29865,8 @@ }, "argument": { "type": "BinaryExpression", - "start": 10110, - "end": 10134, + "start": 10155, + "end": 10179, "loc": { "start": { "line": 493, @@ -29610,8 +29879,8 @@ }, "left": { "type": "CallExpression", - "start": 10110, - "end": 10129, + "start": 10155, + "end": 10174, "loc": { "start": { "line": 493, @@ -29624,8 +29893,8 @@ }, "callee": { "type": "MemberExpression", - "start": 10110, - "end": 10119, + "start": 10155, + "end": 10164, "loc": { "start": { "line": 493, @@ -29638,8 +29907,8 @@ }, "object": { "type": "ThisExpression", - "start": 10110, - "end": 10114, + "start": 10155, + "end": 10159, "loc": { "start": { "line": 493, @@ -29653,8 +29922,8 @@ }, "property": { "type": "Identifier", - "start": 10115, - "end": 10119, + "start": 10160, + "end": 10164, "loc": { "start": { "line": 493, @@ -29673,8 +29942,8 @@ "arguments": [ { "type": "Identifier", - "start": 10121, - "end": 10127, + "start": 10166, + "end": 10172, "loc": { "start": { "line": 493, @@ -29693,8 +29962,8 @@ "operator": "<=", "right": { "type": "NumericLiteral", - "start": 10133, - "end": 10134, + "start": 10178, + "end": 10179, "loc": { "start": { "line": 493, @@ -29719,8 +29988,8 @@ }, { "type": "ClassMethod", - "start": 10142, - "end": 10192, + "start": 10187, + "end": 10237, "loc": { "start": { "line": 496, @@ -29735,8 +30004,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 10142, - "end": 10144, + "start": 10187, + "end": 10189, "loc": { "start": { "line": 496, @@ -29758,8 +30027,8 @@ "params": [ { "type": "Identifier", - "start": 10147, - "end": 10152, + "start": 10192, + "end": 10197, "loc": { "start": { "line": 496, @@ -29776,8 +30045,8 @@ ], "body": { "type": "BlockStatement", - "start": 10155, - "end": 10192, + "start": 10200, + "end": 10237, "loc": { "start": { "line": 496, @@ -29791,8 +30060,8 @@ "body": [ { "type": "ReturnStatement", - "start": 10159, - "end": 10189, + "start": 10204, + "end": 10234, "loc": { "start": { "line": 497, @@ -29805,8 +30074,8 @@ }, "argument": { "type": "BinaryExpression", - "start": 10166, - "end": 10187, + "start": 10211, + "end": 10232, "loc": { "start": { "line": 497, @@ -29819,8 +30088,8 @@ }, "left": { "type": "CallExpression", - "start": 10166, - "end": 10183, + "start": 10211, + "end": 10228, "loc": { "start": { "line": 497, @@ -29833,8 +30102,8 @@ }, "callee": { "type": "MemberExpression", - "start": 10166, - "end": 10174, + "start": 10211, + "end": 10219, "loc": { "start": { "line": 497, @@ -29847,8 +30116,8 @@ }, "object": { "type": "ThisExpression", - "start": 10166, - "end": 10170, + "start": 10211, + "end": 10215, "loc": { "start": { "line": 497, @@ -29862,8 +30131,8 @@ }, "property": { "type": "Identifier", - "start": 10171, - "end": 10174, + "start": 10216, + "end": 10219, "loc": { "start": { "line": 497, @@ -29882,8 +30151,8 @@ "arguments": [ { "type": "Identifier", - "start": 10176, - "end": 10181, + "start": 10221, + "end": 10226, "loc": { "start": { "line": 497, @@ -29902,8 +30171,8 @@ "operator": "<", "right": { "type": "NumericLiteral", - "start": 10186, - "end": 10187, + "start": 10231, + "end": 10232, "loc": { "start": { "line": 497, @@ -29928,8 +30197,8 @@ }, { "type": "ClassMethod", - "start": 10195, - "end": 10249, + "start": 10240, + "end": 10294, "loc": { "start": { "line": 500, @@ -29944,8 +30213,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 10195, - "end": 10198, + "start": 10240, + "end": 10243, "loc": { "start": { "line": 500, @@ -29967,8 +30236,8 @@ "params": [ { "type": "Identifier", - "start": 10201, - "end": 10207, + "start": 10246, + "end": 10252, "loc": { "start": { "line": 500, @@ -29985,8 +30254,8 @@ ], "body": { "type": "BlockStatement", - "start": 10210, - "end": 10249, + "start": 10255, + "end": 10294, "loc": { "start": { "line": 500, @@ -30000,8 +30269,8 @@ "body": [ { "type": "ReturnStatement", - "start": 10214, - "end": 10246, + "start": 10259, + "end": 10291, "loc": { "start": { "line": 501, @@ -30014,8 +30283,8 @@ }, "argument": { "type": "BinaryExpression", - "start": 10221, - "end": 10244, + "start": 10266, + "end": 10289, "loc": { "start": { "line": 501, @@ -30028,8 +30297,8 @@ }, "left": { "type": "CallExpression", - "start": 10221, - "end": 10240, + "start": 10266, + "end": 10285, "loc": { "start": { "line": 501, @@ -30042,8 +30311,8 @@ }, "callee": { "type": "MemberExpression", - "start": 10221, - "end": 10230, + "start": 10266, + "end": 10275, "loc": { "start": { "line": 501, @@ -30056,8 +30325,8 @@ }, "object": { "type": "ThisExpression", - "start": 10221, - "end": 10225, + "start": 10266, + "end": 10270, "loc": { "start": { "line": 501, @@ -30071,8 +30340,8 @@ }, "property": { "type": "Identifier", - "start": 10226, - "end": 10230, + "start": 10271, + "end": 10275, "loc": { "start": { "line": 501, @@ -30091,8 +30360,8 @@ "arguments": [ { "type": "Identifier", - "start": 10232, - "end": 10238, + "start": 10277, + "end": 10283, "loc": { "start": { "line": 501, @@ -30111,8 +30380,8 @@ "operator": "<", "right": { "type": "NumericLiteral", - "start": 10243, - "end": 10244, + "start": 10288, + "end": 10289, "loc": { "start": { "line": 501, @@ -30137,8 +30406,8 @@ }, { "type": "ClassMethod", - "start": 10252, - "end": 10304, + "start": 10297, + "end": 10349, "loc": { "start": { "line": 504, @@ -30153,8 +30422,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 10252, - "end": 10254, + "start": 10297, + "end": 10299, "loc": { "start": { "line": 504, @@ -30176,8 +30445,8 @@ "params": [ { "type": "Identifier", - "start": 10257, - "end": 10262, + "start": 10302, + "end": 10307, "loc": { "start": { "line": 504, @@ -30194,8 +30463,8 @@ ], "body": { "type": "BlockStatement", - "start": 10265, - "end": 10304, + "start": 10310, + "end": 10349, "loc": { "start": { "line": 504, @@ -30209,8 +30478,8 @@ "body": [ { "type": "ReturnStatement", - "start": 10269, - "end": 10301, + "start": 10314, + "end": 10346, "loc": { "start": { "line": 505, @@ -30223,8 +30492,8 @@ }, "argument": { "type": "BinaryExpression", - "start": 10276, - "end": 10299, + "start": 10321, + "end": 10344, "loc": { "start": { "line": 505, @@ -30237,8 +30506,8 @@ }, "left": { "type": "CallExpression", - "start": 10276, - "end": 10293, + "start": 10321, + "end": 10338, "loc": { "start": { "line": 505, @@ -30251,8 +30520,8 @@ }, "callee": { "type": "MemberExpression", - "start": 10276, - "end": 10284, + "start": 10321, + "end": 10329, "loc": { "start": { "line": 505, @@ -30265,8 +30534,8 @@ }, "object": { "type": "ThisExpression", - "start": 10276, - "end": 10280, + "start": 10321, + "end": 10325, "loc": { "start": { "line": 505, @@ -30280,8 +30549,8 @@ }, "property": { "type": "Identifier", - "start": 10281, - "end": 10284, + "start": 10326, + "end": 10329, "loc": { "start": { "line": 505, @@ -30300,8 +30569,8 @@ "arguments": [ { "type": "Identifier", - "start": 10286, - "end": 10291, + "start": 10331, + "end": 10336, "loc": { "start": { "line": 505, @@ -30320,8 +30589,8 @@ "operator": "!==", "right": { "type": "NumericLiteral", - "start": 10298, - "end": 10299, + "start": 10343, + "end": 10344, "loc": { "start": { "line": 505, @@ -30346,8 +30615,8 @@ }, { "type": "ClassMethod", - "start": 10307, - "end": 10363, + "start": 10352, + "end": 10408, "loc": { "start": { "line": 508, @@ -30362,8 +30631,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 10307, - "end": 10310, + "start": 10352, + "end": 10355, "loc": { "start": { "line": 508, @@ -30385,8 +30654,8 @@ "params": [ { "type": "Identifier", - "start": 10313, - "end": 10319, + "start": 10358, + "end": 10364, "loc": { "start": { "line": 508, @@ -30403,8 +30672,8 @@ ], "body": { "type": "BlockStatement", - "start": 10322, - "end": 10363, + "start": 10367, + "end": 10408, "loc": { "start": { "line": 508, @@ -30418,8 +30687,8 @@ "body": [ { "type": "ReturnStatement", - "start": 10326, - "end": 10360, + "start": 10371, + "end": 10405, "loc": { "start": { "line": 509, @@ -30432,8 +30701,8 @@ }, "argument": { "type": "BinaryExpression", - "start": 10333, - "end": 10358, + "start": 10378, + "end": 10403, "loc": { "start": { "line": 509, @@ -30446,8 +30715,8 @@ }, "left": { "type": "CallExpression", - "start": 10333, - "end": 10352, + "start": 10378, + "end": 10397, "loc": { "start": { "line": 509, @@ -30460,8 +30729,8 @@ }, "callee": { "type": "MemberExpression", - "start": 10333, - "end": 10342, + "start": 10378, + "end": 10387, "loc": { "start": { "line": 509, @@ -30474,8 +30743,8 @@ }, "object": { "type": "ThisExpression", - "start": 10333, - "end": 10337, + "start": 10378, + "end": 10382, "loc": { "start": { "line": 509, @@ -30489,8 +30758,8 @@ }, "property": { "type": "Identifier", - "start": 10338, - "end": 10342, + "start": 10383, + "end": 10387, "loc": { "start": { "line": 509, @@ -30509,8 +30778,8 @@ "arguments": [ { "type": "Identifier", - "start": 10344, - "end": 10350, + "start": 10389, + "end": 10395, "loc": { "start": { "line": 509, @@ -30529,8 +30798,8 @@ "operator": "!==", "right": { "type": "NumericLiteral", - "start": 10357, - "end": 10358, + "start": 10402, + "end": 10403, "loc": { "start": { "line": 509, @@ -30555,8 +30824,8 @@ }, { "type": "ClassMethod", - "start": 10366, - "end": 10671, + "start": 10411, + "end": 10716, "loc": { "start": { "line": 512, @@ -30571,8 +30840,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 10366, - "end": 10369, + "start": 10411, + "end": 10414, "loc": { "start": { "line": 512, @@ -30594,8 +30863,8 @@ "params": [ { "type": "Identifier", - "start": 10372, - "end": 10377, + "start": 10417, + "end": 10422, "loc": { "start": { "line": 512, @@ -30612,8 +30881,8 @@ ], "body": { "type": "BlockStatement", - "start": 10380, - "end": 10671, + "start": 10425, + "end": 10716, "loc": { "start": { "line": 512, @@ -30627,8 +30896,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 10384, - "end": 10405, + "start": 10429, + "end": 10450, "loc": { "start": { "line": 513, @@ -30642,8 +30911,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 10390, - "end": 10403, + "start": 10435, + "end": 10448, "loc": { "start": { "line": 513, @@ -30656,8 +30925,8 @@ }, "id": { "type": "Identifier", - "start": 10390, - "end": 10391, + "start": 10435, + "end": 10436, "loc": { "start": { "line": 513, @@ -30673,8 +30942,8 @@ }, "init": { "type": "MemberExpression", - "start": 10394, - "end": 10403, + "start": 10439, + "end": 10448, "loc": { "start": { "line": 513, @@ -30687,8 +30956,8 @@ }, "object": { "type": "ThisExpression", - "start": 10394, - "end": 10398, + "start": 10439, + "end": 10443, "loc": { "start": { "line": 513, @@ -30702,8 +30971,8 @@ }, "property": { "type": "Identifier", - "start": 10399, - "end": 10403, + "start": 10444, + "end": 10448, "loc": { "start": { "line": 513, @@ -30725,8 +30994,8 @@ }, { "type": "VariableDeclaration", - "start": 10408, - "end": 10430, + "start": 10453, + "end": 10475, "loc": { "start": { "line": 514, @@ -30740,8 +31009,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 10414, - "end": 10428, + "start": 10459, + "end": 10473, "loc": { "start": { "line": 514, @@ -30754,8 +31023,8 @@ }, "id": { "type": "Identifier", - "start": 10414, - "end": 10415, + "start": 10459, + "end": 10460, "loc": { "start": { "line": 514, @@ -30771,8 +31040,8 @@ }, "init": { "type": "MemberExpression", - "start": 10418, - "end": 10428, + "start": 10463, + "end": 10473, "loc": { "start": { "line": 514, @@ -30785,8 +31054,8 @@ }, "object": { "type": "ThisExpression", - "start": 10418, - "end": 10422, + "start": 10463, + "end": 10467, "loc": { "start": { "line": 514, @@ -30800,8 +31069,8 @@ }, "property": { "type": "Identifier", - "start": 10423, - "end": 10428, + "start": 10468, + "end": 10473, "loc": { "start": { "line": 514, @@ -30823,8 +31092,8 @@ }, { "type": "VariableDeclaration", - "start": 10433, - "end": 10470, + "start": 10478, + "end": 10515, "loc": { "start": { "line": 515, @@ -30838,8 +31107,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 10439, - "end": 10468, + "start": 10484, + "end": 10513, "loc": { "start": { "line": 515, @@ -30852,8 +31121,8 @@ }, "id": { "type": "Identifier", - "start": 10439, - "end": 10440, + "start": 10484, + "end": 10485, "loc": { "start": { "line": 515, @@ -30869,8 +31138,8 @@ }, "init": { "type": "CallExpression", - "start": 10443, - "end": 10468, + "start": 10488, + "end": 10513, "loc": { "start": { "line": 515, @@ -30883,8 +31152,8 @@ }, "callee": { "type": "MemberExpression", - "start": 10443, - "end": 10463, + "start": 10488, + "end": 10508, "loc": { "start": { "line": 515, @@ -30897,8 +31166,8 @@ }, "object": { "type": "Identifier", - "start": 10443, - "end": 10448, + "start": 10488, + "end": 10493, "loc": { "start": { "line": 515, @@ -30914,8 +31183,8 @@ }, "property": { "type": "Identifier", - "start": 10449, - "end": 10463, + "start": 10494, + "end": 10508, "loc": { "start": { "line": 515, @@ -30934,8 +31203,8 @@ "arguments": [ { "type": "Identifier", - "start": 10465, - "end": 10466, + "start": 10510, + "end": 10511, "loc": { "start": { "line": 515, @@ -30957,8 +31226,8 @@ }, { "type": "VariableDeclaration", - "start": 10473, - "end": 10561, + "start": 10518, + "end": 10606, "loc": { "start": { "line": 516, @@ -30972,8 +31241,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 10479, - "end": 10559, + "start": 10524, + "end": 10604, "loc": { "start": { "line": 516, @@ -30986,8 +31255,8 @@ }, "id": { "type": "ArrayPattern", - "start": 10479, - "end": 10494, + "start": 10524, + "end": 10539, "loc": { "start": { "line": 516, @@ -31001,8 +31270,8 @@ "elements": [ { "type": "Identifier", - "start": 10481, - "end": 10482, + "start": 10526, + "end": 10527, "loc": { "start": { "line": 516, @@ -31018,8 +31287,8 @@ }, { "type": "Identifier", - "start": 10485, - "end": 10487, + "start": 10530, + "end": 10532, "loc": { "start": { "line": 516, @@ -31035,8 +31304,8 @@ }, { "type": "Identifier", - "start": 10490, - "end": 10492, + "start": 10535, + "end": 10537, "loc": { "start": { "line": 516, @@ -31054,8 +31323,8 @@ }, "init": { "type": "CallExpression", - "start": 10497, - "end": 10559, + "start": 10542, + "end": 10604, "loc": { "start": { "line": 516, @@ -31068,8 +31337,8 @@ }, "callee": { "type": "Identifier", - "start": 10497, - "end": 10516, + "start": 10542, + "end": 10561, "loc": { "start": { "line": 516, @@ -31086,8 +31355,8 @@ "arguments": [ { "type": "Identifier", - "start": 10518, - "end": 10519, + "start": 10563, + "end": 10564, "loc": { "start": { "line": 516, @@ -31103,8 +31372,8 @@ }, { "type": "Identifier", - "start": 10522, - "end": 10523, + "start": 10567, + "end": 10568, "loc": { "start": { "line": 516, @@ -31120,8 +31389,8 @@ }, { "type": "NumericLiteral", - "start": 10526, - "end": 10527, + "start": 10571, + "end": 10572, "loc": { "start": { "line": 516, @@ -31140,8 +31409,8 @@ }, { "type": "MemberExpression", - "start": 10530, - "end": 10538, + "start": 10575, + "end": 10583, "loc": { "start": { "line": 516, @@ -31154,8 +31423,8 @@ }, "object": { "type": "Identifier", - "start": 10530, - "end": 10531, + "start": 10575, + "end": 10576, "loc": { "start": { "line": 516, @@ -31171,8 +31440,8 @@ }, "property": { "type": "Identifier", - "start": 10532, - "end": 10538, + "start": 10577, + "end": 10583, "loc": { "start": { "line": 516, @@ -31190,8 +31459,8 @@ }, { "type": "Identifier", - "start": 10541, - "end": 10542, + "start": 10586, + "end": 10587, "loc": { "start": { "line": 516, @@ -31207,8 +31476,8 @@ }, { "type": "NumericLiteral", - "start": 10545, - "end": 10546, + "start": 10590, + "end": 10591, "loc": { "start": { "line": 516, @@ -31227,8 +31496,8 @@ }, { "type": "MemberExpression", - "start": 10549, - "end": 10557, + "start": 10594, + "end": 10602, "loc": { "start": { "line": 516, @@ -31241,8 +31510,8 @@ }, "object": { "type": "Identifier", - "start": 10549, - "end": 10550, + "start": 10594, + "end": 10595, "loc": { "start": { "line": 516, @@ -31258,8 +31527,8 @@ }, "property": { "type": "Identifier", - "start": 10551, - "end": 10557, + "start": 10596, + "end": 10602, "loc": { "start": { "line": 516, @@ -31283,8 +31552,8 @@ }, { "type": "VariableDeclaration", - "start": 10564, - "end": 10595, + "start": 10609, + "end": 10640, "loc": { "start": { "line": 517, @@ -31298,8 +31567,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 10570, - "end": 10593, + "start": 10615, + "end": 10638, "loc": { "start": { "line": 517, @@ -31312,8 +31581,8 @@ }, "id": { "type": "Identifier", - "start": 10570, - "end": 10573, + "start": 10615, + "end": 10618, "loc": { "start": { "line": 517, @@ -31329,8 +31598,8 @@ }, "init": { "type": "CallExpression", - "start": 10576, - "end": 10593, + "start": 10621, + "end": 10638, "loc": { "start": { "line": 517, @@ -31343,8 +31612,8 @@ }, "callee": { "type": "Identifier", - "start": 10576, - "end": 10582, + "start": 10621, + "end": 10627, "loc": { "start": { "line": 517, @@ -31361,8 +31630,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 10584, - "end": 10591, + "start": 10629, + "end": 10636, "loc": { "start": { "line": 517, @@ -31375,8 +31644,8 @@ }, "left": { "type": "Identifier", - "start": 10584, - "end": 10586, + "start": 10629, + "end": 10631, "loc": { "start": { "line": 517, @@ -31393,8 +31662,8 @@ "operator": "-", "right": { "type": "Identifier", - "start": 10589, - "end": 10591, + "start": 10634, + "end": 10636, "loc": { "start": { "line": 517, @@ -31417,8 +31686,8 @@ }, { "type": "ExpressionStatement", - "start": 10598, - "end": 10630, + "start": 10643, + "end": 10675, "loc": { "start": { "line": 518, @@ -31431,8 +31700,8 @@ }, "expression": { "type": "CallExpression", - "start": 10598, - "end": 10628, + "start": 10643, + "end": 10673, "loc": { "start": { "line": 518, @@ -31445,8 +31714,8 @@ }, "callee": { "type": "Identifier", - "start": 10598, - "end": 10603, + "start": 10643, + "end": 10648, "loc": { "start": { "line": 518, @@ -31463,8 +31732,8 @@ "arguments": [ { "type": "Identifier", - "start": 10605, - "end": 10606, + "start": 10650, + "end": 10651, "loc": { "start": { "line": 518, @@ -31480,8 +31749,8 @@ }, { "type": "Identifier", - "start": 10609, - "end": 10611, + "start": 10654, + "end": 10656, "loc": { "start": { "line": 518, @@ -31497,8 +31766,8 @@ }, { "type": "Identifier", - "start": 10614, - "end": 10616, + "start": 10659, + "end": 10661, "loc": { "start": { "line": 518, @@ -31514,8 +31783,8 @@ }, { "type": "Identifier", - "start": 10619, - "end": 10622, + "start": 10664, + "end": 10667, "loc": { "start": { "line": 518, @@ -31531,8 +31800,8 @@ }, { "type": "NumericLiteral", - "start": 10625, - "end": 10626, + "start": 10670, + "end": 10671, "loc": { "start": { "line": 518, @@ -31554,8 +31823,8 @@ }, { "type": "ReturnStatement", - "start": 10633, - "end": 10668, + "start": 10678, + "end": 10713, "loc": { "start": { "line": 519, @@ -31568,8 +31837,8 @@ }, "argument": { "type": "NewExpression", - "start": 10640, - "end": 10666, + "start": 10685, + "end": 10711, "loc": { "start": { "line": 519, @@ -31582,8 +31851,8 @@ }, "callee": { "type": "Identifier", - "start": 10644, - "end": 10651, + "start": 10689, + "end": 10696, "loc": { "start": { "line": 519, @@ -31600,8 +31869,8 @@ "arguments": [ { "type": "Identifier", - "start": 10653, - "end": 10654, + "start": 10698, + "end": 10699, "loc": { "start": { "line": 519, @@ -31617,8 +31886,8 @@ }, { "type": "NumericLiteral", - "start": 10657, - "end": 10658, + "start": 10702, + "end": 10703, "loc": { "start": { "line": 519, @@ -31637,8 +31906,8 @@ }, { "type": "Identifier", - "start": 10661, - "end": 10664, + "start": 10706, + "end": 10709, "loc": { "start": { "line": 519, @@ -31661,8 +31930,8 @@ }, { "type": "ClassMethod", - "start": 10674, - "end": 11814, + "start": 10719, + "end": 11859, "loc": { "start": { "line": 522, @@ -31677,8 +31946,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 10674, - "end": 10678, + "start": 10719, + "end": 10723, "loc": { "start": { "line": 522, @@ -31700,8 +31969,8 @@ "params": [ { "type": "Identifier", - "start": 10681, - "end": 10686, + "start": 10726, + "end": 10731, "loc": { "start": { "line": 522, @@ -31718,8 +31987,8 @@ ], "body": { "type": "BlockStatement", - "start": 10689, - "end": 11814, + "start": 10734, + "end": 11859, "loc": { "start": { "line": 522, @@ -31733,8 +32002,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 10693, - "end": 10714, + "start": 10738, + "end": 10759, "loc": { "start": { "line": 523, @@ -31748,8 +32017,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 10699, - "end": 10712, + "start": 10744, + "end": 10757, "loc": { "start": { "line": 523, @@ -31762,8 +32031,8 @@ }, "id": { "type": "Identifier", - "start": 10699, - "end": 10700, + "start": 10744, + "end": 10745, "loc": { "start": { "line": 523, @@ -31779,8 +32048,8 @@ }, "init": { "type": "MemberExpression", - "start": 10703, - "end": 10712, + "start": 10748, + "end": 10757, "loc": { "start": { "line": 523, @@ -31793,8 +32062,8 @@ }, "object": { "type": "ThisExpression", - "start": 10703, - "end": 10707, + "start": 10748, + "end": 10752, "loc": { "start": { "line": 523, @@ -31808,8 +32077,8 @@ }, "property": { "type": "Identifier", - "start": 10708, - "end": 10712, + "start": 10753, + "end": 10757, "loc": { "start": { "line": 523, @@ -31831,8 +32100,8 @@ }, { "type": "VariableDeclaration", - "start": 10717, - "end": 10739, + "start": 10762, + "end": 10784, "loc": { "start": { "line": 524, @@ -31846,8 +32115,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 10723, - "end": 10737, + "start": 10768, + "end": 10782, "loc": { "start": { "line": 524, @@ -31860,8 +32129,8 @@ }, "id": { "type": "Identifier", - "start": 10723, - "end": 10724, + "start": 10768, + "end": 10769, "loc": { "start": { "line": 524, @@ -31877,8 +32146,8 @@ }, "init": { "type": "MemberExpression", - "start": 10727, - "end": 10737, + "start": 10772, + "end": 10782, "loc": { "start": { "line": 524, @@ -31891,8 +32160,8 @@ }, "object": { "type": "ThisExpression", - "start": 10727, - "end": 10731, + "start": 10772, + "end": 10776, "loc": { "start": { "line": 524, @@ -31906,8 +32175,8 @@ }, "property": { "type": "Identifier", - "start": 10732, - "end": 10737, + "start": 10777, + "end": 10782, "loc": { "start": { "line": 524, @@ -31929,8 +32198,8 @@ }, { "type": "VariableDeclaration", - "start": 10742, - "end": 10779, + "start": 10787, + "end": 10824, "loc": { "start": { "line": 525, @@ -31944,8 +32213,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 10748, - "end": 10777, + "start": 10793, + "end": 10822, "loc": { "start": { "line": 525, @@ -31958,8 +32227,8 @@ }, "id": { "type": "Identifier", - "start": 10748, - "end": 10749, + "start": 10793, + "end": 10794, "loc": { "start": { "line": 525, @@ -31975,8 +32244,8 @@ }, "init": { "type": "CallExpression", - "start": 10752, - "end": 10777, + "start": 10797, + "end": 10822, "loc": { "start": { "line": 525, @@ -31989,8 +32258,8 @@ }, "callee": { "type": "MemberExpression", - "start": 10752, - "end": 10772, + "start": 10797, + "end": 10817, "loc": { "start": { "line": 525, @@ -32003,8 +32272,8 @@ }, "object": { "type": "Identifier", - "start": 10752, - "end": 10757, + "start": 10797, + "end": 10802, "loc": { "start": { "line": 525, @@ -32020,8 +32289,8 @@ }, "property": { "type": "Identifier", - "start": 10758, - "end": 10772, + "start": 10803, + "end": 10817, "loc": { "start": { "line": 525, @@ -32040,8 +32309,8 @@ "arguments": [ { "type": "Identifier", - "start": 10774, - "end": 10775, + "start": 10819, + "end": 10820, "loc": { "start": { "line": 525, @@ -32063,8 +32332,8 @@ }, { "type": "VariableDeclaration", - "start": 10782, - "end": 10928, + "start": 10827, + "end": 10973, "loc": { "start": { "line": 526, @@ -32078,8 +32347,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 10788, - "end": 10926, + "start": 10833, + "end": 10971, "loc": { "start": { "line": 526, @@ -32092,8 +32361,8 @@ }, "id": { "type": "ArrayPattern", - "start": 10788, - "end": 10852, + "start": 10833, + "end": 10897, "loc": { "start": { "line": 526, @@ -32107,8 +32376,8 @@ "elements": [ { "type": "Identifier", - "start": 10790, - "end": 10792, + "start": 10835, + "end": 10837, "loc": { "start": { "line": 526, @@ -32124,8 +32393,8 @@ }, { "type": "Identifier", - "start": 10795, - "end": 10798, + "start": 10840, + "end": 10843, "loc": { "start": { "line": 526, @@ -32141,8 +32410,8 @@ }, { "type": "Identifier", - "start": 10801, - "end": 10803, + "start": 10846, + "end": 10848, "loc": { "start": { "line": 526, @@ -32158,8 +32427,8 @@ }, { "type": "Identifier", - "start": 10806, - "end": 10809, + "start": 10851, + "end": 10854, "loc": { "start": { "line": 526, @@ -32175,8 +32444,8 @@ }, { "type": "Identifier", - "start": 10812, - "end": 10814, + "start": 10857, + "end": 10859, "loc": { "start": { "line": 526, @@ -32192,8 +32461,8 @@ }, { "type": "Identifier", - "start": 10817, - "end": 10820, + "start": 10862, + "end": 10865, "loc": { "start": { "line": 526, @@ -32209,8 +32478,8 @@ }, { "type": "Identifier", - "start": 10823, - "end": 10825, + "start": 10868, + "end": 10870, "loc": { "start": { "line": 526, @@ -32226,8 +32495,8 @@ }, { "type": "Identifier", - "start": 10828, - "end": 10831, + "start": 10873, + "end": 10876, "loc": { "start": { "line": 526, @@ -32243,8 +32512,8 @@ }, { "type": "Identifier", - "start": 10834, - "end": 10836, + "start": 10879, + "end": 10881, "loc": { "start": { "line": 526, @@ -32260,8 +32529,8 @@ }, { "type": "Identifier", - "start": 10839, - "end": 10842, + "start": 10884, + "end": 10887, "loc": { "start": { "line": 526, @@ -32277,8 +32546,8 @@ }, { "type": "Identifier", - "start": 10845, - "end": 10850, + "start": 10890, + "end": 10895, "loc": { "start": { "line": 526, @@ -32296,8 +32565,8 @@ }, "init": { "type": "CallExpression", - "start": 10855, - "end": 10926, + "start": 10900, + "end": 10971, "loc": { "start": { "line": 526, @@ -32310,8 +32579,8 @@ }, "callee": { "type": "Identifier", - "start": 10855, - "end": 10883, + "start": 10900, + "end": 10928, "loc": { "start": { "line": 526, @@ -32328,8 +32597,8 @@ "arguments": [ { "type": "Identifier", - "start": 10885, - "end": 10886, + "start": 10930, + "end": 10931, "loc": { "start": { "line": 526, @@ -32345,8 +32614,8 @@ }, { "type": "Identifier", - "start": 10889, - "end": 10890, + "start": 10934, + "end": 10935, "loc": { "start": { "line": 526, @@ -32362,8 +32631,8 @@ }, { "type": "NumericLiteral", - "start": 10893, - "end": 10894, + "start": 10938, + "end": 10939, "loc": { "start": { "line": 526, @@ -32382,8 +32651,8 @@ }, { "type": "MemberExpression", - "start": 10897, - "end": 10905, + "start": 10942, + "end": 10950, "loc": { "start": { "line": 526, @@ -32396,8 +32665,8 @@ }, "object": { "type": "Identifier", - "start": 10897, - "end": 10898, + "start": 10942, + "end": 10943, "loc": { "start": { "line": 526, @@ -32413,8 +32682,8 @@ }, "property": { "type": "Identifier", - "start": 10899, - "end": 10905, + "start": 10944, + "end": 10950, "loc": { "start": { "line": 526, @@ -32432,8 +32701,8 @@ }, { "type": "Identifier", - "start": 10908, - "end": 10909, + "start": 10953, + "end": 10954, "loc": { "start": { "line": 526, @@ -32449,8 +32718,8 @@ }, { "type": "NumericLiteral", - "start": 10912, - "end": 10913, + "start": 10957, + "end": 10958, "loc": { "start": { "line": 526, @@ -32469,8 +32738,8 @@ }, { "type": "MemberExpression", - "start": 10916, - "end": 10924, + "start": 10961, + "end": 10969, "loc": { "start": { "line": 526, @@ -32483,8 +32752,8 @@ }, "object": { "type": "Identifier", - "start": 10916, - "end": 10917, + "start": 10961, + "end": 10962, "loc": { "start": { "line": 526, @@ -32500,8 +32769,8 @@ }, "property": { "type": "Identifier", - "start": 10918, - "end": 10924, + "start": 10963, + "end": 10969, "loc": { "start": { "line": 526, @@ -32525,8 +32794,8 @@ }, { "type": "VariableDeclaration", - "start": 10931, - "end": 10970, + "start": 10976, + "end": 11015, "loc": { "start": { "line": 527, @@ -32540,8 +32809,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 10937, - "end": 10968, + "start": 10982, + "end": 11013, "loc": { "start": { "line": 527, @@ -32554,8 +32823,8 @@ }, "id": { "type": "Identifier", - "start": 10937, - "end": 10940, + "start": 10982, + "end": 10985, "loc": { "start": { "line": 527, @@ -32571,8 +32840,8 @@ }, "init": { "type": "CallExpression", - "start": 10943, - "end": 10968, + "start": 10988, + "end": 11013, "loc": { "start": { "line": 527, @@ -32585,8 +32854,8 @@ }, "callee": { "type": "Identifier", - "start": 10943, - "end": 10949, + "start": 10988, + "end": 10994, "loc": { "start": { "line": 527, @@ -32603,8 +32872,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 10951, - "end": 10966, + "start": 10996, + "end": 11011, "loc": { "start": { "line": 527, @@ -32617,8 +32886,8 @@ }, "left": { "type": "MemberExpression", - "start": 10951, - "end": 10960, + "start": 10996, + "end": 11005, "loc": { "start": { "line": 527, @@ -32631,8 +32900,8 @@ }, "object": { "type": "Identifier", - "start": 10951, - "end": 10953, + "start": 10996, + "end": 10998, "loc": { "start": { "line": 527, @@ -32648,8 +32917,8 @@ }, "property": { "type": "Identifier", - "start": 10954, - "end": 10960, + "start": 10999, + "end": 11005, "loc": { "start": { "line": 527, @@ -32668,8 +32937,8 @@ "operator": "-", "right": { "type": "Identifier", - "start": 10963, - "end": 10966, + "start": 11008, + "end": 11011, "loc": { "start": { "line": 527, @@ -32692,8 +32961,8 @@ }, { "type": "ExpressionStatement", - "start": 10973, - "end": 11014, + "start": 11018, + "end": 11059, "loc": { "start": { "line": 528, @@ -32706,8 +32975,8 @@ }, "expression": { "type": "CallExpression", - "start": 10973, - "end": 11012, + "start": 11018, + "end": 11057, "loc": { "start": { "line": 528, @@ -32720,8 +32989,8 @@ }, "callee": { "type": "Identifier", - "start": 10973, - "end": 10978, + "start": 11018, + "end": 11023, "loc": { "start": { "line": 528, @@ -32738,8 +33007,8 @@ "arguments": [ { "type": "Identifier", - "start": 10980, - "end": 10982, + "start": 11025, + "end": 11027, "loc": { "start": { "line": 528, @@ -32755,8 +33024,8 @@ }, { "type": "Identifier", - "start": 10985, - "end": 10988, + "start": 11030, + "end": 11033, "loc": { "start": { "line": 528, @@ -32772,8 +33041,8 @@ }, { "type": "MemberExpression", - "start": 10991, - "end": 11000, + "start": 11036, + "end": 11045, "loc": { "start": { "line": 528, @@ -32786,8 +33055,8 @@ }, "object": { "type": "Identifier", - "start": 10991, - "end": 10993, + "start": 11036, + "end": 11038, "loc": { "start": { "line": 528, @@ -32803,8 +33072,8 @@ }, "property": { "type": "Identifier", - "start": 10994, - "end": 11000, + "start": 11039, + "end": 11045, "loc": { "start": { "line": 528, @@ -32822,8 +33091,8 @@ }, { "type": "Identifier", - "start": 11003, - "end": 11006, + "start": 11048, + "end": 11051, "loc": { "start": { "line": 528, @@ -32839,8 +33108,8 @@ }, { "type": "NumericLiteral", - "start": 11009, - "end": 11010, + "start": 11054, + "end": 11055, "loc": { "start": { "line": 528, @@ -32862,8 +33131,8 @@ }, { "type": "VariableDeclaration", - "start": 11017, - "end": 11054, + "start": 11062, + "end": 11099, "loc": { "start": { "line": 529, @@ -32877,8 +33146,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 11023, - "end": 11052, + "start": 11068, + "end": 11097, "loc": { "start": { "line": 529, @@ -32891,8 +33160,8 @@ }, "id": { "type": "Identifier", - "start": 11023, - "end": 11024, + "start": 11068, + "end": 11069, "loc": { "start": { "line": 529, @@ -32908,8 +33177,8 @@ }, "init": { "type": "CallExpression", - "start": 11027, - "end": 11052, + "start": 11072, + "end": 11097, "loc": { "start": { "line": 529, @@ -32922,8 +33191,8 @@ }, "callee": { "type": "Identifier", - "start": 11027, - "end": 11033, + "start": 11072, + "end": 11078, "loc": { "start": { "line": 529, @@ -32940,8 +33209,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 11035, - "end": 11050, + "start": 11080, + "end": 11095, "loc": { "start": { "line": 529, @@ -32954,8 +33223,8 @@ }, "left": { "type": "MemberExpression", - "start": 11035, - "end": 11044, + "start": 11080, + "end": 11089, "loc": { "start": { "line": 529, @@ -32968,8 +33237,8 @@ }, "object": { "type": "Identifier", - "start": 11035, - "end": 11037, + "start": 11080, + "end": 11082, "loc": { "start": { "line": 529, @@ -32985,8 +33254,8 @@ }, "property": { "type": "Identifier", - "start": 11038, - "end": 11044, + "start": 11083, + "end": 11089, "loc": { "start": { "line": 529, @@ -33005,8 +33274,8 @@ "operator": "-", "right": { "type": "Identifier", - "start": 11047, - "end": 11050, + "start": 11092, + "end": 11095, "loc": { "start": { "line": 529, @@ -33029,8 +33298,8 @@ }, { "type": "ExpressionStatement", - "start": 11057, - "end": 11096, + "start": 11102, + "end": 11141, "loc": { "start": { "line": 530, @@ -33043,8 +33312,8 @@ }, "expression": { "type": "CallExpression", - "start": 11057, - "end": 11094, + "start": 11102, + "end": 11139, "loc": { "start": { "line": 530, @@ -33057,8 +33326,8 @@ }, "callee": { "type": "Identifier", - "start": 11057, - "end": 11062, + "start": 11102, + "end": 11107, "loc": { "start": { "line": 530, @@ -33075,8 +33344,8 @@ "arguments": [ { "type": "Identifier", - "start": 11064, - "end": 11066, + "start": 11109, + "end": 11111, "loc": { "start": { "line": 530, @@ -33092,8 +33361,8 @@ }, { "type": "Identifier", - "start": 11069, - "end": 11072, + "start": 11114, + "end": 11117, "loc": { "start": { "line": 530, @@ -33109,8 +33378,8 @@ }, { "type": "MemberExpression", - "start": 11075, - "end": 11084, + "start": 11120, + "end": 11129, "loc": { "start": { "line": 530, @@ -33123,8 +33392,8 @@ }, "object": { "type": "Identifier", - "start": 11075, - "end": 11077, + "start": 11120, + "end": 11122, "loc": { "start": { "line": 530, @@ -33140,8 +33409,8 @@ }, "property": { "type": "Identifier", - "start": 11078, - "end": 11084, + "start": 11123, + "end": 11129, "loc": { "start": { "line": 530, @@ -33159,8 +33428,8 @@ }, { "type": "Identifier", - "start": 11087, - "end": 11088, + "start": 11132, + "end": 11133, "loc": { "start": { "line": 530, @@ -33176,8 +33445,8 @@ }, { "type": "NumericLiteral", - "start": 11091, - "end": 11092, + "start": 11136, + "end": 11137, "loc": { "start": { "line": 530, @@ -33199,8 +33468,8 @@ }, { "type": "VariableDeclaration", - "start": 11099, - "end": 11136, + "start": 11144, + "end": 11181, "loc": { "start": { "line": 531, @@ -33214,8 +33483,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 11105, - "end": 11134, + "start": 11150, + "end": 11179, "loc": { "start": { "line": 531, @@ -33228,8 +33497,8 @@ }, "id": { "type": "Identifier", - "start": 11105, - "end": 11106, + "start": 11150, + "end": 11151, "loc": { "start": { "line": 531, @@ -33245,8 +33514,8 @@ }, "init": { "type": "CallExpression", - "start": 11109, - "end": 11134, + "start": 11154, + "end": 11179, "loc": { "start": { "line": 531, @@ -33259,8 +33528,8 @@ }, "callee": { "type": "Identifier", - "start": 11109, - "end": 11115, + "start": 11154, + "end": 11160, "loc": { "start": { "line": 531, @@ -33277,8 +33546,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 11117, - "end": 11132, + "start": 11162, + "end": 11177, "loc": { "start": { "line": 531, @@ -33291,8 +33560,8 @@ }, "left": { "type": "MemberExpression", - "start": 11117, - "end": 11126, + "start": 11162, + "end": 11171, "loc": { "start": { "line": 531, @@ -33305,8 +33574,8 @@ }, "object": { "type": "Identifier", - "start": 11117, - "end": 11119, + "start": 11162, + "end": 11164, "loc": { "start": { "line": 531, @@ -33322,8 +33591,8 @@ }, "property": { "type": "Identifier", - "start": 11120, - "end": 11126, + "start": 11165, + "end": 11171, "loc": { "start": { "line": 531, @@ -33342,8 +33611,8 @@ "operator": "-", "right": { "type": "Identifier", - "start": 11129, - "end": 11132, + "start": 11174, + "end": 11177, "loc": { "start": { "line": 531, @@ -33366,8 +33635,8 @@ }, { "type": "ExpressionStatement", - "start": 11139, - "end": 11178, + "start": 11184, + "end": 11223, "loc": { "start": { "line": 532, @@ -33380,8 +33649,8 @@ }, "expression": { "type": "CallExpression", - "start": 11139, - "end": 11176, + "start": 11184, + "end": 11221, "loc": { "start": { "line": 532, @@ -33394,8 +33663,8 @@ }, "callee": { "type": "Identifier", - "start": 11139, - "end": 11144, + "start": 11184, + "end": 11189, "loc": { "start": { "line": 532, @@ -33412,8 +33681,8 @@ "arguments": [ { "type": "Identifier", - "start": 11146, - "end": 11148, + "start": 11191, + "end": 11193, "loc": { "start": { "line": 532, @@ -33429,8 +33698,8 @@ }, { "type": "Identifier", - "start": 11151, - "end": 11154, + "start": 11196, + "end": 11199, "loc": { "start": { "line": 532, @@ -33446,8 +33715,8 @@ }, { "type": "MemberExpression", - "start": 11157, - "end": 11166, + "start": 11202, + "end": 11211, "loc": { "start": { "line": 532, @@ -33460,8 +33729,8 @@ }, "object": { "type": "Identifier", - "start": 11157, - "end": 11159, + "start": 11202, + "end": 11204, "loc": { "start": { "line": 532, @@ -33477,8 +33746,8 @@ }, "property": { "type": "Identifier", - "start": 11160, - "end": 11166, + "start": 11205, + "end": 11211, "loc": { "start": { "line": 532, @@ -33496,8 +33765,8 @@ }, { "type": "Identifier", - "start": 11169, - "end": 11170, + "start": 11214, + "end": 11215, "loc": { "start": { "line": 532, @@ -33513,8 +33782,8 @@ }, { "type": "NumericLiteral", - "start": 11173, - "end": 11174, + "start": 11218, + "end": 11219, "loc": { "start": { "line": 532, @@ -33536,8 +33805,8 @@ }, { "type": "VariableDeclaration", - "start": 11181, - "end": 11218, + "start": 11226, + "end": 11263, "loc": { "start": { "line": 533, @@ -33551,8 +33820,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 11187, - "end": 11216, + "start": 11232, + "end": 11261, "loc": { "start": { "line": 533, @@ -33565,8 +33834,8 @@ }, "id": { "type": "Identifier", - "start": 11187, - "end": 11188, + "start": 11232, + "end": 11233, "loc": { "start": { "line": 533, @@ -33582,8 +33851,8 @@ }, "init": { "type": "CallExpression", - "start": 11191, - "end": 11216, + "start": 11236, + "end": 11261, "loc": { "start": { "line": 533, @@ -33596,8 +33865,8 @@ }, "callee": { "type": "Identifier", - "start": 11191, - "end": 11197, + "start": 11236, + "end": 11242, "loc": { "start": { "line": 533, @@ -33614,8 +33883,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 11199, - "end": 11214, + "start": 11244, + "end": 11259, "loc": { "start": { "line": 533, @@ -33628,8 +33897,8 @@ }, "left": { "type": "MemberExpression", - "start": 11199, - "end": 11208, + "start": 11244, + "end": 11253, "loc": { "start": { "line": 533, @@ -33642,8 +33911,8 @@ }, "object": { "type": "Identifier", - "start": 11199, - "end": 11201, + "start": 11244, + "end": 11246, "loc": { "start": { "line": 533, @@ -33659,8 +33928,8 @@ }, "property": { "type": "Identifier", - "start": 11202, - "end": 11208, + "start": 11247, + "end": 11253, "loc": { "start": { "line": 533, @@ -33679,8 +33948,8 @@ "operator": "-", "right": { "type": "Identifier", - "start": 11211, - "end": 11214, + "start": 11256, + "end": 11259, "loc": { "start": { "line": 533, @@ -33703,8 +33972,8 @@ }, { "type": "ExpressionStatement", - "start": 11221, - "end": 11260, + "start": 11266, + "end": 11305, "loc": { "start": { "line": 534, @@ -33717,8 +33986,8 @@ }, "expression": { "type": "CallExpression", - "start": 11221, - "end": 11258, + "start": 11266, + "end": 11303, "loc": { "start": { "line": 534, @@ -33731,8 +34000,8 @@ }, "callee": { "type": "Identifier", - "start": 11221, - "end": 11226, + "start": 11266, + "end": 11271, "loc": { "start": { "line": 534, @@ -33749,8 +34018,8 @@ "arguments": [ { "type": "Identifier", - "start": 11228, - "end": 11230, + "start": 11273, + "end": 11275, "loc": { "start": { "line": 534, @@ -33766,8 +34035,8 @@ }, { "type": "Identifier", - "start": 11233, - "end": 11236, + "start": 11278, + "end": 11281, "loc": { "start": { "line": 534, @@ -33783,8 +34052,8 @@ }, { "type": "MemberExpression", - "start": 11239, - "end": 11248, + "start": 11284, + "end": 11293, "loc": { "start": { "line": 534, @@ -33797,8 +34066,8 @@ }, "object": { "type": "Identifier", - "start": 11239, - "end": 11241, + "start": 11284, + "end": 11286, "loc": { "start": { "line": 534, @@ -33814,8 +34083,8 @@ }, "property": { "type": "Identifier", - "start": 11242, - "end": 11248, + "start": 11287, + "end": 11293, "loc": { "start": { "line": 534, @@ -33833,8 +34102,8 @@ }, { "type": "Identifier", - "start": 11251, - "end": 11252, + "start": 11296, + "end": 11297, "loc": { "start": { "line": 534, @@ -33850,8 +34119,8 @@ }, { "type": "NumericLiteral", - "start": 11255, - "end": 11256, + "start": 11300, + "end": 11301, "loc": { "start": { "line": 534, @@ -33873,8 +34142,8 @@ }, { "type": "VariableDeclaration", - "start": 11263, - "end": 11300, + "start": 11308, + "end": 11345, "loc": { "start": { "line": 535, @@ -33888,8 +34157,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 11269, - "end": 11298, + "start": 11314, + "end": 11343, "loc": { "start": { "line": 535, @@ -33902,8 +34171,8 @@ }, "id": { "type": "Identifier", - "start": 11269, - "end": 11270, + "start": 11314, + "end": 11315, "loc": { "start": { "line": 535, @@ -33919,8 +34188,8 @@ }, "init": { "type": "CallExpression", - "start": 11273, - "end": 11298, + "start": 11318, + "end": 11343, "loc": { "start": { "line": 535, @@ -33933,8 +34202,8 @@ }, "callee": { "type": "Identifier", - "start": 11273, - "end": 11279, + "start": 11318, + "end": 11324, "loc": { "start": { "line": 535, @@ -33951,8 +34220,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 11281, - "end": 11296, + "start": 11326, + "end": 11341, "loc": { "start": { "line": 535, @@ -33965,8 +34234,8 @@ }, "left": { "type": "MemberExpression", - "start": 11281, - "end": 11290, + "start": 11326, + "end": 11335, "loc": { "start": { "line": 535, @@ -33979,8 +34248,8 @@ }, "object": { "type": "Identifier", - "start": 11281, - "end": 11283, + "start": 11326, + "end": 11328, "loc": { "start": { "line": 535, @@ -33996,8 +34265,8 @@ }, "property": { "type": "Identifier", - "start": 11284, - "end": 11290, + "start": 11329, + "end": 11335, "loc": { "start": { "line": 535, @@ -34016,8 +34285,8 @@ "operator": "-", "right": { "type": "Identifier", - "start": 11293, - "end": 11296, + "start": 11338, + "end": 11341, "loc": { "start": { "line": 535, @@ -34040,8 +34309,8 @@ }, { "type": "ExpressionStatement", - "start": 11303, - "end": 11342, + "start": 11348, + "end": 11387, "loc": { "start": { "line": 536, @@ -34054,8 +34323,8 @@ }, "expression": { "type": "CallExpression", - "start": 11303, - "end": 11340, + "start": 11348, + "end": 11385, "loc": { "start": { "line": 536, @@ -34068,8 +34337,8 @@ }, "callee": { "type": "Identifier", - "start": 11303, - "end": 11308, + "start": 11348, + "end": 11353, "loc": { "start": { "line": 536, @@ -34086,8 +34355,8 @@ "arguments": [ { "type": "Identifier", - "start": 11310, - "end": 11312, + "start": 11355, + "end": 11357, "loc": { "start": { "line": 536, @@ -34103,8 +34372,8 @@ }, { "type": "Identifier", - "start": 11315, - "end": 11318, + "start": 11360, + "end": 11363, "loc": { "start": { "line": 536, @@ -34120,8 +34389,8 @@ }, { "type": "MemberExpression", - "start": 11321, - "end": 11330, + "start": 11366, + "end": 11375, "loc": { "start": { "line": 536, @@ -34134,8 +34403,8 @@ }, "object": { "type": "Identifier", - "start": 11321, - "end": 11323, + "start": 11366, + "end": 11368, "loc": { "start": { "line": 536, @@ -34151,8 +34420,8 @@ }, "property": { "type": "Identifier", - "start": 11324, - "end": 11330, + "start": 11369, + "end": 11375, "loc": { "start": { "line": 536, @@ -34170,8 +34439,8 @@ }, { "type": "Identifier", - "start": 11333, - "end": 11334, + "start": 11378, + "end": 11379, "loc": { "start": { "line": 536, @@ -34187,8 +34456,8 @@ }, { "type": "NumericLiteral", - "start": 11337, - "end": 11338, + "start": 11382, + "end": 11383, "loc": { "start": { "line": 536, @@ -34210,8 +34479,8 @@ }, { "type": "ReturnStatement", - "start": 11345, - "end": 11811, + "start": 11390, + "end": 11856, "loc": { "start": { "line": 537, @@ -34224,8 +34493,8 @@ }, "argument": { "type": "ObjectExpression", - "start": 11352, - "end": 11809, + "start": 11397, + "end": 11854, "loc": { "start": { "line": 537, @@ -34239,8 +34508,8 @@ "properties": [ { "type": "ObjectProperty", - "start": 11384, - "end": 11411, + "start": 11429, + "end": 11456, "loc": { "start": { "line": 538, @@ -34256,8 +34525,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 11384, - "end": 11387, + "start": 11429, + "end": 11432, "loc": { "start": { "line": 538, @@ -34274,8 +34543,8 @@ }, "value": { "type": "NewExpression", - "start": 11389, - "end": 11411, + "start": 11434, + "end": 11456, "loc": { "start": { "line": 538, @@ -34288,8 +34557,8 @@ }, "callee": { "type": "Identifier", - "start": 11393, - "end": 11400, + "start": 11438, + "end": 11445, "loc": { "start": { "line": 538, @@ -34306,8 +34575,8 @@ "arguments": [ { "type": "Identifier", - "start": 11401, - "end": 11402, + "start": 11446, + "end": 11447, "loc": { "start": { "line": 538, @@ -34323,8 +34592,8 @@ }, { "type": "NumericLiteral", - "start": 11404, - "end": 11405, + "start": 11449, + "end": 11450, "loc": { "start": { "line": 538, @@ -34343,8 +34612,8 @@ }, { "type": "Identifier", - "start": 11407, - "end": 11410, + "start": 11452, + "end": 11455, "loc": { "start": { "line": 538, @@ -34364,8 +34633,8 @@ { "type": "CommentLine", "value": " TODO use immutable zero", - "start": 11354, - "end": 11380, + "start": 11399, + "end": 11425, "loc": { "start": { "line": 537, @@ -34381,8 +34650,8 @@ }, { "type": "ObjectProperty", - "start": 11417, - "end": 11509, + "start": 11462, + "end": 11554, "loc": { "start": { "line": 539, @@ -34398,8 +34667,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 11417, - "end": 11418, + "start": 11462, + "end": 11463, "loc": { "start": { "line": 539, @@ -34415,8 +34684,8 @@ }, "value": { "type": "ConditionalExpression", - "start": 11420, - "end": 11509, + "start": 11465, + "end": 11554, "loc": { "start": { "line": 539, @@ -34429,8 +34698,8 @@ }, "test": { "type": "MemberExpression", - "start": 11420, - "end": 11428, + "start": 11465, + "end": 11473, "loc": { "start": { "line": 539, @@ -34443,8 +34712,8 @@ }, "object": { "type": "Identifier", - "start": 11420, - "end": 11421, + "start": 11465, + "end": 11466, "loc": { "start": { "line": 539, @@ -34460,8 +34729,8 @@ }, "property": { "type": "Identifier", - "start": 11422, - "end": 11428, + "start": 11467, + "end": 11473, "loc": { "start": { "line": 539, @@ -34479,8 +34748,8 @@ }, "consequent": { "type": "NewExpression", - "start": 11431, - "end": 11484, + "start": 11476, + "end": 11529, "loc": { "start": { "line": 539, @@ -34493,8 +34762,8 @@ }, "callee": { "type": "Identifier", - "start": 11435, - "end": 11442, + "start": 11480, + "end": 11487, "loc": { "start": { "line": 539, @@ -34511,8 +34780,8 @@ "arguments": [ { "type": "Identifier", - "start": 11443, - "end": 11444, + "start": 11488, + "end": 11489, "loc": { "start": { "line": 539, @@ -34528,8 +34797,8 @@ }, { "type": "BinaryExpression", - "start": 11446, - "end": 11480, + "start": 11491, + "end": 11525, "loc": { "start": { "line": 539, @@ -34542,8 +34811,8 @@ }, "left": { "type": "MemberExpression", - "start": 11446, - "end": 11462, + "start": 11491, + "end": 11507, "loc": { "start": { "line": 539, @@ -34556,8 +34825,8 @@ }, "object": { "type": "ThisExpression", - "start": 11446, - "end": 11450, + "start": 11491, + "end": 11495, "loc": { "start": { "line": 539, @@ -34571,8 +34840,8 @@ }, "property": { "type": "Identifier", - "start": 11451, - "end": 11462, + "start": 11496, + "end": 11507, "loc": { "start": { "line": 539, @@ -34591,8 +34860,8 @@ "operator": "^", "right": { "type": "BinaryExpression", - "start": 11466, - "end": 11479, + "start": 11511, + "end": 11524, "loc": { "start": { "line": 539, @@ -34605,8 +34874,8 @@ }, "left": { "type": "BinaryExpression", - "start": 11467, - "end": 11476, + "start": 11512, + "end": 11521, "loc": { "start": { "line": 539, @@ -34619,8 +34888,8 @@ }, "left": { "type": "Identifier", - "start": 11467, - "end": 11472, + "start": 11512, + "end": 11517, "loc": { "start": { "line": 539, @@ -34637,8 +34906,8 @@ "operator": "%", "right": { "type": "NumericLiteral", - "start": 11475, - "end": 11476, + "start": 11520, + "end": 11521, "loc": { "start": { "line": 539, @@ -34657,14 +34926,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 11466 + "parenStart": 11511 } }, "operator": "-", "right": { "type": "NumericLiteral", - "start": 11478, - "end": 11479, + "start": 11523, + "end": 11524, "loc": { "start": { "line": 539, @@ -34683,14 +34952,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 11465 + "parenStart": 11510 } } }, { "type": "Identifier", - "start": 11482, - "end": 11483, + "start": 11527, + "end": 11528, "loc": { "start": { "line": 539, @@ -34708,8 +34977,8 @@ }, "alternate": { "type": "NewExpression", - "start": 11487, - "end": 11509, + "start": 11532, + "end": 11554, "loc": { "start": { "line": 539, @@ -34722,8 +34991,8 @@ }, "callee": { "type": "Identifier", - "start": 11491, - "end": 11498, + "start": 11536, + "end": 11543, "loc": { "start": { "line": 539, @@ -34740,8 +35009,8 @@ "arguments": [ { "type": "Identifier", - "start": 11499, - "end": 11500, + "start": 11544, + "end": 11545, "loc": { "start": { "line": 539, @@ -34757,8 +35026,8 @@ }, { "type": "NumericLiteral", - "start": 11502, - "end": 11503, + "start": 11547, + "end": 11548, "loc": { "start": { "line": 539, @@ -34777,8 +35046,8 @@ }, { "type": "ArrayExpression", - "start": 11505, - "end": 11508, + "start": 11550, + "end": 11553, "loc": { "start": { "line": 539, @@ -34792,8 +35061,8 @@ "elements": [ { "type": "NumericLiteral", - "start": 11506, - "end": 11507, + "start": 11551, + "end": 11552, "loc": { "start": { "line": 539, @@ -34818,8 +35087,8 @@ }, { "type": "ObjectProperty", - "start": 11515, - "end": 11607, + "start": 11560, + "end": 11652, "loc": { "start": { "line": 540, @@ -34835,8 +35104,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 11515, - "end": 11516, + "start": 11560, + "end": 11561, "loc": { "start": { "line": 540, @@ -34852,8 +35121,8 @@ }, "value": { "type": "ConditionalExpression", - "start": 11518, - "end": 11607, + "start": 11563, + "end": 11652, "loc": { "start": { "line": 540, @@ -34866,8 +35135,8 @@ }, "test": { "type": "MemberExpression", - "start": 11518, - "end": 11526, + "start": 11563, + "end": 11571, "loc": { "start": { "line": 540, @@ -34880,8 +35149,8 @@ }, "object": { "type": "Identifier", - "start": 11518, - "end": 11519, + "start": 11563, + "end": 11564, "loc": { "start": { "line": 540, @@ -34897,8 +35166,8 @@ }, "property": { "type": "Identifier", - "start": 11520, - "end": 11526, + "start": 11565, + "end": 11571, "loc": { "start": { "line": 540, @@ -34916,8 +35185,8 @@ }, "consequent": { "type": "NewExpression", - "start": 11529, - "end": 11582, + "start": 11574, + "end": 11627, "loc": { "start": { "line": 540, @@ -34930,8 +35199,8 @@ }, "callee": { "type": "Identifier", - "start": 11533, - "end": 11540, + "start": 11578, + "end": 11585, "loc": { "start": { "line": 540, @@ -34948,8 +35217,8 @@ "arguments": [ { "type": "Identifier", - "start": 11541, - "end": 11542, + "start": 11586, + "end": 11587, "loc": { "start": { "line": 540, @@ -34965,8 +35234,8 @@ }, { "type": "BinaryExpression", - "start": 11544, - "end": 11578, + "start": 11589, + "end": 11623, "loc": { "start": { "line": 540, @@ -34979,8 +35248,8 @@ }, "left": { "type": "MemberExpression", - "start": 11544, - "end": 11561, + "start": 11589, + "end": 11606, "loc": { "start": { "line": 540, @@ -34993,8 +35262,8 @@ }, "object": { "type": "Identifier", - "start": 11544, - "end": 11549, + "start": 11589, + "end": 11594, "loc": { "start": { "line": 540, @@ -35010,8 +35279,8 @@ }, "property": { "type": "Identifier", - "start": 11550, - "end": 11561, + "start": 11595, + "end": 11606, "loc": { "start": { "line": 540, @@ -35030,8 +35299,8 @@ "operator": "^", "right": { "type": "UnaryExpression", - "start": 11565, - "end": 11577, + "start": 11610, + "end": 11622, "loc": { "start": { "line": 540, @@ -35046,8 +35315,8 @@ "prefix": true, "argument": { "type": "BinaryExpression", - "start": 11567, - "end": 11576, + "start": 11612, + "end": 11621, "loc": { "start": { "line": 540, @@ -35060,8 +35329,8 @@ }, "left": { "type": "Identifier", - "start": 11567, - "end": 11572, + "start": 11612, + "end": 11617, "loc": { "start": { "line": 540, @@ -35078,8 +35347,8 @@ "operator": "%", "right": { "type": "NumericLiteral", - "start": 11575, - "end": 11576, + "start": 11620, + "end": 11621, "loc": { "start": { "line": 540, @@ -35098,20 +35367,20 @@ }, "extra": { "parenthesized": true, - "parenStart": 11566 + "parenStart": 11611 } }, "extra": { "parenthesizedArgument": false, "parenthesized": true, - "parenStart": 11564 + "parenStart": 11609 } } }, { "type": "Identifier", - "start": 11580, - "end": 11581, + "start": 11625, + "end": 11626, "loc": { "start": { "line": 540, @@ -35129,8 +35398,8 @@ }, "alternate": { "type": "NewExpression", - "start": 11585, - "end": 11607, + "start": 11630, + "end": 11652, "loc": { "start": { "line": 540, @@ -35143,8 +35412,8 @@ }, "callee": { "type": "Identifier", - "start": 11589, - "end": 11596, + "start": 11634, + "end": 11641, "loc": { "start": { "line": 540, @@ -35161,8 +35430,8 @@ "arguments": [ { "type": "Identifier", - "start": 11597, - "end": 11598, + "start": 11642, + "end": 11643, "loc": { "start": { "line": 540, @@ -35178,8 +35447,8 @@ }, { "type": "NumericLiteral", - "start": 11600, - "end": 11601, + "start": 11645, + "end": 11646, "loc": { "start": { "line": 540, @@ -35198,8 +35467,8 @@ }, { "type": "ArrayExpression", - "start": 11603, - "end": 11606, + "start": 11648, + "end": 11651, "loc": { "start": { "line": 540, @@ -35213,8 +35482,8 @@ "elements": [ { "type": "NumericLiteral", - "start": 11604, - "end": 11605, + "start": 11649, + "end": 11650, "loc": { "start": { "line": 540, @@ -35239,8 +35508,8 @@ }, { "type": "ObjectProperty", - "start": 11613, - "end": 11704, + "start": 11658, + "end": 11749, "loc": { "start": { "line": 541, @@ -35256,8 +35525,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 11613, - "end": 11614, + "start": 11658, + "end": 11659, "loc": { "start": { "line": 541, @@ -35273,8 +35542,8 @@ }, "value": { "type": "ConditionalExpression", - "start": 11616, - "end": 11704, + "start": 11661, + "end": 11749, "loc": { "start": { "line": 541, @@ -35287,8 +35556,8 @@ }, "test": { "type": "MemberExpression", - "start": 11616, - "end": 11624, + "start": 11661, + "end": 11669, "loc": { "start": { "line": 541, @@ -35301,8 +35570,8 @@ }, "object": { "type": "Identifier", - "start": 11616, - "end": 11617, + "start": 11661, + "end": 11662, "loc": { "start": { "line": 541, @@ -35318,8 +35587,8 @@ }, "property": { "type": "Identifier", - "start": 11618, - "end": 11624, + "start": 11663, + "end": 11669, "loc": { "start": { "line": 541, @@ -35337,8 +35606,8 @@ }, "consequent": { "type": "NewExpression", - "start": 11627, - "end": 11679, + "start": 11672, + "end": 11724, "loc": { "start": { "line": 541, @@ -35351,8 +35620,8 @@ }, "callee": { "type": "Identifier", - "start": 11631, - "end": 11638, + "start": 11676, + "end": 11683, "loc": { "start": { "line": 541, @@ -35369,8 +35638,8 @@ "arguments": [ { "type": "Identifier", - "start": 11639, - "end": 11640, + "start": 11684, + "end": 11685, "loc": { "start": { "line": 541, @@ -35386,8 +35655,8 @@ }, { "type": "BinaryExpression", - "start": 11642, - "end": 11675, + "start": 11687, + "end": 11720, "loc": { "start": { "line": 541, @@ -35400,8 +35669,8 @@ }, "left": { "type": "MemberExpression", - "start": 11642, - "end": 11658, + "start": 11687, + "end": 11703, "loc": { "start": { "line": 541, @@ -35414,8 +35683,8 @@ }, "object": { "type": "ThisExpression", - "start": 11642, - "end": 11646, + "start": 11687, + "end": 11691, "loc": { "start": { "line": 541, @@ -35429,8 +35698,8 @@ }, "property": { "type": "Identifier", - "start": 11647, - "end": 11658, + "start": 11692, + "end": 11703, "loc": { "start": { "line": 541, @@ -35449,8 +35718,8 @@ "operator": "^", "right": { "type": "UnaryExpression", - "start": 11662, - "end": 11674, + "start": 11707, + "end": 11719, "loc": { "start": { "line": 541, @@ -35465,8 +35734,8 @@ "prefix": true, "argument": { "type": "BinaryExpression", - "start": 11664, - "end": 11673, + "start": 11709, + "end": 11718, "loc": { "start": { "line": 541, @@ -35479,8 +35748,8 @@ }, "left": { "type": "Identifier", - "start": 11664, - "end": 11669, + "start": 11709, + "end": 11714, "loc": { "start": { "line": 541, @@ -35497,8 +35766,8 @@ "operator": "%", "right": { "type": "NumericLiteral", - "start": 11672, - "end": 11673, + "start": 11717, + "end": 11718, "loc": { "start": { "line": 541, @@ -35517,20 +35786,20 @@ }, "extra": { "parenthesized": true, - "parenStart": 11663 + "parenStart": 11708 } }, "extra": { "parenthesizedArgument": false, "parenthesized": true, - "parenStart": 11661 + "parenStart": 11706 } } }, { "type": "Identifier", - "start": 11677, - "end": 11678, + "start": 11722, + "end": 11723, "loc": { "start": { "line": 541, @@ -35548,8 +35817,8 @@ }, "alternate": { "type": "NewExpression", - "start": 11682, - "end": 11704, + "start": 11727, + "end": 11749, "loc": { "start": { "line": 541, @@ -35562,8 +35831,8 @@ }, "callee": { "type": "Identifier", - "start": 11686, - "end": 11693, + "start": 11731, + "end": 11738, "loc": { "start": { "line": 541, @@ -35580,8 +35849,8 @@ "arguments": [ { "type": "Identifier", - "start": 11694, - "end": 11695, + "start": 11739, + "end": 11740, "loc": { "start": { "line": 541, @@ -35597,8 +35866,8 @@ }, { "type": "NumericLiteral", - "start": 11697, - "end": 11698, + "start": 11742, + "end": 11743, "loc": { "start": { "line": 541, @@ -35617,8 +35886,8 @@ }, { "type": "ArrayExpression", - "start": 11700, - "end": 11703, + "start": 11745, + "end": 11748, "loc": { "start": { "line": 541, @@ -35632,8 +35901,8 @@ "elements": [ { "type": "NumericLiteral", - "start": 11701, - "end": 11702, + "start": 11746, + "end": 11747, "loc": { "start": { "line": 541, @@ -35658,8 +35927,8 @@ }, { "type": "ObjectProperty", - "start": 11710, - "end": 11803, + "start": 11755, + "end": 11848, "loc": { "start": { "line": 542, @@ -35675,8 +35944,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 11710, - "end": 11711, + "start": 11755, + "end": 11756, "loc": { "start": { "line": 542, @@ -35692,8 +35961,8 @@ }, "value": { "type": "ConditionalExpression", - "start": 11713, - "end": 11803, + "start": 11758, + "end": 11848, "loc": { "start": { "line": 542, @@ -35706,8 +35975,8 @@ }, "test": { "type": "MemberExpression", - "start": 11713, - "end": 11721, + "start": 11758, + "end": 11766, "loc": { "start": { "line": 542, @@ -35720,8 +35989,8 @@ }, "object": { "type": "Identifier", - "start": 11713, - "end": 11714, + "start": 11758, + "end": 11759, "loc": { "start": { "line": 542, @@ -35737,8 +36006,8 @@ }, "property": { "type": "Identifier", - "start": 11715, - "end": 11721, + "start": 11760, + "end": 11766, "loc": { "start": { "line": 542, @@ -35756,8 +36025,8 @@ }, "consequent": { "type": "NewExpression", - "start": 11724, - "end": 11778, + "start": 11769, + "end": 11823, "loc": { "start": { "line": 542, @@ -35770,8 +36039,8 @@ }, "callee": { "type": "Identifier", - "start": 11728, - "end": 11735, + "start": 11773, + "end": 11780, "loc": { "start": { "line": 542, @@ -35788,8 +36057,8 @@ "arguments": [ { "type": "Identifier", - "start": 11736, - "end": 11737, + "start": 11781, + "end": 11782, "loc": { "start": { "line": 542, @@ -35805,8 +36074,8 @@ }, { "type": "BinaryExpression", - "start": 11739, - "end": 11774, + "start": 11784, + "end": 11819, "loc": { "start": { "line": 542, @@ -35819,8 +36088,8 @@ }, "left": { "type": "MemberExpression", - "start": 11739, - "end": 11756, + "start": 11784, + "end": 11801, "loc": { "start": { "line": 542, @@ -35833,8 +36102,8 @@ }, "object": { "type": "Identifier", - "start": 11739, - "end": 11744, + "start": 11784, + "end": 11789, "loc": { "start": { "line": 542, @@ -35850,8 +36119,8 @@ }, "property": { "type": "Identifier", - "start": 11745, - "end": 11756, + "start": 11790, + "end": 11801, "loc": { "start": { "line": 542, @@ -35870,8 +36139,8 @@ "operator": "^", "right": { "type": "BinaryExpression", - "start": 11760, - "end": 11773, + "start": 11805, + "end": 11818, "loc": { "start": { "line": 542, @@ -35884,8 +36153,8 @@ }, "left": { "type": "BinaryExpression", - "start": 11761, - "end": 11770, + "start": 11806, + "end": 11815, "loc": { "start": { "line": 542, @@ -35898,8 +36167,8 @@ }, "left": { "type": "Identifier", - "start": 11761, - "end": 11766, + "start": 11806, + "end": 11811, "loc": { "start": { "line": 542, @@ -35916,8 +36185,8 @@ "operator": "%", "right": { "type": "NumericLiteral", - "start": 11769, - "end": 11770, + "start": 11814, + "end": 11815, "loc": { "start": { "line": 542, @@ -35936,14 +36205,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 11760 + "parenStart": 11805 } }, "operator": "-", "right": { "type": "NumericLiteral", - "start": 11772, - "end": 11773, + "start": 11817, + "end": 11818, "loc": { "start": { "line": 542, @@ -35962,14 +36231,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 11759 + "parenStart": 11804 } } }, { "type": "Identifier", - "start": 11776, - "end": 11777, + "start": 11821, + "end": 11822, "loc": { "start": { "line": 542, @@ -35987,8 +36256,8 @@ }, "alternate": { "type": "NewExpression", - "start": 11781, - "end": 11803, + "start": 11826, + "end": 11848, "loc": { "start": { "line": 542, @@ -36001,8 +36270,8 @@ }, "callee": { "type": "Identifier", - "start": 11785, - "end": 11792, + "start": 11830, + "end": 11837, "loc": { "start": { "line": 542, @@ -36019,8 +36288,8 @@ "arguments": [ { "type": "Identifier", - "start": 11793, - "end": 11794, + "start": 11838, + "end": 11839, "loc": { "start": { "line": 542, @@ -36036,8 +36305,8 @@ }, { "type": "NumericLiteral", - "start": 11796, - "end": 11797, + "start": 11841, + "end": 11842, "loc": { "start": { "line": 542, @@ -36056,8 +36325,8 @@ }, { "type": "ArrayExpression", - "start": 11799, - "end": 11802, + "start": 11844, + "end": 11847, "loc": { "start": { "line": 542, @@ -36071,8 +36340,8 @@ "elements": [ { "type": "NumericLiteral", - "start": 11800, - "end": 11801, + "start": 11845, + "end": 11846, "loc": { "start": { "line": 542, @@ -36104,8 +36373,8 @@ }, { "type": "ClassMethod", - "start": 11817, - "end": 12350, + "start": 11862, + "end": 12395, "loc": { "start": { "line": 546, @@ -36120,8 +36389,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 11817, - "end": 11824, + "start": 11862, + "end": 11869, "loc": { "start": { "line": 546, @@ -36143,8 +36412,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 11829, - "end": 12350, + "start": 11874, + "end": 12395, "loc": { "start": { "line": 546, @@ -36158,8 +36427,8 @@ "body": [ { "type": "IfStatement", - "start": 11834, - "end": 11966, + "start": 11879, + "end": 12011, "loc": { "start": { "line": 548, @@ -36172,8 +36441,8 @@ }, "test": { "type": "CallExpression", - "start": 11838, - "end": 11858, + "start": 11883, + "end": 11903, "loc": { "start": { "line": 548, @@ -36186,8 +36455,8 @@ }, "callee": { "type": "MemberExpression", - "start": 11838, - "end": 11846, + "start": 11883, + "end": 11891, "loc": { "start": { "line": 548, @@ -36200,8 +36469,8 @@ }, "object": { "type": "ThisExpression", - "start": 11838, - "end": 11842, + "start": 11883, + "end": 11887, "loc": { "start": { "line": 548, @@ -36215,8 +36484,8 @@ }, "property": { "type": "Identifier", - "start": 11843, - "end": 11846, + "start": 11888, + "end": 11891, "loc": { "start": { "line": 548, @@ -36235,8 +36504,8 @@ "arguments": [ { "type": "Identifier", - "start": 11847, - "end": 11857, + "start": 11892, + "end": 11902, "loc": { "start": { "line": 548, @@ -36254,8 +36523,8 @@ }, "consequent": { "type": "ThrowStatement", - "start": 11860, - "end": 11966, + "start": 11905, + "end": 12011, "loc": { "start": { "line": 548, @@ -36268,8 +36537,8 @@ }, "argument": { "type": "NewExpression", - "start": 11866, - "end": 11964, + "start": 11911, + "end": 12009, "loc": { "start": { "line": 548, @@ -36282,8 +36551,8 @@ }, "callee": { "type": "Identifier", - "start": 11870, - "end": 11880, + "start": 11915, + "end": 11925, "loc": { "start": { "line": 548, @@ -36300,8 +36569,8 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 11881, - "end": 11963, + "start": 11926, + "end": 12008, "loc": { "start": { "line": 548, @@ -36315,8 +36584,8 @@ "expressions": [ { "type": "Identifier", - "start": 11927, - "end": 11937, + "start": 11972, + "end": 11982, "loc": { "start": { "line": 548, @@ -36332,8 +36601,8 @@ }, { "type": "CallExpression", - "start": 11946, - "end": 11961, + "start": 11991, + "end": 12006, "loc": { "start": { "line": 548, @@ -36346,8 +36615,8 @@ }, "callee": { "type": "MemberExpression", - "start": 11946, - "end": 11959, + "start": 11991, + "end": 12004, "loc": { "start": { "line": 548, @@ -36360,8 +36629,8 @@ }, "object": { "type": "ThisExpression", - "start": 11946, - "end": 11950, + "start": 11991, + "end": 11995, "loc": { "start": { "line": 548, @@ -36375,8 +36644,8 @@ }, "property": { "type": "Identifier", - "start": 11951, - "end": 11959, + "start": 11996, + "end": 12004, "loc": { "start": { "line": 548, @@ -36398,8 +36667,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 11882, - "end": 11925, + "start": 11927, + "end": 11970, "loc": { "start": { "line": 548, @@ -36418,8 +36687,8 @@ }, { "type": "TemplateElement", - "start": 11938, - "end": 11944, + "start": 11983, + "end": 11989, "loc": { "start": { "line": 548, @@ -36438,8 +36707,8 @@ }, { "type": "TemplateElement", - "start": 11962, - "end": 11962, + "start": 12007, + "end": 12007, "loc": { "start": { "line": 548, @@ -36465,8 +36734,8 @@ }, { "type": "IfStatement", - "start": 11969, - "end": 12102, + "start": 12014, + "end": 12147, "loc": { "start": { "line": 549, @@ -36479,8 +36748,8 @@ }, "test": { "type": "CallExpression", - "start": 11973, - "end": 11993, + "start": 12018, + "end": 12038, "loc": { "start": { "line": 549, @@ -36493,8 +36762,8 @@ }, "callee": { "type": "MemberExpression", - "start": 11973, - "end": 11981, + "start": 12018, + "end": 12026, "loc": { "start": { "line": 549, @@ -36507,8 +36776,8 @@ }, "object": { "type": "ThisExpression", - "start": 11973, - "end": 11977, + "start": 12018, + "end": 12022, "loc": { "start": { "line": 549, @@ -36522,8 +36791,8 @@ }, "property": { "type": "Identifier", - "start": 11978, - "end": 11981, + "start": 12023, + "end": 12026, "loc": { "start": { "line": 549, @@ -36542,8 +36811,8 @@ "arguments": [ { "type": "Identifier", - "start": 11982, - "end": 11992, + "start": 12027, + "end": 12037, "loc": { "start": { "line": 549, @@ -36561,8 +36830,8 @@ }, "consequent": { "type": "ThrowStatement", - "start": 11995, - "end": 12102, + "start": 12040, + "end": 12147, "loc": { "start": { "line": 549, @@ -36575,8 +36844,8 @@ }, "argument": { "type": "NewExpression", - "start": 12001, - "end": 12100, + "start": 12046, + "end": 12145, "loc": { "start": { "line": 549, @@ -36589,8 +36858,8 @@ }, "callee": { "type": "Identifier", - "start": 12005, - "end": 12015, + "start": 12050, + "end": 12060, "loc": { "start": { "line": 549, @@ -36607,8 +36876,8 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 12016, - "end": 12099, + "start": 12061, + "end": 12144, "loc": { "start": { "line": 549, @@ -36622,8 +36891,8 @@ "expressions": [ { "type": "Identifier", - "start": 12063, - "end": 12073, + "start": 12108, + "end": 12118, "loc": { "start": { "line": 549, @@ -36639,8 +36908,8 @@ }, { "type": "CallExpression", - "start": 12082, - "end": 12097, + "start": 12127, + "end": 12142, "loc": { "start": { "line": 549, @@ -36653,8 +36922,8 @@ }, "callee": { "type": "MemberExpression", - "start": 12082, - "end": 12095, + "start": 12127, + "end": 12140, "loc": { "start": { "line": 549, @@ -36667,8 +36936,8 @@ }, "object": { "type": "ThisExpression", - "start": 12082, - "end": 12086, + "start": 12127, + "end": 12131, "loc": { "start": { "line": 549, @@ -36682,8 +36951,8 @@ }, "property": { "type": "Identifier", - "start": 12087, - "end": 12095, + "start": 12132, + "end": 12140, "loc": { "start": { "line": 549, @@ -36705,8 +36974,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 12017, - "end": 12061, + "start": 12062, + "end": 12106, "loc": { "start": { "line": 549, @@ -36725,8 +36994,8 @@ }, { "type": "TemplateElement", - "start": 12074, - "end": 12080, + "start": 12119, + "end": 12125, "loc": { "start": { "line": 549, @@ -36745,8 +37014,8 @@ }, { "type": "TemplateElement", - "start": 12098, - "end": 12098, + "start": 12143, + "end": 12143, "loc": { "start": { "line": 549, @@ -36772,8 +37041,8 @@ }, { "type": "VariableDeclaration", - "start": 12106, - "end": 12190, + "start": 12151, + "end": 12235, "loc": { "start": { "line": 551, @@ -36787,8 +37056,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 12112, - "end": 12188, + "start": 12157, + "end": 12233, "loc": { "start": { "line": 551, @@ -36801,8 +37070,8 @@ }, "id": { "type": "Identifier", - "start": 12112, - "end": 12117, + "start": 12157, + "end": 12162, "loc": { "start": { "line": 551, @@ -36818,8 +37087,8 @@ }, "init": { "type": "CallExpression", - "start": 12120, - "end": 12188, + "start": 12165, + "end": 12233, "loc": { "start": { "line": 551, @@ -36832,8 +37101,8 @@ }, "callee": { "type": "Identifier", - "start": 12120, - "end": 12127, + "start": 12165, + "end": 12172, "loc": { "start": { "line": 551, @@ -36850,8 +37119,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 12129, - "end": 12138, + "start": 12174, + "end": 12183, "loc": { "start": { "line": 551, @@ -36864,8 +37133,8 @@ }, "object": { "type": "ThisExpression", - "start": 12129, - "end": 12133, + "start": 12174, + "end": 12178, "loc": { "start": { "line": 551, @@ -36879,8 +37148,8 @@ }, "property": { "type": "Identifier", - "start": 12134, - "end": 12138, + "start": 12179, + "end": 12183, "loc": { "start": { "line": 551, @@ -36898,8 +37167,8 @@ }, { "type": "Identifier", - "start": 12141, - "end": 12149, + "start": 12186, + "end": 12194, "loc": { "start": { "line": 551, @@ -36915,8 +37184,8 @@ }, { "type": "MemberExpression", - "start": 12152, - "end": 12162, + "start": 12197, + "end": 12207, "loc": { "start": { "line": 551, @@ -36929,8 +37198,8 @@ }, "object": { "type": "ThisExpression", - "start": 12152, - "end": 12156, + "start": 12197, + "end": 12201, "loc": { "start": { "line": 551, @@ -36944,8 +37213,8 @@ }, "property": { "type": "Identifier", - "start": 12157, - "end": 12162, + "start": 12202, + "end": 12207, "loc": { "start": { "line": 551, @@ -36963,8 +37232,8 @@ }, { "type": "NumericLiteral", - "start": 12165, - "end": 12166, + "start": 12210, + "end": 12211, "loc": { "start": { "line": 551, @@ -36983,8 +37252,8 @@ }, { "type": "MemberExpression", - "start": 12169, - "end": 12186, + "start": 12214, + "end": 12231, "loc": { "start": { "line": 551, @@ -36997,8 +37266,8 @@ }, "object": { "type": "MemberExpression", - "start": 12169, - "end": 12179, + "start": 12214, + "end": 12224, "loc": { "start": { "line": 551, @@ -37011,8 +37280,8 @@ }, "object": { "type": "ThisExpression", - "start": 12169, - "end": 12173, + "start": 12214, + "end": 12218, "loc": { "start": { "line": 551, @@ -37026,8 +37295,8 @@ }, "property": { "type": "Identifier", - "start": 12174, - "end": 12179, + "start": 12219, + "end": 12224, "loc": { "start": { "line": 551, @@ -37045,8 +37314,8 @@ }, "property": { "type": "Identifier", - "start": 12180, - "end": 12186, + "start": 12225, + "end": 12231, "loc": { "start": { "line": 551, @@ -37070,8 +37339,8 @@ }, { "type": "VariableDeclaration", - "start": 12194, - "end": 12234, + "start": 12239, + "end": 12279, "loc": { "start": { "line": 553, @@ -37085,8 +37354,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 12200, - "end": 12232, + "start": 12245, + "end": 12277, "loc": { "start": { "line": 553, @@ -37099,8 +37368,8 @@ }, "id": { "type": "Identifier", - "start": 12200, - "end": 12204, + "start": 12245, + "end": 12249, "loc": { "start": { "line": 553, @@ -37116,8 +37385,8 @@ }, "init": { "type": "ConditionalExpression", - "start": 12207, - "end": 12232, + "start": 12252, + "end": 12277, "loc": { "start": { "line": 553, @@ -37130,8 +37399,8 @@ }, "test": { "type": "MemberExpression", - "start": 12207, - "end": 12223, + "start": 12252, + "end": 12268, "loc": { "start": { "line": 553, @@ -37144,8 +37413,8 @@ }, "object": { "type": "ThisExpression", - "start": 12207, - "end": 12211, + "start": 12252, + "end": 12256, "loc": { "start": { "line": 553, @@ -37159,8 +37428,8 @@ }, "property": { "type": "Identifier", - "start": 12212, - "end": 12223, + "start": 12257, + "end": 12268, "loc": { "start": { "line": 553, @@ -37178,8 +37447,8 @@ }, "consequent": { "type": "UnaryExpression", - "start": 12226, - "end": 12228, + "start": 12271, + "end": 12273, "loc": { "start": { "line": 553, @@ -37194,8 +37463,8 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 12227, - "end": 12228, + "start": 12272, + "end": 12273, "loc": { "start": { "line": 553, @@ -37218,8 +37487,8 @@ }, "alternate": { "type": "NumericLiteral", - "start": 12231, - "end": 12232, + "start": 12276, + "end": 12277, "loc": { "start": { "line": 553, @@ -37243,8 +37512,8 @@ }, { "type": "VariableDeclaration", - "start": 12238, - "end": 12322, + "start": 12283, + "end": 12367, "loc": { "start": { "line": 555, @@ -37258,8 +37527,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 12244, - "end": 12320, + "start": 12289, + "end": 12365, "loc": { "start": { "line": 555, @@ -37272,8 +37541,8 @@ }, "id": { "type": "Identifier", - "start": 12244, - "end": 12249, + "start": 12289, + "end": 12294, "loc": { "start": { "line": 555, @@ -37289,8 +37558,8 @@ }, "init": { "type": "ConditionalExpression", - "start": 12252, - "end": 12320, + "start": 12297, + "end": 12365, "loc": { "start": { "line": 555, @@ -37303,8 +37572,8 @@ }, "test": { "type": "BinaryExpression", - "start": 12252, - "end": 12270, + "start": 12297, + "end": 12315, "loc": { "start": { "line": 555, @@ -37317,8 +37586,8 @@ }, "left": { "type": "MemberExpression", - "start": 12252, - "end": 12264, + "start": 12297, + "end": 12309, "loc": { "start": { "line": 555, @@ -37331,8 +37600,8 @@ }, "object": { "type": "Identifier", - "start": 12252, - "end": 12257, + "start": 12297, + "end": 12302, "loc": { "start": { "line": 555, @@ -37348,8 +37617,8 @@ }, "property": { "type": "Identifier", - "start": 12258, - "end": 12264, + "start": 12303, + "end": 12309, "loc": { "start": { "line": 555, @@ -37368,8 +37637,8 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 12269, - "end": 12270, + "start": 12314, + "end": 12315, "loc": { "start": { "line": 555, @@ -37389,8 +37658,8 @@ }, "consequent": { "type": "BinaryExpression", - "start": 12276, - "end": 12306, + "start": 12321, + "end": 12351, "loc": { "start": { "line": 556, @@ -37403,8 +37672,8 @@ }, "left": { "type": "BinaryExpression", - "start": 12276, - "end": 12295, + "start": 12321, + "end": 12340, "loc": { "start": { "line": 556, @@ -37417,8 +37686,8 @@ }, "left": { "type": "MemberExpression", - "start": 12276, - "end": 12284, + "start": 12321, + "end": 12329, "loc": { "start": { "line": 556, @@ -37431,8 +37700,8 @@ }, "object": { "type": "Identifier", - "start": 12276, - "end": 12281, + "start": 12321, + "end": 12326, "loc": { "start": { "line": 556, @@ -37448,8 +37717,8 @@ }, "property": { "type": "NumericLiteral", - "start": 12282, - "end": 12283, + "start": 12327, + "end": 12328, "loc": { "start": { "line": 556, @@ -37471,8 +37740,8 @@ "operator": "*", "right": { "type": "Identifier", - "start": 12287, - "end": 12295, + "start": 12332, + "end": 12340, "loc": { "start": { "line": 556, @@ -37490,8 +37759,8 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 12298, - "end": 12306, + "start": 12343, + "end": 12351, "loc": { "start": { "line": 556, @@ -37504,8 +37773,8 @@ }, "object": { "type": "Identifier", - "start": 12298, - "end": 12303, + "start": 12343, + "end": 12348, "loc": { "start": { "line": 556, @@ -37521,8 +37790,8 @@ }, "property": { "type": "NumericLiteral", - "start": 12304, - "end": 12305, + "start": 12349, + "end": 12350, "loc": { "start": { "line": 556, @@ -37544,8 +37813,8 @@ }, "alternate": { "type": "MemberExpression", - "start": 12312, - "end": 12320, + "start": 12357, + "end": 12365, "loc": { "start": { "line": 557, @@ -37558,8 +37827,8 @@ }, "object": { "type": "Identifier", - "start": 12312, - "end": 12317, + "start": 12357, + "end": 12362, "loc": { "start": { "line": 557, @@ -37575,8 +37844,8 @@ }, "property": { "type": "NumericLiteral", - "start": 12318, - "end": 12319, + "start": 12363, + "end": 12364, "loc": { "start": { "line": 557, @@ -37602,8 +37871,8 @@ }, { "type": "ReturnStatement", - "start": 12326, - "end": 12347, + "start": 12371, + "end": 12392, "loc": { "start": { "line": 559, @@ -37616,8 +37885,8 @@ }, "argument": { "type": "BinaryExpression", - "start": 12333, - "end": 12345, + "start": 12378, + "end": 12390, "loc": { "start": { "line": 559, @@ -37630,8 +37899,8 @@ }, "left": { "type": "Identifier", - "start": 12333, - "end": 12337, + "start": 12378, + "end": 12382, "loc": { "start": { "line": 559, @@ -37648,8 +37917,8 @@ "operator": "*", "right": { "type": "Identifier", - "start": 12340, - "end": 12345, + "start": 12385, + "end": 12390, "loc": { "start": { "line": 559, @@ -37671,8 +37940,8 @@ }, { "type": "ClassMethod", - "start": 12353, - "end": 12397, + "start": 12398, + "end": 12442, "loc": { "start": { "line": 562, @@ -37687,8 +37956,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 12353, - "end": 12361, + "start": 12398, + "end": 12406, "loc": { "start": { "line": 562, @@ -37710,8 +37979,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 12366, - "end": 12397, + "start": 12411, + "end": 12442, "loc": { "start": { "line": 562, @@ -37725,8 +37994,8 @@ "body": [ { "type": "ReturnStatement", - "start": 12370, - "end": 12394, + "start": 12415, + "end": 12439, "loc": { "start": { "line": 563, @@ -37739,8 +38008,8 @@ }, "argument": { "type": "CallExpression", - "start": 12377, - "end": 12392, + "start": 12422, + "end": 12437, "loc": { "start": { "line": 563, @@ -37753,8 +38022,8 @@ }, "callee": { "type": "MemberExpression", - "start": 12377, - "end": 12389, + "start": 12422, + "end": 12434, "loc": { "start": { "line": 563, @@ -37767,8 +38036,8 @@ }, "object": { "type": "ThisExpression", - "start": 12377, - "end": 12381, + "start": 12422, + "end": 12426, "loc": { "start": { "line": 563, @@ -37782,8 +38051,8 @@ }, "property": { "type": "Identifier", - "start": 12382, - "end": 12389, + "start": 12427, + "end": 12434, "loc": { "start": { "line": 563, @@ -37979,8 +38248,8 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 4766, - "end": 4815, + "start": 4767, + "end": 4816, "loc": { "start": { "line": 225, @@ -37995,8 +38264,8 @@ { "type": "CommentLine", "value": " TODO use this.mul(this) instead?", - "start": 4818, - "end": 4853, + "start": 4819, + "end": 4854, "loc": { "start": { "line": 226, @@ -38011,8 +38280,8 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 4897, - "end": 4946, + "start": 4899, + "end": 4948, "loc": { "start": { "line": 231, @@ -38027,8 +38296,8 @@ { "type": "CommentLine", "value": " TODO use this.imul(this) instead?", - "start": 4949, - "end": 4985, + "start": 4951, + "end": 4987, "loc": { "start": { "line": 232, @@ -38043,8 +38312,8 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 5154, - "end": 5203, + "start": 5168, + "end": 5217, "loc": { "start": { "line": 245, @@ -38059,8 +38328,8 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 5449, - "end": 5498, + "start": 5463, + "end": 5512, "loc": { "start": { "line": 262, @@ -38075,8 +38344,8 @@ { "type": "CommentLine", "value": " optimize", - "start": 5872, - "end": 5883, + "start": 5913, + "end": 5924, "loc": { "start": { "line": 278, @@ -38091,8 +38360,8 @@ { "type": "CommentLine", "value": " The underlying algorithm does not allow leading 0's so we trim them.", - "start": 5982, - "end": 6053, + "start": 6023, + "end": 6094, "loc": { "start": { "line": 283, @@ -38107,8 +38376,8 @@ { "type": "CommentLine", "value": " Dividend is 0", - "start": 6144, - "end": 6160, + "start": 6185, + "end": 6201, "loc": { "start": { "line": 287, @@ -38123,8 +38392,8 @@ { "type": "CommentLine", "value": " Dividend (& Remainder)", - "start": 6271, - "end": 6296, + "start": 6312, + "end": 6337, "loc": { "start": { "line": 290, @@ -38139,8 +38408,8 @@ { "type": "CommentLine", "value": " Divisor", - "start": 6374, - "end": 6384, + "start": 6415, + "end": 6425, "loc": { "start": { "line": 294, @@ -38155,8 +38424,8 @@ { "type": "CommentLine", "value": " di < dj because d != 0", - "start": 6493, - "end": 6518, + "start": 6534, + "end": 6559, "loc": { "start": { "line": 297, @@ -38171,8 +38440,8 @@ { "type": "CommentLine", "value": " Quotient", - "start": 6522, - "end": 6533, + "start": 6563, + "end": 6574, "loc": { "start": { "line": 299, @@ -38187,8 +38456,8 @@ { "type": "CommentLine", "value": " quotient", - "start": 6697, - "end": 6708, + "start": 6738, + "end": 6749, "loc": { "start": { "line": 304, @@ -38203,8 +38472,8 @@ { "type": "CommentLine", "value": " remainder", - "start": 6767, - "end": 6779, + "start": 6808, + "end": 6820, "loc": { "start": { "line": 305, @@ -38219,8 +38488,8 @@ { "type": "CommentLine", "value": " TODO optimize", - "start": 6987, - "end": 7003, + "start": 7028, + "end": 7044, "loc": { "start": { "line": 313, @@ -38235,8 +38504,8 @@ { "type": "CommentLine", "value": " TODO optimize", - "start": 7039, - "end": 7055, + "start": 7080, + "end": 7096, "loc": { "start": { "line": 317, @@ -38251,8 +38520,8 @@ { "type": "CommentLine", "value": " TODO optimize", - "start": 7150, - "end": 7166, + "start": 7191, + "end": 7207, "loc": { "start": { "line": 324, @@ -38267,8 +38536,8 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 7227, - "end": 7276, + "start": 7268, + "end": 7317, "loc": { "start": { "line": 334, @@ -38283,8 +38552,8 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 7459, - "end": 7508, + "start": 7500, + "end": 7549, "loc": { "start": { "line": 344, @@ -38299,8 +38568,8 @@ { "type": "CommentLine", "value": " TODO optimize this, there is a much faster way to test for parity", - "start": 8228, - "end": 8296, + "start": 8273, + "end": 8341, "loc": { "start": { "line": 390, @@ -38315,8 +38584,8 @@ { "type": "CommentLine", "value": " when the base is a multiple of two", - "start": 8299, - "end": 8336, + "start": 8344, + "end": 8381, "loc": { "start": { "line": 391, @@ -38331,8 +38600,8 @@ { "type": "CommentLine", "value": " TODO Once #to is implemented we can rewrite this as", - "start": 8681, - "end": 8735, + "start": 8726, + "end": 8780, "loc": { "start": { "line": 420, @@ -38347,8 +38616,8 @@ { "type": "CommentLine", "value": " return this.to(LITTLE_ENDIAN, base, Array) ;", - "start": 8738, - "end": 8785, + "start": 8783, + "end": 8830, "loc": { "start": { "line": 421, @@ -38363,8 +38632,8 @@ { "type": "CommentLine", "value": " TODO optimize", - "start": 9028, - "end": 9044, + "start": 9073, + "end": 9089, "loc": { "start": { "line": 434, @@ -38379,8 +38648,8 @@ { "type": "CommentLine", "value": " TODO optimize with _trim_positive", - "start": 9098, - "end": 9134, + "start": 9143, + "end": 9179, "loc": { "start": { "line": 440, @@ -38395,8 +38664,8 @@ { "type": "CommentLine", "value": " TODO use immutable zero", - "start": 11354, - "end": 11380, + "start": 11399, + "end": 11425, "loc": { "start": { "line": 537, @@ -66223,9 +66492,9 @@ "postfix": false, "binop": null }, - "value": "other", + "value": "number", "start": 4727, - "end": 4732, + "end": 4733, "loc": { "start": { "line": 221, @@ -66233,7 +66502,7 @@ }, "end": { "line": 221, - "column": 24 + "column": 25 } } }, @@ -66249,16 +66518,16 @@ "postfix": false, "binop": null }, - "start": 4732, - "end": 4733, + "start": 4733, + "end": 4734, "loc": { "start": { "line": 221, - "column": 24 + "column": 25 }, "end": { "line": 221, - "column": 25 + "column": 26 } } }, @@ -66275,16 +66544,16 @@ "binop": null, "updateContext": null }, - "start": 4733, - "end": 4734, + "start": 4734, + "end": 4735, "loc": { "start": { "line": 221, - "column": 25 + "column": 26 }, "end": { "line": 221, - "column": 26 + "column": 27 } } }, @@ -66301,16 +66570,16 @@ "binop": null }, "value": "move", - "start": 4734, - "end": 4738, + "start": 4735, + "end": 4739, "loc": { "start": { "line": 221, - "column": 26 + "column": 27 }, "end": { "line": 221, - "column": 30 + "column": 31 } } }, @@ -66326,16 +66595,16 @@ "postfix": false, "binop": null }, - "start": 4738, - "end": 4739, + "start": 4739, + "end": 4740, "loc": { "start": { "line": 221, - "column": 30 + "column": 31 }, "end": { "line": 221, - "column": 31 + "column": 32 } } }, @@ -66354,16 +66623,16 @@ "updateContext": null }, "value": "this", - "start": 4739, - "end": 4743, + "start": 4740, + "end": 4744, "loc": { "start": { "line": 221, - "column": 31 + "column": 32 }, "end": { "line": 221, - "column": 35 + "column": 36 } } }, @@ -66379,16 +66648,16 @@ "postfix": false, "binop": null }, - "start": 4743, - "end": 4744, + "start": 4744, + "end": 4745, "loc": { "start": { "line": 221, - "column": 35 + "column": 36 }, "end": { "line": 221, - "column": 36 + "column": 37 } } }, @@ -66405,16 +66674,16 @@ "binop": null, "updateContext": null }, - "start": 4744, - "end": 4745, + "start": 4745, + "end": 4746, "loc": { "start": { "line": 221, - "column": 36 + "column": 37 }, "end": { "line": 221, - "column": 37 + "column": 38 } } }, @@ -66430,8 +66699,8 @@ "postfix": false, "binop": null }, - "start": 4747, - "end": 4748, + "start": 4748, + "end": 4749, "loc": { "start": { "line": 222, @@ -66456,8 +66725,8 @@ "binop": null }, "value": "square", - "start": 4751, - "end": 4757, + "start": 4752, + "end": 4758, "loc": { "start": { "line": 224, @@ -66481,8 +66750,8 @@ "postfix": false, "binop": null }, - "start": 4758, - "end": 4759, + "start": 4759, + "end": 4760, "loc": { "start": { "line": 224, @@ -66506,8 +66775,8 @@ "postfix": false, "binop": null }, - "start": 4760, - "end": 4761, + "start": 4761, + "end": 4762, "loc": { "start": { "line": 224, @@ -66531,8 +66800,8 @@ "postfix": false, "binop": null }, - "start": 4762, - "end": 4763, + "start": 4763, + "end": 4764, "loc": { "start": { "line": 224, @@ -66547,8 +66816,8 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 4766, - "end": 4815, + "start": 4767, + "end": 4816, "loc": { "start": { "line": 225, @@ -66563,8 +66832,8 @@ { "type": "CommentLine", "value": " TODO use this.mul(this) instead?", - "start": 4818, - "end": 4853, + "start": 4819, + "end": 4854, "loc": { "start": { "line": 226, @@ -66591,8 +66860,8 @@ "updateContext": null }, "value": "return", - "start": 4856, - "end": 4862, + "start": 4857, + "end": 4863, "loc": { "start": { "line": 227, @@ -66619,8 +66888,8 @@ "updateContext": null }, "value": "this", - "start": 4863, - "end": 4867, + "start": 4864, + "end": 4868, "loc": { "start": { "line": 227, @@ -66645,8 +66914,8 @@ "binop": null, "updateContext": null }, - "start": 4867, - "end": 4868, + "start": 4868, + "end": 4869, "loc": { "start": { "line": 227, @@ -66670,9 +66939,9 @@ "postfix": false, "binop": null }, - "value": "pow", - "start": 4868, - "end": 4871, + "value": "pown", + "start": 4869, + "end": 4873, "loc": { "start": { "line": 227, @@ -66680,7 +66949,7 @@ }, "end": { "line": 227, - "column": 17 + "column": 18 } } }, @@ -66696,16 +66965,16 @@ "postfix": false, "binop": null }, - "start": 4871, - "end": 4872, + "start": 4873, + "end": 4874, "loc": { "start": { "line": 227, - "column": 17 + "column": 18 }, "end": { "line": 227, - "column": 18 + "column": 19 } } }, @@ -66723,16 +66992,16 @@ "updateContext": null }, "value": 2, - "start": 4872, - "end": 4873, + "start": 4874, + "end": 4875, "loc": { "start": { "line": 227, - "column": 18 + "column": 19 }, "end": { "line": 227, - "column": 19 + "column": 20 } } }, @@ -66748,16 +67017,16 @@ "postfix": false, "binop": null }, - "start": 4873, - "end": 4874, + "start": 4875, + "end": 4876, "loc": { "start": { "line": 227, - "column": 19 + "column": 20 }, "end": { "line": 227, - "column": 20 + "column": 21 } } }, @@ -66774,16 +67043,16 @@ "binop": null, "updateContext": null }, - "start": 4874, - "end": 4875, + "start": 4876, + "end": 4877, "loc": { "start": { "line": 227, - "column": 20 + "column": 21 }, "end": { "line": 227, - "column": 21 + "column": 22 } } }, @@ -66799,8 +67068,8 @@ "postfix": false, "binop": null }, - "start": 4877, - "end": 4878, + "start": 4879, + "end": 4880, "loc": { "start": { "line": 228, @@ -66825,8 +67094,8 @@ "binop": null }, "value": "isquare", - "start": 4881, - "end": 4888, + "start": 4883, + "end": 4890, "loc": { "start": { "line": 230, @@ -66850,8 +67119,8 @@ "postfix": false, "binop": null }, - "start": 4889, - "end": 4890, + "start": 4891, + "end": 4892, "loc": { "start": { "line": 230, @@ -66875,8 +67144,8 @@ "postfix": false, "binop": null }, - "start": 4891, - "end": 4892, + "start": 4893, + "end": 4894, "loc": { "start": { "line": 230, @@ -66900,8 +67169,8 @@ "postfix": false, "binop": null }, - "start": 4893, - "end": 4894, + "start": 4895, + "end": 4896, "loc": { "start": { "line": 230, @@ -66916,8 +67185,8 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 4897, - "end": 4946, + "start": 4899, + "end": 4948, "loc": { "start": { "line": 231, @@ -66932,8 +67201,8 @@ { "type": "CommentLine", "value": " TODO use this.imul(this) instead?", - "start": 4949, - "end": 4985, + "start": 4951, + "end": 4987, "loc": { "start": { "line": 232, @@ -66960,8 +67229,8 @@ "updateContext": null }, "value": "return", - "start": 4988, - "end": 4994, + "start": 4990, + "end": 4996, "loc": { "start": { "line": 233, @@ -66988,8 +67257,8 @@ "updateContext": null }, "value": "this", - "start": 4995, - "end": 4999, + "start": 4997, + "end": 5001, "loc": { "start": { "line": 233, @@ -67014,8 +67283,8 @@ "binop": null, "updateContext": null }, - "start": 4999, - "end": 5000, + "start": 5001, + "end": 5002, "loc": { "start": { "line": 233, @@ -67039,9 +67308,9 @@ "postfix": false, "binop": null }, - "value": "ipow", - "start": 5000, - "end": 5004, + "value": "square", + "start": 5002, + "end": 5008, "loc": { "start": { "line": 233, @@ -67049,7 +67318,7 @@ }, "end": { "line": 233, - "column": 18 + "column": 20 } } }, @@ -67065,22 +67334,125 @@ "postfix": false, "binop": null }, - "start": 5004, - "end": 5005, + "start": 5008, + "end": 5009, "loc": { "start": { "line": 233, - "column": 18 + "column": 20 }, "end": { "line": 233, - "column": 19 + "column": 21 } } }, { "type": { - "label": "num", + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5009, + "end": 5010, + "loc": { + "start": { + "line": 233, + "column": 21 + }, + "end": { + "line": 233, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5010, + "end": 5011, + "loc": { + "start": { + "line": 233, + "column": 22 + }, + "end": { + "line": 233, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "move", + "start": 5011, + "end": 5015, + "loc": { + "start": { + "line": 233, + "column": 23 + }, + "end": { + "line": 233, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5015, + "end": 5016, + "loc": { + "start": { + "line": 233, + "column": 27 + }, + "end": { + "line": 233, + "column": 28 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -67091,17 +67463,17 @@ "binop": null, "updateContext": null }, - "value": 2, - "start": 5005, - "end": 5006, + "value": "this", + "start": 5016, + "end": 5020, "loc": { "start": { "line": 233, - "column": 19 + "column": 28 }, "end": { "line": 233, - "column": 20 + "column": 32 } } }, @@ -67117,16 +67489,16 @@ "postfix": false, "binop": null }, - "start": 5006, - "end": 5007, + "start": 5020, + "end": 5021, "loc": { "start": { "line": 233, - "column": 20 + "column": 32 }, "end": { "line": 233, - "column": 21 + "column": 33 } } }, @@ -67143,16 +67515,16 @@ "binop": null, "updateContext": null }, - "start": 5007, - "end": 5008, + "start": 5021, + "end": 5022, "loc": { "start": { "line": 233, - "column": 21 + "column": 33 }, "end": { "line": 233, - "column": 22 + "column": 34 } } }, @@ -67168,8 +67540,8 @@ "postfix": false, "binop": null }, - "start": 5010, - "end": 5011, + "start": 5024, + "end": 5025, "loc": { "start": { "line": 234, @@ -67194,8 +67566,8 @@ "binop": null }, "value": "div", - "start": 5014, - "end": 5017, + "start": 5028, + "end": 5031, "loc": { "start": { "line": 236, @@ -67219,8 +67591,8 @@ "postfix": false, "binop": null }, - "start": 5018, - "end": 5019, + "start": 5032, + "end": 5033, "loc": { "start": { "line": 236, @@ -67245,8 +67617,8 @@ "binop": null }, "value": "other", - "start": 5020, - "end": 5025, + "start": 5034, + "end": 5039, "loc": { "start": { "line": 236, @@ -67270,8 +67642,8 @@ "postfix": false, "binop": null }, - "start": 5026, - "end": 5027, + "start": 5040, + "end": 5041, "loc": { "start": { "line": 236, @@ -67295,8 +67667,8 @@ "postfix": false, "binop": null }, - "start": 5028, - "end": 5029, + "start": 5042, + "end": 5043, "loc": { "start": { "line": 236, @@ -67323,8 +67695,8 @@ "updateContext": null }, "value": "return", - "start": 5032, - "end": 5038, + "start": 5046, + "end": 5052, "loc": { "start": { "line": 237, @@ -67351,8 +67723,8 @@ "updateContext": null }, "value": "this", - "start": 5039, - "end": 5043, + "start": 5053, + "end": 5057, "loc": { "start": { "line": 237, @@ -67377,8 +67749,8 @@ "binop": null, "updateContext": null }, - "start": 5043, - "end": 5044, + "start": 5057, + "end": 5058, "loc": { "start": { "line": 237, @@ -67403,8 +67775,8 @@ "binop": null }, "value": "divmod", - "start": 5044, - "end": 5050, + "start": 5058, + "end": 5064, "loc": { "start": { "line": 237, @@ -67428,8 +67800,8 @@ "postfix": false, "binop": null }, - "start": 5050, - "end": 5051, + "start": 5064, + "end": 5065, "loc": { "start": { "line": 237, @@ -67454,8 +67826,8 @@ "binop": null }, "value": "other", - "start": 5052, - "end": 5057, + "start": 5066, + "end": 5071, "loc": { "start": { "line": 237, @@ -67479,8 +67851,8 @@ "postfix": false, "binop": null }, - "start": 5058, - "end": 5059, + "start": 5072, + "end": 5073, "loc": { "start": { "line": 237, @@ -67505,8 +67877,8 @@ "binop": null, "updateContext": null }, - "start": 5059, - "end": 5060, + "start": 5073, + "end": 5074, "loc": { "start": { "line": 237, @@ -67532,8 +67904,8 @@ "updateContext": null }, "value": 0, - "start": 5060, - "end": 5061, + "start": 5074, + "end": 5075, "loc": { "start": { "line": 237, @@ -67558,8 +67930,8 @@ "binop": null, "updateContext": null }, - "start": 5061, - "end": 5062, + "start": 5075, + "end": 5076, "loc": { "start": { "line": 237, @@ -67584,8 +67956,8 @@ "binop": null, "updateContext": null }, - "start": 5063, - "end": 5064, + "start": 5077, + "end": 5078, "loc": { "start": { "line": 237, @@ -67609,8 +67981,8 @@ "postfix": false, "binop": null }, - "start": 5066, - "end": 5067, + "start": 5080, + "end": 5081, "loc": { "start": { "line": 238, @@ -67635,8 +68007,8 @@ "binop": null }, "value": "divn", - "start": 5070, - "end": 5074, + "start": 5084, + "end": 5088, "loc": { "start": { "line": 240, @@ -67660,8 +68032,8 @@ "postfix": false, "binop": null }, - "start": 5075, - "end": 5076, + "start": 5089, + "end": 5090, "loc": { "start": { "line": 240, @@ -67686,8 +68058,8 @@ "binop": null }, "value": "number", - "start": 5077, - "end": 5083, + "start": 5091, + "end": 5097, "loc": { "start": { "line": 240, @@ -67711,8 +68083,8 @@ "postfix": false, "binop": null }, - "start": 5084, - "end": 5085, + "start": 5098, + "end": 5099, "loc": { "start": { "line": 240, @@ -67736,8 +68108,8 @@ "postfix": false, "binop": null }, - "start": 5086, - "end": 5087, + "start": 5100, + "end": 5101, "loc": { "start": { "line": 240, @@ -67764,8 +68136,8 @@ "updateContext": null }, "value": "return", - "start": 5090, - "end": 5096, + "start": 5104, + "end": 5110, "loc": { "start": { "line": 241, @@ -67792,8 +68164,8 @@ "updateContext": null }, "value": "this", - "start": 5097, - "end": 5101, + "start": 5111, + "end": 5115, "loc": { "start": { "line": 241, @@ -67818,8 +68190,8 @@ "binop": null, "updateContext": null }, - "start": 5101, - "end": 5102, + "start": 5115, + "end": 5116, "loc": { "start": { "line": 241, @@ -67844,8 +68216,8 @@ "binop": null }, "value": "div", - "start": 5102, - "end": 5105, + "start": 5116, + "end": 5119, "loc": { "start": { "line": 241, @@ -67869,8 +68241,8 @@ "postfix": false, "binop": null }, - "start": 5105, - "end": 5106, + "start": 5119, + "end": 5120, "loc": { "start": { "line": 241, @@ -67895,8 +68267,8 @@ "binop": null }, "value": "_from_number", - "start": 5106, - "end": 5118, + "start": 5120, + "end": 5132, "loc": { "start": { "line": 241, @@ -67920,8 +68292,8 @@ "postfix": false, "binop": null }, - "start": 5118, - "end": 5119, + "start": 5132, + "end": 5133, "loc": { "start": { "line": 241, @@ -67946,8 +68318,8 @@ "binop": null }, "value": "number", - "start": 5119, - "end": 5125, + "start": 5133, + "end": 5139, "loc": { "start": { "line": 241, @@ -67971,8 +68343,8 @@ "postfix": false, "binop": null }, - "start": 5125, - "end": 5126, + "start": 5139, + "end": 5140, "loc": { "start": { "line": 241, @@ -67996,8 +68368,8 @@ "postfix": false, "binop": null }, - "start": 5126, - "end": 5127, + "start": 5140, + "end": 5141, "loc": { "start": { "line": 241, @@ -68022,8 +68394,8 @@ "binop": null, "updateContext": null }, - "start": 5128, - "end": 5129, + "start": 5142, + "end": 5143, "loc": { "start": { "line": 241, @@ -68047,8 +68419,8 @@ "postfix": false, "binop": null }, - "start": 5131, - "end": 5132, + "start": 5145, + "end": 5146, "loc": { "start": { "line": 242, @@ -68073,8 +68445,8 @@ "binop": null }, "value": "idiv", - "start": 5135, - "end": 5139, + "start": 5149, + "end": 5153, "loc": { "start": { "line": 244, @@ -68098,8 +68470,8 @@ "postfix": false, "binop": null }, - "start": 5140, - "end": 5141, + "start": 5154, + "end": 5155, "loc": { "start": { "line": 244, @@ -68124,8 +68496,8 @@ "binop": null }, "value": "other", - "start": 5142, - "end": 5147, + "start": 5156, + "end": 5161, "loc": { "start": { "line": 244, @@ -68149,8 +68521,8 @@ "postfix": false, "binop": null }, - "start": 5148, - "end": 5149, + "start": 5162, + "end": 5163, "loc": { "start": { "line": 244, @@ -68174,8 +68546,8 @@ "postfix": false, "binop": null }, - "start": 5150, - "end": 5151, + "start": 5164, + "end": 5165, "loc": { "start": { "line": 244, @@ -68190,8 +68562,8 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 5154, - "end": 5203, + "start": 5168, + "end": 5217, "loc": { "start": { "line": 245, @@ -68218,8 +68590,8 @@ "updateContext": null }, "value": "return", - "start": 5206, - "end": 5212, + "start": 5220, + "end": 5226, "loc": { "start": { "line": 246, @@ -68246,8 +68618,8 @@ "updateContext": null }, "value": "this", - "start": 5213, - "end": 5217, + "start": 5227, + "end": 5231, "loc": { "start": { "line": 246, @@ -68272,8 +68644,8 @@ "binop": null, "updateContext": null }, - "start": 5217, - "end": 5218, + "start": 5231, + "end": 5232, "loc": { "start": { "line": 246, @@ -68298,8 +68670,8 @@ "binop": null }, "value": "div", - "start": 5218, - "end": 5221, + "start": 5232, + "end": 5235, "loc": { "start": { "line": 246, @@ -68323,8 +68695,8 @@ "postfix": false, "binop": null }, - "start": 5221, - "end": 5222, + "start": 5235, + "end": 5236, "loc": { "start": { "line": 246, @@ -68349,8 +68721,8 @@ "binop": null }, "value": "other", - "start": 5222, - "end": 5227, + "start": 5236, + "end": 5241, "loc": { "start": { "line": 246, @@ -68374,8 +68746,8 @@ "postfix": false, "binop": null }, - "start": 5227, - "end": 5228, + "start": 5241, + "end": 5242, "loc": { "start": { "line": 246, @@ -68400,8 +68772,8 @@ "binop": null, "updateContext": null }, - "start": 5228, - "end": 5229, + "start": 5242, + "end": 5243, "loc": { "start": { "line": 246, @@ -68426,8 +68798,8 @@ "binop": null }, "value": "move", - "start": 5229, - "end": 5233, + "start": 5243, + "end": 5247, "loc": { "start": { "line": 246, @@ -68451,8 +68823,8 @@ "postfix": false, "binop": null }, - "start": 5233, - "end": 5234, + "start": 5247, + "end": 5248, "loc": { "start": { "line": 246, @@ -68479,8 +68851,8 @@ "updateContext": null }, "value": "this", - "start": 5234, - "end": 5238, + "start": 5248, + "end": 5252, "loc": { "start": { "line": 246, @@ -68504,8 +68876,8 @@ "postfix": false, "binop": null }, - "start": 5238, - "end": 5239, + "start": 5252, + "end": 5253, "loc": { "start": { "line": 246, @@ -68530,8 +68902,8 @@ "binop": null, "updateContext": null }, - "start": 5239, - "end": 5240, + "start": 5253, + "end": 5254, "loc": { "start": { "line": 246, @@ -68555,8 +68927,8 @@ "postfix": false, "binop": null }, - "start": 5242, - "end": 5243, + "start": 5256, + "end": 5257, "loc": { "start": { "line": 247, @@ -68581,8 +68953,8 @@ "binop": null }, "value": "idivn", - "start": 5246, - "end": 5251, + "start": 5260, + "end": 5265, "loc": { "start": { "line": 249, @@ -68606,8 +68978,8 @@ "postfix": false, "binop": null }, - "start": 5252, - "end": 5253, + "start": 5266, + "end": 5267, "loc": { "start": { "line": 249, @@ -68632,8 +69004,8 @@ "binop": null }, "value": "number", - "start": 5254, - "end": 5260, + "start": 5268, + "end": 5274, "loc": { "start": { "line": 249, @@ -68657,8 +69029,8 @@ "postfix": false, "binop": null }, - "start": 5261, - "end": 5262, + "start": 5275, + "end": 5276, "loc": { "start": { "line": 249, @@ -68682,8 +69054,8 @@ "postfix": false, "binop": null }, - "start": 5263, - "end": 5264, + "start": 5277, + "end": 5278, "loc": { "start": { "line": 249, @@ -68710,8 +69082,8 @@ "updateContext": null }, "value": "return", - "start": 5267, - "end": 5273, + "start": 5281, + "end": 5287, "loc": { "start": { "line": 250, @@ -68738,8 +69110,8 @@ "updateContext": null }, "value": "this", - "start": 5274, - "end": 5278, + "start": 5288, + "end": 5292, "loc": { "start": { "line": 250, @@ -68764,8 +69136,8 @@ "binop": null, "updateContext": null }, - "start": 5278, - "end": 5279, + "start": 5292, + "end": 5293, "loc": { "start": { "line": 250, @@ -68790,8 +69162,8 @@ "binop": null }, "value": "divn", - "start": 5279, - "end": 5283, + "start": 5293, + "end": 5297, "loc": { "start": { "line": 250, @@ -68815,8 +69187,8 @@ "postfix": false, "binop": null }, - "start": 5283, - "end": 5284, + "start": 5297, + "end": 5298, "loc": { "start": { "line": 250, @@ -68841,8 +69213,8 @@ "binop": null }, "value": "number", - "start": 5284, - "end": 5290, + "start": 5298, + "end": 5304, "loc": { "start": { "line": 250, @@ -68866,8 +69238,8 @@ "postfix": false, "binop": null }, - "start": 5290, - "end": 5291, + "start": 5304, + "end": 5305, "loc": { "start": { "line": 250, @@ -68892,8 +69264,8 @@ "binop": null, "updateContext": null }, - "start": 5291, - "end": 5292, + "start": 5305, + "end": 5306, "loc": { "start": { "line": 250, @@ -68918,8 +69290,8 @@ "binop": null }, "value": "move", - "start": 5292, - "end": 5296, + "start": 5306, + "end": 5310, "loc": { "start": { "line": 250, @@ -68943,8 +69315,8 @@ "postfix": false, "binop": null }, - "start": 5296, - "end": 5297, + "start": 5310, + "end": 5311, "loc": { "start": { "line": 250, @@ -68971,8 +69343,8 @@ "updateContext": null }, "value": "this", - "start": 5297, - "end": 5301, + "start": 5311, + "end": 5315, "loc": { "start": { "line": 250, @@ -68996,8 +69368,8 @@ "postfix": false, "binop": null }, - "start": 5301, - "end": 5302, + "start": 5315, + "end": 5316, "loc": { "start": { "line": 250, @@ -69022,8 +69394,8 @@ "binop": null, "updateContext": null }, - "start": 5302, - "end": 5303, + "start": 5316, + "end": 5317, "loc": { "start": { "line": 250, @@ -69047,8 +69419,8 @@ "postfix": false, "binop": null }, - "start": 5305, - "end": 5306, + "start": 5319, + "end": 5320, "loc": { "start": { "line": 251, @@ -69073,8 +69445,8 @@ "binop": null }, "value": "mod", - "start": 5309, - "end": 5312, + "start": 5323, + "end": 5326, "loc": { "start": { "line": 253, @@ -69098,8 +69470,8 @@ "postfix": false, "binop": null }, - "start": 5313, - "end": 5314, + "start": 5327, + "end": 5328, "loc": { "start": { "line": 253, @@ -69124,8 +69496,8 @@ "binop": null }, "value": "other", - "start": 5315, - "end": 5320, + "start": 5329, + "end": 5334, "loc": { "start": { "line": 253, @@ -69149,8 +69521,8 @@ "postfix": false, "binop": null }, - "start": 5321, - "end": 5322, + "start": 5335, + "end": 5336, "loc": { "start": { "line": 253, @@ -69174,8 +69546,8 @@ "postfix": false, "binop": null }, - "start": 5323, - "end": 5324, + "start": 5337, + "end": 5338, "loc": { "start": { "line": 253, @@ -69202,8 +69574,8 @@ "updateContext": null }, "value": "return", - "start": 5327, - "end": 5333, + "start": 5341, + "end": 5347, "loc": { "start": { "line": 254, @@ -69230,8 +69602,8 @@ "updateContext": null }, "value": "this", - "start": 5334, - "end": 5338, + "start": 5348, + "end": 5352, "loc": { "start": { "line": 254, @@ -69256,8 +69628,8 @@ "binop": null, "updateContext": null }, - "start": 5338, - "end": 5339, + "start": 5352, + "end": 5353, "loc": { "start": { "line": 254, @@ -69282,8 +69654,8 @@ "binop": null }, "value": "divmod", - "start": 5339, - "end": 5345, + "start": 5353, + "end": 5359, "loc": { "start": { "line": 254, @@ -69307,8 +69679,8 @@ "postfix": false, "binop": null }, - "start": 5345, - "end": 5346, + "start": 5359, + "end": 5360, "loc": { "start": { "line": 254, @@ -69333,8 +69705,8 @@ "binop": null }, "value": "other", - "start": 5347, - "end": 5352, + "start": 5361, + "end": 5366, "loc": { "start": { "line": 254, @@ -69358,8 +69730,8 @@ "postfix": false, "binop": null }, - "start": 5353, - "end": 5354, + "start": 5367, + "end": 5368, "loc": { "start": { "line": 254, @@ -69384,8 +69756,8 @@ "binop": null, "updateContext": null }, - "start": 5354, - "end": 5355, + "start": 5368, + "end": 5369, "loc": { "start": { "line": 254, @@ -69411,8 +69783,8 @@ "updateContext": null }, "value": 1, - "start": 5355, - "end": 5356, + "start": 5369, + "end": 5370, "loc": { "start": { "line": 254, @@ -69437,8 +69809,8 @@ "binop": null, "updateContext": null }, - "start": 5356, - "end": 5357, + "start": 5370, + "end": 5371, "loc": { "start": { "line": 254, @@ -69463,8 +69835,8 @@ "binop": null, "updateContext": null }, - "start": 5358, - "end": 5359, + "start": 5372, + "end": 5373, "loc": { "start": { "line": 254, @@ -69488,8 +69860,8 @@ "postfix": false, "binop": null }, - "start": 5361, - "end": 5362, + "start": 5375, + "end": 5376, "loc": { "start": { "line": 255, @@ -69514,8 +69886,8 @@ "binop": null }, "value": "modn", - "start": 5365, - "end": 5369, + "start": 5379, + "end": 5383, "loc": { "start": { "line": 257, @@ -69539,8 +69911,8 @@ "postfix": false, "binop": null }, - "start": 5370, - "end": 5371, + "start": 5384, + "end": 5385, "loc": { "start": { "line": 257, @@ -69565,8 +69937,8 @@ "binop": null }, "value": "number", - "start": 5372, - "end": 5378, + "start": 5386, + "end": 5392, "loc": { "start": { "line": 257, @@ -69590,8 +69962,8 @@ "postfix": false, "binop": null }, - "start": 5379, - "end": 5380, + "start": 5393, + "end": 5394, "loc": { "start": { "line": 257, @@ -69615,8 +69987,8 @@ "postfix": false, "binop": null }, - "start": 5381, - "end": 5382, + "start": 5395, + "end": 5396, "loc": { "start": { "line": 257, @@ -69643,8 +70015,8 @@ "updateContext": null }, "value": "return", - "start": 5385, - "end": 5391, + "start": 5399, + "end": 5405, "loc": { "start": { "line": 258, @@ -69671,8 +70043,8 @@ "updateContext": null }, "value": "this", - "start": 5392, - "end": 5396, + "start": 5406, + "end": 5410, "loc": { "start": { "line": 258, @@ -69697,8 +70069,8 @@ "binop": null, "updateContext": null }, - "start": 5396, - "end": 5397, + "start": 5410, + "end": 5411, "loc": { "start": { "line": 258, @@ -69723,8 +70095,8 @@ "binop": null }, "value": "mod", - "start": 5397, - "end": 5400, + "start": 5411, + "end": 5414, "loc": { "start": { "line": 258, @@ -69748,8 +70120,8 @@ "postfix": false, "binop": null }, - "start": 5400, - "end": 5401, + "start": 5414, + "end": 5415, "loc": { "start": { "line": 258, @@ -69774,8 +70146,8 @@ "binop": null }, "value": "_from_number", - "start": 5401, - "end": 5413, + "start": 5415, + "end": 5427, "loc": { "start": { "line": 258, @@ -69799,8 +70171,8 @@ "postfix": false, "binop": null }, - "start": 5413, - "end": 5414, + "start": 5427, + "end": 5428, "loc": { "start": { "line": 258, @@ -69825,8 +70197,8 @@ "binop": null }, "value": "number", - "start": 5414, - "end": 5420, + "start": 5428, + "end": 5434, "loc": { "start": { "line": 258, @@ -69850,8 +70222,8 @@ "postfix": false, "binop": null }, - "start": 5420, - "end": 5421, + "start": 5434, + "end": 5435, "loc": { "start": { "line": 258, @@ -69875,8 +70247,8 @@ "postfix": false, "binop": null }, - "start": 5421, - "end": 5422, + "start": 5435, + "end": 5436, "loc": { "start": { "line": 258, @@ -69901,8 +70273,8 @@ "binop": null, "updateContext": null }, - "start": 5423, - "end": 5424, + "start": 5437, + "end": 5438, "loc": { "start": { "line": 258, @@ -69926,8 +70298,8 @@ "postfix": false, "binop": null }, - "start": 5426, - "end": 5427, + "start": 5440, + "end": 5441, "loc": { "start": { "line": 259, @@ -69952,8 +70324,8 @@ "binop": null }, "value": "imod", - "start": 5430, - "end": 5434, + "start": 5444, + "end": 5448, "loc": { "start": { "line": 261, @@ -69977,8 +70349,8 @@ "postfix": false, "binop": null }, - "start": 5435, - "end": 5436, + "start": 5449, + "end": 5450, "loc": { "start": { "line": 261, @@ -70003,8 +70375,8 @@ "binop": null }, "value": "other", - "start": 5437, - "end": 5442, + "start": 5451, + "end": 5456, "loc": { "start": { "line": 261, @@ -70028,8 +70400,8 @@ "postfix": false, "binop": null }, - "start": 5443, - "end": 5444, + "start": 5457, + "end": 5458, "loc": { "start": { "line": 261, @@ -70053,8 +70425,8 @@ "postfix": false, "binop": null }, - "start": 5445, - "end": 5446, + "start": 5459, + "end": 5460, "loc": { "start": { "line": 261, @@ -70069,8 +70441,8 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 5449, - "end": 5498, + "start": 5463, + "end": 5512, "loc": { "start": { "line": 262, @@ -70097,8 +70469,8 @@ "updateContext": null }, "value": "return", - "start": 5501, - "end": 5507, + "start": 5515, + "end": 5521, "loc": { "start": { "line": 263, @@ -70125,8 +70497,8 @@ "updateContext": null }, "value": "this", - "start": 5508, - "end": 5512, + "start": 5522, + "end": 5526, "loc": { "start": { "line": 263, @@ -70151,8 +70523,8 @@ "binop": null, "updateContext": null }, - "start": 5512, - "end": 5513, + "start": 5526, + "end": 5527, "loc": { "start": { "line": 263, @@ -70177,8 +70549,8 @@ "binop": null }, "value": "mod", - "start": 5513, - "end": 5516, + "start": 5527, + "end": 5530, "loc": { "start": { "line": 263, @@ -70202,8 +70574,8 @@ "postfix": false, "binop": null }, - "start": 5516, - "end": 5517, + "start": 5530, + "end": 5531, "loc": { "start": { "line": 263, @@ -70228,8 +70600,8 @@ "binop": null }, "value": "other", - "start": 5517, - "end": 5522, + "start": 5531, + "end": 5536, "loc": { "start": { "line": 263, @@ -70253,8 +70625,8 @@ "postfix": false, "binop": null }, - "start": 5522, - "end": 5523, + "start": 5536, + "end": 5537, "loc": { "start": { "line": 263, @@ -70279,8 +70651,8 @@ "binop": null, "updateContext": null }, - "start": 5523, - "end": 5524, + "start": 5537, + "end": 5538, "loc": { "start": { "line": 263, @@ -70305,8 +70677,8 @@ "binop": null }, "value": "move", - "start": 5524, - "end": 5528, + "start": 5538, + "end": 5542, "loc": { "start": { "line": 263, @@ -70330,8 +70702,8 @@ "postfix": false, "binop": null }, - "start": 5528, - "end": 5529, + "start": 5542, + "end": 5543, "loc": { "start": { "line": 263, @@ -70358,8 +70730,8 @@ "updateContext": null }, "value": "this", - "start": 5529, - "end": 5533, + "start": 5543, + "end": 5547, "loc": { "start": { "line": 263, @@ -70383,8 +70755,8 @@ "postfix": false, "binop": null }, - "start": 5533, - "end": 5534, + "start": 5547, + "end": 5548, "loc": { "start": { "line": 263, @@ -70409,8 +70781,8 @@ "binop": null, "updateContext": null }, - "start": 5534, - "end": 5535, + "start": 5548, + "end": 5549, "loc": { "start": { "line": 263, @@ -70434,8 +70806,8 @@ "postfix": false, "binop": null }, - "start": 5537, - "end": 5538, + "start": 5551, + "end": 5552, "loc": { "start": { "line": 264, @@ -70460,8 +70832,8 @@ "binop": null }, "value": "imodn", - "start": 5541, - "end": 5546, + "start": 5555, + "end": 5560, "loc": { "start": { "line": 266, @@ -70485,8 +70857,8 @@ "postfix": false, "binop": null }, - "start": 5547, - "end": 5548, + "start": 5561, + "end": 5562, "loc": { "start": { "line": 266, @@ -70511,8 +70883,8 @@ "binop": null }, "value": "number", - "start": 5549, - "end": 5555, + "start": 5563, + "end": 5569, "loc": { "start": { "line": 266, @@ -70536,8 +70908,8 @@ "postfix": false, "binop": null }, - "start": 5556, - "end": 5557, + "start": 5570, + "end": 5571, "loc": { "start": { "line": 266, @@ -70561,8 +70933,8 @@ "postfix": false, "binop": null }, - "start": 5558, - "end": 5559, + "start": 5572, + "end": 5573, "loc": { "start": { "line": 266, @@ -70589,8 +70961,8 @@ "updateContext": null }, "value": "return", - "start": 5562, - "end": 5568, + "start": 5576, + "end": 5582, "loc": { "start": { "line": 267, @@ -70617,8 +70989,8 @@ "updateContext": null }, "value": "this", - "start": 5569, - "end": 5573, + "start": 5583, + "end": 5587, "loc": { "start": { "line": 267, @@ -70643,8 +71015,8 @@ "binop": null, "updateContext": null }, - "start": 5573, - "end": 5574, + "start": 5587, + "end": 5588, "loc": { "start": { "line": 267, @@ -70669,8 +71041,8 @@ "binop": null }, "value": "modn", - "start": 5574, - "end": 5578, + "start": 5588, + "end": 5592, "loc": { "start": { "line": 267, @@ -70694,8 +71066,8 @@ "postfix": false, "binop": null }, - "start": 5578, - "end": 5579, + "start": 5592, + "end": 5593, "loc": { "start": { "line": 267, @@ -70720,8 +71092,8 @@ "binop": null }, "value": "number", - "start": 5579, - "end": 5585, + "start": 5593, + "end": 5599, "loc": { "start": { "line": 267, @@ -70745,8 +71117,8 @@ "postfix": false, "binop": null }, - "start": 5585, - "end": 5586, + "start": 5599, + "end": 5600, "loc": { "start": { "line": 267, @@ -70771,8 +71143,8 @@ "binop": null, "updateContext": null }, - "start": 5586, - "end": 5587, + "start": 5600, + "end": 5601, "loc": { "start": { "line": 267, @@ -70797,8 +71169,8 @@ "binop": null }, "value": "move", - "start": 5587, - "end": 5591, + "start": 5601, + "end": 5605, "loc": { "start": { "line": 267, @@ -70822,8 +71194,8 @@ "postfix": false, "binop": null }, - "start": 5591, - "end": 5592, + "start": 5605, + "end": 5606, "loc": { "start": { "line": 267, @@ -70850,8 +71222,8 @@ "updateContext": null }, "value": "this", - "start": 5592, - "end": 5596, + "start": 5606, + "end": 5610, "loc": { "start": { "line": 267, @@ -70875,8 +71247,8 @@ "postfix": false, "binop": null }, - "start": 5596, - "end": 5597, + "start": 5610, + "end": 5611, "loc": { "start": { "line": 267, @@ -70901,8 +71273,8 @@ "binop": null, "updateContext": null }, - "start": 5597, - "end": 5598, + "start": 5611, + "end": 5612, "loc": { "start": { "line": 267, @@ -70926,8 +71298,8 @@ "postfix": false, "binop": null }, - "start": 5600, - "end": 5601, + "start": 5614, + "end": 5615, "loc": { "start": { "line": 268, @@ -70952,8 +71324,8 @@ "binop": null }, "value": "divround", - "start": 5604, - "end": 5612, + "start": 5618, + "end": 5626, "loc": { "start": { "line": 270, @@ -70977,8 +71349,8 @@ "postfix": false, "binop": null }, - "start": 5613, - "end": 5614, + "start": 5627, + "end": 5628, "loc": { "start": { "line": 270, @@ -71003,8 +71375,8 @@ "binop": null }, "value": "other", - "start": 5615, - "end": 5620, + "start": 5629, + "end": 5634, "loc": { "start": { "line": 270, @@ -71028,8 +71400,8 @@ "postfix": false, "binop": null }, - "start": 5621, - "end": 5622, + "start": 5635, + "end": 5636, "loc": { "start": { "line": 270, @@ -71053,8 +71425,8 @@ "postfix": false, "binop": null }, - "start": 5623, - "end": 5624, + "start": 5637, + "end": 5638, "loc": { "start": { "line": 270, @@ -71081,8 +71453,8 @@ "updateContext": null }, "value": "const", - "start": 5627, - "end": 5632, + "start": 5641, + "end": 5646, "loc": { "start": { "line": 271, @@ -71107,8 +71479,8 @@ "binop": null, "updateContext": null }, - "start": 5633, - "end": 5634, + "start": 5647, + "end": 5648, "loc": { "start": { "line": 271, @@ -71133,8 +71505,8 @@ "binop": null }, "value": "q", - "start": 5635, - "end": 5636, + "start": 5649, + "end": 5650, "loc": { "start": { "line": 271, @@ -71159,8 +71531,8 @@ "binop": null, "updateContext": null }, - "start": 5637, - "end": 5638, + "start": 5651, + "end": 5652, "loc": { "start": { "line": 271, @@ -71185,8 +71557,8 @@ "binop": null }, "value": "r", - "start": 5639, - "end": 5640, + "start": 5653, + "end": 5654, "loc": { "start": { "line": 271, @@ -71211,8 +71583,8 @@ "binop": null, "updateContext": null }, - "start": 5641, - "end": 5642, + "start": 5655, + "end": 5656, "loc": { "start": { "line": 271, @@ -71238,8 +71610,8 @@ "updateContext": null }, "value": "=", - "start": 5643, - "end": 5644, + "start": 5657, + "end": 5658, "loc": { "start": { "line": 271, @@ -71266,8 +71638,8 @@ "updateContext": null }, "value": "this", - "start": 5645, - "end": 5649, + "start": 5659, + "end": 5663, "loc": { "start": { "line": 271, @@ -71292,8 +71664,8 @@ "binop": null, "updateContext": null }, - "start": 5649, - "end": 5650, + "start": 5663, + "end": 5664, "loc": { "start": { "line": 271, @@ -71318,8 +71690,8 @@ "binop": null }, "value": "divmod", - "start": 5650, - "end": 5656, + "start": 5664, + "end": 5670, "loc": { "start": { "line": 271, @@ -71343,8 +71715,8 @@ "postfix": false, "binop": null }, - "start": 5656, - "end": 5657, + "start": 5670, + "end": 5671, "loc": { "start": { "line": 271, @@ -71369,8 +71741,8 @@ "binop": null }, "value": "other", - "start": 5657, - "end": 5662, + "start": 5671, + "end": 5676, "loc": { "start": { "line": 271, @@ -71394,8 +71766,8 @@ "postfix": false, "binop": null }, - "start": 5662, - "end": 5663, + "start": 5676, + "end": 5677, "loc": { "start": { "line": 271, @@ -71420,8 +71792,8 @@ "binop": null, "updateContext": null }, - "start": 5664, - "end": 5665, + "start": 5678, + "end": 5679, "loc": { "start": { "line": 271, @@ -71448,8 +71820,8 @@ "updateContext": null }, "value": "if", - "start": 5668, - "end": 5670, + "start": 5682, + "end": 5684, "loc": { "start": { "line": 272, @@ -71473,8 +71845,8 @@ "postfix": false, "binop": null }, - "start": 5671, - "end": 5672, + "start": 5685, + "end": 5686, "loc": { "start": { "line": 272, @@ -71499,8 +71871,8 @@ "binop": null }, "value": "r", - "start": 5673, - "end": 5674, + "start": 5687, + "end": 5688, "loc": { "start": { "line": 272, @@ -71514,20 +71886,45 @@ }, { "type": { - "label": "", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, + "binop": null, "updateContext": null }, - "value": ">=", - "start": 5675, - "end": 5677, + "start": 5688, + "end": 5689, + "loc": { + "start": { + "line": 272, + "column": 8 + }, + "end": { + "line": 272, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ge", + "start": 5689, + "end": 5691, "loc": { "start": { "line": 272, @@ -71551,23 +71948,22 @@ "postfix": false, "binop": null }, - "start": 5678, - "end": 5679, + "start": 5691, + "end": 5692, "loc": { "start": { "line": 272, - "column": 12 + "column": 11 }, "end": { "line": 272, - "column": 13 + "column": 12 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -71575,16 +71971,41 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null + }, + "value": "other", + "start": 5692, + "end": 5697, + "loc": { + "start": { + "line": 272, + "column": 12 + }, + "end": { + "line": 272, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null, "updateContext": null }, - "value": "this", - "start": 5680, - "end": 5684, + "start": 5697, + "end": 5698, "loc": { "start": { "line": 272, - "column": 14 + "column": 17 }, "end": { "line": 272, @@ -71592,6 +72013,109 @@ } } }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "divn", + "start": 5698, + "end": 5702, + "loc": { + "start": { + "line": 272, + "column": 18 + }, + "end": { + "line": 272, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5702, + "end": 5703, + "loc": { + "start": { + "line": 272, + "column": 22 + }, + "end": { + "line": 272, + "column": 23 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 5703, + "end": 5704, + "loc": { + "start": { + "line": 272, + "column": 23 + }, + "end": { + "line": 272, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5704, + "end": 5705, + "loc": { + "start": { + "line": 272, + "column": 24 + }, + "end": { + "line": 272, + "column": 25 + } + } + }, { "type": { "label": ".", @@ -71605,16 +72129,16 @@ "binop": null, "updateContext": null }, - "start": 5684, - "end": 5685, + "start": 5705, + "end": 5706, "loc": { "start": { "line": 272, - "column": 18 + "column": 25 }, "end": { "line": 272, - "column": 19 + "column": 26 } } }, @@ -71630,44 +72154,196 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 5685, - "end": 5689, + "value": "addn", + "start": 5706, + "end": 5710, "loc": { "start": { "line": 272, - "column": 19 + "column": 26 }, "end": { "line": 272, - "column": 23 + "column": 30 } } }, { "type": { - "label": "/", + "label": "(", "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5710, + "end": 5711, + "loc": { + "start": { + "line": 272, + "column": 30 + }, + "end": { + "line": 272, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 5711, + "end": 5716, + "loc": { + "start": { + "line": 272, + "column": 31 + }, + "end": { + "line": 272, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, + "binop": null, "updateContext": null }, - "value": "/", - "start": 5690, - "end": 5691, + "start": 5716, + "end": 5717, "loc": { "start": { "line": 272, - "column": 24 + "column": 36 }, "end": { "line": 272, - "column": 25 + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "iseven", + "start": 5717, + "end": 5723, + "loc": { + "start": { + "line": 272, + "column": 37 + }, + "end": { + "line": 272, + "column": 43 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5723, + "end": 5724, + "loc": { + "start": { + "line": 272, + "column": 43 + }, + "end": { + "line": 272, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5724, + "end": 5725, + "loc": { + "start": { + "line": 272, + "column": 44 + }, + "end": { + "line": 272, + "column": 45 + } + } + }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5726, + "end": 5727, + "loc": { + "start": { + "line": 272, + "column": 46 + }, + "end": { + "line": 272, + "column": 47 } } }, @@ -71684,23 +72360,23 @@ "binop": null, "updateContext": null }, - "value": 2, - "start": 5692, - "end": 5693, + "value": 0, + "start": 5728, + "end": 5729, "loc": { "start": { "line": 272, - "column": 26 + "column": 48 }, "end": { "line": 272, - "column": 27 + "column": 49 } } }, { "type": { - "label": "|", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -71708,20 +72384,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 3, + "binop": null, "updateContext": null }, - "value": "|", - "start": 5694, - "end": 5695, + "start": 5730, + "end": 5731, "loc": { "start": { "line": 272, - "column": 28 + "column": 50 }, "end": { "line": 272, - "column": 29 + "column": 51 } } }, @@ -71738,17 +72413,17 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 5696, - "end": 5697, + "value": 1, + "start": 5732, + "end": 5733, "loc": { "start": { "line": 272, - "column": 30 + "column": 52 }, "end": { "line": 272, - "column": 31 + "column": 53 } } }, @@ -71764,16 +72439,16 @@ "postfix": false, "binop": null }, - "start": 5698, - "end": 5699, + "start": 5733, + "end": 5734, "loc": { "start": { "line": 272, - "column": 32 + "column": 53 }, "end": { "line": 272, - "column": 33 + "column": 54 } } }, @@ -71789,16 +72464,41 @@ "postfix": false, "binop": null }, - "start": 5700, - "end": 5701, + "start": 5734, + "end": 5735, "loc": { "start": { "line": 272, - "column": 34 + "column": 54 }, "end": { "line": 272, - "column": 35 + "column": 55 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5736, + "end": 5737, + "loc": { + "start": { + "line": 272, + "column": 56 + }, + "end": { + "line": 272, + "column": 57 } } }, @@ -71815,16 +72515,16 @@ "binop": null }, "value": "increment", - "start": 5702, - "end": 5711, + "start": 5738, + "end": 5747, "loc": { "start": { "line": 272, - "column": 36 + "column": 58 }, "end": { "line": 272, - "column": 45 + "column": 67 } } }, @@ -71840,16 +72540,16 @@ "postfix": false, "binop": null }, - "start": 5711, - "end": 5712, + "start": 5747, + "end": 5748, "loc": { "start": { "line": 272, - "column": 45 + "column": 67 }, "end": { "line": 272, - "column": 46 + "column": 68 } } }, @@ -71865,17 +72565,69 @@ "postfix": false, "binop": null }, - "value": "r", - "start": 5713, - "end": 5714, + "value": "q", + "start": 5749, + "end": 5750, "loc": { "start": { "line": 272, - "column": 47 + "column": 69 }, "end": { "line": 272, - "column": 48 + "column": 70 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5750, + "end": 5751, + "loc": { + "start": { + "line": 272, + "column": 70 + }, + "end": { + "line": 272, + "column": 71 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 5751, + "end": 5755, + "loc": { + "start": { + "line": 272, + "column": 71 + }, + "end": { + "line": 272, + "column": 75 } } }, @@ -71892,16 +72644,16 @@ "binop": null, "updateContext": null }, - "start": 5715, - "end": 5716, + "start": 5756, + "end": 5757, "loc": { "start": { "line": 272, - "column": 49 + "column": 76 }, "end": { "line": 272, - "column": 50 + "column": 77 } } }, @@ -71918,16 +72670,16 @@ "binop": null }, "value": "q", - "start": 5717, - "end": 5718, + "start": 5758, + "end": 5759, "loc": { "start": { "line": 272, - "column": 51 + "column": 78 }, "end": { "line": 272, - "column": 52 + "column": 79 } } }, @@ -71944,16 +72696,16 @@ "binop": null, "updateContext": null }, - "start": 5718, - "end": 5719, + "start": 5759, + "end": 5760, "loc": { "start": { "line": 272, - "column": 52 + "column": 79 }, "end": { "line": 272, - "column": 53 + "column": 80 } } }, @@ -71970,16 +72722,16 @@ "binop": null }, "value": "limbs", - "start": 5719, - "end": 5724, + "start": 5760, + "end": 5765, "loc": { "start": { "line": 272, - "column": 53 + "column": 80 }, "end": { "line": 272, - "column": 58 + "column": 85 } } }, @@ -71996,16 +72748,16 @@ "binop": null, "updateContext": null }, - "start": 5725, - "end": 5726, + "start": 5766, + "end": 5767, "loc": { "start": { "line": 272, - "column": 59 + "column": 86 }, "end": { "line": 272, - "column": 60 + "column": 87 } } }, @@ -72023,16 +72775,16 @@ "updateContext": null }, "value": 0, - "start": 5727, - "end": 5728, + "start": 5768, + "end": 5769, "loc": { "start": { "line": 272, - "column": 61 + "column": 88 }, "end": { "line": 272, - "column": 62 + "column": 89 } } }, @@ -72049,16 +72801,16 @@ "binop": null, "updateContext": null }, - "start": 5729, - "end": 5730, + "start": 5770, + "end": 5771, "loc": { "start": { "line": 272, - "column": 63 + "column": 90 }, "end": { "line": 272, - "column": 64 + "column": 91 } } }, @@ -72075,16 +72827,16 @@ "binop": null }, "value": "q", - "start": 5731, - "end": 5732, + "start": 5772, + "end": 5773, "loc": { "start": { "line": 272, - "column": 65 + "column": 92 }, "end": { "line": 272, - "column": 66 + "column": 93 } } }, @@ -72101,16 +72853,16 @@ "binop": null, "updateContext": null }, - "start": 5732, - "end": 5733, + "start": 5773, + "end": 5774, "loc": { "start": { "line": 272, - "column": 66 + "column": 93 }, "end": { "line": 272, - "column": 67 + "column": 94 } } }, @@ -72127,16 +72879,16 @@ "binop": null }, "value": "limbs", - "start": 5733, - "end": 5738, + "start": 5774, + "end": 5779, "loc": { "start": { "line": 272, - "column": 67 + "column": 94 }, "end": { "line": 272, - "column": 72 + "column": 99 } } }, @@ -72153,16 +72905,16 @@ "binop": null, "updateContext": null }, - "start": 5738, - "end": 5739, + "start": 5779, + "end": 5780, "loc": { "start": { "line": 272, - "column": 72 + "column": 99 }, "end": { "line": 272, - "column": 73 + "column": 100 } } }, @@ -72179,16 +72931,16 @@ "binop": null }, "value": "length", - "start": 5739, - "end": 5745, + "start": 5780, + "end": 5786, "loc": { "start": { "line": 272, - "column": 73 + "column": 100 }, "end": { "line": 272, - "column": 79 + "column": 106 } } }, @@ -72204,16 +72956,16 @@ "postfix": false, "binop": null }, - "start": 5746, - "end": 5747, + "start": 5787, + "end": 5788, "loc": { "start": { "line": 272, - "column": 80 + "column": 107 }, "end": { "line": 272, - "column": 81 + "column": 108 } } }, @@ -72230,16 +72982,16 @@ "binop": null, "updateContext": null }, - "start": 5748, - "end": 5749, + "start": 5789, + "end": 5790, "loc": { "start": { "line": 272, - "column": 82 + "column": 109 }, "end": { "line": 272, - "column": 83 + "column": 110 } } }, @@ -72258,8 +73010,8 @@ "updateContext": null }, "value": "return", - "start": 5752, - "end": 5758, + "start": 5793, + "end": 5799, "loc": { "start": { "line": 273, @@ -72284,8 +73036,8 @@ "binop": null }, "value": "q", - "start": 5759, - "end": 5760, + "start": 5800, + "end": 5801, "loc": { "start": { "line": 273, @@ -72310,8 +73062,8 @@ "binop": null, "updateContext": null }, - "start": 5761, - "end": 5762, + "start": 5802, + "end": 5803, "loc": { "start": { "line": 273, @@ -72335,8 +73087,8 @@ "postfix": false, "binop": null }, - "start": 5764, - "end": 5765, + "start": 5805, + "end": 5806, "loc": { "start": { "line": 274, @@ -72361,8 +73113,8 @@ "binop": null }, "value": "divmod", - "start": 5768, - "end": 5774, + "start": 5809, + "end": 5815, "loc": { "start": { "line": 276, @@ -72386,8 +73138,8 @@ "postfix": false, "binop": null }, - "start": 5775, - "end": 5776, + "start": 5816, + "end": 5817, "loc": { "start": { "line": 276, @@ -72412,8 +73164,8 @@ "binop": null }, "value": "other", - "start": 5777, - "end": 5782, + "start": 5818, + "end": 5823, "loc": { "start": { "line": 276, @@ -72437,8 +73189,8 @@ "postfix": false, "binop": null }, - "start": 5783, - "end": 5784, + "start": 5824, + "end": 5825, "loc": { "start": { "line": 276, @@ -72462,8 +73214,8 @@ "postfix": false, "binop": null }, - "start": 5785, - "end": 5786, + "start": 5826, + "end": 5827, "loc": { "start": { "line": 276, @@ -72490,8 +73242,8 @@ "updateContext": null }, "value": "if", - "start": 5790, - "end": 5792, + "start": 5831, + "end": 5833, "loc": { "start": { "line": 278, @@ -72515,8 +73267,8 @@ "postfix": false, "binop": null }, - "start": 5793, - "end": 5794, + "start": 5834, + "end": 5835, "loc": { "start": { "line": 278, @@ -72541,8 +73293,8 @@ "binop": null }, "value": "other", - "start": 5795, - "end": 5800, + "start": 5836, + "end": 5841, "loc": { "start": { "line": 278, @@ -72567,8 +73319,8 @@ "binop": null, "updateContext": null }, - "start": 5800, - "end": 5801, + "start": 5841, + "end": 5842, "loc": { "start": { "line": 278, @@ -72593,8 +73345,8 @@ "binop": null }, "value": "iszero", - "start": 5801, - "end": 5807, + "start": 5842, + "end": 5848, "loc": { "start": { "line": 278, @@ -72618,8 +73370,8 @@ "postfix": false, "binop": null }, - "start": 5807, - "end": 5808, + "start": 5848, + "end": 5849, "loc": { "start": { "line": 278, @@ -72643,8 +73395,8 @@ "postfix": false, "binop": null }, - "start": 5808, - "end": 5809, + "start": 5849, + "end": 5850, "loc": { "start": { "line": 278, @@ -72668,8 +73420,8 @@ "postfix": false, "binop": null }, - "start": 5810, - "end": 5811, + "start": 5851, + "end": 5852, "loc": { "start": { "line": 278, @@ -72696,8 +73448,8 @@ "updateContext": null }, "value": "throw", - "start": 5812, - "end": 5817, + "start": 5853, + "end": 5858, "loc": { "start": { "line": 278, @@ -72724,8 +73476,8 @@ "updateContext": null }, "value": "new", - "start": 5818, - "end": 5821, + "start": 5859, + "end": 5862, "loc": { "start": { "line": 278, @@ -72750,8 +73502,8 @@ "binop": null }, "value": "ZeroDivisionError", - "start": 5822, - "end": 5839, + "start": 5863, + "end": 5880, "loc": { "start": { "line": 278, @@ -72775,8 +73527,8 @@ "postfix": false, "binop": null }, - "start": 5839, - "end": 5840, + "start": 5880, + "end": 5881, "loc": { "start": { "line": 278, @@ -72802,8 +73554,8 @@ "updateContext": null }, "value": "Integer division by zero", - "start": 5841, - "end": 5867, + "start": 5882, + "end": 5908, "loc": { "start": { "line": 278, @@ -72827,8 +73579,8 @@ "postfix": false, "binop": null }, - "start": 5868, - "end": 5869, + "start": 5909, + "end": 5910, "loc": { "start": { "line": 278, @@ -72853,8 +73605,8 @@ "binop": null, "updateContext": null }, - "start": 5870, - "end": 5871, + "start": 5911, + "end": 5912, "loc": { "start": { "line": 278, @@ -72869,8 +73621,8 @@ { "type": "CommentLine", "value": " optimize", - "start": 5872, - "end": 5883, + "start": 5913, + "end": 5924, "loc": { "start": { "line": 278, @@ -72897,8 +73649,8 @@ "updateContext": null }, "value": "const", - "start": 5887, - "end": 5892, + "start": 5928, + "end": 5933, "loc": { "start": { "line": 280, @@ -72923,8 +73675,8 @@ "binop": null }, "value": "quotient_is_negative", - "start": 5893, - "end": 5913, + "start": 5934, + "end": 5954, "loc": { "start": { "line": 280, @@ -72950,8 +73702,8 @@ "updateContext": null }, "value": "=", - "start": 5914, - "end": 5915, + "start": 5955, + "end": 5956, "loc": { "start": { "line": 280, @@ -72978,8 +73730,8 @@ "updateContext": null }, "value": "this", - "start": 5916, - "end": 5920, + "start": 5957, + "end": 5961, "loc": { "start": { "line": 280, @@ -73004,8 +73756,8 @@ "binop": null, "updateContext": null }, - "start": 5920, - "end": 5921, + "start": 5961, + "end": 5962, "loc": { "start": { "line": 280, @@ -73030,8 +73782,8 @@ "binop": null }, "value": "is_negative", - "start": 5921, - "end": 5932, + "start": 5962, + "end": 5973, "loc": { "start": { "line": 280, @@ -73057,8 +73809,8 @@ "updateContext": null }, "value": "^", - "start": 5933, - "end": 5934, + "start": 5974, + "end": 5975, "loc": { "start": { "line": 280, @@ -73083,8 +73835,8 @@ "binop": null }, "value": "other", - "start": 5935, - "end": 5940, + "start": 5976, + "end": 5981, "loc": { "start": { "line": 280, @@ -73109,8 +73861,8 @@ "binop": null, "updateContext": null }, - "start": 5940, - "end": 5941, + "start": 5981, + "end": 5982, "loc": { "start": { "line": 280, @@ -73135,8 +73887,8 @@ "binop": null }, "value": "is_negative", - "start": 5941, - "end": 5952, + "start": 5982, + "end": 5993, "loc": { "start": { "line": 280, @@ -73161,8 +73913,8 @@ "binop": null, "updateContext": null }, - "start": 5953, - "end": 5954, + "start": 5994, + "end": 5995, "loc": { "start": { "line": 280, @@ -73189,8 +73941,8 @@ "updateContext": null }, "value": "const", - "start": 5957, - "end": 5962, + "start": 5998, + "end": 6003, "loc": { "start": { "line": 281, @@ -73215,8 +73967,8 @@ "binop": null }, "value": "r", - "start": 5963, - "end": 5964, + "start": 6004, + "end": 6005, "loc": { "start": { "line": 281, @@ -73242,8 +73994,8 @@ "updateContext": null }, "value": "=", - "start": 5965, - "end": 5966, + "start": 6006, + "end": 6007, "loc": { "start": { "line": 281, @@ -73270,8 +74022,8 @@ "updateContext": null }, "value": "this", - "start": 5967, - "end": 5971, + "start": 6008, + "end": 6012, "loc": { "start": { "line": 281, @@ -73296,8 +74048,8 @@ "binop": null, "updateContext": null }, - "start": 5971, - "end": 5972, + "start": 6012, + "end": 6013, "loc": { "start": { "line": 281, @@ -73322,8 +74074,8 @@ "binop": null }, "value": "base", - "start": 5972, - "end": 5976, + "start": 6013, + "end": 6017, "loc": { "start": { "line": 281, @@ -73348,8 +74100,8 @@ "binop": null, "updateContext": null }, - "start": 5977, - "end": 5978, + "start": 6018, + "end": 6019, "loc": { "start": { "line": 281, @@ -73364,8 +74116,8 @@ { "type": "CommentLine", "value": " The underlying algorithm does not allow leading 0's so we trim them.", - "start": 5982, - "end": 6053, + "start": 6023, + "end": 6094, "loc": { "start": { "line": 283, @@ -73392,8 +74144,8 @@ "updateContext": null }, "value": "const", - "start": 6056, - "end": 6061, + "start": 6097, + "end": 6102, "loc": { "start": { "line": 284, @@ -73418,8 +74170,8 @@ "binop": null }, "value": "lj", - "start": 6062, - "end": 6064, + "start": 6103, + "end": 6105, "loc": { "start": { "line": 284, @@ -73445,8 +74197,8 @@ "updateContext": null }, "value": "=", - "start": 6065, - "end": 6066, + "start": 6106, + "end": 6107, "loc": { "start": { "line": 284, @@ -73473,8 +74225,8 @@ "updateContext": null }, "value": "this", - "start": 6067, - "end": 6071, + "start": 6108, + "end": 6112, "loc": { "start": { "line": 284, @@ -73499,8 +74251,8 @@ "binop": null, "updateContext": null }, - "start": 6071, - "end": 6072, + "start": 6112, + "end": 6113, "loc": { "start": { "line": 284, @@ -73525,8 +74277,8 @@ "binop": null }, "value": "limbs", - "start": 6072, - "end": 6077, + "start": 6113, + "end": 6118, "loc": { "start": { "line": 284, @@ -73551,8 +74303,8 @@ "binop": null, "updateContext": null }, - "start": 6077, - "end": 6078, + "start": 6118, + "end": 6119, "loc": { "start": { "line": 284, @@ -73577,8 +74329,8 @@ "binop": null }, "value": "length", - "start": 6078, - "end": 6084, + "start": 6119, + "end": 6125, "loc": { "start": { "line": 284, @@ -73603,8 +74355,8 @@ "binop": null, "updateContext": null }, - "start": 6085, - "end": 6086, + "start": 6126, + "end": 6127, "loc": { "start": { "line": 284, @@ -73631,8 +74383,8 @@ "updateContext": null }, "value": "const", - "start": 6089, - "end": 6094, + "start": 6130, + "end": 6135, "loc": { "start": { "line": 285, @@ -73657,8 +74409,8 @@ "binop": null }, "value": "li", - "start": 6095, - "end": 6097, + "start": 6136, + "end": 6138, "loc": { "start": { "line": 285, @@ -73684,8 +74436,8 @@ "updateContext": null }, "value": "=", - "start": 6098, - "end": 6099, + "start": 6139, + "end": 6140, "loc": { "start": { "line": 285, @@ -73710,8 +74462,8 @@ "binop": null }, "value": "_trim_positive", - "start": 6101, - "end": 6115, + "start": 6142, + "end": 6156, "loc": { "start": { "line": 285, @@ -73735,8 +74487,8 @@ "postfix": false, "binop": null }, - "start": 6115, - "end": 6116, + "start": 6156, + "end": 6157, "loc": { "start": { "line": 285, @@ -73763,8 +74515,8 @@ "updateContext": null }, "value": "this", - "start": 6117, - "end": 6121, + "start": 6158, + "end": 6162, "loc": { "start": { "line": 285, @@ -73789,8 +74541,8 @@ "binop": null, "updateContext": null }, - "start": 6121, - "end": 6122, + "start": 6162, + "end": 6163, "loc": { "start": { "line": 285, @@ -73815,8 +74567,8 @@ "binop": null }, "value": "limbs", - "start": 6122, - "end": 6127, + "start": 6163, + "end": 6168, "loc": { "start": { "line": 285, @@ -73841,8 +74593,8 @@ "binop": null, "updateContext": null }, - "start": 6128, - "end": 6129, + "start": 6169, + "end": 6170, "loc": { "start": { "line": 285, @@ -73868,8 +74620,8 @@ "updateContext": null }, "value": 0, - "start": 6130, - "end": 6131, + "start": 6171, + "end": 6172, "loc": { "start": { "line": 285, @@ -73894,8 +74646,8 @@ "binop": null, "updateContext": null }, - "start": 6132, - "end": 6133, + "start": 6173, + "end": 6174, "loc": { "start": { "line": 285, @@ -73920,8 +74672,8 @@ "binop": null }, "value": "lj", - "start": 6134, - "end": 6136, + "start": 6175, + "end": 6177, "loc": { "start": { "line": 285, @@ -73945,8 +74697,8 @@ "postfix": false, "binop": null }, - "start": 6137, - "end": 6138, + "start": 6178, + "end": 6179, "loc": { "start": { "line": 285, @@ -73971,8 +74723,8 @@ "binop": null, "updateContext": null }, - "start": 6139, - "end": 6140, + "start": 6180, + "end": 6181, "loc": { "start": { "line": 285, @@ -73987,8 +74739,8 @@ { "type": "CommentLine", "value": " Dividend is 0", - "start": 6144, - "end": 6160, + "start": 6185, + "end": 6201, "loc": { "start": { "line": 287, @@ -74015,8 +74767,8 @@ "updateContext": null }, "value": "if", - "start": 6163, - "end": 6165, + "start": 6204, + "end": 6206, "loc": { "start": { "line": 288, @@ -74040,8 +74792,8 @@ "postfix": false, "binop": null }, - "start": 6166, - "end": 6167, + "start": 6207, + "end": 6208, "loc": { "start": { "line": 288, @@ -74066,8 +74818,8 @@ "binop": null }, "value": "li", - "start": 6168, - "end": 6170, + "start": 6209, + "end": 6211, "loc": { "start": { "line": 288, @@ -74093,8 +74845,8 @@ "updateContext": null }, "value": ">=", - "start": 6171, - "end": 6173, + "start": 6212, + "end": 6214, "loc": { "start": { "line": 288, @@ -74119,8 +74871,8 @@ "binop": null }, "value": "lj", - "start": 6174, - "end": 6176, + "start": 6215, + "end": 6217, "loc": { "start": { "line": 288, @@ -74144,8 +74896,8 @@ "postfix": false, "binop": null }, - "start": 6177, - "end": 6178, + "start": 6218, + "end": 6219, "loc": { "start": { "line": 288, @@ -74172,8 +74924,8 @@ "updateContext": null }, "value": "return", - "start": 6179, - "end": 6185, + "start": 6220, + "end": 6226, "loc": { "start": { "line": 288, @@ -74198,8 +74950,8 @@ "binop": null, "updateContext": null }, - "start": 6186, - "end": 6187, + "start": 6227, + "end": 6228, "loc": { "start": { "line": 288, @@ -74226,8 +74978,8 @@ "updateContext": null }, "value": "new", - "start": 6188, - "end": 6191, + "start": 6229, + "end": 6232, "loc": { "start": { "line": 288, @@ -74252,8 +75004,8 @@ "binop": null }, "value": "Integer", - "start": 6192, - "end": 6199, + "start": 6233, + "end": 6240, "loc": { "start": { "line": 288, @@ -74277,8 +75029,8 @@ "postfix": false, "binop": null }, - "start": 6199, - "end": 6200, + "start": 6240, + "end": 6241, "loc": { "start": { "line": 288, @@ -74305,8 +75057,8 @@ "updateContext": null }, "value": "this", - "start": 6201, - "end": 6205, + "start": 6242, + "end": 6246, "loc": { "start": { "line": 288, @@ -74331,8 +75083,8 @@ "binop": null, "updateContext": null }, - "start": 6205, - "end": 6206, + "start": 6246, + "end": 6247, "loc": { "start": { "line": 288, @@ -74357,8 +75109,8 @@ "binop": null }, "value": "base", - "start": 6206, - "end": 6210, + "start": 6247, + "end": 6251, "loc": { "start": { "line": 288, @@ -74383,8 +75135,8 @@ "binop": null, "updateContext": null }, - "start": 6211, - "end": 6212, + "start": 6252, + "end": 6253, "loc": { "start": { "line": 288, @@ -74410,8 +75162,8 @@ "updateContext": null }, "value": 0, - "start": 6213, - "end": 6214, + "start": 6254, + "end": 6255, "loc": { "start": { "line": 288, @@ -74436,8 +75188,8 @@ "binop": null, "updateContext": null }, - "start": 6215, - "end": 6216, + "start": 6256, + "end": 6257, "loc": { "start": { "line": 288, @@ -74462,8 +75214,8 @@ "binop": null, "updateContext": null }, - "start": 6217, - "end": 6218, + "start": 6258, + "end": 6259, "loc": { "start": { "line": 288, @@ -74489,8 +75241,8 @@ "updateContext": null }, "value": 0, - "start": 6219, - "end": 6220, + "start": 6260, + "end": 6261, "loc": { "start": { "line": 288, @@ -74515,8 +75267,8 @@ "binop": null, "updateContext": null }, - "start": 6221, - "end": 6222, + "start": 6262, + "end": 6263, "loc": { "start": { "line": 288, @@ -74540,8 +75292,8 @@ "postfix": false, "binop": null }, - "start": 6223, - "end": 6224, + "start": 6264, + "end": 6265, "loc": { "start": { "line": 288, @@ -74566,8 +75318,8 @@ "binop": null, "updateContext": null }, - "start": 6225, - "end": 6226, + "start": 6266, + "end": 6267, "loc": { "start": { "line": 288, @@ -74594,8 +75346,8 @@ "updateContext": null }, "value": "new", - "start": 6227, - "end": 6230, + "start": 6268, + "end": 6271, "loc": { "start": { "line": 288, @@ -74620,8 +75372,8 @@ "binop": null }, "value": "Integer", - "start": 6231, - "end": 6238, + "start": 6272, + "end": 6279, "loc": { "start": { "line": 288, @@ -74645,8 +75397,8 @@ "postfix": false, "binop": null }, - "start": 6238, - "end": 6239, + "start": 6279, + "end": 6280, "loc": { "start": { "line": 288, @@ -74673,8 +75425,8 @@ "updateContext": null }, "value": "this", - "start": 6240, - "end": 6244, + "start": 6281, + "end": 6285, "loc": { "start": { "line": 288, @@ -74699,8 +75451,8 @@ "binop": null, "updateContext": null }, - "start": 6244, - "end": 6245, + "start": 6285, + "end": 6286, "loc": { "start": { "line": 288, @@ -74725,8 +75477,8 @@ "binop": null }, "value": "base", - "start": 6245, - "end": 6249, + "start": 6286, + "end": 6290, "loc": { "start": { "line": 288, @@ -74751,8 +75503,8 @@ "binop": null, "updateContext": null }, - "start": 6250, - "end": 6251, + "start": 6291, + "end": 6292, "loc": { "start": { "line": 288, @@ -74778,8 +75530,8 @@ "updateContext": null }, "value": 0, - "start": 6252, - "end": 6253, + "start": 6293, + "end": 6294, "loc": { "start": { "line": 288, @@ -74804,8 +75556,8 @@ "binop": null, "updateContext": null }, - "start": 6254, - "end": 6255, + "start": 6295, + "end": 6296, "loc": { "start": { "line": 288, @@ -74830,8 +75582,8 @@ "binop": null, "updateContext": null }, - "start": 6256, - "end": 6257, + "start": 6297, + "end": 6298, "loc": { "start": { "line": 288, @@ -74857,8 +75609,8 @@ "updateContext": null }, "value": 0, - "start": 6258, - "end": 6259, + "start": 6299, + "end": 6300, "loc": { "start": { "line": 288, @@ -74883,8 +75635,8 @@ "binop": null, "updateContext": null }, - "start": 6260, - "end": 6261, + "start": 6301, + "end": 6302, "loc": { "start": { "line": 288, @@ -74908,8 +75660,8 @@ "postfix": false, "binop": null }, - "start": 6262, - "end": 6263, + "start": 6303, + "end": 6304, "loc": { "start": { "line": 288, @@ -74934,8 +75686,8 @@ "binop": null, "updateContext": null }, - "start": 6264, - "end": 6265, + "start": 6305, + "end": 6306, "loc": { "start": { "line": 288, @@ -74960,8 +75712,8 @@ "binop": null, "updateContext": null }, - "start": 6266, - "end": 6267, + "start": 6307, + "end": 6308, "loc": { "start": { "line": 288, @@ -74976,8 +75728,8 @@ { "type": "CommentLine", "value": " Dividend (& Remainder)", - "start": 6271, - "end": 6296, + "start": 6312, + "end": 6337, "loc": { "start": { "line": 290, @@ -75004,8 +75756,8 @@ "updateContext": null }, "value": "const", - "start": 6299, - "end": 6304, + "start": 6340, + "end": 6345, "loc": { "start": { "line": 291, @@ -75030,8 +75782,8 @@ "binop": null }, "value": "D", - "start": 6305, - "end": 6306, + "start": 6346, + "end": 6347, "loc": { "start": { "line": 291, @@ -75057,8 +75809,8 @@ "updateContext": null }, "value": "=", - "start": 6307, - "end": 6308, + "start": 6348, + "end": 6349, "loc": { "start": { "line": 291, @@ -75083,8 +75835,8 @@ "binop": null }, "value": "_alloc", - "start": 6309, - "end": 6315, + "start": 6350, + "end": 6356, "loc": { "start": { "line": 291, @@ -75108,8 +75860,8 @@ "postfix": false, "binop": null }, - "start": 6315, - "end": 6316, + "start": 6356, + "end": 6357, "loc": { "start": { "line": 291, @@ -75134,8 +75886,8 @@ "binop": null }, "value": "lj", - "start": 6317, - "end": 6319, + "start": 6358, + "end": 6360, "loc": { "start": { "line": 291, @@ -75161,8 +75913,8 @@ "updateContext": null }, "value": "-", - "start": 6320, - "end": 6321, + "start": 6361, + "end": 6362, "loc": { "start": { "line": 291, @@ -75187,8 +75939,8 @@ "binop": null }, "value": "li", - "start": 6322, - "end": 6324, + "start": 6363, + "end": 6365, "loc": { "start": { "line": 291, @@ -75212,8 +75964,8 @@ "postfix": false, "binop": null }, - "start": 6325, - "end": 6326, + "start": 6366, + "end": 6367, "loc": { "start": { "line": 291, @@ -75238,8 +75990,8 @@ "binop": null, "updateContext": null }, - "start": 6327, - "end": 6328, + "start": 6368, + "end": 6369, "loc": { "start": { "line": 291, @@ -75264,8 +76016,8 @@ "binop": null }, "value": "_copy", - "start": 6331, - "end": 6336, + "start": 6372, + "end": 6377, "loc": { "start": { "line": 292, @@ -75289,8 +76041,8 @@ "postfix": false, "binop": null }, - "start": 6336, - "end": 6337, + "start": 6377, + "end": 6378, "loc": { "start": { "line": 292, @@ -75317,8 +76069,8 @@ "updateContext": null }, "value": "this", - "start": 6338, - "end": 6342, + "start": 6379, + "end": 6383, "loc": { "start": { "line": 292, @@ -75343,8 +76095,8 @@ "binop": null, "updateContext": null }, - "start": 6342, - "end": 6343, + "start": 6383, + "end": 6384, "loc": { "start": { "line": 292, @@ -75369,8 +76121,8 @@ "binop": null }, "value": "limbs", - "start": 6343, - "end": 6348, + "start": 6384, + "end": 6389, "loc": { "start": { "line": 292, @@ -75395,8 +76147,8 @@ "binop": null, "updateContext": null }, - "start": 6349, - "end": 6350, + "start": 6390, + "end": 6391, "loc": { "start": { "line": 292, @@ -75421,8 +76173,8 @@ "binop": null }, "value": "li", - "start": 6351, - "end": 6353, + "start": 6392, + "end": 6394, "loc": { "start": { "line": 292, @@ -75447,8 +76199,8 @@ "binop": null, "updateContext": null }, - "start": 6354, - "end": 6355, + "start": 6395, + "end": 6396, "loc": { "start": { "line": 292, @@ -75473,8 +76225,8 @@ "binop": null }, "value": "lj", - "start": 6356, - "end": 6358, + "start": 6397, + "end": 6399, "loc": { "start": { "line": 292, @@ -75499,8 +76251,8 @@ "binop": null, "updateContext": null }, - "start": 6359, - "end": 6360, + "start": 6400, + "end": 6401, "loc": { "start": { "line": 292, @@ -75525,8 +76277,8 @@ "binop": null }, "value": "D", - "start": 6361, - "end": 6362, + "start": 6402, + "end": 6403, "loc": { "start": { "line": 292, @@ -75551,8 +76303,8 @@ "binop": null, "updateContext": null }, - "start": 6363, - "end": 6364, + "start": 6404, + "end": 6405, "loc": { "start": { "line": 292, @@ -75578,8 +76330,8 @@ "updateContext": null }, "value": 0, - "start": 6365, - "end": 6366, + "start": 6406, + "end": 6407, "loc": { "start": { "line": 292, @@ -75603,8 +76355,8 @@ "postfix": false, "binop": null }, - "start": 6367, - "end": 6368, + "start": 6408, + "end": 6409, "loc": { "start": { "line": 292, @@ -75629,8 +76381,8 @@ "binop": null, "updateContext": null }, - "start": 6369, - "end": 6370, + "start": 6410, + "end": 6411, "loc": { "start": { "line": 292, @@ -75645,8 +76397,8 @@ { "type": "CommentLine", "value": " Divisor", - "start": 6374, - "end": 6384, + "start": 6415, + "end": 6425, "loc": { "start": { "line": 294, @@ -75673,8 +76425,8 @@ "updateContext": null }, "value": "const", - "start": 6387, - "end": 6392, + "start": 6428, + "end": 6433, "loc": { "start": { "line": 295, @@ -75699,8 +76451,8 @@ "binop": null }, "value": "d", - "start": 6393, - "end": 6394, + "start": 6434, + "end": 6435, "loc": { "start": { "line": 295, @@ -75726,8 +76478,8 @@ "updateContext": null }, "value": "=", - "start": 6395, - "end": 6396, + "start": 6436, + "end": 6437, "loc": { "start": { "line": 295, @@ -75752,8 +76504,8 @@ "binop": null }, "value": "other", - "start": 6397, - "end": 6402, + "start": 6438, + "end": 6443, "loc": { "start": { "line": 295, @@ -75778,8 +76530,8 @@ "binop": null, "updateContext": null }, - "start": 6402, - "end": 6403, + "start": 6443, + "end": 6444, "loc": { "start": { "line": 295, @@ -75804,8 +76556,8 @@ "binop": null }, "value": "_limbs_in_base", - "start": 6403, - "end": 6417, + "start": 6444, + "end": 6458, "loc": { "start": { "line": 295, @@ -75829,8 +76581,8 @@ "postfix": false, "binop": null }, - "start": 6417, - "end": 6418, + "start": 6458, + "end": 6459, "loc": { "start": { "line": 295, @@ -75855,8 +76607,8 @@ "binop": null }, "value": "r", - "start": 6419, - "end": 6420, + "start": 6460, + "end": 6461, "loc": { "start": { "line": 295, @@ -75880,8 +76632,8 @@ "postfix": false, "binop": null }, - "start": 6421, - "end": 6422, + "start": 6462, + "end": 6463, "loc": { "start": { "line": 295, @@ -75906,8 +76658,8 @@ "binop": null, "updateContext": null }, - "start": 6423, - "end": 6424, + "start": 6464, + "end": 6465, "loc": { "start": { "line": 295, @@ -75934,8 +76686,8 @@ "updateContext": null }, "value": "const", - "start": 6427, - "end": 6432, + "start": 6468, + "end": 6473, "loc": { "start": { "line": 296, @@ -75960,8 +76712,8 @@ "binop": null }, "value": "dj", - "start": 6433, - "end": 6435, + "start": 6474, + "end": 6476, "loc": { "start": { "line": 296, @@ -75987,8 +76739,8 @@ "updateContext": null }, "value": "=", - "start": 6436, - "end": 6437, + "start": 6477, + "end": 6478, "loc": { "start": { "line": 296, @@ -76013,8 +76765,8 @@ "binop": null }, "value": "d", - "start": 6438, - "end": 6439, + "start": 6479, + "end": 6480, "loc": { "start": { "line": 296, @@ -76039,8 +76791,8 @@ "binop": null, "updateContext": null }, - "start": 6439, - "end": 6440, + "start": 6480, + "end": 6481, "loc": { "start": { "line": 296, @@ -76065,8 +76817,8 @@ "binop": null }, "value": "length", - "start": 6440, - "end": 6446, + "start": 6481, + "end": 6487, "loc": { "start": { "line": 296, @@ -76091,8 +76843,8 @@ "binop": null, "updateContext": null }, - "start": 6447, - "end": 6448, + "start": 6488, + "end": 6489, "loc": { "start": { "line": 296, @@ -76119,8 +76871,8 @@ "updateContext": null }, "value": "const", - "start": 6451, - "end": 6456, + "start": 6492, + "end": 6497, "loc": { "start": { "line": 297, @@ -76145,8 +76897,8 @@ "binop": null }, "value": "di", - "start": 6457, - "end": 6459, + "start": 6498, + "end": 6500, "loc": { "start": { "line": 297, @@ -76172,8 +76924,8 @@ "updateContext": null }, "value": "=", - "start": 6460, - "end": 6461, + "start": 6501, + "end": 6502, "loc": { "start": { "line": 297, @@ -76198,8 +76950,8 @@ "binop": null }, "value": "_trim_positive", - "start": 6462, - "end": 6476, + "start": 6503, + "end": 6517, "loc": { "start": { "line": 297, @@ -76223,8 +76975,8 @@ "postfix": false, "binop": null }, - "start": 6476, - "end": 6477, + "start": 6517, + "end": 6518, "loc": { "start": { "line": 297, @@ -76249,8 +77001,8 @@ "binop": null }, "value": "d", - "start": 6478, - "end": 6479, + "start": 6519, + "end": 6520, "loc": { "start": { "line": 297, @@ -76275,8 +77027,8 @@ "binop": null, "updateContext": null }, - "start": 6480, - "end": 6481, + "start": 6521, + "end": 6522, "loc": { "start": { "line": 297, @@ -76302,8 +77054,8 @@ "updateContext": null }, "value": 0, - "start": 6482, - "end": 6483, + "start": 6523, + "end": 6524, "loc": { "start": { "line": 297, @@ -76328,8 +77080,8 @@ "binop": null, "updateContext": null }, - "start": 6484, - "end": 6485, + "start": 6525, + "end": 6526, "loc": { "start": { "line": 297, @@ -76354,8 +77106,8 @@ "binop": null }, "value": "dj", - "start": 6486, - "end": 6488, + "start": 6527, + "end": 6529, "loc": { "start": { "line": 297, @@ -76379,8 +77131,8 @@ "postfix": false, "binop": null }, - "start": 6489, - "end": 6490, + "start": 6530, + "end": 6531, "loc": { "start": { "line": 297, @@ -76405,8 +77157,8 @@ "binop": null, "updateContext": null }, - "start": 6491, - "end": 6492, + "start": 6532, + "end": 6533, "loc": { "start": { "line": 297, @@ -76421,8 +77173,8 @@ { "type": "CommentLine", "value": " di < dj because d != 0", - "start": 6493, - "end": 6518, + "start": 6534, + "end": 6559, "loc": { "start": { "line": 297, @@ -76437,8 +77189,8 @@ { "type": "CommentLine", "value": " Quotient", - "start": 6522, - "end": 6533, + "start": 6563, + "end": 6574, "loc": { "start": { "line": 299, @@ -76465,8 +77217,8 @@ "updateContext": null }, "value": "const", - "start": 6536, - "end": 6541, + "start": 6577, + "end": 6582, "loc": { "start": { "line": 300, @@ -76491,8 +77243,8 @@ "binop": null }, "value": "q", - "start": 6542, - "end": 6543, + "start": 6583, + "end": 6584, "loc": { "start": { "line": 300, @@ -76518,8 +77270,8 @@ "updateContext": null }, "value": "=", - "start": 6544, - "end": 6545, + "start": 6585, + "end": 6586, "loc": { "start": { "line": 300, @@ -76544,8 +77296,8 @@ "binop": null }, "value": "_zeros", - "start": 6546, - "end": 6552, + "start": 6587, + "end": 6593, "loc": { "start": { "line": 300, @@ -76569,8 +77321,8 @@ "postfix": false, "binop": null }, - "start": 6552, - "end": 6553, + "start": 6593, + "end": 6594, "loc": { "start": { "line": 300, @@ -76595,8 +77347,8 @@ "binop": null }, "value": "D", - "start": 6554, - "end": 6555, + "start": 6595, + "end": 6596, "loc": { "start": { "line": 300, @@ -76621,8 +77373,8 @@ "binop": null, "updateContext": null }, - "start": 6555, - "end": 6556, + "start": 6596, + "end": 6597, "loc": { "start": { "line": 300, @@ -76647,8 +77399,8 @@ "binop": null }, "value": "length", - "start": 6556, - "end": 6562, + "start": 6597, + "end": 6603, "loc": { "start": { "line": 300, @@ -76672,8 +77424,8 @@ "postfix": false, "binop": null }, - "start": 6563, - "end": 6564, + "start": 6604, + "end": 6605, "loc": { "start": { "line": 300, @@ -76698,8 +77450,8 @@ "binop": null, "updateContext": null }, - "start": 6565, - "end": 6566, + "start": 6606, + "end": 6607, "loc": { "start": { "line": 300, @@ -76724,8 +77476,8 @@ "binop": null }, "value": "_idivmod", - "start": 6570, - "end": 6578, + "start": 6611, + "end": 6619, "loc": { "start": { "line": 302, @@ -76749,8 +77501,8 @@ "postfix": false, "binop": null }, - "start": 6578, - "end": 6579, + "start": 6619, + "end": 6620, "loc": { "start": { "line": 302, @@ -76775,8 +77527,8 @@ "binop": null }, "value": "r", - "start": 6580, - "end": 6581, + "start": 6621, + "end": 6622, "loc": { "start": { "line": 302, @@ -76801,8 +77553,8 @@ "binop": null, "updateContext": null }, - "start": 6582, - "end": 6583, + "start": 6623, + "end": 6624, "loc": { "start": { "line": 302, @@ -76827,8 +77579,8 @@ "binop": null }, "value": "D", - "start": 6584, - "end": 6585, + "start": 6625, + "end": 6626, "loc": { "start": { "line": 302, @@ -76853,8 +77605,8 @@ "binop": null, "updateContext": null }, - "start": 6586, - "end": 6587, + "start": 6627, + "end": 6628, "loc": { "start": { "line": 302, @@ -76880,8 +77632,8 @@ "updateContext": null }, "value": 0, - "start": 6588, - "end": 6589, + "start": 6629, + "end": 6630, "loc": { "start": { "line": 302, @@ -76906,8 +77658,8 @@ "binop": null, "updateContext": null }, - "start": 6590, - "end": 6591, + "start": 6631, + "end": 6632, "loc": { "start": { "line": 302, @@ -76932,8 +77684,8 @@ "binop": null }, "value": "D", - "start": 6592, - "end": 6593, + "start": 6633, + "end": 6634, "loc": { "start": { "line": 302, @@ -76958,8 +77710,8 @@ "binop": null, "updateContext": null }, - "start": 6593, - "end": 6594, + "start": 6634, + "end": 6635, "loc": { "start": { "line": 302, @@ -76984,8 +77736,8 @@ "binop": null }, "value": "length", - "start": 6594, - "end": 6600, + "start": 6635, + "end": 6641, "loc": { "start": { "line": 302, @@ -77010,8 +77762,8 @@ "binop": null, "updateContext": null }, - "start": 6601, - "end": 6602, + "start": 6642, + "end": 6643, "loc": { "start": { "line": 302, @@ -77036,8 +77788,8 @@ "binop": null }, "value": "d", - "start": 6603, - "end": 6604, + "start": 6644, + "end": 6645, "loc": { "start": { "line": 302, @@ -77062,8 +77814,8 @@ "binop": null, "updateContext": null }, - "start": 6605, - "end": 6606, + "start": 6646, + "end": 6647, "loc": { "start": { "line": 302, @@ -77088,8 +77840,8 @@ "binop": null }, "value": "di", - "start": 6607, - "end": 6609, + "start": 6648, + "end": 6650, "loc": { "start": { "line": 302, @@ -77114,8 +77866,8 @@ "binop": null, "updateContext": null }, - "start": 6610, - "end": 6611, + "start": 6651, + "end": 6652, "loc": { "start": { "line": 302, @@ -77140,8 +77892,8 @@ "binop": null }, "value": "dj", - "start": 6612, - "end": 6614, + "start": 6653, + "end": 6655, "loc": { "start": { "line": 302, @@ -77166,8 +77918,8 @@ "binop": null, "updateContext": null }, - "start": 6615, - "end": 6616, + "start": 6656, + "end": 6657, "loc": { "start": { "line": 302, @@ -77192,8 +77944,8 @@ "binop": null }, "value": "q", - "start": 6617, - "end": 6618, + "start": 6658, + "end": 6659, "loc": { "start": { "line": 302, @@ -77218,8 +77970,8 @@ "binop": null, "updateContext": null }, - "start": 6619, - "end": 6620, + "start": 6660, + "end": 6661, "loc": { "start": { "line": 302, @@ -77245,8 +77997,8 @@ "updateContext": null }, "value": 0, - "start": 6621, - "end": 6622, + "start": 6662, + "end": 6663, "loc": { "start": { "line": 302, @@ -77271,8 +78023,8 @@ "binop": null, "updateContext": null }, - "start": 6623, - "end": 6624, + "start": 6664, + "end": 6665, "loc": { "start": { "line": 302, @@ -77297,8 +78049,8 @@ "binop": null }, "value": "q", - "start": 6625, - "end": 6626, + "start": 6666, + "end": 6667, "loc": { "start": { "line": 302, @@ -77323,8 +78075,8 @@ "binop": null, "updateContext": null }, - "start": 6626, - "end": 6627, + "start": 6667, + "end": 6668, "loc": { "start": { "line": 302, @@ -77349,8 +78101,8 @@ "binop": null }, "value": "length", - "start": 6627, - "end": 6633, + "start": 6668, + "end": 6674, "loc": { "start": { "line": 302, @@ -77374,8 +78126,8 @@ "postfix": false, "binop": null }, - "start": 6634, - "end": 6635, + "start": 6675, + "end": 6676, "loc": { "start": { "line": 302, @@ -77400,8 +78152,8 @@ "binop": null, "updateContext": null }, - "start": 6636, - "end": 6637, + "start": 6677, + "end": 6678, "loc": { "start": { "line": 302, @@ -77428,8 +78180,8 @@ "updateContext": null }, "value": "const", - "start": 6641, - "end": 6646, + "start": 6682, + "end": 6687, "loc": { "start": { "line": 304, @@ -77454,8 +78206,8 @@ "binop": null }, "value": "Q", - "start": 6647, - "end": 6648, + "start": 6688, + "end": 6689, "loc": { "start": { "line": 304, @@ -77481,8 +78233,8 @@ "updateContext": null }, "value": "=", - "start": 6649, - "end": 6650, + "start": 6690, + "end": 6691, "loc": { "start": { "line": 304, @@ -77509,8 +78261,8 @@ "updateContext": null }, "value": "new", - "start": 6651, - "end": 6654, + "start": 6692, + "end": 6695, "loc": { "start": { "line": 304, @@ -77535,8 +78287,8 @@ "binop": null }, "value": "Integer", - "start": 6655, - "end": 6662, + "start": 6696, + "end": 6703, "loc": { "start": { "line": 304, @@ -77560,8 +78312,8 @@ "postfix": false, "binop": null }, - "start": 6662, - "end": 6663, + "start": 6703, + "end": 6704, "loc": { "start": { "line": 304, @@ -77586,8 +78338,8 @@ "binop": null }, "value": "r", - "start": 6664, - "end": 6665, + "start": 6705, + "end": 6706, "loc": { "start": { "line": 304, @@ -77612,8 +78364,8 @@ "binop": null, "updateContext": null }, - "start": 6666, - "end": 6667, + "start": 6707, + "end": 6708, "loc": { "start": { "line": 304, @@ -77638,8 +78390,8 @@ "binop": null }, "value": "quotient_is_negative", - "start": 6668, - "end": 6688, + "start": 6709, + "end": 6729, "loc": { "start": { "line": 304, @@ -77664,8 +78416,8 @@ "binop": null, "updateContext": null }, - "start": 6689, - "end": 6690, + "start": 6730, + "end": 6731, "loc": { "start": { "line": 304, @@ -77690,8 +78442,8 @@ "binop": null }, "value": "q", - "start": 6691, - "end": 6692, + "start": 6732, + "end": 6733, "loc": { "start": { "line": 304, @@ -77715,8 +78467,8 @@ "postfix": false, "binop": null }, - "start": 6693, - "end": 6694, + "start": 6734, + "end": 6735, "loc": { "start": { "line": 304, @@ -77741,8 +78493,8 @@ "binop": null, "updateContext": null }, - "start": 6695, - "end": 6696, + "start": 6736, + "end": 6737, "loc": { "start": { "line": 304, @@ -77757,8 +78509,8 @@ { "type": "CommentLine", "value": " quotient", - "start": 6697, - "end": 6708, + "start": 6738, + "end": 6749, "loc": { "start": { "line": 304, @@ -77785,8 +78537,8 @@ "updateContext": null }, "value": "const", - "start": 6711, - "end": 6716, + "start": 6752, + "end": 6757, "loc": { "start": { "line": 305, @@ -77811,8 +78563,8 @@ "binop": null }, "value": "R", - "start": 6717, - "end": 6718, + "start": 6758, + "end": 6759, "loc": { "start": { "line": 305, @@ -77838,8 +78590,8 @@ "updateContext": null }, "value": "=", - "start": 6719, - "end": 6720, + "start": 6760, + "end": 6761, "loc": { "start": { "line": 305, @@ -77866,8 +78618,8 @@ "updateContext": null }, "value": "new", - "start": 6721, - "end": 6724, + "start": 6762, + "end": 6765, "loc": { "start": { "line": 305, @@ -77892,8 +78644,8 @@ "binop": null }, "value": "Integer", - "start": 6725, - "end": 6732, + "start": 6766, + "end": 6773, "loc": { "start": { "line": 305, @@ -77917,8 +78669,8 @@ "postfix": false, "binop": null }, - "start": 6732, - "end": 6733, + "start": 6773, + "end": 6774, "loc": { "start": { "line": 305, @@ -77943,8 +78695,8 @@ "binop": null }, "value": "r", - "start": 6734, - "end": 6735, + "start": 6775, + "end": 6776, "loc": { "start": { "line": 305, @@ -77969,8 +78721,8 @@ "binop": null, "updateContext": null }, - "start": 6736, - "end": 6737, + "start": 6777, + "end": 6778, "loc": { "start": { "line": 305, @@ -77996,8 +78748,8 @@ "updateContext": null }, "value": 0, - "start": 6738, - "end": 6739, + "start": 6779, + "end": 6780, "loc": { "start": { "line": 305, @@ -78022,8 +78774,8 @@ "binop": null, "updateContext": null }, - "start": 6740, - "end": 6741, + "start": 6781, + "end": 6782, "loc": { "start": { "line": 305, @@ -78048,8 +78800,8 @@ "binop": null }, "value": "D", - "start": 6742, - "end": 6743, + "start": 6783, + "end": 6784, "loc": { "start": { "line": 305, @@ -78073,8 +78825,8 @@ "postfix": false, "binop": null }, - "start": 6744, - "end": 6745, + "start": 6785, + "end": 6786, "loc": { "start": { "line": 305, @@ -78099,8 +78851,8 @@ "binop": null, "updateContext": null }, - "start": 6746, - "end": 6747, + "start": 6787, + "end": 6788, "loc": { "start": { "line": 305, @@ -78115,8 +78867,8 @@ { "type": "CommentLine", "value": " remainder", - "start": 6767, - "end": 6779, + "start": 6808, + "end": 6820, "loc": { "start": { "line": 305, @@ -78143,8 +78895,8 @@ "updateContext": null }, "value": "if", - "start": 6783, - "end": 6785, + "start": 6824, + "end": 6826, "loc": { "start": { "line": 307, @@ -78168,8 +78920,8 @@ "postfix": false, "binop": null }, - "start": 6786, - "end": 6787, + "start": 6827, + "end": 6828, "loc": { "start": { "line": 307, @@ -78193,8 +78945,8 @@ "postfix": false, "binop": null }, - "start": 6788, - "end": 6789, + "start": 6829, + "end": 6830, "loc": { "start": { "line": 307, @@ -78221,8 +78973,8 @@ "updateContext": null }, "value": "this", - "start": 6789, - "end": 6793, + "start": 6830, + "end": 6834, "loc": { "start": { "line": 307, @@ -78247,8 +78999,8 @@ "binop": null, "updateContext": null }, - "start": 6793, - "end": 6794, + "start": 6834, + "end": 6835, "loc": { "start": { "line": 307, @@ -78273,8 +79025,8 @@ "binop": null }, "value": "is_negative", - "start": 6794, - "end": 6805, + "start": 6835, + "end": 6846, "loc": { "start": { "line": 307, @@ -78300,8 +79052,8 @@ "updateContext": null }, "value": "||", - "start": 6806, - "end": 6808, + "start": 6847, + "end": 6849, "loc": { "start": { "line": 307, @@ -78326,8 +79078,8 @@ "binop": null }, "value": "other", - "start": 6809, - "end": 6814, + "start": 6850, + "end": 6855, "loc": { "start": { "line": 307, @@ -78352,8 +79104,8 @@ "binop": null, "updateContext": null }, - "start": 6814, - "end": 6815, + "start": 6855, + "end": 6856, "loc": { "start": { "line": 307, @@ -78378,8 +79130,8 @@ "binop": null }, "value": "is_negative", - "start": 6815, - "end": 6826, + "start": 6856, + "end": 6867, "loc": { "start": { "line": 307, @@ -78403,8 +79155,8 @@ "postfix": false, "binop": null }, - "start": 6827, - "end": 6828, + "start": 6868, + "end": 6869, "loc": { "start": { "line": 307, @@ -78430,8 +79182,8 @@ "updateContext": null }, "value": "&&", - "start": 6829, - "end": 6831, + "start": 6870, + "end": 6872, "loc": { "start": { "line": 307, @@ -78457,8 +79209,8 @@ "updateContext": null }, "value": "!", - "start": 6832, - "end": 6833, + "start": 6873, + "end": 6874, "loc": { "start": { "line": 307, @@ -78483,8 +79235,8 @@ "binop": null }, "value": "jz", - "start": 6833, - "end": 6835, + "start": 6874, + "end": 6876, "loc": { "start": { "line": 307, @@ -78508,8 +79260,8 @@ "postfix": false, "binop": null }, - "start": 6835, - "end": 6836, + "start": 6876, + "end": 6877, "loc": { "start": { "line": 307, @@ -78534,8 +79286,8 @@ "binop": null }, "value": "D", - "start": 6837, - "end": 6838, + "start": 6878, + "end": 6879, "loc": { "start": { "line": 307, @@ -78560,8 +79312,8 @@ "binop": null, "updateContext": null }, - "start": 6839, - "end": 6840, + "start": 6880, + "end": 6881, "loc": { "start": { "line": 307, @@ -78587,8 +79339,8 @@ "updateContext": null }, "value": 0, - "start": 6841, - "end": 6842, + "start": 6882, + "end": 6883, "loc": { "start": { "line": 307, @@ -78613,8 +79365,8 @@ "binop": null, "updateContext": null }, - "start": 6843, - "end": 6844, + "start": 6884, + "end": 6885, "loc": { "start": { "line": 307, @@ -78639,8 +79391,8 @@ "binop": null }, "value": "D", - "start": 6845, - "end": 6846, + "start": 6886, + "end": 6887, "loc": { "start": { "line": 307, @@ -78665,8 +79417,8 @@ "binop": null, "updateContext": null }, - "start": 6846, - "end": 6847, + "start": 6887, + "end": 6888, "loc": { "start": { "line": 307, @@ -78691,8 +79443,8 @@ "binop": null }, "value": "length", - "start": 6847, - "end": 6853, + "start": 6888, + "end": 6894, "loc": { "start": { "line": 307, @@ -78716,8 +79468,8 @@ "postfix": false, "binop": null }, - "start": 6854, - "end": 6855, + "start": 6895, + "end": 6896, "loc": { "start": { "line": 307, @@ -78741,8 +79493,8 @@ "postfix": false, "binop": null }, - "start": 6856, - "end": 6857, + "start": 6897, + "end": 6898, "loc": { "start": { "line": 307, @@ -78766,8 +79518,8 @@ "postfix": false, "binop": null }, - "start": 6858, - "end": 6859, + "start": 6899, + "end": 6900, "loc": { "start": { "line": 307, @@ -78794,8 +79546,8 @@ "updateContext": null }, "value": "if", - "start": 6864, - "end": 6866, + "start": 6905, + "end": 6907, "loc": { "start": { "line": 309, @@ -78819,8 +79571,8 @@ "postfix": false, "binop": null }, - "start": 6867, - "end": 6868, + "start": 6908, + "end": 6909, "loc": { "start": { "line": 309, @@ -78845,8 +79597,8 @@ "binop": null }, "value": "other", - "start": 6869, - "end": 6874, + "start": 6910, + "end": 6915, "loc": { "start": { "line": 309, @@ -78871,8 +79623,8 @@ "binop": null, "updateContext": null }, - "start": 6874, - "end": 6875, + "start": 6915, + "end": 6916, "loc": { "start": { "line": 309, @@ -78897,8 +79649,8 @@ "binop": null }, "value": "is_negative", - "start": 6875, - "end": 6886, + "start": 6916, + "end": 6927, "loc": { "start": { "line": 309, @@ -78922,8 +79674,8 @@ "postfix": false, "binop": null }, - "start": 6887, - "end": 6888, + "start": 6928, + "end": 6929, "loc": { "start": { "line": 309, @@ -78947,8 +79699,8 @@ "postfix": false, "binop": null }, - "start": 6889, - "end": 6890, + "start": 6930, + "end": 6931, "loc": { "start": { "line": 309, @@ -78975,8 +79727,8 @@ "updateContext": null }, "value": "if", - "start": 6896, - "end": 6898, + "start": 6937, + "end": 6939, "loc": { "start": { "line": 311, @@ -79000,8 +79752,8 @@ "postfix": false, "binop": null }, - "start": 6899, - "end": 6900, + "start": 6940, + "end": 6941, "loc": { "start": { "line": 311, @@ -79027,8 +79779,8 @@ "updateContext": null }, "value": "!", - "start": 6901, - "end": 6902, + "start": 6942, + "end": 6943, "loc": { "start": { "line": 311, @@ -79055,8 +79807,8 @@ "updateContext": null }, "value": "this", - "start": 6902, - "end": 6906, + "start": 6943, + "end": 6947, "loc": { "start": { "line": 311, @@ -79081,8 +79833,8 @@ "binop": null, "updateContext": null }, - "start": 6906, - "end": 6907, + "start": 6947, + "end": 6948, "loc": { "start": { "line": 311, @@ -79107,8 +79859,8 @@ "binop": null }, "value": "is_negative", - "start": 6907, - "end": 6918, + "start": 6948, + "end": 6959, "loc": { "start": { "line": 311, @@ -79132,8 +79884,8 @@ "postfix": false, "binop": null }, - "start": 6919, - "end": 6920, + "start": 6960, + "end": 6961, "loc": { "start": { "line": 311, @@ -79157,8 +79909,8 @@ "postfix": false, "binop": null }, - "start": 6921, - "end": 6922, + "start": 6962, + "end": 6963, "loc": { "start": { "line": 311, @@ -79183,8 +79935,8 @@ "binop": null }, "value": "increment", - "start": 6928, - "end": 6937, + "start": 6969, + "end": 6978, "loc": { "start": { "line": 312, @@ -79208,8 +79960,8 @@ "postfix": false, "binop": null }, - "start": 6937, - "end": 6938, + "start": 6978, + "end": 6979, "loc": { "start": { "line": 312, @@ -79234,8 +79986,8 @@ "binop": null }, "value": "r", - "start": 6939, - "end": 6940, + "start": 6980, + "end": 6981, "loc": { "start": { "line": 312, @@ -79260,8 +80012,8 @@ "binop": null, "updateContext": null }, - "start": 6941, - "end": 6942, + "start": 6982, + "end": 6983, "loc": { "start": { "line": 312, @@ -79286,8 +80038,8 @@ "binop": null }, "value": "q", - "start": 6943, - "end": 6944, + "start": 6984, + "end": 6985, "loc": { "start": { "line": 312, @@ -79312,8 +80064,8 @@ "binop": null, "updateContext": null }, - "start": 6945, - "end": 6946, + "start": 6986, + "end": 6987, "loc": { "start": { "line": 312, @@ -79339,8 +80091,8 @@ "updateContext": null }, "value": 0, - "start": 6947, - "end": 6948, + "start": 6988, + "end": 6989, "loc": { "start": { "line": 312, @@ -79365,8 +80117,8 @@ "binop": null, "updateContext": null }, - "start": 6949, - "end": 6950, + "start": 6990, + "end": 6991, "loc": { "start": { "line": 312, @@ -79391,8 +80143,8 @@ "binop": null }, "value": "q", - "start": 6951, - "end": 6952, + "start": 6992, + "end": 6993, "loc": { "start": { "line": 312, @@ -79417,8 +80169,8 @@ "binop": null, "updateContext": null }, - "start": 6952, - "end": 6953, + "start": 6993, + "end": 6994, "loc": { "start": { "line": 312, @@ -79443,8 +80195,8 @@ "binop": null }, "value": "length", - "start": 6953, - "end": 6959, + "start": 6994, + "end": 7000, "loc": { "start": { "line": 312, @@ -79468,8 +80220,8 @@ "postfix": false, "binop": null }, - "start": 6960, - "end": 6961, + "start": 7001, + "end": 7002, "loc": { "start": { "line": 312, @@ -79494,8 +80246,8 @@ "binop": null, "updateContext": null }, - "start": 6962, - "end": 6963, + "start": 7003, + "end": 7004, "loc": { "start": { "line": 312, @@ -79520,8 +80272,8 @@ "binop": null }, "value": "R", - "start": 6969, - "end": 6970, + "start": 7010, + "end": 7011, "loc": { "start": { "line": 313, @@ -79546,8 +80298,8 @@ "binop": null, "updateContext": null }, - "start": 6970, - "end": 6971, + "start": 7011, + "end": 7012, "loc": { "start": { "line": 313, @@ -79572,8 +80324,8 @@ "binop": null }, "value": "iadd", - "start": 6971, - "end": 6975, + "start": 7012, + "end": 7016, "loc": { "start": { "line": 313, @@ -79597,8 +80349,8 @@ "postfix": false, "binop": null }, - "start": 6975, - "end": 6976, + "start": 7016, + "end": 7017, "loc": { "start": { "line": 313, @@ -79623,8 +80375,8 @@ "binop": null }, "value": "other", - "start": 6977, - "end": 6982, + "start": 7018, + "end": 7023, "loc": { "start": { "line": 313, @@ -79648,8 +80400,8 @@ "postfix": false, "binop": null }, - "start": 6983, - "end": 6984, + "start": 7024, + "end": 7025, "loc": { "start": { "line": 313, @@ -79674,8 +80426,8 @@ "binop": null, "updateContext": null }, - "start": 6985, - "end": 6986, + "start": 7026, + "end": 7027, "loc": { "start": { "line": 313, @@ -79690,8 +80442,8 @@ { "type": "CommentLine", "value": " TODO optimize", - "start": 6987, - "end": 7003, + "start": 7028, + "end": 7044, "loc": { "start": { "line": 313, @@ -79715,8 +80467,8 @@ "postfix": false, "binop": null }, - "start": 7008, - "end": 7009, + "start": 7049, + "end": 7050, "loc": { "start": { "line": 314, @@ -79743,8 +80495,8 @@ "updateContext": null }, "value": "else", - "start": 7015, - "end": 7019, + "start": 7056, + "end": 7060, "loc": { "start": { "line": 316, @@ -79768,8 +80520,8 @@ "postfix": false, "binop": null }, - "start": 7020, - "end": 7021, + "start": 7061, + "end": 7062, "loc": { "start": { "line": 316, @@ -79794,8 +80546,8 @@ "binop": null }, "value": "R", - "start": 7027, - "end": 7028, + "start": 7068, + "end": 7069, "loc": { "start": { "line": 317, @@ -79820,8 +80572,8 @@ "binop": null, "updateContext": null }, - "start": 7028, - "end": 7029, + "start": 7069, + "end": 7070, "loc": { "start": { "line": 317, @@ -79846,8 +80598,8 @@ "binop": null }, "value": "negate", - "start": 7029, - "end": 7035, + "start": 7070, + "end": 7076, "loc": { "start": { "line": 317, @@ -79871,8 +80623,8 @@ "postfix": false, "binop": null }, - "start": 7035, - "end": 7036, + "start": 7076, + "end": 7077, "loc": { "start": { "line": 317, @@ -79896,8 +80648,8 @@ "postfix": false, "binop": null }, - "start": 7036, - "end": 7037, + "start": 7077, + "end": 7078, "loc": { "start": { "line": 317, @@ -79922,8 +80674,8 @@ "binop": null, "updateContext": null }, - "start": 7037, - "end": 7038, + "start": 7078, + "end": 7079, "loc": { "start": { "line": 317, @@ -79938,8 +80690,8 @@ { "type": "CommentLine", "value": " TODO optimize", - "start": 7039, - "end": 7055, + "start": 7080, + "end": 7096, "loc": { "start": { "line": 317, @@ -79963,8 +80715,8 @@ "postfix": false, "binop": null }, - "start": 7060, - "end": 7061, + "start": 7101, + "end": 7102, "loc": { "start": { "line": 318, @@ -79988,8 +80740,8 @@ "postfix": false, "binop": null }, - "start": 7066, - "end": 7067, + "start": 7107, + "end": 7108, "loc": { "start": { "line": 320, @@ -80016,8 +80768,8 @@ "updateContext": null }, "value": "else", - "start": 7072, - "end": 7076, + "start": 7113, + "end": 7117, "loc": { "start": { "line": 322, @@ -80041,8 +80793,8 @@ "postfix": false, "binop": null }, - "start": 7077, - "end": 7078, + "start": 7118, + "end": 7119, "loc": { "start": { "line": 322, @@ -80067,8 +80819,8 @@ "binop": null }, "value": "increment", - "start": 7083, - "end": 7092, + "start": 7124, + "end": 7133, "loc": { "start": { "line": 323, @@ -80092,8 +80844,8 @@ "postfix": false, "binop": null }, - "start": 7092, - "end": 7093, + "start": 7133, + "end": 7134, "loc": { "start": { "line": 323, @@ -80118,8 +80870,8 @@ "binop": null }, "value": "r", - "start": 7094, - "end": 7095, + "start": 7135, + "end": 7136, "loc": { "start": { "line": 323, @@ -80144,8 +80896,8 @@ "binop": null, "updateContext": null }, - "start": 7096, - "end": 7097, + "start": 7137, + "end": 7138, "loc": { "start": { "line": 323, @@ -80170,8 +80922,8 @@ "binop": null }, "value": "q", - "start": 7098, - "end": 7099, + "start": 7139, + "end": 7140, "loc": { "start": { "line": 323, @@ -80196,8 +80948,8 @@ "binop": null, "updateContext": null }, - "start": 7100, - "end": 7101, + "start": 7141, + "end": 7142, "loc": { "start": { "line": 323, @@ -80223,8 +80975,8 @@ "updateContext": null }, "value": 0, - "start": 7102, - "end": 7103, + "start": 7143, + "end": 7144, "loc": { "start": { "line": 323, @@ -80249,8 +81001,8 @@ "binop": null, "updateContext": null }, - "start": 7104, - "end": 7105, + "start": 7145, + "end": 7146, "loc": { "start": { "line": 323, @@ -80275,8 +81027,8 @@ "binop": null }, "value": "q", - "start": 7106, - "end": 7107, + "start": 7147, + "end": 7148, "loc": { "start": { "line": 323, @@ -80301,8 +81053,8 @@ "binop": null, "updateContext": null }, - "start": 7107, - "end": 7108, + "start": 7148, + "end": 7149, "loc": { "start": { "line": 323, @@ -80327,8 +81079,8 @@ "binop": null }, "value": "length", - "start": 7108, - "end": 7114, + "start": 7149, + "end": 7155, "loc": { "start": { "line": 323, @@ -80352,8 +81104,8 @@ "postfix": false, "binop": null }, - "start": 7115, - "end": 7116, + "start": 7156, + "end": 7157, "loc": { "start": { "line": 323, @@ -80378,8 +81130,8 @@ "binop": null, "updateContext": null }, - "start": 7117, - "end": 7118, + "start": 7158, + "end": 7159, "loc": { "start": { "line": 323, @@ -80404,8 +81156,8 @@ "binop": null }, "value": "R", - "start": 7123, - "end": 7124, + "start": 7164, + "end": 7165, "loc": { "start": { "line": 324, @@ -80430,8 +81182,8 @@ "binop": null, "updateContext": null }, - "start": 7124, - "end": 7125, + "start": 7165, + "end": 7166, "loc": { "start": { "line": 324, @@ -80456,8 +81208,8 @@ "binop": null }, "value": "negate", - "start": 7125, - "end": 7131, + "start": 7166, + "end": 7172, "loc": { "start": { "line": 324, @@ -80481,8 +81233,8 @@ "postfix": false, "binop": null }, - "start": 7131, - "end": 7132, + "start": 7172, + "end": 7173, "loc": { "start": { "line": 324, @@ -80506,8 +81258,8 @@ "postfix": false, "binop": null }, - "start": 7132, - "end": 7133, + "start": 7173, + "end": 7174, "loc": { "start": { "line": 324, @@ -80532,8 +81284,8 @@ "binop": null, "updateContext": null }, - "start": 7133, - "end": 7134, + "start": 7174, + "end": 7175, "loc": { "start": { "line": 324, @@ -80558,8 +81310,8 @@ "binop": null }, "value": "iadd", - "start": 7134, - "end": 7138, + "start": 7175, + "end": 7179, "loc": { "start": { "line": 324, @@ -80583,8 +81335,8 @@ "postfix": false, "binop": null }, - "start": 7138, - "end": 7139, + "start": 7179, + "end": 7180, "loc": { "start": { "line": 324, @@ -80609,8 +81361,8 @@ "binop": null }, "value": "other", - "start": 7140, - "end": 7145, + "start": 7181, + "end": 7186, "loc": { "start": { "line": 324, @@ -80634,8 +81386,8 @@ "postfix": false, "binop": null }, - "start": 7146, - "end": 7147, + "start": 7187, + "end": 7188, "loc": { "start": { "line": 324, @@ -80660,8 +81412,8 @@ "binop": null, "updateContext": null }, - "start": 7148, - "end": 7149, + "start": 7189, + "end": 7190, "loc": { "start": { "line": 324, @@ -80676,8 +81428,8 @@ { "type": "CommentLine", "value": " TODO optimize", - "start": 7150, - "end": 7166, + "start": 7191, + "end": 7207, "loc": { "start": { "line": 324, @@ -80701,8 +81453,8 @@ "postfix": false, "binop": null }, - "start": 7170, - "end": 7171, + "start": 7211, + "end": 7212, "loc": { "start": { "line": 325, @@ -80726,8 +81478,8 @@ "postfix": false, "binop": null }, - "start": 7175, - "end": 7176, + "start": 7216, + "end": 7217, "loc": { "start": { "line": 327, @@ -80754,8 +81506,8 @@ "updateContext": null }, "value": "return", - "start": 7180, - "end": 7186, + "start": 7221, + "end": 7227, "loc": { "start": { "line": 329, @@ -80780,8 +81532,8 @@ "binop": null, "updateContext": null }, - "start": 7187, - "end": 7188, + "start": 7228, + "end": 7229, "loc": { "start": { "line": 329, @@ -80806,8 +81558,8 @@ "binop": null }, "value": "Q", - "start": 7189, - "end": 7190, + "start": 7230, + "end": 7231, "loc": { "start": { "line": 329, @@ -80832,8 +81584,8 @@ "binop": null, "updateContext": null }, - "start": 7191, - "end": 7192, + "start": 7232, + "end": 7233, "loc": { "start": { "line": 329, @@ -80858,8 +81610,8 @@ "binop": null }, "value": "R", - "start": 7193, - "end": 7194, + "start": 7234, + "end": 7235, "loc": { "start": { "line": 329, @@ -80884,8 +81636,8 @@ "binop": null, "updateContext": null }, - "start": 7195, - "end": 7196, + "start": 7236, + "end": 7237, "loc": { "start": { "line": 329, @@ -80910,8 +81662,8 @@ "binop": null, "updateContext": null }, - "start": 7197, - "end": 7198, + "start": 7238, + "end": 7239, "loc": { "start": { "line": 329, @@ -80935,8 +81687,8 @@ "postfix": false, "binop": null }, - "start": 7201, - "end": 7202, + "start": 7242, + "end": 7243, "loc": { "start": { "line": 331, @@ -80961,8 +81713,8 @@ "binop": null }, "value": "idivmod", - "start": 7205, - "end": 7212, + "start": 7246, + "end": 7253, "loc": { "start": { "line": 333, @@ -80986,8 +81738,8 @@ "postfix": false, "binop": null }, - "start": 7213, - "end": 7214, + "start": 7254, + "end": 7255, "loc": { "start": { "line": 333, @@ -81012,8 +81764,8 @@ "binop": null }, "value": "other", - "start": 7215, - "end": 7220, + "start": 7256, + "end": 7261, "loc": { "start": { "line": 333, @@ -81037,8 +81789,8 @@ "postfix": false, "binop": null }, - "start": 7221, - "end": 7222, + "start": 7262, + "end": 7263, "loc": { "start": { "line": 333, @@ -81062,8 +81814,8 @@ "postfix": false, "binop": null }, - "start": 7223, - "end": 7224, + "start": 7264, + "end": 7265, "loc": { "start": { "line": 333, @@ -81078,8 +81830,8 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 7227, - "end": 7276, + "start": 7268, + "end": 7317, "loc": { "start": { "line": 334, @@ -81106,8 +81858,8 @@ "updateContext": null }, "value": "const", - "start": 7279, - "end": 7284, + "start": 7320, + "end": 7325, "loc": { "start": { "line": 335, @@ -81132,8 +81884,8 @@ "binop": null, "updateContext": null }, - "start": 7285, - "end": 7286, + "start": 7326, + "end": 7327, "loc": { "start": { "line": 335, @@ -81158,8 +81910,8 @@ "binop": null }, "value": "q", - "start": 7287, - "end": 7288, + "start": 7328, + "end": 7329, "loc": { "start": { "line": 335, @@ -81184,8 +81936,8 @@ "binop": null, "updateContext": null }, - "start": 7289, - "end": 7290, + "start": 7330, + "end": 7331, "loc": { "start": { "line": 335, @@ -81210,8 +81962,8 @@ "binop": null }, "value": "r", - "start": 7291, - "end": 7292, + "start": 7332, + "end": 7333, "loc": { "start": { "line": 335, @@ -81236,8 +81988,8 @@ "binop": null, "updateContext": null }, - "start": 7293, - "end": 7294, + "start": 7334, + "end": 7335, "loc": { "start": { "line": 335, @@ -81263,8 +82015,8 @@ "updateContext": null }, "value": "=", - "start": 7295, - "end": 7296, + "start": 7336, + "end": 7337, "loc": { "start": { "line": 335, @@ -81291,8 +82043,8 @@ "updateContext": null }, "value": "this", - "start": 7297, - "end": 7301, + "start": 7338, + "end": 7342, "loc": { "start": { "line": 335, @@ -81317,8 +82069,8 @@ "binop": null, "updateContext": null }, - "start": 7301, - "end": 7302, + "start": 7342, + "end": 7343, "loc": { "start": { "line": 335, @@ -81343,8 +82095,8 @@ "binop": null }, "value": "divmod", - "start": 7302, - "end": 7308, + "start": 7343, + "end": 7349, "loc": { "start": { "line": 335, @@ -81368,8 +82120,8 @@ "postfix": false, "binop": null }, - "start": 7308, - "end": 7309, + "start": 7349, + "end": 7350, "loc": { "start": { "line": 335, @@ -81394,8 +82146,8 @@ "binop": null }, "value": "other", - "start": 7309, - "end": 7314, + "start": 7350, + "end": 7355, "loc": { "start": { "line": 335, @@ -81419,8 +82171,8 @@ "postfix": false, "binop": null }, - "start": 7314, - "end": 7315, + "start": 7355, + "end": 7356, "loc": { "start": { "line": 335, @@ -81445,8 +82197,8 @@ "binop": null, "updateContext": null }, - "start": 7316, - "end": 7317, + "start": 7357, + "end": 7358, "loc": { "start": { "line": 335, @@ -81473,8 +82225,8 @@ "updateContext": null }, "value": "return", - "start": 7320, - "end": 7326, + "start": 7361, + "end": 7367, "loc": { "start": { "line": 336, @@ -81499,8 +82251,8 @@ "binop": null, "updateContext": null }, - "start": 7327, - "end": 7328, + "start": 7368, + "end": 7369, "loc": { "start": { "line": 336, @@ -81525,8 +82277,8 @@ "binop": null }, "value": "q", - "start": 7329, - "end": 7330, + "start": 7370, + "end": 7371, "loc": { "start": { "line": 336, @@ -81551,8 +82303,8 @@ "binop": null, "updateContext": null }, - "start": 7330, - "end": 7331, + "start": 7371, + "end": 7372, "loc": { "start": { "line": 336, @@ -81577,8 +82329,8 @@ "binop": null }, "value": "move", - "start": 7331, - "end": 7335, + "start": 7372, + "end": 7376, "loc": { "start": { "line": 336, @@ -81602,8 +82354,8 @@ "postfix": false, "binop": null }, - "start": 7335, - "end": 7336, + "start": 7376, + "end": 7377, "loc": { "start": { "line": 336, @@ -81630,8 +82382,8 @@ "updateContext": null }, "value": "this", - "start": 7336, - "end": 7340, + "start": 7377, + "end": 7381, "loc": { "start": { "line": 336, @@ -81655,8 +82407,8 @@ "postfix": false, "binop": null }, - "start": 7340, - "end": 7341, + "start": 7381, + "end": 7382, "loc": { "start": { "line": 336, @@ -81681,8 +82433,8 @@ "binop": null, "updateContext": null }, - "start": 7342, - "end": 7343, + "start": 7383, + "end": 7384, "loc": { "start": { "line": 336, @@ -81707,8 +82459,8 @@ "binop": null }, "value": "r", - "start": 7344, - "end": 7345, + "start": 7385, + "end": 7386, "loc": { "start": { "line": 336, @@ -81733,8 +82485,8 @@ "binop": null, "updateContext": null }, - "start": 7346, - "end": 7347, + "start": 7387, + "end": 7388, "loc": { "start": { "line": 336, @@ -81759,8 +82511,8 @@ "binop": null, "updateContext": null }, - "start": 7348, - "end": 7349, + "start": 7389, + "end": 7390, "loc": { "start": { "line": 336, @@ -81784,8 +82536,8 @@ "postfix": false, "binop": null }, - "start": 7351, - "end": 7352, + "start": 7392, + "end": 7393, "loc": { "start": { "line": 337, @@ -81810,8 +82562,8 @@ "binop": null }, "value": "opposite", - "start": 7355, - "end": 7363, + "start": 7396, + "end": 7404, "loc": { "start": { "line": 339, @@ -81835,8 +82587,8 @@ "postfix": false, "binop": null }, - "start": 7364, - "end": 7365, + "start": 7405, + "end": 7406, "loc": { "start": { "line": 339, @@ -81860,8 +82612,8 @@ "postfix": false, "binop": null }, - "start": 7366, - "end": 7367, + "start": 7407, + "end": 7408, "loc": { "start": { "line": 339, @@ -81885,8 +82637,8 @@ "postfix": false, "binop": null }, - "start": 7368, - "end": 7369, + "start": 7409, + "end": 7410, "loc": { "start": { "line": 339, @@ -81913,8 +82665,8 @@ "updateContext": null }, "value": "return", - "start": 7372, - "end": 7378, + "start": 7413, + "end": 7419, "loc": { "start": { "line": 340, @@ -81941,8 +82693,8 @@ "updateContext": null }, "value": "new", - "start": 7379, - "end": 7382, + "start": 7420, + "end": 7423, "loc": { "start": { "line": 340, @@ -81967,8 +82719,8 @@ "binop": null }, "value": "Integer", - "start": 7383, - "end": 7390, + "start": 7424, + "end": 7431, "loc": { "start": { "line": 340, @@ -81992,8 +82744,8 @@ "postfix": false, "binop": null }, - "start": 7390, - "end": 7391, + "start": 7431, + "end": 7432, "loc": { "start": { "line": 340, @@ -82020,8 +82772,8 @@ "updateContext": null }, "value": "this", - "start": 7392, - "end": 7396, + "start": 7433, + "end": 7437, "loc": { "start": { "line": 340, @@ -82046,8 +82798,8 @@ "binop": null, "updateContext": null }, - "start": 7396, - "end": 7397, + "start": 7437, + "end": 7438, "loc": { "start": { "line": 340, @@ -82072,8 +82824,8 @@ "binop": null }, "value": "base", - "start": 7397, - "end": 7401, + "start": 7438, + "end": 7442, "loc": { "start": { "line": 340, @@ -82098,8 +82850,8 @@ "binop": null, "updateContext": null }, - "start": 7402, - "end": 7403, + "start": 7443, + "end": 7444, "loc": { "start": { "line": 340, @@ -82125,8 +82877,8 @@ "updateContext": null }, "value": "~", - "start": 7404, - "end": 7405, + "start": 7445, + "end": 7446, "loc": { "start": { "line": 340, @@ -82153,8 +82905,8 @@ "updateContext": null }, "value": "this", - "start": 7405, - "end": 7409, + "start": 7446, + "end": 7450, "loc": { "start": { "line": 340, @@ -82179,8 +82931,8 @@ "binop": null, "updateContext": null }, - "start": 7409, - "end": 7410, + "start": 7450, + "end": 7451, "loc": { "start": { "line": 340, @@ -82205,8 +82957,8 @@ "binop": null }, "value": "is_negative", - "start": 7410, - "end": 7421, + "start": 7451, + "end": 7462, "loc": { "start": { "line": 340, @@ -82231,8 +82983,8 @@ "binop": null, "updateContext": null }, - "start": 7422, - "end": 7423, + "start": 7463, + "end": 7464, "loc": { "start": { "line": 340, @@ -82259,8 +83011,8 @@ "updateContext": null }, "value": "this", - "start": 7424, - "end": 7428, + "start": 7465, + "end": 7469, "loc": { "start": { "line": 340, @@ -82285,8 +83037,8 @@ "binop": null, "updateContext": null }, - "start": 7428, - "end": 7429, + "start": 7469, + "end": 7470, "loc": { "start": { "line": 340, @@ -82311,8 +83063,8 @@ "binop": null }, "value": "limbs", - "start": 7429, - "end": 7434, + "start": 7470, + "end": 7475, "loc": { "start": { "line": 340, @@ -82336,8 +83088,8 @@ "postfix": false, "binop": null }, - "start": 7435, - "end": 7436, + "start": 7476, + "end": 7477, "loc": { "start": { "line": 340, @@ -82362,8 +83114,8 @@ "binop": null, "updateContext": null }, - "start": 7437, - "end": 7438, + "start": 7478, + "end": 7479, "loc": { "start": { "line": 340, @@ -82387,8 +83139,8 @@ "postfix": false, "binop": null }, - "start": 7440, - "end": 7441, + "start": 7481, + "end": 7482, "loc": { "start": { "line": 341, @@ -82413,8 +83165,8 @@ "binop": null }, "value": "negate", - "start": 7444, - "end": 7450, + "start": 7485, + "end": 7491, "loc": { "start": { "line": 343, @@ -82438,8 +83190,8 @@ "postfix": false, "binop": null }, - "start": 7451, - "end": 7452, + "start": 7492, + "end": 7493, "loc": { "start": { "line": 343, @@ -82463,8 +83215,8 @@ "postfix": false, "binop": null }, - "start": 7453, - "end": 7454, + "start": 7494, + "end": 7495, "loc": { "start": { "line": 343, @@ -82488,8 +83240,8 @@ "postfix": false, "binop": null }, - "start": 7455, - "end": 7456, + "start": 7496, + "end": 7497, "loc": { "start": { "line": 343, @@ -82504,8 +83256,8 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 7459, - "end": 7508, + "start": 7500, + "end": 7549, "loc": { "start": { "line": 344, @@ -82532,8 +83284,8 @@ "updateContext": null }, "value": "return", - "start": 7511, - "end": 7517, + "start": 7552, + "end": 7558, "loc": { "start": { "line": 345, @@ -82560,8 +83312,8 @@ "updateContext": null }, "value": "this", - "start": 7518, - "end": 7522, + "start": 7559, + "end": 7563, "loc": { "start": { "line": 345, @@ -82586,8 +83338,8 @@ "binop": null, "updateContext": null }, - "start": 7522, - "end": 7523, + "start": 7563, + "end": 7564, "loc": { "start": { "line": 345, @@ -82612,8 +83364,8 @@ "binop": null }, "value": "opposite", - "start": 7523, - "end": 7531, + "start": 7564, + "end": 7572, "loc": { "start": { "line": 345, @@ -82637,8 +83389,8 @@ "postfix": false, "binop": null }, - "start": 7531, - "end": 7532, + "start": 7572, + "end": 7573, "loc": { "start": { "line": 345, @@ -82662,8 +83414,8 @@ "postfix": false, "binop": null }, - "start": 7532, - "end": 7533, + "start": 7573, + "end": 7574, "loc": { "start": { "line": 345, @@ -82688,8 +83440,8 @@ "binop": null, "updateContext": null }, - "start": 7533, - "end": 7534, + "start": 7574, + "end": 7575, "loc": { "start": { "line": 345, @@ -82714,8 +83466,8 @@ "binop": null }, "value": "move", - "start": 7534, - "end": 7538, + "start": 7575, + "end": 7579, "loc": { "start": { "line": 345, @@ -82739,8 +83491,8 @@ "postfix": false, "binop": null }, - "start": 7538, - "end": 7539, + "start": 7579, + "end": 7580, "loc": { "start": { "line": 345, @@ -82767,8 +83519,8 @@ "updateContext": null }, "value": "this", - "start": 7539, - "end": 7543, + "start": 7580, + "end": 7584, "loc": { "start": { "line": 345, @@ -82792,8 +83544,8 @@ "postfix": false, "binop": null }, - "start": 7543, - "end": 7544, + "start": 7584, + "end": 7585, "loc": { "start": { "line": 345, @@ -82818,8 +83570,8 @@ "binop": null, "updateContext": null }, - "start": 7544, - "end": 7545, + "start": 7585, + "end": 7586, "loc": { "start": { "line": 345, @@ -82843,8 +83595,8 @@ "postfix": false, "binop": null }, - "start": 7547, - "end": 7548, + "start": 7588, + "end": 7589, "loc": { "start": { "line": 346, @@ -82869,8 +83621,8 @@ "binop": null }, "value": "abs", - "start": 7551, - "end": 7554, + "start": 7592, + "end": 7595, "loc": { "start": { "line": 348, @@ -82894,8 +83646,8 @@ "postfix": false, "binop": null }, - "start": 7555, - "end": 7556, + "start": 7596, + "end": 7597, "loc": { "start": { "line": 348, @@ -82919,8 +83671,8 @@ "postfix": false, "binop": null }, - "start": 7557, - "end": 7558, + "start": 7598, + "end": 7599, "loc": { "start": { "line": 348, @@ -82944,8 +83696,8 @@ "postfix": false, "binop": null }, - "start": 7559, - "end": 7560, + "start": 7600, + "end": 7601, "loc": { "start": { "line": 348, @@ -82972,8 +83724,8 @@ "updateContext": null }, "value": "return", - "start": 7563, - "end": 7569, + "start": 7604, + "end": 7610, "loc": { "start": { "line": 349, @@ -83000,8 +83752,8 @@ "updateContext": null }, "value": "this", - "start": 7570, - "end": 7574, + "start": 7611, + "end": 7615, "loc": { "start": { "line": 349, @@ -83026,8 +83778,8 @@ "binop": null, "updateContext": null }, - "start": 7574, - "end": 7575, + "start": 7615, + "end": 7616, "loc": { "start": { "line": 349, @@ -83052,8 +83804,8 @@ "binop": null }, "value": "sign", - "start": 7575, - "end": 7579, + "start": 7616, + "end": 7620, "loc": { "start": { "line": 349, @@ -83077,8 +83829,8 @@ "postfix": false, "binop": null }, - "start": 7579, - "end": 7580, + "start": 7620, + "end": 7621, "loc": { "start": { "line": 349, @@ -83102,8 +83854,8 @@ "postfix": false, "binop": null }, - "start": 7580, - "end": 7581, + "start": 7621, + "end": 7622, "loc": { "start": { "line": 349, @@ -83129,8 +83881,8 @@ "updateContext": null }, "value": ">=", - "start": 7582, - "end": 7584, + "start": 7623, + "end": 7625, "loc": { "start": { "line": 349, @@ -83156,8 +83908,8 @@ "updateContext": null }, "value": 0, - "start": 7585, - "end": 7586, + "start": 7626, + "end": 7627, "loc": { "start": { "line": 349, @@ -83182,8 +83934,8 @@ "binop": null, "updateContext": null }, - "start": 7587, - "end": 7588, + "start": 7628, + "end": 7629, "loc": { "start": { "line": 349, @@ -83210,8 +83962,8 @@ "updateContext": null }, "value": "this", - "start": 7589, - "end": 7593, + "start": 7630, + "end": 7634, "loc": { "start": { "line": 349, @@ -83236,8 +83988,8 @@ "binop": null, "updateContext": null }, - "start": 7594, - "end": 7595, + "start": 7635, + "end": 7636, "loc": { "start": { "line": 349, @@ -83264,8 +84016,8 @@ "updateContext": null }, "value": "this", - "start": 7596, - "end": 7600, + "start": 7637, + "end": 7641, "loc": { "start": { "line": 349, @@ -83290,8 +84042,8 @@ "binop": null, "updateContext": null }, - "start": 7600, - "end": 7601, + "start": 7641, + "end": 7642, "loc": { "start": { "line": 349, @@ -83316,8 +84068,8 @@ "binop": null }, "value": "opposite", - "start": 7601, - "end": 7609, + "start": 7642, + "end": 7650, "loc": { "start": { "line": 349, @@ -83341,8 +84093,8 @@ "postfix": false, "binop": null }, - "start": 7609, - "end": 7610, + "start": 7650, + "end": 7651, "loc": { "start": { "line": 349, @@ -83369,8 +84121,8 @@ "updateContext": null }, "value": "this", - "start": 7610, - "end": 7614, + "start": 7651, + "end": 7655, "loc": { "start": { "line": 349, @@ -83394,8 +84146,8 @@ "postfix": false, "binop": null }, - "start": 7614, - "end": 7615, + "start": 7655, + "end": 7656, "loc": { "start": { "line": 349, @@ -83420,8 +84172,8 @@ "binop": null, "updateContext": null }, - "start": 7616, - "end": 7617, + "start": 7657, + "end": 7658, "loc": { "start": { "line": 349, @@ -83445,8 +84197,8 @@ "postfix": false, "binop": null }, - "start": 7619, - "end": 7620, + "start": 7660, + "end": 7661, "loc": { "start": { "line": 350, @@ -83471,8 +84223,8 @@ "binop": null }, "value": "iabs", - "start": 7623, - "end": 7627, + "start": 7664, + "end": 7668, "loc": { "start": { "line": 352, @@ -83496,8 +84248,8 @@ "postfix": false, "binop": null }, - "start": 7628, - "end": 7629, + "start": 7669, + "end": 7670, "loc": { "start": { "line": 352, @@ -83521,8 +84273,8 @@ "postfix": false, "binop": null }, - "start": 7630, - "end": 7631, + "start": 7671, + "end": 7672, "loc": { "start": { "line": 352, @@ -83546,8 +84298,8 @@ "postfix": false, "binop": null }, - "start": 7632, - "end": 7633, + "start": 7673, + "end": 7674, "loc": { "start": { "line": 352, @@ -83574,8 +84326,8 @@ "updateContext": null }, "value": "return", - "start": 7636, - "end": 7642, + "start": 7677, + "end": 7683, "loc": { "start": { "line": 353, @@ -83602,8 +84354,8 @@ "updateContext": null }, "value": "this", - "start": 7643, - "end": 7647, + "start": 7684, + "end": 7688, "loc": { "start": { "line": 353, @@ -83628,8 +84380,8 @@ "binop": null, "updateContext": null }, - "start": 7647, - "end": 7648, + "start": 7688, + "end": 7689, "loc": { "start": { "line": 353, @@ -83653,9 +84405,9 @@ "postfix": false, "binop": null }, - "value": "sign", - "start": 7648, - "end": 7652, + "value": "abs", + "start": 7689, + "end": 7692, "loc": { "start": { "line": 353, @@ -83663,7 +84415,7 @@ }, "end": { "line": 353, - "column": 18 + "column": 17 } } }, @@ -83679,16 +84431,16 @@ "postfix": false, "binop": null }, - "start": 7652, - "end": 7653, + "start": 7692, + "end": 7693, "loc": { "start": { "line": 353, - "column": 18 + "column": 17 }, "end": { "line": 353, - "column": 19 + "column": 18 } } }, @@ -83704,178 +84456,16 @@ "postfix": false, "binop": null }, - "start": 7653, - "end": 7654, - "loc": { - "start": { - "line": 353, - "column": 19 - }, - "end": { - "line": 353, - "column": 20 - } - } - }, - { - "type": { - "label": "", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 7, - "updateContext": null - }, - "value": ">=", - "start": 7655, - "end": 7657, + "start": 7693, + "end": 7694, "loc": { "start": { "line": 353, - "column": 21 - }, - "end": { - "line": 353, - "column": 23 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 7658, - "end": 7659, - "loc": { - "start": { - "line": 353, - "column": 24 - }, - "end": { - "line": 353, - "column": 25 - } - } - }, - { - "type": { - "label": "?", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7660, - "end": 7661, - "loc": { - "start": { - "line": 353, - "column": 26 - }, - "end": { - "line": 353, - "column": 27 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 7662, - "end": 7666, - "loc": { - "start": { - "line": 353, - "column": 28 - }, - "end": { - "line": 353, - "column": 32 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7667, - "end": 7668, - "loc": { - "start": { - "line": 353, - "column": 33 - }, - "end": { - "line": 353, - "column": 34 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 7669, - "end": 7673, - "loc": { - "start": { - "line": 353, - "column": 35 + "column": 18 }, "end": { "line": 353, - "column": 39 + "column": 19 } } }, @@ -83892,16 +84482,16 @@ "binop": null, "updateContext": null }, - "start": 7673, - "end": 7674, + "start": 7694, + "end": 7695, "loc": { "start": { "line": 353, - "column": 39 + "column": 19 }, "end": { "line": 353, - "column": 40 + "column": 20 } } }, @@ -83917,17 +84507,17 @@ "postfix": false, "binop": null }, - "value": "negate", - "start": 7674, - "end": 7680, + "value": "move", + "start": 7695, + "end": 7699, "loc": { "start": { "line": 353, - "column": 40 + "column": 20 }, "end": { "line": 353, - "column": 46 + "column": 24 } } }, @@ -83943,16 +84533,16 @@ "postfix": false, "binop": null }, - "start": 7680, - "end": 7681, + "start": 7699, + "end": 7700, "loc": { "start": { "line": 353, - "column": 46 + "column": 24 }, "end": { "line": 353, - "column": 47 + "column": 25 } } }, @@ -83971,16 +84561,16 @@ "updateContext": null }, "value": "this", - "start": 7681, - "end": 7685, + "start": 7700, + "end": 7704, "loc": { "start": { "line": 353, - "column": 47 + "column": 25 }, "end": { "line": 353, - "column": 51 + "column": 29 } } }, @@ -83996,16 +84586,16 @@ "postfix": false, "binop": null }, - "start": 7685, - "end": 7686, + "start": 7704, + "end": 7705, "loc": { "start": { "line": 353, - "column": 51 + "column": 29 }, "end": { "line": 353, - "column": 52 + "column": 30 } } }, @@ -84022,16 +84612,16 @@ "binop": null, "updateContext": null }, - "start": 7687, - "end": 7688, + "start": 7706, + "end": 7707, "loc": { "start": { "line": 353, - "column": 53 + "column": 31 }, "end": { "line": 353, - "column": 54 + "column": 32 } } }, @@ -84047,8 +84637,8 @@ "postfix": false, "binop": null }, - "start": 7690, - "end": 7691, + "start": 7709, + "end": 7710, "loc": { "start": { "line": 354, @@ -84073,8 +84663,8 @@ "binop": null }, "value": "sign", - "start": 7694, - "end": 7698, + "start": 7713, + "end": 7717, "loc": { "start": { "line": 356, @@ -84098,8 +84688,8 @@ "postfix": false, "binop": null }, - "start": 7699, - "end": 7700, + "start": 7718, + "end": 7719, "loc": { "start": { "line": 356, @@ -84123,8 +84713,8 @@ "postfix": false, "binop": null }, - "start": 7701, - "end": 7702, + "start": 7720, + "end": 7721, "loc": { "start": { "line": 356, @@ -84148,8 +84738,8 @@ "postfix": false, "binop": null }, - "start": 7703, - "end": 7704, + "start": 7722, + "end": 7723, "loc": { "start": { "line": 356, @@ -84176,8 +84766,8 @@ "updateContext": null }, "value": "return", - "start": 7707, - "end": 7713, + "start": 7726, + "end": 7732, "loc": { "start": { "line": 357, @@ -84204,8 +84794,8 @@ "updateContext": null }, "value": "this", - "start": 7714, - "end": 7718, + "start": 7733, + "end": 7737, "loc": { "start": { "line": 357, @@ -84230,8 +84820,8 @@ "binop": null, "updateContext": null }, - "start": 7718, - "end": 7719, + "start": 7737, + "end": 7738, "loc": { "start": { "line": 357, @@ -84256,8 +84846,8 @@ "binop": null }, "value": "iszero", - "start": 7719, - "end": 7725, + "start": 7738, + "end": 7744, "loc": { "start": { "line": 357, @@ -84281,8 +84871,8 @@ "postfix": false, "binop": null }, - "start": 7725, - "end": 7726, + "start": 7744, + "end": 7745, "loc": { "start": { "line": 357, @@ -84306,8 +84896,8 @@ "postfix": false, "binop": null }, - "start": 7726, - "end": 7727, + "start": 7745, + "end": 7746, "loc": { "start": { "line": 357, @@ -84332,8 +84922,8 @@ "binop": null, "updateContext": null }, - "start": 7728, - "end": 7729, + "start": 7747, + "end": 7748, "loc": { "start": { "line": 357, @@ -84359,8 +84949,8 @@ "updateContext": null }, "value": 0, - "start": 7730, - "end": 7731, + "start": 7749, + "end": 7750, "loc": { "start": { "line": 357, @@ -84385,8 +84975,8 @@ "binop": null, "updateContext": null }, - "start": 7732, - "end": 7733, + "start": 7751, + "end": 7752, "loc": { "start": { "line": 357, @@ -84413,8 +85003,8 @@ "updateContext": null }, "value": "this", - "start": 7734, - "end": 7738, + "start": 7753, + "end": 7757, "loc": { "start": { "line": 357, @@ -84439,8 +85029,8 @@ "binop": null, "updateContext": null }, - "start": 7738, - "end": 7739, + "start": 7757, + "end": 7758, "loc": { "start": { "line": 357, @@ -84465,8 +85055,8 @@ "binop": null }, "value": "is_negative", - "start": 7739, - "end": 7750, + "start": 7758, + "end": 7769, "loc": { "start": { "line": 357, @@ -84491,8 +85081,8 @@ "binop": null, "updateContext": null }, - "start": 7751, - "end": 7752, + "start": 7770, + "end": 7771, "loc": { "start": { "line": 357, @@ -84518,8 +85108,8 @@ "updateContext": null }, "value": "-", - "start": 7753, - "end": 7754, + "start": 7772, + "end": 7773, "loc": { "start": { "line": 357, @@ -84545,8 +85135,8 @@ "updateContext": null }, "value": 1, - "start": 7754, - "end": 7755, + "start": 7773, + "end": 7774, "loc": { "start": { "line": 357, @@ -84571,8 +85161,8 @@ "binop": null, "updateContext": null }, - "start": 7756, - "end": 7757, + "start": 7775, + "end": 7776, "loc": { "start": { "line": 357, @@ -84598,8 +85188,8 @@ "updateContext": null }, "value": 1, - "start": 7758, - "end": 7759, + "start": 7777, + "end": 7778, "loc": { "start": { "line": 357, @@ -84624,8 +85214,8 @@ "binop": null, "updateContext": null }, - "start": 7760, - "end": 7761, + "start": 7779, + "end": 7780, "loc": { "start": { "line": 357, @@ -84649,8 +85239,8 @@ "postfix": false, "binop": null }, - "start": 7763, - "end": 7764, + "start": 7782, + "end": 7783, "loc": { "start": { "line": 358, @@ -84675,8 +85265,8 @@ "binop": null }, "value": "iszero", - "start": 7767, - "end": 7773, + "start": 7786, + "end": 7792, "loc": { "start": { "line": 360, @@ -84700,8 +85290,8 @@ "postfix": false, "binop": null }, - "start": 7774, - "end": 7775, + "start": 7793, + "end": 7794, "loc": { "start": { "line": 360, @@ -84725,8 +85315,8 @@ "postfix": false, "binop": null }, - "start": 7776, - "end": 7777, + "start": 7795, + "end": 7796, "loc": { "start": { "line": 360, @@ -84750,8 +85340,8 @@ "postfix": false, "binop": null }, - "start": 7778, - "end": 7779, + "start": 7797, + "end": 7798, "loc": { "start": { "line": 360, @@ -84778,8 +85368,8 @@ "updateContext": null }, "value": "return", - "start": 7782, - "end": 7788, + "start": 7801, + "end": 7807, "loc": { "start": { "line": 361, @@ -84804,8 +85394,8 @@ "binop": null }, "value": "jz", - "start": 7789, - "end": 7791, + "start": 7808, + "end": 7810, "loc": { "start": { "line": 361, @@ -84829,8 +85419,8 @@ "postfix": false, "binop": null }, - "start": 7791, - "end": 7792, + "start": 7810, + "end": 7811, "loc": { "start": { "line": 361, @@ -84857,8 +85447,8 @@ "updateContext": null }, "value": "this", - "start": 7793, - "end": 7797, + "start": 7812, + "end": 7816, "loc": { "start": { "line": 361, @@ -84883,8 +85473,8 @@ "binop": null, "updateContext": null }, - "start": 7797, - "end": 7798, + "start": 7816, + "end": 7817, "loc": { "start": { "line": 361, @@ -84909,8 +85499,8 @@ "binop": null }, "value": "limbs", - "start": 7798, - "end": 7803, + "start": 7817, + "end": 7822, "loc": { "start": { "line": 361, @@ -84935,8 +85525,8 @@ "binop": null, "updateContext": null }, - "start": 7804, - "end": 7805, + "start": 7823, + "end": 7824, "loc": { "start": { "line": 361, @@ -84962,8 +85552,8 @@ "updateContext": null }, "value": 0, - "start": 7806, - "end": 7807, + "start": 7825, + "end": 7826, "loc": { "start": { "line": 361, @@ -84988,8 +85578,8 @@ "binop": null, "updateContext": null }, - "start": 7808, - "end": 7809, + "start": 7827, + "end": 7828, "loc": { "start": { "line": 361, @@ -85016,8 +85606,8 @@ "updateContext": null }, "value": "this", - "start": 7810, - "end": 7814, + "start": 7829, + "end": 7833, "loc": { "start": { "line": 361, @@ -85042,8 +85632,8 @@ "binop": null, "updateContext": null }, - "start": 7814, - "end": 7815, + "start": 7833, + "end": 7834, "loc": { "start": { "line": 361, @@ -85068,8 +85658,8 @@ "binop": null }, "value": "limbs", - "start": 7815, - "end": 7820, + "start": 7834, + "end": 7839, "loc": { "start": { "line": 361, @@ -85094,8 +85684,8 @@ "binop": null, "updateContext": null }, - "start": 7820, - "end": 7821, + "start": 7839, + "end": 7840, "loc": { "start": { "line": 361, @@ -85120,8 +85710,8 @@ "binop": null }, "value": "length", - "start": 7821, - "end": 7827, + "start": 7840, + "end": 7846, "loc": { "start": { "line": 361, @@ -85145,8 +85735,8 @@ "postfix": false, "binop": null }, - "start": 7828, - "end": 7829, + "start": 7847, + "end": 7848, "loc": { "start": { "line": 361, @@ -85171,8 +85761,8 @@ "binop": null, "updateContext": null }, - "start": 7830, - "end": 7831, + "start": 7849, + "end": 7850, "loc": { "start": { "line": 361, @@ -85196,8 +85786,8 @@ "postfix": false, "binop": null }, - "start": 7833, - "end": 7834, + "start": 7852, + "end": 7853, "loc": { "start": { "line": 362, @@ -85222,8 +85812,8 @@ "binop": null }, "value": "isone", - "start": 7837, - "end": 7842, + "start": 7856, + "end": 7861, "loc": { "start": { "line": 364, @@ -85247,8 +85837,8 @@ "postfix": false, "binop": null }, - "start": 7843, - "end": 7844, + "start": 7862, + "end": 7863, "loc": { "start": { "line": 364, @@ -85272,8 +85862,8 @@ "postfix": false, "binop": null }, - "start": 7845, - "end": 7846, + "start": 7864, + "end": 7865, "loc": { "start": { "line": 364, @@ -85297,8 +85887,8 @@ "postfix": false, "binop": null }, - "start": 7847, - "end": 7848, + "start": 7866, + "end": 7867, "loc": { "start": { "line": 364, @@ -85325,8 +85915,8 @@ "updateContext": null }, "value": "if", - "start": 7851, - "end": 7853, + "start": 7870, + "end": 7872, "loc": { "start": { "line": 365, @@ -85350,8 +85940,8 @@ "postfix": false, "binop": null }, - "start": 7854, - "end": 7855, + "start": 7873, + "end": 7874, "loc": { "start": { "line": 365, @@ -85378,8 +85968,8 @@ "updateContext": null }, "value": "this", - "start": 7856, - "end": 7860, + "start": 7875, + "end": 7879, "loc": { "start": { "line": 365, @@ -85404,8 +85994,8 @@ "binop": null, "updateContext": null }, - "start": 7860, - "end": 7861, + "start": 7879, + "end": 7880, "loc": { "start": { "line": 365, @@ -85430,8 +86020,8 @@ "binop": null }, "value": "is_negative", - "start": 7861, - "end": 7872, + "start": 7880, + "end": 7891, "loc": { "start": { "line": 365, @@ -85455,8 +86045,8 @@ "postfix": false, "binop": null }, - "start": 7873, - "end": 7874, + "start": 7892, + "end": 7893, "loc": { "start": { "line": 365, @@ -85483,8 +86073,8 @@ "updateContext": null }, "value": "return", - "start": 7875, - "end": 7881, + "start": 7894, + "end": 7900, "loc": { "start": { "line": 365, @@ -85511,8 +86101,8 @@ "updateContext": null }, "value": "false", - "start": 7882, - "end": 7887, + "start": 7901, + "end": 7906, "loc": { "start": { "line": 365, @@ -85537,8 +86127,8 @@ "binop": null, "updateContext": null }, - "start": 7888, - "end": 7889, + "start": 7907, + "end": 7908, "loc": { "start": { "line": 365, @@ -85565,8 +86155,8 @@ "updateContext": null }, "value": "return", - "start": 7892, - "end": 7898, + "start": 7911, + "end": 7917, "loc": { "start": { "line": 366, @@ -85591,8 +86181,8 @@ "binop": null }, "value": "eq", - "start": 7899, - "end": 7901, + "start": 7918, + "end": 7920, "loc": { "start": { "line": 366, @@ -85616,8 +86206,8 @@ "postfix": false, "binop": null }, - "start": 7901, - "end": 7902, + "start": 7920, + "end": 7921, "loc": { "start": { "line": 366, @@ -85644,8 +86234,8 @@ "updateContext": null }, "value": "this", - "start": 7903, - "end": 7907, + "start": 7922, + "end": 7926, "loc": { "start": { "line": 366, @@ -85670,8 +86260,8 @@ "binop": null, "updateContext": null }, - "start": 7907, - "end": 7908, + "start": 7926, + "end": 7927, "loc": { "start": { "line": 366, @@ -85696,8 +86286,8 @@ "binop": null }, "value": "limbs", - "start": 7908, - "end": 7913, + "start": 7927, + "end": 7932, "loc": { "start": { "line": 366, @@ -85722,8 +86312,8 @@ "binop": null, "updateContext": null }, - "start": 7914, - "end": 7915, + "start": 7933, + "end": 7934, "loc": { "start": { "line": 366, @@ -85749,8 +86339,8 @@ "updateContext": null }, "value": 0, - "start": 7916, - "end": 7917, + "start": 7935, + "end": 7936, "loc": { "start": { "line": 366, @@ -85775,8 +86365,8 @@ "binop": null, "updateContext": null }, - "start": 7918, - "end": 7919, + "start": 7937, + "end": 7938, "loc": { "start": { "line": 366, @@ -85803,8 +86393,8 @@ "updateContext": null }, "value": "this", - "start": 7920, - "end": 7924, + "start": 7939, + "end": 7943, "loc": { "start": { "line": 366, @@ -85829,8 +86419,8 @@ "binop": null, "updateContext": null }, - "start": 7924, - "end": 7925, + "start": 7943, + "end": 7944, "loc": { "start": { "line": 366, @@ -85855,8 +86445,8 @@ "binop": null }, "value": "limbs", - "start": 7925, - "end": 7930, + "start": 7944, + "end": 7949, "loc": { "start": { "line": 366, @@ -85881,8 +86471,8 @@ "binop": null, "updateContext": null }, - "start": 7930, - "end": 7931, + "start": 7949, + "end": 7950, "loc": { "start": { "line": 366, @@ -85907,8 +86497,8 @@ "binop": null }, "value": "length", - "start": 7931, - "end": 7937, + "start": 7950, + "end": 7956, "loc": { "start": { "line": 366, @@ -85933,8 +86523,8 @@ "binop": null, "updateContext": null }, - "start": 7938, - "end": 7939, + "start": 7957, + "end": 7958, "loc": { "start": { "line": 366, @@ -85959,8 +86549,8 @@ "binop": null, "updateContext": null }, - "start": 7940, - "end": 7941, + "start": 7959, + "end": 7960, "loc": { "start": { "line": 366, @@ -85986,8 +86576,8 @@ "updateContext": null }, "value": 1, - "start": 7942, - "end": 7943, + "start": 7961, + "end": 7962, "loc": { "start": { "line": 366, @@ -86012,8 +86602,8 @@ "binop": null, "updateContext": null }, - "start": 7944, - "end": 7945, + "start": 7963, + "end": 7964, "loc": { "start": { "line": 366, @@ -86038,8 +86628,8 @@ "binop": null, "updateContext": null }, - "start": 7946, - "end": 7947, + "start": 7965, + "end": 7966, "loc": { "start": { "line": 366, @@ -86065,8 +86655,8 @@ "updateContext": null }, "value": 0, - "start": 7948, - "end": 7949, + "start": 7967, + "end": 7968, "loc": { "start": { "line": 366, @@ -86091,8 +86681,8 @@ "binop": null, "updateContext": null }, - "start": 7950, - "end": 7951, + "start": 7969, + "end": 7970, "loc": { "start": { "line": 366, @@ -86118,8 +86708,8 @@ "updateContext": null }, "value": 1, - "start": 7952, - "end": 7953, + "start": 7971, + "end": 7972, "loc": { "start": { "line": 366, @@ -86143,8 +86733,8 @@ "postfix": false, "binop": null }, - "start": 7954, - "end": 7955, + "start": 7973, + "end": 7974, "loc": { "start": { "line": 366, @@ -86169,8 +86759,8 @@ "binop": null, "updateContext": null }, - "start": 7956, - "end": 7957, + "start": 7975, + "end": 7976, "loc": { "start": { "line": 366, @@ -86194,8 +86784,8 @@ "postfix": false, "binop": null }, - "start": 7959, - "end": 7960, + "start": 7978, + "end": 7979, "loc": { "start": { "line": 367, @@ -86220,8 +86810,8 @@ "binop": null }, "value": "isnonzero", - "start": 7963, - "end": 7972, + "start": 7982, + "end": 7991, "loc": { "start": { "line": 369, @@ -86245,8 +86835,8 @@ "postfix": false, "binop": null }, - "start": 7973, - "end": 7974, + "start": 7992, + "end": 7993, "loc": { "start": { "line": 369, @@ -86270,8 +86860,8 @@ "postfix": false, "binop": null }, - "start": 7975, - "end": 7976, + "start": 7994, + "end": 7995, "loc": { "start": { "line": 369, @@ -86295,8 +86885,8 @@ "postfix": false, "binop": null }, - "start": 7977, - "end": 7978, + "start": 7996, + "end": 7997, "loc": { "start": { "line": 369, @@ -86323,8 +86913,8 @@ "updateContext": null }, "value": "return", - "start": 7981, - "end": 7987, + "start": 8000, + "end": 8006, "loc": { "start": { "line": 370, @@ -86350,8 +86940,8 @@ "updateContext": null }, "value": "!", - "start": 7988, - "end": 7989, + "start": 8007, + "end": 8008, "loc": { "start": { "line": 370, @@ -86378,8 +86968,8 @@ "updateContext": null }, "value": "this", - "start": 7989, - "end": 7993, + "start": 8008, + "end": 8012, "loc": { "start": { "line": 370, @@ -86404,8 +86994,8 @@ "binop": null, "updateContext": null }, - "start": 7993, - "end": 7994, + "start": 8012, + "end": 8013, "loc": { "start": { "line": 370, @@ -86430,8 +87020,8 @@ "binop": null }, "value": "iszero", - "start": 7994, - "end": 8000, + "start": 8013, + "end": 8019, "loc": { "start": { "line": 370, @@ -86455,8 +87045,8 @@ "postfix": false, "binop": null }, - "start": 8000, - "end": 8001, + "start": 8019, + "end": 8020, "loc": { "start": { "line": 370, @@ -86480,8 +87070,8 @@ "postfix": false, "binop": null }, - "start": 8001, - "end": 8002, + "start": 8020, + "end": 8021, "loc": { "start": { "line": 370, @@ -86506,8 +87096,8 @@ "binop": null, "updateContext": null }, - "start": 8002, - "end": 8003, + "start": 8021, + "end": 8022, "loc": { "start": { "line": 370, @@ -86531,8 +87121,8 @@ "postfix": false, "binop": null }, - "start": 8005, - "end": 8006, + "start": 8024, + "end": 8025, "loc": { "start": { "line": 371, @@ -86557,8 +87147,8 @@ "binop": null }, "value": "isnegative", - "start": 8009, - "end": 8019, + "start": 8028, + "end": 8038, "loc": { "start": { "line": 373, @@ -86582,8 +87172,8 @@ "postfix": false, "binop": null }, - "start": 8020, - "end": 8021, + "start": 8039, + "end": 8040, "loc": { "start": { "line": 373, @@ -86607,8 +87197,8 @@ "postfix": false, "binop": null }, - "start": 8022, - "end": 8023, + "start": 8041, + "end": 8042, "loc": { "start": { "line": 373, @@ -86632,8 +87222,8 @@ "postfix": false, "binop": null }, - "start": 8024, - "end": 8025, + "start": 8043, + "end": 8044, "loc": { "start": { "line": 373, @@ -86660,8 +87250,8 @@ "updateContext": null }, "value": "return", - "start": 8028, - "end": 8034, + "start": 8047, + "end": 8053, "loc": { "start": { "line": 374, @@ -86688,8 +87278,8 @@ "updateContext": null }, "value": "this", - "start": 8035, - "end": 8039, + "start": 8054, + "end": 8058, "loc": { "start": { "line": 374, @@ -86714,8 +87304,8 @@ "binop": null, "updateContext": null }, - "start": 8039, - "end": 8040, + "start": 8058, + "end": 8059, "loc": { "start": { "line": 374, @@ -86740,8 +87330,8 @@ "binop": null }, "value": "is_negative", - "start": 8040, - "end": 8051, + "start": 8059, + "end": 8070, "loc": { "start": { "line": 374, @@ -86753,6 +87343,195 @@ } } }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 8071, + "end": 8074, + "loc": { + "start": { + "line": 374, + "column": 26 + }, + "end": { + "line": 374, + "column": 29 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 8075, + "end": 8076, + "loc": { + "start": { + "line": 374, + "column": 30 + }, + "end": { + "line": 374, + "column": 31 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 8076, + "end": 8077, + "loc": { + "start": { + "line": 374, + "column": 31 + }, + "end": { + "line": 374, + "column": 32 + } + } + }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8078, + "end": 8079, + "loc": { + "start": { + "line": 374, + "column": 33 + }, + "end": { + "line": 374, + "column": 34 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 8080, + "end": 8084, + "loc": { + "start": { + "line": 374, + "column": 35 + }, + "end": { + "line": 374, + "column": 39 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8085, + "end": 8086, + "loc": { + "start": { + "line": 374, + "column": 40 + }, + "end": { + "line": 374, + "column": 41 + } + } + }, + { + "type": { + "label": "false", + "keyword": "false", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "false", + "start": 8087, + "end": 8092, + "loc": { + "start": { + "line": 374, + "column": 42 + }, + "end": { + "line": 374, + "column": 47 + } + } + }, { "type": { "label": ";", @@ -86766,16 +87545,16 @@ "binop": null, "updateContext": null }, - "start": 8052, - "end": 8053, + "start": 8093, + "end": 8094, "loc": { "start": { "line": 374, - "column": 26 + "column": 48 }, "end": { "line": 374, - "column": 27 + "column": 49 } } }, @@ -86791,8 +87570,8 @@ "postfix": false, "binop": null }, - "start": 8055, - "end": 8056, + "start": 8096, + "end": 8097, "loc": { "start": { "line": 375, @@ -86817,8 +87596,8 @@ "binop": null }, "value": "ispositive", - "start": 8059, - "end": 8069, + "start": 8100, + "end": 8110, "loc": { "start": { "line": 377, @@ -86842,8 +87621,8 @@ "postfix": false, "binop": null }, - "start": 8070, - "end": 8071, + "start": 8111, + "end": 8112, "loc": { "start": { "line": 377, @@ -86867,8 +87646,8 @@ "postfix": false, "binop": null }, - "start": 8072, - "end": 8073, + "start": 8113, + "end": 8114, "loc": { "start": { "line": 377, @@ -86892,8 +87671,8 @@ "postfix": false, "binop": null }, - "start": 8074, - "end": 8075, + "start": 8115, + "end": 8116, "loc": { "start": { "line": 377, @@ -86920,8 +87699,8 @@ "updateContext": null }, "value": "return", - "start": 8078, - "end": 8084, + "start": 8119, + "end": 8125, "loc": { "start": { "line": 378, @@ -86948,8 +87727,8 @@ "updateContext": null }, "value": "this", - "start": 8085, - "end": 8089, + "start": 8126, + "end": 8130, "loc": { "start": { "line": 378, @@ -86974,8 +87753,8 @@ "binop": null, "updateContext": null }, - "start": 8089, - "end": 8090, + "start": 8130, + "end": 8131, "loc": { "start": { "line": 378, @@ -87000,8 +87779,8 @@ "binop": null }, "value": "sign", - "start": 8090, - "end": 8094, + "start": 8131, + "end": 8135, "loc": { "start": { "line": 378, @@ -87025,8 +87804,8 @@ "postfix": false, "binop": null }, - "start": 8094, - "end": 8095, + "start": 8135, + "end": 8136, "loc": { "start": { "line": 378, @@ -87050,8 +87829,8 @@ "postfix": false, "binop": null }, - "start": 8095, - "end": 8096, + "start": 8136, + "end": 8137, "loc": { "start": { "line": 378, @@ -87077,8 +87856,8 @@ "updateContext": null }, "value": ">", - "start": 8097, - "end": 8098, + "start": 8138, + "end": 8139, "loc": { "start": { "line": 378, @@ -87104,8 +87883,8 @@ "updateContext": null }, "value": 0, - "start": 8099, - "end": 8100, + "start": 8140, + "end": 8141, "loc": { "start": { "line": 378, @@ -87130,8 +87909,8 @@ "binop": null, "updateContext": null }, - "start": 8101, - "end": 8102, + "start": 8142, + "end": 8143, "loc": { "start": { "line": 378, @@ -87155,8 +87934,8 @@ "postfix": false, "binop": null }, - "start": 8104, - "end": 8105, + "start": 8145, + "end": 8146, "loc": { "start": { "line": 379, @@ -87181,8 +87960,8 @@ "binop": null }, "value": "isnonnegative", - "start": 8108, - "end": 8121, + "start": 8149, + "end": 8162, "loc": { "start": { "line": 381, @@ -87206,8 +87985,8 @@ "postfix": false, "binop": null }, - "start": 8122, - "end": 8123, + "start": 8163, + "end": 8164, "loc": { "start": { "line": 381, @@ -87231,8 +88010,8 @@ "postfix": false, "binop": null }, - "start": 8124, - "end": 8125, + "start": 8165, + "end": 8166, "loc": { "start": { "line": 381, @@ -87256,8 +88035,8 @@ "postfix": false, "binop": null }, - "start": 8126, - "end": 8127, + "start": 8167, + "end": 8168, "loc": { "start": { "line": 381, @@ -87284,8 +88063,8 @@ "updateContext": null }, "value": "return", - "start": 8130, - "end": 8136, + "start": 8171, + "end": 8177, "loc": { "start": { "line": 382, @@ -87311,8 +88090,8 @@ "updateContext": null }, "value": "!", - "start": 8137, - "end": 8138, + "start": 8178, + "end": 8179, "loc": { "start": { "line": 382, @@ -87339,8 +88118,8 @@ "updateContext": null }, "value": "this", - "start": 8138, - "end": 8142, + "start": 8179, + "end": 8183, "loc": { "start": { "line": 382, @@ -87365,8 +88144,8 @@ "binop": null, "updateContext": null }, - "start": 8142, - "end": 8143, + "start": 8183, + "end": 8184, "loc": { "start": { "line": 382, @@ -87390,9 +88169,9 @@ "postfix": false, "binop": null }, - "value": "negative", - "start": 8143, - "end": 8151, + "value": "isnegative", + "start": 8184, + "end": 8194, "loc": { "start": { "line": 382, @@ -87400,7 +88179,7 @@ }, "end": { "line": 382, - "column": 23 + "column": 25 } } }, @@ -87416,16 +88195,16 @@ "postfix": false, "binop": null }, - "start": 8151, - "end": 8152, + "start": 8194, + "end": 8195, "loc": { "start": { "line": 382, - "column": 23 + "column": 25 }, "end": { "line": 382, - "column": 24 + "column": 26 } } }, @@ -87441,16 +88220,16 @@ "postfix": false, "binop": null }, - "start": 8152, - "end": 8153, + "start": 8195, + "end": 8196, "loc": { "start": { "line": 382, - "column": 24 + "column": 26 }, "end": { "line": 382, - "column": 25 + "column": 27 } } }, @@ -87467,16 +88246,16 @@ "binop": null, "updateContext": null }, - "start": 8153, - "end": 8154, + "start": 8196, + "end": 8197, "loc": { "start": { "line": 382, - "column": 25 + "column": 27 }, "end": { "line": 382, - "column": 26 + "column": 28 } } }, @@ -87492,8 +88271,8 @@ "postfix": false, "binop": null }, - "start": 8156, - "end": 8157, + "start": 8199, + "end": 8200, "loc": { "start": { "line": 383, @@ -87518,8 +88297,8 @@ "binop": null }, "value": "isnonpositive", - "start": 8160, - "end": 8173, + "start": 8203, + "end": 8216, "loc": { "start": { "line": 385, @@ -87543,8 +88322,8 @@ "postfix": false, "binop": null }, - "start": 8174, - "end": 8175, + "start": 8217, + "end": 8218, "loc": { "start": { "line": 385, @@ -87568,8 +88347,8 @@ "postfix": false, "binop": null }, - "start": 8176, - "end": 8177, + "start": 8219, + "end": 8220, "loc": { "start": { "line": 385, @@ -87593,8 +88372,8 @@ "postfix": false, "binop": null }, - "start": 8178, - "end": 8179, + "start": 8221, + "end": 8222, "loc": { "start": { "line": 385, @@ -87621,8 +88400,8 @@ "updateContext": null }, "value": "return", - "start": 8182, - "end": 8188, + "start": 8225, + "end": 8231, "loc": { "start": { "line": 386, @@ -87648,8 +88427,8 @@ "updateContext": null }, "value": "!", - "start": 8189, - "end": 8190, + "start": 8232, + "end": 8233, "loc": { "start": { "line": 386, @@ -87676,8 +88455,8 @@ "updateContext": null }, "value": "this", - "start": 8190, - "end": 8194, + "start": 8233, + "end": 8237, "loc": { "start": { "line": 386, @@ -87702,8 +88481,8 @@ "binop": null, "updateContext": null }, - "start": 8194, - "end": 8195, + "start": 8237, + "end": 8238, "loc": { "start": { "line": 386, @@ -87727,9 +88506,9 @@ "postfix": false, "binop": null }, - "value": "positive", - "start": 8195, - "end": 8203, + "value": "ispositive", + "start": 8238, + "end": 8248, "loc": { "start": { "line": 386, @@ -87737,7 +88516,7 @@ }, "end": { "line": 386, - "column": 23 + "column": 25 } } }, @@ -87753,16 +88532,16 @@ "postfix": false, "binop": null }, - "start": 8203, - "end": 8204, + "start": 8248, + "end": 8249, "loc": { "start": { "line": 386, - "column": 23 + "column": 25 }, "end": { "line": 386, - "column": 24 + "column": 26 } } }, @@ -87778,16 +88557,16 @@ "postfix": false, "binop": null }, - "start": 8204, - "end": 8205, + "start": 8249, + "end": 8250, "loc": { "start": { "line": 386, - "column": 24 + "column": 26 }, "end": { "line": 386, - "column": 25 + "column": 27 } } }, @@ -87804,16 +88583,16 @@ "binop": null, "updateContext": null }, - "start": 8206, - "end": 8207, + "start": 8251, + "end": 8252, "loc": { "start": { "line": 386, - "column": 26 + "column": 28 }, "end": { "line": 386, - "column": 27 + "column": 29 } } }, @@ -87829,8 +88608,8 @@ "postfix": false, "binop": null }, - "start": 8209, - "end": 8210, + "start": 8254, + "end": 8255, "loc": { "start": { "line": 387, @@ -87855,8 +88634,8 @@ "binop": null }, "value": "parity", - "start": 8213, - "end": 8219, + "start": 8258, + "end": 8264, "loc": { "start": { "line": 389, @@ -87880,8 +88659,8 @@ "postfix": false, "binop": null }, - "start": 8220, - "end": 8221, + "start": 8265, + "end": 8266, "loc": { "start": { "line": 389, @@ -87905,8 +88684,8 @@ "postfix": false, "binop": null }, - "start": 8222, - "end": 8223, + "start": 8267, + "end": 8268, "loc": { "start": { "line": 389, @@ -87930,8 +88709,8 @@ "postfix": false, "binop": null }, - "start": 8224, - "end": 8225, + "start": 8269, + "end": 8270, "loc": { "start": { "line": 389, @@ -87946,8 +88725,8 @@ { "type": "CommentLine", "value": " TODO optimize this, there is a much faster way to test for parity", - "start": 8228, - "end": 8296, + "start": 8273, + "end": 8341, "loc": { "start": { "line": 390, @@ -87962,8 +88741,8 @@ { "type": "CommentLine", "value": " when the base is a multiple of two", - "start": 8299, - "end": 8336, + "start": 8344, + "end": 8381, "loc": { "start": { "line": 391, @@ -87990,8 +88769,8 @@ "updateContext": null }, "value": "return", - "start": 8339, - "end": 8345, + "start": 8384, + "end": 8390, "loc": { "start": { "line": 392, @@ -88018,8 +88797,8 @@ "updateContext": null }, "value": "this", - "start": 8346, - "end": 8350, + "start": 8391, + "end": 8395, "loc": { "start": { "line": 392, @@ -88044,8 +88823,8 @@ "binop": null, "updateContext": null }, - "start": 8350, - "end": 8351, + "start": 8395, + "end": 8396, "loc": { "start": { "line": 392, @@ -88070,8 +88849,8 @@ "binop": null }, "value": "modn", - "start": 8351, - "end": 8355, + "start": 8396, + "end": 8400, "loc": { "start": { "line": 392, @@ -88095,8 +88874,8 @@ "postfix": false, "binop": null }, - "start": 8355, - "end": 8356, + "start": 8400, + "end": 8401, "loc": { "start": { "line": 392, @@ -88122,8 +88901,8 @@ "updateContext": null }, "value": 2, - "start": 8356, - "end": 8357, + "start": 8401, + "end": 8402, "loc": { "start": { "line": 392, @@ -88147,8 +88926,8 @@ "postfix": false, "binop": null }, - "start": 8357, - "end": 8358, + "start": 8402, + "end": 8403, "loc": { "start": { "line": 392, @@ -88173,8 +88952,8 @@ "binop": null, "updateContext": null }, - "start": 8359, - "end": 8360, + "start": 8404, + "end": 8405, "loc": { "start": { "line": 392, @@ -88198,8 +88977,8 @@ "postfix": false, "binop": null }, - "start": 8362, - "end": 8363, + "start": 8407, + "end": 8408, "loc": { "start": { "line": 393, @@ -88224,8 +89003,8 @@ "binop": null }, "value": "iseven", - "start": 8366, - "end": 8372, + "start": 8411, + "end": 8417, "loc": { "start": { "line": 395, @@ -88249,8 +89028,8 @@ "postfix": false, "binop": null }, - "start": 8373, - "end": 8374, + "start": 8418, + "end": 8419, "loc": { "start": { "line": 395, @@ -88274,8 +89053,8 @@ "postfix": false, "binop": null }, - "start": 8375, - "end": 8376, + "start": 8420, + "end": 8421, "loc": { "start": { "line": 395, @@ -88299,8 +89078,8 @@ "postfix": false, "binop": null }, - "start": 8377, - "end": 8378, + "start": 8422, + "end": 8423, "loc": { "start": { "line": 395, @@ -88327,8 +89106,8 @@ "updateContext": null }, "value": "return", - "start": 8381, - "end": 8387, + "start": 8426, + "end": 8432, "loc": { "start": { "line": 396, @@ -88355,8 +89134,8 @@ "updateContext": null }, "value": "this", - "start": 8388, - "end": 8392, + "start": 8433, + "end": 8437, "loc": { "start": { "line": 396, @@ -88381,8 +89160,8 @@ "binop": null, "updateContext": null }, - "start": 8392, - "end": 8393, + "start": 8437, + "end": 8438, "loc": { "start": { "line": 396, @@ -88407,8 +89186,8 @@ "binop": null }, "value": "parity", - "start": 8393, - "end": 8399, + "start": 8438, + "end": 8444, "loc": { "start": { "line": 396, @@ -88432,8 +89211,8 @@ "postfix": false, "binop": null }, - "start": 8399, - "end": 8400, + "start": 8444, + "end": 8445, "loc": { "start": { "line": 396, @@ -88457,8 +89236,8 @@ "postfix": false, "binop": null }, - "start": 8400, - "end": 8401, + "start": 8445, + "end": 8446, "loc": { "start": { "line": 396, @@ -88483,8 +89262,8 @@ "binop": null, "updateContext": null }, - "start": 8401, - "end": 8402, + "start": 8446, + "end": 8447, "loc": { "start": { "line": 396, @@ -88509,8 +89288,8 @@ "binop": null }, "value": "iszero", - "start": 8402, - "end": 8408, + "start": 8447, + "end": 8453, "loc": { "start": { "line": 396, @@ -88534,8 +89313,8 @@ "postfix": false, "binop": null }, - "start": 8408, - "end": 8409, + "start": 8453, + "end": 8454, "loc": { "start": { "line": 396, @@ -88559,8 +89338,8 @@ "postfix": false, "binop": null }, - "start": 8409, - "end": 8410, + "start": 8454, + "end": 8455, "loc": { "start": { "line": 396, @@ -88585,8 +89364,8 @@ "binop": null, "updateContext": null }, - "start": 8411, - "end": 8412, + "start": 8456, + "end": 8457, "loc": { "start": { "line": 396, @@ -88610,8 +89389,8 @@ "postfix": false, "binop": null }, - "start": 8414, - "end": 8415, + "start": 8459, + "end": 8460, "loc": { "start": { "line": 397, @@ -88636,8 +89415,8 @@ "binop": null }, "value": "isodd", - "start": 8418, - "end": 8423, + "start": 8463, + "end": 8468, "loc": { "start": { "line": 399, @@ -88661,8 +89440,8 @@ "postfix": false, "binop": null }, - "start": 8424, - "end": 8425, + "start": 8469, + "end": 8470, "loc": { "start": { "line": 399, @@ -88686,8 +89465,8 @@ "postfix": false, "binop": null }, - "start": 8426, - "end": 8427, + "start": 8471, + "end": 8472, "loc": { "start": { "line": 399, @@ -88711,8 +89490,8 @@ "postfix": false, "binop": null }, - "start": 8428, - "end": 8429, + "start": 8473, + "end": 8474, "loc": { "start": { "line": 399, @@ -88739,8 +89518,8 @@ "updateContext": null }, "value": "return", - "start": 8432, - "end": 8438, + "start": 8477, + "end": 8483, "loc": { "start": { "line": 400, @@ -88766,8 +89545,8 @@ "updateContext": null }, "value": "!", - "start": 8439, - "end": 8440, + "start": 8484, + "end": 8485, "loc": { "start": { "line": 400, @@ -88794,8 +89573,8 @@ "updateContext": null }, "value": "this", - "start": 8440, - "end": 8444, + "start": 8485, + "end": 8489, "loc": { "start": { "line": 400, @@ -88820,8 +89599,8 @@ "binop": null, "updateContext": null }, - "start": 8444, - "end": 8445, + "start": 8489, + "end": 8490, "loc": { "start": { "line": 400, @@ -88846,8 +89625,8 @@ "binop": null }, "value": "iseven", - "start": 8445, - "end": 8451, + "start": 8490, + "end": 8496, "loc": { "start": { "line": 400, @@ -88871,8 +89650,8 @@ "postfix": false, "binop": null }, - "start": 8451, - "end": 8452, + "start": 8496, + "end": 8497, "loc": { "start": { "line": 400, @@ -88896,8 +89675,8 @@ "postfix": false, "binop": null }, - "start": 8452, - "end": 8453, + "start": 8497, + "end": 8498, "loc": { "start": { "line": 400, @@ -88922,8 +89701,8 @@ "binop": null, "updateContext": null }, - "start": 8454, - "end": 8455, + "start": 8499, + "end": 8500, "loc": { "start": { "line": 400, @@ -88947,8 +89726,8 @@ "postfix": false, "binop": null }, - "start": 8457, - "end": 8458, + "start": 8502, + "end": 8503, "loc": { "start": { "line": 401, @@ -88973,8 +89752,8 @@ "binop": null }, "value": "bin", - "start": 8461, - "end": 8464, + "start": 8506, + "end": 8509, "loc": { "start": { "line": 403, @@ -88998,8 +89777,8 @@ "postfix": false, "binop": null }, - "start": 8465, - "end": 8466, + "start": 8510, + "end": 8511, "loc": { "start": { "line": 403, @@ -89023,8 +89802,8 @@ "postfix": false, "binop": null }, - "start": 8467, - "end": 8468, + "start": 8512, + "end": 8513, "loc": { "start": { "line": 403, @@ -89048,8 +89827,8 @@ "postfix": false, "binop": null }, - "start": 8469, - "end": 8470, + "start": 8514, + "end": 8515, "loc": { "start": { "line": 403, @@ -89076,8 +89855,8 @@ "updateContext": null }, "value": "return", - "start": 8473, - "end": 8479, + "start": 8518, + "end": 8524, "loc": { "start": { "line": 404, @@ -89104,8 +89883,8 @@ "updateContext": null }, "value": "this", - "start": 8480, - "end": 8484, + "start": 8525, + "end": 8529, "loc": { "start": { "line": 404, @@ -89130,8 +89909,8 @@ "binop": null, "updateContext": null }, - "start": 8484, - "end": 8485, + "start": 8529, + "end": 8530, "loc": { "start": { "line": 404, @@ -89156,8 +89935,8 @@ "binop": null }, "value": "toString", - "start": 8485, - "end": 8493, + "start": 8530, + "end": 8538, "loc": { "start": { "line": 404, @@ -89181,8 +89960,8 @@ "postfix": false, "binop": null }, - "start": 8493, - "end": 8494, + "start": 8538, + "end": 8539, "loc": { "start": { "line": 404, @@ -89208,8 +89987,8 @@ "updateContext": null }, "value": 2, - "start": 8495, - "end": 8496, + "start": 8540, + "end": 8541, "loc": { "start": { "line": 404, @@ -89233,8 +90012,8 @@ "postfix": false, "binop": null }, - "start": 8497, - "end": 8498, + "start": 8542, + "end": 8543, "loc": { "start": { "line": 404, @@ -89259,8 +90038,8 @@ "binop": null, "updateContext": null }, - "start": 8499, - "end": 8500, + "start": 8544, + "end": 8545, "loc": { "start": { "line": 404, @@ -89284,8 +90063,8 @@ "postfix": false, "binop": null }, - "start": 8502, - "end": 8503, + "start": 8547, + "end": 8548, "loc": { "start": { "line": 405, @@ -89310,8 +90089,8 @@ "binop": null }, "value": "oct", - "start": 8506, - "end": 8509, + "start": 8551, + "end": 8554, "loc": { "start": { "line": 407, @@ -89335,8 +90114,8 @@ "postfix": false, "binop": null }, - "start": 8510, - "end": 8511, + "start": 8555, + "end": 8556, "loc": { "start": { "line": 407, @@ -89360,8 +90139,8 @@ "postfix": false, "binop": null }, - "start": 8512, - "end": 8513, + "start": 8557, + "end": 8558, "loc": { "start": { "line": 407, @@ -89385,8 +90164,8 @@ "postfix": false, "binop": null }, - "start": 8514, - "end": 8515, + "start": 8559, + "end": 8560, "loc": { "start": { "line": 407, @@ -89413,8 +90192,8 @@ "updateContext": null }, "value": "return", - "start": 8518, - "end": 8524, + "start": 8563, + "end": 8569, "loc": { "start": { "line": 408, @@ -89441,8 +90220,8 @@ "updateContext": null }, "value": "this", - "start": 8525, - "end": 8529, + "start": 8570, + "end": 8574, "loc": { "start": { "line": 408, @@ -89467,8 +90246,8 @@ "binop": null, "updateContext": null }, - "start": 8529, - "end": 8530, + "start": 8574, + "end": 8575, "loc": { "start": { "line": 408, @@ -89493,8 +90272,8 @@ "binop": null }, "value": "toString", - "start": 8530, - "end": 8538, + "start": 8575, + "end": 8583, "loc": { "start": { "line": 408, @@ -89518,8 +90297,8 @@ "postfix": false, "binop": null }, - "start": 8538, - "end": 8539, + "start": 8583, + "end": 8584, "loc": { "start": { "line": 408, @@ -89545,8 +90324,8 @@ "updateContext": null }, "value": 8, - "start": 8540, - "end": 8541, + "start": 8585, + "end": 8586, "loc": { "start": { "line": 408, @@ -89570,8 +90349,8 @@ "postfix": false, "binop": null }, - "start": 8542, - "end": 8543, + "start": 8587, + "end": 8588, "loc": { "start": { "line": 408, @@ -89596,8 +90375,8 @@ "binop": null, "updateContext": null }, - "start": 8544, - "end": 8545, + "start": 8589, + "end": 8590, "loc": { "start": { "line": 408, @@ -89621,8 +90400,8 @@ "postfix": false, "binop": null }, - "start": 8547, - "end": 8548, + "start": 8592, + "end": 8593, "loc": { "start": { "line": 409, @@ -89647,8 +90426,8 @@ "binop": null }, "value": "hex", - "start": 8551, - "end": 8554, + "start": 8596, + "end": 8599, "loc": { "start": { "line": 411, @@ -89672,8 +90451,8 @@ "postfix": false, "binop": null }, - "start": 8555, - "end": 8556, + "start": 8600, + "end": 8601, "loc": { "start": { "line": 411, @@ -89697,8 +90476,8 @@ "postfix": false, "binop": null }, - "start": 8557, - "end": 8558, + "start": 8602, + "end": 8603, "loc": { "start": { "line": 411, @@ -89722,8 +90501,8 @@ "postfix": false, "binop": null }, - "start": 8559, - "end": 8560, + "start": 8604, + "end": 8605, "loc": { "start": { "line": 411, @@ -89750,8 +90529,8 @@ "updateContext": null }, "value": "return", - "start": 8563, - "end": 8569, + "start": 8608, + "end": 8614, "loc": { "start": { "line": 412, @@ -89778,8 +90557,8 @@ "updateContext": null }, "value": "this", - "start": 8570, - "end": 8574, + "start": 8615, + "end": 8619, "loc": { "start": { "line": 412, @@ -89804,8 +90583,8 @@ "binop": null, "updateContext": null }, - "start": 8574, - "end": 8575, + "start": 8619, + "end": 8620, "loc": { "start": { "line": 412, @@ -89830,8 +90609,8 @@ "binop": null }, "value": "toString", - "start": 8575, - "end": 8583, + "start": 8620, + "end": 8628, "loc": { "start": { "line": 412, @@ -89855,8 +90634,8 @@ "postfix": false, "binop": null }, - "start": 8583, - "end": 8584, + "start": 8628, + "end": 8629, "loc": { "start": { "line": 412, @@ -89882,8 +90661,8 @@ "updateContext": null }, "value": 16, - "start": 8585, - "end": 8587, + "start": 8630, + "end": 8632, "loc": { "start": { "line": 412, @@ -89907,8 +90686,8 @@ "postfix": false, "binop": null }, - "start": 8588, - "end": 8589, + "start": 8633, + "end": 8634, "loc": { "start": { "line": 412, @@ -89933,8 +90712,8 @@ "binop": null, "updateContext": null }, - "start": 8590, - "end": 8591, + "start": 8635, + "end": 8636, "loc": { "start": { "line": 412, @@ -89958,8 +90737,8 @@ "postfix": false, "binop": null }, - "start": 8593, - "end": 8594, + "start": 8638, + "end": 8639, "loc": { "start": { "line": 413, @@ -89984,8 +90763,8 @@ "binop": null }, "value": "toJSON", - "start": 8597, - "end": 8603, + "start": 8642, + "end": 8648, "loc": { "start": { "line": 415, @@ -90009,8 +90788,8 @@ "postfix": false, "binop": null }, - "start": 8604, - "end": 8605, + "start": 8649, + "end": 8650, "loc": { "start": { "line": 415, @@ -90034,8 +90813,8 @@ "postfix": false, "binop": null }, - "start": 8606, - "end": 8607, + "start": 8651, + "end": 8652, "loc": { "start": { "line": 415, @@ -90059,8 +90838,8 @@ "postfix": false, "binop": null }, - "start": 8608, - "end": 8609, + "start": 8653, + "end": 8654, "loc": { "start": { "line": 415, @@ -90087,8 +90866,8 @@ "updateContext": null }, "value": "return", - "start": 8612, - "end": 8618, + "start": 8657, + "end": 8663, "loc": { "start": { "line": 416, @@ -90115,8 +90894,8 @@ "updateContext": null }, "value": "this", - "start": 8619, - "end": 8623, + "start": 8664, + "end": 8668, "loc": { "start": { "line": 416, @@ -90141,8 +90920,8 @@ "binop": null, "updateContext": null }, - "start": 8623, - "end": 8624, + "start": 8668, + "end": 8669, "loc": { "start": { "line": 416, @@ -90167,8 +90946,8 @@ "binop": null }, "value": "hex", - "start": 8624, - "end": 8627, + "start": 8669, + "end": 8672, "loc": { "start": { "line": 416, @@ -90192,8 +90971,8 @@ "postfix": false, "binop": null }, - "start": 8627, - "end": 8628, + "start": 8672, + "end": 8673, "loc": { "start": { "line": 416, @@ -90217,8 +90996,8 @@ "postfix": false, "binop": null }, - "start": 8629, - "end": 8630, + "start": 8674, + "end": 8675, "loc": { "start": { "line": 416, @@ -90243,8 +91022,8 @@ "binop": null, "updateContext": null }, - "start": 8631, - "end": 8632, + "start": 8676, + "end": 8677, "loc": { "start": { "line": 416, @@ -90268,8 +91047,8 @@ "postfix": false, "binop": null }, - "start": 8634, - "end": 8635, + "start": 8679, + "end": 8680, "loc": { "start": { "line": 417, @@ -90294,8 +91073,8 @@ "binop": null }, "value": "digits", - "start": 8638, - "end": 8644, + "start": 8683, + "end": 8689, "loc": { "start": { "line": 419, @@ -90319,8 +91098,8 @@ "postfix": false, "binop": null }, - "start": 8645, - "end": 8646, + "start": 8690, + "end": 8691, "loc": { "start": { "line": 419, @@ -90345,8 +91124,8 @@ "binop": null }, "value": "base", - "start": 8647, - "end": 8651, + "start": 8692, + "end": 8696, "loc": { "start": { "line": 419, @@ -90372,8 +91151,8 @@ "updateContext": null }, "value": "=", - "start": 8652, - "end": 8653, + "start": 8697, + "end": 8698, "loc": { "start": { "line": 419, @@ -90398,8 +91177,8 @@ "binop": null }, "value": "DEFAULT_DISPLAY_BASE", - "start": 8654, - "end": 8674, + "start": 8699, + "end": 8719, "loc": { "start": { "line": 419, @@ -90423,8 +91202,8 @@ "postfix": false, "binop": null }, - "start": 8675, - "end": 8676, + "start": 8720, + "end": 8721, "loc": { "start": { "line": 419, @@ -90448,8 +91227,8 @@ "postfix": false, "binop": null }, - "start": 8677, - "end": 8678, + "start": 8722, + "end": 8723, "loc": { "start": { "line": 419, @@ -90464,8 +91243,8 @@ { "type": "CommentLine", "value": " TODO Once #to is implemented we can rewrite this as", - "start": 8681, - "end": 8735, + "start": 8726, + "end": 8780, "loc": { "start": { "line": 420, @@ -90480,8 +91259,8 @@ { "type": "CommentLine", "value": " return this.to(LITTLE_ENDIAN, base, Array) ;", - "start": 8738, - "end": 8785, + "start": 8783, + "end": 8830, "loc": { "start": { "line": 421, @@ -90508,8 +91287,8 @@ "updateContext": null }, "value": "return", - "start": 8788, - "end": 8794, + "start": 8833, + "end": 8839, "loc": { "start": { "line": 422, @@ -90534,8 +91313,8 @@ "binop": null }, "value": "convert", - "start": 8795, - "end": 8802, + "start": 8840, + "end": 8847, "loc": { "start": { "line": 422, @@ -90559,8 +91338,8 @@ "postfix": false, "binop": null }, - "start": 8802, - "end": 8803, + "start": 8847, + "end": 8848, "loc": { "start": { "line": 422, @@ -90587,8 +91366,8 @@ "updateContext": null }, "value": "this", - "start": 8804, - "end": 8808, + "start": 8849, + "end": 8853, "loc": { "start": { "line": 422, @@ -90613,8 +91392,8 @@ "binop": null, "updateContext": null }, - "start": 8808, - "end": 8809, + "start": 8853, + "end": 8854, "loc": { "start": { "line": 422, @@ -90639,8 +91418,8 @@ "binop": null }, "value": "base", - "start": 8809, - "end": 8813, + "start": 8854, + "end": 8858, "loc": { "start": { "line": 422, @@ -90665,8 +91444,8 @@ "binop": null, "updateContext": null }, - "start": 8814, - "end": 8815, + "start": 8859, + "end": 8860, "loc": { "start": { "line": 422, @@ -90691,8 +91470,8 @@ "binop": null }, "value": "base", - "start": 8816, - "end": 8820, + "start": 8861, + "end": 8865, "loc": { "start": { "line": 422, @@ -90717,8 +91496,8 @@ "binop": null, "updateContext": null }, - "start": 8821, - "end": 8822, + "start": 8866, + "end": 8867, "loc": { "start": { "line": 422, @@ -90745,8 +91524,8 @@ "updateContext": null }, "value": "this", - "start": 8823, - "end": 8827, + "start": 8868, + "end": 8872, "loc": { "start": { "line": 422, @@ -90771,8 +91550,8 @@ "binop": null, "updateContext": null }, - "start": 8827, - "end": 8828, + "start": 8872, + "end": 8873, "loc": { "start": { "line": 422, @@ -90797,8 +91576,8 @@ "binop": null }, "value": "limbs", - "start": 8828, - "end": 8833, + "start": 8873, + "end": 8878, "loc": { "start": { "line": 422, @@ -90823,8 +91602,8 @@ "binop": null, "updateContext": null }, - "start": 8834, - "end": 8835, + "start": 8879, + "end": 8880, "loc": { "start": { "line": 422, @@ -90850,8 +91629,8 @@ "updateContext": null }, "value": 0, - "start": 8836, - "end": 8837, + "start": 8881, + "end": 8882, "loc": { "start": { "line": 422, @@ -90876,8 +91655,8 @@ "binop": null, "updateContext": null }, - "start": 8838, - "end": 8839, + "start": 8883, + "end": 8884, "loc": { "start": { "line": 422, @@ -90904,8 +91683,8 @@ "updateContext": null }, "value": "this", - "start": 8840, - "end": 8844, + "start": 8885, + "end": 8889, "loc": { "start": { "line": 422, @@ -90930,8 +91709,8 @@ "binop": null, "updateContext": null }, - "start": 8844, - "end": 8845, + "start": 8889, + "end": 8890, "loc": { "start": { "line": 422, @@ -90956,8 +91735,8 @@ "binop": null }, "value": "limbs", - "start": 8845, - "end": 8850, + "start": 8890, + "end": 8895, "loc": { "start": { "line": 422, @@ -90982,8 +91761,8 @@ "binop": null, "updateContext": null }, - "start": 8850, - "end": 8851, + "start": 8895, + "end": 8896, "loc": { "start": { "line": 422, @@ -91008,8 +91787,8 @@ "binop": null }, "value": "length", - "start": 8851, - "end": 8857, + "start": 8896, + "end": 8902, "loc": { "start": { "line": 422, @@ -91033,8 +91812,8 @@ "postfix": false, "binop": null }, - "start": 8858, - "end": 8859, + "start": 8903, + "end": 8904, "loc": { "start": { "line": 422, @@ -91059,8 +91838,8 @@ "binop": null, "updateContext": null }, - "start": 8859, - "end": 8860, + "start": 8904, + "end": 8905, "loc": { "start": { "line": 422, @@ -91085,8 +91864,8 @@ "binop": null }, "value": "reverse", - "start": 8860, - "end": 8867, + "start": 8905, + "end": 8912, "loc": { "start": { "line": 422, @@ -91110,8 +91889,8 @@ "postfix": false, "binop": null }, - "start": 8867, - "end": 8868, + "start": 8912, + "end": 8913, "loc": { "start": { "line": 422, @@ -91135,8 +91914,8 @@ "postfix": false, "binop": null }, - "start": 8869, - "end": 8870, + "start": 8914, + "end": 8915, "loc": { "start": { "line": 422, @@ -91161,8 +91940,8 @@ "binop": null, "updateContext": null }, - "start": 8871, - "end": 8872, + "start": 8916, + "end": 8917, "loc": { "start": { "line": 422, @@ -91186,8 +91965,8 @@ "postfix": false, "binop": null }, - "start": 8874, - "end": 8875, + "start": 8919, + "end": 8920, "loc": { "start": { "line": 423, @@ -91212,8 +91991,8 @@ "binop": null }, "value": "bits", - "start": 8878, - "end": 8882, + "start": 8923, + "end": 8927, "loc": { "start": { "line": 425, @@ -91237,8 +92016,8 @@ "postfix": false, "binop": null }, - "start": 8883, - "end": 8884, + "start": 8928, + "end": 8929, "loc": { "start": { "line": 425, @@ -91262,8 +92041,8 @@ "postfix": false, "binop": null }, - "start": 8885, - "end": 8886, + "start": 8930, + "end": 8931, "loc": { "start": { "line": 425, @@ -91287,8 +92066,8 @@ "postfix": false, "binop": null }, - "start": 8887, - "end": 8888, + "start": 8932, + "end": 8933, "loc": { "start": { "line": 425, @@ -91315,8 +92094,8 @@ "updateContext": null }, "value": "return", - "start": 8891, - "end": 8897, + "start": 8936, + "end": 8942, "loc": { "start": { "line": 426, @@ -91343,8 +92122,8 @@ "updateContext": null }, "value": "this", - "start": 8898, - "end": 8902, + "start": 8943, + "end": 8947, "loc": { "start": { "line": 426, @@ -91369,8 +92148,8 @@ "binop": null, "updateContext": null }, - "start": 8902, - "end": 8903, + "start": 8947, + "end": 8948, "loc": { "start": { "line": 426, @@ -91395,8 +92174,8 @@ "binop": null }, "value": "digits", - "start": 8903, - "end": 8909, + "start": 8948, + "end": 8954, "loc": { "start": { "line": 426, @@ -91420,8 +92199,8 @@ "postfix": false, "binop": null }, - "start": 8909, - "end": 8910, + "start": 8954, + "end": 8955, "loc": { "start": { "line": 426, @@ -91447,8 +92226,8 @@ "updateContext": null }, "value": 2, - "start": 8911, - "end": 8912, + "start": 8956, + "end": 8957, "loc": { "start": { "line": 426, @@ -91472,8 +92251,8 @@ "postfix": false, "binop": null }, - "start": 8913, - "end": 8914, + "start": 8958, + "end": 8959, "loc": { "start": { "line": 426, @@ -91498,8 +92277,8 @@ "binop": null, "updateContext": null }, - "start": 8915, - "end": 8916, + "start": 8960, + "end": 8961, "loc": { "start": { "line": 426, @@ -91523,8 +92302,8 @@ "postfix": false, "binop": null }, - "start": 8918, - "end": 8919, + "start": 8963, + "end": 8964, "loc": { "start": { "line": 427, @@ -91549,8 +92328,8 @@ "binop": null }, "value": "divides", - "start": 8922, - "end": 8929, + "start": 8967, + "end": 8974, "loc": { "start": { "line": 429, @@ -91574,8 +92353,8 @@ "postfix": false, "binop": null }, - "start": 8930, - "end": 8931, + "start": 8975, + "end": 8976, "loc": { "start": { "line": 429, @@ -91600,8 +92379,8 @@ "binop": null }, "value": "other", - "start": 8932, - "end": 8937, + "start": 8977, + "end": 8982, "loc": { "start": { "line": 429, @@ -91625,8 +92404,8 @@ "postfix": false, "binop": null }, - "start": 8938, - "end": 8939, + "start": 8983, + "end": 8984, "loc": { "start": { "line": 429, @@ -91650,8 +92429,8 @@ "postfix": false, "binop": null }, - "start": 8940, - "end": 8941, + "start": 8985, + "end": 8986, "loc": { "start": { "line": 429, @@ -91678,8 +92457,8 @@ "updateContext": null }, "value": "return", - "start": 8944, - "end": 8950, + "start": 8989, + "end": 8995, "loc": { "start": { "line": 430, @@ -91704,8 +92483,8 @@ "binop": null }, "value": "other", - "start": 8951, - "end": 8956, + "start": 8996, + "end": 9001, "loc": { "start": { "line": 430, @@ -91730,8 +92509,8 @@ "binop": null, "updateContext": null }, - "start": 8956, - "end": 8957, + "start": 9001, + "end": 9002, "loc": { "start": { "line": 430, @@ -91756,8 +92535,8 @@ "binop": null }, "value": "mod", - "start": 8957, - "end": 8960, + "start": 9002, + "end": 9005, "loc": { "start": { "line": 430, @@ -91781,8 +92560,8 @@ "postfix": false, "binop": null }, - "start": 8960, - "end": 8961, + "start": 9005, + "end": 9006, "loc": { "start": { "line": 430, @@ -91809,8 +92588,8 @@ "updateContext": null }, "value": "this", - "start": 8962, - "end": 8966, + "start": 9007, + "end": 9011, "loc": { "start": { "line": 430, @@ -91834,8 +92613,8 @@ "postfix": false, "binop": null }, - "start": 8967, - "end": 8968, + "start": 9012, + "end": 9013, "loc": { "start": { "line": 430, @@ -91860,8 +92639,8 @@ "binop": null, "updateContext": null }, - "start": 8968, - "end": 8969, + "start": 9013, + "end": 9014, "loc": { "start": { "line": 430, @@ -91886,8 +92665,8 @@ "binop": null }, "value": "iszero", - "start": 8969, - "end": 8975, + "start": 9014, + "end": 9020, "loc": { "start": { "line": 430, @@ -91911,8 +92690,8 @@ "postfix": false, "binop": null }, - "start": 8975, - "end": 8976, + "start": 9020, + "end": 9021, "loc": { "start": { "line": 430, @@ -91936,8 +92715,8 @@ "postfix": false, "binop": null }, - "start": 8977, - "end": 8978, + "start": 9022, + "end": 9023, "loc": { "start": { "line": 430, @@ -91962,8 +92741,8 @@ "binop": null, "updateContext": null }, - "start": 8979, - "end": 8980, + "start": 9024, + "end": 9025, "loc": { "start": { "line": 430, @@ -91987,8 +92766,8 @@ "postfix": false, "binop": null }, - "start": 8982, - "end": 8983, + "start": 9027, + "end": 9028, "loc": { "start": { "line": 431, @@ -92013,8 +92792,8 @@ "binop": null }, "value": "divide_knowing_divisible_by", - "start": 8986, - "end": 9013, + "start": 9031, + "end": 9058, "loc": { "start": { "line": 433, @@ -92038,8 +92817,8 @@ "postfix": false, "binop": null }, - "start": 9014, - "end": 9015, + "start": 9059, + "end": 9060, "loc": { "start": { "line": 433, @@ -92064,8 +92843,8 @@ "binop": null }, "value": "other", - "start": 9016, - "end": 9021, + "start": 9061, + "end": 9066, "loc": { "start": { "line": 433, @@ -92089,8 +92868,8 @@ "postfix": false, "binop": null }, - "start": 9022, - "end": 9023, + "start": 9067, + "end": 9068, "loc": { "start": { "line": 433, @@ -92114,8 +92893,8 @@ "postfix": false, "binop": null }, - "start": 9024, - "end": 9025, + "start": 9069, + "end": 9070, "loc": { "start": { "line": 433, @@ -92130,8 +92909,8 @@ { "type": "CommentLine", "value": " TODO optimize", - "start": 9028, - "end": 9044, + "start": 9073, + "end": 9089, "loc": { "start": { "line": 434, @@ -92158,8 +92937,8 @@ "updateContext": null }, "value": "return", - "start": 9047, - "end": 9053, + "start": 9092, + "end": 9098, "loc": { "start": { "line": 435, @@ -92186,8 +92965,8 @@ "updateContext": null }, "value": "this", - "start": 9054, - "end": 9058, + "start": 9099, + "end": 9103, "loc": { "start": { "line": 435, @@ -92212,8 +92991,8 @@ "binop": null, "updateContext": null }, - "start": 9058, - "end": 9059, + "start": 9103, + "end": 9104, "loc": { "start": { "line": 435, @@ -92238,8 +93017,8 @@ "binop": null }, "value": "div", - "start": 9059, - "end": 9062, + "start": 9104, + "end": 9107, "loc": { "start": { "line": 435, @@ -92263,8 +93042,8 @@ "postfix": false, "binop": null }, - "start": 9062, - "end": 9063, + "start": 9107, + "end": 9108, "loc": { "start": { "line": 435, @@ -92289,8 +93068,8 @@ "binop": null }, "value": "other", - "start": 9064, - "end": 9069, + "start": 9109, + "end": 9114, "loc": { "start": { "line": 435, @@ -92314,8 +93093,8 @@ "postfix": false, "binop": null }, - "start": 9070, - "end": 9071, + "start": 9115, + "end": 9116, "loc": { "start": { "line": 435, @@ -92340,8 +93119,8 @@ "binop": null, "updateContext": null }, - "start": 9072, - "end": 9073, + "start": 9117, + "end": 9118, "loc": { "start": { "line": 435, @@ -92365,8 +93144,8 @@ "postfix": false, "binop": null }, - "start": 9075, - "end": 9076, + "start": 9120, + "end": 9121, "loc": { "start": { "line": 436, @@ -92391,8 +93170,8 @@ "binop": null }, "value": "cmp", - "start": 9080, - "end": 9083, + "start": 9125, + "end": 9128, "loc": { "start": { "line": 439, @@ -92416,8 +93195,8 @@ "postfix": false, "binop": null }, - "start": 9084, - "end": 9085, + "start": 9129, + "end": 9130, "loc": { "start": { "line": 439, @@ -92442,8 +93221,8 @@ "binop": null }, "value": "other", - "start": 9086, - "end": 9091, + "start": 9131, + "end": 9136, "loc": { "start": { "line": 439, @@ -92467,8 +93246,8 @@ "postfix": false, "binop": null }, - "start": 9092, - "end": 9093, + "start": 9137, + "end": 9138, "loc": { "start": { "line": 439, @@ -92492,8 +93271,8 @@ "postfix": false, "binop": null }, - "start": 9094, - "end": 9095, + "start": 9139, + "end": 9140, "loc": { "start": { "line": 439, @@ -92508,8 +93287,8 @@ { "type": "CommentLine", "value": " TODO optimize with _trim_positive", - "start": 9098, - "end": 9134, + "start": 9143, + "end": 9179, "loc": { "start": { "line": 440, @@ -92536,8 +93315,8 @@ "updateContext": null }, "value": "if", - "start": 9138, - "end": 9140, + "start": 9183, + "end": 9185, "loc": { "start": { "line": 442, @@ -92561,8 +93340,8 @@ "postfix": false, "binop": null }, - "start": 9141, - "end": 9142, + "start": 9186, + "end": 9187, "loc": { "start": { "line": 442, @@ -92589,8 +93368,8 @@ "updateContext": null }, "value": "this", - "start": 9143, - "end": 9147, + "start": 9188, + "end": 9192, "loc": { "start": { "line": 442, @@ -92615,8 +93394,8 @@ "binop": null, "updateContext": null }, - "start": 9147, - "end": 9148, + "start": 9192, + "end": 9193, "loc": { "start": { "line": 442, @@ -92641,8 +93420,8 @@ "binop": null }, "value": "iszero", - "start": 9148, - "end": 9154, + "start": 9193, + "end": 9199, "loc": { "start": { "line": 442, @@ -92666,8 +93445,8 @@ "postfix": false, "binop": null }, - "start": 9154, - "end": 9155, + "start": 9199, + "end": 9200, "loc": { "start": { "line": 442, @@ -92691,8 +93470,8 @@ "postfix": false, "binop": null }, - "start": 9156, - "end": 9157, + "start": 9201, + "end": 9202, "loc": { "start": { "line": 442, @@ -92716,8 +93495,8 @@ "postfix": false, "binop": null }, - "start": 9158, - "end": 9159, + "start": 9203, + "end": 9204, "loc": { "start": { "line": 442, @@ -92741,8 +93520,8 @@ "postfix": false, "binop": null }, - "start": 9160, - "end": 9161, + "start": 9205, + "end": 9206, "loc": { "start": { "line": 442, @@ -92769,8 +93548,8 @@ "updateContext": null }, "value": "if", - "start": 9165, - "end": 9167, + "start": 9210, + "end": 9212, "loc": { "start": { "line": 443, @@ -92794,8 +93573,8 @@ "postfix": false, "binop": null }, - "start": 9168, - "end": 9169, + "start": 9213, + "end": 9214, "loc": { "start": { "line": 443, @@ -92820,8 +93599,8 @@ "binop": null }, "value": "other", - "start": 9170, - "end": 9175, + "start": 9215, + "end": 9220, "loc": { "start": { "line": 443, @@ -92846,8 +93625,8 @@ "binop": null, "updateContext": null }, - "start": 9175, - "end": 9176, + "start": 9220, + "end": 9221, "loc": { "start": { "line": 443, @@ -92872,8 +93651,8 @@ "binop": null }, "value": "iszero", - "start": 9176, - "end": 9182, + "start": 9221, + "end": 9227, "loc": { "start": { "line": 443, @@ -92897,8 +93676,8 @@ "postfix": false, "binop": null }, - "start": 9182, - "end": 9183, + "start": 9227, + "end": 9228, "loc": { "start": { "line": 443, @@ -92922,8 +93701,8 @@ "postfix": false, "binop": null }, - "start": 9184, - "end": 9185, + "start": 9229, + "end": 9230, "loc": { "start": { "line": 443, @@ -92947,8 +93726,8 @@ "postfix": false, "binop": null }, - "start": 9186, - "end": 9187, + "start": 9231, + "end": 9232, "loc": { "start": { "line": 443, @@ -92975,8 +93754,8 @@ "updateContext": null }, "value": "return", - "start": 9195, - "end": 9201, + "start": 9240, + "end": 9246, "loc": { "start": { "line": 443, @@ -93002,8 +93781,8 @@ "updateContext": null }, "value": 0, - "start": 9203, - "end": 9204, + "start": 9248, + "end": 9249, "loc": { "start": { "line": 443, @@ -93028,8 +93807,8 @@ "binop": null, "updateContext": null }, - "start": 9205, - "end": 9206, + "start": 9250, + "end": 9251, "loc": { "start": { "line": 443, @@ -93056,8 +93835,8 @@ "updateContext": null }, "value": "else", - "start": 9210, - "end": 9214, + "start": 9255, + "end": 9259, "loc": { "start": { "line": 444, @@ -93084,8 +93863,8 @@ "updateContext": null }, "value": "if", - "start": 9215, - "end": 9217, + "start": 9260, + "end": 9262, "loc": { "start": { "line": 444, @@ -93109,8 +93888,8 @@ "postfix": false, "binop": null }, - "start": 9218, - "end": 9219, + "start": 9263, + "end": 9264, "loc": { "start": { "line": 444, @@ -93135,8 +93914,8 @@ "binop": null }, "value": "other", - "start": 9220, - "end": 9225, + "start": 9265, + "end": 9270, "loc": { "start": { "line": 444, @@ -93161,8 +93940,8 @@ "binop": null, "updateContext": null }, - "start": 9225, - "end": 9226, + "start": 9270, + "end": 9271, "loc": { "start": { "line": 444, @@ -93187,8 +93966,8 @@ "binop": null }, "value": "is_negative", - "start": 9226, - "end": 9237, + "start": 9271, + "end": 9282, "loc": { "start": { "line": 444, @@ -93212,8 +93991,8 @@ "postfix": false, "binop": null }, - "start": 9238, - "end": 9239, + "start": 9283, + "end": 9284, "loc": { "start": { "line": 444, @@ -93240,8 +94019,8 @@ "updateContext": null }, "value": "return", - "start": 9240, - "end": 9246, + "start": 9285, + "end": 9291, "loc": { "start": { "line": 444, @@ -93267,8 +94046,8 @@ "updateContext": null }, "value": 1, - "start": 9248, - "end": 9249, + "start": 9293, + "end": 9294, "loc": { "start": { "line": 444, @@ -93293,8 +94072,8 @@ "binop": null, "updateContext": null }, - "start": 9250, - "end": 9251, + "start": 9295, + "end": 9296, "loc": { "start": { "line": 444, @@ -93321,8 +94100,8 @@ "updateContext": null }, "value": "else", - "start": 9255, - "end": 9259, + "start": 9300, + "end": 9304, "loc": { "start": { "line": 445, @@ -93349,8 +94128,8 @@ "updateContext": null }, "value": "return", - "start": 9285, - "end": 9291, + "start": 9330, + "end": 9336, "loc": { "start": { "line": 445, @@ -93376,8 +94155,8 @@ "updateContext": null }, "value": "-", - "start": 9292, - "end": 9293, + "start": 9337, + "end": 9338, "loc": { "start": { "line": 445, @@ -93403,8 +94182,8 @@ "updateContext": null }, "value": 1, - "start": 9293, - "end": 9294, + "start": 9338, + "end": 9339, "loc": { "start": { "line": 445, @@ -93429,8 +94208,8 @@ "binop": null, "updateContext": null }, - "start": 9295, - "end": 9296, + "start": 9340, + "end": 9341, "loc": { "start": { "line": 445, @@ -93454,8 +94233,8 @@ "postfix": false, "binop": null }, - "start": 9299, - "end": 9300, + "start": 9344, + "end": 9345, "loc": { "start": { "line": 446, @@ -93482,8 +94261,8 @@ "updateContext": null }, "value": "if", - "start": 9304, - "end": 9306, + "start": 9349, + "end": 9351, "loc": { "start": { "line": 448, @@ -93507,8 +94286,8 @@ "postfix": false, "binop": null }, - "start": 9307, - "end": 9308, + "start": 9352, + "end": 9353, "loc": { "start": { "line": 448, @@ -93535,8 +94314,8 @@ "updateContext": null }, "value": "this", - "start": 9309, - "end": 9313, + "start": 9354, + "end": 9358, "loc": { "start": { "line": 448, @@ -93561,8 +94340,8 @@ "binop": null, "updateContext": null }, - "start": 9313, - "end": 9314, + "start": 9358, + "end": 9359, "loc": { "start": { "line": 448, @@ -93587,8 +94366,8 @@ "binop": null }, "value": "is_negative", - "start": 9314, - "end": 9325, + "start": 9359, + "end": 9370, "loc": { "start": { "line": 448, @@ -93614,8 +94393,8 @@ "updateContext": null }, "value": "<", - "start": 9326, - "end": 9327, + "start": 9371, + "end": 9372, "loc": { "start": { "line": 448, @@ -93640,8 +94419,8 @@ "binop": null }, "value": "other", - "start": 9328, - "end": 9333, + "start": 9373, + "end": 9378, "loc": { "start": { "line": 448, @@ -93666,8 +94445,8 @@ "binop": null, "updateContext": null }, - "start": 9333, - "end": 9334, + "start": 9378, + "end": 9379, "loc": { "start": { "line": 448, @@ -93692,8 +94471,8 @@ "binop": null }, "value": "is_negative", - "start": 9334, - "end": 9345, + "start": 9379, + "end": 9390, "loc": { "start": { "line": 448, @@ -93717,8 +94496,8 @@ "postfix": false, "binop": null }, - "start": 9346, - "end": 9347, + "start": 9391, + "end": 9392, "loc": { "start": { "line": 448, @@ -93745,8 +94524,8 @@ "updateContext": null }, "value": "return", - "start": 9348, - "end": 9354, + "start": 9393, + "end": 9399, "loc": { "start": { "line": 448, @@ -93772,8 +94551,8 @@ "updateContext": null }, "value": "-", - "start": 9355, - "end": 9356, + "start": 9400, + "end": 9401, "loc": { "start": { "line": 448, @@ -93799,8 +94578,8 @@ "updateContext": null }, "value": 1, - "start": 9356, - "end": 9357, + "start": 9401, + "end": 9402, "loc": { "start": { "line": 448, @@ -93825,8 +94604,8 @@ "binop": null, "updateContext": null }, - "start": 9358, - "end": 9359, + "start": 9403, + "end": 9404, "loc": { "start": { "line": 448, @@ -93853,8 +94632,8 @@ "updateContext": null }, "value": "if", - "start": 9362, - "end": 9364, + "start": 9407, + "end": 9409, "loc": { "start": { "line": 449, @@ -93878,8 +94657,8 @@ "postfix": false, "binop": null }, - "start": 9365, - "end": 9366, + "start": 9410, + "end": 9411, "loc": { "start": { "line": 449, @@ -93906,8 +94685,8 @@ "updateContext": null }, "value": "this", - "start": 9367, - "end": 9371, + "start": 9412, + "end": 9416, "loc": { "start": { "line": 449, @@ -93932,8 +94711,8 @@ "binop": null, "updateContext": null }, - "start": 9371, - "end": 9372, + "start": 9416, + "end": 9417, "loc": { "start": { "line": 449, @@ -93958,8 +94737,8 @@ "binop": null }, "value": "is_negative", - "start": 9372, - "end": 9383, + "start": 9417, + "end": 9428, "loc": { "start": { "line": 449, @@ -93985,8 +94764,8 @@ "updateContext": null }, "value": ">", - "start": 9384, - "end": 9385, + "start": 9429, + "end": 9430, "loc": { "start": { "line": 449, @@ -94011,8 +94790,8 @@ "binop": null }, "value": "other", - "start": 9386, - "end": 9391, + "start": 9431, + "end": 9436, "loc": { "start": { "line": 449, @@ -94037,8 +94816,8 @@ "binop": null, "updateContext": null }, - "start": 9391, - "end": 9392, + "start": 9436, + "end": 9437, "loc": { "start": { "line": 449, @@ -94063,8 +94842,8 @@ "binop": null }, "value": "is_negative", - "start": 9392, - "end": 9403, + "start": 9437, + "end": 9448, "loc": { "start": { "line": 449, @@ -94088,8 +94867,8 @@ "postfix": false, "binop": null }, - "start": 9404, - "end": 9405, + "start": 9449, + "end": 9450, "loc": { "start": { "line": 449, @@ -94116,8 +94895,8 @@ "updateContext": null }, "value": "return", - "start": 9406, - "end": 9412, + "start": 9451, + "end": 9457, "loc": { "start": { "line": 449, @@ -94143,8 +94922,8 @@ "updateContext": null }, "value": 1, - "start": 9414, - "end": 9415, + "start": 9459, + "end": 9460, "loc": { "start": { "line": 449, @@ -94169,8 +94948,8 @@ "binop": null, "updateContext": null }, - "start": 9416, - "end": 9417, + "start": 9461, + "end": 9462, "loc": { "start": { "line": 449, @@ -94197,8 +94976,8 @@ "updateContext": null }, "value": "const", - "start": 9421, - "end": 9426, + "start": 9466, + "end": 9471, "loc": { "start": { "line": 451, @@ -94223,8 +95002,8 @@ "binop": null }, "value": "a", - "start": 9427, - "end": 9428, + "start": 9472, + "end": 9473, "loc": { "start": { "line": 451, @@ -94250,8 +95029,8 @@ "updateContext": null }, "value": "=", - "start": 9429, - "end": 9430, + "start": 9474, + "end": 9475, "loc": { "start": { "line": 451, @@ -94278,8 +95057,8 @@ "updateContext": null }, "value": "this", - "start": 9431, - "end": 9435, + "start": 9476, + "end": 9480, "loc": { "start": { "line": 451, @@ -94304,8 +95083,8 @@ "binop": null, "updateContext": null }, - "start": 9435, - "end": 9436, + "start": 9480, + "end": 9481, "loc": { "start": { "line": 451, @@ -94330,8 +95109,8 @@ "binop": null }, "value": "limbs", - "start": 9436, - "end": 9441, + "start": 9481, + "end": 9486, "loc": { "start": { "line": 451, @@ -94356,8 +95135,8 @@ "binop": null, "updateContext": null }, - "start": 9442, - "end": 9443, + "start": 9487, + "end": 9488, "loc": { "start": { "line": 451, @@ -94384,8 +95163,8 @@ "updateContext": null }, "value": "const", - "start": 9446, - "end": 9451, + "start": 9491, + "end": 9496, "loc": { "start": { "line": 452, @@ -94410,8 +95189,8 @@ "binop": null }, "value": "b", - "start": 9452, - "end": 9453, + "start": 9497, + "end": 9498, "loc": { "start": { "line": 452, @@ -94437,8 +95216,8 @@ "updateContext": null }, "value": "=", - "start": 9454, - "end": 9455, + "start": 9499, + "end": 9500, "loc": { "start": { "line": 452, @@ -94463,8 +95242,8 @@ "binop": null }, "value": "other", - "start": 9456, - "end": 9461, + "start": 9501, + "end": 9506, "loc": { "start": { "line": 452, @@ -94489,8 +95268,8 @@ "binop": null, "updateContext": null }, - "start": 9461, - "end": 9462, + "start": 9506, + "end": 9507, "loc": { "start": { "line": 452, @@ -94515,8 +95294,8 @@ "binop": null }, "value": "_limbs_in_base", - "start": 9462, - "end": 9476, + "start": 9507, + "end": 9521, "loc": { "start": { "line": 452, @@ -94540,8 +95319,8 @@ "postfix": false, "binop": null }, - "start": 9476, - "end": 9477, + "start": 9521, + "end": 9522, "loc": { "start": { "line": 452, @@ -94568,8 +95347,8 @@ "updateContext": null }, "value": "this", - "start": 9478, - "end": 9482, + "start": 9523, + "end": 9527, "loc": { "start": { "line": 452, @@ -94594,8 +95373,8 @@ "binop": null, "updateContext": null }, - "start": 9482, - "end": 9483, + "start": 9527, + "end": 9528, "loc": { "start": { "line": 452, @@ -94620,8 +95399,8 @@ "binop": null }, "value": "base", - "start": 9483, - "end": 9487, + "start": 9528, + "end": 9532, "loc": { "start": { "line": 452, @@ -94645,8 +95424,8 @@ "postfix": false, "binop": null }, - "start": 9488, - "end": 9489, + "start": 9533, + "end": 9534, "loc": { "start": { "line": 452, @@ -94671,8 +95450,8 @@ "binop": null, "updateContext": null }, - "start": 9490, - "end": 9491, + "start": 9535, + "end": 9536, "loc": { "start": { "line": 452, @@ -94699,8 +95478,8 @@ "updateContext": null }, "value": "return", - "start": 9495, - "end": 9501, + "start": 9540, + "end": 9546, "loc": { "start": { "line": 454, @@ -94727,8 +95506,8 @@ "updateContext": null }, "value": "this", - "start": 9502, - "end": 9506, + "start": 9547, + "end": 9551, "loc": { "start": { "line": 454, @@ -94753,8 +95532,8 @@ "binop": null, "updateContext": null }, - "start": 9506, - "end": 9507, + "start": 9551, + "end": 9552, "loc": { "start": { "line": 454, @@ -94779,8 +95558,8 @@ "binop": null }, "value": "is_negative", - "start": 9507, - "end": 9518, + "start": 9552, + "end": 9563, "loc": { "start": { "line": 454, @@ -94806,8 +95585,8 @@ "updateContext": null }, "value": "===", - "start": 9519, - "end": 9522, + "start": 9564, + "end": 9567, "loc": { "start": { "line": 454, @@ -94833,8 +95612,8 @@ "updateContext": null }, "value": 0, - "start": 9523, - "end": 9524, + "start": 9568, + "end": 9569, "loc": { "start": { "line": 454, @@ -94859,8 +95638,8 @@ "binop": null, "updateContext": null }, - "start": 9525, - "end": 9526, + "start": 9570, + "end": 9571, "loc": { "start": { "line": 454, @@ -94885,8 +95664,8 @@ "binop": null }, "value": "cmp", - "start": 9530, - "end": 9533, + "start": 9575, + "end": 9578, "loc": { "start": { "line": 455, @@ -94910,8 +95689,8 @@ "postfix": false, "binop": null }, - "start": 9533, - "end": 9534, + "start": 9578, + "end": 9579, "loc": { "start": { "line": 455, @@ -94936,8 +95715,8 @@ "binop": null }, "value": "a", - "start": 9535, - "end": 9536, + "start": 9580, + "end": 9581, "loc": { "start": { "line": 455, @@ -94962,8 +95741,8 @@ "binop": null, "updateContext": null }, - "start": 9537, - "end": 9538, + "start": 9582, + "end": 9583, "loc": { "start": { "line": 455, @@ -94989,8 +95768,8 @@ "updateContext": null }, "value": 0, - "start": 9539, - "end": 9540, + "start": 9584, + "end": 9585, "loc": { "start": { "line": 455, @@ -95015,8 +95794,8 @@ "binop": null, "updateContext": null }, - "start": 9541, - "end": 9542, + "start": 9586, + "end": 9587, "loc": { "start": { "line": 455, @@ -95041,8 +95820,8 @@ "binop": null }, "value": "a", - "start": 9543, - "end": 9544, + "start": 9588, + "end": 9589, "loc": { "start": { "line": 455, @@ -95067,8 +95846,8 @@ "binop": null, "updateContext": null }, - "start": 9544, - "end": 9545, + "start": 9589, + "end": 9590, "loc": { "start": { "line": 455, @@ -95093,8 +95872,8 @@ "binop": null }, "value": "length", - "start": 9545, - "end": 9551, + "start": 9590, + "end": 9596, "loc": { "start": { "line": 455, @@ -95119,8 +95898,8 @@ "binop": null, "updateContext": null }, - "start": 9552, - "end": 9553, + "start": 9597, + "end": 9598, "loc": { "start": { "line": 455, @@ -95145,8 +95924,8 @@ "binop": null }, "value": "b", - "start": 9554, - "end": 9555, + "start": 9599, + "end": 9600, "loc": { "start": { "line": 455, @@ -95171,8 +95950,8 @@ "binop": null, "updateContext": null }, - "start": 9556, - "end": 9557, + "start": 9601, + "end": 9602, "loc": { "start": { "line": 455, @@ -95198,8 +95977,8 @@ "updateContext": null }, "value": 0, - "start": 9558, - "end": 9559, + "start": 9603, + "end": 9604, "loc": { "start": { "line": 455, @@ -95224,8 +96003,8 @@ "binop": null, "updateContext": null }, - "start": 9560, - "end": 9561, + "start": 9605, + "end": 9606, "loc": { "start": { "line": 455, @@ -95250,8 +96029,8 @@ "binop": null }, "value": "b", - "start": 9562, - "end": 9563, + "start": 9607, + "end": 9608, "loc": { "start": { "line": 455, @@ -95276,8 +96055,8 @@ "binop": null, "updateContext": null }, - "start": 9563, - "end": 9564, + "start": 9608, + "end": 9609, "loc": { "start": { "line": 455, @@ -95302,8 +96081,8 @@ "binop": null }, "value": "length", - "start": 9564, - "end": 9570, + "start": 9609, + "end": 9615, "loc": { "start": { "line": 455, @@ -95327,8 +96106,8 @@ "postfix": false, "binop": null }, - "start": 9571, - "end": 9572, + "start": 9616, + "end": 9617, "loc": { "start": { "line": 455, @@ -95353,8 +96132,8 @@ "binop": null, "updateContext": null }, - "start": 9573, - "end": 9574, + "start": 9618, + "end": 9619, "loc": { "start": { "line": 455, @@ -95379,8 +96158,8 @@ "binop": null }, "value": "cmp", - "start": 9578, - "end": 9581, + "start": 9623, + "end": 9626, "loc": { "start": { "line": 456, @@ -95404,8 +96183,8 @@ "postfix": false, "binop": null }, - "start": 9581, - "end": 9582, + "start": 9626, + "end": 9627, "loc": { "start": { "line": 456, @@ -95430,8 +96209,8 @@ "binop": null }, "value": "b", - "start": 9583, - "end": 9584, + "start": 9628, + "end": 9629, "loc": { "start": { "line": 456, @@ -95456,8 +96235,8 @@ "binop": null, "updateContext": null }, - "start": 9585, - "end": 9586, + "start": 9630, + "end": 9631, "loc": { "start": { "line": 456, @@ -95483,8 +96262,8 @@ "updateContext": null }, "value": 0, - "start": 9587, - "end": 9588, + "start": 9632, + "end": 9633, "loc": { "start": { "line": 456, @@ -95509,8 +96288,8 @@ "binop": null, "updateContext": null }, - "start": 9589, - "end": 9590, + "start": 9634, + "end": 9635, "loc": { "start": { "line": 456, @@ -95535,8 +96314,8 @@ "binop": null }, "value": "b", - "start": 9591, - "end": 9592, + "start": 9636, + "end": 9637, "loc": { "start": { "line": 456, @@ -95561,8 +96340,8 @@ "binop": null, "updateContext": null }, - "start": 9592, - "end": 9593, + "start": 9637, + "end": 9638, "loc": { "start": { "line": 456, @@ -95587,8 +96366,8 @@ "binop": null }, "value": "length", - "start": 9593, - "end": 9599, + "start": 9638, + "end": 9644, "loc": { "start": { "line": 456, @@ -95613,8 +96392,8 @@ "binop": null, "updateContext": null }, - "start": 9600, - "end": 9601, + "start": 9645, + "end": 9646, "loc": { "start": { "line": 456, @@ -95639,8 +96418,8 @@ "binop": null }, "value": "a", - "start": 9602, - "end": 9603, + "start": 9647, + "end": 9648, "loc": { "start": { "line": 456, @@ -95665,8 +96444,8 @@ "binop": null, "updateContext": null }, - "start": 9604, - "end": 9605, + "start": 9649, + "end": 9650, "loc": { "start": { "line": 456, @@ -95692,8 +96471,8 @@ "updateContext": null }, "value": 0, - "start": 9606, - "end": 9607, + "start": 9651, + "end": 9652, "loc": { "start": { "line": 456, @@ -95718,8 +96497,8 @@ "binop": null, "updateContext": null }, - "start": 9608, - "end": 9609, + "start": 9653, + "end": 9654, "loc": { "start": { "line": 456, @@ -95744,8 +96523,8 @@ "binop": null }, "value": "a", - "start": 9610, - "end": 9611, + "start": 9655, + "end": 9656, "loc": { "start": { "line": 456, @@ -95770,8 +96549,8 @@ "binop": null, "updateContext": null }, - "start": 9611, - "end": 9612, + "start": 9656, + "end": 9657, "loc": { "start": { "line": 456, @@ -95796,8 +96575,8 @@ "binop": null }, "value": "length", - "start": 9612, - "end": 9618, + "start": 9657, + "end": 9663, "loc": { "start": { "line": 456, @@ -95821,8 +96600,8 @@ "postfix": false, "binop": null }, - "start": 9619, - "end": 9620, + "start": 9664, + "end": 9665, "loc": { "start": { "line": 456, @@ -95847,8 +96626,8 @@ "binop": null, "updateContext": null }, - "start": 9621, - "end": 9622, + "start": 9666, + "end": 9667, "loc": { "start": { "line": 456, @@ -95872,8 +96651,8 @@ "postfix": false, "binop": null }, - "start": 9625, - "end": 9626, + "start": 9670, + "end": 9671, "loc": { "start": { "line": 458, @@ -95898,8 +96677,8 @@ "binop": null }, "value": "cmpn", - "start": 9629, - "end": 9633, + "start": 9674, + "end": 9678, "loc": { "start": { "line": 460, @@ -95923,8 +96702,8 @@ "postfix": false, "binop": null }, - "start": 9634, - "end": 9635, + "start": 9679, + "end": 9680, "loc": { "start": { "line": 460, @@ -95949,8 +96728,8 @@ "binop": null }, "value": "number", - "start": 9636, - "end": 9642, + "start": 9681, + "end": 9687, "loc": { "start": { "line": 460, @@ -95974,8 +96753,8 @@ "postfix": false, "binop": null }, - "start": 9643, - "end": 9644, + "start": 9688, + "end": 9689, "loc": { "start": { "line": 460, @@ -95999,8 +96778,8 @@ "postfix": false, "binop": null }, - "start": 9645, - "end": 9646, + "start": 9690, + "end": 9691, "loc": { "start": { "line": 460, @@ -96027,8 +96806,8 @@ "updateContext": null }, "value": "return", - "start": 9649, - "end": 9655, + "start": 9694, + "end": 9700, "loc": { "start": { "line": 461, @@ -96055,8 +96834,8 @@ "updateContext": null }, "value": "this", - "start": 9656, - "end": 9660, + "start": 9701, + "end": 9705, "loc": { "start": { "line": 461, @@ -96081,8 +96860,8 @@ "binop": null, "updateContext": null }, - "start": 9660, - "end": 9661, + "start": 9705, + "end": 9706, "loc": { "start": { "line": 461, @@ -96107,8 +96886,8 @@ "binop": null }, "value": "cmp", - "start": 9661, - "end": 9664, + "start": 9706, + "end": 9709, "loc": { "start": { "line": 461, @@ -96132,8 +96911,8 @@ "postfix": false, "binop": null }, - "start": 9664, - "end": 9665, + "start": 9709, + "end": 9710, "loc": { "start": { "line": 461, @@ -96158,8 +96937,8 @@ "binop": null }, "value": "_from_number", - "start": 9665, - "end": 9677, + "start": 9710, + "end": 9722, "loc": { "start": { "line": 461, @@ -96183,8 +96962,8 @@ "postfix": false, "binop": null }, - "start": 9677, - "end": 9678, + "start": 9722, + "end": 9723, "loc": { "start": { "line": 461, @@ -96209,8 +96988,8 @@ "binop": null }, "value": "number", - "start": 9678, - "end": 9684, + "start": 9723, + "end": 9729, "loc": { "start": { "line": 461, @@ -96234,8 +97013,8 @@ "postfix": false, "binop": null }, - "start": 9684, - "end": 9685, + "start": 9729, + "end": 9730, "loc": { "start": { "line": 461, @@ -96259,8 +97038,8 @@ "postfix": false, "binop": null }, - "start": 9685, - "end": 9686, + "start": 9730, + "end": 9731, "loc": { "start": { "line": 461, @@ -96285,8 +97064,8 @@ "binop": null, "updateContext": null }, - "start": 9687, - "end": 9688, + "start": 9732, + "end": 9733, "loc": { "start": { "line": 461, @@ -96310,8 +97089,8 @@ "postfix": false, "binop": null }, - "start": 9690, - "end": 9691, + "start": 9735, + "end": 9736, "loc": { "start": { "line": 462, @@ -96336,8 +97115,8 @@ "binop": null }, "value": "eq", - "start": 9694, - "end": 9696, + "start": 9739, + "end": 9741, "loc": { "start": { "line": 464, @@ -96361,8 +97140,8 @@ "postfix": false, "binop": null }, - "start": 9697, - "end": 9698, + "start": 9742, + "end": 9743, "loc": { "start": { "line": 464, @@ -96387,8 +97166,8 @@ "binop": null }, "value": "other", - "start": 9699, - "end": 9704, + "start": 9744, + "end": 9749, "loc": { "start": { "line": 464, @@ -96412,8 +97191,8 @@ "postfix": false, "binop": null }, - "start": 9705, - "end": 9706, + "start": 9750, + "end": 9751, "loc": { "start": { "line": 464, @@ -96437,8 +97216,8 @@ "postfix": false, "binop": null }, - "start": 9707, - "end": 9708, + "start": 9752, + "end": 9753, "loc": { "start": { "line": 464, @@ -96465,8 +97244,8 @@ "updateContext": null }, "value": "return", - "start": 9711, - "end": 9717, + "start": 9756, + "end": 9762, "loc": { "start": { "line": 465, @@ -96493,8 +97272,8 @@ "updateContext": null }, "value": "this", - "start": 9718, - "end": 9722, + "start": 9763, + "end": 9767, "loc": { "start": { "line": 465, @@ -96519,8 +97298,8 @@ "binop": null, "updateContext": null }, - "start": 9722, - "end": 9723, + "start": 9767, + "end": 9768, "loc": { "start": { "line": 465, @@ -96545,8 +97324,8 @@ "binop": null }, "value": "cmp", - "start": 9723, - "end": 9726, + "start": 9768, + "end": 9771, "loc": { "start": { "line": 465, @@ -96570,8 +97349,8 @@ "postfix": false, "binop": null }, - "start": 9726, - "end": 9727, + "start": 9771, + "end": 9772, "loc": { "start": { "line": 465, @@ -96596,8 +97375,8 @@ "binop": null }, "value": "other", - "start": 9728, - "end": 9733, + "start": 9773, + "end": 9778, "loc": { "start": { "line": 465, @@ -96621,8 +97400,8 @@ "postfix": false, "binop": null }, - "start": 9734, - "end": 9735, + "start": 9779, + "end": 9780, "loc": { "start": { "line": 465, @@ -96648,8 +97427,8 @@ "updateContext": null }, "value": "===", - "start": 9736, - "end": 9739, + "start": 9781, + "end": 9784, "loc": { "start": { "line": 465, @@ -96675,8 +97454,8 @@ "updateContext": null }, "value": 0, - "start": 9740, - "end": 9741, + "start": 9785, + "end": 9786, "loc": { "start": { "line": 465, @@ -96701,8 +97480,8 @@ "binop": null, "updateContext": null }, - "start": 9742, - "end": 9743, + "start": 9787, + "end": 9788, "loc": { "start": { "line": 465, @@ -96726,8 +97505,8 @@ "postfix": false, "binop": null }, - "start": 9745, - "end": 9746, + "start": 9790, + "end": 9791, "loc": { "start": { "line": 466, @@ -96752,8 +97531,8 @@ "binop": null }, "value": "eqn", - "start": 9749, - "end": 9752, + "start": 9794, + "end": 9797, "loc": { "start": { "line": 468, @@ -96777,8 +97556,8 @@ "postfix": false, "binop": null }, - "start": 9753, - "end": 9754, + "start": 9798, + "end": 9799, "loc": { "start": { "line": 468, @@ -96803,8 +97582,8 @@ "binop": null }, "value": "number", - "start": 9755, - "end": 9761, + "start": 9800, + "end": 9806, "loc": { "start": { "line": 468, @@ -96828,8 +97607,8 @@ "postfix": false, "binop": null }, - "start": 9762, - "end": 9763, + "start": 9807, + "end": 9808, "loc": { "start": { "line": 468, @@ -96853,8 +97632,8 @@ "postfix": false, "binop": null }, - "start": 9764, - "end": 9765, + "start": 9809, + "end": 9810, "loc": { "start": { "line": 468, @@ -96881,8 +97660,8 @@ "updateContext": null }, "value": "return", - "start": 9768, - "end": 9774, + "start": 9813, + "end": 9819, "loc": { "start": { "line": 469, @@ -96909,8 +97688,8 @@ "updateContext": null }, "value": "this", - "start": 9775, - "end": 9779, + "start": 9820, + "end": 9824, "loc": { "start": { "line": 469, @@ -96935,8 +97714,8 @@ "binop": null, "updateContext": null }, - "start": 9779, - "end": 9780, + "start": 9824, + "end": 9825, "loc": { "start": { "line": 469, @@ -96961,8 +97740,8 @@ "binop": null }, "value": "cmpn", - "start": 9780, - "end": 9784, + "start": 9825, + "end": 9829, "loc": { "start": { "line": 469, @@ -96986,8 +97765,8 @@ "postfix": false, "binop": null }, - "start": 9784, - "end": 9785, + "start": 9829, + "end": 9830, "loc": { "start": { "line": 469, @@ -97012,8 +97791,8 @@ "binop": null }, "value": "number", - "start": 9786, - "end": 9792, + "start": 9831, + "end": 9837, "loc": { "start": { "line": 469, @@ -97037,8 +97816,8 @@ "postfix": false, "binop": null }, - "start": 9793, - "end": 9794, + "start": 9838, + "end": 9839, "loc": { "start": { "line": 469, @@ -97064,8 +97843,8 @@ "updateContext": null }, "value": "===", - "start": 9795, - "end": 9798, + "start": 9840, + "end": 9843, "loc": { "start": { "line": 469, @@ -97091,8 +97870,8 @@ "updateContext": null }, "value": 0, - "start": 9799, - "end": 9800, + "start": 9844, + "end": 9845, "loc": { "start": { "line": 469, @@ -97117,8 +97896,8 @@ "binop": null, "updateContext": null }, - "start": 9801, - "end": 9802, + "start": 9846, + "end": 9847, "loc": { "start": { "line": 469, @@ -97142,8 +97921,8 @@ "postfix": false, "binop": null }, - "start": 9804, - "end": 9805, + "start": 9849, + "end": 9850, "loc": { "start": { "line": 470, @@ -97168,8 +97947,8 @@ "binop": null }, "value": "ge", - "start": 9808, - "end": 9810, + "start": 9853, + "end": 9855, "loc": { "start": { "line": 472, @@ -97193,8 +97972,8 @@ "postfix": false, "binop": null }, - "start": 9811, - "end": 9812, + "start": 9856, + "end": 9857, "loc": { "start": { "line": 472, @@ -97219,8 +97998,8 @@ "binop": null }, "value": "other", - "start": 9813, - "end": 9818, + "start": 9858, + "end": 9863, "loc": { "start": { "line": 472, @@ -97244,8 +98023,8 @@ "postfix": false, "binop": null }, - "start": 9819, - "end": 9820, + "start": 9864, + "end": 9865, "loc": { "start": { "line": 472, @@ -97269,8 +98048,8 @@ "postfix": false, "binop": null }, - "start": 9821, - "end": 9822, + "start": 9866, + "end": 9867, "loc": { "start": { "line": 472, @@ -97297,8 +98076,8 @@ "updateContext": null }, "value": "return", - "start": 9825, - "end": 9831, + "start": 9870, + "end": 9876, "loc": { "start": { "line": 473, @@ -97325,8 +98104,8 @@ "updateContext": null }, "value": "this", - "start": 9832, - "end": 9836, + "start": 9877, + "end": 9881, "loc": { "start": { "line": 473, @@ -97351,8 +98130,8 @@ "binop": null, "updateContext": null }, - "start": 9836, - "end": 9837, + "start": 9881, + "end": 9882, "loc": { "start": { "line": 473, @@ -97377,8 +98156,8 @@ "binop": null }, "value": "cmp", - "start": 9837, - "end": 9840, + "start": 9882, + "end": 9885, "loc": { "start": { "line": 473, @@ -97402,8 +98181,8 @@ "postfix": false, "binop": null }, - "start": 9840, - "end": 9841, + "start": 9885, + "end": 9886, "loc": { "start": { "line": 473, @@ -97428,8 +98207,8 @@ "binop": null }, "value": "other", - "start": 9842, - "end": 9847, + "start": 9887, + "end": 9892, "loc": { "start": { "line": 473, @@ -97453,8 +98232,8 @@ "postfix": false, "binop": null }, - "start": 9848, - "end": 9849, + "start": 9893, + "end": 9894, "loc": { "start": { "line": 473, @@ -97480,8 +98259,8 @@ "updateContext": null }, "value": ">=", - "start": 9850, - "end": 9852, + "start": 9895, + "end": 9897, "loc": { "start": { "line": 473, @@ -97507,8 +98286,8 @@ "updateContext": null }, "value": 0, - "start": 9853, - "end": 9854, + "start": 9898, + "end": 9899, "loc": { "start": { "line": 473, @@ -97533,8 +98312,8 @@ "binop": null, "updateContext": null }, - "start": 9855, - "end": 9856, + "start": 9900, + "end": 9901, "loc": { "start": { "line": 473, @@ -97558,8 +98337,8 @@ "postfix": false, "binop": null }, - "start": 9858, - "end": 9859, + "start": 9903, + "end": 9904, "loc": { "start": { "line": 474, @@ -97584,8 +98363,8 @@ "binop": null }, "value": "gen", - "start": 9862, - "end": 9865, + "start": 9907, + "end": 9910, "loc": { "start": { "line": 476, @@ -97609,8 +98388,8 @@ "postfix": false, "binop": null }, - "start": 9866, - "end": 9867, + "start": 9911, + "end": 9912, "loc": { "start": { "line": 476, @@ -97635,8 +98414,8 @@ "binop": null }, "value": "number", - "start": 9868, - "end": 9874, + "start": 9913, + "end": 9919, "loc": { "start": { "line": 476, @@ -97660,8 +98439,8 @@ "postfix": false, "binop": null }, - "start": 9875, - "end": 9876, + "start": 9920, + "end": 9921, "loc": { "start": { "line": 476, @@ -97685,8 +98464,8 @@ "postfix": false, "binop": null }, - "start": 9877, - "end": 9878, + "start": 9922, + "end": 9923, "loc": { "start": { "line": 476, @@ -97713,8 +98492,8 @@ "updateContext": null }, "value": "return", - "start": 9881, - "end": 9887, + "start": 9926, + "end": 9932, "loc": { "start": { "line": 477, @@ -97741,8 +98520,8 @@ "updateContext": null }, "value": "this", - "start": 9888, - "end": 9892, + "start": 9933, + "end": 9937, "loc": { "start": { "line": 477, @@ -97767,8 +98546,8 @@ "binop": null, "updateContext": null }, - "start": 9892, - "end": 9893, + "start": 9937, + "end": 9938, "loc": { "start": { "line": 477, @@ -97793,8 +98572,8 @@ "binop": null }, "value": "cmpn", - "start": 9893, - "end": 9897, + "start": 9938, + "end": 9942, "loc": { "start": { "line": 477, @@ -97818,8 +98597,8 @@ "postfix": false, "binop": null }, - "start": 9897, - "end": 9898, + "start": 9942, + "end": 9943, "loc": { "start": { "line": 477, @@ -97844,8 +98623,8 @@ "binop": null }, "value": "number", - "start": 9899, - "end": 9905, + "start": 9944, + "end": 9950, "loc": { "start": { "line": 477, @@ -97869,8 +98648,8 @@ "postfix": false, "binop": null }, - "start": 9906, - "end": 9907, + "start": 9951, + "end": 9952, "loc": { "start": { "line": 477, @@ -97896,8 +98675,8 @@ "updateContext": null }, "value": ">=", - "start": 9908, - "end": 9910, + "start": 9953, + "end": 9955, "loc": { "start": { "line": 477, @@ -97923,8 +98702,8 @@ "updateContext": null }, "value": 0, - "start": 9911, - "end": 9912, + "start": 9956, + "end": 9957, "loc": { "start": { "line": 477, @@ -97949,8 +98728,8 @@ "binop": null, "updateContext": null }, - "start": 9913, - "end": 9914, + "start": 9958, + "end": 9959, "loc": { "start": { "line": 477, @@ -97974,8 +98753,8 @@ "postfix": false, "binop": null }, - "start": 9916, - "end": 9917, + "start": 9961, + "end": 9962, "loc": { "start": { "line": 478, @@ -98000,8 +98779,8 @@ "binop": null }, "value": "gt", - "start": 9920, - "end": 9922, + "start": 9965, + "end": 9967, "loc": { "start": { "line": 480, @@ -98025,8 +98804,8 @@ "postfix": false, "binop": null }, - "start": 9923, - "end": 9924, + "start": 9968, + "end": 9969, "loc": { "start": { "line": 480, @@ -98051,8 +98830,8 @@ "binop": null }, "value": "other", - "start": 9925, - "end": 9930, + "start": 9970, + "end": 9975, "loc": { "start": { "line": 480, @@ -98076,8 +98855,8 @@ "postfix": false, "binop": null }, - "start": 9931, - "end": 9932, + "start": 9976, + "end": 9977, "loc": { "start": { "line": 480, @@ -98101,8 +98880,8 @@ "postfix": false, "binop": null }, - "start": 9933, - "end": 9934, + "start": 9978, + "end": 9979, "loc": { "start": { "line": 480, @@ -98129,8 +98908,8 @@ "updateContext": null }, "value": "return", - "start": 9937, - "end": 9943, + "start": 9982, + "end": 9988, "loc": { "start": { "line": 481, @@ -98157,8 +98936,8 @@ "updateContext": null }, "value": "this", - "start": 9944, - "end": 9948, + "start": 9989, + "end": 9993, "loc": { "start": { "line": 481, @@ -98183,8 +98962,8 @@ "binop": null, "updateContext": null }, - "start": 9948, - "end": 9949, + "start": 9993, + "end": 9994, "loc": { "start": { "line": 481, @@ -98209,8 +98988,8 @@ "binop": null }, "value": "cmp", - "start": 9949, - "end": 9952, + "start": 9994, + "end": 9997, "loc": { "start": { "line": 481, @@ -98234,8 +99013,8 @@ "postfix": false, "binop": null }, - "start": 9952, - "end": 9953, + "start": 9997, + "end": 9998, "loc": { "start": { "line": 481, @@ -98260,8 +99039,8 @@ "binop": null }, "value": "other", - "start": 9954, - "end": 9959, + "start": 9999, + "end": 10004, "loc": { "start": { "line": 481, @@ -98285,8 +99064,8 @@ "postfix": false, "binop": null }, - "start": 9960, - "end": 9961, + "start": 10005, + "end": 10006, "loc": { "start": { "line": 481, @@ -98312,8 +99091,8 @@ "updateContext": null }, "value": ">", - "start": 9962, - "end": 9963, + "start": 10007, + "end": 10008, "loc": { "start": { "line": 481, @@ -98339,8 +99118,8 @@ "updateContext": null }, "value": 0, - "start": 9964, - "end": 9965, + "start": 10009, + "end": 10010, "loc": { "start": { "line": 481, @@ -98365,8 +99144,8 @@ "binop": null, "updateContext": null }, - "start": 9966, - "end": 9967, + "start": 10011, + "end": 10012, "loc": { "start": { "line": 481, @@ -98390,8 +99169,8 @@ "postfix": false, "binop": null }, - "start": 9969, - "end": 9970, + "start": 10014, + "end": 10015, "loc": { "start": { "line": 482, @@ -98416,8 +99195,8 @@ "binop": null }, "value": "gtn", - "start": 9973, - "end": 9976, + "start": 10018, + "end": 10021, "loc": { "start": { "line": 484, @@ -98441,8 +99220,8 @@ "postfix": false, "binop": null }, - "start": 9977, - "end": 9978, + "start": 10022, + "end": 10023, "loc": { "start": { "line": 484, @@ -98467,8 +99246,8 @@ "binop": null }, "value": "number", - "start": 9979, - "end": 9985, + "start": 10024, + "end": 10030, "loc": { "start": { "line": 484, @@ -98492,8 +99271,8 @@ "postfix": false, "binop": null }, - "start": 9986, - "end": 9987, + "start": 10031, + "end": 10032, "loc": { "start": { "line": 484, @@ -98517,8 +99296,8 @@ "postfix": false, "binop": null }, - "start": 9988, - "end": 9989, + "start": 10033, + "end": 10034, "loc": { "start": { "line": 484, @@ -98545,8 +99324,8 @@ "updateContext": null }, "value": "return", - "start": 9992, - "end": 9998, + "start": 10037, + "end": 10043, "loc": { "start": { "line": 485, @@ -98573,8 +99352,8 @@ "updateContext": null }, "value": "this", - "start": 9999, - "end": 10003, + "start": 10044, + "end": 10048, "loc": { "start": { "line": 485, @@ -98599,8 +99378,8 @@ "binop": null, "updateContext": null }, - "start": 10003, - "end": 10004, + "start": 10048, + "end": 10049, "loc": { "start": { "line": 485, @@ -98625,8 +99404,8 @@ "binop": null }, "value": "cmpn", - "start": 10004, - "end": 10008, + "start": 10049, + "end": 10053, "loc": { "start": { "line": 485, @@ -98650,8 +99429,8 @@ "postfix": false, "binop": null }, - "start": 10008, - "end": 10009, + "start": 10053, + "end": 10054, "loc": { "start": { "line": 485, @@ -98676,8 +99455,8 @@ "binop": null }, "value": "number", - "start": 10010, - "end": 10016, + "start": 10055, + "end": 10061, "loc": { "start": { "line": 485, @@ -98701,8 +99480,8 @@ "postfix": false, "binop": null }, - "start": 10017, - "end": 10018, + "start": 10062, + "end": 10063, "loc": { "start": { "line": 485, @@ -98728,8 +99507,8 @@ "updateContext": null }, "value": ">", - "start": 10019, - "end": 10020, + "start": 10064, + "end": 10065, "loc": { "start": { "line": 485, @@ -98755,8 +99534,8 @@ "updateContext": null }, "value": 0, - "start": 10021, - "end": 10022, + "start": 10066, + "end": 10067, "loc": { "start": { "line": 485, @@ -98781,8 +99560,8 @@ "binop": null, "updateContext": null }, - "start": 10023, - "end": 10024, + "start": 10068, + "end": 10069, "loc": { "start": { "line": 485, @@ -98806,8 +99585,8 @@ "postfix": false, "binop": null }, - "start": 10026, - "end": 10027, + "start": 10071, + "end": 10072, "loc": { "start": { "line": 486, @@ -98832,8 +99611,8 @@ "binop": null }, "value": "le", - "start": 10030, - "end": 10032, + "start": 10075, + "end": 10077, "loc": { "start": { "line": 488, @@ -98857,8 +99636,8 @@ "postfix": false, "binop": null }, - "start": 10033, - "end": 10034, + "start": 10078, + "end": 10079, "loc": { "start": { "line": 488, @@ -98883,8 +99662,8 @@ "binop": null }, "value": "other", - "start": 10035, - "end": 10040, + "start": 10080, + "end": 10085, "loc": { "start": { "line": 488, @@ -98908,8 +99687,8 @@ "postfix": false, "binop": null }, - "start": 10041, - "end": 10042, + "start": 10086, + "end": 10087, "loc": { "start": { "line": 488, @@ -98933,8 +99712,8 @@ "postfix": false, "binop": null }, - "start": 10043, - "end": 10044, + "start": 10088, + "end": 10089, "loc": { "start": { "line": 488, @@ -98961,8 +99740,8 @@ "updateContext": null }, "value": "return", - "start": 10047, - "end": 10053, + "start": 10092, + "end": 10098, "loc": { "start": { "line": 489, @@ -98989,8 +99768,8 @@ "updateContext": null }, "value": "this", - "start": 10054, - "end": 10058, + "start": 10099, + "end": 10103, "loc": { "start": { "line": 489, @@ -99015,8 +99794,8 @@ "binop": null, "updateContext": null }, - "start": 10058, - "end": 10059, + "start": 10103, + "end": 10104, "loc": { "start": { "line": 489, @@ -99041,8 +99820,8 @@ "binop": null }, "value": "cmp", - "start": 10059, - "end": 10062, + "start": 10104, + "end": 10107, "loc": { "start": { "line": 489, @@ -99066,8 +99845,8 @@ "postfix": false, "binop": null }, - "start": 10062, - "end": 10063, + "start": 10107, + "end": 10108, "loc": { "start": { "line": 489, @@ -99092,8 +99871,8 @@ "binop": null }, "value": "other", - "start": 10064, - "end": 10069, + "start": 10109, + "end": 10114, "loc": { "start": { "line": 489, @@ -99117,8 +99896,8 @@ "postfix": false, "binop": null }, - "start": 10070, - "end": 10071, + "start": 10115, + "end": 10116, "loc": { "start": { "line": 489, @@ -99144,8 +99923,8 @@ "updateContext": null }, "value": "<=", - "start": 10072, - "end": 10074, + "start": 10117, + "end": 10119, "loc": { "start": { "line": 489, @@ -99171,8 +99950,8 @@ "updateContext": null }, "value": 0, - "start": 10075, - "end": 10076, + "start": 10120, + "end": 10121, "loc": { "start": { "line": 489, @@ -99197,8 +99976,8 @@ "binop": null, "updateContext": null }, - "start": 10077, - "end": 10078, + "start": 10122, + "end": 10123, "loc": { "start": { "line": 489, @@ -99222,8 +100001,8 @@ "postfix": false, "binop": null }, - "start": 10080, - "end": 10081, + "start": 10125, + "end": 10126, "loc": { "start": { "line": 490, @@ -99248,8 +100027,8 @@ "binop": null }, "value": "len", - "start": 10084, - "end": 10087, + "start": 10129, + "end": 10132, "loc": { "start": { "line": 492, @@ -99273,8 +100052,8 @@ "postfix": false, "binop": null }, - "start": 10088, - "end": 10089, + "start": 10133, + "end": 10134, "loc": { "start": { "line": 492, @@ -99299,8 +100078,8 @@ "binop": null }, "value": "number", - "start": 10090, - "end": 10096, + "start": 10135, + "end": 10141, "loc": { "start": { "line": 492, @@ -99324,8 +100103,8 @@ "postfix": false, "binop": null }, - "start": 10097, - "end": 10098, + "start": 10142, + "end": 10143, "loc": { "start": { "line": 492, @@ -99349,8 +100128,8 @@ "postfix": false, "binop": null }, - "start": 10099, - "end": 10100, + "start": 10144, + "end": 10145, "loc": { "start": { "line": 492, @@ -99377,8 +100156,8 @@ "updateContext": null }, "value": "return", - "start": 10103, - "end": 10109, + "start": 10148, + "end": 10154, "loc": { "start": { "line": 493, @@ -99405,8 +100184,8 @@ "updateContext": null }, "value": "this", - "start": 10110, - "end": 10114, + "start": 10155, + "end": 10159, "loc": { "start": { "line": 493, @@ -99431,8 +100210,8 @@ "binop": null, "updateContext": null }, - "start": 10114, - "end": 10115, + "start": 10159, + "end": 10160, "loc": { "start": { "line": 493, @@ -99457,8 +100236,8 @@ "binop": null }, "value": "cmpn", - "start": 10115, - "end": 10119, + "start": 10160, + "end": 10164, "loc": { "start": { "line": 493, @@ -99482,8 +100261,8 @@ "postfix": false, "binop": null }, - "start": 10119, - "end": 10120, + "start": 10164, + "end": 10165, "loc": { "start": { "line": 493, @@ -99508,8 +100287,8 @@ "binop": null }, "value": "number", - "start": 10121, - "end": 10127, + "start": 10166, + "end": 10172, "loc": { "start": { "line": 493, @@ -99533,8 +100312,8 @@ "postfix": false, "binop": null }, - "start": 10128, - "end": 10129, + "start": 10173, + "end": 10174, "loc": { "start": { "line": 493, @@ -99560,8 +100339,8 @@ "updateContext": null }, "value": "<=", - "start": 10130, - "end": 10132, + "start": 10175, + "end": 10177, "loc": { "start": { "line": 493, @@ -99587,8 +100366,8 @@ "updateContext": null }, "value": 0, - "start": 10133, - "end": 10134, + "start": 10178, + "end": 10179, "loc": { "start": { "line": 493, @@ -99613,8 +100392,8 @@ "binop": null, "updateContext": null }, - "start": 10135, - "end": 10136, + "start": 10180, + "end": 10181, "loc": { "start": { "line": 493, @@ -99638,8 +100417,8 @@ "postfix": false, "binop": null }, - "start": 10138, - "end": 10139, + "start": 10183, + "end": 10184, "loc": { "start": { "line": 494, @@ -99664,8 +100443,8 @@ "binop": null }, "value": "lt", - "start": 10142, - "end": 10144, + "start": 10187, + "end": 10189, "loc": { "start": { "line": 496, @@ -99689,8 +100468,8 @@ "postfix": false, "binop": null }, - "start": 10145, - "end": 10146, + "start": 10190, + "end": 10191, "loc": { "start": { "line": 496, @@ -99715,8 +100494,8 @@ "binop": null }, "value": "other", - "start": 10147, - "end": 10152, + "start": 10192, + "end": 10197, "loc": { "start": { "line": 496, @@ -99740,8 +100519,8 @@ "postfix": false, "binop": null }, - "start": 10153, - "end": 10154, + "start": 10198, + "end": 10199, "loc": { "start": { "line": 496, @@ -99765,8 +100544,8 @@ "postfix": false, "binop": null }, - "start": 10155, - "end": 10156, + "start": 10200, + "end": 10201, "loc": { "start": { "line": 496, @@ -99793,8 +100572,8 @@ "updateContext": null }, "value": "return", - "start": 10159, - "end": 10165, + "start": 10204, + "end": 10210, "loc": { "start": { "line": 497, @@ -99821,8 +100600,8 @@ "updateContext": null }, "value": "this", - "start": 10166, - "end": 10170, + "start": 10211, + "end": 10215, "loc": { "start": { "line": 497, @@ -99847,8 +100626,8 @@ "binop": null, "updateContext": null }, - "start": 10170, - "end": 10171, + "start": 10215, + "end": 10216, "loc": { "start": { "line": 497, @@ -99873,8 +100652,8 @@ "binop": null }, "value": "cmp", - "start": 10171, - "end": 10174, + "start": 10216, + "end": 10219, "loc": { "start": { "line": 497, @@ -99898,8 +100677,8 @@ "postfix": false, "binop": null }, - "start": 10174, - "end": 10175, + "start": 10219, + "end": 10220, "loc": { "start": { "line": 497, @@ -99924,8 +100703,8 @@ "binop": null }, "value": "other", - "start": 10176, - "end": 10181, + "start": 10221, + "end": 10226, "loc": { "start": { "line": 497, @@ -99949,8 +100728,8 @@ "postfix": false, "binop": null }, - "start": 10182, - "end": 10183, + "start": 10227, + "end": 10228, "loc": { "start": { "line": 497, @@ -99976,8 +100755,8 @@ "updateContext": null }, "value": "<", - "start": 10184, - "end": 10185, + "start": 10229, + "end": 10230, "loc": { "start": { "line": 497, @@ -100003,8 +100782,8 @@ "updateContext": null }, "value": 0, - "start": 10186, - "end": 10187, + "start": 10231, + "end": 10232, "loc": { "start": { "line": 497, @@ -100029,8 +100808,8 @@ "binop": null, "updateContext": null }, - "start": 10188, - "end": 10189, + "start": 10233, + "end": 10234, "loc": { "start": { "line": 497, @@ -100054,8 +100833,8 @@ "postfix": false, "binop": null }, - "start": 10191, - "end": 10192, + "start": 10236, + "end": 10237, "loc": { "start": { "line": 498, @@ -100080,8 +100859,8 @@ "binop": null }, "value": "ltn", - "start": 10195, - "end": 10198, + "start": 10240, + "end": 10243, "loc": { "start": { "line": 500, @@ -100105,8 +100884,8 @@ "postfix": false, "binop": null }, - "start": 10199, - "end": 10200, + "start": 10244, + "end": 10245, "loc": { "start": { "line": 500, @@ -100131,8 +100910,8 @@ "binop": null }, "value": "number", - "start": 10201, - "end": 10207, + "start": 10246, + "end": 10252, "loc": { "start": { "line": 500, @@ -100156,8 +100935,8 @@ "postfix": false, "binop": null }, - "start": 10208, - "end": 10209, + "start": 10253, + "end": 10254, "loc": { "start": { "line": 500, @@ -100181,8 +100960,8 @@ "postfix": false, "binop": null }, - "start": 10210, - "end": 10211, + "start": 10255, + "end": 10256, "loc": { "start": { "line": 500, @@ -100209,8 +100988,8 @@ "updateContext": null }, "value": "return", - "start": 10214, - "end": 10220, + "start": 10259, + "end": 10265, "loc": { "start": { "line": 501, @@ -100237,8 +101016,8 @@ "updateContext": null }, "value": "this", - "start": 10221, - "end": 10225, + "start": 10266, + "end": 10270, "loc": { "start": { "line": 501, @@ -100263,8 +101042,8 @@ "binop": null, "updateContext": null }, - "start": 10225, - "end": 10226, + "start": 10270, + "end": 10271, "loc": { "start": { "line": 501, @@ -100289,8 +101068,8 @@ "binop": null }, "value": "cmpn", - "start": 10226, - "end": 10230, + "start": 10271, + "end": 10275, "loc": { "start": { "line": 501, @@ -100314,8 +101093,8 @@ "postfix": false, "binop": null }, - "start": 10230, - "end": 10231, + "start": 10275, + "end": 10276, "loc": { "start": { "line": 501, @@ -100340,8 +101119,8 @@ "binop": null }, "value": "number", - "start": 10232, - "end": 10238, + "start": 10277, + "end": 10283, "loc": { "start": { "line": 501, @@ -100365,8 +101144,8 @@ "postfix": false, "binop": null }, - "start": 10239, - "end": 10240, + "start": 10284, + "end": 10285, "loc": { "start": { "line": 501, @@ -100392,8 +101171,8 @@ "updateContext": null }, "value": "<", - "start": 10241, - "end": 10242, + "start": 10286, + "end": 10287, "loc": { "start": { "line": 501, @@ -100419,8 +101198,8 @@ "updateContext": null }, "value": 0, - "start": 10243, - "end": 10244, + "start": 10288, + "end": 10289, "loc": { "start": { "line": 501, @@ -100445,8 +101224,8 @@ "binop": null, "updateContext": null }, - "start": 10245, - "end": 10246, + "start": 10290, + "end": 10291, "loc": { "start": { "line": 501, @@ -100470,8 +101249,8 @@ "postfix": false, "binop": null }, - "start": 10248, - "end": 10249, + "start": 10293, + "end": 10294, "loc": { "start": { "line": 502, @@ -100496,8 +101275,8 @@ "binop": null }, "value": "ne", - "start": 10252, - "end": 10254, + "start": 10297, + "end": 10299, "loc": { "start": { "line": 504, @@ -100521,8 +101300,8 @@ "postfix": false, "binop": null }, - "start": 10255, - "end": 10256, + "start": 10300, + "end": 10301, "loc": { "start": { "line": 504, @@ -100547,8 +101326,8 @@ "binop": null }, "value": "other", - "start": 10257, - "end": 10262, + "start": 10302, + "end": 10307, "loc": { "start": { "line": 504, @@ -100572,8 +101351,8 @@ "postfix": false, "binop": null }, - "start": 10263, - "end": 10264, + "start": 10308, + "end": 10309, "loc": { "start": { "line": 504, @@ -100597,8 +101376,8 @@ "postfix": false, "binop": null }, - "start": 10265, - "end": 10266, + "start": 10310, + "end": 10311, "loc": { "start": { "line": 504, @@ -100625,8 +101404,8 @@ "updateContext": null }, "value": "return", - "start": 10269, - "end": 10275, + "start": 10314, + "end": 10320, "loc": { "start": { "line": 505, @@ -100653,8 +101432,8 @@ "updateContext": null }, "value": "this", - "start": 10276, - "end": 10280, + "start": 10321, + "end": 10325, "loc": { "start": { "line": 505, @@ -100679,8 +101458,8 @@ "binop": null, "updateContext": null }, - "start": 10280, - "end": 10281, + "start": 10325, + "end": 10326, "loc": { "start": { "line": 505, @@ -100705,8 +101484,8 @@ "binop": null }, "value": "cmp", - "start": 10281, - "end": 10284, + "start": 10326, + "end": 10329, "loc": { "start": { "line": 505, @@ -100730,8 +101509,8 @@ "postfix": false, "binop": null }, - "start": 10284, - "end": 10285, + "start": 10329, + "end": 10330, "loc": { "start": { "line": 505, @@ -100756,8 +101535,8 @@ "binop": null }, "value": "other", - "start": 10286, - "end": 10291, + "start": 10331, + "end": 10336, "loc": { "start": { "line": 505, @@ -100781,8 +101560,8 @@ "postfix": false, "binop": null }, - "start": 10292, - "end": 10293, + "start": 10337, + "end": 10338, "loc": { "start": { "line": 505, @@ -100808,8 +101587,8 @@ "updateContext": null }, "value": "!==", - "start": 10294, - "end": 10297, + "start": 10339, + "end": 10342, "loc": { "start": { "line": 505, @@ -100835,8 +101614,8 @@ "updateContext": null }, "value": 0, - "start": 10298, - "end": 10299, + "start": 10343, + "end": 10344, "loc": { "start": { "line": 505, @@ -100861,8 +101640,8 @@ "binop": null, "updateContext": null }, - "start": 10300, - "end": 10301, + "start": 10345, + "end": 10346, "loc": { "start": { "line": 505, @@ -100886,8 +101665,8 @@ "postfix": false, "binop": null }, - "start": 10303, - "end": 10304, + "start": 10348, + "end": 10349, "loc": { "start": { "line": 506, @@ -100912,8 +101691,8 @@ "binop": null }, "value": "nen", - "start": 10307, - "end": 10310, + "start": 10352, + "end": 10355, "loc": { "start": { "line": 508, @@ -100937,8 +101716,8 @@ "postfix": false, "binop": null }, - "start": 10311, - "end": 10312, + "start": 10356, + "end": 10357, "loc": { "start": { "line": 508, @@ -100963,8 +101742,8 @@ "binop": null }, "value": "number", - "start": 10313, - "end": 10319, + "start": 10358, + "end": 10364, "loc": { "start": { "line": 508, @@ -100988,8 +101767,8 @@ "postfix": false, "binop": null }, - "start": 10320, - "end": 10321, + "start": 10365, + "end": 10366, "loc": { "start": { "line": 508, @@ -101013,8 +101792,8 @@ "postfix": false, "binop": null }, - "start": 10322, - "end": 10323, + "start": 10367, + "end": 10368, "loc": { "start": { "line": 508, @@ -101041,8 +101820,8 @@ "updateContext": null }, "value": "return", - "start": 10326, - "end": 10332, + "start": 10371, + "end": 10377, "loc": { "start": { "line": 509, @@ -101069,8 +101848,8 @@ "updateContext": null }, "value": "this", - "start": 10333, - "end": 10337, + "start": 10378, + "end": 10382, "loc": { "start": { "line": 509, @@ -101095,8 +101874,8 @@ "binop": null, "updateContext": null }, - "start": 10337, - "end": 10338, + "start": 10382, + "end": 10383, "loc": { "start": { "line": 509, @@ -101121,8 +101900,8 @@ "binop": null }, "value": "cmpn", - "start": 10338, - "end": 10342, + "start": 10383, + "end": 10387, "loc": { "start": { "line": 509, @@ -101146,8 +101925,8 @@ "postfix": false, "binop": null }, - "start": 10342, - "end": 10343, + "start": 10387, + "end": 10388, "loc": { "start": { "line": 509, @@ -101172,8 +101951,8 @@ "binop": null }, "value": "number", - "start": 10344, - "end": 10350, + "start": 10389, + "end": 10395, "loc": { "start": { "line": 509, @@ -101197,8 +101976,8 @@ "postfix": false, "binop": null }, - "start": 10351, - "end": 10352, + "start": 10396, + "end": 10397, "loc": { "start": { "line": 509, @@ -101224,8 +102003,8 @@ "updateContext": null }, "value": "!==", - "start": 10353, - "end": 10356, + "start": 10398, + "end": 10401, "loc": { "start": { "line": 509, @@ -101251,8 +102030,8 @@ "updateContext": null }, "value": 0, - "start": 10357, - "end": 10358, + "start": 10402, + "end": 10403, "loc": { "start": { "line": 509, @@ -101277,8 +102056,8 @@ "binop": null, "updateContext": null }, - "start": 10359, - "end": 10360, + "start": 10404, + "end": 10405, "loc": { "start": { "line": 509, @@ -101302,8 +102081,8 @@ "postfix": false, "binop": null }, - "start": 10362, - "end": 10363, + "start": 10407, + "end": 10408, "loc": { "start": { "line": 510, @@ -101328,8 +102107,8 @@ "binop": null }, "value": "gcd", - "start": 10366, - "end": 10369, + "start": 10411, + "end": 10414, "loc": { "start": { "line": 512, @@ -101353,8 +102132,8 @@ "postfix": false, "binop": null }, - "start": 10370, - "end": 10371, + "start": 10415, + "end": 10416, "loc": { "start": { "line": 512, @@ -101379,8 +102158,8 @@ "binop": null }, "value": "other", - "start": 10372, - "end": 10377, + "start": 10417, + "end": 10422, "loc": { "start": { "line": 512, @@ -101404,8 +102183,8 @@ "postfix": false, "binop": null }, - "start": 10378, - "end": 10379, + "start": 10423, + "end": 10424, "loc": { "start": { "line": 512, @@ -101429,8 +102208,8 @@ "postfix": false, "binop": null }, - "start": 10380, - "end": 10381, + "start": 10425, + "end": 10426, "loc": { "start": { "line": 512, @@ -101457,8 +102236,8 @@ "updateContext": null }, "value": "const", - "start": 10384, - "end": 10389, + "start": 10429, + "end": 10434, "loc": { "start": { "line": 513, @@ -101483,8 +102262,8 @@ "binop": null }, "value": "r", - "start": 10390, - "end": 10391, + "start": 10435, + "end": 10436, "loc": { "start": { "line": 513, @@ -101510,8 +102289,8 @@ "updateContext": null }, "value": "=", - "start": 10392, - "end": 10393, + "start": 10437, + "end": 10438, "loc": { "start": { "line": 513, @@ -101538,8 +102317,8 @@ "updateContext": null }, "value": "this", - "start": 10394, - "end": 10398, + "start": 10439, + "end": 10443, "loc": { "start": { "line": 513, @@ -101564,8 +102343,8 @@ "binop": null, "updateContext": null }, - "start": 10398, - "end": 10399, + "start": 10443, + "end": 10444, "loc": { "start": { "line": 513, @@ -101590,8 +102369,8 @@ "binop": null }, "value": "base", - "start": 10399, - "end": 10403, + "start": 10444, + "end": 10448, "loc": { "start": { "line": 513, @@ -101616,8 +102395,8 @@ "binop": null, "updateContext": null }, - "start": 10404, - "end": 10405, + "start": 10449, + "end": 10450, "loc": { "start": { "line": 513, @@ -101644,8 +102423,8 @@ "updateContext": null }, "value": "const", - "start": 10408, - "end": 10413, + "start": 10453, + "end": 10458, "loc": { "start": { "line": 514, @@ -101670,8 +102449,8 @@ "binop": null }, "value": "a", - "start": 10414, - "end": 10415, + "start": 10459, + "end": 10460, "loc": { "start": { "line": 514, @@ -101697,8 +102476,8 @@ "updateContext": null }, "value": "=", - "start": 10416, - "end": 10417, + "start": 10461, + "end": 10462, "loc": { "start": { "line": 514, @@ -101725,8 +102504,8 @@ "updateContext": null }, "value": "this", - "start": 10418, - "end": 10422, + "start": 10463, + "end": 10467, "loc": { "start": { "line": 514, @@ -101751,8 +102530,8 @@ "binop": null, "updateContext": null }, - "start": 10422, - "end": 10423, + "start": 10467, + "end": 10468, "loc": { "start": { "line": 514, @@ -101777,8 +102556,8 @@ "binop": null }, "value": "limbs", - "start": 10423, - "end": 10428, + "start": 10468, + "end": 10473, "loc": { "start": { "line": 514, @@ -101803,8 +102582,8 @@ "binop": null, "updateContext": null }, - "start": 10429, - "end": 10430, + "start": 10474, + "end": 10475, "loc": { "start": { "line": 514, @@ -101831,8 +102610,8 @@ "updateContext": null }, "value": "const", - "start": 10433, - "end": 10438, + "start": 10478, + "end": 10483, "loc": { "start": { "line": 515, @@ -101857,8 +102636,8 @@ "binop": null }, "value": "b", - "start": 10439, - "end": 10440, + "start": 10484, + "end": 10485, "loc": { "start": { "line": 515, @@ -101884,8 +102663,8 @@ "updateContext": null }, "value": "=", - "start": 10441, - "end": 10442, + "start": 10486, + "end": 10487, "loc": { "start": { "line": 515, @@ -101910,8 +102689,8 @@ "binop": null }, "value": "other", - "start": 10443, - "end": 10448, + "start": 10488, + "end": 10493, "loc": { "start": { "line": 515, @@ -101936,8 +102715,8 @@ "binop": null, "updateContext": null }, - "start": 10448, - "end": 10449, + "start": 10493, + "end": 10494, "loc": { "start": { "line": 515, @@ -101962,8 +102741,8 @@ "binop": null }, "value": "_limbs_in_base", - "start": 10449, - "end": 10463, + "start": 10494, + "end": 10508, "loc": { "start": { "line": 515, @@ -101987,8 +102766,8 @@ "postfix": false, "binop": null }, - "start": 10463, - "end": 10464, + "start": 10508, + "end": 10509, "loc": { "start": { "line": 515, @@ -102013,8 +102792,8 @@ "binop": null }, "value": "r", - "start": 10465, - "end": 10466, + "start": 10510, + "end": 10511, "loc": { "start": { "line": 515, @@ -102038,8 +102817,8 @@ "postfix": false, "binop": null }, - "start": 10467, - "end": 10468, + "start": 10512, + "end": 10513, "loc": { "start": { "line": 515, @@ -102064,8 +102843,8 @@ "binop": null, "updateContext": null }, - "start": 10469, - "end": 10470, + "start": 10514, + "end": 10515, "loc": { "start": { "line": 515, @@ -102092,8 +102871,8 @@ "updateContext": null }, "value": "const", - "start": 10473, - "end": 10478, + "start": 10518, + "end": 10523, "loc": { "start": { "line": 516, @@ -102118,8 +102897,8 @@ "binop": null, "updateContext": null }, - "start": 10479, - "end": 10480, + "start": 10524, + "end": 10525, "loc": { "start": { "line": 516, @@ -102144,8 +102923,8 @@ "binop": null }, "value": "d", - "start": 10481, - "end": 10482, + "start": 10526, + "end": 10527, "loc": { "start": { "line": 516, @@ -102170,8 +102949,8 @@ "binop": null, "updateContext": null }, - "start": 10483, - "end": 10484, + "start": 10528, + "end": 10529, "loc": { "start": { "line": 516, @@ -102196,8 +102975,8 @@ "binop": null }, "value": "di", - "start": 10485, - "end": 10487, + "start": 10530, + "end": 10532, "loc": { "start": { "line": 516, @@ -102222,8 +103001,8 @@ "binop": null, "updateContext": null }, - "start": 10488, - "end": 10489, + "start": 10533, + "end": 10534, "loc": { "start": { "line": 516, @@ -102248,8 +103027,8 @@ "binop": null }, "value": "dj", - "start": 10490, - "end": 10492, + "start": 10535, + "end": 10537, "loc": { "start": { "line": 516, @@ -102274,8 +103053,8 @@ "binop": null, "updateContext": null }, - "start": 10493, - "end": 10494, + "start": 10538, + "end": 10539, "loc": { "start": { "line": 516, @@ -102301,8 +103080,8 @@ "updateContext": null }, "value": "=", - "start": 10495, - "end": 10496, + "start": 10540, + "end": 10541, "loc": { "start": { "line": 516, @@ -102327,8 +103106,8 @@ "binop": null }, "value": "euclidean_algorithm", - "start": 10497, - "end": 10516, + "start": 10542, + "end": 10561, "loc": { "start": { "line": 516, @@ -102352,8 +103131,8 @@ "postfix": false, "binop": null }, - "start": 10516, - "end": 10517, + "start": 10561, + "end": 10562, "loc": { "start": { "line": 516, @@ -102378,8 +103157,8 @@ "binop": null }, "value": "r", - "start": 10518, - "end": 10519, + "start": 10563, + "end": 10564, "loc": { "start": { "line": 516, @@ -102404,8 +103183,8 @@ "binop": null, "updateContext": null }, - "start": 10520, - "end": 10521, + "start": 10565, + "end": 10566, "loc": { "start": { "line": 516, @@ -102430,8 +103209,8 @@ "binop": null }, "value": "a", - "start": 10522, - "end": 10523, + "start": 10567, + "end": 10568, "loc": { "start": { "line": 516, @@ -102456,8 +103235,8 @@ "binop": null, "updateContext": null }, - "start": 10524, - "end": 10525, + "start": 10569, + "end": 10570, "loc": { "start": { "line": 516, @@ -102483,8 +103262,8 @@ "updateContext": null }, "value": 0, - "start": 10526, - "end": 10527, + "start": 10571, + "end": 10572, "loc": { "start": { "line": 516, @@ -102509,8 +103288,8 @@ "binop": null, "updateContext": null }, - "start": 10528, - "end": 10529, + "start": 10573, + "end": 10574, "loc": { "start": { "line": 516, @@ -102535,8 +103314,8 @@ "binop": null }, "value": "a", - "start": 10530, - "end": 10531, + "start": 10575, + "end": 10576, "loc": { "start": { "line": 516, @@ -102561,8 +103340,8 @@ "binop": null, "updateContext": null }, - "start": 10531, - "end": 10532, + "start": 10576, + "end": 10577, "loc": { "start": { "line": 516, @@ -102587,8 +103366,8 @@ "binop": null }, "value": "length", - "start": 10532, - "end": 10538, + "start": 10577, + "end": 10583, "loc": { "start": { "line": 516, @@ -102613,8 +103392,8 @@ "binop": null, "updateContext": null }, - "start": 10539, - "end": 10540, + "start": 10584, + "end": 10585, "loc": { "start": { "line": 516, @@ -102639,8 +103418,8 @@ "binop": null }, "value": "b", - "start": 10541, - "end": 10542, + "start": 10586, + "end": 10587, "loc": { "start": { "line": 516, @@ -102665,8 +103444,8 @@ "binop": null, "updateContext": null }, - "start": 10543, - "end": 10544, + "start": 10588, + "end": 10589, "loc": { "start": { "line": 516, @@ -102692,8 +103471,8 @@ "updateContext": null }, "value": 0, - "start": 10545, - "end": 10546, + "start": 10590, + "end": 10591, "loc": { "start": { "line": 516, @@ -102718,8 +103497,8 @@ "binop": null, "updateContext": null }, - "start": 10547, - "end": 10548, + "start": 10592, + "end": 10593, "loc": { "start": { "line": 516, @@ -102744,8 +103523,8 @@ "binop": null }, "value": "b", - "start": 10549, - "end": 10550, + "start": 10594, + "end": 10595, "loc": { "start": { "line": 516, @@ -102770,8 +103549,8 @@ "binop": null, "updateContext": null }, - "start": 10550, - "end": 10551, + "start": 10595, + "end": 10596, "loc": { "start": { "line": 516, @@ -102796,8 +103575,8 @@ "binop": null }, "value": "length", - "start": 10551, - "end": 10557, + "start": 10596, + "end": 10602, "loc": { "start": { "line": 516, @@ -102821,8 +103600,8 @@ "postfix": false, "binop": null }, - "start": 10558, - "end": 10559, + "start": 10603, + "end": 10604, "loc": { "start": { "line": 516, @@ -102847,8 +103626,8 @@ "binop": null, "updateContext": null }, - "start": 10560, - "end": 10561, + "start": 10605, + "end": 10606, "loc": { "start": { "line": 516, @@ -102875,8 +103654,8 @@ "updateContext": null }, "value": "const", - "start": 10564, - "end": 10569, + "start": 10609, + "end": 10614, "loc": { "start": { "line": 517, @@ -102901,8 +103680,8 @@ "binop": null }, "value": "gcd", - "start": 10570, - "end": 10573, + "start": 10615, + "end": 10618, "loc": { "start": { "line": 517, @@ -102928,8 +103707,8 @@ "updateContext": null }, "value": "=", - "start": 10574, - "end": 10575, + "start": 10619, + "end": 10620, "loc": { "start": { "line": 517, @@ -102954,8 +103733,8 @@ "binop": null }, "value": "_alloc", - "start": 10576, - "end": 10582, + "start": 10621, + "end": 10627, "loc": { "start": { "line": 517, @@ -102979,8 +103758,8 @@ "postfix": false, "binop": null }, - "start": 10582, - "end": 10583, + "start": 10627, + "end": 10628, "loc": { "start": { "line": 517, @@ -103005,8 +103784,8 @@ "binop": null }, "value": "dj", - "start": 10584, - "end": 10586, + "start": 10629, + "end": 10631, "loc": { "start": { "line": 517, @@ -103032,8 +103811,8 @@ "updateContext": null }, "value": "-", - "start": 10587, - "end": 10588, + "start": 10632, + "end": 10633, "loc": { "start": { "line": 517, @@ -103058,8 +103837,8 @@ "binop": null }, "value": "di", - "start": 10589, - "end": 10591, + "start": 10634, + "end": 10636, "loc": { "start": { "line": 517, @@ -103083,8 +103862,8 @@ "postfix": false, "binop": null }, - "start": 10592, - "end": 10593, + "start": 10637, + "end": 10638, "loc": { "start": { "line": 517, @@ -103109,8 +103888,8 @@ "binop": null, "updateContext": null }, - "start": 10594, - "end": 10595, + "start": 10639, + "end": 10640, "loc": { "start": { "line": 517, @@ -103135,8 +103914,8 @@ "binop": null }, "value": "_copy", - "start": 10598, - "end": 10603, + "start": 10643, + "end": 10648, "loc": { "start": { "line": 518, @@ -103160,8 +103939,8 @@ "postfix": false, "binop": null }, - "start": 10603, - "end": 10604, + "start": 10648, + "end": 10649, "loc": { "start": { "line": 518, @@ -103186,8 +103965,8 @@ "binop": null }, "value": "d", - "start": 10605, - "end": 10606, + "start": 10650, + "end": 10651, "loc": { "start": { "line": 518, @@ -103212,8 +103991,8 @@ "binop": null, "updateContext": null }, - "start": 10607, - "end": 10608, + "start": 10652, + "end": 10653, "loc": { "start": { "line": 518, @@ -103238,8 +104017,8 @@ "binop": null }, "value": "di", - "start": 10609, - "end": 10611, + "start": 10654, + "end": 10656, "loc": { "start": { "line": 518, @@ -103264,8 +104043,8 @@ "binop": null, "updateContext": null }, - "start": 10612, - "end": 10613, + "start": 10657, + "end": 10658, "loc": { "start": { "line": 518, @@ -103290,8 +104069,8 @@ "binop": null }, "value": "dj", - "start": 10614, - "end": 10616, + "start": 10659, + "end": 10661, "loc": { "start": { "line": 518, @@ -103316,8 +104095,8 @@ "binop": null, "updateContext": null }, - "start": 10617, - "end": 10618, + "start": 10662, + "end": 10663, "loc": { "start": { "line": 518, @@ -103342,8 +104121,8 @@ "binop": null }, "value": "gcd", - "start": 10619, - "end": 10622, + "start": 10664, + "end": 10667, "loc": { "start": { "line": 518, @@ -103368,8 +104147,8 @@ "binop": null, "updateContext": null }, - "start": 10623, - "end": 10624, + "start": 10668, + "end": 10669, "loc": { "start": { "line": 518, @@ -103395,8 +104174,8 @@ "updateContext": null }, "value": 0, - "start": 10625, - "end": 10626, + "start": 10670, + "end": 10671, "loc": { "start": { "line": 518, @@ -103420,8 +104199,8 @@ "postfix": false, "binop": null }, - "start": 10627, - "end": 10628, + "start": 10672, + "end": 10673, "loc": { "start": { "line": 518, @@ -103446,8 +104225,8 @@ "binop": null, "updateContext": null }, - "start": 10629, - "end": 10630, + "start": 10674, + "end": 10675, "loc": { "start": { "line": 518, @@ -103474,8 +104253,8 @@ "updateContext": null }, "value": "return", - "start": 10633, - "end": 10639, + "start": 10678, + "end": 10684, "loc": { "start": { "line": 519, @@ -103502,8 +104281,8 @@ "updateContext": null }, "value": "new", - "start": 10640, - "end": 10643, + "start": 10685, + "end": 10688, "loc": { "start": { "line": 519, @@ -103528,8 +104307,8 @@ "binop": null }, "value": "Integer", - "start": 10644, - "end": 10651, + "start": 10689, + "end": 10696, "loc": { "start": { "line": 519, @@ -103553,8 +104332,8 @@ "postfix": false, "binop": null }, - "start": 10651, - "end": 10652, + "start": 10696, + "end": 10697, "loc": { "start": { "line": 519, @@ -103579,8 +104358,8 @@ "binop": null }, "value": "r", - "start": 10653, - "end": 10654, + "start": 10698, + "end": 10699, "loc": { "start": { "line": 519, @@ -103605,8 +104384,8 @@ "binop": null, "updateContext": null }, - "start": 10655, - "end": 10656, + "start": 10700, + "end": 10701, "loc": { "start": { "line": 519, @@ -103632,8 +104411,8 @@ "updateContext": null }, "value": 0, - "start": 10657, - "end": 10658, + "start": 10702, + "end": 10703, "loc": { "start": { "line": 519, @@ -103658,8 +104437,8 @@ "binop": null, "updateContext": null }, - "start": 10659, - "end": 10660, + "start": 10704, + "end": 10705, "loc": { "start": { "line": 519, @@ -103684,8 +104463,8 @@ "binop": null }, "value": "gcd", - "start": 10661, - "end": 10664, + "start": 10706, + "end": 10709, "loc": { "start": { "line": 519, @@ -103709,8 +104488,8 @@ "postfix": false, "binop": null }, - "start": 10665, - "end": 10666, + "start": 10710, + "end": 10711, "loc": { "start": { "line": 519, @@ -103735,8 +104514,8 @@ "binop": null, "updateContext": null }, - "start": 10667, - "end": 10668, + "start": 10712, + "end": 10713, "loc": { "start": { "line": 519, @@ -103760,8 +104539,8 @@ "postfix": false, "binop": null }, - "start": 10670, - "end": 10671, + "start": 10715, + "end": 10716, "loc": { "start": { "line": 520, @@ -103786,8 +104565,8 @@ "binop": null }, "value": "egcd", - "start": 10674, - "end": 10678, + "start": 10719, + "end": 10723, "loc": { "start": { "line": 522, @@ -103811,8 +104590,8 @@ "postfix": false, "binop": null }, - "start": 10679, - "end": 10680, + "start": 10724, + "end": 10725, "loc": { "start": { "line": 522, @@ -103837,8 +104616,8 @@ "binop": null }, "value": "other", - "start": 10681, - "end": 10686, + "start": 10726, + "end": 10731, "loc": { "start": { "line": 522, @@ -103862,8 +104641,8 @@ "postfix": false, "binop": null }, - "start": 10687, - "end": 10688, + "start": 10732, + "end": 10733, "loc": { "start": { "line": 522, @@ -103887,8 +104666,8 @@ "postfix": false, "binop": null }, - "start": 10689, - "end": 10690, + "start": 10734, + "end": 10735, "loc": { "start": { "line": 522, @@ -103915,8 +104694,8 @@ "updateContext": null }, "value": "const", - "start": 10693, - "end": 10698, + "start": 10738, + "end": 10743, "loc": { "start": { "line": 523, @@ -103941,8 +104720,8 @@ "binop": null }, "value": "r", - "start": 10699, - "end": 10700, + "start": 10744, + "end": 10745, "loc": { "start": { "line": 523, @@ -103968,8 +104747,8 @@ "updateContext": null }, "value": "=", - "start": 10701, - "end": 10702, + "start": 10746, + "end": 10747, "loc": { "start": { "line": 523, @@ -103996,8 +104775,8 @@ "updateContext": null }, "value": "this", - "start": 10703, - "end": 10707, + "start": 10748, + "end": 10752, "loc": { "start": { "line": 523, @@ -104022,8 +104801,8 @@ "binop": null, "updateContext": null }, - "start": 10707, - "end": 10708, + "start": 10752, + "end": 10753, "loc": { "start": { "line": 523, @@ -104048,8 +104827,8 @@ "binop": null }, "value": "base", - "start": 10708, - "end": 10712, + "start": 10753, + "end": 10757, "loc": { "start": { "line": 523, @@ -104074,8 +104853,8 @@ "binop": null, "updateContext": null }, - "start": 10713, - "end": 10714, + "start": 10758, + "end": 10759, "loc": { "start": { "line": 523, @@ -104102,8 +104881,8 @@ "updateContext": null }, "value": "const", - "start": 10717, - "end": 10722, + "start": 10762, + "end": 10767, "loc": { "start": { "line": 524, @@ -104128,8 +104907,8 @@ "binop": null }, "value": "a", - "start": 10723, - "end": 10724, + "start": 10768, + "end": 10769, "loc": { "start": { "line": 524, @@ -104155,8 +104934,8 @@ "updateContext": null }, "value": "=", - "start": 10725, - "end": 10726, + "start": 10770, + "end": 10771, "loc": { "start": { "line": 524, @@ -104183,8 +104962,8 @@ "updateContext": null }, "value": "this", - "start": 10727, - "end": 10731, + "start": 10772, + "end": 10776, "loc": { "start": { "line": 524, @@ -104209,8 +104988,8 @@ "binop": null, "updateContext": null }, - "start": 10731, - "end": 10732, + "start": 10776, + "end": 10777, "loc": { "start": { "line": 524, @@ -104235,8 +105014,8 @@ "binop": null }, "value": "limbs", - "start": 10732, - "end": 10737, + "start": 10777, + "end": 10782, "loc": { "start": { "line": 524, @@ -104261,8 +105040,8 @@ "binop": null, "updateContext": null }, - "start": 10738, - "end": 10739, + "start": 10783, + "end": 10784, "loc": { "start": { "line": 524, @@ -104289,8 +105068,8 @@ "updateContext": null }, "value": "const", - "start": 10742, - "end": 10747, + "start": 10787, + "end": 10792, "loc": { "start": { "line": 525, @@ -104315,8 +105094,8 @@ "binop": null }, "value": "b", - "start": 10748, - "end": 10749, + "start": 10793, + "end": 10794, "loc": { "start": { "line": 525, @@ -104342,8 +105121,8 @@ "updateContext": null }, "value": "=", - "start": 10750, - "end": 10751, + "start": 10795, + "end": 10796, "loc": { "start": { "line": 525, @@ -104368,8 +105147,8 @@ "binop": null }, "value": "other", - "start": 10752, - "end": 10757, + "start": 10797, + "end": 10802, "loc": { "start": { "line": 525, @@ -104394,8 +105173,8 @@ "binop": null, "updateContext": null }, - "start": 10757, - "end": 10758, + "start": 10802, + "end": 10803, "loc": { "start": { "line": 525, @@ -104420,8 +105199,8 @@ "binop": null }, "value": "_limbs_in_base", - "start": 10758, - "end": 10772, + "start": 10803, + "end": 10817, "loc": { "start": { "line": 525, @@ -104445,8 +105224,8 @@ "postfix": false, "binop": null }, - "start": 10772, - "end": 10773, + "start": 10817, + "end": 10818, "loc": { "start": { "line": 525, @@ -104471,8 +105250,8 @@ "binop": null }, "value": "r", - "start": 10774, - "end": 10775, + "start": 10819, + "end": 10820, "loc": { "start": { "line": 525, @@ -104496,8 +105275,8 @@ "postfix": false, "binop": null }, - "start": 10776, - "end": 10777, + "start": 10821, + "end": 10822, "loc": { "start": { "line": 525, @@ -104522,8 +105301,8 @@ "binop": null, "updateContext": null }, - "start": 10778, - "end": 10779, + "start": 10823, + "end": 10824, "loc": { "start": { "line": 525, @@ -104550,8 +105329,8 @@ "updateContext": null }, "value": "const", - "start": 10782, - "end": 10787, + "start": 10827, + "end": 10832, "loc": { "start": { "line": 526, @@ -104576,8 +105355,8 @@ "binop": null, "updateContext": null }, - "start": 10788, - "end": 10789, + "start": 10833, + "end": 10834, "loc": { "start": { "line": 526, @@ -104602,8 +105381,8 @@ "binop": null }, "value": "R0", - "start": 10790, - "end": 10792, + "start": 10835, + "end": 10837, "loc": { "start": { "line": 526, @@ -104628,8 +105407,8 @@ "binop": null, "updateContext": null }, - "start": 10793, - "end": 10794, + "start": 10838, + "end": 10839, "loc": { "start": { "line": 526, @@ -104654,8 +105433,8 @@ "binop": null }, "value": "R0i", - "start": 10795, - "end": 10798, + "start": 10840, + "end": 10843, "loc": { "start": { "line": 526, @@ -104680,8 +105459,8 @@ "binop": null, "updateContext": null }, - "start": 10799, - "end": 10800, + "start": 10844, + "end": 10845, "loc": { "start": { "line": 526, @@ -104706,8 +105485,8 @@ "binop": null }, "value": "S0", - "start": 10801, - "end": 10803, + "start": 10846, + "end": 10848, "loc": { "start": { "line": 526, @@ -104732,8 +105511,8 @@ "binop": null, "updateContext": null }, - "start": 10804, - "end": 10805, + "start": 10849, + "end": 10850, "loc": { "start": { "line": 526, @@ -104758,8 +105537,8 @@ "binop": null }, "value": "S0i", - "start": 10806, - "end": 10809, + "start": 10851, + "end": 10854, "loc": { "start": { "line": 526, @@ -104784,8 +105563,8 @@ "binop": null, "updateContext": null }, - "start": 10810, - "end": 10811, + "start": 10855, + "end": 10856, "loc": { "start": { "line": 526, @@ -104810,8 +105589,8 @@ "binop": null }, "value": "T0", - "start": 10812, - "end": 10814, + "start": 10857, + "end": 10859, "loc": { "start": { "line": 526, @@ -104836,8 +105615,8 @@ "binop": null, "updateContext": null }, - "start": 10815, - "end": 10816, + "start": 10860, + "end": 10861, "loc": { "start": { "line": 526, @@ -104862,8 +105641,8 @@ "binop": null }, "value": "T0i", - "start": 10817, - "end": 10820, + "start": 10862, + "end": 10865, "loc": { "start": { "line": 526, @@ -104888,8 +105667,8 @@ "binop": null, "updateContext": null }, - "start": 10821, - "end": 10822, + "start": 10866, + "end": 10867, "loc": { "start": { "line": 526, @@ -104914,8 +105693,8 @@ "binop": null }, "value": "S1", - "start": 10823, - "end": 10825, + "start": 10868, + "end": 10870, "loc": { "start": { "line": 526, @@ -104940,8 +105719,8 @@ "binop": null, "updateContext": null }, - "start": 10826, - "end": 10827, + "start": 10871, + "end": 10872, "loc": { "start": { "line": 526, @@ -104966,8 +105745,8 @@ "binop": null }, "value": "S1i", - "start": 10828, - "end": 10831, + "start": 10873, + "end": 10876, "loc": { "start": { "line": 526, @@ -104992,8 +105771,8 @@ "binop": null, "updateContext": null }, - "start": 10832, - "end": 10833, + "start": 10877, + "end": 10878, "loc": { "start": { "line": 526, @@ -105018,8 +105797,8 @@ "binop": null }, "value": "T1", - "start": 10834, - "end": 10836, + "start": 10879, + "end": 10881, "loc": { "start": { "line": 526, @@ -105044,8 +105823,8 @@ "binop": null, "updateContext": null }, - "start": 10837, - "end": 10838, + "start": 10882, + "end": 10883, "loc": { "start": { "line": 526, @@ -105070,8 +105849,8 @@ "binop": null }, "value": "T1i", - "start": 10839, - "end": 10842, + "start": 10884, + "end": 10887, "loc": { "start": { "line": 526, @@ -105096,8 +105875,8 @@ "binop": null, "updateContext": null }, - "start": 10843, - "end": 10844, + "start": 10888, + "end": 10889, "loc": { "start": { "line": 526, @@ -105122,8 +105901,8 @@ "binop": null }, "value": "steps", - "start": 10845, - "end": 10850, + "start": 10890, + "end": 10895, "loc": { "start": { "line": 526, @@ -105148,8 +105927,8 @@ "binop": null, "updateContext": null }, - "start": 10851, - "end": 10852, + "start": 10896, + "end": 10897, "loc": { "start": { "line": 526, @@ -105175,8 +105954,8 @@ "updateContext": null }, "value": "=", - "start": 10853, - "end": 10854, + "start": 10898, + "end": 10899, "loc": { "start": { "line": 526, @@ -105201,8 +105980,8 @@ "binop": null }, "value": "extended_euclidean_algorithm", - "start": 10855, - "end": 10883, + "start": 10900, + "end": 10928, "loc": { "start": { "line": 526, @@ -105226,8 +106005,8 @@ "postfix": false, "binop": null }, - "start": 10883, - "end": 10884, + "start": 10928, + "end": 10929, "loc": { "start": { "line": 526, @@ -105252,8 +106031,8 @@ "binop": null }, "value": "r", - "start": 10885, - "end": 10886, + "start": 10930, + "end": 10931, "loc": { "start": { "line": 526, @@ -105278,8 +106057,8 @@ "binop": null, "updateContext": null }, - "start": 10887, - "end": 10888, + "start": 10932, + "end": 10933, "loc": { "start": { "line": 526, @@ -105304,8 +106083,8 @@ "binop": null }, "value": "a", - "start": 10889, - "end": 10890, + "start": 10934, + "end": 10935, "loc": { "start": { "line": 526, @@ -105330,8 +106109,8 @@ "binop": null, "updateContext": null }, - "start": 10891, - "end": 10892, + "start": 10936, + "end": 10937, "loc": { "start": { "line": 526, @@ -105357,8 +106136,8 @@ "updateContext": null }, "value": 0, - "start": 10893, - "end": 10894, + "start": 10938, + "end": 10939, "loc": { "start": { "line": 526, @@ -105383,8 +106162,8 @@ "binop": null, "updateContext": null }, - "start": 10895, - "end": 10896, + "start": 10940, + "end": 10941, "loc": { "start": { "line": 526, @@ -105409,8 +106188,8 @@ "binop": null }, "value": "a", - "start": 10897, - "end": 10898, + "start": 10942, + "end": 10943, "loc": { "start": { "line": 526, @@ -105435,8 +106214,8 @@ "binop": null, "updateContext": null }, - "start": 10898, - "end": 10899, + "start": 10943, + "end": 10944, "loc": { "start": { "line": 526, @@ -105461,8 +106240,8 @@ "binop": null }, "value": "length", - "start": 10899, - "end": 10905, + "start": 10944, + "end": 10950, "loc": { "start": { "line": 526, @@ -105487,8 +106266,8 @@ "binop": null, "updateContext": null }, - "start": 10906, - "end": 10907, + "start": 10951, + "end": 10952, "loc": { "start": { "line": 526, @@ -105513,8 +106292,8 @@ "binop": null }, "value": "b", - "start": 10908, - "end": 10909, + "start": 10953, + "end": 10954, "loc": { "start": { "line": 526, @@ -105539,8 +106318,8 @@ "binop": null, "updateContext": null }, - "start": 10910, - "end": 10911, + "start": 10955, + "end": 10956, "loc": { "start": { "line": 526, @@ -105566,8 +106345,8 @@ "updateContext": null }, "value": 0, - "start": 10912, - "end": 10913, + "start": 10957, + "end": 10958, "loc": { "start": { "line": 526, @@ -105592,8 +106371,8 @@ "binop": null, "updateContext": null }, - "start": 10914, - "end": 10915, + "start": 10959, + "end": 10960, "loc": { "start": { "line": 526, @@ -105618,8 +106397,8 @@ "binop": null }, "value": "b", - "start": 10916, - "end": 10917, + "start": 10961, + "end": 10962, "loc": { "start": { "line": 526, @@ -105644,8 +106423,8 @@ "binop": null, "updateContext": null }, - "start": 10917, - "end": 10918, + "start": 10962, + "end": 10963, "loc": { "start": { "line": 526, @@ -105670,8 +106449,8 @@ "binop": null }, "value": "length", - "start": 10918, - "end": 10924, + "start": 10963, + "end": 10969, "loc": { "start": { "line": 526, @@ -105695,8 +106474,8 @@ "postfix": false, "binop": null }, - "start": 10925, - "end": 10926, + "start": 10970, + "end": 10971, "loc": { "start": { "line": 526, @@ -105721,8 +106500,8 @@ "binop": null, "updateContext": null }, - "start": 10927, - "end": 10928, + "start": 10972, + "end": 10973, "loc": { "start": { "line": 526, @@ -105749,8 +106528,8 @@ "updateContext": null }, "value": "const", - "start": 10931, - "end": 10936, + "start": 10976, + "end": 10981, "loc": { "start": { "line": 527, @@ -105775,8 +106554,8 @@ "binop": null }, "value": "gcd", - "start": 10937, - "end": 10940, + "start": 10982, + "end": 10985, "loc": { "start": { "line": 527, @@ -105802,8 +106581,8 @@ "updateContext": null }, "value": "=", - "start": 10941, - "end": 10942, + "start": 10986, + "end": 10987, "loc": { "start": { "line": 527, @@ -105828,8 +106607,8 @@ "binop": null }, "value": "_alloc", - "start": 10943, - "end": 10949, + "start": 10988, + "end": 10994, "loc": { "start": { "line": 527, @@ -105853,8 +106632,8 @@ "postfix": false, "binop": null }, - "start": 10949, - "end": 10950, + "start": 10994, + "end": 10995, "loc": { "start": { "line": 527, @@ -105879,8 +106658,8 @@ "binop": null }, "value": "R0", - "start": 10951, - "end": 10953, + "start": 10996, + "end": 10998, "loc": { "start": { "line": 527, @@ -105905,8 +106684,8 @@ "binop": null, "updateContext": null }, - "start": 10953, - "end": 10954, + "start": 10998, + "end": 10999, "loc": { "start": { "line": 527, @@ -105931,8 +106710,8 @@ "binop": null }, "value": "length", - "start": 10954, - "end": 10960, + "start": 10999, + "end": 11005, "loc": { "start": { "line": 527, @@ -105958,8 +106737,8 @@ "updateContext": null }, "value": "-", - "start": 10961, - "end": 10962, + "start": 11006, + "end": 11007, "loc": { "start": { "line": 527, @@ -105984,8 +106763,8 @@ "binop": null }, "value": "R0i", - "start": 10963, - "end": 10966, + "start": 11008, + "end": 11011, "loc": { "start": { "line": 527, @@ -106009,8 +106788,8 @@ "postfix": false, "binop": null }, - "start": 10967, - "end": 10968, + "start": 11012, + "end": 11013, "loc": { "start": { "line": 527, @@ -106035,8 +106814,8 @@ "binop": null, "updateContext": null }, - "start": 10969, - "end": 10970, + "start": 11014, + "end": 11015, "loc": { "start": { "line": 527, @@ -106061,8 +106840,8 @@ "binop": null }, "value": "_copy", - "start": 10973, - "end": 10978, + "start": 11018, + "end": 11023, "loc": { "start": { "line": 528, @@ -106086,8 +106865,8 @@ "postfix": false, "binop": null }, - "start": 10978, - "end": 10979, + "start": 11023, + "end": 11024, "loc": { "start": { "line": 528, @@ -106112,8 +106891,8 @@ "binop": null }, "value": "R0", - "start": 10980, - "end": 10982, + "start": 11025, + "end": 11027, "loc": { "start": { "line": 528, @@ -106138,8 +106917,8 @@ "binop": null, "updateContext": null }, - "start": 10983, - "end": 10984, + "start": 11028, + "end": 11029, "loc": { "start": { "line": 528, @@ -106164,8 +106943,8 @@ "binop": null }, "value": "R0i", - "start": 10985, - "end": 10988, + "start": 11030, + "end": 11033, "loc": { "start": { "line": 528, @@ -106190,8 +106969,8 @@ "binop": null, "updateContext": null }, - "start": 10989, - "end": 10990, + "start": 11034, + "end": 11035, "loc": { "start": { "line": 528, @@ -106216,8 +106995,8 @@ "binop": null }, "value": "R0", - "start": 10991, - "end": 10993, + "start": 11036, + "end": 11038, "loc": { "start": { "line": 528, @@ -106242,8 +107021,8 @@ "binop": null, "updateContext": null }, - "start": 10993, - "end": 10994, + "start": 11038, + "end": 11039, "loc": { "start": { "line": 528, @@ -106268,8 +107047,8 @@ "binop": null }, "value": "length", - "start": 10994, - "end": 11000, + "start": 11039, + "end": 11045, "loc": { "start": { "line": 528, @@ -106294,8 +107073,8 @@ "binop": null, "updateContext": null }, - "start": 11001, - "end": 11002, + "start": 11046, + "end": 11047, "loc": { "start": { "line": 528, @@ -106320,8 +107099,8 @@ "binop": null }, "value": "gcd", - "start": 11003, - "end": 11006, + "start": 11048, + "end": 11051, "loc": { "start": { "line": 528, @@ -106346,8 +107125,8 @@ "binop": null, "updateContext": null }, - "start": 11007, - "end": 11008, + "start": 11052, + "end": 11053, "loc": { "start": { "line": 528, @@ -106373,8 +107152,8 @@ "updateContext": null }, "value": 0, - "start": 11009, - "end": 11010, + "start": 11054, + "end": 11055, "loc": { "start": { "line": 528, @@ -106398,8 +107177,8 @@ "postfix": false, "binop": null }, - "start": 11011, - "end": 11012, + "start": 11056, + "end": 11057, "loc": { "start": { "line": 528, @@ -106424,8 +107203,8 @@ "binop": null, "updateContext": null }, - "start": 11013, - "end": 11014, + "start": 11058, + "end": 11059, "loc": { "start": { "line": 528, @@ -106452,8 +107231,8 @@ "updateContext": null }, "value": "const", - "start": 11017, - "end": 11022, + "start": 11062, + "end": 11067, "loc": { "start": { "line": 529, @@ -106478,8 +107257,8 @@ "binop": null }, "value": "x", - "start": 11023, - "end": 11024, + "start": 11068, + "end": 11069, "loc": { "start": { "line": 529, @@ -106505,8 +107284,8 @@ "updateContext": null }, "value": "=", - "start": 11025, - "end": 11026, + "start": 11070, + "end": 11071, "loc": { "start": { "line": 529, @@ -106531,8 +107310,8 @@ "binop": null }, "value": "_alloc", - "start": 11027, - "end": 11033, + "start": 11072, + "end": 11078, "loc": { "start": { "line": 529, @@ -106556,8 +107335,8 @@ "postfix": false, "binop": null }, - "start": 11033, - "end": 11034, + "start": 11078, + "end": 11079, "loc": { "start": { "line": 529, @@ -106582,8 +107361,8 @@ "binop": null }, "value": "S0", - "start": 11035, - "end": 11037, + "start": 11080, + "end": 11082, "loc": { "start": { "line": 529, @@ -106608,8 +107387,8 @@ "binop": null, "updateContext": null }, - "start": 11037, - "end": 11038, + "start": 11082, + "end": 11083, "loc": { "start": { "line": 529, @@ -106634,8 +107413,8 @@ "binop": null }, "value": "length", - "start": 11038, - "end": 11044, + "start": 11083, + "end": 11089, "loc": { "start": { "line": 529, @@ -106661,8 +107440,8 @@ "updateContext": null }, "value": "-", - "start": 11045, - "end": 11046, + "start": 11090, + "end": 11091, "loc": { "start": { "line": 529, @@ -106687,8 +107466,8 @@ "binop": null }, "value": "S0i", - "start": 11047, - "end": 11050, + "start": 11092, + "end": 11095, "loc": { "start": { "line": 529, @@ -106712,8 +107491,8 @@ "postfix": false, "binop": null }, - "start": 11051, - "end": 11052, + "start": 11096, + "end": 11097, "loc": { "start": { "line": 529, @@ -106738,8 +107517,8 @@ "binop": null, "updateContext": null }, - "start": 11053, - "end": 11054, + "start": 11098, + "end": 11099, "loc": { "start": { "line": 529, @@ -106764,8 +107543,8 @@ "binop": null }, "value": "_copy", - "start": 11057, - "end": 11062, + "start": 11102, + "end": 11107, "loc": { "start": { "line": 530, @@ -106789,8 +107568,8 @@ "postfix": false, "binop": null }, - "start": 11062, - "end": 11063, + "start": 11107, + "end": 11108, "loc": { "start": { "line": 530, @@ -106815,8 +107594,8 @@ "binop": null }, "value": "S0", - "start": 11064, - "end": 11066, + "start": 11109, + "end": 11111, "loc": { "start": { "line": 530, @@ -106841,8 +107620,8 @@ "binop": null, "updateContext": null }, - "start": 11067, - "end": 11068, + "start": 11112, + "end": 11113, "loc": { "start": { "line": 530, @@ -106867,8 +107646,8 @@ "binop": null }, "value": "S0i", - "start": 11069, - "end": 11072, + "start": 11114, + "end": 11117, "loc": { "start": { "line": 530, @@ -106893,8 +107672,8 @@ "binop": null, "updateContext": null }, - "start": 11073, - "end": 11074, + "start": 11118, + "end": 11119, "loc": { "start": { "line": 530, @@ -106919,8 +107698,8 @@ "binop": null }, "value": "S0", - "start": 11075, - "end": 11077, + "start": 11120, + "end": 11122, "loc": { "start": { "line": 530, @@ -106945,8 +107724,8 @@ "binop": null, "updateContext": null }, - "start": 11077, - "end": 11078, + "start": 11122, + "end": 11123, "loc": { "start": { "line": 530, @@ -106971,8 +107750,8 @@ "binop": null }, "value": "length", - "start": 11078, - "end": 11084, + "start": 11123, + "end": 11129, "loc": { "start": { "line": 530, @@ -106997,8 +107776,8 @@ "binop": null, "updateContext": null }, - "start": 11085, - "end": 11086, + "start": 11130, + "end": 11131, "loc": { "start": { "line": 530, @@ -107023,8 +107802,8 @@ "binop": null }, "value": "x", - "start": 11087, - "end": 11088, + "start": 11132, + "end": 11133, "loc": { "start": { "line": 530, @@ -107049,8 +107828,8 @@ "binop": null, "updateContext": null }, - "start": 11089, - "end": 11090, + "start": 11134, + "end": 11135, "loc": { "start": { "line": 530, @@ -107076,8 +107855,8 @@ "updateContext": null }, "value": 0, - "start": 11091, - "end": 11092, + "start": 11136, + "end": 11137, "loc": { "start": { "line": 530, @@ -107101,8 +107880,8 @@ "postfix": false, "binop": null }, - "start": 11093, - "end": 11094, + "start": 11138, + "end": 11139, "loc": { "start": { "line": 530, @@ -107127,8 +107906,8 @@ "binop": null, "updateContext": null }, - "start": 11095, - "end": 11096, + "start": 11140, + "end": 11141, "loc": { "start": { "line": 530, @@ -107155,8 +107934,8 @@ "updateContext": null }, "value": "const", - "start": 11099, - "end": 11104, + "start": 11144, + "end": 11149, "loc": { "start": { "line": 531, @@ -107181,8 +107960,8 @@ "binop": null }, "value": "y", - "start": 11105, - "end": 11106, + "start": 11150, + "end": 11151, "loc": { "start": { "line": 531, @@ -107208,8 +107987,8 @@ "updateContext": null }, "value": "=", - "start": 11107, - "end": 11108, + "start": 11152, + "end": 11153, "loc": { "start": { "line": 531, @@ -107234,8 +108013,8 @@ "binop": null }, "value": "_alloc", - "start": 11109, - "end": 11115, + "start": 11154, + "end": 11160, "loc": { "start": { "line": 531, @@ -107259,8 +108038,8 @@ "postfix": false, "binop": null }, - "start": 11115, - "end": 11116, + "start": 11160, + "end": 11161, "loc": { "start": { "line": 531, @@ -107285,8 +108064,8 @@ "binop": null }, "value": "T0", - "start": 11117, - "end": 11119, + "start": 11162, + "end": 11164, "loc": { "start": { "line": 531, @@ -107311,8 +108090,8 @@ "binop": null, "updateContext": null }, - "start": 11119, - "end": 11120, + "start": 11164, + "end": 11165, "loc": { "start": { "line": 531, @@ -107337,8 +108116,8 @@ "binop": null }, "value": "length", - "start": 11120, - "end": 11126, + "start": 11165, + "end": 11171, "loc": { "start": { "line": 531, @@ -107364,8 +108143,8 @@ "updateContext": null }, "value": "-", - "start": 11127, - "end": 11128, + "start": 11172, + "end": 11173, "loc": { "start": { "line": 531, @@ -107390,8 +108169,8 @@ "binop": null }, "value": "T0i", - "start": 11129, - "end": 11132, + "start": 11174, + "end": 11177, "loc": { "start": { "line": 531, @@ -107415,8 +108194,8 @@ "postfix": false, "binop": null }, - "start": 11133, - "end": 11134, + "start": 11178, + "end": 11179, "loc": { "start": { "line": 531, @@ -107441,8 +108220,8 @@ "binop": null, "updateContext": null }, - "start": 11135, - "end": 11136, + "start": 11180, + "end": 11181, "loc": { "start": { "line": 531, @@ -107467,8 +108246,8 @@ "binop": null }, "value": "_copy", - "start": 11139, - "end": 11144, + "start": 11184, + "end": 11189, "loc": { "start": { "line": 532, @@ -107492,8 +108271,8 @@ "postfix": false, "binop": null }, - "start": 11144, - "end": 11145, + "start": 11189, + "end": 11190, "loc": { "start": { "line": 532, @@ -107518,8 +108297,8 @@ "binop": null }, "value": "T0", - "start": 11146, - "end": 11148, + "start": 11191, + "end": 11193, "loc": { "start": { "line": 532, @@ -107544,8 +108323,8 @@ "binop": null, "updateContext": null }, - "start": 11149, - "end": 11150, + "start": 11194, + "end": 11195, "loc": { "start": { "line": 532, @@ -107570,8 +108349,8 @@ "binop": null }, "value": "T0i", - "start": 11151, - "end": 11154, + "start": 11196, + "end": 11199, "loc": { "start": { "line": 532, @@ -107596,8 +108375,8 @@ "binop": null, "updateContext": null }, - "start": 11155, - "end": 11156, + "start": 11200, + "end": 11201, "loc": { "start": { "line": 532, @@ -107622,8 +108401,8 @@ "binop": null }, "value": "T0", - "start": 11157, - "end": 11159, + "start": 11202, + "end": 11204, "loc": { "start": { "line": 532, @@ -107648,8 +108427,8 @@ "binop": null, "updateContext": null }, - "start": 11159, - "end": 11160, + "start": 11204, + "end": 11205, "loc": { "start": { "line": 532, @@ -107674,8 +108453,8 @@ "binop": null }, "value": "length", - "start": 11160, - "end": 11166, + "start": 11205, + "end": 11211, "loc": { "start": { "line": 532, @@ -107700,8 +108479,8 @@ "binop": null, "updateContext": null }, - "start": 11167, - "end": 11168, + "start": 11212, + "end": 11213, "loc": { "start": { "line": 532, @@ -107726,8 +108505,8 @@ "binop": null }, "value": "y", - "start": 11169, - "end": 11170, + "start": 11214, + "end": 11215, "loc": { "start": { "line": 532, @@ -107752,8 +108531,8 @@ "binop": null, "updateContext": null }, - "start": 11171, - "end": 11172, + "start": 11216, + "end": 11217, "loc": { "start": { "line": 532, @@ -107779,8 +108558,8 @@ "updateContext": null }, "value": 0, - "start": 11173, - "end": 11174, + "start": 11218, + "end": 11219, "loc": { "start": { "line": 532, @@ -107804,8 +108583,8 @@ "postfix": false, "binop": null }, - "start": 11175, - "end": 11176, + "start": 11220, + "end": 11221, "loc": { "start": { "line": 532, @@ -107830,8 +108609,8 @@ "binop": null, "updateContext": null }, - "start": 11177, - "end": 11178, + "start": 11222, + "end": 11223, "loc": { "start": { "line": 532, @@ -107858,8 +108637,8 @@ "updateContext": null }, "value": "const", - "start": 11181, - "end": 11186, + "start": 11226, + "end": 11231, "loc": { "start": { "line": 533, @@ -107884,8 +108663,8 @@ "binop": null }, "value": "u", - "start": 11187, - "end": 11188, + "start": 11232, + "end": 11233, "loc": { "start": { "line": 533, @@ -107911,8 +108690,8 @@ "updateContext": null }, "value": "=", - "start": 11189, - "end": 11190, + "start": 11234, + "end": 11235, "loc": { "start": { "line": 533, @@ -107937,8 +108716,8 @@ "binop": null }, "value": "_alloc", - "start": 11191, - "end": 11197, + "start": 11236, + "end": 11242, "loc": { "start": { "line": 533, @@ -107962,8 +108741,8 @@ "postfix": false, "binop": null }, - "start": 11197, - "end": 11198, + "start": 11242, + "end": 11243, "loc": { "start": { "line": 533, @@ -107988,8 +108767,8 @@ "binop": null }, "value": "S1", - "start": 11199, - "end": 11201, + "start": 11244, + "end": 11246, "loc": { "start": { "line": 533, @@ -108014,8 +108793,8 @@ "binop": null, "updateContext": null }, - "start": 11201, - "end": 11202, + "start": 11246, + "end": 11247, "loc": { "start": { "line": 533, @@ -108040,8 +108819,8 @@ "binop": null }, "value": "length", - "start": 11202, - "end": 11208, + "start": 11247, + "end": 11253, "loc": { "start": { "line": 533, @@ -108067,8 +108846,8 @@ "updateContext": null }, "value": "-", - "start": 11209, - "end": 11210, + "start": 11254, + "end": 11255, "loc": { "start": { "line": 533, @@ -108093,8 +108872,8 @@ "binop": null }, "value": "S1i", - "start": 11211, - "end": 11214, + "start": 11256, + "end": 11259, "loc": { "start": { "line": 533, @@ -108118,8 +108897,8 @@ "postfix": false, "binop": null }, - "start": 11215, - "end": 11216, + "start": 11260, + "end": 11261, "loc": { "start": { "line": 533, @@ -108144,8 +108923,8 @@ "binop": null, "updateContext": null }, - "start": 11217, - "end": 11218, + "start": 11262, + "end": 11263, "loc": { "start": { "line": 533, @@ -108170,8 +108949,8 @@ "binop": null }, "value": "_copy", - "start": 11221, - "end": 11226, + "start": 11266, + "end": 11271, "loc": { "start": { "line": 534, @@ -108195,8 +108974,8 @@ "postfix": false, "binop": null }, - "start": 11226, - "end": 11227, + "start": 11271, + "end": 11272, "loc": { "start": { "line": 534, @@ -108221,8 +109000,8 @@ "binop": null }, "value": "S1", - "start": 11228, - "end": 11230, + "start": 11273, + "end": 11275, "loc": { "start": { "line": 534, @@ -108247,8 +109026,8 @@ "binop": null, "updateContext": null }, - "start": 11231, - "end": 11232, + "start": 11276, + "end": 11277, "loc": { "start": { "line": 534, @@ -108273,8 +109052,8 @@ "binop": null }, "value": "S1i", - "start": 11233, - "end": 11236, + "start": 11278, + "end": 11281, "loc": { "start": { "line": 534, @@ -108299,8 +109078,8 @@ "binop": null, "updateContext": null }, - "start": 11237, - "end": 11238, + "start": 11282, + "end": 11283, "loc": { "start": { "line": 534, @@ -108325,8 +109104,8 @@ "binop": null }, "value": "S1", - "start": 11239, - "end": 11241, + "start": 11284, + "end": 11286, "loc": { "start": { "line": 534, @@ -108351,8 +109130,8 @@ "binop": null, "updateContext": null }, - "start": 11241, - "end": 11242, + "start": 11286, + "end": 11287, "loc": { "start": { "line": 534, @@ -108377,8 +109156,8 @@ "binop": null }, "value": "length", - "start": 11242, - "end": 11248, + "start": 11287, + "end": 11293, "loc": { "start": { "line": 534, @@ -108403,8 +109182,8 @@ "binop": null, "updateContext": null }, - "start": 11249, - "end": 11250, + "start": 11294, + "end": 11295, "loc": { "start": { "line": 534, @@ -108429,8 +109208,8 @@ "binop": null }, "value": "u", - "start": 11251, - "end": 11252, + "start": 11296, + "end": 11297, "loc": { "start": { "line": 534, @@ -108455,8 +109234,8 @@ "binop": null, "updateContext": null }, - "start": 11253, - "end": 11254, + "start": 11298, + "end": 11299, "loc": { "start": { "line": 534, @@ -108482,8 +109261,8 @@ "updateContext": null }, "value": 0, - "start": 11255, - "end": 11256, + "start": 11300, + "end": 11301, "loc": { "start": { "line": 534, @@ -108507,8 +109286,8 @@ "postfix": false, "binop": null }, - "start": 11257, - "end": 11258, + "start": 11302, + "end": 11303, "loc": { "start": { "line": 534, @@ -108533,8 +109312,8 @@ "binop": null, "updateContext": null }, - "start": 11259, - "end": 11260, + "start": 11304, + "end": 11305, "loc": { "start": { "line": 534, @@ -108561,8 +109340,8 @@ "updateContext": null }, "value": "const", - "start": 11263, - "end": 11268, + "start": 11308, + "end": 11313, "loc": { "start": { "line": 535, @@ -108587,8 +109366,8 @@ "binop": null }, "value": "v", - "start": 11269, - "end": 11270, + "start": 11314, + "end": 11315, "loc": { "start": { "line": 535, @@ -108614,8 +109393,8 @@ "updateContext": null }, "value": "=", - "start": 11271, - "end": 11272, + "start": 11316, + "end": 11317, "loc": { "start": { "line": 535, @@ -108640,8 +109419,8 @@ "binop": null }, "value": "_alloc", - "start": 11273, - "end": 11279, + "start": 11318, + "end": 11324, "loc": { "start": { "line": 535, @@ -108665,8 +109444,8 @@ "postfix": false, "binop": null }, - "start": 11279, - "end": 11280, + "start": 11324, + "end": 11325, "loc": { "start": { "line": 535, @@ -108691,8 +109470,8 @@ "binop": null }, "value": "T1", - "start": 11281, - "end": 11283, + "start": 11326, + "end": 11328, "loc": { "start": { "line": 535, @@ -108717,8 +109496,8 @@ "binop": null, "updateContext": null }, - "start": 11283, - "end": 11284, + "start": 11328, + "end": 11329, "loc": { "start": { "line": 535, @@ -108743,8 +109522,8 @@ "binop": null }, "value": "length", - "start": 11284, - "end": 11290, + "start": 11329, + "end": 11335, "loc": { "start": { "line": 535, @@ -108770,8 +109549,8 @@ "updateContext": null }, "value": "-", - "start": 11291, - "end": 11292, + "start": 11336, + "end": 11337, "loc": { "start": { "line": 535, @@ -108796,8 +109575,8 @@ "binop": null }, "value": "T1i", - "start": 11293, - "end": 11296, + "start": 11338, + "end": 11341, "loc": { "start": { "line": 535, @@ -108821,8 +109600,8 @@ "postfix": false, "binop": null }, - "start": 11297, - "end": 11298, + "start": 11342, + "end": 11343, "loc": { "start": { "line": 535, @@ -108847,8 +109626,8 @@ "binop": null, "updateContext": null }, - "start": 11299, - "end": 11300, + "start": 11344, + "end": 11345, "loc": { "start": { "line": 535, @@ -108873,8 +109652,8 @@ "binop": null }, "value": "_copy", - "start": 11303, - "end": 11308, + "start": 11348, + "end": 11353, "loc": { "start": { "line": 536, @@ -108898,8 +109677,8 @@ "postfix": false, "binop": null }, - "start": 11308, - "end": 11309, + "start": 11353, + "end": 11354, "loc": { "start": { "line": 536, @@ -108924,8 +109703,8 @@ "binop": null }, "value": "T1", - "start": 11310, - "end": 11312, + "start": 11355, + "end": 11357, "loc": { "start": { "line": 536, @@ -108950,8 +109729,8 @@ "binop": null, "updateContext": null }, - "start": 11313, - "end": 11314, + "start": 11358, + "end": 11359, "loc": { "start": { "line": 536, @@ -108976,8 +109755,8 @@ "binop": null }, "value": "T1i", - "start": 11315, - "end": 11318, + "start": 11360, + "end": 11363, "loc": { "start": { "line": 536, @@ -109002,8 +109781,8 @@ "binop": null, "updateContext": null }, - "start": 11319, - "end": 11320, + "start": 11364, + "end": 11365, "loc": { "start": { "line": 536, @@ -109028,8 +109807,8 @@ "binop": null }, "value": "T1", - "start": 11321, - "end": 11323, + "start": 11366, + "end": 11368, "loc": { "start": { "line": 536, @@ -109054,8 +109833,8 @@ "binop": null, "updateContext": null }, - "start": 11323, - "end": 11324, + "start": 11368, + "end": 11369, "loc": { "start": { "line": 536, @@ -109080,8 +109859,8 @@ "binop": null }, "value": "length", - "start": 11324, - "end": 11330, + "start": 11369, + "end": 11375, "loc": { "start": { "line": 536, @@ -109106,8 +109885,8 @@ "binop": null, "updateContext": null }, - "start": 11331, - "end": 11332, + "start": 11376, + "end": 11377, "loc": { "start": { "line": 536, @@ -109132,8 +109911,8 @@ "binop": null }, "value": "v", - "start": 11333, - "end": 11334, + "start": 11378, + "end": 11379, "loc": { "start": { "line": 536, @@ -109158,8 +109937,8 @@ "binop": null, "updateContext": null }, - "start": 11335, - "end": 11336, + "start": 11380, + "end": 11381, "loc": { "start": { "line": 536, @@ -109185,8 +109964,8 @@ "updateContext": null }, "value": 0, - "start": 11337, - "end": 11338, + "start": 11382, + "end": 11383, "loc": { "start": { "line": 536, @@ -109210,8 +109989,8 @@ "postfix": false, "binop": null }, - "start": 11339, - "end": 11340, + "start": 11384, + "end": 11385, "loc": { "start": { "line": 536, @@ -109236,8 +110015,8 @@ "binop": null, "updateContext": null }, - "start": 11341, - "end": 11342, + "start": 11386, + "end": 11387, "loc": { "start": { "line": 536, @@ -109264,8 +110043,8 @@ "updateContext": null }, "value": "return", - "start": 11345, - "end": 11351, + "start": 11390, + "end": 11396, "loc": { "start": { "line": 537, @@ -109289,8 +110068,8 @@ "postfix": false, "binop": null }, - "start": 11352, - "end": 11353, + "start": 11397, + "end": 11398, "loc": { "start": { "line": 537, @@ -109305,8 +110084,8 @@ { "type": "CommentLine", "value": " TODO use immutable zero", - "start": 11354, - "end": 11380, + "start": 11399, + "end": 11425, "loc": { "start": { "line": 537, @@ -109331,8 +110110,8 @@ "binop": null }, "value": "gcd", - "start": 11384, - "end": 11387, + "start": 11429, + "end": 11432, "loc": { "start": { "line": 538, @@ -109357,8 +110136,8 @@ "binop": null, "updateContext": null }, - "start": 11387, - "end": 11388, + "start": 11432, + "end": 11433, "loc": { "start": { "line": 538, @@ -109385,8 +110164,8 @@ "updateContext": null }, "value": "new", - "start": 11389, - "end": 11392, + "start": 11434, + "end": 11437, "loc": { "start": { "line": 538, @@ -109411,8 +110190,8 @@ "binop": null }, "value": "Integer", - "start": 11393, - "end": 11400, + "start": 11438, + "end": 11445, "loc": { "start": { "line": 538, @@ -109436,8 +110215,8 @@ "postfix": false, "binop": null }, - "start": 11400, - "end": 11401, + "start": 11445, + "end": 11446, "loc": { "start": { "line": 538, @@ -109462,8 +110241,8 @@ "binop": null }, "value": "r", - "start": 11401, - "end": 11402, + "start": 11446, + "end": 11447, "loc": { "start": { "line": 538, @@ -109488,8 +110267,8 @@ "binop": null, "updateContext": null }, - "start": 11402, - "end": 11403, + "start": 11447, + "end": 11448, "loc": { "start": { "line": 538, @@ -109515,8 +110294,8 @@ "updateContext": null }, "value": 0, - "start": 11404, - "end": 11405, + "start": 11449, + "end": 11450, "loc": { "start": { "line": 538, @@ -109541,8 +110320,8 @@ "binop": null, "updateContext": null }, - "start": 11405, - "end": 11406, + "start": 11450, + "end": 11451, "loc": { "start": { "line": 538, @@ -109567,8 +110346,8 @@ "binop": null }, "value": "gcd", - "start": 11407, - "end": 11410, + "start": 11452, + "end": 11455, "loc": { "start": { "line": 538, @@ -109592,8 +110371,8 @@ "postfix": false, "binop": null }, - "start": 11410, - "end": 11411, + "start": 11455, + "end": 11456, "loc": { "start": { "line": 538, @@ -109618,8 +110397,8 @@ "binop": null, "updateContext": null }, - "start": 11412, - "end": 11413, + "start": 11457, + "end": 11458, "loc": { "start": { "line": 538, @@ -109644,8 +110423,8 @@ "binop": null }, "value": "x", - "start": 11417, - "end": 11418, + "start": 11462, + "end": 11463, "loc": { "start": { "line": 539, @@ -109670,8 +110449,8 @@ "binop": null, "updateContext": null }, - "start": 11418, - "end": 11419, + "start": 11463, + "end": 11464, "loc": { "start": { "line": 539, @@ -109696,8 +110475,8 @@ "binop": null }, "value": "x", - "start": 11420, - "end": 11421, + "start": 11465, + "end": 11466, "loc": { "start": { "line": 539, @@ -109722,8 +110501,8 @@ "binop": null, "updateContext": null }, - "start": 11421, - "end": 11422, + "start": 11466, + "end": 11467, "loc": { "start": { "line": 539, @@ -109748,8 +110527,8 @@ "binop": null }, "value": "length", - "start": 11422, - "end": 11428, + "start": 11467, + "end": 11473, "loc": { "start": { "line": 539, @@ -109774,8 +110553,8 @@ "binop": null, "updateContext": null }, - "start": 11429, - "end": 11430, + "start": 11474, + "end": 11475, "loc": { "start": { "line": 539, @@ -109802,8 +110581,8 @@ "updateContext": null }, "value": "new", - "start": 11431, - "end": 11434, + "start": 11476, + "end": 11479, "loc": { "start": { "line": 539, @@ -109828,8 +110607,8 @@ "binop": null }, "value": "Integer", - "start": 11435, - "end": 11442, + "start": 11480, + "end": 11487, "loc": { "start": { "line": 539, @@ -109853,8 +110632,8 @@ "postfix": false, "binop": null }, - "start": 11442, - "end": 11443, + "start": 11487, + "end": 11488, "loc": { "start": { "line": 539, @@ -109879,8 +110658,8 @@ "binop": null }, "value": "r", - "start": 11443, - "end": 11444, + "start": 11488, + "end": 11489, "loc": { "start": { "line": 539, @@ -109905,8 +110684,8 @@ "binop": null, "updateContext": null }, - "start": 11444, - "end": 11445, + "start": 11489, + "end": 11490, "loc": { "start": { "line": 539, @@ -109933,8 +110712,8 @@ "updateContext": null }, "value": "this", - "start": 11446, - "end": 11450, + "start": 11491, + "end": 11495, "loc": { "start": { "line": 539, @@ -109959,8 +110738,8 @@ "binop": null, "updateContext": null }, - "start": 11450, - "end": 11451, + "start": 11495, + "end": 11496, "loc": { "start": { "line": 539, @@ -109985,8 +110764,8 @@ "binop": null }, "value": "is_negative", - "start": 11451, - "end": 11462, + "start": 11496, + "end": 11507, "loc": { "start": { "line": 539, @@ -110012,8 +110791,8 @@ "updateContext": null }, "value": "^", - "start": 11463, - "end": 11464, + "start": 11508, + "end": 11509, "loc": { "start": { "line": 539, @@ -110037,8 +110816,8 @@ "postfix": false, "binop": null }, - "start": 11465, - "end": 11466, + "start": 11510, + "end": 11511, "loc": { "start": { "line": 539, @@ -110062,8 +110841,8 @@ "postfix": false, "binop": null }, - "start": 11466, - "end": 11467, + "start": 11511, + "end": 11512, "loc": { "start": { "line": 539, @@ -110088,8 +110867,8 @@ "binop": null }, "value": "steps", - "start": 11467, - "end": 11472, + "start": 11512, + "end": 11517, "loc": { "start": { "line": 539, @@ -110115,8 +110894,8 @@ "updateContext": null }, "value": "%", - "start": 11473, - "end": 11474, + "start": 11518, + "end": 11519, "loc": { "start": { "line": 539, @@ -110142,8 +110921,8 @@ "updateContext": null }, "value": 2, - "start": 11475, - "end": 11476, + "start": 11520, + "end": 11521, "loc": { "start": { "line": 539, @@ -110167,8 +110946,8 @@ "postfix": false, "binop": null }, - "start": 11476, - "end": 11477, + "start": 11521, + "end": 11522, "loc": { "start": { "line": 539, @@ -110194,8 +110973,8 @@ "updateContext": null }, "value": "-", - "start": 11477, - "end": 11478, + "start": 11522, + "end": 11523, "loc": { "start": { "line": 539, @@ -110221,8 +111000,8 @@ "updateContext": null }, "value": 1, - "start": 11478, - "end": 11479, + "start": 11523, + "end": 11524, "loc": { "start": { "line": 539, @@ -110246,8 +111025,8 @@ "postfix": false, "binop": null }, - "start": 11479, - "end": 11480, + "start": 11524, + "end": 11525, "loc": { "start": { "line": 539, @@ -110272,8 +111051,8 @@ "binop": null, "updateContext": null }, - "start": 11480, - "end": 11481, + "start": 11525, + "end": 11526, "loc": { "start": { "line": 539, @@ -110298,8 +111077,8 @@ "binop": null }, "value": "x", - "start": 11482, - "end": 11483, + "start": 11527, + "end": 11528, "loc": { "start": { "line": 539, @@ -110323,8 +111102,8 @@ "postfix": false, "binop": null }, - "start": 11483, - "end": 11484, + "start": 11528, + "end": 11529, "loc": { "start": { "line": 539, @@ -110349,8 +111128,8 @@ "binop": null, "updateContext": null }, - "start": 11485, - "end": 11486, + "start": 11530, + "end": 11531, "loc": { "start": { "line": 539, @@ -110377,8 +111156,8 @@ "updateContext": null }, "value": "new", - "start": 11487, - "end": 11490, + "start": 11532, + "end": 11535, "loc": { "start": { "line": 539, @@ -110403,8 +111182,8 @@ "binop": null }, "value": "Integer", - "start": 11491, - "end": 11498, + "start": 11536, + "end": 11543, "loc": { "start": { "line": 539, @@ -110428,8 +111207,8 @@ "postfix": false, "binop": null }, - "start": 11498, - "end": 11499, + "start": 11543, + "end": 11544, "loc": { "start": { "line": 539, @@ -110454,8 +111233,8 @@ "binop": null }, "value": "r", - "start": 11499, - "end": 11500, + "start": 11544, + "end": 11545, "loc": { "start": { "line": 539, @@ -110480,8 +111259,8 @@ "binop": null, "updateContext": null }, - "start": 11500, - "end": 11501, + "start": 11545, + "end": 11546, "loc": { "start": { "line": 539, @@ -110507,8 +111286,8 @@ "updateContext": null }, "value": 0, - "start": 11502, - "end": 11503, + "start": 11547, + "end": 11548, "loc": { "start": { "line": 539, @@ -110533,8 +111312,8 @@ "binop": null, "updateContext": null }, - "start": 11503, - "end": 11504, + "start": 11548, + "end": 11549, "loc": { "start": { "line": 539, @@ -110559,8 +111338,8 @@ "binop": null, "updateContext": null }, - "start": 11505, - "end": 11506, + "start": 11550, + "end": 11551, "loc": { "start": { "line": 539, @@ -110586,8 +111365,8 @@ "updateContext": null }, "value": 0, - "start": 11506, - "end": 11507, + "start": 11551, + "end": 11552, "loc": { "start": { "line": 539, @@ -110612,8 +111391,8 @@ "binop": null, "updateContext": null }, - "start": 11507, - "end": 11508, + "start": 11552, + "end": 11553, "loc": { "start": { "line": 539, @@ -110637,8 +111416,8 @@ "postfix": false, "binop": null }, - "start": 11508, - "end": 11509, + "start": 11553, + "end": 11554, "loc": { "start": { "line": 539, @@ -110663,8 +111442,8 @@ "binop": null, "updateContext": null }, - "start": 11510, - "end": 11511, + "start": 11555, + "end": 11556, "loc": { "start": { "line": 539, @@ -110689,8 +111468,8 @@ "binop": null }, "value": "y", - "start": 11515, - "end": 11516, + "start": 11560, + "end": 11561, "loc": { "start": { "line": 540, @@ -110715,8 +111494,8 @@ "binop": null, "updateContext": null }, - "start": 11516, - "end": 11517, + "start": 11561, + "end": 11562, "loc": { "start": { "line": 540, @@ -110741,8 +111520,8 @@ "binop": null }, "value": "y", - "start": 11518, - "end": 11519, + "start": 11563, + "end": 11564, "loc": { "start": { "line": 540, @@ -110767,8 +111546,8 @@ "binop": null, "updateContext": null }, - "start": 11519, - "end": 11520, + "start": 11564, + "end": 11565, "loc": { "start": { "line": 540, @@ -110793,8 +111572,8 @@ "binop": null }, "value": "length", - "start": 11520, - "end": 11526, + "start": 11565, + "end": 11571, "loc": { "start": { "line": 540, @@ -110819,8 +111598,8 @@ "binop": null, "updateContext": null }, - "start": 11527, - "end": 11528, + "start": 11572, + "end": 11573, "loc": { "start": { "line": 540, @@ -110847,8 +111626,8 @@ "updateContext": null }, "value": "new", - "start": 11529, - "end": 11532, + "start": 11574, + "end": 11577, "loc": { "start": { "line": 540, @@ -110873,8 +111652,8 @@ "binop": null }, "value": "Integer", - "start": 11533, - "end": 11540, + "start": 11578, + "end": 11585, "loc": { "start": { "line": 540, @@ -110898,8 +111677,8 @@ "postfix": false, "binop": null }, - "start": 11540, - "end": 11541, + "start": 11585, + "end": 11586, "loc": { "start": { "line": 540, @@ -110924,8 +111703,8 @@ "binop": null }, "value": "r", - "start": 11541, - "end": 11542, + "start": 11586, + "end": 11587, "loc": { "start": { "line": 540, @@ -110950,8 +111729,8 @@ "binop": null, "updateContext": null }, - "start": 11542, - "end": 11543, + "start": 11587, + "end": 11588, "loc": { "start": { "line": 540, @@ -110976,8 +111755,8 @@ "binop": null }, "value": "other", - "start": 11544, - "end": 11549, + "start": 11589, + "end": 11594, "loc": { "start": { "line": 540, @@ -111002,8 +111781,8 @@ "binop": null, "updateContext": null }, - "start": 11549, - "end": 11550, + "start": 11594, + "end": 11595, "loc": { "start": { "line": 540, @@ -111028,8 +111807,8 @@ "binop": null }, "value": "is_negative", - "start": 11550, - "end": 11561, + "start": 11595, + "end": 11606, "loc": { "start": { "line": 540, @@ -111055,8 +111834,8 @@ "updateContext": null }, "value": "^", - "start": 11562, - "end": 11563, + "start": 11607, + "end": 11608, "loc": { "start": { "line": 540, @@ -111080,8 +111859,8 @@ "postfix": false, "binop": null }, - "start": 11564, - "end": 11565, + "start": 11609, + "end": 11610, "loc": { "start": { "line": 540, @@ -111107,8 +111886,8 @@ "updateContext": null }, "value": "-", - "start": 11565, - "end": 11566, + "start": 11610, + "end": 11611, "loc": { "start": { "line": 540, @@ -111132,8 +111911,8 @@ "postfix": false, "binop": null }, - "start": 11566, - "end": 11567, + "start": 11611, + "end": 11612, "loc": { "start": { "line": 540, @@ -111158,8 +111937,8 @@ "binop": null }, "value": "steps", - "start": 11567, - "end": 11572, + "start": 11612, + "end": 11617, "loc": { "start": { "line": 540, @@ -111185,8 +111964,8 @@ "updateContext": null }, "value": "%", - "start": 11573, - "end": 11574, + "start": 11618, + "end": 11619, "loc": { "start": { "line": 540, @@ -111212,8 +111991,8 @@ "updateContext": null }, "value": 2, - "start": 11575, - "end": 11576, + "start": 11620, + "end": 11621, "loc": { "start": { "line": 540, @@ -111237,8 +112016,8 @@ "postfix": false, "binop": null }, - "start": 11576, - "end": 11577, + "start": 11621, + "end": 11622, "loc": { "start": { "line": 540, @@ -111262,8 +112041,8 @@ "postfix": false, "binop": null }, - "start": 11577, - "end": 11578, + "start": 11622, + "end": 11623, "loc": { "start": { "line": 540, @@ -111288,8 +112067,8 @@ "binop": null, "updateContext": null }, - "start": 11578, - "end": 11579, + "start": 11623, + "end": 11624, "loc": { "start": { "line": 540, @@ -111314,8 +112093,8 @@ "binop": null }, "value": "y", - "start": 11580, - "end": 11581, + "start": 11625, + "end": 11626, "loc": { "start": { "line": 540, @@ -111339,8 +112118,8 @@ "postfix": false, "binop": null }, - "start": 11581, - "end": 11582, + "start": 11626, + "end": 11627, "loc": { "start": { "line": 540, @@ -111365,8 +112144,8 @@ "binop": null, "updateContext": null }, - "start": 11583, - "end": 11584, + "start": 11628, + "end": 11629, "loc": { "start": { "line": 540, @@ -111393,8 +112172,8 @@ "updateContext": null }, "value": "new", - "start": 11585, - "end": 11588, + "start": 11630, + "end": 11633, "loc": { "start": { "line": 540, @@ -111419,8 +112198,8 @@ "binop": null }, "value": "Integer", - "start": 11589, - "end": 11596, + "start": 11634, + "end": 11641, "loc": { "start": { "line": 540, @@ -111444,8 +112223,8 @@ "postfix": false, "binop": null }, - "start": 11596, - "end": 11597, + "start": 11641, + "end": 11642, "loc": { "start": { "line": 540, @@ -111470,8 +112249,8 @@ "binop": null }, "value": "r", - "start": 11597, - "end": 11598, + "start": 11642, + "end": 11643, "loc": { "start": { "line": 540, @@ -111496,8 +112275,8 @@ "binop": null, "updateContext": null }, - "start": 11598, - "end": 11599, + "start": 11643, + "end": 11644, "loc": { "start": { "line": 540, @@ -111523,8 +112302,8 @@ "updateContext": null }, "value": 0, - "start": 11600, - "end": 11601, + "start": 11645, + "end": 11646, "loc": { "start": { "line": 540, @@ -111549,8 +112328,8 @@ "binop": null, "updateContext": null }, - "start": 11601, - "end": 11602, + "start": 11646, + "end": 11647, "loc": { "start": { "line": 540, @@ -111575,8 +112354,8 @@ "binop": null, "updateContext": null }, - "start": 11603, - "end": 11604, + "start": 11648, + "end": 11649, "loc": { "start": { "line": 540, @@ -111602,8 +112381,8 @@ "updateContext": null }, "value": 0, - "start": 11604, - "end": 11605, + "start": 11649, + "end": 11650, "loc": { "start": { "line": 540, @@ -111628,8 +112407,8 @@ "binop": null, "updateContext": null }, - "start": 11605, - "end": 11606, + "start": 11650, + "end": 11651, "loc": { "start": { "line": 540, @@ -111653,8 +112432,8 @@ "postfix": false, "binop": null }, - "start": 11606, - "end": 11607, + "start": 11651, + "end": 11652, "loc": { "start": { "line": 540, @@ -111679,8 +112458,8 @@ "binop": null, "updateContext": null }, - "start": 11608, - "end": 11609, + "start": 11653, + "end": 11654, "loc": { "start": { "line": 540, @@ -111705,8 +112484,8 @@ "binop": null }, "value": "u", - "start": 11613, - "end": 11614, + "start": 11658, + "end": 11659, "loc": { "start": { "line": 541, @@ -111731,8 +112510,8 @@ "binop": null, "updateContext": null }, - "start": 11614, - "end": 11615, + "start": 11659, + "end": 11660, "loc": { "start": { "line": 541, @@ -111757,8 +112536,8 @@ "binop": null }, "value": "u", - "start": 11616, - "end": 11617, + "start": 11661, + "end": 11662, "loc": { "start": { "line": 541, @@ -111783,8 +112562,8 @@ "binop": null, "updateContext": null }, - "start": 11617, - "end": 11618, + "start": 11662, + "end": 11663, "loc": { "start": { "line": 541, @@ -111809,8 +112588,8 @@ "binop": null }, "value": "length", - "start": 11618, - "end": 11624, + "start": 11663, + "end": 11669, "loc": { "start": { "line": 541, @@ -111835,8 +112614,8 @@ "binop": null, "updateContext": null }, - "start": 11625, - "end": 11626, + "start": 11670, + "end": 11671, "loc": { "start": { "line": 541, @@ -111863,8 +112642,8 @@ "updateContext": null }, "value": "new", - "start": 11627, - "end": 11630, + "start": 11672, + "end": 11675, "loc": { "start": { "line": 541, @@ -111889,8 +112668,8 @@ "binop": null }, "value": "Integer", - "start": 11631, - "end": 11638, + "start": 11676, + "end": 11683, "loc": { "start": { "line": 541, @@ -111914,8 +112693,8 @@ "postfix": false, "binop": null }, - "start": 11638, - "end": 11639, + "start": 11683, + "end": 11684, "loc": { "start": { "line": 541, @@ -111940,8 +112719,8 @@ "binop": null }, "value": "r", - "start": 11639, - "end": 11640, + "start": 11684, + "end": 11685, "loc": { "start": { "line": 541, @@ -111966,8 +112745,8 @@ "binop": null, "updateContext": null }, - "start": 11640, - "end": 11641, + "start": 11685, + "end": 11686, "loc": { "start": { "line": 541, @@ -111994,8 +112773,8 @@ "updateContext": null }, "value": "this", - "start": 11642, - "end": 11646, + "start": 11687, + "end": 11691, "loc": { "start": { "line": 541, @@ -112020,8 +112799,8 @@ "binop": null, "updateContext": null }, - "start": 11646, - "end": 11647, + "start": 11691, + "end": 11692, "loc": { "start": { "line": 541, @@ -112046,8 +112825,8 @@ "binop": null }, "value": "is_negative", - "start": 11647, - "end": 11658, + "start": 11692, + "end": 11703, "loc": { "start": { "line": 541, @@ -112073,8 +112852,8 @@ "updateContext": null }, "value": "^", - "start": 11659, - "end": 11660, + "start": 11704, + "end": 11705, "loc": { "start": { "line": 541, @@ -112098,8 +112877,8 @@ "postfix": false, "binop": null }, - "start": 11661, - "end": 11662, + "start": 11706, + "end": 11707, "loc": { "start": { "line": 541, @@ -112125,8 +112904,8 @@ "updateContext": null }, "value": "-", - "start": 11662, - "end": 11663, + "start": 11707, + "end": 11708, "loc": { "start": { "line": 541, @@ -112150,8 +112929,8 @@ "postfix": false, "binop": null }, - "start": 11663, - "end": 11664, + "start": 11708, + "end": 11709, "loc": { "start": { "line": 541, @@ -112176,8 +112955,8 @@ "binop": null }, "value": "steps", - "start": 11664, - "end": 11669, + "start": 11709, + "end": 11714, "loc": { "start": { "line": 541, @@ -112203,8 +112982,8 @@ "updateContext": null }, "value": "%", - "start": 11670, - "end": 11671, + "start": 11715, + "end": 11716, "loc": { "start": { "line": 541, @@ -112230,8 +113009,8 @@ "updateContext": null }, "value": 2, - "start": 11672, - "end": 11673, + "start": 11717, + "end": 11718, "loc": { "start": { "line": 541, @@ -112255,8 +113034,8 @@ "postfix": false, "binop": null }, - "start": 11673, - "end": 11674, + "start": 11718, + "end": 11719, "loc": { "start": { "line": 541, @@ -112280,8 +113059,8 @@ "postfix": false, "binop": null }, - "start": 11674, - "end": 11675, + "start": 11719, + "end": 11720, "loc": { "start": { "line": 541, @@ -112306,8 +113085,8 @@ "binop": null, "updateContext": null }, - "start": 11675, - "end": 11676, + "start": 11720, + "end": 11721, "loc": { "start": { "line": 541, @@ -112332,8 +113111,8 @@ "binop": null }, "value": "u", - "start": 11677, - "end": 11678, + "start": 11722, + "end": 11723, "loc": { "start": { "line": 541, @@ -112357,8 +113136,8 @@ "postfix": false, "binop": null }, - "start": 11678, - "end": 11679, + "start": 11723, + "end": 11724, "loc": { "start": { "line": 541, @@ -112383,8 +113162,8 @@ "binop": null, "updateContext": null }, - "start": 11680, - "end": 11681, + "start": 11725, + "end": 11726, "loc": { "start": { "line": 541, @@ -112411,8 +113190,8 @@ "updateContext": null }, "value": "new", - "start": 11682, - "end": 11685, + "start": 11727, + "end": 11730, "loc": { "start": { "line": 541, @@ -112437,8 +113216,8 @@ "binop": null }, "value": "Integer", - "start": 11686, - "end": 11693, + "start": 11731, + "end": 11738, "loc": { "start": { "line": 541, @@ -112462,8 +113241,8 @@ "postfix": false, "binop": null }, - "start": 11693, - "end": 11694, + "start": 11738, + "end": 11739, "loc": { "start": { "line": 541, @@ -112488,8 +113267,8 @@ "binop": null }, "value": "r", - "start": 11694, - "end": 11695, + "start": 11739, + "end": 11740, "loc": { "start": { "line": 541, @@ -112514,8 +113293,8 @@ "binop": null, "updateContext": null }, - "start": 11695, - "end": 11696, + "start": 11740, + "end": 11741, "loc": { "start": { "line": 541, @@ -112541,8 +113320,8 @@ "updateContext": null }, "value": 0, - "start": 11697, - "end": 11698, + "start": 11742, + "end": 11743, "loc": { "start": { "line": 541, @@ -112567,8 +113346,8 @@ "binop": null, "updateContext": null }, - "start": 11698, - "end": 11699, + "start": 11743, + "end": 11744, "loc": { "start": { "line": 541, @@ -112593,8 +113372,8 @@ "binop": null, "updateContext": null }, - "start": 11700, - "end": 11701, + "start": 11745, + "end": 11746, "loc": { "start": { "line": 541, @@ -112620,8 +113399,8 @@ "updateContext": null }, "value": 0, - "start": 11701, - "end": 11702, + "start": 11746, + "end": 11747, "loc": { "start": { "line": 541, @@ -112646,8 +113425,8 @@ "binop": null, "updateContext": null }, - "start": 11702, - "end": 11703, + "start": 11747, + "end": 11748, "loc": { "start": { "line": 541, @@ -112671,8 +113450,8 @@ "postfix": false, "binop": null }, - "start": 11703, - "end": 11704, + "start": 11748, + "end": 11749, "loc": { "start": { "line": 541, @@ -112697,8 +113476,8 @@ "binop": null, "updateContext": null }, - "start": 11705, - "end": 11706, + "start": 11750, + "end": 11751, "loc": { "start": { "line": 541, @@ -112723,8 +113502,8 @@ "binop": null }, "value": "v", - "start": 11710, - "end": 11711, + "start": 11755, + "end": 11756, "loc": { "start": { "line": 542, @@ -112749,8 +113528,8 @@ "binop": null, "updateContext": null }, - "start": 11711, - "end": 11712, + "start": 11756, + "end": 11757, "loc": { "start": { "line": 542, @@ -112775,8 +113554,8 @@ "binop": null }, "value": "v", - "start": 11713, - "end": 11714, + "start": 11758, + "end": 11759, "loc": { "start": { "line": 542, @@ -112801,8 +113580,8 @@ "binop": null, "updateContext": null }, - "start": 11714, - "end": 11715, + "start": 11759, + "end": 11760, "loc": { "start": { "line": 542, @@ -112827,8 +113606,8 @@ "binop": null }, "value": "length", - "start": 11715, - "end": 11721, + "start": 11760, + "end": 11766, "loc": { "start": { "line": 542, @@ -112853,8 +113632,8 @@ "binop": null, "updateContext": null }, - "start": 11722, - "end": 11723, + "start": 11767, + "end": 11768, "loc": { "start": { "line": 542, @@ -112881,8 +113660,8 @@ "updateContext": null }, "value": "new", - "start": 11724, - "end": 11727, + "start": 11769, + "end": 11772, "loc": { "start": { "line": 542, @@ -112907,8 +113686,8 @@ "binop": null }, "value": "Integer", - "start": 11728, - "end": 11735, + "start": 11773, + "end": 11780, "loc": { "start": { "line": 542, @@ -112932,8 +113711,8 @@ "postfix": false, "binop": null }, - "start": 11735, - "end": 11736, + "start": 11780, + "end": 11781, "loc": { "start": { "line": 542, @@ -112958,8 +113737,8 @@ "binop": null }, "value": "r", - "start": 11736, - "end": 11737, + "start": 11781, + "end": 11782, "loc": { "start": { "line": 542, @@ -112984,8 +113763,8 @@ "binop": null, "updateContext": null }, - "start": 11737, - "end": 11738, + "start": 11782, + "end": 11783, "loc": { "start": { "line": 542, @@ -113010,8 +113789,8 @@ "binop": null }, "value": "other", - "start": 11739, - "end": 11744, + "start": 11784, + "end": 11789, "loc": { "start": { "line": 542, @@ -113036,8 +113815,8 @@ "binop": null, "updateContext": null }, - "start": 11744, - "end": 11745, + "start": 11789, + "end": 11790, "loc": { "start": { "line": 542, @@ -113062,8 +113841,8 @@ "binop": null }, "value": "is_negative", - "start": 11745, - "end": 11756, + "start": 11790, + "end": 11801, "loc": { "start": { "line": 542, @@ -113089,8 +113868,8 @@ "updateContext": null }, "value": "^", - "start": 11757, - "end": 11758, + "start": 11802, + "end": 11803, "loc": { "start": { "line": 542, @@ -113114,8 +113893,8 @@ "postfix": false, "binop": null }, - "start": 11759, - "end": 11760, + "start": 11804, + "end": 11805, "loc": { "start": { "line": 542, @@ -113139,8 +113918,8 @@ "postfix": false, "binop": null }, - "start": 11760, - "end": 11761, + "start": 11805, + "end": 11806, "loc": { "start": { "line": 542, @@ -113165,8 +113944,8 @@ "binop": null }, "value": "steps", - "start": 11761, - "end": 11766, + "start": 11806, + "end": 11811, "loc": { "start": { "line": 542, @@ -113192,8 +113971,8 @@ "updateContext": null }, "value": "%", - "start": 11767, - "end": 11768, + "start": 11812, + "end": 11813, "loc": { "start": { "line": 542, @@ -113219,8 +113998,8 @@ "updateContext": null }, "value": 2, - "start": 11769, - "end": 11770, + "start": 11814, + "end": 11815, "loc": { "start": { "line": 542, @@ -113244,8 +114023,8 @@ "postfix": false, "binop": null }, - "start": 11770, - "end": 11771, + "start": 11815, + "end": 11816, "loc": { "start": { "line": 542, @@ -113271,8 +114050,8 @@ "updateContext": null }, "value": "-", - "start": 11771, - "end": 11772, + "start": 11816, + "end": 11817, "loc": { "start": { "line": 542, @@ -113298,8 +114077,8 @@ "updateContext": null }, "value": 1, - "start": 11772, - "end": 11773, + "start": 11817, + "end": 11818, "loc": { "start": { "line": 542, @@ -113323,8 +114102,8 @@ "postfix": false, "binop": null }, - "start": 11773, - "end": 11774, + "start": 11818, + "end": 11819, "loc": { "start": { "line": 542, @@ -113349,8 +114128,8 @@ "binop": null, "updateContext": null }, - "start": 11774, - "end": 11775, + "start": 11819, + "end": 11820, "loc": { "start": { "line": 542, @@ -113375,8 +114154,8 @@ "binop": null }, "value": "v", - "start": 11776, - "end": 11777, + "start": 11821, + "end": 11822, "loc": { "start": { "line": 542, @@ -113400,8 +114179,8 @@ "postfix": false, "binop": null }, - "start": 11777, - "end": 11778, + "start": 11822, + "end": 11823, "loc": { "start": { "line": 542, @@ -113426,8 +114205,8 @@ "binop": null, "updateContext": null }, - "start": 11779, - "end": 11780, + "start": 11824, + "end": 11825, "loc": { "start": { "line": 542, @@ -113454,8 +114233,8 @@ "updateContext": null }, "value": "new", - "start": 11781, - "end": 11784, + "start": 11826, + "end": 11829, "loc": { "start": { "line": 542, @@ -113480,8 +114259,8 @@ "binop": null }, "value": "Integer", - "start": 11785, - "end": 11792, + "start": 11830, + "end": 11837, "loc": { "start": { "line": 542, @@ -113505,8 +114284,8 @@ "postfix": false, "binop": null }, - "start": 11792, - "end": 11793, + "start": 11837, + "end": 11838, "loc": { "start": { "line": 542, @@ -113531,8 +114310,8 @@ "binop": null }, "value": "r", - "start": 11793, - "end": 11794, + "start": 11838, + "end": 11839, "loc": { "start": { "line": 542, @@ -113557,8 +114336,8 @@ "binop": null, "updateContext": null }, - "start": 11794, - "end": 11795, + "start": 11839, + "end": 11840, "loc": { "start": { "line": 542, @@ -113584,8 +114363,8 @@ "updateContext": null }, "value": 0, - "start": 11796, - "end": 11797, + "start": 11841, + "end": 11842, "loc": { "start": { "line": 542, @@ -113610,8 +114389,8 @@ "binop": null, "updateContext": null }, - "start": 11797, - "end": 11798, + "start": 11842, + "end": 11843, "loc": { "start": { "line": 542, @@ -113636,8 +114415,8 @@ "binop": null, "updateContext": null }, - "start": 11799, - "end": 11800, + "start": 11844, + "end": 11845, "loc": { "start": { "line": 542, @@ -113663,8 +114442,8 @@ "updateContext": null }, "value": 0, - "start": 11800, - "end": 11801, + "start": 11845, + "end": 11846, "loc": { "start": { "line": 542, @@ -113689,8 +114468,8 @@ "binop": null, "updateContext": null }, - "start": 11801, - "end": 11802, + "start": 11846, + "end": 11847, "loc": { "start": { "line": 542, @@ -113714,8 +114493,8 @@ "postfix": false, "binop": null }, - "start": 11802, - "end": 11803, + "start": 11847, + "end": 11848, "loc": { "start": { "line": 542, @@ -113740,8 +114519,8 @@ "binop": null, "updateContext": null }, - "start": 11804, - "end": 11805, + "start": 11849, + "end": 11850, "loc": { "start": { "line": 542, @@ -113765,8 +114544,8 @@ "postfix": false, "binop": null }, - "start": 11808, - "end": 11809, + "start": 11853, + "end": 11854, "loc": { "start": { "line": 543, @@ -113791,8 +114570,8 @@ "binop": null, "updateContext": null }, - "start": 11810, - "end": 11811, + "start": 11855, + "end": 11856, "loc": { "start": { "line": 543, @@ -113816,8 +114595,8 @@ "postfix": false, "binop": null }, - "start": 11813, - "end": 11814, + "start": 11858, + "end": 11859, "loc": { "start": { "line": 544, @@ -113842,8 +114621,8 @@ "binop": null }, "value": "valueOf", - "start": 11817, - "end": 11824, + "start": 11862, + "end": 11869, "loc": { "start": { "line": 546, @@ -113867,8 +114646,8 @@ "postfix": false, "binop": null }, - "start": 11825, - "end": 11826, + "start": 11870, + "end": 11871, "loc": { "start": { "line": 546, @@ -113892,8 +114671,8 @@ "postfix": false, "binop": null }, - "start": 11827, - "end": 11828, + "start": 11872, + "end": 11873, "loc": { "start": { "line": 546, @@ -113917,8 +114696,8 @@ "postfix": false, "binop": null }, - "start": 11829, - "end": 11830, + "start": 11874, + "end": 11875, "loc": { "start": { "line": 546, @@ -113945,8 +114724,8 @@ "updateContext": null }, "value": "if", - "start": 11834, - "end": 11836, + "start": 11879, + "end": 11881, "loc": { "start": { "line": 548, @@ -113970,8 +114749,8 @@ "postfix": false, "binop": null }, - "start": 11837, - "end": 11838, + "start": 11882, + "end": 11883, "loc": { "start": { "line": 548, @@ -113998,8 +114777,8 @@ "updateContext": null }, "value": "this", - "start": 11838, - "end": 11842, + "start": 11883, + "end": 11887, "loc": { "start": { "line": 548, @@ -114024,8 +114803,8 @@ "binop": null, "updateContext": null }, - "start": 11842, - "end": 11843, + "start": 11887, + "end": 11888, "loc": { "start": { "line": 548, @@ -114050,8 +114829,8 @@ "binop": null }, "value": "gtn", - "start": 11843, - "end": 11846, + "start": 11888, + "end": 11891, "loc": { "start": { "line": 548, @@ -114075,8 +114854,8 @@ "postfix": false, "binop": null }, - "start": 11846, - "end": 11847, + "start": 11891, + "end": 11892, "loc": { "start": { "line": 548, @@ -114101,8 +114880,8 @@ "binop": null }, "value": "MAX_NUMBER", - "start": 11847, - "end": 11857, + "start": 11892, + "end": 11902, "loc": { "start": { "line": 548, @@ -114126,8 +114905,8 @@ "postfix": false, "binop": null }, - "start": 11857, - "end": 11858, + "start": 11902, + "end": 11903, "loc": { "start": { "line": 548, @@ -114151,8 +114930,8 @@ "postfix": false, "binop": null }, - "start": 11858, - "end": 11859, + "start": 11903, + "end": 11904, "loc": { "start": { "line": 548, @@ -114179,8 +114958,8 @@ "updateContext": null }, "value": "throw", - "start": 11860, - "end": 11865, + "start": 11905, + "end": 11910, "loc": { "start": { "line": 548, @@ -114207,8 +114986,8 @@ "updateContext": null }, "value": "new", - "start": 11866, - "end": 11869, + "start": 11911, + "end": 11914, "loc": { "start": { "line": 548, @@ -114233,8 +115012,8 @@ "binop": null }, "value": "ValueError", - "start": 11870, - "end": 11880, + "start": 11915, + "end": 11925, "loc": { "start": { "line": 548, @@ -114258,8 +115037,8 @@ "postfix": false, "binop": null }, - "start": 11880, - "end": 11881, + "start": 11925, + "end": 11926, "loc": { "start": { "line": 548, @@ -114283,8 +115062,8 @@ "postfix": false, "binop": null }, - "start": 11881, - "end": 11882, + "start": 11926, + "end": 11927, "loc": { "start": { "line": 548, @@ -114310,8 +115089,8 @@ "updateContext": null }, "value": "Cannot call valueOf on Integer larger than ", - "start": 11882, - "end": 11925, + "start": 11927, + "end": 11970, "loc": { "start": { "line": 548, @@ -114335,8 +115114,8 @@ "postfix": false, "binop": null }, - "start": 11925, - "end": 11927, + "start": 11970, + "end": 11972, "loc": { "start": { "line": 548, @@ -114361,8 +115140,8 @@ "binop": null }, "value": "MAX_NUMBER", - "start": 11927, - "end": 11937, + "start": 11972, + "end": 11982, "loc": { "start": { "line": 548, @@ -114386,8 +115165,8 @@ "postfix": false, "binop": null }, - "start": 11937, - "end": 11938, + "start": 11982, + "end": 11983, "loc": { "start": { "line": 548, @@ -114413,8 +115192,8 @@ "updateContext": null }, "value": ". Got ", - "start": 11938, - "end": 11944, + "start": 11983, + "end": 11989, "loc": { "start": { "line": 548, @@ -114438,8 +115217,8 @@ "postfix": false, "binop": null }, - "start": 11944, - "end": 11946, + "start": 11989, + "end": 11991, "loc": { "start": { "line": 548, @@ -114466,8 +115245,8 @@ "updateContext": null }, "value": "this", - "start": 11946, - "end": 11950, + "start": 11991, + "end": 11995, "loc": { "start": { "line": 548, @@ -114492,8 +115271,8 @@ "binop": null, "updateContext": null }, - "start": 11950, - "end": 11951, + "start": 11995, + "end": 11996, "loc": { "start": { "line": 548, @@ -114518,8 +115297,8 @@ "binop": null }, "value": "toString", - "start": 11951, - "end": 11959, + "start": 11996, + "end": 12004, "loc": { "start": { "line": 548, @@ -114543,8 +115322,8 @@ "postfix": false, "binop": null }, - "start": 11959, - "end": 11960, + "start": 12004, + "end": 12005, "loc": { "start": { "line": 548, @@ -114568,8 +115347,8 @@ "postfix": false, "binop": null }, - "start": 11960, - "end": 11961, + "start": 12005, + "end": 12006, "loc": { "start": { "line": 548, @@ -114593,8 +115372,8 @@ "postfix": false, "binop": null }, - "start": 11961, - "end": 11962, + "start": 12006, + "end": 12007, "loc": { "start": { "line": 548, @@ -114620,8 +115399,8 @@ "updateContext": null }, "value": "", - "start": 11962, - "end": 11962, + "start": 12007, + "end": 12007, "loc": { "start": { "line": 548, @@ -114645,8 +115424,8 @@ "postfix": false, "binop": null }, - "start": 11962, - "end": 11963, + "start": 12007, + "end": 12008, "loc": { "start": { "line": 548, @@ -114670,8 +115449,8 @@ "postfix": false, "binop": null }, - "start": 11963, - "end": 11964, + "start": 12008, + "end": 12009, "loc": { "start": { "line": 548, @@ -114696,8 +115475,8 @@ "binop": null, "updateContext": null }, - "start": 11965, - "end": 11966, + "start": 12010, + "end": 12011, "loc": { "start": { "line": 548, @@ -114724,8 +115503,8 @@ "updateContext": null }, "value": "if", - "start": 11969, - "end": 11971, + "start": 12014, + "end": 12016, "loc": { "start": { "line": 549, @@ -114749,8 +115528,8 @@ "postfix": false, "binop": null }, - "start": 11972, - "end": 11973, + "start": 12017, + "end": 12018, "loc": { "start": { "line": 549, @@ -114777,8 +115556,8 @@ "updateContext": null }, "value": "this", - "start": 11973, - "end": 11977, + "start": 12018, + "end": 12022, "loc": { "start": { "line": 549, @@ -114803,8 +115582,8 @@ "binop": null, "updateContext": null }, - "start": 11977, - "end": 11978, + "start": 12022, + "end": 12023, "loc": { "start": { "line": 549, @@ -114829,8 +115608,8 @@ "binop": null }, "value": "ltn", - "start": 11978, - "end": 11981, + "start": 12023, + "end": 12026, "loc": { "start": { "line": 549, @@ -114854,8 +115633,8 @@ "postfix": false, "binop": null }, - "start": 11981, - "end": 11982, + "start": 12026, + "end": 12027, "loc": { "start": { "line": 549, @@ -114880,8 +115659,8 @@ "binop": null }, "value": "MIN_NUMBER", - "start": 11982, - "end": 11992, + "start": 12027, + "end": 12037, "loc": { "start": { "line": 549, @@ -114905,8 +115684,8 @@ "postfix": false, "binop": null }, - "start": 11992, - "end": 11993, + "start": 12037, + "end": 12038, "loc": { "start": { "line": 549, @@ -114930,8 +115709,8 @@ "postfix": false, "binop": null }, - "start": 11993, - "end": 11994, + "start": 12038, + "end": 12039, "loc": { "start": { "line": 549, @@ -114958,8 +115737,8 @@ "updateContext": null }, "value": "throw", - "start": 11995, - "end": 12000, + "start": 12040, + "end": 12045, "loc": { "start": { "line": 549, @@ -114986,8 +115765,8 @@ "updateContext": null }, "value": "new", - "start": 12001, - "end": 12004, + "start": 12046, + "end": 12049, "loc": { "start": { "line": 549, @@ -115012,8 +115791,8 @@ "binop": null }, "value": "ValueError", - "start": 12005, - "end": 12015, + "start": 12050, + "end": 12060, "loc": { "start": { "line": 549, @@ -115037,8 +115816,8 @@ "postfix": false, "binop": null }, - "start": 12015, - "end": 12016, + "start": 12060, + "end": 12061, "loc": { "start": { "line": 549, @@ -115062,8 +115841,8 @@ "postfix": false, "binop": null }, - "start": 12016, - "end": 12017, + "start": 12061, + "end": 12062, "loc": { "start": { "line": 549, @@ -115089,8 +115868,8 @@ "updateContext": null }, "value": "Cannot call valueOf on Integer smaller than ", - "start": 12017, - "end": 12061, + "start": 12062, + "end": 12106, "loc": { "start": { "line": 549, @@ -115114,8 +115893,8 @@ "postfix": false, "binop": null }, - "start": 12061, - "end": 12063, + "start": 12106, + "end": 12108, "loc": { "start": { "line": 549, @@ -115140,8 +115919,8 @@ "binop": null }, "value": "MIN_NUMBER", - "start": 12063, - "end": 12073, + "start": 12108, + "end": 12118, "loc": { "start": { "line": 549, @@ -115165,8 +115944,8 @@ "postfix": false, "binop": null }, - "start": 12073, - "end": 12074, + "start": 12118, + "end": 12119, "loc": { "start": { "line": 549, @@ -115192,8 +115971,8 @@ "updateContext": null }, "value": ". Got ", - "start": 12074, - "end": 12080, + "start": 12119, + "end": 12125, "loc": { "start": { "line": 549, @@ -115217,8 +115996,8 @@ "postfix": false, "binop": null }, - "start": 12080, - "end": 12082, + "start": 12125, + "end": 12127, "loc": { "start": { "line": 549, @@ -115245,8 +116024,8 @@ "updateContext": null }, "value": "this", - "start": 12082, - "end": 12086, + "start": 12127, + "end": 12131, "loc": { "start": { "line": 549, @@ -115271,8 +116050,8 @@ "binop": null, "updateContext": null }, - "start": 12086, - "end": 12087, + "start": 12131, + "end": 12132, "loc": { "start": { "line": 549, @@ -115297,8 +116076,8 @@ "binop": null }, "value": "toString", - "start": 12087, - "end": 12095, + "start": 12132, + "end": 12140, "loc": { "start": { "line": 549, @@ -115322,8 +116101,8 @@ "postfix": false, "binop": null }, - "start": 12095, - "end": 12096, + "start": 12140, + "end": 12141, "loc": { "start": { "line": 549, @@ -115347,8 +116126,8 @@ "postfix": false, "binop": null }, - "start": 12096, - "end": 12097, + "start": 12141, + "end": 12142, "loc": { "start": { "line": 549, @@ -115372,8 +116151,8 @@ "postfix": false, "binop": null }, - "start": 12097, - "end": 12098, + "start": 12142, + "end": 12143, "loc": { "start": { "line": 549, @@ -115399,8 +116178,8 @@ "updateContext": null }, "value": "", - "start": 12098, - "end": 12098, + "start": 12143, + "end": 12143, "loc": { "start": { "line": 549, @@ -115424,8 +116203,8 @@ "postfix": false, "binop": null }, - "start": 12098, - "end": 12099, + "start": 12143, + "end": 12144, "loc": { "start": { "line": 549, @@ -115449,8 +116228,8 @@ "postfix": false, "binop": null }, - "start": 12099, - "end": 12100, + "start": 12144, + "end": 12145, "loc": { "start": { "line": 549, @@ -115475,8 +116254,8 @@ "binop": null, "updateContext": null }, - "start": 12101, - "end": 12102, + "start": 12146, + "end": 12147, "loc": { "start": { "line": 549, @@ -115503,8 +116282,8 @@ "updateContext": null }, "value": "const", - "start": 12106, - "end": 12111, + "start": 12151, + "end": 12156, "loc": { "start": { "line": 551, @@ -115529,8 +116308,8 @@ "binop": null }, "value": "limbs", - "start": 12112, - "end": 12117, + "start": 12157, + "end": 12162, "loc": { "start": { "line": 551, @@ -115556,8 +116335,8 @@ "updateContext": null }, "value": "=", - "start": 12118, - "end": 12119, + "start": 12163, + "end": 12164, "loc": { "start": { "line": 551, @@ -115582,8 +116361,8 @@ "binop": null }, "value": "convert", - "start": 12120, - "end": 12127, + "start": 12165, + "end": 12172, "loc": { "start": { "line": 551, @@ -115607,8 +116386,8 @@ "postfix": false, "binop": null }, - "start": 12127, - "end": 12128, + "start": 12172, + "end": 12173, "loc": { "start": { "line": 551, @@ -115635,8 +116414,8 @@ "updateContext": null }, "value": "this", - "start": 12129, - "end": 12133, + "start": 12174, + "end": 12178, "loc": { "start": { "line": 551, @@ -115661,8 +116440,8 @@ "binop": null, "updateContext": null }, - "start": 12133, - "end": 12134, + "start": 12178, + "end": 12179, "loc": { "start": { "line": 551, @@ -115687,8 +116466,8 @@ "binop": null }, "value": "base", - "start": 12134, - "end": 12138, + "start": 12179, + "end": 12183, "loc": { "start": { "line": 551, @@ -115713,8 +116492,8 @@ "binop": null, "updateContext": null }, - "start": 12139, - "end": 12140, + "start": 12184, + "end": 12185, "loc": { "start": { "line": 551, @@ -115739,8 +116518,8 @@ "binop": null }, "value": "MAX_BASE", - "start": 12141, - "end": 12149, + "start": 12186, + "end": 12194, "loc": { "start": { "line": 551, @@ -115765,8 +116544,8 @@ "binop": null, "updateContext": null }, - "start": 12150, - "end": 12151, + "start": 12195, + "end": 12196, "loc": { "start": { "line": 551, @@ -115793,8 +116572,8 @@ "updateContext": null }, "value": "this", - "start": 12152, - "end": 12156, + "start": 12197, + "end": 12201, "loc": { "start": { "line": 551, @@ -115819,8 +116598,8 @@ "binop": null, "updateContext": null }, - "start": 12156, - "end": 12157, + "start": 12201, + "end": 12202, "loc": { "start": { "line": 551, @@ -115845,8 +116624,8 @@ "binop": null }, "value": "limbs", - "start": 12157, - "end": 12162, + "start": 12202, + "end": 12207, "loc": { "start": { "line": 551, @@ -115871,8 +116650,8 @@ "binop": null, "updateContext": null }, - "start": 12163, - "end": 12164, + "start": 12208, + "end": 12209, "loc": { "start": { "line": 551, @@ -115898,8 +116677,8 @@ "updateContext": null }, "value": 0, - "start": 12165, - "end": 12166, + "start": 12210, + "end": 12211, "loc": { "start": { "line": 551, @@ -115924,8 +116703,8 @@ "binop": null, "updateContext": null }, - "start": 12167, - "end": 12168, + "start": 12212, + "end": 12213, "loc": { "start": { "line": 551, @@ -115952,8 +116731,8 @@ "updateContext": null }, "value": "this", - "start": 12169, - "end": 12173, + "start": 12214, + "end": 12218, "loc": { "start": { "line": 551, @@ -115978,8 +116757,8 @@ "binop": null, "updateContext": null }, - "start": 12173, - "end": 12174, + "start": 12218, + "end": 12219, "loc": { "start": { "line": 551, @@ -116004,8 +116783,8 @@ "binop": null }, "value": "limbs", - "start": 12174, - "end": 12179, + "start": 12219, + "end": 12224, "loc": { "start": { "line": 551, @@ -116030,8 +116809,8 @@ "binop": null, "updateContext": null }, - "start": 12179, - "end": 12180, + "start": 12224, + "end": 12225, "loc": { "start": { "line": 551, @@ -116056,8 +116835,8 @@ "binop": null }, "value": "length", - "start": 12180, - "end": 12186, + "start": 12225, + "end": 12231, "loc": { "start": { "line": 551, @@ -116081,8 +116860,8 @@ "postfix": false, "binop": null }, - "start": 12187, - "end": 12188, + "start": 12232, + "end": 12233, "loc": { "start": { "line": 551, @@ -116107,8 +116886,8 @@ "binop": null, "updateContext": null }, - "start": 12189, - "end": 12190, + "start": 12234, + "end": 12235, "loc": { "start": { "line": 551, @@ -116135,8 +116914,8 @@ "updateContext": null }, "value": "const", - "start": 12194, - "end": 12199, + "start": 12239, + "end": 12244, "loc": { "start": { "line": 553, @@ -116161,8 +116940,8 @@ "binop": null }, "value": "sign", - "start": 12200, - "end": 12204, + "start": 12245, + "end": 12249, "loc": { "start": { "line": 553, @@ -116188,8 +116967,8 @@ "updateContext": null }, "value": "=", - "start": 12205, - "end": 12206, + "start": 12250, + "end": 12251, "loc": { "start": { "line": 553, @@ -116216,8 +116995,8 @@ "updateContext": null }, "value": "this", - "start": 12207, - "end": 12211, + "start": 12252, + "end": 12256, "loc": { "start": { "line": 553, @@ -116242,8 +117021,8 @@ "binop": null, "updateContext": null }, - "start": 12211, - "end": 12212, + "start": 12256, + "end": 12257, "loc": { "start": { "line": 553, @@ -116268,8 +117047,8 @@ "binop": null }, "value": "is_negative", - "start": 12212, - "end": 12223, + "start": 12257, + "end": 12268, "loc": { "start": { "line": 553, @@ -116294,8 +117073,8 @@ "binop": null, "updateContext": null }, - "start": 12224, - "end": 12225, + "start": 12269, + "end": 12270, "loc": { "start": { "line": 553, @@ -116321,8 +117100,8 @@ "updateContext": null }, "value": "-", - "start": 12226, - "end": 12227, + "start": 12271, + "end": 12272, "loc": { "start": { "line": 553, @@ -116348,8 +117127,8 @@ "updateContext": null }, "value": 1, - "start": 12227, - "end": 12228, + "start": 12272, + "end": 12273, "loc": { "start": { "line": 553, @@ -116374,8 +117153,8 @@ "binop": null, "updateContext": null }, - "start": 12229, - "end": 12230, + "start": 12274, + "end": 12275, "loc": { "start": { "line": 553, @@ -116401,8 +117180,8 @@ "updateContext": null }, "value": 1, - "start": 12231, - "end": 12232, + "start": 12276, + "end": 12277, "loc": { "start": { "line": 553, @@ -116427,8 +117206,8 @@ "binop": null, "updateContext": null }, - "start": 12233, - "end": 12234, + "start": 12278, + "end": 12279, "loc": { "start": { "line": 553, @@ -116455,8 +117234,8 @@ "updateContext": null }, "value": "const", - "start": 12238, - "end": 12243, + "start": 12283, + "end": 12288, "loc": { "start": { "line": 555, @@ -116481,8 +117260,8 @@ "binop": null }, "value": "value", - "start": 12244, - "end": 12249, + "start": 12289, + "end": 12294, "loc": { "start": { "line": 555, @@ -116508,8 +117287,8 @@ "updateContext": null }, "value": "=", - "start": 12250, - "end": 12251, + "start": 12295, + "end": 12296, "loc": { "start": { "line": 555, @@ -116534,8 +117313,8 @@ "binop": null }, "value": "limbs", - "start": 12252, - "end": 12257, + "start": 12297, + "end": 12302, "loc": { "start": { "line": 555, @@ -116560,8 +117339,8 @@ "binop": null, "updateContext": null }, - "start": 12257, - "end": 12258, + "start": 12302, + "end": 12303, "loc": { "start": { "line": 555, @@ -116586,8 +117365,8 @@ "binop": null }, "value": "length", - "start": 12258, - "end": 12264, + "start": 12303, + "end": 12309, "loc": { "start": { "line": 555, @@ -116613,8 +117392,8 @@ "updateContext": null }, "value": "===", - "start": 12265, - "end": 12268, + "start": 12310, + "end": 12313, "loc": { "start": { "line": 555, @@ -116640,8 +117419,8 @@ "updateContext": null }, "value": 2, - "start": 12269, - "end": 12270, + "start": 12314, + "end": 12315, "loc": { "start": { "line": 555, @@ -116666,8 +117445,8 @@ "binop": null, "updateContext": null }, - "start": 12271, - "end": 12272, + "start": 12316, + "end": 12317, "loc": { "start": { "line": 555, @@ -116692,8 +117471,8 @@ "binop": null }, "value": "limbs", - "start": 12276, - "end": 12281, + "start": 12321, + "end": 12326, "loc": { "start": { "line": 556, @@ -116718,8 +117497,8 @@ "binop": null, "updateContext": null }, - "start": 12281, - "end": 12282, + "start": 12326, + "end": 12327, "loc": { "start": { "line": 556, @@ -116745,8 +117524,8 @@ "updateContext": null }, "value": 0, - "start": 12282, - "end": 12283, + "start": 12327, + "end": 12328, "loc": { "start": { "line": 556, @@ -116771,8 +117550,8 @@ "binop": null, "updateContext": null }, - "start": 12283, - "end": 12284, + "start": 12328, + "end": 12329, "loc": { "start": { "line": 556, @@ -116798,8 +117577,8 @@ "updateContext": null }, "value": "*", - "start": 12285, - "end": 12286, + "start": 12330, + "end": 12331, "loc": { "start": { "line": 556, @@ -116824,8 +117603,8 @@ "binop": null }, "value": "MAX_BASE", - "start": 12287, - "end": 12295, + "start": 12332, + "end": 12340, "loc": { "start": { "line": 556, @@ -116851,8 +117630,8 @@ "updateContext": null }, "value": "+", - "start": 12296, - "end": 12297, + "start": 12341, + "end": 12342, "loc": { "start": { "line": 556, @@ -116877,8 +117656,8 @@ "binop": null }, "value": "limbs", - "start": 12298, - "end": 12303, + "start": 12343, + "end": 12348, "loc": { "start": { "line": 556, @@ -116903,8 +117682,8 @@ "binop": null, "updateContext": null }, - "start": 12303, - "end": 12304, + "start": 12348, + "end": 12349, "loc": { "start": { "line": 556, @@ -116930,8 +117709,8 @@ "updateContext": null }, "value": 1, - "start": 12304, - "end": 12305, + "start": 12349, + "end": 12350, "loc": { "start": { "line": 556, @@ -116956,8 +117735,8 @@ "binop": null, "updateContext": null }, - "start": 12305, - "end": 12306, + "start": 12350, + "end": 12351, "loc": { "start": { "line": 556, @@ -116982,8 +117761,8 @@ "binop": null, "updateContext": null }, - "start": 12307, - "end": 12308, + "start": 12352, + "end": 12353, "loc": { "start": { "line": 556, @@ -117008,8 +117787,8 @@ "binop": null }, "value": "limbs", - "start": 12312, - "end": 12317, + "start": 12357, + "end": 12362, "loc": { "start": { "line": 557, @@ -117034,8 +117813,8 @@ "binop": null, "updateContext": null }, - "start": 12317, - "end": 12318, + "start": 12362, + "end": 12363, "loc": { "start": { "line": 557, @@ -117061,8 +117840,8 @@ "updateContext": null }, "value": 0, - "start": 12318, - "end": 12319, + "start": 12363, + "end": 12364, "loc": { "start": { "line": 557, @@ -117087,8 +117866,8 @@ "binop": null, "updateContext": null }, - "start": 12319, - "end": 12320, + "start": 12364, + "end": 12365, "loc": { "start": { "line": 557, @@ -117113,8 +117892,8 @@ "binop": null, "updateContext": null }, - "start": 12321, - "end": 12322, + "start": 12366, + "end": 12367, "loc": { "start": { "line": 557, @@ -117141,8 +117920,8 @@ "updateContext": null }, "value": "return", - "start": 12326, - "end": 12332, + "start": 12371, + "end": 12377, "loc": { "start": { "line": 559, @@ -117167,8 +117946,8 @@ "binop": null }, "value": "sign", - "start": 12333, - "end": 12337, + "start": 12378, + "end": 12382, "loc": { "start": { "line": 559, @@ -117194,8 +117973,8 @@ "updateContext": null }, "value": "*", - "start": 12338, - "end": 12339, + "start": 12383, + "end": 12384, "loc": { "start": { "line": 559, @@ -117220,8 +117999,8 @@ "binop": null }, "value": "value", - "start": 12340, - "end": 12345, + "start": 12385, + "end": 12390, "loc": { "start": { "line": 559, @@ -117246,8 +118025,8 @@ "binop": null, "updateContext": null }, - "start": 12346, - "end": 12347, + "start": 12391, + "end": 12392, "loc": { "start": { "line": 559, @@ -117271,8 +118050,8 @@ "postfix": false, "binop": null }, - "start": 12349, - "end": 12350, + "start": 12394, + "end": 12395, "loc": { "start": { "line": 560, @@ -117297,8 +118076,8 @@ "binop": null }, "value": "toNumber", - "start": 12353, - "end": 12361, + "start": 12398, + "end": 12406, "loc": { "start": { "line": 562, @@ -117322,8 +118101,8 @@ "postfix": false, "binop": null }, - "start": 12362, - "end": 12363, + "start": 12407, + "end": 12408, "loc": { "start": { "line": 562, @@ -117347,8 +118126,8 @@ "postfix": false, "binop": null }, - "start": 12364, - "end": 12365, + "start": 12409, + "end": 12410, "loc": { "start": { "line": 562, @@ -117372,8 +118151,8 @@ "postfix": false, "binop": null }, - "start": 12366, - "end": 12367, + "start": 12411, + "end": 12412, "loc": { "start": { "line": 562, @@ -117400,8 +118179,8 @@ "updateContext": null }, "value": "return", - "start": 12370, - "end": 12376, + "start": 12415, + "end": 12421, "loc": { "start": { "line": 563, @@ -117428,8 +118207,8 @@ "updateContext": null }, "value": "this", - "start": 12377, - "end": 12381, + "start": 12422, + "end": 12426, "loc": { "start": { "line": 563, @@ -117454,8 +118233,8 @@ "binop": null, "updateContext": null }, - "start": 12381, - "end": 12382, + "start": 12426, + "end": 12427, "loc": { "start": { "line": 563, @@ -117480,8 +118259,8 @@ "binop": null }, "value": "valueOf", - "start": 12382, - "end": 12389, + "start": 12427, + "end": 12434, "loc": { "start": { "line": 563, @@ -117505,8 +118284,8 @@ "postfix": false, "binop": null }, - "start": 12389, - "end": 12390, + "start": 12434, + "end": 12435, "loc": { "start": { "line": 563, @@ -117530,8 +118309,8 @@ "postfix": false, "binop": null }, - "start": 12391, - "end": 12392, + "start": 12436, + "end": 12437, "loc": { "start": { "line": 563, @@ -117556,8 +118335,8 @@ "binop": null, "updateContext": null }, - "start": 12393, - "end": 12394, + "start": 12438, + "end": 12439, "loc": { "start": { "line": 563, @@ -117581,8 +118360,8 @@ "postfix": false, "binop": null }, - "start": 12396, - "end": 12397, + "start": 12441, + "end": 12442, "loc": { "start": { "line": 564, @@ -117606,8 +118385,8 @@ "postfix": false, "binop": null }, - "start": 12399, - "end": 12400, + "start": 12444, + "end": 12445, "loc": { "start": { "line": 566, @@ -117632,8 +118411,8 @@ "binop": null, "updateContext": null }, - "start": 12401, - "end": 12401, + "start": 12446, + "end": 12446, "loc": { "start": { "line": 567, diff --git a/ast/source/IntegerRing.js.json b/ast/source/IntegerRing.js.json index 8ad7773..1fc6d82 100644 --- a/ast/source/IntegerRing.js.json +++ b/ast/source/IntegerRing.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 3054, + "end": 3117, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 114, + "line": 116, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 3054, + "end": 3117, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 114, + "line": 116, "column": 0 } }, @@ -559,14 +559,14 @@ { "type": "ExportNamedDeclaration", "start": 254, - "end": 3053, + "end": 3116, "loc": { "start": { "line": 7, "column": 0 }, "end": { - "line": 113, + "line": 115, "column": 1 } }, @@ -575,14 +575,14 @@ "declaration": { "type": "ClassDeclaration", "start": 261, - "end": 3053, + "end": 3116, "loc": { "start": { "line": 7, "column": 7 }, "end": { - "line": 113, + "line": 115, "column": 1 } }, @@ -607,14 +607,14 @@ "body": { "type": "ClassBody", "start": 279, - "end": 3053, + "end": 3116, "loc": { "start": { "line": 7, "column": 25 }, "end": { - "line": 113, + "line": 115, "column": 1 } }, @@ -4105,14 +4105,14 @@ { "type": "ClassMethod", "start": 1910, - "end": 2380, + "end": 2443, "loc": { "start": { "line": 61, "column": 1 }, "end": { - "line": 73, + "line": 75, "column": 2 } }, @@ -4266,14 +4266,14 @@ "body": { "type": "BlockStatement", "start": 1964, - "end": 2380, + "end": 2443, "loc": { "start": { "line": 61, "column": 55 }, "end": { - "line": 73, + "line": 75, "column": 2 } }, @@ -5248,9 +5248,9 @@ "kind": "const" }, { - "type": "ReturnStatement", + "type": "IfStatement", "start": 2321, - "end": 2376, + "end": 2380, "loc": { "start": { "line": 71, @@ -5258,34 +5258,309 @@ }, "end": { "line": 71, + "column": 61 + } + }, + "test": { + "type": "LogicalExpression", + "start": 2325, + "end": 2361, + "loc": { + "start": { + "line": 71, + "column": 6 + }, + "end": { + "line": 71, + "column": 42 + } + }, + "left": { + "type": "BinaryExpression", + "start": 2325, + "end": 2343, + "loc": { + "start": { + "line": 71, + "column": 6 + }, + "end": { + "line": 71, + "column": 24 + } + }, + "left": { + "type": "MemberExpression", + "start": 2325, + "end": 2337, + "loc": { + "start": { + "line": 71, + "column": 6 + }, + "end": { + "line": 71, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 2325, + "end": 2330, + "loc": { + "start": { + "line": 71, + "column": 6 + }, + "end": { + "line": 71, + "column": 11 + }, + "identifierName": "limbs" + }, + "name": "limbs" + }, + "property": { + "type": "Identifier", + "start": 2331, + "end": 2337, + "loc": { + "start": { + "line": 71, + "column": 12 + }, + "end": { + "line": 71, + "column": 18 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": "===", + "right": { + "type": "NumericLiteral", + "start": 2342, + "end": 2343, + "loc": { + "start": { + "line": 71, + "column": 23 + }, + "end": { + "line": 71, + "column": 24 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + }, + "operator": "&&", + "right": { + "type": "BinaryExpression", + "start": 2347, + "end": 2361, + "loc": { + "start": { + "line": 71, + "column": 28 + }, + "end": { + "line": 71, + "column": 42 + } + }, + "left": { + "type": "MemberExpression", + "start": 2347, + "end": 2355, + "loc": { + "start": { + "line": 71, + "column": 28 + }, + "end": { + "line": 71, + "column": 36 + } + }, + "object": { + "type": "Identifier", + "start": 2347, + "end": 2352, + "loc": { + "start": { + "line": 71, + "column": 28 + }, + "end": { + "line": 71, + "column": 33 + }, + "identifierName": "limbs" + }, + "name": "limbs" + }, + "property": { + "type": "NumericLiteral", + "start": 2353, + "end": 2354, + "loc": { + "start": { + "line": 71, + "column": 34 + }, + "end": { + "line": 71, + "column": 35 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "computed": true + }, + "operator": "===", + "right": { + "type": "NumericLiteral", + "start": 2360, + "end": 2361, + "loc": { + "start": { + "line": 71, + "column": 41 + }, + "end": { + "line": 71, + "column": 42 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + }, + "consequent": { + "type": "ExpressionStatement", + "start": 2363, + "end": 2380, + "loc": { + "start": { + "line": 71, + "column": 44 + }, + "end": { + "line": 71, + "column": 61 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2363, + "end": 2378, + "loc": { + "start": { + "line": 71, + "column": 44 + }, + "end": { + "line": 71, + "column": 59 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 2363, + "end": 2374, + "loc": { + "start": { + "line": 71, + "column": 44 + }, + "end": { + "line": 71, + "column": 55 + }, + "identifierName": "is_negative" + }, + "name": "is_negative" + }, + "right": { + "type": "NumericLiteral", + "start": 2377, + "end": 2378, + "loc": { + "start": { + "line": 71, + "column": 58 + }, + "end": { + "line": 71, + "column": 59 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + }, + "alternate": null + }, + { + "type": "ReturnStatement", + "start": 2384, + "end": 2439, + "loc": { + "start": { + "line": 73, + "column": 2 + }, + "end": { + "line": 73, "column": 57 } }, "argument": { "type": "NewExpression", - "start": 2328, - "end": 2374, + "start": 2391, + "end": 2437, "loc": { "start": { - "line": 71, + "line": 73, "column": 9 }, "end": { - "line": 71, + "line": 73, "column": 55 } }, "callee": { "type": "Identifier", - "start": 2332, - "end": 2339, + "start": 2395, + "end": 2402, "loc": { "start": { - "line": 71, + "line": 73, "column": 13 }, "end": { - "line": 71, + "line": 73, "column": 20 }, "identifierName": "Integer" @@ -5295,44 +5570,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 2341, - "end": 2350, + "start": 2404, + "end": 2413, "loc": { "start": { - "line": 71, + "line": 73, "column": 22 }, "end": { - "line": 71, + "line": 73, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 2341, - "end": 2345, + "start": 2404, + "end": 2408, "loc": { "start": { - "line": 71, + "line": 73, "column": 22 }, "end": { - "line": 71, + "line": 73, "column": 26 } } }, "property": { "type": "Identifier", - "start": 2346, - "end": 2350, + "start": 2409, + "end": 2413, "loc": { "start": { - "line": 71, + "line": 73, "column": 27 }, "end": { - "line": 71, + "line": 73, "column": 31 }, "identifierName": "base" @@ -5343,15 +5618,15 @@ }, { "type": "Identifier", - "start": 2353, - "end": 2364, + "start": 2416, + "end": 2427, "loc": { "start": { - "line": 71, + "line": 73, "column": 34 }, "end": { - "line": 71, + "line": 73, "column": 45 }, "identifierName": "is_negative" @@ -5360,15 +5635,15 @@ }, { "type": "Identifier", - "start": 2367, - "end": 2372, + "start": 2430, + "end": 2435, "loc": { "start": { - "line": 71, + "line": 73, "column": 48 }, "end": { - "line": 71, + "line": 73, "column": 53 }, "identifierName": "limbs" @@ -5384,15 +5659,15 @@ }, { "type": "ClassMethod", - "start": 2383, - "end": 2585, + "start": 2446, + "end": 2648, "loc": { "start": { - "line": 75, + "line": 77, "column": 1 }, "end": { - "line": 81, + "line": 83, "column": 2 } }, @@ -5400,15 +5675,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2383, - "end": 2394, + "start": 2446, + "end": 2457, "loc": { "start": { - "line": 75, + "line": 77, "column": 1 }, "end": { - "line": 75, + "line": 77, "column": 12 }, "identifierName": "from_digits" @@ -5423,15 +5698,15 @@ "params": [ { "type": "Identifier", - "start": 2397, - "end": 2403, + "start": 2460, + "end": 2466, "loc": { "start": { - "line": 75, + "line": 77, "column": 15 }, "end": { - "line": 75, + "line": 77, "column": 21 }, "identifierName": "digits" @@ -5440,15 +5715,15 @@ }, { "type": "Identifier", - "start": 2406, - "end": 2410, + "start": 2469, + "end": 2473, "loc": { "start": { - "line": 75, + "line": 77, "column": 24 }, "end": { - "line": 75, + "line": 77, "column": 28 }, "identifierName": "base" @@ -5457,15 +5732,15 @@ }, { "type": "Identifier", - "start": 2413, - "end": 2424, + "start": 2476, + "end": 2487, "loc": { "start": { - "line": 75, + "line": 77, "column": 31 }, "end": { - "line": 75, + "line": 77, "column": 42 }, "identifierName": "is_negative" @@ -5475,59 +5750,59 @@ ], "body": { "type": "BlockStatement", - "start": 2427, - "end": 2585, + "start": 2490, + "end": 2648, "loc": { "start": { - "line": 75, + "line": 77, "column": 45 }, "end": { - "line": 81, + "line": 83, "column": 2 } }, "body": [ { "type": "VariableDeclaration", - "start": 2432, - "end": 2522, + "start": 2495, + "end": 2585, "loc": { "start": { - "line": 77, + "line": 79, "column": 2 }, "end": { - "line": 77, + "line": 79, "column": 92 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 2438, - "end": 2520, + "start": 2501, + "end": 2583, "loc": { "start": { - "line": 77, + "line": 79, "column": 8 }, "end": { - "line": 77, + "line": 79, "column": 90 } }, "id": { "type": "Identifier", - "start": 2438, - "end": 2443, + "start": 2501, + "end": 2506, "loc": { "start": { - "line": 77, + "line": 79, "column": 8 }, "end": { - "line": 77, + "line": 79, "column": 13 }, "identifierName": "limbs" @@ -5536,29 +5811,29 @@ }, "init": { "type": "CallExpression", - "start": 2446, - "end": 2520, + "start": 2509, + "end": 2583, "loc": { "start": { - "line": 77, + "line": 79, "column": 16 }, "end": { - "line": 77, + "line": 79, "column": 90 } }, "callee": { "type": "Identifier", - "start": 2446, - "end": 2453, + "start": 2509, + "end": 2516, "loc": { "start": { - "line": 77, + "line": 79, "column": 16 }, "end": { - "line": 77, + "line": 79, "column": 23 }, "identifierName": "convert" @@ -5568,15 +5843,15 @@ "arguments": [ { "type": "Identifier", - "start": 2455, - "end": 2459, + "start": 2518, + "end": 2522, "loc": { "start": { - "line": 77, + "line": 79, "column": 25 }, "end": { - "line": 77, + "line": 79, "column": 29 }, "identifierName": "base" @@ -5585,44 +5860,44 @@ }, { "type": "MemberExpression", - "start": 2462, - "end": 2471, + "start": 2525, + "end": 2534, "loc": { "start": { - "line": 77, + "line": 79, "column": 32 }, "end": { - "line": 77, + "line": 79, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 2462, - "end": 2466, + "start": 2525, + "end": 2529, "loc": { "start": { - "line": 77, + "line": 79, "column": 32 }, "end": { - "line": 77, + "line": 79, "column": 36 } } }, "property": { "type": "Identifier", - "start": 2467, - "end": 2471, + "start": 2530, + "end": 2534, "loc": { "start": { - "line": 77, + "line": 79, "column": 37 }, "end": { - "line": 77, + "line": 79, "column": 41 }, "identifierName": "base" @@ -5633,71 +5908,71 @@ }, { "type": "CallExpression", - "start": 2474, - "end": 2498, + "start": 2537, + "end": 2561, "loc": { "start": { - "line": 77, + "line": 79, "column": 44 }, "end": { - "line": 77, + "line": 79, "column": 68 } }, "callee": { "type": "MemberExpression", - "start": 2474, - "end": 2496, + "start": 2537, + "end": 2559, "loc": { "start": { - "line": 77, + "line": 79, "column": 44 }, "end": { - "line": 77, + "line": 79, "column": 66 } }, "object": { "type": "CallExpression", - "start": 2474, - "end": 2488, + "start": 2537, + "end": 2551, "loc": { "start": { - "line": 77, + "line": 79, "column": 44 }, "end": { - "line": 77, + "line": 79, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 2474, - "end": 2486, + "start": 2537, + "end": 2549, "loc": { "start": { - "line": 77, + "line": 79, "column": 44 }, "end": { - "line": 77, + "line": 79, "column": 56 } }, "object": { "type": "Identifier", - "start": 2474, - "end": 2480, + "start": 2537, + "end": 2543, "loc": { "start": { - "line": 77, + "line": 79, "column": 44 }, "end": { - "line": 77, + "line": 79, "column": 50 }, "identifierName": "digits" @@ -5706,15 +5981,15 @@ }, "property": { "type": "Identifier", - "start": 2481, - "end": 2486, + "start": 2544, + "end": 2549, "loc": { "start": { - "line": 77, + "line": 79, "column": 51 }, "end": { - "line": 77, + "line": 79, "column": 56 }, "identifierName": "slice" @@ -5727,15 +6002,15 @@ }, "property": { "type": "Identifier", - "start": 2489, - "end": 2496, + "start": 2552, + "end": 2559, "loc": { "start": { - "line": 77, + "line": 79, "column": 59 }, "end": { - "line": 77, + "line": 79, "column": 66 }, "identifierName": "reverse" @@ -5748,15 +6023,15 @@ }, { "type": "NumericLiteral", - "start": 2501, - "end": 2502, + "start": 2564, + "end": 2565, "loc": { "start": { - "line": 77, + "line": 79, "column": 71 }, "end": { - "line": 77, + "line": 79, "column": 72 } }, @@ -5768,29 +6043,29 @@ }, { "type": "MemberExpression", - "start": 2505, - "end": 2518, + "start": 2568, + "end": 2581, "loc": { "start": { - "line": 77, + "line": 79, "column": 75 }, "end": { - "line": 77, + "line": 79, "column": 88 } }, "object": { "type": "Identifier", - "start": 2505, - "end": 2511, + "start": 2568, + "end": 2574, "loc": { "start": { - "line": 77, + "line": 79, "column": 75 }, "end": { - "line": 77, + "line": 79, "column": 81 }, "identifierName": "digits" @@ -5799,15 +6074,15 @@ }, "property": { "type": "Identifier", - "start": 2512, - "end": 2518, + "start": 2575, + "end": 2581, "loc": { "start": { - "line": 77, + "line": 79, "column": 82 }, "end": { - "line": 77, + "line": 79, "column": 88 }, "identifierName": "length" @@ -5824,43 +6099,43 @@ }, { "type": "ReturnStatement", - "start": 2526, - "end": 2581, + "start": 2589, + "end": 2644, "loc": { "start": { - "line": 79, + "line": 81, "column": 2 }, "end": { - "line": 79, + "line": 81, "column": 57 } }, "argument": { "type": "NewExpression", - "start": 2533, - "end": 2579, + "start": 2596, + "end": 2642, "loc": { "start": { - "line": 79, + "line": 81, "column": 9 }, "end": { - "line": 79, + "line": 81, "column": 55 } }, "callee": { "type": "Identifier", - "start": 2537, - "end": 2544, + "start": 2600, + "end": 2607, "loc": { "start": { - "line": 79, + "line": 81, "column": 13 }, "end": { - "line": 79, + "line": 81, "column": 20 }, "identifierName": "Integer" @@ -5870,44 +6145,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 2546, - "end": 2555, + "start": 2609, + "end": 2618, "loc": { "start": { - "line": 79, + "line": 81, "column": 22 }, "end": { - "line": 79, + "line": 81, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 2546, - "end": 2550, + "start": 2609, + "end": 2613, "loc": { "start": { - "line": 79, + "line": 81, "column": 22 }, "end": { - "line": 79, + "line": 81, "column": 26 } } }, "property": { "type": "Identifier", - "start": 2551, - "end": 2555, + "start": 2614, + "end": 2618, "loc": { "start": { - "line": 79, + "line": 81, "column": 27 }, "end": { - "line": 79, + "line": 81, "column": 31 }, "identifierName": "base" @@ -5918,15 +6193,15 @@ }, { "type": "Identifier", - "start": 2558, - "end": 2569, + "start": 2621, + "end": 2632, "loc": { "start": { - "line": 79, + "line": 81, "column": 34 }, "end": { - "line": 79, + "line": 81, "column": 45 }, "identifierName": "is_negative" @@ -5935,15 +6210,15 @@ }, { "type": "Identifier", - "start": 2572, - "end": 2577, + "start": 2635, + "end": 2640, "loc": { "start": { - "line": 79, + "line": 81, "column": 48 }, "end": { - "line": 79, + "line": 81, "column": 53 }, "identifierName": "limbs" @@ -5959,15 +6234,15 @@ }, { "type": "ClassMethod", - "start": 2588, - "end": 2626, + "start": 2651, + "end": 2689, "loc": { "start": { - "line": 83, + "line": 85, "column": 1 }, "end": { - "line": 85, + "line": 87, "column": 2 } }, @@ -5975,15 +6250,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2588, - "end": 2596, + "start": 2651, + "end": 2659, "loc": { "start": { - "line": 83, + "line": 85, "column": 1 }, "end": { - "line": 83, + "line": 85, "column": 9 }, "identifierName": "toString" @@ -5998,73 +6273,73 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2601, - "end": 2626, + "start": 2664, + "end": 2689, "loc": { "start": { - "line": 83, + "line": 85, "column": 14 }, "end": { - "line": 85, + "line": 87, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 2605, - "end": 2623, + "start": 2668, + "end": 2686, "loc": { "start": { - "line": 84, + "line": 86, "column": 2 }, "end": { - "line": 84, + "line": 86, "column": 20 } }, "argument": { "type": "MemberExpression", - "start": 2612, - "end": 2621, + "start": 2675, + "end": 2684, "loc": { "start": { - "line": 84, + "line": 86, "column": 9 }, "end": { - "line": 84, + "line": 86, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 2612, - "end": 2616, + "start": 2675, + "end": 2679, "loc": { "start": { - "line": 84, + "line": 86, "column": 9 }, "end": { - "line": 84, + "line": 86, "column": 13 } } }, "property": { "type": "Identifier", - "start": 2617, - "end": 2621, + "start": 2680, + "end": 2684, "loc": { "start": { - "line": 84, + "line": 86, "column": 14 }, "end": { - "line": 84, + "line": 86, "column": 18 }, "identifierName": "name" @@ -6080,15 +6355,15 @@ }, { "type": "ClassMethod", - "start": 2629, - "end": 2736, + "start": 2692, + "end": 2799, "loc": { "start": { - "line": 87, + "line": 89, "column": 1 }, "end": { - "line": 90, + "line": 92, "column": 2 } }, @@ -6096,15 +6371,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2629, - "end": 2631, + "start": 2692, + "end": 2694, "loc": { "start": { - "line": 87, + "line": 89, "column": 1 }, "end": { - "line": 87, + "line": 89, "column": 3 }, "identifierName": "$0" @@ -6119,58 +6394,58 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2636, - "end": 2736, + "start": 2699, + "end": 2799, "loc": { "start": { - "line": 87, + "line": 89, "column": 8 }, "end": { - "line": 90, + "line": 92, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 2688, - "end": 2733, + "start": 2751, + "end": 2796, "loc": { "start": { - "line": 89, + "line": 91, "column": 2 }, "end": { - "line": 89, + "line": 91, "column": 47 } }, "argument": { "type": "NewExpression", - "start": 2695, - "end": 2731, + "start": 2758, + "end": 2794, "loc": { "start": { - "line": 89, + "line": 91, "column": 9 }, "end": { - "line": 89, + "line": 91, "column": 45 } }, "callee": { "type": "Identifier", - "start": 2699, - "end": 2706, + "start": 2762, + "end": 2769, "loc": { "start": { - "line": 89, + "line": 91, "column": 13 }, "end": { - "line": 89, + "line": 91, "column": 20 }, "identifierName": "Integer" @@ -6180,44 +6455,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 2708, - "end": 2717, + "start": 2771, + "end": 2780, "loc": { "start": { - "line": 89, + "line": 91, "column": 22 }, "end": { - "line": 89, + "line": 91, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 2708, - "end": 2712, + "start": 2771, + "end": 2775, "loc": { "start": { - "line": 89, + "line": 91, "column": 22 }, "end": { - "line": 89, + "line": 91, "column": 26 } } }, "property": { "type": "Identifier", - "start": 2713, - "end": 2717, + "start": 2776, + "end": 2780, "loc": { "start": { - "line": 89, + "line": 91, "column": 27 }, "end": { - "line": 89, + "line": 91, "column": 31 }, "identifierName": "base" @@ -6228,15 +6503,15 @@ }, { "type": "NumericLiteral", - "start": 2720, - "end": 2721, + "start": 2783, + "end": 2784, "loc": { "start": { - "line": 89, + "line": 91, "column": 34 }, "end": { - "line": 89, + "line": 91, "column": 35 } }, @@ -6248,30 +6523,30 @@ }, { "type": "ArrayExpression", - "start": 2724, - "end": 2729, + "start": 2787, + "end": 2792, "loc": { "start": { - "line": 89, + "line": 91, "column": 38 }, "end": { - "line": 89, + "line": 91, "column": 43 } }, "elements": [ { "type": "NumericLiteral", - "start": 2726, - "end": 2727, + "start": 2789, + "end": 2790, "loc": { "start": { - "line": 89, + "line": 91, "column": 40 }, "end": { - "line": 89, + "line": 91, "column": 41 } }, @@ -6290,15 +6565,15 @@ { "type": "CommentLine", "value": " TODO Could we use an empty array instead ?", - "start": 2640, - "end": 2685, + "start": 2703, + "end": 2748, "loc": { "start": { - "line": 88, + "line": 90, "column": 2 }, "end": { - "line": 88, + "line": 90, "column": 47 } } @@ -6311,15 +6586,15 @@ }, { "type": "ClassMethod", - "start": 2739, - "end": 2798, + "start": 2802, + "end": 2861, "loc": { "start": { - "line": 92, + "line": 94, "column": 1 }, "end": { - "line": 94, + "line": 96, "column": 2 } }, @@ -6327,15 +6602,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2739, - "end": 2741, + "start": 2802, + "end": 2804, "loc": { "start": { - "line": 92, + "line": 94, "column": 1 }, "end": { - "line": 92, + "line": 94, "column": 3 }, "identifierName": "$1" @@ -6350,58 +6625,58 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2746, - "end": 2798, + "start": 2809, + "end": 2861, "loc": { "start": { - "line": 92, + "line": 94, "column": 8 }, "end": { - "line": 94, + "line": 96, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 2750, - "end": 2795, + "start": 2813, + "end": 2858, "loc": { "start": { - "line": 93, + "line": 95, "column": 2 }, "end": { - "line": 93, + "line": 95, "column": 47 } }, "argument": { "type": "NewExpression", - "start": 2757, - "end": 2793, + "start": 2820, + "end": 2856, "loc": { "start": { - "line": 93, + "line": 95, "column": 9 }, "end": { - "line": 93, + "line": 95, "column": 45 } }, "callee": { "type": "Identifier", - "start": 2761, - "end": 2768, + "start": 2824, + "end": 2831, "loc": { "start": { - "line": 93, + "line": 95, "column": 13 }, "end": { - "line": 93, + "line": 95, "column": 20 }, "identifierName": "Integer" @@ -6411,44 +6686,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 2770, - "end": 2779, + "start": 2833, + "end": 2842, "loc": { "start": { - "line": 93, + "line": 95, "column": 22 }, "end": { - "line": 93, + "line": 95, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 2770, - "end": 2774, + "start": 2833, + "end": 2837, "loc": { "start": { - "line": 93, + "line": 95, "column": 22 }, "end": { - "line": 93, + "line": 95, "column": 26 } } }, "property": { "type": "Identifier", - "start": 2775, - "end": 2779, + "start": 2838, + "end": 2842, "loc": { "start": { - "line": 93, + "line": 95, "column": 27 }, "end": { - "line": 93, + "line": 95, "column": 31 }, "identifierName": "base" @@ -6459,15 +6734,15 @@ }, { "type": "NumericLiteral", - "start": 2782, - "end": 2783, + "start": 2845, + "end": 2846, "loc": { "start": { - "line": 93, + "line": 95, "column": 34 }, "end": { - "line": 93, + "line": 95, "column": 35 } }, @@ -6479,30 +6754,30 @@ }, { "type": "ArrayExpression", - "start": 2786, - "end": 2791, + "start": 2849, + "end": 2854, "loc": { "start": { - "line": 93, + "line": 95, "column": 38 }, "end": { - "line": 93, + "line": 95, "column": 43 } }, "elements": [ { "type": "NumericLiteral", - "start": 2788, - "end": 2789, + "start": 2851, + "end": 2852, "loc": { "start": { - "line": 93, + "line": 95, "column": 40 }, "end": { - "line": 93, + "line": 95, "column": 41 } }, @@ -6523,15 +6798,15 @@ }, { "type": "ClassMethod", - "start": 2801, - "end": 2862, + "start": 2864, + "end": 2925, "loc": { "start": { - "line": 96, + "line": 98, "column": 1 }, "end": { - "line": 98, + "line": 100, "column": 2 } }, @@ -6539,15 +6814,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2801, - "end": 2804, + "start": 2864, + "end": 2867, "loc": { "start": { - "line": 96, + "line": 98, "column": 1 }, "end": { - "line": 96, + "line": 98, "column": 4 }, "identifierName": "$_1" @@ -6562,58 +6837,58 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2809, - "end": 2862, + "start": 2872, + "end": 2925, "loc": { "start": { - "line": 96, + "line": 98, "column": 9 }, "end": { - "line": 98, + "line": 100, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 2813, - "end": 2859, + "start": 2876, + "end": 2922, "loc": { "start": { - "line": 97, + "line": 99, "column": 2 }, "end": { - "line": 97, + "line": 99, "column": 48 } }, "argument": { "type": "NewExpression", - "start": 2820, - "end": 2857, + "start": 2883, + "end": 2920, "loc": { "start": { - "line": 97, + "line": 99, "column": 9 }, "end": { - "line": 97, + "line": 99, "column": 46 } }, "callee": { "type": "Identifier", - "start": 2824, - "end": 2831, + "start": 2887, + "end": 2894, "loc": { "start": { - "line": 97, + "line": 99, "column": 13 }, "end": { - "line": 97, + "line": 99, "column": 20 }, "identifierName": "Integer" @@ -6623,44 +6898,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 2833, - "end": 2842, + "start": 2896, + "end": 2905, "loc": { "start": { - "line": 97, + "line": 99, "column": 22 }, "end": { - "line": 97, + "line": 99, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 2833, - "end": 2837, + "start": 2896, + "end": 2900, "loc": { "start": { - "line": 97, + "line": 99, "column": 22 }, "end": { - "line": 97, + "line": 99, "column": 26 } } }, "property": { "type": "Identifier", - "start": 2838, - "end": 2842, + "start": 2901, + "end": 2905, "loc": { "start": { - "line": 97, + "line": 99, "column": 27 }, "end": { - "line": 97, + "line": 99, "column": 31 }, "identifierName": "base" @@ -6671,15 +6946,15 @@ }, { "type": "UnaryExpression", - "start": 2845, - "end": 2847, + "start": 2908, + "end": 2910, "loc": { "start": { - "line": 97, + "line": 99, "column": 34 }, "end": { - "line": 97, + "line": 99, "column": 36 } }, @@ -6687,15 +6962,15 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 2846, - "end": 2847, + "start": 2909, + "end": 2910, "loc": { "start": { - "line": 97, + "line": 99, "column": 35 }, "end": { - "line": 97, + "line": 99, "column": 36 } }, @@ -6711,30 +6986,30 @@ }, { "type": "ArrayExpression", - "start": 2850, - "end": 2855, + "start": 2913, + "end": 2918, "loc": { "start": { - "line": 97, + "line": 99, "column": 39 }, "end": { - "line": 97, + "line": 99, "column": 44 } }, "elements": [ { "type": "NumericLiteral", - "start": 2852, - "end": 2853, + "start": 2915, + "end": 2916, "loc": { "start": { - "line": 97, + "line": 99, "column": 41 }, "end": { - "line": 97, + "line": 99, "column": 42 } }, @@ -6755,15 +7030,15 @@ }, { "type": "ClassMethod", - "start": 2865, - "end": 2954, + "start": 2928, + "end": 3017, "loc": { "start": { - "line": 100, + "line": 102, "column": 1 }, "end": { - "line": 103, + "line": 105, "column": 2 } }, @@ -6771,15 +7046,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2865, - "end": 2868, + "start": 2928, + "end": 2931, "loc": { "start": { - "line": 100, + "line": 102, "column": 1 }, "end": { - "line": 100, + "line": 102, "column": 4 }, "identifierName": "has" @@ -6794,15 +7069,15 @@ "params": [ { "type": "Identifier", - "start": 2871, - "end": 2872, + "start": 2934, + "end": 2935, "loc": { "start": { - "line": 100, + "line": 102, "column": 7 }, "end": { - "line": 100, + "line": 102, "column": 8 }, "identifierName": "x" @@ -6812,58 +7087,58 @@ ], "body": { "type": "BlockStatement", - "start": 2875, - "end": 2954, + "start": 2938, + "end": 3017, "loc": { "start": { - "line": 100, + "line": 102, "column": 11 }, "end": { - "line": 103, + "line": 105, "column": 2 } }, "body": [ { "type": "IfStatement", - "start": 2879, - "end": 2920, + "start": 2942, + "end": 2983, "loc": { "start": { - "line": 101, + "line": 103, "column": 2 }, "end": { - "line": 101, + "line": 103, "column": 43 } }, "test": { "type": "BinaryExpression", - "start": 2884, - "end": 2904, + "start": 2947, + "end": 2967, "loc": { "start": { - "line": 101, + "line": 103, "column": 7 }, "end": { - "line": 101, + "line": 103, "column": 27 } }, "left": { "type": "Identifier", - "start": 2884, - "end": 2885, + "start": 2947, + "end": 2948, "loc": { "start": { - "line": 101, + "line": 103, "column": 7 }, "end": { - "line": 101, + "line": 103, "column": 8 }, "identifierName": "x" @@ -6873,15 +7148,15 @@ "operator": "instanceof", "right": { "type": "Identifier", - "start": 2897, - "end": 2904, + "start": 2960, + "end": 2967, "loc": { "start": { - "line": 101, + "line": 103, "column": 20 }, "end": { - "line": 101, + "line": 103, "column": 27 }, "identifierName": "Integer" @@ -6891,29 +7166,29 @@ }, "consequent": { "type": "ReturnStatement", - "start": 2907, - "end": 2920, + "start": 2970, + "end": 2983, "loc": { "start": { - "line": 101, + "line": 103, "column": 30 }, "end": { - "line": 101, + "line": 103, "column": 43 } }, "argument": { "type": "BooleanLiteral", - "start": 2914, - "end": 2918, + "start": 2977, + "end": 2981, "loc": { "start": { - "line": 101, + "line": 103, "column": 37 }, "end": { - "line": 101, + "line": 103, "column": 41 } }, @@ -6924,57 +7199,57 @@ }, { "type": "ReturnStatement", - "start": 2923, - "end": 2951, + "start": 2986, + "end": 3014, "loc": { "start": { - "line": 102, + "line": 104, "column": 2 }, "end": { - "line": 102, + "line": 104, "column": 30 } }, "argument": { "type": "CallExpression", - "start": 2930, - "end": 2949, + "start": 2993, + "end": 3012, "loc": { "start": { - "line": 102, + "line": 104, "column": 9 }, "end": { - "line": 102, + "line": 104, "column": 28 } }, "callee": { "type": "MemberExpression", - "start": 2930, - "end": 2946, + "start": 2993, + "end": 3009, "loc": { "start": { - "line": 102, + "line": 104, "column": 9 }, "end": { - "line": 102, + "line": 104, "column": 25 } }, "object": { "type": "Identifier", - "start": 2930, - "end": 2936, + "start": 2993, + "end": 2999, "loc": { "start": { - "line": 102, + "line": 104, "column": 9 }, "end": { - "line": 102, + "line": 104, "column": 15 }, "identifierName": "Number" @@ -6983,15 +7258,15 @@ }, "property": { "type": "Identifier", - "start": 2937, - "end": 2946, + "start": 3000, + "end": 3009, "loc": { "start": { - "line": 102, + "line": 104, "column": 16 }, "end": { - "line": 102, + "line": 104, "column": 25 }, "identifierName": "isInteger" @@ -7003,15 +7278,15 @@ "arguments": [ { "type": "Identifier", - "start": 2947, - "end": 2948, + "start": 3010, + "end": 3011, "loc": { "start": { - "line": 102, + "line": 104, "column": 26 }, "end": { - "line": 102, + "line": 104, "column": 27 }, "identifierName": "x" @@ -7027,15 +7302,15 @@ }, { "type": "ClassMethod", - "start": 2957, - "end": 3002, + "start": 3020, + "end": 3065, "loc": { "start": { - "line": 105, + "line": 107, "column": 1 }, "end": { - "line": 107, + "line": 109, "column": 2 } }, @@ -7043,15 +7318,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2957, - "end": 2960, + "start": 3020, + "end": 3023, "loc": { "start": { - "line": 105, + "line": 107, "column": 1 }, "end": { - "line": 105, + "line": 107, "column": 4 }, "identifierName": "min" @@ -7066,15 +7341,15 @@ "params": [ { "type": "Identifier", - "start": 2963, - "end": 2964, + "start": 3026, + "end": 3027, "loc": { "start": { - "line": 105, + "line": 107, "column": 7 }, "end": { - "line": 105, + "line": 107, "column": 8 }, "identifierName": "a" @@ -7083,15 +7358,15 @@ }, { "type": "Identifier", - "start": 2967, - "end": 2968, + "start": 3030, + "end": 3031, "loc": { "start": { - "line": 105, + "line": 107, "column": 11 }, "end": { - "line": 105, + "line": 107, "column": 12 }, "identifierName": "b" @@ -7101,86 +7376,86 @@ ], "body": { "type": "BlockStatement", - "start": 2971, - "end": 3002, + "start": 3034, + "end": 3065, "loc": { "start": { - "line": 105, + "line": 107, "column": 15 }, "end": { - "line": 107, + "line": 109, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 2975, - "end": 2999, + "start": 3038, + "end": 3062, "loc": { "start": { - "line": 106, + "line": 108, "column": 2 }, "end": { - "line": 106, + "line": 108, "column": 26 } }, "argument": { "type": "ConditionalExpression", - "start": 2982, - "end": 2997, + "start": 3045, + "end": 3060, "loc": { "start": { - "line": 106, + "line": 108, "column": 9 }, "end": { - "line": 106, + "line": 108, "column": 24 } }, "test": { "type": "CallExpression", - "start": 2982, - "end": 2989, + "start": 3045, + "end": 3052, "loc": { "start": { - "line": 106, + "line": 108, "column": 9 }, "end": { - "line": 106, + "line": 108, "column": 16 } }, "callee": { "type": "MemberExpression", - "start": 2982, - "end": 2986, + "start": 3045, + "end": 3049, "loc": { "start": { - "line": 106, + "line": 108, "column": 9 }, "end": { - "line": 106, + "line": 108, "column": 13 } }, "object": { "type": "Identifier", - "start": 2982, - "end": 2983, + "start": 3045, + "end": 3046, "loc": { "start": { - "line": 106, + "line": 108, "column": 9 }, "end": { - "line": 106, + "line": 108, "column": 10 }, "identifierName": "a" @@ -7189,15 +7464,15 @@ }, "property": { "type": "Identifier", - "start": 2984, - "end": 2986, + "start": 3047, + "end": 3049, "loc": { "start": { - "line": 106, + "line": 108, "column": 11 }, "end": { - "line": 106, + "line": 108, "column": 13 }, "identifierName": "le" @@ -7209,15 +7484,15 @@ "arguments": [ { "type": "Identifier", - "start": 2987, - "end": 2988, + "start": 3050, + "end": 3051, "loc": { "start": { - "line": 106, + "line": 108, "column": 14 }, "end": { - "line": 106, + "line": 108, "column": 15 }, "identifierName": "b" @@ -7228,15 +7503,15 @@ }, "consequent": { "type": "Identifier", - "start": 2992, - "end": 2993, + "start": 3055, + "end": 3056, "loc": { "start": { - "line": 106, + "line": 108, "column": 19 }, "end": { - "line": 106, + "line": 108, "column": 20 }, "identifierName": "a" @@ -7245,15 +7520,15 @@ }, "alternate": { "type": "Identifier", - "start": 2996, - "end": 2997, + "start": 3059, + "end": 3060, "loc": { "start": { - "line": 106, + "line": 108, "column": 23 }, "end": { - "line": 106, + "line": 108, "column": 24 }, "identifierName": "b" @@ -7268,15 +7543,15 @@ }, { "type": "ClassMethod", - "start": 3005, - "end": 3050, + "start": 3068, + "end": 3113, "loc": { "start": { - "line": 109, + "line": 111, "column": 1 }, "end": { - "line": 111, + "line": 113, "column": 2 } }, @@ -7284,15 +7559,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3005, - "end": 3008, + "start": 3068, + "end": 3071, "loc": { "start": { - "line": 109, + "line": 111, "column": 1 }, "end": { - "line": 109, + "line": 111, "column": 4 }, "identifierName": "max" @@ -7307,15 +7582,15 @@ "params": [ { "type": "Identifier", - "start": 3011, - "end": 3012, + "start": 3074, + "end": 3075, "loc": { "start": { - "line": 109, + "line": 111, "column": 7 }, "end": { - "line": 109, + "line": 111, "column": 8 }, "identifierName": "a" @@ -7324,15 +7599,15 @@ }, { "type": "Identifier", - "start": 3015, - "end": 3016, + "start": 3078, + "end": 3079, "loc": { "start": { - "line": 109, + "line": 111, "column": 11 }, "end": { - "line": 109, + "line": 111, "column": 12 }, "identifierName": "b" @@ -7342,86 +7617,86 @@ ], "body": { "type": "BlockStatement", - "start": 3019, - "end": 3050, + "start": 3082, + "end": 3113, "loc": { "start": { - "line": 109, + "line": 111, "column": 15 }, "end": { - "line": 111, + "line": 113, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 3023, - "end": 3047, + "start": 3086, + "end": 3110, "loc": { "start": { - "line": 110, + "line": 112, "column": 2 }, "end": { - "line": 110, + "line": 112, "column": 26 } }, "argument": { "type": "ConditionalExpression", - "start": 3030, - "end": 3045, + "start": 3093, + "end": 3108, "loc": { "start": { - "line": 110, + "line": 112, "column": 9 }, "end": { - "line": 110, + "line": 112, "column": 24 } }, "test": { "type": "CallExpression", - "start": 3030, - "end": 3037, + "start": 3093, + "end": 3100, "loc": { "start": { - "line": 110, + "line": 112, "column": 9 }, "end": { - "line": 110, + "line": 112, "column": 16 } }, "callee": { "type": "MemberExpression", - "start": 3030, - "end": 3034, + "start": 3093, + "end": 3097, "loc": { "start": { - "line": 110, + "line": 112, "column": 9 }, "end": { - "line": 110, + "line": 112, "column": 13 } }, "object": { "type": "Identifier", - "start": 3030, - "end": 3031, + "start": 3093, + "end": 3094, "loc": { "start": { - "line": 110, + "line": 112, "column": 9 }, "end": { - "line": 110, + "line": 112, "column": 10 }, "identifierName": "a" @@ -7430,15 +7705,15 @@ }, "property": { "type": "Identifier", - "start": 3032, - "end": 3034, + "start": 3095, + "end": 3097, "loc": { "start": { - "line": 110, + "line": 112, "column": 11 }, "end": { - "line": 110, + "line": 112, "column": 13 }, "identifierName": "ge" @@ -7450,15 +7725,15 @@ "arguments": [ { "type": "Identifier", - "start": 3035, - "end": 3036, + "start": 3098, + "end": 3099, "loc": { "start": { - "line": 110, + "line": 112, "column": 14 }, "end": { - "line": 110, + "line": 112, "column": 15 }, "identifierName": "b" @@ -7469,15 +7744,15 @@ }, "consequent": { "type": "Identifier", - "start": 3040, - "end": 3041, + "start": 3103, + "end": 3104, "loc": { "start": { - "line": 110, + "line": 112, "column": 19 }, "end": { - "line": 110, + "line": 112, "column": 20 }, "identifierName": "a" @@ -7486,15 +7761,15 @@ }, "alternate": { "type": "Identifier", - "start": 3044, - "end": 3045, + "start": 3107, + "end": 3108, "loc": { "start": { - "line": 110, + "line": 112, "column": 23 }, "end": { - "line": 110, + "line": 112, "column": 24 }, "identifierName": "b" @@ -7520,15 +7795,15 @@ { "type": "CommentLine", "value": " TODO Could we use an empty array instead ?", - "start": 2640, - "end": 2685, + "start": 2703, + "end": 2748, "loc": { "start": { - "line": 88, + "line": 90, "column": 2 }, "end": { - "line": 88, + "line": 90, "column": 47 } } @@ -18718,9 +18993,9 @@ }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -18730,9 +19005,9 @@ "binop": null, "updateContext": null }, - "value": "return", + "value": "if", "start": 2321, - "end": 2327, + "end": 2323, "loc": { "start": { "line": 71, @@ -18740,14 +19015,13 @@ }, "end": { "line": 71, - "column": 8 + "column": 4 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -18755,20 +19029,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 2328, - "end": 2331, + "start": 2324, + "end": 2325, "loc": { "start": { "line": 71, - "column": 9 + "column": 5 }, "end": { "line": 71, - "column": 12 + "column": 6 } } }, @@ -18784,49 +19056,49 @@ "postfix": false, "binop": null }, - "value": "Integer", - "start": 2332, - "end": 2339, + "value": "limbs", + "start": 2325, + "end": 2330, "loc": { "start": { "line": 71, - "column": 13 + "column": 6 }, "end": { "line": 71, - "column": 20 + "column": 11 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2339, - "end": 2340, + "start": 2330, + "end": 2331, "loc": { "start": { "line": 71, - "column": 20 + "column": 11 }, "end": { "line": 71, - "column": 21 + "column": 12 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -18834,52 +19106,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 2341, - "end": 2345, + "value": "length", + "start": 2331, + "end": 2337, "loc": { "start": { "line": 71, - "column": 22 + "column": 12 }, "end": { "line": 71, - "column": 26 + "column": 18 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "==/!=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 2345, - "end": 2346, + "value": "===", + "start": 2338, + "end": 2341, "loc": { "start": { "line": 71, - "column": 26 + "column": 19 }, "end": { "line": 71, - "column": 27 + "column": 22 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -18887,25 +19159,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "base", - "start": 2346, - "end": 2350, + "value": 1, + "start": 2342, + "end": 2343, "loc": { "start": { "line": 71, - "column": 27 + "column": 23 }, "end": { "line": 71, - "column": 31 + "column": 24 } } }, { "type": { - "label": ",", + "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -18913,19 +19186,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 2, "updateContext": null }, - "start": 2351, - "end": 2352, + "value": "&&", + "start": 2344, + "end": 2346, "loc": { "start": { "line": 71, - "column": 32 + "column": 25 }, "end": { "line": 71, - "column": 33 + "column": 27 } } }, @@ -18941,25 +19215,25 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 2353, - "end": 2364, + "value": "limbs", + "start": 2347, + "end": 2352, "loc": { "start": { "line": 71, - "column": 34 + "column": 28 }, "end": { "line": 71, - "column": 45 + "column": 33 } } }, { "type": { - "label": ",", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18968,22 +19242,22 @@ "binop": null, "updateContext": null }, - "start": 2365, - "end": 2366, + "start": 2352, + "end": 2353, "loc": { "start": { "line": 71, - "column": 46 + "column": 33 }, "end": { "line": 71, - "column": 47 + "column": 34 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -18991,25 +19265,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "limbs", - "start": 2367, - "end": 2372, + "value": 0, + "start": 2353, + "end": 2354, "loc": { "start": { "line": 71, - "column": 48 + "column": 34 }, "end": { "line": 71, - "column": 53 + "column": 35 } } }, { "type": { - "label": ")", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -19017,24 +19292,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2373, - "end": 2374, + "start": 2354, + "end": 2355, "loc": { "start": { "line": 71, - "column": 54 + "column": 35 }, "end": { "line": 71, - "column": 55 + "column": 36 } } }, { "type": { - "label": ";", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -19042,52 +19318,55 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 2375, - "end": 2376, + "value": "===", + "start": 2356, + "end": 2359, "loc": { "start": { "line": 71, - "column": 56 + "column": 37 }, "end": { "line": 71, - "column": 57 + "column": 40 } } }, { "type": { - "label": "}", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2379, - "end": 2380, + "value": 0, + "start": 2360, + "end": 2361, "loc": { "start": { - "line": 73, - "column": 1 + "line": 71, + "column": 41 }, "end": { - "line": 73, - "column": 2 + "line": 71, + "column": 42 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19095,16 +19374,514 @@ "postfix": false, "binop": null }, - "value": "from_digits", - "start": 2383, - "end": 2394, + "start": 2361, + "end": 2362, "loc": { "start": { - "line": 75, - "column": 1 - }, + "line": 71, + "column": 42 + }, + "end": { + "line": 71, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 2363, + "end": 2374, + "loc": { + "start": { + "line": 71, + "column": 44 + }, + "end": { + "line": 71, + "column": 55 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2375, + "end": 2376, + "loc": { + "start": { + "line": 71, + "column": 56 + }, + "end": { + "line": 71, + "column": 57 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 2377, + "end": 2378, + "loc": { + "start": { + "line": 71, + "column": 58 + }, + "end": { + "line": 71, + "column": 59 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2379, + "end": 2380, + "loc": { + "start": { + "line": 71, + "column": 60 + }, + "end": { + "line": 71, + "column": 61 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 2384, + "end": 2390, + "loc": { + "start": { + "line": 73, + "column": 2 + }, + "end": { + "line": 73, + "column": 8 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 2391, + "end": 2394, + "loc": { + "start": { + "line": 73, + "column": 9 + }, + "end": { + "line": 73, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Integer", + "start": 2395, + "end": 2402, + "loc": { + "start": { + "line": 73, + "column": 13 + }, + "end": { + "line": 73, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2402, + "end": 2403, + "loc": { + "start": { + "line": 73, + "column": 20 + }, + "end": { + "line": 73, + "column": 21 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2404, + "end": 2408, + "loc": { + "start": { + "line": 73, + "column": 22 + }, + "end": { + "line": 73, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2408, + "end": 2409, + "loc": { + "start": { + "line": 73, + "column": 26 + }, + "end": { + "line": 73, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 2409, + "end": 2413, + "loc": { + "start": { + "line": 73, + "column": 27 + }, + "end": { + "line": 73, + "column": 31 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2414, + "end": 2415, + "loc": { + "start": { + "line": 73, + "column": 32 + }, + "end": { + "line": 73, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 2416, + "end": 2427, + "loc": { + "start": { + "line": 73, + "column": 34 + }, + "end": { + "line": 73, + "column": 45 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2428, + "end": 2429, + "loc": { + "start": { + "line": 73, + "column": 46 + }, + "end": { + "line": 73, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 2430, + "end": 2435, + "loc": { + "start": { + "line": 73, + "column": 48 + }, + "end": { + "line": 73, + "column": 53 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2436, + "end": 2437, + "loc": { + "start": { + "line": 73, + "column": 54 + }, + "end": { + "line": 73, + "column": 55 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2438, + "end": 2439, + "loc": { + "start": { + "line": 73, + "column": 56 + }, + "end": { + "line": 73, + "column": 57 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2442, + "end": 2443, + "loc": { + "start": { + "line": 75, + "column": 1 + }, "end": { "line": 75, + "column": 2 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from_digits", + "start": 2446, + "end": 2457, + "loc": { + "start": { + "line": 77, + "column": 1 + }, + "end": { + "line": 77, "column": 12 } } @@ -19121,15 +19898,15 @@ "postfix": false, "binop": null }, - "start": 2395, - "end": 2396, + "start": 2458, + "end": 2459, "loc": { "start": { - "line": 75, + "line": 77, "column": 13 }, "end": { - "line": 75, + "line": 77, "column": 14 } } @@ -19147,15 +19924,15 @@ "binop": null }, "value": "digits", - "start": 2397, - "end": 2403, + "start": 2460, + "end": 2466, "loc": { "start": { - "line": 75, + "line": 77, "column": 15 }, "end": { - "line": 75, + "line": 77, "column": 21 } } @@ -19173,15 +19950,15 @@ "binop": null, "updateContext": null }, - "start": 2404, - "end": 2405, + "start": 2467, + "end": 2468, "loc": { "start": { - "line": 75, + "line": 77, "column": 22 }, "end": { - "line": 75, + "line": 77, "column": 23 } } @@ -19199,15 +19976,15 @@ "binop": null }, "value": "base", - "start": 2406, - "end": 2410, + "start": 2469, + "end": 2473, "loc": { "start": { - "line": 75, + "line": 77, "column": 24 }, "end": { - "line": 75, + "line": 77, "column": 28 } } @@ -19225,15 +20002,15 @@ "binop": null, "updateContext": null }, - "start": 2411, - "end": 2412, + "start": 2474, + "end": 2475, "loc": { "start": { - "line": 75, + "line": 77, "column": 29 }, "end": { - "line": 75, + "line": 77, "column": 30 } } @@ -19251,15 +20028,15 @@ "binop": null }, "value": "is_negative", - "start": 2413, - "end": 2424, + "start": 2476, + "end": 2487, "loc": { "start": { - "line": 75, + "line": 77, "column": 31 }, "end": { - "line": 75, + "line": 77, "column": 42 } } @@ -19276,15 +20053,15 @@ "postfix": false, "binop": null }, - "start": 2425, - "end": 2426, + "start": 2488, + "end": 2489, "loc": { "start": { - "line": 75, + "line": 77, "column": 43 }, "end": { - "line": 75, + "line": 77, "column": 44 } } @@ -19301,15 +20078,15 @@ "postfix": false, "binop": null }, - "start": 2427, - "end": 2428, + "start": 2490, + "end": 2491, "loc": { "start": { - "line": 75, + "line": 77, "column": 45 }, "end": { - "line": 75, + "line": 77, "column": 46 } } @@ -19329,15 +20106,15 @@ "updateContext": null }, "value": "const", - "start": 2432, - "end": 2437, + "start": 2495, + "end": 2500, "loc": { "start": { - "line": 77, + "line": 79, "column": 2 }, "end": { - "line": 77, + "line": 79, "column": 7 } } @@ -19355,15 +20132,15 @@ "binop": null }, "value": "limbs", - "start": 2438, - "end": 2443, + "start": 2501, + "end": 2506, "loc": { "start": { - "line": 77, + "line": 79, "column": 8 }, "end": { - "line": 77, + "line": 79, "column": 13 } } @@ -19382,15 +20159,15 @@ "updateContext": null }, "value": "=", - "start": 2444, - "end": 2445, + "start": 2507, + "end": 2508, "loc": { "start": { - "line": 77, + "line": 79, "column": 14 }, "end": { - "line": 77, + "line": 79, "column": 15 } } @@ -19408,15 +20185,15 @@ "binop": null }, "value": "convert", - "start": 2446, - "end": 2453, + "start": 2509, + "end": 2516, "loc": { "start": { - "line": 77, + "line": 79, "column": 16 }, "end": { - "line": 77, + "line": 79, "column": 23 } } @@ -19433,15 +20210,15 @@ "postfix": false, "binop": null }, - "start": 2453, - "end": 2454, + "start": 2516, + "end": 2517, "loc": { "start": { - "line": 77, + "line": 79, "column": 23 }, "end": { - "line": 77, + "line": 79, "column": 24 } } @@ -19459,15 +20236,15 @@ "binop": null }, "value": "base", - "start": 2455, - "end": 2459, + "start": 2518, + "end": 2522, "loc": { "start": { - "line": 77, + "line": 79, "column": 25 }, "end": { - "line": 77, + "line": 79, "column": 29 } } @@ -19485,15 +20262,15 @@ "binop": null, "updateContext": null }, - "start": 2460, - "end": 2461, + "start": 2523, + "end": 2524, "loc": { "start": { - "line": 77, + "line": 79, "column": 30 }, "end": { - "line": 77, + "line": 79, "column": 31 } } @@ -19513,15 +20290,15 @@ "updateContext": null }, "value": "this", - "start": 2462, - "end": 2466, + "start": 2525, + "end": 2529, "loc": { "start": { - "line": 77, + "line": 79, "column": 32 }, "end": { - "line": 77, + "line": 79, "column": 36 } } @@ -19539,15 +20316,15 @@ "binop": null, "updateContext": null }, - "start": 2466, - "end": 2467, + "start": 2529, + "end": 2530, "loc": { "start": { - "line": 77, + "line": 79, "column": 36 }, "end": { - "line": 77, + "line": 79, "column": 37 } } @@ -19565,15 +20342,15 @@ "binop": null }, "value": "base", - "start": 2467, - "end": 2471, + "start": 2530, + "end": 2534, "loc": { "start": { - "line": 77, + "line": 79, "column": 37 }, "end": { - "line": 77, + "line": 79, "column": 41 } } @@ -19591,15 +20368,15 @@ "binop": null, "updateContext": null }, - "start": 2472, - "end": 2473, + "start": 2535, + "end": 2536, "loc": { "start": { - "line": 77, + "line": 79, "column": 42 }, "end": { - "line": 77, + "line": 79, "column": 43 } } @@ -19617,15 +20394,15 @@ "binop": null }, "value": "digits", - "start": 2474, - "end": 2480, + "start": 2537, + "end": 2543, "loc": { "start": { - "line": 77, + "line": 79, "column": 44 }, "end": { - "line": 77, + "line": 79, "column": 50 } } @@ -19643,15 +20420,15 @@ "binop": null, "updateContext": null }, - "start": 2480, - "end": 2481, + "start": 2543, + "end": 2544, "loc": { "start": { - "line": 77, + "line": 79, "column": 50 }, "end": { - "line": 77, + "line": 79, "column": 51 } } @@ -19669,15 +20446,15 @@ "binop": null }, "value": "slice", - "start": 2481, - "end": 2486, + "start": 2544, + "end": 2549, "loc": { "start": { - "line": 77, + "line": 79, "column": 51 }, "end": { - "line": 77, + "line": 79, "column": 56 } } @@ -19694,15 +20471,15 @@ "postfix": false, "binop": null }, - "start": 2486, - "end": 2487, + "start": 2549, + "end": 2550, "loc": { "start": { - "line": 77, + "line": 79, "column": 56 }, "end": { - "line": 77, + "line": 79, "column": 57 } } @@ -19719,15 +20496,15 @@ "postfix": false, "binop": null }, - "start": 2487, - "end": 2488, + "start": 2550, + "end": 2551, "loc": { "start": { - "line": 77, + "line": 79, "column": 57 }, "end": { - "line": 77, + "line": 79, "column": 58 } } @@ -19745,15 +20522,15 @@ "binop": null, "updateContext": null }, - "start": 2488, - "end": 2489, + "start": 2551, + "end": 2552, "loc": { "start": { - "line": 77, + "line": 79, "column": 58 }, "end": { - "line": 77, + "line": 79, "column": 59 } } @@ -19771,15 +20548,15 @@ "binop": null }, "value": "reverse", - "start": 2489, - "end": 2496, + "start": 2552, + "end": 2559, "loc": { "start": { - "line": 77, + "line": 79, "column": 59 }, "end": { - "line": 77, + "line": 79, "column": 66 } } @@ -19796,15 +20573,15 @@ "postfix": false, "binop": null }, - "start": 2496, - "end": 2497, + "start": 2559, + "end": 2560, "loc": { "start": { - "line": 77, + "line": 79, "column": 66 }, "end": { - "line": 77, + "line": 79, "column": 67 } } @@ -19821,15 +20598,15 @@ "postfix": false, "binop": null }, - "start": 2497, - "end": 2498, + "start": 2560, + "end": 2561, "loc": { "start": { - "line": 77, + "line": 79, "column": 67 }, "end": { - "line": 77, + "line": 79, "column": 68 } } @@ -19847,15 +20624,15 @@ "binop": null, "updateContext": null }, - "start": 2499, - "end": 2500, + "start": 2562, + "end": 2563, "loc": { "start": { - "line": 77, + "line": 79, "column": 69 }, "end": { - "line": 77, + "line": 79, "column": 70 } } @@ -19874,15 +20651,15 @@ "updateContext": null }, "value": 0, - "start": 2501, - "end": 2502, + "start": 2564, + "end": 2565, "loc": { "start": { - "line": 77, + "line": 79, "column": 71 }, "end": { - "line": 77, + "line": 79, "column": 72 } } @@ -19900,15 +20677,15 @@ "binop": null, "updateContext": null }, - "start": 2503, - "end": 2504, + "start": 2566, + "end": 2567, "loc": { "start": { - "line": 77, + "line": 79, "column": 73 }, "end": { - "line": 77, + "line": 79, "column": 74 } } @@ -19926,15 +20703,15 @@ "binop": null }, "value": "digits", - "start": 2505, - "end": 2511, + "start": 2568, + "end": 2574, "loc": { "start": { - "line": 77, + "line": 79, "column": 75 }, "end": { - "line": 77, + "line": 79, "column": 81 } } @@ -19952,15 +20729,15 @@ "binop": null, "updateContext": null }, - "start": 2511, - "end": 2512, + "start": 2574, + "end": 2575, "loc": { "start": { - "line": 77, + "line": 79, "column": 81 }, "end": { - "line": 77, + "line": 79, "column": 82 } } @@ -19978,15 +20755,15 @@ "binop": null }, "value": "length", - "start": 2512, - "end": 2518, + "start": 2575, + "end": 2581, "loc": { "start": { - "line": 77, + "line": 79, "column": 82 }, "end": { - "line": 77, + "line": 79, "column": 88 } } @@ -20003,15 +20780,15 @@ "postfix": false, "binop": null }, - "start": 2519, - "end": 2520, + "start": 2582, + "end": 2583, "loc": { "start": { - "line": 77, + "line": 79, "column": 89 }, "end": { - "line": 77, + "line": 79, "column": 90 } } @@ -20029,15 +20806,15 @@ "binop": null, "updateContext": null }, - "start": 2521, - "end": 2522, + "start": 2584, + "end": 2585, "loc": { "start": { - "line": 77, + "line": 79, "column": 91 }, "end": { - "line": 77, + "line": 79, "column": 92 } } @@ -20057,15 +20834,15 @@ "updateContext": null }, "value": "return", - "start": 2526, - "end": 2532, + "start": 2589, + "end": 2595, "loc": { "start": { - "line": 79, + "line": 81, "column": 2 }, "end": { - "line": 79, + "line": 81, "column": 8 } } @@ -20085,15 +20862,15 @@ "updateContext": null }, "value": "new", - "start": 2533, - "end": 2536, + "start": 2596, + "end": 2599, "loc": { "start": { - "line": 79, + "line": 81, "column": 9 }, "end": { - "line": 79, + "line": 81, "column": 12 } } @@ -20111,15 +20888,15 @@ "binop": null }, "value": "Integer", - "start": 2537, - "end": 2544, + "start": 2600, + "end": 2607, "loc": { "start": { - "line": 79, + "line": 81, "column": 13 }, "end": { - "line": 79, + "line": 81, "column": 20 } } @@ -20136,15 +20913,15 @@ "postfix": false, "binop": null }, - "start": 2544, - "end": 2545, + "start": 2607, + "end": 2608, "loc": { "start": { - "line": 79, + "line": 81, "column": 20 }, "end": { - "line": 79, + "line": 81, "column": 21 } } @@ -20164,15 +20941,15 @@ "updateContext": null }, "value": "this", - "start": 2546, - "end": 2550, + "start": 2609, + "end": 2613, "loc": { "start": { - "line": 79, + "line": 81, "column": 22 }, "end": { - "line": 79, + "line": 81, "column": 26 } } @@ -20190,15 +20967,15 @@ "binop": null, "updateContext": null }, - "start": 2550, - "end": 2551, + "start": 2613, + "end": 2614, "loc": { "start": { - "line": 79, + "line": 81, "column": 26 }, "end": { - "line": 79, + "line": 81, "column": 27 } } @@ -20216,15 +20993,15 @@ "binop": null }, "value": "base", - "start": 2551, - "end": 2555, + "start": 2614, + "end": 2618, "loc": { "start": { - "line": 79, + "line": 81, "column": 27 }, "end": { - "line": 79, + "line": 81, "column": 31 } } @@ -20242,15 +21019,15 @@ "binop": null, "updateContext": null }, - "start": 2556, - "end": 2557, + "start": 2619, + "end": 2620, "loc": { "start": { - "line": 79, + "line": 81, "column": 32 }, "end": { - "line": 79, + "line": 81, "column": 33 } } @@ -20268,15 +21045,15 @@ "binop": null }, "value": "is_negative", - "start": 2558, - "end": 2569, + "start": 2621, + "end": 2632, "loc": { "start": { - "line": 79, + "line": 81, "column": 34 }, "end": { - "line": 79, + "line": 81, "column": 45 } } @@ -20294,15 +21071,15 @@ "binop": null, "updateContext": null }, - "start": 2570, - "end": 2571, + "start": 2633, + "end": 2634, "loc": { "start": { - "line": 79, + "line": 81, "column": 46 }, "end": { - "line": 79, + "line": 81, "column": 47 } } @@ -20320,15 +21097,15 @@ "binop": null }, "value": "limbs", - "start": 2572, - "end": 2577, + "start": 2635, + "end": 2640, "loc": { "start": { - "line": 79, + "line": 81, "column": 48 }, "end": { - "line": 79, + "line": 81, "column": 53 } } @@ -20345,15 +21122,15 @@ "postfix": false, "binop": null }, - "start": 2578, - "end": 2579, + "start": 2641, + "end": 2642, "loc": { "start": { - "line": 79, + "line": 81, "column": 54 }, "end": { - "line": 79, + "line": 81, "column": 55 } } @@ -20371,15 +21148,15 @@ "binop": null, "updateContext": null }, - "start": 2580, - "end": 2581, + "start": 2643, + "end": 2644, "loc": { "start": { - "line": 79, + "line": 81, "column": 56 }, "end": { - "line": 79, + "line": 81, "column": 57 } } @@ -20396,15 +21173,15 @@ "postfix": false, "binop": null }, - "start": 2584, - "end": 2585, + "start": 2647, + "end": 2648, "loc": { "start": { - "line": 81, + "line": 83, "column": 1 }, "end": { - "line": 81, + "line": 83, "column": 2 } } @@ -20422,15 +21199,15 @@ "binop": null }, "value": "toString", - "start": 2588, - "end": 2596, + "start": 2651, + "end": 2659, "loc": { "start": { - "line": 83, + "line": 85, "column": 1 }, "end": { - "line": 83, + "line": 85, "column": 9 } } @@ -20447,15 +21224,15 @@ "postfix": false, "binop": null }, - "start": 2597, - "end": 2598, + "start": 2660, + "end": 2661, "loc": { "start": { - "line": 83, + "line": 85, "column": 10 }, "end": { - "line": 83, + "line": 85, "column": 11 } } @@ -20472,15 +21249,15 @@ "postfix": false, "binop": null }, - "start": 2599, - "end": 2600, + "start": 2662, + "end": 2663, "loc": { "start": { - "line": 83, + "line": 85, "column": 12 }, "end": { - "line": 83, + "line": 85, "column": 13 } } @@ -20497,15 +21274,15 @@ "postfix": false, "binop": null }, - "start": 2601, - "end": 2602, + "start": 2664, + "end": 2665, "loc": { "start": { - "line": 83, + "line": 85, "column": 14 }, "end": { - "line": 83, + "line": 85, "column": 15 } } @@ -20525,15 +21302,15 @@ "updateContext": null }, "value": "return", - "start": 2605, - "end": 2611, + "start": 2668, + "end": 2674, "loc": { "start": { - "line": 84, + "line": 86, "column": 2 }, "end": { - "line": 84, + "line": 86, "column": 8 } } @@ -20553,15 +21330,15 @@ "updateContext": null }, "value": "this", - "start": 2612, - "end": 2616, + "start": 2675, + "end": 2679, "loc": { "start": { - "line": 84, + "line": 86, "column": 9 }, "end": { - "line": 84, + "line": 86, "column": 13 } } @@ -20579,15 +21356,15 @@ "binop": null, "updateContext": null }, - "start": 2616, - "end": 2617, + "start": 2679, + "end": 2680, "loc": { "start": { - "line": 84, + "line": 86, "column": 13 }, "end": { - "line": 84, + "line": 86, "column": 14 } } @@ -20605,15 +21382,15 @@ "binop": null }, "value": "name", - "start": 2617, - "end": 2621, + "start": 2680, + "end": 2684, "loc": { "start": { - "line": 84, + "line": 86, "column": 14 }, "end": { - "line": 84, + "line": 86, "column": 18 } } @@ -20631,15 +21408,15 @@ "binop": null, "updateContext": null }, - "start": 2622, - "end": 2623, + "start": 2685, + "end": 2686, "loc": { "start": { - "line": 84, + "line": 86, "column": 19 }, "end": { - "line": 84, + "line": 86, "column": 20 } } @@ -20656,15 +21433,15 @@ "postfix": false, "binop": null }, - "start": 2625, - "end": 2626, + "start": 2688, + "end": 2689, "loc": { "start": { - "line": 85, + "line": 87, "column": 1 }, "end": { - "line": 85, + "line": 87, "column": 2 } } @@ -20682,15 +21459,15 @@ "binop": null }, "value": "$0", - "start": 2629, - "end": 2631, + "start": 2692, + "end": 2694, "loc": { "start": { - "line": 87, + "line": 89, "column": 1 }, "end": { - "line": 87, + "line": 89, "column": 3 } } @@ -20707,15 +21484,15 @@ "postfix": false, "binop": null }, - "start": 2632, - "end": 2633, + "start": 2695, + "end": 2696, "loc": { "start": { - "line": 87, + "line": 89, "column": 4 }, "end": { - "line": 87, + "line": 89, "column": 5 } } @@ -20732,15 +21509,15 @@ "postfix": false, "binop": null }, - "start": 2634, - "end": 2635, + "start": 2697, + "end": 2698, "loc": { "start": { - "line": 87, + "line": 89, "column": 6 }, "end": { - "line": 87, + "line": 89, "column": 7 } } @@ -20757,15 +21534,15 @@ "postfix": false, "binop": null }, - "start": 2636, - "end": 2637, + "start": 2699, + "end": 2700, "loc": { "start": { - "line": 87, + "line": 89, "column": 8 }, "end": { - "line": 87, + "line": 89, "column": 9 } } @@ -20773,15 +21550,15 @@ { "type": "CommentLine", "value": " TODO Could we use an empty array instead ?", - "start": 2640, - "end": 2685, + "start": 2703, + "end": 2748, "loc": { "start": { - "line": 88, + "line": 90, "column": 2 }, "end": { - "line": 88, + "line": 90, "column": 47 } } @@ -20801,15 +21578,15 @@ "updateContext": null }, "value": "return", - "start": 2688, - "end": 2694, + "start": 2751, + "end": 2757, "loc": { "start": { - "line": 89, + "line": 91, "column": 2 }, "end": { - "line": 89, + "line": 91, "column": 8 } } @@ -20829,15 +21606,15 @@ "updateContext": null }, "value": "new", - "start": 2695, - "end": 2698, + "start": 2758, + "end": 2761, "loc": { "start": { - "line": 89, + "line": 91, "column": 9 }, "end": { - "line": 89, + "line": 91, "column": 12 } } @@ -20855,15 +21632,15 @@ "binop": null }, "value": "Integer", - "start": 2699, - "end": 2706, + "start": 2762, + "end": 2769, "loc": { "start": { - "line": 89, + "line": 91, "column": 13 }, "end": { - "line": 89, + "line": 91, "column": 20 } } @@ -20880,15 +21657,15 @@ "postfix": false, "binop": null }, - "start": 2706, - "end": 2707, + "start": 2769, + "end": 2770, "loc": { "start": { - "line": 89, + "line": 91, "column": 20 }, "end": { - "line": 89, + "line": 91, "column": 21 } } @@ -20908,15 +21685,15 @@ "updateContext": null }, "value": "this", - "start": 2708, - "end": 2712, + "start": 2771, + "end": 2775, "loc": { "start": { - "line": 89, + "line": 91, "column": 22 }, "end": { - "line": 89, + "line": 91, "column": 26 } } @@ -20934,15 +21711,15 @@ "binop": null, "updateContext": null }, - "start": 2712, - "end": 2713, + "start": 2775, + "end": 2776, "loc": { "start": { - "line": 89, + "line": 91, "column": 26 }, "end": { - "line": 89, + "line": 91, "column": 27 } } @@ -20960,15 +21737,15 @@ "binop": null }, "value": "base", - "start": 2713, - "end": 2717, + "start": 2776, + "end": 2780, "loc": { "start": { - "line": 89, + "line": 91, "column": 27 }, "end": { - "line": 89, + "line": 91, "column": 31 } } @@ -20986,15 +21763,15 @@ "binop": null, "updateContext": null }, - "start": 2718, - "end": 2719, + "start": 2781, + "end": 2782, "loc": { "start": { - "line": 89, + "line": 91, "column": 32 }, "end": { - "line": 89, + "line": 91, "column": 33 } } @@ -21013,15 +21790,15 @@ "updateContext": null }, "value": 0, - "start": 2720, - "end": 2721, + "start": 2783, + "end": 2784, "loc": { "start": { - "line": 89, + "line": 91, "column": 34 }, "end": { - "line": 89, + "line": 91, "column": 35 } } @@ -21039,15 +21816,15 @@ "binop": null, "updateContext": null }, - "start": 2722, - "end": 2723, + "start": 2785, + "end": 2786, "loc": { "start": { - "line": 89, + "line": 91, "column": 36 }, "end": { - "line": 89, + "line": 91, "column": 37 } } @@ -21065,15 +21842,15 @@ "binop": null, "updateContext": null }, - "start": 2724, - "end": 2725, + "start": 2787, + "end": 2788, "loc": { "start": { - "line": 89, + "line": 91, "column": 38 }, "end": { - "line": 89, + "line": 91, "column": 39 } } @@ -21092,15 +21869,15 @@ "updateContext": null }, "value": 0, - "start": 2726, - "end": 2727, + "start": 2789, + "end": 2790, "loc": { "start": { - "line": 89, + "line": 91, "column": 40 }, "end": { - "line": 89, + "line": 91, "column": 41 } } @@ -21118,15 +21895,15 @@ "binop": null, "updateContext": null }, - "start": 2728, - "end": 2729, + "start": 2791, + "end": 2792, "loc": { "start": { - "line": 89, + "line": 91, "column": 42 }, "end": { - "line": 89, + "line": 91, "column": 43 } } @@ -21143,15 +21920,15 @@ "postfix": false, "binop": null }, - "start": 2730, - "end": 2731, + "start": 2793, + "end": 2794, "loc": { "start": { - "line": 89, + "line": 91, "column": 44 }, "end": { - "line": 89, + "line": 91, "column": 45 } } @@ -21169,15 +21946,15 @@ "binop": null, "updateContext": null }, - "start": 2732, - "end": 2733, + "start": 2795, + "end": 2796, "loc": { "start": { - "line": 89, + "line": 91, "column": 46 }, "end": { - "line": 89, + "line": 91, "column": 47 } } @@ -21194,15 +21971,15 @@ "postfix": false, "binop": null }, - "start": 2735, - "end": 2736, + "start": 2798, + "end": 2799, "loc": { "start": { - "line": 90, + "line": 92, "column": 1 }, "end": { - "line": 90, + "line": 92, "column": 2 } } @@ -21220,15 +21997,15 @@ "binop": null }, "value": "$1", - "start": 2739, - "end": 2741, + "start": 2802, + "end": 2804, "loc": { "start": { - "line": 92, + "line": 94, "column": 1 }, "end": { - "line": 92, + "line": 94, "column": 3 } } @@ -21245,15 +22022,15 @@ "postfix": false, "binop": null }, - "start": 2742, - "end": 2743, + "start": 2805, + "end": 2806, "loc": { "start": { - "line": 92, + "line": 94, "column": 4 }, "end": { - "line": 92, + "line": 94, "column": 5 } } @@ -21270,15 +22047,15 @@ "postfix": false, "binop": null }, - "start": 2744, - "end": 2745, + "start": 2807, + "end": 2808, "loc": { "start": { - "line": 92, + "line": 94, "column": 6 }, "end": { - "line": 92, + "line": 94, "column": 7 } } @@ -21295,15 +22072,15 @@ "postfix": false, "binop": null }, - "start": 2746, - "end": 2747, + "start": 2809, + "end": 2810, "loc": { "start": { - "line": 92, + "line": 94, "column": 8 }, "end": { - "line": 92, + "line": 94, "column": 9 } } @@ -21323,15 +22100,15 @@ "updateContext": null }, "value": "return", - "start": 2750, - "end": 2756, + "start": 2813, + "end": 2819, "loc": { "start": { - "line": 93, + "line": 95, "column": 2 }, "end": { - "line": 93, + "line": 95, "column": 8 } } @@ -21351,15 +22128,15 @@ "updateContext": null }, "value": "new", - "start": 2757, - "end": 2760, + "start": 2820, + "end": 2823, "loc": { "start": { - "line": 93, + "line": 95, "column": 9 }, "end": { - "line": 93, + "line": 95, "column": 12 } } @@ -21377,15 +22154,15 @@ "binop": null }, "value": "Integer", - "start": 2761, - "end": 2768, + "start": 2824, + "end": 2831, "loc": { "start": { - "line": 93, + "line": 95, "column": 13 }, "end": { - "line": 93, + "line": 95, "column": 20 } } @@ -21402,15 +22179,15 @@ "postfix": false, "binop": null }, - "start": 2768, - "end": 2769, + "start": 2831, + "end": 2832, "loc": { "start": { - "line": 93, + "line": 95, "column": 20 }, "end": { - "line": 93, + "line": 95, "column": 21 } } @@ -21430,15 +22207,15 @@ "updateContext": null }, "value": "this", - "start": 2770, - "end": 2774, + "start": 2833, + "end": 2837, "loc": { "start": { - "line": 93, + "line": 95, "column": 22 }, "end": { - "line": 93, + "line": 95, "column": 26 } } @@ -21456,15 +22233,15 @@ "binop": null, "updateContext": null }, - "start": 2774, - "end": 2775, + "start": 2837, + "end": 2838, "loc": { "start": { - "line": 93, + "line": 95, "column": 26 }, "end": { - "line": 93, + "line": 95, "column": 27 } } @@ -21482,15 +22259,15 @@ "binop": null }, "value": "base", - "start": 2775, - "end": 2779, + "start": 2838, + "end": 2842, "loc": { "start": { - "line": 93, + "line": 95, "column": 27 }, "end": { - "line": 93, + "line": 95, "column": 31 } } @@ -21508,15 +22285,15 @@ "binop": null, "updateContext": null }, - "start": 2780, - "end": 2781, + "start": 2843, + "end": 2844, "loc": { "start": { - "line": 93, + "line": 95, "column": 32 }, "end": { - "line": 93, + "line": 95, "column": 33 } } @@ -21535,15 +22312,15 @@ "updateContext": null }, "value": 0, - "start": 2782, - "end": 2783, + "start": 2845, + "end": 2846, "loc": { "start": { - "line": 93, + "line": 95, "column": 34 }, "end": { - "line": 93, + "line": 95, "column": 35 } } @@ -21561,15 +22338,15 @@ "binop": null, "updateContext": null }, - "start": 2784, - "end": 2785, + "start": 2847, + "end": 2848, "loc": { "start": { - "line": 93, + "line": 95, "column": 36 }, "end": { - "line": 93, + "line": 95, "column": 37 } } @@ -21587,15 +22364,15 @@ "binop": null, "updateContext": null }, - "start": 2786, - "end": 2787, + "start": 2849, + "end": 2850, "loc": { "start": { - "line": 93, + "line": 95, "column": 38 }, "end": { - "line": 93, + "line": 95, "column": 39 } } @@ -21614,15 +22391,15 @@ "updateContext": null }, "value": 1, - "start": 2788, - "end": 2789, + "start": 2851, + "end": 2852, "loc": { "start": { - "line": 93, + "line": 95, "column": 40 }, "end": { - "line": 93, + "line": 95, "column": 41 } } @@ -21640,15 +22417,15 @@ "binop": null, "updateContext": null }, - "start": 2790, - "end": 2791, + "start": 2853, + "end": 2854, "loc": { "start": { - "line": 93, + "line": 95, "column": 42 }, "end": { - "line": 93, + "line": 95, "column": 43 } } @@ -21665,15 +22442,15 @@ "postfix": false, "binop": null }, - "start": 2792, - "end": 2793, + "start": 2855, + "end": 2856, "loc": { "start": { - "line": 93, + "line": 95, "column": 44 }, "end": { - "line": 93, + "line": 95, "column": 45 } } @@ -21691,15 +22468,15 @@ "binop": null, "updateContext": null }, - "start": 2794, - "end": 2795, + "start": 2857, + "end": 2858, "loc": { "start": { - "line": 93, + "line": 95, "column": 46 }, "end": { - "line": 93, + "line": 95, "column": 47 } } @@ -21716,15 +22493,15 @@ "postfix": false, "binop": null }, - "start": 2797, - "end": 2798, + "start": 2860, + "end": 2861, "loc": { "start": { - "line": 94, + "line": 96, "column": 1 }, "end": { - "line": 94, + "line": 96, "column": 2 } } @@ -21742,15 +22519,15 @@ "binop": null }, "value": "$_1", - "start": 2801, - "end": 2804, + "start": 2864, + "end": 2867, "loc": { "start": { - "line": 96, + "line": 98, "column": 1 }, "end": { - "line": 96, + "line": 98, "column": 4 } } @@ -21767,15 +22544,15 @@ "postfix": false, "binop": null }, - "start": 2805, - "end": 2806, + "start": 2868, + "end": 2869, "loc": { "start": { - "line": 96, + "line": 98, "column": 5 }, "end": { - "line": 96, + "line": 98, "column": 6 } } @@ -21792,15 +22569,15 @@ "postfix": false, "binop": null }, - "start": 2807, - "end": 2808, + "start": 2870, + "end": 2871, "loc": { "start": { - "line": 96, + "line": 98, "column": 7 }, "end": { - "line": 96, + "line": 98, "column": 8 } } @@ -21817,15 +22594,15 @@ "postfix": false, "binop": null }, - "start": 2809, - "end": 2810, + "start": 2872, + "end": 2873, "loc": { "start": { - "line": 96, + "line": 98, "column": 9 }, "end": { - "line": 96, + "line": 98, "column": 10 } } @@ -21845,15 +22622,15 @@ "updateContext": null }, "value": "return", - "start": 2813, - "end": 2819, + "start": 2876, + "end": 2882, "loc": { "start": { - "line": 97, + "line": 99, "column": 2 }, "end": { - "line": 97, + "line": 99, "column": 8 } } @@ -21873,15 +22650,15 @@ "updateContext": null }, "value": "new", - "start": 2820, - "end": 2823, + "start": 2883, + "end": 2886, "loc": { "start": { - "line": 97, + "line": 99, "column": 9 }, "end": { - "line": 97, + "line": 99, "column": 12 } } @@ -21899,15 +22676,15 @@ "binop": null }, "value": "Integer", - "start": 2824, - "end": 2831, + "start": 2887, + "end": 2894, "loc": { "start": { - "line": 97, + "line": 99, "column": 13 }, "end": { - "line": 97, + "line": 99, "column": 20 } } @@ -21924,15 +22701,15 @@ "postfix": false, "binop": null }, - "start": 2831, - "end": 2832, + "start": 2894, + "end": 2895, "loc": { "start": { - "line": 97, + "line": 99, "column": 20 }, "end": { - "line": 97, + "line": 99, "column": 21 } } @@ -21952,15 +22729,15 @@ "updateContext": null }, "value": "this", - "start": 2833, - "end": 2837, + "start": 2896, + "end": 2900, "loc": { "start": { - "line": 97, + "line": 99, "column": 22 }, "end": { - "line": 97, + "line": 99, "column": 26 } } @@ -21978,15 +22755,15 @@ "binop": null, "updateContext": null }, - "start": 2837, - "end": 2838, + "start": 2900, + "end": 2901, "loc": { "start": { - "line": 97, + "line": 99, "column": 26 }, "end": { - "line": 97, + "line": 99, "column": 27 } } @@ -22004,15 +22781,15 @@ "binop": null }, "value": "base", - "start": 2838, - "end": 2842, + "start": 2901, + "end": 2905, "loc": { "start": { - "line": 97, + "line": 99, "column": 27 }, "end": { - "line": 97, + "line": 99, "column": 31 } } @@ -22030,15 +22807,15 @@ "binop": null, "updateContext": null }, - "start": 2843, - "end": 2844, + "start": 2906, + "end": 2907, "loc": { "start": { - "line": 97, + "line": 99, "column": 32 }, "end": { - "line": 97, + "line": 99, "column": 33 } } @@ -22057,15 +22834,15 @@ "updateContext": null }, "value": "-", - "start": 2845, - "end": 2846, + "start": 2908, + "end": 2909, "loc": { "start": { - "line": 97, + "line": 99, "column": 34 }, "end": { - "line": 97, + "line": 99, "column": 35 } } @@ -22084,15 +22861,15 @@ "updateContext": null }, "value": 1, - "start": 2846, - "end": 2847, + "start": 2909, + "end": 2910, "loc": { "start": { - "line": 97, + "line": 99, "column": 35 }, "end": { - "line": 97, + "line": 99, "column": 36 } } @@ -22110,15 +22887,15 @@ "binop": null, "updateContext": null }, - "start": 2848, - "end": 2849, + "start": 2911, + "end": 2912, "loc": { "start": { - "line": 97, + "line": 99, "column": 37 }, "end": { - "line": 97, + "line": 99, "column": 38 } } @@ -22136,15 +22913,15 @@ "binop": null, "updateContext": null }, - "start": 2850, - "end": 2851, + "start": 2913, + "end": 2914, "loc": { "start": { - "line": 97, + "line": 99, "column": 39 }, "end": { - "line": 97, + "line": 99, "column": 40 } } @@ -22163,15 +22940,15 @@ "updateContext": null }, "value": 1, - "start": 2852, - "end": 2853, + "start": 2915, + "end": 2916, "loc": { "start": { - "line": 97, + "line": 99, "column": 41 }, "end": { - "line": 97, + "line": 99, "column": 42 } } @@ -22189,15 +22966,15 @@ "binop": null, "updateContext": null }, - "start": 2854, - "end": 2855, + "start": 2917, + "end": 2918, "loc": { "start": { - "line": 97, + "line": 99, "column": 43 }, "end": { - "line": 97, + "line": 99, "column": 44 } } @@ -22214,15 +22991,15 @@ "postfix": false, "binop": null }, - "start": 2856, - "end": 2857, + "start": 2919, + "end": 2920, "loc": { "start": { - "line": 97, + "line": 99, "column": 45 }, "end": { - "line": 97, + "line": 99, "column": 46 } } @@ -22240,15 +23017,15 @@ "binop": null, "updateContext": null }, - "start": 2858, - "end": 2859, + "start": 2921, + "end": 2922, "loc": { "start": { - "line": 97, + "line": 99, "column": 47 }, "end": { - "line": 97, + "line": 99, "column": 48 } } @@ -22265,15 +23042,15 @@ "postfix": false, "binop": null }, - "start": 2861, - "end": 2862, + "start": 2924, + "end": 2925, "loc": { "start": { - "line": 98, + "line": 100, "column": 1 }, "end": { - "line": 98, + "line": 100, "column": 2 } } @@ -22291,15 +23068,15 @@ "binop": null }, "value": "has", - "start": 2865, - "end": 2868, + "start": 2928, + "end": 2931, "loc": { "start": { - "line": 100, + "line": 102, "column": 1 }, "end": { - "line": 100, + "line": 102, "column": 4 } } @@ -22316,15 +23093,15 @@ "postfix": false, "binop": null }, - "start": 2869, - "end": 2870, + "start": 2932, + "end": 2933, "loc": { "start": { - "line": 100, + "line": 102, "column": 5 }, "end": { - "line": 100, + "line": 102, "column": 6 } } @@ -22342,15 +23119,15 @@ "binop": null }, "value": "x", - "start": 2871, - "end": 2872, + "start": 2934, + "end": 2935, "loc": { "start": { - "line": 100, + "line": 102, "column": 7 }, "end": { - "line": 100, + "line": 102, "column": 8 } } @@ -22367,15 +23144,15 @@ "postfix": false, "binop": null }, - "start": 2873, - "end": 2874, + "start": 2936, + "end": 2937, "loc": { "start": { - "line": 100, + "line": 102, "column": 9 }, "end": { - "line": 100, + "line": 102, "column": 10 } } @@ -22392,15 +23169,15 @@ "postfix": false, "binop": null }, - "start": 2875, - "end": 2876, + "start": 2938, + "end": 2939, "loc": { "start": { - "line": 100, + "line": 102, "column": 11 }, "end": { - "line": 100, + "line": 102, "column": 12 } } @@ -22420,15 +23197,15 @@ "updateContext": null }, "value": "if", - "start": 2879, - "end": 2881, + "start": 2942, + "end": 2944, "loc": { "start": { - "line": 101, + "line": 103, "column": 2 }, "end": { - "line": 101, + "line": 103, "column": 4 } } @@ -22445,15 +23222,15 @@ "postfix": false, "binop": null }, - "start": 2882, - "end": 2883, + "start": 2945, + "end": 2946, "loc": { "start": { - "line": 101, + "line": 103, "column": 5 }, "end": { - "line": 101, + "line": 103, "column": 6 } } @@ -22471,15 +23248,15 @@ "binop": null }, "value": "x", - "start": 2884, - "end": 2885, + "start": 2947, + "end": 2948, "loc": { "start": { - "line": 101, + "line": 103, "column": 7 }, "end": { - "line": 101, + "line": 103, "column": 8 } } @@ -22499,15 +23276,15 @@ "updateContext": null }, "value": "instanceof", - "start": 2886, - "end": 2896, + "start": 2949, + "end": 2959, "loc": { "start": { - "line": 101, + "line": 103, "column": 9 }, "end": { - "line": 101, + "line": 103, "column": 19 } } @@ -22525,15 +23302,15 @@ "binop": null }, "value": "Integer", - "start": 2897, - "end": 2904, + "start": 2960, + "end": 2967, "loc": { "start": { - "line": 101, + "line": 103, "column": 20 }, "end": { - "line": 101, + "line": 103, "column": 27 } } @@ -22550,15 +23327,15 @@ "postfix": false, "binop": null }, - "start": 2905, - "end": 2906, + "start": 2968, + "end": 2969, "loc": { "start": { - "line": 101, + "line": 103, "column": 28 }, "end": { - "line": 101, + "line": 103, "column": 29 } } @@ -22578,15 +23355,15 @@ "updateContext": null }, "value": "return", - "start": 2907, - "end": 2913, + "start": 2970, + "end": 2976, "loc": { "start": { - "line": 101, + "line": 103, "column": 30 }, "end": { - "line": 101, + "line": 103, "column": 36 } } @@ -22606,15 +23383,15 @@ "updateContext": null }, "value": "true", - "start": 2914, - "end": 2918, + "start": 2977, + "end": 2981, "loc": { "start": { - "line": 101, + "line": 103, "column": 37 }, "end": { - "line": 101, + "line": 103, "column": 41 } } @@ -22632,15 +23409,15 @@ "binop": null, "updateContext": null }, - "start": 2919, - "end": 2920, + "start": 2982, + "end": 2983, "loc": { "start": { - "line": 101, + "line": 103, "column": 42 }, "end": { - "line": 101, + "line": 103, "column": 43 } } @@ -22660,15 +23437,15 @@ "updateContext": null }, "value": "return", - "start": 2923, - "end": 2929, + "start": 2986, + "end": 2992, "loc": { "start": { - "line": 102, + "line": 104, "column": 2 }, "end": { - "line": 102, + "line": 104, "column": 8 } } @@ -22686,15 +23463,15 @@ "binop": null }, "value": "Number", - "start": 2930, - "end": 2936, + "start": 2993, + "end": 2999, "loc": { "start": { - "line": 102, + "line": 104, "column": 9 }, "end": { - "line": 102, + "line": 104, "column": 15 } } @@ -22712,15 +23489,15 @@ "binop": null, "updateContext": null }, - "start": 2936, - "end": 2937, + "start": 2999, + "end": 3000, "loc": { "start": { - "line": 102, + "line": 104, "column": 15 }, "end": { - "line": 102, + "line": 104, "column": 16 } } @@ -22738,15 +23515,15 @@ "binop": null }, "value": "isInteger", - "start": 2937, - "end": 2946, + "start": 3000, + "end": 3009, "loc": { "start": { - "line": 102, + "line": 104, "column": 16 }, "end": { - "line": 102, + "line": 104, "column": 25 } } @@ -22763,15 +23540,15 @@ "postfix": false, "binop": null }, - "start": 2946, - "end": 2947, + "start": 3009, + "end": 3010, "loc": { "start": { - "line": 102, + "line": 104, "column": 25 }, "end": { - "line": 102, + "line": 104, "column": 26 } } @@ -22789,15 +23566,15 @@ "binop": null }, "value": "x", - "start": 2947, - "end": 2948, + "start": 3010, + "end": 3011, "loc": { "start": { - "line": 102, + "line": 104, "column": 26 }, "end": { - "line": 102, + "line": 104, "column": 27 } } @@ -22814,15 +23591,15 @@ "postfix": false, "binop": null }, - "start": 2948, - "end": 2949, + "start": 3011, + "end": 3012, "loc": { "start": { - "line": 102, + "line": 104, "column": 27 }, "end": { - "line": 102, + "line": 104, "column": 28 } } @@ -22840,15 +23617,15 @@ "binop": null, "updateContext": null }, - "start": 2950, - "end": 2951, + "start": 3013, + "end": 3014, "loc": { "start": { - "line": 102, + "line": 104, "column": 29 }, "end": { - "line": 102, + "line": 104, "column": 30 } } @@ -22865,15 +23642,15 @@ "postfix": false, "binop": null }, - "start": 2953, - "end": 2954, + "start": 3016, + "end": 3017, "loc": { "start": { - "line": 103, + "line": 105, "column": 1 }, "end": { - "line": 103, + "line": 105, "column": 2 } } @@ -22891,15 +23668,15 @@ "binop": null }, "value": "min", - "start": 2957, - "end": 2960, + "start": 3020, + "end": 3023, "loc": { "start": { - "line": 105, + "line": 107, "column": 1 }, "end": { - "line": 105, + "line": 107, "column": 4 } } @@ -22916,15 +23693,15 @@ "postfix": false, "binop": null }, - "start": 2961, - "end": 2962, + "start": 3024, + "end": 3025, "loc": { "start": { - "line": 105, + "line": 107, "column": 5 }, "end": { - "line": 105, + "line": 107, "column": 6 } } @@ -22942,15 +23719,15 @@ "binop": null }, "value": "a", - "start": 2963, - "end": 2964, + "start": 3026, + "end": 3027, "loc": { "start": { - "line": 105, + "line": 107, "column": 7 }, "end": { - "line": 105, + "line": 107, "column": 8 } } @@ -22968,15 +23745,15 @@ "binop": null, "updateContext": null }, - "start": 2965, - "end": 2966, + "start": 3028, + "end": 3029, "loc": { "start": { - "line": 105, + "line": 107, "column": 9 }, "end": { - "line": 105, + "line": 107, "column": 10 } } @@ -22994,15 +23771,15 @@ "binop": null }, "value": "b", - "start": 2967, - "end": 2968, + "start": 3030, + "end": 3031, "loc": { "start": { - "line": 105, + "line": 107, "column": 11 }, "end": { - "line": 105, + "line": 107, "column": 12 } } @@ -23019,15 +23796,15 @@ "postfix": false, "binop": null }, - "start": 2969, - "end": 2970, + "start": 3032, + "end": 3033, "loc": { "start": { - "line": 105, + "line": 107, "column": 13 }, "end": { - "line": 105, + "line": 107, "column": 14 } } @@ -23044,15 +23821,15 @@ "postfix": false, "binop": null }, - "start": 2971, - "end": 2972, + "start": 3034, + "end": 3035, "loc": { "start": { - "line": 105, + "line": 107, "column": 15 }, "end": { - "line": 105, + "line": 107, "column": 16 } } @@ -23072,15 +23849,15 @@ "updateContext": null }, "value": "return", - "start": 2975, - "end": 2981, + "start": 3038, + "end": 3044, "loc": { "start": { - "line": 106, + "line": 108, "column": 2 }, "end": { - "line": 106, + "line": 108, "column": 8 } } @@ -23098,15 +23875,15 @@ "binop": null }, "value": "a", - "start": 2982, - "end": 2983, + "start": 3045, + "end": 3046, "loc": { "start": { - "line": 106, + "line": 108, "column": 9 }, "end": { - "line": 106, + "line": 108, "column": 10 } } @@ -23124,15 +23901,15 @@ "binop": null, "updateContext": null }, - "start": 2983, - "end": 2984, + "start": 3046, + "end": 3047, "loc": { "start": { - "line": 106, + "line": 108, "column": 10 }, "end": { - "line": 106, + "line": 108, "column": 11 } } @@ -23150,15 +23927,15 @@ "binop": null }, "value": "le", - "start": 2984, - "end": 2986, + "start": 3047, + "end": 3049, "loc": { "start": { - "line": 106, + "line": 108, "column": 11 }, "end": { - "line": 106, + "line": 108, "column": 13 } } @@ -23175,15 +23952,15 @@ "postfix": false, "binop": null }, - "start": 2986, - "end": 2987, + "start": 3049, + "end": 3050, "loc": { "start": { - "line": 106, + "line": 108, "column": 13 }, "end": { - "line": 106, + "line": 108, "column": 14 } } @@ -23201,15 +23978,15 @@ "binop": null }, "value": "b", - "start": 2987, - "end": 2988, + "start": 3050, + "end": 3051, "loc": { "start": { - "line": 106, + "line": 108, "column": 14 }, "end": { - "line": 106, + "line": 108, "column": 15 } } @@ -23226,15 +24003,15 @@ "postfix": false, "binop": null }, - "start": 2988, - "end": 2989, + "start": 3051, + "end": 3052, "loc": { "start": { - "line": 106, + "line": 108, "column": 15 }, "end": { - "line": 106, + "line": 108, "column": 16 } } @@ -23252,15 +24029,15 @@ "binop": null, "updateContext": null }, - "start": 2990, - "end": 2991, + "start": 3053, + "end": 3054, "loc": { "start": { - "line": 106, + "line": 108, "column": 17 }, "end": { - "line": 106, + "line": 108, "column": 18 } } @@ -23278,15 +24055,15 @@ "binop": null }, "value": "a", - "start": 2992, - "end": 2993, + "start": 3055, + "end": 3056, "loc": { "start": { - "line": 106, + "line": 108, "column": 19 }, "end": { - "line": 106, + "line": 108, "column": 20 } } @@ -23304,15 +24081,15 @@ "binop": null, "updateContext": null }, - "start": 2994, - "end": 2995, + "start": 3057, + "end": 3058, "loc": { "start": { - "line": 106, + "line": 108, "column": 21 }, "end": { - "line": 106, + "line": 108, "column": 22 } } @@ -23330,15 +24107,15 @@ "binop": null }, "value": "b", - "start": 2996, - "end": 2997, + "start": 3059, + "end": 3060, "loc": { "start": { - "line": 106, + "line": 108, "column": 23 }, "end": { - "line": 106, + "line": 108, "column": 24 } } @@ -23356,15 +24133,15 @@ "binop": null, "updateContext": null }, - "start": 2998, - "end": 2999, + "start": 3061, + "end": 3062, "loc": { "start": { - "line": 106, + "line": 108, "column": 25 }, "end": { - "line": 106, + "line": 108, "column": 26 } } @@ -23381,15 +24158,15 @@ "postfix": false, "binop": null }, - "start": 3001, - "end": 3002, + "start": 3064, + "end": 3065, "loc": { "start": { - "line": 107, + "line": 109, "column": 1 }, "end": { - "line": 107, + "line": 109, "column": 2 } } @@ -23407,15 +24184,15 @@ "binop": null }, "value": "max", - "start": 3005, - "end": 3008, + "start": 3068, + "end": 3071, "loc": { "start": { - "line": 109, + "line": 111, "column": 1 }, "end": { - "line": 109, + "line": 111, "column": 4 } } @@ -23432,15 +24209,15 @@ "postfix": false, "binop": null }, - "start": 3009, - "end": 3010, + "start": 3072, + "end": 3073, "loc": { "start": { - "line": 109, + "line": 111, "column": 5 }, "end": { - "line": 109, + "line": 111, "column": 6 } } @@ -23458,15 +24235,15 @@ "binop": null }, "value": "a", - "start": 3011, - "end": 3012, + "start": 3074, + "end": 3075, "loc": { "start": { - "line": 109, + "line": 111, "column": 7 }, "end": { - "line": 109, + "line": 111, "column": 8 } } @@ -23484,15 +24261,15 @@ "binop": null, "updateContext": null }, - "start": 3013, - "end": 3014, + "start": 3076, + "end": 3077, "loc": { "start": { - "line": 109, + "line": 111, "column": 9 }, "end": { - "line": 109, + "line": 111, "column": 10 } } @@ -23510,15 +24287,15 @@ "binop": null }, "value": "b", - "start": 3015, - "end": 3016, + "start": 3078, + "end": 3079, "loc": { "start": { - "line": 109, + "line": 111, "column": 11 }, "end": { - "line": 109, + "line": 111, "column": 12 } } @@ -23535,15 +24312,15 @@ "postfix": false, "binop": null }, - "start": 3017, - "end": 3018, + "start": 3080, + "end": 3081, "loc": { "start": { - "line": 109, + "line": 111, "column": 13 }, "end": { - "line": 109, + "line": 111, "column": 14 } } @@ -23560,15 +24337,15 @@ "postfix": false, "binop": null }, - "start": 3019, - "end": 3020, + "start": 3082, + "end": 3083, "loc": { "start": { - "line": 109, + "line": 111, "column": 15 }, "end": { - "line": 109, + "line": 111, "column": 16 } } @@ -23588,15 +24365,15 @@ "updateContext": null }, "value": "return", - "start": 3023, - "end": 3029, + "start": 3086, + "end": 3092, "loc": { "start": { - "line": 110, + "line": 112, "column": 2 }, "end": { - "line": 110, + "line": 112, "column": 8 } } @@ -23614,15 +24391,15 @@ "binop": null }, "value": "a", - "start": 3030, - "end": 3031, + "start": 3093, + "end": 3094, "loc": { "start": { - "line": 110, + "line": 112, "column": 9 }, "end": { - "line": 110, + "line": 112, "column": 10 } } @@ -23640,15 +24417,15 @@ "binop": null, "updateContext": null }, - "start": 3031, - "end": 3032, + "start": 3094, + "end": 3095, "loc": { "start": { - "line": 110, + "line": 112, "column": 10 }, "end": { - "line": 110, + "line": 112, "column": 11 } } @@ -23666,15 +24443,15 @@ "binop": null }, "value": "ge", - "start": 3032, - "end": 3034, + "start": 3095, + "end": 3097, "loc": { "start": { - "line": 110, + "line": 112, "column": 11 }, "end": { - "line": 110, + "line": 112, "column": 13 } } @@ -23691,15 +24468,15 @@ "postfix": false, "binop": null }, - "start": 3034, - "end": 3035, + "start": 3097, + "end": 3098, "loc": { "start": { - "line": 110, + "line": 112, "column": 13 }, "end": { - "line": 110, + "line": 112, "column": 14 } } @@ -23717,15 +24494,15 @@ "binop": null }, "value": "b", - "start": 3035, - "end": 3036, + "start": 3098, + "end": 3099, "loc": { "start": { - "line": 110, + "line": 112, "column": 14 }, "end": { - "line": 110, + "line": 112, "column": 15 } } @@ -23742,15 +24519,15 @@ "postfix": false, "binop": null }, - "start": 3036, - "end": 3037, + "start": 3099, + "end": 3100, "loc": { "start": { - "line": 110, + "line": 112, "column": 15 }, "end": { - "line": 110, + "line": 112, "column": 16 } } @@ -23768,15 +24545,15 @@ "binop": null, "updateContext": null }, - "start": 3038, - "end": 3039, + "start": 3101, + "end": 3102, "loc": { "start": { - "line": 110, + "line": 112, "column": 17 }, "end": { - "line": 110, + "line": 112, "column": 18 } } @@ -23794,15 +24571,15 @@ "binop": null }, "value": "a", - "start": 3040, - "end": 3041, + "start": 3103, + "end": 3104, "loc": { "start": { - "line": 110, + "line": 112, "column": 19 }, "end": { - "line": 110, + "line": 112, "column": 20 } } @@ -23820,15 +24597,15 @@ "binop": null, "updateContext": null }, - "start": 3042, - "end": 3043, + "start": 3105, + "end": 3106, "loc": { "start": { - "line": 110, + "line": 112, "column": 21 }, "end": { - "line": 110, + "line": 112, "column": 22 } } @@ -23846,15 +24623,15 @@ "binop": null }, "value": "b", - "start": 3044, - "end": 3045, + "start": 3107, + "end": 3108, "loc": { "start": { - "line": 110, + "line": 112, "column": 23 }, "end": { - "line": 110, + "line": 112, "column": 24 } } @@ -23872,15 +24649,15 @@ "binop": null, "updateContext": null }, - "start": 3046, - "end": 3047, + "start": 3109, + "end": 3110, "loc": { "start": { - "line": 110, + "line": 112, "column": 25 }, "end": { - "line": 110, + "line": 112, "column": 26 } } @@ -23897,15 +24674,15 @@ "postfix": false, "binop": null }, - "start": 3049, - "end": 3050, + "start": 3112, + "end": 3113, "loc": { "start": { - "line": 111, + "line": 113, "column": 1 }, "end": { - "line": 111, + "line": 113, "column": 2 } } @@ -23922,15 +24699,15 @@ "postfix": false, "binop": null }, - "start": 3052, - "end": 3053, + "start": 3115, + "end": 3116, "loc": { "start": { - "line": 113, + "line": 115, "column": 0 }, "end": { - "line": 113, + "line": 115, "column": 1 } } @@ -23948,15 +24725,15 @@ "binop": null, "updateContext": null }, - "start": 3054, - "end": 3054, + "start": 3117, + "end": 3117, "loc": { "start": { - "line": 114, + "line": 116, "column": 0 }, "end": { - "line": 114, + "line": 116, "column": 0 } } diff --git a/class/src/IntegerRing.js~IntegerRing.html b/class/src/IntegerRing.js~IntegerRing.html index c455633..6a573fd 100644 --- a/class/src/IntegerRing.js~IntegerRing.html +++ b/class/src/IntegerRing.js~IntegerRing.html @@ -701,7 +701,7 @@

    - source + source

    @@ -756,7 +756,7 @@

    - source + source

    @@ -811,7 +811,7 @@

    - source + source

    @@ -1006,7 +1006,7 @@

    - source + source

    @@ -1252,7 +1252,7 @@

    - source + source

    @@ -1323,7 +1323,7 @@

    - source + source

    @@ -1400,7 +1400,7 @@

    - source + source

    @@ -1477,7 +1477,7 @@

    - source + source

    diff --git a/coverage.json b/coverage.json index acaa8c5..654d560 100644 --- a/coverage.json +++ b/coverage.json @@ -113,14 +113,14 @@ 18, 51, 61, - 75, - 83, - 87, - 92, - 96, - 100, - 105, - 109 + 77, + 85, + 89, + 94, + 98, + 102, + 107, + 111 ] }, "src/ZZ.js": { diff --git a/file/src/Integer.js.html b/file/src/Integer.js.html index c75aa75..62e7387 100644 --- a/file/src/Integer.js.html +++ b/file/src/Integer.js.html @@ -282,19 +282,19 @@ ipown ( number ) { // TODO optimize but be careful with side effects - return this.pown(other).move(this); + return this.pown(number).move(this); } square ( ) { // TODO optimize but be careful with side effects // TODO use this.mul(this) instead? - return this.pow(2); + return this.pown(2); } isquare ( ) { // TODO optimize but be careful with side effects // TODO use this.imul(this) instead? - return this.ipow(2); + return this.square().move(this); } div ( other ) { @@ -333,7 +333,7 @@ divround ( other ) { const [ q , r ] = this.divmod(other) ; - if ( r >= ( this.base / 2 | 0 ) ) increment( r , q.limbs , 0 , q.limbs.length ) ; + if ( r.ge(other.divn(2).addn(other.iseven() ? 0 : 1)) ) increment( q.base , q.limbs , 0 , q.limbs.length ) ; return q ; } @@ -414,7 +414,7 @@ } iabs ( ) { - return this.sign() >= 0 ? this : this.negate(this) ; + return this.abs().move(this) ; } sign ( ) { @@ -435,7 +435,7 @@ } isnegative ( ) { - return this.is_negative ; + return this.is_negative === -1 ? true : false ; } ispositive ( ) { @@ -443,11 +443,11 @@ } isnonnegative ( ) { - return !this.negative(); + return !this.isnegative(); } isnonpositive ( ) { - return !this.positive() ; + return !this.ispositive() ; } parity ( ) { diff --git a/file/src/IntegerRing.js.html b/file/src/IntegerRing.js.html index e549d66..292c171 100644 --- a/file/src/IntegerRing.js.html +++ b/file/src/IntegerRing.js.html @@ -132,6 +132,8 @@ const limbs = parse( base , this.base , string ) ; + if (limbs.length === 1 && limbs[0] === 0) is_negative = 0 ; + return new Integer( this.base , is_negative , limbs ) ; } diff --git a/index.json b/index.json index 646f4fc..5e74c43 100644 --- a/index.json +++ b/index.json @@ -629,7 +629,7 @@ "__docId__": 52, "kind": "file", "name": "src/Integer.js", - "content": "import { DEFAULT_DISPLAY_BASE , ZeroDivisionError } from './' ;\n\nimport { ValueError } from '@aureooms/js-error' ;\n\nimport { _from_number } from './_from_number' ;\n\nimport {\n\tstringify , convert , _trim_positive ,\n\t_alloc , _copy , _zeros ,\n\tjz , cmp , eq ,\n\tadd , _sub , mul , _idivmod , _pow_double ,\n\tincrement ,\n\teuclidean_algorithm , extended_euclidean_algorithm ,\n} from '@aureooms/js-integer-big-endian' ;\n\nimport { MIN_NUMBER , MAX_NUMBER , MAX_BASE } from './_limits' ;\n\nexport class Integer {\n\n\tconstructor ( base , is_negative , limbs ) {\n\t\tthis.base = base ;\n\t\tthis.is_negative = is_negative ;\n\t\tthis.limbs = limbs ;\n\t}\n\n\tmove ( other ) {\n\t\tother.base = this.base ;\n\t\tother.is_negative = this.is_negative ;\n\t\tother.limbs = this.limbs ;\n\t\treturn other ;\n\t}\n\n\tclone ( ) {\n\t\treturn new Integer( this.base , this.is_negative , this.limbs ) ;\n\t}\n\n\t_limbs_in_base ( base ) {\n\t\t// TODO save result for later ? Maybe replace base ?\n\t\tif ( this.base === base ) return this.limbs ;\n\t\telse return convert( this.base , base , this.limbs , 0 , this.limbs.length ) ;\n\t}\n\n\ttoString ( base = DEFAULT_DISPLAY_BASE ) {\n\n\t\tif ( this.iszero( ) ) return '0' ;\n\n\t\tconst digits = stringify( this.base , base , this.limbs , 0 , this.limbs.length ) ;\n\n\t\treturn this.is_negative ? '-' + digits : digits ;\n\n\t}\n\n\tadd ( other ) {\n\n\t\tif ( this.is_negative !== other.is_negative ) {\n\n\t\t\tif ( other.is_negative ) return this.sub( other.opposite() ) ;\n\n\t\t\telse return other.sub( this.opposite() ) ;\n\n\t\t}\n\n\t\telse {\n\n\t\t\tconst result_is_negative = this.is_negative ;\n\t\t\tconst r = this.base ;\n\n\t\t\tconst a = this.limbs ;\n\n\t\t\tconst b = other._limbs_in_base( r ) ;\n\n\t\t\tconst c = _zeros( Math.max( a.length , b.length ) + 1 ) ;\n\n\t\t\tadd( r , a , 0 , a.length , b , 0 , b.length , c , 0 , c.length ) ;\n\n\t\t\treturn new Integer( r , result_is_negative , c ) ;\n\n\t\t}\n\n\t}\n\n\tiadd ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.add(other).move(this);\n\t}\n\n\taddn ( number ) {\n\t\t// TODO optimize\n\t\treturn this.add(_from_number(number)) ;\n\t}\n\n\tiaddn ( number ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.addn(number).move(this);\n\t}\n\n\tsub ( other ) {\n\n\t\tif ( this.is_negative !== other.is_negative ) {\n\n\t\t\tif ( other.is_negative ) return this.add( other.opposite() ) ;\n\n\t\t\telse return this.opposite().add( other ).opposite() ;\n\n\t\t}\n\n\t\telse {\n\n\t\t\t// /!\\ _sub needs |c| >= |a| >= |b|\n\n\t\t\tconst r = this.base ;\n\t\t\tconst a = this.limbs ;\n\t\t\tconst aj = a.length ;\n\t\t\tconst ai = _trim_positive( a , 0 , aj ) ;\n\n\t\t\tif ( ai >= aj ) return other.opposite() ;\n\n\t\t\tconst b = other._limbs_in_base( r ) ;\n\t\t\tconst bj = b.length ;\n\t\t\tconst bi = _trim_positive( b , 0 , bj ) ;\n\n\t\t\tif ( bi >= bj ) return this.clone() ;\n\n\t\t\tif ( cmp( a , ai , aj , b , bi , bj ) < 0 ) {\n\n\t\t\t\tconst c = _zeros( bj - bi ) ;\n\n\t\t\t\t_sub( r , b , bi , bj , a , ai , aj , c , 0 , c.length ) ;\n\n\t\t\t\treturn new Integer( r , ~this.is_negative , c ) ;\n\t\t\t}\n\n\t\t\telse {\n\n\t\t\t\tconst c = _zeros( aj - ai ) ;\n\n\t\t\t\t_sub( r , a , ai , aj , b , bi , bj , c , 0 , c.length ) ;\n\n\t\t\t\treturn new Integer( r , this.is_negative , c ) ;\n\n\t\t\t}\n\n\t\t}\n\n\t}\n\n\tisub ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.sub(other).move(this);\n\t}\n\n\tsubn ( number ) {\n\t\treturn this.sub(_from_number(number));\n\t}\n\n\tisubn ( number ) {\n\t\treturn this.subn(number).move(this);\n\t}\n\n\tmul ( other ) {\n\n\t\tconst result_is_negative = this.is_negative ^ other.is_negative ;\n\t\tconst r = this.base ;\n\n\t\tconst a = this.limbs ;\n\n\t\tconst b = other._limbs_in_base( r ) ;\n\n\t\tconst c = _zeros( a.length + b.length ) ;\n\n\t\tmul( r , a , 0 , a.length , b , 0 , b.length , c , 0 , c.length ) ;\n\n\t\treturn new Integer( r , result_is_negative , c ) ;\n\n\t}\n\n\timul ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.mul(other).move(this);\n\t}\n\n\tmuln ( number ) {\n\t\treturn this.mul(_from_number(number));\n\t}\n\n\timuln ( number ) {\n\t\treturn this.muln(number).move(this);\n\t}\n\n\t/**\n\t * Computes this raised to the xth power.\n\t * x is a double smaller or equal to 2^53.\n\t *\n\t * @param {Number} x The power to raise this to.\n\t * @return {Integer} this ^ x\n\t */\n\tpown ( x ) {\n\n\t\tconst is_negative = this.is_negative & x & 1 ? -1 : 0 ;\n\n\t\tconst a = this.limbs ;\n\t\tconst c = _zeros( Math.max( 1 , a.length * x ) ) ;\n\n\t\t_pow_double( this.base , x , a , 0 , a.length , c , 0 , c.length ) ;\n\n\t\treturn new Integer( this.base , is_negative , c ) ;\n\n\t}\n\n\tpow ( other ) {\n\t\treturn this.pown( other.valueOf() ) ;\n\t}\n\n\tipow ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.pow(other).move(this);\n\t}\n\n\tipown ( number ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.pown(other).move(this);\n\t}\n\n\tsquare ( ) {\n\t\t// TODO optimize but be careful with side effects\n\t\t// TODO use this.mul(this) instead?\n\t\treturn this.pow(2);\n\t}\n\n\tisquare ( ) {\n\t\t// TODO optimize but be careful with side effects\n\t\t// TODO use this.imul(this) instead?\n\t\treturn this.ipow(2);\n\t}\n\n\tdiv ( other ) {\n\t\treturn this.divmod( other )[0] ;\n\t}\n\n\tdivn ( number ) {\n\t\treturn this.div(_from_number(number)) ;\n\t}\n\n\tidiv ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.div(other).move(this);\n\t}\n\n\tidivn ( number ) {\n\t\treturn this.divn(number).move(this);\n\t}\n\n\tmod ( other ) {\n\t\treturn this.divmod( other )[1] ;\n\t}\n\n\tmodn ( number ) {\n\t\treturn this.mod(_from_number(number)) ;\n\t}\n\n\timod ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.mod(other).move(this);\n\t}\n\n\timodn ( number ) {\n\t\treturn this.modn(number).move(this);\n\t}\n\n\tdivround ( other ) {\n\t\tconst [ q , r ] = this.divmod(other) ;\n\t\tif ( r >= ( this.base / 2 | 0 ) ) increment( r , q.limbs , 0 , q.limbs.length ) ;\n\t\treturn q ;\n\t}\n\n\tdivmod ( other ) {\n\n\t\tif ( other.iszero() ) throw new ZeroDivisionError( 'Integer division by zero' ) ; // optimize\n\n\t\tconst quotient_is_negative = this.is_negative ^ other.is_negative ;\n\t\tconst r = this.base ;\n\n\t\t// The underlying algorithm does not allow leading 0's so we trim them.\n\t\tconst lj = this.limbs.length ;\n\t\tconst li = _trim_positive( this.limbs , 0 , lj ) ;\n\n\t\t// Dividend is 0\n\t\tif ( li >= lj ) return [ new Integer( this.base , 0 , [ 0 ] ) , new Integer( this.base , 0 , [ 0 ] ) ] ;\n\n\t\t// Dividend (& Remainder)\n\t\tconst D = _alloc( lj - li ) ;\n\t\t_copy( this.limbs , li , lj , D , 0 ) ;\n\n\t\t// Divisor\n\t\tconst d = other._limbs_in_base( r ) ;\n\t\tconst dj = d.length ;\n\t\tconst di = _trim_positive( d , 0 , dj ) ; // di < dj because d != 0\n\n\t\t// Quotient\n\t\tconst q = _zeros( D.length ) ;\n\n\t\t_idivmod( r , D , 0 , D.length , d , di , dj , q , 0 , q.length ) ;\n\n\t\tconst Q = new Integer( r , quotient_is_negative , q ) ; // quotient\n\t\tconst R = new Integer( r , 0 , D ) ; // remainder\n\n\t\tif ( (this.is_negative || other.is_negative ) && !jz( D , 0 , D.length ) ) {\n\n\t\t\tif ( other.is_negative ) {\n\n\t\t\t\tif ( !this.is_negative ) {\n\t\t\t\t\tincrement( r , q , 0 , q.length ) ;\n\t\t\t\t\tR.iadd( other ) ; // TODO optimize\n\t\t\t\t}\n\n\t\t\t\telse {\n\t\t\t\t\tR.negate(); // TODO optimize\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\telse {\n\t\t\t\tincrement( r , q , 0 , q.length ) ;\n\t\t\t\tR.negate().iadd( other ) ; // TODO optimize\n\t\t\t}\n\n\t\t}\n\n\t\treturn [ Q , R ] ;\n\n\t}\n\n\tidivmod ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\tconst [ q , r ] = this.divmod(other) ;\n\t\treturn [ q.move(this) , r ] ;\n\t}\n\n\topposite ( ) {\n\t\treturn new Integer( this.base , ~this.is_negative , this.limbs ) ;\n\t}\n\n\tnegate ( ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.opposite().move(this);\n\t}\n\n\tabs ( ) {\n\t\treturn this.sign() >= 0 ? this : this.opposite(this) ;\n\t}\n\n\tiabs ( ) {\n\t\treturn this.sign() >= 0 ? this : this.negate(this) ;\n\t}\n\n\tsign ( ) {\n\t\treturn this.iszero() ? 0 : this.is_negative ? -1 : 1 ;\n\t}\n\n\tiszero ( ) {\n\t\treturn jz( this.limbs , 0 , this.limbs.length ) ;\n\t}\n\n\tisone ( ) {\n\t\tif ( this.is_negative ) return false ;\n\t\treturn eq( this.limbs , 0 , this.limbs.length , [ 1 ] , 0 , 1 ) ;\n\t}\n\n\tisnonzero ( ) {\n\t\treturn !this.iszero();\n\t}\n\n\tisnegative ( ) {\n\t\treturn this.is_negative ;\n\t}\n\n\tispositive ( ) {\n\t\treturn this.sign() > 0 ;\n\t}\n\n\tisnonnegative ( ) {\n\t\treturn !this.negative();\n\t}\n\n\tisnonpositive ( ) {\n\t\treturn !this.positive() ;\n\t}\n\n\tparity ( ) {\n\t\t// TODO optimize this, there is a much faster way to test for parity\n\t\t// when the base is a multiple of two\n\t\treturn this.modn(2) ;\n\t}\n\n\tiseven ( ) {\n\t\treturn this.parity().iszero() ;\n\t}\n\n\tisodd ( ) {\n\t\treturn !this.iseven() ;\n\t}\n\n\tbin ( ) {\n\t\treturn this.toString( 2 ) ;\n\t}\n\n\toct ( ) {\n\t\treturn this.toString( 8 ) ;\n\t}\n\n\thex ( ) {\n\t\treturn this.toString( 16 ) ;\n\t}\n\n\ttoJSON ( ) {\n\t\treturn this.hex( ) ;\n\t}\n\n\tdigits ( base = DEFAULT_DISPLAY_BASE ) {\n\t\t// TODO Once #to is implemented we can rewrite this as\n\t\t// return this.to(LITTLE_ENDIAN, base, Array) ;\n\t\treturn convert( this.base , base , this.limbs , 0 , this.limbs.length ).reverse( ) ;\n\t}\n\n\tbits ( ) {\n\t\treturn this.digits( 2 ) ;\n\t}\n\n\tdivides ( other ) {\n\t\treturn other.mod( this ).iszero( ) ;\n\t}\n\n\tdivide_knowing_divisible_by ( other ) {\n\t\t// TODO optimize\n\t\treturn this.div( other ) ;\n\t}\n\n\n\tcmp ( other ) {\n\t\t// TODO optimize with _trim_positive\n\n\t\tif ( this.iszero( ) ) {\n\t\t\tif ( other.iszero( ) ) return 0 ;\n\t\t\telse if ( other.is_negative ) return 1 ;\n\t\t\telse return -1 ;\n\t\t}\n\n\t\tif ( this.is_negative < other.is_negative ) return -1 ;\n\t\tif ( this.is_negative > other.is_negative ) return 1 ;\n\n\t\tconst a = this.limbs ;\n\t\tconst b = other._limbs_in_base( this.base ) ;\n\n\t\treturn this.is_negative === 0 ?\n\t\t\tcmp( a , 0 , a.length , b , 0 , b.length ) :\n\t\t\tcmp( b , 0 , b.length , a , 0 , a.length ) ;\n\n\t}\n\n\tcmpn ( number ) {\n\t\treturn this.cmp(_from_number(number)) ;\n\t}\n\n\teq ( other ) {\n\t\treturn this.cmp( other ) === 0 ;\n\t}\n\n\teqn ( number ) {\n\t\treturn this.cmpn( number ) === 0 ;\n\t}\n\n\tge ( other ) {\n\t\treturn this.cmp( other ) >= 0 ;\n\t}\n\n\tgen ( number ) {\n\t\treturn this.cmpn( number ) >= 0 ;\n\t}\n\n\tgt ( other ) {\n\t\treturn this.cmp( other ) > 0 ;\n\t}\n\n\tgtn ( number ) {\n\t\treturn this.cmpn( number ) > 0 ;\n\t}\n\n\tle ( other ) {\n\t\treturn this.cmp( other ) <= 0 ;\n\t}\n\n\tlen ( number ) {\n\t\treturn this.cmpn( number ) <= 0 ;\n\t}\n\n\tlt ( other ) {\n\t\treturn this.cmp( other ) < 0 ;\n\t}\n\n\tltn ( number ) {\n\t\treturn this.cmpn( number ) < 0 ;\n\t}\n\n\tne ( other ) {\n\t\treturn this.cmp( other ) !== 0 ;\n\t}\n\n\tnen ( number ) {\n\t\treturn this.cmpn( number ) !== 0 ;\n\t}\n\n\tgcd ( other ) {\n\t\tconst r = this.base ;\n\t\tconst a = this.limbs ;\n\t\tconst b = other._limbs_in_base( r ) ;\n\t\tconst [ d , di , dj ] = euclidean_algorithm( r , a , 0 , a.length , b , 0 , b.length ) ;\n\t\tconst gcd = _alloc( dj - di ) ;\n\t\t_copy( d , di , dj , gcd , 0 ) ;\n\t\treturn new Integer( r , 0 , gcd ) ;\n\t}\n\n\tegcd ( other ) {\n\t\tconst r = this.base ;\n\t\tconst a = this.limbs ;\n\t\tconst b = other._limbs_in_base( r ) ;\n\t\tconst [ R0 , R0i , S0 , S0i , T0 , T0i , S1 , S1i , T1 , T1i , steps ] = extended_euclidean_algorithm( r , a , 0 , a.length , b , 0 , b.length ) ;\n\t\tconst gcd = _alloc( R0.length - R0i ) ;\n\t\t_copy( R0 , R0i , R0.length , gcd , 0 ) ;\n\t\tconst x = _alloc( S0.length - S0i ) ;\n\t\t_copy( S0 , S0i , S0.length , x , 0 ) ;\n\t\tconst y = _alloc( T0.length - T0i ) ;\n\t\t_copy( T0 , T0i , T0.length , y , 0 ) ;\n\t\tconst u = _alloc( S1.length - S1i ) ;\n\t\t_copy( S1 , S1i , S1.length , u , 0 ) ;\n\t\tconst v = _alloc( T1.length - T1i ) ;\n\t\t_copy( T1 , T1i , T1.length , v , 0 ) ;\n\t\treturn { // TODO use immutable zero\n\t\t\tgcd: new Integer(r, 0, gcd) ,\n\t\t\tx: x.length ? new Integer(r, this.is_negative ^ ((steps % 2)-1), x) : new Integer(r, 0, [0]) ,\n\t\t\ty: y.length ? new Integer(r, other.is_negative ^ (-(steps % 2)), y) : new Integer(r, 0, [0]) ,\n\t\t\tu: u.length ? new Integer(r, this.is_negative ^ (-(steps % 2)), u) : new Integer(r, 0, [0]) ,\n\t\t\tv: v.length ? new Integer(r, other.is_negative ^ ((steps % 2)-1), v) : new Integer(r, 0, [0]) ,\n\t\t} ;\n\t}\n\n\tvalueOf ( ) {\n\n\t\tif (this.gtn(MAX_NUMBER)) throw new ValueError(`Cannot call valueOf on Integer larger than ${MAX_NUMBER}. Got ${this.toString()}`) ;\n\t\tif (this.ltn(MIN_NUMBER)) throw new ValueError(`Cannot call valueOf on Integer smaller than ${MIN_NUMBER}. Got ${this.toString()}`) ;\n\n\t\tconst limbs = convert( this.base , MAX_BASE , this.limbs , 0 , this.limbs.length ) ;\n\n\t\tconst sign = this.is_negative ? -1 : 1 ;\n\n\t\tconst value = limbs.length === 2 ?\n\t\t\tlimbs[0] * MAX_BASE + limbs[1] :\n\t\t\tlimbs[0] ;\n\n\t\treturn sign * value ;\n\t}\n\n\ttoNumber ( ) {\n\t\treturn this.valueOf( ) ;\n\t}\n\n}\n", + "content": "import { DEFAULT_DISPLAY_BASE , ZeroDivisionError } from './' ;\n\nimport { ValueError } from '@aureooms/js-error' ;\n\nimport { _from_number } from './_from_number' ;\n\nimport {\n\tstringify , convert , _trim_positive ,\n\t_alloc , _copy , _zeros ,\n\tjz , cmp , eq ,\n\tadd , _sub , mul , _idivmod , _pow_double ,\n\tincrement ,\n\teuclidean_algorithm , extended_euclidean_algorithm ,\n} from '@aureooms/js-integer-big-endian' ;\n\nimport { MIN_NUMBER , MAX_NUMBER , MAX_BASE } from './_limits' ;\n\nexport class Integer {\n\n\tconstructor ( base , is_negative , limbs ) {\n\t\tthis.base = base ;\n\t\tthis.is_negative = is_negative ;\n\t\tthis.limbs = limbs ;\n\t}\n\n\tmove ( other ) {\n\t\tother.base = this.base ;\n\t\tother.is_negative = this.is_negative ;\n\t\tother.limbs = this.limbs ;\n\t\treturn other ;\n\t}\n\n\tclone ( ) {\n\t\treturn new Integer( this.base , this.is_negative , this.limbs ) ;\n\t}\n\n\t_limbs_in_base ( base ) {\n\t\t// TODO save result for later ? Maybe replace base ?\n\t\tif ( this.base === base ) return this.limbs ;\n\t\telse return convert( this.base , base , this.limbs , 0 , this.limbs.length ) ;\n\t}\n\n\ttoString ( base = DEFAULT_DISPLAY_BASE ) {\n\n\t\tif ( this.iszero( ) ) return '0' ;\n\n\t\tconst digits = stringify( this.base , base , this.limbs , 0 , this.limbs.length ) ;\n\n\t\treturn this.is_negative ? '-' + digits : digits ;\n\n\t}\n\n\tadd ( other ) {\n\n\t\tif ( this.is_negative !== other.is_negative ) {\n\n\t\t\tif ( other.is_negative ) return this.sub( other.opposite() ) ;\n\n\t\t\telse return other.sub( this.opposite() ) ;\n\n\t\t}\n\n\t\telse {\n\n\t\t\tconst result_is_negative = this.is_negative ;\n\t\t\tconst r = this.base ;\n\n\t\t\tconst a = this.limbs ;\n\n\t\t\tconst b = other._limbs_in_base( r ) ;\n\n\t\t\tconst c = _zeros( Math.max( a.length , b.length ) + 1 ) ;\n\n\t\t\tadd( r , a , 0 , a.length , b , 0 , b.length , c , 0 , c.length ) ;\n\n\t\t\treturn new Integer( r , result_is_negative , c ) ;\n\n\t\t}\n\n\t}\n\n\tiadd ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.add(other).move(this);\n\t}\n\n\taddn ( number ) {\n\t\t// TODO optimize\n\t\treturn this.add(_from_number(number)) ;\n\t}\n\n\tiaddn ( number ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.addn(number).move(this);\n\t}\n\n\tsub ( other ) {\n\n\t\tif ( this.is_negative !== other.is_negative ) {\n\n\t\t\tif ( other.is_negative ) return this.add( other.opposite() ) ;\n\n\t\t\telse return this.opposite().add( other ).opposite() ;\n\n\t\t}\n\n\t\telse {\n\n\t\t\t// /!\\ _sub needs |c| >= |a| >= |b|\n\n\t\t\tconst r = this.base ;\n\t\t\tconst a = this.limbs ;\n\t\t\tconst aj = a.length ;\n\t\t\tconst ai = _trim_positive( a , 0 , aj ) ;\n\n\t\t\tif ( ai >= aj ) return other.opposite() ;\n\n\t\t\tconst b = other._limbs_in_base( r ) ;\n\t\t\tconst bj = b.length ;\n\t\t\tconst bi = _trim_positive( b , 0 , bj ) ;\n\n\t\t\tif ( bi >= bj ) return this.clone() ;\n\n\t\t\tif ( cmp( a , ai , aj , b , bi , bj ) < 0 ) {\n\n\t\t\t\tconst c = _zeros( bj - bi ) ;\n\n\t\t\t\t_sub( r , b , bi , bj , a , ai , aj , c , 0 , c.length ) ;\n\n\t\t\t\treturn new Integer( r , ~this.is_negative , c ) ;\n\t\t\t}\n\n\t\t\telse {\n\n\t\t\t\tconst c = _zeros( aj - ai ) ;\n\n\t\t\t\t_sub( r , a , ai , aj , b , bi , bj , c , 0 , c.length ) ;\n\n\t\t\t\treturn new Integer( r , this.is_negative , c ) ;\n\n\t\t\t}\n\n\t\t}\n\n\t}\n\n\tisub ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.sub(other).move(this);\n\t}\n\n\tsubn ( number ) {\n\t\treturn this.sub(_from_number(number));\n\t}\n\n\tisubn ( number ) {\n\t\treturn this.subn(number).move(this);\n\t}\n\n\tmul ( other ) {\n\n\t\tconst result_is_negative = this.is_negative ^ other.is_negative ;\n\t\tconst r = this.base ;\n\n\t\tconst a = this.limbs ;\n\n\t\tconst b = other._limbs_in_base( r ) ;\n\n\t\tconst c = _zeros( a.length + b.length ) ;\n\n\t\tmul( r , a , 0 , a.length , b , 0 , b.length , c , 0 , c.length ) ;\n\n\t\treturn new Integer( r , result_is_negative , c ) ;\n\n\t}\n\n\timul ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.mul(other).move(this);\n\t}\n\n\tmuln ( number ) {\n\t\treturn this.mul(_from_number(number));\n\t}\n\n\timuln ( number ) {\n\t\treturn this.muln(number).move(this);\n\t}\n\n\t/**\n\t * Computes this raised to the xth power.\n\t * x is a double smaller or equal to 2^53.\n\t *\n\t * @param {Number} x The power to raise this to.\n\t * @return {Integer} this ^ x\n\t */\n\tpown ( x ) {\n\n\t\tconst is_negative = this.is_negative & x & 1 ? -1 : 0 ;\n\n\t\tconst a = this.limbs ;\n\t\tconst c = _zeros( Math.max( 1 , a.length * x ) ) ;\n\n\t\t_pow_double( this.base , x , a , 0 , a.length , c , 0 , c.length ) ;\n\n\t\treturn new Integer( this.base , is_negative , c ) ;\n\n\t}\n\n\tpow ( other ) {\n\t\treturn this.pown( other.valueOf() ) ;\n\t}\n\n\tipow ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.pow(other).move(this);\n\t}\n\n\tipown ( number ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.pown(number).move(this);\n\t}\n\n\tsquare ( ) {\n\t\t// TODO optimize but be careful with side effects\n\t\t// TODO use this.mul(this) instead?\n\t\treturn this.pown(2);\n\t}\n\n\tisquare ( ) {\n\t\t// TODO optimize but be careful with side effects\n\t\t// TODO use this.imul(this) instead?\n\t\treturn this.square().move(this);\n\t}\n\n\tdiv ( other ) {\n\t\treturn this.divmod( other )[0] ;\n\t}\n\n\tdivn ( number ) {\n\t\treturn this.div(_from_number(number)) ;\n\t}\n\n\tidiv ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.div(other).move(this);\n\t}\n\n\tidivn ( number ) {\n\t\treturn this.divn(number).move(this);\n\t}\n\n\tmod ( other ) {\n\t\treturn this.divmod( other )[1] ;\n\t}\n\n\tmodn ( number ) {\n\t\treturn this.mod(_from_number(number)) ;\n\t}\n\n\timod ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.mod(other).move(this);\n\t}\n\n\timodn ( number ) {\n\t\treturn this.modn(number).move(this);\n\t}\n\n\tdivround ( other ) {\n\t\tconst [ q , r ] = this.divmod(other) ;\n\t\tif ( r.ge(other.divn(2).addn(other.iseven() ? 0 : 1)) ) increment( q.base , q.limbs , 0 , q.limbs.length ) ;\n\t\treturn q ;\n\t}\n\n\tdivmod ( other ) {\n\n\t\tif ( other.iszero() ) throw new ZeroDivisionError( 'Integer division by zero' ) ; // optimize\n\n\t\tconst quotient_is_negative = this.is_negative ^ other.is_negative ;\n\t\tconst r = this.base ;\n\n\t\t// The underlying algorithm does not allow leading 0's so we trim them.\n\t\tconst lj = this.limbs.length ;\n\t\tconst li = _trim_positive( this.limbs , 0 , lj ) ;\n\n\t\t// Dividend is 0\n\t\tif ( li >= lj ) return [ new Integer( this.base , 0 , [ 0 ] ) , new Integer( this.base , 0 , [ 0 ] ) ] ;\n\n\t\t// Dividend (& Remainder)\n\t\tconst D = _alloc( lj - li ) ;\n\t\t_copy( this.limbs , li , lj , D , 0 ) ;\n\n\t\t// Divisor\n\t\tconst d = other._limbs_in_base( r ) ;\n\t\tconst dj = d.length ;\n\t\tconst di = _trim_positive( d , 0 , dj ) ; // di < dj because d != 0\n\n\t\t// Quotient\n\t\tconst q = _zeros( D.length ) ;\n\n\t\t_idivmod( r , D , 0 , D.length , d , di , dj , q , 0 , q.length ) ;\n\n\t\tconst Q = new Integer( r , quotient_is_negative , q ) ; // quotient\n\t\tconst R = new Integer( r , 0 , D ) ; // remainder\n\n\t\tif ( (this.is_negative || other.is_negative ) && !jz( D , 0 , D.length ) ) {\n\n\t\t\tif ( other.is_negative ) {\n\n\t\t\t\tif ( !this.is_negative ) {\n\t\t\t\t\tincrement( r , q , 0 , q.length ) ;\n\t\t\t\t\tR.iadd( other ) ; // TODO optimize\n\t\t\t\t}\n\n\t\t\t\telse {\n\t\t\t\t\tR.negate(); // TODO optimize\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\telse {\n\t\t\t\tincrement( r , q , 0 , q.length ) ;\n\t\t\t\tR.negate().iadd( other ) ; // TODO optimize\n\t\t\t}\n\n\t\t}\n\n\t\treturn [ Q , R ] ;\n\n\t}\n\n\tidivmod ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\tconst [ q , r ] = this.divmod(other) ;\n\t\treturn [ q.move(this) , r ] ;\n\t}\n\n\topposite ( ) {\n\t\treturn new Integer( this.base , ~this.is_negative , this.limbs ) ;\n\t}\n\n\tnegate ( ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.opposite().move(this);\n\t}\n\n\tabs ( ) {\n\t\treturn this.sign() >= 0 ? this : this.opposite(this) ;\n\t}\n\n\tiabs ( ) {\n\t\treturn this.abs().move(this) ;\n\t}\n\n\tsign ( ) {\n\t\treturn this.iszero() ? 0 : this.is_negative ? -1 : 1 ;\n\t}\n\n\tiszero ( ) {\n\t\treturn jz( this.limbs , 0 , this.limbs.length ) ;\n\t}\n\n\tisone ( ) {\n\t\tif ( this.is_negative ) return false ;\n\t\treturn eq( this.limbs , 0 , this.limbs.length , [ 1 ] , 0 , 1 ) ;\n\t}\n\n\tisnonzero ( ) {\n\t\treturn !this.iszero();\n\t}\n\n\tisnegative ( ) {\n\t\treturn this.is_negative === -1 ? true : false ;\n\t}\n\n\tispositive ( ) {\n\t\treturn this.sign() > 0 ;\n\t}\n\n\tisnonnegative ( ) {\n\t\treturn !this.isnegative();\n\t}\n\n\tisnonpositive ( ) {\n\t\treturn !this.ispositive() ;\n\t}\n\n\tparity ( ) {\n\t\t// TODO optimize this, there is a much faster way to test for parity\n\t\t// when the base is a multiple of two\n\t\treturn this.modn(2) ;\n\t}\n\n\tiseven ( ) {\n\t\treturn this.parity().iszero() ;\n\t}\n\n\tisodd ( ) {\n\t\treturn !this.iseven() ;\n\t}\n\n\tbin ( ) {\n\t\treturn this.toString( 2 ) ;\n\t}\n\n\toct ( ) {\n\t\treturn this.toString( 8 ) ;\n\t}\n\n\thex ( ) {\n\t\treturn this.toString( 16 ) ;\n\t}\n\n\ttoJSON ( ) {\n\t\treturn this.hex( ) ;\n\t}\n\n\tdigits ( base = DEFAULT_DISPLAY_BASE ) {\n\t\t// TODO Once #to is implemented we can rewrite this as\n\t\t// return this.to(LITTLE_ENDIAN, base, Array) ;\n\t\treturn convert( this.base , base , this.limbs , 0 , this.limbs.length ).reverse( ) ;\n\t}\n\n\tbits ( ) {\n\t\treturn this.digits( 2 ) ;\n\t}\n\n\tdivides ( other ) {\n\t\treturn other.mod( this ).iszero( ) ;\n\t}\n\n\tdivide_knowing_divisible_by ( other ) {\n\t\t// TODO optimize\n\t\treturn this.div( other ) ;\n\t}\n\n\n\tcmp ( other ) {\n\t\t// TODO optimize with _trim_positive\n\n\t\tif ( this.iszero( ) ) {\n\t\t\tif ( other.iszero( ) ) return 0 ;\n\t\t\telse if ( other.is_negative ) return 1 ;\n\t\t\telse return -1 ;\n\t\t}\n\n\t\tif ( this.is_negative < other.is_negative ) return -1 ;\n\t\tif ( this.is_negative > other.is_negative ) return 1 ;\n\n\t\tconst a = this.limbs ;\n\t\tconst b = other._limbs_in_base( this.base ) ;\n\n\t\treturn this.is_negative === 0 ?\n\t\t\tcmp( a , 0 , a.length , b , 0 , b.length ) :\n\t\t\tcmp( b , 0 , b.length , a , 0 , a.length ) ;\n\n\t}\n\n\tcmpn ( number ) {\n\t\treturn this.cmp(_from_number(number)) ;\n\t}\n\n\teq ( other ) {\n\t\treturn this.cmp( other ) === 0 ;\n\t}\n\n\teqn ( number ) {\n\t\treturn this.cmpn( number ) === 0 ;\n\t}\n\n\tge ( other ) {\n\t\treturn this.cmp( other ) >= 0 ;\n\t}\n\n\tgen ( number ) {\n\t\treturn this.cmpn( number ) >= 0 ;\n\t}\n\n\tgt ( other ) {\n\t\treturn this.cmp( other ) > 0 ;\n\t}\n\n\tgtn ( number ) {\n\t\treturn this.cmpn( number ) > 0 ;\n\t}\n\n\tle ( other ) {\n\t\treturn this.cmp( other ) <= 0 ;\n\t}\n\n\tlen ( number ) {\n\t\treturn this.cmpn( number ) <= 0 ;\n\t}\n\n\tlt ( other ) {\n\t\treturn this.cmp( other ) < 0 ;\n\t}\n\n\tltn ( number ) {\n\t\treturn this.cmpn( number ) < 0 ;\n\t}\n\n\tne ( other ) {\n\t\treturn this.cmp( other ) !== 0 ;\n\t}\n\n\tnen ( number ) {\n\t\treturn this.cmpn( number ) !== 0 ;\n\t}\n\n\tgcd ( other ) {\n\t\tconst r = this.base ;\n\t\tconst a = this.limbs ;\n\t\tconst b = other._limbs_in_base( r ) ;\n\t\tconst [ d , di , dj ] = euclidean_algorithm( r , a , 0 , a.length , b , 0 , b.length ) ;\n\t\tconst gcd = _alloc( dj - di ) ;\n\t\t_copy( d , di , dj , gcd , 0 ) ;\n\t\treturn new Integer( r , 0 , gcd ) ;\n\t}\n\n\tegcd ( other ) {\n\t\tconst r = this.base ;\n\t\tconst a = this.limbs ;\n\t\tconst b = other._limbs_in_base( r ) ;\n\t\tconst [ R0 , R0i , S0 , S0i , T0 , T0i , S1 , S1i , T1 , T1i , steps ] = extended_euclidean_algorithm( r , a , 0 , a.length , b , 0 , b.length ) ;\n\t\tconst gcd = _alloc( R0.length - R0i ) ;\n\t\t_copy( R0 , R0i , R0.length , gcd , 0 ) ;\n\t\tconst x = _alloc( S0.length - S0i ) ;\n\t\t_copy( S0 , S0i , S0.length , x , 0 ) ;\n\t\tconst y = _alloc( T0.length - T0i ) ;\n\t\t_copy( T0 , T0i , T0.length , y , 0 ) ;\n\t\tconst u = _alloc( S1.length - S1i ) ;\n\t\t_copy( S1 , S1i , S1.length , u , 0 ) ;\n\t\tconst v = _alloc( T1.length - T1i ) ;\n\t\t_copy( T1 , T1i , T1.length , v , 0 ) ;\n\t\treturn { // TODO use immutable zero\n\t\t\tgcd: new Integer(r, 0, gcd) ,\n\t\t\tx: x.length ? new Integer(r, this.is_negative ^ ((steps % 2)-1), x) : new Integer(r, 0, [0]) ,\n\t\t\ty: y.length ? new Integer(r, other.is_negative ^ (-(steps % 2)), y) : new Integer(r, 0, [0]) ,\n\t\t\tu: u.length ? new Integer(r, this.is_negative ^ (-(steps % 2)), u) : new Integer(r, 0, [0]) ,\n\t\t\tv: v.length ? new Integer(r, other.is_negative ^ ((steps % 2)-1), v) : new Integer(r, 0, [0]) ,\n\t\t} ;\n\t}\n\n\tvalueOf ( ) {\n\n\t\tif (this.gtn(MAX_NUMBER)) throw new ValueError(`Cannot call valueOf on Integer larger than ${MAX_NUMBER}. Got ${this.toString()}`) ;\n\t\tif (this.ltn(MIN_NUMBER)) throw new ValueError(`Cannot call valueOf on Integer smaller than ${MIN_NUMBER}. Got ${this.toString()}`) ;\n\n\t\tconst limbs = convert( this.base , MAX_BASE , this.limbs , 0 , this.limbs.length ) ;\n\n\t\tconst sign = this.is_negative ? -1 : 1 ;\n\n\t\tconst value = limbs.length === 2 ?\n\t\t\tlimbs[0] * MAX_BASE + limbs[1] :\n\t\t\tlimbs[0] ;\n\n\t\treturn sign * value ;\n\t}\n\n\ttoNumber ( ) {\n\t\treturn this.valueOf( ) ;\n\t}\n\n}\n", "static": true, "longname": "/home/aureooms/dev/js/js-integer/src/Integer.js", "access": "public", @@ -2556,7 +2556,7 @@ "__docId__": 132, "kind": "file", "name": "src/IntegerRing.js", - "content": "import { Integer } from './' ;\nimport { DEFAULT_DISPLAY_BASE } from './' ;\nimport { parse , convert } from '@aureooms/js-integer-big-endian' ;\nimport { TypeError , ValueError } from '@aureooms/js-error' ;\nimport { _from_number } from './_from_number' ;\n\nexport class IntegerRing {\n\n\tconstructor ( name , base ) {\n\t\tthis.name = name ;\n\t\tthis.base = base ;\n\t}\n\n\tcharacteristic ( ) {\n\t\treturn this.$0() ;\n\t}\n\n\tfrom ( object , base = undefined , is_negative = 0 ) {\n\n\t\tif ( object === null || object === undefined ) return this.$0();\n\n\t\tswitch ( object.constructor.prototype ) {\n\n\t\t\tcase Number.prototype :\n\t\t\t\tif ( base !== undefined ) throw new ValueError('IntegerRing#from: using the base parameter does not make sense when passing a Number.') ;\n\t\t\t\treturn this.from_number( object , is_negative ) ;\n\n\t\t\tcase String.prototype :\n\t\t\t\tif ( base === undefined ) base = DEFAULT_DISPLAY_BASE ;\n\t\t\t\treturn this.from_string( object , base , is_negative ) ;\n\n\t\t\tcase Array.prototype :\n\t\t\t\tif ( base === undefined ) base = this.base ;\n\t\t\t\treturn this.from_digits( object , base , is_negative ) ;\n\n\t\t\tcase Boolean.prototype :\n\t\t\t\tif ( base !== undefined ) throw new ValueError('IntegerRing#from: using the base parameter does not make sense when passing a Boolean.') ;\n\t\t\t\treturn this.from_number( +object , is_negative ) ;\n\n\t\t\tcase Integer.prototype :\n\t\t\t\tif ( base !== undefined ) throw new ValueError('IntegerRing#from: using the base parameter does not make sense when passing an Integer.') ;\n\t\t\t\treturn new Integer( object.base , object.is_negative ^ is_negative , object.limbs ) ;\n\n\t\t\tdefault:\n\t\t\t\tthrow new TypeError(`IntegerRing#from cannot handle ${object.constructor.prototype}`) ;\n\n\t\t}\n\n\t}\n\n\tfrom_number ( number , is_negative = 0 ) {\n\n\t\tconst dirty = _from_number(number) ;\n\n\t\tconst limbs = dirty._limbs_in_base(this.base) ;\n\n\t\treturn new Integer( this.base , is_negative ^ dirty.is_negative , limbs ) ;\n\n\t}\n\n\tfrom_string ( string , base = 10 , is_negative = 0 ) {\n\n\t\tif ( string.length === 0 ) throw new ValueError( 'IntegerRing#from_string cannot parse empty string.' ) ;\n\n\t\tif ( string[0] === '-' ) return this.from_string( string.slice(1) , base , ~is_negative ) ;\n\n\t\tif ( string[0] === '+' ) return this.from_string( string.slice(1) , base , is_negative ) ;\n\n\t\tconst limbs = parse( base , this.base , string ) ;\n\n\t\treturn new Integer( this.base , is_negative , limbs ) ;\n\n\t}\n\n\tfrom_digits ( digits , base , is_negative ) {\n\n\t\tconst limbs = convert( base , this.base , digits.slice().reverse() , 0 , digits.length ) ;\n\n\t\treturn new Integer( this.base , is_negative , limbs ) ;\n\n\t}\n\n\ttoString ( ) {\n\t\treturn this.name ;\n\t}\n\n\t$0 ( ) {\n\t\t// TODO Could we use an empty array instead ?\n\t\treturn new Integer( this.base , 0 , [ 0 ] ) ;\n\t}\n\n\t$1 ( ) {\n\t\treturn new Integer( this.base , 0 , [ 1 ] ) ;\n\t}\n\n\t$_1 ( ) {\n\t\treturn new Integer( this.base , -1 , [ 1 ] ) ;\n\t}\n\n\thas ( x ) {\n\t\tif ( x instanceof Integer ) return true ;\n\t\treturn Number.isInteger(x) ;\n\t}\n\n\tmin ( a , b ) {\n\t\treturn a.le(b) ? a : b ;\n\t}\n\n\tmax ( a , b ) {\n\t\treturn a.ge(b) ? a : b ;\n\t}\n\n}\n", + "content": "import { Integer } from './' ;\nimport { DEFAULT_DISPLAY_BASE } from './' ;\nimport { parse , convert } from '@aureooms/js-integer-big-endian' ;\nimport { TypeError , ValueError } from '@aureooms/js-error' ;\nimport { _from_number } from './_from_number' ;\n\nexport class IntegerRing {\n\n\tconstructor ( name , base ) {\n\t\tthis.name = name ;\n\t\tthis.base = base ;\n\t}\n\n\tcharacteristic ( ) {\n\t\treturn this.$0() ;\n\t}\n\n\tfrom ( object , base = undefined , is_negative = 0 ) {\n\n\t\tif ( object === null || object === undefined ) return this.$0();\n\n\t\tswitch ( object.constructor.prototype ) {\n\n\t\t\tcase Number.prototype :\n\t\t\t\tif ( base !== undefined ) throw new ValueError('IntegerRing#from: using the base parameter does not make sense when passing a Number.') ;\n\t\t\t\treturn this.from_number( object , is_negative ) ;\n\n\t\t\tcase String.prototype :\n\t\t\t\tif ( base === undefined ) base = DEFAULT_DISPLAY_BASE ;\n\t\t\t\treturn this.from_string( object , base , is_negative ) ;\n\n\t\t\tcase Array.prototype :\n\t\t\t\tif ( base === undefined ) base = this.base ;\n\t\t\t\treturn this.from_digits( object , base , is_negative ) ;\n\n\t\t\tcase Boolean.prototype :\n\t\t\t\tif ( base !== undefined ) throw new ValueError('IntegerRing#from: using the base parameter does not make sense when passing a Boolean.') ;\n\t\t\t\treturn this.from_number( +object , is_negative ) ;\n\n\t\t\tcase Integer.prototype :\n\t\t\t\tif ( base !== undefined ) throw new ValueError('IntegerRing#from: using the base parameter does not make sense when passing an Integer.') ;\n\t\t\t\treturn new Integer( object.base , object.is_negative ^ is_negative , object.limbs ) ;\n\n\t\t\tdefault:\n\t\t\t\tthrow new TypeError(`IntegerRing#from cannot handle ${object.constructor.prototype}`) ;\n\n\t\t}\n\n\t}\n\n\tfrom_number ( number , is_negative = 0 ) {\n\n\t\tconst dirty = _from_number(number) ;\n\n\t\tconst limbs = dirty._limbs_in_base(this.base) ;\n\n\t\treturn new Integer( this.base , is_negative ^ dirty.is_negative , limbs ) ;\n\n\t}\n\n\tfrom_string ( string , base = 10 , is_negative = 0 ) {\n\n\t\tif ( string.length === 0 ) throw new ValueError( 'IntegerRing#from_string cannot parse empty string.' ) ;\n\n\t\tif ( string[0] === '-' ) return this.from_string( string.slice(1) , base , ~is_negative ) ;\n\n\t\tif ( string[0] === '+' ) return this.from_string( string.slice(1) , base , is_negative ) ;\n\n\t\tconst limbs = parse( base , this.base , string ) ;\n\n\t\tif (limbs.length === 1 && limbs[0] === 0) is_negative = 0 ;\n\n\t\treturn new Integer( this.base , is_negative , limbs ) ;\n\n\t}\n\n\tfrom_digits ( digits , base , is_negative ) {\n\n\t\tconst limbs = convert( base , this.base , digits.slice().reverse() , 0 , digits.length ) ;\n\n\t\treturn new Integer( this.base , is_negative , limbs ) ;\n\n\t}\n\n\ttoString ( ) {\n\t\treturn this.name ;\n\t}\n\n\t$0 ( ) {\n\t\t// TODO Could we use an empty array instead ?\n\t\treturn new Integer( this.base , 0 , [ 0 ] ) ;\n\t}\n\n\t$1 ( ) {\n\t\treturn new Integer( this.base , 0 , [ 1 ] ) ;\n\t}\n\n\t$_1 ( ) {\n\t\treturn new Integer( this.base , -1 , [ 1 ] ) ;\n\t}\n\n\thas ( x ) {\n\t\tif ( x instanceof Integer ) return true ;\n\t\treturn Number.isInteger(x) ;\n\t}\n\n\tmin ( a , b ) {\n\t\treturn a.le(b) ? a : b ;\n\t}\n\n\tmax ( a , b ) {\n\t\treturn a.ge(b) ? a : b ;\n\t}\n\n}\n", "static": true, "longname": "/home/aureooms/dev/js/js-integer/src/IntegerRing.js", "access": "public", @@ -2784,7 +2784,7 @@ "longname": "src/IntegerRing.js~IntegerRing#from_digits", "access": "public", "description": null, - "lineNumber": 75, + "lineNumber": 77, "undocument": true, "params": [ { @@ -2823,7 +2823,7 @@ "longname": "src/IntegerRing.js~IntegerRing#toString", "access": "public", "description": null, - "lineNumber": 83, + "lineNumber": 85, "undocument": true, "params": [], "return": { @@ -2843,7 +2843,7 @@ "longname": "src/IntegerRing.js~IntegerRing#$0", "access": "public", "description": null, - "lineNumber": 87, + "lineNumber": 89, "undocument": true, "params": [], "return": { @@ -2863,7 +2863,7 @@ "longname": "src/IntegerRing.js~IntegerRing#$1", "access": "public", "description": null, - "lineNumber": 92, + "lineNumber": 94, "undocument": true, "params": [], "return": { @@ -2883,7 +2883,7 @@ "longname": "src/IntegerRing.js~IntegerRing#$_1", "access": "public", "description": null, - "lineNumber": 96, + "lineNumber": 98, "undocument": true, "params": [], "return": { @@ -2903,7 +2903,7 @@ "longname": "src/IntegerRing.js~IntegerRing#has", "access": "public", "description": null, - "lineNumber": 100, + "lineNumber": 102, "undocument": true, "params": [ { @@ -2930,7 +2930,7 @@ "longname": "src/IntegerRing.js~IntegerRing#min", "access": "public", "description": null, - "lineNumber": 105, + "lineNumber": 107, "undocument": true, "params": [ { @@ -2963,7 +2963,7 @@ "longname": "src/IntegerRing.js~IntegerRing#max", "access": "public", "description": null, - "lineNumber": 109, + "lineNumber": 111, "undocument": true, "params": [ { @@ -3832,7 +3832,7 @@ }, { "kind": "packageJSON", - "content": "{\n \"name\": \"@aureooms/js-integer\",\n \"description\": \"Integers for JavaScript\",\n \"version\": \"5.0.0\",\n \"author\": \"Aurélien Ooms \",\n \"ava\": {\n \"require\": [\n \"@babel/polyfill\",\n \"@babel/register\"\n ],\n \"files\": [\n \"test/src/**/*\"\n ],\n \"timeout\": \"1m\",\n \"concurrency\": 8\n },\n \"babel\": {\n \"presets\": [\n \"@babel/preset-env\"\n ],\n \"env\": {\n \"development\": {\n \"sourceMaps\": \"inline\"\n }\n }\n },\n \"bugs\": {\n \"url\": \"https://github.com/aureooms/js-integer/issues\"\n },\n \"dependencies\": {\n \"@aureooms/js-error\": \"^4.0.0\",\n \"@aureooms/js-integer-big-endian\": \"^8.0.0\"\n },\n \"devDependencies\": {\n \"@aureooms/js-algorithms\": \"3.0.7\",\n \"@aureooms/js-array\": \"4.0.0\",\n \"@aureooms/js-itertools\": \"^4.0.0\",\n \"@aureooms/js-operator\": \"1.0.2\",\n \"@aureooms/js-random\": \"2.0.0\",\n \"@aureooms/js-string\": \"0.2.0\",\n \"@babel/cli\": \"7.8.4\",\n \"@babel/core\": \"7.9.6\",\n \"@babel/polyfill\": \"7.8.7\",\n \"@babel/preset-env\": \"7.9.6\",\n \"@babel/register\": \"7.9.0\",\n \"ava\": \"3.8.1\",\n \"coveralls\": \"3.1.0\",\n \"esdoc\": \"1.1.0\",\n \"esdoc-inject-script-plugin\": \"1.0.0\",\n \"esdoc-inject-style-plugin\": \"1.0.0\",\n \"esdoc-standard-plugin\": \"1.0.0\",\n \"np\": \"6.2.3\",\n \"nyc\": \"15.0.1\"\n },\n \"files\": [\n \"lib\"\n ],\n \"homepage\": \"https://aureooms.github.io/js-integer\",\n \"keywords\": [\n \"algorithm\",\n \"arithmetic\",\n \"bignum\",\n \"complexity\",\n \"integer\",\n \"javascript\",\n \"js\",\n \"library\",\n \"logic\",\n \"mpa\",\n \"multi-precision\"\n ],\n \"license\": \"AGPL-3.0\",\n \"main\": \"lib/index.js\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/aureooms/js-integer.git\"\n },\n \"scripts\": {\n \"build\": \"rm -rf lib && babel src -d lib\",\n \"cover\": \"nyc --reporter=lcov npm test\",\n \"esdoc\": \"esdoc\",\n \"prepare\": \"npm run build\",\n \"release\": \"np\",\n \"test\": \"ava\"\n }\n}\n", + "content": "{\n \"name\": \"@aureooms/js-integer\",\n \"description\": \"Integers for JavaScript\",\n \"version\": \"5.0.1\",\n \"author\": \"Aurélien Ooms \",\n \"ava\": {\n \"require\": [\n \"@babel/polyfill\",\n \"@babel/register\"\n ],\n \"files\": [\n \"test/src/**/*\"\n ],\n \"timeout\": \"1m\",\n \"concurrency\": 8\n },\n \"babel\": {\n \"presets\": [\n \"@babel/preset-env\"\n ],\n \"env\": {\n \"development\": {\n \"sourceMaps\": \"inline\"\n }\n }\n },\n \"bugs\": {\n \"url\": \"https://github.com/aureooms/js-integer/issues\"\n },\n \"dependencies\": {\n \"@aureooms/js-error\": \"^4.0.0\",\n \"@aureooms/js-integer-big-endian\": \"^8.0.0\"\n },\n \"devDependencies\": {\n \"@aureooms/js-algorithms\": \"3.0.7\",\n \"@aureooms/js-array\": \"4.0.0\",\n \"@aureooms/js-itertools\": \"4.0.0\",\n \"@aureooms/js-operator\": \"1.0.2\",\n \"@aureooms/js-random\": \"2.0.0\",\n \"@aureooms/js-string\": \"0.2.0\",\n \"@babel/cli\": \"7.8.4\",\n \"@babel/core\": \"7.9.6\",\n \"@babel/polyfill\": \"7.8.7\",\n \"@babel/preset-env\": \"7.9.6\",\n \"@babel/register\": \"7.9.0\",\n \"ava\": \"3.8.1\",\n \"coveralls\": \"3.1.0\",\n \"esdoc\": \"1.1.0\",\n \"esdoc-inject-script-plugin\": \"1.0.0\",\n \"esdoc-inject-style-plugin\": \"1.0.0\",\n \"esdoc-standard-plugin\": \"1.0.0\",\n \"np\": \"6.2.3\",\n \"nyc\": \"15.0.1\"\n },\n \"files\": [\n \"lib\"\n ],\n \"homepage\": \"https://aureooms.github.io/js-integer\",\n \"keywords\": [\n \"algorithm\",\n \"arithmetic\",\n \"bignum\",\n \"complexity\",\n \"integer\",\n \"javascript\",\n \"js\",\n \"library\",\n \"logic\",\n \"mpa\",\n \"multi-precision\"\n ],\n \"license\": \"AGPL-3.0\",\n \"main\": \"lib/index.js\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/aureooms/js-integer.git\"\n },\n \"scripts\": {\n \"build\": \"rm -rf lib && babel src -d lib\",\n \"cover\": \"nyc --reporter=lcov npm test\",\n \"esdoc\": \"esdoc\",\n \"prepare\": \"npm run build\",\n \"release\": \"np\",\n \"test\": \"ava\"\n }\n}\n", "longname": "/home/aureooms/dev/js/js-integer/package.json", "name": "package.json", "static": true, diff --git a/source.html b/source.html index 10ba1f4..9d7f2c6 100644 --- a/source.html +++ b/source.html @@ -96,17 +96,17 @@ src/Integer.js Integer 1 %1/79 - 12401 byte + 12446 byte 566 - 2020-05-01 22:06:10 (UTC) + 2020-05-01 23:33:05 (UTC) - src/IntegerRing.js + src/IntegerRing.js IntegerRing 0 %0/16 - 3054 byte - 113 - 2020-05-01 22:06:10 (UTC) + 3117 byte + 115 + 2020-05-01 23:04:35 (UTC) src/ZZ.js From 96f6b854dd8b6f5aa52c589baa9848789d7e56c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Ooms?= Date: Mon, 4 May 2020 11:38:52 +0200 Subject: [PATCH 09/15] Generate docs. --- ast/source/integer.js.json | 12056 +++++++++++++--- class/src/Integer.js~Integer.html | 12 + class/src/IntegerRing.js~IntegerRing.html | 12 + ...eroDivisionError.js~ZeroDivisionError.html | 12 + coverage.json | 20 +- file/src/DEFAULT_DISPLAY_BASE.js.html | 12 + file/src/DEFAULT_REPRESENTATION_BASE.js.html | 12 + file/src/Integer.js.html | 12 + file/src/IntegerRing.js.html | 12 + file/src/ZZ.js.html | 12 + file/src/ZeroDivisionError.js.html | 12 + file/src/_from_number.js.html | 12 + file/src/_limits.js.html | 12 + file/src/index.js.html | 12 + file/src/integer.js.html | 60 + function/index.html | 1488 +- identifiers.html | 348 + index.html | 12 + index.json | 436 +- script/search_index.js | 72 + source.html | 38 +- variable/index.html | 12 + 22 files changed, 12581 insertions(+), 2105 deletions(-) diff --git a/ast/source/integer.js.json b/ast/source/integer.js.json index 3e2ee0d..790b1ec 100644 --- a/ast/source/integer.js.json +++ b/ast/source/integer.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 1297, + "end": 2197, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 70, + "line": 118, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 1297, + "end": 2197, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 70, + "line": 118, "column": 0 } }, @@ -3672,16 +3672,7981 @@ "leadingComments": [], "trailingComments": [] } + }, + { + "type": "ExportNamedDeclaration", + "start": 1298, + "end": 1370, + "loc": { + "start": { + "line": 71, + "column": 0 + }, + "end": { + "line": 73, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 1305, + "end": 1370, + "loc": { + "start": { + "line": 71, + "column": 7 + }, + "end": { + "line": 73, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 1314, + "end": 1318, + "loc": { + "start": { + "line": 71, + "column": 16 + }, + "end": { + "line": 71, + "column": 20 + }, + "identifierName": "addn" + }, + "name": "addn" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1321, + "end": 1326, + "loc": { + "start": { + "line": 71, + "column": 23 + }, + "end": { + "line": 71, + "column": 28 + }, + "identifierName": "first" + }, + "name": "first" + }, + { + "type": "Identifier", + "start": 1329, + "end": 1335, + "loc": { + "start": { + "line": 71, + "column": 31 + }, + "end": { + "line": 71, + "column": 37 + }, + "identifierName": "second" + }, + "name": "second" + } + ], + "body": { + "type": "BlockStatement", + "start": 1338, + "end": 1370, + "loc": { + "start": { + "line": 71, + "column": 40 + }, + "end": { + "line": 73, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1341, + "end": 1368, + "loc": { + "start": { + "line": 72, + "column": 1 + }, + "end": { + "line": 72, + "column": 28 + } + }, + "argument": { + "type": "CallExpression", + "start": 1348, + "end": 1366, + "loc": { + "start": { + "line": 72, + "column": 8 + }, + "end": { + "line": 72, + "column": 26 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1348, + "end": 1358, + "loc": { + "start": { + "line": 72, + "column": 8 + }, + "end": { + "line": 72, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 1348, + "end": 1353, + "loc": { + "start": { + "line": 72, + "column": 8 + }, + "end": { + "line": 72, + "column": 13 + }, + "identifierName": "first" + }, + "name": "first" + }, + "property": { + "type": "Identifier", + "start": 1354, + "end": 1358, + "loc": { + "start": { + "line": 72, + "column": 14 + }, + "end": { + "line": 72, + "column": 18 + }, + "identifierName": "addn" + }, + "name": "addn" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1359, + "end": 1365, + "loc": { + "start": { + "line": 72, + "column": 19 + }, + "end": { + "line": 72, + "column": 25 + }, + "identifierName": "second" + }, + "name": "second" + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [], + "trailingComments": [] + } + }, + { + "type": "ExportNamedDeclaration", + "start": 1372, + "end": 1446, + "loc": { + "start": { + "line": 75, + "column": 0 + }, + "end": { + "line": 77, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 1379, + "end": 1446, + "loc": { + "start": { + "line": 75, + "column": 7 + }, + "end": { + "line": 77, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 1388, + "end": 1393, + "loc": { + "start": { + "line": 75, + "column": 16 + }, + "end": { + "line": 75, + "column": 21 + }, + "identifierName": "iaddn" + }, + "name": "iaddn" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1396, + "end": 1401, + "loc": { + "start": { + "line": 75, + "column": 24 + }, + "end": { + "line": 75, + "column": 29 + }, + "identifierName": "first" + }, + "name": "first" + }, + { + "type": "Identifier", + "start": 1404, + "end": 1410, + "loc": { + "start": { + "line": 75, + "column": 32 + }, + "end": { + "line": 75, + "column": 38 + }, + "identifierName": "second" + }, + "name": "second" + } + ], + "body": { + "type": "BlockStatement", + "start": 1413, + "end": 1446, + "loc": { + "start": { + "line": 75, + "column": 41 + }, + "end": { + "line": 77, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1416, + "end": 1444, + "loc": { + "start": { + "line": 76, + "column": 1 + }, + "end": { + "line": 76, + "column": 29 + } + }, + "argument": { + "type": "CallExpression", + "start": 1423, + "end": 1442, + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 76, + "column": 27 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1423, + "end": 1434, + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 76, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 1423, + "end": 1428, + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 76, + "column": 13 + }, + "identifierName": "first" + }, + "name": "first" + }, + "property": { + "type": "Identifier", + "start": 1429, + "end": 1434, + "loc": { + "start": { + "line": 76, + "column": 14 + }, + "end": { + "line": 76, + "column": 19 + }, + "identifierName": "iaddn" + }, + "name": "iaddn" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1435, + "end": 1441, + "loc": { + "start": { + "line": 76, + "column": 20 + }, + "end": { + "line": 76, + "column": 26 + }, + "identifierName": "second" + }, + "name": "second" + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [], + "trailingComments": [] + } + }, + { + "type": "ExportNamedDeclaration", + "start": 1448, + "end": 1520, + "loc": { + "start": { + "line": 79, + "column": 0 + }, + "end": { + "line": 81, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 1455, + "end": 1520, + "loc": { + "start": { + "line": 79, + "column": 7 + }, + "end": { + "line": 81, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 1464, + "end": 1468, + "loc": { + "start": { + "line": 79, + "column": 16 + }, + "end": { + "line": 79, + "column": 20 + }, + "identifierName": "subn" + }, + "name": "subn" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1471, + "end": 1476, + "loc": { + "start": { + "line": 79, + "column": 23 + }, + "end": { + "line": 79, + "column": 28 + }, + "identifierName": "first" + }, + "name": "first" + }, + { + "type": "Identifier", + "start": 1479, + "end": 1485, + "loc": { + "start": { + "line": 79, + "column": 31 + }, + "end": { + "line": 79, + "column": 37 + }, + "identifierName": "second" + }, + "name": "second" + } + ], + "body": { + "type": "BlockStatement", + "start": 1488, + "end": 1520, + "loc": { + "start": { + "line": 79, + "column": 40 + }, + "end": { + "line": 81, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1491, + "end": 1518, + "loc": { + "start": { + "line": 80, + "column": 1 + }, + "end": { + "line": 80, + "column": 28 + } + }, + "argument": { + "type": "CallExpression", + "start": 1498, + "end": 1516, + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 26 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1498, + "end": 1508, + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 1498, + "end": 1503, + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 13 + }, + "identifierName": "first" + }, + "name": "first" + }, + "property": { + "type": "Identifier", + "start": 1504, + "end": 1508, + "loc": { + "start": { + "line": 80, + "column": 14 + }, + "end": { + "line": 80, + "column": 18 + }, + "identifierName": "subn" + }, + "name": "subn" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1509, + "end": 1515, + "loc": { + "start": { + "line": 80, + "column": 19 + }, + "end": { + "line": 80, + "column": 25 + }, + "identifierName": "second" + }, + "name": "second" + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [], + "trailingComments": [] + } + }, + { + "type": "ExportNamedDeclaration", + "start": 1522, + "end": 1596, + "loc": { + "start": { + "line": 83, + "column": 0 + }, + "end": { + "line": 85, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 1529, + "end": 1596, + "loc": { + "start": { + "line": 83, + "column": 7 + }, + "end": { + "line": 85, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 1538, + "end": 1543, + "loc": { + "start": { + "line": 83, + "column": 16 + }, + "end": { + "line": 83, + "column": 21 + }, + "identifierName": "isubn" + }, + "name": "isubn" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1546, + "end": 1551, + "loc": { + "start": { + "line": 83, + "column": 24 + }, + "end": { + "line": 83, + "column": 29 + }, + "identifierName": "first" + }, + "name": "first" + }, + { + "type": "Identifier", + "start": 1554, + "end": 1560, + "loc": { + "start": { + "line": 83, + "column": 32 + }, + "end": { + "line": 83, + "column": 38 + }, + "identifierName": "second" + }, + "name": "second" + } + ], + "body": { + "type": "BlockStatement", + "start": 1563, + "end": 1596, + "loc": { + "start": { + "line": 83, + "column": 41 + }, + "end": { + "line": 85, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1566, + "end": 1594, + "loc": { + "start": { + "line": 84, + "column": 1 + }, + "end": { + "line": 84, + "column": 29 + } + }, + "argument": { + "type": "CallExpression", + "start": 1573, + "end": 1592, + "loc": { + "start": { + "line": 84, + "column": 8 + }, + "end": { + "line": 84, + "column": 27 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1573, + "end": 1584, + "loc": { + "start": { + "line": 84, + "column": 8 + }, + "end": { + "line": 84, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 1573, + "end": 1578, + "loc": { + "start": { + "line": 84, + "column": 8 + }, + "end": { + "line": 84, + "column": 13 + }, + "identifierName": "first" + }, + "name": "first" + }, + "property": { + "type": "Identifier", + "start": 1579, + "end": 1584, + "loc": { + "start": { + "line": 84, + "column": 14 + }, + "end": { + "line": 84, + "column": 19 + }, + "identifierName": "isubn" + }, + "name": "isubn" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1585, + "end": 1591, + "loc": { + "start": { + "line": 84, + "column": 20 + }, + "end": { + "line": 84, + "column": 26 + }, + "identifierName": "second" + }, + "name": "second" + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [], + "trailingComments": [] + } + }, + { + "type": "ExportNamedDeclaration", + "start": 1598, + "end": 1670, + "loc": { + "start": { + "line": 87, + "column": 0 + }, + "end": { + "line": 89, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 1605, + "end": 1670, + "loc": { + "start": { + "line": 87, + "column": 7 + }, + "end": { + "line": 89, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 1614, + "end": 1618, + "loc": { + "start": { + "line": 87, + "column": 16 + }, + "end": { + "line": 87, + "column": 20 + }, + "identifierName": "muln" + }, + "name": "muln" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1621, + "end": 1626, + "loc": { + "start": { + "line": 87, + "column": 23 + }, + "end": { + "line": 87, + "column": 28 + }, + "identifierName": "first" + }, + "name": "first" + }, + { + "type": "Identifier", + "start": 1629, + "end": 1635, + "loc": { + "start": { + "line": 87, + "column": 31 + }, + "end": { + "line": 87, + "column": 37 + }, + "identifierName": "second" + }, + "name": "second" + } + ], + "body": { + "type": "BlockStatement", + "start": 1638, + "end": 1670, + "loc": { + "start": { + "line": 87, + "column": 40 + }, + "end": { + "line": 89, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1641, + "end": 1668, + "loc": { + "start": { + "line": 88, + "column": 1 + }, + "end": { + "line": 88, + "column": 28 + } + }, + "argument": { + "type": "CallExpression", + "start": 1648, + "end": 1666, + "loc": { + "start": { + "line": 88, + "column": 8 + }, + "end": { + "line": 88, + "column": 26 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1648, + "end": 1658, + "loc": { + "start": { + "line": 88, + "column": 8 + }, + "end": { + "line": 88, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 1648, + "end": 1653, + "loc": { + "start": { + "line": 88, + "column": 8 + }, + "end": { + "line": 88, + "column": 13 + }, + "identifierName": "first" + }, + "name": "first" + }, + "property": { + "type": "Identifier", + "start": 1654, + "end": 1658, + "loc": { + "start": { + "line": 88, + "column": 14 + }, + "end": { + "line": 88, + "column": 18 + }, + "identifierName": "muln" + }, + "name": "muln" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1659, + "end": 1665, + "loc": { + "start": { + "line": 88, + "column": 19 + }, + "end": { + "line": 88, + "column": 25 + }, + "identifierName": "second" + }, + "name": "second" + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [], + "trailingComments": [] + } + }, + { + "type": "ExportNamedDeclaration", + "start": 1672, + "end": 1746, + "loc": { + "start": { + "line": 91, + "column": 0 + }, + "end": { + "line": 93, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 1679, + "end": 1746, + "loc": { + "start": { + "line": 91, + "column": 7 + }, + "end": { + "line": 93, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 1688, + "end": 1693, + "loc": { + "start": { + "line": 91, + "column": 16 + }, + "end": { + "line": 91, + "column": 21 + }, + "identifierName": "imuln" + }, + "name": "imuln" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1696, + "end": 1701, + "loc": { + "start": { + "line": 91, + "column": 24 + }, + "end": { + "line": 91, + "column": 29 + }, + "identifierName": "first" + }, + "name": "first" + }, + { + "type": "Identifier", + "start": 1704, + "end": 1710, + "loc": { + "start": { + "line": 91, + "column": 32 + }, + "end": { + "line": 91, + "column": 38 + }, + "identifierName": "second" + }, + "name": "second" + } + ], + "body": { + "type": "BlockStatement", + "start": 1713, + "end": 1746, + "loc": { + "start": { + "line": 91, + "column": 41 + }, + "end": { + "line": 93, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1716, + "end": 1744, + "loc": { + "start": { + "line": 92, + "column": 1 + }, + "end": { + "line": 92, + "column": 29 + } + }, + "argument": { + "type": "CallExpression", + "start": 1723, + "end": 1742, + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 92, + "column": 27 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1723, + "end": 1734, + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 92, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 1723, + "end": 1728, + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 92, + "column": 13 + }, + "identifierName": "first" + }, + "name": "first" + }, + "property": { + "type": "Identifier", + "start": 1729, + "end": 1734, + "loc": { + "start": { + "line": 92, + "column": 14 + }, + "end": { + "line": 92, + "column": 19 + }, + "identifierName": "imuln" + }, + "name": "imuln" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1735, + "end": 1741, + "loc": { + "start": { + "line": 92, + "column": 20 + }, + "end": { + "line": 92, + "column": 26 + }, + "identifierName": "second" + }, + "name": "second" + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [], + "trailingComments": [] + } + }, + { + "type": "ExportNamedDeclaration", + "start": 1748, + "end": 1820, + "loc": { + "start": { + "line": 95, + "column": 0 + }, + "end": { + "line": 97, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 1755, + "end": 1820, + "loc": { + "start": { + "line": 95, + "column": 7 + }, + "end": { + "line": 97, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 1764, + "end": 1768, + "loc": { + "start": { + "line": 95, + "column": 16 + }, + "end": { + "line": 95, + "column": 20 + }, + "identifierName": "pown" + }, + "name": "pown" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1771, + "end": 1776, + "loc": { + "start": { + "line": 95, + "column": 23 + }, + "end": { + "line": 95, + "column": 28 + }, + "identifierName": "first" + }, + "name": "first" + }, + { + "type": "Identifier", + "start": 1779, + "end": 1785, + "loc": { + "start": { + "line": 95, + "column": 31 + }, + "end": { + "line": 95, + "column": 37 + }, + "identifierName": "second" + }, + "name": "second" + } + ], + "body": { + "type": "BlockStatement", + "start": 1788, + "end": 1820, + "loc": { + "start": { + "line": 95, + "column": 40 + }, + "end": { + "line": 97, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1791, + "end": 1818, + "loc": { + "start": { + "line": 96, + "column": 1 + }, + "end": { + "line": 96, + "column": 28 + } + }, + "argument": { + "type": "CallExpression", + "start": 1798, + "end": 1816, + "loc": { + "start": { + "line": 96, + "column": 8 + }, + "end": { + "line": 96, + "column": 26 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1798, + "end": 1808, + "loc": { + "start": { + "line": 96, + "column": 8 + }, + "end": { + "line": 96, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 1798, + "end": 1803, + "loc": { + "start": { + "line": 96, + "column": 8 + }, + "end": { + "line": 96, + "column": 13 + }, + "identifierName": "first" + }, + "name": "first" + }, + "property": { + "type": "Identifier", + "start": 1804, + "end": 1808, + "loc": { + "start": { + "line": 96, + "column": 14 + }, + "end": { + "line": 96, + "column": 18 + }, + "identifierName": "pown" + }, + "name": "pown" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1809, + "end": 1815, + "loc": { + "start": { + "line": 96, + "column": 19 + }, + "end": { + "line": 96, + "column": 25 + }, + "identifierName": "second" + }, + "name": "second" + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [], + "trailingComments": [] + } + }, + { + "type": "ExportNamedDeclaration", + "start": 1822, + "end": 1896, + "loc": { + "start": { + "line": 99, + "column": 0 + }, + "end": { + "line": 101, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 1829, + "end": 1896, + "loc": { + "start": { + "line": 99, + "column": 7 + }, + "end": { + "line": 101, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 1838, + "end": 1843, + "loc": { + "start": { + "line": 99, + "column": 16 + }, + "end": { + "line": 99, + "column": 21 + }, + "identifierName": "ipown" + }, + "name": "ipown" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1846, + "end": 1851, + "loc": { + "start": { + "line": 99, + "column": 24 + }, + "end": { + "line": 99, + "column": 29 + }, + "identifierName": "first" + }, + "name": "first" + }, + { + "type": "Identifier", + "start": 1854, + "end": 1860, + "loc": { + "start": { + "line": 99, + "column": 32 + }, + "end": { + "line": 99, + "column": 38 + }, + "identifierName": "second" + }, + "name": "second" + } + ], + "body": { + "type": "BlockStatement", + "start": 1863, + "end": 1896, + "loc": { + "start": { + "line": 99, + "column": 41 + }, + "end": { + "line": 101, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1866, + "end": 1894, + "loc": { + "start": { + "line": 100, + "column": 1 + }, + "end": { + "line": 100, + "column": 29 + } + }, + "argument": { + "type": "CallExpression", + "start": 1873, + "end": 1892, + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 100, + "column": 27 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1873, + "end": 1884, + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 100, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 1873, + "end": 1878, + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 100, + "column": 13 + }, + "identifierName": "first" + }, + "name": "first" + }, + "property": { + "type": "Identifier", + "start": 1879, + "end": 1884, + "loc": { + "start": { + "line": 100, + "column": 14 + }, + "end": { + "line": 100, + "column": 19 + }, + "identifierName": "ipown" + }, + "name": "ipown" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1885, + "end": 1891, + "loc": { + "start": { + "line": 100, + "column": 20 + }, + "end": { + "line": 100, + "column": 26 + }, + "identifierName": "second" + }, + "name": "second" + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [], + "trailingComments": [] + } + }, + { + "type": "ExportNamedDeclaration", + "start": 1898, + "end": 1970, + "loc": { + "start": { + "line": 103, + "column": 0 + }, + "end": { + "line": 105, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 1905, + "end": 1970, + "loc": { + "start": { + "line": 103, + "column": 7 + }, + "end": { + "line": 105, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 1914, + "end": 1918, + "loc": { + "start": { + "line": 103, + "column": 16 + }, + "end": { + "line": 103, + "column": 20 + }, + "identifierName": "divn" + }, + "name": "divn" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1921, + "end": 1926, + "loc": { + "start": { + "line": 103, + "column": 23 + }, + "end": { + "line": 103, + "column": 28 + }, + "identifierName": "first" + }, + "name": "first" + }, + { + "type": "Identifier", + "start": 1929, + "end": 1935, + "loc": { + "start": { + "line": 103, + "column": 31 + }, + "end": { + "line": 103, + "column": 37 + }, + "identifierName": "second" + }, + "name": "second" + } + ], + "body": { + "type": "BlockStatement", + "start": 1938, + "end": 1970, + "loc": { + "start": { + "line": 103, + "column": 40 + }, + "end": { + "line": 105, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1941, + "end": 1968, + "loc": { + "start": { + "line": 104, + "column": 1 + }, + "end": { + "line": 104, + "column": 28 + } + }, + "argument": { + "type": "CallExpression", + "start": 1948, + "end": 1966, + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 104, + "column": 26 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1948, + "end": 1958, + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 104, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 1948, + "end": 1953, + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 104, + "column": 13 + }, + "identifierName": "first" + }, + "name": "first" + }, + "property": { + "type": "Identifier", + "start": 1954, + "end": 1958, + "loc": { + "start": { + "line": 104, + "column": 14 + }, + "end": { + "line": 104, + "column": 18 + }, + "identifierName": "divn" + }, + "name": "divn" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1959, + "end": 1965, + "loc": { + "start": { + "line": 104, + "column": 19 + }, + "end": { + "line": 104, + "column": 25 + }, + "identifierName": "second" + }, + "name": "second" + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [], + "trailingComments": [] + } + }, + { + "type": "ExportNamedDeclaration", + "start": 1972, + "end": 2046, + "loc": { + "start": { + "line": 107, + "column": 0 + }, + "end": { + "line": 109, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 1979, + "end": 2046, + "loc": { + "start": { + "line": 107, + "column": 7 + }, + "end": { + "line": 109, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 1988, + "end": 1993, + "loc": { + "start": { + "line": 107, + "column": 16 + }, + "end": { + "line": 107, + "column": 21 + }, + "identifierName": "idivn" + }, + "name": "idivn" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1996, + "end": 2001, + "loc": { + "start": { + "line": 107, + "column": 24 + }, + "end": { + "line": 107, + "column": 29 + }, + "identifierName": "first" + }, + "name": "first" + }, + { + "type": "Identifier", + "start": 2004, + "end": 2010, + "loc": { + "start": { + "line": 107, + "column": 32 + }, + "end": { + "line": 107, + "column": 38 + }, + "identifierName": "second" + }, + "name": "second" + } + ], + "body": { + "type": "BlockStatement", + "start": 2013, + "end": 2046, + "loc": { + "start": { + "line": 107, + "column": 41 + }, + "end": { + "line": 109, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2016, + "end": 2044, + "loc": { + "start": { + "line": 108, + "column": 1 + }, + "end": { + "line": 108, + "column": 29 + } + }, + "argument": { + "type": "CallExpression", + "start": 2023, + "end": 2042, + "loc": { + "start": { + "line": 108, + "column": 8 + }, + "end": { + "line": 108, + "column": 27 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2023, + "end": 2034, + "loc": { + "start": { + "line": 108, + "column": 8 + }, + "end": { + "line": 108, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 2023, + "end": 2028, + "loc": { + "start": { + "line": 108, + "column": 8 + }, + "end": { + "line": 108, + "column": 13 + }, + "identifierName": "first" + }, + "name": "first" + }, + "property": { + "type": "Identifier", + "start": 2029, + "end": 2034, + "loc": { + "start": { + "line": 108, + "column": 14 + }, + "end": { + "line": 108, + "column": 19 + }, + "identifierName": "idivn" + }, + "name": "idivn" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2035, + "end": 2041, + "loc": { + "start": { + "line": 108, + "column": 20 + }, + "end": { + "line": 108, + "column": 26 + }, + "identifierName": "second" + }, + "name": "second" + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [], + "trailingComments": [] + } + }, + { + "type": "ExportNamedDeclaration", + "start": 2048, + "end": 2120, + "loc": { + "start": { + "line": 111, + "column": 0 + }, + "end": { + "line": 113, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 2055, + "end": 2120, + "loc": { + "start": { + "line": 111, + "column": 7 + }, + "end": { + "line": 113, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 2064, + "end": 2068, + "loc": { + "start": { + "line": 111, + "column": 16 + }, + "end": { + "line": 111, + "column": 20 + }, + "identifierName": "modn" + }, + "name": "modn" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2071, + "end": 2076, + "loc": { + "start": { + "line": 111, + "column": 23 + }, + "end": { + "line": 111, + "column": 28 + }, + "identifierName": "first" + }, + "name": "first" + }, + { + "type": "Identifier", + "start": 2079, + "end": 2085, + "loc": { + "start": { + "line": 111, + "column": 31 + }, + "end": { + "line": 111, + "column": 37 + }, + "identifierName": "second" + }, + "name": "second" + } + ], + "body": { + "type": "BlockStatement", + "start": 2088, + "end": 2120, + "loc": { + "start": { + "line": 111, + "column": 40 + }, + "end": { + "line": 113, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2091, + "end": 2118, + "loc": { + "start": { + "line": 112, + "column": 1 + }, + "end": { + "line": 112, + "column": 28 + } + }, + "argument": { + "type": "CallExpression", + "start": 2098, + "end": 2116, + "loc": { + "start": { + "line": 112, + "column": 8 + }, + "end": { + "line": 112, + "column": 26 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2098, + "end": 2108, + "loc": { + "start": { + "line": 112, + "column": 8 + }, + "end": { + "line": 112, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 2098, + "end": 2103, + "loc": { + "start": { + "line": 112, + "column": 8 + }, + "end": { + "line": 112, + "column": 13 + }, + "identifierName": "first" + }, + "name": "first" + }, + "property": { + "type": "Identifier", + "start": 2104, + "end": 2108, + "loc": { + "start": { + "line": 112, + "column": 14 + }, + "end": { + "line": 112, + "column": 18 + }, + "identifierName": "modn" + }, + "name": "modn" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2109, + "end": 2115, + "loc": { + "start": { + "line": 112, + "column": 19 + }, + "end": { + "line": 112, + "column": 25 + }, + "identifierName": "second" + }, + "name": "second" + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [], + "trailingComments": [] + } + }, + { + "type": "ExportNamedDeclaration", + "start": 2122, + "end": 2196, + "loc": { + "start": { + "line": 115, + "column": 0 + }, + "end": { + "line": 117, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 2129, + "end": 2196, + "loc": { + "start": { + "line": 115, + "column": 7 + }, + "end": { + "line": 117, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 2138, + "end": 2143, + "loc": { + "start": { + "line": 115, + "column": 16 + }, + "end": { + "line": 115, + "column": 21 + }, + "identifierName": "imodn" + }, + "name": "imodn" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2146, + "end": 2151, + "loc": { + "start": { + "line": 115, + "column": 24 + }, + "end": { + "line": 115, + "column": 29 + }, + "identifierName": "first" + }, + "name": "first" + }, + { + "type": "Identifier", + "start": 2154, + "end": 2160, + "loc": { + "start": { + "line": 115, + "column": 32 + }, + "end": { + "line": 115, + "column": 38 + }, + "identifierName": "second" + }, + "name": "second" + } + ], + "body": { + "type": "BlockStatement", + "start": 2163, + "end": 2196, + "loc": { + "start": { + "line": 115, + "column": 41 + }, + "end": { + "line": 117, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2166, + "end": 2194, + "loc": { + "start": { + "line": 116, + "column": 1 + }, + "end": { + "line": 116, + "column": 29 + } + }, + "argument": { + "type": "CallExpression", + "start": 2173, + "end": 2192, + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 27 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2173, + "end": 2184, + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 2173, + "end": 2178, + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 13 + }, + "identifierName": "first" + }, + "name": "first" + }, + "property": { + "type": "Identifier", + "start": 2179, + "end": 2184, + "loc": { + "start": { + "line": 116, + "column": 14 + }, + "end": { + "line": 116, + "column": 19 + }, + "identifierName": "imodn" + }, + "name": "imodn" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2185, + "end": 2191, + "loc": { + "start": { + "line": 116, + "column": 20 + }, + "end": { + "line": 116, + "column": 26 + }, + "identifierName": "second" + }, + "name": "second" + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [], + "trailingComments": [] + } + } + ], + "directives": [] + }, + "comments": [], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DEFAULT_DISPLAY_BASE", + "start": 9, + "end": 29, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 29 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 30, + "end": 31, + "loc": { + "start": { + "line": 1, + "column": 30 + }, + "end": { + "line": 1, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ZZ", + "start": 32, + "end": 34, + "loc": { + "start": { + "line": 1, + "column": 32 + }, + "end": { + "line": 1, + "column": 34 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 35, + "end": 36, + "loc": { + "start": { + "line": 1, + "column": 35 + }, + "end": { + "line": 1, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 37, + "end": 41, + "loc": { + "start": { + "line": 1, + "column": 37 + }, + "end": { + "line": 1, + "column": 41 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./", + "start": 42, + "end": 46, + "loc": { + "start": { + "line": 1, + "column": 42 + }, + "end": { + "line": 1, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 47, + "end": 48, + "loc": { + "start": { + "line": 1, + "column": 47 + }, + "end": { + "line": 1, + "column": 48 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 50, + "end": 56, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 57, + "end": 65, + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "$0", + "start": 66, + "end": 68, + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 69, + "end": 70, + "loc": { + "start": { + "line": 3, + "column": 19 + }, + "end": { + "line": 3, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 71, + "end": 72, + "loc": { + "start": { + "line": 3, + "column": 21 + }, + "end": { + "line": 3, + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 73, + "end": 74, + "loc": { + "start": { + "line": 3, + "column": 23 + }, + "end": { + "line": 3, + "column": 24 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 76, + "end": 82, + "loc": { + "start": { + "line": 4, + "column": 1 + }, + "end": { + "line": 4, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ZZ", + "start": 83, + "end": 85, + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 85, + "end": 86, + "loc": { + "start": { + "line": 4, + "column": 10 + }, + "end": { + "line": 4, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "$0", + "start": 86, + "end": 88, + "loc": { + "start": { + "line": 4, + "column": 11 + }, + "end": { + "line": 4, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 88, + "end": 89, + "loc": { + "start": { + "line": 4, + "column": 13 + }, + "end": { + "line": 4, + "column": 14 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 89, + "end": 90, + "loc": { + "start": { + "line": 4, + "column": 14 + }, + "end": { + "line": 4, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 91, + "end": 92, + "loc": { + "start": { + "line": 4, + "column": 16 + }, + "end": { + "line": 4, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 93, + "end": 94, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 1 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 96, + "end": 102, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 103, + "end": 111, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "$1", + "start": 112, + "end": 114, + "loc": { + "start": { + "line": 7, + "column": 16 + }, + "end": { + "line": 7, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 115, + "end": 116, + "loc": { + "start": { + "line": 7, + "column": 19 + }, + "end": { + "line": 7, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 117, + "end": 118, + "loc": { + "start": { + "line": 7, + "column": 21 + }, + "end": { + "line": 7, + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 119, + "end": 120, + "loc": { + "start": { + "line": 7, + "column": 23 + }, + "end": { + "line": 7, + "column": 24 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 122, + "end": 128, + "loc": { + "start": { + "line": 8, + "column": 1 + }, + "end": { + "line": 8, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ZZ", + "start": 129, + "end": 131, + "loc": { + "start": { + "line": 8, + "column": 8 + }, + "end": { + "line": 8, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 131, + "end": 132, + "loc": { + "start": { + "line": 8, + "column": 10 + }, + "end": { + "line": 8, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "$1", + "start": 132, + "end": 134, + "loc": { + "start": { + "line": 8, + "column": 11 + }, + "end": { + "line": 8, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 134, + "end": 135, + "loc": { + "start": { + "line": 8, + "column": 13 + }, + "end": { + "line": 8, + "column": 14 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 135, + "end": 136, + "loc": { + "start": { + "line": 8, + "column": 14 + }, + "end": { + "line": 8, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 137, + "end": 138, + "loc": { + "start": { + "line": 8, + "column": 16 + }, + "end": { + "line": 8, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 139, + "end": 140, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 1 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 142, + "end": 148, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 149, + "end": 157, + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 11, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "$_1", + "start": 158, + "end": 161, + "loc": { + "start": { + "line": 11, + "column": 16 + }, + "end": { + "line": 11, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 162, + "end": 163, + "loc": { + "start": { + "line": 11, + "column": 20 + }, + "end": { + "line": 11, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 164, + "end": 165, + "loc": { + "start": { + "line": 11, + "column": 22 + }, + "end": { + "line": 11, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 166, + "end": 167, + "loc": { + "start": { + "line": 11, + "column": 24 + }, + "end": { + "line": 11, + "column": 25 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 169, + "end": 175, + "loc": { + "start": { + "line": 12, + "column": 1 + }, + "end": { + "line": 12, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ZZ", + "start": 176, + "end": 178, + "loc": { + "start": { + "line": 12, + "column": 8 + }, + "end": { + "line": 12, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 178, + "end": 179, + "loc": { + "start": { + "line": 12, + "column": 10 + }, + "end": { + "line": 12, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "$_1", + "start": 179, + "end": 182, + "loc": { + "start": { + "line": 12, + "column": 11 + }, + "end": { + "line": 12, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 182, + "end": 183, + "loc": { + "start": { + "line": 12, + "column": 14 + }, + "end": { + "line": 12, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 183, + "end": 184, + "loc": { + "start": { + "line": 12, + "column": 15 + }, + "end": { + "line": 12, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 185, + "end": 186, + "loc": { + "start": { + "line": 12, + "column": 17 + }, + "end": { + "line": 12, + "column": 18 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 187, + "end": 188, + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 13, + "column": 1 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 190, + "end": 196, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 15, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 197, + "end": 205, + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parse", + "start": 206, + "end": 211, + "loc": { + "start": { + "line": 15, + "column": 16 + }, + "end": { + "line": 15, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 212, + "end": 213, + "loc": { + "start": { + "line": 15, + "column": 22 + }, + "end": { + "line": 15, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "object", + "start": 214, + "end": 220, + "loc": { + "start": { + "line": 15, + "column": 24 + }, + "end": { + "line": 15, + "column": 30 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 221, + "end": 222, + "loc": { + "start": { + "line": 15, + "column": 31 + }, + "end": { + "line": 15, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 223, + "end": 227, + "loc": { + "start": { + "line": 15, + "column": 33 + }, + "end": { + "line": 15, + "column": 37 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 228, + "end": 229, + "loc": { + "start": { + "line": 15, + "column": 38 + }, + "end": { + "line": 15, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "undefined", + "start": 230, + "end": 239, + "loc": { + "start": { + "line": 15, + "column": 40 + }, + "end": { + "line": 15, + "column": 49 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 240, + "end": 241, + "loc": { + "start": { + "line": 15, + "column": 50 + }, + "end": { + "line": 15, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 242, + "end": 253, + "loc": { + "start": { + "line": 15, + "column": 52 + }, + "end": { + "line": 15, + "column": 63 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 254, + "end": 255, + "loc": { + "start": { + "line": 15, + "column": 64 + }, + "end": { + "line": 15, + "column": 65 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 256, + "end": 257, + "loc": { + "start": { + "line": 15, + "column": 66 + }, + "end": { + "line": 15, + "column": 67 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 258, + "end": 259, + "loc": { + "start": { + "line": 15, + "column": 68 + }, + "end": { + "line": 15, + "column": 69 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 260, + "end": 261, + "loc": { + "start": { + "line": 15, + "column": 70 + }, + "end": { + "line": 15, + "column": 71 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 263, + "end": 269, + "loc": { + "start": { + "line": 16, + "column": 1 + }, + "end": { + "line": 16, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ZZ", + "start": 270, + "end": 272, + "loc": { + "start": { + "line": 16, + "column": 8 + }, + "end": { + "line": 16, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 272, + "end": 273, + "loc": { + "start": { + "line": 16, + "column": 10 + }, + "end": { + "line": 16, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 273, + "end": 277, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 277, + "end": 278, + "loc": { + "start": { + "line": 16, + "column": 15 + }, + "end": { + "line": 16, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "object", + "start": 279, + "end": 285, + "loc": { + "start": { + "line": 16, + "column": 17 + }, + "end": { + "line": 16, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 286, + "end": 287, + "loc": { + "start": { + "line": 16, + "column": 24 + }, + "end": { + "line": 16, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 288, + "end": 292, + "loc": { + "start": { + "line": 16, + "column": 26 + }, + "end": { + "line": 16, + "column": 30 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 293, + "end": 294, + "loc": { + "start": { + "line": 16, + "column": 31 + }, + "end": { + "line": 16, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 295, + "end": 306, + "loc": { + "start": { + "line": 16, + "column": 33 + }, + "end": { + "line": 16, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 307, + "end": 308, + "loc": { + "start": { + "line": 16, + "column": 45 + }, + "end": { + "line": 16, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 309, + "end": 310, + "loc": { + "start": { + "line": 16, + "column": 47 + }, + "end": { + "line": 16, + "column": 48 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 311, + "end": 312, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 1 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 314, + "end": 320, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 321, + "end": 329, + "loc": { + "start": { + "line": 19, + "column": 7 + }, + "end": { + "line": 19, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stringify", + "start": 330, + "end": 339, + "loc": { + "start": { + "line": 19, + "column": 16 + }, + "end": { + "line": 19, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 340, + "end": 341, + "loc": { + "start": { + "line": 19, + "column": 26 + }, + "end": { + "line": 19, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "integer", + "start": 342, + "end": 349, + "loc": { + "start": { + "line": 19, + "column": 28 + }, + "end": { + "line": 19, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 350, + "end": 351, + "loc": { + "start": { + "line": 19, + "column": 36 + }, + "end": { + "line": 19, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 352, + "end": 356, + "loc": { + "start": { + "line": 19, + "column": 38 + }, + "end": { + "line": 19, + "column": 42 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 357, + "end": 358, + "loc": { + "start": { + "line": 19, + "column": 43 + }, + "end": { + "line": 19, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DEFAULT_DISPLAY_BASE", + "start": 359, + "end": 379, + "loc": { + "start": { + "line": 19, + "column": 45 + }, + "end": { + "line": 19, + "column": 65 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 380, + "end": 381, + "loc": { + "start": { + "line": 19, + "column": 66 + }, + "end": { + "line": 19, + "column": 67 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 382, + "end": 383, + "loc": { + "start": { + "line": 19, + "column": 68 + }, + "end": { + "line": 19, + "column": 69 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 385, + "end": 391, + "loc": { + "start": { + "line": 20, + "column": 1 + }, + "end": { + "line": 20, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "integer", + "start": 392, + "end": 399, + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 20, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 399, + "end": 400, + "loc": { + "start": { + "line": 20, + "column": 15 + }, + "end": { + "line": 20, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "toString", + "start": 400, + "end": 408, + "loc": { + "start": { + "line": 20, + "column": 16 + }, + "end": { + "line": 20, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 408, + "end": 409, + "loc": { + "start": { + "line": 20, + "column": 24 + }, + "end": { + "line": 20, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 410, + "end": 414, + "loc": { + "start": { + "line": 20, + "column": 26 + }, + "end": { + "line": 20, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 415, + "end": 416, + "loc": { + "start": { + "line": 20, + "column": 31 + }, + "end": { + "line": 20, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 417, + "end": 418, + "loc": { + "start": { + "line": 20, + "column": 33 + }, + "end": { + "line": 20, + "column": 34 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 419, + "end": 420, + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 21, + "column": 1 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 422, + "end": 428, + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 23, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 429, + "end": 437, + "loc": { + "start": { + "line": 23, + "column": 7 + }, + "end": { + "line": 23, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "add", + "start": 438, + "end": 441, + "loc": { + "start": { + "line": 23, + "column": 16 + }, + "end": { + "line": 23, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 442, + "end": 443, + "loc": { + "start": { + "line": 23, + "column": 20 + }, + "end": { + "line": 23, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "first", + "start": 444, + "end": 449, + "loc": { + "start": { + "line": 23, + "column": 22 + }, + "end": { + "line": 23, + "column": 27 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 450, + "end": 451, + "loc": { + "start": { + "line": 23, + "column": 28 + }, + "end": { + "line": 23, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "second", + "start": 452, + "end": 458, + "loc": { + "start": { + "line": 23, + "column": 30 + }, + "end": { + "line": 23, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 459, + "end": 460, + "loc": { + "start": { + "line": 23, + "column": 37 + }, + "end": { + "line": 23, + "column": 38 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 461, + "end": 462, + "loc": { + "start": { + "line": 23, + "column": 39 + }, + "end": { + "line": 23, + "column": 40 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 464, + "end": 470, + "loc": { + "start": { + "line": 24, + "column": 1 + }, + "end": { + "line": 24, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "first", + "start": 471, + "end": 476, + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 476, + "end": 477, + "loc": { + "start": { + "line": 24, + "column": 13 + }, + "end": { + "line": 24, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "add", + "start": 477, + "end": 480, + "loc": { + "start": { + "line": 24, + "column": 14 + }, + "end": { + "line": 24, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 480, + "end": 481, + "loc": { + "start": { + "line": 24, + "column": 17 + }, + "end": { + "line": 24, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "second", + "start": 481, + "end": 487, + "loc": { + "start": { + "line": 24, + "column": 18 + }, + "end": { + "line": 24, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 487, + "end": 488, + "loc": { + "start": { + "line": 24, + "column": 24 + }, + "end": { + "line": 24, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 489, + "end": 490, + "loc": { + "start": { + "line": 24, + "column": 26 + }, + "end": { + "line": 24, + "column": 27 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 491, + "end": 492, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 25, + "column": 1 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 494, + "end": 500, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 27, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 501, + "end": 509, + "loc": { + "start": { + "line": 27, + "column": 7 + }, + "end": { + "line": 27, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "iadd", + "start": 510, + "end": 514, + "loc": { + "start": { + "line": 27, + "column": 16 + }, + "end": { + "line": 27, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 515, + "end": 516, + "loc": { + "start": { + "line": 27, + "column": 21 + }, + "end": { + "line": 27, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "first", + "start": 517, + "end": 522, + "loc": { + "start": { + "line": 27, + "column": 23 + }, + "end": { + "line": 27, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 523, + "end": 524, + "loc": { + "start": { + "line": 27, + "column": 29 + }, + "end": { + "line": 27, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "second", + "start": 525, + "end": 531, + "loc": { + "start": { + "line": 27, + "column": 31 + }, + "end": { + "line": 27, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 532, + "end": 533, + "loc": { + "start": { + "line": 27, + "column": 38 + }, + "end": { + "line": 27, + "column": 39 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 534, + "end": 535, + "loc": { + "start": { + "line": 27, + "column": 40 + }, + "end": { + "line": 27, + "column": 41 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 537, + "end": 543, + "loc": { + "start": { + "line": 28, + "column": 1 + }, + "end": { + "line": 28, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "first", + "start": 544, + "end": 549, + "loc": { + "start": { + "line": 28, + "column": 8 + }, + "end": { + "line": 28, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 549, + "end": 550, + "loc": { + "start": { + "line": 28, + "column": 13 + }, + "end": { + "line": 28, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "iadd", + "start": 550, + "end": 554, + "loc": { + "start": { + "line": 28, + "column": 14 + }, + "end": { + "line": 28, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 554, + "end": 555, + "loc": { + "start": { + "line": 28, + "column": 18 + }, + "end": { + "line": 28, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "second", + "start": 555, + "end": 561, + "loc": { + "start": { + "line": 28, + "column": 19 + }, + "end": { + "line": 28, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 561, + "end": 562, + "loc": { + "start": { + "line": 28, + "column": 25 + }, + "end": { + "line": 28, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 563, + "end": 564, + "loc": { + "start": { + "line": 28, + "column": 27 + }, + "end": { + "line": 28, + "column": 28 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 565, + "end": 566, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 29, + "column": 1 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 568, + "end": 574, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 31, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 575, + "end": 583, + "loc": { + "start": { + "line": 31, + "column": 7 + }, + "end": { + "line": 31, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sub", + "start": 584, + "end": 587, + "loc": { + "start": { + "line": 31, + "column": 16 + }, + "end": { + "line": 31, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 588, + "end": 589, + "loc": { + "start": { + "line": 31, + "column": 20 + }, + "end": { + "line": 31, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "first", + "start": 590, + "end": 595, + "loc": { + "start": { + "line": 31, + "column": 22 + }, + "end": { + "line": 31, + "column": 27 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 596, + "end": 597, + "loc": { + "start": { + "line": 31, + "column": 28 + }, + "end": { + "line": 31, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "second", + "start": 598, + "end": 604, + "loc": { + "start": { + "line": 31, + "column": 30 + }, + "end": { + "line": 31, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 605, + "end": 606, + "loc": { + "start": { + "line": 31, + "column": 37 + }, + "end": { + "line": 31, + "column": 38 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 607, + "end": 608, + "loc": { + "start": { + "line": 31, + "column": 39 + }, + "end": { + "line": 31, + "column": 40 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 610, + "end": 616, + "loc": { + "start": { + "line": 32, + "column": 1 + }, + "end": { + "line": 32, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "first", + "start": 617, + "end": 622, + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 622, + "end": 623, + "loc": { + "start": { + "line": 32, + "column": 13 + }, + "end": { + "line": 32, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sub", + "start": 623, + "end": 626, + "loc": { + "start": { + "line": 32, + "column": 14 + }, + "end": { + "line": 32, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 626, + "end": 627, + "loc": { + "start": { + "line": 32, + "column": 17 + }, + "end": { + "line": 32, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "second", + "start": 627, + "end": 633, + "loc": { + "start": { + "line": 32, + "column": 18 + }, + "end": { + "line": 32, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 633, + "end": 634, + "loc": { + "start": { + "line": 32, + "column": 24 + }, + "end": { + "line": 32, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 635, + "end": 636, + "loc": { + "start": { + "line": 32, + "column": 26 + }, + "end": { + "line": 32, + "column": 27 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 637, + "end": 638, + "loc": { + "start": { + "line": 33, + "column": 0 + }, + "end": { + "line": 33, + "column": 1 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 640, + "end": 646, + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 35, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 647, + "end": 655, + "loc": { + "start": { + "line": 35, + "column": 7 + }, + "end": { + "line": 35, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isub", + "start": 656, + "end": 660, + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 35, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 661, + "end": 662, + "loc": { + "start": { + "line": 35, + "column": 21 + }, + "end": { + "line": 35, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "first", + "start": 663, + "end": 668, + "loc": { + "start": { + "line": 35, + "column": 23 + }, + "end": { + "line": 35, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 669, + "end": 670, + "loc": { + "start": { + "line": 35, + "column": 29 + }, + "end": { + "line": 35, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "second", + "start": 671, + "end": 677, + "loc": { + "start": { + "line": 35, + "column": 31 + }, + "end": { + "line": 35, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 678, + "end": 679, + "loc": { + "start": { + "line": 35, + "column": 38 + }, + "end": { + "line": 35, + "column": 39 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 680, + "end": 681, + "loc": { + "start": { + "line": 35, + "column": 40 + }, + "end": { + "line": 35, + "column": 41 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 683, + "end": 689, + "loc": { + "start": { + "line": 36, + "column": 1 + }, + "end": { + "line": 36, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "first", + "start": 690, + "end": 695, + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 695, + "end": 696, + "loc": { + "start": { + "line": 36, + "column": 13 + }, + "end": { + "line": 36, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isub", + "start": 696, + "end": 700, + "loc": { + "start": { + "line": 36, + "column": 14 + }, + "end": { + "line": 36, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 700, + "end": 701, + "loc": { + "start": { + "line": 36, + "column": 18 + }, + "end": { + "line": 36, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "second", + "start": 701, + "end": 707, + "loc": { + "start": { + "line": 36, + "column": 19 + }, + "end": { + "line": 36, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 707, + "end": 708, + "loc": { + "start": { + "line": 36, + "column": 25 + }, + "end": { + "line": 36, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 709, + "end": 710, + "loc": { + "start": { + "line": 36, + "column": 27 + }, + "end": { + "line": 36, + "column": 28 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 711, + "end": 712, + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 37, + "column": 1 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 714, + "end": 720, + "loc": { + "start": { + "line": 39, + "column": 0 + }, + "end": { + "line": 39, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 721, + "end": 729, + "loc": { + "start": { + "line": 39, + "column": 7 + }, + "end": { + "line": 39, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mul", + "start": 730, + "end": 733, + "loc": { + "start": { + "line": 39, + "column": 16 + }, + "end": { + "line": 39, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 734, + "end": 735, + "loc": { + "start": { + "line": 39, + "column": 20 + }, + "end": { + "line": 39, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "first", + "start": 736, + "end": 741, + "loc": { + "start": { + "line": 39, + "column": 22 + }, + "end": { + "line": 39, + "column": 27 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 742, + "end": 743, + "loc": { + "start": { + "line": 39, + "column": 28 + }, + "end": { + "line": 39, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "second", + "start": 744, + "end": 750, + "loc": { + "start": { + "line": 39, + "column": 30 + }, + "end": { + "line": 39, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 751, + "end": 752, + "loc": { + "start": { + "line": 39, + "column": 37 + }, + "end": { + "line": 39, + "column": 38 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 753, + "end": 754, + "loc": { + "start": { + "line": 39, + "column": 39 + }, + "end": { + "line": 39, + "column": 40 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 756, + "end": 762, + "loc": { + "start": { + "line": 40, + "column": 1 + }, + "end": { + "line": 40, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "first", + "start": 763, + "end": 768, + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 40, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 768, + "end": 769, + "loc": { + "start": { + "line": 40, + "column": 13 + }, + "end": { + "line": 40, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mul", + "start": 769, + "end": 772, + "loc": { + "start": { + "line": 40, + "column": 14 + }, + "end": { + "line": 40, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 772, + "end": 773, + "loc": { + "start": { + "line": 40, + "column": 17 + }, + "end": { + "line": 40, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "second", + "start": 773, + "end": 779, + "loc": { + "start": { + "line": 40, + "column": 18 + }, + "end": { + "line": 40, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 779, + "end": 780, + "loc": { + "start": { + "line": 40, + "column": 24 + }, + "end": { + "line": 40, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 781, + "end": 782, + "loc": { + "start": { + "line": 40, + "column": 26 + }, + "end": { + "line": 40, + "column": 27 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 783, + "end": 784, + "loc": { + "start": { + "line": 41, + "column": 0 + }, + "end": { + "line": 41, + "column": 1 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 786, + "end": 792, + "loc": { + "start": { + "line": 43, + "column": 0 + }, + "end": { + "line": 43, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 793, + "end": 801, + "loc": { + "start": { + "line": 43, + "column": 7 + }, + "end": { + "line": 43, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "imul", + "start": 802, + "end": 806, + "loc": { + "start": { + "line": 43, + "column": 16 + }, + "end": { + "line": 43, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 807, + "end": 808, + "loc": { + "start": { + "line": 43, + "column": 21 + }, + "end": { + "line": 43, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "first", + "start": 809, + "end": 814, + "loc": { + "start": { + "line": 43, + "column": 23 + }, + "end": { + "line": 43, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 815, + "end": 816, + "loc": { + "start": { + "line": 43, + "column": 29 + }, + "end": { + "line": 43, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "second", + "start": 817, + "end": 823, + "loc": { + "start": { + "line": 43, + "column": 31 + }, + "end": { + "line": 43, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 824, + "end": 825, + "loc": { + "start": { + "line": 43, + "column": 38 + }, + "end": { + "line": 43, + "column": 39 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 826, + "end": 827, + "loc": { + "start": { + "line": 43, + "column": 40 + }, + "end": { + "line": 43, + "column": 41 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 829, + "end": 835, + "loc": { + "start": { + "line": 44, + "column": 1 + }, + "end": { + "line": 44, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "first", + "start": 836, + "end": 841, + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 841, + "end": 842, + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 44, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "imul", + "start": 842, + "end": 846, + "loc": { + "start": { + "line": 44, + "column": 14 + }, + "end": { + "line": 44, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 846, + "end": 847, + "loc": { + "start": { + "line": 44, + "column": 18 + }, + "end": { + "line": 44, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "second", + "start": 847, + "end": 853, + "loc": { + "start": { + "line": 44, + "column": 19 + }, + "end": { + "line": 44, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 853, + "end": 854, + "loc": { + "start": { + "line": 44, + "column": 25 + }, + "end": { + "line": 44, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 855, + "end": 856, + "loc": { + "start": { + "line": 44, + "column": 27 + }, + "end": { + "line": 44, + "column": 28 + } } - ], - "directives": [] - }, - "comments": [], - "tokens": [ + }, { "type": { - "label": "import", - "keyword": "import", + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 857, + "end": 858, + "loc": { + "start": { + "line": 45, + "column": 0 + }, + "end": { + "line": 45, + "column": 1 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 860, + "end": 866, + "loc": { + "start": { + "line": 47, + "column": 0 + }, + "end": { + "line": 47, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 867, + "end": 875, + "loc": { + "start": { + "line": 47, + "column": 7 + }, + "end": { + "line": 47, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pow", + "start": 876, + "end": 879, + "loc": { + "start": { + "line": 47, + "column": 16 + }, + "end": { + "line": 47, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 880, + "end": 881, + "loc": { + "start": { + "line": 47, + "column": 20 + }, + "end": { + "line": 47, + "column": 21 + } + } + }, + { + "type": { + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -3689,45 +11654,149 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null + }, + "value": "first", + "start": 882, + "end": 887, + "loc": { + "start": { + "line": 47, + "column": 22 + }, + "end": { + "line": 47, + "column": 27 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null, "updateContext": null }, - "value": "import", - "start": 0, - "end": 6, + "start": 888, + "end": 889, + "loc": { + "start": { + "line": 47, + "column": 28 + }, + "end": { + "line": 47, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "second", + "start": 890, + "end": 896, + "loc": { + "start": { + "line": 47, + "column": 30 + }, + "end": { + "line": 47, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 897, + "end": 898, + "loc": { + "start": { + "line": 47, + "column": 37 + }, + "end": { + "line": 47, + "column": 38 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 899, + "end": 900, "loc": { "start": { - "line": 1, - "column": 0 + "line": 47, + "column": 39 }, "end": { - "line": 1, - "column": 6 + "line": 47, + "column": 40 } } }, { "type": { - "label": "{", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7, - "end": 8, + "value": "return", + "start": 902, + "end": 908, "loc": { "start": { - "line": 1, - "column": 7 + "line": 48, + "column": 1 }, "end": { - "line": 1, - "column": 8 + "line": 48, + "column": 7 } } }, @@ -3743,24 +11812,24 @@ "postfix": false, "binop": null }, - "value": "DEFAULT_DISPLAY_BASE", - "start": 9, - "end": 29, + "value": "first", + "start": 909, + "end": 914, "loc": { "start": { - "line": 1, - "column": 9 + "line": 48, + "column": 8 }, "end": { - "line": 1, - "column": 29 + "line": 48, + "column": 13 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -3770,16 +11839,16 @@ "binop": null, "updateContext": null }, - "start": 30, - "end": 31, + "start": 914, + "end": 915, "loc": { "start": { - "line": 1, - "column": 30 + "line": 48, + "column": 13 }, "end": { - "line": 1, - "column": 31 + "line": 48, + "column": 14 } } }, @@ -3795,25 +11864,25 @@ "postfix": false, "binop": null }, - "value": "ZZ", - "start": 32, - "end": 34, + "value": "pow", + "start": 915, + "end": 918, "loc": { "start": { - "line": 1, - "column": 32 + "line": 48, + "column": 14 }, "end": { - "line": 1, - "column": 34 + "line": 48, + "column": 17 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3821,16 +11890,16 @@ "postfix": false, "binop": null }, - "start": 35, - "end": 36, + "start": 918, + "end": 919, "loc": { "start": { - "line": 1, - "column": 35 + "line": 48, + "column": 17 }, "end": { - "line": 1, - "column": 36 + "line": 48, + "column": 18 } } }, @@ -3846,44 +11915,42 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 37, - "end": 41, + "value": "second", + "start": 919, + "end": 925, "loc": { "start": { - "line": 1, - "column": 37 + "line": 48, + "column": 18 }, "end": { - "line": 1, - "column": 41 + "line": 48, + "column": 24 } } }, { "type": { - "label": "string", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "./", - "start": 42, - "end": 46, + "start": 925, + "end": 926, "loc": { "start": { - "line": 1, - "column": 42 + "line": 48, + "column": 24 }, "end": { - "line": 1, - "column": 46 + "line": 48, + "column": 25 } } }, @@ -3900,16 +11967,41 @@ "binop": null, "updateContext": null }, - "start": 47, - "end": 48, + "start": 927, + "end": 928, "loc": { "start": { - "line": 1, - "column": 47 + "line": 48, + "column": 26 }, "end": { - "line": 1, - "column": 48 + "line": 48, + "column": 27 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 929, + "end": 930, + "loc": { + "start": { + "line": 49, + "column": 0 + }, + "end": { + "line": 49, + "column": 1 } } }, @@ -3928,15 +12020,15 @@ "updateContext": null }, "value": "export", - "start": 50, - "end": 56, + "start": 932, + "end": 938, "loc": { "start": { - "line": 3, + "line": 51, "column": 0 }, "end": { - "line": 3, + "line": 51, "column": 6 } } @@ -3955,49 +12047,126 @@ "binop": null }, "value": "function", - "start": 57, - "end": 65, + "start": 939, + "end": 947, "loc": { "start": { - "line": 3, + "line": 51, "column": 7 }, "end": { - "line": 3, - "column": 15 + "line": 51, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ipow", + "start": 948, + "end": 952, + "loc": { + "start": { + "line": 51, + "column": 16 + }, + "end": { + "line": 51, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 953, + "end": 954, + "loc": { + "start": { + "line": 51, + "column": 21 + }, + "end": { + "line": 51, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "first", + "start": 955, + "end": 960, + "loc": { + "start": { + "line": 51, + "column": 23 + }, + "end": { + "line": 51, + "column": 28 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "$0", - "start": 66, - "end": 68, + "start": 961, + "end": 962, "loc": { "start": { - "line": 3, - "column": 16 + "line": 51, + "column": 29 }, "end": { - "line": 3, - "column": 18 + "line": 51, + "column": 30 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -4006,16 +12175,17 @@ "postfix": false, "binop": null }, - "start": 69, - "end": 70, + "value": "second", + "start": 963, + "end": 969, "loc": { "start": { - "line": 3, - "column": 19 + "line": 51, + "column": 31 }, "end": { - "line": 3, - "column": 20 + "line": 51, + "column": 37 } } }, @@ -4031,16 +12201,16 @@ "postfix": false, "binop": null }, - "start": 71, - "end": 72, + "start": 970, + "end": 971, "loc": { "start": { - "line": 3, - "column": 21 + "line": 51, + "column": 38 }, "end": { - "line": 3, - "column": 22 + "line": 51, + "column": 39 } } }, @@ -4056,16 +12226,16 @@ "postfix": false, "binop": null }, - "start": 73, - "end": 74, + "start": 972, + "end": 973, "loc": { "start": { - "line": 3, - "column": 23 + "line": 51, + "column": 40 }, "end": { - "line": 3, - "column": 24 + "line": 51, + "column": 41 } } }, @@ -4084,15 +12254,15 @@ "updateContext": null }, "value": "return", - "start": 76, - "end": 82, + "start": 975, + "end": 981, "loc": { "start": { - "line": 4, + "line": 52, "column": 1 }, "end": { - "line": 4, + "line": 52, "column": 7 } } @@ -4109,17 +12279,17 @@ "postfix": false, "binop": null }, - "value": "ZZ", - "start": 83, - "end": 85, + "value": "first", + "start": 982, + "end": 987, "loc": { "start": { - "line": 4, + "line": 52, "column": 8 }, "end": { - "line": 4, - "column": 10 + "line": 52, + "column": 13 } } }, @@ -4136,16 +12306,16 @@ "binop": null, "updateContext": null }, - "start": 85, - "end": 86, + "start": 987, + "end": 988, "loc": { "start": { - "line": 4, - "column": 10 + "line": 52, + "column": 13 }, "end": { - "line": 4, - "column": 11 + "line": 52, + "column": 14 } } }, @@ -4161,17 +12331,17 @@ "postfix": false, "binop": null }, - "value": "$0", - "start": 86, - "end": 88, + "value": "ipow", + "start": 988, + "end": 992, "loc": { "start": { - "line": 4, - "column": 11 + "line": 52, + "column": 14 }, "end": { - "line": 4, - "column": 13 + "line": 52, + "column": 18 } } }, @@ -4187,16 +12357,42 @@ "postfix": false, "binop": null }, - "start": 88, - "end": 89, + "start": 992, + "end": 993, "loc": { "start": { - "line": 4, - "column": 13 + "line": 52, + "column": 18 }, "end": { - "line": 4, - "column": 14 + "line": 52, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "second", + "start": 993, + "end": 999, + "loc": { + "start": { + "line": 52, + "column": 19 + }, + "end": { + "line": 52, + "column": 25 } } }, @@ -4212,16 +12408,16 @@ "postfix": false, "binop": null }, - "start": 89, - "end": 90, + "start": 999, + "end": 1000, "loc": { "start": { - "line": 4, - "column": 14 + "line": 52, + "column": 25 }, "end": { - "line": 4, - "column": 15 + "line": 52, + "column": 26 } } }, @@ -4238,16 +12434,16 @@ "binop": null, "updateContext": null }, - "start": 91, - "end": 92, + "start": 1001, + "end": 1002, "loc": { "start": { - "line": 4, - "column": 16 + "line": 52, + "column": 27 }, "end": { - "line": 4, - "column": 17 + "line": 52, + "column": 28 } } }, @@ -4263,15 +12459,15 @@ "postfix": false, "binop": null }, - "start": 93, - "end": 94, + "start": 1003, + "end": 1004, "loc": { "start": { - "line": 5, + "line": 53, "column": 0 }, "end": { - "line": 5, + "line": 53, "column": 1 } } @@ -4291,15 +12487,15 @@ "updateContext": null }, "value": "export", - "start": 96, - "end": 102, + "start": 1006, + "end": 1012, "loc": { "start": { - "line": 7, + "line": 55, "column": 0 }, "end": { - "line": 7, + "line": 55, "column": 6 } } @@ -4318,15 +12514,15 @@ "binop": null }, "value": "function", - "start": 103, - "end": 111, + "start": 1013, + "end": 1021, "loc": { "start": { - "line": 7, + "line": 55, "column": 7 }, "end": { - "line": 7, + "line": 55, "column": 15 } } @@ -4343,17 +12539,17 @@ "postfix": false, "binop": null }, - "value": "$1", - "start": 112, - "end": 114, + "value": "div", + "start": 1022, + "end": 1025, "loc": { "start": { - "line": 7, + "line": 55, "column": 16 }, "end": { - "line": 7, - "column": 18 + "line": 55, + "column": 19 } } }, @@ -4369,48 +12565,23 @@ "postfix": false, "binop": null }, - "start": 115, - "end": 116, + "start": 1026, + "end": 1027, "loc": { "start": { - "line": 7, - "column": 19 - }, - "end": { - "line": 7, + "line": 55, "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 117, - "end": 118, - "loc": { - "start": { - "line": 7, - "column": 21 }, "end": { - "line": 7, - "column": 22 + "line": 55, + "column": 21 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -4419,23 +12590,23 @@ "postfix": false, "binop": null }, - "start": 119, - "end": 120, + "value": "first", + "start": 1028, + "end": 1033, "loc": { "start": { - "line": 7, - "column": 23 + "line": 55, + "column": 22 }, "end": { - "line": 7, - "column": 24 + "line": 55, + "column": 27 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -4446,17 +12617,16 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 122, - "end": 128, + "start": 1034, + "end": 1035, "loc": { "start": { - "line": 8, - "column": 1 + "line": 55, + "column": 28 }, "end": { - "line": 8, - "column": 7 + "line": 55, + "column": 29 } } }, @@ -4472,23 +12642,23 @@ "postfix": false, "binop": null }, - "value": "ZZ", - "start": 129, - "end": 131, + "value": "second", + "start": 1036, + "end": 1042, "loc": { "start": { - "line": 8, - "column": 8 + "line": 55, + "column": 30 }, "end": { - "line": 8, - "column": 10 + "line": 55, + "column": 36 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -4496,26 +12666,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 131, - "end": 132, + "start": 1043, + "end": 1044, "loc": { "start": { - "line": 8, - "column": 10 + "line": 55, + "column": 37 }, "end": { - "line": 8, - "column": 11 + "line": 55, + "column": 38 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -4524,50 +12693,52 @@ "postfix": false, "binop": null }, - "value": "$1", - "start": 132, - "end": 134, + "start": 1045, + "end": 1046, "loc": { "start": { - "line": 8, - "column": 11 + "line": 55, + "column": 39 }, "end": { - "line": 8, - "column": 13 + "line": 55, + "column": 40 } } }, { "type": { - "label": "(", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 134, - "end": 135, + "value": "return", + "start": 1048, + "end": 1054, "loc": { "start": { - "line": 8, - "column": 13 + "line": 56, + "column": 1 }, "end": { - "line": 8, - "column": 14 + "line": 56, + "column": 7 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4575,23 +12746,24 @@ "postfix": false, "binop": null }, - "start": 135, - "end": 136, + "value": "first", + "start": 1055, + "end": 1060, "loc": { "start": { - "line": 8, - "column": 14 + "line": 56, + "column": 8 }, "end": { - "line": 8, - "column": 15 + "line": 56, + "column": 13 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -4601,24 +12773,24 @@ "binop": null, "updateContext": null }, - "start": 137, - "end": 138, + "start": 1060, + "end": 1061, "loc": { "start": { - "line": 8, - "column": 16 + "line": 56, + "column": 13 }, "end": { - "line": 8, - "column": 17 + "line": 56, + "column": 14 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4626,51 +12798,48 @@ "postfix": false, "binop": null }, - "start": 139, - "end": 140, + "value": "div", + "start": 1061, + "end": 1064, "loc": { "start": { - "line": 9, - "column": 0 + "line": 56, + "column": 14 }, "end": { - "line": 9, - "column": 1 + "line": 56, + "column": 17 } } }, { "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "export", - "start": 142, - "end": 148, + "start": 1064, + "end": 1065, "loc": { "start": { - "line": 11, - "column": 0 + "line": 56, + "column": 17 }, "end": { - "line": 11, - "column": 6 + "line": 56, + "column": 18 } } }, { "type": { - "label": "function", - "keyword": "function", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -4680,25 +12849,25 @@ "postfix": false, "binop": null }, - "value": "function", - "start": 149, - "end": 157, + "value": "second", + "start": 1065, + "end": 1071, "loc": { "start": { - "line": 11, - "column": 7 + "line": 56, + "column": 18 }, "end": { - "line": 11, - "column": 15 + "line": 56, + "column": 24 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4706,48 +12875,48 @@ "postfix": false, "binop": null }, - "value": "$_1", - "start": 158, - "end": 161, + "start": 1071, + "end": 1072, "loc": { "start": { - "line": 11, - "column": 16 + "line": 56, + "column": 24 }, "end": { - "line": 11, - "column": 19 + "line": 56, + "column": 25 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 162, - "end": 163, + "start": 1073, + "end": 1074, "loc": { "start": { - "line": 11, - "column": 20 + "line": 56, + "column": 26 }, "end": { - "line": 11, - "column": 21 + "line": 56, + "column": 27 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -4757,69 +12926,71 @@ "postfix": false, "binop": null }, - "start": 164, - "end": 165, + "start": 1075, + "end": 1076, "loc": { "start": { - "line": 11, - "column": 22 + "line": 57, + "column": 0 }, "end": { - "line": 11, - "column": 23 + "line": 57, + "column": 1 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 166, - "end": 167, + "value": "export", + "start": 1078, + "end": 1084, "loc": { "start": { - "line": 11, - "column": 24 + "line": 59, + "column": 0 }, "end": { - "line": 11, - "column": 25 + "line": 59, + "column": 6 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 169, - "end": 175, + "value": "function", + "start": 1085, + "end": 1093, "loc": { "start": { - "line": 12, - "column": 1 + "line": 59, + "column": 7 }, "end": { - "line": 12, - "column": 7 + "line": 59, + "column": 15 } } }, @@ -4835,43 +13006,42 @@ "postfix": false, "binop": null }, - "value": "ZZ", - "start": 176, - "end": 178, + "value": "idiv", + "start": 1094, + "end": 1098, "loc": { "start": { - "line": 12, - "column": 8 + "line": 59, + "column": 16 }, "end": { - "line": 12, - "column": 10 + "line": 59, + "column": 20 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 178, - "end": 179, + "start": 1099, + "end": 1100, "loc": { "start": { - "line": 12, - "column": 10 + "line": 59, + "column": 21 }, "end": { - "line": 12, - "column": 11 + "line": 59, + "column": 22 } } }, @@ -4887,50 +13057,51 @@ "postfix": false, "binop": null }, - "value": "$_1", - "start": 179, - "end": 182, + "value": "first", + "start": 1101, + "end": 1106, "loc": { "start": { - "line": 12, - "column": 11 + "line": 59, + "column": 23 }, "end": { - "line": 12, - "column": 14 + "line": 59, + "column": 28 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 182, - "end": 183, + "start": 1107, + "end": 1108, "loc": { "start": { - "line": 12, - "column": 14 + "line": 59, + "column": 29 }, "end": { - "line": 12, - "column": 15 + "line": 59, + "column": 30 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4938,50 +13109,50 @@ "postfix": false, "binop": null }, - "start": 183, - "end": 184, + "value": "second", + "start": 1109, + "end": 1115, "loc": { "start": { - "line": 12, - "column": 15 + "line": 59, + "column": 31 }, "end": { - "line": 12, - "column": 16 + "line": 59, + "column": 37 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 185, - "end": 186, + "start": 1116, + "end": 1117, "loc": { "start": { - "line": 12, - "column": 17 + "line": 59, + "column": 38 }, "end": { - "line": 12, - "column": 18 + "line": 59, + "column": 39 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4989,24 +13160,24 @@ "postfix": false, "binop": null }, - "start": 187, - "end": 188, + "start": 1118, + "end": 1119, "loc": { "start": { - "line": 13, - "column": 0 + "line": 59, + "column": 40 }, "end": { - "line": 13, - "column": 1 + "line": 59, + "column": 41 } } }, { "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -5016,24 +13187,23 @@ "binop": null, "updateContext": null }, - "value": "export", - "start": 190, - "end": 196, + "value": "return", + "start": 1121, + "end": 1127, "loc": { "start": { - "line": 15, - "column": 0 + "line": 60, + "column": 1 }, "end": { - "line": 15, - "column": 6 + "line": 60, + "column": 7 } } }, { "type": { - "label": "function", - "keyword": "function", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -5043,50 +13213,50 @@ "postfix": false, "binop": null }, - "value": "function", - "start": 197, - "end": 205, + "value": "first", + "start": 1128, + "end": 1133, "loc": { "start": { - "line": 15, - "column": 7 + "line": 60, + "column": 8 }, "end": { - "line": 15, - "column": 15 + "line": 60, + "column": 13 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "parse", - "start": 206, - "end": 211, + "start": 1133, + "end": 1134, "loc": { "start": { - "line": 15, - "column": 16 + "line": 60, + "column": 13 }, "end": { - "line": 15, - "column": 21 + "line": 60, + "column": 14 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -5095,23 +13265,24 @@ "postfix": false, "binop": null }, - "start": 212, - "end": 213, + "value": "idiv", + "start": 1134, + "end": 1138, "loc": { "start": { - "line": 15, - "column": 22 + "line": 60, + "column": 14 }, "end": { - "line": 15, - "column": 23 + "line": 60, + "column": 18 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -5120,51 +13291,50 @@ "postfix": false, "binop": null }, - "value": "object", - "start": 214, - "end": 220, + "start": 1138, + "end": 1139, "loc": { "start": { - "line": 15, - "column": 24 + "line": 60, + "column": 18 }, "end": { - "line": 15, - "column": 30 + "line": 60, + "column": 19 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 221, - "end": 222, + "value": "second", + "start": 1139, + "end": 1145, "loc": { "start": { - "line": 15, - "column": 31 + "line": 60, + "column": 19 }, "end": { - "line": 15, - "column": 32 + "line": 60, + "column": 25 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5172,52 +13342,50 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 223, - "end": 227, + "start": 1145, + "end": 1146, "loc": { "start": { - "line": 15, - "column": 33 + "line": 60, + "column": 25 }, "end": { - "line": 15, - "column": 37 + "line": 60, + "column": 26 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 228, - "end": 229, + "start": 1147, + "end": 1148, "loc": { "start": { - "line": 15, - "column": 38 + "line": 60, + "column": 27 }, "end": { - "line": 15, - "column": 39 + "line": 60, + "column": 28 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5225,24 +13393,24 @@ "postfix": false, "binop": null }, - "value": "undefined", - "start": 230, - "end": 239, + "start": 1149, + "end": 1150, "loc": { "start": { - "line": 15, - "column": 40 + "line": 61, + "column": 0 }, "end": { - "line": 15, - "column": 49 + "line": 61, + "column": 1 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "export", + "keyword": "export", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -5252,22 +13420,24 @@ "binop": null, "updateContext": null }, - "start": 240, - "end": 241, + "value": "export", + "start": 1152, + "end": 1158, "loc": { "start": { - "line": 15, - "column": 50 + "line": 63, + "column": 0 }, "end": { - "line": 15, - "column": 51 + "line": 63, + "column": 6 } } }, { "type": { - "label": "name", + "label": "function", + "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -5277,50 +13447,23 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 242, - "end": 253, - "loc": { - "start": { - "line": 15, - "column": 52 - }, - "end": { - "line": 15, - "column": 63 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 254, - "end": 255, + "value": "function", + "start": 1159, + "end": 1167, "loc": { "start": { - "line": 15, - "column": 64 + "line": 63, + "column": 7 }, "end": { - "line": 15, - "column": 65 + "line": 63, + "column": 15 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -5328,28 +13471,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 256, - "end": 257, + "value": "mod", + "start": 1168, + "end": 1171, "loc": { "start": { - "line": 15, - "column": 66 + "line": 63, + "column": 16 }, "end": { - "line": 15, - "column": 67 + "line": 63, + "column": 19 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5357,23 +13499,23 @@ "postfix": false, "binop": null }, - "start": 258, - "end": 259, + "start": 1172, + "end": 1173, "loc": { "start": { - "line": 15, - "column": 68 + "line": 63, + "column": 20 }, "end": { - "line": 15, - "column": 69 + "line": 63, + "column": 21 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -5382,23 +13524,23 @@ "postfix": false, "binop": null }, - "start": 260, - "end": 261, + "value": "first", + "start": 1174, + "end": 1179, "loc": { "start": { - "line": 15, - "column": 70 + "line": 63, + "column": 22 }, "end": { - "line": 15, - "column": 71 + "line": 63, + "column": 27 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -5409,17 +13551,16 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 263, - "end": 269, + "start": 1180, + "end": 1181, "loc": { "start": { - "line": 16, - "column": 1 + "line": 63, + "column": 28 }, "end": { - "line": 16, - "column": 7 + "line": 63, + "column": 29 } } }, @@ -5435,23 +13576,23 @@ "postfix": false, "binop": null }, - "value": "ZZ", - "start": 270, - "end": 272, + "value": "second", + "start": 1182, + "end": 1188, "loc": { "start": { - "line": 16, - "column": 8 + "line": 63, + "column": 30 }, "end": { - "line": 16, - "column": 10 + "line": 63, + "column": 36 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -5459,26 +13600,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 272, - "end": 273, + "start": 1189, + "end": 1190, "loc": { "start": { - "line": 16, - "column": 10 + "line": 63, + "column": 37 }, "end": { - "line": 16, - "column": 11 + "line": 63, + "column": 38 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -5487,42 +13627,44 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 273, - "end": 277, + "start": 1191, + "end": 1192, "loc": { "start": { - "line": 16, - "column": 11 + "line": 63, + "column": 39 }, "end": { - "line": 16, - "column": 15 + "line": 63, + "column": 40 } } }, { "type": { - "label": "(", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 277, - "end": 278, + "value": "return", + "start": 1194, + "end": 1200, "loc": { "start": { - "line": 16, - "column": 15 + "line": 64, + "column": 1 }, "end": { - "line": 16, - "column": 16 + "line": 64, + "column": 7 } } }, @@ -5538,24 +13680,24 @@ "postfix": false, "binop": null }, - "value": "object", - "start": 279, - "end": 285, + "value": "first", + "start": 1201, + "end": 1206, "loc": { "start": { - "line": 16, - "column": 17 + "line": 64, + "column": 8 }, "end": { - "line": 16, - "column": 23 + "line": 64, + "column": 13 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -5565,16 +13707,16 @@ "binop": null, "updateContext": null }, - "start": 286, - "end": 287, + "start": 1206, + "end": 1207, "loc": { "start": { - "line": 16, - "column": 24 + "line": 64, + "column": 13 }, "end": { - "line": 16, - "column": 25 + "line": 64, + "column": 14 } } }, @@ -5590,43 +13732,42 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 288, - "end": 292, + "value": "mod", + "start": 1207, + "end": 1210, "loc": { "start": { - "line": 16, - "column": 26 + "line": 64, + "column": 14 }, "end": { - "line": 16, - "column": 30 + "line": 64, + "column": 17 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 293, - "end": 294, + "start": 1210, + "end": 1211, "loc": { "start": { - "line": 16, - "column": 31 + "line": 64, + "column": 17 }, "end": { - "line": 16, - "column": 32 + "line": 64, + "column": 18 } } }, @@ -5642,17 +13783,17 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 295, - "end": 306, + "value": "second", + "start": 1211, + "end": 1217, "loc": { "start": { - "line": 16, - "column": 33 + "line": 64, + "column": 18 }, "end": { - "line": 16, - "column": 44 + "line": 64, + "column": 24 } } }, @@ -5668,16 +13809,16 @@ "postfix": false, "binop": null }, - "start": 307, - "end": 308, + "start": 1217, + "end": 1218, "loc": { "start": { - "line": 16, - "column": 45 + "line": 64, + "column": 24 }, "end": { - "line": 16, - "column": 46 + "line": 64, + "column": 25 } } }, @@ -5694,16 +13835,16 @@ "binop": null, "updateContext": null }, - "start": 309, - "end": 310, + "start": 1219, + "end": 1220, "loc": { "start": { - "line": 16, - "column": 47 + "line": 64, + "column": 26 }, "end": { - "line": 16, - "column": 48 + "line": 64, + "column": 27 } } }, @@ -5719,15 +13860,15 @@ "postfix": false, "binop": null }, - "start": 311, - "end": 312, + "start": 1221, + "end": 1222, "loc": { "start": { - "line": 17, + "line": 65, "column": 0 }, "end": { - "line": 17, + "line": 65, "column": 1 } } @@ -5747,15 +13888,15 @@ "updateContext": null }, "value": "export", - "start": 314, - "end": 320, + "start": 1224, + "end": 1230, "loc": { "start": { - "line": 19, + "line": 67, "column": 0 }, "end": { - "line": 19, + "line": 67, "column": 6 } } @@ -5774,15 +13915,15 @@ "binop": null }, "value": "function", - "start": 321, - "end": 329, + "start": 1231, + "end": 1239, "loc": { "start": { - "line": 19, + "line": 67, "column": 7 }, "end": { - "line": 19, + "line": 67, "column": 15 } } @@ -5799,17 +13940,17 @@ "postfix": false, "binop": null }, - "value": "stringify", - "start": 330, - "end": 339, + "value": "imod", + "start": 1240, + "end": 1244, "loc": { "start": { - "line": 19, + "line": 67, "column": 16 }, "end": { - "line": 19, - "column": 25 + "line": 67, + "column": 20 } } }, @@ -5825,16 +13966,16 @@ "postfix": false, "binop": null }, - "start": 340, - "end": 341, + "start": 1245, + "end": 1246, "loc": { "start": { - "line": 19, - "column": 26 + "line": 67, + "column": 21 }, "end": { - "line": 19, - "column": 27 + "line": 67, + "column": 22 } } }, @@ -5850,17 +13991,17 @@ "postfix": false, "binop": null }, - "value": "integer", - "start": 342, - "end": 349, + "value": "first", + "start": 1247, + "end": 1252, "loc": { "start": { - "line": 19, - "column": 28 + "line": 67, + "column": 23 }, "end": { - "line": 19, - "column": 35 + "line": 67, + "column": 28 } } }, @@ -5877,69 +14018,16 @@ "binop": null, "updateContext": null }, - "start": 350, - "end": 351, - "loc": { - "start": { - "line": 19, - "column": 36 - }, - "end": { - "line": 19, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "base", - "start": 352, - "end": 356, - "loc": { - "start": { - "line": 19, - "column": 38 - }, - "end": { - "line": 19, - "column": 42 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 357, - "end": 358, + "start": 1253, + "end": 1254, "loc": { "start": { - "line": 19, - "column": 43 + "line": 67, + "column": 29 }, "end": { - "line": 19, - "column": 44 + "line": 67, + "column": 30 } } }, @@ -5955,17 +14043,17 @@ "postfix": false, "binop": null }, - "value": "DEFAULT_DISPLAY_BASE", - "start": 359, - "end": 379, + "value": "second", + "start": 1255, + "end": 1261, "loc": { "start": { - "line": 19, - "column": 45 + "line": 67, + "column": 31 }, "end": { - "line": 19, - "column": 65 + "line": 67, + "column": 37 } } }, @@ -5981,16 +14069,16 @@ "postfix": false, "binop": null }, - "start": 380, - "end": 381, + "start": 1262, + "end": 1263, "loc": { "start": { - "line": 19, - "column": 66 + "line": 67, + "column": 38 }, "end": { - "line": 19, - "column": 67 + "line": 67, + "column": 39 } } }, @@ -6006,16 +14094,16 @@ "postfix": false, "binop": null }, - "start": 382, - "end": 383, + "start": 1264, + "end": 1265, "loc": { "start": { - "line": 19, - "column": 68 + "line": 67, + "column": 40 }, "end": { - "line": 19, - "column": 69 + "line": 67, + "column": 41 } } }, @@ -6034,15 +14122,15 @@ "updateContext": null }, "value": "return", - "start": 385, - "end": 391, + "start": 1267, + "end": 1273, "loc": { "start": { - "line": 20, + "line": 68, "column": 1 }, "end": { - "line": 20, + "line": 68, "column": 7 } } @@ -6059,17 +14147,17 @@ "postfix": false, "binop": null }, - "value": "integer", - "start": 392, - "end": 399, + "value": "first", + "start": 1274, + "end": 1279, "loc": { "start": { - "line": 20, + "line": 68, "column": 8 }, "end": { - "line": 20, - "column": 15 + "line": 68, + "column": 13 } } }, @@ -6086,16 +14174,16 @@ "binop": null, "updateContext": null }, - "start": 399, - "end": 400, + "start": 1279, + "end": 1280, "loc": { "start": { - "line": 20, - "column": 15 + "line": 68, + "column": 13 }, "end": { - "line": 20, - "column": 16 + "line": 68, + "column": 14 } } }, @@ -6111,17 +14199,17 @@ "postfix": false, "binop": null }, - "value": "toString", - "start": 400, - "end": 408, + "value": "imod", + "start": 1280, + "end": 1284, "loc": { "start": { - "line": 20, - "column": 16 + "line": 68, + "column": 14 }, "end": { - "line": 20, - "column": 24 + "line": 68, + "column": 18 } } }, @@ -6137,16 +14225,16 @@ "postfix": false, "binop": null }, - "start": 408, - "end": 409, + "start": 1284, + "end": 1285, "loc": { "start": { - "line": 20, - "column": 24 + "line": 68, + "column": 18 }, "end": { - "line": 20, - "column": 25 + "line": 68, + "column": 19 } } }, @@ -6162,17 +14250,17 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 410, - "end": 414, + "value": "second", + "start": 1285, + "end": 1291, "loc": { "start": { - "line": 20, - "column": 26 + "line": 68, + "column": 19 }, "end": { - "line": 20, - "column": 30 + "line": 68, + "column": 25 } } }, @@ -6188,16 +14276,16 @@ "postfix": false, "binop": null }, - "start": 415, - "end": 416, + "start": 1291, + "end": 1292, "loc": { "start": { - "line": 20, - "column": 31 + "line": 68, + "column": 25 }, "end": { - "line": 20, - "column": 32 + "line": 68, + "column": 26 } } }, @@ -6214,16 +14302,16 @@ "binop": null, "updateContext": null }, - "start": 417, - "end": 418, + "start": 1293, + "end": 1294, "loc": { "start": { - "line": 20, - "column": 33 + "line": 68, + "column": 27 }, "end": { - "line": 20, - "column": 34 + "line": 68, + "column": 28 } } }, @@ -6239,15 +14327,15 @@ "postfix": false, "binop": null }, - "start": 419, - "end": 420, + "start": 1295, + "end": 1296, "loc": { "start": { - "line": 21, + "line": 69, "column": 0 }, "end": { - "line": 21, + "line": 69, "column": 1 } } @@ -6267,15 +14355,15 @@ "updateContext": null }, "value": "export", - "start": 422, - "end": 428, + "start": 1298, + "end": 1304, "loc": { "start": { - "line": 23, + "line": 71, "column": 0 }, "end": { - "line": 23, + "line": 71, "column": 6 } } @@ -6294,15 +14382,15 @@ "binop": null }, "value": "function", - "start": 429, - "end": 437, + "start": 1305, + "end": 1313, "loc": { "start": { - "line": 23, + "line": 71, "column": 7 }, "end": { - "line": 23, + "line": 71, "column": 15 } } @@ -6319,17 +14407,17 @@ "postfix": false, "binop": null }, - "value": "add", - "start": 438, - "end": 441, + "value": "addn", + "start": 1314, + "end": 1318, "loc": { "start": { - "line": 23, + "line": 71, "column": 16 }, "end": { - "line": 23, - "column": 19 + "line": 71, + "column": 20 } } }, @@ -6345,16 +14433,16 @@ "postfix": false, "binop": null }, - "start": 442, - "end": 443, + "start": 1319, + "end": 1320, "loc": { "start": { - "line": 23, - "column": 20 + "line": 71, + "column": 21 }, "end": { - "line": 23, - "column": 21 + "line": 71, + "column": 22 } } }, @@ -6371,16 +14459,16 @@ "binop": null }, "value": "first", - "start": 444, - "end": 449, + "start": 1321, + "end": 1326, "loc": { "start": { - "line": 23, - "column": 22 + "line": 71, + "column": 23 }, "end": { - "line": 23, - "column": 27 + "line": 71, + "column": 28 } } }, @@ -6397,16 +14485,16 @@ "binop": null, "updateContext": null }, - "start": 450, - "end": 451, + "start": 1327, + "end": 1328, "loc": { "start": { - "line": 23, - "column": 28 + "line": 71, + "column": 29 }, "end": { - "line": 23, - "column": 29 + "line": 71, + "column": 30 } } }, @@ -6423,16 +14511,16 @@ "binop": null }, "value": "second", - "start": 452, - "end": 458, + "start": 1329, + "end": 1335, "loc": { "start": { - "line": 23, - "column": 30 + "line": 71, + "column": 31 }, "end": { - "line": 23, - "column": 36 + "line": 71, + "column": 37 } } }, @@ -6448,16 +14536,16 @@ "postfix": false, "binop": null }, - "start": 459, - "end": 460, + "start": 1336, + "end": 1337, "loc": { "start": { - "line": 23, - "column": 37 + "line": 71, + "column": 38 }, "end": { - "line": 23, - "column": 38 + "line": 71, + "column": 39 } } }, @@ -6473,16 +14561,16 @@ "postfix": false, "binop": null }, - "start": 461, - "end": 462, + "start": 1338, + "end": 1339, "loc": { "start": { - "line": 23, - "column": 39 + "line": 71, + "column": 40 }, "end": { - "line": 23, - "column": 40 + "line": 71, + "column": 41 } } }, @@ -6501,15 +14589,15 @@ "updateContext": null }, "value": "return", - "start": 464, - "end": 470, + "start": 1341, + "end": 1347, "loc": { "start": { - "line": 24, + "line": 72, "column": 1 }, "end": { - "line": 24, + "line": 72, "column": 7 } } @@ -6527,15 +14615,15 @@ "binop": null }, "value": "first", - "start": 471, - "end": 476, + "start": 1348, + "end": 1353, "loc": { "start": { - "line": 24, + "line": 72, "column": 8 }, "end": { - "line": 24, + "line": 72, "column": 13 } } @@ -6553,15 +14641,15 @@ "binop": null, "updateContext": null }, - "start": 476, - "end": 477, + "start": 1353, + "end": 1354, "loc": { "start": { - "line": 24, + "line": 72, "column": 13 }, "end": { - "line": 24, + "line": 72, "column": 14 } } @@ -6578,17 +14666,17 @@ "postfix": false, "binop": null }, - "value": "add", - "start": 477, - "end": 480, + "value": "addn", + "start": 1354, + "end": 1358, "loc": { "start": { - "line": 24, + "line": 72, "column": 14 }, "end": { - "line": 24, - "column": 17 + "line": 72, + "column": 18 } } }, @@ -6604,16 +14692,16 @@ "postfix": false, "binop": null }, - "start": 480, - "end": 481, + "start": 1358, + "end": 1359, "loc": { "start": { - "line": 24, - "column": 17 + "line": 72, + "column": 18 }, "end": { - "line": 24, - "column": 18 + "line": 72, + "column": 19 } } }, @@ -6630,16 +14718,16 @@ "binop": null }, "value": "second", - "start": 481, - "end": 487, + "start": 1359, + "end": 1365, "loc": { "start": { - "line": 24, - "column": 18 + "line": 72, + "column": 19 }, "end": { - "line": 24, - "column": 24 + "line": 72, + "column": 25 } } }, @@ -6655,16 +14743,16 @@ "postfix": false, "binop": null }, - "start": 487, - "end": 488, + "start": 1365, + "end": 1366, "loc": { "start": { - "line": 24, - "column": 24 + "line": 72, + "column": 25 }, "end": { - "line": 24, - "column": 25 + "line": 72, + "column": 26 } } }, @@ -6681,16 +14769,16 @@ "binop": null, "updateContext": null }, - "start": 489, - "end": 490, + "start": 1367, + "end": 1368, "loc": { "start": { - "line": 24, - "column": 26 + "line": 72, + "column": 27 }, "end": { - "line": 24, - "column": 27 + "line": 72, + "column": 28 } } }, @@ -6706,15 +14794,15 @@ "postfix": false, "binop": null }, - "start": 491, - "end": 492, + "start": 1369, + "end": 1370, "loc": { "start": { - "line": 25, + "line": 73, "column": 0 }, "end": { - "line": 25, + "line": 73, "column": 1 } } @@ -6734,15 +14822,15 @@ "updateContext": null }, "value": "export", - "start": 494, - "end": 500, + "start": 1372, + "end": 1378, "loc": { "start": { - "line": 27, + "line": 75, "column": 0 }, "end": { - "line": 27, + "line": 75, "column": 6 } } @@ -6761,15 +14849,15 @@ "binop": null }, "value": "function", - "start": 501, - "end": 509, + "start": 1379, + "end": 1387, "loc": { "start": { - "line": 27, + "line": 75, "column": 7 }, "end": { - "line": 27, + "line": 75, "column": 15 } } @@ -6786,17 +14874,17 @@ "postfix": false, "binop": null }, - "value": "iadd", - "start": 510, - "end": 514, + "value": "iaddn", + "start": 1388, + "end": 1393, "loc": { "start": { - "line": 27, + "line": 75, "column": 16 }, "end": { - "line": 27, - "column": 20 + "line": 75, + "column": 21 } } }, @@ -6812,16 +14900,16 @@ "postfix": false, "binop": null }, - "start": 515, - "end": 516, + "start": 1394, + "end": 1395, "loc": { "start": { - "line": 27, - "column": 21 + "line": 75, + "column": 22 }, "end": { - "line": 27, - "column": 22 + "line": 75, + "column": 23 } } }, @@ -6838,16 +14926,16 @@ "binop": null }, "value": "first", - "start": 517, - "end": 522, + "start": 1396, + "end": 1401, "loc": { "start": { - "line": 27, - "column": 23 + "line": 75, + "column": 24 }, "end": { - "line": 27, - "column": 28 + "line": 75, + "column": 29 } } }, @@ -6864,16 +14952,16 @@ "binop": null, "updateContext": null }, - "start": 523, - "end": 524, + "start": 1402, + "end": 1403, "loc": { "start": { - "line": 27, - "column": 29 + "line": 75, + "column": 30 }, "end": { - "line": 27, - "column": 30 + "line": 75, + "column": 31 } } }, @@ -6890,16 +14978,16 @@ "binop": null }, "value": "second", - "start": 525, - "end": 531, + "start": 1404, + "end": 1410, "loc": { "start": { - "line": 27, - "column": 31 + "line": 75, + "column": 32 }, "end": { - "line": 27, - "column": 37 + "line": 75, + "column": 38 } } }, @@ -6915,16 +15003,16 @@ "postfix": false, "binop": null }, - "start": 532, - "end": 533, + "start": 1411, + "end": 1412, "loc": { "start": { - "line": 27, - "column": 38 + "line": 75, + "column": 39 }, "end": { - "line": 27, - "column": 39 + "line": 75, + "column": 40 } } }, @@ -6940,16 +15028,16 @@ "postfix": false, "binop": null }, - "start": 534, - "end": 535, + "start": 1413, + "end": 1414, "loc": { "start": { - "line": 27, - "column": 40 + "line": 75, + "column": 41 }, "end": { - "line": 27, - "column": 41 + "line": 75, + "column": 42 } } }, @@ -6968,15 +15056,15 @@ "updateContext": null }, "value": "return", - "start": 537, - "end": 543, + "start": 1416, + "end": 1422, "loc": { "start": { - "line": 28, + "line": 76, "column": 1 }, "end": { - "line": 28, + "line": 76, "column": 7 } } @@ -6994,15 +15082,15 @@ "binop": null }, "value": "first", - "start": 544, - "end": 549, + "start": 1423, + "end": 1428, "loc": { "start": { - "line": 28, + "line": 76, "column": 8 }, "end": { - "line": 28, + "line": 76, "column": 13 } } @@ -7020,15 +15108,15 @@ "binop": null, "updateContext": null }, - "start": 549, - "end": 550, + "start": 1428, + "end": 1429, "loc": { "start": { - "line": 28, + "line": 76, "column": 13 }, "end": { - "line": 28, + "line": 76, "column": 14 } } @@ -7045,17 +15133,17 @@ "postfix": false, "binop": null }, - "value": "iadd", - "start": 550, - "end": 554, + "value": "iaddn", + "start": 1429, + "end": 1434, "loc": { "start": { - "line": 28, + "line": 76, "column": 14 }, "end": { - "line": 28, - "column": 18 + "line": 76, + "column": 19 } } }, @@ -7071,16 +15159,16 @@ "postfix": false, "binop": null }, - "start": 554, - "end": 555, + "start": 1434, + "end": 1435, "loc": { "start": { - "line": 28, - "column": 18 + "line": 76, + "column": 19 }, "end": { - "line": 28, - "column": 19 + "line": 76, + "column": 20 } } }, @@ -7097,16 +15185,16 @@ "binop": null }, "value": "second", - "start": 555, - "end": 561, + "start": 1435, + "end": 1441, "loc": { "start": { - "line": 28, - "column": 19 + "line": 76, + "column": 20 }, "end": { - "line": 28, - "column": 25 + "line": 76, + "column": 26 } } }, @@ -7122,16 +15210,16 @@ "postfix": false, "binop": null }, - "start": 561, - "end": 562, + "start": 1441, + "end": 1442, "loc": { "start": { - "line": 28, - "column": 25 + "line": 76, + "column": 26 }, "end": { - "line": 28, - "column": 26 + "line": 76, + "column": 27 } } }, @@ -7148,16 +15236,16 @@ "binop": null, "updateContext": null }, - "start": 563, - "end": 564, + "start": 1443, + "end": 1444, "loc": { "start": { - "line": 28, - "column": 27 + "line": 76, + "column": 28 }, "end": { - "line": 28, - "column": 28 + "line": 76, + "column": 29 } } }, @@ -7173,15 +15261,15 @@ "postfix": false, "binop": null }, - "start": 565, - "end": 566, + "start": 1445, + "end": 1446, "loc": { "start": { - "line": 29, + "line": 77, "column": 0 }, "end": { - "line": 29, + "line": 77, "column": 1 } } @@ -7201,15 +15289,15 @@ "updateContext": null }, "value": "export", - "start": 568, - "end": 574, + "start": 1448, + "end": 1454, "loc": { "start": { - "line": 31, + "line": 79, "column": 0 }, "end": { - "line": 31, + "line": 79, "column": 6 } } @@ -7228,15 +15316,15 @@ "binop": null }, "value": "function", - "start": 575, - "end": 583, + "start": 1455, + "end": 1463, "loc": { "start": { - "line": 31, + "line": 79, "column": 7 }, "end": { - "line": 31, + "line": 79, "column": 15 } } @@ -7253,17 +15341,17 @@ "postfix": false, "binop": null }, - "value": "sub", - "start": 584, - "end": 587, + "value": "subn", + "start": 1464, + "end": 1468, "loc": { "start": { - "line": 31, + "line": 79, "column": 16 }, "end": { - "line": 31, - "column": 19 + "line": 79, + "column": 20 } } }, @@ -7279,16 +15367,16 @@ "postfix": false, "binop": null }, - "start": 588, - "end": 589, + "start": 1469, + "end": 1470, "loc": { "start": { - "line": 31, - "column": 20 + "line": 79, + "column": 21 }, "end": { - "line": 31, - "column": 21 + "line": 79, + "column": 22 } } }, @@ -7305,16 +15393,16 @@ "binop": null }, "value": "first", - "start": 590, - "end": 595, + "start": 1471, + "end": 1476, "loc": { "start": { - "line": 31, - "column": 22 + "line": 79, + "column": 23 }, "end": { - "line": 31, - "column": 27 + "line": 79, + "column": 28 } } }, @@ -7331,16 +15419,16 @@ "binop": null, "updateContext": null }, - "start": 596, - "end": 597, + "start": 1477, + "end": 1478, "loc": { "start": { - "line": 31, - "column": 28 + "line": 79, + "column": 29 }, "end": { - "line": 31, - "column": 29 + "line": 79, + "column": 30 } } }, @@ -7357,16 +15445,16 @@ "binop": null }, "value": "second", - "start": 598, - "end": 604, + "start": 1479, + "end": 1485, "loc": { "start": { - "line": 31, - "column": 30 + "line": 79, + "column": 31 }, "end": { - "line": 31, - "column": 36 + "line": 79, + "column": 37 } } }, @@ -7382,16 +15470,16 @@ "postfix": false, "binop": null }, - "start": 605, - "end": 606, + "start": 1486, + "end": 1487, "loc": { "start": { - "line": 31, - "column": 37 + "line": 79, + "column": 38 }, "end": { - "line": 31, - "column": 38 + "line": 79, + "column": 39 } } }, @@ -7407,16 +15495,16 @@ "postfix": false, "binop": null }, - "start": 607, - "end": 608, + "start": 1488, + "end": 1489, "loc": { "start": { - "line": 31, - "column": 39 + "line": 79, + "column": 40 }, "end": { - "line": 31, - "column": 40 + "line": 79, + "column": 41 } } }, @@ -7435,15 +15523,15 @@ "updateContext": null }, "value": "return", - "start": 610, - "end": 616, + "start": 1491, + "end": 1497, "loc": { "start": { - "line": 32, + "line": 80, "column": 1 }, "end": { - "line": 32, + "line": 80, "column": 7 } } @@ -7461,15 +15549,15 @@ "binop": null }, "value": "first", - "start": 617, - "end": 622, + "start": 1498, + "end": 1503, "loc": { "start": { - "line": 32, + "line": 80, "column": 8 }, "end": { - "line": 32, + "line": 80, "column": 13 } } @@ -7487,15 +15575,15 @@ "binop": null, "updateContext": null }, - "start": 622, - "end": 623, + "start": 1503, + "end": 1504, "loc": { "start": { - "line": 32, + "line": 80, "column": 13 }, "end": { - "line": 32, + "line": 80, "column": 14 } } @@ -7512,17 +15600,17 @@ "postfix": false, "binop": null }, - "value": "sub", - "start": 623, - "end": 626, + "value": "subn", + "start": 1504, + "end": 1508, "loc": { "start": { - "line": 32, + "line": 80, "column": 14 }, "end": { - "line": 32, - "column": 17 + "line": 80, + "column": 18 } } }, @@ -7538,16 +15626,16 @@ "postfix": false, "binop": null }, - "start": 626, - "end": 627, + "start": 1508, + "end": 1509, "loc": { "start": { - "line": 32, - "column": 17 + "line": 80, + "column": 18 }, "end": { - "line": 32, - "column": 18 + "line": 80, + "column": 19 } } }, @@ -7564,16 +15652,16 @@ "binop": null }, "value": "second", - "start": 627, - "end": 633, + "start": 1509, + "end": 1515, "loc": { "start": { - "line": 32, - "column": 18 + "line": 80, + "column": 19 }, "end": { - "line": 32, - "column": 24 + "line": 80, + "column": 25 } } }, @@ -7589,16 +15677,16 @@ "postfix": false, "binop": null }, - "start": 633, - "end": 634, + "start": 1515, + "end": 1516, "loc": { "start": { - "line": 32, - "column": 24 + "line": 80, + "column": 25 }, "end": { - "line": 32, - "column": 25 + "line": 80, + "column": 26 } } }, @@ -7615,16 +15703,16 @@ "binop": null, "updateContext": null }, - "start": 635, - "end": 636, + "start": 1517, + "end": 1518, "loc": { "start": { - "line": 32, - "column": 26 + "line": 80, + "column": 27 }, "end": { - "line": 32, - "column": 27 + "line": 80, + "column": 28 } } }, @@ -7640,15 +15728,15 @@ "postfix": false, "binop": null }, - "start": 637, - "end": 638, + "start": 1519, + "end": 1520, "loc": { "start": { - "line": 33, + "line": 81, "column": 0 }, "end": { - "line": 33, + "line": 81, "column": 1 } } @@ -7668,15 +15756,15 @@ "updateContext": null }, "value": "export", - "start": 640, - "end": 646, + "start": 1522, + "end": 1528, "loc": { "start": { - "line": 35, + "line": 83, "column": 0 }, "end": { - "line": 35, + "line": 83, "column": 6 } } @@ -7695,15 +15783,15 @@ "binop": null }, "value": "function", - "start": 647, - "end": 655, + "start": 1529, + "end": 1537, "loc": { "start": { - "line": 35, + "line": 83, "column": 7 }, "end": { - "line": 35, + "line": 83, "column": 15 } } @@ -7720,17 +15808,17 @@ "postfix": false, "binop": null }, - "value": "isub", - "start": 656, - "end": 660, + "value": "isubn", + "start": 1538, + "end": 1543, "loc": { "start": { - "line": 35, + "line": 83, "column": 16 }, "end": { - "line": 35, - "column": 20 + "line": 83, + "column": 21 } } }, @@ -7746,16 +15834,16 @@ "postfix": false, "binop": null }, - "start": 661, - "end": 662, + "start": 1544, + "end": 1545, "loc": { "start": { - "line": 35, - "column": 21 + "line": 83, + "column": 22 }, "end": { - "line": 35, - "column": 22 + "line": 83, + "column": 23 } } }, @@ -7772,16 +15860,16 @@ "binop": null }, "value": "first", - "start": 663, - "end": 668, + "start": 1546, + "end": 1551, "loc": { "start": { - "line": 35, - "column": 23 + "line": 83, + "column": 24 }, "end": { - "line": 35, - "column": 28 + "line": 83, + "column": 29 } } }, @@ -7798,16 +15886,16 @@ "binop": null, "updateContext": null }, - "start": 669, - "end": 670, + "start": 1552, + "end": 1553, "loc": { "start": { - "line": 35, - "column": 29 + "line": 83, + "column": 30 }, "end": { - "line": 35, - "column": 30 + "line": 83, + "column": 31 } } }, @@ -7823,17 +15911,17 @@ "postfix": false, "binop": null }, - "value": "second", - "start": 671, - "end": 677, + "value": "second", + "start": 1554, + "end": 1560, "loc": { "start": { - "line": 35, - "column": 31 + "line": 83, + "column": 32 }, "end": { - "line": 35, - "column": 37 + "line": 83, + "column": 38 } } }, @@ -7849,16 +15937,16 @@ "postfix": false, "binop": null }, - "start": 678, - "end": 679, + "start": 1561, + "end": 1562, "loc": { "start": { - "line": 35, - "column": 38 + "line": 83, + "column": 39 }, "end": { - "line": 35, - "column": 39 + "line": 83, + "column": 40 } } }, @@ -7874,16 +15962,16 @@ "postfix": false, "binop": null }, - "start": 680, - "end": 681, + "start": 1563, + "end": 1564, "loc": { "start": { - "line": 35, - "column": 40 + "line": 83, + "column": 41 }, "end": { - "line": 35, - "column": 41 + "line": 83, + "column": 42 } } }, @@ -7902,15 +15990,15 @@ "updateContext": null }, "value": "return", - "start": 683, - "end": 689, + "start": 1566, + "end": 1572, "loc": { "start": { - "line": 36, + "line": 84, "column": 1 }, "end": { - "line": 36, + "line": 84, "column": 7 } } @@ -7928,15 +16016,15 @@ "binop": null }, "value": "first", - "start": 690, - "end": 695, + "start": 1573, + "end": 1578, "loc": { "start": { - "line": 36, + "line": 84, "column": 8 }, "end": { - "line": 36, + "line": 84, "column": 13 } } @@ -7954,15 +16042,15 @@ "binop": null, "updateContext": null }, - "start": 695, - "end": 696, + "start": 1578, + "end": 1579, "loc": { "start": { - "line": 36, + "line": 84, "column": 13 }, "end": { - "line": 36, + "line": 84, "column": 14 } } @@ -7979,17 +16067,17 @@ "postfix": false, "binop": null }, - "value": "isub", - "start": 696, - "end": 700, + "value": "isubn", + "start": 1579, + "end": 1584, "loc": { "start": { - "line": 36, + "line": 84, "column": 14 }, "end": { - "line": 36, - "column": 18 + "line": 84, + "column": 19 } } }, @@ -8005,16 +16093,16 @@ "postfix": false, "binop": null }, - "start": 700, - "end": 701, + "start": 1584, + "end": 1585, "loc": { "start": { - "line": 36, - "column": 18 + "line": 84, + "column": 19 }, "end": { - "line": 36, - "column": 19 + "line": 84, + "column": 20 } } }, @@ -8031,16 +16119,16 @@ "binop": null }, "value": "second", - "start": 701, - "end": 707, + "start": 1585, + "end": 1591, "loc": { "start": { - "line": 36, - "column": 19 + "line": 84, + "column": 20 }, "end": { - "line": 36, - "column": 25 + "line": 84, + "column": 26 } } }, @@ -8056,16 +16144,16 @@ "postfix": false, "binop": null }, - "start": 707, - "end": 708, + "start": 1591, + "end": 1592, "loc": { "start": { - "line": 36, - "column": 25 + "line": 84, + "column": 26 }, "end": { - "line": 36, - "column": 26 + "line": 84, + "column": 27 } } }, @@ -8082,16 +16170,16 @@ "binop": null, "updateContext": null }, - "start": 709, - "end": 710, + "start": 1593, + "end": 1594, "loc": { "start": { - "line": 36, - "column": 27 + "line": 84, + "column": 28 }, "end": { - "line": 36, - "column": 28 + "line": 84, + "column": 29 } } }, @@ -8107,15 +16195,15 @@ "postfix": false, "binop": null }, - "start": 711, - "end": 712, + "start": 1595, + "end": 1596, "loc": { "start": { - "line": 37, + "line": 85, "column": 0 }, "end": { - "line": 37, + "line": 85, "column": 1 } } @@ -8135,15 +16223,15 @@ "updateContext": null }, "value": "export", - "start": 714, - "end": 720, + "start": 1598, + "end": 1604, "loc": { "start": { - "line": 39, + "line": 87, "column": 0 }, "end": { - "line": 39, + "line": 87, "column": 6 } } @@ -8162,15 +16250,15 @@ "binop": null }, "value": "function", - "start": 721, - "end": 729, + "start": 1605, + "end": 1613, "loc": { "start": { - "line": 39, + "line": 87, "column": 7 }, "end": { - "line": 39, + "line": 87, "column": 15 } } @@ -8187,17 +16275,17 @@ "postfix": false, "binop": null }, - "value": "mul", - "start": 730, - "end": 733, + "value": "muln", + "start": 1614, + "end": 1618, "loc": { "start": { - "line": 39, + "line": 87, "column": 16 }, "end": { - "line": 39, - "column": 19 + "line": 87, + "column": 20 } } }, @@ -8213,16 +16301,16 @@ "postfix": false, "binop": null }, - "start": 734, - "end": 735, + "start": 1619, + "end": 1620, "loc": { "start": { - "line": 39, - "column": 20 + "line": 87, + "column": 21 }, "end": { - "line": 39, - "column": 21 + "line": 87, + "column": 22 } } }, @@ -8239,16 +16327,16 @@ "binop": null }, "value": "first", - "start": 736, - "end": 741, + "start": 1621, + "end": 1626, "loc": { "start": { - "line": 39, - "column": 22 + "line": 87, + "column": 23 }, "end": { - "line": 39, - "column": 27 + "line": 87, + "column": 28 } } }, @@ -8265,16 +16353,16 @@ "binop": null, "updateContext": null }, - "start": 742, - "end": 743, + "start": 1627, + "end": 1628, "loc": { "start": { - "line": 39, - "column": 28 + "line": 87, + "column": 29 }, "end": { - "line": 39, - "column": 29 + "line": 87, + "column": 30 } } }, @@ -8291,16 +16379,16 @@ "binop": null }, "value": "second", - "start": 744, - "end": 750, + "start": 1629, + "end": 1635, "loc": { "start": { - "line": 39, - "column": 30 + "line": 87, + "column": 31 }, "end": { - "line": 39, - "column": 36 + "line": 87, + "column": 37 } } }, @@ -8316,16 +16404,16 @@ "postfix": false, "binop": null }, - "start": 751, - "end": 752, + "start": 1636, + "end": 1637, "loc": { "start": { - "line": 39, - "column": 37 + "line": 87, + "column": 38 }, "end": { - "line": 39, - "column": 38 + "line": 87, + "column": 39 } } }, @@ -8341,16 +16429,16 @@ "postfix": false, "binop": null }, - "start": 753, - "end": 754, + "start": 1638, + "end": 1639, "loc": { "start": { - "line": 39, - "column": 39 + "line": 87, + "column": 40 }, "end": { - "line": 39, - "column": 40 + "line": 87, + "column": 41 } } }, @@ -8369,15 +16457,15 @@ "updateContext": null }, "value": "return", - "start": 756, - "end": 762, + "start": 1641, + "end": 1647, "loc": { "start": { - "line": 40, + "line": 88, "column": 1 }, "end": { - "line": 40, + "line": 88, "column": 7 } } @@ -8395,15 +16483,15 @@ "binop": null }, "value": "first", - "start": 763, - "end": 768, + "start": 1648, + "end": 1653, "loc": { "start": { - "line": 40, + "line": 88, "column": 8 }, "end": { - "line": 40, + "line": 88, "column": 13 } } @@ -8421,15 +16509,15 @@ "binop": null, "updateContext": null }, - "start": 768, - "end": 769, + "start": 1653, + "end": 1654, "loc": { "start": { - "line": 40, + "line": 88, "column": 13 }, "end": { - "line": 40, + "line": 88, "column": 14 } } @@ -8446,17 +16534,17 @@ "postfix": false, "binop": null }, - "value": "mul", - "start": 769, - "end": 772, + "value": "muln", + "start": 1654, + "end": 1658, "loc": { "start": { - "line": 40, + "line": 88, "column": 14 }, "end": { - "line": 40, - "column": 17 + "line": 88, + "column": 18 } } }, @@ -8472,16 +16560,16 @@ "postfix": false, "binop": null }, - "start": 772, - "end": 773, + "start": 1658, + "end": 1659, "loc": { "start": { - "line": 40, - "column": 17 + "line": 88, + "column": 18 }, "end": { - "line": 40, - "column": 18 + "line": 88, + "column": 19 } } }, @@ -8498,16 +16586,16 @@ "binop": null }, "value": "second", - "start": 773, - "end": 779, + "start": 1659, + "end": 1665, "loc": { "start": { - "line": 40, - "column": 18 + "line": 88, + "column": 19 }, "end": { - "line": 40, - "column": 24 + "line": 88, + "column": 25 } } }, @@ -8523,16 +16611,16 @@ "postfix": false, "binop": null }, - "start": 779, - "end": 780, + "start": 1665, + "end": 1666, "loc": { "start": { - "line": 40, - "column": 24 + "line": 88, + "column": 25 }, "end": { - "line": 40, - "column": 25 + "line": 88, + "column": 26 } } }, @@ -8549,16 +16637,16 @@ "binop": null, "updateContext": null }, - "start": 781, - "end": 782, + "start": 1667, + "end": 1668, "loc": { "start": { - "line": 40, - "column": 26 + "line": 88, + "column": 27 }, "end": { - "line": 40, - "column": 27 + "line": 88, + "column": 28 } } }, @@ -8574,15 +16662,15 @@ "postfix": false, "binop": null }, - "start": 783, - "end": 784, + "start": 1669, + "end": 1670, "loc": { "start": { - "line": 41, + "line": 89, "column": 0 }, "end": { - "line": 41, + "line": 89, "column": 1 } } @@ -8602,15 +16690,15 @@ "updateContext": null }, "value": "export", - "start": 786, - "end": 792, + "start": 1672, + "end": 1678, "loc": { "start": { - "line": 43, + "line": 91, "column": 0 }, "end": { - "line": 43, + "line": 91, "column": 6 } } @@ -8629,15 +16717,15 @@ "binop": null }, "value": "function", - "start": 793, - "end": 801, + "start": 1679, + "end": 1687, "loc": { "start": { - "line": 43, + "line": 91, "column": 7 }, "end": { - "line": 43, + "line": 91, "column": 15 } } @@ -8654,17 +16742,17 @@ "postfix": false, "binop": null }, - "value": "imul", - "start": 802, - "end": 806, + "value": "imuln", + "start": 1688, + "end": 1693, "loc": { "start": { - "line": 43, + "line": 91, "column": 16 }, "end": { - "line": 43, - "column": 20 + "line": 91, + "column": 21 } } }, @@ -8680,16 +16768,16 @@ "postfix": false, "binop": null }, - "start": 807, - "end": 808, + "start": 1694, + "end": 1695, "loc": { "start": { - "line": 43, - "column": 21 + "line": 91, + "column": 22 }, "end": { - "line": 43, - "column": 22 + "line": 91, + "column": 23 } } }, @@ -8706,16 +16794,16 @@ "binop": null }, "value": "first", - "start": 809, - "end": 814, + "start": 1696, + "end": 1701, "loc": { "start": { - "line": 43, - "column": 23 + "line": 91, + "column": 24 }, "end": { - "line": 43, - "column": 28 + "line": 91, + "column": 29 } } }, @@ -8732,16 +16820,16 @@ "binop": null, "updateContext": null }, - "start": 815, - "end": 816, + "start": 1702, + "end": 1703, "loc": { "start": { - "line": 43, - "column": 29 + "line": 91, + "column": 30 }, "end": { - "line": 43, - "column": 30 + "line": 91, + "column": 31 } } }, @@ -8758,16 +16846,16 @@ "binop": null }, "value": "second", - "start": 817, - "end": 823, + "start": 1704, + "end": 1710, "loc": { "start": { - "line": 43, - "column": 31 + "line": 91, + "column": 32 }, "end": { - "line": 43, - "column": 37 + "line": 91, + "column": 38 } } }, @@ -8783,16 +16871,16 @@ "postfix": false, "binop": null }, - "start": 824, - "end": 825, + "start": 1711, + "end": 1712, "loc": { "start": { - "line": 43, - "column": 38 + "line": 91, + "column": 39 }, "end": { - "line": 43, - "column": 39 + "line": 91, + "column": 40 } } }, @@ -8808,16 +16896,16 @@ "postfix": false, "binop": null }, - "start": 826, - "end": 827, + "start": 1713, + "end": 1714, "loc": { - "start": { - "line": 43, - "column": 40 + "start": { + "line": 91, + "column": 41 }, "end": { - "line": 43, - "column": 41 + "line": 91, + "column": 42 } } }, @@ -8836,15 +16924,15 @@ "updateContext": null }, "value": "return", - "start": 829, - "end": 835, + "start": 1716, + "end": 1722, "loc": { "start": { - "line": 44, + "line": 92, "column": 1 }, "end": { - "line": 44, + "line": 92, "column": 7 } } @@ -8862,15 +16950,15 @@ "binop": null }, "value": "first", - "start": 836, - "end": 841, + "start": 1723, + "end": 1728, "loc": { "start": { - "line": 44, + "line": 92, "column": 8 }, "end": { - "line": 44, + "line": 92, "column": 13 } } @@ -8888,15 +16976,15 @@ "binop": null, "updateContext": null }, - "start": 841, - "end": 842, + "start": 1728, + "end": 1729, "loc": { "start": { - "line": 44, + "line": 92, "column": 13 }, "end": { - "line": 44, + "line": 92, "column": 14 } } @@ -8913,17 +17001,17 @@ "postfix": false, "binop": null }, - "value": "imul", - "start": 842, - "end": 846, + "value": "imuln", + "start": 1729, + "end": 1734, "loc": { "start": { - "line": 44, + "line": 92, "column": 14 }, "end": { - "line": 44, - "column": 18 + "line": 92, + "column": 19 } } }, @@ -8939,16 +17027,16 @@ "postfix": false, "binop": null }, - "start": 846, - "end": 847, + "start": 1734, + "end": 1735, "loc": { "start": { - "line": 44, - "column": 18 + "line": 92, + "column": 19 }, "end": { - "line": 44, - "column": 19 + "line": 92, + "column": 20 } } }, @@ -8965,16 +17053,16 @@ "binop": null }, "value": "second", - "start": 847, - "end": 853, + "start": 1735, + "end": 1741, "loc": { "start": { - "line": 44, - "column": 19 + "line": 92, + "column": 20 }, "end": { - "line": 44, - "column": 25 + "line": 92, + "column": 26 } } }, @@ -8990,16 +17078,16 @@ "postfix": false, "binop": null }, - "start": 853, - "end": 854, + "start": 1741, + "end": 1742, "loc": { "start": { - "line": 44, - "column": 25 + "line": 92, + "column": 26 }, "end": { - "line": 44, - "column": 26 + "line": 92, + "column": 27 } } }, @@ -9016,16 +17104,16 @@ "binop": null, "updateContext": null }, - "start": 855, - "end": 856, + "start": 1743, + "end": 1744, "loc": { "start": { - "line": 44, - "column": 27 + "line": 92, + "column": 28 }, "end": { - "line": 44, - "column": 28 + "line": 92, + "column": 29 } } }, @@ -9041,15 +17129,15 @@ "postfix": false, "binop": null }, - "start": 857, - "end": 858, + "start": 1745, + "end": 1746, "loc": { "start": { - "line": 45, + "line": 93, "column": 0 }, "end": { - "line": 45, + "line": 93, "column": 1 } } @@ -9069,15 +17157,15 @@ "updateContext": null }, "value": "export", - "start": 860, - "end": 866, + "start": 1748, + "end": 1754, "loc": { "start": { - "line": 47, + "line": 95, "column": 0 }, "end": { - "line": 47, + "line": 95, "column": 6 } } @@ -9096,15 +17184,15 @@ "binop": null }, "value": "function", - "start": 867, - "end": 875, + "start": 1755, + "end": 1763, "loc": { "start": { - "line": 47, + "line": 95, "column": 7 }, "end": { - "line": 47, + "line": 95, "column": 15 } } @@ -9121,17 +17209,17 @@ "postfix": false, "binop": null }, - "value": "pow", - "start": 876, - "end": 879, + "value": "pown", + "start": 1764, + "end": 1768, "loc": { "start": { - "line": 47, + "line": 95, "column": 16 }, "end": { - "line": 47, - "column": 19 + "line": 95, + "column": 20 } } }, @@ -9147,16 +17235,16 @@ "postfix": false, "binop": null }, - "start": 880, - "end": 881, + "start": 1769, + "end": 1770, "loc": { "start": { - "line": 47, - "column": 20 + "line": 95, + "column": 21 }, "end": { - "line": 47, - "column": 21 + "line": 95, + "column": 22 } } }, @@ -9173,16 +17261,16 @@ "binop": null }, "value": "first", - "start": 882, - "end": 887, + "start": 1771, + "end": 1776, "loc": { "start": { - "line": 47, - "column": 22 + "line": 95, + "column": 23 }, "end": { - "line": 47, - "column": 27 + "line": 95, + "column": 28 } } }, @@ -9199,16 +17287,16 @@ "binop": null, "updateContext": null }, - "start": 888, - "end": 889, + "start": 1777, + "end": 1778, "loc": { "start": { - "line": 47, - "column": 28 + "line": 95, + "column": 29 }, "end": { - "line": 47, - "column": 29 + "line": 95, + "column": 30 } } }, @@ -9225,16 +17313,16 @@ "binop": null }, "value": "second", - "start": 890, - "end": 896, + "start": 1779, + "end": 1785, "loc": { "start": { - "line": 47, - "column": 30 + "line": 95, + "column": 31 }, "end": { - "line": 47, - "column": 36 + "line": 95, + "column": 37 } } }, @@ -9250,16 +17338,16 @@ "postfix": false, "binop": null }, - "start": 897, - "end": 898, + "start": 1786, + "end": 1787, "loc": { "start": { - "line": 47, - "column": 37 + "line": 95, + "column": 38 }, "end": { - "line": 47, - "column": 38 + "line": 95, + "column": 39 } } }, @@ -9275,16 +17363,16 @@ "postfix": false, "binop": null }, - "start": 899, - "end": 900, + "start": 1788, + "end": 1789, "loc": { "start": { - "line": 47, - "column": 39 + "line": 95, + "column": 40 }, "end": { - "line": 47, - "column": 40 + "line": 95, + "column": 41 } } }, @@ -9303,15 +17391,15 @@ "updateContext": null }, "value": "return", - "start": 902, - "end": 908, + "start": 1791, + "end": 1797, "loc": { "start": { - "line": 48, + "line": 96, "column": 1 }, "end": { - "line": 48, + "line": 96, "column": 7 } } @@ -9329,15 +17417,15 @@ "binop": null }, "value": "first", - "start": 909, - "end": 914, + "start": 1798, + "end": 1803, "loc": { "start": { - "line": 48, + "line": 96, "column": 8 }, "end": { - "line": 48, + "line": 96, "column": 13 } } @@ -9355,15 +17443,15 @@ "binop": null, "updateContext": null }, - "start": 914, - "end": 915, + "start": 1803, + "end": 1804, "loc": { "start": { - "line": 48, + "line": 96, "column": 13 }, "end": { - "line": 48, + "line": 96, "column": 14 } } @@ -9380,17 +17468,17 @@ "postfix": false, "binop": null }, - "value": "pow", - "start": 915, - "end": 918, + "value": "pown", + "start": 1804, + "end": 1808, "loc": { "start": { - "line": 48, + "line": 96, "column": 14 }, "end": { - "line": 48, - "column": 17 + "line": 96, + "column": 18 } } }, @@ -9406,16 +17494,16 @@ "postfix": false, "binop": null }, - "start": 918, - "end": 919, + "start": 1808, + "end": 1809, "loc": { "start": { - "line": 48, - "column": 17 + "line": 96, + "column": 18 }, "end": { - "line": 48, - "column": 18 + "line": 96, + "column": 19 } } }, @@ -9432,16 +17520,16 @@ "binop": null }, "value": "second", - "start": 919, - "end": 925, + "start": 1809, + "end": 1815, "loc": { "start": { - "line": 48, - "column": 18 + "line": 96, + "column": 19 }, "end": { - "line": 48, - "column": 24 + "line": 96, + "column": 25 } } }, @@ -9457,16 +17545,16 @@ "postfix": false, "binop": null }, - "start": 925, - "end": 926, + "start": 1815, + "end": 1816, "loc": { "start": { - "line": 48, - "column": 24 + "line": 96, + "column": 25 }, "end": { - "line": 48, - "column": 25 + "line": 96, + "column": 26 } } }, @@ -9483,16 +17571,16 @@ "binop": null, "updateContext": null }, - "start": 927, - "end": 928, + "start": 1817, + "end": 1818, "loc": { "start": { - "line": 48, - "column": 26 + "line": 96, + "column": 27 }, "end": { - "line": 48, - "column": 27 + "line": 96, + "column": 28 } } }, @@ -9508,15 +17596,15 @@ "postfix": false, "binop": null }, - "start": 929, - "end": 930, + "start": 1819, + "end": 1820, "loc": { "start": { - "line": 49, + "line": 97, "column": 0 }, "end": { - "line": 49, + "line": 97, "column": 1 } } @@ -9536,15 +17624,15 @@ "updateContext": null }, "value": "export", - "start": 932, - "end": 938, + "start": 1822, + "end": 1828, "loc": { "start": { - "line": 51, + "line": 99, "column": 0 }, "end": { - "line": 51, + "line": 99, "column": 6 } } @@ -9563,15 +17651,15 @@ "binop": null }, "value": "function", - "start": 939, - "end": 947, + "start": 1829, + "end": 1837, "loc": { "start": { - "line": 51, + "line": 99, "column": 7 }, "end": { - "line": 51, + "line": 99, "column": 15 } } @@ -9588,17 +17676,17 @@ "postfix": false, "binop": null }, - "value": "ipow", - "start": 948, - "end": 952, + "value": "ipown", + "start": 1838, + "end": 1843, "loc": { "start": { - "line": 51, + "line": 99, "column": 16 }, "end": { - "line": 51, - "column": 20 + "line": 99, + "column": 21 } } }, @@ -9614,16 +17702,16 @@ "postfix": false, "binop": null }, - "start": 953, - "end": 954, + "start": 1844, + "end": 1845, "loc": { "start": { - "line": 51, - "column": 21 + "line": 99, + "column": 22 }, "end": { - "line": 51, - "column": 22 + "line": 99, + "column": 23 } } }, @@ -9640,16 +17728,16 @@ "binop": null }, "value": "first", - "start": 955, - "end": 960, + "start": 1846, + "end": 1851, "loc": { "start": { - "line": 51, - "column": 23 + "line": 99, + "column": 24 }, "end": { - "line": 51, - "column": 28 + "line": 99, + "column": 29 } } }, @@ -9666,16 +17754,16 @@ "binop": null, "updateContext": null }, - "start": 961, - "end": 962, + "start": 1852, + "end": 1853, "loc": { "start": { - "line": 51, - "column": 29 + "line": 99, + "column": 30 }, "end": { - "line": 51, - "column": 30 + "line": 99, + "column": 31 } } }, @@ -9692,16 +17780,16 @@ "binop": null }, "value": "second", - "start": 963, - "end": 969, + "start": 1854, + "end": 1860, "loc": { "start": { - "line": 51, - "column": 31 + "line": 99, + "column": 32 }, "end": { - "line": 51, - "column": 37 + "line": 99, + "column": 38 } } }, @@ -9717,16 +17805,16 @@ "postfix": false, "binop": null }, - "start": 970, - "end": 971, + "start": 1861, + "end": 1862, "loc": { "start": { - "line": 51, - "column": 38 + "line": 99, + "column": 39 }, "end": { - "line": 51, - "column": 39 + "line": 99, + "column": 40 } } }, @@ -9742,16 +17830,16 @@ "postfix": false, "binop": null }, - "start": 972, - "end": 973, + "start": 1863, + "end": 1864, "loc": { "start": { - "line": 51, - "column": 40 + "line": 99, + "column": 41 }, "end": { - "line": 51, - "column": 41 + "line": 99, + "column": 42 } } }, @@ -9770,15 +17858,15 @@ "updateContext": null }, "value": "return", - "start": 975, - "end": 981, + "start": 1866, + "end": 1872, "loc": { "start": { - "line": 52, + "line": 100, "column": 1 }, "end": { - "line": 52, + "line": 100, "column": 7 } } @@ -9796,15 +17884,15 @@ "binop": null }, "value": "first", - "start": 982, - "end": 987, + "start": 1873, + "end": 1878, "loc": { "start": { - "line": 52, + "line": 100, "column": 8 }, "end": { - "line": 52, + "line": 100, "column": 13 } } @@ -9822,15 +17910,15 @@ "binop": null, "updateContext": null }, - "start": 987, - "end": 988, + "start": 1878, + "end": 1879, "loc": { "start": { - "line": 52, + "line": 100, "column": 13 }, "end": { - "line": 52, + "line": 100, "column": 14 } } @@ -9847,17 +17935,17 @@ "postfix": false, "binop": null }, - "value": "ipow", - "start": 988, - "end": 992, + "value": "ipown", + "start": 1879, + "end": 1884, "loc": { "start": { - "line": 52, + "line": 100, "column": 14 }, "end": { - "line": 52, - "column": 18 + "line": 100, + "column": 19 } } }, @@ -9873,16 +17961,16 @@ "postfix": false, "binop": null }, - "start": 992, - "end": 993, + "start": 1884, + "end": 1885, "loc": { "start": { - "line": 52, - "column": 18 + "line": 100, + "column": 19 }, "end": { - "line": 52, - "column": 19 + "line": 100, + "column": 20 } } }, @@ -9899,16 +17987,16 @@ "binop": null }, "value": "second", - "start": 993, - "end": 999, + "start": 1885, + "end": 1891, "loc": { "start": { - "line": 52, - "column": 19 + "line": 100, + "column": 20 }, "end": { - "line": 52, - "column": 25 + "line": 100, + "column": 26 } } }, @@ -9924,16 +18012,16 @@ "postfix": false, "binop": null }, - "start": 999, - "end": 1000, + "start": 1891, + "end": 1892, "loc": { "start": { - "line": 52, - "column": 25 + "line": 100, + "column": 26 }, "end": { - "line": 52, - "column": 26 + "line": 100, + "column": 27 } } }, @@ -9950,16 +18038,16 @@ "binop": null, "updateContext": null }, - "start": 1001, - "end": 1002, + "start": 1893, + "end": 1894, "loc": { "start": { - "line": 52, - "column": 27 + "line": 100, + "column": 28 }, "end": { - "line": 52, - "column": 28 + "line": 100, + "column": 29 } } }, @@ -9975,15 +18063,15 @@ "postfix": false, "binop": null }, - "start": 1003, - "end": 1004, + "start": 1895, + "end": 1896, "loc": { "start": { - "line": 53, + "line": 101, "column": 0 }, "end": { - "line": 53, + "line": 101, "column": 1 } } @@ -10003,15 +18091,15 @@ "updateContext": null }, "value": "export", - "start": 1006, - "end": 1012, + "start": 1898, + "end": 1904, "loc": { "start": { - "line": 55, + "line": 103, "column": 0 }, "end": { - "line": 55, + "line": 103, "column": 6 } } @@ -10030,15 +18118,15 @@ "binop": null }, "value": "function", - "start": 1013, - "end": 1021, + "start": 1905, + "end": 1913, "loc": { "start": { - "line": 55, + "line": 103, "column": 7 }, "end": { - "line": 55, + "line": 103, "column": 15 } } @@ -10055,17 +18143,17 @@ "postfix": false, "binop": null }, - "value": "div", - "start": 1022, - "end": 1025, + "value": "divn", + "start": 1914, + "end": 1918, "loc": { "start": { - "line": 55, + "line": 103, "column": 16 }, "end": { - "line": 55, - "column": 19 + "line": 103, + "column": 20 } } }, @@ -10081,16 +18169,16 @@ "postfix": false, "binop": null }, - "start": 1026, - "end": 1027, + "start": 1919, + "end": 1920, "loc": { "start": { - "line": 55, - "column": 20 + "line": 103, + "column": 21 }, "end": { - "line": 55, - "column": 21 + "line": 103, + "column": 22 } } }, @@ -10107,16 +18195,16 @@ "binop": null }, "value": "first", - "start": 1028, - "end": 1033, + "start": 1921, + "end": 1926, "loc": { "start": { - "line": 55, - "column": 22 + "line": 103, + "column": 23 }, "end": { - "line": 55, - "column": 27 + "line": 103, + "column": 28 } } }, @@ -10133,16 +18221,16 @@ "binop": null, "updateContext": null }, - "start": 1034, - "end": 1035, + "start": 1927, + "end": 1928, "loc": { "start": { - "line": 55, - "column": 28 + "line": 103, + "column": 29 }, "end": { - "line": 55, - "column": 29 + "line": 103, + "column": 30 } } }, @@ -10159,16 +18247,16 @@ "binop": null }, "value": "second", - "start": 1036, - "end": 1042, + "start": 1929, + "end": 1935, "loc": { "start": { - "line": 55, - "column": 30 + "line": 103, + "column": 31 }, "end": { - "line": 55, - "column": 36 + "line": 103, + "column": 37 } } }, @@ -10184,16 +18272,16 @@ "postfix": false, "binop": null }, - "start": 1043, - "end": 1044, + "start": 1936, + "end": 1937, "loc": { "start": { - "line": 55, - "column": 37 + "line": 103, + "column": 38 }, "end": { - "line": 55, - "column": 38 + "line": 103, + "column": 39 } } }, @@ -10209,16 +18297,16 @@ "postfix": false, "binop": null }, - "start": 1045, - "end": 1046, + "start": 1938, + "end": 1939, "loc": { "start": { - "line": 55, - "column": 39 + "line": 103, + "column": 40 }, "end": { - "line": 55, - "column": 40 + "line": 103, + "column": 41 } } }, @@ -10237,15 +18325,15 @@ "updateContext": null }, "value": "return", - "start": 1048, - "end": 1054, + "start": 1941, + "end": 1947, "loc": { "start": { - "line": 56, + "line": 104, "column": 1 }, "end": { - "line": 56, + "line": 104, "column": 7 } } @@ -10263,15 +18351,15 @@ "binop": null }, "value": "first", - "start": 1055, - "end": 1060, + "start": 1948, + "end": 1953, "loc": { "start": { - "line": 56, + "line": 104, "column": 8 }, "end": { - "line": 56, + "line": 104, "column": 13 } } @@ -10289,15 +18377,15 @@ "binop": null, "updateContext": null }, - "start": 1060, - "end": 1061, + "start": 1953, + "end": 1954, "loc": { "start": { - "line": 56, + "line": 104, "column": 13 }, "end": { - "line": 56, + "line": 104, "column": 14 } } @@ -10314,17 +18402,17 @@ "postfix": false, "binop": null }, - "value": "div", - "start": 1061, - "end": 1064, + "value": "divn", + "start": 1954, + "end": 1958, "loc": { "start": { - "line": 56, + "line": 104, "column": 14 }, "end": { - "line": 56, - "column": 17 + "line": 104, + "column": 18 } } }, @@ -10340,16 +18428,16 @@ "postfix": false, "binop": null }, - "start": 1064, - "end": 1065, + "start": 1958, + "end": 1959, "loc": { "start": { - "line": 56, - "column": 17 + "line": 104, + "column": 18 }, "end": { - "line": 56, - "column": 18 + "line": 104, + "column": 19 } } }, @@ -10366,16 +18454,16 @@ "binop": null }, "value": "second", - "start": 1065, - "end": 1071, + "start": 1959, + "end": 1965, "loc": { "start": { - "line": 56, - "column": 18 + "line": 104, + "column": 19 }, "end": { - "line": 56, - "column": 24 + "line": 104, + "column": 25 } } }, @@ -10391,16 +18479,16 @@ "postfix": false, "binop": null }, - "start": 1071, - "end": 1072, + "start": 1965, + "end": 1966, "loc": { "start": { - "line": 56, - "column": 24 + "line": 104, + "column": 25 }, "end": { - "line": 56, - "column": 25 + "line": 104, + "column": 26 } } }, @@ -10417,16 +18505,16 @@ "binop": null, "updateContext": null }, - "start": 1073, - "end": 1074, + "start": 1967, + "end": 1968, "loc": { "start": { - "line": 56, - "column": 26 + "line": 104, + "column": 27 }, "end": { - "line": 56, - "column": 27 + "line": 104, + "column": 28 } } }, @@ -10442,15 +18530,15 @@ "postfix": false, "binop": null }, - "start": 1075, - "end": 1076, + "start": 1969, + "end": 1970, "loc": { "start": { - "line": 57, + "line": 105, "column": 0 }, "end": { - "line": 57, + "line": 105, "column": 1 } } @@ -10470,15 +18558,15 @@ "updateContext": null }, "value": "export", - "start": 1078, - "end": 1084, + "start": 1972, + "end": 1978, "loc": { "start": { - "line": 59, + "line": 107, "column": 0 }, "end": { - "line": 59, + "line": 107, "column": 6 } } @@ -10497,15 +18585,15 @@ "binop": null }, "value": "function", - "start": 1085, - "end": 1093, + "start": 1979, + "end": 1987, "loc": { "start": { - "line": 59, + "line": 107, "column": 7 }, "end": { - "line": 59, + "line": 107, "column": 15 } } @@ -10522,17 +18610,17 @@ "postfix": false, "binop": null }, - "value": "idiv", - "start": 1094, - "end": 1098, + "value": "idivn", + "start": 1988, + "end": 1993, "loc": { "start": { - "line": 59, + "line": 107, "column": 16 }, "end": { - "line": 59, - "column": 20 + "line": 107, + "column": 21 } } }, @@ -10548,16 +18636,16 @@ "postfix": false, "binop": null }, - "start": 1099, - "end": 1100, + "start": 1994, + "end": 1995, "loc": { "start": { - "line": 59, - "column": 21 + "line": 107, + "column": 22 }, "end": { - "line": 59, - "column": 22 + "line": 107, + "column": 23 } } }, @@ -10574,16 +18662,16 @@ "binop": null }, "value": "first", - "start": 1101, - "end": 1106, + "start": 1996, + "end": 2001, "loc": { "start": { - "line": 59, - "column": 23 + "line": 107, + "column": 24 }, "end": { - "line": 59, - "column": 28 + "line": 107, + "column": 29 } } }, @@ -10600,16 +18688,16 @@ "binop": null, "updateContext": null }, - "start": 1107, - "end": 1108, + "start": 2002, + "end": 2003, "loc": { "start": { - "line": 59, - "column": 29 + "line": 107, + "column": 30 }, "end": { - "line": 59, - "column": 30 + "line": 107, + "column": 31 } } }, @@ -10626,16 +18714,16 @@ "binop": null }, "value": "second", - "start": 1109, - "end": 1115, + "start": 2004, + "end": 2010, "loc": { "start": { - "line": 59, - "column": 31 + "line": 107, + "column": 32 }, "end": { - "line": 59, - "column": 37 + "line": 107, + "column": 38 } } }, @@ -10651,16 +18739,16 @@ "postfix": false, "binop": null }, - "start": 1116, - "end": 1117, + "start": 2011, + "end": 2012, "loc": { "start": { - "line": 59, - "column": 38 + "line": 107, + "column": 39 }, "end": { - "line": 59, - "column": 39 + "line": 107, + "column": 40 } } }, @@ -10676,16 +18764,16 @@ "postfix": false, "binop": null }, - "start": 1118, - "end": 1119, + "start": 2013, + "end": 2014, "loc": { "start": { - "line": 59, - "column": 40 + "line": 107, + "column": 41 }, "end": { - "line": 59, - "column": 41 + "line": 107, + "column": 42 } } }, @@ -10704,15 +18792,15 @@ "updateContext": null }, "value": "return", - "start": 1121, - "end": 1127, + "start": 2016, + "end": 2022, "loc": { "start": { - "line": 60, + "line": 108, "column": 1 }, "end": { - "line": 60, + "line": 108, "column": 7 } } @@ -10730,15 +18818,15 @@ "binop": null }, "value": "first", - "start": 1128, - "end": 1133, + "start": 2023, + "end": 2028, "loc": { "start": { - "line": 60, + "line": 108, "column": 8 }, "end": { - "line": 60, + "line": 108, "column": 13 } } @@ -10756,15 +18844,15 @@ "binop": null, "updateContext": null }, - "start": 1133, - "end": 1134, + "start": 2028, + "end": 2029, "loc": { "start": { - "line": 60, + "line": 108, "column": 13 }, "end": { - "line": 60, + "line": 108, "column": 14 } } @@ -10781,17 +18869,17 @@ "postfix": false, "binop": null }, - "value": "idiv", - "start": 1134, - "end": 1138, + "value": "idivn", + "start": 2029, + "end": 2034, "loc": { "start": { - "line": 60, + "line": 108, "column": 14 }, "end": { - "line": 60, - "column": 18 + "line": 108, + "column": 19 } } }, @@ -10807,16 +18895,16 @@ "postfix": false, "binop": null }, - "start": 1138, - "end": 1139, + "start": 2034, + "end": 2035, "loc": { "start": { - "line": 60, - "column": 18 + "line": 108, + "column": 19 }, "end": { - "line": 60, - "column": 19 + "line": 108, + "column": 20 } } }, @@ -10833,16 +18921,16 @@ "binop": null }, "value": "second", - "start": 1139, - "end": 1145, + "start": 2035, + "end": 2041, "loc": { "start": { - "line": 60, - "column": 19 + "line": 108, + "column": 20 }, "end": { - "line": 60, - "column": 25 + "line": 108, + "column": 26 } } }, @@ -10858,16 +18946,16 @@ "postfix": false, "binop": null }, - "start": 1145, - "end": 1146, + "start": 2041, + "end": 2042, "loc": { "start": { - "line": 60, - "column": 25 + "line": 108, + "column": 26 }, "end": { - "line": 60, - "column": 26 + "line": 108, + "column": 27 } } }, @@ -10884,16 +18972,16 @@ "binop": null, "updateContext": null }, - "start": 1147, - "end": 1148, + "start": 2043, + "end": 2044, "loc": { "start": { - "line": 60, - "column": 27 + "line": 108, + "column": 28 }, "end": { - "line": 60, - "column": 28 + "line": 108, + "column": 29 } } }, @@ -10909,15 +18997,15 @@ "postfix": false, "binop": null }, - "start": 1149, - "end": 1150, + "start": 2045, + "end": 2046, "loc": { "start": { - "line": 61, + "line": 109, "column": 0 }, "end": { - "line": 61, + "line": 109, "column": 1 } } @@ -10937,15 +19025,15 @@ "updateContext": null }, "value": "export", - "start": 1152, - "end": 1158, + "start": 2048, + "end": 2054, "loc": { "start": { - "line": 63, + "line": 111, "column": 0 }, "end": { - "line": 63, + "line": 111, "column": 6 } } @@ -10964,15 +19052,15 @@ "binop": null }, "value": "function", - "start": 1159, - "end": 1167, + "start": 2055, + "end": 2063, "loc": { "start": { - "line": 63, + "line": 111, "column": 7 }, "end": { - "line": 63, + "line": 111, "column": 15 } } @@ -10989,17 +19077,17 @@ "postfix": false, "binop": null }, - "value": "mod", - "start": 1168, - "end": 1171, + "value": "modn", + "start": 2064, + "end": 2068, "loc": { "start": { - "line": 63, + "line": 111, "column": 16 }, "end": { - "line": 63, - "column": 19 + "line": 111, + "column": 20 } } }, @@ -11015,16 +19103,16 @@ "postfix": false, "binop": null }, - "start": 1172, - "end": 1173, + "start": 2069, + "end": 2070, "loc": { "start": { - "line": 63, - "column": 20 + "line": 111, + "column": 21 }, "end": { - "line": 63, - "column": 21 + "line": 111, + "column": 22 } } }, @@ -11041,16 +19129,16 @@ "binop": null }, "value": "first", - "start": 1174, - "end": 1179, + "start": 2071, + "end": 2076, "loc": { "start": { - "line": 63, - "column": 22 + "line": 111, + "column": 23 }, "end": { - "line": 63, - "column": 27 + "line": 111, + "column": 28 } } }, @@ -11067,16 +19155,16 @@ "binop": null, "updateContext": null }, - "start": 1180, - "end": 1181, + "start": 2077, + "end": 2078, "loc": { "start": { - "line": 63, - "column": 28 + "line": 111, + "column": 29 }, "end": { - "line": 63, - "column": 29 + "line": 111, + "column": 30 } } }, @@ -11093,16 +19181,16 @@ "binop": null }, "value": "second", - "start": 1182, - "end": 1188, + "start": 2079, + "end": 2085, "loc": { "start": { - "line": 63, - "column": 30 + "line": 111, + "column": 31 }, "end": { - "line": 63, - "column": 36 + "line": 111, + "column": 37 } } }, @@ -11118,16 +19206,16 @@ "postfix": false, "binop": null }, - "start": 1189, - "end": 1190, + "start": 2086, + "end": 2087, "loc": { "start": { - "line": 63, - "column": 37 + "line": 111, + "column": 38 }, "end": { - "line": 63, - "column": 38 + "line": 111, + "column": 39 } } }, @@ -11143,16 +19231,16 @@ "postfix": false, "binop": null }, - "start": 1191, - "end": 1192, + "start": 2088, + "end": 2089, "loc": { "start": { - "line": 63, - "column": 39 + "line": 111, + "column": 40 }, "end": { - "line": 63, - "column": 40 + "line": 111, + "column": 41 } } }, @@ -11171,15 +19259,15 @@ "updateContext": null }, "value": "return", - "start": 1194, - "end": 1200, + "start": 2091, + "end": 2097, "loc": { "start": { - "line": 64, + "line": 112, "column": 1 }, "end": { - "line": 64, + "line": 112, "column": 7 } } @@ -11197,15 +19285,15 @@ "binop": null }, "value": "first", - "start": 1201, - "end": 1206, + "start": 2098, + "end": 2103, "loc": { "start": { - "line": 64, + "line": 112, "column": 8 }, "end": { - "line": 64, + "line": 112, "column": 13 } } @@ -11223,15 +19311,15 @@ "binop": null, "updateContext": null }, - "start": 1206, - "end": 1207, + "start": 2103, + "end": 2104, "loc": { "start": { - "line": 64, + "line": 112, "column": 13 }, "end": { - "line": 64, + "line": 112, "column": 14 } } @@ -11248,17 +19336,17 @@ "postfix": false, "binop": null }, - "value": "mod", - "start": 1207, - "end": 1210, + "value": "modn", + "start": 2104, + "end": 2108, "loc": { "start": { - "line": 64, + "line": 112, "column": 14 }, "end": { - "line": 64, - "column": 17 + "line": 112, + "column": 18 } } }, @@ -11274,16 +19362,16 @@ "postfix": false, "binop": null }, - "start": 1210, - "end": 1211, + "start": 2108, + "end": 2109, "loc": { "start": { - "line": 64, - "column": 17 + "line": 112, + "column": 18 }, "end": { - "line": 64, - "column": 18 + "line": 112, + "column": 19 } } }, @@ -11300,16 +19388,16 @@ "binop": null }, "value": "second", - "start": 1211, - "end": 1217, + "start": 2109, + "end": 2115, "loc": { "start": { - "line": 64, - "column": 18 + "line": 112, + "column": 19 }, "end": { - "line": 64, - "column": 24 + "line": 112, + "column": 25 } } }, @@ -11325,16 +19413,16 @@ "postfix": false, "binop": null }, - "start": 1217, - "end": 1218, + "start": 2115, + "end": 2116, "loc": { "start": { - "line": 64, - "column": 24 + "line": 112, + "column": 25 }, "end": { - "line": 64, - "column": 25 + "line": 112, + "column": 26 } } }, @@ -11351,16 +19439,16 @@ "binop": null, "updateContext": null }, - "start": 1219, - "end": 1220, + "start": 2117, + "end": 2118, "loc": { "start": { - "line": 64, - "column": 26 + "line": 112, + "column": 27 }, "end": { - "line": 64, - "column": 27 + "line": 112, + "column": 28 } } }, @@ -11376,15 +19464,15 @@ "postfix": false, "binop": null }, - "start": 1221, - "end": 1222, + "start": 2119, + "end": 2120, "loc": { "start": { - "line": 65, + "line": 113, "column": 0 }, "end": { - "line": 65, + "line": 113, "column": 1 } } @@ -11404,15 +19492,15 @@ "updateContext": null }, "value": "export", - "start": 1224, - "end": 1230, + "start": 2122, + "end": 2128, "loc": { "start": { - "line": 67, + "line": 115, "column": 0 }, "end": { - "line": 67, + "line": 115, "column": 6 } } @@ -11431,15 +19519,15 @@ "binop": null }, "value": "function", - "start": 1231, - "end": 1239, + "start": 2129, + "end": 2137, "loc": { "start": { - "line": 67, + "line": 115, "column": 7 }, "end": { - "line": 67, + "line": 115, "column": 15 } } @@ -11456,17 +19544,17 @@ "postfix": false, "binop": null }, - "value": "imod", - "start": 1240, - "end": 1244, + "value": "imodn", + "start": 2138, + "end": 2143, "loc": { "start": { - "line": 67, + "line": 115, "column": 16 }, "end": { - "line": 67, - "column": 20 + "line": 115, + "column": 21 } } }, @@ -11482,16 +19570,16 @@ "postfix": false, "binop": null }, - "start": 1245, - "end": 1246, + "start": 2144, + "end": 2145, "loc": { "start": { - "line": 67, - "column": 21 + "line": 115, + "column": 22 }, "end": { - "line": 67, - "column": 22 + "line": 115, + "column": 23 } } }, @@ -11508,16 +19596,16 @@ "binop": null }, "value": "first", - "start": 1247, - "end": 1252, + "start": 2146, + "end": 2151, "loc": { "start": { - "line": 67, - "column": 23 + "line": 115, + "column": 24 }, "end": { - "line": 67, - "column": 28 + "line": 115, + "column": 29 } } }, @@ -11534,16 +19622,16 @@ "binop": null, "updateContext": null }, - "start": 1253, - "end": 1254, + "start": 2152, + "end": 2153, "loc": { "start": { - "line": 67, - "column": 29 + "line": 115, + "column": 30 }, "end": { - "line": 67, - "column": 30 + "line": 115, + "column": 31 } } }, @@ -11560,16 +19648,16 @@ "binop": null }, "value": "second", - "start": 1255, - "end": 1261, + "start": 2154, + "end": 2160, "loc": { "start": { - "line": 67, - "column": 31 + "line": 115, + "column": 32 }, "end": { - "line": 67, - "column": 37 + "line": 115, + "column": 38 } } }, @@ -11585,16 +19673,16 @@ "postfix": false, "binop": null }, - "start": 1262, - "end": 1263, + "start": 2161, + "end": 2162, "loc": { "start": { - "line": 67, - "column": 38 + "line": 115, + "column": 39 }, "end": { - "line": 67, - "column": 39 + "line": 115, + "column": 40 } } }, @@ -11610,16 +19698,16 @@ "postfix": false, "binop": null }, - "start": 1264, - "end": 1265, + "start": 2163, + "end": 2164, "loc": { "start": { - "line": 67, - "column": 40 + "line": 115, + "column": 41 }, "end": { - "line": 67, - "column": 41 + "line": 115, + "column": 42 } } }, @@ -11638,15 +19726,15 @@ "updateContext": null }, "value": "return", - "start": 1267, - "end": 1273, + "start": 2166, + "end": 2172, "loc": { "start": { - "line": 68, + "line": 116, "column": 1 }, "end": { - "line": 68, + "line": 116, "column": 7 } } @@ -11664,15 +19752,15 @@ "binop": null }, "value": "first", - "start": 1274, - "end": 1279, + "start": 2173, + "end": 2178, "loc": { "start": { - "line": 68, + "line": 116, "column": 8 }, "end": { - "line": 68, + "line": 116, "column": 13 } } @@ -11690,15 +19778,15 @@ "binop": null, "updateContext": null }, - "start": 1279, - "end": 1280, + "start": 2178, + "end": 2179, "loc": { "start": { - "line": 68, + "line": 116, "column": 13 }, "end": { - "line": 68, + "line": 116, "column": 14 } } @@ -11715,17 +19803,17 @@ "postfix": false, "binop": null }, - "value": "imod", - "start": 1280, - "end": 1284, + "value": "imodn", + "start": 2179, + "end": 2184, "loc": { "start": { - "line": 68, + "line": 116, "column": 14 }, "end": { - "line": 68, - "column": 18 + "line": 116, + "column": 19 } } }, @@ -11741,16 +19829,16 @@ "postfix": false, "binop": null }, - "start": 1284, - "end": 1285, + "start": 2184, + "end": 2185, "loc": { "start": { - "line": 68, - "column": 18 + "line": 116, + "column": 19 }, "end": { - "line": 68, - "column": 19 + "line": 116, + "column": 20 } } }, @@ -11767,16 +19855,16 @@ "binop": null }, "value": "second", - "start": 1285, - "end": 1291, + "start": 2185, + "end": 2191, "loc": { "start": { - "line": 68, - "column": 19 + "line": 116, + "column": 20 }, "end": { - "line": 68, - "column": 25 + "line": 116, + "column": 26 } } }, @@ -11792,16 +19880,16 @@ "postfix": false, "binop": null }, - "start": 1291, - "end": 1292, + "start": 2191, + "end": 2192, "loc": { "start": { - "line": 68, - "column": 25 + "line": 116, + "column": 26 }, "end": { - "line": 68, - "column": 26 + "line": 116, + "column": 27 } } }, @@ -11818,16 +19906,16 @@ "binop": null, "updateContext": null }, - "start": 1293, - "end": 1294, + "start": 2193, + "end": 2194, "loc": { "start": { - "line": 68, - "column": 27 + "line": 116, + "column": 28 }, "end": { - "line": 68, - "column": 28 + "line": 116, + "column": 29 } } }, @@ -11843,15 +19931,15 @@ "postfix": false, "binop": null }, - "start": 1295, - "end": 1296, + "start": 2195, + "end": 2196, "loc": { "start": { - "line": 69, + "line": 117, "column": 0 }, "end": { - "line": 69, + "line": 117, "column": 1 } } @@ -11869,15 +19957,15 @@ "binop": null, "updateContext": null }, - "start": 1297, - "end": 1297, + "start": 2197, + "end": 2197, "loc": { "start": { - "line": 70, + "line": 118, "column": 0 }, "end": { - "line": 70, + "line": 118, "column": 0 } } diff --git a/class/src/Integer.js~Integer.html b/class/src/Integer.js~Integer.html index 75c0d9d..635aa63 100644 --- a/class/src/Integer.js~Integer.html +++ b/class/src/Integer.js~Integer.html @@ -37,19 +37,31 @@
  • F$1
  • F$_1
  • Fadd
  • +
  • Faddn
  • Fdiv
  • +
  • Fdivn
  • Fiadd
  • +
  • Fiaddn
  • Fidiv
  • +
  • Fidivn
  • Fimod
  • +
  • Fimodn
  • Fimul
  • +
  • Fimuln
  • Fipow
  • +
  • Fipown
  • Fisub
  • +
  • Fisubn
  • Fmod
  • +
  • Fmodn
  • Fmul
  • +
  • Fmuln
  • Fparse
  • Fpow
  • +
  • Fpown
  • Fstringify
  • Fsub
  • +
  • Fsubn
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • diff --git a/class/src/IntegerRing.js~IntegerRing.html b/class/src/IntegerRing.js~IntegerRing.html index 6a573fd..8d82f77 100644 --- a/class/src/IntegerRing.js~IntegerRing.html +++ b/class/src/IntegerRing.js~IntegerRing.html @@ -37,19 +37,31 @@
  • F$1
  • F$_1
  • Fadd
  • +
  • Faddn
  • Fdiv
  • +
  • Fdivn
  • Fiadd
  • +
  • Fiaddn
  • Fidiv
  • +
  • Fidivn
  • Fimod
  • +
  • Fimodn
  • Fimul
  • +
  • Fimuln
  • Fipow
  • +
  • Fipown
  • Fisub
  • +
  • Fisubn
  • Fmod
  • +
  • Fmodn
  • Fmul
  • +
  • Fmuln
  • Fparse
  • Fpow
  • +
  • Fpown
  • Fstringify
  • Fsub
  • +
  • Fsubn
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • diff --git a/class/src/ZeroDivisionError.js~ZeroDivisionError.html b/class/src/ZeroDivisionError.js~ZeroDivisionError.html index 1fb0e94..d1ea7e7 100644 --- a/class/src/ZeroDivisionError.js~ZeroDivisionError.html +++ b/class/src/ZeroDivisionError.js~ZeroDivisionError.html @@ -37,19 +37,31 @@
  • F$1
  • F$_1
  • Fadd
  • +
  • Faddn
  • Fdiv
  • +
  • Fdivn
  • Fiadd
  • +
  • Fiaddn
  • Fidiv
  • +
  • Fidivn
  • Fimod
  • +
  • Fimodn
  • Fimul
  • +
  • Fimuln
  • Fipow
  • +
  • Fipown
  • Fisub
  • +
  • Fisubn
  • Fmod
  • +
  • Fmodn
  • Fmul
  • +
  • Fmuln
  • Fparse
  • Fpow
  • +
  • Fpown
  • Fstringify
  • Fsub
  • +
  • Fsubn
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • diff --git a/coverage.json b/coverage.json index 654d560..2423c70 100644 --- a/coverage.json +++ b/coverage.json @@ -1,6 +1,6 @@ { - "coverage": "0.81%", - "expectCount": 123, + "coverage": "0.74%", + "expectCount": 135, "actualCount": 1, "files": { "src/DEFAULT_DISPLAY_BASE.js": { @@ -157,7 +157,7 @@ ] }, "src/integer.js": { - "expectCount": 17, + "expectCount": 29, "actualCount": 0, "undocumentLines": [ 3, @@ -176,7 +176,19 @@ 55, 59, 63, - 67 + 67, + 71, + 75, + 79, + 83, + 87, + 91, + 95, + 99, + 103, + 107, + 111, + 115 ] } } diff --git a/file/src/DEFAULT_DISPLAY_BASE.js.html b/file/src/DEFAULT_DISPLAY_BASE.js.html index 2be182b..a9a096a 100644 --- a/file/src/DEFAULT_DISPLAY_BASE.js.html +++ b/file/src/DEFAULT_DISPLAY_BASE.js.html @@ -37,19 +37,31 @@
  • F$1
  • F$_1
  • Fadd
  • +
  • Faddn
  • Fdiv
  • +
  • Fdivn
  • Fiadd
  • +
  • Fiaddn
  • Fidiv
  • +
  • Fidivn
  • Fimod
  • +
  • Fimodn
  • Fimul
  • +
  • Fimuln
  • Fipow
  • +
  • Fipown
  • Fisub
  • +
  • Fisubn
  • Fmod
  • +
  • Fmodn
  • Fmul
  • +
  • Fmuln
  • Fparse
  • Fpow
  • +
  • Fpown
  • Fstringify
  • Fsub
  • +
  • Fsubn
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • diff --git a/file/src/DEFAULT_REPRESENTATION_BASE.js.html b/file/src/DEFAULT_REPRESENTATION_BASE.js.html index deaa0e3..147a1d8 100644 --- a/file/src/DEFAULT_REPRESENTATION_BASE.js.html +++ b/file/src/DEFAULT_REPRESENTATION_BASE.js.html @@ -37,19 +37,31 @@
  • F$1
  • F$_1
  • Fadd
  • +
  • Faddn
  • Fdiv
  • +
  • Fdivn
  • Fiadd
  • +
  • Fiaddn
  • Fidiv
  • +
  • Fidivn
  • Fimod
  • +
  • Fimodn
  • Fimul
  • +
  • Fimuln
  • Fipow
  • +
  • Fipown
  • Fisub
  • +
  • Fisubn
  • Fmod
  • +
  • Fmodn
  • Fmul
  • +
  • Fmuln
  • Fparse
  • Fpow
  • +
  • Fpown
  • Fstringify
  • Fsub
  • +
  • Fsubn
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • diff --git a/file/src/Integer.js.html b/file/src/Integer.js.html index 62e7387..ec18032 100644 --- a/file/src/Integer.js.html +++ b/file/src/Integer.js.html @@ -37,19 +37,31 @@
  • F$1
  • F$_1
  • Fadd
  • +
  • Faddn
  • Fdiv
  • +
  • Fdivn
  • Fiadd
  • +
  • Fiaddn
  • Fidiv
  • +
  • Fidivn
  • Fimod
  • +
  • Fimodn
  • Fimul
  • +
  • Fimuln
  • Fipow
  • +
  • Fipown
  • Fisub
  • +
  • Fisubn
  • Fmod
  • +
  • Fmodn
  • Fmul
  • +
  • Fmuln
  • Fparse
  • Fpow
  • +
  • Fpown
  • Fstringify
  • Fsub
  • +
  • Fsubn
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • diff --git a/file/src/IntegerRing.js.html b/file/src/IntegerRing.js.html index 292c171..09fbe07 100644 --- a/file/src/IntegerRing.js.html +++ b/file/src/IntegerRing.js.html @@ -37,19 +37,31 @@
  • F$1
  • F$_1
  • Fadd
  • +
  • Faddn
  • Fdiv
  • +
  • Fdivn
  • Fiadd
  • +
  • Fiaddn
  • Fidiv
  • +
  • Fidivn
  • Fimod
  • +
  • Fimodn
  • Fimul
  • +
  • Fimuln
  • Fipow
  • +
  • Fipown
  • Fisub
  • +
  • Fisubn
  • Fmod
  • +
  • Fmodn
  • Fmul
  • +
  • Fmuln
  • Fparse
  • Fpow
  • +
  • Fpown
  • Fstringify
  • Fsub
  • +
  • Fsubn
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • diff --git a/file/src/ZZ.js.html b/file/src/ZZ.js.html index e7d20d6..d1296db 100644 --- a/file/src/ZZ.js.html +++ b/file/src/ZZ.js.html @@ -37,19 +37,31 @@
  • F$1
  • F$_1
  • Fadd
  • +
  • Faddn
  • Fdiv
  • +
  • Fdivn
  • Fiadd
  • +
  • Fiaddn
  • Fidiv
  • +
  • Fidivn
  • Fimod
  • +
  • Fimodn
  • Fimul
  • +
  • Fimuln
  • Fipow
  • +
  • Fipown
  • Fisub
  • +
  • Fisubn
  • Fmod
  • +
  • Fmodn
  • Fmul
  • +
  • Fmuln
  • Fparse
  • Fpow
  • +
  • Fpown
  • Fstringify
  • Fsub
  • +
  • Fsubn
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • diff --git a/file/src/ZeroDivisionError.js.html b/file/src/ZeroDivisionError.js.html index 4d58c29..312021a 100644 --- a/file/src/ZeroDivisionError.js.html +++ b/file/src/ZeroDivisionError.js.html @@ -37,19 +37,31 @@
  • F$1
  • F$_1
  • Fadd
  • +
  • Faddn
  • Fdiv
  • +
  • Fdivn
  • Fiadd
  • +
  • Fiaddn
  • Fidiv
  • +
  • Fidivn
  • Fimod
  • +
  • Fimodn
  • Fimul
  • +
  • Fimuln
  • Fipow
  • +
  • Fipown
  • Fisub
  • +
  • Fisubn
  • Fmod
  • +
  • Fmodn
  • Fmul
  • +
  • Fmuln
  • Fparse
  • Fpow
  • +
  • Fpown
  • Fstringify
  • Fsub
  • +
  • Fsubn
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • diff --git a/file/src/_from_number.js.html b/file/src/_from_number.js.html index 8e3f5f4..0369246 100644 --- a/file/src/_from_number.js.html +++ b/file/src/_from_number.js.html @@ -37,19 +37,31 @@
  • F$1
  • F$_1
  • Fadd
  • +
  • Faddn
  • Fdiv
  • +
  • Fdivn
  • Fiadd
  • +
  • Fiaddn
  • Fidiv
  • +
  • Fidivn
  • Fimod
  • +
  • Fimodn
  • Fimul
  • +
  • Fimuln
  • Fipow
  • +
  • Fipown
  • Fisub
  • +
  • Fisubn
  • Fmod
  • +
  • Fmodn
  • Fmul
  • +
  • Fmuln
  • Fparse
  • Fpow
  • +
  • Fpown
  • Fstringify
  • Fsub
  • +
  • Fsubn
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • diff --git a/file/src/_limits.js.html b/file/src/_limits.js.html index 27e45a6..c4a6f64 100644 --- a/file/src/_limits.js.html +++ b/file/src/_limits.js.html @@ -37,19 +37,31 @@
  • F$1
  • F$_1
  • Fadd
  • +
  • Faddn
  • Fdiv
  • +
  • Fdivn
  • Fiadd
  • +
  • Fiaddn
  • Fidiv
  • +
  • Fidivn
  • Fimod
  • +
  • Fimodn
  • Fimul
  • +
  • Fimuln
  • Fipow
  • +
  • Fipown
  • Fisub
  • +
  • Fisubn
  • Fmod
  • +
  • Fmodn
  • Fmul
  • +
  • Fmuln
  • Fparse
  • Fpow
  • +
  • Fpown
  • Fstringify
  • Fsub
  • +
  • Fsubn
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • diff --git a/file/src/index.js.html b/file/src/index.js.html index cfb5771..e435cb5 100644 --- a/file/src/index.js.html +++ b/file/src/index.js.html @@ -37,19 +37,31 @@
  • F$1
  • F$_1
  • Fadd
  • +
  • Faddn
  • Fdiv
  • +
  • Fdivn
  • Fiadd
  • +
  • Fiaddn
  • Fidiv
  • +
  • Fidivn
  • Fimod
  • +
  • Fimodn
  • Fimul
  • +
  • Fimuln
  • Fipow
  • +
  • Fipown
  • Fisub
  • +
  • Fisubn
  • Fmod
  • +
  • Fmodn
  • Fmul
  • +
  • Fmuln
  • Fparse
  • Fpow
  • +
  • Fpown
  • Fstringify
  • Fsub
  • +
  • Fsubn
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • diff --git a/file/src/integer.js.html b/file/src/integer.js.html index 7478ce4..0e7790c 100644 --- a/file/src/integer.js.html +++ b/file/src/integer.js.html @@ -37,19 +37,31 @@
  • F$1
  • F$_1
  • Fadd
  • +
  • Faddn
  • Fdiv
  • +
  • Fdivn
  • Fiadd
  • +
  • Fiaddn
  • Fidiv
  • +
  • Fidivn
  • Fimod
  • +
  • Fimodn
  • Fimul
  • +
  • Fimuln
  • Fipow
  • +
  • Fipown
  • Fisub
  • +
  • Fisubn
  • Fmod
  • +
  • Fmodn
  • Fmul
  • +
  • Fmuln
  • Fparse
  • Fpow
  • +
  • Fpown
  • Fstringify
  • Fsub
  • +
  • Fsubn
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • @@ -131,6 +143,54 @@ export function imod ( first , second ) { return first.imod(second) ; } + +export function addn ( first , second ) { + return first.addn(second) ; +} + +export function iaddn ( first , second ) { + return first.iaddn(second) ; +} + +export function subn ( first , second ) { + return first.subn(second) ; +} + +export function isubn ( first , second ) { + return first.isubn(second) ; +} + +export function muln ( first , second ) { + return first.muln(second) ; +} + +export function imuln ( first , second ) { + return first.imuln(second) ; +} + +export function pown ( first , second ) { + return first.pown(second) ; +} + +export function ipown ( first , second ) { + return first.ipown(second) ; +} + +export function divn ( first , second ) { + return first.divn(second) ; +} + +export function idivn ( first , second ) { + return first.idivn(second) ; +} + +export function modn ( first , second ) { + return first.modn(second) ; +} + +export function imodn ( first , second ) { + return first.imodn(second) ; +}

    diff --git a/function/index.html b/function/index.html index 2d60089..3f890ba 100644 --- a/function/index.html +++ b/function/index.html @@ -37,19 +37,31 @@
  • F$1
  • F$_1
  • Fadd
  • +
  • Faddn
  • Fdiv
  • +
  • Fdivn
  • Fiadd
  • +
  • Fiaddn
  • Fidiv
  • +
  • Fidivn
  • Fimod
  • +
  • Fimodn
  • Fimul
  • +
  • Fimuln
  • Fipow
  • +
  • Fipown
  • Fisub
  • +
  • Fisubn
  • Fmod
  • +
  • Fmodn
  • Fmul
  • +
  • Fmuln
  • Fparse
  • Fpow
  • +
  • Fpown
  • Fstringify
  • Fsub
  • +
  • Fsubn
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • @@ -184,6 +196,34 @@ + + + +
    +

    + + + + addn(first: *, second: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -212,6 +252,34 @@ + + + +
    +

    + + + + divn(first: *, second: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -240,6 +308,34 @@ + + + +
    +

    + + + + iaddn(first: *, second: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -268,6 +364,34 @@ + + + +
    +

    + + + + idivn(first: *, second: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -296,6 +420,34 @@ + + + +
    +

    + + + + imodn(first: *, second: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -324,6 +476,34 @@ + + + +
    +

    + + + + imuln(first: *, second: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -352,6 +532,34 @@ + + + +
    +

    + + + + ipown(first: *, second: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -380,6 +588,34 @@ + + + +
    +

    + + + + isubn(first: *, second: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -416,7 +652,7 @@ - mul(first: *, second: *): * + modn(first: *, second: *): *

    @@ -444,7 +680,7 @@ - parse(object: *, base: *, is_negative: number): * + mul(first: *, second: *): *

    @@ -472,7 +708,7 @@ - pow(first: *, second: *): * + muln(first: *, second: *): *

    @@ -500,7 +736,7 @@ - stringify(integer: *, base: *): * + parse(object: *, base: *, is_negative: number): *

    @@ -528,7 +764,7 @@ - sub(first: *, second: *): * + pow(first: *, second: *): *

    @@ -542,15 +778,9 @@ - - - - - - - + + + + + + + + + + + + + + + + + +
    Static Private Summary
    - private + public @@ -562,7 +792,7 @@ - _from_number(number: *): * + pown(first: *, second: *): *

    @@ -576,35 +806,1033 @@
    + public + + + + + +
    +

    + + + + stringify(integer: *, base: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + sub(first: *, second: *): * +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + subn(first: *, second: *): * +

    +
    +
    + + + +
    +
    + + +
    + + + + + + + + + + +
    Static Private Summary
    + private + + + + + +
    +

    + + + + _from_number(number: *): * +

    +
    +
    + + + +
    +
    + + +
    +
    +

    Static Public

    + +
    +

    + public + + + + + + $0(): * + + + + source + +

    + + + + + + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + $1(): * + + + + source + +

    + + + + + + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + $_1(): * + + + + source + +

    + + + + + + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + add(first: *, second: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    first*
    second*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + addn(first: *, second: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    first*
    second*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + div(first: *, second: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    first*
    second*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + divn(first: *, second: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    first*
    second*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + iadd(first: *, second: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    first*
    second*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + iaddn(first: *, second: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    first*
    second*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + idiv(first: *, second: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    first*
    second*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + idivn(first: *, second: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    first*
    second*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + imod(first: *, second: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + -
    NameTypeAttributeDescription
    first*
    second*
    +
    -

    Static Public

    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + +
    -

    +

    public - $0(): * + imodn(first: *, second: *): * - source + source

    - + -
    +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    first*
    second*
    +
    @@ -637,29 +1865,51 @@

    Return:

    -

    +

    public - $1(): * + imul(first: *, second: *): * - source + source

    - + -
    +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    first*
    second*
    +
    @@ -692,29 +1942,51 @@

    Return:

    -

    +

    public - $_1(): * + imuln(first: *, second: *): * - source + source

    - + -
    +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    first*
    second*
    +
    @@ -747,22 +2019,22 @@

    Return:

    -

    +

    public - add(first: *, second: *): * + ipow(first: *, second: *): * - source + source

    - + @@ -824,22 +2096,22 @@

    Return:

    -

    +

    public - div(first: *, second: *): * + ipown(first: *, second: *): * - source + source

    - + @@ -901,22 +2173,22 @@

    Return:

    -

    +

    public - iadd(first: *, second: *): * + isub(first: *, second: *): * - source + source

    - + @@ -978,22 +2250,22 @@

    Return:

    -

    +

    public - idiv(first: *, second: *): * + isubn(first: *, second: *): * - source + source

    - + @@ -1055,22 +2327,22 @@

    Return:

    -

    +

    public - imod(first: *, second: *): * + mod(first: *, second: *): * - source + source

    - + @@ -1132,22 +2404,22 @@

    Return:

    -

    +

    public - imul(first: *, second: *): * + modn(first: *, second: *): * - source + source

    - + @@ -1209,22 +2481,22 @@

    Return:

    -

    +

    public - ipow(first: *, second: *): * + mul(first: *, second: *): * - source + source

    - + @@ -1286,22 +2558,22 @@

    Return:

    -

    +

    public - isub(first: *, second: *): * + muln(first: *, second: *): * - source + source

    - + @@ -1363,22 +2635,22 @@

    Return:

    -

    +

    public - mod(first: *, second: *): * + parse(object: *, base: *, is_negative: number): * - source + source

    - + @@ -1394,15 +2666,23 @@

    Params:

    - first + object * - second + base * - +
    • optional
    • +
    • default: undefined
    + + + + is_negative + number +
    • optional
    • +
    • default: 0
    @@ -1440,22 +2720,22 @@

    Return:

    -

    +

    public - mul(first: *, second: *): * + pow(first: *, second: *): * - source + source

    - + @@ -1517,22 +2797,22 @@

    Return:

    -

    +

    public - parse(object: *, base: *, is_negative: number): * + pown(first: *, second: *): * - source + source

    - + @@ -1548,23 +2828,15 @@

    Params:

    - object + first * - base + second * -
    • optional
    • -
    • default: undefined
    - - - - is_negative - number -
    • optional
    • -
    • default: 0
    + @@ -1602,22 +2874,22 @@

    Return:

    -

    +

    public - pow(first: *, second: *): * + stringify(integer: *, base: *): * - source + source

    - +
    import {stringify} from '@aureooms/js-integer/src/integer.js'
    @@ -1633,15 +2905,16 @@

    Params:

    - first + integer * - second + base * - +
    • optional
    • +
    • default: DEFAULT_DISPLAY_BASE
    @@ -1679,22 +2952,22 @@

    Return:

    -

    +

    public - stringify(integer: *, base: *): * + sub(first: *, second: *): * - source + source

    -
    import {stringify} from '@aureooms/js-integer/src/integer.js'
    + @@ -1710,16 +2983,15 @@

    Params:

    - integer + first * - base + second * -
    • optional
    • -
    • default: DEFAULT_DISPLAY_BASE
    + @@ -1757,22 +3029,22 @@

    Return:

    -

    +

    public - sub(first: *, second: *): * + subn(first: *, second: *): * - source + source

    - + diff --git a/identifiers.html b/identifiers.html index df8e6f2..beacc06 100644 --- a/identifiers.html +++ b/identifiers.html @@ -37,19 +37,31 @@
  • F$1
  • F$_1
  • Fadd
  • +
  • Faddn
  • Fdiv
  • +
  • Fdivn
  • Fiadd
  • +
  • Fiaddn
  • Fidiv
  • +
  • Fidivn
  • Fimod
  • +
  • Fimodn
  • Fimul
  • +
  • Fimuln
  • Fipow
  • +
  • Fipown
  • Fisub
  • +
  • Fisubn
  • Fmod
  • +
  • Fmodn
  • Fmul
  • +
  • Fmuln
  • Fparse
  • Fpow
  • +
  • Fpown
  • Fstringify
  • Fsub
  • +
  • Fsubn
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • @@ -302,6 +314,34 @@ + + + +
    +

    + F + + + addn(first: *, second: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -330,6 +370,34 @@ + + + +
    +

    + F + + + divn(first: *, second: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -358,6 +426,34 @@ + + + +
    +

    + F + + + iaddn(first: *, second: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -386,6 +482,34 @@ + + + +
    +

    + F + + + idivn(first: *, second: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -414,6 +538,34 @@ + + + +
    +

    + F + + + imodn(first: *, second: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -442,6 +594,34 @@ + + + +
    +

    + F + + + imuln(first: *, second: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -470,6 +650,34 @@ + + + +
    +

    + F + + + ipown(first: *, second: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -498,6 +706,34 @@ + + + +
    +

    + F + + + isubn(first: *, second: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -526,6 +762,34 @@ + + + +
    +

    + F + + + modn(first: *, second: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -554,6 +818,34 @@ + + + +
    +

    + F + + + muln(first: *, second: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -610,6 +902,34 @@ + + + +
    +

    + F + + + pown(first: *, second: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -666,6 +986,34 @@ + + + +
    +

    + F + + + subn(first: *, second: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + diff --git a/index.html b/index.html index b27affe..c0c465d 100644 --- a/index.html +++ b/index.html @@ -37,19 +37,31 @@
  • F$1
  • F$_1
  • Fadd
  • +
  • Faddn
  • Fdiv
  • +
  • Fdivn
  • Fiadd
  • +
  • Fiaddn
  • Fidiv
  • +
  • Fidivn
  • Fimod
  • +
  • Fimodn
  • Fimul
  • +
  • Fimuln
  • Fipow
  • +
  • Fipown
  • Fisub
  • +
  • Fisubn
  • Fmod
  • +
  • Fmodn
  • Fmul
  • +
  • Fmuln
  • Fparse
  • Fpow
  • +
  • Fpown
  • Fstringify
  • Fsub
  • +
  • Fsubn
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • diff --git a/index.json b/index.json index 5e74c43..a7f5a2b 100644 --- a/index.json +++ b/index.json @@ -3227,7 +3227,7 @@ "__docId__": 163, "kind": "file", "name": "src/integer.js", - "content": "import { DEFAULT_DISPLAY_BASE , ZZ } from './' ;\n\nexport function $0 ( ) {\n\treturn ZZ.$0() ;\n}\n\nexport function $1 ( ) {\n\treturn ZZ.$1() ;\n}\n\nexport function $_1 ( ) {\n\treturn ZZ.$_1() ;\n}\n\nexport function parse ( object , base = undefined , is_negative = 0 ) {\n\treturn ZZ.from( object , base , is_negative ) ;\n}\n\nexport function stringify ( integer , base = DEFAULT_DISPLAY_BASE ) {\n\treturn integer.toString( base ) ;\n}\n\nexport function add ( first , second ) {\n\treturn first.add(second) ;\n}\n\nexport function iadd ( first , second ) {\n\treturn first.iadd(second) ;\n}\n\nexport function sub ( first , second ) {\n\treturn first.sub(second) ;\n}\n\nexport function isub ( first , second ) {\n\treturn first.isub(second) ;\n}\n\nexport function mul ( first , second ) {\n\treturn first.mul(second) ;\n}\n\nexport function imul ( first , second ) {\n\treturn first.imul(second) ;\n}\n\nexport function pow ( first , second ) {\n\treturn first.pow(second) ;\n}\n\nexport function ipow ( first , second ) {\n\treturn first.ipow(second) ;\n}\n\nexport function div ( first , second ) {\n\treturn first.div(second) ;\n}\n\nexport function idiv ( first , second ) {\n\treturn first.idiv(second) ;\n}\n\nexport function mod ( first , second ) {\n\treturn first.mod(second) ;\n}\n\nexport function imod ( first , second ) {\n\treturn first.imod(second) ;\n}\n", + "content": "import { DEFAULT_DISPLAY_BASE , ZZ } from './' ;\n\nexport function $0 ( ) {\n\treturn ZZ.$0() ;\n}\n\nexport function $1 ( ) {\n\treturn ZZ.$1() ;\n}\n\nexport function $_1 ( ) {\n\treturn ZZ.$_1() ;\n}\n\nexport function parse ( object , base = undefined , is_negative = 0 ) {\n\treturn ZZ.from( object , base , is_negative ) ;\n}\n\nexport function stringify ( integer , base = DEFAULT_DISPLAY_BASE ) {\n\treturn integer.toString( base ) ;\n}\n\nexport function add ( first , second ) {\n\treturn first.add(second) ;\n}\n\nexport function iadd ( first , second ) {\n\treturn first.iadd(second) ;\n}\n\nexport function sub ( first , second ) {\n\treturn first.sub(second) ;\n}\n\nexport function isub ( first , second ) {\n\treturn first.isub(second) ;\n}\n\nexport function mul ( first , second ) {\n\treturn first.mul(second) ;\n}\n\nexport function imul ( first , second ) {\n\treturn first.imul(second) ;\n}\n\nexport function pow ( first , second ) {\n\treturn first.pow(second) ;\n}\n\nexport function ipow ( first , second ) {\n\treturn first.ipow(second) ;\n}\n\nexport function div ( first , second ) {\n\treturn first.div(second) ;\n}\n\nexport function idiv ( first , second ) {\n\treturn first.idiv(second) ;\n}\n\nexport function mod ( first , second ) {\n\treturn first.mod(second) ;\n}\n\nexport function imod ( first , second ) {\n\treturn first.imod(second) ;\n}\n\nexport function addn ( first , second ) {\n\treturn first.addn(second) ;\n}\n\nexport function iaddn ( first , second ) {\n\treturn first.iaddn(second) ;\n}\n\nexport function subn ( first , second ) {\n\treturn first.subn(second) ;\n}\n\nexport function isubn ( first , second ) {\n\treturn first.isubn(second) ;\n}\n\nexport function muln ( first , second ) {\n\treturn first.muln(second) ;\n}\n\nexport function imuln ( first , second ) {\n\treturn first.imuln(second) ;\n}\n\nexport function pown ( first , second ) {\n\treturn first.pown(second) ;\n}\n\nexport function ipown ( first , second ) {\n\treturn first.ipown(second) ;\n}\n\nexport function divn ( first , second ) {\n\treturn first.divn(second) ;\n}\n\nexport function idivn ( first , second ) {\n\treturn first.idivn(second) ;\n}\n\nexport function modn ( first , second ) {\n\treturn first.modn(second) ;\n}\n\nexport function imodn ( first , second ) {\n\treturn first.imodn(second) ;\n}\n", "static": true, "longname": "/home/aureooms/dev/js/js-integer/src/integer.js", "access": "public", @@ -3822,6 +3822,438 @@ ] } }, + { + "__docId__": 181, + "kind": "function", + "name": "addn", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~addn", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{addn}", + "description": null, + "lineNumber": 71, + "undocument": true, + "params": [ + { + "name": "first", + "types": [ + "*" + ] + }, + { + "name": "second", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 182, + "kind": "function", + "name": "iaddn", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~iaddn", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{iaddn}", + "description": null, + "lineNumber": 75, + "undocument": true, + "params": [ + { + "name": "first", + "types": [ + "*" + ] + }, + { + "name": "second", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 183, + "kind": "function", + "name": "subn", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~subn", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{subn}", + "description": null, + "lineNumber": 79, + "undocument": true, + "params": [ + { + "name": "first", + "types": [ + "*" + ] + }, + { + "name": "second", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 184, + "kind": "function", + "name": "isubn", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~isubn", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{isubn}", + "description": null, + "lineNumber": 83, + "undocument": true, + "params": [ + { + "name": "first", + "types": [ + "*" + ] + }, + { + "name": "second", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 185, + "kind": "function", + "name": "muln", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~muln", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{muln}", + "description": null, + "lineNumber": 87, + "undocument": true, + "params": [ + { + "name": "first", + "types": [ + "*" + ] + }, + { + "name": "second", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 186, + "kind": "function", + "name": "imuln", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~imuln", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{imuln}", + "description": null, + "lineNumber": 91, + "undocument": true, + "params": [ + { + "name": "first", + "types": [ + "*" + ] + }, + { + "name": "second", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 187, + "kind": "function", + "name": "pown", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~pown", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{pown}", + "description": null, + "lineNumber": 95, + "undocument": true, + "params": [ + { + "name": "first", + "types": [ + "*" + ] + }, + { + "name": "second", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 188, + "kind": "function", + "name": "ipown", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~ipown", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{ipown}", + "description": null, + "lineNumber": 99, + "undocument": true, + "params": [ + { + "name": "first", + "types": [ + "*" + ] + }, + { + "name": "second", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 189, + "kind": "function", + "name": "divn", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~divn", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{divn}", + "description": null, + "lineNumber": 103, + "undocument": true, + "params": [ + { + "name": "first", + "types": [ + "*" + ] + }, + { + "name": "second", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 190, + "kind": "function", + "name": "idivn", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~idivn", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{idivn}", + "description": null, + "lineNumber": 107, + "undocument": true, + "params": [ + { + "name": "first", + "types": [ + "*" + ] + }, + { + "name": "second", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 191, + "kind": "function", + "name": "modn", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~modn", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{modn}", + "description": null, + "lineNumber": 111, + "undocument": true, + "params": [ + { + "name": "first", + "types": [ + "*" + ] + }, + { + "name": "second", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 192, + "kind": "function", + "name": "imodn", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~imodn", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{imodn}", + "description": null, + "lineNumber": 115, + "undocument": true, + "params": [ + { + "name": "first", + "types": [ + "*" + ] + }, + { + "name": "second", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, { "kind": "index", "content": "[@aureooms/js-integer](https://aureooms.github.io/js-integer)\n==\n\n\n\nIntegers for JavaScript.\nSee [docs](https://aureooms.github.io/js-integer).\nParent is [@aureooms/js-algorithms](https://github.com/aureooms/js-algorithms).\n\n```js\nimport { ZZ } from '@aureooms/js-integer' ; \nconst a = ZZ.from( '2983928392839289387' ) ;\nconst b = ZZ.from( '-302940923028393' ) ;\na.mul( b ).toString( ) ; // '-903954021577363596419770144565091'\n```\n\n[![License](https://img.shields.io/github/license/aureooms/js-integer.svg)](https://raw.githubusercontent.com/aureooms/js-integer/master/LICENSE)\n[![Version](https://img.shields.io/npm/v/@aureooms/js-integer.svg)](https://www.npmjs.org/package/@aureooms/js-integer)\n[![Build](https://img.shields.io/travis/aureooms/js-integer/master.svg)](https://travis-ci.org/aureooms/js-integer/branches)\n[![Dependencies](https://img.shields.io/david/aureooms/js-integer.svg)](https://david-dm.org/aureooms/js-integer)\n[![Dev dependencies](https://img.shields.io/david/dev/aureooms/js-integer.svg)](https://david-dm.org/aureooms/js-integer?type=dev)\n[![GitHub issues](https://img.shields.io/github/issues/aureooms/js-integer.svg)](https://github.com/aureooms/js-integer/issues)\n[![Downloads](https://img.shields.io/npm/dm/@aureooms/js-integer.svg)](https://www.npmjs.org/package/@aureooms/js-integer)\n\n[![Code issues](https://img.shields.io/codeclimate/issues/aureooms/js-integer.svg)](https://codeclimate.com/github/aureooms/js-integer/issues)\n[![Code maintainability](https://img.shields.io/codeclimate/maintainability/aureooms/js-integer.svg)](https://codeclimate.com/github/aureooms/js-integer/trends/churn)\n[![Code coverage (cov)](https://img.shields.io/codecov/c/gh/aureooms/js-integer/master.svg)](https://codecov.io/gh/aureooms/js-integer)\n[![Code technical debt](https://img.shields.io/codeclimate/tech-debt/aureooms/js-integer.svg)](https://codeclimate.com/github/aureooms/js-integer/trends/technical_debt)\n[![Documentation](https://aureooms.github.io/js-integer/badge.svg)](https://aureooms.github.io/js-integer/source.html)\n[![Package size](https://img.shields.io/bundlephobia/minzip/@aureooms/js-integer)](https://bundlephobia.com/result?p=@aureooms/js-integer)\n\n## Children\n\nThe current underlying implementation uses big endian order. There is no\nalternative for the moment.\n\n - [x] [@aureooms/js-integer-big-endian](https://github.com/aureooms/js-integer-big-endian)\n - [ ] [@aureooms/js-integer-little-endian](https://github.com/aureooms/js-integer-little-endian)\n\n## Reference\n\n - [The GNU Multiple Precision Arithmetic Library](https://gmplib.org/)\n - https://gmplib.org/gmp-man-6.0.0a.pdf\n - https://en.wikipedia.org/wiki/Sch%C3%B6nhage%E2%80%93Strassen_algorithm\n - [Similar work on GitHub](https://github.com/search?l=JavaScript&o=desc&q=bigint&s=stars&type=Repositories)\n", @@ -3832,7 +4264,7 @@ }, { "kind": "packageJSON", - "content": "{\n \"name\": \"@aureooms/js-integer\",\n \"description\": \"Integers for JavaScript\",\n \"version\": \"5.0.1\",\n \"author\": \"Aurélien Ooms \",\n \"ava\": {\n \"require\": [\n \"@babel/polyfill\",\n \"@babel/register\"\n ],\n \"files\": [\n \"test/src/**/*\"\n ],\n \"timeout\": \"1m\",\n \"concurrency\": 8\n },\n \"babel\": {\n \"presets\": [\n \"@babel/preset-env\"\n ],\n \"env\": {\n \"development\": {\n \"sourceMaps\": \"inline\"\n }\n }\n },\n \"bugs\": {\n \"url\": \"https://github.com/aureooms/js-integer/issues\"\n },\n \"dependencies\": {\n \"@aureooms/js-error\": \"^4.0.0\",\n \"@aureooms/js-integer-big-endian\": \"^8.0.0\"\n },\n \"devDependencies\": {\n \"@aureooms/js-algorithms\": \"3.0.7\",\n \"@aureooms/js-array\": \"4.0.0\",\n \"@aureooms/js-itertools\": \"4.0.0\",\n \"@aureooms/js-operator\": \"1.0.2\",\n \"@aureooms/js-random\": \"2.0.0\",\n \"@aureooms/js-string\": \"0.2.0\",\n \"@babel/cli\": \"7.8.4\",\n \"@babel/core\": \"7.9.6\",\n \"@babel/polyfill\": \"7.8.7\",\n \"@babel/preset-env\": \"7.9.6\",\n \"@babel/register\": \"7.9.0\",\n \"ava\": \"3.8.1\",\n \"coveralls\": \"3.1.0\",\n \"esdoc\": \"1.1.0\",\n \"esdoc-inject-script-plugin\": \"1.0.0\",\n \"esdoc-inject-style-plugin\": \"1.0.0\",\n \"esdoc-standard-plugin\": \"1.0.0\",\n \"np\": \"6.2.3\",\n \"nyc\": \"15.0.1\"\n },\n \"files\": [\n \"lib\"\n ],\n \"homepage\": \"https://aureooms.github.io/js-integer\",\n \"keywords\": [\n \"algorithm\",\n \"arithmetic\",\n \"bignum\",\n \"complexity\",\n \"integer\",\n \"javascript\",\n \"js\",\n \"library\",\n \"logic\",\n \"mpa\",\n \"multi-precision\"\n ],\n \"license\": \"AGPL-3.0\",\n \"main\": \"lib/index.js\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/aureooms/js-integer.git\"\n },\n \"scripts\": {\n \"build\": \"rm -rf lib && babel src -d lib\",\n \"cover\": \"nyc --reporter=lcov npm test\",\n \"esdoc\": \"esdoc\",\n \"prepare\": \"npm run build\",\n \"release\": \"np\",\n \"test\": \"ava\"\n }\n}\n", + "content": "{\n \"name\": \"@aureooms/js-integer\",\n \"description\": \"Integers for JavaScript\",\n \"version\": \"5.1.0\",\n \"author\": \"Aurélien Ooms \",\n \"ava\": {\n \"require\": [\n \"@babel/polyfill\",\n \"@babel/register\"\n ],\n \"files\": [\n \"test/src/**/*\"\n ],\n \"timeout\": \"3m\",\n \"concurrency\": 8\n },\n \"babel\": {\n \"presets\": [\n \"@babel/preset-env\"\n ],\n \"env\": {\n \"development\": {\n \"sourceMaps\": \"inline\"\n }\n }\n },\n \"bugs\": {\n \"url\": \"https://github.com/aureooms/js-integer/issues\"\n },\n \"dependencies\": {\n \"@aureooms/js-error\": \"^4.0.0\",\n \"@aureooms/js-integer-big-endian\": \"^8.0.0\"\n },\n \"devDependencies\": {\n \"@aureooms/js-algorithms\": \"3.0.7\",\n \"@aureooms/js-array\": \"4.0.0\",\n \"@aureooms/js-itertools\": \"4.0.0\",\n \"@aureooms/js-operator\": \"1.0.2\",\n \"@aureooms/js-random\": \"2.0.0\",\n \"@aureooms/js-string\": \"0.2.0\",\n \"@babel/cli\": \"7.8.4\",\n \"@babel/core\": \"7.9.6\",\n \"@babel/polyfill\": \"7.8.7\",\n \"@babel/preset-env\": \"7.9.6\",\n \"@babel/register\": \"7.9.0\",\n \"ava\": \"3.8.1\",\n \"coveralls\": \"3.1.0\",\n \"esdoc\": \"1.1.0\",\n \"esdoc-inject-script-plugin\": \"1.0.0\",\n \"esdoc-inject-style-plugin\": \"1.0.0\",\n \"esdoc-standard-plugin\": \"1.0.0\",\n \"np\": \"6.2.3\",\n \"nyc\": \"15.0.1\"\n },\n \"files\": [\n \"lib\"\n ],\n \"homepage\": \"https://aureooms.github.io/js-integer\",\n \"keywords\": [\n \"algorithm\",\n \"arithmetic\",\n \"bignum\",\n \"complexity\",\n \"integer\",\n \"javascript\",\n \"js\",\n \"library\",\n \"logic\",\n \"mpa\",\n \"multi-precision\"\n ],\n \"license\": \"AGPL-3.0\",\n \"main\": \"lib/index.js\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/aureooms/js-integer.git\"\n },\n \"scripts\": {\n \"build\": \"rm -rf lib && babel src -d lib\",\n \"cover\": \"nyc --reporter=lcov npm test\",\n \"esdoc\": \"esdoc\",\n \"prepare\": \"npm run build\",\n \"release\": \"np\",\n \"test\": \"ava\"\n }\n}\n", "longname": "/home/aureooms/dev/js/js-integer/package.json", "name": "package.json", "static": true, diff --git a/script/search_index.js b/script/search_index.js index 987818f..f3f0ab3 100644 --- a/script/search_index.js +++ b/script/search_index.js @@ -89,60 +89,120 @@ window.esdocSearchIndex = [ "add @aureooms/js-integer/src/integer.js", "function" ], + [ + "@aureooms/js-integer/src/integer.js~addn", + "function/index.html#static-function-addn", + "addn @aureooms/js-integer/src/integer.js", + "function" + ], [ "@aureooms/js-integer/src/integer.js~div", "function/index.html#static-function-div", "div @aureooms/js-integer/src/integer.js", "function" ], + [ + "@aureooms/js-integer/src/integer.js~divn", + "function/index.html#static-function-divn", + "divn @aureooms/js-integer/src/integer.js", + "function" + ], [ "@aureooms/js-integer/src/integer.js~iadd", "function/index.html#static-function-iadd", "iadd @aureooms/js-integer/src/integer.js", "function" ], + [ + "@aureooms/js-integer/src/integer.js~iaddn", + "function/index.html#static-function-iaddn", + "iaddn @aureooms/js-integer/src/integer.js", + "function" + ], [ "@aureooms/js-integer/src/integer.js~idiv", "function/index.html#static-function-idiv", "idiv @aureooms/js-integer/src/integer.js", "function" ], + [ + "@aureooms/js-integer/src/integer.js~idivn", + "function/index.html#static-function-idivn", + "idivn @aureooms/js-integer/src/integer.js", + "function" + ], [ "@aureooms/js-integer/src/integer.js~imod", "function/index.html#static-function-imod", "imod @aureooms/js-integer/src/integer.js", "function" ], + [ + "@aureooms/js-integer/src/integer.js~imodn", + "function/index.html#static-function-imodn", + "imodn @aureooms/js-integer/src/integer.js", + "function" + ], [ "@aureooms/js-integer/src/integer.js~imul", "function/index.html#static-function-imul", "imul @aureooms/js-integer/src/integer.js", "function" ], + [ + "@aureooms/js-integer/src/integer.js~imuln", + "function/index.html#static-function-imuln", + "imuln @aureooms/js-integer/src/integer.js", + "function" + ], [ "@aureooms/js-integer/src/integer.js~ipow", "function/index.html#static-function-ipow", "ipow @aureooms/js-integer/src/integer.js", "function" ], + [ + "@aureooms/js-integer/src/integer.js~ipown", + "function/index.html#static-function-ipown", + "ipown @aureooms/js-integer/src/integer.js", + "function" + ], [ "@aureooms/js-integer/src/integer.js~isub", "function/index.html#static-function-isub", "isub @aureooms/js-integer/src/integer.js", "function" ], + [ + "@aureooms/js-integer/src/integer.js~isubn", + "function/index.html#static-function-isubn", + "isubn @aureooms/js-integer/src/integer.js", + "function" + ], [ "@aureooms/js-integer/src/integer.js~mod", "function/index.html#static-function-mod", "mod @aureooms/js-integer/src/integer.js", "function" ], + [ + "@aureooms/js-integer/src/integer.js~modn", + "function/index.html#static-function-modn", + "modn @aureooms/js-integer/src/integer.js", + "function" + ], [ "@aureooms/js-integer/src/integer.js~mul", "function/index.html#static-function-mul", "mul @aureooms/js-integer/src/integer.js", "function" ], + [ + "@aureooms/js-integer/src/integer.js~muln", + "function/index.html#static-function-muln", + "muln @aureooms/js-integer/src/integer.js", + "function" + ], [ "@aureooms/js-integer/src/integer.js~parse", "function/index.html#static-function-parse", @@ -155,6 +215,12 @@ window.esdocSearchIndex = [ "pow @aureooms/js-integer/src/integer.js", "function" ], + [ + "@aureooms/js-integer/src/integer.js~pown", + "function/index.html#static-function-pown", + "pown @aureooms/js-integer/src/integer.js", + "function" + ], [ "@aureooms/js-integer/src/integer.js~stringify", "function/index.html#static-function-stringify", @@ -167,6 +233,12 @@ window.esdocSearchIndex = [ "sub @aureooms/js-integer/src/integer.js", "function" ], + [ + "@aureooms/js-integer/src/integer.js~subn", + "function/index.html#static-function-subn", + "subn @aureooms/js-integer/src/integer.js", + "function" + ], [ "src/.external-ecmascript.js~array", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", diff --git a/source.html b/source.html index 9d7f2c6..a977384 100644 --- a/source.html +++ b/source.html @@ -37,19 +37,31 @@
  • F$1
  • F$_1
  • Fadd
  • +
  • Faddn
  • Fdiv
  • +
  • Fdivn
  • Fiadd
  • +
  • Fiaddn
  • Fidiv
  • +
  • Fidivn
  • Fimod
  • +
  • Fimodn
  • Fimul
  • +
  • Fimuln
  • Fipow
  • +
  • Fipown
  • Fisub
  • +
  • Fisubn
  • Fmod
  • +
  • Fmodn
  • Fmul
  • +
  • Fmuln
  • Fparse
  • Fpow
  • +
  • Fpown
  • Fstringify
  • Fsub
  • +
  • Fsubn
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • @@ -61,7 +73,7 @@
    -

    Source 1/123

    +

    Source 1/135

    @@ -152,28 +164,40 @@ - + - - - - +sub +subn + + + +
    2020-05-01 20:27:28 (UTC)
    src/integer.jssrc/integer.js $0 $1 $_1 add +addn div +divn iadd +iaddn idiv +idivn imod +imodn imul +imuln ipow +ipown isub +isubn mod +modn mul +muln parse pow +pown stringify -sub0 %0/171297 byte692020-05-01 21:27:34 (UTC)0 %0/292197 byte1172020-05-02 09:03:12 (UTC)
    diff --git a/variable/index.html b/variable/index.html index c17b6b7..4afe7ea 100644 --- a/variable/index.html +++ b/variable/index.html @@ -37,19 +37,31 @@
  • F$1
  • F$_1
  • Fadd
  • +
  • Faddn
  • Fdiv
  • +
  • Fdivn
  • Fiadd
  • +
  • Fiaddn
  • Fidiv
  • +
  • Fidivn
  • Fimod
  • +
  • Fimodn
  • Fimul
  • +
  • Fimuln
  • Fipow
  • +
  • Fipown
  • Fisub
  • +
  • Fisubn
  • Fmod
  • +
  • Fmodn
  • Fmul
  • +
  • Fmuln
  • Fparse
  • Fpow
  • +
  • Fpown
  • Fstringify
  • Fsub
  • +
  • Fsubn
  • VDEFAULT_DISPLAY_BASE
  • VDEFAULT_REPRESENTATION_BASE
  • VZZ
  • From 453391286375284936a6a22a8a66902481dbc988 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Ooms?= Date: Mon, 4 May 2020 11:42:53 +0200 Subject: [PATCH 10/15] Generate docs. --- index.html | 2 +- index.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index c0c465d..345b775 100644 --- a/index.html +++ b/index.html @@ -91,7 +91,7 @@ Downloads

    Code issues Code maintainability -Code coverage (cov) +Code coverage (alls) Code technical debt Documentation Package size

    diff --git a/index.json b/index.json index a7f5a2b..b486580 100644 --- a/index.json +++ b/index.json @@ -4256,7 +4256,7 @@ }, { "kind": "index", - "content": "[@aureooms/js-integer](https://aureooms.github.io/js-integer)\n==\n\n\n\nIntegers for JavaScript.\nSee [docs](https://aureooms.github.io/js-integer).\nParent is [@aureooms/js-algorithms](https://github.com/aureooms/js-algorithms).\n\n```js\nimport { ZZ } from '@aureooms/js-integer' ; \nconst a = ZZ.from( '2983928392839289387' ) ;\nconst b = ZZ.from( '-302940923028393' ) ;\na.mul( b ).toString( ) ; // '-903954021577363596419770144565091'\n```\n\n[![License](https://img.shields.io/github/license/aureooms/js-integer.svg)](https://raw.githubusercontent.com/aureooms/js-integer/master/LICENSE)\n[![Version](https://img.shields.io/npm/v/@aureooms/js-integer.svg)](https://www.npmjs.org/package/@aureooms/js-integer)\n[![Build](https://img.shields.io/travis/aureooms/js-integer/master.svg)](https://travis-ci.org/aureooms/js-integer/branches)\n[![Dependencies](https://img.shields.io/david/aureooms/js-integer.svg)](https://david-dm.org/aureooms/js-integer)\n[![Dev dependencies](https://img.shields.io/david/dev/aureooms/js-integer.svg)](https://david-dm.org/aureooms/js-integer?type=dev)\n[![GitHub issues](https://img.shields.io/github/issues/aureooms/js-integer.svg)](https://github.com/aureooms/js-integer/issues)\n[![Downloads](https://img.shields.io/npm/dm/@aureooms/js-integer.svg)](https://www.npmjs.org/package/@aureooms/js-integer)\n\n[![Code issues](https://img.shields.io/codeclimate/issues/aureooms/js-integer.svg)](https://codeclimate.com/github/aureooms/js-integer/issues)\n[![Code maintainability](https://img.shields.io/codeclimate/maintainability/aureooms/js-integer.svg)](https://codeclimate.com/github/aureooms/js-integer/trends/churn)\n[![Code coverage (cov)](https://img.shields.io/codecov/c/gh/aureooms/js-integer/master.svg)](https://codecov.io/gh/aureooms/js-integer)\n[![Code technical debt](https://img.shields.io/codeclimate/tech-debt/aureooms/js-integer.svg)](https://codeclimate.com/github/aureooms/js-integer/trends/technical_debt)\n[![Documentation](https://aureooms.github.io/js-integer/badge.svg)](https://aureooms.github.io/js-integer/source.html)\n[![Package size](https://img.shields.io/bundlephobia/minzip/@aureooms/js-integer)](https://bundlephobia.com/result?p=@aureooms/js-integer)\n\n## Children\n\nThe current underlying implementation uses big endian order. There is no\nalternative for the moment.\n\n - [x] [@aureooms/js-integer-big-endian](https://github.com/aureooms/js-integer-big-endian)\n - [ ] [@aureooms/js-integer-little-endian](https://github.com/aureooms/js-integer-little-endian)\n\n## Reference\n\n - [The GNU Multiple Precision Arithmetic Library](https://gmplib.org/)\n - https://gmplib.org/gmp-man-6.0.0a.pdf\n - https://en.wikipedia.org/wiki/Sch%C3%B6nhage%E2%80%93Strassen_algorithm\n - [Similar work on GitHub](https://github.com/search?l=JavaScript&o=desc&q=bigint&s=stars&type=Repositories)\n", + "content": "[@aureooms/js-integer](https://aureooms.github.io/js-integer)\n==\n\n\n\nIntegers for JavaScript.\nSee [docs](https://aureooms.github.io/js-integer).\nParent is [@aureooms/js-algorithms](https://github.com/aureooms/js-algorithms).\n\n```js\nimport { ZZ } from '@aureooms/js-integer' ; \nconst a = ZZ.from( '2983928392839289387' ) ;\nconst b = ZZ.from( '-302940923028393' ) ;\na.mul( b ).toString( ) ; // '-903954021577363596419770144565091'\n```\n\n[![License](https://img.shields.io/github/license/aureooms/js-integer.svg)](https://raw.githubusercontent.com/aureooms/js-integer/master/LICENSE)\n[![Version](https://img.shields.io/npm/v/@aureooms/js-integer.svg)](https://www.npmjs.org/package/@aureooms/js-integer)\n[![Build](https://img.shields.io/travis/aureooms/js-integer/master.svg)](https://travis-ci.org/aureooms/js-integer/branches)\n[![Dependencies](https://img.shields.io/david/aureooms/js-integer.svg)](https://david-dm.org/aureooms/js-integer)\n[![Dev dependencies](https://img.shields.io/david/dev/aureooms/js-integer.svg)](https://david-dm.org/aureooms/js-integer?type=dev)\n[![GitHub issues](https://img.shields.io/github/issues/aureooms/js-integer.svg)](https://github.com/aureooms/js-integer/issues)\n[![Downloads](https://img.shields.io/npm/dm/@aureooms/js-integer.svg)](https://www.npmjs.org/package/@aureooms/js-integer)\n\n[![Code issues](https://img.shields.io/codeclimate/issues/aureooms/js-integer.svg)](https://codeclimate.com/github/aureooms/js-integer/issues)\n[![Code maintainability](https://img.shields.io/codeclimate/maintainability/aureooms/js-integer.svg)](https://codeclimate.com/github/aureooms/js-integer/trends/churn)\n[![Code coverage (alls)](https://img.shields.io/coveralls/github/aureooms/js-integer/master.svg)](https://coveralls.io/r/aureooms/js-integer)\n[![Code technical debt](https://img.shields.io/codeclimate/tech-debt/aureooms/js-integer.svg)](https://codeclimate.com/github/aureooms/js-integer/trends/technical_debt)\n[![Documentation](https://aureooms.github.io/js-integer/badge.svg)](https://aureooms.github.io/js-integer/source.html)\n[![Package size](https://img.shields.io/bundlephobia/minzip/@aureooms/js-integer)](https://bundlephobia.com/result?p=@aureooms/js-integer)\n\n## Children\n\nThe current underlying implementation uses big endian order. There is no\nalternative for the moment.\n\n - [x] [@aureooms/js-integer-big-endian](https://github.com/aureooms/js-integer-big-endian)\n - [ ] [@aureooms/js-integer-little-endian](https://github.com/aureooms/js-integer-little-endian)\n\n## Reference\n\n - [The GNU Multiple Precision Arithmetic Library](https://gmplib.org/)\n - https://gmplib.org/gmp-man-6.0.0a.pdf\n - https://en.wikipedia.org/wiki/Sch%C3%B6nhage%E2%80%93Strassen_algorithm\n - [Similar work on GitHub](https://github.com/search?l=JavaScript&o=desc&q=bigint&s=stars&type=Repositories)\n", "longname": "/home/aureooms/dev/js/js-integer/README.md", "name": "./README.md", "static": true, @@ -4264,7 +4264,7 @@ }, { "kind": "packageJSON", - "content": "{\n \"name\": \"@aureooms/js-integer\",\n \"description\": \"Integers for JavaScript\",\n \"version\": \"5.1.0\",\n \"author\": \"Aurélien Ooms \",\n \"ava\": {\n \"require\": [\n \"@babel/polyfill\",\n \"@babel/register\"\n ],\n \"files\": [\n \"test/src/**/*\"\n ],\n \"timeout\": \"3m\",\n \"concurrency\": 8\n },\n \"babel\": {\n \"presets\": [\n \"@babel/preset-env\"\n ],\n \"env\": {\n \"development\": {\n \"sourceMaps\": \"inline\"\n }\n }\n },\n \"bugs\": {\n \"url\": \"https://github.com/aureooms/js-integer/issues\"\n },\n \"dependencies\": {\n \"@aureooms/js-error\": \"^4.0.0\",\n \"@aureooms/js-integer-big-endian\": \"^8.0.0\"\n },\n \"devDependencies\": {\n \"@aureooms/js-algorithms\": \"3.0.7\",\n \"@aureooms/js-array\": \"4.0.0\",\n \"@aureooms/js-itertools\": \"4.0.0\",\n \"@aureooms/js-operator\": \"1.0.2\",\n \"@aureooms/js-random\": \"2.0.0\",\n \"@aureooms/js-string\": \"0.2.0\",\n \"@babel/cli\": \"7.8.4\",\n \"@babel/core\": \"7.9.6\",\n \"@babel/polyfill\": \"7.8.7\",\n \"@babel/preset-env\": \"7.9.6\",\n \"@babel/register\": \"7.9.0\",\n \"ava\": \"3.8.1\",\n \"coveralls\": \"3.1.0\",\n \"esdoc\": \"1.1.0\",\n \"esdoc-inject-script-plugin\": \"1.0.0\",\n \"esdoc-inject-style-plugin\": \"1.0.0\",\n \"esdoc-standard-plugin\": \"1.0.0\",\n \"np\": \"6.2.3\",\n \"nyc\": \"15.0.1\"\n },\n \"files\": [\n \"lib\"\n ],\n \"homepage\": \"https://aureooms.github.io/js-integer\",\n \"keywords\": [\n \"algorithm\",\n \"arithmetic\",\n \"bignum\",\n \"complexity\",\n \"integer\",\n \"javascript\",\n \"js\",\n \"library\",\n \"logic\",\n \"mpa\",\n \"multi-precision\"\n ],\n \"license\": \"AGPL-3.0\",\n \"main\": \"lib/index.js\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/aureooms/js-integer.git\"\n },\n \"scripts\": {\n \"build\": \"rm -rf lib && babel src -d lib\",\n \"cover\": \"nyc --reporter=lcov npm test\",\n \"esdoc\": \"esdoc\",\n \"prepare\": \"npm run build\",\n \"release\": \"np\",\n \"test\": \"ava\"\n }\n}\n", + "content": "{\n \"name\": \"@aureooms/js-integer\",\n \"description\": \"Integers for JavaScript\",\n \"version\": \"5.1.1\",\n \"author\": \"Aurélien Ooms \",\n \"ava\": {\n \"require\": [\n \"@babel/polyfill\",\n \"@babel/register\"\n ],\n \"files\": [\n \"test/src/**/*\"\n ],\n \"timeout\": \"3m\",\n \"concurrency\": 8\n },\n \"babel\": {\n \"presets\": [\n \"@babel/preset-env\"\n ],\n \"env\": {\n \"development\": {\n \"sourceMaps\": \"inline\"\n }\n }\n },\n \"bugs\": {\n \"url\": \"https://github.com/aureooms/js-integer/issues\"\n },\n \"dependencies\": {\n \"@aureooms/js-error\": \"^4.0.0\",\n \"@aureooms/js-integer-big-endian\": \"^8.0.0\"\n },\n \"devDependencies\": {\n \"@aureooms/js-algorithms\": \"3.0.7\",\n \"@aureooms/js-array\": \"4.0.0\",\n \"@aureooms/js-itertools\": \"4.0.0\",\n \"@aureooms/js-operator\": \"1.0.2\",\n \"@aureooms/js-random\": \"2.0.0\",\n \"@aureooms/js-string\": \"0.2.0\",\n \"@babel/cli\": \"7.8.4\",\n \"@babel/core\": \"7.9.6\",\n \"@babel/polyfill\": \"7.8.7\",\n \"@babel/preset-env\": \"7.9.6\",\n \"@babel/register\": \"7.9.0\",\n \"ava\": \"3.8.1\",\n \"coveralls\": \"3.1.0\",\n \"esdoc\": \"1.1.0\",\n \"esdoc-inject-script-plugin\": \"1.0.0\",\n \"esdoc-inject-style-plugin\": \"1.0.0\",\n \"esdoc-standard-plugin\": \"1.0.0\",\n \"np\": \"6.2.3\",\n \"nyc\": \"15.0.1\"\n },\n \"files\": [\n \"lib\"\n ],\n \"homepage\": \"https://aureooms.github.io/js-integer\",\n \"keywords\": [\n \"algorithm\",\n \"arithmetic\",\n \"bignum\",\n \"complexity\",\n \"integer\",\n \"javascript\",\n \"js\",\n \"library\",\n \"logic\",\n \"mpa\",\n \"multi-precision\"\n ],\n \"license\": \"AGPL-3.0\",\n \"main\": \"lib/index.js\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/aureooms/js-integer.git\"\n },\n \"scripts\": {\n \"build\": \"rm -rf lib && babel src -d lib\",\n \"cover\": \"nyc --reporter=lcov npm test\",\n \"esdoc\": \"esdoc\",\n \"prepare\": \"npm run build\",\n \"release\": \"np\",\n \"test\": \"ava\"\n }\n}\n", "longname": "/home/aureooms/dev/js/js-integer/package.json", "name": "package.json", "static": true, From b320c283402a24cbc080c4f694feb80558bc4def Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Ooms?= Date: Mon, 4 May 2020 18:28:40 +0200 Subject: [PATCH 11/15] Generate docs. --- ast/source/Integer.js.json | 50047 ++++++++-------- ast/source/integer.js.json | 9086 ++- class/src/Integer.js~Integer.html | 284 +- class/src/IntegerRing.js~IntegerRing.html | 4 + ...eroDivisionError.js~ZeroDivisionError.html | 4 + coverage.json | 86 +- file/src/DEFAULT_DISPLAY_BASE.js.html | 4 + file/src/DEFAULT_REPRESENTATION_BASE.js.html | 4 + file/src/Integer.js.html | 15 +- file/src/IntegerRing.js.html | 4 + file/src/ZZ.js.html | 4 + file/src/ZeroDivisionError.js.html | 4 + file/src/_from_number.js.html | 4 + file/src/_limits.js.html | 4 + file/src/index.js.html | 4 + file/src/integer.js.html | 20 + function/index.html | 472 +- identifiers.html | 116 + index.html | 4 + index.json | 512 +- script/search_index.js | 36 + source.html | 30 +- variable/index.html | 4 + 23 files changed, 33185 insertions(+), 27567 deletions(-) diff --git a/ast/source/Integer.js.json b/ast/source/Integer.js.json index b4f1b02..bb258c3 100644 --- a/ast/source/Integer.js.json +++ b/ast/source/Integer.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 12446, + "end": 12619, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 567, + "line": 576, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 12446, + "end": 12619, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 567, + "line": 576, "column": 0 } }, @@ -1392,14 +1392,14 @@ { "type": "ExportNamedDeclaration", "start": 480, - "end": 12445, + "end": 12618, "loc": { "start": { "line": 18, "column": 0 }, "end": { - "line": 566, + "line": 575, "column": 1 } }, @@ -1408,14 +1408,14 @@ "declaration": { "type": "ClassDeclaration", "start": 487, - "end": 12445, + "end": 12618, "loc": { "start": { "line": 18, "column": 7 }, "end": { - "line": 566, + "line": 575, "column": 1 } }, @@ -1440,14 +1440,14 @@ "body": { "type": "ClassBody", "start": 501, - "end": 12445, + "end": 12618, "loc": { "start": { "line": 18, "column": 21 }, "end": { - "line": 566, + "line": 575, "column": 1 } }, @@ -21384,9 +21384,9 @@ }, "elements": [ { - "type": "CallExpression", + "type": "Identifier", "start": 7370, - "end": 7382, + "end": 7371, "loc": { "start": { "line": 336, @@ -21394,52 +21394,69 @@ }, "end": { "line": 336, - "column": 23 + "column": 12 + }, + "identifierName": "q" + }, + "name": "q" + }, + { + "type": "CallExpression", + "start": 7374, + "end": 7386, + "loc": { + "start": { + "line": 336, + "column": 15 + }, + "end": { + "line": 336, + "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 7370, - "end": 7376, + "start": 7374, + "end": 7380, "loc": { "start": { "line": 336, - "column": 11 + "column": 15 }, "end": { "line": 336, - "column": 17 + "column": 21 } }, "object": { "type": "Identifier", - "start": 7370, - "end": 7371, + "start": 7374, + "end": 7375, "loc": { "start": { "line": 336, - "column": 11 + "column": 15 }, "end": { "line": 336, - "column": 12 + "column": 16 }, - "identifierName": "q" + "identifierName": "r" }, - "name": "q" + "name": "r" }, "property": { "type": "Identifier", - "start": 7372, - "end": 7376, + "start": 7376, + "end": 7380, "loc": { "start": { "line": 336, - "column": 13 + "column": 17 }, "end": { "line": 336, - "column": 17 + "column": 21 }, "identifierName": "move" }, @@ -21450,37 +21467,20 @@ "arguments": [ { "type": "ThisExpression", - "start": 7377, - "end": 7381, + "start": 7381, + "end": 7385, "loc": { "start": { "line": 336, - "column": 18 + "column": 22 }, "end": { "line": 336, - "column": 22 + "column": 26 } } } ] - }, - { - "type": "Identifier", - "start": 7385, - "end": 7386, - "loc": { - "start": { - "line": 336, - "column": 26 - }, - "end": { - "line": 336, - "column": 27 - }, - "identifierName": "r" - }, - "name": "r" } ] } @@ -21492,7 +21492,7 @@ { "type": "ClassMethod", "start": 7396, - "end": 7482, + "end": 7464, "loc": { "start": { "line": 339, @@ -21508,7 +21508,7 @@ "key": { "type": "Identifier", "start": 7396, - "end": 7404, + "end": 7403, "loc": { "start": { "line": 339, @@ -21516,26 +21516,44 @@ }, "end": { "line": 339, - "column": 9 + "column": 8 }, - "identifierName": "opposite" + "identifierName": "divmodn" }, - "name": "opposite" + "name": "divmodn" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, - "params": [], + "params": [ + { + "type": "Identifier", + "start": 7406, + "end": 7412, + "loc": { + "start": { + "line": 339, + "column": 11 + }, + "end": { + "line": 339, + "column": 17 + }, + "identifierName": "number" + }, + "name": "number" + } + ], "body": { "type": "BlockStatement", - "start": 7409, - "end": 7482, + "start": 7415, + "end": 7464, "loc": { "start": { "line": 339, - "column": 14 + "column": 20 }, "end": { "line": 341, @@ -21545,8 +21563,8 @@ "body": [ { "type": "ReturnStatement", - "start": 7413, - "end": 7479, + "start": 7419, + "end": 7461, "loc": { "start": { "line": 340, @@ -21554,13 +21572,13 @@ }, "end": { "line": 340, - "column": 68 + "column": 44 } }, "argument": { - "type": "NewExpression", - "start": 7420, - "end": 7477, + "type": "CallExpression", + "start": 7426, + "end": 7459, "loc": { "start": { "line": 340, @@ -21568,190 +21586,108 @@ }, "end": { "line": 340, - "column": 66 + "column": 42 } }, "callee": { - "type": "Identifier", - "start": 7424, - "end": 7431, + "type": "MemberExpression", + "start": 7426, + "end": 7437, "loc": { "start": { "line": 340, - "column": 13 + "column": 9 }, "end": { "line": 340, "column": 20 - }, - "identifierName": "Integer" + } }, - "name": "Integer" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 7433, - "end": 7442, + "object": { + "type": "ThisExpression", + "start": 7426, + "end": 7430, "loc": { "start": { "line": 340, - "column": 22 + "column": 9 }, "end": { "line": 340, - "column": 31 - } - }, - "object": { - "type": "ThisExpression", - "start": 7433, - "end": 7437, - "loc": { - "start": { - "line": 340, - "column": 22 - }, - "end": { - "line": 340, - "column": 26 - } + "column": 13 } - }, - "property": { - "type": "Identifier", - "start": 7438, - "end": 7442, - "loc": { - "start": { - "line": 340, - "column": 27 - }, - "end": { - "line": 340, - "column": 31 - }, - "identifierName": "base" + } + }, + "property": { + "type": "Identifier", + "start": 7431, + "end": 7437, + "loc": { + "start": { + "line": 340, + "column": 14 }, - "name": "base" + "end": { + "line": 340, + "column": 20 + }, + "identifierName": "divmod" }, - "computed": false + "name": "divmod" }, + "computed": false + }, + "arguments": [ { - "type": "UnaryExpression", - "start": 7445, - "end": 7462, + "type": "CallExpression", + "start": 7438, + "end": 7458, "loc": { "start": { "line": 340, - "column": 34 + "column": 21 }, "end": { "line": 340, - "column": 51 + "column": 41 } }, - "operator": "~", - "prefix": true, - "argument": { - "type": "MemberExpression", - "start": 7446, - "end": 7462, + "callee": { + "type": "Identifier", + "start": 7438, + "end": 7450, "loc": { "start": { "line": 340, - "column": 35 + "column": 21 }, "end": { "line": 340, - "column": 51 - } - }, - "object": { - "type": "ThisExpression", - "start": 7446, - "end": 7450, - "loc": { - "start": { - "line": 340, - "column": 35 - }, - "end": { - "line": 340, - "column": 39 - } - } + "column": 33 + }, + "identifierName": "_from_number" }, - "property": { + "name": "_from_number" + }, + "arguments": [ + { "type": "Identifier", "start": 7451, - "end": 7462, + "end": 7457, "loc": { "start": { "line": 340, - "column": 40 + "column": 34 }, "end": { "line": 340, - "column": 51 + "column": 40 }, - "identifierName": "is_negative" - }, - "name": "is_negative" - }, - "computed": false - }, - "extra": { - "parenthesizedArgument": false - } - }, - { - "type": "MemberExpression", - "start": 7465, - "end": 7475, - "loc": { - "start": { - "line": 340, - "column": 54 - }, - "end": { - "line": 340, - "column": 64 - } - }, - "object": { - "type": "ThisExpression", - "start": 7465, - "end": 7469, - "loc": { - "start": { - "line": 340, - "column": 54 + "identifierName": "number" }, - "end": { - "line": 340, - "column": 58 - } + "name": "number" } - }, - "property": { - "type": "Identifier", - "start": 7470, - "end": 7475, - "loc": { - "start": { - "line": 340, - "column": 59 - }, - "end": { - "line": 340, - "column": 64 - }, - "identifierName": "limbs" - }, - "name": "limbs" - }, - "computed": false + ] } ] } @@ -21762,8 +21698,8 @@ }, { "type": "ClassMethod", - "start": 7485, - "end": 7589, + "start": 7467, + "end": 7566, "loc": { "start": { "line": 343, @@ -21778,8 +21714,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 7485, - "end": 7491, + "start": 7467, + "end": 7475, "loc": { "start": { "line": 343, @@ -21787,26 +21723,44 @@ }, "end": { "line": 343, - "column": 7 + "column": 9 }, - "identifierName": "negate" + "identifierName": "idivmodn" }, - "name": "negate" + "name": "idivmodn" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, - "params": [], + "params": [ + { + "type": "Identifier", + "start": 7478, + "end": 7484, + "loc": { + "start": { + "line": 343, + "column": 12 + }, + "end": { + "line": 343, + "column": 18 + }, + "identifierName": "number" + }, + "name": "number" + } + ], "body": { "type": "BlockStatement", - "start": 7496, - "end": 7589, + "start": 7487, + "end": 7566, "loc": { "start": { "line": 343, - "column": 12 + "column": 21 }, "end": { "line": 346, @@ -21815,171 +21769,301 @@ }, "body": [ { - "type": "ReturnStatement", - "start": 7552, - "end": 7586, + "type": "VariableDeclaration", + "start": 7491, + "end": 7531, "loc": { "start": { - "line": 345, + "line": 344, "column": 2 }, "end": { - "line": 345, - "column": 36 + "line": 344, + "column": 42 } }, - "argument": { - "type": "CallExpression", - "start": 7559, - "end": 7585, - "loc": { - "start": { - "line": 345, - "column": 9 - }, - "end": { - "line": 345, - "column": 35 - } - }, - "callee": { - "type": "MemberExpression", - "start": 7559, - "end": 7579, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 7497, + "end": 7529, "loc": { "start": { - "line": 345, - "column": 9 + "line": 344, + "column": 8 }, "end": { - "line": 345, - "column": 29 + "line": 344, + "column": 40 } }, - "object": { + "id": { + "type": "ArrayPattern", + "start": 7497, + "end": 7506, + "loc": { + "start": { + "line": 344, + "column": 8 + }, + "end": { + "line": 344, + "column": 17 + } + }, + "elements": [ + { + "type": "Identifier", + "start": 7499, + "end": 7500, + "loc": { + "start": { + "line": 344, + "column": 10 + }, + "end": { + "line": 344, + "column": 11 + }, + "identifierName": "q" + }, + "name": "q" + }, + { + "type": "Identifier", + "start": 7503, + "end": 7504, + "loc": { + "start": { + "line": 344, + "column": 14 + }, + "end": { + "line": 344, + "column": 15 + }, + "identifierName": "r" + }, + "name": "r" + } + ] + }, + "init": { "type": "CallExpression", - "start": 7559, - "end": 7574, + "start": 7509, + "end": 7529, "loc": { "start": { - "line": 345, - "column": 9 + "line": 344, + "column": 20 }, "end": { - "line": 345, - "column": 24 + "line": 344, + "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 7559, - "end": 7572, + "start": 7509, + "end": 7521, "loc": { "start": { - "line": 345, - "column": 9 + "line": 344, + "column": 20 }, "end": { - "line": 345, - "column": 22 + "line": 344, + "column": 32 } }, "object": { "type": "ThisExpression", - "start": 7559, - "end": 7563, + "start": 7509, + "end": 7513, "loc": { "start": { - "line": 345, - "column": 9 + "line": 344, + "column": 20 }, "end": { - "line": 345, - "column": 13 + "line": 344, + "column": 24 } - }, - "leadingComments": null + } }, "property": { "type": "Identifier", - "start": 7564, - "end": 7572, + "start": 7514, + "end": 7521, "loc": { "start": { - "line": 345, - "column": 14 + "line": 344, + "column": 25 }, "end": { - "line": 345, - "column": 22 + "line": 344, + "column": 32 }, - "identifierName": "opposite" + "identifierName": "divmodn" }, - "name": "opposite" + "name": "divmodn" }, - "computed": false, - "leadingComments": null + "computed": false }, - "arguments": [], - "leadingComments": null + "arguments": [ + { + "type": "Identifier", + "start": 7522, + "end": 7528, + "loc": { + "start": { + "line": 344, + "column": 33 + }, + "end": { + "line": 344, + "column": 39 + }, + "identifierName": "number" + }, + "name": "number" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ReturnStatement", + "start": 7534, + "end": 7563, + "loc": { + "start": { + "line": 345, + "column": 2 + }, + "end": { + "line": 345, + "column": 31 + } + }, + "argument": { + "type": "ArrayExpression", + "start": 7541, + "end": 7561, + "loc": { + "start": { + "line": 345, + "column": 9 }, - "property": { + "end": { + "line": 345, + "column": 29 + } + }, + "elements": [ + { "type": "Identifier", - "start": 7575, - "end": 7579, + "start": 7543, + "end": 7544, "loc": { "start": { "line": 345, - "column": 25 + "column": 11 }, "end": { "line": 345, - "column": 29 + "column": 12 }, - "identifierName": "move" + "identifierName": "q" }, - "name": "move" + "name": "q" }, - "computed": false, - "leadingComments": null - }, - "arguments": [ { - "type": "ThisExpression", - "start": 7580, - "end": 7584, + "type": "CallExpression", + "start": 7547, + "end": 7559, "loc": { "start": { "line": 345, - "column": 30 + "column": 15 }, "end": { "line": 345, - "column": 34 + "column": 27 } - } - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " TODO optimize but be careful with side effects", - "start": 7500, - "end": 7549, - "loc": { - "start": { - "line": 344, - "column": 2 }, - "end": { - "line": 344, - "column": 51 - } + "callee": { + "type": "MemberExpression", + "start": 7547, + "end": 7553, + "loc": { + "start": { + "line": 345, + "column": 15 + }, + "end": { + "line": 345, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 7547, + "end": 7548, + "loc": { + "start": { + "line": 345, + "column": 15 + }, + "end": { + "line": 345, + "column": 16 + }, + "identifierName": "r" + }, + "name": "r" + }, + "property": { + "type": "Identifier", + "start": 7549, + "end": 7553, + "loc": { + "start": { + "line": 345, + "column": 17 + }, + "end": { + "line": 345, + "column": 21 + }, + "identifierName": "move" + }, + "name": "move" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 7554, + "end": 7558, + "loc": { + "start": { + "line": 345, + "column": 22 + }, + "end": { + "line": 345, + "column": 26 + } + } + } + ] } - } - ] + ] + } } ], "directives": [] @@ -21987,8 +22071,8 @@ }, { "type": "ClassMethod", - "start": 7592, - "end": 7661, + "start": 7569, + "end": 7655, "loc": { "start": { "line": 348, @@ -22003,8 +22087,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 7592, - "end": 7595, + "start": 7569, + "end": 7577, "loc": { "start": { "line": 348, @@ -22012,11 +22096,11 @@ }, "end": { "line": 348, - "column": 4 + "column": 9 }, - "identifierName": "abs" + "identifierName": "opposite" }, - "name": "abs" + "name": "opposite" }, "kind": "method", "id": null, @@ -22026,12 +22110,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 7600, - "end": 7661, + "start": 7582, + "end": 7655, "loc": { "start": { "line": 348, - "column": 9 + "column": 14 }, "end": { "line": 350, @@ -22041,8 +22125,8 @@ "body": [ { "type": "ReturnStatement", - "start": 7604, - "end": 7658, + "start": 7586, + "end": 7652, "loc": { "start": { "line": 349, @@ -22050,13 +22134,13 @@ }, "end": { "line": 349, - "column": 56 + "column": 68 } }, "argument": { - "type": "ConditionalExpression", - "start": 7611, - "end": 7656, + "type": "NewExpression", + "start": 7593, + "end": 7650, "loc": { "start": { "line": 349, @@ -22064,77 +22148,573 @@ }, "end": { "line": 349, + "column": 66 + } + }, + "callee": { + "type": "Identifier", + "start": 7597, + "end": 7604, + "loc": { + "start": { + "line": 349, + "column": 13 + }, + "end": { + "line": 349, + "column": 20 + }, + "identifierName": "Integer" + }, + "name": "Integer" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 7606, + "end": 7615, + "loc": { + "start": { + "line": 349, + "column": 22 + }, + "end": { + "line": 349, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 7606, + "end": 7610, + "loc": { + "start": { + "line": 349, + "column": 22 + }, + "end": { + "line": 349, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "start": 7611, + "end": 7615, + "loc": { + "start": { + "line": 349, + "column": 27 + }, + "end": { + "line": 349, + "column": 31 + }, + "identifierName": "base" + }, + "name": "base" + }, + "computed": false + }, + { + "type": "UnaryExpression", + "start": 7618, + "end": 7635, + "loc": { + "start": { + "line": 349, + "column": 34 + }, + "end": { + "line": 349, + "column": 51 + } + }, + "operator": "~", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 7619, + "end": 7635, + "loc": { + "start": { + "line": 349, + "column": 35 + }, + "end": { + "line": 349, + "column": 51 + } + }, + "object": { + "type": "ThisExpression", + "start": 7619, + "end": 7623, + "loc": { + "start": { + "line": 349, + "column": 35 + }, + "end": { + "line": 349, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "start": 7624, + "end": 7635, + "loc": { + "start": { + "line": 349, + "column": 40 + }, + "end": { + "line": 349, + "column": 51 + }, + "identifierName": "is_negative" + }, + "name": "is_negative" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false + } + }, + { + "type": "MemberExpression", + "start": 7638, + "end": 7648, + "loc": { + "start": { + "line": 349, + "column": 54 + }, + "end": { + "line": 349, + "column": 64 + } + }, + "object": { + "type": "ThisExpression", + "start": 7638, + "end": 7642, + "loc": { + "start": { + "line": 349, + "column": 54 + }, + "end": { + "line": 349, + "column": 58 + } + } + }, + "property": { + "type": "Identifier", + "start": 7643, + "end": 7648, + "loc": { + "start": { + "line": 349, + "column": 59 + }, + "end": { + "line": 349, + "column": 64 + }, + "identifierName": "limbs" + }, + "name": "limbs" + }, + "computed": false + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ClassMethod", + "start": 7658, + "end": 7762, + "loc": { + "start": { + "line": 352, + "column": 1 + }, + "end": { + "line": 355, + "column": 2 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 7658, + "end": 7664, + "loc": { + "start": { + "line": 352, + "column": 1 + }, + "end": { + "line": 352, + "column": 7 + }, + "identifierName": "negate" + }, + "name": "negate" + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 7669, + "end": 7762, + "loc": { + "start": { + "line": 352, + "column": 12 + }, + "end": { + "line": 355, + "column": 2 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 7725, + "end": 7759, + "loc": { + "start": { + "line": 354, + "column": 2 + }, + "end": { + "line": 354, + "column": 36 + } + }, + "argument": { + "type": "CallExpression", + "start": 7732, + "end": 7758, + "loc": { + "start": { + "line": 354, + "column": 9 + }, + "end": { + "line": 354, + "column": 35 + } + }, + "callee": { + "type": "MemberExpression", + "start": 7732, + "end": 7752, + "loc": { + "start": { + "line": 354, + "column": 9 + }, + "end": { + "line": 354, + "column": 29 + } + }, + "object": { + "type": "CallExpression", + "start": 7732, + "end": 7747, + "loc": { + "start": { + "line": 354, + "column": 9 + }, + "end": { + "line": 354, + "column": 24 + } + }, + "callee": { + "type": "MemberExpression", + "start": 7732, + "end": 7745, + "loc": { + "start": { + "line": 354, + "column": 9 + }, + "end": { + "line": 354, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 7732, + "end": 7736, + "loc": { + "start": { + "line": 354, + "column": 9 + }, + "end": { + "line": 354, + "column": 13 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 7737, + "end": 7745, + "loc": { + "start": { + "line": 354, + "column": 14 + }, + "end": { + "line": 354, + "column": 22 + }, + "identifierName": "opposite" + }, + "name": "opposite" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [], + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 7748, + "end": 7752, + "loc": { + "start": { + "line": 354, + "column": 25 + }, + "end": { + "line": 354, + "column": 29 + }, + "identifierName": "move" + }, + "name": "move" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 7753, + "end": 7757, + "loc": { + "start": { + "line": 354, + "column": 30 + }, + "end": { + "line": 354, + "column": 34 + } + } + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " TODO optimize but be careful with side effects", + "start": 7673, + "end": 7722, + "loc": { + "start": { + "line": 353, + "column": 2 + }, + "end": { + "line": 353, + "column": 51 + } + } + } + ] + } + ], + "directives": [] + } + }, + { + "type": "ClassMethod", + "start": 7765, + "end": 7834, + "loc": { + "start": { + "line": 357, + "column": 1 + }, + "end": { + "line": 359, + "column": 2 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 7765, + "end": 7768, + "loc": { + "start": { + "line": 357, + "column": 1 + }, + "end": { + "line": 357, + "column": 4 + }, + "identifierName": "abs" + }, + "name": "abs" + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 7773, + "end": 7834, + "loc": { + "start": { + "line": 357, + "column": 9 + }, + "end": { + "line": 359, + "column": 2 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 7777, + "end": 7831, + "loc": { + "start": { + "line": 358, + "column": 2 + }, + "end": { + "line": 358, + "column": 56 + } + }, + "argument": { + "type": "ConditionalExpression", + "start": 7784, + "end": 7829, + "loc": { + "start": { + "line": 358, + "column": 9 + }, + "end": { + "line": 358, "column": 54 } }, "test": { "type": "BinaryExpression", - "start": 7611, - "end": 7627, + "start": 7784, + "end": 7800, "loc": { "start": { - "line": 349, + "line": 358, "column": 9 }, "end": { - "line": 349, + "line": 358, "column": 25 } }, "left": { "type": "CallExpression", - "start": 7611, - "end": 7622, + "start": 7784, + "end": 7795, "loc": { "start": { - "line": 349, + "line": 358, "column": 9 }, "end": { - "line": 349, + "line": 358, "column": 20 } }, "callee": { "type": "MemberExpression", - "start": 7611, - "end": 7620, + "start": 7784, + "end": 7793, "loc": { "start": { - "line": 349, + "line": 358, "column": 9 }, "end": { - "line": 349, + "line": 358, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 7611, - "end": 7615, + "start": 7784, + "end": 7788, "loc": { "start": { - "line": 349, + "line": 358, "column": 9 }, "end": { - "line": 349, + "line": 358, "column": 13 } } }, "property": { "type": "Identifier", - "start": 7616, - "end": 7620, + "start": 7789, + "end": 7793, "loc": { "start": { - "line": 349, + "line": 358, "column": 14 }, "end": { - "line": 349, + "line": 358, "column": 18 }, "identifierName": "sign" @@ -22148,15 +22728,15 @@ "operator": ">=", "right": { "type": "NumericLiteral", - "start": 7626, - "end": 7627, + "start": 7799, + "end": 7800, "loc": { "start": { - "line": 349, + "line": 358, "column": 24 }, "end": { - "line": 349, + "line": 358, "column": 25 } }, @@ -22169,73 +22749,73 @@ }, "consequent": { "type": "ThisExpression", - "start": 7630, - "end": 7634, + "start": 7803, + "end": 7807, "loc": { "start": { - "line": 349, + "line": 358, "column": 28 }, "end": { - "line": 349, + "line": 358, "column": 32 } } }, "alternate": { "type": "CallExpression", - "start": 7637, - "end": 7656, + "start": 7810, + "end": 7829, "loc": { "start": { - "line": 349, + "line": 358, "column": 35 }, "end": { - "line": 349, + "line": 358, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 7637, - "end": 7650, + "start": 7810, + "end": 7823, "loc": { "start": { - "line": 349, + "line": 358, "column": 35 }, "end": { - "line": 349, + "line": 358, "column": 48 } }, "object": { "type": "ThisExpression", - "start": 7637, - "end": 7641, + "start": 7810, + "end": 7814, "loc": { "start": { - "line": 349, + "line": 358, "column": 35 }, "end": { - "line": 349, + "line": 358, "column": 39 } } }, "property": { "type": "Identifier", - "start": 7642, - "end": 7650, + "start": 7815, + "end": 7823, "loc": { "start": { - "line": 349, + "line": 358, "column": 40 }, "end": { - "line": 349, + "line": 358, "column": 48 }, "identifierName": "opposite" @@ -22247,15 +22827,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 7651, - "end": 7655, + "start": 7824, + "end": 7828, "loc": { "start": { - "line": 349, + "line": 358, "column": 49 }, "end": { - "line": 349, + "line": 358, "column": 53 } } @@ -22270,15 +22850,15 @@ }, { "type": "ClassMethod", - "start": 7664, - "end": 7710, + "start": 7837, + "end": 7883, "loc": { "start": { - "line": 352, + "line": 361, "column": 1 }, "end": { - "line": 354, + "line": 363, "column": 2 } }, @@ -22286,15 +22866,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 7664, - "end": 7668, + "start": 7837, + "end": 7841, "loc": { "start": { - "line": 352, + "line": 361, "column": 1 }, "end": { - "line": 352, + "line": 361, "column": 5 }, "identifierName": "iabs" @@ -22309,115 +22889,115 @@ "params": [], "body": { "type": "BlockStatement", - "start": 7673, - "end": 7710, + "start": 7846, + "end": 7883, "loc": { "start": { - "line": 352, + "line": 361, "column": 10 }, "end": { - "line": 354, + "line": 363, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 7677, - "end": 7707, + "start": 7850, + "end": 7880, "loc": { "start": { - "line": 353, + "line": 362, "column": 2 }, "end": { - "line": 353, + "line": 362, "column": 32 } }, "argument": { "type": "CallExpression", - "start": 7684, - "end": 7705, + "start": 7857, + "end": 7878, "loc": { "start": { - "line": 353, + "line": 362, "column": 9 }, "end": { - "line": 353, + "line": 362, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 7684, - "end": 7699, + "start": 7857, + "end": 7872, "loc": { "start": { - "line": 353, + "line": 362, "column": 9 }, "end": { - "line": 353, + "line": 362, "column": 24 } }, "object": { "type": "CallExpression", - "start": 7684, - "end": 7694, + "start": 7857, + "end": 7867, "loc": { "start": { - "line": 353, + "line": 362, "column": 9 }, "end": { - "line": 353, + "line": 362, "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 7684, - "end": 7692, + "start": 7857, + "end": 7865, "loc": { "start": { - "line": 353, + "line": 362, "column": 9 }, "end": { - "line": 353, + "line": 362, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 7684, - "end": 7688, + "start": 7857, + "end": 7861, "loc": { "start": { - "line": 353, + "line": 362, "column": 9 }, "end": { - "line": 353, + "line": 362, "column": 13 } } }, "property": { "type": "Identifier", - "start": 7689, - "end": 7692, + "start": 7862, + "end": 7865, "loc": { "start": { - "line": 353, + "line": 362, "column": 14 }, "end": { - "line": 353, + "line": 362, "column": 17 }, "identifierName": "abs" @@ -22430,15 +23010,15 @@ }, "property": { "type": "Identifier", - "start": 7695, - "end": 7699, + "start": 7868, + "end": 7872, "loc": { "start": { - "line": 353, + "line": 362, "column": 20 }, "end": { - "line": 353, + "line": 362, "column": 24 }, "identifierName": "move" @@ -22450,15 +23030,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 7700, - "end": 7704, + "start": 7873, + "end": 7877, "loc": { "start": { - "line": 353, + "line": 362, "column": 25 }, "end": { - "line": 353, + "line": 362, "column": 29 } } @@ -22472,15 +23052,15 @@ }, { "type": "ClassMethod", - "start": 7713, - "end": 7783, + "start": 7886, + "end": 7956, "loc": { "start": { - "line": 356, + "line": 365, "column": 1 }, "end": { - "line": 358, + "line": 367, "column": 2 } }, @@ -22488,15 +23068,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 7713, - "end": 7717, + "start": 7886, + "end": 7890, "loc": { "start": { - "line": 356, + "line": 365, "column": 1 }, "end": { - "line": 356, + "line": 365, "column": 5 }, "identifierName": "sign" @@ -22511,101 +23091,101 @@ "params": [], "body": { "type": "BlockStatement", - "start": 7722, - "end": 7783, + "start": 7895, + "end": 7956, "loc": { "start": { - "line": 356, + "line": 365, "column": 10 }, "end": { - "line": 358, + "line": 367, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 7726, - "end": 7780, + "start": 7899, + "end": 7953, "loc": { "start": { - "line": 357, + "line": 366, "column": 2 }, "end": { - "line": 357, + "line": 366, "column": 56 } }, "argument": { "type": "ConditionalExpression", - "start": 7733, - "end": 7778, + "start": 7906, + "end": 7951, "loc": { "start": { - "line": 357, + "line": 366, "column": 9 }, "end": { - "line": 357, + "line": 366, "column": 54 } }, "test": { "type": "CallExpression", - "start": 7733, - "end": 7746, + "start": 7906, + "end": 7919, "loc": { "start": { - "line": 357, + "line": 366, "column": 9 }, "end": { - "line": 357, + "line": 366, "column": 22 } }, "callee": { "type": "MemberExpression", - "start": 7733, - "end": 7744, + "start": 7906, + "end": 7917, "loc": { "start": { - "line": 357, + "line": 366, "column": 9 }, "end": { - "line": 357, + "line": 366, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 7733, - "end": 7737, + "start": 7906, + "end": 7910, "loc": { "start": { - "line": 357, + "line": 366, "column": 9 }, "end": { - "line": 357, + "line": 366, "column": 13 } } }, "property": { "type": "Identifier", - "start": 7738, - "end": 7744, + "start": 7911, + "end": 7917, "loc": { "start": { - "line": 357, + "line": 366, "column": 14 }, "end": { - "line": 357, + "line": 366, "column": 20 }, "identifierName": "iszero" @@ -22618,15 +23198,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 7749, - "end": 7750, + "start": 7922, + "end": 7923, "loc": { "start": { - "line": 357, + "line": 366, "column": 25 }, "end": { - "line": 357, + "line": 366, "column": 26 } }, @@ -22638,58 +23218,58 @@ }, "alternate": { "type": "ConditionalExpression", - "start": 7753, - "end": 7778, + "start": 7926, + "end": 7951, "loc": { "start": { - "line": 357, + "line": 366, "column": 29 }, "end": { - "line": 357, + "line": 366, "column": 54 } }, "test": { "type": "MemberExpression", - "start": 7753, - "end": 7769, + "start": 7926, + "end": 7942, "loc": { "start": { - "line": 357, + "line": 366, "column": 29 }, "end": { - "line": 357, + "line": 366, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 7753, - "end": 7757, + "start": 7926, + "end": 7930, "loc": { "start": { - "line": 357, + "line": 366, "column": 29 }, "end": { - "line": 357, + "line": 366, "column": 33 } } }, "property": { "type": "Identifier", - "start": 7758, - "end": 7769, + "start": 7931, + "end": 7942, "loc": { "start": { - "line": 357, + "line": 366, "column": 34 }, "end": { - "line": 357, + "line": 366, "column": 45 }, "identifierName": "is_negative" @@ -22700,15 +23280,15 @@ }, "consequent": { "type": "UnaryExpression", - "start": 7772, - "end": 7774, + "start": 7945, + "end": 7947, "loc": { "start": { - "line": 357, + "line": 366, "column": 48 }, "end": { - "line": 357, + "line": 366, "column": 50 } }, @@ -22716,15 +23296,15 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 7773, - "end": 7774, + "start": 7946, + "end": 7947, "loc": { "start": { - "line": 357, + "line": 366, "column": 49 }, "end": { - "line": 357, + "line": 366, "column": 50 } }, @@ -22740,15 +23320,15 @@ }, "alternate": { "type": "NumericLiteral", - "start": 7777, - "end": 7778, + "start": 7950, + "end": 7951, "loc": { "start": { - "line": 357, + "line": 366, "column": 53 }, "end": { - "line": 357, + "line": 366, "column": 54 } }, @@ -22767,15 +23347,15 @@ }, { "type": "ClassMethod", - "start": 7786, - "end": 7853, + "start": 7959, + "end": 8026, "loc": { "start": { - "line": 360, + "line": 369, "column": 1 }, "end": { - "line": 362, + "line": 371, "column": 2 } }, @@ -22783,15 +23363,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 7786, - "end": 7792, + "start": 7959, + "end": 7965, "loc": { "start": { - "line": 360, + "line": 369, "column": 1 }, "end": { - "line": 360, + "line": 369, "column": 7 }, "identifierName": "iszero" @@ -22806,58 +23386,58 @@ "params": [], "body": { "type": "BlockStatement", - "start": 7797, - "end": 7853, + "start": 7970, + "end": 8026, "loc": { "start": { - "line": 360, + "line": 369, "column": 12 }, "end": { - "line": 362, + "line": 371, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 7801, - "end": 7850, + "start": 7974, + "end": 8023, "loc": { "start": { - "line": 361, + "line": 370, "column": 2 }, "end": { - "line": 361, + "line": 370, "column": 51 } }, "argument": { "type": "CallExpression", - "start": 7808, - "end": 7848, + "start": 7981, + "end": 8021, "loc": { "start": { - "line": 361, + "line": 370, "column": 9 }, "end": { - "line": 361, + "line": 370, "column": 49 } }, "callee": { "type": "Identifier", - "start": 7808, - "end": 7810, + "start": 7981, + "end": 7983, "loc": { "start": { - "line": 361, + "line": 370, "column": 9 }, "end": { - "line": 361, + "line": 370, "column": 11 }, "identifierName": "jz" @@ -22867,44 +23447,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 7812, - "end": 7822, + "start": 7985, + "end": 7995, "loc": { "start": { - "line": 361, + "line": 370, "column": 13 }, "end": { - "line": 361, + "line": 370, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 7812, - "end": 7816, + "start": 7985, + "end": 7989, "loc": { "start": { - "line": 361, + "line": 370, "column": 13 }, "end": { - "line": 361, + "line": 370, "column": 17 } } }, "property": { "type": "Identifier", - "start": 7817, - "end": 7822, + "start": 7990, + "end": 7995, "loc": { "start": { - "line": 361, + "line": 370, "column": 18 }, "end": { - "line": 361, + "line": 370, "column": 23 }, "identifierName": "limbs" @@ -22915,15 +23495,15 @@ }, { "type": "NumericLiteral", - "start": 7825, - "end": 7826, + "start": 7998, + "end": 7999, "loc": { "start": { - "line": 361, + "line": 370, "column": 26 }, "end": { - "line": 361, + "line": 370, "column": 27 } }, @@ -22935,58 +23515,58 @@ }, { "type": "MemberExpression", - "start": 7829, - "end": 7846, + "start": 8002, + "end": 8019, "loc": { "start": { - "line": 361, + "line": 370, "column": 30 }, "end": { - "line": 361, + "line": 370, "column": 47 } }, "object": { "type": "MemberExpression", - "start": 7829, - "end": 7839, + "start": 8002, + "end": 8012, "loc": { "start": { - "line": 361, + "line": 370, "column": 30 }, "end": { - "line": 361, + "line": 370, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 7829, - "end": 7833, + "start": 8002, + "end": 8006, "loc": { "start": { - "line": 361, + "line": 370, "column": 30 }, "end": { - "line": 361, + "line": 370, "column": 34 } } }, "property": { "type": "Identifier", - "start": 7834, - "end": 7839, + "start": 8007, + "end": 8012, "loc": { "start": { - "line": 361, + "line": 370, "column": 35 }, "end": { - "line": 361, + "line": 370, "column": 40 }, "identifierName": "limbs" @@ -22997,15 +23577,15 @@ }, "property": { "type": "Identifier", - "start": 7840, - "end": 7846, + "start": 8013, + "end": 8019, "loc": { "start": { - "line": 361, + "line": 370, "column": 41 }, "end": { - "line": 361, + "line": 370, "column": 47 }, "identifierName": "length" @@ -23023,15 +23603,15 @@ }, { "type": "ClassMethod", - "start": 7856, - "end": 7979, + "start": 8029, + "end": 8152, "loc": { "start": { - "line": 364, + "line": 373, "column": 1 }, "end": { - "line": 367, + "line": 376, "column": 2 } }, @@ -23039,15 +23619,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 7856, - "end": 7861, + "start": 8029, + "end": 8034, "loc": { "start": { - "line": 364, + "line": 373, "column": 1 }, "end": { - "line": 364, + "line": 373, "column": 6 }, "identifierName": "isone" @@ -23062,73 +23642,73 @@ "params": [], "body": { "type": "BlockStatement", - "start": 7866, - "end": 7979, + "start": 8039, + "end": 8152, "loc": { "start": { - "line": 364, + "line": 373, "column": 11 }, "end": { - "line": 367, + "line": 376, "column": 2 } }, "body": [ { "type": "IfStatement", - "start": 7870, - "end": 7908, + "start": 8043, + "end": 8081, "loc": { "start": { - "line": 365, + "line": 374, "column": 2 }, "end": { - "line": 365, + "line": 374, "column": 40 } }, "test": { "type": "MemberExpression", - "start": 7875, - "end": 7891, + "start": 8048, + "end": 8064, "loc": { "start": { - "line": 365, + "line": 374, "column": 7 }, "end": { - "line": 365, + "line": 374, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 7875, - "end": 7879, + "start": 8048, + "end": 8052, "loc": { "start": { - "line": 365, + "line": 374, "column": 7 }, "end": { - "line": 365, + "line": 374, "column": 11 } } }, "property": { "type": "Identifier", - "start": 7880, - "end": 7891, + "start": 8053, + "end": 8064, "loc": { "start": { - "line": 365, + "line": 374, "column": 12 }, "end": { - "line": 365, + "line": 374, "column": 23 }, "identifierName": "is_negative" @@ -23139,29 +23719,29 @@ }, "consequent": { "type": "ReturnStatement", - "start": 7894, - "end": 7908, + "start": 8067, + "end": 8081, "loc": { "start": { - "line": 365, + "line": 374, "column": 26 }, "end": { - "line": 365, + "line": 374, "column": 40 } }, "argument": { "type": "BooleanLiteral", - "start": 7901, - "end": 7906, + "start": 8074, + "end": 8079, "loc": { "start": { - "line": 365, + "line": 374, "column": 33 }, "end": { - "line": 365, + "line": 374, "column": 38 } }, @@ -23172,43 +23752,43 @@ }, { "type": "ReturnStatement", - "start": 7911, - "end": 7976, + "start": 8084, + "end": 8149, "loc": { "start": { - "line": 366, + "line": 375, "column": 2 }, "end": { - "line": 366, + "line": 375, "column": 67 } }, "argument": { "type": "CallExpression", - "start": 7918, - "end": 7974, + "start": 8091, + "end": 8147, "loc": { "start": { - "line": 366, + "line": 375, "column": 9 }, "end": { - "line": 366, + "line": 375, "column": 65 } }, "callee": { "type": "Identifier", - "start": 7918, - "end": 7920, + "start": 8091, + "end": 8093, "loc": { "start": { - "line": 366, + "line": 375, "column": 9 }, "end": { - "line": 366, + "line": 375, "column": 11 }, "identifierName": "eq" @@ -23218,44 +23798,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 7922, - "end": 7932, + "start": 8095, + "end": 8105, "loc": { "start": { - "line": 366, + "line": 375, "column": 13 }, "end": { - "line": 366, + "line": 375, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 7922, - "end": 7926, + "start": 8095, + "end": 8099, "loc": { "start": { - "line": 366, + "line": 375, "column": 13 }, "end": { - "line": 366, + "line": 375, "column": 17 } } }, "property": { "type": "Identifier", - "start": 7927, - "end": 7932, + "start": 8100, + "end": 8105, "loc": { "start": { - "line": 366, + "line": 375, "column": 18 }, "end": { - "line": 366, + "line": 375, "column": 23 }, "identifierName": "limbs" @@ -23266,15 +23846,15 @@ }, { "type": "NumericLiteral", - "start": 7935, - "end": 7936, + "start": 8108, + "end": 8109, "loc": { "start": { - "line": 366, + "line": 375, "column": 26 }, "end": { - "line": 366, + "line": 375, "column": 27 } }, @@ -23286,58 +23866,58 @@ }, { "type": "MemberExpression", - "start": 7939, - "end": 7956, + "start": 8112, + "end": 8129, "loc": { "start": { - "line": 366, + "line": 375, "column": 30 }, "end": { - "line": 366, + "line": 375, "column": 47 } }, "object": { "type": "MemberExpression", - "start": 7939, - "end": 7949, + "start": 8112, + "end": 8122, "loc": { "start": { - "line": 366, + "line": 375, "column": 30 }, "end": { - "line": 366, + "line": 375, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 7939, - "end": 7943, + "start": 8112, + "end": 8116, "loc": { "start": { - "line": 366, + "line": 375, "column": 30 }, "end": { - "line": 366, + "line": 375, "column": 34 } } }, "property": { "type": "Identifier", - "start": 7944, - "end": 7949, + "start": 8117, + "end": 8122, "loc": { "start": { - "line": 366, + "line": 375, "column": 35 }, "end": { - "line": 366, + "line": 375, "column": 40 }, "identifierName": "limbs" @@ -23348,15 +23928,15 @@ }, "property": { "type": "Identifier", - "start": 7950, - "end": 7956, + "start": 8123, + "end": 8129, "loc": { "start": { - "line": 366, + "line": 375, "column": 41 }, "end": { - "line": 366, + "line": 375, "column": 47 }, "identifierName": "length" @@ -23367,30 +23947,30 @@ }, { "type": "ArrayExpression", - "start": 7959, - "end": 7964, + "start": 8132, + "end": 8137, "loc": { "start": { - "line": 366, + "line": 375, "column": 50 }, "end": { - "line": 366, + "line": 375, "column": 55 } }, "elements": [ { "type": "NumericLiteral", - "start": 7961, - "end": 7962, + "start": 8134, + "end": 8135, "loc": { "start": { - "line": 366, + "line": 375, "column": 52 }, "end": { - "line": 366, + "line": 375, "column": 53 } }, @@ -23404,15 +23984,15 @@ }, { "type": "NumericLiteral", - "start": 7967, - "end": 7968, + "start": 8140, + "end": 8141, "loc": { "start": { - "line": 366, + "line": 375, "column": 58 }, "end": { - "line": 366, + "line": 375, "column": 59 } }, @@ -23424,15 +24004,15 @@ }, { "type": "NumericLiteral", - "start": 7971, - "end": 7972, + "start": 8144, + "end": 8145, "loc": { "start": { - "line": 366, + "line": 375, "column": 62 }, "end": { - "line": 366, + "line": 375, "column": 63 } }, @@ -23451,15 +24031,15 @@ }, { "type": "ClassMethod", - "start": 7982, - "end": 8025, + "start": 8155, + "end": 8198, "loc": { "start": { - "line": 369, + "line": 378, "column": 1 }, "end": { - "line": 371, + "line": 380, "column": 2 } }, @@ -23467,15 +24047,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 7982, - "end": 7991, + "start": 8155, + "end": 8164, "loc": { "start": { - "line": 369, + "line": 378, "column": 1 }, "end": { - "line": 369, + "line": 378, "column": 10 }, "identifierName": "isnonzero" @@ -23490,44 +24070,44 @@ "params": [], "body": { "type": "BlockStatement", - "start": 7996, - "end": 8025, + "start": 8169, + "end": 8198, "loc": { "start": { - "line": 369, + "line": 378, "column": 15 }, "end": { - "line": 371, + "line": 380, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 8000, - "end": 8022, + "start": 8173, + "end": 8195, "loc": { "start": { - "line": 370, + "line": 379, "column": 2 }, "end": { - "line": 370, + "line": 379, "column": 24 } }, "argument": { "type": "UnaryExpression", - "start": 8007, - "end": 8021, + "start": 8180, + "end": 8194, "loc": { "start": { - "line": 370, + "line": 379, "column": 9 }, "end": { - "line": 370, + "line": 379, "column": 23 } }, @@ -23535,58 +24115,58 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 8008, - "end": 8021, + "start": 8181, + "end": 8194, "loc": { "start": { - "line": 370, + "line": 379, "column": 10 }, "end": { - "line": 370, + "line": 379, "column": 23 } }, "callee": { "type": "MemberExpression", - "start": 8008, - "end": 8019, + "start": 8181, + "end": 8192, "loc": { "start": { - "line": 370, + "line": 379, "column": 10 }, "end": { - "line": 370, + "line": 379, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 8008, - "end": 8012, + "start": 8181, + "end": 8185, "loc": { "start": { - "line": 370, + "line": 379, "column": 10 }, "end": { - "line": 370, + "line": 379, "column": 14 } } }, "property": { "type": "Identifier", - "start": 8013, - "end": 8019, + "start": 8186, + "end": 8192, "loc": { "start": { - "line": 370, + "line": 379, "column": 15 }, "end": { - "line": 370, + "line": 379, "column": 21 }, "identifierName": "iszero" @@ -23608,15 +24188,15 @@ }, { "type": "ClassMethod", - "start": 8028, - "end": 8097, + "start": 8201, + "end": 8270, "loc": { "start": { - "line": 373, + "line": 382, "column": 1 }, "end": { - "line": 375, + "line": 384, "column": 2 } }, @@ -23624,15 +24204,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8028, - "end": 8038, + "start": 8201, + "end": 8211, "loc": { "start": { - "line": 373, + "line": 382, "column": 1 }, "end": { - "line": 373, + "line": 382, "column": 11 }, "identifierName": "isnegative" @@ -23647,101 +24227,101 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8043, - "end": 8097, + "start": 8216, + "end": 8270, "loc": { "start": { - "line": 373, + "line": 382, "column": 16 }, "end": { - "line": 375, + "line": 384, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 8047, - "end": 8094, + "start": 8220, + "end": 8267, "loc": { "start": { - "line": 374, + "line": 383, "column": 2 }, "end": { - "line": 374, + "line": 383, "column": 49 } }, "argument": { "type": "ConditionalExpression", - "start": 8054, - "end": 8092, + "start": 8227, + "end": 8265, "loc": { "start": { - "line": 374, + "line": 383, "column": 9 }, "end": { - "line": 374, + "line": 383, "column": 47 } }, "test": { "type": "BinaryExpression", - "start": 8054, - "end": 8077, + "start": 8227, + "end": 8250, "loc": { "start": { - "line": 374, + "line": 383, "column": 9 }, "end": { - "line": 374, + "line": 383, "column": 32 } }, "left": { "type": "MemberExpression", - "start": 8054, - "end": 8070, + "start": 8227, + "end": 8243, "loc": { "start": { - "line": 374, + "line": 383, "column": 9 }, "end": { - "line": 374, + "line": 383, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 8054, - "end": 8058, + "start": 8227, + "end": 8231, "loc": { "start": { - "line": 374, + "line": 383, "column": 9 }, "end": { - "line": 374, + "line": 383, "column": 13 } } }, "property": { "type": "Identifier", - "start": 8059, - "end": 8070, + "start": 8232, + "end": 8243, "loc": { "start": { - "line": 374, + "line": 383, "column": 14 }, "end": { - "line": 374, + "line": 383, "column": 25 }, "identifierName": "is_negative" @@ -23753,15 +24333,15 @@ "operator": "===", "right": { "type": "UnaryExpression", - "start": 8075, - "end": 8077, + "start": 8248, + "end": 8250, "loc": { "start": { - "line": 374, + "line": 383, "column": 30 }, "end": { - "line": 374, + "line": 383, "column": 32 } }, @@ -23769,15 +24349,15 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 8076, - "end": 8077, + "start": 8249, + "end": 8250, "loc": { "start": { - "line": 374, + "line": 383, "column": 31 }, "end": { - "line": 374, + "line": 383, "column": 32 } }, @@ -23794,15 +24374,15 @@ }, "consequent": { "type": "BooleanLiteral", - "start": 8080, - "end": 8084, + "start": 8253, + "end": 8257, "loc": { "start": { - "line": 374, + "line": 383, "column": 35 }, "end": { - "line": 374, + "line": 383, "column": 39 } }, @@ -23810,15 +24390,15 @@ }, "alternate": { "type": "BooleanLiteral", - "start": 8087, - "end": 8092, + "start": 8260, + "end": 8265, "loc": { "start": { - "line": 374, + "line": 383, "column": 42 }, "end": { - "line": 374, + "line": 383, "column": 47 } }, @@ -23832,15 +24412,15 @@ }, { "type": "ClassMethod", - "start": 8100, - "end": 8146, + "start": 8273, + "end": 8319, "loc": { "start": { - "line": 377, + "line": 386, "column": 1 }, "end": { - "line": 379, + "line": 388, "column": 2 } }, @@ -23848,15 +24428,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8100, - "end": 8110, + "start": 8273, + "end": 8283, "loc": { "start": { - "line": 377, + "line": 386, "column": 1 }, "end": { - "line": 377, + "line": 386, "column": 11 }, "identifierName": "ispositive" @@ -23871,101 +24451,101 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8115, - "end": 8146, + "start": 8288, + "end": 8319, "loc": { "start": { - "line": 377, + "line": 386, "column": 16 }, "end": { - "line": 379, + "line": 388, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 8119, - "end": 8143, + "start": 8292, + "end": 8316, "loc": { "start": { - "line": 378, + "line": 387, "column": 2 }, "end": { - "line": 378, + "line": 387, "column": 26 } }, "argument": { "type": "BinaryExpression", - "start": 8126, - "end": 8141, + "start": 8299, + "end": 8314, "loc": { "start": { - "line": 378, + "line": 387, "column": 9 }, "end": { - "line": 378, + "line": 387, "column": 24 } }, "left": { "type": "CallExpression", - "start": 8126, - "end": 8137, + "start": 8299, + "end": 8310, "loc": { "start": { - "line": 378, + "line": 387, "column": 9 }, "end": { - "line": 378, + "line": 387, "column": 20 } }, "callee": { "type": "MemberExpression", - "start": 8126, - "end": 8135, + "start": 8299, + "end": 8308, "loc": { "start": { - "line": 378, + "line": 387, "column": 9 }, "end": { - "line": 378, + "line": 387, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 8126, - "end": 8130, + "start": 8299, + "end": 8303, "loc": { "start": { - "line": 378, + "line": 387, "column": 9 }, "end": { - "line": 378, + "line": 387, "column": 13 } } }, "property": { "type": "Identifier", - "start": 8131, - "end": 8135, + "start": 8304, + "end": 8308, "loc": { "start": { - "line": 378, + "line": 387, "column": 14 }, "end": { - "line": 378, + "line": 387, "column": 18 }, "identifierName": "sign" @@ -23979,15 +24559,15 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 8140, - "end": 8141, + "start": 8313, + "end": 8314, "loc": { "start": { - "line": 378, + "line": 387, "column": 23 }, "end": { - "line": 378, + "line": 387, "column": 24 } }, @@ -24005,15 +24585,15 @@ }, { "type": "ClassMethod", - "start": 8149, - "end": 8200, + "start": 8322, + "end": 8373, "loc": { "start": { - "line": 381, + "line": 390, "column": 1 }, "end": { - "line": 383, + "line": 392, "column": 2 } }, @@ -24021,15 +24601,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8149, - "end": 8162, + "start": 8322, + "end": 8335, "loc": { "start": { - "line": 381, + "line": 390, "column": 1 }, "end": { - "line": 381, + "line": 390, "column": 14 }, "identifierName": "isnonnegative" @@ -24044,44 +24624,44 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8167, - "end": 8200, + "start": 8340, + "end": 8373, "loc": { "start": { - "line": 381, + "line": 390, "column": 19 }, "end": { - "line": 383, + "line": 392, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 8171, - "end": 8197, + "start": 8344, + "end": 8370, "loc": { "start": { - "line": 382, + "line": 391, "column": 2 }, "end": { - "line": 382, + "line": 391, "column": 28 } }, "argument": { "type": "UnaryExpression", - "start": 8178, - "end": 8196, + "start": 8351, + "end": 8369, "loc": { "start": { - "line": 382, + "line": 391, "column": 9 }, "end": { - "line": 382, + "line": 391, "column": 27 } }, @@ -24089,58 +24669,58 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 8179, - "end": 8196, + "start": 8352, + "end": 8369, "loc": { "start": { - "line": 382, + "line": 391, "column": 10 }, "end": { - "line": 382, + "line": 391, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 8179, - "end": 8194, + "start": 8352, + "end": 8367, "loc": { "start": { - "line": 382, + "line": 391, "column": 10 }, "end": { - "line": 382, + "line": 391, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 8179, - "end": 8183, + "start": 8352, + "end": 8356, "loc": { "start": { - "line": 382, + "line": 391, "column": 10 }, "end": { - "line": 382, + "line": 391, "column": 14 } } }, "property": { "type": "Identifier", - "start": 8184, - "end": 8194, + "start": 8357, + "end": 8367, "loc": { "start": { - "line": 382, + "line": 391, "column": 15 }, "end": { - "line": 382, + "line": 391, "column": 25 }, "identifierName": "isnegative" @@ -24162,15 +24742,15 @@ }, { "type": "ClassMethod", - "start": 8203, - "end": 8255, + "start": 8376, + "end": 8428, "loc": { "start": { - "line": 385, + "line": 394, "column": 1 }, "end": { - "line": 387, + "line": 396, "column": 2 } }, @@ -24178,15 +24758,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8203, - "end": 8216, + "start": 8376, + "end": 8389, "loc": { "start": { - "line": 385, + "line": 394, "column": 1 }, "end": { - "line": 385, + "line": 394, "column": 14 }, "identifierName": "isnonpositive" @@ -24201,44 +24781,44 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8221, - "end": 8255, + "start": 8394, + "end": 8428, "loc": { "start": { - "line": 385, + "line": 394, "column": 19 }, "end": { - "line": 387, + "line": 396, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 8225, - "end": 8252, + "start": 8398, + "end": 8425, "loc": { "start": { - "line": 386, + "line": 395, "column": 2 }, "end": { - "line": 386, + "line": 395, "column": 29 } }, "argument": { "type": "UnaryExpression", - "start": 8232, - "end": 8250, + "start": 8405, + "end": 8423, "loc": { "start": { - "line": 386, + "line": 395, "column": 9 }, "end": { - "line": 386, + "line": 395, "column": 27 } }, @@ -24246,58 +24826,58 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 8233, - "end": 8250, + "start": 8406, + "end": 8423, "loc": { "start": { - "line": 386, + "line": 395, "column": 10 }, "end": { - "line": 386, + "line": 395, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 8233, - "end": 8248, + "start": 8406, + "end": 8421, "loc": { "start": { - "line": 386, + "line": 395, "column": 10 }, "end": { - "line": 386, + "line": 395, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 8233, - "end": 8237, + "start": 8406, + "end": 8410, "loc": { "start": { - "line": 386, + "line": 395, "column": 10 }, "end": { - "line": 386, + "line": 395, "column": 14 } } }, "property": { "type": "Identifier", - "start": 8238, - "end": 8248, + "start": 8411, + "end": 8421, "loc": { "start": { - "line": 386, + "line": 395, "column": 15 }, "end": { - "line": 386, + "line": 395, "column": 25 }, "identifierName": "ispositive" @@ -24319,15 +24899,15 @@ }, { "type": "ClassMethod", - "start": 8258, - "end": 8408, + "start": 8431, + "end": 8581, "loc": { "start": { - "line": 389, + "line": 398, "column": 1 }, "end": { - "line": 393, + "line": 402, "column": 2 } }, @@ -24335,15 +24915,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8258, - "end": 8264, + "start": 8431, + "end": 8437, "loc": { "start": { - "line": 389, + "line": 398, "column": 1 }, "end": { - "line": 389, + "line": 398, "column": 7 }, "identifierName": "parity" @@ -24358,72 +24938,72 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8269, - "end": 8408, + "start": 8442, + "end": 8581, "loc": { "start": { - "line": 389, + "line": 398, "column": 12 }, "end": { - "line": 393, + "line": 402, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 8384, - "end": 8405, + "start": 8557, + "end": 8578, "loc": { "start": { - "line": 392, + "line": 401, "column": 2 }, "end": { - "line": 392, + "line": 401, "column": 23 } }, "argument": { "type": "CallExpression", - "start": 8391, - "end": 8403, + "start": 8564, + "end": 8576, "loc": { "start": { - "line": 392, + "line": 401, "column": 9 }, "end": { - "line": 392, + "line": 401, "column": 21 } }, "callee": { "type": "MemberExpression", - "start": 8391, - "end": 8400, + "start": 8564, + "end": 8573, "loc": { "start": { - "line": 392, + "line": 401, "column": 9 }, "end": { - "line": 392, + "line": 401, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 8391, - "end": 8395, + "start": 8564, + "end": 8568, "loc": { "start": { - "line": 392, + "line": 401, "column": 9 }, "end": { - "line": 392, + "line": 401, "column": 13 } }, @@ -24431,15 +25011,15 @@ }, "property": { "type": "Identifier", - "start": 8396, - "end": 8400, + "start": 8569, + "end": 8573, "loc": { "start": { - "line": 392, + "line": 401, "column": 14 }, "end": { - "line": 392, + "line": 401, "column": 18 }, "identifierName": "modn" @@ -24452,15 +25032,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 8401, - "end": 8402, + "start": 8574, + "end": 8575, "loc": { "start": { - "line": 392, + "line": 401, "column": 19 }, "end": { - "line": 392, + "line": 401, "column": 20 } }, @@ -24477,15 +25057,15 @@ { "type": "CommentLine", "value": " TODO optimize this, there is a much faster way to test for parity", - "start": 8273, - "end": 8341, + "start": 8446, + "end": 8514, "loc": { "start": { - "line": 390, + "line": 399, "column": 2 }, "end": { - "line": 390, + "line": 399, "column": 70 } } @@ -24493,15 +25073,15 @@ { "type": "CommentLine", "value": " when the base is a multiple of two", - "start": 8344, - "end": 8381, + "start": 8517, + "end": 8554, "loc": { "start": { - "line": 391, + "line": 400, "column": 2 }, "end": { - "line": 391, + "line": 400, "column": 39 } } @@ -24514,15 +25094,15 @@ }, { "type": "ClassMethod", - "start": 8411, - "end": 8460, + "start": 8584, + "end": 8633, "loc": { "start": { - "line": 395, + "line": 404, "column": 1 }, "end": { - "line": 397, + "line": 406, "column": 2 } }, @@ -24530,15 +25110,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8411, - "end": 8417, + "start": 8584, + "end": 8590, "loc": { "start": { - "line": 395, + "line": 404, "column": 1 }, "end": { - "line": 395, + "line": 404, "column": 7 }, "identifierName": "iseven" @@ -24553,115 +25133,115 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8422, - "end": 8460, + "start": 8595, + "end": 8633, "loc": { "start": { - "line": 395, + "line": 404, "column": 12 }, "end": { - "line": 397, + "line": 406, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 8426, - "end": 8457, + "start": 8599, + "end": 8630, "loc": { "start": { - "line": 396, + "line": 405, "column": 2 }, "end": { - "line": 396, + "line": 405, "column": 33 } }, "argument": { "type": "CallExpression", - "start": 8433, - "end": 8455, + "start": 8606, + "end": 8628, "loc": { "start": { - "line": 396, + "line": 405, "column": 9 }, "end": { - "line": 396, + "line": 405, "column": 31 } }, "callee": { "type": "MemberExpression", - "start": 8433, - "end": 8453, + "start": 8606, + "end": 8626, "loc": { "start": { - "line": 396, + "line": 405, "column": 9 }, "end": { - "line": 396, + "line": 405, "column": 29 } }, "object": { "type": "CallExpression", - "start": 8433, - "end": 8446, + "start": 8606, + "end": 8619, "loc": { "start": { - "line": 396, + "line": 405, "column": 9 }, "end": { - "line": 396, + "line": 405, "column": 22 } }, "callee": { "type": "MemberExpression", - "start": 8433, - "end": 8444, + "start": 8606, + "end": 8617, "loc": { "start": { - "line": 396, + "line": 405, "column": 9 }, "end": { - "line": 396, + "line": 405, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 8433, - "end": 8437, + "start": 8606, + "end": 8610, "loc": { "start": { - "line": 396, + "line": 405, "column": 9 }, "end": { - "line": 396, + "line": 405, "column": 13 } } }, "property": { "type": "Identifier", - "start": 8438, - "end": 8444, + "start": 8611, + "end": 8617, "loc": { "start": { - "line": 396, + "line": 405, "column": 14 }, "end": { - "line": 396, + "line": 405, "column": 20 }, "identifierName": "parity" @@ -24674,15 +25254,15 @@ }, "property": { "type": "Identifier", - "start": 8447, - "end": 8453, + "start": 8620, + "end": 8626, "loc": { "start": { - "line": 396, + "line": 405, "column": 23 }, "end": { - "line": 396, + "line": 405, "column": 29 }, "identifierName": "iszero" @@ -24700,15 +25280,15 @@ }, { "type": "ClassMethod", - "start": 8463, - "end": 8503, + "start": 8636, + "end": 8676, "loc": { "start": { - "line": 399, + "line": 408, "column": 1 }, "end": { - "line": 401, + "line": 410, "column": 2 } }, @@ -24716,15 +25296,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8463, - "end": 8468, + "start": 8636, + "end": 8641, "loc": { "start": { - "line": 399, + "line": 408, "column": 1 }, "end": { - "line": 399, + "line": 408, "column": 6 }, "identifierName": "isodd" @@ -24739,44 +25319,44 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8473, - "end": 8503, + "start": 8646, + "end": 8676, "loc": { "start": { - "line": 399, + "line": 408, "column": 11 }, "end": { - "line": 401, + "line": 410, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 8477, - "end": 8500, + "start": 8650, + "end": 8673, "loc": { "start": { - "line": 400, + "line": 409, "column": 2 }, "end": { - "line": 400, + "line": 409, "column": 25 } }, "argument": { "type": "UnaryExpression", - "start": 8484, - "end": 8498, + "start": 8657, + "end": 8671, "loc": { "start": { - "line": 400, + "line": 409, "column": 9 }, "end": { - "line": 400, + "line": 409, "column": 23 } }, @@ -24784,58 +25364,58 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 8485, - "end": 8498, + "start": 8658, + "end": 8671, "loc": { "start": { - "line": 400, + "line": 409, "column": 10 }, "end": { - "line": 400, + "line": 409, "column": 23 } }, "callee": { "type": "MemberExpression", - "start": 8485, - "end": 8496, + "start": 8658, + "end": 8669, "loc": { "start": { - "line": 400, + "line": 409, "column": 10 }, "end": { - "line": 400, + "line": 409, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 8485, - "end": 8489, + "start": 8658, + "end": 8662, "loc": { "start": { - "line": 400, + "line": 409, "column": 10 }, "end": { - "line": 400, + "line": 409, "column": 14 } } }, "property": { "type": "Identifier", - "start": 8490, - "end": 8496, + "start": 8663, + "end": 8669, "loc": { "start": { - "line": 400, + "line": 409, "column": 15 }, "end": { - "line": 400, + "line": 409, "column": 21 }, "identifierName": "iseven" @@ -24857,15 +25437,15 @@ }, { "type": "ClassMethod", - "start": 8506, - "end": 8548, + "start": 8679, + "end": 8721, "loc": { "start": { - "line": 403, + "line": 412, "column": 1 }, "end": { - "line": 405, + "line": 414, "column": 2 } }, @@ -24873,15 +25453,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8506, - "end": 8509, + "start": 8679, + "end": 8682, "loc": { "start": { - "line": 403, + "line": 412, "column": 1 }, "end": { - "line": 403, + "line": 412, "column": 4 }, "identifierName": "bin" @@ -24896,87 +25476,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8514, - "end": 8548, + "start": 8687, + "end": 8721, "loc": { "start": { - "line": 403, + "line": 412, "column": 9 }, "end": { - "line": 405, + "line": 414, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 8518, - "end": 8545, + "start": 8691, + "end": 8718, "loc": { "start": { - "line": 404, + "line": 413, "column": 2 }, "end": { - "line": 404, + "line": 413, "column": 29 } }, "argument": { "type": "CallExpression", - "start": 8525, - "end": 8543, + "start": 8698, + "end": 8716, "loc": { "start": { - "line": 404, + "line": 413, "column": 9 }, "end": { - "line": 404, + "line": 413, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 8525, - "end": 8538, + "start": 8698, + "end": 8711, "loc": { "start": { - "line": 404, + "line": 413, "column": 9 }, "end": { - "line": 404, + "line": 413, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 8525, - "end": 8529, + "start": 8698, + "end": 8702, "loc": { "start": { - "line": 404, + "line": 413, "column": 9 }, "end": { - "line": 404, + "line": 413, "column": 13 } } }, "property": { "type": "Identifier", - "start": 8530, - "end": 8538, + "start": 8703, + "end": 8711, "loc": { "start": { - "line": 404, + "line": 413, "column": 14 }, "end": { - "line": 404, + "line": 413, "column": 22 }, "identifierName": "toString" @@ -24988,15 +25568,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 8540, - "end": 8541, + "start": 8713, + "end": 8714, "loc": { "start": { - "line": 404, + "line": 413, "column": 24 }, "end": { - "line": 404, + "line": 413, "column": 25 } }, @@ -25015,15 +25595,15 @@ }, { "type": "ClassMethod", - "start": 8551, - "end": 8593, + "start": 8724, + "end": 8766, "loc": { "start": { - "line": 407, + "line": 416, "column": 1 }, "end": { - "line": 409, + "line": 418, "column": 2 } }, @@ -25031,15 +25611,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8551, - "end": 8554, + "start": 8724, + "end": 8727, "loc": { "start": { - "line": 407, + "line": 416, "column": 1 }, "end": { - "line": 407, + "line": 416, "column": 4 }, "identifierName": "oct" @@ -25054,87 +25634,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8559, - "end": 8593, + "start": 8732, + "end": 8766, "loc": { "start": { - "line": 407, + "line": 416, "column": 9 }, "end": { - "line": 409, + "line": 418, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 8563, - "end": 8590, + "start": 8736, + "end": 8763, "loc": { "start": { - "line": 408, + "line": 417, "column": 2 }, "end": { - "line": 408, + "line": 417, "column": 29 } }, "argument": { "type": "CallExpression", - "start": 8570, - "end": 8588, + "start": 8743, + "end": 8761, "loc": { "start": { - "line": 408, + "line": 417, "column": 9 }, "end": { - "line": 408, + "line": 417, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 8570, - "end": 8583, + "start": 8743, + "end": 8756, "loc": { "start": { - "line": 408, + "line": 417, "column": 9 }, "end": { - "line": 408, + "line": 417, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 8570, - "end": 8574, + "start": 8743, + "end": 8747, "loc": { "start": { - "line": 408, + "line": 417, "column": 9 }, "end": { - "line": 408, + "line": 417, "column": 13 } } }, "property": { "type": "Identifier", - "start": 8575, - "end": 8583, + "start": 8748, + "end": 8756, "loc": { "start": { - "line": 408, + "line": 417, "column": 14 }, "end": { - "line": 408, + "line": 417, "column": 22 }, "identifierName": "toString" @@ -25146,15 +25726,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 8585, - "end": 8586, + "start": 8758, + "end": 8759, "loc": { "start": { - "line": 408, + "line": 417, "column": 24 }, "end": { - "line": 408, + "line": 417, "column": 25 } }, @@ -25173,15 +25753,15 @@ }, { "type": "ClassMethod", - "start": 8596, - "end": 8639, + "start": 8769, + "end": 8812, "loc": { "start": { - "line": 411, + "line": 420, "column": 1 }, "end": { - "line": 413, + "line": 422, "column": 2 } }, @@ -25189,15 +25769,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8596, - "end": 8599, + "start": 8769, + "end": 8772, "loc": { "start": { - "line": 411, + "line": 420, "column": 1 }, "end": { - "line": 411, + "line": 420, "column": 4 }, "identifierName": "hex" @@ -25212,87 +25792,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8604, - "end": 8639, + "start": 8777, + "end": 8812, "loc": { "start": { - "line": 411, + "line": 420, "column": 9 }, "end": { - "line": 413, + "line": 422, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 8608, - "end": 8636, + "start": 8781, + "end": 8809, "loc": { "start": { - "line": 412, + "line": 421, "column": 2 }, "end": { - "line": 412, + "line": 421, "column": 30 } }, "argument": { "type": "CallExpression", - "start": 8615, - "end": 8634, + "start": 8788, + "end": 8807, "loc": { "start": { - "line": 412, + "line": 421, "column": 9 }, "end": { - "line": 412, + "line": 421, "column": 28 } }, "callee": { "type": "MemberExpression", - "start": 8615, - "end": 8628, + "start": 8788, + "end": 8801, "loc": { "start": { - "line": 412, + "line": 421, "column": 9 }, "end": { - "line": 412, + "line": 421, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 8615, - "end": 8619, + "start": 8788, + "end": 8792, "loc": { "start": { - "line": 412, + "line": 421, "column": 9 }, "end": { - "line": 412, + "line": 421, "column": 13 } } }, "property": { "type": "Identifier", - "start": 8620, - "end": 8628, + "start": 8793, + "end": 8801, "loc": { "start": { - "line": 412, + "line": 421, "column": 14 }, "end": { - "line": 412, + "line": 421, "column": 22 }, "identifierName": "toString" @@ -25304,15 +25884,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 8630, - "end": 8632, + "start": 8803, + "end": 8805, "loc": { "start": { - "line": 412, + "line": 421, "column": 24 }, "end": { - "line": 412, + "line": 421, "column": 26 } }, @@ -25331,15 +25911,15 @@ }, { "type": "ClassMethod", - "start": 8642, - "end": 8680, + "start": 8815, + "end": 8853, "loc": { "start": { - "line": 415, + "line": 424, "column": 1 }, "end": { - "line": 417, + "line": 426, "column": 2 } }, @@ -25347,15 +25927,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8642, - "end": 8648, + "start": 8815, + "end": 8821, "loc": { "start": { - "line": 415, + "line": 424, "column": 1 }, "end": { - "line": 415, + "line": 424, "column": 7 }, "identifierName": "toJSON" @@ -25370,87 +25950,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8653, - "end": 8680, + "start": 8826, + "end": 8853, "loc": { "start": { - "line": 415, + "line": 424, "column": 12 }, "end": { - "line": 417, + "line": 426, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 8657, - "end": 8677, + "start": 8830, + "end": 8850, "loc": { "start": { - "line": 416, + "line": 425, "column": 2 }, "end": { - "line": 416, + "line": 425, "column": 22 } }, "argument": { "type": "CallExpression", - "start": 8664, - "end": 8675, + "start": 8837, + "end": 8848, "loc": { "start": { - "line": 416, + "line": 425, "column": 9 }, "end": { - "line": 416, + "line": 425, "column": 20 } }, "callee": { "type": "MemberExpression", - "start": 8664, - "end": 8672, + "start": 8837, + "end": 8845, "loc": { "start": { - "line": 416, + "line": 425, "column": 9 }, "end": { - "line": 416, + "line": 425, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 8664, - "end": 8668, + "start": 8837, + "end": 8841, "loc": { "start": { - "line": 416, + "line": 425, "column": 9 }, "end": { - "line": 416, + "line": 425, "column": 13 } } }, "property": { "type": "Identifier", - "start": 8669, - "end": 8672, + "start": 8842, + "end": 8845, "loc": { "start": { - "line": 416, + "line": 425, "column": 14 }, "end": { - "line": 416, + "line": 425, "column": 17 }, "identifierName": "hex" @@ -25468,15 +26048,15 @@ }, { "type": "ClassMethod", - "start": 8683, - "end": 8920, + "start": 8856, + "end": 9093, "loc": { "start": { - "line": 419, + "line": 428, "column": 1 }, "end": { - "line": 423, + "line": 432, "column": 2 } }, @@ -25484,15 +26064,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8683, - "end": 8689, + "start": 8856, + "end": 8862, "loc": { "start": { - "line": 419, + "line": 428, "column": 1 }, "end": { - "line": 419, + "line": 428, "column": 7 }, "identifierName": "digits" @@ -25507,29 +26087,29 @@ "params": [ { "type": "AssignmentPattern", - "start": 8692, - "end": 8719, + "start": 8865, + "end": 8892, "loc": { "start": { - "line": 419, + "line": 428, "column": 10 }, "end": { - "line": 419, + "line": 428, "column": 37 } }, "left": { "type": "Identifier", - "start": 8692, - "end": 8696, + "start": 8865, + "end": 8869, "loc": { "start": { - "line": 419, + "line": 428, "column": 10 }, "end": { - "line": 419, + "line": 428, "column": 14 }, "identifierName": "base" @@ -25538,15 +26118,15 @@ }, "right": { "type": "Identifier", - "start": 8699, - "end": 8719, + "start": 8872, + "end": 8892, "loc": { "start": { - "line": 419, + "line": 428, "column": 17 }, "end": { - "line": 419, + "line": 428, "column": 37 }, "identifierName": "DEFAULT_DISPLAY_BASE" @@ -25557,86 +26137,86 @@ ], "body": { "type": "BlockStatement", - "start": 8722, - "end": 8920, + "start": 8895, + "end": 9093, "loc": { "start": { - "line": 419, + "line": 428, "column": 40 }, "end": { - "line": 423, + "line": 432, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 8833, - "end": 8917, + "start": 9006, + "end": 9090, "loc": { "start": { - "line": 422, + "line": 431, "column": 2 }, "end": { - "line": 422, + "line": 431, "column": 86 } }, "argument": { "type": "CallExpression", - "start": 8840, - "end": 8915, + "start": 9013, + "end": 9088, "loc": { "start": { - "line": 422, + "line": 431, "column": 9 }, "end": { - "line": 422, + "line": 431, "column": 84 } }, "callee": { "type": "MemberExpression", - "start": 8840, - "end": 8912, + "start": 9013, + "end": 9085, "loc": { "start": { - "line": 422, + "line": 431, "column": 9 }, "end": { - "line": 422, + "line": 431, "column": 81 } }, "object": { "type": "CallExpression", - "start": 8840, - "end": 8904, + "start": 9013, + "end": 9077, "loc": { "start": { - "line": 422, + "line": 431, "column": 9 }, "end": { - "line": 422, + "line": 431, "column": 73 } }, "callee": { "type": "Identifier", - "start": 8840, - "end": 8847, + "start": 9013, + "end": 9020, "loc": { "start": { - "line": 422, + "line": 431, "column": 9 }, "end": { - "line": 422, + "line": 431, "column": 16 }, "identifierName": "convert" @@ -25647,44 +26227,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 8849, - "end": 8858, + "start": 9022, + "end": 9031, "loc": { "start": { - "line": 422, + "line": 431, "column": 18 }, "end": { - "line": 422, + "line": 431, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 8849, - "end": 8853, + "start": 9022, + "end": 9026, "loc": { "start": { - "line": 422, + "line": 431, "column": 18 }, "end": { - "line": 422, + "line": 431, "column": 22 } } }, "property": { "type": "Identifier", - "start": 8854, - "end": 8858, + "start": 9027, + "end": 9031, "loc": { "start": { - "line": 422, + "line": 431, "column": 23 }, "end": { - "line": 422, + "line": 431, "column": 27 }, "identifierName": "base" @@ -25695,15 +26275,15 @@ }, { "type": "Identifier", - "start": 8861, - "end": 8865, + "start": 9034, + "end": 9038, "loc": { "start": { - "line": 422, + "line": 431, "column": 30 }, "end": { - "line": 422, + "line": 431, "column": 34 }, "identifierName": "base" @@ -25712,44 +26292,44 @@ }, { "type": "MemberExpression", - "start": 8868, - "end": 8878, + "start": 9041, + "end": 9051, "loc": { "start": { - "line": 422, + "line": 431, "column": 37 }, "end": { - "line": 422, + "line": 431, "column": 47 } }, "object": { "type": "ThisExpression", - "start": 8868, - "end": 8872, + "start": 9041, + "end": 9045, "loc": { "start": { - "line": 422, + "line": 431, "column": 37 }, "end": { - "line": 422, + "line": 431, "column": 41 } } }, "property": { "type": "Identifier", - "start": 8873, - "end": 8878, + "start": 9046, + "end": 9051, "loc": { "start": { - "line": 422, + "line": 431, "column": 42 }, "end": { - "line": 422, + "line": 431, "column": 47 }, "identifierName": "limbs" @@ -25760,15 +26340,15 @@ }, { "type": "NumericLiteral", - "start": 8881, - "end": 8882, + "start": 9054, + "end": 9055, "loc": { "start": { - "line": 422, + "line": 431, "column": 50 }, "end": { - "line": 422, + "line": 431, "column": 51 } }, @@ -25780,58 +26360,58 @@ }, { "type": "MemberExpression", - "start": 8885, - "end": 8902, + "start": 9058, + "end": 9075, "loc": { "start": { - "line": 422, + "line": 431, "column": 54 }, "end": { - "line": 422, + "line": 431, "column": 71 } }, "object": { "type": "MemberExpression", - "start": 8885, - "end": 8895, + "start": 9058, + "end": 9068, "loc": { "start": { - "line": 422, + "line": 431, "column": 54 }, "end": { - "line": 422, + "line": 431, "column": 64 } }, "object": { "type": "ThisExpression", - "start": 8885, - "end": 8889, + "start": 9058, + "end": 9062, "loc": { "start": { - "line": 422, + "line": 431, "column": 54 }, "end": { - "line": 422, + "line": 431, "column": 58 } } }, "property": { "type": "Identifier", - "start": 8890, - "end": 8895, + "start": 9063, + "end": 9068, "loc": { "start": { - "line": 422, + "line": 431, "column": 59 }, "end": { - "line": 422, + "line": 431, "column": 64 }, "identifierName": "limbs" @@ -25842,15 +26422,15 @@ }, "property": { "type": "Identifier", - "start": 8896, - "end": 8902, + "start": 9069, + "end": 9075, "loc": { "start": { - "line": 422, + "line": 431, "column": 65 }, "end": { - "line": 422, + "line": 431, "column": 71 }, "identifierName": "length" @@ -25864,15 +26444,15 @@ }, "property": { "type": "Identifier", - "start": 8905, - "end": 8912, + "start": 9078, + "end": 9085, "loc": { "start": { - "line": 422, + "line": 431, "column": 74 }, "end": { - "line": 422, + "line": 431, "column": 81 }, "identifierName": "reverse" @@ -25889,15 +26469,15 @@ { "type": "CommentLine", "value": " TODO Once #to is implemented we can rewrite this as", - "start": 8726, - "end": 8780, + "start": 8899, + "end": 8953, "loc": { "start": { - "line": 420, + "line": 429, "column": 2 }, "end": { - "line": 420, + "line": 429, "column": 56 } } @@ -25905,15 +26485,15 @@ { "type": "CommentLine", "value": " return this.to(LITTLE_ENDIAN, base, Array) ;", - "start": 8783, - "end": 8830, + "start": 8956, + "end": 9003, "loc": { "start": { - "line": 421, + "line": 430, "column": 2 }, "end": { - "line": 421, + "line": 430, "column": 49 } } @@ -25926,15 +26506,15 @@ }, { "type": "ClassMethod", - "start": 8923, - "end": 8964, + "start": 9096, + "end": 9137, "loc": { "start": { - "line": 425, + "line": 434, "column": 1 }, "end": { - "line": 427, + "line": 436, "column": 2 } }, @@ -25942,15 +26522,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8923, - "end": 8927, + "start": 9096, + "end": 9100, "loc": { "start": { - "line": 425, + "line": 434, "column": 1 }, "end": { - "line": 425, + "line": 434, "column": 5 }, "identifierName": "bits" @@ -25965,87 +26545,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8932, - "end": 8964, + "start": 9105, + "end": 9137, "loc": { "start": { - "line": 425, + "line": 434, "column": 10 }, "end": { - "line": 427, + "line": 436, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 8936, - "end": 8961, + "start": 9109, + "end": 9134, "loc": { "start": { - "line": 426, + "line": 435, "column": 2 }, "end": { - "line": 426, + "line": 435, "column": 27 } }, "argument": { "type": "CallExpression", - "start": 8943, - "end": 8959, + "start": 9116, + "end": 9132, "loc": { "start": { - "line": 426, + "line": 435, "column": 9 }, "end": { - "line": 426, + "line": 435, "column": 25 } }, "callee": { "type": "MemberExpression", - "start": 8943, - "end": 8954, + "start": 9116, + "end": 9127, "loc": { "start": { - "line": 426, + "line": 435, "column": 9 }, "end": { - "line": 426, + "line": 435, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 8943, - "end": 8947, + "start": 9116, + "end": 9120, "loc": { "start": { - "line": 426, + "line": 435, "column": 9 }, "end": { - "line": 426, + "line": 435, "column": 13 } } }, "property": { "type": "Identifier", - "start": 8948, - "end": 8954, + "start": 9121, + "end": 9127, "loc": { "start": { - "line": 426, + "line": 435, "column": 14 }, "end": { - "line": 426, + "line": 435, "column": 20 }, "identifierName": "digits" @@ -26057,15 +26637,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 8956, - "end": 8957, + "start": 9129, + "end": 9130, "loc": { "start": { - "line": 426, + "line": 435, "column": 22 }, "end": { - "line": 426, + "line": 435, "column": 23 } }, @@ -26084,15 +26664,15 @@ }, { "type": "ClassMethod", - "start": 8967, - "end": 9028, + "start": 9140, + "end": 9201, "loc": { "start": { - "line": 429, + "line": 438, "column": 1 }, "end": { - "line": 431, + "line": 440, "column": 2 } }, @@ -26100,15 +26680,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8967, - "end": 8974, + "start": 9140, + "end": 9147, "loc": { "start": { - "line": 429, + "line": 438, "column": 1 }, "end": { - "line": 429, + "line": 438, "column": 8 }, "identifierName": "divides" @@ -26123,15 +26703,15 @@ "params": [ { "type": "Identifier", - "start": 8977, - "end": 8982, + "start": 9150, + "end": 9155, "loc": { "start": { - "line": 429, + "line": 438, "column": 11 }, "end": { - "line": 429, + "line": 438, "column": 16 }, "identifierName": "other" @@ -26141,100 +26721,100 @@ ], "body": { "type": "BlockStatement", - "start": 8985, - "end": 9028, + "start": 9158, + "end": 9201, "loc": { "start": { - "line": 429, + "line": 438, "column": 19 }, "end": { - "line": 431, + "line": 440, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 8989, - "end": 9025, + "start": 9162, + "end": 9198, "loc": { "start": { - "line": 430, + "line": 439, "column": 2 }, "end": { - "line": 430, + "line": 439, "column": 38 } }, "argument": { "type": "CallExpression", - "start": 8996, - "end": 9023, + "start": 9169, + "end": 9196, "loc": { "start": { - "line": 430, + "line": 439, "column": 9 }, "end": { - "line": 430, + "line": 439, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 8996, - "end": 9020, + "start": 9169, + "end": 9193, "loc": { "start": { - "line": 430, + "line": 439, "column": 9 }, "end": { - "line": 430, + "line": 439, "column": 33 } }, "object": { "type": "CallExpression", - "start": 8996, - "end": 9013, + "start": 9169, + "end": 9186, "loc": { "start": { - "line": 430, + "line": 439, "column": 9 }, "end": { - "line": 430, + "line": 439, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 8996, - "end": 9005, + "start": 9169, + "end": 9178, "loc": { "start": { - "line": 430, + "line": 439, "column": 9 }, "end": { - "line": 430, + "line": 439, "column": 18 } }, "object": { "type": "Identifier", - "start": 8996, - "end": 9001, + "start": 9169, + "end": 9174, "loc": { "start": { - "line": 430, + "line": 439, "column": 9 }, "end": { - "line": 430, + "line": 439, "column": 14 }, "identifierName": "other" @@ -26243,15 +26823,15 @@ }, "property": { "type": "Identifier", - "start": 9002, - "end": 9005, + "start": 9175, + "end": 9178, "loc": { "start": { - "line": 430, + "line": 439, "column": 15 }, "end": { - "line": 430, + "line": 439, "column": 18 }, "identifierName": "mod" @@ -26263,15 +26843,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 9007, - "end": 9011, + "start": 9180, + "end": 9184, "loc": { "start": { - "line": 430, + "line": 439, "column": 20 }, "end": { - "line": 430, + "line": 439, "column": 24 } } @@ -26280,15 +26860,15 @@ }, "property": { "type": "Identifier", - "start": 9014, - "end": 9020, + "start": 9187, + "end": 9193, "loc": { "start": { - "line": 430, + "line": 439, "column": 27 }, "end": { - "line": 430, + "line": 439, "column": 33 }, "identifierName": "iszero" @@ -26306,15 +26886,15 @@ }, { "type": "ClassMethod", - "start": 9031, - "end": 9121, + "start": 9204, + "end": 9294, "loc": { "start": { - "line": 433, + "line": 442, "column": 1 }, "end": { - "line": 436, + "line": 445, "column": 2 } }, @@ -26322,15 +26902,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9031, - "end": 9058, + "start": 9204, + "end": 9231, "loc": { "start": { - "line": 433, + "line": 442, "column": 1 }, "end": { - "line": 433, + "line": 442, "column": 28 }, "identifierName": "divide_knowing_divisible_by" @@ -26345,15 +26925,15 @@ "params": [ { "type": "Identifier", - "start": 9061, - "end": 9066, + "start": 9234, + "end": 9239, "loc": { "start": { - "line": 433, + "line": 442, "column": 31 }, "end": { - "line": 433, + "line": 442, "column": 36 }, "identifierName": "other" @@ -26363,72 +26943,72 @@ ], "body": { "type": "BlockStatement", - "start": 9069, - "end": 9121, + "start": 9242, + "end": 9294, "loc": { "start": { - "line": 433, + "line": 442, "column": 39 }, "end": { - "line": 436, + "line": 445, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 9092, - "end": 9118, + "start": 9265, + "end": 9291, "loc": { "start": { - "line": 435, + "line": 444, "column": 2 }, "end": { - "line": 435, + "line": 444, "column": 28 } }, "argument": { "type": "CallExpression", - "start": 9099, - "end": 9116, + "start": 9272, + "end": 9289, "loc": { "start": { - "line": 435, + "line": 444, "column": 9 }, "end": { - "line": 435, + "line": 444, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 9099, - "end": 9107, + "start": 9272, + "end": 9280, "loc": { "start": { - "line": 435, + "line": 444, "column": 9 }, "end": { - "line": 435, + "line": 444, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 9099, - "end": 9103, + "start": 9272, + "end": 9276, "loc": { "start": { - "line": 435, + "line": 444, "column": 9 }, "end": { - "line": 435, + "line": 444, "column": 13 } }, @@ -26436,15 +27016,15 @@ }, "property": { "type": "Identifier", - "start": 9104, - "end": 9107, + "start": 9277, + "end": 9280, "loc": { "start": { - "line": 435, + "line": 444, "column": 14 }, "end": { - "line": 435, + "line": 444, "column": 17 }, "identifierName": "div" @@ -26457,15 +27037,15 @@ "arguments": [ { "type": "Identifier", - "start": 9109, - "end": 9114, + "start": 9282, + "end": 9287, "loc": { "start": { - "line": 435, + "line": 444, "column": 19 }, "end": { - "line": 435, + "line": 444, "column": 24 }, "identifierName": "other" @@ -26479,15 +27059,15 @@ { "type": "CommentLine", "value": " TODO optimize", - "start": 9073, - "end": 9089, + "start": 9246, + "end": 9262, "loc": { "start": { - "line": 434, + "line": 443, "column": 2 }, "end": { - "line": 434, + "line": 443, "column": 18 } } @@ -26500,15 +27080,15 @@ }, { "type": "ClassMethod", - "start": 9125, - "end": 9671, + "start": 9298, + "end": 9844, "loc": { "start": { - "line": 439, + "line": 448, "column": 1 }, "end": { - "line": 458, + "line": 467, "column": 2 } }, @@ -26516,15 +27096,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9125, - "end": 9128, + "start": 9298, + "end": 9301, "loc": { "start": { - "line": 439, + "line": 448, "column": 1 }, "end": { - "line": 439, + "line": 448, "column": 4 }, "identifierName": "cmp" @@ -26539,15 +27119,15 @@ "params": [ { "type": "Identifier", - "start": 9131, - "end": 9136, + "start": 9304, + "end": 9309, "loc": { "start": { - "line": 439, + "line": 448, "column": 7 }, "end": { - "line": 439, + "line": 448, "column": 12 }, "identifierName": "other" @@ -26557,72 +27137,72 @@ ], "body": { "type": "BlockStatement", - "start": 9139, - "end": 9671, + "start": 9312, + "end": 9844, "loc": { "start": { - "line": 439, + "line": 448, "column": 15 }, "end": { - "line": 458, + "line": 467, "column": 2 } }, "body": [ { "type": "IfStatement", - "start": 9183, - "end": 9345, + "start": 9356, + "end": 9518, "loc": { "start": { - "line": 442, + "line": 451, "column": 2 }, "end": { - "line": 446, + "line": 455, "column": 3 } }, "test": { "type": "CallExpression", - "start": 9188, - "end": 9202, + "start": 9361, + "end": 9375, "loc": { "start": { - "line": 442, + "line": 451, "column": 7 }, "end": { - "line": 442, + "line": 451, "column": 21 } }, "callee": { "type": "MemberExpression", - "start": 9188, - "end": 9199, + "start": 9361, + "end": 9372, "loc": { "start": { - "line": 442, + "line": 451, "column": 7 }, "end": { - "line": 442, + "line": 451, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 9188, - "end": 9192, + "start": 9361, + "end": 9365, "loc": { "start": { - "line": 442, + "line": 451, "column": 7 }, "end": { - "line": 442, + "line": 451, "column": 11 } }, @@ -26630,15 +27210,15 @@ }, "property": { "type": "Identifier", - "start": 9193, - "end": 9199, + "start": 9366, + "end": 9372, "loc": { "start": { - "line": 442, + "line": 451, "column": 12 }, "end": { - "line": 442, + "line": 451, "column": 18 }, "identifierName": "iszero" @@ -26653,72 +27233,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 9205, - "end": 9345, + "start": 9378, + "end": 9518, "loc": { "start": { - "line": 442, + "line": 451, "column": 24 }, "end": { - "line": 446, + "line": 455, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 9210, - "end": 9341, + "start": 9383, + "end": 9514, "loc": { "start": { - "line": 443, + "line": 452, "column": 3 }, "end": { - "line": 445, + "line": 454, "column": 44 } }, "test": { "type": "CallExpression", - "start": 9215, - "end": 9230, + "start": 9388, + "end": 9403, "loc": { "start": { - "line": 443, + "line": 452, "column": 8 }, "end": { - "line": 443, + "line": 452, "column": 23 } }, "callee": { "type": "MemberExpression", - "start": 9215, - "end": 9227, + "start": 9388, + "end": 9400, "loc": { "start": { - "line": 443, + "line": 452, "column": 8 }, "end": { - "line": 443, + "line": 452, "column": 20 } }, "object": { "type": "Identifier", - "start": 9215, - "end": 9220, + "start": 9388, + "end": 9393, "loc": { "start": { - "line": 443, + "line": 452, "column": 8 }, "end": { - "line": 443, + "line": 452, "column": 13 }, "identifierName": "other" @@ -26727,15 +27307,15 @@ }, "property": { "type": "Identifier", - "start": 9221, - "end": 9227, + "start": 9394, + "end": 9400, "loc": { "start": { - "line": 443, + "line": 452, "column": 14 }, "end": { - "line": 443, + "line": 452, "column": 20 }, "identifierName": "iszero" @@ -26748,29 +27328,29 @@ }, "consequent": { "type": "ReturnStatement", - "start": 9240, - "end": 9251, + "start": 9413, + "end": 9424, "loc": { "start": { - "line": 443, + "line": 452, "column": 33 }, "end": { - "line": 443, + "line": 452, "column": 44 } }, "argument": { "type": "NumericLiteral", - "start": 9248, - "end": 9249, + "start": 9421, + "end": 9422, "loc": { "start": { - "line": 443, + "line": 452, "column": 41 }, "end": { - "line": 443, + "line": 452, "column": 42 } }, @@ -26783,43 +27363,43 @@ }, "alternate": { "type": "IfStatement", - "start": 9260, - "end": 9341, + "start": 9433, + "end": 9514, "loc": { "start": { - "line": 444, + "line": 453, "column": 8 }, "end": { - "line": 445, + "line": 454, "column": 44 } }, "test": { "type": "MemberExpression", - "start": 9265, - "end": 9282, + "start": 9438, + "end": 9455, "loc": { "start": { - "line": 444, + "line": 453, "column": 13 }, "end": { - "line": 444, + "line": 453, "column": 30 } }, "object": { "type": "Identifier", - "start": 9265, - "end": 9270, + "start": 9438, + "end": 9443, "loc": { "start": { - "line": 444, + "line": 453, "column": 13 }, "end": { - "line": 444, + "line": 453, "column": 18 }, "identifierName": "other" @@ -26828,15 +27408,15 @@ }, "property": { "type": "Identifier", - "start": 9271, - "end": 9282, + "start": 9444, + "end": 9455, "loc": { "start": { - "line": 444, + "line": 453, "column": 19 }, "end": { - "line": 444, + "line": 453, "column": 30 }, "identifierName": "is_negative" @@ -26847,29 +27427,29 @@ }, "consequent": { "type": "ReturnStatement", - "start": 9285, - "end": 9296, + "start": 9458, + "end": 9469, "loc": { "start": { - "line": 444, + "line": 453, "column": 33 }, "end": { - "line": 444, + "line": 453, "column": 44 } }, "argument": { "type": "NumericLiteral", - "start": 9293, - "end": 9294, + "start": 9466, + "end": 9467, "loc": { "start": { - "line": 444, + "line": 453, "column": 41 }, "end": { - "line": 444, + "line": 453, "column": 42 } }, @@ -26882,29 +27462,29 @@ }, "alternate": { "type": "ReturnStatement", - "start": 9330, - "end": 9341, + "start": 9503, + "end": 9514, "loc": { "start": { - "line": 445, + "line": 454, "column": 33 }, "end": { - "line": 445, + "line": 454, "column": 44 } }, "argument": { "type": "UnaryExpression", - "start": 9337, - "end": 9339, + "start": 9510, + "end": 9512, "loc": { "start": { - "line": 445, + "line": 454, "column": 40 }, "end": { - "line": 445, + "line": 454, "column": 42 } }, @@ -26912,15 +27492,15 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 9338, - "end": 9339, + "start": 9511, + "end": 9512, "loc": { "start": { - "line": 445, + "line": 454, "column": 41 }, "end": { - "line": 445, + "line": 454, "column": 42 } }, @@ -26945,15 +27525,15 @@ { "type": "CommentLine", "value": " TODO optimize with _trim_positive", - "start": 9143, - "end": 9179, + "start": 9316, + "end": 9352, "loc": { "start": { - "line": 440, + "line": 449, "column": 2 }, "end": { - "line": 440, + "line": 449, "column": 38 } } @@ -26962,72 +27542,72 @@ }, { "type": "IfStatement", - "start": 9349, - "end": 9404, + "start": 9522, + "end": 9577, "loc": { "start": { - "line": 448, + "line": 457, "column": 2 }, "end": { - "line": 448, + "line": 457, "column": 57 } }, "test": { "type": "BinaryExpression", - "start": 9354, - "end": 9390, + "start": 9527, + "end": 9563, "loc": { "start": { - "line": 448, + "line": 457, "column": 7 }, "end": { - "line": 448, + "line": 457, "column": 43 } }, "left": { "type": "MemberExpression", - "start": 9354, - "end": 9370, + "start": 9527, + "end": 9543, "loc": { "start": { - "line": 448, + "line": 457, "column": 7 }, "end": { - "line": 448, + "line": 457, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 9354, - "end": 9358, + "start": 9527, + "end": 9531, "loc": { "start": { - "line": 448, + "line": 457, "column": 7 }, "end": { - "line": 448, + "line": 457, "column": 11 } } }, "property": { "type": "Identifier", - "start": 9359, - "end": 9370, + "start": 9532, + "end": 9543, "loc": { "start": { - "line": 448, + "line": 457, "column": 12 }, "end": { - "line": 448, + "line": 457, "column": 23 }, "identifierName": "is_negative" @@ -27039,29 +27619,29 @@ "operator": "<", "right": { "type": "MemberExpression", - "start": 9373, - "end": 9390, + "start": 9546, + "end": 9563, "loc": { "start": { - "line": 448, + "line": 457, "column": 26 }, "end": { - "line": 448, + "line": 457, "column": 43 } }, "object": { "type": "Identifier", - "start": 9373, - "end": 9378, + "start": 9546, + "end": 9551, "loc": { "start": { - "line": 448, + "line": 457, "column": 26 }, "end": { - "line": 448, + "line": 457, "column": 31 }, "identifierName": "other" @@ -27070,15 +27650,15 @@ }, "property": { "type": "Identifier", - "start": 9379, - "end": 9390, + "start": 9552, + "end": 9563, "loc": { "start": { - "line": 448, + "line": 457, "column": 32 }, "end": { - "line": 448, + "line": 457, "column": 43 }, "identifierName": "is_negative" @@ -27090,29 +27670,29 @@ }, "consequent": { "type": "ReturnStatement", - "start": 9393, - "end": 9404, + "start": 9566, + "end": 9577, "loc": { "start": { - "line": 448, + "line": 457, "column": 46 }, "end": { - "line": 448, + "line": 457, "column": 57 } }, "argument": { "type": "UnaryExpression", - "start": 9400, - "end": 9402, + "start": 9573, + "end": 9575, "loc": { "start": { - "line": 448, + "line": 457, "column": 53 }, "end": { - "line": 448, + "line": 457, "column": 55 } }, @@ -27120,15 +27700,15 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 9401, - "end": 9402, + "start": 9574, + "end": 9575, "loc": { "start": { - "line": 448, + "line": 457, "column": 54 }, "end": { - "line": 448, + "line": 457, "column": 55 } }, @@ -27147,72 +27727,72 @@ }, { "type": "IfStatement", - "start": 9407, - "end": 9462, + "start": 9580, + "end": 9635, "loc": { "start": { - "line": 449, + "line": 458, "column": 2 }, "end": { - "line": 449, + "line": 458, "column": 57 } }, "test": { "type": "BinaryExpression", - "start": 9412, - "end": 9448, + "start": 9585, + "end": 9621, "loc": { "start": { - "line": 449, + "line": 458, "column": 7 }, "end": { - "line": 449, + "line": 458, "column": 43 } }, "left": { "type": "MemberExpression", - "start": 9412, - "end": 9428, + "start": 9585, + "end": 9601, "loc": { "start": { - "line": 449, + "line": 458, "column": 7 }, "end": { - "line": 449, + "line": 458, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 9412, - "end": 9416, + "start": 9585, + "end": 9589, "loc": { "start": { - "line": 449, + "line": 458, "column": 7 }, "end": { - "line": 449, + "line": 458, "column": 11 } } }, "property": { "type": "Identifier", - "start": 9417, - "end": 9428, + "start": 9590, + "end": 9601, "loc": { "start": { - "line": 449, + "line": 458, "column": 12 }, "end": { - "line": 449, + "line": 458, "column": 23 }, "identifierName": "is_negative" @@ -27224,29 +27804,29 @@ "operator": ">", "right": { "type": "MemberExpression", - "start": 9431, - "end": 9448, + "start": 9604, + "end": 9621, "loc": { "start": { - "line": 449, + "line": 458, "column": 26 }, "end": { - "line": 449, + "line": 458, "column": 43 } }, "object": { "type": "Identifier", - "start": 9431, - "end": 9436, + "start": 9604, + "end": 9609, "loc": { "start": { - "line": 449, + "line": 458, "column": 26 }, "end": { - "line": 449, + "line": 458, "column": 31 }, "identifierName": "other" @@ -27255,15 +27835,15 @@ }, "property": { "type": "Identifier", - "start": 9437, - "end": 9448, + "start": 9610, + "end": 9621, "loc": { "start": { - "line": 449, + "line": 458, "column": 32 }, "end": { - "line": 449, + "line": 458, "column": 43 }, "identifierName": "is_negative" @@ -27275,29 +27855,29 @@ }, "consequent": { "type": "ReturnStatement", - "start": 9451, - "end": 9462, + "start": 9624, + "end": 9635, "loc": { "start": { - "line": 449, + "line": 458, "column": 46 }, "end": { - "line": 449, + "line": 458, "column": 57 } }, "argument": { "type": "NumericLiteral", - "start": 9459, - "end": 9460, + "start": 9632, + "end": 9633, "loc": { "start": { - "line": 449, + "line": 458, "column": 54 }, "end": { - "line": 449, + "line": 458, "column": 55 } }, @@ -27312,44 +27892,44 @@ }, { "type": "VariableDeclaration", - "start": 9466, - "end": 9488, + "start": 9639, + "end": 9661, "loc": { "start": { - "line": 451, + "line": 460, "column": 2 }, "end": { - "line": 451, + "line": 460, "column": 24 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 9472, - "end": 9486, + "start": 9645, + "end": 9659, "loc": { "start": { - "line": 451, + "line": 460, "column": 8 }, "end": { - "line": 451, + "line": 460, "column": 22 } }, "id": { "type": "Identifier", - "start": 9472, - "end": 9473, + "start": 9645, + "end": 9646, "loc": { "start": { - "line": 451, + "line": 460, "column": 8 }, "end": { - "line": 451, + "line": 460, "column": 9 }, "identifierName": "a" @@ -27358,44 +27938,44 @@ }, "init": { "type": "MemberExpression", - "start": 9476, - "end": 9486, + "start": 9649, + "end": 9659, "loc": { "start": { - "line": 451, + "line": 460, "column": 12 }, "end": { - "line": 451, + "line": 460, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 9476, - "end": 9480, + "start": 9649, + "end": 9653, "loc": { "start": { - "line": 451, + "line": 460, "column": 12 }, "end": { - "line": 451, + "line": 460, "column": 16 } } }, "property": { "type": "Identifier", - "start": 9481, - "end": 9486, + "start": 9654, + "end": 9659, "loc": { "start": { - "line": 451, + "line": 460, "column": 17 }, "end": { - "line": 451, + "line": 460, "column": 22 }, "identifierName": "limbs" @@ -27410,44 +27990,44 @@ }, { "type": "VariableDeclaration", - "start": 9491, - "end": 9536, + "start": 9664, + "end": 9709, "loc": { "start": { - "line": 452, + "line": 461, "column": 2 }, "end": { - "line": 452, + "line": 461, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 9497, - "end": 9534, + "start": 9670, + "end": 9707, "loc": { "start": { - "line": 452, + "line": 461, "column": 8 }, "end": { - "line": 452, + "line": 461, "column": 45 } }, "id": { "type": "Identifier", - "start": 9497, - "end": 9498, + "start": 9670, + "end": 9671, "loc": { "start": { - "line": 452, + "line": 461, "column": 8 }, "end": { - "line": 452, + "line": 461, "column": 9 }, "identifierName": "b" @@ -27456,43 +28036,43 @@ }, "init": { "type": "CallExpression", - "start": 9501, - "end": 9534, + "start": 9674, + "end": 9707, "loc": { "start": { - "line": 452, + "line": 461, "column": 12 }, "end": { - "line": 452, + "line": 461, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 9501, - "end": 9521, + "start": 9674, + "end": 9694, "loc": { "start": { - "line": 452, + "line": 461, "column": 12 }, "end": { - "line": 452, + "line": 461, "column": 32 } }, "object": { "type": "Identifier", - "start": 9501, - "end": 9506, + "start": 9674, + "end": 9679, "loc": { "start": { - "line": 452, + "line": 461, "column": 12 }, "end": { - "line": 452, + "line": 461, "column": 17 }, "identifierName": "other" @@ -27501,15 +28081,15 @@ }, "property": { "type": "Identifier", - "start": 9507, - "end": 9521, + "start": 9680, + "end": 9694, "loc": { "start": { - "line": 452, + "line": 461, "column": 18 }, "end": { - "line": 452, + "line": 461, "column": 32 }, "identifierName": "_limbs_in_base" @@ -27521,44 +28101,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 9523, - "end": 9532, + "start": 9696, + "end": 9705, "loc": { "start": { - "line": 452, + "line": 461, "column": 34 }, "end": { - "line": 452, + "line": 461, "column": 43 } }, "object": { "type": "ThisExpression", - "start": 9523, - "end": 9527, + "start": 9696, + "end": 9700, "loc": { "start": { - "line": 452, + "line": 461, "column": 34 }, "end": { - "line": 452, + "line": 461, "column": 38 } } }, "property": { "type": "Identifier", - "start": 9528, - "end": 9532, + "start": 9701, + "end": 9705, "loc": { "start": { - "line": 452, + "line": 461, "column": 39 }, "end": { - "line": 452, + "line": 461, "column": 43 }, "identifierName": "base" @@ -27575,86 +28155,86 @@ }, { "type": "ReturnStatement", - "start": 9540, - "end": 9667, + "start": 9713, + "end": 9840, "loc": { "start": { - "line": 454, + "line": 463, "column": 2 }, "end": { - "line": 456, + "line": 465, "column": 47 } }, "argument": { "type": "ConditionalExpression", - "start": 9547, - "end": 9665, + "start": 9720, + "end": 9838, "loc": { "start": { - "line": 454, + "line": 463, "column": 9 }, "end": { - "line": 456, + "line": 465, "column": 45 } }, "test": { "type": "BinaryExpression", - "start": 9547, - "end": 9569, + "start": 9720, + "end": 9742, "loc": { "start": { - "line": 454, + "line": 463, "column": 9 }, "end": { - "line": 454, + "line": 463, "column": 31 } }, "left": { "type": "MemberExpression", - "start": 9547, - "end": 9563, + "start": 9720, + "end": 9736, "loc": { "start": { - "line": 454, + "line": 463, "column": 9 }, "end": { - "line": 454, + "line": 463, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 9547, - "end": 9551, + "start": 9720, + "end": 9724, "loc": { "start": { - "line": 454, + "line": 463, "column": 9 }, "end": { - "line": 454, + "line": 463, "column": 13 } } }, "property": { "type": "Identifier", - "start": 9552, - "end": 9563, + "start": 9725, + "end": 9736, "loc": { "start": { - "line": 454, + "line": 463, "column": 14 }, "end": { - "line": 454, + "line": 463, "column": 25 }, "identifierName": "is_negative" @@ -27666,15 +28246,15 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 9568, - "end": 9569, + "start": 9741, + "end": 9742, "loc": { "start": { - "line": 454, + "line": 463, "column": 30 }, "end": { - "line": 454, + "line": 463, "column": 31 } }, @@ -27687,29 +28267,29 @@ }, "consequent": { "type": "CallExpression", - "start": 9575, - "end": 9617, + "start": 9748, + "end": 9790, "loc": { "start": { - "line": 455, + "line": 464, "column": 3 }, "end": { - "line": 455, + "line": 464, "column": 45 } }, "callee": { "type": "Identifier", - "start": 9575, - "end": 9578, + "start": 9748, + "end": 9751, "loc": { "start": { - "line": 455, + "line": 464, "column": 3 }, "end": { - "line": 455, + "line": 464, "column": 6 }, "identifierName": "cmp" @@ -27719,15 +28299,15 @@ "arguments": [ { "type": "Identifier", - "start": 9580, - "end": 9581, + "start": 9753, + "end": 9754, "loc": { "start": { - "line": 455, + "line": 464, "column": 8 }, "end": { - "line": 455, + "line": 464, "column": 9 }, "identifierName": "a" @@ -27736,15 +28316,15 @@ }, { "type": "NumericLiteral", - "start": 9584, - "end": 9585, + "start": 9757, + "end": 9758, "loc": { "start": { - "line": 455, + "line": 464, "column": 12 }, "end": { - "line": 455, + "line": 464, "column": 13 } }, @@ -27756,29 +28336,29 @@ }, { "type": "MemberExpression", - "start": 9588, - "end": 9596, + "start": 9761, + "end": 9769, "loc": { "start": { - "line": 455, + "line": 464, "column": 16 }, "end": { - "line": 455, + "line": 464, "column": 24 } }, "object": { "type": "Identifier", - "start": 9588, - "end": 9589, + "start": 9761, + "end": 9762, "loc": { "start": { - "line": 455, + "line": 464, "column": 16 }, "end": { - "line": 455, + "line": 464, "column": 17 }, "identifierName": "a" @@ -27787,15 +28367,15 @@ }, "property": { "type": "Identifier", - "start": 9590, - "end": 9596, + "start": 9763, + "end": 9769, "loc": { "start": { - "line": 455, + "line": 464, "column": 18 }, "end": { - "line": 455, + "line": 464, "column": 24 }, "identifierName": "length" @@ -27806,15 +28386,15 @@ }, { "type": "Identifier", - "start": 9599, - "end": 9600, + "start": 9772, + "end": 9773, "loc": { "start": { - "line": 455, + "line": 464, "column": 27 }, "end": { - "line": 455, + "line": 464, "column": 28 }, "identifierName": "b" @@ -27823,15 +28403,15 @@ }, { "type": "NumericLiteral", - "start": 9603, - "end": 9604, + "start": 9776, + "end": 9777, "loc": { "start": { - "line": 455, + "line": 464, "column": 31 }, "end": { - "line": 455, + "line": 464, "column": 32 } }, @@ -27843,29 +28423,29 @@ }, { "type": "MemberExpression", - "start": 9607, - "end": 9615, + "start": 9780, + "end": 9788, "loc": { "start": { - "line": 455, + "line": 464, "column": 35 }, "end": { - "line": 455, + "line": 464, "column": 43 } }, "object": { "type": "Identifier", - "start": 9607, - "end": 9608, + "start": 9780, + "end": 9781, "loc": { "start": { - "line": 455, + "line": 464, "column": 35 }, "end": { - "line": 455, + "line": 464, "column": 36 }, "identifierName": "b" @@ -27874,15 +28454,15 @@ }, "property": { "type": "Identifier", - "start": 9609, - "end": 9615, + "start": 9782, + "end": 9788, "loc": { "start": { - "line": 455, + "line": 464, "column": 37 }, "end": { - "line": 455, + "line": 464, "column": 43 }, "identifierName": "length" @@ -27895,29 +28475,29 @@ }, "alternate": { "type": "CallExpression", - "start": 9623, - "end": 9665, + "start": 9796, + "end": 9838, "loc": { "start": { - "line": 456, + "line": 465, "column": 3 }, "end": { - "line": 456, + "line": 465, "column": 45 } }, "callee": { "type": "Identifier", - "start": 9623, - "end": 9626, + "start": 9796, + "end": 9799, "loc": { "start": { - "line": 456, + "line": 465, "column": 3 }, "end": { - "line": 456, + "line": 465, "column": 6 }, "identifierName": "cmp" @@ -27927,15 +28507,15 @@ "arguments": [ { "type": "Identifier", - "start": 9628, - "end": 9629, + "start": 9801, + "end": 9802, "loc": { "start": { - "line": 456, + "line": 465, "column": 8 }, "end": { - "line": 456, + "line": 465, "column": 9 }, "identifierName": "b" @@ -27944,15 +28524,15 @@ }, { "type": "NumericLiteral", - "start": 9632, - "end": 9633, + "start": 9805, + "end": 9806, "loc": { "start": { - "line": 456, + "line": 465, "column": 12 }, "end": { - "line": 456, + "line": 465, "column": 13 } }, @@ -27964,29 +28544,29 @@ }, { "type": "MemberExpression", - "start": 9636, - "end": 9644, + "start": 9809, + "end": 9817, "loc": { "start": { - "line": 456, + "line": 465, "column": 16 }, "end": { - "line": 456, + "line": 465, "column": 24 } }, "object": { "type": "Identifier", - "start": 9636, - "end": 9637, + "start": 9809, + "end": 9810, "loc": { "start": { - "line": 456, + "line": 465, "column": 16 }, "end": { - "line": 456, + "line": 465, "column": 17 }, "identifierName": "b" @@ -27995,15 +28575,15 @@ }, "property": { "type": "Identifier", - "start": 9638, - "end": 9644, + "start": 9811, + "end": 9817, "loc": { "start": { - "line": 456, + "line": 465, "column": 18 }, "end": { - "line": 456, + "line": 465, "column": 24 }, "identifierName": "length" @@ -28014,15 +28594,15 @@ }, { "type": "Identifier", - "start": 9647, - "end": 9648, + "start": 9820, + "end": 9821, "loc": { "start": { - "line": 456, + "line": 465, "column": 27 }, "end": { - "line": 456, + "line": 465, "column": 28 }, "identifierName": "a" @@ -28031,15 +28611,15 @@ }, { "type": "NumericLiteral", - "start": 9651, - "end": 9652, + "start": 9824, + "end": 9825, "loc": { "start": { - "line": 456, + "line": 465, "column": 31 }, "end": { - "line": 456, + "line": 465, "column": 32 } }, @@ -28051,29 +28631,29 @@ }, { "type": "MemberExpression", - "start": 9655, - "end": 9663, + "start": 9828, + "end": 9836, "loc": { "start": { - "line": 456, + "line": 465, "column": 35 }, "end": { - "line": 456, + "line": 465, "column": 43 } }, "object": { "type": "Identifier", - "start": 9655, - "end": 9656, + "start": 9828, + "end": 9829, "loc": { "start": { - "line": 456, + "line": 465, "column": 35 }, "end": { - "line": 456, + "line": 465, "column": 36 }, "identifierName": "a" @@ -28082,15 +28662,15 @@ }, "property": { "type": "Identifier", - "start": 9657, - "end": 9663, + "start": 9830, + "end": 9836, "loc": { "start": { - "line": 456, + "line": 465, "column": 37 }, "end": { - "line": 456, + "line": 465, "column": 43 }, "identifierName": "length" @@ -28109,15 +28689,15 @@ }, { "type": "ClassMethod", - "start": 9674, - "end": 9736, + "start": 9847, + "end": 9909, "loc": { "start": { - "line": 460, + "line": 469, "column": 1 }, "end": { - "line": 462, + "line": 471, "column": 2 } }, @@ -28125,15 +28705,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9674, - "end": 9678, + "start": 9847, + "end": 9851, "loc": { "start": { - "line": 460, + "line": 469, "column": 1 }, "end": { - "line": 460, + "line": 469, "column": 5 }, "identifierName": "cmpn" @@ -28148,15 +28728,15 @@ "params": [ { "type": "Identifier", - "start": 9681, - "end": 9687, + "start": 9854, + "end": 9860, "loc": { "start": { - "line": 460, + "line": 469, "column": 8 }, "end": { - "line": 460, + "line": 469, "column": 14 }, "identifierName": "number" @@ -28166,87 +28746,87 @@ ], "body": { "type": "BlockStatement", - "start": 9690, - "end": 9736, + "start": 9863, + "end": 9909, "loc": { "start": { - "line": 460, + "line": 469, "column": 17 }, "end": { - "line": 462, + "line": 471, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 9694, - "end": 9733, + "start": 9867, + "end": 9906, "loc": { "start": { - "line": 461, + "line": 470, "column": 2 }, "end": { - "line": 461, + "line": 470, "column": 41 } }, "argument": { "type": "CallExpression", - "start": 9701, - "end": 9731, + "start": 9874, + "end": 9904, "loc": { "start": { - "line": 461, + "line": 470, "column": 9 }, "end": { - "line": 461, + "line": 470, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 9701, - "end": 9709, + "start": 9874, + "end": 9882, "loc": { "start": { - "line": 461, + "line": 470, "column": 9 }, "end": { - "line": 461, + "line": 470, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 9701, - "end": 9705, + "start": 9874, + "end": 9878, "loc": { "start": { - "line": 461, + "line": 470, "column": 9 }, "end": { - "line": 461, + "line": 470, "column": 13 } } }, "property": { "type": "Identifier", - "start": 9706, - "end": 9709, + "start": 9879, + "end": 9882, "loc": { "start": { - "line": 461, + "line": 470, "column": 14 }, "end": { - "line": 461, + "line": 470, "column": 17 }, "identifierName": "cmp" @@ -28258,29 +28838,29 @@ "arguments": [ { "type": "CallExpression", - "start": 9710, - "end": 9730, + "start": 9883, + "end": 9903, "loc": { "start": { - "line": 461, + "line": 470, "column": 18 }, "end": { - "line": 461, + "line": 470, "column": 38 } }, "callee": { "type": "Identifier", - "start": 9710, - "end": 9722, + "start": 9883, + "end": 9895, "loc": { "start": { - "line": 461, + "line": 470, "column": 18 }, "end": { - "line": 461, + "line": 470, "column": 30 }, "identifierName": "_from_number" @@ -28290,15 +28870,15 @@ "arguments": [ { "type": "Identifier", - "start": 9723, - "end": 9729, + "start": 9896, + "end": 9902, "loc": { "start": { - "line": 461, + "line": 470, "column": 31 }, "end": { - "line": 461, + "line": 470, "column": 37 }, "identifierName": "number" @@ -28316,15 +28896,15 @@ }, { "type": "ClassMethod", - "start": 9739, - "end": 9791, + "start": 9912, + "end": 9964, "loc": { "start": { - "line": 464, + "line": 473, "column": 1 }, "end": { - "line": 466, + "line": 475, "column": 2 } }, @@ -28332,15 +28912,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9739, - "end": 9741, + "start": 9912, + "end": 9914, "loc": { "start": { - "line": 464, + "line": 473, "column": 1 }, "end": { - "line": 464, + "line": 473, "column": 3 }, "identifierName": "eq" @@ -28355,15 +28935,15 @@ "params": [ { "type": "Identifier", - "start": 9744, - "end": 9749, + "start": 9917, + "end": 9922, "loc": { "start": { - "line": 464, + "line": 473, "column": 6 }, "end": { - "line": 464, + "line": 473, "column": 11 }, "identifierName": "other" @@ -28373,101 +28953,101 @@ ], "body": { "type": "BlockStatement", - "start": 9752, - "end": 9791, + "start": 9925, + "end": 9964, "loc": { "start": { - "line": 464, + "line": 473, "column": 14 }, "end": { - "line": 466, + "line": 475, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 9756, - "end": 9788, + "start": 9929, + "end": 9961, "loc": { "start": { - "line": 465, + "line": 474, "column": 2 }, "end": { - "line": 465, + "line": 474, "column": 34 } }, "argument": { "type": "BinaryExpression", - "start": 9763, - "end": 9786, + "start": 9936, + "end": 9959, "loc": { "start": { - "line": 465, + "line": 474, "column": 9 }, "end": { - "line": 465, + "line": 474, "column": 32 } }, "left": { "type": "CallExpression", - "start": 9763, - "end": 9780, + "start": 9936, + "end": 9953, "loc": { "start": { - "line": 465, + "line": 474, "column": 9 }, "end": { - "line": 465, + "line": 474, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 9763, - "end": 9771, + "start": 9936, + "end": 9944, "loc": { "start": { - "line": 465, + "line": 474, "column": 9 }, "end": { - "line": 465, + "line": 474, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 9763, - "end": 9767, + "start": 9936, + "end": 9940, "loc": { "start": { - "line": 465, + "line": 474, "column": 9 }, "end": { - "line": 465, + "line": 474, "column": 13 } } }, "property": { "type": "Identifier", - "start": 9768, - "end": 9771, + "start": 9941, + "end": 9944, "loc": { "start": { - "line": 465, + "line": 474, "column": 14 }, "end": { - "line": 465, + "line": 474, "column": 17 }, "identifierName": "cmp" @@ -28479,15 +29059,15 @@ "arguments": [ { "type": "Identifier", - "start": 9773, - "end": 9778, + "start": 9946, + "end": 9951, "loc": { "start": { - "line": 465, + "line": 474, "column": 19 }, "end": { - "line": 465, + "line": 474, "column": 24 }, "identifierName": "other" @@ -28499,15 +29079,15 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 9785, - "end": 9786, + "start": 9958, + "end": 9959, "loc": { "start": { - "line": 465, + "line": 474, "column": 31 }, "end": { - "line": 465, + "line": 474, "column": 32 } }, @@ -28525,15 +29105,15 @@ }, { "type": "ClassMethod", - "start": 9794, - "end": 9850, + "start": 9967, + "end": 10023, "loc": { "start": { - "line": 468, + "line": 477, "column": 1 }, "end": { - "line": 470, + "line": 479, "column": 2 } }, @@ -28541,15 +29121,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9794, - "end": 9797, + "start": 9967, + "end": 9970, "loc": { "start": { - "line": 468, + "line": 477, "column": 1 }, "end": { - "line": 468, + "line": 477, "column": 4 }, "identifierName": "eqn" @@ -28564,15 +29144,15 @@ "params": [ { "type": "Identifier", - "start": 9800, - "end": 9806, + "start": 9973, + "end": 9979, "loc": { "start": { - "line": 468, + "line": 477, "column": 7 }, "end": { - "line": 468, + "line": 477, "column": 13 }, "identifierName": "number" @@ -28582,101 +29162,101 @@ ], "body": { "type": "BlockStatement", - "start": 9809, - "end": 9850, + "start": 9982, + "end": 10023, "loc": { "start": { - "line": 468, + "line": 477, "column": 16 }, "end": { - "line": 470, + "line": 479, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 9813, - "end": 9847, + "start": 9986, + "end": 10020, "loc": { "start": { - "line": 469, + "line": 478, "column": 2 }, "end": { - "line": 469, + "line": 478, "column": 36 } }, "argument": { "type": "BinaryExpression", - "start": 9820, - "end": 9845, + "start": 9993, + "end": 10018, "loc": { "start": { - "line": 469, + "line": 478, "column": 9 }, "end": { - "line": 469, + "line": 478, "column": 34 } }, "left": { "type": "CallExpression", - "start": 9820, - "end": 9839, + "start": 9993, + "end": 10012, "loc": { "start": { - "line": 469, + "line": 478, "column": 9 }, "end": { - "line": 469, + "line": 478, "column": 28 } }, "callee": { "type": "MemberExpression", - "start": 9820, - "end": 9829, + "start": 9993, + "end": 10002, "loc": { "start": { - "line": 469, + "line": 478, "column": 9 }, "end": { - "line": 469, + "line": 478, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 9820, - "end": 9824, + "start": 9993, + "end": 9997, "loc": { "start": { - "line": 469, + "line": 478, "column": 9 }, "end": { - "line": 469, + "line": 478, "column": 13 } } }, "property": { "type": "Identifier", - "start": 9825, - "end": 9829, + "start": 9998, + "end": 10002, "loc": { "start": { - "line": 469, + "line": 478, "column": 14 }, "end": { - "line": 469, + "line": 478, "column": 18 }, "identifierName": "cmpn" @@ -28688,15 +29268,15 @@ "arguments": [ { "type": "Identifier", - "start": 9831, - "end": 9837, + "start": 10004, + "end": 10010, "loc": { "start": { - "line": 469, + "line": 478, "column": 20 }, "end": { - "line": 469, + "line": 478, "column": 26 }, "identifierName": "number" @@ -28708,15 +29288,15 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 9844, - "end": 9845, + "start": 10017, + "end": 10018, "loc": { "start": { - "line": 469, + "line": 478, "column": 33 }, "end": { - "line": 469, + "line": 478, "column": 34 } }, @@ -28734,15 +29314,15 @@ }, { "type": "ClassMethod", - "start": 9853, - "end": 9904, + "start": 10026, + "end": 10077, "loc": { "start": { - "line": 472, + "line": 481, "column": 1 }, "end": { - "line": 474, + "line": 483, "column": 2 } }, @@ -28750,15 +29330,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9853, - "end": 9855, + "start": 10026, + "end": 10028, "loc": { "start": { - "line": 472, + "line": 481, "column": 1 }, "end": { - "line": 472, + "line": 481, "column": 3 }, "identifierName": "ge" @@ -28773,15 +29353,15 @@ "params": [ { "type": "Identifier", - "start": 9858, - "end": 9863, + "start": 10031, + "end": 10036, "loc": { "start": { - "line": 472, + "line": 481, "column": 6 }, "end": { - "line": 472, + "line": 481, "column": 11 }, "identifierName": "other" @@ -28791,101 +29371,101 @@ ], "body": { "type": "BlockStatement", - "start": 9866, - "end": 9904, + "start": 10039, + "end": 10077, "loc": { "start": { - "line": 472, + "line": 481, "column": 14 }, "end": { - "line": 474, + "line": 483, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 9870, - "end": 9901, + "start": 10043, + "end": 10074, "loc": { "start": { - "line": 473, + "line": 482, "column": 2 }, "end": { - "line": 473, + "line": 482, "column": 33 } }, "argument": { "type": "BinaryExpression", - "start": 9877, - "end": 9899, + "start": 10050, + "end": 10072, "loc": { "start": { - "line": 473, + "line": 482, "column": 9 }, "end": { - "line": 473, + "line": 482, "column": 31 } }, "left": { "type": "CallExpression", - "start": 9877, - "end": 9894, + "start": 10050, + "end": 10067, "loc": { "start": { - "line": 473, + "line": 482, "column": 9 }, "end": { - "line": 473, + "line": 482, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 9877, - "end": 9885, + "start": 10050, + "end": 10058, "loc": { "start": { - "line": 473, + "line": 482, "column": 9 }, "end": { - "line": 473, + "line": 482, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 9877, - "end": 9881, + "start": 10050, + "end": 10054, "loc": { "start": { - "line": 473, + "line": 482, "column": 9 }, "end": { - "line": 473, + "line": 482, "column": 13 } } }, "property": { "type": "Identifier", - "start": 9882, - "end": 9885, + "start": 10055, + "end": 10058, "loc": { "start": { - "line": 473, + "line": 482, "column": 14 }, "end": { - "line": 473, + "line": 482, "column": 17 }, "identifierName": "cmp" @@ -28897,15 +29477,15 @@ "arguments": [ { "type": "Identifier", - "start": 9887, - "end": 9892, + "start": 10060, + "end": 10065, "loc": { "start": { - "line": 473, + "line": 482, "column": 19 }, "end": { - "line": 473, + "line": 482, "column": 24 }, "identifierName": "other" @@ -28917,15 +29497,15 @@ "operator": ">=", "right": { "type": "NumericLiteral", - "start": 9898, - "end": 9899, + "start": 10071, + "end": 10072, "loc": { "start": { - "line": 473, + "line": 482, "column": 30 }, "end": { - "line": 473, + "line": 482, "column": 31 } }, @@ -28943,15 +29523,15 @@ }, { "type": "ClassMethod", - "start": 9907, - "end": 9962, + "start": 10080, + "end": 10135, "loc": { "start": { - "line": 476, + "line": 485, "column": 1 }, "end": { - "line": 478, + "line": 487, "column": 2 } }, @@ -28959,15 +29539,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9907, - "end": 9910, + "start": 10080, + "end": 10083, "loc": { "start": { - "line": 476, + "line": 485, "column": 1 }, "end": { - "line": 476, + "line": 485, "column": 4 }, "identifierName": "gen" @@ -28982,15 +29562,15 @@ "params": [ { "type": "Identifier", - "start": 9913, - "end": 9919, + "start": 10086, + "end": 10092, "loc": { "start": { - "line": 476, + "line": 485, "column": 7 }, "end": { - "line": 476, + "line": 485, "column": 13 }, "identifierName": "number" @@ -29000,101 +29580,101 @@ ], "body": { "type": "BlockStatement", - "start": 9922, - "end": 9962, + "start": 10095, + "end": 10135, "loc": { "start": { - "line": 476, + "line": 485, "column": 16 }, "end": { - "line": 478, + "line": 487, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 9926, - "end": 9959, + "start": 10099, + "end": 10132, "loc": { "start": { - "line": 477, + "line": 486, "column": 2 }, "end": { - "line": 477, + "line": 486, "column": 35 } }, "argument": { "type": "BinaryExpression", - "start": 9933, - "end": 9957, + "start": 10106, + "end": 10130, "loc": { "start": { - "line": 477, + "line": 486, "column": 9 }, "end": { - "line": 477, + "line": 486, "column": 33 } }, "left": { "type": "CallExpression", - "start": 9933, - "end": 9952, + "start": 10106, + "end": 10125, "loc": { "start": { - "line": 477, + "line": 486, "column": 9 }, "end": { - "line": 477, + "line": 486, "column": 28 } }, "callee": { "type": "MemberExpression", - "start": 9933, - "end": 9942, + "start": 10106, + "end": 10115, "loc": { "start": { - "line": 477, + "line": 486, "column": 9 }, "end": { - "line": 477, + "line": 486, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 9933, - "end": 9937, + "start": 10106, + "end": 10110, "loc": { "start": { - "line": 477, + "line": 486, "column": 9 }, "end": { - "line": 477, + "line": 486, "column": 13 } } }, "property": { "type": "Identifier", - "start": 9938, - "end": 9942, + "start": 10111, + "end": 10115, "loc": { "start": { - "line": 477, + "line": 486, "column": 14 }, "end": { - "line": 477, + "line": 486, "column": 18 }, "identifierName": "cmpn" @@ -29106,15 +29686,15 @@ "arguments": [ { "type": "Identifier", - "start": 9944, - "end": 9950, + "start": 10117, + "end": 10123, "loc": { "start": { - "line": 477, + "line": 486, "column": 20 }, "end": { - "line": 477, + "line": 486, "column": 26 }, "identifierName": "number" @@ -29126,15 +29706,15 @@ "operator": ">=", "right": { "type": "NumericLiteral", - "start": 9956, - "end": 9957, + "start": 10129, + "end": 10130, "loc": { "start": { - "line": 477, + "line": 486, "column": 32 }, "end": { - "line": 477, + "line": 486, "column": 33 } }, @@ -29152,15 +29732,15 @@ }, { "type": "ClassMethod", - "start": 9965, - "end": 10015, + "start": 10138, + "end": 10188, "loc": { "start": { - "line": 480, + "line": 489, "column": 1 }, "end": { - "line": 482, + "line": 491, "column": 2 } }, @@ -29168,15 +29748,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9965, - "end": 9967, + "start": 10138, + "end": 10140, "loc": { "start": { - "line": 480, + "line": 489, "column": 1 }, "end": { - "line": 480, + "line": 489, "column": 3 }, "identifierName": "gt" @@ -29191,15 +29771,15 @@ "params": [ { "type": "Identifier", - "start": 9970, - "end": 9975, + "start": 10143, + "end": 10148, "loc": { "start": { - "line": 480, + "line": 489, "column": 6 }, "end": { - "line": 480, + "line": 489, "column": 11 }, "identifierName": "other" @@ -29209,101 +29789,101 @@ ], "body": { "type": "BlockStatement", - "start": 9978, - "end": 10015, + "start": 10151, + "end": 10188, "loc": { "start": { - "line": 480, + "line": 489, "column": 14 }, "end": { - "line": 482, + "line": 491, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 9982, - "end": 10012, + "start": 10155, + "end": 10185, "loc": { "start": { - "line": 481, + "line": 490, "column": 2 }, "end": { - "line": 481, + "line": 490, "column": 32 } }, "argument": { "type": "BinaryExpression", - "start": 9989, - "end": 10010, + "start": 10162, + "end": 10183, "loc": { "start": { - "line": 481, + "line": 490, "column": 9 }, "end": { - "line": 481, + "line": 490, "column": 30 } }, "left": { "type": "CallExpression", - "start": 9989, - "end": 10006, + "start": 10162, + "end": 10179, "loc": { "start": { - "line": 481, + "line": 490, "column": 9 }, "end": { - "line": 481, + "line": 490, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 9989, - "end": 9997, + "start": 10162, + "end": 10170, "loc": { "start": { - "line": 481, + "line": 490, "column": 9 }, "end": { - "line": 481, + "line": 490, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 9989, - "end": 9993, + "start": 10162, + "end": 10166, "loc": { "start": { - "line": 481, + "line": 490, "column": 9 }, "end": { - "line": 481, + "line": 490, "column": 13 } } }, "property": { "type": "Identifier", - "start": 9994, - "end": 9997, + "start": 10167, + "end": 10170, "loc": { "start": { - "line": 481, + "line": 490, "column": 14 }, "end": { - "line": 481, + "line": 490, "column": 17 }, "identifierName": "cmp" @@ -29315,15 +29895,15 @@ "arguments": [ { "type": "Identifier", - "start": 9999, - "end": 10004, + "start": 10172, + "end": 10177, "loc": { "start": { - "line": 481, + "line": 490, "column": 19 }, "end": { - "line": 481, + "line": 490, "column": 24 }, "identifierName": "other" @@ -29335,15 +29915,15 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 10009, - "end": 10010, + "start": 10182, + "end": 10183, "loc": { "start": { - "line": 481, + "line": 490, "column": 29 }, "end": { - "line": 481, + "line": 490, "column": 30 } }, @@ -29361,15 +29941,15 @@ }, { "type": "ClassMethod", - "start": 10018, - "end": 10072, + "start": 10191, + "end": 10245, "loc": { "start": { - "line": 484, + "line": 493, "column": 1 }, "end": { - "line": 486, + "line": 495, "column": 2 } }, @@ -29377,15 +29957,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10018, - "end": 10021, + "start": 10191, + "end": 10194, "loc": { "start": { - "line": 484, + "line": 493, "column": 1 }, "end": { - "line": 484, + "line": 493, "column": 4 }, "identifierName": "gtn" @@ -29400,15 +29980,15 @@ "params": [ { "type": "Identifier", - "start": 10024, - "end": 10030, + "start": 10197, + "end": 10203, "loc": { "start": { - "line": 484, + "line": 493, "column": 7 }, "end": { - "line": 484, + "line": 493, "column": 13 }, "identifierName": "number" @@ -29418,101 +29998,101 @@ ], "body": { "type": "BlockStatement", - "start": 10033, - "end": 10072, + "start": 10206, + "end": 10245, "loc": { "start": { - "line": 484, + "line": 493, "column": 16 }, "end": { - "line": 486, + "line": 495, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 10037, - "end": 10069, + "start": 10210, + "end": 10242, "loc": { "start": { - "line": 485, + "line": 494, "column": 2 }, "end": { - "line": 485, + "line": 494, "column": 34 } }, "argument": { "type": "BinaryExpression", - "start": 10044, - "end": 10067, + "start": 10217, + "end": 10240, "loc": { "start": { - "line": 485, + "line": 494, "column": 9 }, "end": { - "line": 485, + "line": 494, "column": 32 } }, "left": { "type": "CallExpression", - "start": 10044, - "end": 10063, + "start": 10217, + "end": 10236, "loc": { "start": { - "line": 485, + "line": 494, "column": 9 }, "end": { - "line": 485, + "line": 494, "column": 28 } }, "callee": { "type": "MemberExpression", - "start": 10044, - "end": 10053, + "start": 10217, + "end": 10226, "loc": { "start": { - "line": 485, + "line": 494, "column": 9 }, "end": { - "line": 485, + "line": 494, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 10044, - "end": 10048, + "start": 10217, + "end": 10221, "loc": { "start": { - "line": 485, + "line": 494, "column": 9 }, "end": { - "line": 485, + "line": 494, "column": 13 } } }, "property": { "type": "Identifier", - "start": 10049, - "end": 10053, + "start": 10222, + "end": 10226, "loc": { "start": { - "line": 485, + "line": 494, "column": 14 }, "end": { - "line": 485, + "line": 494, "column": 18 }, "identifierName": "cmpn" @@ -29524,15 +30104,15 @@ "arguments": [ { "type": "Identifier", - "start": 10055, - "end": 10061, + "start": 10228, + "end": 10234, "loc": { "start": { - "line": 485, + "line": 494, "column": 20 }, "end": { - "line": 485, + "line": 494, "column": 26 }, "identifierName": "number" @@ -29544,15 +30124,15 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 10066, - "end": 10067, + "start": 10239, + "end": 10240, "loc": { "start": { - "line": 485, + "line": 494, "column": 31 }, "end": { - "line": 485, + "line": 494, "column": 32 } }, @@ -29570,15 +30150,15 @@ }, { "type": "ClassMethod", - "start": 10075, - "end": 10126, + "start": 10248, + "end": 10299, "loc": { "start": { - "line": 488, + "line": 497, "column": 1 }, "end": { - "line": 490, + "line": 499, "column": 2 } }, @@ -29586,15 +30166,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10075, - "end": 10077, + "start": 10248, + "end": 10250, "loc": { "start": { - "line": 488, + "line": 497, "column": 1 }, "end": { - "line": 488, + "line": 497, "column": 3 }, "identifierName": "le" @@ -29609,15 +30189,15 @@ "params": [ { "type": "Identifier", - "start": 10080, - "end": 10085, + "start": 10253, + "end": 10258, "loc": { "start": { - "line": 488, + "line": 497, "column": 6 }, "end": { - "line": 488, + "line": 497, "column": 11 }, "identifierName": "other" @@ -29627,101 +30207,101 @@ ], "body": { "type": "BlockStatement", - "start": 10088, - "end": 10126, + "start": 10261, + "end": 10299, "loc": { "start": { - "line": 488, + "line": 497, "column": 14 }, "end": { - "line": 490, + "line": 499, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 10092, - "end": 10123, + "start": 10265, + "end": 10296, "loc": { "start": { - "line": 489, + "line": 498, "column": 2 }, "end": { - "line": 489, + "line": 498, "column": 33 } }, "argument": { "type": "BinaryExpression", - "start": 10099, - "end": 10121, + "start": 10272, + "end": 10294, "loc": { "start": { - "line": 489, + "line": 498, "column": 9 }, "end": { - "line": 489, + "line": 498, "column": 31 } }, "left": { "type": "CallExpression", - "start": 10099, - "end": 10116, + "start": 10272, + "end": 10289, "loc": { "start": { - "line": 489, + "line": 498, "column": 9 }, "end": { - "line": 489, + "line": 498, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 10099, - "end": 10107, + "start": 10272, + "end": 10280, "loc": { "start": { - "line": 489, + "line": 498, "column": 9 }, "end": { - "line": 489, + "line": 498, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 10099, - "end": 10103, + "start": 10272, + "end": 10276, "loc": { "start": { - "line": 489, + "line": 498, "column": 9 }, "end": { - "line": 489, + "line": 498, "column": 13 } } }, "property": { "type": "Identifier", - "start": 10104, - "end": 10107, + "start": 10277, + "end": 10280, "loc": { "start": { - "line": 489, + "line": 498, "column": 14 }, "end": { - "line": 489, + "line": 498, "column": 17 }, "identifierName": "cmp" @@ -29733,15 +30313,15 @@ "arguments": [ { "type": "Identifier", - "start": 10109, - "end": 10114, + "start": 10282, + "end": 10287, "loc": { "start": { - "line": 489, + "line": 498, "column": 19 }, "end": { - "line": 489, + "line": 498, "column": 24 }, "identifierName": "other" @@ -29753,15 +30333,15 @@ "operator": "<=", "right": { "type": "NumericLiteral", - "start": 10120, - "end": 10121, + "start": 10293, + "end": 10294, "loc": { "start": { - "line": 489, + "line": 498, "column": 30 }, "end": { - "line": 489, + "line": 498, "column": 31 } }, @@ -29779,15 +30359,15 @@ }, { "type": "ClassMethod", - "start": 10129, - "end": 10184, + "start": 10302, + "end": 10357, "loc": { "start": { - "line": 492, + "line": 501, "column": 1 }, "end": { - "line": 494, + "line": 503, "column": 2 } }, @@ -29795,15 +30375,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10129, - "end": 10132, + "start": 10302, + "end": 10305, "loc": { "start": { - "line": 492, + "line": 501, "column": 1 }, "end": { - "line": 492, + "line": 501, "column": 4 }, "identifierName": "len" @@ -29818,15 +30398,15 @@ "params": [ { "type": "Identifier", - "start": 10135, - "end": 10141, + "start": 10308, + "end": 10314, "loc": { "start": { - "line": 492, + "line": 501, "column": 7 }, "end": { - "line": 492, + "line": 501, "column": 13 }, "identifierName": "number" @@ -29836,101 +30416,101 @@ ], "body": { "type": "BlockStatement", - "start": 10144, - "end": 10184, + "start": 10317, + "end": 10357, "loc": { "start": { - "line": 492, + "line": 501, "column": 16 }, "end": { - "line": 494, + "line": 503, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 10148, - "end": 10181, + "start": 10321, + "end": 10354, "loc": { "start": { - "line": 493, + "line": 502, "column": 2 }, "end": { - "line": 493, + "line": 502, "column": 35 } }, "argument": { "type": "BinaryExpression", - "start": 10155, - "end": 10179, + "start": 10328, + "end": 10352, "loc": { "start": { - "line": 493, + "line": 502, "column": 9 }, "end": { - "line": 493, + "line": 502, "column": 33 } }, "left": { "type": "CallExpression", - "start": 10155, - "end": 10174, + "start": 10328, + "end": 10347, "loc": { "start": { - "line": 493, + "line": 502, "column": 9 }, "end": { - "line": 493, + "line": 502, "column": 28 } }, "callee": { "type": "MemberExpression", - "start": 10155, - "end": 10164, + "start": 10328, + "end": 10337, "loc": { "start": { - "line": 493, + "line": 502, "column": 9 }, "end": { - "line": 493, + "line": 502, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 10155, - "end": 10159, + "start": 10328, + "end": 10332, "loc": { "start": { - "line": 493, + "line": 502, "column": 9 }, "end": { - "line": 493, + "line": 502, "column": 13 } } }, "property": { "type": "Identifier", - "start": 10160, - "end": 10164, + "start": 10333, + "end": 10337, "loc": { "start": { - "line": 493, + "line": 502, "column": 14 }, "end": { - "line": 493, + "line": 502, "column": 18 }, "identifierName": "cmpn" @@ -29942,15 +30522,15 @@ "arguments": [ { "type": "Identifier", - "start": 10166, - "end": 10172, + "start": 10339, + "end": 10345, "loc": { "start": { - "line": 493, + "line": 502, "column": 20 }, "end": { - "line": 493, + "line": 502, "column": 26 }, "identifierName": "number" @@ -29962,15 +30542,15 @@ "operator": "<=", "right": { "type": "NumericLiteral", - "start": 10178, - "end": 10179, + "start": 10351, + "end": 10352, "loc": { "start": { - "line": 493, + "line": 502, "column": 32 }, "end": { - "line": 493, + "line": 502, "column": 33 } }, @@ -29988,15 +30568,15 @@ }, { "type": "ClassMethod", - "start": 10187, - "end": 10237, + "start": 10360, + "end": 10410, "loc": { "start": { - "line": 496, + "line": 505, "column": 1 }, "end": { - "line": 498, + "line": 507, "column": 2 } }, @@ -30004,15 +30584,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10187, - "end": 10189, + "start": 10360, + "end": 10362, "loc": { "start": { - "line": 496, + "line": 505, "column": 1 }, "end": { - "line": 496, + "line": 505, "column": 3 }, "identifierName": "lt" @@ -30027,15 +30607,15 @@ "params": [ { "type": "Identifier", - "start": 10192, - "end": 10197, + "start": 10365, + "end": 10370, "loc": { "start": { - "line": 496, + "line": 505, "column": 6 }, "end": { - "line": 496, + "line": 505, "column": 11 }, "identifierName": "other" @@ -30045,101 +30625,101 @@ ], "body": { "type": "BlockStatement", - "start": 10200, - "end": 10237, + "start": 10373, + "end": 10410, "loc": { "start": { - "line": 496, + "line": 505, "column": 14 }, "end": { - "line": 498, + "line": 507, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 10204, - "end": 10234, + "start": 10377, + "end": 10407, "loc": { "start": { - "line": 497, + "line": 506, "column": 2 }, "end": { - "line": 497, + "line": 506, "column": 32 } }, "argument": { "type": "BinaryExpression", - "start": 10211, - "end": 10232, + "start": 10384, + "end": 10405, "loc": { "start": { - "line": 497, + "line": 506, "column": 9 }, "end": { - "line": 497, + "line": 506, "column": 30 } }, "left": { "type": "CallExpression", - "start": 10211, - "end": 10228, + "start": 10384, + "end": 10401, "loc": { "start": { - "line": 497, + "line": 506, "column": 9 }, "end": { - "line": 497, + "line": 506, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 10211, - "end": 10219, + "start": 10384, + "end": 10392, "loc": { "start": { - "line": 497, + "line": 506, "column": 9 }, "end": { - "line": 497, + "line": 506, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 10211, - "end": 10215, + "start": 10384, + "end": 10388, "loc": { "start": { - "line": 497, + "line": 506, "column": 9 }, "end": { - "line": 497, + "line": 506, "column": 13 } } }, "property": { "type": "Identifier", - "start": 10216, - "end": 10219, + "start": 10389, + "end": 10392, "loc": { "start": { - "line": 497, + "line": 506, "column": 14 }, "end": { - "line": 497, + "line": 506, "column": 17 }, "identifierName": "cmp" @@ -30151,15 +30731,15 @@ "arguments": [ { "type": "Identifier", - "start": 10221, - "end": 10226, + "start": 10394, + "end": 10399, "loc": { "start": { - "line": 497, + "line": 506, "column": 19 }, "end": { - "line": 497, + "line": 506, "column": 24 }, "identifierName": "other" @@ -30171,15 +30751,15 @@ "operator": "<", "right": { "type": "NumericLiteral", - "start": 10231, - "end": 10232, + "start": 10404, + "end": 10405, "loc": { "start": { - "line": 497, + "line": 506, "column": 29 }, "end": { - "line": 497, + "line": 506, "column": 30 } }, @@ -30197,15 +30777,15 @@ }, { "type": "ClassMethod", - "start": 10240, - "end": 10294, + "start": 10413, + "end": 10467, "loc": { "start": { - "line": 500, + "line": 509, "column": 1 }, "end": { - "line": 502, + "line": 511, "column": 2 } }, @@ -30213,15 +30793,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10240, - "end": 10243, + "start": 10413, + "end": 10416, "loc": { "start": { - "line": 500, + "line": 509, "column": 1 }, "end": { - "line": 500, + "line": 509, "column": 4 }, "identifierName": "ltn" @@ -30236,15 +30816,15 @@ "params": [ { "type": "Identifier", - "start": 10246, - "end": 10252, + "start": 10419, + "end": 10425, "loc": { "start": { - "line": 500, + "line": 509, "column": 7 }, "end": { - "line": 500, + "line": 509, "column": 13 }, "identifierName": "number" @@ -30254,101 +30834,101 @@ ], "body": { "type": "BlockStatement", - "start": 10255, - "end": 10294, + "start": 10428, + "end": 10467, "loc": { "start": { - "line": 500, + "line": 509, "column": 16 }, "end": { - "line": 502, + "line": 511, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 10259, - "end": 10291, + "start": 10432, + "end": 10464, "loc": { "start": { - "line": 501, + "line": 510, "column": 2 }, "end": { - "line": 501, + "line": 510, "column": 34 } }, "argument": { "type": "BinaryExpression", - "start": 10266, - "end": 10289, + "start": 10439, + "end": 10462, "loc": { "start": { - "line": 501, + "line": 510, "column": 9 }, "end": { - "line": 501, + "line": 510, "column": 32 } }, "left": { "type": "CallExpression", - "start": 10266, - "end": 10285, + "start": 10439, + "end": 10458, "loc": { "start": { - "line": 501, + "line": 510, "column": 9 }, "end": { - "line": 501, + "line": 510, "column": 28 } }, "callee": { "type": "MemberExpression", - "start": 10266, - "end": 10275, + "start": 10439, + "end": 10448, "loc": { "start": { - "line": 501, + "line": 510, "column": 9 }, "end": { - "line": 501, + "line": 510, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 10266, - "end": 10270, + "start": 10439, + "end": 10443, "loc": { "start": { - "line": 501, + "line": 510, "column": 9 }, "end": { - "line": 501, + "line": 510, "column": 13 } } }, "property": { "type": "Identifier", - "start": 10271, - "end": 10275, + "start": 10444, + "end": 10448, "loc": { "start": { - "line": 501, + "line": 510, "column": 14 }, "end": { - "line": 501, + "line": 510, "column": 18 }, "identifierName": "cmpn" @@ -30360,15 +30940,15 @@ "arguments": [ { "type": "Identifier", - "start": 10277, - "end": 10283, + "start": 10450, + "end": 10456, "loc": { "start": { - "line": 501, + "line": 510, "column": 20 }, "end": { - "line": 501, + "line": 510, "column": 26 }, "identifierName": "number" @@ -30380,15 +30960,15 @@ "operator": "<", "right": { "type": "NumericLiteral", - "start": 10288, - "end": 10289, + "start": 10461, + "end": 10462, "loc": { "start": { - "line": 501, + "line": 510, "column": 31 }, "end": { - "line": 501, + "line": 510, "column": 32 } }, @@ -30406,15 +30986,15 @@ }, { "type": "ClassMethod", - "start": 10297, - "end": 10349, + "start": 10470, + "end": 10522, "loc": { "start": { - "line": 504, + "line": 513, "column": 1 }, "end": { - "line": 506, + "line": 515, "column": 2 } }, @@ -30422,15 +31002,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10297, - "end": 10299, + "start": 10470, + "end": 10472, "loc": { "start": { - "line": 504, + "line": 513, "column": 1 }, "end": { - "line": 504, + "line": 513, "column": 3 }, "identifierName": "ne" @@ -30445,15 +31025,15 @@ "params": [ { "type": "Identifier", - "start": 10302, - "end": 10307, + "start": 10475, + "end": 10480, "loc": { "start": { - "line": 504, + "line": 513, "column": 6 }, "end": { - "line": 504, + "line": 513, "column": 11 }, "identifierName": "other" @@ -30463,101 +31043,101 @@ ], "body": { "type": "BlockStatement", - "start": 10310, - "end": 10349, + "start": 10483, + "end": 10522, "loc": { "start": { - "line": 504, + "line": 513, "column": 14 }, "end": { - "line": 506, + "line": 515, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 10314, - "end": 10346, + "start": 10487, + "end": 10519, "loc": { "start": { - "line": 505, + "line": 514, "column": 2 }, "end": { - "line": 505, + "line": 514, "column": 34 } }, "argument": { "type": "BinaryExpression", - "start": 10321, - "end": 10344, + "start": 10494, + "end": 10517, "loc": { "start": { - "line": 505, + "line": 514, "column": 9 }, "end": { - "line": 505, + "line": 514, "column": 32 } }, "left": { "type": "CallExpression", - "start": 10321, - "end": 10338, + "start": 10494, + "end": 10511, "loc": { "start": { - "line": 505, + "line": 514, "column": 9 }, "end": { - "line": 505, + "line": 514, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 10321, - "end": 10329, + "start": 10494, + "end": 10502, "loc": { "start": { - "line": 505, + "line": 514, "column": 9 }, "end": { - "line": 505, + "line": 514, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 10321, - "end": 10325, + "start": 10494, + "end": 10498, "loc": { "start": { - "line": 505, + "line": 514, "column": 9 }, "end": { - "line": 505, + "line": 514, "column": 13 } } }, "property": { "type": "Identifier", - "start": 10326, - "end": 10329, + "start": 10499, + "end": 10502, "loc": { "start": { - "line": 505, + "line": 514, "column": 14 }, "end": { - "line": 505, + "line": 514, "column": 17 }, "identifierName": "cmp" @@ -30569,15 +31149,15 @@ "arguments": [ { "type": "Identifier", - "start": 10331, - "end": 10336, + "start": 10504, + "end": 10509, "loc": { "start": { - "line": 505, + "line": 514, "column": 19 }, "end": { - "line": 505, + "line": 514, "column": 24 }, "identifierName": "other" @@ -30589,15 +31169,15 @@ "operator": "!==", "right": { "type": "NumericLiteral", - "start": 10343, - "end": 10344, + "start": 10516, + "end": 10517, "loc": { "start": { - "line": 505, + "line": 514, "column": 31 }, "end": { - "line": 505, + "line": 514, "column": 32 } }, @@ -30615,15 +31195,15 @@ }, { "type": "ClassMethod", - "start": 10352, - "end": 10408, + "start": 10525, + "end": 10581, "loc": { "start": { - "line": 508, + "line": 517, "column": 1 }, "end": { - "line": 510, + "line": 519, "column": 2 } }, @@ -30631,15 +31211,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10352, - "end": 10355, + "start": 10525, + "end": 10528, "loc": { "start": { - "line": 508, + "line": 517, "column": 1 }, "end": { - "line": 508, + "line": 517, "column": 4 }, "identifierName": "nen" @@ -30654,15 +31234,15 @@ "params": [ { "type": "Identifier", - "start": 10358, - "end": 10364, + "start": 10531, + "end": 10537, "loc": { "start": { - "line": 508, + "line": 517, "column": 7 }, "end": { - "line": 508, + "line": 517, "column": 13 }, "identifierName": "number" @@ -30672,101 +31252,101 @@ ], "body": { "type": "BlockStatement", - "start": 10367, - "end": 10408, + "start": 10540, + "end": 10581, "loc": { "start": { - "line": 508, + "line": 517, "column": 16 }, "end": { - "line": 510, + "line": 519, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 10371, - "end": 10405, + "start": 10544, + "end": 10578, "loc": { "start": { - "line": 509, + "line": 518, "column": 2 }, "end": { - "line": 509, + "line": 518, "column": 36 } }, "argument": { "type": "BinaryExpression", - "start": 10378, - "end": 10403, + "start": 10551, + "end": 10576, "loc": { "start": { - "line": 509, + "line": 518, "column": 9 }, "end": { - "line": 509, + "line": 518, "column": 34 } }, "left": { "type": "CallExpression", - "start": 10378, - "end": 10397, + "start": 10551, + "end": 10570, "loc": { "start": { - "line": 509, + "line": 518, "column": 9 }, "end": { - "line": 509, + "line": 518, "column": 28 } }, "callee": { "type": "MemberExpression", - "start": 10378, - "end": 10387, + "start": 10551, + "end": 10560, "loc": { "start": { - "line": 509, + "line": 518, "column": 9 }, "end": { - "line": 509, + "line": 518, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 10378, - "end": 10382, + "start": 10551, + "end": 10555, "loc": { "start": { - "line": 509, + "line": 518, "column": 9 }, "end": { - "line": 509, + "line": 518, "column": 13 } } }, "property": { "type": "Identifier", - "start": 10383, - "end": 10387, + "start": 10556, + "end": 10560, "loc": { "start": { - "line": 509, + "line": 518, "column": 14 }, "end": { - "line": 509, + "line": 518, "column": 18 }, "identifierName": "cmpn" @@ -30778,15 +31358,15 @@ "arguments": [ { "type": "Identifier", - "start": 10389, - "end": 10395, + "start": 10562, + "end": 10568, "loc": { "start": { - "line": 509, + "line": 518, "column": 20 }, "end": { - "line": 509, + "line": 518, "column": 26 }, "identifierName": "number" @@ -30798,15 +31378,15 @@ "operator": "!==", "right": { "type": "NumericLiteral", - "start": 10402, - "end": 10403, + "start": 10575, + "end": 10576, "loc": { "start": { - "line": 509, + "line": 518, "column": 33 }, "end": { - "line": 509, + "line": 518, "column": 34 } }, @@ -30824,15 +31404,15 @@ }, { "type": "ClassMethod", - "start": 10411, - "end": 10716, + "start": 10584, + "end": 10889, "loc": { "start": { - "line": 512, + "line": 521, "column": 1 }, "end": { - "line": 520, + "line": 529, "column": 2 } }, @@ -30840,15 +31420,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10411, - "end": 10414, + "start": 10584, + "end": 10587, "loc": { "start": { - "line": 512, + "line": 521, "column": 1 }, "end": { - "line": 512, + "line": 521, "column": 4 }, "identifierName": "gcd" @@ -30863,15 +31443,15 @@ "params": [ { "type": "Identifier", - "start": 10417, - "end": 10422, + "start": 10590, + "end": 10595, "loc": { "start": { - "line": 512, + "line": 521, "column": 7 }, "end": { - "line": 512, + "line": 521, "column": 12 }, "identifierName": "other" @@ -30881,59 +31461,59 @@ ], "body": { "type": "BlockStatement", - "start": 10425, - "end": 10716, + "start": 10598, + "end": 10889, "loc": { "start": { - "line": 512, + "line": 521, "column": 15 }, "end": { - "line": 520, + "line": 529, "column": 2 } }, "body": [ { "type": "VariableDeclaration", - "start": 10429, - "end": 10450, + "start": 10602, + "end": 10623, "loc": { "start": { - "line": 513, + "line": 522, "column": 2 }, "end": { - "line": 513, + "line": 522, "column": 23 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 10435, - "end": 10448, + "start": 10608, + "end": 10621, "loc": { "start": { - "line": 513, + "line": 522, "column": 8 }, "end": { - "line": 513, + "line": 522, "column": 21 } }, "id": { "type": "Identifier", - "start": 10435, - "end": 10436, + "start": 10608, + "end": 10609, "loc": { "start": { - "line": 513, + "line": 522, "column": 8 }, "end": { - "line": 513, + "line": 522, "column": 9 }, "identifierName": "r" @@ -30942,44 +31522,44 @@ }, "init": { "type": "MemberExpression", - "start": 10439, - "end": 10448, + "start": 10612, + "end": 10621, "loc": { "start": { - "line": 513, + "line": 522, "column": 12 }, "end": { - "line": 513, + "line": 522, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 10439, - "end": 10443, + "start": 10612, + "end": 10616, "loc": { "start": { - "line": 513, + "line": 522, "column": 12 }, "end": { - "line": 513, + "line": 522, "column": 16 } } }, "property": { "type": "Identifier", - "start": 10444, - "end": 10448, + "start": 10617, + "end": 10621, "loc": { "start": { - "line": 513, + "line": 522, "column": 17 }, "end": { - "line": 513, + "line": 522, "column": 21 }, "identifierName": "base" @@ -30994,44 +31574,44 @@ }, { "type": "VariableDeclaration", - "start": 10453, - "end": 10475, + "start": 10626, + "end": 10648, "loc": { "start": { - "line": 514, + "line": 523, "column": 2 }, "end": { - "line": 514, + "line": 523, "column": 24 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 10459, - "end": 10473, + "start": 10632, + "end": 10646, "loc": { "start": { - "line": 514, + "line": 523, "column": 8 }, "end": { - "line": 514, + "line": 523, "column": 22 } }, "id": { "type": "Identifier", - "start": 10459, - "end": 10460, + "start": 10632, + "end": 10633, "loc": { "start": { - "line": 514, + "line": 523, "column": 8 }, "end": { - "line": 514, + "line": 523, "column": 9 }, "identifierName": "a" @@ -31040,44 +31620,44 @@ }, "init": { "type": "MemberExpression", - "start": 10463, - "end": 10473, + "start": 10636, + "end": 10646, "loc": { "start": { - "line": 514, + "line": 523, "column": 12 }, "end": { - "line": 514, + "line": 523, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 10463, - "end": 10467, + "start": 10636, + "end": 10640, "loc": { "start": { - "line": 514, + "line": 523, "column": 12 }, "end": { - "line": 514, + "line": 523, "column": 16 } } }, "property": { "type": "Identifier", - "start": 10468, - "end": 10473, + "start": 10641, + "end": 10646, "loc": { "start": { - "line": 514, + "line": 523, "column": 17 }, "end": { - "line": 514, + "line": 523, "column": 22 }, "identifierName": "limbs" @@ -31092,44 +31672,44 @@ }, { "type": "VariableDeclaration", - "start": 10478, - "end": 10515, + "start": 10651, + "end": 10688, "loc": { "start": { - "line": 515, + "line": 524, "column": 2 }, "end": { - "line": 515, + "line": 524, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 10484, - "end": 10513, + "start": 10657, + "end": 10686, "loc": { "start": { - "line": 515, + "line": 524, "column": 8 }, "end": { - "line": 515, + "line": 524, "column": 37 } }, "id": { "type": "Identifier", - "start": 10484, - "end": 10485, + "start": 10657, + "end": 10658, "loc": { "start": { - "line": 515, + "line": 524, "column": 8 }, "end": { - "line": 515, + "line": 524, "column": 9 }, "identifierName": "b" @@ -31138,43 +31718,43 @@ }, "init": { "type": "CallExpression", - "start": 10488, - "end": 10513, + "start": 10661, + "end": 10686, "loc": { "start": { - "line": 515, + "line": 524, "column": 12 }, "end": { - "line": 515, + "line": 524, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 10488, - "end": 10508, + "start": 10661, + "end": 10681, "loc": { "start": { - "line": 515, + "line": 524, "column": 12 }, "end": { - "line": 515, + "line": 524, "column": 32 } }, "object": { "type": "Identifier", - "start": 10488, - "end": 10493, + "start": 10661, + "end": 10666, "loc": { "start": { - "line": 515, + "line": 524, "column": 12 }, "end": { - "line": 515, + "line": 524, "column": 17 }, "identifierName": "other" @@ -31183,15 +31763,15 @@ }, "property": { "type": "Identifier", - "start": 10494, - "end": 10508, + "start": 10667, + "end": 10681, "loc": { "start": { - "line": 515, + "line": 524, "column": 18 }, "end": { - "line": 515, + "line": 524, "column": 32 }, "identifierName": "_limbs_in_base" @@ -31203,15 +31783,15 @@ "arguments": [ { "type": "Identifier", - "start": 10510, - "end": 10511, + "start": 10683, + "end": 10684, "loc": { "start": { - "line": 515, + "line": 524, "column": 34 }, "end": { - "line": 515, + "line": 524, "column": 35 }, "identifierName": "r" @@ -31226,59 +31806,59 @@ }, { "type": "VariableDeclaration", - "start": 10518, - "end": 10606, + "start": 10691, + "end": 10779, "loc": { "start": { - "line": 516, + "line": 525, "column": 2 }, "end": { - "line": 516, + "line": 525, "column": 90 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 10524, - "end": 10604, + "start": 10697, + "end": 10777, "loc": { "start": { - "line": 516, + "line": 525, "column": 8 }, "end": { - "line": 516, + "line": 525, "column": 88 } }, "id": { "type": "ArrayPattern", - "start": 10524, - "end": 10539, + "start": 10697, + "end": 10712, "loc": { "start": { - "line": 516, + "line": 525, "column": 8 }, "end": { - "line": 516, + "line": 525, "column": 23 } }, "elements": [ { "type": "Identifier", - "start": 10526, - "end": 10527, + "start": 10699, + "end": 10700, "loc": { "start": { - "line": 516, + "line": 525, "column": 10 }, "end": { - "line": 516, + "line": 525, "column": 11 }, "identifierName": "d" @@ -31287,15 +31867,15 @@ }, { "type": "Identifier", - "start": 10530, - "end": 10532, + "start": 10703, + "end": 10705, "loc": { "start": { - "line": 516, + "line": 525, "column": 14 }, "end": { - "line": 516, + "line": 525, "column": 16 }, "identifierName": "di" @@ -31304,15 +31884,15 @@ }, { "type": "Identifier", - "start": 10535, - "end": 10537, + "start": 10708, + "end": 10710, "loc": { "start": { - "line": 516, + "line": 525, "column": 19 }, "end": { - "line": 516, + "line": 525, "column": 21 }, "identifierName": "dj" @@ -31323,29 +31903,29 @@ }, "init": { "type": "CallExpression", - "start": 10542, - "end": 10604, + "start": 10715, + "end": 10777, "loc": { "start": { - "line": 516, + "line": 525, "column": 26 }, "end": { - "line": 516, + "line": 525, "column": 88 } }, "callee": { "type": "Identifier", - "start": 10542, - "end": 10561, + "start": 10715, + "end": 10734, "loc": { "start": { - "line": 516, + "line": 525, "column": 26 }, "end": { - "line": 516, + "line": 525, "column": 45 }, "identifierName": "euclidean_algorithm" @@ -31355,15 +31935,15 @@ "arguments": [ { "type": "Identifier", - "start": 10563, - "end": 10564, + "start": 10736, + "end": 10737, "loc": { "start": { - "line": 516, + "line": 525, "column": 47 }, "end": { - "line": 516, + "line": 525, "column": 48 }, "identifierName": "r" @@ -31372,15 +31952,15 @@ }, { "type": "Identifier", - "start": 10567, - "end": 10568, + "start": 10740, + "end": 10741, "loc": { "start": { - "line": 516, + "line": 525, "column": 51 }, "end": { - "line": 516, + "line": 525, "column": 52 }, "identifierName": "a" @@ -31389,15 +31969,15 @@ }, { "type": "NumericLiteral", - "start": 10571, - "end": 10572, + "start": 10744, + "end": 10745, "loc": { "start": { - "line": 516, + "line": 525, "column": 55 }, "end": { - "line": 516, + "line": 525, "column": 56 } }, @@ -31409,29 +31989,29 @@ }, { "type": "MemberExpression", - "start": 10575, - "end": 10583, + "start": 10748, + "end": 10756, "loc": { "start": { - "line": 516, + "line": 525, "column": 59 }, "end": { - "line": 516, + "line": 525, "column": 67 } }, "object": { "type": "Identifier", - "start": 10575, - "end": 10576, + "start": 10748, + "end": 10749, "loc": { "start": { - "line": 516, + "line": 525, "column": 59 }, "end": { - "line": 516, + "line": 525, "column": 60 }, "identifierName": "a" @@ -31440,15 +32020,15 @@ }, "property": { "type": "Identifier", - "start": 10577, - "end": 10583, + "start": 10750, + "end": 10756, "loc": { "start": { - "line": 516, + "line": 525, "column": 61 }, "end": { - "line": 516, + "line": 525, "column": 67 }, "identifierName": "length" @@ -31459,15 +32039,15 @@ }, { "type": "Identifier", - "start": 10586, - "end": 10587, + "start": 10759, + "end": 10760, "loc": { "start": { - "line": 516, + "line": 525, "column": 70 }, "end": { - "line": 516, + "line": 525, "column": 71 }, "identifierName": "b" @@ -31476,15 +32056,15 @@ }, { "type": "NumericLiteral", - "start": 10590, - "end": 10591, + "start": 10763, + "end": 10764, "loc": { "start": { - "line": 516, + "line": 525, "column": 74 }, "end": { - "line": 516, + "line": 525, "column": 75 } }, @@ -31496,29 +32076,29 @@ }, { "type": "MemberExpression", - "start": 10594, - "end": 10602, + "start": 10767, + "end": 10775, "loc": { "start": { - "line": 516, + "line": 525, "column": 78 }, "end": { - "line": 516, + "line": 525, "column": 86 } }, "object": { "type": "Identifier", - "start": 10594, - "end": 10595, + "start": 10767, + "end": 10768, "loc": { "start": { - "line": 516, + "line": 525, "column": 78 }, "end": { - "line": 516, + "line": 525, "column": 79 }, "identifierName": "b" @@ -31527,15 +32107,15 @@ }, "property": { "type": "Identifier", - "start": 10596, - "end": 10602, + "start": 10769, + "end": 10775, "loc": { "start": { - "line": 516, + "line": 525, "column": 80 }, "end": { - "line": 516, + "line": 525, "column": 86 }, "identifierName": "length" @@ -31552,44 +32132,44 @@ }, { "type": "VariableDeclaration", - "start": 10609, - "end": 10640, + "start": 10782, + "end": 10813, "loc": { "start": { - "line": 517, + "line": 526, "column": 2 }, "end": { - "line": 517, + "line": 526, "column": 33 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 10615, - "end": 10638, + "start": 10788, + "end": 10811, "loc": { "start": { - "line": 517, + "line": 526, "column": 8 }, "end": { - "line": 517, + "line": 526, "column": 31 } }, "id": { "type": "Identifier", - "start": 10615, - "end": 10618, + "start": 10788, + "end": 10791, "loc": { "start": { - "line": 517, + "line": 526, "column": 8 }, "end": { - "line": 517, + "line": 526, "column": 11 }, "identifierName": "gcd" @@ -31598,29 +32178,29 @@ }, "init": { "type": "CallExpression", - "start": 10621, - "end": 10638, + "start": 10794, + "end": 10811, "loc": { "start": { - "line": 517, + "line": 526, "column": 14 }, "end": { - "line": 517, + "line": 526, "column": 31 } }, "callee": { "type": "Identifier", - "start": 10621, - "end": 10627, + "start": 10794, + "end": 10800, "loc": { "start": { - "line": 517, + "line": 526, "column": 14 }, "end": { - "line": 517, + "line": 526, "column": 20 }, "identifierName": "_alloc" @@ -31630,29 +32210,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 10629, - "end": 10636, + "start": 10802, + "end": 10809, "loc": { "start": { - "line": 517, + "line": 526, "column": 22 }, "end": { - "line": 517, + "line": 526, "column": 29 } }, "left": { "type": "Identifier", - "start": 10629, - "end": 10631, + "start": 10802, + "end": 10804, "loc": { "start": { - "line": 517, + "line": 526, "column": 22 }, "end": { - "line": 517, + "line": 526, "column": 24 }, "identifierName": "dj" @@ -31662,15 +32242,15 @@ "operator": "-", "right": { "type": "Identifier", - "start": 10634, - "end": 10636, + "start": 10807, + "end": 10809, "loc": { "start": { - "line": 517, + "line": 526, "column": 27 }, "end": { - "line": 517, + "line": 526, "column": 29 }, "identifierName": "di" @@ -31686,43 +32266,43 @@ }, { "type": "ExpressionStatement", - "start": 10643, - "end": 10675, + "start": 10816, + "end": 10848, "loc": { "start": { - "line": 518, + "line": 527, "column": 2 }, "end": { - "line": 518, + "line": 527, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 10643, - "end": 10673, + "start": 10816, + "end": 10846, "loc": { "start": { - "line": 518, + "line": 527, "column": 2 }, "end": { - "line": 518, + "line": 527, "column": 32 } }, "callee": { "type": "Identifier", - "start": 10643, - "end": 10648, + "start": 10816, + "end": 10821, "loc": { "start": { - "line": 518, + "line": 527, "column": 2 }, "end": { - "line": 518, + "line": 527, "column": 7 }, "identifierName": "_copy" @@ -31732,15 +32312,15 @@ "arguments": [ { "type": "Identifier", - "start": 10650, - "end": 10651, + "start": 10823, + "end": 10824, "loc": { "start": { - "line": 518, + "line": 527, "column": 9 }, "end": { - "line": 518, + "line": 527, "column": 10 }, "identifierName": "d" @@ -31749,15 +32329,15 @@ }, { "type": "Identifier", - "start": 10654, - "end": 10656, + "start": 10827, + "end": 10829, "loc": { "start": { - "line": 518, + "line": 527, "column": 13 }, "end": { - "line": 518, + "line": 527, "column": 15 }, "identifierName": "di" @@ -31766,15 +32346,15 @@ }, { "type": "Identifier", - "start": 10659, - "end": 10661, + "start": 10832, + "end": 10834, "loc": { "start": { - "line": 518, + "line": 527, "column": 18 }, "end": { - "line": 518, + "line": 527, "column": 20 }, "identifierName": "dj" @@ -31783,15 +32363,15 @@ }, { "type": "Identifier", - "start": 10664, - "end": 10667, + "start": 10837, + "end": 10840, "loc": { "start": { - "line": 518, + "line": 527, "column": 23 }, "end": { - "line": 518, + "line": 527, "column": 26 }, "identifierName": "gcd" @@ -31800,15 +32380,15 @@ }, { "type": "NumericLiteral", - "start": 10670, - "end": 10671, + "start": 10843, + "end": 10844, "loc": { "start": { - "line": 518, + "line": 527, "column": 29 }, "end": { - "line": 518, + "line": 527, "column": 30 } }, @@ -31823,43 +32403,43 @@ }, { "type": "ReturnStatement", - "start": 10678, - "end": 10713, + "start": 10851, + "end": 10886, "loc": { "start": { - "line": 519, + "line": 528, "column": 2 }, "end": { - "line": 519, + "line": 528, "column": 37 } }, "argument": { "type": "NewExpression", - "start": 10685, - "end": 10711, + "start": 10858, + "end": 10884, "loc": { "start": { - "line": 519, + "line": 528, "column": 9 }, "end": { - "line": 519, + "line": 528, "column": 35 } }, "callee": { "type": "Identifier", - "start": 10689, - "end": 10696, + "start": 10862, + "end": 10869, "loc": { "start": { - "line": 519, + "line": 528, "column": 13 }, "end": { - "line": 519, + "line": 528, "column": 20 }, "identifierName": "Integer" @@ -31869,15 +32449,15 @@ "arguments": [ { "type": "Identifier", - "start": 10698, - "end": 10699, + "start": 10871, + "end": 10872, "loc": { "start": { - "line": 519, + "line": 528, "column": 22 }, "end": { - "line": 519, + "line": 528, "column": 23 }, "identifierName": "r" @@ -31886,15 +32466,15 @@ }, { "type": "NumericLiteral", - "start": 10702, - "end": 10703, + "start": 10875, + "end": 10876, "loc": { "start": { - "line": 519, + "line": 528, "column": 26 }, "end": { - "line": 519, + "line": 528, "column": 27 } }, @@ -31906,15 +32486,15 @@ }, { "type": "Identifier", - "start": 10706, - "end": 10709, + "start": 10879, + "end": 10882, "loc": { "start": { - "line": 519, + "line": 528, "column": 30 }, "end": { - "line": 519, + "line": 528, "column": 33 }, "identifierName": "gcd" @@ -31930,15 +32510,15 @@ }, { "type": "ClassMethod", - "start": 10719, - "end": 11859, + "start": 10892, + "end": 12032, "loc": { "start": { - "line": 522, + "line": 531, "column": 1 }, "end": { - "line": 544, + "line": 553, "column": 2 } }, @@ -31946,15 +32526,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10719, - "end": 10723, + "start": 10892, + "end": 10896, "loc": { "start": { - "line": 522, + "line": 531, "column": 1 }, "end": { - "line": 522, + "line": 531, "column": 5 }, "identifierName": "egcd" @@ -31969,15 +32549,15 @@ "params": [ { "type": "Identifier", - "start": 10726, - "end": 10731, + "start": 10899, + "end": 10904, "loc": { "start": { - "line": 522, + "line": 531, "column": 8 }, "end": { - "line": 522, + "line": 531, "column": 13 }, "identifierName": "other" @@ -31987,59 +32567,59 @@ ], "body": { "type": "BlockStatement", - "start": 10734, - "end": 11859, + "start": 10907, + "end": 12032, "loc": { "start": { - "line": 522, + "line": 531, "column": 16 }, "end": { - "line": 544, + "line": 553, "column": 2 } }, "body": [ { "type": "VariableDeclaration", - "start": 10738, - "end": 10759, + "start": 10911, + "end": 10932, "loc": { "start": { - "line": 523, + "line": 532, "column": 2 }, "end": { - "line": 523, + "line": 532, "column": 23 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 10744, - "end": 10757, + "start": 10917, + "end": 10930, "loc": { "start": { - "line": 523, + "line": 532, "column": 8 }, "end": { - "line": 523, + "line": 532, "column": 21 } }, "id": { "type": "Identifier", - "start": 10744, - "end": 10745, + "start": 10917, + "end": 10918, "loc": { "start": { - "line": 523, + "line": 532, "column": 8 }, "end": { - "line": 523, + "line": 532, "column": 9 }, "identifierName": "r" @@ -32048,44 +32628,44 @@ }, "init": { "type": "MemberExpression", - "start": 10748, - "end": 10757, + "start": 10921, + "end": 10930, "loc": { "start": { - "line": 523, + "line": 532, "column": 12 }, "end": { - "line": 523, + "line": 532, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 10748, - "end": 10752, + "start": 10921, + "end": 10925, "loc": { "start": { - "line": 523, + "line": 532, "column": 12 }, "end": { - "line": 523, + "line": 532, "column": 16 } } }, "property": { "type": "Identifier", - "start": 10753, - "end": 10757, + "start": 10926, + "end": 10930, "loc": { "start": { - "line": 523, + "line": 532, "column": 17 }, "end": { - "line": 523, + "line": 532, "column": 21 }, "identifierName": "base" @@ -32100,44 +32680,44 @@ }, { "type": "VariableDeclaration", - "start": 10762, - "end": 10784, + "start": 10935, + "end": 10957, "loc": { "start": { - "line": 524, + "line": 533, "column": 2 }, "end": { - "line": 524, + "line": 533, "column": 24 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 10768, - "end": 10782, + "start": 10941, + "end": 10955, "loc": { "start": { - "line": 524, + "line": 533, "column": 8 }, "end": { - "line": 524, + "line": 533, "column": 22 } }, "id": { "type": "Identifier", - "start": 10768, - "end": 10769, + "start": 10941, + "end": 10942, "loc": { "start": { - "line": 524, + "line": 533, "column": 8 }, "end": { - "line": 524, + "line": 533, "column": 9 }, "identifierName": "a" @@ -32146,44 +32726,44 @@ }, "init": { "type": "MemberExpression", - "start": 10772, - "end": 10782, + "start": 10945, + "end": 10955, "loc": { "start": { - "line": 524, + "line": 533, "column": 12 }, "end": { - "line": 524, + "line": 533, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 10772, - "end": 10776, + "start": 10945, + "end": 10949, "loc": { "start": { - "line": 524, + "line": 533, "column": 12 }, "end": { - "line": 524, + "line": 533, "column": 16 } } }, "property": { "type": "Identifier", - "start": 10777, - "end": 10782, + "start": 10950, + "end": 10955, "loc": { "start": { - "line": 524, + "line": 533, "column": 17 }, "end": { - "line": 524, + "line": 533, "column": 22 }, "identifierName": "limbs" @@ -32198,44 +32778,44 @@ }, { "type": "VariableDeclaration", - "start": 10787, - "end": 10824, + "start": 10960, + "end": 10997, "loc": { "start": { - "line": 525, + "line": 534, "column": 2 }, "end": { - "line": 525, + "line": 534, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 10793, - "end": 10822, + "start": 10966, + "end": 10995, "loc": { "start": { - "line": 525, + "line": 534, "column": 8 }, "end": { - "line": 525, + "line": 534, "column": 37 } }, "id": { "type": "Identifier", - "start": 10793, - "end": 10794, + "start": 10966, + "end": 10967, "loc": { "start": { - "line": 525, + "line": 534, "column": 8 }, "end": { - "line": 525, + "line": 534, "column": 9 }, "identifierName": "b" @@ -32244,43 +32824,43 @@ }, "init": { "type": "CallExpression", - "start": 10797, - "end": 10822, + "start": 10970, + "end": 10995, "loc": { "start": { - "line": 525, + "line": 534, "column": 12 }, "end": { - "line": 525, + "line": 534, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 10797, - "end": 10817, + "start": 10970, + "end": 10990, "loc": { "start": { - "line": 525, + "line": 534, "column": 12 }, "end": { - "line": 525, + "line": 534, "column": 32 } }, "object": { "type": "Identifier", - "start": 10797, - "end": 10802, + "start": 10970, + "end": 10975, "loc": { "start": { - "line": 525, + "line": 534, "column": 12 }, "end": { - "line": 525, + "line": 534, "column": 17 }, "identifierName": "other" @@ -32289,15 +32869,15 @@ }, "property": { "type": "Identifier", - "start": 10803, - "end": 10817, + "start": 10976, + "end": 10990, "loc": { "start": { - "line": 525, + "line": 534, "column": 18 }, "end": { - "line": 525, + "line": 534, "column": 32 }, "identifierName": "_limbs_in_base" @@ -32309,15 +32889,15 @@ "arguments": [ { "type": "Identifier", - "start": 10819, - "end": 10820, + "start": 10992, + "end": 10993, "loc": { "start": { - "line": 525, + "line": 534, "column": 34 }, "end": { - "line": 525, + "line": 534, "column": 35 }, "identifierName": "r" @@ -32332,59 +32912,59 @@ }, { "type": "VariableDeclaration", - "start": 10827, - "end": 10973, + "start": 11000, + "end": 11146, "loc": { "start": { - "line": 526, + "line": 535, "column": 2 }, "end": { - "line": 526, + "line": 535, "column": 148 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 10833, - "end": 10971, + "start": 11006, + "end": 11144, "loc": { "start": { - "line": 526, + "line": 535, "column": 8 }, "end": { - "line": 526, + "line": 535, "column": 146 } }, "id": { "type": "ArrayPattern", - "start": 10833, - "end": 10897, + "start": 11006, + "end": 11070, "loc": { "start": { - "line": 526, + "line": 535, "column": 8 }, "end": { - "line": 526, + "line": 535, "column": 72 } }, "elements": [ { "type": "Identifier", - "start": 10835, - "end": 10837, + "start": 11008, + "end": 11010, "loc": { "start": { - "line": 526, + "line": 535, "column": 10 }, "end": { - "line": 526, + "line": 535, "column": 12 }, "identifierName": "R0" @@ -32393,15 +32973,15 @@ }, { "type": "Identifier", - "start": 10840, - "end": 10843, + "start": 11013, + "end": 11016, "loc": { "start": { - "line": 526, + "line": 535, "column": 15 }, "end": { - "line": 526, + "line": 535, "column": 18 }, "identifierName": "R0i" @@ -32410,15 +32990,15 @@ }, { "type": "Identifier", - "start": 10846, - "end": 10848, + "start": 11019, + "end": 11021, "loc": { "start": { - "line": 526, + "line": 535, "column": 21 }, "end": { - "line": 526, + "line": 535, "column": 23 }, "identifierName": "S0" @@ -32427,15 +33007,15 @@ }, { "type": "Identifier", - "start": 10851, - "end": 10854, + "start": 11024, + "end": 11027, "loc": { "start": { - "line": 526, + "line": 535, "column": 26 }, "end": { - "line": 526, + "line": 535, "column": 29 }, "identifierName": "S0i" @@ -32444,15 +33024,15 @@ }, { "type": "Identifier", - "start": 10857, - "end": 10859, + "start": 11030, + "end": 11032, "loc": { "start": { - "line": 526, + "line": 535, "column": 32 }, "end": { - "line": 526, + "line": 535, "column": 34 }, "identifierName": "T0" @@ -32461,15 +33041,15 @@ }, { "type": "Identifier", - "start": 10862, - "end": 10865, + "start": 11035, + "end": 11038, "loc": { "start": { - "line": 526, + "line": 535, "column": 37 }, "end": { - "line": 526, + "line": 535, "column": 40 }, "identifierName": "T0i" @@ -32478,15 +33058,15 @@ }, { "type": "Identifier", - "start": 10868, - "end": 10870, + "start": 11041, + "end": 11043, "loc": { "start": { - "line": 526, + "line": 535, "column": 43 }, "end": { - "line": 526, + "line": 535, "column": 45 }, "identifierName": "S1" @@ -32495,15 +33075,15 @@ }, { "type": "Identifier", - "start": 10873, - "end": 10876, + "start": 11046, + "end": 11049, "loc": { "start": { - "line": 526, + "line": 535, "column": 48 }, "end": { - "line": 526, + "line": 535, "column": 51 }, "identifierName": "S1i" @@ -32512,15 +33092,15 @@ }, { "type": "Identifier", - "start": 10879, - "end": 10881, + "start": 11052, + "end": 11054, "loc": { "start": { - "line": 526, + "line": 535, "column": 54 }, "end": { - "line": 526, + "line": 535, "column": 56 }, "identifierName": "T1" @@ -32529,15 +33109,15 @@ }, { "type": "Identifier", - "start": 10884, - "end": 10887, + "start": 11057, + "end": 11060, "loc": { "start": { - "line": 526, + "line": 535, "column": 59 }, "end": { - "line": 526, + "line": 535, "column": 62 }, "identifierName": "T1i" @@ -32546,15 +33126,15 @@ }, { "type": "Identifier", - "start": 10890, - "end": 10895, + "start": 11063, + "end": 11068, "loc": { "start": { - "line": 526, + "line": 535, "column": 65 }, "end": { - "line": 526, + "line": 535, "column": 70 }, "identifierName": "steps" @@ -32565,29 +33145,29 @@ }, "init": { "type": "CallExpression", - "start": 10900, - "end": 10971, + "start": 11073, + "end": 11144, "loc": { "start": { - "line": 526, + "line": 535, "column": 75 }, "end": { - "line": 526, + "line": 535, "column": 146 } }, "callee": { "type": "Identifier", - "start": 10900, - "end": 10928, + "start": 11073, + "end": 11101, "loc": { "start": { - "line": 526, + "line": 535, "column": 75 }, "end": { - "line": 526, + "line": 535, "column": 103 }, "identifierName": "extended_euclidean_algorithm" @@ -32597,15 +33177,15 @@ "arguments": [ { "type": "Identifier", - "start": 10930, - "end": 10931, + "start": 11103, + "end": 11104, "loc": { "start": { - "line": 526, + "line": 535, "column": 105 }, "end": { - "line": 526, + "line": 535, "column": 106 }, "identifierName": "r" @@ -32614,15 +33194,15 @@ }, { "type": "Identifier", - "start": 10934, - "end": 10935, + "start": 11107, + "end": 11108, "loc": { "start": { - "line": 526, + "line": 535, "column": 109 }, "end": { - "line": 526, + "line": 535, "column": 110 }, "identifierName": "a" @@ -32631,15 +33211,15 @@ }, { "type": "NumericLiteral", - "start": 10938, - "end": 10939, + "start": 11111, + "end": 11112, "loc": { "start": { - "line": 526, + "line": 535, "column": 113 }, "end": { - "line": 526, + "line": 535, "column": 114 } }, @@ -32651,29 +33231,29 @@ }, { "type": "MemberExpression", - "start": 10942, - "end": 10950, + "start": 11115, + "end": 11123, "loc": { "start": { - "line": 526, + "line": 535, "column": 117 }, "end": { - "line": 526, + "line": 535, "column": 125 } }, "object": { "type": "Identifier", - "start": 10942, - "end": 10943, + "start": 11115, + "end": 11116, "loc": { "start": { - "line": 526, + "line": 535, "column": 117 }, "end": { - "line": 526, + "line": 535, "column": 118 }, "identifierName": "a" @@ -32682,15 +33262,15 @@ }, "property": { "type": "Identifier", - "start": 10944, - "end": 10950, + "start": 11117, + "end": 11123, "loc": { "start": { - "line": 526, + "line": 535, "column": 119 }, "end": { - "line": 526, + "line": 535, "column": 125 }, "identifierName": "length" @@ -32701,15 +33281,15 @@ }, { "type": "Identifier", - "start": 10953, - "end": 10954, + "start": 11126, + "end": 11127, "loc": { "start": { - "line": 526, + "line": 535, "column": 128 }, "end": { - "line": 526, + "line": 535, "column": 129 }, "identifierName": "b" @@ -32718,15 +33298,15 @@ }, { "type": "NumericLiteral", - "start": 10957, - "end": 10958, + "start": 11130, + "end": 11131, "loc": { "start": { - "line": 526, + "line": 535, "column": 132 }, "end": { - "line": 526, + "line": 535, "column": 133 } }, @@ -32738,29 +33318,29 @@ }, { "type": "MemberExpression", - "start": 10961, - "end": 10969, + "start": 11134, + "end": 11142, "loc": { "start": { - "line": 526, + "line": 535, "column": 136 }, "end": { - "line": 526, + "line": 535, "column": 144 } }, "object": { "type": "Identifier", - "start": 10961, - "end": 10962, + "start": 11134, + "end": 11135, "loc": { "start": { - "line": 526, + "line": 535, "column": 136 }, "end": { - "line": 526, + "line": 535, "column": 137 }, "identifierName": "b" @@ -32769,15 +33349,15 @@ }, "property": { "type": "Identifier", - "start": 10963, - "end": 10969, + "start": 11136, + "end": 11142, "loc": { "start": { - "line": 526, + "line": 535, "column": 138 }, "end": { - "line": 526, + "line": 535, "column": 144 }, "identifierName": "length" @@ -32794,44 +33374,44 @@ }, { "type": "VariableDeclaration", - "start": 10976, - "end": 11015, + "start": 11149, + "end": 11188, "loc": { "start": { - "line": 527, + "line": 536, "column": 2 }, "end": { - "line": 527, + "line": 536, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 10982, - "end": 11013, + "start": 11155, + "end": 11186, "loc": { "start": { - "line": 527, + "line": 536, "column": 8 }, "end": { - "line": 527, + "line": 536, "column": 39 } }, "id": { "type": "Identifier", - "start": 10982, - "end": 10985, + "start": 11155, + "end": 11158, "loc": { "start": { - "line": 527, + "line": 536, "column": 8 }, "end": { - "line": 527, + "line": 536, "column": 11 }, "identifierName": "gcd" @@ -32840,29 +33420,29 @@ }, "init": { "type": "CallExpression", - "start": 10988, - "end": 11013, + "start": 11161, + "end": 11186, "loc": { "start": { - "line": 527, + "line": 536, "column": 14 }, "end": { - "line": 527, + "line": 536, "column": 39 } }, "callee": { "type": "Identifier", - "start": 10988, - "end": 10994, + "start": 11161, + "end": 11167, "loc": { "start": { - "line": 527, + "line": 536, "column": 14 }, "end": { - "line": 527, + "line": 536, "column": 20 }, "identifierName": "_alloc" @@ -32872,43 +33452,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 10996, - "end": 11011, + "start": 11169, + "end": 11184, "loc": { "start": { - "line": 527, + "line": 536, "column": 22 }, "end": { - "line": 527, + "line": 536, "column": 37 } }, "left": { "type": "MemberExpression", - "start": 10996, - "end": 11005, + "start": 11169, + "end": 11178, "loc": { "start": { - "line": 527, + "line": 536, "column": 22 }, "end": { - "line": 527, + "line": 536, "column": 31 } }, "object": { "type": "Identifier", - "start": 10996, - "end": 10998, + "start": 11169, + "end": 11171, "loc": { "start": { - "line": 527, + "line": 536, "column": 22 }, "end": { - "line": 527, + "line": 536, "column": 24 }, "identifierName": "R0" @@ -32917,15 +33497,15 @@ }, "property": { "type": "Identifier", - "start": 10999, - "end": 11005, + "start": 11172, + "end": 11178, "loc": { "start": { - "line": 527, + "line": 536, "column": 25 }, "end": { - "line": 527, + "line": 536, "column": 31 }, "identifierName": "length" @@ -32937,15 +33517,15 @@ "operator": "-", "right": { "type": "Identifier", - "start": 11008, - "end": 11011, + "start": 11181, + "end": 11184, "loc": { "start": { - "line": 527, + "line": 536, "column": 34 }, "end": { - "line": 527, + "line": 536, "column": 37 }, "identifierName": "R0i" @@ -32961,43 +33541,43 @@ }, { "type": "ExpressionStatement", - "start": 11018, - "end": 11059, + "start": 11191, + "end": 11232, "loc": { "start": { - "line": 528, + "line": 537, "column": 2 }, "end": { - "line": 528, + "line": 537, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 11018, - "end": 11057, + "start": 11191, + "end": 11230, "loc": { "start": { - "line": 528, + "line": 537, "column": 2 }, "end": { - "line": 528, + "line": 537, "column": 41 } }, "callee": { "type": "Identifier", - "start": 11018, - "end": 11023, + "start": 11191, + "end": 11196, "loc": { "start": { - "line": 528, + "line": 537, "column": 2 }, "end": { - "line": 528, + "line": 537, "column": 7 }, "identifierName": "_copy" @@ -33007,15 +33587,15 @@ "arguments": [ { "type": "Identifier", - "start": 11025, - "end": 11027, + "start": 11198, + "end": 11200, "loc": { "start": { - "line": 528, + "line": 537, "column": 9 }, "end": { - "line": 528, + "line": 537, "column": 11 }, "identifierName": "R0" @@ -33024,15 +33604,15 @@ }, { "type": "Identifier", - "start": 11030, - "end": 11033, + "start": 11203, + "end": 11206, "loc": { "start": { - "line": 528, + "line": 537, "column": 14 }, "end": { - "line": 528, + "line": 537, "column": 17 }, "identifierName": "R0i" @@ -33041,29 +33621,29 @@ }, { "type": "MemberExpression", - "start": 11036, - "end": 11045, + "start": 11209, + "end": 11218, "loc": { "start": { - "line": 528, + "line": 537, "column": 20 }, "end": { - "line": 528, + "line": 537, "column": 29 } }, "object": { "type": "Identifier", - "start": 11036, - "end": 11038, + "start": 11209, + "end": 11211, "loc": { "start": { - "line": 528, + "line": 537, "column": 20 }, "end": { - "line": 528, + "line": 537, "column": 22 }, "identifierName": "R0" @@ -33072,15 +33652,15 @@ }, "property": { "type": "Identifier", - "start": 11039, - "end": 11045, + "start": 11212, + "end": 11218, "loc": { "start": { - "line": 528, + "line": 537, "column": 23 }, "end": { - "line": 528, + "line": 537, "column": 29 }, "identifierName": "length" @@ -33091,15 +33671,15 @@ }, { "type": "Identifier", - "start": 11048, - "end": 11051, + "start": 11221, + "end": 11224, "loc": { "start": { - "line": 528, + "line": 537, "column": 32 }, "end": { - "line": 528, + "line": 537, "column": 35 }, "identifierName": "gcd" @@ -33108,15 +33688,15 @@ }, { "type": "NumericLiteral", - "start": 11054, - "end": 11055, + "start": 11227, + "end": 11228, "loc": { "start": { - "line": 528, + "line": 537, "column": 38 }, "end": { - "line": 528, + "line": 537, "column": 39 } }, @@ -33131,44 +33711,44 @@ }, { "type": "VariableDeclaration", - "start": 11062, - "end": 11099, + "start": 11235, + "end": 11272, "loc": { "start": { - "line": 529, + "line": 538, "column": 2 }, "end": { - "line": 529, + "line": 538, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11068, - "end": 11097, + "start": 11241, + "end": 11270, "loc": { "start": { - "line": 529, + "line": 538, "column": 8 }, "end": { - "line": 529, + "line": 538, "column": 37 } }, "id": { "type": "Identifier", - "start": 11068, - "end": 11069, + "start": 11241, + "end": 11242, "loc": { "start": { - "line": 529, + "line": 538, "column": 8 }, "end": { - "line": 529, + "line": 538, "column": 9 }, "identifierName": "x" @@ -33177,29 +33757,29 @@ }, "init": { "type": "CallExpression", - "start": 11072, - "end": 11097, + "start": 11245, + "end": 11270, "loc": { "start": { - "line": 529, + "line": 538, "column": 12 }, "end": { - "line": 529, + "line": 538, "column": 37 } }, "callee": { "type": "Identifier", - "start": 11072, - "end": 11078, + "start": 11245, + "end": 11251, "loc": { "start": { - "line": 529, + "line": 538, "column": 12 }, "end": { - "line": 529, + "line": 538, "column": 18 }, "identifierName": "_alloc" @@ -33209,43 +33789,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 11080, - "end": 11095, + "start": 11253, + "end": 11268, "loc": { "start": { - "line": 529, + "line": 538, "column": 20 }, "end": { - "line": 529, + "line": 538, "column": 35 } }, "left": { "type": "MemberExpression", - "start": 11080, - "end": 11089, + "start": 11253, + "end": 11262, "loc": { "start": { - "line": 529, + "line": 538, "column": 20 }, "end": { - "line": 529, + "line": 538, "column": 29 } }, "object": { "type": "Identifier", - "start": 11080, - "end": 11082, + "start": 11253, + "end": 11255, "loc": { "start": { - "line": 529, + "line": 538, "column": 20 }, "end": { - "line": 529, + "line": 538, "column": 22 }, "identifierName": "S0" @@ -33254,15 +33834,15 @@ }, "property": { "type": "Identifier", - "start": 11083, - "end": 11089, + "start": 11256, + "end": 11262, "loc": { "start": { - "line": 529, + "line": 538, "column": 23 }, "end": { - "line": 529, + "line": 538, "column": 29 }, "identifierName": "length" @@ -33274,15 +33854,15 @@ "operator": "-", "right": { "type": "Identifier", - "start": 11092, - "end": 11095, + "start": 11265, + "end": 11268, "loc": { "start": { - "line": 529, + "line": 538, "column": 32 }, "end": { - "line": 529, + "line": 538, "column": 35 }, "identifierName": "S0i" @@ -33298,43 +33878,43 @@ }, { "type": "ExpressionStatement", - "start": 11102, - "end": 11141, + "start": 11275, + "end": 11314, "loc": { "start": { - "line": 530, + "line": 539, "column": 2 }, "end": { - "line": 530, + "line": 539, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 11102, - "end": 11139, + "start": 11275, + "end": 11312, "loc": { "start": { - "line": 530, + "line": 539, "column": 2 }, "end": { - "line": 530, + "line": 539, "column": 39 } }, "callee": { "type": "Identifier", - "start": 11102, - "end": 11107, + "start": 11275, + "end": 11280, "loc": { "start": { - "line": 530, + "line": 539, "column": 2 }, "end": { - "line": 530, + "line": 539, "column": 7 }, "identifierName": "_copy" @@ -33344,15 +33924,15 @@ "arguments": [ { "type": "Identifier", - "start": 11109, - "end": 11111, + "start": 11282, + "end": 11284, "loc": { "start": { - "line": 530, + "line": 539, "column": 9 }, "end": { - "line": 530, + "line": 539, "column": 11 }, "identifierName": "S0" @@ -33361,15 +33941,15 @@ }, { "type": "Identifier", - "start": 11114, - "end": 11117, + "start": 11287, + "end": 11290, "loc": { "start": { - "line": 530, + "line": 539, "column": 14 }, "end": { - "line": 530, + "line": 539, "column": 17 }, "identifierName": "S0i" @@ -33378,29 +33958,29 @@ }, { "type": "MemberExpression", - "start": 11120, - "end": 11129, + "start": 11293, + "end": 11302, "loc": { "start": { - "line": 530, + "line": 539, "column": 20 }, "end": { - "line": 530, + "line": 539, "column": 29 } }, "object": { "type": "Identifier", - "start": 11120, - "end": 11122, + "start": 11293, + "end": 11295, "loc": { "start": { - "line": 530, + "line": 539, "column": 20 }, "end": { - "line": 530, + "line": 539, "column": 22 }, "identifierName": "S0" @@ -33409,15 +33989,15 @@ }, "property": { "type": "Identifier", - "start": 11123, - "end": 11129, + "start": 11296, + "end": 11302, "loc": { "start": { - "line": 530, + "line": 539, "column": 23 }, "end": { - "line": 530, + "line": 539, "column": 29 }, "identifierName": "length" @@ -33428,15 +34008,15 @@ }, { "type": "Identifier", - "start": 11132, - "end": 11133, + "start": 11305, + "end": 11306, "loc": { "start": { - "line": 530, + "line": 539, "column": 32 }, "end": { - "line": 530, + "line": 539, "column": 33 }, "identifierName": "x" @@ -33445,15 +34025,15 @@ }, { "type": "NumericLiteral", - "start": 11136, - "end": 11137, + "start": 11309, + "end": 11310, "loc": { "start": { - "line": 530, + "line": 539, "column": 36 }, "end": { - "line": 530, + "line": 539, "column": 37 } }, @@ -33468,44 +34048,44 @@ }, { "type": "VariableDeclaration", - "start": 11144, - "end": 11181, + "start": 11317, + "end": 11354, "loc": { "start": { - "line": 531, + "line": 540, "column": 2 }, "end": { - "line": 531, + "line": 540, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11150, - "end": 11179, + "start": 11323, + "end": 11352, "loc": { "start": { - "line": 531, + "line": 540, "column": 8 }, "end": { - "line": 531, + "line": 540, "column": 37 } }, "id": { "type": "Identifier", - "start": 11150, - "end": 11151, + "start": 11323, + "end": 11324, "loc": { "start": { - "line": 531, + "line": 540, "column": 8 }, "end": { - "line": 531, + "line": 540, "column": 9 }, "identifierName": "y" @@ -33514,29 +34094,29 @@ }, "init": { "type": "CallExpression", - "start": 11154, - "end": 11179, + "start": 11327, + "end": 11352, "loc": { "start": { - "line": 531, + "line": 540, "column": 12 }, "end": { - "line": 531, + "line": 540, "column": 37 } }, "callee": { "type": "Identifier", - "start": 11154, - "end": 11160, + "start": 11327, + "end": 11333, "loc": { "start": { - "line": 531, + "line": 540, "column": 12 }, "end": { - "line": 531, + "line": 540, "column": 18 }, "identifierName": "_alloc" @@ -33546,43 +34126,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 11162, - "end": 11177, + "start": 11335, + "end": 11350, "loc": { "start": { - "line": 531, + "line": 540, "column": 20 }, "end": { - "line": 531, + "line": 540, "column": 35 } }, "left": { "type": "MemberExpression", - "start": 11162, - "end": 11171, + "start": 11335, + "end": 11344, "loc": { "start": { - "line": 531, + "line": 540, "column": 20 }, "end": { - "line": 531, + "line": 540, "column": 29 } }, "object": { "type": "Identifier", - "start": 11162, - "end": 11164, + "start": 11335, + "end": 11337, "loc": { "start": { - "line": 531, + "line": 540, "column": 20 }, "end": { - "line": 531, + "line": 540, "column": 22 }, "identifierName": "T0" @@ -33591,15 +34171,15 @@ }, "property": { "type": "Identifier", - "start": 11165, - "end": 11171, + "start": 11338, + "end": 11344, "loc": { "start": { - "line": 531, + "line": 540, "column": 23 }, "end": { - "line": 531, + "line": 540, "column": 29 }, "identifierName": "length" @@ -33611,15 +34191,15 @@ "operator": "-", "right": { "type": "Identifier", - "start": 11174, - "end": 11177, + "start": 11347, + "end": 11350, "loc": { "start": { - "line": 531, + "line": 540, "column": 32 }, "end": { - "line": 531, + "line": 540, "column": 35 }, "identifierName": "T0i" @@ -33635,43 +34215,43 @@ }, { "type": "ExpressionStatement", - "start": 11184, - "end": 11223, + "start": 11357, + "end": 11396, "loc": { "start": { - "line": 532, + "line": 541, "column": 2 }, "end": { - "line": 532, + "line": 541, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 11184, - "end": 11221, + "start": 11357, + "end": 11394, "loc": { "start": { - "line": 532, + "line": 541, "column": 2 }, "end": { - "line": 532, + "line": 541, "column": 39 } }, "callee": { "type": "Identifier", - "start": 11184, - "end": 11189, + "start": 11357, + "end": 11362, "loc": { "start": { - "line": 532, + "line": 541, "column": 2 }, "end": { - "line": 532, + "line": 541, "column": 7 }, "identifierName": "_copy" @@ -33681,15 +34261,15 @@ "arguments": [ { "type": "Identifier", - "start": 11191, - "end": 11193, + "start": 11364, + "end": 11366, "loc": { "start": { - "line": 532, + "line": 541, "column": 9 }, "end": { - "line": 532, + "line": 541, "column": 11 }, "identifierName": "T0" @@ -33698,15 +34278,15 @@ }, { "type": "Identifier", - "start": 11196, - "end": 11199, + "start": 11369, + "end": 11372, "loc": { "start": { - "line": 532, + "line": 541, "column": 14 }, "end": { - "line": 532, + "line": 541, "column": 17 }, "identifierName": "T0i" @@ -33715,29 +34295,29 @@ }, { "type": "MemberExpression", - "start": 11202, - "end": 11211, + "start": 11375, + "end": 11384, "loc": { "start": { - "line": 532, + "line": 541, "column": 20 }, "end": { - "line": 532, + "line": 541, "column": 29 } }, "object": { "type": "Identifier", - "start": 11202, - "end": 11204, + "start": 11375, + "end": 11377, "loc": { "start": { - "line": 532, + "line": 541, "column": 20 }, "end": { - "line": 532, + "line": 541, "column": 22 }, "identifierName": "T0" @@ -33746,15 +34326,15 @@ }, "property": { "type": "Identifier", - "start": 11205, - "end": 11211, + "start": 11378, + "end": 11384, "loc": { "start": { - "line": 532, + "line": 541, "column": 23 }, "end": { - "line": 532, + "line": 541, "column": 29 }, "identifierName": "length" @@ -33765,15 +34345,15 @@ }, { "type": "Identifier", - "start": 11214, - "end": 11215, + "start": 11387, + "end": 11388, "loc": { "start": { - "line": 532, + "line": 541, "column": 32 }, "end": { - "line": 532, + "line": 541, "column": 33 }, "identifierName": "y" @@ -33782,15 +34362,15 @@ }, { "type": "NumericLiteral", - "start": 11218, - "end": 11219, + "start": 11391, + "end": 11392, "loc": { "start": { - "line": 532, + "line": 541, "column": 36 }, "end": { - "line": 532, + "line": 541, "column": 37 } }, @@ -33805,44 +34385,44 @@ }, { "type": "VariableDeclaration", - "start": 11226, - "end": 11263, + "start": 11399, + "end": 11436, "loc": { "start": { - "line": 533, + "line": 542, "column": 2 }, "end": { - "line": 533, + "line": 542, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11232, - "end": 11261, + "start": 11405, + "end": 11434, "loc": { "start": { - "line": 533, + "line": 542, "column": 8 }, "end": { - "line": 533, + "line": 542, "column": 37 } }, "id": { "type": "Identifier", - "start": 11232, - "end": 11233, + "start": 11405, + "end": 11406, "loc": { "start": { - "line": 533, + "line": 542, "column": 8 }, "end": { - "line": 533, + "line": 542, "column": 9 }, "identifierName": "u" @@ -33851,29 +34431,29 @@ }, "init": { "type": "CallExpression", - "start": 11236, - "end": 11261, + "start": 11409, + "end": 11434, "loc": { "start": { - "line": 533, + "line": 542, "column": 12 }, "end": { - "line": 533, + "line": 542, "column": 37 } }, "callee": { "type": "Identifier", - "start": 11236, - "end": 11242, + "start": 11409, + "end": 11415, "loc": { "start": { - "line": 533, + "line": 542, "column": 12 }, "end": { - "line": 533, + "line": 542, "column": 18 }, "identifierName": "_alloc" @@ -33883,43 +34463,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 11244, - "end": 11259, + "start": 11417, + "end": 11432, "loc": { "start": { - "line": 533, + "line": 542, "column": 20 }, "end": { - "line": 533, + "line": 542, "column": 35 } }, "left": { "type": "MemberExpression", - "start": 11244, - "end": 11253, + "start": 11417, + "end": 11426, "loc": { "start": { - "line": 533, + "line": 542, "column": 20 }, "end": { - "line": 533, + "line": 542, "column": 29 } }, "object": { "type": "Identifier", - "start": 11244, - "end": 11246, + "start": 11417, + "end": 11419, "loc": { "start": { - "line": 533, + "line": 542, "column": 20 }, "end": { - "line": 533, + "line": 542, "column": 22 }, "identifierName": "S1" @@ -33928,15 +34508,15 @@ }, "property": { "type": "Identifier", - "start": 11247, - "end": 11253, + "start": 11420, + "end": 11426, "loc": { "start": { - "line": 533, + "line": 542, "column": 23 }, "end": { - "line": 533, + "line": 542, "column": 29 }, "identifierName": "length" @@ -33948,15 +34528,15 @@ "operator": "-", "right": { "type": "Identifier", - "start": 11256, - "end": 11259, + "start": 11429, + "end": 11432, "loc": { "start": { - "line": 533, + "line": 542, "column": 32 }, "end": { - "line": 533, + "line": 542, "column": 35 }, "identifierName": "S1i" @@ -33972,43 +34552,43 @@ }, { "type": "ExpressionStatement", - "start": 11266, - "end": 11305, + "start": 11439, + "end": 11478, "loc": { "start": { - "line": 534, + "line": 543, "column": 2 }, "end": { - "line": 534, + "line": 543, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 11266, - "end": 11303, + "start": 11439, + "end": 11476, "loc": { "start": { - "line": 534, + "line": 543, "column": 2 }, "end": { - "line": 534, + "line": 543, "column": 39 } }, "callee": { "type": "Identifier", - "start": 11266, - "end": 11271, + "start": 11439, + "end": 11444, "loc": { "start": { - "line": 534, + "line": 543, "column": 2 }, "end": { - "line": 534, + "line": 543, "column": 7 }, "identifierName": "_copy" @@ -34018,15 +34598,15 @@ "arguments": [ { "type": "Identifier", - "start": 11273, - "end": 11275, + "start": 11446, + "end": 11448, "loc": { "start": { - "line": 534, + "line": 543, "column": 9 }, "end": { - "line": 534, + "line": 543, "column": 11 }, "identifierName": "S1" @@ -34035,15 +34615,15 @@ }, { "type": "Identifier", - "start": 11278, - "end": 11281, + "start": 11451, + "end": 11454, "loc": { "start": { - "line": 534, + "line": 543, "column": 14 }, "end": { - "line": 534, + "line": 543, "column": 17 }, "identifierName": "S1i" @@ -34052,29 +34632,29 @@ }, { "type": "MemberExpression", - "start": 11284, - "end": 11293, + "start": 11457, + "end": 11466, "loc": { "start": { - "line": 534, + "line": 543, "column": 20 }, "end": { - "line": 534, + "line": 543, "column": 29 } }, "object": { "type": "Identifier", - "start": 11284, - "end": 11286, + "start": 11457, + "end": 11459, "loc": { "start": { - "line": 534, + "line": 543, "column": 20 }, "end": { - "line": 534, + "line": 543, "column": 22 }, "identifierName": "S1" @@ -34083,15 +34663,15 @@ }, "property": { "type": "Identifier", - "start": 11287, - "end": 11293, + "start": 11460, + "end": 11466, "loc": { "start": { - "line": 534, + "line": 543, "column": 23 }, "end": { - "line": 534, + "line": 543, "column": 29 }, "identifierName": "length" @@ -34102,15 +34682,15 @@ }, { "type": "Identifier", - "start": 11296, - "end": 11297, + "start": 11469, + "end": 11470, "loc": { "start": { - "line": 534, + "line": 543, "column": 32 }, "end": { - "line": 534, + "line": 543, "column": 33 }, "identifierName": "u" @@ -34119,15 +34699,15 @@ }, { "type": "NumericLiteral", - "start": 11300, - "end": 11301, + "start": 11473, + "end": 11474, "loc": { "start": { - "line": 534, + "line": 543, "column": 36 }, "end": { - "line": 534, + "line": 543, "column": 37 } }, @@ -34142,44 +34722,44 @@ }, { "type": "VariableDeclaration", - "start": 11308, - "end": 11345, + "start": 11481, + "end": 11518, "loc": { "start": { - "line": 535, + "line": 544, "column": 2 }, "end": { - "line": 535, + "line": 544, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11314, - "end": 11343, + "start": 11487, + "end": 11516, "loc": { "start": { - "line": 535, + "line": 544, "column": 8 }, "end": { - "line": 535, + "line": 544, "column": 37 } }, "id": { "type": "Identifier", - "start": 11314, - "end": 11315, + "start": 11487, + "end": 11488, "loc": { "start": { - "line": 535, + "line": 544, "column": 8 }, "end": { - "line": 535, + "line": 544, "column": 9 }, "identifierName": "v" @@ -34188,29 +34768,29 @@ }, "init": { "type": "CallExpression", - "start": 11318, - "end": 11343, + "start": 11491, + "end": 11516, "loc": { "start": { - "line": 535, + "line": 544, "column": 12 }, "end": { - "line": 535, + "line": 544, "column": 37 } }, "callee": { "type": "Identifier", - "start": 11318, - "end": 11324, + "start": 11491, + "end": 11497, "loc": { "start": { - "line": 535, + "line": 544, "column": 12 }, "end": { - "line": 535, + "line": 544, "column": 18 }, "identifierName": "_alloc" @@ -34220,43 +34800,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 11326, - "end": 11341, + "start": 11499, + "end": 11514, "loc": { "start": { - "line": 535, + "line": 544, "column": 20 }, "end": { - "line": 535, + "line": 544, "column": 35 } }, "left": { "type": "MemberExpression", - "start": 11326, - "end": 11335, + "start": 11499, + "end": 11508, "loc": { "start": { - "line": 535, + "line": 544, "column": 20 }, "end": { - "line": 535, + "line": 544, "column": 29 } }, "object": { "type": "Identifier", - "start": 11326, - "end": 11328, + "start": 11499, + "end": 11501, "loc": { "start": { - "line": 535, + "line": 544, "column": 20 }, "end": { - "line": 535, + "line": 544, "column": 22 }, "identifierName": "T1" @@ -34265,15 +34845,15 @@ }, "property": { "type": "Identifier", - "start": 11329, - "end": 11335, + "start": 11502, + "end": 11508, "loc": { "start": { - "line": 535, + "line": 544, "column": 23 }, "end": { - "line": 535, + "line": 544, "column": 29 }, "identifierName": "length" @@ -34285,15 +34865,15 @@ "operator": "-", "right": { "type": "Identifier", - "start": 11338, - "end": 11341, + "start": 11511, + "end": 11514, "loc": { "start": { - "line": 535, + "line": 544, "column": 32 }, "end": { - "line": 535, + "line": 544, "column": 35 }, "identifierName": "T1i" @@ -34309,43 +34889,43 @@ }, { "type": "ExpressionStatement", - "start": 11348, - "end": 11387, + "start": 11521, + "end": 11560, "loc": { "start": { - "line": 536, + "line": 545, "column": 2 }, "end": { - "line": 536, + "line": 545, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 11348, - "end": 11385, + "start": 11521, + "end": 11558, "loc": { "start": { - "line": 536, + "line": 545, "column": 2 }, "end": { - "line": 536, + "line": 545, "column": 39 } }, "callee": { "type": "Identifier", - "start": 11348, - "end": 11353, + "start": 11521, + "end": 11526, "loc": { "start": { - "line": 536, + "line": 545, "column": 2 }, "end": { - "line": 536, + "line": 545, "column": 7 }, "identifierName": "_copy" @@ -34355,15 +34935,15 @@ "arguments": [ { "type": "Identifier", - "start": 11355, - "end": 11357, + "start": 11528, + "end": 11530, "loc": { "start": { - "line": 536, + "line": 545, "column": 9 }, "end": { - "line": 536, + "line": 545, "column": 11 }, "identifierName": "T1" @@ -34372,15 +34952,15 @@ }, { "type": "Identifier", - "start": 11360, - "end": 11363, + "start": 11533, + "end": 11536, "loc": { "start": { - "line": 536, + "line": 545, "column": 14 }, "end": { - "line": 536, + "line": 545, "column": 17 }, "identifierName": "T1i" @@ -34389,29 +34969,29 @@ }, { "type": "MemberExpression", - "start": 11366, - "end": 11375, + "start": 11539, + "end": 11548, "loc": { "start": { - "line": 536, + "line": 545, "column": 20 }, "end": { - "line": 536, + "line": 545, "column": 29 } }, "object": { "type": "Identifier", - "start": 11366, - "end": 11368, + "start": 11539, + "end": 11541, "loc": { "start": { - "line": 536, + "line": 545, "column": 20 }, "end": { - "line": 536, + "line": 545, "column": 22 }, "identifierName": "T1" @@ -34420,15 +35000,15 @@ }, "property": { "type": "Identifier", - "start": 11369, - "end": 11375, + "start": 11542, + "end": 11548, "loc": { "start": { - "line": 536, + "line": 545, "column": 23 }, "end": { - "line": 536, + "line": 545, "column": 29 }, "identifierName": "length" @@ -34439,15 +35019,15 @@ }, { "type": "Identifier", - "start": 11378, - "end": 11379, + "start": 11551, + "end": 11552, "loc": { "start": { - "line": 536, + "line": 545, "column": 32 }, "end": { - "line": 536, + "line": 545, "column": 33 }, "identifierName": "v" @@ -34456,15 +35036,15 @@ }, { "type": "NumericLiteral", - "start": 11382, - "end": 11383, + "start": 11555, + "end": 11556, "loc": { "start": { - "line": 536, + "line": 545, "column": 36 }, "end": { - "line": 536, + "line": 545, "column": 37 } }, @@ -34479,44 +35059,44 @@ }, { "type": "ReturnStatement", - "start": 11390, - "end": 11856, + "start": 11563, + "end": 12029, "loc": { "start": { - "line": 537, + "line": 546, "column": 2 }, "end": { - "line": 543, + "line": 552, "column": 5 } }, "argument": { "type": "ObjectExpression", - "start": 11397, - "end": 11854, + "start": 11570, + "end": 12027, "loc": { "start": { - "line": 537, + "line": 546, "column": 9 }, "end": { - "line": 543, + "line": 552, "column": 3 } }, "properties": [ { "type": "ObjectProperty", - "start": 11429, - "end": 11456, + "start": 11602, + "end": 11629, "loc": { "start": { - "line": 538, + "line": 547, "column": 3 }, "end": { - "line": 538, + "line": 547, "column": 30 } }, @@ -34525,15 +35105,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11429, - "end": 11432, + "start": 11602, + "end": 11605, "loc": { "start": { - "line": 538, + "line": 547, "column": 3 }, "end": { - "line": 538, + "line": 547, "column": 6 }, "identifierName": "gcd" @@ -34543,29 +35123,29 @@ }, "value": { "type": "NewExpression", - "start": 11434, - "end": 11456, + "start": 11607, + "end": 11629, "loc": { "start": { - "line": 538, + "line": 547, "column": 8 }, "end": { - "line": 538, + "line": 547, "column": 30 } }, "callee": { "type": "Identifier", - "start": 11438, - "end": 11445, + "start": 11611, + "end": 11618, "loc": { "start": { - "line": 538, + "line": 547, "column": 12 }, "end": { - "line": 538, + "line": 547, "column": 19 }, "identifierName": "Integer" @@ -34575,15 +35155,15 @@ "arguments": [ { "type": "Identifier", - "start": 11446, - "end": 11447, + "start": 11619, + "end": 11620, "loc": { "start": { - "line": 538, + "line": 547, "column": 20 }, "end": { - "line": 538, + "line": 547, "column": 21 }, "identifierName": "r" @@ -34592,15 +35172,15 @@ }, { "type": "NumericLiteral", - "start": 11449, - "end": 11450, + "start": 11622, + "end": 11623, "loc": { "start": { - "line": 538, + "line": 547, "column": 23 }, "end": { - "line": 538, + "line": 547, "column": 24 } }, @@ -34612,15 +35192,15 @@ }, { "type": "Identifier", - "start": 11452, - "end": 11455, + "start": 11625, + "end": 11628, "loc": { "start": { - "line": 538, + "line": 547, "column": 26 }, "end": { - "line": 538, + "line": 547, "column": 29 }, "identifierName": "gcd" @@ -34633,15 +35213,15 @@ { "type": "CommentLine", "value": " TODO use immutable zero", - "start": 11399, - "end": 11425, + "start": 11572, + "end": 11598, "loc": { "start": { - "line": 537, + "line": 546, "column": 11 }, "end": { - "line": 537, + "line": 546, "column": 37 } } @@ -34650,15 +35230,15 @@ }, { "type": "ObjectProperty", - "start": 11462, - "end": 11554, + "start": 11635, + "end": 11727, "loc": { "start": { - "line": 539, + "line": 548, "column": 3 }, "end": { - "line": 539, + "line": 548, "column": 95 } }, @@ -34667,15 +35247,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11462, - "end": 11463, + "start": 11635, + "end": 11636, "loc": { "start": { - "line": 539, + "line": 548, "column": 3 }, "end": { - "line": 539, + "line": 548, "column": 4 }, "identifierName": "x" @@ -34684,43 +35264,43 @@ }, "value": { "type": "ConditionalExpression", - "start": 11465, - "end": 11554, + "start": 11638, + "end": 11727, "loc": { "start": { - "line": 539, + "line": 548, "column": 6 }, "end": { - "line": 539, + "line": 548, "column": 95 } }, "test": { "type": "MemberExpression", - "start": 11465, - "end": 11473, + "start": 11638, + "end": 11646, "loc": { "start": { - "line": 539, + "line": 548, "column": 6 }, "end": { - "line": 539, + "line": 548, "column": 14 } }, "object": { "type": "Identifier", - "start": 11465, - "end": 11466, + "start": 11638, + "end": 11639, "loc": { "start": { - "line": 539, + "line": 548, "column": 6 }, "end": { - "line": 539, + "line": 548, "column": 7 }, "identifierName": "x" @@ -34729,15 +35309,15 @@ }, "property": { "type": "Identifier", - "start": 11467, - "end": 11473, + "start": 11640, + "end": 11646, "loc": { "start": { - "line": 539, + "line": 548, "column": 8 }, "end": { - "line": 539, + "line": 548, "column": 14 }, "identifierName": "length" @@ -34748,29 +35328,29 @@ }, "consequent": { "type": "NewExpression", - "start": 11476, - "end": 11529, + "start": 11649, + "end": 11702, "loc": { "start": { - "line": 539, + "line": 548, "column": 17 }, "end": { - "line": 539, + "line": 548, "column": 70 } }, "callee": { "type": "Identifier", - "start": 11480, - "end": 11487, + "start": 11653, + "end": 11660, "loc": { "start": { - "line": 539, + "line": 548, "column": 21 }, "end": { - "line": 539, + "line": 548, "column": 28 }, "identifierName": "Integer" @@ -34780,15 +35360,15 @@ "arguments": [ { "type": "Identifier", - "start": 11488, - "end": 11489, + "start": 11661, + "end": 11662, "loc": { "start": { - "line": 539, + "line": 548, "column": 29 }, "end": { - "line": 539, + "line": 548, "column": 30 }, "identifierName": "r" @@ -34797,58 +35377,58 @@ }, { "type": "BinaryExpression", - "start": 11491, - "end": 11525, + "start": 11664, + "end": 11698, "loc": { "start": { - "line": 539, + "line": 548, "column": 32 }, "end": { - "line": 539, + "line": 548, "column": 66 } }, "left": { "type": "MemberExpression", - "start": 11491, - "end": 11507, + "start": 11664, + "end": 11680, "loc": { "start": { - "line": 539, + "line": 548, "column": 32 }, "end": { - "line": 539, + "line": 548, "column": 48 } }, "object": { "type": "ThisExpression", - "start": 11491, - "end": 11495, + "start": 11664, + "end": 11668, "loc": { "start": { - "line": 539, + "line": 548, "column": 32 }, "end": { - "line": 539, + "line": 548, "column": 36 } } }, "property": { "type": "Identifier", - "start": 11496, - "end": 11507, + "start": 11669, + "end": 11680, "loc": { "start": { - "line": 539, + "line": 548, "column": 37 }, "end": { - "line": 539, + "line": 548, "column": 48 }, "identifierName": "is_negative" @@ -34860,43 +35440,43 @@ "operator": "^", "right": { "type": "BinaryExpression", - "start": 11511, - "end": 11524, + "start": 11684, + "end": 11697, "loc": { "start": { - "line": 539, + "line": 548, "column": 52 }, "end": { - "line": 539, + "line": 548, "column": 65 } }, "left": { "type": "BinaryExpression", - "start": 11512, - "end": 11521, + "start": 11685, + "end": 11694, "loc": { "start": { - "line": 539, + "line": 548, "column": 53 }, "end": { - "line": 539, + "line": 548, "column": 62 } }, "left": { "type": "Identifier", - "start": 11512, - "end": 11517, + "start": 11685, + "end": 11690, "loc": { "start": { - "line": 539, + "line": 548, "column": 53 }, "end": { - "line": 539, + "line": 548, "column": 58 }, "identifierName": "steps" @@ -34906,15 +35486,15 @@ "operator": "%", "right": { "type": "NumericLiteral", - "start": 11520, - "end": 11521, + "start": 11693, + "end": 11694, "loc": { "start": { - "line": 539, + "line": 548, "column": 61 }, "end": { - "line": 539, + "line": 548, "column": 62 } }, @@ -34926,21 +35506,21 @@ }, "extra": { "parenthesized": true, - "parenStart": 11511 + "parenStart": 11684 } }, "operator": "-", "right": { "type": "NumericLiteral", - "start": 11523, - "end": 11524, + "start": 11696, + "end": 11697, "loc": { "start": { - "line": 539, + "line": 548, "column": 64 }, "end": { - "line": 539, + "line": 548, "column": 65 } }, @@ -34952,21 +35532,21 @@ }, "extra": { "parenthesized": true, - "parenStart": 11510 + "parenStart": 11683 } } }, { "type": "Identifier", - "start": 11527, - "end": 11528, + "start": 11700, + "end": 11701, "loc": { "start": { - "line": 539, + "line": 548, "column": 68 }, "end": { - "line": 539, + "line": 548, "column": 69 }, "identifierName": "x" @@ -34977,29 +35557,29 @@ }, "alternate": { "type": "NewExpression", - "start": 11532, - "end": 11554, + "start": 11705, + "end": 11727, "loc": { "start": { - "line": 539, + "line": 548, "column": 73 }, "end": { - "line": 539, + "line": 548, "column": 95 } }, "callee": { "type": "Identifier", - "start": 11536, - "end": 11543, + "start": 11709, + "end": 11716, "loc": { "start": { - "line": 539, + "line": 548, "column": 77 }, "end": { - "line": 539, + "line": 548, "column": 84 }, "identifierName": "Integer" @@ -35009,15 +35589,15 @@ "arguments": [ { "type": "Identifier", - "start": 11544, - "end": 11545, + "start": 11717, + "end": 11718, "loc": { "start": { - "line": 539, + "line": 548, "column": 85 }, "end": { - "line": 539, + "line": 548, "column": 86 }, "identifierName": "r" @@ -35026,15 +35606,15 @@ }, { "type": "NumericLiteral", - "start": 11547, - "end": 11548, + "start": 11720, + "end": 11721, "loc": { "start": { - "line": 539, + "line": 548, "column": 88 }, "end": { - "line": 539, + "line": 548, "column": 89 } }, @@ -35046,30 +35626,30 @@ }, { "type": "ArrayExpression", - "start": 11550, - "end": 11553, + "start": 11723, + "end": 11726, "loc": { "start": { - "line": 539, + "line": 548, "column": 91 }, "end": { - "line": 539, + "line": 548, "column": 94 } }, "elements": [ { "type": "NumericLiteral", - "start": 11551, - "end": 11552, + "start": 11724, + "end": 11725, "loc": { "start": { - "line": 539, + "line": 548, "column": 92 }, "end": { - "line": 539, + "line": 548, "column": 93 } }, @@ -35087,15 +35667,15 @@ }, { "type": "ObjectProperty", - "start": 11560, - "end": 11652, + "start": 11733, + "end": 11825, "loc": { "start": { - "line": 540, + "line": 549, "column": 3 }, "end": { - "line": 540, + "line": 549, "column": 95 } }, @@ -35104,15 +35684,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11560, - "end": 11561, + "start": 11733, + "end": 11734, "loc": { "start": { - "line": 540, + "line": 549, "column": 3 }, "end": { - "line": 540, + "line": 549, "column": 4 }, "identifierName": "y" @@ -35121,43 +35701,43 @@ }, "value": { "type": "ConditionalExpression", - "start": 11563, - "end": 11652, + "start": 11736, + "end": 11825, "loc": { "start": { - "line": 540, + "line": 549, "column": 6 }, "end": { - "line": 540, + "line": 549, "column": 95 } }, "test": { "type": "MemberExpression", - "start": 11563, - "end": 11571, + "start": 11736, + "end": 11744, "loc": { "start": { - "line": 540, + "line": 549, "column": 6 }, "end": { - "line": 540, + "line": 549, "column": 14 } }, "object": { "type": "Identifier", - "start": 11563, - "end": 11564, + "start": 11736, + "end": 11737, "loc": { "start": { - "line": 540, + "line": 549, "column": 6 }, "end": { - "line": 540, + "line": 549, "column": 7 }, "identifierName": "y" @@ -35166,15 +35746,15 @@ }, "property": { "type": "Identifier", - "start": 11565, - "end": 11571, + "start": 11738, + "end": 11744, "loc": { "start": { - "line": 540, + "line": 549, "column": 8 }, "end": { - "line": 540, + "line": 549, "column": 14 }, "identifierName": "length" @@ -35185,29 +35765,29 @@ }, "consequent": { "type": "NewExpression", - "start": 11574, - "end": 11627, + "start": 11747, + "end": 11800, "loc": { "start": { - "line": 540, + "line": 549, "column": 17 }, "end": { - "line": 540, + "line": 549, "column": 70 } }, "callee": { "type": "Identifier", - "start": 11578, - "end": 11585, + "start": 11751, + "end": 11758, "loc": { "start": { - "line": 540, + "line": 549, "column": 21 }, "end": { - "line": 540, + "line": 549, "column": 28 }, "identifierName": "Integer" @@ -35217,15 +35797,15 @@ "arguments": [ { "type": "Identifier", - "start": 11586, - "end": 11587, + "start": 11759, + "end": 11760, "loc": { "start": { - "line": 540, + "line": 549, "column": 29 }, "end": { - "line": 540, + "line": 549, "column": 30 }, "identifierName": "r" @@ -35234,43 +35814,43 @@ }, { "type": "BinaryExpression", - "start": 11589, - "end": 11623, + "start": 11762, + "end": 11796, "loc": { "start": { - "line": 540, + "line": 549, "column": 32 }, "end": { - "line": 540, + "line": 549, "column": 66 } }, "left": { "type": "MemberExpression", - "start": 11589, - "end": 11606, + "start": 11762, + "end": 11779, "loc": { "start": { - "line": 540, + "line": 549, "column": 32 }, "end": { - "line": 540, + "line": 549, "column": 49 } }, "object": { "type": "Identifier", - "start": 11589, - "end": 11594, + "start": 11762, + "end": 11767, "loc": { "start": { - "line": 540, + "line": 549, "column": 32 }, "end": { - "line": 540, + "line": 549, "column": 37 }, "identifierName": "other" @@ -35279,15 +35859,15 @@ }, "property": { "type": "Identifier", - "start": 11595, - "end": 11606, + "start": 11768, + "end": 11779, "loc": { "start": { - "line": 540, + "line": 549, "column": 38 }, "end": { - "line": 540, + "line": 549, "column": 49 }, "identifierName": "is_negative" @@ -35299,15 +35879,15 @@ "operator": "^", "right": { "type": "UnaryExpression", - "start": 11610, - "end": 11622, + "start": 11783, + "end": 11795, "loc": { "start": { - "line": 540, + "line": 549, "column": 53 }, "end": { - "line": 540, + "line": 549, "column": 65 } }, @@ -35315,29 +35895,29 @@ "prefix": true, "argument": { "type": "BinaryExpression", - "start": 11612, - "end": 11621, + "start": 11785, + "end": 11794, "loc": { "start": { - "line": 540, + "line": 549, "column": 55 }, "end": { - "line": 540, + "line": 549, "column": 64 } }, "left": { "type": "Identifier", - "start": 11612, - "end": 11617, + "start": 11785, + "end": 11790, "loc": { "start": { - "line": 540, + "line": 549, "column": 55 }, "end": { - "line": 540, + "line": 549, "column": 60 }, "identifierName": "steps" @@ -35347,15 +35927,15 @@ "operator": "%", "right": { "type": "NumericLiteral", - "start": 11620, - "end": 11621, + "start": 11793, + "end": 11794, "loc": { "start": { - "line": 540, + "line": 549, "column": 63 }, "end": { - "line": 540, + "line": 549, "column": 64 } }, @@ -35367,27 +35947,27 @@ }, "extra": { "parenthesized": true, - "parenStart": 11611 + "parenStart": 11784 } }, "extra": { "parenthesizedArgument": false, "parenthesized": true, - "parenStart": 11609 + "parenStart": 11782 } } }, { "type": "Identifier", - "start": 11625, - "end": 11626, + "start": 11798, + "end": 11799, "loc": { "start": { - "line": 540, + "line": 549, "column": 68 }, "end": { - "line": 540, + "line": 549, "column": 69 }, "identifierName": "y" @@ -35398,29 +35978,29 @@ }, "alternate": { "type": "NewExpression", - "start": 11630, - "end": 11652, + "start": 11803, + "end": 11825, "loc": { "start": { - "line": 540, + "line": 549, "column": 73 }, "end": { - "line": 540, + "line": 549, "column": 95 } }, "callee": { "type": "Identifier", - "start": 11634, - "end": 11641, + "start": 11807, + "end": 11814, "loc": { "start": { - "line": 540, + "line": 549, "column": 77 }, "end": { - "line": 540, + "line": 549, "column": 84 }, "identifierName": "Integer" @@ -35430,15 +36010,15 @@ "arguments": [ { "type": "Identifier", - "start": 11642, - "end": 11643, + "start": 11815, + "end": 11816, "loc": { "start": { - "line": 540, + "line": 549, "column": 85 }, "end": { - "line": 540, + "line": 549, "column": 86 }, "identifierName": "r" @@ -35447,15 +36027,15 @@ }, { "type": "NumericLiteral", - "start": 11645, - "end": 11646, + "start": 11818, + "end": 11819, "loc": { "start": { - "line": 540, + "line": 549, "column": 88 }, "end": { - "line": 540, + "line": 549, "column": 89 } }, @@ -35467,30 +36047,30 @@ }, { "type": "ArrayExpression", - "start": 11648, - "end": 11651, + "start": 11821, + "end": 11824, "loc": { "start": { - "line": 540, + "line": 549, "column": 91 }, "end": { - "line": 540, + "line": 549, "column": 94 } }, "elements": [ { "type": "NumericLiteral", - "start": 11649, - "end": 11650, + "start": 11822, + "end": 11823, "loc": { "start": { - "line": 540, + "line": 549, "column": 92 }, "end": { - "line": 540, + "line": 549, "column": 93 } }, @@ -35508,15 +36088,15 @@ }, { "type": "ObjectProperty", - "start": 11658, - "end": 11749, + "start": 11831, + "end": 11922, "loc": { "start": { - "line": 541, + "line": 550, "column": 3 }, "end": { - "line": 541, + "line": 550, "column": 94 } }, @@ -35525,15 +36105,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11658, - "end": 11659, + "start": 11831, + "end": 11832, "loc": { "start": { - "line": 541, + "line": 550, "column": 3 }, "end": { - "line": 541, + "line": 550, "column": 4 }, "identifierName": "u" @@ -35542,43 +36122,43 @@ }, "value": { "type": "ConditionalExpression", - "start": 11661, - "end": 11749, + "start": 11834, + "end": 11922, "loc": { "start": { - "line": 541, + "line": 550, "column": 6 }, "end": { - "line": 541, + "line": 550, "column": 94 } }, "test": { "type": "MemberExpression", - "start": 11661, - "end": 11669, + "start": 11834, + "end": 11842, "loc": { "start": { - "line": 541, + "line": 550, "column": 6 }, "end": { - "line": 541, + "line": 550, "column": 14 } }, "object": { "type": "Identifier", - "start": 11661, - "end": 11662, + "start": 11834, + "end": 11835, "loc": { "start": { - "line": 541, + "line": 550, "column": 6 }, "end": { - "line": 541, + "line": 550, "column": 7 }, "identifierName": "u" @@ -35587,15 +36167,15 @@ }, "property": { "type": "Identifier", - "start": 11663, - "end": 11669, + "start": 11836, + "end": 11842, "loc": { "start": { - "line": 541, + "line": 550, "column": 8 }, "end": { - "line": 541, + "line": 550, "column": 14 }, "identifierName": "length" @@ -35606,29 +36186,29 @@ }, "consequent": { "type": "NewExpression", - "start": 11672, - "end": 11724, + "start": 11845, + "end": 11897, "loc": { "start": { - "line": 541, + "line": 550, "column": 17 }, "end": { - "line": 541, + "line": 550, "column": 69 } }, "callee": { "type": "Identifier", - "start": 11676, - "end": 11683, + "start": 11849, + "end": 11856, "loc": { "start": { - "line": 541, + "line": 550, "column": 21 }, "end": { - "line": 541, + "line": 550, "column": 28 }, "identifierName": "Integer" @@ -35638,15 +36218,15 @@ "arguments": [ { "type": "Identifier", - "start": 11684, - "end": 11685, + "start": 11857, + "end": 11858, "loc": { "start": { - "line": 541, + "line": 550, "column": 29 }, "end": { - "line": 541, + "line": 550, "column": 30 }, "identifierName": "r" @@ -35655,58 +36235,58 @@ }, { "type": "BinaryExpression", - "start": 11687, - "end": 11720, + "start": 11860, + "end": 11893, "loc": { "start": { - "line": 541, + "line": 550, "column": 32 }, "end": { - "line": 541, + "line": 550, "column": 65 } }, "left": { "type": "MemberExpression", - "start": 11687, - "end": 11703, + "start": 11860, + "end": 11876, "loc": { "start": { - "line": 541, + "line": 550, "column": 32 }, "end": { - "line": 541, + "line": 550, "column": 48 } }, "object": { "type": "ThisExpression", - "start": 11687, - "end": 11691, + "start": 11860, + "end": 11864, "loc": { "start": { - "line": 541, + "line": 550, "column": 32 }, "end": { - "line": 541, + "line": 550, "column": 36 } } }, "property": { "type": "Identifier", - "start": 11692, - "end": 11703, + "start": 11865, + "end": 11876, "loc": { "start": { - "line": 541, + "line": 550, "column": 37 }, "end": { - "line": 541, + "line": 550, "column": 48 }, "identifierName": "is_negative" @@ -35718,15 +36298,15 @@ "operator": "^", "right": { "type": "UnaryExpression", - "start": 11707, - "end": 11719, + "start": 11880, + "end": 11892, "loc": { "start": { - "line": 541, + "line": 550, "column": 52 }, "end": { - "line": 541, + "line": 550, "column": 64 } }, @@ -35734,29 +36314,29 @@ "prefix": true, "argument": { "type": "BinaryExpression", - "start": 11709, - "end": 11718, + "start": 11882, + "end": 11891, "loc": { "start": { - "line": 541, + "line": 550, "column": 54 }, "end": { - "line": 541, + "line": 550, "column": 63 } }, "left": { "type": "Identifier", - "start": 11709, - "end": 11714, + "start": 11882, + "end": 11887, "loc": { "start": { - "line": 541, + "line": 550, "column": 54 }, "end": { - "line": 541, + "line": 550, "column": 59 }, "identifierName": "steps" @@ -35766,15 +36346,15 @@ "operator": "%", "right": { "type": "NumericLiteral", - "start": 11717, - "end": 11718, + "start": 11890, + "end": 11891, "loc": { "start": { - "line": 541, + "line": 550, "column": 62 }, "end": { - "line": 541, + "line": 550, "column": 63 } }, @@ -35786,27 +36366,27 @@ }, "extra": { "parenthesized": true, - "parenStart": 11708 + "parenStart": 11881 } }, "extra": { "parenthesizedArgument": false, "parenthesized": true, - "parenStart": 11706 + "parenStart": 11879 } } }, { "type": "Identifier", - "start": 11722, - "end": 11723, + "start": 11895, + "end": 11896, "loc": { "start": { - "line": 541, + "line": 550, "column": 67 }, "end": { - "line": 541, + "line": 550, "column": 68 }, "identifierName": "u" @@ -35817,29 +36397,29 @@ }, "alternate": { "type": "NewExpression", - "start": 11727, - "end": 11749, + "start": 11900, + "end": 11922, "loc": { "start": { - "line": 541, + "line": 550, "column": 72 }, "end": { - "line": 541, + "line": 550, "column": 94 } }, "callee": { "type": "Identifier", - "start": 11731, - "end": 11738, + "start": 11904, + "end": 11911, "loc": { "start": { - "line": 541, + "line": 550, "column": 76 }, "end": { - "line": 541, + "line": 550, "column": 83 }, "identifierName": "Integer" @@ -35849,15 +36429,15 @@ "arguments": [ { "type": "Identifier", - "start": 11739, - "end": 11740, + "start": 11912, + "end": 11913, "loc": { "start": { - "line": 541, + "line": 550, "column": 84 }, "end": { - "line": 541, + "line": 550, "column": 85 }, "identifierName": "r" @@ -35866,15 +36446,15 @@ }, { "type": "NumericLiteral", - "start": 11742, - "end": 11743, + "start": 11915, + "end": 11916, "loc": { "start": { - "line": 541, + "line": 550, "column": 87 }, "end": { - "line": 541, + "line": 550, "column": 88 } }, @@ -35886,30 +36466,30 @@ }, { "type": "ArrayExpression", - "start": 11745, - "end": 11748, + "start": 11918, + "end": 11921, "loc": { "start": { - "line": 541, + "line": 550, "column": 90 }, "end": { - "line": 541, + "line": 550, "column": 93 } }, "elements": [ { "type": "NumericLiteral", - "start": 11746, - "end": 11747, + "start": 11919, + "end": 11920, "loc": { "start": { - "line": 541, + "line": 550, "column": 91 }, "end": { - "line": 541, + "line": 550, "column": 92 } }, @@ -35927,15 +36507,15 @@ }, { "type": "ObjectProperty", - "start": 11755, - "end": 11848, + "start": 11928, + "end": 12021, "loc": { "start": { - "line": 542, + "line": 551, "column": 3 }, "end": { - "line": 542, + "line": 551, "column": 96 } }, @@ -35944,15 +36524,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11755, - "end": 11756, + "start": 11928, + "end": 11929, "loc": { "start": { - "line": 542, + "line": 551, "column": 3 }, "end": { - "line": 542, + "line": 551, "column": 4 }, "identifierName": "v" @@ -35961,43 +36541,43 @@ }, "value": { "type": "ConditionalExpression", - "start": 11758, - "end": 11848, + "start": 11931, + "end": 12021, "loc": { "start": { - "line": 542, + "line": 551, "column": 6 }, "end": { - "line": 542, + "line": 551, "column": 96 } }, "test": { "type": "MemberExpression", - "start": 11758, - "end": 11766, + "start": 11931, + "end": 11939, "loc": { "start": { - "line": 542, + "line": 551, "column": 6 }, "end": { - "line": 542, + "line": 551, "column": 14 } }, "object": { "type": "Identifier", - "start": 11758, - "end": 11759, + "start": 11931, + "end": 11932, "loc": { "start": { - "line": 542, + "line": 551, "column": 6 }, "end": { - "line": 542, + "line": 551, "column": 7 }, "identifierName": "v" @@ -36006,15 +36586,15 @@ }, "property": { "type": "Identifier", - "start": 11760, - "end": 11766, + "start": 11933, + "end": 11939, "loc": { "start": { - "line": 542, + "line": 551, "column": 8 }, "end": { - "line": 542, + "line": 551, "column": 14 }, "identifierName": "length" @@ -36025,29 +36605,29 @@ }, "consequent": { "type": "NewExpression", - "start": 11769, - "end": 11823, + "start": 11942, + "end": 11996, "loc": { "start": { - "line": 542, + "line": 551, "column": 17 }, "end": { - "line": 542, + "line": 551, "column": 71 } }, "callee": { "type": "Identifier", - "start": 11773, - "end": 11780, + "start": 11946, + "end": 11953, "loc": { "start": { - "line": 542, + "line": 551, "column": 21 }, "end": { - "line": 542, + "line": 551, "column": 28 }, "identifierName": "Integer" @@ -36057,15 +36637,15 @@ "arguments": [ { "type": "Identifier", - "start": 11781, - "end": 11782, + "start": 11954, + "end": 11955, "loc": { "start": { - "line": 542, + "line": 551, "column": 29 }, "end": { - "line": 542, + "line": 551, "column": 30 }, "identifierName": "r" @@ -36074,43 +36654,43 @@ }, { "type": "BinaryExpression", - "start": 11784, - "end": 11819, + "start": 11957, + "end": 11992, "loc": { "start": { - "line": 542, + "line": 551, "column": 32 }, "end": { - "line": 542, + "line": 551, "column": 67 } }, "left": { "type": "MemberExpression", - "start": 11784, - "end": 11801, + "start": 11957, + "end": 11974, "loc": { "start": { - "line": 542, + "line": 551, "column": 32 }, "end": { - "line": 542, + "line": 551, "column": 49 } }, "object": { "type": "Identifier", - "start": 11784, - "end": 11789, + "start": 11957, + "end": 11962, "loc": { "start": { - "line": 542, + "line": 551, "column": 32 }, "end": { - "line": 542, + "line": 551, "column": 37 }, "identifierName": "other" @@ -36119,15 +36699,15 @@ }, "property": { "type": "Identifier", - "start": 11790, - "end": 11801, + "start": 11963, + "end": 11974, "loc": { "start": { - "line": 542, + "line": 551, "column": 38 }, "end": { - "line": 542, + "line": 551, "column": 49 }, "identifierName": "is_negative" @@ -36139,43 +36719,43 @@ "operator": "^", "right": { "type": "BinaryExpression", - "start": 11805, - "end": 11818, + "start": 11978, + "end": 11991, "loc": { "start": { - "line": 542, + "line": 551, "column": 53 }, "end": { - "line": 542, + "line": 551, "column": 66 } }, "left": { "type": "BinaryExpression", - "start": 11806, - "end": 11815, + "start": 11979, + "end": 11988, "loc": { "start": { - "line": 542, + "line": 551, "column": 54 }, "end": { - "line": 542, + "line": 551, "column": 63 } }, "left": { "type": "Identifier", - "start": 11806, - "end": 11811, + "start": 11979, + "end": 11984, "loc": { "start": { - "line": 542, + "line": 551, "column": 54 }, "end": { - "line": 542, + "line": 551, "column": 59 }, "identifierName": "steps" @@ -36185,15 +36765,15 @@ "operator": "%", "right": { "type": "NumericLiteral", - "start": 11814, - "end": 11815, + "start": 11987, + "end": 11988, "loc": { "start": { - "line": 542, + "line": 551, "column": 62 }, "end": { - "line": 542, + "line": 551, "column": 63 } }, @@ -36205,21 +36785,21 @@ }, "extra": { "parenthesized": true, - "parenStart": 11805 + "parenStart": 11978 } }, "operator": "-", "right": { "type": "NumericLiteral", - "start": 11817, - "end": 11818, + "start": 11990, + "end": 11991, "loc": { "start": { - "line": 542, + "line": 551, "column": 65 }, "end": { - "line": 542, + "line": 551, "column": 66 } }, @@ -36231,21 +36811,21 @@ }, "extra": { "parenthesized": true, - "parenStart": 11804 + "parenStart": 11977 } } }, { "type": "Identifier", - "start": 11821, - "end": 11822, + "start": 11994, + "end": 11995, "loc": { "start": { - "line": 542, + "line": 551, "column": 69 }, "end": { - "line": 542, + "line": 551, "column": 70 }, "identifierName": "v" @@ -36256,29 +36836,29 @@ }, "alternate": { "type": "NewExpression", - "start": 11826, - "end": 11848, + "start": 11999, + "end": 12021, "loc": { "start": { - "line": 542, + "line": 551, "column": 74 }, "end": { - "line": 542, + "line": 551, "column": 96 } }, "callee": { "type": "Identifier", - "start": 11830, - "end": 11837, + "start": 12003, + "end": 12010, "loc": { "start": { - "line": 542, + "line": 551, "column": 78 }, "end": { - "line": 542, + "line": 551, "column": 85 }, "identifierName": "Integer" @@ -36288,15 +36868,15 @@ "arguments": [ { "type": "Identifier", - "start": 11838, - "end": 11839, + "start": 12011, + "end": 12012, "loc": { "start": { - "line": 542, + "line": 551, "column": 86 }, "end": { - "line": 542, + "line": 551, "column": 87 }, "identifierName": "r" @@ -36305,15 +36885,15 @@ }, { "type": "NumericLiteral", - "start": 11841, - "end": 11842, + "start": 12014, + "end": 12015, "loc": { "start": { - "line": 542, + "line": 551, "column": 89 }, "end": { - "line": 542, + "line": 551, "column": 90 } }, @@ -36325,30 +36905,30 @@ }, { "type": "ArrayExpression", - "start": 11844, - "end": 11847, + "start": 12017, + "end": 12020, "loc": { "start": { - "line": 542, + "line": 551, "column": 92 }, "end": { - "line": 542, + "line": 551, "column": 95 } }, "elements": [ { "type": "NumericLiteral", - "start": 11845, - "end": 11846, + "start": 12018, + "end": 12019, "loc": { "start": { - "line": 542, + "line": 551, "column": 93 }, "end": { - "line": 542, + "line": 551, "column": 94 } }, @@ -36373,15 +36953,15 @@ }, { "type": "ClassMethod", - "start": 11862, - "end": 12395, + "start": 12035, + "end": 12568, "loc": { "start": { - "line": 546, + "line": 555, "column": 1 }, "end": { - "line": 560, + "line": 569, "column": 2 } }, @@ -36389,15 +36969,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11862, - "end": 11869, + "start": 12035, + "end": 12042, "loc": { "start": { - "line": 546, + "line": 555, "column": 1 }, "end": { - "line": 546, + "line": 555, "column": 8 }, "identifierName": "valueOf" @@ -36412,87 +36992,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 11874, - "end": 12395, + "start": 12047, + "end": 12568, "loc": { "start": { - "line": 546, + "line": 555, "column": 13 }, "end": { - "line": 560, + "line": 569, "column": 2 } }, "body": [ { "type": "IfStatement", - "start": 11879, - "end": 12011, + "start": 12052, + "end": 12184, "loc": { "start": { - "line": 548, + "line": 557, "column": 2 }, "end": { - "line": 548, + "line": 557, "column": 134 } }, "test": { "type": "CallExpression", - "start": 11883, - "end": 11903, + "start": 12056, + "end": 12076, "loc": { "start": { - "line": 548, + "line": 557, "column": 6 }, "end": { - "line": 548, + "line": 557, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 11883, - "end": 11891, + "start": 12056, + "end": 12064, "loc": { "start": { - "line": 548, + "line": 557, "column": 6 }, "end": { - "line": 548, + "line": 557, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 11883, - "end": 11887, + "start": 12056, + "end": 12060, "loc": { "start": { - "line": 548, + "line": 557, "column": 6 }, "end": { - "line": 548, + "line": 557, "column": 10 } } }, "property": { "type": "Identifier", - "start": 11888, - "end": 11891, + "start": 12061, + "end": 12064, "loc": { "start": { - "line": 548, + "line": 557, "column": 11 }, "end": { - "line": 548, + "line": 557, "column": 14 }, "identifierName": "gtn" @@ -36504,15 +37084,15 @@ "arguments": [ { "type": "Identifier", - "start": 11892, - "end": 11902, + "start": 12065, + "end": 12075, "loc": { "start": { - "line": 548, + "line": 557, "column": 15 }, "end": { - "line": 548, + "line": 557, "column": 25 }, "identifierName": "MAX_NUMBER" @@ -36523,43 +37103,43 @@ }, "consequent": { "type": "ThrowStatement", - "start": 11905, - "end": 12011, + "start": 12078, + "end": 12184, "loc": { "start": { - "line": 548, + "line": 557, "column": 28 }, "end": { - "line": 548, + "line": 557, "column": 134 } }, "argument": { "type": "NewExpression", - "start": 11911, - "end": 12009, + "start": 12084, + "end": 12182, "loc": { "start": { - "line": 548, + "line": 557, "column": 34 }, "end": { - "line": 548, + "line": 557, "column": 132 } }, "callee": { "type": "Identifier", - "start": 11915, - "end": 11925, + "start": 12088, + "end": 12098, "loc": { "start": { - "line": 548, + "line": 557, "column": 38 }, "end": { - "line": 548, + "line": 557, "column": 48 }, "identifierName": "ValueError" @@ -36569,30 +37149,30 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 11926, - "end": 12008, + "start": 12099, + "end": 12181, "loc": { "start": { - "line": 548, + "line": 557, "column": 49 }, "end": { - "line": 548, + "line": 557, "column": 131 } }, "expressions": [ { "type": "Identifier", - "start": 11972, - "end": 11982, + "start": 12145, + "end": 12155, "loc": { "start": { - "line": 548, + "line": 557, "column": 95 }, "end": { - "line": 548, + "line": 557, "column": 105 }, "identifierName": "MAX_NUMBER" @@ -36601,58 +37181,58 @@ }, { "type": "CallExpression", - "start": 11991, - "end": 12006, + "start": 12164, + "end": 12179, "loc": { "start": { - "line": 548, + "line": 557, "column": 114 }, "end": { - "line": 548, + "line": 557, "column": 129 } }, "callee": { "type": "MemberExpression", - "start": 11991, - "end": 12004, + "start": 12164, + "end": 12177, "loc": { "start": { - "line": 548, + "line": 557, "column": 114 }, "end": { - "line": 548, + "line": 557, "column": 127 } }, "object": { "type": "ThisExpression", - "start": 11991, - "end": 11995, + "start": 12164, + "end": 12168, "loc": { "start": { - "line": 548, + "line": 557, "column": 114 }, "end": { - "line": 548, + "line": 557, "column": 118 } } }, "property": { "type": "Identifier", - "start": 11996, - "end": 12004, + "start": 12169, + "end": 12177, "loc": { "start": { - "line": 548, + "line": 557, "column": 119 }, "end": { - "line": 548, + "line": 557, "column": 127 }, "identifierName": "toString" @@ -36667,15 +37247,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 11927, - "end": 11970, + "start": 12100, + "end": 12143, "loc": { "start": { - "line": 548, + "line": 557, "column": 50 }, "end": { - "line": 548, + "line": 557, "column": 93 } }, @@ -36687,15 +37267,15 @@ }, { "type": "TemplateElement", - "start": 11983, - "end": 11989, + "start": 12156, + "end": 12162, "loc": { "start": { - "line": 548, + "line": 557, "column": 106 }, "end": { - "line": 548, + "line": 557, "column": 112 } }, @@ -36707,15 +37287,15 @@ }, { "type": "TemplateElement", - "start": 12007, - "end": 12007, + "start": 12180, + "end": 12180, "loc": { "start": { - "line": 548, + "line": 557, "column": 130 }, "end": { - "line": 548, + "line": 557, "column": 130 } }, @@ -36734,72 +37314,72 @@ }, { "type": "IfStatement", - "start": 12014, - "end": 12147, + "start": 12187, + "end": 12320, "loc": { "start": { - "line": 549, + "line": 558, "column": 2 }, "end": { - "line": 549, + "line": 558, "column": 135 } }, "test": { "type": "CallExpression", - "start": 12018, - "end": 12038, + "start": 12191, + "end": 12211, "loc": { "start": { - "line": 549, + "line": 558, "column": 6 }, "end": { - "line": 549, + "line": 558, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 12018, - "end": 12026, + "start": 12191, + "end": 12199, "loc": { "start": { - "line": 549, + "line": 558, "column": 6 }, "end": { - "line": 549, + "line": 558, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 12018, - "end": 12022, + "start": 12191, + "end": 12195, "loc": { "start": { - "line": 549, + "line": 558, "column": 6 }, "end": { - "line": 549, + "line": 558, "column": 10 } } }, "property": { "type": "Identifier", - "start": 12023, - "end": 12026, + "start": 12196, + "end": 12199, "loc": { "start": { - "line": 549, + "line": 558, "column": 11 }, "end": { - "line": 549, + "line": 558, "column": 14 }, "identifierName": "ltn" @@ -36811,15 +37391,15 @@ "arguments": [ { "type": "Identifier", - "start": 12027, - "end": 12037, + "start": 12200, + "end": 12210, "loc": { "start": { - "line": 549, + "line": 558, "column": 15 }, "end": { - "line": 549, + "line": 558, "column": 25 }, "identifierName": "MIN_NUMBER" @@ -36830,43 +37410,43 @@ }, "consequent": { "type": "ThrowStatement", - "start": 12040, - "end": 12147, + "start": 12213, + "end": 12320, "loc": { "start": { - "line": 549, + "line": 558, "column": 28 }, "end": { - "line": 549, + "line": 558, "column": 135 } }, "argument": { "type": "NewExpression", - "start": 12046, - "end": 12145, + "start": 12219, + "end": 12318, "loc": { "start": { - "line": 549, + "line": 558, "column": 34 }, "end": { - "line": 549, + "line": 558, "column": 133 } }, "callee": { "type": "Identifier", - "start": 12050, - "end": 12060, + "start": 12223, + "end": 12233, "loc": { "start": { - "line": 549, + "line": 558, "column": 38 }, "end": { - "line": 549, + "line": 558, "column": 48 }, "identifierName": "ValueError" @@ -36876,30 +37456,30 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 12061, - "end": 12144, + "start": 12234, + "end": 12317, "loc": { "start": { - "line": 549, + "line": 558, "column": 49 }, "end": { - "line": 549, + "line": 558, "column": 132 } }, "expressions": [ { "type": "Identifier", - "start": 12108, - "end": 12118, + "start": 12281, + "end": 12291, "loc": { "start": { - "line": 549, + "line": 558, "column": 96 }, "end": { - "line": 549, + "line": 558, "column": 106 }, "identifierName": "MIN_NUMBER" @@ -36908,58 +37488,58 @@ }, { "type": "CallExpression", - "start": 12127, - "end": 12142, + "start": 12300, + "end": 12315, "loc": { "start": { - "line": 549, + "line": 558, "column": 115 }, "end": { - "line": 549, + "line": 558, "column": 130 } }, "callee": { "type": "MemberExpression", - "start": 12127, - "end": 12140, + "start": 12300, + "end": 12313, "loc": { "start": { - "line": 549, + "line": 558, "column": 115 }, "end": { - "line": 549, + "line": 558, "column": 128 } }, "object": { "type": "ThisExpression", - "start": 12127, - "end": 12131, + "start": 12300, + "end": 12304, "loc": { "start": { - "line": 549, + "line": 558, "column": 115 }, "end": { - "line": 549, + "line": 558, "column": 119 } } }, "property": { "type": "Identifier", - "start": 12132, - "end": 12140, + "start": 12305, + "end": 12313, "loc": { "start": { - "line": 549, + "line": 558, "column": 120 }, "end": { - "line": 549, + "line": 558, "column": 128 }, "identifierName": "toString" @@ -36974,15 +37554,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 12062, - "end": 12106, + "start": 12235, + "end": 12279, "loc": { "start": { - "line": 549, + "line": 558, "column": 50 }, "end": { - "line": 549, + "line": 558, "column": 94 } }, @@ -36994,15 +37574,15 @@ }, { "type": "TemplateElement", - "start": 12119, - "end": 12125, + "start": 12292, + "end": 12298, "loc": { "start": { - "line": 549, + "line": 558, "column": 107 }, "end": { - "line": 549, + "line": 558, "column": 113 } }, @@ -37014,15 +37594,15 @@ }, { "type": "TemplateElement", - "start": 12143, - "end": 12143, + "start": 12316, + "end": 12316, "loc": { "start": { - "line": 549, + "line": 558, "column": 131 }, "end": { - "line": 549, + "line": 558, "column": 131 } }, @@ -37041,44 +37621,44 @@ }, { "type": "VariableDeclaration", - "start": 12151, - "end": 12235, + "start": 12324, + "end": 12408, "loc": { "start": { - "line": 551, + "line": 560, "column": 2 }, "end": { - "line": 551, + "line": 560, "column": 86 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 12157, - "end": 12233, + "start": 12330, + "end": 12406, "loc": { "start": { - "line": 551, + "line": 560, "column": 8 }, "end": { - "line": 551, + "line": 560, "column": 84 } }, "id": { "type": "Identifier", - "start": 12157, - "end": 12162, + "start": 12330, + "end": 12335, "loc": { "start": { - "line": 551, + "line": 560, "column": 8 }, "end": { - "line": 551, + "line": 560, "column": 13 }, "identifierName": "limbs" @@ -37087,29 +37667,29 @@ }, "init": { "type": "CallExpression", - "start": 12165, - "end": 12233, + "start": 12338, + "end": 12406, "loc": { "start": { - "line": 551, + "line": 560, "column": 16 }, "end": { - "line": 551, + "line": 560, "column": 84 } }, "callee": { "type": "Identifier", - "start": 12165, - "end": 12172, + "start": 12338, + "end": 12345, "loc": { "start": { - "line": 551, + "line": 560, "column": 16 }, "end": { - "line": 551, + "line": 560, "column": 23 }, "identifierName": "convert" @@ -37119,44 +37699,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 12174, - "end": 12183, + "start": 12347, + "end": 12356, "loc": { "start": { - "line": 551, + "line": 560, "column": 25 }, "end": { - "line": 551, + "line": 560, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 12174, - "end": 12178, + "start": 12347, + "end": 12351, "loc": { "start": { - "line": 551, + "line": 560, "column": 25 }, "end": { - "line": 551, + "line": 560, "column": 29 } } }, "property": { "type": "Identifier", - "start": 12179, - "end": 12183, + "start": 12352, + "end": 12356, "loc": { "start": { - "line": 551, + "line": 560, "column": 30 }, "end": { - "line": 551, + "line": 560, "column": 34 }, "identifierName": "base" @@ -37167,15 +37747,15 @@ }, { "type": "Identifier", - "start": 12186, - "end": 12194, + "start": 12359, + "end": 12367, "loc": { "start": { - "line": 551, + "line": 560, "column": 37 }, "end": { - "line": 551, + "line": 560, "column": 45 }, "identifierName": "MAX_BASE" @@ -37184,44 +37764,44 @@ }, { "type": "MemberExpression", - "start": 12197, - "end": 12207, + "start": 12370, + "end": 12380, "loc": { "start": { - "line": 551, + "line": 560, "column": 48 }, "end": { - "line": 551, + "line": 560, "column": 58 } }, "object": { "type": "ThisExpression", - "start": 12197, - "end": 12201, + "start": 12370, + "end": 12374, "loc": { "start": { - "line": 551, + "line": 560, "column": 48 }, "end": { - "line": 551, + "line": 560, "column": 52 } } }, "property": { "type": "Identifier", - "start": 12202, - "end": 12207, + "start": 12375, + "end": 12380, "loc": { "start": { - "line": 551, + "line": 560, "column": 53 }, "end": { - "line": 551, + "line": 560, "column": 58 }, "identifierName": "limbs" @@ -37232,15 +37812,15 @@ }, { "type": "NumericLiteral", - "start": 12210, - "end": 12211, + "start": 12383, + "end": 12384, "loc": { "start": { - "line": 551, + "line": 560, "column": 61 }, "end": { - "line": 551, + "line": 560, "column": 62 } }, @@ -37252,58 +37832,58 @@ }, { "type": "MemberExpression", - "start": 12214, - "end": 12231, + "start": 12387, + "end": 12404, "loc": { "start": { - "line": 551, + "line": 560, "column": 65 }, "end": { - "line": 551, + "line": 560, "column": 82 } }, "object": { "type": "MemberExpression", - "start": 12214, - "end": 12224, + "start": 12387, + "end": 12397, "loc": { "start": { - "line": 551, + "line": 560, "column": 65 }, "end": { - "line": 551, + "line": 560, "column": 75 } }, "object": { "type": "ThisExpression", - "start": 12214, - "end": 12218, + "start": 12387, + "end": 12391, "loc": { "start": { - "line": 551, + "line": 560, "column": 65 }, "end": { - "line": 551, + "line": 560, "column": 69 } } }, "property": { "type": "Identifier", - "start": 12219, - "end": 12224, + "start": 12392, + "end": 12397, "loc": { "start": { - "line": 551, + "line": 560, "column": 70 }, "end": { - "line": 551, + "line": 560, "column": 75 }, "identifierName": "limbs" @@ -37314,15 +37894,15 @@ }, "property": { "type": "Identifier", - "start": 12225, - "end": 12231, + "start": 12398, + "end": 12404, "loc": { "start": { - "line": 551, + "line": 560, "column": 76 }, "end": { - "line": 551, + "line": 560, "column": 82 }, "identifierName": "length" @@ -37339,44 +37919,44 @@ }, { "type": "VariableDeclaration", - "start": 12239, - "end": 12279, + "start": 12412, + "end": 12452, "loc": { "start": { - "line": 553, + "line": 562, "column": 2 }, "end": { - "line": 553, + "line": 562, "column": 42 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 12245, - "end": 12277, + "start": 12418, + "end": 12450, "loc": { "start": { - "line": 553, + "line": 562, "column": 8 }, "end": { - "line": 553, + "line": 562, "column": 40 } }, "id": { "type": "Identifier", - "start": 12245, - "end": 12249, + "start": 12418, + "end": 12422, "loc": { "start": { - "line": 553, + "line": 562, "column": 8 }, "end": { - "line": 553, + "line": 562, "column": 12 }, "identifierName": "sign" @@ -37385,58 +37965,58 @@ }, "init": { "type": "ConditionalExpression", - "start": 12252, - "end": 12277, + "start": 12425, + "end": 12450, "loc": { "start": { - "line": 553, + "line": 562, "column": 15 }, "end": { - "line": 553, + "line": 562, "column": 40 } }, "test": { "type": "MemberExpression", - "start": 12252, - "end": 12268, + "start": 12425, + "end": 12441, "loc": { "start": { - "line": 553, + "line": 562, "column": 15 }, "end": { - "line": 553, + "line": 562, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 12252, - "end": 12256, + "start": 12425, + "end": 12429, "loc": { "start": { - "line": 553, + "line": 562, "column": 15 }, "end": { - "line": 553, + "line": 562, "column": 19 } } }, "property": { "type": "Identifier", - "start": 12257, - "end": 12268, + "start": 12430, + "end": 12441, "loc": { "start": { - "line": 553, + "line": 562, "column": 20 }, "end": { - "line": 553, + "line": 562, "column": 31 }, "identifierName": "is_negative" @@ -37447,15 +38027,15 @@ }, "consequent": { "type": "UnaryExpression", - "start": 12271, - "end": 12273, + "start": 12444, + "end": 12446, "loc": { "start": { - "line": 553, + "line": 562, "column": 34 }, "end": { - "line": 553, + "line": 562, "column": 36 } }, @@ -37463,15 +38043,15 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 12272, - "end": 12273, + "start": 12445, + "end": 12446, "loc": { "start": { - "line": 553, + "line": 562, "column": 35 }, "end": { - "line": 553, + "line": 562, "column": 36 } }, @@ -37487,15 +38067,15 @@ }, "alternate": { "type": "NumericLiteral", - "start": 12276, - "end": 12277, + "start": 12449, + "end": 12450, "loc": { "start": { - "line": 553, + "line": 562, "column": 39 }, "end": { - "line": 553, + "line": 562, "column": 40 } }, @@ -37512,44 +38092,44 @@ }, { "type": "VariableDeclaration", - "start": 12283, - "end": 12367, + "start": 12456, + "end": 12540, "loc": { "start": { - "line": 555, + "line": 564, "column": 2 }, "end": { - "line": 557, + "line": 566, "column": 13 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 12289, - "end": 12365, + "start": 12462, + "end": 12538, "loc": { "start": { - "line": 555, + "line": 564, "column": 8 }, "end": { - "line": 557, + "line": 566, "column": 11 } }, "id": { "type": "Identifier", - "start": 12289, - "end": 12294, + "start": 12462, + "end": 12467, "loc": { "start": { - "line": 555, + "line": 564, "column": 8 }, "end": { - "line": 555, + "line": 564, "column": 13 }, "identifierName": "value" @@ -37558,57 +38138,57 @@ }, "init": { "type": "ConditionalExpression", - "start": 12297, - "end": 12365, + "start": 12470, + "end": 12538, "loc": { "start": { - "line": 555, + "line": 564, "column": 16 }, "end": { - "line": 557, + "line": 566, "column": 11 } }, "test": { "type": "BinaryExpression", - "start": 12297, - "end": 12315, + "start": 12470, + "end": 12488, "loc": { "start": { - "line": 555, + "line": 564, "column": 16 }, "end": { - "line": 555, + "line": 564, "column": 34 } }, "left": { "type": "MemberExpression", - "start": 12297, - "end": 12309, + "start": 12470, + "end": 12482, "loc": { "start": { - "line": 555, + "line": 564, "column": 16 }, "end": { - "line": 555, + "line": 564, "column": 28 } }, "object": { "type": "Identifier", - "start": 12297, - "end": 12302, + "start": 12470, + "end": 12475, "loc": { "start": { - "line": 555, + "line": 564, "column": 16 }, "end": { - "line": 555, + "line": 564, "column": 21 }, "identifierName": "limbs" @@ -37617,15 +38197,15 @@ }, "property": { "type": "Identifier", - "start": 12303, - "end": 12309, + "start": 12476, + "end": 12482, "loc": { "start": { - "line": 555, + "line": 564, "column": 22 }, "end": { - "line": 555, + "line": 564, "column": 28 }, "identifierName": "length" @@ -37637,15 +38217,15 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 12314, - "end": 12315, + "start": 12487, + "end": 12488, "loc": { "start": { - "line": 555, + "line": 564, "column": 33 }, "end": { - "line": 555, + "line": 564, "column": 34 } }, @@ -37658,57 +38238,57 @@ }, "consequent": { "type": "BinaryExpression", - "start": 12321, - "end": 12351, + "start": 12494, + "end": 12524, "loc": { "start": { - "line": 556, + "line": 565, "column": 3 }, "end": { - "line": 556, + "line": 565, "column": 33 } }, "left": { "type": "BinaryExpression", - "start": 12321, - "end": 12340, + "start": 12494, + "end": 12513, "loc": { "start": { - "line": 556, + "line": 565, "column": 3 }, "end": { - "line": 556, + "line": 565, "column": 22 } }, "left": { "type": "MemberExpression", - "start": 12321, - "end": 12329, + "start": 12494, + "end": 12502, "loc": { "start": { - "line": 556, + "line": 565, "column": 3 }, "end": { - "line": 556, + "line": 565, "column": 11 } }, "object": { "type": "Identifier", - "start": 12321, - "end": 12326, + "start": 12494, + "end": 12499, "loc": { "start": { - "line": 556, + "line": 565, "column": 3 }, "end": { - "line": 556, + "line": 565, "column": 8 }, "identifierName": "limbs" @@ -37717,15 +38297,15 @@ }, "property": { "type": "NumericLiteral", - "start": 12327, - "end": 12328, + "start": 12500, + "end": 12501, "loc": { "start": { - "line": 556, + "line": 565, "column": 9 }, "end": { - "line": 556, + "line": 565, "column": 10 } }, @@ -37740,15 +38320,15 @@ "operator": "*", "right": { "type": "Identifier", - "start": 12332, - "end": 12340, + "start": 12505, + "end": 12513, "loc": { "start": { - "line": 556, + "line": 565, "column": 14 }, "end": { - "line": 556, + "line": 565, "column": 22 }, "identifierName": "MAX_BASE" @@ -37759,29 +38339,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 12343, - "end": 12351, + "start": 12516, + "end": 12524, "loc": { "start": { - "line": 556, + "line": 565, "column": 25 }, "end": { - "line": 556, + "line": 565, "column": 33 } }, "object": { "type": "Identifier", - "start": 12343, - "end": 12348, + "start": 12516, + "end": 12521, "loc": { "start": { - "line": 556, + "line": 565, "column": 25 }, "end": { - "line": 556, + "line": 565, "column": 30 }, "identifierName": "limbs" @@ -37790,15 +38370,15 @@ }, "property": { "type": "NumericLiteral", - "start": 12349, - "end": 12350, + "start": 12522, + "end": 12523, "loc": { "start": { - "line": 556, + "line": 565, "column": 31 }, "end": { - "line": 556, + "line": 565, "column": 32 } }, @@ -37813,29 +38393,29 @@ }, "alternate": { "type": "MemberExpression", - "start": 12357, - "end": 12365, + "start": 12530, + "end": 12538, "loc": { "start": { - "line": 557, + "line": 566, "column": 3 }, "end": { - "line": 557, + "line": 566, "column": 11 } }, "object": { "type": "Identifier", - "start": 12357, - "end": 12362, + "start": 12530, + "end": 12535, "loc": { "start": { - "line": 557, + "line": 566, "column": 3 }, "end": { - "line": 557, + "line": 566, "column": 8 }, "identifierName": "limbs" @@ -37844,15 +38424,15 @@ }, "property": { "type": "NumericLiteral", - "start": 12363, - "end": 12364, + "start": 12536, + "end": 12537, "loc": { "start": { - "line": 557, + "line": 566, "column": 9 }, "end": { - "line": 557, + "line": 566, "column": 10 } }, @@ -37871,43 +38451,43 @@ }, { "type": "ReturnStatement", - "start": 12371, - "end": 12392, + "start": 12544, + "end": 12565, "loc": { "start": { - "line": 559, + "line": 568, "column": 2 }, "end": { - "line": 559, + "line": 568, "column": 23 } }, "argument": { "type": "BinaryExpression", - "start": 12378, - "end": 12390, + "start": 12551, + "end": 12563, "loc": { "start": { - "line": 559, + "line": 568, "column": 9 }, "end": { - "line": 559, + "line": 568, "column": 21 } }, "left": { "type": "Identifier", - "start": 12378, - "end": 12382, + "start": 12551, + "end": 12555, "loc": { "start": { - "line": 559, + "line": 568, "column": 9 }, "end": { - "line": 559, + "line": 568, "column": 13 }, "identifierName": "sign" @@ -37917,15 +38497,15 @@ "operator": "*", "right": { "type": "Identifier", - "start": 12385, - "end": 12390, + "start": 12558, + "end": 12563, "loc": { "start": { - "line": 559, + "line": 568, "column": 16 }, "end": { - "line": 559, + "line": 568, "column": 21 }, "identifierName": "value" @@ -37940,15 +38520,15 @@ }, { "type": "ClassMethod", - "start": 12398, - "end": 12442, + "start": 12571, + "end": 12615, "loc": { "start": { - "line": 562, + "line": 571, "column": 1 }, "end": { - "line": 564, + "line": 573, "column": 2 } }, @@ -37956,15 +38536,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12398, - "end": 12406, + "start": 12571, + "end": 12579, "loc": { "start": { - "line": 562, + "line": 571, "column": 1 }, "end": { - "line": 562, + "line": 571, "column": 9 }, "identifierName": "toNumber" @@ -37979,87 +38559,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 12411, - "end": 12442, + "start": 12584, + "end": 12615, "loc": { "start": { - "line": 562, + "line": 571, "column": 14 }, "end": { - "line": 564, + "line": 573, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 12415, - "end": 12439, + "start": 12588, + "end": 12612, "loc": { "start": { - "line": 563, + "line": 572, "column": 2 }, "end": { - "line": 563, + "line": 572, "column": 26 } }, "argument": { "type": "CallExpression", - "start": 12422, - "end": 12437, + "start": 12595, + "end": 12610, "loc": { "start": { - "line": 563, + "line": 572, "column": 9 }, "end": { - "line": 563, + "line": 572, "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 12422, - "end": 12434, + "start": 12595, + "end": 12607, "loc": { "start": { - "line": 563, + "line": 572, "column": 9 }, "end": { - "line": 563, + "line": 572, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 12422, - "end": 12426, + "start": 12595, + "end": 12599, "loc": { "start": { - "line": 563, + "line": 572, "column": 9 }, "end": { - "line": 563, + "line": 572, "column": 13 } } }, "property": { "type": "Identifier", - "start": 12427, - "end": 12434, + "start": 12600, + "end": 12607, "loc": { "start": { - "line": 563, + "line": 572, "column": 14 }, "end": { - "line": 563, + "line": 572, "column": 21 }, "identifierName": "valueOf" @@ -38552,15 +39132,15 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 7500, - "end": 7549, + "start": 7673, + "end": 7722, "loc": { "start": { - "line": 344, + "line": 353, "column": 2 }, "end": { - "line": 344, + "line": 353, "column": 51 } } @@ -38568,15 +39148,15 @@ { "type": "CommentLine", "value": " TODO optimize this, there is a much faster way to test for parity", - "start": 8273, - "end": 8341, + "start": 8446, + "end": 8514, "loc": { "start": { - "line": 390, + "line": 399, "column": 2 }, "end": { - "line": 390, + "line": 399, "column": 70 } } @@ -38584,15 +39164,15 @@ { "type": "CommentLine", "value": " when the base is a multiple of two", - "start": 8344, - "end": 8381, + "start": 8517, + "end": 8554, "loc": { "start": { - "line": 391, + "line": 400, "column": 2 }, "end": { - "line": 391, + "line": 400, "column": 39 } } @@ -38600,15 +39180,15 @@ { "type": "CommentLine", "value": " TODO Once #to is implemented we can rewrite this as", - "start": 8726, - "end": 8780, + "start": 8899, + "end": 8953, "loc": { "start": { - "line": 420, + "line": 429, "column": 2 }, "end": { - "line": 420, + "line": 429, "column": 56 } } @@ -38616,15 +39196,15 @@ { "type": "CommentLine", "value": " return this.to(LITTLE_ENDIAN, base, Array) ;", - "start": 8783, - "end": 8830, + "start": 8956, + "end": 9003, "loc": { "start": { - "line": 421, + "line": 430, "column": 2 }, "end": { - "line": 421, + "line": 430, "column": 49 } } @@ -38632,15 +39212,15 @@ { "type": "CommentLine", "value": " TODO optimize", - "start": 9073, - "end": 9089, + "start": 9246, + "end": 9262, "loc": { "start": { - "line": 434, + "line": 443, "column": 2 }, "end": { - "line": 434, + "line": 443, "column": 18 } } @@ -38648,15 +39228,15 @@ { "type": "CommentLine", "value": " TODO optimize with _trim_positive", - "start": 9143, - "end": 9179, + "start": 9316, + "end": 9352, "loc": { "start": { - "line": 440, + "line": 449, "column": 2 }, "end": { - "line": 440, + "line": 449, "column": 38 } } @@ -38664,15 +39244,15 @@ { "type": "CommentLine", "value": " TODO use immutable zero", - "start": 11399, - "end": 11425, + "start": 11572, + "end": 11598, "loc": { "start": { - "line": 537, + "line": 546, "column": 11 }, "end": { - "line": 537, + "line": 546, "column": 37 } } @@ -38958,12 +39538,1523 @@ "end": 73, "loc": { "start": { - "line": 3, - "column": 7 + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ValueError", + "start": 74, + "end": 84, + "loc": { + "start": { + "line": 3, + "column": 9 + }, + "end": { + "line": 3, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 85, + "end": 86, + "loc": { + "start": { + "line": 3, + "column": 20 + }, + "end": { + "line": 3, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 87, + "end": 91, + "loc": { + "start": { + "line": 3, + "column": 22 + }, + "end": { + "line": 3, + "column": 26 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "@aureooms/js-error", + "start": 92, + "end": 112, + "loc": { + "start": { + "line": 3, + "column": 27 + }, + "end": { + "line": 3, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 113, + "end": 114, + "loc": { + "start": { + "line": 3, + "column": 48 + }, + "end": { + "line": 3, + "column": 49 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 116, + "end": 122, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 123, + "end": 124, + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_from_number", + "start": 125, + "end": 137, + "loc": { + "start": { + "line": 5, + "column": 9 + }, + "end": { + "line": 5, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 138, + "end": 139, + "loc": { + "start": { + "line": 5, + "column": 22 + }, + "end": { + "line": 5, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 140, + "end": 144, + "loc": { + "start": { + "line": 5, + "column": 24 + }, + "end": { + "line": 5, + "column": 28 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./_from_number", + "start": 145, + "end": 161, + "loc": { + "start": { + "line": 5, + "column": 29 + }, + "end": { + "line": 5, + "column": 45 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 162, + "end": 163, + "loc": { + "start": { + "line": 5, + "column": 46 + }, + "end": { + "line": 5, + "column": 47 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 165, + "end": 171, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 172, + "end": 173, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stringify", + "start": 175, + "end": 184, + "loc": { + "start": { + "line": 8, + "column": 1 + }, + "end": { + "line": 8, + "column": 10 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 185, + "end": 186, + "loc": { + "start": { + "line": 8, + "column": 11 + }, + "end": { + "line": 8, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convert", + "start": 187, + "end": 194, + "loc": { + "start": { + "line": 8, + "column": 13 + }, + "end": { + "line": 8, + "column": 20 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 195, + "end": 196, + "loc": { + "start": { + "line": 8, + "column": 21 + }, + "end": { + "line": 8, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_trim_positive", + "start": 197, + "end": 211, + "loc": { + "start": { + "line": 8, + "column": 23 + }, + "end": { + "line": 8, + "column": 37 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 212, + "end": 213, + "loc": { + "start": { + "line": 8, + "column": 38 + }, + "end": { + "line": 8, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_alloc", + "start": 215, + "end": 221, + "loc": { + "start": { + "line": 9, + "column": 1 + }, + "end": { + "line": 9, + "column": 7 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 222, + "end": 223, + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_copy", + "start": 224, + "end": 229, + "loc": { + "start": { + "line": 9, + "column": 10 + }, + "end": { + "line": 9, + "column": 15 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 230, + "end": 231, + "loc": { + "start": { + "line": 9, + "column": 16 + }, + "end": { + "line": 9, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_zeros", + "start": 232, + "end": 238, + "loc": { + "start": { + "line": 9, + "column": 18 + }, + "end": { + "line": 9, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 239, + "end": 240, + "loc": { + "start": { + "line": 9, + "column": 25 + }, + "end": { + "line": 9, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "jz", + "start": 242, + "end": 244, + "loc": { + "start": { + "line": 10, + "column": 1 + }, + "end": { + "line": 10, + "column": 3 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 245, + "end": 246, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 10, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cmp", + "start": 247, + "end": 250, + "loc": { + "start": { + "line": 10, + "column": 6 + }, + "end": { + "line": 10, + "column": 9 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 251, + "end": 252, + "loc": { + "start": { + "line": 10, + "column": 10 + }, + "end": { + "line": 10, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "eq", + "start": 253, + "end": 255, + "loc": { + "start": { + "line": 10, + "column": 12 + }, + "end": { + "line": 10, + "column": 14 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 256, + "end": 257, + "loc": { + "start": { + "line": 10, + "column": 15 + }, + "end": { + "line": 10, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "add", + "start": 259, + "end": 262, + "loc": { + "start": { + "line": 11, + "column": 1 + }, + "end": { + "line": 11, + "column": 4 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 263, + "end": 264, + "loc": { + "start": { + "line": 11, + "column": 5 + }, + "end": { + "line": 11, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_sub", + "start": 265, + "end": 269, + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 11, + "column": 11 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 270, + "end": 271, + "loc": { + "start": { + "line": 11, + "column": 12 + }, + "end": { + "line": 11, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mul", + "start": 272, + "end": 275, + "loc": { + "start": { + "line": 11, + "column": 14 + }, + "end": { + "line": 11, + "column": 17 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 276, + "end": 277, + "loc": { + "start": { + "line": 11, + "column": 18 + }, + "end": { + "line": 11, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_idivmod", + "start": 278, + "end": 286, + "loc": { + "start": { + "line": 11, + "column": 20 + }, + "end": { + "line": 11, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 287, + "end": 288, + "loc": { + "start": { + "line": 11, + "column": 29 + }, + "end": { + "line": 11, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_pow_double", + "start": 289, + "end": 300, + "loc": { + "start": { + "line": 11, + "column": 31 + }, + "end": { + "line": 11, + "column": 42 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 301, + "end": 302, + "loc": { + "start": { + "line": 11, + "column": 43 + }, + "end": { + "line": 11, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "increment", + "start": 304, + "end": 313, + "loc": { + "start": { + "line": 12, + "column": 1 + }, + "end": { + "line": 12, + "column": 10 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 314, + "end": 315, + "loc": { + "start": { + "line": 12, + "column": 11 + }, + "end": { + "line": 12, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "euclidean_algorithm", + "start": 317, + "end": 336, + "loc": { + "start": { + "line": 13, + "column": 1 + }, + "end": { + "line": 13, + "column": 20 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 337, + "end": 338, + "loc": { + "start": { + "line": 13, + "column": 21 + }, + "end": { + "line": 13, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "extended_euclidean_algorithm", + "start": 339, + "end": 367, + "loc": { + "start": { + "line": 13, + "column": 23 + }, + "end": { + "line": 13, + "column": 51 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 368, + "end": 369, + "loc": { + "start": { + "line": 13, + "column": 52 + }, + "end": { + "line": 13, + "column": 53 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 370, + "end": 371, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 14, + "column": 1 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 372, + "end": 376, + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 14, + "column": 6 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "@aureooms/js-integer-big-endian", + "start": 377, + "end": 410, + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 411, + "end": 412, + "loc": { + "start": { + "line": 14, + "column": 41 + }, + "end": { + "line": 14, + "column": 42 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 414, + "end": 420, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 16, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 421, + "end": 422, + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 16, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MIN_NUMBER", + "start": 423, + "end": 433, + "loc": { + "start": { + "line": 16, + "column": 9 + }, + "end": { + "line": 16, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 434, + "end": 435, + "loc": { + "start": { + "line": 16, + "column": 20 + }, + "end": { + "line": 16, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MAX_NUMBER", + "start": 436, + "end": 446, + "loc": { + "start": { + "line": 16, + "column": 22 + }, + "end": { + "line": 16, + "column": 32 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 447, + "end": 448, + "loc": { + "start": { + "line": 16, + "column": 33 }, "end": { - "line": 3, - "column": 8 + "line": 16, + "column": 34 } } }, @@ -38979,17 +41070,17 @@ "postfix": false, "binop": null }, - "value": "ValueError", - "start": 74, - "end": 84, + "value": "MAX_BASE", + "start": 449, + "end": 457, "loc": { "start": { - "line": 3, - "column": 9 + "line": 16, + "column": 35 }, "end": { - "line": 3, - "column": 19 + "line": 16, + "column": 43 } } }, @@ -39005,16 +41096,16 @@ "postfix": false, "binop": null }, - "start": 85, - "end": 86, + "start": 458, + "end": 459, "loc": { "start": { - "line": 3, - "column": 20 + "line": 16, + "column": 44 }, "end": { - "line": 3, - "column": 21 + "line": 16, + "column": 45 } } }, @@ -39031,16 +41122,16 @@ "binop": null }, "value": "from", - "start": 87, - "end": 91, + "start": 460, + "end": 464, "loc": { "start": { - "line": 3, - "column": 22 + "line": 16, + "column": 46 }, "end": { - "line": 3, - "column": 26 + "line": 16, + "column": 50 } } }, @@ -39057,17 +41148,17 @@ "binop": null, "updateContext": null }, - "value": "@aureooms/js-error", - "start": 92, - "end": 112, + "value": "./_limits", + "start": 465, + "end": 476, "loc": { "start": { - "line": 3, - "column": 27 + "line": 16, + "column": 51 }, "end": { - "line": 3, - "column": 47 + "line": 16, + "column": 62 } } }, @@ -39084,25 +41175,25 @@ "binop": null, "updateContext": null }, - "start": 113, - "end": 114, + "start": 477, + "end": 478, "loc": { "start": { - "line": 3, - "column": 48 + "line": 16, + "column": 63 }, "end": { - "line": 3, - "column": 49 + "line": 16, + "column": 64 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "export", + "keyword": "export", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -39111,42 +41202,45 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 116, - "end": 122, + "value": "export", + "start": 480, + "end": 486, "loc": { "start": { - "line": 5, + "line": 18, "column": 0 }, "end": { - "line": 5, + "line": 18, "column": 6 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 123, - "end": 124, + "value": "class", + "start": 487, + "end": 492, "loc": { "start": { - "line": 5, + "line": 18, "column": 7 }, "end": { - "line": 5, - "column": 8 + "line": 18, + "column": 12 } } }, @@ -39162,25 +41256,25 @@ "postfix": false, "binop": null }, - "value": "_from_number", - "start": 125, - "end": 137, + "value": "Integer", + "start": 493, + "end": 500, "loc": { "start": { - "line": 5, - "column": 9 + "line": 18, + "column": 13 }, "end": { - "line": 5, - "column": 21 + "line": 18, + "column": 20 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -39188,16 +41282,16 @@ "postfix": false, "binop": null }, - "start": 138, - "end": 139, + "start": 501, + "end": 502, "loc": { "start": { - "line": 5, - "column": 22 + "line": 18, + "column": 21 }, "end": { - "line": 5, - "column": 23 + "line": 18, + "column": 22 } } }, @@ -39213,77 +41307,48 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 140, - "end": 144, - "loc": { - "start": { - "line": 5, - "column": 24 - }, - "end": { - "line": 5, - "column": 28 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./_from_number", - "start": 145, - "end": 161, + "value": "constructor", + "start": 505, + "end": 516, "loc": { "start": { - "line": 5, - "column": 29 + "line": 20, + "column": 1 }, "end": { - "line": 5, - "column": 45 + "line": 20, + "column": 12 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 162, - "end": 163, + "start": 517, + "end": 518, "loc": { "start": { - "line": 5, - "column": 46 + "line": 20, + "column": 13 }, "end": { - "line": 5, - "column": 47 + "line": 20, + "column": 14 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -39291,45 +41356,45 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "import", - "start": 165, - "end": 171, + "value": "base", + "start": 519, + "end": 523, "loc": { "start": { - "line": 7, - "column": 0 + "line": 20, + "column": 15 }, "end": { - "line": 7, - "column": 6 + "line": 20, + "column": 19 } } }, { "type": { - "label": "{", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 172, - "end": 173, + "start": 524, + "end": 525, "loc": { "start": { - "line": 7, - "column": 7 + "line": 20, + "column": 20 }, "end": { - "line": 7, - "column": 8 + "line": 20, + "column": 21 } } }, @@ -39345,17 +41410,17 @@ "postfix": false, "binop": null }, - "value": "stringify", - "start": 175, - "end": 184, + "value": "is_negative", + "start": 526, + "end": 537, "loc": { "start": { - "line": 8, - "column": 1 + "line": 20, + "column": 22 }, "end": { - "line": 8, - "column": 10 + "line": 20, + "column": 33 } } }, @@ -39372,16 +41437,16 @@ "binop": null, "updateContext": null }, - "start": 185, - "end": 186, + "start": 538, + "end": 539, "loc": { "start": { - "line": 8, - "column": 11 + "line": 20, + "column": 34 }, "end": { - "line": 8, - "column": 12 + "line": 20, + "column": 35 } } }, @@ -39397,50 +41462,49 @@ "postfix": false, "binop": null }, - "value": "convert", - "start": 187, - "end": 194, + "value": "limbs", + "start": 540, + "end": 545, "loc": { "start": { - "line": 8, - "column": 13 + "line": 20, + "column": 36 }, "end": { - "line": 8, - "column": 20 + "line": 20, + "column": 41 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 195, - "end": 196, + "start": 546, + "end": 547, "loc": { "start": { - "line": 8, - "column": 21 + "line": 20, + "column": 42 }, "end": { - "line": 8, - "column": 22 + "line": 20, + "column": 43 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -39449,25 +41513,25 @@ "postfix": false, "binop": null }, - "value": "_trim_positive", - "start": 197, - "end": 211, + "start": 548, + "end": 549, "loc": { "start": { - "line": 8, - "column": 23 + "line": 20, + "column": 44 }, "end": { - "line": 8, - "column": 37 + "line": 20, + "column": 45 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -39476,49 +41540,24 @@ "binop": null, "updateContext": null }, - "start": 212, - "end": 213, + "value": "this", + "start": 552, + "end": 556, "loc": { "start": { - "line": 8, - "column": 38 + "line": 21, + "column": 2 }, "end": { - "line": 8, - "column": 39 + "line": 21, + "column": 6 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_alloc", - "start": 215, - "end": 221, - "loc": { - "start": { - "line": 9, - "column": 1 - }, - "end": { - "line": 9, - "column": 7 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -39528,16 +41567,16 @@ "binop": null, "updateContext": null }, - "start": 222, - "end": 223, + "start": 556, + "end": 557, "loc": { "start": { - "line": 9, - "column": 8 + "line": 21, + "column": 6 }, "end": { - "line": 9, - "column": 9 + "line": 21, + "column": 7 } } }, @@ -39553,43 +41592,44 @@ "postfix": false, "binop": null }, - "value": "_copy", - "start": 224, - "end": 229, + "value": "base", + "start": 557, + "end": 561, "loc": { "start": { - "line": 9, - "column": 10 + "line": 21, + "column": 7 }, "end": { - "line": 9, - "column": 15 + "line": 21, + "column": 11 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 230, - "end": 231, + "value": "=", + "start": 562, + "end": 563, "loc": { "start": { - "line": 9, - "column": 16 + "line": 21, + "column": 12 }, "end": { - "line": 9, - "column": 17 + "line": 21, + "column": 13 } } }, @@ -39605,23 +41645,23 @@ "postfix": false, "binop": null }, - "value": "_zeros", - "start": 232, - "end": 238, + "value": "base", + "start": 564, + "end": 568, "loc": { "start": { - "line": 9, - "column": 18 + "line": 21, + "column": 14 }, "end": { - "line": 9, - "column": 24 + "line": 21, + "column": 18 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -39632,22 +41672,23 @@ "binop": null, "updateContext": null }, - "start": 239, - "end": 240, + "start": 569, + "end": 570, "loc": { "start": { - "line": 9, - "column": 25 + "line": 21, + "column": 19 }, "end": { - "line": 9, - "column": 26 + "line": 21, + "column": 20 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -39655,26 +41696,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "jz", - "start": 242, - "end": 244, + "value": "this", + "start": 573, + "end": 577, "loc": { "start": { - "line": 10, - "column": 1 + "line": 22, + "column": 2 }, "end": { - "line": 10, - "column": 3 + "line": 22, + "column": 6 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -39684,16 +41726,16 @@ "binop": null, "updateContext": null }, - "start": 245, - "end": 246, + "start": 577, + "end": 578, "loc": { "start": { - "line": 10, - "column": 4 + "line": 22, + "column": 6 }, "end": { - "line": 10, - "column": 5 + "line": 22, + "column": 7 } } }, @@ -39709,43 +41751,44 @@ "postfix": false, "binop": null }, - "value": "cmp", - "start": 247, - "end": 250, + "value": "is_negative", + "start": 578, + "end": 589, "loc": { "start": { - "line": 10, - "column": 6 + "line": 22, + "column": 7 }, "end": { - "line": 10, - "column": 9 + "line": 22, + "column": 18 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 251, - "end": 252, + "value": "=", + "start": 590, + "end": 591, "loc": { "start": { - "line": 10, - "column": 10 + "line": 22, + "column": 19 }, "end": { - "line": 10, - "column": 11 + "line": 22, + "column": 20 } } }, @@ -39761,23 +41804,23 @@ "postfix": false, "binop": null }, - "value": "eq", - "start": 253, - "end": 255, + "value": "is_negative", + "start": 592, + "end": 603, "loc": { - "start": { - "line": 10, - "column": 12 + "start": { + "line": 22, + "column": 21 }, "end": { - "line": 10, - "column": 14 + "line": 22, + "column": 32 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -39788,22 +41831,23 @@ "binop": null, "updateContext": null }, - "start": 256, - "end": 257, + "start": 604, + "end": 605, "loc": { "start": { - "line": 10, - "column": 15 + "line": 22, + "column": 33 }, "end": { - "line": 10, - "column": 16 + "line": 22, + "column": 34 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -39811,26 +41855,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "add", - "start": 259, - "end": 262, + "value": "this", + "start": 608, + "end": 612, "loc": { "start": { - "line": 11, - "column": 1 + "line": 23, + "column": 2 }, "end": { - "line": 11, - "column": 4 + "line": 23, + "column": 6 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -39840,16 +41885,16 @@ "binop": null, "updateContext": null }, - "start": 263, - "end": 264, + "start": 612, + "end": 613, "loc": { "start": { - "line": 11, - "column": 5 + "line": 23, + "column": 6 }, "end": { - "line": 11, - "column": 6 + "line": 23, + "column": 7 } } }, @@ -39865,43 +41910,44 @@ "postfix": false, "binop": null }, - "value": "_sub", - "start": 265, - "end": 269, + "value": "limbs", + "start": 613, + "end": 618, "loc": { "start": { - "line": 11, + "line": 23, "column": 7 }, "end": { - "line": 11, - "column": 11 + "line": 23, + "column": 12 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 270, - "end": 271, + "value": "=", + "start": 619, + "end": 620, "loc": { "start": { - "line": 11, - "column": 12 + "line": 23, + "column": 13 }, "end": { - "line": 11, - "column": 13 + "line": 23, + "column": 14 } } }, @@ -39917,23 +41963,23 @@ "postfix": false, "binop": null }, - "value": "mul", - "start": 272, - "end": 275, + "value": "limbs", + "start": 621, + "end": 626, "loc": { "start": { - "line": 11, - "column": 14 + "line": 23, + "column": 15 }, "end": { - "line": 11, - "column": 17 + "line": 23, + "column": 20 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -39944,24 +41990,24 @@ "binop": null, "updateContext": null }, - "start": 276, - "end": 277, + "start": 627, + "end": 628, "loc": { "start": { - "line": 11, - "column": 18 + "line": 23, + "column": 21 }, "end": { - "line": 11, - "column": 19 + "line": 23, + "column": 22 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -39969,50 +42015,49 @@ "postfix": false, "binop": null }, - "value": "_idivmod", - "start": 278, - "end": 286, + "start": 630, + "end": 631, "loc": { "start": { - "line": 11, - "column": 20 + "line": 24, + "column": 1 }, "end": { - "line": 11, - "column": 28 + "line": 24, + "column": 2 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 287, - "end": 288, + "value": "move", + "start": 634, + "end": 638, "loc": { "start": { - "line": 11, - "column": 29 + "line": 26, + "column": 1 }, "end": { - "line": 11, - "column": 30 + "line": 26, + "column": 5 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -40021,51 +42066,50 @@ "postfix": false, "binop": null }, - "value": "_pow_double", - "start": 289, - "end": 300, + "start": 639, + "end": 640, "loc": { "start": { - "line": 11, - "column": 31 + "line": 26, + "column": 6 }, "end": { - "line": 11, - "column": 42 + "line": 26, + "column": 7 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 301, - "end": 302, + "value": "other", + "start": 641, + "end": 646, "loc": { "start": { - "line": 11, - "column": 43 + "line": 26, + "column": 8 }, "end": { - "line": 11, - "column": 44 + "line": 26, + "column": 13 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -40073,43 +42117,41 @@ "postfix": false, "binop": null }, - "value": "increment", - "start": 304, - "end": 313, + "start": 647, + "end": 648, "loc": { "start": { - "line": 12, - "column": 1 + "line": 26, + "column": 14 }, "end": { - "line": 12, - "column": 10 + "line": 26, + "column": 15 } } }, { "type": { - "label": ",", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 314, - "end": 315, + "start": 649, + "end": 650, "loc": { "start": { - "line": 12, - "column": 11 + "line": 26, + "column": 16 }, "end": { - "line": 12, - "column": 12 + "line": 26, + "column": 17 } } }, @@ -40125,24 +42167,24 @@ "postfix": false, "binop": null }, - "value": "euclidean_algorithm", - "start": 317, - "end": 336, + "value": "other", + "start": 653, + "end": 658, "loc": { "start": { - "line": 13, - "column": 1 + "line": 27, + "column": 2 }, "end": { - "line": 13, - "column": 20 + "line": 27, + "column": 7 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -40152,16 +42194,16 @@ "binop": null, "updateContext": null }, - "start": 337, - "end": 338, + "start": 658, + "end": 659, "loc": { "start": { - "line": 13, - "column": 21 + "line": 27, + "column": 7 }, "end": { - "line": 13, - "column": 22 + "line": 27, + "column": 8 } } }, @@ -40177,100 +42219,104 @@ "postfix": false, "binop": null }, - "value": "extended_euclidean_algorithm", - "start": 339, - "end": 367, + "value": "base", + "start": 659, + "end": 663, "loc": { "start": { - "line": 13, - "column": 23 + "line": 27, + "column": 8 }, "end": { - "line": 13, - "column": 51 + "line": 27, + "column": 12 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 368, - "end": 369, + "value": "=", + "start": 664, + "end": 665, "loc": { "start": { - "line": 13, - "column": 52 + "line": 27, + "column": 13 }, "end": { - "line": 13, - "column": 53 + "line": 27, + "column": 14 } } }, { "type": { - "label": "}", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 370, - "end": 371, + "value": "this", + "start": 666, + "end": 670, "loc": { "start": { - "line": 14, - "column": 0 + "line": 27, + "column": 15 }, "end": { - "line": 14, - "column": 1 + "line": 27, + "column": 19 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "from", - "start": 372, - "end": 376, + "start": 670, + "end": 671, "loc": { "start": { - "line": 14, - "column": 2 + "line": 27, + "column": 19 }, "end": { - "line": 14, - "column": 6 + "line": 27, + "column": 20 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -40278,20 +42324,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "@aureooms/js-integer-big-endian", - "start": 377, - "end": 410, + "value": "base", + "start": 671, + "end": 675, "loc": { "start": { - "line": 14, - "column": 7 + "line": 27, + "column": 20 }, "end": { - "line": 14, - "column": 40 + "line": 27, + "column": 24 } } }, @@ -40308,23 +42353,22 @@ "binop": null, "updateContext": null }, - "start": 411, - "end": 412, + "start": 676, + "end": 677, "loc": { "start": { - "line": 14, - "column": 41 + "line": 27, + "column": 25 }, "end": { - "line": 14, - "column": 42 + "line": 27, + "column": 26 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -40332,44 +42376,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "import", - "start": 414, - "end": 420, + "value": "other", + "start": 680, + "end": 685, "loc": { "start": { - "line": 16, - "column": 0 + "line": 28, + "column": 2 }, "end": { - "line": 16, - "column": 6 + "line": 28, + "column": 7 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 421, - "end": 422, + "start": 685, + "end": 686, "loc": { "start": { - "line": 16, + "line": 28, "column": 7 }, "end": { - "line": 16, + "line": 28, "column": 8 } } @@ -40386,49 +42430,51 @@ "postfix": false, "binop": null }, - "value": "MIN_NUMBER", - "start": 423, - "end": 433, + "value": "is_negative", + "start": 686, + "end": 697, "loc": { "start": { - "line": 16, - "column": 9 + "line": 28, + "column": 8 }, "end": { - "line": 16, + "line": 28, "column": 19 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 434, - "end": 435, + "value": "=", + "start": 698, + "end": 699, "loc": { "start": { - "line": 16, + "line": 28, "column": 20 }, "end": { - "line": 16, + "line": 28, "column": 21 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -40436,26 +42482,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "MAX_NUMBER", - "start": 436, - "end": 446, + "value": "this", + "start": 700, + "end": 704, "loc": { "start": { - "line": 16, + "line": 28, "column": 22 }, "end": { - "line": 16, - "column": 32 + "line": 28, + "column": 26 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -40465,16 +42512,16 @@ "binop": null, "updateContext": null }, - "start": 447, - "end": 448, + "start": 704, + "end": 705, "loc": { "start": { - "line": 16, - "column": 33 + "line": 28, + "column": 26 }, "end": { - "line": 16, - "column": 34 + "line": 28, + "column": 27 } } }, @@ -40490,42 +42537,43 @@ "postfix": false, "binop": null }, - "value": "MAX_BASE", - "start": 449, - "end": 457, + "value": "is_negative", + "start": 705, + "end": 716, "loc": { "start": { - "line": 16, - "column": 35 + "line": 28, + "column": 27 }, "end": { - "line": 16, - "column": 43 + "line": 28, + "column": 38 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 458, - "end": 459, + "start": 717, + "end": 718, "loc": { "start": { - "line": 16, - "column": 44 + "line": 28, + "column": 39 }, "end": { - "line": 16, - "column": 45 + "line": 28, + "column": 40 } } }, @@ -40541,25 +42589,25 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 460, - "end": 464, + "value": "other", + "start": 721, + "end": 726, "loc": { "start": { - "line": 16, - "column": 46 + "line": 29, + "column": 2 }, "end": { - "line": 16, - "column": 50 + "line": 29, + "column": 7 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -40568,80 +42616,78 @@ "binop": null, "updateContext": null }, - "value": "./_limits", - "start": 465, - "end": 476, + "start": 726, + "end": 727, "loc": { "start": { - "line": 16, - "column": 51 + "line": 29, + "column": 7 }, "end": { - "line": 16, - "column": 62 + "line": 29, + "column": 8 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 477, - "end": 478, + "value": "limbs", + "start": 727, + "end": 732, "loc": { "start": { - "line": 16, - "column": 63 + "line": 29, + "column": 8 }, "end": { - "line": 16, - "column": 64 + "line": 29, + "column": 13 } } }, { "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "export", - "start": 480, - "end": 486, + "value": "=", + "start": 733, + "end": 734, "loc": { "start": { - "line": 18, - "column": 0 + "line": 29, + "column": 14 }, "end": { - "line": 18, - "column": 6 + "line": 29, + "column": 15 } } }, { "type": { - "label": "class", - "keyword": "class", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -40650,50 +42696,50 @@ "binop": null, "updateContext": null }, - "value": "class", - "start": 487, - "end": 492, + "value": "this", + "start": 735, + "end": 739, "loc": { "start": { - "line": 18, - "column": 7 + "line": 29, + "column": 16 }, "end": { - "line": 18, - "column": 12 + "line": 29, + "column": 20 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Integer", - "start": 493, - "end": 500, + "start": 739, + "end": 740, "loc": { "start": { - "line": 18, - "column": 13 + "line": 29, + "column": 20 }, "end": { - "line": 18, - "column": 20 + "line": 29, + "column": 21 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -40702,67 +42748,71 @@ "postfix": false, "binop": null }, - "start": 501, - "end": 502, + "value": "limbs", + "start": 740, + "end": 745, "loc": { "start": { - "line": 18, + "line": 29, "column": 21 }, "end": { - "line": 18, - "column": 22 + "line": 29, + "column": 26 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "constructor", - "start": 505, - "end": 516, + "start": 746, + "end": 747, "loc": { "start": { - "line": 20, - "column": 1 + "line": 29, + "column": 27 }, "end": { - "line": 20, - "column": 12 + "line": 29, + "column": 28 } } }, { "type": { - "label": "(", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 517, - "end": 518, + "value": "return", + "start": 750, + "end": 756, "loc": { "start": { - "line": 20, - "column": 13 + "line": 30, + "column": 2 }, "end": { - "line": 20, - "column": 14 + "line": 30, + "column": 8 } } }, @@ -40778,23 +42828,23 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 519, - "end": 523, + "value": "other", + "start": 757, + "end": 762, "loc": { "start": { - "line": 20, - "column": 15 + "line": 30, + "column": 9 }, "end": { - "line": 20, - "column": 19 + "line": 30, + "column": 14 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -40805,24 +42855,24 @@ "binop": null, "updateContext": null }, - "start": 524, - "end": 525, + "start": 763, + "end": 764, "loc": { "start": { - "line": 20, - "column": 20 + "line": 30, + "column": 15 }, "end": { - "line": 20, - "column": 21 + "line": 30, + "column": 16 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -40830,50 +42880,49 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 526, - "end": 537, + "start": 766, + "end": 767, "loc": { "start": { - "line": 20, - "column": 22 + "line": 31, + "column": 1 }, "end": { - "line": 20, - "column": 33 + "line": 31, + "column": 2 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 538, - "end": 539, + "value": "clone", + "start": 770, + "end": 775, "loc": { "start": { - "line": 20, - "column": 34 + "line": 33, + "column": 1 }, "end": { - "line": 20, - "column": 35 + "line": 33, + "column": 6 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -40882,17 +42931,16 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 540, - "end": 545, + "start": 776, + "end": 777, "loc": { "start": { - "line": 20, - "column": 36 + "line": 33, + "column": 7 }, "end": { - "line": 20, - "column": 41 + "line": 33, + "column": 8 } } }, @@ -40908,16 +42956,16 @@ "postfix": false, "binop": null }, - "start": 546, - "end": 547, + "start": 778, + "end": 779, "loc": { "start": { - "line": 20, - "column": 42 + "line": 33, + "column": 9 }, "end": { - "line": 20, - "column": 43 + "line": 33, + "column": 10 } } }, @@ -40933,25 +42981,25 @@ "postfix": false, "binop": null }, - "start": 548, - "end": 549, + "start": 780, + "end": 781, "loc": { "start": { - "line": 20, - "column": 44 + "line": 33, + "column": 11 }, "end": { - "line": 20, - "column": 45 + "line": 33, + "column": 12 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -40960,25 +43008,26 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 552, - "end": 556, + "value": "return", + "start": 784, + "end": 790, "loc": { "start": { - "line": 21, + "line": 34, "column": 2 }, "end": { - "line": 21, - "column": 6 + "line": 34, + "column": 8 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -40987,16 +43036,17 @@ "binop": null, "updateContext": null }, - "start": 556, - "end": 557, + "value": "new", + "start": 791, + "end": 794, "loc": { "start": { - "line": 21, - "column": 6 + "line": 34, + "column": 9 }, "end": { - "line": 21, - "column": 7 + "line": 34, + "column": 12 } } }, @@ -41012,50 +43062,49 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 557, - "end": 561, + "value": "Integer", + "start": 795, + "end": 802, "loc": { "start": { - "line": 21, - "column": 7 + "line": 34, + "column": 13 }, "end": { - "line": 21, - "column": 11 + "line": 34, + "column": 20 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 562, - "end": 563, + "start": 802, + "end": 803, "loc": { "start": { - "line": 21, - "column": 12 + "line": 34, + "column": 20 }, "end": { - "line": 21, - "column": 13 + "line": 34, + "column": 21 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -41063,26 +43112,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "base", - "start": 564, - "end": 568, + "value": "this", + "start": 804, + "end": 808, "loc": { "start": { - "line": 21, - "column": 14 + "line": 34, + "column": 22 }, "end": { - "line": 21, - "column": 18 + "line": 34, + "column": 26 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -41092,23 +43142,22 @@ "binop": null, "updateContext": null }, - "start": 569, - "end": 570, + "start": 808, + "end": 809, "loc": { "start": { - "line": 21, - "column": 19 + "line": 34, + "column": 26 }, "end": { - "line": 21, - "column": 20 + "line": 34, + "column": 27 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -41116,27 +43165,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 573, - "end": 577, + "value": "base", + "start": 809, + "end": 813, "loc": { "start": { - "line": 22, - "column": 2 + "line": 34, + "column": 27 }, "end": { - "line": 22, - "column": 6 + "line": 34, + "column": 31 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -41146,22 +43194,23 @@ "binop": null, "updateContext": null }, - "start": 577, - "end": 578, + "start": 814, + "end": 815, "loc": { "start": { - "line": 22, - "column": 6 + "line": 34, + "column": 32 }, "end": { - "line": 22, - "column": 7 + "line": 34, + "column": 33 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -41169,46 +43218,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "is_negative", - "start": 578, - "end": 589, + "value": "this", + "start": 816, + "end": 820, "loc": { "start": { - "line": 22, - "column": 7 + "line": 34, + "column": 34 }, "end": { - "line": 22, - "column": 18 + "line": 34, + "column": 38 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 590, - "end": 591, + "start": 820, + "end": 821, "loc": { "start": { - "line": 22, - "column": 19 + "line": 34, + "column": 38 }, "end": { - "line": 22, - "column": 20 + "line": 34, + "column": 39 } } }, @@ -41225,22 +43274,22 @@ "binop": null }, "value": "is_negative", - "start": 592, - "end": 603, + "start": 821, + "end": 832, "loc": { "start": { - "line": 22, - "column": 21 + "line": 34, + "column": 39 }, "end": { - "line": 22, - "column": 32 + "line": 34, + "column": 50 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -41251,16 +43300,16 @@ "binop": null, "updateContext": null }, - "start": 604, - "end": 605, + "start": 833, + "end": 834, "loc": { "start": { - "line": 22, - "column": 33 + "line": 34, + "column": 51 }, "end": { - "line": 22, - "column": 34 + "line": 34, + "column": 52 } } }, @@ -41279,16 +43328,16 @@ "updateContext": null }, "value": "this", - "start": 608, - "end": 612, + "start": 835, + "end": 839, "loc": { "start": { - "line": 23, - "column": 2 + "line": 34, + "column": 53 }, "end": { - "line": 23, - "column": 6 + "line": 34, + "column": 57 } } }, @@ -41305,77 +43354,50 @@ "binop": null, "updateContext": null }, - "start": 612, - "end": 613, - "loc": { - "start": { - "line": 23, - "column": 6 - }, - "end": { - "line": 23, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "limbs", - "start": 613, - "end": 618, + "start": 839, + "end": 840, "loc": { "start": { - "line": 23, - "column": 7 + "line": 34, + "column": 57 }, "end": { - "line": 23, - "column": 12 + "line": 34, + "column": 58 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 619, - "end": 620, + "value": "limbs", + "start": 840, + "end": 845, "loc": { "start": { - "line": 23, - "column": 13 + "line": 34, + "column": 58 }, "end": { - "line": 23, - "column": 14 + "line": 34, + "column": 63 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -41383,17 +43405,16 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 621, - "end": 626, + "start": 846, + "end": 847, "loc": { "start": { - "line": 23, - "column": 15 + "line": 34, + "column": 64 }, "end": { - "line": 23, - "column": 20 + "line": 34, + "column": 65 } } }, @@ -41410,16 +43431,16 @@ "binop": null, "updateContext": null }, - "start": 627, - "end": 628, + "start": 848, + "end": 849, "loc": { "start": { - "line": 23, - "column": 21 + "line": 34, + "column": 66 }, "end": { - "line": 23, - "column": 22 + "line": 34, + "column": 67 } } }, @@ -41435,15 +43456,15 @@ "postfix": false, "binop": null }, - "start": 630, - "end": 631, + "start": 851, + "end": 852, "loc": { "start": { - "line": 24, + "line": 35, "column": 1 }, "end": { - "line": 24, + "line": 35, "column": 2 } } @@ -41460,17 +43481,17 @@ "postfix": false, "binop": null }, - "value": "move", - "start": 634, - "end": 638, + "value": "_limbs_in_base", + "start": 855, + "end": 869, "loc": { "start": { - "line": 26, + "line": 37, "column": 1 }, "end": { - "line": 26, - "column": 5 + "line": 37, + "column": 15 } } }, @@ -41486,16 +43507,16 @@ "postfix": false, "binop": null }, - "start": 639, - "end": 640, + "start": 870, + "end": 871, "loc": { "start": { - "line": 26, - "column": 6 + "line": 37, + "column": 16 }, "end": { - "line": 26, - "column": 7 + "line": 37, + "column": 17 } } }, @@ -41511,17 +43532,17 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 641, - "end": 646, + "value": "base", + "start": 872, + "end": 876, "loc": { "start": { - "line": 26, - "column": 8 + "line": 37, + "column": 18 }, "end": { - "line": 26, - "column": 13 + "line": 37, + "column": 22 } } }, @@ -41537,16 +43558,16 @@ "postfix": false, "binop": null }, - "start": 647, - "end": 648, + "start": 877, + "end": 878, "loc": { "start": { - "line": 26, - "column": 14 + "line": 37, + "column": 23 }, "end": { - "line": 26, - "column": 15 + "line": 37, + "column": 24 } } }, @@ -41562,48 +43583,39 @@ "postfix": false, "binop": null }, - "start": 649, - "end": 650, + "start": 879, + "end": 880, "loc": { "start": { - "line": 26, - "column": 16 + "line": 37, + "column": 25 }, "end": { - "line": 26, - "column": 17 + "line": 37, + "column": 26 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "other", - "start": 653, - "end": 658, + "type": "CommentLine", + "value": " TODO save result for later ? Maybe replace base ?", + "start": 883, + "end": 935, "loc": { "start": { - "line": 27, + "line": 38, "column": 2 }, "end": { - "line": 27, - "column": 7 + "line": 38, + "column": 54 } } }, { "type": { - "label": ".", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -41614,23 +43626,24 @@ "binop": null, "updateContext": null }, - "start": 658, - "end": 659, + "value": "if", + "start": 938, + "end": 940, "loc": { "start": { - "line": 27, - "column": 7 + "line": 39, + "column": 2 }, "end": { - "line": 27, - "column": 8 + "line": 39, + "column": 4 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -41639,44 +43652,16 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 659, - "end": 663, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 12 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 664, - "end": 665, + "start": 941, + "end": 942, "loc": { "start": { - "line": 27, - "column": 13 + "line": 39, + "column": 5 }, "end": { - "line": 27, - "column": 14 + "line": 39, + "column": 6 } } }, @@ -41695,16 +43680,16 @@ "updateContext": null }, "value": "this", - "start": 666, - "end": 670, + "start": 943, + "end": 947, "loc": { "start": { - "line": 27, - "column": 15 + "line": 39, + "column": 7 }, "end": { - "line": 27, - "column": 19 + "line": 39, + "column": 11 } } }, @@ -41721,16 +43706,16 @@ "binop": null, "updateContext": null }, - "start": 670, - "end": 671, + "start": 947, + "end": 948, "loc": { "start": { - "line": 27, - "column": 19 + "line": 39, + "column": 11 }, "end": { - "line": 27, - "column": 20 + "line": 39, + "column": 12 } } }, @@ -41747,22 +43732,22 @@ "binop": null }, "value": "base", - "start": 671, - "end": 675, + "start": 948, + "end": 952, "loc": { "start": { - "line": 27, - "column": 20 + "line": 39, + "column": 12 }, "end": { - "line": 27, - "column": 24 + "line": 39, + "column": 16 } } }, { "type": { - "label": ";", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -41770,19 +43755,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 676, - "end": 677, + "value": "===", + "start": 953, + "end": 956, "loc": { "start": { - "line": 27, - "column": 25 + "line": 39, + "column": 17 }, "end": { - "line": 27, - "column": 26 + "line": 39, + "column": 20 } } }, @@ -41798,23 +43784,23 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 680, - "end": 685, + "value": "base", + "start": 957, + "end": 961, "loc": { "start": { - "line": 28, - "column": 2 + "line": 39, + "column": 21 }, "end": { - "line": 28, - "column": 7 + "line": 39, + "column": 25 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -41822,72 +43808,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 685, - "end": 686, - "loc": { - "start": { - "line": 28, - "column": 7 - }, - "end": { - "line": 28, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null }, - "value": "is_negative", - "start": 686, - "end": 697, + "start": 962, + "end": 963, "loc": { "start": { - "line": 28, - "column": 8 + "line": 39, + "column": 26 }, "end": { - "line": 28, - "column": 19 + "line": 39, + "column": 27 } } }, { "type": { - "label": "=", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 698, - "end": 699, + "value": "return", + "start": 964, + "end": 970, "loc": { "start": { - "line": 28, - "column": 20 + "line": 39, + "column": 28 }, "end": { - "line": 28, - "column": 21 + "line": 39, + "column": 34 } } }, @@ -41906,16 +43866,16 @@ "updateContext": null }, "value": "this", - "start": 700, - "end": 704, + "start": 971, + "end": 975, "loc": { "start": { - "line": 28, - "column": 22 + "line": 39, + "column": 35 }, "end": { - "line": 28, - "column": 26 + "line": 39, + "column": 39 } } }, @@ -41932,16 +43892,16 @@ "binop": null, "updateContext": null }, - "start": 704, - "end": 705, + "start": 975, + "end": 976, "loc": { "start": { - "line": 28, - "column": 26 + "line": 39, + "column": 39 }, "end": { - "line": 28, - "column": 27 + "line": 39, + "column": 40 } } }, @@ -41957,17 +43917,17 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 705, - "end": 716, + "value": "limbs", + "start": 976, + "end": 981, "loc": { "start": { - "line": 28, - "column": 27 + "line": 39, + "column": 40 }, "end": { - "line": 28, - "column": 38 + "line": 39, + "column": 45 } } }, @@ -41984,49 +43944,52 @@ "binop": null, "updateContext": null }, - "start": 717, - "end": 718, + "start": 982, + "end": 983, "loc": { "start": { - "line": 28, - "column": 39 + "line": 39, + "column": 46 }, "end": { - "line": 28, - "column": 40 + "line": 39, + "column": 47 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "other", - "start": 721, - "end": 726, + "value": "else", + "start": 986, + "end": 990, "loc": { "start": { - "line": 29, + "line": 40, "column": 2 }, "end": { - "line": 29, - "column": 7 + "line": 40, + "column": 6 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -42036,16 +43999,17 @@ "binop": null, "updateContext": null }, - "start": 726, - "end": 727, + "value": "return", + "start": 991, + "end": 997, "loc": { "start": { - "line": 29, + "line": 40, "column": 7 }, "end": { - "line": 29, - "column": 8 + "line": 40, + "column": 13 } } }, @@ -42061,44 +44025,42 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 727, - "end": 732, + "value": "convert", + "start": 998, + "end": 1005, "loc": { "start": { - "line": 29, - "column": 8 + "line": 40, + "column": 14 }, "end": { - "line": 29, - "column": 13 + "line": 40, + "column": 21 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 733, - "end": 734, + "start": 1005, + "end": 1006, "loc": { "start": { - "line": 29, - "column": 14 + "line": 40, + "column": 21 }, "end": { - "line": 29, - "column": 15 + "line": 40, + "column": 22 } } }, @@ -42117,16 +44079,16 @@ "updateContext": null }, "value": "this", - "start": 735, - "end": 739, + "start": 1007, + "end": 1011, "loc": { "start": { - "line": 29, - "column": 16 + "line": 40, + "column": 23 }, "end": { - "line": 29, - "column": 20 + "line": 40, + "column": 27 } } }, @@ -42143,75 +44105,48 @@ "binop": null, "updateContext": null }, - "start": 739, - "end": 740, - "loc": { - "start": { - "line": 29, - "column": 20 - }, - "end": { - "line": 29, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "limbs", - "start": 740, - "end": 745, + "start": 1011, + "end": 1012, "loc": { "start": { - "line": 29, - "column": 21 + "line": 40, + "column": 27 }, "end": { - "line": 29, - "column": 26 + "line": 40, + "column": 28 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 746, - "end": 747, + "value": "base", + "start": 1012, + "end": 1016, "loc": { "start": { - "line": 29, - "column": 27 + "line": 40, + "column": 28 }, "end": { - "line": 29, - "column": 28 + "line": 40, + "column": 32 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -42222,17 +44157,16 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 750, - "end": 756, + "start": 1017, + "end": 1018, "loc": { "start": { - "line": 30, - "column": 2 + "line": 40, + "column": 33 }, "end": { - "line": 30, - "column": 8 + "line": 40, + "column": 34 } } }, @@ -42248,23 +44182,23 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 757, - "end": 762, + "value": "base", + "start": 1019, + "end": 1023, "loc": { "start": { - "line": 30, - "column": 9 + "line": 40, + "column": 35 }, "end": { - "line": 30, - "column": 14 + "line": 40, + "column": 39 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -42275,74 +44209,77 @@ "binop": null, "updateContext": null }, - "start": 763, - "end": 764, + "start": 1024, + "end": 1025, "loc": { "start": { - "line": 30, - "column": 15 + "line": 40, + "column": 40 }, "end": { - "line": 30, - "column": 16 + "line": 40, + "column": 41 } } }, { "type": { - "label": "}", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 766, - "end": 767, + "value": "this", + "start": 1026, + "end": 1030, "loc": { "start": { - "line": 31, - "column": 1 + "line": 40, + "column": 42 }, "end": { - "line": 31, - "column": 2 + "line": 40, + "column": 46 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "clone", - "start": 770, - "end": 775, + "start": 1030, + "end": 1031, "loc": { "start": { - "line": 33, - "column": 1 + "line": 40, + "column": 46 }, "end": { - "line": 33, - "column": 6 + "line": 40, + "column": 47 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -42351,73 +44288,76 @@ "postfix": false, "binop": null }, - "start": 776, - "end": 777, + "value": "limbs", + "start": 1031, + "end": 1036, "loc": { "start": { - "line": 33, - "column": 7 + "line": 40, + "column": 47 }, "end": { - "line": 33, - "column": 8 + "line": 40, + "column": 52 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 778, - "end": 779, + "start": 1037, + "end": 1038, "loc": { "start": { - "line": 33, - "column": 9 + "line": 40, + "column": 53 }, "end": { - "line": 33, - "column": 10 + "line": 40, + "column": 54 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "num", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 780, - "end": 781, + "value": 0, + "start": 1039, + "end": 1040, "loc": { "start": { - "line": 33, - "column": 11 + "line": 40, + "column": 55 }, "end": { - "line": 33, - "column": 12 + "line": 40, + "column": 56 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -42428,25 +44368,24 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 784, - "end": 790, + "start": 1041, + "end": 1042, "loc": { "start": { - "line": 34, - "column": 2 + "line": 40, + "column": 57 }, "end": { - "line": 34, - "column": 8 + "line": 40, + "column": 58 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, + "label": "this", + "keyword": "this", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -42456,50 +44395,50 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 791, - "end": 794, + "value": "this", + "start": 1043, + "end": 1047, "loc": { "start": { - "line": 34, - "column": 9 + "line": 40, + "column": 59 }, "end": { - "line": 34, - "column": 12 + "line": 40, + "column": 63 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Integer", - "start": 795, - "end": 802, + "start": 1047, + "end": 1048, "loc": { "start": { - "line": 34, - "column": 13 + "line": 40, + "column": 63 }, "end": { - "line": 34, - "column": 20 + "line": 40, + "column": 64 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -42508,25 +44447,25 @@ "postfix": false, "binop": null }, - "start": 802, - "end": 803, + "value": "limbs", + "start": 1048, + "end": 1053, "loc": { "start": { - "line": 34, - "column": 20 + "line": 40, + "column": 64 }, "end": { - "line": 34, - "column": 21 + "line": 40, + "column": 69 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -42535,51 +44474,50 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 804, - "end": 808, + "start": 1053, + "end": 1054, "loc": { "start": { - "line": 34, - "column": 22 + "line": 40, + "column": 69 }, "end": { - "line": 34, - "column": 26 + "line": 40, + "column": 70 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 808, - "end": 809, + "value": "length", + "start": 1054, + "end": 1060, "loc": { "start": { - "line": 34, - "column": 26 + "line": 40, + "column": 70 }, "end": { - "line": 34, - "column": 27 + "line": 40, + "column": 76 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -42587,23 +44525,22 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 809, - "end": 813, + "start": 1061, + "end": 1062, "loc": { "start": { - "line": 34, - "column": 27 + "line": 40, + "column": 77 }, "end": { - "line": 34, - "column": 31 + "line": 40, + "column": 78 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -42614,70 +44551,92 @@ "binop": null, "updateContext": null }, - "start": 814, - "end": 815, + "start": 1063, + "end": 1064, "loc": { "start": { - "line": 34, - "column": 32 + "line": 40, + "column": 79 }, "end": { - "line": 34, - "column": 33 + "line": 40, + "column": 80 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 816, - "end": 820, + "start": 1066, + "end": 1067, "loc": { "start": { - "line": 34, - "column": 34 + "line": 41, + "column": 1 }, "end": { - "line": 34, - "column": 38 + "line": 41, + "column": 2 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 820, - "end": 821, + "value": "toString", + "start": 1070, + "end": 1078, "loc": { "start": { - "line": 34, - "column": 38 + "line": 43, + "column": 1 }, "end": { - "line": 34, - "column": 39 + "line": 43, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1079, + "end": 1080, + "loc": { + "start": { + "line": 43, + "column": 10 + }, + "end": { + "line": 43, + "column": 11 } } }, @@ -42693,50 +44652,50 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 821, - "end": 832, + "value": "base", + "start": 1081, + "end": 1085, "loc": { "start": { - "line": 34, - "column": 39 + "line": 43, + "column": 12 }, "end": { - "line": 34, - "column": 50 + "line": 43, + "column": 16 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 833, - "end": 834, + "value": "=", + "start": 1086, + "end": 1087, "loc": { "start": { - "line": 34, - "column": 51 + "line": 43, + "column": 17 }, "end": { - "line": 34, - "column": 52 + "line": 43, + "column": 18 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -42744,26 +44703,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 835, - "end": 839, + "value": "DEFAULT_DISPLAY_BASE", + "start": 1088, + "end": 1108, "loc": { "start": { - "line": 34, - "column": 53 + "line": 43, + "column": 19 }, "end": { - "line": 34, - "column": 57 + "line": 43, + "column": 39 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -42771,26 +44729,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 839, - "end": 840, + "start": 1109, + "end": 1110, "loc": { "start": { - "line": 34, - "column": 57 + "line": 43, + "column": 40 }, "end": { - "line": 34, - "column": 58 + "line": 43, + "column": 41 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -42799,23 +44756,23 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 840, - "end": 845, + "start": 1111, + "end": 1112, "loc": { "start": { - "line": 34, - "column": 58 + "line": 43, + "column": 42 }, "end": { - "line": 34, - "column": 63 + "line": 43, + "column": 43 } } }, { "type": { - "label": ")", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -42823,102 +44780,106 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 846, - "end": 847, + "value": "if", + "start": 1116, + "end": 1118, "loc": { "start": { - "line": 34, - "column": 64 + "line": 45, + "column": 2 }, "end": { - "line": 34, - "column": 65 + "line": 45, + "column": 4 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 848, - "end": 849, + "start": 1119, + "end": 1120, "loc": { "start": { - "line": 34, - "column": 66 + "line": 45, + "column": 5 }, "end": { - "line": 34, - "column": 67 + "line": 45, + "column": 6 } } }, { "type": { - "label": "}", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 851, - "end": 852, + "value": "this", + "start": 1121, + "end": 1125, "loc": { "start": { - "line": 35, - "column": 1 + "line": 45, + "column": 7 }, "end": { - "line": 35, - "column": 2 + "line": 45, + "column": 11 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "_limbs_in_base", - "start": 855, - "end": 869, + "start": 1125, + "end": 1126, "loc": { "start": { - "line": 37, - "column": 1 + "line": 45, + "column": 11 }, "end": { - "line": 37, - "column": 15 + "line": 45, + "column": 12 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -42927,23 +44888,24 @@ "postfix": false, "binop": null }, - "start": 870, - "end": 871, + "value": "iszero", + "start": 1126, + "end": 1132, "loc": { "start": { - "line": 37, - "column": 16 + "line": 45, + "column": 12 }, "end": { - "line": 37, - "column": 17 + "line": 45, + "column": 18 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -42952,17 +44914,16 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 872, - "end": 876, + "start": 1132, + "end": 1133, "loc": { "start": { - "line": 37, + "line": 45, "column": 18 }, "end": { - "line": 37, - "column": 22 + "line": 45, + "column": 19 } } }, @@ -42978,24 +44939,24 @@ "postfix": false, "binop": null }, - "start": 877, - "end": 878, + "start": 1134, + "end": 1135, "loc": { "start": { - "line": 37, - "column": 23 + "line": 45, + "column": 20 }, "end": { - "line": 37, - "column": 24 + "line": 45, + "column": 21 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -43003,40 +44964,24 @@ "postfix": false, "binop": null }, - "start": 879, - "end": 880, - "loc": { - "start": { - "line": 37, - "column": 25 - }, - "end": { - "line": 37, - "column": 26 - } - } - }, - { - "type": "CommentLine", - "value": " TODO save result for later ? Maybe replace base ?", - "start": 883, - "end": 935, + "start": 1136, + "end": 1137, "loc": { "start": { - "line": 38, - "column": 2 + "line": 45, + "column": 22 }, "end": { - "line": 38, - "column": 54 + "line": 45, + "column": 23 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -43046,51 +44991,52 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 938, - "end": 940, + "value": "return", + "start": 1138, + "end": 1144, "loc": { "start": { - "line": 39, - "column": 2 + "line": 45, + "column": 24 }, "end": { - "line": 39, - "column": 4 + "line": 45, + "column": 30 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 941, - "end": 942, + "value": "0", + "start": 1145, + "end": 1148, "loc": { "start": { - "line": 39, - "column": 5 + "line": 45, + "column": 31 }, "end": { - "line": 39, - "column": 6 + "line": 45, + "column": 34 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -43099,23 +45045,23 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 943, - "end": 947, + "start": 1149, + "end": 1150, "loc": { "start": { - "line": 39, - "column": 7 + "line": 45, + "column": 35 }, "end": { - "line": 39, - "column": 11 + "line": 45, + "column": 36 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -43126,16 +45072,17 @@ "binop": null, "updateContext": null }, - "start": 947, - "end": 948, + "value": "const", + "start": 1154, + "end": 1159, "loc": { "start": { - "line": 39, - "column": 11 + "line": 47, + "column": 2 }, "end": { - "line": 39, - "column": 12 + "line": 47, + "column": 7 } } }, @@ -43151,44 +45098,44 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 948, - "end": 952, + "value": "digits", + "start": 1160, + "end": 1166, "loc": { "start": { - "line": 39, - "column": 12 + "line": 47, + "column": 8 }, "end": { - "line": 39, - "column": 16 + "line": 47, + "column": 14 } } }, { "type": { - "label": "==/!=", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "===", - "start": 953, - "end": 956, + "value": "=", + "start": 1167, + "end": 1168, "loc": { "start": { - "line": 39, - "column": 17 + "line": 47, + "column": 15 }, "end": { - "line": 39, - "column": 20 + "line": 47, + "column": 16 } } }, @@ -43204,25 +45151,25 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 957, - "end": 961, + "value": "stringify", + "start": 1169, + "end": 1178, "loc": { "start": { - "line": 39, - "column": 21 + "line": 47, + "column": 17 }, "end": { - "line": 39, - "column": 25 + "line": 47, + "column": 26 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -43230,47 +45177,19 @@ "postfix": false, "binop": null }, - "start": 962, - "end": 963, + "start": 1178, + "end": 1179, "loc": { "start": { - "line": 39, + "line": 47, "column": 26 }, "end": { - "line": 39, + "line": 47, "column": 27 } } }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 964, - "end": 970, - "loc": { - "start": { - "line": 39, - "column": 28 - }, - "end": { - "line": 39, - "column": 34 - } - } - }, { "type": { "label": "this", @@ -43286,16 +45205,16 @@ "updateContext": null }, "value": "this", - "start": 971, - "end": 975, + "start": 1180, + "end": 1184, "loc": { "start": { - "line": 39, - "column": 35 + "line": 47, + "column": 28 }, "end": { - "line": 39, - "column": 39 + "line": 47, + "column": 32 } } }, @@ -43312,16 +45231,16 @@ "binop": null, "updateContext": null }, - "start": 975, - "end": 976, + "start": 1184, + "end": 1185, "loc": { "start": { - "line": 39, - "column": 39 + "line": 47, + "column": 32 }, "end": { - "line": 39, - "column": 40 + "line": 47, + "column": 33 } } }, @@ -43337,23 +45256,23 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 976, - "end": 981, + "value": "base", + "start": 1185, + "end": 1189, "loc": { "start": { - "line": 39, - "column": 40 + "line": 47, + "column": 33 }, "end": { - "line": 39, - "column": 45 + "line": 47, + "column": 37 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -43364,51 +45283,48 @@ "binop": null, "updateContext": null }, - "start": 982, - "end": 983, + "start": 1190, + "end": 1191, "loc": { "start": { - "line": 39, - "column": 46 + "line": 47, + "column": 38 }, "end": { - "line": 39, - "column": 47 + "line": 47, + "column": 39 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "else", - "start": 986, - "end": 990, + "value": "base", + "start": 1192, + "end": 1196, "loc": { "start": { - "line": 40, - "column": 2 + "line": 47, + "column": 40 }, "end": { - "line": 40, - "column": 6 + "line": 47, + "column": 44 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -43419,23 +45335,23 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 991, - "end": 997, + "start": 1197, + "end": 1198, "loc": { "start": { - "line": 40, - "column": 7 + "line": 47, + "column": 45 }, "end": { - "line": 40, - "column": 13 + "line": 47, + "column": 46 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -43443,51 +45359,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "convert", - "start": 998, - "end": 1005, + "value": "this", + "start": 1199, + "end": 1203, "loc": { "start": { - "line": 40, - "column": 14 + "line": 47, + "column": 47 }, "end": { - "line": 40, - "column": 21 + "line": 47, + "column": 51 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1005, - "end": 1006, + "start": 1203, + "end": 1204, "loc": { "start": { - "line": 40, - "column": 21 + "line": 47, + "column": 51 }, "end": { - "line": 40, - "column": 22 + "line": 47, + "column": 52 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -43495,27 +45412,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1007, - "end": 1011, + "value": "limbs", + "start": 1204, + "end": 1209, "loc": { "start": { - "line": 40, - "column": 23 + "line": 47, + "column": 52 }, "end": { - "line": 40, - "column": 27 + "line": 47, + "column": 57 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -43525,22 +45441,22 @@ "binop": null, "updateContext": null }, - "start": 1011, - "end": 1012, + "start": 1210, + "end": 1211, "loc": { "start": { - "line": 40, - "column": 27 + "line": 47, + "column": 58 }, "end": { - "line": 40, - "column": 28 + "line": 47, + "column": 59 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -43548,19 +45464,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "base", - "start": 1012, - "end": 1016, + "value": 0, + "start": 1212, + "end": 1213, "loc": { "start": { - "line": 40, - "column": 28 + "line": 47, + "column": 60 }, "end": { - "line": 40, - "column": 32 + "line": 47, + "column": 61 } } }, @@ -43577,22 +45494,23 @@ "binop": null, "updateContext": null }, - "start": 1017, - "end": 1018, + "start": 1214, + "end": 1215, "loc": { "start": { - "line": 40, - "column": 33 + "line": 47, + "column": 62 }, "end": { - "line": 40, - "column": 34 + "line": 47, + "column": 63 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -43600,26 +45518,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "base", - "start": 1019, - "end": 1023, + "value": "this", + "start": 1216, + "end": 1220, "loc": { "start": { - "line": 40, - "column": 35 + "line": 47, + "column": 64 }, "end": { - "line": 40, - "column": 39 + "line": 47, + "column": 68 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -43629,23 +45548,22 @@ "binop": null, "updateContext": null }, - "start": 1024, - "end": 1025, + "start": 1220, + "end": 1221, "loc": { "start": { - "line": 40, - "column": 40 + "line": 47, + "column": 68 }, "end": { - "line": 40, - "column": 41 + "line": 47, + "column": 69 } } }, { - "type": { - "label": "this", - "keyword": "this", + "type": { + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -43653,20 +45571,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1026, - "end": 1030, + "value": "limbs", + "start": 1221, + "end": 1226, "loc": { "start": { - "line": 40, - "column": 42 + "line": 47, + "column": 69 }, "end": { - "line": 40, - "column": 46 + "line": 47, + "column": 74 } } }, @@ -43683,16 +45600,16 @@ "binop": null, "updateContext": null }, - "start": 1030, - "end": 1031, + "start": 1226, + "end": 1227, "loc": { "start": { - "line": 40, - "column": 46 + "line": 47, + "column": 74 }, "end": { - "line": 40, - "column": 47 + "line": 47, + "column": 75 } } }, @@ -43708,51 +45625,50 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 1031, - "end": 1036, + "value": "length", + "start": 1227, + "end": 1233, "loc": { "start": { - "line": 40, - "column": 47 + "line": 47, + "column": 75 }, "end": { - "line": 40, - "column": 52 + "line": 47, + "column": 81 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1037, - "end": 1038, + "start": 1234, + "end": 1235, "loc": { "start": { - "line": 40, - "column": 53 + "line": 47, + "column": 82 }, "end": { - "line": 40, - "column": 54 + "line": 47, + "column": 83 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -43761,23 +45677,23 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 1039, - "end": 1040, + "start": 1236, + "end": 1237, "loc": { "start": { - "line": 40, - "column": 55 + "line": 47, + "column": 84 }, "end": { - "line": 40, - "column": 56 + "line": 47, + "column": 85 } } }, { "type": { - "label": ",", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -43788,16 +45704,17 @@ "binop": null, "updateContext": null }, - "start": 1041, - "end": 1042, + "value": "return", + "start": 1241, + "end": 1247, "loc": { "start": { - "line": 40, - "column": 57 + "line": 49, + "column": 2 }, "end": { - "line": 40, - "column": 58 + "line": 49, + "column": 8 } } }, @@ -43816,16 +45733,16 @@ "updateContext": null }, "value": "this", - "start": 1043, - "end": 1047, + "start": 1248, + "end": 1252, "loc": { "start": { - "line": 40, - "column": 59 + "line": 49, + "column": 9 }, "end": { - "line": 40, - "column": 63 + "line": 49, + "column": 13 } } }, @@ -43842,16 +45759,16 @@ "binop": null, "updateContext": null }, - "start": 1047, - "end": 1048, + "start": 1252, + "end": 1253, "loc": { "start": { - "line": 40, - "column": 63 + "line": 49, + "column": 13 }, "end": { - "line": 40, - "column": 64 + "line": 49, + "column": 14 } } }, @@ -43867,24 +45784,24 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 1048, - "end": 1053, + "value": "is_negative", + "start": 1253, + "end": 1264, "loc": { "start": { - "line": 40, - "column": 64 + "line": 49, + "column": 14 }, "end": { - "line": 40, - "column": 69 + "line": 49, + "column": 25 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "?", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -43894,22 +45811,22 @@ "binop": null, "updateContext": null }, - "start": 1053, - "end": 1054, + "start": 1265, + "end": 1266, "loc": { "start": { - "line": 40, - "column": 69 + "line": 49, + "column": 26 }, "end": { - "line": 40, - "column": 70 + "line": 49, + "column": 27 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -43917,27 +45834,55 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "length", - "start": 1054, - "end": 1060, + "value": "-", + "start": 1267, + "end": 1270, "loc": { "start": { - "line": 40, - "column": 70 + "line": 49, + "column": 28 }, "end": { - "line": 40, - "column": 76 + "line": 49, + "column": 31 } } }, { "type": { - "label": ")", + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 1271, + "end": 1272, + "loc": { + "start": { + "line": 49, + "column": 32 + }, + "end": { + "line": 49, + "column": 33 + } + } + }, + { + "type": { + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -43945,22 +45890,23 @@ "postfix": false, "binop": null }, - "start": 1061, - "end": 1062, + "value": "digits", + "start": 1273, + "end": 1279, "loc": { "start": { - "line": 40, - "column": 77 + "line": 49, + "column": 34 }, "end": { - "line": 40, - "column": 78 + "line": 49, + "column": 40 } } }, { "type": { - "label": ";", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -43971,24 +45917,24 @@ "binop": null, "updateContext": null }, - "start": 1063, - "end": 1064, + "start": 1280, + "end": 1281, "loc": { "start": { - "line": 40, - "column": 79 + "line": 49, + "column": 41 }, "end": { - "line": 40, - "column": 80 + "line": 49, + "column": 42 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -43996,50 +45942,51 @@ "postfix": false, "binop": null }, - "start": 1066, - "end": 1067, + "value": "digits", + "start": 1282, + "end": 1288, "loc": { "start": { - "line": 41, - "column": 1 + "line": 49, + "column": 43 }, "end": { - "line": 41, - "column": 2 + "line": 49, + "column": 49 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "toString", - "start": 1070, - "end": 1078, + "start": 1289, + "end": 1290, "loc": { "start": { - "line": 43, - "column": 1 + "line": 49, + "column": 50 }, "end": { - "line": 43, - "column": 9 + "line": 49, + "column": 51 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -44047,16 +45994,16 @@ "postfix": false, "binop": null }, - "start": 1079, - "end": 1080, + "start": 1293, + "end": 1294, "loc": { "start": { - "line": 43, - "column": 10 + "line": 51, + "column": 1 }, "end": { - "line": 43, - "column": 11 + "line": 51, + "column": 2 } } }, @@ -44072,44 +46019,42 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 1081, - "end": 1085, + "value": "add", + "start": 1297, + "end": 1300, "loc": { "start": { - "line": 43, - "column": 12 + "line": 53, + "column": 1 }, "end": { - "line": 43, - "column": 16 + "line": 53, + "column": 4 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1086, - "end": 1087, + "start": 1301, + "end": 1302, "loc": { "start": { - "line": 43, - "column": 17 + "line": 53, + "column": 5 }, "end": { - "line": 43, - "column": 18 + "line": 53, + "column": 6 } } }, @@ -44125,17 +46070,17 @@ "postfix": false, "binop": null }, - "value": "DEFAULT_DISPLAY_BASE", - "start": 1088, - "end": 1108, + "value": "other", + "start": 1303, + "end": 1308, "loc": { "start": { - "line": 43, - "column": 19 + "line": 53, + "column": 7 }, "end": { - "line": 43, - "column": 39 + "line": 53, + "column": 12 } } }, @@ -44151,16 +46096,16 @@ "postfix": false, "binop": null }, - "start": 1109, - "end": 1110, + "start": 1309, + "end": 1310, "loc": { "start": { - "line": 43, - "column": 40 + "line": 53, + "column": 13 }, "end": { - "line": 43, - "column": 41 + "line": 53, + "column": 14 } } }, @@ -44176,16 +46121,16 @@ "postfix": false, "binop": null }, - "start": 1111, - "end": 1112, + "start": 1311, + "end": 1312, "loc": { "start": { - "line": 43, - "column": 42 + "line": 53, + "column": 15 }, "end": { - "line": 43, - "column": 43 + "line": 53, + "column": 16 } } }, @@ -44204,15 +46149,15 @@ "updateContext": null }, "value": "if", - "start": 1116, - "end": 1118, + "start": 1316, + "end": 1318, "loc": { "start": { - "line": 45, + "line": 55, "column": 2 }, "end": { - "line": 45, + "line": 55, "column": 4 } } @@ -44229,15 +46174,15 @@ "postfix": false, "binop": null }, - "start": 1119, - "end": 1120, + "start": 1319, + "end": 1320, "loc": { "start": { - "line": 45, + "line": 55, "column": 5 }, "end": { - "line": 45, + "line": 55, "column": 6 } } @@ -44257,15 +46202,15 @@ "updateContext": null }, "value": "this", - "start": 1121, - "end": 1125, + "start": 1321, + "end": 1325, "loc": { "start": { - "line": 45, + "line": 55, "column": 7 }, "end": { - "line": 45, + "line": 55, "column": 11 } } @@ -44283,15 +46228,15 @@ "binop": null, "updateContext": null }, - "start": 1125, - "end": 1126, + "start": 1325, + "end": 1326, "loc": { "start": { - "line": 45, + "line": 55, "column": 11 }, "end": { - "line": 45, + "line": 55, "column": 12 } } @@ -44308,24 +46253,51 @@ "postfix": false, "binop": null }, - "value": "iszero", - "start": 1126, - "end": 1132, + "value": "is_negative", + "start": 1326, + "end": 1337, "loc": { "start": { - "line": 45, + "line": 55, "column": 12 }, "end": { - "line": 45, - "column": 18 + "line": 55, + "column": 23 } } }, { "type": { - "label": "(", + "label": "==/!=", "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "!==", + "start": 1338, + "end": 1341, + "loc": { + "start": { + "line": 55, + "column": 24 + }, + "end": { + "line": 55, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -44334,22 +46306,23 @@ "postfix": false, "binop": null }, - "start": 1132, - "end": 1133, + "value": "other", + "start": 1342, + "end": 1347, "loc": { "start": { - "line": 45, - "column": 18 + "line": 55, + "column": 28 }, "end": { - "line": 45, - "column": 19 + "line": 55, + "column": 33 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -44357,26 +46330,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1134, - "end": 1135, + "start": 1347, + "end": 1348, "loc": { "start": { - "line": 45, - "column": 20 + "line": 55, + "column": 33 }, "end": { - "line": 45, - "column": 21 + "line": 55, + "column": 34 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -44384,78 +46358,75 @@ "postfix": false, "binop": null }, - "start": 1136, - "end": 1137, + "value": "is_negative", + "start": 1348, + "end": 1359, "loc": { "start": { - "line": 45, - "column": 22 + "line": 55, + "column": 34 }, "end": { - "line": 45, - "column": 23 + "line": 55, + "column": 45 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 1138, - "end": 1144, + "start": 1360, + "end": 1361, "loc": { "start": { - "line": 45, - "column": 24 + "line": 55, + "column": 46 }, "end": { - "line": 45, - "column": 30 + "line": 55, + "column": 47 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "0", - "start": 1145, - "end": 1148, + "binop": null + }, + "start": 1362, + "end": 1363, "loc": { "start": { - "line": 45, - "column": 31 + "line": 55, + "column": 48 }, "end": { - "line": 45, - "column": 34 + "line": 55, + "column": 49 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -44465,43 +46436,41 @@ "binop": null, "updateContext": null }, - "start": 1149, - "end": 1150, + "value": "if", + "start": 1368, + "end": 1370, "loc": { "start": { - "line": 45, - "column": 35 + "line": 57, + "column": 3 }, "end": { - "line": 45, - "column": 36 + "line": 57, + "column": 5 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 1154, - "end": 1159, + "start": 1371, + "end": 1372, "loc": { "start": { - "line": 47, - "column": 2 + "line": 57, + "column": 6 }, "end": { - "line": 47, + "line": 57, "column": 7 } } @@ -44518,44 +46487,43 @@ "postfix": false, "binop": null }, - "value": "digits", - "start": 1160, - "end": 1166, + "value": "other", + "start": 1373, + "end": 1378, "loc": { "start": { - "line": 47, + "line": 57, "column": 8 }, "end": { - "line": 47, - "column": 14 + "line": 57, + "column": 13 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1167, - "end": 1168, + "start": 1378, + "end": 1379, "loc": { "start": { - "line": 47, - "column": 15 + "line": 57, + "column": 13 }, "end": { - "line": 47, - "column": 16 + "line": 57, + "column": 14 } } }, @@ -44571,25 +46539,25 @@ "postfix": false, "binop": null }, - "value": "stringify", - "start": 1169, - "end": 1178, + "value": "is_negative", + "start": 1379, + "end": 1390, "loc": { "start": { - "line": 47, - "column": 17 + "line": 57, + "column": 14 }, "end": { - "line": 47, - "column": 26 + "line": 57, + "column": 25 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -44597,19 +46565,47 @@ "postfix": false, "binop": null }, - "start": 1178, - "end": 1179, + "start": 1391, + "end": 1392, "loc": { "start": { - "line": 47, + "line": 57, "column": 26 }, "end": { - "line": 47, + "line": 57, "column": 27 } } }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1393, + "end": 1399, + "loc": { + "start": { + "line": 57, + "column": 28 + }, + "end": { + "line": 57, + "column": 34 + } + } + }, { "type": { "label": "this", @@ -44625,16 +46621,16 @@ "updateContext": null }, "value": "this", - "start": 1180, - "end": 1184, + "start": 1400, + "end": 1404, "loc": { "start": { - "line": 47, - "column": 28 + "line": 57, + "column": 35 }, "end": { - "line": 47, - "column": 32 + "line": 57, + "column": 39 } } }, @@ -44651,16 +46647,16 @@ "binop": null, "updateContext": null }, - "start": 1184, - "end": 1185, + "start": 1404, + "end": 1405, "loc": { "start": { - "line": 47, - "column": 32 + "line": 57, + "column": 39 }, "end": { - "line": 47, - "column": 33 + "line": 57, + "column": 40 } } }, @@ -44676,43 +46672,42 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 1185, - "end": 1189, + "value": "sub", + "start": 1405, + "end": 1408, "loc": { "start": { - "line": 47, - "column": 33 + "line": 57, + "column": 40 }, "end": { - "line": 47, - "column": 37 + "line": 57, + "column": 43 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1190, - "end": 1191, + "start": 1408, + "end": 1409, "loc": { "start": { - "line": 47, - "column": 38 + "line": 57, + "column": 43 }, "end": { - "line": 47, - "column": 39 + "line": 57, + "column": 44 } } }, @@ -44728,24 +46723,24 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 1192, - "end": 1196, + "value": "other", + "start": 1410, + "end": 1415, "loc": { "start": { - "line": 47, - "column": 40 + "line": 57, + "column": 45 }, "end": { - "line": 47, - "column": 44 + "line": 57, + "column": 50 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -44755,23 +46750,22 @@ "binop": null, "updateContext": null }, - "start": 1197, - "end": 1198, + "start": 1415, + "end": 1416, "loc": { "start": { - "line": 47, - "column": 45 + "line": 57, + "column": 50 }, "end": { - "line": 47, - "column": 46 + "line": 57, + "column": 51 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -44779,26 +46773,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1199, - "end": 1203, + "value": "opposite", + "start": 1416, + "end": 1424, "loc": { "start": { - "line": 47, - "column": 47 + "line": 57, + "column": 51 }, "end": { - "line": 47, - "column": 51 + "line": 57, + "column": 59 } } }, { "type": { - "label": ".", + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1424, + "end": 1425, + "loc": { + "start": { + "line": 57, + "column": 59 + }, + "end": { + "line": 57, + "column": 60 + } + } + }, + { + "type": { + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -44806,27 +46824,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1203, - "end": 1204, + "start": 1425, + "end": 1426, "loc": { "start": { - "line": 47, - "column": 51 + "line": 57, + "column": 60 }, "end": { - "line": 47, - "column": 52 + "line": 57, + "column": 61 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -44834,23 +46851,22 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 1204, - "end": 1209, + "start": 1427, + "end": 1428, "loc": { "start": { - "line": 47, - "column": 52 + "line": 57, + "column": 62 }, "end": { - "line": 47, - "column": 57 + "line": 57, + "column": 63 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -44861,24 +46877,25 @@ "binop": null, "updateContext": null }, - "start": 1210, - "end": 1211, + "start": 1429, + "end": 1430, "loc": { "start": { - "line": 47, - "column": 58 + "line": 57, + "column": 64 }, "end": { - "line": 47, - "column": 59 + "line": 57, + "column": 65 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -44887,23 +46904,24 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 1212, - "end": 1213, + "value": "else", + "start": 1435, + "end": 1439, "loc": { "start": { - "line": 47, - "column": 60 + "line": 59, + "column": 3 }, "end": { - "line": 47, - "column": 61 + "line": 59, + "column": 7 } } }, { "type": { - "label": ",", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -44914,23 +46932,23 @@ "binop": null, "updateContext": null }, - "start": 1214, - "end": 1215, + "value": "return", + "start": 1440, + "end": 1446, "loc": { "start": { - "line": 47, - "column": 62 + "line": 59, + "column": 8 }, "end": { - "line": 47, - "column": 63 + "line": 59, + "column": 14 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -44938,20 +46956,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1216, - "end": 1220, + "value": "other", + "start": 1447, + "end": 1452, "loc": { "start": { - "line": 47, - "column": 64 + "line": 59, + "column": 15 }, "end": { - "line": 47, - "column": 68 + "line": 59, + "column": 20 } } }, @@ -44968,16 +46985,16 @@ "binop": null, "updateContext": null }, - "start": 1220, - "end": 1221, + "start": 1452, + "end": 1453, "loc": { "start": { - "line": 47, - "column": 68 + "line": 59, + "column": 20 }, "end": { - "line": 47, - "column": 69 + "line": 59, + "column": 21 } } }, @@ -44993,25 +47010,51 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 1221, - "end": 1226, + "value": "sub", + "start": 1453, + "end": 1456, "loc": { "start": { - "line": 47, - "column": 69 + "line": 59, + "column": 21 }, "end": { - "line": 47, - "column": 74 + "line": 59, + "column": 24 } } }, { "type": { - "label": ".", + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1456, + "end": 1457, + "loc": { + "start": { + "line": 59, + "column": 24 + }, + "end": { + "line": 59, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -45020,50 +47063,51 @@ "binop": null, "updateContext": null }, - "start": 1226, - "end": 1227, + "value": "this", + "start": 1458, + "end": 1462, "loc": { "start": { - "line": 47, - "column": 74 + "line": 59, + "column": 26 }, "end": { - "line": 47, - "column": 75 + "line": 59, + "column": 30 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "length", - "start": 1227, - "end": 1233, + "start": 1462, + "end": 1463, "loc": { "start": { - "line": 47, - "column": 75 + "line": 59, + "column": 30 }, "end": { - "line": 47, - "column": 81 + "line": 59, + "column": 31 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -45071,105 +47115,99 @@ "postfix": false, "binop": null }, - "start": 1234, - "end": 1235, + "value": "opposite", + "start": 1463, + "end": 1471, "loc": { "start": { - "line": 47, - "column": 82 + "line": 59, + "column": 31 }, "end": { - "line": 47, - "column": 83 + "line": 59, + "column": 39 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1236, - "end": 1237, + "start": 1471, + "end": 1472, "loc": { "start": { - "line": 47, - "column": 84 + "line": 59, + "column": 39 }, "end": { - "line": 47, - "column": 85 + "line": 59, + "column": 40 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 1241, - "end": 1247, + "start": 1472, + "end": 1473, "loc": { "start": { - "line": 49, - "column": 2 + "line": 59, + "column": 40 }, "end": { - "line": 49, - "column": 8 + "line": 59, + "column": 41 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1248, - "end": 1252, + "start": 1474, + "end": 1475, "loc": { "start": { - "line": 49, - "column": 9 + "line": 59, + "column": 42 }, "end": { - "line": 49, - "column": 13 + "line": 59, + "column": 43 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -45179,24 +47217,24 @@ "binop": null, "updateContext": null }, - "start": 1252, - "end": 1253, + "start": 1476, + "end": 1477, "loc": { "start": { - "line": 49, - "column": 13 + "line": 59, + "column": 44 }, "end": { - "line": 49, - "column": 14 + "line": 59, + "column": 45 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -45204,23 +47242,23 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 1253, - "end": 1264, + "start": 1481, + "end": 1482, "loc": { "start": { - "line": 49, - "column": 14 + "line": 61, + "column": 2 }, "end": { - "line": 49, - "column": 25 + "line": 61, + "column": 3 } } }, { "type": { - "label": "?", + "label": "else", + "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -45231,70 +47269,70 @@ "binop": null, "updateContext": null }, - "start": 1265, - "end": 1266, + "value": "else", + "start": 1486, + "end": 1490, "loc": { "start": { - "line": 49, - "column": 26 + "line": 63, + "column": 2 }, "end": { - "line": 49, - "column": 27 + "line": 63, + "column": 6 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "-", - "start": 1267, - "end": 1270, + "start": 1491, + "end": 1492, "loc": { "start": { - "line": 49, - "column": 28 + "line": 63, + "column": 7 }, "end": { - "line": 49, - "column": 31 + "line": 63, + "column": 8 } } }, { "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "+", - "start": 1271, - "end": 1272, + "value": "const", + "start": 1497, + "end": 1502, "loc": { "start": { - "line": 49, - "column": 32 + "line": 65, + "column": 3 }, "end": { - "line": 49, - "column": 33 + "line": 65, + "column": 8 } } }, @@ -45310,49 +47348,51 @@ "postfix": false, "binop": null }, - "value": "digits", - "start": 1273, - "end": 1279, + "value": "result_is_negative", + "start": 1503, + "end": 1521, "loc": { "start": { - "line": 49, - "column": 34 + "line": 65, + "column": 9 }, "end": { - "line": 49, - "column": 40 + "line": 65, + "column": 27 } } }, { "type": { - "label": ":", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1280, - "end": 1281, + "value": "=", + "start": 1522, + "end": 1523, "loc": { "start": { - "line": 49, - "column": 41 + "line": 65, + "column": 28 }, "end": { - "line": 49, - "column": 42 + "line": 65, + "column": 29 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -45360,26 +47400,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "digits", - "start": 1282, - "end": 1288, + "value": "this", + "start": 1524, + "end": 1528, "loc": { "start": { - "line": 49, - "column": 43 + "line": 65, + "column": 30 }, "end": { - "line": 49, - "column": 49 + "line": 65, + "column": 34 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -45389,24 +47430,24 @@ "binop": null, "updateContext": null }, - "start": 1289, - "end": 1290, + "start": 1528, + "end": 1529, "loc": { "start": { - "line": 49, - "column": 50 + "line": 65, + "column": 34 }, "end": { - "line": 49, - "column": 51 + "line": 65, + "column": 35 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -45414,67 +47455,71 @@ "postfix": false, "binop": null }, - "start": 1293, - "end": 1294, + "value": "is_negative", + "start": 1529, + "end": 1540, "loc": { "start": { - "line": 51, - "column": 1 + "line": 65, + "column": 35 }, "end": { - "line": 51, - "column": 2 + "line": 65, + "column": 46 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "add", - "start": 1297, - "end": 1300, + "start": 1541, + "end": 1542, "loc": { "start": { - "line": 53, - "column": 1 + "line": 65, + "column": 47 }, "end": { - "line": 53, - "column": 4 + "line": 65, + "column": 48 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1301, - "end": 1302, + "value": "const", + "start": 1546, + "end": 1551, "loc": { "start": { - "line": 53, - "column": 5 + "line": 66, + "column": 3 }, "end": { - "line": 53, - "column": 6 + "line": 66, + "column": 8 } } }, @@ -45490,74 +47535,78 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 1303, - "end": 1308, + "value": "r", + "start": 1552, + "end": 1553, "loc": { "start": { - "line": 53, - "column": 7 + "line": 66, + "column": 9 }, "end": { - "line": 53, - "column": 12 + "line": 66, + "column": 10 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1309, - "end": 1310, + "value": "=", + "start": 1554, + "end": 1555, "loc": { "start": { - "line": 53, - "column": 13 + "line": 66, + "column": 11 }, "end": { - "line": 53, - "column": 14 + "line": 66, + "column": 12 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "this", + "keyword": "this", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1311, - "end": 1312, + "value": "this", + "start": 1556, + "end": 1560, "loc": { "start": { - "line": 53, - "column": 15 + "line": 66, + "column": 13 }, "end": { - "line": 53, - "column": 16 + "line": 66, + "column": 17 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -45568,24 +47617,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 1316, - "end": 1318, + "start": 1560, + "end": 1561, "loc": { "start": { - "line": 55, - "column": 2 + "line": 66, + "column": 17 }, "end": { - "line": 55, - "column": 4 + "line": 66, + "column": 18 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -45594,25 +47642,25 @@ "postfix": false, "binop": null }, - "start": 1319, - "end": 1320, + "value": "base", + "start": 1561, + "end": 1565, "loc": { "start": { - "line": 55, - "column": 5 + "line": 66, + "column": 18 }, "end": { - "line": 55, - "column": 6 + "line": 66, + "column": 22 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -45621,23 +47669,23 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 1321, - "end": 1325, + "start": 1566, + "end": 1567, "loc": { "start": { - "line": 55, - "column": 7 + "line": 66, + "column": 23 }, "end": { - "line": 55, - "column": 11 + "line": 66, + "column": 24 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -45648,16 +47696,17 @@ "binop": null, "updateContext": null }, - "start": 1325, - "end": 1326, + "value": "const", + "start": 1572, + "end": 1577, "loc": { "start": { - "line": 55, - "column": 11 + "line": 68, + "column": 3 }, "end": { - "line": 55, - "column": 12 + "line": 68, + "column": 8 } } }, @@ -45673,50 +47722,51 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 1326, - "end": 1337, + "value": "a", + "start": 1578, + "end": 1579, "loc": { "start": { - "line": 55, - "column": 12 + "line": 68, + "column": 9 }, "end": { - "line": 55, - "column": 23 + "line": 68, + "column": 10 } } }, { "type": { - "label": "==/!=", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "!==", - "start": 1338, - "end": 1341, + "value": "=", + "start": 1580, + "end": 1581, "loc": { "start": { - "line": 55, - "column": 24 + "line": 68, + "column": 11 }, "end": { - "line": 55, - "column": 27 + "line": 68, + "column": 12 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -45724,19 +47774,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "other", - "start": 1342, - "end": 1347, + "value": "this", + "start": 1582, + "end": 1586, "loc": { "start": { - "line": 55, - "column": 28 + "line": 68, + "column": 13 }, "end": { - "line": 55, - "column": 33 + "line": 68, + "column": 17 } } }, @@ -45753,16 +47804,16 @@ "binop": null, "updateContext": null }, - "start": 1347, - "end": 1348, + "start": 1586, + "end": 1587, "loc": { "start": { - "line": 55, - "column": 33 + "line": 68, + "column": 17 }, "end": { - "line": 55, - "column": 34 + "line": 68, + "column": 18 } } }, @@ -45778,120 +47829,124 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 1348, - "end": 1359, + "value": "limbs", + "start": 1587, + "end": 1592, "loc": { "start": { - "line": 55, - "column": 34 + "line": 68, + "column": 18 }, "end": { - "line": 55, - "column": 45 + "line": 68, + "column": 23 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1360, - "end": 1361, + "start": 1593, + "end": 1594, "loc": { "start": { - "line": 55, - "column": 46 + "line": 68, + "column": 24 }, "end": { - "line": 55, - "column": 47 + "line": 68, + "column": 25 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1362, - "end": 1363, + "value": "const", + "start": 1599, + "end": 1604, "loc": { "start": { - "line": 55, - "column": 48 + "line": 70, + "column": 3 }, "end": { - "line": 55, - "column": 49 + "line": 70, + "column": 8 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 1368, - "end": 1370, + "value": "b", + "start": 1605, + "end": 1606, "loc": { "start": { - "line": 57, - "column": 3 + "line": 70, + "column": 9 }, "end": { - "line": 57, - "column": 5 + "line": 70, + "column": 10 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1371, - "end": 1372, + "value": "=", + "start": 1607, + "end": 1608, "loc": { "start": { - "line": 57, - "column": 6 + "line": 70, + "column": 11 }, "end": { - "line": 57, - "column": 7 + "line": 70, + "column": 12 } } }, @@ -45908,16 +47963,16 @@ "binop": null }, "value": "other", - "start": 1373, - "end": 1378, + "start": 1609, + "end": 1614, "loc": { "start": { - "line": 57, - "column": 8 + "line": 70, + "column": 13 }, "end": { - "line": 57, - "column": 13 + "line": 70, + "column": 18 } } }, @@ -45934,16 +47989,16 @@ "binop": null, "updateContext": null }, - "start": 1378, - "end": 1379, + "start": 1614, + "end": 1615, "loc": { "start": { - "line": 57, - "column": 13 + "line": 70, + "column": 18 }, "end": { - "line": 57, - "column": 14 + "line": 70, + "column": 19 } } }, @@ -45959,25 +48014,25 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 1379, - "end": 1390, + "value": "_limbs_in_base", + "start": 1615, + "end": 1629, "loc": { "start": { - "line": 57, - "column": 14 + "line": 70, + "column": 19 }, "end": { - "line": 57, - "column": 25 + "line": 70, + "column": 33 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -45985,79 +48040,74 @@ "postfix": false, "binop": null }, - "start": 1391, - "end": 1392, + "start": 1629, + "end": 1630, "loc": { "start": { - "line": 57, - "column": 26 + "line": 70, + "column": 33 }, "end": { - "line": 57, - "column": 27 + "line": 70, + "column": 34 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 1393, - "end": 1399, + "value": "r", + "start": 1631, + "end": 1632, "loc": { "start": { - "line": 57, - "column": 28 + "line": 70, + "column": 35 }, "end": { - "line": 57, - "column": 34 + "line": 70, + "column": 36 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1400, - "end": 1404, + "start": 1633, + "end": 1634, "loc": { "start": { - "line": 57, - "column": 35 + "line": 70, + "column": 37 }, "end": { - "line": 57, - "column": 39 + "line": 70, + "column": 38 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -46067,67 +48117,44 @@ "binop": null, "updateContext": null }, - "start": 1404, - "end": 1405, + "start": 1635, + "end": 1636, "loc": { "start": { - "line": 57, + "line": 70, "column": 39 }, "end": { - "line": 57, + "line": 70, "column": 40 } } }, { "type": { - "label": "name", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "sub", - "start": 1405, - "end": 1408, - "loc": { - "start": { - "line": 57, - "column": 40 - }, - "end": { - "line": 57, - "column": 43 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1408, - "end": 1409, + "value": "const", + "start": 1641, + "end": 1646, "loc": { "start": { - "line": 57, - "column": 43 + "line": 72, + "column": 3 }, "end": { - "line": 57, - "column": 44 + "line": 72, + "column": 8 } } }, @@ -46143,43 +48170,44 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 1410, - "end": 1415, + "value": "c", + "start": 1647, + "end": 1648, "loc": { "start": { - "line": 57, - "column": 45 + "line": 72, + "column": 9 }, "end": { - "line": 57, - "column": 50 + "line": 72, + "column": 10 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1415, - "end": 1416, + "value": "=", + "start": 1649, + "end": 1650, "loc": { "start": { - "line": 57, - "column": 50 + "line": 72, + "column": 11 }, "end": { - "line": 57, - "column": 51 + "line": 72, + "column": 12 } } }, @@ -46195,17 +48223,17 @@ "postfix": false, "binop": null }, - "value": "opposite", - "start": 1416, - "end": 1424, + "value": "_zeros", + "start": 1651, + "end": 1657, "loc": { "start": { - "line": 57, - "column": 51 + "line": 72, + "column": 13 }, "end": { - "line": 57, - "column": 59 + "line": 72, + "column": 19 } } }, @@ -46221,24 +48249,24 @@ "postfix": false, "binop": null }, - "start": 1424, - "end": 1425, + "start": 1657, + "end": 1658, "loc": { "start": { - "line": 57, - "column": 59 + "line": 72, + "column": 19 }, "end": { - "line": 57, - "column": 60 + "line": 72, + "column": 20 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -46246,22 +48274,23 @@ "postfix": false, "binop": null }, - "start": 1425, - "end": 1426, + "value": "Math", + "start": 1659, + "end": 1663, "loc": { "start": { - "line": 57, - "column": 60 + "line": 72, + "column": 21 }, "end": { - "line": 57, - "column": 61 + "line": 72, + "column": 25 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -46269,100 +48298,70 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "start": 1427, - "end": 1428, - "loc": { - "start": { - "line": 57, - "column": 62 - }, - "end": { - "line": 57, - "column": 63 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "start": 1429, - "end": 1430, + "start": 1663, + "end": 1664, "loc": { "start": { - "line": 57, - "column": 64 + "line": 72, + "column": 25 }, "end": { - "line": 57, - "column": 65 + "line": 72, + "column": 26 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "else", - "start": 1435, - "end": 1439, + "value": "max", + "start": 1664, + "end": 1667, "loc": { "start": { - "line": 59, - "column": 3 + "line": 72, + "column": 26 }, "end": { - "line": 59, - "column": 7 + "line": 72, + "column": 29 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 1440, - "end": 1446, + "start": 1667, + "end": 1668, "loc": { "start": { - "line": 59, - "column": 8 + "line": 72, + "column": 29 }, "end": { - "line": 59, - "column": 14 + "line": 72, + "column": 30 } } }, @@ -46378,17 +48377,17 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 1447, - "end": 1452, + "value": "a", + "start": 1669, + "end": 1670, "loc": { "start": { - "line": 59, - "column": 15 + "line": 72, + "column": 31 }, "end": { - "line": 59, - "column": 20 + "line": 72, + "column": 32 } } }, @@ -46405,16 +48404,16 @@ "binop": null, "updateContext": null }, - "start": 1452, - "end": 1453, + "start": 1670, + "end": 1671, "loc": { "start": { - "line": 59, - "column": 20 + "line": 72, + "column": 32 }, "end": { - "line": 59, - "column": 21 + "line": 72, + "column": 33 } } }, @@ -46430,49 +48429,49 @@ "postfix": false, "binop": null }, - "value": "sub", - "start": 1453, - "end": 1456, + "value": "length", + "start": 1671, + "end": 1677, "loc": { "start": { - "line": 59, - "column": 21 + "line": 72, + "column": 33 }, "end": { - "line": 59, - "column": 24 + "line": 72, + "column": 39 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1456, - "end": 1457, + "start": 1678, + "end": 1679, "loc": { "start": { - "line": 59, - "column": 24 + "line": 72, + "column": 40 }, "end": { - "line": 59, - "column": 25 + "line": 72, + "column": 41 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -46480,20 +48479,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1458, - "end": 1462, + "value": "b", + "start": 1680, + "end": 1681, "loc": { "start": { - "line": 59, - "column": 26 + "line": 72, + "column": 42 }, "end": { - "line": 59, - "column": 30 + "line": 72, + "column": 43 } } }, @@ -46510,16 +48508,16 @@ "binop": null, "updateContext": null }, - "start": 1462, - "end": 1463, + "start": 1681, + "end": 1682, "loc": { "start": { - "line": 59, - "column": 30 + "line": 72, + "column": 43 }, "end": { - "line": 59, - "column": 31 + "line": 72, + "column": 44 } } }, @@ -46535,25 +48533,25 @@ "postfix": false, "binop": null }, - "value": "opposite", - "start": 1463, - "end": 1471, + "value": "length", + "start": 1682, + "end": 1688, "loc": { "start": { - "line": 59, - "column": 31 + "line": 72, + "column": 44 }, "end": { - "line": 59, - "column": 39 + "line": 72, + "column": 50 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -46561,41 +48559,70 @@ "postfix": false, "binop": null }, - "start": 1471, - "end": 1472, + "start": 1689, + "end": 1690, "loc": { "start": { - "line": 59, - "column": 39 + "line": 72, + "column": 51 }, "end": { - "line": 59, - "column": 40 + "line": 72, + "column": 52 } } }, { "type": { - "label": ")", + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 1691, + "end": 1692, + "loc": { + "start": { + "line": 72, + "column": 53 + }, + "end": { + "line": 72, + "column": 54 + } + } + }, + { + "type": { + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1472, - "end": 1473, + "value": 1, + "start": 1693, + "end": 1694, "loc": { "start": { - "line": 59, - "column": 40 + "line": 72, + "column": 55 }, "end": { - "line": 59, - "column": 41 + "line": 72, + "column": 56 } } }, @@ -46611,16 +48638,16 @@ "postfix": false, "binop": null }, - "start": 1474, - "end": 1475, + "start": 1695, + "end": 1696, "loc": { "start": { - "line": 59, - "column": 42 + "line": 72, + "column": 57 }, "end": { - "line": 59, - "column": 43 + "line": 72, + "column": 58 } } }, @@ -46637,24 +48664,24 @@ "binop": null, "updateContext": null }, - "start": 1476, - "end": 1477, + "start": 1697, + "end": 1698, "loc": { "start": { - "line": 59, - "column": 44 + "line": 72, + "column": 59 }, "end": { - "line": 59, - "column": 45 + "line": 72, + "column": 60 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -46662,51 +48689,49 @@ "postfix": false, "binop": null }, - "start": 1481, - "end": 1482, + "value": "add", + "start": 1703, + "end": 1706, "loc": { "start": { - "line": 61, - "column": 2 + "line": 74, + "column": 3 }, "end": { - "line": 61, - "column": 3 + "line": 74, + "column": 6 } } }, { "type": { - "label": "else", - "keyword": "else", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "else", - "start": 1486, - "end": 1490, + "start": 1706, + "end": 1707, "loc": { "start": { - "line": 63, - "column": 2 + "line": 74, + "column": 6 }, "end": { - "line": 63, - "column": 6 + "line": 74, + "column": 7 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -46715,24 +48740,24 @@ "postfix": false, "binop": null }, - "start": 1491, - "end": 1492, + "value": "r", + "start": 1708, + "end": 1709, "loc": { "start": { - "line": 63, - "column": 7 + "line": 74, + "column": 8 }, "end": { - "line": 63, - "column": 8 + "line": 74, + "column": 9 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -46742,17 +48767,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 1497, - "end": 1502, + "start": 1710, + "end": 1711, "loc": { "start": { - "line": 65, - "column": 3 + "line": 74, + "column": 10 }, "end": { - "line": 65, - "column": 8 + "line": 74, + "column": 11 } } }, @@ -46768,51 +48792,49 @@ "postfix": false, "binop": null }, - "value": "result_is_negative", - "start": 1503, - "end": 1521, + "value": "a", + "start": 1712, + "end": 1713, "loc": { "start": { - "line": 65, - "column": 9 + "line": 74, + "column": 12 }, "end": { - "line": 65, - "column": 27 + "line": 74, + "column": 13 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1522, - "end": 1523, + "start": 1714, + "end": 1715, "loc": { "start": { - "line": 65, - "column": 28 + "line": 74, + "column": 14 }, "end": { - "line": 65, - "column": 29 + "line": 74, + "column": 15 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -46823,24 +48845,24 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 1524, - "end": 1528, + "value": 0, + "start": 1716, + "end": 1717, "loc": { "start": { - "line": 65, - "column": 30 + "line": 74, + "column": 16 }, "end": { - "line": 65, - "column": 34 + "line": 74, + "column": 17 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -46850,16 +48872,16 @@ "binop": null, "updateContext": null }, - "start": 1528, - "end": 1529, + "start": 1718, + "end": 1719, "loc": { "start": { - "line": 65, - "column": 34 + "line": 74, + "column": 18 }, "end": { - "line": 65, - "column": 35 + "line": 74, + "column": 19 } } }, @@ -46875,24 +48897,24 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 1529, - "end": 1540, + "value": "a", + "start": 1720, + "end": 1721, "loc": { "start": { - "line": 65, - "column": 35 + "line": 74, + "column": 20 }, "end": { - "line": 65, - "column": 46 + "line": 74, + "column": 21 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -46902,24 +48924,49 @@ "binop": null, "updateContext": null }, - "start": 1541, - "end": 1542, + "start": 1721, + "end": 1722, "loc": { "start": { - "line": 65, - "column": 47 + "line": 74, + "column": 21 }, "end": { - "line": 65, - "column": 48 + "line": 74, + "column": 22 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 1722, + "end": 1728, + "loc": { + "start": { + "line": 74, + "column": 22 + }, + "end": { + "line": 74, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -46929,17 +48976,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 1546, - "end": 1551, + "start": 1729, + "end": 1730, "loc": { "start": { - "line": 66, - "column": 3 + "line": 74, + "column": 29 }, "end": { - "line": 66, - "column": 8 + "line": 74, + "column": 30 } } }, @@ -46955,51 +49001,49 @@ "postfix": false, "binop": null }, - "value": "r", - "start": 1552, - "end": 1553, + "value": "b", + "start": 1731, + "end": 1732, "loc": { "start": { - "line": 66, - "column": 9 + "line": 74, + "column": 31 }, "end": { - "line": 66, - "column": 10 + "line": 74, + "column": 32 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1554, - "end": 1555, + "start": 1733, + "end": 1734, "loc": { "start": { - "line": 66, - "column": 11 + "line": 74, + "column": 33 }, "end": { - "line": 66, - "column": 12 + "line": 74, + "column": 34 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -47010,24 +49054,24 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 1556, - "end": 1560, + "value": 0, + "start": 1735, + "end": 1736, "loc": { "start": { - "line": 66, - "column": 13 + "line": 74, + "column": 35 }, "end": { - "line": 66, - "column": 17 + "line": 74, + "column": 36 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -47037,16 +49081,16 @@ "binop": null, "updateContext": null }, - "start": 1560, - "end": 1561, + "start": 1737, + "end": 1738, "loc": { "start": { - "line": 66, - "column": 17 + "line": 74, + "column": 37 }, "end": { - "line": 66, - "column": 18 + "line": 74, + "column": 38 } } }, @@ -47062,24 +49106,24 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 1561, - "end": 1565, + "value": "b", + "start": 1739, + "end": 1740, "loc": { "start": { - "line": 66, - "column": 18 + "line": 74, + "column": 39 }, "end": { - "line": 66, - "column": 22 + "line": 74, + "column": 40 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -47089,24 +49133,49 @@ "binop": null, "updateContext": null }, - "start": 1566, - "end": 1567, + "start": 1740, + "end": 1741, "loc": { "start": { - "line": 66, - "column": 23 + "line": 74, + "column": 40 }, "end": { - "line": 66, - "column": 24 + "line": 74, + "column": 41 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 1741, + "end": 1747, + "loc": { + "start": { + "line": 74, + "column": 41 + }, + "end": { + "line": 74, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -47116,17 +49185,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 1572, - "end": 1577, + "start": 1748, + "end": 1749, "loc": { "start": { - "line": 68, - "column": 3 + "line": 74, + "column": 48 }, "end": { - "line": 68, - "column": 8 + "line": 74, + "column": 49 } } }, @@ -47142,51 +49210,49 @@ "postfix": false, "binop": null }, - "value": "a", - "start": 1578, - "end": 1579, + "value": "c", + "start": 1750, + "end": 1751, "loc": { "start": { - "line": 68, - "column": 9 + "line": 74, + "column": 50 }, "end": { - "line": 68, - "column": 10 + "line": 74, + "column": 51 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1580, - "end": 1581, + "start": 1752, + "end": 1753, "loc": { "start": { - "line": 68, - "column": 11 + "line": 74, + "column": 52 }, "end": { - "line": 68, - "column": 12 + "line": 74, + "column": 53 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -47197,24 +49263,24 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 1582, - "end": 1586, + "value": 0, + "start": 1754, + "end": 1755, "loc": { "start": { - "line": 68, - "column": 13 + "line": 74, + "column": 54 }, "end": { - "line": 68, - "column": 17 + "line": 74, + "column": 55 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -47224,16 +49290,16 @@ "binop": null, "updateContext": null }, - "start": 1586, - "end": 1587, + "start": 1756, + "end": 1757, "loc": { "start": { - "line": 68, - "column": 17 + "line": 74, + "column": 56 }, "end": { - "line": 68, - "column": 18 + "line": 74, + "column": 57 } } }, @@ -47249,24 +49315,24 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 1587, - "end": 1592, + "value": "c", + "start": 1758, + "end": 1759, "loc": { "start": { - "line": 68, - "column": 18 + "line": 74, + "column": 58 }, "end": { - "line": 68, - "column": 23 + "line": 74, + "column": 59 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -47276,52 +49342,50 @@ "binop": null, "updateContext": null }, - "start": 1593, - "end": 1594, + "start": 1759, + "end": 1760, "loc": { "start": { - "line": 68, - "column": 24 + "line": 74, + "column": 59 }, "end": { - "line": 68, - "column": 25 + "line": 74, + "column": 60 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 1599, - "end": 1604, + "value": "length", + "start": 1760, + "end": 1766, "loc": { "start": { - "line": 70, - "column": 3 + "line": 74, + "column": 60 }, "end": { - "line": 70, - "column": 8 + "line": 74, + "column": 66 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47329,78 +49393,79 @@ "postfix": false, "binop": null }, - "value": "b", - "start": 1605, - "end": 1606, + "start": 1767, + "end": 1768, "loc": { "start": { - "line": 70, - "column": 9 + "line": 74, + "column": 67 }, "end": { - "line": 70, - "column": 10 + "line": 74, + "column": 68 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1607, - "end": 1608, + "start": 1769, + "end": 1770, "loc": { "start": { - "line": 70, - "column": 11 + "line": 74, + "column": 69 }, "end": { - "line": 70, - "column": 12 + "line": 74, + "column": 70 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "other", - "start": 1609, - "end": 1614, + "value": "return", + "start": 1775, + "end": 1781, "loc": { "start": { - "line": 70, - "column": 13 + "line": 76, + "column": 3 }, "end": { - "line": 70, - "column": 18 + "line": 76, + "column": 9 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47409,16 +49474,17 @@ "binop": null, "updateContext": null }, - "start": 1614, - "end": 1615, + "value": "new", + "start": 1782, + "end": 1785, "loc": { "start": { - "line": 70, - "column": 18 + "line": 76, + "column": 10 }, "end": { - "line": 70, - "column": 19 + "line": 76, + "column": 13 } } }, @@ -47434,17 +49500,17 @@ "postfix": false, "binop": null }, - "value": "_limbs_in_base", - "start": 1615, - "end": 1629, + "value": "Integer", + "start": 1786, + "end": 1793, "loc": { "start": { - "line": 70, - "column": 19 + "line": 76, + "column": 14 }, "end": { - "line": 70, - "column": 33 + "line": 76, + "column": 21 } } }, @@ -47460,16 +49526,16 @@ "postfix": false, "binop": null }, - "start": 1629, - "end": 1630, + "start": 1793, + "end": 1794, "loc": { "start": { - "line": 70, - "column": 33 + "line": 76, + "column": 21 }, "end": { - "line": 70, - "column": 34 + "line": 76, + "column": 22 } } }, @@ -47486,75 +49552,75 @@ "binop": null }, "value": "r", - "start": 1631, - "end": 1632, + "start": 1795, + "end": 1796, "loc": { "start": { - "line": 70, - "column": 35 + "line": 76, + "column": 23 }, "end": { - "line": 70, - "column": 36 + "line": 76, + "column": 24 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1633, - "end": 1634, + "start": 1797, + "end": 1798, "loc": { "start": { - "line": 70, - "column": 37 + "line": 76, + "column": 25 }, "end": { - "line": 70, - "column": 38 + "line": 76, + "column": 26 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1635, - "end": 1636, + "value": "result_is_negative", + "start": 1799, + "end": 1817, "loc": { "start": { - "line": 70, - "column": 39 + "line": 76, + "column": 27 }, "end": { - "line": 70, - "column": 40 + "line": 76, + "column": 45 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -47564,17 +49630,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 1641, - "end": 1646, + "start": 1818, + "end": 1819, "loc": { "start": { - "line": 72, - "column": 3 + "line": 76, + "column": 46 }, "end": { - "line": 72, - "column": 8 + "line": 76, + "column": 47 } } }, @@ -47591,51 +49656,24 @@ "binop": null }, "value": "c", - "start": 1647, - "end": 1648, - "loc": { - "start": { - "line": 72, - "column": 9 - }, - "end": { - "line": 72, - "column": 10 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1649, - "end": 1650, + "start": 1820, + "end": 1821, "loc": { "start": { - "line": 72, - "column": 11 + "line": 76, + "column": 48 }, "end": { - "line": 72, - "column": 12 + "line": 76, + "column": 49 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47643,50 +49681,50 @@ "postfix": false, "binop": null }, - "value": "_zeros", - "start": 1651, - "end": 1657, + "start": 1822, + "end": 1823, "loc": { "start": { - "line": 72, - "column": 13 + "line": 76, + "column": 50 }, "end": { - "line": 72, - "column": 19 + "line": 76, + "column": 51 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1657, - "end": 1658, + "start": 1824, + "end": 1825, "loc": { "start": { - "line": 72, - "column": 19 + "line": 76, + "column": 52 }, "end": { - "line": 72, - "column": 20 + "line": 76, + "column": 53 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47694,23 +49732,22 @@ "postfix": false, "binop": null }, - "value": "Math", - "start": 1659, - "end": 1663, + "start": 1829, + "end": 1830, "loc": { "start": { - "line": 72, - "column": 21 + "line": 78, + "column": 2 }, "end": { - "line": 72, - "column": 25 + "line": 78, + "column": 3 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -47718,19 +49755,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1663, - "end": 1664, + "start": 1833, + "end": 1834, "loc": { "start": { - "line": 72, - "column": 25 + "line": 80, + "column": 1 }, "end": { - "line": 72, - "column": 26 + "line": 80, + "column": 2 } } }, @@ -47746,17 +49782,17 @@ "postfix": false, "binop": null }, - "value": "max", - "start": 1664, - "end": 1667, + "value": "iadd", + "start": 1837, + "end": 1841, "loc": { "start": { - "line": 72, - "column": 26 + "line": 82, + "column": 1 }, "end": { - "line": 72, - "column": 29 + "line": 82, + "column": 5 } } }, @@ -47772,16 +49808,16 @@ "postfix": false, "binop": null }, - "start": 1667, - "end": 1668, + "start": 1842, + "end": 1843, "loc": { "start": { - "line": 72, - "column": 29 + "line": 82, + "column": 6 }, "end": { - "line": 72, - "column": 30 + "line": 82, + "column": 7 } } }, @@ -47797,23 +49833,23 @@ "postfix": false, "binop": null }, - "value": "a", - "start": 1669, - "end": 1670, + "value": "other", + "start": 1844, + "end": 1849, "loc": { "start": { - "line": 72, - "column": 31 + "line": 82, + "column": 8 }, "end": { - "line": 72, - "column": 32 + "line": 82, + "column": 13 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -47821,26 +49857,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1670, - "end": 1671, + "start": 1850, + "end": 1851, "loc": { "start": { - "line": 72, - "column": 32 + "line": 82, + "column": 14 }, "end": { - "line": 72, - "column": 33 + "line": 82, + "column": 15 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -47849,23 +49884,39 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 1671, - "end": 1677, + "start": 1852, + "end": 1853, "loc": { "start": { - "line": 72, - "column": 33 + "line": 82, + "column": 16 }, "end": { - "line": 72, - "column": 39 + "line": 82, + "column": 17 + } + } + }, + { + "type": "CommentLine", + "value": " TODO optimize but be careful with side effects", + "start": 1856, + "end": 1905, + "loc": { + "start": { + "line": 83, + "column": 2 + }, + "end": { + "line": 83, + "column": 51 } } }, { "type": { - "label": ",", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -47876,22 +49927,24 @@ "binop": null, "updateContext": null }, - "start": 1678, - "end": 1679, + "value": "return", + "start": 1908, + "end": 1914, "loc": { "start": { - "line": 72, - "column": 40 + "line": 84, + "column": 2 }, "end": { - "line": 72, - "column": 41 + "line": 84, + "column": 8 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -47899,19 +49952,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "b", - "start": 1680, - "end": 1681, + "value": "this", + "start": 1915, + "end": 1919, "loc": { "start": { - "line": 72, - "column": 42 + "line": 84, + "column": 9 }, "end": { - "line": 72, - "column": 43 + "line": 84, + "column": 13 } } }, @@ -47928,16 +49982,16 @@ "binop": null, "updateContext": null }, - "start": 1681, - "end": 1682, + "start": 1919, + "end": 1920, "loc": { "start": { - "line": 72, - "column": 43 + "line": 84, + "column": 13 }, "end": { - "line": 72, - "column": 44 + "line": 84, + "column": 14 } } }, @@ -47953,75 +50007,48 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 1682, - "end": 1688, - "loc": { - "start": { - "line": 72, - "column": 44 - }, - "end": { - "line": 72, - "column": 50 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1689, - "end": 1690, + "value": "add", + "start": 1920, + "end": 1923, "loc": { "start": { - "line": 72, - "column": 51 + "line": 84, + "column": 14 }, "end": { - "line": 72, - "column": 52 + "line": 84, + "column": 17 } } }, { "type": { - "label": "+/-", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, - "updateContext": null + "binop": null }, - "value": "+", - "start": 1691, - "end": 1692, + "start": 1923, + "end": 1924, "loc": { "start": { - "line": 72, - "column": 53 + "line": 84, + "column": 17 }, "end": { - "line": 72, - "column": 54 + "line": 84, + "column": 18 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -48029,20 +50056,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 1, - "start": 1693, - "end": 1694, + "value": "other", + "start": 1924, + "end": 1929, "loc": { "start": { - "line": 72, - "column": 55 + "line": 84, + "column": 18 }, "end": { - "line": 72, - "column": 56 + "line": 84, + "column": 23 } } }, @@ -48058,23 +50084,23 @@ "postfix": false, "binop": null }, - "start": 1695, - "end": 1696, + "start": 1929, + "end": 1930, "loc": { "start": { - "line": 72, - "column": 57 + "line": 84, + "column": 23 }, "end": { - "line": 72, - "column": 58 + "line": 84, + "column": 24 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -48084,16 +50110,16 @@ "binop": null, "updateContext": null }, - "start": 1697, - "end": 1698, + "start": 1930, + "end": 1931, "loc": { "start": { - "line": 72, - "column": 59 + "line": 84, + "column": 24 }, "end": { - "line": 72, - "column": 60 + "line": 84, + "column": 25 } } }, @@ -48109,17 +50135,17 @@ "postfix": false, "binop": null }, - "value": "add", - "start": 1703, - "end": 1706, + "value": "move", + "start": 1931, + "end": 1935, "loc": { "start": { - "line": 74, - "column": 3 + "line": 84, + "column": 25 }, "end": { - "line": 74, - "column": 6 + "line": 84, + "column": 29 } } }, @@ -48135,22 +50161,23 @@ "postfix": false, "binop": null }, - "start": 1706, - "end": 1707, + "start": 1935, + "end": 1936, "loc": { "start": { - "line": 74, - "column": 6 + "line": 84, + "column": 29 }, "end": { - "line": 74, - "column": 7 + "line": 84, + "column": 30 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -48158,103 +50185,102 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "r", - "start": 1708, - "end": 1709, + "value": "this", + "start": 1936, + "end": 1940, "loc": { "start": { - "line": 74, - "column": 8 + "line": 84, + "column": 30 }, "end": { - "line": 74, - "column": 9 + "line": 84, + "column": 34 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1710, - "end": 1711, + "start": 1940, + "end": 1941, "loc": { "start": { - "line": 74, - "column": 10 + "line": 84, + "column": 34 }, "end": { - "line": 74, - "column": 11 + "line": 84, + "column": 35 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "a", - "start": 1712, - "end": 1713, + "start": 1941, + "end": 1942, "loc": { "start": { - "line": 74, - "column": 12 + "line": 84, + "column": 35 }, "end": { - "line": 74, - "column": 13 + "line": 84, + "column": 36 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1714, - "end": 1715, + "start": 1944, + "end": 1945, "loc": { "start": { - "line": 74, - "column": 14 + "line": 85, + "column": 1 }, "end": { - "line": 74, - "column": 15 + "line": 85, + "column": 2 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -48262,46 +50288,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 1716, - "end": 1717, + "value": "addn", + "start": 1948, + "end": 1952, "loc": { "start": { - "line": 74, - "column": 16 + "line": 87, + "column": 1 }, "end": { - "line": 74, - "column": 17 + "line": 87, + "column": 5 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1718, - "end": 1719, + "start": 1953, + "end": 1954, "loc": { "start": { - "line": 74, - "column": 18 + "line": 87, + "column": 6 }, "end": { - "line": 74, - "column": 19 + "line": 87, + "column": 7 } } }, @@ -48317,23 +50341,23 @@ "postfix": false, "binop": null }, - "value": "a", - "start": 1720, - "end": 1721, + "value": "number", + "start": 1955, + "end": 1961, "loc": { "start": { - "line": 74, - "column": 20 + "line": 87, + "column": 8 }, "end": { - "line": 74, - "column": 21 + "line": 87, + "column": 14 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -48341,26 +50365,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1721, - "end": 1722, + "start": 1962, + "end": 1963, "loc": { "start": { - "line": 74, - "column": 21 + "line": 87, + "column": 15 }, "end": { - "line": 74, - "column": 22 + "line": 87, + "column": 16 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -48369,23 +50392,39 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 1722, - "end": 1728, + "start": 1964, + "end": 1965, "loc": { "start": { - "line": 74, - "column": 22 + "line": 87, + "column": 17 }, "end": { - "line": 74, - "column": 28 + "line": 87, + "column": 18 + } + } + }, + { + "type": "CommentLine", + "value": " TODO optimize", + "start": 1968, + "end": 1984, + "loc": { + "start": { + "line": 88, + "column": 2 + }, + "end": { + "line": 88, + "column": 18 } } }, { "type": { - "label": ",", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -48396,22 +50435,24 @@ "binop": null, "updateContext": null }, - "start": 1729, - "end": 1730, + "value": "return", + "start": 1987, + "end": 1993, "loc": { "start": { - "line": 74, - "column": 29 + "line": 89, + "column": 2 }, "end": { - "line": 74, - "column": 30 + "line": 89, + "column": 8 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -48419,26 +50460,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "b", - "start": 1731, - "end": 1732, + "value": "this", + "start": 1994, + "end": 1998, "loc": { "start": { - "line": 74, - "column": 31 + "line": 89, + "column": 9 }, "end": { - "line": 74, - "column": 32 + "line": 89, + "column": 13 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -48448,22 +50490,22 @@ "binop": null, "updateContext": null }, - "start": 1733, - "end": 1734, + "start": 1998, + "end": 1999, "loc": { "start": { - "line": 74, - "column": 33 + "line": 89, + "column": 13 }, "end": { - "line": 74, - "column": 34 + "line": 89, + "column": 14 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -48471,46 +50513,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 1735, - "end": 1736, + "value": "add", + "start": 1999, + "end": 2002, "loc": { "start": { - "line": 74, - "column": 35 + "line": 89, + "column": 14 }, "end": { - "line": 74, - "column": 36 + "line": 89, + "column": 17 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1737, - "end": 1738, + "start": 2002, + "end": 2003, "loc": { "start": { - "line": 74, - "column": 37 + "line": 89, + "column": 17 }, "end": { - "line": 74, - "column": 38 + "line": 89, + "column": 18 } } }, @@ -48526,43 +50566,42 @@ "postfix": false, "binop": null }, - "value": "b", - "start": 1739, - "end": 1740, + "value": "_from_number", + "start": 2003, + "end": 2015, "loc": { "start": { - "line": 74, - "column": 39 + "line": 89, + "column": 18 }, "end": { - "line": 74, - "column": 40 + "line": 89, + "column": 30 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1740, - "end": 1741, + "start": 2015, + "end": 2016, "loc": { "start": { - "line": 74, - "column": 40 + "line": 89, + "column": 30 }, "end": { - "line": 74, - "column": 41 + "line": 89, + "column": 31 } } }, @@ -48578,51 +50617,50 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 1741, - "end": 1747, + "value": "number", + "start": 2016, + "end": 2022, "loc": { "start": { - "line": 74, - "column": 41 + "line": 89, + "column": 31 }, "end": { - "line": 74, - "column": 47 + "line": 89, + "column": 37 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1748, - "end": 1749, + "start": 2022, + "end": 2023, "loc": { "start": { - "line": 74, - "column": 48 + "line": 89, + "column": 37 }, "end": { - "line": 74, - "column": 49 + "line": 89, + "column": 38 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -48630,23 +50668,22 @@ "postfix": false, "binop": null }, - "value": "c", - "start": 1750, - "end": 1751, + "start": 2023, + "end": 2024, "loc": { "start": { - "line": 74, - "column": 50 + "line": 89, + "column": 38 }, "end": { - "line": 74, - "column": 51 + "line": 89, + "column": 39 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -48657,76 +50694,74 @@ "binop": null, "updateContext": null }, - "start": 1752, - "end": 1753, + "start": 2025, + "end": 2026, "loc": { "start": { - "line": 74, - "column": 52 + "line": 89, + "column": 40 }, "end": { - "line": 74, - "column": 53 + "line": 89, + "column": 41 } } }, { "type": { - "label": "num", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 1754, - "end": 1755, + "start": 2028, + "end": 2029, "loc": { "start": { - "line": 74, - "column": 54 + "line": 90, + "column": 1 }, "end": { - "line": 74, - "column": 55 + "line": 90, + "column": 2 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1756, - "end": 1757, + "value": "iaddn", + "start": 2032, + "end": 2037, "loc": { "start": { - "line": 74, - "column": 56 + "line": 92, + "column": 1 }, "end": { - "line": 74, - "column": 57 + "line": 92, + "column": 6 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -48735,51 +50770,50 @@ "postfix": false, "binop": null }, - "value": "c", - "start": 1758, - "end": 1759, + "start": 2038, + "end": 2039, "loc": { "start": { - "line": 74, - "column": 58 + "line": 92, + "column": 7 }, "end": { - "line": 74, - "column": 59 + "line": 92, + "column": 8 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1759, - "end": 1760, + "value": "number", + "start": 2040, + "end": 2046, "loc": { "start": { - "line": 74, - "column": 59 + "line": 92, + "column": 9 }, "end": { - "line": 74, - "column": 60 + "line": 92, + "column": 15 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -48787,25 +50821,24 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 1760, - "end": 1766, + "start": 2047, + "end": 2048, "loc": { "start": { - "line": 74, - "column": 60 + "line": 92, + "column": 16 }, "end": { - "line": 74, - "column": 66 + "line": 92, + "column": 17 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -48813,22 +50846,39 @@ "postfix": false, "binop": null }, - "start": 1767, - "end": 1768, + "start": 2049, + "end": 2050, + "loc": { + "start": { + "line": 92, + "column": 18 + }, + "end": { + "line": 92, + "column": 19 + } + } + }, + { + "type": "CommentLine", + "value": " TODO optimize but be careful with side effects", + "start": 2053, + "end": 2102, "loc": { "start": { - "line": 74, - "column": 67 + "line": 93, + "column": 2 }, "end": { - "line": 74, - "column": 68 + "line": 93, + "column": 51 } } }, { "type": { - "label": ";", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -48839,25 +50889,26 @@ "binop": null, "updateContext": null }, - "start": 1769, - "end": 1770, + "value": "return", + "start": 2105, + "end": 2111, "loc": { "start": { - "line": 74, - "column": 69 + "line": 94, + "column": 2 }, "end": { - "line": 74, - "column": 70 + "line": 94, + "column": 8 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -48866,26 +50917,25 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 1775, - "end": 1781, + "value": "this", + "start": 2112, + "end": 2116, "loc": { "start": { - "line": 76, - "column": 3 + "line": 94, + "column": 9 }, "end": { - "line": 76, - "column": 9 + "line": 94, + "column": 13 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -48894,17 +50944,16 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 1782, - "end": 1785, + "start": 2116, + "end": 2117, "loc": { "start": { - "line": 76, - "column": 10 + "line": 94, + "column": 13 }, "end": { - "line": 76, - "column": 13 + "line": 94, + "column": 14 } } }, @@ -48920,17 +50969,17 @@ "postfix": false, "binop": null }, - "value": "Integer", - "start": 1786, - "end": 1793, + "value": "addn", + "start": 2117, + "end": 2121, "loc": { "start": { - "line": 76, + "line": 94, "column": 14 }, "end": { - "line": 76, - "column": 21 + "line": 94, + "column": 18 } } }, @@ -48946,16 +50995,16 @@ "postfix": false, "binop": null }, - "start": 1793, - "end": 1794, + "start": 2121, + "end": 2122, "loc": { "start": { - "line": 76, - "column": 21 + "line": 94, + "column": 18 }, "end": { - "line": 76, - "column": 22 + "line": 94, + "column": 19 } } }, @@ -48971,102 +51020,101 @@ "postfix": false, "binop": null }, - "value": "r", - "start": 1795, - "end": 1796, + "value": "number", + "start": 2122, + "end": 2128, "loc": { "start": { - "line": 76, - "column": 23 + "line": 94, + "column": 19 }, "end": { - "line": 76, - "column": 24 + "line": 94, + "column": 25 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1797, - "end": 1798, + "start": 2128, + "end": 2129, "loc": { "start": { - "line": 76, + "line": 94, "column": 25 }, "end": { - "line": 76, + "line": 94, "column": 26 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "result_is_negative", - "start": 1799, - "end": 1817, + "start": 2129, + "end": 2130, "loc": { "start": { - "line": 76, - "column": 27 + "line": 94, + "column": 26 }, "end": { - "line": 76, - "column": 45 + "line": 94, + "column": 27 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1818, - "end": 1819, + "value": "move", + "start": 2130, + "end": 2134, "loc": { "start": { - "line": 76, - "column": 46 + "line": 94, + "column": 27 }, "end": { - "line": 76, - "column": 47 + "line": 94, + "column": 31 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -49075,93 +51123,95 @@ "postfix": false, "binop": null }, - "value": "c", - "start": 1820, - "end": 1821, + "start": 2134, + "end": 2135, "loc": { "start": { - "line": 76, - "column": 48 + "line": 94, + "column": 31 }, "end": { - "line": 76, - "column": 49 + "line": 94, + "column": 32 } } }, { "type": { - "label": ")", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1822, - "end": 1823, + "value": "this", + "start": 2135, + "end": 2139, "loc": { "start": { - "line": 76, - "column": 50 + "line": 94, + "column": 32 }, "end": { - "line": 76, - "column": 51 + "line": 94, + "column": 36 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1824, - "end": 1825, + "start": 2139, + "end": 2140, "loc": { "start": { - "line": 76, - "column": 52 + "line": 94, + "column": 36 }, "end": { - "line": 76, - "column": 53 + "line": 94, + "column": 37 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1829, - "end": 1830, + "start": 2140, + "end": 2141, "loc": { "start": { - "line": 78, - "column": 2 + "line": 94, + "column": 37 }, "end": { - "line": 78, - "column": 3 + "line": 94, + "column": 38 } } }, @@ -49177,15 +51227,15 @@ "postfix": false, "binop": null }, - "start": 1833, - "end": 1834, + "start": 2143, + "end": 2144, "loc": { "start": { - "line": 80, + "line": 95, "column": 1 }, "end": { - "line": 80, + "line": 95, "column": 2 } } @@ -49202,17 +51252,17 @@ "postfix": false, "binop": null }, - "value": "iadd", - "start": 1837, - "end": 1841, + "value": "sub", + "start": 2147, + "end": 2150, "loc": { "start": { - "line": 82, + "line": 97, "column": 1 }, "end": { - "line": 82, - "column": 5 + "line": 97, + "column": 4 } } }, @@ -49228,16 +51278,16 @@ "postfix": false, "binop": null }, - "start": 1842, - "end": 1843, + "start": 2151, + "end": 2152, "loc": { "start": { - "line": 82, - "column": 6 + "line": 97, + "column": 5 }, "end": { - "line": 82, - "column": 7 + "line": 97, + "column": 6 } } }, @@ -49254,16 +51304,16 @@ "binop": null }, "value": "other", - "start": 1844, - "end": 1849, + "start": 2153, + "end": 2158, "loc": { "start": { - "line": 82, - "column": 8 + "line": 97, + "column": 7 }, "end": { - "line": 82, - "column": 13 + "line": 97, + "column": 12 } } }, @@ -49279,16 +51329,16 @@ "postfix": false, "binop": null }, - "start": 1850, - "end": 1851, + "start": 2159, + "end": 2160, "loc": { "start": { - "line": 82, - "column": 14 + "line": 97, + "column": 13 }, "end": { - "line": 82, - "column": 15 + "line": 97, + "column": 14 } } }, @@ -49304,40 +51354,24 @@ "postfix": false, "binop": null }, - "start": 1852, - "end": 1853, - "loc": { - "start": { - "line": 82, - "column": 16 - }, - "end": { - "line": 82, - "column": 17 - } - } - }, - { - "type": "CommentLine", - "value": " TODO optimize but be careful with side effects", - "start": 1856, - "end": 1905, + "start": 2161, + "end": 2162, "loc": { "start": { - "line": 83, - "column": 2 + "line": 97, + "column": 15 }, "end": { - "line": 83, - "column": 51 + "line": 97, + "column": 16 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -49347,53 +51381,51 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 1908, - "end": 1914, + "value": "if", + "start": 2166, + "end": 2168, "loc": { "start": { - "line": 84, + "line": 99, "column": 2 }, "end": { - "line": 84, - "column": 8 + "line": 99, + "column": 4 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1915, - "end": 1919, + "start": 2169, + "end": 2170, "loc": { "start": { - "line": 84, - "column": 9 + "line": 99, + "column": 5 }, "end": { - "line": 84, - "column": 13 + "line": 99, + "column": 6 } } }, { "type": { - "label": ".", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -49402,67 +51434,43 @@ "binop": null, "updateContext": null }, - "start": 1919, - "end": 1920, + "value": "this", + "start": 2171, + "end": 2175, "loc": { "start": { - "line": 84, - "column": 13 + "line": 99, + "column": 7 }, "end": { - "line": 84, - "column": 14 + "line": 99, + "column": 11 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add", - "start": 1920, - "end": 1923, - "loc": { - "start": { - "line": 84, - "column": 14 - }, - "end": { - "line": 84, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1923, - "end": 1924, + "start": 2175, + "end": 2176, "loc": { "start": { - "line": 84, - "column": 17 + "line": 99, + "column": 11 }, "end": { - "line": 84, - "column": 18 + "line": 99, + "column": 12 } } }, @@ -49478,68 +51486,44 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 1924, - "end": 1929, + "value": "is_negative", + "start": 2176, + "end": 2187, "loc": { "start": { - "line": 84, - "column": 18 + "line": 99, + "column": 12 }, "end": { - "line": 84, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1929, - "end": 1930, - "loc": { - "start": { - "line": 84, + "line": 99, "column": 23 - }, - "end": { - "line": 84, - "column": 24 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "==/!=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 1930, - "end": 1931, + "value": "!==", + "start": 2188, + "end": 2191, "loc": { "start": { - "line": 84, + "line": 99, "column": 24 }, "end": { - "line": 84, - "column": 25 + "line": 99, + "column": 27 } } }, @@ -49555,51 +51539,25 @@ "postfix": false, "binop": null }, - "value": "move", - "start": 1931, - "end": 1935, - "loc": { - "start": { - "line": 84, - "column": 25 - }, - "end": { - "line": 84, - "column": 29 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1935, - "end": 1936, + "value": "other", + "start": 2192, + "end": 2197, "loc": { "start": { - "line": 84, - "column": 29 + "line": 99, + "column": 28 }, "end": { - "line": 84, - "column": 30 + "line": 99, + "column": 33 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -49608,25 +51566,24 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 1936, - "end": 1940, + "start": 2197, + "end": 2198, "loc": { "start": { - "line": 84, - "column": 30 + "line": 99, + "column": 33 }, "end": { - "line": 84, + "line": 99, "column": 34 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -49634,50 +51591,50 @@ "postfix": false, "binop": null }, - "start": 1940, - "end": 1941, + "value": "is_negative", + "start": 2198, + "end": 2209, "loc": { "start": { - "line": 84, + "line": 99, "column": 34 }, "end": { - "line": 84, - "column": 35 + "line": 99, + "column": 45 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1941, - "end": 1942, + "start": 2210, + "end": 2211, "loc": { "start": { - "line": 84, - "column": 35 + "line": 99, + "column": 46 }, "end": { - "line": 84, - "column": 36 + "line": 99, + "column": 47 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -49685,41 +51642,43 @@ "postfix": false, "binop": null }, - "start": 1944, - "end": 1945, + "start": 2212, + "end": 2213, "loc": { "start": { - "line": 85, - "column": 1 + "line": 99, + "column": 48 }, "end": { - "line": 85, - "column": 2 + "line": 99, + "column": 49 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "addn", - "start": 1948, - "end": 1952, + "value": "if", + "start": 2218, + "end": 2220, "loc": { "start": { - "line": 87, - "column": 1 + "line": 101, + "column": 3 }, "end": { - "line": 87, + "line": 101, "column": 5 } } @@ -49736,15 +51695,15 @@ "postfix": false, "binop": null }, - "start": 1953, - "end": 1954, + "start": 2221, + "end": 2222, "loc": { "start": { - "line": 87, + "line": 101, "column": 6 }, "end": { - "line": 87, + "line": 101, "column": 7 } } @@ -49761,23 +51720,23 @@ "postfix": false, "binop": null }, - "value": "number", - "start": 1955, - "end": 1961, + "value": "other", + "start": 2223, + "end": 2228, "loc": { "start": { - "line": 87, + "line": 101, "column": 8 }, "end": { - "line": 87, - "column": 14 + "line": 101, + "column": 13 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -49785,25 +51744,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1962, - "end": 1963, + "start": 2228, + "end": 2229, "loc": { "start": { - "line": 87, - "column": 15 + "line": 101, + "column": 13 }, "end": { - "line": 87, - "column": 16 + "line": 101, + "column": 14 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -49812,32 +51772,42 @@ "postfix": false, "binop": null }, - "start": 1964, - "end": 1965, + "value": "is_negative", + "start": 2229, + "end": 2240, "loc": { "start": { - "line": 87, - "column": 17 + "line": 101, + "column": 14 }, "end": { - "line": 87, - "column": 18 + "line": 101, + "column": 25 } } }, { - "type": "CommentLine", - "value": " TODO optimize", - "start": 1968, - "end": 1984, + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2241, + "end": 2242, "loc": { "start": { - "line": 88, - "column": 2 + "line": 101, + "column": 26 }, "end": { - "line": 88, - "column": 18 + "line": 101, + "column": 27 } } }, @@ -49856,16 +51826,16 @@ "updateContext": null }, "value": "return", - "start": 1987, - "end": 1993, + "start": 2243, + "end": 2249, "loc": { "start": { - "line": 89, - "column": 2 + "line": 101, + "column": 28 }, "end": { - "line": 89, - "column": 8 + "line": 101, + "column": 34 } } }, @@ -49884,16 +51854,16 @@ "updateContext": null }, "value": "this", - "start": 1994, - "end": 1998, + "start": 2250, + "end": 2254, "loc": { "start": { - "line": 89, - "column": 9 + "line": 101, + "column": 35 }, "end": { - "line": 89, - "column": 13 + "line": 101, + "column": 39 } } }, @@ -49910,16 +51880,16 @@ "binop": null, "updateContext": null }, - "start": 1998, - "end": 1999, + "start": 2254, + "end": 2255, "loc": { "start": { - "line": 89, - "column": 13 + "line": 101, + "column": 39 }, "end": { - "line": 89, - "column": 14 + "line": 101, + "column": 40 } } }, @@ -49936,16 +51906,16 @@ "binop": null }, "value": "add", - "start": 1999, - "end": 2002, + "start": 2255, + "end": 2258, "loc": { "start": { - "line": 89, - "column": 14 + "line": 101, + "column": 40 }, "end": { - "line": 89, - "column": 17 + "line": 101, + "column": 43 } } }, @@ -49961,16 +51931,16 @@ "postfix": false, "binop": null }, - "start": 2002, - "end": 2003, + "start": 2258, + "end": 2259, "loc": { "start": { - "line": 89, - "column": 17 + "line": 101, + "column": 43 }, "end": { - "line": 89, - "column": 18 + "line": 101, + "column": 44 } } }, @@ -49986,42 +51956,43 @@ "postfix": false, "binop": null }, - "value": "_from_number", - "start": 2003, - "end": 2015, + "value": "other", + "start": 2260, + "end": 2265, "loc": { "start": { - "line": 89, - "column": 18 + "line": 101, + "column": 45 }, "end": { - "line": 89, - "column": 30 + "line": 101, + "column": 50 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2015, - "end": 2016, + "start": 2265, + "end": 2266, "loc": { "start": { - "line": 89, - "column": 30 + "line": 101, + "column": 50 }, "end": { - "line": 89, - "column": 31 + "line": 101, + "column": 51 } } }, @@ -50037,25 +52008,25 @@ "postfix": false, "binop": null }, - "value": "number", - "start": 2016, - "end": 2022, + "value": "opposite", + "start": 2266, + "end": 2274, "loc": { "start": { - "line": 89, - "column": 31 + "line": 101, + "column": 51 }, "end": { - "line": 89, - "column": 37 + "line": 101, + "column": 59 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -50063,16 +52034,16 @@ "postfix": false, "binop": null }, - "start": 2022, - "end": 2023, + "start": 2274, + "end": 2275, "loc": { "start": { - "line": 89, - "column": 37 + "line": 101, + "column": 59 }, "end": { - "line": 89, - "column": 38 + "line": 101, + "column": 60 } } }, @@ -50088,124 +52059,130 @@ "postfix": false, "binop": null }, - "start": 2023, - "end": 2024, + "start": 2275, + "end": 2276, "loc": { "start": { - "line": 89, - "column": 38 + "line": 101, + "column": 60 }, "end": { - "line": 89, - "column": 39 + "line": 101, + "column": 61 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2025, - "end": 2026, + "start": 2277, + "end": 2278, "loc": { "start": { - "line": 89, - "column": 40 + "line": 101, + "column": 62 }, "end": { - "line": 89, - "column": 41 + "line": 101, + "column": 63 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2028, - "end": 2029, + "start": 2279, + "end": 2280, "loc": { "start": { - "line": 90, - "column": 1 + "line": 101, + "column": 64 }, "end": { - "line": 90, - "column": 2 + "line": 101, + "column": 65 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "iaddn", - "start": 2032, - "end": 2037, + "value": "else", + "start": 2285, + "end": 2289, "loc": { "start": { - "line": 92, - "column": 1 + "line": 103, + "column": 3 }, "end": { - "line": 92, - "column": 6 + "line": 103, + "column": 7 } } }, { "type": { - "label": "(", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2038, - "end": 2039, + "value": "return", + "start": 2290, + "end": 2296, "loc": { "start": { - "line": 92, - "column": 7 + "line": 103, + "column": 8 }, "end": { - "line": 92, - "column": 8 + "line": 103, + "column": 14 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -50213,25 +52190,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "number", - "start": 2040, - "end": 2046, + "value": "this", + "start": 2297, + "end": 2301, "loc": { "start": { - "line": 92, - "column": 9 + "line": 103, + "column": 15 }, "end": { - "line": 92, - "column": 15 + "line": 103, + "column": 19 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -50239,25 +52217,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2047, - "end": 2048, + "start": 2301, + "end": 2302, "loc": { "start": { - "line": 92, - "column": 16 + "line": 103, + "column": 19 }, "end": { - "line": 92, - "column": 17 + "line": 103, + "column": 20 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -50266,88 +52245,67 @@ "postfix": false, "binop": null }, - "start": 2049, - "end": 2050, - "loc": { - "start": { - "line": 92, - "column": 18 - }, - "end": { - "line": 92, - "column": 19 - } - } - }, - { - "type": "CommentLine", - "value": " TODO optimize but be careful with side effects", - "start": 2053, - "end": 2102, + "value": "opposite", + "start": 2302, + "end": 2310, "loc": { "start": { - "line": 93, - "column": 2 + "line": 103, + "column": 20 }, "end": { - "line": 93, - "column": 51 + "line": 103, + "column": 28 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 2105, - "end": 2111, + "start": 2310, + "end": 2311, "loc": { "start": { - "line": 94, - "column": 2 + "line": 103, + "column": 28 }, "end": { - "line": 94, - "column": 8 + "line": 103, + "column": 29 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 2112, - "end": 2116, + "start": 2311, + "end": 2312, "loc": { "start": { - "line": 94, - "column": 9 + "line": 103, + "column": 29 }, "end": { - "line": 94, - "column": 13 + "line": 103, + "column": 30 } } }, @@ -50364,16 +52322,16 @@ "binop": null, "updateContext": null }, - "start": 2116, - "end": 2117, + "start": 2312, + "end": 2313, "loc": { "start": { - "line": 94, - "column": 13 + "line": 103, + "column": 30 }, "end": { - "line": 94, - "column": 14 + "line": 103, + "column": 31 } } }, @@ -50389,17 +52347,17 @@ "postfix": false, "binop": null }, - "value": "addn", - "start": 2117, - "end": 2121, + "value": "add", + "start": 2313, + "end": 2316, "loc": { "start": { - "line": 94, - "column": 14 + "line": 103, + "column": 31 }, "end": { - "line": 94, - "column": 18 + "line": 103, + "column": 34 } } }, @@ -50415,16 +52373,16 @@ "postfix": false, "binop": null }, - "start": 2121, - "end": 2122, + "start": 2316, + "end": 2317, "loc": { "start": { - "line": 94, - "column": 18 + "line": 103, + "column": 34 }, "end": { - "line": 94, - "column": 19 + "line": 103, + "column": 35 } } }, @@ -50440,17 +52398,17 @@ "postfix": false, "binop": null }, - "value": "number", - "start": 2122, - "end": 2128, + "value": "other", + "start": 2318, + "end": 2323, "loc": { "start": { - "line": 94, - "column": 19 + "line": 103, + "column": 36 }, "end": { - "line": 94, - "column": 25 + "line": 103, + "column": 41 } } }, @@ -50466,16 +52424,16 @@ "postfix": false, "binop": null }, - "start": 2128, - "end": 2129, + "start": 2324, + "end": 2325, "loc": { "start": { - "line": 94, - "column": 25 + "line": 103, + "column": 42 }, "end": { - "line": 94, - "column": 26 + "line": 103, + "column": 43 } } }, @@ -50492,16 +52450,16 @@ "binop": null, "updateContext": null }, - "start": 2129, - "end": 2130, + "start": 2325, + "end": 2326, "loc": { "start": { - "line": 94, - "column": 26 + "line": 103, + "column": 43 }, "end": { - "line": 94, - "column": 27 + "line": 103, + "column": 44 } } }, @@ -50517,17 +52475,17 @@ "postfix": false, "binop": null }, - "value": "move", - "start": 2130, - "end": 2134, + "value": "opposite", + "start": 2326, + "end": 2334, "loc": { "start": { - "line": 94, - "column": 27 + "line": 103, + "column": 44 }, "end": { - "line": 94, - "column": 31 + "line": 103, + "column": 52 } } }, @@ -50543,127 +52501,127 @@ "postfix": false, "binop": null }, - "start": 2134, - "end": 2135, + "start": 2334, + "end": 2335, "loc": { "start": { - "line": 94, - "column": 31 + "line": 103, + "column": 52 }, "end": { - "line": 94, - "column": 32 + "line": 103, + "column": 53 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 2135, - "end": 2139, + "start": 2335, + "end": 2336, "loc": { "start": { - "line": 94, - "column": 32 + "line": 103, + "column": 53 }, "end": { - "line": 94, - "column": 36 + "line": 103, + "column": 54 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2139, - "end": 2140, + "start": 2337, + "end": 2338, "loc": { "start": { - "line": 94, - "column": 36 + "line": 103, + "column": 55 }, "end": { - "line": 94, - "column": 37 + "line": 103, + "column": 56 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2140, - "end": 2141, + "start": 2342, + "end": 2343, "loc": { "start": { - "line": 94, - "column": 37 + "line": 105, + "column": 2 }, "end": { - "line": 94, - "column": 38 + "line": 105, + "column": 3 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "else", + "keyword": "else", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2143, - "end": 2144, + "value": "else", + "start": 2347, + "end": 2351, "loc": { "start": { - "line": 95, - "column": 1 + "line": 107, + "column": 2 }, "end": { - "line": 95, - "column": 2 + "line": 107, + "column": 6 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -50672,42 +52630,60 @@ "postfix": false, "binop": null }, - "value": "sub", - "start": 2147, - "end": 2150, + "start": 2352, + "end": 2353, "loc": { "start": { - "line": 97, - "column": 1 + "line": 107, + "column": 7 }, "end": { - "line": 97, - "column": 4 + "line": 107, + "column": 8 + } + } + }, + { + "type": "CommentLine", + "value": " /!\\ _sub needs |c| >= |a| >= |b|", + "start": 2358, + "end": 2393, + "loc": { + "start": { + "line": 109, + "column": 3 + }, + "end": { + "line": 109, + "column": 38 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2151, - "end": 2152, + "value": "const", + "start": 2398, + "end": 2403, "loc": { "start": { - "line": 97, - "column": 5 + "line": 111, + "column": 3 }, "end": { - "line": 97, - "column": 6 + "line": 111, + "column": 8 } } }, @@ -50723,74 +52699,78 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 2153, - "end": 2158, + "value": "r", + "start": 2404, + "end": 2405, "loc": { "start": { - "line": 97, - "column": 7 + "line": 111, + "column": 9 }, "end": { - "line": 97, - "column": 12 + "line": 111, + "column": 10 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2159, - "end": 2160, + "value": "=", + "start": 2406, + "end": 2407, "loc": { "start": { - "line": 97, - "column": 13 + "line": 111, + "column": 11 }, "end": { - "line": 97, - "column": 14 + "line": 111, + "column": 12 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "this", + "keyword": "this", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2161, - "end": 2162, + "value": "this", + "start": 2408, + "end": 2412, "loc": { "start": { - "line": 97, - "column": 15 + "line": 111, + "column": 13 }, "end": { - "line": 97, - "column": 16 + "line": 111, + "column": 17 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -50801,24 +52781,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 2166, - "end": 2168, + "start": 2412, + "end": 2413, "loc": { "start": { - "line": 99, - "column": 2 + "line": 111, + "column": 17 }, "end": { - "line": 99, - "column": 4 + "line": 111, + "column": 18 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -50827,25 +52806,25 @@ "postfix": false, "binop": null }, - "start": 2169, - "end": 2170, + "value": "base", + "start": 2413, + "end": 2417, "loc": { "start": { - "line": 99, - "column": 5 + "line": 111, + "column": 18 }, "end": { - "line": 99, - "column": 6 + "line": 111, + "column": 22 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -50854,23 +52833,23 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 2171, - "end": 2175, + "start": 2418, + "end": 2419, "loc": { "start": { - "line": 99, - "column": 7 + "line": 111, + "column": 23 }, "end": { - "line": 99, - "column": 11 + "line": 111, + "column": 24 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -50881,16 +52860,17 @@ "binop": null, "updateContext": null }, - "start": 2175, - "end": 2176, + "value": "const", + "start": 2423, + "end": 2428, "loc": { "start": { - "line": 99, - "column": 11 + "line": 112, + "column": 3 }, "end": { - "line": 99, - "column": 12 + "line": 112, + "column": 8 } } }, @@ -50906,50 +52886,51 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 2176, - "end": 2187, + "value": "a", + "start": 2429, + "end": 2430, "loc": { "start": { - "line": 99, - "column": 12 + "line": 112, + "column": 9 }, "end": { - "line": 99, - "column": 23 + "line": 112, + "column": 10 } } }, { "type": { - "label": "==/!=", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "!==", - "start": 2188, - "end": 2191, + "value": "=", + "start": 2431, + "end": 2432, "loc": { "start": { - "line": 99, - "column": 24 + "line": 112, + "column": 11 }, "end": { - "line": 99, - "column": 27 + "line": 112, + "column": 12 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -50957,19 +52938,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "other", - "start": 2192, - "end": 2197, + "value": "this", + "start": 2433, + "end": 2437, "loc": { "start": { - "line": 99, - "column": 28 + "line": 112, + "column": 13 }, "end": { - "line": 99, - "column": 33 + "line": 112, + "column": 17 } } }, @@ -50986,16 +52968,16 @@ "binop": null, "updateContext": null }, - "start": 2197, - "end": 2198, + "start": 2437, + "end": 2438, "loc": { "start": { - "line": 99, - "column": 33 + "line": 112, + "column": 17 }, "end": { - "line": 99, - "column": 34 + "line": 112, + "column": 18 } } }, @@ -51011,120 +52993,124 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 2198, - "end": 2209, + "value": "limbs", + "start": 2438, + "end": 2443, "loc": { "start": { - "line": 99, - "column": 34 + "line": 112, + "column": 18 }, "end": { - "line": 99, - "column": 45 + "line": 112, + "column": 23 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2210, - "end": 2211, + "start": 2444, + "end": 2445, "loc": { "start": { - "line": 99, - "column": 46 + "line": 112, + "column": 24 }, "end": { - "line": 99, - "column": 47 + "line": 112, + "column": 25 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2212, - "end": 2213, + "value": "const", + "start": 2449, + "end": 2454, "loc": { "start": { - "line": 99, - "column": 48 + "line": 113, + "column": 3 }, "end": { - "line": 99, - "column": 49 + "line": 113, + "column": 8 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 2218, - "end": 2220, + "value": "aj", + "start": 2455, + "end": 2457, "loc": { "start": { - "line": 101, - "column": 3 + "line": 113, + "column": 9 }, "end": { - "line": 101, - "column": 5 + "line": 113, + "column": 11 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2221, - "end": 2222, + "value": "=", + "start": 2458, + "end": 2459, "loc": { "start": { - "line": 101, - "column": 6 + "line": 113, + "column": 12 }, "end": { - "line": 101, - "column": 7 + "line": 113, + "column": 13 } } }, @@ -51140,17 +53126,17 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 2223, - "end": 2228, + "value": "a", + "start": 2460, + "end": 2461, "loc": { "start": { - "line": 101, - "column": 8 + "line": 113, + "column": 14 }, "end": { - "line": 101, - "column": 13 + "line": 113, + "column": 15 } } }, @@ -51167,16 +53153,16 @@ "binop": null, "updateContext": null }, - "start": 2228, - "end": 2229, + "start": 2461, + "end": 2462, "loc": { "start": { - "line": 101, - "column": 13 + "line": 113, + "column": 15 }, "end": { - "line": 101, - "column": 14 + "line": 113, + "column": 16 } } }, @@ -51192,50 +53178,51 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 2229, - "end": 2240, + "value": "length", + "start": 2462, + "end": 2468, "loc": { "start": { - "line": 101, - "column": 14 + "line": 113, + "column": 16 }, "end": { - "line": 101, - "column": 25 + "line": 113, + "column": 22 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2241, - "end": 2242, + "start": 2469, + "end": 2470, "loc": { "start": { - "line": 101, - "column": 26 + "line": 113, + "column": 23 }, "end": { - "line": 101, - "column": 27 + "line": 113, + "column": 24 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -51245,24 +53232,23 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 2243, - "end": 2249, + "value": "const", + "start": 2474, + "end": 2479, "loc": { "start": { - "line": 101, - "column": 28 + "line": 114, + "column": 3 }, "end": { - "line": 101, - "column": 34 + "line": 114, + "column": 8 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -51270,46 +53256,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 2250, - "end": 2254, + "value": "ai", + "start": 2480, + "end": 2482, "loc": { "start": { - "line": 101, - "column": 35 + "line": 114, + "column": 9 }, "end": { - "line": 101, - "column": 39 + "line": 114, + "column": 11 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 2254, - "end": 2255, + "value": "=", + "start": 2483, + "end": 2484, "loc": { "start": { - "line": 101, - "column": 39 + "line": 114, + "column": 12 }, "end": { - "line": 101, - "column": 40 + "line": 114, + "column": 13 } } }, @@ -51325,17 +53311,17 @@ "postfix": false, "binop": null }, - "value": "add", - "start": 2255, - "end": 2258, + "value": "_trim_positive", + "start": 2485, + "end": 2499, "loc": { "start": { - "line": 101, - "column": 40 + "line": 114, + "column": 14 }, "end": { - "line": 101, - "column": 43 + "line": 114, + "column": 28 } } }, @@ -51351,16 +53337,16 @@ "postfix": false, "binop": null }, - "start": 2258, - "end": 2259, + "start": 2499, + "end": 2500, "loc": { "start": { - "line": 101, - "column": 43 + "line": 114, + "column": 28 }, "end": { - "line": 101, - "column": 44 + "line": 114, + "column": 29 } } }, @@ -51376,24 +53362,24 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 2260, - "end": 2265, + "value": "a", + "start": 2501, + "end": 2502, "loc": { "start": { - "line": 101, - "column": 45 + "line": 114, + "column": 30 }, "end": { - "line": 101, - "column": 50 + "line": 114, + "column": 31 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -51403,22 +53389,22 @@ "binop": null, "updateContext": null }, - "start": 2265, - "end": 2266, + "start": 2503, + "end": 2504, "loc": { "start": { - "line": 101, - "column": 50 + "line": 114, + "column": 32 }, "end": { - "line": 101, - "column": 51 + "line": 114, + "column": 33 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -51426,52 +53412,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "opposite", - "start": 2266, - "end": 2274, + "value": 0, + "start": 2505, + "end": 2506, "loc": { "start": { - "line": 101, - "column": 51 + "line": 114, + "column": 34 }, "end": { - "line": 101, - "column": 59 + "line": 114, + "column": 35 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2274, - "end": 2275, + "start": 2507, + "end": 2508, "loc": { "start": { - "line": 101, - "column": 59 + "line": 114, + "column": 36 }, "end": { - "line": 101, - "column": 60 + "line": 114, + "column": 37 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -51479,16 +53467,17 @@ "postfix": false, "binop": null }, - "start": 2275, - "end": 2276, + "value": "aj", + "start": 2509, + "end": 2511, "loc": { "start": { - "line": 101, - "column": 60 + "line": 114, + "column": 38 }, "end": { - "line": 101, - "column": 61 + "line": 114, + "column": 40 } } }, @@ -51504,16 +53493,16 @@ "postfix": false, "binop": null }, - "start": 2277, - "end": 2278, + "start": 2512, + "end": 2513, "loc": { "start": { - "line": 101, - "column": 62 + "line": 114, + "column": 41 }, "end": { - "line": 101, - "column": 63 + "line": 114, + "column": 42 } } }, @@ -51530,24 +53519,24 @@ "binop": null, "updateContext": null }, - "start": 2279, - "end": 2280, + "start": 2514, + "end": 2515, "loc": { "start": { - "line": 101, - "column": 64 + "line": 114, + "column": 43 }, "end": { - "line": 101, - "column": 65 + "line": 114, + "column": 44 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -51557,52 +53546,48 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 2285, - "end": 2289, + "value": "if", + "start": 2520, + "end": 2522, "loc": { "start": { - "line": 103, + "line": 116, "column": 3 }, "end": { - "line": 103, - "column": 7 + "line": 116, + "column": 5 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 2290, - "end": 2296, + "start": 2523, + "end": 2524, "loc": { "start": { - "line": 103, - "column": 8 + "line": 116, + "column": 6 }, "end": { - "line": 103, - "column": 14 + "line": 116, + "column": 7 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -51610,46 +53595,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 2297, - "end": 2301, + "value": "ai", + "start": 2525, + "end": 2527, "loc": { "start": { - "line": 103, - "column": 15 + "line": 116, + "column": 8 }, "end": { - "line": 103, - "column": 19 + "line": 116, + "column": 10 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 7, "updateContext": null }, - "start": 2301, - "end": 2302, + "value": ">=", + "start": 2528, + "end": 2530, "loc": { "start": { - "line": 103, - "column": 19 + "line": 116, + "column": 11 }, "end": { - "line": 103, - "column": 20 + "line": 116, + "column": 13 } } }, @@ -51665,25 +53650,25 @@ "postfix": false, "binop": null }, - "value": "opposite", - "start": 2302, - "end": 2310, + "value": "aj", + "start": 2531, + "end": 2533, "loc": { "start": { - "line": 103, - "column": 20 + "line": 116, + "column": 14 }, "end": { - "line": 103, - "column": 28 + "line": 116, + "column": 16 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -51691,41 +53676,70 @@ "postfix": false, "binop": null }, - "start": 2310, - "end": 2311, + "start": 2534, + "end": 2535, "loc": { "start": { - "line": 103, - "column": 28 + "line": 116, + "column": 17 }, "end": { - "line": 103, - "column": 29 + "line": 116, + "column": 18 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 2536, + "end": 2542, + "loc": { + "start": { + "line": 116, + "column": 19 + }, + "end": { + "line": 116, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null }, - "start": 2311, - "end": 2312, + "value": "other", + "start": 2543, + "end": 2548, "loc": { "start": { - "line": 103, - "column": 29 + "line": 116, + "column": 26 }, "end": { - "line": 103, - "column": 30 + "line": 116, + "column": 31 } } }, @@ -51742,16 +53756,16 @@ "binop": null, "updateContext": null }, - "start": 2312, - "end": 2313, + "start": 2548, + "end": 2549, "loc": { "start": { - "line": 103, - "column": 30 + "line": 116, + "column": 31 }, "end": { - "line": 103, - "column": 31 + "line": 116, + "column": 32 } } }, @@ -51767,17 +53781,17 @@ "postfix": false, "binop": null }, - "value": "add", - "start": 2313, - "end": 2316, + "value": "opposite", + "start": 2549, + "end": 2557, "loc": { "start": { - "line": 103, - "column": 31 + "line": 116, + "column": 32 }, "end": { - "line": 103, - "column": 34 + "line": 116, + "column": 40 } } }, @@ -51793,50 +53807,103 @@ "postfix": false, "binop": null }, - "start": 2316, - "end": 2317, + "start": 2557, + "end": 2558, "loc": { "start": { - "line": 103, - "column": 34 + "line": 116, + "column": 40 }, "end": { - "line": 103, - "column": 35 + "line": 116, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2558, + "end": 2559, + "loc": { + "start": { + "line": 116, + "column": 41 + }, + "end": { + "line": 116, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2560, + "end": 2561, + "loc": { + "start": { + "line": 116, + "column": 43 + }, + "end": { + "line": 116, + "column": 44 } } }, { "type": { - "label": "name", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "other", - "start": 2318, - "end": 2323, + "value": "const", + "start": 2566, + "end": 2571, "loc": { "start": { - "line": 103, - "column": 36 + "line": 118, + "column": 3 }, "end": { - "line": 103, - "column": 41 + "line": 118, + "column": 8 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -51844,42 +53911,44 @@ "postfix": false, "binop": null }, - "start": 2324, - "end": 2325, + "value": "b", + "start": 2572, + "end": 2573, "loc": { "start": { - "line": 103, - "column": 42 + "line": 118, + "column": 9 }, "end": { - "line": 103, - "column": 43 + "line": 118, + "column": 10 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 2325, - "end": 2326, + "value": "=", + "start": 2574, + "end": 2575, "loc": { "start": { - "line": 103, - "column": 43 + "line": 118, + "column": 11 }, "end": { - "line": 103, - "column": 44 + "line": 118, + "column": 12 } } }, @@ -51895,50 +53964,51 @@ "postfix": false, "binop": null }, - "value": "opposite", - "start": 2326, - "end": 2334, + "value": "other", + "start": 2576, + "end": 2581, "loc": { "start": { - "line": 103, - "column": 44 + "line": 118, + "column": 13 }, "end": { - "line": 103, - "column": 52 + "line": 118, + "column": 18 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2334, - "end": 2335, + "start": 2581, + "end": 2582, "loc": { "start": { - "line": 103, - "column": 52 + "line": 118, + "column": 18 }, "end": { - "line": 103, - "column": 53 + "line": 118, + "column": 19 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -51946,50 +54016,50 @@ "postfix": false, "binop": null }, - "start": 2335, - "end": 2336, + "value": "_limbs_in_base", + "start": 2582, + "end": 2596, "loc": { "start": { - "line": 103, - "column": 53 + "line": 118, + "column": 19 }, "end": { - "line": 103, - "column": 54 + "line": 118, + "column": 33 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2337, - "end": 2338, + "start": 2596, + "end": 2597, "loc": { "start": { - "line": 103, - "column": 55 + "line": 118, + "column": 33 }, "end": { - "line": 103, - "column": 56 + "line": 118, + "column": 34 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -51997,85 +54067,68 @@ "postfix": false, "binop": null }, - "start": 2342, - "end": 2343, + "value": "r", + "start": 2598, + "end": 2599, "loc": { "start": { - "line": 105, - "column": 2 + "line": 118, + "column": 35 }, "end": { - "line": 105, - "column": 3 + "line": 118, + "column": 36 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "else", - "start": 2347, - "end": 2351, + "start": 2600, + "end": 2601, "loc": { "start": { - "line": 107, - "column": 2 + "line": 118, + "column": 37 }, "end": { - "line": 107, - "column": 6 + "line": 118, + "column": 38 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2352, - "end": 2353, - "loc": { - "start": { - "line": 107, - "column": 7 - }, - "end": { - "line": 107, - "column": 8 - } - } - }, - { - "type": "CommentLine", - "value": " /!\\ _sub needs |c| >= |a| >= |b|", - "start": 2358, - "end": 2393, + "start": 2602, + "end": 2603, "loc": { "start": { - "line": 109, - "column": 3 + "line": 118, + "column": 39 }, "end": { - "line": 109, - "column": 38 + "line": 118, + "column": 40 } } }, @@ -52094,15 +54147,15 @@ "updateContext": null }, "value": "const", - "start": 2398, - "end": 2403, + "start": 2607, + "end": 2612, "loc": { "start": { - "line": 111, + "line": 119, "column": 3 }, "end": { - "line": 111, + "line": 119, "column": 8 } } @@ -52119,17 +54172,17 @@ "postfix": false, "binop": null }, - "value": "r", - "start": 2404, - "end": 2405, + "value": "bj", + "start": 2613, + "end": 2615, "loc": { "start": { - "line": 111, + "line": 119, "column": 9 }, "end": { - "line": 111, - "column": 10 + "line": 119, + "column": 11 } } }, @@ -52147,23 +54200,22 @@ "updateContext": null }, "value": "=", - "start": 2406, - "end": 2407, + "start": 2616, + "end": 2617, "loc": { "start": { - "line": 111, - "column": 11 + "line": 119, + "column": 12 }, "end": { - "line": 111, - "column": 12 + "line": 119, + "column": 13 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -52171,20 +54223,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 2408, - "end": 2412, + "value": "b", + "start": 2618, + "end": 2619, "loc": { "start": { - "line": 111, - "column": 13 + "line": 119, + "column": 14 }, "end": { - "line": 111, - "column": 17 + "line": 119, + "column": 15 } } }, @@ -52201,16 +54252,16 @@ "binop": null, "updateContext": null }, - "start": 2412, - "end": 2413, + "start": 2619, + "end": 2620, "loc": { "start": { - "line": 111, - "column": 17 + "line": 119, + "column": 15 }, "end": { - "line": 111, - "column": 18 + "line": 119, + "column": 16 } } }, @@ -52226,16 +54277,16 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 2413, - "end": 2417, + "value": "length", + "start": 2620, + "end": 2626, "loc": { "start": { - "line": 111, - "column": 18 + "line": 119, + "column": 16 }, "end": { - "line": 111, + "line": 119, "column": 22 } } @@ -52253,15 +54304,15 @@ "binop": null, "updateContext": null }, - "start": 2418, - "end": 2419, + "start": 2627, + "end": 2628, "loc": { "start": { - "line": 111, + "line": 119, "column": 23 }, "end": { - "line": 111, + "line": 119, "column": 24 } } @@ -52281,15 +54332,15 @@ "updateContext": null }, "value": "const", - "start": 2423, - "end": 2428, + "start": 2632, + "end": 2637, "loc": { "start": { - "line": 112, + "line": 120, "column": 3 }, "end": { - "line": 112, + "line": 120, "column": 8 } } @@ -52306,17 +54357,17 @@ "postfix": false, "binop": null }, - "value": "a", - "start": 2429, - "end": 2430, + "value": "bi", + "start": 2638, + "end": 2640, "loc": { "start": { - "line": 112, + "line": 120, "column": 9 }, "end": { - "line": 112, - "column": 10 + "line": 120, + "column": 11 } } }, @@ -52334,23 +54385,22 @@ "updateContext": null }, "value": "=", - "start": 2431, - "end": 2432, + "start": 2641, + "end": 2642, "loc": { "start": { - "line": 112, - "column": 11 + "line": 120, + "column": 12 }, "end": { - "line": 112, - "column": 12 + "line": 120, + "column": 13 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -52358,46 +54408,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 2433, - "end": 2437, + "value": "_trim_positive", + "start": 2643, + "end": 2657, "loc": { "start": { - "line": 112, - "column": 13 + "line": 120, + "column": 14 }, "end": { - "line": 112, - "column": 17 + "line": 120, + "column": 28 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2437, - "end": 2438, + "start": 2657, + "end": 2658, "loc": { "start": { - "line": 112, - "column": 17 + "line": 120, + "column": 28 }, "end": { - "line": 112, - "column": 18 + "line": 120, + "column": 29 } } }, @@ -52413,23 +54461,23 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 2438, - "end": 2443, + "value": "b", + "start": 2659, + "end": 2660, "loc": { "start": { - "line": 112, - "column": 18 + "line": 120, + "column": 30 }, "end": { - "line": 112, - "column": 23 + "line": 120, + "column": 31 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -52440,25 +54488,24 @@ "binop": null, "updateContext": null }, - "start": 2444, - "end": 2445, + "start": 2661, + "end": 2662, "loc": { "start": { - "line": 112, - "column": 24 + "line": 120, + "column": 32 }, "end": { - "line": 112, - "column": 25 + "line": 120, + "column": 33 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -52467,70 +54514,43 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 2449, - "end": 2454, - "loc": { - "start": { - "line": 113, - "column": 3 - }, - "end": { - "line": 113, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "aj", - "start": 2455, - "end": 2457, + "value": 0, + "start": 2663, + "end": 2664, "loc": { "start": { - "line": 113, - "column": 9 + "line": 120, + "column": 34 }, "end": { - "line": 113, - "column": 11 + "line": 120, + "column": 35 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 2458, - "end": 2459, + "start": 2665, + "end": 2666, "loc": { "start": { - "line": 113, - "column": 12 + "line": 120, + "column": 36 }, "end": { - "line": 113, - "column": 13 + "line": 120, + "column": 37 } } }, @@ -52546,23 +54566,23 @@ "postfix": false, "binop": null }, - "value": "a", - "start": 2460, - "end": 2461, + "value": "bj", + "start": 2667, + "end": 2669, "loc": { "start": { - "line": 113, - "column": 14 + "line": 120, + "column": 38 }, "end": { - "line": 113, - "column": 15 + "line": 120, + "column": 40 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -52570,52 +54590,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2461, - "end": 2462, + "start": 2670, + "end": 2671, "loc": { "start": { - "line": 113, - "column": 15 + "line": 120, + "column": 41 }, "end": { - "line": 113, - "column": 16 + "line": 120, + "column": 42 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "length", - "start": 2462, - "end": 2468, + "start": 2672, + "end": 2673, "loc": { "start": { - "line": 113, - "column": 16 + "line": 120, + "column": 43 }, "end": { - "line": 113, - "column": 22 + "line": 120, + "column": 44 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -52625,44 +54645,42 @@ "binop": null, "updateContext": null }, - "start": 2469, - "end": 2470, + "value": "if", + "start": 2678, + "end": 2680, "loc": { "start": { - "line": 113, - "column": 23 + "line": 122, + "column": 3 }, "end": { - "line": 113, - "column": 24 + "line": 122, + "column": 5 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 2474, - "end": 2479, + "start": 2681, + "end": 2682, "loc": { "start": { - "line": 114, - "column": 3 + "line": 122, + "column": 6 }, "end": { - "line": 114, - "column": 8 + "line": 122, + "column": 7 } } }, @@ -52678,43 +54696,43 @@ "postfix": false, "binop": null }, - "value": "ai", - "start": 2480, - "end": 2482, + "value": "bi", + "start": 2683, + "end": 2685, "loc": { "start": { - "line": 114, - "column": 9 + "line": 122, + "column": 8 }, "end": { - "line": 114, - "column": 11 + "line": 122, + "column": 10 } } }, { "type": { - "label": "=", + "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 7, "updateContext": null }, - "value": "=", - "start": 2483, - "end": 2484, + "value": ">=", + "start": 2686, + "end": 2688, "loc": { "start": { - "line": 114, - "column": 12 + "line": 122, + "column": 11 }, "end": { - "line": 114, + "line": 122, "column": 13 } } @@ -52731,25 +54749,25 @@ "postfix": false, "binop": null }, - "value": "_trim_positive", - "start": 2485, - "end": 2499, + "value": "bj", + "start": 2689, + "end": 2691, "loc": { "start": { - "line": 114, + "line": 122, "column": 14 }, "end": { - "line": 114, - "column": 28 + "line": 122, + "column": 16 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -52757,50 +54775,53 @@ "postfix": false, "binop": null }, - "start": 2499, - "end": 2500, + "start": 2692, + "end": 2693, "loc": { "start": { - "line": 114, - "column": 28 + "line": 122, + "column": 17 }, "end": { - "line": 114, - "column": 29 + "line": 122, + "column": 18 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "a", - "start": 2501, - "end": 2502, + "value": "return", + "start": 2694, + "end": 2700, "loc": { "start": { - "line": 114, - "column": 30 + "line": 122, + "column": 19 }, "end": { - "line": 114, - "column": 31 + "line": 122, + "column": 25 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -52809,24 +54830,25 @@ "binop": null, "updateContext": null }, - "start": 2503, - "end": 2504, + "value": "this", + "start": 2701, + "end": 2705, "loc": { "start": { - "line": 114, - "column": 32 + "line": 122, + "column": 26 }, "end": { - "line": 114, - "column": 33 + "line": 122, + "column": 30 } } }, { "type": { - "label": "num", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -52835,50 +54857,49 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 2505, - "end": 2506, + "start": 2705, + "end": 2706, "loc": { "start": { - "line": 114, - "column": 34 + "line": 122, + "column": 30 }, "end": { - "line": 114, - "column": 35 + "line": 122, + "column": 31 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2507, - "end": 2508, + "value": "clone", + "start": 2706, + "end": 2711, "loc": { "start": { - "line": 114, - "column": 36 + "line": 122, + "column": 31 }, "end": { - "line": 114, - "column": 37 + "line": 122, + "column": 36 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -52887,17 +54908,16 @@ "postfix": false, "binop": null }, - "value": "aj", - "start": 2509, - "end": 2511, + "start": 2711, + "end": 2712, "loc": { "start": { - "line": 114, - "column": 38 + "line": 122, + "column": 36 }, "end": { - "line": 114, - "column": 40 + "line": 122, + "column": 37 } } }, @@ -52913,16 +54933,16 @@ "postfix": false, "binop": null }, - "start": 2512, - "end": 2513, + "start": 2712, + "end": 2713, "loc": { "start": { - "line": 114, - "column": 41 + "line": 122, + "column": 37 }, "end": { - "line": 114, - "column": 42 + "line": 122, + "column": 38 } } }, @@ -52939,16 +54959,16 @@ "binop": null, "updateContext": null }, - "start": 2514, - "end": 2515, + "start": 2714, + "end": 2715, "loc": { "start": { - "line": 114, - "column": 43 + "line": 122, + "column": 39 }, "end": { - "line": 114, - "column": 44 + "line": 122, + "column": 40 } } }, @@ -52967,15 +54987,15 @@ "updateContext": null }, "value": "if", - "start": 2520, - "end": 2522, + "start": 2720, + "end": 2722, "loc": { "start": { - "line": 116, + "line": 124, "column": 3 }, "end": { - "line": 116, + "line": 124, "column": 5 } } @@ -52992,15 +55012,15 @@ "postfix": false, "binop": null }, - "start": 2523, - "end": 2524, + "start": 2723, + "end": 2724, "loc": { "start": { - "line": 116, + "line": 124, "column": 6 }, "end": { - "line": 116, + "line": 124, "column": 7 } } @@ -53017,44 +55037,42 @@ "postfix": false, "binop": null }, - "value": "ai", - "start": 2525, - "end": 2527, + "value": "cmp", + "start": 2725, + "end": 2728, "loc": { "start": { - "line": 116, + "line": 124, "column": 8 }, "end": { - "line": 116, - "column": 10 + "line": 124, + "column": 11 } } }, { "type": { - "label": "", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, - "updateContext": null + "binop": null }, - "value": ">=", - "start": 2528, - "end": 2530, + "start": 2728, + "end": 2729, "loc": { "start": { - "line": 116, + "line": 124, "column": 11 }, "end": { - "line": 116, - "column": 13 + "line": 124, + "column": 12 } } }, @@ -53070,49 +55088,23 @@ "postfix": false, "binop": null }, - "value": "aj", - "start": 2531, - "end": 2533, - "loc": { - "start": { - "line": 116, - "column": 14 - }, - "end": { - "line": 116, - "column": 16 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2534, - "end": 2535, + "value": "a", + "start": 2730, + "end": 2731, "loc": { "start": { - "line": 116, - "column": 17 + "line": 124, + "column": 13 }, "end": { - "line": 116, - "column": 18 + "line": 124, + "column": 14 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -53123,17 +55115,16 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 2536, - "end": 2542, + "start": 2732, + "end": 2733, "loc": { "start": { - "line": 116, - "column": 19 + "line": 124, + "column": 15 }, "end": { - "line": 116, - "column": 25 + "line": 124, + "column": 16 } } }, @@ -53149,24 +55140,24 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 2543, - "end": 2548, + "value": "ai", + "start": 2734, + "end": 2736, "loc": { "start": { - "line": 116, - "column": 26 + "line": 124, + "column": 17 }, "end": { - "line": 116, - "column": 31 + "line": 124, + "column": 19 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -53176,16 +55167,16 @@ "binop": null, "updateContext": null }, - "start": 2548, - "end": 2549, + "start": 2737, + "end": 2738, "loc": { "start": { - "line": 116, - "column": 31 + "line": 124, + "column": 20 }, "end": { - "line": 116, - "column": 32 + "line": 124, + "column": 21 } } }, @@ -53201,50 +55192,51 @@ "postfix": false, "binop": null }, - "value": "opposite", - "start": 2549, - "end": 2557, + "value": "aj", + "start": 2739, + "end": 2741, "loc": { "start": { - "line": 116, - "column": 32 + "line": 124, + "column": 22 }, "end": { - "line": 116, - "column": 40 + "line": 124, + "column": 24 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2557, - "end": 2558, + "start": 2742, + "end": 2743, "loc": { "start": { - "line": 116, - "column": 40 + "line": 124, + "column": 25 }, "end": { - "line": 116, - "column": 41 + "line": 124, + "column": 26 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -53252,22 +55244,23 @@ "postfix": false, "binop": null }, - "start": 2558, - "end": 2559, + "value": "b", + "start": 2744, + "end": 2745, "loc": { "start": { - "line": 116, - "column": 41 + "line": 124, + "column": 27 }, "end": { - "line": 116, - "column": 42 + "line": 124, + "column": 28 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -53278,44 +55271,16 @@ "binop": null, "updateContext": null }, - "start": 2560, - "end": 2561, - "loc": { - "start": { - "line": 116, - "column": 43 - }, - "end": { - "line": 116, - "column": 44 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 2566, - "end": 2571, + "start": 2746, + "end": 2747, "loc": { "start": { - "line": 118, - "column": 3 + "line": 124, + "column": 29 }, "end": { - "line": 118, - "column": 8 + "line": 124, + "column": 30 } } }, @@ -53331,44 +55296,43 @@ "postfix": false, "binop": null }, - "value": "b", - "start": 2572, - "end": 2573, + "value": "bi", + "start": 2748, + "end": 2750, "loc": { "start": { - "line": 118, - "column": 9 + "line": 124, + "column": 31 }, "end": { - "line": 118, - "column": 10 + "line": 124, + "column": 33 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 2574, - "end": 2575, + "start": 2751, + "end": 2752, "loc": { "start": { - "line": 118, - "column": 11 + "line": 124, + "column": 34 }, "end": { - "line": 118, - "column": 12 + "line": 124, + "column": 35 } } }, @@ -53384,51 +55348,25 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 2576, - "end": 2581, - "loc": { - "start": { - "line": 118, - "column": 13 - }, - "end": { - "line": 118, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2581, - "end": 2582, + "value": "bj", + "start": 2753, + "end": 2755, "loc": { "start": { - "line": 118, - "column": 18 + "line": 124, + "column": 36 }, "end": { - "line": 118, - "column": 19 + "line": 124, + "column": 38 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -53436,48 +55374,49 @@ "postfix": false, "binop": null }, - "value": "_limbs_in_base", - "start": 2582, - "end": 2596, + "start": 2756, + "end": 2757, "loc": { "start": { - "line": 118, - "column": 19 + "line": 124, + "column": 39 }, "end": { - "line": 118, - "column": 33 + "line": 124, + "column": 40 } } }, { "type": { - "label": "(", + "label": "", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 7, + "updateContext": null }, - "start": 2596, - "end": 2597, + "value": "<", + "start": 2758, + "end": 2759, "loc": { "start": { - "line": 118, - "column": 33 + "line": 124, + "column": 41 }, "end": { - "line": 118, - "column": 34 + "line": 124, + "column": 42 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -53485,19 +55424,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "r", - "start": 2598, - "end": 2599, + "value": 0, + "start": 2760, + "end": 2761, "loc": { "start": { - "line": 118, - "column": 35 + "line": 124, + "column": 43 }, "end": { - "line": 118, - "column": 36 + "line": 124, + "column": 44 } } }, @@ -53513,42 +55453,41 @@ "postfix": false, "binop": null }, - "start": 2600, - "end": 2601, + "start": 2762, + "end": 2763, "loc": { "start": { - "line": 118, - "column": 37 + "line": 124, + "column": 45 }, "end": { - "line": 118, - "column": 38 + "line": 124, + "column": 46 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2602, - "end": 2603, + "start": 2764, + "end": 2765, "loc": { "start": { - "line": 118, - "column": 39 + "line": 124, + "column": 47 }, "end": { - "line": 118, - "column": 40 + "line": 124, + "column": 48 } } }, @@ -53567,16 +55506,16 @@ "updateContext": null }, "value": "const", - "start": 2607, - "end": 2612, + "start": 2771, + "end": 2776, "loc": { "start": { - "line": 119, - "column": 3 + "line": 126, + "column": 4 }, "end": { - "line": 119, - "column": 8 + "line": 126, + "column": 9 } } }, @@ -53592,16 +55531,16 @@ "postfix": false, "binop": null }, - "value": "bj", - "start": 2613, - "end": 2615, + "value": "c", + "start": 2777, + "end": 2778, "loc": { "start": { - "line": 119, - "column": 9 + "line": 126, + "column": 10 }, "end": { - "line": 119, + "line": 126, "column": 11 } } @@ -53620,15 +55559,15 @@ "updateContext": null }, "value": "=", - "start": 2616, - "end": 2617, + "start": 2779, + "end": 2780, "loc": { "start": { - "line": 119, + "line": 126, "column": 12 }, "end": { - "line": 119, + "line": 126, "column": 13 } } @@ -53645,43 +55584,42 @@ "postfix": false, "binop": null }, - "value": "b", - "start": 2618, - "end": 2619, + "value": "_zeros", + "start": 2781, + "end": 2787, "loc": { "start": { - "line": 119, + "line": 126, "column": 14 }, "end": { - "line": 119, - "column": 15 + "line": 126, + "column": 20 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2619, - "end": 2620, + "start": 2787, + "end": 2788, "loc": { "start": { - "line": 119, - "column": 15 + "line": 126, + "column": 20 }, "end": { - "line": 119, - "column": 16 + "line": 126, + "column": 21 } } }, @@ -53697,79 +55635,78 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 2620, - "end": 2626, + "value": "bj", + "start": 2789, + "end": 2791, "loc": { "start": { - "line": 119, - "column": 16 + "line": 126, + "column": 22 }, "end": { - "line": 119, - "column": 22 + "line": 126, + "column": 24 } } }, { "type": { - "label": ";", + "label": "+/-", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "start": 2627, - "end": 2628, + "value": "-", + "start": 2792, + "end": 2793, "loc": { "start": { - "line": 119, - "column": 23 + "line": 126, + "column": 25 }, "end": { - "line": 119, - "column": 24 + "line": 126, + "column": 26 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 2632, - "end": 2637, + "value": "bi", + "start": 2794, + "end": 2796, "loc": { "start": { - "line": 120, - "column": 3 + "line": 126, + "column": 27 }, "end": { - "line": 120, - "column": 8 + "line": 126, + "column": 29 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -53777,44 +55714,42 @@ "postfix": false, "binop": null }, - "value": "bi", - "start": 2638, - "end": 2640, + "start": 2797, + "end": 2798, "loc": { "start": { - "line": 120, - "column": 9 + "line": 126, + "column": 30 }, "end": { - "line": 120, - "column": 11 + "line": 126, + "column": 31 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 2641, - "end": 2642, + "start": 2799, + "end": 2800, "loc": { "start": { - "line": 120, - "column": 12 + "line": 126, + "column": 32 }, "end": { - "line": 120, - "column": 13 + "line": 126, + "column": 33 } } }, @@ -53830,17 +55765,17 @@ "postfix": false, "binop": null }, - "value": "_trim_positive", - "start": 2643, - "end": 2657, + "value": "_sub", + "start": 2806, + "end": 2810, "loc": { "start": { - "line": 120, - "column": 14 + "line": 128, + "column": 4 }, "end": { - "line": 120, - "column": 28 + "line": 128, + "column": 8 } } }, @@ -53856,16 +55791,16 @@ "postfix": false, "binop": null }, - "start": 2657, - "end": 2658, + "start": 2810, + "end": 2811, "loc": { "start": { - "line": 120, - "column": 28 + "line": 128, + "column": 8 }, "end": { - "line": 120, - "column": 29 + "line": 128, + "column": 9 } } }, @@ -53881,17 +55816,17 @@ "postfix": false, "binop": null }, - "value": "b", - "start": 2659, - "end": 2660, + "value": "r", + "start": 2812, + "end": 2813, "loc": { "start": { - "line": 120, - "column": 30 + "line": 128, + "column": 10 }, "end": { - "line": 120, - "column": 31 + "line": 128, + "column": 11 } } }, @@ -53908,22 +55843,22 @@ "binop": null, "updateContext": null }, - "start": 2661, - "end": 2662, + "start": 2814, + "end": 2815, "loc": { "start": { - "line": 120, - "column": 32 + "line": 128, + "column": 12 }, "end": { - "line": 120, - "column": 33 + "line": 128, + "column": 13 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -53931,20 +55866,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 2663, - "end": 2664, + "value": "b", + "start": 2816, + "end": 2817, "loc": { "start": { - "line": 120, - "column": 34 + "line": 128, + "column": 14 }, "end": { - "line": 120, - "column": 35 + "line": 128, + "column": 15 } } }, @@ -53961,16 +55895,16 @@ "binop": null, "updateContext": null }, - "start": 2665, - "end": 2666, + "start": 2818, + "end": 2819, "loc": { "start": { - "line": 120, - "column": 36 + "line": 128, + "column": 16 }, "end": { - "line": 120, - "column": 37 + "line": 128, + "column": 17 } } }, @@ -53986,48 +55920,75 @@ "postfix": false, "binop": null }, - "value": "bj", - "start": 2667, - "end": 2669, + "value": "bi", + "start": 2820, + "end": 2822, "loc": { "start": { - "line": 120, - "column": 38 + "line": 128, + "column": 18 }, "end": { - "line": 120, - "column": 40 + "line": 128, + "column": 20 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2823, + "end": 2824, + "loc": { + "start": { + "line": 128, + "column": 21 + }, + "end": { + "line": 128, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null }, - "start": 2670, - "end": 2671, + "value": "bj", + "start": 2825, + "end": 2827, "loc": { "start": { - "line": 120, - "column": 41 + "line": 128, + "column": 23 }, "end": { - "line": 120, - "column": 42 + "line": 128, + "column": 25 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -54038,69 +55999,68 @@ "binop": null, "updateContext": null }, - "start": 2672, - "end": 2673, + "start": 2828, + "end": 2829, "loc": { "start": { - "line": 120, - "column": 43 + "line": 128, + "column": 26 }, "end": { - "line": 120, - "column": 44 + "line": 128, + "column": 27 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 2678, - "end": 2680, + "value": "a", + "start": 2830, + "end": 2831, "loc": { "start": { - "line": 122, - "column": 3 + "line": 128, + "column": 28 }, "end": { - "line": 122, - "column": 5 + "line": 128, + "column": 29 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2681, - "end": 2682, + "start": 2832, + "end": 2833, "loc": { "start": { - "line": 122, - "column": 6 + "line": 128, + "column": 30 }, "end": { - "line": 122, - "column": 7 + "line": 128, + "column": 31 } } }, @@ -54116,23 +56076,23 @@ "postfix": false, "binop": null }, - "value": "bi", - "start": 2683, - "end": 2685, + "value": "ai", + "start": 2834, + "end": 2836, "loc": { "start": { - "line": 122, - "column": 8 + "line": 128, + "column": 32 }, "end": { - "line": 122, - "column": 10 + "line": 128, + "column": 34 } } }, { "type": { - "label": "", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -54140,20 +56100,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, + "binop": null, "updateContext": null }, - "value": ">=", - "start": 2686, - "end": 2688, + "start": 2837, + "end": 2838, "loc": { "start": { - "line": 122, - "column": 11 + "line": 128, + "column": 35 }, "end": { - "line": 122, - "column": 13 + "line": 128, + "column": 36 } } }, @@ -54169,25 +56128,51 @@ "postfix": false, "binop": null }, - "value": "bj", - "start": 2689, - "end": 2691, + "value": "aj", + "start": 2839, + "end": 2841, "loc": { "start": { - "line": 122, - "column": 14 + "line": 128, + "column": 37 }, "end": { - "line": 122, - "column": 16 + "line": 128, + "column": 39 } } }, { "type": { - "label": ")", + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2842, + "end": 2843, + "loc": { + "start": { + "line": 128, + "column": 40 + }, + "end": { + "line": 128, + "column": 41 + } + } + }, + { + "type": { + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -54195,23 +56180,23 @@ "postfix": false, "binop": null }, - "start": 2692, - "end": 2693, + "value": "c", + "start": 2844, + "end": 2845, "loc": { "start": { - "line": 122, - "column": 17 + "line": 128, + "column": 42 }, "end": { - "line": 122, - "column": 18 + "line": 128, + "column": 43 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -54222,24 +56207,22 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 2694, - "end": 2700, + "start": 2846, + "end": 2847, "loc": { "start": { - "line": 122, - "column": 19 + "line": 128, + "column": 44 }, "end": { - "line": 122, - "column": 25 + "line": 128, + "column": 45 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -54250,24 +56233,24 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 2701, - "end": 2705, + "value": 0, + "start": 2848, + "end": 2849, "loc": { "start": { - "line": 122, - "column": 26 + "line": 128, + "column": 46 }, "end": { - "line": 122, - "column": 30 + "line": 128, + "column": 47 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -54277,16 +56260,16 @@ "binop": null, "updateContext": null }, - "start": 2705, - "end": 2706, + "start": 2850, + "end": 2851, "loc": { "start": { - "line": 122, - "column": 30 + "line": 128, + "column": 48 }, "end": { - "line": 122, - "column": 31 + "line": 128, + "column": 49 } } }, @@ -54302,50 +56285,51 @@ "postfix": false, "binop": null }, - "value": "clone", - "start": 2706, - "end": 2711, + "value": "c", + "start": 2852, + "end": 2853, "loc": { "start": { - "line": 122, - "column": 31 + "line": 128, + "column": 50 }, "end": { - "line": 122, - "column": 36 + "line": 128, + "column": 51 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2711, - "end": 2712, + "start": 2853, + "end": 2854, "loc": { "start": { - "line": 122, - "column": 36 + "line": 128, + "column": 51 }, "end": { - "line": 122, - "column": 37 + "line": 128, + "column": 52 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -54353,50 +56337,49 @@ "postfix": false, "binop": null }, - "start": 2712, - "end": 2713, + "value": "length", + "start": 2854, + "end": 2860, "loc": { "start": { - "line": 122, - "column": 37 + "line": 128, + "column": 52 }, "end": { - "line": 122, - "column": 38 + "line": 128, + "column": 58 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2714, - "end": 2715, + "start": 2861, + "end": 2862, "loc": { "start": { - "line": 122, - "column": 39 + "line": 128, + "column": 59 }, "end": { - "line": 122, - "column": 40 + "line": 128, + "column": 60 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -54406,74 +56389,51 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 2720, - "end": 2722, + "start": 2863, + "end": 2864, "loc": { "start": { - "line": 124, - "column": 3 + "line": 128, + "column": 61 }, "end": { - "line": 124, - "column": 5 + "line": 128, + "column": 62 } } }, { "type": { - "label": "(", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2723, - "end": 2724, - "loc": { - "start": { - "line": 124, - "column": 6 - }, - "end": { - "line": 124, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "cmp", - "start": 2725, - "end": 2728, + "value": "return", + "start": 2870, + "end": 2876, "loc": { "start": { - "line": 124, - "column": 8 + "line": 130, + "column": 4 }, "end": { - "line": 124, - "column": 11 + "line": 130, + "column": 10 } } }, { "type": { - "label": "(", + "label": "new", + "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -54481,18 +56441,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2728, - "end": 2729, + "value": "new", + "start": 2877, + "end": 2880, "loc": { "start": { - "line": 124, + "line": 130, "column": 11 }, "end": { - "line": 124, - "column": 12 + "line": 130, + "column": 14 } } }, @@ -54508,43 +56470,42 @@ "postfix": false, "binop": null }, - "value": "a", - "start": 2730, - "end": 2731, + "value": "Integer", + "start": 2881, + "end": 2888, "loc": { "start": { - "line": 124, - "column": 13 + "line": 130, + "column": 15 }, "end": { - "line": 124, - "column": 14 + "line": 130, + "column": 22 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2732, - "end": 2733, + "start": 2888, + "end": 2889, "loc": { "start": { - "line": 124, - "column": 15 + "line": 130, + "column": 22 }, "end": { - "line": 124, - "column": 16 + "line": 130, + "column": 23 } } }, @@ -54560,17 +56521,17 @@ "postfix": false, "binop": null }, - "value": "ai", - "start": 2734, - "end": 2736, + "value": "r", + "start": 2890, + "end": 2891, "loc": { "start": { - "line": 124, - "column": 17 + "line": 130, + "column": 24 }, "end": { - "line": 124, - "column": 19 + "line": 130, + "column": 25 } } }, @@ -54587,74 +56548,50 @@ "binop": null, "updateContext": null }, - "start": 2737, - "end": 2738, - "loc": { - "start": { - "line": 124, - "column": 20 - }, - "end": { - "line": 124, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "aj", - "start": 2739, - "end": 2741, + "start": 2892, + "end": 2893, "loc": { "start": { - "line": 124, - "column": 22 + "line": 130, + "column": 26 }, "end": { - "line": 124, - "column": 24 + "line": 130, + "column": 27 } } }, { "type": { - "label": ",", + "label": "prefix", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, "binop": null, "updateContext": null }, - "start": 2742, - "end": 2743, + "value": "~", + "start": 2894, + "end": 2895, "loc": { "start": { - "line": 124, - "column": 25 + "line": 130, + "column": 28 }, "end": { - "line": 124, - "column": 26 + "line": 130, + "column": 29 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -54662,26 +56599,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "b", - "start": 2744, - "end": 2745, + "value": "this", + "start": 2895, + "end": 2899, "loc": { "start": { - "line": 124, - "column": 27 + "line": 130, + "column": 29 }, "end": { - "line": 124, - "column": 28 + "line": 130, + "column": 33 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -54691,16 +56629,16 @@ "binop": null, "updateContext": null }, - "start": 2746, - "end": 2747, + "start": 2899, + "end": 2900, "loc": { "start": { - "line": 124, - "column": 29 + "line": 130, + "column": 33 }, "end": { - "line": 124, - "column": 30 + "line": 130, + "column": 34 } } }, @@ -54716,17 +56654,17 @@ "postfix": false, "binop": null }, - "value": "bi", - "start": 2748, - "end": 2750, + "value": "is_negative", + "start": 2900, + "end": 2911, "loc": { "start": { - "line": 124, - "column": 31 + "line": 130, + "column": 34 }, "end": { - "line": 124, - "column": 33 + "line": 130, + "column": 45 } } }, @@ -54743,16 +56681,16 @@ "binop": null, "updateContext": null }, - "start": 2751, - "end": 2752, + "start": 2912, + "end": 2913, "loc": { "start": { - "line": 124, - "column": 34 + "line": 130, + "column": 46 }, "end": { - "line": 124, - "column": 35 + "line": 130, + "column": 47 } } }, @@ -54768,17 +56706,17 @@ "postfix": false, "binop": null }, - "value": "bj", - "start": 2753, - "end": 2755, + "value": "c", + "start": 2914, + "end": 2915, "loc": { "start": { - "line": 124, - "column": 36 + "line": 130, + "column": 48 }, "end": { - "line": 124, - "column": 38 + "line": 130, + "column": 49 } } }, @@ -54794,22 +56732,22 @@ "postfix": false, "binop": null }, - "start": 2756, - "end": 2757, + "start": 2916, + "end": 2917, "loc": { "start": { - "line": 124, - "column": 39 + "line": 130, + "column": 50 }, "end": { - "line": 124, - "column": 40 + "line": 130, + "column": 51 } } }, { "type": { - "label": "", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -54817,72 +56755,72 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, + "binop": null, "updateContext": null }, - "value": "<", - "start": 2758, - "end": 2759, + "start": 2918, + "end": 2919, "loc": { "start": { - "line": 124, - "column": 41 + "line": 130, + "column": 52 }, "end": { - "line": 124, - "column": 42 + "line": 130, + "column": 53 } } }, { "type": { - "label": "num", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 2760, - "end": 2761, + "start": 2923, + "end": 2924, "loc": { "start": { - "line": 124, - "column": 43 + "line": 131, + "column": 3 }, "end": { - "line": 124, - "column": 44 + "line": 131, + "column": 4 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "else", + "keyword": "else", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2762, - "end": 2763, + "value": "else", + "start": 2929, + "end": 2933, "loc": { "start": { - "line": 124, - "column": 45 + "line": 133, + "column": 3 }, "end": { - "line": 124, - "column": 46 + "line": 133, + "column": 7 } } }, @@ -54898,16 +56836,16 @@ "postfix": false, "binop": null }, - "start": 2764, - "end": 2765, + "start": 2934, + "end": 2935, "loc": { "start": { - "line": 124, - "column": 47 + "line": 133, + "column": 8 }, "end": { - "line": 124, - "column": 48 + "line": 133, + "column": 9 } } }, @@ -54926,15 +56864,15 @@ "updateContext": null }, "value": "const", - "start": 2771, - "end": 2776, + "start": 2941, + "end": 2946, "loc": { "start": { - "line": 126, + "line": 135, "column": 4 }, "end": { - "line": 126, + "line": 135, "column": 9 } } @@ -54952,15 +56890,15 @@ "binop": null }, "value": "c", - "start": 2777, - "end": 2778, + "start": 2947, + "end": 2948, "loc": { "start": { - "line": 126, + "line": 135, "column": 10 }, "end": { - "line": 126, + "line": 135, "column": 11 } } @@ -54979,15 +56917,15 @@ "updateContext": null }, "value": "=", - "start": 2779, - "end": 2780, + "start": 2949, + "end": 2950, "loc": { "start": { - "line": 126, + "line": 135, "column": 12 }, "end": { - "line": 126, + "line": 135, "column": 13 } } @@ -55005,15 +56943,15 @@ "binop": null }, "value": "_zeros", - "start": 2781, - "end": 2787, + "start": 2951, + "end": 2957, "loc": { "start": { - "line": 126, + "line": 135, "column": 14 }, "end": { - "line": 126, + "line": 135, "column": 20 } } @@ -55030,15 +56968,15 @@ "postfix": false, "binop": null }, - "start": 2787, - "end": 2788, + "start": 2957, + "end": 2958, "loc": { "start": { - "line": 126, + "line": 135, "column": 20 }, "end": { - "line": 126, + "line": 135, "column": 21 } } @@ -55055,16 +56993,16 @@ "postfix": false, "binop": null }, - "value": "bj", - "start": 2789, - "end": 2791, + "value": "aj", + "start": 2959, + "end": 2961, "loc": { "start": { - "line": 126, + "line": 135, "column": 22 }, "end": { - "line": 126, + "line": 135, "column": 24 } } @@ -55083,15 +57021,15 @@ "updateContext": null }, "value": "-", - "start": 2792, - "end": 2793, + "start": 2962, + "end": 2963, "loc": { "start": { - "line": 126, + "line": 135, "column": 25 }, "end": { - "line": 126, + "line": 135, "column": 26 } } @@ -55108,16 +57046,16 @@ "postfix": false, "binop": null }, - "value": "bi", - "start": 2794, - "end": 2796, + "value": "ai", + "start": 2964, + "end": 2966, "loc": { "start": { - "line": 126, + "line": 135, "column": 27 }, "end": { - "line": 126, + "line": 135, "column": 29 } } @@ -55134,15 +57072,15 @@ "postfix": false, "binop": null }, - "start": 2797, - "end": 2798, + "start": 2967, + "end": 2968, "loc": { "start": { - "line": 126, + "line": 135, "column": 30 }, "end": { - "line": 126, + "line": 135, "column": 31 } } @@ -55160,15 +57098,15 @@ "binop": null, "updateContext": null }, - "start": 2799, - "end": 2800, + "start": 2969, + "end": 2970, "loc": { "start": { - "line": 126, + "line": 135, "column": 32 }, "end": { - "line": 126, + "line": 135, "column": 33 } } @@ -55186,15 +57124,15 @@ "binop": null }, "value": "_sub", - "start": 2806, - "end": 2810, + "start": 2976, + "end": 2980, "loc": { "start": { - "line": 128, + "line": 137, "column": 4 }, "end": { - "line": 128, + "line": 137, "column": 8 } } @@ -55211,15 +57149,15 @@ "postfix": false, "binop": null }, - "start": 2810, - "end": 2811, + "start": 2980, + "end": 2981, "loc": { "start": { - "line": 128, + "line": 137, "column": 8 }, "end": { - "line": 128, + "line": 137, "column": 9 } } @@ -55237,15 +57175,15 @@ "binop": null }, "value": "r", - "start": 2812, - "end": 2813, + "start": 2982, + "end": 2983, "loc": { "start": { - "line": 128, + "line": 137, "column": 10 }, "end": { - "line": 128, + "line": 137, "column": 11 } } @@ -55263,15 +57201,15 @@ "binop": null, "updateContext": null }, - "start": 2814, - "end": 2815, + "start": 2984, + "end": 2985, "loc": { "start": { - "line": 128, + "line": 137, "column": 12 }, "end": { - "line": 128, + "line": 137, "column": 13 } } @@ -55288,16 +57226,16 @@ "postfix": false, "binop": null }, - "value": "b", - "start": 2816, - "end": 2817, + "value": "a", + "start": 2986, + "end": 2987, "loc": { "start": { - "line": 128, + "line": 137, "column": 14 }, "end": { - "line": 128, + "line": 137, "column": 15 } } @@ -55315,15 +57253,15 @@ "binop": null, "updateContext": null }, - "start": 2818, - "end": 2819, + "start": 2988, + "end": 2989, "loc": { "start": { - "line": 128, + "line": 137, "column": 16 }, "end": { - "line": 128, + "line": 137, "column": 17 } } @@ -55340,16 +57278,16 @@ "postfix": false, "binop": null }, - "value": "bi", - "start": 2820, - "end": 2822, + "value": "ai", + "start": 2990, + "end": 2992, "loc": { "start": { - "line": 128, + "line": 137, "column": 18 }, "end": { - "line": 128, + "line": 137, "column": 20 } } @@ -55367,15 +57305,15 @@ "binop": null, "updateContext": null }, - "start": 2823, - "end": 2824, + "start": 2993, + "end": 2994, "loc": { "start": { - "line": 128, + "line": 137, "column": 21 }, "end": { - "line": 128, + "line": 137, "column": 22 } } @@ -55392,16 +57330,16 @@ "postfix": false, "binop": null }, - "value": "bj", - "start": 2825, - "end": 2827, + "value": "aj", + "start": 2995, + "end": 2997, "loc": { "start": { - "line": 128, + "line": 137, "column": 23 }, "end": { - "line": 128, + "line": 137, "column": 25 } } @@ -55419,15 +57357,15 @@ "binop": null, "updateContext": null }, - "start": 2828, - "end": 2829, + "start": 2998, + "end": 2999, "loc": { "start": { - "line": 128, + "line": 137, "column": 26 }, "end": { - "line": 128, + "line": 137, "column": 27 } } @@ -55444,16 +57382,16 @@ "postfix": false, "binop": null }, - "value": "a", - "start": 2830, - "end": 2831, + "value": "b", + "start": 3000, + "end": 3001, "loc": { "start": { - "line": 128, + "line": 137, "column": 28 }, "end": { - "line": 128, + "line": 137, "column": 29 } } @@ -55471,15 +57409,15 @@ "binop": null, "updateContext": null }, - "start": 2832, - "end": 2833, + "start": 3002, + "end": 3003, "loc": { "start": { - "line": 128, + "line": 137, "column": 30 }, "end": { - "line": 128, + "line": 137, "column": 31 } } @@ -55496,16 +57434,16 @@ "postfix": false, "binop": null }, - "value": "ai", - "start": 2834, - "end": 2836, + "value": "bi", + "start": 3004, + "end": 3006, "loc": { "start": { - "line": 128, + "line": 137, "column": 32 }, "end": { - "line": 128, + "line": 137, "column": 34 } } @@ -55523,15 +57461,15 @@ "binop": null, "updateContext": null }, - "start": 2837, - "end": 2838, + "start": 3007, + "end": 3008, "loc": { "start": { - "line": 128, + "line": 137, "column": 35 }, "end": { - "line": 128, + "line": 137, "column": 36 } } @@ -55548,16 +57486,16 @@ "postfix": false, "binop": null }, - "value": "aj", - "start": 2839, - "end": 2841, + "value": "bj", + "start": 3009, + "end": 3011, "loc": { "start": { - "line": 128, + "line": 137, "column": 37 }, "end": { - "line": 128, + "line": 137, "column": 39 } } @@ -55575,15 +57513,15 @@ "binop": null, "updateContext": null }, - "start": 2842, - "end": 2843, + "start": 3012, + "end": 3013, "loc": { "start": { - "line": 128, + "line": 137, "column": 40 }, "end": { - "line": 128, + "line": 137, "column": 41 } } @@ -55601,15 +57539,15 @@ "binop": null }, "value": "c", - "start": 2844, - "end": 2845, + "start": 3014, + "end": 3015, "loc": { "start": { - "line": 128, + "line": 137, "column": 42 }, "end": { - "line": 128, + "line": 137, "column": 43 } } @@ -55627,15 +57565,15 @@ "binop": null, "updateContext": null }, - "start": 2846, - "end": 2847, + "start": 3016, + "end": 3017, "loc": { "start": { - "line": 128, + "line": 137, "column": 44 }, "end": { - "line": 128, + "line": 137, "column": 45 } } @@ -55654,15 +57592,15 @@ "updateContext": null }, "value": 0, - "start": 2848, - "end": 2849, + "start": 3018, + "end": 3019, "loc": { "start": { - "line": 128, + "line": 137, "column": 46 }, "end": { - "line": 128, + "line": 137, "column": 47 } } @@ -55680,15 +57618,15 @@ "binop": null, "updateContext": null }, - "start": 2850, - "end": 2851, + "start": 3020, + "end": 3021, "loc": { "start": { - "line": 128, + "line": 137, "column": 48 }, "end": { - "line": 128, + "line": 137, "column": 49 } } @@ -55706,15 +57644,15 @@ "binop": null }, "value": "c", - "start": 2852, - "end": 2853, + "start": 3022, + "end": 3023, "loc": { "start": { - "line": 128, + "line": 137, "column": 50 }, "end": { - "line": 128, + "line": 137, "column": 51 } } @@ -55732,15 +57670,15 @@ "binop": null, "updateContext": null }, - "start": 2853, - "end": 2854, + "start": 3023, + "end": 3024, "loc": { "start": { - "line": 128, + "line": 137, "column": 51 }, "end": { - "line": 128, + "line": 137, "column": 52 } } @@ -55758,15 +57696,15 @@ "binop": null }, "value": "length", - "start": 2854, - "end": 2860, + "start": 3024, + "end": 3030, "loc": { "start": { - "line": 128, + "line": 137, "column": 52 }, "end": { - "line": 128, + "line": 137, "column": 58 } } @@ -55783,15 +57721,15 @@ "postfix": false, "binop": null }, - "start": 2861, - "end": 2862, + "start": 3031, + "end": 3032, "loc": { "start": { - "line": 128, + "line": 137, "column": 59 }, "end": { - "line": 128, + "line": 137, "column": 60 } } @@ -55809,15 +57747,15 @@ "binop": null, "updateContext": null }, - "start": 2863, - "end": 2864, + "start": 3033, + "end": 3034, "loc": { "start": { - "line": 128, + "line": 137, "column": 61 }, "end": { - "line": 128, + "line": 137, "column": 62 } } @@ -55837,15 +57775,15 @@ "updateContext": null }, "value": "return", - "start": 2870, - "end": 2876, + "start": 3040, + "end": 3046, "loc": { "start": { - "line": 130, + "line": 139, "column": 4 }, "end": { - "line": 130, + "line": 139, "column": 10 } } @@ -55865,15 +57803,15 @@ "updateContext": null }, "value": "new", - "start": 2877, - "end": 2880, + "start": 3047, + "end": 3050, "loc": { "start": { - "line": 130, + "line": 139, "column": 11 }, "end": { - "line": 130, + "line": 139, "column": 14 } } @@ -55891,15 +57829,15 @@ "binop": null }, "value": "Integer", - "start": 2881, - "end": 2888, + "start": 3051, + "end": 3058, "loc": { "start": { - "line": 130, + "line": 139, "column": 15 }, "end": { - "line": 130, + "line": 139, "column": 22 } } @@ -55916,15 +57854,15 @@ "postfix": false, "binop": null }, - "start": 2888, - "end": 2889, + "start": 3058, + "end": 3059, "loc": { "start": { - "line": 130, + "line": 139, "column": 22 }, "end": { - "line": 130, + "line": 139, "column": 23 } } @@ -55942,15 +57880,15 @@ "binop": null }, "value": "r", - "start": 2890, - "end": 2891, + "start": 3060, + "end": 3061, "loc": { "start": { - "line": 130, + "line": 139, "column": 24 }, "end": { - "line": 130, + "line": 139, "column": 25 } } @@ -55968,46 +57906,19 @@ "binop": null, "updateContext": null }, - "start": 2892, - "end": 2893, + "start": 3062, + "end": 3063, "loc": { "start": { - "line": 130, + "line": 139, "column": 26 }, "end": { - "line": 130, + "line": 139, "column": 27 } } }, - { - "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "~", - "start": 2894, - "end": 2895, - "loc": { - "start": { - "line": 130, - "column": 28 - }, - "end": { - "line": 130, - "column": 29 - } - } - }, { "type": { "label": "this", @@ -56023,16 +57934,16 @@ "updateContext": null }, "value": "this", - "start": 2895, - "end": 2899, + "start": 3064, + "end": 3068, "loc": { "start": { - "line": 130, - "column": 29 + "line": 139, + "column": 28 }, "end": { - "line": 130, - "column": 33 + "line": 139, + "column": 32 } } }, @@ -56049,16 +57960,16 @@ "binop": null, "updateContext": null }, - "start": 2899, - "end": 2900, + "start": 3068, + "end": 3069, "loc": { "start": { - "line": 130, - "column": 33 + "line": 139, + "column": 32 }, "end": { - "line": 130, - "column": 34 + "line": 139, + "column": 33 } } }, @@ -56075,16 +57986,16 @@ "binop": null }, "value": "is_negative", - "start": 2900, - "end": 2911, + "start": 3069, + "end": 3080, "loc": { "start": { - "line": 130, - "column": 34 + "line": 139, + "column": 33 }, "end": { - "line": 130, - "column": 45 + "line": 139, + "column": 44 } } }, @@ -56101,16 +58012,16 @@ "binop": null, "updateContext": null }, - "start": 2912, - "end": 2913, + "start": 3081, + "end": 3082, "loc": { "start": { - "line": 130, - "column": 46 + "line": 139, + "column": 45 }, "end": { - "line": 130, - "column": 47 + "line": 139, + "column": 46 } } }, @@ -56127,16 +58038,16 @@ "binop": null }, "value": "c", - "start": 2914, - "end": 2915, + "start": 3083, + "end": 3084, "loc": { "start": { - "line": 130, - "column": 48 + "line": 139, + "column": 47 }, "end": { - "line": 130, - "column": 49 + "line": 139, + "column": 48 } } }, @@ -56152,16 +58063,16 @@ "postfix": false, "binop": null }, - "start": 2916, - "end": 2917, + "start": 3085, + "end": 3086, "loc": { "start": { - "line": 130, - "column": 50 + "line": 139, + "column": 49 }, "end": { - "line": 130, - "column": 51 + "line": 139, + "column": 50 } } }, @@ -56178,16 +58089,16 @@ "binop": null, "updateContext": null }, - "start": 2918, - "end": 2919, + "start": 3087, + "end": 3088, "loc": { "start": { - "line": 130, - "column": 52 + "line": 139, + "column": 51 }, "end": { - "line": 130, - "column": 53 + "line": 139, + "column": 52 } } }, @@ -56203,51 +58114,124 @@ "postfix": false, "binop": null }, - "start": 2923, - "end": 2924, + "start": 3093, + "end": 3094, "loc": { "start": { - "line": 131, + "line": 141, "column": 3 }, "end": { - "line": 131, + "line": 141, "column": 4 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3098, + "end": 3099, + "loc": { + "start": { + "line": 143, + "column": 2 + }, + "end": { + "line": 143, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null + }, + "start": 3102, + "end": 3103, + "loc": { + "start": { + "line": 145, + "column": 1 + }, + "end": { + "line": 145, + "column": 2 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isub", + "start": 3106, + "end": 3110, + "loc": { + "start": { + "line": 147, + "column": 1 + }, + "end": { + "line": 147, + "column": 5 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null }, - "value": "else", - "start": 2929, - "end": 2933, + "start": 3111, + "end": 3112, "loc": { "start": { - "line": 133, - "column": 3 + "line": 147, + "column": 6 }, "end": { - "line": 133, + "line": 147, "column": 7 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -56256,23 +58240,23 @@ "postfix": false, "binop": null }, - "start": 2934, - "end": 2935, + "value": "other", + "start": 3113, + "end": 3118, "loc": { "start": { - "line": 133, + "line": 147, "column": 8 }, "end": { - "line": 133, - "column": 9 + "line": 147, + "column": 13 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -56280,27 +58264,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 2941, - "end": 2946, + "start": 3119, + "end": 3120, "loc": { "start": { - "line": 135, - "column": 4 + "line": 147, + "column": 14 }, "end": { - "line": 135, - "column": 9 + "line": 147, + "column": 15 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -56309,50 +58291,67 @@ "postfix": false, "binop": null }, - "value": "c", - "start": 2947, - "end": 2948, + "start": 3121, + "end": 3122, "loc": { "start": { - "line": 135, - "column": 10 + "line": 147, + "column": 16 }, "end": { - "line": 135, - "column": 11 + "line": 147, + "column": 17 + } + } + }, + { + "type": "CommentLine", + "value": " TODO optimize but be careful with side effects", + "start": 3125, + "end": 3174, + "loc": { + "start": { + "line": 148, + "column": 2 + }, + "end": { + "line": 148, + "column": 51 } } }, { "type": { - "label": "=", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 2949, - "end": 2950, + "value": "return", + "start": 3177, + "end": 3183, "loc": { "start": { - "line": 135, - "column": 12 + "line": 149, + "column": 2 }, "end": { - "line": 135, - "column": 13 + "line": 149, + "column": 8 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -56360,44 +58359,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "_zeros", - "start": 2951, - "end": 2957, + "value": "this", + "start": 3184, + "end": 3188, "loc": { "start": { - "line": 135, - "column": 14 + "line": 149, + "column": 9 }, "end": { - "line": 135, - "column": 20 + "line": 149, + "column": 13 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2957, - "end": 2958, + "start": 3188, + "end": 3189, "loc": { "start": { - "line": 135, - "column": 20 + "line": 149, + "column": 13 }, "end": { - "line": 135, - "column": 21 + "line": 149, + "column": 14 } } }, @@ -56413,44 +58414,42 @@ "postfix": false, "binop": null }, - "value": "aj", - "start": 2959, - "end": 2961, + "value": "sub", + "start": 3189, + "end": 3192, "loc": { "start": { - "line": 135, - "column": 22 + "line": 149, + "column": 14 }, "end": { - "line": 135, - "column": 24 + "line": 149, + "column": 17 } } }, { "type": { - "label": "+/-", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, - "updateContext": null + "binop": null }, - "value": "-", - "start": 2962, - "end": 2963, + "start": 3192, + "end": 3193, "loc": { "start": { - "line": 135, - "column": 25 + "line": 149, + "column": 17 }, "end": { - "line": 135, - "column": 26 + "line": 149, + "column": 18 } } }, @@ -56466,17 +58465,17 @@ "postfix": false, "binop": null }, - "value": "ai", - "start": 2964, - "end": 2966, + "value": "other", + "start": 3193, + "end": 3198, "loc": { "start": { - "line": 135, - "column": 27 + "line": 149, + "column": 18 }, "end": { - "line": 135, - "column": 29 + "line": 149, + "column": 23 } } }, @@ -56492,23 +58491,23 @@ "postfix": false, "binop": null }, - "start": 2967, - "end": 2968, + "start": 3198, + "end": 3199, "loc": { "start": { - "line": 135, - "column": 30 + "line": 149, + "column": 23 }, "end": { - "line": 135, - "column": 31 + "line": 149, + "column": 24 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -56518,16 +58517,16 @@ "binop": null, "updateContext": null }, - "start": 2969, - "end": 2970, + "start": 3199, + "end": 3200, "loc": { "start": { - "line": 135, - "column": 32 + "line": 149, + "column": 24 }, "end": { - "line": 135, - "column": 33 + "line": 149, + "column": 25 } } }, @@ -56543,17 +58542,17 @@ "postfix": false, "binop": null }, - "value": "_sub", - "start": 2976, - "end": 2980, + "value": "move", + "start": 3200, + "end": 3204, "loc": { "start": { - "line": 137, - "column": 4 + "line": 149, + "column": 25 }, "end": { - "line": 137, - "column": 8 + "line": 149, + "column": 29 } } }, @@ -56569,22 +58568,23 @@ "postfix": false, "binop": null }, - "start": 2980, - "end": 2981, + "start": 3204, + "end": 3205, "loc": { "start": { - "line": 137, - "column": 8 + "line": 149, + "column": 29 }, "end": { - "line": 137, - "column": 9 + "line": 149, + "column": 30 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -56592,53 +58592,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "value": "r", - "start": 2982, - "end": 2983, - "loc": { - "start": { - "line": 137, - "column": 10 - }, - "end": { - "line": 137, - "column": 11 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "start": 2984, - "end": 2985, + "value": "this", + "start": 3205, + "end": 3209, "loc": { "start": { - "line": 137, - "column": 12 + "line": 149, + "column": 30 }, "end": { - "line": 137, - "column": 13 + "line": 149, + "column": 34 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -56646,23 +58621,22 @@ "postfix": false, "binop": null }, - "value": "a", - "start": 2986, - "end": 2987, + "start": 3209, + "end": 3210, "loc": { "start": { - "line": 137, - "column": 14 + "line": 149, + "column": 34 }, "end": { - "line": 137, - "column": 15 + "line": 149, + "column": 35 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -56673,68 +58647,41 @@ "binop": null, "updateContext": null }, - "start": 2988, - "end": 2989, + "start": 3210, + "end": 3211, "loc": { "start": { - "line": 137, - "column": 16 + "line": 149, + "column": 35 }, "end": { - "line": 137, - "column": 17 + "line": 149, + "column": 36 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "ai", - "start": 2990, - "end": 2992, - "loc": { - "start": { - "line": 137, - "column": 18 - }, - "end": { - "line": 137, - "column": 20 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2993, - "end": 2994, + "start": 3213, + "end": 3214, "loc": { "start": { - "line": 137, - "column": 21 + "line": 150, + "column": 1 }, "end": { - "line": 137, - "column": 22 + "line": 150, + "column": 2 } } }, @@ -56750,43 +58697,42 @@ "postfix": false, "binop": null }, - "value": "aj", - "start": 2995, - "end": 2997, + "value": "subn", + "start": 3217, + "end": 3221, "loc": { "start": { - "line": 137, - "column": 23 + "line": 152, + "column": 1 }, "end": { - "line": 137, - "column": 25 + "line": 152, + "column": 5 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2998, - "end": 2999, + "start": 3222, + "end": 3223, "loc": { "start": { - "line": 137, - "column": 26 + "line": 152, + "column": 6 }, "end": { - "line": 137, - "column": 27 + "line": 152, + "column": 7 } } }, @@ -56802,50 +58748,49 @@ "postfix": false, "binop": null }, - "value": "b", - "start": 3000, - "end": 3001, + "value": "number", + "start": 3224, + "end": 3230, "loc": { "start": { - "line": 137, - "column": 28 + "line": 152, + "column": 8 }, "end": { - "line": 137, - "column": 29 + "line": 152, + "column": 14 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3002, - "end": 3003, + "start": 3231, + "end": 3232, "loc": { "start": { - "line": 137, - "column": 30 + "line": 152, + "column": 15 }, "end": { - "line": 137, - "column": 31 + "line": 152, + "column": 16 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -56854,23 +58799,23 @@ "postfix": false, "binop": null }, - "value": "bi", - "start": 3004, - "end": 3006, + "start": 3233, + "end": 3234, "loc": { "start": { - "line": 137, - "column": 32 + "line": 152, + "column": 17 }, "end": { - "line": 137, - "column": 34 + "line": 152, + "column": 18 } } }, { "type": { - "label": ",", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -56881,22 +58826,24 @@ "binop": null, "updateContext": null }, - "start": 3007, - "end": 3008, + "value": "return", + "start": 3237, + "end": 3243, "loc": { "start": { - "line": 137, - "column": 35 + "line": 153, + "column": 2 }, "end": { - "line": 137, - "column": 36 + "line": 153, + "column": 8 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -56904,26 +58851,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "bj", - "start": 3009, - "end": 3011, + "value": "this", + "start": 3244, + "end": 3248, "loc": { "start": { - "line": 137, - "column": 37 + "line": 153, + "column": 9 }, "end": { - "line": 137, - "column": 39 + "line": 153, + "column": 13 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -56933,16 +58881,16 @@ "binop": null, "updateContext": null }, - "start": 3012, - "end": 3013, + "start": 3248, + "end": 3249, "loc": { "start": { - "line": 137, - "column": 40 + "line": 153, + "column": 13 }, "end": { - "line": 137, - "column": 41 + "line": 153, + "column": 14 } } }, @@ -56958,49 +58906,48 @@ "postfix": false, "binop": null }, - "value": "c", - "start": 3014, - "end": 3015, + "value": "sub", + "start": 3249, + "end": 3252, "loc": { "start": { - "line": 137, - "column": 42 + "line": 153, + "column": 14 }, "end": { - "line": 137, - "column": 43 + "line": 153, + "column": 17 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3016, - "end": 3017, + "start": 3252, + "end": 3253, "loc": { "start": { - "line": 137, - "column": 44 + "line": 153, + "column": 17 }, "end": { - "line": 137, - "column": 45 + "line": 153, + "column": 18 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -57008,46 +58955,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 3018, - "end": 3019, + "value": "_from_number", + "start": 3253, + "end": 3265, "loc": { "start": { - "line": 137, - "column": 46 + "line": 153, + "column": 18 }, "end": { - "line": 137, - "column": 47 + "line": 153, + "column": 30 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3020, - "end": 3021, + "start": 3265, + "end": 3266, "loc": { "start": { - "line": 137, - "column": 48 + "line": 153, + "column": 30 }, "end": { - "line": 137, - "column": 49 + "line": 153, + "column": 31 } } }, @@ -57063,23 +59008,23 @@ "postfix": false, "binop": null }, - "value": "c", - "start": 3022, - "end": 3023, + "value": "number", + "start": 3266, + "end": 3272, "loc": { "start": { - "line": 137, - "column": 50 + "line": 153, + "column": 31 }, "end": { - "line": 137, - "column": 51 + "line": 153, + "column": 37 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -57087,27 +59032,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3023, - "end": 3024, + "start": 3272, + "end": 3273, "loc": { "start": { - "line": 137, - "column": 51 + "line": 153, + "column": 37 }, "end": { - "line": 137, - "column": 52 + "line": 153, + "column": 38 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -57115,103 +59059,99 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 3024, - "end": 3030, + "start": 3273, + "end": 3274, "loc": { "start": { - "line": 137, - "column": 52 + "line": 153, + "column": 38 }, "end": { - "line": 137, - "column": 58 + "line": 153, + "column": 39 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3031, - "end": 3032, + "start": 3274, + "end": 3275, "loc": { "start": { - "line": 137, - "column": 59 + "line": 153, + "column": 39 }, "end": { - "line": 137, - "column": 60 + "line": 153, + "column": 40 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3033, - "end": 3034, + "start": 3277, + "end": 3278, "loc": { "start": { - "line": 137, - "column": 61 + "line": 154, + "column": 1 }, "end": { - "line": 137, - "column": 62 + "line": 154, + "column": 2 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 3040, - "end": 3046, + "value": "isubn", + "start": 3281, + "end": 3286, "loc": { "start": { - "line": 139, - "column": 4 + "line": 156, + "column": 1 }, "end": { - "line": 139, - "column": 10 + "line": 156, + "column": 6 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -57219,20 +59159,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 3047, - "end": 3050, + "start": 3287, + "end": 3288, "loc": { "start": { - "line": 139, - "column": 11 + "line": 156, + "column": 7 }, "end": { - "line": 139, - "column": 14 + "line": 156, + "column": 8 } } }, @@ -57248,25 +59186,25 @@ "postfix": false, "binop": null }, - "value": "Integer", - "start": 3051, - "end": 3058, + "value": "number", + "start": 3289, + "end": 3295, "loc": { "start": { - "line": 139, - "column": 15 + "line": 156, + "column": 9 }, "end": { - "line": 139, - "column": 22 + "line": 156, + "column": 15 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -57274,23 +59212,23 @@ "postfix": false, "binop": null }, - "start": 3058, - "end": 3059, + "start": 3296, + "end": 3297, "loc": { "start": { - "line": 139, - "column": 22 + "line": 156, + "column": 16 }, "end": { - "line": 139, - "column": 23 + "line": 156, + "column": 17 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -57299,23 +59237,23 @@ "postfix": false, "binop": null }, - "value": "r", - "start": 3060, - "end": 3061, + "start": 3298, + "end": 3299, "loc": { "start": { - "line": 139, - "column": 24 + "line": 156, + "column": 18 }, "end": { - "line": 139, - "column": 25 + "line": 156, + "column": 19 } } }, { "type": { - "label": ",", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -57326,16 +59264,17 @@ "binop": null, "updateContext": null }, - "start": 3062, - "end": 3063, + "value": "return", + "start": 3302, + "end": 3308, "loc": { "start": { - "line": 139, - "column": 26 + "line": 157, + "column": 2 }, "end": { - "line": 139, - "column": 27 + "line": 157, + "column": 8 } } }, @@ -57354,16 +59293,16 @@ "updateContext": null }, "value": "this", - "start": 3064, - "end": 3068, + "start": 3309, + "end": 3313, "loc": { "start": { - "line": 139, - "column": 28 + "line": 157, + "column": 9 }, "end": { - "line": 139, - "column": 32 + "line": 157, + "column": 13 } } }, @@ -57380,16 +59319,16 @@ "binop": null, "updateContext": null }, - "start": 3068, - "end": 3069, + "start": 3313, + "end": 3314, "loc": { "start": { - "line": 139, - "column": 32 + "line": 157, + "column": 13 }, "end": { - "line": 139, - "column": 33 + "line": 157, + "column": 14 } } }, @@ -57405,43 +59344,42 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 3069, - "end": 3080, + "value": "subn", + "start": 3314, + "end": 3318, "loc": { "start": { - "line": 139, - "column": 33 + "line": 157, + "column": 14 }, "end": { - "line": 139, - "column": 44 + "line": 157, + "column": 18 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3081, - "end": 3082, + "start": 3318, + "end": 3319, "loc": { "start": { - "line": 139, - "column": 45 + "line": 157, + "column": 18 }, "end": { - "line": 139, - "column": 46 + "line": 157, + "column": 19 } } }, @@ -57457,17 +59395,17 @@ "postfix": false, "binop": null }, - "value": "c", - "start": 3083, - "end": 3084, + "value": "number", + "start": 3319, + "end": 3325, "loc": { "start": { - "line": 139, - "column": 47 + "line": 157, + "column": 19 }, "end": { - "line": 139, - "column": 48 + "line": 157, + "column": 25 } } }, @@ -57483,23 +59421,23 @@ "postfix": false, "binop": null }, - "start": 3085, - "end": 3086, + "start": 3325, + "end": 3326, "loc": { "start": { - "line": 139, - "column": 49 + "line": 157, + "column": 25 }, "end": { - "line": 139, - "column": 50 + "line": 157, + "column": 26 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -57509,24 +59447,24 @@ "binop": null, "updateContext": null }, - "start": 3087, - "end": 3088, + "start": 3326, + "end": 3327, "loc": { "start": { - "line": 139, - "column": 51 + "line": 157, + "column": 26 }, "end": { - "line": 139, - "column": 52 + "line": 157, + "column": 27 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -57534,24 +59472,25 @@ "postfix": false, "binop": null }, - "start": 3093, - "end": 3094, + "value": "move", + "start": 3327, + "end": 3331, "loc": { "start": { - "line": 141, - "column": 3 + "line": 157, + "column": 27 }, "end": { - "line": 141, - "column": 4 + "line": 157, + "column": 31 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -57559,49 +59498,52 @@ "postfix": false, "binop": null }, - "start": 3098, - "end": 3099, + "start": 3331, + "end": 3332, "loc": { "start": { - "line": 143, - "column": 2 + "line": 157, + "column": 31 }, "end": { - "line": 143, - "column": 3 + "line": 157, + "column": 32 } } }, { "type": { - "label": "}", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3102, - "end": 3103, + "value": "this", + "start": 3332, + "end": 3336, "loc": { "start": { - "line": 145, - "column": 1 + "line": 157, + "column": 32 }, "end": { - "line": 145, - "column": 2 + "line": 157, + "column": 36 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -57609,50 +59551,50 @@ "postfix": false, "binop": null }, - "value": "isub", - "start": 3106, - "end": 3110, + "start": 3336, + "end": 3337, "loc": { "start": { - "line": 147, - "column": 1 + "line": 157, + "column": 36 }, "end": { - "line": 147, - "column": 5 + "line": 157, + "column": 37 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3111, - "end": 3112, + "start": 3337, + "end": 3338, "loc": { "start": { - "line": 147, - "column": 6 + "line": 157, + "column": 37 }, "end": { - "line": 147, - "column": 7 + "line": 157, + "column": 38 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -57660,25 +59602,24 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 3113, - "end": 3118, + "start": 3340, + "end": 3341, "loc": { "start": { - "line": 147, - "column": 8 + "line": 158, + "column": 1 }, "end": { - "line": 147, - "column": 13 + "line": 158, + "column": 2 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -57686,22 +59627,23 @@ "postfix": false, "binop": null }, - "start": 3119, - "end": 3120, + "value": "mul", + "start": 3344, + "end": 3347, "loc": { "start": { - "line": 147, - "column": 14 + "line": 160, + "column": 1 }, "end": { - "line": 147, - "column": 15 + "line": 160, + "column": 4 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -57711,94 +59653,99 @@ "postfix": false, "binop": null }, - "start": 3121, - "end": 3122, + "start": 3348, + "end": 3349, "loc": { "start": { - "line": 147, - "column": 16 + "line": 160, + "column": 5 }, "end": { - "line": 147, - "column": 17 + "line": 160, + "column": 6 } } }, { - "type": "CommentLine", - "value": " TODO optimize but be careful with side effects", - "start": 3125, - "end": 3174, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 3350, + "end": 3355, "loc": { "start": { - "line": 148, - "column": 2 + "line": 160, + "column": 7 }, "end": { - "line": 148, - "column": 51 + "line": 160, + "column": 12 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 3177, - "end": 3183, + "start": 3356, + "end": 3357, "loc": { "start": { - "line": 149, - "column": 2 + "line": 160, + "column": 13 }, "end": { - "line": 149, - "column": 8 + "line": 160, + "column": 14 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 3184, - "end": 3188, + "start": 3358, + "end": 3359, "loc": { "start": { - "line": 149, - "column": 9 + "line": 160, + "column": 15 }, "end": { - "line": 149, - "column": 13 + "line": 160, + "column": 16 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -57809,16 +59756,17 @@ "binop": null, "updateContext": null }, - "start": 3188, - "end": 3189, + "value": "const", + "start": 3363, + "end": 3368, "loc": { "start": { - "line": 149, - "column": 13 + "line": 162, + "column": 2 }, "end": { - "line": 149, - "column": 14 + "line": 162, + "column": 7 } } }, @@ -57834,48 +59782,51 @@ "postfix": false, "binop": null }, - "value": "sub", - "start": 3189, - "end": 3192, + "value": "result_is_negative", + "start": 3369, + "end": 3387, "loc": { "start": { - "line": 149, - "column": 14 + "line": 162, + "column": 8 }, "end": { - "line": 149, - "column": 17 + "line": 162, + "column": 26 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3192, - "end": 3193, + "value": "=", + "start": 3388, + "end": 3389, "loc": { "start": { - "line": 149, - "column": 17 + "line": 162, + "column": 27 }, "end": { - "line": 149, - "column": 18 + "line": 162, + "column": 28 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -57883,25 +59834,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "other", - "start": 3193, - "end": 3198, + "value": "this", + "start": 3390, + "end": 3394, "loc": { "start": { - "line": 149, - "column": 18 + "line": 162, + "column": 29 }, "end": { - "line": 149, - "column": 23 + "line": 162, + "column": 33 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -57909,77 +59861,79 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3198, - "end": 3199, + "start": 3394, + "end": 3395, "loc": { "start": { - "line": 149, - "column": 23 + "line": 162, + "column": 33 }, "end": { - "line": 149, - "column": 24 + "line": 162, + "column": 34 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3199, - "end": 3200, + "value": "is_negative", + "start": 3395, + "end": 3406, "loc": { "start": { - "line": 149, - "column": 24 + "line": 162, + "column": 34 }, "end": { - "line": 149, - "column": 25 + "line": 162, + "column": 45 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "^", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 4, + "updateContext": null }, - "value": "move", - "start": 3200, - "end": 3204, + "value": "^", + "start": 3407, + "end": 3408, "loc": { "start": { - "line": 149, - "column": 25 + "line": 162, + "column": 46 }, "end": { - "line": 149, - "column": 29 + "line": 162, + "column": 47 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -57988,25 +59942,25 @@ "postfix": false, "binop": null }, - "start": 3204, - "end": 3205, + "value": "other", + "start": 3409, + "end": 3414, "loc": { "start": { - "line": 149, - "column": 29 + "line": 162, + "column": 48 }, "end": { - "line": 149, - "column": 30 + "line": 162, + "column": 53 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -58015,25 +59969,24 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 3205, - "end": 3209, + "start": 3414, + "end": 3415, "loc": { "start": { - "line": 149, - "column": 30 + "line": 162, + "column": 53 }, "end": { - "line": 149, - "column": 34 + "line": 162, + "column": 54 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -58041,16 +59994,17 @@ "postfix": false, "binop": null }, - "start": 3209, - "end": 3210, + "value": "is_negative", + "start": 3415, + "end": 3426, "loc": { "start": { - "line": 149, - "column": 34 + "line": 162, + "column": 54 }, "end": { - "line": 149, - "column": 35 + "line": 162, + "column": 65 } } }, @@ -58067,22 +60021,23 @@ "binop": null, "updateContext": null }, - "start": 3210, - "end": 3211, + "start": 3427, + "end": 3428, "loc": { "start": { - "line": 149, - "column": 35 + "line": 162, + "column": 66 }, "end": { - "line": 149, - "column": 36 + "line": 162, + "column": 67 } } }, { "type": { - "label": "}", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -58090,18 +60045,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3213, - "end": 3214, + "value": "const", + "start": 3431, + "end": 3436, "loc": { "start": { - "line": 150, - "column": 1 + "line": 163, + "column": 2 }, "end": { - "line": 150, - "column": 2 + "line": 163, + "column": 7 } } }, @@ -58117,48 +60074,51 @@ "postfix": false, "binop": null }, - "value": "subn", - "start": 3217, - "end": 3221, + "value": "r", + "start": 3437, + "end": 3438, "loc": { "start": { - "line": 152, - "column": 1 + "line": 163, + "column": 8 }, "end": { - "line": 152, - "column": 5 + "line": 163, + "column": 9 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3222, - "end": 3223, + "value": "=", + "start": 3439, + "end": 3440, "loc": { "start": { - "line": 152, - "column": 6 + "line": 163, + "column": 10 }, "end": { - "line": 152, - "column": 7 + "line": 163, + "column": 11 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -58166,25 +60126,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "number", - "start": 3224, - "end": 3230, + "value": "this", + "start": 3441, + "end": 3445, "loc": { "start": { - "line": 152, - "column": 8 + "line": 163, + "column": 12 }, "end": { - "line": 152, - "column": 14 + "line": 163, + "column": 16 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -58192,25 +60153,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3231, - "end": 3232, + "start": 3445, + "end": 3446, "loc": { "start": { - "line": 152, - "column": 15 + "line": 163, + "column": 16 }, "end": { - "line": 152, - "column": 16 + "line": 163, + "column": 17 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -58219,23 +60181,23 @@ "postfix": false, "binop": null }, - "start": 3233, - "end": 3234, + "value": "base", + "start": 3446, + "end": 3450, "loc": { "start": { - "line": 152, + "line": 163, "column": 17 }, "end": { - "line": 152, - "column": 18 + "line": 163, + "column": 21 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -58246,26 +60208,25 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 3237, - "end": 3243, + "start": 3451, + "end": 3452, "loc": { "start": { - "line": 153, - "column": 2 + "line": 163, + "column": 22 }, "end": { - "line": 153, - "column": 8 + "line": 163, + "column": 23 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -58274,49 +60235,77 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 3244, - "end": 3248, + "value": "const", + "start": 3456, + "end": 3461, "loc": { "start": { - "line": 153, - "column": 9 + "line": 165, + "column": 2 }, "end": { - "line": 153, - "column": 13 + "line": 165, + "column": 7 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, + "binop": null + }, + "value": "a", + "start": 3462, + "end": 3463, + "loc": { + "start": { + "line": 165, + "column": 8 + }, + "end": { + "line": 165, + "column": 9 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, "binop": null, "updateContext": null }, - "start": 3248, - "end": 3249, + "value": "=", + "start": 3464, + "end": 3465, "loc": { "start": { - "line": 153, - "column": 13 + "line": 165, + "column": 10 }, "end": { - "line": 153, - "column": 14 + "line": 165, + "column": 11 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -58324,44 +60313,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "sub", - "start": 3249, - "end": 3252, + "value": "this", + "start": 3466, + "end": 3470, "loc": { "start": { - "line": 153, - "column": 14 + "line": 165, + "column": 12 }, "end": { - "line": 153, - "column": 17 + "line": 165, + "column": 16 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3252, - "end": 3253, + "start": 3470, + "end": 3471, "loc": { "start": { - "line": 153, - "column": 17 + "line": 165, + "column": 16 }, "end": { - "line": 153, - "column": 18 + "line": 165, + "column": 17 } } }, @@ -58377,76 +60368,79 @@ "postfix": false, "binop": null }, - "value": "_from_number", - "start": 3253, - "end": 3265, + "value": "limbs", + "start": 3471, + "end": 3476, "loc": { "start": { - "line": 153, - "column": 18 + "line": 165, + "column": 17 }, "end": { - "line": 153, - "column": 30 + "line": 165, + "column": 22 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3265, - "end": 3266, + "start": 3477, + "end": 3478, "loc": { "start": { - "line": 153, - "column": 30 + "line": 165, + "column": 23 }, "end": { - "line": 153, - "column": 31 + "line": 165, + "column": 24 } } }, { "type": { - "label": "name", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "number", - "start": 3266, - "end": 3272, + "value": "const", + "start": 3482, + "end": 3487, "loc": { "start": { - "line": 153, - "column": 31 + "line": 167, + "column": 2 }, "end": { - "line": 153, - "column": 37 + "line": 167, + "column": 7 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -58454,73 +60448,76 @@ "postfix": false, "binop": null }, - "start": 3272, - "end": 3273, + "value": "b", + "start": 3488, + "end": 3489, "loc": { "start": { - "line": 153, - "column": 37 + "line": 167, + "column": 8 }, "end": { - "line": 153, - "column": 38 + "line": 167, + "column": 9 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3273, - "end": 3274, + "value": "=", + "start": 3490, + "end": 3491, "loc": { "start": { - "line": 153, - "column": 38 + "line": 167, + "column": 10 }, "end": { - "line": 153, - "column": 39 + "line": 167, + "column": 11 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3274, - "end": 3275, + "value": "other", + "start": 3492, + "end": 3497, "loc": { "start": { - "line": 153, - "column": 39 + "line": 167, + "column": 12 }, "end": { - "line": 153, - "column": 40 + "line": 167, + "column": 17 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -58528,18 +60525,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3277, - "end": 3278, + "start": 3497, + "end": 3498, "loc": { "start": { - "line": 154, - "column": 1 + "line": 167, + "column": 17 }, "end": { - "line": 154, - "column": 2 + "line": 167, + "column": 18 } } }, @@ -58555,17 +60553,17 @@ "postfix": false, "binop": null }, - "value": "isubn", - "start": 3281, - "end": 3286, + "value": "_limbs_in_base", + "start": 3498, + "end": 3512, "loc": { "start": { - "line": 156, - "column": 1 + "line": 167, + "column": 18 }, "end": { - "line": 156, - "column": 6 + "line": 167, + "column": 32 } } }, @@ -58581,16 +60579,16 @@ "postfix": false, "binop": null }, - "start": 3287, - "end": 3288, + "start": 3512, + "end": 3513, "loc": { "start": { - "line": 156, - "column": 7 + "line": 167, + "column": 32 }, "end": { - "line": 156, - "column": 8 + "line": 167, + "column": 33 } } }, @@ -58606,17 +60604,17 @@ "postfix": false, "binop": null }, - "value": "number", - "start": 3289, - "end": 3295, + "value": "r", + "start": 3514, + "end": 3515, "loc": { "start": { - "line": 156, - "column": 9 + "line": 167, + "column": 34 }, "end": { - "line": 156, - "column": 15 + "line": 167, + "column": 35 } } }, @@ -58632,49 +60630,50 @@ "postfix": false, "binop": null }, - "start": 3296, - "end": 3297, + "start": 3516, + "end": 3517, "loc": { "start": { - "line": 156, - "column": 16 + "line": 167, + "column": 36 }, "end": { - "line": 156, - "column": 17 + "line": 167, + "column": 37 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3298, - "end": 3299, + "start": 3518, + "end": 3519, "loc": { "start": { - "line": 156, - "column": 18 + "line": 167, + "column": 38 }, "end": { - "line": 156, - "column": 19 + "line": 167, + "column": 39 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -58684,24 +60683,23 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 3302, - "end": 3308, + "value": "const", + "start": 3523, + "end": 3528, "loc": { "start": { - "line": 157, + "line": 169, "column": 2 }, "end": { - "line": 157, - "column": 8 + "line": 169, + "column": 7 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -58709,46 +60707,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 3309, - "end": 3313, + "value": "c", + "start": 3529, + "end": 3530, "loc": { "start": { - "line": 157, - "column": 9 + "line": 169, + "column": 8 }, "end": { - "line": 157, - "column": 13 + "line": 169, + "column": 9 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 3313, - "end": 3314, + "value": "=", + "start": 3531, + "end": 3532, "loc": { "start": { - "line": 157, - "column": 13 + "line": 169, + "column": 10 }, "end": { - "line": 157, - "column": 14 + "line": 169, + "column": 11 } } }, @@ -58764,16 +60762,16 @@ "postfix": false, "binop": null }, - "value": "subn", - "start": 3314, - "end": 3318, + "value": "_zeros", + "start": 3533, + "end": 3539, "loc": { "start": { - "line": 157, - "column": 14 + "line": 169, + "column": 12 }, "end": { - "line": 157, + "line": 169, "column": 18 } } @@ -58790,15 +60788,15 @@ "postfix": false, "binop": null }, - "start": 3318, - "end": 3319, + "start": 3539, + "end": 3540, "loc": { "start": { - "line": 157, + "line": 169, "column": 18 }, "end": { - "line": 157, + "line": 169, "column": 19 } } @@ -58815,23 +60813,23 @@ "postfix": false, "binop": null }, - "value": "number", - "start": 3319, - "end": 3325, + "value": "a", + "start": 3541, + "end": 3542, "loc": { "start": { - "line": 157, - "column": 19 + "line": 169, + "column": 20 }, "end": { - "line": 157, - "column": 25 + "line": 169, + "column": 21 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -58839,77 +60837,79 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3325, - "end": 3326, + "start": 3542, + "end": 3543, "loc": { "start": { - "line": 157, - "column": 25 + "line": 169, + "column": 21 }, "end": { - "line": 157, - "column": 26 + "line": 169, + "column": 22 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3326, - "end": 3327, + "value": "length", + "start": 3543, + "end": 3549, "loc": { "start": { - "line": 157, - "column": 26 + "line": 169, + "column": 22 }, "end": { - "line": 157, - "column": 27 + "line": 169, + "column": 28 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "+/-", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "value": "move", - "start": 3327, - "end": 3331, + "value": "+", + "start": 3550, + "end": 3551, "loc": { "start": { - "line": 157, - "column": 27 + "line": 169, + "column": 29 }, "end": { - "line": 157, - "column": 31 + "line": 169, + "column": 30 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -58918,25 +60918,25 @@ "postfix": false, "binop": null }, - "start": 3331, - "end": 3332, + "value": "b", + "start": 3552, + "end": 3553, "loc": { "start": { - "line": 157, + "line": 169, "column": 31 }, "end": { - "line": 157, + "line": 169, "column": 32 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -58945,25 +60945,24 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 3332, - "end": 3336, + "start": 3553, + "end": 3554, "loc": { "start": { - "line": 157, + "line": 169, "column": 32 }, "end": { - "line": 157, - "column": 36 + "line": 169, + "column": 33 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -58971,67 +60970,68 @@ "postfix": false, "binop": null }, - "start": 3336, - "end": 3337, + "value": "length", + "start": 3554, + "end": 3560, "loc": { "start": { - "line": 157, - "column": 36 + "line": 169, + "column": 33 }, "end": { - "line": 157, - "column": 37 + "line": 169, + "column": 39 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3337, - "end": 3338, + "start": 3561, + "end": 3562, "loc": { "start": { - "line": 157, - "column": 37 + "line": 169, + "column": 40 }, "end": { - "line": 157, - "column": 38 + "line": 169, + "column": 41 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3340, - "end": 3341, + "start": 3563, + "end": 3564, "loc": { "start": { - "line": 158, - "column": 1 + "line": 169, + "column": 42 }, "end": { - "line": 158, - "column": 2 + "line": 169, + "column": 43 } } }, @@ -59048,16 +61048,16 @@ "binop": null }, "value": "mul", - "start": 3344, - "end": 3347, + "start": 3568, + "end": 3571, "loc": { "start": { - "line": 160, - "column": 1 + "line": 171, + "column": 2 }, "end": { - "line": 160, - "column": 4 + "line": 171, + "column": 5 } } }, @@ -59073,15 +61073,15 @@ "postfix": false, "binop": null }, - "start": 3348, - "end": 3349, + "start": 3571, + "end": 3572, "loc": { "start": { - "line": 160, + "line": 171, "column": 5 }, "end": { - "line": 160, + "line": 171, "column": 6 } } @@ -59098,75 +61098,24 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 3350, - "end": 3355, + "value": "r", + "start": 3573, + "end": 3574, "loc": { "start": { - "line": 160, + "line": 171, "column": 7 }, "end": { - "line": 160, - "column": 12 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3356, - "end": 3357, - "loc": { - "start": { - "line": 160, - "column": 13 - }, - "end": { - "line": 160, - "column": 14 + "line": 171, + "column": 8 } } }, { "type": { - "label": "{", + "label": ",", "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3358, - "end": 3359, - "loc": { - "start": { - "line": 160, - "column": 15 - }, - "end": { - "line": 160, - "column": 16 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -59176,17 +61125,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 3363, - "end": 3368, + "start": 3575, + "end": 3576, "loc": { "start": { - "line": 162, - "column": 2 + "line": 171, + "column": 9 }, "end": { - "line": 162, - "column": 7 + "line": 171, + "column": 10 } } }, @@ -59202,51 +61150,49 @@ "postfix": false, "binop": null }, - "value": "result_is_negative", - "start": 3369, - "end": 3387, + "value": "a", + "start": 3577, + "end": 3578, "loc": { "start": { - "line": 162, - "column": 8 + "line": 171, + "column": 11 }, "end": { - "line": 162, - "column": 26 + "line": 171, + "column": 12 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null - }, - "value": "=", - "start": 3388, - "end": 3389, + }, + "start": 3579, + "end": 3580, "loc": { "start": { - "line": 162, - "column": 27 + "line": 171, + "column": 13 }, "end": { - "line": 162, - "column": 28 + "line": 171, + "column": 14 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -59257,24 +61203,24 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 3390, - "end": 3394, + "value": 0, + "start": 3581, + "end": 3582, "loc": { "start": { - "line": 162, - "column": 29 + "line": 171, + "column": 15 }, "end": { - "line": 162, - "column": 33 + "line": 171, + "column": 16 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -59284,16 +61230,16 @@ "binop": null, "updateContext": null }, - "start": 3394, - "end": 3395, + "start": 3583, + "end": 3584, "loc": { "start": { - "line": 162, - "column": 33 + "line": 171, + "column": 17 }, "end": { - "line": 162, - "column": 34 + "line": 171, + "column": 18 } } }, @@ -59309,44 +61255,43 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 3395, - "end": 3406, + "value": "a", + "start": 3585, + "end": 3586, "loc": { "start": { - "line": 162, - "column": 34 + "line": 171, + "column": 19 }, "end": { - "line": 162, - "column": 45 + "line": 171, + "column": 20 } } }, { "type": { - "label": "^", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 4, + "binop": null, "updateContext": null }, - "value": "^", - "start": 3407, - "end": 3408, + "start": 3586, + "end": 3587, "loc": { "start": { - "line": 162, - "column": 46 + "line": 171, + "column": 20 }, "end": { - "line": 162, - "column": 47 + "line": 171, + "column": 21 } } }, @@ -59362,24 +61307,24 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 3409, - "end": 3414, + "value": "length", + "start": 3587, + "end": 3593, "loc": { "start": { - "line": 162, - "column": 48 + "line": 171, + "column": 21 }, "end": { - "line": 162, - "column": 53 + "line": 171, + "column": 27 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -59389,16 +61334,16 @@ "binop": null, "updateContext": null }, - "start": 3414, - "end": 3415, + "start": 3594, + "end": 3595, "loc": { "start": { - "line": 162, - "column": 53 + "line": 171, + "column": 28 }, "end": { - "line": 162, - "column": 54 + "line": 171, + "column": 29 } } }, @@ -59414,23 +61359,23 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 3415, - "end": 3426, + "value": "b", + "start": 3596, + "end": 3597, "loc": { "start": { - "line": 162, - "column": 54 + "line": 171, + "column": 30 }, "end": { - "line": 162, - "column": 65 + "line": 171, + "column": 31 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -59441,24 +61386,50 @@ "binop": null, "updateContext": null }, - "start": 3427, - "end": 3428, + "start": 3598, + "end": 3599, "loc": { "start": { - "line": 162, - "column": 66 + "line": 171, + "column": 32 }, "end": { - "line": 162, - "column": 67 + "line": 171, + "column": 33 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "num", "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 3600, + "end": 3601, + "loc": { + "start": { + "line": 171, + "column": 34 + }, + "end": { + "line": 171, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -59468,17 +61439,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 3431, - "end": 3436, + "start": 3602, + "end": 3603, "loc": { "start": { - "line": 163, - "column": 2 + "line": 171, + "column": 36 }, "end": { - "line": 163, - "column": 7 + "line": 171, + "column": 37 } } }, @@ -59494,51 +61464,49 @@ "postfix": false, "binop": null }, - "value": "r", - "start": 3437, - "end": 3438, + "value": "b", + "start": 3604, + "end": 3605, "loc": { "start": { - "line": 163, - "column": 8 + "line": 171, + "column": 38 }, "end": { - "line": 163, - "column": 9 + "line": 171, + "column": 39 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 3439, - "end": 3440, + "start": 3605, + "end": 3606, "loc": { "start": { - "line": 163, - "column": 10 + "line": 171, + "column": 39 }, "end": { - "line": 163, - "column": 11 + "line": 171, + "column": 40 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -59546,27 +61514,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 3441, - "end": 3445, + "value": "length", + "start": 3606, + "end": 3612, "loc": { "start": { - "line": 163, - "column": 12 + "line": 171, + "column": 40 }, "end": { - "line": 163, - "column": 16 + "line": 171, + "column": 46 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -59576,16 +61543,16 @@ "binop": null, "updateContext": null }, - "start": 3445, - "end": 3446, + "start": 3613, + "end": 3614, "loc": { "start": { - "line": 163, - "column": 16 + "line": 171, + "column": 47 }, "end": { - "line": 163, - "column": 17 + "line": 171, + "column": 48 } } }, @@ -59601,23 +61568,23 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 3446, - "end": 3450, + "value": "c", + "start": 3615, + "end": 3616, "loc": { "start": { - "line": 163, - "column": 17 + "line": 171, + "column": 49 }, "end": { - "line": 163, - "column": 21 + "line": 171, + "column": 50 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -59628,24 +61595,50 @@ "binop": null, "updateContext": null }, - "start": 3451, - "end": 3452, + "start": 3617, + "end": 3618, "loc": { "start": { - "line": 163, - "column": 22 + "line": 171, + "column": 51 }, "end": { - "line": 163, - "column": 23 + "line": 171, + "column": 52 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "num", "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 3619, + "end": 3620, + "loc": { + "start": { + "line": 171, + "column": 53 + }, + "end": { + "line": 171, + "column": 54 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -59655,17 +61648,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 3456, - "end": 3461, + "start": 3621, + "end": 3622, "loc": { "start": { - "line": 165, - "column": 2 + "line": 171, + "column": 55 }, "end": { - "line": 165, - "column": 7 + "line": 171, + "column": 56 } } }, @@ -59681,51 +61673,49 @@ "postfix": false, "binop": null }, - "value": "a", - "start": 3462, - "end": 3463, + "value": "c", + "start": 3623, + "end": 3624, "loc": { "start": { - "line": 165, - "column": 8 + "line": 171, + "column": 57 }, "end": { - "line": 165, - "column": 9 + "line": 171, + "column": 58 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 3464, - "end": 3465, + "start": 3624, + "end": 3625, "loc": { "start": { - "line": 165, - "column": 10 + "line": 171, + "column": 58 }, "end": { - "line": 165, - "column": 11 + "line": 171, + "column": 59 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -59733,26 +61723,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 3466, - "end": 3470, + "value": "length", + "start": 3625, + "end": 3631, "loc": { "start": { - "line": 165, - "column": 12 + "line": 171, + "column": 59 }, "end": { - "line": 165, - "column": 16 + "line": 171, + "column": 65 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -59760,51 +61749,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3470, - "end": 3471, + "start": 3632, + "end": 3633, "loc": { "start": { - "line": 165, - "column": 16 + "line": 171, + "column": 66 }, "end": { - "line": 165, - "column": 17 + "line": 171, + "column": 67 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "limbs", - "start": 3471, - "end": 3476, + "start": 3634, + "end": 3635, "loc": { "start": { - "line": 165, - "column": 17 + "line": 171, + "column": 68 }, "end": { - "line": 165, - "column": 22 + "line": 171, + "column": 69 } } }, { "type": { - "label": ";", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -59815,25 +61804,26 @@ "binop": null, "updateContext": null }, - "start": 3477, - "end": 3478, + "value": "return", + "start": 3639, + "end": 3645, "loc": { "start": { - "line": 165, - "column": 23 + "line": 173, + "column": 2 }, "end": { - "line": 165, - "column": 24 + "line": 173, + "column": 8 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -59842,17 +61832,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 3482, - "end": 3487, + "value": "new", + "start": 3646, + "end": 3649, "loc": { "start": { - "line": 167, - "column": 2 + "line": 173, + "column": 9 }, "end": { - "line": 167, - "column": 7 + "line": 173, + "column": 12 } } }, @@ -59868,44 +61858,42 @@ "postfix": false, "binop": null }, - "value": "b", - "start": 3488, - "end": 3489, + "value": "Integer", + "start": 3650, + "end": 3657, "loc": { "start": { - "line": 167, - "column": 8 + "line": 173, + "column": 13 }, "end": { - "line": 167, - "column": 9 + "line": 173, + "column": 20 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 3490, - "end": 3491, + "start": 3657, + "end": 3658, "loc": { "start": { - "line": 167, - "column": 10 + "line": 173, + "column": 20 }, "end": { - "line": 167, - "column": 11 + "line": 173, + "column": 21 } } }, @@ -59921,24 +61909,24 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 3492, - "end": 3497, + "value": "r", + "start": 3659, + "end": 3660, "loc": { "start": { - "line": 167, - "column": 12 + "line": 173, + "column": 22 }, "end": { - "line": 167, - "column": 17 + "line": 173, + "column": 23 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -59948,16 +61936,16 @@ "binop": null, "updateContext": null }, - "start": 3497, - "end": 3498, + "start": 3661, + "end": 3662, "loc": { "start": { - "line": 167, - "column": 17 + "line": 173, + "column": 24 }, "end": { - "line": 167, - "column": 18 + "line": 173, + "column": 25 } } }, @@ -59973,42 +61961,43 @@ "postfix": false, "binop": null }, - "value": "_limbs_in_base", - "start": 3498, - "end": 3512, + "value": "result_is_negative", + "start": 3663, + "end": 3681, "loc": { "start": { - "line": 167, - "column": 18 + "line": 173, + "column": 26 }, "end": { - "line": 167, - "column": 32 + "line": 173, + "column": 44 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3512, - "end": 3513, + "start": 3682, + "end": 3683, "loc": { "start": { - "line": 167, - "column": 32 + "line": 173, + "column": 45 }, "end": { - "line": 167, - "column": 33 + "line": 173, + "column": 46 } } }, @@ -60024,17 +62013,17 @@ "postfix": false, "binop": null }, - "value": "r", - "start": 3514, - "end": 3515, + "value": "c", + "start": 3684, + "end": 3685, "loc": { "start": { - "line": 167, - "column": 34 + "line": 173, + "column": 47 }, "end": { - "line": 167, - "column": 35 + "line": 173, + "column": 48 } } }, @@ -60050,16 +62039,16 @@ "postfix": false, "binop": null }, - "start": 3516, - "end": 3517, + "start": 3686, + "end": 3687, "loc": { "start": { - "line": 167, - "column": 36 + "line": 173, + "column": 49 }, "end": { - "line": 167, - "column": 37 + "line": 173, + "column": 50 } } }, @@ -60076,23 +62065,22 @@ "binop": null, "updateContext": null }, - "start": 3518, - "end": 3519, + "start": 3688, + "end": 3689, "loc": { "start": { - "line": 167, - "column": 38 + "line": 173, + "column": 51 }, "end": { - "line": 167, - "column": 39 + "line": 173, + "column": 52 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -60100,20 +62088,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 3523, - "end": 3528, + "start": 3692, + "end": 3693, "loc": { "start": { - "line": 169, - "column": 2 + "line": 175, + "column": 1 }, "end": { - "line": 169, - "column": 7 + "line": 175, + "column": 2 } } }, @@ -60129,44 +62115,42 @@ "postfix": false, "binop": null }, - "value": "c", - "start": 3529, - "end": 3530, + "value": "imul", + "start": 3696, + "end": 3700, "loc": { "start": { - "line": 169, - "column": 8 + "line": 177, + "column": 1 }, "end": { - "line": 169, - "column": 9 + "line": 177, + "column": 5 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 3531, - "end": 3532, + "start": 3701, + "end": 3702, "loc": { "start": { - "line": 169, - "column": 10 + "line": 177, + "column": 6 }, "end": { - "line": 169, - "column": 11 + "line": 177, + "column": 7 } } }, @@ -60182,25 +62166,25 @@ "postfix": false, "binop": null }, - "value": "_zeros", - "start": 3533, - "end": 3539, + "value": "other", + "start": 3703, + "end": 3708, "loc": { "start": { - "line": 169, - "column": 12 + "line": 177, + "column": 8 }, "end": { - "line": 169, - "column": 18 + "line": 177, + "column": 13 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -60208,23 +62192,23 @@ "postfix": false, "binop": null }, - "start": 3539, - "end": 3540, + "start": 3709, + "end": 3710, "loc": { "start": { - "line": 169, - "column": 18 + "line": 177, + "column": 14 }, "end": { - "line": 169, - "column": 19 + "line": 177, + "column": 15 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -60233,24 +62217,40 @@ "postfix": false, "binop": null }, - "value": "a", - "start": 3541, - "end": 3542, + "start": 3711, + "end": 3712, "loc": { "start": { - "line": 169, - "column": 20 + "line": 177, + "column": 16 }, "end": { - "line": 169, - "column": 21 + "line": 177, + "column": 17 + } + } + }, + { + "type": "CommentLine", + "value": " TODO optimize but be careful with side effects", + "start": 3715, + "end": 3764, + "loc": { + "start": { + "line": 178, + "column": 2 + }, + "end": { + "line": 178, + "column": 51 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -60260,22 +62260,24 @@ "binop": null, "updateContext": null }, - "start": 3542, - "end": 3543, + "value": "return", + "start": 3767, + "end": 3773, "loc": { "start": { - "line": 169, - "column": 21 + "line": 179, + "column": 2 }, "end": { - "line": 169, - "column": 22 + "line": 179, + "column": 8 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -60283,46 +62285,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "length", - "start": 3543, - "end": 3549, + "value": "this", + "start": 3774, + "end": 3778, "loc": { "start": { - "line": 169, - "column": 22 + "line": 179, + "column": 9 }, "end": { - "line": 169, - "column": 28 + "line": 179, + "column": 13 } } }, { "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "+", - "start": 3550, - "end": 3551, + "start": 3778, + "end": 3779, "loc": { "start": { - "line": 169, - "column": 29 + "line": 179, + "column": 13 }, "end": { - "line": 169, - "column": 30 + "line": 179, + "column": 14 } } }, @@ -60338,43 +62340,42 @@ "postfix": false, "binop": null }, - "value": "b", - "start": 3552, - "end": 3553, + "value": "mul", + "start": 3779, + "end": 3782, "loc": { "start": { - "line": 169, - "column": 31 + "line": 179, + "column": 14 }, "end": { - "line": 169, - "column": 32 + "line": 179, + "column": 17 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3553, - "end": 3554, + "start": 3782, + "end": 3783, "loc": { "start": { - "line": 169, - "column": 32 + "line": 179, + "column": 17 }, "end": { - "line": 169, - "column": 33 + "line": 179, + "column": 18 } } }, @@ -60390,17 +62391,17 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 3554, - "end": 3560, + "value": "other", + "start": 3783, + "end": 3788, "loc": { "start": { - "line": 169, - "column": 33 + "line": 179, + "column": 18 }, "end": { - "line": 169, - "column": 39 + "line": 179, + "column": 23 } } }, @@ -60416,23 +62417,23 @@ "postfix": false, "binop": null }, - "start": 3561, - "end": 3562, + "start": 3788, + "end": 3789, "loc": { "start": { - "line": 169, - "column": 40 + "line": 179, + "column": 23 }, "end": { - "line": 169, - "column": 41 + "line": 179, + "column": 24 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -60442,16 +62443,16 @@ "binop": null, "updateContext": null }, - "start": 3563, - "end": 3564, + "start": 3789, + "end": 3790, "loc": { "start": { - "line": 169, - "column": 42 + "line": 179, + "column": 24 }, "end": { - "line": 169, - "column": 43 + "line": 179, + "column": 25 } } }, @@ -60467,17 +62468,17 @@ "postfix": false, "binop": null }, - "value": "mul", - "start": 3568, - "end": 3571, + "value": "move", + "start": 3790, + "end": 3794, "loc": { "start": { - "line": 171, - "column": 2 + "line": 179, + "column": 25 }, "end": { - "line": 171, - "column": 5 + "line": 179, + "column": 29 } } }, @@ -60493,22 +62494,23 @@ "postfix": false, "binop": null }, - "start": 3571, - "end": 3572, + "start": 3794, + "end": 3795, "loc": { "start": { - "line": 171, - "column": 5 + "line": 179, + "column": 29 }, "end": { - "line": 171, - "column": 6 + "line": 179, + "column": 30 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -60516,53 +62518,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "value": "r", - "start": 3573, - "end": 3574, - "loc": { - "start": { - "line": 171, - "column": 7 - }, - "end": { - "line": 171, - "column": 8 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "start": 3575, - "end": 3576, + "value": "this", + "start": 3795, + "end": 3799, "loc": { "start": { - "line": 171, - "column": 9 + "line": 179, + "column": 30 }, "end": { - "line": 171, - "column": 10 + "line": 179, + "column": 34 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -60570,23 +62547,22 @@ "postfix": false, "binop": null }, - "value": "a", - "start": 3577, - "end": 3578, + "start": 3799, + "end": 3800, "loc": { "start": { - "line": 171, - "column": 11 + "line": 179, + "column": 34 }, "end": { - "line": 171, - "column": 12 + "line": 179, + "column": 35 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -60597,69 +62573,41 @@ "binop": null, "updateContext": null }, - "start": 3579, - "end": 3580, + "start": 3800, + "end": 3801, "loc": { "start": { - "line": 171, - "column": 13 + "line": 179, + "column": 35 }, "end": { - "line": 171, - "column": 14 + "line": 179, + "column": 36 } } }, { "type": { - "label": "num", + "label": "}", "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 3581, - "end": 3582, - "loc": { - "start": { - "line": 171, - "column": 15 - }, - "end": { - "line": 171, - "column": 16 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3583, - "end": 3584, + "start": 3803, + "end": 3804, "loc": { "start": { - "line": 171, - "column": 17 + "line": 180, + "column": 1 }, "end": { - "line": 171, - "column": 18 + "line": 180, + "column": 2 } } }, @@ -60675,43 +62623,42 @@ "postfix": false, "binop": null }, - "value": "a", - "start": 3585, - "end": 3586, + "value": "muln", + "start": 3807, + "end": 3811, "loc": { "start": { - "line": 171, - "column": 19 + "line": 182, + "column": 1 }, "end": { - "line": 171, - "column": 20 + "line": 182, + "column": 5 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3586, - "end": 3587, + "start": 3812, + "end": 3813, "loc": { "start": { - "line": 171, - "column": 20 + "line": 182, + "column": 6 }, "end": { - "line": 171, - "column": 21 + "line": 182, + "column": 7 } } }, @@ -60727,50 +62674,49 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 3587, - "end": 3593, + "value": "number", + "start": 3814, + "end": 3820, "loc": { "start": { - "line": 171, - "column": 21 + "line": 182, + "column": 8 }, "end": { - "line": 171, - "column": 27 + "line": 182, + "column": 14 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3594, - "end": 3595, + "start": 3821, + "end": 3822, "loc": { "start": { - "line": 171, - "column": 28 + "line": 182, + "column": 15 }, "end": { - "line": 171, - "column": 29 + "line": 182, + "column": 16 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -60779,23 +62725,23 @@ "postfix": false, "binop": null }, - "value": "b", - "start": 3596, - "end": 3597, + "start": 3823, + "end": 3824, "loc": { "start": { - "line": 171, - "column": 30 + "line": 182, + "column": 17 }, "end": { - "line": 171, - "column": 31 + "line": 182, + "column": 18 } } }, { "type": { - "label": ",", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -60806,22 +62752,24 @@ "binop": null, "updateContext": null }, - "start": 3598, - "end": 3599, + "value": "return", + "start": 3827, + "end": 3833, "loc": { "start": { - "line": 171, - "column": 32 + "line": 183, + "column": 2 }, "end": { - "line": 171, - "column": 33 + "line": 183, + "column": 8 } } }, { "type": { - "label": "num", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -60832,24 +62780,24 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 3600, - "end": 3601, + "value": "this", + "start": 3834, + "end": 3838, "loc": { "start": { - "line": 171, - "column": 34 + "line": 183, + "column": 9 }, "end": { - "line": 171, - "column": 35 + "line": 183, + "column": 13 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -60859,16 +62807,16 @@ "binop": null, "updateContext": null }, - "start": 3602, - "end": 3603, + "start": 3838, + "end": 3839, "loc": { "start": { - "line": 171, - "column": 36 + "line": 183, + "column": 13 }, "end": { - "line": 171, - "column": 37 + "line": 183, + "column": 14 } } }, @@ -60884,43 +62832,42 @@ "postfix": false, "binop": null }, - "value": "b", - "start": 3604, - "end": 3605, + "value": "mul", + "start": 3839, + "end": 3842, "loc": { "start": { - "line": 171, - "column": 38 + "line": 183, + "column": 14 }, "end": { - "line": 171, - "column": 39 + "line": 183, + "column": 17 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3605, - "end": 3606, + "start": 3842, + "end": 3843, "loc": { "start": { - "line": 171, - "column": 39 + "line": 183, + "column": 17 }, "end": { - "line": 171, - "column": 40 + "line": 183, + "column": 18 } } }, @@ -60936,43 +62883,42 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 3606, - "end": 3612, + "value": "_from_number", + "start": 3843, + "end": 3855, "loc": { "start": { - "line": 171, - "column": 40 + "line": 183, + "column": 18 }, "end": { - "line": 171, - "column": 46 + "line": 183, + "column": 30 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3613, - "end": 3614, + "start": 3855, + "end": 3856, "loc": { "start": { - "line": 171, - "column": 47 + "line": 183, + "column": 30 }, "end": { - "line": 171, - "column": 48 + "line": 183, + "column": 31 } } }, @@ -60988,76 +62934,73 @@ "postfix": false, "binop": null }, - "value": "c", - "start": 3615, - "end": 3616, + "value": "number", + "start": 3856, + "end": 3862, "loc": { "start": { - "line": 171, - "column": 49 + "line": 183, + "column": 31 }, "end": { - "line": 171, - "column": 50 + "line": 183, + "column": 37 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3617, - "end": 3618, + "start": 3862, + "end": 3863, "loc": { "start": { - "line": 171, - "column": 51 + "line": 183, + "column": 37 }, "end": { - "line": 171, - "column": 52 + "line": 183, + "column": 38 } } }, { "type": { - "label": "num", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 3619, - "end": 3620, + "start": 3863, + "end": 3864, "loc": { "start": { - "line": 171, - "column": 53 + "line": 183, + "column": 38 }, "end": { - "line": 171, - "column": 54 + "line": 183, + "column": 39 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -61068,16 +63011,41 @@ "binop": null, "updateContext": null }, - "start": 3621, - "end": 3622, + "start": 3864, + "end": 3865, "loc": { "start": { - "line": 171, - "column": 55 + "line": 183, + "column": 39 }, "end": { - "line": 171, - "column": 56 + "line": 183, + "column": 40 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3867, + "end": 3868, + "loc": { + "start": { + "line": 184, + "column": 1 + }, + "end": { + "line": 184, + "column": 2 } } }, @@ -61093,43 +63061,42 @@ "postfix": false, "binop": null }, - "value": "c", - "start": 3623, - "end": 3624, + "value": "imuln", + "start": 3871, + "end": 3876, "loc": { "start": { - "line": 171, - "column": 57 + "line": 186, + "column": 1 }, "end": { - "line": 171, - "column": 58 + "line": 186, + "column": 6 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3624, - "end": 3625, + "start": 3877, + "end": 3878, "loc": { "start": { - "line": 171, - "column": 58 + "line": 186, + "column": 7 }, "end": { - "line": 171, - "column": 59 + "line": 186, + "column": 8 } } }, @@ -61145,17 +63112,17 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 3625, - "end": 3631, + "value": "number", + "start": 3879, + "end": 3885, "loc": { "start": { - "line": 171, - "column": 59 + "line": 186, + "column": 9 }, "end": { - "line": 171, - "column": 65 + "line": 186, + "column": 15 } } }, @@ -61171,42 +63138,41 @@ "postfix": false, "binop": null }, - "start": 3632, - "end": 3633, + "start": 3886, + "end": 3887, "loc": { "start": { - "line": 171, - "column": 66 + "line": 186, + "column": 16 }, "end": { - "line": 171, - "column": 67 + "line": 186, + "column": 17 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3634, - "end": 3635, + "start": 3888, + "end": 3889, "loc": { "start": { - "line": 171, - "column": 68 + "line": 186, + "column": 18 }, "end": { - "line": 171, - "column": 69 + "line": 186, + "column": 19 } } }, @@ -61225,24 +63191,24 @@ "updateContext": null }, "value": "return", - "start": 3639, - "end": 3645, + "start": 3892, + "end": 3898, "loc": { "start": { - "line": 173, + "line": 187, "column": 2 }, "end": { - "line": 173, + "line": 187, "column": 8 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, + "label": "this", + "keyword": "this", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -61252,17 +63218,43 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 3646, - "end": 3649, + "value": "this", + "start": 3899, + "end": 3903, "loc": { "start": { - "line": 173, + "line": 187, "column": 9 }, "end": { - "line": 173, - "column": 12 + "line": 187, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3903, + "end": 3904, + "loc": { + "start": { + "line": 187, + "column": 13 + }, + "end": { + "line": 187, + "column": 14 } } }, @@ -61278,17 +63270,17 @@ "postfix": false, "binop": null }, - "value": "Integer", - "start": 3650, - "end": 3657, + "value": "muln", + "start": 3904, + "end": 3908, "loc": { "start": { - "line": 173, - "column": 13 + "line": 187, + "column": 14 }, "end": { - "line": 173, - "column": 20 + "line": 187, + "column": 18 } } }, @@ -61304,16 +63296,16 @@ "postfix": false, "binop": null }, - "start": 3657, - "end": 3658, + "start": 3908, + "end": 3909, "loc": { "start": { - "line": 173, - "column": 20 + "line": 187, + "column": 18 }, "end": { - "line": 173, - "column": 21 + "line": 187, + "column": 19 } } }, @@ -61329,24 +63321,49 @@ "postfix": false, "binop": null }, - "value": "r", - "start": 3659, - "end": 3660, + "value": "number", + "start": 3909, + "end": 3915, "loc": { "start": { - "line": 173, - "column": 22 + "line": 187, + "column": 19 }, "end": { - "line": 173, - "column": 23 + "line": 187, + "column": 25 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3915, + "end": 3916, + "loc": { + "start": { + "line": 187, + "column": 25 + }, + "end": { + "line": 187, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -61356,16 +63373,16 @@ "binop": null, "updateContext": null }, - "start": 3661, - "end": 3662, + "start": 3916, + "end": 3917, "loc": { "start": { - "line": 173, - "column": 24 + "line": 187, + "column": 26 }, "end": { - "line": 173, - "column": 25 + "line": 187, + "column": 27 } } }, @@ -61381,49 +63398,49 @@ "postfix": false, "binop": null }, - "value": "result_is_negative", - "start": 3663, - "end": 3681, + "value": "move", + "start": 3917, + "end": 3921, "loc": { "start": { - "line": 173, - "column": 26 + "line": 187, + "column": 27 }, "end": { - "line": 173, - "column": 44 + "line": 187, + "column": 31 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3682, - "end": 3683, + "start": 3921, + "end": 3922, "loc": { "start": { - "line": 173, - "column": 45 + "line": 187, + "column": 31 }, "end": { - "line": 173, - "column": 46 + "line": 187, + "column": 32 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -61431,19 +63448,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "value": "c", - "start": 3684, - "end": 3685, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3922, + "end": 3926, "loc": { "start": { - "line": 173, - "column": 47 + "line": 187, + "column": 32 }, "end": { - "line": 173, - "column": 48 + "line": 187, + "column": 36 } } }, @@ -61459,16 +63477,16 @@ "postfix": false, "binop": null }, - "start": 3686, - "end": 3687, + "start": 3926, + "end": 3927, "loc": { "start": { - "line": 173, - "column": 49 + "line": 187, + "column": 36 }, "end": { - "line": 173, - "column": 50 + "line": 187, + "column": 37 } } }, @@ -61485,16 +63503,16 @@ "binop": null, "updateContext": null }, - "start": 3688, - "end": 3689, + "start": 3927, + "end": 3928, "loc": { "start": { - "line": 173, - "column": 51 + "line": 187, + "column": 37 }, "end": { - "line": 173, - "column": 52 + "line": 187, + "column": 38 } } }, @@ -61510,19 +63528,35 @@ "postfix": false, "binop": null }, - "start": 3692, - "end": 3693, + "start": 3930, + "end": 3931, "loc": { "start": { - "line": 175, + "line": 188, "column": 1 }, "end": { - "line": 175, + "line": 188, "column": 2 } } }, + { + "type": "CommentBlock", + "value": "*\n\t * Computes this raised to the xth power.\n\t * x is a double smaller or equal to 2^53.\n\t *\n\t * @param {Number} x The power to raise this to.\n\t * @return {Integer} this ^ x\n\t ", + "start": 3934, + "end": 4179, + "loc": { + "start": { + "line": 190, + "column": 1 + }, + "end": { + "line": 196, + "column": 4 + } + } + }, { "type": { "label": "name", @@ -61535,16 +63569,16 @@ "postfix": false, "binop": null }, - "value": "imul", - "start": 3696, - "end": 3700, + "value": "pown", + "start": 4181, + "end": 4185, "loc": { "start": { - "line": 177, + "line": 197, "column": 1 }, "end": { - "line": 177, + "line": 197, "column": 5 } } @@ -61561,15 +63595,15 @@ "postfix": false, "binop": null }, - "start": 3701, - "end": 3702, + "start": 4186, + "end": 4187, "loc": { "start": { - "line": 177, + "line": 197, "column": 6 }, "end": { - "line": 177, + "line": 197, "column": 7 } } @@ -61586,17 +63620,17 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 3703, - "end": 3708, + "value": "x", + "start": 4188, + "end": 4189, "loc": { "start": { - "line": 177, + "line": 197, "column": 8 }, "end": { - "line": 177, - "column": 13 + "line": 197, + "column": 9 } } }, @@ -61612,16 +63646,16 @@ "postfix": false, "binop": null }, - "start": 3709, - "end": 3710, + "start": 4190, + "end": 4191, "loc": { "start": { - "line": 177, - "column": 14 + "line": 197, + "column": 10 }, "end": { - "line": 177, - "column": 15 + "line": 197, + "column": 11 } } }, @@ -61637,60 +63671,97 @@ "postfix": false, "binop": null }, - "start": 3711, - "end": 3712, + "start": 4192, + "end": 4193, "loc": { "start": { - "line": 177, - "column": 16 + "line": 197, + "column": 12 }, "end": { - "line": 177, - "column": 17 + "line": 197, + "column": 13 } } }, { - "type": "CommentLine", - "value": " TODO optimize but be careful with side effects", - "start": 3715, - "end": 3764, + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 4197, + "end": 4202, "loc": { "start": { - "line": 178, + "line": 199, "column": 2 }, "end": { - "line": 178, - "column": 51 + "line": 199, + "column": 7 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 4203, + "end": 4214, + "loc": { + "start": { + "line": 199, + "column": 8 + }, + "end": { + "line": 199, + "column": 19 + } + } + }, + { + "type": { + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "return", - "start": 3767, - "end": 3773, + "value": "=", + "start": 4215, + "end": 4216, "loc": { "start": { - "line": 179, - "column": 2 + "line": 199, + "column": 20 }, "end": { - "line": 179, - "column": 8 + "line": 199, + "column": 21 } } }, @@ -61709,16 +63780,16 @@ "updateContext": null }, "value": "this", - "start": 3774, - "end": 3778, + "start": 4217, + "end": 4221, "loc": { "start": { - "line": 179, - "column": 9 + "line": 199, + "column": 22 }, "end": { - "line": 179, - "column": 13 + "line": 199, + "column": 26 } } }, @@ -61735,16 +63806,16 @@ "binop": null, "updateContext": null }, - "start": 3778, - "end": 3779, + "start": 4221, + "end": 4222, "loc": { "start": { - "line": 179, - "column": 13 + "line": 199, + "column": 26 }, "end": { - "line": 179, - "column": 14 + "line": 199, + "column": 27 } } }, @@ -61760,42 +63831,44 @@ "postfix": false, "binop": null }, - "value": "mul", - "start": 3779, - "end": 3782, + "value": "is_negative", + "start": 4222, + "end": 4233, "loc": { "start": { - "line": 179, - "column": 14 + "line": 199, + "column": 27 }, "end": { - "line": 179, - "column": 17 + "line": 199, + "column": 38 } } }, { "type": { - "label": "(", + "label": "&", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 5, + "updateContext": null }, - "start": 3782, - "end": 3783, + "value": "&", + "start": 4234, + "end": 4235, "loc": { "start": { - "line": 179, - "column": 17 + "line": 199, + "column": 39 }, "end": { - "line": 179, - "column": 18 + "line": 199, + "column": 40 } } }, @@ -61811,50 +63884,52 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 3783, - "end": 3788, + "value": "x", + "start": 4236, + "end": 4237, "loc": { "start": { - "line": 179, - "column": 18 + "line": 199, + "column": 41 }, "end": { - "line": 179, - "column": 23 + "line": 199, + "column": 42 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "&", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 5, + "updateContext": null }, - "start": 3788, - "end": 3789, + "value": "&", + "start": 4238, + "end": 4239, "loc": { "start": { - "line": 179, - "column": 23 + "line": 199, + "column": 43 }, "end": { - "line": 179, - "column": 24 + "line": 199, + "column": 44 } } }, { "type": { - "label": ".", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -61863,74 +63938,76 @@ "binop": null, "updateContext": null }, - "start": 3789, - "end": 3790, + "value": 1, + "start": 4240, + "end": 4241, "loc": { "start": { - "line": 179, - "column": 24 + "line": 199, + "column": 45 }, "end": { - "line": 179, - "column": 25 + "line": 199, + "column": 46 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "?", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "move", - "start": 3790, - "end": 3794, + "start": 4242, + "end": 4243, "loc": { "start": { - "line": 179, - "column": 25 + "line": 199, + "column": 47 }, "end": { - "line": 179, - "column": 29 + "line": 199, + "column": 48 } } }, { "type": { - "label": "(", + "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "start": 3794, - "end": 3795, + "value": "-", + "start": 4244, + "end": 4245, "loc": { "start": { - "line": 179, - "column": 29 + "line": 199, + "column": 49 }, "end": { - "line": 179, - "column": 30 + "line": 199, + "column": 50 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -61941,50 +64018,51 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 3795, - "end": 3799, + "value": 1, + "start": 4245, + "end": 4246, "loc": { "start": { - "line": 179, - "column": 30 + "line": 199, + "column": 50 }, "end": { - "line": 179, - "column": 34 + "line": 199, + "column": 51 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3799, - "end": 3800, + "start": 4247, + "end": 4248, "loc": { "start": { - "line": 179, - "column": 34 + "line": 199, + "column": 52 }, "end": { - "line": 179, - "column": 35 + "line": 199, + "column": 53 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "num", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -61993,74 +64071,78 @@ "binop": null, "updateContext": null }, - "start": 3800, - "end": 3801, + "value": 0, + "start": 4249, + "end": 4250, "loc": { "start": { - "line": 179, - "column": 35 + "line": 199, + "column": 54 }, "end": { - "line": 179, - "column": 36 + "line": 199, + "column": 55 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3803, - "end": 3804, + "start": 4251, + "end": 4252, "loc": { "start": { - "line": 180, - "column": 1 + "line": 199, + "column": 56 }, "end": { - "line": 180, - "column": 2 + "line": 199, + "column": 57 } } }, { "type": { - "label": "name", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "muln", - "start": 3807, - "end": 3811, + "value": "const", + "start": 4256, + "end": 4261, "loc": { "start": { - "line": 182, - "column": 1 + "line": 201, + "column": 2 }, "end": { - "line": 182, - "column": 5 + "line": 201, + "column": 7 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -62069,129 +64151,132 @@ "postfix": false, "binop": null }, - "start": 3812, - "end": 3813, + "value": "a", + "start": 4262, + "end": 4263, "loc": { "start": { - "line": 182, - "column": 6 + "line": 201, + "column": 8 }, "end": { - "line": 182, - "column": 7 + "line": 201, + "column": 9 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "number", - "start": 3814, - "end": 3820, + "value": "=", + "start": 4264, + "end": 4265, "loc": { "start": { - "line": 182, - "column": 8 + "line": 201, + "column": 10 }, "end": { - "line": 182, - "column": 14 + "line": 201, + "column": 11 } } }, { "type": { - "label": ")", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3821, - "end": 3822, + "value": "this", + "start": 4266, + "end": 4270, "loc": { "start": { - "line": 182, - "column": 15 + "line": 201, + "column": 12 }, "end": { - "line": 182, + "line": 201, "column": 16 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3823, - "end": 3824, + "start": 4270, + "end": 4271, "loc": { "start": { - "line": 182, - "column": 17 + "line": 201, + "column": 16 }, "end": { - "line": 182, - "column": 18 + "line": 201, + "column": 17 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 3827, - "end": 3833, + "value": "limbs", + "start": 4271, + "end": 4276, "loc": { "start": { - "line": 183, - "column": 2 + "line": 201, + "column": 17 }, "end": { - "line": 183, - "column": 8 + "line": 201, + "column": 22 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -62200,23 +64285,23 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 3834, - "end": 3838, + "start": 4277, + "end": 4278, "loc": { "start": { - "line": 183, - "column": 9 + "line": 201, + "column": 23 }, "end": { - "line": 183, - "column": 13 + "line": 201, + "column": 24 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -62227,16 +64312,17 @@ "binop": null, "updateContext": null }, - "start": 3838, - "end": 3839, + "value": "const", + "start": 4281, + "end": 4286, "loc": { "start": { - "line": 183, - "column": 13 + "line": 202, + "column": 2 }, "end": { - "line": 183, - "column": 14 + "line": 202, + "column": 7 } } }, @@ -62252,42 +64338,44 @@ "postfix": false, "binop": null }, - "value": "mul", - "start": 3839, - "end": 3842, + "value": "c", + "start": 4287, + "end": 4288, "loc": { "start": { - "line": 183, - "column": 14 + "line": 202, + "column": 8 }, "end": { - "line": 183, - "column": 17 + "line": 202, + "column": 9 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3842, - "end": 3843, + "value": "=", + "start": 4289, + "end": 4290, "loc": { "start": { - "line": 183, - "column": 17 + "line": 202, + "column": 10 }, "end": { - "line": 183, - "column": 18 + "line": 202, + "column": 11 } } }, @@ -62303,17 +64391,17 @@ "postfix": false, "binop": null }, - "value": "_from_number", - "start": 3843, - "end": 3855, + "value": "_zeros", + "start": 4291, + "end": 4297, "loc": { "start": { - "line": 183, - "column": 18 + "line": 202, + "column": 12 }, "end": { - "line": 183, - "column": 30 + "line": 202, + "column": 18 } } }, @@ -62329,16 +64417,16 @@ "postfix": false, "binop": null }, - "start": 3855, - "end": 3856, + "start": 4297, + "end": 4298, "loc": { "start": { - "line": 183, - "column": 30 + "line": 202, + "column": 18 }, "end": { - "line": 183, - "column": 31 + "line": 202, + "column": 19 } } }, @@ -62354,23 +64442,23 @@ "postfix": false, "binop": null }, - "value": "number", - "start": 3856, - "end": 3862, + "value": "Math", + "start": 4299, + "end": 4303, "loc": { "start": { - "line": 183, - "column": 31 + "line": 202, + "column": 20 }, "end": { - "line": 183, - "column": 37 + "line": 202, + "column": 24 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -62378,26 +64466,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3862, - "end": 3863, + "start": 4303, + "end": 4304, "loc": { "start": { - "line": 183, - "column": 37 + "line": 202, + "column": 24 }, "end": { - "line": 183, - "column": 38 + "line": 202, + "column": 25 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -62405,50 +64494,25 @@ "postfix": false, "binop": null }, - "start": 3863, - "end": 3864, + "value": "max", + "start": 4304, + "end": 4307, "loc": { "start": { - "line": 183, - "column": 38 + "line": 202, + "column": 25 }, "end": { - "line": 183, - "column": 39 + "line": 202, + "column": 28 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3864, - "end": 3865, - "loc": { - "start": { - "line": 183, - "column": 39 - }, - "end": { - "line": 183, - "column": 40 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -62456,22 +64520,22 @@ "postfix": false, "binop": null }, - "start": 3867, - "end": 3868, + "start": 4307, + "end": 4308, "loc": { "start": { - "line": 184, - "column": 1 + "line": 202, + "column": 28 }, "end": { - "line": 184, - "column": 2 + "line": 202, + "column": 29 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -62479,44 +64543,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "imuln", - "start": 3871, - "end": 3876, + "value": 1, + "start": 4309, + "end": 4310, "loc": { "start": { - "line": 186, - "column": 1 + "line": 202, + "column": 30 }, "end": { - "line": 186, - "column": 6 + "line": 202, + "column": 31 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3877, - "end": 3878, + "start": 4311, + "end": 4312, "loc": { "start": { - "line": 186, - "column": 7 + "line": 202, + "column": 32 }, "end": { - "line": 186, - "column": 8 + "line": 202, + "column": 33 } } }, @@ -62532,23 +64598,23 @@ "postfix": false, "binop": null }, - "value": "number", - "start": 3879, - "end": 3885, + "value": "a", + "start": 4313, + "end": 4314, "loc": { "start": { - "line": 186, - "column": 9 + "line": 202, + "column": 34 }, "end": { - "line": 186, - "column": 15 + "line": 202, + "column": 35 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -62556,25 +64622,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3886, - "end": 3887, + "start": 4314, + "end": 4315, "loc": { "start": { - "line": 186, - "column": 16 + "line": 202, + "column": 35 }, "end": { - "line": 186, - "column": 17 + "line": 202, + "column": 36 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -62583,23 +64650,23 @@ "postfix": false, "binop": null }, - "start": 3888, - "end": 3889, + "value": "length", + "start": 4315, + "end": 4321, "loc": { "start": { - "line": 186, - "column": 18 + "line": 202, + "column": 36 }, "end": { - "line": 186, - "column": 19 + "line": 202, + "column": 42 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -62607,27 +64674,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 10, "updateContext": null }, - "value": "return", - "start": 3892, - "end": 3898, + "value": "*", + "start": 4322, + "end": 4323, "loc": { "start": { - "line": 187, - "column": 2 + "line": 202, + "column": 43 }, "end": { - "line": 187, - "column": 8 + "line": 202, + "column": 44 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -62635,26 +64701,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 3899, - "end": 3903, + "value": "x", + "start": 4324, + "end": 4325, "loc": { "start": { - "line": 187, - "column": 9 + "line": 202, + "column": 45 }, "end": { - "line": 187, - "column": 13 + "line": 202, + "column": 46 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -62662,27 +64727,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3903, - "end": 3904, + "start": 4326, + "end": 4327, "loc": { "start": { - "line": 187, - "column": 13 + "line": 202, + "column": 47 }, "end": { - "line": 187, - "column": 14 + "line": 202, + "column": 48 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -62690,42 +64754,42 @@ "postfix": false, "binop": null }, - "value": "muln", - "start": 3904, - "end": 3908, + "start": 4328, + "end": 4329, "loc": { "start": { - "line": 187, - "column": 14 + "line": 202, + "column": 49 }, "end": { - "line": 187, - "column": 18 + "line": 202, + "column": 50 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3908, - "end": 3909, + "start": 4330, + "end": 4331, "loc": { "start": { - "line": 187, - "column": 18 + "line": 202, + "column": 51 }, "end": { - "line": 187, - "column": 19 + "line": 202, + "column": 52 } } }, @@ -62741,25 +64805,25 @@ "postfix": false, "binop": null }, - "value": "number", - "start": 3909, - "end": 3915, + "value": "_pow_double", + "start": 4335, + "end": 4346, "loc": { "start": { - "line": 187, - "column": 19 + "line": 204, + "column": 2 }, "end": { - "line": 187, - "column": 25 + "line": 204, + "column": 13 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -62767,24 +64831,25 @@ "postfix": false, "binop": null }, - "start": 3915, - "end": 3916, + "start": 4346, + "end": 4347, "loc": { "start": { - "line": 187, - "column": 25 + "line": 204, + "column": 13 }, "end": { - "line": 187, - "column": 26 + "line": 204, + "column": 14 } } }, { "type": { - "label": ".", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -62793,49 +64858,50 @@ "binop": null, "updateContext": null }, - "start": 3916, - "end": 3917, + "value": "this", + "start": 4348, + "end": 4352, "loc": { "start": { - "line": 187, - "column": 26 + "line": 204, + "column": 15 }, "end": { - "line": 187, - "column": 27 + "line": 204, + "column": 19 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "move", - "start": 3917, - "end": 3921, + "start": 4352, + "end": 4353, "loc": { "start": { - "line": 187, - "column": 27 + "line": 204, + "column": 19 }, "end": { - "line": 187, - "column": 31 + "line": 204, + "column": 20 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -62844,25 +64910,25 @@ "postfix": false, "binop": null }, - "start": 3921, - "end": 3922, + "value": "base", + "start": 4353, + "end": 4357, "loc": { "start": { - "line": 187, - "column": 31 + "line": 204, + "column": 20 }, "end": { - "line": 187, - "column": 32 + "line": 204, + "column": 24 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -62871,25 +64937,24 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 3922, - "end": 3926, + "start": 4358, + "end": 4359, "loc": { "start": { - "line": 187, - "column": 32 + "line": 204, + "column": 25 }, "end": { - "line": 187, - "column": 36 + "line": 204, + "column": 26 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -62897,22 +64962,23 @@ "postfix": false, "binop": null }, - "start": 3926, - "end": 3927, + "value": "x", + "start": 4360, + "end": 4361, "loc": { "start": { - "line": 187, - "column": 36 + "line": 204, + "column": 27 }, "end": { - "line": 187, - "column": 37 + "line": 204, + "column": 28 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -62923,24 +64989,24 @@ "binop": null, "updateContext": null }, - "start": 3927, - "end": 3928, + "start": 4362, + "end": 4363, "loc": { "start": { - "line": 187, - "column": 37 + "line": 204, + "column": 29 }, "end": { - "line": 187, - "column": 38 + "line": 204, + "column": 30 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -62948,38 +65014,49 @@ "postfix": false, "binop": null }, - "start": 3930, - "end": 3931, + "value": "a", + "start": 4364, + "end": 4365, "loc": { "start": { - "line": 188, - "column": 1 + "line": 204, + "column": 31 }, "end": { - "line": 188, - "column": 2 + "line": 204, + "column": 32 } } }, { - "type": "CommentBlock", - "value": "*\n\t * Computes this raised to the xth power.\n\t * x is a double smaller or equal to 2^53.\n\t *\n\t * @param {Number} x The power to raise this to.\n\t * @return {Integer} this ^ x\n\t ", - "start": 3934, - "end": 4179, + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4366, + "end": 4367, "loc": { "start": { - "line": 190, - "column": 1 + "line": 204, + "column": 33 }, "end": { - "line": 196, - "column": 4 + "line": 204, + "column": 34 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -62987,44 +65064,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pown", - "start": 4181, - "end": 4185, + "value": 0, + "start": 4368, + "end": 4369, "loc": { "start": { - "line": 197, - "column": 1 + "line": 204, + "column": 35 }, "end": { - "line": 197, - "column": 5 + "line": 204, + "column": 36 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4186, - "end": 4187, + "start": 4370, + "end": 4371, "loc": { "start": { - "line": 197, - "column": 6 + "line": 204, + "column": 37 }, "end": { - "line": 197, - "column": 7 + "line": 204, + "column": 38 } } }, @@ -63040,23 +65119,23 @@ "postfix": false, "binop": null }, - "value": "x", - "start": 4188, - "end": 4189, + "value": "a", + "start": 4372, + "end": 4373, "loc": { "start": { - "line": 197, - "column": 8 + "line": 204, + "column": 39 }, "end": { - "line": 197, - "column": 9 + "line": 204, + "column": 40 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -63064,25 +65143,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4190, - "end": 4191, + "start": 4373, + "end": 4374, "loc": { "start": { - "line": 197, - "column": 10 + "line": 204, + "column": 40 }, "end": { - "line": 197, - "column": 11 + "line": 204, + "column": 41 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -63091,24 +65171,24 @@ "postfix": false, "binop": null }, - "start": 4192, - "end": 4193, + "value": "length", + "start": 4374, + "end": 4380, "loc": { "start": { - "line": 197, - "column": 12 + "line": 204, + "column": 41 }, "end": { - "line": 197, - "column": 13 + "line": 204, + "column": 47 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -63118,17 +65198,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 4197, - "end": 4202, + "start": 4381, + "end": 4382, "loc": { "start": { - "line": 199, - "column": 2 + "line": 204, + "column": 48 }, "end": { - "line": 199, - "column": 7 + "line": 204, + "column": 49 } } }, @@ -63144,51 +65223,49 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 4203, - "end": 4214, + "value": "c", + "start": 4383, + "end": 4384, "loc": { "start": { - "line": 199, - "column": 8 + "line": 204, + "column": 50 }, "end": { - "line": 199, - "column": 19 + "line": 204, + "column": 51 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 4215, - "end": 4216, + "start": 4385, + "end": 4386, "loc": { "start": { - "line": 199, - "column": 20 + "line": 204, + "column": 52 }, "end": { - "line": 199, - "column": 21 + "line": 204, + "column": 53 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -63199,24 +65276,24 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 4217, - "end": 4221, + "value": 0, + "start": 4387, + "end": 4388, "loc": { "start": { - "line": 199, - "column": 22 + "line": 204, + "column": 54 }, "end": { - "line": 199, - "column": 26 + "line": 204, + "column": 55 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -63226,16 +65303,16 @@ "binop": null, "updateContext": null }, - "start": 4221, - "end": 4222, + "start": 4389, + "end": 4390, "loc": { "start": { - "line": 199, - "column": 26 + "line": 204, + "column": 56 }, "end": { - "line": 199, - "column": 27 + "line": 204, + "column": 57 } } }, @@ -63251,44 +65328,43 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 4222, - "end": 4233, + "value": "c", + "start": 4391, + "end": 4392, "loc": { "start": { - "line": 199, - "column": 27 + "line": 204, + "column": 58 }, "end": { - "line": 199, - "column": 38 + "line": 204, + "column": 59 } } }, { "type": { - "label": "&", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 5, + "binop": null, "updateContext": null }, - "value": "&", - "start": 4234, - "end": 4235, + "start": 4392, + "end": 4393, "loc": { "start": { - "line": 199, - "column": 39 + "line": 204, + "column": 59 }, "end": { - "line": 199, - "column": 40 + "line": 204, + "column": 60 } } }, @@ -63304,52 +65380,50 @@ "postfix": false, "binop": null }, - "value": "x", - "start": 4236, - "end": 4237, + "value": "length", + "start": 4393, + "end": 4399, "loc": { "start": { - "line": 199, - "column": 41 + "line": 204, + "column": 60 }, "end": { - "line": 199, - "column": 42 + "line": 204, + "column": 66 } } }, { "type": { - "label": "&", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 5, - "updateContext": null + "binop": null }, - "value": "&", - "start": 4238, - "end": 4239, + "start": 4400, + "end": 4401, "loc": { "start": { - "line": 199, - "column": 43 + "line": 204, + "column": 67 }, "end": { - "line": 199, - "column": 44 + "line": 204, + "column": 68 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -63358,23 +65432,23 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 4240, - "end": 4241, + "start": 4402, + "end": 4403, "loc": { "start": { - "line": 199, - "column": 45 + "line": 204, + "column": 69 }, "end": { - "line": 199, - "column": 46 + "line": 204, + "column": 70 } } }, { "type": { - "label": "?", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -63385,49 +65459,51 @@ "binop": null, "updateContext": null }, - "start": 4242, - "end": 4243, + "value": "return", + "start": 4407, + "end": 4413, "loc": { "start": { - "line": 199, - "column": 47 + "line": 206, + "column": 2 }, "end": { - "line": 199, - "column": 48 + "line": 206, + "column": 8 } } }, { "type": { - "label": "+/-", + "label": "new", + "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "-", - "start": 4244, - "end": 4245, + "value": "new", + "start": 4414, + "end": 4417, "loc": { "start": { - "line": 199, - "column": 49 + "line": 206, + "column": 9 }, "end": { - "line": 199, - "column": 50 + "line": 206, + "column": 12 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -63435,52 +65511,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 1, - "start": 4245, - "end": 4246, + "value": "Integer", + "start": 4418, + "end": 4425, "loc": { "start": { - "line": 199, - "column": 50 + "line": 206, + "column": 13 }, "end": { - "line": 199, - "column": 51 + "line": 206, + "column": 20 } } }, { "type": { - "label": ":", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4247, - "end": 4248, + "start": 4425, + "end": 4426, "loc": { "start": { - "line": 199, - "column": 52 + "line": 206, + "column": 20 }, "end": { - "line": 199, - "column": 53 + "line": 206, + "column": 21 } } }, { "type": { - "label": "num", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -63491,24 +65566,24 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 4249, - "end": 4250, + "value": "this", + "start": 4427, + "end": 4431, "loc": { "start": { - "line": 199, - "column": 54 + "line": 206, + "column": 22 }, "end": { - "line": 199, - "column": 55 + "line": 206, + "column": 26 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -63518,106 +65593,102 @@ "binop": null, "updateContext": null }, - "start": 4251, - "end": 4252, + "start": 4431, + "end": 4432, "loc": { "start": { - "line": 199, - "column": 56 + "line": 206, + "column": 26 }, "end": { - "line": 199, - "column": 57 + "line": 206, + "column": 27 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 4256, - "end": 4261, + "value": "base", + "start": 4432, + "end": 4436, "loc": { "start": { - "line": 201, - "column": 2 + "line": 206, + "column": 27 }, "end": { - "line": 201, - "column": 7 + "line": 206, + "column": 31 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "a", - "start": 4262, - "end": 4263, + "start": 4437, + "end": 4438, "loc": { "start": { - "line": 201, - "column": 8 + "line": 206, + "column": 32 }, "end": { - "line": 201, - "column": 9 + "line": 206, + "column": 33 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 4264, - "end": 4265, + "value": "is_negative", + "start": 4439, + "end": 4450, "loc": { "start": { - "line": 201, - "column": 10 + "line": 206, + "column": 34 }, "end": { - "line": 201, - "column": 11 + "line": 206, + "column": 45 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -63626,51 +65697,50 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 4266, - "end": 4270, + "start": 4451, + "end": 4452, "loc": { "start": { - "line": 201, - "column": 12 + "line": 206, + "column": 46 }, "end": { - "line": 201, - "column": 16 + "line": 206, + "column": 47 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4270, - "end": 4271, + "value": "c", + "start": 4453, + "end": 4454, "loc": { "start": { - "line": 201, - "column": 16 + "line": 206, + "column": 48 }, "end": { - "line": 201, - "column": 17 + "line": 206, + "column": 49 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -63678,17 +65748,16 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 4271, - "end": 4276, + "start": 4455, + "end": 4456, "loc": { "start": { - "line": 201, - "column": 17 + "line": 206, + "column": 50 }, "end": { - "line": 201, - "column": 22 + "line": 206, + "column": 51 } } }, @@ -63705,23 +65774,22 @@ "binop": null, "updateContext": null }, - "start": 4277, - "end": 4278, + "start": 4457, + "end": 4458, "loc": { "start": { - "line": 201, - "column": 23 + "line": 206, + "column": 52 }, "end": { - "line": 201, - "column": 24 + "line": 206, + "column": 53 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -63729,20 +65797,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 4281, - "end": 4286, + "start": 4461, + "end": 4462, "loc": { "start": { - "line": 202, - "column": 2 + "line": 208, + "column": 1 }, "end": { - "line": 202, - "column": 7 + "line": 208, + "column": 2 } } }, @@ -63758,44 +65824,42 @@ "postfix": false, "binop": null }, - "value": "c", - "start": 4287, - "end": 4288, + "value": "pow", + "start": 4465, + "end": 4468, "loc": { "start": { - "line": 202, - "column": 8 + "line": 210, + "column": 1 }, "end": { - "line": 202, - "column": 9 + "line": 210, + "column": 4 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 4289, - "end": 4290, + "start": 4469, + "end": 4470, "loc": { "start": { - "line": 202, - "column": 10 + "line": 210, + "column": 5 }, "end": { - "line": 202, - "column": 11 + "line": 210, + "column": 6 } } }, @@ -63811,25 +65875,25 @@ "postfix": false, "binop": null }, - "value": "_zeros", - "start": 4291, - "end": 4297, + "value": "other", + "start": 4471, + "end": 4476, "loc": { "start": { - "line": 202, - "column": 12 + "line": 210, + "column": 7 }, "end": { - "line": 202, - "column": 18 + "line": 210, + "column": 12 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -63837,23 +65901,23 @@ "postfix": false, "binop": null }, - "start": 4297, - "end": 4298, + "start": 4477, + "end": 4478, "loc": { "start": { - "line": 202, - "column": 18 + "line": 210, + "column": 13 }, "end": { - "line": 202, - "column": 19 + "line": 210, + "column": 14 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -63862,24 +65926,24 @@ "postfix": false, "binop": null }, - "value": "Math", - "start": 4299, - "end": 4303, + "start": 4479, + "end": 4480, "loc": { "start": { - "line": 202, - "column": 20 + "line": 210, + "column": 15 }, "end": { - "line": 202, - "column": 24 + "line": 210, + "column": 16 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -63889,22 +65953,24 @@ "binop": null, "updateContext": null }, - "start": 4303, - "end": 4304, + "value": "return", + "start": 4483, + "end": 4489, "loc": { "start": { - "line": 202, - "column": 24 + "line": 211, + "column": 2 }, "end": { - "line": 202, - "column": 25 + "line": 211, + "column": 8 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -63912,50 +65978,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "max", - "start": 4304, - "end": 4307, + "value": "this", + "start": 4490, + "end": 4494, "loc": { "start": { - "line": 202, - "column": 25 + "line": 211, + "column": 9 }, "end": { - "line": 202, - "column": 28 + "line": 211, + "column": 13 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4307, - "end": 4308, + "start": 4494, + "end": 4495, "loc": { "start": { - "line": 202, - "column": 28 + "line": 211, + "column": 13 }, "end": { - "line": 202, - "column": 29 + "line": 211, + "column": 14 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -63963,46 +66031,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 1, - "start": 4309, - "end": 4310, + "value": "pown", + "start": 4495, + "end": 4499, "loc": { "start": { - "line": 202, - "column": 30 + "line": 211, + "column": 14 }, "end": { - "line": 202, - "column": 31 + "line": 211, + "column": 18 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4311, - "end": 4312, + "start": 4499, + "end": 4500, "loc": { "start": { - "line": 202, - "column": 32 + "line": 211, + "column": 18 }, "end": { - "line": 202, - "column": 33 + "line": 211, + "column": 19 } } }, @@ -64018,17 +66084,17 @@ "postfix": false, "binop": null }, - "value": "a", - "start": 4313, - "end": 4314, + "value": "other", + "start": 4501, + "end": 4506, "loc": { "start": { - "line": 202, - "column": 34 + "line": 211, + "column": 20 }, "end": { - "line": 202, - "column": 35 + "line": 211, + "column": 25 } } }, @@ -64045,16 +66111,16 @@ "binop": null, "updateContext": null }, - "start": 4314, - "end": 4315, + "start": 4506, + "end": 4507, "loc": { "start": { - "line": 202, - "column": 35 + "line": 211, + "column": 25 }, "end": { - "line": 202, - "column": 36 + "line": 211, + "column": 26 } } }, @@ -64070,52 +66136,50 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 4315, - "end": 4321, + "value": "valueOf", + "start": 4507, + "end": 4514, "loc": { "start": { - "line": 202, - "column": 36 + "line": 211, + "column": 26 }, "end": { - "line": 202, - "column": 42 + "line": 211, + "column": 33 } } }, { "type": { - "label": "*", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, - "updateContext": null + "binop": null }, - "value": "*", - "start": 4322, - "end": 4323, + "start": 4514, + "end": 4515, "loc": { "start": { - "line": 202, - "column": 43 + "line": 211, + "column": 33 }, "end": { - "line": 202, - "column": 44 + "line": 211, + "column": 34 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -64123,17 +66187,16 @@ "postfix": false, "binop": null }, - "value": "x", - "start": 4324, - "end": 4325, + "start": 4515, + "end": 4516, "loc": { "start": { - "line": 202, - "column": 45 + "line": 211, + "column": 34 }, "end": { - "line": 202, - "column": 46 + "line": 211, + "column": 35 } } }, @@ -64149,67 +66212,67 @@ "postfix": false, "binop": null }, - "start": 4326, - "end": 4327, + "start": 4517, + "end": 4518, "loc": { "start": { - "line": 202, - "column": 47 + "line": 211, + "column": 36 }, "end": { - "line": 202, - "column": 48 + "line": 211, + "column": 37 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4328, - "end": 4329, + "start": 4519, + "end": 4520, "loc": { "start": { - "line": 202, - "column": 49 + "line": 211, + "column": 38 }, "end": { - "line": 202, - "column": 50 + "line": 211, + "column": 39 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4330, - "end": 4331, + "start": 4522, + "end": 4523, "loc": { "start": { - "line": 202, - "column": 51 + "line": 212, + "column": 1 }, "end": { - "line": 202, - "column": 52 + "line": 212, + "column": 2 } } }, @@ -64225,17 +66288,17 @@ "postfix": false, "binop": null }, - "value": "_pow_double", - "start": 4335, - "end": 4346, + "value": "ipow", + "start": 4526, + "end": 4530, "loc": { "start": { - "line": 204, - "column": 2 + "line": 214, + "column": 1 }, "end": { - "line": 204, - "column": 13 + "line": 214, + "column": 5 } } }, @@ -64251,23 +66314,22 @@ "postfix": false, "binop": null }, - "start": 4346, - "end": 4347, + "start": 4531, + "end": 4532, "loc": { "start": { - "line": 204, - "column": 13 + "line": 214, + "column": 6 }, "end": { - "line": 204, - "column": 14 + "line": 214, + "column": 7 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -64275,26 +66337,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 4348, - "end": 4352, + "value": "other", + "start": 4533, + "end": 4538, "loc": { "start": { - "line": 204, - "column": 15 + "line": 214, + "column": 8 }, "end": { - "line": 204, - "column": 19 + "line": 214, + "column": 13 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -64302,26 +66363,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4352, - "end": 4353, + "start": 4539, + "end": 4540, "loc": { "start": { - "line": 204, - "column": 19 + "line": 214, + "column": 14 }, "end": { - "line": 204, - "column": 20 + "line": 214, + "column": 15 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -64330,77 +66390,69 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 4353, - "end": 4357, + "start": 4541, + "end": 4542, "loc": { "start": { - "line": 204, - "column": 20 + "line": 214, + "column": 16 }, "end": { - "line": 204, - "column": 24 + "line": 214, + "column": 17 } } }, { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4358, - "end": 4359, + "type": "CommentLine", + "value": " TODO optimize but be careful with side effects", + "start": 4545, + "end": 4594, "loc": { "start": { - "line": 204, - "column": 25 + "line": 215, + "column": 2 }, "end": { - "line": 204, - "column": 26 + "line": 215, + "column": 51 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "x", - "start": 4360, - "end": 4361, + "value": "return", + "start": 4597, + "end": 4603, "loc": { "start": { - "line": 204, - "column": 27 + "line": 216, + "column": 2 }, "end": { - "line": 204, - "column": 28 + "line": 216, + "column": 8 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -64409,129 +66461,128 @@ "binop": null, "updateContext": null }, - "start": 4362, - "end": 4363, + "value": "this", + "start": 4604, + "end": 4608, "loc": { "start": { - "line": 204, - "column": 29 + "line": 216, + "column": 9 }, "end": { - "line": 204, - "column": 30 + "line": 216, + "column": 13 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "a", - "start": 4364, - "end": 4365, + "start": 4608, + "end": 4609, "loc": { "start": { - "line": 204, - "column": 31 + "line": 216, + "column": 13 }, "end": { - "line": 204, - "column": 32 + "line": 216, + "column": 14 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4366, - "end": 4367, + "value": "pow", + "start": 4609, + "end": 4612, "loc": { "start": { - "line": 204, - "column": 33 + "line": 216, + "column": 14 }, "end": { - "line": 204, - "column": 34 + "line": 216, + "column": 17 } } }, { "type": { - "label": "num", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 4368, - "end": 4369, + "start": 4612, + "end": 4613, "loc": { "start": { - "line": 204, - "column": 35 + "line": 216, + "column": 17 }, "end": { - "line": 204, - "column": 36 + "line": 216, + "column": 18 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4370, - "end": 4371, + "value": "other", + "start": 4613, + "end": 4618, "loc": { "start": { - "line": 204, - "column": 37 + "line": 216, + "column": 18 }, "end": { - "line": 204, - "column": 38 + "line": 216, + "column": 23 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -64539,17 +66590,16 @@ "postfix": false, "binop": null }, - "value": "a", - "start": 4372, - "end": 4373, + "start": 4618, + "end": 4619, "loc": { "start": { - "line": 204, - "column": 39 + "line": 216, + "column": 23 }, "end": { - "line": 204, - "column": 40 + "line": 216, + "column": 24 } } }, @@ -64566,16 +66616,16 @@ "binop": null, "updateContext": null }, - "start": 4373, - "end": 4374, + "start": 4619, + "end": 4620, "loc": { "start": { - "line": 204, - "column": 40 + "line": 216, + "column": 24 }, "end": { - "line": 204, - "column": 41 + "line": 216, + "column": 25 } } }, @@ -64591,49 +66641,49 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 4374, - "end": 4380, + "value": "move", + "start": 4620, + "end": 4624, "loc": { "start": { - "line": 204, - "column": 41 + "line": 216, + "column": 25 }, "end": { - "line": 204, - "column": 47 + "line": 216, + "column": 29 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4381, - "end": 4382, + "start": 4624, + "end": 4625, "loc": { "start": { - "line": 204, - "column": 48 + "line": 216, + "column": 29 }, "end": { - "line": 204, - "column": 49 + "line": 216, + "column": 30 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -64641,53 +66691,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "c", - "start": 4383, - "end": 4384, + "value": "this", + "start": 4625, + "end": 4629, "loc": { "start": { - "line": 204, - "column": 50 + "line": 216, + "column": 30 }, "end": { - "line": 204, - "column": 51 + "line": 216, + "column": 34 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4385, - "end": 4386, + "start": 4629, + "end": 4630, "loc": { "start": { - "line": 204, - "column": 52 + "line": 216, + "column": 34 }, "end": { - "line": 204, - "column": 53 + "line": 216, + "column": 35 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -64696,43 +66746,41 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 4387, - "end": 4388, + "start": 4630, + "end": 4631, "loc": { "start": { - "line": 204, - "column": 54 + "line": 216, + "column": 35 }, "end": { - "line": 204, - "column": 55 + "line": 216, + "column": 36 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4389, - "end": 4390, + "start": 4633, + "end": 4634, "loc": { "start": { - "line": 204, - "column": 56 + "line": 217, + "column": 1 }, "end": { - "line": 204, - "column": 57 + "line": 217, + "column": 2 } } }, @@ -64748,43 +66796,42 @@ "postfix": false, "binop": null }, - "value": "c", - "start": 4391, - "end": 4392, + "value": "ipown", + "start": 4637, + "end": 4642, "loc": { "start": { - "line": 204, - "column": 58 + "line": 219, + "column": 1 }, "end": { - "line": 204, - "column": 59 + "line": 219, + "column": 6 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4392, - "end": 4393, + "start": 4643, + "end": 4644, "loc": { "start": { - "line": 204, - "column": 59 + "line": 219, + "column": 7 }, "end": { - "line": 204, - "column": 60 + "line": 219, + "column": 8 } } }, @@ -64800,17 +66847,17 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 4393, - "end": 4399, + "value": "number", + "start": 4645, + "end": 4651, "loc": { "start": { - "line": 204, - "column": 60 + "line": 219, + "column": 9 }, "end": { - "line": 204, - "column": 66 + "line": 219, + "column": 15 } } }, @@ -64826,42 +66873,57 @@ "postfix": false, "binop": null }, - "start": 4400, - "end": 4401, + "start": 4652, + "end": 4653, "loc": { "start": { - "line": 204, - "column": 67 + "line": 219, + "column": 16 }, "end": { - "line": 204, - "column": 68 + "line": 219, + "column": 17 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4402, - "end": 4403, + "start": 4654, + "end": 4655, "loc": { "start": { - "line": 204, - "column": 69 + "line": 219, + "column": 18 }, "end": { - "line": 204, - "column": 70 + "line": 219, + "column": 19 + } + } + }, + { + "type": "CommentLine", + "value": " TODO optimize but be careful with side effects", + "start": 4658, + "end": 4707, + "loc": { + "start": { + "line": 220, + "column": 2 + }, + "end": { + "line": 220, + "column": 51 } } }, @@ -64880,24 +66942,24 @@ "updateContext": null }, "value": "return", - "start": 4407, - "end": 4413, + "start": 4710, + "end": 4716, "loc": { "start": { - "line": 206, + "line": 221, "column": 2 }, "end": { - "line": 206, + "line": 221, "column": 8 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, + "label": "this", + "keyword": "this", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -64907,50 +66969,50 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 4414, - "end": 4417, + "value": "this", + "start": 4717, + "end": 4721, "loc": { "start": { - "line": 206, + "line": 221, "column": 9 }, "end": { - "line": 206, - "column": 12 + "line": 221, + "column": 13 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Integer", - "start": 4418, - "end": 4425, + "start": 4721, + "end": 4722, "loc": { "start": { - "line": 206, + "line": 221, "column": 13 }, "end": { - "line": 206, - "column": 20 + "line": 221, + "column": 14 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -64959,78 +67021,76 @@ "postfix": false, "binop": null }, - "start": 4425, - "end": 4426, + "value": "pown", + "start": 4722, + "end": 4726, "loc": { "start": { - "line": 206, - "column": 20 + "line": 221, + "column": 14 }, "end": { - "line": 206, - "column": 21 + "line": 221, + "column": 18 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 4427, - "end": 4431, + "start": 4726, + "end": 4727, "loc": { "start": { - "line": 206, - "column": 22 + "line": 221, + "column": 18 }, "end": { - "line": 206, - "column": 26 + "line": 221, + "column": 19 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4431, - "end": 4432, + "value": "number", + "start": 4727, + "end": 4733, "loc": { "start": { - "line": 206, - "column": 26 + "line": 221, + "column": 19 }, "end": { - "line": 206, - "column": 27 + "line": 221, + "column": 25 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -65038,24 +67098,23 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 4432, - "end": 4436, + "start": 4733, + "end": 4734, "loc": { "start": { - "line": 206, - "column": 27 + "line": 221, + "column": 25 }, "end": { - "line": 206, - "column": 31 + "line": 221, + "column": 26 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -65065,16 +67124,16 @@ "binop": null, "updateContext": null }, - "start": 4437, - "end": 4438, + "start": 4734, + "end": 4735, "loc": { "start": { - "line": 206, - "column": 32 + "line": 221, + "column": 26 }, "end": { - "line": 206, - "column": 33 + "line": 221, + "column": 27 } } }, @@ -65090,49 +67149,49 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 4439, - "end": 4450, + "value": "move", + "start": 4735, + "end": 4739, "loc": { "start": { - "line": 206, - "column": 34 + "line": 221, + "column": 27 }, "end": { - "line": 206, - "column": 45 + "line": 221, + "column": 31 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4451, - "end": 4452, + "start": 4739, + "end": 4740, "loc": { "start": { - "line": 206, - "column": 46 + "line": 221, + "column": 31 }, "end": { - "line": 206, - "column": 47 + "line": 221, + "column": 32 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -65140,19 +67199,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "value": "c", - "start": 4453, - "end": 4454, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 4740, + "end": 4744, "loc": { "start": { - "line": 206, - "column": 48 + "line": 221, + "column": 32 }, "end": { - "line": 206, - "column": 49 + "line": 221, + "column": 36 } } }, @@ -65168,16 +67228,16 @@ "postfix": false, "binop": null }, - "start": 4455, - "end": 4456, + "start": 4744, + "end": 4745, "loc": { "start": { - "line": 206, - "column": 50 + "line": 221, + "column": 36 }, "end": { - "line": 206, - "column": 51 + "line": 221, + "column": 37 } } }, @@ -65194,16 +67254,16 @@ "binop": null, "updateContext": null }, - "start": 4457, - "end": 4458, + "start": 4745, + "end": 4746, "loc": { "start": { - "line": 206, - "column": 52 + "line": 221, + "column": 37 }, "end": { - "line": 206, - "column": 53 + "line": 221, + "column": 38 } } }, @@ -65219,15 +67279,15 @@ "postfix": false, "binop": null }, - "start": 4461, - "end": 4462, + "start": 4748, + "end": 4749, "loc": { "start": { - "line": 208, + "line": 222, "column": 1 }, "end": { - "line": 208, + "line": 222, "column": 2 } } @@ -65244,17 +67304,17 @@ "postfix": false, "binop": null }, - "value": "pow", - "start": 4465, - "end": 4468, + "value": "square", + "start": 4752, + "end": 4758, "loc": { "start": { - "line": 210, + "line": 224, "column": 1 }, "end": { - "line": 210, - "column": 4 + "line": 224, + "column": 7 } } }, @@ -65270,24 +67330,24 @@ "postfix": false, "binop": null }, - "start": 4469, - "end": 4470, + "start": 4759, + "end": 4760, "loc": { "start": { - "line": 210, - "column": 5 + "line": 224, + "column": 8 }, "end": { - "line": 210, - "column": 6 + "line": 224, + "column": 9 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -65295,25 +67355,24 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 4471, - "end": 4476, + "start": 4761, + "end": 4762, "loc": { "start": { - "line": 210, - "column": 7 + "line": 224, + "column": 10 }, "end": { - "line": 210, - "column": 12 + "line": 224, + "column": 11 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -65321,41 +67380,48 @@ "postfix": false, "binop": null }, - "start": 4477, - "end": 4478, + "start": 4763, + "end": 4764, "loc": { "start": { - "line": 210, + "line": 224, + "column": 12 + }, + "end": { + "line": 224, "column": 13 + } + } + }, + { + "type": "CommentLine", + "value": " TODO optimize but be careful with side effects", + "start": 4767, + "end": 4816, + "loc": { + "start": { + "line": 225, + "column": 2 }, "end": { - "line": 210, - "column": 14 + "line": 225, + "column": 51 } } }, { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4479, - "end": 4480, + "type": "CommentLine", + "value": " TODO use this.mul(this) instead?", + "start": 4819, + "end": 4854, "loc": { "start": { - "line": 210, - "column": 15 + "line": 226, + "column": 2 }, "end": { - "line": 210, - "column": 16 + "line": 226, + "column": 37 } } }, @@ -65374,15 +67440,15 @@ "updateContext": null }, "value": "return", - "start": 4483, - "end": 4489, + "start": 4857, + "end": 4863, "loc": { "start": { - "line": 211, + "line": 227, "column": 2 }, "end": { - "line": 211, + "line": 227, "column": 8 } } @@ -65402,15 +67468,15 @@ "updateContext": null }, "value": "this", - "start": 4490, - "end": 4494, + "start": 4864, + "end": 4868, "loc": { "start": { - "line": 211, + "line": 227, "column": 9 }, "end": { - "line": 211, + "line": 227, "column": 13 } } @@ -65428,15 +67494,15 @@ "binop": null, "updateContext": null }, - "start": 4494, - "end": 4495, + "start": 4868, + "end": 4869, "loc": { "start": { - "line": 211, + "line": 227, "column": 13 }, "end": { - "line": 211, + "line": 227, "column": 14 } } @@ -65454,15 +67520,15 @@ "binop": null }, "value": "pown", - "start": 4495, - "end": 4499, + "start": 4869, + "end": 4873, "loc": { "start": { - "line": 211, + "line": 227, "column": 14 }, "end": { - "line": 211, + "line": 227, "column": 18 } } @@ -65479,22 +67545,22 @@ "postfix": false, "binop": null }, - "start": 4499, - "end": 4500, + "start": 4873, + "end": 4874, "loc": { "start": { - "line": 211, + "line": 227, "column": 18 }, "end": { - "line": 211, + "line": 227, "column": 19 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -65502,121 +67568,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "value": "other", - "start": 4501, - "end": 4506, - "loc": { - "start": { - "line": 211, - "column": 20 - }, - "end": { - "line": 211, - "column": 25 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "start": 4506, - "end": 4507, - "loc": { - "start": { - "line": 211, - "column": 25 - }, - "end": { - "line": 211, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "valueOf", - "start": 4507, - "end": 4514, - "loc": { - "start": { - "line": 211, - "column": 26 - }, - "end": { - "line": 211, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4514, - "end": 4515, - "loc": { - "start": { - "line": 211, - "column": 33 - }, - "end": { - "line": 211, - "column": 34 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4515, - "end": 4516, + "value": 2, + "start": 4874, + "end": 4875, "loc": { "start": { - "line": 211, - "column": 34 + "line": 227, + "column": 19 }, "end": { - "line": 211, - "column": 35 + "line": 227, + "column": 20 } } }, @@ -65632,16 +67597,16 @@ "postfix": false, "binop": null }, - "start": 4517, - "end": 4518, + "start": 4875, + "end": 4876, "loc": { "start": { - "line": 211, - "column": 36 + "line": 227, + "column": 20 }, "end": { - "line": 211, - "column": 37 + "line": 227, + "column": 21 } } }, @@ -65658,16 +67623,16 @@ "binop": null, "updateContext": null }, - "start": 4519, - "end": 4520, + "start": 4876, + "end": 4877, "loc": { "start": { - "line": 211, - "column": 38 + "line": 227, + "column": 21 }, "end": { - "line": 211, - "column": 39 + "line": 227, + "column": 22 } } }, @@ -65683,15 +67648,15 @@ "postfix": false, "binop": null }, - "start": 4522, - "end": 4523, + "start": 4879, + "end": 4880, "loc": { "start": { - "line": 212, + "line": 228, "column": 1 }, "end": { - "line": 212, + "line": 228, "column": 2 } } @@ -65708,17 +67673,17 @@ "postfix": false, "binop": null }, - "value": "ipow", - "start": 4526, - "end": 4530, + "value": "isquare", + "start": 4883, + "end": 4890, "loc": { "start": { - "line": 214, + "line": 230, "column": 1 }, "end": { - "line": 214, - "column": 5 + "line": 230, + "column": 8 } } }, @@ -65734,24 +67699,24 @@ "postfix": false, "binop": null }, - "start": 4531, - "end": 4532, + "start": 4891, + "end": 4892, "loc": { "start": { - "line": 214, - "column": 6 + "line": 230, + "column": 9 }, "end": { - "line": 214, - "column": 7 + "line": 230, + "column": 10 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -65759,25 +67724,24 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 4533, - "end": 4538, + "start": 4893, + "end": 4894, "loc": { "start": { - "line": 214, - "column": 8 + "line": 230, + "column": 11 }, "end": { - "line": 214, - "column": 13 + "line": 230, + "column": 12 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -65785,57 +67749,48 @@ "postfix": false, "binop": null }, - "start": 4539, - "end": 4540, + "start": 4895, + "end": 4896, "loc": { "start": { - "line": 214, - "column": 14 + "line": 230, + "column": 13 }, "end": { - "line": 214, - "column": 15 + "line": 230, + "column": 14 } } }, { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4541, - "end": 4542, + "type": "CommentLine", + "value": " TODO optimize but be careful with side effects", + "start": 4899, + "end": 4948, "loc": { "start": { - "line": 214, - "column": 16 + "line": 231, + "column": 2 }, "end": { - "line": 214, - "column": 17 + "line": 231, + "column": 51 } } }, { "type": "CommentLine", - "value": " TODO optimize but be careful with side effects", - "start": 4545, - "end": 4594, + "value": " TODO use this.imul(this) instead?", + "start": 4951, + "end": 4987, "loc": { "start": { - "line": 215, + "line": 232, "column": 2 }, "end": { - "line": 215, - "column": 51 + "line": 232, + "column": 38 } } }, @@ -65854,15 +67809,15 @@ "updateContext": null }, "value": "return", - "start": 4597, - "end": 4603, + "start": 4990, + "end": 4996, "loc": { "start": { - "line": 216, + "line": 233, "column": 2 }, "end": { - "line": 216, + "line": 233, "column": 8 } } @@ -65882,15 +67837,15 @@ "updateContext": null }, "value": "this", - "start": 4604, - "end": 4608, + "start": 4997, + "end": 5001, "loc": { "start": { - "line": 216, + "line": 233, "column": 9 }, "end": { - "line": 216, + "line": 233, "column": 13 } } @@ -65908,15 +67863,15 @@ "binop": null, "updateContext": null }, - "start": 4608, - "end": 4609, + "start": 5001, + "end": 5002, "loc": { "start": { - "line": 216, + "line": 233, "column": 13 }, "end": { - "line": 216, + "line": 233, "column": 14 } } @@ -65933,17 +67888,17 @@ "postfix": false, "binop": null }, - "value": "pow", - "start": 4609, - "end": 4612, + "value": "square", + "start": 5002, + "end": 5008, "loc": { "start": { - "line": 216, + "line": 233, "column": 14 }, "end": { - "line": 216, - "column": 17 + "line": 233, + "column": 20 } } }, @@ -65959,42 +67914,16 @@ "postfix": false, "binop": null }, - "start": 4612, - "end": 4613, - "loc": { - "start": { - "line": 216, - "column": 17 - }, - "end": { - "line": 216, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "other", - "start": 4613, - "end": 4618, + "start": 5008, + "end": 5009, "loc": { "start": { - "line": 216, - "column": 18 + "line": 233, + "column": 20 }, "end": { - "line": 216, - "column": 23 + "line": 233, + "column": 21 } } }, @@ -66010,16 +67939,16 @@ "postfix": false, "binop": null }, - "start": 4618, - "end": 4619, + "start": 5009, + "end": 5010, "loc": { "start": { - "line": 216, - "column": 23 + "line": 233, + "column": 21 }, "end": { - "line": 216, - "column": 24 + "line": 233, + "column": 22 } } }, @@ -66036,16 +67965,16 @@ "binop": null, "updateContext": null }, - "start": 4619, - "end": 4620, + "start": 5010, + "end": 5011, "loc": { "start": { - "line": 216, - "column": 24 + "line": 233, + "column": 22 }, "end": { - "line": 216, - "column": 25 + "line": 233, + "column": 23 } } }, @@ -66062,16 +67991,16 @@ "binop": null }, "value": "move", - "start": 4620, - "end": 4624, + "start": 5011, + "end": 5015, "loc": { "start": { - "line": 216, - "column": 25 + "line": 233, + "column": 23 }, "end": { - "line": 216, - "column": 29 + "line": 233, + "column": 27 } } }, @@ -66087,16 +68016,16 @@ "postfix": false, "binop": null }, - "start": 4624, - "end": 4625, + "start": 5015, + "end": 5016, "loc": { "start": { - "line": 216, - "column": 29 + "line": 233, + "column": 27 }, "end": { - "line": 216, - "column": 30 + "line": 233, + "column": 28 } } }, @@ -66115,16 +68044,16 @@ "updateContext": null }, "value": "this", - "start": 4625, - "end": 4629, + "start": 5016, + "end": 5020, "loc": { "start": { - "line": 216, - "column": 30 + "line": 233, + "column": 28 }, "end": { - "line": 216, - "column": 34 + "line": 233, + "column": 32 } } }, @@ -66140,16 +68069,16 @@ "postfix": false, "binop": null }, - "start": 4629, - "end": 4630, + "start": 5020, + "end": 5021, "loc": { "start": { - "line": 216, - "column": 34 + "line": 233, + "column": 32 }, "end": { - "line": 216, - "column": 35 + "line": 233, + "column": 33 } } }, @@ -66166,16 +68095,16 @@ "binop": null, "updateContext": null }, - "start": 4630, - "end": 4631, + "start": 5021, + "end": 5022, "loc": { "start": { - "line": 216, - "column": 35 + "line": 233, + "column": 33 }, "end": { - "line": 216, - "column": 36 + "line": 233, + "column": 34 } } }, @@ -66191,15 +68120,15 @@ "postfix": false, "binop": null }, - "start": 4633, - "end": 4634, + "start": 5024, + "end": 5025, "loc": { "start": { - "line": 217, + "line": 234, "column": 1 }, "end": { - "line": 217, + "line": 234, "column": 2 } } @@ -66216,17 +68145,17 @@ "postfix": false, "binop": null }, - "value": "ipown", - "start": 4637, - "end": 4642, + "value": "div", + "start": 5028, + "end": 5031, "loc": { "start": { - "line": 219, + "line": 236, "column": 1 }, "end": { - "line": 219, - "column": 6 + "line": 236, + "column": 4 } } }, @@ -66242,16 +68171,16 @@ "postfix": false, "binop": null }, - "start": 4643, - "end": 4644, + "start": 5032, + "end": 5033, "loc": { "start": { - "line": 219, - "column": 7 + "line": 236, + "column": 5 }, "end": { - "line": 219, - "column": 8 + "line": 236, + "column": 6 } } }, @@ -66267,17 +68196,17 @@ "postfix": false, "binop": null }, - "value": "number", - "start": 4645, - "end": 4651, + "value": "other", + "start": 5034, + "end": 5039, "loc": { "start": { - "line": 219, - "column": 9 + "line": 236, + "column": 7 }, "end": { - "line": 219, - "column": 15 + "line": 236, + "column": 12 } } }, @@ -66293,16 +68222,16 @@ "postfix": false, "binop": null }, - "start": 4652, - "end": 4653, + "start": 5040, + "end": 5041, "loc": { "start": { - "line": 219, - "column": 16 + "line": 236, + "column": 13 }, "end": { - "line": 219, - "column": 17 + "line": 236, + "column": 14 } } }, @@ -66318,32 +68247,16 @@ "postfix": false, "binop": null }, - "start": 4654, - "end": 4655, - "loc": { - "start": { - "line": 219, - "column": 18 - }, - "end": { - "line": 219, - "column": 19 - } - } - }, - { - "type": "CommentLine", - "value": " TODO optimize but be careful with side effects", - "start": 4658, - "end": 4707, + "start": 5042, + "end": 5043, "loc": { "start": { - "line": 220, - "column": 2 + "line": 236, + "column": 15 }, "end": { - "line": 220, - "column": 51 + "line": 236, + "column": 16 } } }, @@ -66362,15 +68275,15 @@ "updateContext": null }, "value": "return", - "start": 4710, - "end": 4716, + "start": 5046, + "end": 5052, "loc": { "start": { - "line": 221, + "line": 237, "column": 2 }, "end": { - "line": 221, + "line": 237, "column": 8 } } @@ -66390,15 +68303,15 @@ "updateContext": null }, "value": "this", - "start": 4717, - "end": 4721, + "start": 5053, + "end": 5057, "loc": { "start": { - "line": 221, + "line": 237, "column": 9 }, "end": { - "line": 221, + "line": 237, "column": 13 } } @@ -66416,15 +68329,15 @@ "binop": null, "updateContext": null }, - "start": 4721, - "end": 4722, + "start": 5057, + "end": 5058, "loc": { "start": { - "line": 221, + "line": 237, "column": 13 }, "end": { - "line": 221, + "line": 237, "column": 14 } } @@ -66441,17 +68354,17 @@ "postfix": false, "binop": null }, - "value": "pown", - "start": 4722, - "end": 4726, + "value": "divmod", + "start": 5058, + "end": 5064, "loc": { "start": { - "line": 221, + "line": 237, "column": 14 }, "end": { - "line": 221, - "column": 18 + "line": 237, + "column": 20 } } }, @@ -66467,16 +68380,16 @@ "postfix": false, "binop": null }, - "start": 4726, - "end": 4727, + "start": 5064, + "end": 5065, "loc": { "start": { - "line": 221, - "column": 18 + "line": 237, + "column": 20 }, "end": { - "line": 221, - "column": 19 + "line": 237, + "column": 21 } } }, @@ -66492,17 +68405,17 @@ "postfix": false, "binop": null }, - "value": "number", - "start": 4727, - "end": 4733, + "value": "other", + "start": 5066, + "end": 5071, "loc": { "start": { - "line": 221, - "column": 19 + "line": 237, + "column": 22 }, "end": { - "line": 221, - "column": 25 + "line": 237, + "column": 27 } } }, @@ -66518,24 +68431,24 @@ "postfix": false, "binop": null }, - "start": 4733, - "end": 4734, + "start": 5072, + "end": 5073, "loc": { "start": { - "line": 221, - "column": 25 + "line": 237, + "column": 28 }, "end": { - "line": 221, - "column": 26 + "line": 237, + "column": 29 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -66544,22 +68457,22 @@ "binop": null, "updateContext": null }, - "start": 4734, - "end": 4735, + "start": 5073, + "end": 5074, "loc": { "start": { - "line": 221, - "column": 26 + "line": 237, + "column": 29 }, "end": { - "line": 221, - "column": 27 + "line": 237, + "column": 30 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -66567,53 +68480,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "move", - "start": 4735, - "end": 4739, + "value": 0, + "start": 5074, + "end": 5075, "loc": { "start": { - "line": 221, - "column": 27 + "line": 237, + "column": 30 }, "end": { - "line": 221, + "line": 237, "column": 31 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "]", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4739, - "end": 4740, + "start": 5075, + "end": 5076, "loc": { "start": { - "line": 221, + "line": 237, "column": 31 }, "end": { - "line": 221, + "line": 237, "column": 32 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -66622,23 +68536,22 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 4740, - "end": 4744, + "start": 5077, + "end": 5078, "loc": { "start": { - "line": 221, - "column": 32 + "line": 237, + "column": 33 }, "end": { - "line": 221, - "column": 36 + "line": 237, + "column": 34 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -66648,50 +68561,24 @@ "postfix": false, "binop": null }, - "start": 4744, - "end": 4745, - "loc": { - "start": { - "line": 221, - "column": 36 - }, - "end": { - "line": 221, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4745, - "end": 4746, + "start": 5080, + "end": 5081, "loc": { "start": { - "line": 221, - "column": 37 + "line": 238, + "column": 1 }, "end": { - "line": 221, - "column": 38 + "line": 238, + "column": 2 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -66699,23 +68586,24 @@ "postfix": false, "binop": null }, - "start": 4748, - "end": 4749, + "value": "divn", + "start": 5084, + "end": 5088, "loc": { "start": { - "line": 222, + "line": 240, "column": 1 }, "end": { - "line": 222, - "column": 2 + "line": 240, + "column": 5 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -66724,24 +68612,23 @@ "postfix": false, "binop": null }, - "value": "square", - "start": 4752, - "end": 4758, + "start": 5089, + "end": 5090, "loc": { "start": { - "line": 224, - "column": 1 + "line": 240, + "column": 6 }, "end": { - "line": 224, + "line": 240, "column": 7 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -66750,16 +68637,17 @@ "postfix": false, "binop": null }, - "start": 4759, - "end": 4760, + "value": "number", + "start": 5091, + "end": 5097, "loc": { "start": { - "line": 224, + "line": 240, "column": 8 }, "end": { - "line": 224, - "column": 9 + "line": 240, + "column": 14 } } }, @@ -66775,16 +68663,16 @@ "postfix": false, "binop": null }, - "start": 4761, - "end": 4762, + "start": 5098, + "end": 5099, "loc": { "start": { - "line": 224, - "column": 10 + "line": 240, + "column": 15 }, "end": { - "line": 224, - "column": 11 + "line": 240, + "column": 16 } } }, @@ -66800,56 +68688,79 @@ "postfix": false, "binop": null }, - "start": 4763, - "end": 4764, + "start": 5100, + "end": 5101, "loc": { "start": { - "line": 224, - "column": 12 + "line": 240, + "column": 17 }, "end": { - "line": 224, - "column": 13 + "line": 240, + "column": 18 } } }, { - "type": "CommentLine", - "value": " TODO optimize but be careful with side effects", - "start": 4767, - "end": 4816, + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 5104, + "end": 5110, "loc": { "start": { - "line": 225, + "line": 241, "column": 2 }, "end": { - "line": 225, - "column": 51 + "line": 241, + "column": 8 } } }, { - "type": "CommentLine", - "value": " TODO use this.mul(this) instead?", - "start": 4819, - "end": 4854, + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 5111, + "end": 5115, "loc": { "start": { - "line": 226, - "column": 2 + "line": 241, + "column": 9 }, "end": { - "line": 226, - "column": 37 + "line": 241, + "column": 13 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -66859,24 +68770,22 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 4857, - "end": 4863, + "start": 5115, + "end": 5116, "loc": { "start": { - "line": 227, - "column": 2 + "line": 241, + "column": 13 }, "end": { - "line": 227, - "column": 8 + "line": 241, + "column": 14 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -66884,53 +68793,77 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null + }, + "value": "div", + "start": 5116, + "end": 5119, + "loc": { + "start": { + "line": 241, + "column": 14 + }, + "end": { + "line": 241, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null }, - "value": "this", - "start": 4864, - "end": 4868, + "start": 5119, + "end": 5120, "loc": { "start": { - "line": 227, - "column": 9 + "line": 241, + "column": 17 }, "end": { - "line": 227, - "column": 13 + "line": 241, + "column": 18 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4868, - "end": 4869, + "value": "_from_number", + "start": 5120, + "end": 5132, "loc": { "start": { - "line": 227, - "column": 13 + "line": 241, + "column": 18 }, "end": { - "line": 227, - "column": 14 + "line": 241, + "column": 30 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -66939,24 +68872,23 @@ "postfix": false, "binop": null }, - "value": "pown", - "start": 4869, - "end": 4873, + "start": 5132, + "end": 5133, "loc": { "start": { - "line": 227, - "column": 14 + "line": 241, + "column": 30 }, "end": { - "line": 227, - "column": 18 + "line": 241, + "column": 31 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -66965,43 +68897,42 @@ "postfix": false, "binop": null }, - "start": 4873, - "end": 4874, + "value": "number", + "start": 5133, + "end": 5139, "loc": { "start": { - "line": 227, - "column": 18 + "line": 241, + "column": 31 }, "end": { - "line": 227, - "column": 19 + "line": 241, + "column": 37 } } }, { "type": { - "label": "num", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 2, - "start": 4874, - "end": 4875, + "start": 5139, + "end": 5140, "loc": { "start": { - "line": 227, - "column": 19 + "line": 241, + "column": 37 }, "end": { - "line": 227, - "column": 20 + "line": 241, + "column": 38 } } }, @@ -67017,16 +68948,16 @@ "postfix": false, "binop": null }, - "start": 4875, - "end": 4876, + "start": 5140, + "end": 5141, "loc": { "start": { - "line": 227, - "column": 20 + "line": 241, + "column": 38 }, "end": { - "line": 227, - "column": 21 + "line": 241, + "column": 39 } } }, @@ -67043,16 +68974,16 @@ "binop": null, "updateContext": null }, - "start": 4876, - "end": 4877, + "start": 5142, + "end": 5143, "loc": { "start": { - "line": 227, - "column": 21 + "line": 241, + "column": 40 }, "end": { - "line": 227, - "column": 22 + "line": 241, + "column": 41 } } }, @@ -67068,15 +68999,15 @@ "postfix": false, "binop": null }, - "start": 4879, - "end": 4880, + "start": 5145, + "end": 5146, "loc": { "start": { - "line": 228, + "line": 242, "column": 1 }, "end": { - "line": 228, + "line": 242, "column": 2 } } @@ -67093,17 +69024,17 @@ "postfix": false, "binop": null }, - "value": "isquare", - "start": 4883, - "end": 4890, + "value": "idiv", + "start": 5149, + "end": 5153, "loc": { "start": { - "line": 230, + "line": 244, "column": 1 }, "end": { - "line": 230, - "column": 8 + "line": 244, + "column": 5 } } }, @@ -67119,24 +69050,24 @@ "postfix": false, "binop": null }, - "start": 4891, - "end": 4892, + "start": 5154, + "end": 5155, "loc": { "start": { - "line": 230, - "column": 9 + "line": 244, + "column": 6 }, "end": { - "line": 230, - "column": 10 + "line": 244, + "column": 7 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -67144,24 +69075,25 @@ "postfix": false, "binop": null }, - "start": 4893, - "end": 4894, + "value": "other", + "start": 5156, + "end": 5161, "loc": { "start": { - "line": 230, - "column": 11 + "line": 244, + "column": 8 }, "end": { - "line": 230, - "column": 12 + "line": 244, + "column": 13 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -67169,48 +69101,57 @@ "postfix": false, "binop": null }, - "start": 4895, - "end": 4896, + "start": 5162, + "end": 5163, "loc": { "start": { - "line": 230, - "column": 13 + "line": 244, + "column": 14 }, "end": { - "line": 230, - "column": 14 + "line": 244, + "column": 15 } } }, { - "type": "CommentLine", - "value": " TODO optimize but be careful with side effects", - "start": 4899, - "end": 4948, + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5164, + "end": 5165, "loc": { "start": { - "line": 231, - "column": 2 + "line": 244, + "column": 16 }, "end": { - "line": 231, - "column": 51 + "line": 244, + "column": 17 } } }, { "type": "CommentLine", - "value": " TODO use this.imul(this) instead?", - "start": 4951, - "end": 4987, + "value": " TODO optimize but be careful with side effects", + "start": 5168, + "end": 5217, "loc": { "start": { - "line": 232, + "line": 245, "column": 2 }, "end": { - "line": 232, - "column": 38 + "line": 245, + "column": 51 } } }, @@ -67229,15 +69170,15 @@ "updateContext": null }, "value": "return", - "start": 4990, - "end": 4996, + "start": 5220, + "end": 5226, "loc": { "start": { - "line": 233, + "line": 246, "column": 2 }, "end": { - "line": 233, + "line": 246, "column": 8 } } @@ -67257,15 +69198,15 @@ "updateContext": null }, "value": "this", - "start": 4997, - "end": 5001, + "start": 5227, + "end": 5231, "loc": { "start": { - "line": 233, + "line": 246, "column": 9 }, "end": { - "line": 233, + "line": 246, "column": 13 } } @@ -67283,15 +69224,15 @@ "binop": null, "updateContext": null }, - "start": 5001, - "end": 5002, + "start": 5231, + "end": 5232, "loc": { "start": { - "line": 233, + "line": 246, "column": 13 }, "end": { - "line": 233, + "line": 246, "column": 14 } } @@ -67308,17 +69249,17 @@ "postfix": false, "binop": null }, - "value": "square", - "start": 5002, - "end": 5008, + "value": "div", + "start": 5232, + "end": 5235, "loc": { "start": { - "line": 233, + "line": 246, "column": 14 }, "end": { - "line": 233, - "column": 20 + "line": 246, + "column": 17 } } }, @@ -67334,16 +69275,42 @@ "postfix": false, "binop": null }, - "start": 5008, - "end": 5009, + "start": 5235, + "end": 5236, "loc": { "start": { - "line": 233, - "column": 20 + "line": 246, + "column": 17 }, "end": { - "line": 233, - "column": 21 + "line": 246, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 5236, + "end": 5241, + "loc": { + "start": { + "line": 246, + "column": 18 + }, + "end": { + "line": 246, + "column": 23 } } }, @@ -67359,16 +69326,16 @@ "postfix": false, "binop": null }, - "start": 5009, - "end": 5010, + "start": 5241, + "end": 5242, "loc": { "start": { - "line": 233, - "column": 21 + "line": 246, + "column": 23 }, "end": { - "line": 233, - "column": 22 + "line": 246, + "column": 24 } } }, @@ -67385,16 +69352,16 @@ "binop": null, "updateContext": null }, - "start": 5010, - "end": 5011, + "start": 5242, + "end": 5243, "loc": { "start": { - "line": 233, - "column": 22 + "line": 246, + "column": 24 }, "end": { - "line": 233, - "column": 23 + "line": 246, + "column": 25 } } }, @@ -67411,16 +69378,16 @@ "binop": null }, "value": "move", - "start": 5011, - "end": 5015, + "start": 5243, + "end": 5247, "loc": { "start": { - "line": 233, - "column": 23 + "line": 246, + "column": 25 }, "end": { - "line": 233, - "column": 27 + "line": 246, + "column": 29 } } }, @@ -67436,16 +69403,16 @@ "postfix": false, "binop": null }, - "start": 5015, - "end": 5016, + "start": 5247, + "end": 5248, "loc": { "start": { - "line": 233, - "column": 27 + "line": 246, + "column": 29 }, "end": { - "line": 233, - "column": 28 + "line": 246, + "column": 30 } } }, @@ -67464,16 +69431,16 @@ "updateContext": null }, "value": "this", - "start": 5016, - "end": 5020, + "start": 5248, + "end": 5252, "loc": { "start": { - "line": 233, - "column": 28 + "line": 246, + "column": 30 }, "end": { - "line": 233, - "column": 32 + "line": 246, + "column": 34 } } }, @@ -67489,16 +69456,16 @@ "postfix": false, "binop": null }, - "start": 5020, - "end": 5021, + "start": 5252, + "end": 5253, "loc": { "start": { - "line": 233, - "column": 32 + "line": 246, + "column": 34 }, "end": { - "line": 233, - "column": 33 + "line": 246, + "column": 35 } } }, @@ -67515,16 +69482,16 @@ "binop": null, "updateContext": null }, - "start": 5021, - "end": 5022, + "start": 5253, + "end": 5254, "loc": { "start": { - "line": 233, - "column": 33 + "line": 246, + "column": 35 }, "end": { - "line": 233, - "column": 34 + "line": 246, + "column": 36 } } }, @@ -67540,15 +69507,15 @@ "postfix": false, "binop": null }, - "start": 5024, - "end": 5025, + "start": 5256, + "end": 5257, "loc": { "start": { - "line": 234, + "line": 247, "column": 1 }, "end": { - "line": 234, + "line": 247, "column": 2 } } @@ -67565,17 +69532,17 @@ "postfix": false, "binop": null }, - "value": "div", - "start": 5028, - "end": 5031, + "value": "idivn", + "start": 5260, + "end": 5265, "loc": { "start": { - "line": 236, + "line": 249, "column": 1 }, "end": { - "line": 236, - "column": 4 + "line": 249, + "column": 6 } } }, @@ -67591,16 +69558,16 @@ "postfix": false, "binop": null }, - "start": 5032, - "end": 5033, + "start": 5266, + "end": 5267, "loc": { "start": { - "line": 236, - "column": 5 + "line": 249, + "column": 7 }, "end": { - "line": 236, - "column": 6 + "line": 249, + "column": 8 } } }, @@ -67616,17 +69583,17 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 5034, - "end": 5039, + "value": "number", + "start": 5268, + "end": 5274, "loc": { "start": { - "line": 236, - "column": 7 + "line": 249, + "column": 9 }, "end": { - "line": 236, - "column": 12 + "line": 249, + "column": 15 } } }, @@ -67642,16 +69609,16 @@ "postfix": false, "binop": null }, - "start": 5040, - "end": 5041, + "start": 5275, + "end": 5276, "loc": { "start": { - "line": 236, - "column": 13 + "line": 249, + "column": 16 }, "end": { - "line": 236, - "column": 14 + "line": 249, + "column": 17 } } }, @@ -67667,16 +69634,16 @@ "postfix": false, "binop": null }, - "start": 5042, - "end": 5043, + "start": 5277, + "end": 5278, "loc": { "start": { - "line": 236, - "column": 15 + "line": 249, + "column": 18 }, "end": { - "line": 236, - "column": 16 + "line": 249, + "column": 19 } } }, @@ -67695,15 +69662,15 @@ "updateContext": null }, "value": "return", - "start": 5046, - "end": 5052, + "start": 5281, + "end": 5287, "loc": { "start": { - "line": 237, + "line": 250, "column": 2 }, "end": { - "line": 237, + "line": 250, "column": 8 } } @@ -67723,15 +69690,15 @@ "updateContext": null }, "value": "this", - "start": 5053, - "end": 5057, + "start": 5288, + "end": 5292, "loc": { "start": { - "line": 237, + "line": 250, "column": 9 }, "end": { - "line": 237, + "line": 250, "column": 13 } } @@ -67746,19 +69713,70 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null, + "updateContext": null + }, + "start": 5292, + "end": 5293, + "loc": { + "start": { + "line": 250, + "column": 13 + }, + "end": { + "line": 250, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "divn", + "start": 5293, + "end": 5297, + "loc": { + "start": { + "line": 250, + "column": 14 + }, + "end": { + "line": 250, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null }, - "start": 5057, - "end": 5058, + "start": 5297, + "end": 5298, "loc": { "start": { - "line": 237, - "column": 13 + "line": 250, + "column": 18 }, "end": { - "line": 237, - "column": 14 + "line": 250, + "column": 19 } } }, @@ -67774,25 +69792,25 @@ "postfix": false, "binop": null }, - "value": "divmod", - "start": 5058, - "end": 5064, + "value": "number", + "start": 5298, + "end": 5304, "loc": { "start": { - "line": 237, - "column": 14 + "line": 250, + "column": 19 }, "end": { - "line": 237, - "column": 20 + "line": 250, + "column": 25 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -67800,50 +69818,50 @@ "postfix": false, "binop": null }, - "start": 5064, - "end": 5065, + "start": 5304, + "end": 5305, "loc": { "start": { - "line": 237, - "column": 20 + "line": 250, + "column": 25 }, "end": { - "line": 237, - "column": 21 + "line": 250, + "column": 26 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "other", - "start": 5066, - "end": 5071, + "start": 5305, + "end": 5306, "loc": { "start": { - "line": 237, - "column": 22 + "line": 250, + "column": 26 }, "end": { - "line": 237, + "line": 250, "column": 27 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -67851,22 +69869,23 @@ "postfix": false, "binop": null }, - "start": 5072, - "end": 5073, + "value": "move", + "start": 5306, + "end": 5310, "loc": { "start": { - "line": 237, - "column": 28 + "line": 250, + "column": 27 }, "end": { - "line": 237, - "column": 29 + "line": 250, + "column": 31 } } }, { "type": { - "label": "[", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -67874,25 +69893,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5073, - "end": 5074, + "start": 5310, + "end": 5311, "loc": { "start": { - "line": 237, - "column": 29 + "line": 250, + "column": 31 }, "end": { - "line": 237, - "column": 30 + "line": 250, + "column": 32 } } }, { "type": { - "label": "num", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -67903,23 +69922,23 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 5074, - "end": 5075, + "value": "this", + "start": 5311, + "end": 5315, "loc": { "start": { - "line": 237, - "column": 30 + "line": 250, + "column": 32 }, "end": { - "line": 237, - "column": 31 + "line": 250, + "column": 36 } } }, { "type": { - "label": "]", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -67927,19 +69946,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5075, - "end": 5076, + "start": 5315, + "end": 5316, "loc": { "start": { - "line": 237, - "column": 31 + "line": 250, + "column": 36 }, "end": { - "line": 237, - "column": 32 + "line": 250, + "column": 37 } } }, @@ -67956,16 +69974,16 @@ "binop": null, "updateContext": null }, - "start": 5077, - "end": 5078, + "start": 5316, + "end": 5317, "loc": { "start": { - "line": 237, - "column": 33 + "line": 250, + "column": 37 }, "end": { - "line": 237, - "column": 34 + "line": 250, + "column": 38 } } }, @@ -67981,15 +69999,15 @@ "postfix": false, "binop": null }, - "start": 5080, - "end": 5081, + "start": 5319, + "end": 5320, "loc": { "start": { - "line": 238, + "line": 251, "column": 1 }, "end": { - "line": 238, + "line": 251, "column": 2 } } @@ -68006,17 +70024,17 @@ "postfix": false, "binop": null }, - "value": "divn", - "start": 5084, - "end": 5088, + "value": "mod", + "start": 5323, + "end": 5326, "loc": { "start": { - "line": 240, + "line": 253, "column": 1 }, "end": { - "line": 240, - "column": 5 + "line": 253, + "column": 4 } } }, @@ -68032,16 +70050,16 @@ "postfix": false, "binop": null }, - "start": 5089, - "end": 5090, + "start": 5327, + "end": 5328, "loc": { "start": { - "line": 240, - "column": 6 + "line": 253, + "column": 5 }, "end": { - "line": 240, - "column": 7 + "line": 253, + "column": 6 } } }, @@ -68057,17 +70075,17 @@ "postfix": false, "binop": null }, - "value": "number", - "start": 5091, - "end": 5097, + "value": "other", + "start": 5329, + "end": 5334, "loc": { "start": { - "line": 240, - "column": 8 + "line": 253, + "column": 7 }, "end": { - "line": 240, - "column": 14 + "line": 253, + "column": 12 } } }, @@ -68083,16 +70101,16 @@ "postfix": false, "binop": null }, - "start": 5098, - "end": 5099, + "start": 5335, + "end": 5336, "loc": { "start": { - "line": 240, - "column": 15 + "line": 253, + "column": 13 }, "end": { - "line": 240, - "column": 16 + "line": 253, + "column": 14 } } }, @@ -68108,16 +70126,16 @@ "postfix": false, "binop": null }, - "start": 5100, - "end": 5101, + "start": 5337, + "end": 5338, "loc": { "start": { - "line": 240, - "column": 17 + "line": 253, + "column": 15 }, "end": { - "line": 240, - "column": 18 + "line": 253, + "column": 16 } } }, @@ -68136,15 +70154,15 @@ "updateContext": null }, "value": "return", - "start": 5104, - "end": 5110, + "start": 5341, + "end": 5347, "loc": { "start": { - "line": 241, + "line": 254, "column": 2 }, "end": { - "line": 241, + "line": 254, "column": 8 } } @@ -68164,15 +70182,15 @@ "updateContext": null }, "value": "this", - "start": 5111, - "end": 5115, + "start": 5348, + "end": 5352, "loc": { "start": { - "line": 241, + "line": 254, "column": 9 }, "end": { - "line": 241, + "line": 254, "column": 13 } } @@ -68190,15 +70208,15 @@ "binop": null, "updateContext": null }, - "start": 5115, - "end": 5116, + "start": 5352, + "end": 5353, "loc": { "start": { - "line": 241, + "line": 254, "column": 13 }, "end": { - "line": 241, + "line": 254, "column": 14 } } @@ -68215,17 +70233,17 @@ "postfix": false, "binop": null }, - "value": "div", - "start": 5116, - "end": 5119, + "value": "divmod", + "start": 5353, + "end": 5359, "loc": { "start": { - "line": 241, + "line": 254, "column": 14 }, "end": { - "line": 241, - "column": 17 + "line": 254, + "column": 20 } } }, @@ -68241,16 +70259,16 @@ "postfix": false, "binop": null }, - "start": 5119, - "end": 5120, + "start": 5359, + "end": 5360, "loc": { "start": { - "line": 241, - "column": 17 + "line": 254, + "column": 20 }, "end": { - "line": 241, - "column": 18 + "line": 254, + "column": 21 } } }, @@ -68266,25 +70284,25 @@ "postfix": false, "binop": null }, - "value": "_from_number", - "start": 5120, - "end": 5132, + "value": "other", + "start": 5361, + "end": 5366, "loc": { "start": { - "line": 241, - "column": 18 + "line": 254, + "column": 22 }, "end": { - "line": 241, - "column": 30 + "line": 254, + "column": 27 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -68292,73 +70310,75 @@ "postfix": false, "binop": null }, - "start": 5132, - "end": 5133, + "start": 5367, + "end": 5368, "loc": { "start": { - "line": 241, - "column": 30 + "line": 254, + "column": 28 }, "end": { - "line": 241, - "column": 31 + "line": 254, + "column": 29 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "number", - "start": 5133, - "end": 5139, + "start": 5368, + "end": 5369, "loc": { "start": { - "line": 241, - "column": 31 + "line": 254, + "column": 29 }, "end": { - "line": 241, - "column": 37 + "line": 254, + "column": 30 } } }, { "type": { - "label": ")", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5139, - "end": 5140, + "value": 1, + "start": 5369, + "end": 5370, "loc": { "start": { - "line": 241, - "column": 37 + "line": 254, + "column": 30 }, "end": { - "line": 241, - "column": 38 + "line": 254, + "column": 31 } } }, { "type": { - "label": ")", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -68366,18 +70386,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5140, - "end": 5141, + "start": 5370, + "end": 5371, "loc": { "start": { - "line": 241, - "column": 38 + "line": 254, + "column": 31 }, "end": { - "line": 241, - "column": 39 + "line": 254, + "column": 32 } } }, @@ -68394,16 +70415,16 @@ "binop": null, "updateContext": null }, - "start": 5142, - "end": 5143, + "start": 5372, + "end": 5373, "loc": { "start": { - "line": 241, - "column": 40 + "line": 254, + "column": 33 }, "end": { - "line": 241, - "column": 41 + "line": 254, + "column": 34 } } }, @@ -68419,15 +70440,15 @@ "postfix": false, "binop": null }, - "start": 5145, - "end": 5146, + "start": 5375, + "end": 5376, "loc": { "start": { - "line": 242, + "line": 255, "column": 1 }, "end": { - "line": 242, + "line": 255, "column": 2 } } @@ -68444,16 +70465,16 @@ "postfix": false, "binop": null }, - "value": "idiv", - "start": 5149, - "end": 5153, + "value": "modn", + "start": 5379, + "end": 5383, "loc": { "start": { - "line": 244, + "line": 257, "column": 1 }, "end": { - "line": 244, + "line": 257, "column": 5 } } @@ -68470,15 +70491,15 @@ "postfix": false, "binop": null }, - "start": 5154, - "end": 5155, + "start": 5384, + "end": 5385, "loc": { "start": { - "line": 244, + "line": 257, "column": 6 }, "end": { - "line": 244, + "line": 257, "column": 7 } } @@ -68495,17 +70516,17 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 5156, - "end": 5161, + "value": "number", + "start": 5386, + "end": 5392, "loc": { "start": { - "line": 244, + "line": 257, "column": 8 }, "end": { - "line": 244, - "column": 13 + "line": 257, + "column": 14 } } }, @@ -68521,16 +70542,16 @@ "postfix": false, "binop": null }, - "start": 5162, - "end": 5163, + "start": 5393, + "end": 5394, "loc": { "start": { - "line": 244, - "column": 14 + "line": 257, + "column": 15 }, "end": { - "line": 244, - "column": 15 + "line": 257, + "column": 16 } } }, @@ -68546,32 +70567,16 @@ "postfix": false, "binop": null }, - "start": 5164, - "end": 5165, + "start": 5395, + "end": 5396, "loc": { "start": { - "line": 244, - "column": 16 - }, - "end": { - "line": 244, + "line": 257, "column": 17 - } - } - }, - { - "type": "CommentLine", - "value": " TODO optimize but be careful with side effects", - "start": 5168, - "end": 5217, - "loc": { - "start": { - "line": 245, - "column": 2 }, "end": { - "line": 245, - "column": 51 + "line": 257, + "column": 18 } } }, @@ -68590,15 +70595,15 @@ "updateContext": null }, "value": "return", - "start": 5220, - "end": 5226, + "start": 5399, + "end": 5405, "loc": { "start": { - "line": 246, + "line": 258, "column": 2 }, "end": { - "line": 246, + "line": 258, "column": 8 } } @@ -68618,15 +70623,15 @@ "updateContext": null }, "value": "this", - "start": 5227, - "end": 5231, + "start": 5406, + "end": 5410, "loc": { "start": { - "line": 246, + "line": 258, "column": 9 }, "end": { - "line": 246, + "line": 258, "column": 13 } } @@ -68644,67 +70649,16 @@ "binop": null, "updateContext": null }, - "start": 5231, - "end": 5232, - "loc": { - "start": { - "line": 246, - "column": 13 - }, - "end": { - "line": 246, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "div", - "start": 5232, - "end": 5235, - "loc": { - "start": { - "line": 246, - "column": 14 - }, - "end": { - "line": 246, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5235, - "end": 5236, + "start": 5410, + "end": 5411, "loc": { "start": { - "line": 246, - "column": 17 + "line": 258, + "column": 13 }, "end": { - "line": 246, - "column": 18 + "line": 258, + "column": 14 } } }, @@ -68720,25 +70674,25 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 5236, - "end": 5241, + "value": "mod", + "start": 5411, + "end": 5414, "loc": { "start": { - "line": 246, - "column": 18 + "line": 258, + "column": 14 }, "end": { - "line": 246, - "column": 23 + "line": 258, + "column": 17 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -68746,49 +70700,49 @@ "postfix": false, "binop": null }, - "start": 5241, - "end": 5242, + "start": 5414, + "end": 5415, "loc": { "start": { - "line": 246, - "column": 23 + "line": 258, + "column": 17 }, "end": { - "line": 246, - "column": 24 + "line": 258, + "column": 18 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5242, - "end": 5243, + "value": "_from_number", + "start": 5415, + "end": 5427, "loc": { "start": { - "line": 246, - "column": 24 + "line": 258, + "column": 18 }, "end": { - "line": 246, - "column": 25 + "line": 258, + "column": 30 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -68797,24 +70751,23 @@ "postfix": false, "binop": null }, - "value": "move", - "start": 5243, - "end": 5247, + "start": 5427, + "end": 5428, "loc": { "start": { - "line": 246, - "column": 25 + "line": 258, + "column": 30 }, "end": { - "line": 246, - "column": 29 + "line": 258, + "column": 31 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -68823,44 +70776,42 @@ "postfix": false, "binop": null }, - "start": 5247, - "end": 5248, + "value": "number", + "start": 5428, + "end": 5434, "loc": { "start": { - "line": 246, - "column": 29 + "line": 258, + "column": 31 }, "end": { - "line": 246, - "column": 30 + "line": 258, + "column": 37 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 5248, - "end": 5252, + "start": 5434, + "end": 5435, "loc": { "start": { - "line": 246, - "column": 30 + "line": 258, + "column": 37 }, "end": { - "line": 246, - "column": 34 + "line": 258, + "column": 38 } } }, @@ -68876,16 +70827,16 @@ "postfix": false, "binop": null }, - "start": 5252, - "end": 5253, + "start": 5435, + "end": 5436, "loc": { "start": { - "line": 246, - "column": 34 + "line": 258, + "column": 38 }, "end": { - "line": 246, - "column": 35 + "line": 258, + "column": 39 } } }, @@ -68902,16 +70853,16 @@ "binop": null, "updateContext": null }, - "start": 5253, - "end": 5254, + "start": 5437, + "end": 5438, "loc": { "start": { - "line": 246, - "column": 35 + "line": 258, + "column": 40 }, "end": { - "line": 246, - "column": 36 + "line": 258, + "column": 41 } } }, @@ -68927,15 +70878,15 @@ "postfix": false, "binop": null }, - "start": 5256, - "end": 5257, + "start": 5440, + "end": 5441, "loc": { "start": { - "line": 247, + "line": 259, "column": 1 }, "end": { - "line": 247, + "line": 259, "column": 2 } } @@ -68952,17 +70903,17 @@ "postfix": false, "binop": null }, - "value": "idivn", - "start": 5260, - "end": 5265, + "value": "imod", + "start": 5444, + "end": 5448, "loc": { "start": { - "line": 249, + "line": 261, "column": 1 }, "end": { - "line": 249, - "column": 6 + "line": 261, + "column": 5 } } }, @@ -68978,16 +70929,16 @@ "postfix": false, "binop": null }, - "start": 5266, - "end": 5267, + "start": 5449, + "end": 5450, "loc": { "start": { - "line": 249, - "column": 7 + "line": 261, + "column": 6 }, "end": { - "line": 249, - "column": 8 + "line": 261, + "column": 7 } } }, @@ -69003,17 +70954,17 @@ "postfix": false, "binop": null }, - "value": "number", - "start": 5268, - "end": 5274, + "value": "other", + "start": 5451, + "end": 5456, "loc": { "start": { - "line": 249, - "column": 9 + "line": 261, + "column": 8 }, "end": { - "line": 249, - "column": 15 + "line": 261, + "column": 13 } } }, @@ -69029,16 +70980,16 @@ "postfix": false, "binop": null }, - "start": 5275, - "end": 5276, + "start": 5457, + "end": 5458, "loc": { "start": { - "line": 249, - "column": 16 + "line": 261, + "column": 14 }, "end": { - "line": 249, - "column": 17 + "line": 261, + "column": 15 } } }, @@ -69054,16 +71005,32 @@ "postfix": false, "binop": null }, - "start": 5277, - "end": 5278, + "start": 5459, + "end": 5460, "loc": { "start": { - "line": 249, - "column": 18 + "line": 261, + "column": 16 }, "end": { - "line": 249, - "column": 19 + "line": 261, + "column": 17 + } + } + }, + { + "type": "CommentLine", + "value": " TODO optimize but be careful with side effects", + "start": 5463, + "end": 5512, + "loc": { + "start": { + "line": 262, + "column": 2 + }, + "end": { + "line": 262, + "column": 51 } } }, @@ -69082,15 +71049,15 @@ "updateContext": null }, "value": "return", - "start": 5281, - "end": 5287, + "start": 5515, + "end": 5521, "loc": { "start": { - "line": 250, + "line": 263, "column": 2 }, "end": { - "line": 250, + "line": 263, "column": 8 } } @@ -69110,15 +71077,15 @@ "updateContext": null }, "value": "this", - "start": 5288, - "end": 5292, + "start": 5522, + "end": 5526, "loc": { "start": { - "line": 250, + "line": 263, "column": 9 }, "end": { - "line": 250, + "line": 263, "column": 13 } } @@ -69136,15 +71103,15 @@ "binop": null, "updateContext": null }, - "start": 5292, - "end": 5293, + "start": 5526, + "end": 5527, "loc": { "start": { - "line": 250, + "line": 263, "column": 13 }, "end": { - "line": 250, + "line": 263, "column": 14 } } @@ -69161,17 +71128,17 @@ "postfix": false, "binop": null }, - "value": "divn", - "start": 5293, - "end": 5297, + "value": "mod", + "start": 5527, + "end": 5530, "loc": { "start": { - "line": 250, + "line": 263, "column": 14 }, "end": { - "line": 250, - "column": 18 + "line": 263, + "column": 17 } } }, @@ -69187,16 +71154,16 @@ "postfix": false, "binop": null }, - "start": 5297, - "end": 5298, + "start": 5530, + "end": 5531, "loc": { "start": { - "line": 250, - "column": 18 + "line": 263, + "column": 17 }, "end": { - "line": 250, - "column": 19 + "line": 263, + "column": 18 } } }, @@ -69212,17 +71179,17 @@ "postfix": false, "binop": null }, - "value": "number", - "start": 5298, - "end": 5304, + "value": "other", + "start": 5531, + "end": 5536, "loc": { "start": { - "line": 250, - "column": 19 + "line": 263, + "column": 18 }, "end": { - "line": 250, - "column": 25 + "line": 263, + "column": 23 } } }, @@ -69238,16 +71205,16 @@ "postfix": false, "binop": null }, - "start": 5304, - "end": 5305, + "start": 5536, + "end": 5537, "loc": { "start": { - "line": 250, - "column": 25 + "line": 263, + "column": 23 }, "end": { - "line": 250, - "column": 26 + "line": 263, + "column": 24 } } }, @@ -69264,16 +71231,16 @@ "binop": null, "updateContext": null }, - "start": 5305, - "end": 5306, + "start": 5537, + "end": 5538, "loc": { "start": { - "line": 250, - "column": 26 + "line": 263, + "column": 24 }, "end": { - "line": 250, - "column": 27 + "line": 263, + "column": 25 } } }, @@ -69290,16 +71257,16 @@ "binop": null }, "value": "move", - "start": 5306, - "end": 5310, + "start": 5538, + "end": 5542, "loc": { "start": { - "line": 250, - "column": 27 + "line": 263, + "column": 25 }, "end": { - "line": 250, - "column": 31 + "line": 263, + "column": 29 } } }, @@ -69315,16 +71282,16 @@ "postfix": false, "binop": null }, - "start": 5310, - "end": 5311, + "start": 5542, + "end": 5543, "loc": { "start": { - "line": 250, - "column": 31 + "line": 263, + "column": 29 }, "end": { - "line": 250, - "column": 32 + "line": 263, + "column": 30 } } }, @@ -69343,16 +71310,16 @@ "updateContext": null }, "value": "this", - "start": 5311, - "end": 5315, + "start": 5543, + "end": 5547, "loc": { "start": { - "line": 250, - "column": 32 + "line": 263, + "column": 30 }, "end": { - "line": 250, - "column": 36 + "line": 263, + "column": 34 } } }, @@ -69368,16 +71335,16 @@ "postfix": false, "binop": null }, - "start": 5315, - "end": 5316, + "start": 5547, + "end": 5548, "loc": { "start": { - "line": 250, - "column": 36 + "line": 263, + "column": 34 }, "end": { - "line": 250, - "column": 37 + "line": 263, + "column": 35 } } }, @@ -69394,16 +71361,16 @@ "binop": null, "updateContext": null }, - "start": 5316, - "end": 5317, + "start": 5548, + "end": 5549, "loc": { "start": { - "line": 250, - "column": 37 + "line": 263, + "column": 35 }, "end": { - "line": 250, - "column": 38 + "line": 263, + "column": 36 } } }, @@ -69419,15 +71386,15 @@ "postfix": false, "binop": null }, - "start": 5319, - "end": 5320, + "start": 5551, + "end": 5552, "loc": { "start": { - "line": 251, + "line": 264, "column": 1 }, "end": { - "line": 251, + "line": 264, "column": 2 } } @@ -69444,17 +71411,17 @@ "postfix": false, "binop": null }, - "value": "mod", - "start": 5323, - "end": 5326, + "value": "imodn", + "start": 5555, + "end": 5560, "loc": { "start": { - "line": 253, + "line": 266, "column": 1 }, "end": { - "line": 253, - "column": 4 + "line": 266, + "column": 6 } } }, @@ -69470,16 +71437,16 @@ "postfix": false, "binop": null }, - "start": 5327, - "end": 5328, + "start": 5561, + "end": 5562, "loc": { "start": { - "line": 253, - "column": 5 + "line": 266, + "column": 7 }, "end": { - "line": 253, - "column": 6 + "line": 266, + "column": 8 } } }, @@ -69495,17 +71462,17 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 5329, - "end": 5334, + "value": "number", + "start": 5563, + "end": 5569, "loc": { "start": { - "line": 253, - "column": 7 + "line": 266, + "column": 9 }, "end": { - "line": 253, - "column": 12 + "line": 266, + "column": 15 } } }, @@ -69521,16 +71488,16 @@ "postfix": false, "binop": null }, - "start": 5335, - "end": 5336, + "start": 5570, + "end": 5571, "loc": { "start": { - "line": 253, - "column": 13 + "line": 266, + "column": 16 }, "end": { - "line": 253, - "column": 14 + "line": 266, + "column": 17 } } }, @@ -69546,16 +71513,16 @@ "postfix": false, "binop": null }, - "start": 5337, - "end": 5338, + "start": 5572, + "end": 5573, "loc": { "start": { - "line": 253, - "column": 15 + "line": 266, + "column": 18 }, "end": { - "line": 253, - "column": 16 + "line": 266, + "column": 19 } } }, @@ -69574,15 +71541,15 @@ "updateContext": null }, "value": "return", - "start": 5341, - "end": 5347, + "start": 5576, + "end": 5582, "loc": { "start": { - "line": 254, + "line": 267, "column": 2 }, "end": { - "line": 254, + "line": 267, "column": 8 } } @@ -69602,15 +71569,15 @@ "updateContext": null }, "value": "this", - "start": 5348, - "end": 5352, + "start": 5583, + "end": 5587, "loc": { "start": { - "line": 254, + "line": 267, "column": 9 }, "end": { - "line": 254, + "line": 267, "column": 13 } } @@ -69628,16 +71595,67 @@ "binop": null, "updateContext": null }, - "start": 5352, - "end": 5353, + "start": 5587, + "end": 5588, + "loc": { + "start": { + "line": 267, + "column": 13 + }, + "end": { + "line": 267, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "modn", + "start": 5588, + "end": 5592, + "loc": { + "start": { + "line": 267, + "column": 14 + }, + "end": { + "line": 267, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5592, + "end": 5593, "loc": { "start": { - "line": 254, - "column": 13 + "line": 267, + "column": 18 }, "end": { - "line": 254, - "column": 14 + "line": 267, + "column": 19 } } }, @@ -69653,25 +71671,25 @@ "postfix": false, "binop": null }, - "value": "divmod", - "start": 5353, - "end": 5359, + "value": "number", + "start": 5593, + "end": 5599, "loc": { "start": { - "line": 254, - "column": 14 + "line": 267, + "column": 19 }, "end": { - "line": 254, - "column": 20 + "line": 267, + "column": 25 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -69679,50 +71697,50 @@ "postfix": false, "binop": null }, - "start": 5359, - "end": 5360, + "start": 5599, + "end": 5600, "loc": { "start": { - "line": 254, - "column": 20 + "line": 267, + "column": 25 }, "end": { - "line": 254, - "column": 21 + "line": 267, + "column": 26 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "other", - "start": 5361, - "end": 5366, + "start": 5600, + "end": 5601, "loc": { "start": { - "line": 254, - "column": 22 + "line": 267, + "column": 26 }, "end": { - "line": 254, + "line": 267, "column": 27 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -69730,22 +71748,23 @@ "postfix": false, "binop": null }, - "start": 5367, - "end": 5368, + "value": "move", + "start": 5601, + "end": 5605, "loc": { "start": { - "line": 254, - "column": 28 + "line": 267, + "column": 27 }, "end": { - "line": 254, - "column": 29 + "line": 267, + "column": 31 } } }, { "type": { - "label": "[", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -69753,25 +71772,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5368, - "end": 5369, + "start": 5605, + "end": 5606, "loc": { "start": { - "line": 254, - "column": 29 + "line": 267, + "column": 31 }, "end": { - "line": 254, - "column": 30 + "line": 267, + "column": 32 } } }, { "type": { - "label": "num", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -69782,23 +71801,23 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 5369, - "end": 5370, + "value": "this", + "start": 5606, + "end": 5610, "loc": { "start": { - "line": 254, - "column": 30 + "line": 267, + "column": 32 }, "end": { - "line": 254, - "column": 31 + "line": 267, + "column": 36 } } }, { "type": { - "label": "]", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -69806,19 +71825,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5370, - "end": 5371, + "start": 5610, + "end": 5611, "loc": { "start": { - "line": 254, - "column": 31 + "line": 267, + "column": 36 }, "end": { - "line": 254, - "column": 32 + "line": 267, + "column": 37 } } }, @@ -69835,16 +71853,16 @@ "binop": null, "updateContext": null }, - "start": 5372, - "end": 5373, + "start": 5611, + "end": 5612, "loc": { "start": { - "line": 254, - "column": 33 + "line": 267, + "column": 37 }, "end": { - "line": 254, - "column": 34 + "line": 267, + "column": 38 } } }, @@ -69860,15 +71878,15 @@ "postfix": false, "binop": null }, - "start": 5375, - "end": 5376, + "start": 5614, + "end": 5615, "loc": { "start": { - "line": 255, + "line": 268, "column": 1 }, "end": { - "line": 255, + "line": 268, "column": 2 } } @@ -69885,17 +71903,17 @@ "postfix": false, "binop": null }, - "value": "modn", - "start": 5379, - "end": 5383, + "value": "divround", + "start": 5618, + "end": 5626, "loc": { "start": { - "line": 257, + "line": 270, "column": 1 }, "end": { - "line": 257, - "column": 5 + "line": 270, + "column": 9 } } }, @@ -69911,16 +71929,16 @@ "postfix": false, "binop": null }, - "start": 5384, - "end": 5385, + "start": 5627, + "end": 5628, "loc": { "start": { - "line": 257, - "column": 6 + "line": 270, + "column": 10 }, "end": { - "line": 257, - "column": 7 + "line": 270, + "column": 11 } } }, @@ -69936,17 +71954,17 @@ "postfix": false, "binop": null }, - "value": "number", - "start": 5386, - "end": 5392, + "value": "other", + "start": 5629, + "end": 5634, "loc": { "start": { - "line": 257, - "column": 8 + "line": 270, + "column": 12 }, "end": { - "line": 257, - "column": 14 + "line": 270, + "column": 17 } } }, @@ -69962,16 +71980,16 @@ "postfix": false, "binop": null }, - "start": 5393, - "end": 5394, + "start": 5635, + "end": 5636, "loc": { "start": { - "line": 257, - "column": 15 + "line": 270, + "column": 18 }, "end": { - "line": 257, - "column": 16 + "line": 270, + "column": 19 } } }, @@ -69987,24 +72005,24 @@ "postfix": false, "binop": null }, - "start": 5395, - "end": 5396, + "start": 5637, + "end": 5638, "loc": { "start": { - "line": 257, - "column": 17 + "line": 270, + "column": 20 }, "end": { - "line": 257, - "column": 18 + "line": 270, + "column": 21 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -70014,25 +72032,24 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 5399, - "end": 5405, + "value": "const", + "start": 5641, + "end": 5646, "loc": { "start": { - "line": 258, + "line": 271, "column": 2 }, "end": { - "line": 258, - "column": 8 + "line": 271, + "column": 7 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -70042,24 +72059,49 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 5406, - "end": 5410, + "start": 5647, + "end": 5648, "loc": { "start": { - "line": 258, - "column": 9 + "line": 271, + "column": 8 }, "end": { - "line": 258, - "column": 13 + "line": 271, + "column": 9 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "q", + "start": 5649, + "end": 5650, + "loc": { + "start": { + "line": 271, + "column": 10 + }, + "end": { + "line": 271, + "column": 11 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -70069,16 +72111,16 @@ "binop": null, "updateContext": null }, - "start": 5410, - "end": 5411, + "start": 5651, + "end": 5652, "loc": { "start": { - "line": 258, - "column": 13 + "line": 271, + "column": 12 }, "end": { - "line": 258, - "column": 14 + "line": 271, + "column": 13 } } }, @@ -70094,48 +72136,77 @@ "postfix": false, "binop": null }, - "value": "mod", - "start": 5411, - "end": 5414, + "value": "r", + "start": 5653, + "end": 5654, "loc": { "start": { - "line": 258, + "line": 271, "column": 14 }, "end": { - "line": 258, - "column": 17 + "line": 271, + "column": 15 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "]", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5414, - "end": 5415, + "start": 5655, + "end": 5656, "loc": { "start": { - "line": 258, - "column": 17 + "line": 271, + "column": 16 }, "end": { - "line": 258, + "line": 271, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 5657, + "end": 5658, + "loc": { + "start": { + "line": 271, "column": 18 + }, + "end": { + "line": 271, + "column": 19 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -70143,44 +72214,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "_from_number", - "start": 5415, - "end": 5427, + "value": "this", + "start": 5659, + "end": 5663, "loc": { "start": { - "line": 258, - "column": 18 + "line": 271, + "column": 20 }, "end": { - "line": 258, - "column": 30 + "line": 271, + "column": 24 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5427, - "end": 5428, + "start": 5663, + "end": 5664, "loc": { "start": { - "line": 258, - "column": 30 + "line": 271, + "column": 24 }, "end": { - "line": 258, - "column": 31 + "line": 271, + "column": 25 } } }, @@ -70196,25 +72269,25 @@ "postfix": false, "binop": null }, - "value": "number", - "start": 5428, - "end": 5434, + "value": "divmod", + "start": 5664, + "end": 5670, "loc": { "start": { - "line": 258, - "column": 31 + "line": 271, + "column": 25 }, "end": { - "line": 258, - "column": 37 + "line": 271, + "column": 31 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -70222,24 +72295,24 @@ "postfix": false, "binop": null }, - "start": 5434, - "end": 5435, + "start": 5670, + "end": 5671, "loc": { "start": { - "line": 258, - "column": 37 + "line": 271, + "column": 31 }, "end": { - "line": 258, - "column": 38 + "line": 271, + "column": 32 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -70247,93 +72320,96 @@ "postfix": false, "binop": null }, - "start": 5435, - "end": 5436, + "value": "other", + "start": 5671, + "end": 5676, "loc": { "start": { - "line": 258, - "column": 38 + "line": 271, + "column": 32 }, "end": { - "line": 258, - "column": 39 + "line": 271, + "column": 37 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5437, - "end": 5438, + "start": 5676, + "end": 5677, "loc": { "start": { - "line": 258, - "column": 40 + "line": 271, + "column": 37 }, "end": { - "line": 258, - "column": 41 + "line": 271, + "column": 38 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5440, - "end": 5441, + "start": 5678, + "end": 5679, "loc": { "start": { - "line": 259, - "column": 1 + "line": 271, + "column": 39 }, "end": { - "line": 259, - "column": 2 + "line": 271, + "column": 40 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "imod", - "start": 5444, - "end": 5448, + "value": "if", + "start": 5682, + "end": 5684, "loc": { "start": { - "line": 261, - "column": 1 + "line": 272, + "column": 2 }, "end": { - "line": 261, - "column": 5 + "line": 272, + "column": 4 } } }, @@ -70349,16 +72425,16 @@ "postfix": false, "binop": null }, - "start": 5449, - "end": 5450, + "start": 5685, + "end": 5686, "loc": { "start": { - "line": 261, - "column": 6 + "line": 272, + "column": 5 }, "end": { - "line": 261, - "column": 7 + "line": 272, + "column": 6 } } }, @@ -70373,24 +72449,24 @@ "prefix": false, "postfix": false, "binop": null - }, - "value": "other", - "start": 5451, - "end": 5456, + }, + "value": "r", + "start": 5687, + "end": 5688, "loc": { "start": { - "line": 261, - "column": 8 + "line": 272, + "column": 7 }, "end": { - "line": 261, - "column": 13 + "line": 272, + "column": 8 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -70398,25 +72474,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5457, - "end": 5458, + "start": 5688, + "end": 5689, "loc": { "start": { - "line": 261, - "column": 14 + "line": 272, + "column": 8 }, "end": { - "line": 261, - "column": 15 + "line": 272, + "column": 9 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -70425,67 +72502,48 @@ "postfix": false, "binop": null }, - "start": 5459, - "end": 5460, - "loc": { - "start": { - "line": 261, - "column": 16 - }, - "end": { - "line": 261, - "column": 17 - } - } - }, - { - "type": "CommentLine", - "value": " TODO optimize but be careful with side effects", - "start": 5463, - "end": 5512, + "value": "ge", + "start": 5689, + "end": 5691, "loc": { "start": { - "line": 262, - "column": 2 + "line": 272, + "column": 9 }, "end": { - "line": 262, - "column": 51 + "line": 272, + "column": 11 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 5515, - "end": 5521, + "start": 5691, + "end": 5692, "loc": { "start": { - "line": 263, - "column": 2 + "line": 272, + "column": 11 }, "end": { - "line": 263, - "column": 8 + "line": 272, + "column": 12 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -70493,20 +72551,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 5522, - "end": 5526, + "value": "other", + "start": 5692, + "end": 5697, "loc": { "start": { - "line": 263, - "column": 9 + "line": 272, + "column": 12 }, "end": { - "line": 263, - "column": 13 + "line": 272, + "column": 17 } } }, @@ -70523,16 +72580,16 @@ "binop": null, "updateContext": null }, - "start": 5526, - "end": 5527, + "start": 5697, + "end": 5698, "loc": { "start": { - "line": 263, - "column": 13 + "line": 272, + "column": 17 }, "end": { - "line": 263, - "column": 14 + "line": 272, + "column": 18 } } }, @@ -70548,17 +72605,17 @@ "postfix": false, "binop": null }, - "value": "mod", - "start": 5527, - "end": 5530, + "value": "divn", + "start": 5698, + "end": 5702, "loc": { "start": { - "line": 263, - "column": 14 + "line": 272, + "column": 18 }, "end": { - "line": 263, - "column": 17 + "line": 272, + "column": 22 } } }, @@ -70574,22 +72631,22 @@ "postfix": false, "binop": null }, - "start": 5530, - "end": 5531, + "start": 5702, + "end": 5703, "loc": { "start": { - "line": 263, - "column": 17 + "line": 272, + "column": 22 }, "end": { - "line": 263, - "column": 18 + "line": 272, + "column": 23 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -70597,19 +72654,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "other", - "start": 5531, - "end": 5536, + "value": 2, + "start": 5703, + "end": 5704, "loc": { "start": { - "line": 263, - "column": 18 + "line": 272, + "column": 23 }, "end": { - "line": 263, - "column": 23 + "line": 272, + "column": 24 } } }, @@ -70625,16 +72683,16 @@ "postfix": false, "binop": null }, - "start": 5536, - "end": 5537, + "start": 5704, + "end": 5705, "loc": { "start": { - "line": 263, - "column": 23 + "line": 272, + "column": 24 }, "end": { - "line": 263, - "column": 24 + "line": 272, + "column": 25 } } }, @@ -70651,16 +72709,16 @@ "binop": null, "updateContext": null }, - "start": 5537, - "end": 5538, + "start": 5705, + "end": 5706, "loc": { "start": { - "line": 263, - "column": 24 + "line": 272, + "column": 25 }, "end": { - "line": 263, - "column": 25 + "line": 272, + "column": 26 } } }, @@ -70676,17 +72734,17 @@ "postfix": false, "binop": null }, - "value": "move", - "start": 5538, - "end": 5542, + "value": "addn", + "start": 5706, + "end": 5710, "loc": { "start": { - "line": 263, - "column": 25 + "line": 272, + "column": 26 }, "end": { - "line": 263, - "column": 29 + "line": 272, + "column": 30 } } }, @@ -70702,23 +72760,22 @@ "postfix": false, "binop": null }, - "start": 5542, - "end": 5543, + "start": 5710, + "end": 5711, "loc": { "start": { - "line": 263, - "column": 29 + "line": 272, + "column": 30 }, "end": { - "line": 263, - "column": 30 + "line": 272, + "column": 31 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -70726,28 +72783,53 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null + }, + "value": "other", + "start": 5711, + "end": 5716, + "loc": { + "start": { + "line": 272, + "column": 31 + }, + "end": { + "line": 272, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null, "updateContext": null }, - "value": "this", - "start": 5543, - "end": 5547, + "start": 5716, + "end": 5717, "loc": { "start": { - "line": 263, - "column": 30 + "line": 272, + "column": 36 }, "end": { - "line": 263, - "column": 34 + "line": 272, + "column": 37 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -70755,48 +72837,48 @@ "postfix": false, "binop": null }, - "start": 5547, - "end": 5548, + "value": "iseven", + "start": 5717, + "end": 5723, "loc": { "start": { - "line": 263, - "column": 34 + "line": 272, + "column": 37 }, "end": { - "line": 263, - "column": 35 + "line": 272, + "column": 43 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5548, - "end": 5549, + "start": 5723, + "end": 5724, "loc": { "start": { - "line": 263, - "column": 35 + "line": 272, + "column": 43 }, "end": { - "line": 263, - "column": 36 + "line": 272, + "column": 44 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -70806,22 +72888,48 @@ "postfix": false, "binop": null }, - "start": 5551, - "end": 5552, + "start": 5724, + "end": 5725, "loc": { "start": { - "line": 264, - "column": 1 + "line": 272, + "column": 44 }, "end": { - "line": 264, - "column": 2 + "line": 272, + "column": 45 } } }, { "type": { - "label": "name", + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5726, + "end": 5727, + "loc": { + "start": { + "line": 272, + "column": 46 + }, + "end": { + "line": 272, + "column": 47 + } + } + }, + { + "type": { + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -70829,50 +72937,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "imodn", - "start": 5555, - "end": 5560, + "value": 0, + "start": 5728, + "end": 5729, "loc": { "start": { - "line": 266, - "column": 1 + "line": 272, + "column": 48 }, "end": { - "line": 266, - "column": 6 + "line": 272, + "column": 49 } } }, { "type": { - "label": "(", + "label": ":", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5561, - "end": 5562, + "start": 5730, + "end": 5731, "loc": { "start": { - "line": 266, - "column": 7 + "line": 272, + "column": 50 }, "end": { - "line": 266, - "column": 8 + "line": 272, + "column": 51 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -70880,19 +72990,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "number", - "start": 5563, - "end": 5569, + "value": 1, + "start": 5732, + "end": 5733, "loc": { "start": { - "line": 266, - "column": 9 + "line": 272, + "column": 52 }, "end": { - "line": 266, - "column": 15 + "line": 272, + "column": 53 } } }, @@ -70908,24 +73019,24 @@ "postfix": false, "binop": null }, - "start": 5570, - "end": 5571, + "start": 5733, + "end": 5734, "loc": { "start": { - "line": 266, - "column": 16 + "line": 272, + "column": 53 }, "end": { - "line": 266, - "column": 17 + "line": 272, + "column": 54 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -70933,51 +73044,47 @@ "postfix": false, "binop": null }, - "start": 5572, - "end": 5573, + "start": 5734, + "end": 5735, "loc": { "start": { - "line": 266, - "column": 18 + "line": 272, + "column": 54 }, "end": { - "line": 266, - "column": 19 + "line": 272, + "column": 55 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 5576, - "end": 5582, + "start": 5736, + "end": 5737, "loc": { "start": { - "line": 267, - "column": 2 + "line": 272, + "column": 56 }, "end": { - "line": 267, - "column": 8 + "line": 272, + "column": 57 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -70985,46 +73092,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 5583, - "end": 5587, + "value": "increment", + "start": 5738, + "end": 5747, "loc": { "start": { - "line": 267, - "column": 9 + "line": 272, + "column": 58 }, "end": { - "line": 267, - "column": 13 + "line": 272, + "column": 67 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5587, - "end": 5588, + "start": 5747, + "end": 5748, "loc": { "start": { - "line": 267, - "column": 13 + "line": 272, + "column": 67 }, "end": { - "line": 267, - "column": 14 + "line": 272, + "column": 68 } } }, @@ -71040,42 +73145,43 @@ "postfix": false, "binop": null }, - "value": "modn", - "start": 5588, - "end": 5592, + "value": "q", + "start": 5749, + "end": 5750, "loc": { "start": { - "line": 267, - "column": 14 + "line": 272, + "column": 69 }, "end": { - "line": 267, - "column": 18 + "line": 272, + "column": 70 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5592, - "end": 5593, + "start": 5750, + "end": 5751, "loc": { "start": { - "line": 267, - "column": 18 + "line": 272, + "column": 70 }, "end": { - "line": 267, - "column": 19 + "line": 272, + "column": 71 } } }, @@ -71091,101 +73197,102 @@ "postfix": false, "binop": null }, - "value": "number", - "start": 5593, - "end": 5599, + "value": "base", + "start": 5751, + "end": 5755, "loc": { "start": { - "line": 267, - "column": 19 + "line": 272, + "column": 71 }, "end": { - "line": 267, - "column": 25 + "line": 272, + "column": 75 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5599, - "end": 5600, + "start": 5756, + "end": 5757, "loc": { "start": { - "line": 267, - "column": 25 + "line": 272, + "column": 76 }, "end": { - "line": 267, - "column": 26 + "line": 272, + "column": 77 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5600, - "end": 5601, + "value": "q", + "start": 5758, + "end": 5759, "loc": { "start": { - "line": 267, - "column": 26 + "line": 272, + "column": 78 }, "end": { - "line": 267, - "column": 27 + "line": 272, + "column": 79 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "move", - "start": 5601, - "end": 5605, + "start": 5759, + "end": 5760, "loc": { "start": { - "line": 267, - "column": 27 + "line": 272, + "column": 79 }, "end": { - "line": 267, - "column": 31 + "line": 272, + "column": 80 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -71194,25 +73301,25 @@ "postfix": false, "binop": null }, - "start": 5605, - "end": 5606, + "value": "limbs", + "start": 5760, + "end": 5765, "loc": { "start": { - "line": 267, - "column": 31 + "line": 272, + "column": 80 }, "end": { - "line": 267, - "column": 32 + "line": 272, + "column": 85 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -71221,48 +73328,49 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 5606, - "end": 5610, + "start": 5766, + "end": 5767, "loc": { "start": { - "line": 267, - "column": 32 + "line": 272, + "column": 86 }, "end": { - "line": 267, - "column": 36 + "line": 272, + "column": 87 } } }, { "type": { - "label": ")", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5610, - "end": 5611, + "value": 0, + "start": 5768, + "end": 5769, "loc": { "start": { - "line": 267, - "column": 36 + "line": 272, + "column": 88 }, "end": { - "line": 267, - "column": 37 + "line": 272, + "column": 89 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -71273,24 +73381,24 @@ "binop": null, "updateContext": null }, - "start": 5611, - "end": 5612, + "start": 5770, + "end": 5771, "loc": { "start": { - "line": 267, - "column": 37 + "line": 272, + "column": 90 }, "end": { - "line": 267, - "column": 38 + "line": 272, + "column": 91 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -71298,49 +73406,50 @@ "postfix": false, "binop": null }, - "start": 5614, - "end": 5615, + "value": "q", + "start": 5772, + "end": 5773, "loc": { "start": { - "line": 268, - "column": 1 + "line": 272, + "column": 92 }, "end": { - "line": 268, - "column": 2 + "line": 272, + "column": 93 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "divround", - "start": 5618, - "end": 5626, + "start": 5773, + "end": 5774, "loc": { "start": { - "line": 270, - "column": 1 + "line": 272, + "column": 93 }, "end": { - "line": 270, - "column": 9 + "line": 272, + "column": 94 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -71349,50 +73458,51 @@ "postfix": false, "binop": null }, - "start": 5627, - "end": 5628, + "value": "limbs", + "start": 5774, + "end": 5779, "loc": { "start": { - "line": 270, - "column": 10 + "line": 272, + "column": 94 }, "end": { - "line": 270, - "column": 11 + "line": 272, + "column": 99 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "other", - "start": 5629, - "end": 5634, + "start": 5779, + "end": 5780, "loc": { "start": { - "line": 270, - "column": 12 + "line": 272, + "column": 99 }, "end": { - "line": 270, - "column": 17 + "line": 272, + "column": 100 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -71400,24 +73510,25 @@ "postfix": false, "binop": null }, - "start": 5635, - "end": 5636, + "value": "length", + "start": 5780, + "end": 5786, "loc": { "start": { - "line": 270, - "column": 18 + "line": 272, + "column": 100 }, "end": { - "line": 270, - "column": 19 + "line": 272, + "column": 106 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -71425,24 +73536,23 @@ "postfix": false, "binop": null }, - "start": 5637, - "end": 5638, + "start": 5787, + "end": 5788, "loc": { "start": { - "line": 270, - "column": 20 + "line": 272, + "column": 107 }, "end": { - "line": 270, - "column": 21 + "line": 272, + "column": 108 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -71452,25 +73562,25 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 5641, - "end": 5646, + "start": 5789, + "end": 5790, "loc": { "start": { - "line": 271, - "column": 2 + "line": 272, + "column": 109 }, "end": { - "line": 271, - "column": 7 + "line": 272, + "column": 110 } } }, { "type": { - "label": "[", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -71479,16 +73589,17 @@ "binop": null, "updateContext": null }, - "start": 5647, - "end": 5648, + "value": "return", + "start": 5793, + "end": 5799, "loc": { "start": { - "line": 271, - "column": 8 + "line": 273, + "column": 2 }, "end": { - "line": 271, - "column": 9 + "line": 273, + "column": 8 } } }, @@ -71505,22 +73616,22 @@ "binop": null }, "value": "q", - "start": 5649, - "end": 5650, + "start": 5800, + "end": 5801, "loc": { "start": { - "line": 271, - "column": 10 + "line": 273, + "column": 9 }, "end": { - "line": 271, - "column": 11 + "line": 273, + "column": 10 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -71531,24 +73642,24 @@ "binop": null, "updateContext": null }, - "start": 5651, - "end": 5652, + "start": 5802, + "end": 5803, "loc": { "start": { - "line": 271, - "column": 12 + "line": 273, + "column": 11 }, "end": { - "line": 271, - "column": 13 + "line": 273, + "column": 12 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -71556,77 +73667,73 @@ "postfix": false, "binop": null }, - "value": "r", - "start": 5653, - "end": 5654, + "start": 5805, + "end": 5806, "loc": { "start": { - "line": 271, - "column": 14 + "line": 274, + "column": 1 }, "end": { - "line": 271, - "column": 15 + "line": 274, + "column": 2 } } }, { "type": { - "label": "]", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5655, - "end": 5656, + "value": "divmod", + "start": 5809, + "end": 5815, "loc": { "start": { - "line": 271, - "column": 16 + "line": 276, + "column": 1 }, "end": { - "line": 271, - "column": 17 + "line": 276, + "column": 7 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 5657, - "end": 5658, + "start": 5816, + "end": 5817, "loc": { "start": { - "line": 271, - "column": 18 + "line": 276, + "column": 8 }, "end": { - "line": 271, - "column": 19 + "line": 276, + "column": 9 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -71634,26 +73741,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 5659, - "end": 5663, + "value": "other", + "start": 5818, + "end": 5823, "loc": { "start": { - "line": 271, - "column": 20 + "line": 276, + "column": 10 }, "end": { - "line": 271, - "column": 24 + "line": 276, + "column": 15 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -71661,26 +73767,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5663, - "end": 5664, + "start": 5824, + "end": 5825, "loc": { "start": { - "line": 271, - "column": 24 + "line": 276, + "column": 16 }, "end": { - "line": 271, - "column": 25 + "line": 276, + "column": 17 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -71689,49 +73794,51 @@ "postfix": false, "binop": null }, - "value": "divmod", - "start": 5664, - "end": 5670, + "start": 5826, + "end": 5827, "loc": { "start": { - "line": 271, - "column": 25 + "line": 276, + "column": 18 }, "end": { - "line": 271, - "column": 31 + "line": 276, + "column": 19 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5670, - "end": 5671, + "value": "if", + "start": 5831, + "end": 5833, "loc": { "start": { - "line": 271, - "column": 31 + "line": 278, + "column": 2 }, "end": { - "line": 271, - "column": 32 + "line": 278, + "column": 4 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -71740,25 +73847,24 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 5671, - "end": 5676, + "start": 5834, + "end": 5835, "loc": { "start": { - "line": 271, - "column": 32 + "line": 278, + "column": 5 }, "end": { - "line": 271, - "column": 37 + "line": 278, + "column": 6 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -71766,23 +73872,24 @@ "postfix": false, "binop": null }, - "start": 5676, - "end": 5677, + "value": "other", + "start": 5836, + "end": 5841, "loc": { "start": { - "line": 271, - "column": 37 + "line": 278, + "column": 7 }, "end": { - "line": 271, - "column": 38 + "line": 278, + "column": 12 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -71792,44 +73899,42 @@ "binop": null, "updateContext": null }, - "start": 5678, - "end": 5679, + "start": 5841, + "end": 5842, "loc": { "start": { - "line": 271, - "column": 39 + "line": 278, + "column": 12 }, "end": { - "line": 271, - "column": 40 + "line": 278, + "column": 13 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 5682, - "end": 5684, + "value": "iszero", + "start": 5842, + "end": 5848, "loc": { "start": { - "line": 272, - "column": 2 + "line": 278, + "column": 13 }, "end": { - "line": 272, - "column": 4 + "line": 278, + "column": 19 } } }, @@ -71845,24 +73950,24 @@ "postfix": false, "binop": null }, - "start": 5685, - "end": 5686, + "start": 5848, + "end": 5849, "loc": { "start": { - "line": 272, - "column": 5 + "line": 278, + "column": 19 }, "end": { - "line": 272, - "column": 6 + "line": 278, + "column": 20 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -71870,23 +73975,22 @@ "postfix": false, "binop": null }, - "value": "r", - "start": 5687, - "end": 5688, + "start": 5849, + "end": 5850, "loc": { "start": { - "line": 272, - "column": 7 + "line": 278, + "column": 20 }, "end": { - "line": 272, - "column": 8 + "line": 278, + "column": 21 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -71894,51 +73998,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5688, - "end": 5689, + "start": 5851, + "end": 5852, "loc": { "start": { - "line": 272, - "column": 8 + "line": 278, + "column": 22 }, "end": { - "line": 272, - "column": 9 + "line": 278, + "column": 23 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "throw", + "keyword": "throw", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "ge", - "start": 5689, - "end": 5691, + "value": "throw", + "start": 5853, + "end": 5858, "loc": { "start": { - "line": 272, - "column": 9 + "line": 278, + "column": 24 }, "end": { - "line": 272, - "column": 11 + "line": 278, + "column": 29 } } }, { "type": { - "label": "(", + "label": "new", + "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -71946,18 +74052,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5691, - "end": 5692, + "value": "new", + "start": 5859, + "end": 5862, "loc": { "start": { - "line": 272, - "column": 11 + "line": 278, + "column": 30 }, "end": { - "line": 272, - "column": 12 + "line": 278, + "column": 33 } } }, @@ -71973,49 +74081,48 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 5692, - "end": 5697, + "value": "ZeroDivisionError", + "start": 5863, + "end": 5880, "loc": { "start": { - "line": 272, - "column": 12 + "line": 278, + "column": 34 }, "end": { - "line": 272, - "column": 17 + "line": 278, + "column": 51 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5697, - "end": 5698, + "start": 5880, + "end": 5881, "loc": { "start": { - "line": 272, - "column": 17 + "line": 278, + "column": 51 }, "end": { - "line": 272, - "column": 18 + "line": 278, + "column": 52 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -72023,27 +74130,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "divn", - "start": 5698, - "end": 5702, + "value": "Integer division by zero", + "start": 5882, + "end": 5908, "loc": { "start": { - "line": 272, - "column": 18 + "line": 278, + "column": 53 }, "end": { - "line": 272, - "column": 22 + "line": 278, + "column": 79 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -72051,24 +74159,24 @@ "postfix": false, "binop": null }, - "start": 5702, - "end": 5703, + "start": 5909, + "end": 5910, "loc": { "start": { - "line": 272, - "column": 22 + "line": 278, + "column": 80 }, "end": { - "line": 272, - "column": 23 + "line": 278, + "column": 81 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -72077,48 +74185,39 @@ "binop": null, "updateContext": null }, - "value": 2, - "start": 5703, - "end": 5704, + "start": 5911, + "end": 5912, "loc": { "start": { - "line": 272, - "column": 23 + "line": 278, + "column": 82 }, "end": { - "line": 272, - "column": 24 + "line": 278, + "column": 83 } } }, { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5704, - "end": 5705, + "type": "CommentLine", + "value": " optimize", + "start": 5913, + "end": 5924, "loc": { "start": { - "line": 272, - "column": 24 + "line": 278, + "column": 84 }, "end": { - "line": 272, - "column": 25 + "line": 278, + "column": 95 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -72129,16 +74228,17 @@ "binop": null, "updateContext": null }, - "start": 5705, - "end": 5706, + "value": "const", + "start": 5928, + "end": 5933, "loc": { "start": { - "line": 272, - "column": 25 + "line": 280, + "column": 2 }, "end": { - "line": 272, - "column": 26 + "line": 280, + "column": 7 } } }, @@ -72154,48 +74254,51 @@ "postfix": false, "binop": null }, - "value": "addn", - "start": 5706, - "end": 5710, + "value": "quotient_is_negative", + "start": 5934, + "end": 5954, "loc": { "start": { - "line": 272, - "column": 26 + "line": 280, + "column": 8 }, "end": { - "line": 272, - "column": 30 + "line": 280, + "column": 28 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5710, - "end": 5711, + "value": "=", + "start": 5955, + "end": 5956, "loc": { "start": { - "line": 272, - "column": 30 + "line": 280, + "column": 29 }, "end": { - "line": 272, - "column": 31 + "line": 280, + "column": 30 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -72203,19 +74306,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "other", - "start": 5711, - "end": 5716, + "value": "this", + "start": 5957, + "end": 5961, "loc": { "start": { - "line": 272, + "line": 280, "column": 31 }, "end": { - "line": 272, - "column": 36 + "line": 280, + "column": 35 } } }, @@ -72232,16 +74336,16 @@ "binop": null, "updateContext": null }, - "start": 5716, - "end": 5717, + "start": 5961, + "end": 5962, "loc": { "start": { - "line": 272, - "column": 36 + "line": 280, + "column": 35 }, "end": { - "line": 272, - "column": 37 + "line": 280, + "column": 36 } } }, @@ -72257,50 +74361,52 @@ "postfix": false, "binop": null }, - "value": "iseven", - "start": 5717, - "end": 5723, + "value": "is_negative", + "start": 5962, + "end": 5973, "loc": { "start": { - "line": 272, - "column": 37 + "line": 280, + "column": 36 }, "end": { - "line": 272, - "column": 43 + "line": 280, + "column": 47 } } }, { "type": { - "label": "(", + "label": "^", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 4, + "updateContext": null }, - "start": 5723, - "end": 5724, + "value": "^", + "start": 5974, + "end": 5975, "loc": { "start": { - "line": 272, - "column": 43 + "line": 280, + "column": 48 }, "end": { - "line": 272, - "column": 44 + "line": 280, + "column": 49 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -72308,23 +74414,24 @@ "postfix": false, "binop": null }, - "start": 5724, - "end": 5725, + "value": "other", + "start": 5976, + "end": 5981, "loc": { "start": { - "line": 272, - "column": 44 + "line": 280, + "column": 50 }, "end": { - "line": 272, - "column": 45 + "line": 280, + "column": 55 } } }, { "type": { - "label": "?", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -72334,22 +74441,22 @@ "binop": null, "updateContext": null }, - "start": 5726, - "end": 5727, + "start": 5981, + "end": 5982, "loc": { "start": { - "line": 272, - "column": 46 + "line": 280, + "column": 55 }, "end": { - "line": 272, - "column": 47 + "line": 280, + "column": 56 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -72357,26 +74464,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 5728, - "end": 5729, + "value": "is_negative", + "start": 5982, + "end": 5993, "loc": { "start": { - "line": 272, - "column": 48 + "line": 280, + "column": 56 }, "end": { - "line": 272, - "column": 49 + "line": 280, + "column": 67 } } }, { "type": { - "label": ":", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -72387,24 +74493,25 @@ "binop": null, "updateContext": null }, - "start": 5730, - "end": 5731, + "start": 5994, + "end": 5995, "loc": { "start": { - "line": 272, - "column": 50 + "line": 280, + "column": 68 }, "end": { - "line": 272, - "column": 51 + "line": 280, + "column": 69 } } }, { "type": { - "label": "num", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -72413,25 +74520,25 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 5732, - "end": 5733, + "value": "const", + "start": 5998, + "end": 6003, "loc": { "start": { - "line": 272, - "column": 52 + "line": 281, + "column": 2 }, "end": { - "line": 272, - "column": 53 + "line": 281, + "column": 7 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -72439,47 +74546,78 @@ "postfix": false, "binop": null }, - "start": 5733, - "end": 5734, + "value": "r", + "start": 6004, + "end": 6005, "loc": { "start": { - "line": 272, - "column": 53 + "line": 281, + "column": 8 }, "end": { - "line": 272, - "column": 54 + "line": 281, + "column": 9 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 6006, + "end": 6007, + "loc": { + "start": { + "line": 281, + "column": 10 + }, + "end": { + "line": 281, + "column": 11 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5734, - "end": 5735, + "value": "this", + "start": 6008, + "end": 6012, "loc": { "start": { - "line": 272, - "column": 54 + "line": 281, + "column": 12 }, "end": { - "line": 272, - "column": 55 + "line": 281, + "column": 16 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -72487,18 +74625,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5736, - "end": 5737, + "start": 6012, + "end": 6013, "loc": { "start": { - "line": 272, - "column": 56 + "line": 281, + "column": 16 }, "end": { - "line": 272, - "column": 57 + "line": 281, + "column": 17 } } }, @@ -72514,74 +74653,66 @@ "postfix": false, "binop": null }, - "value": "increment", - "start": 5738, - "end": 5747, + "value": "base", + "start": 6013, + "end": 6017, "loc": { "start": { - "line": 272, - "column": 58 + "line": 281, + "column": 17 }, "end": { - "line": 272, - "column": 67 + "line": 281, + "column": 21 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5747, - "end": 5748, + "start": 6018, + "end": 6019, "loc": { "start": { - "line": 272, - "column": 67 + "line": 281, + "column": 22 }, "end": { - "line": 272, - "column": 68 + "line": 281, + "column": 23 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "q", - "start": 5749, - "end": 5750, + "type": "CommentLine", + "value": " The underlying algorithm does not allow leading 0's so we trim them.", + "start": 6023, + "end": 6094, "loc": { "start": { - "line": 272, - "column": 69 + "line": 283, + "column": 2 }, "end": { - "line": 272, - "column": 70 + "line": 283, + "column": 73 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -72592,16 +74723,17 @@ "binop": null, "updateContext": null }, - "start": 5750, - "end": 5751, + "value": "const", + "start": 6097, + "end": 6102, "loc": { "start": { - "line": 272, - "column": 70 + "line": 284, + "column": 2 }, "end": { - "line": 272, - "column": 71 + "line": 284, + "column": 7 } } }, @@ -72617,49 +74749,51 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 5751, - "end": 5755, + "value": "lj", + "start": 6103, + "end": 6105, "loc": { "start": { - "line": 272, - "column": 71 + "line": 284, + "column": 8 }, "end": { - "line": 272, - "column": 75 + "line": 284, + "column": 10 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 5756, - "end": 5757, + "value": "=", + "start": 6106, + "end": 6107, "loc": { "start": { - "line": 272, - "column": 76 + "line": 284, + "column": 11 }, "end": { - "line": 272, - "column": 77 + "line": 284, + "column": 12 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -72667,19 +74801,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "q", - "start": 5758, - "end": 5759, + "value": "this", + "start": 6108, + "end": 6112, "loc": { "start": { - "line": 272, - "column": 78 + "line": 284, + "column": 13 }, "end": { - "line": 272, - "column": 79 + "line": 284, + "column": 17 } } }, @@ -72696,16 +74831,16 @@ "binop": null, "updateContext": null }, - "start": 5759, - "end": 5760, + "start": 6112, + "end": 6113, "loc": { "start": { - "line": 272, - "column": 79 + "line": 284, + "column": 17 }, "end": { - "line": 272, - "column": 80 + "line": 284, + "column": 18 } } }, @@ -72722,23 +74857,23 @@ "binop": null }, "value": "limbs", - "start": 5760, - "end": 5765, + "start": 6113, + "end": 6118, "loc": { "start": { - "line": 272, - "column": 80 + "line": 284, + "column": 18 }, "end": { - "line": 272, - "column": 85 + "line": 284, + "column": 23 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -72748,22 +74883,22 @@ "binop": null, "updateContext": null }, - "start": 5766, - "end": 5767, + "start": 6118, + "end": 6119, "loc": { "start": { - "line": 272, - "column": 86 + "line": 284, + "column": 23 }, "end": { - "line": 272, - "column": 87 + "line": 284, + "column": 24 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -72771,27 +74906,53 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null + }, + "value": "length", + "start": 6119, + "end": 6125, + "loc": { + "start": { + "line": 284, + "column": 24 + }, + "end": { + "line": 284, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null, "updateContext": null }, - "value": 0, - "start": 5768, - "end": 5769, + "start": 6126, + "end": 6127, "loc": { "start": { - "line": 272, - "column": 88 + "line": 284, + "column": 31 }, "end": { - "line": 272, - "column": 89 + "line": 284, + "column": 32 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -72801,16 +74962,17 @@ "binop": null, "updateContext": null }, - "start": 5770, - "end": 5771, + "value": "const", + "start": 6130, + "end": 6135, "loc": { "start": { - "line": 272, - "column": 90 + "line": 285, + "column": 2 }, "end": { - "line": 272, - "column": 91 + "line": 285, + "column": 7 } } }, @@ -72826,43 +74988,44 @@ "postfix": false, "binop": null }, - "value": "q", - "start": 5772, - "end": 5773, + "value": "li", + "start": 6136, + "end": 6138, "loc": { "start": { - "line": 272, - "column": 92 + "line": 285, + "column": 8 }, "end": { - "line": 272, - "column": 93 + "line": 285, + "column": 10 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 5773, - "end": 5774, + "value": "=", + "start": 6139, + "end": 6140, "loc": { "start": { - "line": 272, - "column": 93 + "line": 285, + "column": 11 }, "end": { - "line": 272, - "column": 94 + "line": 285, + "column": 12 } } }, @@ -72878,49 +75041,49 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 5774, - "end": 5779, + "value": "_trim_positive", + "start": 6142, + "end": 6156, "loc": { "start": { - "line": 272, - "column": 94 + "line": 285, + "column": 14 }, "end": { - "line": 272, - "column": 99 + "line": 285, + "column": 28 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5779, - "end": 5780, + "start": 6156, + "end": 6157, "loc": { "start": { - "line": 272, - "column": 99 + "line": 285, + "column": 28 }, "end": { - "line": 272, - "column": 100 + "line": 285, + "column": 29 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -72928,25 +75091,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "length", - "start": 5780, - "end": 5786, + "value": "this", + "start": 6158, + "end": 6162, "loc": { "start": { - "line": 272, - "column": 100 + "line": 285, + "column": 30 }, "end": { - "line": 272, - "column": 106 + "line": 285, + "column": 34 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -72954,51 +75118,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5787, - "end": 5788, + "start": 6162, + "end": 6163, "loc": { "start": { - "line": 272, - "column": 107 + "line": 285, + "column": 34 }, "end": { - "line": 272, - "column": 108 + "line": 285, + "column": 35 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5789, - "end": 5790, + "value": "limbs", + "start": 6163, + "end": 6168, "loc": { "start": { - "line": 272, - "column": 109 + "line": 285, + "column": 35 }, "end": { - "line": 272, - "column": 110 + "line": 285, + "column": 40 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -73009,23 +75173,22 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 5793, - "end": 5799, + "start": 6169, + "end": 6170, "loc": { "start": { - "line": 273, - "column": 2 + "line": 285, + "column": 41 }, "end": { - "line": 273, - "column": 8 + "line": 285, + "column": 42 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -73033,25 +75196,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "q", - "start": 5800, - "end": 5801, + "value": 0, + "start": 6171, + "end": 6172, "loc": { "start": { - "line": 273, - "column": 9 + "line": 285, + "column": 43 }, "end": { - "line": 273, - "column": 10 + "line": 285, + "column": 44 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -73062,24 +75226,24 @@ "binop": null, "updateContext": null }, - "start": 5802, - "end": 5803, + "start": 6173, + "end": 6174, "loc": { "start": { - "line": 273, - "column": 11 + "line": 285, + "column": 45 }, "end": { - "line": 273, - "column": 12 + "line": 285, + "column": 46 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -73087,24 +75251,25 @@ "postfix": false, "binop": null }, - "start": 5805, - "end": 5806, + "value": "lj", + "start": 6175, + "end": 6177, "loc": { "start": { - "line": 274, - "column": 1 + "line": 285, + "column": 47 }, "end": { - "line": 274, - "column": 2 + "line": 285, + "column": 49 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -73112,76 +75277,94 @@ "postfix": false, "binop": null }, - "value": "divmod", - "start": 5809, - "end": 5815, + "start": 6178, + "end": 6179, "loc": { "start": { - "line": 276, - "column": 1 + "line": 285, + "column": 50 }, "end": { - "line": 276, - "column": 7 + "line": 285, + "column": 51 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5816, - "end": 5817, + "start": 6180, + "end": 6181, "loc": { "start": { - "line": 276, - "column": 8 + "line": 285, + "column": 52 }, "end": { - "line": 276, - "column": 9 + "line": 285, + "column": 53 + } + } + }, + { + "type": "CommentLine", + "value": " Dividend is 0", + "start": 6185, + "end": 6201, + "loc": { + "start": { + "line": 287, + "column": 2 + }, + "end": { + "line": 287, + "column": 18 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "other", - "start": 5818, - "end": 5823, + "value": "if", + "start": 6204, + "end": 6206, "loc": { "start": { - "line": 276, - "column": 10 + "line": 288, + "column": 2 }, "end": { - "line": 276, - "column": 15 + "line": 288, + "column": 4 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -73189,23 +75372,23 @@ "postfix": false, "binop": null }, - "start": 5824, - "end": 5825, + "start": 6207, + "end": 6208, "loc": { "start": { - "line": 276, - "column": 16 + "line": 288, + "column": 5 }, "end": { - "line": 276, - "column": 17 + "line": 288, + "column": 6 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -73214,51 +75397,51 @@ "postfix": false, "binop": null }, - "start": 5826, - "end": 5827, + "value": "li", + "start": 6209, + "end": 6211, "loc": { "start": { - "line": 276, - "column": 18 + "line": 288, + "column": 7 }, "end": { - "line": 276, - "column": 19 + "line": 288, + "column": 9 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": "", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 7, "updateContext": null }, - "value": "if", - "start": 5831, - "end": 5833, + "value": ">=", + "start": 6212, + "end": 6214, "loc": { "start": { - "line": 278, - "column": 2 + "line": 288, + "column": 10 }, "end": { - "line": 278, - "column": 4 + "line": 288, + "column": 12 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -73267,24 +75450,25 @@ "postfix": false, "binop": null }, - "start": 5834, - "end": 5835, + "value": "lj", + "start": 6215, + "end": 6217, "loc": { "start": { - "line": 278, - "column": 5 + "line": 288, + "column": 13 }, "end": { - "line": 278, - "column": 6 + "line": 288, + "column": 15 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -73292,24 +75476,24 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 5836, - "end": 5841, + "start": 6218, + "end": 6219, "loc": { "start": { - "line": 278, - "column": 7 + "line": 288, + "column": 16 }, "end": { - "line": 278, - "column": 12 + "line": 288, + "column": 17 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -73319,48 +75503,50 @@ "binop": null, "updateContext": null }, - "start": 5841, - "end": 5842, + "value": "return", + "start": 6220, + "end": 6226, "loc": { "start": { - "line": 278, - "column": 12 + "line": 288, + "column": 18 }, "end": { - "line": 278, - "column": 13 + "line": 288, + "column": 24 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "iszero", - "start": 5842, - "end": 5848, + "start": 6227, + "end": 6228, "loc": { "start": { - "line": 278, - "column": 13 + "line": 288, + "column": 25 }, "end": { - "line": 278, - "column": 19 + "line": 288, + "column": 26 } } }, { "type": { - "label": "(", + "label": "new", + "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -73368,26 +75554,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5848, - "end": 5849, + "value": "new", + "start": 6229, + "end": 6232, "loc": { "start": { - "line": 278, - "column": 19 + "line": 288, + "column": 27 }, "end": { - "line": 278, - "column": 20 + "line": 288, + "column": 30 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -73395,24 +75583,25 @@ "postfix": false, "binop": null }, - "start": 5849, - "end": 5850, + "value": "Integer", + "start": 6233, + "end": 6240, "loc": { "start": { - "line": 278, - "column": 20 + "line": 288, + "column": 31 }, "end": { - "line": 278, - "column": 21 + "line": 288, + "column": 38 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -73420,25 +75609,25 @@ "postfix": false, "binop": null }, - "start": 5851, - "end": 5852, + "start": 6240, + "end": 6241, "loc": { "start": { - "line": 278, - "column": 22 + "line": 288, + "column": 38 }, "end": { - "line": 278, - "column": 23 + "line": 288, + "column": 39 } } }, { "type": { - "label": "throw", - "keyword": "throw", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -73447,26 +75636,25 @@ "binop": null, "updateContext": null }, - "value": "throw", - "start": 5853, - "end": 5858, + "value": "this", + "start": 6242, + "end": 6246, "loc": { "start": { - "line": 278, - "column": 24 + "line": 288, + "column": 40 }, "end": { - "line": 278, - "column": 29 + "line": 288, + "column": 44 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -73475,17 +75663,16 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 5859, - "end": 5862, + "start": 6246, + "end": 6247, "loc": { "start": { - "line": 278, - "column": 30 + "line": 288, + "column": 44 }, "end": { - "line": 278, - "column": 33 + "line": 288, + "column": 45 } } }, @@ -73501,48 +75688,49 @@ "postfix": false, "binop": null }, - "value": "ZeroDivisionError", - "start": 5863, - "end": 5880, + "value": "base", + "start": 6247, + "end": 6251, "loc": { "start": { - "line": 278, - "column": 34 + "line": 288, + "column": 45 }, "end": { - "line": 278, - "column": 51 + "line": 288, + "column": 49 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5880, - "end": 5881, + "start": 6252, + "end": 6253, "loc": { "start": { - "line": 278, - "column": 51 + "line": 288, + "column": 50 }, "end": { - "line": 278, - "column": 52 + "line": 288, + "column": 51 } } }, { "type": { - "label": "string", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -73553,50 +75741,51 @@ "binop": null, "updateContext": null }, - "value": "Integer division by zero", - "start": 5882, - "end": 5908, + "value": 0, + "start": 6254, + "end": 6255, "loc": { "start": { - "line": 278, - "column": 53 + "line": 288, + "column": 52 }, "end": { - "line": 278, - "column": 79 + "line": 288, + "column": 53 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5909, - "end": 5910, + "start": 6256, + "end": 6257, "loc": { "start": { - "line": 278, - "column": 80 + "line": 288, + "column": 54 }, "end": { - "line": 278, - "column": 81 + "line": 288, + "column": 55 } } }, { "type": { - "label": ";", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -73605,41 +75794,24 @@ "binop": null, "updateContext": null }, - "start": 5911, - "end": 5912, - "loc": { - "start": { - "line": 278, - "column": 82 - }, - "end": { - "line": 278, - "column": 83 - } - } - }, - { - "type": "CommentLine", - "value": " optimize", - "start": 5913, - "end": 5924, + "start": 6258, + "end": 6259, "loc": { "start": { - "line": 278, - "column": 84 + "line": 288, + "column": 56 }, "end": { - "line": 278, - "column": 95 + "line": 288, + "column": 57 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -73648,79 +75820,76 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 5928, - "end": 5933, + "value": 0, + "start": 6260, + "end": 6261, "loc": { "start": { - "line": 280, - "column": 2 + "line": 288, + "column": 58 }, "end": { - "line": 280, - "column": 7 + "line": 288, + "column": 59 } } }, { "type": { - "label": "name", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "quotient_is_negative", - "start": 5934, - "end": 5954, + "start": 6262, + "end": 6263, "loc": { "start": { - "line": 280, - "column": 8 + "line": 288, + "column": 60 }, "end": { - "line": 280, - "column": 28 + "line": 288, + "column": 61 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 5955, - "end": 5956, + "start": 6264, + "end": 6265, "loc": { "start": { - "line": 280, - "column": 29 + "line": 288, + "column": 62 }, "end": { - "line": 280, - "column": 30 + "line": 288, + "column": 63 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -73729,25 +75898,25 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 5957, - "end": 5961, + "start": 6266, + "end": 6267, "loc": { "start": { - "line": 280, - "column": 31 + "line": 288, + "column": 64 }, "end": { - "line": 280, - "column": 35 + "line": 288, + "column": 65 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -73756,16 +75925,17 @@ "binop": null, "updateContext": null }, - "start": 5961, - "end": 5962, + "value": "new", + "start": 6268, + "end": 6271, "loc": { "start": { - "line": 280, - "column": 35 + "line": 288, + "column": 66 }, "end": { - "line": 280, - "column": 36 + "line": 288, + "column": 69 } } }, @@ -73781,50 +75951,49 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 5962, - "end": 5973, + "value": "Integer", + "start": 6272, + "end": 6279, "loc": { "start": { - "line": 280, - "column": 36 + "line": 288, + "column": 70 }, "end": { - "line": 280, - "column": 47 + "line": 288, + "column": 77 } } }, { "type": { - "label": "^", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 4, - "updateContext": null + "binop": null }, - "value": "^", - "start": 5974, - "end": 5975, + "start": 6279, + "end": 6280, "loc": { "start": { - "line": 280, - "column": 48 + "line": 288, + "column": 77 }, "end": { - "line": 280, - "column": 49 + "line": 288, + "column": 78 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -73832,19 +76001,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "other", - "start": 5976, - "end": 5981, + "value": "this", + "start": 6281, + "end": 6285, "loc": { "start": { - "line": 280, - "column": 50 + "line": 288, + "column": 79 }, "end": { - "line": 280, - "column": 55 + "line": 288, + "column": 83 } } }, @@ -73861,16 +76031,16 @@ "binop": null, "updateContext": null }, - "start": 5981, - "end": 5982, + "start": 6285, + "end": 6286, "loc": { "start": { - "line": 280, - "column": 55 + "line": 288, + "column": 83 }, "end": { - "line": 280, - "column": 56 + "line": 288, + "column": 84 } } }, @@ -73886,23 +76056,23 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 5982, - "end": 5993, + "value": "base", + "start": 6286, + "end": 6290, "loc": { "start": { - "line": 280, - "column": 56 + "line": 288, + "column": 84 }, "end": { - "line": 280, - "column": 67 + "line": 288, + "column": 88 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -73913,24 +76083,50 @@ "binop": null, "updateContext": null }, - "start": 5994, - "end": 5995, + "start": 6291, + "end": 6292, "loc": { "start": { - "line": 280, - "column": 68 + "line": 288, + "column": 89 }, "end": { - "line": 280, - "column": 69 + "line": 288, + "column": 90 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "num", "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 6293, + "end": 6294, + "loc": { + "start": { + "line": 288, + "column": 91 + }, + "end": { + "line": 288, + "column": 92 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -73940,79 +76136,77 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 5998, - "end": 6003, + "start": 6295, + "end": 6296, "loc": { "start": { - "line": 281, - "column": 2 + "line": 288, + "column": 93 }, "end": { - "line": 281, - "column": 7 + "line": 288, + "column": 94 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "r", - "start": 6004, - "end": 6005, + "start": 6297, + "end": 6298, "loc": { "start": { - "line": 281, - "column": 8 + "line": 288, + "column": 95 }, "end": { - "line": 281, - "column": 9 + "line": 288, + "column": 96 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "num", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 6006, - "end": 6007, + "value": 0, + "start": 6299, + "end": 6300, "loc": { "start": { - "line": 281, - "column": 10 + "line": 288, + "column": 97 }, "end": { - "line": 281, - "column": 11 + "line": 288, + "column": 98 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -74021,23 +76215,22 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 6008, - "end": 6012, + "start": 6301, + "end": 6302, "loc": { "start": { - "line": 281, - "column": 12 + "line": 288, + "column": 99 }, "end": { - "line": 281, - "column": 16 + "line": 288, + "column": 100 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -74045,45 +76238,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6012, - "end": 6013, + "start": 6303, + "end": 6304, "loc": { "start": { - "line": 281, - "column": 16 + "line": 288, + "column": 101 }, "end": { - "line": 281, - "column": 17 + "line": 288, + "column": 102 } } }, { "type": { - "label": "name", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "base", - "start": 6013, - "end": 6017, + "start": 6305, + "end": 6306, "loc": { "start": { - "line": 281, - "column": 17 + "line": 288, + "column": 103 }, "end": { - "line": 281, - "column": 21 + "line": 288, + "column": 104 } } }, @@ -74100,32 +76292,32 @@ "binop": null, "updateContext": null }, - "start": 6018, - "end": 6019, + "start": 6307, + "end": 6308, "loc": { "start": { - "line": 281, - "column": 22 + "line": 288, + "column": 105 }, "end": { - "line": 281, - "column": 23 + "line": 288, + "column": 106 } } }, { "type": "CommentLine", - "value": " The underlying algorithm does not allow leading 0's so we trim them.", - "start": 6023, - "end": 6094, + "value": " Dividend (& Remainder)", + "start": 6312, + "end": 6337, "loc": { "start": { - "line": 283, + "line": 290, "column": 2 }, "end": { - "line": 283, - "column": 73 + "line": 290, + "column": 27 } } }, @@ -74144,15 +76336,15 @@ "updateContext": null }, "value": "const", - "start": 6097, - "end": 6102, + "start": 6340, + "end": 6345, "loc": { "start": { - "line": 284, + "line": 291, "column": 2 }, "end": { - "line": 284, + "line": 291, "column": 7 } } @@ -74169,17 +76361,17 @@ "postfix": false, "binop": null }, - "value": "lj", - "start": 6103, - "end": 6105, + "value": "D", + "start": 6346, + "end": 6347, "loc": { "start": { - "line": 284, + "line": 291, "column": 8 }, "end": { - "line": 284, - "column": 10 + "line": 291, + "column": 9 } } }, @@ -74197,23 +76389,22 @@ "updateContext": null }, "value": "=", - "start": 6106, - "end": 6107, + "start": 6348, + "end": 6349, "loc": { "start": { - "line": 284, - "column": 11 + "line": 291, + "column": 10 }, "end": { - "line": 284, - "column": 12 + "line": 291, + "column": 11 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -74221,46 +76412,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 6108, - "end": 6112, + "value": "_alloc", + "start": 6350, + "end": 6356, "loc": { "start": { - "line": 284, - "column": 13 + "line": 291, + "column": 12 }, "end": { - "line": 284, - "column": 17 + "line": 291, + "column": 18 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6112, - "end": 6113, + "start": 6356, + "end": 6357, "loc": { "start": { - "line": 284, - "column": 17 + "line": 291, + "column": 18 }, "end": { - "line": 284, - "column": 18 + "line": 291, + "column": 19 } } }, @@ -74276,42 +76465,43 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 6113, - "end": 6118, + "value": "lj", + "start": 6358, + "end": 6360, "loc": { "start": { - "line": 284, - "column": 18 + "line": 291, + "column": 20 }, "end": { - "line": 284, - "column": 23 + "line": 291, + "column": 22 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "start": 6118, - "end": 6119, + "value": "-", + "start": 6361, + "end": 6362, "loc": { "start": { - "line": 284, + "line": 291, "column": 23 }, "end": { - "line": 284, + "line": 291, "column": 24 } } @@ -74328,50 +76518,23 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 6119, - "end": 6125, - "loc": { - "start": { - "line": 284, - "column": 24 - }, - "end": { - "line": 284, - "column": 30 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6126, - "end": 6127, + "value": "li", + "start": 6363, + "end": 6365, "loc": { "start": { - "line": 284, - "column": 31 + "line": 291, + "column": 25 }, "end": { - "line": 284, - "column": 32 + "line": 291, + "column": 27 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -74379,73 +76542,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 6130, - "end": 6135, - "loc": { - "start": { - "line": 285, - "column": 2 - }, - "end": { - "line": 285, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null }, - "value": "li", - "start": 6136, - "end": 6138, + "start": 6366, + "end": 6367, "loc": { "start": { - "line": 285, - "column": 8 + "line": 291, + "column": 28 }, "end": { - "line": 285, - "column": 10 + "line": 291, + "column": 29 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 6139, - "end": 6140, + "start": 6368, + "end": 6369, "loc": { "start": { - "line": 285, - "column": 11 + "line": 291, + "column": 30 }, "end": { - "line": 285, - "column": 12 + "line": 291, + "column": 31 } } }, @@ -74461,17 +76595,17 @@ "postfix": false, "binop": null }, - "value": "_trim_positive", - "start": 6142, - "end": 6156, + "value": "_copy", + "start": 6372, + "end": 6377, "loc": { "start": { - "line": 285, - "column": 14 + "line": 292, + "column": 2 }, "end": { - "line": 285, - "column": 28 + "line": 292, + "column": 7 } } }, @@ -74487,16 +76621,16 @@ "postfix": false, "binop": null }, - "start": 6156, - "end": 6157, + "start": 6377, + "end": 6378, "loc": { "start": { - "line": 285, - "column": 28 + "line": 292, + "column": 7 }, "end": { - "line": 285, - "column": 29 + "line": 292, + "column": 8 } } }, @@ -74515,16 +76649,16 @@ "updateContext": null }, "value": "this", - "start": 6158, - "end": 6162, + "start": 6379, + "end": 6383, "loc": { "start": { - "line": 285, - "column": 30 + "line": 292, + "column": 9 }, "end": { - "line": 285, - "column": 34 + "line": 292, + "column": 13 } } }, @@ -74541,16 +76675,16 @@ "binop": null, "updateContext": null }, - "start": 6162, - "end": 6163, + "start": 6383, + "end": 6384, "loc": { "start": { - "line": 285, - "column": 34 + "line": 292, + "column": 13 }, "end": { - "line": 285, - "column": 35 + "line": 292, + "column": 14 } } }, @@ -74567,69 +76701,16 @@ "binop": null }, "value": "limbs", - "start": 6163, - "end": 6168, - "loc": { - "start": { - "line": 285, - "column": 35 - }, - "end": { - "line": 285, - "column": 40 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6169, - "end": 6170, - "loc": { - "start": { - "line": 285, - "column": 41 - }, - "end": { - "line": 285, - "column": 42 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 6171, - "end": 6172, + "start": 6384, + "end": 6389, "loc": { "start": { - "line": 285, - "column": 43 + "line": 292, + "column": 14 }, "end": { - "line": 285, - "column": 44 + "line": 292, + "column": 19 } } }, @@ -74646,16 +76727,16 @@ "binop": null, "updateContext": null }, - "start": 6173, - "end": 6174, + "start": 6390, + "end": 6391, "loc": { "start": { - "line": 285, - "column": 45 + "line": 292, + "column": 20 }, "end": { - "line": 285, - "column": 46 + "line": 292, + "column": 21 } } }, @@ -74671,48 +76752,23 @@ "postfix": false, "binop": null }, - "value": "lj", - "start": 6175, - "end": 6177, - "loc": { - "start": { - "line": 285, - "column": 47 - }, - "end": { - "line": 285, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6178, - "end": 6179, + "value": "li", + "start": 6392, + "end": 6394, "loc": { "start": { - "line": 285, - "column": 50 + "line": 292, + "column": 22 }, "end": { - "line": 285, - "column": 51 + "line": 292, + "column": 24 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -74723,85 +76779,68 @@ "binop": null, "updateContext": null }, - "start": 6180, - "end": 6181, - "loc": { - "start": { - "line": 285, - "column": 52 - }, - "end": { - "line": 285, - "column": 53 - } - } - }, - { - "type": "CommentLine", - "value": " Dividend is 0", - "start": 6185, - "end": 6201, + "start": 6395, + "end": 6396, "loc": { "start": { - "line": 287, - "column": 2 + "line": 292, + "column": 25 }, "end": { - "line": 287, - "column": 18 + "line": 292, + "column": 26 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 6204, - "end": 6206, + "value": "lj", + "start": 6397, + "end": 6399, "loc": { "start": { - "line": 288, - "column": 2 + "line": 292, + "column": 27 }, "end": { - "line": 288, - "column": 4 + "line": 292, + "column": 29 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6207, - "end": 6208, + "start": 6400, + "end": 6401, "loc": { "start": { - "line": 288, - "column": 5 + "line": 292, + "column": 30 }, "end": { - "line": 288, - "column": 6 + "line": 292, + "column": 31 } } }, @@ -74817,23 +76856,23 @@ "postfix": false, "binop": null }, - "value": "li", - "start": 6209, - "end": 6211, + "value": "D", + "start": 6402, + "end": 6403, "loc": { "start": { - "line": 288, - "column": 7 + "line": 292, + "column": 32 }, "end": { - "line": 288, - "column": 9 + "line": 292, + "column": 33 } } }, { "type": { - "label": "", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -74841,26 +76880,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, + "binop": null, "updateContext": null }, - "value": ">=", - "start": 6212, - "end": 6214, + "start": 6404, + "end": 6405, "loc": { "start": { - "line": 288, - "column": 10 + "line": 292, + "column": 34 }, "end": { - "line": 288, - "column": 12 + "line": 292, + "column": 35 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -74868,19 +76906,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "lj", - "start": 6215, - "end": 6217, + "value": 0, + "start": 6406, + "end": 6407, "loc": { "start": { - "line": 288, - "column": 13 + "line": 292, + "column": 36 }, "end": { - "line": 288, - "column": 15 + "line": 292, + "column": 37 } } }, @@ -74896,23 +76935,22 @@ "postfix": false, "binop": null }, - "start": 6218, - "end": 6219, + "start": 6408, + "end": 6409, "loc": { "start": { - "line": 288, - "column": 16 + "line": 292, + "column": 38 }, "end": { - "line": 288, - "column": 17 + "line": 292, + "column": 39 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -74923,52 +76961,41 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 6220, - "end": 6226, + "start": 6410, + "end": 6411, "loc": { "start": { - "line": 288, - "column": 18 + "line": 292, + "column": 40 }, "end": { - "line": 288, - "column": 24 + "line": 292, + "column": 41 } } }, { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6227, - "end": 6228, + "type": "CommentLine", + "value": " Divisor", + "start": 6415, + "end": 6425, "loc": { "start": { - "line": 288, - "column": 25 + "line": 294, + "column": 2 }, "end": { - "line": 288, - "column": 26 + "line": 294, + "column": 12 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -74977,17 +77004,17 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 6229, - "end": 6232, + "value": "const", + "start": 6428, + "end": 6433, "loc": { "start": { - "line": 288, - "column": 27 + "line": 295, + "column": 2 }, "end": { - "line": 288, - "column": 30 + "line": 295, + "column": 7 } } }, @@ -75003,49 +77030,50 @@ "postfix": false, "binop": null }, - "value": "Integer", - "start": 6233, - "end": 6240, + "value": "d", + "start": 6434, + "end": 6435, "loc": { "start": { - "line": 288, - "column": 31 + "line": 295, + "column": 8 }, "end": { - "line": 288, - "column": 38 + "line": 295, + "column": 9 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6240, - "end": 6241, + "value": "=", + "start": 6436, + "end": 6437, "loc": { "start": { - "line": 288, - "column": 38 + "line": 295, + "column": 10 }, "end": { - "line": 288, - "column": 39 + "line": 295, + "column": 11 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -75053,20 +77081,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 6242, - "end": 6246, + "value": "other", + "start": 6438, + "end": 6443, "loc": { "start": { - "line": 288, - "column": 40 + "line": 295, + "column": 12 }, "end": { - "line": 288, - "column": 44 + "line": 295, + "column": 17 } } }, @@ -75083,16 +77110,16 @@ "binop": null, "updateContext": null }, - "start": 6246, - "end": 6247, + "start": 6443, + "end": 6444, "loc": { "start": { - "line": 288, - "column": 44 + "line": 295, + "column": 17 }, "end": { - "line": 288, - "column": 45 + "line": 295, + "column": 18 } } }, @@ -75108,49 +77135,48 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 6247, - "end": 6251, + "value": "_limbs_in_base", + "start": 6444, + "end": 6458, "loc": { "start": { - "line": 288, - "column": 45 + "line": 295, + "column": 18 }, "end": { - "line": 288, - "column": 49 + "line": 295, + "column": 32 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6252, - "end": 6253, + "start": 6458, + "end": 6459, "loc": { "start": { - "line": 288, - "column": 50 + "line": 295, + "column": 32 }, "end": { - "line": 288, - "column": 51 + "line": 295, + "column": 33 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -75158,54 +77184,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 6254, - "end": 6255, + "value": "r", + "start": 6460, + "end": 6461, "loc": { "start": { - "line": 288, - "column": 52 + "line": 295, + "column": 34 }, "end": { - "line": 288, - "column": 53 + "line": 295, + "column": 35 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6256, - "end": 6257, + "start": 6462, + "end": 6463, "loc": { "start": { - "line": 288, - "column": 54 + "line": 295, + "column": 36 }, "end": { - "line": 288, - "column": 55 + "line": 295, + "column": 37 } } }, { "type": { - "label": "[", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -75214,24 +77238,25 @@ "binop": null, "updateContext": null }, - "start": 6258, - "end": 6259, + "start": 6464, + "end": 6465, "loc": { "start": { - "line": 288, - "column": 56 + "line": 295, + "column": 38 }, "end": { - "line": 288, - "column": 57 + "line": 295, + "column": 39 } } }, { "type": { - "label": "num", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -75240,51 +77265,78 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 6260, - "end": 6261, + "value": "const", + "start": 6468, + "end": 6473, "loc": { "start": { - "line": 288, - "column": 58 + "line": 296, + "column": 2 }, "end": { - "line": 288, - "column": 59 + "line": 296, + "column": 7 } } }, { "type": { - "label": "]", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, + "binop": null + }, + "value": "dj", + "start": 6474, + "end": 6476, + "loc": { + "start": { + "line": 296, + "column": 8 + }, + "end": { + "line": 296, + "column": 10 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, "binop": null, "updateContext": null }, - "start": 6262, - "end": 6263, + "value": "=", + "start": 6477, + "end": 6478, "loc": { "start": { - "line": 288, - "column": 60 + "line": 296, + "column": 11 }, "end": { - "line": 288, - "column": 61 + "line": 296, + "column": 12 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -75292,23 +77344,24 @@ "postfix": false, "binop": null }, - "start": 6264, - "end": 6265, + "value": "d", + "start": 6479, + "end": 6480, "loc": { "start": { - "line": 288, - "column": 62 + "line": 296, + "column": 13 }, "end": { - "line": 288, - "column": 63 + "line": 296, + "column": 14 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -75318,102 +77371,102 @@ "binop": null, "updateContext": null }, - "start": 6266, - "end": 6267, + "start": 6480, + "end": 6481, "loc": { "start": { - "line": 288, - "column": 64 + "line": 296, + "column": 14 }, "end": { - "line": 288, - "column": 65 + "line": 296, + "column": 15 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 6268, - "end": 6271, + "value": "length", + "start": 6481, + "end": 6487, "loc": { "start": { - "line": 288, - "column": 66 + "line": 296, + "column": 15 }, "end": { - "line": 288, - "column": 69 + "line": 296, + "column": 21 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Integer", - "start": 6272, - "end": 6279, + "start": 6488, + "end": 6489, "loc": { "start": { - "line": 288, - "column": 70 + "line": 296, + "column": 22 }, "end": { - "line": 288, - "column": 77 + "line": 296, + "column": 23 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6279, - "end": 6280, + "value": "const", + "start": 6492, + "end": 6497, "loc": { "start": { - "line": 288, - "column": 77 + "line": 297, + "column": 2 }, "end": { - "line": 288, - "column": 78 + "line": 297, + "column": 7 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -75421,46 +77474,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 6281, - "end": 6285, + "value": "di", + "start": 6498, + "end": 6500, "loc": { "start": { - "line": 288, - "column": 79 + "line": 297, + "column": 8 }, "end": { - "line": 288, - "column": 83 + "line": 297, + "column": 10 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 6285, - "end": 6286, + "value": "=", + "start": 6501, + "end": 6502, "loc": { "start": { - "line": 288, - "column": 83 + "line": 297, + "column": 11 }, "end": { - "line": 288, - "column": 84 + "line": 297, + "column": 12 } } }, @@ -75476,49 +77529,48 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 6286, - "end": 6290, + "value": "_trim_positive", + "start": 6503, + "end": 6517, "loc": { "start": { - "line": 288, - "column": 84 + "line": 297, + "column": 13 }, "end": { - "line": 288, - "column": 88 + "line": 297, + "column": 27 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6291, - "end": 6292, + "start": 6517, + "end": 6518, "loc": { "start": { - "line": 288, - "column": 89 + "line": 297, + "column": 27 }, "end": { - "line": 288, - "column": 90 + "line": 297, + "column": 28 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -75526,20 +77578,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 6293, - "end": 6294, + "value": "d", + "start": 6519, + "end": 6520, "loc": { "start": { - "line": 288, - "column": 91 + "line": 297, + "column": 29 }, "end": { - "line": 288, - "column": 92 + "line": 297, + "column": 30 } } }, @@ -75556,23 +77607,23 @@ "binop": null, "updateContext": null }, - "start": 6295, - "end": 6296, + "start": 6521, + "end": 6522, "loc": { "start": { - "line": 288, - "column": 93 + "line": 297, + "column": 31 }, "end": { - "line": 288, - "column": 94 + "line": 297, + "column": 32 } } }, { "type": { - "label": "[", - "beforeExpr": true, + "label": "num", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -75582,24 +77633,25 @@ "binop": null, "updateContext": null }, - "start": 6297, - "end": 6298, + "value": 0, + "start": 6523, + "end": 6524, "loc": { "start": { - "line": 288, - "column": 95 + "line": 297, + "column": 33 }, "end": { - "line": 288, - "column": 96 + "line": 297, + "column": 34 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -75608,43 +77660,42 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 6299, - "end": 6300, + "start": 6525, + "end": 6526, "loc": { "start": { - "line": 288, - "column": 97 + "line": 297, + "column": 35 }, "end": { - "line": 288, - "column": 98 + "line": 297, + "column": 36 } } }, { "type": { - "label": "]", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6301, - "end": 6302, + "value": "dj", + "start": 6527, + "end": 6529, "loc": { "start": { - "line": 288, - "column": 99 + "line": 297, + "column": 37 }, "end": { - "line": 288, - "column": 100 + "line": 297, + "column": 39 } } }, @@ -75660,23 +77711,23 @@ "postfix": false, "binop": null }, - "start": 6303, - "end": 6304, + "start": 6530, + "end": 6531, "loc": { "start": { - "line": 288, - "column": 101 + "line": 297, + "column": 40 }, "end": { - "line": 288, - "column": 102 + "line": 297, + "column": 41 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -75686,58 +77737,48 @@ "binop": null, "updateContext": null }, - "start": 6305, - "end": 6306, + "start": 6532, + "end": 6533, "loc": { "start": { - "line": 288, - "column": 103 + "line": 297, + "column": 42 }, "end": { - "line": 288, - "column": 104 + "line": 297, + "column": 43 } } }, { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6307, - "end": 6308, + "type": "CommentLine", + "value": " di < dj because d != 0", + "start": 6534, + "end": 6559, "loc": { "start": { - "line": 288, - "column": 105 + "line": 297, + "column": 44 }, "end": { - "line": 288, - "column": 106 + "line": 297, + "column": 69 } } }, { "type": "CommentLine", - "value": " Dividend (& Remainder)", - "start": 6312, - "end": 6337, + "value": " Quotient", + "start": 6563, + "end": 6574, "loc": { "start": { - "line": 290, + "line": 299, "column": 2 }, "end": { - "line": 290, - "column": 27 + "line": 299, + "column": 13 } } }, @@ -75756,15 +77797,15 @@ "updateContext": null }, "value": "const", - "start": 6340, - "end": 6345, + "start": 6577, + "end": 6582, "loc": { "start": { - "line": 291, + "line": 300, "column": 2 }, "end": { - "line": 291, + "line": 300, "column": 7 } } @@ -75781,16 +77822,16 @@ "postfix": false, "binop": null }, - "value": "D", - "start": 6346, - "end": 6347, + "value": "q", + "start": 6583, + "end": 6584, "loc": { "start": { - "line": 291, + "line": 300, "column": 8 }, "end": { - "line": 291, + "line": 300, "column": 9 } } @@ -75809,15 +77850,15 @@ "updateContext": null }, "value": "=", - "start": 6348, - "end": 6349, + "start": 6585, + "end": 6586, "loc": { "start": { - "line": 291, + "line": 300, "column": 10 }, "end": { - "line": 291, + "line": 300, "column": 11 } } @@ -75834,16 +77875,16 @@ "postfix": false, "binop": null }, - "value": "_alloc", - "start": 6350, - "end": 6356, + "value": "_zeros", + "start": 6587, + "end": 6593, "loc": { "start": { - "line": 291, + "line": 300, "column": 12 }, "end": { - "line": 291, + "line": 300, "column": 18 } } @@ -75860,15 +77901,15 @@ "postfix": false, "binop": null }, - "start": 6356, - "end": 6357, + "start": 6593, + "end": 6594, "loc": { "start": { - "line": 291, + "line": 300, "column": 18 }, "end": { - "line": 291, + "line": 300, "column": 19 } } @@ -75885,44 +77926,43 @@ "postfix": false, "binop": null }, - "value": "lj", - "start": 6358, - "end": 6360, + "value": "D", + "start": 6595, + "end": 6596, "loc": { "start": { - "line": 291, + "line": 300, "column": 20 }, "end": { - "line": 291, - "column": 22 + "line": 300, + "column": 21 } } }, { "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "-", - "start": 6361, - "end": 6362, + "start": 6596, + "end": 6597, "loc": { "start": { - "line": 291, - "column": 23 + "line": 300, + "column": 21 }, "end": { - "line": 291, - "column": 24 + "line": 300, + "column": 22 } } }, @@ -75938,17 +77978,17 @@ "postfix": false, "binop": null }, - "value": "li", - "start": 6363, - "end": 6365, + "value": "length", + "start": 6597, + "end": 6603, "loc": { "start": { - "line": 291, - "column": 25 + "line": 300, + "column": 22 }, "end": { - "line": 291, - "column": 27 + "line": 300, + "column": 28 } } }, @@ -75964,16 +78004,16 @@ "postfix": false, "binop": null }, - "start": 6366, - "end": 6367, + "start": 6604, + "end": 6605, "loc": { "start": { - "line": 291, - "column": 28 + "line": 300, + "column": 29 }, "end": { - "line": 291, - "column": 29 + "line": 300, + "column": 30 } } }, @@ -75990,16 +78030,16 @@ "binop": null, "updateContext": null }, - "start": 6368, - "end": 6369, + "start": 6606, + "end": 6607, "loc": { "start": { - "line": 291, - "column": 30 + "line": 300, + "column": 31 }, "end": { - "line": 291, - "column": 31 + "line": 300, + "column": 32 } } }, @@ -76015,17 +78055,17 @@ "postfix": false, "binop": null }, - "value": "_copy", - "start": 6372, - "end": 6377, + "value": "_idivmod", + "start": 6611, + "end": 6619, "loc": { "start": { - "line": 292, + "line": 302, "column": 2 }, "end": { - "line": 292, - "column": 7 + "line": 302, + "column": 10 } } }, @@ -76041,174 +78081,16 @@ "postfix": false, "binop": null }, - "start": 6377, - "end": 6378, - "loc": { - "start": { - "line": 292, - "column": 7 - }, - "end": { - "line": 292, - "column": 8 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 6379, - "end": 6383, - "loc": { - "start": { - "line": 292, - "column": 9 - }, - "end": { - "line": 292, - "column": 13 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6383, - "end": 6384, - "loc": { - "start": { - "line": 292, - "column": 13 - }, - "end": { - "line": 292, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "limbs", - "start": 6384, - "end": 6389, - "loc": { - "start": { - "line": 292, - "column": 14 - }, - "end": { - "line": 292, - "column": 19 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6390, - "end": 6391, - "loc": { - "start": { - "line": 292, - "column": 20 - }, - "end": { - "line": 292, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "li", - "start": 6392, - "end": 6394, - "loc": { - "start": { - "line": 292, - "column": 22 - }, - "end": { - "line": 292, - "column": 24 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6395, - "end": 6396, + "start": 6619, + "end": 6620, "loc": { "start": { - "line": 292, - "column": 25 + "line": 302, + "column": 10 }, "end": { - "line": 292, - "column": 26 + "line": 302, + "column": 11 } } }, @@ -76224,17 +78106,17 @@ "postfix": false, "binop": null }, - "value": "lj", - "start": 6397, - "end": 6399, + "value": "r", + "start": 6621, + "end": 6622, "loc": { "start": { - "line": 292, - "column": 27 + "line": 302, + "column": 12 }, "end": { - "line": 292, - "column": 29 + "line": 302, + "column": 13 } } }, @@ -76251,16 +78133,16 @@ "binop": null, "updateContext": null }, - "start": 6400, - "end": 6401, + "start": 6623, + "end": 6624, "loc": { "start": { - "line": 292, - "column": 30 + "line": 302, + "column": 14 }, "end": { - "line": 292, - "column": 31 + "line": 302, + "column": 15 } } }, @@ -76277,16 +78159,16 @@ "binop": null }, "value": "D", - "start": 6402, - "end": 6403, + "start": 6625, + "end": 6626, "loc": { "start": { - "line": 292, - "column": 32 + "line": 302, + "column": 16 }, "end": { - "line": 292, - "column": 33 + "line": 302, + "column": 17 } } }, @@ -76303,16 +78185,16 @@ "binop": null, "updateContext": null }, - "start": 6404, - "end": 6405, + "start": 6627, + "end": 6628, "loc": { "start": { - "line": 292, - "column": 34 + "line": 302, + "column": 18 }, "end": { - "line": 292, - "column": 35 + "line": 302, + "column": 19 } } }, @@ -76330,90 +78212,74 @@ "updateContext": null }, "value": 0, - "start": 6406, - "end": 6407, + "start": 6629, + "end": 6630, "loc": { "start": { - "line": 292, - "column": 36 + "line": 302, + "column": 20 }, "end": { - "line": 292, - "column": 37 + "line": 302, + "column": 21 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6408, - "end": 6409, + "start": 6631, + "end": 6632, "loc": { "start": { - "line": 292, - "column": 38 + "line": 302, + "column": 22 }, "end": { - "line": 292, - "column": 39 + "line": 302, + "column": 23 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6410, - "end": 6411, - "loc": { - "start": { - "line": 292, - "column": 40 - }, - "end": { - "line": 292, - "column": 41 - } - } - }, - { - "type": "CommentLine", - "value": " Divisor", - "start": 6415, - "end": 6425, + "value": "D", + "start": 6633, + "end": 6634, "loc": { "start": { - "line": 294, - "column": 2 + "line": 302, + "column": 24 }, "end": { - "line": 294, - "column": 12 + "line": 302, + "column": 25 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -76424,17 +78290,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 6428, - "end": 6433, + "start": 6634, + "end": 6635, "loc": { "start": { - "line": 295, - "column": 2 + "line": 302, + "column": 25 }, "end": { - "line": 295, - "column": 7 + "line": 302, + "column": 26 } } }, @@ -76450,44 +78315,43 @@ "postfix": false, "binop": null }, - "value": "d", - "start": 6434, - "end": 6435, + "value": "length", + "start": 6635, + "end": 6641, "loc": { "start": { - "line": 295, - "column": 8 + "line": 302, + "column": 26 }, "end": { - "line": 295, - "column": 9 + "line": 302, + "column": 32 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 6436, - "end": 6437, + "start": 6642, + "end": 6643, "loc": { "start": { - "line": 295, - "column": 10 + "line": 302, + "column": 33 }, "end": { - "line": 295, - "column": 11 + "line": 302, + "column": 34 } } }, @@ -76503,24 +78367,24 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 6438, - "end": 6443, + "value": "d", + "start": 6644, + "end": 6645, "loc": { "start": { - "line": 295, - "column": 12 + "line": 302, + "column": 35 }, "end": { - "line": 295, - "column": 17 + "line": 302, + "column": 36 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -76530,16 +78394,16 @@ "binop": null, "updateContext": null }, - "start": 6443, - "end": 6444, + "start": 6646, + "end": 6647, "loc": { "start": { - "line": 295, - "column": 17 + "line": 302, + "column": 37 }, "end": { - "line": 295, - "column": 18 + "line": 302, + "column": 38 } } }, @@ -76555,42 +78419,43 @@ "postfix": false, "binop": null }, - "value": "_limbs_in_base", - "start": 6444, - "end": 6458, + "value": "di", + "start": 6648, + "end": 6650, "loc": { "start": { - "line": 295, - "column": 18 + "line": 302, + "column": 39 }, "end": { - "line": 295, - "column": 32 + "line": 302, + "column": 41 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6458, - "end": 6459, + "start": 6651, + "end": 6652, "loc": { "start": { - "line": 295, - "column": 32 + "line": 302, + "column": 42 }, "end": { - "line": 295, - "column": 33 + "line": 302, + "column": 43 } } }, @@ -76606,76 +78471,76 @@ "postfix": false, "binop": null }, - "value": "r", - "start": 6460, - "end": 6461, + "value": "dj", + "start": 6653, + "end": 6655, "loc": { "start": { - "line": 295, - "column": 34 + "line": 302, + "column": 44 }, "end": { - "line": 295, - "column": 35 + "line": 302, + "column": 46 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6462, - "end": 6463, + "start": 6656, + "end": 6657, "loc": { "start": { - "line": 295, - "column": 36 + "line": 302, + "column": 47 }, "end": { - "line": 295, - "column": 37 + "line": 302, + "column": 48 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6464, - "end": 6465, + "value": "q", + "start": 6658, + "end": 6659, "loc": { "start": { - "line": 295, - "column": 38 + "line": 302, + "column": 49 }, "end": { - "line": 295, - "column": 39 + "line": 302, + "column": 50 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -76685,23 +78550,22 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 6468, - "end": 6473, + "start": 6660, + "end": 6661, "loc": { "start": { - "line": 296, - "column": 2 + "line": 302, + "column": 51 }, "end": { - "line": 296, - "column": 7 + "line": 302, + "column": 52 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -76709,46 +78573,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "dj", - "start": 6474, - "end": 6476, + "value": 0, + "start": 6662, + "end": 6663, "loc": { "start": { - "line": 296, - "column": 8 + "line": 302, + "column": 53 }, "end": { - "line": 296, - "column": 10 + "line": 302, + "column": 54 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 6477, - "end": 6478, + "start": 6664, + "end": 6665, "loc": { "start": { - "line": 296, - "column": 11 + "line": 302, + "column": 55 }, "end": { - "line": 296, - "column": 12 + "line": 302, + "column": 56 } } }, @@ -76764,17 +78628,17 @@ "postfix": false, "binop": null }, - "value": "d", - "start": 6479, - "end": 6480, + "value": "q", + "start": 6666, + "end": 6667, "loc": { "start": { - "line": 296, - "column": 13 + "line": 302, + "column": 57 }, "end": { - "line": 296, - "column": 14 + "line": 302, + "column": 58 } } }, @@ -76791,16 +78655,16 @@ "binop": null, "updateContext": null }, - "start": 6480, - "end": 6481, + "start": 6667, + "end": 6668, "loc": { "start": { - "line": 296, - "column": 14 + "line": 302, + "column": 58 }, "end": { - "line": 296, - "column": 15 + "line": 302, + "column": 59 } } }, @@ -76817,16 +78681,41 @@ "binop": null }, "value": "length", - "start": 6481, - "end": 6487, + "start": 6668, + "end": 6674, "loc": { "start": { - "line": 296, - "column": 15 + "line": 302, + "column": 59 }, "end": { - "line": 296, - "column": 21 + "line": 302, + "column": 65 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6675, + "end": 6676, + "loc": { + "start": { + "line": 302, + "column": 66 + }, + "end": { + "line": 302, + "column": 67 } } }, @@ -76843,16 +78732,16 @@ "binop": null, "updateContext": null }, - "start": 6488, - "end": 6489, + "start": 6677, + "end": 6678, "loc": { "start": { - "line": 296, - "column": 22 + "line": 302, + "column": 68 }, "end": { - "line": 296, - "column": 23 + "line": 302, + "column": 69 } } }, @@ -76871,15 +78760,15 @@ "updateContext": null }, "value": "const", - "start": 6492, - "end": 6497, + "start": 6682, + "end": 6687, "loc": { "start": { - "line": 297, + "line": 304, "column": 2 }, "end": { - "line": 297, + "line": 304, "column": 7 } } @@ -76896,17 +78785,17 @@ "postfix": false, "binop": null }, - "value": "di", - "start": 6498, - "end": 6500, + "value": "Q", + "start": 6688, + "end": 6689, "loc": { "start": { - "line": 297, + "line": 304, "column": 8 }, "end": { - "line": 297, - "column": 10 + "line": 304, + "column": 9 } } }, @@ -76924,16 +78813,44 @@ "updateContext": null }, "value": "=", - "start": 6501, - "end": 6502, + "start": 6690, + "end": 6691, "loc": { "start": { - "line": 297, - "column": 11 + "line": 304, + "column": 10 }, "end": { - "line": 297, + "line": 304, + "column": 11 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 6692, + "end": 6695, + "loc": { + "start": { + "line": 304, "column": 12 + }, + "end": { + "line": 304, + "column": 15 } } }, @@ -76949,17 +78866,17 @@ "postfix": false, "binop": null }, - "value": "_trim_positive", - "start": 6503, - "end": 6517, + "value": "Integer", + "start": 6696, + "end": 6703, "loc": { "start": { - "line": 297, - "column": 13 + "line": 304, + "column": 16 }, "end": { - "line": 297, - "column": 27 + "line": 304, + "column": 23 } } }, @@ -76975,16 +78892,16 @@ "postfix": false, "binop": null }, - "start": 6517, - "end": 6518, + "start": 6703, + "end": 6704, "loc": { "start": { - "line": 297, - "column": 27 + "line": 304, + "column": 23 }, "end": { - "line": 297, - "column": 28 + "line": 304, + "column": 24 } } }, @@ -77000,17 +78917,17 @@ "postfix": false, "binop": null }, - "value": "d", - "start": 6519, - "end": 6520, + "value": "r", + "start": 6705, + "end": 6706, "loc": { "start": { - "line": 297, - "column": 29 + "line": 304, + "column": 25 }, "end": { - "line": 297, - "column": 30 + "line": 304, + "column": 26 } } }, @@ -77027,22 +78944,22 @@ "binop": null, "updateContext": null }, - "start": 6521, - "end": 6522, + "start": 6707, + "end": 6708, "loc": { "start": { - "line": 297, - "column": 31 + "line": 304, + "column": 27 }, "end": { - "line": 297, - "column": 32 + "line": 304, + "column": 28 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -77050,20 +78967,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 6523, - "end": 6524, + "value": "quotient_is_negative", + "start": 6709, + "end": 6729, "loc": { "start": { - "line": 297, - "column": 33 + "line": 304, + "column": 29 }, "end": { - "line": 297, - "column": 34 + "line": 304, + "column": 49 } } }, @@ -77080,16 +78996,16 @@ "binop": null, "updateContext": null }, - "start": 6525, - "end": 6526, + "start": 6730, + "end": 6731, "loc": { "start": { - "line": 297, - "column": 35 + "line": 304, + "column": 50 }, "end": { - "line": 297, - "column": 36 + "line": 304, + "column": 51 } } }, @@ -77105,17 +79021,17 @@ "postfix": false, "binop": null }, - "value": "dj", - "start": 6527, - "end": 6529, + "value": "q", + "start": 6732, + "end": 6733, "loc": { "start": { - "line": 297, - "column": 37 + "line": 304, + "column": 52 }, "end": { - "line": 297, - "column": 39 + "line": 304, + "column": 53 } } }, @@ -77131,16 +79047,16 @@ "postfix": false, "binop": null }, - "start": 6530, - "end": 6531, + "start": 6734, + "end": 6735, "loc": { "start": { - "line": 297, - "column": 40 + "line": 304, + "column": 54 }, "end": { - "line": 297, - "column": 41 + "line": 304, + "column": 55 } } }, @@ -77157,51 +79073,35 @@ "binop": null, "updateContext": null }, - "start": 6532, - "end": 6533, + "start": 6736, + "end": 6737, "loc": { "start": { - "line": 297, - "column": 42 + "line": 304, + "column": 56 }, "end": { - "line": 297, - "column": 43 + "line": 304, + "column": 57 } } }, { "type": "CommentLine", - "value": " di < dj because d != 0", - "start": 6534, - "end": 6559, + "value": " quotient", + "start": 6738, + "end": 6749, "loc": { "start": { - "line": 297, - "column": 44 + "line": 304, + "column": 58 }, "end": { - "line": 297, + "line": 304, "column": 69 } } }, - { - "type": "CommentLine", - "value": " Quotient", - "start": 6563, - "end": 6574, - "loc": { - "start": { - "line": 299, - "column": 2 - }, - "end": { - "line": 299, - "column": 13 - } - } - }, { "type": { "label": "const", @@ -77217,15 +79117,15 @@ "updateContext": null }, "value": "const", - "start": 6577, - "end": 6582, + "start": 6752, + "end": 6757, "loc": { "start": { - "line": 300, + "line": 305, "column": 2 }, "end": { - "line": 300, + "line": 305, "column": 7 } } @@ -77242,16 +79142,16 @@ "postfix": false, "binop": null }, - "value": "q", - "start": 6583, - "end": 6584, + "value": "R", + "start": 6758, + "end": 6759, "loc": { "start": { - "line": 300, + "line": 305, "column": 8 }, "end": { - "line": 300, + "line": 305, "column": 9 } } @@ -77270,49 +79170,51 @@ "updateContext": null }, "value": "=", - "start": 6585, - "end": 6586, + "start": 6760, + "end": 6761, "loc": { "start": { - "line": 300, + "line": 305, "column": 10 }, "end": { - "line": 300, + "line": 305, "column": 11 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "_zeros", - "start": 6587, - "end": 6593, + "value": "new", + "start": 6762, + "end": 6765, "loc": { "start": { - "line": 300, + "line": 305, "column": 12 }, "end": { - "line": 300, - "column": 18 + "line": 305, + "column": 15 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -77321,23 +79223,24 @@ "postfix": false, "binop": null }, - "start": 6593, - "end": 6594, + "value": "Integer", + "start": 6766, + "end": 6773, "loc": { "start": { - "line": 300, - "column": 18 + "line": 305, + "column": 16 }, "end": { - "line": 300, - "column": 19 + "line": 305, + "column": 23 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -77346,100 +79249,101 @@ "postfix": false, "binop": null }, - "value": "D", - "start": 6595, - "end": 6596, + "start": 6773, + "end": 6774, "loc": { "start": { - "line": 300, - "column": 20 + "line": 305, + "column": 23 }, "end": { - "line": 300, - "column": 21 + "line": 305, + "column": 24 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6596, - "end": 6597, + "value": "r", + "start": 6775, + "end": 6776, "loc": { "start": { - "line": 300, - "column": 21 + "line": 305, + "column": 25 }, "end": { - "line": 300, - "column": 22 + "line": 305, + "column": 26 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "length", - "start": 6597, - "end": 6603, + "start": 6777, + "end": 6778, "loc": { "start": { - "line": 300, - "column": 22 + "line": 305, + "column": 27 }, "end": { - "line": 300, + "line": 305, "column": 28 } } }, { "type": { - "label": ")", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6604, - "end": 6605, + "value": 0, + "start": 6779, + "end": 6780, "loc": { "start": { - "line": 300, + "line": 305, "column": 29 }, "end": { - "line": 300, + "line": 305, "column": 30 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -77450,15 +79354,15 @@ "binop": null, "updateContext": null }, - "start": 6606, - "end": 6607, + "start": 6781, + "end": 6782, "loc": { "start": { - "line": 300, + "line": 305, "column": 31 }, "end": { - "line": 300, + "line": 305, "column": 32 } } @@ -77475,50 +79379,25 @@ "postfix": false, "binop": null }, - "value": "_idivmod", - "start": 6611, - "end": 6619, - "loc": { - "start": { - "line": 302, - "column": 2 - }, - "end": { - "line": 302, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6619, - "end": 6620, + "value": "D", + "start": 6783, + "end": 6784, "loc": { "start": { - "line": 302, - "column": 10 + "line": 305, + "column": 33 }, "end": { - "line": 302, - "column": 11 + "line": 305, + "column": 34 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -77526,23 +79405,22 @@ "postfix": false, "binop": null }, - "value": "r", - "start": 6621, - "end": 6622, + "start": 6785, + "end": 6786, "loc": { "start": { - "line": 302, - "column": 12 + "line": 305, + "column": 35 }, "end": { - "line": 302, - "column": 13 + "line": 305, + "column": 36 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -77553,49 +79431,40 @@ "binop": null, "updateContext": null }, - "start": 6623, - "end": 6624, + "start": 6787, + "end": 6788, "loc": { "start": { - "line": 302, - "column": 14 + "line": 305, + "column": 37 }, "end": { - "line": 302, - "column": 15 + "line": 305, + "column": 38 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "D", - "start": 6625, - "end": 6626, + "type": "CommentLine", + "value": " remainder", + "start": 6808, + "end": 6820, "loc": { "start": { - "line": 302, - "column": 16 + "line": 305, + "column": 58 }, "end": { - "line": 302, - "column": 17 + "line": 305, + "column": 70 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -77605,76 +79474,49 @@ "binop": null, "updateContext": null }, - "start": 6627, - "end": 6628, + "value": "if", + "start": 6824, + "end": 6826, "loc": { "start": { - "line": 302, - "column": 18 + "line": 307, + "column": 2 }, "end": { - "line": 302, - "column": 19 + "line": 307, + "column": 4 } } }, { "type": { - "label": "num", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 6629, - "end": 6630, + "start": 6827, + "end": 6828, "loc": { "start": { - "line": 302, - "column": 20 + "line": 307, + "column": 5 }, "end": { - "line": 302, - "column": 21 + "line": 307, + "column": 6 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6631, - "end": 6632, - "loc": { - "start": { - "line": 302, - "column": 22 - }, - "end": { - "line": 302, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -77683,25 +79525,25 @@ "postfix": false, "binop": null }, - "value": "D", - "start": 6633, - "end": 6634, + "start": 6829, + "end": 6830, "loc": { "start": { - "line": 302, - "column": 24 + "line": 307, + "column": 7 }, "end": { - "line": 302, - "column": 25 + "line": 307, + "column": 8 } } }, { "type": { - "label": ".", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -77710,49 +79552,24 @@ "binop": null, "updateContext": null }, - "start": 6634, - "end": 6635, + "value": "this", + "start": 6830, + "end": 6834, "loc": { "start": { - "line": 302, - "column": 25 + "line": 307, + "column": 8 }, "end": { - "line": 302, - "column": 26 + "line": 307, + "column": 12 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "length", - "start": 6635, - "end": 6641, - "loc": { - "start": { - "line": 302, - "column": 26 - }, - "end": { - "line": 302, - "column": 32 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -77762,16 +79579,16 @@ "binop": null, "updateContext": null }, - "start": 6642, - "end": 6643, + "start": 6834, + "end": 6835, "loc": { "start": { - "line": 302, - "column": 33 + "line": 307, + "column": 12 }, "end": { - "line": 302, - "column": 34 + "line": 307, + "column": 13 } } }, @@ -77787,23 +79604,23 @@ "postfix": false, "binop": null }, - "value": "d", - "start": 6644, - "end": 6645, + "value": "is_negative", + "start": 6835, + "end": 6846, "loc": { "start": { - "line": 302, - "column": 35 + "line": 307, + "column": 13 }, "end": { - "line": 302, - "column": 36 + "line": 307, + "column": 24 } } }, { "type": { - "label": ",", + "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -77811,19 +79628,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 1, "updateContext": null }, - "start": 6646, - "end": 6647, + "value": "||", + "start": 6847, + "end": 6849, "loc": { "start": { - "line": 302, - "column": 37 + "line": 307, + "column": 25 }, "end": { - "line": 302, - "column": 38 + "line": 307, + "column": 27 } } }, @@ -77839,24 +79657,24 @@ "postfix": false, "binop": null }, - "value": "di", - "start": 6648, - "end": 6650, + "value": "other", + "start": 6850, + "end": 6855, "loc": { "start": { - "line": 302, - "column": 39 + "line": 307, + "column": 28 }, "end": { - "line": 302, - "column": 41 + "line": 307, + "column": 33 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -77866,16 +79684,16 @@ "binop": null, "updateContext": null }, - "start": 6651, - "end": 6652, + "start": 6855, + "end": 6856, "loc": { "start": { - "line": 302, - "column": 42 + "line": 307, + "column": 33 }, "end": { - "line": 302, - "column": 43 + "line": 307, + "column": 34 } } }, @@ -77891,101 +79709,102 @@ "postfix": false, "binop": null }, - "value": "dj", - "start": 6653, - "end": 6655, + "value": "is_negative", + "start": 6856, + "end": 6867, "loc": { "start": { - "line": 302, - "column": 44 + "line": 307, + "column": 34 }, "end": { - "line": 302, - "column": 46 + "line": 307, + "column": 45 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6656, - "end": 6657, + "start": 6868, + "end": 6869, "loc": { "start": { - "line": 302, - "column": 47 + "line": 307, + "column": 46 }, "end": { - "line": 302, - "column": 48 + "line": 307, + "column": 47 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "&&", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 2, + "updateContext": null }, - "value": "q", - "start": 6658, - "end": 6659, + "value": "&&", + "start": 6870, + "end": 6872, "loc": { "start": { - "line": 302, - "column": 49 + "line": 307, + "column": 48 }, "end": { - "line": 302, + "line": 307, "column": 50 } } }, { "type": { - "label": ",", + "label": "prefix", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, "binop": null, "updateContext": null }, - "start": 6660, - "end": 6661, + "value": "!", + "start": 6873, + "end": 6874, "loc": { "start": { - "line": 302, + "line": 307, "column": 51 }, "end": { - "line": 302, + "line": 307, "column": 52 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -77993,46 +79812,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 6662, - "end": 6663, + "value": "jz", + "start": 6874, + "end": 6876, "loc": { "start": { - "line": 302, - "column": 53 + "line": 307, + "column": 52 }, "end": { - "line": 302, + "line": 307, "column": 54 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6664, - "end": 6665, + "start": 6876, + "end": 6877, "loc": { "start": { - "line": 302, - "column": 55 + "line": 307, + "column": 54 }, "end": { - "line": 302, - "column": 56 + "line": 307, + "column": 55 } } }, @@ -78048,24 +79865,24 @@ "postfix": false, "binop": null }, - "value": "q", - "start": 6666, - "end": 6667, + "value": "D", + "start": 6878, + "end": 6879, "loc": { "start": { - "line": 302, - "column": 57 + "line": 307, + "column": 56 }, "end": { - "line": 302, - "column": 58 + "line": 307, + "column": 57 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -78075,22 +79892,22 @@ "binop": null, "updateContext": null }, - "start": 6667, - "end": 6668, + "start": 6880, + "end": 6881, "loc": { "start": { - "line": 302, + "line": 307, "column": 58 }, "end": { - "line": 302, + "line": 307, "column": 59 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -78098,77 +79915,78 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "length", - "start": 6668, - "end": 6674, + "value": 0, + "start": 6882, + "end": 6883, "loc": { "start": { - "line": 302, - "column": 59 + "line": 307, + "column": 60 }, "end": { - "line": 302, - "column": 65 + "line": 307, + "column": 61 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6675, - "end": 6676, + "start": 6884, + "end": 6885, "loc": { "start": { - "line": 302, - "column": 66 + "line": 307, + "column": 62 }, "end": { - "line": 302, - "column": 67 + "line": 307, + "column": 63 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6677, - "end": 6678, + "value": "D", + "start": 6886, + "end": 6887, "loc": { "start": { - "line": 302, - "column": 68 + "line": 307, + "column": 64 }, "end": { - "line": 302, - "column": 69 + "line": 307, + "column": 65 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -78179,17 +79997,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 6682, - "end": 6687, + "start": 6887, + "end": 6888, "loc": { "start": { - "line": 304, - "column": 2 + "line": 307, + "column": 65 }, "end": { - "line": 304, - "column": 7 + "line": 307, + "column": 66 } } }, @@ -78205,51 +80022,73 @@ "postfix": false, "binop": null }, - "value": "Q", - "start": 6688, - "end": 6689, + "value": "length", + "start": 6888, + "end": 6894, "loc": { "start": { - "line": 304, - "column": 8 + "line": 307, + "column": 66 }, "end": { - "line": 304, - "column": 9 + "line": 307, + "column": 72 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 6690, - "end": 6691, + "start": 6895, + "end": 6896, "loc": { "start": { - "line": 304, - "column": 10 + "line": 307, + "column": 73 }, "end": { - "line": 304, - "column": 11 + "line": 307, + "column": 74 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6897, + "end": 6898, + "loc": { + "start": { + "line": 307, + "column": 75 + }, + "end": { + "line": 307, + "column": 76 + } + } + }, + { + "type": { + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -78257,46 +80096,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 6692, - "end": 6695, + "start": 6899, + "end": 6900, "loc": { "start": { - "line": 304, - "column": 12 + "line": 307, + "column": 77 }, "end": { - "line": 304, - "column": 15 + "line": 307, + "column": 78 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Integer", - "start": 6696, - "end": 6703, + "value": "if", + "start": 6905, + "end": 6907, "loc": { "start": { - "line": 304, - "column": 16 + "line": 309, + "column": 3 }, "end": { - "line": 304, - "column": 23 + "line": 309, + "column": 5 } } }, @@ -78312,16 +80151,16 @@ "postfix": false, "binop": null }, - "start": 6703, - "end": 6704, + "start": 6908, + "end": 6909, "loc": { "start": { - "line": 304, - "column": 23 + "line": 309, + "column": 6 }, "end": { - "line": 304, - "column": 24 + "line": 309, + "column": 7 } } }, @@ -78337,24 +80176,24 @@ "postfix": false, "binop": null }, - "value": "r", - "start": 6705, - "end": 6706, + "value": "other", + "start": 6910, + "end": 6915, "loc": { "start": { - "line": 304, - "column": 25 + "line": 309, + "column": 8 }, "end": { - "line": 304, - "column": 26 + "line": 309, + "column": 13 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -78364,16 +80203,16 @@ "binop": null, "updateContext": null }, - "start": 6707, - "end": 6708, + "start": 6915, + "end": 6916, "loc": { "start": { - "line": 304, - "column": 27 + "line": 309, + "column": 13 }, "end": { - "line": 304, - "column": 28 + "line": 309, + "column": 14 } } }, @@ -78389,50 +80228,49 @@ "postfix": false, "binop": null }, - "value": "quotient_is_negative", - "start": 6709, - "end": 6729, + "value": "is_negative", + "start": 6916, + "end": 6927, "loc": { "start": { - "line": 304, - "column": 29 + "line": 309, + "column": 14 }, "end": { - "line": 304, - "column": 49 + "line": 309, + "column": 25 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6730, - "end": 6731, + "start": 6928, + "end": 6929, "loc": { "start": { - "line": 304, - "column": 50 + "line": 309, + "column": 26 }, "end": { - "line": 304, - "column": 51 + "line": 309, + "column": 27 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -78441,23 +80279,23 @@ "postfix": false, "binop": null }, - "value": "q", - "start": 6732, - "end": 6733, + "start": 6930, + "end": 6931, "loc": { "start": { - "line": 304, - "column": 52 + "line": 309, + "column": 28 }, "end": { - "line": 304, - "column": 53 + "line": 309, + "column": 29 } } }, { "type": { - "label": ")", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -78465,94 +80303,79 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6734, - "end": 6735, + "value": "if", + "start": 6937, + "end": 6939, "loc": { "start": { - "line": 304, - "column": 54 + "line": 311, + "column": 4 }, "end": { - "line": 304, - "column": 55 + "line": 311, + "column": 6 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6736, - "end": 6737, - "loc": { - "start": { - "line": 304, - "column": 56 - }, - "end": { - "line": 304, - "column": 57 - } - } - }, - { - "type": "CommentLine", - "value": " quotient", - "start": 6738, - "end": 6749, + "start": 6940, + "end": 6941, "loc": { "start": { - "line": 304, - "column": 58 + "line": 311, + "column": 7 }, "end": { - "line": 304, - "column": 69 + "line": 311, + "column": 8 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, "binop": null, "updateContext": null }, - "value": "const", - "start": 6752, - "end": 6757, + "value": "!", + "start": 6942, + "end": 6943, "loc": { "start": { - "line": 305, - "column": 2 + "line": 311, + "column": 9 }, "end": { - "line": 305, - "column": 7 + "line": 311, + "column": 10 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -78560,82 +80383,80 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "R", - "start": 6758, - "end": 6759, + "value": "this", + "start": 6943, + "end": 6947, "loc": { "start": { - "line": 305, - "column": 8 + "line": 311, + "column": 10 }, "end": { - "line": 305, - "column": 9 + "line": 311, + "column": 14 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 6760, - "end": 6761, + "start": 6947, + "end": 6948, "loc": { "start": { - "line": 305, - "column": 10 + "line": 311, + "column": 14 }, "end": { - "line": 305, - "column": 11 + "line": 311, + "column": 15 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 6762, - "end": 6765, + "value": "is_negative", + "start": 6948, + "end": 6959, "loc": { "start": { - "line": 305, - "column": 12 + "line": 311, + "column": 15 }, "end": { - "line": 305, - "column": 15 + "line": 311, + "column": 26 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -78643,23 +80464,22 @@ "postfix": false, "binop": null }, - "value": "Integer", - "start": 6766, - "end": 6773, + "start": 6960, + "end": 6961, "loc": { "start": { - "line": 305, - "column": 16 + "line": 311, + "column": 27 }, "end": { - "line": 305, - "column": 23 + "line": 311, + "column": 28 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -78669,16 +80489,16 @@ "postfix": false, "binop": null }, - "start": 6773, - "end": 6774, + "start": 6962, + "end": 6963, "loc": { "start": { - "line": 305, - "column": 23 + "line": 311, + "column": 29 }, "end": { - "line": 305, - "column": 24 + "line": 311, + "column": 30 } } }, @@ -78694,49 +80514,48 @@ "postfix": false, "binop": null }, - "value": "r", - "start": 6775, - "end": 6776, + "value": "increment", + "start": 6969, + "end": 6978, "loc": { "start": { - "line": 305, - "column": 25 + "line": 312, + "column": 5 }, "end": { - "line": 305, - "column": 26 + "line": 312, + "column": 14 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6777, - "end": 6778, + "start": 6978, + "end": 6979, "loc": { "start": { - "line": 305, - "column": 27 + "line": 312, + "column": 14 }, "end": { - "line": 305, - "column": 28 + "line": 312, + "column": 15 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -78744,20 +80563,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 6779, - "end": 6780, + "value": "r", + "start": 6980, + "end": 6981, "loc": { "start": { - "line": 305, - "column": 29 + "line": 312, + "column": 16 }, "end": { - "line": 305, - "column": 30 + "line": 312, + "column": 17 } } }, @@ -78774,16 +80592,16 @@ "binop": null, "updateContext": null }, - "start": 6781, - "end": 6782, + "start": 6982, + "end": 6983, "loc": { "start": { - "line": 305, - "column": 31 + "line": 312, + "column": 18 }, "end": { - "line": 305, - "column": 32 + "line": 312, + "column": 19 } } }, @@ -78799,50 +80617,51 @@ "postfix": false, "binop": null }, - "value": "D", - "start": 6783, - "end": 6784, + "value": "q", + "start": 6984, + "end": 6985, "loc": { "start": { - "line": 305, - "column": 33 + "line": 312, + "column": 20 }, "end": { - "line": 305, - "column": 34 + "line": 312, + "column": 21 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6785, - "end": 6786, + "start": 6986, + "end": 6987, "loc": { "start": { - "line": 305, - "column": 35 + "line": 312, + "column": 22 }, "end": { - "line": 305, - "column": 36 + "line": 312, + "column": 23 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "num", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -78851,92 +80670,102 @@ "binop": null, "updateContext": null }, - "start": 6787, - "end": 6788, + "value": 0, + "start": 6988, + "end": 6989, "loc": { "start": { - "line": 305, - "column": 37 + "line": 312, + "column": 24 }, "end": { - "line": 305, - "column": 38 + "line": 312, + "column": 25 } } }, { - "type": "CommentLine", - "value": " remainder", - "start": 6808, - "end": 6820, + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6990, + "end": 6991, "loc": { "start": { - "line": 305, - "column": 58 + "line": 312, + "column": 26 }, "end": { - "line": 305, - "column": 70 + "line": 312, + "column": 27 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 6824, - "end": 6826, + "value": "q", + "start": 6992, + "end": 6993, "loc": { "start": { - "line": 307, - "column": 2 + "line": 312, + "column": 28 }, "end": { - "line": 307, - "column": 4 + "line": 312, + "column": 29 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6827, - "end": 6828, + "start": 6993, + "end": 6994, "loc": { "start": { - "line": 307, - "column": 5 + "line": 312, + "column": 29 }, "end": { - "line": 307, - "column": 6 + "line": 312, + "column": 30 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -78945,51 +80774,49 @@ "postfix": false, "binop": null }, - "start": 6829, - "end": 6830, + "value": "length", + "start": 6994, + "end": 7000, "loc": { "start": { - "line": 307, - "column": 7 + "line": 312, + "column": 30 }, "end": { - "line": 307, - "column": 8 + "line": 312, + "column": 36 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 6830, - "end": 6834, + "start": 7001, + "end": 7002, "loc": { "start": { - "line": 307, - "column": 8 + "line": 312, + "column": 37 }, "end": { - "line": 307, - "column": 12 + "line": 312, + "column": 38 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -78999,16 +80826,16 @@ "binop": null, "updateContext": null }, - "start": 6834, - "end": 6835, + "start": 7003, + "end": 7004, "loc": { "start": { - "line": 307, - "column": 12 + "line": 312, + "column": 39 }, "end": { - "line": 307, - "column": 13 + "line": 312, + "column": 40 } } }, @@ -79024,44 +80851,43 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 6835, - "end": 6846, + "value": "R", + "start": 7010, + "end": 7011, "loc": { "start": { - "line": 307, - "column": 13 + "line": 313, + "column": 5 }, "end": { - "line": 307, - "column": 24 + "line": 313, + "column": 6 } } }, { "type": { - "label": "||", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, + "binop": null, "updateContext": null }, - "value": "||", - "start": 6847, - "end": 6849, + "start": 7011, + "end": 7012, "loc": { "start": { - "line": 307, - "column": 25 + "line": 313, + "column": 6 }, "end": { - "line": 307, - "column": 27 + "line": 313, + "column": 7 } } }, @@ -79077,43 +80903,42 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 6850, - "end": 6855, + "value": "iadd", + "start": 7012, + "end": 7016, "loc": { "start": { - "line": 307, - "column": 28 + "line": 313, + "column": 7 }, "end": { - "line": 307, - "column": 33 + "line": 313, + "column": 11 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6855, - "end": 6856, + "start": 7016, + "end": 7017, "loc": { "start": { - "line": 307, - "column": 33 + "line": 313, + "column": 11 }, "end": { - "line": 307, - "column": 34 + "line": 313, + "column": 12 } } }, @@ -79129,17 +80954,17 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 6856, - "end": 6867, + "value": "other", + "start": 7018, + "end": 7023, "loc": { "start": { - "line": 307, - "column": 34 + "line": 313, + "column": 13 }, "end": { - "line": 307, - "column": 45 + "line": 313, + "column": 18 } } }, @@ -79155,22 +80980,22 @@ "postfix": false, "binop": null }, - "start": 6868, - "end": 6869, + "start": 7024, + "end": 7025, "loc": { "start": { - "line": 307, - "column": 46 + "line": 313, + "column": 19 }, "end": { - "line": 307, - "column": 47 + "line": 313, + "column": 20 } } }, { "type": { - "label": "&&", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -79178,79 +81003,94 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 2, + "binop": null, "updateContext": null }, - "value": "&&", - "start": 6870, - "end": 6872, + "start": 7026, + "end": 7027, "loc": { "start": { - "line": 307, - "column": 48 + "line": 313, + "column": 21 }, "end": { - "line": 307, - "column": 50 + "line": 313, + "column": 22 + } + } + }, + { + "type": "CommentLine", + "value": " TODO optimize", + "start": 7028, + "end": 7044, + "loc": { + "start": { + "line": 313, + "column": 23 + }, + "end": { + "line": 313, + "column": 39 } } }, { "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "!", - "start": 6873, - "end": 6874, + "start": 7049, + "end": 7050, "loc": { "start": { - "line": 307, - "column": 51 + "line": 314, + "column": 4 }, "end": { - "line": 307, - "column": 52 + "line": 314, + "column": 5 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "jz", - "start": 6874, - "end": 6876, + "value": "else", + "start": 7056, + "end": 7060, "loc": { "start": { - "line": 307, - "column": 52 + "line": 316, + "column": 4 }, "end": { - "line": 307, - "column": 54 + "line": 316, + "column": 8 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -79260,16 +81100,16 @@ "postfix": false, "binop": null }, - "start": 6876, - "end": 6877, + "start": 7061, + "end": 7062, "loc": { "start": { - "line": 307, - "column": 54 + "line": 316, + "column": 9 }, "end": { - "line": 307, - "column": 55 + "line": 316, + "column": 10 } } }, @@ -79285,24 +81125,24 @@ "postfix": false, "binop": null }, - "value": "D", - "start": 6878, - "end": 6879, + "value": "R", + "start": 7068, + "end": 7069, "loc": { "start": { - "line": 307, - "column": 56 + "line": 317, + "column": 5 }, "end": { - "line": 307, - "column": 57 + "line": 317, + "column": 6 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -79312,22 +81152,22 @@ "binop": null, "updateContext": null }, - "start": 6880, - "end": 6881, + "start": 7069, + "end": 7070, "loc": { "start": { - "line": 307, - "column": 58 + "line": 317, + "column": 6 }, "end": { - "line": 307, - "column": 59 + "line": 317, + "column": 7 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -79335,54 +81175,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 6882, - "end": 6883, + "value": "negate", + "start": 7070, + "end": 7076, "loc": { "start": { - "line": 307, - "column": 60 + "line": 317, + "column": 7 }, "end": { - "line": 307, - "column": 61 + "line": 317, + "column": 13 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6884, - "end": 6885, + "start": 7076, + "end": 7077, "loc": { "start": { - "line": 307, - "column": 62 + "line": 317, + "column": 13 }, "end": { - "line": 307, - "column": 63 + "line": 317, + "column": 14 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -79390,24 +81228,23 @@ "postfix": false, "binop": null }, - "value": "D", - "start": 6886, - "end": 6887, + "start": 7077, + "end": 7078, "loc": { "start": { - "line": 307, - "column": 64 + "line": 317, + "column": 14 }, "end": { - "line": 307, - "column": 65 + "line": 317, + "column": 15 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -79417,24 +81254,40 @@ "binop": null, "updateContext": null }, - "start": 6887, - "end": 6888, + "start": 7078, + "end": 7079, "loc": { "start": { - "line": 307, - "column": 65 + "line": 317, + "column": 15 }, "end": { - "line": 307, - "column": 66 + "line": 317, + "column": 16 + } + } + }, + { + "type": "CommentLine", + "value": " TODO optimize", + "start": 7080, + "end": 7096, + "loc": { + "start": { + "line": 317, + "column": 17 + }, + "end": { + "line": 317, + "column": 33 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -79442,23 +81295,22 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 6888, - "end": 6894, + "start": 7101, + "end": 7102, "loc": { "start": { - "line": 307, - "column": 66 + "line": 318, + "column": 4 }, "end": { - "line": 307, - "column": 72 + "line": 318, + "column": 5 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -79468,41 +81320,44 @@ "postfix": false, "binop": null }, - "start": 6895, - "end": 6896, + "start": 7107, + "end": 7108, "loc": { "start": { - "line": 307, - "column": 73 + "line": 320, + "column": 3 }, "end": { - "line": 307, - "column": 74 + "line": 320, + "column": 4 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "else", + "keyword": "else", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6897, - "end": 6898, + "value": "else", + "start": 7113, + "end": 7117, "loc": { "start": { - "line": 307, - "column": 75 + "line": 322, + "column": 3 }, "end": { - "line": 307, - "column": 76 + "line": 322, + "column": 7 } } }, @@ -79518,44 +81373,42 @@ "postfix": false, "binop": null }, - "start": 6899, - "end": 6900, + "start": 7118, + "end": 7119, "loc": { "start": { - "line": 307, - "column": 77 + "line": 322, + "column": 8 }, "end": { - "line": 307, - "column": 78 + "line": 322, + "column": 9 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 6905, - "end": 6907, + "value": "increment", + "start": 7124, + "end": 7133, "loc": { "start": { - "line": 309, - "column": 3 + "line": 323, + "column": 4 }, "end": { - "line": 309, - "column": 5 + "line": 323, + "column": 13 } } }, @@ -79571,16 +81424,16 @@ "postfix": false, "binop": null }, - "start": 6908, - "end": 6909, + "start": 7133, + "end": 7134, "loc": { "start": { - "line": 309, - "column": 6 + "line": 323, + "column": 13 }, "end": { - "line": 309, - "column": 7 + "line": 323, + "column": 14 } } }, @@ -79596,24 +81449,24 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 6910, - "end": 6915, + "value": "r", + "start": 7135, + "end": 7136, "loc": { "start": { - "line": 309, - "column": 8 + "line": 323, + "column": 15 }, "end": { - "line": 309, - "column": 13 + "line": 323, + "column": 16 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -79623,16 +81476,16 @@ "binop": null, "updateContext": null }, - "start": 6915, - "end": 6916, + "start": 7137, + "end": 7138, "loc": { "start": { - "line": 309, - "column": 13 + "line": 323, + "column": 17 }, "end": { - "line": 309, - "column": 14 + "line": 323, + "column": 18 } } }, @@ -79648,75 +81501,77 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 6916, - "end": 6927, + "value": "q", + "start": 7139, + "end": 7140, "loc": { "start": { - "line": 309, - "column": 14 + "line": 323, + "column": 19 }, "end": { - "line": 309, - "column": 25 + "line": 323, + "column": 20 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6928, - "end": 6929, + "start": 7141, + "end": 7142, "loc": { "start": { - "line": 309, - "column": 26 + "line": 323, + "column": 21 }, "end": { - "line": 309, - "column": 27 + "line": 323, + "column": 22 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "num", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6930, - "end": 6931, + "value": 0, + "start": 7143, + "end": 7144, "loc": { "start": { - "line": 309, - "column": 28 + "line": 323, + "column": 23 }, "end": { - "line": 309, - "column": 29 + "line": 323, + "column": 24 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -79726,24 +81581,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 6937, - "end": 6939, + "start": 7145, + "end": 7146, "loc": { "start": { - "line": 311, - "column": 4 + "line": 323, + "column": 25 }, "end": { - "line": 311, - "column": 6 + "line": 323, + "column": 26 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -79752,50 +81606,49 @@ "postfix": false, "binop": null }, - "start": 6940, - "end": 6941, + "value": "q", + "start": 7147, + "end": 7148, "loc": { "start": { - "line": 311, - "column": 7 + "line": 323, + "column": 27 }, "end": { - "line": 311, - "column": 8 + "line": 323, + "column": 28 } } }, { "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "!", - "start": 6942, - "end": 6943, + "start": 7148, + "end": 7149, "loc": { "start": { - "line": 311, - "column": 9 + "line": 323, + "column": 28 }, "end": { - "line": 311, - "column": 10 + "line": 323, + "column": 29 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -79803,26 +81656,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 6943, - "end": 6947, + "value": "length", + "start": 7149, + "end": 7155, "loc": { "start": { - "line": 311, - "column": 10 + "line": 323, + "column": 29 }, "end": { - "line": 311, - "column": 14 + "line": 323, + "column": 35 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -79830,19 +81682,44 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null + }, + "start": 7156, + "end": 7157, + "loc": { + "start": { + "line": 323, + "column": 36 + }, + "end": { + "line": 323, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null, "updateContext": null }, - "start": 6947, - "end": 6948, + "start": 7158, + "end": 7159, "loc": { "start": { - "line": 311, - "column": 14 + "line": 323, + "column": 38 }, "end": { - "line": 311, - "column": 15 + "line": 323, + "column": 39 } } }, @@ -79858,23 +81735,23 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 6948, - "end": 6959, + "value": "R", + "start": 7164, + "end": 7165, "loc": { "start": { - "line": 311, - "column": 15 + "line": 324, + "column": 4 }, "end": { - "line": 311, - "column": 26 + "line": 324, + "column": 5 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -79882,24 +81759,51 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7165, + "end": 7166, + "loc": { + "start": { + "line": 324, + "column": 5 + }, + "end": { + "line": 324, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null }, - "start": 6960, - "end": 6961, + "value": "negate", + "start": 7166, + "end": 7172, "loc": { "start": { - "line": 311, - "column": 27 + "line": 324, + "column": 6 }, "end": { - "line": 311, - "column": 28 + "line": 324, + "column": 12 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -79909,66 +81813,66 @@ "postfix": false, "binop": null }, - "start": 6962, - "end": 6963, + "start": 7172, + "end": 7173, "loc": { "start": { - "line": 311, - "column": 29 + "line": 324, + "column": 12 }, "end": { - "line": 311, - "column": 30 + "line": 324, + "column": 13 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null - }, - "value": "increment", - "start": 6969, - "end": 6978, + }, + "start": 7173, + "end": 7174, "loc": { "start": { - "line": 312, - "column": 5 + "line": 324, + "column": 13 }, "end": { - "line": 312, + "line": 324, "column": 14 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6978, - "end": 6979, + "start": 7174, + "end": 7175, "loc": { "start": { - "line": 312, + "line": 324, "column": 14 }, "end": { - "line": 312, + "line": 324, "column": 15 } } @@ -79985,43 +81889,42 @@ "postfix": false, "binop": null }, - "value": "r", - "start": 6980, - "end": 6981, + "value": "iadd", + "start": 7175, + "end": 7179, "loc": { "start": { - "line": 312, - "column": 16 + "line": 324, + "column": 15 }, "end": { - "line": 312, - "column": 17 + "line": 324, + "column": 19 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6982, - "end": 6983, + "start": 7179, + "end": 7180, "loc": { "start": { - "line": 312, - "column": 18 + "line": 324, + "column": 19 }, "end": { - "line": 312, - "column": 19 + "line": 324, + "column": 20 } } }, @@ -80037,51 +81940,50 @@ "postfix": false, "binop": null }, - "value": "q", - "start": 6984, - "end": 6985, + "value": "other", + "start": 7181, + "end": 7186, "loc": { "start": { - "line": 312, - "column": 20 + "line": 324, + "column": 21 }, "end": { - "line": 312, - "column": 21 + "line": 324, + "column": 26 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6986, - "end": 6987, + "start": 7187, + "end": 7188, "loc": { "start": { - "line": 312, - "column": 22 + "line": 324, + "column": 27 }, "end": { - "line": 312, - "column": 23 + "line": 324, + "column": 28 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -80090,51 +81992,65 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 6988, - "end": 6989, + "start": 7189, + "end": 7190, "loc": { "start": { - "line": 312, - "column": 24 + "line": 324, + "column": 29 }, "end": { - "line": 312, - "column": 25 + "line": 324, + "column": 30 + } + } + }, + { + "type": "CommentLine", + "value": " TODO optimize", + "start": 7191, + "end": 7207, + "loc": { + "start": { + "line": 324, + "column": 31 + }, + "end": { + "line": 324, + "column": 47 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6990, - "end": 6991, + "start": 7211, + "end": 7212, "loc": { "start": { - "line": 312, - "column": 26 + "line": 325, + "column": 3 }, "end": { - "line": 312, - "column": 27 + "line": 325, + "column": 4 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -80142,24 +82058,24 @@ "postfix": false, "binop": null }, - "value": "q", - "start": 6992, - "end": 6993, + "start": 7216, + "end": 7217, "loc": { "start": { - "line": 312, - "column": 28 + "line": 327, + "column": 2 }, "end": { - "line": 312, - "column": 29 + "line": 327, + "column": 3 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -80169,50 +82085,51 @@ "binop": null, "updateContext": null }, - "start": 6993, - "end": 6994, + "value": "return", + "start": 7221, + "end": 7227, "loc": { "start": { - "line": 312, - "column": 29 + "line": 329, + "column": 2 }, "end": { - "line": 312, - "column": 30 + "line": 329, + "column": 8 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "length", - "start": 6994, - "end": 7000, + "start": 7228, + "end": 7229, "loc": { "start": { - "line": 312, - "column": 30 + "line": 329, + "column": 9 }, "end": { - "line": 312, - "column": 36 + "line": 329, + "column": 10 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -80220,22 +82137,23 @@ "postfix": false, "binop": null }, - "start": 7001, - "end": 7002, + "value": "Q", + "start": 7230, + "end": 7231, "loc": { "start": { - "line": 312, - "column": 37 + "line": 329, + "column": 11 }, "end": { - "line": 312, - "column": 38 + "line": 329, + "column": 12 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -80246,16 +82164,16 @@ "binop": null, "updateContext": null }, - "start": 7003, - "end": 7004, + "start": 7232, + "end": 7233, "loc": { "start": { - "line": 312, - "column": 39 + "line": 329, + "column": 13 }, "end": { - "line": 312, - "column": 40 + "line": 329, + "column": 14 } } }, @@ -80272,22 +82190,22 @@ "binop": null }, "value": "R", - "start": 7010, - "end": 7011, + "start": 7234, + "end": 7235, "loc": { "start": { - "line": 313, - "column": 5 + "line": 329, + "column": 15 }, "end": { - "line": 313, - "column": 6 + "line": 329, + "column": 16 } } }, { "type": { - "label": ".", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -80298,50 +82216,50 @@ "binop": null, "updateContext": null }, - "start": 7011, - "end": 7012, + "start": 7236, + "end": 7237, "loc": { "start": { - "line": 313, - "column": 6 + "line": 329, + "column": 17 }, "end": { - "line": 313, - "column": 7 + "line": 329, + "column": 18 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "iadd", - "start": 7012, - "end": 7016, + "start": 7238, + "end": 7239, "loc": { "start": { - "line": 313, - "column": 7 + "line": 329, + "column": 19 }, "end": { - "line": 313, - "column": 11 + "line": 329, + "column": 20 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -80349,16 +82267,16 @@ "postfix": false, "binop": null }, - "start": 7016, - "end": 7017, + "start": 7242, + "end": 7243, "loc": { "start": { - "line": 313, - "column": 11 + "line": 331, + "column": 1 }, "end": { - "line": 313, - "column": 12 + "line": 331, + "column": 2 } } }, @@ -80374,25 +82292,25 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 7018, - "end": 7023, + "value": "idivmod", + "start": 7246, + "end": 7253, "loc": { "start": { - "line": 313, - "column": 13 + "line": 333, + "column": 1 }, "end": { - "line": 313, - "column": 18 + "line": 333, + "column": 8 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -80400,64 +82318,48 @@ "postfix": false, "binop": null }, - "start": 7024, - "end": 7025, + "start": 7254, + "end": 7255, "loc": { "start": { - "line": 313, - "column": 19 + "line": 333, + "column": 9 }, "end": { - "line": 313, - "column": 20 + "line": 333, + "column": 10 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 7026, - "end": 7027, - "loc": { - "start": { - "line": 313, - "column": 21 - }, - "end": { - "line": 313, - "column": 22 - } - } - }, - { - "type": "CommentLine", - "value": " TODO optimize", - "start": 7028, - "end": 7044, + "value": "other", + "start": 7256, + "end": 7261, "loc": { "start": { - "line": 313, - "column": 23 + "line": 333, + "column": 11 }, "end": { - "line": 313, - "column": 39 + "line": 333, + "column": 16 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -80467,103 +82369,93 @@ "postfix": false, "binop": null }, - "start": 7049, - "end": 7050, + "start": 7262, + "end": 7263, "loc": { "start": { - "line": 314, - "column": 4 + "line": 333, + "column": 17 }, "end": { - "line": 314, - "column": 5 + "line": 333, + "column": 18 } } }, { "type": { - "label": "else", - "keyword": "else", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "else", - "start": 7056, - "end": 7060, + "start": 7264, + "end": 7265, "loc": { "start": { - "line": 316, - "column": 4 + "line": 333, + "column": 19 }, "end": { - "line": 316, - "column": 8 + "line": 333, + "column": 20 } } }, { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7061, - "end": 7062, + "type": "CommentLine", + "value": " TODO optimize but be careful with side effects", + "start": 7268, + "end": 7317, "loc": { "start": { - "line": 316, - "column": 9 + "line": 334, + "column": 2 }, "end": { - "line": 316, - "column": 10 + "line": 334, + "column": 51 } } }, { "type": { - "label": "name", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "R", - "start": 7068, - "end": 7069, + "value": "const", + "start": 7320, + "end": 7325, "loc": { "start": { - "line": 317, - "column": 5 + "line": 335, + "column": 2 }, "end": { - "line": 317, - "column": 6 + "line": 335, + "column": 7 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -80572,16 +82464,16 @@ "binop": null, "updateContext": null }, - "start": 7069, - "end": 7070, + "start": 7326, + "end": 7327, "loc": { "start": { - "line": 317, - "column": 6 + "line": 335, + "column": 8 }, "end": { - "line": 317, - "column": 7 + "line": 335, + "column": 9 } } }, @@ -80597,50 +82489,51 @@ "postfix": false, "binop": null }, - "value": "negate", - "start": 7070, - "end": 7076, + "value": "q", + "start": 7328, + "end": 7329, "loc": { "start": { - "line": 317, - "column": 7 + "line": 335, + "column": 10 }, "end": { - "line": 317, - "column": 13 + "line": 335, + "column": 11 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7076, - "end": 7077, + "start": 7330, + "end": 7331, "loc": { "start": { - "line": 317, - "column": 13 + "line": 335, + "column": 12 }, "end": { - "line": 317, - "column": 14 + "line": 335, + "column": 13 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -80648,23 +82541,24 @@ "postfix": false, "binop": null }, - "start": 7077, - "end": 7078, + "value": "r", + "start": 7332, + "end": 7333, "loc": { "start": { - "line": 317, + "line": 335, "column": 14 }, "end": { - "line": 317, + "line": 335, "column": 15 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -80674,90 +82568,78 @@ "binop": null, "updateContext": null }, - "start": 7078, - "end": 7079, + "start": 7334, + "end": 7335, "loc": { "start": { - "line": 317, - "column": 15 - }, - "end": { - "line": 317, + "line": 335, "column": 16 - } - } - }, - { - "type": "CommentLine", - "value": " TODO optimize", - "start": 7080, - "end": 7096, - "loc": { - "start": { - "line": 317, - "column": 17 }, "end": { - "line": 317, - "column": 33 + "line": 335, + "column": 17 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7101, - "end": 7102, + "value": "=", + "start": 7336, + "end": 7337, "loc": { "start": { - "line": 318, - "column": 4 + "line": 335, + "column": 18 }, "end": { - "line": 318, - "column": 5 + "line": 335, + "column": 19 } } }, { "type": { - "label": "}", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7107, - "end": 7108, + "value": "this", + "start": 7338, + "end": 7342, "loc": { "start": { - "line": 320, - "column": 3 + "line": 335, + "column": 20 }, "end": { - "line": 320, - "column": 4 + "line": 335, + "column": 24 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -80767,24 +82649,23 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 7113, - "end": 7117, + "start": 7342, + "end": 7343, "loc": { "start": { - "line": 322, - "column": 3 + "line": 335, + "column": 24 }, "end": { - "line": 322, - "column": 7 + "line": 335, + "column": 25 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -80793,23 +82674,24 @@ "postfix": false, "binop": null }, - "start": 7118, - "end": 7119, + "value": "divmod", + "start": 7343, + "end": 7349, "loc": { "start": { - "line": 322, - "column": 8 + "line": 335, + "column": 25 }, "end": { - "line": 322, - "column": 9 + "line": 335, + "column": 31 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -80818,24 +82700,23 @@ "postfix": false, "binop": null }, - "value": "increment", - "start": 7124, - "end": 7133, + "start": 7349, + "end": 7350, "loc": { "start": { - "line": 323, - "column": 4 + "line": 335, + "column": 31 }, "end": { - "line": 323, - "column": 13 + "line": 335, + "column": 32 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -80844,24 +82725,25 @@ "postfix": false, "binop": null }, - "start": 7133, - "end": 7134, + "value": "other", + "start": 7350, + "end": 7355, "loc": { "start": { - "line": 323, - "column": 13 + "line": 335, + "column": 32 }, "end": { - "line": 323, - "column": 14 + "line": 335, + "column": 37 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -80869,23 +82751,22 @@ "postfix": false, "binop": null }, - "value": "r", - "start": 7135, - "end": 7136, + "start": 7355, + "end": 7356, "loc": { "start": { - "line": 323, - "column": 15 + "line": 335, + "column": 37 }, "end": { - "line": 323, - "column": 16 + "line": 335, + "column": 38 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -80896,50 +82777,52 @@ "binop": null, "updateContext": null }, - "start": 7137, - "end": 7138, + "start": 7357, + "end": 7358, "loc": { "start": { - "line": 323, - "column": 17 + "line": 335, + "column": 39 }, "end": { - "line": 323, - "column": 18 + "line": 335, + "column": 40 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "q", - "start": 7139, - "end": 7140, + "value": "return", + "start": 7361, + "end": 7367, "loc": { "start": { - "line": 323, - "column": 19 + "line": 336, + "column": 2 }, "end": { - "line": 323, - "column": 20 + "line": 336, + "column": 8 } } }, { "type": { - "label": ",", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -80948,22 +82831,22 @@ "binop": null, "updateContext": null }, - "start": 7141, - "end": 7142, + "start": 7368, + "end": 7369, "loc": { "start": { - "line": 323, - "column": 21 + "line": 336, + "column": 9 }, "end": { - "line": 323, - "column": 22 + "line": 336, + "column": 10 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -80971,20 +82854,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 7143, - "end": 7144, + "value": "q", + "start": 7370, + "end": 7371, "loc": { "start": { - "line": 323, - "column": 23 + "line": 336, + "column": 11 }, "end": { - "line": 323, - "column": 24 + "line": 336, + "column": 12 } } }, @@ -81001,16 +82883,16 @@ "binop": null, "updateContext": null }, - "start": 7145, - "end": 7146, + "start": 7372, + "end": 7373, "loc": { "start": { - "line": 323, - "column": 25 + "line": 336, + "column": 13 }, "end": { - "line": 323, - "column": 26 + "line": 336, + "column": 14 } } }, @@ -81026,17 +82908,17 @@ "postfix": false, "binop": null }, - "value": "q", - "start": 7147, - "end": 7148, + "value": "r", + "start": 7374, + "end": 7375, "loc": { "start": { - "line": 323, - "column": 27 + "line": 336, + "column": 15 }, "end": { - "line": 323, - "column": 28 + "line": 336, + "column": 16 } } }, @@ -81053,16 +82935,16 @@ "binop": null, "updateContext": null }, - "start": 7148, - "end": 7149, + "start": 7375, + "end": 7376, "loc": { "start": { - "line": 323, - "column": 28 + "line": 336, + "column": 16 }, "end": { - "line": 323, - "column": 29 + "line": 336, + "column": 17 } } }, @@ -81078,25 +82960,25 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 7149, - "end": 7155, + "value": "move", + "start": 7376, + "end": 7380, "loc": { "start": { - "line": 323, - "column": 29 + "line": 336, + "column": 17 }, "end": { - "line": 323, - "column": 35 + "line": 336, + "column": 21 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -81104,24 +82986,25 @@ "postfix": false, "binop": null }, - "start": 7156, - "end": 7157, + "start": 7380, + "end": 7381, "loc": { "start": { - "line": 323, - "column": 36 + "line": 336, + "column": 21 }, "end": { - "line": 323, - "column": 37 + "line": 336, + "column": 22 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -81130,24 +83013,25 @@ "binop": null, "updateContext": null }, - "start": 7158, - "end": 7159, + "value": "this", + "start": 7381, + "end": 7385, "loc": { "start": { - "line": 323, - "column": 38 + "line": 336, + "column": 22 }, "end": { - "line": 323, - "column": 39 + "line": 336, + "column": 26 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -81155,23 +83039,22 @@ "postfix": false, "binop": null }, - "value": "R", - "start": 7164, - "end": 7165, + "start": 7385, + "end": 7386, "loc": { "start": { - "line": 324, - "column": 4 + "line": 336, + "column": 26 }, "end": { - "line": 324, - "column": 5 + "line": 336, + "column": 27 } } }, { "type": { - "label": ".", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -81182,50 +83065,50 @@ "binop": null, "updateContext": null }, - "start": 7165, - "end": 7166, + "start": 7387, + "end": 7388, "loc": { "start": { - "line": 324, - "column": 5 + "line": 336, + "column": 28 }, "end": { - "line": 324, - "column": 6 + "line": 336, + "column": 29 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "negate", - "start": 7166, - "end": 7172, + "start": 7389, + "end": 7390, "loc": { "start": { - "line": 324, - "column": 6 + "line": 336, + "column": 30 }, "end": { - "line": 324, - "column": 12 + "line": 336, + "column": 31 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -81233,24 +83116,24 @@ "postfix": false, "binop": null }, - "start": 7172, - "end": 7173, + "start": 7392, + "end": 7393, "loc": { "start": { - "line": 324, - "column": 12 + "line": 337, + "column": 1 }, "end": { - "line": 324, - "column": 13 + "line": 337, + "column": 2 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -81258,42 +83141,42 @@ "postfix": false, "binop": null }, - "start": 7173, - "end": 7174, + "value": "divmodn", + "start": 7396, + "end": 7403, "loc": { "start": { - "line": 324, - "column": 13 + "line": 339, + "column": 1 }, "end": { - "line": 324, - "column": 14 + "line": 339, + "column": 8 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 7174, - "end": 7175, + "start": 7404, + "end": 7405, "loc": { "start": { - "line": 324, - "column": 14 + "line": 339, + "column": 9 }, "end": { - "line": 324, - "column": 15 + "line": 339, + "column": 10 } } }, @@ -81309,25 +83192,25 @@ "postfix": false, "binop": null }, - "value": "iadd", - "start": 7175, - "end": 7179, + "value": "number", + "start": 7406, + "end": 7412, "loc": { "start": { - "line": 324, - "column": 15 + "line": 339, + "column": 11 }, "end": { - "line": 324, - "column": 19 + "line": 339, + "column": 17 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -81335,23 +83218,23 @@ "postfix": false, "binop": null }, - "start": 7179, - "end": 7180, + "start": 7413, + "end": 7414, "loc": { "start": { - "line": 324, - "column": 19 + "line": 339, + "column": 18 }, "end": { - "line": 324, - "column": 20 + "line": 339, + "column": 19 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -81360,90 +83243,78 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 7181, - "end": 7186, + "start": 7415, + "end": 7416, "loc": { "start": { - "line": 324, - "column": 21 + "line": 339, + "column": 20 }, "end": { - "line": 324, - "column": 26 + "line": 339, + "column": 21 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7187, - "end": 7188, + "value": "return", + "start": 7419, + "end": 7425, "loc": { "start": { - "line": 324, - "column": 27 + "line": 340, + "column": 2 }, "end": { - "line": 324, - "column": 28 + "line": 340, + "column": 8 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, - "updateContext": null - }, - "start": 7189, - "end": 7190, - "loc": { - "start": { - "line": 324, - "column": 29 - }, - "end": { - "line": 324, - "column": 30 - } - } - }, - { - "type": "CommentLine", - "value": " TODO optimize", - "start": 7191, - "end": 7207, + "updateContext": null + }, + "value": "this", + "start": 7426, + "end": 7430, "loc": { "start": { - "line": 324, - "column": 31 + "line": 340, + "column": 9 }, "end": { - "line": 324, - "column": 47 + "line": 340, + "column": 13 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -81451,26 +83322,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7211, - "end": 7212, + "start": 7430, + "end": 7431, "loc": { "start": { - "line": 325, - "column": 3 + "line": 340, + "column": 13 }, "end": { - "line": 325, - "column": 4 + "line": 340, + "column": 14 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -81478,77 +83350,75 @@ "postfix": false, "binop": null }, - "start": 7216, - "end": 7217, + "value": "divmod", + "start": 7431, + "end": 7437, "loc": { "start": { - "line": 327, - "column": 2 + "line": 340, + "column": 14 }, "end": { - "line": 327, - "column": 3 + "line": 340, + "column": 20 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 7221, - "end": 7227, + "start": 7437, + "end": 7438, "loc": { "start": { - "line": 329, - "column": 2 + "line": 340, + "column": 20 }, "end": { - "line": 329, - "column": 8 + "line": 340, + "column": 21 } } }, { "type": { - "label": "[", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 7228, - "end": 7229, + "value": "_from_number", + "start": 7438, + "end": 7450, "loc": { "start": { - "line": 329, - "column": 9 + "line": 340, + "column": 21 }, "end": { - "line": 329, - "column": 10 + "line": 340, + "column": 33 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -81557,51 +83427,50 @@ "postfix": false, "binop": null }, - "value": "Q", - "start": 7230, - "end": 7231, + "start": 7450, + "end": 7451, "loc": { "start": { - "line": 329, - "column": 11 + "line": 340, + "column": 33 }, "end": { - "line": 329, - "column": 12 + "line": 340, + "column": 34 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 7232, - "end": 7233, + "value": "number", + "start": 7451, + "end": 7457, "loc": { "start": { - "line": 329, - "column": 13 + "line": 340, + "column": 34 }, "end": { - "line": 329, - "column": 14 + "line": 340, + "column": 40 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -81609,23 +83478,22 @@ "postfix": false, "binop": null }, - "value": "R", - "start": 7234, - "end": 7235, + "start": 7457, + "end": 7458, "loc": { "start": { - "line": 329, - "column": 15 + "line": 340, + "column": 40 }, "end": { - "line": 329, - "column": 16 + "line": 340, + "column": 41 } } }, { "type": { - "label": "]", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -81633,19 +83501,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 7236, - "end": 7237, + "start": 7458, + "end": 7459, "loc": { "start": { - "line": 329, - "column": 17 + "line": 340, + "column": 41 }, "end": { - "line": 329, - "column": 18 + "line": 340, + "column": 42 } } }, @@ -81662,16 +83529,16 @@ "binop": null, "updateContext": null }, - "start": 7238, - "end": 7239, + "start": 7460, + "end": 7461, "loc": { "start": { - "line": 329, - "column": 19 + "line": 340, + "column": 43 }, "end": { - "line": 329, - "column": 20 + "line": 340, + "column": 44 } } }, @@ -81687,15 +83554,15 @@ "postfix": false, "binop": null }, - "start": 7242, - "end": 7243, + "start": 7463, + "end": 7464, "loc": { "start": { - "line": 331, + "line": 341, "column": 1 }, "end": { - "line": 331, + "line": 341, "column": 2 } } @@ -81712,17 +83579,17 @@ "postfix": false, "binop": null }, - "value": "idivmod", - "start": 7246, - "end": 7253, + "value": "idivmodn", + "start": 7467, + "end": 7475, "loc": { "start": { - "line": 333, + "line": 343, "column": 1 }, "end": { - "line": 333, - "column": 8 + "line": 343, + "column": 9 } } }, @@ -81738,16 +83605,16 @@ "postfix": false, "binop": null }, - "start": 7254, - "end": 7255, + "start": 7476, + "end": 7477, "loc": { "start": { - "line": 333, - "column": 9 + "line": 343, + "column": 10 }, "end": { - "line": 333, - "column": 10 + "line": 343, + "column": 11 } } }, @@ -81763,17 +83630,17 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 7256, - "end": 7261, + "value": "number", + "start": 7478, + "end": 7484, "loc": { "start": { - "line": 333, - "column": 11 + "line": 343, + "column": 12 }, "end": { - "line": 333, - "column": 16 + "line": 343, + "column": 18 } } }, @@ -81789,16 +83656,16 @@ "postfix": false, "binop": null }, - "start": 7262, - "end": 7263, + "start": 7485, + "end": 7486, "loc": { "start": { - "line": 333, - "column": 17 + "line": 343, + "column": 19 }, "end": { - "line": 333, - "column": 18 + "line": 343, + "column": 20 } } }, @@ -81814,32 +83681,16 @@ "postfix": false, "binop": null }, - "start": 7264, - "end": 7265, - "loc": { - "start": { - "line": 333, - "column": 19 - }, - "end": { - "line": 333, - "column": 20 - } - } - }, - { - "type": "CommentLine", - "value": " TODO optimize but be careful with side effects", - "start": 7268, - "end": 7317, + "start": 7487, + "end": 7488, "loc": { "start": { - "line": 334, - "column": 2 + "line": 343, + "column": 21 }, "end": { - "line": 334, - "column": 51 + "line": 343, + "column": 22 } } }, @@ -81858,15 +83709,15 @@ "updateContext": null }, "value": "const", - "start": 7320, - "end": 7325, + "start": 7491, + "end": 7496, "loc": { "start": { - "line": 335, + "line": 344, "column": 2 }, "end": { - "line": 335, + "line": 344, "column": 7 } } @@ -81884,15 +83735,15 @@ "binop": null, "updateContext": null }, - "start": 7326, - "end": 7327, + "start": 7497, + "end": 7498, "loc": { "start": { - "line": 335, + "line": 344, "column": 8 }, "end": { - "line": 335, + "line": 344, "column": 9 } } @@ -81910,15 +83761,15 @@ "binop": null }, "value": "q", - "start": 7328, - "end": 7329, + "start": 7499, + "end": 7500, "loc": { "start": { - "line": 335, + "line": 344, "column": 10 }, "end": { - "line": 335, + "line": 344, "column": 11 } } @@ -81936,15 +83787,15 @@ "binop": null, "updateContext": null }, - "start": 7330, - "end": 7331, + "start": 7501, + "end": 7502, "loc": { "start": { - "line": 335, + "line": 344, "column": 12 }, "end": { - "line": 335, + "line": 344, "column": 13 } } @@ -81962,15 +83813,15 @@ "binop": null }, "value": "r", - "start": 7332, - "end": 7333, + "start": 7503, + "end": 7504, "loc": { "start": { - "line": 335, + "line": 344, "column": 14 }, "end": { - "line": 335, + "line": 344, "column": 15 } } @@ -81988,15 +83839,15 @@ "binop": null, "updateContext": null }, - "start": 7334, - "end": 7335, + "start": 7505, + "end": 7506, "loc": { "start": { - "line": 335, + "line": 344, "column": 16 }, "end": { - "line": 335, + "line": 344, "column": 17 } } @@ -82015,15 +83866,15 @@ "updateContext": null }, "value": "=", - "start": 7336, - "end": 7337, + "start": 7507, + "end": 7508, "loc": { "start": { - "line": 335, + "line": 344, "column": 18 }, "end": { - "line": 335, + "line": 344, "column": 19 } } @@ -82043,15 +83894,15 @@ "updateContext": null }, "value": "this", - "start": 7338, - "end": 7342, + "start": 7509, + "end": 7513, "loc": { "start": { - "line": 335, + "line": 344, "column": 20 }, "end": { - "line": 335, + "line": 344, "column": 24 } } @@ -82069,15 +83920,15 @@ "binop": null, "updateContext": null }, - "start": 7342, - "end": 7343, + "start": 7513, + "end": 7514, "loc": { "start": { - "line": 335, + "line": 344, "column": 24 }, "end": { - "line": 335, + "line": 344, "column": 25 } } @@ -82094,17 +83945,17 @@ "postfix": false, "binop": null }, - "value": "divmod", - "start": 7343, - "end": 7349, + "value": "divmodn", + "start": 7514, + "end": 7521, "loc": { "start": { - "line": 335, + "line": 344, "column": 25 }, "end": { - "line": 335, - "column": 31 + "line": 344, + "column": 32 } } }, @@ -82120,16 +83971,16 @@ "postfix": false, "binop": null }, - "start": 7349, - "end": 7350, + "start": 7521, + "end": 7522, "loc": { "start": { - "line": 335, - "column": 31 + "line": 344, + "column": 32 }, "end": { - "line": 335, - "column": 32 + "line": 344, + "column": 33 } } }, @@ -82145,17 +83996,17 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 7350, - "end": 7355, + "value": "number", + "start": 7522, + "end": 7528, "loc": { "start": { - "line": 335, - "column": 32 + "line": 344, + "column": 33 }, "end": { - "line": 335, - "column": 37 + "line": 344, + "column": 39 } } }, @@ -82171,16 +84022,16 @@ "postfix": false, "binop": null }, - "start": 7355, - "end": 7356, + "start": 7528, + "end": 7529, "loc": { "start": { - "line": 335, - "column": 37 + "line": 344, + "column": 39 }, "end": { - "line": 335, - "column": 38 + "line": 344, + "column": 40 } } }, @@ -82197,16 +84048,16 @@ "binop": null, "updateContext": null }, - "start": 7357, - "end": 7358, + "start": 7530, + "end": 7531, "loc": { "start": { - "line": 335, - "column": 39 + "line": 344, + "column": 41 }, "end": { - "line": 335, - "column": 40 + "line": 344, + "column": 42 } } }, @@ -82225,15 +84076,15 @@ "updateContext": null }, "value": "return", - "start": 7361, - "end": 7367, + "start": 7534, + "end": 7540, "loc": { "start": { - "line": 336, + "line": 345, "column": 2 }, "end": { - "line": 336, + "line": 345, "column": 8 } } @@ -82251,15 +84102,15 @@ "binop": null, "updateContext": null }, - "start": 7368, - "end": 7369, + "start": 7541, + "end": 7542, "loc": { "start": { - "line": 336, + "line": 345, "column": 9 }, "end": { - "line": 336, + "line": 345, "column": 10 } } @@ -82277,23 +84128,23 @@ "binop": null }, "value": "q", - "start": 7370, - "end": 7371, + "start": 7543, + "end": 7544, "loc": { "start": { - "line": 336, + "line": 345, "column": 11 }, "end": { - "line": 336, + "line": 345, "column": 12 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -82303,16 +84154,16 @@ "binop": null, "updateContext": null }, - "start": 7371, - "end": 7372, + "start": 7545, + "end": 7546, "loc": { "start": { - "line": 336, - "column": 12 + "line": 345, + "column": 13 }, "end": { - "line": 336, - "column": 13 + "line": 345, + "column": 14 } } }, @@ -82328,49 +84179,49 @@ "postfix": false, "binop": null }, - "value": "move", - "start": 7372, - "end": 7376, + "value": "r", + "start": 7547, + "end": 7548, "loc": { "start": { - "line": 336, - "column": 13 + "line": 345, + "column": 15 }, "end": { - "line": 336, - "column": 17 + "line": 345, + "column": 16 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7376, - "end": 7377, + "start": 7548, + "end": 7549, "loc": { "start": { - "line": 336, - "column": 17 + "line": 345, + "column": 16 }, "end": { - "line": 336, - "column": 18 + "line": 345, + "column": 17 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -82378,28 +84229,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 7377, - "end": 7381, + "value": "move", + "start": 7549, + "end": 7553, "loc": { "start": { - "line": 336, - "column": 18 + "line": 345, + "column": 17 }, "end": { - "line": 336, - "column": 22 + "line": 345, + "column": 21 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -82407,24 +84257,25 @@ "postfix": false, "binop": null }, - "start": 7381, - "end": 7382, + "start": 7553, + "end": 7554, "loc": { "start": { - "line": 336, - "column": 22 + "line": 345, + "column": 21 }, "end": { - "line": 336, - "column": 23 + "line": 345, + "column": 22 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -82433,24 +84284,25 @@ "binop": null, "updateContext": null }, - "start": 7383, - "end": 7384, + "value": "this", + "start": 7554, + "end": 7558, "loc": { "start": { - "line": 336, - "column": 24 + "line": 345, + "column": 22 }, "end": { - "line": 336, - "column": 25 + "line": 345, + "column": 26 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -82458,16 +84310,15 @@ "postfix": false, "binop": null }, - "value": "r", - "start": 7385, - "end": 7386, + "start": 7558, + "end": 7559, "loc": { "start": { - "line": 336, + "line": 345, "column": 26 }, "end": { - "line": 336, + "line": 345, "column": 27 } } @@ -82485,15 +84336,15 @@ "binop": null, "updateContext": null }, - "start": 7387, - "end": 7388, + "start": 7560, + "end": 7561, "loc": { "start": { - "line": 336, + "line": 345, "column": 28 }, "end": { - "line": 336, + "line": 345, "column": 29 } } @@ -82511,15 +84362,15 @@ "binop": null, "updateContext": null }, - "start": 7389, - "end": 7390, + "start": 7562, + "end": 7563, "loc": { "start": { - "line": 336, + "line": 345, "column": 30 }, "end": { - "line": 336, + "line": 345, "column": 31 } } @@ -82536,15 +84387,15 @@ "postfix": false, "binop": null }, - "start": 7392, - "end": 7393, + "start": 7565, + "end": 7566, "loc": { "start": { - "line": 337, + "line": 346, "column": 1 }, "end": { - "line": 337, + "line": 346, "column": 2 } } @@ -82562,15 +84413,15 @@ "binop": null }, "value": "opposite", - "start": 7396, - "end": 7404, + "start": 7569, + "end": 7577, "loc": { "start": { - "line": 339, + "line": 348, "column": 1 }, "end": { - "line": 339, + "line": 348, "column": 9 } } @@ -82587,15 +84438,15 @@ "postfix": false, "binop": null }, - "start": 7405, - "end": 7406, + "start": 7578, + "end": 7579, "loc": { "start": { - "line": 339, + "line": 348, "column": 10 }, "end": { - "line": 339, + "line": 348, "column": 11 } } @@ -82612,15 +84463,15 @@ "postfix": false, "binop": null }, - "start": 7407, - "end": 7408, + "start": 7580, + "end": 7581, "loc": { "start": { - "line": 339, + "line": 348, "column": 12 }, "end": { - "line": 339, + "line": 348, "column": 13 } } @@ -82637,15 +84488,15 @@ "postfix": false, "binop": null }, - "start": 7409, - "end": 7410, + "start": 7582, + "end": 7583, "loc": { "start": { - "line": 339, + "line": 348, "column": 14 }, "end": { - "line": 339, + "line": 348, "column": 15 } } @@ -82665,15 +84516,15 @@ "updateContext": null }, "value": "return", - "start": 7413, - "end": 7419, + "start": 7586, + "end": 7592, "loc": { "start": { - "line": 340, + "line": 349, "column": 2 }, "end": { - "line": 340, + "line": 349, "column": 8 } } @@ -82693,15 +84544,15 @@ "updateContext": null }, "value": "new", - "start": 7420, - "end": 7423, + "start": 7593, + "end": 7596, "loc": { "start": { - "line": 340, + "line": 349, "column": 9 }, "end": { - "line": 340, + "line": 349, "column": 12 } } @@ -82719,15 +84570,15 @@ "binop": null }, "value": "Integer", - "start": 7424, - "end": 7431, + "start": 7597, + "end": 7604, "loc": { "start": { - "line": 340, + "line": 349, "column": 13 }, "end": { - "line": 340, + "line": 349, "column": 20 } } @@ -82744,15 +84595,15 @@ "postfix": false, "binop": null }, - "start": 7431, - "end": 7432, + "start": 7604, + "end": 7605, "loc": { "start": { - "line": 340, + "line": 349, "column": 20 }, "end": { - "line": 340, + "line": 349, "column": 21 } } @@ -82772,15 +84623,15 @@ "updateContext": null }, "value": "this", - "start": 7433, - "end": 7437, + "start": 7606, + "end": 7610, "loc": { "start": { - "line": 340, + "line": 349, "column": 22 }, "end": { - "line": 340, + "line": 349, "column": 26 } } @@ -82798,15 +84649,15 @@ "binop": null, "updateContext": null }, - "start": 7437, - "end": 7438, + "start": 7610, + "end": 7611, "loc": { "start": { - "line": 340, + "line": 349, "column": 26 }, "end": { - "line": 340, + "line": 349, "column": 27 } } @@ -82824,15 +84675,15 @@ "binop": null }, "value": "base", - "start": 7438, - "end": 7442, + "start": 7611, + "end": 7615, "loc": { "start": { - "line": 340, + "line": 349, "column": 27 }, "end": { - "line": 340, + "line": 349, "column": 31 } } @@ -82850,15 +84701,15 @@ "binop": null, "updateContext": null }, - "start": 7443, - "end": 7444, + "start": 7616, + "end": 7617, "loc": { "start": { - "line": 340, + "line": 349, "column": 32 }, "end": { - "line": 340, + "line": 349, "column": 33 } } @@ -82877,15 +84728,15 @@ "updateContext": null }, "value": "~", - "start": 7445, - "end": 7446, + "start": 7618, + "end": 7619, "loc": { "start": { - "line": 340, + "line": 349, "column": 34 }, "end": { - "line": 340, + "line": 349, "column": 35 } } @@ -82905,15 +84756,15 @@ "updateContext": null }, "value": "this", - "start": 7446, - "end": 7450, + "start": 7619, + "end": 7623, "loc": { "start": { - "line": 340, + "line": 349, "column": 35 }, "end": { - "line": 340, + "line": 349, "column": 39 } } @@ -82931,15 +84782,15 @@ "binop": null, "updateContext": null }, - "start": 7450, - "end": 7451, + "start": 7623, + "end": 7624, "loc": { "start": { - "line": 340, + "line": 349, "column": 39 }, "end": { - "line": 340, + "line": 349, "column": 40 } } @@ -82957,15 +84808,15 @@ "binop": null }, "value": "is_negative", - "start": 7451, - "end": 7462, + "start": 7624, + "end": 7635, "loc": { "start": { - "line": 340, + "line": 349, "column": 40 }, "end": { - "line": 340, + "line": 349, "column": 51 } } @@ -82983,15 +84834,15 @@ "binop": null, "updateContext": null }, - "start": 7463, - "end": 7464, + "start": 7636, + "end": 7637, "loc": { "start": { - "line": 340, + "line": 349, "column": 52 }, "end": { - "line": 340, + "line": 349, "column": 53 } } @@ -83011,15 +84862,15 @@ "updateContext": null }, "value": "this", - "start": 7465, - "end": 7469, + "start": 7638, + "end": 7642, "loc": { "start": { - "line": 340, + "line": 349, "column": 54 }, "end": { - "line": 340, + "line": 349, "column": 58 } } @@ -83037,15 +84888,15 @@ "binop": null, "updateContext": null }, - "start": 7469, - "end": 7470, + "start": 7642, + "end": 7643, "loc": { "start": { - "line": 340, + "line": 349, "column": 58 }, "end": { - "line": 340, + "line": 349, "column": 59 } } @@ -83063,15 +84914,15 @@ "binop": null }, "value": "limbs", - "start": 7470, - "end": 7475, + "start": 7643, + "end": 7648, "loc": { "start": { - "line": 340, + "line": 349, "column": 59 }, "end": { - "line": 340, + "line": 349, "column": 64 } } @@ -83088,15 +84939,15 @@ "postfix": false, "binop": null }, - "start": 7476, - "end": 7477, + "start": 7649, + "end": 7650, "loc": { "start": { - "line": 340, + "line": 349, "column": 65 }, "end": { - "line": 340, + "line": 349, "column": 66 } } @@ -83114,15 +84965,15 @@ "binop": null, "updateContext": null }, - "start": 7478, - "end": 7479, + "start": 7651, + "end": 7652, "loc": { "start": { - "line": 340, + "line": 349, "column": 67 }, "end": { - "line": 340, + "line": 349, "column": 68 } } @@ -83139,15 +84990,15 @@ "postfix": false, "binop": null }, - "start": 7481, - "end": 7482, + "start": 7654, + "end": 7655, "loc": { "start": { - "line": 341, + "line": 350, "column": 1 }, "end": { - "line": 341, + "line": 350, "column": 2 } } @@ -83165,15 +85016,15 @@ "binop": null }, "value": "negate", - "start": 7485, - "end": 7491, + "start": 7658, + "end": 7664, "loc": { "start": { - "line": 343, + "line": 352, "column": 1 }, "end": { - "line": 343, + "line": 352, "column": 7 } } @@ -83190,15 +85041,15 @@ "postfix": false, "binop": null }, - "start": 7492, - "end": 7493, + "start": 7665, + "end": 7666, "loc": { "start": { - "line": 343, + "line": 352, "column": 8 }, "end": { - "line": 343, + "line": 352, "column": 9 } } @@ -83215,15 +85066,15 @@ "postfix": false, "binop": null }, - "start": 7494, - "end": 7495, + "start": 7667, + "end": 7668, "loc": { "start": { - "line": 343, + "line": 352, "column": 10 }, "end": { - "line": 343, + "line": 352, "column": 11 } } @@ -83240,15 +85091,15 @@ "postfix": false, "binop": null }, - "start": 7496, - "end": 7497, + "start": 7669, + "end": 7670, "loc": { "start": { - "line": 343, + "line": 352, "column": 12 }, "end": { - "line": 343, + "line": 352, "column": 13 } } @@ -83256,15 +85107,15 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 7500, - "end": 7549, + "start": 7673, + "end": 7722, "loc": { "start": { - "line": 344, + "line": 353, "column": 2 }, "end": { - "line": 344, + "line": 353, "column": 51 } } @@ -83284,15 +85135,15 @@ "updateContext": null }, "value": "return", - "start": 7552, - "end": 7558, + "start": 7725, + "end": 7731, "loc": { "start": { - "line": 345, + "line": 354, "column": 2 }, "end": { - "line": 345, + "line": 354, "column": 8 } } @@ -83312,15 +85163,15 @@ "updateContext": null }, "value": "this", - "start": 7559, - "end": 7563, + "start": 7732, + "end": 7736, "loc": { "start": { - "line": 345, + "line": 354, "column": 9 }, "end": { - "line": 345, + "line": 354, "column": 13 } } @@ -83338,15 +85189,15 @@ "binop": null, "updateContext": null }, - "start": 7563, - "end": 7564, + "start": 7736, + "end": 7737, "loc": { "start": { - "line": 345, + "line": 354, "column": 13 }, "end": { - "line": 345, + "line": 354, "column": 14 } } @@ -83364,15 +85215,15 @@ "binop": null }, "value": "opposite", - "start": 7564, - "end": 7572, + "start": 7737, + "end": 7745, "loc": { "start": { - "line": 345, + "line": 354, "column": 14 }, "end": { - "line": 345, + "line": 354, "column": 22 } } @@ -83389,15 +85240,15 @@ "postfix": false, "binop": null }, - "start": 7572, - "end": 7573, + "start": 7745, + "end": 7746, "loc": { "start": { - "line": 345, + "line": 354, "column": 22 }, "end": { - "line": 345, + "line": 354, "column": 23 } } @@ -83414,15 +85265,15 @@ "postfix": false, "binop": null }, - "start": 7573, - "end": 7574, + "start": 7746, + "end": 7747, "loc": { "start": { - "line": 345, + "line": 354, "column": 23 }, "end": { - "line": 345, + "line": 354, "column": 24 } } @@ -83440,15 +85291,15 @@ "binop": null, "updateContext": null }, - "start": 7574, - "end": 7575, + "start": 7747, + "end": 7748, "loc": { "start": { - "line": 345, + "line": 354, "column": 24 }, "end": { - "line": 345, + "line": 354, "column": 25 } } @@ -83466,15 +85317,15 @@ "binop": null }, "value": "move", - "start": 7575, - "end": 7579, + "start": 7748, + "end": 7752, "loc": { "start": { - "line": 345, + "line": 354, "column": 25 }, "end": { - "line": 345, + "line": 354, "column": 29 } } @@ -83491,15 +85342,15 @@ "postfix": false, "binop": null }, - "start": 7579, - "end": 7580, + "start": 7752, + "end": 7753, "loc": { "start": { - "line": 345, + "line": 354, "column": 29 }, "end": { - "line": 345, + "line": 354, "column": 30 } } @@ -83519,15 +85370,15 @@ "updateContext": null }, "value": "this", - "start": 7580, - "end": 7584, + "start": 7753, + "end": 7757, "loc": { "start": { - "line": 345, + "line": 354, "column": 30 }, "end": { - "line": 345, + "line": 354, "column": 34 } } @@ -83544,15 +85395,15 @@ "postfix": false, "binop": null }, - "start": 7584, - "end": 7585, + "start": 7757, + "end": 7758, "loc": { "start": { - "line": 345, + "line": 354, "column": 34 }, "end": { - "line": 345, + "line": 354, "column": 35 } } @@ -83570,15 +85421,15 @@ "binop": null, "updateContext": null }, - "start": 7585, - "end": 7586, + "start": 7758, + "end": 7759, "loc": { "start": { - "line": 345, + "line": 354, "column": 35 }, "end": { - "line": 345, + "line": 354, "column": 36 } } @@ -83595,15 +85446,15 @@ "postfix": false, "binop": null }, - "start": 7588, - "end": 7589, + "start": 7761, + "end": 7762, "loc": { "start": { - "line": 346, + "line": 355, "column": 1 }, "end": { - "line": 346, + "line": 355, "column": 2 } } @@ -83621,15 +85472,15 @@ "binop": null }, "value": "abs", - "start": 7592, - "end": 7595, + "start": 7765, + "end": 7768, "loc": { "start": { - "line": 348, + "line": 357, "column": 1 }, "end": { - "line": 348, + "line": 357, "column": 4 } } @@ -83646,15 +85497,15 @@ "postfix": false, "binop": null }, - "start": 7596, - "end": 7597, + "start": 7769, + "end": 7770, "loc": { "start": { - "line": 348, + "line": 357, "column": 5 }, "end": { - "line": 348, + "line": 357, "column": 6 } } @@ -83671,15 +85522,15 @@ "postfix": false, "binop": null }, - "start": 7598, - "end": 7599, + "start": 7771, + "end": 7772, "loc": { "start": { - "line": 348, + "line": 357, "column": 7 }, "end": { - "line": 348, + "line": 357, "column": 8 } } @@ -83696,15 +85547,15 @@ "postfix": false, "binop": null }, - "start": 7600, - "end": 7601, + "start": 7773, + "end": 7774, "loc": { "start": { - "line": 348, + "line": 357, "column": 9 }, "end": { - "line": 348, + "line": 357, "column": 10 } } @@ -83724,15 +85575,15 @@ "updateContext": null }, "value": "return", - "start": 7604, - "end": 7610, + "start": 7777, + "end": 7783, "loc": { "start": { - "line": 349, + "line": 358, "column": 2 }, "end": { - "line": 349, + "line": 358, "column": 8 } } @@ -83752,15 +85603,15 @@ "updateContext": null }, "value": "this", - "start": 7611, - "end": 7615, + "start": 7784, + "end": 7788, "loc": { "start": { - "line": 349, + "line": 358, "column": 9 }, "end": { - "line": 349, + "line": 358, "column": 13 } } @@ -83778,15 +85629,15 @@ "binop": null, "updateContext": null }, - "start": 7615, - "end": 7616, + "start": 7788, + "end": 7789, "loc": { "start": { - "line": 349, + "line": 358, "column": 13 }, "end": { - "line": 349, + "line": 358, "column": 14 } } @@ -83804,15 +85655,15 @@ "binop": null }, "value": "sign", - "start": 7616, - "end": 7620, + "start": 7789, + "end": 7793, "loc": { "start": { - "line": 349, + "line": 358, "column": 14 }, "end": { - "line": 349, + "line": 358, "column": 18 } } @@ -83829,15 +85680,15 @@ "postfix": false, "binop": null }, - "start": 7620, - "end": 7621, + "start": 7793, + "end": 7794, "loc": { "start": { - "line": 349, + "line": 358, "column": 18 }, "end": { - "line": 349, + "line": 358, "column": 19 } } @@ -83854,15 +85705,15 @@ "postfix": false, "binop": null }, - "start": 7621, - "end": 7622, + "start": 7794, + "end": 7795, "loc": { "start": { - "line": 349, + "line": 358, "column": 19 }, "end": { - "line": 349, + "line": 358, "column": 20 } } @@ -83881,15 +85732,15 @@ "updateContext": null }, "value": ">=", - "start": 7623, - "end": 7625, + "start": 7796, + "end": 7798, "loc": { "start": { - "line": 349, + "line": 358, "column": 21 }, "end": { - "line": 349, + "line": 358, "column": 23 } } @@ -83908,15 +85759,15 @@ "updateContext": null }, "value": 0, - "start": 7626, - "end": 7627, + "start": 7799, + "end": 7800, "loc": { "start": { - "line": 349, + "line": 358, "column": 24 }, "end": { - "line": 349, + "line": 358, "column": 25 } } @@ -83934,15 +85785,15 @@ "binop": null, "updateContext": null }, - "start": 7628, - "end": 7629, + "start": 7801, + "end": 7802, "loc": { "start": { - "line": 349, + "line": 358, "column": 26 }, "end": { - "line": 349, + "line": 358, "column": 27 } } @@ -83962,15 +85813,15 @@ "updateContext": null }, "value": "this", - "start": 7630, - "end": 7634, + "start": 7803, + "end": 7807, "loc": { "start": { - "line": 349, + "line": 358, "column": 28 }, "end": { - "line": 349, + "line": 358, "column": 32 } } @@ -83988,15 +85839,15 @@ "binop": null, "updateContext": null }, - "start": 7635, - "end": 7636, + "start": 7808, + "end": 7809, "loc": { "start": { - "line": 349, + "line": 358, "column": 33 }, "end": { - "line": 349, + "line": 358, "column": 34 } } @@ -84016,15 +85867,15 @@ "updateContext": null }, "value": "this", - "start": 7637, - "end": 7641, + "start": 7810, + "end": 7814, "loc": { "start": { - "line": 349, + "line": 358, "column": 35 }, "end": { - "line": 349, + "line": 358, "column": 39 } } @@ -84042,15 +85893,15 @@ "binop": null, "updateContext": null }, - "start": 7641, - "end": 7642, + "start": 7814, + "end": 7815, "loc": { "start": { - "line": 349, + "line": 358, "column": 39 }, "end": { - "line": 349, + "line": 358, "column": 40 } } @@ -84068,15 +85919,15 @@ "binop": null }, "value": "opposite", - "start": 7642, - "end": 7650, + "start": 7815, + "end": 7823, "loc": { "start": { - "line": 349, + "line": 358, "column": 40 }, "end": { - "line": 349, + "line": 358, "column": 48 } } @@ -84093,15 +85944,15 @@ "postfix": false, "binop": null }, - "start": 7650, - "end": 7651, + "start": 7823, + "end": 7824, "loc": { "start": { - "line": 349, + "line": 358, "column": 48 }, "end": { - "line": 349, + "line": 358, "column": 49 } } @@ -84121,15 +85972,15 @@ "updateContext": null }, "value": "this", - "start": 7651, - "end": 7655, + "start": 7824, + "end": 7828, "loc": { "start": { - "line": 349, + "line": 358, "column": 49 }, "end": { - "line": 349, + "line": 358, "column": 53 } } @@ -84146,15 +85997,15 @@ "postfix": false, "binop": null }, - "start": 7655, - "end": 7656, + "start": 7828, + "end": 7829, "loc": { "start": { - "line": 349, + "line": 358, "column": 53 }, "end": { - "line": 349, + "line": 358, "column": 54 } } @@ -84172,15 +86023,15 @@ "binop": null, "updateContext": null }, - "start": 7657, - "end": 7658, + "start": 7830, + "end": 7831, "loc": { "start": { - "line": 349, + "line": 358, "column": 55 }, "end": { - "line": 349, + "line": 358, "column": 56 } } @@ -84197,15 +86048,15 @@ "postfix": false, "binop": null }, - "start": 7660, - "end": 7661, + "start": 7833, + "end": 7834, "loc": { "start": { - "line": 350, + "line": 359, "column": 1 }, "end": { - "line": 350, + "line": 359, "column": 2 } } @@ -84223,15 +86074,15 @@ "binop": null }, "value": "iabs", - "start": 7664, - "end": 7668, + "start": 7837, + "end": 7841, "loc": { "start": { - "line": 352, + "line": 361, "column": 1 }, "end": { - "line": 352, + "line": 361, "column": 5 } } @@ -84248,15 +86099,15 @@ "postfix": false, "binop": null }, - "start": 7669, - "end": 7670, + "start": 7842, + "end": 7843, "loc": { "start": { - "line": 352, + "line": 361, "column": 6 }, "end": { - "line": 352, + "line": 361, "column": 7 } } @@ -84273,15 +86124,15 @@ "postfix": false, "binop": null }, - "start": 7671, - "end": 7672, + "start": 7844, + "end": 7845, "loc": { "start": { - "line": 352, + "line": 361, "column": 8 }, "end": { - "line": 352, + "line": 361, "column": 9 } } @@ -84298,15 +86149,15 @@ "postfix": false, "binop": null }, - "start": 7673, - "end": 7674, + "start": 7846, + "end": 7847, "loc": { "start": { - "line": 352, + "line": 361, "column": 10 }, "end": { - "line": 352, + "line": 361, "column": 11 } } @@ -84326,15 +86177,15 @@ "updateContext": null }, "value": "return", - "start": 7677, - "end": 7683, + "start": 7850, + "end": 7856, "loc": { "start": { - "line": 353, + "line": 362, "column": 2 }, "end": { - "line": 353, + "line": 362, "column": 8 } } @@ -84354,15 +86205,15 @@ "updateContext": null }, "value": "this", - "start": 7684, - "end": 7688, + "start": 7857, + "end": 7861, "loc": { "start": { - "line": 353, + "line": 362, "column": 9 }, "end": { - "line": 353, + "line": 362, "column": 13 } } @@ -84380,15 +86231,15 @@ "binop": null, "updateContext": null }, - "start": 7688, - "end": 7689, + "start": 7861, + "end": 7862, "loc": { "start": { - "line": 353, + "line": 362, "column": 13 }, "end": { - "line": 353, + "line": 362, "column": 14 } } @@ -84406,15 +86257,15 @@ "binop": null }, "value": "abs", - "start": 7689, - "end": 7692, + "start": 7862, + "end": 7865, "loc": { "start": { - "line": 353, + "line": 362, "column": 14 }, "end": { - "line": 353, + "line": 362, "column": 17 } } @@ -84431,15 +86282,15 @@ "postfix": false, "binop": null }, - "start": 7692, - "end": 7693, + "start": 7865, + "end": 7866, "loc": { "start": { - "line": 353, + "line": 362, "column": 17 }, "end": { - "line": 353, + "line": 362, "column": 18 } } @@ -84456,15 +86307,15 @@ "postfix": false, "binop": null }, - "start": 7693, - "end": 7694, + "start": 7866, + "end": 7867, "loc": { "start": { - "line": 353, + "line": 362, "column": 18 }, "end": { - "line": 353, + "line": 362, "column": 19 } } @@ -84482,15 +86333,15 @@ "binop": null, "updateContext": null }, - "start": 7694, - "end": 7695, + "start": 7867, + "end": 7868, "loc": { "start": { - "line": 353, + "line": 362, "column": 19 }, "end": { - "line": 353, + "line": 362, "column": 20 } } @@ -84508,15 +86359,15 @@ "binop": null }, "value": "move", - "start": 7695, - "end": 7699, + "start": 7868, + "end": 7872, "loc": { "start": { - "line": 353, + "line": 362, "column": 20 }, "end": { - "line": 353, + "line": 362, "column": 24 } } @@ -84533,15 +86384,15 @@ "postfix": false, "binop": null }, - "start": 7699, - "end": 7700, + "start": 7872, + "end": 7873, "loc": { "start": { - "line": 353, + "line": 362, "column": 24 }, "end": { - "line": 353, + "line": 362, "column": 25 } } @@ -84561,15 +86412,15 @@ "updateContext": null }, "value": "this", - "start": 7700, - "end": 7704, + "start": 7873, + "end": 7877, "loc": { "start": { - "line": 353, + "line": 362, "column": 25 }, "end": { - "line": 353, + "line": 362, "column": 29 } } @@ -84586,15 +86437,15 @@ "postfix": false, "binop": null }, - "start": 7704, - "end": 7705, + "start": 7877, + "end": 7878, "loc": { "start": { - "line": 353, + "line": 362, "column": 29 }, "end": { - "line": 353, + "line": 362, "column": 30 } } @@ -84612,15 +86463,15 @@ "binop": null, "updateContext": null }, - "start": 7706, - "end": 7707, + "start": 7879, + "end": 7880, "loc": { "start": { - "line": 353, + "line": 362, "column": 31 }, "end": { - "line": 353, + "line": 362, "column": 32 } } @@ -84637,15 +86488,15 @@ "postfix": false, "binop": null }, - "start": 7709, - "end": 7710, + "start": 7882, + "end": 7883, "loc": { "start": { - "line": 354, + "line": 363, "column": 1 }, "end": { - "line": 354, + "line": 363, "column": 2 } } @@ -84663,15 +86514,15 @@ "binop": null }, "value": "sign", - "start": 7713, - "end": 7717, + "start": 7886, + "end": 7890, "loc": { "start": { - "line": 356, + "line": 365, "column": 1 }, "end": { - "line": 356, + "line": 365, "column": 5 } } @@ -84688,15 +86539,15 @@ "postfix": false, "binop": null }, - "start": 7718, - "end": 7719, + "start": 7891, + "end": 7892, "loc": { "start": { - "line": 356, + "line": 365, "column": 6 }, "end": { - "line": 356, + "line": 365, "column": 7 } } @@ -84713,15 +86564,15 @@ "postfix": false, "binop": null }, - "start": 7720, - "end": 7721, + "start": 7893, + "end": 7894, "loc": { "start": { - "line": 356, + "line": 365, "column": 8 }, "end": { - "line": 356, + "line": 365, "column": 9 } } @@ -84738,15 +86589,15 @@ "postfix": false, "binop": null }, - "start": 7722, - "end": 7723, + "start": 7895, + "end": 7896, "loc": { "start": { - "line": 356, + "line": 365, "column": 10 }, "end": { - "line": 356, + "line": 365, "column": 11 } } @@ -84766,15 +86617,15 @@ "updateContext": null }, "value": "return", - "start": 7726, - "end": 7732, + "start": 7899, + "end": 7905, "loc": { "start": { - "line": 357, + "line": 366, "column": 2 }, "end": { - "line": 357, + "line": 366, "column": 8 } } @@ -84794,15 +86645,15 @@ "updateContext": null }, "value": "this", - "start": 7733, - "end": 7737, + "start": 7906, + "end": 7910, "loc": { "start": { - "line": 357, + "line": 366, "column": 9 }, "end": { - "line": 357, + "line": 366, "column": 13 } } @@ -84820,15 +86671,15 @@ "binop": null, "updateContext": null }, - "start": 7737, - "end": 7738, + "start": 7910, + "end": 7911, "loc": { "start": { - "line": 357, + "line": 366, "column": 13 }, "end": { - "line": 357, + "line": 366, "column": 14 } } @@ -84846,15 +86697,15 @@ "binop": null }, "value": "iszero", - "start": 7738, - "end": 7744, + "start": 7911, + "end": 7917, "loc": { "start": { - "line": 357, + "line": 366, "column": 14 }, "end": { - "line": 357, + "line": 366, "column": 20 } } @@ -84871,15 +86722,15 @@ "postfix": false, "binop": null }, - "start": 7744, - "end": 7745, + "start": 7917, + "end": 7918, "loc": { "start": { - "line": 357, + "line": 366, "column": 20 }, "end": { - "line": 357, + "line": 366, "column": 21 } } @@ -84896,15 +86747,15 @@ "postfix": false, "binop": null }, - "start": 7745, - "end": 7746, + "start": 7918, + "end": 7919, "loc": { "start": { - "line": 357, + "line": 366, "column": 21 }, "end": { - "line": 357, + "line": 366, "column": 22 } } @@ -84922,15 +86773,15 @@ "binop": null, "updateContext": null }, - "start": 7747, - "end": 7748, + "start": 7920, + "end": 7921, "loc": { "start": { - "line": 357, + "line": 366, "column": 23 }, "end": { - "line": 357, + "line": 366, "column": 24 } } @@ -84949,15 +86800,15 @@ "updateContext": null }, "value": 0, - "start": 7749, - "end": 7750, + "start": 7922, + "end": 7923, "loc": { "start": { - "line": 357, + "line": 366, "column": 25 }, "end": { - "line": 357, + "line": 366, "column": 26 } } @@ -84975,15 +86826,15 @@ "binop": null, "updateContext": null }, - "start": 7751, - "end": 7752, + "start": 7924, + "end": 7925, "loc": { "start": { - "line": 357, + "line": 366, "column": 27 }, "end": { - "line": 357, + "line": 366, "column": 28 } } @@ -85003,15 +86854,15 @@ "updateContext": null }, "value": "this", - "start": 7753, - "end": 7757, + "start": 7926, + "end": 7930, "loc": { "start": { - "line": 357, + "line": 366, "column": 29 }, "end": { - "line": 357, + "line": 366, "column": 33 } } @@ -85029,15 +86880,15 @@ "binop": null, "updateContext": null }, - "start": 7757, - "end": 7758, + "start": 7930, + "end": 7931, "loc": { "start": { - "line": 357, + "line": 366, "column": 33 }, "end": { - "line": 357, + "line": 366, "column": 34 } } @@ -85055,15 +86906,15 @@ "binop": null }, "value": "is_negative", - "start": 7758, - "end": 7769, + "start": 7931, + "end": 7942, "loc": { "start": { - "line": 357, + "line": 366, "column": 34 }, "end": { - "line": 357, + "line": 366, "column": 45 } } @@ -85081,15 +86932,15 @@ "binop": null, "updateContext": null }, - "start": 7770, - "end": 7771, + "start": 7943, + "end": 7944, "loc": { "start": { - "line": 357, + "line": 366, "column": 46 }, "end": { - "line": 357, + "line": 366, "column": 47 } } @@ -85108,15 +86959,15 @@ "updateContext": null }, "value": "-", - "start": 7772, - "end": 7773, + "start": 7945, + "end": 7946, "loc": { "start": { - "line": 357, + "line": 366, "column": 48 }, "end": { - "line": 357, + "line": 366, "column": 49 } } @@ -85135,15 +86986,15 @@ "updateContext": null }, "value": 1, - "start": 7773, - "end": 7774, + "start": 7946, + "end": 7947, "loc": { "start": { - "line": 357, + "line": 366, "column": 49 }, "end": { - "line": 357, + "line": 366, "column": 50 } } @@ -85161,15 +87012,15 @@ "binop": null, "updateContext": null }, - "start": 7775, - "end": 7776, + "start": 7948, + "end": 7949, "loc": { "start": { - "line": 357, + "line": 366, "column": 51 }, "end": { - "line": 357, + "line": 366, "column": 52 } } @@ -85188,15 +87039,15 @@ "updateContext": null }, "value": 1, - "start": 7777, - "end": 7778, + "start": 7950, + "end": 7951, "loc": { "start": { - "line": 357, + "line": 366, "column": 53 }, "end": { - "line": 357, + "line": 366, "column": 54 } } @@ -85214,15 +87065,15 @@ "binop": null, "updateContext": null }, - "start": 7779, - "end": 7780, + "start": 7952, + "end": 7953, "loc": { "start": { - "line": 357, + "line": 366, "column": 55 }, "end": { - "line": 357, + "line": 366, "column": 56 } } @@ -85239,15 +87090,15 @@ "postfix": false, "binop": null }, - "start": 7782, - "end": 7783, + "start": 7955, + "end": 7956, "loc": { "start": { - "line": 358, + "line": 367, "column": 1 }, "end": { - "line": 358, + "line": 367, "column": 2 } } @@ -85265,15 +87116,15 @@ "binop": null }, "value": "iszero", - "start": 7786, - "end": 7792, + "start": 7959, + "end": 7965, "loc": { "start": { - "line": 360, + "line": 369, "column": 1 }, "end": { - "line": 360, + "line": 369, "column": 7 } } @@ -85290,15 +87141,15 @@ "postfix": false, "binop": null }, - "start": 7793, - "end": 7794, + "start": 7966, + "end": 7967, "loc": { "start": { - "line": 360, + "line": 369, "column": 8 }, "end": { - "line": 360, + "line": 369, "column": 9 } } @@ -85315,15 +87166,15 @@ "postfix": false, "binop": null }, - "start": 7795, - "end": 7796, + "start": 7968, + "end": 7969, "loc": { "start": { - "line": 360, + "line": 369, "column": 10 }, "end": { - "line": 360, + "line": 369, "column": 11 } } @@ -85340,15 +87191,15 @@ "postfix": false, "binop": null }, - "start": 7797, - "end": 7798, + "start": 7970, + "end": 7971, "loc": { "start": { - "line": 360, + "line": 369, "column": 12 }, "end": { - "line": 360, + "line": 369, "column": 13 } } @@ -85368,15 +87219,15 @@ "updateContext": null }, "value": "return", - "start": 7801, - "end": 7807, + "start": 7974, + "end": 7980, "loc": { "start": { - "line": 361, + "line": 370, "column": 2 }, "end": { - "line": 361, + "line": 370, "column": 8 } } @@ -85394,15 +87245,15 @@ "binop": null }, "value": "jz", - "start": 7808, - "end": 7810, + "start": 7981, + "end": 7983, "loc": { "start": { - "line": 361, + "line": 370, "column": 9 }, "end": { - "line": 361, + "line": 370, "column": 11 } } @@ -85419,15 +87270,15 @@ "postfix": false, "binop": null }, - "start": 7810, - "end": 7811, + "start": 7983, + "end": 7984, "loc": { "start": { - "line": 361, + "line": 370, "column": 11 }, "end": { - "line": 361, + "line": 370, "column": 12 } } @@ -85447,15 +87298,15 @@ "updateContext": null }, "value": "this", - "start": 7812, - "end": 7816, + "start": 7985, + "end": 7989, "loc": { "start": { - "line": 361, + "line": 370, "column": 13 }, "end": { - "line": 361, + "line": 370, "column": 17 } } @@ -85473,15 +87324,15 @@ "binop": null, "updateContext": null }, - "start": 7816, - "end": 7817, + "start": 7989, + "end": 7990, "loc": { "start": { - "line": 361, + "line": 370, "column": 17 }, "end": { - "line": 361, + "line": 370, "column": 18 } } @@ -85499,15 +87350,15 @@ "binop": null }, "value": "limbs", - "start": 7817, - "end": 7822, + "start": 7990, + "end": 7995, "loc": { "start": { - "line": 361, + "line": 370, "column": 18 }, "end": { - "line": 361, + "line": 370, "column": 23 } } @@ -85525,15 +87376,15 @@ "binop": null, "updateContext": null }, - "start": 7823, - "end": 7824, + "start": 7996, + "end": 7997, "loc": { "start": { - "line": 361, + "line": 370, "column": 24 }, "end": { - "line": 361, + "line": 370, "column": 25 } } @@ -85552,15 +87403,15 @@ "updateContext": null }, "value": 0, - "start": 7825, - "end": 7826, + "start": 7998, + "end": 7999, "loc": { "start": { - "line": 361, + "line": 370, "column": 26 }, "end": { - "line": 361, + "line": 370, "column": 27 } } @@ -85578,15 +87429,15 @@ "binop": null, "updateContext": null }, - "start": 7827, - "end": 7828, + "start": 8000, + "end": 8001, "loc": { "start": { - "line": 361, + "line": 370, "column": 28 }, "end": { - "line": 361, + "line": 370, "column": 29 } } @@ -85606,15 +87457,15 @@ "updateContext": null }, "value": "this", - "start": 7829, - "end": 7833, + "start": 8002, + "end": 8006, "loc": { "start": { - "line": 361, + "line": 370, "column": 30 }, "end": { - "line": 361, + "line": 370, "column": 34 } } @@ -85632,15 +87483,15 @@ "binop": null, "updateContext": null }, - "start": 7833, - "end": 7834, + "start": 8006, + "end": 8007, "loc": { "start": { - "line": 361, + "line": 370, "column": 34 }, "end": { - "line": 361, + "line": 370, "column": 35 } } @@ -85658,15 +87509,15 @@ "binop": null }, "value": "limbs", - "start": 7834, - "end": 7839, + "start": 8007, + "end": 8012, "loc": { "start": { - "line": 361, + "line": 370, "column": 35 }, "end": { - "line": 361, + "line": 370, "column": 40 } } @@ -85684,15 +87535,15 @@ "binop": null, "updateContext": null }, - "start": 7839, - "end": 7840, + "start": 8012, + "end": 8013, "loc": { "start": { - "line": 361, + "line": 370, "column": 40 }, "end": { - "line": 361, + "line": 370, "column": 41 } } @@ -85710,15 +87561,15 @@ "binop": null }, "value": "length", - "start": 7840, - "end": 7846, + "start": 8013, + "end": 8019, "loc": { "start": { - "line": 361, + "line": 370, "column": 41 }, "end": { - "line": 361, + "line": 370, "column": 47 } } @@ -85735,15 +87586,15 @@ "postfix": false, "binop": null }, - "start": 7847, - "end": 7848, + "start": 8020, + "end": 8021, "loc": { "start": { - "line": 361, + "line": 370, "column": 48 }, "end": { - "line": 361, + "line": 370, "column": 49 } } @@ -85761,15 +87612,15 @@ "binop": null, "updateContext": null }, - "start": 7849, - "end": 7850, + "start": 8022, + "end": 8023, "loc": { "start": { - "line": 361, + "line": 370, "column": 50 }, "end": { - "line": 361, + "line": 370, "column": 51 } } @@ -85786,15 +87637,15 @@ "postfix": false, "binop": null }, - "start": 7852, - "end": 7853, + "start": 8025, + "end": 8026, "loc": { "start": { - "line": 362, + "line": 371, "column": 1 }, "end": { - "line": 362, + "line": 371, "column": 2 } } @@ -85812,15 +87663,15 @@ "binop": null }, "value": "isone", - "start": 7856, - "end": 7861, + "start": 8029, + "end": 8034, "loc": { "start": { - "line": 364, + "line": 373, "column": 1 }, "end": { - "line": 364, + "line": 373, "column": 6 } } @@ -85837,15 +87688,15 @@ "postfix": false, "binop": null }, - "start": 7862, - "end": 7863, + "start": 8035, + "end": 8036, "loc": { "start": { - "line": 364, + "line": 373, "column": 7 }, "end": { - "line": 364, + "line": 373, "column": 8 } } @@ -85862,15 +87713,15 @@ "postfix": false, "binop": null }, - "start": 7864, - "end": 7865, + "start": 8037, + "end": 8038, "loc": { "start": { - "line": 364, + "line": 373, "column": 9 }, "end": { - "line": 364, + "line": 373, "column": 10 } } @@ -85887,15 +87738,15 @@ "postfix": false, "binop": null }, - "start": 7866, - "end": 7867, + "start": 8039, + "end": 8040, "loc": { "start": { - "line": 364, + "line": 373, "column": 11 }, "end": { - "line": 364, + "line": 373, "column": 12 } } @@ -85915,15 +87766,15 @@ "updateContext": null }, "value": "if", - "start": 7870, - "end": 7872, + "start": 8043, + "end": 8045, "loc": { "start": { - "line": 365, + "line": 374, "column": 2 }, "end": { - "line": 365, + "line": 374, "column": 4 } } @@ -85940,15 +87791,15 @@ "postfix": false, "binop": null }, - "start": 7873, - "end": 7874, + "start": 8046, + "end": 8047, "loc": { "start": { - "line": 365, + "line": 374, "column": 5 }, "end": { - "line": 365, + "line": 374, "column": 6 } } @@ -85968,15 +87819,15 @@ "updateContext": null }, "value": "this", - "start": 7875, - "end": 7879, + "start": 8048, + "end": 8052, "loc": { "start": { - "line": 365, + "line": 374, "column": 7 }, "end": { - "line": 365, + "line": 374, "column": 11 } } @@ -85994,15 +87845,15 @@ "binop": null, "updateContext": null }, - "start": 7879, - "end": 7880, + "start": 8052, + "end": 8053, "loc": { "start": { - "line": 365, + "line": 374, "column": 11 }, "end": { - "line": 365, + "line": 374, "column": 12 } } @@ -86020,15 +87871,15 @@ "binop": null }, "value": "is_negative", - "start": 7880, - "end": 7891, + "start": 8053, + "end": 8064, "loc": { "start": { - "line": 365, + "line": 374, "column": 12 }, "end": { - "line": 365, + "line": 374, "column": 23 } } @@ -86045,15 +87896,15 @@ "postfix": false, "binop": null }, - "start": 7892, - "end": 7893, + "start": 8065, + "end": 8066, "loc": { "start": { - "line": 365, + "line": 374, "column": 24 }, "end": { - "line": 365, + "line": 374, "column": 25 } } @@ -86073,15 +87924,15 @@ "updateContext": null }, "value": "return", - "start": 7894, - "end": 7900, + "start": 8067, + "end": 8073, "loc": { "start": { - "line": 365, + "line": 374, "column": 26 }, "end": { - "line": 365, + "line": 374, "column": 32 } } @@ -86101,15 +87952,15 @@ "updateContext": null }, "value": "false", - "start": 7901, - "end": 7906, + "start": 8074, + "end": 8079, "loc": { "start": { - "line": 365, + "line": 374, "column": 33 }, "end": { - "line": 365, + "line": 374, "column": 38 } } @@ -86127,15 +87978,15 @@ "binop": null, "updateContext": null }, - "start": 7907, - "end": 7908, + "start": 8080, + "end": 8081, "loc": { "start": { - "line": 365, + "line": 374, "column": 39 }, "end": { - "line": 365, + "line": 374, "column": 40 } } @@ -86155,15 +88006,15 @@ "updateContext": null }, "value": "return", - "start": 7911, - "end": 7917, + "start": 8084, + "end": 8090, "loc": { "start": { - "line": 366, + "line": 375, "column": 2 }, "end": { - "line": 366, + "line": 375, "column": 8 } } @@ -86181,15 +88032,15 @@ "binop": null }, "value": "eq", - "start": 7918, - "end": 7920, + "start": 8091, + "end": 8093, "loc": { "start": { - "line": 366, + "line": 375, "column": 9 }, "end": { - "line": 366, + "line": 375, "column": 11 } } @@ -86206,15 +88057,15 @@ "postfix": false, "binop": null }, - "start": 7920, - "end": 7921, + "start": 8093, + "end": 8094, "loc": { "start": { - "line": 366, + "line": 375, "column": 11 }, "end": { - "line": 366, + "line": 375, "column": 12 } } @@ -86234,15 +88085,15 @@ "updateContext": null }, "value": "this", - "start": 7922, - "end": 7926, + "start": 8095, + "end": 8099, "loc": { "start": { - "line": 366, + "line": 375, "column": 13 }, "end": { - "line": 366, + "line": 375, "column": 17 } } @@ -86260,15 +88111,15 @@ "binop": null, "updateContext": null }, - "start": 7926, - "end": 7927, + "start": 8099, + "end": 8100, "loc": { "start": { - "line": 366, + "line": 375, "column": 17 }, "end": { - "line": 366, + "line": 375, "column": 18 } } @@ -86286,15 +88137,15 @@ "binop": null }, "value": "limbs", - "start": 7927, - "end": 7932, + "start": 8100, + "end": 8105, "loc": { "start": { - "line": 366, + "line": 375, "column": 18 }, "end": { - "line": 366, + "line": 375, "column": 23 } } @@ -86312,15 +88163,15 @@ "binop": null, "updateContext": null }, - "start": 7933, - "end": 7934, + "start": 8106, + "end": 8107, "loc": { "start": { - "line": 366, + "line": 375, "column": 24 }, "end": { - "line": 366, + "line": 375, "column": 25 } } @@ -86339,15 +88190,15 @@ "updateContext": null }, "value": 0, - "start": 7935, - "end": 7936, + "start": 8108, + "end": 8109, "loc": { "start": { - "line": 366, + "line": 375, "column": 26 }, "end": { - "line": 366, + "line": 375, "column": 27 } } @@ -86365,15 +88216,15 @@ "binop": null, "updateContext": null }, - "start": 7937, - "end": 7938, + "start": 8110, + "end": 8111, "loc": { "start": { - "line": 366, + "line": 375, "column": 28 }, "end": { - "line": 366, + "line": 375, "column": 29 } } @@ -86393,15 +88244,15 @@ "updateContext": null }, "value": "this", - "start": 7939, - "end": 7943, + "start": 8112, + "end": 8116, "loc": { "start": { - "line": 366, + "line": 375, "column": 30 }, "end": { - "line": 366, + "line": 375, "column": 34 } } @@ -86419,15 +88270,15 @@ "binop": null, "updateContext": null }, - "start": 7943, - "end": 7944, + "start": 8116, + "end": 8117, "loc": { "start": { - "line": 366, + "line": 375, "column": 34 }, "end": { - "line": 366, + "line": 375, "column": 35 } } @@ -86445,15 +88296,15 @@ "binop": null }, "value": "limbs", - "start": 7944, - "end": 7949, + "start": 8117, + "end": 8122, "loc": { "start": { - "line": 366, + "line": 375, "column": 35 }, "end": { - "line": 366, + "line": 375, "column": 40 } } @@ -86471,15 +88322,15 @@ "binop": null, "updateContext": null }, - "start": 7949, - "end": 7950, + "start": 8122, + "end": 8123, "loc": { "start": { - "line": 366, + "line": 375, "column": 40 }, "end": { - "line": 366, + "line": 375, "column": 41 } } @@ -86497,15 +88348,15 @@ "binop": null }, "value": "length", - "start": 7950, - "end": 7956, + "start": 8123, + "end": 8129, "loc": { "start": { - "line": 366, + "line": 375, "column": 41 }, "end": { - "line": 366, + "line": 375, "column": 47 } } @@ -86523,15 +88374,15 @@ "binop": null, "updateContext": null }, - "start": 7957, - "end": 7958, + "start": 8130, + "end": 8131, "loc": { "start": { - "line": 366, + "line": 375, "column": 48 }, "end": { - "line": 366, + "line": 375, "column": 49 } } @@ -86549,15 +88400,15 @@ "binop": null, "updateContext": null }, - "start": 7959, - "end": 7960, + "start": 8132, + "end": 8133, "loc": { "start": { - "line": 366, + "line": 375, "column": 50 }, "end": { - "line": 366, + "line": 375, "column": 51 } } @@ -86576,15 +88427,15 @@ "updateContext": null }, "value": 1, - "start": 7961, - "end": 7962, + "start": 8134, + "end": 8135, "loc": { "start": { - "line": 366, + "line": 375, "column": 52 }, "end": { - "line": 366, + "line": 375, "column": 53 } } @@ -86602,15 +88453,15 @@ "binop": null, "updateContext": null }, - "start": 7963, - "end": 7964, + "start": 8136, + "end": 8137, "loc": { "start": { - "line": 366, + "line": 375, "column": 54 }, "end": { - "line": 366, + "line": 375, "column": 55 } } @@ -86628,15 +88479,15 @@ "binop": null, "updateContext": null }, - "start": 7965, - "end": 7966, + "start": 8138, + "end": 8139, "loc": { "start": { - "line": 366, + "line": 375, "column": 56 }, "end": { - "line": 366, + "line": 375, "column": 57 } } @@ -86655,15 +88506,15 @@ "updateContext": null }, "value": 0, - "start": 7967, - "end": 7968, + "start": 8140, + "end": 8141, "loc": { "start": { - "line": 366, + "line": 375, "column": 58 }, "end": { - "line": 366, + "line": 375, "column": 59 } } @@ -86681,15 +88532,15 @@ "binop": null, "updateContext": null }, - "start": 7969, - "end": 7970, + "start": 8142, + "end": 8143, "loc": { "start": { - "line": 366, + "line": 375, "column": 60 }, "end": { - "line": 366, + "line": 375, "column": 61 } } @@ -86708,15 +88559,15 @@ "updateContext": null }, "value": 1, - "start": 7971, - "end": 7972, + "start": 8144, + "end": 8145, "loc": { "start": { - "line": 366, + "line": 375, "column": 62 }, "end": { - "line": 366, + "line": 375, "column": 63 } } @@ -86733,15 +88584,15 @@ "postfix": false, "binop": null }, - "start": 7973, - "end": 7974, + "start": 8146, + "end": 8147, "loc": { "start": { - "line": 366, + "line": 375, "column": 64 }, "end": { - "line": 366, + "line": 375, "column": 65 } } @@ -86759,15 +88610,15 @@ "binop": null, "updateContext": null }, - "start": 7975, - "end": 7976, + "start": 8148, + "end": 8149, "loc": { "start": { - "line": 366, + "line": 375, "column": 66 }, "end": { - "line": 366, + "line": 375, "column": 67 } } @@ -86784,15 +88635,15 @@ "postfix": false, "binop": null }, - "start": 7978, - "end": 7979, + "start": 8151, + "end": 8152, "loc": { "start": { - "line": 367, + "line": 376, "column": 1 }, "end": { - "line": 367, + "line": 376, "column": 2 } } @@ -86810,15 +88661,15 @@ "binop": null }, "value": "isnonzero", - "start": 7982, - "end": 7991, + "start": 8155, + "end": 8164, "loc": { "start": { - "line": 369, + "line": 378, "column": 1 }, "end": { - "line": 369, + "line": 378, "column": 10 } } @@ -86835,15 +88686,15 @@ "postfix": false, "binop": null }, - "start": 7992, - "end": 7993, + "start": 8165, + "end": 8166, "loc": { "start": { - "line": 369, + "line": 378, "column": 11 }, "end": { - "line": 369, + "line": 378, "column": 12 } } @@ -86860,15 +88711,15 @@ "postfix": false, "binop": null }, - "start": 7994, - "end": 7995, + "start": 8167, + "end": 8168, "loc": { "start": { - "line": 369, + "line": 378, "column": 13 }, "end": { - "line": 369, + "line": 378, "column": 14 } } @@ -86885,15 +88736,15 @@ "postfix": false, "binop": null }, - "start": 7996, - "end": 7997, + "start": 8169, + "end": 8170, "loc": { "start": { - "line": 369, + "line": 378, "column": 15 }, "end": { - "line": 369, + "line": 378, "column": 16 } } @@ -86913,15 +88764,15 @@ "updateContext": null }, "value": "return", - "start": 8000, - "end": 8006, + "start": 8173, + "end": 8179, "loc": { "start": { - "line": 370, + "line": 379, "column": 2 }, "end": { - "line": 370, + "line": 379, "column": 8 } } @@ -86940,15 +88791,15 @@ "updateContext": null }, "value": "!", - "start": 8007, - "end": 8008, + "start": 8180, + "end": 8181, "loc": { "start": { - "line": 370, + "line": 379, "column": 9 }, "end": { - "line": 370, + "line": 379, "column": 10 } } @@ -86968,15 +88819,15 @@ "updateContext": null }, "value": "this", - "start": 8008, - "end": 8012, + "start": 8181, + "end": 8185, "loc": { "start": { - "line": 370, + "line": 379, "column": 10 }, "end": { - "line": 370, + "line": 379, "column": 14 } } @@ -86994,15 +88845,15 @@ "binop": null, "updateContext": null }, - "start": 8012, - "end": 8013, + "start": 8185, + "end": 8186, "loc": { "start": { - "line": 370, + "line": 379, "column": 14 }, "end": { - "line": 370, + "line": 379, "column": 15 } } @@ -87020,15 +88871,15 @@ "binop": null }, "value": "iszero", - "start": 8013, - "end": 8019, + "start": 8186, + "end": 8192, "loc": { "start": { - "line": 370, + "line": 379, "column": 15 }, "end": { - "line": 370, + "line": 379, "column": 21 } } @@ -87045,15 +88896,15 @@ "postfix": false, "binop": null }, - "start": 8019, - "end": 8020, + "start": 8192, + "end": 8193, "loc": { "start": { - "line": 370, + "line": 379, "column": 21 }, "end": { - "line": 370, + "line": 379, "column": 22 } } @@ -87070,15 +88921,15 @@ "postfix": false, "binop": null }, - "start": 8020, - "end": 8021, + "start": 8193, + "end": 8194, "loc": { "start": { - "line": 370, + "line": 379, "column": 22 }, "end": { - "line": 370, + "line": 379, "column": 23 } } @@ -87096,15 +88947,15 @@ "binop": null, "updateContext": null }, - "start": 8021, - "end": 8022, + "start": 8194, + "end": 8195, "loc": { "start": { - "line": 370, + "line": 379, "column": 23 }, "end": { - "line": 370, + "line": 379, "column": 24 } } @@ -87121,15 +88972,15 @@ "postfix": false, "binop": null }, - "start": 8024, - "end": 8025, + "start": 8197, + "end": 8198, "loc": { "start": { - "line": 371, + "line": 380, "column": 1 }, "end": { - "line": 371, + "line": 380, "column": 2 } } @@ -87147,15 +88998,15 @@ "binop": null }, "value": "isnegative", - "start": 8028, - "end": 8038, + "start": 8201, + "end": 8211, "loc": { "start": { - "line": 373, + "line": 382, "column": 1 }, "end": { - "line": 373, + "line": 382, "column": 11 } } @@ -87172,15 +89023,15 @@ "postfix": false, "binop": null }, - "start": 8039, - "end": 8040, + "start": 8212, + "end": 8213, "loc": { "start": { - "line": 373, + "line": 382, "column": 12 }, "end": { - "line": 373, + "line": 382, "column": 13 } } @@ -87197,15 +89048,15 @@ "postfix": false, "binop": null }, - "start": 8041, - "end": 8042, + "start": 8214, + "end": 8215, "loc": { "start": { - "line": 373, + "line": 382, "column": 14 }, "end": { - "line": 373, + "line": 382, "column": 15 } } @@ -87222,15 +89073,15 @@ "postfix": false, "binop": null }, - "start": 8043, - "end": 8044, + "start": 8216, + "end": 8217, "loc": { "start": { - "line": 373, + "line": 382, "column": 16 }, "end": { - "line": 373, + "line": 382, "column": 17 } } @@ -87250,15 +89101,15 @@ "updateContext": null }, "value": "return", - "start": 8047, - "end": 8053, + "start": 8220, + "end": 8226, "loc": { "start": { - "line": 374, + "line": 383, "column": 2 }, "end": { - "line": 374, + "line": 383, "column": 8 } } @@ -87278,15 +89129,15 @@ "updateContext": null }, "value": "this", - "start": 8054, - "end": 8058, + "start": 8227, + "end": 8231, "loc": { "start": { - "line": 374, + "line": 383, "column": 9 }, "end": { - "line": 374, + "line": 383, "column": 13 } } @@ -87304,15 +89155,15 @@ "binop": null, "updateContext": null }, - "start": 8058, - "end": 8059, + "start": 8231, + "end": 8232, "loc": { "start": { - "line": 374, + "line": 383, "column": 13 }, "end": { - "line": 374, + "line": 383, "column": 14 } } @@ -87330,15 +89181,15 @@ "binop": null }, "value": "is_negative", - "start": 8059, - "end": 8070, + "start": 8232, + "end": 8243, "loc": { "start": { - "line": 374, + "line": 383, "column": 14 }, "end": { - "line": 374, + "line": 383, "column": 25 } } @@ -87357,15 +89208,15 @@ "updateContext": null }, "value": "===", - "start": 8071, - "end": 8074, + "start": 8244, + "end": 8247, "loc": { "start": { - "line": 374, + "line": 383, "column": 26 }, "end": { - "line": 374, + "line": 383, "column": 29 } } @@ -87384,15 +89235,15 @@ "updateContext": null }, "value": "-", - "start": 8075, - "end": 8076, + "start": 8248, + "end": 8249, "loc": { "start": { - "line": 374, + "line": 383, "column": 30 }, "end": { - "line": 374, + "line": 383, "column": 31 } } @@ -87411,15 +89262,15 @@ "updateContext": null }, "value": 1, - "start": 8076, - "end": 8077, + "start": 8249, + "end": 8250, "loc": { "start": { - "line": 374, + "line": 383, "column": 31 }, "end": { - "line": 374, + "line": 383, "column": 32 } } @@ -87437,15 +89288,15 @@ "binop": null, "updateContext": null }, - "start": 8078, - "end": 8079, + "start": 8251, + "end": 8252, "loc": { "start": { - "line": 374, + "line": 383, "column": 33 }, "end": { - "line": 374, + "line": 383, "column": 34 } } @@ -87465,15 +89316,15 @@ "updateContext": null }, "value": "true", - "start": 8080, - "end": 8084, + "start": 8253, + "end": 8257, "loc": { "start": { - "line": 374, + "line": 383, "column": 35 }, "end": { - "line": 374, + "line": 383, "column": 39 } } @@ -87491,15 +89342,15 @@ "binop": null, "updateContext": null }, - "start": 8085, - "end": 8086, + "start": 8258, + "end": 8259, "loc": { "start": { - "line": 374, + "line": 383, "column": 40 }, "end": { - "line": 374, + "line": 383, "column": 41 } } @@ -87519,15 +89370,15 @@ "updateContext": null }, "value": "false", - "start": 8087, - "end": 8092, + "start": 8260, + "end": 8265, "loc": { "start": { - "line": 374, + "line": 383, "column": 42 }, "end": { - "line": 374, + "line": 383, "column": 47 } } @@ -87545,15 +89396,15 @@ "binop": null, "updateContext": null }, - "start": 8093, - "end": 8094, + "start": 8266, + "end": 8267, "loc": { "start": { - "line": 374, + "line": 383, "column": 48 }, "end": { - "line": 374, + "line": 383, "column": 49 } } @@ -87570,15 +89421,15 @@ "postfix": false, "binop": null }, - "start": 8096, - "end": 8097, + "start": 8269, + "end": 8270, "loc": { "start": { - "line": 375, + "line": 384, "column": 1 }, "end": { - "line": 375, + "line": 384, "column": 2 } } @@ -87596,15 +89447,15 @@ "binop": null }, "value": "ispositive", - "start": 8100, - "end": 8110, + "start": 8273, + "end": 8283, "loc": { "start": { - "line": 377, + "line": 386, "column": 1 }, "end": { - "line": 377, + "line": 386, "column": 11 } } @@ -87621,15 +89472,15 @@ "postfix": false, "binop": null }, - "start": 8111, - "end": 8112, + "start": 8284, + "end": 8285, "loc": { "start": { - "line": 377, + "line": 386, "column": 12 }, "end": { - "line": 377, + "line": 386, "column": 13 } } @@ -87646,15 +89497,15 @@ "postfix": false, "binop": null }, - "start": 8113, - "end": 8114, + "start": 8286, + "end": 8287, "loc": { "start": { - "line": 377, + "line": 386, "column": 14 }, "end": { - "line": 377, + "line": 386, "column": 15 } } @@ -87671,15 +89522,15 @@ "postfix": false, "binop": null }, - "start": 8115, - "end": 8116, + "start": 8288, + "end": 8289, "loc": { "start": { - "line": 377, + "line": 386, "column": 16 }, "end": { - "line": 377, + "line": 386, "column": 17 } } @@ -87699,15 +89550,15 @@ "updateContext": null }, "value": "return", - "start": 8119, - "end": 8125, + "start": 8292, + "end": 8298, "loc": { "start": { - "line": 378, + "line": 387, "column": 2 }, "end": { - "line": 378, + "line": 387, "column": 8 } } @@ -87727,15 +89578,15 @@ "updateContext": null }, "value": "this", - "start": 8126, - "end": 8130, + "start": 8299, + "end": 8303, "loc": { "start": { - "line": 378, + "line": 387, "column": 9 }, "end": { - "line": 378, + "line": 387, "column": 13 } } @@ -87753,15 +89604,15 @@ "binop": null, "updateContext": null }, - "start": 8130, - "end": 8131, + "start": 8303, + "end": 8304, "loc": { "start": { - "line": 378, + "line": 387, "column": 13 }, "end": { - "line": 378, + "line": 387, "column": 14 } } @@ -87779,15 +89630,15 @@ "binop": null }, "value": "sign", - "start": 8131, - "end": 8135, + "start": 8304, + "end": 8308, "loc": { "start": { - "line": 378, + "line": 387, "column": 14 }, "end": { - "line": 378, + "line": 387, "column": 18 } } @@ -87804,15 +89655,15 @@ "postfix": false, "binop": null }, - "start": 8135, - "end": 8136, + "start": 8308, + "end": 8309, "loc": { "start": { - "line": 378, + "line": 387, "column": 18 }, "end": { - "line": 378, + "line": 387, "column": 19 } } @@ -87829,15 +89680,15 @@ "postfix": false, "binop": null }, - "start": 8136, - "end": 8137, + "start": 8309, + "end": 8310, "loc": { "start": { - "line": 378, + "line": 387, "column": 19 }, "end": { - "line": 378, + "line": 387, "column": 20 } } @@ -87856,15 +89707,15 @@ "updateContext": null }, "value": ">", - "start": 8138, - "end": 8139, + "start": 8311, + "end": 8312, "loc": { "start": { - "line": 378, + "line": 387, "column": 21 }, "end": { - "line": 378, + "line": 387, "column": 22 } } @@ -87883,15 +89734,15 @@ "updateContext": null }, "value": 0, - "start": 8140, - "end": 8141, + "start": 8313, + "end": 8314, "loc": { "start": { - "line": 378, + "line": 387, "column": 23 }, "end": { - "line": 378, + "line": 387, "column": 24 } } @@ -87909,15 +89760,15 @@ "binop": null, "updateContext": null }, - "start": 8142, - "end": 8143, + "start": 8315, + "end": 8316, "loc": { "start": { - "line": 378, + "line": 387, "column": 25 }, "end": { - "line": 378, + "line": 387, "column": 26 } } @@ -87934,15 +89785,15 @@ "postfix": false, "binop": null }, - "start": 8145, - "end": 8146, + "start": 8318, + "end": 8319, "loc": { "start": { - "line": 379, + "line": 388, "column": 1 }, "end": { - "line": 379, + "line": 388, "column": 2 } } @@ -87960,15 +89811,15 @@ "binop": null }, "value": "isnonnegative", - "start": 8149, - "end": 8162, + "start": 8322, + "end": 8335, "loc": { "start": { - "line": 381, + "line": 390, "column": 1 }, "end": { - "line": 381, + "line": 390, "column": 14 } } @@ -87985,15 +89836,15 @@ "postfix": false, "binop": null }, - "start": 8163, - "end": 8164, + "start": 8336, + "end": 8337, "loc": { "start": { - "line": 381, + "line": 390, "column": 15 }, "end": { - "line": 381, + "line": 390, "column": 16 } } @@ -88010,15 +89861,15 @@ "postfix": false, "binop": null }, - "start": 8165, - "end": 8166, + "start": 8338, + "end": 8339, "loc": { "start": { - "line": 381, + "line": 390, "column": 17 }, "end": { - "line": 381, + "line": 390, "column": 18 } } @@ -88035,15 +89886,15 @@ "postfix": false, "binop": null }, - "start": 8167, - "end": 8168, + "start": 8340, + "end": 8341, "loc": { "start": { - "line": 381, + "line": 390, "column": 19 }, "end": { - "line": 381, + "line": 390, "column": 20 } } @@ -88063,15 +89914,15 @@ "updateContext": null }, "value": "return", - "start": 8171, - "end": 8177, + "start": 8344, + "end": 8350, "loc": { "start": { - "line": 382, + "line": 391, "column": 2 }, "end": { - "line": 382, + "line": 391, "column": 8 } } @@ -88090,15 +89941,15 @@ "updateContext": null }, "value": "!", - "start": 8178, - "end": 8179, + "start": 8351, + "end": 8352, "loc": { "start": { - "line": 382, + "line": 391, "column": 9 }, "end": { - "line": 382, + "line": 391, "column": 10 } } @@ -88118,15 +89969,15 @@ "updateContext": null }, "value": "this", - "start": 8179, - "end": 8183, + "start": 8352, + "end": 8356, "loc": { "start": { - "line": 382, + "line": 391, "column": 10 }, "end": { - "line": 382, + "line": 391, "column": 14 } } @@ -88144,15 +89995,15 @@ "binop": null, "updateContext": null }, - "start": 8183, - "end": 8184, + "start": 8356, + "end": 8357, "loc": { "start": { - "line": 382, + "line": 391, "column": 14 }, "end": { - "line": 382, + "line": 391, "column": 15 } } @@ -88170,15 +90021,15 @@ "binop": null }, "value": "isnegative", - "start": 8184, - "end": 8194, + "start": 8357, + "end": 8367, "loc": { "start": { - "line": 382, + "line": 391, "column": 15 }, "end": { - "line": 382, + "line": 391, "column": 25 } } @@ -88195,15 +90046,15 @@ "postfix": false, "binop": null }, - "start": 8194, - "end": 8195, + "start": 8367, + "end": 8368, "loc": { "start": { - "line": 382, + "line": 391, "column": 25 }, "end": { - "line": 382, + "line": 391, "column": 26 } } @@ -88220,15 +90071,15 @@ "postfix": false, "binop": null }, - "start": 8195, - "end": 8196, + "start": 8368, + "end": 8369, "loc": { "start": { - "line": 382, + "line": 391, "column": 26 }, "end": { - "line": 382, + "line": 391, "column": 27 } } @@ -88246,15 +90097,15 @@ "binop": null, "updateContext": null }, - "start": 8196, - "end": 8197, + "start": 8369, + "end": 8370, "loc": { "start": { - "line": 382, + "line": 391, "column": 27 }, "end": { - "line": 382, + "line": 391, "column": 28 } } @@ -88271,15 +90122,15 @@ "postfix": false, "binop": null }, - "start": 8199, - "end": 8200, + "start": 8372, + "end": 8373, "loc": { "start": { - "line": 383, + "line": 392, "column": 1 }, "end": { - "line": 383, + "line": 392, "column": 2 } } @@ -88297,15 +90148,15 @@ "binop": null }, "value": "isnonpositive", - "start": 8203, - "end": 8216, + "start": 8376, + "end": 8389, "loc": { "start": { - "line": 385, + "line": 394, "column": 1 }, "end": { - "line": 385, + "line": 394, "column": 14 } } @@ -88322,15 +90173,15 @@ "postfix": false, "binop": null }, - "start": 8217, - "end": 8218, + "start": 8390, + "end": 8391, "loc": { "start": { - "line": 385, + "line": 394, "column": 15 }, "end": { - "line": 385, + "line": 394, "column": 16 } } @@ -88347,15 +90198,15 @@ "postfix": false, "binop": null }, - "start": 8219, - "end": 8220, + "start": 8392, + "end": 8393, "loc": { "start": { - "line": 385, + "line": 394, "column": 17 }, "end": { - "line": 385, + "line": 394, "column": 18 } } @@ -88372,15 +90223,15 @@ "postfix": false, "binop": null }, - "start": 8221, - "end": 8222, + "start": 8394, + "end": 8395, "loc": { "start": { - "line": 385, + "line": 394, "column": 19 }, "end": { - "line": 385, + "line": 394, "column": 20 } } @@ -88400,15 +90251,15 @@ "updateContext": null }, "value": "return", - "start": 8225, - "end": 8231, + "start": 8398, + "end": 8404, "loc": { "start": { - "line": 386, + "line": 395, "column": 2 }, "end": { - "line": 386, + "line": 395, "column": 8 } } @@ -88427,15 +90278,15 @@ "updateContext": null }, "value": "!", - "start": 8232, - "end": 8233, + "start": 8405, + "end": 8406, "loc": { "start": { - "line": 386, + "line": 395, "column": 9 }, "end": { - "line": 386, + "line": 395, "column": 10 } } @@ -88455,15 +90306,15 @@ "updateContext": null }, "value": "this", - "start": 8233, - "end": 8237, + "start": 8406, + "end": 8410, "loc": { "start": { - "line": 386, + "line": 395, "column": 10 }, "end": { - "line": 386, + "line": 395, "column": 14 } } @@ -88481,15 +90332,15 @@ "binop": null, "updateContext": null }, - "start": 8237, - "end": 8238, + "start": 8410, + "end": 8411, "loc": { "start": { - "line": 386, + "line": 395, "column": 14 }, "end": { - "line": 386, + "line": 395, "column": 15 } } @@ -88507,15 +90358,15 @@ "binop": null }, "value": "ispositive", - "start": 8238, - "end": 8248, + "start": 8411, + "end": 8421, "loc": { "start": { - "line": 386, + "line": 395, "column": 15 }, "end": { - "line": 386, + "line": 395, "column": 25 } } @@ -88532,15 +90383,15 @@ "postfix": false, "binop": null }, - "start": 8248, - "end": 8249, + "start": 8421, + "end": 8422, "loc": { "start": { - "line": 386, + "line": 395, "column": 25 }, "end": { - "line": 386, + "line": 395, "column": 26 } } @@ -88557,15 +90408,15 @@ "postfix": false, "binop": null }, - "start": 8249, - "end": 8250, + "start": 8422, + "end": 8423, "loc": { "start": { - "line": 386, + "line": 395, "column": 26 }, "end": { - "line": 386, + "line": 395, "column": 27 } } @@ -88583,15 +90434,15 @@ "binop": null, "updateContext": null }, - "start": 8251, - "end": 8252, + "start": 8424, + "end": 8425, "loc": { "start": { - "line": 386, + "line": 395, "column": 28 }, "end": { - "line": 386, + "line": 395, "column": 29 } } @@ -88608,15 +90459,15 @@ "postfix": false, "binop": null }, - "start": 8254, - "end": 8255, + "start": 8427, + "end": 8428, "loc": { "start": { - "line": 387, + "line": 396, "column": 1 }, "end": { - "line": 387, + "line": 396, "column": 2 } } @@ -88634,15 +90485,15 @@ "binop": null }, "value": "parity", - "start": 8258, - "end": 8264, + "start": 8431, + "end": 8437, "loc": { "start": { - "line": 389, + "line": 398, "column": 1 }, "end": { - "line": 389, + "line": 398, "column": 7 } } @@ -88659,15 +90510,15 @@ "postfix": false, "binop": null }, - "start": 8265, - "end": 8266, + "start": 8438, + "end": 8439, "loc": { "start": { - "line": 389, + "line": 398, "column": 8 }, "end": { - "line": 389, + "line": 398, "column": 9 } } @@ -88684,15 +90535,15 @@ "postfix": false, "binop": null }, - "start": 8267, - "end": 8268, + "start": 8440, + "end": 8441, "loc": { "start": { - "line": 389, + "line": 398, "column": 10 }, "end": { - "line": 389, + "line": 398, "column": 11 } } @@ -88709,15 +90560,15 @@ "postfix": false, "binop": null }, - "start": 8269, - "end": 8270, + "start": 8442, + "end": 8443, "loc": { "start": { - "line": 389, + "line": 398, "column": 12 }, "end": { - "line": 389, + "line": 398, "column": 13 } } @@ -88725,15 +90576,15 @@ { "type": "CommentLine", "value": " TODO optimize this, there is a much faster way to test for parity", - "start": 8273, - "end": 8341, + "start": 8446, + "end": 8514, "loc": { "start": { - "line": 390, + "line": 399, "column": 2 }, "end": { - "line": 390, + "line": 399, "column": 70 } } @@ -88741,15 +90592,15 @@ { "type": "CommentLine", "value": " when the base is a multiple of two", - "start": 8344, - "end": 8381, + "start": 8517, + "end": 8554, "loc": { "start": { - "line": 391, + "line": 400, "column": 2 }, "end": { - "line": 391, + "line": 400, "column": 39 } } @@ -88769,15 +90620,15 @@ "updateContext": null }, "value": "return", - "start": 8384, - "end": 8390, + "start": 8557, + "end": 8563, "loc": { "start": { - "line": 392, + "line": 401, "column": 2 }, "end": { - "line": 392, + "line": 401, "column": 8 } } @@ -88797,15 +90648,15 @@ "updateContext": null }, "value": "this", - "start": 8391, - "end": 8395, + "start": 8564, + "end": 8568, "loc": { "start": { - "line": 392, + "line": 401, "column": 9 }, "end": { - "line": 392, + "line": 401, "column": 13 } } @@ -88823,15 +90674,15 @@ "binop": null, "updateContext": null }, - "start": 8395, - "end": 8396, + "start": 8568, + "end": 8569, "loc": { "start": { - "line": 392, + "line": 401, "column": 13 }, "end": { - "line": 392, + "line": 401, "column": 14 } } @@ -88849,15 +90700,15 @@ "binop": null }, "value": "modn", - "start": 8396, - "end": 8400, + "start": 8569, + "end": 8573, "loc": { "start": { - "line": 392, + "line": 401, "column": 14 }, "end": { - "line": 392, + "line": 401, "column": 18 } } @@ -88874,15 +90725,15 @@ "postfix": false, "binop": null }, - "start": 8400, - "end": 8401, + "start": 8573, + "end": 8574, "loc": { "start": { - "line": 392, + "line": 401, "column": 18 }, "end": { - "line": 392, + "line": 401, "column": 19 } } @@ -88901,15 +90752,15 @@ "updateContext": null }, "value": 2, - "start": 8401, - "end": 8402, + "start": 8574, + "end": 8575, "loc": { "start": { - "line": 392, + "line": 401, "column": 19 }, "end": { - "line": 392, + "line": 401, "column": 20 } } @@ -88926,15 +90777,15 @@ "postfix": false, "binop": null }, - "start": 8402, - "end": 8403, + "start": 8575, + "end": 8576, "loc": { "start": { - "line": 392, + "line": 401, "column": 20 }, "end": { - "line": 392, + "line": 401, "column": 21 } } @@ -88952,15 +90803,15 @@ "binop": null, "updateContext": null }, - "start": 8404, - "end": 8405, + "start": 8577, + "end": 8578, "loc": { "start": { - "line": 392, + "line": 401, "column": 22 }, "end": { - "line": 392, + "line": 401, "column": 23 } } @@ -88977,15 +90828,15 @@ "postfix": false, "binop": null }, - "start": 8407, - "end": 8408, + "start": 8580, + "end": 8581, "loc": { "start": { - "line": 393, + "line": 402, "column": 1 }, "end": { - "line": 393, + "line": 402, "column": 2 } } @@ -89003,15 +90854,15 @@ "binop": null }, "value": "iseven", - "start": 8411, - "end": 8417, + "start": 8584, + "end": 8590, "loc": { "start": { - "line": 395, + "line": 404, "column": 1 }, "end": { - "line": 395, + "line": 404, "column": 7 } } @@ -89028,15 +90879,15 @@ "postfix": false, "binop": null }, - "start": 8418, - "end": 8419, + "start": 8591, + "end": 8592, "loc": { "start": { - "line": 395, + "line": 404, "column": 8 }, "end": { - "line": 395, + "line": 404, "column": 9 } } @@ -89053,15 +90904,15 @@ "postfix": false, "binop": null }, - "start": 8420, - "end": 8421, + "start": 8593, + "end": 8594, "loc": { "start": { - "line": 395, + "line": 404, "column": 10 }, "end": { - "line": 395, + "line": 404, "column": 11 } } @@ -89078,15 +90929,15 @@ "postfix": false, "binop": null }, - "start": 8422, - "end": 8423, + "start": 8595, + "end": 8596, "loc": { "start": { - "line": 395, + "line": 404, "column": 12 }, "end": { - "line": 395, + "line": 404, "column": 13 } } @@ -89106,15 +90957,15 @@ "updateContext": null }, "value": "return", - "start": 8426, - "end": 8432, + "start": 8599, + "end": 8605, "loc": { "start": { - "line": 396, + "line": 405, "column": 2 }, "end": { - "line": 396, + "line": 405, "column": 8 } } @@ -89134,15 +90985,15 @@ "updateContext": null }, "value": "this", - "start": 8433, - "end": 8437, + "start": 8606, + "end": 8610, "loc": { "start": { - "line": 396, + "line": 405, "column": 9 }, "end": { - "line": 396, + "line": 405, "column": 13 } } @@ -89160,15 +91011,15 @@ "binop": null, "updateContext": null }, - "start": 8437, - "end": 8438, + "start": 8610, + "end": 8611, "loc": { "start": { - "line": 396, + "line": 405, "column": 13 }, "end": { - "line": 396, + "line": 405, "column": 14 } } @@ -89186,15 +91037,15 @@ "binop": null }, "value": "parity", - "start": 8438, - "end": 8444, + "start": 8611, + "end": 8617, "loc": { "start": { - "line": 396, + "line": 405, "column": 14 }, "end": { - "line": 396, + "line": 405, "column": 20 } } @@ -89211,15 +91062,15 @@ "postfix": false, "binop": null }, - "start": 8444, - "end": 8445, + "start": 8617, + "end": 8618, "loc": { "start": { - "line": 396, + "line": 405, "column": 20 }, "end": { - "line": 396, + "line": 405, "column": 21 } } @@ -89236,15 +91087,15 @@ "postfix": false, "binop": null }, - "start": 8445, - "end": 8446, + "start": 8618, + "end": 8619, "loc": { "start": { - "line": 396, + "line": 405, "column": 21 }, "end": { - "line": 396, + "line": 405, "column": 22 } } @@ -89262,15 +91113,15 @@ "binop": null, "updateContext": null }, - "start": 8446, - "end": 8447, + "start": 8619, + "end": 8620, "loc": { "start": { - "line": 396, + "line": 405, "column": 22 }, "end": { - "line": 396, + "line": 405, "column": 23 } } @@ -89288,15 +91139,15 @@ "binop": null }, "value": "iszero", - "start": 8447, - "end": 8453, + "start": 8620, + "end": 8626, "loc": { "start": { - "line": 396, + "line": 405, "column": 23 }, "end": { - "line": 396, + "line": 405, "column": 29 } } @@ -89313,15 +91164,15 @@ "postfix": false, "binop": null }, - "start": 8453, - "end": 8454, + "start": 8626, + "end": 8627, "loc": { "start": { - "line": 396, + "line": 405, "column": 29 }, "end": { - "line": 396, + "line": 405, "column": 30 } } @@ -89338,15 +91189,15 @@ "postfix": false, "binop": null }, - "start": 8454, - "end": 8455, + "start": 8627, + "end": 8628, "loc": { "start": { - "line": 396, + "line": 405, "column": 30 }, "end": { - "line": 396, + "line": 405, "column": 31 } } @@ -89364,15 +91215,15 @@ "binop": null, "updateContext": null }, - "start": 8456, - "end": 8457, + "start": 8629, + "end": 8630, "loc": { "start": { - "line": 396, + "line": 405, "column": 32 }, "end": { - "line": 396, + "line": 405, "column": 33 } } @@ -89389,15 +91240,15 @@ "postfix": false, "binop": null }, - "start": 8459, - "end": 8460, + "start": 8632, + "end": 8633, "loc": { "start": { - "line": 397, + "line": 406, "column": 1 }, "end": { - "line": 397, + "line": 406, "column": 2 } } @@ -89415,15 +91266,15 @@ "binop": null }, "value": "isodd", - "start": 8463, - "end": 8468, + "start": 8636, + "end": 8641, "loc": { "start": { - "line": 399, + "line": 408, "column": 1 }, "end": { - "line": 399, + "line": 408, "column": 6 } } @@ -89440,15 +91291,15 @@ "postfix": false, "binop": null }, - "start": 8469, - "end": 8470, + "start": 8642, + "end": 8643, "loc": { "start": { - "line": 399, + "line": 408, "column": 7 }, "end": { - "line": 399, + "line": 408, "column": 8 } } @@ -89465,15 +91316,15 @@ "postfix": false, "binop": null }, - "start": 8471, - "end": 8472, + "start": 8644, + "end": 8645, "loc": { "start": { - "line": 399, + "line": 408, "column": 9 }, "end": { - "line": 399, + "line": 408, "column": 10 } } @@ -89490,15 +91341,15 @@ "postfix": false, "binop": null }, - "start": 8473, - "end": 8474, + "start": 8646, + "end": 8647, "loc": { "start": { - "line": 399, + "line": 408, "column": 11 }, "end": { - "line": 399, + "line": 408, "column": 12 } } @@ -89518,15 +91369,15 @@ "updateContext": null }, "value": "return", - "start": 8477, - "end": 8483, + "start": 8650, + "end": 8656, "loc": { "start": { - "line": 400, + "line": 409, "column": 2 }, "end": { - "line": 400, + "line": 409, "column": 8 } } @@ -89545,15 +91396,15 @@ "updateContext": null }, "value": "!", - "start": 8484, - "end": 8485, + "start": 8657, + "end": 8658, "loc": { "start": { - "line": 400, + "line": 409, "column": 9 }, "end": { - "line": 400, + "line": 409, "column": 10 } } @@ -89573,15 +91424,15 @@ "updateContext": null }, "value": "this", - "start": 8485, - "end": 8489, + "start": 8658, + "end": 8662, "loc": { "start": { - "line": 400, + "line": 409, "column": 10 }, "end": { - "line": 400, + "line": 409, "column": 14 } } @@ -89599,15 +91450,15 @@ "binop": null, "updateContext": null }, - "start": 8489, - "end": 8490, + "start": 8662, + "end": 8663, "loc": { "start": { - "line": 400, + "line": 409, "column": 14 }, "end": { - "line": 400, + "line": 409, "column": 15 } } @@ -89625,15 +91476,15 @@ "binop": null }, "value": "iseven", - "start": 8490, - "end": 8496, + "start": 8663, + "end": 8669, "loc": { "start": { - "line": 400, + "line": 409, "column": 15 }, "end": { - "line": 400, + "line": 409, "column": 21 } } @@ -89650,15 +91501,15 @@ "postfix": false, "binop": null }, - "start": 8496, - "end": 8497, + "start": 8669, + "end": 8670, "loc": { "start": { - "line": 400, + "line": 409, "column": 21 }, "end": { - "line": 400, + "line": 409, "column": 22 } } @@ -89675,15 +91526,15 @@ "postfix": false, "binop": null }, - "start": 8497, - "end": 8498, + "start": 8670, + "end": 8671, "loc": { "start": { - "line": 400, + "line": 409, "column": 22 }, "end": { - "line": 400, + "line": 409, "column": 23 } } @@ -89701,15 +91552,15 @@ "binop": null, "updateContext": null }, - "start": 8499, - "end": 8500, + "start": 8672, + "end": 8673, "loc": { "start": { - "line": 400, + "line": 409, "column": 24 }, "end": { - "line": 400, + "line": 409, "column": 25 } } @@ -89726,15 +91577,15 @@ "postfix": false, "binop": null }, - "start": 8502, - "end": 8503, + "start": 8675, + "end": 8676, "loc": { "start": { - "line": 401, + "line": 410, "column": 1 }, "end": { - "line": 401, + "line": 410, "column": 2 } } @@ -89752,15 +91603,15 @@ "binop": null }, "value": "bin", - "start": 8506, - "end": 8509, + "start": 8679, + "end": 8682, "loc": { "start": { - "line": 403, + "line": 412, "column": 1 }, "end": { - "line": 403, + "line": 412, "column": 4 } } @@ -89777,15 +91628,15 @@ "postfix": false, "binop": null }, - "start": 8510, - "end": 8511, + "start": 8683, + "end": 8684, "loc": { "start": { - "line": 403, + "line": 412, "column": 5 }, "end": { - "line": 403, + "line": 412, "column": 6 } } @@ -89802,15 +91653,15 @@ "postfix": false, "binop": null }, - "start": 8512, - "end": 8513, + "start": 8685, + "end": 8686, "loc": { "start": { - "line": 403, + "line": 412, "column": 7 }, "end": { - "line": 403, + "line": 412, "column": 8 } } @@ -89827,15 +91678,15 @@ "postfix": false, "binop": null }, - "start": 8514, - "end": 8515, + "start": 8687, + "end": 8688, "loc": { "start": { - "line": 403, + "line": 412, "column": 9 }, "end": { - "line": 403, + "line": 412, "column": 10 } } @@ -89855,15 +91706,15 @@ "updateContext": null }, "value": "return", - "start": 8518, - "end": 8524, + "start": 8691, + "end": 8697, "loc": { "start": { - "line": 404, + "line": 413, "column": 2 }, "end": { - "line": 404, + "line": 413, "column": 8 } } @@ -89883,15 +91734,15 @@ "updateContext": null }, "value": "this", - "start": 8525, - "end": 8529, + "start": 8698, + "end": 8702, "loc": { "start": { - "line": 404, + "line": 413, "column": 9 }, "end": { - "line": 404, + "line": 413, "column": 13 } } @@ -89909,15 +91760,15 @@ "binop": null, "updateContext": null }, - "start": 8529, - "end": 8530, + "start": 8702, + "end": 8703, "loc": { "start": { - "line": 404, + "line": 413, "column": 13 }, "end": { - "line": 404, + "line": 413, "column": 14 } } @@ -89935,15 +91786,15 @@ "binop": null }, "value": "toString", - "start": 8530, - "end": 8538, + "start": 8703, + "end": 8711, "loc": { "start": { - "line": 404, + "line": 413, "column": 14 }, "end": { - "line": 404, + "line": 413, "column": 22 } } @@ -89960,15 +91811,15 @@ "postfix": false, "binop": null }, - "start": 8538, - "end": 8539, + "start": 8711, + "end": 8712, "loc": { "start": { - "line": 404, + "line": 413, "column": 22 }, "end": { - "line": 404, + "line": 413, "column": 23 } } @@ -89987,15 +91838,15 @@ "updateContext": null }, "value": 2, - "start": 8540, - "end": 8541, + "start": 8713, + "end": 8714, "loc": { "start": { - "line": 404, + "line": 413, "column": 24 }, "end": { - "line": 404, + "line": 413, "column": 25 } } @@ -90012,15 +91863,15 @@ "postfix": false, "binop": null }, - "start": 8542, - "end": 8543, + "start": 8715, + "end": 8716, "loc": { "start": { - "line": 404, + "line": 413, "column": 26 }, "end": { - "line": 404, + "line": 413, "column": 27 } } @@ -90038,15 +91889,15 @@ "binop": null, "updateContext": null }, - "start": 8544, - "end": 8545, + "start": 8717, + "end": 8718, "loc": { "start": { - "line": 404, + "line": 413, "column": 28 }, "end": { - "line": 404, + "line": 413, "column": 29 } } @@ -90063,15 +91914,15 @@ "postfix": false, "binop": null }, - "start": 8547, - "end": 8548, + "start": 8720, + "end": 8721, "loc": { "start": { - "line": 405, + "line": 414, "column": 1 }, "end": { - "line": 405, + "line": 414, "column": 2 } } @@ -90089,15 +91940,15 @@ "binop": null }, "value": "oct", - "start": 8551, - "end": 8554, + "start": 8724, + "end": 8727, "loc": { "start": { - "line": 407, + "line": 416, "column": 1 }, "end": { - "line": 407, + "line": 416, "column": 4 } } @@ -90114,15 +91965,15 @@ "postfix": false, "binop": null }, - "start": 8555, - "end": 8556, + "start": 8728, + "end": 8729, "loc": { "start": { - "line": 407, + "line": 416, "column": 5 }, "end": { - "line": 407, + "line": 416, "column": 6 } } @@ -90139,15 +91990,15 @@ "postfix": false, "binop": null }, - "start": 8557, - "end": 8558, + "start": 8730, + "end": 8731, "loc": { "start": { - "line": 407, + "line": 416, "column": 7 }, "end": { - "line": 407, + "line": 416, "column": 8 } } @@ -90164,15 +92015,15 @@ "postfix": false, "binop": null }, - "start": 8559, - "end": 8560, + "start": 8732, + "end": 8733, "loc": { "start": { - "line": 407, + "line": 416, "column": 9 }, "end": { - "line": 407, + "line": 416, "column": 10 } } @@ -90192,15 +92043,15 @@ "updateContext": null }, "value": "return", - "start": 8563, - "end": 8569, + "start": 8736, + "end": 8742, "loc": { "start": { - "line": 408, + "line": 417, "column": 2 }, "end": { - "line": 408, + "line": 417, "column": 8 } } @@ -90220,15 +92071,15 @@ "updateContext": null }, "value": "this", - "start": 8570, - "end": 8574, + "start": 8743, + "end": 8747, "loc": { "start": { - "line": 408, + "line": 417, "column": 9 }, "end": { - "line": 408, + "line": 417, "column": 13 } } @@ -90246,15 +92097,15 @@ "binop": null, "updateContext": null }, - "start": 8574, - "end": 8575, + "start": 8747, + "end": 8748, "loc": { "start": { - "line": 408, + "line": 417, "column": 13 }, "end": { - "line": 408, + "line": 417, "column": 14 } } @@ -90272,15 +92123,15 @@ "binop": null }, "value": "toString", - "start": 8575, - "end": 8583, + "start": 8748, + "end": 8756, "loc": { "start": { - "line": 408, + "line": 417, "column": 14 }, "end": { - "line": 408, + "line": 417, "column": 22 } } @@ -90297,15 +92148,15 @@ "postfix": false, "binop": null }, - "start": 8583, - "end": 8584, + "start": 8756, + "end": 8757, "loc": { "start": { - "line": 408, + "line": 417, "column": 22 }, "end": { - "line": 408, + "line": 417, "column": 23 } } @@ -90324,15 +92175,15 @@ "updateContext": null }, "value": 8, - "start": 8585, - "end": 8586, + "start": 8758, + "end": 8759, "loc": { "start": { - "line": 408, + "line": 417, "column": 24 }, "end": { - "line": 408, + "line": 417, "column": 25 } } @@ -90349,15 +92200,15 @@ "postfix": false, "binop": null }, - "start": 8587, - "end": 8588, + "start": 8760, + "end": 8761, "loc": { "start": { - "line": 408, + "line": 417, "column": 26 }, "end": { - "line": 408, + "line": 417, "column": 27 } } @@ -90375,15 +92226,15 @@ "binop": null, "updateContext": null }, - "start": 8589, - "end": 8590, + "start": 8762, + "end": 8763, "loc": { "start": { - "line": 408, + "line": 417, "column": 28 }, "end": { - "line": 408, + "line": 417, "column": 29 } } @@ -90400,15 +92251,15 @@ "postfix": false, "binop": null }, - "start": 8592, - "end": 8593, + "start": 8765, + "end": 8766, "loc": { "start": { - "line": 409, + "line": 418, "column": 1 }, "end": { - "line": 409, + "line": 418, "column": 2 } } @@ -90426,15 +92277,15 @@ "binop": null }, "value": "hex", - "start": 8596, - "end": 8599, + "start": 8769, + "end": 8772, "loc": { "start": { - "line": 411, + "line": 420, "column": 1 }, "end": { - "line": 411, + "line": 420, "column": 4 } } @@ -90451,15 +92302,15 @@ "postfix": false, "binop": null }, - "start": 8600, - "end": 8601, + "start": 8773, + "end": 8774, "loc": { "start": { - "line": 411, + "line": 420, "column": 5 }, "end": { - "line": 411, + "line": 420, "column": 6 } } @@ -90476,15 +92327,15 @@ "postfix": false, "binop": null }, - "start": 8602, - "end": 8603, + "start": 8775, + "end": 8776, "loc": { "start": { - "line": 411, + "line": 420, "column": 7 }, "end": { - "line": 411, + "line": 420, "column": 8 } } @@ -90501,15 +92352,15 @@ "postfix": false, "binop": null }, - "start": 8604, - "end": 8605, + "start": 8777, + "end": 8778, "loc": { "start": { - "line": 411, + "line": 420, "column": 9 }, "end": { - "line": 411, + "line": 420, "column": 10 } } @@ -90529,15 +92380,15 @@ "updateContext": null }, "value": "return", - "start": 8608, - "end": 8614, + "start": 8781, + "end": 8787, "loc": { "start": { - "line": 412, + "line": 421, "column": 2 }, "end": { - "line": 412, + "line": 421, "column": 8 } } @@ -90557,15 +92408,15 @@ "updateContext": null }, "value": "this", - "start": 8615, - "end": 8619, + "start": 8788, + "end": 8792, "loc": { "start": { - "line": 412, + "line": 421, "column": 9 }, "end": { - "line": 412, + "line": 421, "column": 13 } } @@ -90583,15 +92434,15 @@ "binop": null, "updateContext": null }, - "start": 8619, - "end": 8620, + "start": 8792, + "end": 8793, "loc": { "start": { - "line": 412, + "line": 421, "column": 13 }, "end": { - "line": 412, + "line": 421, "column": 14 } } @@ -90609,15 +92460,15 @@ "binop": null }, "value": "toString", - "start": 8620, - "end": 8628, + "start": 8793, + "end": 8801, "loc": { "start": { - "line": 412, + "line": 421, "column": 14 }, "end": { - "line": 412, + "line": 421, "column": 22 } } @@ -90634,15 +92485,15 @@ "postfix": false, "binop": null }, - "start": 8628, - "end": 8629, + "start": 8801, + "end": 8802, "loc": { "start": { - "line": 412, + "line": 421, "column": 22 }, "end": { - "line": 412, + "line": 421, "column": 23 } } @@ -90661,15 +92512,15 @@ "updateContext": null }, "value": 16, - "start": 8630, - "end": 8632, + "start": 8803, + "end": 8805, "loc": { "start": { - "line": 412, + "line": 421, "column": 24 }, "end": { - "line": 412, + "line": 421, "column": 26 } } @@ -90686,15 +92537,15 @@ "postfix": false, "binop": null }, - "start": 8633, - "end": 8634, + "start": 8806, + "end": 8807, "loc": { "start": { - "line": 412, + "line": 421, "column": 27 }, "end": { - "line": 412, + "line": 421, "column": 28 } } @@ -90712,15 +92563,15 @@ "binop": null, "updateContext": null }, - "start": 8635, - "end": 8636, + "start": 8808, + "end": 8809, "loc": { "start": { - "line": 412, + "line": 421, "column": 29 }, "end": { - "line": 412, + "line": 421, "column": 30 } } @@ -90737,15 +92588,15 @@ "postfix": false, "binop": null }, - "start": 8638, - "end": 8639, + "start": 8811, + "end": 8812, "loc": { "start": { - "line": 413, + "line": 422, "column": 1 }, "end": { - "line": 413, + "line": 422, "column": 2 } } @@ -90763,15 +92614,15 @@ "binop": null }, "value": "toJSON", - "start": 8642, - "end": 8648, + "start": 8815, + "end": 8821, "loc": { "start": { - "line": 415, + "line": 424, "column": 1 }, "end": { - "line": 415, + "line": 424, "column": 7 } } @@ -90788,15 +92639,15 @@ "postfix": false, "binop": null }, - "start": 8649, - "end": 8650, + "start": 8822, + "end": 8823, "loc": { "start": { - "line": 415, + "line": 424, "column": 8 }, "end": { - "line": 415, + "line": 424, "column": 9 } } @@ -90813,15 +92664,15 @@ "postfix": false, "binop": null }, - "start": 8651, - "end": 8652, + "start": 8824, + "end": 8825, "loc": { "start": { - "line": 415, + "line": 424, "column": 10 }, "end": { - "line": 415, + "line": 424, "column": 11 } } @@ -90838,15 +92689,15 @@ "postfix": false, "binop": null }, - "start": 8653, - "end": 8654, + "start": 8826, + "end": 8827, "loc": { "start": { - "line": 415, + "line": 424, "column": 12 }, "end": { - "line": 415, + "line": 424, "column": 13 } } @@ -90866,15 +92717,15 @@ "updateContext": null }, "value": "return", - "start": 8657, - "end": 8663, + "start": 8830, + "end": 8836, "loc": { "start": { - "line": 416, + "line": 425, "column": 2 }, "end": { - "line": 416, + "line": 425, "column": 8 } } @@ -90894,15 +92745,15 @@ "updateContext": null }, "value": "this", - "start": 8664, - "end": 8668, + "start": 8837, + "end": 8841, "loc": { "start": { - "line": 416, + "line": 425, "column": 9 }, "end": { - "line": 416, + "line": 425, "column": 13 } } @@ -90920,15 +92771,15 @@ "binop": null, "updateContext": null }, - "start": 8668, - "end": 8669, + "start": 8841, + "end": 8842, "loc": { "start": { - "line": 416, + "line": 425, "column": 13 }, "end": { - "line": 416, + "line": 425, "column": 14 } } @@ -90946,15 +92797,15 @@ "binop": null }, "value": "hex", - "start": 8669, - "end": 8672, + "start": 8842, + "end": 8845, "loc": { "start": { - "line": 416, + "line": 425, "column": 14 }, "end": { - "line": 416, + "line": 425, "column": 17 } } @@ -90971,15 +92822,15 @@ "postfix": false, "binop": null }, - "start": 8672, - "end": 8673, + "start": 8845, + "end": 8846, "loc": { "start": { - "line": 416, + "line": 425, "column": 17 }, "end": { - "line": 416, + "line": 425, "column": 18 } } @@ -90996,15 +92847,15 @@ "postfix": false, "binop": null }, - "start": 8674, - "end": 8675, + "start": 8847, + "end": 8848, "loc": { "start": { - "line": 416, + "line": 425, "column": 19 }, "end": { - "line": 416, + "line": 425, "column": 20 } } @@ -91022,15 +92873,15 @@ "binop": null, "updateContext": null }, - "start": 8676, - "end": 8677, + "start": 8849, + "end": 8850, "loc": { "start": { - "line": 416, + "line": 425, "column": 21 }, "end": { - "line": 416, + "line": 425, "column": 22 } } @@ -91047,15 +92898,15 @@ "postfix": false, "binop": null }, - "start": 8679, - "end": 8680, + "start": 8852, + "end": 8853, "loc": { "start": { - "line": 417, + "line": 426, "column": 1 }, "end": { - "line": 417, + "line": 426, "column": 2 } } @@ -91073,15 +92924,15 @@ "binop": null }, "value": "digits", - "start": 8683, - "end": 8689, + "start": 8856, + "end": 8862, "loc": { "start": { - "line": 419, + "line": 428, "column": 1 }, "end": { - "line": 419, + "line": 428, "column": 7 } } @@ -91098,15 +92949,15 @@ "postfix": false, "binop": null }, - "start": 8690, - "end": 8691, + "start": 8863, + "end": 8864, "loc": { "start": { - "line": 419, + "line": 428, "column": 8 }, "end": { - "line": 419, + "line": 428, "column": 9 } } @@ -91124,15 +92975,15 @@ "binop": null }, "value": "base", - "start": 8692, - "end": 8696, + "start": 8865, + "end": 8869, "loc": { "start": { - "line": 419, + "line": 428, "column": 10 }, "end": { - "line": 419, + "line": 428, "column": 14 } } @@ -91151,15 +93002,15 @@ "updateContext": null }, "value": "=", - "start": 8697, - "end": 8698, + "start": 8870, + "end": 8871, "loc": { "start": { - "line": 419, + "line": 428, "column": 15 }, "end": { - "line": 419, + "line": 428, "column": 16 } } @@ -91177,15 +93028,15 @@ "binop": null }, "value": "DEFAULT_DISPLAY_BASE", - "start": 8699, - "end": 8719, + "start": 8872, + "end": 8892, "loc": { "start": { - "line": 419, + "line": 428, "column": 17 }, "end": { - "line": 419, + "line": 428, "column": 37 } } @@ -91202,15 +93053,15 @@ "postfix": false, "binop": null }, - "start": 8720, - "end": 8721, + "start": 8893, + "end": 8894, "loc": { "start": { - "line": 419, + "line": 428, "column": 38 }, "end": { - "line": 419, + "line": 428, "column": 39 } } @@ -91227,15 +93078,15 @@ "postfix": false, "binop": null }, - "start": 8722, - "end": 8723, + "start": 8895, + "end": 8896, "loc": { "start": { - "line": 419, + "line": 428, "column": 40 }, "end": { - "line": 419, + "line": 428, "column": 41 } } @@ -91243,15 +93094,15 @@ { "type": "CommentLine", "value": " TODO Once #to is implemented we can rewrite this as", - "start": 8726, - "end": 8780, + "start": 8899, + "end": 8953, "loc": { "start": { - "line": 420, + "line": 429, "column": 2 }, "end": { - "line": 420, + "line": 429, "column": 56 } } @@ -91259,15 +93110,15 @@ { "type": "CommentLine", "value": " return this.to(LITTLE_ENDIAN, base, Array) ;", - "start": 8783, - "end": 8830, + "start": 8956, + "end": 9003, "loc": { "start": { - "line": 421, + "line": 430, "column": 2 }, "end": { - "line": 421, + "line": 430, "column": 49 } } @@ -91287,15 +93138,15 @@ "updateContext": null }, "value": "return", - "start": 8833, - "end": 8839, + "start": 9006, + "end": 9012, "loc": { "start": { - "line": 422, + "line": 431, "column": 2 }, "end": { - "line": 422, + "line": 431, "column": 8 } } @@ -91313,15 +93164,15 @@ "binop": null }, "value": "convert", - "start": 8840, - "end": 8847, + "start": 9013, + "end": 9020, "loc": { "start": { - "line": 422, + "line": 431, "column": 9 }, "end": { - "line": 422, + "line": 431, "column": 16 } } @@ -91338,15 +93189,15 @@ "postfix": false, "binop": null }, - "start": 8847, - "end": 8848, + "start": 9020, + "end": 9021, "loc": { "start": { - "line": 422, + "line": 431, "column": 16 }, "end": { - "line": 422, + "line": 431, "column": 17 } } @@ -91366,15 +93217,15 @@ "updateContext": null }, "value": "this", - "start": 8849, - "end": 8853, + "start": 9022, + "end": 9026, "loc": { "start": { - "line": 422, + "line": 431, "column": 18 }, "end": { - "line": 422, + "line": 431, "column": 22 } } @@ -91392,15 +93243,15 @@ "binop": null, "updateContext": null }, - "start": 8853, - "end": 8854, + "start": 9026, + "end": 9027, "loc": { "start": { - "line": 422, + "line": 431, "column": 22 }, "end": { - "line": 422, + "line": 431, "column": 23 } } @@ -91418,15 +93269,15 @@ "binop": null }, "value": "base", - "start": 8854, - "end": 8858, + "start": 9027, + "end": 9031, "loc": { "start": { - "line": 422, + "line": 431, "column": 23 }, "end": { - "line": 422, + "line": 431, "column": 27 } } @@ -91444,15 +93295,15 @@ "binop": null, "updateContext": null }, - "start": 8859, - "end": 8860, + "start": 9032, + "end": 9033, "loc": { "start": { - "line": 422, + "line": 431, "column": 28 }, "end": { - "line": 422, + "line": 431, "column": 29 } } @@ -91470,15 +93321,15 @@ "binop": null }, "value": "base", - "start": 8861, - "end": 8865, + "start": 9034, + "end": 9038, "loc": { "start": { - "line": 422, + "line": 431, "column": 30 }, "end": { - "line": 422, + "line": 431, "column": 34 } } @@ -91496,15 +93347,15 @@ "binop": null, "updateContext": null }, - "start": 8866, - "end": 8867, + "start": 9039, + "end": 9040, "loc": { "start": { - "line": 422, + "line": 431, "column": 35 }, "end": { - "line": 422, + "line": 431, "column": 36 } } @@ -91524,15 +93375,15 @@ "updateContext": null }, "value": "this", - "start": 8868, - "end": 8872, + "start": 9041, + "end": 9045, "loc": { "start": { - "line": 422, + "line": 431, "column": 37 }, "end": { - "line": 422, + "line": 431, "column": 41 } } @@ -91550,15 +93401,15 @@ "binop": null, "updateContext": null }, - "start": 8872, - "end": 8873, + "start": 9045, + "end": 9046, "loc": { "start": { - "line": 422, + "line": 431, "column": 41 }, "end": { - "line": 422, + "line": 431, "column": 42 } } @@ -91576,15 +93427,15 @@ "binop": null }, "value": "limbs", - "start": 8873, - "end": 8878, + "start": 9046, + "end": 9051, "loc": { "start": { - "line": 422, + "line": 431, "column": 42 }, "end": { - "line": 422, + "line": 431, "column": 47 } } @@ -91602,15 +93453,15 @@ "binop": null, "updateContext": null }, - "start": 8879, - "end": 8880, + "start": 9052, + "end": 9053, "loc": { "start": { - "line": 422, + "line": 431, "column": 48 }, "end": { - "line": 422, + "line": 431, "column": 49 } } @@ -91629,15 +93480,15 @@ "updateContext": null }, "value": 0, - "start": 8881, - "end": 8882, + "start": 9054, + "end": 9055, "loc": { "start": { - "line": 422, + "line": 431, "column": 50 }, "end": { - "line": 422, + "line": 431, "column": 51 } } @@ -91655,15 +93506,15 @@ "binop": null, "updateContext": null }, - "start": 8883, - "end": 8884, + "start": 9056, + "end": 9057, "loc": { "start": { - "line": 422, + "line": 431, "column": 52 }, "end": { - "line": 422, + "line": 431, "column": 53 } } @@ -91683,15 +93534,15 @@ "updateContext": null }, "value": "this", - "start": 8885, - "end": 8889, + "start": 9058, + "end": 9062, "loc": { "start": { - "line": 422, + "line": 431, "column": 54 }, "end": { - "line": 422, + "line": 431, "column": 58 } } @@ -91709,15 +93560,15 @@ "binop": null, "updateContext": null }, - "start": 8889, - "end": 8890, + "start": 9062, + "end": 9063, "loc": { "start": { - "line": 422, + "line": 431, "column": 58 }, "end": { - "line": 422, + "line": 431, "column": 59 } } @@ -91735,15 +93586,15 @@ "binop": null }, "value": "limbs", - "start": 8890, - "end": 8895, + "start": 9063, + "end": 9068, "loc": { "start": { - "line": 422, + "line": 431, "column": 59 }, "end": { - "line": 422, + "line": 431, "column": 64 } } @@ -91761,15 +93612,15 @@ "binop": null, "updateContext": null }, - "start": 8895, - "end": 8896, + "start": 9068, + "end": 9069, "loc": { "start": { - "line": 422, + "line": 431, "column": 64 }, "end": { - "line": 422, + "line": 431, "column": 65 } } @@ -91787,15 +93638,15 @@ "binop": null }, "value": "length", - "start": 8896, - "end": 8902, + "start": 9069, + "end": 9075, "loc": { "start": { - "line": 422, + "line": 431, "column": 65 }, "end": { - "line": 422, + "line": 431, "column": 71 } } @@ -91812,15 +93663,15 @@ "postfix": false, "binop": null }, - "start": 8903, - "end": 8904, + "start": 9076, + "end": 9077, "loc": { "start": { - "line": 422, + "line": 431, "column": 72 }, "end": { - "line": 422, + "line": 431, "column": 73 } } @@ -91838,15 +93689,15 @@ "binop": null, "updateContext": null }, - "start": 8904, - "end": 8905, + "start": 9077, + "end": 9078, "loc": { "start": { - "line": 422, + "line": 431, "column": 73 }, "end": { - "line": 422, + "line": 431, "column": 74 } } @@ -91864,15 +93715,15 @@ "binop": null }, "value": "reverse", - "start": 8905, - "end": 8912, + "start": 9078, + "end": 9085, "loc": { "start": { - "line": 422, + "line": 431, "column": 74 }, "end": { - "line": 422, + "line": 431, "column": 81 } } @@ -91889,15 +93740,15 @@ "postfix": false, "binop": null }, - "start": 8912, - "end": 8913, + "start": 9085, + "end": 9086, "loc": { "start": { - "line": 422, + "line": 431, "column": 81 }, "end": { - "line": 422, + "line": 431, "column": 82 } } @@ -91914,15 +93765,15 @@ "postfix": false, "binop": null }, - "start": 8914, - "end": 8915, + "start": 9087, + "end": 9088, "loc": { "start": { - "line": 422, + "line": 431, "column": 83 }, "end": { - "line": 422, + "line": 431, "column": 84 } } @@ -91940,15 +93791,15 @@ "binop": null, "updateContext": null }, - "start": 8916, - "end": 8917, + "start": 9089, + "end": 9090, "loc": { "start": { - "line": 422, + "line": 431, "column": 85 }, "end": { - "line": 422, + "line": 431, "column": 86 } } @@ -91965,15 +93816,15 @@ "postfix": false, "binop": null }, - "start": 8919, - "end": 8920, + "start": 9092, + "end": 9093, "loc": { "start": { - "line": 423, + "line": 432, "column": 1 }, "end": { - "line": 423, + "line": 432, "column": 2 } } @@ -91991,15 +93842,15 @@ "binop": null }, "value": "bits", - "start": 8923, - "end": 8927, + "start": 9096, + "end": 9100, "loc": { "start": { - "line": 425, + "line": 434, "column": 1 }, "end": { - "line": 425, + "line": 434, "column": 5 } } @@ -92016,15 +93867,15 @@ "postfix": false, "binop": null }, - "start": 8928, - "end": 8929, + "start": 9101, + "end": 9102, "loc": { "start": { - "line": 425, + "line": 434, "column": 6 }, "end": { - "line": 425, + "line": 434, "column": 7 } } @@ -92041,15 +93892,15 @@ "postfix": false, "binop": null }, - "start": 8930, - "end": 8931, + "start": 9103, + "end": 9104, "loc": { "start": { - "line": 425, + "line": 434, "column": 8 }, "end": { - "line": 425, + "line": 434, "column": 9 } } @@ -92066,15 +93917,15 @@ "postfix": false, "binop": null }, - "start": 8932, - "end": 8933, + "start": 9105, + "end": 9106, "loc": { "start": { - "line": 425, + "line": 434, "column": 10 }, "end": { - "line": 425, + "line": 434, "column": 11 } } @@ -92094,15 +93945,15 @@ "updateContext": null }, "value": "return", - "start": 8936, - "end": 8942, + "start": 9109, + "end": 9115, "loc": { "start": { - "line": 426, + "line": 435, "column": 2 }, "end": { - "line": 426, + "line": 435, "column": 8 } } @@ -92122,15 +93973,15 @@ "updateContext": null }, "value": "this", - "start": 8943, - "end": 8947, + "start": 9116, + "end": 9120, "loc": { "start": { - "line": 426, + "line": 435, "column": 9 }, "end": { - "line": 426, + "line": 435, "column": 13 } } @@ -92148,15 +93999,15 @@ "binop": null, "updateContext": null }, - "start": 8947, - "end": 8948, + "start": 9120, + "end": 9121, "loc": { "start": { - "line": 426, + "line": 435, "column": 13 }, "end": { - "line": 426, + "line": 435, "column": 14 } } @@ -92174,15 +94025,15 @@ "binop": null }, "value": "digits", - "start": 8948, - "end": 8954, + "start": 9121, + "end": 9127, "loc": { "start": { - "line": 426, + "line": 435, "column": 14 }, "end": { - "line": 426, + "line": 435, "column": 20 } } @@ -92199,15 +94050,15 @@ "postfix": false, "binop": null }, - "start": 8954, - "end": 8955, + "start": 9127, + "end": 9128, "loc": { "start": { - "line": 426, + "line": 435, "column": 20 }, "end": { - "line": 426, + "line": 435, "column": 21 } } @@ -92226,15 +94077,15 @@ "updateContext": null }, "value": 2, - "start": 8956, - "end": 8957, + "start": 9129, + "end": 9130, "loc": { "start": { - "line": 426, + "line": 435, "column": 22 }, "end": { - "line": 426, + "line": 435, "column": 23 } } @@ -92251,15 +94102,15 @@ "postfix": false, "binop": null }, - "start": 8958, - "end": 8959, + "start": 9131, + "end": 9132, "loc": { "start": { - "line": 426, + "line": 435, "column": 24 }, "end": { - "line": 426, + "line": 435, "column": 25 } } @@ -92277,15 +94128,15 @@ "binop": null, "updateContext": null }, - "start": 8960, - "end": 8961, + "start": 9133, + "end": 9134, "loc": { "start": { - "line": 426, + "line": 435, "column": 26 }, "end": { - "line": 426, + "line": 435, "column": 27 } } @@ -92302,15 +94153,15 @@ "postfix": false, "binop": null }, - "start": 8963, - "end": 8964, + "start": 9136, + "end": 9137, "loc": { "start": { - "line": 427, + "line": 436, "column": 1 }, "end": { - "line": 427, + "line": 436, "column": 2 } } @@ -92328,15 +94179,15 @@ "binop": null }, "value": "divides", - "start": 8967, - "end": 8974, + "start": 9140, + "end": 9147, "loc": { "start": { - "line": 429, + "line": 438, "column": 1 }, "end": { - "line": 429, + "line": 438, "column": 8 } } @@ -92353,15 +94204,15 @@ "postfix": false, "binop": null }, - "start": 8975, - "end": 8976, + "start": 9148, + "end": 9149, "loc": { "start": { - "line": 429, + "line": 438, "column": 9 }, "end": { - "line": 429, + "line": 438, "column": 10 } } @@ -92379,15 +94230,15 @@ "binop": null }, "value": "other", - "start": 8977, - "end": 8982, + "start": 9150, + "end": 9155, "loc": { "start": { - "line": 429, + "line": 438, "column": 11 }, "end": { - "line": 429, + "line": 438, "column": 16 } } @@ -92404,15 +94255,15 @@ "postfix": false, "binop": null }, - "start": 8983, - "end": 8984, + "start": 9156, + "end": 9157, "loc": { "start": { - "line": 429, + "line": 438, "column": 17 }, "end": { - "line": 429, + "line": 438, "column": 18 } } @@ -92429,15 +94280,15 @@ "postfix": false, "binop": null }, - "start": 8985, - "end": 8986, + "start": 9158, + "end": 9159, "loc": { "start": { - "line": 429, + "line": 438, "column": 19 }, "end": { - "line": 429, + "line": 438, "column": 20 } } @@ -92457,15 +94308,15 @@ "updateContext": null }, "value": "return", - "start": 8989, - "end": 8995, + "start": 9162, + "end": 9168, "loc": { "start": { - "line": 430, + "line": 439, "column": 2 }, "end": { - "line": 430, + "line": 439, "column": 8 } } @@ -92483,15 +94334,15 @@ "binop": null }, "value": "other", - "start": 8996, - "end": 9001, + "start": 9169, + "end": 9174, "loc": { "start": { - "line": 430, + "line": 439, "column": 9 }, "end": { - "line": 430, + "line": 439, "column": 14 } } @@ -92509,15 +94360,15 @@ "binop": null, "updateContext": null }, - "start": 9001, - "end": 9002, + "start": 9174, + "end": 9175, "loc": { "start": { - "line": 430, + "line": 439, "column": 14 }, "end": { - "line": 430, + "line": 439, "column": 15 } } @@ -92535,15 +94386,15 @@ "binop": null }, "value": "mod", - "start": 9002, - "end": 9005, + "start": 9175, + "end": 9178, "loc": { "start": { - "line": 430, + "line": 439, "column": 15 }, "end": { - "line": 430, + "line": 439, "column": 18 } } @@ -92560,15 +94411,15 @@ "postfix": false, "binop": null }, - "start": 9005, - "end": 9006, + "start": 9178, + "end": 9179, "loc": { "start": { - "line": 430, + "line": 439, "column": 18 }, "end": { - "line": 430, + "line": 439, "column": 19 } } @@ -92588,15 +94439,15 @@ "updateContext": null }, "value": "this", - "start": 9007, - "end": 9011, + "start": 9180, + "end": 9184, "loc": { "start": { - "line": 430, + "line": 439, "column": 20 }, "end": { - "line": 430, + "line": 439, "column": 24 } } @@ -92613,15 +94464,15 @@ "postfix": false, "binop": null }, - "start": 9012, - "end": 9013, + "start": 9185, + "end": 9186, "loc": { "start": { - "line": 430, + "line": 439, "column": 25 }, "end": { - "line": 430, + "line": 439, "column": 26 } } @@ -92639,15 +94490,15 @@ "binop": null, "updateContext": null }, - "start": 9013, - "end": 9014, + "start": 9186, + "end": 9187, "loc": { "start": { - "line": 430, + "line": 439, "column": 26 }, "end": { - "line": 430, + "line": 439, "column": 27 } } @@ -92665,15 +94516,15 @@ "binop": null }, "value": "iszero", - "start": 9014, - "end": 9020, + "start": 9187, + "end": 9193, "loc": { "start": { - "line": 430, + "line": 439, "column": 27 }, "end": { - "line": 430, + "line": 439, "column": 33 } } @@ -92690,15 +94541,15 @@ "postfix": false, "binop": null }, - "start": 9020, - "end": 9021, + "start": 9193, + "end": 9194, "loc": { "start": { - "line": 430, + "line": 439, "column": 33 }, "end": { - "line": 430, + "line": 439, "column": 34 } } @@ -92715,15 +94566,15 @@ "postfix": false, "binop": null }, - "start": 9022, - "end": 9023, + "start": 9195, + "end": 9196, "loc": { "start": { - "line": 430, + "line": 439, "column": 35 }, "end": { - "line": 430, + "line": 439, "column": 36 } } @@ -92741,15 +94592,15 @@ "binop": null, "updateContext": null }, - "start": 9024, - "end": 9025, + "start": 9197, + "end": 9198, "loc": { "start": { - "line": 430, + "line": 439, "column": 37 }, "end": { - "line": 430, + "line": 439, "column": 38 } } @@ -92766,15 +94617,15 @@ "postfix": false, "binop": null }, - "start": 9027, - "end": 9028, + "start": 9200, + "end": 9201, "loc": { "start": { - "line": 431, + "line": 440, "column": 1 }, "end": { - "line": 431, + "line": 440, "column": 2 } } @@ -92792,15 +94643,15 @@ "binop": null }, "value": "divide_knowing_divisible_by", - "start": 9031, - "end": 9058, + "start": 9204, + "end": 9231, "loc": { "start": { - "line": 433, + "line": 442, "column": 1 }, "end": { - "line": 433, + "line": 442, "column": 28 } } @@ -92817,15 +94668,15 @@ "postfix": false, "binop": null }, - "start": 9059, - "end": 9060, + "start": 9232, + "end": 9233, "loc": { "start": { - "line": 433, + "line": 442, "column": 29 }, "end": { - "line": 433, + "line": 442, "column": 30 } } @@ -92843,15 +94694,15 @@ "binop": null }, "value": "other", - "start": 9061, - "end": 9066, + "start": 9234, + "end": 9239, "loc": { "start": { - "line": 433, + "line": 442, "column": 31 }, "end": { - "line": 433, + "line": 442, "column": 36 } } @@ -92868,15 +94719,15 @@ "postfix": false, "binop": null }, - "start": 9067, - "end": 9068, + "start": 9240, + "end": 9241, "loc": { "start": { - "line": 433, + "line": 442, "column": 37 }, "end": { - "line": 433, + "line": 442, "column": 38 } } @@ -92893,15 +94744,15 @@ "postfix": false, "binop": null }, - "start": 9069, - "end": 9070, + "start": 9242, + "end": 9243, "loc": { "start": { - "line": 433, + "line": 442, "column": 39 }, "end": { - "line": 433, + "line": 442, "column": 40 } } @@ -92909,15 +94760,15 @@ { "type": "CommentLine", "value": " TODO optimize", - "start": 9073, - "end": 9089, + "start": 9246, + "end": 9262, "loc": { "start": { - "line": 434, + "line": 443, "column": 2 }, "end": { - "line": 434, + "line": 443, "column": 18 } } @@ -92937,15 +94788,15 @@ "updateContext": null }, "value": "return", - "start": 9092, - "end": 9098, + "start": 9265, + "end": 9271, "loc": { "start": { - "line": 435, + "line": 444, "column": 2 }, "end": { - "line": 435, + "line": 444, "column": 8 } } @@ -92965,15 +94816,15 @@ "updateContext": null }, "value": "this", - "start": 9099, - "end": 9103, + "start": 9272, + "end": 9276, "loc": { "start": { - "line": 435, + "line": 444, "column": 9 }, "end": { - "line": 435, + "line": 444, "column": 13 } } @@ -92991,15 +94842,15 @@ "binop": null, "updateContext": null }, - "start": 9103, - "end": 9104, + "start": 9276, + "end": 9277, "loc": { "start": { - "line": 435, + "line": 444, "column": 13 }, "end": { - "line": 435, + "line": 444, "column": 14 } } @@ -93017,15 +94868,15 @@ "binop": null }, "value": "div", - "start": 9104, - "end": 9107, + "start": 9277, + "end": 9280, "loc": { "start": { - "line": 435, + "line": 444, "column": 14 }, "end": { - "line": 435, + "line": 444, "column": 17 } } @@ -93042,15 +94893,15 @@ "postfix": false, "binop": null }, - "start": 9107, - "end": 9108, + "start": 9280, + "end": 9281, "loc": { "start": { - "line": 435, + "line": 444, "column": 17 }, "end": { - "line": 435, + "line": 444, "column": 18 } } @@ -93068,15 +94919,15 @@ "binop": null }, "value": "other", - "start": 9109, - "end": 9114, + "start": 9282, + "end": 9287, "loc": { "start": { - "line": 435, + "line": 444, "column": 19 }, "end": { - "line": 435, + "line": 444, "column": 24 } } @@ -93093,15 +94944,15 @@ "postfix": false, "binop": null }, - "start": 9115, - "end": 9116, + "start": 9288, + "end": 9289, "loc": { "start": { - "line": 435, + "line": 444, "column": 25 }, "end": { - "line": 435, + "line": 444, "column": 26 } } @@ -93119,15 +94970,15 @@ "binop": null, "updateContext": null }, - "start": 9117, - "end": 9118, + "start": 9290, + "end": 9291, "loc": { "start": { - "line": 435, + "line": 444, "column": 27 }, "end": { - "line": 435, + "line": 444, "column": 28 } } @@ -93144,15 +94995,15 @@ "postfix": false, "binop": null }, - "start": 9120, - "end": 9121, + "start": 9293, + "end": 9294, "loc": { "start": { - "line": 436, + "line": 445, "column": 1 }, "end": { - "line": 436, + "line": 445, "column": 2 } } @@ -93170,15 +95021,15 @@ "binop": null }, "value": "cmp", - "start": 9125, - "end": 9128, + "start": 9298, + "end": 9301, "loc": { "start": { - "line": 439, + "line": 448, "column": 1 }, "end": { - "line": 439, + "line": 448, "column": 4 } } @@ -93195,15 +95046,15 @@ "postfix": false, "binop": null }, - "start": 9129, - "end": 9130, + "start": 9302, + "end": 9303, "loc": { "start": { - "line": 439, + "line": 448, "column": 5 }, "end": { - "line": 439, + "line": 448, "column": 6 } } @@ -93221,15 +95072,15 @@ "binop": null }, "value": "other", - "start": 9131, - "end": 9136, + "start": 9304, + "end": 9309, "loc": { "start": { - "line": 439, + "line": 448, "column": 7 }, "end": { - "line": 439, + "line": 448, "column": 12 } } @@ -93246,15 +95097,15 @@ "postfix": false, "binop": null }, - "start": 9137, - "end": 9138, + "start": 9310, + "end": 9311, "loc": { "start": { - "line": 439, + "line": 448, "column": 13 }, "end": { - "line": 439, + "line": 448, "column": 14 } } @@ -93271,15 +95122,15 @@ "postfix": false, "binop": null }, - "start": 9139, - "end": 9140, + "start": 9312, + "end": 9313, "loc": { "start": { - "line": 439, + "line": 448, "column": 15 }, "end": { - "line": 439, + "line": 448, "column": 16 } } @@ -93287,15 +95138,15 @@ { "type": "CommentLine", "value": " TODO optimize with _trim_positive", - "start": 9143, - "end": 9179, + "start": 9316, + "end": 9352, "loc": { "start": { - "line": 440, + "line": 449, "column": 2 }, "end": { - "line": 440, + "line": 449, "column": 38 } } @@ -93315,15 +95166,15 @@ "updateContext": null }, "value": "if", - "start": 9183, - "end": 9185, + "start": 9356, + "end": 9358, "loc": { "start": { - "line": 442, + "line": 451, "column": 2 }, "end": { - "line": 442, + "line": 451, "column": 4 } } @@ -93340,15 +95191,15 @@ "postfix": false, "binop": null }, - "start": 9186, - "end": 9187, + "start": 9359, + "end": 9360, "loc": { "start": { - "line": 442, + "line": 451, "column": 5 }, "end": { - "line": 442, + "line": 451, "column": 6 } } @@ -93368,15 +95219,15 @@ "updateContext": null }, "value": "this", - "start": 9188, - "end": 9192, + "start": 9361, + "end": 9365, "loc": { "start": { - "line": 442, + "line": 451, "column": 7 }, "end": { - "line": 442, + "line": 451, "column": 11 } } @@ -93394,15 +95245,15 @@ "binop": null, "updateContext": null }, - "start": 9192, - "end": 9193, + "start": 9365, + "end": 9366, "loc": { "start": { - "line": 442, + "line": 451, "column": 11 }, "end": { - "line": 442, + "line": 451, "column": 12 } } @@ -93420,15 +95271,15 @@ "binop": null }, "value": "iszero", - "start": 9193, - "end": 9199, + "start": 9366, + "end": 9372, "loc": { "start": { - "line": 442, + "line": 451, "column": 12 }, "end": { - "line": 442, + "line": 451, "column": 18 } } @@ -93445,15 +95296,15 @@ "postfix": false, "binop": null }, - "start": 9199, - "end": 9200, + "start": 9372, + "end": 9373, "loc": { "start": { - "line": 442, + "line": 451, "column": 18 }, "end": { - "line": 442, + "line": 451, "column": 19 } } @@ -93470,15 +95321,15 @@ "postfix": false, "binop": null }, - "start": 9201, - "end": 9202, + "start": 9374, + "end": 9375, "loc": { "start": { - "line": 442, + "line": 451, "column": 20 }, "end": { - "line": 442, + "line": 451, "column": 21 } } @@ -93495,15 +95346,15 @@ "postfix": false, "binop": null }, - "start": 9203, - "end": 9204, + "start": 9376, + "end": 9377, "loc": { "start": { - "line": 442, + "line": 451, "column": 22 }, "end": { - "line": 442, + "line": 451, "column": 23 } } @@ -93520,15 +95371,15 @@ "postfix": false, "binop": null }, - "start": 9205, - "end": 9206, + "start": 9378, + "end": 9379, "loc": { "start": { - "line": 442, + "line": 451, "column": 24 }, "end": { - "line": 442, + "line": 451, "column": 25 } } @@ -93548,15 +95399,15 @@ "updateContext": null }, "value": "if", - "start": 9210, - "end": 9212, + "start": 9383, + "end": 9385, "loc": { "start": { - "line": 443, + "line": 452, "column": 3 }, "end": { - "line": 443, + "line": 452, "column": 5 } } @@ -93573,15 +95424,15 @@ "postfix": false, "binop": null }, - "start": 9213, - "end": 9214, + "start": 9386, + "end": 9387, "loc": { "start": { - "line": 443, + "line": 452, "column": 6 }, "end": { - "line": 443, + "line": 452, "column": 7 } } @@ -93599,15 +95450,15 @@ "binop": null }, "value": "other", - "start": 9215, - "end": 9220, + "start": 9388, + "end": 9393, "loc": { "start": { - "line": 443, + "line": 452, "column": 8 }, "end": { - "line": 443, + "line": 452, "column": 13 } } @@ -93625,15 +95476,15 @@ "binop": null, "updateContext": null }, - "start": 9220, - "end": 9221, + "start": 9393, + "end": 9394, "loc": { "start": { - "line": 443, + "line": 452, "column": 13 }, "end": { - "line": 443, + "line": 452, "column": 14 } } @@ -93651,15 +95502,15 @@ "binop": null }, "value": "iszero", - "start": 9221, - "end": 9227, + "start": 9394, + "end": 9400, "loc": { "start": { - "line": 443, + "line": 452, "column": 14 }, "end": { - "line": 443, + "line": 452, "column": 20 } } @@ -93676,15 +95527,15 @@ "postfix": false, "binop": null }, - "start": 9227, - "end": 9228, + "start": 9400, + "end": 9401, "loc": { "start": { - "line": 443, + "line": 452, "column": 20 }, "end": { - "line": 443, + "line": 452, "column": 21 } } @@ -93701,15 +95552,15 @@ "postfix": false, "binop": null }, - "start": 9229, - "end": 9230, + "start": 9402, + "end": 9403, "loc": { "start": { - "line": 443, + "line": 452, "column": 22 }, "end": { - "line": 443, + "line": 452, "column": 23 } } @@ -93726,15 +95577,15 @@ "postfix": false, "binop": null }, - "start": 9231, - "end": 9232, + "start": 9404, + "end": 9405, "loc": { "start": { - "line": 443, + "line": 452, "column": 24 }, "end": { - "line": 443, + "line": 452, "column": 25 } } @@ -93754,15 +95605,15 @@ "updateContext": null }, "value": "return", - "start": 9240, - "end": 9246, + "start": 9413, + "end": 9419, "loc": { "start": { - "line": 443, + "line": 452, "column": 33 }, "end": { - "line": 443, + "line": 452, "column": 39 } } @@ -93781,15 +95632,15 @@ "updateContext": null }, "value": 0, - "start": 9248, - "end": 9249, + "start": 9421, + "end": 9422, "loc": { "start": { - "line": 443, + "line": 452, "column": 41 }, "end": { - "line": 443, + "line": 452, "column": 42 } } @@ -93807,15 +95658,15 @@ "binop": null, "updateContext": null }, - "start": 9250, - "end": 9251, + "start": 9423, + "end": 9424, "loc": { "start": { - "line": 443, + "line": 452, "column": 43 }, "end": { - "line": 443, + "line": 452, "column": 44 } } @@ -93835,15 +95686,15 @@ "updateContext": null }, "value": "else", - "start": 9255, - "end": 9259, + "start": 9428, + "end": 9432, "loc": { "start": { - "line": 444, + "line": 453, "column": 3 }, "end": { - "line": 444, + "line": 453, "column": 7 } } @@ -93863,15 +95714,15 @@ "updateContext": null }, "value": "if", - "start": 9260, - "end": 9262, + "start": 9433, + "end": 9435, "loc": { "start": { - "line": 444, + "line": 453, "column": 8 }, "end": { - "line": 444, + "line": 453, "column": 10 } } @@ -93888,15 +95739,15 @@ "postfix": false, "binop": null }, - "start": 9263, - "end": 9264, + "start": 9436, + "end": 9437, "loc": { "start": { - "line": 444, + "line": 453, "column": 11 }, "end": { - "line": 444, + "line": 453, "column": 12 } } @@ -93914,15 +95765,15 @@ "binop": null }, "value": "other", - "start": 9265, - "end": 9270, + "start": 9438, + "end": 9443, "loc": { "start": { - "line": 444, + "line": 453, "column": 13 }, "end": { - "line": 444, + "line": 453, "column": 18 } } @@ -93940,15 +95791,15 @@ "binop": null, "updateContext": null }, - "start": 9270, - "end": 9271, + "start": 9443, + "end": 9444, "loc": { "start": { - "line": 444, + "line": 453, "column": 18 }, "end": { - "line": 444, + "line": 453, "column": 19 } } @@ -93966,15 +95817,15 @@ "binop": null }, "value": "is_negative", - "start": 9271, - "end": 9282, + "start": 9444, + "end": 9455, "loc": { "start": { - "line": 444, + "line": 453, "column": 19 }, "end": { - "line": 444, + "line": 453, "column": 30 } } @@ -93991,15 +95842,15 @@ "postfix": false, "binop": null }, - "start": 9283, - "end": 9284, + "start": 9456, + "end": 9457, "loc": { "start": { - "line": 444, + "line": 453, "column": 31 }, "end": { - "line": 444, + "line": 453, "column": 32 } } @@ -94019,15 +95870,15 @@ "updateContext": null }, "value": "return", - "start": 9285, - "end": 9291, + "start": 9458, + "end": 9464, "loc": { "start": { - "line": 444, + "line": 453, "column": 33 }, "end": { - "line": 444, + "line": 453, "column": 39 } } @@ -94046,15 +95897,15 @@ "updateContext": null }, "value": 1, - "start": 9293, - "end": 9294, + "start": 9466, + "end": 9467, "loc": { "start": { - "line": 444, + "line": 453, "column": 41 }, "end": { - "line": 444, + "line": 453, "column": 42 } } @@ -94072,15 +95923,15 @@ "binop": null, "updateContext": null }, - "start": 9295, - "end": 9296, + "start": 9468, + "end": 9469, "loc": { "start": { - "line": 444, + "line": 453, "column": 43 }, "end": { - "line": 444, + "line": 453, "column": 44 } } @@ -94100,15 +95951,15 @@ "updateContext": null }, "value": "else", - "start": 9300, - "end": 9304, + "start": 9473, + "end": 9477, "loc": { "start": { - "line": 445, + "line": 454, "column": 3 }, "end": { - "line": 445, + "line": 454, "column": 7 } } @@ -94128,15 +95979,15 @@ "updateContext": null }, "value": "return", - "start": 9330, - "end": 9336, + "start": 9503, + "end": 9509, "loc": { "start": { - "line": 445, + "line": 454, "column": 33 }, "end": { - "line": 445, + "line": 454, "column": 39 } } @@ -94155,15 +96006,15 @@ "updateContext": null }, "value": "-", - "start": 9337, - "end": 9338, + "start": 9510, + "end": 9511, "loc": { "start": { - "line": 445, + "line": 454, "column": 40 }, "end": { - "line": 445, + "line": 454, "column": 41 } } @@ -94182,15 +96033,15 @@ "updateContext": null }, "value": 1, - "start": 9338, - "end": 9339, + "start": 9511, + "end": 9512, "loc": { "start": { - "line": 445, + "line": 454, "column": 41 }, "end": { - "line": 445, + "line": 454, "column": 42 } } @@ -94208,15 +96059,15 @@ "binop": null, "updateContext": null }, - "start": 9340, - "end": 9341, + "start": 9513, + "end": 9514, "loc": { "start": { - "line": 445, + "line": 454, "column": 43 }, "end": { - "line": 445, + "line": 454, "column": 44 } } @@ -94233,15 +96084,15 @@ "postfix": false, "binop": null }, - "start": 9344, - "end": 9345, + "start": 9517, + "end": 9518, "loc": { "start": { - "line": 446, + "line": 455, "column": 2 }, "end": { - "line": 446, + "line": 455, "column": 3 } } @@ -94261,15 +96112,15 @@ "updateContext": null }, "value": "if", - "start": 9349, - "end": 9351, + "start": 9522, + "end": 9524, "loc": { "start": { - "line": 448, + "line": 457, "column": 2 }, "end": { - "line": 448, + "line": 457, "column": 4 } } @@ -94286,15 +96137,15 @@ "postfix": false, "binop": null }, - "start": 9352, - "end": 9353, + "start": 9525, + "end": 9526, "loc": { "start": { - "line": 448, + "line": 457, "column": 5 }, "end": { - "line": 448, + "line": 457, "column": 6 } } @@ -94314,15 +96165,15 @@ "updateContext": null }, "value": "this", - "start": 9354, - "end": 9358, + "start": 9527, + "end": 9531, "loc": { "start": { - "line": 448, + "line": 457, "column": 7 }, "end": { - "line": 448, + "line": 457, "column": 11 } } @@ -94340,15 +96191,15 @@ "binop": null, "updateContext": null }, - "start": 9358, - "end": 9359, + "start": 9531, + "end": 9532, "loc": { "start": { - "line": 448, + "line": 457, "column": 11 }, "end": { - "line": 448, + "line": 457, "column": 12 } } @@ -94366,15 +96217,15 @@ "binop": null }, "value": "is_negative", - "start": 9359, - "end": 9370, + "start": 9532, + "end": 9543, "loc": { "start": { - "line": 448, + "line": 457, "column": 12 }, "end": { - "line": 448, + "line": 457, "column": 23 } } @@ -94393,15 +96244,15 @@ "updateContext": null }, "value": "<", - "start": 9371, - "end": 9372, + "start": 9544, + "end": 9545, "loc": { "start": { - "line": 448, + "line": 457, "column": 24 }, "end": { - "line": 448, + "line": 457, "column": 25 } } @@ -94419,15 +96270,15 @@ "binop": null }, "value": "other", - "start": 9373, - "end": 9378, + "start": 9546, + "end": 9551, "loc": { "start": { - "line": 448, + "line": 457, "column": 26 }, "end": { - "line": 448, + "line": 457, "column": 31 } } @@ -94445,15 +96296,15 @@ "binop": null, "updateContext": null }, - "start": 9378, - "end": 9379, + "start": 9551, + "end": 9552, "loc": { "start": { - "line": 448, + "line": 457, "column": 31 }, "end": { - "line": 448, + "line": 457, "column": 32 } } @@ -94471,15 +96322,15 @@ "binop": null }, "value": "is_negative", - "start": 9379, - "end": 9390, + "start": 9552, + "end": 9563, "loc": { "start": { - "line": 448, + "line": 457, "column": 32 }, "end": { - "line": 448, + "line": 457, "column": 43 } } @@ -94496,15 +96347,15 @@ "postfix": false, "binop": null }, - "start": 9391, - "end": 9392, + "start": 9564, + "end": 9565, "loc": { "start": { - "line": 448, + "line": 457, "column": 44 }, "end": { - "line": 448, + "line": 457, "column": 45 } } @@ -94524,15 +96375,15 @@ "updateContext": null }, "value": "return", - "start": 9393, - "end": 9399, + "start": 9566, + "end": 9572, "loc": { "start": { - "line": 448, + "line": 457, "column": 46 }, "end": { - "line": 448, + "line": 457, "column": 52 } } @@ -94551,15 +96402,15 @@ "updateContext": null }, "value": "-", - "start": 9400, - "end": 9401, + "start": 9573, + "end": 9574, "loc": { "start": { - "line": 448, + "line": 457, "column": 53 }, "end": { - "line": 448, + "line": 457, "column": 54 } } @@ -94578,15 +96429,15 @@ "updateContext": null }, "value": 1, - "start": 9401, - "end": 9402, + "start": 9574, + "end": 9575, "loc": { "start": { - "line": 448, + "line": 457, "column": 54 }, "end": { - "line": 448, + "line": 457, "column": 55 } } @@ -94604,15 +96455,15 @@ "binop": null, "updateContext": null }, - "start": 9403, - "end": 9404, + "start": 9576, + "end": 9577, "loc": { "start": { - "line": 448, + "line": 457, "column": 56 }, "end": { - "line": 448, + "line": 457, "column": 57 } } @@ -94632,15 +96483,15 @@ "updateContext": null }, "value": "if", - "start": 9407, - "end": 9409, + "start": 9580, + "end": 9582, "loc": { "start": { - "line": 449, + "line": 458, "column": 2 }, "end": { - "line": 449, + "line": 458, "column": 4 } } @@ -94657,15 +96508,15 @@ "postfix": false, "binop": null }, - "start": 9410, - "end": 9411, + "start": 9583, + "end": 9584, "loc": { "start": { - "line": 449, + "line": 458, "column": 5 }, "end": { - "line": 449, + "line": 458, "column": 6 } } @@ -94685,15 +96536,15 @@ "updateContext": null }, "value": "this", - "start": 9412, - "end": 9416, + "start": 9585, + "end": 9589, "loc": { "start": { - "line": 449, + "line": 458, "column": 7 }, "end": { - "line": 449, + "line": 458, "column": 11 } } @@ -94711,15 +96562,15 @@ "binop": null, "updateContext": null }, - "start": 9416, - "end": 9417, + "start": 9589, + "end": 9590, "loc": { "start": { - "line": 449, + "line": 458, "column": 11 }, "end": { - "line": 449, + "line": 458, "column": 12 } } @@ -94737,15 +96588,15 @@ "binop": null }, "value": "is_negative", - "start": 9417, - "end": 9428, + "start": 9590, + "end": 9601, "loc": { "start": { - "line": 449, + "line": 458, "column": 12 }, "end": { - "line": 449, + "line": 458, "column": 23 } } @@ -94764,15 +96615,15 @@ "updateContext": null }, "value": ">", - "start": 9429, - "end": 9430, + "start": 9602, + "end": 9603, "loc": { "start": { - "line": 449, + "line": 458, "column": 24 }, "end": { - "line": 449, + "line": 458, "column": 25 } } @@ -94790,15 +96641,15 @@ "binop": null }, "value": "other", - "start": 9431, - "end": 9436, + "start": 9604, + "end": 9609, "loc": { "start": { - "line": 449, + "line": 458, "column": 26 }, "end": { - "line": 449, + "line": 458, "column": 31 } } @@ -94816,15 +96667,15 @@ "binop": null, "updateContext": null }, - "start": 9436, - "end": 9437, + "start": 9609, + "end": 9610, "loc": { "start": { - "line": 449, + "line": 458, "column": 31 }, "end": { - "line": 449, + "line": 458, "column": 32 } } @@ -94842,15 +96693,15 @@ "binop": null }, "value": "is_negative", - "start": 9437, - "end": 9448, + "start": 9610, + "end": 9621, "loc": { "start": { - "line": 449, + "line": 458, "column": 32 }, "end": { - "line": 449, + "line": 458, "column": 43 } } @@ -94867,15 +96718,15 @@ "postfix": false, "binop": null }, - "start": 9449, - "end": 9450, + "start": 9622, + "end": 9623, "loc": { "start": { - "line": 449, + "line": 458, "column": 44 }, "end": { - "line": 449, + "line": 458, "column": 45 } } @@ -94895,15 +96746,15 @@ "updateContext": null }, "value": "return", - "start": 9451, - "end": 9457, + "start": 9624, + "end": 9630, "loc": { "start": { - "line": 449, + "line": 458, "column": 46 }, "end": { - "line": 449, + "line": 458, "column": 52 } } @@ -94922,15 +96773,15 @@ "updateContext": null }, "value": 1, - "start": 9459, - "end": 9460, + "start": 9632, + "end": 9633, "loc": { "start": { - "line": 449, + "line": 458, "column": 54 }, "end": { - "line": 449, + "line": 458, "column": 55 } } @@ -94948,15 +96799,15 @@ "binop": null, "updateContext": null }, - "start": 9461, - "end": 9462, + "start": 9634, + "end": 9635, "loc": { "start": { - "line": 449, + "line": 458, "column": 56 }, "end": { - "line": 449, + "line": 458, "column": 57 } } @@ -94976,15 +96827,15 @@ "updateContext": null }, "value": "const", - "start": 9466, - "end": 9471, + "start": 9639, + "end": 9644, "loc": { "start": { - "line": 451, + "line": 460, "column": 2 }, "end": { - "line": 451, + "line": 460, "column": 7 } } @@ -95002,15 +96853,15 @@ "binop": null }, "value": "a", - "start": 9472, - "end": 9473, + "start": 9645, + "end": 9646, "loc": { "start": { - "line": 451, + "line": 460, "column": 8 }, "end": { - "line": 451, + "line": 460, "column": 9 } } @@ -95029,15 +96880,15 @@ "updateContext": null }, "value": "=", - "start": 9474, - "end": 9475, + "start": 9647, + "end": 9648, "loc": { "start": { - "line": 451, + "line": 460, "column": 10 }, "end": { - "line": 451, + "line": 460, "column": 11 } } @@ -95057,15 +96908,15 @@ "updateContext": null }, "value": "this", - "start": 9476, - "end": 9480, + "start": 9649, + "end": 9653, "loc": { "start": { - "line": 451, + "line": 460, "column": 12 }, "end": { - "line": 451, + "line": 460, "column": 16 } } @@ -95083,15 +96934,15 @@ "binop": null, "updateContext": null }, - "start": 9480, - "end": 9481, + "start": 9653, + "end": 9654, "loc": { "start": { - "line": 451, + "line": 460, "column": 16 }, "end": { - "line": 451, + "line": 460, "column": 17 } } @@ -95109,15 +96960,15 @@ "binop": null }, "value": "limbs", - "start": 9481, - "end": 9486, + "start": 9654, + "end": 9659, "loc": { "start": { - "line": 451, + "line": 460, "column": 17 }, "end": { - "line": 451, + "line": 460, "column": 22 } } @@ -95135,15 +96986,15 @@ "binop": null, "updateContext": null }, - "start": 9487, - "end": 9488, + "start": 9660, + "end": 9661, "loc": { "start": { - "line": 451, + "line": 460, "column": 23 }, "end": { - "line": 451, + "line": 460, "column": 24 } } @@ -95163,15 +97014,15 @@ "updateContext": null }, "value": "const", - "start": 9491, - "end": 9496, + "start": 9664, + "end": 9669, "loc": { "start": { - "line": 452, + "line": 461, "column": 2 }, "end": { - "line": 452, + "line": 461, "column": 7 } } @@ -95189,15 +97040,15 @@ "binop": null }, "value": "b", - "start": 9497, - "end": 9498, + "start": 9670, + "end": 9671, "loc": { "start": { - "line": 452, + "line": 461, "column": 8 }, "end": { - "line": 452, + "line": 461, "column": 9 } } @@ -95216,15 +97067,15 @@ "updateContext": null }, "value": "=", - "start": 9499, - "end": 9500, + "start": 9672, + "end": 9673, "loc": { "start": { - "line": 452, + "line": 461, "column": 10 }, "end": { - "line": 452, + "line": 461, "column": 11 } } @@ -95242,15 +97093,15 @@ "binop": null }, "value": "other", - "start": 9501, - "end": 9506, + "start": 9674, + "end": 9679, "loc": { "start": { - "line": 452, + "line": 461, "column": 12 }, "end": { - "line": 452, + "line": 461, "column": 17 } } @@ -95268,15 +97119,15 @@ "binop": null, "updateContext": null }, - "start": 9506, - "end": 9507, + "start": 9679, + "end": 9680, "loc": { "start": { - "line": 452, + "line": 461, "column": 17 }, "end": { - "line": 452, + "line": 461, "column": 18 } } @@ -95294,15 +97145,15 @@ "binop": null }, "value": "_limbs_in_base", - "start": 9507, - "end": 9521, + "start": 9680, + "end": 9694, "loc": { "start": { - "line": 452, + "line": 461, "column": 18 }, "end": { - "line": 452, + "line": 461, "column": 32 } } @@ -95319,15 +97170,15 @@ "postfix": false, "binop": null }, - "start": 9521, - "end": 9522, + "start": 9694, + "end": 9695, "loc": { "start": { - "line": 452, + "line": 461, "column": 32 }, "end": { - "line": 452, + "line": 461, "column": 33 } } @@ -95347,15 +97198,15 @@ "updateContext": null }, "value": "this", - "start": 9523, - "end": 9527, + "start": 9696, + "end": 9700, "loc": { "start": { - "line": 452, + "line": 461, "column": 34 }, "end": { - "line": 452, + "line": 461, "column": 38 } } @@ -95373,15 +97224,15 @@ "binop": null, "updateContext": null }, - "start": 9527, - "end": 9528, + "start": 9700, + "end": 9701, "loc": { "start": { - "line": 452, + "line": 461, "column": 38 }, "end": { - "line": 452, + "line": 461, "column": 39 } } @@ -95399,15 +97250,15 @@ "binop": null }, "value": "base", - "start": 9528, - "end": 9532, + "start": 9701, + "end": 9705, "loc": { "start": { - "line": 452, + "line": 461, "column": 39 }, "end": { - "line": 452, + "line": 461, "column": 43 } } @@ -95424,15 +97275,15 @@ "postfix": false, "binop": null }, - "start": 9533, - "end": 9534, + "start": 9706, + "end": 9707, "loc": { "start": { - "line": 452, + "line": 461, "column": 44 }, "end": { - "line": 452, + "line": 461, "column": 45 } } @@ -95450,15 +97301,15 @@ "binop": null, "updateContext": null }, - "start": 9535, - "end": 9536, + "start": 9708, + "end": 9709, "loc": { "start": { - "line": 452, + "line": 461, "column": 46 }, "end": { - "line": 452, + "line": 461, "column": 47 } } @@ -95478,15 +97329,15 @@ "updateContext": null }, "value": "return", - "start": 9540, - "end": 9546, + "start": 9713, + "end": 9719, "loc": { "start": { - "line": 454, + "line": 463, "column": 2 }, "end": { - "line": 454, + "line": 463, "column": 8 } } @@ -95506,15 +97357,15 @@ "updateContext": null }, "value": "this", - "start": 9547, - "end": 9551, + "start": 9720, + "end": 9724, "loc": { "start": { - "line": 454, + "line": 463, "column": 9 }, "end": { - "line": 454, + "line": 463, "column": 13 } } @@ -95532,15 +97383,15 @@ "binop": null, "updateContext": null }, - "start": 9551, - "end": 9552, + "start": 9724, + "end": 9725, "loc": { "start": { - "line": 454, + "line": 463, "column": 13 }, "end": { - "line": 454, + "line": 463, "column": 14 } } @@ -95558,15 +97409,15 @@ "binop": null }, "value": "is_negative", - "start": 9552, - "end": 9563, + "start": 9725, + "end": 9736, "loc": { "start": { - "line": 454, + "line": 463, "column": 14 }, "end": { - "line": 454, + "line": 463, "column": 25 } } @@ -95585,15 +97436,15 @@ "updateContext": null }, "value": "===", - "start": 9564, - "end": 9567, + "start": 9737, + "end": 9740, "loc": { "start": { - "line": 454, + "line": 463, "column": 26 }, "end": { - "line": 454, + "line": 463, "column": 29 } } @@ -95612,15 +97463,15 @@ "updateContext": null }, "value": 0, - "start": 9568, - "end": 9569, + "start": 9741, + "end": 9742, "loc": { "start": { - "line": 454, + "line": 463, "column": 30 }, "end": { - "line": 454, + "line": 463, "column": 31 } } @@ -95638,15 +97489,15 @@ "binop": null, "updateContext": null }, - "start": 9570, - "end": 9571, + "start": 9743, + "end": 9744, "loc": { "start": { - "line": 454, + "line": 463, "column": 32 }, "end": { - "line": 454, + "line": 463, "column": 33 } } @@ -95664,15 +97515,15 @@ "binop": null }, "value": "cmp", - "start": 9575, - "end": 9578, + "start": 9748, + "end": 9751, "loc": { "start": { - "line": 455, + "line": 464, "column": 3 }, "end": { - "line": 455, + "line": 464, "column": 6 } } @@ -95689,15 +97540,15 @@ "postfix": false, "binop": null }, - "start": 9578, - "end": 9579, + "start": 9751, + "end": 9752, "loc": { "start": { - "line": 455, + "line": 464, "column": 6 }, "end": { - "line": 455, + "line": 464, "column": 7 } } @@ -95715,15 +97566,15 @@ "binop": null }, "value": "a", - "start": 9580, - "end": 9581, + "start": 9753, + "end": 9754, "loc": { "start": { - "line": 455, + "line": 464, "column": 8 }, "end": { - "line": 455, + "line": 464, "column": 9 } } @@ -95741,15 +97592,15 @@ "binop": null, "updateContext": null }, - "start": 9582, - "end": 9583, + "start": 9755, + "end": 9756, "loc": { "start": { - "line": 455, + "line": 464, "column": 10 }, "end": { - "line": 455, + "line": 464, "column": 11 } } @@ -95768,15 +97619,15 @@ "updateContext": null }, "value": 0, - "start": 9584, - "end": 9585, + "start": 9757, + "end": 9758, "loc": { "start": { - "line": 455, + "line": 464, "column": 12 }, "end": { - "line": 455, + "line": 464, "column": 13 } } @@ -95794,15 +97645,15 @@ "binop": null, "updateContext": null }, - "start": 9586, - "end": 9587, + "start": 9759, + "end": 9760, "loc": { "start": { - "line": 455, + "line": 464, "column": 14 }, "end": { - "line": 455, + "line": 464, "column": 15 } } @@ -95820,15 +97671,15 @@ "binop": null }, "value": "a", - "start": 9588, - "end": 9589, + "start": 9761, + "end": 9762, "loc": { "start": { - "line": 455, + "line": 464, "column": 16 }, "end": { - "line": 455, + "line": 464, "column": 17 } } @@ -95846,15 +97697,15 @@ "binop": null, "updateContext": null }, - "start": 9589, - "end": 9590, + "start": 9762, + "end": 9763, "loc": { "start": { - "line": 455, + "line": 464, "column": 17 }, "end": { - "line": 455, + "line": 464, "column": 18 } } @@ -95872,15 +97723,15 @@ "binop": null }, "value": "length", - "start": 9590, - "end": 9596, + "start": 9763, + "end": 9769, "loc": { "start": { - "line": 455, + "line": 464, "column": 18 }, "end": { - "line": 455, + "line": 464, "column": 24 } } @@ -95898,15 +97749,15 @@ "binop": null, "updateContext": null }, - "start": 9597, - "end": 9598, + "start": 9770, + "end": 9771, "loc": { "start": { - "line": 455, + "line": 464, "column": 25 }, "end": { - "line": 455, + "line": 464, "column": 26 } } @@ -95924,15 +97775,15 @@ "binop": null }, "value": "b", - "start": 9599, - "end": 9600, + "start": 9772, + "end": 9773, "loc": { "start": { - "line": 455, + "line": 464, "column": 27 }, "end": { - "line": 455, + "line": 464, "column": 28 } } @@ -95950,15 +97801,15 @@ "binop": null, "updateContext": null }, - "start": 9601, - "end": 9602, + "start": 9774, + "end": 9775, "loc": { "start": { - "line": 455, + "line": 464, "column": 29 }, "end": { - "line": 455, + "line": 464, "column": 30 } } @@ -95977,15 +97828,15 @@ "updateContext": null }, "value": 0, - "start": 9603, - "end": 9604, + "start": 9776, + "end": 9777, "loc": { "start": { - "line": 455, + "line": 464, "column": 31 }, "end": { - "line": 455, + "line": 464, "column": 32 } } @@ -96003,15 +97854,15 @@ "binop": null, "updateContext": null }, - "start": 9605, - "end": 9606, + "start": 9778, + "end": 9779, "loc": { "start": { - "line": 455, + "line": 464, "column": 33 }, "end": { - "line": 455, + "line": 464, "column": 34 } } @@ -96029,15 +97880,15 @@ "binop": null }, "value": "b", - "start": 9607, - "end": 9608, + "start": 9780, + "end": 9781, "loc": { "start": { - "line": 455, + "line": 464, "column": 35 }, "end": { - "line": 455, + "line": 464, "column": 36 } } @@ -96055,15 +97906,15 @@ "binop": null, "updateContext": null }, - "start": 9608, - "end": 9609, + "start": 9781, + "end": 9782, "loc": { "start": { - "line": 455, + "line": 464, "column": 36 }, "end": { - "line": 455, + "line": 464, "column": 37 } } @@ -96081,15 +97932,15 @@ "binop": null }, "value": "length", - "start": 9609, - "end": 9615, + "start": 9782, + "end": 9788, "loc": { "start": { - "line": 455, + "line": 464, "column": 37 }, "end": { - "line": 455, + "line": 464, "column": 43 } } @@ -96106,15 +97957,15 @@ "postfix": false, "binop": null }, - "start": 9616, - "end": 9617, + "start": 9789, + "end": 9790, "loc": { "start": { - "line": 455, + "line": 464, "column": 44 }, "end": { - "line": 455, + "line": 464, "column": 45 } } @@ -96132,15 +97983,15 @@ "binop": null, "updateContext": null }, - "start": 9618, - "end": 9619, + "start": 9791, + "end": 9792, "loc": { "start": { - "line": 455, + "line": 464, "column": 46 }, "end": { - "line": 455, + "line": 464, "column": 47 } } @@ -96158,15 +98009,15 @@ "binop": null }, "value": "cmp", - "start": 9623, - "end": 9626, + "start": 9796, + "end": 9799, "loc": { "start": { - "line": 456, + "line": 465, "column": 3 }, "end": { - "line": 456, + "line": 465, "column": 6 } } @@ -96183,15 +98034,15 @@ "postfix": false, "binop": null }, - "start": 9626, - "end": 9627, + "start": 9799, + "end": 9800, "loc": { "start": { - "line": 456, + "line": 465, "column": 6 }, "end": { - "line": 456, + "line": 465, "column": 7 } } @@ -96209,15 +98060,15 @@ "binop": null }, "value": "b", - "start": 9628, - "end": 9629, + "start": 9801, + "end": 9802, "loc": { "start": { - "line": 456, + "line": 465, "column": 8 }, "end": { - "line": 456, + "line": 465, "column": 9 } } @@ -96235,15 +98086,15 @@ "binop": null, "updateContext": null }, - "start": 9630, - "end": 9631, + "start": 9803, + "end": 9804, "loc": { "start": { - "line": 456, + "line": 465, "column": 10 }, "end": { - "line": 456, + "line": 465, "column": 11 } } @@ -96262,15 +98113,15 @@ "updateContext": null }, "value": 0, - "start": 9632, - "end": 9633, + "start": 9805, + "end": 9806, "loc": { "start": { - "line": 456, + "line": 465, "column": 12 }, "end": { - "line": 456, + "line": 465, "column": 13 } } @@ -96288,15 +98139,15 @@ "binop": null, "updateContext": null }, - "start": 9634, - "end": 9635, + "start": 9807, + "end": 9808, "loc": { "start": { - "line": 456, + "line": 465, "column": 14 }, "end": { - "line": 456, + "line": 465, "column": 15 } } @@ -96314,15 +98165,15 @@ "binop": null }, "value": "b", - "start": 9636, - "end": 9637, + "start": 9809, + "end": 9810, "loc": { "start": { - "line": 456, + "line": 465, "column": 16 }, "end": { - "line": 456, + "line": 465, "column": 17 } } @@ -96340,15 +98191,15 @@ "binop": null, "updateContext": null }, - "start": 9637, - "end": 9638, + "start": 9810, + "end": 9811, "loc": { "start": { - "line": 456, + "line": 465, "column": 17 }, "end": { - "line": 456, + "line": 465, "column": 18 } } @@ -96366,15 +98217,15 @@ "binop": null }, "value": "length", - "start": 9638, - "end": 9644, + "start": 9811, + "end": 9817, "loc": { "start": { - "line": 456, + "line": 465, "column": 18 }, "end": { - "line": 456, + "line": 465, "column": 24 } } @@ -96392,15 +98243,15 @@ "binop": null, "updateContext": null }, - "start": 9645, - "end": 9646, + "start": 9818, + "end": 9819, "loc": { "start": { - "line": 456, + "line": 465, "column": 25 }, "end": { - "line": 456, + "line": 465, "column": 26 } } @@ -96418,15 +98269,15 @@ "binop": null }, "value": "a", - "start": 9647, - "end": 9648, + "start": 9820, + "end": 9821, "loc": { "start": { - "line": 456, + "line": 465, "column": 27 }, "end": { - "line": 456, + "line": 465, "column": 28 } } @@ -96444,15 +98295,15 @@ "binop": null, "updateContext": null }, - "start": 9649, - "end": 9650, + "start": 9822, + "end": 9823, "loc": { "start": { - "line": 456, + "line": 465, "column": 29 }, "end": { - "line": 456, + "line": 465, "column": 30 } } @@ -96471,15 +98322,15 @@ "updateContext": null }, "value": 0, - "start": 9651, - "end": 9652, + "start": 9824, + "end": 9825, "loc": { "start": { - "line": 456, + "line": 465, "column": 31 }, "end": { - "line": 456, + "line": 465, "column": 32 } } @@ -96497,15 +98348,15 @@ "binop": null, "updateContext": null }, - "start": 9653, - "end": 9654, + "start": 9826, + "end": 9827, "loc": { "start": { - "line": 456, + "line": 465, "column": 33 }, "end": { - "line": 456, + "line": 465, "column": 34 } } @@ -96523,15 +98374,15 @@ "binop": null }, "value": "a", - "start": 9655, - "end": 9656, + "start": 9828, + "end": 9829, "loc": { "start": { - "line": 456, + "line": 465, "column": 35 }, "end": { - "line": 456, + "line": 465, "column": 36 } } @@ -96549,15 +98400,15 @@ "binop": null, "updateContext": null }, - "start": 9656, - "end": 9657, + "start": 9829, + "end": 9830, "loc": { "start": { - "line": 456, + "line": 465, "column": 36 }, "end": { - "line": 456, + "line": 465, "column": 37 } } @@ -96575,15 +98426,15 @@ "binop": null }, "value": "length", - "start": 9657, - "end": 9663, + "start": 9830, + "end": 9836, "loc": { "start": { - "line": 456, + "line": 465, "column": 37 }, "end": { - "line": 456, + "line": 465, "column": 43 } } @@ -96600,15 +98451,15 @@ "postfix": false, "binop": null }, - "start": 9664, - "end": 9665, + "start": 9837, + "end": 9838, "loc": { "start": { - "line": 456, + "line": 465, "column": 44 }, "end": { - "line": 456, + "line": 465, "column": 45 } } @@ -96626,15 +98477,15 @@ "binop": null, "updateContext": null }, - "start": 9666, - "end": 9667, + "start": 9839, + "end": 9840, "loc": { "start": { - "line": 456, + "line": 465, "column": 46 }, "end": { - "line": 456, + "line": 465, "column": 47 } } @@ -96651,15 +98502,15 @@ "postfix": false, "binop": null }, - "start": 9670, - "end": 9671, + "start": 9843, + "end": 9844, "loc": { "start": { - "line": 458, + "line": 467, "column": 1 }, "end": { - "line": 458, + "line": 467, "column": 2 } } @@ -96677,15 +98528,15 @@ "binop": null }, "value": "cmpn", - "start": 9674, - "end": 9678, + "start": 9847, + "end": 9851, "loc": { "start": { - "line": 460, + "line": 469, "column": 1 }, "end": { - "line": 460, + "line": 469, "column": 5 } } @@ -96702,15 +98553,15 @@ "postfix": false, "binop": null }, - "start": 9679, - "end": 9680, + "start": 9852, + "end": 9853, "loc": { "start": { - "line": 460, + "line": 469, "column": 6 }, "end": { - "line": 460, + "line": 469, "column": 7 } } @@ -96728,15 +98579,15 @@ "binop": null }, "value": "number", - "start": 9681, - "end": 9687, + "start": 9854, + "end": 9860, "loc": { "start": { - "line": 460, + "line": 469, "column": 8 }, "end": { - "line": 460, + "line": 469, "column": 14 } } @@ -96753,15 +98604,15 @@ "postfix": false, "binop": null }, - "start": 9688, - "end": 9689, + "start": 9861, + "end": 9862, "loc": { "start": { - "line": 460, + "line": 469, "column": 15 }, "end": { - "line": 460, + "line": 469, "column": 16 } } @@ -96778,15 +98629,15 @@ "postfix": false, "binop": null }, - "start": 9690, - "end": 9691, + "start": 9863, + "end": 9864, "loc": { "start": { - "line": 460, + "line": 469, "column": 17 }, "end": { - "line": 460, + "line": 469, "column": 18 } } @@ -96806,15 +98657,15 @@ "updateContext": null }, "value": "return", - "start": 9694, - "end": 9700, + "start": 9867, + "end": 9873, "loc": { "start": { - "line": 461, + "line": 470, "column": 2 }, "end": { - "line": 461, + "line": 470, "column": 8 } } @@ -96834,15 +98685,15 @@ "updateContext": null }, "value": "this", - "start": 9701, - "end": 9705, + "start": 9874, + "end": 9878, "loc": { "start": { - "line": 461, + "line": 470, "column": 9 }, "end": { - "line": 461, + "line": 470, "column": 13 } } @@ -96860,15 +98711,15 @@ "binop": null, "updateContext": null }, - "start": 9705, - "end": 9706, + "start": 9878, + "end": 9879, "loc": { "start": { - "line": 461, + "line": 470, "column": 13 }, "end": { - "line": 461, + "line": 470, "column": 14 } } @@ -96886,15 +98737,15 @@ "binop": null }, "value": "cmp", - "start": 9706, - "end": 9709, + "start": 9879, + "end": 9882, "loc": { "start": { - "line": 461, + "line": 470, "column": 14 }, "end": { - "line": 461, + "line": 470, "column": 17 } } @@ -96911,15 +98762,15 @@ "postfix": false, "binop": null }, - "start": 9709, - "end": 9710, + "start": 9882, + "end": 9883, "loc": { "start": { - "line": 461, + "line": 470, "column": 17 }, "end": { - "line": 461, + "line": 470, "column": 18 } } @@ -96937,15 +98788,15 @@ "binop": null }, "value": "_from_number", - "start": 9710, - "end": 9722, + "start": 9883, + "end": 9895, "loc": { "start": { - "line": 461, + "line": 470, "column": 18 }, "end": { - "line": 461, + "line": 470, "column": 30 } } @@ -96962,15 +98813,15 @@ "postfix": false, "binop": null }, - "start": 9722, - "end": 9723, + "start": 9895, + "end": 9896, "loc": { "start": { - "line": 461, + "line": 470, "column": 30 }, "end": { - "line": 461, + "line": 470, "column": 31 } } @@ -96988,15 +98839,15 @@ "binop": null }, "value": "number", - "start": 9723, - "end": 9729, + "start": 9896, + "end": 9902, "loc": { "start": { - "line": 461, + "line": 470, "column": 31 }, "end": { - "line": 461, + "line": 470, "column": 37 } } @@ -97013,15 +98864,15 @@ "postfix": false, "binop": null }, - "start": 9729, - "end": 9730, + "start": 9902, + "end": 9903, "loc": { "start": { - "line": 461, + "line": 470, "column": 37 }, "end": { - "line": 461, + "line": 470, "column": 38 } } @@ -97038,15 +98889,15 @@ "postfix": false, "binop": null }, - "start": 9730, - "end": 9731, + "start": 9903, + "end": 9904, "loc": { "start": { - "line": 461, + "line": 470, "column": 38 }, "end": { - "line": 461, + "line": 470, "column": 39 } } @@ -97064,15 +98915,15 @@ "binop": null, "updateContext": null }, - "start": 9732, - "end": 9733, + "start": 9905, + "end": 9906, "loc": { "start": { - "line": 461, + "line": 470, "column": 40 }, "end": { - "line": 461, + "line": 470, "column": 41 } } @@ -97089,15 +98940,15 @@ "postfix": false, "binop": null }, - "start": 9735, - "end": 9736, + "start": 9908, + "end": 9909, "loc": { "start": { - "line": 462, + "line": 471, "column": 1 }, "end": { - "line": 462, + "line": 471, "column": 2 } } @@ -97115,15 +98966,15 @@ "binop": null }, "value": "eq", - "start": 9739, - "end": 9741, + "start": 9912, + "end": 9914, "loc": { "start": { - "line": 464, + "line": 473, "column": 1 }, "end": { - "line": 464, + "line": 473, "column": 3 } } @@ -97140,15 +98991,15 @@ "postfix": false, "binop": null }, - "start": 9742, - "end": 9743, + "start": 9915, + "end": 9916, "loc": { "start": { - "line": 464, + "line": 473, "column": 4 }, "end": { - "line": 464, + "line": 473, "column": 5 } } @@ -97166,15 +99017,15 @@ "binop": null }, "value": "other", - "start": 9744, - "end": 9749, + "start": 9917, + "end": 9922, "loc": { "start": { - "line": 464, + "line": 473, "column": 6 }, "end": { - "line": 464, + "line": 473, "column": 11 } } @@ -97191,15 +99042,15 @@ "postfix": false, "binop": null }, - "start": 9750, - "end": 9751, + "start": 9923, + "end": 9924, "loc": { "start": { - "line": 464, + "line": 473, "column": 12 }, "end": { - "line": 464, + "line": 473, "column": 13 } } @@ -97216,15 +99067,15 @@ "postfix": false, "binop": null }, - "start": 9752, - "end": 9753, + "start": 9925, + "end": 9926, "loc": { "start": { - "line": 464, + "line": 473, "column": 14 }, "end": { - "line": 464, + "line": 473, "column": 15 } } @@ -97244,15 +99095,15 @@ "updateContext": null }, "value": "return", - "start": 9756, - "end": 9762, + "start": 9929, + "end": 9935, "loc": { "start": { - "line": 465, + "line": 474, "column": 2 }, "end": { - "line": 465, + "line": 474, "column": 8 } } @@ -97272,15 +99123,15 @@ "updateContext": null }, "value": "this", - "start": 9763, - "end": 9767, + "start": 9936, + "end": 9940, "loc": { "start": { - "line": 465, + "line": 474, "column": 9 }, "end": { - "line": 465, + "line": 474, "column": 13 } } @@ -97298,15 +99149,15 @@ "binop": null, "updateContext": null }, - "start": 9767, - "end": 9768, + "start": 9940, + "end": 9941, "loc": { "start": { - "line": 465, + "line": 474, "column": 13 }, "end": { - "line": 465, + "line": 474, "column": 14 } } @@ -97324,15 +99175,15 @@ "binop": null }, "value": "cmp", - "start": 9768, - "end": 9771, + "start": 9941, + "end": 9944, "loc": { "start": { - "line": 465, + "line": 474, "column": 14 }, "end": { - "line": 465, + "line": 474, "column": 17 } } @@ -97349,15 +99200,15 @@ "postfix": false, "binop": null }, - "start": 9771, - "end": 9772, + "start": 9944, + "end": 9945, "loc": { "start": { - "line": 465, + "line": 474, "column": 17 }, "end": { - "line": 465, + "line": 474, "column": 18 } } @@ -97375,15 +99226,15 @@ "binop": null }, "value": "other", - "start": 9773, - "end": 9778, + "start": 9946, + "end": 9951, "loc": { "start": { - "line": 465, + "line": 474, "column": 19 }, "end": { - "line": 465, + "line": 474, "column": 24 } } @@ -97400,15 +99251,15 @@ "postfix": false, "binop": null }, - "start": 9779, - "end": 9780, + "start": 9952, + "end": 9953, "loc": { "start": { - "line": 465, + "line": 474, "column": 25 }, "end": { - "line": 465, + "line": 474, "column": 26 } } @@ -97427,15 +99278,15 @@ "updateContext": null }, "value": "===", - "start": 9781, - "end": 9784, + "start": 9954, + "end": 9957, "loc": { "start": { - "line": 465, + "line": 474, "column": 27 }, "end": { - "line": 465, + "line": 474, "column": 30 } } @@ -97454,15 +99305,15 @@ "updateContext": null }, "value": 0, - "start": 9785, - "end": 9786, + "start": 9958, + "end": 9959, "loc": { "start": { - "line": 465, + "line": 474, "column": 31 }, "end": { - "line": 465, + "line": 474, "column": 32 } } @@ -97480,15 +99331,15 @@ "binop": null, "updateContext": null }, - "start": 9787, - "end": 9788, + "start": 9960, + "end": 9961, "loc": { "start": { - "line": 465, + "line": 474, "column": 33 }, "end": { - "line": 465, + "line": 474, "column": 34 } } @@ -97505,15 +99356,15 @@ "postfix": false, "binop": null }, - "start": 9790, - "end": 9791, + "start": 9963, + "end": 9964, "loc": { "start": { - "line": 466, + "line": 475, "column": 1 }, "end": { - "line": 466, + "line": 475, "column": 2 } } @@ -97531,15 +99382,15 @@ "binop": null }, "value": "eqn", - "start": 9794, - "end": 9797, + "start": 9967, + "end": 9970, "loc": { "start": { - "line": 468, + "line": 477, "column": 1 }, "end": { - "line": 468, + "line": 477, "column": 4 } } @@ -97556,15 +99407,15 @@ "postfix": false, "binop": null }, - "start": 9798, - "end": 9799, + "start": 9971, + "end": 9972, "loc": { "start": { - "line": 468, + "line": 477, "column": 5 }, "end": { - "line": 468, + "line": 477, "column": 6 } } @@ -97582,15 +99433,15 @@ "binop": null }, "value": "number", - "start": 9800, - "end": 9806, + "start": 9973, + "end": 9979, "loc": { "start": { - "line": 468, + "line": 477, "column": 7 }, "end": { - "line": 468, + "line": 477, "column": 13 } } @@ -97607,15 +99458,15 @@ "postfix": false, "binop": null }, - "start": 9807, - "end": 9808, + "start": 9980, + "end": 9981, "loc": { "start": { - "line": 468, + "line": 477, "column": 14 }, "end": { - "line": 468, + "line": 477, "column": 15 } } @@ -97632,15 +99483,15 @@ "postfix": false, "binop": null }, - "start": 9809, - "end": 9810, + "start": 9982, + "end": 9983, "loc": { "start": { - "line": 468, + "line": 477, "column": 16 }, "end": { - "line": 468, + "line": 477, "column": 17 } } @@ -97660,15 +99511,15 @@ "updateContext": null }, "value": "return", - "start": 9813, - "end": 9819, + "start": 9986, + "end": 9992, "loc": { "start": { - "line": 469, + "line": 478, "column": 2 }, "end": { - "line": 469, + "line": 478, "column": 8 } } @@ -97688,15 +99539,15 @@ "updateContext": null }, "value": "this", - "start": 9820, - "end": 9824, + "start": 9993, + "end": 9997, "loc": { "start": { - "line": 469, + "line": 478, "column": 9 }, "end": { - "line": 469, + "line": 478, "column": 13 } } @@ -97714,15 +99565,15 @@ "binop": null, "updateContext": null }, - "start": 9824, - "end": 9825, + "start": 9997, + "end": 9998, "loc": { "start": { - "line": 469, + "line": 478, "column": 13 }, "end": { - "line": 469, + "line": 478, "column": 14 } } @@ -97740,15 +99591,15 @@ "binop": null }, "value": "cmpn", - "start": 9825, - "end": 9829, + "start": 9998, + "end": 10002, "loc": { "start": { - "line": 469, + "line": 478, "column": 14 }, "end": { - "line": 469, + "line": 478, "column": 18 } } @@ -97765,15 +99616,15 @@ "postfix": false, "binop": null }, - "start": 9829, - "end": 9830, + "start": 10002, + "end": 10003, "loc": { "start": { - "line": 469, + "line": 478, "column": 18 }, "end": { - "line": 469, + "line": 478, "column": 19 } } @@ -97791,15 +99642,15 @@ "binop": null }, "value": "number", - "start": 9831, - "end": 9837, + "start": 10004, + "end": 10010, "loc": { "start": { - "line": 469, + "line": 478, "column": 20 }, "end": { - "line": 469, + "line": 478, "column": 26 } } @@ -97816,15 +99667,15 @@ "postfix": false, "binop": null }, - "start": 9838, - "end": 9839, + "start": 10011, + "end": 10012, "loc": { "start": { - "line": 469, + "line": 478, "column": 27 }, "end": { - "line": 469, + "line": 478, "column": 28 } } @@ -97843,15 +99694,15 @@ "updateContext": null }, "value": "===", - "start": 9840, - "end": 9843, + "start": 10013, + "end": 10016, "loc": { "start": { - "line": 469, + "line": 478, "column": 29 }, "end": { - "line": 469, + "line": 478, "column": 32 } } @@ -97870,15 +99721,15 @@ "updateContext": null }, "value": 0, - "start": 9844, - "end": 9845, + "start": 10017, + "end": 10018, "loc": { "start": { - "line": 469, + "line": 478, "column": 33 }, "end": { - "line": 469, + "line": 478, "column": 34 } } @@ -97896,15 +99747,15 @@ "binop": null, "updateContext": null }, - "start": 9846, - "end": 9847, + "start": 10019, + "end": 10020, "loc": { "start": { - "line": 469, + "line": 478, "column": 35 }, "end": { - "line": 469, + "line": 478, "column": 36 } } @@ -97921,15 +99772,15 @@ "postfix": false, "binop": null }, - "start": 9849, - "end": 9850, + "start": 10022, + "end": 10023, "loc": { "start": { - "line": 470, + "line": 479, "column": 1 }, "end": { - "line": 470, + "line": 479, "column": 2 } } @@ -97947,15 +99798,15 @@ "binop": null }, "value": "ge", - "start": 9853, - "end": 9855, + "start": 10026, + "end": 10028, "loc": { "start": { - "line": 472, + "line": 481, "column": 1 }, "end": { - "line": 472, + "line": 481, "column": 3 } } @@ -97972,15 +99823,15 @@ "postfix": false, "binop": null }, - "start": 9856, - "end": 9857, + "start": 10029, + "end": 10030, "loc": { "start": { - "line": 472, + "line": 481, "column": 4 }, "end": { - "line": 472, + "line": 481, "column": 5 } } @@ -97998,15 +99849,15 @@ "binop": null }, "value": "other", - "start": 9858, - "end": 9863, + "start": 10031, + "end": 10036, "loc": { "start": { - "line": 472, + "line": 481, "column": 6 }, "end": { - "line": 472, + "line": 481, "column": 11 } } @@ -98023,15 +99874,15 @@ "postfix": false, "binop": null }, - "start": 9864, - "end": 9865, + "start": 10037, + "end": 10038, "loc": { "start": { - "line": 472, + "line": 481, "column": 12 }, "end": { - "line": 472, + "line": 481, "column": 13 } } @@ -98048,15 +99899,15 @@ "postfix": false, "binop": null }, - "start": 9866, - "end": 9867, + "start": 10039, + "end": 10040, "loc": { "start": { - "line": 472, + "line": 481, "column": 14 }, "end": { - "line": 472, + "line": 481, "column": 15 } } @@ -98076,15 +99927,15 @@ "updateContext": null }, "value": "return", - "start": 9870, - "end": 9876, + "start": 10043, + "end": 10049, "loc": { "start": { - "line": 473, + "line": 482, "column": 2 }, "end": { - "line": 473, + "line": 482, "column": 8 } } @@ -98104,15 +99955,15 @@ "updateContext": null }, "value": "this", - "start": 9877, - "end": 9881, + "start": 10050, + "end": 10054, "loc": { "start": { - "line": 473, + "line": 482, "column": 9 }, "end": { - "line": 473, + "line": 482, "column": 13 } } @@ -98130,15 +99981,15 @@ "binop": null, "updateContext": null }, - "start": 9881, - "end": 9882, + "start": 10054, + "end": 10055, "loc": { "start": { - "line": 473, + "line": 482, "column": 13 }, "end": { - "line": 473, + "line": 482, "column": 14 } } @@ -98156,15 +100007,15 @@ "binop": null }, "value": "cmp", - "start": 9882, - "end": 9885, + "start": 10055, + "end": 10058, "loc": { "start": { - "line": 473, + "line": 482, "column": 14 }, "end": { - "line": 473, + "line": 482, "column": 17 } } @@ -98181,15 +100032,15 @@ "postfix": false, "binop": null }, - "start": 9885, - "end": 9886, + "start": 10058, + "end": 10059, "loc": { "start": { - "line": 473, + "line": 482, "column": 17 }, "end": { - "line": 473, + "line": 482, "column": 18 } } @@ -98207,15 +100058,15 @@ "binop": null }, "value": "other", - "start": 9887, - "end": 9892, + "start": 10060, + "end": 10065, "loc": { "start": { - "line": 473, + "line": 482, "column": 19 }, "end": { - "line": 473, + "line": 482, "column": 24 } } @@ -98232,15 +100083,15 @@ "postfix": false, "binop": null }, - "start": 9893, - "end": 9894, + "start": 10066, + "end": 10067, "loc": { "start": { - "line": 473, + "line": 482, "column": 25 }, "end": { - "line": 473, + "line": 482, "column": 26 } } @@ -98259,15 +100110,15 @@ "updateContext": null }, "value": ">=", - "start": 9895, - "end": 9897, + "start": 10068, + "end": 10070, "loc": { "start": { - "line": 473, + "line": 482, "column": 27 }, "end": { - "line": 473, + "line": 482, "column": 29 } } @@ -98286,15 +100137,15 @@ "updateContext": null }, "value": 0, - "start": 9898, - "end": 9899, + "start": 10071, + "end": 10072, "loc": { "start": { - "line": 473, + "line": 482, "column": 30 }, "end": { - "line": 473, + "line": 482, "column": 31 } } @@ -98312,15 +100163,15 @@ "binop": null, "updateContext": null }, - "start": 9900, - "end": 9901, + "start": 10073, + "end": 10074, "loc": { "start": { - "line": 473, + "line": 482, "column": 32 }, "end": { - "line": 473, + "line": 482, "column": 33 } } @@ -98337,15 +100188,15 @@ "postfix": false, "binop": null }, - "start": 9903, - "end": 9904, + "start": 10076, + "end": 10077, "loc": { "start": { - "line": 474, + "line": 483, "column": 1 }, "end": { - "line": 474, + "line": 483, "column": 2 } } @@ -98363,15 +100214,15 @@ "binop": null }, "value": "gen", - "start": 9907, - "end": 9910, + "start": 10080, + "end": 10083, "loc": { "start": { - "line": 476, + "line": 485, "column": 1 }, "end": { - "line": 476, + "line": 485, "column": 4 } } @@ -98388,15 +100239,15 @@ "postfix": false, "binop": null }, - "start": 9911, - "end": 9912, + "start": 10084, + "end": 10085, "loc": { "start": { - "line": 476, + "line": 485, "column": 5 }, "end": { - "line": 476, + "line": 485, "column": 6 } } @@ -98414,15 +100265,15 @@ "binop": null }, "value": "number", - "start": 9913, - "end": 9919, + "start": 10086, + "end": 10092, "loc": { "start": { - "line": 476, + "line": 485, "column": 7 }, "end": { - "line": 476, + "line": 485, "column": 13 } } @@ -98439,15 +100290,15 @@ "postfix": false, "binop": null }, - "start": 9920, - "end": 9921, + "start": 10093, + "end": 10094, "loc": { "start": { - "line": 476, + "line": 485, "column": 14 }, "end": { - "line": 476, + "line": 485, "column": 15 } } @@ -98464,15 +100315,15 @@ "postfix": false, "binop": null }, - "start": 9922, - "end": 9923, + "start": 10095, + "end": 10096, "loc": { "start": { - "line": 476, + "line": 485, "column": 16 }, "end": { - "line": 476, + "line": 485, "column": 17 } } @@ -98492,15 +100343,15 @@ "updateContext": null }, "value": "return", - "start": 9926, - "end": 9932, + "start": 10099, + "end": 10105, "loc": { "start": { - "line": 477, + "line": 486, "column": 2 }, "end": { - "line": 477, + "line": 486, "column": 8 } } @@ -98520,15 +100371,15 @@ "updateContext": null }, "value": "this", - "start": 9933, - "end": 9937, + "start": 10106, + "end": 10110, "loc": { "start": { - "line": 477, + "line": 486, "column": 9 }, "end": { - "line": 477, + "line": 486, "column": 13 } } @@ -98546,15 +100397,15 @@ "binop": null, "updateContext": null }, - "start": 9937, - "end": 9938, + "start": 10110, + "end": 10111, "loc": { "start": { - "line": 477, + "line": 486, "column": 13 }, "end": { - "line": 477, + "line": 486, "column": 14 } } @@ -98572,15 +100423,15 @@ "binop": null }, "value": "cmpn", - "start": 9938, - "end": 9942, + "start": 10111, + "end": 10115, "loc": { "start": { - "line": 477, + "line": 486, "column": 14 }, "end": { - "line": 477, + "line": 486, "column": 18 } } @@ -98597,15 +100448,15 @@ "postfix": false, "binop": null }, - "start": 9942, - "end": 9943, + "start": 10115, + "end": 10116, "loc": { "start": { - "line": 477, + "line": 486, "column": 18 }, "end": { - "line": 477, + "line": 486, "column": 19 } } @@ -98623,15 +100474,15 @@ "binop": null }, "value": "number", - "start": 9944, - "end": 9950, + "start": 10117, + "end": 10123, "loc": { "start": { - "line": 477, + "line": 486, "column": 20 }, "end": { - "line": 477, + "line": 486, "column": 26 } } @@ -98648,15 +100499,15 @@ "postfix": false, "binop": null }, - "start": 9951, - "end": 9952, + "start": 10124, + "end": 10125, "loc": { "start": { - "line": 477, + "line": 486, "column": 27 }, "end": { - "line": 477, + "line": 486, "column": 28 } } @@ -98675,15 +100526,15 @@ "updateContext": null }, "value": ">=", - "start": 9953, - "end": 9955, + "start": 10126, + "end": 10128, "loc": { "start": { - "line": 477, + "line": 486, "column": 29 }, "end": { - "line": 477, + "line": 486, "column": 31 } } @@ -98702,15 +100553,15 @@ "updateContext": null }, "value": 0, - "start": 9956, - "end": 9957, + "start": 10129, + "end": 10130, "loc": { "start": { - "line": 477, + "line": 486, "column": 32 }, "end": { - "line": 477, + "line": 486, "column": 33 } } @@ -98728,15 +100579,15 @@ "binop": null, "updateContext": null }, - "start": 9958, - "end": 9959, + "start": 10131, + "end": 10132, "loc": { "start": { - "line": 477, + "line": 486, "column": 34 }, "end": { - "line": 477, + "line": 486, "column": 35 } } @@ -98753,15 +100604,15 @@ "postfix": false, "binop": null }, - "start": 9961, - "end": 9962, + "start": 10134, + "end": 10135, "loc": { "start": { - "line": 478, + "line": 487, "column": 1 }, "end": { - "line": 478, + "line": 487, "column": 2 } } @@ -98779,15 +100630,15 @@ "binop": null }, "value": "gt", - "start": 9965, - "end": 9967, + "start": 10138, + "end": 10140, "loc": { "start": { - "line": 480, + "line": 489, "column": 1 }, "end": { - "line": 480, + "line": 489, "column": 3 } } @@ -98804,15 +100655,15 @@ "postfix": false, "binop": null }, - "start": 9968, - "end": 9969, + "start": 10141, + "end": 10142, "loc": { "start": { - "line": 480, + "line": 489, "column": 4 }, "end": { - "line": 480, + "line": 489, "column": 5 } } @@ -98830,15 +100681,15 @@ "binop": null }, "value": "other", - "start": 9970, - "end": 9975, + "start": 10143, + "end": 10148, "loc": { "start": { - "line": 480, + "line": 489, "column": 6 }, "end": { - "line": 480, + "line": 489, "column": 11 } } @@ -98855,15 +100706,15 @@ "postfix": false, "binop": null }, - "start": 9976, - "end": 9977, + "start": 10149, + "end": 10150, "loc": { "start": { - "line": 480, + "line": 489, "column": 12 }, "end": { - "line": 480, + "line": 489, "column": 13 } } @@ -98880,15 +100731,15 @@ "postfix": false, "binop": null }, - "start": 9978, - "end": 9979, + "start": 10151, + "end": 10152, "loc": { "start": { - "line": 480, + "line": 489, "column": 14 }, "end": { - "line": 480, + "line": 489, "column": 15 } } @@ -98908,15 +100759,15 @@ "updateContext": null }, "value": "return", - "start": 9982, - "end": 9988, + "start": 10155, + "end": 10161, "loc": { "start": { - "line": 481, + "line": 490, "column": 2 }, "end": { - "line": 481, + "line": 490, "column": 8 } } @@ -98936,15 +100787,15 @@ "updateContext": null }, "value": "this", - "start": 9989, - "end": 9993, + "start": 10162, + "end": 10166, "loc": { "start": { - "line": 481, + "line": 490, "column": 9 }, "end": { - "line": 481, + "line": 490, "column": 13 } } @@ -98962,15 +100813,15 @@ "binop": null, "updateContext": null }, - "start": 9993, - "end": 9994, + "start": 10166, + "end": 10167, "loc": { "start": { - "line": 481, + "line": 490, "column": 13 }, "end": { - "line": 481, + "line": 490, "column": 14 } } @@ -98988,15 +100839,15 @@ "binop": null }, "value": "cmp", - "start": 9994, - "end": 9997, + "start": 10167, + "end": 10170, "loc": { "start": { - "line": 481, + "line": 490, "column": 14 }, "end": { - "line": 481, + "line": 490, "column": 17 } } @@ -99013,15 +100864,15 @@ "postfix": false, "binop": null }, - "start": 9997, - "end": 9998, + "start": 10170, + "end": 10171, "loc": { "start": { - "line": 481, + "line": 490, "column": 17 }, "end": { - "line": 481, + "line": 490, "column": 18 } } @@ -99039,15 +100890,15 @@ "binop": null }, "value": "other", - "start": 9999, - "end": 10004, + "start": 10172, + "end": 10177, "loc": { "start": { - "line": 481, + "line": 490, "column": 19 }, "end": { - "line": 481, + "line": 490, "column": 24 } } @@ -99064,15 +100915,15 @@ "postfix": false, "binop": null }, - "start": 10005, - "end": 10006, + "start": 10178, + "end": 10179, "loc": { "start": { - "line": 481, + "line": 490, "column": 25 }, "end": { - "line": 481, + "line": 490, "column": 26 } } @@ -99091,15 +100942,15 @@ "updateContext": null }, "value": ">", - "start": 10007, - "end": 10008, + "start": 10180, + "end": 10181, "loc": { "start": { - "line": 481, + "line": 490, "column": 27 }, "end": { - "line": 481, + "line": 490, "column": 28 } } @@ -99118,15 +100969,15 @@ "updateContext": null }, "value": 0, - "start": 10009, - "end": 10010, + "start": 10182, + "end": 10183, "loc": { "start": { - "line": 481, + "line": 490, "column": 29 }, "end": { - "line": 481, + "line": 490, "column": 30 } } @@ -99144,15 +100995,15 @@ "binop": null, "updateContext": null }, - "start": 10011, - "end": 10012, + "start": 10184, + "end": 10185, "loc": { "start": { - "line": 481, + "line": 490, "column": 31 }, "end": { - "line": 481, + "line": 490, "column": 32 } } @@ -99169,15 +101020,15 @@ "postfix": false, "binop": null }, - "start": 10014, - "end": 10015, + "start": 10187, + "end": 10188, "loc": { "start": { - "line": 482, + "line": 491, "column": 1 }, "end": { - "line": 482, + "line": 491, "column": 2 } } @@ -99195,15 +101046,15 @@ "binop": null }, "value": "gtn", - "start": 10018, - "end": 10021, + "start": 10191, + "end": 10194, "loc": { "start": { - "line": 484, + "line": 493, "column": 1 }, "end": { - "line": 484, + "line": 493, "column": 4 } } @@ -99220,15 +101071,15 @@ "postfix": false, "binop": null }, - "start": 10022, - "end": 10023, + "start": 10195, + "end": 10196, "loc": { "start": { - "line": 484, + "line": 493, "column": 5 }, "end": { - "line": 484, + "line": 493, "column": 6 } } @@ -99246,15 +101097,15 @@ "binop": null }, "value": "number", - "start": 10024, - "end": 10030, + "start": 10197, + "end": 10203, "loc": { "start": { - "line": 484, + "line": 493, "column": 7 }, "end": { - "line": 484, + "line": 493, "column": 13 } } @@ -99271,15 +101122,15 @@ "postfix": false, "binop": null }, - "start": 10031, - "end": 10032, + "start": 10204, + "end": 10205, "loc": { "start": { - "line": 484, + "line": 493, "column": 14 }, "end": { - "line": 484, + "line": 493, "column": 15 } } @@ -99296,15 +101147,15 @@ "postfix": false, "binop": null }, - "start": 10033, - "end": 10034, + "start": 10206, + "end": 10207, "loc": { "start": { - "line": 484, + "line": 493, "column": 16 }, "end": { - "line": 484, + "line": 493, "column": 17 } } @@ -99324,15 +101175,15 @@ "updateContext": null }, "value": "return", - "start": 10037, - "end": 10043, + "start": 10210, + "end": 10216, "loc": { "start": { - "line": 485, + "line": 494, "column": 2 }, "end": { - "line": 485, + "line": 494, "column": 8 } } @@ -99352,15 +101203,15 @@ "updateContext": null }, "value": "this", - "start": 10044, - "end": 10048, + "start": 10217, + "end": 10221, "loc": { "start": { - "line": 485, + "line": 494, "column": 9 }, "end": { - "line": 485, + "line": 494, "column": 13 } } @@ -99378,15 +101229,15 @@ "binop": null, "updateContext": null }, - "start": 10048, - "end": 10049, + "start": 10221, + "end": 10222, "loc": { "start": { - "line": 485, + "line": 494, "column": 13 }, "end": { - "line": 485, + "line": 494, "column": 14 } } @@ -99404,15 +101255,15 @@ "binop": null }, "value": "cmpn", - "start": 10049, - "end": 10053, + "start": 10222, + "end": 10226, "loc": { "start": { - "line": 485, + "line": 494, "column": 14 }, "end": { - "line": 485, + "line": 494, "column": 18 } } @@ -99429,15 +101280,15 @@ "postfix": false, "binop": null }, - "start": 10053, - "end": 10054, + "start": 10226, + "end": 10227, "loc": { "start": { - "line": 485, + "line": 494, "column": 18 }, "end": { - "line": 485, + "line": 494, "column": 19 } } @@ -99455,15 +101306,15 @@ "binop": null }, "value": "number", - "start": 10055, - "end": 10061, + "start": 10228, + "end": 10234, "loc": { "start": { - "line": 485, + "line": 494, "column": 20 }, "end": { - "line": 485, + "line": 494, "column": 26 } } @@ -99480,15 +101331,15 @@ "postfix": false, "binop": null }, - "start": 10062, - "end": 10063, + "start": 10235, + "end": 10236, "loc": { "start": { - "line": 485, + "line": 494, "column": 27 }, "end": { - "line": 485, + "line": 494, "column": 28 } } @@ -99507,15 +101358,15 @@ "updateContext": null }, "value": ">", - "start": 10064, - "end": 10065, + "start": 10237, + "end": 10238, "loc": { "start": { - "line": 485, + "line": 494, "column": 29 }, "end": { - "line": 485, + "line": 494, "column": 30 } } @@ -99534,15 +101385,15 @@ "updateContext": null }, "value": 0, - "start": 10066, - "end": 10067, + "start": 10239, + "end": 10240, "loc": { "start": { - "line": 485, + "line": 494, "column": 31 }, "end": { - "line": 485, + "line": 494, "column": 32 } } @@ -99560,15 +101411,15 @@ "binop": null, "updateContext": null }, - "start": 10068, - "end": 10069, + "start": 10241, + "end": 10242, "loc": { "start": { - "line": 485, + "line": 494, "column": 33 }, "end": { - "line": 485, + "line": 494, "column": 34 } } @@ -99585,15 +101436,15 @@ "postfix": false, "binop": null }, - "start": 10071, - "end": 10072, + "start": 10244, + "end": 10245, "loc": { "start": { - "line": 486, + "line": 495, "column": 1 }, "end": { - "line": 486, + "line": 495, "column": 2 } } @@ -99611,15 +101462,15 @@ "binop": null }, "value": "le", - "start": 10075, - "end": 10077, + "start": 10248, + "end": 10250, "loc": { "start": { - "line": 488, + "line": 497, "column": 1 }, "end": { - "line": 488, + "line": 497, "column": 3 } } @@ -99636,15 +101487,15 @@ "postfix": false, "binop": null }, - "start": 10078, - "end": 10079, + "start": 10251, + "end": 10252, "loc": { "start": { - "line": 488, + "line": 497, "column": 4 }, "end": { - "line": 488, + "line": 497, "column": 5 } } @@ -99662,15 +101513,15 @@ "binop": null }, "value": "other", - "start": 10080, - "end": 10085, + "start": 10253, + "end": 10258, "loc": { "start": { - "line": 488, + "line": 497, "column": 6 }, "end": { - "line": 488, + "line": 497, "column": 11 } } @@ -99687,15 +101538,15 @@ "postfix": false, "binop": null }, - "start": 10086, - "end": 10087, + "start": 10259, + "end": 10260, "loc": { "start": { - "line": 488, + "line": 497, "column": 12 }, "end": { - "line": 488, + "line": 497, "column": 13 } } @@ -99712,15 +101563,15 @@ "postfix": false, "binop": null }, - "start": 10088, - "end": 10089, + "start": 10261, + "end": 10262, "loc": { "start": { - "line": 488, + "line": 497, "column": 14 }, "end": { - "line": 488, + "line": 497, "column": 15 } } @@ -99740,15 +101591,15 @@ "updateContext": null }, "value": "return", - "start": 10092, - "end": 10098, + "start": 10265, + "end": 10271, "loc": { "start": { - "line": 489, + "line": 498, "column": 2 }, "end": { - "line": 489, + "line": 498, "column": 8 } } @@ -99768,15 +101619,15 @@ "updateContext": null }, "value": "this", - "start": 10099, - "end": 10103, + "start": 10272, + "end": 10276, "loc": { "start": { - "line": 489, + "line": 498, "column": 9 }, "end": { - "line": 489, + "line": 498, "column": 13 } } @@ -99794,15 +101645,15 @@ "binop": null, "updateContext": null }, - "start": 10103, - "end": 10104, + "start": 10276, + "end": 10277, "loc": { "start": { - "line": 489, + "line": 498, "column": 13 }, "end": { - "line": 489, + "line": 498, "column": 14 } } @@ -99820,15 +101671,15 @@ "binop": null }, "value": "cmp", - "start": 10104, - "end": 10107, + "start": 10277, + "end": 10280, "loc": { "start": { - "line": 489, + "line": 498, "column": 14 }, "end": { - "line": 489, + "line": 498, "column": 17 } } @@ -99845,15 +101696,15 @@ "postfix": false, "binop": null }, - "start": 10107, - "end": 10108, + "start": 10280, + "end": 10281, "loc": { "start": { - "line": 489, + "line": 498, "column": 17 }, "end": { - "line": 489, + "line": 498, "column": 18 } } @@ -99871,15 +101722,15 @@ "binop": null }, "value": "other", - "start": 10109, - "end": 10114, + "start": 10282, + "end": 10287, "loc": { "start": { - "line": 489, + "line": 498, "column": 19 }, "end": { - "line": 489, + "line": 498, "column": 24 } } @@ -99896,15 +101747,15 @@ "postfix": false, "binop": null }, - "start": 10115, - "end": 10116, + "start": 10288, + "end": 10289, "loc": { "start": { - "line": 489, + "line": 498, "column": 25 }, "end": { - "line": 489, + "line": 498, "column": 26 } } @@ -99923,15 +101774,15 @@ "updateContext": null }, "value": "<=", - "start": 10117, - "end": 10119, + "start": 10290, + "end": 10292, "loc": { "start": { - "line": 489, + "line": 498, "column": 27 }, "end": { - "line": 489, + "line": 498, "column": 29 } } @@ -99950,15 +101801,15 @@ "updateContext": null }, "value": 0, - "start": 10120, - "end": 10121, + "start": 10293, + "end": 10294, "loc": { "start": { - "line": 489, + "line": 498, "column": 30 }, "end": { - "line": 489, + "line": 498, "column": 31 } } @@ -99976,15 +101827,15 @@ "binop": null, "updateContext": null }, - "start": 10122, - "end": 10123, + "start": 10295, + "end": 10296, "loc": { "start": { - "line": 489, + "line": 498, "column": 32 }, "end": { - "line": 489, + "line": 498, "column": 33 } } @@ -100001,15 +101852,15 @@ "postfix": false, "binop": null }, - "start": 10125, - "end": 10126, + "start": 10298, + "end": 10299, "loc": { "start": { - "line": 490, + "line": 499, "column": 1 }, "end": { - "line": 490, + "line": 499, "column": 2 } } @@ -100027,15 +101878,15 @@ "binop": null }, "value": "len", - "start": 10129, - "end": 10132, + "start": 10302, + "end": 10305, "loc": { "start": { - "line": 492, + "line": 501, "column": 1 }, "end": { - "line": 492, + "line": 501, "column": 4 } } @@ -100052,15 +101903,15 @@ "postfix": false, "binop": null }, - "start": 10133, - "end": 10134, + "start": 10306, + "end": 10307, "loc": { "start": { - "line": 492, + "line": 501, "column": 5 }, "end": { - "line": 492, + "line": 501, "column": 6 } } @@ -100078,15 +101929,15 @@ "binop": null }, "value": "number", - "start": 10135, - "end": 10141, + "start": 10308, + "end": 10314, "loc": { "start": { - "line": 492, + "line": 501, "column": 7 }, "end": { - "line": 492, + "line": 501, "column": 13 } } @@ -100103,15 +101954,15 @@ "postfix": false, "binop": null }, - "start": 10142, - "end": 10143, + "start": 10315, + "end": 10316, "loc": { "start": { - "line": 492, + "line": 501, "column": 14 }, "end": { - "line": 492, + "line": 501, "column": 15 } } @@ -100128,15 +101979,15 @@ "postfix": false, "binop": null }, - "start": 10144, - "end": 10145, + "start": 10317, + "end": 10318, "loc": { "start": { - "line": 492, + "line": 501, "column": 16 }, "end": { - "line": 492, + "line": 501, "column": 17 } } @@ -100156,15 +102007,15 @@ "updateContext": null }, "value": "return", - "start": 10148, - "end": 10154, + "start": 10321, + "end": 10327, "loc": { "start": { - "line": 493, + "line": 502, "column": 2 }, "end": { - "line": 493, + "line": 502, "column": 8 } } @@ -100184,15 +102035,15 @@ "updateContext": null }, "value": "this", - "start": 10155, - "end": 10159, + "start": 10328, + "end": 10332, "loc": { "start": { - "line": 493, + "line": 502, "column": 9 }, "end": { - "line": 493, + "line": 502, "column": 13 } } @@ -100210,15 +102061,15 @@ "binop": null, "updateContext": null }, - "start": 10159, - "end": 10160, + "start": 10332, + "end": 10333, "loc": { "start": { - "line": 493, + "line": 502, "column": 13 }, "end": { - "line": 493, + "line": 502, "column": 14 } } @@ -100236,15 +102087,15 @@ "binop": null }, "value": "cmpn", - "start": 10160, - "end": 10164, + "start": 10333, + "end": 10337, "loc": { "start": { - "line": 493, + "line": 502, "column": 14 }, "end": { - "line": 493, + "line": 502, "column": 18 } } @@ -100261,15 +102112,15 @@ "postfix": false, "binop": null }, - "start": 10164, - "end": 10165, + "start": 10337, + "end": 10338, "loc": { "start": { - "line": 493, + "line": 502, "column": 18 }, "end": { - "line": 493, + "line": 502, "column": 19 } } @@ -100287,15 +102138,15 @@ "binop": null }, "value": "number", - "start": 10166, - "end": 10172, + "start": 10339, + "end": 10345, "loc": { "start": { - "line": 493, + "line": 502, "column": 20 }, "end": { - "line": 493, + "line": 502, "column": 26 } } @@ -100312,15 +102163,15 @@ "postfix": false, "binop": null }, - "start": 10173, - "end": 10174, + "start": 10346, + "end": 10347, "loc": { "start": { - "line": 493, + "line": 502, "column": 27 }, "end": { - "line": 493, + "line": 502, "column": 28 } } @@ -100339,15 +102190,15 @@ "updateContext": null }, "value": "<=", - "start": 10175, - "end": 10177, + "start": 10348, + "end": 10350, "loc": { "start": { - "line": 493, + "line": 502, "column": 29 }, "end": { - "line": 493, + "line": 502, "column": 31 } } @@ -100366,15 +102217,15 @@ "updateContext": null }, "value": 0, - "start": 10178, - "end": 10179, + "start": 10351, + "end": 10352, "loc": { "start": { - "line": 493, + "line": 502, "column": 32 }, "end": { - "line": 493, + "line": 502, "column": 33 } } @@ -100392,15 +102243,15 @@ "binop": null, "updateContext": null }, - "start": 10180, - "end": 10181, + "start": 10353, + "end": 10354, "loc": { "start": { - "line": 493, + "line": 502, "column": 34 }, "end": { - "line": 493, + "line": 502, "column": 35 } } @@ -100417,15 +102268,15 @@ "postfix": false, "binop": null }, - "start": 10183, - "end": 10184, + "start": 10356, + "end": 10357, "loc": { "start": { - "line": 494, + "line": 503, "column": 1 }, "end": { - "line": 494, + "line": 503, "column": 2 } } @@ -100443,15 +102294,15 @@ "binop": null }, "value": "lt", - "start": 10187, - "end": 10189, + "start": 10360, + "end": 10362, "loc": { "start": { - "line": 496, + "line": 505, "column": 1 }, "end": { - "line": 496, + "line": 505, "column": 3 } } @@ -100468,15 +102319,15 @@ "postfix": false, "binop": null }, - "start": 10190, - "end": 10191, + "start": 10363, + "end": 10364, "loc": { "start": { - "line": 496, + "line": 505, "column": 4 }, "end": { - "line": 496, + "line": 505, "column": 5 } } @@ -100494,15 +102345,15 @@ "binop": null }, "value": "other", - "start": 10192, - "end": 10197, + "start": 10365, + "end": 10370, "loc": { "start": { - "line": 496, + "line": 505, "column": 6 }, "end": { - "line": 496, + "line": 505, "column": 11 } } @@ -100519,15 +102370,15 @@ "postfix": false, "binop": null }, - "start": 10198, - "end": 10199, + "start": 10371, + "end": 10372, "loc": { "start": { - "line": 496, + "line": 505, "column": 12 }, "end": { - "line": 496, + "line": 505, "column": 13 } } @@ -100544,15 +102395,15 @@ "postfix": false, "binop": null }, - "start": 10200, - "end": 10201, + "start": 10373, + "end": 10374, "loc": { "start": { - "line": 496, + "line": 505, "column": 14 }, "end": { - "line": 496, + "line": 505, "column": 15 } } @@ -100572,15 +102423,15 @@ "updateContext": null }, "value": "return", - "start": 10204, - "end": 10210, + "start": 10377, + "end": 10383, "loc": { "start": { - "line": 497, + "line": 506, "column": 2 }, "end": { - "line": 497, + "line": 506, "column": 8 } } @@ -100600,15 +102451,15 @@ "updateContext": null }, "value": "this", - "start": 10211, - "end": 10215, + "start": 10384, + "end": 10388, "loc": { "start": { - "line": 497, + "line": 506, "column": 9 }, "end": { - "line": 497, + "line": 506, "column": 13 } } @@ -100626,15 +102477,15 @@ "binop": null, "updateContext": null }, - "start": 10215, - "end": 10216, + "start": 10388, + "end": 10389, "loc": { "start": { - "line": 497, + "line": 506, "column": 13 }, "end": { - "line": 497, + "line": 506, "column": 14 } } @@ -100652,15 +102503,15 @@ "binop": null }, "value": "cmp", - "start": 10216, - "end": 10219, + "start": 10389, + "end": 10392, "loc": { "start": { - "line": 497, + "line": 506, "column": 14 }, "end": { - "line": 497, + "line": 506, "column": 17 } } @@ -100677,15 +102528,15 @@ "postfix": false, "binop": null }, - "start": 10219, - "end": 10220, + "start": 10392, + "end": 10393, "loc": { "start": { - "line": 497, + "line": 506, "column": 17 }, "end": { - "line": 497, + "line": 506, "column": 18 } } @@ -100703,15 +102554,15 @@ "binop": null }, "value": "other", - "start": 10221, - "end": 10226, + "start": 10394, + "end": 10399, "loc": { "start": { - "line": 497, + "line": 506, "column": 19 }, "end": { - "line": 497, + "line": 506, "column": 24 } } @@ -100728,15 +102579,15 @@ "postfix": false, "binop": null }, - "start": 10227, - "end": 10228, + "start": 10400, + "end": 10401, "loc": { "start": { - "line": 497, + "line": 506, "column": 25 }, "end": { - "line": 497, + "line": 506, "column": 26 } } @@ -100755,15 +102606,15 @@ "updateContext": null }, "value": "<", - "start": 10229, - "end": 10230, + "start": 10402, + "end": 10403, "loc": { "start": { - "line": 497, + "line": 506, "column": 27 }, "end": { - "line": 497, + "line": 506, "column": 28 } } @@ -100782,15 +102633,15 @@ "updateContext": null }, "value": 0, - "start": 10231, - "end": 10232, + "start": 10404, + "end": 10405, "loc": { "start": { - "line": 497, + "line": 506, "column": 29 }, "end": { - "line": 497, + "line": 506, "column": 30 } } @@ -100808,15 +102659,15 @@ "binop": null, "updateContext": null }, - "start": 10233, - "end": 10234, + "start": 10406, + "end": 10407, "loc": { "start": { - "line": 497, + "line": 506, "column": 31 }, "end": { - "line": 497, + "line": 506, "column": 32 } } @@ -100833,15 +102684,15 @@ "postfix": false, "binop": null }, - "start": 10236, - "end": 10237, + "start": 10409, + "end": 10410, "loc": { "start": { - "line": 498, + "line": 507, "column": 1 }, "end": { - "line": 498, + "line": 507, "column": 2 } } @@ -100859,15 +102710,15 @@ "binop": null }, "value": "ltn", - "start": 10240, - "end": 10243, + "start": 10413, + "end": 10416, "loc": { "start": { - "line": 500, + "line": 509, "column": 1 }, "end": { - "line": 500, + "line": 509, "column": 4 } } @@ -100884,15 +102735,15 @@ "postfix": false, "binop": null }, - "start": 10244, - "end": 10245, + "start": 10417, + "end": 10418, "loc": { "start": { - "line": 500, + "line": 509, "column": 5 }, "end": { - "line": 500, + "line": 509, "column": 6 } } @@ -100910,15 +102761,15 @@ "binop": null }, "value": "number", - "start": 10246, - "end": 10252, + "start": 10419, + "end": 10425, "loc": { "start": { - "line": 500, + "line": 509, "column": 7 }, "end": { - "line": 500, + "line": 509, "column": 13 } } @@ -100935,15 +102786,15 @@ "postfix": false, "binop": null }, - "start": 10253, - "end": 10254, + "start": 10426, + "end": 10427, "loc": { "start": { - "line": 500, + "line": 509, "column": 14 }, "end": { - "line": 500, + "line": 509, "column": 15 } } @@ -100960,15 +102811,15 @@ "postfix": false, "binop": null }, - "start": 10255, - "end": 10256, + "start": 10428, + "end": 10429, "loc": { "start": { - "line": 500, + "line": 509, "column": 16 }, "end": { - "line": 500, + "line": 509, "column": 17 } } @@ -100988,15 +102839,15 @@ "updateContext": null }, "value": "return", - "start": 10259, - "end": 10265, + "start": 10432, + "end": 10438, "loc": { "start": { - "line": 501, + "line": 510, "column": 2 }, "end": { - "line": 501, + "line": 510, "column": 8 } } @@ -101016,15 +102867,15 @@ "updateContext": null }, "value": "this", - "start": 10266, - "end": 10270, + "start": 10439, + "end": 10443, "loc": { "start": { - "line": 501, + "line": 510, "column": 9 }, "end": { - "line": 501, + "line": 510, "column": 13 } } @@ -101042,15 +102893,15 @@ "binop": null, "updateContext": null }, - "start": 10270, - "end": 10271, + "start": 10443, + "end": 10444, "loc": { "start": { - "line": 501, + "line": 510, "column": 13 }, "end": { - "line": 501, + "line": 510, "column": 14 } } @@ -101068,15 +102919,15 @@ "binop": null }, "value": "cmpn", - "start": 10271, - "end": 10275, + "start": 10444, + "end": 10448, "loc": { "start": { - "line": 501, + "line": 510, "column": 14 }, "end": { - "line": 501, + "line": 510, "column": 18 } } @@ -101093,15 +102944,15 @@ "postfix": false, "binop": null }, - "start": 10275, - "end": 10276, + "start": 10448, + "end": 10449, "loc": { "start": { - "line": 501, + "line": 510, "column": 18 }, "end": { - "line": 501, + "line": 510, "column": 19 } } @@ -101119,15 +102970,15 @@ "binop": null }, "value": "number", - "start": 10277, - "end": 10283, + "start": 10450, + "end": 10456, "loc": { "start": { - "line": 501, + "line": 510, "column": 20 }, "end": { - "line": 501, + "line": 510, "column": 26 } } @@ -101144,15 +102995,15 @@ "postfix": false, "binop": null }, - "start": 10284, - "end": 10285, + "start": 10457, + "end": 10458, "loc": { "start": { - "line": 501, + "line": 510, "column": 27 }, "end": { - "line": 501, + "line": 510, "column": 28 } } @@ -101171,15 +103022,15 @@ "updateContext": null }, "value": "<", - "start": 10286, - "end": 10287, + "start": 10459, + "end": 10460, "loc": { "start": { - "line": 501, + "line": 510, "column": 29 }, "end": { - "line": 501, + "line": 510, "column": 30 } } @@ -101198,15 +103049,15 @@ "updateContext": null }, "value": 0, - "start": 10288, - "end": 10289, + "start": 10461, + "end": 10462, "loc": { "start": { - "line": 501, + "line": 510, "column": 31 }, "end": { - "line": 501, + "line": 510, "column": 32 } } @@ -101224,15 +103075,15 @@ "binop": null, "updateContext": null }, - "start": 10290, - "end": 10291, + "start": 10463, + "end": 10464, "loc": { "start": { - "line": 501, + "line": 510, "column": 33 }, "end": { - "line": 501, + "line": 510, "column": 34 } } @@ -101249,15 +103100,15 @@ "postfix": false, "binop": null }, - "start": 10293, - "end": 10294, + "start": 10466, + "end": 10467, "loc": { "start": { - "line": 502, + "line": 511, "column": 1 }, "end": { - "line": 502, + "line": 511, "column": 2 } } @@ -101275,15 +103126,15 @@ "binop": null }, "value": "ne", - "start": 10297, - "end": 10299, + "start": 10470, + "end": 10472, "loc": { "start": { - "line": 504, + "line": 513, "column": 1 }, "end": { - "line": 504, + "line": 513, "column": 3 } } @@ -101300,15 +103151,15 @@ "postfix": false, "binop": null }, - "start": 10300, - "end": 10301, + "start": 10473, + "end": 10474, "loc": { "start": { - "line": 504, + "line": 513, "column": 4 }, "end": { - "line": 504, + "line": 513, "column": 5 } } @@ -101326,15 +103177,15 @@ "binop": null }, "value": "other", - "start": 10302, - "end": 10307, + "start": 10475, + "end": 10480, "loc": { "start": { - "line": 504, + "line": 513, "column": 6 }, "end": { - "line": 504, + "line": 513, "column": 11 } } @@ -101351,15 +103202,15 @@ "postfix": false, "binop": null }, - "start": 10308, - "end": 10309, + "start": 10481, + "end": 10482, "loc": { "start": { - "line": 504, + "line": 513, "column": 12 }, "end": { - "line": 504, + "line": 513, "column": 13 } } @@ -101376,15 +103227,15 @@ "postfix": false, "binop": null }, - "start": 10310, - "end": 10311, + "start": 10483, + "end": 10484, "loc": { "start": { - "line": 504, + "line": 513, "column": 14 }, "end": { - "line": 504, + "line": 513, "column": 15 } } @@ -101404,15 +103255,15 @@ "updateContext": null }, "value": "return", - "start": 10314, - "end": 10320, + "start": 10487, + "end": 10493, "loc": { "start": { - "line": 505, + "line": 514, "column": 2 }, "end": { - "line": 505, + "line": 514, "column": 8 } } @@ -101432,15 +103283,15 @@ "updateContext": null }, "value": "this", - "start": 10321, - "end": 10325, + "start": 10494, + "end": 10498, "loc": { "start": { - "line": 505, + "line": 514, "column": 9 }, "end": { - "line": 505, + "line": 514, "column": 13 } } @@ -101458,15 +103309,15 @@ "binop": null, "updateContext": null }, - "start": 10325, - "end": 10326, + "start": 10498, + "end": 10499, "loc": { "start": { - "line": 505, + "line": 514, "column": 13 }, "end": { - "line": 505, + "line": 514, "column": 14 } } @@ -101484,15 +103335,15 @@ "binop": null }, "value": "cmp", - "start": 10326, - "end": 10329, + "start": 10499, + "end": 10502, "loc": { "start": { - "line": 505, + "line": 514, "column": 14 }, "end": { - "line": 505, + "line": 514, "column": 17 } } @@ -101509,15 +103360,15 @@ "postfix": false, "binop": null }, - "start": 10329, - "end": 10330, + "start": 10502, + "end": 10503, "loc": { "start": { - "line": 505, + "line": 514, "column": 17 }, "end": { - "line": 505, + "line": 514, "column": 18 } } @@ -101535,15 +103386,15 @@ "binop": null }, "value": "other", - "start": 10331, - "end": 10336, + "start": 10504, + "end": 10509, "loc": { "start": { - "line": 505, + "line": 514, "column": 19 }, "end": { - "line": 505, + "line": 514, "column": 24 } } @@ -101560,15 +103411,15 @@ "postfix": false, "binop": null }, - "start": 10337, - "end": 10338, + "start": 10510, + "end": 10511, "loc": { "start": { - "line": 505, + "line": 514, "column": 25 }, "end": { - "line": 505, + "line": 514, "column": 26 } } @@ -101587,15 +103438,15 @@ "updateContext": null }, "value": "!==", - "start": 10339, - "end": 10342, + "start": 10512, + "end": 10515, "loc": { "start": { - "line": 505, + "line": 514, "column": 27 }, "end": { - "line": 505, + "line": 514, "column": 30 } } @@ -101614,15 +103465,15 @@ "updateContext": null }, "value": 0, - "start": 10343, - "end": 10344, + "start": 10516, + "end": 10517, "loc": { "start": { - "line": 505, + "line": 514, "column": 31 }, "end": { - "line": 505, + "line": 514, "column": 32 } } @@ -101640,15 +103491,15 @@ "binop": null, "updateContext": null }, - "start": 10345, - "end": 10346, + "start": 10518, + "end": 10519, "loc": { "start": { - "line": 505, + "line": 514, "column": 33 }, "end": { - "line": 505, + "line": 514, "column": 34 } } @@ -101665,15 +103516,15 @@ "postfix": false, "binop": null }, - "start": 10348, - "end": 10349, + "start": 10521, + "end": 10522, "loc": { "start": { - "line": 506, + "line": 515, "column": 1 }, "end": { - "line": 506, + "line": 515, "column": 2 } } @@ -101691,15 +103542,15 @@ "binop": null }, "value": "nen", - "start": 10352, - "end": 10355, + "start": 10525, + "end": 10528, "loc": { "start": { - "line": 508, + "line": 517, "column": 1 }, "end": { - "line": 508, + "line": 517, "column": 4 } } @@ -101716,15 +103567,15 @@ "postfix": false, "binop": null }, - "start": 10356, - "end": 10357, + "start": 10529, + "end": 10530, "loc": { "start": { - "line": 508, + "line": 517, "column": 5 }, "end": { - "line": 508, + "line": 517, "column": 6 } } @@ -101742,15 +103593,15 @@ "binop": null }, "value": "number", - "start": 10358, - "end": 10364, + "start": 10531, + "end": 10537, "loc": { "start": { - "line": 508, + "line": 517, "column": 7 }, "end": { - "line": 508, + "line": 517, "column": 13 } } @@ -101767,15 +103618,15 @@ "postfix": false, "binop": null }, - "start": 10365, - "end": 10366, + "start": 10538, + "end": 10539, "loc": { "start": { - "line": 508, + "line": 517, "column": 14 }, "end": { - "line": 508, + "line": 517, "column": 15 } } @@ -101792,15 +103643,15 @@ "postfix": false, "binop": null }, - "start": 10367, - "end": 10368, + "start": 10540, + "end": 10541, "loc": { "start": { - "line": 508, + "line": 517, "column": 16 }, "end": { - "line": 508, + "line": 517, "column": 17 } } @@ -101820,15 +103671,15 @@ "updateContext": null }, "value": "return", - "start": 10371, - "end": 10377, + "start": 10544, + "end": 10550, "loc": { "start": { - "line": 509, + "line": 518, "column": 2 }, "end": { - "line": 509, + "line": 518, "column": 8 } } @@ -101848,15 +103699,15 @@ "updateContext": null }, "value": "this", - "start": 10378, - "end": 10382, + "start": 10551, + "end": 10555, "loc": { "start": { - "line": 509, + "line": 518, "column": 9 }, "end": { - "line": 509, + "line": 518, "column": 13 } } @@ -101874,15 +103725,15 @@ "binop": null, "updateContext": null }, - "start": 10382, - "end": 10383, + "start": 10555, + "end": 10556, "loc": { "start": { - "line": 509, + "line": 518, "column": 13 }, "end": { - "line": 509, + "line": 518, "column": 14 } } @@ -101900,15 +103751,15 @@ "binop": null }, "value": "cmpn", - "start": 10383, - "end": 10387, + "start": 10556, + "end": 10560, "loc": { "start": { - "line": 509, + "line": 518, "column": 14 }, "end": { - "line": 509, + "line": 518, "column": 18 } } @@ -101925,15 +103776,15 @@ "postfix": false, "binop": null }, - "start": 10387, - "end": 10388, + "start": 10560, + "end": 10561, "loc": { "start": { - "line": 509, + "line": 518, "column": 18 }, "end": { - "line": 509, + "line": 518, "column": 19 } } @@ -101951,15 +103802,15 @@ "binop": null }, "value": "number", - "start": 10389, - "end": 10395, + "start": 10562, + "end": 10568, "loc": { "start": { - "line": 509, + "line": 518, "column": 20 }, "end": { - "line": 509, + "line": 518, "column": 26 } } @@ -101976,15 +103827,15 @@ "postfix": false, "binop": null }, - "start": 10396, - "end": 10397, + "start": 10569, + "end": 10570, "loc": { "start": { - "line": 509, + "line": 518, "column": 27 }, "end": { - "line": 509, + "line": 518, "column": 28 } } @@ -102003,15 +103854,15 @@ "updateContext": null }, "value": "!==", - "start": 10398, - "end": 10401, + "start": 10571, + "end": 10574, "loc": { "start": { - "line": 509, + "line": 518, "column": 29 }, "end": { - "line": 509, + "line": 518, "column": 32 } } @@ -102030,15 +103881,15 @@ "updateContext": null }, "value": 0, - "start": 10402, - "end": 10403, + "start": 10575, + "end": 10576, "loc": { "start": { - "line": 509, + "line": 518, "column": 33 }, "end": { - "line": 509, + "line": 518, "column": 34 } } @@ -102056,15 +103907,15 @@ "binop": null, "updateContext": null }, - "start": 10404, - "end": 10405, + "start": 10577, + "end": 10578, "loc": { "start": { - "line": 509, + "line": 518, "column": 35 }, "end": { - "line": 509, + "line": 518, "column": 36 } } @@ -102081,15 +103932,15 @@ "postfix": false, "binop": null }, - "start": 10407, - "end": 10408, + "start": 10580, + "end": 10581, "loc": { "start": { - "line": 510, + "line": 519, "column": 1 }, "end": { - "line": 510, + "line": 519, "column": 2 } } @@ -102107,15 +103958,15 @@ "binop": null }, "value": "gcd", - "start": 10411, - "end": 10414, + "start": 10584, + "end": 10587, "loc": { "start": { - "line": 512, + "line": 521, "column": 1 }, "end": { - "line": 512, + "line": 521, "column": 4 } } @@ -102132,15 +103983,15 @@ "postfix": false, "binop": null }, - "start": 10415, - "end": 10416, + "start": 10588, + "end": 10589, "loc": { "start": { - "line": 512, + "line": 521, "column": 5 }, "end": { - "line": 512, + "line": 521, "column": 6 } } @@ -102158,15 +104009,15 @@ "binop": null }, "value": "other", - "start": 10417, - "end": 10422, + "start": 10590, + "end": 10595, "loc": { "start": { - "line": 512, + "line": 521, "column": 7 }, "end": { - "line": 512, + "line": 521, "column": 12 } } @@ -102183,15 +104034,15 @@ "postfix": false, "binop": null }, - "start": 10423, - "end": 10424, + "start": 10596, + "end": 10597, "loc": { "start": { - "line": 512, + "line": 521, "column": 13 }, "end": { - "line": 512, + "line": 521, "column": 14 } } @@ -102208,15 +104059,15 @@ "postfix": false, "binop": null }, - "start": 10425, - "end": 10426, + "start": 10598, + "end": 10599, "loc": { "start": { - "line": 512, + "line": 521, "column": 15 }, "end": { - "line": 512, + "line": 521, "column": 16 } } @@ -102236,15 +104087,15 @@ "updateContext": null }, "value": "const", - "start": 10429, - "end": 10434, + "start": 10602, + "end": 10607, "loc": { "start": { - "line": 513, + "line": 522, "column": 2 }, "end": { - "line": 513, + "line": 522, "column": 7 } } @@ -102262,15 +104113,15 @@ "binop": null }, "value": "r", - "start": 10435, - "end": 10436, + "start": 10608, + "end": 10609, "loc": { "start": { - "line": 513, + "line": 522, "column": 8 }, "end": { - "line": 513, + "line": 522, "column": 9 } } @@ -102289,15 +104140,15 @@ "updateContext": null }, "value": "=", - "start": 10437, - "end": 10438, + "start": 10610, + "end": 10611, "loc": { "start": { - "line": 513, + "line": 522, "column": 10 }, "end": { - "line": 513, + "line": 522, "column": 11 } } @@ -102317,15 +104168,15 @@ "updateContext": null }, "value": "this", - "start": 10439, - "end": 10443, + "start": 10612, + "end": 10616, "loc": { "start": { - "line": 513, + "line": 522, "column": 12 }, "end": { - "line": 513, + "line": 522, "column": 16 } } @@ -102343,15 +104194,15 @@ "binop": null, "updateContext": null }, - "start": 10443, - "end": 10444, + "start": 10616, + "end": 10617, "loc": { "start": { - "line": 513, + "line": 522, "column": 16 }, "end": { - "line": 513, + "line": 522, "column": 17 } } @@ -102369,15 +104220,15 @@ "binop": null }, "value": "base", - "start": 10444, - "end": 10448, + "start": 10617, + "end": 10621, "loc": { "start": { - "line": 513, + "line": 522, "column": 17 }, "end": { - "line": 513, + "line": 522, "column": 21 } } @@ -102395,15 +104246,15 @@ "binop": null, "updateContext": null }, - "start": 10449, - "end": 10450, + "start": 10622, + "end": 10623, "loc": { "start": { - "line": 513, + "line": 522, "column": 22 }, "end": { - "line": 513, + "line": 522, "column": 23 } } @@ -102423,15 +104274,15 @@ "updateContext": null }, "value": "const", - "start": 10453, - "end": 10458, + "start": 10626, + "end": 10631, "loc": { "start": { - "line": 514, + "line": 523, "column": 2 }, "end": { - "line": 514, + "line": 523, "column": 7 } } @@ -102449,15 +104300,15 @@ "binop": null }, "value": "a", - "start": 10459, - "end": 10460, + "start": 10632, + "end": 10633, "loc": { "start": { - "line": 514, + "line": 523, "column": 8 }, "end": { - "line": 514, + "line": 523, "column": 9 } } @@ -102476,15 +104327,15 @@ "updateContext": null }, "value": "=", - "start": 10461, - "end": 10462, + "start": 10634, + "end": 10635, "loc": { "start": { - "line": 514, + "line": 523, "column": 10 }, "end": { - "line": 514, + "line": 523, "column": 11 } } @@ -102504,15 +104355,15 @@ "updateContext": null }, "value": "this", - "start": 10463, - "end": 10467, + "start": 10636, + "end": 10640, "loc": { "start": { - "line": 514, + "line": 523, "column": 12 }, "end": { - "line": 514, + "line": 523, "column": 16 } } @@ -102530,15 +104381,15 @@ "binop": null, "updateContext": null }, - "start": 10467, - "end": 10468, + "start": 10640, + "end": 10641, "loc": { "start": { - "line": 514, + "line": 523, "column": 16 }, "end": { - "line": 514, + "line": 523, "column": 17 } } @@ -102556,15 +104407,15 @@ "binop": null }, "value": "limbs", - "start": 10468, - "end": 10473, + "start": 10641, + "end": 10646, "loc": { "start": { - "line": 514, + "line": 523, "column": 17 }, "end": { - "line": 514, + "line": 523, "column": 22 } } @@ -102582,15 +104433,15 @@ "binop": null, "updateContext": null }, - "start": 10474, - "end": 10475, + "start": 10647, + "end": 10648, "loc": { "start": { - "line": 514, + "line": 523, "column": 23 }, "end": { - "line": 514, + "line": 523, "column": 24 } } @@ -102610,15 +104461,15 @@ "updateContext": null }, "value": "const", - "start": 10478, - "end": 10483, + "start": 10651, + "end": 10656, "loc": { "start": { - "line": 515, + "line": 524, "column": 2 }, "end": { - "line": 515, + "line": 524, "column": 7 } } @@ -102636,15 +104487,15 @@ "binop": null }, "value": "b", - "start": 10484, - "end": 10485, + "start": 10657, + "end": 10658, "loc": { "start": { - "line": 515, + "line": 524, "column": 8 }, "end": { - "line": 515, + "line": 524, "column": 9 } } @@ -102663,15 +104514,15 @@ "updateContext": null }, "value": "=", - "start": 10486, - "end": 10487, + "start": 10659, + "end": 10660, "loc": { "start": { - "line": 515, + "line": 524, "column": 10 }, "end": { - "line": 515, + "line": 524, "column": 11 } } @@ -102689,15 +104540,15 @@ "binop": null }, "value": "other", - "start": 10488, - "end": 10493, + "start": 10661, + "end": 10666, "loc": { "start": { - "line": 515, + "line": 524, "column": 12 }, "end": { - "line": 515, + "line": 524, "column": 17 } } @@ -102715,15 +104566,15 @@ "binop": null, "updateContext": null }, - "start": 10493, - "end": 10494, + "start": 10666, + "end": 10667, "loc": { "start": { - "line": 515, + "line": 524, "column": 17 }, "end": { - "line": 515, + "line": 524, "column": 18 } } @@ -102741,15 +104592,15 @@ "binop": null }, "value": "_limbs_in_base", - "start": 10494, - "end": 10508, + "start": 10667, + "end": 10681, "loc": { "start": { - "line": 515, + "line": 524, "column": 18 }, "end": { - "line": 515, + "line": 524, "column": 32 } } @@ -102766,15 +104617,15 @@ "postfix": false, "binop": null }, - "start": 10508, - "end": 10509, + "start": 10681, + "end": 10682, "loc": { "start": { - "line": 515, + "line": 524, "column": 32 }, "end": { - "line": 515, + "line": 524, "column": 33 } } @@ -102792,15 +104643,15 @@ "binop": null }, "value": "r", - "start": 10510, - "end": 10511, + "start": 10683, + "end": 10684, "loc": { "start": { - "line": 515, + "line": 524, "column": 34 }, "end": { - "line": 515, + "line": 524, "column": 35 } } @@ -102817,15 +104668,15 @@ "postfix": false, "binop": null }, - "start": 10512, - "end": 10513, + "start": 10685, + "end": 10686, "loc": { "start": { - "line": 515, + "line": 524, "column": 36 }, "end": { - "line": 515, + "line": 524, "column": 37 } } @@ -102843,15 +104694,15 @@ "binop": null, "updateContext": null }, - "start": 10514, - "end": 10515, + "start": 10687, + "end": 10688, "loc": { "start": { - "line": 515, + "line": 524, "column": 38 }, "end": { - "line": 515, + "line": 524, "column": 39 } } @@ -102871,15 +104722,15 @@ "updateContext": null }, "value": "const", - "start": 10518, - "end": 10523, + "start": 10691, + "end": 10696, "loc": { "start": { - "line": 516, + "line": 525, "column": 2 }, "end": { - "line": 516, + "line": 525, "column": 7 } } @@ -102897,15 +104748,15 @@ "binop": null, "updateContext": null }, - "start": 10524, - "end": 10525, + "start": 10697, + "end": 10698, "loc": { "start": { - "line": 516, + "line": 525, "column": 8 }, "end": { - "line": 516, + "line": 525, "column": 9 } } @@ -102923,15 +104774,15 @@ "binop": null }, "value": "d", - "start": 10526, - "end": 10527, + "start": 10699, + "end": 10700, "loc": { "start": { - "line": 516, + "line": 525, "column": 10 }, "end": { - "line": 516, + "line": 525, "column": 11 } } @@ -102949,15 +104800,15 @@ "binop": null, "updateContext": null }, - "start": 10528, - "end": 10529, + "start": 10701, + "end": 10702, "loc": { "start": { - "line": 516, + "line": 525, "column": 12 }, "end": { - "line": 516, + "line": 525, "column": 13 } } @@ -102975,15 +104826,15 @@ "binop": null }, "value": "di", - "start": 10530, - "end": 10532, + "start": 10703, + "end": 10705, "loc": { "start": { - "line": 516, + "line": 525, "column": 14 }, "end": { - "line": 516, + "line": 525, "column": 16 } } @@ -103001,15 +104852,15 @@ "binop": null, "updateContext": null }, - "start": 10533, - "end": 10534, + "start": 10706, + "end": 10707, "loc": { "start": { - "line": 516, + "line": 525, "column": 17 }, "end": { - "line": 516, + "line": 525, "column": 18 } } @@ -103027,15 +104878,15 @@ "binop": null }, "value": "dj", - "start": 10535, - "end": 10537, + "start": 10708, + "end": 10710, "loc": { "start": { - "line": 516, + "line": 525, "column": 19 }, "end": { - "line": 516, + "line": 525, "column": 21 } } @@ -103053,15 +104904,15 @@ "binop": null, "updateContext": null }, - "start": 10538, - "end": 10539, + "start": 10711, + "end": 10712, "loc": { "start": { - "line": 516, + "line": 525, "column": 22 }, "end": { - "line": 516, + "line": 525, "column": 23 } } @@ -103080,15 +104931,15 @@ "updateContext": null }, "value": "=", - "start": 10540, - "end": 10541, + "start": 10713, + "end": 10714, "loc": { "start": { - "line": 516, + "line": 525, "column": 24 }, "end": { - "line": 516, + "line": 525, "column": 25 } } @@ -103106,15 +104957,15 @@ "binop": null }, "value": "euclidean_algorithm", - "start": 10542, - "end": 10561, + "start": 10715, + "end": 10734, "loc": { "start": { - "line": 516, + "line": 525, "column": 26 }, "end": { - "line": 516, + "line": 525, "column": 45 } } @@ -103131,15 +104982,15 @@ "postfix": false, "binop": null }, - "start": 10561, - "end": 10562, + "start": 10734, + "end": 10735, "loc": { "start": { - "line": 516, + "line": 525, "column": 45 }, "end": { - "line": 516, + "line": 525, "column": 46 } } @@ -103157,15 +105008,15 @@ "binop": null }, "value": "r", - "start": 10563, - "end": 10564, + "start": 10736, + "end": 10737, "loc": { "start": { - "line": 516, + "line": 525, "column": 47 }, "end": { - "line": 516, + "line": 525, "column": 48 } } @@ -103183,15 +105034,15 @@ "binop": null, "updateContext": null }, - "start": 10565, - "end": 10566, + "start": 10738, + "end": 10739, "loc": { "start": { - "line": 516, + "line": 525, "column": 49 }, "end": { - "line": 516, + "line": 525, "column": 50 } } @@ -103209,15 +105060,15 @@ "binop": null }, "value": "a", - "start": 10567, - "end": 10568, + "start": 10740, + "end": 10741, "loc": { "start": { - "line": 516, + "line": 525, "column": 51 }, "end": { - "line": 516, + "line": 525, "column": 52 } } @@ -103235,15 +105086,15 @@ "binop": null, "updateContext": null }, - "start": 10569, - "end": 10570, + "start": 10742, + "end": 10743, "loc": { "start": { - "line": 516, + "line": 525, "column": 53 }, "end": { - "line": 516, + "line": 525, "column": 54 } } @@ -103262,15 +105113,15 @@ "updateContext": null }, "value": 0, - "start": 10571, - "end": 10572, + "start": 10744, + "end": 10745, "loc": { "start": { - "line": 516, + "line": 525, "column": 55 }, "end": { - "line": 516, + "line": 525, "column": 56 } } @@ -103288,15 +105139,15 @@ "binop": null, "updateContext": null }, - "start": 10573, - "end": 10574, + "start": 10746, + "end": 10747, "loc": { "start": { - "line": 516, + "line": 525, "column": 57 }, "end": { - "line": 516, + "line": 525, "column": 58 } } @@ -103314,15 +105165,15 @@ "binop": null }, "value": "a", - "start": 10575, - "end": 10576, + "start": 10748, + "end": 10749, "loc": { "start": { - "line": 516, + "line": 525, "column": 59 }, "end": { - "line": 516, + "line": 525, "column": 60 } } @@ -103340,15 +105191,15 @@ "binop": null, "updateContext": null }, - "start": 10576, - "end": 10577, + "start": 10749, + "end": 10750, "loc": { "start": { - "line": 516, + "line": 525, "column": 60 }, "end": { - "line": 516, + "line": 525, "column": 61 } } @@ -103366,15 +105217,15 @@ "binop": null }, "value": "length", - "start": 10577, - "end": 10583, + "start": 10750, + "end": 10756, "loc": { "start": { - "line": 516, + "line": 525, "column": 61 }, "end": { - "line": 516, + "line": 525, "column": 67 } } @@ -103392,15 +105243,15 @@ "binop": null, "updateContext": null }, - "start": 10584, - "end": 10585, + "start": 10757, + "end": 10758, "loc": { "start": { - "line": 516, + "line": 525, "column": 68 }, "end": { - "line": 516, + "line": 525, "column": 69 } } @@ -103418,15 +105269,15 @@ "binop": null }, "value": "b", - "start": 10586, - "end": 10587, + "start": 10759, + "end": 10760, "loc": { "start": { - "line": 516, + "line": 525, "column": 70 }, "end": { - "line": 516, + "line": 525, "column": 71 } } @@ -103444,15 +105295,15 @@ "binop": null, "updateContext": null }, - "start": 10588, - "end": 10589, + "start": 10761, + "end": 10762, "loc": { "start": { - "line": 516, + "line": 525, "column": 72 }, "end": { - "line": 516, + "line": 525, "column": 73 } } @@ -103471,15 +105322,15 @@ "updateContext": null }, "value": 0, - "start": 10590, - "end": 10591, + "start": 10763, + "end": 10764, "loc": { "start": { - "line": 516, + "line": 525, "column": 74 }, "end": { - "line": 516, + "line": 525, "column": 75 } } @@ -103497,15 +105348,15 @@ "binop": null, "updateContext": null }, - "start": 10592, - "end": 10593, + "start": 10765, + "end": 10766, "loc": { "start": { - "line": 516, + "line": 525, "column": 76 }, "end": { - "line": 516, + "line": 525, "column": 77 } } @@ -103523,15 +105374,15 @@ "binop": null }, "value": "b", - "start": 10594, - "end": 10595, + "start": 10767, + "end": 10768, "loc": { "start": { - "line": 516, + "line": 525, "column": 78 }, "end": { - "line": 516, + "line": 525, "column": 79 } } @@ -103549,15 +105400,15 @@ "binop": null, "updateContext": null }, - "start": 10595, - "end": 10596, + "start": 10768, + "end": 10769, "loc": { "start": { - "line": 516, + "line": 525, "column": 79 }, "end": { - "line": 516, + "line": 525, "column": 80 } } @@ -103575,15 +105426,15 @@ "binop": null }, "value": "length", - "start": 10596, - "end": 10602, + "start": 10769, + "end": 10775, "loc": { "start": { - "line": 516, + "line": 525, "column": 80 }, "end": { - "line": 516, + "line": 525, "column": 86 } } @@ -103600,15 +105451,15 @@ "postfix": false, "binop": null }, - "start": 10603, - "end": 10604, + "start": 10776, + "end": 10777, "loc": { "start": { - "line": 516, + "line": 525, "column": 87 }, "end": { - "line": 516, + "line": 525, "column": 88 } } @@ -103626,15 +105477,15 @@ "binop": null, "updateContext": null }, - "start": 10605, - "end": 10606, + "start": 10778, + "end": 10779, "loc": { "start": { - "line": 516, + "line": 525, "column": 89 }, "end": { - "line": 516, + "line": 525, "column": 90 } } @@ -103654,15 +105505,15 @@ "updateContext": null }, "value": "const", - "start": 10609, - "end": 10614, + "start": 10782, + "end": 10787, "loc": { "start": { - "line": 517, + "line": 526, "column": 2 }, "end": { - "line": 517, + "line": 526, "column": 7 } } @@ -103680,15 +105531,15 @@ "binop": null }, "value": "gcd", - "start": 10615, - "end": 10618, + "start": 10788, + "end": 10791, "loc": { "start": { - "line": 517, + "line": 526, "column": 8 }, "end": { - "line": 517, + "line": 526, "column": 11 } } @@ -103707,15 +105558,15 @@ "updateContext": null }, "value": "=", - "start": 10619, - "end": 10620, + "start": 10792, + "end": 10793, "loc": { "start": { - "line": 517, + "line": 526, "column": 12 }, "end": { - "line": 517, + "line": 526, "column": 13 } } @@ -103733,15 +105584,15 @@ "binop": null }, "value": "_alloc", - "start": 10621, - "end": 10627, + "start": 10794, + "end": 10800, "loc": { "start": { - "line": 517, + "line": 526, "column": 14 }, "end": { - "line": 517, + "line": 526, "column": 20 } } @@ -103758,15 +105609,15 @@ "postfix": false, "binop": null }, - "start": 10627, - "end": 10628, + "start": 10800, + "end": 10801, "loc": { "start": { - "line": 517, + "line": 526, "column": 20 }, "end": { - "line": 517, + "line": 526, "column": 21 } } @@ -103784,15 +105635,15 @@ "binop": null }, "value": "dj", - "start": 10629, - "end": 10631, + "start": 10802, + "end": 10804, "loc": { "start": { - "line": 517, + "line": 526, "column": 22 }, "end": { - "line": 517, + "line": 526, "column": 24 } } @@ -103811,15 +105662,15 @@ "updateContext": null }, "value": "-", - "start": 10632, - "end": 10633, + "start": 10805, + "end": 10806, "loc": { "start": { - "line": 517, + "line": 526, "column": 25 }, "end": { - "line": 517, + "line": 526, "column": 26 } } @@ -103837,15 +105688,15 @@ "binop": null }, "value": "di", - "start": 10634, - "end": 10636, + "start": 10807, + "end": 10809, "loc": { "start": { - "line": 517, + "line": 526, "column": 27 }, "end": { - "line": 517, + "line": 526, "column": 29 } } @@ -103862,15 +105713,15 @@ "postfix": false, "binop": null }, - "start": 10637, - "end": 10638, + "start": 10810, + "end": 10811, "loc": { "start": { - "line": 517, + "line": 526, "column": 30 }, "end": { - "line": 517, + "line": 526, "column": 31 } } @@ -103888,15 +105739,15 @@ "binop": null, "updateContext": null }, - "start": 10639, - "end": 10640, + "start": 10812, + "end": 10813, "loc": { "start": { - "line": 517, + "line": 526, "column": 32 }, "end": { - "line": 517, + "line": 526, "column": 33 } } @@ -103914,15 +105765,15 @@ "binop": null }, "value": "_copy", - "start": 10643, - "end": 10648, + "start": 10816, + "end": 10821, "loc": { "start": { - "line": 518, + "line": 527, "column": 2 }, "end": { - "line": 518, + "line": 527, "column": 7 } } @@ -103939,15 +105790,15 @@ "postfix": false, "binop": null }, - "start": 10648, - "end": 10649, + "start": 10821, + "end": 10822, "loc": { "start": { - "line": 518, + "line": 527, "column": 7 }, "end": { - "line": 518, + "line": 527, "column": 8 } } @@ -103965,15 +105816,15 @@ "binop": null }, "value": "d", - "start": 10650, - "end": 10651, + "start": 10823, + "end": 10824, "loc": { "start": { - "line": 518, + "line": 527, "column": 9 }, "end": { - "line": 518, + "line": 527, "column": 10 } } @@ -103991,15 +105842,15 @@ "binop": null, "updateContext": null }, - "start": 10652, - "end": 10653, + "start": 10825, + "end": 10826, "loc": { "start": { - "line": 518, + "line": 527, "column": 11 }, "end": { - "line": 518, + "line": 527, "column": 12 } } @@ -104017,15 +105868,15 @@ "binop": null }, "value": "di", - "start": 10654, - "end": 10656, + "start": 10827, + "end": 10829, "loc": { "start": { - "line": 518, + "line": 527, "column": 13 }, "end": { - "line": 518, + "line": 527, "column": 15 } } @@ -104043,15 +105894,15 @@ "binop": null, "updateContext": null }, - "start": 10657, - "end": 10658, + "start": 10830, + "end": 10831, "loc": { "start": { - "line": 518, + "line": 527, "column": 16 }, "end": { - "line": 518, + "line": 527, "column": 17 } } @@ -104069,15 +105920,15 @@ "binop": null }, "value": "dj", - "start": 10659, - "end": 10661, + "start": 10832, + "end": 10834, "loc": { "start": { - "line": 518, + "line": 527, "column": 18 }, "end": { - "line": 518, + "line": 527, "column": 20 } } @@ -104095,15 +105946,15 @@ "binop": null, "updateContext": null }, - "start": 10662, - "end": 10663, + "start": 10835, + "end": 10836, "loc": { "start": { - "line": 518, + "line": 527, "column": 21 }, "end": { - "line": 518, + "line": 527, "column": 22 } } @@ -104121,15 +105972,15 @@ "binop": null }, "value": "gcd", - "start": 10664, - "end": 10667, + "start": 10837, + "end": 10840, "loc": { "start": { - "line": 518, + "line": 527, "column": 23 }, "end": { - "line": 518, + "line": 527, "column": 26 } } @@ -104147,15 +105998,15 @@ "binop": null, "updateContext": null }, - "start": 10668, - "end": 10669, + "start": 10841, + "end": 10842, "loc": { "start": { - "line": 518, + "line": 527, "column": 27 }, "end": { - "line": 518, + "line": 527, "column": 28 } } @@ -104174,15 +106025,15 @@ "updateContext": null }, "value": 0, - "start": 10670, - "end": 10671, + "start": 10843, + "end": 10844, "loc": { "start": { - "line": 518, + "line": 527, "column": 29 }, "end": { - "line": 518, + "line": 527, "column": 30 } } @@ -104199,15 +106050,15 @@ "postfix": false, "binop": null }, - "start": 10672, - "end": 10673, + "start": 10845, + "end": 10846, "loc": { "start": { - "line": 518, + "line": 527, "column": 31 }, "end": { - "line": 518, + "line": 527, "column": 32 } } @@ -104225,15 +106076,15 @@ "binop": null, "updateContext": null }, - "start": 10674, - "end": 10675, + "start": 10847, + "end": 10848, "loc": { "start": { - "line": 518, + "line": 527, "column": 33 }, "end": { - "line": 518, + "line": 527, "column": 34 } } @@ -104253,15 +106104,15 @@ "updateContext": null }, "value": "return", - "start": 10678, - "end": 10684, + "start": 10851, + "end": 10857, "loc": { "start": { - "line": 519, + "line": 528, "column": 2 }, "end": { - "line": 519, + "line": 528, "column": 8 } } @@ -104281,15 +106132,15 @@ "updateContext": null }, "value": "new", - "start": 10685, - "end": 10688, + "start": 10858, + "end": 10861, "loc": { "start": { - "line": 519, + "line": 528, "column": 9 }, "end": { - "line": 519, + "line": 528, "column": 12 } } @@ -104307,15 +106158,15 @@ "binop": null }, "value": "Integer", - "start": 10689, - "end": 10696, + "start": 10862, + "end": 10869, "loc": { "start": { - "line": 519, + "line": 528, "column": 13 }, "end": { - "line": 519, + "line": 528, "column": 20 } } @@ -104332,15 +106183,15 @@ "postfix": false, "binop": null }, - "start": 10696, - "end": 10697, + "start": 10869, + "end": 10870, "loc": { "start": { - "line": 519, + "line": 528, "column": 20 }, "end": { - "line": 519, + "line": 528, "column": 21 } } @@ -104358,15 +106209,15 @@ "binop": null }, "value": "r", - "start": 10698, - "end": 10699, + "start": 10871, + "end": 10872, "loc": { "start": { - "line": 519, + "line": 528, "column": 22 }, "end": { - "line": 519, + "line": 528, "column": 23 } } @@ -104384,15 +106235,15 @@ "binop": null, "updateContext": null }, - "start": 10700, - "end": 10701, + "start": 10873, + "end": 10874, "loc": { "start": { - "line": 519, + "line": 528, "column": 24 }, "end": { - "line": 519, + "line": 528, "column": 25 } } @@ -104411,15 +106262,15 @@ "updateContext": null }, "value": 0, - "start": 10702, - "end": 10703, + "start": 10875, + "end": 10876, "loc": { "start": { - "line": 519, + "line": 528, "column": 26 }, "end": { - "line": 519, + "line": 528, "column": 27 } } @@ -104437,15 +106288,15 @@ "binop": null, "updateContext": null }, - "start": 10704, - "end": 10705, + "start": 10877, + "end": 10878, "loc": { "start": { - "line": 519, + "line": 528, "column": 28 }, "end": { - "line": 519, + "line": 528, "column": 29 } } @@ -104463,15 +106314,15 @@ "binop": null }, "value": "gcd", - "start": 10706, - "end": 10709, + "start": 10879, + "end": 10882, "loc": { "start": { - "line": 519, + "line": 528, "column": 30 }, "end": { - "line": 519, + "line": 528, "column": 33 } } @@ -104488,15 +106339,15 @@ "postfix": false, "binop": null }, - "start": 10710, - "end": 10711, + "start": 10883, + "end": 10884, "loc": { "start": { - "line": 519, + "line": 528, "column": 34 }, "end": { - "line": 519, + "line": 528, "column": 35 } } @@ -104514,15 +106365,15 @@ "binop": null, "updateContext": null }, - "start": 10712, - "end": 10713, + "start": 10885, + "end": 10886, "loc": { "start": { - "line": 519, + "line": 528, "column": 36 }, "end": { - "line": 519, + "line": 528, "column": 37 } } @@ -104539,15 +106390,15 @@ "postfix": false, "binop": null }, - "start": 10715, - "end": 10716, + "start": 10888, + "end": 10889, "loc": { "start": { - "line": 520, + "line": 529, "column": 1 }, "end": { - "line": 520, + "line": 529, "column": 2 } } @@ -104565,15 +106416,15 @@ "binop": null }, "value": "egcd", - "start": 10719, - "end": 10723, + "start": 10892, + "end": 10896, "loc": { "start": { - "line": 522, + "line": 531, "column": 1 }, "end": { - "line": 522, + "line": 531, "column": 5 } } @@ -104590,15 +106441,15 @@ "postfix": false, "binop": null }, - "start": 10724, - "end": 10725, + "start": 10897, + "end": 10898, "loc": { "start": { - "line": 522, + "line": 531, "column": 6 }, "end": { - "line": 522, + "line": 531, "column": 7 } } @@ -104616,15 +106467,15 @@ "binop": null }, "value": "other", - "start": 10726, - "end": 10731, + "start": 10899, + "end": 10904, "loc": { "start": { - "line": 522, + "line": 531, "column": 8 }, "end": { - "line": 522, + "line": 531, "column": 13 } } @@ -104641,15 +106492,15 @@ "postfix": false, "binop": null }, - "start": 10732, - "end": 10733, + "start": 10905, + "end": 10906, "loc": { "start": { - "line": 522, + "line": 531, "column": 14 }, "end": { - "line": 522, + "line": 531, "column": 15 } } @@ -104666,15 +106517,15 @@ "postfix": false, "binop": null }, - "start": 10734, - "end": 10735, + "start": 10907, + "end": 10908, "loc": { "start": { - "line": 522, + "line": 531, "column": 16 }, "end": { - "line": 522, + "line": 531, "column": 17 } } @@ -104694,15 +106545,15 @@ "updateContext": null }, "value": "const", - "start": 10738, - "end": 10743, + "start": 10911, + "end": 10916, "loc": { "start": { - "line": 523, + "line": 532, "column": 2 }, "end": { - "line": 523, + "line": 532, "column": 7 } } @@ -104720,15 +106571,15 @@ "binop": null }, "value": "r", - "start": 10744, - "end": 10745, + "start": 10917, + "end": 10918, "loc": { "start": { - "line": 523, + "line": 532, "column": 8 }, "end": { - "line": 523, + "line": 532, "column": 9 } } @@ -104747,15 +106598,15 @@ "updateContext": null }, "value": "=", - "start": 10746, - "end": 10747, + "start": 10919, + "end": 10920, "loc": { "start": { - "line": 523, + "line": 532, "column": 10 }, "end": { - "line": 523, + "line": 532, "column": 11 } } @@ -104775,15 +106626,15 @@ "updateContext": null }, "value": "this", - "start": 10748, - "end": 10752, + "start": 10921, + "end": 10925, "loc": { "start": { - "line": 523, + "line": 532, "column": 12 }, "end": { - "line": 523, + "line": 532, "column": 16 } } @@ -104801,15 +106652,15 @@ "binop": null, "updateContext": null }, - "start": 10752, - "end": 10753, + "start": 10925, + "end": 10926, "loc": { "start": { - "line": 523, + "line": 532, "column": 16 }, "end": { - "line": 523, + "line": 532, "column": 17 } } @@ -104827,15 +106678,15 @@ "binop": null }, "value": "base", - "start": 10753, - "end": 10757, + "start": 10926, + "end": 10930, "loc": { "start": { - "line": 523, + "line": 532, "column": 17 }, "end": { - "line": 523, + "line": 532, "column": 21 } } @@ -104853,15 +106704,15 @@ "binop": null, "updateContext": null }, - "start": 10758, - "end": 10759, + "start": 10931, + "end": 10932, "loc": { "start": { - "line": 523, + "line": 532, "column": 22 }, "end": { - "line": 523, + "line": 532, "column": 23 } } @@ -104881,15 +106732,15 @@ "updateContext": null }, "value": "const", - "start": 10762, - "end": 10767, + "start": 10935, + "end": 10940, "loc": { "start": { - "line": 524, + "line": 533, "column": 2 }, "end": { - "line": 524, + "line": 533, "column": 7 } } @@ -104907,15 +106758,15 @@ "binop": null }, "value": "a", - "start": 10768, - "end": 10769, + "start": 10941, + "end": 10942, "loc": { "start": { - "line": 524, + "line": 533, "column": 8 }, "end": { - "line": 524, + "line": 533, "column": 9 } } @@ -104934,15 +106785,15 @@ "updateContext": null }, "value": "=", - "start": 10770, - "end": 10771, + "start": 10943, + "end": 10944, "loc": { "start": { - "line": 524, + "line": 533, "column": 10 }, "end": { - "line": 524, + "line": 533, "column": 11 } } @@ -104962,15 +106813,15 @@ "updateContext": null }, "value": "this", - "start": 10772, - "end": 10776, + "start": 10945, + "end": 10949, "loc": { "start": { - "line": 524, + "line": 533, "column": 12 }, "end": { - "line": 524, + "line": 533, "column": 16 } } @@ -104988,15 +106839,15 @@ "binop": null, "updateContext": null }, - "start": 10776, - "end": 10777, + "start": 10949, + "end": 10950, "loc": { "start": { - "line": 524, + "line": 533, "column": 16 }, "end": { - "line": 524, + "line": 533, "column": 17 } } @@ -105014,15 +106865,15 @@ "binop": null }, "value": "limbs", - "start": 10777, - "end": 10782, + "start": 10950, + "end": 10955, "loc": { "start": { - "line": 524, + "line": 533, "column": 17 }, "end": { - "line": 524, + "line": 533, "column": 22 } } @@ -105040,15 +106891,15 @@ "binop": null, "updateContext": null }, - "start": 10783, - "end": 10784, + "start": 10956, + "end": 10957, "loc": { "start": { - "line": 524, + "line": 533, "column": 23 }, "end": { - "line": 524, + "line": 533, "column": 24 } } @@ -105068,15 +106919,15 @@ "updateContext": null }, "value": "const", - "start": 10787, - "end": 10792, + "start": 10960, + "end": 10965, "loc": { "start": { - "line": 525, + "line": 534, "column": 2 }, "end": { - "line": 525, + "line": 534, "column": 7 } } @@ -105094,15 +106945,15 @@ "binop": null }, "value": "b", - "start": 10793, - "end": 10794, + "start": 10966, + "end": 10967, "loc": { "start": { - "line": 525, + "line": 534, "column": 8 }, "end": { - "line": 525, + "line": 534, "column": 9 } } @@ -105121,15 +106972,15 @@ "updateContext": null }, "value": "=", - "start": 10795, - "end": 10796, + "start": 10968, + "end": 10969, "loc": { "start": { - "line": 525, + "line": 534, "column": 10 }, "end": { - "line": 525, + "line": 534, "column": 11 } } @@ -105147,15 +106998,15 @@ "binop": null }, "value": "other", - "start": 10797, - "end": 10802, + "start": 10970, + "end": 10975, "loc": { "start": { - "line": 525, + "line": 534, "column": 12 }, "end": { - "line": 525, + "line": 534, "column": 17 } } @@ -105173,15 +107024,15 @@ "binop": null, "updateContext": null }, - "start": 10802, - "end": 10803, + "start": 10975, + "end": 10976, "loc": { "start": { - "line": 525, + "line": 534, "column": 17 }, "end": { - "line": 525, + "line": 534, "column": 18 } } @@ -105199,15 +107050,15 @@ "binop": null }, "value": "_limbs_in_base", - "start": 10803, - "end": 10817, + "start": 10976, + "end": 10990, "loc": { "start": { - "line": 525, + "line": 534, "column": 18 }, "end": { - "line": 525, + "line": 534, "column": 32 } } @@ -105224,15 +107075,15 @@ "postfix": false, "binop": null }, - "start": 10817, - "end": 10818, + "start": 10990, + "end": 10991, "loc": { "start": { - "line": 525, + "line": 534, "column": 32 }, "end": { - "line": 525, + "line": 534, "column": 33 } } @@ -105250,15 +107101,15 @@ "binop": null }, "value": "r", - "start": 10819, - "end": 10820, + "start": 10992, + "end": 10993, "loc": { "start": { - "line": 525, + "line": 534, "column": 34 }, "end": { - "line": 525, + "line": 534, "column": 35 } } @@ -105275,15 +107126,15 @@ "postfix": false, "binop": null }, - "start": 10821, - "end": 10822, + "start": 10994, + "end": 10995, "loc": { "start": { - "line": 525, + "line": 534, "column": 36 }, "end": { - "line": 525, + "line": 534, "column": 37 } } @@ -105301,15 +107152,15 @@ "binop": null, "updateContext": null }, - "start": 10823, - "end": 10824, + "start": 10996, + "end": 10997, "loc": { "start": { - "line": 525, + "line": 534, "column": 38 }, "end": { - "line": 525, + "line": 534, "column": 39 } } @@ -105329,15 +107180,15 @@ "updateContext": null }, "value": "const", - "start": 10827, - "end": 10832, + "start": 11000, + "end": 11005, "loc": { "start": { - "line": 526, + "line": 535, "column": 2 }, "end": { - "line": 526, + "line": 535, "column": 7 } } @@ -105355,15 +107206,15 @@ "binop": null, "updateContext": null }, - "start": 10833, - "end": 10834, + "start": 11006, + "end": 11007, "loc": { "start": { - "line": 526, + "line": 535, "column": 8 }, "end": { - "line": 526, + "line": 535, "column": 9 } } @@ -105381,15 +107232,15 @@ "binop": null }, "value": "R0", - "start": 10835, - "end": 10837, + "start": 11008, + "end": 11010, "loc": { "start": { - "line": 526, + "line": 535, "column": 10 }, "end": { - "line": 526, + "line": 535, "column": 12 } } @@ -105407,15 +107258,15 @@ "binop": null, "updateContext": null }, - "start": 10838, - "end": 10839, + "start": 11011, + "end": 11012, "loc": { "start": { - "line": 526, + "line": 535, "column": 13 }, "end": { - "line": 526, + "line": 535, "column": 14 } } @@ -105433,15 +107284,15 @@ "binop": null }, "value": "R0i", - "start": 10840, - "end": 10843, + "start": 11013, + "end": 11016, "loc": { "start": { - "line": 526, + "line": 535, "column": 15 }, "end": { - "line": 526, + "line": 535, "column": 18 } } @@ -105459,15 +107310,15 @@ "binop": null, "updateContext": null }, - "start": 10844, - "end": 10845, + "start": 11017, + "end": 11018, "loc": { "start": { - "line": 526, + "line": 535, "column": 19 }, "end": { - "line": 526, + "line": 535, "column": 20 } } @@ -105485,15 +107336,15 @@ "binop": null }, "value": "S0", - "start": 10846, - "end": 10848, + "start": 11019, + "end": 11021, "loc": { "start": { - "line": 526, + "line": 535, "column": 21 }, "end": { - "line": 526, + "line": 535, "column": 23 } } @@ -105511,15 +107362,15 @@ "binop": null, "updateContext": null }, - "start": 10849, - "end": 10850, + "start": 11022, + "end": 11023, "loc": { "start": { - "line": 526, + "line": 535, "column": 24 }, "end": { - "line": 526, + "line": 535, "column": 25 } } @@ -105537,15 +107388,15 @@ "binop": null }, "value": "S0i", - "start": 10851, - "end": 10854, + "start": 11024, + "end": 11027, "loc": { "start": { - "line": 526, + "line": 535, "column": 26 }, "end": { - "line": 526, + "line": 535, "column": 29 } } @@ -105563,15 +107414,15 @@ "binop": null, "updateContext": null }, - "start": 10855, - "end": 10856, + "start": 11028, + "end": 11029, "loc": { "start": { - "line": 526, + "line": 535, "column": 30 }, "end": { - "line": 526, + "line": 535, "column": 31 } } @@ -105589,15 +107440,15 @@ "binop": null }, "value": "T0", - "start": 10857, - "end": 10859, + "start": 11030, + "end": 11032, "loc": { "start": { - "line": 526, + "line": 535, "column": 32 }, "end": { - "line": 526, + "line": 535, "column": 34 } } @@ -105615,15 +107466,15 @@ "binop": null, "updateContext": null }, - "start": 10860, - "end": 10861, + "start": 11033, + "end": 11034, "loc": { "start": { - "line": 526, + "line": 535, "column": 35 }, "end": { - "line": 526, + "line": 535, "column": 36 } } @@ -105641,15 +107492,15 @@ "binop": null }, "value": "T0i", - "start": 10862, - "end": 10865, + "start": 11035, + "end": 11038, "loc": { "start": { - "line": 526, + "line": 535, "column": 37 }, "end": { - "line": 526, + "line": 535, "column": 40 } } @@ -105667,15 +107518,15 @@ "binop": null, "updateContext": null }, - "start": 10866, - "end": 10867, + "start": 11039, + "end": 11040, "loc": { "start": { - "line": 526, + "line": 535, "column": 41 }, "end": { - "line": 526, + "line": 535, "column": 42 } } @@ -105693,15 +107544,15 @@ "binop": null }, "value": "S1", - "start": 10868, - "end": 10870, + "start": 11041, + "end": 11043, "loc": { "start": { - "line": 526, + "line": 535, "column": 43 }, "end": { - "line": 526, + "line": 535, "column": 45 } } @@ -105719,15 +107570,15 @@ "binop": null, "updateContext": null }, - "start": 10871, - "end": 10872, + "start": 11044, + "end": 11045, "loc": { "start": { - "line": 526, + "line": 535, "column": 46 }, "end": { - "line": 526, + "line": 535, "column": 47 } } @@ -105745,15 +107596,15 @@ "binop": null }, "value": "S1i", - "start": 10873, - "end": 10876, + "start": 11046, + "end": 11049, "loc": { "start": { - "line": 526, + "line": 535, "column": 48 }, "end": { - "line": 526, + "line": 535, "column": 51 } } @@ -105771,15 +107622,15 @@ "binop": null, "updateContext": null }, - "start": 10877, - "end": 10878, + "start": 11050, + "end": 11051, "loc": { "start": { - "line": 526, + "line": 535, "column": 52 }, "end": { - "line": 526, + "line": 535, "column": 53 } } @@ -105797,15 +107648,15 @@ "binop": null }, "value": "T1", - "start": 10879, - "end": 10881, + "start": 11052, + "end": 11054, "loc": { "start": { - "line": 526, + "line": 535, "column": 54 }, "end": { - "line": 526, + "line": 535, "column": 56 } } @@ -105823,15 +107674,15 @@ "binop": null, "updateContext": null }, - "start": 10882, - "end": 10883, + "start": 11055, + "end": 11056, "loc": { "start": { - "line": 526, + "line": 535, "column": 57 }, "end": { - "line": 526, + "line": 535, "column": 58 } } @@ -105849,15 +107700,15 @@ "binop": null }, "value": "T1i", - "start": 10884, - "end": 10887, + "start": 11057, + "end": 11060, "loc": { "start": { - "line": 526, + "line": 535, "column": 59 }, "end": { - "line": 526, + "line": 535, "column": 62 } } @@ -105875,15 +107726,15 @@ "binop": null, "updateContext": null }, - "start": 10888, - "end": 10889, + "start": 11061, + "end": 11062, "loc": { "start": { - "line": 526, + "line": 535, "column": 63 }, "end": { - "line": 526, + "line": 535, "column": 64 } } @@ -105901,15 +107752,15 @@ "binop": null }, "value": "steps", - "start": 10890, - "end": 10895, + "start": 11063, + "end": 11068, "loc": { "start": { - "line": 526, + "line": 535, "column": 65 }, "end": { - "line": 526, + "line": 535, "column": 70 } } @@ -105927,15 +107778,15 @@ "binop": null, "updateContext": null }, - "start": 10896, - "end": 10897, + "start": 11069, + "end": 11070, "loc": { "start": { - "line": 526, + "line": 535, "column": 71 }, "end": { - "line": 526, + "line": 535, "column": 72 } } @@ -105954,15 +107805,15 @@ "updateContext": null }, "value": "=", - "start": 10898, - "end": 10899, + "start": 11071, + "end": 11072, "loc": { "start": { - "line": 526, + "line": 535, "column": 73 }, "end": { - "line": 526, + "line": 535, "column": 74 } } @@ -105980,15 +107831,15 @@ "binop": null }, "value": "extended_euclidean_algorithm", - "start": 10900, - "end": 10928, + "start": 11073, + "end": 11101, "loc": { "start": { - "line": 526, + "line": 535, "column": 75 }, "end": { - "line": 526, + "line": 535, "column": 103 } } @@ -106005,15 +107856,15 @@ "postfix": false, "binop": null }, - "start": 10928, - "end": 10929, + "start": 11101, + "end": 11102, "loc": { "start": { - "line": 526, + "line": 535, "column": 103 }, "end": { - "line": 526, + "line": 535, "column": 104 } } @@ -106031,15 +107882,15 @@ "binop": null }, "value": "r", - "start": 10930, - "end": 10931, + "start": 11103, + "end": 11104, "loc": { "start": { - "line": 526, + "line": 535, "column": 105 }, "end": { - "line": 526, + "line": 535, "column": 106 } } @@ -106057,15 +107908,15 @@ "binop": null, "updateContext": null }, - "start": 10932, - "end": 10933, + "start": 11105, + "end": 11106, "loc": { "start": { - "line": 526, + "line": 535, "column": 107 }, "end": { - "line": 526, + "line": 535, "column": 108 } } @@ -106083,15 +107934,15 @@ "binop": null }, "value": "a", - "start": 10934, - "end": 10935, + "start": 11107, + "end": 11108, "loc": { "start": { - "line": 526, + "line": 535, "column": 109 }, "end": { - "line": 526, + "line": 535, "column": 110 } } @@ -106109,15 +107960,15 @@ "binop": null, "updateContext": null }, - "start": 10936, - "end": 10937, + "start": 11109, + "end": 11110, "loc": { "start": { - "line": 526, + "line": 535, "column": 111 }, "end": { - "line": 526, + "line": 535, "column": 112 } } @@ -106136,15 +107987,15 @@ "updateContext": null }, "value": 0, - "start": 10938, - "end": 10939, + "start": 11111, + "end": 11112, "loc": { "start": { - "line": 526, + "line": 535, "column": 113 }, "end": { - "line": 526, + "line": 535, "column": 114 } } @@ -106162,15 +108013,15 @@ "binop": null, "updateContext": null }, - "start": 10940, - "end": 10941, + "start": 11113, + "end": 11114, "loc": { "start": { - "line": 526, + "line": 535, "column": 115 }, "end": { - "line": 526, + "line": 535, "column": 116 } } @@ -106188,15 +108039,15 @@ "binop": null }, "value": "a", - "start": 10942, - "end": 10943, + "start": 11115, + "end": 11116, "loc": { "start": { - "line": 526, + "line": 535, "column": 117 }, "end": { - "line": 526, + "line": 535, "column": 118 } } @@ -106214,15 +108065,15 @@ "binop": null, "updateContext": null }, - "start": 10943, - "end": 10944, + "start": 11116, + "end": 11117, "loc": { "start": { - "line": 526, + "line": 535, "column": 118 }, "end": { - "line": 526, + "line": 535, "column": 119 } } @@ -106240,15 +108091,15 @@ "binop": null }, "value": "length", - "start": 10944, - "end": 10950, + "start": 11117, + "end": 11123, "loc": { "start": { - "line": 526, + "line": 535, "column": 119 }, "end": { - "line": 526, + "line": 535, "column": 125 } } @@ -106266,15 +108117,15 @@ "binop": null, "updateContext": null }, - "start": 10951, - "end": 10952, + "start": 11124, + "end": 11125, "loc": { "start": { - "line": 526, + "line": 535, "column": 126 }, "end": { - "line": 526, + "line": 535, "column": 127 } } @@ -106292,15 +108143,15 @@ "binop": null }, "value": "b", - "start": 10953, - "end": 10954, + "start": 11126, + "end": 11127, "loc": { "start": { - "line": 526, + "line": 535, "column": 128 }, "end": { - "line": 526, + "line": 535, "column": 129 } } @@ -106318,15 +108169,15 @@ "binop": null, "updateContext": null }, - "start": 10955, - "end": 10956, + "start": 11128, + "end": 11129, "loc": { "start": { - "line": 526, + "line": 535, "column": 130 }, "end": { - "line": 526, + "line": 535, "column": 131 } } @@ -106345,15 +108196,15 @@ "updateContext": null }, "value": 0, - "start": 10957, - "end": 10958, + "start": 11130, + "end": 11131, "loc": { "start": { - "line": 526, + "line": 535, "column": 132 }, "end": { - "line": 526, + "line": 535, "column": 133 } } @@ -106371,15 +108222,15 @@ "binop": null, "updateContext": null }, - "start": 10959, - "end": 10960, + "start": 11132, + "end": 11133, "loc": { "start": { - "line": 526, + "line": 535, "column": 134 }, "end": { - "line": 526, + "line": 535, "column": 135 } } @@ -106397,15 +108248,15 @@ "binop": null }, "value": "b", - "start": 10961, - "end": 10962, + "start": 11134, + "end": 11135, "loc": { "start": { - "line": 526, + "line": 535, "column": 136 }, "end": { - "line": 526, + "line": 535, "column": 137 } } @@ -106423,15 +108274,15 @@ "binop": null, "updateContext": null }, - "start": 10962, - "end": 10963, + "start": 11135, + "end": 11136, "loc": { "start": { - "line": 526, + "line": 535, "column": 137 }, "end": { - "line": 526, + "line": 535, "column": 138 } } @@ -106449,15 +108300,15 @@ "binop": null }, "value": "length", - "start": 10963, - "end": 10969, + "start": 11136, + "end": 11142, "loc": { "start": { - "line": 526, + "line": 535, "column": 138 }, "end": { - "line": 526, + "line": 535, "column": 144 } } @@ -106474,15 +108325,15 @@ "postfix": false, "binop": null }, - "start": 10970, - "end": 10971, + "start": 11143, + "end": 11144, "loc": { "start": { - "line": 526, + "line": 535, "column": 145 }, "end": { - "line": 526, + "line": 535, "column": 146 } } @@ -106500,15 +108351,15 @@ "binop": null, "updateContext": null }, - "start": 10972, - "end": 10973, + "start": 11145, + "end": 11146, "loc": { "start": { - "line": 526, + "line": 535, "column": 147 }, "end": { - "line": 526, + "line": 535, "column": 148 } } @@ -106528,15 +108379,15 @@ "updateContext": null }, "value": "const", - "start": 10976, - "end": 10981, + "start": 11149, + "end": 11154, "loc": { "start": { - "line": 527, + "line": 536, "column": 2 }, "end": { - "line": 527, + "line": 536, "column": 7 } } @@ -106554,15 +108405,15 @@ "binop": null }, "value": "gcd", - "start": 10982, - "end": 10985, + "start": 11155, + "end": 11158, "loc": { "start": { - "line": 527, + "line": 536, "column": 8 }, "end": { - "line": 527, + "line": 536, "column": 11 } } @@ -106581,15 +108432,15 @@ "updateContext": null }, "value": "=", - "start": 10986, - "end": 10987, + "start": 11159, + "end": 11160, "loc": { "start": { - "line": 527, + "line": 536, "column": 12 }, "end": { - "line": 527, + "line": 536, "column": 13 } } @@ -106607,15 +108458,15 @@ "binop": null }, "value": "_alloc", - "start": 10988, - "end": 10994, + "start": 11161, + "end": 11167, "loc": { "start": { - "line": 527, + "line": 536, "column": 14 }, "end": { - "line": 527, + "line": 536, "column": 20 } } @@ -106632,15 +108483,15 @@ "postfix": false, "binop": null }, - "start": 10994, - "end": 10995, + "start": 11167, + "end": 11168, "loc": { "start": { - "line": 527, + "line": 536, "column": 20 }, "end": { - "line": 527, + "line": 536, "column": 21 } } @@ -106658,15 +108509,15 @@ "binop": null }, "value": "R0", - "start": 10996, - "end": 10998, + "start": 11169, + "end": 11171, "loc": { "start": { - "line": 527, + "line": 536, "column": 22 }, "end": { - "line": 527, + "line": 536, "column": 24 } } @@ -106684,15 +108535,15 @@ "binop": null, "updateContext": null }, - "start": 10998, - "end": 10999, + "start": 11171, + "end": 11172, "loc": { "start": { - "line": 527, + "line": 536, "column": 24 }, "end": { - "line": 527, + "line": 536, "column": 25 } } @@ -106710,15 +108561,15 @@ "binop": null }, "value": "length", - "start": 10999, - "end": 11005, + "start": 11172, + "end": 11178, "loc": { "start": { - "line": 527, + "line": 536, "column": 25 }, "end": { - "line": 527, + "line": 536, "column": 31 } } @@ -106737,15 +108588,15 @@ "updateContext": null }, "value": "-", - "start": 11006, - "end": 11007, + "start": 11179, + "end": 11180, "loc": { "start": { - "line": 527, + "line": 536, "column": 32 }, "end": { - "line": 527, + "line": 536, "column": 33 } } @@ -106763,15 +108614,15 @@ "binop": null }, "value": "R0i", - "start": 11008, - "end": 11011, + "start": 11181, + "end": 11184, "loc": { "start": { - "line": 527, + "line": 536, "column": 34 }, "end": { - "line": 527, + "line": 536, "column": 37 } } @@ -106788,15 +108639,15 @@ "postfix": false, "binop": null }, - "start": 11012, - "end": 11013, + "start": 11185, + "end": 11186, "loc": { "start": { - "line": 527, + "line": 536, "column": 38 }, "end": { - "line": 527, + "line": 536, "column": 39 } } @@ -106814,15 +108665,15 @@ "binop": null, "updateContext": null }, - "start": 11014, - "end": 11015, + "start": 11187, + "end": 11188, "loc": { "start": { - "line": 527, + "line": 536, "column": 40 }, "end": { - "line": 527, + "line": 536, "column": 41 } } @@ -106840,15 +108691,15 @@ "binop": null }, "value": "_copy", - "start": 11018, - "end": 11023, + "start": 11191, + "end": 11196, "loc": { "start": { - "line": 528, + "line": 537, "column": 2 }, "end": { - "line": 528, + "line": 537, "column": 7 } } @@ -106865,15 +108716,15 @@ "postfix": false, "binop": null }, - "start": 11023, - "end": 11024, + "start": 11196, + "end": 11197, "loc": { "start": { - "line": 528, + "line": 537, "column": 7 }, "end": { - "line": 528, + "line": 537, "column": 8 } } @@ -106891,15 +108742,15 @@ "binop": null }, "value": "R0", - "start": 11025, - "end": 11027, + "start": 11198, + "end": 11200, "loc": { "start": { - "line": 528, + "line": 537, "column": 9 }, "end": { - "line": 528, + "line": 537, "column": 11 } } @@ -106917,15 +108768,15 @@ "binop": null, "updateContext": null }, - "start": 11028, - "end": 11029, + "start": 11201, + "end": 11202, "loc": { "start": { - "line": 528, + "line": 537, "column": 12 }, "end": { - "line": 528, + "line": 537, "column": 13 } } @@ -106943,15 +108794,15 @@ "binop": null }, "value": "R0i", - "start": 11030, - "end": 11033, + "start": 11203, + "end": 11206, "loc": { "start": { - "line": 528, + "line": 537, "column": 14 }, "end": { - "line": 528, + "line": 537, "column": 17 } } @@ -106969,15 +108820,15 @@ "binop": null, "updateContext": null }, - "start": 11034, - "end": 11035, + "start": 11207, + "end": 11208, "loc": { "start": { - "line": 528, + "line": 537, "column": 18 }, "end": { - "line": 528, + "line": 537, "column": 19 } } @@ -106995,15 +108846,15 @@ "binop": null }, "value": "R0", - "start": 11036, - "end": 11038, + "start": 11209, + "end": 11211, "loc": { "start": { - "line": 528, + "line": 537, "column": 20 }, "end": { - "line": 528, + "line": 537, "column": 22 } } @@ -107021,15 +108872,15 @@ "binop": null, "updateContext": null }, - "start": 11038, - "end": 11039, + "start": 11211, + "end": 11212, "loc": { "start": { - "line": 528, + "line": 537, "column": 22 }, "end": { - "line": 528, + "line": 537, "column": 23 } } @@ -107047,15 +108898,15 @@ "binop": null }, "value": "length", - "start": 11039, - "end": 11045, + "start": 11212, + "end": 11218, "loc": { "start": { - "line": 528, + "line": 537, "column": 23 }, "end": { - "line": 528, + "line": 537, "column": 29 } } @@ -107073,15 +108924,15 @@ "binop": null, "updateContext": null }, - "start": 11046, - "end": 11047, + "start": 11219, + "end": 11220, "loc": { "start": { - "line": 528, + "line": 537, "column": 30 }, "end": { - "line": 528, + "line": 537, "column": 31 } } @@ -107099,15 +108950,15 @@ "binop": null }, "value": "gcd", - "start": 11048, - "end": 11051, + "start": 11221, + "end": 11224, "loc": { "start": { - "line": 528, + "line": 537, "column": 32 }, "end": { - "line": 528, + "line": 537, "column": 35 } } @@ -107125,15 +108976,15 @@ "binop": null, "updateContext": null }, - "start": 11052, - "end": 11053, + "start": 11225, + "end": 11226, "loc": { "start": { - "line": 528, + "line": 537, "column": 36 }, "end": { - "line": 528, + "line": 537, "column": 37 } } @@ -107152,15 +109003,15 @@ "updateContext": null }, "value": 0, - "start": 11054, - "end": 11055, + "start": 11227, + "end": 11228, "loc": { "start": { - "line": 528, + "line": 537, "column": 38 }, "end": { - "line": 528, + "line": 537, "column": 39 } } @@ -107177,15 +109028,15 @@ "postfix": false, "binop": null }, - "start": 11056, - "end": 11057, + "start": 11229, + "end": 11230, "loc": { "start": { - "line": 528, + "line": 537, "column": 40 }, "end": { - "line": 528, + "line": 537, "column": 41 } } @@ -107203,15 +109054,15 @@ "binop": null, "updateContext": null }, - "start": 11058, - "end": 11059, + "start": 11231, + "end": 11232, "loc": { "start": { - "line": 528, + "line": 537, "column": 42 }, "end": { - "line": 528, + "line": 537, "column": 43 } } @@ -107231,15 +109082,15 @@ "updateContext": null }, "value": "const", - "start": 11062, - "end": 11067, + "start": 11235, + "end": 11240, "loc": { "start": { - "line": 529, + "line": 538, "column": 2 }, "end": { - "line": 529, + "line": 538, "column": 7 } } @@ -107257,15 +109108,15 @@ "binop": null }, "value": "x", - "start": 11068, - "end": 11069, + "start": 11241, + "end": 11242, "loc": { "start": { - "line": 529, + "line": 538, "column": 8 }, "end": { - "line": 529, + "line": 538, "column": 9 } } @@ -107284,15 +109135,15 @@ "updateContext": null }, "value": "=", - "start": 11070, - "end": 11071, + "start": 11243, + "end": 11244, "loc": { "start": { - "line": 529, + "line": 538, "column": 10 }, "end": { - "line": 529, + "line": 538, "column": 11 } } @@ -107310,15 +109161,15 @@ "binop": null }, "value": "_alloc", - "start": 11072, - "end": 11078, + "start": 11245, + "end": 11251, "loc": { "start": { - "line": 529, + "line": 538, "column": 12 }, "end": { - "line": 529, + "line": 538, "column": 18 } } @@ -107335,15 +109186,15 @@ "postfix": false, "binop": null }, - "start": 11078, - "end": 11079, + "start": 11251, + "end": 11252, "loc": { "start": { - "line": 529, + "line": 538, "column": 18 }, "end": { - "line": 529, + "line": 538, "column": 19 } } @@ -107361,15 +109212,15 @@ "binop": null }, "value": "S0", - "start": 11080, - "end": 11082, + "start": 11253, + "end": 11255, "loc": { "start": { - "line": 529, + "line": 538, "column": 20 }, "end": { - "line": 529, + "line": 538, "column": 22 } } @@ -107387,15 +109238,15 @@ "binop": null, "updateContext": null }, - "start": 11082, - "end": 11083, + "start": 11255, + "end": 11256, "loc": { "start": { - "line": 529, + "line": 538, "column": 22 }, "end": { - "line": 529, + "line": 538, "column": 23 } } @@ -107413,15 +109264,15 @@ "binop": null }, "value": "length", - "start": 11083, - "end": 11089, + "start": 11256, + "end": 11262, "loc": { "start": { - "line": 529, + "line": 538, "column": 23 }, "end": { - "line": 529, + "line": 538, "column": 29 } } @@ -107440,15 +109291,15 @@ "updateContext": null }, "value": "-", - "start": 11090, - "end": 11091, + "start": 11263, + "end": 11264, "loc": { "start": { - "line": 529, + "line": 538, "column": 30 }, "end": { - "line": 529, + "line": 538, "column": 31 } } @@ -107466,15 +109317,15 @@ "binop": null }, "value": "S0i", - "start": 11092, - "end": 11095, + "start": 11265, + "end": 11268, "loc": { "start": { - "line": 529, + "line": 538, "column": 32 }, "end": { - "line": 529, + "line": 538, "column": 35 } } @@ -107491,15 +109342,15 @@ "postfix": false, "binop": null }, - "start": 11096, - "end": 11097, + "start": 11269, + "end": 11270, "loc": { "start": { - "line": 529, + "line": 538, "column": 36 }, "end": { - "line": 529, + "line": 538, "column": 37 } } @@ -107517,15 +109368,15 @@ "binop": null, "updateContext": null }, - "start": 11098, - "end": 11099, + "start": 11271, + "end": 11272, "loc": { "start": { - "line": 529, + "line": 538, "column": 38 }, "end": { - "line": 529, + "line": 538, "column": 39 } } @@ -107543,15 +109394,15 @@ "binop": null }, "value": "_copy", - "start": 11102, - "end": 11107, + "start": 11275, + "end": 11280, "loc": { "start": { - "line": 530, + "line": 539, "column": 2 }, "end": { - "line": 530, + "line": 539, "column": 7 } } @@ -107568,15 +109419,15 @@ "postfix": false, "binop": null }, - "start": 11107, - "end": 11108, + "start": 11280, + "end": 11281, "loc": { "start": { - "line": 530, + "line": 539, "column": 7 }, "end": { - "line": 530, + "line": 539, "column": 8 } } @@ -107594,15 +109445,15 @@ "binop": null }, "value": "S0", - "start": 11109, - "end": 11111, + "start": 11282, + "end": 11284, "loc": { "start": { - "line": 530, + "line": 539, "column": 9 }, "end": { - "line": 530, + "line": 539, "column": 11 } } @@ -107620,15 +109471,15 @@ "binop": null, "updateContext": null }, - "start": 11112, - "end": 11113, + "start": 11285, + "end": 11286, "loc": { "start": { - "line": 530, + "line": 539, "column": 12 }, "end": { - "line": 530, + "line": 539, "column": 13 } } @@ -107646,15 +109497,15 @@ "binop": null }, "value": "S0i", - "start": 11114, - "end": 11117, + "start": 11287, + "end": 11290, "loc": { "start": { - "line": 530, + "line": 539, "column": 14 }, "end": { - "line": 530, + "line": 539, "column": 17 } } @@ -107672,15 +109523,15 @@ "binop": null, "updateContext": null }, - "start": 11118, - "end": 11119, + "start": 11291, + "end": 11292, "loc": { "start": { - "line": 530, + "line": 539, "column": 18 }, "end": { - "line": 530, + "line": 539, "column": 19 } } @@ -107698,15 +109549,15 @@ "binop": null }, "value": "S0", - "start": 11120, - "end": 11122, + "start": 11293, + "end": 11295, "loc": { "start": { - "line": 530, + "line": 539, "column": 20 }, "end": { - "line": 530, + "line": 539, "column": 22 } } @@ -107724,15 +109575,15 @@ "binop": null, "updateContext": null }, - "start": 11122, - "end": 11123, + "start": 11295, + "end": 11296, "loc": { "start": { - "line": 530, + "line": 539, "column": 22 }, "end": { - "line": 530, + "line": 539, "column": 23 } } @@ -107750,15 +109601,15 @@ "binop": null }, "value": "length", - "start": 11123, - "end": 11129, + "start": 11296, + "end": 11302, "loc": { "start": { - "line": 530, + "line": 539, "column": 23 }, "end": { - "line": 530, + "line": 539, "column": 29 } } @@ -107776,15 +109627,15 @@ "binop": null, "updateContext": null }, - "start": 11130, - "end": 11131, + "start": 11303, + "end": 11304, "loc": { "start": { - "line": 530, + "line": 539, "column": 30 }, "end": { - "line": 530, + "line": 539, "column": 31 } } @@ -107802,15 +109653,15 @@ "binop": null }, "value": "x", - "start": 11132, - "end": 11133, + "start": 11305, + "end": 11306, "loc": { "start": { - "line": 530, + "line": 539, "column": 32 }, "end": { - "line": 530, + "line": 539, "column": 33 } } @@ -107828,15 +109679,15 @@ "binop": null, "updateContext": null }, - "start": 11134, - "end": 11135, + "start": 11307, + "end": 11308, "loc": { "start": { - "line": 530, + "line": 539, "column": 34 }, "end": { - "line": 530, + "line": 539, "column": 35 } } @@ -107855,15 +109706,15 @@ "updateContext": null }, "value": 0, - "start": 11136, - "end": 11137, + "start": 11309, + "end": 11310, "loc": { "start": { - "line": 530, + "line": 539, "column": 36 }, "end": { - "line": 530, + "line": 539, "column": 37 } } @@ -107880,15 +109731,15 @@ "postfix": false, "binop": null }, - "start": 11138, - "end": 11139, + "start": 11311, + "end": 11312, "loc": { "start": { - "line": 530, + "line": 539, "column": 38 }, "end": { - "line": 530, + "line": 539, "column": 39 } } @@ -107906,15 +109757,15 @@ "binop": null, "updateContext": null }, - "start": 11140, - "end": 11141, + "start": 11313, + "end": 11314, "loc": { "start": { - "line": 530, + "line": 539, "column": 40 }, "end": { - "line": 530, + "line": 539, "column": 41 } } @@ -107934,15 +109785,15 @@ "updateContext": null }, "value": "const", - "start": 11144, - "end": 11149, + "start": 11317, + "end": 11322, "loc": { "start": { - "line": 531, + "line": 540, "column": 2 }, "end": { - "line": 531, + "line": 540, "column": 7 } } @@ -107960,15 +109811,15 @@ "binop": null }, "value": "y", - "start": 11150, - "end": 11151, + "start": 11323, + "end": 11324, "loc": { "start": { - "line": 531, + "line": 540, "column": 8 }, "end": { - "line": 531, + "line": 540, "column": 9 } } @@ -107987,15 +109838,15 @@ "updateContext": null }, "value": "=", - "start": 11152, - "end": 11153, + "start": 11325, + "end": 11326, "loc": { "start": { - "line": 531, + "line": 540, "column": 10 }, "end": { - "line": 531, + "line": 540, "column": 11 } } @@ -108013,15 +109864,15 @@ "binop": null }, "value": "_alloc", - "start": 11154, - "end": 11160, + "start": 11327, + "end": 11333, "loc": { "start": { - "line": 531, + "line": 540, "column": 12 }, "end": { - "line": 531, + "line": 540, "column": 18 } } @@ -108038,15 +109889,15 @@ "postfix": false, "binop": null }, - "start": 11160, - "end": 11161, + "start": 11333, + "end": 11334, "loc": { "start": { - "line": 531, + "line": 540, "column": 18 }, "end": { - "line": 531, + "line": 540, "column": 19 } } @@ -108064,15 +109915,15 @@ "binop": null }, "value": "T0", - "start": 11162, - "end": 11164, + "start": 11335, + "end": 11337, "loc": { "start": { - "line": 531, + "line": 540, "column": 20 }, "end": { - "line": 531, + "line": 540, "column": 22 } } @@ -108090,15 +109941,15 @@ "binop": null, "updateContext": null }, - "start": 11164, - "end": 11165, + "start": 11337, + "end": 11338, "loc": { "start": { - "line": 531, + "line": 540, "column": 22 }, "end": { - "line": 531, + "line": 540, "column": 23 } } @@ -108116,15 +109967,15 @@ "binop": null }, "value": "length", - "start": 11165, - "end": 11171, + "start": 11338, + "end": 11344, "loc": { "start": { - "line": 531, + "line": 540, "column": 23 }, "end": { - "line": 531, + "line": 540, "column": 29 } } @@ -108143,15 +109994,15 @@ "updateContext": null }, "value": "-", - "start": 11172, - "end": 11173, + "start": 11345, + "end": 11346, "loc": { "start": { - "line": 531, + "line": 540, "column": 30 }, "end": { - "line": 531, + "line": 540, "column": 31 } } @@ -108169,15 +110020,15 @@ "binop": null }, "value": "T0i", - "start": 11174, - "end": 11177, + "start": 11347, + "end": 11350, "loc": { "start": { - "line": 531, + "line": 540, "column": 32 }, "end": { - "line": 531, + "line": 540, "column": 35 } } @@ -108194,15 +110045,15 @@ "postfix": false, "binop": null }, - "start": 11178, - "end": 11179, + "start": 11351, + "end": 11352, "loc": { "start": { - "line": 531, + "line": 540, "column": 36 }, "end": { - "line": 531, + "line": 540, "column": 37 } } @@ -108220,15 +110071,15 @@ "binop": null, "updateContext": null }, - "start": 11180, - "end": 11181, + "start": 11353, + "end": 11354, "loc": { "start": { - "line": 531, + "line": 540, "column": 38 }, "end": { - "line": 531, + "line": 540, "column": 39 } } @@ -108246,15 +110097,15 @@ "binop": null }, "value": "_copy", - "start": 11184, - "end": 11189, + "start": 11357, + "end": 11362, "loc": { "start": { - "line": 532, + "line": 541, "column": 2 }, "end": { - "line": 532, + "line": 541, "column": 7 } } @@ -108271,15 +110122,15 @@ "postfix": false, "binop": null }, - "start": 11189, - "end": 11190, + "start": 11362, + "end": 11363, "loc": { "start": { - "line": 532, + "line": 541, "column": 7 }, "end": { - "line": 532, + "line": 541, "column": 8 } } @@ -108297,15 +110148,15 @@ "binop": null }, "value": "T0", - "start": 11191, - "end": 11193, + "start": 11364, + "end": 11366, "loc": { "start": { - "line": 532, + "line": 541, "column": 9 }, "end": { - "line": 532, + "line": 541, "column": 11 } } @@ -108323,15 +110174,15 @@ "binop": null, "updateContext": null }, - "start": 11194, - "end": 11195, + "start": 11367, + "end": 11368, "loc": { "start": { - "line": 532, + "line": 541, "column": 12 }, "end": { - "line": 532, + "line": 541, "column": 13 } } @@ -108349,15 +110200,15 @@ "binop": null }, "value": "T0i", - "start": 11196, - "end": 11199, + "start": 11369, + "end": 11372, "loc": { "start": { - "line": 532, + "line": 541, "column": 14 }, "end": { - "line": 532, + "line": 541, "column": 17 } } @@ -108375,15 +110226,15 @@ "binop": null, "updateContext": null }, - "start": 11200, - "end": 11201, + "start": 11373, + "end": 11374, "loc": { "start": { - "line": 532, + "line": 541, "column": 18 }, "end": { - "line": 532, + "line": 541, "column": 19 } } @@ -108401,15 +110252,15 @@ "binop": null }, "value": "T0", - "start": 11202, - "end": 11204, + "start": 11375, + "end": 11377, "loc": { "start": { - "line": 532, + "line": 541, "column": 20 }, "end": { - "line": 532, + "line": 541, "column": 22 } } @@ -108427,15 +110278,15 @@ "binop": null, "updateContext": null }, - "start": 11204, - "end": 11205, + "start": 11377, + "end": 11378, "loc": { "start": { - "line": 532, + "line": 541, "column": 22 }, "end": { - "line": 532, + "line": 541, "column": 23 } } @@ -108453,15 +110304,15 @@ "binop": null }, "value": "length", - "start": 11205, - "end": 11211, + "start": 11378, + "end": 11384, "loc": { "start": { - "line": 532, + "line": 541, "column": 23 }, "end": { - "line": 532, + "line": 541, "column": 29 } } @@ -108479,15 +110330,15 @@ "binop": null, "updateContext": null }, - "start": 11212, - "end": 11213, + "start": 11385, + "end": 11386, "loc": { "start": { - "line": 532, + "line": 541, "column": 30 }, "end": { - "line": 532, + "line": 541, "column": 31 } } @@ -108505,15 +110356,15 @@ "binop": null }, "value": "y", - "start": 11214, - "end": 11215, + "start": 11387, + "end": 11388, "loc": { "start": { - "line": 532, + "line": 541, "column": 32 }, "end": { - "line": 532, + "line": 541, "column": 33 } } @@ -108531,15 +110382,15 @@ "binop": null, "updateContext": null }, - "start": 11216, - "end": 11217, + "start": 11389, + "end": 11390, "loc": { "start": { - "line": 532, + "line": 541, "column": 34 }, "end": { - "line": 532, + "line": 541, "column": 35 } } @@ -108558,15 +110409,15 @@ "updateContext": null }, "value": 0, - "start": 11218, - "end": 11219, + "start": 11391, + "end": 11392, "loc": { "start": { - "line": 532, + "line": 541, "column": 36 }, "end": { - "line": 532, + "line": 541, "column": 37 } } @@ -108583,15 +110434,15 @@ "postfix": false, "binop": null }, - "start": 11220, - "end": 11221, + "start": 11393, + "end": 11394, "loc": { "start": { - "line": 532, + "line": 541, "column": 38 }, "end": { - "line": 532, + "line": 541, "column": 39 } } @@ -108609,15 +110460,15 @@ "binop": null, "updateContext": null }, - "start": 11222, - "end": 11223, + "start": 11395, + "end": 11396, "loc": { "start": { - "line": 532, + "line": 541, "column": 40 }, "end": { - "line": 532, + "line": 541, "column": 41 } } @@ -108637,15 +110488,15 @@ "updateContext": null }, "value": "const", - "start": 11226, - "end": 11231, + "start": 11399, + "end": 11404, "loc": { "start": { - "line": 533, + "line": 542, "column": 2 }, "end": { - "line": 533, + "line": 542, "column": 7 } } @@ -108663,15 +110514,15 @@ "binop": null }, "value": "u", - "start": 11232, - "end": 11233, + "start": 11405, + "end": 11406, "loc": { "start": { - "line": 533, + "line": 542, "column": 8 }, "end": { - "line": 533, + "line": 542, "column": 9 } } @@ -108690,15 +110541,15 @@ "updateContext": null }, "value": "=", - "start": 11234, - "end": 11235, + "start": 11407, + "end": 11408, "loc": { "start": { - "line": 533, + "line": 542, "column": 10 }, "end": { - "line": 533, + "line": 542, "column": 11 } } @@ -108716,15 +110567,15 @@ "binop": null }, "value": "_alloc", - "start": 11236, - "end": 11242, + "start": 11409, + "end": 11415, "loc": { "start": { - "line": 533, + "line": 542, "column": 12 }, "end": { - "line": 533, + "line": 542, "column": 18 } } @@ -108741,15 +110592,15 @@ "postfix": false, "binop": null }, - "start": 11242, - "end": 11243, + "start": 11415, + "end": 11416, "loc": { "start": { - "line": 533, + "line": 542, "column": 18 }, "end": { - "line": 533, + "line": 542, "column": 19 } } @@ -108767,15 +110618,15 @@ "binop": null }, "value": "S1", - "start": 11244, - "end": 11246, + "start": 11417, + "end": 11419, "loc": { "start": { - "line": 533, + "line": 542, "column": 20 }, "end": { - "line": 533, + "line": 542, "column": 22 } } @@ -108793,15 +110644,15 @@ "binop": null, "updateContext": null }, - "start": 11246, - "end": 11247, + "start": 11419, + "end": 11420, "loc": { "start": { - "line": 533, + "line": 542, "column": 22 }, "end": { - "line": 533, + "line": 542, "column": 23 } } @@ -108819,15 +110670,15 @@ "binop": null }, "value": "length", - "start": 11247, - "end": 11253, + "start": 11420, + "end": 11426, "loc": { "start": { - "line": 533, + "line": 542, "column": 23 }, "end": { - "line": 533, + "line": 542, "column": 29 } } @@ -108846,15 +110697,15 @@ "updateContext": null }, "value": "-", - "start": 11254, - "end": 11255, + "start": 11427, + "end": 11428, "loc": { "start": { - "line": 533, + "line": 542, "column": 30 }, "end": { - "line": 533, + "line": 542, "column": 31 } } @@ -108872,15 +110723,15 @@ "binop": null }, "value": "S1i", - "start": 11256, - "end": 11259, + "start": 11429, + "end": 11432, "loc": { "start": { - "line": 533, + "line": 542, "column": 32 }, "end": { - "line": 533, + "line": 542, "column": 35 } } @@ -108897,15 +110748,15 @@ "postfix": false, "binop": null }, - "start": 11260, - "end": 11261, + "start": 11433, + "end": 11434, "loc": { "start": { - "line": 533, + "line": 542, "column": 36 }, "end": { - "line": 533, + "line": 542, "column": 37 } } @@ -108923,15 +110774,15 @@ "binop": null, "updateContext": null }, - "start": 11262, - "end": 11263, + "start": 11435, + "end": 11436, "loc": { "start": { - "line": 533, + "line": 542, "column": 38 }, "end": { - "line": 533, + "line": 542, "column": 39 } } @@ -108949,15 +110800,15 @@ "binop": null }, "value": "_copy", - "start": 11266, - "end": 11271, + "start": 11439, + "end": 11444, "loc": { "start": { - "line": 534, + "line": 543, "column": 2 }, "end": { - "line": 534, + "line": 543, "column": 7 } } @@ -108974,15 +110825,15 @@ "postfix": false, "binop": null }, - "start": 11271, - "end": 11272, + "start": 11444, + "end": 11445, "loc": { "start": { - "line": 534, + "line": 543, "column": 7 }, "end": { - "line": 534, + "line": 543, "column": 8 } } @@ -109000,15 +110851,15 @@ "binop": null }, "value": "S1", - "start": 11273, - "end": 11275, + "start": 11446, + "end": 11448, "loc": { "start": { - "line": 534, + "line": 543, "column": 9 }, "end": { - "line": 534, + "line": 543, "column": 11 } } @@ -109026,15 +110877,15 @@ "binop": null, "updateContext": null }, - "start": 11276, - "end": 11277, + "start": 11449, + "end": 11450, "loc": { "start": { - "line": 534, + "line": 543, "column": 12 }, "end": { - "line": 534, + "line": 543, "column": 13 } } @@ -109052,15 +110903,15 @@ "binop": null }, "value": "S1i", - "start": 11278, - "end": 11281, + "start": 11451, + "end": 11454, "loc": { "start": { - "line": 534, + "line": 543, "column": 14 }, "end": { - "line": 534, + "line": 543, "column": 17 } } @@ -109078,15 +110929,15 @@ "binop": null, "updateContext": null }, - "start": 11282, - "end": 11283, + "start": 11455, + "end": 11456, "loc": { "start": { - "line": 534, + "line": 543, "column": 18 }, "end": { - "line": 534, + "line": 543, "column": 19 } } @@ -109104,15 +110955,15 @@ "binop": null }, "value": "S1", - "start": 11284, - "end": 11286, + "start": 11457, + "end": 11459, "loc": { "start": { - "line": 534, + "line": 543, "column": 20 }, "end": { - "line": 534, + "line": 543, "column": 22 } } @@ -109130,15 +110981,15 @@ "binop": null, "updateContext": null }, - "start": 11286, - "end": 11287, + "start": 11459, + "end": 11460, "loc": { "start": { - "line": 534, + "line": 543, "column": 22 }, "end": { - "line": 534, + "line": 543, "column": 23 } } @@ -109156,15 +111007,15 @@ "binop": null }, "value": "length", - "start": 11287, - "end": 11293, + "start": 11460, + "end": 11466, "loc": { "start": { - "line": 534, + "line": 543, "column": 23 }, "end": { - "line": 534, + "line": 543, "column": 29 } } @@ -109182,15 +111033,15 @@ "binop": null, "updateContext": null }, - "start": 11294, - "end": 11295, + "start": 11467, + "end": 11468, "loc": { "start": { - "line": 534, + "line": 543, "column": 30 }, "end": { - "line": 534, + "line": 543, "column": 31 } } @@ -109208,15 +111059,15 @@ "binop": null }, "value": "u", - "start": 11296, - "end": 11297, + "start": 11469, + "end": 11470, "loc": { "start": { - "line": 534, + "line": 543, "column": 32 }, "end": { - "line": 534, + "line": 543, "column": 33 } } @@ -109234,15 +111085,15 @@ "binop": null, "updateContext": null }, - "start": 11298, - "end": 11299, + "start": 11471, + "end": 11472, "loc": { "start": { - "line": 534, + "line": 543, "column": 34 }, "end": { - "line": 534, + "line": 543, "column": 35 } } @@ -109261,15 +111112,15 @@ "updateContext": null }, "value": 0, - "start": 11300, - "end": 11301, + "start": 11473, + "end": 11474, "loc": { "start": { - "line": 534, + "line": 543, "column": 36 }, "end": { - "line": 534, + "line": 543, "column": 37 } } @@ -109286,15 +111137,15 @@ "postfix": false, "binop": null }, - "start": 11302, - "end": 11303, + "start": 11475, + "end": 11476, "loc": { "start": { - "line": 534, + "line": 543, "column": 38 }, "end": { - "line": 534, + "line": 543, "column": 39 } } @@ -109312,15 +111163,15 @@ "binop": null, "updateContext": null }, - "start": 11304, - "end": 11305, + "start": 11477, + "end": 11478, "loc": { "start": { - "line": 534, + "line": 543, "column": 40 }, "end": { - "line": 534, + "line": 543, "column": 41 } } @@ -109340,15 +111191,15 @@ "updateContext": null }, "value": "const", - "start": 11308, - "end": 11313, + "start": 11481, + "end": 11486, "loc": { "start": { - "line": 535, + "line": 544, "column": 2 }, "end": { - "line": 535, + "line": 544, "column": 7 } } @@ -109366,15 +111217,15 @@ "binop": null }, "value": "v", - "start": 11314, - "end": 11315, + "start": 11487, + "end": 11488, "loc": { "start": { - "line": 535, + "line": 544, "column": 8 }, "end": { - "line": 535, + "line": 544, "column": 9 } } @@ -109393,15 +111244,15 @@ "updateContext": null }, "value": "=", - "start": 11316, - "end": 11317, + "start": 11489, + "end": 11490, "loc": { "start": { - "line": 535, + "line": 544, "column": 10 }, "end": { - "line": 535, + "line": 544, "column": 11 } } @@ -109419,15 +111270,15 @@ "binop": null }, "value": "_alloc", - "start": 11318, - "end": 11324, + "start": 11491, + "end": 11497, "loc": { "start": { - "line": 535, + "line": 544, "column": 12 }, "end": { - "line": 535, + "line": 544, "column": 18 } } @@ -109444,15 +111295,15 @@ "postfix": false, "binop": null }, - "start": 11324, - "end": 11325, + "start": 11497, + "end": 11498, "loc": { "start": { - "line": 535, + "line": 544, "column": 18 }, "end": { - "line": 535, + "line": 544, "column": 19 } } @@ -109470,15 +111321,15 @@ "binop": null }, "value": "T1", - "start": 11326, - "end": 11328, + "start": 11499, + "end": 11501, "loc": { "start": { - "line": 535, + "line": 544, "column": 20 }, "end": { - "line": 535, + "line": 544, "column": 22 } } @@ -109496,15 +111347,15 @@ "binop": null, "updateContext": null }, - "start": 11328, - "end": 11329, + "start": 11501, + "end": 11502, "loc": { "start": { - "line": 535, + "line": 544, "column": 22 }, "end": { - "line": 535, + "line": 544, "column": 23 } } @@ -109522,15 +111373,15 @@ "binop": null }, "value": "length", - "start": 11329, - "end": 11335, + "start": 11502, + "end": 11508, "loc": { "start": { - "line": 535, + "line": 544, "column": 23 }, "end": { - "line": 535, + "line": 544, "column": 29 } } @@ -109549,15 +111400,15 @@ "updateContext": null }, "value": "-", - "start": 11336, - "end": 11337, + "start": 11509, + "end": 11510, "loc": { "start": { - "line": 535, + "line": 544, "column": 30 }, "end": { - "line": 535, + "line": 544, "column": 31 } } @@ -109575,15 +111426,15 @@ "binop": null }, "value": "T1i", - "start": 11338, - "end": 11341, + "start": 11511, + "end": 11514, "loc": { "start": { - "line": 535, + "line": 544, "column": 32 }, "end": { - "line": 535, + "line": 544, "column": 35 } } @@ -109600,15 +111451,15 @@ "postfix": false, "binop": null }, - "start": 11342, - "end": 11343, + "start": 11515, + "end": 11516, "loc": { "start": { - "line": 535, + "line": 544, "column": 36 }, "end": { - "line": 535, + "line": 544, "column": 37 } } @@ -109626,15 +111477,15 @@ "binop": null, "updateContext": null }, - "start": 11344, - "end": 11345, + "start": 11517, + "end": 11518, "loc": { "start": { - "line": 535, + "line": 544, "column": 38 }, "end": { - "line": 535, + "line": 544, "column": 39 } } @@ -109652,15 +111503,15 @@ "binop": null }, "value": "_copy", - "start": 11348, - "end": 11353, + "start": 11521, + "end": 11526, "loc": { "start": { - "line": 536, + "line": 545, "column": 2 }, "end": { - "line": 536, + "line": 545, "column": 7 } } @@ -109677,15 +111528,15 @@ "postfix": false, "binop": null }, - "start": 11353, - "end": 11354, + "start": 11526, + "end": 11527, "loc": { "start": { - "line": 536, + "line": 545, "column": 7 }, "end": { - "line": 536, + "line": 545, "column": 8 } } @@ -109703,15 +111554,15 @@ "binop": null }, "value": "T1", - "start": 11355, - "end": 11357, + "start": 11528, + "end": 11530, "loc": { "start": { - "line": 536, + "line": 545, "column": 9 }, "end": { - "line": 536, + "line": 545, "column": 11 } } @@ -109729,15 +111580,15 @@ "binop": null, "updateContext": null }, - "start": 11358, - "end": 11359, + "start": 11531, + "end": 11532, "loc": { "start": { - "line": 536, + "line": 545, "column": 12 }, "end": { - "line": 536, + "line": 545, "column": 13 } } @@ -109755,15 +111606,15 @@ "binop": null }, "value": "T1i", - "start": 11360, - "end": 11363, + "start": 11533, + "end": 11536, "loc": { "start": { - "line": 536, + "line": 545, "column": 14 }, "end": { - "line": 536, + "line": 545, "column": 17 } } @@ -109781,15 +111632,15 @@ "binop": null, "updateContext": null }, - "start": 11364, - "end": 11365, + "start": 11537, + "end": 11538, "loc": { "start": { - "line": 536, + "line": 545, "column": 18 }, "end": { - "line": 536, + "line": 545, "column": 19 } } @@ -109807,15 +111658,15 @@ "binop": null }, "value": "T1", - "start": 11366, - "end": 11368, + "start": 11539, + "end": 11541, "loc": { "start": { - "line": 536, + "line": 545, "column": 20 }, "end": { - "line": 536, + "line": 545, "column": 22 } } @@ -109833,15 +111684,15 @@ "binop": null, "updateContext": null }, - "start": 11368, - "end": 11369, + "start": 11541, + "end": 11542, "loc": { "start": { - "line": 536, + "line": 545, "column": 22 }, "end": { - "line": 536, + "line": 545, "column": 23 } } @@ -109859,15 +111710,15 @@ "binop": null }, "value": "length", - "start": 11369, - "end": 11375, + "start": 11542, + "end": 11548, "loc": { "start": { - "line": 536, + "line": 545, "column": 23 }, "end": { - "line": 536, + "line": 545, "column": 29 } } @@ -109885,15 +111736,15 @@ "binop": null, "updateContext": null }, - "start": 11376, - "end": 11377, + "start": 11549, + "end": 11550, "loc": { "start": { - "line": 536, + "line": 545, "column": 30 }, "end": { - "line": 536, + "line": 545, "column": 31 } } @@ -109911,15 +111762,15 @@ "binop": null }, "value": "v", - "start": 11378, - "end": 11379, + "start": 11551, + "end": 11552, "loc": { "start": { - "line": 536, + "line": 545, "column": 32 }, "end": { - "line": 536, + "line": 545, "column": 33 } } @@ -109937,15 +111788,15 @@ "binop": null, "updateContext": null }, - "start": 11380, - "end": 11381, + "start": 11553, + "end": 11554, "loc": { "start": { - "line": 536, + "line": 545, "column": 34 }, "end": { - "line": 536, + "line": 545, "column": 35 } } @@ -109964,15 +111815,15 @@ "updateContext": null }, "value": 0, - "start": 11382, - "end": 11383, + "start": 11555, + "end": 11556, "loc": { "start": { - "line": 536, + "line": 545, "column": 36 }, "end": { - "line": 536, + "line": 545, "column": 37 } } @@ -109989,15 +111840,15 @@ "postfix": false, "binop": null }, - "start": 11384, - "end": 11385, + "start": 11557, + "end": 11558, "loc": { "start": { - "line": 536, + "line": 545, "column": 38 }, "end": { - "line": 536, + "line": 545, "column": 39 } } @@ -110015,15 +111866,15 @@ "binop": null, "updateContext": null }, - "start": 11386, - "end": 11387, + "start": 11559, + "end": 11560, "loc": { "start": { - "line": 536, + "line": 545, "column": 40 }, "end": { - "line": 536, + "line": 545, "column": 41 } } @@ -110043,15 +111894,15 @@ "updateContext": null }, "value": "return", - "start": 11390, - "end": 11396, + "start": 11563, + "end": 11569, "loc": { "start": { - "line": 537, + "line": 546, "column": 2 }, "end": { - "line": 537, + "line": 546, "column": 8 } } @@ -110068,15 +111919,15 @@ "postfix": false, "binop": null }, - "start": 11397, - "end": 11398, + "start": 11570, + "end": 11571, "loc": { "start": { - "line": 537, + "line": 546, "column": 9 }, "end": { - "line": 537, + "line": 546, "column": 10 } } @@ -110084,15 +111935,15 @@ { "type": "CommentLine", "value": " TODO use immutable zero", - "start": 11399, - "end": 11425, + "start": 11572, + "end": 11598, "loc": { "start": { - "line": 537, + "line": 546, "column": 11 }, "end": { - "line": 537, + "line": 546, "column": 37 } } @@ -110110,15 +111961,15 @@ "binop": null }, "value": "gcd", - "start": 11429, - "end": 11432, + "start": 11602, + "end": 11605, "loc": { "start": { - "line": 538, + "line": 547, "column": 3 }, "end": { - "line": 538, + "line": 547, "column": 6 } } @@ -110136,15 +111987,15 @@ "binop": null, "updateContext": null }, - "start": 11432, - "end": 11433, + "start": 11605, + "end": 11606, "loc": { "start": { - "line": 538, + "line": 547, "column": 6 }, "end": { - "line": 538, + "line": 547, "column": 7 } } @@ -110164,15 +112015,15 @@ "updateContext": null }, "value": "new", - "start": 11434, - "end": 11437, + "start": 11607, + "end": 11610, "loc": { "start": { - "line": 538, + "line": 547, "column": 8 }, "end": { - "line": 538, + "line": 547, "column": 11 } } @@ -110190,15 +112041,15 @@ "binop": null }, "value": "Integer", - "start": 11438, - "end": 11445, + "start": 11611, + "end": 11618, "loc": { "start": { - "line": 538, + "line": 547, "column": 12 }, "end": { - "line": 538, + "line": 547, "column": 19 } } @@ -110215,15 +112066,15 @@ "postfix": false, "binop": null }, - "start": 11445, - "end": 11446, + "start": 11618, + "end": 11619, "loc": { "start": { - "line": 538, + "line": 547, "column": 19 }, "end": { - "line": 538, + "line": 547, "column": 20 } } @@ -110241,15 +112092,15 @@ "binop": null }, "value": "r", - "start": 11446, - "end": 11447, + "start": 11619, + "end": 11620, "loc": { "start": { - "line": 538, + "line": 547, "column": 20 }, "end": { - "line": 538, + "line": 547, "column": 21 } } @@ -110267,15 +112118,15 @@ "binop": null, "updateContext": null }, - "start": 11447, - "end": 11448, + "start": 11620, + "end": 11621, "loc": { "start": { - "line": 538, + "line": 547, "column": 21 }, "end": { - "line": 538, + "line": 547, "column": 22 } } @@ -110294,15 +112145,15 @@ "updateContext": null }, "value": 0, - "start": 11449, - "end": 11450, + "start": 11622, + "end": 11623, "loc": { "start": { - "line": 538, + "line": 547, "column": 23 }, "end": { - "line": 538, + "line": 547, "column": 24 } } @@ -110320,15 +112171,15 @@ "binop": null, "updateContext": null }, - "start": 11450, - "end": 11451, + "start": 11623, + "end": 11624, "loc": { "start": { - "line": 538, + "line": 547, "column": 24 }, "end": { - "line": 538, + "line": 547, "column": 25 } } @@ -110346,15 +112197,15 @@ "binop": null }, "value": "gcd", - "start": 11452, - "end": 11455, + "start": 11625, + "end": 11628, "loc": { "start": { - "line": 538, + "line": 547, "column": 26 }, "end": { - "line": 538, + "line": 547, "column": 29 } } @@ -110371,15 +112222,15 @@ "postfix": false, "binop": null }, - "start": 11455, - "end": 11456, + "start": 11628, + "end": 11629, "loc": { "start": { - "line": 538, + "line": 547, "column": 29 }, "end": { - "line": 538, + "line": 547, "column": 30 } } @@ -110397,15 +112248,15 @@ "binop": null, "updateContext": null }, - "start": 11457, - "end": 11458, + "start": 11630, + "end": 11631, "loc": { "start": { - "line": 538, + "line": 547, "column": 31 }, "end": { - "line": 538, + "line": 547, "column": 32 } } @@ -110423,15 +112274,15 @@ "binop": null }, "value": "x", - "start": 11462, - "end": 11463, + "start": 11635, + "end": 11636, "loc": { "start": { - "line": 539, + "line": 548, "column": 3 }, "end": { - "line": 539, + "line": 548, "column": 4 } } @@ -110449,15 +112300,15 @@ "binop": null, "updateContext": null }, - "start": 11463, - "end": 11464, + "start": 11636, + "end": 11637, "loc": { "start": { - "line": 539, + "line": 548, "column": 4 }, "end": { - "line": 539, + "line": 548, "column": 5 } } @@ -110475,15 +112326,15 @@ "binop": null }, "value": "x", - "start": 11465, - "end": 11466, + "start": 11638, + "end": 11639, "loc": { "start": { - "line": 539, + "line": 548, "column": 6 }, "end": { - "line": 539, + "line": 548, "column": 7 } } @@ -110501,15 +112352,15 @@ "binop": null, "updateContext": null }, - "start": 11466, - "end": 11467, + "start": 11639, + "end": 11640, "loc": { "start": { - "line": 539, + "line": 548, "column": 7 }, "end": { - "line": 539, + "line": 548, "column": 8 } } @@ -110527,15 +112378,15 @@ "binop": null }, "value": "length", - "start": 11467, - "end": 11473, + "start": 11640, + "end": 11646, "loc": { "start": { - "line": 539, + "line": 548, "column": 8 }, "end": { - "line": 539, + "line": 548, "column": 14 } } @@ -110553,15 +112404,15 @@ "binop": null, "updateContext": null }, - "start": 11474, - "end": 11475, + "start": 11647, + "end": 11648, "loc": { "start": { - "line": 539, + "line": 548, "column": 15 }, "end": { - "line": 539, + "line": 548, "column": 16 } } @@ -110581,15 +112432,15 @@ "updateContext": null }, "value": "new", - "start": 11476, - "end": 11479, + "start": 11649, + "end": 11652, "loc": { "start": { - "line": 539, + "line": 548, "column": 17 }, "end": { - "line": 539, + "line": 548, "column": 20 } } @@ -110607,15 +112458,15 @@ "binop": null }, "value": "Integer", - "start": 11480, - "end": 11487, + "start": 11653, + "end": 11660, "loc": { "start": { - "line": 539, + "line": 548, "column": 21 }, "end": { - "line": 539, + "line": 548, "column": 28 } } @@ -110632,15 +112483,15 @@ "postfix": false, "binop": null }, - "start": 11487, - "end": 11488, + "start": 11660, + "end": 11661, "loc": { "start": { - "line": 539, + "line": 548, "column": 28 }, "end": { - "line": 539, + "line": 548, "column": 29 } } @@ -110658,15 +112509,15 @@ "binop": null }, "value": "r", - "start": 11488, - "end": 11489, + "start": 11661, + "end": 11662, "loc": { "start": { - "line": 539, + "line": 548, "column": 29 }, "end": { - "line": 539, + "line": 548, "column": 30 } } @@ -110684,15 +112535,15 @@ "binop": null, "updateContext": null }, - "start": 11489, - "end": 11490, + "start": 11662, + "end": 11663, "loc": { "start": { - "line": 539, + "line": 548, "column": 30 }, "end": { - "line": 539, + "line": 548, "column": 31 } } @@ -110712,15 +112563,15 @@ "updateContext": null }, "value": "this", - "start": 11491, - "end": 11495, + "start": 11664, + "end": 11668, "loc": { "start": { - "line": 539, + "line": 548, "column": 32 }, "end": { - "line": 539, + "line": 548, "column": 36 } } @@ -110738,15 +112589,15 @@ "binop": null, "updateContext": null }, - "start": 11495, - "end": 11496, + "start": 11668, + "end": 11669, "loc": { "start": { - "line": 539, + "line": 548, "column": 36 }, "end": { - "line": 539, + "line": 548, "column": 37 } } @@ -110764,15 +112615,15 @@ "binop": null }, "value": "is_negative", - "start": 11496, - "end": 11507, + "start": 11669, + "end": 11680, "loc": { "start": { - "line": 539, + "line": 548, "column": 37 }, "end": { - "line": 539, + "line": 548, "column": 48 } } @@ -110791,15 +112642,15 @@ "updateContext": null }, "value": "^", - "start": 11508, - "end": 11509, + "start": 11681, + "end": 11682, "loc": { "start": { - "line": 539, + "line": 548, "column": 49 }, "end": { - "line": 539, + "line": 548, "column": 50 } } @@ -110816,15 +112667,15 @@ "postfix": false, "binop": null }, - "start": 11510, - "end": 11511, + "start": 11683, + "end": 11684, "loc": { "start": { - "line": 539, + "line": 548, "column": 51 }, "end": { - "line": 539, + "line": 548, "column": 52 } } @@ -110841,15 +112692,15 @@ "postfix": false, "binop": null }, - "start": 11511, - "end": 11512, + "start": 11684, + "end": 11685, "loc": { "start": { - "line": 539, + "line": 548, "column": 52 }, "end": { - "line": 539, + "line": 548, "column": 53 } } @@ -110867,15 +112718,15 @@ "binop": null }, "value": "steps", - "start": 11512, - "end": 11517, + "start": 11685, + "end": 11690, "loc": { "start": { - "line": 539, + "line": 548, "column": 53 }, "end": { - "line": 539, + "line": 548, "column": 58 } } @@ -110894,15 +112745,15 @@ "updateContext": null }, "value": "%", - "start": 11518, - "end": 11519, + "start": 11691, + "end": 11692, "loc": { "start": { - "line": 539, + "line": 548, "column": 59 }, "end": { - "line": 539, + "line": 548, "column": 60 } } @@ -110921,15 +112772,15 @@ "updateContext": null }, "value": 2, - "start": 11520, - "end": 11521, + "start": 11693, + "end": 11694, "loc": { "start": { - "line": 539, + "line": 548, "column": 61 }, "end": { - "line": 539, + "line": 548, "column": 62 } } @@ -110946,15 +112797,15 @@ "postfix": false, "binop": null }, - "start": 11521, - "end": 11522, + "start": 11694, + "end": 11695, "loc": { "start": { - "line": 539, + "line": 548, "column": 62 }, "end": { - "line": 539, + "line": 548, "column": 63 } } @@ -110973,15 +112824,15 @@ "updateContext": null }, "value": "-", - "start": 11522, - "end": 11523, + "start": 11695, + "end": 11696, "loc": { "start": { - "line": 539, + "line": 548, "column": 63 }, "end": { - "line": 539, + "line": 548, "column": 64 } } @@ -111000,15 +112851,15 @@ "updateContext": null }, "value": 1, - "start": 11523, - "end": 11524, + "start": 11696, + "end": 11697, "loc": { "start": { - "line": 539, + "line": 548, "column": 64 }, "end": { - "line": 539, + "line": 548, "column": 65 } } @@ -111025,15 +112876,15 @@ "postfix": false, "binop": null }, - "start": 11524, - "end": 11525, + "start": 11697, + "end": 11698, "loc": { "start": { - "line": 539, + "line": 548, "column": 65 }, "end": { - "line": 539, + "line": 548, "column": 66 } } @@ -111051,15 +112902,15 @@ "binop": null, "updateContext": null }, - "start": 11525, - "end": 11526, + "start": 11698, + "end": 11699, "loc": { "start": { - "line": 539, + "line": 548, "column": 66 }, "end": { - "line": 539, + "line": 548, "column": 67 } } @@ -111077,15 +112928,15 @@ "binop": null }, "value": "x", - "start": 11527, - "end": 11528, + "start": 11700, + "end": 11701, "loc": { "start": { - "line": 539, + "line": 548, "column": 68 }, "end": { - "line": 539, + "line": 548, "column": 69 } } @@ -111102,15 +112953,15 @@ "postfix": false, "binop": null }, - "start": 11528, - "end": 11529, + "start": 11701, + "end": 11702, "loc": { "start": { - "line": 539, + "line": 548, "column": 69 }, "end": { - "line": 539, + "line": 548, "column": 70 } } @@ -111128,15 +112979,15 @@ "binop": null, "updateContext": null }, - "start": 11530, - "end": 11531, + "start": 11703, + "end": 11704, "loc": { "start": { - "line": 539, + "line": 548, "column": 71 }, "end": { - "line": 539, + "line": 548, "column": 72 } } @@ -111156,15 +113007,15 @@ "updateContext": null }, "value": "new", - "start": 11532, - "end": 11535, + "start": 11705, + "end": 11708, "loc": { "start": { - "line": 539, + "line": 548, "column": 73 }, "end": { - "line": 539, + "line": 548, "column": 76 } } @@ -111182,15 +113033,15 @@ "binop": null }, "value": "Integer", - "start": 11536, - "end": 11543, + "start": 11709, + "end": 11716, "loc": { "start": { - "line": 539, + "line": 548, "column": 77 }, "end": { - "line": 539, + "line": 548, "column": 84 } } @@ -111207,15 +113058,15 @@ "postfix": false, "binop": null }, - "start": 11543, - "end": 11544, + "start": 11716, + "end": 11717, "loc": { "start": { - "line": 539, + "line": 548, "column": 84 }, "end": { - "line": 539, + "line": 548, "column": 85 } } @@ -111233,15 +113084,15 @@ "binop": null }, "value": "r", - "start": 11544, - "end": 11545, + "start": 11717, + "end": 11718, "loc": { "start": { - "line": 539, + "line": 548, "column": 85 }, "end": { - "line": 539, + "line": 548, "column": 86 } } @@ -111259,15 +113110,15 @@ "binop": null, "updateContext": null }, - "start": 11545, - "end": 11546, + "start": 11718, + "end": 11719, "loc": { "start": { - "line": 539, + "line": 548, "column": 86 }, "end": { - "line": 539, + "line": 548, "column": 87 } } @@ -111286,15 +113137,15 @@ "updateContext": null }, "value": 0, - "start": 11547, - "end": 11548, + "start": 11720, + "end": 11721, "loc": { "start": { - "line": 539, + "line": 548, "column": 88 }, "end": { - "line": 539, + "line": 548, "column": 89 } } @@ -111312,15 +113163,15 @@ "binop": null, "updateContext": null }, - "start": 11548, - "end": 11549, + "start": 11721, + "end": 11722, "loc": { "start": { - "line": 539, + "line": 548, "column": 89 }, "end": { - "line": 539, + "line": 548, "column": 90 } } @@ -111338,15 +113189,15 @@ "binop": null, "updateContext": null }, - "start": 11550, - "end": 11551, + "start": 11723, + "end": 11724, "loc": { "start": { - "line": 539, + "line": 548, "column": 91 }, "end": { - "line": 539, + "line": 548, "column": 92 } } @@ -111365,15 +113216,15 @@ "updateContext": null }, "value": 0, - "start": 11551, - "end": 11552, + "start": 11724, + "end": 11725, "loc": { "start": { - "line": 539, + "line": 548, "column": 92 }, "end": { - "line": 539, + "line": 548, "column": 93 } } @@ -111391,15 +113242,15 @@ "binop": null, "updateContext": null }, - "start": 11552, - "end": 11553, + "start": 11725, + "end": 11726, "loc": { "start": { - "line": 539, + "line": 548, "column": 93 }, "end": { - "line": 539, + "line": 548, "column": 94 } } @@ -111416,15 +113267,15 @@ "postfix": false, "binop": null }, - "start": 11553, - "end": 11554, + "start": 11726, + "end": 11727, "loc": { "start": { - "line": 539, + "line": 548, "column": 94 }, "end": { - "line": 539, + "line": 548, "column": 95 } } @@ -111442,15 +113293,15 @@ "binop": null, "updateContext": null }, - "start": 11555, - "end": 11556, + "start": 11728, + "end": 11729, "loc": { "start": { - "line": 539, + "line": 548, "column": 96 }, "end": { - "line": 539, + "line": 548, "column": 97 } } @@ -111468,15 +113319,15 @@ "binop": null }, "value": "y", - "start": 11560, - "end": 11561, + "start": 11733, + "end": 11734, "loc": { "start": { - "line": 540, + "line": 549, "column": 3 }, "end": { - "line": 540, + "line": 549, "column": 4 } } @@ -111494,15 +113345,15 @@ "binop": null, "updateContext": null }, - "start": 11561, - "end": 11562, + "start": 11734, + "end": 11735, "loc": { "start": { - "line": 540, + "line": 549, "column": 4 }, "end": { - "line": 540, + "line": 549, "column": 5 } } @@ -111520,15 +113371,15 @@ "binop": null }, "value": "y", - "start": 11563, - "end": 11564, + "start": 11736, + "end": 11737, "loc": { "start": { - "line": 540, + "line": 549, "column": 6 }, "end": { - "line": 540, + "line": 549, "column": 7 } } @@ -111546,15 +113397,15 @@ "binop": null, "updateContext": null }, - "start": 11564, - "end": 11565, + "start": 11737, + "end": 11738, "loc": { "start": { - "line": 540, + "line": 549, "column": 7 }, "end": { - "line": 540, + "line": 549, "column": 8 } } @@ -111572,15 +113423,15 @@ "binop": null }, "value": "length", - "start": 11565, - "end": 11571, + "start": 11738, + "end": 11744, "loc": { "start": { - "line": 540, + "line": 549, "column": 8 }, "end": { - "line": 540, + "line": 549, "column": 14 } } @@ -111598,15 +113449,15 @@ "binop": null, "updateContext": null }, - "start": 11572, - "end": 11573, + "start": 11745, + "end": 11746, "loc": { "start": { - "line": 540, + "line": 549, "column": 15 }, "end": { - "line": 540, + "line": 549, "column": 16 } } @@ -111626,15 +113477,15 @@ "updateContext": null }, "value": "new", - "start": 11574, - "end": 11577, + "start": 11747, + "end": 11750, "loc": { "start": { - "line": 540, + "line": 549, "column": 17 }, "end": { - "line": 540, + "line": 549, "column": 20 } } @@ -111652,15 +113503,15 @@ "binop": null }, "value": "Integer", - "start": 11578, - "end": 11585, + "start": 11751, + "end": 11758, "loc": { "start": { - "line": 540, + "line": 549, "column": 21 }, "end": { - "line": 540, + "line": 549, "column": 28 } } @@ -111677,15 +113528,15 @@ "postfix": false, "binop": null }, - "start": 11585, - "end": 11586, + "start": 11758, + "end": 11759, "loc": { "start": { - "line": 540, + "line": 549, "column": 28 }, "end": { - "line": 540, + "line": 549, "column": 29 } } @@ -111703,15 +113554,15 @@ "binop": null }, "value": "r", - "start": 11586, - "end": 11587, + "start": 11759, + "end": 11760, "loc": { "start": { - "line": 540, + "line": 549, "column": 29 }, "end": { - "line": 540, + "line": 549, "column": 30 } } @@ -111729,15 +113580,15 @@ "binop": null, "updateContext": null }, - "start": 11587, - "end": 11588, + "start": 11760, + "end": 11761, "loc": { "start": { - "line": 540, + "line": 549, "column": 30 }, "end": { - "line": 540, + "line": 549, "column": 31 } } @@ -111755,15 +113606,15 @@ "binop": null }, "value": "other", - "start": 11589, - "end": 11594, + "start": 11762, + "end": 11767, "loc": { "start": { - "line": 540, + "line": 549, "column": 32 }, "end": { - "line": 540, + "line": 549, "column": 37 } } @@ -111781,15 +113632,15 @@ "binop": null, "updateContext": null }, - "start": 11594, - "end": 11595, + "start": 11767, + "end": 11768, "loc": { "start": { - "line": 540, + "line": 549, "column": 37 }, "end": { - "line": 540, + "line": 549, "column": 38 } } @@ -111807,15 +113658,15 @@ "binop": null }, "value": "is_negative", - "start": 11595, - "end": 11606, + "start": 11768, + "end": 11779, "loc": { "start": { - "line": 540, + "line": 549, "column": 38 }, "end": { - "line": 540, + "line": 549, "column": 49 } } @@ -111834,15 +113685,15 @@ "updateContext": null }, "value": "^", - "start": 11607, - "end": 11608, + "start": 11780, + "end": 11781, "loc": { "start": { - "line": 540, + "line": 549, "column": 50 }, "end": { - "line": 540, + "line": 549, "column": 51 } } @@ -111859,15 +113710,15 @@ "postfix": false, "binop": null }, - "start": 11609, - "end": 11610, + "start": 11782, + "end": 11783, "loc": { "start": { - "line": 540, + "line": 549, "column": 52 }, "end": { - "line": 540, + "line": 549, "column": 53 } } @@ -111886,15 +113737,15 @@ "updateContext": null }, "value": "-", - "start": 11610, - "end": 11611, + "start": 11783, + "end": 11784, "loc": { "start": { - "line": 540, + "line": 549, "column": 53 }, "end": { - "line": 540, + "line": 549, "column": 54 } } @@ -111911,15 +113762,15 @@ "postfix": false, "binop": null }, - "start": 11611, - "end": 11612, + "start": 11784, + "end": 11785, "loc": { "start": { - "line": 540, + "line": 549, "column": 54 }, "end": { - "line": 540, + "line": 549, "column": 55 } } @@ -111937,15 +113788,15 @@ "binop": null }, "value": "steps", - "start": 11612, - "end": 11617, + "start": 11785, + "end": 11790, "loc": { "start": { - "line": 540, + "line": 549, "column": 55 }, "end": { - "line": 540, + "line": 549, "column": 60 } } @@ -111964,15 +113815,15 @@ "updateContext": null }, "value": "%", - "start": 11618, - "end": 11619, + "start": 11791, + "end": 11792, "loc": { "start": { - "line": 540, + "line": 549, "column": 61 }, "end": { - "line": 540, + "line": 549, "column": 62 } } @@ -111991,15 +113842,15 @@ "updateContext": null }, "value": 2, - "start": 11620, - "end": 11621, + "start": 11793, + "end": 11794, "loc": { "start": { - "line": 540, + "line": 549, "column": 63 }, "end": { - "line": 540, + "line": 549, "column": 64 } } @@ -112016,15 +113867,15 @@ "postfix": false, "binop": null }, - "start": 11621, - "end": 11622, + "start": 11794, + "end": 11795, "loc": { "start": { - "line": 540, + "line": 549, "column": 64 }, "end": { - "line": 540, + "line": 549, "column": 65 } } @@ -112041,15 +113892,15 @@ "postfix": false, "binop": null }, - "start": 11622, - "end": 11623, + "start": 11795, + "end": 11796, "loc": { "start": { - "line": 540, + "line": 549, "column": 65 }, "end": { - "line": 540, + "line": 549, "column": 66 } } @@ -112067,15 +113918,15 @@ "binop": null, "updateContext": null }, - "start": 11623, - "end": 11624, + "start": 11796, + "end": 11797, "loc": { "start": { - "line": 540, + "line": 549, "column": 66 }, "end": { - "line": 540, + "line": 549, "column": 67 } } @@ -112093,15 +113944,15 @@ "binop": null }, "value": "y", - "start": 11625, - "end": 11626, + "start": 11798, + "end": 11799, "loc": { "start": { - "line": 540, + "line": 549, "column": 68 }, "end": { - "line": 540, + "line": 549, "column": 69 } } @@ -112118,15 +113969,15 @@ "postfix": false, "binop": null }, - "start": 11626, - "end": 11627, + "start": 11799, + "end": 11800, "loc": { "start": { - "line": 540, + "line": 549, "column": 69 }, "end": { - "line": 540, + "line": 549, "column": 70 } } @@ -112144,15 +113995,15 @@ "binop": null, "updateContext": null }, - "start": 11628, - "end": 11629, + "start": 11801, + "end": 11802, "loc": { "start": { - "line": 540, + "line": 549, "column": 71 }, "end": { - "line": 540, + "line": 549, "column": 72 } } @@ -112172,15 +114023,15 @@ "updateContext": null }, "value": "new", - "start": 11630, - "end": 11633, + "start": 11803, + "end": 11806, "loc": { "start": { - "line": 540, + "line": 549, "column": 73 }, "end": { - "line": 540, + "line": 549, "column": 76 } } @@ -112198,15 +114049,15 @@ "binop": null }, "value": "Integer", - "start": 11634, - "end": 11641, + "start": 11807, + "end": 11814, "loc": { "start": { - "line": 540, + "line": 549, "column": 77 }, "end": { - "line": 540, + "line": 549, "column": 84 } } @@ -112223,15 +114074,15 @@ "postfix": false, "binop": null }, - "start": 11641, - "end": 11642, + "start": 11814, + "end": 11815, "loc": { "start": { - "line": 540, + "line": 549, "column": 84 }, "end": { - "line": 540, + "line": 549, "column": 85 } } @@ -112249,15 +114100,15 @@ "binop": null }, "value": "r", - "start": 11642, - "end": 11643, + "start": 11815, + "end": 11816, "loc": { "start": { - "line": 540, + "line": 549, "column": 85 }, "end": { - "line": 540, + "line": 549, "column": 86 } } @@ -112275,15 +114126,15 @@ "binop": null, "updateContext": null }, - "start": 11643, - "end": 11644, + "start": 11816, + "end": 11817, "loc": { "start": { - "line": 540, + "line": 549, "column": 86 }, "end": { - "line": 540, + "line": 549, "column": 87 } } @@ -112302,15 +114153,15 @@ "updateContext": null }, "value": 0, - "start": 11645, - "end": 11646, + "start": 11818, + "end": 11819, "loc": { "start": { - "line": 540, + "line": 549, "column": 88 }, "end": { - "line": 540, + "line": 549, "column": 89 } } @@ -112328,15 +114179,15 @@ "binop": null, "updateContext": null }, - "start": 11646, - "end": 11647, + "start": 11819, + "end": 11820, "loc": { "start": { - "line": 540, + "line": 549, "column": 89 }, "end": { - "line": 540, + "line": 549, "column": 90 } } @@ -112354,15 +114205,15 @@ "binop": null, "updateContext": null }, - "start": 11648, - "end": 11649, + "start": 11821, + "end": 11822, "loc": { "start": { - "line": 540, + "line": 549, "column": 91 }, "end": { - "line": 540, + "line": 549, "column": 92 } } @@ -112381,15 +114232,15 @@ "updateContext": null }, "value": 0, - "start": 11649, - "end": 11650, + "start": 11822, + "end": 11823, "loc": { "start": { - "line": 540, + "line": 549, "column": 92 }, "end": { - "line": 540, + "line": 549, "column": 93 } } @@ -112407,15 +114258,15 @@ "binop": null, "updateContext": null }, - "start": 11650, - "end": 11651, + "start": 11823, + "end": 11824, "loc": { "start": { - "line": 540, + "line": 549, "column": 93 }, "end": { - "line": 540, + "line": 549, "column": 94 } } @@ -112432,15 +114283,15 @@ "postfix": false, "binop": null }, - "start": 11651, - "end": 11652, + "start": 11824, + "end": 11825, "loc": { "start": { - "line": 540, + "line": 549, "column": 94 }, "end": { - "line": 540, + "line": 549, "column": 95 } } @@ -112458,15 +114309,15 @@ "binop": null, "updateContext": null }, - "start": 11653, - "end": 11654, + "start": 11826, + "end": 11827, "loc": { "start": { - "line": 540, + "line": 549, "column": 96 }, "end": { - "line": 540, + "line": 549, "column": 97 } } @@ -112484,15 +114335,15 @@ "binop": null }, "value": "u", - "start": 11658, - "end": 11659, + "start": 11831, + "end": 11832, "loc": { "start": { - "line": 541, + "line": 550, "column": 3 }, "end": { - "line": 541, + "line": 550, "column": 4 } } @@ -112510,15 +114361,15 @@ "binop": null, "updateContext": null }, - "start": 11659, - "end": 11660, + "start": 11832, + "end": 11833, "loc": { "start": { - "line": 541, + "line": 550, "column": 4 }, "end": { - "line": 541, + "line": 550, "column": 5 } } @@ -112536,15 +114387,15 @@ "binop": null }, "value": "u", - "start": 11661, - "end": 11662, + "start": 11834, + "end": 11835, "loc": { "start": { - "line": 541, + "line": 550, "column": 6 }, "end": { - "line": 541, + "line": 550, "column": 7 } } @@ -112562,15 +114413,15 @@ "binop": null, "updateContext": null }, - "start": 11662, - "end": 11663, + "start": 11835, + "end": 11836, "loc": { "start": { - "line": 541, + "line": 550, "column": 7 }, "end": { - "line": 541, + "line": 550, "column": 8 } } @@ -112588,15 +114439,15 @@ "binop": null }, "value": "length", - "start": 11663, - "end": 11669, + "start": 11836, + "end": 11842, "loc": { "start": { - "line": 541, + "line": 550, "column": 8 }, "end": { - "line": 541, + "line": 550, "column": 14 } } @@ -112614,15 +114465,15 @@ "binop": null, "updateContext": null }, - "start": 11670, - "end": 11671, + "start": 11843, + "end": 11844, "loc": { "start": { - "line": 541, + "line": 550, "column": 15 }, "end": { - "line": 541, + "line": 550, "column": 16 } } @@ -112642,15 +114493,15 @@ "updateContext": null }, "value": "new", - "start": 11672, - "end": 11675, + "start": 11845, + "end": 11848, "loc": { "start": { - "line": 541, + "line": 550, "column": 17 }, "end": { - "line": 541, + "line": 550, "column": 20 } } @@ -112668,15 +114519,15 @@ "binop": null }, "value": "Integer", - "start": 11676, - "end": 11683, + "start": 11849, + "end": 11856, "loc": { "start": { - "line": 541, + "line": 550, "column": 21 }, "end": { - "line": 541, + "line": 550, "column": 28 } } @@ -112693,15 +114544,15 @@ "postfix": false, "binop": null }, - "start": 11683, - "end": 11684, + "start": 11856, + "end": 11857, "loc": { "start": { - "line": 541, + "line": 550, "column": 28 }, "end": { - "line": 541, + "line": 550, "column": 29 } } @@ -112719,15 +114570,15 @@ "binop": null }, "value": "r", - "start": 11684, - "end": 11685, + "start": 11857, + "end": 11858, "loc": { "start": { - "line": 541, + "line": 550, "column": 29 }, "end": { - "line": 541, + "line": 550, "column": 30 } } @@ -112745,15 +114596,15 @@ "binop": null, "updateContext": null }, - "start": 11685, - "end": 11686, + "start": 11858, + "end": 11859, "loc": { "start": { - "line": 541, + "line": 550, "column": 30 }, "end": { - "line": 541, + "line": 550, "column": 31 } } @@ -112773,15 +114624,15 @@ "updateContext": null }, "value": "this", - "start": 11687, - "end": 11691, + "start": 11860, + "end": 11864, "loc": { "start": { - "line": 541, + "line": 550, "column": 32 }, "end": { - "line": 541, + "line": 550, "column": 36 } } @@ -112799,15 +114650,15 @@ "binop": null, "updateContext": null }, - "start": 11691, - "end": 11692, + "start": 11864, + "end": 11865, "loc": { "start": { - "line": 541, + "line": 550, "column": 36 }, "end": { - "line": 541, + "line": 550, "column": 37 } } @@ -112825,15 +114676,15 @@ "binop": null }, "value": "is_negative", - "start": 11692, - "end": 11703, + "start": 11865, + "end": 11876, "loc": { "start": { - "line": 541, + "line": 550, "column": 37 }, "end": { - "line": 541, + "line": 550, "column": 48 } } @@ -112852,15 +114703,15 @@ "updateContext": null }, "value": "^", - "start": 11704, - "end": 11705, + "start": 11877, + "end": 11878, "loc": { "start": { - "line": 541, + "line": 550, "column": 49 }, "end": { - "line": 541, + "line": 550, "column": 50 } } @@ -112877,15 +114728,15 @@ "postfix": false, "binop": null }, - "start": 11706, - "end": 11707, + "start": 11879, + "end": 11880, "loc": { "start": { - "line": 541, + "line": 550, "column": 51 }, "end": { - "line": 541, + "line": 550, "column": 52 } } @@ -112904,15 +114755,15 @@ "updateContext": null }, "value": "-", - "start": 11707, - "end": 11708, + "start": 11880, + "end": 11881, "loc": { "start": { - "line": 541, + "line": 550, "column": 52 }, "end": { - "line": 541, + "line": 550, "column": 53 } } @@ -112929,15 +114780,15 @@ "postfix": false, "binop": null }, - "start": 11708, - "end": 11709, + "start": 11881, + "end": 11882, "loc": { "start": { - "line": 541, + "line": 550, "column": 53 }, "end": { - "line": 541, + "line": 550, "column": 54 } } @@ -112955,15 +114806,15 @@ "binop": null }, "value": "steps", - "start": 11709, - "end": 11714, + "start": 11882, + "end": 11887, "loc": { "start": { - "line": 541, + "line": 550, "column": 54 }, "end": { - "line": 541, + "line": 550, "column": 59 } } @@ -112982,15 +114833,15 @@ "updateContext": null }, "value": "%", - "start": 11715, - "end": 11716, + "start": 11888, + "end": 11889, "loc": { "start": { - "line": 541, + "line": 550, "column": 60 }, "end": { - "line": 541, + "line": 550, "column": 61 } } @@ -113009,15 +114860,15 @@ "updateContext": null }, "value": 2, - "start": 11717, - "end": 11718, + "start": 11890, + "end": 11891, "loc": { "start": { - "line": 541, + "line": 550, "column": 62 }, "end": { - "line": 541, + "line": 550, "column": 63 } } @@ -113034,15 +114885,15 @@ "postfix": false, "binop": null }, - "start": 11718, - "end": 11719, + "start": 11891, + "end": 11892, "loc": { "start": { - "line": 541, + "line": 550, "column": 63 }, "end": { - "line": 541, + "line": 550, "column": 64 } } @@ -113059,15 +114910,15 @@ "postfix": false, "binop": null }, - "start": 11719, - "end": 11720, + "start": 11892, + "end": 11893, "loc": { "start": { - "line": 541, + "line": 550, "column": 64 }, "end": { - "line": 541, + "line": 550, "column": 65 } } @@ -113085,15 +114936,15 @@ "binop": null, "updateContext": null }, - "start": 11720, - "end": 11721, + "start": 11893, + "end": 11894, "loc": { "start": { - "line": 541, + "line": 550, "column": 65 }, "end": { - "line": 541, + "line": 550, "column": 66 } } @@ -113111,15 +114962,15 @@ "binop": null }, "value": "u", - "start": 11722, - "end": 11723, + "start": 11895, + "end": 11896, "loc": { "start": { - "line": 541, + "line": 550, "column": 67 }, "end": { - "line": 541, + "line": 550, "column": 68 } } @@ -113136,15 +114987,15 @@ "postfix": false, "binop": null }, - "start": 11723, - "end": 11724, + "start": 11896, + "end": 11897, "loc": { "start": { - "line": 541, + "line": 550, "column": 68 }, "end": { - "line": 541, + "line": 550, "column": 69 } } @@ -113162,15 +115013,15 @@ "binop": null, "updateContext": null }, - "start": 11725, - "end": 11726, + "start": 11898, + "end": 11899, "loc": { "start": { - "line": 541, + "line": 550, "column": 70 }, "end": { - "line": 541, + "line": 550, "column": 71 } } @@ -113190,15 +115041,15 @@ "updateContext": null }, "value": "new", - "start": 11727, - "end": 11730, + "start": 11900, + "end": 11903, "loc": { "start": { - "line": 541, + "line": 550, "column": 72 }, "end": { - "line": 541, + "line": 550, "column": 75 } } @@ -113216,15 +115067,15 @@ "binop": null }, "value": "Integer", - "start": 11731, - "end": 11738, + "start": 11904, + "end": 11911, "loc": { "start": { - "line": 541, + "line": 550, "column": 76 }, "end": { - "line": 541, + "line": 550, "column": 83 } } @@ -113241,15 +115092,15 @@ "postfix": false, "binop": null }, - "start": 11738, - "end": 11739, + "start": 11911, + "end": 11912, "loc": { "start": { - "line": 541, + "line": 550, "column": 83 }, "end": { - "line": 541, + "line": 550, "column": 84 } } @@ -113267,15 +115118,15 @@ "binop": null }, "value": "r", - "start": 11739, - "end": 11740, + "start": 11912, + "end": 11913, "loc": { "start": { - "line": 541, + "line": 550, "column": 84 }, "end": { - "line": 541, + "line": 550, "column": 85 } } @@ -113293,15 +115144,15 @@ "binop": null, "updateContext": null }, - "start": 11740, - "end": 11741, + "start": 11913, + "end": 11914, "loc": { "start": { - "line": 541, + "line": 550, "column": 85 }, "end": { - "line": 541, + "line": 550, "column": 86 } } @@ -113320,15 +115171,15 @@ "updateContext": null }, "value": 0, - "start": 11742, - "end": 11743, + "start": 11915, + "end": 11916, "loc": { "start": { - "line": 541, + "line": 550, "column": 87 }, "end": { - "line": 541, + "line": 550, "column": 88 } } @@ -113346,15 +115197,15 @@ "binop": null, "updateContext": null }, - "start": 11743, - "end": 11744, + "start": 11916, + "end": 11917, "loc": { "start": { - "line": 541, + "line": 550, "column": 88 }, "end": { - "line": 541, + "line": 550, "column": 89 } } @@ -113372,15 +115223,15 @@ "binop": null, "updateContext": null }, - "start": 11745, - "end": 11746, + "start": 11918, + "end": 11919, "loc": { "start": { - "line": 541, + "line": 550, "column": 90 }, "end": { - "line": 541, + "line": 550, "column": 91 } } @@ -113399,15 +115250,15 @@ "updateContext": null }, "value": 0, - "start": 11746, - "end": 11747, + "start": 11919, + "end": 11920, "loc": { "start": { - "line": 541, + "line": 550, "column": 91 }, "end": { - "line": 541, + "line": 550, "column": 92 } } @@ -113425,15 +115276,15 @@ "binop": null, "updateContext": null }, - "start": 11747, - "end": 11748, + "start": 11920, + "end": 11921, "loc": { "start": { - "line": 541, + "line": 550, "column": 92 }, "end": { - "line": 541, + "line": 550, "column": 93 } } @@ -113450,15 +115301,15 @@ "postfix": false, "binop": null }, - "start": 11748, - "end": 11749, + "start": 11921, + "end": 11922, "loc": { "start": { - "line": 541, + "line": 550, "column": 93 }, "end": { - "line": 541, + "line": 550, "column": 94 } } @@ -113476,15 +115327,15 @@ "binop": null, "updateContext": null }, - "start": 11750, - "end": 11751, + "start": 11923, + "end": 11924, "loc": { "start": { - "line": 541, + "line": 550, "column": 95 }, "end": { - "line": 541, + "line": 550, "column": 96 } } @@ -113502,15 +115353,15 @@ "binop": null }, "value": "v", - "start": 11755, - "end": 11756, + "start": 11928, + "end": 11929, "loc": { "start": { - "line": 542, + "line": 551, "column": 3 }, "end": { - "line": 542, + "line": 551, "column": 4 } } @@ -113528,15 +115379,15 @@ "binop": null, "updateContext": null }, - "start": 11756, - "end": 11757, + "start": 11929, + "end": 11930, "loc": { "start": { - "line": 542, + "line": 551, "column": 4 }, "end": { - "line": 542, + "line": 551, "column": 5 } } @@ -113554,15 +115405,15 @@ "binop": null }, "value": "v", - "start": 11758, - "end": 11759, + "start": 11931, + "end": 11932, "loc": { "start": { - "line": 542, + "line": 551, "column": 6 }, "end": { - "line": 542, + "line": 551, "column": 7 } } @@ -113580,15 +115431,15 @@ "binop": null, "updateContext": null }, - "start": 11759, - "end": 11760, + "start": 11932, + "end": 11933, "loc": { "start": { - "line": 542, + "line": 551, "column": 7 }, "end": { - "line": 542, + "line": 551, "column": 8 } } @@ -113606,15 +115457,15 @@ "binop": null }, "value": "length", - "start": 11760, - "end": 11766, + "start": 11933, + "end": 11939, "loc": { "start": { - "line": 542, + "line": 551, "column": 8 }, "end": { - "line": 542, + "line": 551, "column": 14 } } @@ -113632,15 +115483,15 @@ "binop": null, "updateContext": null }, - "start": 11767, - "end": 11768, + "start": 11940, + "end": 11941, "loc": { "start": { - "line": 542, + "line": 551, "column": 15 }, "end": { - "line": 542, + "line": 551, "column": 16 } } @@ -113660,15 +115511,15 @@ "updateContext": null }, "value": "new", - "start": 11769, - "end": 11772, + "start": 11942, + "end": 11945, "loc": { "start": { - "line": 542, + "line": 551, "column": 17 }, "end": { - "line": 542, + "line": 551, "column": 20 } } @@ -113686,15 +115537,15 @@ "binop": null }, "value": "Integer", - "start": 11773, - "end": 11780, + "start": 11946, + "end": 11953, "loc": { "start": { - "line": 542, + "line": 551, "column": 21 }, "end": { - "line": 542, + "line": 551, "column": 28 } } @@ -113711,15 +115562,15 @@ "postfix": false, "binop": null }, - "start": 11780, - "end": 11781, + "start": 11953, + "end": 11954, "loc": { "start": { - "line": 542, + "line": 551, "column": 28 }, "end": { - "line": 542, + "line": 551, "column": 29 } } @@ -113737,15 +115588,15 @@ "binop": null }, "value": "r", - "start": 11781, - "end": 11782, + "start": 11954, + "end": 11955, "loc": { "start": { - "line": 542, + "line": 551, "column": 29 }, "end": { - "line": 542, + "line": 551, "column": 30 } } @@ -113763,15 +115614,15 @@ "binop": null, "updateContext": null }, - "start": 11782, - "end": 11783, + "start": 11955, + "end": 11956, "loc": { "start": { - "line": 542, + "line": 551, "column": 30 }, "end": { - "line": 542, + "line": 551, "column": 31 } } @@ -113789,15 +115640,15 @@ "binop": null }, "value": "other", - "start": 11784, - "end": 11789, + "start": 11957, + "end": 11962, "loc": { "start": { - "line": 542, + "line": 551, "column": 32 }, "end": { - "line": 542, + "line": 551, "column": 37 } } @@ -113815,15 +115666,15 @@ "binop": null, "updateContext": null }, - "start": 11789, - "end": 11790, + "start": 11962, + "end": 11963, "loc": { "start": { - "line": 542, + "line": 551, "column": 37 }, "end": { - "line": 542, + "line": 551, "column": 38 } } @@ -113841,15 +115692,15 @@ "binop": null }, "value": "is_negative", - "start": 11790, - "end": 11801, + "start": 11963, + "end": 11974, "loc": { "start": { - "line": 542, + "line": 551, "column": 38 }, "end": { - "line": 542, + "line": 551, "column": 49 } } @@ -113868,15 +115719,15 @@ "updateContext": null }, "value": "^", - "start": 11802, - "end": 11803, + "start": 11975, + "end": 11976, "loc": { "start": { - "line": 542, + "line": 551, "column": 50 }, "end": { - "line": 542, + "line": 551, "column": 51 } } @@ -113893,15 +115744,15 @@ "postfix": false, "binop": null }, - "start": 11804, - "end": 11805, + "start": 11977, + "end": 11978, "loc": { "start": { - "line": 542, + "line": 551, "column": 52 }, "end": { - "line": 542, + "line": 551, "column": 53 } } @@ -113918,15 +115769,15 @@ "postfix": false, "binop": null }, - "start": 11805, - "end": 11806, + "start": 11978, + "end": 11979, "loc": { "start": { - "line": 542, + "line": 551, "column": 53 }, "end": { - "line": 542, + "line": 551, "column": 54 } } @@ -113944,15 +115795,15 @@ "binop": null }, "value": "steps", - "start": 11806, - "end": 11811, + "start": 11979, + "end": 11984, "loc": { "start": { - "line": 542, + "line": 551, "column": 54 }, "end": { - "line": 542, + "line": 551, "column": 59 } } @@ -113971,15 +115822,15 @@ "updateContext": null }, "value": "%", - "start": 11812, - "end": 11813, + "start": 11985, + "end": 11986, "loc": { "start": { - "line": 542, + "line": 551, "column": 60 }, "end": { - "line": 542, + "line": 551, "column": 61 } } @@ -113998,15 +115849,15 @@ "updateContext": null }, "value": 2, - "start": 11814, - "end": 11815, + "start": 11987, + "end": 11988, "loc": { "start": { - "line": 542, + "line": 551, "column": 62 }, "end": { - "line": 542, + "line": 551, "column": 63 } } @@ -114023,15 +115874,15 @@ "postfix": false, "binop": null }, - "start": 11815, - "end": 11816, + "start": 11988, + "end": 11989, "loc": { "start": { - "line": 542, + "line": 551, "column": 63 }, "end": { - "line": 542, + "line": 551, "column": 64 } } @@ -114050,15 +115901,15 @@ "updateContext": null }, "value": "-", - "start": 11816, - "end": 11817, + "start": 11989, + "end": 11990, "loc": { "start": { - "line": 542, + "line": 551, "column": 64 }, "end": { - "line": 542, + "line": 551, "column": 65 } } @@ -114077,15 +115928,15 @@ "updateContext": null }, "value": 1, - "start": 11817, - "end": 11818, + "start": 11990, + "end": 11991, "loc": { "start": { - "line": 542, + "line": 551, "column": 65 }, "end": { - "line": 542, + "line": 551, "column": 66 } } @@ -114102,15 +115953,15 @@ "postfix": false, "binop": null }, - "start": 11818, - "end": 11819, + "start": 11991, + "end": 11992, "loc": { "start": { - "line": 542, + "line": 551, "column": 66 }, "end": { - "line": 542, + "line": 551, "column": 67 } } @@ -114128,15 +115979,15 @@ "binop": null, "updateContext": null }, - "start": 11819, - "end": 11820, + "start": 11992, + "end": 11993, "loc": { "start": { - "line": 542, + "line": 551, "column": 67 }, "end": { - "line": 542, + "line": 551, "column": 68 } } @@ -114154,15 +116005,15 @@ "binop": null }, "value": "v", - "start": 11821, - "end": 11822, + "start": 11994, + "end": 11995, "loc": { "start": { - "line": 542, + "line": 551, "column": 69 }, "end": { - "line": 542, + "line": 551, "column": 70 } } @@ -114179,15 +116030,15 @@ "postfix": false, "binop": null }, - "start": 11822, - "end": 11823, + "start": 11995, + "end": 11996, "loc": { "start": { - "line": 542, + "line": 551, "column": 70 }, "end": { - "line": 542, + "line": 551, "column": 71 } } @@ -114205,15 +116056,15 @@ "binop": null, "updateContext": null }, - "start": 11824, - "end": 11825, + "start": 11997, + "end": 11998, "loc": { "start": { - "line": 542, + "line": 551, "column": 72 }, "end": { - "line": 542, + "line": 551, "column": 73 } } @@ -114233,15 +116084,15 @@ "updateContext": null }, "value": "new", - "start": 11826, - "end": 11829, + "start": 11999, + "end": 12002, "loc": { "start": { - "line": 542, + "line": 551, "column": 74 }, "end": { - "line": 542, + "line": 551, "column": 77 } } @@ -114259,15 +116110,15 @@ "binop": null }, "value": "Integer", - "start": 11830, - "end": 11837, + "start": 12003, + "end": 12010, "loc": { "start": { - "line": 542, + "line": 551, "column": 78 }, "end": { - "line": 542, + "line": 551, "column": 85 } } @@ -114284,15 +116135,15 @@ "postfix": false, "binop": null }, - "start": 11837, - "end": 11838, + "start": 12010, + "end": 12011, "loc": { "start": { - "line": 542, + "line": 551, "column": 85 }, "end": { - "line": 542, + "line": 551, "column": 86 } } @@ -114310,15 +116161,15 @@ "binop": null }, "value": "r", - "start": 11838, - "end": 11839, + "start": 12011, + "end": 12012, "loc": { "start": { - "line": 542, + "line": 551, "column": 86 }, "end": { - "line": 542, + "line": 551, "column": 87 } } @@ -114336,15 +116187,15 @@ "binop": null, "updateContext": null }, - "start": 11839, - "end": 11840, + "start": 12012, + "end": 12013, "loc": { "start": { - "line": 542, + "line": 551, "column": 87 }, "end": { - "line": 542, + "line": 551, "column": 88 } } @@ -114363,15 +116214,15 @@ "updateContext": null }, "value": 0, - "start": 11841, - "end": 11842, + "start": 12014, + "end": 12015, "loc": { "start": { - "line": 542, + "line": 551, "column": 89 }, "end": { - "line": 542, + "line": 551, "column": 90 } } @@ -114389,15 +116240,15 @@ "binop": null, "updateContext": null }, - "start": 11842, - "end": 11843, + "start": 12015, + "end": 12016, "loc": { "start": { - "line": 542, + "line": 551, "column": 90 }, "end": { - "line": 542, + "line": 551, "column": 91 } } @@ -114415,15 +116266,15 @@ "binop": null, "updateContext": null }, - "start": 11844, - "end": 11845, + "start": 12017, + "end": 12018, "loc": { "start": { - "line": 542, + "line": 551, "column": 92 }, "end": { - "line": 542, + "line": 551, "column": 93 } } @@ -114442,15 +116293,15 @@ "updateContext": null }, "value": 0, - "start": 11845, - "end": 11846, + "start": 12018, + "end": 12019, "loc": { "start": { - "line": 542, + "line": 551, "column": 93 }, "end": { - "line": 542, + "line": 551, "column": 94 } } @@ -114468,15 +116319,15 @@ "binop": null, "updateContext": null }, - "start": 11846, - "end": 11847, + "start": 12019, + "end": 12020, "loc": { "start": { - "line": 542, + "line": 551, "column": 94 }, "end": { - "line": 542, + "line": 551, "column": 95 } } @@ -114493,15 +116344,15 @@ "postfix": false, "binop": null }, - "start": 11847, - "end": 11848, + "start": 12020, + "end": 12021, "loc": { "start": { - "line": 542, + "line": 551, "column": 95 }, "end": { - "line": 542, + "line": 551, "column": 96 } } @@ -114519,15 +116370,15 @@ "binop": null, "updateContext": null }, - "start": 11849, - "end": 11850, + "start": 12022, + "end": 12023, "loc": { "start": { - "line": 542, + "line": 551, "column": 97 }, "end": { - "line": 542, + "line": 551, "column": 98 } } @@ -114544,15 +116395,15 @@ "postfix": false, "binop": null }, - "start": 11853, - "end": 11854, + "start": 12026, + "end": 12027, "loc": { "start": { - "line": 543, + "line": 552, "column": 2 }, "end": { - "line": 543, + "line": 552, "column": 3 } } @@ -114570,15 +116421,15 @@ "binop": null, "updateContext": null }, - "start": 11855, - "end": 11856, + "start": 12028, + "end": 12029, "loc": { "start": { - "line": 543, + "line": 552, "column": 4 }, "end": { - "line": 543, + "line": 552, "column": 5 } } @@ -114595,15 +116446,15 @@ "postfix": false, "binop": null }, - "start": 11858, - "end": 11859, + "start": 12031, + "end": 12032, "loc": { "start": { - "line": 544, + "line": 553, "column": 1 }, "end": { - "line": 544, + "line": 553, "column": 2 } } @@ -114621,15 +116472,15 @@ "binop": null }, "value": "valueOf", - "start": 11862, - "end": 11869, + "start": 12035, + "end": 12042, "loc": { "start": { - "line": 546, + "line": 555, "column": 1 }, "end": { - "line": 546, + "line": 555, "column": 8 } } @@ -114646,15 +116497,15 @@ "postfix": false, "binop": null }, - "start": 11870, - "end": 11871, + "start": 12043, + "end": 12044, "loc": { "start": { - "line": 546, + "line": 555, "column": 9 }, "end": { - "line": 546, + "line": 555, "column": 10 } } @@ -114671,15 +116522,15 @@ "postfix": false, "binop": null }, - "start": 11872, - "end": 11873, + "start": 12045, + "end": 12046, "loc": { "start": { - "line": 546, + "line": 555, "column": 11 }, "end": { - "line": 546, + "line": 555, "column": 12 } } @@ -114696,15 +116547,15 @@ "postfix": false, "binop": null }, - "start": 11874, - "end": 11875, + "start": 12047, + "end": 12048, "loc": { "start": { - "line": 546, + "line": 555, "column": 13 }, "end": { - "line": 546, + "line": 555, "column": 14 } } @@ -114724,15 +116575,15 @@ "updateContext": null }, "value": "if", - "start": 11879, - "end": 11881, + "start": 12052, + "end": 12054, "loc": { "start": { - "line": 548, + "line": 557, "column": 2 }, "end": { - "line": 548, + "line": 557, "column": 4 } } @@ -114749,15 +116600,15 @@ "postfix": false, "binop": null }, - "start": 11882, - "end": 11883, + "start": 12055, + "end": 12056, "loc": { "start": { - "line": 548, + "line": 557, "column": 5 }, "end": { - "line": 548, + "line": 557, "column": 6 } } @@ -114777,15 +116628,15 @@ "updateContext": null }, "value": "this", - "start": 11883, - "end": 11887, + "start": 12056, + "end": 12060, "loc": { "start": { - "line": 548, + "line": 557, "column": 6 }, "end": { - "line": 548, + "line": 557, "column": 10 } } @@ -114803,15 +116654,15 @@ "binop": null, "updateContext": null }, - "start": 11887, - "end": 11888, + "start": 12060, + "end": 12061, "loc": { "start": { - "line": 548, + "line": 557, "column": 10 }, "end": { - "line": 548, + "line": 557, "column": 11 } } @@ -114829,15 +116680,15 @@ "binop": null }, "value": "gtn", - "start": 11888, - "end": 11891, + "start": 12061, + "end": 12064, "loc": { "start": { - "line": 548, + "line": 557, "column": 11 }, "end": { - "line": 548, + "line": 557, "column": 14 } } @@ -114854,15 +116705,15 @@ "postfix": false, "binop": null }, - "start": 11891, - "end": 11892, + "start": 12064, + "end": 12065, "loc": { "start": { - "line": 548, + "line": 557, "column": 14 }, "end": { - "line": 548, + "line": 557, "column": 15 } } @@ -114880,15 +116731,15 @@ "binop": null }, "value": "MAX_NUMBER", - "start": 11892, - "end": 11902, + "start": 12065, + "end": 12075, "loc": { "start": { - "line": 548, + "line": 557, "column": 15 }, "end": { - "line": 548, + "line": 557, "column": 25 } } @@ -114905,15 +116756,15 @@ "postfix": false, "binop": null }, - "start": 11902, - "end": 11903, + "start": 12075, + "end": 12076, "loc": { "start": { - "line": 548, + "line": 557, "column": 25 }, "end": { - "line": 548, + "line": 557, "column": 26 } } @@ -114930,15 +116781,15 @@ "postfix": false, "binop": null }, - "start": 11903, - "end": 11904, + "start": 12076, + "end": 12077, "loc": { "start": { - "line": 548, + "line": 557, "column": 26 }, "end": { - "line": 548, + "line": 557, "column": 27 } } @@ -114958,15 +116809,15 @@ "updateContext": null }, "value": "throw", - "start": 11905, - "end": 11910, + "start": 12078, + "end": 12083, "loc": { "start": { - "line": 548, + "line": 557, "column": 28 }, "end": { - "line": 548, + "line": 557, "column": 33 } } @@ -114986,15 +116837,15 @@ "updateContext": null }, "value": "new", - "start": 11911, - "end": 11914, + "start": 12084, + "end": 12087, "loc": { "start": { - "line": 548, + "line": 557, "column": 34 }, "end": { - "line": 548, + "line": 557, "column": 37 } } @@ -115012,15 +116863,15 @@ "binop": null }, "value": "ValueError", - "start": 11915, - "end": 11925, + "start": 12088, + "end": 12098, "loc": { "start": { - "line": 548, + "line": 557, "column": 38 }, "end": { - "line": 548, + "line": 557, "column": 48 } } @@ -115037,15 +116888,15 @@ "postfix": false, "binop": null }, - "start": 11925, - "end": 11926, + "start": 12098, + "end": 12099, "loc": { "start": { - "line": 548, + "line": 557, "column": 48 }, "end": { - "line": 548, + "line": 557, "column": 49 } } @@ -115062,15 +116913,15 @@ "postfix": false, "binop": null }, - "start": 11926, - "end": 11927, + "start": 12099, + "end": 12100, "loc": { "start": { - "line": 548, + "line": 557, "column": 49 }, "end": { - "line": 548, + "line": 557, "column": 50 } } @@ -115089,15 +116940,15 @@ "updateContext": null }, "value": "Cannot call valueOf on Integer larger than ", - "start": 11927, - "end": 11970, + "start": 12100, + "end": 12143, "loc": { "start": { - "line": 548, + "line": 557, "column": 50 }, "end": { - "line": 548, + "line": 557, "column": 93 } } @@ -115114,15 +116965,15 @@ "postfix": false, "binop": null }, - "start": 11970, - "end": 11972, + "start": 12143, + "end": 12145, "loc": { "start": { - "line": 548, + "line": 557, "column": 93 }, "end": { - "line": 548, + "line": 557, "column": 95 } } @@ -115140,15 +116991,15 @@ "binop": null }, "value": "MAX_NUMBER", - "start": 11972, - "end": 11982, + "start": 12145, + "end": 12155, "loc": { "start": { - "line": 548, + "line": 557, "column": 95 }, "end": { - "line": 548, + "line": 557, "column": 105 } } @@ -115165,15 +117016,15 @@ "postfix": false, "binop": null }, - "start": 11982, - "end": 11983, + "start": 12155, + "end": 12156, "loc": { "start": { - "line": 548, + "line": 557, "column": 105 }, "end": { - "line": 548, + "line": 557, "column": 106 } } @@ -115192,15 +117043,15 @@ "updateContext": null }, "value": ". Got ", - "start": 11983, - "end": 11989, + "start": 12156, + "end": 12162, "loc": { "start": { - "line": 548, + "line": 557, "column": 106 }, "end": { - "line": 548, + "line": 557, "column": 112 } } @@ -115217,15 +117068,15 @@ "postfix": false, "binop": null }, - "start": 11989, - "end": 11991, + "start": 12162, + "end": 12164, "loc": { "start": { - "line": 548, + "line": 557, "column": 112 }, "end": { - "line": 548, + "line": 557, "column": 114 } } @@ -115245,15 +117096,15 @@ "updateContext": null }, "value": "this", - "start": 11991, - "end": 11995, + "start": 12164, + "end": 12168, "loc": { "start": { - "line": 548, + "line": 557, "column": 114 }, "end": { - "line": 548, + "line": 557, "column": 118 } } @@ -115271,15 +117122,15 @@ "binop": null, "updateContext": null }, - "start": 11995, - "end": 11996, + "start": 12168, + "end": 12169, "loc": { "start": { - "line": 548, + "line": 557, "column": 118 }, "end": { - "line": 548, + "line": 557, "column": 119 } } @@ -115297,15 +117148,15 @@ "binop": null }, "value": "toString", - "start": 11996, - "end": 12004, + "start": 12169, + "end": 12177, "loc": { "start": { - "line": 548, + "line": 557, "column": 119 }, "end": { - "line": 548, + "line": 557, "column": 127 } } @@ -115322,15 +117173,15 @@ "postfix": false, "binop": null }, - "start": 12004, - "end": 12005, + "start": 12177, + "end": 12178, "loc": { "start": { - "line": 548, + "line": 557, "column": 127 }, "end": { - "line": 548, + "line": 557, "column": 128 } } @@ -115347,15 +117198,15 @@ "postfix": false, "binop": null }, - "start": 12005, - "end": 12006, + "start": 12178, + "end": 12179, "loc": { "start": { - "line": 548, + "line": 557, "column": 128 }, "end": { - "line": 548, + "line": 557, "column": 129 } } @@ -115372,15 +117223,15 @@ "postfix": false, "binop": null }, - "start": 12006, - "end": 12007, + "start": 12179, + "end": 12180, "loc": { "start": { - "line": 548, + "line": 557, "column": 129 }, "end": { - "line": 548, + "line": 557, "column": 130 } } @@ -115399,15 +117250,15 @@ "updateContext": null }, "value": "", - "start": 12007, - "end": 12007, + "start": 12180, + "end": 12180, "loc": { "start": { - "line": 548, + "line": 557, "column": 130 }, "end": { - "line": 548, + "line": 557, "column": 130 } } @@ -115424,15 +117275,15 @@ "postfix": false, "binop": null }, - "start": 12007, - "end": 12008, + "start": 12180, + "end": 12181, "loc": { "start": { - "line": 548, + "line": 557, "column": 130 }, "end": { - "line": 548, + "line": 557, "column": 131 } } @@ -115449,15 +117300,15 @@ "postfix": false, "binop": null }, - "start": 12008, - "end": 12009, + "start": 12181, + "end": 12182, "loc": { "start": { - "line": 548, + "line": 557, "column": 131 }, "end": { - "line": 548, + "line": 557, "column": 132 } } @@ -115475,15 +117326,15 @@ "binop": null, "updateContext": null }, - "start": 12010, - "end": 12011, + "start": 12183, + "end": 12184, "loc": { "start": { - "line": 548, + "line": 557, "column": 133 }, "end": { - "line": 548, + "line": 557, "column": 134 } } @@ -115503,15 +117354,15 @@ "updateContext": null }, "value": "if", - "start": 12014, - "end": 12016, + "start": 12187, + "end": 12189, "loc": { "start": { - "line": 549, + "line": 558, "column": 2 }, "end": { - "line": 549, + "line": 558, "column": 4 } } @@ -115528,15 +117379,15 @@ "postfix": false, "binop": null }, - "start": 12017, - "end": 12018, + "start": 12190, + "end": 12191, "loc": { "start": { - "line": 549, + "line": 558, "column": 5 }, "end": { - "line": 549, + "line": 558, "column": 6 } } @@ -115556,15 +117407,15 @@ "updateContext": null }, "value": "this", - "start": 12018, - "end": 12022, + "start": 12191, + "end": 12195, "loc": { "start": { - "line": 549, + "line": 558, "column": 6 }, "end": { - "line": 549, + "line": 558, "column": 10 } } @@ -115582,15 +117433,15 @@ "binop": null, "updateContext": null }, - "start": 12022, - "end": 12023, + "start": 12195, + "end": 12196, "loc": { "start": { - "line": 549, + "line": 558, "column": 10 }, "end": { - "line": 549, + "line": 558, "column": 11 } } @@ -115608,15 +117459,15 @@ "binop": null }, "value": "ltn", - "start": 12023, - "end": 12026, + "start": 12196, + "end": 12199, "loc": { "start": { - "line": 549, + "line": 558, "column": 11 }, "end": { - "line": 549, + "line": 558, "column": 14 } } @@ -115633,15 +117484,15 @@ "postfix": false, "binop": null }, - "start": 12026, - "end": 12027, + "start": 12199, + "end": 12200, "loc": { "start": { - "line": 549, + "line": 558, "column": 14 }, "end": { - "line": 549, + "line": 558, "column": 15 } } @@ -115659,15 +117510,15 @@ "binop": null }, "value": "MIN_NUMBER", - "start": 12027, - "end": 12037, + "start": 12200, + "end": 12210, "loc": { "start": { - "line": 549, + "line": 558, "column": 15 }, "end": { - "line": 549, + "line": 558, "column": 25 } } @@ -115684,15 +117535,15 @@ "postfix": false, "binop": null }, - "start": 12037, - "end": 12038, + "start": 12210, + "end": 12211, "loc": { "start": { - "line": 549, + "line": 558, "column": 25 }, "end": { - "line": 549, + "line": 558, "column": 26 } } @@ -115709,15 +117560,15 @@ "postfix": false, "binop": null }, - "start": 12038, - "end": 12039, + "start": 12211, + "end": 12212, "loc": { "start": { - "line": 549, + "line": 558, "column": 26 }, "end": { - "line": 549, + "line": 558, "column": 27 } } @@ -115737,15 +117588,15 @@ "updateContext": null }, "value": "throw", - "start": 12040, - "end": 12045, + "start": 12213, + "end": 12218, "loc": { "start": { - "line": 549, + "line": 558, "column": 28 }, "end": { - "line": 549, + "line": 558, "column": 33 } } @@ -115765,15 +117616,15 @@ "updateContext": null }, "value": "new", - "start": 12046, - "end": 12049, + "start": 12219, + "end": 12222, "loc": { "start": { - "line": 549, + "line": 558, "column": 34 }, "end": { - "line": 549, + "line": 558, "column": 37 } } @@ -115791,15 +117642,15 @@ "binop": null }, "value": "ValueError", - "start": 12050, - "end": 12060, + "start": 12223, + "end": 12233, "loc": { "start": { - "line": 549, + "line": 558, "column": 38 }, "end": { - "line": 549, + "line": 558, "column": 48 } } @@ -115816,15 +117667,15 @@ "postfix": false, "binop": null }, - "start": 12060, - "end": 12061, + "start": 12233, + "end": 12234, "loc": { "start": { - "line": 549, + "line": 558, "column": 48 }, "end": { - "line": 549, + "line": 558, "column": 49 } } @@ -115841,15 +117692,15 @@ "postfix": false, "binop": null }, - "start": 12061, - "end": 12062, + "start": 12234, + "end": 12235, "loc": { "start": { - "line": 549, + "line": 558, "column": 49 }, "end": { - "line": 549, + "line": 558, "column": 50 } } @@ -115868,15 +117719,15 @@ "updateContext": null }, "value": "Cannot call valueOf on Integer smaller than ", - "start": 12062, - "end": 12106, + "start": 12235, + "end": 12279, "loc": { "start": { - "line": 549, + "line": 558, "column": 50 }, "end": { - "line": 549, + "line": 558, "column": 94 } } @@ -115893,15 +117744,15 @@ "postfix": false, "binop": null }, - "start": 12106, - "end": 12108, + "start": 12279, + "end": 12281, "loc": { "start": { - "line": 549, + "line": 558, "column": 94 }, "end": { - "line": 549, + "line": 558, "column": 96 } } @@ -115919,15 +117770,15 @@ "binop": null }, "value": "MIN_NUMBER", - "start": 12108, - "end": 12118, + "start": 12281, + "end": 12291, "loc": { "start": { - "line": 549, + "line": 558, "column": 96 }, "end": { - "line": 549, + "line": 558, "column": 106 } } @@ -115944,15 +117795,15 @@ "postfix": false, "binop": null }, - "start": 12118, - "end": 12119, + "start": 12291, + "end": 12292, "loc": { "start": { - "line": 549, + "line": 558, "column": 106 }, "end": { - "line": 549, + "line": 558, "column": 107 } } @@ -115971,15 +117822,15 @@ "updateContext": null }, "value": ". Got ", - "start": 12119, - "end": 12125, + "start": 12292, + "end": 12298, "loc": { "start": { - "line": 549, + "line": 558, "column": 107 }, "end": { - "line": 549, + "line": 558, "column": 113 } } @@ -115996,15 +117847,15 @@ "postfix": false, "binop": null }, - "start": 12125, - "end": 12127, + "start": 12298, + "end": 12300, "loc": { "start": { - "line": 549, + "line": 558, "column": 113 }, "end": { - "line": 549, + "line": 558, "column": 115 } } @@ -116024,15 +117875,15 @@ "updateContext": null }, "value": "this", - "start": 12127, - "end": 12131, + "start": 12300, + "end": 12304, "loc": { "start": { - "line": 549, + "line": 558, "column": 115 }, "end": { - "line": 549, + "line": 558, "column": 119 } } @@ -116050,15 +117901,15 @@ "binop": null, "updateContext": null }, - "start": 12131, - "end": 12132, + "start": 12304, + "end": 12305, "loc": { "start": { - "line": 549, + "line": 558, "column": 119 }, "end": { - "line": 549, + "line": 558, "column": 120 } } @@ -116076,15 +117927,15 @@ "binop": null }, "value": "toString", - "start": 12132, - "end": 12140, + "start": 12305, + "end": 12313, "loc": { "start": { - "line": 549, + "line": 558, "column": 120 }, "end": { - "line": 549, + "line": 558, "column": 128 } } @@ -116101,15 +117952,15 @@ "postfix": false, "binop": null }, - "start": 12140, - "end": 12141, + "start": 12313, + "end": 12314, "loc": { "start": { - "line": 549, + "line": 558, "column": 128 }, "end": { - "line": 549, + "line": 558, "column": 129 } } @@ -116126,15 +117977,15 @@ "postfix": false, "binop": null }, - "start": 12141, - "end": 12142, + "start": 12314, + "end": 12315, "loc": { "start": { - "line": 549, + "line": 558, "column": 129 }, "end": { - "line": 549, + "line": 558, "column": 130 } } @@ -116151,15 +118002,15 @@ "postfix": false, "binop": null }, - "start": 12142, - "end": 12143, + "start": 12315, + "end": 12316, "loc": { "start": { - "line": 549, + "line": 558, "column": 130 }, "end": { - "line": 549, + "line": 558, "column": 131 } } @@ -116178,15 +118029,15 @@ "updateContext": null }, "value": "", - "start": 12143, - "end": 12143, + "start": 12316, + "end": 12316, "loc": { "start": { - "line": 549, + "line": 558, "column": 131 }, "end": { - "line": 549, + "line": 558, "column": 131 } } @@ -116203,15 +118054,15 @@ "postfix": false, "binop": null }, - "start": 12143, - "end": 12144, + "start": 12316, + "end": 12317, "loc": { "start": { - "line": 549, + "line": 558, "column": 131 }, "end": { - "line": 549, + "line": 558, "column": 132 } } @@ -116228,15 +118079,15 @@ "postfix": false, "binop": null }, - "start": 12144, - "end": 12145, + "start": 12317, + "end": 12318, "loc": { "start": { - "line": 549, + "line": 558, "column": 132 }, "end": { - "line": 549, + "line": 558, "column": 133 } } @@ -116254,15 +118105,15 @@ "binop": null, "updateContext": null }, - "start": 12146, - "end": 12147, + "start": 12319, + "end": 12320, "loc": { "start": { - "line": 549, + "line": 558, "column": 134 }, "end": { - "line": 549, + "line": 558, "column": 135 } } @@ -116282,15 +118133,15 @@ "updateContext": null }, "value": "const", - "start": 12151, - "end": 12156, + "start": 12324, + "end": 12329, "loc": { "start": { - "line": 551, + "line": 560, "column": 2 }, "end": { - "line": 551, + "line": 560, "column": 7 } } @@ -116308,15 +118159,15 @@ "binop": null }, "value": "limbs", - "start": 12157, - "end": 12162, + "start": 12330, + "end": 12335, "loc": { "start": { - "line": 551, + "line": 560, "column": 8 }, "end": { - "line": 551, + "line": 560, "column": 13 } } @@ -116335,15 +118186,15 @@ "updateContext": null }, "value": "=", - "start": 12163, - "end": 12164, + "start": 12336, + "end": 12337, "loc": { "start": { - "line": 551, + "line": 560, "column": 14 }, "end": { - "line": 551, + "line": 560, "column": 15 } } @@ -116361,15 +118212,15 @@ "binop": null }, "value": "convert", - "start": 12165, - "end": 12172, + "start": 12338, + "end": 12345, "loc": { "start": { - "line": 551, + "line": 560, "column": 16 }, "end": { - "line": 551, + "line": 560, "column": 23 } } @@ -116386,15 +118237,15 @@ "postfix": false, "binop": null }, - "start": 12172, - "end": 12173, + "start": 12345, + "end": 12346, "loc": { "start": { - "line": 551, + "line": 560, "column": 23 }, "end": { - "line": 551, + "line": 560, "column": 24 } } @@ -116414,15 +118265,15 @@ "updateContext": null }, "value": "this", - "start": 12174, - "end": 12178, + "start": 12347, + "end": 12351, "loc": { "start": { - "line": 551, + "line": 560, "column": 25 }, "end": { - "line": 551, + "line": 560, "column": 29 } } @@ -116440,15 +118291,15 @@ "binop": null, "updateContext": null }, - "start": 12178, - "end": 12179, + "start": 12351, + "end": 12352, "loc": { "start": { - "line": 551, + "line": 560, "column": 29 }, "end": { - "line": 551, + "line": 560, "column": 30 } } @@ -116466,15 +118317,15 @@ "binop": null }, "value": "base", - "start": 12179, - "end": 12183, + "start": 12352, + "end": 12356, "loc": { "start": { - "line": 551, + "line": 560, "column": 30 }, "end": { - "line": 551, + "line": 560, "column": 34 } } @@ -116492,15 +118343,15 @@ "binop": null, "updateContext": null }, - "start": 12184, - "end": 12185, + "start": 12357, + "end": 12358, "loc": { "start": { - "line": 551, + "line": 560, "column": 35 }, "end": { - "line": 551, + "line": 560, "column": 36 } } @@ -116518,15 +118369,15 @@ "binop": null }, "value": "MAX_BASE", - "start": 12186, - "end": 12194, + "start": 12359, + "end": 12367, "loc": { "start": { - "line": 551, + "line": 560, "column": 37 }, "end": { - "line": 551, + "line": 560, "column": 45 } } @@ -116544,15 +118395,15 @@ "binop": null, "updateContext": null }, - "start": 12195, - "end": 12196, + "start": 12368, + "end": 12369, "loc": { "start": { - "line": 551, + "line": 560, "column": 46 }, "end": { - "line": 551, + "line": 560, "column": 47 } } @@ -116572,15 +118423,15 @@ "updateContext": null }, "value": "this", - "start": 12197, - "end": 12201, + "start": 12370, + "end": 12374, "loc": { "start": { - "line": 551, + "line": 560, "column": 48 }, "end": { - "line": 551, + "line": 560, "column": 52 } } @@ -116598,15 +118449,15 @@ "binop": null, "updateContext": null }, - "start": 12201, - "end": 12202, + "start": 12374, + "end": 12375, "loc": { "start": { - "line": 551, + "line": 560, "column": 52 }, "end": { - "line": 551, + "line": 560, "column": 53 } } @@ -116624,15 +118475,15 @@ "binop": null }, "value": "limbs", - "start": 12202, - "end": 12207, + "start": 12375, + "end": 12380, "loc": { "start": { - "line": 551, + "line": 560, "column": 53 }, "end": { - "line": 551, + "line": 560, "column": 58 } } @@ -116650,15 +118501,15 @@ "binop": null, "updateContext": null }, - "start": 12208, - "end": 12209, + "start": 12381, + "end": 12382, "loc": { "start": { - "line": 551, + "line": 560, "column": 59 }, "end": { - "line": 551, + "line": 560, "column": 60 } } @@ -116677,15 +118528,15 @@ "updateContext": null }, "value": 0, - "start": 12210, - "end": 12211, + "start": 12383, + "end": 12384, "loc": { "start": { - "line": 551, + "line": 560, "column": 61 }, "end": { - "line": 551, + "line": 560, "column": 62 } } @@ -116703,15 +118554,15 @@ "binop": null, "updateContext": null }, - "start": 12212, - "end": 12213, + "start": 12385, + "end": 12386, "loc": { "start": { - "line": 551, + "line": 560, "column": 63 }, "end": { - "line": 551, + "line": 560, "column": 64 } } @@ -116731,15 +118582,15 @@ "updateContext": null }, "value": "this", - "start": 12214, - "end": 12218, + "start": 12387, + "end": 12391, "loc": { "start": { - "line": 551, + "line": 560, "column": 65 }, "end": { - "line": 551, + "line": 560, "column": 69 } } @@ -116757,15 +118608,15 @@ "binop": null, "updateContext": null }, - "start": 12218, - "end": 12219, + "start": 12391, + "end": 12392, "loc": { "start": { - "line": 551, + "line": 560, "column": 69 }, "end": { - "line": 551, + "line": 560, "column": 70 } } @@ -116783,15 +118634,15 @@ "binop": null }, "value": "limbs", - "start": 12219, - "end": 12224, + "start": 12392, + "end": 12397, "loc": { "start": { - "line": 551, + "line": 560, "column": 70 }, "end": { - "line": 551, + "line": 560, "column": 75 } } @@ -116809,15 +118660,15 @@ "binop": null, "updateContext": null }, - "start": 12224, - "end": 12225, + "start": 12397, + "end": 12398, "loc": { "start": { - "line": 551, + "line": 560, "column": 75 }, "end": { - "line": 551, + "line": 560, "column": 76 } } @@ -116835,15 +118686,15 @@ "binop": null }, "value": "length", - "start": 12225, - "end": 12231, + "start": 12398, + "end": 12404, "loc": { "start": { - "line": 551, + "line": 560, "column": 76 }, "end": { - "line": 551, + "line": 560, "column": 82 } } @@ -116860,15 +118711,15 @@ "postfix": false, "binop": null }, - "start": 12232, - "end": 12233, + "start": 12405, + "end": 12406, "loc": { "start": { - "line": 551, + "line": 560, "column": 83 }, "end": { - "line": 551, + "line": 560, "column": 84 } } @@ -116886,15 +118737,15 @@ "binop": null, "updateContext": null }, - "start": 12234, - "end": 12235, + "start": 12407, + "end": 12408, "loc": { "start": { - "line": 551, + "line": 560, "column": 85 }, "end": { - "line": 551, + "line": 560, "column": 86 } } @@ -116914,15 +118765,15 @@ "updateContext": null }, "value": "const", - "start": 12239, - "end": 12244, + "start": 12412, + "end": 12417, "loc": { "start": { - "line": 553, + "line": 562, "column": 2 }, "end": { - "line": 553, + "line": 562, "column": 7 } } @@ -116940,15 +118791,15 @@ "binop": null }, "value": "sign", - "start": 12245, - "end": 12249, + "start": 12418, + "end": 12422, "loc": { "start": { - "line": 553, + "line": 562, "column": 8 }, "end": { - "line": 553, + "line": 562, "column": 12 } } @@ -116967,15 +118818,15 @@ "updateContext": null }, "value": "=", - "start": 12250, - "end": 12251, + "start": 12423, + "end": 12424, "loc": { "start": { - "line": 553, + "line": 562, "column": 13 }, "end": { - "line": 553, + "line": 562, "column": 14 } } @@ -116995,15 +118846,15 @@ "updateContext": null }, "value": "this", - "start": 12252, - "end": 12256, + "start": 12425, + "end": 12429, "loc": { "start": { - "line": 553, + "line": 562, "column": 15 }, "end": { - "line": 553, + "line": 562, "column": 19 } } @@ -117021,15 +118872,15 @@ "binop": null, "updateContext": null }, - "start": 12256, - "end": 12257, + "start": 12429, + "end": 12430, "loc": { "start": { - "line": 553, + "line": 562, "column": 19 }, "end": { - "line": 553, + "line": 562, "column": 20 } } @@ -117047,15 +118898,15 @@ "binop": null }, "value": "is_negative", - "start": 12257, - "end": 12268, + "start": 12430, + "end": 12441, "loc": { "start": { - "line": 553, + "line": 562, "column": 20 }, "end": { - "line": 553, + "line": 562, "column": 31 } } @@ -117073,15 +118924,15 @@ "binop": null, "updateContext": null }, - "start": 12269, - "end": 12270, + "start": 12442, + "end": 12443, "loc": { "start": { - "line": 553, + "line": 562, "column": 32 }, "end": { - "line": 553, + "line": 562, "column": 33 } } @@ -117100,15 +118951,15 @@ "updateContext": null }, "value": "-", - "start": 12271, - "end": 12272, + "start": 12444, + "end": 12445, "loc": { "start": { - "line": 553, + "line": 562, "column": 34 }, "end": { - "line": 553, + "line": 562, "column": 35 } } @@ -117127,15 +118978,15 @@ "updateContext": null }, "value": 1, - "start": 12272, - "end": 12273, + "start": 12445, + "end": 12446, "loc": { "start": { - "line": 553, + "line": 562, "column": 35 }, "end": { - "line": 553, + "line": 562, "column": 36 } } @@ -117153,15 +119004,15 @@ "binop": null, "updateContext": null }, - "start": 12274, - "end": 12275, + "start": 12447, + "end": 12448, "loc": { "start": { - "line": 553, + "line": 562, "column": 37 }, "end": { - "line": 553, + "line": 562, "column": 38 } } @@ -117180,15 +119031,15 @@ "updateContext": null }, "value": 1, - "start": 12276, - "end": 12277, + "start": 12449, + "end": 12450, "loc": { "start": { - "line": 553, + "line": 562, "column": 39 }, "end": { - "line": 553, + "line": 562, "column": 40 } } @@ -117206,15 +119057,15 @@ "binop": null, "updateContext": null }, - "start": 12278, - "end": 12279, + "start": 12451, + "end": 12452, "loc": { "start": { - "line": 553, + "line": 562, "column": 41 }, "end": { - "line": 553, + "line": 562, "column": 42 } } @@ -117234,15 +119085,15 @@ "updateContext": null }, "value": "const", - "start": 12283, - "end": 12288, + "start": 12456, + "end": 12461, "loc": { "start": { - "line": 555, + "line": 564, "column": 2 }, "end": { - "line": 555, + "line": 564, "column": 7 } } @@ -117260,15 +119111,15 @@ "binop": null }, "value": "value", - "start": 12289, - "end": 12294, + "start": 12462, + "end": 12467, "loc": { "start": { - "line": 555, + "line": 564, "column": 8 }, "end": { - "line": 555, + "line": 564, "column": 13 } } @@ -117287,15 +119138,15 @@ "updateContext": null }, "value": "=", - "start": 12295, - "end": 12296, + "start": 12468, + "end": 12469, "loc": { "start": { - "line": 555, + "line": 564, "column": 14 }, "end": { - "line": 555, + "line": 564, "column": 15 } } @@ -117313,15 +119164,15 @@ "binop": null }, "value": "limbs", - "start": 12297, - "end": 12302, + "start": 12470, + "end": 12475, "loc": { "start": { - "line": 555, + "line": 564, "column": 16 }, "end": { - "line": 555, + "line": 564, "column": 21 } } @@ -117339,15 +119190,15 @@ "binop": null, "updateContext": null }, - "start": 12302, - "end": 12303, + "start": 12475, + "end": 12476, "loc": { "start": { - "line": 555, + "line": 564, "column": 21 }, "end": { - "line": 555, + "line": 564, "column": 22 } } @@ -117365,15 +119216,15 @@ "binop": null }, "value": "length", - "start": 12303, - "end": 12309, + "start": 12476, + "end": 12482, "loc": { "start": { - "line": 555, + "line": 564, "column": 22 }, "end": { - "line": 555, + "line": 564, "column": 28 } } @@ -117392,15 +119243,15 @@ "updateContext": null }, "value": "===", - "start": 12310, - "end": 12313, + "start": 12483, + "end": 12486, "loc": { "start": { - "line": 555, + "line": 564, "column": 29 }, "end": { - "line": 555, + "line": 564, "column": 32 } } @@ -117419,15 +119270,15 @@ "updateContext": null }, "value": 2, - "start": 12314, - "end": 12315, + "start": 12487, + "end": 12488, "loc": { "start": { - "line": 555, + "line": 564, "column": 33 }, "end": { - "line": 555, + "line": 564, "column": 34 } } @@ -117445,15 +119296,15 @@ "binop": null, "updateContext": null }, - "start": 12316, - "end": 12317, + "start": 12489, + "end": 12490, "loc": { "start": { - "line": 555, + "line": 564, "column": 35 }, "end": { - "line": 555, + "line": 564, "column": 36 } } @@ -117471,15 +119322,15 @@ "binop": null }, "value": "limbs", - "start": 12321, - "end": 12326, + "start": 12494, + "end": 12499, "loc": { "start": { - "line": 556, + "line": 565, "column": 3 }, "end": { - "line": 556, + "line": 565, "column": 8 } } @@ -117497,15 +119348,15 @@ "binop": null, "updateContext": null }, - "start": 12326, - "end": 12327, + "start": 12499, + "end": 12500, "loc": { "start": { - "line": 556, + "line": 565, "column": 8 }, "end": { - "line": 556, + "line": 565, "column": 9 } } @@ -117524,15 +119375,15 @@ "updateContext": null }, "value": 0, - "start": 12327, - "end": 12328, + "start": 12500, + "end": 12501, "loc": { "start": { - "line": 556, + "line": 565, "column": 9 }, "end": { - "line": 556, + "line": 565, "column": 10 } } @@ -117550,15 +119401,15 @@ "binop": null, "updateContext": null }, - "start": 12328, - "end": 12329, + "start": 12501, + "end": 12502, "loc": { "start": { - "line": 556, + "line": 565, "column": 10 }, "end": { - "line": 556, + "line": 565, "column": 11 } } @@ -117577,15 +119428,15 @@ "updateContext": null }, "value": "*", - "start": 12330, - "end": 12331, + "start": 12503, + "end": 12504, "loc": { "start": { - "line": 556, + "line": 565, "column": 12 }, "end": { - "line": 556, + "line": 565, "column": 13 } } @@ -117603,15 +119454,15 @@ "binop": null }, "value": "MAX_BASE", - "start": 12332, - "end": 12340, + "start": 12505, + "end": 12513, "loc": { "start": { - "line": 556, + "line": 565, "column": 14 }, "end": { - "line": 556, + "line": 565, "column": 22 } } @@ -117630,15 +119481,15 @@ "updateContext": null }, "value": "+", - "start": 12341, - "end": 12342, + "start": 12514, + "end": 12515, "loc": { "start": { - "line": 556, + "line": 565, "column": 23 }, "end": { - "line": 556, + "line": 565, "column": 24 } } @@ -117656,15 +119507,15 @@ "binop": null }, "value": "limbs", - "start": 12343, - "end": 12348, + "start": 12516, + "end": 12521, "loc": { "start": { - "line": 556, + "line": 565, "column": 25 }, "end": { - "line": 556, + "line": 565, "column": 30 } } @@ -117682,15 +119533,15 @@ "binop": null, "updateContext": null }, - "start": 12348, - "end": 12349, + "start": 12521, + "end": 12522, "loc": { "start": { - "line": 556, + "line": 565, "column": 30 }, "end": { - "line": 556, + "line": 565, "column": 31 } } @@ -117709,15 +119560,15 @@ "updateContext": null }, "value": 1, - "start": 12349, - "end": 12350, + "start": 12522, + "end": 12523, "loc": { "start": { - "line": 556, + "line": 565, "column": 31 }, "end": { - "line": 556, + "line": 565, "column": 32 } } @@ -117735,15 +119586,15 @@ "binop": null, "updateContext": null }, - "start": 12350, - "end": 12351, + "start": 12523, + "end": 12524, "loc": { "start": { - "line": 556, + "line": 565, "column": 32 }, "end": { - "line": 556, + "line": 565, "column": 33 } } @@ -117761,15 +119612,15 @@ "binop": null, "updateContext": null }, - "start": 12352, - "end": 12353, + "start": 12525, + "end": 12526, "loc": { "start": { - "line": 556, + "line": 565, "column": 34 }, "end": { - "line": 556, + "line": 565, "column": 35 } } @@ -117787,15 +119638,15 @@ "binop": null }, "value": "limbs", - "start": 12357, - "end": 12362, + "start": 12530, + "end": 12535, "loc": { "start": { - "line": 557, + "line": 566, "column": 3 }, "end": { - "line": 557, + "line": 566, "column": 8 } } @@ -117813,15 +119664,15 @@ "binop": null, "updateContext": null }, - "start": 12362, - "end": 12363, + "start": 12535, + "end": 12536, "loc": { "start": { - "line": 557, + "line": 566, "column": 8 }, "end": { - "line": 557, + "line": 566, "column": 9 } } @@ -117840,15 +119691,15 @@ "updateContext": null }, "value": 0, - "start": 12363, - "end": 12364, + "start": 12536, + "end": 12537, "loc": { "start": { - "line": 557, + "line": 566, "column": 9 }, "end": { - "line": 557, + "line": 566, "column": 10 } } @@ -117866,15 +119717,15 @@ "binop": null, "updateContext": null }, - "start": 12364, - "end": 12365, + "start": 12537, + "end": 12538, "loc": { "start": { - "line": 557, + "line": 566, "column": 10 }, "end": { - "line": 557, + "line": 566, "column": 11 } } @@ -117892,15 +119743,15 @@ "binop": null, "updateContext": null }, - "start": 12366, - "end": 12367, + "start": 12539, + "end": 12540, "loc": { "start": { - "line": 557, + "line": 566, "column": 12 }, "end": { - "line": 557, + "line": 566, "column": 13 } } @@ -117920,15 +119771,15 @@ "updateContext": null }, "value": "return", - "start": 12371, - "end": 12377, + "start": 12544, + "end": 12550, "loc": { "start": { - "line": 559, + "line": 568, "column": 2 }, "end": { - "line": 559, + "line": 568, "column": 8 } } @@ -117946,15 +119797,15 @@ "binop": null }, "value": "sign", - "start": 12378, - "end": 12382, + "start": 12551, + "end": 12555, "loc": { "start": { - "line": 559, + "line": 568, "column": 9 }, "end": { - "line": 559, + "line": 568, "column": 13 } } @@ -117973,15 +119824,15 @@ "updateContext": null }, "value": "*", - "start": 12383, - "end": 12384, + "start": 12556, + "end": 12557, "loc": { "start": { - "line": 559, + "line": 568, "column": 14 }, "end": { - "line": 559, + "line": 568, "column": 15 } } @@ -117999,15 +119850,15 @@ "binop": null }, "value": "value", - "start": 12385, - "end": 12390, + "start": 12558, + "end": 12563, "loc": { "start": { - "line": 559, + "line": 568, "column": 16 }, "end": { - "line": 559, + "line": 568, "column": 21 } } @@ -118025,15 +119876,15 @@ "binop": null, "updateContext": null }, - "start": 12391, - "end": 12392, + "start": 12564, + "end": 12565, "loc": { "start": { - "line": 559, + "line": 568, "column": 22 }, "end": { - "line": 559, + "line": 568, "column": 23 } } @@ -118050,15 +119901,15 @@ "postfix": false, "binop": null }, - "start": 12394, - "end": 12395, + "start": 12567, + "end": 12568, "loc": { "start": { - "line": 560, + "line": 569, "column": 1 }, "end": { - "line": 560, + "line": 569, "column": 2 } } @@ -118076,15 +119927,15 @@ "binop": null }, "value": "toNumber", - "start": 12398, - "end": 12406, + "start": 12571, + "end": 12579, "loc": { "start": { - "line": 562, + "line": 571, "column": 1 }, "end": { - "line": 562, + "line": 571, "column": 9 } } @@ -118101,15 +119952,15 @@ "postfix": false, "binop": null }, - "start": 12407, - "end": 12408, + "start": 12580, + "end": 12581, "loc": { "start": { - "line": 562, + "line": 571, "column": 10 }, "end": { - "line": 562, + "line": 571, "column": 11 } } @@ -118126,15 +119977,15 @@ "postfix": false, "binop": null }, - "start": 12409, - "end": 12410, + "start": 12582, + "end": 12583, "loc": { "start": { - "line": 562, + "line": 571, "column": 12 }, "end": { - "line": 562, + "line": 571, "column": 13 } } @@ -118151,15 +120002,15 @@ "postfix": false, "binop": null }, - "start": 12411, - "end": 12412, + "start": 12584, + "end": 12585, "loc": { "start": { - "line": 562, + "line": 571, "column": 14 }, "end": { - "line": 562, + "line": 571, "column": 15 } } @@ -118179,15 +120030,15 @@ "updateContext": null }, "value": "return", - "start": 12415, - "end": 12421, + "start": 12588, + "end": 12594, "loc": { "start": { - "line": 563, + "line": 572, "column": 2 }, "end": { - "line": 563, + "line": 572, "column": 8 } } @@ -118207,15 +120058,15 @@ "updateContext": null }, "value": "this", - "start": 12422, - "end": 12426, + "start": 12595, + "end": 12599, "loc": { "start": { - "line": 563, + "line": 572, "column": 9 }, "end": { - "line": 563, + "line": 572, "column": 13 } } @@ -118233,15 +120084,15 @@ "binop": null, "updateContext": null }, - "start": 12426, - "end": 12427, + "start": 12599, + "end": 12600, "loc": { "start": { - "line": 563, + "line": 572, "column": 13 }, "end": { - "line": 563, + "line": 572, "column": 14 } } @@ -118259,15 +120110,15 @@ "binop": null }, "value": "valueOf", - "start": 12427, - "end": 12434, + "start": 12600, + "end": 12607, "loc": { "start": { - "line": 563, + "line": 572, "column": 14 }, "end": { - "line": 563, + "line": 572, "column": 21 } } @@ -118284,15 +120135,15 @@ "postfix": false, "binop": null }, - "start": 12434, - "end": 12435, + "start": 12607, + "end": 12608, "loc": { "start": { - "line": 563, + "line": 572, "column": 21 }, "end": { - "line": 563, + "line": 572, "column": 22 } } @@ -118309,15 +120160,15 @@ "postfix": false, "binop": null }, - "start": 12436, - "end": 12437, + "start": 12609, + "end": 12610, "loc": { "start": { - "line": 563, + "line": 572, "column": 23 }, "end": { - "line": 563, + "line": 572, "column": 24 } } @@ -118335,15 +120186,15 @@ "binop": null, "updateContext": null }, - "start": 12438, - "end": 12439, + "start": 12611, + "end": 12612, "loc": { "start": { - "line": 563, + "line": 572, "column": 25 }, "end": { - "line": 563, + "line": 572, "column": 26 } } @@ -118360,15 +120211,15 @@ "postfix": false, "binop": null }, - "start": 12441, - "end": 12442, + "start": 12614, + "end": 12615, "loc": { "start": { - "line": 564, + "line": 573, "column": 1 }, "end": { - "line": 564, + "line": 573, "column": 2 } } @@ -118385,15 +120236,15 @@ "postfix": false, "binop": null }, - "start": 12444, - "end": 12445, + "start": 12617, + "end": 12618, "loc": { "start": { - "line": 566, + "line": 575, "column": 0 }, "end": { - "line": 566, + "line": 575, "column": 1 } } @@ -118411,15 +120262,15 @@ "binop": null, "updateContext": null }, - "start": 12446, - "end": 12446, + "start": 12619, + "end": 12619, "loc": { "start": { - "line": 567, + "line": 576, "column": 0 }, "end": { - "line": 567, + "line": 576, "column": 0 } } diff --git a/ast/source/integer.js.json b/ast/source/integer.js.json index 790b1ec..431954f 100644 --- a/ast/source/integer.js.json +++ b/ast/source/integer.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 2197, + "end": 2517, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 118, + "line": 134, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 2197, + "end": 2517, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 118, + "line": 134, "column": 0 } }, @@ -3676,7 +3676,7 @@ { "type": "ExportNamedDeclaration", "start": 1298, - "end": 1370, + "end": 1374, "loc": { "start": { "line": 71, @@ -3692,7 +3692,7 @@ "declaration": { "type": "FunctionDeclaration", "start": 1305, - "end": 1370, + "end": 1374, "loc": { "start": { "line": 71, @@ -3706,7 +3706,7 @@ "id": { "type": "Identifier", "start": 1314, - "end": 1318, + "end": 1320, "loc": { "start": { "line": 71, @@ -3714,11 +3714,11 @@ }, "end": { "line": 71, - "column": 20 + "column": 22 }, - "identifierName": "addn" + "identifierName": "divmod" }, - "name": "addn" + "name": "divmod" }, "generator": false, "expression": false, @@ -3726,16 +3726,16 @@ "params": [ { "type": "Identifier", - "start": 1321, - "end": 1326, + "start": 1323, + "end": 1328, "loc": { "start": { "line": 71, - "column": 23 + "column": 25 }, "end": { "line": 71, - "column": 28 + "column": 30 }, "identifierName": "first" }, @@ -3743,16 +3743,16 @@ }, { "type": "Identifier", - "start": 1329, - "end": 1335, + "start": 1331, + "end": 1337, "loc": { "start": { "line": 71, - "column": 31 + "column": 33 }, "end": { "line": 71, - "column": 37 + "column": 39 }, "identifierName": "second" }, @@ -3761,12 +3761,12 @@ ], "body": { "type": "BlockStatement", - "start": 1338, - "end": 1370, + "start": 1340, + "end": 1374, "loc": { "start": { "line": 71, - "column": 40 + "column": 42 }, "end": { "line": 73, @@ -3776,8 +3776,8 @@ "body": [ { "type": "ReturnStatement", - "start": 1341, - "end": 1368, + "start": 1343, + "end": 1372, "loc": { "start": { "line": 72, @@ -3785,13 +3785,13 @@ }, "end": { "line": 72, - "column": 28 + "column": 30 } }, "argument": { "type": "CallExpression", - "start": 1348, - "end": 1366, + "start": 1350, + "end": 1370, "loc": { "start": { "line": 72, @@ -3799,13 +3799,13 @@ }, "end": { "line": 72, - "column": 26 + "column": 28 } }, "callee": { "type": "MemberExpression", - "start": 1348, - "end": 1358, + "start": 1350, + "end": 1362, "loc": { "start": { "line": 72, @@ -3813,13 +3813,13 @@ }, "end": { "line": 72, - "column": 18 + "column": 20 } }, "object": { "type": "Identifier", - "start": 1348, - "end": 1353, + "start": 1350, + "end": 1355, "loc": { "start": { "line": 72, @@ -3835,8 +3835,8 @@ }, "property": { "type": "Identifier", - "start": 1354, - "end": 1358, + "start": 1356, + "end": 1362, "loc": { "start": { "line": 72, @@ -3844,27 +3844,27 @@ }, "end": { "line": 72, - "column": 18 + "column": 20 }, - "identifierName": "addn" + "identifierName": "divmod" }, - "name": "addn" + "name": "divmod" }, "computed": false }, "arguments": [ { "type": "Identifier", - "start": 1359, - "end": 1365, + "start": 1363, + "end": 1369, "loc": { "start": { "line": 72, - "column": 19 + "column": 21 }, "end": { "line": 72, - "column": 25 + "column": 27 }, "identifierName": "second" }, @@ -3882,8 +3882,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 1372, - "end": 1446, + "start": 1376, + "end": 1454, "loc": { "start": { "line": 75, @@ -3898,8 +3898,8 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 1379, - "end": 1446, + "start": 1383, + "end": 1454, "loc": { "start": { "line": 75, @@ -3912,8 +3912,8 @@ }, "id": { "type": "Identifier", - "start": 1388, - "end": 1393, + "start": 1392, + "end": 1399, "loc": { "start": { "line": 75, @@ -3921,11 +3921,11 @@ }, "end": { "line": 75, - "column": 21 + "column": 23 }, - "identifierName": "iaddn" + "identifierName": "idivmod" }, - "name": "iaddn" + "name": "idivmod" }, "generator": false, "expression": false, @@ -3933,16 +3933,16 @@ "params": [ { "type": "Identifier", - "start": 1396, - "end": 1401, + "start": 1402, + "end": 1407, "loc": { "start": { "line": 75, - "column": 24 + "column": 26 }, "end": { "line": 75, - "column": 29 + "column": 31 }, "identifierName": "first" }, @@ -3950,16 +3950,16 @@ }, { "type": "Identifier", - "start": 1404, - "end": 1410, + "start": 1410, + "end": 1416, "loc": { "start": { "line": 75, - "column": 32 + "column": 34 }, "end": { "line": 75, - "column": 38 + "column": 40 }, "identifierName": "second" }, @@ -3968,12 +3968,12 @@ ], "body": { "type": "BlockStatement", - "start": 1413, - "end": 1446, + "start": 1419, + "end": 1454, "loc": { "start": { "line": 75, - "column": 41 + "column": 43 }, "end": { "line": 77, @@ -3983,8 +3983,8 @@ "body": [ { "type": "ReturnStatement", - "start": 1416, - "end": 1444, + "start": 1422, + "end": 1452, "loc": { "start": { "line": 76, @@ -3992,13 +3992,13 @@ }, "end": { "line": 76, - "column": 29 + "column": 31 } }, "argument": { "type": "CallExpression", - "start": 1423, - "end": 1442, + "start": 1429, + "end": 1450, "loc": { "start": { "line": 76, @@ -4006,13 +4006,13 @@ }, "end": { "line": 76, - "column": 27 + "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 1423, - "end": 1434, + "start": 1429, + "end": 1442, "loc": { "start": { "line": 76, @@ -4020,13 +4020,13 @@ }, "end": { "line": 76, - "column": 19 + "column": 21 } }, "object": { "type": "Identifier", - "start": 1423, - "end": 1428, + "start": 1429, + "end": 1434, "loc": { "start": { "line": 76, @@ -4042,8 +4042,8 @@ }, "property": { "type": "Identifier", - "start": 1429, - "end": 1434, + "start": 1435, + "end": 1442, "loc": { "start": { "line": 76, @@ -4051,27 +4051,27 @@ }, "end": { "line": 76, - "column": 19 + "column": 21 }, - "identifierName": "iaddn" + "identifierName": "idivmod" }, - "name": "iaddn" + "name": "idivmod" }, "computed": false }, "arguments": [ { "type": "Identifier", - "start": 1435, - "end": 1441, + "start": 1443, + "end": 1449, "loc": { "start": { "line": 76, - "column": 20 + "column": 22 }, "end": { "line": 76, - "column": 26 + "column": 28 }, "identifierName": "second" }, @@ -4089,8 +4089,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 1448, - "end": 1520, + "start": 1456, + "end": 1528, "loc": { "start": { "line": 79, @@ -4105,8 +4105,8 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 1455, - "end": 1520, + "start": 1463, + "end": 1528, "loc": { "start": { "line": 79, @@ -4119,8 +4119,8 @@ }, "id": { "type": "Identifier", - "start": 1464, - "end": 1468, + "start": 1472, + "end": 1476, "loc": { "start": { "line": 79, @@ -4130,9 +4130,9 @@ "line": 79, "column": 20 }, - "identifierName": "subn" + "identifierName": "addn" }, - "name": "subn" + "name": "addn" }, "generator": false, "expression": false, @@ -4140,8 +4140,8 @@ "params": [ { "type": "Identifier", - "start": 1471, - "end": 1476, + "start": 1479, + "end": 1484, "loc": { "start": { "line": 79, @@ -4157,8 +4157,8 @@ }, { "type": "Identifier", - "start": 1479, - "end": 1485, + "start": 1487, + "end": 1493, "loc": { "start": { "line": 79, @@ -4175,8 +4175,8 @@ ], "body": { "type": "BlockStatement", - "start": 1488, - "end": 1520, + "start": 1496, + "end": 1528, "loc": { "start": { "line": 79, @@ -4190,8 +4190,8 @@ "body": [ { "type": "ReturnStatement", - "start": 1491, - "end": 1518, + "start": 1499, + "end": 1526, "loc": { "start": { "line": 80, @@ -4204,8 +4204,8 @@ }, "argument": { "type": "CallExpression", - "start": 1498, - "end": 1516, + "start": 1506, + "end": 1524, "loc": { "start": { "line": 80, @@ -4218,8 +4218,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1498, - "end": 1508, + "start": 1506, + "end": 1516, "loc": { "start": { "line": 80, @@ -4232,8 +4232,8 @@ }, "object": { "type": "Identifier", - "start": 1498, - "end": 1503, + "start": 1506, + "end": 1511, "loc": { "start": { "line": 80, @@ -4249,8 +4249,8 @@ }, "property": { "type": "Identifier", - "start": 1504, - "end": 1508, + "start": 1512, + "end": 1516, "loc": { "start": { "line": 80, @@ -4260,17 +4260,17 @@ "line": 80, "column": 18 }, - "identifierName": "subn" + "identifierName": "addn" }, - "name": "subn" + "name": "addn" }, "computed": false }, "arguments": [ { "type": "Identifier", - "start": 1509, - "end": 1515, + "start": 1517, + "end": 1523, "loc": { "start": { "line": 80, @@ -4296,8 +4296,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 1522, - "end": 1596, + "start": 1530, + "end": 1604, "loc": { "start": { "line": 83, @@ -4312,8 +4312,8 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 1529, - "end": 1596, + "start": 1537, + "end": 1604, "loc": { "start": { "line": 83, @@ -4326,8 +4326,8 @@ }, "id": { "type": "Identifier", - "start": 1538, - "end": 1543, + "start": 1546, + "end": 1551, "loc": { "start": { "line": 83, @@ -4337,9 +4337,9 @@ "line": 83, "column": 21 }, - "identifierName": "isubn" + "identifierName": "iaddn" }, - "name": "isubn" + "name": "iaddn" }, "generator": false, "expression": false, @@ -4347,8 +4347,8 @@ "params": [ { "type": "Identifier", - "start": 1546, - "end": 1551, + "start": 1554, + "end": 1559, "loc": { "start": { "line": 83, @@ -4364,8 +4364,8 @@ }, { "type": "Identifier", - "start": 1554, - "end": 1560, + "start": 1562, + "end": 1568, "loc": { "start": { "line": 83, @@ -4382,8 +4382,8 @@ ], "body": { "type": "BlockStatement", - "start": 1563, - "end": 1596, + "start": 1571, + "end": 1604, "loc": { "start": { "line": 83, @@ -4397,8 +4397,8 @@ "body": [ { "type": "ReturnStatement", - "start": 1566, - "end": 1594, + "start": 1574, + "end": 1602, "loc": { "start": { "line": 84, @@ -4411,8 +4411,8 @@ }, "argument": { "type": "CallExpression", - "start": 1573, - "end": 1592, + "start": 1581, + "end": 1600, "loc": { "start": { "line": 84, @@ -4425,8 +4425,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1573, - "end": 1584, + "start": 1581, + "end": 1592, "loc": { "start": { "line": 84, @@ -4439,8 +4439,8 @@ }, "object": { "type": "Identifier", - "start": 1573, - "end": 1578, + "start": 1581, + "end": 1586, "loc": { "start": { "line": 84, @@ -4456,8 +4456,8 @@ }, "property": { "type": "Identifier", - "start": 1579, - "end": 1584, + "start": 1587, + "end": 1592, "loc": { "start": { "line": 84, @@ -4467,17 +4467,17 @@ "line": 84, "column": 19 }, - "identifierName": "isubn" + "identifierName": "iaddn" }, - "name": "isubn" + "name": "iaddn" }, "computed": false }, "arguments": [ { "type": "Identifier", - "start": 1585, - "end": 1591, + "start": 1593, + "end": 1599, "loc": { "start": { "line": 84, @@ -4503,8 +4503,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 1598, - "end": 1670, + "start": 1606, + "end": 1678, "loc": { "start": { "line": 87, @@ -4519,8 +4519,8 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 1605, - "end": 1670, + "start": 1613, + "end": 1678, "loc": { "start": { "line": 87, @@ -4533,8 +4533,8 @@ }, "id": { "type": "Identifier", - "start": 1614, - "end": 1618, + "start": 1622, + "end": 1626, "loc": { "start": { "line": 87, @@ -4544,9 +4544,9 @@ "line": 87, "column": 20 }, - "identifierName": "muln" + "identifierName": "subn" }, - "name": "muln" + "name": "subn" }, "generator": false, "expression": false, @@ -4554,8 +4554,8 @@ "params": [ { "type": "Identifier", - "start": 1621, - "end": 1626, + "start": 1629, + "end": 1634, "loc": { "start": { "line": 87, @@ -4571,8 +4571,8 @@ }, { "type": "Identifier", - "start": 1629, - "end": 1635, + "start": 1637, + "end": 1643, "loc": { "start": { "line": 87, @@ -4589,8 +4589,8 @@ ], "body": { "type": "BlockStatement", - "start": 1638, - "end": 1670, + "start": 1646, + "end": 1678, "loc": { "start": { "line": 87, @@ -4604,8 +4604,8 @@ "body": [ { "type": "ReturnStatement", - "start": 1641, - "end": 1668, + "start": 1649, + "end": 1676, "loc": { "start": { "line": 88, @@ -4618,8 +4618,8 @@ }, "argument": { "type": "CallExpression", - "start": 1648, - "end": 1666, + "start": 1656, + "end": 1674, "loc": { "start": { "line": 88, @@ -4632,8 +4632,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1648, - "end": 1658, + "start": 1656, + "end": 1666, "loc": { "start": { "line": 88, @@ -4646,8 +4646,8 @@ }, "object": { "type": "Identifier", - "start": 1648, - "end": 1653, + "start": 1656, + "end": 1661, "loc": { "start": { "line": 88, @@ -4663,8 +4663,8 @@ }, "property": { "type": "Identifier", - "start": 1654, - "end": 1658, + "start": 1662, + "end": 1666, "loc": { "start": { "line": 88, @@ -4674,17 +4674,17 @@ "line": 88, "column": 18 }, - "identifierName": "muln" + "identifierName": "subn" }, - "name": "muln" + "name": "subn" }, "computed": false }, "arguments": [ { "type": "Identifier", - "start": 1659, - "end": 1665, + "start": 1667, + "end": 1673, "loc": { "start": { "line": 88, @@ -4710,8 +4710,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 1672, - "end": 1746, + "start": 1680, + "end": 1754, "loc": { "start": { "line": 91, @@ -4726,8 +4726,8 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 1679, - "end": 1746, + "start": 1687, + "end": 1754, "loc": { "start": { "line": 91, @@ -4740,8 +4740,8 @@ }, "id": { "type": "Identifier", - "start": 1688, - "end": 1693, + "start": 1696, + "end": 1701, "loc": { "start": { "line": 91, @@ -4751,9 +4751,9 @@ "line": 91, "column": 21 }, - "identifierName": "imuln" + "identifierName": "isubn" }, - "name": "imuln" + "name": "isubn" }, "generator": false, "expression": false, @@ -4761,8 +4761,8 @@ "params": [ { "type": "Identifier", - "start": 1696, - "end": 1701, + "start": 1704, + "end": 1709, "loc": { "start": { "line": 91, @@ -4778,8 +4778,8 @@ }, { "type": "Identifier", - "start": 1704, - "end": 1710, + "start": 1712, + "end": 1718, "loc": { "start": { "line": 91, @@ -4796,8 +4796,8 @@ ], "body": { "type": "BlockStatement", - "start": 1713, - "end": 1746, + "start": 1721, + "end": 1754, "loc": { "start": { "line": 91, @@ -4811,8 +4811,8 @@ "body": [ { "type": "ReturnStatement", - "start": 1716, - "end": 1744, + "start": 1724, + "end": 1752, "loc": { "start": { "line": 92, @@ -4825,8 +4825,8 @@ }, "argument": { "type": "CallExpression", - "start": 1723, - "end": 1742, + "start": 1731, + "end": 1750, "loc": { "start": { "line": 92, @@ -4839,8 +4839,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1723, - "end": 1734, + "start": 1731, + "end": 1742, "loc": { "start": { "line": 92, @@ -4853,8 +4853,8 @@ }, "object": { "type": "Identifier", - "start": 1723, - "end": 1728, + "start": 1731, + "end": 1736, "loc": { "start": { "line": 92, @@ -4870,8 +4870,8 @@ }, "property": { "type": "Identifier", - "start": 1729, - "end": 1734, + "start": 1737, + "end": 1742, "loc": { "start": { "line": 92, @@ -4881,17 +4881,17 @@ "line": 92, "column": 19 }, - "identifierName": "imuln" + "identifierName": "isubn" }, - "name": "imuln" + "name": "isubn" }, "computed": false }, "arguments": [ { "type": "Identifier", - "start": 1735, - "end": 1741, + "start": 1743, + "end": 1749, "loc": { "start": { "line": 92, @@ -4917,8 +4917,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 1748, - "end": 1820, + "start": 1756, + "end": 1828, "loc": { "start": { "line": 95, @@ -4933,8 +4933,8 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 1755, - "end": 1820, + "start": 1763, + "end": 1828, "loc": { "start": { "line": 95, @@ -4947,8 +4947,8 @@ }, "id": { "type": "Identifier", - "start": 1764, - "end": 1768, + "start": 1772, + "end": 1776, "loc": { "start": { "line": 95, @@ -4958,9 +4958,9 @@ "line": 95, "column": 20 }, - "identifierName": "pown" + "identifierName": "muln" }, - "name": "pown" + "name": "muln" }, "generator": false, "expression": false, @@ -4968,8 +4968,8 @@ "params": [ { "type": "Identifier", - "start": 1771, - "end": 1776, + "start": 1779, + "end": 1784, "loc": { "start": { "line": 95, @@ -4985,8 +4985,8 @@ }, { "type": "Identifier", - "start": 1779, - "end": 1785, + "start": 1787, + "end": 1793, "loc": { "start": { "line": 95, @@ -5003,8 +5003,8 @@ ], "body": { "type": "BlockStatement", - "start": 1788, - "end": 1820, + "start": 1796, + "end": 1828, "loc": { "start": { "line": 95, @@ -5018,8 +5018,8 @@ "body": [ { "type": "ReturnStatement", - "start": 1791, - "end": 1818, + "start": 1799, + "end": 1826, "loc": { "start": { "line": 96, @@ -5032,8 +5032,8 @@ }, "argument": { "type": "CallExpression", - "start": 1798, - "end": 1816, + "start": 1806, + "end": 1824, "loc": { "start": { "line": 96, @@ -5046,8 +5046,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1798, - "end": 1808, + "start": 1806, + "end": 1816, "loc": { "start": { "line": 96, @@ -5060,8 +5060,8 @@ }, "object": { "type": "Identifier", - "start": 1798, - "end": 1803, + "start": 1806, + "end": 1811, "loc": { "start": { "line": 96, @@ -5077,8 +5077,8 @@ }, "property": { "type": "Identifier", - "start": 1804, - "end": 1808, + "start": 1812, + "end": 1816, "loc": { "start": { "line": 96, @@ -5088,17 +5088,17 @@ "line": 96, "column": 18 }, - "identifierName": "pown" + "identifierName": "muln" }, - "name": "pown" + "name": "muln" }, "computed": false }, "arguments": [ { "type": "Identifier", - "start": 1809, - "end": 1815, + "start": 1817, + "end": 1823, "loc": { "start": { "line": 96, @@ -5124,8 +5124,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 1822, - "end": 1896, + "start": 1830, + "end": 1904, "loc": { "start": { "line": 99, @@ -5140,8 +5140,8 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 1829, - "end": 1896, + "start": 1837, + "end": 1904, "loc": { "start": { "line": 99, @@ -5154,8 +5154,8 @@ }, "id": { "type": "Identifier", - "start": 1838, - "end": 1843, + "start": 1846, + "end": 1851, "loc": { "start": { "line": 99, @@ -5165,9 +5165,9 @@ "line": 99, "column": 21 }, - "identifierName": "ipown" + "identifierName": "imuln" }, - "name": "ipown" + "name": "imuln" }, "generator": false, "expression": false, @@ -5175,8 +5175,8 @@ "params": [ { "type": "Identifier", - "start": 1846, - "end": 1851, + "start": 1854, + "end": 1859, "loc": { "start": { "line": 99, @@ -5192,8 +5192,8 @@ }, { "type": "Identifier", - "start": 1854, - "end": 1860, + "start": 1862, + "end": 1868, "loc": { "start": { "line": 99, @@ -5210,8 +5210,8 @@ ], "body": { "type": "BlockStatement", - "start": 1863, - "end": 1896, + "start": 1871, + "end": 1904, "loc": { "start": { "line": 99, @@ -5225,8 +5225,8 @@ "body": [ { "type": "ReturnStatement", - "start": 1866, - "end": 1894, + "start": 1874, + "end": 1902, "loc": { "start": { "line": 100, @@ -5239,8 +5239,8 @@ }, "argument": { "type": "CallExpression", - "start": 1873, - "end": 1892, + "start": 1881, + "end": 1900, "loc": { "start": { "line": 100, @@ -5253,8 +5253,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1873, - "end": 1884, + "start": 1881, + "end": 1892, "loc": { "start": { "line": 100, @@ -5267,8 +5267,8 @@ }, "object": { "type": "Identifier", - "start": 1873, - "end": 1878, + "start": 1881, + "end": 1886, "loc": { "start": { "line": 100, @@ -5284,8 +5284,8 @@ }, "property": { "type": "Identifier", - "start": 1879, - "end": 1884, + "start": 1887, + "end": 1892, "loc": { "start": { "line": 100, @@ -5295,17 +5295,17 @@ "line": 100, "column": 19 }, - "identifierName": "ipown" + "identifierName": "imuln" }, - "name": "ipown" + "name": "imuln" }, "computed": false }, "arguments": [ { "type": "Identifier", - "start": 1885, - "end": 1891, + "start": 1893, + "end": 1899, "loc": { "start": { "line": 100, @@ -5331,8 +5331,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 1898, - "end": 1970, + "start": 1906, + "end": 1978, "loc": { "start": { "line": 103, @@ -5347,8 +5347,8 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 1905, - "end": 1970, + "start": 1913, + "end": 1978, "loc": { "start": { "line": 103, @@ -5361,8 +5361,8 @@ }, "id": { "type": "Identifier", - "start": 1914, - "end": 1918, + "start": 1922, + "end": 1926, "loc": { "start": { "line": 103, @@ -5372,9 +5372,9 @@ "line": 103, "column": 20 }, - "identifierName": "divn" + "identifierName": "pown" }, - "name": "divn" + "name": "pown" }, "generator": false, "expression": false, @@ -5382,8 +5382,8 @@ "params": [ { "type": "Identifier", - "start": 1921, - "end": 1926, + "start": 1929, + "end": 1934, "loc": { "start": { "line": 103, @@ -5399,8 +5399,8 @@ }, { "type": "Identifier", - "start": 1929, - "end": 1935, + "start": 1937, + "end": 1943, "loc": { "start": { "line": 103, @@ -5417,8 +5417,8 @@ ], "body": { "type": "BlockStatement", - "start": 1938, - "end": 1970, + "start": 1946, + "end": 1978, "loc": { "start": { "line": 103, @@ -5432,8 +5432,8 @@ "body": [ { "type": "ReturnStatement", - "start": 1941, - "end": 1968, + "start": 1949, + "end": 1976, "loc": { "start": { "line": 104, @@ -5446,8 +5446,8 @@ }, "argument": { "type": "CallExpression", - "start": 1948, - "end": 1966, + "start": 1956, + "end": 1974, "loc": { "start": { "line": 104, @@ -5460,8 +5460,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1948, - "end": 1958, + "start": 1956, + "end": 1966, "loc": { "start": { "line": 104, @@ -5474,8 +5474,8 @@ }, "object": { "type": "Identifier", - "start": 1948, - "end": 1953, + "start": 1956, + "end": 1961, "loc": { "start": { "line": 104, @@ -5491,8 +5491,8 @@ }, "property": { "type": "Identifier", - "start": 1954, - "end": 1958, + "start": 1962, + "end": 1966, "loc": { "start": { "line": 104, @@ -5502,17 +5502,17 @@ "line": 104, "column": 18 }, - "identifierName": "divn" + "identifierName": "pown" }, - "name": "divn" + "name": "pown" }, "computed": false }, "arguments": [ { "type": "Identifier", - "start": 1959, - "end": 1965, + "start": 1967, + "end": 1973, "loc": { "start": { "line": 104, @@ -5538,8 +5538,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 1972, - "end": 2046, + "start": 1980, + "end": 2054, "loc": { "start": { "line": 107, @@ -5554,8 +5554,8 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 1979, - "end": 2046, + "start": 1987, + "end": 2054, "loc": { "start": { "line": 107, @@ -5568,8 +5568,8 @@ }, "id": { "type": "Identifier", - "start": 1988, - "end": 1993, + "start": 1996, + "end": 2001, "loc": { "start": { "line": 107, @@ -5579,9 +5579,9 @@ "line": 107, "column": 21 }, - "identifierName": "idivn" + "identifierName": "ipown" }, - "name": "idivn" + "name": "ipown" }, "generator": false, "expression": false, @@ -5589,8 +5589,8 @@ "params": [ { "type": "Identifier", - "start": 1996, - "end": 2001, + "start": 2004, + "end": 2009, "loc": { "start": { "line": 107, @@ -5606,8 +5606,8 @@ }, { "type": "Identifier", - "start": 2004, - "end": 2010, + "start": 2012, + "end": 2018, "loc": { "start": { "line": 107, @@ -5624,8 +5624,8 @@ ], "body": { "type": "BlockStatement", - "start": 2013, - "end": 2046, + "start": 2021, + "end": 2054, "loc": { "start": { "line": 107, @@ -5639,8 +5639,8 @@ "body": [ { "type": "ReturnStatement", - "start": 2016, - "end": 2044, + "start": 2024, + "end": 2052, "loc": { "start": { "line": 108, @@ -5653,8 +5653,8 @@ }, "argument": { "type": "CallExpression", - "start": 2023, - "end": 2042, + "start": 2031, + "end": 2050, "loc": { "start": { "line": 108, @@ -5667,8 +5667,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2023, - "end": 2034, + "start": 2031, + "end": 2042, "loc": { "start": { "line": 108, @@ -5681,8 +5681,8 @@ }, "object": { "type": "Identifier", - "start": 2023, - "end": 2028, + "start": 2031, + "end": 2036, "loc": { "start": { "line": 108, @@ -5698,8 +5698,8 @@ }, "property": { "type": "Identifier", - "start": 2029, - "end": 2034, + "start": 2037, + "end": 2042, "loc": { "start": { "line": 108, @@ -5709,17 +5709,17 @@ "line": 108, "column": 19 }, - "identifierName": "idivn" + "identifierName": "ipown" }, - "name": "idivn" + "name": "ipown" }, "computed": false }, "arguments": [ { "type": "Identifier", - "start": 2035, - "end": 2041, + "start": 2043, + "end": 2049, "loc": { "start": { "line": 108, @@ -5745,8 +5745,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 2048, - "end": 2120, + "start": 2056, + "end": 2128, "loc": { "start": { "line": 111, @@ -5761,8 +5761,8 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 2055, - "end": 2120, + "start": 2063, + "end": 2128, "loc": { "start": { "line": 111, @@ -5775,8 +5775,8 @@ }, "id": { "type": "Identifier", - "start": 2064, - "end": 2068, + "start": 2072, + "end": 2076, "loc": { "start": { "line": 111, @@ -5786,9 +5786,9 @@ "line": 111, "column": 20 }, - "identifierName": "modn" + "identifierName": "divn" }, - "name": "modn" + "name": "divn" }, "generator": false, "expression": false, @@ -5796,8 +5796,8 @@ "params": [ { "type": "Identifier", - "start": 2071, - "end": 2076, + "start": 2079, + "end": 2084, "loc": { "start": { "line": 111, @@ -5813,8 +5813,8 @@ }, { "type": "Identifier", - "start": 2079, - "end": 2085, + "start": 2087, + "end": 2093, "loc": { "start": { "line": 111, @@ -5831,8 +5831,8 @@ ], "body": { "type": "BlockStatement", - "start": 2088, - "end": 2120, + "start": 2096, + "end": 2128, "loc": { "start": { "line": 111, @@ -5846,8 +5846,8 @@ "body": [ { "type": "ReturnStatement", - "start": 2091, - "end": 2118, + "start": 2099, + "end": 2126, "loc": { "start": { "line": 112, @@ -5860,8 +5860,8 @@ }, "argument": { "type": "CallExpression", - "start": 2098, - "end": 2116, + "start": 2106, + "end": 2124, "loc": { "start": { "line": 112, @@ -5874,8 +5874,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2098, - "end": 2108, + "start": 2106, + "end": 2116, "loc": { "start": { "line": 112, @@ -5888,8 +5888,8 @@ }, "object": { "type": "Identifier", - "start": 2098, - "end": 2103, + "start": 2106, + "end": 2111, "loc": { "start": { "line": 112, @@ -5905,8 +5905,8 @@ }, "property": { "type": "Identifier", - "start": 2104, - "end": 2108, + "start": 2112, + "end": 2116, "loc": { "start": { "line": 112, @@ -5916,17 +5916,17 @@ "line": 112, "column": 18 }, - "identifierName": "modn" + "identifierName": "divn" }, - "name": "modn" + "name": "divn" }, "computed": false }, "arguments": [ { "type": "Identifier", - "start": 2109, - "end": 2115, + "start": 2117, + "end": 2123, "loc": { "start": { "line": 112, @@ -5952,8 +5952,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 2122, - "end": 2196, + "start": 2130, + "end": 2204, "loc": { "start": { "line": 115, @@ -5968,8 +5968,8 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 2129, - "end": 2196, + "start": 2137, + "end": 2204, "loc": { "start": { "line": 115, @@ -5982,8 +5982,8 @@ }, "id": { "type": "Identifier", - "start": 2138, - "end": 2143, + "start": 2146, + "end": 2151, "loc": { "start": { "line": 115, @@ -5993,9 +5993,9 @@ "line": 115, "column": 21 }, - "identifierName": "imodn" + "identifierName": "idivn" }, - "name": "imodn" + "name": "idivn" }, "generator": false, "expression": false, @@ -6003,8 +6003,8 @@ "params": [ { "type": "Identifier", - "start": 2146, - "end": 2151, + "start": 2154, + "end": 2159, "loc": { "start": { "line": 115, @@ -6020,8 +6020,8 @@ }, { "type": "Identifier", - "start": 2154, - "end": 2160, + "start": 2162, + "end": 2168, "loc": { "start": { "line": 115, @@ -6038,8 +6038,8 @@ ], "body": { "type": "BlockStatement", - "start": 2163, - "end": 2196, + "start": 2171, + "end": 2204, "loc": { "start": { "line": 115, @@ -6053,8 +6053,8 @@ "body": [ { "type": "ReturnStatement", - "start": 2166, - "end": 2194, + "start": 2174, + "end": 2202, "loc": { "start": { "line": 116, @@ -6067,8 +6067,8 @@ }, "argument": { "type": "CallExpression", - "start": 2173, - "end": 2192, + "start": 2181, + "end": 2200, "loc": { "start": { "line": 116, @@ -6081,8 +6081,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2173, - "end": 2184, + "start": 2181, + "end": 2192, "loc": { "start": { "line": 116, @@ -6095,8 +6095,8 @@ }, "object": { "type": "Identifier", - "start": 2173, - "end": 2178, + "start": 2181, + "end": 2186, "loc": { "start": { "line": 116, @@ -6112,8 +6112,8 @@ }, "property": { "type": "Identifier", - "start": 2179, - "end": 2184, + "start": 2187, + "end": 2192, "loc": { "start": { "line": 116, @@ -6123,17 +6123,17 @@ "line": 116, "column": 19 }, - "identifierName": "imodn" + "identifierName": "idivn" }, - "name": "imodn" + "name": "idivn" }, "computed": false }, "arguments": [ { "type": "Identifier", - "start": 2185, - "end": 2191, + "start": 2193, + "end": 2199, "loc": { "start": { "line": 116, @@ -6156,114 +6156,2737 @@ "leadingComments": [], "trailingComments": [] } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DEFAULT_DISPLAY_BASE", - "start": 9, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 29 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null }, - "start": 30, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 30 + { + "type": "ExportNamedDeclaration", + "start": 2206, + "end": 2278, + "loc": { + "start": { + "line": 119, + "column": 0 + }, + "end": { + "line": 121, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 2213, + "end": 2278, + "loc": { + "start": { + "line": 119, + "column": 7 + }, + "end": { + "line": 121, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 2222, + "end": 2226, + "loc": { + "start": { + "line": 119, + "column": 16 + }, + "end": { + "line": 119, + "column": 20 + }, + "identifierName": "modn" + }, + "name": "modn" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2229, + "end": 2234, + "loc": { + "start": { + "line": 119, + "column": 23 + }, + "end": { + "line": 119, + "column": 28 + }, + "identifierName": "first" + }, + "name": "first" + }, + { + "type": "Identifier", + "start": 2237, + "end": 2243, + "loc": { + "start": { + "line": 119, + "column": 31 + }, + "end": { + "line": 119, + "column": 37 + }, + "identifierName": "second" + }, + "name": "second" + } + ], + "body": { + "type": "BlockStatement", + "start": 2246, + "end": 2278, + "loc": { + "start": { + "line": 119, + "column": 40 + }, + "end": { + "line": 121, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2249, + "end": 2276, + "loc": { + "start": { + "line": 120, + "column": 1 + }, + "end": { + "line": 120, + "column": 28 + } + }, + "argument": { + "type": "CallExpression", + "start": 2256, + "end": 2274, + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 26 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2256, + "end": 2266, + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 2256, + "end": 2261, + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 13 + }, + "identifierName": "first" + }, + "name": "first" + }, + "property": { + "type": "Identifier", + "start": 2262, + "end": 2266, + "loc": { + "start": { + "line": 120, + "column": 14 + }, + "end": { + "line": 120, + "column": 18 + }, + "identifierName": "modn" + }, + "name": "modn" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2267, + "end": 2273, + "loc": { + "start": { + "line": 120, + "column": 19 + }, + "end": { + "line": 120, + "column": 25 + }, + "identifierName": "second" + }, + "name": "second" + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [], + "trailingComments": [] + } + }, + { + "type": "ExportNamedDeclaration", + "start": 2280, + "end": 2354, + "loc": { + "start": { + "line": 123, + "column": 0 + }, + "end": { + "line": 125, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 2287, + "end": 2354, + "loc": { + "start": { + "line": 123, + "column": 7 + }, + "end": { + "line": 125, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 2296, + "end": 2301, + "loc": { + "start": { + "line": 123, + "column": 16 + }, + "end": { + "line": 123, + "column": 21 + }, + "identifierName": "imodn" + }, + "name": "imodn" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2304, + "end": 2309, + "loc": { + "start": { + "line": 123, + "column": 24 + }, + "end": { + "line": 123, + "column": 29 + }, + "identifierName": "first" + }, + "name": "first" + }, + { + "type": "Identifier", + "start": 2312, + "end": 2318, + "loc": { + "start": { + "line": 123, + "column": 32 + }, + "end": { + "line": 123, + "column": 38 + }, + "identifierName": "second" + }, + "name": "second" + } + ], + "body": { + "type": "BlockStatement", + "start": 2321, + "end": 2354, + "loc": { + "start": { + "line": 123, + "column": 41 + }, + "end": { + "line": 125, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2324, + "end": 2352, + "loc": { + "start": { + "line": 124, + "column": 1 + }, + "end": { + "line": 124, + "column": 29 + } + }, + "argument": { + "type": "CallExpression", + "start": 2331, + "end": 2350, + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 124, + "column": 27 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2331, + "end": 2342, + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 124, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 2331, + "end": 2336, + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 124, + "column": 13 + }, + "identifierName": "first" + }, + "name": "first" + }, + "property": { + "type": "Identifier", + "start": 2337, + "end": 2342, + "loc": { + "start": { + "line": 124, + "column": 14 + }, + "end": { + "line": 124, + "column": 19 + }, + "identifierName": "imodn" + }, + "name": "imodn" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2343, + "end": 2349, + "loc": { + "start": { + "line": 124, + "column": 20 + }, + "end": { + "line": 124, + "column": 26 + }, + "identifierName": "second" + }, + "name": "second" + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [], + "trailingComments": [] + } + }, + { + "type": "ExportNamedDeclaration", + "start": 2356, + "end": 2434, + "loc": { + "start": { + "line": 127, + "column": 0 + }, + "end": { + "line": 129, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 2363, + "end": 2434, + "loc": { + "start": { + "line": 127, + "column": 7 + }, + "end": { + "line": 129, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 2372, + "end": 2379, + "loc": { + "start": { + "line": 127, + "column": 16 + }, + "end": { + "line": 127, + "column": 23 + }, + "identifierName": "divmodn" + }, + "name": "divmodn" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2382, + "end": 2387, + "loc": { + "start": { + "line": 127, + "column": 26 + }, + "end": { + "line": 127, + "column": 31 + }, + "identifierName": "first" + }, + "name": "first" + }, + { + "type": "Identifier", + "start": 2390, + "end": 2396, + "loc": { + "start": { + "line": 127, + "column": 34 + }, + "end": { + "line": 127, + "column": 40 + }, + "identifierName": "second" + }, + "name": "second" + } + ], + "body": { + "type": "BlockStatement", + "start": 2399, + "end": 2434, + "loc": { + "start": { + "line": 127, + "column": 43 + }, + "end": { + "line": 129, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2402, + "end": 2432, + "loc": { + "start": { + "line": 128, + "column": 1 + }, + "end": { + "line": 128, + "column": 31 + } + }, + "argument": { + "type": "CallExpression", + "start": 2409, + "end": 2430, + "loc": { + "start": { + "line": 128, + "column": 8 + }, + "end": { + "line": 128, + "column": 29 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2409, + "end": 2422, + "loc": { + "start": { + "line": 128, + "column": 8 + }, + "end": { + "line": 128, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 2409, + "end": 2414, + "loc": { + "start": { + "line": 128, + "column": 8 + }, + "end": { + "line": 128, + "column": 13 + }, + "identifierName": "first" + }, + "name": "first" + }, + "property": { + "type": "Identifier", + "start": 2415, + "end": 2422, + "loc": { + "start": { + "line": 128, + "column": 14 + }, + "end": { + "line": 128, + "column": 21 + }, + "identifierName": "divmodn" + }, + "name": "divmodn" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2423, + "end": 2429, + "loc": { + "start": { + "line": 128, + "column": 22 + }, + "end": { + "line": 128, + "column": 28 + }, + "identifierName": "second" + }, + "name": "second" + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [], + "trailingComments": [] + } + }, + { + "type": "ExportNamedDeclaration", + "start": 2436, + "end": 2516, + "loc": { + "start": { + "line": 131, + "column": 0 + }, + "end": { + "line": 133, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 2443, + "end": 2516, + "loc": { + "start": { + "line": 131, + "column": 7 + }, + "end": { + "line": 133, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 2452, + "end": 2460, + "loc": { + "start": { + "line": 131, + "column": 16 + }, + "end": { + "line": 131, + "column": 24 + }, + "identifierName": "idivmodn" + }, + "name": "idivmodn" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2463, + "end": 2468, + "loc": { + "start": { + "line": 131, + "column": 27 + }, + "end": { + "line": 131, + "column": 32 + }, + "identifierName": "first" + }, + "name": "first" + }, + { + "type": "Identifier", + "start": 2471, + "end": 2477, + "loc": { + "start": { + "line": 131, + "column": 35 + }, + "end": { + "line": 131, + "column": 41 + }, + "identifierName": "second" + }, + "name": "second" + } + ], + "body": { + "type": "BlockStatement", + "start": 2480, + "end": 2516, + "loc": { + "start": { + "line": 131, + "column": 44 + }, + "end": { + "line": 133, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2483, + "end": 2514, + "loc": { + "start": { + "line": 132, + "column": 1 + }, + "end": { + "line": 132, + "column": 32 + } + }, + "argument": { + "type": "CallExpression", + "start": 2490, + "end": 2512, + "loc": { + "start": { + "line": 132, + "column": 8 + }, + "end": { + "line": 132, + "column": 30 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2490, + "end": 2504, + "loc": { + "start": { + "line": 132, + "column": 8 + }, + "end": { + "line": 132, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 2490, + "end": 2495, + "loc": { + "start": { + "line": 132, + "column": 8 + }, + "end": { + "line": 132, + "column": 13 + }, + "identifierName": "first" + }, + "name": "first" + }, + "property": { + "type": "Identifier", + "start": 2496, + "end": 2504, + "loc": { + "start": { + "line": 132, + "column": 14 + }, + "end": { + "line": 132, + "column": 22 + }, + "identifierName": "idivmodn" + }, + "name": "idivmodn" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2505, + "end": 2511, + "loc": { + "start": { + "line": 132, + "column": 23 + }, + "end": { + "line": 132, + "column": 29 + }, + "identifierName": "second" + }, + "name": "second" + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [], + "trailingComments": [] + } + } + ], + "directives": [] + }, + "comments": [], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DEFAULT_DISPLAY_BASE", + "start": 9, + "end": 29, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 29 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 30, + "end": 31, + "loc": { + "start": { + "line": 1, + "column": 30 + }, + "end": { + "line": 1, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ZZ", + "start": 32, + "end": 34, + "loc": { + "start": { + "line": 1, + "column": 32 + }, + "end": { + "line": 1, + "column": 34 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 35, + "end": 36, + "loc": { + "start": { + "line": 1, + "column": 35 + }, + "end": { + "line": 1, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 37, + "end": 41, + "loc": { + "start": { + "line": 1, + "column": 37 + }, + "end": { + "line": 1, + "column": 41 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./", + "start": 42, + "end": 46, + "loc": { + "start": { + "line": 1, + "column": 42 + }, + "end": { + "line": 1, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 47, + "end": 48, + "loc": { + "start": { + "line": 1, + "column": 47 + }, + "end": { + "line": 1, + "column": 48 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 50, + "end": 56, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 57, + "end": 65, + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "$0", + "start": 66, + "end": 68, + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 69, + "end": 70, + "loc": { + "start": { + "line": 3, + "column": 19 + }, + "end": { + "line": 3, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 71, + "end": 72, + "loc": { + "start": { + "line": 3, + "column": 21 + }, + "end": { + "line": 3, + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 73, + "end": 74, + "loc": { + "start": { + "line": 3, + "column": 23 + }, + "end": { + "line": 3, + "column": 24 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 76, + "end": 82, + "loc": { + "start": { + "line": 4, + "column": 1 + }, + "end": { + "line": 4, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ZZ", + "start": 83, + "end": 85, + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 85, + "end": 86, + "loc": { + "start": { + "line": 4, + "column": 10 + }, + "end": { + "line": 4, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "$0", + "start": 86, + "end": 88, + "loc": { + "start": { + "line": 4, + "column": 11 + }, + "end": { + "line": 4, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 88, + "end": 89, + "loc": { + "start": { + "line": 4, + "column": 13 + }, + "end": { + "line": 4, + "column": 14 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 89, + "end": 90, + "loc": { + "start": { + "line": 4, + "column": 14 + }, + "end": { + "line": 4, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 91, + "end": 92, + "loc": { + "start": { + "line": 4, + "column": 16 + }, + "end": { + "line": 4, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 93, + "end": 94, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 1 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 96, + "end": 102, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 103, + "end": 111, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "$1", + "start": 112, + "end": 114, + "loc": { + "start": { + "line": 7, + "column": 16 + }, + "end": { + "line": 7, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 115, + "end": 116, + "loc": { + "start": { + "line": 7, + "column": 19 + }, + "end": { + "line": 7, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 117, + "end": 118, + "loc": { + "start": { + "line": 7, + "column": 21 + }, + "end": { + "line": 7, + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 119, + "end": 120, + "loc": { + "start": { + "line": 7, + "column": 23 + }, + "end": { + "line": 7, + "column": 24 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 122, + "end": 128, + "loc": { + "start": { + "line": 8, + "column": 1 + }, + "end": { + "line": 8, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ZZ", + "start": 129, + "end": 131, + "loc": { + "start": { + "line": 8, + "column": 8 + }, + "end": { + "line": 8, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 131, + "end": 132, + "loc": { + "start": { + "line": 8, + "column": 10 + }, + "end": { + "line": 8, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "$1", + "start": 132, + "end": 134, + "loc": { + "start": { + "line": 8, + "column": 11 + }, + "end": { + "line": 8, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 134, + "end": 135, + "loc": { + "start": { + "line": 8, + "column": 13 + }, + "end": { + "line": 8, + "column": 14 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 135, + "end": 136, + "loc": { + "start": { + "line": 8, + "column": 14 + }, + "end": { + "line": 8, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 137, + "end": 138, + "loc": { + "start": { + "line": 8, + "column": 16 + }, + "end": { + "line": 8, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 139, + "end": 140, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 1 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 142, + "end": 148, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 149, + "end": 157, + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 11, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "$_1", + "start": 158, + "end": 161, + "loc": { + "start": { + "line": 11, + "column": 16 + }, + "end": { + "line": 11, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 162, + "end": 163, + "loc": { + "start": { + "line": 11, + "column": 20 + }, + "end": { + "line": 11, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 164, + "end": 165, + "loc": { + "start": { + "line": 11, + "column": 22 + }, + "end": { + "line": 11, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 166, + "end": 167, + "loc": { + "start": { + "line": 11, + "column": 24 + }, + "end": { + "line": 11, + "column": 25 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 169, + "end": 175, + "loc": { + "start": { + "line": 12, + "column": 1 + }, + "end": { + "line": 12, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ZZ", + "start": 176, + "end": 178, + "loc": { + "start": { + "line": 12, + "column": 8 + }, + "end": { + "line": 12, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 178, + "end": 179, + "loc": { + "start": { + "line": 12, + "column": 10 + }, + "end": { + "line": 12, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "$_1", + "start": 179, + "end": 182, + "loc": { + "start": { + "line": 12, + "column": 11 + }, + "end": { + "line": 12, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 182, + "end": 183, + "loc": { + "start": { + "line": 12, + "column": 14 + }, + "end": { + "line": 12, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 183, + "end": 184, + "loc": { + "start": { + "line": 12, + "column": 15 + }, + "end": { + "line": 12, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 185, + "end": 186, + "loc": { + "start": { + "line": 12, + "column": 17 + }, + "end": { + "line": 12, + "column": 18 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 187, + "end": 188, + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 13, + "column": 1 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 190, + "end": 196, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 15, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 197, + "end": 205, + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parse", + "start": 206, + "end": 211, + "loc": { + "start": { + "line": 15, + "column": 16 + }, + "end": { + "line": 15, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 212, + "end": 213, + "loc": { + "start": { + "line": 15, + "column": 22 + }, + "end": { + "line": 15, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "object", + "start": 214, + "end": 220, + "loc": { + "start": { + "line": 15, + "column": 24 + }, + "end": { + "line": 15, + "column": 30 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 221, + "end": 222, + "loc": { + "start": { + "line": 15, + "column": 31 + }, + "end": { + "line": 15, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 223, + "end": 227, + "loc": { + "start": { + "line": 15, + "column": 33 + }, + "end": { + "line": 15, + "column": 37 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 228, + "end": 229, + "loc": { + "start": { + "line": 15, + "column": 38 + }, + "end": { + "line": 15, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "undefined", + "start": 230, + "end": 239, + "loc": { + "start": { + "line": 15, + "column": 40 + }, + "end": { + "line": 15, + "column": 49 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 240, + "end": 241, + "loc": { + "start": { + "line": 15, + "column": 50 + }, + "end": { + "line": 15, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "is_negative", + "start": 242, + "end": 253, + "loc": { + "start": { + "line": 15, + "column": 52 + }, + "end": { + "line": 15, + "column": 63 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 254, + "end": 255, + "loc": { + "start": { + "line": 15, + "column": 64 + }, + "end": { + "line": 15, + "column": 65 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 256, + "end": 257, + "loc": { + "start": { + "line": 15, + "column": 66 + }, + "end": { + "line": 15, + "column": 67 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 258, + "end": 259, + "loc": { + "start": { + "line": 15, + "column": 68 + }, + "end": { + "line": 15, + "column": 69 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 260, + "end": 261, + "loc": { + "start": { + "line": 15, + "column": 70 + }, + "end": { + "line": 15, + "column": 71 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 263, + "end": 269, + "loc": { + "start": { + "line": 16, + "column": 1 + }, + "end": { + "line": 16, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ZZ", + "start": 270, + "end": 272, + "loc": { + "start": { + "line": 16, + "column": 8 + }, + "end": { + "line": 16, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 272, + "end": 273, + "loc": { + "start": { + "line": 16, + "column": 10 + }, + "end": { + "line": 16, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 273, + "end": 277, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 277, + "end": 278, + "loc": { + "start": { + "line": 16, + "column": 15 + }, + "end": { + "line": 16, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "object", + "start": 279, + "end": 285, + "loc": { + "start": { + "line": 16, + "column": 17 + }, + "end": { + "line": 16, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 286, + "end": 287, + "loc": { + "start": { + "line": 16, + "column": 24 }, "end": { - "line": 1, - "column": 31 + "line": 16, + "column": 25 } } }, @@ -6279,42 +8902,43 @@ "postfix": false, "binop": null }, - "value": "ZZ", - "start": 32, - "end": 34, + "value": "base", + "start": 288, + "end": 292, "loc": { "start": { - "line": 1, - "column": 32 + "line": 16, + "column": 26 }, "end": { - "line": 1, - "column": 34 + "line": 16, + "column": 30 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 35, - "end": 36, + "start": 293, + "end": 294, "loc": { "start": { - "line": 1, - "column": 35 + "line": 16, + "column": 31 }, "end": { - "line": 1, - "column": 36 + "line": 16, + "column": 32 } } }, @@ -6330,43 +8954,41 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 37, - "end": 41, + "value": "is_negative", + "start": 295, + "end": 306, "loc": { "start": { - "line": 1, - "column": 37 + "line": 16, + "column": 33 }, "end": { - "line": 1, - "column": 41 + "line": 16, + "column": 44 } } }, { "type": { - "label": "string", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "./", - "start": 42, - "end": 46, + "start": 307, + "end": 308, "loc": { "start": { - "line": 1, - "column": 42 + "line": 16, + "column": 45 }, "end": { - "line": 1, + "line": 16, "column": 46 } } @@ -6384,19 +9006,44 @@ "binop": null, "updateContext": null }, - "start": 47, - "end": 48, + "start": 309, + "end": 310, "loc": { "start": { - "line": 1, + "line": 16, "column": 47 }, "end": { - "line": 1, + "line": 16, "column": 48 } } }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 311, + "end": 312, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 1 + } + } + }, { "type": { "label": "export", @@ -6412,15 +9059,15 @@ "updateContext": null }, "value": "export", - "start": 50, - "end": 56, + "start": 314, + "end": 320, "loc": { "start": { - "line": 3, + "line": 19, "column": 0 }, "end": { - "line": 3, + "line": 19, "column": 6 } } @@ -6439,49 +9086,179 @@ "binop": null }, "value": "function", - "start": 57, - "end": 65, + "start": 321, + "end": 329, + "loc": { + "start": { + "line": 19, + "column": 7 + }, + "end": { + "line": 19, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stringify", + "start": 330, + "end": 339, + "loc": { + "start": { + "line": 19, + "column": 16 + }, + "end": { + "line": 19, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 340, + "end": 341, + "loc": { + "start": { + "line": 19, + "column": 26 + }, + "end": { + "line": 19, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "integer", + "start": 342, + "end": 349, + "loc": { + "start": { + "line": 19, + "column": 28 + }, + "end": { + "line": 19, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 350, + "end": 351, + "loc": { + "start": { + "line": 19, + "column": 36 + }, + "end": { + "line": 19, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "base", + "start": 352, + "end": 356, "loc": { "start": { - "line": 3, - "column": 7 + "line": 19, + "column": 38 }, "end": { - "line": 3, - "column": 15 + "line": 19, + "column": 42 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "$0", - "start": 66, - "end": 68, + "value": "=", + "start": 357, + "end": 358, "loc": { "start": { - "line": 3, - "column": 16 + "line": 19, + "column": 43 }, "end": { - "line": 3, - "column": 18 + "line": 19, + "column": 44 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -6490,16 +9267,17 @@ "postfix": false, "binop": null }, - "start": 69, - "end": 70, + "value": "DEFAULT_DISPLAY_BASE", + "start": 359, + "end": 379, "loc": { "start": { - "line": 3, - "column": 19 + "line": 19, + "column": 45 }, "end": { - "line": 3, - "column": 20 + "line": 19, + "column": 65 } } }, @@ -6515,16 +9293,16 @@ "postfix": false, "binop": null }, - "start": 71, - "end": 72, + "start": 380, + "end": 381, "loc": { "start": { - "line": 3, - "column": 21 + "line": 19, + "column": 66 }, "end": { - "line": 3, - "column": 22 + "line": 19, + "column": 67 } } }, @@ -6540,16 +9318,16 @@ "postfix": false, "binop": null }, - "start": 73, - "end": 74, + "start": 382, + "end": 383, "loc": { "start": { - "line": 3, - "column": 23 + "line": 19, + "column": 68 }, "end": { - "line": 3, - "column": 24 + "line": 19, + "column": 69 } } }, @@ -6568,15 +9346,15 @@ "updateContext": null }, "value": "return", - "start": 76, - "end": 82, + "start": 385, + "end": 391, "loc": { "start": { - "line": 4, + "line": 20, "column": 1 }, "end": { - "line": 4, + "line": 20, "column": 7 } } @@ -6593,17 +9371,17 @@ "postfix": false, "binop": null }, - "value": "ZZ", - "start": 83, - "end": 85, + "value": "integer", + "start": 392, + "end": 399, "loc": { "start": { - "line": 4, + "line": 20, "column": 8 }, "end": { - "line": 4, - "column": 10 + "line": 20, + "column": 15 } } }, @@ -6620,16 +9398,16 @@ "binop": null, "updateContext": null }, - "start": 85, - "end": 86, + "start": 399, + "end": 400, "loc": { "start": { - "line": 4, - "column": 10 + "line": 20, + "column": 15 }, "end": { - "line": 4, - "column": 11 + "line": 20, + "column": 16 } } }, @@ -6645,17 +9423,17 @@ "postfix": false, "binop": null }, - "value": "$0", - "start": 86, - "end": 88, + "value": "toString", + "start": 400, + "end": 408, "loc": { "start": { - "line": 4, - "column": 11 + "line": 20, + "column": 16 }, "end": { - "line": 4, - "column": 13 + "line": 20, + "column": 24 } } }, @@ -6671,24 +9449,24 @@ "postfix": false, "binop": null }, - "start": 88, - "end": 89, + "start": 408, + "end": 409, "loc": { "start": { - "line": 4, - "column": 13 + "line": 20, + "column": 24 }, "end": { - "line": 4, - "column": 14 + "line": 20, + "column": 25 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -6696,48 +9474,23 @@ "postfix": false, "binop": null }, - "start": 89, - "end": 90, - "loc": { - "start": { - "line": 4, - "column": 14 - }, - "end": { - "line": 4, - "column": 15 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 91, - "end": 92, + "value": "base", + "start": 410, + "end": 414, "loc": { "start": { - "line": 4, - "column": 16 + "line": 20, + "column": 26 }, "end": { - "line": 4, - "column": 17 + "line": 20, + "column": 30 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -6747,24 +9500,23 @@ "postfix": false, "binop": null }, - "start": 93, - "end": 94, + "start": 415, + "end": 416, "loc": { "start": { - "line": 5, - "column": 0 + "line": 20, + "column": 31 }, "end": { - "line": 5, - "column": 1 + "line": 20, + "column": 32 } } }, { "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -6774,52 +9526,24 @@ "binop": null, "updateContext": null }, - "value": "export", - "start": 96, - "end": 102, - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 6 - } - } - }, - { - "type": { - "label": "function", - "keyword": "function", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "function", - "start": 103, - "end": 111, + "start": 417, + "end": 418, "loc": { "start": { - "line": 7, - "column": 7 + "line": 20, + "column": 33 }, "end": { - "line": 7, - "column": 15 + "line": 20, + "column": 34 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -6827,50 +9551,53 @@ "postfix": false, "binop": null }, - "value": "$1", - "start": 112, - "end": 114, + "start": 419, + "end": 420, "loc": { "start": { - "line": 7, - "column": 16 + "line": 21, + "column": 0 }, "end": { - "line": 7, - "column": 18 + "line": 21, + "column": 1 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 115, - "end": 116, + "value": "export", + "start": 422, + "end": 428, "loc": { "start": { - "line": 7, - "column": 19 + "line": 23, + "column": 0 }, "end": { - "line": 7, - "column": 20 + "line": 23, + "column": 6 } } }, { "type": { - "label": ")", + "label": "function", + "keyword": "function", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -6878,23 +9605,24 @@ "postfix": false, "binop": null }, - "start": 117, - "end": 118, + "value": "function", + "start": 429, + "end": 437, "loc": { "start": { - "line": 7, - "column": 21 + "line": 23, + "column": 7 }, "end": { - "line": 7, - "column": 22 + "line": 23, + "column": 15 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -6903,44 +9631,42 @@ "postfix": false, "binop": null }, - "start": 119, - "end": 120, + "value": "add", + "start": 438, + "end": 441, "loc": { "start": { - "line": 7, - "column": 23 + "line": 23, + "column": 16 }, "end": { - "line": 7, - "column": 24 + "line": 23, + "column": 19 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 122, - "end": 128, + "start": 442, + "end": 443, "loc": { "start": { - "line": 8, - "column": 1 + "line": 23, + "column": 20 }, "end": { - "line": 8, - "column": 7 + "line": 23, + "column": 21 } } }, @@ -6956,24 +9682,24 @@ "postfix": false, "binop": null }, - "value": "ZZ", - "start": 129, - "end": 131, + "value": "first", + "start": 444, + "end": 449, "loc": { "start": { - "line": 8, - "column": 8 + "line": 23, + "column": 22 }, "end": { - "line": 8, - "column": 10 + "line": 23, + "column": 27 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -6983,16 +9709,16 @@ "binop": null, "updateContext": null }, - "start": 131, - "end": 132, + "start": 450, + "end": 451, "loc": { "start": { - "line": 8, - "column": 10 + "line": 23, + "column": 28 }, "end": { - "line": 8, - "column": 11 + "line": 23, + "column": 29 } } }, @@ -7008,25 +9734,25 @@ "postfix": false, "binop": null }, - "value": "$1", - "start": 132, - "end": 134, + "value": "second", + "start": 452, + "end": 458, "loc": { "start": { - "line": 8, - "column": 11 + "line": 23, + "column": 30 }, "end": { - "line": 8, - "column": 13 + "line": 23, + "column": 36 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7034,24 +9760,24 @@ "postfix": false, "binop": null }, - "start": 134, - "end": 135, + "start": 459, + "end": 460, "loc": { "start": { - "line": 8, - "column": 13 + "line": 23, + "column": 37 }, "end": { - "line": 8, - "column": 14 + "line": 23, + "column": 38 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7059,22 +9785,23 @@ "postfix": false, "binop": null }, - "start": 135, - "end": 136, + "start": 461, + "end": 462, "loc": { "start": { - "line": 8, - "column": 14 + "line": 23, + "column": 39 }, "end": { - "line": 8, - "column": 15 + "line": 23, + "column": 40 } } }, { "type": { - "label": ";", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -7085,24 +9812,25 @@ "binop": null, "updateContext": null }, - "start": 137, - "end": 138, + "value": "return", + "start": 464, + "end": 470, "loc": { "start": { - "line": 8, - "column": 16 + "line": 24, + "column": 1 }, "end": { - "line": 8, - "column": 17 + "line": 24, + "column": 7 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7110,23 +9838,23 @@ "postfix": false, "binop": null }, - "start": 139, - "end": 140, + "value": "first", + "start": 471, + "end": 476, "loc": { "start": { - "line": 9, - "column": 0 + "line": 24, + "column": 8 }, "end": { - "line": 9, - "column": 1 + "line": 24, + "column": 13 } } }, { "type": { - "label": "export", - "keyword": "export", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -7137,44 +9865,16 @@ "binop": null, "updateContext": null }, - "value": "export", - "start": 142, - "end": 148, - "loc": { - "start": { - "line": 11, - "column": 0 - }, - "end": { - "line": 11, - "column": 6 - } - } - }, - { - "type": { - "label": "function", - "keyword": "function", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "function", - "start": 149, - "end": 157, + "start": 476, + "end": 477, "loc": { "start": { - "line": 11, - "column": 7 + "line": 24, + "column": 13 }, "end": { - "line": 11, - "column": 15 + "line": 24, + "column": 14 } } }, @@ -7190,17 +9890,17 @@ "postfix": false, "binop": null }, - "value": "$_1", - "start": 158, - "end": 161, + "value": "add", + "start": 477, + "end": 480, "loc": { "start": { - "line": 11, - "column": 16 + "line": 24, + "column": 14 }, "end": { - "line": 11, - "column": 19 + "line": 24, + "column": 17 } } }, @@ -7216,24 +9916,24 @@ "postfix": false, "binop": null }, - "start": 162, - "end": 163, + "start": 480, + "end": 481, "loc": { "start": { - "line": 11, - "column": 20 + "line": 24, + "column": 17 }, "end": { - "line": 11, - "column": 21 + "line": 24, + "column": 18 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7241,24 +9941,25 @@ "postfix": false, "binop": null }, - "start": 164, - "end": 165, + "value": "second", + "start": 481, + "end": 487, "loc": { "start": { - "line": 11, - "column": 22 + "line": 24, + "column": 18 }, "end": { - "line": 11, - "column": 23 + "line": 24, + "column": 24 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7266,23 +9967,22 @@ "postfix": false, "binop": null }, - "start": 166, - "end": 167, + "start": 487, + "end": 488, "loc": { "start": { - "line": 11, + "line": 24, "column": 24 }, "end": { - "line": 11, + "line": 24, "column": 25 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -7293,25 +9993,24 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 169, - "end": 175, + "start": 489, + "end": 490, "loc": { "start": { - "line": 12, - "column": 1 + "line": 24, + "column": 26 }, "end": { - "line": 12, - "column": 7 + "line": 24, + "column": 27 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7319,23 +10018,23 @@ "postfix": false, "binop": null }, - "value": "ZZ", - "start": 176, - "end": 178, + "start": 491, + "end": 492, "loc": { "start": { - "line": 12, - "column": 8 + "line": 25, + "column": 0 }, "end": { - "line": 12, - "column": 10 + "line": 25, + "column": 1 } } }, { "type": { - "label": ".", + "label": "export", + "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -7346,16 +10045,44 @@ "binop": null, "updateContext": null }, - "start": 178, - "end": 179, + "value": "export", + "start": 494, + "end": 500, "loc": { "start": { - "line": 12, - "column": 10 + "line": 27, + "column": 0 }, "end": { - "line": 12, - "column": 11 + "line": 27, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 501, + "end": 509, + "loc": { + "start": { + "line": 27, + "column": 7 + }, + "end": { + "line": 27, + "column": 15 } } }, @@ -7371,17 +10098,17 @@ "postfix": false, "binop": null }, - "value": "$_1", - "start": 179, - "end": 182, + "value": "iadd", + "start": 510, + "end": 514, "loc": { "start": { - "line": 12, - "column": 11 + "line": 27, + "column": 16 }, "end": { - "line": 12, - "column": 14 + "line": 27, + "column": 20 } } }, @@ -7397,24 +10124,24 @@ "postfix": false, "binop": null }, - "start": 182, - "end": 183, + "start": 515, + "end": 516, "loc": { "start": { - "line": 12, - "column": 14 + "line": 27, + "column": 21 }, "end": { - "line": 12, - "column": 15 + "line": 27, + "column": 22 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7422,22 +10149,23 @@ "postfix": false, "binop": null }, - "start": 183, - "end": 184, + "value": "first", + "start": 517, + "end": 522, "loc": { "start": { - "line": 12, - "column": 15 + "line": 27, + "column": 23 }, "end": { - "line": 12, - "column": 16 + "line": 27, + "column": 28 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -7448,24 +10176,24 @@ "binop": null, "updateContext": null }, - "start": 185, - "end": 186, + "start": 523, + "end": 524, "loc": { "start": { - "line": 12, - "column": 17 + "line": 27, + "column": 29 }, "end": { - "line": 12, - "column": 18 + "line": 27, + "column": 30 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7473,23 +10201,23 @@ "postfix": false, "binop": null }, - "start": 187, - "end": 188, + "value": "second", + "start": 525, + "end": 531, "loc": { "start": { - "line": 13, - "column": 0 + "line": 27, + "column": 31 }, "end": { - "line": 13, - "column": 1 + "line": 27, + "column": 37 } } }, { "type": { - "label": "export", - "keyword": "export", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -7497,28 +10225,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "export", - "start": 190, - "end": 196, + "start": 532, + "end": 533, "loc": { "start": { - "line": 15, - "column": 0 + "line": 27, + "column": 38 }, "end": { - "line": 15, - "column": 6 + "line": 27, + "column": 39 } } }, { "type": { - "label": "function", - "keyword": "function", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -7527,17 +10252,44 @@ "postfix": false, "binop": null }, - "value": "function", - "start": 197, - "end": 205, + "start": 534, + "end": 535, "loc": { "start": { - "line": 15, - "column": 7 + "line": 27, + "column": 40 }, "end": { - "line": 15, - "column": 15 + "line": 27, + "column": 41 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 537, + "end": 543, + "loc": { + "start": { + "line": 28, + "column": 1 + }, + "end": { + "line": 28, + "column": 7 } } }, @@ -7553,42 +10305,43 @@ "postfix": false, "binop": null }, - "value": "parse", - "start": 206, - "end": 211, + "value": "first", + "start": 544, + "end": 549, "loc": { "start": { - "line": 15, - "column": 16 + "line": 28, + "column": 8 }, "end": { - "line": 15, - "column": 21 + "line": 28, + "column": 13 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 212, - "end": 213, + "start": 549, + "end": 550, "loc": { "start": { - "line": 15, - "column": 22 + "line": 28, + "column": 13 }, "end": { - "line": 15, - "column": 23 + "line": 28, + "column": 14 } } }, @@ -7604,43 +10357,42 @@ "postfix": false, "binop": null }, - "value": "object", - "start": 214, - "end": 220, + "value": "iadd", + "start": 550, + "end": 554, "loc": { "start": { - "line": 15, - "column": 24 + "line": 28, + "column": 14 }, "end": { - "line": 15, - "column": 30 + "line": 28, + "column": 18 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 221, - "end": 222, + "start": 554, + "end": 555, "loc": { "start": { - "line": 15, - "column": 31 + "line": 28, + "column": 18 }, "end": { - "line": 15, - "column": 32 + "line": 28, + "column": 19 } } }, @@ -7656,155 +10408,154 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 223, - "end": 227, + "value": "second", + "start": 555, + "end": 561, "loc": { "start": { - "line": 15, - "column": 33 + "line": 28, + "column": 19 }, "end": { - "line": 15, - "column": 37 + "line": 28, + "column": 25 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 228, - "end": 229, + "start": 561, + "end": 562, "loc": { "start": { - "line": 15, - "column": 38 + "line": 28, + "column": 25 }, "end": { - "line": 15, - "column": 39 + "line": 28, + "column": 26 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "undefined", - "start": 230, - "end": 239, + "start": 563, + "end": 564, "loc": { "start": { - "line": 15, - "column": 40 + "line": 28, + "column": 27 }, "end": { - "line": 15, - "column": 49 + "line": 28, + "column": 28 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 240, - "end": 241, + "start": 565, + "end": 566, "loc": { "start": { - "line": 15, - "column": 50 + "line": 29, + "column": 0 }, "end": { - "line": 15, - "column": 51 + "line": 29, + "column": 1 } } }, { "type": { - "label": "name", + "label": "export", + "keyword": "export", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "is_negative", - "start": 242, - "end": 253, + "value": "export", + "start": 568, + "end": 574, "loc": { "start": { - "line": 15, - "column": 52 + "line": 31, + "column": 0 }, "end": { - "line": 15, - "column": 63 + "line": 31, + "column": 6 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 254, - "end": 255, + "value": "function", + "start": 575, + "end": 583, "loc": { "start": { - "line": 15, - "column": 64 + "line": 31, + "column": 7 }, "end": { - "line": 15, - "column": 65 + "line": 31, + "column": 15 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -7812,28 +10563,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 256, - "end": 257, + "value": "sub", + "start": 584, + "end": 587, "loc": { "start": { - "line": 15, - "column": 66 + "line": 31, + "column": 16 }, "end": { - "line": 15, - "column": 67 + "line": 31, + "column": 19 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7841,23 +10591,23 @@ "postfix": false, "binop": null }, - "start": 258, - "end": 259, + "start": 588, + "end": 589, "loc": { "start": { - "line": 15, - "column": 68 + "line": 31, + "column": 20 }, "end": { - "line": 15, - "column": 69 + "line": 31, + "column": 21 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -7866,23 +10616,23 @@ "postfix": false, "binop": null }, - "start": 260, - "end": 261, + "value": "first", + "start": 590, + "end": 595, "loc": { "start": { - "line": 15, - "column": 70 + "line": 31, + "column": 22 }, "end": { - "line": 15, - "column": 71 + "line": 31, + "column": 27 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -7893,17 +10643,16 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 263, - "end": 269, + "start": 596, + "end": 597, "loc": { "start": { - "line": 16, - "column": 1 + "line": 31, + "column": 28 }, "end": { - "line": 16, - "column": 7 + "line": 31, + "column": 29 } } }, @@ -7919,23 +10668,23 @@ "postfix": false, "binop": null }, - "value": "ZZ", - "start": 270, - "end": 272, + "value": "second", + "start": 598, + "end": 604, "loc": { "start": { - "line": 16, - "column": 8 + "line": 31, + "column": 30 }, "end": { - "line": 16, - "column": 10 + "line": 31, + "column": 36 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -7943,26 +10692,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 272, - "end": 273, + "start": 605, + "end": 606, "loc": { "start": { - "line": 16, - "column": 10 + "line": 31, + "column": 37 }, "end": { - "line": 16, - "column": 11 + "line": 31, + "column": 38 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -7971,42 +10719,44 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 273, - "end": 277, + "start": 607, + "end": 608, "loc": { "start": { - "line": 16, - "column": 11 + "line": 31, + "column": 39 }, "end": { - "line": 16, - "column": 15 + "line": 31, + "column": 40 } } }, { "type": { - "label": "(", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 277, - "end": 278, + "value": "return", + "start": 610, + "end": 616, "loc": { "start": { - "line": 16, - "column": 15 + "line": 32, + "column": 1 }, "end": { - "line": 16, - "column": 16 + "line": 32, + "column": 7 } } }, @@ -8022,24 +10772,24 @@ "postfix": false, "binop": null }, - "value": "object", - "start": 279, - "end": 285, + "value": "first", + "start": 617, + "end": 622, "loc": { "start": { - "line": 16, - "column": 17 + "line": 32, + "column": 8 }, "end": { - "line": 16, - "column": 23 + "line": 32, + "column": 13 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -8049,16 +10799,16 @@ "binop": null, "updateContext": null }, - "start": 286, - "end": 287, + "start": 622, + "end": 623, "loc": { "start": { - "line": 16, - "column": 24 + "line": 32, + "column": 13 }, "end": { - "line": 16, - "column": 25 + "line": 32, + "column": 14 } } }, @@ -8074,43 +10824,42 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 288, - "end": 292, + "value": "sub", + "start": 623, + "end": 626, "loc": { "start": { - "line": 16, - "column": 26 + "line": 32, + "column": 14 }, "end": { - "line": 16, - "column": 30 + "line": 32, + "column": 17 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 293, - "end": 294, + "start": 626, + "end": 627, "loc": { "start": { - "line": 16, - "column": 31 + "line": 32, + "column": 17 }, "end": { - "line": 16, - "column": 32 + "line": 32, + "column": 18 } } }, @@ -8126,17 +10875,17 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 295, - "end": 306, + "value": "second", + "start": 627, + "end": 633, "loc": { "start": { - "line": 16, - "column": 33 + "line": 32, + "column": 18 }, "end": { - "line": 16, - "column": 44 + "line": 32, + "column": 24 } } }, @@ -8152,16 +10901,16 @@ "postfix": false, "binop": null }, - "start": 307, - "end": 308, + "start": 633, + "end": 634, "loc": { "start": { - "line": 16, - "column": 45 + "line": 32, + "column": 24 }, "end": { - "line": 16, - "column": 46 + "line": 32, + "column": 25 } } }, @@ -8178,16 +10927,16 @@ "binop": null, "updateContext": null }, - "start": 309, - "end": 310, + "start": 635, + "end": 636, "loc": { "start": { - "line": 16, - "column": 47 + "line": 32, + "column": 26 }, "end": { - "line": 16, - "column": 48 + "line": 32, + "column": 27 } } }, @@ -8203,15 +10952,15 @@ "postfix": false, "binop": null }, - "start": 311, - "end": 312, + "start": 637, + "end": 638, "loc": { "start": { - "line": 17, + "line": 33, "column": 0 }, "end": { - "line": 17, + "line": 33, "column": 1 } } @@ -8231,15 +10980,15 @@ "updateContext": null }, "value": "export", - "start": 314, - "end": 320, + "start": 640, + "end": 646, "loc": { "start": { - "line": 19, + "line": 35, "column": 0 }, "end": { - "line": 19, + "line": 35, "column": 6 } } @@ -8258,15 +11007,15 @@ "binop": null }, "value": "function", - "start": 321, - "end": 329, + "start": 647, + "end": 655, "loc": { "start": { - "line": 19, + "line": 35, "column": 7 }, "end": { - "line": 19, + "line": 35, "column": 15 } } @@ -8283,17 +11032,17 @@ "postfix": false, "binop": null }, - "value": "stringify", - "start": 330, - "end": 339, + "value": "isub", + "start": 656, + "end": 660, "loc": { "start": { - "line": 19, + "line": 35, "column": 16 }, "end": { - "line": 19, - "column": 25 + "line": 35, + "column": 20 } } }, @@ -8307,70 +11056,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "start": 340, - "end": 341, - "loc": { - "start": { - "line": 19, - "column": 26 - }, - "end": { - "line": 19, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "integer", - "start": 342, - "end": 349, - "loc": { - "start": { - "line": 19, - "column": 28 - }, - "end": { - "line": 19, - "column": 35 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 350, - "end": 351, + "start": 661, + "end": 662, "loc": { "start": { - "line": 19, - "column": 36 + "line": 35, + "column": 21 }, "end": { - "line": 19, - "column": 37 + "line": 35, + "column": 22 } } }, @@ -8386,44 +11083,43 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 352, - "end": 356, + "value": "first", + "start": 663, + "end": 668, "loc": { "start": { - "line": 19, - "column": 38 + "line": 35, + "column": 23 }, "end": { - "line": 19, - "column": 42 + "line": 35, + "column": 28 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 357, - "end": 358, + "start": 669, + "end": 670, "loc": { "start": { - "line": 19, - "column": 43 + "line": 35, + "column": 29 }, "end": { - "line": 19, - "column": 44 + "line": 35, + "column": 30 } } }, @@ -8439,17 +11135,17 @@ "postfix": false, "binop": null }, - "value": "DEFAULT_DISPLAY_BASE", - "start": 359, - "end": 379, + "value": "second", + "start": 671, + "end": 677, "loc": { "start": { - "line": 19, - "column": 45 + "line": 35, + "column": 31 }, "end": { - "line": 19, - "column": 65 + "line": 35, + "column": 37 } } }, @@ -8465,16 +11161,16 @@ "postfix": false, "binop": null }, - "start": 380, - "end": 381, + "start": 678, + "end": 679, "loc": { "start": { - "line": 19, - "column": 66 + "line": 35, + "column": 38 }, "end": { - "line": 19, - "column": 67 + "line": 35, + "column": 39 } } }, @@ -8490,16 +11186,16 @@ "postfix": false, "binop": null }, - "start": 382, - "end": 383, + "start": 680, + "end": 681, "loc": { "start": { - "line": 19, - "column": 68 + "line": 35, + "column": 40 }, "end": { - "line": 19, - "column": 69 + "line": 35, + "column": 41 } } }, @@ -8518,15 +11214,15 @@ "updateContext": null }, "value": "return", - "start": 385, - "end": 391, + "start": 683, + "end": 689, "loc": { "start": { - "line": 20, + "line": 36, "column": 1 }, "end": { - "line": 20, + "line": 36, "column": 7 } } @@ -8543,17 +11239,17 @@ "postfix": false, "binop": null }, - "value": "integer", - "start": 392, - "end": 399, + "value": "first", + "start": 690, + "end": 695, "loc": { "start": { - "line": 20, + "line": 36, "column": 8 }, "end": { - "line": 20, - "column": 15 + "line": 36, + "column": 13 } } }, @@ -8570,16 +11266,16 @@ "binop": null, "updateContext": null }, - "start": 399, - "end": 400, + "start": 695, + "end": 696, "loc": { "start": { - "line": 20, - "column": 15 + "line": 36, + "column": 13 }, "end": { - "line": 20, - "column": 16 + "line": 36, + "column": 14 } } }, @@ -8595,17 +11291,17 @@ "postfix": false, "binop": null }, - "value": "toString", - "start": 400, - "end": 408, + "value": "isub", + "start": 696, + "end": 700, "loc": { "start": { - "line": 20, - "column": 16 + "line": 36, + "column": 14 }, "end": { - "line": 20, - "column": 24 + "line": 36, + "column": 18 } } }, @@ -8621,16 +11317,16 @@ "postfix": false, "binop": null }, - "start": 408, - "end": 409, + "start": 700, + "end": 701, "loc": { "start": { - "line": 20, - "column": 24 + "line": 36, + "column": 18 }, "end": { - "line": 20, - "column": 25 + "line": 36, + "column": 19 } } }, @@ -8646,17 +11342,17 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 410, - "end": 414, + "value": "second", + "start": 701, + "end": 707, "loc": { "start": { - "line": 20, - "column": 26 + "line": 36, + "column": 19 }, "end": { - "line": 20, - "column": 30 + "line": 36, + "column": 25 } } }, @@ -8672,16 +11368,16 @@ "postfix": false, "binop": null }, - "start": 415, - "end": 416, + "start": 707, + "end": 708, "loc": { "start": { - "line": 20, - "column": 31 + "line": 36, + "column": 25 }, "end": { - "line": 20, - "column": 32 + "line": 36, + "column": 26 } } }, @@ -8698,16 +11394,16 @@ "binop": null, "updateContext": null }, - "start": 417, - "end": 418, + "start": 709, + "end": 710, "loc": { "start": { - "line": 20, - "column": 33 + "line": 36, + "column": 27 }, "end": { - "line": 20, - "column": 34 + "line": 36, + "column": 28 } } }, @@ -8723,15 +11419,15 @@ "postfix": false, "binop": null }, - "start": 419, - "end": 420, + "start": 711, + "end": 712, "loc": { "start": { - "line": 21, + "line": 37, "column": 0 }, "end": { - "line": 21, + "line": 37, "column": 1 } } @@ -8751,15 +11447,15 @@ "updateContext": null }, "value": "export", - "start": 422, - "end": 428, + "start": 714, + "end": 720, "loc": { "start": { - "line": 23, + "line": 39, "column": 0 }, "end": { - "line": 23, + "line": 39, "column": 6 } } @@ -8778,15 +11474,15 @@ "binop": null }, "value": "function", - "start": 429, - "end": 437, + "start": 721, + "end": 729, "loc": { "start": { - "line": 23, + "line": 39, "column": 7 }, "end": { - "line": 23, + "line": 39, "column": 15 } } @@ -8803,16 +11499,16 @@ "postfix": false, "binop": null }, - "value": "add", - "start": 438, - "end": 441, + "value": "mul", + "start": 730, + "end": 733, "loc": { "start": { - "line": 23, + "line": 39, "column": 16 }, "end": { - "line": 23, + "line": 39, "column": 19 } } @@ -8829,15 +11525,15 @@ "postfix": false, "binop": null }, - "start": 442, - "end": 443, + "start": 734, + "end": 735, "loc": { "start": { - "line": 23, + "line": 39, "column": 20 }, "end": { - "line": 23, + "line": 39, "column": 21 } } @@ -8855,15 +11551,15 @@ "binop": null }, "value": "first", - "start": 444, - "end": 449, + "start": 736, + "end": 741, "loc": { "start": { - "line": 23, + "line": 39, "column": 22 }, "end": { - "line": 23, + "line": 39, "column": 27 } } @@ -8881,15 +11577,15 @@ "binop": null, "updateContext": null }, - "start": 450, - "end": 451, + "start": 742, + "end": 743, "loc": { "start": { - "line": 23, + "line": 39, "column": 28 }, "end": { - "line": 23, + "line": 39, "column": 29 } } @@ -8907,15 +11603,15 @@ "binop": null }, "value": "second", - "start": 452, - "end": 458, + "start": 744, + "end": 750, "loc": { "start": { - "line": 23, + "line": 39, "column": 30 }, "end": { - "line": 23, + "line": 39, "column": 36 } } @@ -8932,15 +11628,15 @@ "postfix": false, "binop": null }, - "start": 459, - "end": 460, + "start": 751, + "end": 752, "loc": { "start": { - "line": 23, + "line": 39, "column": 37 }, "end": { - "line": 23, + "line": 39, "column": 38 } } @@ -8957,15 +11653,15 @@ "postfix": false, "binop": null }, - "start": 461, - "end": 462, + "start": 753, + "end": 754, "loc": { "start": { - "line": 23, + "line": 39, "column": 39 }, "end": { - "line": 23, + "line": 39, "column": 40 } } @@ -8985,15 +11681,15 @@ "updateContext": null }, "value": "return", - "start": 464, - "end": 470, + "start": 756, + "end": 762, "loc": { "start": { - "line": 24, + "line": 40, "column": 1 }, "end": { - "line": 24, + "line": 40, "column": 7 } } @@ -9011,15 +11707,15 @@ "binop": null }, "value": "first", - "start": 471, - "end": 476, + "start": 763, + "end": 768, "loc": { "start": { - "line": 24, + "line": 40, "column": 8 }, "end": { - "line": 24, + "line": 40, "column": 13 } } @@ -9037,15 +11733,15 @@ "binop": null, "updateContext": null }, - "start": 476, - "end": 477, + "start": 768, + "end": 769, "loc": { "start": { - "line": 24, + "line": 40, "column": 13 }, "end": { - "line": 24, + "line": 40, "column": 14 } } @@ -9062,16 +11758,16 @@ "postfix": false, "binop": null }, - "value": "add", - "start": 477, - "end": 480, + "value": "mul", + "start": 769, + "end": 772, "loc": { "start": { - "line": 24, + "line": 40, "column": 14 }, "end": { - "line": 24, + "line": 40, "column": 17 } } @@ -9088,15 +11784,15 @@ "postfix": false, "binop": null }, - "start": 480, - "end": 481, + "start": 772, + "end": 773, "loc": { "start": { - "line": 24, + "line": 40, "column": 17 }, "end": { - "line": 24, + "line": 40, "column": 18 } } @@ -9114,15 +11810,15 @@ "binop": null }, "value": "second", - "start": 481, - "end": 487, + "start": 773, + "end": 779, "loc": { "start": { - "line": 24, + "line": 40, "column": 18 }, "end": { - "line": 24, + "line": 40, "column": 24 } } @@ -9139,15 +11835,15 @@ "postfix": false, "binop": null }, - "start": 487, - "end": 488, + "start": 779, + "end": 780, "loc": { "start": { - "line": 24, + "line": 40, "column": 24 }, "end": { - "line": 24, + "line": 40, "column": 25 } } @@ -9165,15 +11861,15 @@ "binop": null, "updateContext": null }, - "start": 489, - "end": 490, + "start": 781, + "end": 782, "loc": { "start": { - "line": 24, + "line": 40, "column": 26 }, "end": { - "line": 24, + "line": 40, "column": 27 } } @@ -9190,15 +11886,15 @@ "postfix": false, "binop": null }, - "start": 491, - "end": 492, + "start": 783, + "end": 784, "loc": { "start": { - "line": 25, + "line": 41, "column": 0 }, "end": { - "line": 25, + "line": 41, "column": 1 } } @@ -9218,15 +11914,15 @@ "updateContext": null }, "value": "export", - "start": 494, - "end": 500, + "start": 786, + "end": 792, "loc": { "start": { - "line": 27, + "line": 43, "column": 0 }, "end": { - "line": 27, + "line": 43, "column": 6 } } @@ -9245,15 +11941,15 @@ "binop": null }, "value": "function", - "start": 501, - "end": 509, + "start": 793, + "end": 801, "loc": { "start": { - "line": 27, + "line": 43, "column": 7 }, "end": { - "line": 27, + "line": 43, "column": 15 } } @@ -9270,16 +11966,16 @@ "postfix": false, "binop": null }, - "value": "iadd", - "start": 510, - "end": 514, + "value": "imul", + "start": 802, + "end": 806, "loc": { "start": { - "line": 27, + "line": 43, "column": 16 }, "end": { - "line": 27, + "line": 43, "column": 20 } } @@ -9296,15 +11992,15 @@ "postfix": false, "binop": null }, - "start": 515, - "end": 516, + "start": 807, + "end": 808, "loc": { "start": { - "line": 27, + "line": 43, "column": 21 }, "end": { - "line": 27, + "line": 43, "column": 22 } } @@ -9322,15 +12018,15 @@ "binop": null }, "value": "first", - "start": 517, - "end": 522, + "start": 809, + "end": 814, "loc": { "start": { - "line": 27, + "line": 43, "column": 23 }, "end": { - "line": 27, + "line": 43, "column": 28 } } @@ -9348,15 +12044,15 @@ "binop": null, "updateContext": null }, - "start": 523, - "end": 524, + "start": 815, + "end": 816, "loc": { "start": { - "line": 27, + "line": 43, "column": 29 }, "end": { - "line": 27, + "line": 43, "column": 30 } } @@ -9374,15 +12070,15 @@ "binop": null }, "value": "second", - "start": 525, - "end": 531, + "start": 817, + "end": 823, "loc": { "start": { - "line": 27, + "line": 43, "column": 31 }, "end": { - "line": 27, + "line": 43, "column": 37 } } @@ -9399,15 +12095,15 @@ "postfix": false, "binop": null }, - "start": 532, - "end": 533, + "start": 824, + "end": 825, "loc": { "start": { - "line": 27, + "line": 43, "column": 38 }, "end": { - "line": 27, + "line": 43, "column": 39 } } @@ -9424,15 +12120,15 @@ "postfix": false, "binop": null }, - "start": 534, - "end": 535, + "start": 826, + "end": 827, "loc": { "start": { - "line": 27, + "line": 43, "column": 40 }, "end": { - "line": 27, + "line": 43, "column": 41 } } @@ -9452,15 +12148,15 @@ "updateContext": null }, "value": "return", - "start": 537, - "end": 543, + "start": 829, + "end": 835, "loc": { "start": { - "line": 28, + "line": 44, "column": 1 }, "end": { - "line": 28, + "line": 44, "column": 7 } } @@ -9478,15 +12174,15 @@ "binop": null }, "value": "first", - "start": 544, - "end": 549, + "start": 836, + "end": 841, "loc": { "start": { - "line": 28, + "line": 44, "column": 8 }, "end": { - "line": 28, + "line": 44, "column": 13 } } @@ -9504,15 +12200,15 @@ "binop": null, "updateContext": null }, - "start": 549, - "end": 550, + "start": 841, + "end": 842, "loc": { "start": { - "line": 28, + "line": 44, "column": 13 }, "end": { - "line": 28, + "line": 44, "column": 14 } } @@ -9529,16 +12225,16 @@ "postfix": false, "binop": null }, - "value": "iadd", - "start": 550, - "end": 554, + "value": "imul", + "start": 842, + "end": 846, "loc": { "start": { - "line": 28, + "line": 44, "column": 14 }, "end": { - "line": 28, + "line": 44, "column": 18 } } @@ -9555,15 +12251,15 @@ "postfix": false, "binop": null }, - "start": 554, - "end": 555, + "start": 846, + "end": 847, "loc": { "start": { - "line": 28, + "line": 44, "column": 18 }, "end": { - "line": 28, + "line": 44, "column": 19 } } @@ -9581,15 +12277,15 @@ "binop": null }, "value": "second", - "start": 555, - "end": 561, + "start": 847, + "end": 853, "loc": { "start": { - "line": 28, + "line": 44, "column": 19 }, "end": { - "line": 28, + "line": 44, "column": 25 } } @@ -9606,15 +12302,15 @@ "postfix": false, "binop": null }, - "start": 561, - "end": 562, + "start": 853, + "end": 854, "loc": { "start": { - "line": 28, + "line": 44, "column": 25 }, "end": { - "line": 28, + "line": 44, "column": 26 } } @@ -9632,15 +12328,15 @@ "binop": null, "updateContext": null }, - "start": 563, - "end": 564, + "start": 855, + "end": 856, "loc": { "start": { - "line": 28, + "line": 44, "column": 27 }, "end": { - "line": 28, + "line": 44, "column": 28 } } @@ -9657,15 +12353,15 @@ "postfix": false, "binop": null }, - "start": 565, - "end": 566, + "start": 857, + "end": 858, "loc": { "start": { - "line": 29, + "line": 45, "column": 0 }, "end": { - "line": 29, + "line": 45, "column": 1 } } @@ -9685,15 +12381,15 @@ "updateContext": null }, "value": "export", - "start": 568, - "end": 574, + "start": 860, + "end": 866, "loc": { "start": { - "line": 31, + "line": 47, "column": 0 }, "end": { - "line": 31, + "line": 47, "column": 6 } } @@ -9712,15 +12408,15 @@ "binop": null }, "value": "function", - "start": 575, - "end": 583, + "start": 867, + "end": 875, "loc": { "start": { - "line": 31, + "line": 47, "column": 7 }, "end": { - "line": 31, + "line": 47, "column": 15 } } @@ -9737,16 +12433,16 @@ "postfix": false, "binop": null }, - "value": "sub", - "start": 584, - "end": 587, + "value": "pow", + "start": 876, + "end": 879, "loc": { "start": { - "line": 31, + "line": 47, "column": 16 }, "end": { - "line": 31, + "line": 47, "column": 19 } } @@ -9763,15 +12459,15 @@ "postfix": false, "binop": null }, - "start": 588, - "end": 589, + "start": 880, + "end": 881, "loc": { "start": { - "line": 31, + "line": 47, "column": 20 }, "end": { - "line": 31, + "line": 47, "column": 21 } } @@ -9789,15 +12485,15 @@ "binop": null }, "value": "first", - "start": 590, - "end": 595, + "start": 882, + "end": 887, "loc": { "start": { - "line": 31, + "line": 47, "column": 22 }, "end": { - "line": 31, + "line": 47, "column": 27 } } @@ -9815,15 +12511,15 @@ "binop": null, "updateContext": null }, - "start": 596, - "end": 597, + "start": 888, + "end": 889, "loc": { "start": { - "line": 31, + "line": 47, "column": 28 }, "end": { - "line": 31, + "line": 47, "column": 29 } } @@ -9841,15 +12537,15 @@ "binop": null }, "value": "second", - "start": 598, - "end": 604, + "start": 890, + "end": 896, "loc": { "start": { - "line": 31, + "line": 47, "column": 30 }, "end": { - "line": 31, + "line": 47, "column": 36 } } @@ -9866,15 +12562,15 @@ "postfix": false, "binop": null }, - "start": 605, - "end": 606, + "start": 897, + "end": 898, "loc": { "start": { - "line": 31, + "line": 47, "column": 37 }, "end": { - "line": 31, + "line": 47, "column": 38 } } @@ -9891,15 +12587,15 @@ "postfix": false, "binop": null }, - "start": 607, - "end": 608, + "start": 899, + "end": 900, "loc": { "start": { - "line": 31, + "line": 47, "column": 39 }, "end": { - "line": 31, + "line": 47, "column": 40 } } @@ -9919,15 +12615,15 @@ "updateContext": null }, "value": "return", - "start": 610, - "end": 616, + "start": 902, + "end": 908, "loc": { "start": { - "line": 32, + "line": 48, "column": 1 }, "end": { - "line": 32, + "line": 48, "column": 7 } } @@ -9945,15 +12641,15 @@ "binop": null }, "value": "first", - "start": 617, - "end": 622, + "start": 909, + "end": 914, "loc": { "start": { - "line": 32, + "line": 48, "column": 8 }, "end": { - "line": 32, + "line": 48, "column": 13 } } @@ -9971,15 +12667,15 @@ "binop": null, "updateContext": null }, - "start": 622, - "end": 623, + "start": 914, + "end": 915, "loc": { "start": { - "line": 32, + "line": 48, "column": 13 }, "end": { - "line": 32, + "line": 48, "column": 14 } } @@ -9996,16 +12692,16 @@ "postfix": false, "binop": null }, - "value": "sub", - "start": 623, - "end": 626, + "value": "pow", + "start": 915, + "end": 918, "loc": { "start": { - "line": 32, + "line": 48, "column": 14 }, "end": { - "line": 32, + "line": 48, "column": 17 } } @@ -10022,15 +12718,15 @@ "postfix": false, "binop": null }, - "start": 626, - "end": 627, + "start": 918, + "end": 919, "loc": { "start": { - "line": 32, + "line": 48, "column": 17 }, "end": { - "line": 32, + "line": 48, "column": 18 } } @@ -10048,15 +12744,15 @@ "binop": null }, "value": "second", - "start": 627, - "end": 633, + "start": 919, + "end": 925, "loc": { "start": { - "line": 32, + "line": 48, "column": 18 }, "end": { - "line": 32, + "line": 48, "column": 24 } } @@ -10073,15 +12769,15 @@ "postfix": false, "binop": null }, - "start": 633, - "end": 634, + "start": 925, + "end": 926, "loc": { "start": { - "line": 32, + "line": 48, "column": 24 }, "end": { - "line": 32, + "line": 48, "column": 25 } } @@ -10099,15 +12795,15 @@ "binop": null, "updateContext": null }, - "start": 635, - "end": 636, + "start": 927, + "end": 928, "loc": { "start": { - "line": 32, + "line": 48, "column": 26 }, "end": { - "line": 32, + "line": 48, "column": 27 } } @@ -10124,15 +12820,15 @@ "postfix": false, "binop": null }, - "start": 637, - "end": 638, + "start": 929, + "end": 930, "loc": { "start": { - "line": 33, + "line": 49, "column": 0 }, "end": { - "line": 33, + "line": 49, "column": 1 } } @@ -10152,15 +12848,15 @@ "updateContext": null }, "value": "export", - "start": 640, - "end": 646, + "start": 932, + "end": 938, "loc": { "start": { - "line": 35, + "line": 51, "column": 0 }, "end": { - "line": 35, + "line": 51, "column": 6 } } @@ -10179,15 +12875,15 @@ "binop": null }, "value": "function", - "start": 647, - "end": 655, + "start": 939, + "end": 947, "loc": { "start": { - "line": 35, + "line": 51, "column": 7 }, "end": { - "line": 35, + "line": 51, "column": 15 } } @@ -10204,16 +12900,16 @@ "postfix": false, "binop": null }, - "value": "isub", - "start": 656, - "end": 660, + "value": "ipow", + "start": 948, + "end": 952, "loc": { "start": { - "line": 35, + "line": 51, "column": 16 }, "end": { - "line": 35, + "line": 51, "column": 20 } } @@ -10230,15 +12926,15 @@ "postfix": false, "binop": null }, - "start": 661, - "end": 662, + "start": 953, + "end": 954, "loc": { "start": { - "line": 35, + "line": 51, "column": 21 }, "end": { - "line": 35, + "line": 51, "column": 22 } } @@ -10256,15 +12952,15 @@ "binop": null }, "value": "first", - "start": 663, - "end": 668, + "start": 955, + "end": 960, "loc": { "start": { - "line": 35, + "line": 51, "column": 23 }, "end": { - "line": 35, + "line": 51, "column": 28 } } @@ -10282,15 +12978,15 @@ "binop": null, "updateContext": null }, - "start": 669, - "end": 670, + "start": 961, + "end": 962, "loc": { "start": { - "line": 35, + "line": 51, "column": 29 }, "end": { - "line": 35, + "line": 51, "column": 30 } } @@ -10308,15 +13004,15 @@ "binop": null }, "value": "second", - "start": 671, - "end": 677, + "start": 963, + "end": 969, "loc": { "start": { - "line": 35, + "line": 51, "column": 31 }, "end": { - "line": 35, + "line": 51, "column": 37 } } @@ -10333,15 +13029,15 @@ "postfix": false, "binop": null }, - "start": 678, - "end": 679, + "start": 970, + "end": 971, "loc": { "start": { - "line": 35, + "line": 51, "column": 38 }, "end": { - "line": 35, + "line": 51, "column": 39 } } @@ -10358,15 +13054,15 @@ "postfix": false, "binop": null }, - "start": 680, - "end": 681, + "start": 972, + "end": 973, "loc": { "start": { - "line": 35, + "line": 51, "column": 40 }, "end": { - "line": 35, + "line": 51, "column": 41 } } @@ -10386,15 +13082,15 @@ "updateContext": null }, "value": "return", - "start": 683, - "end": 689, + "start": 975, + "end": 981, "loc": { "start": { - "line": 36, + "line": 52, "column": 1 }, "end": { - "line": 36, + "line": 52, "column": 7 } } @@ -10412,15 +13108,15 @@ "binop": null }, "value": "first", - "start": 690, - "end": 695, + "start": 982, + "end": 987, "loc": { "start": { - "line": 36, + "line": 52, "column": 8 }, "end": { - "line": 36, + "line": 52, "column": 13 } } @@ -10438,15 +13134,15 @@ "binop": null, "updateContext": null }, - "start": 695, - "end": 696, + "start": 987, + "end": 988, "loc": { "start": { - "line": 36, + "line": 52, "column": 13 }, "end": { - "line": 36, + "line": 52, "column": 14 } } @@ -10463,16 +13159,16 @@ "postfix": false, "binop": null }, - "value": "isub", - "start": 696, - "end": 700, + "value": "ipow", + "start": 988, + "end": 992, "loc": { "start": { - "line": 36, + "line": 52, "column": 14 }, "end": { - "line": 36, + "line": 52, "column": 18 } } @@ -10489,15 +13185,15 @@ "postfix": false, "binop": null }, - "start": 700, - "end": 701, + "start": 992, + "end": 993, "loc": { "start": { - "line": 36, + "line": 52, "column": 18 }, "end": { - "line": 36, + "line": 52, "column": 19 } } @@ -10515,15 +13211,15 @@ "binop": null }, "value": "second", - "start": 701, - "end": 707, + "start": 993, + "end": 999, "loc": { "start": { - "line": 36, + "line": 52, "column": 19 }, "end": { - "line": 36, + "line": 52, "column": 25 } } @@ -10540,15 +13236,15 @@ "postfix": false, "binop": null }, - "start": 707, - "end": 708, + "start": 999, + "end": 1000, "loc": { "start": { - "line": 36, + "line": 52, "column": 25 }, "end": { - "line": 36, + "line": 52, "column": 26 } } @@ -10566,15 +13262,15 @@ "binop": null, "updateContext": null }, - "start": 709, - "end": 710, + "start": 1001, + "end": 1002, "loc": { "start": { - "line": 36, + "line": 52, "column": 27 }, "end": { - "line": 36, + "line": 52, "column": 28 } } @@ -10591,15 +13287,15 @@ "postfix": false, "binop": null }, - "start": 711, - "end": 712, + "start": 1003, + "end": 1004, "loc": { "start": { - "line": 37, + "line": 53, "column": 0 }, "end": { - "line": 37, + "line": 53, "column": 1 } } @@ -10619,15 +13315,15 @@ "updateContext": null }, "value": "export", - "start": 714, - "end": 720, + "start": 1006, + "end": 1012, "loc": { "start": { - "line": 39, + "line": 55, "column": 0 }, "end": { - "line": 39, + "line": 55, "column": 6 } } @@ -10646,15 +13342,15 @@ "binop": null }, "value": "function", - "start": 721, - "end": 729, + "start": 1013, + "end": 1021, "loc": { "start": { - "line": 39, + "line": 55, "column": 7 }, "end": { - "line": 39, + "line": 55, "column": 15 } } @@ -10671,16 +13367,16 @@ "postfix": false, "binop": null }, - "value": "mul", - "start": 730, - "end": 733, + "value": "div", + "start": 1022, + "end": 1025, "loc": { "start": { - "line": 39, + "line": 55, "column": 16 }, "end": { - "line": 39, + "line": 55, "column": 19 } } @@ -10697,15 +13393,15 @@ "postfix": false, "binop": null }, - "start": 734, - "end": 735, + "start": 1026, + "end": 1027, "loc": { "start": { - "line": 39, + "line": 55, "column": 20 }, "end": { - "line": 39, + "line": 55, "column": 21 } } @@ -10723,15 +13419,15 @@ "binop": null }, "value": "first", - "start": 736, - "end": 741, + "start": 1028, + "end": 1033, "loc": { "start": { - "line": 39, + "line": 55, "column": 22 }, "end": { - "line": 39, + "line": 55, "column": 27 } } @@ -10749,15 +13445,15 @@ "binop": null, "updateContext": null }, - "start": 742, - "end": 743, + "start": 1034, + "end": 1035, "loc": { "start": { - "line": 39, + "line": 55, "column": 28 }, "end": { - "line": 39, + "line": 55, "column": 29 } } @@ -10775,15 +13471,15 @@ "binop": null }, "value": "second", - "start": 744, - "end": 750, + "start": 1036, + "end": 1042, "loc": { "start": { - "line": 39, + "line": 55, "column": 30 }, "end": { - "line": 39, + "line": 55, "column": 36 } } @@ -10800,15 +13496,15 @@ "postfix": false, "binop": null }, - "start": 751, - "end": 752, + "start": 1043, + "end": 1044, "loc": { "start": { - "line": 39, + "line": 55, "column": 37 }, "end": { - "line": 39, + "line": 55, "column": 38 } } @@ -10825,15 +13521,15 @@ "postfix": false, "binop": null }, - "start": 753, - "end": 754, + "start": 1045, + "end": 1046, "loc": { "start": { - "line": 39, + "line": 55, "column": 39 }, "end": { - "line": 39, + "line": 55, "column": 40 } } @@ -10853,15 +13549,15 @@ "updateContext": null }, "value": "return", - "start": 756, - "end": 762, + "start": 1048, + "end": 1054, "loc": { "start": { - "line": 40, + "line": 56, "column": 1 }, "end": { - "line": 40, + "line": 56, "column": 7 } } @@ -10879,15 +13575,15 @@ "binop": null }, "value": "first", - "start": 763, - "end": 768, + "start": 1055, + "end": 1060, "loc": { "start": { - "line": 40, + "line": 56, "column": 8 }, "end": { - "line": 40, + "line": 56, "column": 13 } } @@ -10905,15 +13601,15 @@ "binop": null, "updateContext": null }, - "start": 768, - "end": 769, + "start": 1060, + "end": 1061, "loc": { "start": { - "line": 40, + "line": 56, "column": 13 }, "end": { - "line": 40, + "line": 56, "column": 14 } } @@ -10930,16 +13626,16 @@ "postfix": false, "binop": null }, - "value": "mul", - "start": 769, - "end": 772, + "value": "div", + "start": 1061, + "end": 1064, "loc": { "start": { - "line": 40, + "line": 56, "column": 14 }, "end": { - "line": 40, + "line": 56, "column": 17 } } @@ -10956,15 +13652,15 @@ "postfix": false, "binop": null }, - "start": 772, - "end": 773, + "start": 1064, + "end": 1065, "loc": { "start": { - "line": 40, + "line": 56, "column": 17 }, "end": { - "line": 40, + "line": 56, "column": 18 } } @@ -10982,15 +13678,15 @@ "binop": null }, "value": "second", - "start": 773, - "end": 779, + "start": 1065, + "end": 1071, "loc": { "start": { - "line": 40, + "line": 56, "column": 18 }, "end": { - "line": 40, + "line": 56, "column": 24 } } @@ -11007,15 +13703,15 @@ "postfix": false, "binop": null }, - "start": 779, - "end": 780, + "start": 1071, + "end": 1072, "loc": { "start": { - "line": 40, + "line": 56, "column": 24 }, "end": { - "line": 40, + "line": 56, "column": 25 } } @@ -11033,15 +13729,15 @@ "binop": null, "updateContext": null }, - "start": 781, - "end": 782, + "start": 1073, + "end": 1074, "loc": { "start": { - "line": 40, + "line": 56, "column": 26 }, "end": { - "line": 40, + "line": 56, "column": 27 } } @@ -11058,15 +13754,15 @@ "postfix": false, "binop": null }, - "start": 783, - "end": 784, + "start": 1075, + "end": 1076, "loc": { "start": { - "line": 41, + "line": 57, "column": 0 }, "end": { - "line": 41, + "line": 57, "column": 1 } } @@ -11086,15 +13782,15 @@ "updateContext": null }, "value": "export", - "start": 786, - "end": 792, + "start": 1078, + "end": 1084, "loc": { "start": { - "line": 43, + "line": 59, "column": 0 }, "end": { - "line": 43, + "line": 59, "column": 6 } } @@ -11113,15 +13809,15 @@ "binop": null }, "value": "function", - "start": 793, - "end": 801, + "start": 1085, + "end": 1093, "loc": { "start": { - "line": 43, + "line": 59, "column": 7 }, "end": { - "line": 43, + "line": 59, "column": 15 } } @@ -11138,16 +13834,16 @@ "postfix": false, "binop": null }, - "value": "imul", - "start": 802, - "end": 806, + "value": "idiv", + "start": 1094, + "end": 1098, "loc": { "start": { - "line": 43, + "line": 59, "column": 16 }, "end": { - "line": 43, + "line": 59, "column": 20 } } @@ -11164,15 +13860,15 @@ "postfix": false, "binop": null }, - "start": 807, - "end": 808, + "start": 1099, + "end": 1100, "loc": { "start": { - "line": 43, + "line": 59, "column": 21 }, "end": { - "line": 43, + "line": 59, "column": 22 } } @@ -11190,15 +13886,15 @@ "binop": null }, "value": "first", - "start": 809, - "end": 814, + "start": 1101, + "end": 1106, "loc": { "start": { - "line": 43, + "line": 59, "column": 23 }, "end": { - "line": 43, + "line": 59, "column": 28 } } @@ -11216,15 +13912,15 @@ "binop": null, "updateContext": null }, - "start": 815, - "end": 816, + "start": 1107, + "end": 1108, "loc": { "start": { - "line": 43, + "line": 59, "column": 29 }, "end": { - "line": 43, + "line": 59, "column": 30 } } @@ -11242,15 +13938,15 @@ "binop": null }, "value": "second", - "start": 817, - "end": 823, + "start": 1109, + "end": 1115, "loc": { "start": { - "line": 43, + "line": 59, "column": 31 }, "end": { - "line": 43, + "line": 59, "column": 37 } } @@ -11267,15 +13963,15 @@ "postfix": false, "binop": null }, - "start": 824, - "end": 825, + "start": 1116, + "end": 1117, "loc": { "start": { - "line": 43, + "line": 59, "column": 38 }, "end": { - "line": 43, + "line": 59, "column": 39 } } @@ -11292,15 +13988,15 @@ "postfix": false, "binop": null }, - "start": 826, - "end": 827, + "start": 1118, + "end": 1119, "loc": { "start": { - "line": 43, + "line": 59, "column": 40 }, "end": { - "line": 43, + "line": 59, "column": 41 } } @@ -11320,15 +14016,15 @@ "updateContext": null }, "value": "return", - "start": 829, - "end": 835, + "start": 1121, + "end": 1127, "loc": { "start": { - "line": 44, + "line": 60, "column": 1 }, "end": { - "line": 44, + "line": 60, "column": 7 } } @@ -11346,15 +14042,15 @@ "binop": null }, "value": "first", - "start": 836, - "end": 841, + "start": 1128, + "end": 1133, "loc": { "start": { - "line": 44, + "line": 60, "column": 8 }, "end": { - "line": 44, + "line": 60, "column": 13 } } @@ -11372,15 +14068,15 @@ "binop": null, "updateContext": null }, - "start": 841, - "end": 842, + "start": 1133, + "end": 1134, "loc": { "start": { - "line": 44, + "line": 60, "column": 13 }, "end": { - "line": 44, + "line": 60, "column": 14 } } @@ -11397,16 +14093,16 @@ "postfix": false, "binop": null }, - "value": "imul", - "start": 842, - "end": 846, + "value": "idiv", + "start": 1134, + "end": 1138, "loc": { "start": { - "line": 44, + "line": 60, "column": 14 }, "end": { - "line": 44, + "line": 60, "column": 18 } } @@ -11423,15 +14119,15 @@ "postfix": false, "binop": null }, - "start": 846, - "end": 847, + "start": 1138, + "end": 1139, "loc": { "start": { - "line": 44, + "line": 60, "column": 18 }, "end": { - "line": 44, + "line": 60, "column": 19 } } @@ -11449,15 +14145,15 @@ "binop": null }, "value": "second", - "start": 847, - "end": 853, + "start": 1139, + "end": 1145, "loc": { "start": { - "line": 44, + "line": 60, "column": 19 }, "end": { - "line": 44, + "line": 60, "column": 25 } } @@ -11474,15 +14170,15 @@ "postfix": false, "binop": null }, - "start": 853, - "end": 854, + "start": 1145, + "end": 1146, "loc": { "start": { - "line": 44, + "line": 60, "column": 25 }, "end": { - "line": 44, + "line": 60, "column": 26 } } @@ -11500,15 +14196,15 @@ "binop": null, "updateContext": null }, - "start": 855, - "end": 856, + "start": 1147, + "end": 1148, "loc": { "start": { - "line": 44, + "line": 60, "column": 27 }, "end": { - "line": 44, + "line": 60, "column": 28 } } @@ -11525,15 +14221,15 @@ "postfix": false, "binop": null }, - "start": 857, - "end": 858, + "start": 1149, + "end": 1150, "loc": { "start": { - "line": 45, + "line": 61, "column": 0 }, "end": { - "line": 45, + "line": 61, "column": 1 } } @@ -11553,15 +14249,15 @@ "updateContext": null }, "value": "export", - "start": 860, - "end": 866, + "start": 1152, + "end": 1158, "loc": { "start": { - "line": 47, + "line": 63, "column": 0 }, "end": { - "line": 47, + "line": 63, "column": 6 } } @@ -11580,15 +14276,15 @@ "binop": null }, "value": "function", - "start": 867, - "end": 875, + "start": 1159, + "end": 1167, "loc": { "start": { - "line": 47, + "line": 63, "column": 7 }, "end": { - "line": 47, + "line": 63, "column": 15 } } @@ -11605,16 +14301,16 @@ "postfix": false, "binop": null }, - "value": "pow", - "start": 876, - "end": 879, + "value": "mod", + "start": 1168, + "end": 1171, "loc": { "start": { - "line": 47, + "line": 63, "column": 16 }, "end": { - "line": 47, + "line": 63, "column": 19 } } @@ -11631,15 +14327,15 @@ "postfix": false, "binop": null }, - "start": 880, - "end": 881, + "start": 1172, + "end": 1173, "loc": { "start": { - "line": 47, + "line": 63, "column": 20 }, "end": { - "line": 47, + "line": 63, "column": 21 } } @@ -11657,15 +14353,15 @@ "binop": null }, "value": "first", - "start": 882, - "end": 887, + "start": 1174, + "end": 1179, "loc": { "start": { - "line": 47, + "line": 63, "column": 22 }, "end": { - "line": 47, + "line": 63, "column": 27 } } @@ -11683,15 +14379,15 @@ "binop": null, "updateContext": null }, - "start": 888, - "end": 889, + "start": 1180, + "end": 1181, "loc": { "start": { - "line": 47, + "line": 63, "column": 28 }, "end": { - "line": 47, + "line": 63, "column": 29 } } @@ -11709,15 +14405,15 @@ "binop": null }, "value": "second", - "start": 890, - "end": 896, + "start": 1182, + "end": 1188, "loc": { "start": { - "line": 47, + "line": 63, "column": 30 }, "end": { - "line": 47, + "line": 63, "column": 36 } } @@ -11734,15 +14430,15 @@ "postfix": false, "binop": null }, - "start": 897, - "end": 898, + "start": 1189, + "end": 1190, "loc": { "start": { - "line": 47, + "line": 63, "column": 37 }, "end": { - "line": 47, + "line": 63, "column": 38 } } @@ -11759,15 +14455,15 @@ "postfix": false, "binop": null }, - "start": 899, - "end": 900, + "start": 1191, + "end": 1192, "loc": { "start": { - "line": 47, + "line": 63, "column": 39 }, "end": { - "line": 47, + "line": 63, "column": 40 } } @@ -11787,15 +14483,15 @@ "updateContext": null }, "value": "return", - "start": 902, - "end": 908, + "start": 1194, + "end": 1200, "loc": { "start": { - "line": 48, + "line": 64, "column": 1 }, "end": { - "line": 48, + "line": 64, "column": 7 } } @@ -11813,15 +14509,15 @@ "binop": null }, "value": "first", - "start": 909, - "end": 914, + "start": 1201, + "end": 1206, "loc": { "start": { - "line": 48, + "line": 64, "column": 8 }, "end": { - "line": 48, + "line": 64, "column": 13 } } @@ -11839,15 +14535,15 @@ "binop": null, "updateContext": null }, - "start": 914, - "end": 915, + "start": 1206, + "end": 1207, "loc": { "start": { - "line": 48, + "line": 64, "column": 13 }, "end": { - "line": 48, + "line": 64, "column": 14 } } @@ -11864,16 +14560,16 @@ "postfix": false, "binop": null }, - "value": "pow", - "start": 915, - "end": 918, + "value": "mod", + "start": 1207, + "end": 1210, "loc": { "start": { - "line": 48, + "line": 64, "column": 14 }, "end": { - "line": 48, + "line": 64, "column": 17 } } @@ -11890,15 +14586,15 @@ "postfix": false, "binop": null }, - "start": 918, - "end": 919, + "start": 1210, + "end": 1211, "loc": { "start": { - "line": 48, + "line": 64, "column": 17 }, "end": { - "line": 48, + "line": 64, "column": 18 } } @@ -11916,15 +14612,15 @@ "binop": null }, "value": "second", - "start": 919, - "end": 925, + "start": 1211, + "end": 1217, "loc": { "start": { - "line": 48, + "line": 64, "column": 18 }, "end": { - "line": 48, + "line": 64, "column": 24 } } @@ -11941,15 +14637,15 @@ "postfix": false, "binop": null }, - "start": 925, - "end": 926, + "start": 1217, + "end": 1218, "loc": { "start": { - "line": 48, + "line": 64, "column": 24 }, "end": { - "line": 48, + "line": 64, "column": 25 } } @@ -11967,15 +14663,15 @@ "binop": null, "updateContext": null }, - "start": 927, - "end": 928, + "start": 1219, + "end": 1220, "loc": { "start": { - "line": 48, + "line": 64, "column": 26 }, "end": { - "line": 48, + "line": 64, "column": 27 } } @@ -11992,15 +14688,15 @@ "postfix": false, "binop": null }, - "start": 929, - "end": 930, + "start": 1221, + "end": 1222, "loc": { "start": { - "line": 49, + "line": 65, "column": 0 }, "end": { - "line": 49, + "line": 65, "column": 1 } } @@ -12020,15 +14716,15 @@ "updateContext": null }, "value": "export", - "start": 932, - "end": 938, + "start": 1224, + "end": 1230, "loc": { "start": { - "line": 51, + "line": 67, "column": 0 }, "end": { - "line": 51, + "line": 67, "column": 6 } } @@ -12047,15 +14743,15 @@ "binop": null }, "value": "function", - "start": 939, - "end": 947, + "start": 1231, + "end": 1239, "loc": { "start": { - "line": 51, + "line": 67, "column": 7 }, "end": { - "line": 51, + "line": 67, "column": 15 } } @@ -12072,16 +14768,16 @@ "postfix": false, "binop": null }, - "value": "ipow", - "start": 948, - "end": 952, + "value": "imod", + "start": 1240, + "end": 1244, "loc": { "start": { - "line": 51, + "line": 67, "column": 16 }, "end": { - "line": 51, + "line": 67, "column": 20 } } @@ -12098,15 +14794,15 @@ "postfix": false, "binop": null }, - "start": 953, - "end": 954, + "start": 1245, + "end": 1246, "loc": { "start": { - "line": 51, + "line": 67, "column": 21 }, "end": { - "line": 51, + "line": 67, "column": 22 } } @@ -12124,15 +14820,15 @@ "binop": null }, "value": "first", - "start": 955, - "end": 960, + "start": 1247, + "end": 1252, "loc": { "start": { - "line": 51, + "line": 67, "column": 23 }, "end": { - "line": 51, + "line": 67, "column": 28 } } @@ -12150,15 +14846,15 @@ "binop": null, "updateContext": null }, - "start": 961, - "end": 962, + "start": 1253, + "end": 1254, "loc": { "start": { - "line": 51, + "line": 67, "column": 29 }, "end": { - "line": 51, + "line": 67, "column": 30 } } @@ -12176,15 +14872,15 @@ "binop": null }, "value": "second", - "start": 963, - "end": 969, + "start": 1255, + "end": 1261, "loc": { "start": { - "line": 51, + "line": 67, "column": 31 }, "end": { - "line": 51, + "line": 67, "column": 37 } } @@ -12201,15 +14897,15 @@ "postfix": false, "binop": null }, - "start": 970, - "end": 971, + "start": 1262, + "end": 1263, "loc": { "start": { - "line": 51, + "line": 67, "column": 38 }, "end": { - "line": 51, + "line": 67, "column": 39 } } @@ -12226,15 +14922,15 @@ "postfix": false, "binop": null }, - "start": 972, - "end": 973, + "start": 1264, + "end": 1265, "loc": { "start": { - "line": 51, + "line": 67, "column": 40 }, "end": { - "line": 51, + "line": 67, "column": 41 } } @@ -12254,15 +14950,15 @@ "updateContext": null }, "value": "return", - "start": 975, - "end": 981, + "start": 1267, + "end": 1273, "loc": { "start": { - "line": 52, + "line": 68, "column": 1 }, "end": { - "line": 52, + "line": 68, "column": 7 } } @@ -12280,15 +14976,15 @@ "binop": null }, "value": "first", - "start": 982, - "end": 987, + "start": 1274, + "end": 1279, "loc": { "start": { - "line": 52, + "line": 68, "column": 8 }, "end": { - "line": 52, + "line": 68, "column": 13 } } @@ -12306,15 +15002,15 @@ "binop": null, "updateContext": null }, - "start": 987, - "end": 988, + "start": 1279, + "end": 1280, "loc": { "start": { - "line": 52, + "line": 68, "column": 13 }, "end": { - "line": 52, + "line": 68, "column": 14 } } @@ -12331,16 +15027,16 @@ "postfix": false, "binop": null }, - "value": "ipow", - "start": 988, - "end": 992, + "value": "imod", + "start": 1280, + "end": 1284, "loc": { "start": { - "line": 52, + "line": 68, "column": 14 }, "end": { - "line": 52, + "line": 68, "column": 18 } } @@ -12357,15 +15053,15 @@ "postfix": false, "binop": null }, - "start": 992, - "end": 993, + "start": 1284, + "end": 1285, "loc": { "start": { - "line": 52, + "line": 68, "column": 18 }, "end": { - "line": 52, + "line": 68, "column": 19 } } @@ -12383,15 +15079,15 @@ "binop": null }, "value": "second", - "start": 993, - "end": 999, + "start": 1285, + "end": 1291, "loc": { "start": { - "line": 52, + "line": 68, "column": 19 }, "end": { - "line": 52, + "line": 68, "column": 25 } } @@ -12408,15 +15104,15 @@ "postfix": false, "binop": null }, - "start": 999, - "end": 1000, + "start": 1291, + "end": 1292, "loc": { "start": { - "line": 52, + "line": 68, "column": 25 }, "end": { - "line": 52, + "line": 68, "column": 26 } } @@ -12434,15 +15130,15 @@ "binop": null, "updateContext": null }, - "start": 1001, - "end": 1002, + "start": 1293, + "end": 1294, "loc": { "start": { - "line": 52, + "line": 68, "column": 27 }, "end": { - "line": 52, + "line": 68, "column": 28 } } @@ -12459,15 +15155,15 @@ "postfix": false, "binop": null }, - "start": 1003, - "end": 1004, + "start": 1295, + "end": 1296, "loc": { "start": { - "line": 53, + "line": 69, "column": 0 }, "end": { - "line": 53, + "line": 69, "column": 1 } } @@ -12487,15 +15183,15 @@ "updateContext": null }, "value": "export", - "start": 1006, - "end": 1012, + "start": 1298, + "end": 1304, "loc": { "start": { - "line": 55, + "line": 71, "column": 0 }, "end": { - "line": 55, + "line": 71, "column": 6 } } @@ -12514,15 +15210,15 @@ "binop": null }, "value": "function", - "start": 1013, - "end": 1021, + "start": 1305, + "end": 1313, "loc": { "start": { - "line": 55, + "line": 71, "column": 7 }, "end": { - "line": 55, + "line": 71, "column": 15 } } @@ -12539,17 +15235,17 @@ "postfix": false, "binop": null }, - "value": "div", - "start": 1022, - "end": 1025, + "value": "divmod", + "start": 1314, + "end": 1320, "loc": { "start": { - "line": 55, + "line": 71, "column": 16 }, "end": { - "line": 55, - "column": 19 + "line": 71, + "column": 22 } } }, @@ -12565,16 +15261,16 @@ "postfix": false, "binop": null }, - "start": 1026, - "end": 1027, + "start": 1321, + "end": 1322, "loc": { "start": { - "line": 55, - "column": 20 + "line": 71, + "column": 23 }, "end": { - "line": 55, - "column": 21 + "line": 71, + "column": 24 } } }, @@ -12591,16 +15287,16 @@ "binop": null }, "value": "first", - "start": 1028, - "end": 1033, + "start": 1323, + "end": 1328, "loc": { "start": { - "line": 55, - "column": 22 + "line": 71, + "column": 25 }, "end": { - "line": 55, - "column": 27 + "line": 71, + "column": 30 } } }, @@ -12617,16 +15313,16 @@ "binop": null, "updateContext": null }, - "start": 1034, - "end": 1035, + "start": 1329, + "end": 1330, "loc": { "start": { - "line": 55, - "column": 28 + "line": 71, + "column": 31 }, "end": { - "line": 55, - "column": 29 + "line": 71, + "column": 32 } } }, @@ -12643,16 +15339,16 @@ "binop": null }, "value": "second", - "start": 1036, - "end": 1042, + "start": 1331, + "end": 1337, "loc": { "start": { - "line": 55, - "column": 30 + "line": 71, + "column": 33 }, "end": { - "line": 55, - "column": 36 + "line": 71, + "column": 39 } } }, @@ -12668,16 +15364,16 @@ "postfix": false, "binop": null }, - "start": 1043, - "end": 1044, + "start": 1338, + "end": 1339, "loc": { "start": { - "line": 55, - "column": 37 + "line": 71, + "column": 40 }, "end": { - "line": 55, - "column": 38 + "line": 71, + "column": 41 } } }, @@ -12693,16 +15389,16 @@ "postfix": false, "binop": null }, - "start": 1045, - "end": 1046, + "start": 1340, + "end": 1341, "loc": { "start": { - "line": 55, - "column": 39 + "line": 71, + "column": 42 }, "end": { - "line": 55, - "column": 40 + "line": 71, + "column": 43 } } }, @@ -12721,15 +15417,15 @@ "updateContext": null }, "value": "return", - "start": 1048, - "end": 1054, + "start": 1343, + "end": 1349, "loc": { "start": { - "line": 56, + "line": 72, "column": 1 }, "end": { - "line": 56, + "line": 72, "column": 7 } } @@ -12747,15 +15443,15 @@ "binop": null }, "value": "first", - "start": 1055, - "end": 1060, + "start": 1350, + "end": 1355, "loc": { "start": { - "line": 56, + "line": 72, "column": 8 }, "end": { - "line": 56, + "line": 72, "column": 13 } } @@ -12773,15 +15469,15 @@ "binop": null, "updateContext": null }, - "start": 1060, - "end": 1061, + "start": 1355, + "end": 1356, "loc": { "start": { - "line": 56, + "line": 72, "column": 13 }, "end": { - "line": 56, + "line": 72, "column": 14 } } @@ -12798,17 +15494,17 @@ "postfix": false, "binop": null }, - "value": "div", - "start": 1061, - "end": 1064, + "value": "divmod", + "start": 1356, + "end": 1362, "loc": { "start": { - "line": 56, + "line": 72, "column": 14 }, "end": { - "line": 56, - "column": 17 + "line": 72, + "column": 20 } } }, @@ -12824,16 +15520,16 @@ "postfix": false, "binop": null }, - "start": 1064, - "end": 1065, + "start": 1362, + "end": 1363, "loc": { "start": { - "line": 56, - "column": 17 + "line": 72, + "column": 20 }, "end": { - "line": 56, - "column": 18 + "line": 72, + "column": 21 } } }, @@ -12850,16 +15546,16 @@ "binop": null }, "value": "second", - "start": 1065, - "end": 1071, + "start": 1363, + "end": 1369, "loc": { "start": { - "line": 56, - "column": 18 + "line": 72, + "column": 21 }, "end": { - "line": 56, - "column": 24 + "line": 72, + "column": 27 } } }, @@ -12875,16 +15571,16 @@ "postfix": false, "binop": null }, - "start": 1071, - "end": 1072, + "start": 1369, + "end": 1370, "loc": { "start": { - "line": 56, - "column": 24 + "line": 72, + "column": 27 }, "end": { - "line": 56, - "column": 25 + "line": 72, + "column": 28 } } }, @@ -12901,16 +15597,16 @@ "binop": null, "updateContext": null }, - "start": 1073, - "end": 1074, + "start": 1371, + "end": 1372, "loc": { "start": { - "line": 56, - "column": 26 + "line": 72, + "column": 29 }, "end": { - "line": 56, - "column": 27 + "line": 72, + "column": 30 } } }, @@ -12926,15 +15622,15 @@ "postfix": false, "binop": null }, - "start": 1075, - "end": 1076, + "start": 1373, + "end": 1374, "loc": { "start": { - "line": 57, + "line": 73, "column": 0 }, "end": { - "line": 57, + "line": 73, "column": 1 } } @@ -12954,15 +15650,15 @@ "updateContext": null }, "value": "export", - "start": 1078, - "end": 1084, + "start": 1376, + "end": 1382, "loc": { "start": { - "line": 59, + "line": 75, "column": 0 }, "end": { - "line": 59, + "line": 75, "column": 6 } } @@ -12981,15 +15677,15 @@ "binop": null }, "value": "function", - "start": 1085, - "end": 1093, + "start": 1383, + "end": 1391, "loc": { "start": { - "line": 59, + "line": 75, "column": 7 }, "end": { - "line": 59, + "line": 75, "column": 15 } } @@ -13006,17 +15702,17 @@ "postfix": false, "binop": null }, - "value": "idiv", - "start": 1094, - "end": 1098, + "value": "idivmod", + "start": 1392, + "end": 1399, "loc": { "start": { - "line": 59, + "line": 75, "column": 16 }, "end": { - "line": 59, - "column": 20 + "line": 75, + "column": 23 } } }, @@ -13032,16 +15728,16 @@ "postfix": false, "binop": null }, - "start": 1099, - "end": 1100, + "start": 1400, + "end": 1401, "loc": { "start": { - "line": 59, - "column": 21 + "line": 75, + "column": 24 }, "end": { - "line": 59, - "column": 22 + "line": 75, + "column": 25 } } }, @@ -13058,16 +15754,16 @@ "binop": null }, "value": "first", - "start": 1101, - "end": 1106, + "start": 1402, + "end": 1407, "loc": { "start": { - "line": 59, - "column": 23 + "line": 75, + "column": 26 }, "end": { - "line": 59, - "column": 28 + "line": 75, + "column": 31 } } }, @@ -13084,16 +15780,16 @@ "binop": null, "updateContext": null }, - "start": 1107, - "end": 1108, + "start": 1408, + "end": 1409, "loc": { "start": { - "line": 59, - "column": 29 + "line": 75, + "column": 32 }, "end": { - "line": 59, - "column": 30 + "line": 75, + "column": 33 } } }, @@ -13110,16 +15806,16 @@ "binop": null }, "value": "second", - "start": 1109, - "end": 1115, + "start": 1410, + "end": 1416, "loc": { "start": { - "line": 59, - "column": 31 + "line": 75, + "column": 34 }, "end": { - "line": 59, - "column": 37 + "line": 75, + "column": 40 } } }, @@ -13135,16 +15831,16 @@ "postfix": false, "binop": null }, - "start": 1116, - "end": 1117, + "start": 1417, + "end": 1418, "loc": { "start": { - "line": 59, - "column": 38 + "line": 75, + "column": 41 }, "end": { - "line": 59, - "column": 39 + "line": 75, + "column": 42 } } }, @@ -13160,16 +15856,16 @@ "postfix": false, "binop": null }, - "start": 1118, - "end": 1119, + "start": 1419, + "end": 1420, "loc": { "start": { - "line": 59, - "column": 40 + "line": 75, + "column": 43 }, "end": { - "line": 59, - "column": 41 + "line": 75, + "column": 44 } } }, @@ -13188,15 +15884,15 @@ "updateContext": null }, "value": "return", - "start": 1121, - "end": 1127, + "start": 1422, + "end": 1428, "loc": { "start": { - "line": 60, + "line": 76, "column": 1 }, "end": { - "line": 60, + "line": 76, "column": 7 } } @@ -13214,15 +15910,15 @@ "binop": null }, "value": "first", - "start": 1128, - "end": 1133, + "start": 1429, + "end": 1434, "loc": { "start": { - "line": 60, + "line": 76, "column": 8 }, "end": { - "line": 60, + "line": 76, "column": 13 } } @@ -13240,15 +15936,15 @@ "binop": null, "updateContext": null }, - "start": 1133, - "end": 1134, + "start": 1434, + "end": 1435, "loc": { "start": { - "line": 60, + "line": 76, "column": 13 }, "end": { - "line": 60, + "line": 76, "column": 14 } } @@ -13265,17 +15961,17 @@ "postfix": false, "binop": null }, - "value": "idiv", - "start": 1134, - "end": 1138, + "value": "idivmod", + "start": 1435, + "end": 1442, "loc": { "start": { - "line": 60, + "line": 76, "column": 14 }, "end": { - "line": 60, - "column": 18 + "line": 76, + "column": 21 } } }, @@ -13291,16 +15987,16 @@ "postfix": false, "binop": null }, - "start": 1138, - "end": 1139, + "start": 1442, + "end": 1443, "loc": { "start": { - "line": 60, - "column": 18 + "line": 76, + "column": 21 }, "end": { - "line": 60, - "column": 19 + "line": 76, + "column": 22 } } }, @@ -13317,16 +16013,16 @@ "binop": null }, "value": "second", - "start": 1139, - "end": 1145, + "start": 1443, + "end": 1449, "loc": { "start": { - "line": 60, - "column": 19 + "line": 76, + "column": 22 }, "end": { - "line": 60, - "column": 25 + "line": 76, + "column": 28 } } }, @@ -13342,16 +16038,16 @@ "postfix": false, "binop": null }, - "start": 1145, - "end": 1146, + "start": 1449, + "end": 1450, "loc": { "start": { - "line": 60, - "column": 25 + "line": 76, + "column": 28 }, "end": { - "line": 60, - "column": 26 + "line": 76, + "column": 29 } } }, @@ -13368,16 +16064,16 @@ "binop": null, "updateContext": null }, - "start": 1147, - "end": 1148, + "start": 1451, + "end": 1452, "loc": { "start": { - "line": 60, - "column": 27 + "line": 76, + "column": 30 }, "end": { - "line": 60, - "column": 28 + "line": 76, + "column": 31 } } }, @@ -13393,15 +16089,15 @@ "postfix": false, "binop": null }, - "start": 1149, - "end": 1150, + "start": 1453, + "end": 1454, "loc": { "start": { - "line": 61, + "line": 77, "column": 0 }, "end": { - "line": 61, + "line": 77, "column": 1 } } @@ -13421,15 +16117,15 @@ "updateContext": null }, "value": "export", - "start": 1152, - "end": 1158, + "start": 1456, + "end": 1462, "loc": { "start": { - "line": 63, + "line": 79, "column": 0 }, "end": { - "line": 63, + "line": 79, "column": 6 } } @@ -13448,15 +16144,15 @@ "binop": null }, "value": "function", - "start": 1159, - "end": 1167, + "start": 1463, + "end": 1471, "loc": { "start": { - "line": 63, + "line": 79, "column": 7 }, "end": { - "line": 63, + "line": 79, "column": 15 } } @@ -13473,17 +16169,17 @@ "postfix": false, "binop": null }, - "value": "mod", - "start": 1168, - "end": 1171, + "value": "addn", + "start": 1472, + "end": 1476, "loc": { "start": { - "line": 63, + "line": 79, "column": 16 }, "end": { - "line": 63, - "column": 19 + "line": 79, + "column": 20 } } }, @@ -13499,16 +16195,16 @@ "postfix": false, "binop": null }, - "start": 1172, - "end": 1173, + "start": 1477, + "end": 1478, "loc": { "start": { - "line": 63, - "column": 20 + "line": 79, + "column": 21 }, "end": { - "line": 63, - "column": 21 + "line": 79, + "column": 22 } } }, @@ -13525,16 +16221,16 @@ "binop": null }, "value": "first", - "start": 1174, - "end": 1179, + "start": 1479, + "end": 1484, "loc": { "start": { - "line": 63, - "column": 22 + "line": 79, + "column": 23 }, "end": { - "line": 63, - "column": 27 + "line": 79, + "column": 28 } } }, @@ -13551,16 +16247,16 @@ "binop": null, "updateContext": null }, - "start": 1180, - "end": 1181, + "start": 1485, + "end": 1486, "loc": { "start": { - "line": 63, - "column": 28 + "line": 79, + "column": 29 }, "end": { - "line": 63, - "column": 29 + "line": 79, + "column": 30 } } }, @@ -13577,16 +16273,16 @@ "binop": null }, "value": "second", - "start": 1182, - "end": 1188, + "start": 1487, + "end": 1493, "loc": { "start": { - "line": 63, - "column": 30 + "line": 79, + "column": 31 }, "end": { - "line": 63, - "column": 36 + "line": 79, + "column": 37 } } }, @@ -13602,16 +16298,16 @@ "postfix": false, "binop": null }, - "start": 1189, - "end": 1190, + "start": 1494, + "end": 1495, "loc": { "start": { - "line": 63, - "column": 37 + "line": 79, + "column": 38 }, "end": { - "line": 63, - "column": 38 + "line": 79, + "column": 39 } } }, @@ -13627,16 +16323,16 @@ "postfix": false, "binop": null }, - "start": 1191, - "end": 1192, + "start": 1496, + "end": 1497, "loc": { "start": { - "line": 63, - "column": 39 + "line": 79, + "column": 40 }, "end": { - "line": 63, - "column": 40 + "line": 79, + "column": 41 } } }, @@ -13655,15 +16351,15 @@ "updateContext": null }, "value": "return", - "start": 1194, - "end": 1200, + "start": 1499, + "end": 1505, "loc": { "start": { - "line": 64, + "line": 80, "column": 1 }, "end": { - "line": 64, + "line": 80, "column": 7 } } @@ -13681,15 +16377,15 @@ "binop": null }, "value": "first", - "start": 1201, - "end": 1206, + "start": 1506, + "end": 1511, "loc": { "start": { - "line": 64, + "line": 80, "column": 8 }, "end": { - "line": 64, + "line": 80, "column": 13 } } @@ -13707,15 +16403,15 @@ "binop": null, "updateContext": null }, - "start": 1206, - "end": 1207, + "start": 1511, + "end": 1512, "loc": { "start": { - "line": 64, + "line": 80, "column": 13 }, "end": { - "line": 64, + "line": 80, "column": 14 } } @@ -13732,17 +16428,17 @@ "postfix": false, "binop": null }, - "value": "mod", - "start": 1207, - "end": 1210, + "value": "addn", + "start": 1512, + "end": 1516, "loc": { "start": { - "line": 64, + "line": 80, "column": 14 }, "end": { - "line": 64, - "column": 17 + "line": 80, + "column": 18 } } }, @@ -13758,16 +16454,16 @@ "postfix": false, "binop": null }, - "start": 1210, - "end": 1211, + "start": 1516, + "end": 1517, "loc": { "start": { - "line": 64, - "column": 17 + "line": 80, + "column": 18 }, "end": { - "line": 64, - "column": 18 + "line": 80, + "column": 19 } } }, @@ -13784,16 +16480,16 @@ "binop": null }, "value": "second", - "start": 1211, - "end": 1217, + "start": 1517, + "end": 1523, "loc": { "start": { - "line": 64, - "column": 18 + "line": 80, + "column": 19 }, "end": { - "line": 64, - "column": 24 + "line": 80, + "column": 25 } } }, @@ -13809,16 +16505,16 @@ "postfix": false, "binop": null }, - "start": 1217, - "end": 1218, + "start": 1523, + "end": 1524, "loc": { "start": { - "line": 64, - "column": 24 + "line": 80, + "column": 25 }, "end": { - "line": 64, - "column": 25 + "line": 80, + "column": 26 } } }, @@ -13835,16 +16531,16 @@ "binop": null, "updateContext": null }, - "start": 1219, - "end": 1220, + "start": 1525, + "end": 1526, "loc": { "start": { - "line": 64, - "column": 26 + "line": 80, + "column": 27 }, "end": { - "line": 64, - "column": 27 + "line": 80, + "column": 28 } } }, @@ -13860,15 +16556,15 @@ "postfix": false, "binop": null }, - "start": 1221, - "end": 1222, + "start": 1527, + "end": 1528, "loc": { "start": { - "line": 65, + "line": 81, "column": 0 }, "end": { - "line": 65, + "line": 81, "column": 1 } } @@ -13888,15 +16584,15 @@ "updateContext": null }, "value": "export", - "start": 1224, - "end": 1230, + "start": 1530, + "end": 1536, "loc": { "start": { - "line": 67, + "line": 83, "column": 0 }, "end": { - "line": 67, + "line": 83, "column": 6 } } @@ -13915,15 +16611,15 @@ "binop": null }, "value": "function", - "start": 1231, - "end": 1239, + "start": 1537, + "end": 1545, "loc": { "start": { - "line": 67, + "line": 83, "column": 7 }, "end": { - "line": 67, + "line": 83, "column": 15 } } @@ -13940,17 +16636,17 @@ "postfix": false, "binop": null }, - "value": "imod", - "start": 1240, - "end": 1244, + "value": "iaddn", + "start": 1546, + "end": 1551, "loc": { "start": { - "line": 67, + "line": 83, "column": 16 }, "end": { - "line": 67, - "column": 20 + "line": 83, + "column": 21 } } }, @@ -13966,16 +16662,16 @@ "postfix": false, "binop": null }, - "start": 1245, - "end": 1246, + "start": 1552, + "end": 1553, "loc": { "start": { - "line": 67, - "column": 21 + "line": 83, + "column": 22 }, "end": { - "line": 67, - "column": 22 + "line": 83, + "column": 23 } } }, @@ -13992,16 +16688,16 @@ "binop": null }, "value": "first", - "start": 1247, - "end": 1252, + "start": 1554, + "end": 1559, "loc": { "start": { - "line": 67, - "column": 23 + "line": 83, + "column": 24 }, "end": { - "line": 67, - "column": 28 + "line": 83, + "column": 29 } } }, @@ -14018,16 +16714,16 @@ "binop": null, "updateContext": null }, - "start": 1253, - "end": 1254, + "start": 1560, + "end": 1561, "loc": { "start": { - "line": 67, - "column": 29 + "line": 83, + "column": 30 }, "end": { - "line": 67, - "column": 30 + "line": 83, + "column": 31 } } }, @@ -14044,16 +16740,16 @@ "binop": null }, "value": "second", - "start": 1255, - "end": 1261, + "start": 1562, + "end": 1568, "loc": { "start": { - "line": 67, - "column": 31 + "line": 83, + "column": 32 }, "end": { - "line": 67, - "column": 37 + "line": 83, + "column": 38 } } }, @@ -14069,16 +16765,16 @@ "postfix": false, "binop": null }, - "start": 1262, - "end": 1263, + "start": 1569, + "end": 1570, "loc": { "start": { - "line": 67, - "column": 38 + "line": 83, + "column": 39 }, "end": { - "line": 67, - "column": 39 + "line": 83, + "column": 40 } } }, @@ -14094,16 +16790,16 @@ "postfix": false, "binop": null }, - "start": 1264, - "end": 1265, + "start": 1571, + "end": 1572, "loc": { "start": { - "line": 67, - "column": 40 + "line": 83, + "column": 41 }, "end": { - "line": 67, - "column": 41 + "line": 83, + "column": 42 } } }, @@ -14122,15 +16818,15 @@ "updateContext": null }, "value": "return", - "start": 1267, - "end": 1273, + "start": 1574, + "end": 1580, "loc": { "start": { - "line": 68, + "line": 84, "column": 1 }, "end": { - "line": 68, + "line": 84, "column": 7 } } @@ -14148,15 +16844,15 @@ "binop": null }, "value": "first", - "start": 1274, - "end": 1279, + "start": 1581, + "end": 1586, "loc": { "start": { - "line": 68, + "line": 84, "column": 8 }, "end": { - "line": 68, + "line": 84, "column": 13 } } @@ -14174,15 +16870,15 @@ "binop": null, "updateContext": null }, - "start": 1279, - "end": 1280, + "start": 1586, + "end": 1587, "loc": { "start": { - "line": 68, + "line": 84, "column": 13 }, "end": { - "line": 68, + "line": 84, "column": 14 } } @@ -14199,17 +16895,17 @@ "postfix": false, "binop": null }, - "value": "imod", - "start": 1280, - "end": 1284, + "value": "iaddn", + "start": 1587, + "end": 1592, "loc": { "start": { - "line": 68, + "line": 84, "column": 14 }, "end": { - "line": 68, - "column": 18 + "line": 84, + "column": 19 } } }, @@ -14225,16 +16921,16 @@ "postfix": false, "binop": null }, - "start": 1284, - "end": 1285, + "start": 1592, + "end": 1593, "loc": { "start": { - "line": 68, - "column": 18 + "line": 84, + "column": 19 }, "end": { - "line": 68, - "column": 19 + "line": 84, + "column": 20 } } }, @@ -14251,16 +16947,16 @@ "binop": null }, "value": "second", - "start": 1285, - "end": 1291, + "start": 1593, + "end": 1599, "loc": { "start": { - "line": 68, - "column": 19 + "line": 84, + "column": 20 }, "end": { - "line": 68, - "column": 25 + "line": 84, + "column": 26 } } }, @@ -14276,16 +16972,16 @@ "postfix": false, "binop": null }, - "start": 1291, - "end": 1292, + "start": 1599, + "end": 1600, "loc": { "start": { - "line": 68, - "column": 25 + "line": 84, + "column": 26 }, "end": { - "line": 68, - "column": 26 + "line": 84, + "column": 27 } } }, @@ -14302,16 +16998,16 @@ "binop": null, "updateContext": null }, - "start": 1293, - "end": 1294, + "start": 1601, + "end": 1602, "loc": { "start": { - "line": 68, - "column": 27 + "line": 84, + "column": 28 }, "end": { - "line": 68, - "column": 28 + "line": 84, + "column": 29 } } }, @@ -14327,15 +17023,15 @@ "postfix": false, "binop": null }, - "start": 1295, - "end": 1296, + "start": 1603, + "end": 1604, "loc": { "start": { - "line": 69, + "line": 85, "column": 0 }, "end": { - "line": 69, + "line": 85, "column": 1 } } @@ -14355,15 +17051,15 @@ "updateContext": null }, "value": "export", - "start": 1298, - "end": 1304, + "start": 1606, + "end": 1612, "loc": { "start": { - "line": 71, + "line": 87, "column": 0 }, "end": { - "line": 71, + "line": 87, "column": 6 } } @@ -14382,15 +17078,15 @@ "binop": null }, "value": "function", - "start": 1305, - "end": 1313, + "start": 1613, + "end": 1621, "loc": { "start": { - "line": 71, + "line": 87, "column": 7 }, "end": { - "line": 71, + "line": 87, "column": 15 } } @@ -14406,17 +17102,17 @@ "prefix": false, "postfix": false, "binop": null - }, - "value": "addn", - "start": 1314, - "end": 1318, + }, + "value": "subn", + "start": 1622, + "end": 1626, "loc": { "start": { - "line": 71, + "line": 87, "column": 16 }, "end": { - "line": 71, + "line": 87, "column": 20 } } @@ -14433,15 +17129,15 @@ "postfix": false, "binop": null }, - "start": 1319, - "end": 1320, + "start": 1627, + "end": 1628, "loc": { "start": { - "line": 71, + "line": 87, "column": 21 }, "end": { - "line": 71, + "line": 87, "column": 22 } } @@ -14459,15 +17155,15 @@ "binop": null }, "value": "first", - "start": 1321, - "end": 1326, + "start": 1629, + "end": 1634, "loc": { "start": { - "line": 71, + "line": 87, "column": 23 }, "end": { - "line": 71, + "line": 87, "column": 28 } } @@ -14485,15 +17181,15 @@ "binop": null, "updateContext": null }, - "start": 1327, - "end": 1328, + "start": 1635, + "end": 1636, "loc": { "start": { - "line": 71, + "line": 87, "column": 29 }, "end": { - "line": 71, + "line": 87, "column": 30 } } @@ -14511,15 +17207,15 @@ "binop": null }, "value": "second", - "start": 1329, - "end": 1335, + "start": 1637, + "end": 1643, "loc": { "start": { - "line": 71, + "line": 87, "column": 31 }, "end": { - "line": 71, + "line": 87, "column": 37 } } @@ -14536,15 +17232,15 @@ "postfix": false, "binop": null }, - "start": 1336, - "end": 1337, + "start": 1644, + "end": 1645, "loc": { "start": { - "line": 71, + "line": 87, "column": 38 }, "end": { - "line": 71, + "line": 87, "column": 39 } } @@ -14561,15 +17257,15 @@ "postfix": false, "binop": null }, - "start": 1338, - "end": 1339, + "start": 1646, + "end": 1647, "loc": { "start": { - "line": 71, + "line": 87, "column": 40 }, "end": { - "line": 71, + "line": 87, "column": 41 } } @@ -14589,15 +17285,15 @@ "updateContext": null }, "value": "return", - "start": 1341, - "end": 1347, + "start": 1649, + "end": 1655, "loc": { "start": { - "line": 72, + "line": 88, "column": 1 }, "end": { - "line": 72, + "line": 88, "column": 7 } } @@ -14615,15 +17311,15 @@ "binop": null }, "value": "first", - "start": 1348, - "end": 1353, + "start": 1656, + "end": 1661, "loc": { "start": { - "line": 72, + "line": 88, "column": 8 }, "end": { - "line": 72, + "line": 88, "column": 13 } } @@ -14641,15 +17337,15 @@ "binop": null, "updateContext": null }, - "start": 1353, - "end": 1354, + "start": 1661, + "end": 1662, "loc": { "start": { - "line": 72, + "line": 88, "column": 13 }, "end": { - "line": 72, + "line": 88, "column": 14 } } @@ -14666,16 +17362,16 @@ "postfix": false, "binop": null }, - "value": "addn", - "start": 1354, - "end": 1358, + "value": "subn", + "start": 1662, + "end": 1666, "loc": { "start": { - "line": 72, + "line": 88, "column": 14 }, "end": { - "line": 72, + "line": 88, "column": 18 } } @@ -14692,15 +17388,15 @@ "postfix": false, "binop": null }, - "start": 1358, - "end": 1359, + "start": 1666, + "end": 1667, "loc": { "start": { - "line": 72, + "line": 88, "column": 18 }, "end": { - "line": 72, + "line": 88, "column": 19 } } @@ -14718,15 +17414,15 @@ "binop": null }, "value": "second", - "start": 1359, - "end": 1365, + "start": 1667, + "end": 1673, "loc": { "start": { - "line": 72, + "line": 88, "column": 19 }, "end": { - "line": 72, + "line": 88, "column": 25 } } @@ -14743,15 +17439,15 @@ "postfix": false, "binop": null }, - "start": 1365, - "end": 1366, + "start": 1673, + "end": 1674, "loc": { "start": { - "line": 72, + "line": 88, "column": 25 }, "end": { - "line": 72, + "line": 88, "column": 26 } } @@ -14769,15 +17465,15 @@ "binop": null, "updateContext": null }, - "start": 1367, - "end": 1368, + "start": 1675, + "end": 1676, "loc": { "start": { - "line": 72, + "line": 88, "column": 27 }, "end": { - "line": 72, + "line": 88, "column": 28 } } @@ -14794,15 +17490,15 @@ "postfix": false, "binop": null }, - "start": 1369, - "end": 1370, + "start": 1677, + "end": 1678, "loc": { "start": { - "line": 73, + "line": 89, "column": 0 }, "end": { - "line": 73, + "line": 89, "column": 1 } } @@ -14822,15 +17518,15 @@ "updateContext": null }, "value": "export", - "start": 1372, - "end": 1378, + "start": 1680, + "end": 1686, "loc": { "start": { - "line": 75, + "line": 91, "column": 0 }, "end": { - "line": 75, + "line": 91, "column": 6 } } @@ -14849,15 +17545,15 @@ "binop": null }, "value": "function", - "start": 1379, - "end": 1387, + "start": 1687, + "end": 1695, "loc": { "start": { - "line": 75, + "line": 91, "column": 7 }, "end": { - "line": 75, + "line": 91, "column": 15 } } @@ -14874,16 +17570,16 @@ "postfix": false, "binop": null }, - "value": "iaddn", - "start": 1388, - "end": 1393, + "value": "isubn", + "start": 1696, + "end": 1701, "loc": { "start": { - "line": 75, + "line": 91, "column": 16 }, "end": { - "line": 75, + "line": 91, "column": 21 } } @@ -14900,15 +17596,15 @@ "postfix": false, "binop": null }, - "start": 1394, - "end": 1395, + "start": 1702, + "end": 1703, "loc": { "start": { - "line": 75, + "line": 91, "column": 22 }, "end": { - "line": 75, + "line": 91, "column": 23 } } @@ -14926,15 +17622,15 @@ "binop": null }, "value": "first", - "start": 1396, - "end": 1401, + "start": 1704, + "end": 1709, "loc": { "start": { - "line": 75, + "line": 91, "column": 24 }, "end": { - "line": 75, + "line": 91, "column": 29 } } @@ -14952,15 +17648,15 @@ "binop": null, "updateContext": null }, - "start": 1402, - "end": 1403, + "start": 1710, + "end": 1711, "loc": { "start": { - "line": 75, + "line": 91, "column": 30 }, "end": { - "line": 75, + "line": 91, "column": 31 } } @@ -14978,15 +17674,15 @@ "binop": null }, "value": "second", - "start": 1404, - "end": 1410, + "start": 1712, + "end": 1718, "loc": { "start": { - "line": 75, + "line": 91, "column": 32 }, "end": { - "line": 75, + "line": 91, "column": 38 } } @@ -15003,15 +17699,15 @@ "postfix": false, "binop": null }, - "start": 1411, - "end": 1412, + "start": 1719, + "end": 1720, "loc": { "start": { - "line": 75, + "line": 91, "column": 39 }, "end": { - "line": 75, + "line": 91, "column": 40 } } @@ -15028,15 +17724,15 @@ "postfix": false, "binop": null }, - "start": 1413, - "end": 1414, + "start": 1721, + "end": 1722, "loc": { "start": { - "line": 75, + "line": 91, "column": 41 }, "end": { - "line": 75, + "line": 91, "column": 42 } } @@ -15056,15 +17752,15 @@ "updateContext": null }, "value": "return", - "start": 1416, - "end": 1422, + "start": 1724, + "end": 1730, "loc": { "start": { - "line": 76, + "line": 92, "column": 1 }, "end": { - "line": 76, + "line": 92, "column": 7 } } @@ -15082,15 +17778,15 @@ "binop": null }, "value": "first", - "start": 1423, - "end": 1428, + "start": 1731, + "end": 1736, "loc": { "start": { - "line": 76, + "line": 92, "column": 8 }, "end": { - "line": 76, + "line": 92, "column": 13 } } @@ -15108,15 +17804,15 @@ "binop": null, "updateContext": null }, - "start": 1428, - "end": 1429, + "start": 1736, + "end": 1737, "loc": { "start": { - "line": 76, + "line": 92, "column": 13 }, "end": { - "line": 76, + "line": 92, "column": 14 } } @@ -15133,16 +17829,16 @@ "postfix": false, "binop": null }, - "value": "iaddn", - "start": 1429, - "end": 1434, + "value": "isubn", + "start": 1737, + "end": 1742, "loc": { "start": { - "line": 76, + "line": 92, "column": 14 }, "end": { - "line": 76, + "line": 92, "column": 19 } } @@ -15159,15 +17855,15 @@ "postfix": false, "binop": null }, - "start": 1434, - "end": 1435, + "start": 1742, + "end": 1743, "loc": { "start": { - "line": 76, + "line": 92, "column": 19 }, "end": { - "line": 76, + "line": 92, "column": 20 } } @@ -15185,15 +17881,15 @@ "binop": null }, "value": "second", - "start": 1435, - "end": 1441, + "start": 1743, + "end": 1749, "loc": { "start": { - "line": 76, + "line": 92, "column": 20 }, "end": { - "line": 76, + "line": 92, "column": 26 } } @@ -15210,15 +17906,15 @@ "postfix": false, "binop": null }, - "start": 1441, - "end": 1442, + "start": 1749, + "end": 1750, "loc": { "start": { - "line": 76, + "line": 92, "column": 26 }, "end": { - "line": 76, + "line": 92, "column": 27 } } @@ -15236,15 +17932,15 @@ "binop": null, "updateContext": null }, - "start": 1443, - "end": 1444, + "start": 1751, + "end": 1752, "loc": { "start": { - "line": 76, + "line": 92, "column": 28 }, "end": { - "line": 76, + "line": 92, "column": 29 } } @@ -15261,15 +17957,15 @@ "postfix": false, "binop": null }, - "start": 1445, - "end": 1446, + "start": 1753, + "end": 1754, "loc": { "start": { - "line": 77, + "line": 93, "column": 0 }, "end": { - "line": 77, + "line": 93, "column": 1 } } @@ -15289,15 +17985,15 @@ "updateContext": null }, "value": "export", - "start": 1448, - "end": 1454, + "start": 1756, + "end": 1762, "loc": { "start": { - "line": 79, + "line": 95, "column": 0 }, "end": { - "line": 79, + "line": 95, "column": 6 } } @@ -15316,15 +18012,15 @@ "binop": null }, "value": "function", - "start": 1455, - "end": 1463, + "start": 1763, + "end": 1771, "loc": { "start": { - "line": 79, + "line": 95, "column": 7 }, "end": { - "line": 79, + "line": 95, "column": 15 } } @@ -15341,16 +18037,16 @@ "postfix": false, "binop": null }, - "value": "subn", - "start": 1464, - "end": 1468, + "value": "muln", + "start": 1772, + "end": 1776, "loc": { "start": { - "line": 79, + "line": 95, "column": 16 }, "end": { - "line": 79, + "line": 95, "column": 20 } } @@ -15367,15 +18063,15 @@ "postfix": false, "binop": null }, - "start": 1469, - "end": 1470, + "start": 1777, + "end": 1778, "loc": { "start": { - "line": 79, + "line": 95, "column": 21 }, "end": { - "line": 79, + "line": 95, "column": 22 } } @@ -15393,15 +18089,15 @@ "binop": null }, "value": "first", - "start": 1471, - "end": 1476, + "start": 1779, + "end": 1784, "loc": { "start": { - "line": 79, + "line": 95, "column": 23 }, "end": { - "line": 79, + "line": 95, "column": 28 } } @@ -15419,15 +18115,15 @@ "binop": null, "updateContext": null }, - "start": 1477, - "end": 1478, + "start": 1785, + "end": 1786, "loc": { "start": { - "line": 79, + "line": 95, "column": 29 }, "end": { - "line": 79, + "line": 95, "column": 30 } } @@ -15445,15 +18141,15 @@ "binop": null }, "value": "second", - "start": 1479, - "end": 1485, + "start": 1787, + "end": 1793, "loc": { "start": { - "line": 79, + "line": 95, "column": 31 }, "end": { - "line": 79, + "line": 95, "column": 37 } } @@ -15470,15 +18166,15 @@ "postfix": false, "binop": null }, - "start": 1486, - "end": 1487, + "start": 1794, + "end": 1795, "loc": { "start": { - "line": 79, + "line": 95, "column": 38 }, "end": { - "line": 79, + "line": 95, "column": 39 } } @@ -15495,15 +18191,15 @@ "postfix": false, "binop": null }, - "start": 1488, - "end": 1489, + "start": 1796, + "end": 1797, "loc": { "start": { - "line": 79, + "line": 95, "column": 40 }, "end": { - "line": 79, + "line": 95, "column": 41 } } @@ -15523,15 +18219,15 @@ "updateContext": null }, "value": "return", - "start": 1491, - "end": 1497, + "start": 1799, + "end": 1805, "loc": { "start": { - "line": 80, + "line": 96, "column": 1 }, "end": { - "line": 80, + "line": 96, "column": 7 } } @@ -15549,15 +18245,15 @@ "binop": null }, "value": "first", - "start": 1498, - "end": 1503, + "start": 1806, + "end": 1811, "loc": { "start": { - "line": 80, + "line": 96, "column": 8 }, "end": { - "line": 80, + "line": 96, "column": 13 } } @@ -15575,15 +18271,15 @@ "binop": null, "updateContext": null }, - "start": 1503, - "end": 1504, + "start": 1811, + "end": 1812, "loc": { "start": { - "line": 80, + "line": 96, "column": 13 }, "end": { - "line": 80, + "line": 96, "column": 14 } } @@ -15600,16 +18296,16 @@ "postfix": false, "binop": null }, - "value": "subn", - "start": 1504, - "end": 1508, + "value": "muln", + "start": 1812, + "end": 1816, "loc": { "start": { - "line": 80, + "line": 96, "column": 14 }, "end": { - "line": 80, + "line": 96, "column": 18 } } @@ -15626,15 +18322,15 @@ "postfix": false, "binop": null }, - "start": 1508, - "end": 1509, + "start": 1816, + "end": 1817, "loc": { "start": { - "line": 80, + "line": 96, "column": 18 }, "end": { - "line": 80, + "line": 96, "column": 19 } } @@ -15652,15 +18348,15 @@ "binop": null }, "value": "second", - "start": 1509, - "end": 1515, + "start": 1817, + "end": 1823, "loc": { "start": { - "line": 80, + "line": 96, "column": 19 }, "end": { - "line": 80, + "line": 96, "column": 25 } } @@ -15677,15 +18373,15 @@ "postfix": false, "binop": null }, - "start": 1515, - "end": 1516, + "start": 1823, + "end": 1824, "loc": { "start": { - "line": 80, + "line": 96, "column": 25 }, "end": { - "line": 80, + "line": 96, "column": 26 } } @@ -15703,15 +18399,15 @@ "binop": null, "updateContext": null }, - "start": 1517, - "end": 1518, + "start": 1825, + "end": 1826, "loc": { "start": { - "line": 80, + "line": 96, "column": 27 }, "end": { - "line": 80, + "line": 96, "column": 28 } } @@ -15728,15 +18424,15 @@ "postfix": false, "binop": null }, - "start": 1519, - "end": 1520, + "start": 1827, + "end": 1828, "loc": { "start": { - "line": 81, + "line": 97, "column": 0 }, "end": { - "line": 81, + "line": 97, "column": 1 } } @@ -15756,15 +18452,15 @@ "updateContext": null }, "value": "export", - "start": 1522, - "end": 1528, + "start": 1830, + "end": 1836, "loc": { "start": { - "line": 83, + "line": 99, "column": 0 }, "end": { - "line": 83, + "line": 99, "column": 6 } } @@ -15783,15 +18479,15 @@ "binop": null }, "value": "function", - "start": 1529, - "end": 1537, + "start": 1837, + "end": 1845, "loc": { "start": { - "line": 83, + "line": 99, "column": 7 }, "end": { - "line": 83, + "line": 99, "column": 15 } } @@ -15808,16 +18504,16 @@ "postfix": false, "binop": null }, - "value": "isubn", - "start": 1538, - "end": 1543, + "value": "imuln", + "start": 1846, + "end": 1851, "loc": { "start": { - "line": 83, + "line": 99, "column": 16 }, "end": { - "line": 83, + "line": 99, "column": 21 } } @@ -15834,15 +18530,15 @@ "postfix": false, "binop": null }, - "start": 1544, - "end": 1545, + "start": 1852, + "end": 1853, "loc": { "start": { - "line": 83, + "line": 99, "column": 22 }, "end": { - "line": 83, + "line": 99, "column": 23 } } @@ -15860,15 +18556,15 @@ "binop": null }, "value": "first", - "start": 1546, - "end": 1551, + "start": 1854, + "end": 1859, "loc": { "start": { - "line": 83, + "line": 99, "column": 24 }, "end": { - "line": 83, + "line": 99, "column": 29 } } @@ -15886,15 +18582,15 @@ "binop": null, "updateContext": null }, - "start": 1552, - "end": 1553, + "start": 1860, + "end": 1861, "loc": { "start": { - "line": 83, + "line": 99, "column": 30 }, "end": { - "line": 83, + "line": 99, "column": 31 } } @@ -15912,15 +18608,15 @@ "binop": null }, "value": "second", - "start": 1554, - "end": 1560, + "start": 1862, + "end": 1868, "loc": { "start": { - "line": 83, + "line": 99, "column": 32 }, "end": { - "line": 83, + "line": 99, "column": 38 } } @@ -15937,15 +18633,15 @@ "postfix": false, "binop": null }, - "start": 1561, - "end": 1562, + "start": 1869, + "end": 1870, "loc": { "start": { - "line": 83, + "line": 99, "column": 39 }, "end": { - "line": 83, + "line": 99, "column": 40 } } @@ -15962,15 +18658,15 @@ "postfix": false, "binop": null }, - "start": 1563, - "end": 1564, + "start": 1871, + "end": 1872, "loc": { "start": { - "line": 83, + "line": 99, "column": 41 }, "end": { - "line": 83, + "line": 99, "column": 42 } } @@ -15990,15 +18686,15 @@ "updateContext": null }, "value": "return", - "start": 1566, - "end": 1572, + "start": 1874, + "end": 1880, "loc": { "start": { - "line": 84, + "line": 100, "column": 1 }, "end": { - "line": 84, + "line": 100, "column": 7 } } @@ -16016,15 +18712,15 @@ "binop": null }, "value": "first", - "start": 1573, - "end": 1578, + "start": 1881, + "end": 1886, "loc": { "start": { - "line": 84, + "line": 100, "column": 8 }, "end": { - "line": 84, + "line": 100, "column": 13 } } @@ -16042,15 +18738,15 @@ "binop": null, "updateContext": null }, - "start": 1578, - "end": 1579, + "start": 1886, + "end": 1887, "loc": { "start": { - "line": 84, + "line": 100, "column": 13 }, "end": { - "line": 84, + "line": 100, "column": 14 } } @@ -16067,16 +18763,16 @@ "postfix": false, "binop": null }, - "value": "isubn", - "start": 1579, - "end": 1584, + "value": "imuln", + "start": 1887, + "end": 1892, "loc": { "start": { - "line": 84, + "line": 100, "column": 14 }, "end": { - "line": 84, + "line": 100, "column": 19 } } @@ -16093,15 +18789,15 @@ "postfix": false, "binop": null }, - "start": 1584, - "end": 1585, + "start": 1892, + "end": 1893, "loc": { "start": { - "line": 84, + "line": 100, "column": 19 }, "end": { - "line": 84, + "line": 100, "column": 20 } } @@ -16119,15 +18815,15 @@ "binop": null }, "value": "second", - "start": 1585, - "end": 1591, + "start": 1893, + "end": 1899, "loc": { "start": { - "line": 84, + "line": 100, "column": 20 }, "end": { - "line": 84, + "line": 100, "column": 26 } } @@ -16144,15 +18840,15 @@ "postfix": false, "binop": null }, - "start": 1591, - "end": 1592, + "start": 1899, + "end": 1900, "loc": { "start": { - "line": 84, + "line": 100, "column": 26 }, "end": { - "line": 84, + "line": 100, "column": 27 } } @@ -16170,15 +18866,15 @@ "binop": null, "updateContext": null }, - "start": 1593, - "end": 1594, + "start": 1901, + "end": 1902, "loc": { "start": { - "line": 84, + "line": 100, "column": 28 }, "end": { - "line": 84, + "line": 100, "column": 29 } } @@ -16195,15 +18891,15 @@ "postfix": false, "binop": null }, - "start": 1595, - "end": 1596, + "start": 1903, + "end": 1904, "loc": { "start": { - "line": 85, + "line": 101, "column": 0 }, "end": { - "line": 85, + "line": 101, "column": 1 } } @@ -16223,15 +18919,15 @@ "updateContext": null }, "value": "export", - "start": 1598, - "end": 1604, + "start": 1906, + "end": 1912, "loc": { "start": { - "line": 87, + "line": 103, "column": 0 }, "end": { - "line": 87, + "line": 103, "column": 6 } } @@ -16250,15 +18946,15 @@ "binop": null }, "value": "function", - "start": 1605, - "end": 1613, + "start": 1913, + "end": 1921, "loc": { "start": { - "line": 87, + "line": 103, "column": 7 }, "end": { - "line": 87, + "line": 103, "column": 15 } } @@ -16275,16 +18971,16 @@ "postfix": false, "binop": null }, - "value": "muln", - "start": 1614, - "end": 1618, + "value": "pown", + "start": 1922, + "end": 1926, "loc": { "start": { - "line": 87, + "line": 103, "column": 16 }, "end": { - "line": 87, + "line": 103, "column": 20 } } @@ -16301,15 +18997,15 @@ "postfix": false, "binop": null }, - "start": 1619, - "end": 1620, + "start": 1927, + "end": 1928, "loc": { "start": { - "line": 87, + "line": 103, "column": 21 }, "end": { - "line": 87, + "line": 103, "column": 22 } } @@ -16327,15 +19023,15 @@ "binop": null }, "value": "first", - "start": 1621, - "end": 1626, + "start": 1929, + "end": 1934, "loc": { "start": { - "line": 87, + "line": 103, "column": 23 }, "end": { - "line": 87, + "line": 103, "column": 28 } } @@ -16353,15 +19049,15 @@ "binop": null, "updateContext": null }, - "start": 1627, - "end": 1628, + "start": 1935, + "end": 1936, "loc": { "start": { - "line": 87, + "line": 103, "column": 29 }, "end": { - "line": 87, + "line": 103, "column": 30 } } @@ -16379,15 +19075,15 @@ "binop": null }, "value": "second", - "start": 1629, - "end": 1635, + "start": 1937, + "end": 1943, "loc": { "start": { - "line": 87, + "line": 103, "column": 31 }, "end": { - "line": 87, + "line": 103, "column": 37 } } @@ -16404,15 +19100,15 @@ "postfix": false, "binop": null }, - "start": 1636, - "end": 1637, + "start": 1944, + "end": 1945, "loc": { "start": { - "line": 87, + "line": 103, "column": 38 }, "end": { - "line": 87, + "line": 103, "column": 39 } } @@ -16429,15 +19125,15 @@ "postfix": false, "binop": null }, - "start": 1638, - "end": 1639, + "start": 1946, + "end": 1947, "loc": { "start": { - "line": 87, + "line": 103, "column": 40 }, "end": { - "line": 87, + "line": 103, "column": 41 } } @@ -16457,15 +19153,15 @@ "updateContext": null }, "value": "return", - "start": 1641, - "end": 1647, + "start": 1949, + "end": 1955, "loc": { "start": { - "line": 88, + "line": 104, "column": 1 }, "end": { - "line": 88, + "line": 104, "column": 7 } } @@ -16483,15 +19179,15 @@ "binop": null }, "value": "first", - "start": 1648, - "end": 1653, + "start": 1956, + "end": 1961, "loc": { "start": { - "line": 88, + "line": 104, "column": 8 }, "end": { - "line": 88, + "line": 104, "column": 13 } } @@ -16509,15 +19205,15 @@ "binop": null, "updateContext": null }, - "start": 1653, - "end": 1654, + "start": 1961, + "end": 1962, "loc": { "start": { - "line": 88, + "line": 104, "column": 13 }, "end": { - "line": 88, + "line": 104, "column": 14 } } @@ -16534,16 +19230,16 @@ "postfix": false, "binop": null }, - "value": "muln", - "start": 1654, - "end": 1658, + "value": "pown", + "start": 1962, + "end": 1966, "loc": { "start": { - "line": 88, + "line": 104, "column": 14 }, "end": { - "line": 88, + "line": 104, "column": 18 } } @@ -16560,15 +19256,15 @@ "postfix": false, "binop": null }, - "start": 1658, - "end": 1659, + "start": 1966, + "end": 1967, "loc": { "start": { - "line": 88, + "line": 104, "column": 18 }, "end": { - "line": 88, + "line": 104, "column": 19 } } @@ -16586,15 +19282,15 @@ "binop": null }, "value": "second", - "start": 1659, - "end": 1665, + "start": 1967, + "end": 1973, "loc": { "start": { - "line": 88, + "line": 104, "column": 19 }, "end": { - "line": 88, + "line": 104, "column": 25 } } @@ -16611,15 +19307,15 @@ "postfix": false, "binop": null }, - "start": 1665, - "end": 1666, + "start": 1973, + "end": 1974, "loc": { "start": { - "line": 88, + "line": 104, "column": 25 }, "end": { - "line": 88, + "line": 104, "column": 26 } } @@ -16637,15 +19333,15 @@ "binop": null, "updateContext": null }, - "start": 1667, - "end": 1668, + "start": 1975, + "end": 1976, "loc": { "start": { - "line": 88, + "line": 104, "column": 27 }, "end": { - "line": 88, + "line": 104, "column": 28 } } @@ -16662,15 +19358,15 @@ "postfix": false, "binop": null }, - "start": 1669, - "end": 1670, + "start": 1977, + "end": 1978, "loc": { "start": { - "line": 89, + "line": 105, "column": 0 }, "end": { - "line": 89, + "line": 105, "column": 1 } } @@ -16690,15 +19386,15 @@ "updateContext": null }, "value": "export", - "start": 1672, - "end": 1678, + "start": 1980, + "end": 1986, "loc": { "start": { - "line": 91, + "line": 107, "column": 0 }, "end": { - "line": 91, + "line": 107, "column": 6 } } @@ -16717,15 +19413,15 @@ "binop": null }, "value": "function", - "start": 1679, - "end": 1687, + "start": 1987, + "end": 1995, "loc": { "start": { - "line": 91, + "line": 107, "column": 7 }, "end": { - "line": 91, + "line": 107, "column": 15 } } @@ -16742,16 +19438,16 @@ "postfix": false, "binop": null }, - "value": "imuln", - "start": 1688, - "end": 1693, + "value": "ipown", + "start": 1996, + "end": 2001, "loc": { "start": { - "line": 91, + "line": 107, "column": 16 }, "end": { - "line": 91, + "line": 107, "column": 21 } } @@ -16768,15 +19464,15 @@ "postfix": false, "binop": null }, - "start": 1694, - "end": 1695, + "start": 2002, + "end": 2003, "loc": { "start": { - "line": 91, + "line": 107, "column": 22 }, "end": { - "line": 91, + "line": 107, "column": 23 } } @@ -16794,15 +19490,15 @@ "binop": null }, "value": "first", - "start": 1696, - "end": 1701, + "start": 2004, + "end": 2009, "loc": { "start": { - "line": 91, + "line": 107, "column": 24 }, "end": { - "line": 91, + "line": 107, "column": 29 } } @@ -16820,15 +19516,15 @@ "binop": null, "updateContext": null }, - "start": 1702, - "end": 1703, + "start": 2010, + "end": 2011, "loc": { "start": { - "line": 91, + "line": 107, "column": 30 }, "end": { - "line": 91, + "line": 107, "column": 31 } } @@ -16846,15 +19542,15 @@ "binop": null }, "value": "second", - "start": 1704, - "end": 1710, + "start": 2012, + "end": 2018, "loc": { "start": { - "line": 91, + "line": 107, "column": 32 }, "end": { - "line": 91, + "line": 107, "column": 38 } } @@ -16871,15 +19567,15 @@ "postfix": false, "binop": null }, - "start": 1711, - "end": 1712, + "start": 2019, + "end": 2020, "loc": { "start": { - "line": 91, + "line": 107, "column": 39 }, "end": { - "line": 91, + "line": 107, "column": 40 } } @@ -16896,15 +19592,15 @@ "postfix": false, "binop": null }, - "start": 1713, - "end": 1714, + "start": 2021, + "end": 2022, "loc": { "start": { - "line": 91, + "line": 107, "column": 41 }, "end": { - "line": 91, + "line": 107, "column": 42 } } @@ -16924,15 +19620,15 @@ "updateContext": null }, "value": "return", - "start": 1716, - "end": 1722, + "start": 2024, + "end": 2030, "loc": { "start": { - "line": 92, + "line": 108, "column": 1 }, "end": { - "line": 92, + "line": 108, "column": 7 } } @@ -16950,15 +19646,15 @@ "binop": null }, "value": "first", - "start": 1723, - "end": 1728, + "start": 2031, + "end": 2036, "loc": { "start": { - "line": 92, + "line": 108, "column": 8 }, "end": { - "line": 92, + "line": 108, "column": 13 } } @@ -16976,15 +19672,15 @@ "binop": null, "updateContext": null }, - "start": 1728, - "end": 1729, + "start": 2036, + "end": 2037, "loc": { "start": { - "line": 92, + "line": 108, "column": 13 }, "end": { - "line": 92, + "line": 108, "column": 14 } } @@ -17001,16 +19697,16 @@ "postfix": false, "binop": null }, - "value": "imuln", - "start": 1729, - "end": 1734, + "value": "ipown", + "start": 2037, + "end": 2042, "loc": { "start": { - "line": 92, + "line": 108, "column": 14 }, "end": { - "line": 92, + "line": 108, "column": 19 } } @@ -17027,15 +19723,15 @@ "postfix": false, "binop": null }, - "start": 1734, - "end": 1735, + "start": 2042, + "end": 2043, "loc": { "start": { - "line": 92, + "line": 108, "column": 19 }, "end": { - "line": 92, + "line": 108, "column": 20 } } @@ -17053,15 +19749,15 @@ "binop": null }, "value": "second", - "start": 1735, - "end": 1741, + "start": 2043, + "end": 2049, "loc": { "start": { - "line": 92, + "line": 108, "column": 20 }, "end": { - "line": 92, + "line": 108, "column": 26 } } @@ -17078,15 +19774,15 @@ "postfix": false, "binop": null }, - "start": 1741, - "end": 1742, + "start": 2049, + "end": 2050, "loc": { "start": { - "line": 92, + "line": 108, "column": 26 }, "end": { - "line": 92, + "line": 108, "column": 27 } } @@ -17104,15 +19800,15 @@ "binop": null, "updateContext": null }, - "start": 1743, - "end": 1744, + "start": 2051, + "end": 2052, "loc": { "start": { - "line": 92, + "line": 108, "column": 28 }, "end": { - "line": 92, + "line": 108, "column": 29 } } @@ -17129,15 +19825,15 @@ "postfix": false, "binop": null }, - "start": 1745, - "end": 1746, + "start": 2053, + "end": 2054, "loc": { "start": { - "line": 93, + "line": 109, "column": 0 }, "end": { - "line": 93, + "line": 109, "column": 1 } } @@ -17157,15 +19853,15 @@ "updateContext": null }, "value": "export", - "start": 1748, - "end": 1754, + "start": 2056, + "end": 2062, "loc": { "start": { - "line": 95, + "line": 111, "column": 0 }, "end": { - "line": 95, + "line": 111, "column": 6 } } @@ -17184,15 +19880,15 @@ "binop": null }, "value": "function", - "start": 1755, - "end": 1763, + "start": 2063, + "end": 2071, "loc": { "start": { - "line": 95, + "line": 111, "column": 7 }, "end": { - "line": 95, + "line": 111, "column": 15 } } @@ -17209,16 +19905,16 @@ "postfix": false, "binop": null }, - "value": "pown", - "start": 1764, - "end": 1768, + "value": "divn", + "start": 2072, + "end": 2076, "loc": { "start": { - "line": 95, + "line": 111, "column": 16 }, "end": { - "line": 95, + "line": 111, "column": 20 } } @@ -17235,15 +19931,15 @@ "postfix": false, "binop": null }, - "start": 1769, - "end": 1770, + "start": 2077, + "end": 2078, "loc": { "start": { - "line": 95, + "line": 111, "column": 21 }, "end": { - "line": 95, + "line": 111, "column": 22 } } @@ -17261,15 +19957,15 @@ "binop": null }, "value": "first", - "start": 1771, - "end": 1776, + "start": 2079, + "end": 2084, "loc": { "start": { - "line": 95, + "line": 111, "column": 23 }, "end": { - "line": 95, + "line": 111, "column": 28 } } @@ -17287,15 +19983,15 @@ "binop": null, "updateContext": null }, - "start": 1777, - "end": 1778, + "start": 2085, + "end": 2086, "loc": { "start": { - "line": 95, + "line": 111, "column": 29 }, "end": { - "line": 95, + "line": 111, "column": 30 } } @@ -17313,15 +20009,15 @@ "binop": null }, "value": "second", - "start": 1779, - "end": 1785, + "start": 2087, + "end": 2093, "loc": { "start": { - "line": 95, + "line": 111, "column": 31 }, "end": { - "line": 95, + "line": 111, "column": 37 } } @@ -17338,15 +20034,15 @@ "postfix": false, "binop": null }, - "start": 1786, - "end": 1787, + "start": 2094, + "end": 2095, "loc": { "start": { - "line": 95, + "line": 111, "column": 38 }, "end": { - "line": 95, + "line": 111, "column": 39 } } @@ -17363,15 +20059,15 @@ "postfix": false, "binop": null }, - "start": 1788, - "end": 1789, + "start": 2096, + "end": 2097, "loc": { "start": { - "line": 95, + "line": 111, "column": 40 }, "end": { - "line": 95, + "line": 111, "column": 41 } } @@ -17391,15 +20087,15 @@ "updateContext": null }, "value": "return", - "start": 1791, - "end": 1797, + "start": 2099, + "end": 2105, "loc": { "start": { - "line": 96, + "line": 112, "column": 1 }, "end": { - "line": 96, + "line": 112, "column": 7 } } @@ -17417,15 +20113,15 @@ "binop": null }, "value": "first", - "start": 1798, - "end": 1803, + "start": 2106, + "end": 2111, "loc": { "start": { - "line": 96, + "line": 112, "column": 8 }, "end": { - "line": 96, + "line": 112, "column": 13 } } @@ -17443,15 +20139,15 @@ "binop": null, "updateContext": null }, - "start": 1803, - "end": 1804, + "start": 2111, + "end": 2112, "loc": { "start": { - "line": 96, + "line": 112, "column": 13 }, "end": { - "line": 96, + "line": 112, "column": 14 } } @@ -17468,16 +20164,16 @@ "postfix": false, "binop": null }, - "value": "pown", - "start": 1804, - "end": 1808, + "value": "divn", + "start": 2112, + "end": 2116, "loc": { "start": { - "line": 96, + "line": 112, "column": 14 }, "end": { - "line": 96, + "line": 112, "column": 18 } } @@ -17494,15 +20190,15 @@ "postfix": false, "binop": null }, - "start": 1808, - "end": 1809, + "start": 2116, + "end": 2117, "loc": { "start": { - "line": 96, + "line": 112, "column": 18 }, "end": { - "line": 96, + "line": 112, "column": 19 } } @@ -17520,15 +20216,15 @@ "binop": null }, "value": "second", - "start": 1809, - "end": 1815, + "start": 2117, + "end": 2123, "loc": { "start": { - "line": 96, + "line": 112, "column": 19 }, "end": { - "line": 96, + "line": 112, "column": 25 } } @@ -17545,15 +20241,15 @@ "postfix": false, "binop": null }, - "start": 1815, - "end": 1816, + "start": 2123, + "end": 2124, "loc": { "start": { - "line": 96, + "line": 112, "column": 25 }, "end": { - "line": 96, + "line": 112, "column": 26 } } @@ -17571,15 +20267,15 @@ "binop": null, "updateContext": null }, - "start": 1817, - "end": 1818, + "start": 2125, + "end": 2126, "loc": { "start": { - "line": 96, + "line": 112, "column": 27 }, "end": { - "line": 96, + "line": 112, "column": 28 } } @@ -17596,15 +20292,15 @@ "postfix": false, "binop": null }, - "start": 1819, - "end": 1820, + "start": 2127, + "end": 2128, "loc": { "start": { - "line": 97, + "line": 113, "column": 0 }, "end": { - "line": 97, + "line": 113, "column": 1 } } @@ -17624,15 +20320,15 @@ "updateContext": null }, "value": "export", - "start": 1822, - "end": 1828, + "start": 2130, + "end": 2136, "loc": { "start": { - "line": 99, + "line": 115, "column": 0 }, "end": { - "line": 99, + "line": 115, "column": 6 } } @@ -17651,15 +20347,15 @@ "binop": null }, "value": "function", - "start": 1829, - "end": 1837, + "start": 2137, + "end": 2145, "loc": { "start": { - "line": 99, + "line": 115, "column": 7 }, "end": { - "line": 99, + "line": 115, "column": 15 } } @@ -17676,16 +20372,16 @@ "postfix": false, "binop": null }, - "value": "ipown", - "start": 1838, - "end": 1843, + "value": "idivn", + "start": 2146, + "end": 2151, "loc": { "start": { - "line": 99, + "line": 115, "column": 16 }, "end": { - "line": 99, + "line": 115, "column": 21 } } @@ -17702,15 +20398,15 @@ "postfix": false, "binop": null }, - "start": 1844, - "end": 1845, + "start": 2152, + "end": 2153, "loc": { "start": { - "line": 99, + "line": 115, "column": 22 }, "end": { - "line": 99, + "line": 115, "column": 23 } } @@ -17728,15 +20424,15 @@ "binop": null }, "value": "first", - "start": 1846, - "end": 1851, + "start": 2154, + "end": 2159, "loc": { "start": { - "line": 99, + "line": 115, "column": 24 }, "end": { - "line": 99, + "line": 115, "column": 29 } } @@ -17754,15 +20450,15 @@ "binop": null, "updateContext": null }, - "start": 1852, - "end": 1853, + "start": 2160, + "end": 2161, "loc": { "start": { - "line": 99, + "line": 115, "column": 30 }, "end": { - "line": 99, + "line": 115, "column": 31 } } @@ -17780,15 +20476,15 @@ "binop": null }, "value": "second", - "start": 1854, - "end": 1860, + "start": 2162, + "end": 2168, "loc": { "start": { - "line": 99, + "line": 115, "column": 32 }, "end": { - "line": 99, + "line": 115, "column": 38 } } @@ -17805,15 +20501,15 @@ "postfix": false, "binop": null }, - "start": 1861, - "end": 1862, + "start": 2169, + "end": 2170, "loc": { "start": { - "line": 99, + "line": 115, "column": 39 }, "end": { - "line": 99, + "line": 115, "column": 40 } } @@ -17830,15 +20526,15 @@ "postfix": false, "binop": null }, - "start": 1863, - "end": 1864, + "start": 2171, + "end": 2172, "loc": { "start": { - "line": 99, + "line": 115, "column": 41 }, "end": { - "line": 99, + "line": 115, "column": 42 } } @@ -17858,15 +20554,15 @@ "updateContext": null }, "value": "return", - "start": 1866, - "end": 1872, + "start": 2174, + "end": 2180, "loc": { "start": { - "line": 100, + "line": 116, "column": 1 }, "end": { - "line": 100, + "line": 116, "column": 7 } } @@ -17884,15 +20580,15 @@ "binop": null }, "value": "first", - "start": 1873, - "end": 1878, + "start": 2181, + "end": 2186, "loc": { "start": { - "line": 100, + "line": 116, "column": 8 }, "end": { - "line": 100, + "line": 116, "column": 13 } } @@ -17910,15 +20606,15 @@ "binop": null, "updateContext": null }, - "start": 1878, - "end": 1879, + "start": 2186, + "end": 2187, "loc": { "start": { - "line": 100, + "line": 116, "column": 13 }, "end": { - "line": 100, + "line": 116, "column": 14 } } @@ -17935,16 +20631,16 @@ "postfix": false, "binop": null }, - "value": "ipown", - "start": 1879, - "end": 1884, + "value": "idivn", + "start": 2187, + "end": 2192, "loc": { "start": { - "line": 100, + "line": 116, "column": 14 }, "end": { - "line": 100, + "line": 116, "column": 19 } } @@ -17961,15 +20657,15 @@ "postfix": false, "binop": null }, - "start": 1884, - "end": 1885, + "start": 2192, + "end": 2193, "loc": { "start": { - "line": 100, + "line": 116, "column": 19 }, "end": { - "line": 100, + "line": 116, "column": 20 } } @@ -17987,15 +20683,15 @@ "binop": null }, "value": "second", - "start": 1885, - "end": 1891, + "start": 2193, + "end": 2199, "loc": { "start": { - "line": 100, + "line": 116, "column": 20 }, "end": { - "line": 100, + "line": 116, "column": 26 } } @@ -18012,15 +20708,15 @@ "postfix": false, "binop": null }, - "start": 1891, - "end": 1892, + "start": 2199, + "end": 2200, "loc": { "start": { - "line": 100, + "line": 116, "column": 26 }, "end": { - "line": 100, + "line": 116, "column": 27 } } @@ -18038,15 +20734,15 @@ "binop": null, "updateContext": null }, - "start": 1893, - "end": 1894, + "start": 2201, + "end": 2202, "loc": { "start": { - "line": 100, + "line": 116, "column": 28 }, "end": { - "line": 100, + "line": 116, "column": 29 } } @@ -18063,15 +20759,15 @@ "postfix": false, "binop": null }, - "start": 1895, - "end": 1896, + "start": 2203, + "end": 2204, "loc": { "start": { - "line": 101, + "line": 117, "column": 0 }, "end": { - "line": 101, + "line": 117, "column": 1 } } @@ -18091,15 +20787,15 @@ "updateContext": null }, "value": "export", - "start": 1898, - "end": 1904, + "start": 2206, + "end": 2212, "loc": { "start": { - "line": 103, + "line": 119, "column": 0 }, "end": { - "line": 103, + "line": 119, "column": 6 } } @@ -18118,15 +20814,15 @@ "binop": null }, "value": "function", - "start": 1905, - "end": 1913, + "start": 2213, + "end": 2221, "loc": { "start": { - "line": 103, + "line": 119, "column": 7 }, "end": { - "line": 103, + "line": 119, "column": 15 } } @@ -18143,16 +20839,16 @@ "postfix": false, "binop": null }, - "value": "divn", - "start": 1914, - "end": 1918, + "value": "modn", + "start": 2222, + "end": 2226, "loc": { "start": { - "line": 103, + "line": 119, "column": 16 }, "end": { - "line": 103, + "line": 119, "column": 20 } } @@ -18169,15 +20865,15 @@ "postfix": false, "binop": null }, - "start": 1919, - "end": 1920, + "start": 2227, + "end": 2228, "loc": { "start": { - "line": 103, + "line": 119, "column": 21 }, "end": { - "line": 103, + "line": 119, "column": 22 } } @@ -18195,15 +20891,15 @@ "binop": null }, "value": "first", - "start": 1921, - "end": 1926, + "start": 2229, + "end": 2234, "loc": { "start": { - "line": 103, + "line": 119, "column": 23 }, "end": { - "line": 103, + "line": 119, "column": 28 } } @@ -18221,15 +20917,15 @@ "binop": null, "updateContext": null }, - "start": 1927, - "end": 1928, + "start": 2235, + "end": 2236, "loc": { "start": { - "line": 103, + "line": 119, "column": 29 }, "end": { - "line": 103, + "line": 119, "column": 30 } } @@ -18247,15 +20943,15 @@ "binop": null }, "value": "second", - "start": 1929, - "end": 1935, + "start": 2237, + "end": 2243, "loc": { "start": { - "line": 103, + "line": 119, "column": 31 }, "end": { - "line": 103, + "line": 119, "column": 37 } } @@ -18272,15 +20968,15 @@ "postfix": false, "binop": null }, - "start": 1936, - "end": 1937, + "start": 2244, + "end": 2245, "loc": { "start": { - "line": 103, + "line": 119, "column": 38 }, "end": { - "line": 103, + "line": 119, "column": 39 } } @@ -18297,15 +20993,15 @@ "postfix": false, "binop": null }, - "start": 1938, - "end": 1939, + "start": 2246, + "end": 2247, "loc": { "start": { - "line": 103, + "line": 119, "column": 40 }, "end": { - "line": 103, + "line": 119, "column": 41 } } @@ -18325,15 +21021,15 @@ "updateContext": null }, "value": "return", - "start": 1941, - "end": 1947, + "start": 2249, + "end": 2255, "loc": { "start": { - "line": 104, + "line": 120, "column": 1 }, "end": { - "line": 104, + "line": 120, "column": 7 } } @@ -18351,15 +21047,15 @@ "binop": null }, "value": "first", - "start": 1948, - "end": 1953, + "start": 2256, + "end": 2261, "loc": { "start": { - "line": 104, + "line": 120, "column": 8 }, "end": { - "line": 104, + "line": 120, "column": 13 } } @@ -18377,15 +21073,15 @@ "binop": null, "updateContext": null }, - "start": 1953, - "end": 1954, + "start": 2261, + "end": 2262, "loc": { "start": { - "line": 104, + "line": 120, "column": 13 }, "end": { - "line": 104, + "line": 120, "column": 14 } } @@ -18402,16 +21098,16 @@ "postfix": false, "binop": null }, - "value": "divn", - "start": 1954, - "end": 1958, + "value": "modn", + "start": 2262, + "end": 2266, "loc": { "start": { - "line": 104, + "line": 120, "column": 14 }, "end": { - "line": 104, + "line": 120, "column": 18 } } @@ -18428,15 +21124,15 @@ "postfix": false, "binop": null }, - "start": 1958, - "end": 1959, + "start": 2266, + "end": 2267, "loc": { "start": { - "line": 104, + "line": 120, "column": 18 }, "end": { - "line": 104, + "line": 120, "column": 19 } } @@ -18454,15 +21150,15 @@ "binop": null }, "value": "second", - "start": 1959, - "end": 1965, + "start": 2267, + "end": 2273, "loc": { "start": { - "line": 104, + "line": 120, "column": 19 }, "end": { - "line": 104, + "line": 120, "column": 25 } } @@ -18479,15 +21175,15 @@ "postfix": false, "binop": null }, - "start": 1965, - "end": 1966, + "start": 2273, + "end": 2274, "loc": { "start": { - "line": 104, + "line": 120, "column": 25 }, "end": { - "line": 104, + "line": 120, "column": 26 } } @@ -18505,15 +21201,15 @@ "binop": null, "updateContext": null }, - "start": 1967, - "end": 1968, + "start": 2275, + "end": 2276, "loc": { "start": { - "line": 104, + "line": 120, "column": 27 }, "end": { - "line": 104, + "line": 120, "column": 28 } } @@ -18530,15 +21226,15 @@ "postfix": false, "binop": null }, - "start": 1969, - "end": 1970, + "start": 2277, + "end": 2278, "loc": { "start": { - "line": 105, + "line": 121, "column": 0 }, "end": { - "line": 105, + "line": 121, "column": 1 } } @@ -18558,15 +21254,15 @@ "updateContext": null }, "value": "export", - "start": 1972, - "end": 1978, + "start": 2280, + "end": 2286, "loc": { "start": { - "line": 107, + "line": 123, "column": 0 }, "end": { - "line": 107, + "line": 123, "column": 6 } } @@ -18585,15 +21281,15 @@ "binop": null }, "value": "function", - "start": 1979, - "end": 1987, + "start": 2287, + "end": 2295, "loc": { "start": { - "line": 107, + "line": 123, "column": 7 }, "end": { - "line": 107, + "line": 123, "column": 15 } } @@ -18610,16 +21306,16 @@ "postfix": false, "binop": null }, - "value": "idivn", - "start": 1988, - "end": 1993, + "value": "imodn", + "start": 2296, + "end": 2301, "loc": { "start": { - "line": 107, + "line": 123, "column": 16 }, "end": { - "line": 107, + "line": 123, "column": 21 } } @@ -18636,15 +21332,15 @@ "postfix": false, "binop": null }, - "start": 1994, - "end": 1995, + "start": 2302, + "end": 2303, "loc": { "start": { - "line": 107, + "line": 123, "column": 22 }, "end": { - "line": 107, + "line": 123, "column": 23 } } @@ -18662,15 +21358,15 @@ "binop": null }, "value": "first", - "start": 1996, - "end": 2001, + "start": 2304, + "end": 2309, "loc": { "start": { - "line": 107, + "line": 123, "column": 24 }, "end": { - "line": 107, + "line": 123, "column": 29 } } @@ -18688,15 +21384,15 @@ "binop": null, "updateContext": null }, - "start": 2002, - "end": 2003, + "start": 2310, + "end": 2311, "loc": { "start": { - "line": 107, + "line": 123, "column": 30 }, "end": { - "line": 107, + "line": 123, "column": 31 } } @@ -18714,15 +21410,15 @@ "binop": null }, "value": "second", - "start": 2004, - "end": 2010, + "start": 2312, + "end": 2318, "loc": { "start": { - "line": 107, + "line": 123, "column": 32 }, "end": { - "line": 107, + "line": 123, "column": 38 } } @@ -18739,15 +21435,15 @@ "postfix": false, "binop": null }, - "start": 2011, - "end": 2012, + "start": 2319, + "end": 2320, "loc": { "start": { - "line": 107, + "line": 123, "column": 39 }, "end": { - "line": 107, + "line": 123, "column": 40 } } @@ -18764,15 +21460,15 @@ "postfix": false, "binop": null }, - "start": 2013, - "end": 2014, + "start": 2321, + "end": 2322, "loc": { "start": { - "line": 107, + "line": 123, "column": 41 }, "end": { - "line": 107, + "line": 123, "column": 42 } } @@ -18792,15 +21488,15 @@ "updateContext": null }, "value": "return", - "start": 2016, - "end": 2022, + "start": 2324, + "end": 2330, "loc": { "start": { - "line": 108, + "line": 124, "column": 1 }, "end": { - "line": 108, + "line": 124, "column": 7 } } @@ -18818,15 +21514,15 @@ "binop": null }, "value": "first", - "start": 2023, - "end": 2028, + "start": 2331, + "end": 2336, "loc": { "start": { - "line": 108, + "line": 124, "column": 8 }, "end": { - "line": 108, + "line": 124, "column": 13 } } @@ -18844,15 +21540,15 @@ "binop": null, "updateContext": null }, - "start": 2028, - "end": 2029, + "start": 2336, + "end": 2337, "loc": { "start": { - "line": 108, + "line": 124, "column": 13 }, "end": { - "line": 108, + "line": 124, "column": 14 } } @@ -18869,16 +21565,16 @@ "postfix": false, "binop": null }, - "value": "idivn", - "start": 2029, - "end": 2034, + "value": "imodn", + "start": 2337, + "end": 2342, "loc": { "start": { - "line": 108, + "line": 124, "column": 14 }, "end": { - "line": 108, + "line": 124, "column": 19 } } @@ -18895,15 +21591,15 @@ "postfix": false, "binop": null }, - "start": 2034, - "end": 2035, + "start": 2342, + "end": 2343, "loc": { "start": { - "line": 108, + "line": 124, "column": 19 }, "end": { - "line": 108, + "line": 124, "column": 20 } } @@ -18921,15 +21617,15 @@ "binop": null }, "value": "second", - "start": 2035, - "end": 2041, + "start": 2343, + "end": 2349, "loc": { "start": { - "line": 108, + "line": 124, "column": 20 }, "end": { - "line": 108, + "line": 124, "column": 26 } } @@ -18946,15 +21642,15 @@ "postfix": false, "binop": null }, - "start": 2041, - "end": 2042, + "start": 2349, + "end": 2350, "loc": { "start": { - "line": 108, + "line": 124, "column": 26 }, "end": { - "line": 108, + "line": 124, "column": 27 } } @@ -18972,15 +21668,15 @@ "binop": null, "updateContext": null }, - "start": 2043, - "end": 2044, + "start": 2351, + "end": 2352, "loc": { "start": { - "line": 108, + "line": 124, "column": 28 }, "end": { - "line": 108, + "line": 124, "column": 29 } } @@ -18997,15 +21693,15 @@ "postfix": false, "binop": null }, - "start": 2045, - "end": 2046, + "start": 2353, + "end": 2354, "loc": { "start": { - "line": 109, + "line": 125, "column": 0 }, "end": { - "line": 109, + "line": 125, "column": 1 } } @@ -19025,15 +21721,15 @@ "updateContext": null }, "value": "export", - "start": 2048, - "end": 2054, + "start": 2356, + "end": 2362, "loc": { "start": { - "line": 111, + "line": 127, "column": 0 }, "end": { - "line": 111, + "line": 127, "column": 6 } } @@ -19052,15 +21748,15 @@ "binop": null }, "value": "function", - "start": 2055, - "end": 2063, + "start": 2363, + "end": 2371, "loc": { "start": { - "line": 111, + "line": 127, "column": 7 }, "end": { - "line": 111, + "line": 127, "column": 15 } } @@ -19077,17 +21773,17 @@ "postfix": false, "binop": null }, - "value": "modn", - "start": 2064, - "end": 2068, + "value": "divmodn", + "start": 2372, + "end": 2379, "loc": { "start": { - "line": 111, + "line": 127, "column": 16 }, "end": { - "line": 111, - "column": 20 + "line": 127, + "column": 23 } } }, @@ -19103,16 +21799,16 @@ "postfix": false, "binop": null }, - "start": 2069, - "end": 2070, + "start": 2380, + "end": 2381, "loc": { "start": { - "line": 111, - "column": 21 + "line": 127, + "column": 24 }, "end": { - "line": 111, - "column": 22 + "line": 127, + "column": 25 } } }, @@ -19129,16 +21825,16 @@ "binop": null }, "value": "first", - "start": 2071, - "end": 2076, + "start": 2382, + "end": 2387, "loc": { "start": { - "line": 111, - "column": 23 + "line": 127, + "column": 26 }, "end": { - "line": 111, - "column": 28 + "line": 127, + "column": 31 } } }, @@ -19155,16 +21851,16 @@ "binop": null, "updateContext": null }, - "start": 2077, - "end": 2078, + "start": 2388, + "end": 2389, "loc": { "start": { - "line": 111, - "column": 29 + "line": 127, + "column": 32 }, "end": { - "line": 111, - "column": 30 + "line": 127, + "column": 33 } } }, @@ -19181,16 +21877,16 @@ "binop": null }, "value": "second", - "start": 2079, - "end": 2085, + "start": 2390, + "end": 2396, "loc": { "start": { - "line": 111, - "column": 31 + "line": 127, + "column": 34 }, "end": { - "line": 111, - "column": 37 + "line": 127, + "column": 40 } } }, @@ -19206,16 +21902,16 @@ "postfix": false, "binop": null }, - "start": 2086, - "end": 2087, + "start": 2397, + "end": 2398, "loc": { "start": { - "line": 111, - "column": 38 + "line": 127, + "column": 41 }, "end": { - "line": 111, - "column": 39 + "line": 127, + "column": 42 } } }, @@ -19231,16 +21927,16 @@ "postfix": false, "binop": null }, - "start": 2088, - "end": 2089, + "start": 2399, + "end": 2400, "loc": { "start": { - "line": 111, - "column": 40 + "line": 127, + "column": 43 }, "end": { - "line": 111, - "column": 41 + "line": 127, + "column": 44 } } }, @@ -19259,15 +21955,15 @@ "updateContext": null }, "value": "return", - "start": 2091, - "end": 2097, + "start": 2402, + "end": 2408, "loc": { "start": { - "line": 112, + "line": 128, "column": 1 }, "end": { - "line": 112, + "line": 128, "column": 7 } } @@ -19285,15 +21981,15 @@ "binop": null }, "value": "first", - "start": 2098, - "end": 2103, + "start": 2409, + "end": 2414, "loc": { "start": { - "line": 112, + "line": 128, "column": 8 }, "end": { - "line": 112, + "line": 128, "column": 13 } } @@ -19311,15 +22007,15 @@ "binop": null, "updateContext": null }, - "start": 2103, - "end": 2104, + "start": 2414, + "end": 2415, "loc": { "start": { - "line": 112, + "line": 128, "column": 13 }, "end": { - "line": 112, + "line": 128, "column": 14 } } @@ -19336,17 +22032,17 @@ "postfix": false, "binop": null }, - "value": "modn", - "start": 2104, - "end": 2108, + "value": "divmodn", + "start": 2415, + "end": 2422, "loc": { "start": { - "line": 112, + "line": 128, "column": 14 }, "end": { - "line": 112, - "column": 18 + "line": 128, + "column": 21 } } }, @@ -19362,16 +22058,16 @@ "postfix": false, "binop": null }, - "start": 2108, - "end": 2109, + "start": 2422, + "end": 2423, "loc": { "start": { - "line": 112, - "column": 18 + "line": 128, + "column": 21 }, "end": { - "line": 112, - "column": 19 + "line": 128, + "column": 22 } } }, @@ -19388,16 +22084,16 @@ "binop": null }, "value": "second", - "start": 2109, - "end": 2115, + "start": 2423, + "end": 2429, "loc": { "start": { - "line": 112, - "column": 19 + "line": 128, + "column": 22 }, "end": { - "line": 112, - "column": 25 + "line": 128, + "column": 28 } } }, @@ -19413,16 +22109,16 @@ "postfix": false, "binop": null }, - "start": 2115, - "end": 2116, + "start": 2429, + "end": 2430, "loc": { "start": { - "line": 112, - "column": 25 + "line": 128, + "column": 28 }, "end": { - "line": 112, - "column": 26 + "line": 128, + "column": 29 } } }, @@ -19439,16 +22135,16 @@ "binop": null, "updateContext": null }, - "start": 2117, - "end": 2118, + "start": 2431, + "end": 2432, "loc": { "start": { - "line": 112, - "column": 27 + "line": 128, + "column": 30 }, "end": { - "line": 112, - "column": 28 + "line": 128, + "column": 31 } } }, @@ -19464,15 +22160,15 @@ "postfix": false, "binop": null }, - "start": 2119, - "end": 2120, + "start": 2433, + "end": 2434, "loc": { "start": { - "line": 113, + "line": 129, "column": 0 }, "end": { - "line": 113, + "line": 129, "column": 1 } } @@ -19492,15 +22188,15 @@ "updateContext": null }, "value": "export", - "start": 2122, - "end": 2128, + "start": 2436, + "end": 2442, "loc": { "start": { - "line": 115, + "line": 131, "column": 0 }, "end": { - "line": 115, + "line": 131, "column": 6 } } @@ -19519,15 +22215,15 @@ "binop": null }, "value": "function", - "start": 2129, - "end": 2137, + "start": 2443, + "end": 2451, "loc": { "start": { - "line": 115, + "line": 131, "column": 7 }, "end": { - "line": 115, + "line": 131, "column": 15 } } @@ -19544,17 +22240,17 @@ "postfix": false, "binop": null }, - "value": "imodn", - "start": 2138, - "end": 2143, + "value": "idivmodn", + "start": 2452, + "end": 2460, "loc": { "start": { - "line": 115, + "line": 131, "column": 16 }, "end": { - "line": 115, - "column": 21 + "line": 131, + "column": 24 } } }, @@ -19570,16 +22266,16 @@ "postfix": false, "binop": null }, - "start": 2144, - "end": 2145, + "start": 2461, + "end": 2462, "loc": { "start": { - "line": 115, - "column": 22 + "line": 131, + "column": 25 }, "end": { - "line": 115, - "column": 23 + "line": 131, + "column": 26 } } }, @@ -19596,16 +22292,16 @@ "binop": null }, "value": "first", - "start": 2146, - "end": 2151, + "start": 2463, + "end": 2468, "loc": { "start": { - "line": 115, - "column": 24 + "line": 131, + "column": 27 }, "end": { - "line": 115, - "column": 29 + "line": 131, + "column": 32 } } }, @@ -19622,16 +22318,16 @@ "binop": null, "updateContext": null }, - "start": 2152, - "end": 2153, + "start": 2469, + "end": 2470, "loc": { "start": { - "line": 115, - "column": 30 + "line": 131, + "column": 33 }, "end": { - "line": 115, - "column": 31 + "line": 131, + "column": 34 } } }, @@ -19648,16 +22344,16 @@ "binop": null }, "value": "second", - "start": 2154, - "end": 2160, + "start": 2471, + "end": 2477, "loc": { "start": { - "line": 115, - "column": 32 + "line": 131, + "column": 35 }, "end": { - "line": 115, - "column": 38 + "line": 131, + "column": 41 } } }, @@ -19673,16 +22369,16 @@ "postfix": false, "binop": null }, - "start": 2161, - "end": 2162, + "start": 2478, + "end": 2479, "loc": { "start": { - "line": 115, - "column": 39 + "line": 131, + "column": 42 }, "end": { - "line": 115, - "column": 40 + "line": 131, + "column": 43 } } }, @@ -19698,16 +22394,16 @@ "postfix": false, "binop": null }, - "start": 2163, - "end": 2164, + "start": 2480, + "end": 2481, "loc": { "start": { - "line": 115, - "column": 41 + "line": 131, + "column": 44 }, "end": { - "line": 115, - "column": 42 + "line": 131, + "column": 45 } } }, @@ -19726,15 +22422,15 @@ "updateContext": null }, "value": "return", - "start": 2166, - "end": 2172, + "start": 2483, + "end": 2489, "loc": { "start": { - "line": 116, + "line": 132, "column": 1 }, "end": { - "line": 116, + "line": 132, "column": 7 } } @@ -19752,15 +22448,15 @@ "binop": null }, "value": "first", - "start": 2173, - "end": 2178, + "start": 2490, + "end": 2495, "loc": { "start": { - "line": 116, + "line": 132, "column": 8 }, "end": { - "line": 116, + "line": 132, "column": 13 } } @@ -19778,15 +22474,15 @@ "binop": null, "updateContext": null }, - "start": 2178, - "end": 2179, + "start": 2495, + "end": 2496, "loc": { "start": { - "line": 116, + "line": 132, "column": 13 }, "end": { - "line": 116, + "line": 132, "column": 14 } } @@ -19803,17 +22499,17 @@ "postfix": false, "binop": null }, - "value": "imodn", - "start": 2179, - "end": 2184, + "value": "idivmodn", + "start": 2496, + "end": 2504, "loc": { "start": { - "line": 116, + "line": 132, "column": 14 }, "end": { - "line": 116, - "column": 19 + "line": 132, + "column": 22 } } }, @@ -19829,16 +22525,16 @@ "postfix": false, "binop": null }, - "start": 2184, - "end": 2185, + "start": 2504, + "end": 2505, "loc": { "start": { - "line": 116, - "column": 19 + "line": 132, + "column": 22 }, "end": { - "line": 116, - "column": 20 + "line": 132, + "column": 23 } } }, @@ -19855,16 +22551,16 @@ "binop": null }, "value": "second", - "start": 2185, - "end": 2191, + "start": 2505, + "end": 2511, "loc": { "start": { - "line": 116, - "column": 20 + "line": 132, + "column": 23 }, "end": { - "line": 116, - "column": 26 + "line": 132, + "column": 29 } } }, @@ -19880,16 +22576,16 @@ "postfix": false, "binop": null }, - "start": 2191, - "end": 2192, + "start": 2511, + "end": 2512, "loc": { "start": { - "line": 116, - "column": 26 + "line": 132, + "column": 29 }, "end": { - "line": 116, - "column": 27 + "line": 132, + "column": 30 } } }, @@ -19906,16 +22602,16 @@ "binop": null, "updateContext": null }, - "start": 2193, - "end": 2194, + "start": 2513, + "end": 2514, "loc": { "start": { - "line": 116, - "column": 28 + "line": 132, + "column": 31 }, "end": { - "line": 116, - "column": 29 + "line": 132, + "column": 32 } } }, @@ -19931,15 +22627,15 @@ "postfix": false, "binop": null }, - "start": 2195, - "end": 2196, + "start": 2515, + "end": 2516, "loc": { "start": { - "line": 117, + "line": 133, "column": 0 }, "end": { - "line": 117, + "line": 133, "column": 1 } } @@ -19957,15 +22653,15 @@ "binop": null, "updateContext": null }, - "start": 2197, - "end": 2197, + "start": 2517, + "end": 2517, "loc": { "start": { - "line": 118, + "line": 134, "column": 0 }, "end": { - "line": 118, + "line": 134, "column": 0 } } diff --git a/class/src/Integer.js~Integer.html b/class/src/Integer.js~Integer.html index 635aa63..2feee27 100644 --- a/class/src/Integer.js~Integer.html +++ b/class/src/Integer.js~Integer.html @@ -39,10 +39,14 @@
  • Fadd
  • Faddn
  • Fdiv
  • +
  • Fdivmod
  • +
  • Fdivmodn
  • Fdivn
  • Fiadd
  • Fiaddn
  • Fidiv
  • +
  • Fidivmod
  • +
  • Fidivmodn
  • Fidivn
  • Fimod
  • Fimodn
  • @@ -614,6 +618,34 @@

    Integer

    + + + +
    +

    + + + + divmodn(number: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -1062,6 +1094,34 @@

    Integer

    + + + +
    +

    + + + + idivmodn(number: *): undefined[] +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -2523,7 +2583,7 @@

    - source + source

    @@ -2720,7 +2780,7 @@

    - source + source

    @@ -2775,7 +2835,7 @@

    - source + source

    @@ -2885,7 +2945,7 @@

    - source + source

    @@ -2956,7 +3016,7 @@

    - source + source

    @@ -3027,7 +3087,7 @@

    - source + source

    @@ -3170,7 +3230,7 @@

    - source + source

    @@ -3241,7 +3301,7 @@

    - source + source

    @@ -3370,6 +3430,77 @@

    Return:

    +
    +
    +

    + public + + + + + + divmodn(number: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    number*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + +

    @@ -3525,7 +3656,7 @@

    - source + source

    @@ -3596,7 +3727,7 @@

    - source + source

    @@ -3667,7 +3798,7 @@

    - source + source

    @@ -3738,7 +3869,7 @@

    - source + source

    @@ -3809,7 +3940,7 @@

    - source + source

    @@ -3880,7 +4011,7 @@

    - source + source

    @@ -3951,7 +4082,7 @@

    - source + source

    @@ -4022,7 +4153,7 @@

    - source + source

    @@ -4093,7 +4224,7 @@

    - source + source

    @@ -4148,7 +4279,7 @@

    - source + source

    @@ -4474,6 +4605,77 @@

    Return:

    +
    +
    +

    + public + + + + + + idivmodn(number: *): undefined[] + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    number*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    undefined[]
    +
    +
    +
    + + + + + + + + + + + + + + +

    @@ -4984,7 +5186,7 @@

    - source + source

    @@ -5039,7 +5241,7 @@

    - source + source

    @@ -5094,7 +5296,7 @@

    - source + source

    @@ -5149,7 +5351,7 @@

    - source + source

    @@ -5204,7 +5406,7 @@

    - source + source

    @@ -5259,7 +5461,7 @@

    - source + source

    @@ -5314,7 +5516,7 @@

    - source + source

    @@ -5369,7 +5571,7 @@

    - source + source

    @@ -5621,7 +5823,7 @@

    - source + source

    @@ -5676,7 +5878,7 @@

    - source + source

    @@ -5747,7 +5949,7 @@

    - source + source

    @@ -5818,7 +6020,7 @@

    - source + source

    @@ -5889,7 +6091,7 @@

    - source + source

    @@ -6315,7 +6517,7 @@

    - source + source

    @@ -6386,7 +6588,7 @@

    - source + source

    @@ -6441,7 +6643,7 @@

    - source + source

    @@ -6512,7 +6714,7 @@

    - source + source

    @@ -6567,7 +6769,7 @@

    - source + source

    @@ -6622,7 +6824,7 @@

    - source + source

    @@ -6823,7 +7025,7 @@

    - source + source

    @@ -7075,7 +7277,7 @@

    - source + source

    @@ -7130,7 +7332,7 @@

    - source + source

    @@ -7257,7 +7459,7 @@

    - source + source

    diff --git a/class/src/IntegerRing.js~IntegerRing.html b/class/src/IntegerRing.js~IntegerRing.html index 8d82f77..fdc4a48 100644 --- a/class/src/IntegerRing.js~IntegerRing.html +++ b/class/src/IntegerRing.js~IntegerRing.html @@ -39,10 +39,14 @@
  • Fadd
  • Faddn
  • Fdiv
  • +
  • Fdivmod
  • +
  • Fdivmodn
  • Fdivn
  • Fiadd
  • Fiaddn
  • Fidiv
  • +
  • Fidivmod
  • +
  • Fidivmodn
  • Fidivn
  • Fimod
  • Fimodn
  • diff --git a/class/src/ZeroDivisionError.js~ZeroDivisionError.html b/class/src/ZeroDivisionError.js~ZeroDivisionError.html index d1ea7e7..72a0721 100644 --- a/class/src/ZeroDivisionError.js~ZeroDivisionError.html +++ b/class/src/ZeroDivisionError.js~ZeroDivisionError.html @@ -39,10 +39,14 @@
  • Fadd
  • Faddn
  • Fdiv
  • +
  • Fdivmod
  • +
  • Fdivmodn
  • Fdivn
  • Fiadd
  • Fiaddn
  • Fidiv
  • +
  • Fidivmod
  • +
  • Fidivmodn
  • Fidivn
  • Fimod
  • Fimodn
  • diff --git a/coverage.json b/coverage.json index 2423c70..eadad5d 100644 --- a/coverage.json +++ b/coverage.json @@ -1,6 +1,6 @@ { - "coverage": "0.74%", - "expectCount": 135, + "coverage": "0.7%", + "expectCount": 141, "actualCount": 1, "files": { "src/DEFAULT_DISPLAY_BASE.js": { @@ -18,7 +18,7 @@ ] }, "src/Integer.js": { - "expectCount": 79, + "expectCount": 81, "actualCount": 1, "undocumentLines": [ 18, @@ -62,43 +62,45 @@ 343, 348, 352, - 356, - 360, - 364, + 357, + 361, + 365, 369, 373, - 377, - 381, - 385, - 389, - 395, - 399, - 403, - 407, - 411, - 415, - 419, - 425, - 429, - 433, - 439, - 460, - 464, - 468, - 472, - 476, - 480, - 484, - 488, - 492, - 496, - 500, - 504, - 508, - 512, - 522, - 546, - 562 + 378, + 382, + 386, + 390, + 394, + 398, + 404, + 408, + 412, + 416, + 420, + 424, + 428, + 434, + 438, + 442, + 448, + 469, + 473, + 477, + 481, + 485, + 489, + 493, + 497, + 501, + 505, + 509, + 513, + 517, + 521, + 531, + 555, + 571 ] }, "src/IntegerRing.js": { @@ -157,7 +159,7 @@ ] }, "src/integer.js": { - "expectCount": 29, + "expectCount": 33, "actualCount": 0, "undocumentLines": [ 3, @@ -188,7 +190,11 @@ 103, 107, 111, - 115 + 115, + 119, + 123, + 127, + 131 ] } } diff --git a/file/src/DEFAULT_DISPLAY_BASE.js.html b/file/src/DEFAULT_DISPLAY_BASE.js.html index a9a096a..f172acc 100644 --- a/file/src/DEFAULT_DISPLAY_BASE.js.html +++ b/file/src/DEFAULT_DISPLAY_BASE.js.html @@ -39,10 +39,14 @@
  • Fadd
  • Faddn
  • Fdiv
  • +
  • Fdivmod
  • +
  • Fdivmodn
  • Fdivn
  • Fiadd
  • Fiaddn
  • Fidiv
  • +
  • Fidivmod
  • +
  • Fidivmodn
  • Fidivn
  • Fimod
  • Fimodn
  • diff --git a/file/src/DEFAULT_REPRESENTATION_BASE.js.html b/file/src/DEFAULT_REPRESENTATION_BASE.js.html index 147a1d8..3a11dc7 100644 --- a/file/src/DEFAULT_REPRESENTATION_BASE.js.html +++ b/file/src/DEFAULT_REPRESENTATION_BASE.js.html @@ -39,10 +39,14 @@
  • Fadd
  • Faddn
  • Fdiv
  • +
  • Fdivmod
  • +
  • Fdivmodn
  • Fdivn
  • Fiadd
  • Fiaddn
  • Fidiv
  • +
  • Fidivmod
  • +
  • Fidivmodn
  • Fidivn
  • Fimod
  • Fimodn
  • diff --git a/file/src/Integer.js.html b/file/src/Integer.js.html index ec18032..88429db 100644 --- a/file/src/Integer.js.html +++ b/file/src/Integer.js.html @@ -39,10 +39,14 @@
  • Fadd
  • Faddn
  • Fdiv
  • +
  • Fdivmod
  • +
  • Fdivmodn
  • Fdivn
  • Fiadd
  • Fiaddn
  • Fidiv
  • +
  • Fidivmod
  • +
  • Fidivmodn
  • Fidivn
  • Fimod
  • Fimodn
  • @@ -409,7 +413,16 @@ idivmod ( other ) { // TODO optimize but be careful with side effects const [ q , r ] = this.divmod(other) ; - return [ q.move(this) , r ] ; + return [ q , r.move(this) ] ; + } + + divmodn ( number ) { + return this.divmod(_from_number(number)) ; + } + + idivmodn ( number ) { + const [ q , r ] = this.divmodn(number) ; + return [ q , r.move(this) ] ; } opposite ( ) { diff --git a/file/src/IntegerRing.js.html b/file/src/IntegerRing.js.html index 09fbe07..7ae3ca3 100644 --- a/file/src/IntegerRing.js.html +++ b/file/src/IntegerRing.js.html @@ -39,10 +39,14 @@
  • Fadd
  • Faddn
  • Fdiv
  • +
  • Fdivmod
  • +
  • Fdivmodn
  • Fdivn
  • Fiadd
  • Fiaddn
  • Fidiv
  • +
  • Fidivmod
  • +
  • Fidivmodn
  • Fidivn
  • Fimod
  • Fimodn
  • diff --git a/file/src/ZZ.js.html b/file/src/ZZ.js.html index d1296db..cbf0753 100644 --- a/file/src/ZZ.js.html +++ b/file/src/ZZ.js.html @@ -39,10 +39,14 @@
  • Fadd
  • Faddn
  • Fdiv
  • +
  • Fdivmod
  • +
  • Fdivmodn
  • Fdivn
  • Fiadd
  • Fiaddn
  • Fidiv
  • +
  • Fidivmod
  • +
  • Fidivmodn
  • Fidivn
  • Fimod
  • Fimodn
  • diff --git a/file/src/ZeroDivisionError.js.html b/file/src/ZeroDivisionError.js.html index 312021a..c5dde7f 100644 --- a/file/src/ZeroDivisionError.js.html +++ b/file/src/ZeroDivisionError.js.html @@ -39,10 +39,14 @@
  • Fadd
  • Faddn
  • Fdiv
  • +
  • Fdivmod
  • +
  • Fdivmodn
  • Fdivn
  • Fiadd
  • Fiaddn
  • Fidiv
  • +
  • Fidivmod
  • +
  • Fidivmodn
  • Fidivn
  • Fimod
  • Fimodn
  • diff --git a/file/src/_from_number.js.html b/file/src/_from_number.js.html index 0369246..6091581 100644 --- a/file/src/_from_number.js.html +++ b/file/src/_from_number.js.html @@ -39,10 +39,14 @@
  • Fadd
  • Faddn
  • Fdiv
  • +
  • Fdivmod
  • +
  • Fdivmodn
  • Fdivn
  • Fiadd
  • Fiaddn
  • Fidiv
  • +
  • Fidivmod
  • +
  • Fidivmodn
  • Fidivn
  • Fimod
  • Fimodn
  • diff --git a/file/src/_limits.js.html b/file/src/_limits.js.html index c4a6f64..584f4aa 100644 --- a/file/src/_limits.js.html +++ b/file/src/_limits.js.html @@ -39,10 +39,14 @@
  • Fadd
  • Faddn
  • Fdiv
  • +
  • Fdivmod
  • +
  • Fdivmodn
  • Fdivn
  • Fiadd
  • Fiaddn
  • Fidiv
  • +
  • Fidivmod
  • +
  • Fidivmodn
  • Fidivn
  • Fimod
  • Fimodn
  • diff --git a/file/src/index.js.html b/file/src/index.js.html index e435cb5..f7f3459 100644 --- a/file/src/index.js.html +++ b/file/src/index.js.html @@ -39,10 +39,14 @@
  • Fadd
  • Faddn
  • Fdiv
  • +
  • Fdivmod
  • +
  • Fdivmodn
  • Fdivn
  • Fiadd
  • Fiaddn
  • Fidiv
  • +
  • Fidivmod
  • +
  • Fidivmodn
  • Fidivn
  • Fimod
  • Fimodn
  • diff --git a/file/src/integer.js.html b/file/src/integer.js.html index 0e7790c..077ac57 100644 --- a/file/src/integer.js.html +++ b/file/src/integer.js.html @@ -39,10 +39,14 @@
  • Fadd
  • Faddn
  • Fdiv
  • +
  • Fdivmod
  • +
  • Fdivmodn
  • Fdivn
  • Fiadd
  • Fiaddn
  • Fidiv
  • +
  • Fidivmod
  • +
  • Fidivmodn
  • Fidivn
  • Fimod
  • Fimodn
  • @@ -144,6 +148,14 @@ return first.imod(second) ; } +export function divmod ( first , second ) { + return first.divmod(second) ; +} + +export function idivmod ( first , second ) { + return first.idivmod(second) ; +} + export function addn ( first , second ) { return first.addn(second) ; } @@ -191,6 +203,14 @@ export function imodn ( first , second ) { return first.imodn(second) ; } + +export function divmodn ( first , second ) { + return first.divmodn(second) ; +} + +export function idivmodn ( first , second ) { + return first.idivmodn(second) ; +}
    diff --git a/function/index.html b/function/index.html index 3f890ba..a61fea3 100644 --- a/function/index.html +++ b/function/index.html @@ -39,10 +39,14 @@
  • Fadd
  • Faddn
  • Fdiv
  • +
  • Fdivmod
  • +
  • Fdivmodn
  • Fdivn
  • Fiadd
  • Fiaddn
  • Fidiv
  • +
  • Fidivmod
  • +
  • Fidivmodn
  • Fidivn
  • Fimod
  • Fimodn
  • @@ -252,6 +256,62 @@ + + + +
    +

    + + + + divmod(first: *, second: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + divmodn(first: *, second: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -364,6 +424,62 @@ + + + +
    +

    + + + + idivmod(first: *, second: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + + + + idivmodn(first: *, second: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -1183,11 +1299,11 @@

    - source + source

    - + @@ -1324,6 +1440,160 @@

    Return:

    +
    +
    +

    + public + + + + + + divmod(first: *, second: *): * + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    first*
    second*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + divmodn(first: *, second: *): * + + + + source + +

    + +
    import {divmodn} from '@aureooms/js-integer/src/integer.js'
    + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    first*
    second*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + +

    @@ -1337,11 +1607,11 @@

    - source + source

    - + @@ -1491,11 +1761,11 @@

    - source + source

    - + @@ -1632,6 +1902,160 @@

    Return:

    +
    +
    +

    + public + + + + + + idivmod(first: *, second: *): * + + + + source + +

    + +
    import {idivmod} from '@aureooms/js-integer/src/integer.js'
    + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    first*
    second*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + idivmodn(first: *, second: *): * + + + + source + +

    + +
    import {idivmodn} from '@aureooms/js-integer/src/integer.js'
    + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    first*
    second*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + +

    @@ -1645,11 +2069,11 @@

    - source + source

    - + @@ -1799,11 +2223,11 @@

    - source + source

    - + @@ -1953,11 +2377,11 @@

    - source + source

    - + @@ -2107,11 +2531,11 @@

    - source + source

    - + @@ -2261,11 +2685,11 @@

    - source + source

    - + @@ -2415,11 +2839,11 @@

    - source + source

    - + @@ -2569,11 +2993,11 @@

    - source + source

    - + @@ -2808,11 +3232,11 @@

    - source + source

    - + @@ -3040,11 +3464,11 @@

    - source + source

    - + diff --git a/identifiers.html b/identifiers.html index beacc06..98d3d39 100644 --- a/identifiers.html +++ b/identifiers.html @@ -39,10 +39,14 @@
  • Fadd
  • Faddn
  • Fdiv
  • +
  • Fdivmod
  • +
  • Fdivmodn
  • Fdivn
  • Fiadd
  • Fiaddn
  • Fidiv
  • +
  • Fidivmod
  • +
  • Fidivmodn
  • Fidivn
  • Fimod
  • Fimodn
  • @@ -370,6 +374,62 @@ + + + +
    +

    + F + + + divmod(first: *, second: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + F + + + divmodn(first: *, second: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + @@ -482,6 +542,62 @@ + + + +
    +

    + F + + + idivmod(first: *, second: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + + + + +
    +

    + F + + + idivmodn(first: *, second: *): * +

    +
    +
    + + + +
    + + + + + + + + + public + + + diff --git a/index.html b/index.html index 345b775..c9dffc2 100644 --- a/index.html +++ b/index.html @@ -39,10 +39,14 @@
  • Fadd
  • Faddn
  • Fdiv
  • +
  • Fdivmod
  • +
  • Fdivmodn
  • Fdivn
  • Fiadd
  • Fiaddn
  • Fidiv
  • +
  • Fidivmod
  • +
  • Fidivmodn
  • Fidivn
  • Fimod
  • Fimodn
  • diff --git a/index.json b/index.json index b486580..8515945 100644 --- a/index.json +++ b/index.json @@ -629,7 +629,7 @@ "__docId__": 52, "kind": "file", "name": "src/Integer.js", - "content": "import { DEFAULT_DISPLAY_BASE , ZeroDivisionError } from './' ;\n\nimport { ValueError } from '@aureooms/js-error' ;\n\nimport { _from_number } from './_from_number' ;\n\nimport {\n\tstringify , convert , _trim_positive ,\n\t_alloc , _copy , _zeros ,\n\tjz , cmp , eq ,\n\tadd , _sub , mul , _idivmod , _pow_double ,\n\tincrement ,\n\teuclidean_algorithm , extended_euclidean_algorithm ,\n} from '@aureooms/js-integer-big-endian' ;\n\nimport { MIN_NUMBER , MAX_NUMBER , MAX_BASE } from './_limits' ;\n\nexport class Integer {\n\n\tconstructor ( base , is_negative , limbs ) {\n\t\tthis.base = base ;\n\t\tthis.is_negative = is_negative ;\n\t\tthis.limbs = limbs ;\n\t}\n\n\tmove ( other ) {\n\t\tother.base = this.base ;\n\t\tother.is_negative = this.is_negative ;\n\t\tother.limbs = this.limbs ;\n\t\treturn other ;\n\t}\n\n\tclone ( ) {\n\t\treturn new Integer( this.base , this.is_negative , this.limbs ) ;\n\t}\n\n\t_limbs_in_base ( base ) {\n\t\t// TODO save result for later ? Maybe replace base ?\n\t\tif ( this.base === base ) return this.limbs ;\n\t\telse return convert( this.base , base , this.limbs , 0 , this.limbs.length ) ;\n\t}\n\n\ttoString ( base = DEFAULT_DISPLAY_BASE ) {\n\n\t\tif ( this.iszero( ) ) return '0' ;\n\n\t\tconst digits = stringify( this.base , base , this.limbs , 0 , this.limbs.length ) ;\n\n\t\treturn this.is_negative ? '-' + digits : digits ;\n\n\t}\n\n\tadd ( other ) {\n\n\t\tif ( this.is_negative !== other.is_negative ) {\n\n\t\t\tif ( other.is_negative ) return this.sub( other.opposite() ) ;\n\n\t\t\telse return other.sub( this.opposite() ) ;\n\n\t\t}\n\n\t\telse {\n\n\t\t\tconst result_is_negative = this.is_negative ;\n\t\t\tconst r = this.base ;\n\n\t\t\tconst a = this.limbs ;\n\n\t\t\tconst b = other._limbs_in_base( r ) ;\n\n\t\t\tconst c = _zeros( Math.max( a.length , b.length ) + 1 ) ;\n\n\t\t\tadd( r , a , 0 , a.length , b , 0 , b.length , c , 0 , c.length ) ;\n\n\t\t\treturn new Integer( r , result_is_negative , c ) ;\n\n\t\t}\n\n\t}\n\n\tiadd ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.add(other).move(this);\n\t}\n\n\taddn ( number ) {\n\t\t// TODO optimize\n\t\treturn this.add(_from_number(number)) ;\n\t}\n\n\tiaddn ( number ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.addn(number).move(this);\n\t}\n\n\tsub ( other ) {\n\n\t\tif ( this.is_negative !== other.is_negative ) {\n\n\t\t\tif ( other.is_negative ) return this.add( other.opposite() ) ;\n\n\t\t\telse return this.opposite().add( other ).opposite() ;\n\n\t\t}\n\n\t\telse {\n\n\t\t\t// /!\\ _sub needs |c| >= |a| >= |b|\n\n\t\t\tconst r = this.base ;\n\t\t\tconst a = this.limbs ;\n\t\t\tconst aj = a.length ;\n\t\t\tconst ai = _trim_positive( a , 0 , aj ) ;\n\n\t\t\tif ( ai >= aj ) return other.opposite() ;\n\n\t\t\tconst b = other._limbs_in_base( r ) ;\n\t\t\tconst bj = b.length ;\n\t\t\tconst bi = _trim_positive( b , 0 , bj ) ;\n\n\t\t\tif ( bi >= bj ) return this.clone() ;\n\n\t\t\tif ( cmp( a , ai , aj , b , bi , bj ) < 0 ) {\n\n\t\t\t\tconst c = _zeros( bj - bi ) ;\n\n\t\t\t\t_sub( r , b , bi , bj , a , ai , aj , c , 0 , c.length ) ;\n\n\t\t\t\treturn new Integer( r , ~this.is_negative , c ) ;\n\t\t\t}\n\n\t\t\telse {\n\n\t\t\t\tconst c = _zeros( aj - ai ) ;\n\n\t\t\t\t_sub( r , a , ai , aj , b , bi , bj , c , 0 , c.length ) ;\n\n\t\t\t\treturn new Integer( r , this.is_negative , c ) ;\n\n\t\t\t}\n\n\t\t}\n\n\t}\n\n\tisub ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.sub(other).move(this);\n\t}\n\n\tsubn ( number ) {\n\t\treturn this.sub(_from_number(number));\n\t}\n\n\tisubn ( number ) {\n\t\treturn this.subn(number).move(this);\n\t}\n\n\tmul ( other ) {\n\n\t\tconst result_is_negative = this.is_negative ^ other.is_negative ;\n\t\tconst r = this.base ;\n\n\t\tconst a = this.limbs ;\n\n\t\tconst b = other._limbs_in_base( r ) ;\n\n\t\tconst c = _zeros( a.length + b.length ) ;\n\n\t\tmul( r , a , 0 , a.length , b , 0 , b.length , c , 0 , c.length ) ;\n\n\t\treturn new Integer( r , result_is_negative , c ) ;\n\n\t}\n\n\timul ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.mul(other).move(this);\n\t}\n\n\tmuln ( number ) {\n\t\treturn this.mul(_from_number(number));\n\t}\n\n\timuln ( number ) {\n\t\treturn this.muln(number).move(this);\n\t}\n\n\t/**\n\t * Computes this raised to the xth power.\n\t * x is a double smaller or equal to 2^53.\n\t *\n\t * @param {Number} x The power to raise this to.\n\t * @return {Integer} this ^ x\n\t */\n\tpown ( x ) {\n\n\t\tconst is_negative = this.is_negative & x & 1 ? -1 : 0 ;\n\n\t\tconst a = this.limbs ;\n\t\tconst c = _zeros( Math.max( 1 , a.length * x ) ) ;\n\n\t\t_pow_double( this.base , x , a , 0 , a.length , c , 0 , c.length ) ;\n\n\t\treturn new Integer( this.base , is_negative , c ) ;\n\n\t}\n\n\tpow ( other ) {\n\t\treturn this.pown( other.valueOf() ) ;\n\t}\n\n\tipow ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.pow(other).move(this);\n\t}\n\n\tipown ( number ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.pown(number).move(this);\n\t}\n\n\tsquare ( ) {\n\t\t// TODO optimize but be careful with side effects\n\t\t// TODO use this.mul(this) instead?\n\t\treturn this.pown(2);\n\t}\n\n\tisquare ( ) {\n\t\t// TODO optimize but be careful with side effects\n\t\t// TODO use this.imul(this) instead?\n\t\treturn this.square().move(this);\n\t}\n\n\tdiv ( other ) {\n\t\treturn this.divmod( other )[0] ;\n\t}\n\n\tdivn ( number ) {\n\t\treturn this.div(_from_number(number)) ;\n\t}\n\n\tidiv ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.div(other).move(this);\n\t}\n\n\tidivn ( number ) {\n\t\treturn this.divn(number).move(this);\n\t}\n\n\tmod ( other ) {\n\t\treturn this.divmod( other )[1] ;\n\t}\n\n\tmodn ( number ) {\n\t\treturn this.mod(_from_number(number)) ;\n\t}\n\n\timod ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.mod(other).move(this);\n\t}\n\n\timodn ( number ) {\n\t\treturn this.modn(number).move(this);\n\t}\n\n\tdivround ( other ) {\n\t\tconst [ q , r ] = this.divmod(other) ;\n\t\tif ( r.ge(other.divn(2).addn(other.iseven() ? 0 : 1)) ) increment( q.base , q.limbs , 0 , q.limbs.length ) ;\n\t\treturn q ;\n\t}\n\n\tdivmod ( other ) {\n\n\t\tif ( other.iszero() ) throw new ZeroDivisionError( 'Integer division by zero' ) ; // optimize\n\n\t\tconst quotient_is_negative = this.is_negative ^ other.is_negative ;\n\t\tconst r = this.base ;\n\n\t\t// The underlying algorithm does not allow leading 0's so we trim them.\n\t\tconst lj = this.limbs.length ;\n\t\tconst li = _trim_positive( this.limbs , 0 , lj ) ;\n\n\t\t// Dividend is 0\n\t\tif ( li >= lj ) return [ new Integer( this.base , 0 , [ 0 ] ) , new Integer( this.base , 0 , [ 0 ] ) ] ;\n\n\t\t// Dividend (& Remainder)\n\t\tconst D = _alloc( lj - li ) ;\n\t\t_copy( this.limbs , li , lj , D , 0 ) ;\n\n\t\t// Divisor\n\t\tconst d = other._limbs_in_base( r ) ;\n\t\tconst dj = d.length ;\n\t\tconst di = _trim_positive( d , 0 , dj ) ; // di < dj because d != 0\n\n\t\t// Quotient\n\t\tconst q = _zeros( D.length ) ;\n\n\t\t_idivmod( r , D , 0 , D.length , d , di , dj , q , 0 , q.length ) ;\n\n\t\tconst Q = new Integer( r , quotient_is_negative , q ) ; // quotient\n\t\tconst R = new Integer( r , 0 , D ) ; // remainder\n\n\t\tif ( (this.is_negative || other.is_negative ) && !jz( D , 0 , D.length ) ) {\n\n\t\t\tif ( other.is_negative ) {\n\n\t\t\t\tif ( !this.is_negative ) {\n\t\t\t\t\tincrement( r , q , 0 , q.length ) ;\n\t\t\t\t\tR.iadd( other ) ; // TODO optimize\n\t\t\t\t}\n\n\t\t\t\telse {\n\t\t\t\t\tR.negate(); // TODO optimize\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\telse {\n\t\t\t\tincrement( r , q , 0 , q.length ) ;\n\t\t\t\tR.negate().iadd( other ) ; // TODO optimize\n\t\t\t}\n\n\t\t}\n\n\t\treturn [ Q , R ] ;\n\n\t}\n\n\tidivmod ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\tconst [ q , r ] = this.divmod(other) ;\n\t\treturn [ q.move(this) , r ] ;\n\t}\n\n\topposite ( ) {\n\t\treturn new Integer( this.base , ~this.is_negative , this.limbs ) ;\n\t}\n\n\tnegate ( ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.opposite().move(this);\n\t}\n\n\tabs ( ) {\n\t\treturn this.sign() >= 0 ? this : this.opposite(this) ;\n\t}\n\n\tiabs ( ) {\n\t\treturn this.abs().move(this) ;\n\t}\n\n\tsign ( ) {\n\t\treturn this.iszero() ? 0 : this.is_negative ? -1 : 1 ;\n\t}\n\n\tiszero ( ) {\n\t\treturn jz( this.limbs , 0 , this.limbs.length ) ;\n\t}\n\n\tisone ( ) {\n\t\tif ( this.is_negative ) return false ;\n\t\treturn eq( this.limbs , 0 , this.limbs.length , [ 1 ] , 0 , 1 ) ;\n\t}\n\n\tisnonzero ( ) {\n\t\treturn !this.iszero();\n\t}\n\n\tisnegative ( ) {\n\t\treturn this.is_negative === -1 ? true : false ;\n\t}\n\n\tispositive ( ) {\n\t\treturn this.sign() > 0 ;\n\t}\n\n\tisnonnegative ( ) {\n\t\treturn !this.isnegative();\n\t}\n\n\tisnonpositive ( ) {\n\t\treturn !this.ispositive() ;\n\t}\n\n\tparity ( ) {\n\t\t// TODO optimize this, there is a much faster way to test for parity\n\t\t// when the base is a multiple of two\n\t\treturn this.modn(2) ;\n\t}\n\n\tiseven ( ) {\n\t\treturn this.parity().iszero() ;\n\t}\n\n\tisodd ( ) {\n\t\treturn !this.iseven() ;\n\t}\n\n\tbin ( ) {\n\t\treturn this.toString( 2 ) ;\n\t}\n\n\toct ( ) {\n\t\treturn this.toString( 8 ) ;\n\t}\n\n\thex ( ) {\n\t\treturn this.toString( 16 ) ;\n\t}\n\n\ttoJSON ( ) {\n\t\treturn this.hex( ) ;\n\t}\n\n\tdigits ( base = DEFAULT_DISPLAY_BASE ) {\n\t\t// TODO Once #to is implemented we can rewrite this as\n\t\t// return this.to(LITTLE_ENDIAN, base, Array) ;\n\t\treturn convert( this.base , base , this.limbs , 0 , this.limbs.length ).reverse( ) ;\n\t}\n\n\tbits ( ) {\n\t\treturn this.digits( 2 ) ;\n\t}\n\n\tdivides ( other ) {\n\t\treturn other.mod( this ).iszero( ) ;\n\t}\n\n\tdivide_knowing_divisible_by ( other ) {\n\t\t// TODO optimize\n\t\treturn this.div( other ) ;\n\t}\n\n\n\tcmp ( other ) {\n\t\t// TODO optimize with _trim_positive\n\n\t\tif ( this.iszero( ) ) {\n\t\t\tif ( other.iszero( ) ) return 0 ;\n\t\t\telse if ( other.is_negative ) return 1 ;\n\t\t\telse return -1 ;\n\t\t}\n\n\t\tif ( this.is_negative < other.is_negative ) return -1 ;\n\t\tif ( this.is_negative > other.is_negative ) return 1 ;\n\n\t\tconst a = this.limbs ;\n\t\tconst b = other._limbs_in_base( this.base ) ;\n\n\t\treturn this.is_negative === 0 ?\n\t\t\tcmp( a , 0 , a.length , b , 0 , b.length ) :\n\t\t\tcmp( b , 0 , b.length , a , 0 , a.length ) ;\n\n\t}\n\n\tcmpn ( number ) {\n\t\treturn this.cmp(_from_number(number)) ;\n\t}\n\n\teq ( other ) {\n\t\treturn this.cmp( other ) === 0 ;\n\t}\n\n\teqn ( number ) {\n\t\treturn this.cmpn( number ) === 0 ;\n\t}\n\n\tge ( other ) {\n\t\treturn this.cmp( other ) >= 0 ;\n\t}\n\n\tgen ( number ) {\n\t\treturn this.cmpn( number ) >= 0 ;\n\t}\n\n\tgt ( other ) {\n\t\treturn this.cmp( other ) > 0 ;\n\t}\n\n\tgtn ( number ) {\n\t\treturn this.cmpn( number ) > 0 ;\n\t}\n\n\tle ( other ) {\n\t\treturn this.cmp( other ) <= 0 ;\n\t}\n\n\tlen ( number ) {\n\t\treturn this.cmpn( number ) <= 0 ;\n\t}\n\n\tlt ( other ) {\n\t\treturn this.cmp( other ) < 0 ;\n\t}\n\n\tltn ( number ) {\n\t\treturn this.cmpn( number ) < 0 ;\n\t}\n\n\tne ( other ) {\n\t\treturn this.cmp( other ) !== 0 ;\n\t}\n\n\tnen ( number ) {\n\t\treturn this.cmpn( number ) !== 0 ;\n\t}\n\n\tgcd ( other ) {\n\t\tconst r = this.base ;\n\t\tconst a = this.limbs ;\n\t\tconst b = other._limbs_in_base( r ) ;\n\t\tconst [ d , di , dj ] = euclidean_algorithm( r , a , 0 , a.length , b , 0 , b.length ) ;\n\t\tconst gcd = _alloc( dj - di ) ;\n\t\t_copy( d , di , dj , gcd , 0 ) ;\n\t\treturn new Integer( r , 0 , gcd ) ;\n\t}\n\n\tegcd ( other ) {\n\t\tconst r = this.base ;\n\t\tconst a = this.limbs ;\n\t\tconst b = other._limbs_in_base( r ) ;\n\t\tconst [ R0 , R0i , S0 , S0i , T0 , T0i , S1 , S1i , T1 , T1i , steps ] = extended_euclidean_algorithm( r , a , 0 , a.length , b , 0 , b.length ) ;\n\t\tconst gcd = _alloc( R0.length - R0i ) ;\n\t\t_copy( R0 , R0i , R0.length , gcd , 0 ) ;\n\t\tconst x = _alloc( S0.length - S0i ) ;\n\t\t_copy( S0 , S0i , S0.length , x , 0 ) ;\n\t\tconst y = _alloc( T0.length - T0i ) ;\n\t\t_copy( T0 , T0i , T0.length , y , 0 ) ;\n\t\tconst u = _alloc( S1.length - S1i ) ;\n\t\t_copy( S1 , S1i , S1.length , u , 0 ) ;\n\t\tconst v = _alloc( T1.length - T1i ) ;\n\t\t_copy( T1 , T1i , T1.length , v , 0 ) ;\n\t\treturn { // TODO use immutable zero\n\t\t\tgcd: new Integer(r, 0, gcd) ,\n\t\t\tx: x.length ? new Integer(r, this.is_negative ^ ((steps % 2)-1), x) : new Integer(r, 0, [0]) ,\n\t\t\ty: y.length ? new Integer(r, other.is_negative ^ (-(steps % 2)), y) : new Integer(r, 0, [0]) ,\n\t\t\tu: u.length ? new Integer(r, this.is_negative ^ (-(steps % 2)), u) : new Integer(r, 0, [0]) ,\n\t\t\tv: v.length ? new Integer(r, other.is_negative ^ ((steps % 2)-1), v) : new Integer(r, 0, [0]) ,\n\t\t} ;\n\t}\n\n\tvalueOf ( ) {\n\n\t\tif (this.gtn(MAX_NUMBER)) throw new ValueError(`Cannot call valueOf on Integer larger than ${MAX_NUMBER}. Got ${this.toString()}`) ;\n\t\tif (this.ltn(MIN_NUMBER)) throw new ValueError(`Cannot call valueOf on Integer smaller than ${MIN_NUMBER}. Got ${this.toString()}`) ;\n\n\t\tconst limbs = convert( this.base , MAX_BASE , this.limbs , 0 , this.limbs.length ) ;\n\n\t\tconst sign = this.is_negative ? -1 : 1 ;\n\n\t\tconst value = limbs.length === 2 ?\n\t\t\tlimbs[0] * MAX_BASE + limbs[1] :\n\t\t\tlimbs[0] ;\n\n\t\treturn sign * value ;\n\t}\n\n\ttoNumber ( ) {\n\t\treturn this.valueOf( ) ;\n\t}\n\n}\n", + "content": "import { DEFAULT_DISPLAY_BASE , ZeroDivisionError } from './' ;\n\nimport { ValueError } from '@aureooms/js-error' ;\n\nimport { _from_number } from './_from_number' ;\n\nimport {\n\tstringify , convert , _trim_positive ,\n\t_alloc , _copy , _zeros ,\n\tjz , cmp , eq ,\n\tadd , _sub , mul , _idivmod , _pow_double ,\n\tincrement ,\n\teuclidean_algorithm , extended_euclidean_algorithm ,\n} from '@aureooms/js-integer-big-endian' ;\n\nimport { MIN_NUMBER , MAX_NUMBER , MAX_BASE } from './_limits' ;\n\nexport class Integer {\n\n\tconstructor ( base , is_negative , limbs ) {\n\t\tthis.base = base ;\n\t\tthis.is_negative = is_negative ;\n\t\tthis.limbs = limbs ;\n\t}\n\n\tmove ( other ) {\n\t\tother.base = this.base ;\n\t\tother.is_negative = this.is_negative ;\n\t\tother.limbs = this.limbs ;\n\t\treturn other ;\n\t}\n\n\tclone ( ) {\n\t\treturn new Integer( this.base , this.is_negative , this.limbs ) ;\n\t}\n\n\t_limbs_in_base ( base ) {\n\t\t// TODO save result for later ? Maybe replace base ?\n\t\tif ( this.base === base ) return this.limbs ;\n\t\telse return convert( this.base , base , this.limbs , 0 , this.limbs.length ) ;\n\t}\n\n\ttoString ( base = DEFAULT_DISPLAY_BASE ) {\n\n\t\tif ( this.iszero( ) ) return '0' ;\n\n\t\tconst digits = stringify( this.base , base , this.limbs , 0 , this.limbs.length ) ;\n\n\t\treturn this.is_negative ? '-' + digits : digits ;\n\n\t}\n\n\tadd ( other ) {\n\n\t\tif ( this.is_negative !== other.is_negative ) {\n\n\t\t\tif ( other.is_negative ) return this.sub( other.opposite() ) ;\n\n\t\t\telse return other.sub( this.opposite() ) ;\n\n\t\t}\n\n\t\telse {\n\n\t\t\tconst result_is_negative = this.is_negative ;\n\t\t\tconst r = this.base ;\n\n\t\t\tconst a = this.limbs ;\n\n\t\t\tconst b = other._limbs_in_base( r ) ;\n\n\t\t\tconst c = _zeros( Math.max( a.length , b.length ) + 1 ) ;\n\n\t\t\tadd( r , a , 0 , a.length , b , 0 , b.length , c , 0 , c.length ) ;\n\n\t\t\treturn new Integer( r , result_is_negative , c ) ;\n\n\t\t}\n\n\t}\n\n\tiadd ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.add(other).move(this);\n\t}\n\n\taddn ( number ) {\n\t\t// TODO optimize\n\t\treturn this.add(_from_number(number)) ;\n\t}\n\n\tiaddn ( number ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.addn(number).move(this);\n\t}\n\n\tsub ( other ) {\n\n\t\tif ( this.is_negative !== other.is_negative ) {\n\n\t\t\tif ( other.is_negative ) return this.add( other.opposite() ) ;\n\n\t\t\telse return this.opposite().add( other ).opposite() ;\n\n\t\t}\n\n\t\telse {\n\n\t\t\t// /!\\ _sub needs |c| >= |a| >= |b|\n\n\t\t\tconst r = this.base ;\n\t\t\tconst a = this.limbs ;\n\t\t\tconst aj = a.length ;\n\t\t\tconst ai = _trim_positive( a , 0 , aj ) ;\n\n\t\t\tif ( ai >= aj ) return other.opposite() ;\n\n\t\t\tconst b = other._limbs_in_base( r ) ;\n\t\t\tconst bj = b.length ;\n\t\t\tconst bi = _trim_positive( b , 0 , bj ) ;\n\n\t\t\tif ( bi >= bj ) return this.clone() ;\n\n\t\t\tif ( cmp( a , ai , aj , b , bi , bj ) < 0 ) {\n\n\t\t\t\tconst c = _zeros( bj - bi ) ;\n\n\t\t\t\t_sub( r , b , bi , bj , a , ai , aj , c , 0 , c.length ) ;\n\n\t\t\t\treturn new Integer( r , ~this.is_negative , c ) ;\n\t\t\t}\n\n\t\t\telse {\n\n\t\t\t\tconst c = _zeros( aj - ai ) ;\n\n\t\t\t\t_sub( r , a , ai , aj , b , bi , bj , c , 0 , c.length ) ;\n\n\t\t\t\treturn new Integer( r , this.is_negative , c ) ;\n\n\t\t\t}\n\n\t\t}\n\n\t}\n\n\tisub ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.sub(other).move(this);\n\t}\n\n\tsubn ( number ) {\n\t\treturn this.sub(_from_number(number));\n\t}\n\n\tisubn ( number ) {\n\t\treturn this.subn(number).move(this);\n\t}\n\n\tmul ( other ) {\n\n\t\tconst result_is_negative = this.is_negative ^ other.is_negative ;\n\t\tconst r = this.base ;\n\n\t\tconst a = this.limbs ;\n\n\t\tconst b = other._limbs_in_base( r ) ;\n\n\t\tconst c = _zeros( a.length + b.length ) ;\n\n\t\tmul( r , a , 0 , a.length , b , 0 , b.length , c , 0 , c.length ) ;\n\n\t\treturn new Integer( r , result_is_negative , c ) ;\n\n\t}\n\n\timul ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.mul(other).move(this);\n\t}\n\n\tmuln ( number ) {\n\t\treturn this.mul(_from_number(number));\n\t}\n\n\timuln ( number ) {\n\t\treturn this.muln(number).move(this);\n\t}\n\n\t/**\n\t * Computes this raised to the xth power.\n\t * x is a double smaller or equal to 2^53.\n\t *\n\t * @param {Number} x The power to raise this to.\n\t * @return {Integer} this ^ x\n\t */\n\tpown ( x ) {\n\n\t\tconst is_negative = this.is_negative & x & 1 ? -1 : 0 ;\n\n\t\tconst a = this.limbs ;\n\t\tconst c = _zeros( Math.max( 1 , a.length * x ) ) ;\n\n\t\t_pow_double( this.base , x , a , 0 , a.length , c , 0 , c.length ) ;\n\n\t\treturn new Integer( this.base , is_negative , c ) ;\n\n\t}\n\n\tpow ( other ) {\n\t\treturn this.pown( other.valueOf() ) ;\n\t}\n\n\tipow ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.pow(other).move(this);\n\t}\n\n\tipown ( number ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.pown(number).move(this);\n\t}\n\n\tsquare ( ) {\n\t\t// TODO optimize but be careful with side effects\n\t\t// TODO use this.mul(this) instead?\n\t\treturn this.pown(2);\n\t}\n\n\tisquare ( ) {\n\t\t// TODO optimize but be careful with side effects\n\t\t// TODO use this.imul(this) instead?\n\t\treturn this.square().move(this);\n\t}\n\n\tdiv ( other ) {\n\t\treturn this.divmod( other )[0] ;\n\t}\n\n\tdivn ( number ) {\n\t\treturn this.div(_from_number(number)) ;\n\t}\n\n\tidiv ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.div(other).move(this);\n\t}\n\n\tidivn ( number ) {\n\t\treturn this.divn(number).move(this);\n\t}\n\n\tmod ( other ) {\n\t\treturn this.divmod( other )[1] ;\n\t}\n\n\tmodn ( number ) {\n\t\treturn this.mod(_from_number(number)) ;\n\t}\n\n\timod ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.mod(other).move(this);\n\t}\n\n\timodn ( number ) {\n\t\treturn this.modn(number).move(this);\n\t}\n\n\tdivround ( other ) {\n\t\tconst [ q , r ] = this.divmod(other) ;\n\t\tif ( r.ge(other.divn(2).addn(other.iseven() ? 0 : 1)) ) increment( q.base , q.limbs , 0 , q.limbs.length ) ;\n\t\treturn q ;\n\t}\n\n\tdivmod ( other ) {\n\n\t\tif ( other.iszero() ) throw new ZeroDivisionError( 'Integer division by zero' ) ; // optimize\n\n\t\tconst quotient_is_negative = this.is_negative ^ other.is_negative ;\n\t\tconst r = this.base ;\n\n\t\t// The underlying algorithm does not allow leading 0's so we trim them.\n\t\tconst lj = this.limbs.length ;\n\t\tconst li = _trim_positive( this.limbs , 0 , lj ) ;\n\n\t\t// Dividend is 0\n\t\tif ( li >= lj ) return [ new Integer( this.base , 0 , [ 0 ] ) , new Integer( this.base , 0 , [ 0 ] ) ] ;\n\n\t\t// Dividend (& Remainder)\n\t\tconst D = _alloc( lj - li ) ;\n\t\t_copy( this.limbs , li , lj , D , 0 ) ;\n\n\t\t// Divisor\n\t\tconst d = other._limbs_in_base( r ) ;\n\t\tconst dj = d.length ;\n\t\tconst di = _trim_positive( d , 0 , dj ) ; // di < dj because d != 0\n\n\t\t// Quotient\n\t\tconst q = _zeros( D.length ) ;\n\n\t\t_idivmod( r , D , 0 , D.length , d , di , dj , q , 0 , q.length ) ;\n\n\t\tconst Q = new Integer( r , quotient_is_negative , q ) ; // quotient\n\t\tconst R = new Integer( r , 0 , D ) ; // remainder\n\n\t\tif ( (this.is_negative || other.is_negative ) && !jz( D , 0 , D.length ) ) {\n\n\t\t\tif ( other.is_negative ) {\n\n\t\t\t\tif ( !this.is_negative ) {\n\t\t\t\t\tincrement( r , q , 0 , q.length ) ;\n\t\t\t\t\tR.iadd( other ) ; // TODO optimize\n\t\t\t\t}\n\n\t\t\t\telse {\n\t\t\t\t\tR.negate(); // TODO optimize\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\telse {\n\t\t\t\tincrement( r , q , 0 , q.length ) ;\n\t\t\t\tR.negate().iadd( other ) ; // TODO optimize\n\t\t\t}\n\n\t\t}\n\n\t\treturn [ Q , R ] ;\n\n\t}\n\n\tidivmod ( other ) {\n\t\t// TODO optimize but be careful with side effects\n\t\tconst [ q , r ] = this.divmod(other) ;\n\t\treturn [ q , r.move(this) ] ;\n\t}\n\n\tdivmodn ( number ) {\n\t\treturn this.divmod(_from_number(number)) ;\n\t}\n\n\tidivmodn ( number ) {\n\t\tconst [ q , r ] = this.divmodn(number) ;\n\t\treturn [ q , r.move(this) ] ;\n\t}\n\n\topposite ( ) {\n\t\treturn new Integer( this.base , ~this.is_negative , this.limbs ) ;\n\t}\n\n\tnegate ( ) {\n\t\t// TODO optimize but be careful with side effects\n\t\treturn this.opposite().move(this);\n\t}\n\n\tabs ( ) {\n\t\treturn this.sign() >= 0 ? this : this.opposite(this) ;\n\t}\n\n\tiabs ( ) {\n\t\treturn this.abs().move(this) ;\n\t}\n\n\tsign ( ) {\n\t\treturn this.iszero() ? 0 : this.is_negative ? -1 : 1 ;\n\t}\n\n\tiszero ( ) {\n\t\treturn jz( this.limbs , 0 , this.limbs.length ) ;\n\t}\n\n\tisone ( ) {\n\t\tif ( this.is_negative ) return false ;\n\t\treturn eq( this.limbs , 0 , this.limbs.length , [ 1 ] , 0 , 1 ) ;\n\t}\n\n\tisnonzero ( ) {\n\t\treturn !this.iszero();\n\t}\n\n\tisnegative ( ) {\n\t\treturn this.is_negative === -1 ? true : false ;\n\t}\n\n\tispositive ( ) {\n\t\treturn this.sign() > 0 ;\n\t}\n\n\tisnonnegative ( ) {\n\t\treturn !this.isnegative();\n\t}\n\n\tisnonpositive ( ) {\n\t\treturn !this.ispositive() ;\n\t}\n\n\tparity ( ) {\n\t\t// TODO optimize this, there is a much faster way to test for parity\n\t\t// when the base is a multiple of two\n\t\treturn this.modn(2) ;\n\t}\n\n\tiseven ( ) {\n\t\treturn this.parity().iszero() ;\n\t}\n\n\tisodd ( ) {\n\t\treturn !this.iseven() ;\n\t}\n\n\tbin ( ) {\n\t\treturn this.toString( 2 ) ;\n\t}\n\n\toct ( ) {\n\t\treturn this.toString( 8 ) ;\n\t}\n\n\thex ( ) {\n\t\treturn this.toString( 16 ) ;\n\t}\n\n\ttoJSON ( ) {\n\t\treturn this.hex( ) ;\n\t}\n\n\tdigits ( base = DEFAULT_DISPLAY_BASE ) {\n\t\t// TODO Once #to is implemented we can rewrite this as\n\t\t// return this.to(LITTLE_ENDIAN, base, Array) ;\n\t\treturn convert( this.base , base , this.limbs , 0 , this.limbs.length ).reverse( ) ;\n\t}\n\n\tbits ( ) {\n\t\treturn this.digits( 2 ) ;\n\t}\n\n\tdivides ( other ) {\n\t\treturn other.mod( this ).iszero( ) ;\n\t}\n\n\tdivide_knowing_divisible_by ( other ) {\n\t\t// TODO optimize\n\t\treturn this.div( other ) ;\n\t}\n\n\n\tcmp ( other ) {\n\t\t// TODO optimize with _trim_positive\n\n\t\tif ( this.iszero( ) ) {\n\t\t\tif ( other.iszero( ) ) return 0 ;\n\t\t\telse if ( other.is_negative ) return 1 ;\n\t\t\telse return -1 ;\n\t\t}\n\n\t\tif ( this.is_negative < other.is_negative ) return -1 ;\n\t\tif ( this.is_negative > other.is_negative ) return 1 ;\n\n\t\tconst a = this.limbs ;\n\t\tconst b = other._limbs_in_base( this.base ) ;\n\n\t\treturn this.is_negative === 0 ?\n\t\t\tcmp( a , 0 , a.length , b , 0 , b.length ) :\n\t\t\tcmp( b , 0 , b.length , a , 0 , a.length ) ;\n\n\t}\n\n\tcmpn ( number ) {\n\t\treturn this.cmp(_from_number(number)) ;\n\t}\n\n\teq ( other ) {\n\t\treturn this.cmp( other ) === 0 ;\n\t}\n\n\teqn ( number ) {\n\t\treturn this.cmpn( number ) === 0 ;\n\t}\n\n\tge ( other ) {\n\t\treturn this.cmp( other ) >= 0 ;\n\t}\n\n\tgen ( number ) {\n\t\treturn this.cmpn( number ) >= 0 ;\n\t}\n\n\tgt ( other ) {\n\t\treturn this.cmp( other ) > 0 ;\n\t}\n\n\tgtn ( number ) {\n\t\treturn this.cmpn( number ) > 0 ;\n\t}\n\n\tle ( other ) {\n\t\treturn this.cmp( other ) <= 0 ;\n\t}\n\n\tlen ( number ) {\n\t\treturn this.cmpn( number ) <= 0 ;\n\t}\n\n\tlt ( other ) {\n\t\treturn this.cmp( other ) < 0 ;\n\t}\n\n\tltn ( number ) {\n\t\treturn this.cmpn( number ) < 0 ;\n\t}\n\n\tne ( other ) {\n\t\treturn this.cmp( other ) !== 0 ;\n\t}\n\n\tnen ( number ) {\n\t\treturn this.cmpn( number ) !== 0 ;\n\t}\n\n\tgcd ( other ) {\n\t\tconst r = this.base ;\n\t\tconst a = this.limbs ;\n\t\tconst b = other._limbs_in_base( r ) ;\n\t\tconst [ d , di , dj ] = euclidean_algorithm( r , a , 0 , a.length , b , 0 , b.length ) ;\n\t\tconst gcd = _alloc( dj - di ) ;\n\t\t_copy( d , di , dj , gcd , 0 ) ;\n\t\treturn new Integer( r , 0 , gcd ) ;\n\t}\n\n\tegcd ( other ) {\n\t\tconst r = this.base ;\n\t\tconst a = this.limbs ;\n\t\tconst b = other._limbs_in_base( r ) ;\n\t\tconst [ R0 , R0i , S0 , S0i , T0 , T0i , S1 , S1i , T1 , T1i , steps ] = extended_euclidean_algorithm( r , a , 0 , a.length , b , 0 , b.length ) ;\n\t\tconst gcd = _alloc( R0.length - R0i ) ;\n\t\t_copy( R0 , R0i , R0.length , gcd , 0 ) ;\n\t\tconst x = _alloc( S0.length - S0i ) ;\n\t\t_copy( S0 , S0i , S0.length , x , 0 ) ;\n\t\tconst y = _alloc( T0.length - T0i ) ;\n\t\t_copy( T0 , T0i , T0.length , y , 0 ) ;\n\t\tconst u = _alloc( S1.length - S1i ) ;\n\t\t_copy( S1 , S1i , S1.length , u , 0 ) ;\n\t\tconst v = _alloc( T1.length - T1i ) ;\n\t\t_copy( T1 , T1i , T1.length , v , 0 ) ;\n\t\treturn { // TODO use immutable zero\n\t\t\tgcd: new Integer(r, 0, gcd) ,\n\t\t\tx: x.length ? new Integer(r, this.is_negative ^ ((steps % 2)-1), x) : new Integer(r, 0, [0]) ,\n\t\t\ty: y.length ? new Integer(r, other.is_negative ^ (-(steps % 2)), y) : new Integer(r, 0, [0]) ,\n\t\t\tu: u.length ? new Integer(r, this.is_negative ^ (-(steps % 2)), u) : new Integer(r, 0, [0]) ,\n\t\t\tv: v.length ? new Integer(r, other.is_negative ^ ((steps % 2)-1), v) : new Integer(r, 0, [0]) ,\n\t\t} ;\n\t}\n\n\tvalueOf ( ) {\n\n\t\tif (this.gtn(MAX_NUMBER)) throw new ValueError(`Cannot call valueOf on Integer larger than ${MAX_NUMBER}. Got ${this.toString()}`) ;\n\t\tif (this.ltn(MIN_NUMBER)) throw new ValueError(`Cannot call valueOf on Integer smaller than ${MIN_NUMBER}. Got ${this.toString()}`) ;\n\n\t\tconst limbs = convert( this.base , MAX_BASE , this.limbs , 0 , this.limbs.length ) ;\n\n\t\tconst sign = this.is_negative ? -1 : 1 ;\n\n\t\tconst value = limbs.length === 2 ?\n\t\t\tlimbs[0] * MAX_BASE + limbs[1] :\n\t\t\tlimbs[0] ;\n\n\t\treturn sign * value ;\n\t}\n\n\ttoNumber ( ) {\n\t\treturn this.valueOf( ) ;\n\t}\n\n}\n", "static": true, "longname": "/home/aureooms/dev/js/js-integer/src/Integer.js", "access": "public", @@ -1599,6 +1599,60 @@ { "__docId__": 91, "kind": "method", + "name": "divmodn", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#divmodn", + "access": "public", + "description": null, + "lineNumber": 339, + "undocument": true, + "params": [ + { + "name": "number", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 92, + "kind": "method", + "name": "idivmodn", + "memberof": "src/Integer.js~Integer", + "generator": false, + "async": false, + "static": false, + "longname": "src/Integer.js~Integer#idivmodn", + "access": "public", + "description": null, + "lineNumber": 343, + "undocument": true, + "params": [ + { + "name": "number", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "undefined[]" + ] + } + }, + { + "__docId__": 93, + "kind": "method", "name": "opposite", "memberof": "src/Integer.js~Integer", "generator": false, @@ -1607,7 +1661,7 @@ "longname": "src/Integer.js~Integer#opposite", "access": "public", "description": null, - "lineNumber": 339, + "lineNumber": 348, "undocument": true, "params": [], "return": { @@ -1617,7 +1671,7 @@ } }, { - "__docId__": 92, + "__docId__": 94, "kind": "method", "name": "negate", "memberof": "src/Integer.js~Integer", @@ -1627,7 +1681,7 @@ "longname": "src/Integer.js~Integer#negate", "access": "public", "description": null, - "lineNumber": 343, + "lineNumber": 352, "undocument": true, "params": [], "return": { @@ -1637,7 +1691,7 @@ } }, { - "__docId__": 93, + "__docId__": 95, "kind": "method", "name": "abs", "memberof": "src/Integer.js~Integer", @@ -1647,7 +1701,7 @@ "longname": "src/Integer.js~Integer#abs", "access": "public", "description": null, - "lineNumber": 348, + "lineNumber": 357, "undocument": true, "params": [], "return": { @@ -1657,7 +1711,7 @@ } }, { - "__docId__": 94, + "__docId__": 96, "kind": "method", "name": "iabs", "memberof": "src/Integer.js~Integer", @@ -1667,7 +1721,7 @@ "longname": "src/Integer.js~Integer#iabs", "access": "public", "description": null, - "lineNumber": 352, + "lineNumber": 361, "undocument": true, "params": [], "return": { @@ -1677,7 +1731,7 @@ } }, { - "__docId__": 95, + "__docId__": 97, "kind": "method", "name": "sign", "memberof": "src/Integer.js~Integer", @@ -1687,7 +1741,7 @@ "longname": "src/Integer.js~Integer#sign", "access": "public", "description": null, - "lineNumber": 356, + "lineNumber": 365, "undocument": true, "params": [], "return": { @@ -1697,7 +1751,7 @@ } }, { - "__docId__": 96, + "__docId__": 98, "kind": "method", "name": "iszero", "memberof": "src/Integer.js~Integer", @@ -1707,7 +1761,7 @@ "longname": "src/Integer.js~Integer#iszero", "access": "public", "description": null, - "lineNumber": 360, + "lineNumber": 369, "undocument": true, "params": [], "return": { @@ -1717,7 +1771,7 @@ } }, { - "__docId__": 97, + "__docId__": 99, "kind": "method", "name": "isone", "memberof": "src/Integer.js~Integer", @@ -1727,7 +1781,7 @@ "longname": "src/Integer.js~Integer#isone", "access": "public", "description": null, - "lineNumber": 364, + "lineNumber": 373, "undocument": true, "params": [], "return": { @@ -1737,7 +1791,7 @@ } }, { - "__docId__": 98, + "__docId__": 100, "kind": "method", "name": "isnonzero", "memberof": "src/Integer.js~Integer", @@ -1747,7 +1801,7 @@ "longname": "src/Integer.js~Integer#isnonzero", "access": "public", "description": null, - "lineNumber": 369, + "lineNumber": 378, "undocument": true, "params": [], "return": { @@ -1757,7 +1811,7 @@ } }, { - "__docId__": 99, + "__docId__": 101, "kind": "method", "name": "isnegative", "memberof": "src/Integer.js~Integer", @@ -1767,7 +1821,7 @@ "longname": "src/Integer.js~Integer#isnegative", "access": "public", "description": null, - "lineNumber": 373, + "lineNumber": 382, "undocument": true, "params": [], "return": { @@ -1777,7 +1831,7 @@ } }, { - "__docId__": 100, + "__docId__": 102, "kind": "method", "name": "ispositive", "memberof": "src/Integer.js~Integer", @@ -1787,7 +1841,7 @@ "longname": "src/Integer.js~Integer#ispositive", "access": "public", "description": null, - "lineNumber": 377, + "lineNumber": 386, "undocument": true, "params": [], "return": { @@ -1797,7 +1851,7 @@ } }, { - "__docId__": 101, + "__docId__": 103, "kind": "method", "name": "isnonnegative", "memberof": "src/Integer.js~Integer", @@ -1807,7 +1861,7 @@ "longname": "src/Integer.js~Integer#isnonnegative", "access": "public", "description": null, - "lineNumber": 381, + "lineNumber": 390, "undocument": true, "params": [], "return": { @@ -1817,7 +1871,7 @@ } }, { - "__docId__": 102, + "__docId__": 104, "kind": "method", "name": "isnonpositive", "memberof": "src/Integer.js~Integer", @@ -1827,7 +1881,7 @@ "longname": "src/Integer.js~Integer#isnonpositive", "access": "public", "description": null, - "lineNumber": 385, + "lineNumber": 394, "undocument": true, "params": [], "return": { @@ -1837,7 +1891,7 @@ } }, { - "__docId__": 103, + "__docId__": 105, "kind": "method", "name": "parity", "memberof": "src/Integer.js~Integer", @@ -1847,7 +1901,7 @@ "longname": "src/Integer.js~Integer#parity", "access": "public", "description": null, - "lineNumber": 389, + "lineNumber": 398, "undocument": true, "params": [], "return": { @@ -1857,7 +1911,7 @@ } }, { - "__docId__": 104, + "__docId__": 106, "kind": "method", "name": "iseven", "memberof": "src/Integer.js~Integer", @@ -1867,7 +1921,7 @@ "longname": "src/Integer.js~Integer#iseven", "access": "public", "description": null, - "lineNumber": 395, + "lineNumber": 404, "undocument": true, "params": [], "return": { @@ -1877,7 +1931,7 @@ } }, { - "__docId__": 105, + "__docId__": 107, "kind": "method", "name": "isodd", "memberof": "src/Integer.js~Integer", @@ -1887,7 +1941,7 @@ "longname": "src/Integer.js~Integer#isodd", "access": "public", "description": null, - "lineNumber": 399, + "lineNumber": 408, "undocument": true, "params": [], "return": { @@ -1897,7 +1951,7 @@ } }, { - "__docId__": 106, + "__docId__": 108, "kind": "method", "name": "bin", "memberof": "src/Integer.js~Integer", @@ -1907,7 +1961,7 @@ "longname": "src/Integer.js~Integer#bin", "access": "public", "description": null, - "lineNumber": 403, + "lineNumber": 412, "undocument": true, "params": [], "return": { @@ -1917,7 +1971,7 @@ } }, { - "__docId__": 107, + "__docId__": 109, "kind": "method", "name": "oct", "memberof": "src/Integer.js~Integer", @@ -1927,7 +1981,7 @@ "longname": "src/Integer.js~Integer#oct", "access": "public", "description": null, - "lineNumber": 407, + "lineNumber": 416, "undocument": true, "params": [], "return": { @@ -1937,7 +1991,7 @@ } }, { - "__docId__": 108, + "__docId__": 110, "kind": "method", "name": "hex", "memberof": "src/Integer.js~Integer", @@ -1947,7 +2001,7 @@ "longname": "src/Integer.js~Integer#hex", "access": "public", "description": null, - "lineNumber": 411, + "lineNumber": 420, "undocument": true, "params": [], "return": { @@ -1957,7 +2011,7 @@ } }, { - "__docId__": 109, + "__docId__": 111, "kind": "method", "name": "toJSON", "memberof": "src/Integer.js~Integer", @@ -1967,7 +2021,7 @@ "longname": "src/Integer.js~Integer#toJSON", "access": "public", "description": null, - "lineNumber": 415, + "lineNumber": 424, "undocument": true, "params": [], "return": { @@ -1977,7 +2031,7 @@ } }, { - "__docId__": 110, + "__docId__": 112, "kind": "method", "name": "digits", "memberof": "src/Integer.js~Integer", @@ -1987,7 +2041,7 @@ "longname": "src/Integer.js~Integer#digits", "access": "public", "description": null, - "lineNumber": 419, + "lineNumber": 428, "undocument": true, "params": [ { @@ -2007,7 +2061,7 @@ } }, { - "__docId__": 111, + "__docId__": 113, "kind": "method", "name": "bits", "memberof": "src/Integer.js~Integer", @@ -2017,7 +2071,7 @@ "longname": "src/Integer.js~Integer#bits", "access": "public", "description": null, - "lineNumber": 425, + "lineNumber": 434, "undocument": true, "params": [], "return": { @@ -2027,7 +2081,7 @@ } }, { - "__docId__": 112, + "__docId__": 114, "kind": "method", "name": "divides", "memberof": "src/Integer.js~Integer", @@ -2037,7 +2091,7 @@ "longname": "src/Integer.js~Integer#divides", "access": "public", "description": null, - "lineNumber": 429, + "lineNumber": 438, "undocument": true, "params": [ { @@ -2054,7 +2108,7 @@ } }, { - "__docId__": 113, + "__docId__": 115, "kind": "method", "name": "divide_knowing_divisible_by", "memberof": "src/Integer.js~Integer", @@ -2064,7 +2118,7 @@ "longname": "src/Integer.js~Integer#divide_knowing_divisible_by", "access": "public", "description": null, - "lineNumber": 433, + "lineNumber": 442, "undocument": true, "params": [ { @@ -2081,7 +2135,7 @@ } }, { - "__docId__": 114, + "__docId__": 116, "kind": "method", "name": "cmp", "memberof": "src/Integer.js~Integer", @@ -2091,7 +2145,7 @@ "longname": "src/Integer.js~Integer#cmp", "access": "public", "description": null, - "lineNumber": 439, + "lineNumber": 448, "undocument": true, "params": [ { @@ -2108,7 +2162,7 @@ } }, { - "__docId__": 115, + "__docId__": 117, "kind": "method", "name": "cmpn", "memberof": "src/Integer.js~Integer", @@ -2118,7 +2172,7 @@ "longname": "src/Integer.js~Integer#cmpn", "access": "public", "description": null, - "lineNumber": 460, + "lineNumber": 469, "undocument": true, "params": [ { @@ -2135,7 +2189,7 @@ } }, { - "__docId__": 116, + "__docId__": 118, "kind": "method", "name": "eq", "memberof": "src/Integer.js~Integer", @@ -2145,7 +2199,7 @@ "longname": "src/Integer.js~Integer#eq", "access": "public", "description": null, - "lineNumber": 464, + "lineNumber": 473, "undocument": true, "params": [ { @@ -2162,7 +2216,7 @@ } }, { - "__docId__": 117, + "__docId__": 119, "kind": "method", "name": "eqn", "memberof": "src/Integer.js~Integer", @@ -2172,7 +2226,7 @@ "longname": "src/Integer.js~Integer#eqn", "access": "public", "description": null, - "lineNumber": 468, + "lineNumber": 477, "undocument": true, "params": [ { @@ -2189,7 +2243,7 @@ } }, { - "__docId__": 118, + "__docId__": 120, "kind": "method", "name": "ge", "memberof": "src/Integer.js~Integer", @@ -2199,7 +2253,7 @@ "longname": "src/Integer.js~Integer#ge", "access": "public", "description": null, - "lineNumber": 472, + "lineNumber": 481, "undocument": true, "params": [ { @@ -2216,7 +2270,7 @@ } }, { - "__docId__": 119, + "__docId__": 121, "kind": "method", "name": "gen", "memberof": "src/Integer.js~Integer", @@ -2226,7 +2280,7 @@ "longname": "src/Integer.js~Integer#gen", "access": "public", "description": null, - "lineNumber": 476, + "lineNumber": 485, "undocument": true, "params": [ { @@ -2243,7 +2297,7 @@ } }, { - "__docId__": 120, + "__docId__": 122, "kind": "method", "name": "gt", "memberof": "src/Integer.js~Integer", @@ -2253,7 +2307,7 @@ "longname": "src/Integer.js~Integer#gt", "access": "public", "description": null, - "lineNumber": 480, + "lineNumber": 489, "undocument": true, "params": [ { @@ -2270,7 +2324,7 @@ } }, { - "__docId__": 121, + "__docId__": 123, "kind": "method", "name": "gtn", "memberof": "src/Integer.js~Integer", @@ -2280,7 +2334,7 @@ "longname": "src/Integer.js~Integer#gtn", "access": "public", "description": null, - "lineNumber": 484, + "lineNumber": 493, "undocument": true, "params": [ { @@ -2297,7 +2351,7 @@ } }, { - "__docId__": 122, + "__docId__": 124, "kind": "method", "name": "le", "memberof": "src/Integer.js~Integer", @@ -2307,7 +2361,7 @@ "longname": "src/Integer.js~Integer#le", "access": "public", "description": null, - "lineNumber": 488, + "lineNumber": 497, "undocument": true, "params": [ { @@ -2324,7 +2378,7 @@ } }, { - "__docId__": 123, + "__docId__": 125, "kind": "method", "name": "len", "memberof": "src/Integer.js~Integer", @@ -2334,7 +2388,7 @@ "longname": "src/Integer.js~Integer#len", "access": "public", "description": null, - "lineNumber": 492, + "lineNumber": 501, "undocument": true, "params": [ { @@ -2351,7 +2405,7 @@ } }, { - "__docId__": 124, + "__docId__": 126, "kind": "method", "name": "lt", "memberof": "src/Integer.js~Integer", @@ -2361,7 +2415,7 @@ "longname": "src/Integer.js~Integer#lt", "access": "public", "description": null, - "lineNumber": 496, + "lineNumber": 505, "undocument": true, "params": [ { @@ -2378,7 +2432,7 @@ } }, { - "__docId__": 125, + "__docId__": 127, "kind": "method", "name": "ltn", "memberof": "src/Integer.js~Integer", @@ -2388,7 +2442,7 @@ "longname": "src/Integer.js~Integer#ltn", "access": "public", "description": null, - "lineNumber": 500, + "lineNumber": 509, "undocument": true, "params": [ { @@ -2405,7 +2459,7 @@ } }, { - "__docId__": 126, + "__docId__": 128, "kind": "method", "name": "ne", "memberof": "src/Integer.js~Integer", @@ -2415,7 +2469,7 @@ "longname": "src/Integer.js~Integer#ne", "access": "public", "description": null, - "lineNumber": 504, + "lineNumber": 513, "undocument": true, "params": [ { @@ -2432,7 +2486,7 @@ } }, { - "__docId__": 127, + "__docId__": 129, "kind": "method", "name": "nen", "memberof": "src/Integer.js~Integer", @@ -2442,7 +2496,7 @@ "longname": "src/Integer.js~Integer#nen", "access": "public", "description": null, - "lineNumber": 508, + "lineNumber": 517, "undocument": true, "params": [ { @@ -2459,7 +2513,7 @@ } }, { - "__docId__": 128, + "__docId__": 130, "kind": "method", "name": "gcd", "memberof": "src/Integer.js~Integer", @@ -2469,7 +2523,7 @@ "longname": "src/Integer.js~Integer#gcd", "access": "public", "description": null, - "lineNumber": 512, + "lineNumber": 521, "undocument": true, "params": [ { @@ -2486,7 +2540,7 @@ } }, { - "__docId__": 129, + "__docId__": 131, "kind": "method", "name": "egcd", "memberof": "src/Integer.js~Integer", @@ -2496,7 +2550,7 @@ "longname": "src/Integer.js~Integer#egcd", "access": "public", "description": null, - "lineNumber": 522, + "lineNumber": 531, "undocument": true, "params": [ { @@ -2513,7 +2567,7 @@ } }, { - "__docId__": 130, + "__docId__": 132, "kind": "method", "name": "valueOf", "memberof": "src/Integer.js~Integer", @@ -2523,7 +2577,7 @@ "longname": "src/Integer.js~Integer#valueOf", "access": "public", "description": null, - "lineNumber": 546, + "lineNumber": 555, "undocument": true, "params": [], "return": { @@ -2533,7 +2587,7 @@ } }, { - "__docId__": 131, + "__docId__": 133, "kind": "method", "name": "toNumber", "memberof": "src/Integer.js~Integer", @@ -2543,7 +2597,7 @@ "longname": "src/Integer.js~Integer#toNumber", "access": "public", "description": null, - "lineNumber": 562, + "lineNumber": 571, "undocument": true, "params": [], "return": { @@ -2553,7 +2607,7 @@ } }, { - "__docId__": 132, + "__docId__": 134, "kind": "file", "name": "src/IntegerRing.js", "content": "import { Integer } from './' ;\nimport { DEFAULT_DISPLAY_BASE } from './' ;\nimport { parse , convert } from '@aureooms/js-integer-big-endian' ;\nimport { TypeError , ValueError } from '@aureooms/js-error' ;\nimport { _from_number } from './_from_number' ;\n\nexport class IntegerRing {\n\n\tconstructor ( name , base ) {\n\t\tthis.name = name ;\n\t\tthis.base = base ;\n\t}\n\n\tcharacteristic ( ) {\n\t\treturn this.$0() ;\n\t}\n\n\tfrom ( object , base = undefined , is_negative = 0 ) {\n\n\t\tif ( object === null || object === undefined ) return this.$0();\n\n\t\tswitch ( object.constructor.prototype ) {\n\n\t\t\tcase Number.prototype :\n\t\t\t\tif ( base !== undefined ) throw new ValueError('IntegerRing#from: using the base parameter does not make sense when passing a Number.') ;\n\t\t\t\treturn this.from_number( object , is_negative ) ;\n\n\t\t\tcase String.prototype :\n\t\t\t\tif ( base === undefined ) base = DEFAULT_DISPLAY_BASE ;\n\t\t\t\treturn this.from_string( object , base , is_negative ) ;\n\n\t\t\tcase Array.prototype :\n\t\t\t\tif ( base === undefined ) base = this.base ;\n\t\t\t\treturn this.from_digits( object , base , is_negative ) ;\n\n\t\t\tcase Boolean.prototype :\n\t\t\t\tif ( base !== undefined ) throw new ValueError('IntegerRing#from: using the base parameter does not make sense when passing a Boolean.') ;\n\t\t\t\treturn this.from_number( +object , is_negative ) ;\n\n\t\t\tcase Integer.prototype :\n\t\t\t\tif ( base !== undefined ) throw new ValueError('IntegerRing#from: using the base parameter does not make sense when passing an Integer.') ;\n\t\t\t\treturn new Integer( object.base , object.is_negative ^ is_negative , object.limbs ) ;\n\n\t\t\tdefault:\n\t\t\t\tthrow new TypeError(`IntegerRing#from cannot handle ${object.constructor.prototype}`) ;\n\n\t\t}\n\n\t}\n\n\tfrom_number ( number , is_negative = 0 ) {\n\n\t\tconst dirty = _from_number(number) ;\n\n\t\tconst limbs = dirty._limbs_in_base(this.base) ;\n\n\t\treturn new Integer( this.base , is_negative ^ dirty.is_negative , limbs ) ;\n\n\t}\n\n\tfrom_string ( string , base = 10 , is_negative = 0 ) {\n\n\t\tif ( string.length === 0 ) throw new ValueError( 'IntegerRing#from_string cannot parse empty string.' ) ;\n\n\t\tif ( string[0] === '-' ) return this.from_string( string.slice(1) , base , ~is_negative ) ;\n\n\t\tif ( string[0] === '+' ) return this.from_string( string.slice(1) , base , is_negative ) ;\n\n\t\tconst limbs = parse( base , this.base , string ) ;\n\n\t\tif (limbs.length === 1 && limbs[0] === 0) is_negative = 0 ;\n\n\t\treturn new Integer( this.base , is_negative , limbs ) ;\n\n\t}\n\n\tfrom_digits ( digits , base , is_negative ) {\n\n\t\tconst limbs = convert( base , this.base , digits.slice().reverse() , 0 , digits.length ) ;\n\n\t\treturn new Integer( this.base , is_negative , limbs ) ;\n\n\t}\n\n\ttoString ( ) {\n\t\treturn this.name ;\n\t}\n\n\t$0 ( ) {\n\t\t// TODO Could we use an empty array instead ?\n\t\treturn new Integer( this.base , 0 , [ 0 ] ) ;\n\t}\n\n\t$1 ( ) {\n\t\treturn new Integer( this.base , 0 , [ 1 ] ) ;\n\t}\n\n\t$_1 ( ) {\n\t\treturn new Integer( this.base , -1 , [ 1 ] ) ;\n\t}\n\n\thas ( x ) {\n\t\tif ( x instanceof Integer ) return true ;\n\t\treturn Number.isInteger(x) ;\n\t}\n\n\tmin ( a , b ) {\n\t\treturn a.le(b) ? a : b ;\n\t}\n\n\tmax ( a , b ) {\n\t\treturn a.ge(b) ? a : b ;\n\t}\n\n}\n", @@ -2564,7 +2618,7 @@ "lineNumber": 1 }, { - "__docId__": 133, + "__docId__": 135, "kind": "class", "name": "IntegerRing", "memberof": "src/IntegerRing.js", @@ -2580,7 +2634,7 @@ "interface": false }, { - "__docId__": 134, + "__docId__": 136, "kind": "constructor", "name": "constructor", "memberof": "src/IntegerRing.js~IntegerRing", @@ -2594,7 +2648,7 @@ "undocument": true }, { - "__docId__": 135, + "__docId__": 137, "kind": "member", "name": "name", "memberof": "src/IntegerRing.js~IntegerRing", @@ -2611,7 +2665,7 @@ } }, { - "__docId__": 136, + "__docId__": 138, "kind": "member", "name": "base", "memberof": "src/IntegerRing.js~IntegerRing", @@ -2628,7 +2682,7 @@ } }, { - "__docId__": 137, + "__docId__": 139, "kind": "method", "name": "characteristic", "memberof": "src/IntegerRing.js~IntegerRing", @@ -2648,7 +2702,7 @@ } }, { - "__docId__": 138, + "__docId__": 140, "kind": "method", "name": "from", "memberof": "src/IntegerRing.js~IntegerRing", @@ -2693,7 +2747,7 @@ } }, { - "__docId__": 139, + "__docId__": 141, "kind": "method", "name": "from_number", "memberof": "src/IntegerRing.js~IntegerRing", @@ -2729,7 +2783,7 @@ } }, { - "__docId__": 140, + "__docId__": 142, "kind": "method", "name": "from_string", "memberof": "src/IntegerRing.js~IntegerRing", @@ -2774,7 +2828,7 @@ } }, { - "__docId__": 141, + "__docId__": 143, "kind": "method", "name": "from_digits", "memberof": "src/IntegerRing.js~IntegerRing", @@ -2813,7 +2867,7 @@ } }, { - "__docId__": 142, + "__docId__": 144, "kind": "method", "name": "toString", "memberof": "src/IntegerRing.js~IntegerRing", @@ -2833,7 +2887,7 @@ } }, { - "__docId__": 143, + "__docId__": 145, "kind": "method", "name": "$0", "memberof": "src/IntegerRing.js~IntegerRing", @@ -2853,7 +2907,7 @@ } }, { - "__docId__": 144, + "__docId__": 146, "kind": "method", "name": "$1", "memberof": "src/IntegerRing.js~IntegerRing", @@ -2873,7 +2927,7 @@ } }, { - "__docId__": 145, + "__docId__": 147, "kind": "method", "name": "$_1", "memberof": "src/IntegerRing.js~IntegerRing", @@ -2893,7 +2947,7 @@ } }, { - "__docId__": 146, + "__docId__": 148, "kind": "method", "name": "has", "memberof": "src/IntegerRing.js~IntegerRing", @@ -2920,7 +2974,7 @@ } }, { - "__docId__": 147, + "__docId__": 149, "kind": "method", "name": "min", "memberof": "src/IntegerRing.js~IntegerRing", @@ -2953,7 +3007,7 @@ } }, { - "__docId__": 148, + "__docId__": 150, "kind": "method", "name": "max", "memberof": "src/IntegerRing.js~IntegerRing", @@ -2986,7 +3040,7 @@ } }, { - "__docId__": 149, + "__docId__": 151, "kind": "file", "name": "src/ZZ.js", "content": "\nimport {\n\tDEFAULT_REPRESENTATION_BASE ,\n\tIntegerRing ,\n} from './' ;\n\nexport const ZZ = new IntegerRing( 'Integer Ring' , DEFAULT_REPRESENTATION_BASE ) ;\n", @@ -2997,7 +3051,7 @@ "lineNumber": 1 }, { - "__docId__": 150, + "__docId__": 152, "kind": "variable", "name": "ZZ", "memberof": "src/ZZ.js", @@ -3017,7 +3071,7 @@ } }, { - "__docId__": 151, + "__docId__": 153, "kind": "file", "name": "src/ZeroDivisionError.js", "content": "\nexport class ZeroDivisionError extends Error {\n\n\tconstructor ( message ) {\n\t\tsuper( message ) ;\n\t}\n\n\ttoString ( ) {\n\t\treturn `ZeroDivisionError: ${this.message}` ;\n\t}\n\n}\n", @@ -3028,7 +3082,7 @@ "lineNumber": 1 }, { - "__docId__": 152, + "__docId__": 154, "kind": "class", "name": "ZeroDivisionError", "memberof": "src/ZeroDivisionError.js", @@ -3047,7 +3101,7 @@ ] }, { - "__docId__": 153, + "__docId__": 155, "kind": "constructor", "name": "constructor", "memberof": "src/ZeroDivisionError.js~ZeroDivisionError", @@ -3061,7 +3115,7 @@ "undocument": true }, { - "__docId__": 154, + "__docId__": 156, "kind": "method", "name": "toString", "memberof": "src/ZeroDivisionError.js~ZeroDivisionError", @@ -3081,7 +3135,7 @@ } }, { - "__docId__": 155, + "__docId__": 157, "kind": "file", "name": "src/_from_number.js", "content": "import { Integer } from './Integer' ;\nimport { MAX_BASE } from './_limits' ;\n\nexport function _from_number ( number ) {\n\tconst x = number >= 0 ? number : -number ;\n\tconst is_negative = number >= 0 ? 0 : -1 ;\n\treturn x < MAX_BASE ?\n\t\tnew Integer( MAX_BASE , is_negative , [ x ] ) :\n\t\tnew Integer( MAX_BASE , is_negative , [ x / MAX_BASE | 0 , x % MAX_BASE ] ) ;\n}\n", @@ -3092,7 +3146,7 @@ "lineNumber": 1 }, { - "__docId__": 156, + "__docId__": 158, "kind": "function", "name": "_from_number", "memberof": "src/_from_number.js", @@ -3122,7 +3176,7 @@ } }, { - "__docId__": 157, + "__docId__": 159, "kind": "file", "name": "src/_limits.js", "content": "// The range of valid numbers is -2^53 to 2^53 - 1\nexport const MAX_NUMBER = Math.pow(2,53) - 1 ;\nexport const MIN_NUMBER = -Math.pow(2,53) ;\nexport const MIN_BASE = 2 ;\nexport const MAX_BASE = Math.ceil(Math.sqrt(Math.pow(2,53))) ;\n", @@ -3133,7 +3187,7 @@ "lineNumber": 1 }, { - "__docId__": 158, + "__docId__": 160, "kind": "variable", "name": "MAX_NUMBER", "memberof": "src/_limits.js", @@ -3153,7 +3207,7 @@ } }, { - "__docId__": 159, + "__docId__": 161, "kind": "variable", "name": "MIN_NUMBER", "memberof": "src/_limits.js", @@ -3173,7 +3227,7 @@ } }, { - "__docId__": 160, + "__docId__": 162, "kind": "variable", "name": "MIN_BASE", "memberof": "src/_limits.js", @@ -3193,7 +3247,7 @@ } }, { - "__docId__": 161, + "__docId__": 163, "kind": "variable", "name": "MAX_BASE", "memberof": "src/_limits.js", @@ -3213,7 +3267,7 @@ } }, { - "__docId__": 162, + "__docId__": 164, "kind": "file", "name": "src/index.js", "content": "export * from './DEFAULT_DISPLAY_BASE' ;\nexport * from './DEFAULT_REPRESENTATION_BASE' ;\nexport * from './Integer' ;\nexport * from './IntegerRing' ;\nexport * from './ZZ' ;\nexport * from './ZeroDivisionError' ;\nexport * from './integer' ;\nexport * from './_limits' ;\n", @@ -3224,10 +3278,10 @@ "lineNumber": 1 }, { - "__docId__": 163, + "__docId__": 165, "kind": "file", "name": "src/integer.js", - "content": "import { DEFAULT_DISPLAY_BASE , ZZ } from './' ;\n\nexport function $0 ( ) {\n\treturn ZZ.$0() ;\n}\n\nexport function $1 ( ) {\n\treturn ZZ.$1() ;\n}\n\nexport function $_1 ( ) {\n\treturn ZZ.$_1() ;\n}\n\nexport function parse ( object , base = undefined , is_negative = 0 ) {\n\treturn ZZ.from( object , base , is_negative ) ;\n}\n\nexport function stringify ( integer , base = DEFAULT_DISPLAY_BASE ) {\n\treturn integer.toString( base ) ;\n}\n\nexport function add ( first , second ) {\n\treturn first.add(second) ;\n}\n\nexport function iadd ( first , second ) {\n\treturn first.iadd(second) ;\n}\n\nexport function sub ( first , second ) {\n\treturn first.sub(second) ;\n}\n\nexport function isub ( first , second ) {\n\treturn first.isub(second) ;\n}\n\nexport function mul ( first , second ) {\n\treturn first.mul(second) ;\n}\n\nexport function imul ( first , second ) {\n\treturn first.imul(second) ;\n}\n\nexport function pow ( first , second ) {\n\treturn first.pow(second) ;\n}\n\nexport function ipow ( first , second ) {\n\treturn first.ipow(second) ;\n}\n\nexport function div ( first , second ) {\n\treturn first.div(second) ;\n}\n\nexport function idiv ( first , second ) {\n\treturn first.idiv(second) ;\n}\n\nexport function mod ( first , second ) {\n\treturn first.mod(second) ;\n}\n\nexport function imod ( first , second ) {\n\treturn first.imod(second) ;\n}\n\nexport function addn ( first , second ) {\n\treturn first.addn(second) ;\n}\n\nexport function iaddn ( first , second ) {\n\treturn first.iaddn(second) ;\n}\n\nexport function subn ( first , second ) {\n\treturn first.subn(second) ;\n}\n\nexport function isubn ( first , second ) {\n\treturn first.isubn(second) ;\n}\n\nexport function muln ( first , second ) {\n\treturn first.muln(second) ;\n}\n\nexport function imuln ( first , second ) {\n\treturn first.imuln(second) ;\n}\n\nexport function pown ( first , second ) {\n\treturn first.pown(second) ;\n}\n\nexport function ipown ( first , second ) {\n\treturn first.ipown(second) ;\n}\n\nexport function divn ( first , second ) {\n\treturn first.divn(second) ;\n}\n\nexport function idivn ( first , second ) {\n\treturn first.idivn(second) ;\n}\n\nexport function modn ( first , second ) {\n\treturn first.modn(second) ;\n}\n\nexport function imodn ( first , second ) {\n\treturn first.imodn(second) ;\n}\n", + "content": "import { DEFAULT_DISPLAY_BASE , ZZ } from './' ;\n\nexport function $0 ( ) {\n\treturn ZZ.$0() ;\n}\n\nexport function $1 ( ) {\n\treturn ZZ.$1() ;\n}\n\nexport function $_1 ( ) {\n\treturn ZZ.$_1() ;\n}\n\nexport function parse ( object , base = undefined , is_negative = 0 ) {\n\treturn ZZ.from( object , base , is_negative ) ;\n}\n\nexport function stringify ( integer , base = DEFAULT_DISPLAY_BASE ) {\n\treturn integer.toString( base ) ;\n}\n\nexport function add ( first , second ) {\n\treturn first.add(second) ;\n}\n\nexport function iadd ( first , second ) {\n\treturn first.iadd(second) ;\n}\n\nexport function sub ( first , second ) {\n\treturn first.sub(second) ;\n}\n\nexport function isub ( first , second ) {\n\treturn first.isub(second) ;\n}\n\nexport function mul ( first , second ) {\n\treturn first.mul(second) ;\n}\n\nexport function imul ( first , second ) {\n\treturn first.imul(second) ;\n}\n\nexport function pow ( first , second ) {\n\treturn first.pow(second) ;\n}\n\nexport function ipow ( first , second ) {\n\treturn first.ipow(second) ;\n}\n\nexport function div ( first , second ) {\n\treturn first.div(second) ;\n}\n\nexport function idiv ( first , second ) {\n\treturn first.idiv(second) ;\n}\n\nexport function mod ( first , second ) {\n\treturn first.mod(second) ;\n}\n\nexport function imod ( first , second ) {\n\treturn first.imod(second) ;\n}\n\nexport function divmod ( first , second ) {\n\treturn first.divmod(second) ;\n}\n\nexport function idivmod ( first , second ) {\n\treturn first.idivmod(second) ;\n}\n\nexport function addn ( first , second ) {\n\treturn first.addn(second) ;\n}\n\nexport function iaddn ( first , second ) {\n\treturn first.iaddn(second) ;\n}\n\nexport function subn ( first , second ) {\n\treturn first.subn(second) ;\n}\n\nexport function isubn ( first , second ) {\n\treturn first.isubn(second) ;\n}\n\nexport function muln ( first , second ) {\n\treturn first.muln(second) ;\n}\n\nexport function imuln ( first , second ) {\n\treturn first.imuln(second) ;\n}\n\nexport function pown ( first , second ) {\n\treturn first.pown(second) ;\n}\n\nexport function ipown ( first , second ) {\n\treturn first.ipown(second) ;\n}\n\nexport function divn ( first , second ) {\n\treturn first.divn(second) ;\n}\n\nexport function idivn ( first , second ) {\n\treturn first.idivn(second) ;\n}\n\nexport function modn ( first , second ) {\n\treturn first.modn(second) ;\n}\n\nexport function imodn ( first , second ) {\n\treturn first.imodn(second) ;\n}\n\nexport function divmodn ( first , second ) {\n\treturn first.divmodn(second) ;\n}\n\nexport function idivmodn ( first , second ) {\n\treturn first.idivmodn(second) ;\n}\n", "static": true, "longname": "/home/aureooms/dev/js/js-integer/src/integer.js", "access": "public", @@ -3235,7 +3289,7 @@ "lineNumber": 1 }, { - "__docId__": 164, + "__docId__": 166, "kind": "function", "name": "$0", "memberof": "src/integer.js", @@ -3258,7 +3312,7 @@ } }, { - "__docId__": 165, + "__docId__": 167, "kind": "function", "name": "$1", "memberof": "src/integer.js", @@ -3281,7 +3335,7 @@ } }, { - "__docId__": 166, + "__docId__": 168, "kind": "function", "name": "$_1", "memberof": "src/integer.js", @@ -3304,7 +3358,7 @@ } }, { - "__docId__": 167, + "__docId__": 169, "kind": "function", "name": "parse", "memberof": "src/integer.js", @@ -3352,7 +3406,7 @@ } }, { - "__docId__": 168, + "__docId__": 170, "kind": "function", "name": "stringify", "memberof": "src/integer.js", @@ -3391,7 +3445,7 @@ } }, { - "__docId__": 169, + "__docId__": 171, "kind": "function", "name": "add", "memberof": "src/integer.js", @@ -3427,7 +3481,7 @@ } }, { - "__docId__": 170, + "__docId__": 172, "kind": "function", "name": "iadd", "memberof": "src/integer.js", @@ -3463,7 +3517,7 @@ } }, { - "__docId__": 171, + "__docId__": 173, "kind": "function", "name": "sub", "memberof": "src/integer.js", @@ -3499,7 +3553,7 @@ } }, { - "__docId__": 172, + "__docId__": 174, "kind": "function", "name": "isub", "memberof": "src/integer.js", @@ -3535,7 +3589,7 @@ } }, { - "__docId__": 173, + "__docId__": 175, "kind": "function", "name": "mul", "memberof": "src/integer.js", @@ -3571,7 +3625,7 @@ } }, { - "__docId__": 174, + "__docId__": 176, "kind": "function", "name": "imul", "memberof": "src/integer.js", @@ -3607,7 +3661,7 @@ } }, { - "__docId__": 175, + "__docId__": 177, "kind": "function", "name": "pow", "memberof": "src/integer.js", @@ -3643,7 +3697,7 @@ } }, { - "__docId__": 176, + "__docId__": 178, "kind": "function", "name": "ipow", "memberof": "src/integer.js", @@ -3679,7 +3733,7 @@ } }, { - "__docId__": 177, + "__docId__": 179, "kind": "function", "name": "div", "memberof": "src/integer.js", @@ -3715,7 +3769,7 @@ } }, { - "__docId__": 178, + "__docId__": 180, "kind": "function", "name": "idiv", "memberof": "src/integer.js", @@ -3751,7 +3805,7 @@ } }, { - "__docId__": 179, + "__docId__": 181, "kind": "function", "name": "mod", "memberof": "src/integer.js", @@ -3787,7 +3841,7 @@ } }, { - "__docId__": 180, + "__docId__": 182, "kind": "function", "name": "imod", "memberof": "src/integer.js", @@ -3823,7 +3877,79 @@ } }, { - "__docId__": 181, + "__docId__": 183, + "kind": "function", + "name": "divmod", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~divmod", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{divmod}", + "description": null, + "lineNumber": 71, + "undocument": true, + "params": [ + { + "name": "first", + "types": [ + "*" + ] + }, + { + "name": "second", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 184, + "kind": "function", + "name": "idivmod", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~idivmod", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{idivmod}", + "description": null, + "lineNumber": 75, + "undocument": true, + "params": [ + { + "name": "first", + "types": [ + "*" + ] + }, + { + "name": "second", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 185, "kind": "function", "name": "addn", "memberof": "src/integer.js", @@ -3836,7 +3962,7 @@ "importPath": "@aureooms/js-integer/src/integer.js", "importStyle": "{addn}", "description": null, - "lineNumber": 71, + "lineNumber": 79, "undocument": true, "params": [ { @@ -3859,7 +3985,7 @@ } }, { - "__docId__": 182, + "__docId__": 186, "kind": "function", "name": "iaddn", "memberof": "src/integer.js", @@ -3872,7 +3998,7 @@ "importPath": "@aureooms/js-integer/src/integer.js", "importStyle": "{iaddn}", "description": null, - "lineNumber": 75, + "lineNumber": 83, "undocument": true, "params": [ { @@ -3895,7 +4021,7 @@ } }, { - "__docId__": 183, + "__docId__": 187, "kind": "function", "name": "subn", "memberof": "src/integer.js", @@ -3908,7 +4034,7 @@ "importPath": "@aureooms/js-integer/src/integer.js", "importStyle": "{subn}", "description": null, - "lineNumber": 79, + "lineNumber": 87, "undocument": true, "params": [ { @@ -3931,7 +4057,7 @@ } }, { - "__docId__": 184, + "__docId__": 188, "kind": "function", "name": "isubn", "memberof": "src/integer.js", @@ -3944,7 +4070,7 @@ "importPath": "@aureooms/js-integer/src/integer.js", "importStyle": "{isubn}", "description": null, - "lineNumber": 83, + "lineNumber": 91, "undocument": true, "params": [ { @@ -3967,7 +4093,7 @@ } }, { - "__docId__": 185, + "__docId__": 189, "kind": "function", "name": "muln", "memberof": "src/integer.js", @@ -3980,7 +4106,7 @@ "importPath": "@aureooms/js-integer/src/integer.js", "importStyle": "{muln}", "description": null, - "lineNumber": 87, + "lineNumber": 95, "undocument": true, "params": [ { @@ -4003,7 +4129,7 @@ } }, { - "__docId__": 186, + "__docId__": 190, "kind": "function", "name": "imuln", "memberof": "src/integer.js", @@ -4016,7 +4142,7 @@ "importPath": "@aureooms/js-integer/src/integer.js", "importStyle": "{imuln}", "description": null, - "lineNumber": 91, + "lineNumber": 99, "undocument": true, "params": [ { @@ -4039,7 +4165,7 @@ } }, { - "__docId__": 187, + "__docId__": 191, "kind": "function", "name": "pown", "memberof": "src/integer.js", @@ -4052,7 +4178,7 @@ "importPath": "@aureooms/js-integer/src/integer.js", "importStyle": "{pown}", "description": null, - "lineNumber": 95, + "lineNumber": 103, "undocument": true, "params": [ { @@ -4075,7 +4201,7 @@ } }, { - "__docId__": 188, + "__docId__": 192, "kind": "function", "name": "ipown", "memberof": "src/integer.js", @@ -4088,7 +4214,7 @@ "importPath": "@aureooms/js-integer/src/integer.js", "importStyle": "{ipown}", "description": null, - "lineNumber": 99, + "lineNumber": 107, "undocument": true, "params": [ { @@ -4111,7 +4237,7 @@ } }, { - "__docId__": 189, + "__docId__": 193, "kind": "function", "name": "divn", "memberof": "src/integer.js", @@ -4124,7 +4250,7 @@ "importPath": "@aureooms/js-integer/src/integer.js", "importStyle": "{divn}", "description": null, - "lineNumber": 103, + "lineNumber": 111, "undocument": true, "params": [ { @@ -4147,7 +4273,7 @@ } }, { - "__docId__": 190, + "__docId__": 194, "kind": "function", "name": "idivn", "memberof": "src/integer.js", @@ -4160,7 +4286,7 @@ "importPath": "@aureooms/js-integer/src/integer.js", "importStyle": "{idivn}", "description": null, - "lineNumber": 107, + "lineNumber": 115, "undocument": true, "params": [ { @@ -4183,7 +4309,7 @@ } }, { - "__docId__": 191, + "__docId__": 195, "kind": "function", "name": "modn", "memberof": "src/integer.js", @@ -4196,7 +4322,7 @@ "importPath": "@aureooms/js-integer/src/integer.js", "importStyle": "{modn}", "description": null, - "lineNumber": 111, + "lineNumber": 119, "undocument": true, "params": [ { @@ -4219,7 +4345,7 @@ } }, { - "__docId__": 192, + "__docId__": 196, "kind": "function", "name": "imodn", "memberof": "src/integer.js", @@ -4232,7 +4358,79 @@ "importPath": "@aureooms/js-integer/src/integer.js", "importStyle": "{imodn}", "description": null, - "lineNumber": 115, + "lineNumber": 123, + "undocument": true, + "params": [ + { + "name": "first", + "types": [ + "*" + ] + }, + { + "name": "second", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 197, + "kind": "function", + "name": "divmodn", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~divmodn", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{divmodn}", + "description": null, + "lineNumber": 127, + "undocument": true, + "params": [ + { + "name": "first", + "types": [ + "*" + ] + }, + { + "name": "second", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 198, + "kind": "function", + "name": "idivmodn", + "memberof": "src/integer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/integer.js~idivmodn", + "access": "public", + "export": true, + "importPath": "@aureooms/js-integer/src/integer.js", + "importStyle": "{idivmodn}", + "description": null, + "lineNumber": 131, "undocument": true, "params": [ { @@ -4264,7 +4462,7 @@ }, { "kind": "packageJSON", - "content": "{\n \"name\": \"@aureooms/js-integer\",\n \"description\": \"Integers for JavaScript\",\n \"version\": \"5.1.1\",\n \"author\": \"Aurélien Ooms \",\n \"ava\": {\n \"require\": [\n \"@babel/polyfill\",\n \"@babel/register\"\n ],\n \"files\": [\n \"test/src/**/*\"\n ],\n \"timeout\": \"3m\",\n \"concurrency\": 8\n },\n \"babel\": {\n \"presets\": [\n \"@babel/preset-env\"\n ],\n \"env\": {\n \"development\": {\n \"sourceMaps\": \"inline\"\n }\n }\n },\n \"bugs\": {\n \"url\": \"https://github.com/aureooms/js-integer/issues\"\n },\n \"dependencies\": {\n \"@aureooms/js-error\": \"^4.0.0\",\n \"@aureooms/js-integer-big-endian\": \"^8.0.0\"\n },\n \"devDependencies\": {\n \"@aureooms/js-algorithms\": \"3.0.7\",\n \"@aureooms/js-array\": \"4.0.0\",\n \"@aureooms/js-itertools\": \"4.0.0\",\n \"@aureooms/js-operator\": \"1.0.2\",\n \"@aureooms/js-random\": \"2.0.0\",\n \"@aureooms/js-string\": \"0.2.0\",\n \"@babel/cli\": \"7.8.4\",\n \"@babel/core\": \"7.9.6\",\n \"@babel/polyfill\": \"7.8.7\",\n \"@babel/preset-env\": \"7.9.6\",\n \"@babel/register\": \"7.9.0\",\n \"ava\": \"3.8.1\",\n \"coveralls\": \"3.1.0\",\n \"esdoc\": \"1.1.0\",\n \"esdoc-inject-script-plugin\": \"1.0.0\",\n \"esdoc-inject-style-plugin\": \"1.0.0\",\n \"esdoc-standard-plugin\": \"1.0.0\",\n \"np\": \"6.2.3\",\n \"nyc\": \"15.0.1\"\n },\n \"files\": [\n \"lib\"\n ],\n \"homepage\": \"https://aureooms.github.io/js-integer\",\n \"keywords\": [\n \"algorithm\",\n \"arithmetic\",\n \"bignum\",\n \"complexity\",\n \"integer\",\n \"javascript\",\n \"js\",\n \"library\",\n \"logic\",\n \"mpa\",\n \"multi-precision\"\n ],\n \"license\": \"AGPL-3.0\",\n \"main\": \"lib/index.js\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/aureooms/js-integer.git\"\n },\n \"scripts\": {\n \"build\": \"rm -rf lib && babel src -d lib\",\n \"cover\": \"nyc --reporter=lcov npm test\",\n \"esdoc\": \"esdoc\",\n \"prepare\": \"npm run build\",\n \"release\": \"np\",\n \"test\": \"ava\"\n }\n}\n", + "content": "{\n \"name\": \"@aureooms/js-integer\",\n \"description\": \"Integers for JavaScript\",\n \"version\": \"6.0.0\",\n \"author\": \"Aurélien Ooms \",\n \"ava\": {\n \"require\": [\n \"@babel/polyfill\",\n \"@babel/register\"\n ],\n \"files\": [\n \"test/src/**/*\"\n ],\n \"timeout\": \"3m\",\n \"concurrency\": 8\n },\n \"babel\": {\n \"presets\": [\n \"@babel/preset-env\"\n ],\n \"env\": {\n \"development\": {\n \"sourceMaps\": \"inline\"\n }\n }\n },\n \"bugs\": {\n \"url\": \"https://github.com/aureooms/js-integer/issues\"\n },\n \"dependencies\": {\n \"@aureooms/js-error\": \"^4.0.0\",\n \"@aureooms/js-integer-big-endian\": \"^8.0.0\"\n },\n \"devDependencies\": {\n \"@aureooms/js-algorithms\": \"3.0.7\",\n \"@aureooms/js-array\": \"4.0.0\",\n \"@aureooms/js-itertools\": \"4.0.0\",\n \"@aureooms/js-operator\": \"1.0.2\",\n \"@aureooms/js-random\": \"2.0.0\",\n \"@aureooms/js-string\": \"0.2.0\",\n \"@babel/cli\": \"7.8.4\",\n \"@babel/core\": \"7.9.6\",\n \"@babel/polyfill\": \"7.8.7\",\n \"@babel/preset-env\": \"7.9.6\",\n \"@babel/register\": \"7.9.0\",\n \"ava\": \"3.8.1\",\n \"coveralls\": \"3.1.0\",\n \"esdoc\": \"1.1.0\",\n \"esdoc-inject-script-plugin\": \"1.0.0\",\n \"esdoc-inject-style-plugin\": \"1.0.0\",\n \"esdoc-standard-plugin\": \"1.0.0\",\n \"np\": \"6.2.3\",\n \"nyc\": \"15.0.1\"\n },\n \"files\": [\n \"lib\"\n ],\n \"homepage\": \"https://aureooms.github.io/js-integer\",\n \"keywords\": [\n \"abitrary\",\n \"addition\",\n \"algorithm\",\n \"arithmetic\",\n \"big\",\n \"big-int\",\n \"big-integer\",\n \"big-integers\",\n \"big-num\",\n \"big-number\",\n \"big-numbers\",\n \"bigint\",\n \"biginteger\",\n \"bigintegers\",\n \"bignum\",\n \"bignumber\",\n \"bignumbers\",\n \"bn\",\n \"bn.js\",\n \"complexity\",\n \"division\",\n \"exact\",\n \"exponentiation\",\n \"gcd\",\n \"integer\",\n \"javascript\",\n \"js\",\n \"jsbn\",\n \"library\",\n \"logic\",\n \"mpa\",\n \"multi-precision\",\n \"multiplication\",\n \"number\",\n \"precision\",\n \"subtraction\"\n ],\n \"license\": \"AGPL-3.0\",\n \"main\": \"lib/index.js\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/aureooms/js-integer.git\"\n },\n \"scripts\": {\n \"build\": \"rm -rf lib && babel src -d lib\",\n \"cover\": \"nyc --reporter=lcov npm test\",\n \"esdoc\": \"esdoc\",\n \"prepare\": \"npm run build\",\n \"release\": \"np\",\n \"test\": \"ava\"\n }\n}\n", "longname": "/home/aureooms/dev/js/js-integer/package.json", "name": "package.json", "static": true, diff --git a/script/search_index.js b/script/search_index.js index f3f0ab3..70051eb 100644 --- a/script/search_index.js +++ b/script/search_index.js @@ -101,6 +101,18 @@ window.esdocSearchIndex = [ "div @aureooms/js-integer/src/integer.js", "function" ], + [ + "@aureooms/js-integer/src/integer.js~divmod", + "function/index.html#static-function-divmod", + "divmod @aureooms/js-integer/src/integer.js", + "function" + ], + [ + "@aureooms/js-integer/src/integer.js~divmodn", + "function/index.html#static-function-divmodn", + "divmodn @aureooms/js-integer/src/integer.js", + "function" + ], [ "@aureooms/js-integer/src/integer.js~divn", "function/index.html#static-function-divn", @@ -125,6 +137,18 @@ window.esdocSearchIndex = [ "idiv @aureooms/js-integer/src/integer.js", "function" ], + [ + "@aureooms/js-integer/src/integer.js~idivmod", + "function/index.html#static-function-idivmod", + "idivmod @aureooms/js-integer/src/integer.js", + "function" + ], + [ + "@aureooms/js-integer/src/integer.js~idivmodn", + "function/index.html#static-function-idivmodn", + "idivmodn @aureooms/js-integer/src/integer.js", + "function" + ], [ "@aureooms/js-integer/src/integer.js~idivn", "function/index.html#static-function-idivn", @@ -635,6 +659,12 @@ window.esdocSearchIndex = [ "src/Integer.js~Integer#divmod", "method" ], + [ + "src/integer.js~integer#divmodn", + "class/src/Integer.js~Integer.html#instance-method-divmodn", + "src/Integer.js~Integer#divmodn", + "method" + ], [ "src/integer.js~integer#divn", "class/src/Integer.js~Integer.html#instance-method-divn", @@ -731,6 +761,12 @@ window.esdocSearchIndex = [ "src/Integer.js~Integer#idivmod", "method" ], + [ + "src/integer.js~integer#idivmodn", + "class/src/Integer.js~Integer.html#instance-method-idivmodn", + "src/Integer.js~Integer#idivmodn", + "method" + ], [ "src/integer.js~integer#idivn", "class/src/Integer.js~Integer.html#instance-method-idivn", diff --git a/source.html b/source.html index a977384..923f925 100644 --- a/source.html +++ b/source.html @@ -39,10 +39,14 @@
  • Fadd
  • Faddn
  • Fdiv
  • +
  • Fdivmod
  • +
  • Fdivmodn
  • Fdivn
  • Fiadd
  • Fiaddn
  • Fidiv
  • +
  • Fidivmod
  • +
  • Fidivmodn
  • Fidivn
  • Fimod
  • Fimodn
  • @@ -73,7 +77,7 @@
    -

    Source 1/135

    +

    Source 1/141

    @@ -105,12 +109,12 @@ - + - - - - + + + + @@ -164,17 +168,21 @@ - + - - - - + + + +
    2020-04-05 14:36:48 (UTC)
    src/Integer.jssrc/Integer.js Integer1 %1/7912446 byte5662020-05-01 23:33:05 (UTC)1 %1/8112619 byte5752020-05-02 15:41:23 (UTC)
    src/IntegerRing.js2020-05-01 20:27:28 (UTC)
    src/integer.jssrc/integer.js $0 $1 $_1 add addn div +divmod +divmodn divn iadd iaddn idiv +idivmod +idivmodn idivn imod imodn @@ -194,10 +202,10 @@ stringify sub subn0 %0/292197 byte1172020-05-02 09:03:12 (UTC)0 %0/332517 byte1332020-05-02 15:20:03 (UTC)
    diff --git a/variable/index.html b/variable/index.html index 4afe7ea..61683f3 100644 --- a/variable/index.html +++ b/variable/index.html @@ -39,10 +39,14 @@
  • Fadd
  • Faddn
  • Fdiv
  • +
  • Fdivmod
  • +
  • Fdivmodn
  • Fdivn
  • Fiadd
  • Fiaddn
  • Fidiv
  • +
  • Fidivmod
  • +
  • Fidivmodn
  • Fidivn
  • Fimod
  • Fimodn
  • From d864eac64f2e47f4c2669ab11ab53da80a7e9546 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Ooms?= Date: Sun, 10 May 2020 12:33:20 +0200 Subject: [PATCH 12/15] Generate docs. --- .../DEFAULT_REPRESENTATION_BASE.js.json | 2020 ++++------------- ast/source/_limits.js.json | 458 ++-- coverage.json | 2 +- file/src/DEFAULT_REPRESENTATION_BASE.js.html | 8 +- file/src/_limits.js.html | 2 +- index.json | 8 +- source.html | 16 +- variable/index.html | 4 +- 8 files changed, 660 insertions(+), 1858 deletions(-) diff --git a/ast/source/DEFAULT_REPRESENTATION_BASE.js.json b/ast/source/DEFAULT_REPRESENTATION_BASE.js.json index 0e56bf8..9d66ea6 100644 --- a/ast/source/DEFAULT_REPRESENTATION_BASE.js.json +++ b/ast/source/DEFAULT_REPRESENTATION_BASE.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 496, + "end": 778, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 10, + "line": 14, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 496, + "end": 778, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 10, + "line": 14, "column": 0 } }, @@ -30,164 +30,232 @@ "body": [ { "type": "ImportDeclaration", - "start": 0, - "end": 43, + "start": 46, + "end": 84, "loc": { "start": { - "line": 1, + "line": 2, "column": 0 }, "end": { - "line": 1, - "column": 43 + "line": 2, + "column": 38 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 9, - "end": 29, + "start": 55, + "end": 63, "loc": { "start": { - "line": 1, + "line": 2, "column": 9 }, "end": { - "line": 1, - "column": 29 + "line": 2, + "column": 17 } }, "imported": { "type": "Identifier", - "start": 9, - "end": 29, + "start": 55, + "end": 63, "loc": { "start": { - "line": 1, + "line": 2, "column": 9 }, "end": { - "line": 1, - "column": 29 + "line": 2, + "column": 17 }, - "identifierName": "DEFAULT_DISPLAY_BASE" + "identifierName": "MAX_BASE" }, - "name": "DEFAULT_DISPLAY_BASE" + "name": "MAX_BASE", + "leadingComments": null }, "local": { "type": "Identifier", - "start": 9, - "end": 29, + "start": 55, + "end": 63, "loc": { "start": { - "line": 1, + "line": 2, "column": 9 }, "end": { - "line": 1, - "column": 29 + "line": 2, + "column": 17 }, - "identifierName": "DEFAULT_DISPLAY_BASE" + "identifierName": "MAX_BASE" }, - "name": "DEFAULT_DISPLAY_BASE" - } + "name": "MAX_BASE" + }, + "leadingComments": null } ], "source": { "type": "StringLiteral", - "start": 37, - "end": 41, + "start": 71, + "end": 82, "loc": { "start": { - "line": 1, - "column": 37 + "line": 2, + "column": 25 }, "end": { - "line": 1, - "column": 41 + "line": 2, + "column": 36 } }, "extra": { - "rawValue": "./", - "raw": "'./'" + "rawValue": "./_limits", + "raw": "'./_limits'" }, - "value": "./" + "value": "./_limits" }, + "leadingComments": [ + { + "type": "CommentLine", + "value": "import { DEFAULT_DISPLAY_BASE } from './' ;", + "start": 0, + "end": 45, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 45 + } + } + } + ], "trailingComments": [ { "type": "CommentBlock", "value": "\n * Biggest power of DEFAULT_DISPLAY_BASE whose square holds in a single double\n * with full precision. For working correctly with multiplication algorithms\n * and for fast base DEFAULT_DISPLAY_BASE printing. On older machines with no\n * native doubles, it might be worth to only use ints.\n ", - "start": 45, - "end": 340, + "start": 86, + "end": 381, "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 8, + "line": 9, "column": 3 } } + }, + { + "type": "CommentLine", + "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(DEFAULT_DISPLAY_BASE,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(DEFAULT_DISPLAY_BASE))) ;", + "start": 382, + "end": 538, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 156 + } + } + }, + { + "type": "CommentLine", + "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(16,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(16))) ;", + "start": 539, + "end": 659, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 120 + } + } + }, + { + "type": "CommentLine", + "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(2,26) | 0;", + "start": 660, + "end": 724, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 12, + "column": 64 + } + } } ] }, { "type": "ExportNamedDeclaration", - "start": 341, - "end": 495, + "start": 725, + "end": 777, "loc": { "start": { - "line": 9, + "line": 13, "column": 0 }, "end": { - "line": 9, - "column": 154 + "line": 13, + "column": 52 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", - "start": 348, - "end": 495, + "start": 732, + "end": 777, "loc": { "start": { - "line": 9, + "line": 13, "column": 7 }, "end": { - "line": 9, - "column": 154 + "line": 13, + "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 354, - "end": 493, + "start": 738, + "end": 776, "loc": { "start": { - "line": 9, + "line": 13, "column": 13 }, "end": { - "line": 9, - "column": 152 + "line": 13, + "column": 51 } }, "id": { "type": "Identifier", - "start": 354, - "end": 381, + "start": 738, + "end": 765, "loc": { "start": { - "line": 9, + "line": 13, "column": 13 }, "end": { - "line": 9, + "line": 13, "column": 40 }, "identifierName": "DEFAULT_REPRESENTATION_BASE" @@ -196,496 +264,21 @@ "leadingComments": null }, "init": { - "type": "CallExpression", - "start": 384, - "end": 493, + "type": "Identifier", + "start": 768, + "end": 776, "loc": { "start": { - "line": 9, + "line": 13, "column": 43 }, "end": { - "line": 9, - "column": 152 - } - }, - "callee": { - "type": "MemberExpression", - "start": 384, - "end": 392, - "loc": { - "start": { - "line": 9, - "column": 43 - }, - "end": { - "line": 9, - "column": 51 - } - }, - "object": { - "type": "Identifier", - "start": 384, - "end": 388, - "loc": { - "start": { - "line": 9, - "column": 43 - }, - "end": { - "line": 9, - "column": 47 - }, - "identifierName": "Math" - }, - "name": "Math" + "line": 13, + "column": 51 }, - "property": { - "type": "Identifier", - "start": 389, - "end": 392, - "loc": { - "start": { - "line": 9, - "column": 48 - }, - "end": { - "line": 9, - "column": 51 - }, - "identifierName": "pow" - }, - "name": "pow" - }, - "computed": false + "identifierName": "MAX_BASE" }, - "arguments": [ - { - "type": "Identifier", - "start": 393, - "end": 413, - "loc": { - "start": { - "line": 9, - "column": 52 - }, - "end": { - "line": 9, - "column": 72 - }, - "identifierName": "DEFAULT_DISPLAY_BASE" - }, - "name": "DEFAULT_DISPLAY_BASE" - }, - { - "type": "CallExpression", - "start": 414, - "end": 492, - "loc": { - "start": { - "line": 9, - "column": 73 - }, - "end": { - "line": 9, - "column": 151 - } - }, - "callee": { - "type": "MemberExpression", - "start": 414, - "end": 424, - "loc": { - "start": { - "line": 9, - "column": 73 - }, - "end": { - "line": 9, - "column": 83 - } - }, - "object": { - "type": "Identifier", - "start": 414, - "end": 418, - "loc": { - "start": { - "line": 9, - "column": 73 - }, - "end": { - "line": 9, - "column": 77 - }, - "identifierName": "Math" - }, - "name": "Math" - }, - "property": { - "type": "Identifier", - "start": 419, - "end": 424, - "loc": { - "start": { - "line": 9, - "column": 78 - }, - "end": { - "line": 9, - "column": 83 - }, - "identifierName": "floor" - }, - "name": "floor" - }, - "computed": false - }, - "arguments": [ - { - "type": "BinaryExpression", - "start": 425, - "end": 491, - "loc": { - "start": { - "line": 9, - "column": 84 - }, - "end": { - "line": 9, - "column": 150 - } - }, - "left": { - "type": "CallExpression", - "start": 425, - "end": 460, - "loc": { - "start": { - "line": 9, - "column": 84 - }, - "end": { - "line": 9, - "column": 119 - } - }, - "callee": { - "type": "MemberExpression", - "start": 425, - "end": 433, - "loc": { - "start": { - "line": 9, - "column": 84 - }, - "end": { - "line": 9, - "column": 92 - } - }, - "object": { - "type": "Identifier", - "start": 425, - "end": 429, - "loc": { - "start": { - "line": 9, - "column": 84 - }, - "end": { - "line": 9, - "column": 88 - }, - "identifierName": "Math" - }, - "name": "Math" - }, - "property": { - "type": "Identifier", - "start": 430, - "end": 433, - "loc": { - "start": { - "line": 9, - "column": 89 - }, - "end": { - "line": 9, - "column": 92 - }, - "identifierName": "log" - }, - "name": "log" - }, - "computed": false - }, - "arguments": [ - { - "type": "CallExpression", - "start": 434, - "end": 459, - "loc": { - "start": { - "line": 9, - "column": 93 - }, - "end": { - "line": 9, - "column": 118 - } - }, - "callee": { - "type": "MemberExpression", - "start": 434, - "end": 443, - "loc": { - "start": { - "line": 9, - "column": 93 - }, - "end": { - "line": 9, - "column": 102 - } - }, - "object": { - "type": "Identifier", - "start": 434, - "end": 438, - "loc": { - "start": { - "line": 9, - "column": 93 - }, - "end": { - "line": 9, - "column": 97 - }, - "identifierName": "Math" - }, - "name": "Math" - }, - "property": { - "type": "Identifier", - "start": 439, - "end": 443, - "loc": { - "start": { - "line": 9, - "column": 98 - }, - "end": { - "line": 9, - "column": 102 - }, - "identifierName": "sqrt" - }, - "name": "sqrt" - }, - "computed": false - }, - "arguments": [ - { - "type": "CallExpression", - "start": 444, - "end": 458, - "loc": { - "start": { - "line": 9, - "column": 103 - }, - "end": { - "line": 9, - "column": 117 - } - }, - "callee": { - "type": "MemberExpression", - "start": 444, - "end": 452, - "loc": { - "start": { - "line": 9, - "column": 103 - }, - "end": { - "line": 9, - "column": 111 - } - }, - "object": { - "type": "Identifier", - "start": 444, - "end": 448, - "loc": { - "start": { - "line": 9, - "column": 103 - }, - "end": { - "line": 9, - "column": 107 - }, - "identifierName": "Math" - }, - "name": "Math" - }, - "property": { - "type": "Identifier", - "start": 449, - "end": 452, - "loc": { - "start": { - "line": 9, - "column": 108 - }, - "end": { - "line": 9, - "column": 111 - }, - "identifierName": "pow" - }, - "name": "pow" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 453, - "end": 454, - "loc": { - "start": { - "line": 9, - "column": 112 - }, - "end": { - "line": 9, - "column": 113 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - }, - { - "type": "NumericLiteral", - "start": 455, - "end": 457, - "loc": { - "start": { - "line": 9, - "column": 114 - }, - "end": { - "line": 9, - "column": 116 - } - }, - "extra": { - "rawValue": 53, - "raw": "53" - }, - "value": 53 - } - ] - } - ] - } - ] - }, - "operator": "/", - "right": { - "type": "CallExpression", - "start": 461, - "end": 491, - "loc": { - "start": { - "line": 9, - "column": 120 - }, - "end": { - "line": 9, - "column": 150 - } - }, - "callee": { - "type": "MemberExpression", - "start": 461, - "end": 469, - "loc": { - "start": { - "line": 9, - "column": 120 - }, - "end": { - "line": 9, - "column": 128 - } - }, - "object": { - "type": "Identifier", - "start": 461, - "end": 465, - "loc": { - "start": { - "line": 9, - "column": 120 - }, - "end": { - "line": 9, - "column": 124 - }, - "identifierName": "Math" - }, - "name": "Math" - }, - "property": { - "type": "Identifier", - "start": 466, - "end": 469, - "loc": { - "start": { - "line": 9, - "column": 125 - }, - "end": { - "line": 9, - "column": 128 - }, - "identifierName": "log" - }, - "name": "log" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 470, - "end": 490, - "loc": { - "start": { - "line": 9, - "column": 129 - }, - "end": { - "line": 9, - "column": 149 - }, - "identifierName": "DEFAULT_DISPLAY_BASE" - }, - "name": "DEFAULT_DISPLAY_BASE" - } - ] - } - } - ] - } - ] + "name": "MAX_BASE" }, "leadingComments": null } @@ -695,18 +288,66 @@ { "type": "CommentBlock", "value": "\n * Biggest power of DEFAULT_DISPLAY_BASE whose square holds in a single double\n * with full precision. For working correctly with multiplication algorithms\n * and for fast base DEFAULT_DISPLAY_BASE printing. On older machines with no\n * native doubles, it might be worth to only use ints.\n ", - "start": 45, - "end": 340, + "start": 86, + "end": 381, "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 8, + "line": 9, "column": 3 } } + }, + { + "type": "CommentLine", + "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(DEFAULT_DISPLAY_BASE,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(DEFAULT_DISPLAY_BASE))) ;", + "start": 382, + "end": 538, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 156 + } + } + }, + { + "type": "CommentLine", + "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(16,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(16))) ;", + "start": 539, + "end": 659, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 120 + } + } + }, + { + "type": "CommentLine", + "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(2,26) | 0;", + "start": 660, + "end": 724, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 12, + "column": 64 + } + } } ], "trailingComments": [] @@ -715,18 +356,66 @@ { "type": "CommentBlock", "value": "\n * Biggest power of DEFAULT_DISPLAY_BASE whose square holds in a single double\n * with full precision. For working correctly with multiplication algorithms\n * and for fast base DEFAULT_DISPLAY_BASE printing. On older machines with no\n * native doubles, it might be worth to only use ints.\n ", - "start": 45, - "end": 340, + "start": 86, + "end": 381, "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 8, + "line": 9, "column": 3 } } + }, + { + "type": "CommentLine", + "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(DEFAULT_DISPLAY_BASE,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(DEFAULT_DISPLAY_BASE))) ;", + "start": 382, + "end": 538, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 156 + } + } + }, + { + "type": "CommentLine", + "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(16,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(16))) ;", + "start": 539, + "end": 659, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 120 + } + } + }, + { + "type": "CommentLine", + "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(2,26) | 0;", + "start": 660, + "end": 724, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 12, + "column": 64 + } + } } ] } @@ -734,24 +423,104 @@ "directives": [] }, "comments": [ + { + "type": "CommentLine", + "value": "import { DEFAULT_DISPLAY_BASE } from './' ;", + "start": 0, + "end": 45, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 45 + } + } + }, { "type": "CommentBlock", "value": "\n * Biggest power of DEFAULT_DISPLAY_BASE whose square holds in a single double\n * with full precision. For working correctly with multiplication algorithms\n * and for fast base DEFAULT_DISPLAY_BASE printing. On older machines with no\n * native doubles, it might be worth to only use ints.\n ", - "start": 45, - "end": 340, + "start": 86, + "end": 381, "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 8, + "line": 9, "column": 3 } } + }, + { + "type": "CommentLine", + "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(DEFAULT_DISPLAY_BASE,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(DEFAULT_DISPLAY_BASE))) ;", + "start": 382, + "end": 538, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 156 + } + } + }, + { + "type": "CommentLine", + "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(16,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(16))) ;", + "start": 539, + "end": 659, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 120 + } + } + }, + { + "type": "CommentLine", + "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(2,26) | 0;", + "start": 660, + "end": 724, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 12, + "column": 64 + } + } } ], "tokens": [ + { + "type": "CommentLine", + "value": "import { DEFAULT_DISPLAY_BASE } from './' ;", + "start": 0, + "end": 45, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 45 + } + } + }, { "type": { "label": "import", @@ -767,15 +536,15 @@ "updateContext": null }, "value": "import", - "start": 0, - "end": 6, + "start": 46, + "end": 52, "loc": { "start": { - "line": 1, + "line": 2, "column": 0 }, "end": { - "line": 1, + "line": 2, "column": 6 } } @@ -792,15 +561,15 @@ "postfix": false, "binop": null }, - "start": 7, - "end": 8, + "start": 53, + "end": 54, "loc": { "start": { - "line": 1, + "line": 2, "column": 7 }, "end": { - "line": 1, + "line": 2, "column": 8 } } @@ -817,17 +586,17 @@ "postfix": false, "binop": null }, - "value": "DEFAULT_DISPLAY_BASE", - "start": 9, - "end": 29, + "value": "MAX_BASE", + "start": 55, + "end": 63, "loc": { "start": { - "line": 1, + "line": 2, "column": 9 }, "end": { - "line": 1, - "column": 29 + "line": 2, + "column": 17 } } }, @@ -843,16 +612,16 @@ "postfix": false, "binop": null }, - "start": 30, - "end": 31, + "start": 64, + "end": 65, "loc": { "start": { - "line": 1, - "column": 30 + "line": 2, + "column": 18 }, "end": { - "line": 1, - "column": 31 + "line": 2, + "column": 19 } } }, @@ -869,16 +638,16 @@ "binop": null }, "value": "from", - "start": 32, - "end": 36, + "start": 66, + "end": 70, "loc": { "start": { - "line": 1, - "column": 32 + "line": 2, + "column": 20 }, "end": { - "line": 1, - "column": 36 + "line": 2, + "column": 24 } } }, @@ -895,17 +664,17 @@ "binop": null, "updateContext": null }, - "value": "./", - "start": 37, - "end": 41, + "value": "./_limits", + "start": 71, + "end": 82, "loc": { "start": { - "line": 1, - "column": 37 + "line": 2, + "column": 25 }, "end": { - "line": 1, - "column": 41 + "line": 2, + "column": 36 } } }, @@ -922,35 +691,83 @@ "binop": null, "updateContext": null }, - "start": 42, - "end": 43, + "start": 83, + "end": 84, "loc": { "start": { - "line": 1, - "column": 42 + "line": 2, + "column": 37 }, "end": { - "line": 1, - "column": 43 + "line": 2, + "column": 38 } } }, { "type": "CommentBlock", "value": "\n * Biggest power of DEFAULT_DISPLAY_BASE whose square holds in a single double\n * with full precision. For working correctly with multiplication algorithms\n * and for fast base DEFAULT_DISPLAY_BASE printing. On older machines with no\n * native doubles, it might be worth to only use ints.\n ", - "start": 45, - "end": 340, + "start": 86, + "end": 381, "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 8, + "line": 9, "column": 3 } } }, + { + "type": "CommentLine", + "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(DEFAULT_DISPLAY_BASE,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(DEFAULT_DISPLAY_BASE))) ;", + "start": 382, + "end": 538, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 156 + } + } + }, + { + "type": "CommentLine", + "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(16,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(16))) ;", + "start": 539, + "end": 659, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 120 + } + } + }, + { + "type": "CommentLine", + "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(2,26) | 0;", + "start": 660, + "end": 724, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 12, + "column": 64 + } + } + }, { "type": { "label": "export", @@ -966,15 +783,15 @@ "updateContext": null }, "value": "export", - "start": 341, - "end": 347, + "start": 725, + "end": 731, "loc": { "start": { - "line": 9, + "line": 13, "column": 0 }, "end": { - "line": 9, + "line": 13, "column": 6 } } @@ -994,15 +811,15 @@ "updateContext": null }, "value": "const", - "start": 348, - "end": 353, + "start": 732, + "end": 737, "loc": { "start": { - "line": 9, + "line": 13, "column": 7 }, "end": { - "line": 9, + "line": 13, "column": 12 } } @@ -1020,15 +837,15 @@ "binop": null }, "value": "DEFAULT_REPRESENTATION_BASE", - "start": 354, - "end": 381, + "start": 738, + "end": 765, "loc": { "start": { - "line": 9, + "line": 13, "column": 13 }, "end": { - "line": 9, + "line": 13, "column": 40 } } @@ -1047,15 +864,15 @@ "updateContext": null }, "value": "=", - "start": 382, - "end": 383, + "start": 766, + "end": 767, "loc": { "start": { - "line": 9, + "line": 13, "column": 41 }, "end": { - "line": 9, + "line": 13, "column": 42 } } @@ -1072,24 +889,24 @@ "postfix": false, "binop": null }, - "value": "Math", - "start": 384, - "end": 388, + "value": "MAX_BASE", + "start": 768, + "end": 776, "loc": { "start": { - "line": 9, + "line": 13, "column": 43 }, "end": { - "line": 9, - "column": 47 + "line": 13, + "column": 51 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -1099,968 +916,41 @@ "binop": null, "updateContext": null }, - "start": 388, - "end": 389, + "start": 776, + "end": 777, "loc": { "start": { - "line": 9, - "column": 47 + "line": 13, + "column": 51 }, "end": { - "line": 9, - "column": 48 + "line": 13, + "column": 52 } } }, { "type": { - "label": "name", + "label": "eof", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pow", - "start": 389, - "end": 392, + "start": 778, + "end": 778, "loc": { "start": { - "line": 9, - "column": 48 + "line": 14, + "column": 0 }, "end": { - "line": 9, - "column": 51 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 392, - "end": 393, - "loc": { - "start": { - "line": 9, - "column": 51 - }, - "end": { - "line": 9, - "column": 52 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DEFAULT_DISPLAY_BASE", - "start": 393, - "end": 413, - "loc": { - "start": { - "line": 9, - "column": 52 - }, - "end": { - "line": 9, - "column": 72 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 413, - "end": 414, - "loc": { - "start": { - "line": 9, - "column": 72 - }, - "end": { - "line": 9, - "column": 73 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Math", - "start": 414, - "end": 418, - "loc": { - "start": { - "line": 9, - "column": 73 - }, - "end": { - "line": 9, - "column": 77 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 418, - "end": 419, - "loc": { - "start": { - "line": 9, - "column": 77 - }, - "end": { - "line": 9, - "column": 78 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "floor", - "start": 419, - "end": 424, - "loc": { - "start": { - "line": 9, - "column": 78 - }, - "end": { - "line": 9, - "column": 83 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 424, - "end": 425, - "loc": { - "start": { - "line": 9, - "column": 83 - }, - "end": { - "line": 9, - "column": 84 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Math", - "start": 425, - "end": 429, - "loc": { - "start": { - "line": 9, - "column": 84 - }, - "end": { - "line": 9, - "column": 88 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 429, - "end": 430, - "loc": { - "start": { - "line": 9, - "column": 88 - }, - "end": { - "line": 9, - "column": 89 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "log", - "start": 430, - "end": 433, - "loc": { - "start": { - "line": 9, - "column": 89 - }, - "end": { - "line": 9, - "column": 92 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 433, - "end": 434, - "loc": { - "start": { - "line": 9, - "column": 92 - }, - "end": { - "line": 9, - "column": 93 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Math", - "start": 434, - "end": 438, - "loc": { - "start": { - "line": 9, - "column": 93 - }, - "end": { - "line": 9, - "column": 97 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 438, - "end": 439, - "loc": { - "start": { - "line": 9, - "column": 97 - }, - "end": { - "line": 9, - "column": 98 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "sqrt", - "start": 439, - "end": 443, - "loc": { - "start": { - "line": 9, - "column": 98 - }, - "end": { - "line": 9, - "column": 102 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 443, - "end": 444, - "loc": { - "start": { - "line": 9, - "column": 102 - }, - "end": { - "line": 9, - "column": 103 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Math", - "start": 444, - "end": 448, - "loc": { - "start": { - "line": 9, - "column": 103 - }, - "end": { - "line": 9, - "column": 107 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 448, - "end": 449, - "loc": { - "start": { - "line": 9, - "column": 107 - }, - "end": { - "line": 9, - "column": 108 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pow", - "start": 449, - "end": 452, - "loc": { - "start": { - "line": 9, - "column": 108 - }, - "end": { - "line": 9, - "column": 111 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 452, - "end": 453, - "loc": { - "start": { - "line": 9, - "column": 111 - }, - "end": { - "line": 9, - "column": 112 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 453, - "end": 454, - "loc": { - "start": { - "line": 9, - "column": 112 - }, - "end": { - "line": 9, - "column": 113 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 454, - "end": 455, - "loc": { - "start": { - "line": 9, - "column": 113 - }, - "end": { - "line": 9, - "column": 114 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 53, - "start": 455, - "end": 457, - "loc": { - "start": { - "line": 9, - "column": 114 - }, - "end": { - "line": 9, - "column": 116 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 457, - "end": 458, - "loc": { - "start": { - "line": 9, - "column": 116 - }, - "end": { - "line": 9, - "column": 117 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 458, - "end": 459, - "loc": { - "start": { - "line": 9, - "column": 117 - }, - "end": { - "line": 9, - "column": 118 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 459, - "end": 460, - "loc": { - "start": { - "line": 9, - "column": 118 - }, - "end": { - "line": 9, - "column": 119 - } - } - }, - { - "type": { - "label": "/", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "/", - "start": 460, - "end": 461, - "loc": { - "start": { - "line": 9, - "column": 119 - }, - "end": { - "line": 9, - "column": 120 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Math", - "start": 461, - "end": 465, - "loc": { - "start": { - "line": 9, - "column": 120 - }, - "end": { - "line": 9, - "column": 124 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 465, - "end": 466, - "loc": { - "start": { - "line": 9, - "column": 124 - }, - "end": { - "line": 9, - "column": 125 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "log", - "start": 466, - "end": 469, - "loc": { - "start": { - "line": 9, - "column": 125 - }, - "end": { - "line": 9, - "column": 128 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 469, - "end": 470, - "loc": { - "start": { - "line": 9, - "column": 128 - }, - "end": { - "line": 9, - "column": 129 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DEFAULT_DISPLAY_BASE", - "start": 470, - "end": 490, - "loc": { - "start": { - "line": 9, - "column": 129 - }, - "end": { - "line": 9, - "column": 149 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 490, - "end": 491, - "loc": { - "start": { - "line": 9, - "column": 149 - }, - "end": { - "line": 9, - "column": 150 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 491, - "end": 492, - "loc": { - "start": { - "line": 9, - "column": 150 - }, - "end": { - "line": 9, - "column": 151 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 492, - "end": 493, - "loc": { - "start": { - "line": 9, - "column": 151 - }, - "end": { - "line": 9, - "column": 152 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 494, - "end": 495, - "loc": { - "start": { - "line": 9, - "column": 153 - }, - "end": { - "line": 9, - "column": 154 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 496, - "end": 496, - "loc": { - "start": { - "line": 10, - "column": 0 - }, - "end": { - "line": 10, + "line": 14, "column": 0 } } diff --git a/ast/source/_limits.js.json b/ast/source/_limits.js.json index cf4b3de..7256efc 100644 --- a/ast/source/_limits.js.json +++ b/ast/source/_limits.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 233, + "end": 234, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 233, + "end": 234, "loc": { "start": { "line": 1, @@ -565,7 +565,7 @@ { "type": "ExportNamedDeclaration", "start": 170, - "end": 232, + "end": 233, "loc": { "start": { "line": 5, @@ -573,7 +573,7 @@ }, "end": { "line": 5, - "column": 62 + "column": 63 } }, "specifiers": [], @@ -581,7 +581,7 @@ "declaration": { "type": "VariableDeclaration", "start": 177, - "end": 232, + "end": 233, "loc": { "start": { "line": 5, @@ -589,14 +589,14 @@ }, "end": { "line": 5, - "column": 62 + "column": 63 } }, "declarations": [ { "type": "VariableDeclarator", "start": 183, - "end": 230, + "end": 232, "loc": { "start": { "line": 5, @@ -604,7 +604,7 @@ }, "end": { "line": 5, - "column": 60 + "column": 62 } }, "id": { @@ -625,9 +625,9 @@ "name": "MAX_BASE" }, "init": { - "type": "CallExpression", + "type": "BinaryExpression", "start": 194, - "end": 230, + "end": 232, "loc": { "start": { "line": 5, @@ -635,13 +635,13 @@ }, "end": { "line": 5, - "column": 60 + "column": 62 } }, - "callee": { - "type": "MemberExpression", + "left": { + "type": "CallExpression", "start": 194, - "end": 203, + "end": 228, "loc": { "start": { "line": 5, @@ -649,64 +649,64 @@ }, "end": { "line": 5, - "column": 33 + "column": 58 } }, - "object": { - "type": "Identifier", + "callee": { + "type": "MemberExpression", "start": 194, - "end": 198, - "loc": { - "start": { - "line": 5, - "column": 24 - }, - "end": { - "line": 5, - "column": 28 - }, - "identifierName": "Math" - }, - "name": "Math" - }, - "property": { - "type": "Identifier", - "start": 199, "end": 203, "loc": { "start": { "line": 5, - "column": 29 + "column": 24 }, "end": { "line": 5, "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 194, + "end": 198, + "loc": { + "start": { + "line": 5, + "column": 24 + }, + "end": { + "line": 5, + "column": 28 + }, + "identifierName": "Math" }, - "identifierName": "ceil" + "name": "Math" }, - "name": "ceil" - }, - "computed": false - }, - "arguments": [ - { - "type": "CallExpression", - "start": 204, - "end": 229, - "loc": { - "start": { - "line": 5, - "column": 34 + "property": { + "type": "Identifier", + "start": 199, + "end": 203, + "loc": { + "start": { + "line": 5, + "column": 29 + }, + "end": { + "line": 5, + "column": 33 + }, + "identifierName": "ceil" }, - "end": { - "line": 5, - "column": 59 - } + "name": "ceil" }, - "callee": { - "type": "MemberExpression", + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", "start": 204, - "end": 213, + "end": 227, "loc": { "start": { "line": 5, @@ -714,64 +714,64 @@ }, "end": { "line": 5, - "column": 43 + "column": 57 } }, - "object": { - "type": "Identifier", + "callee": { + "type": "MemberExpression", "start": 204, - "end": 208, - "loc": { - "start": { - "line": 5, - "column": 34 - }, - "end": { - "line": 5, - "column": 38 - }, - "identifierName": "Math" - }, - "name": "Math" - }, - "property": { - "type": "Identifier", - "start": 209, "end": 213, "loc": { "start": { "line": 5, - "column": 39 + "column": 34 }, "end": { "line": 5, "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 204, + "end": 208, + "loc": { + "start": { + "line": 5, + "column": 34 + }, + "end": { + "line": 5, + "column": 38 + }, + "identifierName": "Math" }, - "identifierName": "sqrt" + "name": "Math" }, - "name": "sqrt" - }, - "computed": false - }, - "arguments": [ - { - "type": "CallExpression", - "start": 214, - "end": 228, - "loc": { - "start": { - "line": 5, - "column": 44 + "property": { + "type": "Identifier", + "start": 209, + "end": 213, + "loc": { + "start": { + "line": 5, + "column": 39 + }, + "end": { + "line": 5, + "column": 43 + }, + "identifierName": "sqrt" }, - "end": { - "line": 5, - "column": 58 - } + "name": "sqrt" }, - "callee": { - "type": "MemberExpression", + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", "start": 214, - "end": 222, + "end": 226, "loc": { "start": { "line": 5, @@ -779,70 +779,31 @@ }, "end": { "line": 5, - "column": 52 + "column": 56 } }, - "object": { + "left": { "type": "Identifier", "start": 214, - "end": 218, - "loc": { - "start": { - "line": 5, - "column": 44 - }, - "end": { - "line": 5, - "column": 48 - }, - "identifierName": "Math" - }, - "name": "Math" - }, - "property": { - "type": "Identifier", - "start": 219, - "end": 222, - "loc": { - "start": { - "line": 5, - "column": 49 - }, - "end": { - "line": 5, - "column": 52 - }, - "identifierName": "pow" - }, - "name": "pow" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 223, "end": 224, "loc": { "start": { "line": 5, - "column": 53 + "column": 44 }, "end": { "line": 5, "column": 54 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" + }, + "identifierName": "MAX_NUMBER" }, - "value": 2 + "name": "MAX_NUMBER" }, - { + "operator": "+", + "right": { "type": "NumericLiteral", "start": 225, - "end": 227, + "end": 226, "loc": { "start": { "line": 5, @@ -850,20 +811,41 @@ }, "end": { "line": 5, - "column": 57 + "column": 56 } }, "extra": { - "rawValue": 53, - "raw": "53" + "rawValue": 1, + "raw": "1" }, - "value": 53 + "value": 1 } - ] - } - ] - } - ] + } + ] + } + ] + }, + "operator": "|", + "right": { + "type": "NumericLiteral", + "start": 231, + "end": 232, + "loc": { + "start": { + "line": 5, + "column": 61 + }, + "end": { + "line": 5, + "column": 62 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } } } ], @@ -2166,9 +2148,9 @@ "postfix": false, "binop": null }, - "value": "Math", + "value": "MAX_NUMBER", "start": 214, - "end": 218, + "end": 224, "loc": { "start": { "line": 5, @@ -2176,84 +2158,34 @@ }, "end": { "line": 5, - "column": 48 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 218, - "end": 219, - "loc": { - "start": { - "line": 5, - "column": 48 - }, - "end": { - "line": 5, - "column": 49 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pow", - "start": 219, - "end": 222, - "loc": { - "start": { - "line": 5, - "column": 49 - }, - "end": { - "line": 5, - "column": 52 + "column": 54 } } }, { "type": { - "label": "(", + "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "start": 222, - "end": 223, + "value": "+", + "start": 224, + "end": 225, "loc": { "start": { "line": 5, - "column": 52 + "column": 54 }, "end": { "line": 5, - "column": 53 + "column": 55 } } }, @@ -2270,66 +2202,38 @@ "binop": null, "updateContext": null }, - "value": 2, - "start": 223, - "end": 224, - "loc": { - "start": { - "line": 5, - "column": 53 - }, - "end": { - "line": 5, - "column": 54 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 224, - "end": 225, + "value": 1, + "start": 225, + "end": 226, "loc": { "start": { "line": 5, - "column": 54 + "column": 55 }, "end": { "line": 5, - "column": 55 + "column": 56 } } }, { "type": { - "label": "num", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 53, - "start": 225, + "start": 226, "end": 227, "loc": { "start": { "line": 5, - "column": 55 + "column": 56 }, "end": { "line": 5, @@ -2364,51 +2268,55 @@ }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "|", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 3, + "updateContext": null }, - "start": 228, - "end": 229, + "value": "|", + "start": 229, + "end": 230, "loc": { "start": { "line": 5, - "column": 58 + "column": 59 }, "end": { "line": 5, - "column": 59 + "column": 60 } } }, { "type": { - "label": ")", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 229, - "end": 230, + "value": 0, + "start": 231, + "end": 232, "loc": { "start": { "line": 5, - "column": 59 + "column": 61 }, "end": { "line": 5, - "column": 60 + "column": 62 } } }, @@ -2425,16 +2333,16 @@ "binop": null, "updateContext": null }, - "start": 231, - "end": 232, + "start": 232, + "end": 233, "loc": { "start": { "line": 5, - "column": 61 + "column": 62 }, "end": { "line": 5, - "column": 62 + "column": 63 } } }, @@ -2451,8 +2359,8 @@ "binop": null, "updateContext": null }, - "start": 233, - "end": 233, + "start": 234, + "end": 234, "loc": { "start": { "line": 6, diff --git a/coverage.json b/coverage.json index eadad5d..9a35183 100644 --- a/coverage.json +++ b/coverage.json @@ -14,7 +14,7 @@ "expectCount": 1, "actualCount": 0, "undocumentLines": [ - 9 + 13 ] }, "src/Integer.js": { diff --git a/file/src/DEFAULT_REPRESENTATION_BASE.js.html b/file/src/DEFAULT_REPRESENTATION_BASE.js.html index 3a11dc7..1f2aa11 100644 --- a/file/src/DEFAULT_REPRESENTATION_BASE.js.html +++ b/file/src/DEFAULT_REPRESENTATION_BASE.js.html @@ -78,7 +78,8 @@

    src/DEFAULT_REPRESENTATION_BASE.js

    -
    import { DEFAULT_DISPLAY_BASE } from './' ;
    +
    //import { DEFAULT_DISPLAY_BASE } from './' ;
    +import { MAX_BASE } from './_limits' ;
     
     /*
      * Biggest power of DEFAULT_DISPLAY_BASE whose square holds in a single double
    @@ -86,7 +87,10 @@
      * and for fast base DEFAULT_DISPLAY_BASE printing. On older machines with no
      * native doubles, it might be worth to only use ints.
      */
    -export const DEFAULT_REPRESENTATION_BASE = Math.pow(DEFAULT_DISPLAY_BASE,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(DEFAULT_DISPLAY_BASE))) ;
    +//export const DEFAULT_REPRESENTATION_BASE = Math.pow(DEFAULT_DISPLAY_BASE,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(DEFAULT_DISPLAY_BASE))) ;
    +//export const DEFAULT_REPRESENTATION_BASE = Math.pow(16,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(16))) ;
    +//export const DEFAULT_REPRESENTATION_BASE = Math.pow(2,26) | 0;
    +export const DEFAULT_REPRESENTATION_BASE = MAX_BASE;
     
    diff --git a/file/src/_limits.js.html b/file/src/_limits.js.html index 584f4aa..5486512 100644 --- a/file/src/_limits.js.html +++ b/file/src/_limits.js.html @@ -82,7 +82,7 @@ export const MAX_NUMBER = Math.pow(2,53) - 1 ; export const MIN_NUMBER = -Math.pow(2,53) ; export const MIN_BASE = 2 ; -export const MAX_BASE = Math.ceil(Math.sqrt(Math.pow(2,53))) ; +export const MAX_BASE = Math.ceil(Math.sqrt(MAX_NUMBER+1)) | 0;
    diff --git a/index.json b/index.json index 8515945..82df5c7 100644 --- a/index.json +++ b/index.json @@ -598,7 +598,7 @@ "__docId__": 50, "kind": "file", "name": "src/DEFAULT_REPRESENTATION_BASE.js", - "content": "import { DEFAULT_DISPLAY_BASE } from './' ;\n\n/*\n * Biggest power of DEFAULT_DISPLAY_BASE whose square holds in a single double\n * with full precision. For working correctly with multiplication algorithms\n * and for fast base DEFAULT_DISPLAY_BASE printing. On older machines with no\n * native doubles, it might be worth to only use ints.\n */\nexport const DEFAULT_REPRESENTATION_BASE = Math.pow(DEFAULT_DISPLAY_BASE,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(DEFAULT_DISPLAY_BASE))) ;\n", + "content": "//import { DEFAULT_DISPLAY_BASE } from './' ;\nimport { MAX_BASE } from './_limits' ;\n\n/*\n * Biggest power of DEFAULT_DISPLAY_BASE whose square holds in a single double\n * with full precision. For working correctly with multiplication algorithms\n * and for fast base DEFAULT_DISPLAY_BASE printing. On older machines with no\n * native doubles, it might be worth to only use ints.\n */\n//export const DEFAULT_REPRESENTATION_BASE = Math.pow(DEFAULT_DISPLAY_BASE,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(DEFAULT_DISPLAY_BASE))) ;\n//export const DEFAULT_REPRESENTATION_BASE = Math.pow(16,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(16))) ;\n//export const DEFAULT_REPRESENTATION_BASE = Math.pow(2,26) | 0;\nexport const DEFAULT_REPRESENTATION_BASE = MAX_BASE;\n", "static": true, "longname": "/home/aureooms/dev/js/js-integer/src/DEFAULT_REPRESENTATION_BASE.js", "access": "public", @@ -617,7 +617,7 @@ "importPath": "@aureooms/js-integer/src/DEFAULT_REPRESENTATION_BASE.js", "importStyle": "{DEFAULT_REPRESENTATION_BASE}", "description": null, - "lineNumber": 9, + "lineNumber": 13, "undocument": true, "type": { "types": [ @@ -3179,7 +3179,7 @@ "__docId__": 159, "kind": "file", "name": "src/_limits.js", - "content": "// The range of valid numbers is -2^53 to 2^53 - 1\nexport const MAX_NUMBER = Math.pow(2,53) - 1 ;\nexport const MIN_NUMBER = -Math.pow(2,53) ;\nexport const MIN_BASE = 2 ;\nexport const MAX_BASE = Math.ceil(Math.sqrt(Math.pow(2,53))) ;\n", + "content": "// The range of valid numbers is -2^53 to 2^53 - 1\nexport const MAX_NUMBER = Math.pow(2,53) - 1 ;\nexport const MIN_NUMBER = -Math.pow(2,53) ;\nexport const MIN_BASE = 2 ;\nexport const MAX_BASE = Math.ceil(Math.sqrt(MAX_NUMBER+1)) | 0;\n", "static": true, "longname": "/home/aureooms/dev/js/js-integer/src/_limits.js", "access": "public", @@ -4462,7 +4462,7 @@ }, { "kind": "packageJSON", - "content": "{\n \"name\": \"@aureooms/js-integer\",\n \"description\": \"Integers for JavaScript\",\n \"version\": \"6.0.0\",\n \"author\": \"Aurélien Ooms \",\n \"ava\": {\n \"require\": [\n \"@babel/polyfill\",\n \"@babel/register\"\n ],\n \"files\": [\n \"test/src/**/*\"\n ],\n \"timeout\": \"3m\",\n \"concurrency\": 8\n },\n \"babel\": {\n \"presets\": [\n \"@babel/preset-env\"\n ],\n \"env\": {\n \"development\": {\n \"sourceMaps\": \"inline\"\n }\n }\n },\n \"bugs\": {\n \"url\": \"https://github.com/aureooms/js-integer/issues\"\n },\n \"dependencies\": {\n \"@aureooms/js-error\": \"^4.0.0\",\n \"@aureooms/js-integer-big-endian\": \"^8.0.0\"\n },\n \"devDependencies\": {\n \"@aureooms/js-algorithms\": \"3.0.7\",\n \"@aureooms/js-array\": \"4.0.0\",\n \"@aureooms/js-itertools\": \"4.0.0\",\n \"@aureooms/js-operator\": \"1.0.2\",\n \"@aureooms/js-random\": \"2.0.0\",\n \"@aureooms/js-string\": \"0.2.0\",\n \"@babel/cli\": \"7.8.4\",\n \"@babel/core\": \"7.9.6\",\n \"@babel/polyfill\": \"7.8.7\",\n \"@babel/preset-env\": \"7.9.6\",\n \"@babel/register\": \"7.9.0\",\n \"ava\": \"3.8.1\",\n \"coveralls\": \"3.1.0\",\n \"esdoc\": \"1.1.0\",\n \"esdoc-inject-script-plugin\": \"1.0.0\",\n \"esdoc-inject-style-plugin\": \"1.0.0\",\n \"esdoc-standard-plugin\": \"1.0.0\",\n \"np\": \"6.2.3\",\n \"nyc\": \"15.0.1\"\n },\n \"files\": [\n \"lib\"\n ],\n \"homepage\": \"https://aureooms.github.io/js-integer\",\n \"keywords\": [\n \"abitrary\",\n \"addition\",\n \"algorithm\",\n \"arithmetic\",\n \"big\",\n \"big-int\",\n \"big-integer\",\n \"big-integers\",\n \"big-num\",\n \"big-number\",\n \"big-numbers\",\n \"bigint\",\n \"biginteger\",\n \"bigintegers\",\n \"bignum\",\n \"bignumber\",\n \"bignumbers\",\n \"bn\",\n \"bn.js\",\n \"complexity\",\n \"division\",\n \"exact\",\n \"exponentiation\",\n \"gcd\",\n \"integer\",\n \"javascript\",\n \"js\",\n \"jsbn\",\n \"library\",\n \"logic\",\n \"mpa\",\n \"multi-precision\",\n \"multiplication\",\n \"number\",\n \"precision\",\n \"subtraction\"\n ],\n \"license\": \"AGPL-3.0\",\n \"main\": \"lib/index.js\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/aureooms/js-integer.git\"\n },\n \"scripts\": {\n \"build\": \"rm -rf lib && babel src -d lib\",\n \"cover\": \"nyc --reporter=lcov npm test\",\n \"esdoc\": \"esdoc\",\n \"prepare\": \"npm run build\",\n \"release\": \"np\",\n \"test\": \"ava\"\n }\n}\n", + "content": "{\n \"name\": \"@aureooms/js-integer\",\n \"description\": \"Integers for JavaScript\",\n \"version\": \"7.0.0\",\n \"author\": \"Aurélien Ooms \",\n \"ava\": {\n \"require\": [\n \"@babel/polyfill\",\n \"@babel/register\"\n ],\n \"files\": [\n \"test/src/**/*\"\n ],\n \"timeout\": \"5m\",\n \"concurrency\": 8\n },\n \"babel\": {\n \"presets\": [\n \"@babel/preset-env\"\n ],\n \"env\": {\n \"development\": {\n \"sourceMaps\": \"inline\"\n }\n }\n },\n \"bugs\": {\n \"url\": \"https://github.com/aureooms/js-integer/issues\"\n },\n \"dependencies\": {\n \"@aureooms/js-error\": \"^4.0.0\",\n \"@aureooms/js-integer-big-endian\": \"^9.0.0\"\n },\n \"devDependencies\": {\n \"@aureooms/js-algorithms\": \"3.0.7\",\n \"@aureooms/js-array\": \"4.0.0\",\n \"@aureooms/js-itertools\": \"4.0.0\",\n \"@aureooms/js-operator\": \"1.0.2\",\n \"@aureooms/js-random\": \"2.0.0\",\n \"@aureooms/js-string\": \"0.2.0\",\n \"@babel/cli\": \"7.8.4\",\n \"@babel/core\": \"7.9.6\",\n \"@babel/polyfill\": \"7.8.7\",\n \"@babel/preset-env\": \"7.9.6\",\n \"@babel/register\": \"7.9.0\",\n \"ava\": \"3.8.2\",\n \"coveralls\": \"3.1.0\",\n \"esdoc\": \"1.1.0\",\n \"esdoc-inject-script-plugin\": \"1.0.0\",\n \"esdoc-inject-style-plugin\": \"1.0.0\",\n \"esdoc-standard-plugin\": \"1.0.0\",\n \"np\": \"6.2.3\",\n \"nyc\": \"15.0.1\"\n },\n \"files\": [\n \"lib\"\n ],\n \"homepage\": \"https://aureooms.github.io/js-integer\",\n \"keywords\": [\n \"abitrary\",\n \"addition\",\n \"algorithm\",\n \"arithmetic\",\n \"big\",\n \"big-int\",\n \"big-integer\",\n \"big-integers\",\n \"big-num\",\n \"big-number\",\n \"big-numbers\",\n \"bigint\",\n \"biginteger\",\n \"bigintegers\",\n \"bignum\",\n \"bignumber\",\n \"bignumbers\",\n \"bn\",\n \"bn.js\",\n \"complexity\",\n \"division\",\n \"exact\",\n \"exponentiation\",\n \"gcd\",\n \"integer\",\n \"javascript\",\n \"js\",\n \"jsbn\",\n \"library\",\n \"logic\",\n \"mpa\",\n \"multi-precision\",\n \"multiplication\",\n \"number\",\n \"precision\",\n \"subtraction\"\n ],\n \"license\": \"AGPL-3.0\",\n \"main\": \"lib/index.js\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/aureooms/js-integer.git\"\n },\n \"scripts\": {\n \"build\": \"rm -rf lib && babel src -d lib\",\n \"cover\": \"nyc --reporter=lcov npm test\",\n \"esdoc\": \"esdoc\",\n \"prepare\": \"npm run build\",\n \"release\": \"np\",\n \"test\": \"ava\"\n }\n}\n", "longname": "/home/aureooms/dev/js/js-integer/package.json", "name": "package.json", "static": true, diff --git a/source.html b/source.html index 923f925..65329e3 100644 --- a/source.html +++ b/source.html @@ -98,15 +98,15 @@ 0 %0/1 41 byte 1 - 2020-04-05 14:36:48 (UTC) + 2020-05-06 08:03:39 (UTC) - src/DEFAULT_REPRESENTATION_BASE.js + src/DEFAULT_REPRESENTATION_BASE.js DEFAULT_REPRESENTATION_BASE 0 %0/1 - 496 byte - 9 - 2020-04-05 14:36:48 (UTC) + 778 byte + 13 + 2020-05-06 09:23:43 (UTC) src/Integer.js @@ -114,7 +114,7 @@ 1 %1/81 12619 byte 575 - 2020-05-02 15:41:23 (UTC) + 2020-05-05 16:47:08 (UTC) src/IntegerRing.js @@ -155,9 +155,9 @@ MIN_BASE MIN_NUMBER 0 %0/4 - 233 byte + 234 byte 5 - 2020-05-01 19:33:17 (UTC) + 2020-05-06 08:22:09 (UTC) src/index.js diff --git a/variable/index.html b/variable/index.html index 61683f3..06db26d 100644 --- a/variable/index.html +++ b/variable/index.html @@ -338,11 +338,11 @@

    - source + source

    -
    import {DEFAULT_REPRESENTATION_BASE} from '@aureooms/js-integer/src/DEFAULT_REPRESENTATION_BASE.js'
    +
    import {DEFAULT_REPRESENTATION_BASE} from '@aureooms/js-integer/src/DEFAULT_REPRESENTATION_BASE.js'
    From 8149b848986dee7645f7e0dd4e088ffebf1bbc4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Ooms?= Date: Thu, 30 Jul 2020 20:24:46 +0200 Subject: [PATCH 13/15] Generate docs. --- ast/source/_limits.js.json | 214 ++++++++++++++++++------------------- file/src/_limits.js.html | 2 +- index.json | 4 +- source.html | 6 +- 4 files changed, 113 insertions(+), 113 deletions(-) diff --git a/ast/source/_limits.js.json b/ast/source/_limits.js.json index 7256efc..8455117 100644 --- a/ast/source/_limits.js.json +++ b/ast/source/_limits.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 234, + "end": 235, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 234, + "end": 235, "loc": { "start": { "line": 1, @@ -565,7 +565,7 @@ { "type": "ExportNamedDeclaration", "start": 170, - "end": 233, + "end": 234, "loc": { "start": { "line": 5, @@ -573,7 +573,7 @@ }, "end": { "line": 5, - "column": 63 + "column": 64 } }, "specifiers": [], @@ -581,7 +581,7 @@ "declaration": { "type": "VariableDeclaration", "start": 177, - "end": 233, + "end": 234, "loc": { "start": { "line": 5, @@ -589,14 +589,14 @@ }, "end": { "line": 5, - "column": 63 + "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 183, - "end": 232, + "end": 233, "loc": { "start": { "line": 5, @@ -604,7 +604,7 @@ }, "end": { "line": 5, - "column": 62 + "column": 63 } }, "id": { @@ -627,7 +627,7 @@ "init": { "type": "BinaryExpression", "start": 194, - "end": 232, + "end": 233, "loc": { "start": { "line": 5, @@ -635,13 +635,13 @@ }, "end": { "line": 5, - "column": 62 + "column": 63 } }, "left": { "type": "CallExpression", "start": 194, - "end": 228, + "end": 229, "loc": { "start": { "line": 5, @@ -649,13 +649,13 @@ }, "end": { "line": 5, - "column": 58 + "column": 59 } }, "callee": { "type": "MemberExpression", "start": 194, - "end": 203, + "end": 204, "loc": { "start": { "line": 5, @@ -663,7 +663,7 @@ }, "end": { "line": 5, - "column": 33 + "column": 34 } }, "object": { @@ -686,7 +686,7 @@ "property": { "type": "Identifier", "start": 199, - "end": 203, + "end": 204, "loc": { "start": { "line": 5, @@ -694,55 +694,55 @@ }, "end": { "line": 5, - "column": 33 + "column": 34 }, - "identifierName": "ceil" + "identifierName": "floor" }, - "name": "ceil" + "name": "floor" }, "computed": false }, "arguments": [ { "type": "CallExpression", - "start": 204, - "end": 227, + "start": 205, + "end": 228, "loc": { "start": { "line": 5, - "column": 34 + "column": 35 }, "end": { "line": 5, - "column": 57 + "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 204, - "end": 213, + "start": 205, + "end": 214, "loc": { "start": { "line": 5, - "column": 34 + "column": 35 }, "end": { "line": 5, - "column": 43 + "column": 44 } }, "object": { "type": "Identifier", - "start": 204, - "end": 208, + "start": 205, + "end": 209, "loc": { "start": { "line": 5, - "column": 34 + "column": 35 }, "end": { "line": 5, - "column": 38 + "column": 39 }, "identifierName": "Math" }, @@ -750,16 +750,16 @@ }, "property": { "type": "Identifier", - "start": 209, - "end": 213, + "start": 210, + "end": 214, "loc": { "start": { "line": 5, - "column": 39 + "column": 40 }, "end": { "line": 5, - "column": 43 + "column": 44 }, "identifierName": "sqrt" }, @@ -770,30 +770,30 @@ "arguments": [ { "type": "BinaryExpression", - "start": 214, - "end": 226, + "start": 215, + "end": 227, "loc": { "start": { "line": 5, - "column": 44 + "column": 45 }, "end": { "line": 5, - "column": 56 + "column": 57 } }, "left": { "type": "Identifier", - "start": 214, - "end": 224, + "start": 215, + "end": 225, "loc": { "start": { "line": 5, - "column": 44 + "column": 45 }, "end": { "line": 5, - "column": 54 + "column": 55 }, "identifierName": "MAX_NUMBER" }, @@ -802,16 +802,16 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 225, - "end": 226, + "start": 226, + "end": 227, "loc": { "start": { "line": 5, - "column": 55 + "column": 56 }, "end": { "line": 5, - "column": 56 + "column": 57 } }, "extra": { @@ -828,16 +828,16 @@ "operator": "|", "right": { "type": "NumericLiteral", - "start": 231, - "end": 232, + "start": 232, + "end": 233, "loc": { "start": { "line": 5, - "column": 61 + "column": 62 }, "end": { "line": 5, - "column": 62 + "column": 63 } }, "extra": { @@ -1994,9 +1994,9 @@ "postfix": false, "binop": null }, - "value": "ceil", + "value": "floor", "start": 199, - "end": 203, + "end": 204, "loc": { "start": { "line": 5, @@ -2004,7 +2004,7 @@ }, "end": { "line": 5, - "column": 33 + "column": 34 } } }, @@ -2020,16 +2020,16 @@ "postfix": false, "binop": null }, - "start": 203, - "end": 204, + "start": 204, + "end": 205, "loc": { "start": { "line": 5, - "column": 33 + "column": 34 }, "end": { "line": 5, - "column": 34 + "column": 35 } } }, @@ -2046,16 +2046,16 @@ "binop": null }, "value": "Math", - "start": 204, - "end": 208, + "start": 205, + "end": 209, "loc": { "start": { "line": 5, - "column": 34 + "column": 35 }, "end": { "line": 5, - "column": 38 + "column": 39 } } }, @@ -2072,16 +2072,16 @@ "binop": null, "updateContext": null }, - "start": 208, - "end": 209, + "start": 209, + "end": 210, "loc": { "start": { "line": 5, - "column": 38 + "column": 39 }, "end": { "line": 5, - "column": 39 + "column": 40 } } }, @@ -2098,16 +2098,16 @@ "binop": null }, "value": "sqrt", - "start": 209, - "end": 213, + "start": 210, + "end": 214, "loc": { "start": { "line": 5, - "column": 39 + "column": 40 }, "end": { "line": 5, - "column": 43 + "column": 44 } } }, @@ -2123,16 +2123,16 @@ "postfix": false, "binop": null }, - "start": 213, - "end": 214, + "start": 214, + "end": 215, "loc": { "start": { "line": 5, - "column": 43 + "column": 44 }, "end": { "line": 5, - "column": 44 + "column": 45 } } }, @@ -2149,16 +2149,16 @@ "binop": null }, "value": "MAX_NUMBER", - "start": 214, - "end": 224, + "start": 215, + "end": 225, "loc": { "start": { "line": 5, - "column": 44 + "column": 45 }, "end": { "line": 5, - "column": 54 + "column": 55 } } }, @@ -2176,16 +2176,16 @@ "updateContext": null }, "value": "+", - "start": 224, - "end": 225, + "start": 225, + "end": 226, "loc": { "start": { "line": 5, - "column": 54 + "column": 55 }, "end": { "line": 5, - "column": 55 + "column": 56 } } }, @@ -2203,16 +2203,16 @@ "updateContext": null }, "value": 1, - "start": 225, - "end": 226, + "start": 226, + "end": 227, "loc": { "start": { "line": 5, - "column": 55 + "column": 56 }, "end": { "line": 5, - "column": 56 + "column": 57 } } }, @@ -2228,16 +2228,16 @@ "postfix": false, "binop": null }, - "start": 226, - "end": 227, + "start": 227, + "end": 228, "loc": { "start": { "line": 5, - "column": 56 + "column": 57 }, "end": { "line": 5, - "column": 57 + "column": 58 } } }, @@ -2253,16 +2253,16 @@ "postfix": false, "binop": null }, - "start": 227, - "end": 228, + "start": 228, + "end": 229, "loc": { "start": { "line": 5, - "column": 57 + "column": 58 }, "end": { "line": 5, - "column": 58 + "column": 59 } } }, @@ -2280,16 +2280,16 @@ "updateContext": null }, "value": "|", - "start": 229, - "end": 230, + "start": 230, + "end": 231, "loc": { "start": { "line": 5, - "column": 59 + "column": 60 }, "end": { "line": 5, - "column": 60 + "column": 61 } } }, @@ -2307,16 +2307,16 @@ "updateContext": null }, "value": 0, - "start": 231, - "end": 232, + "start": 232, + "end": 233, "loc": { "start": { "line": 5, - "column": 61 + "column": 62 }, "end": { "line": 5, - "column": 62 + "column": 63 } } }, @@ -2333,16 +2333,16 @@ "binop": null, "updateContext": null }, - "start": 232, - "end": 233, + "start": 233, + "end": 234, "loc": { "start": { "line": 5, - "column": 62 + "column": 63 }, "end": { "line": 5, - "column": 63 + "column": 64 } } }, @@ -2359,8 +2359,8 @@ "binop": null, "updateContext": null }, - "start": 234, - "end": 234, + "start": 235, + "end": 235, "loc": { "start": { "line": 6, diff --git a/file/src/_limits.js.html b/file/src/_limits.js.html index 5486512..445f8b7 100644 --- a/file/src/_limits.js.html +++ b/file/src/_limits.js.html @@ -82,7 +82,7 @@ export const MAX_NUMBER = Math.pow(2,53) - 1 ; export const MIN_NUMBER = -Math.pow(2,53) ; export const MIN_BASE = 2 ; -export const MAX_BASE = Math.ceil(Math.sqrt(MAX_NUMBER+1)) | 0; +export const MAX_BASE = Math.floor(Math.sqrt(MAX_NUMBER+1)) | 0;
    diff --git a/index.json b/index.json index 82df5c7..30d08b2 100644 --- a/index.json +++ b/index.json @@ -3179,7 +3179,7 @@ "__docId__": 159, "kind": "file", "name": "src/_limits.js", - "content": "// The range of valid numbers is -2^53 to 2^53 - 1\nexport const MAX_NUMBER = Math.pow(2,53) - 1 ;\nexport const MIN_NUMBER = -Math.pow(2,53) ;\nexport const MIN_BASE = 2 ;\nexport const MAX_BASE = Math.ceil(Math.sqrt(MAX_NUMBER+1)) | 0;\n", + "content": "// The range of valid numbers is -2^53 to 2^53 - 1\nexport const MAX_NUMBER = Math.pow(2,53) - 1 ;\nexport const MIN_NUMBER = -Math.pow(2,53) ;\nexport const MIN_BASE = 2 ;\nexport const MAX_BASE = Math.floor(Math.sqrt(MAX_NUMBER+1)) | 0;\n", "static": true, "longname": "/home/aureooms/dev/js/js-integer/src/_limits.js", "access": "public", @@ -4462,7 +4462,7 @@ }, { "kind": "packageJSON", - "content": "{\n \"name\": \"@aureooms/js-integer\",\n \"description\": \"Integers for JavaScript\",\n \"version\": \"7.0.0\",\n \"author\": \"Aurélien Ooms \",\n \"ava\": {\n \"require\": [\n \"@babel/polyfill\",\n \"@babel/register\"\n ],\n \"files\": [\n \"test/src/**/*\"\n ],\n \"timeout\": \"5m\",\n \"concurrency\": 8\n },\n \"babel\": {\n \"presets\": [\n \"@babel/preset-env\"\n ],\n \"env\": {\n \"development\": {\n \"sourceMaps\": \"inline\"\n }\n }\n },\n \"bugs\": {\n \"url\": \"https://github.com/aureooms/js-integer/issues\"\n },\n \"dependencies\": {\n \"@aureooms/js-error\": \"^4.0.0\",\n \"@aureooms/js-integer-big-endian\": \"^9.0.0\"\n },\n \"devDependencies\": {\n \"@aureooms/js-algorithms\": \"3.0.7\",\n \"@aureooms/js-array\": \"4.0.0\",\n \"@aureooms/js-itertools\": \"4.0.0\",\n \"@aureooms/js-operator\": \"1.0.2\",\n \"@aureooms/js-random\": \"2.0.0\",\n \"@aureooms/js-string\": \"0.2.0\",\n \"@babel/cli\": \"7.8.4\",\n \"@babel/core\": \"7.9.6\",\n \"@babel/polyfill\": \"7.8.7\",\n \"@babel/preset-env\": \"7.9.6\",\n \"@babel/register\": \"7.9.0\",\n \"ava\": \"3.8.2\",\n \"coveralls\": \"3.1.0\",\n \"esdoc\": \"1.1.0\",\n \"esdoc-inject-script-plugin\": \"1.0.0\",\n \"esdoc-inject-style-plugin\": \"1.0.0\",\n \"esdoc-standard-plugin\": \"1.0.0\",\n \"np\": \"6.2.3\",\n \"nyc\": \"15.0.1\"\n },\n \"files\": [\n \"lib\"\n ],\n \"homepage\": \"https://aureooms.github.io/js-integer\",\n \"keywords\": [\n \"abitrary\",\n \"addition\",\n \"algorithm\",\n \"arithmetic\",\n \"big\",\n \"big-int\",\n \"big-integer\",\n \"big-integers\",\n \"big-num\",\n \"big-number\",\n \"big-numbers\",\n \"bigint\",\n \"biginteger\",\n \"bigintegers\",\n \"bignum\",\n \"bignumber\",\n \"bignumbers\",\n \"bn\",\n \"bn.js\",\n \"complexity\",\n \"division\",\n \"exact\",\n \"exponentiation\",\n \"gcd\",\n \"integer\",\n \"javascript\",\n \"js\",\n \"jsbn\",\n \"library\",\n \"logic\",\n \"mpa\",\n \"multi-precision\",\n \"multiplication\",\n \"number\",\n \"precision\",\n \"subtraction\"\n ],\n \"license\": \"AGPL-3.0\",\n \"main\": \"lib/index.js\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/aureooms/js-integer.git\"\n },\n \"scripts\": {\n \"build\": \"rm -rf lib && babel src -d lib\",\n \"cover\": \"nyc --reporter=lcov npm test\",\n \"esdoc\": \"esdoc\",\n \"prepare\": \"npm run build\",\n \"release\": \"np\",\n \"test\": \"ava\"\n }\n}\n", + "content": "{\n \"name\": \"@aureooms/js-integer\",\n \"description\": \"Integers for JavaScript\",\n \"version\": \"9.0.0\",\n \"author\": \"Aurélien Ooms \",\n \"ava\": {\n \"require\": [\n \"@babel/polyfill\",\n \"@babel/register\"\n ],\n \"files\": [\n \"test/src/**/*\"\n ],\n \"timeout\": \"10m\",\n \"concurrency\": 8\n },\n \"babel\": {\n \"presets\": [\n \"@babel/preset-env\"\n ],\n \"env\": {\n \"development\": {\n \"sourceMaps\": \"inline\"\n }\n }\n },\n \"bugs\": {\n \"url\": \"https://github.com/aureooms/js-integer/issues\"\n },\n \"dependencies\": {\n \"@aureooms/js-error\": \"^4.0.0\",\n \"@aureooms/js-integer-big-endian\": \"^10.0.0\"\n },\n \"devDependencies\": {\n \"@aureooms/js-algorithms\": \"3.0.7\",\n \"@aureooms/js-array\": \"4.0.0\",\n \"@aureooms/js-itertools\": \"4.0.0\",\n \"@aureooms/js-operator\": \"1.0.2\",\n \"@aureooms/js-random\": \"2.0.0\",\n \"@aureooms/js-string\": \"0.2.0\",\n \"@babel/cli\": \"7.10.5\",\n \"@babel/core\": \"7.10.5\",\n \"@babel/polyfill\": \"7.10.4\",\n \"@babel/preset-env\": \"7.10.4\",\n \"@babel/register\": \"7.10.5\",\n \"ava\": \"3.11.0\",\n \"coveralls\": \"3.1.0\",\n \"esdoc\": \"1.1.0\",\n \"esdoc-inject-script-plugin\": \"1.0.0\",\n \"esdoc-inject-style-plugin\": \"1.0.0\",\n \"esdoc-standard-plugin\": \"1.0.0\",\n \"np\": \"6.3.2\",\n \"nyc\": \"15.1.0\"\n },\n \"files\": [\n \"lib\"\n ],\n \"homepage\": \"https://aureooms.github.io/js-integer\",\n \"keywords\": [\n \"abitrary\",\n \"addition\",\n \"algorithm\",\n \"arithmetic\",\n \"big\",\n \"big-int\",\n \"big-integer\",\n \"big-integers\",\n \"big-num\",\n \"big-number\",\n \"big-numbers\",\n \"bigint\",\n \"biginteger\",\n \"bigintegers\",\n \"bignum\",\n \"bignumber\",\n \"bignumbers\",\n \"bn\",\n \"bn.js\",\n \"complexity\",\n \"division\",\n \"exact\",\n \"exponentiation\",\n \"gcd\",\n \"integer\",\n \"javascript\",\n \"js\",\n \"jsbn\",\n \"library\",\n \"logic\",\n \"mpa\",\n \"multi-precision\",\n \"multiplication\",\n \"number\",\n \"precision\",\n \"subtraction\"\n ],\n \"license\": \"AGPL-3.0\",\n \"main\": \"lib/index.js\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/aureooms/js-integer.git\"\n },\n \"scripts\": {\n \"build\": \"rm -rf lib && babel src -d lib\",\n \"cover\": \"nyc --reporter=lcov npm test\",\n \"esdoc\": \"esdoc\",\n \"prepare\": \"npm run build\",\n \"release\": \"np\",\n \"test\": \"ava\"\n }\n}\n", "longname": "/home/aureooms/dev/js/js-integer/package.json", "name": "package.json", "static": true, diff --git a/source.html b/source.html index 65329e3..b0fcb02 100644 --- a/source.html +++ b/source.html @@ -106,7 +106,7 @@ 0 %0/1 778 byte 13 - 2020-05-06 09:23:43 (UTC) + 2020-05-02 15:06:01 (UTC) src/Integer.js @@ -155,9 +155,9 @@ MIN_BASE MIN_NUMBER 0 %0/4 - 234 byte + 235 byte 5 - 2020-05-06 08:22:09 (UTC) + 2020-05-02 10:02:05 (UTC) src/index.js From 886963287dc0d3178c9bab5b684828ac7969d6a3 Mon Sep 17 00:00:00 2001 From: aureooms Date: Tue, 23 Mar 2021 17:57:25 +0000 Subject: [PATCH 14/15] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20au?= =?UTF-8?q?reooms/js-integer@4cf5e59b6b0b74ad071d8f389ee59e3ebbcdb74a=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 28 - ast/source/DEFAULT_DISPLAY_BASE.js.json | 24 +- .../DEFAULT_REPRESENTATION_BASE.js.json | 282 +- ast/source/Integer.js.json | 68144 ++++++++-------- ast/source/IntegerRing.js.json | 11781 +-- ast/source/ZZ.js.json | 578 +- ast/source/ZeroDivisionError.js.json | 760 +- ast/source/_from_number.js.json | 868 +- ast/source/_limits.js.json | 1451 +- ast/source/index.js.json | 358 +- ast/source/integer.js.json | 9690 +-- class/src/Integer.js~Integer.html | 200 +- class/src/IntegerRing.js~IntegerRing.html | 56 +- ...eroDivisionError.js~ZeroDivisionError.html | 89 +- coverage.json | 241 +- dump.json | 1691 - file/src/DEFAULT_DISPLAY_BASE.js.html | 4 +- file/src/DEFAULT_REPRESENTATION_BASE.js.html | 12 +- file/src/Integer.js.html | 656 +- file/src/IntegerRing.js.html | 167 +- file/src/ZZ.js.html | 11 +- file/src/ZeroDivisionError.js.html | 15 +- file/src/_from_number.js.html | 18 +- file/src/_limits.js.html | 11 +- file/src/index.js.html | 18 +- file/src/integer.js.html | 137 +- function/index.html | 134 +- identifiers.html | 2 +- index.html | 28 +- index.json | 446 +- inject/script/0-header.js | 40 +- manual-badge.svg | 17 - manual/example.html | 4 +- manual/example/example.html | 91 - manual/index.html | 8 +- manual/installation.html | 2 +- manual/installation/installation.html | 100 - manual/overview.html | 2 +- manual/overview/overview.html | 91 - manual/usage.html | 8 +- manual/usage/usage.html | 102 - package.json | 69 - script/search_index.js | 48 +- source.html | 70 +- user/css/0-style.css | 52 - user/script/0-header.js | 34 - variable/index.html | 22 +- 47 files changed, 47790 insertions(+), 50870 deletions(-) delete mode 100644 .gitignore delete mode 100644 dump.json delete mode 100644 manual-badge.svg delete mode 100644 manual/example/example.html delete mode 100644 manual/installation/installation.html delete mode 100644 manual/overview/overview.html delete mode 100644 manual/usage/usage.html delete mode 100644 package.json delete mode 100644 user/css/0-style.css delete mode 100644 user/script/0-header.js diff --git a/.gitignore b/.gitignore deleted file mode 100644 index dcb4ccc..0000000 --- a/.gitignore +++ /dev/null @@ -1,28 +0,0 @@ -# Logs -logs -*.log - -# Runtime data -pids -*.pid -*.seed - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage - -# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) -.grunt - -# Compiled binary addons (http://nodejs.org/api/addons.html) -build/Release - -# Dependency directory -# Deployed apps should consider commenting this line out: -# see https://npmjs.org/doc/faq.html#Should-I-check-my-node_modules-folder-into-git -node_modules - -# groc -doc diff --git a/ast/source/DEFAULT_DISPLAY_BASE.js.json b/ast/source/DEFAULT_DISPLAY_BASE.js.json index fc220fc..36e681f 100644 --- a/ast/source/DEFAULT_DISPLAY_BASE.js.json +++ b/ast/source/DEFAULT_DISPLAY_BASE.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 41, + "end": 40, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 41, + "end": 40, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "ExportNamedDeclaration", "start": 0, - "end": 40, + "end": 39, "loc": { "start": { "line": 1, @@ -39,7 +39,7 @@ }, "end": { "line": 1, - "column": 40 + "column": 39 } }, "specifiers": [], @@ -47,7 +47,7 @@ "declaration": { "type": "VariableDeclaration", "start": 7, - "end": 40, + "end": 39, "loc": { "start": { "line": 1, @@ -55,7 +55,7 @@ }, "end": { "line": 1, - "column": 40 + "column": 39 } }, "declarations": [ @@ -271,16 +271,16 @@ "binop": null, "updateContext": null }, - "start": 39, - "end": 40, + "start": 38, + "end": 39, "loc": { "start": { "line": 1, - "column": 39 + "column": 38 }, "end": { "line": 1, - "column": 40 + "column": 39 } } }, @@ -297,8 +297,8 @@ "binop": null, "updateContext": null }, - "start": 41, - "end": 41, + "start": 40, + "end": 40, "loc": { "start": { "line": 2, diff --git a/ast/source/DEFAULT_REPRESENTATION_BASE.js.json b/ast/source/DEFAULT_REPRESENTATION_BASE.js.json index 9d66ea6..bff3ddd 100644 --- a/ast/source/DEFAULT_REPRESENTATION_BASE.js.json +++ b/ast/source/DEFAULT_REPRESENTATION_BASE.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 778, + "end": 782, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 778, + "end": 782, "loc": { "start": { "line": 1, @@ -30,8 +30,8 @@ "body": [ { "type": "ImportDeclaration", - "start": 46, - "end": 84, + "start": 47, + "end": 85, "loc": { "start": { "line": 2, @@ -50,11 +50,11 @@ "loc": { "start": { "line": 2, - "column": 9 + "column": 8 }, "end": { "line": 2, - "column": 17 + "column": 16 } }, "imported": { @@ -64,11 +64,11 @@ "loc": { "start": { "line": 2, - "column": 9 + "column": 8 }, "end": { "line": 2, - "column": 17 + "column": 16 }, "identifierName": "MAX_BASE" }, @@ -82,11 +82,11 @@ "loc": { "start": { "line": 2, - "column": 9 + "column": 8 }, "end": { "line": 2, - "column": 17 + "column": 16 }, "identifierName": "MAX_BASE" }, @@ -97,30 +97,30 @@ ], "source": { "type": "StringLiteral", - "start": 71, - "end": 82, + "start": 70, + "end": 84, "loc": { "start": { "line": 2, - "column": 25 + "column": 23 }, "end": { "line": 2, - "column": 36 + "column": 37 } }, "extra": { - "rawValue": "./_limits", - "raw": "'./_limits'" + "rawValue": "./_limits.js", + "raw": "'./_limits.js'" }, - "value": "./_limits" + "value": "./_limits.js" }, "leadingComments": [ { "type": "CommentLine", - "value": "import { DEFAULT_DISPLAY_BASE } from './' ;", + "value": " Import { DEFAULT_DISPLAY_BASE } from './' ;", "start": 0, - "end": 45, + "end": 46, "loc": { "start": { "line": 1, @@ -128,7 +128,7 @@ }, "end": { "line": 1, - "column": 45 + "column": 46 } } } @@ -137,8 +137,8 @@ { "type": "CommentBlock", "value": "\n * Biggest power of DEFAULT_DISPLAY_BASE whose square holds in a single double\n * with full precision. For working correctly with multiplication algorithms\n * and for fast base DEFAULT_DISPLAY_BASE printing. On older machines with no\n * native doubles, it might be worth to only use ints.\n ", - "start": 86, - "end": 381, + "start": 87, + "end": 382, "loc": { "start": { "line": 4, @@ -152,9 +152,9 @@ }, { "type": "CommentLine", - "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(DEFAULT_DISPLAY_BASE,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(DEFAULT_DISPLAY_BASE))) ;", - "start": 382, - "end": 538, + "value": " export const DEFAULT_REPRESENTATION_BASE = Math.pow(DEFAULT_DISPLAY_BASE,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(DEFAULT_DISPLAY_BASE))) ;", + "start": 383, + "end": 540, "loc": { "start": { "line": 10, @@ -162,15 +162,15 @@ }, "end": { "line": 10, - "column": 156 + "column": 157 } } }, { "type": "CommentLine", - "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(16,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(16))) ;", - "start": 539, - "end": 659, + "value": " export const DEFAULT_REPRESENTATION_BASE = Math.pow(16,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(16))) ;", + "start": 541, + "end": 662, "loc": { "start": { "line": 11, @@ -178,15 +178,15 @@ }, "end": { "line": 11, - "column": 120 + "column": 121 } } }, { "type": "CommentLine", - "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(2,26) | 0;", - "start": 660, - "end": 724, + "value": " export const DEFAULT_REPRESENTATION_BASE = Math.pow(2,26) | 0;", + "start": 663, + "end": 728, "loc": { "start": { "line": 12, @@ -194,7 +194,7 @@ }, "end": { "line": 12, - "column": 64 + "column": 65 } } } @@ -202,8 +202,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 725, - "end": 777, + "start": 729, + "end": 781, "loc": { "start": { "line": 13, @@ -218,8 +218,8 @@ "source": null, "declaration": { "type": "VariableDeclaration", - "start": 732, - "end": 777, + "start": 736, + "end": 781, "loc": { "start": { "line": 13, @@ -233,8 +233,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 738, - "end": 776, + "start": 742, + "end": 780, "loc": { "start": { "line": 13, @@ -247,8 +247,8 @@ }, "id": { "type": "Identifier", - "start": 738, - "end": 765, + "start": 742, + "end": 769, "loc": { "start": { "line": 13, @@ -265,8 +265,8 @@ }, "init": { "type": "Identifier", - "start": 768, - "end": 776, + "start": 772, + "end": 780, "loc": { "start": { "line": 13, @@ -288,8 +288,8 @@ { "type": "CommentBlock", "value": "\n * Biggest power of DEFAULT_DISPLAY_BASE whose square holds in a single double\n * with full precision. For working correctly with multiplication algorithms\n * and for fast base DEFAULT_DISPLAY_BASE printing. On older machines with no\n * native doubles, it might be worth to only use ints.\n ", - "start": 86, - "end": 381, + "start": 87, + "end": 382, "loc": { "start": { "line": 4, @@ -303,9 +303,9 @@ }, { "type": "CommentLine", - "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(DEFAULT_DISPLAY_BASE,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(DEFAULT_DISPLAY_BASE))) ;", - "start": 382, - "end": 538, + "value": " export const DEFAULT_REPRESENTATION_BASE = Math.pow(DEFAULT_DISPLAY_BASE,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(DEFAULT_DISPLAY_BASE))) ;", + "start": 383, + "end": 540, "loc": { "start": { "line": 10, @@ -313,15 +313,15 @@ }, "end": { "line": 10, - "column": 156 + "column": 157 } } }, { "type": "CommentLine", - "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(16,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(16))) ;", - "start": 539, - "end": 659, + "value": " export const DEFAULT_REPRESENTATION_BASE = Math.pow(16,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(16))) ;", + "start": 541, + "end": 662, "loc": { "start": { "line": 11, @@ -329,15 +329,15 @@ }, "end": { "line": 11, - "column": 120 + "column": 121 } } }, { "type": "CommentLine", - "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(2,26) | 0;", - "start": 660, - "end": 724, + "value": " export const DEFAULT_REPRESENTATION_BASE = Math.pow(2,26) | 0;", + "start": 663, + "end": 728, "loc": { "start": { "line": 12, @@ -345,7 +345,7 @@ }, "end": { "line": 12, - "column": 64 + "column": 65 } } } @@ -356,8 +356,8 @@ { "type": "CommentBlock", "value": "\n * Biggest power of DEFAULT_DISPLAY_BASE whose square holds in a single double\n * with full precision. For working correctly with multiplication algorithms\n * and for fast base DEFAULT_DISPLAY_BASE printing. On older machines with no\n * native doubles, it might be worth to only use ints.\n ", - "start": 86, - "end": 381, + "start": 87, + "end": 382, "loc": { "start": { "line": 4, @@ -371,9 +371,9 @@ }, { "type": "CommentLine", - "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(DEFAULT_DISPLAY_BASE,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(DEFAULT_DISPLAY_BASE))) ;", - "start": 382, - "end": 538, + "value": " export const DEFAULT_REPRESENTATION_BASE = Math.pow(DEFAULT_DISPLAY_BASE,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(DEFAULT_DISPLAY_BASE))) ;", + "start": 383, + "end": 540, "loc": { "start": { "line": 10, @@ -381,15 +381,15 @@ }, "end": { "line": 10, - "column": 156 + "column": 157 } } }, { "type": "CommentLine", - "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(16,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(16))) ;", - "start": 539, - "end": 659, + "value": " export const DEFAULT_REPRESENTATION_BASE = Math.pow(16,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(16))) ;", + "start": 541, + "end": 662, "loc": { "start": { "line": 11, @@ -397,15 +397,15 @@ }, "end": { "line": 11, - "column": 120 + "column": 121 } } }, { "type": "CommentLine", - "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(2,26) | 0;", - "start": 660, - "end": 724, + "value": " export const DEFAULT_REPRESENTATION_BASE = Math.pow(2,26) | 0;", + "start": 663, + "end": 728, "loc": { "start": { "line": 12, @@ -413,7 +413,7 @@ }, "end": { "line": 12, - "column": 64 + "column": 65 } } } @@ -425,9 +425,9 @@ "comments": [ { "type": "CommentLine", - "value": "import { DEFAULT_DISPLAY_BASE } from './' ;", + "value": " Import { DEFAULT_DISPLAY_BASE } from './' ;", "start": 0, - "end": 45, + "end": 46, "loc": { "start": { "line": 1, @@ -435,15 +435,15 @@ }, "end": { "line": 1, - "column": 45 + "column": 46 } } }, { "type": "CommentBlock", "value": "\n * Biggest power of DEFAULT_DISPLAY_BASE whose square holds in a single double\n * with full precision. For working correctly with multiplication algorithms\n * and for fast base DEFAULT_DISPLAY_BASE printing. On older machines with no\n * native doubles, it might be worth to only use ints.\n ", - "start": 86, - "end": 381, + "start": 87, + "end": 382, "loc": { "start": { "line": 4, @@ -457,9 +457,9 @@ }, { "type": "CommentLine", - "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(DEFAULT_DISPLAY_BASE,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(DEFAULT_DISPLAY_BASE))) ;", - "start": 382, - "end": 538, + "value": " export const DEFAULT_REPRESENTATION_BASE = Math.pow(DEFAULT_DISPLAY_BASE,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(DEFAULT_DISPLAY_BASE))) ;", + "start": 383, + "end": 540, "loc": { "start": { "line": 10, @@ -467,15 +467,15 @@ }, "end": { "line": 10, - "column": 156 + "column": 157 } } }, { "type": "CommentLine", - "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(16,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(16))) ;", - "start": 539, - "end": 659, + "value": " export const DEFAULT_REPRESENTATION_BASE = Math.pow(16,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(16))) ;", + "start": 541, + "end": 662, "loc": { "start": { "line": 11, @@ -483,15 +483,15 @@ }, "end": { "line": 11, - "column": 120 + "column": 121 } } }, { "type": "CommentLine", - "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(2,26) | 0;", - "start": 660, - "end": 724, + "value": " export const DEFAULT_REPRESENTATION_BASE = Math.pow(2,26) | 0;", + "start": 663, + "end": 728, "loc": { "start": { "line": 12, @@ -499,7 +499,7 @@ }, "end": { "line": 12, - "column": 64 + "column": 65 } } } @@ -507,9 +507,9 @@ "tokens": [ { "type": "CommentLine", - "value": "import { DEFAULT_DISPLAY_BASE } from './' ;", + "value": " Import { DEFAULT_DISPLAY_BASE } from './' ;", "start": 0, - "end": 45, + "end": 46, "loc": { "start": { "line": 1, @@ -517,7 +517,7 @@ }, "end": { "line": 1, - "column": 45 + "column": 46 } } }, @@ -536,8 +536,8 @@ "updateContext": null }, "value": "import", - "start": 46, - "end": 52, + "start": 47, + "end": 53, "loc": { "start": { "line": 2, @@ -561,8 +561,8 @@ "postfix": false, "binop": null }, - "start": 53, - "end": 54, + "start": 54, + "end": 55, "loc": { "start": { "line": 2, @@ -592,11 +592,11 @@ "loc": { "start": { "line": 2, - "column": 9 + "column": 8 }, "end": { "line": 2, - "column": 17 + "column": 16 } } }, @@ -612,16 +612,16 @@ "postfix": false, "binop": null }, - "start": 64, - "end": 65, + "start": 63, + "end": 64, "loc": { "start": { "line": 2, - "column": 18 + "column": 16 }, "end": { "line": 2, - "column": 19 + "column": 17 } } }, @@ -638,16 +638,16 @@ "binop": null }, "value": "from", - "start": 66, - "end": 70, + "start": 65, + "end": 69, "loc": { "start": { "line": 2, - "column": 20 + "column": 18 }, "end": { "line": 2, - "column": 24 + "column": 22 } } }, @@ -664,17 +664,17 @@ "binop": null, "updateContext": null }, - "value": "./_limits", - "start": 71, - "end": 82, + "value": "./_limits.js", + "start": 70, + "end": 84, "loc": { "start": { "line": 2, - "column": 25 + "column": 23 }, "end": { "line": 2, - "column": 36 + "column": 37 } } }, @@ -691,8 +691,8 @@ "binop": null, "updateContext": null }, - "start": 83, - "end": 84, + "start": 84, + "end": 85, "loc": { "start": { "line": 2, @@ -707,8 +707,8 @@ { "type": "CommentBlock", "value": "\n * Biggest power of DEFAULT_DISPLAY_BASE whose square holds in a single double\n * with full precision. For working correctly with multiplication algorithms\n * and for fast base DEFAULT_DISPLAY_BASE printing. On older machines with no\n * native doubles, it might be worth to only use ints.\n ", - "start": 86, - "end": 381, + "start": 87, + "end": 382, "loc": { "start": { "line": 4, @@ -722,9 +722,9 @@ }, { "type": "CommentLine", - "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(DEFAULT_DISPLAY_BASE,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(DEFAULT_DISPLAY_BASE))) ;", - "start": 382, - "end": 538, + "value": " export const DEFAULT_REPRESENTATION_BASE = Math.pow(DEFAULT_DISPLAY_BASE,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(DEFAULT_DISPLAY_BASE))) ;", + "start": 383, + "end": 540, "loc": { "start": { "line": 10, @@ -732,15 +732,15 @@ }, "end": { "line": 10, - "column": 156 + "column": 157 } } }, { "type": "CommentLine", - "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(16,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(16))) ;", - "start": 539, - "end": 659, + "value": " export const DEFAULT_REPRESENTATION_BASE = Math.pow(16,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(16))) ;", + "start": 541, + "end": 662, "loc": { "start": { "line": 11, @@ -748,15 +748,15 @@ }, "end": { "line": 11, - "column": 120 + "column": 121 } } }, { "type": "CommentLine", - "value": "export const DEFAULT_REPRESENTATION_BASE = Math.pow(2,26) | 0;", - "start": 660, - "end": 724, + "value": " export const DEFAULT_REPRESENTATION_BASE = Math.pow(2,26) | 0;", + "start": 663, + "end": 728, "loc": { "start": { "line": 12, @@ -764,7 +764,7 @@ }, "end": { "line": 12, - "column": 64 + "column": 65 } } }, @@ -783,8 +783,8 @@ "updateContext": null }, "value": "export", - "start": 725, - "end": 731, + "start": 729, + "end": 735, "loc": { "start": { "line": 13, @@ -811,8 +811,8 @@ "updateContext": null }, "value": "const", - "start": 732, - "end": 737, + "start": 736, + "end": 741, "loc": { "start": { "line": 13, @@ -837,8 +837,8 @@ "binop": null }, "value": "DEFAULT_REPRESENTATION_BASE", - "start": 738, - "end": 765, + "start": 742, + "end": 769, "loc": { "start": { "line": 13, @@ -864,8 +864,8 @@ "updateContext": null }, "value": "=", - "start": 766, - "end": 767, + "start": 770, + "end": 771, "loc": { "start": { "line": 13, @@ -890,8 +890,8 @@ "binop": null }, "value": "MAX_BASE", - "start": 768, - "end": 776, + "start": 772, + "end": 780, "loc": { "start": { "line": 13, @@ -916,8 +916,8 @@ "binop": null, "updateContext": null }, - "start": 776, - "end": 777, + "start": 780, + "end": 781, "loc": { "start": { "line": 13, @@ -942,8 +942,8 @@ "binop": null, "updateContext": null }, - "start": 778, - "end": 778, + "start": 782, + "end": 782, "loc": { "start": { "line": 14, diff --git a/ast/source/Integer.js.json b/ast/source/Integer.js.json index bb258c3..8cf3e5b 100644 --- a/ast/source/Integer.js.json +++ b/ast/source/Integer.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 12619, + "end": 11906, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 576, + "line": 596, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 12619, + "end": 11906, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 576, + "line": 596, "column": 0 } }, @@ -45,30 +45,30 @@ "specifiers": [ { "type": "ImportSpecifier", - "start": 9, - "end": 29, + "start": 8, + "end": 28, "loc": { "start": { "line": 1, - "column": 9 + "column": 8 }, "end": { "line": 1, - "column": 29 + "column": 28 } }, "imported": { "type": "Identifier", - "start": 9, - "end": 29, + "start": 8, + "end": 28, "loc": { "start": { "line": 1, - "column": 9 + "column": 8 }, "end": { "line": 1, - "column": 29 + "column": 28 }, "identifierName": "DEFAULT_DISPLAY_BASE" }, @@ -76,48 +76,85 @@ }, "local": { "type": "Identifier", - "start": 9, - "end": 29, + "start": 8, + "end": 28, "loc": { "start": { "line": 1, - "column": 9 + "column": 8 }, "end": { "line": 1, - "column": 29 + "column": 28 }, "identifierName": "DEFAULT_DISPLAY_BASE" }, "name": "DEFAULT_DISPLAY_BASE" } + } + ], + "source": { + "type": "StringLiteral", + "start": 35, + "end": 62, + "loc": { + "start": { + "line": 1, + "column": 35 + }, + "end": { + "line": 1, + "column": 62 + } }, + "extra": { + "rawValue": "./DEFAULT_DISPLAY_BASE.js", + "raw": "'./DEFAULT_DISPLAY_BASE.js'" + }, + "value": "./DEFAULT_DISPLAY_BASE.js" + } + }, + { + "type": "ImportDeclaration", + "start": 64, + "end": 121, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 57 + } + }, + "specifiers": [ { "type": "ImportSpecifier", - "start": 32, - "end": 49, + "start": 72, + "end": 89, "loc": { "start": { - "line": 1, - "column": 32 + "line": 2, + "column": 8 }, "end": { - "line": 1, - "column": 49 + "line": 2, + "column": 25 } }, "imported": { "type": "Identifier", - "start": 32, - "end": 49, + "start": 72, + "end": 89, "loc": { "start": { - "line": 1, - "column": 32 + "line": 2, + "column": 8 }, "end": { - "line": 1, - "column": 49 + "line": 2, + "column": 25 }, "identifierName": "ZeroDivisionError" }, @@ -125,16 +162,16 @@ }, "local": { "type": "Identifier", - "start": 32, - "end": 49, + "start": 72, + "end": 89, "loc": { "start": { - "line": 1, - "column": 32 + "line": 2, + "column": 8 }, "end": { - "line": 1, - "column": 49 + "line": 2, + "column": 25 }, "identifierName": "ZeroDivisionError" }, @@ -144,66 +181,66 @@ ], "source": { "type": "StringLiteral", - "start": 57, - "end": 61, + "start": 96, + "end": 120, "loc": { "start": { - "line": 1, - "column": 57 + "line": 2, + "column": 32 }, "end": { - "line": 1, - "column": 61 + "line": 2, + "column": 56 } }, "extra": { - "rawValue": "./", - "raw": "'./'" + "rawValue": "./ZeroDivisionError.js", + "raw": "'./ZeroDivisionError.js'" }, - "value": "./" + "value": "./ZeroDivisionError.js" } }, { "type": "ImportDeclaration", - "start": 65, - "end": 114, + "start": 123, + "end": 169, "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, - "column": 49 + "line": 4, + "column": 46 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 74, - "end": 84, + "start": 131, + "end": 141, "loc": { "start": { - "line": 3, - "column": 9 + "line": 4, + "column": 8 }, "end": { - "line": 3, - "column": 19 + "line": 4, + "column": 18 } }, "imported": { "type": "Identifier", - "start": 74, - "end": 84, + "start": 131, + "end": 141, "loc": { "start": { - "line": 3, - "column": 9 + "line": 4, + "column": 8 }, "end": { - "line": 3, - "column": 19 + "line": 4, + "column": 18 }, "identifierName": "ValueError" }, @@ -211,16 +248,16 @@ }, "local": { "type": "Identifier", - "start": 74, - "end": 84, + "start": 131, + "end": 141, "loc": { "start": { - "line": 3, - "column": 9 + "line": 4, + "column": 8 }, "end": { - "line": 3, - "column": 19 + "line": 4, + "column": 18 }, "identifierName": "ValueError" }, @@ -230,16 +267,16 @@ ], "source": { "type": "StringLiteral", - "start": 92, - "end": 112, + "start": 148, + "end": 168, "loc": { "start": { - "line": 3, - "column": 27 + "line": 4, + "column": 25 }, "end": { - "line": 3, - "column": 47 + "line": 4, + "column": 45 } }, "extra": { @@ -251,45 +288,45 @@ }, { "type": "ImportDeclaration", - "start": 116, - "end": 163, + "start": 171, + "end": 218, "loc": { "start": { - "line": 5, + "line": 6, "column": 0 }, "end": { - "line": 5, + "line": 6, "column": 47 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 125, - "end": 137, + "start": 179, + "end": 191, "loc": { "start": { - "line": 5, - "column": 9 + "line": 6, + "column": 8 }, "end": { - "line": 5, - "column": 21 + "line": 6, + "column": 20 } }, "imported": { "type": "Identifier", - "start": 125, - "end": 137, + "start": 179, + "end": 191, "loc": { "start": { - "line": 5, - "column": 9 + "line": 6, + "column": 8 }, "end": { - "line": 5, - "column": 21 + "line": 6, + "column": 20 }, "identifierName": "_from_number" }, @@ -297,16 +334,16 @@ }, "local": { "type": "Identifier", - "start": 125, - "end": 137, + "start": 179, + "end": 191, "loc": { "start": { - "line": 5, - "column": 9 + "line": 6, + "column": 8 }, "end": { - "line": 5, - "column": 21 + "line": 6, + "column": 20 }, "identifierName": "_from_number" }, @@ -316,65 +353,65 @@ ], "source": { "type": "StringLiteral", - "start": 145, - "end": 161, + "start": 198, + "end": 217, "loc": { "start": { - "line": 5, - "column": 29 + "line": 6, + "column": 27 }, "end": { - "line": 5, - "column": 45 + "line": 6, + "column": 46 } }, "extra": { - "rawValue": "./_from_number", - "raw": "'./_from_number'" + "rawValue": "./_from_number.js", + "raw": "'./_from_number.js'" }, - "value": "./_from_number" + "value": "./_from_number.js" } }, { "type": "ImportDeclaration", - "start": 165, - "end": 412, + "start": 220, + "end": 460, "loc": { "start": { - "line": 7, + "line": 8, "column": 0 }, "end": { - "line": 14, - "column": 42 + "line": 26, + "column": 41 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 175, - "end": 184, + "start": 230, + "end": 239, "loc": { "start": { - "line": 8, + "line": 9, "column": 1 }, "end": { - "line": 8, + "line": 9, "column": 10 } }, "imported": { "type": "Identifier", - "start": 175, - "end": 184, + "start": 230, + "end": 239, "loc": { "start": { - "line": 8, + "line": 9, "column": 1 }, "end": { - "line": 8, + "line": 9, "column": 10 }, "identifierName": "stringify" @@ -383,15 +420,15 @@ }, "local": { "type": "Identifier", - "start": 175, - "end": 184, + "start": 230, + "end": 239, "loc": { "start": { - "line": 8, + "line": 9, "column": 1 }, "end": { - "line": 8, + "line": 9, "column": 10 }, "identifierName": "stringify" @@ -401,30 +438,30 @@ }, { "type": "ImportSpecifier", - "start": 187, - "end": 194, + "start": 242, + "end": 249, "loc": { "start": { - "line": 8, - "column": 13 + "line": 10, + "column": 1 }, "end": { - "line": 8, - "column": 20 + "line": 10, + "column": 8 } }, "imported": { "type": "Identifier", - "start": 187, - "end": 194, + "start": 242, + "end": 249, "loc": { "start": { - "line": 8, - "column": 13 + "line": 10, + "column": 1 }, "end": { - "line": 8, - "column": 20 + "line": 10, + "column": 8 }, "identifierName": "convert" }, @@ -432,16 +469,16 @@ }, "local": { "type": "Identifier", - "start": 187, - "end": 194, + "start": 242, + "end": 249, "loc": { "start": { - "line": 8, - "column": 13 + "line": 10, + "column": 1 }, "end": { - "line": 8, - "column": 20 + "line": 10, + "column": 8 }, "identifierName": "convert" }, @@ -450,30 +487,30 @@ }, { "type": "ImportSpecifier", - "start": 197, - "end": 211, + "start": 252, + "end": 266, "loc": { "start": { - "line": 8, - "column": 23 + "line": 11, + "column": 1 }, "end": { - "line": 8, - "column": 37 + "line": 11, + "column": 15 } }, "imported": { "type": "Identifier", - "start": 197, - "end": 211, + "start": 252, + "end": 266, "loc": { "start": { - "line": 8, - "column": 23 + "line": 11, + "column": 1 }, "end": { - "line": 8, - "column": 37 + "line": 11, + "column": 15 }, "identifierName": "_trim_positive" }, @@ -481,16 +518,16 @@ }, "local": { "type": "Identifier", - "start": 197, - "end": 211, + "start": 252, + "end": 266, "loc": { "start": { - "line": 8, - "column": 23 + "line": 11, + "column": 1 }, "end": { - "line": 8, - "column": 37 + "line": 11, + "column": 15 }, "identifierName": "_trim_positive" }, @@ -499,29 +536,29 @@ }, { "type": "ImportSpecifier", - "start": 215, - "end": 221, + "start": 269, + "end": 275, "loc": { "start": { - "line": 9, + "line": 12, "column": 1 }, "end": { - "line": 9, + "line": 12, "column": 7 } }, "imported": { "type": "Identifier", - "start": 215, - "end": 221, + "start": 269, + "end": 275, "loc": { "start": { - "line": 9, + "line": 12, "column": 1 }, "end": { - "line": 9, + "line": 12, "column": 7 }, "identifierName": "_alloc" @@ -530,15 +567,15 @@ }, "local": { "type": "Identifier", - "start": 215, - "end": 221, + "start": 269, + "end": 275, "loc": { "start": { - "line": 9, + "line": 12, "column": 1 }, "end": { - "line": 9, + "line": 12, "column": 7 }, "identifierName": "_alloc" @@ -548,30 +585,30 @@ }, { "type": "ImportSpecifier", - "start": 224, - "end": 229, + "start": 278, + "end": 283, "loc": { "start": { - "line": 9, - "column": 10 + "line": 13, + "column": 1 }, "end": { - "line": 9, - "column": 15 + "line": 13, + "column": 6 } }, "imported": { "type": "Identifier", - "start": 224, - "end": 229, + "start": 278, + "end": 283, "loc": { "start": { - "line": 9, - "column": 10 + "line": 13, + "column": 1 }, "end": { - "line": 9, - "column": 15 + "line": 13, + "column": 6 }, "identifierName": "_copy" }, @@ -579,16 +616,16 @@ }, "local": { "type": "Identifier", - "start": 224, - "end": 229, + "start": 278, + "end": 283, "loc": { "start": { - "line": 9, - "column": 10 + "line": 13, + "column": 1 }, "end": { - "line": 9, - "column": 15 + "line": 13, + "column": 6 }, "identifierName": "_copy" }, @@ -597,30 +634,30 @@ }, { "type": "ImportSpecifier", - "start": 232, - "end": 238, + "start": 286, + "end": 292, "loc": { "start": { - "line": 9, - "column": 18 + "line": 14, + "column": 1 }, "end": { - "line": 9, - "column": 24 + "line": 14, + "column": 7 } }, "imported": { "type": "Identifier", - "start": 232, - "end": 238, + "start": 286, + "end": 292, "loc": { "start": { - "line": 9, - "column": 18 + "line": 14, + "column": 1 }, "end": { - "line": 9, - "column": 24 + "line": 14, + "column": 7 }, "identifierName": "_zeros" }, @@ -628,16 +665,16 @@ }, "local": { "type": "Identifier", - "start": 232, - "end": 238, + "start": 286, + "end": 292, "loc": { "start": { - "line": 9, - "column": 18 + "line": 14, + "column": 1 }, "end": { - "line": 9, - "column": 24 + "line": 14, + "column": 7 }, "identifierName": "_zeros" }, @@ -646,29 +683,29 @@ }, { "type": "ImportSpecifier", - "start": 242, - "end": 244, + "start": 295, + "end": 297, "loc": { "start": { - "line": 10, + "line": 15, "column": 1 }, "end": { - "line": 10, + "line": 15, "column": 3 } }, "imported": { "type": "Identifier", - "start": 242, - "end": 244, + "start": 295, + "end": 297, "loc": { "start": { - "line": 10, + "line": 15, "column": 1 }, "end": { - "line": 10, + "line": 15, "column": 3 }, "identifierName": "jz" @@ -677,15 +714,15 @@ }, "local": { "type": "Identifier", - "start": 242, - "end": 244, + "start": 295, + "end": 297, "loc": { "start": { - "line": 10, + "line": 15, "column": 1 }, "end": { - "line": 10, + "line": 15, "column": 3 }, "identifierName": "jz" @@ -695,30 +732,30 @@ }, { "type": "ImportSpecifier", - "start": 247, - "end": 250, + "start": 300, + "end": 303, "loc": { "start": { - "line": 10, - "column": 6 + "line": 16, + "column": 1 }, "end": { - "line": 10, - "column": 9 + "line": 16, + "column": 4 } }, "imported": { "type": "Identifier", - "start": 247, - "end": 250, + "start": 300, + "end": 303, "loc": { "start": { - "line": 10, - "column": 6 + "line": 16, + "column": 1 }, "end": { - "line": 10, - "column": 9 + "line": 16, + "column": 4 }, "identifierName": "cmp" }, @@ -726,16 +763,16 @@ }, "local": { "type": "Identifier", - "start": 247, - "end": 250, + "start": 300, + "end": 303, "loc": { "start": { - "line": 10, - "column": 6 + "line": 16, + "column": 1 }, "end": { - "line": 10, - "column": 9 + "line": 16, + "column": 4 }, "identifierName": "cmp" }, @@ -744,30 +781,30 @@ }, { "type": "ImportSpecifier", - "start": 253, - "end": 255, + "start": 306, + "end": 308, "loc": { "start": { - "line": 10, - "column": 12 + "line": 17, + "column": 1 }, "end": { - "line": 10, - "column": 14 + "line": 17, + "column": 3 } }, "imported": { "type": "Identifier", - "start": 253, - "end": 255, + "start": 306, + "end": 308, "loc": { "start": { - "line": 10, - "column": 12 + "line": 17, + "column": 1 }, "end": { - "line": 10, - "column": 14 + "line": 17, + "column": 3 }, "identifierName": "eq" }, @@ -775,16 +812,16 @@ }, "local": { "type": "Identifier", - "start": 253, - "end": 255, + "start": 306, + "end": 308, "loc": { "start": { - "line": 10, - "column": 12 + "line": 17, + "column": 1 }, "end": { - "line": 10, - "column": 14 + "line": 17, + "column": 3 }, "identifierName": "eq" }, @@ -793,29 +830,29 @@ }, { "type": "ImportSpecifier", - "start": 259, - "end": 262, + "start": 311, + "end": 314, "loc": { "start": { - "line": 11, + "line": 18, "column": 1 }, "end": { - "line": 11, + "line": 18, "column": 4 } }, "imported": { "type": "Identifier", - "start": 259, - "end": 262, + "start": 311, + "end": 314, "loc": { "start": { - "line": 11, + "line": 18, "column": 1 }, "end": { - "line": 11, + "line": 18, "column": 4 }, "identifierName": "add" @@ -824,15 +861,15 @@ }, "local": { "type": "Identifier", - "start": 259, - "end": 262, + "start": 311, + "end": 314, "loc": { "start": { - "line": 11, + "line": 18, "column": 1 }, "end": { - "line": 11, + "line": 18, "column": 4 }, "identifierName": "add" @@ -842,30 +879,30 @@ }, { "type": "ImportSpecifier", - "start": 265, - "end": 269, + "start": 317, + "end": 321, "loc": { "start": { - "line": 11, - "column": 7 + "line": 19, + "column": 1 }, "end": { - "line": 11, - "column": 11 + "line": 19, + "column": 5 } }, "imported": { "type": "Identifier", - "start": 265, - "end": 269, + "start": 317, + "end": 321, "loc": { "start": { - "line": 11, - "column": 7 + "line": 19, + "column": 1 }, "end": { - "line": 11, - "column": 11 + "line": 19, + "column": 5 }, "identifierName": "_sub" }, @@ -873,16 +910,16 @@ }, "local": { "type": "Identifier", - "start": 265, - "end": 269, + "start": 317, + "end": 321, "loc": { "start": { - "line": 11, - "column": 7 + "line": 19, + "column": 1 }, "end": { - "line": 11, - "column": 11 + "line": 19, + "column": 5 }, "identifierName": "_sub" }, @@ -891,30 +928,30 @@ }, { "type": "ImportSpecifier", - "start": 272, - "end": 275, + "start": 324, + "end": 327, "loc": { "start": { - "line": 11, - "column": 14 + "line": 20, + "column": 1 }, "end": { - "line": 11, - "column": 17 + "line": 20, + "column": 4 } }, "imported": { "type": "Identifier", - "start": 272, - "end": 275, + "start": 324, + "end": 327, "loc": { "start": { - "line": 11, - "column": 14 + "line": 20, + "column": 1 }, "end": { - "line": 11, - "column": 17 + "line": 20, + "column": 4 }, "identifierName": "mul" }, @@ -922,16 +959,16 @@ }, "local": { "type": "Identifier", - "start": 272, - "end": 275, + "start": 324, + "end": 327, "loc": { "start": { - "line": 11, - "column": 14 + "line": 20, + "column": 1 }, "end": { - "line": 11, - "column": 17 + "line": 20, + "column": 4 }, "identifierName": "mul" }, @@ -940,30 +977,30 @@ }, { "type": "ImportSpecifier", - "start": 278, - "end": 286, + "start": 330, + "end": 338, "loc": { "start": { - "line": 11, - "column": 20 + "line": 21, + "column": 1 }, "end": { - "line": 11, - "column": 28 + "line": 21, + "column": 9 } }, "imported": { "type": "Identifier", - "start": 278, - "end": 286, + "start": 330, + "end": 338, "loc": { "start": { - "line": 11, - "column": 20 + "line": 21, + "column": 1 }, "end": { - "line": 11, - "column": 28 + "line": 21, + "column": 9 }, "identifierName": "_idivmod" }, @@ -971,16 +1008,16 @@ }, "local": { "type": "Identifier", - "start": 278, - "end": 286, + "start": 330, + "end": 338, "loc": { "start": { - "line": 11, - "column": 20 + "line": 21, + "column": 1 }, "end": { - "line": 11, - "column": 28 + "line": 21, + "column": 9 }, "identifierName": "_idivmod" }, @@ -989,30 +1026,30 @@ }, { "type": "ImportSpecifier", - "start": 289, - "end": 300, + "start": 341, + "end": 352, "loc": { "start": { - "line": 11, - "column": 31 + "line": 22, + "column": 1 }, "end": { - "line": 11, - "column": 42 + "line": 22, + "column": 12 } }, "imported": { "type": "Identifier", - "start": 289, - "end": 300, + "start": 341, + "end": 352, "loc": { "start": { - "line": 11, - "column": 31 + "line": 22, + "column": 1 }, "end": { - "line": 11, - "column": 42 + "line": 22, + "column": 12 }, "identifierName": "_pow_double" }, @@ -1020,16 +1057,16 @@ }, "local": { "type": "Identifier", - "start": 289, - "end": 300, + "start": 341, + "end": 352, "loc": { "start": { - "line": 11, - "column": 31 + "line": 22, + "column": 1 }, "end": { - "line": 11, - "column": 42 + "line": 22, + "column": 12 }, "identifierName": "_pow_double" }, @@ -1038,29 +1075,29 @@ }, { "type": "ImportSpecifier", - "start": 304, - "end": 313, + "start": 355, + "end": 364, "loc": { "start": { - "line": 12, + "line": 23, "column": 1 }, "end": { - "line": 12, + "line": 23, "column": 10 } }, "imported": { "type": "Identifier", - "start": 304, - "end": 313, + "start": 355, + "end": 364, "loc": { "start": { - "line": 12, + "line": 23, "column": 1 }, "end": { - "line": 12, + "line": 23, "column": 10 }, "identifierName": "increment" @@ -1069,15 +1106,15 @@ }, "local": { "type": "Identifier", - "start": 304, - "end": 313, + "start": 355, + "end": 364, "loc": { "start": { - "line": 12, + "line": 23, "column": 1 }, "end": { - "line": 12, + "line": 23, "column": 10 }, "identifierName": "increment" @@ -1087,29 +1124,29 @@ }, { "type": "ImportSpecifier", - "start": 317, - "end": 336, + "start": 367, + "end": 386, "loc": { "start": { - "line": 13, + "line": 24, "column": 1 }, "end": { - "line": 13, + "line": 24, "column": 20 } }, "imported": { "type": "Identifier", - "start": 317, - "end": 336, + "start": 367, + "end": 386, "loc": { "start": { - "line": 13, + "line": 24, "column": 1 }, "end": { - "line": 13, + "line": 24, "column": 20 }, "identifierName": "euclidean_algorithm" @@ -1118,15 +1155,15 @@ }, "local": { "type": "Identifier", - "start": 317, - "end": 336, + "start": 367, + "end": 386, "loc": { "start": { - "line": 13, + "line": 24, "column": 1 }, "end": { - "line": 13, + "line": 24, "column": 20 }, "identifierName": "euclidean_algorithm" @@ -1136,30 +1173,30 @@ }, { "type": "ImportSpecifier", - "start": 339, - "end": 367, + "start": 389, + "end": 417, "loc": { "start": { - "line": 13, - "column": 23 + "line": 25, + "column": 1 }, "end": { - "line": 13, - "column": 51 + "line": 25, + "column": 29 } }, "imported": { "type": "Identifier", - "start": 339, - "end": 367, + "start": 389, + "end": 417, "loc": { "start": { - "line": 13, - "column": 23 + "line": 25, + "column": 1 }, "end": { - "line": 13, - "column": 51 + "line": 25, + "column": 29 }, "identifierName": "extended_euclidean_algorithm" }, @@ -1167,16 +1204,16 @@ }, "local": { "type": "Identifier", - "start": 339, - "end": 367, + "start": 389, + "end": 417, "loc": { "start": { - "line": 13, - "column": 23 + "line": 25, + "column": 1 }, "end": { - "line": 13, - "column": 51 + "line": 25, + "column": 29 }, "identifierName": "extended_euclidean_algorithm" }, @@ -1186,15 +1223,15 @@ ], "source": { "type": "StringLiteral", - "start": 377, - "end": 410, + "start": 426, + "end": 459, "loc": { "start": { - "line": 14, + "line": 26, "column": 7 }, "end": { - "line": 14, + "line": 26, "column": 40 } }, @@ -1207,45 +1244,45 @@ }, { "type": "ImportDeclaration", - "start": 414, - "end": 478, + "start": 462, + "end": 524, "loc": { "start": { - "line": 16, + "line": 28, "column": 0 }, "end": { - "line": 16, - "column": 64 + "line": 28, + "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 423, - "end": 433, + "start": 470, + "end": 480, "loc": { "start": { - "line": 16, - "column": 9 + "line": 28, + "column": 8 }, "end": { - "line": 16, - "column": 19 + "line": 28, + "column": 18 } }, "imported": { "type": "Identifier", - "start": 423, - "end": 433, + "start": 470, + "end": 480, "loc": { "start": { - "line": 16, - "column": 9 + "line": 28, + "column": 8 }, "end": { - "line": 16, - "column": 19 + "line": 28, + "column": 18 }, "identifierName": "MIN_NUMBER" }, @@ -1253,16 +1290,16 @@ }, "local": { "type": "Identifier", - "start": 423, - "end": 433, + "start": 470, + "end": 480, "loc": { "start": { - "line": 16, - "column": 9 + "line": 28, + "column": 8 }, "end": { - "line": 16, - "column": 19 + "line": 28, + "column": 18 }, "identifierName": "MIN_NUMBER" }, @@ -1271,30 +1308,30 @@ }, { "type": "ImportSpecifier", - "start": 436, - "end": 446, + "start": 482, + "end": 492, "loc": { "start": { - "line": 16, - "column": 22 + "line": 28, + "column": 20 }, "end": { - "line": 16, - "column": 32 + "line": 28, + "column": 30 } }, "imported": { "type": "Identifier", - "start": 436, - "end": 446, + "start": 482, + "end": 492, "loc": { "start": { - "line": 16, - "column": 22 + "line": 28, + "column": 20 }, "end": { - "line": 16, - "column": 32 + "line": 28, + "column": 30 }, "identifierName": "MAX_NUMBER" }, @@ -1302,16 +1339,16 @@ }, "local": { "type": "Identifier", - "start": 436, - "end": 446, + "start": 482, + "end": 492, "loc": { "start": { - "line": 16, - "column": 22 + "line": 28, + "column": 20 }, "end": { - "line": 16, - "column": 32 + "line": 28, + "column": 30 }, "identifierName": "MAX_NUMBER" }, @@ -1320,30 +1357,30 @@ }, { "type": "ImportSpecifier", - "start": 449, - "end": 457, + "start": 494, + "end": 502, "loc": { "start": { - "line": 16, - "column": 35 + "line": 28, + "column": 32 }, "end": { - "line": 16, - "column": 43 + "line": 28, + "column": 40 } }, "imported": { "type": "Identifier", - "start": 449, - "end": 457, + "start": 494, + "end": 502, "loc": { "start": { - "line": 16, - "column": 35 + "line": 28, + "column": 32 }, "end": { - "line": 16, - "column": 43 + "line": 28, + "column": 40 }, "identifierName": "MAX_BASE" }, @@ -1351,16 +1388,16 @@ }, "local": { "type": "Identifier", - "start": 449, - "end": 457, + "start": 494, + "end": 502, "loc": { "start": { - "line": 16, - "column": 35 + "line": 28, + "column": 32 }, "end": { - "line": 16, - "column": 43 + "line": 28, + "column": 40 }, "identifierName": "MAX_BASE" }, @@ -1370,36 +1407,36 @@ ], "source": { "type": "StringLiteral", - "start": 465, - "end": 476, + "start": 509, + "end": 523, "loc": { "start": { - "line": 16, - "column": 51 + "line": 28, + "column": 47 }, "end": { - "line": 16, - "column": 62 + "line": 28, + "column": 61 } }, "extra": { - "rawValue": "./_limits", - "raw": "'./_limits'" + "rawValue": "./_limits.js", + "raw": "'./_limits.js'" }, - "value": "./_limits" + "value": "./_limits.js" } }, { "type": "ExportNamedDeclaration", - "start": 480, - "end": 12618, + "start": 526, + "end": 11905, "loc": { "start": { - "line": 18, + "line": 30, "column": 0 }, "end": { - "line": 575, + "line": 595, "column": 1 } }, @@ -1407,29 +1444,29 @@ "source": null, "declaration": { "type": "ClassDeclaration", - "start": 487, - "end": 12618, + "start": 533, + "end": 11905, "loc": { "start": { - "line": 18, + "line": 30, "column": 7 }, "end": { - "line": 575, + "line": 595, "column": 1 } }, "id": { "type": "Identifier", - "start": 493, - "end": 500, + "start": 539, + "end": 546, "loc": { "start": { - "line": 18, + "line": 30, "column": 13 }, "end": { - "line": 18, + "line": 30, "column": 20 }, "identifierName": "Integer" @@ -1439,30 +1476,30 @@ "superClass": null, "body": { "type": "ClassBody", - "start": 501, - "end": 12618, + "start": 547, + "end": 11905, "loc": { "start": { - "line": 18, + "line": 30, "column": 21 }, "end": { - "line": 575, + "line": 595, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 505, - "end": 631, + "start": 550, + "end": 671, "loc": { "start": { - "line": 20, + "line": 31, "column": 1 }, "end": { - "line": 24, + "line": 35, "column": 2 } }, @@ -1470,15 +1507,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 505, - "end": 516, + "start": 550, + "end": 561, "loc": { "start": { - "line": 20, + "line": 31, "column": 1 }, "end": { - "line": 20, + "line": 31, "column": 12 }, "identifierName": "constructor" @@ -1493,16 +1530,16 @@ "params": [ { "type": "Identifier", - "start": 519, - "end": 523, + "start": 562, + "end": 566, "loc": { "start": { - "line": 20, - "column": 15 + "line": 31, + "column": 13 }, "end": { - "line": 20, - "column": 19 + "line": 31, + "column": 17 }, "identifierName": "base" }, @@ -1510,16 +1547,16 @@ }, { "type": "Identifier", - "start": 526, - "end": 537, + "start": 568, + "end": 579, "loc": { "start": { - "line": 20, - "column": 22 + "line": 31, + "column": 19 }, "end": { - "line": 20, - "column": 33 + "line": 31, + "column": 30 }, "identifierName": "is_negative" }, @@ -1527,16 +1564,16 @@ }, { "type": "Identifier", - "start": 540, - "end": 545, + "start": 581, + "end": 586, "loc": { "start": { - "line": 20, - "column": 36 + "line": 31, + "column": 32 }, "end": { - "line": 20, - "column": 41 + "line": 31, + "column": 37 }, "identifierName": "limbs" }, @@ -1545,108 +1582,108 @@ ], "body": { "type": "BlockStatement", - "start": 548, - "end": 631, + "start": 588, + "end": 671, "loc": { "start": { - "line": 20, - "column": 44 + "line": 31, + "column": 39 }, "end": { - "line": 24, + "line": 35, "column": 2 } }, "body": [ { "type": "ExpressionStatement", - "start": 552, - "end": 570, + "start": 592, + "end": 610, "loc": { "start": { - "line": 21, + "line": 32, "column": 2 }, "end": { - "line": 21, + "line": 32, "column": 20 } }, "expression": { "type": "AssignmentExpression", - "start": 552, - "end": 568, + "start": 592, + "end": 609, "loc": { "start": { - "line": 21, + "line": 32, "column": 2 }, "end": { - "line": 21, - "column": 18 + "line": 32, + "column": 19 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 552, - "end": 561, + "start": 592, + "end": 602, "loc": { "start": { - "line": 21, + "line": 32, "column": 2 }, "end": { - "line": 21, - "column": 11 + "line": 32, + "column": 12 } }, "object": { "type": "ThisExpression", - "start": 552, - "end": 556, + "start": 592, + "end": 596, "loc": { "start": { - "line": 21, + "line": 32, "column": 2 }, "end": { - "line": 21, + "line": 32, "column": 6 } } }, "property": { "type": "Identifier", - "start": 557, - "end": 561, + "start": 597, + "end": 602, "loc": { "start": { - "line": 21, + "line": 32, "column": 7 }, "end": { - "line": 21, - "column": 11 + "line": 32, + "column": 12 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false }, "right": { "type": "Identifier", - "start": 564, - "end": 568, + "start": 605, + "end": 609, "loc": { "start": { - "line": 21, - "column": 14 + "line": 32, + "column": 15 }, "end": { - "line": 21, - "column": 18 + "line": 32, + "column": 19 }, "identifierName": "base" }, @@ -1656,93 +1693,93 @@ }, { "type": "ExpressionStatement", - "start": 573, - "end": 605, + "start": 613, + "end": 645, "loc": { "start": { - "line": 22, + "line": 33, "column": 2 }, "end": { - "line": 22, + "line": 33, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 573, - "end": 603, + "start": 613, + "end": 644, "loc": { "start": { - "line": 22, + "line": 33, "column": 2 }, "end": { - "line": 22, - "column": 32 + "line": 33, + "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 573, - "end": 589, + "start": 613, + "end": 630, "loc": { "start": { - "line": 22, + "line": 33, "column": 2 }, "end": { - "line": 22, - "column": 18 + "line": 33, + "column": 19 } }, "object": { "type": "ThisExpression", - "start": 573, - "end": 577, + "start": 613, + "end": 617, "loc": { "start": { - "line": 22, + "line": 33, "column": 2 }, "end": { - "line": 22, + "line": 33, "column": 6 } } }, "property": { "type": "Identifier", - "start": 578, - "end": 589, + "start": 618, + "end": 630, "loc": { "start": { - "line": 22, + "line": 33, "column": 7 }, "end": { - "line": 22, - "column": 18 + "line": 33, + "column": 19 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false }, "right": { "type": "Identifier", - "start": 592, - "end": 603, + "start": 633, + "end": 644, "loc": { "start": { - "line": 22, - "column": 21 + "line": 33, + "column": 22 }, "end": { - "line": 22, - "column": 32 + "line": 33, + "column": 33 }, "identifierName": "is_negative" }, @@ -1752,93 +1789,93 @@ }, { "type": "ExpressionStatement", - "start": 608, - "end": 628, + "start": 648, + "end": 668, "loc": { "start": { - "line": 23, + "line": 34, "column": 2 }, "end": { - "line": 23, + "line": 34, "column": 22 } }, "expression": { "type": "AssignmentExpression", - "start": 608, - "end": 626, + "start": 648, + "end": 667, "loc": { "start": { - "line": 23, + "line": 34, "column": 2 }, "end": { - "line": 23, - "column": 20 + "line": 34, + "column": 21 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 608, - "end": 618, + "start": 648, + "end": 659, "loc": { "start": { - "line": 23, + "line": 34, "column": 2 }, "end": { - "line": 23, - "column": 12 + "line": 34, + "column": 13 } }, "object": { "type": "ThisExpression", - "start": 608, - "end": 612, + "start": 648, + "end": 652, "loc": { "start": { - "line": 23, + "line": 34, "column": 2 }, "end": { - "line": 23, + "line": 34, "column": 6 } } }, "property": { "type": "Identifier", - "start": 613, - "end": 618, + "start": 653, + "end": 659, "loc": { "start": { - "line": 23, + "line": 34, "column": 7 }, "end": { - "line": 23, - "column": 12 + "line": 34, + "column": 13 }, - "identifierName": "limbs" + "identifierName": "_limbs" }, - "name": "limbs" + "name": "_limbs" }, "computed": false }, "right": { "type": "Identifier", - "start": 621, - "end": 626, + "start": 662, + "end": 667, "loc": { "start": { - "line": 23, - "column": 15 + "line": 34, + "column": 16 }, "end": { - "line": 23, - "column": 20 + "line": 34, + "column": 21 }, "identifierName": "limbs" }, @@ -1852,15 +1889,15 @@ }, { "type": "ClassMethod", - "start": 634, - "end": 767, + "start": 674, + "end": 806, "loc": { "start": { - "line": 26, + "line": 37, "column": 1 }, "end": { - "line": 31, + "line": 42, "column": 2 } }, @@ -1868,15 +1905,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 634, - "end": 638, + "start": 674, + "end": 678, "loc": { "start": { - "line": 26, + "line": 37, "column": 1 }, "end": { - "line": 26, + "line": 37, "column": 5 }, "identifierName": "move" @@ -1891,16 +1928,16 @@ "params": [ { "type": "Identifier", - "start": 641, - "end": 646, + "start": 679, + "end": 684, "loc": { "start": { - "line": 26, - "column": 8 + "line": 37, + "column": 6 }, "end": { - "line": 26, - "column": 13 + "line": 37, + "column": 11 }, "identifierName": "other" }, @@ -1909,73 +1946,73 @@ ], "body": { "type": "BlockStatement", - "start": 649, - "end": 767, + "start": 686, + "end": 806, "loc": { "start": { - "line": 26, - "column": 16 + "line": 37, + "column": 13 }, "end": { - "line": 31, + "line": 42, "column": 2 } }, "body": [ { "type": "ExpressionStatement", - "start": 653, - "end": 677, + "start": 690, + "end": 715, "loc": { "start": { - "line": 27, + "line": 38, "column": 2 }, "end": { - "line": 27, - "column": 26 + "line": 38, + "column": 27 } }, "expression": { "type": "AssignmentExpression", - "start": 653, - "end": 675, + "start": 690, + "end": 714, "loc": { "start": { - "line": 27, + "line": 38, "column": 2 }, "end": { - "line": 27, - "column": 24 + "line": 38, + "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 653, - "end": 663, + "start": 690, + "end": 701, "loc": { "start": { - "line": 27, + "line": 38, "column": 2 }, "end": { - "line": 27, - "column": 12 + "line": 38, + "column": 13 } }, "object": { "type": "Identifier", - "start": 653, - "end": 658, + "start": 690, + "end": 695, "loc": { "start": { - "line": 27, + "line": 38, "column": 2 }, "end": { - "line": 27, + "line": 38, "column": 7 }, "identifierName": "other" @@ -1984,68 +2021,68 @@ }, "property": { "type": "Identifier", - "start": 659, - "end": 663, + "start": 696, + "end": 701, "loc": { "start": { - "line": 27, + "line": 38, "column": 8 }, "end": { - "line": 27, - "column": 12 + "line": 38, + "column": 13 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false }, "right": { "type": "MemberExpression", - "start": 666, - "end": 675, + "start": 704, + "end": 714, "loc": { "start": { - "line": 27, - "column": 15 + "line": 38, + "column": 16 }, "end": { - "line": 27, - "column": 24 + "line": 38, + "column": 26 } }, "object": { "type": "ThisExpression", - "start": 666, - "end": 670, + "start": 704, + "end": 708, "loc": { "start": { - "line": 27, - "column": 15 + "line": 38, + "column": 16 }, "end": { - "line": 27, - "column": 19 + "line": 38, + "column": 20 } } }, "property": { "type": "Identifier", - "start": 671, - "end": 675, + "start": 709, + "end": 714, "loc": { "start": { - "line": 27, - "column": 20 + "line": 38, + "column": 21 }, "end": { - "line": 27, - "column": 24 + "line": 38, + "column": 26 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false } @@ -2053,58 +2090,58 @@ }, { "type": "ExpressionStatement", - "start": 680, - "end": 718, + "start": 718, + "end": 757, "loc": { "start": { - "line": 28, + "line": 39, "column": 2 }, "end": { - "line": 28, - "column": 40 + "line": 39, + "column": 41 } }, "expression": { "type": "AssignmentExpression", - "start": 680, - "end": 716, + "start": 718, + "end": 756, "loc": { "start": { - "line": 28, + "line": 39, "column": 2 }, "end": { - "line": 28, - "column": 38 + "line": 39, + "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 680, - "end": 697, + "start": 718, + "end": 736, "loc": { "start": { - "line": 28, + "line": 39, "column": 2 }, "end": { - "line": 28, - "column": 19 + "line": 39, + "column": 20 } }, "object": { "type": "Identifier", - "start": 680, - "end": 685, + "start": 718, + "end": 723, "loc": { "start": { - "line": 28, + "line": 39, "column": 2 }, "end": { - "line": 28, + "line": 39, "column": 7 }, "identifierName": "other" @@ -2113,68 +2150,68 @@ }, "property": { "type": "Identifier", - "start": 686, - "end": 697, + "start": 724, + "end": 736, "loc": { "start": { - "line": 28, + "line": 39, "column": 8 }, "end": { - "line": 28, - "column": 19 + "line": 39, + "column": 20 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false }, "right": { "type": "MemberExpression", - "start": 700, - "end": 716, + "start": 739, + "end": 756, "loc": { "start": { - "line": 28, - "column": 22 + "line": 39, + "column": 23 }, "end": { - "line": 28, - "column": 38 + "line": 39, + "column": 40 } }, "object": { "type": "ThisExpression", - "start": 700, - "end": 704, + "start": 739, + "end": 743, "loc": { "start": { - "line": 28, - "column": 22 + "line": 39, + "column": 23 }, "end": { - "line": 28, - "column": 26 + "line": 39, + "column": 27 } } }, "property": { "type": "Identifier", - "start": 705, - "end": 716, + "start": 744, + "end": 756, "loc": { "start": { - "line": 28, - "column": 27 + "line": 39, + "column": 28 }, "end": { - "line": 28, - "column": 38 + "line": 39, + "column": 40 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false } @@ -2182,58 +2219,58 @@ }, { "type": "ExpressionStatement", - "start": 721, - "end": 747, + "start": 760, + "end": 787, "loc": { "start": { - "line": 29, + "line": 40, "column": 2 }, "end": { - "line": 29, - "column": 28 + "line": 40, + "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 721, - "end": 745, + "start": 760, + "end": 786, "loc": { "start": { - "line": 29, + "line": 40, "column": 2 }, "end": { - "line": 29, - "column": 26 + "line": 40, + "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 721, - "end": 732, + "start": 760, + "end": 772, "loc": { "start": { - "line": 29, + "line": 40, "column": 2 }, "end": { - "line": 29, - "column": 13 + "line": 40, + "column": 14 } }, "object": { "type": "Identifier", - "start": 721, - "end": 726, + "start": 760, + "end": 765, "loc": { "start": { - "line": 29, + "line": 40, "column": 2 }, "end": { - "line": 29, + "line": 40, "column": 7 }, "identifierName": "other" @@ -2242,68 +2279,68 @@ }, "property": { "type": "Identifier", - "start": 727, - "end": 732, + "start": 766, + "end": 772, "loc": { "start": { - "line": 29, + "line": 40, "column": 8 }, "end": { - "line": 29, - "column": 13 + "line": 40, + "column": 14 }, - "identifierName": "limbs" + "identifierName": "_limbs" }, - "name": "limbs" + "name": "_limbs" }, "computed": false }, "right": { "type": "MemberExpression", - "start": 735, - "end": 745, + "start": 775, + "end": 786, "loc": { "start": { - "line": 29, - "column": 16 + "line": 40, + "column": 17 }, "end": { - "line": 29, - "column": 26 + "line": 40, + "column": 28 } }, "object": { "type": "ThisExpression", - "start": 735, - "end": 739, + "start": 775, + "end": 779, "loc": { "start": { - "line": 29, - "column": 16 + "line": 40, + "column": 17 }, "end": { - "line": 29, - "column": 20 + "line": 40, + "column": 21 } } }, "property": { "type": "Identifier", - "start": 740, - "end": 745, + "start": 780, + "end": 786, "loc": { "start": { - "line": 29, - "column": 21 + "line": 40, + "column": 22 }, "end": { - "line": 29, - "column": 26 + "line": 40, + "column": 28 }, - "identifierName": "limbs" + "identifierName": "_limbs" }, - "name": "limbs" + "name": "_limbs" }, "computed": false } @@ -2311,29 +2348,29 @@ }, { "type": "ReturnStatement", - "start": 750, - "end": 764, + "start": 790, + "end": 803, "loc": { "start": { - "line": 30, + "line": 41, "column": 2 }, "end": { - "line": 30, - "column": 16 + "line": 41, + "column": 15 } }, "argument": { "type": "Identifier", - "start": 757, - "end": 762, + "start": 797, + "end": 802, "loc": { "start": { - "line": 30, + "line": 41, "column": 9 }, "end": { - "line": 30, + "line": 41, "column": 14 }, "identifierName": "other" @@ -2347,15 +2384,15 @@ }, { "type": "ClassMethod", - "start": 770, - "end": 852, + "start": 809, + "end": 887, "loc": { "start": { - "line": 33, + "line": 44, "column": 1 }, "end": { - "line": 35, + "line": 46, "column": 2 } }, @@ -2363,15 +2400,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 770, - "end": 775, + "start": 809, + "end": 814, "loc": { "start": { - "line": 33, + "line": 44, "column": 1 }, "end": { - "line": 33, + "line": 44, "column": 6 }, "identifierName": "clone" @@ -2386,58 +2423,58 @@ "params": [], "body": { "type": "BlockStatement", - "start": 780, - "end": 852, + "start": 817, + "end": 887, "loc": { "start": { - "line": 33, - "column": 11 + "line": 44, + "column": 9 }, "end": { - "line": 35, + "line": 46, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 784, - "end": 849, + "start": 821, + "end": 884, "loc": { "start": { - "line": 34, + "line": 45, "column": 2 }, "end": { - "line": 34, - "column": 67 + "line": 45, + "column": 65 } }, "argument": { "type": "NewExpression", - "start": 791, - "end": 847, + "start": 828, + "end": 883, "loc": { "start": { - "line": 34, + "line": 45, "column": 9 }, "end": { - "line": 34, - "column": 65 + "line": 45, + "column": 64 } }, "callee": { "type": "Identifier", - "start": 795, - "end": 802, + "start": 832, + "end": 839, "loc": { "start": { - "line": 34, + "line": 45, "column": 13 }, "end": { - "line": 34, + "line": 45, "column": 20 }, "identifierName": "Integer" @@ -2447,145 +2484,145 @@ "arguments": [ { "type": "MemberExpression", - "start": 804, - "end": 813, + "start": 840, + "end": 850, "loc": { "start": { - "line": 34, - "column": 22 + "line": 45, + "column": 21 }, "end": { - "line": 34, + "line": 45, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 804, - "end": 808, + "start": 840, + "end": 844, "loc": { "start": { - "line": 34, - "column": 22 + "line": 45, + "column": 21 }, "end": { - "line": 34, - "column": 26 + "line": 45, + "column": 25 } } }, "property": { "type": "Identifier", - "start": 809, - "end": 813, + "start": 845, + "end": 850, "loc": { "start": { - "line": 34, - "column": 27 + "line": 45, + "column": 26 }, "end": { - "line": 34, + "line": 45, "column": 31 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false }, { "type": "MemberExpression", - "start": 816, - "end": 832, + "start": 852, + "end": 869, "loc": { "start": { - "line": 34, - "column": 34 + "line": 45, + "column": 33 }, "end": { - "line": 34, + "line": 45, "column": 50 } }, "object": { "type": "ThisExpression", - "start": 816, - "end": 820, + "start": 852, + "end": 856, "loc": { "start": { - "line": 34, - "column": 34 + "line": 45, + "column": 33 }, "end": { - "line": 34, - "column": 38 + "line": 45, + "column": 37 } } }, "property": { "type": "Identifier", - "start": 821, - "end": 832, + "start": 857, + "end": 869, "loc": { "start": { - "line": 34, - "column": 39 + "line": 45, + "column": 38 }, "end": { - "line": 34, + "line": 45, "column": 50 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false }, { "type": "MemberExpression", - "start": 835, - "end": 845, + "start": 871, + "end": 882, "loc": { "start": { - "line": 34, - "column": 53 + "line": 45, + "column": 52 }, "end": { - "line": 34, + "line": 45, "column": 63 } }, "object": { "type": "ThisExpression", - "start": 835, - "end": 839, + "start": 871, + "end": 875, "loc": { "start": { - "line": 34, - "column": 53 + "line": 45, + "column": 52 }, "end": { - "line": 34, - "column": 57 + "line": 45, + "column": 56 } } }, "property": { "type": "Identifier", - "start": 840, - "end": 845, + "start": 876, + "end": 882, "loc": { "start": { - "line": 34, - "column": 58 + "line": 45, + "column": 57 }, "end": { - "line": 34, + "line": 45, "column": 63 }, - "identifierName": "limbs" + "identifierName": "_limbs" }, - "name": "limbs" + "name": "_limbs" }, "computed": false } @@ -2598,15 +2635,15 @@ }, { "type": "ClassMethod", - "start": 855, - "end": 1067, + "start": 890, + "end": 1084, "loc": { "start": { - "line": 37, + "line": 48, "column": 1 }, "end": { - "line": 41, + "line": 53, "column": 2 } }, @@ -2614,15 +2651,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 855, - "end": 869, + "start": 890, + "end": 904, "loc": { "start": { - "line": 37, + "line": 48, "column": 1 }, "end": { - "line": 37, + "line": 48, "column": 15 }, "identifierName": "_limbs_in_base" @@ -2637,16 +2674,16 @@ "params": [ { "type": "Identifier", - "start": 872, - "end": 876, + "start": 905, + "end": 909, "loc": { "start": { - "line": 37, - "column": 18 + "line": 48, + "column": 16 }, "end": { - "line": 37, - "column": 22 + "line": 48, + "column": 20 }, "identifierName": "base" }, @@ -2655,220 +2692,205 @@ ], "body": { "type": "BlockStatement", - "start": 879, - "end": 1067, + "start": 911, + "end": 1084, "loc": { "start": { - "line": 37, - "column": 25 + "line": 48, + "column": 22 }, "end": { - "line": 41, + "line": 53, "column": 2 } }, "body": [ { - "type": "IfStatement", - "start": 938, - "end": 1064, + "type": "ReturnStatement", + "start": 970, + "end": 1081, "loc": { "start": { - "line": 39, + "line": 50, "column": 2 }, "end": { - "line": 40, - "column": 80 + "line": 52, + "column": 67 } }, - "test": { - "type": "BinaryExpression", - "start": 943, - "end": 961, + "argument": { + "type": "ConditionalExpression", + "start": 977, + "end": 1080, "loc": { "start": { - "line": 39, - "column": 7 + "line": 50, + "column": 9 }, "end": { - "line": 39, - "column": 25 + "line": 52, + "column": 66 } }, - "left": { - "type": "MemberExpression", - "start": 943, - "end": 952, + "test": { + "type": "BinaryExpression", + "start": 977, + "end": 996, "loc": { "start": { - "line": 39, - "column": 7 + "line": 50, + "column": 9 }, "end": { - "line": 39, - "column": 16 + "line": 50, + "column": 28 } }, - "object": { - "type": "ThisExpression", - "start": 943, - "end": 947, + "left": { + "type": "MemberExpression", + "start": 977, + "end": 987, "loc": { "start": { - "line": 39, - "column": 7 + "line": 50, + "column": 9 }, "end": { - "line": 39, - "column": 11 + "line": 50, + "column": 19 } }, + "object": { + "type": "ThisExpression", + "start": 977, + "end": 981, + "loc": { + "start": { + "line": 50, + "column": 9 + }, + "end": { + "line": 50, + "column": 13 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 982, + "end": 987, + "loc": { + "start": { + "line": 50, + "column": 14 + }, + "end": { + "line": 50, + "column": 19 + }, + "identifierName": "_base" + }, + "name": "_base" + }, + "computed": false, "leadingComments": null }, - "property": { + "operator": "===", + "right": { "type": "Identifier", - "start": 948, - "end": 952, + "start": 992, + "end": 996, "loc": { "start": { - "line": 39, - "column": 12 + "line": 50, + "column": 24 }, "end": { - "line": 39, - "column": 16 + "line": 50, + "column": 28 }, "identifierName": "base" }, "name": "base" }, - "computed": false, "leadingComments": null }, - "operator": "===", - "right": { - "type": "Identifier", - "start": 957, - "end": 961, - "loc": { - "start": { - "line": 39, - "column": 21 - }, - "end": { - "line": 39, - "column": 25 - }, - "identifierName": "base" - }, - "name": "base" - }, - "leadingComments": null - }, - "consequent": { - "type": "ReturnStatement", - "start": 964, - "end": 983, - "loc": { - "start": { - "line": 39, - "column": 28 - }, - "end": { - "line": 39, - "column": 47 - } - }, - "argument": { + "consequent": { "type": "MemberExpression", - "start": 971, - "end": 981, + "start": 1002, + "end": 1013, "loc": { "start": { - "line": 39, - "column": 35 + "line": 51, + "column": 5 }, "end": { - "line": 39, - "column": 45 + "line": 51, + "column": 16 } }, "object": { "type": "ThisExpression", - "start": 971, - "end": 975, + "start": 1002, + "end": 1006, "loc": { "start": { - "line": 39, - "column": 35 + "line": 51, + "column": 5 }, "end": { - "line": 39, - "column": 39 + "line": 51, + "column": 9 } } }, "property": { "type": "Identifier", - "start": 976, - "end": 981, + "start": 1007, + "end": 1013, "loc": { "start": { - "line": 39, - "column": 40 + "line": 51, + "column": 10 }, "end": { - "line": 39, - "column": 45 + "line": 51, + "column": 16 }, - "identifierName": "limbs" + "identifierName": "_limbs" }, - "name": "limbs" + "name": "_limbs" }, "computed": false - } - }, - "alternate": { - "type": "ReturnStatement", - "start": 991, - "end": 1064, - "loc": { - "start": { - "line": 40, - "column": 7 - }, - "end": { - "line": 40, - "column": 80 - } }, - "argument": { + "alternate": { "type": "CallExpression", - "start": 998, - "end": 1062, + "start": 1019, + "end": 1080, "loc": { "start": { - "line": 40, - "column": 14 + "line": 52, + "column": 5 }, "end": { - "line": 40, - "column": 78 + "line": 52, + "column": 66 } }, "callee": { "type": "Identifier", - "start": 998, - "end": 1005, + "start": 1019, + "end": 1026, "loc": { "start": { - "line": 40, - "column": 14 + "line": 52, + "column": 5 }, "end": { - "line": 40, - "column": 21 + "line": 52, + "column": 12 }, "identifierName": "convert" }, @@ -2877,64 +2899,64 @@ "arguments": [ { "type": "MemberExpression", - "start": 1007, - "end": 1016, + "start": 1027, + "end": 1037, "loc": { "start": { - "line": 40, - "column": 23 + "line": 52, + "column": 13 }, "end": { - "line": 40, - "column": 32 + "line": 52, + "column": 23 } }, "object": { "type": "ThisExpression", - "start": 1007, - "end": 1011, + "start": 1027, + "end": 1031, "loc": { "start": { - "line": 40, - "column": 23 + "line": 52, + "column": 13 }, "end": { - "line": 40, - "column": 27 + "line": 52, + "column": 17 } } }, "property": { "type": "Identifier", - "start": 1012, - "end": 1016, + "start": 1032, + "end": 1037, "loc": { "start": { - "line": 40, - "column": 28 + "line": 52, + "column": 18 }, "end": { - "line": 40, - "column": 32 + "line": 52, + "column": 23 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false }, { "type": "Identifier", - "start": 1019, - "end": 1023, + "start": 1039, + "end": 1043, "loc": { "start": { - "line": 40, - "column": 35 + "line": 52, + "column": 25 }, "end": { - "line": 40, - "column": 39 + "line": 52, + "column": 29 }, "identifierName": "base" }, @@ -2942,64 +2964,64 @@ }, { "type": "MemberExpression", - "start": 1026, - "end": 1036, + "start": 1045, + "end": 1056, "loc": { "start": { - "line": 40, - "column": 42 + "line": 52, + "column": 31 }, "end": { - "line": 40, - "column": 52 + "line": 52, + "column": 42 } }, "object": { "type": "ThisExpression", - "start": 1026, - "end": 1030, + "start": 1045, + "end": 1049, "loc": { "start": { - "line": 40, - "column": 42 + "line": 52, + "column": 31 }, "end": { - "line": 40, - "column": 46 + "line": 52, + "column": 35 } } }, "property": { "type": "Identifier", - "start": 1031, - "end": 1036, + "start": 1050, + "end": 1056, "loc": { "start": { - "line": 40, - "column": 47 + "line": 52, + "column": 36 }, "end": { - "line": 40, - "column": 52 + "line": 52, + "column": 42 }, - "identifierName": "limbs" + "identifierName": "_limbs" }, - "name": "limbs" + "name": "_limbs" }, "computed": false }, { "type": "NumericLiteral", - "start": 1039, - "end": 1040, + "start": 1058, + "end": 1059, "loc": { "start": { - "line": 40, - "column": 55 + "line": 52, + "column": 44 }, "end": { - "line": 40, - "column": 56 + "line": 52, + "column": 45 } }, "extra": { @@ -3010,78 +3032,78 @@ }, { "type": "MemberExpression", - "start": 1043, - "end": 1060, + "start": 1061, + "end": 1079, "loc": { "start": { - "line": 40, - "column": 59 + "line": 52, + "column": 47 }, "end": { - "line": 40, - "column": 76 + "line": 52, + "column": 65 } }, "object": { "type": "MemberExpression", - "start": 1043, - "end": 1053, + "start": 1061, + "end": 1072, "loc": { "start": { - "line": 40, - "column": 59 + "line": 52, + "column": 47 }, "end": { - "line": 40, - "column": 69 + "line": 52, + "column": 58 } }, "object": { "type": "ThisExpression", - "start": 1043, - "end": 1047, + "start": 1061, + "end": 1065, "loc": { "start": { - "line": 40, - "column": 59 + "line": 52, + "column": 47 }, "end": { - "line": 40, - "column": 63 + "line": 52, + "column": 51 } } }, "property": { "type": "Identifier", - "start": 1048, - "end": 1053, + "start": 1066, + "end": 1072, "loc": { "start": { - "line": 40, - "column": 64 + "line": 52, + "column": 52 }, "end": { - "line": 40, - "column": 69 + "line": 52, + "column": 58 }, - "identifierName": "limbs" + "identifierName": "_limbs" }, - "name": "limbs" + "name": "_limbs" }, "computed": false }, "property": { "type": "Identifier", - "start": 1054, - "end": 1060, + "start": 1073, + "end": 1079, "loc": { "start": { - "line": 40, - "column": 70 + "line": 52, + "column": 59 }, "end": { - "line": 40, - "column": 76 + "line": 52, + "column": 65 }, "identifierName": "length" }, @@ -3090,21 +3112,22 @@ "computed": false } ] - } + }, + "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " TODO save result for later ? Maybe replace base ?", - "start": 883, - "end": 935, + "start": 915, + "end": 967, "loc": { "start": { - "line": 38, + "line": 49, "column": 2 }, "end": { - "line": 38, + "line": 49, "column": 54 } } @@ -3117,15 +3140,15 @@ }, { "type": "ClassMethod", - "start": 1070, - "end": 1294, + "start": 1087, + "end": 1318, "loc": { "start": { - "line": 43, + "line": 55, "column": 1 }, "end": { - "line": 51, + "line": 67, "column": 2 } }, @@ -3133,15 +3156,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1070, - "end": 1078, + "start": 1087, + "end": 1095, "loc": { "start": { - "line": 43, + "line": 55, "column": 1 }, "end": { - "line": 43, + "line": 55, "column": 9 }, "identifierName": "toString" @@ -3156,30 +3179,30 @@ "params": [ { "type": "AssignmentPattern", - "start": 1081, - "end": 1108, + "start": 1096, + "end": 1123, "loc": { "start": { - "line": 43, - "column": 12 + "line": 55, + "column": 10 }, "end": { - "line": 43, - "column": 39 + "line": 55, + "column": 37 } }, "left": { "type": "Identifier", - "start": 1081, - "end": 1085, + "start": 1096, + "end": 1100, "loc": { "start": { - "line": 43, - "column": 12 + "line": 55, + "column": 10 }, "end": { - "line": 43, - "column": 16 + "line": 55, + "column": 14 }, "identifierName": "base" }, @@ -3187,16 +3210,16 @@ }, "right": { "type": "Identifier", - "start": 1088, - "end": 1108, + "start": 1103, + "end": 1123, "loc": { "start": { - "line": 43, - "column": 19 + "line": 55, + "column": 17 }, "end": { - "line": 43, - "column": 39 + "line": 55, + "column": 37 }, "identifierName": "DEFAULT_DISPLAY_BASE" }, @@ -3206,88 +3229,88 @@ ], "body": { "type": "BlockStatement", - "start": 1111, - "end": 1294, + "start": 1125, + "end": 1318, "loc": { "start": { - "line": 43, - "column": 42 + "line": 55, + "column": 39 }, "end": { - "line": 51, + "line": 67, "column": 2 } }, "body": [ { "type": "IfStatement", - "start": 1116, - "end": 1150, + "start": 1129, + "end": 1159, "loc": { "start": { - "line": 45, + "line": 56, "column": 2 }, "end": { - "line": 45, - "column": 36 + "line": 56, + "column": 32 } }, "test": { "type": "CallExpression", - "start": 1121, - "end": 1135, + "start": 1133, + "end": 1146, "loc": { "start": { - "line": 45, - "column": 7 + "line": 56, + "column": 6 }, "end": { - "line": 45, - "column": 21 + "line": 56, + "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 1121, - "end": 1132, + "start": 1133, + "end": 1144, "loc": { "start": { - "line": 45, - "column": 7 + "line": 56, + "column": 6 }, "end": { - "line": 45, - "column": 18 + "line": 56, + "column": 17 } }, "object": { "type": "ThisExpression", - "start": 1121, - "end": 1125, + "start": 1133, + "end": 1137, "loc": { "start": { - "line": 45, - "column": 7 + "line": 56, + "column": 6 }, "end": { - "line": 45, - "column": 11 + "line": 56, + "column": 10 } } }, "property": { "type": "Identifier", - "start": 1126, - "end": 1132, + "start": 1138, + "end": 1144, "loc": { "start": { - "line": 45, - "column": 12 + "line": 56, + "column": 11 }, "end": { - "line": 45, - "column": 18 + "line": 56, + "column": 17 }, "identifierName": "iszero" }, @@ -3299,30 +3322,30 @@ }, "consequent": { "type": "ReturnStatement", - "start": 1138, - "end": 1150, + "start": 1148, + "end": 1159, "loc": { "start": { - "line": 45, - "column": 24 + "line": 56, + "column": 21 }, "end": { - "line": 45, - "column": 36 + "line": 56, + "column": 32 } }, "argument": { "type": "StringLiteral", - "start": 1145, - "end": 1148, + "start": 1155, + "end": 1158, "loc": { "start": { - "line": 45, - "column": 31 + "line": 56, + "column": 28 }, "end": { - "line": 45, - "column": 34 + "line": 56, + "column": 31 } }, "extra": { @@ -3336,44 +3359,44 @@ }, { "type": "VariableDeclaration", - "start": 1154, - "end": 1237, + "start": 1163, + "end": 1262, "loc": { "start": { - "line": 47, + "line": 58, "column": 2 }, "end": { - "line": 47, - "column": 85 + "line": 64, + "column": 4 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1160, - "end": 1235, + "start": 1169, + "end": 1261, "loc": { "start": { - "line": 47, + "line": 58, "column": 8 }, "end": { - "line": 47, - "column": 83 + "line": 64, + "column": 3 } }, "id": { "type": "Identifier", - "start": 1160, - "end": 1166, + "start": 1169, + "end": 1175, "loc": { "start": { - "line": 47, + "line": 58, "column": 8 }, "end": { - "line": 47, + "line": 58, "column": 14 }, "identifierName": "digits" @@ -3382,29 +3405,29 @@ }, "init": { "type": "CallExpression", - "start": 1169, - "end": 1235, + "start": 1178, + "end": 1261, "loc": { "start": { - "line": 47, + "line": 58, "column": 17 }, "end": { - "line": 47, - "column": 83 + "line": 64, + "column": 3 } }, "callee": { "type": "Identifier", - "start": 1169, - "end": 1178, + "start": 1178, + "end": 1187, "loc": { "start": { - "line": 47, + "line": 58, "column": 17 }, "end": { - "line": 47, + "line": 58, "column": 26 }, "identifierName": "stringify" @@ -3414,64 +3437,64 @@ "arguments": [ { "type": "MemberExpression", - "start": 1180, - "end": 1189, + "start": 1192, + "end": 1202, "loc": { "start": { - "line": 47, - "column": 28 + "line": 59, + "column": 3 }, "end": { - "line": 47, - "column": 37 + "line": 59, + "column": 13 } }, "object": { "type": "ThisExpression", - "start": 1180, - "end": 1184, + "start": 1192, + "end": 1196, "loc": { "start": { - "line": 47, - "column": 28 + "line": 59, + "column": 3 }, "end": { - "line": 47, - "column": 32 + "line": 59, + "column": 7 } } }, "property": { "type": "Identifier", - "start": 1185, - "end": 1189, + "start": 1197, + "end": 1202, "loc": { "start": { - "line": 47, - "column": 33 + "line": 59, + "column": 8 }, "end": { - "line": 47, - "column": 37 + "line": 59, + "column": 13 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false }, { "type": "Identifier", - "start": 1192, - "end": 1196, + "start": 1207, + "end": 1211, "loc": { "start": { - "line": 47, - "column": 40 + "line": 60, + "column": 3 }, "end": { - "line": 47, - "column": 44 + "line": 60, + "column": 7 }, "identifierName": "base" }, @@ -3479,64 +3502,64 @@ }, { "type": "MemberExpression", - "start": 1199, - "end": 1209, + "start": 1216, + "end": 1227, "loc": { "start": { - "line": 47, - "column": 47 + "line": 61, + "column": 3 }, "end": { - "line": 47, - "column": 57 + "line": 61, + "column": 14 } }, "object": { "type": "ThisExpression", - "start": 1199, - "end": 1203, + "start": 1216, + "end": 1220, "loc": { "start": { - "line": 47, - "column": 47 + "line": 61, + "column": 3 }, "end": { - "line": 47, - "column": 51 + "line": 61, + "column": 7 } } }, "property": { "type": "Identifier", - "start": 1204, - "end": 1209, + "start": 1221, + "end": 1227, "loc": { "start": { - "line": 47, - "column": 52 + "line": 61, + "column": 8 }, "end": { - "line": 47, - "column": 57 + "line": 61, + "column": 14 }, - "identifierName": "limbs" + "identifierName": "_limbs" }, - "name": "limbs" + "name": "_limbs" }, "computed": false }, { "type": "NumericLiteral", - "start": 1212, - "end": 1213, + "start": 1232, + "end": 1233, "loc": { "start": { - "line": 47, - "column": 60 + "line": 62, + "column": 3 }, "end": { - "line": 47, - "column": 61 + "line": 62, + "column": 4 } }, "extra": { @@ -3547,78 +3570,78 @@ }, { "type": "MemberExpression", - "start": 1216, - "end": 1233, + "start": 1238, + "end": 1256, "loc": { "start": { - "line": 47, - "column": 64 + "line": 63, + "column": 3 }, "end": { - "line": 47, - "column": 81 + "line": 63, + "column": 21 } }, "object": { "type": "MemberExpression", - "start": 1216, - "end": 1226, + "start": 1238, + "end": 1249, "loc": { "start": { - "line": 47, - "column": 64 + "line": 63, + "column": 3 }, "end": { - "line": 47, - "column": 74 + "line": 63, + "column": 14 } }, "object": { "type": "ThisExpression", - "start": 1216, - "end": 1220, + "start": 1238, + "end": 1242, "loc": { "start": { - "line": 47, - "column": 64 + "line": 63, + "column": 3 }, "end": { - "line": 47, - "column": 68 + "line": 63, + "column": 7 } } }, "property": { "type": "Identifier", - "start": 1221, - "end": 1226, + "start": 1243, + "end": 1249, "loc": { "start": { - "line": 47, - "column": 69 + "line": 63, + "column": 8 }, "end": { - "line": 47, - "column": 74 + "line": 63, + "column": 14 }, - "identifierName": "limbs" + "identifierName": "_limbs" }, - "name": "limbs" + "name": "_limbs" }, "computed": false }, "property": { "type": "Identifier", - "start": 1227, - "end": 1233, + "start": 1250, + "end": 1256, "loc": { "start": { - "line": 47, - "column": 75 + "line": 63, + "column": 15 }, "end": { - "line": 47, - "column": 81 + "line": 63, + "column": 21 }, "identifierName": "length" }, @@ -3634,106 +3657,106 @@ }, { "type": "ReturnStatement", - "start": 1241, - "end": 1290, + "start": 1266, + "end": 1315, "loc": { "start": { - "line": 49, + "line": 66, "column": 2 }, "end": { - "line": 49, + "line": 66, "column": 51 } }, "argument": { "type": "ConditionalExpression", - "start": 1248, - "end": 1288, + "start": 1273, + "end": 1314, "loc": { "start": { - "line": 49, + "line": 66, "column": 9 }, "end": { - "line": 49, - "column": 49 + "line": 66, + "column": 50 } }, "test": { "type": "MemberExpression", - "start": 1248, - "end": 1264, + "start": 1273, + "end": 1290, "loc": { "start": { - "line": 49, + "line": 66, "column": 9 }, "end": { - "line": 49, - "column": 25 + "line": 66, + "column": 26 } }, "object": { "type": "ThisExpression", - "start": 1248, - "end": 1252, + "start": 1273, + "end": 1277, "loc": { "start": { - "line": 49, + "line": 66, "column": 9 }, "end": { - "line": 49, + "line": 66, "column": 13 } } }, "property": { "type": "Identifier", - "start": 1253, - "end": 1264, + "start": 1278, + "end": 1290, "loc": { "start": { - "line": 49, + "line": 66, "column": 14 }, "end": { - "line": 49, - "column": 25 + "line": 66, + "column": 26 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false }, "consequent": { "type": "BinaryExpression", - "start": 1267, - "end": 1279, + "start": 1293, + "end": 1305, "loc": { "start": { - "line": 49, - "column": 28 + "line": 66, + "column": 29 }, "end": { - "line": 49, - "column": 40 + "line": 66, + "column": 41 } }, "left": { "type": "StringLiteral", - "start": 1267, - "end": 1270, + "start": 1293, + "end": 1296, "loc": { "start": { - "line": 49, - "column": 28 + "line": 66, + "column": 29 }, "end": { - "line": 49, - "column": 31 + "line": 66, + "column": 32 } }, "extra": { @@ -3745,16 +3768,16 @@ "operator": "+", "right": { "type": "Identifier", - "start": 1273, - "end": 1279, + "start": 1299, + "end": 1305, "loc": { "start": { - "line": 49, - "column": 34 + "line": 66, + "column": 35 }, "end": { - "line": 49, - "column": 40 + "line": 66, + "column": 41 }, "identifierName": "digits" }, @@ -3763,16 +3786,16 @@ }, "alternate": { "type": "Identifier", - "start": 1282, - "end": 1288, + "start": 1308, + "end": 1314, "loc": { "start": { - "line": 49, - "column": 43 + "line": 66, + "column": 44 }, "end": { - "line": 49, - "column": 49 + "line": 66, + "column": 50 }, "identifierName": "digits" }, @@ -3786,15 +3809,15 @@ }, { "type": "ClassMethod", - "start": 1297, - "end": 1834, + "start": 1321, + "end": 1786, "loc": { "start": { - "line": 53, + "line": 69, "column": 1 }, "end": { - "line": 80, + "line": 88, "column": 2 } }, @@ -3802,15 +3825,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1297, - "end": 1300, + "start": 1321, + "end": 1324, "loc": { "start": { - "line": 53, + "line": 69, "column": 1 }, "end": { - "line": 53, + "line": 69, "column": 4 }, "identifierName": "add" @@ -3825,16 +3848,16 @@ "params": [ { "type": "Identifier", - "start": 1303, - "end": 1308, + "start": 1325, + "end": 1330, "loc": { "start": { - "line": 53, - "column": 7 + "line": 69, + "column": 5 }, "end": { - "line": 53, - "column": 12 + "line": 69, + "column": 10 }, "identifierName": "other" }, @@ -3843,121 +3866,121 @@ ], "body": { "type": "BlockStatement", - "start": 1311, - "end": 1834, + "start": 1332, + "end": 1786, "loc": { "start": { - "line": 53, - "column": 15 + "line": 69, + "column": 12 }, "end": { - "line": 80, + "line": 88, "column": 2 } }, "body": [ { "type": "IfStatement", - "start": 1316, - "end": 1830, + "start": 1336, + "end": 1483, "loc": { "start": { - "line": 55, + "line": 70, "column": 2 }, "end": { - "line": 78, + "line": 74, "column": 3 } }, "test": { "type": "BinaryExpression", - "start": 1321, - "end": 1359, + "start": 1340, + "end": 1380, "loc": { "start": { - "line": 55, - "column": 7 + "line": 70, + "column": 6 }, "end": { - "line": 55, - "column": 45 + "line": 70, + "column": 46 } }, "left": { "type": "MemberExpression", - "start": 1321, - "end": 1337, + "start": 1340, + "end": 1357, "loc": { "start": { - "line": 55, - "column": 7 + "line": 70, + "column": 6 }, "end": { - "line": 55, + "line": 70, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 1321, - "end": 1325, + "start": 1340, + "end": 1344, "loc": { "start": { - "line": 55, - "column": 7 + "line": 70, + "column": 6 }, "end": { - "line": 55, - "column": 11 + "line": 70, + "column": 10 } } }, "property": { "type": "Identifier", - "start": 1326, - "end": 1337, + "start": 1345, + "end": 1357, "loc": { "start": { - "line": 55, - "column": 12 + "line": 70, + "column": 11 }, "end": { - "line": 55, + "line": 70, "column": 23 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false }, "operator": "!==", "right": { "type": "MemberExpression", - "start": 1342, - "end": 1359, + "start": 1362, + "end": 1380, "loc": { "start": { - "line": 55, + "line": 70, "column": 28 }, "end": { - "line": 55, - "column": 45 + "line": 70, + "column": 46 } }, "object": { "type": "Identifier", - "start": 1342, - "end": 1347, + "start": 1362, + "end": 1367, "loc": { "start": { - "line": 55, + "line": 70, "column": 28 }, "end": { - "line": 55, + "line": 70, "column": 33 }, "identifierName": "other" @@ -3966,172 +3989,172 @@ }, "property": { "type": "Identifier", - "start": 1348, - "end": 1359, + "start": 1368, + "end": 1380, "loc": { "start": { - "line": 55, + "line": 70, "column": 34 }, "end": { - "line": 55, - "column": 45 + "line": 70, + "column": 46 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false } }, "consequent": { "type": "BlockStatement", - "start": 1362, - "end": 1482, + "start": 1382, + "end": 1483, "loc": { "start": { - "line": 55, + "line": 70, "column": 48 }, "end": { - "line": 61, + "line": 74, "column": 3 } }, "body": [ { - "type": "IfStatement", - "start": 1368, - "end": 1477, + "type": "ReturnStatement", + "start": 1387, + "end": 1479, "loc": { "start": { - "line": 57, + "line": 71, "column": 3 }, "end": { - "line": 59, - "column": 45 + "line": 73, + "column": 33 } }, - "test": { - "type": "MemberExpression", - "start": 1373, - "end": 1390, + "argument": { + "type": "ConditionalExpression", + "start": 1394, + "end": 1478, "loc": { "start": { - "line": 57, - "column": 8 + "line": 71, + "column": 10 }, "end": { - "line": 57, - "column": 25 + "line": 73, + "column": 32 } }, - "object": { - "type": "Identifier", - "start": 1373, - "end": 1378, + "test": { + "type": "MemberExpression", + "start": 1394, + "end": 1412, "loc": { "start": { - "line": 57, - "column": 8 + "line": 71, + "column": 10 }, "end": { - "line": 57, - "column": 13 - }, - "identifierName": "other" + "line": 71, + "column": 28 + } }, - "name": "other" - }, - "property": { - "type": "Identifier", - "start": 1379, - "end": 1390, - "loc": { - "start": { - "line": 57, - "column": 14 - }, - "end": { - "line": 57, - "column": 25 + "object": { + "type": "Identifier", + "start": 1394, + "end": 1399, + "loc": { + "start": { + "line": 71, + "column": 10 + }, + "end": { + "line": 71, + "column": 15 + }, + "identifierName": "other" }, - "identifierName": "is_negative" + "name": "other" }, - "name": "is_negative" - }, - "computed": false - }, - "consequent": { - "type": "ReturnStatement", - "start": 1393, - "end": 1430, - "loc": { - "start": { - "line": 57, - "column": 28 + "property": { + "type": "Identifier", + "start": 1400, + "end": 1412, + "loc": { + "start": { + "line": 71, + "column": 16 + }, + "end": { + "line": 71, + "column": 28 + }, + "identifierName": "_is_negative" + }, + "name": "_is_negative" }, - "end": { - "line": 57, - "column": 65 - } + "computed": false }, - "argument": { + "consequent": { "type": "CallExpression", - "start": 1400, - "end": 1428, + "start": 1419, + "end": 1445, "loc": { "start": { - "line": 57, - "column": 35 + "line": 72, + "column": 6 }, "end": { - "line": 57, - "column": 63 + "line": 72, + "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 1400, - "end": 1408, + "start": 1419, + "end": 1427, "loc": { "start": { - "line": 57, - "column": 35 + "line": 72, + "column": 6 }, "end": { - "line": 57, - "column": 43 + "line": 72, + "column": 14 } }, "object": { "type": "ThisExpression", - "start": 1400, - "end": 1404, + "start": 1419, + "end": 1423, "loc": { "start": { - "line": 57, - "column": 35 + "line": 72, + "column": 6 }, "end": { - "line": 57, - "column": 39 + "line": 72, + "column": 10 } } }, "property": { "type": "Identifier", - "start": 1405, - "end": 1408, + "start": 1424, + "end": 1427, "loc": { "start": { - "line": 57, - "column": 40 + "line": 72, + "column": 11 }, "end": { - "line": 57, - "column": 43 + "line": 72, + "column": 14 }, "identifierName": "sub" }, @@ -4142,44 +4165,44 @@ "arguments": [ { "type": "CallExpression", - "start": 1410, - "end": 1426, + "start": 1428, + "end": 1444, "loc": { "start": { - "line": 57, - "column": 45 + "line": 72, + "column": 15 }, "end": { - "line": 57, - "column": 61 + "line": 72, + "column": 31 } }, "callee": { "type": "MemberExpression", - "start": 1410, - "end": 1424, + "start": 1428, + "end": 1442, "loc": { "start": { - "line": 57, - "column": 45 + "line": 72, + "column": 15 }, "end": { - "line": 57, - "column": 59 + "line": 72, + "column": 29 } }, "object": { "type": "Identifier", - "start": 1410, - "end": 1415, + "start": 1428, + "end": 1433, "loc": { "start": { - "line": 57, - "column": 45 + "line": 72, + "column": 15 }, "end": { - "line": 57, - "column": 50 + "line": 72, + "column": 20 }, "identifierName": "other" }, @@ -4187,16 +4210,16 @@ }, "property": { "type": "Identifier", - "start": 1416, - "end": 1424, + "start": 1434, + "end": 1442, "loc": { "start": { - "line": 57, - "column": 51 + "line": 72, + "column": 21 }, "end": { - "line": 57, - "column": 59 + "line": 72, + "column": 29 }, "identifierName": "opposite" }, @@ -4207,62 +4230,47 @@ "arguments": [] } ] - } - }, - "alternate": { - "type": "ReturnStatement", - "start": 1440, - "end": 1477, - "loc": { - "start": { - "line": 59, - "column": 8 - }, - "end": { - "line": 59, - "column": 45 - } }, - "argument": { + "alternate": { "type": "CallExpression", - "start": 1447, - "end": 1475, + "start": 1452, + "end": 1478, "loc": { "start": { - "line": 59, - "column": 15 + "line": 73, + "column": 6 }, "end": { - "line": 59, - "column": 43 + "line": 73, + "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 1447, - "end": 1456, + "start": 1452, + "end": 1461, "loc": { "start": { - "line": 59, - "column": 15 + "line": 73, + "column": 6 }, "end": { - "line": 59, - "column": 24 + "line": 73, + "column": 15 } }, "object": { "type": "Identifier", - "start": 1447, - "end": 1452, + "start": 1452, + "end": 1457, "loc": { "start": { - "line": 59, - "column": 15 + "line": 73, + "column": 6 }, "end": { - "line": 59, - "column": 20 + "line": 73, + "column": 11 }, "identifierName": "other" }, @@ -4270,16 +4278,16 @@ }, "property": { "type": "Identifier", - "start": 1453, - "end": 1456, + "start": 1458, + "end": 1461, "loc": { "start": { - "line": 59, - "column": 21 + "line": 73, + "column": 12 }, "end": { - "line": 59, - "column": 24 + "line": 73, + "column": 15 }, "identifierName": "sub" }, @@ -4290,59 +4298,59 @@ "arguments": [ { "type": "CallExpression", - "start": 1458, - "end": 1473, + "start": 1462, + "end": 1477, "loc": { "start": { - "line": 59, - "column": 26 + "line": 73, + "column": 16 }, "end": { - "line": 59, - "column": 41 + "line": 73, + "column": 31 } }, "callee": { "type": "MemberExpression", - "start": 1458, - "end": 1471, + "start": 1462, + "end": 1475, "loc": { "start": { - "line": 59, - "column": 26 + "line": 73, + "column": 16 }, "end": { - "line": 59, - "column": 39 + "line": 73, + "column": 29 } }, "object": { "type": "ThisExpression", - "start": 1458, - "end": 1462, + "start": 1462, + "end": 1466, "loc": { "start": { - "line": 59, - "column": 26 + "line": 73, + "column": 16 }, "end": { - "line": 59, - "column": 30 + "line": 73, + "column": 20 } } }, "property": { "type": "Identifier", - "start": 1463, - "end": 1471, + "start": 1467, + "end": 1475, "loc": { "start": { - "line": 59, - "column": 31 + "line": 73, + "column": 21 }, "end": { - "line": 59, - "column": 39 + "line": 73, + "column": 29 }, "identifierName": "opposite" }, @@ -4359,1165 +4367,1148 @@ ], "directives": [] }, - "alternate": { - "type": "BlockStatement", - "start": 1491, - "end": 1830, - "loc": { - "start": { - "line": 63, - "column": 7 - }, - "end": { - "line": 78, - "column": 3 - } + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 1487, + "end": 1532, + "loc": { + "start": { + "line": 76, + "column": 2 }, - "body": [ - { - "type": "VariableDeclaration", - "start": 1497, - "end": 1542, + "end": { + "line": 76, + "column": 47 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1493, + "end": 1531, + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 76, + "column": 46 + } + }, + "id": { + "type": "Identifier", + "start": 1493, + "end": 1511, "loc": { "start": { - "line": 65, - "column": 3 + "line": 76, + "column": 8 }, "end": { - "line": 65, - "column": 48 - } + "line": 76, + "column": 26 + }, + "identifierName": "result_is_negative" }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1503, - "end": 1540, - "loc": { - "start": { - "line": 65, - "column": 9 - }, - "end": { - "line": 65, - "column": 46 - } - }, - "id": { - "type": "Identifier", - "start": 1503, - "end": 1521, - "loc": { - "start": { - "line": 65, - "column": 9 - }, - "end": { - "line": 65, - "column": 27 - }, - "identifierName": "result_is_negative" - }, - "name": "result_is_negative" - }, - "init": { - "type": "MemberExpression", - "start": 1524, - "end": 1540, - "loc": { - "start": { - "line": 65, - "column": 30 - }, - "end": { - "line": 65, - "column": 46 - } - }, - "object": { - "type": "ThisExpression", - "start": 1524, - "end": 1528, - "loc": { - "start": { - "line": 65, - "column": 30 - }, - "end": { - "line": 65, - "column": 34 - } - } - }, - "property": { - "type": "Identifier", - "start": 1529, - "end": 1540, - "loc": { - "start": { - "line": 65, - "column": 35 - }, - "end": { - "line": 65, - "column": 46 - }, - "identifierName": "is_negative" - }, - "name": "is_negative" - }, - "computed": false - } - } - ], - "kind": "const" + "name": "result_is_negative" }, - { - "type": "VariableDeclaration", - "start": 1546, - "end": 1567, + "init": { + "type": "MemberExpression", + "start": 1514, + "end": 1531, "loc": { "start": { - "line": 66, - "column": 3 + "line": 76, + "column": 29 }, "end": { - "line": 66, - "column": 24 + "line": 76, + "column": 46 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1552, - "end": 1565, - "loc": { - "start": { - "line": 66, - "column": 9 - }, - "end": { - "line": 66, - "column": 22 - } + "object": { + "type": "ThisExpression", + "start": 1514, + "end": 1518, + "loc": { + "start": { + "line": 76, + "column": 29 }, - "id": { - "type": "Identifier", - "start": 1552, - "end": 1553, - "loc": { - "start": { - "line": 66, - "column": 9 - }, - "end": { - "line": 66, - "column": 10 - }, - "identifierName": "r" - }, - "name": "r" + "end": { + "line": 76, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "start": 1519, + "end": 1531, + "loc": { + "start": { + "line": 76, + "column": 34 }, - "init": { - "type": "MemberExpression", - "start": 1556, - "end": 1565, - "loc": { - "start": { - "line": 66, - "column": 13 - }, - "end": { - "line": 66, - "column": 22 - } - }, - "object": { - "type": "ThisExpression", - "start": 1556, - "end": 1560, - "loc": { - "start": { - "line": 66, - "column": 13 - }, - "end": { - "line": 66, - "column": 17 - } - } - }, - "property": { - "type": "Identifier", - "start": 1561, - "end": 1565, - "loc": { - "start": { - "line": 66, - "column": 18 - }, - "end": { - "line": 66, - "column": 22 - }, - "identifierName": "base" - }, - "name": "base" - }, - "computed": false + "end": { + "line": 76, + "column": 46 + }, + "identifierName": "_is_negative" + }, + "name": "_is_negative" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 1535, + "end": 1556, + "loc": { + "start": { + "line": 77, + "column": 2 + }, + "end": { + "line": 77, + "column": 23 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1541, + "end": 1555, + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 77, + "column": 22 + } + }, + "id": { + "type": "Identifier", + "start": 1541, + "end": 1542, + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 77, + "column": 9 + }, + "identifierName": "r" + }, + "name": "r" + }, + "init": { + "type": "MemberExpression", + "start": 1545, + "end": 1555, + "loc": { + "start": { + "line": 77, + "column": 12 + }, + "end": { + "line": 77, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 1545, + "end": 1549, + "loc": { + "start": { + "line": 77, + "column": 12 + }, + "end": { + "line": 77, + "column": 16 } } - ], - "kind": "const" + }, + "property": { + "type": "Identifier", + "start": 1550, + "end": 1555, + "loc": { + "start": { + "line": 77, + "column": 17 + }, + "end": { + "line": 77, + "column": 22 + }, + "identifierName": "_base" + }, + "name": "_base" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 1560, + "end": 1582, + "loc": { + "start": { + "line": 79, + "column": 2 + }, + "end": { + "line": 79, + "column": 24 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1566, + "end": 1581, + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 23 + } }, - { - "type": "VariableDeclaration", - "start": 1572, - "end": 1594, + "id": { + "type": "Identifier", + "start": 1566, + "end": 1567, "loc": { "start": { - "line": 68, - "column": 3 + "line": 79, + "column": 8 }, "end": { - "line": 68, - "column": 25 + "line": 79, + "column": 9 + }, + "identifierName": "a" + }, + "name": "a" + }, + "init": { + "type": "MemberExpression", + "start": 1570, + "end": 1581, + "loc": { + "start": { + "line": 79, + "column": 12 + }, + "end": { + "line": 79, + "column": 23 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1578, - "end": 1592, + "object": { + "type": "ThisExpression", + "start": 1570, + "end": 1574, + "loc": { + "start": { + "line": 79, + "column": 12 + }, + "end": { + "line": 79, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 1575, + "end": 1581, + "loc": { + "start": { + "line": 79, + "column": 17 + }, + "end": { + "line": 79, + "column": 23 + }, + "identifierName": "_limbs" + }, + "name": "_limbs" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 1586, + "end": 1620, + "loc": { + "start": { + "line": 81, + "column": 2 + }, + "end": { + "line": 81, + "column": 36 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1592, + "end": 1619, + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 35 + } + }, + "id": { + "type": "Identifier", + "start": 1592, + "end": 1593, + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 9 + }, + "identifierName": "b" + }, + "name": "b" + }, + "init": { + "type": "CallExpression", + "start": 1596, + "end": 1619, + "loc": { + "start": { + "line": 81, + "column": 12 + }, + "end": { + "line": 81, + "column": 35 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1596, + "end": 1616, + "loc": { + "start": { + "line": 81, + "column": 12 + }, + "end": { + "line": 81, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 1596, + "end": 1601, "loc": { "start": { - "line": 68, - "column": 9 + "line": 81, + "column": 12 }, "end": { - "line": 68, - "column": 23 - } - }, - "id": { - "type": "Identifier", - "start": 1578, - "end": 1579, - "loc": { - "start": { - "line": 68, - "column": 9 - }, - "end": { - "line": 68, - "column": 10 - }, - "identifierName": "a" + "line": 81, + "column": 17 }, - "name": "a" + "identifierName": "other" }, - "init": { - "type": "MemberExpression", - "start": 1582, - "end": 1592, - "loc": { - "start": { - "line": 68, - "column": 13 - }, - "end": { - "line": 68, - "column": 23 - } + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 1602, + "end": 1616, + "loc": { + "start": { + "line": 81, + "column": 18 }, - "object": { - "type": "ThisExpression", - "start": 1582, - "end": 1586, - "loc": { - "start": { - "line": 68, - "column": 13 - }, - "end": { - "line": 68, - "column": 17 - } - } + "end": { + "line": 81, + "column": 32 }, - "property": { - "type": "Identifier", - "start": 1587, - "end": 1592, - "loc": { - "start": { - "line": 68, - "column": 18 - }, - "end": { - "line": 68, - "column": 23 - }, - "identifierName": "limbs" - }, - "name": "limbs" + "identifierName": "_limbs_in_base" + }, + "name": "_limbs_in_base" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1617, + "end": 1618, + "loc": { + "start": { + "line": 81, + "column": 33 }, - "computed": false - } + "end": { + "line": 81, + "column": 34 + }, + "identifierName": "r" + }, + "name": "r" } - ], - "kind": "const" + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 1624, + "end": 1675, + "loc": { + "start": { + "line": 83, + "column": 2 + }, + "end": { + "line": 83, + "column": 53 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1630, + "end": 1674, + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 52 + } }, - { - "type": "VariableDeclaration", - "start": 1599, - "end": 1636, + "id": { + "type": "Identifier", + "start": 1630, + "end": 1631, "loc": { "start": { - "line": 70, - "column": 3 + "line": 83, + "column": 8 }, "end": { - "line": 70, - "column": 40 + "line": 83, + "column": 9 + }, + "identifierName": "c" + }, + "name": "c" + }, + "init": { + "type": "CallExpression", + "start": 1634, + "end": 1674, + "loc": { + "start": { + "line": 83, + "column": 12 + }, + "end": { + "line": 83, + "column": 52 } }, - "declarations": [ + "callee": { + "type": "Identifier", + "start": 1634, + "end": 1640, + "loc": { + "start": { + "line": 83, + "column": 12 + }, + "end": { + "line": 83, + "column": 18 + }, + "identifierName": "_zeros" + }, + "name": "_zeros" + }, + "arguments": [ { - "type": "VariableDeclarator", - "start": 1605, - "end": 1634, + "type": "BinaryExpression", + "start": 1641, + "end": 1673, "loc": { "start": { - "line": 70, - "column": 9 + "line": 83, + "column": 19 }, "end": { - "line": 70, - "column": 38 + "line": 83, + "column": 51 } }, - "id": { - "type": "Identifier", - "start": 1605, - "end": 1606, - "loc": { - "start": { - "line": 70, - "column": 9 - }, - "end": { - "line": 70, - "column": 10 - }, - "identifierName": "b" - }, - "name": "b" - }, - "init": { + "left": { "type": "CallExpression", - "start": 1609, - "end": 1634, + "start": 1641, + "end": 1669, "loc": { "start": { - "line": 70, - "column": 13 + "line": 83, + "column": 19 }, "end": { - "line": 70, - "column": 38 + "line": 83, + "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 1609, - "end": 1629, + "start": 1641, + "end": 1649, "loc": { "start": { - "line": 70, - "column": 13 + "line": 83, + "column": 19 }, "end": { - "line": 70, - "column": 33 + "line": 83, + "column": 27 } }, "object": { "type": "Identifier", - "start": 1609, - "end": 1614, + "start": 1641, + "end": 1645, "loc": { "start": { - "line": 70, - "column": 13 + "line": 83, + "column": 19 }, "end": { - "line": 70, - "column": 18 + "line": 83, + "column": 23 }, - "identifierName": "other" + "identifierName": "Math" }, - "name": "other" + "name": "Math" }, "property": { "type": "Identifier", - "start": 1615, - "end": 1629, + "start": 1646, + "end": 1649, "loc": { "start": { - "line": 70, - "column": 19 + "line": 83, + "column": 24 }, "end": { - "line": 70, - "column": 33 + "line": 83, + "column": 27 }, - "identifierName": "_limbs_in_base" + "identifierName": "max" }, - "name": "_limbs_in_base" + "name": "max" }, "computed": false }, "arguments": [ { - "type": "Identifier", - "start": 1631, - "end": 1632, + "type": "MemberExpression", + "start": 1650, + "end": 1658, "loc": { "start": { - "line": 70, - "column": 35 + "line": 83, + "column": 28 }, "end": { - "line": 70, + "line": 83, "column": 36 - }, - "identifierName": "r" - }, - "name": "r" - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 1641, - "end": 1698, - "loc": { - "start": { - "line": 72, - "column": 3 - }, - "end": { - "line": 72, - "column": 60 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1647, - "end": 1696, - "loc": { - "start": { - "line": 72, - "column": 9 - }, - "end": { - "line": 72, - "column": 58 - } - }, - "id": { - "type": "Identifier", - "start": 1647, - "end": 1648, - "loc": { - "start": { - "line": 72, - "column": 9 - }, - "end": { - "line": 72, - "column": 10 - }, - "identifierName": "c" - }, - "name": "c" - }, - "init": { - "type": "CallExpression", - "start": 1651, - "end": 1696, - "loc": { - "start": { - "line": 72, - "column": 13 - }, - "end": { - "line": 72, - "column": 58 - } - }, - "callee": { - "type": "Identifier", - "start": 1651, - "end": 1657, - "loc": { - "start": { - "line": 72, - "column": 13 - }, - "end": { - "line": 72, - "column": 19 - }, - "identifierName": "_zeros" - }, - "name": "_zeros" - }, - "arguments": [ - { - "type": "BinaryExpression", - "start": 1659, - "end": 1694, - "loc": { - "start": { - "line": 72, - "column": 21 - }, - "end": { - "line": 72, - "column": 56 } }, - "left": { - "type": "CallExpression", - "start": 1659, - "end": 1690, + "object": { + "type": "Identifier", + "start": 1650, + "end": 1651, "loc": { "start": { - "line": 72, - "column": 21 + "line": 83, + "column": 28 }, "end": { - "line": 72, - "column": 52 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1659, - "end": 1667, - "loc": { - "start": { - "line": 72, - "column": 21 - }, - "end": { - "line": 72, - "column": 29 - } + "line": 83, + "column": 29 }, - "object": { - "type": "Identifier", - "start": 1659, - "end": 1663, - "loc": { - "start": { - "line": 72, - "column": 21 - }, - "end": { - "line": 72, - "column": 25 - }, - "identifierName": "Math" - }, - "name": "Math" + "identifierName": "a" + }, + "name": "a" + }, + "property": { + "type": "Identifier", + "start": 1652, + "end": 1658, + "loc": { + "start": { + "line": 83, + "column": 30 }, - "property": { - "type": "Identifier", - "start": 1664, - "end": 1667, - "loc": { - "start": { - "line": 72, - "column": 26 - }, - "end": { - "line": 72, - "column": 29 - }, - "identifierName": "max" - }, - "name": "max" + "end": { + "line": 83, + "column": 36 }, - "computed": false + "identifierName": "length" }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1669, - "end": 1677, - "loc": { - "start": { - "line": 72, - "column": 31 - }, - "end": { - "line": 72, - "column": 39 - } - }, - "object": { - "type": "Identifier", - "start": 1669, - "end": 1670, - "loc": { - "start": { - "line": 72, - "column": 31 - }, - "end": { - "line": 72, - "column": 32 - }, - "identifierName": "a" - }, - "name": "a" - }, - "property": { - "type": "Identifier", - "start": 1671, - "end": 1677, - "loc": { - "start": { - "line": 72, - "column": 33 - }, - "end": { - "line": 72, - "column": 39 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - }, - { - "type": "MemberExpression", - "start": 1680, - "end": 1688, - "loc": { - "start": { - "line": 72, - "column": 42 - }, - "end": { - "line": 72, - "column": 50 - } - }, - "object": { - "type": "Identifier", - "start": 1680, - "end": 1681, - "loc": { - "start": { - "line": 72, - "column": 42 - }, - "end": { - "line": 72, - "column": 43 - }, - "identifierName": "b" - }, - "name": "b" - }, - "property": { - "type": "Identifier", - "start": 1682, - "end": 1688, - "loc": { - "start": { - "line": 72, - "column": 44 - }, - "end": { - "line": 72, - "column": 50 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - } - ] + "name": "length" }, - "operator": "+", - "right": { - "type": "NumericLiteral", - "start": 1693, - "end": 1694, + "computed": false + }, + { + "type": "MemberExpression", + "start": 1660, + "end": 1668, + "loc": { + "start": { + "line": 83, + "column": 38 + }, + "end": { + "line": 83, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 1660, + "end": 1661, "loc": { "start": { - "line": 72, - "column": 55 + "line": 83, + "column": 38 }, "end": { - "line": 72, - "column": 56 - } + "line": 83, + "column": 39 + }, + "identifierName": "b" }, - "extra": { - "rawValue": 1, - "raw": "1" + "name": "b" + }, + "property": { + "type": "Identifier", + "start": 1662, + "end": 1668, + "loc": { + "start": { + "line": 83, + "column": 40 + }, + "end": { + "line": 83, + "column": 46 + }, + "identifierName": "length" }, - "value": 1 - } + "name": "length" + }, + "computed": false } ] + }, + "operator": "+", + "right": { + "type": "NumericLiteral", + "start": 1672, + "end": 1673, + "loc": { + "start": { + "line": 83, + "column": 50 + }, + "end": { + "line": 83, + "column": 51 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 } } - ], - "kind": "const" + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 1679, + "end": 1734, + "loc": { + "start": { + "line": 85, + "column": 2 + }, + "end": { + "line": 85, + "column": 57 + } + }, + "expression": { + "type": "CallExpression", + "start": 1679, + "end": 1733, + "loc": { + "start": { + "line": 85, + "column": 2 + }, + "end": { + "line": 85, + "column": 56 + } + }, + "callee": { + "type": "Identifier", + "start": 1679, + "end": 1682, + "loc": { + "start": { + "line": 85, + "column": 2 + }, + "end": { + "line": 85, + "column": 5 + }, + "identifierName": "add" }, + "name": "add" + }, + "arguments": [ { - "type": "ExpressionStatement", - "start": 1703, - "end": 1770, + "type": "Identifier", + "start": 1683, + "end": 1684, "loc": { "start": { - "line": 74, - "column": 3 + "line": 85, + "column": 6 }, "end": { - "line": 74, - "column": 70 + "line": 85, + "column": 7 + }, + "identifierName": "r" + }, + "name": "r" + }, + { + "type": "Identifier", + "start": 1686, + "end": 1687, + "loc": { + "start": { + "line": 85, + "column": 9 + }, + "end": { + "line": 85, + "column": 10 + }, + "identifierName": "a" + }, + "name": "a" + }, + { + "type": "NumericLiteral", + "start": 1689, + "end": 1690, + "loc": { + "start": { + "line": 85, + "column": 12 + }, + "end": { + "line": 85, + "column": 13 } }, - "expression": { - "type": "CallExpression", - "start": 1703, - "end": 1768, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "MemberExpression", + "start": 1692, + "end": 1700, + "loc": { + "start": { + "line": 85, + "column": 15 + }, + "end": { + "line": 85, + "column": 23 + } + }, + "object": { + "type": "Identifier", + "start": 1692, + "end": 1693, "loc": { "start": { - "line": 74, - "column": 3 + "line": 85, + "column": 15 }, "end": { - "line": 74, - "column": 68 - } - }, - "callee": { - "type": "Identifier", - "start": 1703, - "end": 1706, - "loc": { - "start": { - "line": 74, - "column": 3 - }, - "end": { - "line": 74, - "column": 6 - }, - "identifierName": "add" + "line": 85, + "column": 16 }, - "name": "add" + "identifierName": "a" }, - "arguments": [ - { - "type": "Identifier", - "start": 1708, - "end": 1709, - "loc": { - "start": { - "line": 74, - "column": 8 - }, - "end": { - "line": 74, - "column": 9 - }, - "identifierName": "r" - }, - "name": "r" - }, - { - "type": "Identifier", - "start": 1712, - "end": 1713, - "loc": { - "start": { - "line": 74, - "column": 12 - }, - "end": { - "line": 74, - "column": 13 - }, - "identifierName": "a" - }, - "name": "a" - }, - { - "type": "NumericLiteral", - "start": 1716, - "end": 1717, - "loc": { - "start": { - "line": 74, - "column": 16 - }, - "end": { - "line": 74, - "column": 17 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - { - "type": "MemberExpression", - "start": 1720, - "end": 1728, - "loc": { - "start": { - "line": 74, - "column": 20 - }, - "end": { - "line": 74, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 1720, - "end": 1721, - "loc": { - "start": { - "line": 74, - "column": 20 - }, - "end": { - "line": 74, - "column": 21 - }, - "identifierName": "a" - }, - "name": "a" - }, - "property": { - "type": "Identifier", - "start": 1722, - "end": 1728, - "loc": { - "start": { - "line": 74, - "column": 22 - }, - "end": { - "line": 74, - "column": 28 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false + "name": "a" + }, + "property": { + "type": "Identifier", + "start": 1694, + "end": 1700, + "loc": { + "start": { + "line": 85, + "column": 17 }, - { - "type": "Identifier", - "start": 1731, - "end": 1732, - "loc": { - "start": { - "line": 74, - "column": 31 - }, - "end": { - "line": 74, - "column": 32 - }, - "identifierName": "b" - }, - "name": "b" + "end": { + "line": 85, + "column": 23 }, - { - "type": "NumericLiteral", - "start": 1735, - "end": 1736, - "loc": { - "start": { - "line": 74, - "column": 35 - }, - "end": { - "line": 74, - "column": 36 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 1702, + "end": 1703, + "loc": { + "start": { + "line": 85, + "column": 25 + }, + "end": { + "line": 85, + "column": 26 + }, + "identifierName": "b" + }, + "name": "b" + }, + { + "type": "NumericLiteral", + "start": 1705, + "end": 1706, + "loc": { + "start": { + "line": 85, + "column": 28 + }, + "end": { + "line": 85, + "column": 29 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "MemberExpression", + "start": 1708, + "end": 1716, + "loc": { + "start": { + "line": 85, + "column": 31 + }, + "end": { + "line": 85, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 1708, + "end": 1709, + "loc": { + "start": { + "line": 85, + "column": 31 }, - { - "type": "MemberExpression", - "start": 1739, - "end": 1747, - "loc": { - "start": { - "line": 74, - "column": 39 - }, - "end": { - "line": 74, - "column": 47 - } - }, - "object": { - "type": "Identifier", - "start": 1739, - "end": 1740, - "loc": { - "start": { - "line": 74, - "column": 39 - }, - "end": { - "line": 74, - "column": 40 - }, - "identifierName": "b" - }, - "name": "b" - }, - "property": { - "type": "Identifier", - "start": 1741, - "end": 1747, - "loc": { - "start": { - "line": 74, - "column": 41 - }, - "end": { - "line": 74, - "column": 47 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false + "end": { + "line": 85, + "column": 32 }, - { - "type": "Identifier", - "start": 1750, - "end": 1751, - "loc": { - "start": { - "line": 74, - "column": 50 - }, - "end": { - "line": 74, - "column": 51 - }, - "identifierName": "c" - }, - "name": "c" + "identifierName": "b" + }, + "name": "b" + }, + "property": { + "type": "Identifier", + "start": 1710, + "end": 1716, + "loc": { + "start": { + "line": 85, + "column": 33 }, - { - "type": "NumericLiteral", - "start": 1754, - "end": 1755, - "loc": { - "start": { - "line": 74, - "column": 54 - }, - "end": { - "line": 74, - "column": 55 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 + "end": { + "line": 85, + "column": 39 }, - { - "type": "MemberExpression", - "start": 1758, - "end": 1766, - "loc": { - "start": { - "line": 74, - "column": 58 - }, - "end": { - "line": 74, - "column": 66 - } - }, - "object": { - "type": "Identifier", - "start": 1758, - "end": 1759, - "loc": { - "start": { - "line": 74, - "column": 58 - }, - "end": { - "line": 74, - "column": 59 - }, - "identifierName": "c" - }, - "name": "c" - }, - "property": { - "type": "Identifier", - "start": 1760, - "end": 1766, - "loc": { - "start": { - "line": 74, - "column": 60 - }, - "end": { - "line": 74, - "column": 66 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - } - ] - } + "identifierName": "length" + }, + "name": "length" + }, + "computed": false }, { - "type": "ReturnStatement", - "start": 1775, - "end": 1825, + "type": "Identifier", + "start": 1718, + "end": 1719, "loc": { "start": { - "line": 76, - "column": 3 + "line": 85, + "column": 41 }, "end": { - "line": 76, - "column": 53 + "line": 85, + "column": 42 + }, + "identifierName": "c" + }, + "name": "c" + }, + { + "type": "NumericLiteral", + "start": 1721, + "end": 1722, + "loc": { + "start": { + "line": 85, + "column": 44 + }, + "end": { + "line": 85, + "column": 45 } }, - "argument": { - "type": "NewExpression", - "start": 1782, - "end": 1823, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "MemberExpression", + "start": 1724, + "end": 1732, + "loc": { + "start": { + "line": 85, + "column": 47 + }, + "end": { + "line": 85, + "column": 55 + } + }, + "object": { + "type": "Identifier", + "start": 1724, + "end": 1725, "loc": { "start": { - "line": 76, - "column": 10 + "line": 85, + "column": 47 }, "end": { - "line": 76, - "column": 51 - } - }, - "callee": { - "type": "Identifier", - "start": 1786, - "end": 1793, - "loc": { - "start": { - "line": 76, - "column": 14 - }, - "end": { - "line": 76, - "column": 21 - }, - "identifierName": "Integer" + "line": 85, + "column": 48 }, - "name": "Integer" + "identifierName": "c" }, - "arguments": [ - { - "type": "Identifier", - "start": 1795, - "end": 1796, - "loc": { - "start": { - "line": 76, - "column": 23 - }, - "end": { - "line": 76, - "column": 24 - }, - "identifierName": "r" - }, - "name": "r" + "name": "c" + }, + "property": { + "type": "Identifier", + "start": 1726, + "end": 1732, + "loc": { + "start": { + "line": 85, + "column": 49 }, - { - "type": "Identifier", - "start": 1799, - "end": 1817, - "loc": { - "start": { - "line": 76, - "column": 27 - }, - "end": { - "line": 76, - "column": 45 - }, - "identifierName": "result_is_negative" - }, - "name": "result_is_negative" + "end": { + "line": 85, + "column": 55 }, - { - "type": "Identifier", - "start": 1820, - "end": 1821, - "loc": { - "start": { - "line": 76, - "column": 48 - }, - "end": { - "line": 76, - "column": 49 - }, - "identifierName": "c" - }, - "name": "c" - } - ] - } + "identifierName": "length" + }, + "name": "length" + }, + "computed": false } - ], - "directives": [] + ] + } + }, + { + "type": "ReturnStatement", + "start": 1738, + "end": 1783, + "loc": { + "start": { + "line": 87, + "column": 2 + }, + "end": { + "line": 87, + "column": 47 + } + }, + "argument": { + "type": "NewExpression", + "start": 1745, + "end": 1782, + "loc": { + "start": { + "line": 87, + "column": 9 + }, + "end": { + "line": 87, + "column": 46 + } + }, + "callee": { + "type": "Identifier", + "start": 1749, + "end": 1756, + "loc": { + "start": { + "line": 87, + "column": 13 + }, + "end": { + "line": 87, + "column": 20 + }, + "identifierName": "Integer" + }, + "name": "Integer" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1757, + "end": 1758, + "loc": { + "start": { + "line": 87, + "column": 21 + }, + "end": { + "line": 87, + "column": 22 + }, + "identifierName": "r" + }, + "name": "r" + }, + { + "type": "Identifier", + "start": 1760, + "end": 1778, + "loc": { + "start": { + "line": 87, + "column": 24 + }, + "end": { + "line": 87, + "column": 42 + }, + "identifierName": "result_is_negative" + }, + "name": "result_is_negative" + }, + { + "type": "Identifier", + "start": 1780, + "end": 1781, + "loc": { + "start": { + "line": 87, + "column": 44 + }, + "end": { + "line": 87, + "column": 45 + }, + "identifierName": "c" + }, + "name": "c" + } + ] } } ], @@ -5526,15 +5517,15 @@ }, { "type": "ClassMethod", - "start": 1837, - "end": 1945, + "start": 1789, + "end": 1894, "loc": { "start": { - "line": 82, + "line": 90, "column": 1 }, "end": { - "line": 85, + "line": 93, "column": 2 } }, @@ -5542,15 +5533,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1837, - "end": 1841, + "start": 1789, + "end": 1793, "loc": { "start": { - "line": 82, + "line": 90, "column": 1 }, "end": { - "line": 82, + "line": 90, "column": 5 }, "identifierName": "iadd" @@ -5565,16 +5556,16 @@ "params": [ { "type": "Identifier", - "start": 1844, - "end": 1849, + "start": 1794, + "end": 1799, "loc": { "start": { - "line": 82, - "column": 8 + "line": 90, + "column": 6 }, "end": { - "line": 82, - "column": 13 + "line": 90, + "column": 11 }, "identifierName": "other" }, @@ -5583,100 +5574,100 @@ ], "body": { "type": "BlockStatement", - "start": 1852, - "end": 1945, + "start": 1801, + "end": 1894, "loc": { "start": { - "line": 82, - "column": 16 + "line": 90, + "column": 13 }, "end": { - "line": 85, + "line": 93, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 1908, - "end": 1942, + "start": 1857, + "end": 1891, "loc": { "start": { - "line": 84, + "line": 92, "column": 2 }, "end": { - "line": 84, + "line": 92, "column": 36 } }, "argument": { "type": "CallExpression", - "start": 1915, - "end": 1941, + "start": 1864, + "end": 1890, "loc": { "start": { - "line": 84, + "line": 92, "column": 9 }, "end": { - "line": 84, + "line": 92, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 1915, - "end": 1935, + "start": 1864, + "end": 1884, "loc": { "start": { - "line": 84, + "line": 92, "column": 9 }, "end": { - "line": 84, + "line": 92, "column": 29 } }, "object": { "type": "CallExpression", - "start": 1915, - "end": 1930, + "start": 1864, + "end": 1879, "loc": { "start": { - "line": 84, + "line": 92, "column": 9 }, "end": { - "line": 84, + "line": 92, "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 1915, - "end": 1923, + "start": 1864, + "end": 1872, "loc": { "start": { - "line": 84, + "line": 92, "column": 9 }, "end": { - "line": 84, + "line": 92, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 1915, - "end": 1919, + "start": 1864, + "end": 1868, "loc": { "start": { - "line": 84, + "line": 92, "column": 9 }, "end": { - "line": 84, + "line": 92, "column": 13 } }, @@ -5684,15 +5675,15 @@ }, "property": { "type": "Identifier", - "start": 1920, - "end": 1923, + "start": 1869, + "end": 1872, "loc": { "start": { - "line": 84, + "line": 92, "column": 14 }, "end": { - "line": 84, + "line": 92, "column": 17 }, "identifierName": "add" @@ -5705,15 +5696,15 @@ "arguments": [ { "type": "Identifier", - "start": 1924, - "end": 1929, + "start": 1873, + "end": 1878, "loc": { "start": { - "line": 84, + "line": 92, "column": 18 }, "end": { - "line": 84, + "line": 92, "column": 23 }, "identifierName": "other" @@ -5725,15 +5716,15 @@ }, "property": { "type": "Identifier", - "start": 1931, - "end": 1935, + "start": 1880, + "end": 1884, "loc": { "start": { - "line": 84, + "line": 92, "column": 25 }, "end": { - "line": 84, + "line": 92, "column": 29 }, "identifierName": "move" @@ -5746,15 +5737,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 1936, - "end": 1940, + "start": 1885, + "end": 1889, "loc": { "start": { - "line": 84, + "line": 92, "column": 30 }, "end": { - "line": 84, + "line": 92, "column": 34 } } @@ -5766,15 +5757,15 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 1856, - "end": 1905, + "start": 1805, + "end": 1854, "loc": { "start": { - "line": 83, + "line": 91, "column": 2 }, "end": { - "line": 83, + "line": 91, "column": 51 } } @@ -5787,15 +5778,15 @@ }, { "type": "ClassMethod", - "start": 1948, - "end": 2029, + "start": 1897, + "end": 1974, "loc": { "start": { - "line": 87, + "line": 95, "column": 1 }, "end": { - "line": 90, + "line": 98, "column": 2 } }, @@ -5803,15 +5794,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1948, - "end": 1952, + "start": 1897, + "end": 1901, "loc": { "start": { - "line": 87, + "line": 95, "column": 1 }, "end": { - "line": 87, + "line": 95, "column": 5 }, "identifierName": "addn" @@ -5826,16 +5817,16 @@ "params": [ { "type": "Identifier", - "start": 1955, - "end": 1961, + "start": 1902, + "end": 1908, "loc": { "start": { - "line": 87, - "column": 8 + "line": 95, + "column": 6 }, "end": { - "line": 87, - "column": 14 + "line": 95, + "column": 12 }, "identifierName": "number" }, @@ -5844,72 +5835,72 @@ ], "body": { "type": "BlockStatement", - "start": 1964, - "end": 2029, + "start": 1910, + "end": 1974, "loc": { "start": { - "line": 87, - "column": 17 + "line": 95, + "column": 14 }, "end": { - "line": 90, + "line": 98, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 1987, - "end": 2026, + "start": 1933, + "end": 1971, "loc": { "start": { - "line": 89, + "line": 97, "column": 2 }, "end": { - "line": 89, - "column": 41 + "line": 97, + "column": 40 } }, "argument": { "type": "CallExpression", - "start": 1994, - "end": 2024, + "start": 1940, + "end": 1970, "loc": { "start": { - "line": 89, + "line": 97, "column": 9 }, "end": { - "line": 89, + "line": 97, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 1994, - "end": 2002, + "start": 1940, + "end": 1948, "loc": { "start": { - "line": 89, + "line": 97, "column": 9 }, "end": { - "line": 89, + "line": 97, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 1994, - "end": 1998, + "start": 1940, + "end": 1944, "loc": { "start": { - "line": 89, + "line": 97, "column": 9 }, "end": { - "line": 89, + "line": 97, "column": 13 } }, @@ -5917,15 +5908,15 @@ }, "property": { "type": "Identifier", - "start": 1999, - "end": 2002, + "start": 1945, + "end": 1948, "loc": { "start": { - "line": 89, + "line": 97, "column": 14 }, "end": { - "line": 89, + "line": 97, "column": 17 }, "identifierName": "add" @@ -5938,29 +5929,29 @@ "arguments": [ { "type": "CallExpression", - "start": 2003, - "end": 2023, + "start": 1949, + "end": 1969, "loc": { "start": { - "line": 89, + "line": 97, "column": 18 }, "end": { - "line": 89, + "line": 97, "column": 38 } }, "callee": { "type": "Identifier", - "start": 2003, - "end": 2015, + "start": 1949, + "end": 1961, "loc": { "start": { - "line": 89, + "line": 97, "column": 18 }, "end": { - "line": 89, + "line": 97, "column": 30 }, "identifierName": "_from_number" @@ -5970,15 +5961,15 @@ "arguments": [ { "type": "Identifier", - "start": 2016, - "end": 2022, + "start": 1962, + "end": 1968, "loc": { "start": { - "line": 89, + "line": 97, "column": 31 }, "end": { - "line": 89, + "line": 97, "column": 37 }, "identifierName": "number" @@ -5994,15 +5985,15 @@ { "type": "CommentLine", "value": " TODO optimize", - "start": 1968, - "end": 1984, + "start": 1914, + "end": 1930, "loc": { "start": { - "line": 88, + "line": 96, "column": 2 }, "end": { - "line": 88, + "line": 96, "column": 18 } } @@ -6015,15 +6006,15 @@ }, { "type": "ClassMethod", - "start": 2032, - "end": 2144, + "start": 1977, + "end": 2086, "loc": { "start": { - "line": 92, + "line": 100, "column": 1 }, "end": { - "line": 95, + "line": 103, "column": 2 } }, @@ -6031,15 +6022,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2032, - "end": 2037, + "start": 1977, + "end": 1982, "loc": { "start": { - "line": 92, + "line": 100, "column": 1 }, "end": { - "line": 92, + "line": 100, "column": 6 }, "identifierName": "iaddn" @@ -6054,16 +6045,16 @@ "params": [ { "type": "Identifier", - "start": 2040, - "end": 2046, + "start": 1983, + "end": 1989, "loc": { "start": { - "line": 92, - "column": 9 + "line": 100, + "column": 7 }, "end": { - "line": 92, - "column": 15 + "line": 100, + "column": 13 }, "identifierName": "number" }, @@ -6072,100 +6063,100 @@ ], "body": { "type": "BlockStatement", - "start": 2049, - "end": 2144, + "start": 1991, + "end": 2086, "loc": { "start": { - "line": 92, - "column": 18 + "line": 100, + "column": 15 }, "end": { - "line": 95, + "line": 103, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 2105, - "end": 2141, + "start": 2047, + "end": 2083, "loc": { "start": { - "line": 94, + "line": 102, "column": 2 }, "end": { - "line": 94, + "line": 102, "column": 38 } }, "argument": { "type": "CallExpression", - "start": 2112, - "end": 2140, + "start": 2054, + "end": 2082, "loc": { "start": { - "line": 94, + "line": 102, "column": 9 }, "end": { - "line": 94, + "line": 102, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 2112, - "end": 2134, + "start": 2054, + "end": 2076, "loc": { "start": { - "line": 94, + "line": 102, "column": 9 }, "end": { - "line": 94, + "line": 102, "column": 31 } }, "object": { "type": "CallExpression", - "start": 2112, - "end": 2129, + "start": 2054, + "end": 2071, "loc": { "start": { - "line": 94, + "line": 102, "column": 9 }, "end": { - "line": 94, + "line": 102, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 2112, - "end": 2121, + "start": 2054, + "end": 2063, "loc": { "start": { - "line": 94, + "line": 102, "column": 9 }, "end": { - "line": 94, + "line": 102, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 2112, - "end": 2116, + "start": 2054, + "end": 2058, "loc": { "start": { - "line": 94, + "line": 102, "column": 9 }, "end": { - "line": 94, + "line": 102, "column": 13 } }, @@ -6173,15 +6164,15 @@ }, "property": { "type": "Identifier", - "start": 2117, - "end": 2121, + "start": 2059, + "end": 2063, "loc": { "start": { - "line": 94, + "line": 102, "column": 14 }, "end": { - "line": 94, + "line": 102, "column": 18 }, "identifierName": "addn" @@ -6194,15 +6185,15 @@ "arguments": [ { "type": "Identifier", - "start": 2122, - "end": 2128, + "start": 2064, + "end": 2070, "loc": { "start": { - "line": 94, + "line": 102, "column": 19 }, "end": { - "line": 94, + "line": 102, "column": 25 }, "identifierName": "number" @@ -6214,15 +6205,15 @@ }, "property": { "type": "Identifier", - "start": 2130, - "end": 2134, + "start": 2072, + "end": 2076, "loc": { "start": { - "line": 94, + "line": 102, "column": 27 }, "end": { - "line": 94, + "line": 102, "column": 31 }, "identifierName": "move" @@ -6235,15 +6226,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 2135, - "end": 2139, + "start": 2077, + "end": 2081, "loc": { "start": { - "line": 94, + "line": 102, "column": 32 }, "end": { - "line": 94, + "line": 102, "column": 36 } } @@ -6255,15 +6246,15 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 2053, - "end": 2102, + "start": 1995, + "end": 2044, "loc": { "start": { - "line": 93, + "line": 101, "column": 2 }, "end": { - "line": 93, + "line": 101, "column": 51 } } @@ -6276,15 +6267,15 @@ }, { "type": "ClassMethod", - "start": 2147, - "end": 3103, + "start": 2089, + "end": 2898, "loc": { "start": { - "line": 97, + "line": 105, "column": 1 }, "end": { - "line": 145, + "line": 139, "column": 2 } }, @@ -6292,15 +6283,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2147, - "end": 2150, + "start": 2089, + "end": 2092, "loc": { "start": { - "line": 97, + "line": 105, "column": 1 }, "end": { - "line": 97, + "line": 105, "column": 4 }, "identifierName": "sub" @@ -6315,16 +6306,16 @@ "params": [ { "type": "Identifier", - "start": 2153, - "end": 2158, + "start": 2093, + "end": 2098, "loc": { "start": { - "line": 97, - "column": 7 + "line": 105, + "column": 5 }, "end": { - "line": 97, - "column": 12 + "line": 105, + "column": 10 }, "identifierName": "other" }, @@ -6333,121 +6324,121 @@ ], "body": { "type": "BlockStatement", - "start": 2161, - "end": 3103, + "start": 2100, + "end": 2898, "loc": { "start": { - "line": 97, - "column": 15 + "line": 105, + "column": 12 }, "end": { - "line": 145, + "line": 139, "column": 2 } }, "body": [ { "type": "IfStatement", - "start": 2166, - "end": 3099, + "start": 2104, + "end": 2262, "loc": { "start": { - "line": 99, + "line": 106, "column": 2 }, "end": { - "line": 143, + "line": 110, "column": 3 } }, "test": { "type": "BinaryExpression", - "start": 2171, - "end": 2209, + "start": 2108, + "end": 2148, "loc": { "start": { - "line": 99, - "column": 7 + "line": 106, + "column": 6 }, "end": { - "line": 99, - "column": 45 + "line": 106, + "column": 46 } }, "left": { "type": "MemberExpression", - "start": 2171, - "end": 2187, + "start": 2108, + "end": 2125, "loc": { "start": { - "line": 99, - "column": 7 + "line": 106, + "column": 6 }, "end": { - "line": 99, + "line": 106, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 2171, - "end": 2175, + "start": 2108, + "end": 2112, "loc": { "start": { - "line": 99, - "column": 7 + "line": 106, + "column": 6 }, "end": { - "line": 99, - "column": 11 + "line": 106, + "column": 10 } } }, "property": { "type": "Identifier", - "start": 2176, - "end": 2187, + "start": 2113, + "end": 2125, "loc": { "start": { - "line": 99, - "column": 12 + "line": 106, + "column": 11 }, "end": { - "line": 99, + "line": 106, "column": 23 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false }, "operator": "!==", "right": { "type": "MemberExpression", - "start": 2192, - "end": 2209, + "start": 2130, + "end": 2148, "loc": { "start": { - "line": 99, + "line": 106, "column": 28 }, "end": { - "line": 99, - "column": 45 + "line": 106, + "column": 46 } }, "object": { "type": "Identifier", - "start": 2192, - "end": 2197, + "start": 2130, + "end": 2135, "loc": { "start": { - "line": 99, + "line": 106, "column": 28 }, "end": { - "line": 99, + "line": 106, "column": 33 }, "identifierName": "other" @@ -6456,172 +6447,172 @@ }, "property": { "type": "Identifier", - "start": 2198, - "end": 2209, + "start": 2136, + "end": 2148, "loc": { "start": { - "line": 99, + "line": 106, "column": 34 }, "end": { - "line": 99, - "column": 45 + "line": 106, + "column": 46 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false } }, "consequent": { "type": "BlockStatement", - "start": 2212, - "end": 2343, + "start": 2150, + "end": 2262, "loc": { "start": { - "line": 99, + "line": 106, "column": 48 }, "end": { - "line": 105, + "line": 110, "column": 3 } }, "body": [ { - "type": "IfStatement", - "start": 2218, - "end": 2338, + "type": "ReturnStatement", + "start": 2155, + "end": 2258, "loc": { "start": { - "line": 101, + "line": 107, "column": 3 }, "end": { - "line": 103, - "column": 56 + "line": 109, + "column": 44 } }, - "test": { - "type": "MemberExpression", - "start": 2223, - "end": 2240, + "argument": { + "type": "ConditionalExpression", + "start": 2162, + "end": 2257, "loc": { "start": { - "line": 101, - "column": 8 + "line": 107, + "column": 10 }, "end": { - "line": 101, - "column": 25 + "line": 109, + "column": 43 } }, - "object": { - "type": "Identifier", - "start": 2223, - "end": 2228, + "test": { + "type": "MemberExpression", + "start": 2162, + "end": 2180, "loc": { "start": { - "line": 101, - "column": 8 + "line": 107, + "column": 10 }, "end": { - "line": 101, - "column": 13 - }, - "identifierName": "other" + "line": 107, + "column": 28 + } }, - "name": "other" - }, - "property": { - "type": "Identifier", - "start": 2229, - "end": 2240, - "loc": { - "start": { - "line": 101, - "column": 14 - }, - "end": { - "line": 101, - "column": 25 + "object": { + "type": "Identifier", + "start": 2162, + "end": 2167, + "loc": { + "start": { + "line": 107, + "column": 10 + }, + "end": { + "line": 107, + "column": 15 + }, + "identifierName": "other" }, - "identifierName": "is_negative" + "name": "other" }, - "name": "is_negative" - }, - "computed": false - }, - "consequent": { - "type": "ReturnStatement", - "start": 2243, - "end": 2280, - "loc": { - "start": { - "line": 101, - "column": 28 + "property": { + "type": "Identifier", + "start": 2168, + "end": 2180, + "loc": { + "start": { + "line": 107, + "column": 16 + }, + "end": { + "line": 107, + "column": 28 + }, + "identifierName": "_is_negative" + }, + "name": "_is_negative" }, - "end": { - "line": 101, - "column": 65 - } + "computed": false }, - "argument": { + "consequent": { "type": "CallExpression", - "start": 2250, - "end": 2278, + "start": 2187, + "end": 2213, "loc": { "start": { - "line": 101, - "column": 35 + "line": 108, + "column": 6 }, "end": { - "line": 101, - "column": 63 + "line": 108, + "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 2250, - "end": 2258, + "start": 2187, + "end": 2195, "loc": { "start": { - "line": 101, - "column": 35 + "line": 108, + "column": 6 }, "end": { - "line": 101, - "column": 43 + "line": 108, + "column": 14 } }, "object": { "type": "ThisExpression", - "start": 2250, - "end": 2254, + "start": 2187, + "end": 2191, "loc": { "start": { - "line": 101, - "column": 35 + "line": 108, + "column": 6 }, "end": { - "line": 101, - "column": 39 + "line": 108, + "column": 10 } } }, "property": { "type": "Identifier", - "start": 2255, - "end": 2258, + "start": 2192, + "end": 2195, "loc": { "start": { - "line": 101, - "column": 40 + "line": 108, + "column": 11 }, "end": { - "line": 101, - "column": 43 + "line": 108, + "column": 14 }, "identifierName": "add" }, @@ -6632,44 +6623,44 @@ "arguments": [ { "type": "CallExpression", - "start": 2260, - "end": 2276, + "start": 2196, + "end": 2212, "loc": { "start": { - "line": 101, - "column": 45 + "line": 108, + "column": 15 }, "end": { - "line": 101, - "column": 61 + "line": 108, + "column": 31 } }, "callee": { "type": "MemberExpression", - "start": 2260, - "end": 2274, + "start": 2196, + "end": 2210, "loc": { "start": { - "line": 101, - "column": 45 + "line": 108, + "column": 15 }, "end": { - "line": 101, - "column": 59 + "line": 108, + "column": 29 } }, "object": { "type": "Identifier", - "start": 2260, - "end": 2265, + "start": 2196, + "end": 2201, "loc": { "start": { - "line": 101, - "column": 45 + "line": 108, + "column": 15 }, "end": { - "line": 101, - "column": 50 + "line": 108, + "column": 20 }, "identifierName": "other" }, @@ -6677,16 +6668,16 @@ }, "property": { "type": "Identifier", - "start": 2266, - "end": 2274, + "start": 2202, + "end": 2210, "loc": { "start": { - "line": 101, - "column": 51 + "line": 108, + "column": 21 }, "end": { - "line": 101, - "column": 59 + "line": 108, + "column": 29 }, "identifierName": "opposite" }, @@ -6697,133 +6688,118 @@ "arguments": [] } ] - } - }, - "alternate": { - "type": "ReturnStatement", - "start": 2290, - "end": 2338, - "loc": { - "start": { - "line": 103, - "column": 8 - }, - "end": { - "line": 103, - "column": 56 - } }, - "argument": { + "alternate": { "type": "CallExpression", - "start": 2297, - "end": 2336, + "start": 2220, + "end": 2257, "loc": { "start": { - "line": 103, - "column": 15 + "line": 109, + "column": 6 }, "end": { - "line": 103, - "column": 54 + "line": 109, + "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 2297, - "end": 2334, + "start": 2220, + "end": 2255, "loc": { "start": { - "line": 103, - "column": 15 + "line": 109, + "column": 6 }, "end": { - "line": 103, - "column": 52 + "line": 109, + "column": 41 } }, "object": { "type": "CallExpression", - "start": 2297, - "end": 2325, + "start": 2220, + "end": 2246, "loc": { "start": { - "line": 103, - "column": 15 + "line": 109, + "column": 6 }, "end": { - "line": 103, - "column": 43 + "line": 109, + "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 2297, - "end": 2316, + "start": 2220, + "end": 2239, "loc": { "start": { - "line": 103, - "column": 15 + "line": 109, + "column": 6 }, "end": { - "line": 103, - "column": 34 + "line": 109, + "column": 25 } }, "object": { "type": "CallExpression", - "start": 2297, - "end": 2312, + "start": 2220, + "end": 2235, "loc": { "start": { - "line": 103, - "column": 15 + "line": 109, + "column": 6 }, "end": { - "line": 103, - "column": 30 + "line": 109, + "column": 21 } }, "callee": { "type": "MemberExpression", - "start": 2297, - "end": 2310, + "start": 2220, + "end": 2233, "loc": { "start": { - "line": 103, - "column": 15 + "line": 109, + "column": 6 }, "end": { - "line": 103, - "column": 28 + "line": 109, + "column": 19 } }, "object": { "type": "ThisExpression", - "start": 2297, - "end": 2301, + "start": 2220, + "end": 2224, "loc": { "start": { - "line": 103, - "column": 15 + "line": 109, + "column": 6 }, "end": { - "line": 103, - "column": 19 + "line": 109, + "column": 10 } } }, "property": { "type": "Identifier", - "start": 2302, - "end": 2310, + "start": 2225, + "end": 2233, "loc": { "start": { - "line": 103, - "column": 20 + "line": 109, + "column": 11 }, "end": { - "line": 103, - "column": 28 + "line": 109, + "column": 19 }, "identifierName": "opposite" }, @@ -6835,16 +6811,16 @@ }, "property": { "type": "Identifier", - "start": 2313, - "end": 2316, + "start": 2236, + "end": 2239, "loc": { "start": { - "line": 103, - "column": 31 + "line": 109, + "column": 22 }, "end": { - "line": 103, - "column": 34 + "line": 109, + "column": 25 }, "identifierName": "add" }, @@ -6855,16 +6831,16 @@ "arguments": [ { "type": "Identifier", - "start": 2318, - "end": 2323, + "start": 2240, + "end": 2245, "loc": { "start": { - "line": 103, - "column": 36 + "line": 109, + "column": 26 }, "end": { - "line": 103, - "column": 41 + "line": 109, + "column": 31 }, "identifierName": "other" }, @@ -6874,16 +6850,16 @@ }, "property": { "type": "Identifier", - "start": 2326, - "end": 2334, + "start": 2247, + "end": 2255, "loc": { "start": { - "line": 103, - "column": 44 + "line": 109, + "column": 33 }, "end": { - "line": 103, - "column": 52 + "line": 109, + "column": 41 }, "identifierName": "opposite" }, @@ -6896,2426 +6872,2411 @@ } } ], - "directives": [] + "directives": [], + "trailingComments": null }, - "alternate": { - "type": "BlockStatement", - "start": 2352, - "end": 3099, - "loc": { - "start": { - "line": 107, - "column": 7 - }, - "end": { - "line": 143, - "column": 3 + "alternate": null, + "trailingComments": [ + { + "type": "CommentLine", + "value": " /!\\ _sub needs |c| >= |a| >= |b|", + "start": 2265, + "end": 2300, + "loc": { + "start": { + "line": 111, + "column": 2 + }, + "end": { + "line": 111, + "column": 37 + } } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 2304, + "end": 2325, + "loc": { + "start": { + "line": 113, + "column": 2 }, - "body": [ - { - "type": "VariableDeclaration", - "start": 2398, - "end": 2419, + "end": { + "line": 113, + "column": 23 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2310, + "end": 2324, + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 113, + "column": 22 + } + }, + "id": { + "type": "Identifier", + "start": 2310, + "end": 2311, "loc": { "start": { - "line": 111, - "column": 3 + "line": 113, + "column": 8 }, "end": { - "line": 111, - "column": 24 + "line": 113, + "column": 9 + }, + "identifierName": "r" + }, + "name": "r", + "leadingComments": null + }, + "init": { + "type": "MemberExpression", + "start": 2314, + "end": 2324, + "loc": { + "start": { + "line": 113, + "column": 12 + }, + "end": { + "line": 113, + "column": 22 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2404, - "end": 2417, - "loc": { - "start": { - "line": 111, - "column": 9 - }, - "end": { - "line": 111, - "column": 22 - } - }, - "id": { - "type": "Identifier", - "start": 2404, - "end": 2405, - "loc": { - "start": { - "line": 111, - "column": 9 - }, - "end": { - "line": 111, - "column": 10 - }, - "identifierName": "r" - }, - "name": "r", - "leadingComments": null - }, - "init": { - "type": "MemberExpression", - "start": 2408, - "end": 2417, - "loc": { - "start": { - "line": 111, - "column": 13 - }, - "end": { - "line": 111, - "column": 22 - } - }, - "object": { - "type": "ThisExpression", - "start": 2408, - "end": 2412, - "loc": { - "start": { - "line": 111, - "column": 13 - }, - "end": { - "line": 111, - "column": 17 - } - } - }, - "property": { - "type": "Identifier", - "start": 2413, - "end": 2417, - "loc": { - "start": { - "line": 111, - "column": 18 - }, - "end": { - "line": 111, - "column": 22 - }, - "identifierName": "base" - }, - "name": "base" - }, - "computed": false + "object": { + "type": "ThisExpression", + "start": 2314, + "end": 2318, + "loc": { + "start": { + "line": 113, + "column": 12 }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentLine", - "value": " /!\\ _sub needs |c| >= |a| >= |b|", - "start": 2358, - "end": 2393, - "loc": { - "start": { - "line": 109, - "column": 3 - }, - "end": { - "line": 109, - "column": 38 - } + "end": { + "line": 113, + "column": 16 } } - ] + }, + "property": { + "type": "Identifier", + "start": 2319, + "end": 2324, + "loc": { + "start": { + "line": 113, + "column": 17 + }, + "end": { + "line": 113, + "column": 22 + }, + "identifierName": "_base" + }, + "name": "_base" + }, + "computed": false }, - { - "type": "VariableDeclaration", - "start": 2423, - "end": 2445, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentLine", + "value": " /!\\ _sub needs |c| >= |a| >= |b|", + "start": 2265, + "end": 2300, + "loc": { + "start": { + "line": 111, + "column": 2 + }, + "end": { + "line": 111, + "column": 37 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 2328, + "end": 2350, + "loc": { + "start": { + "line": 114, + "column": 2 + }, + "end": { + "line": 114, + "column": 24 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2334, + "end": 2349, + "loc": { + "start": { + "line": 114, + "column": 8 + }, + "end": { + "line": 114, + "column": 23 + } + }, + "id": { + "type": "Identifier", + "start": 2334, + "end": 2335, "loc": { "start": { - "line": 112, - "column": 3 + "line": 114, + "column": 8 }, "end": { - "line": 112, - "column": 25 + "line": 114, + "column": 9 + }, + "identifierName": "a" + }, + "name": "a" + }, + "init": { + "type": "MemberExpression", + "start": 2338, + "end": 2349, + "loc": { + "start": { + "line": 114, + "column": 12 + }, + "end": { + "line": 114, + "column": 23 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2429, - "end": 2443, - "loc": { - "start": { - "line": 112, - "column": 9 - }, - "end": { - "line": 112, - "column": 23 - } - }, - "id": { - "type": "Identifier", - "start": 2429, - "end": 2430, - "loc": { - "start": { - "line": 112, - "column": 9 - }, - "end": { - "line": 112, - "column": 10 - }, - "identifierName": "a" - }, - "name": "a" + "object": { + "type": "ThisExpression", + "start": 2338, + "end": 2342, + "loc": { + "start": { + "line": 114, + "column": 12 }, - "init": { - "type": "MemberExpression", - "start": 2433, - "end": 2443, - "loc": { - "start": { - "line": 112, - "column": 13 - }, - "end": { - "line": 112, - "column": 23 - } - }, - "object": { - "type": "ThisExpression", - "start": 2433, - "end": 2437, - "loc": { - "start": { - "line": 112, - "column": 13 - }, - "end": { - "line": 112, - "column": 17 - } - } - }, - "property": { - "type": "Identifier", - "start": 2438, - "end": 2443, - "loc": { - "start": { - "line": 112, - "column": 18 - }, - "end": { - "line": 112, - "column": 23 - }, - "identifierName": "limbs" - }, - "name": "limbs" - }, - "computed": false + "end": { + "line": 114, + "column": 16 } } - ], - "kind": "const" + }, + "property": { + "type": "Identifier", + "start": 2343, + "end": 2349, + "loc": { + "start": { + "line": 114, + "column": 17 + }, + "end": { + "line": 114, + "column": 23 + }, + "identifierName": "_limbs" + }, + "name": "_limbs" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2353, + "end": 2373, + "loc": { + "start": { + "line": 115, + "column": 2 + }, + "end": { + "line": 115, + "column": 22 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2359, + "end": 2372, + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 115, + "column": 21 + } }, - { - "type": "VariableDeclaration", - "start": 2449, - "end": 2470, + "id": { + "type": "Identifier", + "start": 2359, + "end": 2361, "loc": { "start": { - "line": 113, - "column": 3 + "line": 115, + "column": 8 }, "end": { - "line": 113, - "column": 24 + "line": 115, + "column": 10 + }, + "identifierName": "aj" + }, + "name": "aj" + }, + "init": { + "type": "MemberExpression", + "start": 2364, + "end": 2372, + "loc": { + "start": { + "line": 115, + "column": 13 + }, + "end": { + "line": 115, + "column": 21 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2455, - "end": 2468, - "loc": { - "start": { - "line": 113, - "column": 9 - }, - "end": { - "line": 113, - "column": 22 - } + "object": { + "type": "Identifier", + "start": 2364, + "end": 2365, + "loc": { + "start": { + "line": 115, + "column": 13 }, - "id": { - "type": "Identifier", - "start": 2455, - "end": 2457, - "loc": { - "start": { - "line": 113, - "column": 9 - }, - "end": { - "line": 113, - "column": 11 - }, - "identifierName": "aj" - }, - "name": "aj" + "end": { + "line": 115, + "column": 14 }, - "init": { - "type": "MemberExpression", - "start": 2460, - "end": 2468, - "loc": { - "start": { - "line": 113, - "column": 14 - }, - "end": { - "line": 113, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 2460, - "end": 2461, - "loc": { - "start": { - "line": 113, - "column": 14 - }, - "end": { - "line": 113, - "column": 15 - }, - "identifierName": "a" - }, - "name": "a" - }, - "property": { - "type": "Identifier", - "start": 2462, - "end": 2468, - "loc": { - "start": { - "line": 113, - "column": 16 - }, - "end": { - "line": 113, - "column": 22 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - } - } - ], - "kind": "const" + "identifierName": "a" + }, + "name": "a" + }, + "property": { + "type": "Identifier", + "start": 2366, + "end": 2372, + "loc": { + "start": { + "line": 115, + "column": 15 + }, + "end": { + "line": 115, + "column": 21 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2376, + "end": 2412, + "loc": { + "start": { + "line": 116, + "column": 2 + }, + "end": { + "line": 116, + "column": 38 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2382, + "end": 2411, + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 37 + } }, - { - "type": "VariableDeclaration", - "start": 2474, - "end": 2515, + "id": { + "type": "Identifier", + "start": 2382, + "end": 2384, "loc": { "start": { - "line": 114, - "column": 3 + "line": 116, + "column": 8 }, "end": { - "line": 114, - "column": 44 - } + "line": 116, + "column": 10 + }, + "identifierName": "ai" }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2480, - "end": 2513, - "loc": { - "start": { - "line": 114, - "column": 9 - }, - "end": { - "line": 114, - "column": 42 - } - }, - "id": { - "type": "Identifier", - "start": 2480, - "end": 2482, - "loc": { - "start": { - "line": 114, - "column": 9 - }, - "end": { - "line": 114, - "column": 11 - }, - "identifierName": "ai" - }, - "name": "ai" - }, - "init": { - "type": "CallExpression", - "start": 2485, - "end": 2513, - "loc": { - "start": { - "line": 114, - "column": 14 - }, - "end": { - "line": 114, - "column": 42 - } - }, - "callee": { - "type": "Identifier", - "start": 2485, - "end": 2499, - "loc": { - "start": { - "line": 114, - "column": 14 - }, - "end": { - "line": 114, - "column": 28 - }, - "identifierName": "_trim_positive" - }, - "name": "_trim_positive" - }, - "arguments": [ - { - "type": "Identifier", - "start": 2501, - "end": 2502, - "loc": { - "start": { - "line": 114, - "column": 30 - }, - "end": { - "line": 114, - "column": 31 - }, - "identifierName": "a" - }, - "name": "a" - }, - { - "type": "NumericLiteral", - "start": 2505, - "end": 2506, - "loc": { - "start": { - "line": 114, - "column": 34 - }, - "end": { - "line": 114, - "column": 35 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - { - "type": "Identifier", - "start": 2509, - "end": 2511, - "loc": { - "start": { - "line": 114, - "column": 38 - }, - "end": { - "line": 114, - "column": 40 - }, - "identifierName": "aj" - }, - "name": "aj" - } - ] - } - } - ], - "kind": "const" + "name": "ai" }, - { - "type": "IfStatement", - "start": 2520, - "end": 2561, + "init": { + "type": "CallExpression", + "start": 2387, + "end": 2411, "loc": { "start": { "line": 116, - "column": 3 + "column": 13 }, "end": { "line": 116, - "column": 44 + "column": 37 } }, - "test": { - "type": "BinaryExpression", - "start": 2525, - "end": 2533, + "callee": { + "type": "Identifier", + "start": 2387, + "end": 2401, "loc": { "start": { "line": 116, - "column": 8 + "column": 13 }, "end": { "line": 116, - "column": 16 - } + "column": 27 + }, + "identifierName": "_trim_positive" }, - "left": { + "name": "_trim_positive" + }, + "arguments": [ + { "type": "Identifier", - "start": 2525, - "end": 2527, + "start": 2402, + "end": 2403, "loc": { "start": { "line": 116, - "column": 8 + "column": 28 }, "end": { "line": 116, - "column": 10 + "column": 29 }, - "identifierName": "ai" + "identifierName": "a" }, - "name": "ai" + "name": "a" }, - "operator": ">=", - "right": { - "type": "Identifier", - "start": 2531, - "end": 2533, + { + "type": "NumericLiteral", + "start": 2405, + "end": 2406, "loc": { "start": { "line": 116, - "column": 14 + "column": 31 }, "end": { "line": 116, - "column": 16 - }, - "identifierName": "aj" + "column": 32 + } }, - "name": "aj" - } - }, - "consequent": { - "type": "ReturnStatement", - "start": 2536, - "end": 2561, - "loc": { - "start": { - "line": 116, - "column": 19 + "extra": { + "rawValue": 0, + "raw": "0" }, - "end": { - "line": 116, - "column": 44 - } + "value": 0 }, - "argument": { - "type": "CallExpression", - "start": 2543, - "end": 2559, + { + "type": "Identifier", + "start": 2408, + "end": 2410, "loc": { "start": { "line": 116, - "column": 26 + "column": 34 }, "end": { "line": 116, - "column": 42 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2543, - "end": 2557, - "loc": { - "start": { - "line": 116, - "column": 26 - }, - "end": { - "line": 116, - "column": 40 - } - }, - "object": { - "type": "Identifier", - "start": 2543, - "end": 2548, - "loc": { - "start": { - "line": 116, - "column": 26 - }, - "end": { - "line": 116, - "column": 31 - }, - "identifierName": "other" - }, - "name": "other" - }, - "property": { - "type": "Identifier", - "start": 2549, - "end": 2557, - "loc": { - "start": { - "line": 116, - "column": 32 - }, - "end": { - "line": 116, - "column": 40 - }, - "identifierName": "opposite" - }, - "name": "opposite" + "column": 36 }, - "computed": false + "identifierName": "aj" }, - "arguments": [] + "name": "aj" } + ] + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 2416, + "end": 2454, + "loc": { + "start": { + "line": 118, + "column": 2 + }, + "end": { + "line": 118, + "column": 40 + } + }, + "test": { + "type": "BinaryExpression", + "start": 2420, + "end": 2428, + "loc": { + "start": { + "line": 118, + "column": 6 + }, + "end": { + "line": 118, + "column": 14 + } + }, + "left": { + "type": "Identifier", + "start": 2420, + "end": 2422, + "loc": { + "start": { + "line": 118, + "column": 6 }, - "alternate": null + "end": { + "line": 118, + "column": 8 + }, + "identifierName": "ai" }, - { - "type": "VariableDeclaration", - "start": 2566, - "end": 2603, + "name": "ai" + }, + "operator": ">=", + "right": { + "type": "Identifier", + "start": 2426, + "end": 2428, + "loc": { + "start": { + "line": 118, + "column": 12 + }, + "end": { + "line": 118, + "column": 14 + }, + "identifierName": "aj" + }, + "name": "aj" + } + }, + "consequent": { + "type": "ReturnStatement", + "start": 2430, + "end": 2454, + "loc": { + "start": { + "line": 118, + "column": 16 + }, + "end": { + "line": 118, + "column": 40 + } + }, + "argument": { + "type": "CallExpression", + "start": 2437, + "end": 2453, + "loc": { + "start": { + "line": 118, + "column": 23 + }, + "end": { + "line": 118, + "column": 39 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2437, + "end": 2451, "loc": { "start": { "line": 118, - "column": 3 + "column": 23 }, "end": { "line": 118, - "column": 40 + "column": 37 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2572, - "end": 2601, - "loc": { - "start": { - "line": 118, - "column": 9 - }, - "end": { - "line": 118, - "column": 38 - } + "object": { + "type": "Identifier", + "start": 2437, + "end": 2442, + "loc": { + "start": { + "line": 118, + "column": 23 }, - "id": { - "type": "Identifier", - "start": 2572, - "end": 2573, - "loc": { - "start": { - "line": 118, - "column": 9 - }, - "end": { - "line": 118, - "column": 10 - }, - "identifierName": "b" - }, - "name": "b" + "end": { + "line": 118, + "column": 28 }, - "init": { - "type": "CallExpression", - "start": 2576, - "end": 2601, - "loc": { - "start": { - "line": 118, - "column": 13 - }, - "end": { - "line": 118, - "column": 38 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2576, - "end": 2596, - "loc": { - "start": { - "line": 118, - "column": 13 - }, - "end": { - "line": 118, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 2576, - "end": 2581, - "loc": { - "start": { - "line": 118, - "column": 13 - }, - "end": { - "line": 118, - "column": 18 - }, - "identifierName": "other" - }, - "name": "other" - }, - "property": { - "type": "Identifier", - "start": 2582, - "end": 2596, - "loc": { - "start": { - "line": 118, - "column": 19 - }, - "end": { - "line": 118, - "column": 33 - }, - "identifierName": "_limbs_in_base" - }, - "name": "_limbs_in_base" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 2598, - "end": 2599, - "loc": { - "start": { - "line": 118, - "column": 35 - }, - "end": { - "line": 118, - "column": 36 - }, - "identifierName": "r" - }, - "name": "r" - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 2607, - "end": 2628, - "loc": { - "start": { - "line": 119, - "column": 3 + "identifierName": "other" }, - "end": { - "line": 119, - "column": 24 - } + "name": "other" }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2613, - "end": 2626, - "loc": { - "start": { - "line": 119, - "column": 9 - }, - "end": { - "line": 119, - "column": 22 - } + "property": { + "type": "Identifier", + "start": 2443, + "end": 2451, + "loc": { + "start": { + "line": 118, + "column": 29 }, - "id": { - "type": "Identifier", - "start": 2613, - "end": 2615, - "loc": { - "start": { - "line": 119, - "column": 9 - }, - "end": { - "line": 119, - "column": 11 - }, - "identifierName": "bj" - }, - "name": "bj" + "end": { + "line": 118, + "column": 37 }, - "init": { - "type": "MemberExpression", - "start": 2618, - "end": 2626, - "loc": { - "start": { - "line": 119, - "column": 14 - }, - "end": { - "line": 119, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 2618, - "end": 2619, - "loc": { - "start": { - "line": 119, - "column": 14 - }, - "end": { - "line": 119, - "column": 15 - }, - "identifierName": "b" - }, - "name": "b" - }, - "property": { - "type": "Identifier", - "start": 2620, - "end": 2626, - "loc": { - "start": { - "line": 119, - "column": 16 - }, - "end": { - "line": 119, - "column": 22 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - } - } - ], - "kind": "const" + "identifierName": "opposite" + }, + "name": "opposite" + }, + "computed": false + }, + "arguments": [] + } + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 2458, + "end": 2492, + "loc": { + "start": { + "line": 120, + "column": 2 + }, + "end": { + "line": 120, + "column": 36 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2464, + "end": 2491, + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 35 + } + }, + "id": { + "type": "Identifier", + "start": 2464, + "end": 2465, + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 9 + }, + "identifierName": "b" + }, + "name": "b" }, - { - "type": "VariableDeclaration", - "start": 2632, - "end": 2673, + "init": { + "type": "CallExpression", + "start": 2468, + "end": 2491, "loc": { "start": { "line": 120, - "column": 3 + "column": 12 }, "end": { "line": 120, - "column": 44 + "column": 35 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2638, - "end": 2671, + "callee": { + "type": "MemberExpression", + "start": 2468, + "end": 2488, + "loc": { + "start": { + "line": 120, + "column": 12 + }, + "end": { + "line": 120, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 2468, + "end": 2473, "loc": { "start": { "line": 120, - "column": 9 + "column": 12 }, "end": { "line": 120, - "column": 42 - } + "column": 17 + }, + "identifierName": "other" }, - "id": { - "type": "Identifier", - "start": 2638, - "end": 2640, - "loc": { - "start": { - "line": 120, - "column": 9 - }, - "end": { - "line": 120, - "column": 11 - }, - "identifierName": "bi" + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 2474, + "end": 2488, + "loc": { + "start": { + "line": 120, + "column": 18 }, - "name": "bi" + "end": { + "line": 120, + "column": 32 + }, + "identifierName": "_limbs_in_base" }, - "init": { - "type": "CallExpression", - "start": 2643, - "end": 2671, - "loc": { - "start": { - "line": 120, - "column": 14 - }, - "end": { - "line": 120, - "column": 42 - } + "name": "_limbs_in_base" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2489, + "end": 2490, + "loc": { + "start": { + "line": 120, + "column": 33 }, - "callee": { - "type": "Identifier", - "start": 2643, - "end": 2657, - "loc": { - "start": { - "line": 120, - "column": 14 - }, - "end": { - "line": 120, - "column": 28 - }, - "identifierName": "_trim_positive" - }, - "name": "_trim_positive" + "end": { + "line": 120, + "column": 34 }, - "arguments": [ - { - "type": "Identifier", - "start": 2659, - "end": 2660, - "loc": { - "start": { - "line": 120, - "column": 30 - }, - "end": { - "line": 120, - "column": 31 - }, - "identifierName": "b" - }, - "name": "b" - }, - { - "type": "NumericLiteral", - "start": 2663, - "end": 2664, - "loc": { - "start": { - "line": 120, - "column": 34 - }, - "end": { - "line": 120, - "column": 35 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - { - "type": "Identifier", - "start": 2667, - "end": 2669, - "loc": { - "start": { - "line": 120, - "column": 38 - }, - "end": { - "line": 120, - "column": 40 - }, - "identifierName": "bj" - }, - "name": "bj" - } - ] - } + "identifierName": "r" + }, + "name": "r" } - ], - "kind": "const" + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2495, + "end": 2515, + "loc": { + "start": { + "line": 121, + "column": 2 + }, + "end": { + "line": 121, + "column": 22 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2501, + "end": 2514, + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 121, + "column": 21 + } }, - { - "type": "IfStatement", - "start": 2678, - "end": 2715, + "id": { + "type": "Identifier", + "start": 2501, + "end": 2503, + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 121, + "column": 10 + }, + "identifierName": "bj" + }, + "name": "bj" + }, + "init": { + "type": "MemberExpression", + "start": 2506, + "end": 2514, + "loc": { + "start": { + "line": 121, + "column": 13 + }, + "end": { + "line": 121, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 2506, + "end": 2507, + "loc": { + "start": { + "line": 121, + "column": 13 + }, + "end": { + "line": 121, + "column": 14 + }, + "identifierName": "b" + }, + "name": "b" + }, + "property": { + "type": "Identifier", + "start": 2508, + "end": 2514, + "loc": { + "start": { + "line": 121, + "column": 15 + }, + "end": { + "line": 121, + "column": 21 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2518, + "end": 2554, + "loc": { + "start": { + "line": 122, + "column": 2 + }, + "end": { + "line": 122, + "column": 38 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2524, + "end": 2553, + "loc": { + "start": { + "line": 122, + "column": 8 + }, + "end": { + "line": 122, + "column": 37 + } + }, + "id": { + "type": "Identifier", + "start": 2524, + "end": 2526, "loc": { "start": { "line": 122, - "column": 3 + "column": 8 }, "end": { "line": 122, - "column": 40 + "column": 10 + }, + "identifierName": "bi" + }, + "name": "bi" + }, + "init": { + "type": "CallExpression", + "start": 2529, + "end": 2553, + "loc": { + "start": { + "line": 122, + "column": 13 + }, + "end": { + "line": 122, + "column": 37 } }, - "test": { - "type": "BinaryExpression", - "start": 2683, - "end": 2691, + "callee": { + "type": "Identifier", + "start": 2529, + "end": 2543, "loc": { "start": { "line": 122, - "column": 8 + "column": 13 }, "end": { "line": 122, - "column": 16 - } + "column": 27 + }, + "identifierName": "_trim_positive" }, - "left": { + "name": "_trim_positive" + }, + "arguments": [ + { "type": "Identifier", - "start": 2683, - "end": 2685, + "start": 2544, + "end": 2545, "loc": { "start": { "line": 122, - "column": 8 + "column": 28 }, "end": { "line": 122, - "column": 10 + "column": 29 }, - "identifierName": "bi" + "identifierName": "b" }, - "name": "bi" + "name": "b" }, - "operator": ">=", - "right": { + { + "type": "NumericLiteral", + "start": 2547, + "end": 2548, + "loc": { + "start": { + "line": 122, + "column": 31 + }, + "end": { + "line": 122, + "column": 32 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { "type": "Identifier", - "start": 2689, - "end": 2691, + "start": 2550, + "end": 2552, "loc": { "start": { "line": 122, - "column": 14 + "column": 34 }, "end": { "line": 122, - "column": 16 + "column": 36 }, "identifierName": "bj" }, - "name": "bj" - } + "name": "bj" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 2558, + "end": 2592, + "loc": { + "start": { + "line": 124, + "column": 2 + }, + "end": { + "line": 124, + "column": 36 + } + }, + "test": { + "type": "BinaryExpression", + "start": 2562, + "end": 2570, + "loc": { + "start": { + "line": 124, + "column": 6 + }, + "end": { + "line": 124, + "column": 14 + } + }, + "left": { + "type": "Identifier", + "start": 2562, + "end": 2564, + "loc": { + "start": { + "line": 124, + "column": 6 + }, + "end": { + "line": 124, + "column": 8 + }, + "identifierName": "bi" + }, + "name": "bi" + }, + "operator": ">=", + "right": { + "type": "Identifier", + "start": 2568, + "end": 2570, + "loc": { + "start": { + "line": 124, + "column": 12 + }, + "end": { + "line": 124, + "column": 14 + }, + "identifierName": "bj" + }, + "name": "bj" + } + }, + "consequent": { + "type": "ReturnStatement", + "start": 2572, + "end": 2592, + "loc": { + "start": { + "line": 124, + "column": 16 + }, + "end": { + "line": 124, + "column": 36 + } + }, + "argument": { + "type": "CallExpression", + "start": 2579, + "end": 2591, + "loc": { + "start": { + "line": 124, + "column": 23 + }, + "end": { + "line": 124, + "column": 35 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2579, + "end": 2589, + "loc": { + "start": { + "line": 124, + "column": 23 + }, + "end": { + "line": 124, + "column": 33 + } + }, + "object": { + "type": "ThisExpression", + "start": 2579, + "end": 2583, + "loc": { + "start": { + "line": 124, + "column": 23 + }, + "end": { + "line": 124, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "start": 2584, + "end": 2589, + "loc": { + "start": { + "line": 124, + "column": 28 + }, + "end": { + "line": 124, + "column": 33 + }, + "identifierName": "clone" + }, + "name": "clone" + }, + "computed": false + }, + "arguments": [] + } + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 2596, + "end": 2767, + "loc": { + "start": { + "line": 126, + "column": 2 + }, + "end": { + "line": 132, + "column": 3 + } + }, + "test": { + "type": "BinaryExpression", + "start": 2600, + "end": 2629, + "loc": { + "start": { + "line": 126, + "column": 6 + }, + "end": { + "line": 126, + "column": 35 + } + }, + "left": { + "type": "CallExpression", + "start": 2600, + "end": 2625, + "loc": { + "start": { + "line": 126, + "column": 6 + }, + "end": { + "line": 126, + "column": 31 + } + }, + "callee": { + "type": "Identifier", + "start": 2600, + "end": 2603, + "loc": { + "start": { + "line": 126, + "column": 6 + }, + "end": { + "line": 126, + "column": 9 + }, + "identifierName": "cmp" + }, + "name": "cmp" + }, + "arguments": [ + { + "type": "Identifier", + "start": 2604, + "end": 2605, + "loc": { + "start": { + "line": 126, + "column": 10 + }, + "end": { + "line": 126, + "column": 11 + }, + "identifierName": "a" + }, + "name": "a" + }, + { + "type": "Identifier", + "start": 2607, + "end": 2609, + "loc": { + "start": { + "line": 126, + "column": 13 + }, + "end": { + "line": 126, + "column": 15 + }, + "identifierName": "ai" + }, + "name": "ai" + }, + { + "type": "Identifier", + "start": 2611, + "end": 2613, + "loc": { + "start": { + "line": 126, + "column": 17 + }, + "end": { + "line": 126, + "column": 19 + }, + "identifierName": "aj" + }, + "name": "aj" + }, + { + "type": "Identifier", + "start": 2615, + "end": 2616, + "loc": { + "start": { + "line": 126, + "column": 21 + }, + "end": { + "line": 126, + "column": 22 + }, + "identifierName": "b" + }, + "name": "b" }, - "consequent": { - "type": "ReturnStatement", - "start": 2694, - "end": 2715, + { + "type": "Identifier", + "start": 2618, + "end": 2620, "loc": { "start": { - "line": 122, - "column": 19 + "line": 126, + "column": 24 }, "end": { - "line": 122, - "column": 40 - } + "line": 126, + "column": 26 + }, + "identifierName": "bi" }, - "argument": { - "type": "CallExpression", - "start": 2701, - "end": 2713, - "loc": { - "start": { - "line": 122, - "column": 26 - }, - "end": { - "line": 122, - "column": 38 - } + "name": "bi" + }, + { + "type": "Identifier", + "start": 2622, + "end": 2624, + "loc": { + "start": { + "line": 126, + "column": 28 }, - "callee": { - "type": "MemberExpression", - "start": 2701, - "end": 2711, - "loc": { - "start": { - "line": 122, - "column": 26 - }, - "end": { - "line": 122, - "column": 36 - } - }, - "object": { - "type": "ThisExpression", - "start": 2701, - "end": 2705, - "loc": { - "start": { - "line": 122, - "column": 26 - }, - "end": { - "line": 122, - "column": 30 - } - } - }, - "property": { - "type": "Identifier", - "start": 2706, - "end": 2711, - "loc": { - "start": { - "line": 122, - "column": 31 - }, - "end": { - "line": 122, - "column": 36 - }, - "identifierName": "clone" - }, - "name": "clone" - }, - "computed": false + "end": { + "line": 126, + "column": 30 }, - "arguments": [] - } + "identifierName": "bj" + }, + "name": "bj" + } + ] + }, + "operator": "<", + "right": { + "type": "NumericLiteral", + "start": 2628, + "end": 2629, + "loc": { + "start": { + "line": 126, + "column": 34 }, - "alternate": null + "end": { + "line": 126, + "column": 35 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + }, + "consequent": { + "type": "BlockStatement", + "start": 2631, + "end": 2767, + "loc": { + "start": { + "line": 126, + "column": 37 }, + "end": { + "line": 132, + "column": 3 + } + }, + "body": [ { - "type": "IfStatement", - "start": 2720, - "end": 3094, + "type": "VariableDeclaration", + "start": 2636, + "end": 2662, "loc": { "start": { - "line": 124, + "line": 127, "column": 3 }, "end": { - "line": 141, - "column": 4 + "line": 127, + "column": 29 } }, - "test": { - "type": "BinaryExpression", - "start": 2725, - "end": 2761, - "loc": { - "start": { - "line": 124, - "column": 8 - }, - "end": { - "line": 124, - "column": 44 - } - }, - "left": { - "type": "CallExpression", - "start": 2725, - "end": 2757, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2642, + "end": 2661, "loc": { "start": { - "line": 124, - "column": 8 + "line": 127, + "column": 9 }, "end": { - "line": 124, - "column": 40 + "line": 127, + "column": 28 } }, - "callee": { + "id": { "type": "Identifier", - "start": 2725, - "end": 2728, + "start": 2642, + "end": 2643, "loc": { "start": { - "line": 124, - "column": 8 + "line": 127, + "column": 9 }, "end": { - "line": 124, - "column": 11 - }, - "identifierName": "cmp" - }, - "name": "cmp" - }, - "arguments": [ - { - "type": "Identifier", - "start": 2730, - "end": 2731, - "loc": { - "start": { - "line": 124, - "column": 13 - }, - "end": { - "line": 124, - "column": 14 - }, - "identifierName": "a" - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 2734, - "end": 2736, - "loc": { - "start": { - "line": 124, - "column": 17 - }, - "end": { - "line": 124, - "column": 19 - }, - "identifierName": "ai" - }, - "name": "ai" - }, - { - "type": "Identifier", - "start": 2739, - "end": 2741, - "loc": { - "start": { - "line": 124, - "column": 22 - }, - "end": { - "line": 124, - "column": 24 - }, - "identifierName": "aj" - }, - "name": "aj" - }, - { - "type": "Identifier", - "start": 2744, - "end": 2745, - "loc": { - "start": { - "line": 124, - "column": 27 - }, - "end": { - "line": 124, - "column": 28 - }, - "identifierName": "b" - }, - "name": "b" - }, - { - "type": "Identifier", - "start": 2748, - "end": 2750, - "loc": { - "start": { - "line": 124, - "column": 31 - }, - "end": { - "line": 124, - "column": 33 - }, - "identifierName": "bi" - }, - "name": "bi" - }, - { - "type": "Identifier", - "start": 2753, - "end": 2755, - "loc": { - "start": { - "line": 124, - "column": 36 - }, - "end": { - "line": 124, - "column": 38 - }, - "identifierName": "bj" - }, - "name": "bj" - } - ] - }, - "operator": "<", - "right": { - "type": "NumericLiteral", - "start": 2760, - "end": 2761, - "loc": { - "start": { - "line": 124, - "column": 43 - }, - "end": { - "line": 124, - "column": 44 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 2764, - "end": 2924, - "loc": { - "start": { - "line": 124, - "column": 47 - }, - "end": { - "line": 131, - "column": 4 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 2771, - "end": 2800, - "loc": { - "start": { - "line": 126, - "column": 4 + "line": 127, + "column": 10 }, - "end": { - "line": 126, - "column": 33 - } + "identifierName": "c" }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2777, - "end": 2798, - "loc": { - "start": { - "line": 126, - "column": 10 - }, - "end": { - "line": 126, - "column": 31 - } - }, - "id": { - "type": "Identifier", - "start": 2777, - "end": 2778, - "loc": { - "start": { - "line": 126, - "column": 10 - }, - "end": { - "line": 126, - "column": 11 - }, - "identifierName": "c" - }, - "name": "c" - }, - "init": { - "type": "CallExpression", - "start": 2781, - "end": 2798, - "loc": { - "start": { - "line": 126, - "column": 14 - }, - "end": { - "line": 126, - "column": 31 - } - }, - "callee": { - "type": "Identifier", - "start": 2781, - "end": 2787, - "loc": { - "start": { - "line": 126, - "column": 14 - }, - "end": { - "line": 126, - "column": 20 - }, - "identifierName": "_zeros" - }, - "name": "_zeros" - }, - "arguments": [ - { - "type": "BinaryExpression", - "start": 2789, - "end": 2796, - "loc": { - "start": { - "line": 126, - "column": 22 - }, - "end": { - "line": 126, - "column": 29 - } - }, - "left": { - "type": "Identifier", - "start": 2789, - "end": 2791, - "loc": { - "start": { - "line": 126, - "column": 22 - }, - "end": { - "line": 126, - "column": 24 - }, - "identifierName": "bj" - }, - "name": "bj" - }, - "operator": "-", - "right": { - "type": "Identifier", - "start": 2794, - "end": 2796, - "loc": { - "start": { - "line": 126, - "column": 27 - }, - "end": { - "line": 126, - "column": 29 - }, - "identifierName": "bi" - }, - "name": "bi" - } - } - ] - } - } - ], - "kind": "const" + "name": "c" }, - { - "type": "ExpressionStatement", - "start": 2806, - "end": 2864, + "init": { + "type": "CallExpression", + "start": 2646, + "end": 2661, "loc": { "start": { - "line": 128, - "column": 4 + "line": 127, + "column": 13 }, "end": { - "line": 128, - "column": 62 + "line": 127, + "column": 28 } }, - "expression": { - "type": "CallExpression", - "start": 2806, - "end": 2862, + "callee": { + "type": "Identifier", + "start": 2646, + "end": 2652, "loc": { "start": { - "line": 128, - "column": 4 + "line": 127, + "column": 13 }, "end": { - "line": 128, - "column": 60 - } - }, - "callee": { - "type": "Identifier", - "start": 2806, - "end": 2810, - "loc": { - "start": { - "line": 128, - "column": 4 - }, - "end": { - "line": 128, - "column": 8 - }, - "identifierName": "_sub" - }, - "name": "_sub" - }, - "arguments": [ - { - "type": "Identifier", - "start": 2812, - "end": 2813, - "loc": { - "start": { - "line": 128, - "column": 10 - }, - "end": { - "line": 128, - "column": 11 - }, - "identifierName": "r" - }, - "name": "r" - }, - { - "type": "Identifier", - "start": 2816, - "end": 2817, - "loc": { - "start": { - "line": 128, - "column": 14 - }, - "end": { - "line": 128, - "column": 15 - }, - "identifierName": "b" - }, - "name": "b" - }, - { - "type": "Identifier", - "start": 2820, - "end": 2822, - "loc": { - "start": { - "line": 128, - "column": 18 - }, - "end": { - "line": 128, - "column": 20 - }, - "identifierName": "bi" - }, - "name": "bi" - }, - { - "type": "Identifier", - "start": 2825, - "end": 2827, - "loc": { - "start": { - "line": 128, - "column": 23 - }, - "end": { - "line": 128, - "column": 25 - }, - "identifierName": "bj" - }, - "name": "bj" - }, - { - "type": "Identifier", - "start": 2830, - "end": 2831, - "loc": { - "start": { - "line": 128, - "column": 28 - }, - "end": { - "line": 128, - "column": 29 - }, - "identifierName": "a" - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 2834, - "end": 2836, - "loc": { - "start": { - "line": 128, - "column": 32 - }, - "end": { - "line": 128, - "column": 34 - }, - "identifierName": "ai" - }, - "name": "ai" - }, - { - "type": "Identifier", - "start": 2839, - "end": 2841, - "loc": { - "start": { - "line": 128, - "column": 37 - }, - "end": { - "line": 128, - "column": 39 - }, - "identifierName": "aj" - }, - "name": "aj" - }, - { - "type": "Identifier", - "start": 2844, - "end": 2845, - "loc": { - "start": { - "line": 128, - "column": 42 - }, - "end": { - "line": 128, - "column": 43 - }, - "identifierName": "c" - }, - "name": "c" - }, - { - "type": "NumericLiteral", - "start": 2848, - "end": 2849, - "loc": { - "start": { - "line": 128, - "column": 46 - }, - "end": { - "line": 128, - "column": 47 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 + "line": 127, + "column": 19 }, - { - "type": "MemberExpression", - "start": 2852, - "end": 2860, - "loc": { - "start": { - "line": 128, - "column": 50 - }, - "end": { - "line": 128, - "column": 58 - } - }, - "object": { - "type": "Identifier", - "start": 2852, - "end": 2853, - "loc": { - "start": { - "line": 128, - "column": 50 - }, - "end": { - "line": 128, - "column": 51 - }, - "identifierName": "c" - }, - "name": "c" - }, - "property": { - "type": "Identifier", - "start": 2854, - "end": 2860, - "loc": { - "start": { - "line": 128, - "column": 52 - }, - "end": { - "line": 128, - "column": 58 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - } - ] - } - }, - { - "type": "ReturnStatement", - "start": 2870, - "end": 2919, - "loc": { - "start": { - "line": 130, - "column": 4 + "identifierName": "_zeros" }, - "end": { - "line": 130, - "column": 53 - } + "name": "_zeros" }, - "argument": { - "type": "NewExpression", - "start": 2877, - "end": 2917, - "loc": { - "start": { - "line": 130, - "column": 11 - }, - "end": { - "line": 130, - "column": 51 - } - }, - "callee": { - "type": "Identifier", - "start": 2881, - "end": 2888, + "arguments": [ + { + "type": "BinaryExpression", + "start": 2653, + "end": 2660, "loc": { "start": { - "line": 130, - "column": 15 + "line": 127, + "column": 20 }, "end": { - "line": 130, - "column": 22 - }, - "identifierName": "Integer" + "line": 127, + "column": 27 + } }, - "name": "Integer" - }, - "arguments": [ - { + "left": { "type": "Identifier", - "start": 2890, - "end": 2891, - "loc": { - "start": { - "line": 130, - "column": 24 - }, - "end": { - "line": 130, - "column": 25 - }, - "identifierName": "r" - }, - "name": "r" - }, - { - "type": "UnaryExpression", - "start": 2894, - "end": 2911, + "start": 2653, + "end": 2655, "loc": { "start": { - "line": 130, - "column": 28 + "line": 127, + "column": 20 }, "end": { - "line": 130, - "column": 45 - } - }, - "operator": "~", - "prefix": true, - "argument": { - "type": "MemberExpression", - "start": 2895, - "end": 2911, - "loc": { - "start": { - "line": 130, - "column": 29 - }, - "end": { - "line": 130, - "column": 45 - } - }, - "object": { - "type": "ThisExpression", - "start": 2895, - "end": 2899, - "loc": { - "start": { - "line": 130, - "column": 29 - }, - "end": { - "line": 130, - "column": 33 - } - } - }, - "property": { - "type": "Identifier", - "start": 2900, - "end": 2911, - "loc": { - "start": { - "line": 130, - "column": 34 - }, - "end": { - "line": 130, - "column": 45 - }, - "identifierName": "is_negative" - }, - "name": "is_negative" + "line": 127, + "column": 22 }, - "computed": false + "identifierName": "bj" }, - "extra": { - "parenthesizedArgument": false - } + "name": "bj" }, - { + "operator": "-", + "right": { "type": "Identifier", - "start": 2914, - "end": 2915, + "start": 2658, + "end": 2660, "loc": { "start": { - "line": 130, - "column": 48 + "line": 127, + "column": 25 }, "end": { - "line": 130, - "column": 49 + "line": 127, + "column": 27 }, - "identifierName": "c" + "identifierName": "bi" }, - "name": "c" + "name": "bi" } - ] - } + } + ] } - ], - "directives": [] + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 2667, + "end": 2713, + "loc": { + "start": { + "line": 129, + "column": 3 + }, + "end": { + "line": 129, + "column": 49 + } }, - "alternate": { - "type": "BlockStatement", - "start": 2934, - "end": 3094, + "expression": { + "type": "CallExpression", + "start": 2667, + "end": 2712, "loc": { "start": { - "line": 133, - "column": 8 + "line": 129, + "column": 3 }, "end": { - "line": 141, - "column": 4 + "line": 129, + "column": 48 } }, - "body": [ + "callee": { + "type": "Identifier", + "start": 2667, + "end": 2671, + "loc": { + "start": { + "line": 129, + "column": 3 + }, + "end": { + "line": 129, + "column": 7 + }, + "identifierName": "_sub" + }, + "name": "_sub" + }, + "arguments": [ { - "type": "VariableDeclaration", - "start": 2941, - "end": 2970, + "type": "Identifier", + "start": 2672, + "end": 2673, "loc": { "start": { - "line": 135, - "column": 4 + "line": 129, + "column": 8 + }, + "end": { + "line": 129, + "column": 9 + }, + "identifierName": "r" + }, + "name": "r" + }, + { + "type": "Identifier", + "start": 2675, + "end": 2676, + "loc": { + "start": { + "line": 129, + "column": 11 + }, + "end": { + "line": 129, + "column": 12 + }, + "identifierName": "b" + }, + "name": "b" + }, + { + "type": "Identifier", + "start": 2678, + "end": 2680, + "loc": { + "start": { + "line": 129, + "column": 14 + }, + "end": { + "line": 129, + "column": 16 + }, + "identifierName": "bi" + }, + "name": "bi" + }, + { + "type": "Identifier", + "start": 2682, + "end": 2684, + "loc": { + "start": { + "line": 129, + "column": 18 + }, + "end": { + "line": 129, + "column": 20 + }, + "identifierName": "bj" + }, + "name": "bj" + }, + { + "type": "Identifier", + "start": 2686, + "end": 2687, + "loc": { + "start": { + "line": 129, + "column": 22 + }, + "end": { + "line": 129, + "column": 23 + }, + "identifierName": "a" + }, + "name": "a" + }, + { + "type": "Identifier", + "start": 2689, + "end": 2691, + "loc": { + "start": { + "line": 129, + "column": 25 + }, + "end": { + "line": 129, + "column": 27 + }, + "identifierName": "ai" + }, + "name": "ai" + }, + { + "type": "Identifier", + "start": 2693, + "end": 2695, + "loc": { + "start": { + "line": 129, + "column": 29 }, "end": { - "line": 135, + "line": 129, + "column": 31 + }, + "identifierName": "aj" + }, + "name": "aj" + }, + { + "type": "Identifier", + "start": 2697, + "end": 2698, + "loc": { + "start": { + "line": 129, "column": 33 - } + }, + "end": { + "line": 129, + "column": 34 + }, + "identifierName": "c" }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2947, - "end": 2968, - "loc": { - "start": { - "line": 135, - "column": 10 - }, - "end": { - "line": 135, - "column": 31 - } - }, - "id": { - "type": "Identifier", - "start": 2947, - "end": 2948, - "loc": { - "start": { - "line": 135, - "column": 10 - }, - "end": { - "line": 135, - "column": 11 - }, - "identifierName": "c" - }, - "name": "c" - }, - "init": { - "type": "CallExpression", - "start": 2951, - "end": 2968, - "loc": { - "start": { - "line": 135, - "column": 14 - }, - "end": { - "line": 135, - "column": 31 - } - }, - "callee": { - "type": "Identifier", - "start": 2951, - "end": 2957, - "loc": { - "start": { - "line": 135, - "column": 14 - }, - "end": { - "line": 135, - "column": 20 - }, - "identifierName": "_zeros" - }, - "name": "_zeros" - }, - "arguments": [ - { - "type": "BinaryExpression", - "start": 2959, - "end": 2966, - "loc": { - "start": { - "line": 135, - "column": 22 - }, - "end": { - "line": 135, - "column": 29 - } - }, - "left": { - "type": "Identifier", - "start": 2959, - "end": 2961, - "loc": { - "start": { - "line": 135, - "column": 22 - }, - "end": { - "line": 135, - "column": 24 - }, - "identifierName": "aj" - }, - "name": "aj" - }, - "operator": "-", - "right": { - "type": "Identifier", - "start": 2964, - "end": 2966, - "loc": { - "start": { - "line": 135, - "column": 27 - }, - "end": { - "line": 135, - "column": 29 - }, - "identifierName": "ai" - }, - "name": "ai" - } - } - ] - } + "name": "c" + }, + { + "type": "NumericLiteral", + "start": 2700, + "end": 2701, + "loc": { + "start": { + "line": 129, + "column": 36 + }, + "end": { + "line": 129, + "column": 37 } - ], - "kind": "const" + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 }, { - "type": "ExpressionStatement", - "start": 2976, - "end": 3034, + "type": "MemberExpression", + "start": 2703, + "end": 2711, "loc": { "start": { - "line": 137, - "column": 4 + "line": 129, + "column": 39 }, "end": { - "line": 137, - "column": 62 + "line": 129, + "column": 47 } }, - "expression": { - "type": "CallExpression", - "start": 2976, - "end": 3032, + "object": { + "type": "Identifier", + "start": 2703, + "end": 2704, "loc": { "start": { - "line": 137, - "column": 4 + "line": 129, + "column": 39 }, "end": { - "line": 137, - "column": 60 - } - }, - "callee": { - "type": "Identifier", - "start": 2976, - "end": 2980, - "loc": { - "start": { - "line": 137, - "column": 4 - }, - "end": { - "line": 137, - "column": 8 - }, - "identifierName": "_sub" + "line": 129, + "column": 40 }, - "name": "_sub" + "identifierName": "c" }, - "arguments": [ - { - "type": "Identifier", - "start": 2982, - "end": 2983, - "loc": { - "start": { - "line": 137, - "column": 10 - }, - "end": { - "line": 137, - "column": 11 - }, - "identifierName": "r" - }, - "name": "r" - }, - { - "type": "Identifier", - "start": 2986, - "end": 2987, - "loc": { - "start": { - "line": 137, - "column": 14 - }, - "end": { - "line": 137, - "column": 15 - }, - "identifierName": "a" - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 2990, - "end": 2992, - "loc": { - "start": { - "line": 137, - "column": 18 - }, - "end": { - "line": 137, - "column": 20 - }, - "identifierName": "ai" - }, - "name": "ai" - }, - { - "type": "Identifier", - "start": 2995, - "end": 2997, - "loc": { - "start": { - "line": 137, - "column": 23 - }, - "end": { - "line": 137, - "column": 25 - }, - "identifierName": "aj" - }, - "name": "aj" - }, - { - "type": "Identifier", - "start": 3000, - "end": 3001, - "loc": { - "start": { - "line": 137, - "column": 28 - }, - "end": { - "line": 137, - "column": 29 - }, - "identifierName": "b" - }, - "name": "b" - }, - { - "type": "Identifier", - "start": 3004, - "end": 3006, - "loc": { - "start": { - "line": 137, - "column": 32 - }, - "end": { - "line": 137, - "column": 34 - }, - "identifierName": "bi" - }, - "name": "bi" - }, - { - "type": "Identifier", - "start": 3009, - "end": 3011, - "loc": { - "start": { - "line": 137, - "column": 37 - }, - "end": { - "line": 137, - "column": 39 - }, - "identifierName": "bj" - }, - "name": "bj" - }, - { - "type": "Identifier", - "start": 3014, - "end": 3015, - "loc": { - "start": { - "line": 137, - "column": 42 - }, - "end": { - "line": 137, - "column": 43 - }, - "identifierName": "c" - }, - "name": "c" + "name": "c" + }, + "property": { + "type": "Identifier", + "start": 2705, + "end": 2711, + "loc": { + "start": { + "line": 129, + "column": 41 }, - { - "type": "NumericLiteral", - "start": 3018, - "end": 3019, - "loc": { - "start": { - "line": 137, - "column": 46 - }, - "end": { - "line": 137, - "column": 47 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 + "end": { + "line": 129, + "column": 47 }, - { - "type": "MemberExpression", - "start": 3022, - "end": 3030, - "loc": { - "start": { - "line": 137, - "column": 50 - }, - "end": { - "line": 137, - "column": 58 - } - }, - "object": { - "type": "Identifier", - "start": 3022, - "end": 3023, - "loc": { - "start": { - "line": 137, - "column": 50 - }, - "end": { - "line": 137, - "column": 51 - }, - "identifierName": "c" - }, - "name": "c" - }, - "property": { - "type": "Identifier", - "start": 3024, - "end": 3030, - "loc": { - "start": { - "line": 137, - "column": 52 - }, - "end": { - "line": 137, - "column": 58 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - } - ] - } + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + ] + } + }, + { + "type": "ReturnStatement", + "start": 2718, + "end": 2763, + "loc": { + "start": { + "line": 131, + "column": 3 + }, + "end": { + "line": 131, + "column": 48 + } + }, + "argument": { + "type": "NewExpression", + "start": 2725, + "end": 2762, + "loc": { + "start": { + "line": 131, + "column": 10 + }, + "end": { + "line": 131, + "column": 47 + } + }, + "callee": { + "type": "Identifier", + "start": 2729, + "end": 2736, + "loc": { + "start": { + "line": 131, + "column": 14 + }, + "end": { + "line": 131, + "column": 21 + }, + "identifierName": "Integer" + }, + "name": "Integer" + }, + "arguments": [ + { + "type": "Identifier", + "start": 2737, + "end": 2738, + "loc": { + "start": { + "line": 131, + "column": 22 + }, + "end": { + "line": 131, + "column": 23 + }, + "identifierName": "r" + }, + "name": "r" }, { - "type": "ReturnStatement", - "start": 3040, - "end": 3088, + "type": "UnaryExpression", + "start": 2740, + "end": 2758, "loc": { "start": { - "line": 139, - "column": 4 + "line": 131, + "column": 25 }, "end": { - "line": 139, - "column": 52 + "line": 131, + "column": 43 } }, + "operator": "~", + "prefix": true, "argument": { - "type": "NewExpression", - "start": 3047, - "end": 3086, + "type": "MemberExpression", + "start": 2741, + "end": 2758, "loc": { "start": { - "line": 139, - "column": 11 + "line": 131, + "column": 26 }, "end": { - "line": 139, - "column": 50 + "line": 131, + "column": 43 } }, - "callee": { - "type": "Identifier", - "start": 3051, - "end": 3058, + "object": { + "type": "ThisExpression", + "start": 2741, + "end": 2745, "loc": { "start": { - "line": 139, - "column": 15 + "line": 131, + "column": 26 }, "end": { - "line": 139, - "column": 22 - }, - "identifierName": "Integer" - }, - "name": "Integer" + "line": 131, + "column": 30 + } + } }, - "arguments": [ - { - "type": "Identifier", - "start": 3060, - "end": 3061, - "loc": { - "start": { - "line": 139, - "column": 24 - }, - "end": { - "line": 139, - "column": 25 - }, - "identifierName": "r" - }, - "name": "r" - }, - { - "type": "MemberExpression", - "start": 3064, - "end": 3080, - "loc": { - "start": { - "line": 139, - "column": 28 - }, - "end": { - "line": 139, - "column": 44 - } - }, - "object": { - "type": "ThisExpression", - "start": 3064, - "end": 3068, - "loc": { - "start": { - "line": 139, - "column": 28 - }, - "end": { - "line": 139, - "column": 32 - } - } + "property": { + "type": "Identifier", + "start": 2746, + "end": 2758, + "loc": { + "start": { + "line": 131, + "column": 31 }, - "property": { - "type": "Identifier", - "start": 3069, - "end": 3080, - "loc": { - "start": { - "line": 139, - "column": 33 - }, - "end": { - "line": 139, - "column": 44 - }, - "identifierName": "is_negative" - }, - "name": "is_negative" + "end": { + "line": 131, + "column": 43 }, - "computed": false + "identifierName": "_is_negative" }, - { - "type": "Identifier", - "start": 3083, - "end": 3084, - "loc": { - "start": { - "line": 139, - "column": 47 - }, - "end": { - "line": 139, - "column": 48 - }, - "identifierName": "c" - }, - "name": "c" - } - ] + "name": "_is_negative" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false } + }, + { + "type": "Identifier", + "start": 2760, + "end": 2761, + "loc": { + "start": { + "line": 131, + "column": 45 + }, + "end": { + "line": 131, + "column": 46 + }, + "identifierName": "c" + }, + "name": "c" } - ], - "directives": [] + ] } } ], "directives": [] + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 2771, + "end": 2797, + "loc": { + "start": { + "line": 134, + "column": 2 + }, + "end": { + "line": 134, + "column": 28 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2777, + "end": 2796, + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 134, + "column": 27 + } + }, + "id": { + "type": "Identifier", + "start": 2777, + "end": 2778, + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 134, + "column": 9 + }, + "identifierName": "c" + }, + "name": "c" + }, + "init": { + "type": "CallExpression", + "start": 2781, + "end": 2796, + "loc": { + "start": { + "line": 134, + "column": 12 + }, + "end": { + "line": 134, + "column": 27 + } + }, + "callee": { + "type": "Identifier", + "start": 2781, + "end": 2787, + "loc": { + "start": { + "line": 134, + "column": 12 + }, + "end": { + "line": 134, + "column": 18 + }, + "identifierName": "_zeros" + }, + "name": "_zeros" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 2788, + "end": 2795, + "loc": { + "start": { + "line": 134, + "column": 19 + }, + "end": { + "line": 134, + "column": 26 + } + }, + "left": { + "type": "Identifier", + "start": 2788, + "end": 2790, + "loc": { + "start": { + "line": 134, + "column": 19 + }, + "end": { + "line": 134, + "column": 21 + }, + "identifierName": "aj" + }, + "name": "aj" + }, + "operator": "-", + "right": { + "type": "Identifier", + "start": 2793, + "end": 2795, + "loc": { + "start": { + "line": 134, + "column": 24 + }, + "end": { + "line": 134, + "column": 26 + }, + "identifierName": "ai" + }, + "name": "ai" + } + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 2801, + "end": 2847, + "loc": { + "start": { + "line": 136, + "column": 2 + }, + "end": { + "line": 136, + "column": 48 + } + }, + "expression": { + "type": "CallExpression", + "start": 2801, + "end": 2846, + "loc": { + "start": { + "line": 136, + "column": 2 + }, + "end": { + "line": 136, + "column": 47 + } + }, + "callee": { + "type": "Identifier", + "start": 2801, + "end": 2805, + "loc": { + "start": { + "line": 136, + "column": 2 + }, + "end": { + "line": 136, + "column": 6 + }, + "identifierName": "_sub" + }, + "name": "_sub" + }, + "arguments": [ + { + "type": "Identifier", + "start": 2806, + "end": 2807, + "loc": { + "start": { + "line": 136, + "column": 7 + }, + "end": { + "line": 136, + "column": 8 + }, + "identifierName": "r" + }, + "name": "r" + }, + { + "type": "Identifier", + "start": 2809, + "end": 2810, + "loc": { + "start": { + "line": 136, + "column": 10 + }, + "end": { + "line": 136, + "column": 11 + }, + "identifierName": "a" + }, + "name": "a" + }, + { + "type": "Identifier", + "start": 2812, + "end": 2814, + "loc": { + "start": { + "line": 136, + "column": 13 + }, + "end": { + "line": 136, + "column": 15 + }, + "identifierName": "ai" + }, + "name": "ai" + }, + { + "type": "Identifier", + "start": 2816, + "end": 2818, + "loc": { + "start": { + "line": 136, + "column": 17 + }, + "end": { + "line": 136, + "column": 19 + }, + "identifierName": "aj" + }, + "name": "aj" + }, + { + "type": "Identifier", + "start": 2820, + "end": 2821, + "loc": { + "start": { + "line": 136, + "column": 21 + }, + "end": { + "line": 136, + "column": 22 + }, + "identifierName": "b" + }, + "name": "b" + }, + { + "type": "Identifier", + "start": 2823, + "end": 2825, + "loc": { + "start": { + "line": 136, + "column": 24 + }, + "end": { + "line": 136, + "column": 26 + }, + "identifierName": "bi" + }, + "name": "bi" + }, + { + "type": "Identifier", + "start": 2827, + "end": 2829, + "loc": { + "start": { + "line": 136, + "column": 28 + }, + "end": { + "line": 136, + "column": 30 + }, + "identifierName": "bj" + }, + "name": "bj" + }, + { + "type": "Identifier", + "start": 2831, + "end": 2832, + "loc": { + "start": { + "line": 136, + "column": 32 + }, + "end": { + "line": 136, + "column": 33 + }, + "identifierName": "c" + }, + "name": "c" + }, + { + "type": "NumericLiteral", + "start": 2834, + "end": 2835, + "loc": { + "start": { + "line": 136, + "column": 35 + }, + "end": { + "line": 136, + "column": 36 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "MemberExpression", + "start": 2837, + "end": 2845, + "loc": { + "start": { + "line": 136, + "column": 38 + }, + "end": { + "line": 136, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 2837, + "end": 2838, + "loc": { + "start": { + "line": 136, + "column": 38 + }, + "end": { + "line": 136, + "column": 39 + }, + "identifierName": "c" + }, + "name": "c" + }, + "property": { + "type": "Identifier", + "start": 2839, + "end": 2845, + "loc": { + "start": { + "line": 136, + "column": 40 + }, + "end": { + "line": 136, + "column": 46 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + ] + } + }, + { + "type": "ReturnStatement", + "start": 2851, + "end": 2895, + "loc": { + "start": { + "line": 138, + "column": 2 + }, + "end": { + "line": 138, + "column": 46 + } + }, + "argument": { + "type": "NewExpression", + "start": 2858, + "end": 2894, + "loc": { + "start": { + "line": 138, + "column": 9 + }, + "end": { + "line": 138, + "column": 45 + } + }, + "callee": { + "type": "Identifier", + "start": 2862, + "end": 2869, + "loc": { + "start": { + "line": 138, + "column": 13 + }, + "end": { + "line": 138, + "column": 20 + }, + "identifierName": "Integer" + }, + "name": "Integer" + }, + "arguments": [ + { + "type": "Identifier", + "start": 2870, + "end": 2871, + "loc": { + "start": { + "line": 138, + "column": 21 + }, + "end": { + "line": 138, + "column": 22 + }, + "identifierName": "r" + }, + "name": "r" + }, + { + "type": "MemberExpression", + "start": 2873, + "end": 2890, + "loc": { + "start": { + "line": 138, + "column": 24 + }, + "end": { + "line": 138, + "column": 41 + } + }, + "object": { + "type": "ThisExpression", + "start": 2873, + "end": 2877, + "loc": { + "start": { + "line": 138, + "column": 24 + }, + "end": { + "line": 138, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "start": 2878, + "end": 2890, + "loc": { + "start": { + "line": 138, + "column": 29 + }, + "end": { + "line": 138, + "column": 41 + }, + "identifierName": "_is_negative" + }, + "name": "_is_negative" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 2892, + "end": 2893, + "loc": { + "start": { + "line": 138, + "column": 43 + }, + "end": { + "line": 138, + "column": 44 + }, + "identifierName": "c" + }, + "name": "c" + } + ] } } ], @@ -9324,15 +9285,15 @@ }, { "type": "ClassMethod", - "start": 3106, - "end": 3214, + "start": 2901, + "end": 3006, "loc": { "start": { - "line": 147, + "line": 141, "column": 1 }, "end": { - "line": 150, + "line": 144, "column": 2 } }, @@ -9340,15 +9301,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3106, - "end": 3110, + "start": 2901, + "end": 2905, "loc": { "start": { - "line": 147, + "line": 141, "column": 1 }, "end": { - "line": 147, + "line": 141, "column": 5 }, "identifierName": "isub" @@ -9363,16 +9324,16 @@ "params": [ { "type": "Identifier", - "start": 3113, - "end": 3118, + "start": 2906, + "end": 2911, "loc": { "start": { - "line": 147, - "column": 8 + "line": 141, + "column": 6 }, "end": { - "line": 147, - "column": 13 + "line": 141, + "column": 11 }, "identifierName": "other" }, @@ -9381,100 +9342,100 @@ ], "body": { "type": "BlockStatement", - "start": 3121, - "end": 3214, + "start": 2913, + "end": 3006, "loc": { "start": { - "line": 147, - "column": 16 + "line": 141, + "column": 13 }, "end": { - "line": 150, + "line": 144, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 3177, - "end": 3211, + "start": 2969, + "end": 3003, "loc": { "start": { - "line": 149, + "line": 143, "column": 2 }, "end": { - "line": 149, + "line": 143, "column": 36 } }, "argument": { "type": "CallExpression", - "start": 3184, - "end": 3210, + "start": 2976, + "end": 3002, "loc": { "start": { - "line": 149, + "line": 143, "column": 9 }, "end": { - "line": 149, + "line": 143, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 3184, - "end": 3204, + "start": 2976, + "end": 2996, "loc": { "start": { - "line": 149, + "line": 143, "column": 9 }, "end": { - "line": 149, + "line": 143, "column": 29 } }, "object": { "type": "CallExpression", - "start": 3184, - "end": 3199, + "start": 2976, + "end": 2991, "loc": { "start": { - "line": 149, + "line": 143, "column": 9 }, "end": { - "line": 149, + "line": 143, "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 3184, - "end": 3192, + "start": 2976, + "end": 2984, "loc": { "start": { - "line": 149, + "line": 143, "column": 9 }, "end": { - "line": 149, + "line": 143, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 3184, - "end": 3188, + "start": 2976, + "end": 2980, "loc": { "start": { - "line": 149, + "line": 143, "column": 9 }, "end": { - "line": 149, + "line": 143, "column": 13 } }, @@ -9482,15 +9443,15 @@ }, "property": { "type": "Identifier", - "start": 3189, - "end": 3192, + "start": 2981, + "end": 2984, "loc": { "start": { - "line": 149, + "line": 143, "column": 14 }, "end": { - "line": 149, + "line": 143, "column": 17 }, "identifierName": "sub" @@ -9503,15 +9464,15 @@ "arguments": [ { "type": "Identifier", - "start": 3193, - "end": 3198, + "start": 2985, + "end": 2990, "loc": { "start": { - "line": 149, + "line": 143, "column": 18 }, "end": { - "line": 149, + "line": 143, "column": 23 }, "identifierName": "other" @@ -9523,15 +9484,15 @@ }, "property": { "type": "Identifier", - "start": 3200, - "end": 3204, + "start": 2992, + "end": 2996, "loc": { "start": { - "line": 149, + "line": 143, "column": 25 }, "end": { - "line": 149, + "line": 143, "column": 29 }, "identifierName": "move" @@ -9544,15 +9505,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 3205, - "end": 3209, + "start": 2997, + "end": 3001, "loc": { "start": { - "line": 149, + "line": 143, "column": 30 }, "end": { - "line": 149, + "line": 143, "column": 34 } } @@ -9564,15 +9525,15 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 3125, - "end": 3174, + "start": 2917, + "end": 2966, "loc": { "start": { - "line": 148, + "line": 142, "column": 2 }, "end": { - "line": 148, + "line": 142, "column": 51 } } @@ -9585,15 +9546,15 @@ }, { "type": "ClassMethod", - "start": 3217, - "end": 3278, + "start": 3009, + "end": 3067, "loc": { "start": { - "line": 152, + "line": 146, "column": 1 }, "end": { - "line": 154, + "line": 148, "column": 2 } }, @@ -9601,15 +9562,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3217, - "end": 3221, + "start": 3009, + "end": 3013, "loc": { "start": { - "line": 152, + "line": 146, "column": 1 }, "end": { - "line": 152, + "line": 146, "column": 5 }, "identifierName": "subn" @@ -9624,16 +9585,16 @@ "params": [ { "type": "Identifier", - "start": 3224, - "end": 3230, + "start": 3014, + "end": 3020, "loc": { "start": { - "line": 152, - "column": 8 + "line": 146, + "column": 6 }, "end": { - "line": 152, - "column": 14 + "line": 146, + "column": 12 }, "identifierName": "number" }, @@ -9642,87 +9603,87 @@ ], "body": { "type": "BlockStatement", - "start": 3233, - "end": 3278, + "start": 3022, + "end": 3067, "loc": { "start": { - "line": 152, - "column": 17 + "line": 146, + "column": 14 }, "end": { - "line": 154, + "line": 148, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 3237, - "end": 3275, + "start": 3026, + "end": 3064, "loc": { "start": { - "line": 153, + "line": 147, "column": 2 }, "end": { - "line": 153, + "line": 147, "column": 40 } }, "argument": { "type": "CallExpression", - "start": 3244, - "end": 3274, + "start": 3033, + "end": 3063, "loc": { "start": { - "line": 153, + "line": 147, "column": 9 }, "end": { - "line": 153, + "line": 147, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 3244, - "end": 3252, + "start": 3033, + "end": 3041, "loc": { "start": { - "line": 153, + "line": 147, "column": 9 }, "end": { - "line": 153, + "line": 147, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 3244, - "end": 3248, + "start": 3033, + "end": 3037, "loc": { "start": { - "line": 153, + "line": 147, "column": 9 }, "end": { - "line": 153, + "line": 147, "column": 13 } } }, "property": { "type": "Identifier", - "start": 3249, - "end": 3252, + "start": 3038, + "end": 3041, "loc": { "start": { - "line": 153, + "line": 147, "column": 14 }, "end": { - "line": 153, + "line": 147, "column": 17 }, "identifierName": "sub" @@ -9734,29 +9695,29 @@ "arguments": [ { "type": "CallExpression", - "start": 3253, - "end": 3273, + "start": 3042, + "end": 3062, "loc": { "start": { - "line": 153, + "line": 147, "column": 18 }, "end": { - "line": 153, + "line": 147, "column": 38 } }, "callee": { "type": "Identifier", - "start": 3253, - "end": 3265, + "start": 3042, + "end": 3054, "loc": { "start": { - "line": 153, + "line": 147, "column": 18 }, "end": { - "line": 153, + "line": 147, "column": 30 }, "identifierName": "_from_number" @@ -9766,15 +9727,15 @@ "arguments": [ { "type": "Identifier", - "start": 3266, - "end": 3272, + "start": 3055, + "end": 3061, "loc": { "start": { - "line": 153, + "line": 147, "column": 31 }, "end": { - "line": 153, + "line": 147, "column": 37 }, "identifierName": "number" @@ -9792,15 +9753,15 @@ }, { "type": "ClassMethod", - "start": 3281, - "end": 3341, + "start": 3070, + "end": 3127, "loc": { "start": { - "line": 156, + "line": 150, "column": 1 }, "end": { - "line": 158, + "line": 152, "column": 2 } }, @@ -9808,15 +9769,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3281, - "end": 3286, + "start": 3070, + "end": 3075, "loc": { "start": { - "line": 156, + "line": 150, "column": 1 }, "end": { - "line": 156, + "line": 150, "column": 6 }, "identifierName": "isubn" @@ -9831,16 +9792,16 @@ "params": [ { "type": "Identifier", - "start": 3289, - "end": 3295, + "start": 3076, + "end": 3082, "loc": { "start": { - "line": 156, - "column": 9 + "line": 150, + "column": 7 }, "end": { - "line": 156, - "column": 15 + "line": 150, + "column": 13 }, "identifierName": "number" }, @@ -9849,115 +9810,115 @@ ], "body": { "type": "BlockStatement", - "start": 3298, - "end": 3341, + "start": 3084, + "end": 3127, "loc": { "start": { - "line": 156, - "column": 18 + "line": 150, + "column": 15 }, "end": { - "line": 158, + "line": 152, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 3302, - "end": 3338, + "start": 3088, + "end": 3124, "loc": { "start": { - "line": 157, + "line": 151, "column": 2 }, "end": { - "line": 157, + "line": 151, "column": 38 } }, "argument": { "type": "CallExpression", - "start": 3309, - "end": 3337, + "start": 3095, + "end": 3123, "loc": { "start": { - "line": 157, + "line": 151, "column": 9 }, "end": { - "line": 157, + "line": 151, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 3309, - "end": 3331, + "start": 3095, + "end": 3117, "loc": { "start": { - "line": 157, + "line": 151, "column": 9 }, "end": { - "line": 157, + "line": 151, "column": 31 } }, "object": { "type": "CallExpression", - "start": 3309, - "end": 3326, + "start": 3095, + "end": 3112, "loc": { "start": { - "line": 157, + "line": 151, "column": 9 }, "end": { - "line": 157, + "line": 151, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 3309, - "end": 3318, + "start": 3095, + "end": 3104, "loc": { "start": { - "line": 157, + "line": 151, "column": 9 }, "end": { - "line": 157, + "line": 151, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 3309, - "end": 3313, + "start": 3095, + "end": 3099, "loc": { "start": { - "line": 157, + "line": 151, "column": 9 }, "end": { - "line": 157, + "line": 151, "column": 13 } } }, "property": { "type": "Identifier", - "start": 3314, - "end": 3318, + "start": 3100, + "end": 3104, "loc": { "start": { - "line": 157, + "line": 151, "column": 14 }, "end": { - "line": 157, + "line": 151, "column": 18 }, "identifierName": "subn" @@ -9969,15 +9930,15 @@ "arguments": [ { "type": "Identifier", - "start": 3319, - "end": 3325, + "start": 3105, + "end": 3111, "loc": { "start": { - "line": 157, + "line": 151, "column": 19 }, "end": { - "line": 157, + "line": 151, "column": 25 }, "identifierName": "number" @@ -9988,15 +9949,15 @@ }, "property": { "type": "Identifier", - "start": 3327, - "end": 3331, + "start": 3113, + "end": 3117, "loc": { "start": { - "line": 157, + "line": 151, "column": 27 }, "end": { - "line": 157, + "line": 151, "column": 31 }, "identifierName": "move" @@ -10008,15 +9969,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 3332, - "end": 3336, + "start": 3118, + "end": 3122, "loc": { "start": { - "line": 157, + "line": 151, "column": 32 }, "end": { - "line": 157, + "line": 151, "column": 36 } } @@ -10030,15 +9991,15 @@ }, { "type": "ClassMethod", - "start": 3344, - "end": 3693, + "start": 3130, + "end": 3452, "loc": { "start": { - "line": 160, + "line": 154, "column": 1 }, "end": { - "line": 175, + "line": 167, "column": 2 } }, @@ -10046,15 +10007,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3344, - "end": 3347, + "start": 3130, + "end": 3133, "loc": { "start": { - "line": 160, + "line": 154, "column": 1 }, "end": { - "line": 160, + "line": 154, "column": 4 }, "identifierName": "mul" @@ -10069,16 +10030,16 @@ "params": [ { "type": "Identifier", - "start": 3350, - "end": 3355, + "start": 3134, + "end": 3139, "loc": { "start": { - "line": 160, - "column": 7 + "line": 154, + "column": 5 }, "end": { - "line": 160, - "column": 12 + "line": 154, + "column": 10 }, "identifierName": "other" }, @@ -10087,59 +10048,59 @@ ], "body": { "type": "BlockStatement", - "start": 3358, - "end": 3693, + "start": 3141, + "end": 3452, "loc": { "start": { - "line": 160, - "column": 15 + "line": 154, + "column": 12 }, "end": { - "line": 175, + "line": 167, "column": 2 } }, "body": [ { "type": "VariableDeclaration", - "start": 3363, - "end": 3428, + "start": 3145, + "end": 3211, "loc": { "start": { - "line": 162, + "line": 155, "column": 2 }, "end": { - "line": 162, - "column": 67 + "line": 155, + "column": 68 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3369, - "end": 3426, + "start": 3151, + "end": 3210, "loc": { "start": { - "line": 162, + "line": 155, "column": 8 }, "end": { - "line": 162, - "column": 65 + "line": 155, + "column": 67 } }, "id": { "type": "Identifier", - "start": 3369, - "end": 3387, + "start": 3151, + "end": 3169, "loc": { "start": { - "line": 162, + "line": 155, "column": 8 }, "end": { - "line": 162, + "line": 155, "column": 26 }, "identifierName": "result_is_negative" @@ -10148,93 +10109,93 @@ }, "init": { "type": "BinaryExpression", - "start": 3390, - "end": 3426, + "start": 3172, + "end": 3210, "loc": { "start": { - "line": 162, + "line": 155, "column": 29 }, "end": { - "line": 162, - "column": 65 + "line": 155, + "column": 67 } }, "left": { "type": "MemberExpression", - "start": 3390, - "end": 3406, + "start": 3172, + "end": 3189, "loc": { "start": { - "line": 162, + "line": 155, "column": 29 }, "end": { - "line": 162, - "column": 45 + "line": 155, + "column": 46 } }, "object": { "type": "ThisExpression", - "start": 3390, - "end": 3394, + "start": 3172, + "end": 3176, "loc": { "start": { - "line": 162, + "line": 155, "column": 29 }, "end": { - "line": 162, + "line": 155, "column": 33 } } }, "property": { "type": "Identifier", - "start": 3395, - "end": 3406, + "start": 3177, + "end": 3189, "loc": { "start": { - "line": 162, + "line": 155, "column": 34 }, "end": { - "line": 162, - "column": 45 + "line": 155, + "column": 46 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false }, "operator": "^", "right": { "type": "MemberExpression", - "start": 3409, - "end": 3426, + "start": 3192, + "end": 3210, "loc": { "start": { - "line": 162, - "column": 48 + "line": 155, + "column": 49 }, "end": { - "line": 162, - "column": 65 + "line": 155, + "column": 67 } }, "object": { "type": "Identifier", - "start": 3409, - "end": 3414, + "start": 3192, + "end": 3197, "loc": { "start": { - "line": 162, - "column": 48 + "line": 155, + "column": 49 }, "end": { - "line": 162, - "column": 53 + "line": 155, + "column": 54 }, "identifierName": "other" }, @@ -10242,20 +10203,20 @@ }, "property": { "type": "Identifier", - "start": 3415, - "end": 3426, + "start": 3198, + "end": 3210, "loc": { "start": { - "line": 162, - "column": 54 + "line": 155, + "column": 55 }, "end": { - "line": 162, - "column": 65 + "line": 155, + "column": 67 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false } @@ -10266,44 +10227,44 @@ }, { "type": "VariableDeclaration", - "start": 3431, - "end": 3452, + "start": 3214, + "end": 3235, "loc": { "start": { - "line": 163, + "line": 156, "column": 2 }, "end": { - "line": 163, + "line": 156, "column": 23 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3437, - "end": 3450, + "start": 3220, + "end": 3234, "loc": { "start": { - "line": 163, + "line": 156, "column": 8 }, "end": { - "line": 163, - "column": 21 + "line": 156, + "column": 22 } }, "id": { "type": "Identifier", - "start": 3437, - "end": 3438, + "start": 3220, + "end": 3221, "loc": { "start": { - "line": 163, + "line": 156, "column": 8 }, "end": { - "line": 163, + "line": 156, "column": 9 }, "identifierName": "r" @@ -10312,49 +10273,49 @@ }, "init": { "type": "MemberExpression", - "start": 3441, - "end": 3450, + "start": 3224, + "end": 3234, "loc": { "start": { - "line": 163, + "line": 156, "column": 12 }, "end": { - "line": 163, - "column": 21 + "line": 156, + "column": 22 } }, "object": { "type": "ThisExpression", - "start": 3441, - "end": 3445, + "start": 3224, + "end": 3228, "loc": { "start": { - "line": 163, + "line": 156, "column": 12 }, "end": { - "line": 163, + "line": 156, "column": 16 } } }, "property": { "type": "Identifier", - "start": 3446, - "end": 3450, + "start": 3229, + "end": 3234, "loc": { "start": { - "line": 163, + "line": 156, "column": 17 }, "end": { - "line": 163, - "column": 21 + "line": 156, + "column": 22 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false } @@ -10364,44 +10325,44 @@ }, { "type": "VariableDeclaration", - "start": 3456, - "end": 3478, + "start": 3239, + "end": 3261, "loc": { "start": { - "line": 165, + "line": 158, "column": 2 }, "end": { - "line": 165, + "line": 158, "column": 24 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3462, - "end": 3476, + "start": 3245, + "end": 3260, "loc": { "start": { - "line": 165, + "line": 158, "column": 8 }, "end": { - "line": 165, - "column": 22 + "line": 158, + "column": 23 } }, "id": { "type": "Identifier", - "start": 3462, - "end": 3463, + "start": 3245, + "end": 3246, "loc": { "start": { - "line": 165, + "line": 158, "column": 8 }, "end": { - "line": 165, + "line": 158, "column": 9 }, "identifierName": "a" @@ -10410,49 +10371,49 @@ }, "init": { "type": "MemberExpression", - "start": 3466, - "end": 3476, + "start": 3249, + "end": 3260, "loc": { "start": { - "line": 165, + "line": 158, "column": 12 }, "end": { - "line": 165, - "column": 22 + "line": 158, + "column": 23 } }, "object": { "type": "ThisExpression", - "start": 3466, - "end": 3470, + "start": 3249, + "end": 3253, "loc": { "start": { - "line": 165, + "line": 158, "column": 12 }, "end": { - "line": 165, + "line": 158, "column": 16 } } }, "property": { "type": "Identifier", - "start": 3471, - "end": 3476, + "start": 3254, + "end": 3260, "loc": { "start": { - "line": 165, + "line": 158, "column": 17 }, "end": { - "line": 165, - "column": 22 + "line": 158, + "column": 23 }, - "identifierName": "limbs" + "identifierName": "_limbs" }, - "name": "limbs" + "name": "_limbs" }, "computed": false } @@ -10462,44 +10423,44 @@ }, { "type": "VariableDeclaration", - "start": 3482, - "end": 3519, + "start": 3265, + "end": 3299, "loc": { "start": { - "line": 167, + "line": 160, "column": 2 }, "end": { - "line": 167, - "column": 39 + "line": 160, + "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3488, - "end": 3517, + "start": 3271, + "end": 3298, "loc": { "start": { - "line": 167, + "line": 160, "column": 8 }, "end": { - "line": 167, - "column": 37 + "line": 160, + "column": 35 } }, "id": { "type": "Identifier", - "start": 3488, - "end": 3489, + "start": 3271, + "end": 3272, "loc": { "start": { - "line": 167, + "line": 160, "column": 8 }, "end": { - "line": 167, + "line": 160, "column": 9 }, "identifierName": "b" @@ -10508,43 +10469,43 @@ }, "init": { "type": "CallExpression", - "start": 3492, - "end": 3517, + "start": 3275, + "end": 3298, "loc": { "start": { - "line": 167, + "line": 160, "column": 12 }, "end": { - "line": 167, - "column": 37 + "line": 160, + "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 3492, - "end": 3512, + "start": 3275, + "end": 3295, "loc": { "start": { - "line": 167, + "line": 160, "column": 12 }, "end": { - "line": 167, + "line": 160, "column": 32 } }, "object": { "type": "Identifier", - "start": 3492, - "end": 3497, + "start": 3275, + "end": 3280, "loc": { "start": { - "line": 167, + "line": 160, "column": 12 }, "end": { - "line": 167, + "line": 160, "column": 17 }, "identifierName": "other" @@ -10553,15 +10514,15 @@ }, "property": { "type": "Identifier", - "start": 3498, - "end": 3512, + "start": 3281, + "end": 3295, "loc": { "start": { - "line": 167, + "line": 160, "column": 18 }, "end": { - "line": 167, + "line": 160, "column": 32 }, "identifierName": "_limbs_in_base" @@ -10573,16 +10534,16 @@ "arguments": [ { "type": "Identifier", - "start": 3514, - "end": 3515, + "start": 3296, + "end": 3297, "loc": { "start": { - "line": 167, - "column": 34 + "line": 160, + "column": 33 }, "end": { - "line": 167, - "column": 35 + "line": 160, + "column": 34 }, "identifierName": "r" }, @@ -10596,44 +10557,44 @@ }, { "type": "VariableDeclaration", - "start": 3523, - "end": 3564, + "start": 3303, + "end": 3341, "loc": { "start": { - "line": 169, + "line": 162, "column": 2 }, "end": { - "line": 169, - "column": 43 + "line": 162, + "column": 40 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3529, - "end": 3562, + "start": 3309, + "end": 3340, "loc": { "start": { - "line": 169, + "line": 162, "column": 8 }, "end": { - "line": 169, - "column": 41 + "line": 162, + "column": 39 } }, "id": { "type": "Identifier", - "start": 3529, - "end": 3530, + "start": 3309, + "end": 3310, "loc": { "start": { - "line": 169, + "line": 162, "column": 8 }, "end": { - "line": 169, + "line": 162, "column": 9 }, "identifierName": "c" @@ -10642,29 +10603,29 @@ }, "init": { "type": "CallExpression", - "start": 3533, - "end": 3562, + "start": 3313, + "end": 3340, "loc": { "start": { - "line": 169, + "line": 162, "column": 12 }, "end": { - "line": 169, - "column": 41 + "line": 162, + "column": 39 } }, "callee": { "type": "Identifier", - "start": 3533, - "end": 3539, + "start": 3313, + "end": 3319, "loc": { "start": { - "line": 169, + "line": 162, "column": 12 }, "end": { - "line": 169, + "line": 162, "column": 18 }, "identifierName": "_zeros" @@ -10674,44 +10635,44 @@ "arguments": [ { "type": "BinaryExpression", - "start": 3541, - "end": 3560, + "start": 3320, + "end": 3339, "loc": { "start": { - "line": 169, - "column": 20 + "line": 162, + "column": 19 }, "end": { - "line": 169, - "column": 39 + "line": 162, + "column": 38 } }, "left": { "type": "MemberExpression", - "start": 3541, - "end": 3549, + "start": 3320, + "end": 3328, "loc": { "start": { - "line": 169, - "column": 20 + "line": 162, + "column": 19 }, "end": { - "line": 169, - "column": 28 + "line": 162, + "column": 27 } }, "object": { "type": "Identifier", - "start": 3541, - "end": 3542, + "start": 3320, + "end": 3321, "loc": { "start": { - "line": 169, - "column": 20 + "line": 162, + "column": 19 }, "end": { - "line": 169, - "column": 21 + "line": 162, + "column": 20 }, "identifierName": "a" }, @@ -10719,16 +10680,16 @@ }, "property": { "type": "Identifier", - "start": 3543, - "end": 3549, + "start": 3322, + "end": 3328, "loc": { "start": { - "line": 169, - "column": 22 + "line": 162, + "column": 21 }, "end": { - "line": 169, - "column": 28 + "line": 162, + "column": 27 }, "identifierName": "length" }, @@ -10739,30 +10700,30 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 3552, - "end": 3560, + "start": 3331, + "end": 3339, "loc": { "start": { - "line": 169, - "column": 31 + "line": 162, + "column": 30 }, "end": { - "line": 169, - "column": 39 + "line": 162, + "column": 38 } }, "object": { "type": "Identifier", - "start": 3552, - "end": 3553, + "start": 3331, + "end": 3332, "loc": { "start": { - "line": 169, - "column": 31 + "line": 162, + "column": 30 }, "end": { - "line": 169, - "column": 32 + "line": 162, + "column": 31 }, "identifierName": "b" }, @@ -10770,16 +10731,16 @@ }, "property": { "type": "Identifier", - "start": 3554, - "end": 3560, + "start": 3333, + "end": 3339, "loc": { "start": { - "line": 169, - "column": 33 + "line": 162, + "column": 32 }, "end": { - "line": 169, - "column": 39 + "line": 162, + "column": 38 }, "identifierName": "length" }, @@ -10796,43 +10757,43 @@ }, { "type": "ExpressionStatement", - "start": 3568, - "end": 3635, + "start": 3345, + "end": 3400, "loc": { "start": { - "line": 171, + "line": 164, "column": 2 }, "end": { - "line": 171, - "column": 69 + "line": 164, + "column": 57 } }, "expression": { "type": "CallExpression", - "start": 3568, - "end": 3633, + "start": 3345, + "end": 3399, "loc": { "start": { - "line": 171, + "line": 164, "column": 2 }, "end": { - "line": 171, - "column": 67 + "line": 164, + "column": 56 } }, "callee": { "type": "Identifier", - "start": 3568, - "end": 3571, + "start": 3345, + "end": 3348, "loc": { "start": { - "line": 171, + "line": 164, "column": 2 }, "end": { - "line": 171, + "line": 164, "column": 5 }, "identifierName": "mul" @@ -10842,16 +10803,16 @@ "arguments": [ { "type": "Identifier", - "start": 3573, - "end": 3574, + "start": 3349, + "end": 3350, "loc": { "start": { - "line": 171, - "column": 7 + "line": 164, + "column": 6 }, "end": { - "line": 171, - "column": 8 + "line": 164, + "column": 7 }, "identifierName": "r" }, @@ -10859,16 +10820,16 @@ }, { "type": "Identifier", - "start": 3577, - "end": 3578, + "start": 3352, + "end": 3353, "loc": { "start": { - "line": 171, - "column": 11 + "line": 164, + "column": 9 }, "end": { - "line": 171, - "column": 12 + "line": 164, + "column": 10 }, "identifierName": "a" }, @@ -10876,16 +10837,16 @@ }, { "type": "NumericLiteral", - "start": 3581, - "end": 3582, + "start": 3355, + "end": 3356, "loc": { "start": { - "line": 171, - "column": 15 + "line": 164, + "column": 12 }, "end": { - "line": 171, - "column": 16 + "line": 164, + "column": 13 } }, "extra": { @@ -10896,30 +10857,30 @@ }, { "type": "MemberExpression", - "start": 3585, - "end": 3593, + "start": 3358, + "end": 3366, "loc": { "start": { - "line": 171, - "column": 19 + "line": 164, + "column": 15 }, "end": { - "line": 171, - "column": 27 + "line": 164, + "column": 23 } }, "object": { "type": "Identifier", - "start": 3585, - "end": 3586, + "start": 3358, + "end": 3359, "loc": { "start": { - "line": 171, - "column": 19 + "line": 164, + "column": 15 }, "end": { - "line": 171, - "column": 20 + "line": 164, + "column": 16 }, "identifierName": "a" }, @@ -10927,16 +10888,16 @@ }, "property": { "type": "Identifier", - "start": 3587, - "end": 3593, + "start": 3360, + "end": 3366, "loc": { "start": { - "line": 171, - "column": 21 + "line": 164, + "column": 17 }, "end": { - "line": 171, - "column": 27 + "line": 164, + "column": 23 }, "identifierName": "length" }, @@ -10946,16 +10907,16 @@ }, { "type": "Identifier", - "start": 3596, - "end": 3597, + "start": 3368, + "end": 3369, "loc": { "start": { - "line": 171, - "column": 30 + "line": 164, + "column": 25 }, "end": { - "line": 171, - "column": 31 + "line": 164, + "column": 26 }, "identifierName": "b" }, @@ -10963,16 +10924,16 @@ }, { "type": "NumericLiteral", - "start": 3600, - "end": 3601, + "start": 3371, + "end": 3372, "loc": { "start": { - "line": 171, - "column": 34 + "line": 164, + "column": 28 }, "end": { - "line": 171, - "column": 35 + "line": 164, + "column": 29 } }, "extra": { @@ -10983,30 +10944,30 @@ }, { "type": "MemberExpression", - "start": 3604, - "end": 3612, + "start": 3374, + "end": 3382, "loc": { "start": { - "line": 171, - "column": 38 + "line": 164, + "column": 31 }, "end": { - "line": 171, - "column": 46 + "line": 164, + "column": 39 } }, "object": { "type": "Identifier", - "start": 3604, - "end": 3605, + "start": 3374, + "end": 3375, "loc": { "start": { - "line": 171, - "column": 38 + "line": 164, + "column": 31 }, "end": { - "line": 171, - "column": 39 + "line": 164, + "column": 32 }, "identifierName": "b" }, @@ -11014,16 +10975,16 @@ }, "property": { "type": "Identifier", - "start": 3606, - "end": 3612, + "start": 3376, + "end": 3382, "loc": { "start": { - "line": 171, - "column": 40 + "line": 164, + "column": 33 }, "end": { - "line": 171, - "column": 46 + "line": 164, + "column": 39 }, "identifierName": "length" }, @@ -11033,16 +10994,16 @@ }, { "type": "Identifier", - "start": 3615, - "end": 3616, + "start": 3384, + "end": 3385, "loc": { "start": { - "line": 171, - "column": 49 + "line": 164, + "column": 41 }, "end": { - "line": 171, - "column": 50 + "line": 164, + "column": 42 }, "identifierName": "c" }, @@ -11050,16 +11011,16 @@ }, { "type": "NumericLiteral", - "start": 3619, - "end": 3620, + "start": 3387, + "end": 3388, "loc": { "start": { - "line": 171, - "column": 53 + "line": 164, + "column": 44 }, "end": { - "line": 171, - "column": 54 + "line": 164, + "column": 45 } }, "extra": { @@ -11070,30 +11031,30 @@ }, { "type": "MemberExpression", - "start": 3623, - "end": 3631, + "start": 3390, + "end": 3398, "loc": { "start": { - "line": 171, - "column": 57 + "line": 164, + "column": 47 }, "end": { - "line": 171, - "column": 65 + "line": 164, + "column": 55 } }, "object": { "type": "Identifier", - "start": 3623, - "end": 3624, + "start": 3390, + "end": 3391, "loc": { "start": { - "line": 171, - "column": 57 + "line": 164, + "column": 47 }, "end": { - "line": 171, - "column": 58 + "line": 164, + "column": 48 }, "identifierName": "c" }, @@ -11101,16 +11062,16 @@ }, "property": { "type": "Identifier", - "start": 3625, - "end": 3631, + "start": 3392, + "end": 3398, "loc": { "start": { - "line": 171, - "column": 59 + "line": 164, + "column": 49 }, "end": { - "line": 171, - "column": 65 + "line": 164, + "column": 55 }, "identifierName": "length" }, @@ -11123,43 +11084,43 @@ }, { "type": "ReturnStatement", - "start": 3639, - "end": 3689, + "start": 3404, + "end": 3449, "loc": { "start": { - "line": 173, + "line": 166, "column": 2 }, "end": { - "line": 173, - "column": 52 + "line": 166, + "column": 47 } }, "argument": { "type": "NewExpression", - "start": 3646, - "end": 3687, + "start": 3411, + "end": 3448, "loc": { "start": { - "line": 173, + "line": 166, "column": 9 }, "end": { - "line": 173, - "column": 50 + "line": 166, + "column": 46 } }, "callee": { "type": "Identifier", - "start": 3650, - "end": 3657, + "start": 3415, + "end": 3422, "loc": { "start": { - "line": 173, + "line": 166, "column": 13 }, "end": { - "line": 173, + "line": 166, "column": 20 }, "identifierName": "Integer" @@ -11169,16 +11130,16 @@ "arguments": [ { "type": "Identifier", - "start": 3659, - "end": 3660, + "start": 3423, + "end": 3424, "loc": { "start": { - "line": 173, - "column": 22 + "line": 166, + "column": 21 }, "end": { - "line": 173, - "column": 23 + "line": 166, + "column": 22 }, "identifierName": "r" }, @@ -11186,16 +11147,16 @@ }, { "type": "Identifier", - "start": 3663, - "end": 3681, + "start": 3426, + "end": 3444, "loc": { "start": { - "line": 173, - "column": 26 + "line": 166, + "column": 24 }, "end": { - "line": 173, - "column": 44 + "line": 166, + "column": 42 }, "identifierName": "result_is_negative" }, @@ -11203,16 +11164,16 @@ }, { "type": "Identifier", - "start": 3684, - "end": 3685, + "start": 3446, + "end": 3447, "loc": { "start": { - "line": 173, - "column": 47 + "line": 166, + "column": 44 }, "end": { - "line": 173, - "column": 48 + "line": 166, + "column": 45 }, "identifierName": "c" }, @@ -11227,15 +11188,15 @@ }, { "type": "ClassMethod", - "start": 3696, - "end": 3804, + "start": 3455, + "end": 3560, "loc": { "start": { - "line": 177, + "line": 169, "column": 1 }, "end": { - "line": 180, + "line": 172, "column": 2 } }, @@ -11243,15 +11204,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3696, - "end": 3700, + "start": 3455, + "end": 3459, "loc": { "start": { - "line": 177, + "line": 169, "column": 1 }, "end": { - "line": 177, + "line": 169, "column": 5 }, "identifierName": "imul" @@ -11266,16 +11227,16 @@ "params": [ { "type": "Identifier", - "start": 3703, - "end": 3708, + "start": 3460, + "end": 3465, "loc": { "start": { - "line": 177, - "column": 8 + "line": 169, + "column": 6 }, "end": { - "line": 177, - "column": 13 + "line": 169, + "column": 11 }, "identifierName": "other" }, @@ -11284,100 +11245,100 @@ ], "body": { "type": "BlockStatement", - "start": 3711, - "end": 3804, + "start": 3467, + "end": 3560, "loc": { "start": { - "line": 177, - "column": 16 + "line": 169, + "column": 13 }, "end": { - "line": 180, + "line": 172, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 3767, - "end": 3801, + "start": 3523, + "end": 3557, "loc": { "start": { - "line": 179, + "line": 171, "column": 2 }, "end": { - "line": 179, + "line": 171, "column": 36 } }, "argument": { "type": "CallExpression", - "start": 3774, - "end": 3800, + "start": 3530, + "end": 3556, "loc": { "start": { - "line": 179, + "line": 171, "column": 9 }, "end": { - "line": 179, + "line": 171, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 3774, - "end": 3794, + "start": 3530, + "end": 3550, "loc": { "start": { - "line": 179, + "line": 171, "column": 9 }, "end": { - "line": 179, + "line": 171, "column": 29 } }, "object": { "type": "CallExpression", - "start": 3774, - "end": 3789, + "start": 3530, + "end": 3545, "loc": { "start": { - "line": 179, + "line": 171, "column": 9 }, "end": { - "line": 179, + "line": 171, "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 3774, - "end": 3782, + "start": 3530, + "end": 3538, "loc": { "start": { - "line": 179, + "line": 171, "column": 9 }, "end": { - "line": 179, + "line": 171, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 3774, - "end": 3778, + "start": 3530, + "end": 3534, "loc": { "start": { - "line": 179, + "line": 171, "column": 9 }, "end": { - "line": 179, + "line": 171, "column": 13 } }, @@ -11385,15 +11346,15 @@ }, "property": { "type": "Identifier", - "start": 3779, - "end": 3782, + "start": 3535, + "end": 3538, "loc": { "start": { - "line": 179, + "line": 171, "column": 14 }, "end": { - "line": 179, + "line": 171, "column": 17 }, "identifierName": "mul" @@ -11406,15 +11367,15 @@ "arguments": [ { "type": "Identifier", - "start": 3783, - "end": 3788, + "start": 3539, + "end": 3544, "loc": { "start": { - "line": 179, + "line": 171, "column": 18 }, "end": { - "line": 179, + "line": 171, "column": 23 }, "identifierName": "other" @@ -11426,15 +11387,15 @@ }, "property": { "type": "Identifier", - "start": 3790, - "end": 3794, + "start": 3546, + "end": 3550, "loc": { "start": { - "line": 179, + "line": 171, "column": 25 }, "end": { - "line": 179, + "line": 171, "column": 29 }, "identifierName": "move" @@ -11447,15 +11408,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 3795, - "end": 3799, + "start": 3551, + "end": 3555, "loc": { "start": { - "line": 179, + "line": 171, "column": 30 }, "end": { - "line": 179, + "line": 171, "column": 34 } } @@ -11467,15 +11428,15 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 3715, - "end": 3764, + "start": 3471, + "end": 3520, "loc": { "start": { - "line": 178, + "line": 170, "column": 2 }, "end": { - "line": 178, + "line": 170, "column": 51 } } @@ -11488,15 +11449,15 @@ }, { "type": "ClassMethod", - "start": 3807, - "end": 3868, + "start": 3563, + "end": 3621, "loc": { "start": { - "line": 182, + "line": 174, "column": 1 }, "end": { - "line": 184, + "line": 176, "column": 2 } }, @@ -11504,15 +11465,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3807, - "end": 3811, + "start": 3563, + "end": 3567, "loc": { "start": { - "line": 182, + "line": 174, "column": 1 }, "end": { - "line": 182, + "line": 174, "column": 5 }, "identifierName": "muln" @@ -11527,16 +11488,16 @@ "params": [ { "type": "Identifier", - "start": 3814, - "end": 3820, + "start": 3568, + "end": 3574, "loc": { "start": { - "line": 182, - "column": 8 + "line": 174, + "column": 6 }, "end": { - "line": 182, - "column": 14 + "line": 174, + "column": 12 }, "identifierName": "number" }, @@ -11545,87 +11506,87 @@ ], "body": { "type": "BlockStatement", - "start": 3823, - "end": 3868, + "start": 3576, + "end": 3621, "loc": { "start": { - "line": 182, - "column": 17 + "line": 174, + "column": 14 }, "end": { - "line": 184, + "line": 176, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 3827, - "end": 3865, + "start": 3580, + "end": 3618, "loc": { "start": { - "line": 183, + "line": 175, "column": 2 }, "end": { - "line": 183, + "line": 175, "column": 40 } }, "argument": { "type": "CallExpression", - "start": 3834, - "end": 3864, + "start": 3587, + "end": 3617, "loc": { "start": { - "line": 183, + "line": 175, "column": 9 }, "end": { - "line": 183, + "line": 175, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 3834, - "end": 3842, + "start": 3587, + "end": 3595, "loc": { "start": { - "line": 183, + "line": 175, "column": 9 }, "end": { - "line": 183, + "line": 175, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 3834, - "end": 3838, + "start": 3587, + "end": 3591, "loc": { "start": { - "line": 183, + "line": 175, "column": 9 }, "end": { - "line": 183, + "line": 175, "column": 13 } } }, "property": { "type": "Identifier", - "start": 3839, - "end": 3842, + "start": 3592, + "end": 3595, "loc": { "start": { - "line": 183, + "line": 175, "column": 14 }, "end": { - "line": 183, + "line": 175, "column": 17 }, "identifierName": "mul" @@ -11637,29 +11598,29 @@ "arguments": [ { "type": "CallExpression", - "start": 3843, - "end": 3863, + "start": 3596, + "end": 3616, "loc": { "start": { - "line": 183, + "line": 175, "column": 18 }, "end": { - "line": 183, + "line": 175, "column": 38 } }, "callee": { "type": "Identifier", - "start": 3843, - "end": 3855, + "start": 3596, + "end": 3608, "loc": { "start": { - "line": 183, + "line": 175, "column": 18 }, "end": { - "line": 183, + "line": 175, "column": 30 }, "identifierName": "_from_number" @@ -11669,15 +11630,15 @@ "arguments": [ { "type": "Identifier", - "start": 3856, - "end": 3862, + "start": 3609, + "end": 3615, "loc": { "start": { - "line": 183, + "line": 175, "column": 31 }, "end": { - "line": 183, + "line": 175, "column": 37 }, "identifierName": "number" @@ -11695,15 +11656,15 @@ }, { "type": "ClassMethod", - "start": 3871, - "end": 3931, + "start": 3624, + "end": 3681, "loc": { "start": { - "line": 186, + "line": 178, "column": 1 }, "end": { - "line": 188, + "line": 180, "column": 2 } }, @@ -11711,15 +11672,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3871, - "end": 3876, + "start": 3624, + "end": 3629, "loc": { "start": { - "line": 186, + "line": 178, "column": 1 }, "end": { - "line": 186, + "line": 178, "column": 6 }, "identifierName": "imuln" @@ -11734,16 +11695,16 @@ "params": [ { "type": "Identifier", - "start": 3879, - "end": 3885, + "start": 3630, + "end": 3636, "loc": { "start": { - "line": 186, - "column": 9 + "line": 178, + "column": 7 }, "end": { - "line": 186, - "column": 15 + "line": 178, + "column": 13 }, "identifierName": "number" }, @@ -11752,115 +11713,115 @@ ], "body": { "type": "BlockStatement", - "start": 3888, - "end": 3931, + "start": 3638, + "end": 3681, "loc": { "start": { - "line": 186, - "column": 18 + "line": 178, + "column": 15 }, "end": { - "line": 188, + "line": 180, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 3892, - "end": 3928, + "start": 3642, + "end": 3678, "loc": { "start": { - "line": 187, + "line": 179, "column": 2 }, "end": { - "line": 187, + "line": 179, "column": 38 } }, "argument": { "type": "CallExpression", - "start": 3899, - "end": 3927, + "start": 3649, + "end": 3677, "loc": { "start": { - "line": 187, + "line": 179, "column": 9 }, "end": { - "line": 187, + "line": 179, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 3899, - "end": 3921, + "start": 3649, + "end": 3671, "loc": { "start": { - "line": 187, + "line": 179, "column": 9 }, "end": { - "line": 187, + "line": 179, "column": 31 } }, "object": { "type": "CallExpression", - "start": 3899, - "end": 3916, + "start": 3649, + "end": 3666, "loc": { "start": { - "line": 187, + "line": 179, "column": 9 }, "end": { - "line": 187, + "line": 179, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 3899, - "end": 3908, + "start": 3649, + "end": 3658, "loc": { "start": { - "line": 187, + "line": 179, "column": 9 }, "end": { - "line": 187, + "line": 179, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 3899, - "end": 3903, + "start": 3649, + "end": 3653, "loc": { "start": { - "line": 187, + "line": 179, "column": 9 }, "end": { - "line": 187, + "line": 179, "column": 13 } } }, "property": { "type": "Identifier", - "start": 3904, - "end": 3908, + "start": 3654, + "end": 3658, "loc": { "start": { - "line": 187, + "line": 179, "column": 14 }, "end": { - "line": 187, + "line": 179, "column": 18 }, "identifierName": "muln" @@ -11872,15 +11833,15 @@ "arguments": [ { "type": "Identifier", - "start": 3909, - "end": 3915, + "start": 3659, + "end": 3665, "loc": { "start": { - "line": 187, + "line": 179, "column": 19 }, "end": { - "line": 187, + "line": 179, "column": 25 }, "identifierName": "number" @@ -11891,15 +11852,15 @@ }, "property": { "type": "Identifier", - "start": 3917, - "end": 3921, + "start": 3667, + "end": 3671, "loc": { "start": { - "line": 187, + "line": 179, "column": 27 }, "end": { - "line": 187, + "line": 179, "column": 31 }, "identifierName": "move" @@ -11911,15 +11872,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 3922, - "end": 3926, + "start": 3672, + "end": 3676, "loc": { "start": { - "line": 187, + "line": 179, "column": 32 }, "end": { - "line": 187, + "line": 179, "column": 36 } } @@ -11935,15 +11896,15 @@ { "type": "CommentBlock", "value": "*\n\t * Computes this raised to the xth power.\n\t * x is a double smaller or equal to 2^53.\n\t *\n\t * @param {Number} x The power to raise this to.\n\t * @return {Integer} this ^ x\n\t ", - "start": 3934, - "end": 4179, + "start": 3684, + "end": 3929, "loc": { "start": { - "line": 190, + "line": 182, "column": 1 }, "end": { - "line": 196, + "line": 188, "column": 4 } } @@ -11952,15 +11913,15 @@ }, { "type": "ClassMethod", - "start": 4181, - "end": 4462, + "start": 3931, + "end": 4188, "loc": { "start": { - "line": 197, + "line": 189, "column": 1 }, "end": { - "line": 208, + "line": 198, "column": 2 } }, @@ -11968,15 +11929,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4181, - "end": 4185, + "start": 3931, + "end": 3935, "loc": { "start": { - "line": 197, + "line": 189, "column": 1 }, "end": { - "line": 197, + "line": 189, "column": 5 }, "identifierName": "pown" @@ -11992,16 +11953,16 @@ "params": [ { "type": "Identifier", - "start": 4188, - "end": 4189, + "start": 3936, + "end": 3937, "loc": { "start": { - "line": 197, - "column": 8 + "line": 189, + "column": 6 }, "end": { - "line": 197, - "column": 9 + "line": 189, + "column": 7 }, "identifierName": "x" }, @@ -12010,59 +11971,59 @@ ], "body": { "type": "BlockStatement", - "start": 4192, - "end": 4462, + "start": 3939, + "end": 4188, "loc": { "start": { - "line": 197, - "column": 12 + "line": 189, + "column": 9 }, "end": { - "line": 208, + "line": 198, "column": 2 } }, "body": [ { "type": "VariableDeclaration", - "start": 4197, - "end": 4252, + "start": 3943, + "end": 3998, "loc": { "start": { - "line": 199, + "line": 190, "column": 2 }, "end": { - "line": 199, + "line": 190, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 4203, - "end": 4250, + "start": 3949, + "end": 3997, "loc": { "start": { - "line": 199, + "line": 190, "column": 8 }, "end": { - "line": 199, - "column": 55 + "line": 190, + "column": 56 } }, "id": { "type": "Identifier", - "start": 4203, - "end": 4214, + "start": 3949, + "end": 3960, "loc": { "start": { - "line": 199, + "line": 190, "column": 8 }, "end": { - "line": 199, + "line": 190, "column": 19 }, "identifierName": "is_negative" @@ -12071,107 +12032,107 @@ }, "init": { "type": "ConditionalExpression", - "start": 4217, - "end": 4250, + "start": 3963, + "end": 3997, "loc": { "start": { - "line": 199, + "line": 190, "column": 22 }, "end": { - "line": 199, - "column": 55 + "line": 190, + "column": 56 } }, "test": { "type": "BinaryExpression", - "start": 4217, - "end": 4241, + "start": 3963, + "end": 3988, "loc": { "start": { - "line": 199, + "line": 190, "column": 22 }, "end": { - "line": 199, - "column": 46 + "line": 190, + "column": 47 } }, "left": { "type": "BinaryExpression", - "start": 4217, - "end": 4237, + "start": 3963, + "end": 3984, "loc": { "start": { - "line": 199, + "line": 190, "column": 22 }, "end": { - "line": 199, - "column": 42 + "line": 190, + "column": 43 } }, "left": { "type": "MemberExpression", - "start": 4217, - "end": 4233, + "start": 3963, + "end": 3980, "loc": { "start": { - "line": 199, + "line": 190, "column": 22 }, "end": { - "line": 199, - "column": 38 + "line": 190, + "column": 39 } }, "object": { "type": "ThisExpression", - "start": 4217, - "end": 4221, + "start": 3963, + "end": 3967, "loc": { "start": { - "line": 199, + "line": 190, "column": 22 }, "end": { - "line": 199, + "line": 190, "column": 26 } } }, "property": { "type": "Identifier", - "start": 4222, - "end": 4233, + "start": 3968, + "end": 3980, "loc": { "start": { - "line": 199, + "line": 190, "column": 27 }, "end": { - "line": 199, - "column": 38 + "line": 190, + "column": 39 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false }, "operator": "&", "right": { "type": "Identifier", - "start": 4236, - "end": 4237, + "start": 3983, + "end": 3984, "loc": { "start": { - "line": 199, - "column": 41 + "line": 190, + "column": 42 }, "end": { - "line": 199, - "column": 42 + "line": 190, + "column": 43 }, "identifierName": "x" }, @@ -12181,16 +12142,16 @@ "operator": "&", "right": { "type": "NumericLiteral", - "start": 4240, - "end": 4241, + "start": 3987, + "end": 3988, "loc": { "start": { - "line": 199, - "column": 45 + "line": 190, + "column": 46 }, "end": { - "line": 199, - "column": 46 + "line": 190, + "column": 47 } }, "extra": { @@ -12202,32 +12163,32 @@ }, "consequent": { "type": "UnaryExpression", - "start": 4244, - "end": 4246, + "start": 3991, + "end": 3993, "loc": { "start": { - "line": 199, - "column": 49 + "line": 190, + "column": 50 }, "end": { - "line": 199, - "column": 51 + "line": 190, + "column": 52 } }, "operator": "-", "prefix": true, "argument": { "type": "NumericLiteral", - "start": 4245, - "end": 4246, + "start": 3992, + "end": 3993, "loc": { "start": { - "line": 199, - "column": 50 + "line": 190, + "column": 51 }, "end": { - "line": 199, - "column": 51 + "line": 190, + "column": 52 } }, "extra": { @@ -12242,16 +12203,16 @@ }, "alternate": { "type": "NumericLiteral", - "start": 4249, - "end": 4250, + "start": 3996, + "end": 3997, "loc": { "start": { - "line": 199, - "column": 54 + "line": 190, + "column": 55 }, "end": { - "line": 199, - "column": 55 + "line": 190, + "column": 56 } }, "extra": { @@ -12267,44 +12228,44 @@ }, { "type": "VariableDeclaration", - "start": 4256, - "end": 4278, + "start": 4002, + "end": 4024, "loc": { "start": { - "line": 201, + "line": 192, "column": 2 }, "end": { - "line": 201, + "line": 192, "column": 24 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 4262, - "end": 4276, + "start": 4008, + "end": 4023, "loc": { "start": { - "line": 201, + "line": 192, "column": 8 }, "end": { - "line": 201, - "column": 22 + "line": 192, + "column": 23 } }, "id": { "type": "Identifier", - "start": 4262, - "end": 4263, + "start": 4008, + "end": 4009, "loc": { "start": { - "line": 201, + "line": 192, "column": 8 }, "end": { - "line": 201, + "line": 192, "column": 9 }, "identifierName": "a" @@ -12313,49 +12274,49 @@ }, "init": { "type": "MemberExpression", - "start": 4266, - "end": 4276, + "start": 4012, + "end": 4023, "loc": { "start": { - "line": 201, + "line": 192, "column": 12 }, "end": { - "line": 201, - "column": 22 + "line": 192, + "column": 23 } }, "object": { "type": "ThisExpression", - "start": 4266, - "end": 4270, + "start": 4012, + "end": 4016, "loc": { "start": { - "line": 201, + "line": 192, "column": 12 }, "end": { - "line": 201, + "line": 192, "column": 16 } } }, "property": { "type": "Identifier", - "start": 4271, - "end": 4276, + "start": 4017, + "end": 4023, "loc": { "start": { - "line": 201, + "line": 192, "column": 17 }, "end": { - "line": 201, - "column": 22 + "line": 192, + "column": 23 }, - "identifierName": "limbs" + "identifierName": "_limbs" }, - "name": "limbs" + "name": "_limbs" }, "computed": false } @@ -12365,44 +12326,44 @@ }, { "type": "VariableDeclaration", - "start": 4281, - "end": 4331, + "start": 4027, + "end": 4071, "loc": { "start": { - "line": 202, + "line": 193, "column": 2 }, "end": { - "line": 202, - "column": 52 + "line": 193, + "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 4287, - "end": 4329, + "start": 4033, + "end": 4070, "loc": { "start": { - "line": 202, + "line": 193, "column": 8 }, "end": { - "line": 202, - "column": 50 + "line": 193, + "column": 45 } }, "id": { "type": "Identifier", - "start": 4287, - "end": 4288, + "start": 4033, + "end": 4034, "loc": { "start": { - "line": 202, + "line": 193, "column": 8 }, "end": { - "line": 202, + "line": 193, "column": 9 }, "identifierName": "c" @@ -12411,29 +12372,29 @@ }, "init": { "type": "CallExpression", - "start": 4291, - "end": 4329, + "start": 4037, + "end": 4070, "loc": { "start": { - "line": 202, + "line": 193, "column": 12 }, "end": { - "line": 202, - "column": 50 + "line": 193, + "column": 45 } }, "callee": { "type": "Identifier", - "start": 4291, - "end": 4297, + "start": 4037, + "end": 4043, "loc": { "start": { - "line": 202, + "line": 193, "column": 12 }, "end": { - "line": 202, + "line": 193, "column": 18 }, "identifierName": "_zeros" @@ -12443,44 +12404,44 @@ "arguments": [ { "type": "CallExpression", - "start": 4299, - "end": 4327, + "start": 4044, + "end": 4069, "loc": { "start": { - "line": 202, - "column": 20 + "line": 193, + "column": 19 }, "end": { - "line": 202, - "column": 48 + "line": 193, + "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 4299, - "end": 4307, + "start": 4044, + "end": 4052, "loc": { "start": { - "line": 202, - "column": 20 + "line": 193, + "column": 19 }, "end": { - "line": 202, - "column": 28 + "line": 193, + "column": 27 } }, "object": { "type": "Identifier", - "start": 4299, - "end": 4303, + "start": 4044, + "end": 4048, "loc": { "start": { - "line": 202, - "column": 20 + "line": 193, + "column": 19 }, "end": { - "line": 202, - "column": 24 + "line": 193, + "column": 23 }, "identifierName": "Math" }, @@ -12488,16 +12449,16 @@ }, "property": { "type": "Identifier", - "start": 4304, - "end": 4307, + "start": 4049, + "end": 4052, "loc": { "start": { - "line": 202, - "column": 25 + "line": 193, + "column": 24 }, "end": { - "line": 202, - "column": 28 + "line": 193, + "column": 27 }, "identifierName": "max" }, @@ -12508,16 +12469,16 @@ "arguments": [ { "type": "NumericLiteral", - "start": 4309, - "end": 4310, + "start": 4053, + "end": 4054, "loc": { "start": { - "line": 202, - "column": 30 + "line": 193, + "column": 28 }, "end": { - "line": 202, - "column": 31 + "line": 193, + "column": 29 } }, "extra": { @@ -12528,44 +12489,44 @@ }, { "type": "BinaryExpression", - "start": 4313, - "end": 4325, + "start": 4056, + "end": 4068, "loc": { "start": { - "line": 202, - "column": 34 + "line": 193, + "column": 31 }, "end": { - "line": 202, - "column": 46 + "line": 193, + "column": 43 } }, "left": { "type": "MemberExpression", - "start": 4313, - "end": 4321, + "start": 4056, + "end": 4064, "loc": { "start": { - "line": 202, - "column": 34 + "line": 193, + "column": 31 }, "end": { - "line": 202, - "column": 42 + "line": 193, + "column": 39 } }, "object": { "type": "Identifier", - "start": 4313, - "end": 4314, + "start": 4056, + "end": 4057, "loc": { "start": { - "line": 202, - "column": 34 + "line": 193, + "column": 31 }, "end": { - "line": 202, - "column": 35 + "line": 193, + "column": 32 }, "identifierName": "a" }, @@ -12573,16 +12534,16 @@ }, "property": { "type": "Identifier", - "start": 4315, - "end": 4321, + "start": 4058, + "end": 4064, "loc": { "start": { - "line": 202, - "column": 36 + "line": 193, + "column": 33 }, "end": { - "line": 202, - "column": 42 + "line": 193, + "column": 39 }, "identifierName": "length" }, @@ -12593,16 +12554,16 @@ "operator": "*", "right": { "type": "Identifier", - "start": 4324, - "end": 4325, + "start": 4067, + "end": 4068, "loc": { "start": { - "line": 202, - "column": 45 + "line": 193, + "column": 42 }, "end": { - "line": 202, - "column": 46 + "line": 193, + "column": 43 }, "identifierName": "x" }, @@ -12619,43 +12580,43 @@ }, { "type": "ExpressionStatement", - "start": 4335, - "end": 4403, + "start": 4075, + "end": 4134, "loc": { "start": { - "line": 204, + "line": 195, "column": 2 }, "end": { - "line": 204, - "column": 70 + "line": 195, + "column": 61 } }, "expression": { "type": "CallExpression", - "start": 4335, - "end": 4401, + "start": 4075, + "end": 4133, "loc": { "start": { - "line": 204, + "line": 195, "column": 2 }, "end": { - "line": 204, - "column": 68 + "line": 195, + "column": 60 } }, "callee": { "type": "Identifier", - "start": 4335, - "end": 4346, + "start": 4075, + "end": 4086, "loc": { "start": { - "line": 204, + "line": 195, "column": 2 }, "end": { - "line": 204, + "line": 195, "column": 13 }, "identifierName": "_pow_double" @@ -12665,64 +12626,64 @@ "arguments": [ { "type": "MemberExpression", - "start": 4348, - "end": 4357, + "start": 4087, + "end": 4097, "loc": { "start": { - "line": 204, - "column": 15 + "line": 195, + "column": 14 }, "end": { - "line": 204, + "line": 195, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 4348, - "end": 4352, + "start": 4087, + "end": 4091, "loc": { "start": { - "line": 204, - "column": 15 + "line": 195, + "column": 14 }, "end": { - "line": 204, - "column": 19 + "line": 195, + "column": 18 } } }, "property": { "type": "Identifier", - "start": 4353, - "end": 4357, + "start": 4092, + "end": 4097, "loc": { "start": { - "line": 204, - "column": 20 + "line": 195, + "column": 19 }, "end": { - "line": 204, + "line": 195, "column": 24 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false }, { "type": "Identifier", - "start": 4360, - "end": 4361, + "start": 4099, + "end": 4100, "loc": { "start": { - "line": 204, - "column": 27 + "line": 195, + "column": 26 }, "end": { - "line": 204, - "column": 28 + "line": 195, + "column": 27 }, "identifierName": "x" }, @@ -12730,16 +12691,16 @@ }, { "type": "Identifier", - "start": 4364, - "end": 4365, + "start": 4102, + "end": 4103, "loc": { "start": { - "line": 204, - "column": 31 + "line": 195, + "column": 29 }, "end": { - "line": 204, - "column": 32 + "line": 195, + "column": 30 }, "identifierName": "a" }, @@ -12747,16 +12708,16 @@ }, { "type": "NumericLiteral", - "start": 4368, - "end": 4369, + "start": 4105, + "end": 4106, "loc": { "start": { - "line": 204, - "column": 35 + "line": 195, + "column": 32 }, "end": { - "line": 204, - "column": 36 + "line": 195, + "column": 33 } }, "extra": { @@ -12767,30 +12728,30 @@ }, { "type": "MemberExpression", - "start": 4372, - "end": 4380, + "start": 4108, + "end": 4116, "loc": { "start": { - "line": 204, - "column": 39 + "line": 195, + "column": 35 }, "end": { - "line": 204, - "column": 47 + "line": 195, + "column": 43 } }, "object": { "type": "Identifier", - "start": 4372, - "end": 4373, + "start": 4108, + "end": 4109, "loc": { "start": { - "line": 204, - "column": 39 + "line": 195, + "column": 35 }, "end": { - "line": 204, - "column": 40 + "line": 195, + "column": 36 }, "identifierName": "a" }, @@ -12798,16 +12759,16 @@ }, "property": { "type": "Identifier", - "start": 4374, - "end": 4380, + "start": 4110, + "end": 4116, "loc": { "start": { - "line": 204, - "column": 41 + "line": 195, + "column": 37 }, "end": { - "line": 204, - "column": 47 + "line": 195, + "column": 43 }, "identifierName": "length" }, @@ -12817,16 +12778,16 @@ }, { "type": "Identifier", - "start": 4383, - "end": 4384, + "start": 4118, + "end": 4119, "loc": { "start": { - "line": 204, - "column": 50 + "line": 195, + "column": 45 }, "end": { - "line": 204, - "column": 51 + "line": 195, + "column": 46 }, "identifierName": "c" }, @@ -12834,16 +12795,16 @@ }, { "type": "NumericLiteral", - "start": 4387, - "end": 4388, + "start": 4121, + "end": 4122, "loc": { "start": { - "line": 204, - "column": 54 + "line": 195, + "column": 48 }, "end": { - "line": 204, - "column": 55 + "line": 195, + "column": 49 } }, "extra": { @@ -12854,30 +12815,30 @@ }, { "type": "MemberExpression", - "start": 4391, - "end": 4399, + "start": 4124, + "end": 4132, "loc": { "start": { - "line": 204, - "column": 58 + "line": 195, + "column": 51 }, "end": { - "line": 204, - "column": 66 + "line": 195, + "column": 59 } }, "object": { "type": "Identifier", - "start": 4391, - "end": 4392, + "start": 4124, + "end": 4125, "loc": { "start": { - "line": 204, - "column": 58 + "line": 195, + "column": 51 }, "end": { - "line": 204, - "column": 59 + "line": 195, + "column": 52 }, "identifierName": "c" }, @@ -12885,16 +12846,16 @@ }, "property": { "type": "Identifier", - "start": 4393, - "end": 4399, + "start": 4126, + "end": 4132, "loc": { "start": { - "line": 204, - "column": 60 + "line": 195, + "column": 53 }, "end": { - "line": 204, - "column": 66 + "line": 195, + "column": 59 }, "identifierName": "length" }, @@ -12907,43 +12868,43 @@ }, { "type": "ReturnStatement", - "start": 4407, - "end": 4458, + "start": 4138, + "end": 4185, "loc": { "start": { - "line": 206, + "line": 197, "column": 2 }, "end": { - "line": 206, - "column": 53 + "line": 197, + "column": 49 } }, "argument": { "type": "NewExpression", - "start": 4414, - "end": 4456, + "start": 4145, + "end": 4184, "loc": { "start": { - "line": 206, + "line": 197, "column": 9 }, "end": { - "line": 206, - "column": 51 + "line": 197, + "column": 48 } }, "callee": { "type": "Identifier", - "start": 4418, - "end": 4425, + "start": 4149, + "end": 4156, "loc": { "start": { - "line": 206, + "line": 197, "column": 13 }, "end": { - "line": 206, + "line": 197, "column": 20 }, "identifierName": "Integer" @@ -12953,64 +12914,64 @@ "arguments": [ { "type": "MemberExpression", - "start": 4427, - "end": 4436, + "start": 4157, + "end": 4167, "loc": { "start": { - "line": 206, - "column": 22 + "line": 197, + "column": 21 }, "end": { - "line": 206, + "line": 197, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4427, - "end": 4431, + "start": 4157, + "end": 4161, "loc": { "start": { - "line": 206, - "column": 22 + "line": 197, + "column": 21 }, "end": { - "line": 206, - "column": 26 + "line": 197, + "column": 25 } } }, "property": { "type": "Identifier", - "start": 4432, - "end": 4436, + "start": 4162, + "end": 4167, "loc": { "start": { - "line": 206, - "column": 27 + "line": 197, + "column": 26 }, "end": { - "line": 206, + "line": 197, "column": 31 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false }, { "type": "Identifier", - "start": 4439, - "end": 4450, + "start": 4169, + "end": 4180, "loc": { "start": { - "line": 206, - "column": 34 + "line": 197, + "column": 33 }, "end": { - "line": 206, - "column": 45 + "line": 197, + "column": 44 }, "identifierName": "is_negative" }, @@ -13018,16 +12979,16 @@ }, { "type": "Identifier", - "start": 4453, - "end": 4454, + "start": 4182, + "end": 4183, "loc": { "start": { - "line": 206, - "column": 48 + "line": 197, + "column": 46 }, "end": { - "line": 206, - "column": 49 + "line": 197, + "column": 47 }, "identifierName": "c" }, @@ -13043,15 +13004,15 @@ { "type": "CommentBlock", "value": "*\n\t * Computes this raised to the xth power.\n\t * x is a double smaller or equal to 2^53.\n\t *\n\t * @param {Number} x The power to raise this to.\n\t * @return {Integer} this ^ x\n\t ", - "start": 3934, - "end": 4179, + "start": 3684, + "end": 3929, "loc": { "start": { - "line": 190, + "line": 182, "column": 1 }, "end": { - "line": 196, + "line": 188, "column": 4 } } @@ -13060,15 +13021,15 @@ }, { "type": "ClassMethod", - "start": 4465, - "end": 4523, + "start": 4191, + "end": 4243, "loc": { "start": { - "line": 210, + "line": 200, "column": 1 }, "end": { - "line": 212, + "line": 202, "column": 2 } }, @@ -13076,15 +13037,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4465, - "end": 4468, + "start": 4191, + "end": 4194, "loc": { "start": { - "line": 210, + "line": 200, "column": 1 }, "end": { - "line": 210, + "line": 200, "column": 4 }, "identifierName": "pow" @@ -13099,16 +13060,16 @@ "params": [ { "type": "Identifier", - "start": 4471, - "end": 4476, + "start": 4195, + "end": 4200, "loc": { "start": { - "line": 210, - "column": 7 + "line": 200, + "column": 5 }, "end": { - "line": 210, - "column": 12 + "line": 200, + "column": 10 }, "identifierName": "other" }, @@ -13117,87 +13078,87 @@ ], "body": { "type": "BlockStatement", - "start": 4479, - "end": 4523, + "start": 4202, + "end": 4243, "loc": { "start": { - "line": 210, - "column": 15 + "line": 200, + "column": 12 }, "end": { - "line": 212, + "line": 202, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 4483, - "end": 4520, + "start": 4206, + "end": 4240, "loc": { "start": { - "line": 211, + "line": 201, "column": 2 }, "end": { - "line": 211, - "column": 39 + "line": 201, + "column": 36 } }, "argument": { "type": "CallExpression", - "start": 4490, - "end": 4518, + "start": 4213, + "end": 4239, "loc": { "start": { - "line": 211, + "line": 201, "column": 9 }, "end": { - "line": 211, - "column": 37 + "line": 201, + "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 4490, - "end": 4499, + "start": 4213, + "end": 4222, "loc": { "start": { - "line": 211, + "line": 201, "column": 9 }, "end": { - "line": 211, + "line": 201, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 4490, - "end": 4494, + "start": 4213, + "end": 4217, "loc": { "start": { - "line": 211, + "line": 201, "column": 9 }, "end": { - "line": 211, + "line": 201, "column": 13 } } }, "property": { "type": "Identifier", - "start": 4495, - "end": 4499, + "start": 4218, + "end": 4222, "loc": { "start": { - "line": 211, + "line": 201, "column": 14 }, "end": { - "line": 211, + "line": 201, "column": 18 }, "identifierName": "pown" @@ -13209,44 +13170,44 @@ "arguments": [ { "type": "CallExpression", - "start": 4501, - "end": 4516, + "start": 4223, + "end": 4238, "loc": { "start": { - "line": 211, - "column": 20 + "line": 201, + "column": 19 }, "end": { - "line": 211, - "column": 35 + "line": 201, + "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 4501, - "end": 4514, + "start": 4223, + "end": 4236, "loc": { "start": { - "line": 211, - "column": 20 + "line": 201, + "column": 19 }, "end": { - "line": 211, - "column": 33 + "line": 201, + "column": 32 } }, "object": { "type": "Identifier", - "start": 4501, - "end": 4506, + "start": 4223, + "end": 4228, "loc": { "start": { - "line": 211, - "column": 20 + "line": 201, + "column": 19 }, "end": { - "line": 211, - "column": 25 + "line": 201, + "column": 24 }, "identifierName": "other" }, @@ -13254,16 +13215,16 @@ }, "property": { "type": "Identifier", - "start": 4507, - "end": 4514, + "start": 4229, + "end": 4236, "loc": { "start": { - "line": 211, - "column": 26 + "line": 201, + "column": 25 }, "end": { - "line": 211, - "column": 33 + "line": 201, + "column": 32 }, "identifierName": "valueOf" }, @@ -13282,15 +13243,15 @@ }, { "type": "ClassMethod", - "start": 4526, - "end": 4634, + "start": 4246, + "end": 4351, "loc": { "start": { - "line": 214, + "line": 204, "column": 1 }, "end": { - "line": 217, + "line": 207, "column": 2 } }, @@ -13298,15 +13259,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4526, - "end": 4530, + "start": 4246, + "end": 4250, "loc": { "start": { - "line": 214, + "line": 204, "column": 1 }, "end": { - "line": 214, + "line": 204, "column": 5 }, "identifierName": "ipow" @@ -13321,16 +13282,16 @@ "params": [ { "type": "Identifier", - "start": 4533, - "end": 4538, + "start": 4251, + "end": 4256, "loc": { "start": { - "line": 214, - "column": 8 + "line": 204, + "column": 6 }, "end": { - "line": 214, - "column": 13 + "line": 204, + "column": 11 }, "identifierName": "other" }, @@ -13339,100 +13300,100 @@ ], "body": { "type": "BlockStatement", - "start": 4541, - "end": 4634, + "start": 4258, + "end": 4351, "loc": { "start": { - "line": 214, - "column": 16 + "line": 204, + "column": 13 }, "end": { - "line": 217, + "line": 207, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 4597, - "end": 4631, + "start": 4314, + "end": 4348, "loc": { "start": { - "line": 216, + "line": 206, "column": 2 }, "end": { - "line": 216, + "line": 206, "column": 36 } }, "argument": { "type": "CallExpression", - "start": 4604, - "end": 4630, + "start": 4321, + "end": 4347, "loc": { "start": { - "line": 216, + "line": 206, "column": 9 }, "end": { - "line": 216, + "line": 206, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 4604, - "end": 4624, + "start": 4321, + "end": 4341, "loc": { "start": { - "line": 216, + "line": 206, "column": 9 }, "end": { - "line": 216, + "line": 206, "column": 29 } }, "object": { "type": "CallExpression", - "start": 4604, - "end": 4619, + "start": 4321, + "end": 4336, "loc": { "start": { - "line": 216, + "line": 206, "column": 9 }, "end": { - "line": 216, + "line": 206, "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 4604, - "end": 4612, + "start": 4321, + "end": 4329, "loc": { "start": { - "line": 216, + "line": 206, "column": 9 }, "end": { - "line": 216, + "line": 206, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 4604, - "end": 4608, + "start": 4321, + "end": 4325, "loc": { "start": { - "line": 216, + "line": 206, "column": 9 }, "end": { - "line": 216, + "line": 206, "column": 13 } }, @@ -13440,15 +13401,15 @@ }, "property": { "type": "Identifier", - "start": 4609, - "end": 4612, + "start": 4326, + "end": 4329, "loc": { "start": { - "line": 216, + "line": 206, "column": 14 }, "end": { - "line": 216, + "line": 206, "column": 17 }, "identifierName": "pow" @@ -13461,15 +13422,15 @@ "arguments": [ { "type": "Identifier", - "start": 4613, - "end": 4618, + "start": 4330, + "end": 4335, "loc": { "start": { - "line": 216, + "line": 206, "column": 18 }, "end": { - "line": 216, + "line": 206, "column": 23 }, "identifierName": "other" @@ -13481,15 +13442,15 @@ }, "property": { "type": "Identifier", - "start": 4620, - "end": 4624, + "start": 4337, + "end": 4341, "loc": { "start": { - "line": 216, + "line": 206, "column": 25 }, "end": { - "line": 216, + "line": 206, "column": 29 }, "identifierName": "move" @@ -13502,15 +13463,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4625, - "end": 4629, + "start": 4342, + "end": 4346, "loc": { "start": { - "line": 216, + "line": 206, "column": 30 }, "end": { - "line": 216, + "line": 206, "column": 34 } } @@ -13522,15 +13483,15 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 4545, - "end": 4594, + "start": 4262, + "end": 4311, "loc": { "start": { - "line": 215, + "line": 205, "column": 2 }, "end": { - "line": 215, + "line": 205, "column": 51 } } @@ -13543,15 +13504,15 @@ }, { "type": "ClassMethod", - "start": 4637, - "end": 4749, + "start": 4354, + "end": 4463, "loc": { "start": { - "line": 219, + "line": 209, "column": 1 }, "end": { - "line": 222, + "line": 212, "column": 2 } }, @@ -13559,15 +13520,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4637, - "end": 4642, + "start": 4354, + "end": 4359, "loc": { "start": { - "line": 219, + "line": 209, "column": 1 }, "end": { - "line": 219, + "line": 209, "column": 6 }, "identifierName": "ipown" @@ -13582,16 +13543,16 @@ "params": [ { "type": "Identifier", - "start": 4645, - "end": 4651, + "start": 4360, + "end": 4366, "loc": { "start": { - "line": 219, - "column": 9 + "line": 209, + "column": 7 }, "end": { - "line": 219, - "column": 15 + "line": 209, + "column": 13 }, "identifierName": "number" }, @@ -13600,100 +13561,100 @@ ], "body": { "type": "BlockStatement", - "start": 4654, - "end": 4749, + "start": 4368, + "end": 4463, "loc": { "start": { - "line": 219, - "column": 18 + "line": 209, + "column": 15 }, "end": { - "line": 222, + "line": 212, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 4710, - "end": 4746, + "start": 4424, + "end": 4460, "loc": { "start": { - "line": 221, + "line": 211, "column": 2 }, "end": { - "line": 221, + "line": 211, "column": 38 } }, "argument": { "type": "CallExpression", - "start": 4717, - "end": 4745, + "start": 4431, + "end": 4459, "loc": { "start": { - "line": 221, + "line": 211, "column": 9 }, "end": { - "line": 221, + "line": 211, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 4717, - "end": 4739, + "start": 4431, + "end": 4453, "loc": { "start": { - "line": 221, + "line": 211, "column": 9 }, "end": { - "line": 221, + "line": 211, "column": 31 } }, "object": { "type": "CallExpression", - "start": 4717, - "end": 4734, + "start": 4431, + "end": 4448, "loc": { "start": { - "line": 221, + "line": 211, "column": 9 }, "end": { - "line": 221, + "line": 211, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 4717, - "end": 4726, + "start": 4431, + "end": 4440, "loc": { "start": { - "line": 221, + "line": 211, "column": 9 }, "end": { - "line": 221, + "line": 211, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 4717, - "end": 4721, + "start": 4431, + "end": 4435, "loc": { "start": { - "line": 221, + "line": 211, "column": 9 }, "end": { - "line": 221, + "line": 211, "column": 13 } }, @@ -13701,15 +13662,15 @@ }, "property": { "type": "Identifier", - "start": 4722, - "end": 4726, + "start": 4436, + "end": 4440, "loc": { "start": { - "line": 221, + "line": 211, "column": 14 }, "end": { - "line": 221, + "line": 211, "column": 18 }, "identifierName": "pown" @@ -13722,15 +13683,15 @@ "arguments": [ { "type": "Identifier", - "start": 4727, - "end": 4733, + "start": 4441, + "end": 4447, "loc": { "start": { - "line": 221, + "line": 211, "column": 19 }, "end": { - "line": 221, + "line": 211, "column": 25 }, "identifierName": "number" @@ -13742,15 +13703,15 @@ }, "property": { "type": "Identifier", - "start": 4735, - "end": 4739, + "start": 4449, + "end": 4453, "loc": { "start": { - "line": 221, + "line": 211, "column": 27 }, "end": { - "line": 221, + "line": 211, "column": 31 }, "identifierName": "move" @@ -13763,15 +13724,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4740, - "end": 4744, + "start": 4454, + "end": 4458, "loc": { "start": { - "line": 221, + "line": 211, "column": 32 }, "end": { - "line": 221, + "line": 211, "column": 36 } } @@ -13783,15 +13744,15 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 4658, - "end": 4707, + "start": 4372, + "end": 4421, "loc": { "start": { - "line": 220, + "line": 210, "column": 2 }, "end": { - "line": 220, + "line": 210, "column": 51 } } @@ -13804,15 +13765,15 @@ }, { "type": "ClassMethod", - "start": 4752, - "end": 4880, + "start": 4466, + "end": 4592, "loc": { "start": { - "line": 224, + "line": 214, "column": 1 }, "end": { - "line": 228, + "line": 218, "column": 2 } }, @@ -13820,15 +13781,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4752, - "end": 4758, + "start": 4466, + "end": 4472, "loc": { "start": { - "line": 224, + "line": 214, "column": 1 }, "end": { - "line": 224, + "line": 214, "column": 7 }, "identifierName": "square" @@ -13843,72 +13804,72 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4763, - "end": 4880, + "start": 4475, + "end": 4592, "loc": { "start": { - "line": 224, - "column": 12 + "line": 214, + "column": 10 }, "end": { - "line": 228, + "line": 218, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 4857, - "end": 4877, + "start": 4569, + "end": 4589, "loc": { "start": { - "line": 227, + "line": 217, "column": 2 }, "end": { - "line": 227, + "line": 217, "column": 22 } }, "argument": { "type": "CallExpression", - "start": 4864, - "end": 4876, + "start": 4576, + "end": 4588, "loc": { "start": { - "line": 227, + "line": 217, "column": 9 }, "end": { - "line": 227, + "line": 217, "column": 21 } }, "callee": { "type": "MemberExpression", - "start": 4864, - "end": 4873, + "start": 4576, + "end": 4585, "loc": { "start": { - "line": 227, + "line": 217, "column": 9 }, "end": { - "line": 227, + "line": 217, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 4864, - "end": 4868, + "start": 4576, + "end": 4580, "loc": { "start": { - "line": 227, + "line": 217, "column": 9 }, "end": { - "line": 227, + "line": 217, "column": 13 } }, @@ -13916,15 +13877,15 @@ }, "property": { "type": "Identifier", - "start": 4869, - "end": 4873, + "start": 4581, + "end": 4585, "loc": { "start": { - "line": 227, + "line": 217, "column": 14 }, "end": { - "line": 227, + "line": 217, "column": 18 }, "identifierName": "pown" @@ -13937,15 +13898,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 4874, - "end": 4875, + "start": 4586, + "end": 4587, "loc": { "start": { - "line": 227, + "line": 217, "column": 19 }, "end": { - "line": 227, + "line": 217, "column": 20 } }, @@ -13962,15 +13923,15 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 4767, - "end": 4816, + "start": 4479, + "end": 4528, "loc": { "start": { - "line": 225, + "line": 215, "column": 2 }, "end": { - "line": 225, + "line": 215, "column": 51 } } @@ -13978,15 +13939,15 @@ { "type": "CommentLine", "value": " TODO use this.mul(this) instead?", - "start": 4819, - "end": 4854, + "start": 4531, + "end": 4566, "loc": { "start": { - "line": 226, + "line": 216, "column": 2 }, "end": { - "line": 226, + "line": 216, "column": 37 } } @@ -13999,15 +13960,15 @@ }, { "type": "ClassMethod", - "start": 4883, - "end": 5025, + "start": 4595, + "end": 4735, "loc": { "start": { - "line": 230, + "line": 220, "column": 1 }, "end": { - "line": 234, + "line": 224, "column": 2 } }, @@ -14015,15 +13976,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4883, - "end": 4890, + "start": 4595, + "end": 4602, "loc": { "start": { - "line": 230, + "line": 220, "column": 1 }, "end": { - "line": 230, + "line": 220, "column": 8 }, "identifierName": "isquare" @@ -14038,100 +13999,100 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4895, - "end": 5025, + "start": 4605, + "end": 4735, "loc": { "start": { - "line": 230, - "column": 13 + "line": 220, + "column": 11 }, "end": { - "line": 234, + "line": 224, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 4990, - "end": 5022, + "start": 4700, + "end": 4732, "loc": { "start": { - "line": 233, + "line": 223, "column": 2 }, "end": { - "line": 233, + "line": 223, "column": 34 } }, "argument": { "type": "CallExpression", - "start": 4997, - "end": 5021, + "start": 4707, + "end": 4731, "loc": { "start": { - "line": 233, + "line": 223, "column": 9 }, "end": { - "line": 233, + "line": 223, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 4997, - "end": 5015, + "start": 4707, + "end": 4725, "loc": { "start": { - "line": 233, + "line": 223, "column": 9 }, "end": { - "line": 233, + "line": 223, "column": 27 } }, "object": { "type": "CallExpression", - "start": 4997, - "end": 5010, + "start": 4707, + "end": 4720, "loc": { "start": { - "line": 233, + "line": 223, "column": 9 }, "end": { - "line": 233, + "line": 223, "column": 22 } }, "callee": { "type": "MemberExpression", - "start": 4997, - "end": 5008, + "start": 4707, + "end": 4718, "loc": { "start": { - "line": 233, + "line": 223, "column": 9 }, "end": { - "line": 233, + "line": 223, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 4997, - "end": 5001, + "start": 4707, + "end": 4711, "loc": { "start": { - "line": 233, + "line": 223, "column": 9 }, "end": { - "line": 233, + "line": 223, "column": 13 } }, @@ -14139,15 +14100,15 @@ }, "property": { "type": "Identifier", - "start": 5002, - "end": 5008, + "start": 4712, + "end": 4718, "loc": { "start": { - "line": 233, + "line": 223, "column": 14 }, "end": { - "line": 233, + "line": 223, "column": 20 }, "identifierName": "square" @@ -14162,15 +14123,15 @@ }, "property": { "type": "Identifier", - "start": 5011, - "end": 5015, + "start": 4721, + "end": 4725, "loc": { "start": { - "line": 233, + "line": 223, "column": 23 }, "end": { - "line": 233, + "line": 223, "column": 27 }, "identifierName": "move" @@ -14183,15 +14144,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 5016, - "end": 5020, + "start": 4726, + "end": 4730, "loc": { "start": { - "line": 233, + "line": 223, "column": 28 }, "end": { - "line": 233, + "line": 223, "column": 32 } } @@ -14203,15 +14164,15 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 4899, - "end": 4948, + "start": 4609, + "end": 4658, "loc": { "start": { - "line": 231, + "line": 221, "column": 2 }, "end": { - "line": 231, + "line": 221, "column": 51 } } @@ -14219,15 +14180,15 @@ { "type": "CommentLine", "value": " TODO use this.imul(this) instead?", - "start": 4951, - "end": 4987, + "start": 4661, + "end": 4697, "loc": { "start": { - "line": 232, + "line": 222, "column": 2 }, "end": { - "line": 232, + "line": 222, "column": 38 } } @@ -14240,15 +14201,15 @@ }, { "type": "ClassMethod", - "start": 5028, - "end": 5081, + "start": 4738, + "end": 4785, "loc": { "start": { - "line": 236, + "line": 226, "column": 1 }, "end": { - "line": 238, + "line": 228, "column": 2 } }, @@ -14256,15 +14217,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5028, - "end": 5031, + "start": 4738, + "end": 4741, "loc": { "start": { - "line": 236, + "line": 226, "column": 1 }, "end": { - "line": 236, + "line": 226, "column": 4 }, "identifierName": "div" @@ -14279,16 +14240,16 @@ "params": [ { "type": "Identifier", - "start": 5034, - "end": 5039, + "start": 4742, + "end": 4747, "loc": { "start": { - "line": 236, - "column": 7 + "line": 226, + "column": 5 }, "end": { - "line": 236, - "column": 12 + "line": 226, + "column": 10 }, "identifierName": "other" }, @@ -14297,101 +14258,101 @@ ], "body": { "type": "BlockStatement", - "start": 5042, - "end": 5081, + "start": 4749, + "end": 4785, "loc": { "start": { - "line": 236, - "column": 15 + "line": 226, + "column": 12 }, "end": { - "line": 238, + "line": 228, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 5046, - "end": 5078, + "start": 4753, + "end": 4782, "loc": { "start": { - "line": 237, + "line": 227, "column": 2 }, "end": { - "line": 237, - "column": 34 + "line": 227, + "column": 31 } }, "argument": { "type": "MemberExpression", - "start": 5053, - "end": 5076, + "start": 4760, + "end": 4781, "loc": { "start": { - "line": 237, + "line": 227, "column": 9 }, "end": { - "line": 237, - "column": 32 + "line": 227, + "column": 30 } }, "object": { "type": "CallExpression", - "start": 5053, - "end": 5073, + "start": 4760, + "end": 4778, "loc": { "start": { - "line": 237, + "line": 227, "column": 9 }, "end": { - "line": 237, - "column": 29 + "line": 227, + "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 5053, - "end": 5064, + "start": 4760, + "end": 4771, "loc": { "start": { - "line": 237, + "line": 227, "column": 9 }, "end": { - "line": 237, + "line": 227, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 5053, - "end": 5057, + "start": 4760, + "end": 4764, "loc": { "start": { - "line": 237, + "line": 227, "column": 9 }, "end": { - "line": 237, + "line": 227, "column": 13 } } }, "property": { "type": "Identifier", - "start": 5058, - "end": 5064, + "start": 4765, + "end": 4771, "loc": { "start": { - "line": 237, + "line": 227, "column": 14 }, "end": { - "line": 237, + "line": 227, "column": 20 }, "identifierName": "divmod" @@ -14403,16 +14364,16 @@ "arguments": [ { "type": "Identifier", - "start": 5066, - "end": 5071, + "start": 4772, + "end": 4777, "loc": { "start": { - "line": 237, - "column": 22 + "line": 227, + "column": 21 }, "end": { - "line": 237, - "column": 27 + "line": 227, + "column": 26 }, "identifierName": "other" }, @@ -14422,16 +14383,16 @@ }, "property": { "type": "NumericLiteral", - "start": 5074, - "end": 5075, + "start": 4779, + "end": 4780, "loc": { "start": { - "line": 237, - "column": 30 + "line": 227, + "column": 28 }, "end": { - "line": 237, - "column": 31 + "line": 227, + "column": 29 } }, "extra": { @@ -14449,15 +14410,15 @@ }, { "type": "ClassMethod", - "start": 5084, - "end": 5146, + "start": 4788, + "end": 4846, "loc": { "start": { - "line": 240, + "line": 230, "column": 1 }, "end": { - "line": 242, + "line": 232, "column": 2 } }, @@ -14465,15 +14426,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5084, - "end": 5088, + "start": 4788, + "end": 4792, "loc": { "start": { - "line": 240, + "line": 230, "column": 1 }, "end": { - "line": 240, + "line": 230, "column": 5 }, "identifierName": "divn" @@ -14488,16 +14449,16 @@ "params": [ { "type": "Identifier", - "start": 5091, - "end": 5097, + "start": 4793, + "end": 4799, "loc": { "start": { - "line": 240, - "column": 8 + "line": 230, + "column": 6 }, "end": { - "line": 240, - "column": 14 + "line": 230, + "column": 12 }, "identifierName": "number" }, @@ -14506,87 +14467,87 @@ ], "body": { "type": "BlockStatement", - "start": 5100, - "end": 5146, + "start": 4801, + "end": 4846, "loc": { "start": { - "line": 240, - "column": 17 + "line": 230, + "column": 14 }, "end": { - "line": 242, + "line": 232, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 5104, - "end": 5143, + "start": 4805, + "end": 4843, "loc": { "start": { - "line": 241, + "line": 231, "column": 2 }, "end": { - "line": 241, - "column": 41 + "line": 231, + "column": 40 } }, "argument": { "type": "CallExpression", - "start": 5111, - "end": 5141, + "start": 4812, + "end": 4842, "loc": { "start": { - "line": 241, + "line": 231, "column": 9 }, "end": { - "line": 241, + "line": 231, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 5111, - "end": 5119, + "start": 4812, + "end": 4820, "loc": { "start": { - "line": 241, + "line": 231, "column": 9 }, "end": { - "line": 241, + "line": 231, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 5111, - "end": 5115, + "start": 4812, + "end": 4816, "loc": { "start": { - "line": 241, + "line": 231, "column": 9 }, "end": { - "line": 241, + "line": 231, "column": 13 } } }, "property": { "type": "Identifier", - "start": 5116, - "end": 5119, + "start": 4817, + "end": 4820, "loc": { "start": { - "line": 241, + "line": 231, "column": 14 }, "end": { - "line": 241, + "line": 231, "column": 17 }, "identifierName": "div" @@ -14598,29 +14559,29 @@ "arguments": [ { "type": "CallExpression", - "start": 5120, - "end": 5140, + "start": 4821, + "end": 4841, "loc": { "start": { - "line": 241, + "line": 231, "column": 18 }, "end": { - "line": 241, + "line": 231, "column": 38 } }, "callee": { "type": "Identifier", - "start": 5120, - "end": 5132, + "start": 4821, + "end": 4833, "loc": { "start": { - "line": 241, + "line": 231, "column": 18 }, "end": { - "line": 241, + "line": 231, "column": 30 }, "identifierName": "_from_number" @@ -14630,15 +14591,15 @@ "arguments": [ { "type": "Identifier", - "start": 5133, - "end": 5139, + "start": 4834, + "end": 4840, "loc": { "start": { - "line": 241, + "line": 231, "column": 31 }, "end": { - "line": 241, + "line": 231, "column": 37 }, "identifierName": "number" @@ -14656,15 +14617,15 @@ }, { "type": "ClassMethod", - "start": 5149, - "end": 5257, + "start": 4849, + "end": 4954, "loc": { "start": { - "line": 244, + "line": 234, "column": 1 }, "end": { - "line": 247, + "line": 237, "column": 2 } }, @@ -14672,15 +14633,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5149, - "end": 5153, + "start": 4849, + "end": 4853, "loc": { "start": { - "line": 244, + "line": 234, "column": 1 }, "end": { - "line": 244, + "line": 234, "column": 5 }, "identifierName": "idiv" @@ -14695,16 +14656,16 @@ "params": [ { "type": "Identifier", - "start": 5156, - "end": 5161, + "start": 4854, + "end": 4859, "loc": { "start": { - "line": 244, - "column": 8 + "line": 234, + "column": 6 }, "end": { - "line": 244, - "column": 13 + "line": 234, + "column": 11 }, "identifierName": "other" }, @@ -14713,100 +14674,100 @@ ], "body": { "type": "BlockStatement", - "start": 5164, - "end": 5257, + "start": 4861, + "end": 4954, "loc": { "start": { - "line": 244, - "column": 16 + "line": 234, + "column": 13 }, "end": { - "line": 247, + "line": 237, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 5220, - "end": 5254, + "start": 4917, + "end": 4951, "loc": { "start": { - "line": 246, + "line": 236, "column": 2 }, "end": { - "line": 246, + "line": 236, "column": 36 } }, "argument": { "type": "CallExpression", - "start": 5227, - "end": 5253, + "start": 4924, + "end": 4950, "loc": { "start": { - "line": 246, + "line": 236, "column": 9 }, "end": { - "line": 246, + "line": 236, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 5227, - "end": 5247, + "start": 4924, + "end": 4944, "loc": { "start": { - "line": 246, + "line": 236, "column": 9 }, "end": { - "line": 246, + "line": 236, "column": 29 } }, "object": { "type": "CallExpression", - "start": 5227, - "end": 5242, + "start": 4924, + "end": 4939, "loc": { "start": { - "line": 246, + "line": 236, "column": 9 }, "end": { - "line": 246, + "line": 236, "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 5227, - "end": 5235, + "start": 4924, + "end": 4932, "loc": { "start": { - "line": 246, + "line": 236, "column": 9 }, "end": { - "line": 246, + "line": 236, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 5227, - "end": 5231, + "start": 4924, + "end": 4928, "loc": { "start": { - "line": 246, + "line": 236, "column": 9 }, "end": { - "line": 246, + "line": 236, "column": 13 } }, @@ -14814,15 +14775,15 @@ }, "property": { "type": "Identifier", - "start": 5232, - "end": 5235, + "start": 4929, + "end": 4932, "loc": { "start": { - "line": 246, + "line": 236, "column": 14 }, "end": { - "line": 246, + "line": 236, "column": 17 }, "identifierName": "div" @@ -14835,15 +14796,15 @@ "arguments": [ { "type": "Identifier", - "start": 5236, - "end": 5241, + "start": 4933, + "end": 4938, "loc": { "start": { - "line": 246, + "line": 236, "column": 18 }, "end": { - "line": 246, + "line": 236, "column": 23 }, "identifierName": "other" @@ -14855,15 +14816,15 @@ }, "property": { "type": "Identifier", - "start": 5243, - "end": 5247, + "start": 4940, + "end": 4944, "loc": { "start": { - "line": 246, + "line": 236, "column": 25 }, "end": { - "line": 246, + "line": 236, "column": 29 }, "identifierName": "move" @@ -14876,15 +14837,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 5248, - "end": 5252, + "start": 4945, + "end": 4949, "loc": { "start": { - "line": 246, + "line": 236, "column": 30 }, "end": { - "line": 246, + "line": 236, "column": 34 } } @@ -14896,15 +14857,15 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 5168, - "end": 5217, + "start": 4865, + "end": 4914, "loc": { "start": { - "line": 245, + "line": 235, "column": 2 }, "end": { - "line": 245, + "line": 235, "column": 51 } } @@ -14917,15 +14878,15 @@ }, { "type": "ClassMethod", - "start": 5260, - "end": 5320, + "start": 4957, + "end": 5014, "loc": { "start": { - "line": 249, + "line": 239, "column": 1 }, "end": { - "line": 251, + "line": 241, "column": 2 } }, @@ -14933,15 +14894,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5260, - "end": 5265, + "start": 4957, + "end": 4962, "loc": { "start": { - "line": 249, + "line": 239, "column": 1 }, "end": { - "line": 249, + "line": 239, "column": 6 }, "identifierName": "idivn" @@ -14956,16 +14917,16 @@ "params": [ { "type": "Identifier", - "start": 5268, - "end": 5274, + "start": 4963, + "end": 4969, "loc": { "start": { - "line": 249, - "column": 9 + "line": 239, + "column": 7 }, "end": { - "line": 249, - "column": 15 + "line": 239, + "column": 13 }, "identifierName": "number" }, @@ -14974,115 +14935,115 @@ ], "body": { "type": "BlockStatement", - "start": 5277, - "end": 5320, + "start": 4971, + "end": 5014, "loc": { "start": { - "line": 249, - "column": 18 + "line": 239, + "column": 15 }, "end": { - "line": 251, + "line": 241, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 5281, - "end": 5317, + "start": 4975, + "end": 5011, "loc": { "start": { - "line": 250, + "line": 240, "column": 2 }, "end": { - "line": 250, + "line": 240, "column": 38 } }, "argument": { "type": "CallExpression", - "start": 5288, - "end": 5316, + "start": 4982, + "end": 5010, "loc": { "start": { - "line": 250, + "line": 240, "column": 9 }, "end": { - "line": 250, + "line": 240, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 5288, - "end": 5310, + "start": 4982, + "end": 5004, "loc": { "start": { - "line": 250, + "line": 240, "column": 9 }, "end": { - "line": 250, + "line": 240, "column": 31 } }, "object": { "type": "CallExpression", - "start": 5288, - "end": 5305, + "start": 4982, + "end": 4999, "loc": { "start": { - "line": 250, + "line": 240, "column": 9 }, "end": { - "line": 250, + "line": 240, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 5288, - "end": 5297, + "start": 4982, + "end": 4991, "loc": { "start": { - "line": 250, + "line": 240, "column": 9 }, "end": { - "line": 250, + "line": 240, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 5288, - "end": 5292, + "start": 4982, + "end": 4986, "loc": { "start": { - "line": 250, + "line": 240, "column": 9 }, "end": { - "line": 250, + "line": 240, "column": 13 } } }, "property": { "type": "Identifier", - "start": 5293, - "end": 5297, + "start": 4987, + "end": 4991, "loc": { "start": { - "line": 250, + "line": 240, "column": 14 }, "end": { - "line": 250, + "line": 240, "column": 18 }, "identifierName": "divn" @@ -15094,15 +15055,15 @@ "arguments": [ { "type": "Identifier", - "start": 5298, - "end": 5304, + "start": 4992, + "end": 4998, "loc": { "start": { - "line": 250, + "line": 240, "column": 19 }, "end": { - "line": 250, + "line": 240, "column": 25 }, "identifierName": "number" @@ -15113,15 +15074,15 @@ }, "property": { "type": "Identifier", - "start": 5306, - "end": 5310, + "start": 5000, + "end": 5004, "loc": { "start": { - "line": 250, + "line": 240, "column": 27 }, "end": { - "line": 250, + "line": 240, "column": 31 }, "identifierName": "move" @@ -15133,15 +15094,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 5311, - "end": 5315, + "start": 5005, + "end": 5009, "loc": { "start": { - "line": 250, + "line": 240, "column": 32 }, "end": { - "line": 250, + "line": 240, "column": 36 } } @@ -15155,15 +15116,15 @@ }, { "type": "ClassMethod", - "start": 5323, - "end": 5376, + "start": 5017, + "end": 5064, "loc": { "start": { - "line": 253, + "line": 243, "column": 1 }, "end": { - "line": 255, + "line": 245, "column": 2 } }, @@ -15171,15 +15132,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5323, - "end": 5326, + "start": 5017, + "end": 5020, "loc": { "start": { - "line": 253, + "line": 243, "column": 1 }, "end": { - "line": 253, + "line": 243, "column": 4 }, "identifierName": "mod" @@ -15194,16 +15155,16 @@ "params": [ { "type": "Identifier", - "start": 5329, - "end": 5334, + "start": 5021, + "end": 5026, "loc": { "start": { - "line": 253, - "column": 7 + "line": 243, + "column": 5 }, "end": { - "line": 253, - "column": 12 + "line": 243, + "column": 10 }, "identifierName": "other" }, @@ -15212,101 +15173,101 @@ ], "body": { "type": "BlockStatement", - "start": 5337, - "end": 5376, + "start": 5028, + "end": 5064, "loc": { "start": { - "line": 253, - "column": 15 + "line": 243, + "column": 12 }, "end": { - "line": 255, + "line": 245, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 5341, - "end": 5373, + "start": 5032, + "end": 5061, "loc": { "start": { - "line": 254, + "line": 244, "column": 2 }, "end": { - "line": 254, - "column": 34 + "line": 244, + "column": 31 } }, "argument": { "type": "MemberExpression", - "start": 5348, - "end": 5371, + "start": 5039, + "end": 5060, "loc": { "start": { - "line": 254, + "line": 244, "column": 9 }, "end": { - "line": 254, - "column": 32 + "line": 244, + "column": 30 } }, "object": { "type": "CallExpression", - "start": 5348, - "end": 5368, + "start": 5039, + "end": 5057, "loc": { "start": { - "line": 254, + "line": 244, "column": 9 }, "end": { - "line": 254, - "column": 29 + "line": 244, + "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 5348, - "end": 5359, + "start": 5039, + "end": 5050, "loc": { "start": { - "line": 254, + "line": 244, "column": 9 }, "end": { - "line": 254, + "line": 244, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 5348, - "end": 5352, + "start": 5039, + "end": 5043, "loc": { "start": { - "line": 254, + "line": 244, "column": 9 }, "end": { - "line": 254, + "line": 244, "column": 13 } } }, "property": { "type": "Identifier", - "start": 5353, - "end": 5359, + "start": 5044, + "end": 5050, "loc": { "start": { - "line": 254, + "line": 244, "column": 14 }, "end": { - "line": 254, + "line": 244, "column": 20 }, "identifierName": "divmod" @@ -15318,16 +15279,16 @@ "arguments": [ { "type": "Identifier", - "start": 5361, - "end": 5366, + "start": 5051, + "end": 5056, "loc": { "start": { - "line": 254, - "column": 22 + "line": 244, + "column": 21 }, "end": { - "line": 254, - "column": 27 + "line": 244, + "column": 26 }, "identifierName": "other" }, @@ -15337,16 +15298,16 @@ }, "property": { "type": "NumericLiteral", - "start": 5369, - "end": 5370, + "start": 5058, + "end": 5059, "loc": { "start": { - "line": 254, - "column": 30 + "line": 244, + "column": 28 }, "end": { - "line": 254, - "column": 31 + "line": 244, + "column": 29 } }, "extra": { @@ -15364,15 +15325,15 @@ }, { "type": "ClassMethod", - "start": 5379, - "end": 5441, + "start": 5067, + "end": 5125, "loc": { "start": { - "line": 257, + "line": 247, "column": 1 }, "end": { - "line": 259, + "line": 249, "column": 2 } }, @@ -15380,15 +15341,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5379, - "end": 5383, + "start": 5067, + "end": 5071, "loc": { "start": { - "line": 257, + "line": 247, "column": 1 }, "end": { - "line": 257, + "line": 247, "column": 5 }, "identifierName": "modn" @@ -15403,16 +15364,16 @@ "params": [ { "type": "Identifier", - "start": 5386, - "end": 5392, + "start": 5072, + "end": 5078, "loc": { "start": { - "line": 257, - "column": 8 + "line": 247, + "column": 6 }, "end": { - "line": 257, - "column": 14 + "line": 247, + "column": 12 }, "identifierName": "number" }, @@ -15421,87 +15382,87 @@ ], "body": { "type": "BlockStatement", - "start": 5395, - "end": 5441, + "start": 5080, + "end": 5125, "loc": { "start": { - "line": 257, - "column": 17 + "line": 247, + "column": 14 }, "end": { - "line": 259, + "line": 249, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 5399, - "end": 5438, + "start": 5084, + "end": 5122, "loc": { "start": { - "line": 258, + "line": 248, "column": 2 }, "end": { - "line": 258, - "column": 41 + "line": 248, + "column": 40 } }, "argument": { "type": "CallExpression", - "start": 5406, - "end": 5436, + "start": 5091, + "end": 5121, "loc": { "start": { - "line": 258, + "line": 248, "column": 9 }, "end": { - "line": 258, + "line": 248, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 5406, - "end": 5414, + "start": 5091, + "end": 5099, "loc": { "start": { - "line": 258, + "line": 248, "column": 9 }, "end": { - "line": 258, + "line": 248, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 5406, - "end": 5410, + "start": 5091, + "end": 5095, "loc": { "start": { - "line": 258, + "line": 248, "column": 9 }, "end": { - "line": 258, + "line": 248, "column": 13 } } }, "property": { "type": "Identifier", - "start": 5411, - "end": 5414, + "start": 5096, + "end": 5099, "loc": { "start": { - "line": 258, + "line": 248, "column": 14 }, "end": { - "line": 258, + "line": 248, "column": 17 }, "identifierName": "mod" @@ -15513,29 +15474,29 @@ "arguments": [ { "type": "CallExpression", - "start": 5415, - "end": 5435, + "start": 5100, + "end": 5120, "loc": { "start": { - "line": 258, + "line": 248, "column": 18 }, "end": { - "line": 258, + "line": 248, "column": 38 } }, "callee": { "type": "Identifier", - "start": 5415, - "end": 5427, + "start": 5100, + "end": 5112, "loc": { "start": { - "line": 258, + "line": 248, "column": 18 }, "end": { - "line": 258, + "line": 248, "column": 30 }, "identifierName": "_from_number" @@ -15545,15 +15506,15 @@ "arguments": [ { "type": "Identifier", - "start": 5428, - "end": 5434, + "start": 5113, + "end": 5119, "loc": { "start": { - "line": 258, + "line": 248, "column": 31 }, "end": { - "line": 258, + "line": 248, "column": 37 }, "identifierName": "number" @@ -15571,15 +15532,15 @@ }, { "type": "ClassMethod", - "start": 5444, - "end": 5552, + "start": 5128, + "end": 5233, "loc": { "start": { - "line": 261, + "line": 251, "column": 1 }, "end": { - "line": 264, + "line": 254, "column": 2 } }, @@ -15587,15 +15548,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5444, - "end": 5448, + "start": 5128, + "end": 5132, "loc": { "start": { - "line": 261, + "line": 251, "column": 1 }, "end": { - "line": 261, + "line": 251, "column": 5 }, "identifierName": "imod" @@ -15610,16 +15571,16 @@ "params": [ { "type": "Identifier", - "start": 5451, - "end": 5456, + "start": 5133, + "end": 5138, "loc": { "start": { - "line": 261, - "column": 8 + "line": 251, + "column": 6 }, "end": { - "line": 261, - "column": 13 + "line": 251, + "column": 11 }, "identifierName": "other" }, @@ -15628,100 +15589,100 @@ ], "body": { "type": "BlockStatement", - "start": 5459, - "end": 5552, + "start": 5140, + "end": 5233, "loc": { "start": { - "line": 261, - "column": 16 + "line": 251, + "column": 13 }, "end": { - "line": 264, + "line": 254, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 5515, - "end": 5549, + "start": 5196, + "end": 5230, "loc": { "start": { - "line": 263, + "line": 253, "column": 2 }, "end": { - "line": 263, + "line": 253, "column": 36 } }, "argument": { "type": "CallExpression", - "start": 5522, - "end": 5548, + "start": 5203, + "end": 5229, "loc": { "start": { - "line": 263, + "line": 253, "column": 9 }, "end": { - "line": 263, + "line": 253, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 5522, - "end": 5542, + "start": 5203, + "end": 5223, "loc": { "start": { - "line": 263, + "line": 253, "column": 9 }, "end": { - "line": 263, + "line": 253, "column": 29 } }, "object": { "type": "CallExpression", - "start": 5522, - "end": 5537, + "start": 5203, + "end": 5218, "loc": { "start": { - "line": 263, + "line": 253, "column": 9 }, "end": { - "line": 263, + "line": 253, "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 5522, - "end": 5530, + "start": 5203, + "end": 5211, "loc": { "start": { - "line": 263, + "line": 253, "column": 9 }, "end": { - "line": 263, + "line": 253, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 5522, - "end": 5526, + "start": 5203, + "end": 5207, "loc": { "start": { - "line": 263, + "line": 253, "column": 9 }, "end": { - "line": 263, + "line": 253, "column": 13 } }, @@ -15729,15 +15690,15 @@ }, "property": { "type": "Identifier", - "start": 5527, - "end": 5530, + "start": 5208, + "end": 5211, "loc": { "start": { - "line": 263, + "line": 253, "column": 14 }, "end": { - "line": 263, + "line": 253, "column": 17 }, "identifierName": "mod" @@ -15750,15 +15711,15 @@ "arguments": [ { "type": "Identifier", - "start": 5531, - "end": 5536, + "start": 5212, + "end": 5217, "loc": { "start": { - "line": 263, + "line": 253, "column": 18 }, "end": { - "line": 263, + "line": 253, "column": 23 }, "identifierName": "other" @@ -15770,15 +15731,15 @@ }, "property": { "type": "Identifier", - "start": 5538, - "end": 5542, + "start": 5219, + "end": 5223, "loc": { "start": { - "line": 263, + "line": 253, "column": 25 }, "end": { - "line": 263, + "line": 253, "column": 29 }, "identifierName": "move" @@ -15791,15 +15752,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 5543, - "end": 5547, + "start": 5224, + "end": 5228, "loc": { "start": { - "line": 263, + "line": 253, "column": 30 }, "end": { - "line": 263, + "line": 253, "column": 34 } } @@ -15811,15 +15772,15 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 5463, - "end": 5512, + "start": 5144, + "end": 5193, "loc": { "start": { - "line": 262, + "line": 252, "column": 2 }, "end": { - "line": 262, + "line": 252, "column": 51 } } @@ -15832,15 +15793,15 @@ }, { "type": "ClassMethod", - "start": 5555, - "end": 5615, + "start": 5236, + "end": 5293, "loc": { "start": { - "line": 266, + "line": 256, "column": 1 }, "end": { - "line": 268, + "line": 258, "column": 2 } }, @@ -15848,15 +15809,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5555, - "end": 5560, + "start": 5236, + "end": 5241, "loc": { "start": { - "line": 266, + "line": 256, "column": 1 }, "end": { - "line": 266, + "line": 256, "column": 6 }, "identifierName": "imodn" @@ -15871,16 +15832,16 @@ "params": [ { "type": "Identifier", - "start": 5563, - "end": 5569, + "start": 5242, + "end": 5248, "loc": { "start": { - "line": 266, - "column": 9 + "line": 256, + "column": 7 }, "end": { - "line": 266, - "column": 15 + "line": 256, + "column": 13 }, "identifierName": "number" }, @@ -15889,115 +15850,115 @@ ], "body": { "type": "BlockStatement", - "start": 5572, - "end": 5615, + "start": 5250, + "end": 5293, "loc": { "start": { - "line": 266, - "column": 18 + "line": 256, + "column": 15 }, "end": { - "line": 268, + "line": 258, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 5576, - "end": 5612, + "start": 5254, + "end": 5290, "loc": { "start": { - "line": 267, + "line": 257, "column": 2 }, "end": { - "line": 267, + "line": 257, "column": 38 } }, "argument": { "type": "CallExpression", - "start": 5583, - "end": 5611, + "start": 5261, + "end": 5289, "loc": { "start": { - "line": 267, + "line": 257, "column": 9 }, "end": { - "line": 267, + "line": 257, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 5583, - "end": 5605, + "start": 5261, + "end": 5283, "loc": { "start": { - "line": 267, + "line": 257, "column": 9 }, "end": { - "line": 267, + "line": 257, "column": 31 } }, "object": { "type": "CallExpression", - "start": 5583, - "end": 5600, + "start": 5261, + "end": 5278, "loc": { "start": { - "line": 267, + "line": 257, "column": 9 }, "end": { - "line": 267, + "line": 257, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 5583, - "end": 5592, + "start": 5261, + "end": 5270, "loc": { "start": { - "line": 267, + "line": 257, "column": 9 }, "end": { - "line": 267, + "line": 257, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 5583, - "end": 5587, + "start": 5261, + "end": 5265, "loc": { "start": { - "line": 267, + "line": 257, "column": 9 }, "end": { - "line": 267, + "line": 257, "column": 13 } } }, "property": { "type": "Identifier", - "start": 5588, - "end": 5592, + "start": 5266, + "end": 5270, "loc": { "start": { - "line": 267, + "line": 257, "column": 14 }, "end": { - "line": 267, + "line": 257, "column": 18 }, "identifierName": "modn" @@ -16009,15 +15970,15 @@ "arguments": [ { "type": "Identifier", - "start": 5593, - "end": 5599, + "start": 5271, + "end": 5277, "loc": { "start": { - "line": 267, + "line": 257, "column": 19 }, "end": { - "line": 267, + "line": 257, "column": 25 }, "identifierName": "number" @@ -16028,15 +15989,15 @@ }, "property": { "type": "Identifier", - "start": 5601, - "end": 5605, + "start": 5279, + "end": 5283, "loc": { "start": { - "line": 267, + "line": 257, "column": 27 }, "end": { - "line": 267, + "line": 257, "column": 31 }, "identifierName": "move" @@ -16048,15 +16009,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 5606, - "end": 5610, + "start": 5284, + "end": 5288, "loc": { "start": { - "line": 267, + "line": 257, "column": 32 }, "end": { - "line": 267, + "line": 257, "column": 36 } } @@ -16070,15 +16031,15 @@ }, { "type": "ClassMethod", - "start": 5618, - "end": 5806, + "start": 5296, + "end": 5474, "loc": { "start": { - "line": 270, + "line": 260, "column": 1 }, "end": { - "line": 274, + "line": 265, "column": 2 } }, @@ -16086,15 +16047,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5618, - "end": 5626, + "start": 5296, + "end": 5304, "loc": { "start": { - "line": 270, + "line": 260, "column": 1 }, "end": { - "line": 270, + "line": 260, "column": 9 }, "identifierName": "divround" @@ -16109,16 +16070,16 @@ "params": [ { "type": "Identifier", - "start": 5629, - "end": 5634, + "start": 5305, + "end": 5310, "loc": { "start": { - "line": 270, - "column": 12 + "line": 260, + "column": 10 }, "end": { - "line": 270, - "column": 17 + "line": 260, + "column": 15 }, "identifierName": "other" }, @@ -16127,75 +16088,75 @@ ], "body": { "type": "BlockStatement", - "start": 5637, - "end": 5806, + "start": 5312, + "end": 5474, "loc": { "start": { - "line": 270, - "column": 20 + "line": 260, + "column": 17 }, "end": { - "line": 274, + "line": 265, "column": 2 } }, "body": [ { "type": "VariableDeclaration", - "start": 5641, - "end": 5679, + "start": 5316, + "end": 5350, "loc": { "start": { - "line": 271, + "line": 261, "column": 2 }, "end": { - "line": 271, - "column": 40 + "line": 261, + "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5647, - "end": 5677, + "start": 5322, + "end": 5349, "loc": { "start": { - "line": 271, + "line": 261, "column": 8 }, "end": { - "line": 271, - "column": 38 + "line": 261, + "column": 35 } }, "id": { "type": "ArrayPattern", - "start": 5647, - "end": 5656, + "start": 5322, + "end": 5328, "loc": { "start": { - "line": 271, + "line": 261, "column": 8 }, "end": { - "line": 271, - "column": 17 + "line": 261, + "column": 14 } }, "elements": [ { "type": "Identifier", - "start": 5649, - "end": 5650, + "start": 5323, + "end": 5324, "loc": { "start": { - "line": 271, - "column": 10 + "line": 261, + "column": 9 }, "end": { - "line": 271, - "column": 11 + "line": 261, + "column": 10 }, "identifierName": "q" }, @@ -16203,16 +16164,16 @@ }, { "type": "Identifier", - "start": 5653, - "end": 5654, + "start": 5326, + "end": 5327, "loc": { "start": { - "line": 271, - "column": 14 + "line": 261, + "column": 12 }, "end": { - "line": 271, - "column": 15 + "line": 261, + "column": 13 }, "identifierName": "r" }, @@ -16222,59 +16183,59 @@ }, "init": { "type": "CallExpression", - "start": 5659, - "end": 5677, + "start": 5331, + "end": 5349, "loc": { "start": { - "line": 271, - "column": 20 + "line": 261, + "column": 17 }, "end": { - "line": 271, - "column": 38 + "line": 261, + "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 5659, - "end": 5670, + "start": 5331, + "end": 5342, "loc": { "start": { - "line": 271, - "column": 20 + "line": 261, + "column": 17 }, "end": { - "line": 271, - "column": 31 + "line": 261, + "column": 28 } }, "object": { "type": "ThisExpression", - "start": 5659, - "end": 5663, + "start": 5331, + "end": 5335, "loc": { "start": { - "line": 271, - "column": 20 + "line": 261, + "column": 17 }, "end": { - "line": 271, - "column": 24 + "line": 261, + "column": 21 } } }, "property": { "type": "Identifier", - "start": 5664, - "end": 5670, + "start": 5336, + "end": 5342, "loc": { "start": { - "line": 271, - "column": 25 + "line": 261, + "column": 22 }, "end": { - "line": 271, - "column": 31 + "line": 261, + "column": 28 }, "identifierName": "divmod" }, @@ -16285,16 +16246,16 @@ "arguments": [ { "type": "Identifier", - "start": 5671, - "end": 5676, + "start": 5343, + "end": 5348, "loc": { "start": { - "line": 271, - "column": 32 + "line": 261, + "column": 29 }, "end": { - "line": 271, - "column": 37 + "line": 261, + "column": 34 }, "identifierName": "other" }, @@ -16308,58 +16269,58 @@ }, { "type": "IfStatement", - "start": 5682, - "end": 5790, + "start": 5353, + "end": 5459, "loc": { "start": { - "line": 272, + "line": 262, "column": 2 }, "end": { - "line": 272, - "column": 110 + "line": 263, + "column": 52 } }, "test": { "type": "CallExpression", - "start": 5687, - "end": 5735, + "start": 5357, + "end": 5405, "loc": { "start": { - "line": 272, - "column": 7 + "line": 262, + "column": 6 }, "end": { - "line": 272, - "column": 55 + "line": 262, + "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 5687, - "end": 5691, + "start": 5357, + "end": 5361, "loc": { "start": { - "line": 272, - "column": 7 + "line": 262, + "column": 6 }, "end": { - "line": 272, - "column": 11 + "line": 262, + "column": 10 } }, "object": { "type": "Identifier", - "start": 5687, - "end": 5688, + "start": 5357, + "end": 5358, "loc": { "start": { - "line": 272, - "column": 7 + "line": 262, + "column": 6 }, "end": { - "line": 272, - "column": 8 + "line": 262, + "column": 7 }, "identifierName": "r" }, @@ -16367,16 +16328,16 @@ }, "property": { "type": "Identifier", - "start": 5689, - "end": 5691, + "start": 5359, + "end": 5361, "loc": { "start": { - "line": 272, - "column": 9 + "line": 262, + "column": 8 }, "end": { - "line": 272, - "column": 11 + "line": 262, + "column": 10 }, "identifierName": "ge" }, @@ -16387,72 +16348,72 @@ "arguments": [ { "type": "CallExpression", - "start": 5692, - "end": 5734, + "start": 5362, + "end": 5404, "loc": { "start": { - "line": 272, - "column": 12 + "line": 262, + "column": 11 }, "end": { - "line": 272, - "column": 54 + "line": 262, + "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 5692, - "end": 5710, + "start": 5362, + "end": 5380, "loc": { "start": { - "line": 272, - "column": 12 + "line": 262, + "column": 11 }, "end": { - "line": 272, - "column": 30 + "line": 262, + "column": 29 } }, "object": { "type": "CallExpression", - "start": 5692, - "end": 5705, + "start": 5362, + "end": 5375, "loc": { "start": { - "line": 272, - "column": 12 + "line": 262, + "column": 11 }, "end": { - "line": 272, - "column": 25 + "line": 262, + "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 5692, - "end": 5702, + "start": 5362, + "end": 5372, "loc": { "start": { - "line": 272, - "column": 12 + "line": 262, + "column": 11 }, "end": { - "line": 272, - "column": 22 + "line": 262, + "column": 21 } }, "object": { "type": "Identifier", - "start": 5692, - "end": 5697, + "start": 5362, + "end": 5367, "loc": { "start": { - "line": 272, - "column": 12 + "line": 262, + "column": 11 }, "end": { - "line": 272, - "column": 17 + "line": 262, + "column": 16 }, "identifierName": "other" }, @@ -16460,16 +16421,16 @@ }, "property": { "type": "Identifier", - "start": 5698, - "end": 5702, + "start": 5368, + "end": 5372, "loc": { "start": { - "line": 272, - "column": 18 + "line": 262, + "column": 17 }, "end": { - "line": 272, - "column": 22 + "line": 262, + "column": 21 }, "identifierName": "divn" }, @@ -16480,16 +16441,16 @@ "arguments": [ { "type": "NumericLiteral", - "start": 5703, - "end": 5704, + "start": 5373, + "end": 5374, "loc": { "start": { - "line": 272, - "column": 23 + "line": 262, + "column": 22 }, "end": { - "line": 272, - "column": 24 + "line": 262, + "column": 23 } }, "extra": { @@ -16502,16 +16463,16 @@ }, "property": { "type": "Identifier", - "start": 5706, - "end": 5710, + "start": 5376, + "end": 5380, "loc": { "start": { - "line": 272, - "column": 26 + "line": 262, + "column": 25 }, "end": { - "line": 272, - "column": 30 + "line": 262, + "column": 29 }, "identifierName": "addn" }, @@ -16522,58 +16483,58 @@ "arguments": [ { "type": "ConditionalExpression", - "start": 5711, - "end": 5733, + "start": 5381, + "end": 5403, "loc": { "start": { - "line": 272, - "column": 31 + "line": 262, + "column": 30 }, "end": { - "line": 272, - "column": 53 + "line": 262, + "column": 52 } }, "test": { "type": "CallExpression", - "start": 5711, - "end": 5725, + "start": 5381, + "end": 5395, "loc": { "start": { - "line": 272, - "column": 31 + "line": 262, + "column": 30 }, "end": { - "line": 272, - "column": 45 + "line": 262, + "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 5711, - "end": 5723, + "start": 5381, + "end": 5393, "loc": { "start": { - "line": 272, - "column": 31 + "line": 262, + "column": 30 }, "end": { - "line": 272, - "column": 43 + "line": 262, + "column": 42 } }, "object": { "type": "Identifier", - "start": 5711, - "end": 5716, + "start": 5381, + "end": 5386, "loc": { "start": { - "line": 272, - "column": 31 + "line": 262, + "column": 30 }, "end": { - "line": 272, - "column": 36 + "line": 262, + "column": 35 }, "identifierName": "other" }, @@ -16581,16 +16542,16 @@ }, "property": { "type": "Identifier", - "start": 5717, - "end": 5723, + "start": 5387, + "end": 5393, "loc": { "start": { - "line": 272, - "column": 37 + "line": 262, + "column": 36 }, "end": { - "line": 272, - "column": 43 + "line": 262, + "column": 42 }, "identifierName": "iseven" }, @@ -16602,16 +16563,16 @@ }, "consequent": { "type": "NumericLiteral", - "start": 5728, - "end": 5729, + "start": 5398, + "end": 5399, "loc": { "start": { - "line": 272, - "column": 48 + "line": 262, + "column": 47 }, "end": { - "line": 272, - "column": 49 + "line": 262, + "column": 48 } }, "extra": { @@ -16622,16 +16583,16 @@ }, "alternate": { "type": "NumericLiteral", - "start": 5732, - "end": 5733, + "start": 5402, + "end": 5403, "loc": { "start": { - "line": 272, - "column": 52 + "line": 262, + "column": 51 }, "end": { - "line": 272, - "column": 53 + "line": 262, + "column": 52 } }, "extra": { @@ -16647,44 +16608,44 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 5738, - "end": 5790, + "start": 5410, + "end": 5459, "loc": { "start": { - "line": 272, - "column": 58 + "line": 263, + "column": 3 }, "end": { - "line": 272, - "column": 110 + "line": 263, + "column": 52 } }, "expression": { "type": "CallExpression", - "start": 5738, - "end": 5788, + "start": 5410, + "end": 5458, "loc": { "start": { - "line": 272, - "column": 58 + "line": 263, + "column": 3 }, "end": { - "line": 272, - "column": 108 + "line": 263, + "column": 51 } }, "callee": { "type": "Identifier", - "start": 5738, - "end": 5747, + "start": 5410, + "end": 5419, "loc": { "start": { - "line": 272, - "column": 58 + "line": 263, + "column": 3 }, "end": { - "line": 272, - "column": 67 + "line": 263, + "column": 12 }, "identifierName": "increment" }, @@ -16693,30 +16654,30 @@ "arguments": [ { "type": "MemberExpression", - "start": 5749, - "end": 5755, + "start": 5420, + "end": 5427, "loc": { "start": { - "line": 272, - "column": 69 + "line": 263, + "column": 13 }, "end": { - "line": 272, - "column": 75 + "line": 263, + "column": 20 } }, "object": { "type": "Identifier", - "start": 5749, - "end": 5750, + "start": 5420, + "end": 5421, "loc": { "start": { - "line": 272, - "column": 69 + "line": 263, + "column": 13 }, "end": { - "line": 272, - "column": 70 + "line": 263, + "column": 14 }, "identifierName": "q" }, @@ -16724,49 +16685,49 @@ }, "property": { "type": "Identifier", - "start": 5751, - "end": 5755, + "start": 5422, + "end": 5427, "loc": { "start": { - "line": 272, - "column": 71 + "line": 263, + "column": 15 }, "end": { - "line": 272, - "column": 75 + "line": 263, + "column": 20 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false }, { "type": "MemberExpression", - "start": 5758, - "end": 5765, + "start": 5429, + "end": 5437, "loc": { "start": { - "line": 272, - "column": 78 + "line": 263, + "column": 22 }, "end": { - "line": 272, - "column": 85 + "line": 263, + "column": 30 } }, "object": { "type": "Identifier", - "start": 5758, - "end": 5759, + "start": 5429, + "end": 5430, "loc": { "start": { - "line": 272, - "column": 78 + "line": 263, + "column": 22 }, "end": { - "line": 272, - "column": 79 + "line": 263, + "column": 23 }, "identifierName": "q" }, @@ -16774,35 +16735,35 @@ }, "property": { "type": "Identifier", - "start": 5760, - "end": 5765, + "start": 5431, + "end": 5437, "loc": { "start": { - "line": 272, - "column": 80 + "line": 263, + "column": 24 }, "end": { - "line": 272, - "column": 85 + "line": 263, + "column": 30 }, - "identifierName": "limbs" + "identifierName": "_limbs" }, - "name": "limbs" + "name": "_limbs" }, "computed": false }, { "type": "NumericLiteral", - "start": 5768, - "end": 5769, + "start": 5439, + "end": 5440, "loc": { "start": { - "line": 272, - "column": 88 + "line": 263, + "column": 32 }, "end": { - "line": 272, - "column": 89 + "line": 263, + "column": 33 } }, "extra": { @@ -16813,44 +16774,44 @@ }, { "type": "MemberExpression", - "start": 5772, - "end": 5786, + "start": 5442, + "end": 5457, "loc": { "start": { - "line": 272, - "column": 92 + "line": 263, + "column": 35 }, "end": { - "line": 272, - "column": 106 + "line": 263, + "column": 50 } }, "object": { "type": "MemberExpression", - "start": 5772, - "end": 5779, + "start": 5442, + "end": 5450, "loc": { "start": { - "line": 272, - "column": 92 + "line": 263, + "column": 35 }, "end": { - "line": 272, - "column": 99 + "line": 263, + "column": 43 } }, "object": { "type": "Identifier", - "start": 5772, - "end": 5773, + "start": 5442, + "end": 5443, "loc": { "start": { - "line": 272, - "column": 92 + "line": 263, + "column": 35 }, "end": { - "line": 272, - "column": 93 + "line": 263, + "column": 36 }, "identifierName": "q" }, @@ -16858,35 +16819,35 @@ }, "property": { "type": "Identifier", - "start": 5774, - "end": 5779, + "start": 5444, + "end": 5450, "loc": { "start": { - "line": 272, - "column": 94 + "line": 263, + "column": 37 }, "end": { - "line": 272, - "column": 99 + "line": 263, + "column": 43 }, - "identifierName": "limbs" + "identifierName": "_limbs" }, - "name": "limbs" + "name": "_limbs" }, "computed": false }, "property": { "type": "Identifier", - "start": 5780, - "end": 5786, + "start": 5451, + "end": 5457, "loc": { "start": { - "line": 272, - "column": 100 + "line": 263, + "column": 44 }, "end": { - "line": 272, - "column": 106 + "line": 263, + "column": 50 }, "identifierName": "length" }, @@ -16901,29 +16862,29 @@ }, { "type": "ReturnStatement", - "start": 5793, - "end": 5803, + "start": 5462, + "end": 5471, "loc": { "start": { - "line": 273, + "line": 264, "column": 2 }, "end": { - "line": 273, - "column": 12 + "line": 264, + "column": 11 } }, "argument": { "type": "Identifier", - "start": 5800, - "end": 5801, + "start": 5469, + "end": 5470, "loc": { "start": { - "line": 273, + "line": 264, "column": 9 }, "end": { - "line": 273, + "line": 264, "column": 10 }, "identifierName": "q" @@ -16937,15 +16898,15 @@ }, { "type": "ClassMethod", - "start": 5809, - "end": 7243, + "start": 5477, + "end": 6779, "loc": { "start": { - "line": 276, + "line": 267, "column": 1 }, "end": { - "line": 331, + "line": 313, "column": 2 } }, @@ -16953,15 +16914,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5809, - "end": 5815, + "start": 5477, + "end": 5483, "loc": { "start": { - "line": 276, + "line": 267, "column": 1 }, "end": { - "line": 276, + "line": 267, "column": 7 }, "identifierName": "divmod" @@ -16976,16 +16937,16 @@ "params": [ { "type": "Identifier", - "start": 5818, - "end": 5823, + "start": 5484, + "end": 5489, "loc": { "start": { - "line": 276, - "column": 10 + "line": 267, + "column": 8 }, "end": { - "line": 276, - "column": 15 + "line": 267, + "column": 13 }, "identifierName": "other" }, @@ -16994,73 +16955,73 @@ ], "body": { "type": "BlockStatement", - "start": 5826, - "end": 7243, + "start": 5491, + "end": 6779, "loc": { "start": { - "line": 276, - "column": 18 + "line": 267, + "column": 15 }, "end": { - "line": 331, + "line": 313, "column": 2 } }, "body": [ { "type": "IfStatement", - "start": 5831, - "end": 5912, + "start": 5495, + "end": 5571, "loc": { "start": { - "line": 278, + "line": 268, "column": 2 }, "end": { - "line": 278, - "column": 83 + "line": 268, + "column": 78 } }, "test": { "type": "CallExpression", - "start": 5836, - "end": 5850, + "start": 5499, + "end": 5513, "loc": { "start": { - "line": 278, - "column": 7 + "line": 268, + "column": 6 }, "end": { - "line": 278, - "column": 21 + "line": 268, + "column": 20 } }, "callee": { "type": "MemberExpression", - "start": 5836, - "end": 5848, + "start": 5499, + "end": 5511, "loc": { "start": { - "line": 278, - "column": 7 + "line": 268, + "column": 6 }, "end": { - "line": 278, - "column": 19 + "line": 268, + "column": 18 } }, "object": { "type": "Identifier", - "start": 5836, - "end": 5841, + "start": 5499, + "end": 5504, "loc": { "start": { - "line": 278, - "column": 7 + "line": 268, + "column": 6 }, "end": { - "line": 278, - "column": 12 + "line": 268, + "column": 11 }, "identifierName": "other" }, @@ -17068,16 +17029,16 @@ }, "property": { "type": "Identifier", - "start": 5842, - "end": 5848, + "start": 5505, + "end": 5511, "loc": { "start": { - "line": 278, - "column": 13 + "line": 268, + "column": 12 }, "end": { - "line": 278, - "column": 19 + "line": 268, + "column": 18 }, "identifierName": "iszero" }, @@ -17089,44 +17050,44 @@ }, "consequent": { "type": "ThrowStatement", - "start": 5853, - "end": 5912, + "start": 5515, + "end": 5571, "loc": { "start": { - "line": 278, - "column": 24 + "line": 268, + "column": 22 }, "end": { - "line": 278, - "column": 83 + "line": 268, + "column": 78 } }, "argument": { "type": "NewExpression", - "start": 5859, - "end": 5910, + "start": 5521, + "end": 5570, "loc": { "start": { - "line": 278, - "column": 30 + "line": 268, + "column": 28 }, "end": { - "line": 278, - "column": 81 + "line": 268, + "column": 77 } }, "callee": { "type": "Identifier", - "start": 5863, - "end": 5880, + "start": 5525, + "end": 5542, "loc": { "start": { - "line": 278, - "column": 34 + "line": 268, + "column": 32 }, "end": { - "line": 278, - "column": 51 + "line": 268, + "column": 49 }, "identifierName": "ZeroDivisionError" }, @@ -17135,16 +17096,16 @@ "arguments": [ { "type": "StringLiteral", - "start": 5882, - "end": 5908, + "start": 5543, + "end": 5569, "loc": { "start": { - "line": 278, - "column": 53 + "line": 268, + "column": 50 }, "end": { - "line": 278, - "column": 79 + "line": 268, + "column": 76 } }, "extra": { @@ -17161,17 +17122,17 @@ "trailingComments": [ { "type": "CommentLine", - "value": " optimize", - "start": 5913, - "end": 5924, + "value": " Optimize", + "start": 5572, + "end": 5583, "loc": { "start": { - "line": 278, - "column": 84 + "line": 268, + "column": 79 }, "end": { - "line": 278, - "column": 95 + "line": 268, + "column": 90 } } } @@ -17179,44 +17140,44 @@ }, { "type": "VariableDeclaration", - "start": 5928, - "end": 5995, + "start": 5587, + "end": 5655, "loc": { "start": { - "line": 280, + "line": 270, "column": 2 }, "end": { - "line": 280, - "column": 69 + "line": 270, + "column": 70 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5934, - "end": 5993, + "start": 5593, + "end": 5654, "loc": { "start": { - "line": 280, + "line": 270, "column": 8 }, "end": { - "line": 280, - "column": 67 + "line": 270, + "column": 69 } }, "id": { "type": "Identifier", - "start": 5934, - "end": 5954, + "start": 5593, + "end": 5613, "loc": { "start": { - "line": 280, + "line": 270, "column": 8 }, "end": { - "line": 280, + "line": 270, "column": 28 }, "identifierName": "quotient_is_negative" @@ -17226,93 +17187,93 @@ }, "init": { "type": "BinaryExpression", - "start": 5957, - "end": 5993, + "start": 5616, + "end": 5654, "loc": { "start": { - "line": 280, + "line": 270, "column": 31 }, "end": { - "line": 280, - "column": 67 + "line": 270, + "column": 69 } }, "left": { "type": "MemberExpression", - "start": 5957, - "end": 5973, + "start": 5616, + "end": 5633, "loc": { "start": { - "line": 280, + "line": 270, "column": 31 }, "end": { - "line": 280, - "column": 47 + "line": 270, + "column": 48 } }, "object": { "type": "ThisExpression", - "start": 5957, - "end": 5961, + "start": 5616, + "end": 5620, "loc": { "start": { - "line": 280, + "line": 270, "column": 31 }, "end": { - "line": 280, + "line": 270, "column": 35 } } }, "property": { "type": "Identifier", - "start": 5962, - "end": 5973, + "start": 5621, + "end": 5633, "loc": { "start": { - "line": 280, + "line": 270, "column": 36 }, "end": { - "line": 280, - "column": 47 + "line": 270, + "column": 48 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false }, "operator": "^", "right": { "type": "MemberExpression", - "start": 5976, - "end": 5993, + "start": 5636, + "end": 5654, "loc": { "start": { - "line": 280, - "column": 50 + "line": 270, + "column": 51 }, "end": { - "line": 280, - "column": 67 + "line": 270, + "column": 69 } }, "object": { "type": "Identifier", - "start": 5976, - "end": 5981, + "start": 5636, + "end": 5641, "loc": { "start": { - "line": 280, - "column": 50 + "line": 270, + "column": 51 }, "end": { - "line": 280, - "column": 55 + "line": 270, + "column": 56 }, "identifierName": "other" }, @@ -17320,20 +17281,20 @@ }, "property": { "type": "Identifier", - "start": 5982, - "end": 5993, + "start": 5642, + "end": 5654, "loc": { "start": { - "line": 280, - "column": 56 + "line": 270, + "column": 57 }, "end": { - "line": 280, - "column": 67 + "line": 270, + "column": 69 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false } @@ -17345,17 +17306,17 @@ "leadingComments": [ { "type": "CommentLine", - "value": " optimize", - "start": 5913, - "end": 5924, + "value": " Optimize", + "start": 5572, + "end": 5583, "loc": { "start": { - "line": 278, - "column": 84 + "line": 268, + "column": 79 }, "end": { - "line": 278, - "column": 95 + "line": 268, + "column": 90 } } } @@ -17363,44 +17324,44 @@ }, { "type": "VariableDeclaration", - "start": 5998, - "end": 6019, + "start": 5658, + "end": 5679, "loc": { "start": { - "line": 281, + "line": 271, "column": 2 }, "end": { - "line": 281, + "line": 271, "column": 23 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6004, - "end": 6017, + "start": 5664, + "end": 5678, "loc": { "start": { - "line": 281, + "line": 271, "column": 8 }, "end": { - "line": 281, - "column": 21 + "line": 271, + "column": 22 } }, "id": { "type": "Identifier", - "start": 6004, - "end": 6005, + "start": 5664, + "end": 5665, "loc": { "start": { - "line": 281, + "line": 271, "column": 8 }, "end": { - "line": 281, + "line": 271, "column": 9 }, "identifierName": "r" @@ -17409,49 +17370,49 @@ }, "init": { "type": "MemberExpression", - "start": 6008, - "end": 6017, + "start": 5668, + "end": 5678, "loc": { "start": { - "line": 281, + "line": 271, "column": 12 }, "end": { - "line": 281, - "column": 21 + "line": 271, + "column": 22 } }, "object": { "type": "ThisExpression", - "start": 6008, - "end": 6012, + "start": 5668, + "end": 5672, "loc": { "start": { - "line": 281, + "line": 271, "column": 12 }, "end": { - "line": 281, + "line": 271, "column": 16 } } }, "property": { "type": "Identifier", - "start": 6013, - "end": 6017, + "start": 5673, + "end": 5678, "loc": { "start": { - "line": 281, + "line": 271, "column": 17 }, "end": { - "line": 281, - "column": 21 + "line": 271, + "column": 22 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false } @@ -17462,15 +17423,15 @@ { "type": "CommentLine", "value": " The underlying algorithm does not allow leading 0's so we trim them.", - "start": 6023, - "end": 6094, + "start": 5683, + "end": 5754, "loc": { "start": { - "line": 283, + "line": 273, "column": 2 }, "end": { - "line": 283, + "line": 273, "column": 73 } } @@ -17479,44 +17440,44 @@ }, { "type": "VariableDeclaration", - "start": 6097, - "end": 6127, + "start": 5757, + "end": 5787, "loc": { "start": { - "line": 284, + "line": 274, "column": 2 }, "end": { - "line": 284, + "line": 274, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6103, - "end": 6125, + "start": 5763, + "end": 5786, "loc": { "start": { - "line": 284, + "line": 274, "column": 8 }, "end": { - "line": 284, - "column": 30 + "line": 274, + "column": 31 } }, "id": { "type": "Identifier", - "start": 6103, - "end": 6105, + "start": 5763, + "end": 5765, "loc": { "start": { - "line": 284, + "line": 274, "column": 8 }, "end": { - "line": 284, + "line": 274, "column": 10 }, "identifierName": "lj" @@ -17526,78 +17487,78 @@ }, "init": { "type": "MemberExpression", - "start": 6108, - "end": 6125, + "start": 5768, + "end": 5786, "loc": { "start": { - "line": 284, + "line": 274, "column": 13 }, "end": { - "line": 284, - "column": 30 + "line": 274, + "column": 31 } }, "object": { "type": "MemberExpression", - "start": 6108, - "end": 6118, + "start": 5768, + "end": 5779, "loc": { "start": { - "line": 284, + "line": 274, "column": 13 }, "end": { - "line": 284, - "column": 23 + "line": 274, + "column": 24 } }, "object": { "type": "ThisExpression", - "start": 6108, - "end": 6112, + "start": 5768, + "end": 5772, "loc": { "start": { - "line": 284, + "line": 274, "column": 13 }, "end": { - "line": 284, + "line": 274, "column": 17 } } }, "property": { "type": "Identifier", - "start": 6113, - "end": 6118, + "start": 5773, + "end": 5779, "loc": { "start": { - "line": 284, + "line": 274, "column": 18 }, "end": { - "line": 284, - "column": 23 + "line": 274, + "column": 24 }, - "identifierName": "limbs" + "identifierName": "_limbs" }, - "name": "limbs" + "name": "_limbs" }, "computed": false }, "property": { "type": "Identifier", - "start": 6119, - "end": 6125, + "start": 5780, + "end": 5786, "loc": { "start": { - "line": 284, - "column": 24 + "line": 274, + "column": 25 }, "end": { - "line": 284, - "column": 30 + "line": 274, + "column": 31 }, "identifierName": "length" }, @@ -17613,15 +17574,15 @@ { "type": "CommentLine", "value": " The underlying algorithm does not allow leading 0's so we trim them.", - "start": 6023, - "end": 6094, + "start": 5683, + "end": 5754, "loc": { "start": { - "line": 283, + "line": 273, "column": 2 }, "end": { - "line": 283, + "line": 273, "column": 73 } } @@ -17630,44 +17591,44 @@ }, { "type": "VariableDeclaration", - "start": 6130, - "end": 6181, + "start": 5790, + "end": 5836, "loc": { "start": { - "line": 285, + "line": 275, "column": 2 }, "end": { - "line": 285, - "column": 53 + "line": 275, + "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6136, - "end": 6179, + "start": 5796, + "end": 5835, "loc": { "start": { - "line": 285, + "line": 275, "column": 8 }, "end": { - "line": 285, - "column": 51 + "line": 275, + "column": 47 } }, "id": { "type": "Identifier", - "start": 6136, - "end": 6138, + "start": 5796, + "end": 5798, "loc": { "start": { - "line": 285, + "line": 275, "column": 8 }, "end": { - "line": 285, + "line": 275, "column": 10 }, "identifierName": "li" @@ -17676,30 +17637,30 @@ }, "init": { "type": "CallExpression", - "start": 6142, - "end": 6179, + "start": 5801, + "end": 5835, "loc": { "start": { - "line": 285, - "column": 14 + "line": 275, + "column": 13 }, "end": { - "line": 285, - "column": 51 + "line": 275, + "column": 47 } }, "callee": { "type": "Identifier", - "start": 6142, - "end": 6156, + "start": 5801, + "end": 5815, "loc": { "start": { - "line": 285, - "column": 14 + "line": 275, + "column": 13 }, "end": { - "line": 285, - "column": 28 + "line": 275, + "column": 27 }, "identifierName": "_trim_positive" }, @@ -17708,64 +17669,64 @@ "arguments": [ { "type": "MemberExpression", - "start": 6158, - "end": 6168, + "start": 5816, + "end": 5827, "loc": { "start": { - "line": 285, - "column": 30 + "line": 275, + "column": 28 }, "end": { - "line": 285, - "column": 40 + "line": 275, + "column": 39 } }, "object": { "type": "ThisExpression", - "start": 6158, - "end": 6162, + "start": 5816, + "end": 5820, "loc": { "start": { - "line": 285, - "column": 30 + "line": 275, + "column": 28 }, "end": { - "line": 285, - "column": 34 + "line": 275, + "column": 32 } } }, "property": { "type": "Identifier", - "start": 6163, - "end": 6168, + "start": 5821, + "end": 5827, "loc": { "start": { - "line": 285, - "column": 35 + "line": 275, + "column": 33 }, "end": { - "line": 285, - "column": 40 + "line": 275, + "column": 39 }, - "identifierName": "limbs" + "identifierName": "_limbs" }, - "name": "limbs" + "name": "_limbs" }, "computed": false }, { "type": "NumericLiteral", - "start": 6171, - "end": 6172, + "start": 5829, + "end": 5830, "loc": { "start": { - "line": 285, - "column": 43 + "line": 275, + "column": 41 }, "end": { - "line": 285, - "column": 44 + "line": 275, + "column": 42 } }, "extra": { @@ -17776,16 +17737,16 @@ }, { "type": "Identifier", - "start": 6175, - "end": 6177, + "start": 5832, + "end": 5834, "loc": { "start": { - "line": 285, - "column": 47 + "line": 275, + "column": 44 }, "end": { - "line": 285, - "column": 49 + "line": 275, + "column": 46 }, "identifierName": "lj" }, @@ -17800,15 +17761,15 @@ { "type": "CommentLine", "value": " Dividend is 0", - "start": 6185, - "end": 6201, + "start": 5840, + "end": 5856, "loc": { "start": { - "line": 287, + "line": 277, "column": 2 }, "end": { - "line": 287, + "line": 277, "column": 18 } } @@ -17817,44 +17778,44 @@ }, { "type": "IfStatement", - "start": 6204, - "end": 6308, + "start": 5859, + "end": 5950, "loc": { "start": { - "line": 288, + "line": 278, "column": 2 }, "end": { - "line": 288, - "column": 106 + "line": 279, + "column": 77 } }, "test": { "type": "BinaryExpression", - "start": 6209, - "end": 6217, + "start": 5863, + "end": 5871, "loc": { "start": { - "line": 288, - "column": 7 + "line": 278, + "column": 6 }, "end": { - "line": 288, - "column": 15 + "line": 278, + "column": 14 } }, "left": { "type": "Identifier", - "start": 6209, - "end": 6211, + "start": 5863, + "end": 5865, "loc": { "start": { - "line": 288, - "column": 7 + "line": 278, + "column": 6 }, "end": { - "line": 288, - "column": 9 + "line": 278, + "column": 8 }, "identifierName": "li" }, @@ -17864,16 +17825,16 @@ "operator": ">=", "right": { "type": "Identifier", - "start": 6215, - "end": 6217, + "start": 5869, + "end": 5871, "loc": { "start": { - "line": 288, - "column": 13 + "line": 278, + "column": 12 }, "end": { - "line": 288, - "column": 15 + "line": 278, + "column": 14 }, "identifierName": "lj" }, @@ -17883,59 +17844,59 @@ }, "consequent": { "type": "ReturnStatement", - "start": 6220, - "end": 6308, + "start": 5876, + "end": 5950, "loc": { "start": { - "line": 288, - "column": 18 + "line": 279, + "column": 3 }, "end": { - "line": 288, - "column": 106 + "line": 279, + "column": 77 } }, "argument": { "type": "ArrayExpression", - "start": 6227, - "end": 6306, + "start": 5883, + "end": 5949, "loc": { "start": { - "line": 288, - "column": 25 + "line": 279, + "column": 10 }, "end": { - "line": 288, - "column": 104 + "line": 279, + "column": 76 } }, "elements": [ { "type": "NewExpression", - "start": 6229, - "end": 6265, + "start": 5884, + "end": 5915, "loc": { "start": { - "line": 288, - "column": 27 + "line": 279, + "column": 11 }, "end": { - "line": 288, - "column": 63 + "line": 279, + "column": 42 } }, "callee": { "type": "Identifier", - "start": 6233, - "end": 6240, + "start": 5888, + "end": 5895, "loc": { "start": { - "line": 288, - "column": 31 + "line": 279, + "column": 15 }, "end": { - "line": 288, - "column": 38 + "line": 279, + "column": 22 }, "identifierName": "Integer" }, @@ -17944,64 +17905,64 @@ "arguments": [ { "type": "MemberExpression", - "start": 6242, - "end": 6251, + "start": 5896, + "end": 5906, "loc": { "start": { - "line": 288, - "column": 40 + "line": 279, + "column": 23 }, "end": { - "line": 288, - "column": 49 + "line": 279, + "column": 33 } }, "object": { "type": "ThisExpression", - "start": 6242, - "end": 6246, + "start": 5896, + "end": 5900, "loc": { "start": { - "line": 288, - "column": 40 + "line": 279, + "column": 23 }, "end": { - "line": 288, - "column": 44 + "line": 279, + "column": 27 } } }, "property": { "type": "Identifier", - "start": 6247, - "end": 6251, + "start": 5901, + "end": 5906, "loc": { "start": { - "line": 288, - "column": 45 + "line": 279, + "column": 28 }, "end": { - "line": 288, - "column": 49 + "line": 279, + "column": 33 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false }, { "type": "NumericLiteral", - "start": 6254, - "end": 6255, + "start": 5908, + "end": 5909, "loc": { "start": { - "line": 288, - "column": 52 + "line": 279, + "column": 35 }, "end": { - "line": 288, - "column": 53 + "line": 279, + "column": 36 } }, "extra": { @@ -18012,31 +17973,31 @@ }, { "type": "ArrayExpression", - "start": 6258, - "end": 6263, + "start": 5911, + "end": 5914, "loc": { "start": { - "line": 288, - "column": 56 + "line": 279, + "column": 38 }, "end": { - "line": 288, - "column": 61 + "line": 279, + "column": 41 } }, "elements": [ { "type": "NumericLiteral", - "start": 6260, - "end": 6261, + "start": 5912, + "end": 5913, "loc": { "start": { - "line": 288, - "column": 58 + "line": 279, + "column": 39 }, "end": { - "line": 288, - "column": 59 + "line": 279, + "column": 40 } }, "extra": { @@ -18051,30 +18012,30 @@ }, { "type": "NewExpression", - "start": 6268, - "end": 6304, + "start": 5917, + "end": 5948, "loc": { "start": { - "line": 288, - "column": 66 + "line": 279, + "column": 44 }, "end": { - "line": 288, - "column": 102 + "line": 279, + "column": 75 } }, "callee": { "type": "Identifier", - "start": 6272, - "end": 6279, + "start": 5921, + "end": 5928, "loc": { "start": { - "line": 288, - "column": 70 + "line": 279, + "column": 48 }, "end": { - "line": 288, - "column": 77 + "line": 279, + "column": 55 }, "identifierName": "Integer" }, @@ -18083,64 +18044,64 @@ "arguments": [ { "type": "MemberExpression", - "start": 6281, - "end": 6290, + "start": 5929, + "end": 5939, "loc": { "start": { - "line": 288, - "column": 79 + "line": 279, + "column": 56 }, "end": { - "line": 288, - "column": 88 + "line": 279, + "column": 66 } }, "object": { "type": "ThisExpression", - "start": 6281, - "end": 6285, + "start": 5929, + "end": 5933, "loc": { "start": { - "line": 288, - "column": 79 + "line": 279, + "column": 56 }, "end": { - "line": 288, - "column": 83 + "line": 279, + "column": 60 } } }, "property": { "type": "Identifier", - "start": 6286, - "end": 6290, + "start": 5934, + "end": 5939, "loc": { "start": { - "line": 288, - "column": 84 + "line": 279, + "column": 61 }, "end": { - "line": 288, - "column": 88 + "line": 279, + "column": 66 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false }, { "type": "NumericLiteral", - "start": 6293, - "end": 6294, + "start": 5941, + "end": 5942, "loc": { "start": { - "line": 288, - "column": 91 + "line": 279, + "column": 68 }, "end": { - "line": 288, - "column": 92 + "line": 279, + "column": 69 } }, "extra": { @@ -18151,31 +18112,31 @@ }, { "type": "ArrayExpression", - "start": 6297, - "end": 6302, + "start": 5944, + "end": 5947, "loc": { "start": { - "line": 288, - "column": 95 + "line": 279, + "column": 71 }, "end": { - "line": 288, - "column": 100 + "line": 279, + "column": 74 } }, "elements": [ { "type": "NumericLiteral", - "start": 6299, - "end": 6300, + "start": 5945, + "end": 5946, "loc": { "start": { - "line": 288, - "column": 97 + "line": 279, + "column": 72 }, "end": { - "line": 288, - "column": 98 + "line": 279, + "column": 73 } }, "extra": { @@ -18197,15 +18158,15 @@ { "type": "CommentLine", "value": " Dividend is 0", - "start": 6185, - "end": 6201, + "start": 5840, + "end": 5856, "loc": { "start": { - "line": 287, + "line": 277, "column": 2 }, "end": { - "line": 287, + "line": 277, "column": 18 } } @@ -18215,15 +18176,15 @@ { "type": "CommentLine", "value": " Dividend (& Remainder)", - "start": 6312, - "end": 6337, + "start": 5954, + "end": 5979, "loc": { "start": { - "line": 290, + "line": 281, "column": 2 }, "end": { - "line": 290, + "line": 281, "column": 27 } } @@ -18232,44 +18193,44 @@ }, { "type": "VariableDeclaration", - "start": 6340, - "end": 6369, + "start": 5982, + "end": 6008, "loc": { "start": { - "line": 291, + "line": 282, "column": 2 }, "end": { - "line": 291, - "column": 31 + "line": 282, + "column": 28 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6346, - "end": 6367, + "start": 5988, + "end": 6007, "loc": { "start": { - "line": 291, + "line": 282, "column": 8 }, "end": { - "line": 291, - "column": 29 + "line": 282, + "column": 27 } }, "id": { "type": "Identifier", - "start": 6346, - "end": 6347, + "start": 5988, + "end": 5989, "loc": { "start": { - "line": 291, + "line": 282, "column": 8 }, "end": { - "line": 291, + "line": 282, "column": 9 }, "identifierName": "D" @@ -18279,29 +18240,29 @@ }, "init": { "type": "CallExpression", - "start": 6350, - "end": 6367, + "start": 5992, + "end": 6007, "loc": { "start": { - "line": 291, + "line": 282, "column": 12 }, "end": { - "line": 291, - "column": 29 + "line": 282, + "column": 27 } }, "callee": { "type": "Identifier", - "start": 6350, - "end": 6356, + "start": 5992, + "end": 5998, "loc": { "start": { - "line": 291, + "line": 282, "column": 12 }, "end": { - "line": 291, + "line": 282, "column": 18 }, "identifierName": "_alloc" @@ -18311,30 +18272,30 @@ "arguments": [ { "type": "BinaryExpression", - "start": 6358, - "end": 6365, + "start": 5999, + "end": 6006, "loc": { "start": { - "line": 291, - "column": 20 + "line": 282, + "column": 19 }, "end": { - "line": 291, - "column": 27 + "line": 282, + "column": 26 } }, "left": { "type": "Identifier", - "start": 6358, - "end": 6360, + "start": 5999, + "end": 6001, "loc": { "start": { - "line": 291, - "column": 20 + "line": 282, + "column": 19 }, "end": { - "line": 291, - "column": 22 + "line": 282, + "column": 21 }, "identifierName": "lj" }, @@ -18343,16 +18304,16 @@ "operator": "-", "right": { "type": "Identifier", - "start": 6363, - "end": 6365, + "start": 6004, + "end": 6006, "loc": { "start": { - "line": 291, - "column": 25 + "line": 282, + "column": 24 }, "end": { - "line": 291, - "column": 27 + "line": 282, + "column": 26 }, "identifierName": "li" }, @@ -18369,15 +18330,15 @@ { "type": "CommentLine", "value": " Dividend (& Remainder)", - "start": 6312, - "end": 6337, + "start": 5954, + "end": 5979, "loc": { "start": { - "line": 290, + "line": 281, "column": 2 }, "end": { - "line": 290, + "line": 281, "column": 27 } } @@ -18386,43 +18347,43 @@ }, { "type": "ExpressionStatement", - "start": 6372, - "end": 6411, + "start": 6011, + "end": 6044, "loc": { "start": { - "line": 292, + "line": 283, "column": 2 }, "end": { - "line": 292, - "column": 41 + "line": 283, + "column": 35 } }, "expression": { "type": "CallExpression", - "start": 6372, - "end": 6409, + "start": 6011, + "end": 6043, "loc": { "start": { - "line": 292, + "line": 283, "column": 2 }, "end": { - "line": 292, - "column": 39 + "line": 283, + "column": 34 } }, "callee": { "type": "Identifier", - "start": 6372, - "end": 6377, + "start": 6011, + "end": 6016, "loc": { "start": { - "line": 292, + "line": 283, "column": 2 }, "end": { - "line": 292, + "line": 283, "column": 7 }, "identifierName": "_copy" @@ -18432,64 +18393,64 @@ "arguments": [ { "type": "MemberExpression", - "start": 6379, - "end": 6389, + "start": 6017, + "end": 6028, "loc": { "start": { - "line": 292, - "column": 9 + "line": 283, + "column": 8 }, "end": { - "line": 292, + "line": 283, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 6379, - "end": 6383, + "start": 6017, + "end": 6021, "loc": { "start": { - "line": 292, - "column": 9 + "line": 283, + "column": 8 }, "end": { - "line": 292, - "column": 13 + "line": 283, + "column": 12 } } }, "property": { "type": "Identifier", - "start": 6384, - "end": 6389, + "start": 6022, + "end": 6028, "loc": { "start": { - "line": 292, - "column": 14 + "line": 283, + "column": 13 }, "end": { - "line": 292, + "line": 283, "column": 19 }, - "identifierName": "limbs" + "identifierName": "_limbs" }, - "name": "limbs" + "name": "_limbs" }, "computed": false }, { "type": "Identifier", - "start": 6392, - "end": 6394, + "start": 6030, + "end": 6032, "loc": { "start": { - "line": 292, - "column": 22 + "line": 283, + "column": 21 }, "end": { - "line": 292, - "column": 24 + "line": 283, + "column": 23 }, "identifierName": "li" }, @@ -18497,16 +18458,16 @@ }, { "type": "Identifier", - "start": 6397, - "end": 6399, + "start": 6034, + "end": 6036, "loc": { "start": { - "line": 292, - "column": 27 + "line": 283, + "column": 25 }, "end": { - "line": 292, - "column": 29 + "line": 283, + "column": 27 }, "identifierName": "lj" }, @@ -18514,16 +18475,16 @@ }, { "type": "Identifier", - "start": 6402, - "end": 6403, + "start": 6038, + "end": 6039, "loc": { "start": { - "line": 292, - "column": 32 + "line": 283, + "column": 29 }, "end": { - "line": 292, - "column": 33 + "line": 283, + "column": 30 }, "identifierName": "D" }, @@ -18531,16 +18492,16 @@ }, { "type": "NumericLiteral", - "start": 6406, - "end": 6407, + "start": 6041, + "end": 6042, "loc": { "start": { - "line": 292, - "column": 36 + "line": 283, + "column": 32 }, "end": { - "line": 292, - "column": 37 + "line": 283, + "column": 33 } }, "extra": { @@ -18555,15 +18516,15 @@ { "type": "CommentLine", "value": " Divisor", - "start": 6415, - "end": 6425, + "start": 6048, + "end": 6058, "loc": { "start": { - "line": 294, + "line": 285, "column": 2 }, "end": { - "line": 294, + "line": 285, "column": 12 } } @@ -18572,44 +18533,44 @@ }, { "type": "VariableDeclaration", - "start": 6428, - "end": 6465, + "start": 6061, + "end": 6095, "loc": { "start": { - "line": 295, + "line": 286, "column": 2 }, "end": { - "line": 295, - "column": 39 + "line": 286, + "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6434, - "end": 6463, + "start": 6067, + "end": 6094, "loc": { "start": { - "line": 295, + "line": 286, "column": 8 }, "end": { - "line": 295, - "column": 37 + "line": 286, + "column": 35 } }, "id": { "type": "Identifier", - "start": 6434, - "end": 6435, + "start": 6067, + "end": 6068, "loc": { "start": { - "line": 295, + "line": 286, "column": 8 }, "end": { - "line": 295, + "line": 286, "column": 9 }, "identifierName": "d" @@ -18619,43 +18580,43 @@ }, "init": { "type": "CallExpression", - "start": 6438, - "end": 6463, + "start": 6071, + "end": 6094, "loc": { "start": { - "line": 295, + "line": 286, "column": 12 }, "end": { - "line": 295, - "column": 37 + "line": 286, + "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 6438, - "end": 6458, + "start": 6071, + "end": 6091, "loc": { "start": { - "line": 295, + "line": 286, "column": 12 }, "end": { - "line": 295, + "line": 286, "column": 32 } }, "object": { "type": "Identifier", - "start": 6438, - "end": 6443, + "start": 6071, + "end": 6076, "loc": { "start": { - "line": 295, + "line": 286, "column": 12 }, "end": { - "line": 295, + "line": 286, "column": 17 }, "identifierName": "other" @@ -18664,15 +18625,15 @@ }, "property": { "type": "Identifier", - "start": 6444, - "end": 6458, + "start": 6077, + "end": 6091, "loc": { "start": { - "line": 295, + "line": 286, "column": 18 }, "end": { - "line": 295, + "line": 286, "column": 32 }, "identifierName": "_limbs_in_base" @@ -18684,16 +18645,16 @@ "arguments": [ { "type": "Identifier", - "start": 6460, - "end": 6461, + "start": 6092, + "end": 6093, "loc": { "start": { - "line": 295, - "column": 34 + "line": 286, + "column": 33 }, "end": { - "line": 295, - "column": 35 + "line": 286, + "column": 34 }, "identifierName": "r" }, @@ -18709,15 +18670,15 @@ { "type": "CommentLine", "value": " Divisor", - "start": 6415, - "end": 6425, + "start": 6048, + "end": 6058, "loc": { "start": { - "line": 294, + "line": 285, "column": 2 }, "end": { - "line": 294, + "line": 285, "column": 12 } } @@ -18726,44 +18687,44 @@ }, { "type": "VariableDeclaration", - "start": 6468, - "end": 6489, + "start": 6098, + "end": 6118, "loc": { "start": { - "line": 296, + "line": 287, "column": 2 }, "end": { - "line": 296, - "column": 23 + "line": 287, + "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6474, - "end": 6487, + "start": 6104, + "end": 6117, "loc": { "start": { - "line": 296, + "line": 287, "column": 8 }, "end": { - "line": 296, + "line": 287, "column": 21 } }, "id": { "type": "Identifier", - "start": 6474, - "end": 6476, + "start": 6104, + "end": 6106, "loc": { "start": { - "line": 296, + "line": 287, "column": 8 }, "end": { - "line": 296, + "line": 287, "column": 10 }, "identifierName": "dj" @@ -18772,29 +18733,29 @@ }, "init": { "type": "MemberExpression", - "start": 6479, - "end": 6487, + "start": 6109, + "end": 6117, "loc": { "start": { - "line": 296, + "line": 287, "column": 13 }, "end": { - "line": 296, + "line": 287, "column": 21 } }, "object": { "type": "Identifier", - "start": 6479, - "end": 6480, + "start": 6109, + "end": 6110, "loc": { "start": { - "line": 296, + "line": 287, "column": 13 }, "end": { - "line": 296, + "line": 287, "column": 14 }, "identifierName": "d" @@ -18803,15 +18764,15 @@ }, "property": { "type": "Identifier", - "start": 6481, - "end": 6487, + "start": 6111, + "end": 6117, "loc": { "start": { - "line": 296, + "line": 287, "column": 15 }, "end": { - "line": 296, + "line": 287, "column": 21 }, "identifierName": "length" @@ -18826,44 +18787,44 @@ }, { "type": "VariableDeclaration", - "start": 6492, - "end": 6533, + "start": 6121, + "end": 6157, "loc": { "start": { - "line": 297, + "line": 288, "column": 2 }, "end": { - "line": 297, - "column": 43 + "line": 288, + "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6498, - "end": 6531, + "start": 6127, + "end": 6156, "loc": { "start": { - "line": 297, + "line": 288, "column": 8 }, "end": { - "line": 297, - "column": 41 + "line": 288, + "column": 37 } }, "id": { "type": "Identifier", - "start": 6498, - "end": 6500, + "start": 6127, + "end": 6129, "loc": { "start": { - "line": 297, + "line": 288, "column": 8 }, "end": { - "line": 297, + "line": 288, "column": 10 }, "identifierName": "di" @@ -18872,29 +18833,29 @@ }, "init": { "type": "CallExpression", - "start": 6503, - "end": 6531, + "start": 6132, + "end": 6156, "loc": { "start": { - "line": 297, + "line": 288, "column": 13 }, "end": { - "line": 297, - "column": 41 + "line": 288, + "column": 37 } }, "callee": { "type": "Identifier", - "start": 6503, - "end": 6517, + "start": 6132, + "end": 6146, "loc": { "start": { - "line": 297, + "line": 288, "column": 13 }, "end": { - "line": 297, + "line": 288, "column": 27 }, "identifierName": "_trim_positive" @@ -18904,16 +18865,16 @@ "arguments": [ { "type": "Identifier", - "start": 6519, - "end": 6520, + "start": 6147, + "end": 6148, "loc": { "start": { - "line": 297, - "column": 29 + "line": 288, + "column": 28 }, "end": { - "line": 297, - "column": 30 + "line": 288, + "column": 29 }, "identifierName": "d" }, @@ -18921,16 +18882,16 @@ }, { "type": "NumericLiteral", - "start": 6523, - "end": 6524, + "start": 6150, + "end": 6151, "loc": { "start": { - "line": 297, - "column": 33 + "line": 288, + "column": 31 }, "end": { - "line": 297, - "column": 34 + "line": 288, + "column": 32 } }, "extra": { @@ -18941,16 +18902,16 @@ }, { "type": "Identifier", - "start": 6527, - "end": 6529, + "start": 6153, + "end": 6155, "loc": { "start": { - "line": 297, - "column": 37 + "line": 288, + "column": 34 }, "end": { - "line": 297, - "column": 39 + "line": 288, + "column": 36 }, "identifierName": "dj" }, @@ -18964,32 +18925,32 @@ "trailingComments": [ { "type": "CommentLine", - "value": " di < dj because d != 0", - "start": 6534, - "end": 6559, + "value": " Di < dj because d != 0", + "start": 6158, + "end": 6183, "loc": { "start": { - "line": 297, - "column": 44 + "line": 288, + "column": 39 }, "end": { - "line": 297, - "column": 69 + "line": 288, + "column": 64 } } }, { "type": "CommentLine", "value": " Quotient", - "start": 6563, - "end": 6574, + "start": 6187, + "end": 6198, "loc": { "start": { - "line": 299, + "line": 290, "column": 2 }, "end": { - "line": 299, + "line": 290, "column": 13 } } @@ -18998,44 +18959,44 @@ }, { "type": "VariableDeclaration", - "start": 6577, - "end": 6607, + "start": 6201, + "end": 6228, "loc": { "start": { - "line": 300, + "line": 291, "column": 2 }, "end": { - "line": 300, - "column": 32 + "line": 291, + "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6583, - "end": 6605, + "start": 6207, + "end": 6227, "loc": { "start": { - "line": 300, + "line": 291, "column": 8 }, "end": { - "line": 300, - "column": 30 + "line": 291, + "column": 28 } }, "id": { "type": "Identifier", - "start": 6583, - "end": 6584, + "start": 6207, + "end": 6208, "loc": { "start": { - "line": 300, + "line": 291, "column": 8 }, "end": { - "line": 300, + "line": 291, "column": 9 }, "identifierName": "q" @@ -19045,29 +19006,29 @@ }, "init": { "type": "CallExpression", - "start": 6587, - "end": 6605, + "start": 6211, + "end": 6227, "loc": { "start": { - "line": 300, + "line": 291, "column": 12 }, "end": { - "line": 300, - "column": 30 + "line": 291, + "column": 28 } }, "callee": { "type": "Identifier", - "start": 6587, - "end": 6593, + "start": 6211, + "end": 6217, "loc": { "start": { - "line": 300, + "line": 291, "column": 12 }, "end": { - "line": 300, + "line": 291, "column": 18 }, "identifierName": "_zeros" @@ -19077,30 +19038,30 @@ "arguments": [ { "type": "MemberExpression", - "start": 6595, - "end": 6603, + "start": 6218, + "end": 6226, "loc": { "start": { - "line": 300, - "column": 20 + "line": 291, + "column": 19 }, "end": { - "line": 300, - "column": 28 + "line": 291, + "column": 27 } }, "object": { "type": "Identifier", - "start": 6595, - "end": 6596, + "start": 6218, + "end": 6219, "loc": { "start": { - "line": 300, - "column": 20 + "line": 291, + "column": 19 }, "end": { - "line": 300, - "column": 21 + "line": 291, + "column": 20 }, "identifierName": "D" }, @@ -19108,16 +19069,16 @@ }, "property": { "type": "Identifier", - "start": 6597, - "end": 6603, + "start": 6220, + "end": 6226, "loc": { "start": { - "line": 300, - "column": 22 + "line": 291, + "column": 21 }, "end": { - "line": 300, - "column": 28 + "line": 291, + "column": 27 }, "identifierName": "length" }, @@ -19134,32 +19095,32 @@ "leadingComments": [ { "type": "CommentLine", - "value": " di < dj because d != 0", - "start": 6534, - "end": 6559, + "value": " Di < dj because d != 0", + "start": 6158, + "end": 6183, "loc": { "start": { - "line": 297, - "column": 44 + "line": 288, + "column": 39 }, "end": { - "line": 297, - "column": 69 + "line": 288, + "column": 64 } } }, { "type": "CommentLine", "value": " Quotient", - "start": 6563, - "end": 6574, + "start": 6187, + "end": 6198, "loc": { "start": { - "line": 299, + "line": 290, "column": 2 }, "end": { - "line": 299, + "line": 290, "column": 13 } } @@ -19168,43 +19129,43 @@ }, { "type": "ExpressionStatement", - "start": 6611, - "end": 6678, + "start": 6232, + "end": 6287, "loc": { "start": { - "line": 302, + "line": 293, "column": 2 }, "end": { - "line": 302, - "column": 69 + "line": 293, + "column": 57 } }, "expression": { "type": "CallExpression", - "start": 6611, - "end": 6676, + "start": 6232, + "end": 6286, "loc": { "start": { - "line": 302, + "line": 293, "column": 2 }, "end": { - "line": 302, - "column": 67 + "line": 293, + "column": 56 } }, "callee": { "type": "Identifier", - "start": 6611, - "end": 6619, + "start": 6232, + "end": 6240, "loc": { "start": { - "line": 302, + "line": 293, "column": 2 }, "end": { - "line": 302, + "line": 293, "column": 10 }, "identifierName": "_idivmod" @@ -19214,16 +19175,16 @@ "arguments": [ { "type": "Identifier", - "start": 6621, - "end": 6622, + "start": 6241, + "end": 6242, "loc": { "start": { - "line": 302, - "column": 12 + "line": 293, + "column": 11 }, "end": { - "line": 302, - "column": 13 + "line": 293, + "column": 12 }, "identifierName": "r" }, @@ -19231,16 +19192,16 @@ }, { "type": "Identifier", - "start": 6625, - "end": 6626, + "start": 6244, + "end": 6245, "loc": { "start": { - "line": 302, - "column": 16 + "line": 293, + "column": 14 }, "end": { - "line": 302, - "column": 17 + "line": 293, + "column": 15 }, "identifierName": "D" }, @@ -19248,16 +19209,16 @@ }, { "type": "NumericLiteral", - "start": 6629, - "end": 6630, + "start": 6247, + "end": 6248, "loc": { "start": { - "line": 302, - "column": 20 + "line": 293, + "column": 17 }, "end": { - "line": 302, - "column": 21 + "line": 293, + "column": 18 } }, "extra": { @@ -19268,30 +19229,30 @@ }, { "type": "MemberExpression", - "start": 6633, - "end": 6641, + "start": 6250, + "end": 6258, "loc": { "start": { - "line": 302, - "column": 24 + "line": 293, + "column": 20 }, "end": { - "line": 302, - "column": 32 + "line": 293, + "column": 28 } }, "object": { "type": "Identifier", - "start": 6633, - "end": 6634, + "start": 6250, + "end": 6251, "loc": { "start": { - "line": 302, - "column": 24 + "line": 293, + "column": 20 }, "end": { - "line": 302, - "column": 25 + "line": 293, + "column": 21 }, "identifierName": "D" }, @@ -19299,16 +19260,16 @@ }, "property": { "type": "Identifier", - "start": 6635, - "end": 6641, + "start": 6252, + "end": 6258, "loc": { "start": { - "line": 302, - "column": 26 + "line": 293, + "column": 22 }, "end": { - "line": 302, - "column": 32 + "line": 293, + "column": 28 }, "identifierName": "length" }, @@ -19318,16 +19279,16 @@ }, { "type": "Identifier", - "start": 6644, - "end": 6645, + "start": 6260, + "end": 6261, "loc": { "start": { - "line": 302, - "column": 35 + "line": 293, + "column": 30 }, "end": { - "line": 302, - "column": 36 + "line": 293, + "column": 31 }, "identifierName": "d" }, @@ -19335,16 +19296,16 @@ }, { "type": "Identifier", - "start": 6648, - "end": 6650, + "start": 6263, + "end": 6265, "loc": { "start": { - "line": 302, - "column": 39 + "line": 293, + "column": 33 }, "end": { - "line": 302, - "column": 41 + "line": 293, + "column": 35 }, "identifierName": "di" }, @@ -19352,16 +19313,16 @@ }, { "type": "Identifier", - "start": 6653, - "end": 6655, + "start": 6267, + "end": 6269, "loc": { "start": { - "line": 302, - "column": 44 + "line": 293, + "column": 37 }, "end": { - "line": 302, - "column": 46 + "line": 293, + "column": 39 }, "identifierName": "dj" }, @@ -19369,16 +19330,16 @@ }, { "type": "Identifier", - "start": 6658, - "end": 6659, + "start": 6271, + "end": 6272, "loc": { "start": { - "line": 302, - "column": 49 + "line": 293, + "column": 41 }, "end": { - "line": 302, - "column": 50 + "line": 293, + "column": 42 }, "identifierName": "q" }, @@ -19386,16 +19347,16 @@ }, { "type": "NumericLiteral", - "start": 6662, - "end": 6663, + "start": 6274, + "end": 6275, "loc": { "start": { - "line": 302, - "column": 53 + "line": 293, + "column": 44 }, "end": { - "line": 302, - "column": 54 + "line": 293, + "column": 45 } }, "extra": { @@ -19406,30 +19367,30 @@ }, { "type": "MemberExpression", - "start": 6666, - "end": 6674, + "start": 6277, + "end": 6285, "loc": { "start": { - "line": 302, - "column": 57 + "line": 293, + "column": 47 }, "end": { - "line": 302, - "column": 65 + "line": 293, + "column": 55 } }, "object": { "type": "Identifier", - "start": 6666, - "end": 6667, + "start": 6277, + "end": 6278, "loc": { "start": { - "line": 302, - "column": 57 + "line": 293, + "column": 47 }, "end": { - "line": 302, - "column": 58 + "line": 293, + "column": 48 }, "identifierName": "q" }, @@ -19437,16 +19398,16 @@ }, "property": { "type": "Identifier", - "start": 6668, - "end": 6674, + "start": 6279, + "end": 6285, "loc": { "start": { - "line": 302, - "column": 59 + "line": 293, + "column": 49 }, "end": { - "line": 302, - "column": 65 + "line": 293, + "column": 55 }, "identifierName": "length" }, @@ -19459,44 +19420,44 @@ }, { "type": "VariableDeclaration", - "start": 6682, - "end": 6737, + "start": 6291, + "end": 6341, "loc": { "start": { - "line": 304, + "line": 295, "column": 2 }, "end": { - "line": 304, - "column": 57 + "line": 295, + "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6688, - "end": 6735, + "start": 6297, + "end": 6340, "loc": { "start": { - "line": 304, + "line": 295, "column": 8 }, "end": { - "line": 304, - "column": 55 + "line": 295, + "column": 51 } }, "id": { "type": "Identifier", - "start": 6688, - "end": 6689, + "start": 6297, + "end": 6298, "loc": { "start": { - "line": 304, + "line": 295, "column": 8 }, "end": { - "line": 304, + "line": 295, "column": 9 }, "identifierName": "Q" @@ -19505,29 +19466,29 @@ }, "init": { "type": "NewExpression", - "start": 6692, - "end": 6735, + "start": 6301, + "end": 6340, "loc": { "start": { - "line": 304, + "line": 295, "column": 12 }, "end": { - "line": 304, - "column": 55 + "line": 295, + "column": 51 } }, "callee": { "type": "Identifier", - "start": 6696, - "end": 6703, + "start": 6305, + "end": 6312, "loc": { "start": { - "line": 304, + "line": 295, "column": 16 }, "end": { - "line": 304, + "line": 295, "column": 23 }, "identifierName": "Integer" @@ -19537,16 +19498,16 @@ "arguments": [ { "type": "Identifier", - "start": 6705, - "end": 6706, + "start": 6313, + "end": 6314, "loc": { "start": { - "line": 304, - "column": 25 + "line": 295, + "column": 24 }, "end": { - "line": 304, - "column": 26 + "line": 295, + "column": 25 }, "identifierName": "r" }, @@ -19554,16 +19515,16 @@ }, { "type": "Identifier", - "start": 6709, - "end": 6729, + "start": 6316, + "end": 6336, "loc": { "start": { - "line": 304, - "column": 29 + "line": 295, + "column": 27 }, "end": { - "line": 304, - "column": 49 + "line": 295, + "column": 47 }, "identifierName": "quotient_is_negative" }, @@ -19571,16 +19532,16 @@ }, { "type": "Identifier", - "start": 6732, - "end": 6733, + "start": 6338, + "end": 6339, "loc": { "start": { - "line": 304, - "column": 52 + "line": 295, + "column": 49 }, "end": { - "line": 304, - "column": 53 + "line": 295, + "column": 50 }, "identifierName": "q" }, @@ -19594,17 +19555,17 @@ "trailingComments": [ { "type": "CommentLine", - "value": " quotient", - "start": 6738, - "end": 6749, + "value": " Quotient", + "start": 6342, + "end": 6353, "loc": { "start": { - "line": 304, - "column": 58 + "line": 295, + "column": 53 }, "end": { - "line": 304, - "column": 69 + "line": 295, + "column": 64 } } } @@ -19612,44 +19573,44 @@ }, { "type": "VariableDeclaration", - "start": 6752, - "end": 6788, + "start": 6356, + "end": 6387, "loc": { "start": { - "line": 305, + "line": 296, "column": 2 }, "end": { - "line": 305, - "column": 38 + "line": 296, + "column": 33 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6758, - "end": 6786, + "start": 6362, + "end": 6386, "loc": { "start": { - "line": 305, + "line": 296, "column": 8 }, "end": { - "line": 305, - "column": 36 + "line": 296, + "column": 32 } }, "id": { "type": "Identifier", - "start": 6758, - "end": 6759, + "start": 6362, + "end": 6363, "loc": { "start": { - "line": 305, + "line": 296, "column": 8 }, "end": { - "line": 305, + "line": 296, "column": 9 }, "identifierName": "R" @@ -19659,29 +19620,29 @@ }, "init": { "type": "NewExpression", - "start": 6762, - "end": 6786, + "start": 6366, + "end": 6386, "loc": { "start": { - "line": 305, + "line": 296, "column": 12 }, "end": { - "line": 305, - "column": 36 + "line": 296, + "column": 32 } }, "callee": { "type": "Identifier", - "start": 6766, - "end": 6773, + "start": 6370, + "end": 6377, "loc": { "start": { - "line": 305, + "line": 296, "column": 16 }, "end": { - "line": 305, + "line": 296, "column": 23 }, "identifierName": "Integer" @@ -19691,16 +19652,16 @@ "arguments": [ { "type": "Identifier", - "start": 6775, - "end": 6776, + "start": 6378, + "end": 6379, "loc": { "start": { - "line": 305, - "column": 25 + "line": 296, + "column": 24 }, "end": { - "line": 305, - "column": 26 + "line": 296, + "column": 25 }, "identifierName": "r" }, @@ -19708,16 +19669,16 @@ }, { "type": "NumericLiteral", - "start": 6779, - "end": 6780, + "start": 6381, + "end": 6382, "loc": { "start": { - "line": 305, - "column": 29 + "line": 296, + "column": 27 }, "end": { - "line": 305, - "column": 30 + "line": 296, + "column": 28 } }, "extra": { @@ -19728,16 +19689,16 @@ }, { "type": "Identifier", - "start": 6783, - "end": 6784, + "start": 6384, + "end": 6385, "loc": { "start": { - "line": 305, - "column": 33 + "line": 296, + "column": 30 }, "end": { - "line": 305, - "column": 34 + "line": 296, + "column": 31 }, "identifierName": "D" }, @@ -19752,17 +19713,17 @@ "leadingComments": [ { "type": "CommentLine", - "value": " quotient", - "start": 6738, - "end": 6749, + "value": " Quotient", + "start": 6342, + "end": 6353, "loc": { "start": { - "line": 304, - "column": 58 + "line": 295, + "column": 53 }, "end": { - "line": 304, - "column": 69 + "line": 295, + "column": 64 } } } @@ -19770,17 +19731,17 @@ "trailingComments": [ { "type": "CommentLine", - "value": " remainder", - "start": 6808, - "end": 6820, + "value": " Remainder", + "start": 6388, + "end": 6400, "loc": { "start": { - "line": 305, - "column": 58 + "line": 296, + "column": 34 }, "end": { - "line": 305, - "column": 70 + "line": 296, + "column": 46 } } } @@ -19788,92 +19749,92 @@ }, { "type": "IfStatement", - "start": 6824, - "end": 7217, + "start": 6404, + "end": 6758, "loc": { "start": { - "line": 307, + "line": 298, "column": 2 }, "end": { - "line": 327, + "line": 310, "column": 3 } }, "test": { "type": "LogicalExpression", - "start": 6829, - "end": 6896, + "start": 6408, + "end": 6472, "loc": { "start": { - "line": 307, - "column": 7 + "line": 298, + "column": 6 }, "end": { - "line": 307, - "column": 74 + "line": 298, + "column": 70 } }, "left": { "type": "LogicalExpression", - "start": 6830, - "end": 6867, + "start": 6409, + "end": 6448, "loc": { "start": { - "line": 307, - "column": 8 + "line": 298, + "column": 7 }, "end": { - "line": 307, - "column": 45 + "line": 298, + "column": 46 } }, "left": { "type": "MemberExpression", - "start": 6830, - "end": 6846, + "start": 6409, + "end": 6426, "loc": { "start": { - "line": 307, - "column": 8 + "line": 298, + "column": 7 }, "end": { - "line": 307, + "line": 298, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 6830, - "end": 6834, + "start": 6409, + "end": 6413, "loc": { "start": { - "line": 307, - "column": 8 + "line": 298, + "column": 7 }, "end": { - "line": 307, - "column": 12 + "line": 298, + "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 6835, - "end": 6846, + "start": 6414, + "end": 6426, "loc": { "start": { - "line": 307, - "column": 13 + "line": 298, + "column": 12 }, "end": { - "line": 307, + "line": 298, "column": 24 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false, "leadingComments": null @@ -19881,29 +19842,29 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 6850, - "end": 6867, + "start": 6430, + "end": 6448, "loc": { "start": { - "line": 307, + "line": 298, "column": 28 }, "end": { - "line": 307, - "column": 45 + "line": 298, + "column": 46 } }, "object": { "type": "Identifier", - "start": 6850, - "end": 6855, + "start": 6430, + "end": 6435, "loc": { "start": { - "line": 307, + "line": 298, "column": 28 }, "end": { - "line": 307, + "line": 298, "column": 33 }, "identifierName": "other" @@ -19912,71 +19873,71 @@ }, "property": { "type": "Identifier", - "start": 6856, - "end": 6867, + "start": 6436, + "end": 6448, "loc": { "start": { - "line": 307, + "line": 298, "column": 34 }, "end": { - "line": 307, - "column": 45 + "line": 298, + "column": 46 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false }, "leadingComments": null, "extra": { "parenthesized": true, - "parenStart": 6829 + "parenStart": 6408 } }, "operator": "&&", "right": { "type": "UnaryExpression", - "start": 6873, - "end": 6896, + "start": 6453, + "end": 6472, "loc": { "start": { - "line": 307, + "line": 298, "column": 51 }, "end": { - "line": 307, - "column": 74 + "line": 298, + "column": 70 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", - "start": 6874, - "end": 6896, + "start": 6454, + "end": 6472, "loc": { "start": { - "line": 307, + "line": 298, "column": 52 }, "end": { - "line": 307, - "column": 74 + "line": 298, + "column": 70 } }, "callee": { "type": "Identifier", - "start": 6874, - "end": 6876, + "start": 6454, + "end": 6456, "loc": { "start": { - "line": 307, + "line": 298, "column": 52 }, "end": { - "line": 307, + "line": 298, "column": 54 }, "identifierName": "jz" @@ -19986,16 +19947,16 @@ "arguments": [ { "type": "Identifier", - "start": 6878, - "end": 6879, + "start": 6457, + "end": 6458, "loc": { "start": { - "line": 307, - "column": 56 + "line": 298, + "column": 55 }, "end": { - "line": 307, - "column": 57 + "line": 298, + "column": 56 }, "identifierName": "D" }, @@ -20003,16 +19964,16 @@ }, { "type": "NumericLiteral", - "start": 6882, - "end": 6883, + "start": 6460, + "end": 6461, "loc": { "start": { - "line": 307, - "column": 60 + "line": 298, + "column": 58 }, "end": { - "line": 307, - "column": 61 + "line": 298, + "column": 59 } }, "extra": { @@ -20023,30 +19984,30 @@ }, { "type": "MemberExpression", - "start": 6886, - "end": 6894, + "start": 6463, + "end": 6471, "loc": { "start": { - "line": 307, - "column": 64 + "line": 298, + "column": 61 }, "end": { - "line": 307, - "column": 72 + "line": 298, + "column": 69 } }, "object": { "type": "Identifier", - "start": 6886, - "end": 6887, + "start": 6463, + "end": 6464, "loc": { "start": { - "line": 307, - "column": 64 + "line": 298, + "column": 61 }, "end": { - "line": 307, - "column": 65 + "line": 298, + "column": 62 }, "identifierName": "D" }, @@ -20054,16 +20015,16 @@ }, "property": { "type": "Identifier", - "start": 6888, - "end": 6894, + "start": 6465, + "end": 6471, "loc": { "start": { - "line": 307, - "column": 66 + "line": 298, + "column": 63 }, "end": { - "line": 307, - "column": 72 + "line": 298, + "column": 69 }, "identifierName": "length" }, @@ -20081,59 +20042,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 6899, - "end": 7217, + "start": 6474, + "end": 6758, "loc": { "start": { - "line": 307, - "column": 77 + "line": 298, + "column": 72 }, "end": { - "line": 327, + "line": 310, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 6905, - "end": 7212, + "start": 6479, + "end": 6754, "loc": { "start": { - "line": 309, + "line": 299, "column": 3 }, "end": { - "line": 325, + "line": 309, "column": 4 } }, "test": { "type": "MemberExpression", - "start": 6910, - "end": 6927, + "start": 6483, + "end": 6501, "loc": { "start": { - "line": 309, - "column": 8 + "line": 299, + "column": 7 }, "end": { - "line": 309, + "line": 299, "column": 25 } }, "object": { "type": "Identifier", - "start": 6910, - "end": 6915, + "start": 6483, + "end": 6488, "loc": { "start": { - "line": 309, - "column": 8 + "line": 299, + "column": 7 }, "end": { - "line": 309, - "column": 13 + "line": 299, + "column": 12 }, "identifierName": "other" }, @@ -20141,174 +20102,271 @@ }, "property": { "type": "Identifier", - "start": 6916, - "end": 6927, + "start": 6489, + "end": 6501, "loc": { "start": { - "line": 309, - "column": 14 + "line": 299, + "column": 13 }, "end": { - "line": 309, + "line": 299, "column": 25 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false }, "consequent": { "type": "BlockStatement", - "start": 6930, - "end": 7108, + "start": 6503, + "end": 6663, "loc": { "start": { - "line": 309, - "column": 28 + "line": 299, + "column": 27 }, "end": { - "line": 320, + "line": 306, "column": 4 } }, "body": [ { "type": "IfStatement", - "start": 6937, - "end": 7102, + "start": 6509, + "end": 6658, "loc": { "start": { - "line": 311, + "line": 300, "column": 4 }, "end": { - "line": 318, + "line": 305, "column": 5 } }, "test": { - "type": "UnaryExpression", - "start": 6942, - "end": 6959, + "type": "MemberExpression", + "start": 6513, + "end": 6530, "loc": { "start": { - "line": 311, - "column": 9 + "line": 300, + "column": 8 }, "end": { - "line": 311, - "column": 26 + "line": 300, + "column": 25 } }, - "operator": "!", - "prefix": true, - "argument": { - "type": "MemberExpression", - "start": 6943, - "end": 6959, + "object": { + "type": "ThisExpression", + "start": 6513, + "end": 6517, "loc": { "start": { - "line": 311, - "column": 10 + "line": 300, + "column": 8 }, "end": { - "line": 311, - "column": 26 + "line": 300, + "column": 12 } + } + }, + "property": { + "type": "Identifier", + "start": 6518, + "end": 6530, + "loc": { + "start": { + "line": 300, + "column": 13 + }, + "end": { + "line": 300, + "column": 25 + }, + "identifierName": "_is_negative" }, - "object": { - "type": "ThisExpression", - "start": 6943, - "end": 6947, + "name": "_is_negative" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 6532, + "end": 6573, + "loc": { + "start": { + "line": 300, + "column": 27 + }, + "end": { + "line": 302, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 6539, + "end": 6550, "loc": { "start": { - "line": 311, - "column": 10 + "line": 301, + "column": 5 }, "end": { - "line": 311, - "column": 14 + "line": 301, + "column": 16 } - } - }, - "property": { - "type": "Identifier", - "start": 6948, - "end": 6959, - "loc": { - "start": { - "line": 311, - "column": 15 + }, + "expression": { + "type": "CallExpression", + "start": 6539, + "end": 6549, + "loc": { + "start": { + "line": 301, + "column": 5 + }, + "end": { + "line": 301, + "column": 15 + } }, - "end": { - "line": 311, - "column": 26 + "callee": { + "type": "MemberExpression", + "start": 6539, + "end": 6547, + "loc": { + "start": { + "line": 301, + "column": 5 + }, + "end": { + "line": 301, + "column": 13 + } + }, + "object": { + "type": "Identifier", + "start": 6539, + "end": 6540, + "loc": { + "start": { + "line": 301, + "column": 5 + }, + "end": { + "line": 301, + "column": 6 + }, + "identifierName": "R" + }, + "name": "R" + }, + "property": { + "type": "Identifier", + "start": 6541, + "end": 6547, + "loc": { + "start": { + "line": 301, + "column": 7 + }, + "end": { + "line": 301, + "column": 13 + }, + "identifierName": "negate" + }, + "name": "negate" + }, + "computed": false }, - "identifierName": "is_negative" + "arguments": [] }, - "name": "is_negative" - }, - "computed": false - }, - "extra": { - "parenthesizedArgument": false - } + "trailingComments": [ + { + "type": "CommentLine", + "value": " TODO optimize", + "start": 6551, + "end": 6567, + "loc": { + "start": { + "line": 301, + "column": 17 + }, + "end": { + "line": 301, + "column": 33 + } + } + } + ] + } + ], + "directives": [] }, - "consequent": { + "alternate": { "type": "BlockStatement", - "start": 6962, - "end": 7050, + "start": 6579, + "end": 6658, "loc": { "start": { - "line": 311, - "column": 29 + "line": 302, + "column": 11 }, "end": { - "line": 314, + "line": 305, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 6969, - "end": 7004, + "start": 6586, + "end": 6615, "loc": { "start": { - "line": 312, + "line": 303, "column": 5 }, "end": { - "line": 312, - "column": 40 + "line": 303, + "column": 34 } }, "expression": { "type": "CallExpression", - "start": 6969, - "end": 7002, + "start": 6586, + "end": 6614, "loc": { "start": { - "line": 312, + "line": 303, "column": 5 }, "end": { - "line": 312, - "column": 38 + "line": 303, + "column": 33 } }, "callee": { "type": "Identifier", - "start": 6969, - "end": 6978, + "start": 6586, + "end": 6595, "loc": { "start": { - "line": 312, + "line": 303, "column": 5 }, "end": { - "line": 312, + "line": 303, "column": 14 }, "identifierName": "increment" @@ -20318,16 +20376,16 @@ "arguments": [ { "type": "Identifier", - "start": 6980, - "end": 6981, + "start": 6596, + "end": 6597, "loc": { "start": { - "line": 312, - "column": 16 + "line": 303, + "column": 15 }, "end": { - "line": 312, - "column": 17 + "line": 303, + "column": 16 }, "identifierName": "r" }, @@ -20335,16 +20393,16 @@ }, { "type": "Identifier", - "start": 6984, - "end": 6985, + "start": 6599, + "end": 6600, "loc": { "start": { - "line": 312, - "column": 20 + "line": 303, + "column": 18 }, "end": { - "line": 312, - "column": 21 + "line": 303, + "column": 19 }, "identifierName": "q" }, @@ -20352,16 +20410,16 @@ }, { "type": "NumericLiteral", - "start": 6988, - "end": 6989, + "start": 6602, + "end": 6603, "loc": { "start": { - "line": 312, - "column": 24 + "line": 303, + "column": 21 }, "end": { - "line": 312, - "column": 25 + "line": 303, + "column": 22 } }, "extra": { @@ -20372,30 +20430,30 @@ }, { "type": "MemberExpression", - "start": 6992, - "end": 7000, + "start": 6605, + "end": 6613, "loc": { "start": { - "line": 312, - "column": 28 + "line": 303, + "column": 24 }, "end": { - "line": 312, - "column": 36 + "line": 303, + "column": 32 } }, "object": { "type": "Identifier", - "start": 6992, - "end": 6993, + "start": 6605, + "end": 6606, "loc": { "start": { - "line": 312, - "column": 28 + "line": 303, + "column": 24 }, "end": { - "line": 312, - "column": 29 + "line": 303, + "column": 25 }, "identifierName": "q" }, @@ -20403,16 +20461,16 @@ }, "property": { "type": "Identifier", - "start": 6994, - "end": 7000, + "start": 6607, + "end": 6613, "loc": { "start": { - "line": 312, - "column": 30 + "line": 303, + "column": 26 }, "end": { - "line": 312, - "column": 36 + "line": 303, + "column": 32 }, "identifierName": "length" }, @@ -20425,57 +20483,57 @@ }, { "type": "ExpressionStatement", - "start": 7010, - "end": 7027, + "start": 6621, + "end": 6635, "loc": { "start": { - "line": 313, + "line": 304, "column": 5 }, "end": { - "line": 313, - "column": 22 + "line": 304, + "column": 19 } }, "expression": { "type": "CallExpression", - "start": 7010, - "end": 7025, + "start": 6621, + "end": 6634, "loc": { "start": { - "line": 313, + "line": 304, "column": 5 }, "end": { - "line": 313, - "column": 20 + "line": 304, + "column": 18 } }, "callee": { "type": "MemberExpression", - "start": 7010, - "end": 7016, + "start": 6621, + "end": 6627, "loc": { "start": { - "line": 313, + "line": 304, "column": 5 }, "end": { - "line": 313, + "line": 304, "column": 11 } }, "object": { "type": "Identifier", - "start": 7010, - "end": 7011, + "start": 6621, + "end": 6622, "loc": { "start": { - "line": 313, + "line": 304, "column": 5 }, "end": { - "line": 313, + "line": 304, "column": 6 }, "identifierName": "R" @@ -20484,15 +20542,15 @@ }, "property": { "type": "Identifier", - "start": 7012, - "end": 7016, + "start": 6623, + "end": 6627, "loc": { "start": { - "line": 313, + "line": 304, "column": 7 }, "end": { - "line": 313, + "line": 304, "column": 11 }, "identifierName": "iadd" @@ -20504,16 +20562,16 @@ "arguments": [ { "type": "Identifier", - "start": 7018, - "end": 7023, + "start": 6628, + "end": 6633, "loc": { "start": { - "line": 313, - "column": 13 + "line": 304, + "column": 12 }, "end": { - "line": 313, - "column": 18 + "line": 304, + "column": 17 }, "identifierName": "other" }, @@ -20525,133 +20583,16 @@ { "type": "CommentLine", "value": " TODO optimize", - "start": 7028, - "end": 7044, - "loc": { - "start": { - "line": 313, - "column": 23 - }, - "end": { - "line": 313, - "column": 39 - } - } - } - ] - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 7061, - "end": 7102, - "loc": { - "start": { - "line": 316, - "column": 9 - }, - "end": { - "line": 318, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 7068, - "end": 7079, - "loc": { - "start": { - "line": 317, - "column": 5 - }, - "end": { - "line": 317, - "column": 16 - } - }, - "expression": { - "type": "CallExpression", - "start": 7068, - "end": 7078, - "loc": { - "start": { - "line": 317, - "column": 5 - }, - "end": { - "line": 317, - "column": 15 - } - }, - "callee": { - "type": "MemberExpression", - "start": 7068, - "end": 7076, - "loc": { - "start": { - "line": 317, - "column": 5 - }, - "end": { - "line": 317, - "column": 13 - } - }, - "object": { - "type": "Identifier", - "start": 7068, - "end": 7069, - "loc": { - "start": { - "line": 317, - "column": 5 - }, - "end": { - "line": 317, - "column": 6 - }, - "identifierName": "R" - }, - "name": "R" - }, - "property": { - "type": "Identifier", - "start": 7070, - "end": 7076, - "loc": { - "start": { - "line": 317, - "column": 7 - }, - "end": { - "line": 317, - "column": 13 - }, - "identifierName": "negate" - }, - "name": "negate" - }, - "computed": false - }, - "arguments": [] - }, - "trailingComments": [ - { - "type": "CommentLine", - "value": " TODO optimize", - "start": 7080, - "end": 7096, + "start": 6636, + "end": 6652, "loc": { "start": { - "line": 317, - "column": 17 + "line": 304, + "column": 20 }, "end": { - "line": 317, - "column": 33 + "line": 304, + "column": 36 } } } @@ -20666,58 +20607,58 @@ }, "alternate": { "type": "BlockStatement", - "start": 7118, - "end": 7212, + "start": 6669, + "end": 6754, "loc": { "start": { - "line": 322, - "column": 8 + "line": 306, + "column": 10 }, "end": { - "line": 325, + "line": 309, "column": 4 } }, "body": [ { "type": "ExpressionStatement", - "start": 7124, - "end": 7159, + "start": 6675, + "end": 6704, "loc": { "start": { - "line": 323, + "line": 307, "column": 4 }, "end": { - "line": 323, - "column": 39 + "line": 307, + "column": 33 } }, "expression": { "type": "CallExpression", - "start": 7124, - "end": 7157, + "start": 6675, + "end": 6703, "loc": { "start": { - "line": 323, + "line": 307, "column": 4 }, "end": { - "line": 323, - "column": 37 + "line": 307, + "column": 32 } }, "callee": { "type": "Identifier", - "start": 7124, - "end": 7133, + "start": 6675, + "end": 6684, "loc": { "start": { - "line": 323, + "line": 307, "column": 4 }, "end": { - "line": 323, + "line": 307, "column": 13 }, "identifierName": "increment" @@ -20727,16 +20668,16 @@ "arguments": [ { "type": "Identifier", - "start": 7135, - "end": 7136, + "start": 6685, + "end": 6686, "loc": { "start": { - "line": 323, - "column": 15 + "line": 307, + "column": 14 }, "end": { - "line": 323, - "column": 16 + "line": 307, + "column": 15 }, "identifierName": "r" }, @@ -20744,16 +20685,16 @@ }, { "type": "Identifier", - "start": 7139, - "end": 7140, + "start": 6688, + "end": 6689, "loc": { "start": { - "line": 323, - "column": 19 + "line": 307, + "column": 17 }, "end": { - "line": 323, - "column": 20 + "line": 307, + "column": 18 }, "identifierName": "q" }, @@ -20761,16 +20702,16 @@ }, { "type": "NumericLiteral", - "start": 7143, - "end": 7144, + "start": 6691, + "end": 6692, "loc": { "start": { - "line": 323, - "column": 23 + "line": 307, + "column": 20 }, "end": { - "line": 323, - "column": 24 + "line": 307, + "column": 21 } }, "extra": { @@ -20781,30 +20722,30 @@ }, { "type": "MemberExpression", - "start": 7147, - "end": 7155, + "start": 6694, + "end": 6702, "loc": { "start": { - "line": 323, - "column": 27 + "line": 307, + "column": 23 }, "end": { - "line": 323, - "column": 35 + "line": 307, + "column": 31 } }, "object": { "type": "Identifier", - "start": 7147, - "end": 7148, + "start": 6694, + "end": 6695, "loc": { "start": { - "line": 323, - "column": 27 + "line": 307, + "column": 23 }, "end": { - "line": 323, - "column": 28 + "line": 307, + "column": 24 }, "identifierName": "q" }, @@ -20812,16 +20753,16 @@ }, "property": { "type": "Identifier", - "start": 7149, - "end": 7155, + "start": 6696, + "end": 6702, "loc": { "start": { - "line": 323, - "column": 29 + "line": 307, + "column": 25 }, "end": { - "line": 323, - "column": 35 + "line": 307, + "column": 31 }, "identifierName": "length" }, @@ -20834,85 +20775,85 @@ }, { "type": "ExpressionStatement", - "start": 7164, - "end": 7190, + "start": 6709, + "end": 6732, "loc": { "start": { - "line": 324, + "line": 308, "column": 4 }, "end": { - "line": 324, - "column": 30 + "line": 308, + "column": 27 } }, "expression": { "type": "CallExpression", - "start": 7164, - "end": 7188, + "start": 6709, + "end": 6731, "loc": { "start": { - "line": 324, + "line": 308, "column": 4 }, "end": { - "line": 324, - "column": 28 + "line": 308, + "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 7164, - "end": 7179, + "start": 6709, + "end": 6724, "loc": { "start": { - "line": 324, + "line": 308, "column": 4 }, "end": { - "line": 324, + "line": 308, "column": 19 } }, "object": { "type": "CallExpression", - "start": 7164, - "end": 7174, + "start": 6709, + "end": 6719, "loc": { "start": { - "line": 324, + "line": 308, "column": 4 }, "end": { - "line": 324, + "line": 308, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 7164, - "end": 7172, + "start": 6709, + "end": 6717, "loc": { "start": { - "line": 324, + "line": 308, "column": 4 }, "end": { - "line": 324, + "line": 308, "column": 12 } }, "object": { "type": "Identifier", - "start": 7164, - "end": 7165, + "start": 6709, + "end": 6710, "loc": { "start": { - "line": 324, + "line": 308, "column": 4 }, "end": { - "line": 324, + "line": 308, "column": 5 }, "identifierName": "R" @@ -20921,15 +20862,15 @@ }, "property": { "type": "Identifier", - "start": 7166, - "end": 7172, + "start": 6711, + "end": 6717, "loc": { "start": { - "line": 324, + "line": 308, "column": 6 }, "end": { - "line": 324, + "line": 308, "column": 12 }, "identifierName": "negate" @@ -20942,15 +20883,15 @@ }, "property": { "type": "Identifier", - "start": 7175, - "end": 7179, + "start": 6720, + "end": 6724, "loc": { "start": { - "line": 324, + "line": 308, "column": 15 }, "end": { - "line": 324, + "line": 308, "column": 19 }, "identifierName": "iadd" @@ -20962,16 +20903,16 @@ "arguments": [ { "type": "Identifier", - "start": 7181, - "end": 7186, + "start": 6725, + "end": 6730, "loc": { "start": { - "line": 324, - "column": 21 + "line": 308, + "column": 20 }, "end": { - "line": 324, - "column": 26 + "line": 308, + "column": 25 }, "identifierName": "other" }, @@ -20983,16 +20924,16 @@ { "type": "CommentLine", "value": " TODO optimize", - "start": 7191, - "end": 7207, + "start": 6733, + "end": 6749, "loc": { "start": { - "line": 324, - "column": 31 + "line": 308, + "column": 28 }, "end": { - "line": 324, - "column": 47 + "line": 308, + "column": 44 } } } @@ -21009,17 +20950,17 @@ "leadingComments": [ { "type": "CommentLine", - "value": " remainder", - "start": 6808, - "end": 6820, + "value": " Remainder", + "start": 6388, + "end": 6400, "loc": { "start": { - "line": 305, - "column": 58 + "line": 296, + "column": 34 }, "end": { - "line": 305, - "column": 70 + "line": 296, + "column": 46 } } } @@ -21027,45 +20968,45 @@ }, { "type": "ReturnStatement", - "start": 7221, - "end": 7239, + "start": 6762, + "end": 6776, "loc": { "start": { - "line": 329, + "line": 312, "column": 2 }, "end": { - "line": 329, - "column": 20 + "line": 312, + "column": 16 } }, "argument": { "type": "ArrayExpression", - "start": 7228, - "end": 7237, + "start": 6769, + "end": 6775, "loc": { "start": { - "line": 329, + "line": 312, "column": 9 }, "end": { - "line": 329, - "column": 18 + "line": 312, + "column": 15 } }, "elements": [ { "type": "Identifier", - "start": 7230, - "end": 7231, + "start": 6770, + "end": 6771, "loc": { "start": { - "line": 329, - "column": 11 + "line": 312, + "column": 10 }, "end": { - "line": 329, - "column": 12 + "line": 312, + "column": 11 }, "identifierName": "Q" }, @@ -21073,16 +21014,16 @@ }, { "type": "Identifier", - "start": 7234, - "end": 7235, + "start": 6773, + "end": 6774, "loc": { "start": { - "line": 329, - "column": 15 + "line": 312, + "column": 13 }, "end": { - "line": 329, - "column": 16 + "line": 312, + "column": 14 }, "identifierName": "R" }, @@ -21097,15 +21038,15 @@ }, { "type": "ClassMethod", - "start": 7246, - "end": 7393, + "start": 6782, + "end": 6918, "loc": { "start": { - "line": 333, + "line": 315, "column": 1 }, "end": { - "line": 337, + "line": 319, "column": 2 } }, @@ -21113,15 +21054,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 7246, - "end": 7253, + "start": 6782, + "end": 6789, "loc": { "start": { - "line": 333, + "line": 315, "column": 1 }, "end": { - "line": 333, + "line": 315, "column": 8 }, "identifierName": "idivmod" @@ -21136,16 +21077,16 @@ "params": [ { "type": "Identifier", - "start": 7256, - "end": 7261, + "start": 6790, + "end": 6795, "loc": { "start": { - "line": 333, - "column": 11 + "line": 315, + "column": 9 }, "end": { - "line": 333, - "column": 16 + "line": 315, + "column": 14 }, "identifierName": "other" }, @@ -21154,75 +21095,75 @@ ], "body": { "type": "BlockStatement", - "start": 7264, - "end": 7393, + "start": 6797, + "end": 6918, "loc": { "start": { - "line": 333, - "column": 19 + "line": 315, + "column": 16 }, "end": { - "line": 337, + "line": 319, "column": 2 } }, "body": [ { "type": "VariableDeclaration", - "start": 7320, - "end": 7358, + "start": 6853, + "end": 6887, "loc": { "start": { - "line": 335, + "line": 317, "column": 2 }, "end": { - "line": 335, - "column": 40 + "line": 317, + "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7326, - "end": 7356, + "start": 6859, + "end": 6886, "loc": { "start": { - "line": 335, + "line": 317, "column": 8 }, "end": { - "line": 335, - "column": 38 + "line": 317, + "column": 35 } }, "id": { "type": "ArrayPattern", - "start": 7326, - "end": 7335, + "start": 6859, + "end": 6865, "loc": { "start": { - "line": 335, + "line": 317, "column": 8 }, "end": { - "line": 335, - "column": 17 + "line": 317, + "column": 14 } }, "elements": [ { "type": "Identifier", - "start": 7328, - "end": 7329, + "start": 6860, + "end": 6861, "loc": { "start": { - "line": 335, - "column": 10 + "line": 317, + "column": 9 }, "end": { - "line": 335, - "column": 11 + "line": 317, + "column": 10 }, "identifierName": "q" }, @@ -21231,16 +21172,16 @@ }, { "type": "Identifier", - "start": 7332, - "end": 7333, + "start": 6863, + "end": 6864, "loc": { "start": { - "line": 335, - "column": 14 + "line": 317, + "column": 12 }, "end": { - "line": 335, - "column": 15 + "line": 317, + "column": 13 }, "identifierName": "r" }, @@ -21251,59 +21192,59 @@ }, "init": { "type": "CallExpression", - "start": 7338, - "end": 7356, + "start": 6868, + "end": 6886, "loc": { "start": { - "line": 335, - "column": 20 + "line": 317, + "column": 17 }, "end": { - "line": 335, - "column": 38 + "line": 317, + "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 7338, - "end": 7349, + "start": 6868, + "end": 6879, "loc": { "start": { - "line": 335, - "column": 20 + "line": 317, + "column": 17 }, "end": { - "line": 335, - "column": 31 + "line": 317, + "column": 28 } }, "object": { "type": "ThisExpression", - "start": 7338, - "end": 7342, + "start": 6868, + "end": 6872, "loc": { "start": { - "line": 335, - "column": 20 + "line": 317, + "column": 17 }, "end": { - "line": 335, - "column": 24 + "line": 317, + "column": 21 } } }, "property": { "type": "Identifier", - "start": 7343, - "end": 7349, + "start": 6873, + "end": 6879, "loc": { "start": { - "line": 335, - "column": 25 + "line": 317, + "column": 22 }, "end": { - "line": 335, - "column": 31 + "line": 317, + "column": 28 }, "identifierName": "divmod" }, @@ -21314,16 +21255,16 @@ "arguments": [ { "type": "Identifier", - "start": 7350, - "end": 7355, + "start": 6880, + "end": 6885, "loc": { "start": { - "line": 335, - "column": 32 + "line": 317, + "column": 29 }, "end": { - "line": 335, - "column": 37 + "line": 317, + "column": 34 }, "identifierName": "other" }, @@ -21339,15 +21280,15 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 7268, - "end": 7317, + "start": 6801, + "end": 6850, "loc": { "start": { - "line": 334, + "line": 316, "column": 2 }, "end": { - "line": 334, + "line": 316, "column": 51 } } @@ -21356,45 +21297,45 @@ }, { "type": "ReturnStatement", - "start": 7361, - "end": 7390, + "start": 6890, + "end": 6915, "loc": { "start": { - "line": 336, + "line": 318, "column": 2 }, "end": { - "line": 336, - "column": 31 + "line": 318, + "column": 27 } }, "argument": { "type": "ArrayExpression", - "start": 7368, - "end": 7388, + "start": 6897, + "end": 6914, "loc": { "start": { - "line": 336, + "line": 318, "column": 9 }, "end": { - "line": 336, - "column": 29 + "line": 318, + "column": 26 } }, "elements": [ { "type": "Identifier", - "start": 7370, - "end": 7371, + "start": 6898, + "end": 6899, "loc": { "start": { - "line": 336, - "column": 11 + "line": 318, + "column": 10 }, "end": { - "line": 336, - "column": 12 + "line": 318, + "column": 11 }, "identifierName": "q" }, @@ -21402,44 +21343,44 @@ }, { "type": "CallExpression", - "start": 7374, - "end": 7386, + "start": 6901, + "end": 6913, "loc": { "start": { - "line": 336, - "column": 15 + "line": 318, + "column": 13 }, "end": { - "line": 336, - "column": 27 + "line": 318, + "column": 25 } }, "callee": { "type": "MemberExpression", - "start": 7374, - "end": 7380, + "start": 6901, + "end": 6907, "loc": { "start": { - "line": 336, - "column": 15 + "line": 318, + "column": 13 }, "end": { - "line": 336, - "column": 21 + "line": 318, + "column": 19 } }, "object": { "type": "Identifier", - "start": 7374, - "end": 7375, + "start": 6901, + "end": 6902, "loc": { "start": { - "line": 336, - "column": 15 + "line": 318, + "column": 13 }, "end": { - "line": 336, - "column": 16 + "line": 318, + "column": 14 }, "identifierName": "r" }, @@ -21447,16 +21388,16 @@ }, "property": { "type": "Identifier", - "start": 7376, - "end": 7380, + "start": 6903, + "end": 6907, "loc": { "start": { - "line": 336, - "column": 17 + "line": 318, + "column": 15 }, "end": { - "line": 336, - "column": 21 + "line": 318, + "column": 19 }, "identifierName": "move" }, @@ -21467,16 +21408,16 @@ "arguments": [ { "type": "ThisExpression", - "start": 7381, - "end": 7385, + "start": 6908, + "end": 6912, "loc": { "start": { - "line": 336, - "column": 22 + "line": 318, + "column": 20 }, "end": { - "line": 336, - "column": 26 + "line": 318, + "column": 24 } } } @@ -21491,15 +21432,15 @@ }, { "type": "ClassMethod", - "start": 7396, - "end": 7464, + "start": 6921, + "end": 6985, "loc": { "start": { - "line": 339, + "line": 321, "column": 1 }, "end": { - "line": 341, + "line": 323, "column": 2 } }, @@ -21507,15 +21448,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 7396, - "end": 7403, + "start": 6921, + "end": 6928, "loc": { "start": { - "line": 339, + "line": 321, "column": 1 }, "end": { - "line": 339, + "line": 321, "column": 8 }, "identifierName": "divmodn" @@ -21530,16 +21471,16 @@ "params": [ { "type": "Identifier", - "start": 7406, - "end": 7412, + "start": 6929, + "end": 6935, "loc": { "start": { - "line": 339, - "column": 11 + "line": 321, + "column": 9 }, "end": { - "line": 339, - "column": 17 + "line": 321, + "column": 15 }, "identifierName": "number" }, @@ -21548,87 +21489,87 @@ ], "body": { "type": "BlockStatement", - "start": 7415, - "end": 7464, + "start": 6937, + "end": 6985, "loc": { "start": { - "line": 339, - "column": 20 + "line": 321, + "column": 17 }, "end": { - "line": 341, + "line": 323, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 7419, - "end": 7461, + "start": 6941, + "end": 6982, "loc": { "start": { - "line": 340, + "line": 322, "column": 2 }, "end": { - "line": 340, - "column": 44 + "line": 322, + "column": 43 } }, "argument": { "type": "CallExpression", - "start": 7426, - "end": 7459, + "start": 6948, + "end": 6981, "loc": { "start": { - "line": 340, + "line": 322, "column": 9 }, "end": { - "line": 340, + "line": 322, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 7426, - "end": 7437, + "start": 6948, + "end": 6959, "loc": { "start": { - "line": 340, + "line": 322, "column": 9 }, "end": { - "line": 340, + "line": 322, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 7426, - "end": 7430, + "start": 6948, + "end": 6952, "loc": { "start": { - "line": 340, + "line": 322, "column": 9 }, "end": { - "line": 340, + "line": 322, "column": 13 } } }, "property": { "type": "Identifier", - "start": 7431, - "end": 7437, + "start": 6953, + "end": 6959, "loc": { "start": { - "line": 340, + "line": 322, "column": 14 }, "end": { - "line": 340, + "line": 322, "column": 20 }, "identifierName": "divmod" @@ -21640,29 +21581,29 @@ "arguments": [ { "type": "CallExpression", - "start": 7438, - "end": 7458, + "start": 6960, + "end": 6980, "loc": { "start": { - "line": 340, + "line": 322, "column": 21 }, "end": { - "line": 340, + "line": 322, "column": 41 } }, "callee": { "type": "Identifier", - "start": 7438, - "end": 7450, + "start": 6960, + "end": 6972, "loc": { "start": { - "line": 340, + "line": 322, "column": 21 }, "end": { - "line": 340, + "line": 322, "column": 33 }, "identifierName": "_from_number" @@ -21672,15 +21613,15 @@ "arguments": [ { "type": "Identifier", - "start": 7451, - "end": 7457, + "start": 6973, + "end": 6979, "loc": { "start": { - "line": 340, + "line": 322, "column": 34 }, "end": { - "line": 340, + "line": 322, "column": 40 }, "identifierName": "number" @@ -21698,15 +21639,15 @@ }, { "type": "ClassMethod", - "start": 7467, - "end": 7566, + "start": 6988, + "end": 7076, "loc": { "start": { - "line": 343, + "line": 325, "column": 1 }, "end": { - "line": 346, + "line": 328, "column": 2 } }, @@ -21714,15 +21655,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 7467, - "end": 7475, + "start": 6988, + "end": 6996, "loc": { "start": { - "line": 343, + "line": 325, "column": 1 }, "end": { - "line": 343, + "line": 325, "column": 9 }, "identifierName": "idivmodn" @@ -21737,16 +21678,16 @@ "params": [ { "type": "Identifier", - "start": 7478, - "end": 7484, + "start": 6997, + "end": 7003, "loc": { "start": { - "line": 343, - "column": 12 + "line": 325, + "column": 10 }, "end": { - "line": 343, - "column": 18 + "line": 325, + "column": 16 }, "identifierName": "number" }, @@ -21755,75 +21696,75 @@ ], "body": { "type": "BlockStatement", - "start": 7487, - "end": 7566, + "start": 7005, + "end": 7076, "loc": { "start": { - "line": 343, - "column": 21 + "line": 325, + "column": 18 }, "end": { - "line": 346, + "line": 328, "column": 2 } }, "body": [ { "type": "VariableDeclaration", - "start": 7491, - "end": 7531, + "start": 7009, + "end": 7045, "loc": { "start": { - "line": 344, + "line": 326, "column": 2 }, "end": { - "line": 344, - "column": 42 + "line": 326, + "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7497, - "end": 7529, + "start": 7015, + "end": 7044, "loc": { "start": { - "line": 344, + "line": 326, "column": 8 }, "end": { - "line": 344, - "column": 40 + "line": 326, + "column": 37 } }, "id": { "type": "ArrayPattern", - "start": 7497, - "end": 7506, + "start": 7015, + "end": 7021, "loc": { "start": { - "line": 344, + "line": 326, "column": 8 }, "end": { - "line": 344, - "column": 17 + "line": 326, + "column": 14 } }, "elements": [ { "type": "Identifier", - "start": 7499, - "end": 7500, + "start": 7016, + "end": 7017, "loc": { "start": { - "line": 344, - "column": 10 + "line": 326, + "column": 9 }, "end": { - "line": 344, - "column": 11 + "line": 326, + "column": 10 }, "identifierName": "q" }, @@ -21831,16 +21772,16 @@ }, { "type": "Identifier", - "start": 7503, - "end": 7504, + "start": 7019, + "end": 7020, "loc": { "start": { - "line": 344, - "column": 14 + "line": 326, + "column": 12 }, "end": { - "line": 344, - "column": 15 + "line": 326, + "column": 13 }, "identifierName": "r" }, @@ -21850,59 +21791,59 @@ }, "init": { "type": "CallExpression", - "start": 7509, - "end": 7529, + "start": 7024, + "end": 7044, "loc": { "start": { - "line": 344, - "column": 20 + "line": 326, + "column": 17 }, "end": { - "line": 344, - "column": 40 + "line": 326, + "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 7509, - "end": 7521, + "start": 7024, + "end": 7036, "loc": { "start": { - "line": 344, - "column": 20 + "line": 326, + "column": 17 }, "end": { - "line": 344, - "column": 32 + "line": 326, + "column": 29 } }, "object": { "type": "ThisExpression", - "start": 7509, - "end": 7513, + "start": 7024, + "end": 7028, "loc": { "start": { - "line": 344, - "column": 20 + "line": 326, + "column": 17 }, "end": { - "line": 344, - "column": 24 + "line": 326, + "column": 21 } } }, "property": { "type": "Identifier", - "start": 7514, - "end": 7521, + "start": 7029, + "end": 7036, "loc": { "start": { - "line": 344, - "column": 25 + "line": 326, + "column": 22 }, "end": { - "line": 344, - "column": 32 + "line": 326, + "column": 29 }, "identifierName": "divmodn" }, @@ -21913,16 +21854,16 @@ "arguments": [ { "type": "Identifier", - "start": 7522, - "end": 7528, + "start": 7037, + "end": 7043, "loc": { "start": { - "line": 344, - "column": 33 + "line": 326, + "column": 30 }, "end": { - "line": 344, - "column": 39 + "line": 326, + "column": 36 }, "identifierName": "number" }, @@ -21936,45 +21877,45 @@ }, { "type": "ReturnStatement", - "start": 7534, - "end": 7563, + "start": 7048, + "end": 7073, "loc": { "start": { - "line": 345, + "line": 327, "column": 2 }, "end": { - "line": 345, - "column": 31 + "line": 327, + "column": 27 } }, "argument": { "type": "ArrayExpression", - "start": 7541, - "end": 7561, + "start": 7055, + "end": 7072, "loc": { "start": { - "line": 345, + "line": 327, "column": 9 }, "end": { - "line": 345, - "column": 29 + "line": 327, + "column": 26 } }, "elements": [ { "type": "Identifier", - "start": 7543, - "end": 7544, + "start": 7056, + "end": 7057, "loc": { "start": { - "line": 345, - "column": 11 + "line": 327, + "column": 10 }, "end": { - "line": 345, - "column": 12 + "line": 327, + "column": 11 }, "identifierName": "q" }, @@ -21982,44 +21923,44 @@ }, { "type": "CallExpression", - "start": 7547, - "end": 7559, + "start": 7059, + "end": 7071, "loc": { "start": { - "line": 345, - "column": 15 + "line": 327, + "column": 13 }, "end": { - "line": 345, - "column": 27 + "line": 327, + "column": 25 } }, "callee": { "type": "MemberExpression", - "start": 7547, - "end": 7553, + "start": 7059, + "end": 7065, "loc": { "start": { - "line": 345, - "column": 15 + "line": 327, + "column": 13 }, "end": { - "line": 345, - "column": 21 + "line": 327, + "column": 19 } }, "object": { "type": "Identifier", - "start": 7547, - "end": 7548, + "start": 7059, + "end": 7060, "loc": { "start": { - "line": 345, - "column": 15 + "line": 327, + "column": 13 }, "end": { - "line": 345, - "column": 16 + "line": 327, + "column": 14 }, "identifierName": "r" }, @@ -22027,16 +21968,16 @@ }, "property": { "type": "Identifier", - "start": 7549, - "end": 7553, + "start": 7061, + "end": 7065, "loc": { "start": { - "line": 345, - "column": 17 + "line": 327, + "column": 15 }, "end": { - "line": 345, - "column": 21 + "line": 327, + "column": 19 }, "identifierName": "move" }, @@ -22047,16 +21988,16 @@ "arguments": [ { "type": "ThisExpression", - "start": 7554, - "end": 7558, + "start": 7066, + "end": 7070, "loc": { "start": { - "line": 345, - "column": 22 + "line": 327, + "column": 20 }, "end": { - "line": 345, - "column": 26 + "line": 327, + "column": 24 } } } @@ -22071,15 +22012,15 @@ }, { "type": "ClassMethod", - "start": 7569, - "end": 7655, + "start": 7079, + "end": 7161, "loc": { "start": { - "line": 348, + "line": 330, "column": 1 }, "end": { - "line": 350, + "line": 332, "column": 2 } }, @@ -22087,15 +22028,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 7569, - "end": 7577, + "start": 7079, + "end": 7087, "loc": { "start": { - "line": 348, + "line": 330, "column": 1 }, "end": { - "line": 348, + "line": 330, "column": 9 }, "identifierName": "opposite" @@ -22110,58 +22051,58 @@ "params": [], "body": { "type": "BlockStatement", - "start": 7582, - "end": 7655, + "start": 7090, + "end": 7161, "loc": { "start": { - "line": 348, - "column": 14 + "line": 330, + "column": 12 }, "end": { - "line": 350, + "line": 332, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 7586, - "end": 7652, + "start": 7094, + "end": 7158, "loc": { "start": { - "line": 349, + "line": 331, "column": 2 }, "end": { - "line": 349, - "column": 68 + "line": 331, + "column": 66 } }, "argument": { "type": "NewExpression", - "start": 7593, - "end": 7650, + "start": 7101, + "end": 7157, "loc": { "start": { - "line": 349, + "line": 331, "column": 9 }, "end": { - "line": 349, - "column": 66 + "line": 331, + "column": 65 } }, "callee": { "type": "Identifier", - "start": 7597, - "end": 7604, + "start": 7105, + "end": 7112, "loc": { "start": { - "line": 349, + "line": 331, "column": 13 }, "end": { - "line": 349, + "line": 331, "column": 20 }, "identifierName": "Integer" @@ -22171,63 +22112,63 @@ "arguments": [ { "type": "MemberExpression", - "start": 7606, - "end": 7615, + "start": 7113, + "end": 7123, "loc": { "start": { - "line": 349, - "column": 22 + "line": 331, + "column": 21 }, "end": { - "line": 349, + "line": 331, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 7606, - "end": 7610, + "start": 7113, + "end": 7117, "loc": { "start": { - "line": 349, - "column": 22 + "line": 331, + "column": 21 }, "end": { - "line": 349, - "column": 26 + "line": 331, + "column": 25 } } }, "property": { "type": "Identifier", - "start": 7611, - "end": 7615, + "start": 7118, + "end": 7123, "loc": { "start": { - "line": 349, - "column": 27 + "line": 331, + "column": 26 }, "end": { - "line": 349, + "line": 331, "column": 31 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false }, { "type": "UnaryExpression", - "start": 7618, - "end": 7635, + "start": 7125, + "end": 7143, "loc": { "start": { - "line": 349, - "column": 34 + "line": 331, + "column": 33 }, "end": { - "line": 349, + "line": 331, "column": 51 } }, @@ -22235,49 +22176,49 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 7619, - "end": 7635, + "start": 7126, + "end": 7143, "loc": { "start": { - "line": 349, - "column": 35 + "line": 331, + "column": 34 }, "end": { - "line": 349, + "line": 331, "column": 51 } }, "object": { "type": "ThisExpression", - "start": 7619, - "end": 7623, + "start": 7126, + "end": 7130, "loc": { "start": { - "line": 349, - "column": 35 + "line": 331, + "column": 34 }, "end": { - "line": 349, - "column": 39 + "line": 331, + "column": 38 } } }, "property": { "type": "Identifier", - "start": 7624, - "end": 7635, + "start": 7131, + "end": 7143, "loc": { "start": { - "line": 349, - "column": 40 + "line": 331, + "column": 39 }, "end": { - "line": 349, + "line": 331, "column": 51 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false }, @@ -22287,49 +22228,49 @@ }, { "type": "MemberExpression", - "start": 7638, - "end": 7648, + "start": 7145, + "end": 7156, "loc": { "start": { - "line": 349, - "column": 54 + "line": 331, + "column": 53 }, "end": { - "line": 349, + "line": 331, "column": 64 } }, "object": { "type": "ThisExpression", - "start": 7638, - "end": 7642, + "start": 7145, + "end": 7149, "loc": { "start": { - "line": 349, - "column": 54 + "line": 331, + "column": 53 }, "end": { - "line": 349, - "column": 58 + "line": 331, + "column": 57 } } }, "property": { "type": "Identifier", - "start": 7643, - "end": 7648, + "start": 7150, + "end": 7156, "loc": { "start": { - "line": 349, - "column": 59 + "line": 331, + "column": 58 }, "end": { - "line": 349, + "line": 331, "column": 64 }, - "identifierName": "limbs" + "identifierName": "_limbs" }, - "name": "limbs" + "name": "_limbs" }, "computed": false } @@ -22342,15 +22283,15 @@ }, { "type": "ClassMethod", - "start": 7658, - "end": 7762, + "start": 7164, + "end": 7266, "loc": { "start": { - "line": 352, + "line": 334, "column": 1 }, "end": { - "line": 355, + "line": 337, "column": 2 } }, @@ -22358,15 +22299,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 7658, - "end": 7664, + "start": 7164, + "end": 7170, "loc": { "start": { - "line": 352, + "line": 334, "column": 1 }, "end": { - "line": 352, + "line": 334, "column": 7 }, "identifierName": "negate" @@ -22381,100 +22322,100 @@ "params": [], "body": { "type": "BlockStatement", - "start": 7669, - "end": 7762, + "start": 7173, + "end": 7266, "loc": { "start": { - "line": 352, - "column": 12 + "line": 334, + "column": 10 }, "end": { - "line": 355, + "line": 337, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 7725, - "end": 7759, + "start": 7229, + "end": 7263, "loc": { "start": { - "line": 354, + "line": 336, "column": 2 }, "end": { - "line": 354, + "line": 336, "column": 36 } }, "argument": { "type": "CallExpression", - "start": 7732, - "end": 7758, + "start": 7236, + "end": 7262, "loc": { "start": { - "line": 354, + "line": 336, "column": 9 }, "end": { - "line": 354, + "line": 336, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 7732, - "end": 7752, + "start": 7236, + "end": 7256, "loc": { "start": { - "line": 354, + "line": 336, "column": 9 }, "end": { - "line": 354, + "line": 336, "column": 29 } }, "object": { "type": "CallExpression", - "start": 7732, - "end": 7747, + "start": 7236, + "end": 7251, "loc": { "start": { - "line": 354, + "line": 336, "column": 9 }, "end": { - "line": 354, + "line": 336, "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 7732, - "end": 7745, + "start": 7236, + "end": 7249, "loc": { "start": { - "line": 354, + "line": 336, "column": 9 }, "end": { - "line": 354, + "line": 336, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 7732, - "end": 7736, + "start": 7236, + "end": 7240, "loc": { "start": { - "line": 354, + "line": 336, "column": 9 }, "end": { - "line": 354, + "line": 336, "column": 13 } }, @@ -22482,15 +22423,15 @@ }, "property": { "type": "Identifier", - "start": 7737, - "end": 7745, + "start": 7241, + "end": 7249, "loc": { "start": { - "line": 354, + "line": 336, "column": 14 }, "end": { - "line": 354, + "line": 336, "column": 22 }, "identifierName": "opposite" @@ -22505,15 +22446,15 @@ }, "property": { "type": "Identifier", - "start": 7748, - "end": 7752, + "start": 7252, + "end": 7256, "loc": { "start": { - "line": 354, + "line": 336, "column": 25 }, "end": { - "line": 354, + "line": 336, "column": 29 }, "identifierName": "move" @@ -22526,15 +22467,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 7753, - "end": 7757, + "start": 7257, + "end": 7261, "loc": { "start": { - "line": 354, + "line": 336, "column": 30 }, "end": { - "line": 354, + "line": 336, "column": 34 } } @@ -22546,15 +22487,15 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 7673, - "end": 7722, + "start": 7177, + "end": 7226, "loc": { "start": { - "line": 353, + "line": 335, "column": 2 }, "end": { - "line": 353, + "line": 335, "column": 51 } } @@ -22567,15 +22508,15 @@ }, { "type": "ClassMethod", - "start": 7765, - "end": 7834, + "start": 7269, + "end": 7331, "loc": { "start": { - "line": 357, + "line": 339, "column": 1 }, "end": { - "line": 359, + "line": 341, "column": 2 } }, @@ -22583,15 +22524,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 7765, - "end": 7768, + "start": 7269, + "end": 7272, "loc": { "start": { - "line": 357, + "line": 339, "column": 1 }, "end": { - "line": 357, + "line": 339, "column": 4 }, "identifierName": "abs" @@ -22606,115 +22547,115 @@ "params": [], "body": { "type": "BlockStatement", - "start": 7773, - "end": 7834, + "start": 7275, + "end": 7331, "loc": { "start": { - "line": 357, - "column": 9 + "line": 339, + "column": 7 }, "end": { - "line": 359, + "line": 341, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 7777, - "end": 7831, + "start": 7279, + "end": 7328, "loc": { "start": { - "line": 358, + "line": 340, "column": 2 }, "end": { - "line": 358, - "column": 56 + "line": 340, + "column": 51 } }, "argument": { "type": "ConditionalExpression", - "start": 7784, - "end": 7829, + "start": 7286, + "end": 7327, "loc": { "start": { - "line": 358, + "line": 340, "column": 9 }, "end": { - "line": 358, - "column": 54 + "line": 340, + "column": 50 } }, "test": { "type": "BinaryExpression", - "start": 7784, - "end": 7800, + "start": 7286, + "end": 7302, "loc": { "start": { - "line": 358, + "line": 340, "column": 9 }, "end": { - "line": 358, + "line": 340, "column": 25 } }, "left": { "type": "CallExpression", - "start": 7784, - "end": 7795, + "start": 7286, + "end": 7297, "loc": { "start": { - "line": 358, + "line": 340, "column": 9 }, "end": { - "line": 358, + "line": 340, "column": 20 } }, "callee": { "type": "MemberExpression", - "start": 7784, - "end": 7793, + "start": 7286, + "end": 7295, "loc": { "start": { - "line": 358, + "line": 340, "column": 9 }, "end": { - "line": 358, + "line": 340, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 7784, - "end": 7788, + "start": 7286, + "end": 7290, "loc": { "start": { - "line": 358, + "line": 340, "column": 9 }, "end": { - "line": 358, + "line": 340, "column": 13 } } }, "property": { "type": "Identifier", - "start": 7789, - "end": 7793, + "start": 7291, + "end": 7295, "loc": { "start": { - "line": 358, + "line": 340, "column": 14 }, "end": { - "line": 358, + "line": 340, "column": 18 }, "identifierName": "sign" @@ -22728,15 +22669,15 @@ "operator": ">=", "right": { "type": "NumericLiteral", - "start": 7799, - "end": 7800, + "start": 7301, + "end": 7302, "loc": { "start": { - "line": 358, + "line": 340, "column": 24 }, "end": { - "line": 358, + "line": 340, "column": 25 } }, @@ -22749,73 +22690,73 @@ }, "consequent": { "type": "ThisExpression", - "start": 7803, - "end": 7807, + "start": 7305, + "end": 7309, "loc": { "start": { - "line": 358, + "line": 340, "column": 28 }, "end": { - "line": 358, + "line": 340, "column": 32 } } }, "alternate": { "type": "CallExpression", - "start": 7810, - "end": 7829, + "start": 7312, + "end": 7327, "loc": { "start": { - "line": 358, + "line": 340, "column": 35 }, "end": { - "line": 358, - "column": 54 + "line": 340, + "column": 50 } }, "callee": { "type": "MemberExpression", - "start": 7810, - "end": 7823, + "start": 7312, + "end": 7325, "loc": { "start": { - "line": 358, + "line": 340, "column": 35 }, "end": { - "line": 358, + "line": 340, "column": 48 } }, "object": { "type": "ThisExpression", - "start": 7810, - "end": 7814, + "start": 7312, + "end": 7316, "loc": { "start": { - "line": 358, + "line": 340, "column": 35 }, "end": { - "line": 358, + "line": 340, "column": 39 } } }, "property": { "type": "Identifier", - "start": 7815, - "end": 7823, + "start": 7317, + "end": 7325, "loc": { "start": { - "line": 358, + "line": 340, "column": 40 }, "end": { - "line": 358, + "line": 340, "column": 48 }, "identifierName": "opposite" @@ -22824,23 +22765,7 @@ }, "computed": false }, - "arguments": [ - { - "type": "ThisExpression", - "start": 7824, - "end": 7828, - "loc": { - "start": { - "line": 358, - "column": 49 - }, - "end": { - "line": 358, - "column": 53 - } - } - } - ] + "arguments": [] } } } @@ -22850,15 +22775,15 @@ }, { "type": "ClassMethod", - "start": 7837, - "end": 7883, + "start": 7334, + "end": 7377, "loc": { "start": { - "line": 361, + "line": 343, "column": 1 }, "end": { - "line": 363, + "line": 345, "column": 2 } }, @@ -22866,15 +22791,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 7837, - "end": 7841, + "start": 7334, + "end": 7338, "loc": { "start": { - "line": 361, + "line": 343, "column": 1 }, "end": { - "line": 361, + "line": 343, "column": 5 }, "identifierName": "iabs" @@ -22889,115 +22814,115 @@ "params": [], "body": { "type": "BlockStatement", - "start": 7846, - "end": 7883, + "start": 7341, + "end": 7377, "loc": { "start": { - "line": 361, - "column": 10 + "line": 343, + "column": 8 }, "end": { - "line": 363, + "line": 345, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 7850, - "end": 7880, + "start": 7345, + "end": 7374, "loc": { "start": { - "line": 362, + "line": 344, "column": 2 }, "end": { - "line": 362, - "column": 32 + "line": 344, + "column": 31 } }, "argument": { "type": "CallExpression", - "start": 7857, - "end": 7878, + "start": 7352, + "end": 7373, "loc": { "start": { - "line": 362, + "line": 344, "column": 9 }, "end": { - "line": 362, + "line": 344, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 7857, - "end": 7872, + "start": 7352, + "end": 7367, "loc": { "start": { - "line": 362, + "line": 344, "column": 9 }, "end": { - "line": 362, + "line": 344, "column": 24 } }, "object": { "type": "CallExpression", - "start": 7857, - "end": 7867, + "start": 7352, + "end": 7362, "loc": { "start": { - "line": 362, + "line": 344, "column": 9 }, "end": { - "line": 362, + "line": 344, "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 7857, - "end": 7865, + "start": 7352, + "end": 7360, "loc": { "start": { - "line": 362, + "line": 344, "column": 9 }, "end": { - "line": 362, + "line": 344, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 7857, - "end": 7861, + "start": 7352, + "end": 7356, "loc": { "start": { - "line": 362, + "line": 344, "column": 9 }, "end": { - "line": 362, + "line": 344, "column": 13 } } }, "property": { "type": "Identifier", - "start": 7862, - "end": 7865, + "start": 7357, + "end": 7360, "loc": { "start": { - "line": 362, + "line": 344, "column": 14 }, "end": { - "line": 362, + "line": 344, "column": 17 }, "identifierName": "abs" @@ -23010,15 +22935,15 @@ }, "property": { "type": "Identifier", - "start": 7868, - "end": 7872, + "start": 7363, + "end": 7367, "loc": { "start": { - "line": 362, + "line": 344, "column": 20 }, "end": { - "line": 362, + "line": 344, "column": 24 }, "identifierName": "move" @@ -23030,15 +22955,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 7873, - "end": 7877, + "start": 7368, + "end": 7372, "loc": { "start": { - "line": 362, + "line": 344, "column": 25 }, "end": { - "line": 362, + "line": 344, "column": 29 } } @@ -23052,15 +22977,15 @@ }, { "type": "ClassMethod", - "start": 7886, - "end": 7956, + "start": 7380, + "end": 7448, "loc": { "start": { - "line": 365, + "line": 347, "column": 1 }, "end": { - "line": 367, + "line": 349, "column": 2 } }, @@ -23068,15 +22993,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 7886, - "end": 7890, + "start": 7380, + "end": 7384, "loc": { "start": { - "line": 365, + "line": 347, "column": 1 }, "end": { - "line": 365, + "line": 347, "column": 5 }, "identifierName": "sign" @@ -23091,101 +23016,101 @@ "params": [], "body": { "type": "BlockStatement", - "start": 7895, - "end": 7956, + "start": 7387, + "end": 7448, "loc": { "start": { - "line": 365, - "column": 10 + "line": 347, + "column": 8 }, "end": { - "line": 367, + "line": 349, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 7899, - "end": 7953, + "start": 7391, + "end": 7445, "loc": { "start": { - "line": 366, + "line": 348, "column": 2 }, "end": { - "line": 366, + "line": 348, "column": 56 } }, "argument": { "type": "ConditionalExpression", - "start": 7906, - "end": 7951, + "start": 7398, + "end": 7444, "loc": { "start": { - "line": 366, + "line": 348, "column": 9 }, "end": { - "line": 366, - "column": 54 + "line": 348, + "column": 55 } }, "test": { "type": "CallExpression", - "start": 7906, - "end": 7919, + "start": 7398, + "end": 7411, "loc": { "start": { - "line": 366, + "line": 348, "column": 9 }, "end": { - "line": 366, + "line": 348, "column": 22 } }, "callee": { "type": "MemberExpression", - "start": 7906, - "end": 7917, + "start": 7398, + "end": 7409, "loc": { "start": { - "line": 366, + "line": 348, "column": 9 }, "end": { - "line": 366, + "line": 348, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 7906, - "end": 7910, + "start": 7398, + "end": 7402, "loc": { "start": { - "line": 366, + "line": 348, "column": 9 }, "end": { - "line": 366, + "line": 348, "column": 13 } } }, "property": { "type": "Identifier", - "start": 7911, - "end": 7917, + "start": 7403, + "end": 7409, "loc": { "start": { - "line": 366, + "line": 348, "column": 14 }, "end": { - "line": 366, + "line": 348, "column": 20 }, "identifierName": "iszero" @@ -23198,15 +23123,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 7922, - "end": 7923, + "start": 7414, + "end": 7415, "loc": { "start": { - "line": 366, + "line": 348, "column": 25 }, "end": { - "line": 366, + "line": 348, "column": 26 } }, @@ -23218,94 +23143,94 @@ }, "alternate": { "type": "ConditionalExpression", - "start": 7926, - "end": 7951, + "start": 7418, + "end": 7444, "loc": { "start": { - "line": 366, + "line": 348, "column": 29 }, "end": { - "line": 366, - "column": 54 + "line": 348, + "column": 55 } }, "test": { "type": "MemberExpression", - "start": 7926, - "end": 7942, + "start": 7418, + "end": 7435, "loc": { "start": { - "line": 366, + "line": 348, "column": 29 }, "end": { - "line": 366, - "column": 45 + "line": 348, + "column": 46 } }, "object": { "type": "ThisExpression", - "start": 7926, - "end": 7930, + "start": 7418, + "end": 7422, "loc": { "start": { - "line": 366, + "line": 348, "column": 29 }, "end": { - "line": 366, + "line": 348, "column": 33 } } }, "property": { "type": "Identifier", - "start": 7931, - "end": 7942, + "start": 7423, + "end": 7435, "loc": { "start": { - "line": 366, + "line": 348, "column": 34 }, "end": { - "line": 366, - "column": 45 + "line": 348, + "column": 46 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false }, "consequent": { "type": "UnaryExpression", - "start": 7945, - "end": 7947, + "start": 7438, + "end": 7440, "loc": { "start": { - "line": 366, - "column": 48 + "line": 348, + "column": 49 }, "end": { - "line": 366, - "column": 50 + "line": 348, + "column": 51 } }, "operator": "-", "prefix": true, "argument": { "type": "NumericLiteral", - "start": 7946, - "end": 7947, + "start": 7439, + "end": 7440, "loc": { "start": { - "line": 366, - "column": 49 + "line": 348, + "column": 50 }, "end": { - "line": 366, - "column": 50 + "line": 348, + "column": 51 } }, "extra": { @@ -23320,16 +23245,16 @@ }, "alternate": { "type": "NumericLiteral", - "start": 7950, - "end": 7951, + "start": 7443, + "end": 7444, "loc": { "start": { - "line": 366, - "column": 53 + "line": 348, + "column": 54 }, "end": { - "line": 366, - "column": 54 + "line": 348, + "column": 55 } }, "extra": { @@ -23347,15 +23272,15 @@ }, { "type": "ClassMethod", - "start": 7959, - "end": 8026, + "start": 7451, + "end": 7513, "loc": { "start": { - "line": 369, + "line": 351, "column": 1 }, "end": { - "line": 371, + "line": 353, "column": 2 } }, @@ -23363,15 +23288,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 7959, - "end": 7965, + "start": 7451, + "end": 7457, "loc": { "start": { - "line": 369, + "line": 351, "column": 1 }, "end": { - "line": 369, + "line": 351, "column": 7 }, "identifierName": "iszero" @@ -23386,58 +23311,58 @@ "params": [], "body": { "type": "BlockStatement", - "start": 7970, - "end": 8026, + "start": 7460, + "end": 7513, "loc": { "start": { - "line": 369, - "column": 12 + "line": 351, + "column": 10 }, "end": { - "line": 371, + "line": 353, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 7974, - "end": 8023, + "start": 7464, + "end": 7510, "loc": { "start": { - "line": 370, + "line": 352, "column": 2 }, "end": { - "line": 370, - "column": 51 + "line": 352, + "column": 48 } }, "argument": { "type": "CallExpression", - "start": 7981, - "end": 8021, + "start": 7471, + "end": 7509, "loc": { "start": { - "line": 370, + "line": 352, "column": 9 }, "end": { - "line": 370, - "column": 49 + "line": 352, + "column": 47 } }, "callee": { "type": "Identifier", - "start": 7981, - "end": 7983, + "start": 7471, + "end": 7473, "loc": { "start": { - "line": 370, + "line": 352, "column": 9 }, "end": { - "line": 370, + "line": 352, "column": 11 }, "identifierName": "jz" @@ -23447,64 +23372,64 @@ "arguments": [ { "type": "MemberExpression", - "start": 7985, - "end": 7995, + "start": 7474, + "end": 7485, "loc": { "start": { - "line": 370, - "column": 13 + "line": 352, + "column": 12 }, "end": { - "line": 370, + "line": 352, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 7985, - "end": 7989, + "start": 7474, + "end": 7478, "loc": { "start": { - "line": 370, - "column": 13 + "line": 352, + "column": 12 }, "end": { - "line": 370, - "column": 17 + "line": 352, + "column": 16 } } }, "property": { "type": "Identifier", - "start": 7990, - "end": 7995, + "start": 7479, + "end": 7485, "loc": { "start": { - "line": 370, - "column": 18 + "line": 352, + "column": 17 }, "end": { - "line": 370, + "line": 352, "column": 23 }, - "identifierName": "limbs" + "identifierName": "_limbs" }, - "name": "limbs" + "name": "_limbs" }, "computed": false }, { "type": "NumericLiteral", - "start": 7998, - "end": 7999, + "start": 7487, + "end": 7488, "loc": { "start": { - "line": 370, - "column": 26 + "line": 352, + "column": 25 }, "end": { - "line": 370, - "column": 27 + "line": 352, + "column": 26 } }, "extra": { @@ -23515,78 +23440,78 @@ }, { "type": "MemberExpression", - "start": 8002, - "end": 8019, + "start": 7490, + "end": 7508, "loc": { "start": { - "line": 370, - "column": 30 + "line": 352, + "column": 28 }, "end": { - "line": 370, - "column": 47 + "line": 352, + "column": 46 } }, "object": { "type": "MemberExpression", - "start": 8002, - "end": 8012, + "start": 7490, + "end": 7501, "loc": { "start": { - "line": 370, - "column": 30 + "line": 352, + "column": 28 }, "end": { - "line": 370, - "column": 40 + "line": 352, + "column": 39 } }, "object": { "type": "ThisExpression", - "start": 8002, - "end": 8006, + "start": 7490, + "end": 7494, "loc": { "start": { - "line": 370, - "column": 30 + "line": 352, + "column": 28 }, "end": { - "line": 370, - "column": 34 + "line": 352, + "column": 32 } } }, "property": { "type": "Identifier", - "start": 8007, - "end": 8012, + "start": 7495, + "end": 7501, "loc": { "start": { - "line": 370, - "column": 35 + "line": 352, + "column": 33 }, "end": { - "line": 370, - "column": 40 + "line": 352, + "column": 39 }, - "identifierName": "limbs" + "identifierName": "_limbs" }, - "name": "limbs" + "name": "_limbs" }, "computed": false }, "property": { "type": "Identifier", - "start": 8013, - "end": 8019, + "start": 7502, + "end": 7508, "loc": { "start": { - "line": 370, - "column": 41 + "line": 352, + "column": 40 }, "end": { - "line": 370, - "column": 47 + "line": 352, + "column": 46 }, "identifierName": "length" }, @@ -23603,15 +23528,15 @@ }, { "type": "ClassMethod", - "start": 8029, - "end": 8152, + "start": 7516, + "end": 7627, "loc": { "start": { - "line": 373, + "line": 355, "column": 1 }, "end": { - "line": 376, + "line": 358, "column": 2 } }, @@ -23619,15 +23544,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8029, - "end": 8034, + "start": 7516, + "end": 7521, "loc": { "start": { - "line": 373, + "line": 355, "column": 1 }, "end": { - "line": 373, + "line": 355, "column": 6 }, "identifierName": "isone" @@ -23642,107 +23567,107 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8039, - "end": 8152, + "start": 7524, + "end": 7627, "loc": { "start": { - "line": 373, - "column": 11 + "line": 355, + "column": 9 }, "end": { - "line": 376, + "line": 358, "column": 2 } }, "body": [ { "type": "IfStatement", - "start": 8043, - "end": 8081, + "start": 7528, + "end": 7564, "loc": { "start": { - "line": 374, + "line": 356, "column": 2 }, "end": { - "line": 374, - "column": 40 + "line": 356, + "column": 38 } }, "test": { "type": "MemberExpression", - "start": 8048, - "end": 8064, + "start": 7532, + "end": 7549, "loc": { "start": { - "line": 374, - "column": 7 + "line": 356, + "column": 6 }, "end": { - "line": 374, + "line": 356, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 8048, - "end": 8052, + "start": 7532, + "end": 7536, "loc": { "start": { - "line": 374, - "column": 7 + "line": 356, + "column": 6 }, "end": { - "line": 374, - "column": 11 + "line": 356, + "column": 10 } } }, "property": { "type": "Identifier", - "start": 8053, - "end": 8064, + "start": 7537, + "end": 7549, "loc": { "start": { - "line": 374, - "column": 12 + "line": 356, + "column": 11 }, "end": { - "line": 374, + "line": 356, "column": 23 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false }, "consequent": { "type": "ReturnStatement", - "start": 8067, - "end": 8081, + "start": 7551, + "end": 7564, "loc": { "start": { - "line": 374, - "column": 26 + "line": 356, + "column": 25 }, "end": { - "line": 374, - "column": 40 + "line": 356, + "column": 38 } }, "argument": { "type": "BooleanLiteral", - "start": 8074, - "end": 8079, + "start": 7558, + "end": 7563, "loc": { "start": { - "line": 374, - "column": 33 + "line": 356, + "column": 32 }, "end": { - "line": 374, - "column": 38 + "line": 356, + "column": 37 } }, "value": false @@ -23752,43 +23677,43 @@ }, { "type": "ReturnStatement", - "start": 8084, - "end": 8149, + "start": 7567, + "end": 7624, "loc": { "start": { - "line": 375, + "line": 357, "column": 2 }, "end": { - "line": 375, - "column": 67 + "line": 357, + "column": 59 } }, "argument": { "type": "CallExpression", - "start": 8091, - "end": 8147, + "start": 7574, + "end": 7623, "loc": { "start": { - "line": 375, + "line": 357, "column": 9 }, "end": { - "line": 375, - "column": 65 + "line": 357, + "column": 58 } }, "callee": { "type": "Identifier", - "start": 8091, - "end": 8093, + "start": 7574, + "end": 7576, "loc": { "start": { - "line": 375, + "line": 357, "column": 9 }, "end": { - "line": 375, + "line": 357, "column": 11 }, "identifierName": "eq" @@ -23798,64 +23723,64 @@ "arguments": [ { "type": "MemberExpression", - "start": 8095, - "end": 8105, + "start": 7577, + "end": 7588, "loc": { "start": { - "line": 375, - "column": 13 + "line": 357, + "column": 12 }, "end": { - "line": 375, + "line": 357, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 8095, - "end": 8099, + "start": 7577, + "end": 7581, "loc": { "start": { - "line": 375, - "column": 13 + "line": 357, + "column": 12 }, "end": { - "line": 375, - "column": 17 + "line": 357, + "column": 16 } } }, "property": { "type": "Identifier", - "start": 8100, - "end": 8105, + "start": 7582, + "end": 7588, "loc": { "start": { - "line": 375, - "column": 18 + "line": 357, + "column": 17 }, "end": { - "line": 375, + "line": 357, "column": 23 }, - "identifierName": "limbs" + "identifierName": "_limbs" }, - "name": "limbs" + "name": "_limbs" }, "computed": false }, { "type": "NumericLiteral", - "start": 8108, - "end": 8109, + "start": 7590, + "end": 7591, "loc": { "start": { - "line": 375, - "column": 26 + "line": 357, + "column": 25 }, "end": { - "line": 375, - "column": 27 + "line": 357, + "column": 26 } }, "extra": { @@ -23866,78 +23791,78 @@ }, { "type": "MemberExpression", - "start": 8112, - "end": 8129, + "start": 7593, + "end": 7611, "loc": { "start": { - "line": 375, - "column": 30 + "line": 357, + "column": 28 }, "end": { - "line": 375, - "column": 47 + "line": 357, + "column": 46 } }, "object": { "type": "MemberExpression", - "start": 8112, - "end": 8122, + "start": 7593, + "end": 7604, "loc": { "start": { - "line": 375, - "column": 30 + "line": 357, + "column": 28 }, "end": { - "line": 375, - "column": 40 + "line": 357, + "column": 39 } }, "object": { "type": "ThisExpression", - "start": 8112, - "end": 8116, + "start": 7593, + "end": 7597, "loc": { "start": { - "line": 375, - "column": 30 + "line": 357, + "column": 28 }, "end": { - "line": 375, - "column": 34 + "line": 357, + "column": 32 } } }, "property": { "type": "Identifier", - "start": 8117, - "end": 8122, + "start": 7598, + "end": 7604, "loc": { "start": { - "line": 375, - "column": 35 + "line": 357, + "column": 33 }, "end": { - "line": 375, - "column": 40 + "line": 357, + "column": 39 }, - "identifierName": "limbs" + "identifierName": "_limbs" }, - "name": "limbs" + "name": "_limbs" }, "computed": false }, "property": { "type": "Identifier", - "start": 8123, - "end": 8129, + "start": 7605, + "end": 7611, "loc": { "start": { - "line": 375, - "column": 41 + "line": 357, + "column": 40 }, "end": { - "line": 375, - "column": 47 + "line": 357, + "column": 46 }, "identifierName": "length" }, @@ -23947,31 +23872,31 @@ }, { "type": "ArrayExpression", - "start": 8132, - "end": 8137, + "start": 7613, + "end": 7616, "loc": { "start": { - "line": 375, - "column": 50 + "line": 357, + "column": 48 }, "end": { - "line": 375, - "column": 55 + "line": 357, + "column": 51 } }, "elements": [ { "type": "NumericLiteral", - "start": 8134, - "end": 8135, + "start": 7614, + "end": 7615, "loc": { "start": { - "line": 375, - "column": 52 + "line": 357, + "column": 49 }, "end": { - "line": 375, - "column": 53 + "line": 357, + "column": 50 } }, "extra": { @@ -23984,16 +23909,16 @@ }, { "type": "NumericLiteral", - "start": 8140, - "end": 8141, + "start": 7618, + "end": 7619, "loc": { "start": { - "line": 375, - "column": 58 + "line": 357, + "column": 53 }, "end": { - "line": 375, - "column": 59 + "line": 357, + "column": 54 } }, "extra": { @@ -24004,16 +23929,16 @@ }, { "type": "NumericLiteral", - "start": 8144, - "end": 8145, + "start": 7621, + "end": 7622, "loc": { "start": { - "line": 375, - "column": 62 + "line": 357, + "column": 56 }, "end": { - "line": 375, - "column": 63 + "line": 357, + "column": 57 } }, "extra": { @@ -24031,15 +23956,15 @@ }, { "type": "ClassMethod", - "start": 8155, - "end": 8198, + "start": 7630, + "end": 7671, "loc": { "start": { - "line": 378, + "line": 360, "column": 1 }, "end": { - "line": 380, + "line": 362, "column": 2 } }, @@ -24047,15 +23972,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8155, - "end": 8164, + "start": 7630, + "end": 7639, "loc": { "start": { - "line": 378, + "line": 360, "column": 1 }, "end": { - "line": 378, + "line": 360, "column": 10 }, "identifierName": "isnonzero" @@ -24070,44 +23995,44 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8169, - "end": 8198, + "start": 7642, + "end": 7671, "loc": { "start": { - "line": 378, - "column": 15 + "line": 360, + "column": 13 }, "end": { - "line": 380, + "line": 362, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 8173, - "end": 8195, + "start": 7646, + "end": 7668, "loc": { "start": { - "line": 379, + "line": 361, "column": 2 }, "end": { - "line": 379, + "line": 361, "column": 24 } }, "argument": { "type": "UnaryExpression", - "start": 8180, - "end": 8194, + "start": 7653, + "end": 7667, "loc": { "start": { - "line": 379, + "line": 361, "column": 9 }, "end": { - "line": 379, + "line": 361, "column": 23 } }, @@ -24115,58 +24040,58 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 8181, - "end": 8194, + "start": 7654, + "end": 7667, "loc": { "start": { - "line": 379, + "line": 361, "column": 10 }, "end": { - "line": 379, + "line": 361, "column": 23 } }, "callee": { "type": "MemberExpression", - "start": 8181, - "end": 8192, + "start": 7654, + "end": 7665, "loc": { "start": { - "line": 379, + "line": 361, "column": 10 }, "end": { - "line": 379, + "line": 361, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 8181, - "end": 8185, + "start": 7654, + "end": 7658, "loc": { "start": { - "line": 379, + "line": 361, "column": 10 }, "end": { - "line": 379, + "line": 361, "column": 14 } } }, "property": { "type": "Identifier", - "start": 8186, - "end": 8192, + "start": 7659, + "end": 7665, "loc": { "start": { - "line": 379, + "line": 361, "column": 15 }, "end": { - "line": 379, + "line": 361, "column": 21 }, "identifierName": "iszero" @@ -24188,15 +24113,15 @@ }, { "type": "ClassMethod", - "start": 8201, - "end": 8270, + "start": 7674, + "end": 7726, "loc": { "start": { - "line": 382, + "line": 364, "column": 1 }, "end": { - "line": 384, + "line": 366, "column": 2 } }, @@ -24204,15 +24129,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8201, - "end": 8211, + "start": 7674, + "end": 7684, "loc": { "start": { - "line": 382, + "line": 364, "column": 1 }, "end": { - "line": 382, + "line": 364, "column": 11 }, "identifierName": "isnegative" @@ -24227,182 +24152,135 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8216, - "end": 8270, + "start": 7687, + "end": 7726, "loc": { "start": { - "line": 382, - "column": 16 + "line": 364, + "column": 14 }, "end": { - "line": 384, + "line": 366, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 8220, - "end": 8267, + "start": 7691, + "end": 7723, "loc": { "start": { - "line": 383, + "line": 365, "column": 2 }, "end": { - "line": 383, - "column": 49 + "line": 365, + "column": 34 } }, "argument": { - "type": "ConditionalExpression", - "start": 8227, - "end": 8265, + "type": "BinaryExpression", + "start": 7698, + "end": 7722, "loc": { "start": { - "line": 383, + "line": 365, "column": 9 }, "end": { - "line": 383, - "column": 47 + "line": 365, + "column": 33 } }, - "test": { - "type": "BinaryExpression", - "start": 8227, - "end": 8250, + "left": { + "type": "MemberExpression", + "start": 7698, + "end": 7715, "loc": { "start": { - "line": 383, + "line": 365, "column": 9 }, "end": { - "line": 383, - "column": 32 + "line": 365, + "column": 26 } }, - "left": { - "type": "MemberExpression", - "start": 8227, - "end": 8243, + "object": { + "type": "ThisExpression", + "start": 7698, + "end": 7702, "loc": { "start": { - "line": 383, + "line": 365, "column": 9 }, "end": { - "line": 383, - "column": 25 - } - }, - "object": { - "type": "ThisExpression", - "start": 8227, - "end": 8231, - "loc": { - "start": { - "line": 383, - "column": 9 - }, - "end": { - "line": 383, - "column": 13 - } + "line": 365, + "column": 13 } - }, - "property": { - "type": "Identifier", - "start": 8232, - "end": 8243, - "loc": { - "start": { - "line": 383, - "column": 14 - }, - "end": { - "line": 383, - "column": 25 - }, - "identifierName": "is_negative" - }, - "name": "is_negative" - }, - "computed": false + } }, - "operator": "===", - "right": { - "type": "UnaryExpression", - "start": 8248, - "end": 8250, + "property": { + "type": "Identifier", + "start": 7703, + "end": 7715, "loc": { "start": { - "line": 383, - "column": 30 + "line": 365, + "column": 14 }, "end": { - "line": 383, - "column": 32 - } - }, - "operator": "-", - "prefix": true, - "argument": { - "type": "NumericLiteral", - "start": 8249, - "end": 8250, - "loc": { - "start": { - "line": 383, - "column": 31 - }, - "end": { - "line": 383, - "column": 32 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" + "line": 365, + "column": 26 }, - "value": 1 + "identifierName": "_is_negative" }, - "extra": { - "parenthesizedArgument": false - } - } + "name": "_is_negative" + }, + "computed": false }, - "consequent": { - "type": "BooleanLiteral", - "start": 8253, - "end": 8257, + "operator": "===", + "right": { + "type": "UnaryExpression", + "start": 7720, + "end": 7722, "loc": { "start": { - "line": 383, - "column": 35 + "line": 365, + "column": 31 }, "end": { - "line": 383, - "column": 39 + "line": 365, + "column": 33 } }, - "value": true - }, - "alternate": { - "type": "BooleanLiteral", - "start": 8260, - "end": 8265, - "loc": { - "start": { - "line": 383, - "column": 42 + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 7721, + "end": 7722, + "loc": { + "start": { + "line": 365, + "column": 32 + }, + "end": { + "line": 365, + "column": 33 + } }, - "end": { - "line": 383, - "column": 47 - } + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 }, - "value": false + "extra": { + "parenthesizedArgument": false + } } } } @@ -24412,15 +24290,15 @@ }, { "type": "ClassMethod", - "start": 8273, - "end": 8319, + "start": 7729, + "end": 7772, "loc": { "start": { - "line": 386, + "line": 368, "column": 1 }, "end": { - "line": 388, + "line": 370, "column": 2 } }, @@ -24428,15 +24306,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8273, - "end": 8283, + "start": 7729, + "end": 7739, "loc": { "start": { - "line": 386, + "line": 368, "column": 1 }, "end": { - "line": 386, + "line": 368, "column": 11 }, "identifierName": "ispositive" @@ -24451,101 +24329,101 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8288, - "end": 8319, + "start": 7742, + "end": 7772, "loc": { "start": { - "line": 386, - "column": 16 + "line": 368, + "column": 14 }, "end": { - "line": 388, + "line": 370, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 8292, - "end": 8316, + "start": 7746, + "end": 7769, "loc": { "start": { - "line": 387, + "line": 369, "column": 2 }, "end": { - "line": 387, - "column": 26 + "line": 369, + "column": 25 } }, "argument": { "type": "BinaryExpression", - "start": 8299, - "end": 8314, + "start": 7753, + "end": 7768, "loc": { "start": { - "line": 387, + "line": 369, "column": 9 }, "end": { - "line": 387, + "line": 369, "column": 24 } }, "left": { "type": "CallExpression", - "start": 8299, - "end": 8310, + "start": 7753, + "end": 7764, "loc": { "start": { - "line": 387, + "line": 369, "column": 9 }, "end": { - "line": 387, + "line": 369, "column": 20 } }, "callee": { "type": "MemberExpression", - "start": 8299, - "end": 8308, + "start": 7753, + "end": 7762, "loc": { "start": { - "line": 387, + "line": 369, "column": 9 }, "end": { - "line": 387, + "line": 369, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 8299, - "end": 8303, + "start": 7753, + "end": 7757, "loc": { "start": { - "line": 387, + "line": 369, "column": 9 }, "end": { - "line": 387, + "line": 369, "column": 13 } } }, "property": { "type": "Identifier", - "start": 8304, - "end": 8308, + "start": 7758, + "end": 7762, "loc": { "start": { - "line": 387, + "line": 369, "column": 14 }, "end": { - "line": 387, + "line": 369, "column": 18 }, "identifierName": "sign" @@ -24559,15 +24437,15 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 8313, - "end": 8314, + "start": 7767, + "end": 7768, "loc": { "start": { - "line": 387, + "line": 369, "column": 23 }, "end": { - "line": 387, + "line": 369, "column": 24 } }, @@ -24585,15 +24463,15 @@ }, { "type": "ClassMethod", - "start": 8322, - "end": 8373, + "start": 7775, + "end": 7824, "loc": { "start": { - "line": 390, + "line": 372, "column": 1 }, "end": { - "line": 392, + "line": 374, "column": 2 } }, @@ -24601,15 +24479,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8322, - "end": 8335, + "start": 7775, + "end": 7788, "loc": { "start": { - "line": 390, + "line": 372, "column": 1 }, "end": { - "line": 390, + "line": 372, "column": 14 }, "identifierName": "isnonnegative" @@ -24624,44 +24502,44 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8340, - "end": 8373, + "start": 7791, + "end": 7824, "loc": { "start": { - "line": 390, - "column": 19 + "line": 372, + "column": 17 }, "end": { - "line": 392, + "line": 374, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 8344, - "end": 8370, + "start": 7795, + "end": 7821, "loc": { "start": { - "line": 391, + "line": 373, "column": 2 }, "end": { - "line": 391, + "line": 373, "column": 28 } }, "argument": { "type": "UnaryExpression", - "start": 8351, - "end": 8369, + "start": 7802, + "end": 7820, "loc": { "start": { - "line": 391, + "line": 373, "column": 9 }, "end": { - "line": 391, + "line": 373, "column": 27 } }, @@ -24669,58 +24547,58 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 8352, - "end": 8369, + "start": 7803, + "end": 7820, "loc": { "start": { - "line": 391, + "line": 373, "column": 10 }, "end": { - "line": 391, + "line": 373, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 8352, - "end": 8367, + "start": 7803, + "end": 7818, "loc": { "start": { - "line": 391, + "line": 373, "column": 10 }, "end": { - "line": 391, + "line": 373, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 8352, - "end": 8356, + "start": 7803, + "end": 7807, "loc": { "start": { - "line": 391, + "line": 373, "column": 10 }, "end": { - "line": 391, + "line": 373, "column": 14 } } }, "property": { "type": "Identifier", - "start": 8357, - "end": 8367, + "start": 7808, + "end": 7818, "loc": { "start": { - "line": 391, + "line": 373, "column": 15 }, "end": { - "line": 391, + "line": 373, "column": 25 }, "identifierName": "isnegative" @@ -24742,15 +24620,15 @@ }, { "type": "ClassMethod", - "start": 8376, - "end": 8428, + "start": 7827, + "end": 7876, "loc": { "start": { - "line": 394, + "line": 376, "column": 1 }, "end": { - "line": 396, + "line": 378, "column": 2 } }, @@ -24758,15 +24636,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8376, - "end": 8389, + "start": 7827, + "end": 7840, "loc": { "start": { - "line": 394, + "line": 376, "column": 1 }, "end": { - "line": 394, + "line": 376, "column": 14 }, "identifierName": "isnonpositive" @@ -24781,44 +24659,44 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8394, - "end": 8428, + "start": 7843, + "end": 7876, "loc": { "start": { - "line": 394, - "column": 19 + "line": 376, + "column": 17 }, "end": { - "line": 396, + "line": 378, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 8398, - "end": 8425, + "start": 7847, + "end": 7873, "loc": { "start": { - "line": 395, + "line": 377, "column": 2 }, "end": { - "line": 395, - "column": 29 + "line": 377, + "column": 28 } }, "argument": { "type": "UnaryExpression", - "start": 8405, - "end": 8423, + "start": 7854, + "end": 7872, "loc": { "start": { - "line": 395, + "line": 377, "column": 9 }, "end": { - "line": 395, + "line": 377, "column": 27 } }, @@ -24826,58 +24704,58 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 8406, - "end": 8423, + "start": 7855, + "end": 7872, "loc": { "start": { - "line": 395, + "line": 377, "column": 10 }, "end": { - "line": 395, + "line": 377, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 8406, - "end": 8421, + "start": 7855, + "end": 7870, "loc": { "start": { - "line": 395, + "line": 377, "column": 10 }, "end": { - "line": 395, + "line": 377, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 8406, - "end": 8410, + "start": 7855, + "end": 7859, "loc": { "start": { - "line": 395, + "line": 377, "column": 10 }, "end": { - "line": 395, + "line": 377, "column": 14 } } }, "property": { "type": "Identifier", - "start": 8411, - "end": 8421, + "start": 7860, + "end": 7870, "loc": { "start": { - "line": 395, + "line": 377, "column": 15 }, "end": { - "line": 395, + "line": 377, "column": 25 }, "identifierName": "ispositive" @@ -24899,15 +24777,15 @@ }, { "type": "ClassMethod", - "start": 8431, - "end": 8581, + "start": 7879, + "end": 8026, "loc": { "start": { - "line": 398, + "line": 380, "column": 1 }, "end": { - "line": 402, + "line": 384, "column": 2 } }, @@ -24915,15 +24793,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8431, - "end": 8437, + "start": 7879, + "end": 7885, "loc": { "start": { - "line": 398, + "line": 380, "column": 1 }, "end": { - "line": 398, + "line": 380, "column": 7 }, "identifierName": "parity" @@ -24938,72 +24816,72 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8442, - "end": 8581, + "start": 7888, + "end": 8026, "loc": { "start": { - "line": 398, - "column": 12 + "line": 380, + "column": 10 }, "end": { - "line": 402, + "line": 384, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 8557, - "end": 8578, + "start": 8003, + "end": 8023, "loc": { "start": { - "line": 401, + "line": 383, "column": 2 }, "end": { - "line": 401, - "column": 23 + "line": 383, + "column": 22 } }, "argument": { "type": "CallExpression", - "start": 8564, - "end": 8576, + "start": 8010, + "end": 8022, "loc": { "start": { - "line": 401, + "line": 383, "column": 9 }, "end": { - "line": 401, + "line": 383, "column": 21 } }, "callee": { "type": "MemberExpression", - "start": 8564, - "end": 8573, + "start": 8010, + "end": 8019, "loc": { "start": { - "line": 401, + "line": 383, "column": 9 }, "end": { - "line": 401, + "line": 383, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 8564, - "end": 8568, + "start": 8010, + "end": 8014, "loc": { "start": { - "line": 401, + "line": 383, "column": 9 }, "end": { - "line": 401, + "line": 383, "column": 13 } }, @@ -25011,15 +24889,15 @@ }, "property": { "type": "Identifier", - "start": 8569, - "end": 8573, + "start": 8015, + "end": 8019, "loc": { "start": { - "line": 401, + "line": 383, "column": 14 }, "end": { - "line": 401, + "line": 383, "column": 18 }, "identifierName": "modn" @@ -25032,15 +24910,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 8574, - "end": 8575, + "start": 8020, + "end": 8021, "loc": { "start": { - "line": 401, + "line": 383, "column": 19 }, "end": { - "line": 401, + "line": 383, "column": 20 } }, @@ -25057,15 +24935,15 @@ { "type": "CommentLine", "value": " TODO optimize this, there is a much faster way to test for parity", - "start": 8446, - "end": 8514, + "start": 7892, + "end": 7960, "loc": { "start": { - "line": 399, + "line": 381, "column": 2 }, "end": { - "line": 399, + "line": 381, "column": 70 } } @@ -25073,15 +24951,15 @@ { "type": "CommentLine", "value": " when the base is a multiple of two", - "start": 8517, - "end": 8554, + "start": 7963, + "end": 8000, "loc": { "start": { - "line": 400, + "line": 382, "column": 2 }, "end": { - "line": 400, + "line": 382, "column": 39 } } @@ -25094,15 +24972,15 @@ }, { "type": "ClassMethod", - "start": 8584, - "end": 8633, + "start": 8029, + "end": 8075, "loc": { "start": { - "line": 404, + "line": 386, "column": 1 }, "end": { - "line": 406, + "line": 388, "column": 2 } }, @@ -25110,15 +24988,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8584, - "end": 8590, + "start": 8029, + "end": 8035, "loc": { "start": { - "line": 404, + "line": 386, "column": 1 }, "end": { - "line": 404, + "line": 386, "column": 7 }, "identifierName": "iseven" @@ -25133,115 +25011,115 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8595, - "end": 8633, + "start": 8038, + "end": 8075, "loc": { "start": { - "line": 404, - "column": 12 + "line": 386, + "column": 10 }, "end": { - "line": 406, + "line": 388, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 8599, - "end": 8630, + "start": 8042, + "end": 8072, "loc": { "start": { - "line": 405, + "line": 387, "column": 2 }, "end": { - "line": 405, - "column": 33 + "line": 387, + "column": 32 } }, "argument": { "type": "CallExpression", - "start": 8606, - "end": 8628, + "start": 8049, + "end": 8071, "loc": { "start": { - "line": 405, + "line": 387, "column": 9 }, "end": { - "line": 405, + "line": 387, "column": 31 } }, "callee": { "type": "MemberExpression", - "start": 8606, - "end": 8626, + "start": 8049, + "end": 8069, "loc": { "start": { - "line": 405, + "line": 387, "column": 9 }, "end": { - "line": 405, + "line": 387, "column": 29 } }, "object": { "type": "CallExpression", - "start": 8606, - "end": 8619, + "start": 8049, + "end": 8062, "loc": { "start": { - "line": 405, + "line": 387, "column": 9 }, "end": { - "line": 405, + "line": 387, "column": 22 } }, "callee": { "type": "MemberExpression", - "start": 8606, - "end": 8617, + "start": 8049, + "end": 8060, "loc": { "start": { - "line": 405, + "line": 387, "column": 9 }, "end": { - "line": 405, + "line": 387, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 8606, - "end": 8610, + "start": 8049, + "end": 8053, "loc": { "start": { - "line": 405, + "line": 387, "column": 9 }, "end": { - "line": 405, + "line": 387, "column": 13 } } }, "property": { "type": "Identifier", - "start": 8611, - "end": 8617, + "start": 8054, + "end": 8060, "loc": { "start": { - "line": 405, + "line": 387, "column": 14 }, "end": { - "line": 405, + "line": 387, "column": 20 }, "identifierName": "parity" @@ -25254,15 +25132,15 @@ }, "property": { "type": "Identifier", - "start": 8620, - "end": 8626, + "start": 8063, + "end": 8069, "loc": { "start": { - "line": 405, + "line": 387, "column": 23 }, "end": { - "line": 405, + "line": 387, "column": 29 }, "identifierName": "iszero" @@ -25280,15 +25158,15 @@ }, { "type": "ClassMethod", - "start": 8636, - "end": 8676, + "start": 8078, + "end": 8115, "loc": { "start": { - "line": 408, + "line": 390, "column": 1 }, "end": { - "line": 410, + "line": 392, "column": 2 } }, @@ -25296,15 +25174,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8636, - "end": 8641, + "start": 8078, + "end": 8083, "loc": { "start": { - "line": 408, + "line": 390, "column": 1 }, "end": { - "line": 408, + "line": 390, "column": 6 }, "identifierName": "isodd" @@ -25319,44 +25197,44 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8646, - "end": 8676, + "start": 8086, + "end": 8115, "loc": { "start": { - "line": 408, - "column": 11 + "line": 390, + "column": 9 }, "end": { - "line": 410, + "line": 392, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 8650, - "end": 8673, + "start": 8090, + "end": 8112, "loc": { "start": { - "line": 409, + "line": 391, "column": 2 }, "end": { - "line": 409, - "column": 25 + "line": 391, + "column": 24 } }, "argument": { "type": "UnaryExpression", - "start": 8657, - "end": 8671, + "start": 8097, + "end": 8111, "loc": { "start": { - "line": 409, + "line": 391, "column": 9 }, "end": { - "line": 409, + "line": 391, "column": 23 } }, @@ -25364,58 +25242,58 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 8658, - "end": 8671, + "start": 8098, + "end": 8111, "loc": { "start": { - "line": 409, + "line": 391, "column": 10 }, "end": { - "line": 409, + "line": 391, "column": 23 } }, "callee": { "type": "MemberExpression", - "start": 8658, - "end": 8669, + "start": 8098, + "end": 8109, "loc": { "start": { - "line": 409, + "line": 391, "column": 10 }, "end": { - "line": 409, + "line": 391, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 8658, - "end": 8662, + "start": 8098, + "end": 8102, "loc": { "start": { - "line": 409, + "line": 391, "column": 10 }, "end": { - "line": 409, + "line": 391, "column": 14 } } }, "property": { "type": "Identifier", - "start": 8663, - "end": 8669, + "start": 8103, + "end": 8109, "loc": { "start": { - "line": 409, + "line": 391, "column": 15 }, "end": { - "line": 409, + "line": 391, "column": 21 }, "identifierName": "iseven" @@ -25437,15 +25315,15 @@ }, { "type": "ClassMethod", - "start": 8679, - "end": 8721, + "start": 8118, + "end": 8155, "loc": { "start": { - "line": 412, + "line": 394, "column": 1 }, "end": { - "line": 414, + "line": 396, "column": 2 } }, @@ -25453,15 +25331,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8679, - "end": 8682, + "start": 8118, + "end": 8121, "loc": { "start": { - "line": 412, + "line": 394, "column": 1 }, "end": { - "line": 412, + "line": 394, "column": 4 }, "identifierName": "bin" @@ -25476,87 +25354,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8687, - "end": 8721, + "start": 8124, + "end": 8155, "loc": { "start": { - "line": 412, - "column": 9 + "line": 394, + "column": 7 }, "end": { - "line": 414, + "line": 396, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 8691, - "end": 8718, + "start": 8128, + "end": 8152, "loc": { "start": { - "line": 413, + "line": 395, "column": 2 }, "end": { - "line": 413, - "column": 29 + "line": 395, + "column": 26 } }, "argument": { "type": "CallExpression", - "start": 8698, - "end": 8716, + "start": 8135, + "end": 8151, "loc": { "start": { - "line": 413, + "line": 395, "column": 9 }, "end": { - "line": 413, - "column": 27 + "line": 395, + "column": 25 } }, "callee": { "type": "MemberExpression", - "start": 8698, - "end": 8711, + "start": 8135, + "end": 8148, "loc": { "start": { - "line": 413, + "line": 395, "column": 9 }, "end": { - "line": 413, + "line": 395, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 8698, - "end": 8702, + "start": 8135, + "end": 8139, "loc": { "start": { - "line": 413, + "line": 395, "column": 9 }, "end": { - "line": 413, + "line": 395, "column": 13 } } }, "property": { "type": "Identifier", - "start": 8703, - "end": 8711, + "start": 8140, + "end": 8148, "loc": { "start": { - "line": 413, + "line": 395, "column": 14 }, "end": { - "line": 413, + "line": 395, "column": 22 }, "identifierName": "toString" @@ -25568,16 +25446,16 @@ "arguments": [ { "type": "NumericLiteral", - "start": 8713, - "end": 8714, + "start": 8149, + "end": 8150, "loc": { "start": { - "line": 413, - "column": 24 + "line": 395, + "column": 23 }, "end": { - "line": 413, - "column": 25 + "line": 395, + "column": 24 } }, "extra": { @@ -25595,15 +25473,15 @@ }, { "type": "ClassMethod", - "start": 8724, - "end": 8766, + "start": 8158, + "end": 8195, "loc": { "start": { - "line": 416, + "line": 398, "column": 1 }, "end": { - "line": 418, + "line": 400, "column": 2 } }, @@ -25611,15 +25489,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8724, - "end": 8727, + "start": 8158, + "end": 8161, "loc": { "start": { - "line": 416, + "line": 398, "column": 1 }, "end": { - "line": 416, + "line": 398, "column": 4 }, "identifierName": "oct" @@ -25634,87 +25512,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8732, - "end": 8766, + "start": 8164, + "end": 8195, "loc": { "start": { - "line": 416, - "column": 9 + "line": 398, + "column": 7 }, "end": { - "line": 418, + "line": 400, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 8736, - "end": 8763, + "start": 8168, + "end": 8192, "loc": { "start": { - "line": 417, + "line": 399, "column": 2 }, "end": { - "line": 417, - "column": 29 + "line": 399, + "column": 26 } }, "argument": { "type": "CallExpression", - "start": 8743, - "end": 8761, + "start": 8175, + "end": 8191, "loc": { "start": { - "line": 417, + "line": 399, "column": 9 }, "end": { - "line": 417, - "column": 27 + "line": 399, + "column": 25 } }, "callee": { "type": "MemberExpression", - "start": 8743, - "end": 8756, + "start": 8175, + "end": 8188, "loc": { "start": { - "line": 417, + "line": 399, "column": 9 }, "end": { - "line": 417, + "line": 399, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 8743, - "end": 8747, + "start": 8175, + "end": 8179, "loc": { "start": { - "line": 417, + "line": 399, "column": 9 }, "end": { - "line": 417, + "line": 399, "column": 13 } } }, "property": { "type": "Identifier", - "start": 8748, - "end": 8756, + "start": 8180, + "end": 8188, "loc": { "start": { - "line": 417, + "line": 399, "column": 14 }, "end": { - "line": 417, + "line": 399, "column": 22 }, "identifierName": "toString" @@ -25726,16 +25604,16 @@ "arguments": [ { "type": "NumericLiteral", - "start": 8758, - "end": 8759, + "start": 8189, + "end": 8190, "loc": { "start": { - "line": 417, - "column": 24 + "line": 399, + "column": 23 }, "end": { - "line": 417, - "column": 25 + "line": 399, + "column": 24 } }, "extra": { @@ -25753,15 +25631,15 @@ }, { "type": "ClassMethod", - "start": 8769, - "end": 8812, + "start": 8198, + "end": 8236, "loc": { "start": { - "line": 420, + "line": 402, "column": 1 }, "end": { - "line": 422, + "line": 404, "column": 2 } }, @@ -25769,15 +25647,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8769, - "end": 8772, + "start": 8198, + "end": 8201, "loc": { "start": { - "line": 420, + "line": 402, "column": 1 }, "end": { - "line": 420, + "line": 402, "column": 4 }, "identifierName": "hex" @@ -25792,87 +25670,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8777, - "end": 8812, + "start": 8204, + "end": 8236, "loc": { "start": { - "line": 420, - "column": 9 + "line": 402, + "column": 7 }, "end": { - "line": 422, + "line": 404, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 8781, - "end": 8809, + "start": 8208, + "end": 8233, "loc": { "start": { - "line": 421, + "line": 403, "column": 2 }, "end": { - "line": 421, - "column": 30 + "line": 403, + "column": 27 } }, "argument": { "type": "CallExpression", - "start": 8788, - "end": 8807, + "start": 8215, + "end": 8232, "loc": { "start": { - "line": 421, + "line": 403, "column": 9 }, "end": { - "line": 421, - "column": 28 + "line": 403, + "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 8788, - "end": 8801, + "start": 8215, + "end": 8228, "loc": { "start": { - "line": 421, + "line": 403, "column": 9 }, "end": { - "line": 421, + "line": 403, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 8788, - "end": 8792, + "start": 8215, + "end": 8219, "loc": { "start": { - "line": 421, + "line": 403, "column": 9 }, "end": { - "line": 421, + "line": 403, "column": 13 } } }, "property": { "type": "Identifier", - "start": 8793, - "end": 8801, + "start": 8220, + "end": 8228, "loc": { "start": { - "line": 421, + "line": 403, "column": 14 }, "end": { - "line": 421, + "line": 403, "column": 22 }, "identifierName": "toString" @@ -25884,16 +25762,16 @@ "arguments": [ { "type": "NumericLiteral", - "start": 8803, - "end": 8805, + "start": 8229, + "end": 8231, "loc": { "start": { - "line": 421, - "column": 24 + "line": 403, + "column": 23 }, "end": { - "line": 421, - "column": 26 + "line": 403, + "column": 25 } }, "extra": { @@ -25911,15 +25789,15 @@ }, { "type": "ClassMethod", - "start": 8815, - "end": 8853, + "start": 8239, + "end": 8273, "loc": { "start": { - "line": 424, + "line": 406, "column": 1 }, "end": { - "line": 426, + "line": 408, "column": 2 } }, @@ -25927,15 +25805,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8815, - "end": 8821, + "start": 8239, + "end": 8245, "loc": { "start": { - "line": 424, + "line": 406, "column": 1 }, "end": { - "line": 424, + "line": 406, "column": 7 }, "identifierName": "toJSON" @@ -25950,87 +25828,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8826, - "end": 8853, + "start": 8248, + "end": 8273, "loc": { "start": { - "line": 424, - "column": 12 + "line": 406, + "column": 10 }, "end": { - "line": 426, + "line": 408, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 8830, - "end": 8850, + "start": 8252, + "end": 8270, "loc": { "start": { - "line": 425, + "line": 407, "column": 2 }, "end": { - "line": 425, - "column": 22 + "line": 407, + "column": 20 } }, "argument": { "type": "CallExpression", - "start": 8837, - "end": 8848, + "start": 8259, + "end": 8269, "loc": { "start": { - "line": 425, + "line": 407, "column": 9 }, "end": { - "line": 425, - "column": 20 + "line": 407, + "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 8837, - "end": 8845, + "start": 8259, + "end": 8267, "loc": { "start": { - "line": 425, + "line": 407, "column": 9 }, "end": { - "line": 425, + "line": 407, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 8837, - "end": 8841, + "start": 8259, + "end": 8263, "loc": { "start": { - "line": 425, + "line": 407, "column": 9 }, "end": { - "line": 425, + "line": 407, "column": 13 } } }, "property": { "type": "Identifier", - "start": 8842, - "end": 8845, + "start": 8264, + "end": 8267, "loc": { "start": { - "line": 425, + "line": 407, "column": 14 }, "end": { - "line": 425, + "line": 407, "column": 17 }, "identifierName": "hex" @@ -26048,15 +25926,15 @@ }, { "type": "ClassMethod", - "start": 8856, - "end": 9093, + "start": 8276, + "end": 8525, "loc": { "start": { - "line": 428, + "line": 410, "column": 1 }, "end": { - "line": 432, + "line": 420, "column": 2 } }, @@ -26064,15 +25942,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8856, - "end": 8862, + "start": 8276, + "end": 8282, "loc": { "start": { - "line": 428, + "line": 410, "column": 1 }, "end": { - "line": 428, + "line": 410, "column": 7 }, "identifierName": "digits" @@ -26087,30 +25965,30 @@ "params": [ { "type": "AssignmentPattern", - "start": 8865, - "end": 8892, + "start": 8283, + "end": 8310, "loc": { "start": { - "line": 428, - "column": 10 + "line": 410, + "column": 8 }, "end": { - "line": 428, - "column": 37 + "line": 410, + "column": 35 } }, "left": { "type": "Identifier", - "start": 8865, - "end": 8869, + "start": 8283, + "end": 8287, "loc": { "start": { - "line": 428, - "column": 10 + "line": 410, + "column": 8 }, "end": { - "line": 428, - "column": 14 + "line": 410, + "column": 12 }, "identifierName": "base" }, @@ -26118,16 +25996,16 @@ }, "right": { "type": "Identifier", - "start": 8872, - "end": 8892, + "start": 8290, + "end": 8310, "loc": { "start": { - "line": 428, - "column": 17 + "line": 410, + "column": 15 }, "end": { - "line": 428, - "column": 37 + "line": 410, + "column": 35 }, "identifierName": "DEFAULT_DISPLAY_BASE" }, @@ -26137,86 +26015,86 @@ ], "body": { "type": "BlockStatement", - "start": 8895, - "end": 9093, + "start": 8312, + "end": 8525, "loc": { "start": { - "line": 428, - "column": 40 + "line": 410, + "column": 37 }, "end": { - "line": 432, + "line": 420, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 9006, - "end": 9090, + "start": 8423, + "end": 8522, "loc": { "start": { - "line": 431, + "line": 413, "column": 2 }, "end": { - "line": 431, - "column": 86 + "line": 419, + "column": 14 } }, "argument": { "type": "CallExpression", - "start": 9013, - "end": 9088, + "start": 8430, + "end": 8521, "loc": { "start": { - "line": 431, + "line": 413, "column": 9 }, "end": { - "line": 431, - "column": 84 + "line": 419, + "column": 13 } }, "callee": { "type": "MemberExpression", - "start": 9013, - "end": 9085, + "start": 8430, + "end": 8519, "loc": { "start": { - "line": 431, + "line": 413, "column": 9 }, "end": { - "line": 431, - "column": 81 + "line": 419, + "column": 11 } }, "object": { "type": "CallExpression", - "start": 9013, - "end": 9077, + "start": 8430, + "end": 8511, "loc": { "start": { - "line": 431, + "line": 413, "column": 9 }, "end": { - "line": 431, - "column": 73 + "line": 419, + "column": 3 } }, "callee": { "type": "Identifier", - "start": 9013, - "end": 9020, + "start": 8430, + "end": 8437, "loc": { "start": { - "line": 431, + "line": 413, "column": 9 }, "end": { - "line": 431, + "line": 413, "column": 16 }, "identifierName": "convert" @@ -26227,64 +26105,64 @@ "arguments": [ { "type": "MemberExpression", - "start": 9022, - "end": 9031, + "start": 8442, + "end": 8452, "loc": { "start": { - "line": 431, - "column": 18 + "line": 414, + "column": 3 }, "end": { - "line": 431, - "column": 27 + "line": 414, + "column": 13 } }, "object": { "type": "ThisExpression", - "start": 9022, - "end": 9026, + "start": 8442, + "end": 8446, "loc": { "start": { - "line": 431, - "column": 18 + "line": 414, + "column": 3 }, "end": { - "line": 431, - "column": 22 + "line": 414, + "column": 7 } } }, "property": { "type": "Identifier", - "start": 9027, - "end": 9031, + "start": 8447, + "end": 8452, "loc": { "start": { - "line": 431, - "column": 23 + "line": 414, + "column": 8 }, "end": { - "line": 431, - "column": 27 + "line": 414, + "column": 13 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false }, { "type": "Identifier", - "start": 9034, - "end": 9038, + "start": 8457, + "end": 8461, "loc": { "start": { - "line": 431, - "column": 30 + "line": 415, + "column": 3 }, "end": { - "line": 431, - "column": 34 + "line": 415, + "column": 7 }, "identifierName": "base" }, @@ -26292,64 +26170,64 @@ }, { "type": "MemberExpression", - "start": 9041, - "end": 9051, + "start": 8466, + "end": 8477, "loc": { "start": { - "line": 431, - "column": 37 + "line": 416, + "column": 3 }, "end": { - "line": 431, - "column": 47 + "line": 416, + "column": 14 } }, "object": { "type": "ThisExpression", - "start": 9041, - "end": 9045, + "start": 8466, + "end": 8470, "loc": { "start": { - "line": 431, - "column": 37 + "line": 416, + "column": 3 }, "end": { - "line": 431, - "column": 41 + "line": 416, + "column": 7 } } }, "property": { "type": "Identifier", - "start": 9046, - "end": 9051, + "start": 8471, + "end": 8477, "loc": { "start": { - "line": 431, - "column": 42 + "line": 416, + "column": 8 }, "end": { - "line": 431, - "column": 47 + "line": 416, + "column": 14 }, - "identifierName": "limbs" + "identifierName": "_limbs" }, - "name": "limbs" + "name": "_limbs" }, "computed": false }, { "type": "NumericLiteral", - "start": 9054, - "end": 9055, + "start": 8482, + "end": 8483, "loc": { "start": { - "line": 431, - "column": 50 + "line": 417, + "column": 3 }, "end": { - "line": 431, - "column": 51 + "line": 417, + "column": 4 } }, "extra": { @@ -26360,78 +26238,78 @@ }, { "type": "MemberExpression", - "start": 9058, - "end": 9075, + "start": 8488, + "end": 8506, "loc": { "start": { - "line": 431, - "column": 54 + "line": 418, + "column": 3 }, "end": { - "line": 431, - "column": 71 + "line": 418, + "column": 21 } }, "object": { "type": "MemberExpression", - "start": 9058, - "end": 9068, + "start": 8488, + "end": 8499, "loc": { "start": { - "line": 431, - "column": 54 + "line": 418, + "column": 3 }, "end": { - "line": 431, - "column": 64 + "line": 418, + "column": 14 } }, "object": { "type": "ThisExpression", - "start": 9058, - "end": 9062, + "start": 8488, + "end": 8492, "loc": { "start": { - "line": 431, - "column": 54 + "line": 418, + "column": 3 }, "end": { - "line": 431, - "column": 58 + "line": 418, + "column": 7 } } }, "property": { "type": "Identifier", - "start": 9063, - "end": 9068, + "start": 8493, + "end": 8499, "loc": { "start": { - "line": 431, - "column": 59 + "line": 418, + "column": 8 }, "end": { - "line": 431, - "column": 64 + "line": 418, + "column": 14 }, - "identifierName": "limbs" + "identifierName": "_limbs" }, - "name": "limbs" + "name": "_limbs" }, "computed": false }, "property": { "type": "Identifier", - "start": 9069, - "end": 9075, + "start": 8500, + "end": 8506, "loc": { "start": { - "line": 431, - "column": 65 + "line": 418, + "column": 15 }, "end": { - "line": 431, - "column": 71 + "line": 418, + "column": 21 }, "identifierName": "length" }, @@ -26444,16 +26322,16 @@ }, "property": { "type": "Identifier", - "start": 9078, - "end": 9085, + "start": 8512, + "end": 8519, "loc": { "start": { - "line": 431, - "column": 74 + "line": 419, + "column": 4 }, "end": { - "line": 431, - "column": 81 + "line": 419, + "column": 11 }, "identifierName": "reverse" }, @@ -26469,15 +26347,15 @@ { "type": "CommentLine", "value": " TODO Once #to is implemented we can rewrite this as", - "start": 8899, - "end": 8953, + "start": 8316, + "end": 8370, "loc": { "start": { - "line": 429, + "line": 411, "column": 2 }, "end": { - "line": 429, + "line": 411, "column": 56 } } @@ -26485,15 +26363,15 @@ { "type": "CommentLine", "value": " return this.to(LITTLE_ENDIAN, base, Array) ;", - "start": 8956, - "end": 9003, + "start": 8373, + "end": 8420, "loc": { "start": { - "line": 430, + "line": 412, "column": 2 }, "end": { - "line": 430, + "line": 412, "column": 49 } } @@ -26506,15 +26384,15 @@ }, { "type": "ClassMethod", - "start": 9096, - "end": 9137, + "start": 8528, + "end": 8564, "loc": { "start": { - "line": 434, + "line": 422, "column": 1 }, "end": { - "line": 436, + "line": 424, "column": 2 } }, @@ -26522,15 +26400,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9096, - "end": 9100, + "start": 8528, + "end": 8532, "loc": { "start": { - "line": 434, + "line": 422, "column": 1 }, "end": { - "line": 434, + "line": 422, "column": 5 }, "identifierName": "bits" @@ -26545,87 +26423,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 9105, - "end": 9137, + "start": 8535, + "end": 8564, "loc": { "start": { - "line": 434, - "column": 10 + "line": 422, + "column": 8 }, "end": { - "line": 436, + "line": 424, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 9109, - "end": 9134, + "start": 8539, + "end": 8561, "loc": { "start": { - "line": 435, + "line": 423, "column": 2 }, "end": { - "line": 435, - "column": 27 + "line": 423, + "column": 24 } }, "argument": { "type": "CallExpression", - "start": 9116, - "end": 9132, + "start": 8546, + "end": 8560, "loc": { "start": { - "line": 435, + "line": 423, "column": 9 }, "end": { - "line": 435, - "column": 25 + "line": 423, + "column": 23 } }, "callee": { "type": "MemberExpression", - "start": 9116, - "end": 9127, + "start": 8546, + "end": 8557, "loc": { "start": { - "line": 435, + "line": 423, "column": 9 }, "end": { - "line": 435, + "line": 423, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 9116, - "end": 9120, + "start": 8546, + "end": 8550, "loc": { "start": { - "line": 435, + "line": 423, "column": 9 }, "end": { - "line": 435, + "line": 423, "column": 13 } } }, "property": { "type": "Identifier", - "start": 9121, - "end": 9127, + "start": 8551, + "end": 8557, "loc": { "start": { - "line": 435, + "line": 423, "column": 14 }, "end": { - "line": 435, + "line": 423, "column": 20 }, "identifierName": "digits" @@ -26637,16 +26515,16 @@ "arguments": [ { "type": "NumericLiteral", - "start": 9129, - "end": 9130, + "start": 8558, + "end": 8559, "loc": { "start": { - "line": 435, - "column": 22 + "line": 423, + "column": 21 }, "end": { - "line": 435, - "column": 23 + "line": 423, + "column": 22 } }, "extra": { @@ -26664,15 +26542,15 @@ }, { "type": "ClassMethod", - "start": 9140, - "end": 9201, + "start": 8567, + "end": 8621, "loc": { "start": { - "line": 438, + "line": 426, "column": 1 }, "end": { - "line": 440, + "line": 428, "column": 2 } }, @@ -26680,15 +26558,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9140, - "end": 9147, + "start": 8567, + "end": 8574, "loc": { "start": { - "line": 438, + "line": 426, "column": 1 }, "end": { - "line": 438, + "line": 426, "column": 8 }, "identifierName": "divides" @@ -26703,16 +26581,16 @@ "params": [ { "type": "Identifier", - "start": 9150, - "end": 9155, + "start": 8575, + "end": 8580, "loc": { "start": { - "line": 438, - "column": 11 + "line": 426, + "column": 9 }, "end": { - "line": 438, - "column": 16 + "line": 426, + "column": 14 }, "identifierName": "other" }, @@ -26721,100 +26599,100 @@ ], "body": { "type": "BlockStatement", - "start": 9158, - "end": 9201, + "start": 8582, + "end": 8621, "loc": { "start": { - "line": 438, - "column": 19 + "line": 426, + "column": 16 }, "end": { - "line": 440, + "line": 428, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 9162, - "end": 9198, + "start": 8586, + "end": 8618, "loc": { "start": { - "line": 439, + "line": 427, "column": 2 }, "end": { - "line": 439, - "column": 38 + "line": 427, + "column": 34 } }, "argument": { "type": "CallExpression", - "start": 9169, - "end": 9196, + "start": 8593, + "end": 8617, "loc": { "start": { - "line": 439, + "line": 427, "column": 9 }, "end": { - "line": 439, - "column": 36 + "line": 427, + "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 9169, - "end": 9193, + "start": 8593, + "end": 8615, "loc": { "start": { - "line": 439, + "line": 427, "column": 9 }, "end": { - "line": 439, - "column": 33 + "line": 427, + "column": 31 } }, "object": { "type": "CallExpression", - "start": 9169, - "end": 9186, + "start": 8593, + "end": 8608, "loc": { "start": { - "line": 439, + "line": 427, "column": 9 }, "end": { - "line": 439, - "column": 26 + "line": 427, + "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 9169, - "end": 9178, + "start": 8593, + "end": 8602, "loc": { "start": { - "line": 439, + "line": 427, "column": 9 }, "end": { - "line": 439, + "line": 427, "column": 18 } }, "object": { "type": "Identifier", - "start": 9169, - "end": 9174, + "start": 8593, + "end": 8598, "loc": { "start": { - "line": 439, + "line": 427, "column": 9 }, "end": { - "line": 439, + "line": 427, "column": 14 }, "identifierName": "other" @@ -26823,15 +26701,15 @@ }, "property": { "type": "Identifier", - "start": 9175, - "end": 9178, + "start": 8599, + "end": 8602, "loc": { "start": { - "line": 439, + "line": 427, "column": 15 }, "end": { - "line": 439, + "line": 427, "column": 18 }, "identifierName": "mod" @@ -26843,16 +26721,16 @@ "arguments": [ { "type": "ThisExpression", - "start": 9180, - "end": 9184, + "start": 8603, + "end": 8607, "loc": { "start": { - "line": 439, - "column": 20 + "line": 427, + "column": 19 }, "end": { - "line": 439, - "column": 24 + "line": 427, + "column": 23 } } } @@ -26860,16 +26738,16 @@ }, "property": { "type": "Identifier", - "start": 9187, - "end": 9193, + "start": 8609, + "end": 8615, "loc": { "start": { - "line": 439, - "column": 27 + "line": 427, + "column": 25 }, "end": { - "line": 439, - "column": 33 + "line": 427, + "column": 31 }, "identifierName": "iszero" }, @@ -26886,15 +26764,15 @@ }, { "type": "ClassMethod", - "start": 9204, - "end": 9294, + "start": 8624, + "end": 8708, "loc": { "start": { - "line": 442, + "line": 430, "column": 1 }, "end": { - "line": 445, + "line": 433, "column": 2 } }, @@ -26902,15 +26780,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9204, - "end": 9231, + "start": 8624, + "end": 8651, "loc": { "start": { - "line": 442, + "line": 430, "column": 1 }, "end": { - "line": 442, + "line": 430, "column": 28 }, "identifierName": "divide_knowing_divisible_by" @@ -26925,16 +26803,16 @@ "params": [ { "type": "Identifier", - "start": 9234, - "end": 9239, + "start": 8652, + "end": 8657, "loc": { "start": { - "line": 442, - "column": 31 + "line": 430, + "column": 29 }, "end": { - "line": 442, - "column": 36 + "line": 430, + "column": 34 }, "identifierName": "other" }, @@ -26943,72 +26821,72 @@ ], "body": { "type": "BlockStatement", - "start": 9242, - "end": 9294, + "start": 8659, + "end": 8708, "loc": { "start": { - "line": 442, - "column": 39 + "line": 430, + "column": 36 }, "end": { - "line": 445, + "line": 433, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 9265, - "end": 9291, + "start": 8682, + "end": 8705, "loc": { "start": { - "line": 444, + "line": 432, "column": 2 }, "end": { - "line": 444, - "column": 28 + "line": 432, + "column": 25 } }, "argument": { "type": "CallExpression", - "start": 9272, - "end": 9289, + "start": 8689, + "end": 8704, "loc": { "start": { - "line": 444, + "line": 432, "column": 9 }, "end": { - "line": 444, - "column": 26 + "line": 432, + "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 9272, - "end": 9280, + "start": 8689, + "end": 8697, "loc": { "start": { - "line": 444, + "line": 432, "column": 9 }, "end": { - "line": 444, + "line": 432, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 9272, - "end": 9276, + "start": 8689, + "end": 8693, "loc": { "start": { - "line": 444, + "line": 432, "column": 9 }, "end": { - "line": 444, + "line": 432, "column": 13 } }, @@ -27016,15 +26894,15 @@ }, "property": { "type": "Identifier", - "start": 9277, - "end": 9280, + "start": 8694, + "end": 8697, "loc": { "start": { - "line": 444, + "line": 432, "column": 14 }, "end": { - "line": 444, + "line": 432, "column": 17 }, "identifierName": "div" @@ -27037,16 +26915,16 @@ "arguments": [ { "type": "Identifier", - "start": 9282, - "end": 9287, + "start": 8698, + "end": 8703, "loc": { "start": { - "line": 444, - "column": 19 + "line": 432, + "column": 18 }, "end": { - "line": 444, - "column": 24 + "line": 432, + "column": 23 }, "identifierName": "other" }, @@ -27059,15 +26937,15 @@ { "type": "CommentLine", "value": " TODO optimize", - "start": 9246, - "end": 9262, + "start": 8663, + "end": 8679, "loc": { "start": { - "line": 443, + "line": 431, "column": 2 }, "end": { - "line": 443, + "line": 431, "column": 18 } } @@ -27080,15 +26958,15 @@ }, { "type": "ClassMethod", - "start": 9298, - "end": 9844, + "start": 8711, + "end": 9180, "loc": { "start": { - "line": 448, + "line": 435, "column": 1 }, "end": { - "line": 467, + "line": 453, "column": 2 } }, @@ -27096,15 +26974,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9298, - "end": 9301, + "start": 8711, + "end": 8714, "loc": { "start": { - "line": 448, + "line": 435, "column": 1 }, "end": { - "line": 448, + "line": 435, "column": 4 }, "identifierName": "cmp" @@ -27119,16 +26997,16 @@ "params": [ { "type": "Identifier", - "start": 9304, - "end": 9309, + "start": 8715, + "end": 8720, "loc": { "start": { - "line": 448, - "column": 7 + "line": 435, + "column": 5 }, "end": { - "line": 448, - "column": 12 + "line": 435, + "column": 10 }, "identifierName": "other" }, @@ -27137,89 +27015,89 @@ ], "body": { "type": "BlockStatement", - "start": 9312, - "end": 9844, + "start": 8722, + "end": 9180, "loc": { "start": { - "line": 448, - "column": 15 + "line": 435, + "column": 12 }, "end": { - "line": 467, + "line": 453, "column": 2 } }, "body": [ { "type": "IfStatement", - "start": 9356, - "end": 9518, + "start": 8766, + "end": 8874, "loc": { "start": { - "line": 451, + "line": 438, "column": 2 }, "end": { - "line": 455, + "line": 442, "column": 3 } }, "test": { "type": "CallExpression", - "start": 9361, - "end": 9375, + "start": 8770, + "end": 8783, "loc": { "start": { - "line": 451, - "column": 7 + "line": 438, + "column": 6 }, "end": { - "line": 451, - "column": 21 + "line": 438, + "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 9361, - "end": 9372, + "start": 8770, + "end": 8781, "loc": { "start": { - "line": 451, - "column": 7 + "line": 438, + "column": 6 }, "end": { - "line": 451, - "column": 18 + "line": 438, + "column": 17 } }, "object": { "type": "ThisExpression", - "start": 9361, - "end": 9365, + "start": 8770, + "end": 8774, "loc": { "start": { - "line": 451, - "column": 7 + "line": 438, + "column": 6 }, "end": { - "line": 451, - "column": 11 + "line": 438, + "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 9366, - "end": 9372, + "start": 8775, + "end": 8781, "loc": { "start": { - "line": 451, - "column": 12 + "line": 438, + "column": 11 }, "end": { - "line": 451, - "column": 18 + "line": 438, + "column": 17 }, "identifierName": "iszero" }, @@ -27233,73 +27111,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 9378, - "end": 9518, + "start": 8785, + "end": 8874, "loc": { "start": { - "line": 451, - "column": 24 + "line": 438, + "column": 21 }, "end": { - "line": 455, + "line": 442, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 9383, - "end": 9514, + "start": 8790, + "end": 8819, "loc": { "start": { - "line": 452, + "line": 439, "column": 3 }, "end": { - "line": 454, - "column": 44 + "line": 439, + "column": 32 } }, "test": { "type": "CallExpression", - "start": 9388, - "end": 9403, + "start": 8794, + "end": 8808, "loc": { "start": { - "line": 452, - "column": 8 + "line": 439, + "column": 7 }, "end": { - "line": 452, - "column": 23 + "line": 439, + "column": 21 } }, "callee": { "type": "MemberExpression", - "start": 9388, - "end": 9400, + "start": 8794, + "end": 8806, "loc": { "start": { - "line": 452, - "column": 8 + "line": 439, + "column": 7 }, "end": { - "line": 452, - "column": 20 + "line": 439, + "column": 19 } }, "object": { "type": "Identifier", - "start": 9388, - "end": 9393, + "start": 8794, + "end": 8799, "loc": { "start": { - "line": 452, - "column": 8 + "line": 439, + "column": 7 }, "end": { - "line": 452, - "column": 13 + "line": 439, + "column": 12 }, "identifierName": "other" }, @@ -27307,16 +27185,16 @@ }, "property": { "type": "Identifier", - "start": 9394, - "end": 9400, + "start": 8800, + "end": 8806, "loc": { "start": { - "line": 452, - "column": 14 + "line": 439, + "column": 13 }, "end": { - "line": 452, - "column": 20 + "line": 439, + "column": 19 }, "identifierName": "iszero" }, @@ -27328,30 +27206,30 @@ }, "consequent": { "type": "ReturnStatement", - "start": 9413, - "end": 9424, + "start": 8810, + "end": 8819, "loc": { "start": { - "line": 452, - "column": 33 + "line": 439, + "column": 23 }, "end": { - "line": 452, - "column": 44 + "line": 439, + "column": 32 } }, "argument": { "type": "NumericLiteral", - "start": 9421, - "end": 9422, + "start": 8817, + "end": 8818, "loc": { "start": { - "line": 452, - "column": 41 + "line": 439, + "column": 30 }, "end": { - "line": 452, - "column": 42 + "line": 439, + "column": 31 } }, "extra": { @@ -27361,159 +27239,161 @@ "value": 0 } }, - "alternate": { - "type": "IfStatement", - "start": 9433, - "end": 9514, + "alternate": null + }, + { + "type": "IfStatement", + "start": 8823, + "end": 8856, + "loc": { + "start": { + "line": 440, + "column": 3 + }, + "end": { + "line": 440, + "column": 36 + } + }, + "test": { + "type": "MemberExpression", + "start": 8827, + "end": 8845, "loc": { "start": { - "line": 453, - "column": 8 + "line": 440, + "column": 7 }, "end": { - "line": 454, - "column": 44 + "line": 440, + "column": 25 } }, - "test": { - "type": "MemberExpression", - "start": 9438, - "end": 9455, + "object": { + "type": "Identifier", + "start": 8827, + "end": 8832, "loc": { "start": { - "line": 453, - "column": 13 + "line": 440, + "column": 7 }, "end": { - "line": 453, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 9438, - "end": 9443, - "loc": { - "start": { - "line": 453, - "column": 13 - }, - "end": { - "line": 453, - "column": 18 - }, - "identifierName": "other" + "line": 440, + "column": 12 }, - "name": "other" + "identifierName": "other" }, - "property": { - "type": "Identifier", - "start": 9444, - "end": 9455, - "loc": { - "start": { - "line": 453, - "column": 19 - }, - "end": { - "line": 453, - "column": 30 - }, - "identifierName": "is_negative" + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 8833, + "end": 8845, + "loc": { + "start": { + "line": 440, + "column": 13 + }, + "end": { + "line": 440, + "column": 25 }, - "name": "is_negative" + "identifierName": "_is_negative" }, - "computed": false + "name": "_is_negative" }, - "consequent": { - "type": "ReturnStatement", - "start": 9458, - "end": 9469, + "computed": false + }, + "consequent": { + "type": "ReturnStatement", + "start": 8847, + "end": 8856, + "loc": { + "start": { + "line": 440, + "column": 27 + }, + "end": { + "line": 440, + "column": 36 + } + }, + "argument": { + "type": "NumericLiteral", + "start": 8854, + "end": 8855, "loc": { "start": { - "line": 453, - "column": 33 + "line": 440, + "column": 34 }, "end": { - "line": 453, - "column": 44 + "line": 440, + "column": 35 } }, - "argument": { - "type": "NumericLiteral", - "start": 9466, - "end": 9467, - "loc": { - "start": { - "line": 453, - "column": 41 - }, - "end": { - "line": 453, - "column": 42 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + }, + "alternate": null + }, + { + "type": "ReturnStatement", + "start": 8860, + "end": 8870, + "loc": { + "start": { + "line": 441, + "column": 3 + }, + "end": { + "line": 441, + "column": 13 + } + }, + "argument": { + "type": "UnaryExpression", + "start": 8867, + "end": 8869, + "loc": { + "start": { + "line": 441, + "column": 10 + }, + "end": { + "line": 441, + "column": 12 } }, - "alternate": { - "type": "ReturnStatement", - "start": 9503, - "end": 9514, + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 8868, + "end": 8869, "loc": { "start": { - "line": 454, - "column": 33 + "line": 441, + "column": 11 }, "end": { - "line": 454, - "column": 44 + "line": 441, + "column": 12 } }, - "argument": { - "type": "UnaryExpression", - "start": 9510, - "end": 9512, - "loc": { - "start": { - "line": 454, - "column": 40 - }, - "end": { - "line": 454, - "column": 42 - } - }, - "operator": "-", - "prefix": true, - "argument": { - "type": "NumericLiteral", - "start": 9511, - "end": 9512, - "loc": { - "start": { - "line": 454, - "column": 41 - }, - "end": { - "line": 454, - "column": 42 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "extra": { - "parenthesizedArgument": false - } - } + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesizedArgument": false } } } @@ -27525,15 +27405,15 @@ { "type": "CommentLine", "value": " TODO optimize with _trim_positive", - "start": 9316, - "end": 9352, + "start": 8726, + "end": 8762, "loc": { "start": { - "line": 449, + "line": 436, "column": 2 }, "end": { - "line": 449, + "line": 436, "column": 38 } } @@ -27542,106 +27422,291 @@ }, { "type": "IfStatement", - "start": 9522, - "end": 9577, + "start": 8878, + "end": 8932, "loc": { "start": { - "line": 457, + "line": 444, "column": 2 }, "end": { - "line": 457, - "column": 57 + "line": 444, + "column": 56 } }, "test": { "type": "BinaryExpression", - "start": 9527, - "end": 9563, + "start": 8882, + "end": 8920, "loc": { "start": { - "line": 457, - "column": 7 + "line": 444, + "column": 6 }, "end": { - "line": 457, - "column": 43 + "line": 444, + "column": 44 } }, "left": { "type": "MemberExpression", - "start": 9527, - "end": 9543, + "start": 8882, + "end": 8899, "loc": { "start": { - "line": 457, - "column": 7 + "line": 444, + "column": 6 }, "end": { - "line": 457, + "line": 444, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 9527, - "end": 9531, + "start": 8882, + "end": 8886, "loc": { "start": { - "line": 457, - "column": 7 + "line": 444, + "column": 6 }, "end": { - "line": 457, - "column": 11 + "line": 444, + "column": 10 } } }, "property": { "type": "Identifier", - "start": 9532, - "end": 9543, + "start": 8887, + "end": 8899, "loc": { "start": { - "line": 457, - "column": 12 + "line": 444, + "column": 11 }, "end": { - "line": 457, + "line": 444, "column": 23 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false }, "operator": "<", "right": { "type": "MemberExpression", - "start": 9546, - "end": 9563, + "start": 8902, + "end": 8920, + "loc": { + "start": { + "line": 444, + "column": 26 + }, + "end": { + "line": 444, + "column": 44 + } + }, + "object": { + "type": "Identifier", + "start": 8902, + "end": 8907, + "loc": { + "start": { + "line": 444, + "column": 26 + }, + "end": { + "line": 444, + "column": 31 + }, + "identifierName": "other" + }, + "name": "other" + }, + "property": { + "type": "Identifier", + "start": 8908, + "end": 8920, + "loc": { + "start": { + "line": 444, + "column": 32 + }, + "end": { + "line": 444, + "column": 44 + }, + "identifierName": "_is_negative" + }, + "name": "_is_negative" + }, + "computed": false + } + }, + "consequent": { + "type": "ReturnStatement", + "start": 8922, + "end": 8932, + "loc": { + "start": { + "line": 444, + "column": 46 + }, + "end": { + "line": 444, + "column": 56 + } + }, + "argument": { + "type": "UnaryExpression", + "start": 8929, + "end": 8931, + "loc": { + "start": { + "line": 444, + "column": 53 + }, + "end": { + "line": 444, + "column": 55 + } + }, + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 8930, + "end": 8931, + "loc": { + "start": { + "line": 444, + "column": 54 + }, + "end": { + "line": 444, + "column": 55 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesizedArgument": false + } + } + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 8935, + "end": 8988, + "loc": { + "start": { + "line": 445, + "column": 2 + }, + "end": { + "line": 445, + "column": 55 + } + }, + "test": { + "type": "BinaryExpression", + "start": 8939, + "end": 8977, + "loc": { + "start": { + "line": 445, + "column": 6 + }, + "end": { + "line": 445, + "column": 44 + } + }, + "left": { + "type": "MemberExpression", + "start": 8939, + "end": 8956, + "loc": { + "start": { + "line": 445, + "column": 6 + }, + "end": { + "line": 445, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 8939, + "end": 8943, + "loc": { + "start": { + "line": 445, + "column": 6 + }, + "end": { + "line": 445, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 8944, + "end": 8956, + "loc": { + "start": { + "line": 445, + "column": 11 + }, + "end": { + "line": 445, + "column": 23 + }, + "identifierName": "_is_negative" + }, + "name": "_is_negative" + }, + "computed": false + }, + "operator": ">", + "right": { + "type": "MemberExpression", + "start": 8959, + "end": 8977, "loc": { "start": { - "line": 457, + "line": 445, "column": 26 }, "end": { - "line": 457, - "column": 43 + "line": 445, + "column": 44 } }, "object": { "type": "Identifier", - "start": 9546, - "end": 9551, + "start": 8959, + "end": 8964, "loc": { "start": { - "line": 457, + "line": 445, "column": 26 }, "end": { - "line": 457, + "line": 445, "column": 31 }, "identifierName": "other" @@ -27650,235 +27715,50 @@ }, "property": { "type": "Identifier", - "start": 9552, - "end": 9563, + "start": 8965, + "end": 8977, "loc": { "start": { - "line": 457, + "line": 445, "column": 32 }, "end": { - "line": 457, - "column": 43 + "line": 445, + "column": 44 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false } }, "consequent": { "type": "ReturnStatement", - "start": 9566, - "end": 9577, + "start": 8979, + "end": 8988, "loc": { "start": { - "line": 457, + "line": 445, "column": 46 }, "end": { - "line": 457, - "column": 57 + "line": 445, + "column": 55 } }, "argument": { - "type": "UnaryExpression", - "start": 9573, - "end": 9575, + "type": "NumericLiteral", + "start": 8986, + "end": 8987, "loc": { "start": { - "line": 457, + "line": 445, "column": 53 }, "end": { - "line": 457, - "column": 55 - } - }, - "operator": "-", - "prefix": true, - "argument": { - "type": "NumericLiteral", - "start": 9574, - "end": 9575, - "loc": { - "start": { - "line": 457, - "column": 54 - }, - "end": { - "line": 457, - "column": 55 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "extra": { - "parenthesizedArgument": false - } - } - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 9580, - "end": 9635, - "loc": { - "start": { - "line": 458, - "column": 2 - }, - "end": { - "line": 458, - "column": 57 - } - }, - "test": { - "type": "BinaryExpression", - "start": 9585, - "end": 9621, - "loc": { - "start": { - "line": 458, - "column": 7 - }, - "end": { - "line": 458, - "column": 43 - } - }, - "left": { - "type": "MemberExpression", - "start": 9585, - "end": 9601, - "loc": { - "start": { - "line": 458, - "column": 7 - }, - "end": { - "line": 458, - "column": 23 - } - }, - "object": { - "type": "ThisExpression", - "start": 9585, - "end": 9589, - "loc": { - "start": { - "line": 458, - "column": 7 - }, - "end": { - "line": 458, - "column": 11 - } - } - }, - "property": { - "type": "Identifier", - "start": 9590, - "end": 9601, - "loc": { - "start": { - "line": 458, - "column": 12 - }, - "end": { - "line": 458, - "column": 23 - }, - "identifierName": "is_negative" - }, - "name": "is_negative" - }, - "computed": false - }, - "operator": ">", - "right": { - "type": "MemberExpression", - "start": 9604, - "end": 9621, - "loc": { - "start": { - "line": 458, - "column": 26 - }, - "end": { - "line": 458, - "column": 43 - } - }, - "object": { - "type": "Identifier", - "start": 9604, - "end": 9609, - "loc": { - "start": { - "line": 458, - "column": 26 - }, - "end": { - "line": 458, - "column": 31 - }, - "identifierName": "other" - }, - "name": "other" - }, - "property": { - "type": "Identifier", - "start": 9610, - "end": 9621, - "loc": { - "start": { - "line": 458, - "column": 32 - }, - "end": { - "line": 458, - "column": 43 - }, - "identifierName": "is_negative" - }, - "name": "is_negative" - }, - "computed": false - } - }, - "consequent": { - "type": "ReturnStatement", - "start": 9624, - "end": 9635, - "loc": { - "start": { - "line": 458, - "column": 46 - }, - "end": { - "line": 458, - "column": 57 - } - }, - "argument": { - "type": "NumericLiteral", - "start": 9632, - "end": 9633, - "loc": { - "start": { - "line": 458, + "line": 445, "column": 54 - }, - "end": { - "line": 458, - "column": 55 } }, "extra": { @@ -27892,44 +27772,44 @@ }, { "type": "VariableDeclaration", - "start": 9639, - "end": 9661, + "start": 8992, + "end": 9014, "loc": { "start": { - "line": 460, + "line": 447, "column": 2 }, "end": { - "line": 460, + "line": 447, "column": 24 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 9645, - "end": 9659, + "start": 8998, + "end": 9013, "loc": { "start": { - "line": 460, + "line": 447, "column": 8 }, "end": { - "line": 460, - "column": 22 + "line": 447, + "column": 23 } }, "id": { "type": "Identifier", - "start": 9645, - "end": 9646, + "start": 8998, + "end": 8999, "loc": { "start": { - "line": 460, + "line": 447, "column": 8 }, "end": { - "line": 460, + "line": 447, "column": 9 }, "identifierName": "a" @@ -27938,49 +27818,49 @@ }, "init": { "type": "MemberExpression", - "start": 9649, - "end": 9659, + "start": 9002, + "end": 9013, "loc": { "start": { - "line": 460, + "line": 447, "column": 12 }, "end": { - "line": 460, - "column": 22 + "line": 447, + "column": 23 } }, "object": { "type": "ThisExpression", - "start": 9649, - "end": 9653, + "start": 9002, + "end": 9006, "loc": { "start": { - "line": 460, + "line": 447, "column": 12 }, "end": { - "line": 460, + "line": 447, "column": 16 } } }, "property": { "type": "Identifier", - "start": 9654, - "end": 9659, + "start": 9007, + "end": 9013, "loc": { "start": { - "line": 460, + "line": 447, "column": 17 }, "end": { - "line": 460, - "column": 22 + "line": 447, + "column": 23 }, - "identifierName": "limbs" + "identifierName": "_limbs" }, - "name": "limbs" + "name": "_limbs" }, "computed": false } @@ -27990,44 +27870,44 @@ }, { "type": "VariableDeclaration", - "start": 9664, - "end": 9709, + "start": 9017, + "end": 9060, "loc": { "start": { - "line": 461, + "line": 448, "column": 2 }, "end": { - "line": 461, - "column": 47 + "line": 448, + "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 9670, - "end": 9707, + "start": 9023, + "end": 9059, "loc": { "start": { - "line": 461, + "line": 448, "column": 8 }, "end": { - "line": 461, - "column": 45 + "line": 448, + "column": 44 } }, "id": { "type": "Identifier", - "start": 9670, - "end": 9671, + "start": 9023, + "end": 9024, "loc": { "start": { - "line": 461, + "line": 448, "column": 8 }, "end": { - "line": 461, + "line": 448, "column": 9 }, "identifierName": "b" @@ -28036,43 +27916,43 @@ }, "init": { "type": "CallExpression", - "start": 9674, - "end": 9707, + "start": 9027, + "end": 9059, "loc": { "start": { - "line": 461, + "line": 448, "column": 12 }, "end": { - "line": 461, - "column": 45 + "line": 448, + "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 9674, - "end": 9694, + "start": 9027, + "end": 9047, "loc": { "start": { - "line": 461, + "line": 448, "column": 12 }, "end": { - "line": 461, + "line": 448, "column": 32 } }, "object": { "type": "Identifier", - "start": 9674, - "end": 9679, + "start": 9027, + "end": 9032, "loc": { "start": { - "line": 461, + "line": 448, "column": 12 }, "end": { - "line": 461, + "line": 448, "column": 17 }, "identifierName": "other" @@ -28081,15 +27961,15 @@ }, "property": { "type": "Identifier", - "start": 9680, - "end": 9694, + "start": 9033, + "end": 9047, "loc": { "start": { - "line": 461, + "line": 448, "column": 18 }, "end": { - "line": 461, + "line": 448, "column": 32 }, "identifierName": "_limbs_in_base" @@ -28101,49 +27981,49 @@ "arguments": [ { "type": "MemberExpression", - "start": 9696, - "end": 9705, + "start": 9048, + "end": 9058, "loc": { "start": { - "line": 461, - "column": 34 + "line": 448, + "column": 33 }, "end": { - "line": 461, + "line": 448, "column": 43 } }, "object": { "type": "ThisExpression", - "start": 9696, - "end": 9700, + "start": 9048, + "end": 9052, "loc": { "start": { - "line": 461, - "column": 34 + "line": 448, + "column": 33 }, "end": { - "line": 461, - "column": 38 + "line": 448, + "column": 37 } } }, "property": { "type": "Identifier", - "start": 9701, - "end": 9705, + "start": 9053, + "end": 9058, "loc": { "start": { - "line": 461, - "column": 39 + "line": 448, + "column": 38 }, "end": { - "line": 461, + "line": 448, "column": 43 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false } @@ -28155,107 +28035,107 @@ }, { "type": "ReturnStatement", - "start": 9713, - "end": 9840, + "start": 9064, + "end": 9177, "loc": { "start": { - "line": 463, + "line": 450, "column": 2 }, "end": { - "line": 465, - "column": 47 + "line": 452, + "column": 41 } }, "argument": { "type": "ConditionalExpression", - "start": 9720, - "end": 9838, + "start": 9071, + "end": 9176, "loc": { "start": { - "line": 463, + "line": 450, "column": 9 }, "end": { - "line": 465, - "column": 45 + "line": 452, + "column": 40 } }, "test": { "type": "BinaryExpression", - "start": 9720, - "end": 9742, + "start": 9071, + "end": 9094, "loc": { "start": { - "line": 463, + "line": 450, "column": 9 }, "end": { - "line": 463, - "column": 31 + "line": 450, + "column": 32 } }, "left": { "type": "MemberExpression", - "start": 9720, - "end": 9736, + "start": 9071, + "end": 9088, "loc": { "start": { - "line": 463, + "line": 450, "column": 9 }, "end": { - "line": 463, - "column": 25 + "line": 450, + "column": 26 } }, "object": { "type": "ThisExpression", - "start": 9720, - "end": 9724, + "start": 9071, + "end": 9075, "loc": { "start": { - "line": 463, + "line": 450, "column": 9 }, "end": { - "line": 463, + "line": 450, "column": 13 } } }, "property": { "type": "Identifier", - "start": 9725, - "end": 9736, + "start": 9076, + "end": 9088, "loc": { "start": { - "line": 463, + "line": 450, "column": 14 }, "end": { - "line": 463, - "column": 25 + "line": 450, + "column": 26 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", - "start": 9741, - "end": 9742, + "start": 9093, + "end": 9094, "loc": { "start": { - "line": 463, - "column": 30 + "line": 450, + "column": 31 }, "end": { - "line": 463, - "column": 31 + "line": 450, + "column": 32 } }, "extra": { @@ -28267,30 +28147,30 @@ }, "consequent": { "type": "CallExpression", - "start": 9748, - "end": 9790, + "start": 9100, + "end": 9135, "loc": { "start": { - "line": 464, - "column": 3 + "line": 451, + "column": 5 }, "end": { - "line": 464, - "column": 45 + "line": 451, + "column": 40 } }, "callee": { "type": "Identifier", - "start": 9748, - "end": 9751, + "start": 9100, + "end": 9103, "loc": { "start": { - "line": 464, - "column": 3 + "line": 451, + "column": 5 }, "end": { - "line": 464, - "column": 6 + "line": 451, + "column": 8 }, "identifierName": "cmp" }, @@ -28299,16 +28179,16 @@ "arguments": [ { "type": "Identifier", - "start": 9753, - "end": 9754, + "start": 9104, + "end": 9105, "loc": { "start": { - "line": 464, - "column": 8 + "line": 451, + "column": 9 }, "end": { - "line": 464, - "column": 9 + "line": 451, + "column": 10 }, "identifierName": "a" }, @@ -28316,15 +28196,15 @@ }, { "type": "NumericLiteral", - "start": 9757, - "end": 9758, + "start": 9107, + "end": 9108, "loc": { "start": { - "line": 464, + "line": 451, "column": 12 }, "end": { - "line": 464, + "line": 451, "column": 13 } }, @@ -28336,30 +28216,30 @@ }, { "type": "MemberExpression", - "start": 9761, - "end": 9769, + "start": 9110, + "end": 9118, "loc": { "start": { - "line": 464, - "column": 16 + "line": 451, + "column": 15 }, "end": { - "line": 464, - "column": 24 + "line": 451, + "column": 23 } }, "object": { "type": "Identifier", - "start": 9761, - "end": 9762, + "start": 9110, + "end": 9111, "loc": { "start": { - "line": 464, - "column": 16 + "line": 451, + "column": 15 }, "end": { - "line": 464, - "column": 17 + "line": 451, + "column": 16 }, "identifierName": "a" }, @@ -28367,16 +28247,16 @@ }, "property": { "type": "Identifier", - "start": 9763, - "end": 9769, + "start": 9112, + "end": 9118, "loc": { "start": { - "line": 464, - "column": 18 + "line": 451, + "column": 17 }, "end": { - "line": 464, - "column": 24 + "line": 451, + "column": 23 }, "identifierName": "length" }, @@ -28386,16 +28266,16 @@ }, { "type": "Identifier", - "start": 9772, - "end": 9773, + "start": 9120, + "end": 9121, "loc": { "start": { - "line": 464, - "column": 27 + "line": 451, + "column": 25 }, "end": { - "line": 464, - "column": 28 + "line": 451, + "column": 26 }, "identifierName": "b" }, @@ -28403,16 +28283,16 @@ }, { "type": "NumericLiteral", - "start": 9776, - "end": 9777, + "start": 9123, + "end": 9124, "loc": { "start": { - "line": 464, - "column": 31 + "line": 451, + "column": 28 }, "end": { - "line": 464, - "column": 32 + "line": 451, + "column": 29 } }, "extra": { @@ -28423,30 +28303,30 @@ }, { "type": "MemberExpression", - "start": 9780, - "end": 9788, + "start": 9126, + "end": 9134, "loc": { "start": { - "line": 464, - "column": 35 + "line": 451, + "column": 31 }, "end": { - "line": 464, - "column": 43 + "line": 451, + "column": 39 } }, "object": { "type": "Identifier", - "start": 9780, - "end": 9781, + "start": 9126, + "end": 9127, "loc": { "start": { - "line": 464, - "column": 35 + "line": 451, + "column": 31 }, "end": { - "line": 464, - "column": 36 + "line": 451, + "column": 32 }, "identifierName": "b" }, @@ -28454,16 +28334,16 @@ }, "property": { "type": "Identifier", - "start": 9782, - "end": 9788, + "start": 9128, + "end": 9134, "loc": { "start": { - "line": 464, - "column": 37 + "line": 451, + "column": 33 }, "end": { - "line": 464, - "column": 43 + "line": 451, + "column": 39 }, "identifierName": "length" }, @@ -28475,30 +28355,30 @@ }, "alternate": { "type": "CallExpression", - "start": 9796, - "end": 9838, + "start": 9141, + "end": 9176, "loc": { "start": { - "line": 465, - "column": 3 + "line": 452, + "column": 5 }, "end": { - "line": 465, - "column": 45 + "line": 452, + "column": 40 } }, "callee": { "type": "Identifier", - "start": 9796, - "end": 9799, + "start": 9141, + "end": 9144, "loc": { "start": { - "line": 465, - "column": 3 + "line": 452, + "column": 5 }, "end": { - "line": 465, - "column": 6 + "line": 452, + "column": 8 }, "identifierName": "cmp" }, @@ -28507,16 +28387,16 @@ "arguments": [ { "type": "Identifier", - "start": 9801, - "end": 9802, + "start": 9145, + "end": 9146, "loc": { "start": { - "line": 465, - "column": 8 + "line": 452, + "column": 9 }, "end": { - "line": 465, - "column": 9 + "line": 452, + "column": 10 }, "identifierName": "b" }, @@ -28524,15 +28404,15 @@ }, { "type": "NumericLiteral", - "start": 9805, - "end": 9806, + "start": 9148, + "end": 9149, "loc": { "start": { - "line": 465, + "line": 452, "column": 12 }, "end": { - "line": 465, + "line": 452, "column": 13 } }, @@ -28544,30 +28424,30 @@ }, { "type": "MemberExpression", - "start": 9809, - "end": 9817, + "start": 9151, + "end": 9159, "loc": { "start": { - "line": 465, - "column": 16 + "line": 452, + "column": 15 }, "end": { - "line": 465, - "column": 24 + "line": 452, + "column": 23 } }, "object": { "type": "Identifier", - "start": 9809, - "end": 9810, + "start": 9151, + "end": 9152, "loc": { "start": { - "line": 465, - "column": 16 + "line": 452, + "column": 15 }, "end": { - "line": 465, - "column": 17 + "line": 452, + "column": 16 }, "identifierName": "b" }, @@ -28575,16 +28455,16 @@ }, "property": { "type": "Identifier", - "start": 9811, - "end": 9817, + "start": 9153, + "end": 9159, "loc": { "start": { - "line": 465, - "column": 18 + "line": 452, + "column": 17 }, "end": { - "line": 465, - "column": 24 + "line": 452, + "column": 23 }, "identifierName": "length" }, @@ -28594,16 +28474,16 @@ }, { "type": "Identifier", - "start": 9820, - "end": 9821, + "start": 9161, + "end": 9162, "loc": { "start": { - "line": 465, - "column": 27 + "line": 452, + "column": 25 }, "end": { - "line": 465, - "column": 28 + "line": 452, + "column": 26 }, "identifierName": "a" }, @@ -28611,16 +28491,16 @@ }, { "type": "NumericLiteral", - "start": 9824, - "end": 9825, + "start": 9164, + "end": 9165, "loc": { "start": { - "line": 465, - "column": 31 + "line": 452, + "column": 28 }, "end": { - "line": 465, - "column": 32 + "line": 452, + "column": 29 } }, "extra": { @@ -28631,30 +28511,30 @@ }, { "type": "MemberExpression", - "start": 9828, - "end": 9836, + "start": 9167, + "end": 9175, "loc": { "start": { - "line": 465, - "column": 35 + "line": 452, + "column": 31 }, "end": { - "line": 465, - "column": 43 + "line": 452, + "column": 39 } }, "object": { "type": "Identifier", - "start": 9828, - "end": 9829, + "start": 9167, + "end": 9168, "loc": { "start": { - "line": 465, - "column": 35 + "line": 452, + "column": 31 }, "end": { - "line": 465, - "column": 36 + "line": 452, + "column": 32 }, "identifierName": "a" }, @@ -28662,16 +28542,16 @@ }, "property": { "type": "Identifier", - "start": 9830, - "end": 9836, + "start": 9169, + "end": 9175, "loc": { "start": { - "line": 465, - "column": 37 + "line": 452, + "column": 33 }, "end": { - "line": 465, - "column": 43 + "line": 452, + "column": 39 }, "identifierName": "length" }, @@ -28689,15 +28569,15 @@ }, { "type": "ClassMethod", - "start": 9847, - "end": 9909, + "start": 9183, + "end": 9241, "loc": { "start": { - "line": 469, + "line": 455, "column": 1 }, "end": { - "line": 471, + "line": 457, "column": 2 } }, @@ -28705,15 +28585,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9847, - "end": 9851, + "start": 9183, + "end": 9187, "loc": { "start": { - "line": 469, + "line": 455, "column": 1 }, "end": { - "line": 469, + "line": 455, "column": 5 }, "identifierName": "cmpn" @@ -28728,16 +28608,16 @@ "params": [ { "type": "Identifier", - "start": 9854, - "end": 9860, + "start": 9188, + "end": 9194, "loc": { "start": { - "line": 469, - "column": 8 + "line": 455, + "column": 6 }, "end": { - "line": 469, - "column": 14 + "line": 455, + "column": 12 }, "identifierName": "number" }, @@ -28746,87 +28626,87 @@ ], "body": { "type": "BlockStatement", - "start": 9863, - "end": 9909, + "start": 9196, + "end": 9241, "loc": { "start": { - "line": 469, - "column": 17 + "line": 455, + "column": 14 }, "end": { - "line": 471, + "line": 457, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 9867, - "end": 9906, + "start": 9200, + "end": 9238, "loc": { "start": { - "line": 470, + "line": 456, "column": 2 }, "end": { - "line": 470, - "column": 41 + "line": 456, + "column": 40 } }, "argument": { "type": "CallExpression", - "start": 9874, - "end": 9904, + "start": 9207, + "end": 9237, "loc": { "start": { - "line": 470, + "line": 456, "column": 9 }, "end": { - "line": 470, + "line": 456, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 9874, - "end": 9882, + "start": 9207, + "end": 9215, "loc": { "start": { - "line": 470, + "line": 456, "column": 9 }, "end": { - "line": 470, + "line": 456, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 9874, - "end": 9878, + "start": 9207, + "end": 9211, "loc": { "start": { - "line": 470, + "line": 456, "column": 9 }, "end": { - "line": 470, + "line": 456, "column": 13 } } }, "property": { "type": "Identifier", - "start": 9879, - "end": 9882, + "start": 9212, + "end": 9215, "loc": { "start": { - "line": 470, + "line": 456, "column": 14 }, "end": { - "line": 470, + "line": 456, "column": 17 }, "identifierName": "cmp" @@ -28838,29 +28718,29 @@ "arguments": [ { "type": "CallExpression", - "start": 9883, - "end": 9903, + "start": 9216, + "end": 9236, "loc": { "start": { - "line": 470, + "line": 456, "column": 18 }, "end": { - "line": 470, + "line": 456, "column": 38 } }, "callee": { "type": "Identifier", - "start": 9883, - "end": 9895, + "start": 9216, + "end": 9228, "loc": { "start": { - "line": 470, + "line": 456, "column": 18 }, "end": { - "line": 470, + "line": 456, "column": 30 }, "identifierName": "_from_number" @@ -28870,15 +28750,15 @@ "arguments": [ { "type": "Identifier", - "start": 9896, - "end": 9902, + "start": 9229, + "end": 9235, "loc": { "start": { - "line": 470, + "line": 456, "column": 31 }, "end": { - "line": 470, + "line": 456, "column": 37 }, "identifierName": "number" @@ -28896,15 +28776,15 @@ }, { "type": "ClassMethod", - "start": 9912, - "end": 9964, + "start": 9244, + "end": 9290, "loc": { "start": { - "line": 473, + "line": 459, "column": 1 }, "end": { - "line": 475, + "line": 461, "column": 2 } }, @@ -28912,15 +28792,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9912, - "end": 9914, + "start": 9244, + "end": 9246, "loc": { "start": { - "line": 473, + "line": 459, "column": 1 }, "end": { - "line": 473, + "line": 459, "column": 3 }, "identifierName": "eq" @@ -28935,16 +28815,16 @@ "params": [ { "type": "Identifier", - "start": 9917, - "end": 9922, + "start": 9247, + "end": 9252, "loc": { "start": { - "line": 473, - "column": 6 + "line": 459, + "column": 4 }, "end": { - "line": 473, - "column": 11 + "line": 459, + "column": 9 }, "identifierName": "other" }, @@ -28953,101 +28833,101 @@ ], "body": { "type": "BlockStatement", - "start": 9925, - "end": 9964, + "start": 9254, + "end": 9290, "loc": { "start": { - "line": 473, - "column": 14 + "line": 459, + "column": 11 }, "end": { - "line": 475, + "line": 461, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 9929, - "end": 9961, + "start": 9258, + "end": 9287, "loc": { "start": { - "line": 474, + "line": 460, "column": 2 }, "end": { - "line": 474, - "column": 34 + "line": 460, + "column": 31 } }, "argument": { "type": "BinaryExpression", - "start": 9936, - "end": 9959, + "start": 9265, + "end": 9286, "loc": { "start": { - "line": 474, + "line": 460, "column": 9 }, "end": { - "line": 474, - "column": 32 + "line": 460, + "column": 30 } }, "left": { "type": "CallExpression", - "start": 9936, - "end": 9953, + "start": 9265, + "end": 9280, "loc": { "start": { - "line": 474, + "line": 460, "column": 9 }, "end": { - "line": 474, - "column": 26 + "line": 460, + "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 9936, - "end": 9944, + "start": 9265, + "end": 9273, "loc": { "start": { - "line": 474, + "line": 460, "column": 9 }, "end": { - "line": 474, + "line": 460, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 9936, - "end": 9940, + "start": 9265, + "end": 9269, "loc": { "start": { - "line": 474, + "line": 460, "column": 9 }, "end": { - "line": 474, + "line": 460, "column": 13 } } }, "property": { "type": "Identifier", - "start": 9941, - "end": 9944, + "start": 9270, + "end": 9273, "loc": { "start": { - "line": 474, + "line": 460, "column": 14 }, "end": { - "line": 474, + "line": 460, "column": 17 }, "identifierName": "cmp" @@ -29059,16 +28939,16 @@ "arguments": [ { "type": "Identifier", - "start": 9946, - "end": 9951, + "start": 9274, + "end": 9279, "loc": { "start": { - "line": 474, - "column": 19 + "line": 460, + "column": 18 }, "end": { - "line": 474, - "column": 24 + "line": 460, + "column": 23 }, "identifierName": "other" }, @@ -29079,16 +28959,16 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 9958, - "end": 9959, + "start": 9285, + "end": 9286, "loc": { "start": { - "line": 474, - "column": 31 + "line": 460, + "column": 29 }, "end": { - "line": 474, - "column": 32 + "line": 460, + "column": 30 } }, "extra": { @@ -29105,15 +28985,15 @@ }, { "type": "ClassMethod", - "start": 9967, - "end": 10023, + "start": 9293, + "end": 9343, "loc": { "start": { - "line": 477, + "line": 463, "column": 1 }, "end": { - "line": 479, + "line": 465, "column": 2 } }, @@ -29121,15 +29001,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9967, - "end": 9970, + "start": 9293, + "end": 9296, "loc": { "start": { - "line": 477, + "line": 463, "column": 1 }, "end": { - "line": 477, + "line": 463, "column": 4 }, "identifierName": "eqn" @@ -29144,16 +29024,16 @@ "params": [ { "type": "Identifier", - "start": 9973, - "end": 9979, + "start": 9297, + "end": 9303, "loc": { "start": { - "line": 477, - "column": 7 + "line": 463, + "column": 5 }, "end": { - "line": 477, - "column": 13 + "line": 463, + "column": 11 }, "identifierName": "number" }, @@ -29162,101 +29042,101 @@ ], "body": { "type": "BlockStatement", - "start": 9982, - "end": 10023, + "start": 9305, + "end": 9343, "loc": { "start": { - "line": 477, - "column": 16 + "line": 463, + "column": 13 }, "end": { - "line": 479, + "line": 465, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 9986, - "end": 10020, + "start": 9309, + "end": 9340, "loc": { "start": { - "line": 478, + "line": 464, "column": 2 }, "end": { - "line": 478, - "column": 36 + "line": 464, + "column": 33 } }, "argument": { "type": "BinaryExpression", - "start": 9993, - "end": 10018, + "start": 9316, + "end": 9339, "loc": { "start": { - "line": 478, + "line": 464, "column": 9 }, "end": { - "line": 478, - "column": 34 + "line": 464, + "column": 32 } }, "left": { "type": "CallExpression", - "start": 9993, - "end": 10012, + "start": 9316, + "end": 9333, "loc": { "start": { - "line": 478, + "line": 464, "column": 9 }, "end": { - "line": 478, - "column": 28 + "line": 464, + "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 9993, - "end": 10002, + "start": 9316, + "end": 9325, "loc": { "start": { - "line": 478, + "line": 464, "column": 9 }, "end": { - "line": 478, + "line": 464, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 9993, - "end": 9997, + "start": 9316, + "end": 9320, "loc": { "start": { - "line": 478, + "line": 464, "column": 9 }, "end": { - "line": 478, + "line": 464, "column": 13 } } }, "property": { "type": "Identifier", - "start": 9998, - "end": 10002, + "start": 9321, + "end": 9325, "loc": { "start": { - "line": 478, + "line": 464, "column": 14 }, "end": { - "line": 478, + "line": 464, "column": 18 }, "identifierName": "cmpn" @@ -29268,16 +29148,16 @@ "arguments": [ { "type": "Identifier", - "start": 10004, - "end": 10010, + "start": 9326, + "end": 9332, "loc": { "start": { - "line": 478, - "column": 20 + "line": 464, + "column": 19 }, "end": { - "line": 478, - "column": 26 + "line": 464, + "column": 25 }, "identifierName": "number" }, @@ -29288,16 +29168,16 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 10017, - "end": 10018, + "start": 9338, + "end": 9339, "loc": { "start": { - "line": 478, - "column": 33 + "line": 464, + "column": 31 }, "end": { - "line": 478, - "column": 34 + "line": 464, + "column": 32 } }, "extra": { @@ -29314,15 +29194,15 @@ }, { "type": "ClassMethod", - "start": 10026, - "end": 10077, + "start": 9346, + "end": 9391, "loc": { "start": { - "line": 481, + "line": 467, "column": 1 }, "end": { - "line": 483, + "line": 469, "column": 2 } }, @@ -29330,15 +29210,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10026, - "end": 10028, + "start": 9346, + "end": 9348, "loc": { "start": { - "line": 481, + "line": 467, "column": 1 }, "end": { - "line": 481, + "line": 467, "column": 3 }, "identifierName": "ge" @@ -29353,16 +29233,16 @@ "params": [ { "type": "Identifier", - "start": 10031, - "end": 10036, + "start": 9349, + "end": 9354, "loc": { "start": { - "line": 481, - "column": 6 + "line": 467, + "column": 4 }, "end": { - "line": 481, - "column": 11 + "line": 467, + "column": 9 }, "identifierName": "other" }, @@ -29371,101 +29251,101 @@ ], "body": { "type": "BlockStatement", - "start": 10039, - "end": 10077, + "start": 9356, + "end": 9391, "loc": { "start": { - "line": 481, - "column": 14 + "line": 467, + "column": 11 }, "end": { - "line": 483, + "line": 469, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 10043, - "end": 10074, + "start": 9360, + "end": 9388, "loc": { "start": { - "line": 482, + "line": 468, "column": 2 }, "end": { - "line": 482, - "column": 33 + "line": 468, + "column": 30 } }, "argument": { "type": "BinaryExpression", - "start": 10050, - "end": 10072, + "start": 9367, + "end": 9387, "loc": { "start": { - "line": 482, + "line": 468, "column": 9 }, "end": { - "line": 482, - "column": 31 + "line": 468, + "column": 29 } }, "left": { "type": "CallExpression", - "start": 10050, - "end": 10067, + "start": 9367, + "end": 9382, "loc": { "start": { - "line": 482, + "line": 468, "column": 9 }, "end": { - "line": 482, - "column": 26 + "line": 468, + "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 10050, - "end": 10058, + "start": 9367, + "end": 9375, "loc": { "start": { - "line": 482, + "line": 468, "column": 9 }, "end": { - "line": 482, + "line": 468, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 10050, - "end": 10054, + "start": 9367, + "end": 9371, "loc": { "start": { - "line": 482, + "line": 468, "column": 9 }, "end": { - "line": 482, + "line": 468, "column": 13 } } }, "property": { "type": "Identifier", - "start": 10055, - "end": 10058, + "start": 9372, + "end": 9375, "loc": { "start": { - "line": 482, + "line": 468, "column": 14 }, "end": { - "line": 482, + "line": 468, "column": 17 }, "identifierName": "cmp" @@ -29477,16 +29357,16 @@ "arguments": [ { "type": "Identifier", - "start": 10060, - "end": 10065, + "start": 9376, + "end": 9381, "loc": { "start": { - "line": 482, - "column": 19 + "line": 468, + "column": 18 }, "end": { - "line": 482, - "column": 24 + "line": 468, + "column": 23 }, "identifierName": "other" }, @@ -29497,16 +29377,16 @@ "operator": ">=", "right": { "type": "NumericLiteral", - "start": 10071, - "end": 10072, + "start": 9386, + "end": 9387, "loc": { "start": { - "line": 482, - "column": 30 + "line": 468, + "column": 28 }, "end": { - "line": 482, - "column": 31 + "line": 468, + "column": 29 } }, "extra": { @@ -29523,15 +29403,15 @@ }, { "type": "ClassMethod", - "start": 10080, - "end": 10135, + "start": 9394, + "end": 9443, "loc": { "start": { - "line": 485, + "line": 471, "column": 1 }, "end": { - "line": 487, + "line": 473, "column": 2 } }, @@ -29539,15 +29419,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10080, - "end": 10083, + "start": 9394, + "end": 9397, "loc": { "start": { - "line": 485, + "line": 471, "column": 1 }, "end": { - "line": 485, + "line": 471, "column": 4 }, "identifierName": "gen" @@ -29562,16 +29442,16 @@ "params": [ { "type": "Identifier", - "start": 10086, - "end": 10092, + "start": 9398, + "end": 9404, "loc": { "start": { - "line": 485, - "column": 7 + "line": 471, + "column": 5 }, "end": { - "line": 485, - "column": 13 + "line": 471, + "column": 11 }, "identifierName": "number" }, @@ -29580,101 +29460,101 @@ ], "body": { "type": "BlockStatement", - "start": 10095, - "end": 10135, + "start": 9406, + "end": 9443, "loc": { "start": { - "line": 485, - "column": 16 + "line": 471, + "column": 13 }, "end": { - "line": 487, + "line": 473, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 10099, - "end": 10132, + "start": 9410, + "end": 9440, "loc": { "start": { - "line": 486, + "line": 472, "column": 2 }, "end": { - "line": 486, - "column": 35 + "line": 472, + "column": 32 } }, "argument": { "type": "BinaryExpression", - "start": 10106, - "end": 10130, + "start": 9417, + "end": 9439, "loc": { "start": { - "line": 486, + "line": 472, "column": 9 }, "end": { - "line": 486, - "column": 33 + "line": 472, + "column": 31 } }, "left": { "type": "CallExpression", - "start": 10106, - "end": 10125, + "start": 9417, + "end": 9434, "loc": { "start": { - "line": 486, + "line": 472, "column": 9 }, "end": { - "line": 486, - "column": 28 + "line": 472, + "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 10106, - "end": 10115, + "start": 9417, + "end": 9426, "loc": { "start": { - "line": 486, + "line": 472, "column": 9 }, "end": { - "line": 486, + "line": 472, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 10106, - "end": 10110, + "start": 9417, + "end": 9421, "loc": { "start": { - "line": 486, + "line": 472, "column": 9 }, "end": { - "line": 486, + "line": 472, "column": 13 } } }, "property": { "type": "Identifier", - "start": 10111, - "end": 10115, + "start": 9422, + "end": 9426, "loc": { "start": { - "line": 486, + "line": 472, "column": 14 }, "end": { - "line": 486, + "line": 472, "column": 18 }, "identifierName": "cmpn" @@ -29686,16 +29566,16 @@ "arguments": [ { "type": "Identifier", - "start": 10117, - "end": 10123, + "start": 9427, + "end": 9433, "loc": { "start": { - "line": 486, - "column": 20 + "line": 472, + "column": 19 }, "end": { - "line": 486, - "column": 26 + "line": 472, + "column": 25 }, "identifierName": "number" }, @@ -29706,16 +29586,16 @@ "operator": ">=", "right": { "type": "NumericLiteral", - "start": 10129, - "end": 10130, + "start": 9438, + "end": 9439, "loc": { "start": { - "line": 486, - "column": 32 + "line": 472, + "column": 30 }, "end": { - "line": 486, - "column": 33 + "line": 472, + "column": 31 } }, "extra": { @@ -29732,15 +29612,15 @@ }, { "type": "ClassMethod", - "start": 10138, - "end": 10188, + "start": 9446, + "end": 9490, "loc": { "start": { - "line": 489, + "line": 475, "column": 1 }, "end": { - "line": 491, + "line": 477, "column": 2 } }, @@ -29748,15 +29628,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10138, - "end": 10140, + "start": 9446, + "end": 9448, "loc": { "start": { - "line": 489, + "line": 475, "column": 1 }, "end": { - "line": 489, + "line": 475, "column": 3 }, "identifierName": "gt" @@ -29771,16 +29651,16 @@ "params": [ { "type": "Identifier", - "start": 10143, - "end": 10148, + "start": 9449, + "end": 9454, "loc": { "start": { - "line": 489, - "column": 6 + "line": 475, + "column": 4 }, "end": { - "line": 489, - "column": 11 + "line": 475, + "column": 9 }, "identifierName": "other" }, @@ -29789,101 +29669,101 @@ ], "body": { "type": "BlockStatement", - "start": 10151, - "end": 10188, + "start": 9456, + "end": 9490, "loc": { "start": { - "line": 489, - "column": 14 + "line": 475, + "column": 11 }, "end": { - "line": 491, + "line": 477, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 10155, - "end": 10185, + "start": 9460, + "end": 9487, "loc": { "start": { - "line": 490, + "line": 476, "column": 2 }, "end": { - "line": 490, - "column": 32 + "line": 476, + "column": 29 } }, "argument": { "type": "BinaryExpression", - "start": 10162, - "end": 10183, + "start": 9467, + "end": 9486, "loc": { "start": { - "line": 490, + "line": 476, "column": 9 }, "end": { - "line": 490, - "column": 30 + "line": 476, + "column": 28 } }, "left": { "type": "CallExpression", - "start": 10162, - "end": 10179, + "start": 9467, + "end": 9482, "loc": { "start": { - "line": 490, + "line": 476, "column": 9 }, "end": { - "line": 490, - "column": 26 + "line": 476, + "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 10162, - "end": 10170, + "start": 9467, + "end": 9475, "loc": { "start": { - "line": 490, + "line": 476, "column": 9 }, "end": { - "line": 490, + "line": 476, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 10162, - "end": 10166, + "start": 9467, + "end": 9471, "loc": { "start": { - "line": 490, + "line": 476, "column": 9 }, "end": { - "line": 490, + "line": 476, "column": 13 } } }, "property": { "type": "Identifier", - "start": 10167, - "end": 10170, + "start": 9472, + "end": 9475, "loc": { "start": { - "line": 490, + "line": 476, "column": 14 }, "end": { - "line": 490, + "line": 476, "column": 17 }, "identifierName": "cmp" @@ -29895,16 +29775,16 @@ "arguments": [ { "type": "Identifier", - "start": 10172, - "end": 10177, + "start": 9476, + "end": 9481, "loc": { "start": { - "line": 490, - "column": 19 + "line": 476, + "column": 18 }, "end": { - "line": 490, - "column": 24 + "line": 476, + "column": 23 }, "identifierName": "other" }, @@ -29915,16 +29795,16 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 10182, - "end": 10183, + "start": 9485, + "end": 9486, "loc": { "start": { - "line": 490, - "column": 29 + "line": 476, + "column": 27 }, "end": { - "line": 490, - "column": 30 + "line": 476, + "column": 28 } }, "extra": { @@ -29941,15 +29821,15 @@ }, { "type": "ClassMethod", - "start": 10191, - "end": 10245, + "start": 9493, + "end": 9541, "loc": { "start": { - "line": 493, + "line": 479, "column": 1 }, "end": { - "line": 495, + "line": 481, "column": 2 } }, @@ -29957,15 +29837,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10191, - "end": 10194, + "start": 9493, + "end": 9496, "loc": { "start": { - "line": 493, + "line": 479, "column": 1 }, "end": { - "line": 493, + "line": 479, "column": 4 }, "identifierName": "gtn" @@ -29980,16 +29860,16 @@ "params": [ { "type": "Identifier", - "start": 10197, - "end": 10203, + "start": 9497, + "end": 9503, "loc": { "start": { - "line": 493, - "column": 7 + "line": 479, + "column": 5 }, "end": { - "line": 493, - "column": 13 + "line": 479, + "column": 11 }, "identifierName": "number" }, @@ -29998,101 +29878,101 @@ ], "body": { "type": "BlockStatement", - "start": 10206, - "end": 10245, + "start": 9505, + "end": 9541, "loc": { "start": { - "line": 493, - "column": 16 + "line": 479, + "column": 13 }, "end": { - "line": 495, + "line": 481, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 10210, - "end": 10242, + "start": 9509, + "end": 9538, "loc": { "start": { - "line": 494, + "line": 480, "column": 2 }, "end": { - "line": 494, - "column": 34 + "line": 480, + "column": 31 } }, "argument": { "type": "BinaryExpression", - "start": 10217, - "end": 10240, + "start": 9516, + "end": 9537, "loc": { "start": { - "line": 494, + "line": 480, "column": 9 }, "end": { - "line": 494, - "column": 32 + "line": 480, + "column": 30 } }, "left": { "type": "CallExpression", - "start": 10217, - "end": 10236, + "start": 9516, + "end": 9533, "loc": { "start": { - "line": 494, + "line": 480, "column": 9 }, "end": { - "line": 494, - "column": 28 + "line": 480, + "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 10217, - "end": 10226, + "start": 9516, + "end": 9525, "loc": { "start": { - "line": 494, + "line": 480, "column": 9 }, "end": { - "line": 494, + "line": 480, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 10217, - "end": 10221, + "start": 9516, + "end": 9520, "loc": { "start": { - "line": 494, + "line": 480, "column": 9 }, "end": { - "line": 494, + "line": 480, "column": 13 } } }, "property": { "type": "Identifier", - "start": 10222, - "end": 10226, + "start": 9521, + "end": 9525, "loc": { "start": { - "line": 494, + "line": 480, "column": 14 }, "end": { - "line": 494, + "line": 480, "column": 18 }, "identifierName": "cmpn" @@ -30104,16 +29984,16 @@ "arguments": [ { "type": "Identifier", - "start": 10228, - "end": 10234, + "start": 9526, + "end": 9532, "loc": { "start": { - "line": 494, - "column": 20 + "line": 480, + "column": 19 }, "end": { - "line": 494, - "column": 26 + "line": 480, + "column": 25 }, "identifierName": "number" }, @@ -30124,16 +30004,16 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 10239, - "end": 10240, + "start": 9536, + "end": 9537, "loc": { "start": { - "line": 494, - "column": 31 + "line": 480, + "column": 29 }, "end": { - "line": 494, - "column": 32 + "line": 480, + "column": 30 } }, "extra": { @@ -30150,15 +30030,15 @@ }, { "type": "ClassMethod", - "start": 10248, - "end": 10299, + "start": 9544, + "end": 9589, "loc": { "start": { - "line": 497, + "line": 483, "column": 1 }, "end": { - "line": 499, + "line": 485, "column": 2 } }, @@ -30166,15 +30046,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10248, - "end": 10250, + "start": 9544, + "end": 9546, "loc": { "start": { - "line": 497, + "line": 483, "column": 1 }, "end": { - "line": 497, + "line": 483, "column": 3 }, "identifierName": "le" @@ -30189,16 +30069,16 @@ "params": [ { "type": "Identifier", - "start": 10253, - "end": 10258, + "start": 9547, + "end": 9552, "loc": { "start": { - "line": 497, - "column": 6 + "line": 483, + "column": 4 }, "end": { - "line": 497, - "column": 11 + "line": 483, + "column": 9 }, "identifierName": "other" }, @@ -30207,101 +30087,101 @@ ], "body": { "type": "BlockStatement", - "start": 10261, - "end": 10299, + "start": 9554, + "end": 9589, "loc": { "start": { - "line": 497, - "column": 14 + "line": 483, + "column": 11 }, "end": { - "line": 499, + "line": 485, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 10265, - "end": 10296, + "start": 9558, + "end": 9586, "loc": { "start": { - "line": 498, + "line": 484, "column": 2 }, "end": { - "line": 498, - "column": 33 + "line": 484, + "column": 30 } }, "argument": { "type": "BinaryExpression", - "start": 10272, - "end": 10294, + "start": 9565, + "end": 9585, "loc": { "start": { - "line": 498, + "line": 484, "column": 9 }, "end": { - "line": 498, - "column": 31 + "line": 484, + "column": 29 } }, "left": { "type": "CallExpression", - "start": 10272, - "end": 10289, + "start": 9565, + "end": 9580, "loc": { "start": { - "line": 498, + "line": 484, "column": 9 }, "end": { - "line": 498, - "column": 26 + "line": 484, + "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 10272, - "end": 10280, + "start": 9565, + "end": 9573, "loc": { "start": { - "line": 498, + "line": 484, "column": 9 }, "end": { - "line": 498, + "line": 484, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 10272, - "end": 10276, + "start": 9565, + "end": 9569, "loc": { "start": { - "line": 498, + "line": 484, "column": 9 }, "end": { - "line": 498, + "line": 484, "column": 13 } } }, "property": { "type": "Identifier", - "start": 10277, - "end": 10280, + "start": 9570, + "end": 9573, "loc": { "start": { - "line": 498, + "line": 484, "column": 14 }, "end": { - "line": 498, + "line": 484, "column": 17 }, "identifierName": "cmp" @@ -30313,16 +30193,16 @@ "arguments": [ { "type": "Identifier", - "start": 10282, - "end": 10287, + "start": 9574, + "end": 9579, "loc": { "start": { - "line": 498, - "column": 19 + "line": 484, + "column": 18 }, "end": { - "line": 498, - "column": 24 + "line": 484, + "column": 23 }, "identifierName": "other" }, @@ -30333,16 +30213,16 @@ "operator": "<=", "right": { "type": "NumericLiteral", - "start": 10293, - "end": 10294, + "start": 9584, + "end": 9585, "loc": { "start": { - "line": 498, - "column": 30 + "line": 484, + "column": 28 }, "end": { - "line": 498, - "column": 31 + "line": 484, + "column": 29 } }, "extra": { @@ -30359,15 +30239,15 @@ }, { "type": "ClassMethod", - "start": 10302, - "end": 10357, + "start": 9592, + "end": 9641, "loc": { "start": { - "line": 501, + "line": 487, "column": 1 }, "end": { - "line": 503, + "line": 489, "column": 2 } }, @@ -30375,15 +30255,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10302, - "end": 10305, + "start": 9592, + "end": 9595, "loc": { "start": { - "line": 501, + "line": 487, "column": 1 }, "end": { - "line": 501, + "line": 487, "column": 4 }, "identifierName": "len" @@ -30398,16 +30278,16 @@ "params": [ { "type": "Identifier", - "start": 10308, - "end": 10314, + "start": 9596, + "end": 9602, "loc": { "start": { - "line": 501, - "column": 7 + "line": 487, + "column": 5 }, "end": { - "line": 501, - "column": 13 + "line": 487, + "column": 11 }, "identifierName": "number" }, @@ -30416,101 +30296,101 @@ ], "body": { "type": "BlockStatement", - "start": 10317, - "end": 10357, + "start": 9604, + "end": 9641, "loc": { "start": { - "line": 501, - "column": 16 + "line": 487, + "column": 13 }, "end": { - "line": 503, + "line": 489, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 10321, - "end": 10354, + "start": 9608, + "end": 9638, "loc": { "start": { - "line": 502, + "line": 488, "column": 2 }, "end": { - "line": 502, - "column": 35 + "line": 488, + "column": 32 } }, "argument": { "type": "BinaryExpression", - "start": 10328, - "end": 10352, + "start": 9615, + "end": 9637, "loc": { "start": { - "line": 502, + "line": 488, "column": 9 }, "end": { - "line": 502, - "column": 33 + "line": 488, + "column": 31 } }, "left": { "type": "CallExpression", - "start": 10328, - "end": 10347, + "start": 9615, + "end": 9632, "loc": { "start": { - "line": 502, + "line": 488, "column": 9 }, "end": { - "line": 502, - "column": 28 + "line": 488, + "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 10328, - "end": 10337, + "start": 9615, + "end": 9624, "loc": { "start": { - "line": 502, + "line": 488, "column": 9 }, "end": { - "line": 502, + "line": 488, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 10328, - "end": 10332, + "start": 9615, + "end": 9619, "loc": { "start": { - "line": 502, + "line": 488, "column": 9 }, "end": { - "line": 502, + "line": 488, "column": 13 } } }, "property": { "type": "Identifier", - "start": 10333, - "end": 10337, + "start": 9620, + "end": 9624, "loc": { "start": { - "line": 502, + "line": 488, "column": 14 }, "end": { - "line": 502, + "line": 488, "column": 18 }, "identifierName": "cmpn" @@ -30522,16 +30402,16 @@ "arguments": [ { "type": "Identifier", - "start": 10339, - "end": 10345, + "start": 9625, + "end": 9631, "loc": { "start": { - "line": 502, - "column": 20 + "line": 488, + "column": 19 }, "end": { - "line": 502, - "column": 26 + "line": 488, + "column": 25 }, "identifierName": "number" }, @@ -30542,16 +30422,16 @@ "operator": "<=", "right": { "type": "NumericLiteral", - "start": 10351, - "end": 10352, + "start": 9636, + "end": 9637, "loc": { "start": { - "line": 502, - "column": 32 + "line": 488, + "column": 30 }, "end": { - "line": 502, - "column": 33 + "line": 488, + "column": 31 } }, "extra": { @@ -30568,15 +30448,15 @@ }, { "type": "ClassMethod", - "start": 10360, - "end": 10410, + "start": 9644, + "end": 9688, "loc": { "start": { - "line": 505, + "line": 491, "column": 1 }, "end": { - "line": 507, + "line": 493, "column": 2 } }, @@ -30584,15 +30464,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10360, - "end": 10362, + "start": 9644, + "end": 9646, "loc": { "start": { - "line": 505, + "line": 491, "column": 1 }, "end": { - "line": 505, + "line": 491, "column": 3 }, "identifierName": "lt" @@ -30607,16 +30487,16 @@ "params": [ { "type": "Identifier", - "start": 10365, - "end": 10370, + "start": 9647, + "end": 9652, "loc": { "start": { - "line": 505, - "column": 6 + "line": 491, + "column": 4 }, "end": { - "line": 505, - "column": 11 + "line": 491, + "column": 9 }, "identifierName": "other" }, @@ -30625,101 +30505,101 @@ ], "body": { "type": "BlockStatement", - "start": 10373, - "end": 10410, + "start": 9654, + "end": 9688, "loc": { "start": { - "line": 505, - "column": 14 + "line": 491, + "column": 11 }, "end": { - "line": 507, + "line": 493, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 10377, - "end": 10407, + "start": 9658, + "end": 9685, "loc": { "start": { - "line": 506, + "line": 492, "column": 2 }, "end": { - "line": 506, - "column": 32 + "line": 492, + "column": 29 } }, "argument": { "type": "BinaryExpression", - "start": 10384, - "end": 10405, + "start": 9665, + "end": 9684, "loc": { "start": { - "line": 506, + "line": 492, "column": 9 }, "end": { - "line": 506, - "column": 30 + "line": 492, + "column": 28 } }, "left": { "type": "CallExpression", - "start": 10384, - "end": 10401, + "start": 9665, + "end": 9680, "loc": { "start": { - "line": 506, + "line": 492, "column": 9 }, "end": { - "line": 506, - "column": 26 + "line": 492, + "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 10384, - "end": 10392, + "start": 9665, + "end": 9673, "loc": { "start": { - "line": 506, + "line": 492, "column": 9 }, "end": { - "line": 506, + "line": 492, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 10384, - "end": 10388, + "start": 9665, + "end": 9669, "loc": { "start": { - "line": 506, + "line": 492, "column": 9 }, "end": { - "line": 506, + "line": 492, "column": 13 } } }, "property": { "type": "Identifier", - "start": 10389, - "end": 10392, + "start": 9670, + "end": 9673, "loc": { "start": { - "line": 506, + "line": 492, "column": 14 }, "end": { - "line": 506, + "line": 492, "column": 17 }, "identifierName": "cmp" @@ -30731,16 +30611,16 @@ "arguments": [ { "type": "Identifier", - "start": 10394, - "end": 10399, + "start": 9674, + "end": 9679, "loc": { "start": { - "line": 506, - "column": 19 + "line": 492, + "column": 18 }, "end": { - "line": 506, - "column": 24 + "line": 492, + "column": 23 }, "identifierName": "other" }, @@ -30751,16 +30631,16 @@ "operator": "<", "right": { "type": "NumericLiteral", - "start": 10404, - "end": 10405, + "start": 9683, + "end": 9684, "loc": { "start": { - "line": 506, - "column": 29 + "line": 492, + "column": 27 }, "end": { - "line": 506, - "column": 30 + "line": 492, + "column": 28 } }, "extra": { @@ -30777,15 +30657,15 @@ }, { "type": "ClassMethod", - "start": 10413, - "end": 10467, + "start": 9691, + "end": 9739, "loc": { "start": { - "line": 509, + "line": 495, "column": 1 }, "end": { - "line": 511, + "line": 497, "column": 2 } }, @@ -30793,15 +30673,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10413, - "end": 10416, + "start": 9691, + "end": 9694, "loc": { "start": { - "line": 509, + "line": 495, "column": 1 }, "end": { - "line": 509, + "line": 495, "column": 4 }, "identifierName": "ltn" @@ -30816,16 +30696,16 @@ "params": [ { "type": "Identifier", - "start": 10419, - "end": 10425, + "start": 9695, + "end": 9701, "loc": { "start": { - "line": 509, - "column": 7 + "line": 495, + "column": 5 }, "end": { - "line": 509, - "column": 13 + "line": 495, + "column": 11 }, "identifierName": "number" }, @@ -30834,101 +30714,101 @@ ], "body": { "type": "BlockStatement", - "start": 10428, - "end": 10467, + "start": 9703, + "end": 9739, "loc": { "start": { - "line": 509, - "column": 16 + "line": 495, + "column": 13 }, "end": { - "line": 511, + "line": 497, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 10432, - "end": 10464, + "start": 9707, + "end": 9736, "loc": { "start": { - "line": 510, + "line": 496, "column": 2 }, "end": { - "line": 510, - "column": 34 + "line": 496, + "column": 31 } }, "argument": { "type": "BinaryExpression", - "start": 10439, - "end": 10462, + "start": 9714, + "end": 9735, "loc": { "start": { - "line": 510, + "line": 496, "column": 9 }, "end": { - "line": 510, - "column": 32 + "line": 496, + "column": 30 } }, "left": { "type": "CallExpression", - "start": 10439, - "end": 10458, + "start": 9714, + "end": 9731, "loc": { "start": { - "line": 510, + "line": 496, "column": 9 }, "end": { - "line": 510, - "column": 28 + "line": 496, + "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 10439, - "end": 10448, + "start": 9714, + "end": 9723, "loc": { "start": { - "line": 510, + "line": 496, "column": 9 }, "end": { - "line": 510, + "line": 496, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 10439, - "end": 10443, + "start": 9714, + "end": 9718, "loc": { "start": { - "line": 510, + "line": 496, "column": 9 }, "end": { - "line": 510, + "line": 496, "column": 13 } } }, "property": { "type": "Identifier", - "start": 10444, - "end": 10448, + "start": 9719, + "end": 9723, "loc": { "start": { - "line": 510, + "line": 496, "column": 14 }, "end": { - "line": 510, + "line": 496, "column": 18 }, "identifierName": "cmpn" @@ -30940,16 +30820,16 @@ "arguments": [ { "type": "Identifier", - "start": 10450, - "end": 10456, + "start": 9724, + "end": 9730, "loc": { "start": { - "line": 510, - "column": 20 + "line": 496, + "column": 19 }, "end": { - "line": 510, - "column": 26 + "line": 496, + "column": 25 }, "identifierName": "number" }, @@ -30960,16 +30840,16 @@ "operator": "<", "right": { "type": "NumericLiteral", - "start": 10461, - "end": 10462, + "start": 9734, + "end": 9735, "loc": { "start": { - "line": 510, - "column": 31 + "line": 496, + "column": 29 }, "end": { - "line": 510, - "column": 32 + "line": 496, + "column": 30 } }, "extra": { @@ -30986,15 +30866,15 @@ }, { "type": "ClassMethod", - "start": 10470, - "end": 10522, + "start": 9742, + "end": 9788, "loc": { "start": { - "line": 513, + "line": 499, "column": 1 }, "end": { - "line": 515, + "line": 501, "column": 2 } }, @@ -31002,15 +30882,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10470, - "end": 10472, + "start": 9742, + "end": 9744, "loc": { "start": { - "line": 513, + "line": 499, "column": 1 }, "end": { - "line": 513, + "line": 499, "column": 3 }, "identifierName": "ne" @@ -31025,16 +30905,16 @@ "params": [ { "type": "Identifier", - "start": 10475, - "end": 10480, + "start": 9745, + "end": 9750, "loc": { "start": { - "line": 513, - "column": 6 + "line": 499, + "column": 4 }, "end": { - "line": 513, - "column": 11 + "line": 499, + "column": 9 }, "identifierName": "other" }, @@ -31043,101 +30923,101 @@ ], "body": { "type": "BlockStatement", - "start": 10483, - "end": 10522, + "start": 9752, + "end": 9788, "loc": { "start": { - "line": 513, - "column": 14 + "line": 499, + "column": 11 }, "end": { - "line": 515, + "line": 501, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 10487, - "end": 10519, + "start": 9756, + "end": 9785, "loc": { "start": { - "line": 514, + "line": 500, "column": 2 }, "end": { - "line": 514, - "column": 34 + "line": 500, + "column": 31 } }, "argument": { "type": "BinaryExpression", - "start": 10494, - "end": 10517, + "start": 9763, + "end": 9784, "loc": { "start": { - "line": 514, + "line": 500, "column": 9 }, "end": { - "line": 514, - "column": 32 + "line": 500, + "column": 30 } }, "left": { "type": "CallExpression", - "start": 10494, - "end": 10511, + "start": 9763, + "end": 9778, "loc": { "start": { - "line": 514, + "line": 500, "column": 9 }, "end": { - "line": 514, - "column": 26 + "line": 500, + "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 10494, - "end": 10502, + "start": 9763, + "end": 9771, "loc": { "start": { - "line": 514, + "line": 500, "column": 9 }, "end": { - "line": 514, + "line": 500, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 10494, - "end": 10498, + "start": 9763, + "end": 9767, "loc": { "start": { - "line": 514, + "line": 500, "column": 9 }, "end": { - "line": 514, + "line": 500, "column": 13 } } }, "property": { "type": "Identifier", - "start": 10499, - "end": 10502, + "start": 9768, + "end": 9771, "loc": { "start": { - "line": 514, + "line": 500, "column": 14 }, "end": { - "line": 514, + "line": 500, "column": 17 }, "identifierName": "cmp" @@ -31149,16 +31029,16 @@ "arguments": [ { "type": "Identifier", - "start": 10504, - "end": 10509, + "start": 9772, + "end": 9777, "loc": { "start": { - "line": 514, - "column": 19 + "line": 500, + "column": 18 }, "end": { - "line": 514, - "column": 24 + "line": 500, + "column": 23 }, "identifierName": "other" }, @@ -31169,16 +31049,16 @@ "operator": "!==", "right": { "type": "NumericLiteral", - "start": 10516, - "end": 10517, + "start": 9783, + "end": 9784, "loc": { "start": { - "line": 514, - "column": 31 + "line": 500, + "column": 29 }, "end": { - "line": 514, - "column": 32 + "line": 500, + "column": 30 } }, "extra": { @@ -31195,15 +31075,15 @@ }, { "type": "ClassMethod", - "start": 10525, - "end": 10581, + "start": 9791, + "end": 9841, "loc": { "start": { - "line": 517, + "line": 503, "column": 1 }, "end": { - "line": 519, + "line": 505, "column": 2 } }, @@ -31211,15 +31091,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10525, - "end": 10528, + "start": 9791, + "end": 9794, "loc": { "start": { - "line": 517, + "line": 503, "column": 1 }, "end": { - "line": 517, + "line": 503, "column": 4 }, "identifierName": "nen" @@ -31234,16 +31114,16 @@ "params": [ { "type": "Identifier", - "start": 10531, - "end": 10537, + "start": 9795, + "end": 9801, "loc": { "start": { - "line": 517, - "column": 7 + "line": 503, + "column": 5 }, "end": { - "line": 517, - "column": 13 + "line": 503, + "column": 11 }, "identifierName": "number" }, @@ -31252,101 +31132,101 @@ ], "body": { "type": "BlockStatement", - "start": 10540, - "end": 10581, + "start": 9803, + "end": 9841, "loc": { "start": { - "line": 517, - "column": 16 + "line": 503, + "column": 13 }, "end": { - "line": 519, + "line": 505, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 10544, - "end": 10578, + "start": 9807, + "end": 9838, "loc": { "start": { - "line": 518, + "line": 504, "column": 2 }, "end": { - "line": 518, - "column": 36 + "line": 504, + "column": 33 } }, "argument": { "type": "BinaryExpression", - "start": 10551, - "end": 10576, + "start": 9814, + "end": 9837, "loc": { "start": { - "line": 518, + "line": 504, "column": 9 }, "end": { - "line": 518, - "column": 34 + "line": 504, + "column": 32 } }, "left": { "type": "CallExpression", - "start": 10551, - "end": 10570, + "start": 9814, + "end": 9831, "loc": { "start": { - "line": 518, + "line": 504, "column": 9 }, "end": { - "line": 518, - "column": 28 + "line": 504, + "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 10551, - "end": 10560, + "start": 9814, + "end": 9823, "loc": { "start": { - "line": 518, + "line": 504, "column": 9 }, "end": { - "line": 518, + "line": 504, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 10551, - "end": 10555, + "start": 9814, + "end": 9818, "loc": { "start": { - "line": 518, + "line": 504, "column": 9 }, "end": { - "line": 518, + "line": 504, "column": 13 } } }, "property": { "type": "Identifier", - "start": 10556, - "end": 10560, + "start": 9819, + "end": 9823, "loc": { "start": { - "line": 518, + "line": 504, "column": 14 }, "end": { - "line": 518, + "line": 504, "column": 18 }, "identifierName": "cmpn" @@ -31358,16 +31238,16 @@ "arguments": [ { "type": "Identifier", - "start": 10562, - "end": 10568, + "start": 9824, + "end": 9830, "loc": { "start": { - "line": 518, - "column": 20 + "line": 504, + "column": 19 }, "end": { - "line": 518, - "column": 26 + "line": 504, + "column": 25 }, "identifierName": "number" }, @@ -31378,16 +31258,16 @@ "operator": "!==", "right": { "type": "NumericLiteral", - "start": 10575, - "end": 10576, + "start": 9836, + "end": 9837, "loc": { "start": { - "line": 518, - "column": 33 + "line": 504, + "column": 31 }, "end": { - "line": 518, - "column": 34 + "line": 504, + "column": 32 } }, "extra": { @@ -31404,15 +31284,15 @@ }, { "type": "ClassMethod", - "start": 10584, - "end": 10889, + "start": 9844, + "end": 10115, "loc": { "start": { - "line": 521, + "line": 507, "column": 1 }, "end": { - "line": 529, + "line": 515, "column": 2 } }, @@ -31420,15 +31300,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10584, - "end": 10587, + "start": 9844, + "end": 9847, "loc": { "start": { - "line": 521, + "line": 507, "column": 1 }, "end": { - "line": 521, + "line": 507, "column": 4 }, "identifierName": "gcd" @@ -31443,16 +31323,16 @@ "params": [ { "type": "Identifier", - "start": 10590, - "end": 10595, + "start": 9848, + "end": 9853, "loc": { "start": { - "line": 521, - "column": 7 + "line": 507, + "column": 5 }, "end": { - "line": 521, - "column": 12 + "line": 507, + "column": 10 }, "identifierName": "other" }, @@ -31461,59 +31341,59 @@ ], "body": { "type": "BlockStatement", - "start": 10598, - "end": 10889, + "start": 9855, + "end": 10115, "loc": { "start": { - "line": 521, - "column": 15 + "line": 507, + "column": 12 }, "end": { - "line": 529, + "line": 515, "column": 2 } }, "body": [ { "type": "VariableDeclaration", - "start": 10602, - "end": 10623, + "start": 9859, + "end": 9880, "loc": { "start": { - "line": 522, + "line": 508, "column": 2 }, "end": { - "line": 522, + "line": 508, "column": 23 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 10608, - "end": 10621, + "start": 9865, + "end": 9879, "loc": { "start": { - "line": 522, + "line": 508, "column": 8 }, "end": { - "line": 522, - "column": 21 + "line": 508, + "column": 22 } }, "id": { "type": "Identifier", - "start": 10608, - "end": 10609, + "start": 9865, + "end": 9866, "loc": { "start": { - "line": 522, + "line": 508, "column": 8 }, "end": { - "line": 522, + "line": 508, "column": 9 }, "identifierName": "r" @@ -31522,49 +31402,49 @@ }, "init": { "type": "MemberExpression", - "start": 10612, - "end": 10621, + "start": 9869, + "end": 9879, "loc": { "start": { - "line": 522, + "line": 508, "column": 12 }, "end": { - "line": 522, - "column": 21 + "line": 508, + "column": 22 } }, "object": { "type": "ThisExpression", - "start": 10612, - "end": 10616, + "start": 9869, + "end": 9873, "loc": { "start": { - "line": 522, + "line": 508, "column": 12 }, "end": { - "line": 522, + "line": 508, "column": 16 } } }, "property": { "type": "Identifier", - "start": 10617, - "end": 10621, + "start": 9874, + "end": 9879, "loc": { "start": { - "line": 522, + "line": 508, "column": 17 }, "end": { - "line": 522, - "column": 21 + "line": 508, + "column": 22 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false } @@ -31574,44 +31454,44 @@ }, { "type": "VariableDeclaration", - "start": 10626, - "end": 10648, + "start": 9883, + "end": 9905, "loc": { "start": { - "line": 523, + "line": 509, "column": 2 }, "end": { - "line": 523, + "line": 509, "column": 24 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 10632, - "end": 10646, + "start": 9889, + "end": 9904, "loc": { "start": { - "line": 523, + "line": 509, "column": 8 }, "end": { - "line": 523, - "column": 22 + "line": 509, + "column": 23 } }, "id": { "type": "Identifier", - "start": 10632, - "end": 10633, + "start": 9889, + "end": 9890, "loc": { "start": { - "line": 523, + "line": 509, "column": 8 }, "end": { - "line": 523, + "line": 509, "column": 9 }, "identifierName": "a" @@ -31620,49 +31500,49 @@ }, "init": { "type": "MemberExpression", - "start": 10636, - "end": 10646, + "start": 9893, + "end": 9904, "loc": { "start": { - "line": 523, + "line": 509, "column": 12 }, "end": { - "line": 523, - "column": 22 + "line": 509, + "column": 23 } }, "object": { "type": "ThisExpression", - "start": 10636, - "end": 10640, + "start": 9893, + "end": 9897, "loc": { "start": { - "line": 523, + "line": 509, "column": 12 }, "end": { - "line": 523, + "line": 509, "column": 16 } } }, "property": { "type": "Identifier", - "start": 10641, - "end": 10646, + "start": 9898, + "end": 9904, "loc": { "start": { - "line": 523, + "line": 509, "column": 17 }, "end": { - "line": 523, - "column": 22 + "line": 509, + "column": 23 }, - "identifierName": "limbs" + "identifierName": "_limbs" }, - "name": "limbs" + "name": "_limbs" }, "computed": false } @@ -31672,44 +31552,44 @@ }, { "type": "VariableDeclaration", - "start": 10651, - "end": 10688, + "start": 9908, + "end": 9942, "loc": { "start": { - "line": 524, + "line": 510, "column": 2 }, "end": { - "line": 524, - "column": 39 + "line": 510, + "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 10657, - "end": 10686, + "start": 9914, + "end": 9941, "loc": { "start": { - "line": 524, + "line": 510, "column": 8 }, "end": { - "line": 524, - "column": 37 + "line": 510, + "column": 35 } }, "id": { "type": "Identifier", - "start": 10657, - "end": 10658, + "start": 9914, + "end": 9915, "loc": { "start": { - "line": 524, + "line": 510, "column": 8 }, "end": { - "line": 524, + "line": 510, "column": 9 }, "identifierName": "b" @@ -31718,43 +31598,43 @@ }, "init": { "type": "CallExpression", - "start": 10661, - "end": 10686, + "start": 9918, + "end": 9941, "loc": { "start": { - "line": 524, + "line": 510, "column": 12 }, "end": { - "line": 524, - "column": 37 + "line": 510, + "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 10661, - "end": 10681, + "start": 9918, + "end": 9938, "loc": { "start": { - "line": 524, + "line": 510, "column": 12 }, "end": { - "line": 524, + "line": 510, "column": 32 } }, "object": { "type": "Identifier", - "start": 10661, - "end": 10666, + "start": 9918, + "end": 9923, "loc": { "start": { - "line": 524, + "line": 510, "column": 12 }, "end": { - "line": 524, + "line": 510, "column": 17 }, "identifierName": "other" @@ -31763,15 +31643,15 @@ }, "property": { "type": "Identifier", - "start": 10667, - "end": 10681, + "start": 9924, + "end": 9938, "loc": { "start": { - "line": 524, + "line": 510, "column": 18 }, "end": { - "line": 524, + "line": 510, "column": 32 }, "identifierName": "_limbs_in_base" @@ -31783,16 +31663,16 @@ "arguments": [ { "type": "Identifier", - "start": 10683, - "end": 10684, + "start": 9939, + "end": 9940, "loc": { "start": { - "line": 524, - "column": 34 + "line": 510, + "column": 33 }, "end": { - "line": 524, - "column": 35 + "line": 510, + "column": 34 }, "identifierName": "r" }, @@ -31806,60 +31686,60 @@ }, { "type": "VariableDeclaration", - "start": 10691, - "end": 10779, + "start": 9945, + "end": 10020, "loc": { "start": { - "line": 525, + "line": 511, "column": 2 }, "end": { - "line": 525, - "column": 90 + "line": 511, + "column": 77 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 10697, - "end": 10777, + "start": 9951, + "end": 10019, "loc": { "start": { - "line": 525, + "line": 511, "column": 8 }, "end": { - "line": 525, - "column": 88 + "line": 511, + "column": 76 } }, "id": { "type": "ArrayPattern", - "start": 10697, - "end": 10712, + "start": 9951, + "end": 9962, "loc": { "start": { - "line": 525, + "line": 511, "column": 8 }, "end": { - "line": 525, - "column": 23 + "line": 511, + "column": 19 } }, "elements": [ { "type": "Identifier", - "start": 10699, - "end": 10700, + "start": 9952, + "end": 9953, "loc": { "start": { - "line": 525, - "column": 10 + "line": 511, + "column": 9 }, "end": { - "line": 525, - "column": 11 + "line": 511, + "column": 10 }, "identifierName": "d" }, @@ -31867,16 +31747,16 @@ }, { "type": "Identifier", - "start": 10703, - "end": 10705, + "start": 9955, + "end": 9957, "loc": { "start": { - "line": 525, - "column": 14 + "line": 511, + "column": 12 }, "end": { - "line": 525, - "column": 16 + "line": 511, + "column": 14 }, "identifierName": "di" }, @@ -31884,16 +31764,16 @@ }, { "type": "Identifier", - "start": 10708, - "end": 10710, + "start": 9959, + "end": 9961, "loc": { "start": { - "line": 525, - "column": 19 + "line": 511, + "column": 16 }, "end": { - "line": 525, - "column": 21 + "line": 511, + "column": 18 }, "identifierName": "dj" }, @@ -31903,30 +31783,30 @@ }, "init": { "type": "CallExpression", - "start": 10715, - "end": 10777, + "start": 9965, + "end": 10019, "loc": { "start": { - "line": 525, - "column": 26 + "line": 511, + "column": 22 }, "end": { - "line": 525, - "column": 88 + "line": 511, + "column": 76 } }, "callee": { "type": "Identifier", - "start": 10715, - "end": 10734, + "start": 9965, + "end": 9984, "loc": { "start": { - "line": 525, - "column": 26 + "line": 511, + "column": 22 }, "end": { - "line": 525, - "column": 45 + "line": 511, + "column": 41 }, "identifierName": "euclidean_algorithm" }, @@ -31935,16 +31815,16 @@ "arguments": [ { "type": "Identifier", - "start": 10736, - "end": 10737, + "start": 9985, + "end": 9986, "loc": { "start": { - "line": 525, - "column": 47 + "line": 511, + "column": 42 }, "end": { - "line": 525, - "column": 48 + "line": 511, + "column": 43 }, "identifierName": "r" }, @@ -31952,16 +31832,16 @@ }, { "type": "Identifier", - "start": 10740, - "end": 10741, + "start": 9988, + "end": 9989, "loc": { "start": { - "line": 525, - "column": 51 + "line": 511, + "column": 45 }, "end": { - "line": 525, - "column": 52 + "line": 511, + "column": 46 }, "identifierName": "a" }, @@ -31969,16 +31849,16 @@ }, { "type": "NumericLiteral", - "start": 10744, - "end": 10745, + "start": 9991, + "end": 9992, "loc": { "start": { - "line": 525, - "column": 55 + "line": 511, + "column": 48 }, "end": { - "line": 525, - "column": 56 + "line": 511, + "column": 49 } }, "extra": { @@ -31989,30 +31869,30 @@ }, { "type": "MemberExpression", - "start": 10748, - "end": 10756, + "start": 9994, + "end": 10002, "loc": { "start": { - "line": 525, - "column": 59 + "line": 511, + "column": 51 }, "end": { - "line": 525, - "column": 67 + "line": 511, + "column": 59 } }, "object": { "type": "Identifier", - "start": 10748, - "end": 10749, + "start": 9994, + "end": 9995, "loc": { "start": { - "line": 525, - "column": 59 + "line": 511, + "column": 51 }, "end": { - "line": 525, - "column": 60 + "line": 511, + "column": 52 }, "identifierName": "a" }, @@ -32020,16 +31900,16 @@ }, "property": { "type": "Identifier", - "start": 10750, - "end": 10756, + "start": 9996, + "end": 10002, "loc": { "start": { - "line": 525, - "column": 61 + "line": 511, + "column": 53 }, "end": { - "line": 525, - "column": 67 + "line": 511, + "column": 59 }, "identifierName": "length" }, @@ -32039,16 +31919,16 @@ }, { "type": "Identifier", - "start": 10759, - "end": 10760, + "start": 10004, + "end": 10005, "loc": { "start": { - "line": 525, - "column": 70 + "line": 511, + "column": 61 }, "end": { - "line": 525, - "column": 71 + "line": 511, + "column": 62 }, "identifierName": "b" }, @@ -32056,16 +31936,16 @@ }, { "type": "NumericLiteral", - "start": 10763, - "end": 10764, + "start": 10007, + "end": 10008, "loc": { "start": { - "line": 525, - "column": 74 + "line": 511, + "column": 64 }, "end": { - "line": 525, - "column": 75 + "line": 511, + "column": 65 } }, "extra": { @@ -32076,30 +31956,30 @@ }, { "type": "MemberExpression", - "start": 10767, - "end": 10775, + "start": 10010, + "end": 10018, "loc": { "start": { - "line": 525, - "column": 78 + "line": 511, + "column": 67 }, "end": { - "line": 525, - "column": 86 + "line": 511, + "column": 75 } }, "object": { "type": "Identifier", - "start": 10767, - "end": 10768, + "start": 10010, + "end": 10011, "loc": { "start": { - "line": 525, - "column": 78 + "line": 511, + "column": 67 }, "end": { - "line": 525, - "column": 79 + "line": 511, + "column": 68 }, "identifierName": "b" }, @@ -32107,16 +31987,16 @@ }, "property": { "type": "Identifier", - "start": 10769, - "end": 10775, + "start": 10012, + "end": 10018, "loc": { "start": { - "line": 525, - "column": 80 + "line": 511, + "column": 69 }, "end": { - "line": 525, - "column": 86 + "line": 511, + "column": 75 }, "identifierName": "length" }, @@ -32132,44 +32012,44 @@ }, { "type": "VariableDeclaration", - "start": 10782, - "end": 10813, + "start": 10023, + "end": 10051, "loc": { "start": { - "line": 526, + "line": 512, "column": 2 }, "end": { - "line": 526, - "column": 33 + "line": 512, + "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 10788, - "end": 10811, + "start": 10029, + "end": 10050, "loc": { "start": { - "line": 526, + "line": 512, "column": 8 }, "end": { - "line": 526, - "column": 31 + "line": 512, + "column": 29 } }, "id": { "type": "Identifier", - "start": 10788, - "end": 10791, + "start": 10029, + "end": 10032, "loc": { "start": { - "line": 526, + "line": 512, "column": 8 }, "end": { - "line": 526, + "line": 512, "column": 11 }, "identifierName": "gcd" @@ -32178,29 +32058,29 @@ }, "init": { "type": "CallExpression", - "start": 10794, - "end": 10811, + "start": 10035, + "end": 10050, "loc": { "start": { - "line": 526, + "line": 512, "column": 14 }, "end": { - "line": 526, - "column": 31 + "line": 512, + "column": 29 } }, "callee": { "type": "Identifier", - "start": 10794, - "end": 10800, + "start": 10035, + "end": 10041, "loc": { "start": { - "line": 526, + "line": 512, "column": 14 }, "end": { - "line": 526, + "line": 512, "column": 20 }, "identifierName": "_alloc" @@ -32210,30 +32090,30 @@ "arguments": [ { "type": "BinaryExpression", - "start": 10802, - "end": 10809, + "start": 10042, + "end": 10049, "loc": { "start": { - "line": 526, - "column": 22 + "line": 512, + "column": 21 }, "end": { - "line": 526, - "column": 29 + "line": 512, + "column": 28 } }, "left": { "type": "Identifier", - "start": 10802, - "end": 10804, + "start": 10042, + "end": 10044, "loc": { "start": { - "line": 526, - "column": 22 + "line": 512, + "column": 21 }, "end": { - "line": 526, - "column": 24 + "line": 512, + "column": 23 }, "identifierName": "dj" }, @@ -32242,16 +32122,16 @@ "operator": "-", "right": { "type": "Identifier", - "start": 10807, - "end": 10809, + "start": 10047, + "end": 10049, "loc": { "start": { - "line": 526, - "column": 27 + "line": 512, + "column": 26 }, "end": { - "line": 526, - "column": 29 + "line": 512, + "column": 28 }, "identifierName": "di" }, @@ -32266,43 +32146,43 @@ }, { "type": "ExpressionStatement", - "start": 10816, - "end": 10848, + "start": 10054, + "end": 10079, "loc": { "start": { - "line": 527, + "line": 513, "column": 2 }, "end": { - "line": 527, - "column": 34 + "line": 513, + "column": 27 } }, "expression": { "type": "CallExpression", - "start": 10816, - "end": 10846, + "start": 10054, + "end": 10078, "loc": { "start": { - "line": 527, + "line": 513, "column": 2 }, "end": { - "line": 527, - "column": 32 + "line": 513, + "column": 26 } }, "callee": { "type": "Identifier", - "start": 10816, - "end": 10821, + "start": 10054, + "end": 10059, "loc": { "start": { - "line": 527, + "line": 513, "column": 2 }, "end": { - "line": 527, + "line": 513, "column": 7 }, "identifierName": "_copy" @@ -32312,16 +32192,16 @@ "arguments": [ { "type": "Identifier", - "start": 10823, - "end": 10824, + "start": 10060, + "end": 10061, "loc": { "start": { - "line": 527, - "column": 9 + "line": 513, + "column": 8 }, "end": { - "line": 527, - "column": 10 + "line": 513, + "column": 9 }, "identifierName": "d" }, @@ -32329,16 +32209,16 @@ }, { "type": "Identifier", - "start": 10827, - "end": 10829, + "start": 10063, + "end": 10065, "loc": { "start": { - "line": 527, - "column": 13 + "line": 513, + "column": 11 }, "end": { - "line": 527, - "column": 15 + "line": 513, + "column": 13 }, "identifierName": "di" }, @@ -32346,16 +32226,16 @@ }, { "type": "Identifier", - "start": 10832, - "end": 10834, + "start": 10067, + "end": 10069, "loc": { "start": { - "line": 527, - "column": 18 + "line": 513, + "column": 15 }, "end": { - "line": 527, - "column": 20 + "line": 513, + "column": 17 }, "identifierName": "dj" }, @@ -32363,16 +32243,16 @@ }, { "type": "Identifier", - "start": 10837, - "end": 10840, + "start": 10071, + "end": 10074, "loc": { "start": { - "line": 527, - "column": 23 + "line": 513, + "column": 19 }, "end": { - "line": 527, - "column": 26 + "line": 513, + "column": 22 }, "identifierName": "gcd" }, @@ -32380,16 +32260,16 @@ }, { "type": "NumericLiteral", - "start": 10843, - "end": 10844, + "start": 10076, + "end": 10077, "loc": { "start": { - "line": 527, - "column": 29 + "line": 513, + "column": 24 }, "end": { - "line": 527, - "column": 30 + "line": 513, + "column": 25 } }, "extra": { @@ -32403,43 +32283,43 @@ }, { "type": "ReturnStatement", - "start": 10851, - "end": 10886, + "start": 10082, + "end": 10112, "loc": { "start": { - "line": 528, + "line": 514, "column": 2 }, "end": { - "line": 528, - "column": 37 + "line": 514, + "column": 32 } }, "argument": { "type": "NewExpression", - "start": 10858, - "end": 10884, + "start": 10089, + "end": 10111, "loc": { "start": { - "line": 528, + "line": 514, "column": 9 }, "end": { - "line": 528, - "column": 35 + "line": 514, + "column": 31 } }, "callee": { "type": "Identifier", - "start": 10862, - "end": 10869, + "start": 10093, + "end": 10100, "loc": { "start": { - "line": 528, + "line": 514, "column": 13 }, "end": { - "line": 528, + "line": 514, "column": 20 }, "identifierName": "Integer" @@ -32449,16 +32329,16 @@ "arguments": [ { "type": "Identifier", - "start": 10871, - "end": 10872, + "start": 10101, + "end": 10102, "loc": { "start": { - "line": 528, - "column": 22 + "line": 514, + "column": 21 }, "end": { - "line": 528, - "column": 23 + "line": 514, + "column": 22 }, "identifierName": "r" }, @@ -32466,16 +32346,16 @@ }, { "type": "NumericLiteral", - "start": 10875, - "end": 10876, + "start": 10104, + "end": 10105, "loc": { "start": { - "line": 528, - "column": 26 + "line": 514, + "column": 24 }, "end": { - "line": 528, - "column": 27 + "line": 514, + "column": 25 } }, "extra": { @@ -32486,16 +32366,16 @@ }, { "type": "Identifier", - "start": 10879, - "end": 10882, + "start": 10107, + "end": 10110, "loc": { "start": { - "line": 528, - "column": 30 + "line": 514, + "column": 27 }, "end": { - "line": 528, - "column": 33 + "line": 514, + "column": 30 }, "identifierName": "gcd" }, @@ -32510,15 +32390,15 @@ }, { "type": "ClassMethod", - "start": 10892, - "end": 12032, + "start": 10118, + "end": 11292, "loc": { "start": { - "line": 531, + "line": 517, "column": 1 }, "end": { - "line": 553, + "line": 564, "column": 2 } }, @@ -32526,15 +32406,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10892, - "end": 10896, + "start": 10118, + "end": 10122, "loc": { "start": { - "line": 531, + "line": 517, "column": 1 }, "end": { - "line": 531, + "line": 517, "column": 5 }, "identifierName": "egcd" @@ -32549,16 +32429,16 @@ "params": [ { "type": "Identifier", - "start": 10899, - "end": 10904, + "start": 10123, + "end": 10128, "loc": { "start": { - "line": 531, - "column": 8 + "line": 517, + "column": 6 }, "end": { - "line": 531, - "column": 13 + "line": 517, + "column": 11 }, "identifierName": "other" }, @@ -32567,59 +32447,59 @@ ], "body": { "type": "BlockStatement", - "start": 10907, - "end": 12032, + "start": 10130, + "end": 11292, "loc": { "start": { - "line": 531, - "column": 16 + "line": 517, + "column": 13 }, "end": { - "line": 553, + "line": 564, "column": 2 } }, "body": [ { "type": "VariableDeclaration", - "start": 10911, - "end": 10932, + "start": 10134, + "end": 10155, "loc": { "start": { - "line": 532, + "line": 518, "column": 2 }, "end": { - "line": 532, + "line": 518, "column": 23 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 10917, - "end": 10930, + "start": 10140, + "end": 10154, "loc": { "start": { - "line": 532, + "line": 518, "column": 8 }, "end": { - "line": 532, - "column": 21 + "line": 518, + "column": 22 } }, "id": { "type": "Identifier", - "start": 10917, - "end": 10918, + "start": 10140, + "end": 10141, "loc": { "start": { - "line": 532, + "line": 518, "column": 8 }, "end": { - "line": 532, + "line": 518, "column": 9 }, "identifierName": "r" @@ -32628,49 +32508,49 @@ }, "init": { "type": "MemberExpression", - "start": 10921, - "end": 10930, + "start": 10144, + "end": 10154, "loc": { "start": { - "line": 532, + "line": 518, "column": 12 }, "end": { - "line": 532, - "column": 21 + "line": 518, + "column": 22 } }, "object": { "type": "ThisExpression", - "start": 10921, - "end": 10925, + "start": 10144, + "end": 10148, "loc": { "start": { - "line": 532, + "line": 518, "column": 12 }, "end": { - "line": 532, + "line": 518, "column": 16 } } }, "property": { "type": "Identifier", - "start": 10926, - "end": 10930, + "start": 10149, + "end": 10154, "loc": { "start": { - "line": 532, + "line": 518, "column": 17 }, "end": { - "line": 532, - "column": 21 + "line": 518, + "column": 22 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false } @@ -32680,44 +32560,44 @@ }, { "type": "VariableDeclaration", - "start": 10935, - "end": 10957, + "start": 10158, + "end": 10180, "loc": { "start": { - "line": 533, + "line": 519, "column": 2 }, "end": { - "line": 533, + "line": 519, "column": 24 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 10941, - "end": 10955, + "start": 10164, + "end": 10179, "loc": { "start": { - "line": 533, + "line": 519, "column": 8 }, "end": { - "line": 533, - "column": 22 + "line": 519, + "column": 23 } }, "id": { "type": "Identifier", - "start": 10941, - "end": 10942, + "start": 10164, + "end": 10165, "loc": { "start": { - "line": 533, + "line": 519, "column": 8 }, "end": { - "line": 533, + "line": 519, "column": 9 }, "identifierName": "a" @@ -32726,49 +32606,49 @@ }, "init": { "type": "MemberExpression", - "start": 10945, - "end": 10955, + "start": 10168, + "end": 10179, "loc": { "start": { - "line": 533, + "line": 519, "column": 12 }, "end": { - "line": 533, - "column": 22 + "line": 519, + "column": 23 } }, "object": { "type": "ThisExpression", - "start": 10945, - "end": 10949, + "start": 10168, + "end": 10172, "loc": { "start": { - "line": 533, + "line": 519, "column": 12 }, "end": { - "line": 533, + "line": 519, "column": 16 } } }, "property": { "type": "Identifier", - "start": 10950, - "end": 10955, + "start": 10173, + "end": 10179, "loc": { "start": { - "line": 533, + "line": 519, "column": 17 }, "end": { - "line": 533, - "column": 22 + "line": 519, + "column": 23 }, - "identifierName": "limbs" + "identifierName": "_limbs" }, - "name": "limbs" + "name": "_limbs" }, "computed": false } @@ -32778,44 +32658,44 @@ }, { "type": "VariableDeclaration", - "start": 10960, - "end": 10997, + "start": 10183, + "end": 10217, "loc": { "start": { - "line": 534, + "line": 520, "column": 2 }, "end": { - "line": 534, - "column": 39 + "line": 520, + "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 10966, - "end": 10995, + "start": 10189, + "end": 10216, "loc": { "start": { - "line": 534, + "line": 520, "column": 8 }, "end": { - "line": 534, - "column": 37 + "line": 520, + "column": 35 } }, "id": { "type": "Identifier", - "start": 10966, - "end": 10967, + "start": 10189, + "end": 10190, "loc": { "start": { - "line": 534, + "line": 520, "column": 8 }, "end": { - "line": 534, + "line": 520, "column": 9 }, "identifierName": "b" @@ -32824,43 +32704,43 @@ }, "init": { "type": "CallExpression", - "start": 10970, - "end": 10995, + "start": 10193, + "end": 10216, "loc": { "start": { - "line": 534, + "line": 520, "column": 12 }, "end": { - "line": 534, - "column": 37 + "line": 520, + "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 10970, - "end": 10990, + "start": 10193, + "end": 10213, "loc": { "start": { - "line": 534, + "line": 520, "column": 12 }, "end": { - "line": 534, + "line": 520, "column": 32 } }, "object": { "type": "Identifier", - "start": 10970, - "end": 10975, + "start": 10193, + "end": 10198, "loc": { "start": { - "line": 534, + "line": 520, "column": 12 }, "end": { - "line": 534, + "line": 520, "column": 17 }, "identifierName": "other" @@ -32869,15 +32749,15 @@ }, "property": { "type": "Identifier", - "start": 10976, - "end": 10990, + "start": 10199, + "end": 10213, "loc": { "start": { - "line": 534, + "line": 520, "column": 18 }, "end": { - "line": 534, + "line": 520, "column": 32 }, "identifierName": "_limbs_in_base" @@ -32889,16 +32769,16 @@ "arguments": [ { "type": "Identifier", - "start": 10992, - "end": 10993, + "start": 10214, + "end": 10215, "loc": { "start": { - "line": 534, - "column": 34 + "line": 520, + "column": 33 }, "end": { - "line": 534, - "column": 35 + "line": 520, + "column": 34 }, "identifierName": "r" }, @@ -32912,60 +32792,60 @@ }, { "type": "VariableDeclaration", - "start": 11000, - "end": 11146, + "start": 10220, + "end": 10383, "loc": { "start": { - "line": 535, + "line": 521, "column": 2 }, "end": { - "line": 535, - "column": 148 + "line": 533, + "column": 70 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11006, - "end": 11144, + "start": 10226, + "end": 10382, "loc": { "start": { - "line": 535, + "line": 521, "column": 8 }, "end": { - "line": 535, - "column": 146 + "line": 533, + "column": 69 } }, "id": { "type": "ArrayPattern", - "start": 11006, - "end": 11070, + "start": 10226, + "end": 10316, "loc": { "start": { - "line": 535, + "line": 521, "column": 8 }, "end": { - "line": 535, - "column": 72 + "line": 533, + "column": 3 } }, "elements": [ { "type": "Identifier", - "start": 11008, - "end": 11010, + "start": 10231, + "end": 10233, "loc": { "start": { - "line": 535, - "column": 10 + "line": 522, + "column": 3 }, "end": { - "line": 535, - "column": 12 + "line": 522, + "column": 5 }, "identifierName": "R0" }, @@ -32973,16 +32853,16 @@ }, { "type": "Identifier", - "start": 11013, - "end": 11016, + "start": 10238, + "end": 10241, "loc": { "start": { - "line": 535, - "column": 15 + "line": 523, + "column": 3 }, "end": { - "line": 535, - "column": 18 + "line": 523, + "column": 6 }, "identifierName": "R0i" }, @@ -32990,16 +32870,16 @@ }, { "type": "Identifier", - "start": 11019, - "end": 11021, + "start": 10246, + "end": 10248, "loc": { "start": { - "line": 535, - "column": 21 + "line": 524, + "column": 3 }, "end": { - "line": 535, - "column": 23 + "line": 524, + "column": 5 }, "identifierName": "S0" }, @@ -33007,16 +32887,16 @@ }, { "type": "Identifier", - "start": 11024, - "end": 11027, + "start": 10253, + "end": 10256, "loc": { "start": { - "line": 535, - "column": 26 + "line": 525, + "column": 3 }, "end": { - "line": 535, - "column": 29 + "line": 525, + "column": 6 }, "identifierName": "S0i" }, @@ -33024,16 +32904,16 @@ }, { "type": "Identifier", - "start": 11030, - "end": 11032, + "start": 10261, + "end": 10263, "loc": { "start": { - "line": 535, - "column": 32 + "line": 526, + "column": 3 }, "end": { - "line": 535, - "column": 34 + "line": 526, + "column": 5 }, "identifierName": "T0" }, @@ -33041,16 +32921,16 @@ }, { "type": "Identifier", - "start": 11035, - "end": 11038, + "start": 10268, + "end": 10271, "loc": { "start": { - "line": 535, - "column": 37 + "line": 527, + "column": 3 }, "end": { - "line": 535, - "column": 40 + "line": 527, + "column": 6 }, "identifierName": "T0i" }, @@ -33058,16 +32938,16 @@ }, { "type": "Identifier", - "start": 11041, - "end": 11043, + "start": 10276, + "end": 10278, "loc": { "start": { - "line": 535, - "column": 43 + "line": 528, + "column": 3 }, "end": { - "line": 535, - "column": 45 + "line": 528, + "column": 5 }, "identifierName": "S1" }, @@ -33075,16 +32955,16 @@ }, { "type": "Identifier", - "start": 11046, - "end": 11049, + "start": 10283, + "end": 10286, "loc": { "start": { - "line": 535, - "column": 48 + "line": 529, + "column": 3 }, "end": { - "line": 535, - "column": 51 + "line": 529, + "column": 6 }, "identifierName": "S1i" }, @@ -33092,16 +32972,16 @@ }, { "type": "Identifier", - "start": 11052, - "end": 11054, + "start": 10291, + "end": 10293, "loc": { "start": { - "line": 535, - "column": 54 + "line": 530, + "column": 3 }, "end": { - "line": 535, - "column": 56 + "line": 530, + "column": 5 }, "identifierName": "T1" }, @@ -33109,16 +32989,16 @@ }, { "type": "Identifier", - "start": 11057, - "end": 11060, + "start": 10298, + "end": 10301, "loc": { "start": { - "line": 535, - "column": 59 + "line": 531, + "column": 3 }, "end": { - "line": 535, - "column": 62 + "line": 531, + "column": 6 }, "identifierName": "T1i" }, @@ -33126,16 +33006,16 @@ }, { "type": "Identifier", - "start": 11063, - "end": 11068, + "start": 10306, + "end": 10311, "loc": { "start": { - "line": 535, - "column": 65 + "line": 532, + "column": 3 }, "end": { - "line": 535, - "column": 70 + "line": 532, + "column": 8 }, "identifierName": "steps" }, @@ -33145,30 +33025,30 @@ }, "init": { "type": "CallExpression", - "start": 11073, - "end": 11144, + "start": 10319, + "end": 10382, "loc": { "start": { - "line": 535, - "column": 75 + "line": 533, + "column": 6 }, "end": { - "line": 535, - "column": 146 + "line": 533, + "column": 69 } }, "callee": { "type": "Identifier", - "start": 11073, - "end": 11101, + "start": 10319, + "end": 10347, "loc": { "start": { - "line": 535, - "column": 75 + "line": 533, + "column": 6 }, "end": { - "line": 535, - "column": 103 + "line": 533, + "column": 34 }, "identifierName": "extended_euclidean_algorithm" }, @@ -33177,16 +33057,16 @@ "arguments": [ { "type": "Identifier", - "start": 11103, - "end": 11104, + "start": 10348, + "end": 10349, "loc": { "start": { - "line": 535, - "column": 105 + "line": 533, + "column": 35 }, "end": { - "line": 535, - "column": 106 + "line": 533, + "column": 36 }, "identifierName": "r" }, @@ -33194,16 +33074,16 @@ }, { "type": "Identifier", - "start": 11107, - "end": 11108, + "start": 10351, + "end": 10352, "loc": { "start": { - "line": 535, - "column": 109 + "line": 533, + "column": 38 }, "end": { - "line": 535, - "column": 110 + "line": 533, + "column": 39 }, "identifierName": "a" }, @@ -33211,16 +33091,16 @@ }, { "type": "NumericLiteral", - "start": 11111, - "end": 11112, + "start": 10354, + "end": 10355, "loc": { "start": { - "line": 535, - "column": 113 + "line": 533, + "column": 41 }, "end": { - "line": 535, - "column": 114 + "line": 533, + "column": 42 } }, "extra": { @@ -33231,30 +33111,30 @@ }, { "type": "MemberExpression", - "start": 11115, - "end": 11123, + "start": 10357, + "end": 10365, "loc": { "start": { - "line": 535, - "column": 117 + "line": 533, + "column": 44 }, "end": { - "line": 535, - "column": 125 + "line": 533, + "column": 52 } }, "object": { "type": "Identifier", - "start": 11115, - "end": 11116, + "start": 10357, + "end": 10358, "loc": { "start": { - "line": 535, - "column": 117 + "line": 533, + "column": 44 }, "end": { - "line": 535, - "column": 118 + "line": 533, + "column": 45 }, "identifierName": "a" }, @@ -33262,16 +33142,16 @@ }, "property": { "type": "Identifier", - "start": 11117, - "end": 11123, + "start": 10359, + "end": 10365, "loc": { "start": { - "line": 535, - "column": 119 + "line": 533, + "column": 46 }, "end": { - "line": 535, - "column": 125 + "line": 533, + "column": 52 }, "identifierName": "length" }, @@ -33281,16 +33161,16 @@ }, { "type": "Identifier", - "start": 11126, - "end": 11127, + "start": 10367, + "end": 10368, "loc": { "start": { - "line": 535, - "column": 128 + "line": 533, + "column": 54 }, "end": { - "line": 535, - "column": 129 + "line": 533, + "column": 55 }, "identifierName": "b" }, @@ -33298,16 +33178,16 @@ }, { "type": "NumericLiteral", - "start": 11130, - "end": 11131, + "start": 10370, + "end": 10371, "loc": { "start": { - "line": 535, - "column": 132 + "line": 533, + "column": 57 }, "end": { - "line": 535, - "column": 133 + "line": 533, + "column": 58 } }, "extra": { @@ -33318,30 +33198,30 @@ }, { "type": "MemberExpression", - "start": 11134, - "end": 11142, + "start": 10373, + "end": 10381, "loc": { "start": { - "line": 535, - "column": 136 + "line": 533, + "column": 60 }, "end": { - "line": 535, - "column": 144 + "line": 533, + "column": 68 } }, "object": { "type": "Identifier", - "start": 11134, - "end": 11135, + "start": 10373, + "end": 10374, "loc": { "start": { - "line": 535, - "column": 136 + "line": 533, + "column": 60 }, "end": { - "line": 535, - "column": 137 + "line": 533, + "column": 61 }, "identifierName": "b" }, @@ -33349,16 +33229,16 @@ }, "property": { "type": "Identifier", - "start": 11136, - "end": 11142, + "start": 10375, + "end": 10381, "loc": { "start": { - "line": 535, - "column": 138 + "line": 533, + "column": 62 }, "end": { - "line": 535, - "column": 144 + "line": 533, + "column": 68 }, "identifierName": "length" }, @@ -33374,44 +33254,44 @@ }, { "type": "VariableDeclaration", - "start": 11149, - "end": 11188, + "start": 10386, + "end": 10422, "loc": { "start": { - "line": 536, + "line": 534, "column": 2 }, "end": { - "line": 536, - "column": 41 + "line": 534, + "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11155, - "end": 11186, + "start": 10392, + "end": 10421, "loc": { "start": { - "line": 536, + "line": 534, "column": 8 }, "end": { - "line": 536, - "column": 39 + "line": 534, + "column": 37 } }, "id": { "type": "Identifier", - "start": 11155, - "end": 11158, + "start": 10392, + "end": 10395, "loc": { "start": { - "line": 536, + "line": 534, "column": 8 }, "end": { - "line": 536, + "line": 534, "column": 11 }, "identifierName": "gcd" @@ -33420,29 +33300,29 @@ }, "init": { "type": "CallExpression", - "start": 11161, - "end": 11186, + "start": 10398, + "end": 10421, "loc": { "start": { - "line": 536, + "line": 534, "column": 14 }, "end": { - "line": 536, - "column": 39 + "line": 534, + "column": 37 } }, "callee": { "type": "Identifier", - "start": 11161, - "end": 11167, + "start": 10398, + "end": 10404, "loc": { "start": { - "line": 536, + "line": 534, "column": 14 }, "end": { - "line": 536, + "line": 534, "column": 20 }, "identifierName": "_alloc" @@ -33452,44 +33332,44 @@ "arguments": [ { "type": "BinaryExpression", - "start": 11169, - "end": 11184, + "start": 10405, + "end": 10420, "loc": { "start": { - "line": 536, - "column": 22 + "line": 534, + "column": 21 }, "end": { - "line": 536, - "column": 37 + "line": 534, + "column": 36 } }, "left": { "type": "MemberExpression", - "start": 11169, - "end": 11178, + "start": 10405, + "end": 10414, "loc": { "start": { - "line": 536, - "column": 22 + "line": 534, + "column": 21 }, "end": { - "line": 536, - "column": 31 + "line": 534, + "column": 30 } }, "object": { "type": "Identifier", - "start": 11169, - "end": 11171, + "start": 10405, + "end": 10407, "loc": { "start": { - "line": 536, - "column": 22 + "line": 534, + "column": 21 }, "end": { - "line": 536, - "column": 24 + "line": 534, + "column": 23 }, "identifierName": "R0" }, @@ -33497,16 +33377,16 @@ }, "property": { "type": "Identifier", - "start": 11172, - "end": 11178, + "start": 10408, + "end": 10414, "loc": { "start": { - "line": 536, - "column": 25 + "line": 534, + "column": 24 }, "end": { - "line": 536, - "column": 31 + "line": 534, + "column": 30 }, "identifierName": "length" }, @@ -33517,16 +33397,16 @@ "operator": "-", "right": { "type": "Identifier", - "start": 11181, - "end": 11184, + "start": 10417, + "end": 10420, "loc": { "start": { - "line": 536, - "column": 34 + "line": 534, + "column": 33 }, "end": { - "line": 536, - "column": 37 + "line": 534, + "column": 36 }, "identifierName": "R0i" }, @@ -33541,43 +33421,43 @@ }, { "type": "ExpressionStatement", - "start": 11191, - "end": 11232, + "start": 10425, + "end": 10459, "loc": { "start": { - "line": 537, + "line": 535, "column": 2 }, "end": { - "line": 537, - "column": 43 + "line": 535, + "column": 36 } }, "expression": { "type": "CallExpression", - "start": 11191, - "end": 11230, + "start": 10425, + "end": 10458, "loc": { "start": { - "line": 537, + "line": 535, "column": 2 }, "end": { - "line": 537, - "column": 41 + "line": 535, + "column": 35 } }, "callee": { "type": "Identifier", - "start": 11191, - "end": 11196, + "start": 10425, + "end": 10430, "loc": { "start": { - "line": 537, + "line": 535, "column": 2 }, "end": { - "line": 537, + "line": 535, "column": 7 }, "identifierName": "_copy" @@ -33587,16 +33467,16 @@ "arguments": [ { "type": "Identifier", - "start": 11198, - "end": 11200, + "start": 10431, + "end": 10433, "loc": { "start": { - "line": 537, - "column": 9 + "line": 535, + "column": 8 }, "end": { - "line": 537, - "column": 11 + "line": 535, + "column": 10 }, "identifierName": "R0" }, @@ -33604,16 +33484,16 @@ }, { "type": "Identifier", - "start": 11203, - "end": 11206, + "start": 10435, + "end": 10438, "loc": { "start": { - "line": 537, - "column": 14 + "line": 535, + "column": 12 }, "end": { - "line": 537, - "column": 17 + "line": 535, + "column": 15 }, "identifierName": "R0i" }, @@ -33621,30 +33501,30 @@ }, { "type": "MemberExpression", - "start": 11209, - "end": 11218, + "start": 10440, + "end": 10449, "loc": { "start": { - "line": 537, - "column": 20 + "line": 535, + "column": 17 }, "end": { - "line": 537, - "column": 29 + "line": 535, + "column": 26 } }, "object": { "type": "Identifier", - "start": 11209, - "end": 11211, + "start": 10440, + "end": 10442, "loc": { "start": { - "line": 537, - "column": 20 + "line": 535, + "column": 17 }, "end": { - "line": 537, - "column": 22 + "line": 535, + "column": 19 }, "identifierName": "R0" }, @@ -33652,16 +33532,16 @@ }, "property": { "type": "Identifier", - "start": 11212, - "end": 11218, + "start": 10443, + "end": 10449, "loc": { "start": { - "line": 537, - "column": 23 + "line": 535, + "column": 20 }, "end": { - "line": 537, - "column": 29 + "line": 535, + "column": 26 }, "identifierName": "length" }, @@ -33671,16 +33551,16 @@ }, { "type": "Identifier", - "start": 11221, - "end": 11224, + "start": 10451, + "end": 10454, "loc": { "start": { - "line": 537, - "column": 32 + "line": 535, + "column": 28 }, "end": { - "line": 537, - "column": 35 + "line": 535, + "column": 31 }, "identifierName": "gcd" }, @@ -33688,16 +33568,16 @@ }, { "type": "NumericLiteral", - "start": 11227, - "end": 11228, + "start": 10456, + "end": 10457, "loc": { "start": { - "line": 537, - "column": 38 + "line": 535, + "column": 33 }, "end": { - "line": 537, - "column": 39 + "line": 535, + "column": 34 } }, "extra": { @@ -33711,44 +33591,44 @@ }, { "type": "VariableDeclaration", - "start": 11235, - "end": 11272, + "start": 10462, + "end": 10496, "loc": { "start": { - "line": 538, + "line": 536, "column": 2 }, "end": { - "line": 538, - "column": 39 + "line": 536, + "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11241, - "end": 11270, + "start": 10468, + "end": 10495, "loc": { "start": { - "line": 538, + "line": 536, "column": 8 }, "end": { - "line": 538, - "column": 37 + "line": 536, + "column": 35 } }, "id": { "type": "Identifier", - "start": 11241, - "end": 11242, + "start": 10468, + "end": 10469, "loc": { "start": { - "line": 538, + "line": 536, "column": 8 }, "end": { - "line": 538, + "line": 536, "column": 9 }, "identifierName": "x" @@ -33757,29 +33637,29 @@ }, "init": { "type": "CallExpression", - "start": 11245, - "end": 11270, + "start": 10472, + "end": 10495, "loc": { "start": { - "line": 538, + "line": 536, "column": 12 }, "end": { - "line": 538, - "column": 37 + "line": 536, + "column": 35 } }, "callee": { "type": "Identifier", - "start": 11245, - "end": 11251, + "start": 10472, + "end": 10478, "loc": { "start": { - "line": 538, + "line": 536, "column": 12 }, "end": { - "line": 538, + "line": 536, "column": 18 }, "identifierName": "_alloc" @@ -33789,44 +33669,44 @@ "arguments": [ { "type": "BinaryExpression", - "start": 11253, - "end": 11268, + "start": 10479, + "end": 10494, "loc": { "start": { - "line": 538, - "column": 20 + "line": 536, + "column": 19 }, "end": { - "line": 538, - "column": 35 + "line": 536, + "column": 34 } }, "left": { "type": "MemberExpression", - "start": 11253, - "end": 11262, + "start": 10479, + "end": 10488, "loc": { "start": { - "line": 538, - "column": 20 + "line": 536, + "column": 19 }, "end": { - "line": 538, - "column": 29 + "line": 536, + "column": 28 } }, "object": { "type": "Identifier", - "start": 11253, - "end": 11255, + "start": 10479, + "end": 10481, "loc": { "start": { - "line": 538, - "column": 20 + "line": 536, + "column": 19 }, "end": { - "line": 538, - "column": 22 + "line": 536, + "column": 21 }, "identifierName": "S0" }, @@ -33834,16 +33714,16 @@ }, "property": { "type": "Identifier", - "start": 11256, - "end": 11262, + "start": 10482, + "end": 10488, "loc": { "start": { - "line": 538, - "column": 23 + "line": 536, + "column": 22 }, "end": { - "line": 538, - "column": 29 + "line": 536, + "column": 28 }, "identifierName": "length" }, @@ -33854,16 +33734,16 @@ "operator": "-", "right": { "type": "Identifier", - "start": 11265, - "end": 11268, + "start": 10491, + "end": 10494, "loc": { "start": { - "line": 538, - "column": 32 + "line": 536, + "column": 31 }, "end": { - "line": 538, - "column": 35 + "line": 536, + "column": 34 }, "identifierName": "S0i" }, @@ -33878,43 +33758,43 @@ }, { "type": "ExpressionStatement", - "start": 11275, - "end": 11314, + "start": 10499, + "end": 10531, "loc": { "start": { - "line": 539, + "line": 537, "column": 2 }, "end": { - "line": 539, - "column": 41 + "line": 537, + "column": 34 } }, "expression": { "type": "CallExpression", - "start": 11275, - "end": 11312, + "start": 10499, + "end": 10530, "loc": { "start": { - "line": 539, + "line": 537, "column": 2 }, "end": { - "line": 539, - "column": 39 + "line": 537, + "column": 33 } }, "callee": { "type": "Identifier", - "start": 11275, - "end": 11280, + "start": 10499, + "end": 10504, "loc": { "start": { - "line": 539, + "line": 537, "column": 2 }, "end": { - "line": 539, + "line": 537, "column": 7 }, "identifierName": "_copy" @@ -33924,16 +33804,16 @@ "arguments": [ { "type": "Identifier", - "start": 11282, - "end": 11284, + "start": 10505, + "end": 10507, "loc": { "start": { - "line": 539, - "column": 9 + "line": 537, + "column": 8 }, "end": { - "line": 539, - "column": 11 + "line": 537, + "column": 10 }, "identifierName": "S0" }, @@ -33941,16 +33821,16 @@ }, { "type": "Identifier", - "start": 11287, - "end": 11290, + "start": 10509, + "end": 10512, "loc": { "start": { - "line": 539, - "column": 14 + "line": 537, + "column": 12 }, "end": { - "line": 539, - "column": 17 + "line": 537, + "column": 15 }, "identifierName": "S0i" }, @@ -33958,30 +33838,30 @@ }, { "type": "MemberExpression", - "start": 11293, - "end": 11302, + "start": 10514, + "end": 10523, "loc": { "start": { - "line": 539, - "column": 20 + "line": 537, + "column": 17 }, "end": { - "line": 539, - "column": 29 + "line": 537, + "column": 26 } }, "object": { "type": "Identifier", - "start": 11293, - "end": 11295, + "start": 10514, + "end": 10516, "loc": { "start": { - "line": 539, - "column": 20 + "line": 537, + "column": 17 }, "end": { - "line": 539, - "column": 22 + "line": 537, + "column": 19 }, "identifierName": "S0" }, @@ -33989,16 +33869,16 @@ }, "property": { "type": "Identifier", - "start": 11296, - "end": 11302, + "start": 10517, + "end": 10523, "loc": { "start": { - "line": 539, - "column": 23 + "line": 537, + "column": 20 }, "end": { - "line": 539, - "column": 29 + "line": 537, + "column": 26 }, "identifierName": "length" }, @@ -34008,16 +33888,16 @@ }, { "type": "Identifier", - "start": 11305, - "end": 11306, + "start": 10525, + "end": 10526, "loc": { "start": { - "line": 539, - "column": 32 + "line": 537, + "column": 28 }, "end": { - "line": 539, - "column": 33 + "line": 537, + "column": 29 }, "identifierName": "x" }, @@ -34025,16 +33905,16 @@ }, { "type": "NumericLiteral", - "start": 11309, - "end": 11310, + "start": 10528, + "end": 10529, "loc": { "start": { - "line": 539, - "column": 36 + "line": 537, + "column": 31 }, "end": { - "line": 539, - "column": 37 + "line": 537, + "column": 32 } }, "extra": { @@ -34048,44 +33928,44 @@ }, { "type": "VariableDeclaration", - "start": 11317, - "end": 11354, + "start": 10534, + "end": 10568, "loc": { "start": { - "line": 540, + "line": 538, "column": 2 }, "end": { - "line": 540, - "column": 39 + "line": 538, + "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11323, - "end": 11352, + "start": 10540, + "end": 10567, "loc": { "start": { - "line": 540, + "line": 538, "column": 8 }, "end": { - "line": 540, - "column": 37 + "line": 538, + "column": 35 } }, "id": { "type": "Identifier", - "start": 11323, - "end": 11324, + "start": 10540, + "end": 10541, "loc": { "start": { - "line": 540, + "line": 538, "column": 8 }, "end": { - "line": 540, + "line": 538, "column": 9 }, "identifierName": "y" @@ -34094,29 +33974,29 @@ }, "init": { "type": "CallExpression", - "start": 11327, - "end": 11352, + "start": 10544, + "end": 10567, "loc": { "start": { - "line": 540, + "line": 538, "column": 12 }, "end": { - "line": 540, - "column": 37 + "line": 538, + "column": 35 } }, "callee": { "type": "Identifier", - "start": 11327, - "end": 11333, + "start": 10544, + "end": 10550, "loc": { "start": { - "line": 540, + "line": 538, "column": 12 }, "end": { - "line": 540, + "line": 538, "column": 18 }, "identifierName": "_alloc" @@ -34126,44 +34006,44 @@ "arguments": [ { "type": "BinaryExpression", - "start": 11335, - "end": 11350, + "start": 10551, + "end": 10566, "loc": { "start": { - "line": 540, - "column": 20 + "line": 538, + "column": 19 }, "end": { - "line": 540, - "column": 35 + "line": 538, + "column": 34 } }, "left": { "type": "MemberExpression", - "start": 11335, - "end": 11344, + "start": 10551, + "end": 10560, "loc": { "start": { - "line": 540, - "column": 20 + "line": 538, + "column": 19 }, "end": { - "line": 540, - "column": 29 + "line": 538, + "column": 28 } }, "object": { "type": "Identifier", - "start": 11335, - "end": 11337, + "start": 10551, + "end": 10553, "loc": { "start": { - "line": 540, - "column": 20 + "line": 538, + "column": 19 }, "end": { - "line": 540, - "column": 22 + "line": 538, + "column": 21 }, "identifierName": "T0" }, @@ -34171,16 +34051,16 @@ }, "property": { "type": "Identifier", - "start": 11338, - "end": 11344, + "start": 10554, + "end": 10560, "loc": { "start": { - "line": 540, - "column": 23 + "line": 538, + "column": 22 }, "end": { - "line": 540, - "column": 29 + "line": 538, + "column": 28 }, "identifierName": "length" }, @@ -34191,16 +34071,16 @@ "operator": "-", "right": { "type": "Identifier", - "start": 11347, - "end": 11350, + "start": 10563, + "end": 10566, "loc": { "start": { - "line": 540, - "column": 32 + "line": 538, + "column": 31 }, "end": { - "line": 540, - "column": 35 + "line": 538, + "column": 34 }, "identifierName": "T0i" }, @@ -34215,43 +34095,43 @@ }, { "type": "ExpressionStatement", - "start": 11357, - "end": 11396, + "start": 10571, + "end": 10603, "loc": { "start": { - "line": 541, + "line": 539, "column": 2 }, "end": { - "line": 541, - "column": 41 + "line": 539, + "column": 34 } }, "expression": { "type": "CallExpression", - "start": 11357, - "end": 11394, + "start": 10571, + "end": 10602, "loc": { "start": { - "line": 541, + "line": 539, "column": 2 }, "end": { - "line": 541, - "column": 39 + "line": 539, + "column": 33 } }, "callee": { "type": "Identifier", - "start": 11357, - "end": 11362, + "start": 10571, + "end": 10576, "loc": { "start": { - "line": 541, + "line": 539, "column": 2 }, "end": { - "line": 541, + "line": 539, "column": 7 }, "identifierName": "_copy" @@ -34261,16 +34141,16 @@ "arguments": [ { "type": "Identifier", - "start": 11364, - "end": 11366, + "start": 10577, + "end": 10579, "loc": { "start": { - "line": 541, - "column": 9 + "line": 539, + "column": 8 }, "end": { - "line": 541, - "column": 11 + "line": 539, + "column": 10 }, "identifierName": "T0" }, @@ -34278,16 +34158,16 @@ }, { "type": "Identifier", - "start": 11369, - "end": 11372, + "start": 10581, + "end": 10584, "loc": { "start": { - "line": 541, - "column": 14 + "line": 539, + "column": 12 }, "end": { - "line": 541, - "column": 17 + "line": 539, + "column": 15 }, "identifierName": "T0i" }, @@ -34295,30 +34175,30 @@ }, { "type": "MemberExpression", - "start": 11375, - "end": 11384, + "start": 10586, + "end": 10595, "loc": { "start": { - "line": 541, - "column": 20 + "line": 539, + "column": 17 }, "end": { - "line": 541, - "column": 29 + "line": 539, + "column": 26 } }, "object": { "type": "Identifier", - "start": 11375, - "end": 11377, + "start": 10586, + "end": 10588, "loc": { "start": { - "line": 541, - "column": 20 + "line": 539, + "column": 17 }, "end": { - "line": 541, - "column": 22 + "line": 539, + "column": 19 }, "identifierName": "T0" }, @@ -34326,16 +34206,16 @@ }, "property": { "type": "Identifier", - "start": 11378, - "end": 11384, + "start": 10589, + "end": 10595, "loc": { "start": { - "line": 541, - "column": 23 + "line": 539, + "column": 20 }, "end": { - "line": 541, - "column": 29 + "line": 539, + "column": 26 }, "identifierName": "length" }, @@ -34345,16 +34225,16 @@ }, { "type": "Identifier", - "start": 11387, - "end": 11388, + "start": 10597, + "end": 10598, "loc": { "start": { - "line": 541, - "column": 32 + "line": 539, + "column": 28 }, "end": { - "line": 541, - "column": 33 + "line": 539, + "column": 29 }, "identifierName": "y" }, @@ -34362,16 +34242,16 @@ }, { "type": "NumericLiteral", - "start": 11391, - "end": 11392, + "start": 10600, + "end": 10601, "loc": { "start": { - "line": 541, - "column": 36 + "line": 539, + "column": 31 }, "end": { - "line": 541, - "column": 37 + "line": 539, + "column": 32 } }, "extra": { @@ -34385,44 +34265,44 @@ }, { "type": "VariableDeclaration", - "start": 11399, - "end": 11436, + "start": 10606, + "end": 10640, "loc": { "start": { - "line": 542, + "line": 540, "column": 2 }, "end": { - "line": 542, - "column": 39 + "line": 540, + "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11405, - "end": 11434, + "start": 10612, + "end": 10639, "loc": { "start": { - "line": 542, + "line": 540, "column": 8 }, "end": { - "line": 542, - "column": 37 + "line": 540, + "column": 35 } }, "id": { "type": "Identifier", - "start": 11405, - "end": 11406, + "start": 10612, + "end": 10613, "loc": { "start": { - "line": 542, + "line": 540, "column": 8 }, "end": { - "line": 542, + "line": 540, "column": 9 }, "identifierName": "u" @@ -34431,29 +34311,29 @@ }, "init": { "type": "CallExpression", - "start": 11409, - "end": 11434, + "start": 10616, + "end": 10639, "loc": { "start": { - "line": 542, + "line": 540, "column": 12 }, "end": { - "line": 542, - "column": 37 + "line": 540, + "column": 35 } }, "callee": { "type": "Identifier", - "start": 11409, - "end": 11415, + "start": 10616, + "end": 10622, "loc": { "start": { - "line": 542, + "line": 540, "column": 12 }, "end": { - "line": 542, + "line": 540, "column": 18 }, "identifierName": "_alloc" @@ -34463,44 +34343,44 @@ "arguments": [ { "type": "BinaryExpression", - "start": 11417, - "end": 11432, + "start": 10623, + "end": 10638, "loc": { "start": { - "line": 542, - "column": 20 + "line": 540, + "column": 19 }, "end": { - "line": 542, - "column": 35 + "line": 540, + "column": 34 } }, "left": { "type": "MemberExpression", - "start": 11417, - "end": 11426, + "start": 10623, + "end": 10632, "loc": { "start": { - "line": 542, - "column": 20 + "line": 540, + "column": 19 }, "end": { - "line": 542, - "column": 29 + "line": 540, + "column": 28 } }, "object": { "type": "Identifier", - "start": 11417, - "end": 11419, + "start": 10623, + "end": 10625, "loc": { "start": { - "line": 542, - "column": 20 + "line": 540, + "column": 19 }, "end": { - "line": 542, - "column": 22 + "line": 540, + "column": 21 }, "identifierName": "S1" }, @@ -34508,16 +34388,16 @@ }, "property": { "type": "Identifier", - "start": 11420, - "end": 11426, + "start": 10626, + "end": 10632, "loc": { "start": { - "line": 542, - "column": 23 + "line": 540, + "column": 22 }, "end": { - "line": 542, - "column": 29 + "line": 540, + "column": 28 }, "identifierName": "length" }, @@ -34528,16 +34408,16 @@ "operator": "-", "right": { "type": "Identifier", - "start": 11429, - "end": 11432, + "start": 10635, + "end": 10638, "loc": { "start": { - "line": 542, - "column": 32 + "line": 540, + "column": 31 }, "end": { - "line": 542, - "column": 35 + "line": 540, + "column": 34 }, "identifierName": "S1i" }, @@ -34552,43 +34432,43 @@ }, { "type": "ExpressionStatement", - "start": 11439, - "end": 11478, + "start": 10643, + "end": 10675, "loc": { "start": { - "line": 543, + "line": 541, "column": 2 }, "end": { - "line": 543, - "column": 41 + "line": 541, + "column": 34 } }, "expression": { "type": "CallExpression", - "start": 11439, - "end": 11476, + "start": 10643, + "end": 10674, "loc": { "start": { - "line": 543, + "line": 541, "column": 2 }, "end": { - "line": 543, - "column": 39 + "line": 541, + "column": 33 } }, "callee": { "type": "Identifier", - "start": 11439, - "end": 11444, + "start": 10643, + "end": 10648, "loc": { "start": { - "line": 543, + "line": 541, "column": 2 }, "end": { - "line": 543, + "line": 541, "column": 7 }, "identifierName": "_copy" @@ -34598,16 +34478,16 @@ "arguments": [ { "type": "Identifier", - "start": 11446, - "end": 11448, + "start": 10649, + "end": 10651, "loc": { "start": { - "line": 543, - "column": 9 + "line": 541, + "column": 8 }, "end": { - "line": 543, - "column": 11 + "line": 541, + "column": 10 }, "identifierName": "S1" }, @@ -34615,16 +34495,16 @@ }, { "type": "Identifier", - "start": 11451, - "end": 11454, + "start": 10653, + "end": 10656, "loc": { "start": { - "line": 543, - "column": 14 + "line": 541, + "column": 12 }, "end": { - "line": 543, - "column": 17 + "line": 541, + "column": 15 }, "identifierName": "S1i" }, @@ -34632,30 +34512,30 @@ }, { "type": "MemberExpression", - "start": 11457, - "end": 11466, + "start": 10658, + "end": 10667, "loc": { "start": { - "line": 543, - "column": 20 + "line": 541, + "column": 17 }, "end": { - "line": 543, - "column": 29 + "line": 541, + "column": 26 } }, "object": { "type": "Identifier", - "start": 11457, - "end": 11459, + "start": 10658, + "end": 10660, "loc": { "start": { - "line": 543, - "column": 20 + "line": 541, + "column": 17 }, "end": { - "line": 543, - "column": 22 + "line": 541, + "column": 19 }, "identifierName": "S1" }, @@ -34663,16 +34543,16 @@ }, "property": { "type": "Identifier", - "start": 11460, - "end": 11466, + "start": 10661, + "end": 10667, "loc": { "start": { - "line": 543, - "column": 23 + "line": 541, + "column": 20 }, "end": { - "line": 543, - "column": 29 + "line": 541, + "column": 26 }, "identifierName": "length" }, @@ -34682,16 +34562,16 @@ }, { "type": "Identifier", - "start": 11469, - "end": 11470, + "start": 10669, + "end": 10670, "loc": { "start": { - "line": 543, - "column": 32 + "line": 541, + "column": 28 }, "end": { - "line": 543, - "column": 33 + "line": 541, + "column": 29 }, "identifierName": "u" }, @@ -34699,16 +34579,16 @@ }, { "type": "NumericLiteral", - "start": 11473, - "end": 11474, + "start": 10672, + "end": 10673, "loc": { "start": { - "line": 543, - "column": 36 + "line": 541, + "column": 31 }, "end": { - "line": 543, - "column": 37 + "line": 541, + "column": 32 } }, "extra": { @@ -34722,44 +34602,44 @@ }, { "type": "VariableDeclaration", - "start": 11481, - "end": 11518, + "start": 10678, + "end": 10712, "loc": { "start": { - "line": 544, + "line": 542, "column": 2 }, "end": { - "line": 544, - "column": 39 + "line": 542, + "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11487, - "end": 11516, + "start": 10684, + "end": 10711, "loc": { "start": { - "line": 544, + "line": 542, "column": 8 }, "end": { - "line": 544, - "column": 37 + "line": 542, + "column": 35 } }, "id": { "type": "Identifier", - "start": 11487, - "end": 11488, + "start": 10684, + "end": 10685, "loc": { "start": { - "line": 544, + "line": 542, "column": 8 }, "end": { - "line": 544, + "line": 542, "column": 9 }, "identifierName": "v" @@ -34768,29 +34648,29 @@ }, "init": { "type": "CallExpression", - "start": 11491, - "end": 11516, + "start": 10688, + "end": 10711, "loc": { "start": { - "line": 544, + "line": 542, "column": 12 }, "end": { - "line": 544, - "column": 37 + "line": 542, + "column": 35 } }, "callee": { "type": "Identifier", - "start": 11491, - "end": 11497, + "start": 10688, + "end": 10694, "loc": { "start": { - "line": 544, + "line": 542, "column": 12 }, "end": { - "line": 544, + "line": 542, "column": 18 }, "identifierName": "_alloc" @@ -34800,44 +34680,44 @@ "arguments": [ { "type": "BinaryExpression", - "start": 11499, - "end": 11514, + "start": 10695, + "end": 10710, "loc": { "start": { - "line": 544, - "column": 20 + "line": 542, + "column": 19 }, "end": { - "line": 544, - "column": 35 + "line": 542, + "column": 34 } }, "left": { "type": "MemberExpression", - "start": 11499, - "end": 11508, + "start": 10695, + "end": 10704, "loc": { "start": { - "line": 544, - "column": 20 + "line": 542, + "column": 19 }, "end": { - "line": 544, - "column": 29 + "line": 542, + "column": 28 } }, "object": { "type": "Identifier", - "start": 11499, - "end": 11501, + "start": 10695, + "end": 10697, "loc": { "start": { - "line": 544, - "column": 20 + "line": 542, + "column": 19 }, "end": { - "line": 544, - "column": 22 + "line": 542, + "column": 21 }, "identifierName": "T1" }, @@ -34845,16 +34725,16 @@ }, "property": { "type": "Identifier", - "start": 11502, - "end": 11508, + "start": 10698, + "end": 10704, "loc": { "start": { - "line": 544, - "column": 23 + "line": 542, + "column": 22 }, "end": { - "line": 544, - "column": 29 + "line": 542, + "column": 28 }, "identifierName": "length" }, @@ -34865,16 +34745,16 @@ "operator": "-", "right": { "type": "Identifier", - "start": 11511, - "end": 11514, + "start": 10707, + "end": 10710, "loc": { "start": { - "line": 544, - "column": 32 + "line": 542, + "column": 31 }, "end": { - "line": 544, - "column": 35 + "line": 542, + "column": 34 }, "identifierName": "T1i" }, @@ -34889,43 +34769,43 @@ }, { "type": "ExpressionStatement", - "start": 11521, - "end": 11560, + "start": 10715, + "end": 10747, "loc": { "start": { - "line": 545, + "line": 543, "column": 2 }, "end": { - "line": 545, - "column": 41 + "line": 543, + "column": 34 } }, "expression": { "type": "CallExpression", - "start": 11521, - "end": 11558, + "start": 10715, + "end": 10746, "loc": { "start": { - "line": 545, + "line": 543, "column": 2 }, "end": { - "line": 545, - "column": 39 + "line": 543, + "column": 33 } }, "callee": { "type": "Identifier", - "start": 11521, - "end": 11526, + "start": 10715, + "end": 10720, "loc": { "start": { - "line": 545, + "line": 543, "column": 2 }, "end": { - "line": 545, + "line": 543, "column": 7 }, "identifierName": "_copy" @@ -34935,16 +34815,16 @@ "arguments": [ { "type": "Identifier", - "start": 11528, - "end": 11530, + "start": 10721, + "end": 10723, "loc": { "start": { - "line": 545, - "column": 9 + "line": 543, + "column": 8 }, "end": { - "line": 545, - "column": 11 + "line": 543, + "column": 10 }, "identifierName": "T1" }, @@ -34952,16 +34832,16 @@ }, { "type": "Identifier", - "start": 11533, - "end": 11536, + "start": 10725, + "end": 10728, "loc": { "start": { - "line": 545, - "column": 14 + "line": 543, + "column": 12 }, "end": { - "line": 545, - "column": 17 + "line": 543, + "column": 15 }, "identifierName": "T1i" }, @@ -34969,30 +34849,30 @@ }, { "type": "MemberExpression", - "start": 11539, - "end": 11548, + "start": 10730, + "end": 10739, "loc": { "start": { - "line": 545, - "column": 20 + "line": 543, + "column": 17 }, "end": { - "line": 545, - "column": 29 + "line": 543, + "column": 26 } }, "object": { "type": "Identifier", - "start": 11539, - "end": 11541, + "start": 10730, + "end": 10732, "loc": { "start": { - "line": 545, - "column": 20 + "line": 543, + "column": 17 }, "end": { - "line": 545, - "column": 22 + "line": 543, + "column": 19 }, "identifierName": "T1" }, @@ -35000,16 +34880,16 @@ }, "property": { "type": "Identifier", - "start": 11542, - "end": 11548, + "start": 10733, + "end": 10739, "loc": { "start": { - "line": 545, - "column": 23 + "line": 543, + "column": 20 }, "end": { - "line": 545, - "column": 29 + "line": 543, + "column": 26 }, "identifierName": "length" }, @@ -35019,16 +34899,16 @@ }, { "type": "Identifier", - "start": 11551, - "end": 11552, + "start": 10741, + "end": 10742, "loc": { "start": { - "line": 545, - "column": 32 + "line": 543, + "column": 28 }, "end": { - "line": 545, - "column": 33 + "line": 543, + "column": 29 }, "identifierName": "v" }, @@ -35036,16 +34916,16 @@ }, { "type": "NumericLiteral", - "start": 11555, - "end": 11556, + "start": 10744, + "end": 10745, "loc": { "start": { - "line": 545, - "column": 36 + "line": 543, + "column": 31 }, "end": { - "line": 545, - "column": 37 + "line": 543, + "column": 32 } }, "extra": { @@ -35059,44 +34939,44 @@ }, { "type": "ReturnStatement", - "start": 11563, - "end": 12029, + "start": 10750, + "end": 11289, "loc": { "start": { - "line": 546, + "line": 544, "column": 2 }, "end": { - "line": 552, - "column": 5 + "line": 563, + "column": 4 } }, "argument": { "type": "ObjectExpression", - "start": 11570, - "end": 12027, + "start": 10757, + "end": 11288, "loc": { "start": { - "line": 546, + "line": 544, "column": 9 }, "end": { - "line": 552, + "line": 563, "column": 3 } }, "properties": [ { "type": "ObjectProperty", - "start": 11602, - "end": 11629, + "start": 10792, + "end": 10819, "loc": { "start": { - "line": 547, + "line": 546, "column": 3 }, "end": { - "line": 547, + "line": 546, "column": 30 } }, @@ -35105,15 +34985,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11602, - "end": 11605, + "start": 10792, + "end": 10795, "loc": { "start": { - "line": 547, + "line": 546, "column": 3 }, "end": { - "line": 547, + "line": 546, "column": 6 }, "identifierName": "gcd" @@ -35123,29 +35003,29 @@ }, "value": { "type": "NewExpression", - "start": 11607, - "end": 11629, + "start": 10797, + "end": 10819, "loc": { "start": { - "line": 547, + "line": 546, "column": 8 }, "end": { - "line": 547, + "line": 546, "column": 30 } }, "callee": { "type": "Identifier", - "start": 11611, - "end": 11618, + "start": 10801, + "end": 10808, "loc": { "start": { - "line": 547, + "line": 546, "column": 12 }, "end": { - "line": 547, + "line": 546, "column": 19 }, "identifierName": "Integer" @@ -35155,15 +35035,15 @@ "arguments": [ { "type": "Identifier", - "start": 11619, - "end": 11620, + "start": 10809, + "end": 10810, "loc": { "start": { - "line": 547, + "line": 546, "column": 20 }, "end": { - "line": 547, + "line": 546, "column": 21 }, "identifierName": "r" @@ -35172,15 +35052,15 @@ }, { "type": "NumericLiteral", - "start": 11622, - "end": 11623, + "start": 10812, + "end": 10813, "loc": { "start": { - "line": 547, + "line": 546, "column": 23 }, "end": { - "line": 547, + "line": 546, "column": 24 } }, @@ -35192,15 +35072,15 @@ }, { "type": "Identifier", - "start": 11625, - "end": 11628, + "start": 10815, + "end": 10818, "loc": { "start": { - "line": 547, + "line": 546, "column": 26 }, "end": { - "line": 547, + "line": 546, "column": 29 }, "identifierName": "gcd" @@ -35213,16 +35093,16 @@ { "type": "CommentLine", "value": " TODO use immutable zero", - "start": 11572, - "end": 11598, + "start": 10762, + "end": 10788, "loc": { "start": { - "line": 546, - "column": 11 + "line": 545, + "column": 3 }, "end": { - "line": 546, - "column": 37 + "line": 545, + "column": 29 } } } @@ -35230,16 +35110,16 @@ }, { "type": "ObjectProperty", - "start": 11635, - "end": 11727, + "start": 10824, + "end": 10937, "loc": { "start": { - "line": 548, + "line": 547, "column": 3 }, "end": { - "line": 548, - "column": 95 + "line": 550, + "column": 29 } }, "method": false, @@ -35247,15 +35127,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11635, - "end": 11636, + "start": 10824, + "end": 10825, "loc": { "start": { - "line": 548, + "line": 547, "column": 3 }, "end": { - "line": 548, + "line": 547, "column": 4 }, "identifierName": "x" @@ -35264,94 +35144,130 @@ }, "value": { "type": "ConditionalExpression", - "start": 11638, - "end": 11727, + "start": 10831, + "end": 10937, "loc": { "start": { "line": 548, - "column": 6 + "column": 4 }, "end": { - "line": 548, - "column": 95 + "line": 550, + "column": 29 } }, "test": { - "type": "MemberExpression", - "start": 11638, - "end": 11646, + "type": "BinaryExpression", + "start": 10831, + "end": 10843, "loc": { "start": { "line": 548, - "column": 6 + "column": 4 }, "end": { "line": 548, - "column": 14 + "column": 16 } }, - "object": { - "type": "Identifier", - "start": 11638, - "end": 11639, + "left": { + "type": "MemberExpression", + "start": 10831, + "end": 10839, "loc": { "start": { "line": 548, - "column": 6 + "column": 4 }, "end": { "line": 548, - "column": 7 + "column": 12 + } + }, + "object": { + "type": "Identifier", + "start": 10831, + "end": 10832, + "loc": { + "start": { + "line": 548, + "column": 4 + }, + "end": { + "line": 548, + "column": 5 + }, + "identifierName": "x" }, - "identifierName": "x" + "name": "x" }, - "name": "x" + "property": { + "type": "Identifier", + "start": 10833, + "end": 10839, + "loc": { + "start": { + "line": 548, + "column": 6 + }, + "end": { + "line": 548, + "column": 12 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 11640, - "end": 11646, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 10842, + "end": 10843, "loc": { "start": { "line": 548, - "column": 8 + "column": 15 }, "end": { "line": 548, - "column": 14 - }, - "identifierName": "length" + "column": 16 + } }, - "name": "length" - }, - "computed": false + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } }, "consequent": { "type": "NewExpression", - "start": 11649, - "end": 11702, + "start": 10851, + "end": 10907, "loc": { "start": { - "line": 548, - "column": 17 + "line": 549, + "column": 7 }, "end": { - "line": 548, - "column": 70 + "line": 549, + "column": 63 } }, "callee": { "type": "Identifier", - "start": 11653, - "end": 11660, + "start": 10855, + "end": 10862, "loc": { "start": { - "line": 548, - "column": 21 + "line": 549, + "column": 11 }, "end": { - "line": 548, - "column": 28 + "line": 549, + "column": 18 }, "identifierName": "Integer" }, @@ -35360,16 +35276,16 @@ "arguments": [ { "type": "Identifier", - "start": 11661, - "end": 11662, + "start": 10863, + "end": 10864, "loc": { "start": { - "line": 548, - "column": 29 + "line": 549, + "column": 19 }, "end": { - "line": 548, - "column": 30 + "line": 549, + "column": 20 }, "identifierName": "r" }, @@ -35377,107 +35293,107 @@ }, { "type": "BinaryExpression", - "start": 11664, - "end": 11698, + "start": 10866, + "end": 10903, "loc": { "start": { - "line": 548, - "column": 32 + "line": 549, + "column": 22 }, "end": { - "line": 548, - "column": 66 + "line": 549, + "column": 59 } }, "left": { "type": "MemberExpression", - "start": 11664, - "end": 11680, + "start": 10866, + "end": 10883, "loc": { "start": { - "line": 548, - "column": 32 + "line": 549, + "column": 22 }, "end": { - "line": 548, - "column": 48 + "line": 549, + "column": 39 } }, "object": { "type": "ThisExpression", - "start": 11664, - "end": 11668, + "start": 10866, + "end": 10870, "loc": { "start": { - "line": 548, - "column": 32 + "line": 549, + "column": 22 }, "end": { - "line": 548, - "column": 36 + "line": 549, + "column": 26 } } }, "property": { "type": "Identifier", - "start": 11669, - "end": 11680, + "start": 10871, + "end": 10883, "loc": { "start": { - "line": 548, - "column": 37 + "line": 549, + "column": 27 }, "end": { - "line": 548, - "column": 48 + "line": 549, + "column": 39 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false }, "operator": "^", "right": { "type": "BinaryExpression", - "start": 11684, - "end": 11697, + "start": 10887, + "end": 10902, "loc": { "start": { - "line": 548, - "column": 52 + "line": 549, + "column": 43 }, "end": { - "line": 548, - "column": 65 + "line": 549, + "column": 58 } }, "left": { "type": "BinaryExpression", - "start": 11685, - "end": 11694, + "start": 10888, + "end": 10897, "loc": { "start": { - "line": 548, - "column": 53 + "line": 549, + "column": 44 }, "end": { - "line": 548, - "column": 62 + "line": 549, + "column": 53 } }, "left": { "type": "Identifier", - "start": 11685, - "end": 11690, + "start": 10888, + "end": 10893, "loc": { "start": { - "line": 548, - "column": 53 + "line": 549, + "column": 44 }, "end": { - "line": 548, - "column": 58 + "line": 549, + "column": 49 }, "identifierName": "steps" }, @@ -35486,16 +35402,16 @@ "operator": "%", "right": { "type": "NumericLiteral", - "start": 11693, - "end": 11694, + "start": 10896, + "end": 10897, "loc": { "start": { - "line": 548, - "column": 61 + "line": 549, + "column": 52 }, "end": { - "line": 548, - "column": 62 + "line": 549, + "column": 53 } }, "extra": { @@ -35506,22 +35422,22 @@ }, "extra": { "parenthesized": true, - "parenStart": 11684 + "parenStart": 10887 } }, "operator": "-", "right": { "type": "NumericLiteral", - "start": 11696, - "end": 11697, + "start": 10901, + "end": 10902, "loc": { "start": { - "line": 548, - "column": 64 + "line": 549, + "column": 57 }, "end": { - "line": 548, - "column": 65 + "line": 549, + "column": 58 } }, "extra": { @@ -35532,22 +35448,22 @@ }, "extra": { "parenthesized": true, - "parenStart": 11683 + "parenStart": 10886 } } }, { "type": "Identifier", - "start": 11700, - "end": 11701, + "start": 10905, + "end": 10906, "loc": { "start": { - "line": 548, - "column": 68 + "line": 549, + "column": 61 }, "end": { - "line": 548, - "column": 69 + "line": 549, + "column": 62 }, "identifierName": "x" }, @@ -35557,30 +35473,30 @@ }, "alternate": { "type": "NewExpression", - "start": 11705, - "end": 11727, + "start": 10915, + "end": 10937, "loc": { "start": { - "line": 548, - "column": 73 + "line": 550, + "column": 7 }, "end": { - "line": 548, - "column": 95 + "line": 550, + "column": 29 } }, "callee": { "type": "Identifier", - "start": 11709, - "end": 11716, + "start": 10919, + "end": 10926, "loc": { "start": { - "line": 548, - "column": 77 + "line": 550, + "column": 11 }, "end": { - "line": 548, - "column": 84 + "line": 550, + "column": 18 }, "identifierName": "Integer" }, @@ -35589,16 +35505,16 @@ "arguments": [ { "type": "Identifier", - "start": 11717, - "end": 11718, + "start": 10927, + "end": 10928, "loc": { "start": { - "line": 548, - "column": 85 + "line": 550, + "column": 19 }, "end": { - "line": 548, - "column": 86 + "line": 550, + "column": 20 }, "identifierName": "r" }, @@ -35606,16 +35522,16 @@ }, { "type": "NumericLiteral", - "start": 11720, - "end": 11721, + "start": 10930, + "end": 10931, "loc": { "start": { - "line": 548, - "column": 88 + "line": 550, + "column": 22 }, "end": { - "line": 548, - "column": 89 + "line": 550, + "column": 23 } }, "extra": { @@ -35626,31 +35542,31 @@ }, { "type": "ArrayExpression", - "start": 11723, - "end": 11726, + "start": 10933, + "end": 10936, "loc": { "start": { - "line": 548, - "column": 91 + "line": 550, + "column": 25 }, "end": { - "line": 548, - "column": 94 + "line": 550, + "column": 28 } }, "elements": [ { "type": "NumericLiteral", - "start": 11724, - "end": 11725, + "start": 10934, + "end": 10935, "loc": { "start": { - "line": 548, - "column": 92 + "line": 550, + "column": 26 }, "end": { - "line": 548, - "column": 93 + "line": 550, + "column": 27 } }, "extra": { @@ -35667,16 +35583,16 @@ }, { "type": "ObjectProperty", - "start": 11733, - "end": 11825, + "start": 10942, + "end": 11051, "loc": { "start": { - "line": 549, + "line": 551, "column": 3 }, "end": { - "line": 549, - "column": 95 + "line": 554, + "column": 29 } }, "method": false, @@ -35684,15 +35600,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11733, - "end": 11734, + "start": 10942, + "end": 10943, "loc": { "start": { - "line": 549, + "line": 551, "column": 3 }, "end": { - "line": 549, + "line": 551, "column": 4 }, "identifierName": "y" @@ -35701,94 +35617,130 @@ }, "value": { "type": "ConditionalExpression", - "start": 11736, - "end": 11825, + "start": 10949, + "end": 11051, "loc": { "start": { - "line": 549, - "column": 6 + "line": 552, + "column": 4 }, "end": { - "line": 549, - "column": 95 + "line": 554, + "column": 29 } }, "test": { - "type": "MemberExpression", - "start": 11736, - "end": 11744, + "type": "BinaryExpression", + "start": 10949, + "end": 10961, "loc": { "start": { - "line": 549, - "column": 6 + "line": 552, + "column": 4 }, "end": { - "line": 549, - "column": 14 + "line": 552, + "column": 16 } }, - "object": { - "type": "Identifier", - "start": 11736, - "end": 11737, + "left": { + "type": "MemberExpression", + "start": 10949, + "end": 10957, "loc": { "start": { - "line": 549, - "column": 6 + "line": 552, + "column": 4 }, "end": { - "line": 549, - "column": 7 + "line": 552, + "column": 12 + } + }, + "object": { + "type": "Identifier", + "start": 10949, + "end": 10950, + "loc": { + "start": { + "line": 552, + "column": 4 + }, + "end": { + "line": 552, + "column": 5 + }, + "identifierName": "y" + }, + "name": "y" + }, + "property": { + "type": "Identifier", + "start": 10951, + "end": 10957, + "loc": { + "start": { + "line": 552, + "column": 6 + }, + "end": { + "line": 552, + "column": 12 + }, + "identifierName": "length" }, - "identifierName": "y" + "name": "length" }, - "name": "y" + "computed": false }, - "property": { - "type": "Identifier", - "start": 11738, - "end": 11744, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 10960, + "end": 10961, "loc": { "start": { - "line": 549, - "column": 8 + "line": 552, + "column": 15 }, "end": { - "line": 549, - "column": 14 - }, - "identifierName": "length" + "line": 552, + "column": 16 + } }, - "name": "length" - }, - "computed": false + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } }, "consequent": { "type": "NewExpression", - "start": 11747, - "end": 11800, + "start": 10969, + "end": 11021, "loc": { "start": { - "line": 549, - "column": 17 + "line": 553, + "column": 7 }, "end": { - "line": 549, - "column": 70 + "line": 553, + "column": 59 } }, "callee": { "type": "Identifier", - "start": 11751, - "end": 11758, + "start": 10973, + "end": 10980, "loc": { "start": { - "line": 549, - "column": 21 + "line": 553, + "column": 11 }, "end": { - "line": 549, - "column": 28 + "line": 553, + "column": 18 }, "identifierName": "Integer" }, @@ -35797,16 +35749,16 @@ "arguments": [ { "type": "Identifier", - "start": 11759, - "end": 11760, + "start": 10981, + "end": 10982, "loc": { "start": { - "line": 549, - "column": 29 + "line": 553, + "column": 19 }, "end": { - "line": 549, - "column": 30 + "line": 553, + "column": 20 }, "identifierName": "r" }, @@ -35814,44 +35766,44 @@ }, { "type": "BinaryExpression", - "start": 11762, - "end": 11796, + "start": 10984, + "end": 11017, "loc": { "start": { - "line": 549, - "column": 32 + "line": 553, + "column": 22 }, "end": { - "line": 549, - "column": 66 + "line": 553, + "column": 55 } }, "left": { "type": "MemberExpression", - "start": 11762, - "end": 11779, + "start": 10984, + "end": 11002, "loc": { "start": { - "line": 549, - "column": 32 + "line": 553, + "column": 22 }, "end": { - "line": 549, - "column": 49 + "line": 553, + "column": 40 } }, "object": { "type": "Identifier", - "start": 11762, - "end": 11767, + "start": 10984, + "end": 10989, "loc": { "start": { - "line": 549, - "column": 32 + "line": 553, + "column": 22 }, "end": { - "line": 549, - "column": 37 + "line": 553, + "column": 27 }, "identifierName": "other" }, @@ -35859,66 +35811,66 @@ }, "property": { "type": "Identifier", - "start": 11768, - "end": 11779, + "start": 10990, + "end": 11002, "loc": { "start": { - "line": 549, - "column": 38 + "line": 553, + "column": 28 }, "end": { - "line": 549, - "column": 49 + "line": 553, + "column": 40 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false }, "operator": "^", "right": { "type": "UnaryExpression", - "start": 11783, - "end": 11795, + "start": 11005, + "end": 11017, "loc": { "start": { - "line": 549, - "column": 53 + "line": 553, + "column": 43 }, "end": { - "line": 549, - "column": 65 + "line": 553, + "column": 55 } }, "operator": "-", "prefix": true, "argument": { "type": "BinaryExpression", - "start": 11785, - "end": 11794, + "start": 11007, + "end": 11016, "loc": { "start": { - "line": 549, - "column": 55 + "line": 553, + "column": 45 }, "end": { - "line": 549, - "column": 64 + "line": 553, + "column": 54 } }, "left": { "type": "Identifier", - "start": 11785, - "end": 11790, + "start": 11007, + "end": 11012, "loc": { "start": { - "line": 549, - "column": 55 + "line": 553, + "column": 45 }, "end": { - "line": 549, - "column": 60 + "line": 553, + "column": 50 }, "identifierName": "steps" }, @@ -35927,16 +35879,16 @@ "operator": "%", "right": { "type": "NumericLiteral", - "start": 11793, - "end": 11794, + "start": 11015, + "end": 11016, "loc": { "start": { - "line": 549, - "column": 63 + "line": 553, + "column": 53 }, "end": { - "line": 549, - "column": 64 + "line": 553, + "column": 54 } }, "extra": { @@ -35947,28 +35899,26 @@ }, "extra": { "parenthesized": true, - "parenStart": 11784 + "parenStart": 11006 } }, "extra": { - "parenthesizedArgument": false, - "parenthesized": true, - "parenStart": 11782 + "parenthesizedArgument": false } } }, { "type": "Identifier", - "start": 11798, - "end": 11799, + "start": 11019, + "end": 11020, "loc": { "start": { - "line": 549, - "column": 68 + "line": 553, + "column": 57 }, "end": { - "line": 549, - "column": 69 + "line": 553, + "column": 58 }, "identifierName": "y" }, @@ -35978,30 +35928,30 @@ }, "alternate": { "type": "NewExpression", - "start": 11803, - "end": 11825, + "start": 11029, + "end": 11051, "loc": { "start": { - "line": 549, - "column": 73 + "line": 554, + "column": 7 }, "end": { - "line": 549, - "column": 95 + "line": 554, + "column": 29 } }, "callee": { "type": "Identifier", - "start": 11807, - "end": 11814, + "start": 11033, + "end": 11040, "loc": { "start": { - "line": 549, - "column": 77 + "line": 554, + "column": 11 }, "end": { - "line": 549, - "column": 84 + "line": 554, + "column": 18 }, "identifierName": "Integer" }, @@ -36010,16 +35960,16 @@ "arguments": [ { "type": "Identifier", - "start": 11815, - "end": 11816, + "start": 11041, + "end": 11042, "loc": { "start": { - "line": 549, - "column": 85 + "line": 554, + "column": 19 }, "end": { - "line": 549, - "column": 86 + "line": 554, + "column": 20 }, "identifierName": "r" }, @@ -36027,16 +35977,16 @@ }, { "type": "NumericLiteral", - "start": 11818, - "end": 11819, + "start": 11044, + "end": 11045, "loc": { "start": { - "line": 549, - "column": 88 + "line": 554, + "column": 22 }, "end": { - "line": 549, - "column": 89 + "line": 554, + "column": 23 } }, "extra": { @@ -36047,31 +35997,31 @@ }, { "type": "ArrayExpression", - "start": 11821, - "end": 11824, + "start": 11047, + "end": 11050, "loc": { "start": { - "line": 549, - "column": 91 + "line": 554, + "column": 25 }, "end": { - "line": 549, - "column": 94 + "line": 554, + "column": 28 } }, "elements": [ { "type": "NumericLiteral", - "start": 11822, - "end": 11823, + "start": 11048, + "end": 11049, "loc": { "start": { - "line": 549, - "column": 92 + "line": 554, + "column": 26 }, "end": { - "line": 549, - "column": 93 + "line": 554, + "column": 27 } }, "extra": { @@ -36088,16 +36038,16 @@ }, { "type": "ObjectProperty", - "start": 11831, - "end": 11922, + "start": 11056, + "end": 11164, "loc": { "start": { - "line": 550, + "line": 555, "column": 3 }, "end": { - "line": 550, - "column": 94 + "line": 558, + "column": 29 } }, "method": false, @@ -36105,15 +36055,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11831, - "end": 11832, + "start": 11056, + "end": 11057, "loc": { "start": { - "line": 550, + "line": 555, "column": 3 }, "end": { - "line": 550, + "line": 555, "column": 4 }, "identifierName": "u" @@ -36122,94 +36072,130 @@ }, "value": { "type": "ConditionalExpression", - "start": 11834, - "end": 11922, + "start": 11063, + "end": 11164, "loc": { "start": { - "line": 550, - "column": 6 + "line": 556, + "column": 4 }, "end": { - "line": 550, - "column": 94 + "line": 558, + "column": 29 } }, "test": { - "type": "MemberExpression", - "start": 11834, - "end": 11842, + "type": "BinaryExpression", + "start": 11063, + "end": 11075, "loc": { "start": { - "line": 550, - "column": 6 + "line": 556, + "column": 4 }, "end": { - "line": 550, - "column": 14 + "line": 556, + "column": 16 } }, - "object": { - "type": "Identifier", - "start": 11834, - "end": 11835, + "left": { + "type": "MemberExpression", + "start": 11063, + "end": 11071, "loc": { "start": { - "line": 550, - "column": 6 + "line": 556, + "column": 4 }, "end": { - "line": 550, - "column": 7 + "line": 556, + "column": 12 + } + }, + "object": { + "type": "Identifier", + "start": 11063, + "end": 11064, + "loc": { + "start": { + "line": 556, + "column": 4 + }, + "end": { + "line": 556, + "column": 5 + }, + "identifierName": "u" + }, + "name": "u" + }, + "property": { + "type": "Identifier", + "start": 11065, + "end": 11071, + "loc": { + "start": { + "line": 556, + "column": 6 + }, + "end": { + "line": 556, + "column": 12 + }, + "identifierName": "length" }, - "identifierName": "u" + "name": "length" }, - "name": "u" + "computed": false }, - "property": { - "type": "Identifier", - "start": 11836, - "end": 11842, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 11074, + "end": 11075, "loc": { "start": { - "line": 550, - "column": 8 + "line": 556, + "column": 15 }, "end": { - "line": 550, - "column": 14 - }, - "identifierName": "length" + "line": 556, + "column": 16 + } }, - "name": "length" - }, - "computed": false + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } }, "consequent": { "type": "NewExpression", - "start": 11845, - "end": 11897, + "start": 11083, + "end": 11134, "loc": { "start": { - "line": 550, - "column": 17 + "line": 557, + "column": 7 }, "end": { - "line": 550, - "column": 69 + "line": 557, + "column": 58 } }, "callee": { "type": "Identifier", - "start": 11849, - "end": 11856, + "start": 11087, + "end": 11094, "loc": { "start": { - "line": 550, - "column": 21 + "line": 557, + "column": 11 }, "end": { - "line": 550, - "column": 28 + "line": 557, + "column": 18 }, "identifierName": "Integer" }, @@ -36218,16 +36204,16 @@ "arguments": [ { "type": "Identifier", - "start": 11857, - "end": 11858, + "start": 11095, + "end": 11096, "loc": { "start": { - "line": 550, - "column": 29 + "line": 557, + "column": 19 }, "end": { - "line": 550, - "column": 30 + "line": 557, + "column": 20 }, "identifierName": "r" }, @@ -36235,109 +36221,109 @@ }, { "type": "BinaryExpression", - "start": 11860, - "end": 11893, + "start": 11098, + "end": 11130, "loc": { "start": { - "line": 550, - "column": 32 + "line": 557, + "column": 22 }, "end": { - "line": 550, - "column": 65 + "line": 557, + "column": 54 } }, "left": { "type": "MemberExpression", - "start": 11860, - "end": 11876, + "start": 11098, + "end": 11115, "loc": { "start": { - "line": 550, - "column": 32 + "line": 557, + "column": 22 }, "end": { - "line": 550, - "column": 48 + "line": 557, + "column": 39 } }, "object": { "type": "ThisExpression", - "start": 11860, - "end": 11864, + "start": 11098, + "end": 11102, "loc": { "start": { - "line": 550, - "column": 32 + "line": 557, + "column": 22 }, "end": { - "line": 550, - "column": 36 + "line": 557, + "column": 26 } } }, "property": { "type": "Identifier", - "start": 11865, - "end": 11876, + "start": 11103, + "end": 11115, "loc": { "start": { - "line": 550, - "column": 37 + "line": 557, + "column": 27 }, "end": { - "line": 550, - "column": 48 + "line": 557, + "column": 39 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false }, "operator": "^", "right": { "type": "UnaryExpression", - "start": 11880, - "end": 11892, + "start": 11118, + "end": 11130, "loc": { "start": { - "line": 550, - "column": 52 + "line": 557, + "column": 42 }, "end": { - "line": 550, - "column": 64 + "line": 557, + "column": 54 } }, "operator": "-", "prefix": true, "argument": { "type": "BinaryExpression", - "start": 11882, - "end": 11891, + "start": 11120, + "end": 11129, "loc": { "start": { - "line": 550, - "column": 54 + "line": 557, + "column": 44 }, "end": { - "line": 550, - "column": 63 + "line": 557, + "column": 53 } }, "left": { "type": "Identifier", - "start": 11882, - "end": 11887, + "start": 11120, + "end": 11125, "loc": { "start": { - "line": 550, - "column": 54 + "line": 557, + "column": 44 }, "end": { - "line": 550, - "column": 59 + "line": 557, + "column": 49 }, "identifierName": "steps" }, @@ -36346,16 +36332,16 @@ "operator": "%", "right": { "type": "NumericLiteral", - "start": 11890, - "end": 11891, + "start": 11128, + "end": 11129, "loc": { "start": { - "line": 550, - "column": 62 + "line": 557, + "column": 52 }, "end": { - "line": 550, - "column": 63 + "line": 557, + "column": 53 } }, "extra": { @@ -36366,28 +36352,26 @@ }, "extra": { "parenthesized": true, - "parenStart": 11881 + "parenStart": 11119 } }, "extra": { - "parenthesizedArgument": false, - "parenthesized": true, - "parenStart": 11879 + "parenthesizedArgument": false } } }, { "type": "Identifier", - "start": 11895, - "end": 11896, + "start": 11132, + "end": 11133, "loc": { "start": { - "line": 550, - "column": 67 + "line": 557, + "column": 56 }, "end": { - "line": 550, - "column": 68 + "line": 557, + "column": 57 }, "identifierName": "u" }, @@ -36397,30 +36381,30 @@ }, "alternate": { "type": "NewExpression", - "start": 11900, - "end": 11922, + "start": 11142, + "end": 11164, "loc": { "start": { - "line": 550, - "column": 72 + "line": 558, + "column": 7 }, "end": { - "line": 550, - "column": 94 + "line": 558, + "column": 29 } }, "callee": { "type": "Identifier", - "start": 11904, - "end": 11911, + "start": 11146, + "end": 11153, "loc": { "start": { - "line": 550, - "column": 76 + "line": 558, + "column": 11 }, "end": { - "line": 550, - "column": 83 + "line": 558, + "column": 18 }, "identifierName": "Integer" }, @@ -36429,16 +36413,16 @@ "arguments": [ { "type": "Identifier", - "start": 11912, - "end": 11913, + "start": 11154, + "end": 11155, "loc": { "start": { - "line": 550, - "column": 84 + "line": 558, + "column": 19 }, "end": { - "line": 550, - "column": 85 + "line": 558, + "column": 20 }, "identifierName": "r" }, @@ -36446,16 +36430,16 @@ }, { "type": "NumericLiteral", - "start": 11915, - "end": 11916, + "start": 11157, + "end": 11158, "loc": { "start": { - "line": 550, - "column": 87 + "line": 558, + "column": 22 }, "end": { - "line": 550, - "column": 88 + "line": 558, + "column": 23 } }, "extra": { @@ -36466,31 +36450,31 @@ }, { "type": "ArrayExpression", - "start": 11918, - "end": 11921, + "start": 11160, + "end": 11163, "loc": { "start": { - "line": 550, - "column": 90 + "line": 558, + "column": 25 }, "end": { - "line": 550, - "column": 93 + "line": 558, + "column": 28 } }, "elements": [ { "type": "NumericLiteral", - "start": 11919, - "end": 11920, + "start": 11161, + "end": 11162, "loc": { "start": { - "line": 550, - "column": 91 + "line": 558, + "column": 26 }, "end": { - "line": 550, - "column": 92 + "line": 558, + "column": 27 } }, "extra": { @@ -36507,16 +36491,16 @@ }, { "type": "ObjectProperty", - "start": 11928, - "end": 12021, + "start": 11169, + "end": 11283, "loc": { "start": { - "line": 551, + "line": 559, "column": 3 }, "end": { - "line": 551, - "column": 96 + "line": 562, + "column": 29 } }, "method": false, @@ -36524,15 +36508,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11928, - "end": 11929, + "start": 11169, + "end": 11170, "loc": { "start": { - "line": 551, + "line": 559, "column": 3 }, "end": { - "line": 551, + "line": 559, "column": 4 }, "identifierName": "v" @@ -36541,94 +36525,130 @@ }, "value": { "type": "ConditionalExpression", - "start": 11931, - "end": 12021, + "start": 11176, + "end": 11283, "loc": { "start": { - "line": 551, - "column": 6 + "line": 560, + "column": 4 }, "end": { - "line": 551, - "column": 96 + "line": 562, + "column": 29 } }, "test": { - "type": "MemberExpression", - "start": 11931, - "end": 11939, + "type": "BinaryExpression", + "start": 11176, + "end": 11188, "loc": { "start": { - "line": 551, - "column": 6 + "line": 560, + "column": 4 }, "end": { - "line": 551, - "column": 14 + "line": 560, + "column": 16 } }, - "object": { - "type": "Identifier", - "start": 11931, - "end": 11932, + "left": { + "type": "MemberExpression", + "start": 11176, + "end": 11184, "loc": { "start": { - "line": 551, - "column": 6 + "line": 560, + "column": 4 }, "end": { - "line": 551, - "column": 7 + "line": 560, + "column": 12 + } + }, + "object": { + "type": "Identifier", + "start": 11176, + "end": 11177, + "loc": { + "start": { + "line": 560, + "column": 4 + }, + "end": { + "line": 560, + "column": 5 + }, + "identifierName": "v" + }, + "name": "v" + }, + "property": { + "type": "Identifier", + "start": 11178, + "end": 11184, + "loc": { + "start": { + "line": 560, + "column": 6 + }, + "end": { + "line": 560, + "column": 12 + }, + "identifierName": "length" }, - "identifierName": "v" + "name": "length" }, - "name": "v" + "computed": false }, - "property": { - "type": "Identifier", - "start": 11933, - "end": 11939, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 11187, + "end": 11188, "loc": { "start": { - "line": 551, - "column": 8 + "line": 560, + "column": 15 }, "end": { - "line": 551, - "column": 14 - }, - "identifierName": "length" + "line": 560, + "column": 16 + } }, - "name": "length" - }, - "computed": false + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } }, "consequent": { "type": "NewExpression", - "start": 11942, - "end": 11996, + "start": 11196, + "end": 11253, "loc": { "start": { - "line": 551, - "column": 17 + "line": 561, + "column": 7 }, "end": { - "line": 551, - "column": 71 + "line": 561, + "column": 64 } }, "callee": { "type": "Identifier", - "start": 11946, - "end": 11953, + "start": 11200, + "end": 11207, "loc": { "start": { - "line": 551, - "column": 21 + "line": 561, + "column": 11 }, "end": { - "line": 551, - "column": 28 + "line": 561, + "column": 18 }, "identifierName": "Integer" }, @@ -36637,16 +36657,16 @@ "arguments": [ { "type": "Identifier", - "start": 11954, - "end": 11955, + "start": 11208, + "end": 11209, "loc": { "start": { - "line": 551, - "column": 29 + "line": 561, + "column": 19 }, "end": { - "line": 551, - "column": 30 + "line": 561, + "column": 20 }, "identifierName": "r" }, @@ -36654,44 +36674,44 @@ }, { "type": "BinaryExpression", - "start": 11957, - "end": 11992, + "start": 11211, + "end": 11249, "loc": { "start": { - "line": 551, - "column": 32 + "line": 561, + "column": 22 }, "end": { - "line": 551, - "column": 67 + "line": 561, + "column": 60 } }, "left": { "type": "MemberExpression", - "start": 11957, - "end": 11974, + "start": 11211, + "end": 11229, "loc": { "start": { - "line": 551, - "column": 32 + "line": 561, + "column": 22 }, "end": { - "line": 551, - "column": 49 + "line": 561, + "column": 40 } }, "object": { "type": "Identifier", - "start": 11957, - "end": 11962, + "start": 11211, + "end": 11216, "loc": { "start": { - "line": 551, - "column": 32 + "line": 561, + "column": 22 }, "end": { - "line": 551, - "column": 37 + "line": 561, + "column": 27 }, "identifierName": "other" }, @@ -36699,64 +36719,64 @@ }, "property": { "type": "Identifier", - "start": 11963, - "end": 11974, + "start": 11217, + "end": 11229, "loc": { "start": { - "line": 551, - "column": 38 + "line": 561, + "column": 28 }, "end": { - "line": 551, - "column": 49 + "line": 561, + "column": 40 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false }, "operator": "^", "right": { "type": "BinaryExpression", - "start": 11978, - "end": 11991, + "start": 11233, + "end": 11248, "loc": { "start": { - "line": 551, - "column": 53 + "line": 561, + "column": 44 }, "end": { - "line": 551, - "column": 66 + "line": 561, + "column": 59 } }, "left": { "type": "BinaryExpression", - "start": 11979, - "end": 11988, + "start": 11234, + "end": 11243, "loc": { "start": { - "line": 551, - "column": 54 + "line": 561, + "column": 45 }, "end": { - "line": 551, - "column": 63 + "line": 561, + "column": 54 } }, "left": { "type": "Identifier", - "start": 11979, - "end": 11984, + "start": 11234, + "end": 11239, "loc": { "start": { - "line": 551, - "column": 54 + "line": 561, + "column": 45 }, "end": { - "line": 551, - "column": 59 + "line": 561, + "column": 50 }, "identifierName": "steps" }, @@ -36765,16 +36785,16 @@ "operator": "%", "right": { "type": "NumericLiteral", - "start": 11987, - "end": 11988, + "start": 11242, + "end": 11243, "loc": { "start": { - "line": 551, - "column": 62 + "line": 561, + "column": 53 }, "end": { - "line": 551, - "column": 63 + "line": 561, + "column": 54 } }, "extra": { @@ -36785,22 +36805,22 @@ }, "extra": { "parenthesized": true, - "parenStart": 11978 + "parenStart": 11233 } }, "operator": "-", "right": { "type": "NumericLiteral", - "start": 11990, - "end": 11991, + "start": 11247, + "end": 11248, "loc": { "start": { - "line": 551, - "column": 65 + "line": 561, + "column": 58 }, "end": { - "line": 551, - "column": 66 + "line": 561, + "column": 59 } }, "extra": { @@ -36811,22 +36831,22 @@ }, "extra": { "parenthesized": true, - "parenStart": 11977 + "parenStart": 11232 } } }, { "type": "Identifier", - "start": 11994, - "end": 11995, + "start": 11251, + "end": 11252, "loc": { "start": { - "line": 551, - "column": 69 + "line": 561, + "column": 62 }, "end": { - "line": 551, - "column": 70 + "line": 561, + "column": 63 }, "identifierName": "v" }, @@ -36836,30 +36856,30 @@ }, "alternate": { "type": "NewExpression", - "start": 11999, - "end": 12021, + "start": 11261, + "end": 11283, "loc": { "start": { - "line": 551, - "column": 74 + "line": 562, + "column": 7 }, "end": { - "line": 551, - "column": 96 + "line": 562, + "column": 29 } }, "callee": { "type": "Identifier", - "start": 12003, - "end": 12010, + "start": 11265, + "end": 11272, "loc": { "start": { - "line": 551, - "column": 78 + "line": 562, + "column": 11 }, "end": { - "line": 551, - "column": 85 + "line": 562, + "column": 18 }, "identifierName": "Integer" }, @@ -36868,16 +36888,16 @@ "arguments": [ { "type": "Identifier", - "start": 12011, - "end": 12012, + "start": 11273, + "end": 11274, "loc": { "start": { - "line": 551, - "column": 86 + "line": 562, + "column": 19 }, "end": { - "line": 551, - "column": 87 + "line": 562, + "column": 20 }, "identifierName": "r" }, @@ -36885,16 +36905,16 @@ }, { "type": "NumericLiteral", - "start": 12014, - "end": 12015, + "start": 11276, + "end": 11277, "loc": { "start": { - "line": 551, - "column": 89 + "line": 562, + "column": 22 }, "end": { - "line": 551, - "column": 90 + "line": 562, + "column": 23 } }, "extra": { @@ -36905,31 +36925,31 @@ }, { "type": "ArrayExpression", - "start": 12017, - "end": 12020, + "start": 11279, + "end": 11282, "loc": { "start": { - "line": 551, - "column": 92 + "line": 562, + "column": 25 }, "end": { - "line": 551, - "column": 95 + "line": 562, + "column": 28 } }, "elements": [ { "type": "NumericLiteral", - "start": 12018, - "end": 12019, + "start": 11280, + "end": 11281, "loc": { "start": { - "line": 551, - "column": 93 + "line": 562, + "column": 26 }, "end": { - "line": 551, - "column": 94 + "line": 562, + "column": 27 } }, "extra": { @@ -36953,15 +36973,15 @@ }, { "type": "ClassMethod", - "start": 12035, - "end": 12568, + "start": 11295, + "end": 11860, "loc": { "start": { - "line": 555, + "line": 566, "column": 1 }, "end": { - "line": 569, + "line": 590, "column": 2 } }, @@ -36969,15 +36989,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12035, - "end": 12042, + "start": 11295, + "end": 11302, "loc": { "start": { - "line": 555, + "line": 566, "column": 1 }, "end": { - "line": 555, + "line": 566, "column": 8 }, "identifierName": "valueOf" @@ -36992,87 +37012,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 12047, - "end": 12568, + "start": 11305, + "end": 11860, "loc": { "start": { - "line": 555, - "column": 13 + "line": 566, + "column": 11 }, "end": { - "line": 569, + "line": 590, "column": 2 } }, "body": [ { "type": "IfStatement", - "start": 12052, - "end": 12184, + "start": 11309, + "end": 11453, "loc": { "start": { - "line": 557, + "line": 567, "column": 2 }, "end": { - "line": 557, - "column": 134 + "line": 570, + "column": 5 } }, "test": { "type": "CallExpression", - "start": 12056, - "end": 12076, + "start": 11313, + "end": 11333, "loc": { "start": { - "line": 557, + "line": 567, "column": 6 }, "end": { - "line": 557, + "line": 567, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 12056, - "end": 12064, + "start": 11313, + "end": 11321, "loc": { "start": { - "line": 557, + "line": 567, "column": 6 }, "end": { - "line": 557, + "line": 567, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 12056, - "end": 12060, + "start": 11313, + "end": 11317, "loc": { "start": { - "line": 557, + "line": 567, "column": 6 }, "end": { - "line": 557, + "line": 567, "column": 10 } } }, "property": { "type": "Identifier", - "start": 12061, - "end": 12064, + "start": 11318, + "end": 11321, "loc": { "start": { - "line": 557, + "line": 567, "column": 11 }, "end": { - "line": 557, + "line": 567, "column": 14 }, "identifierName": "gtn" @@ -37084,15 +37104,15 @@ "arguments": [ { "type": "Identifier", - "start": 12065, - "end": 12075, + "start": 11322, + "end": 11332, "loc": { "start": { - "line": 557, + "line": 567, "column": 15 }, "end": { - "line": 557, + "line": 567, "column": 25 }, "identifierName": "MAX_NUMBER" @@ -37103,44 +37123,44 @@ }, "consequent": { "type": "ThrowStatement", - "start": 12078, - "end": 12184, + "start": 11338, + "end": 11453, "loc": { "start": { - "line": 557, - "column": 28 + "line": 568, + "column": 3 }, "end": { - "line": 557, - "column": 134 + "line": 570, + "column": 5 } }, "argument": { "type": "NewExpression", - "start": 12084, - "end": 12182, + "start": 11344, + "end": 11452, "loc": { "start": { - "line": 557, - "column": 34 + "line": 568, + "column": 9 }, "end": { - "line": 557, - "column": 132 + "line": 570, + "column": 4 } }, "callee": { "type": "Identifier", - "start": 12088, - "end": 12098, + "start": 11348, + "end": 11358, "loc": { "start": { - "line": 557, - "column": 38 + "line": 568, + "column": 13 }, "end": { - "line": 557, - "column": 48 + "line": 568, + "column": 23 }, "identifierName": "ValueError" }, @@ -37149,31 +37169,31 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 12099, - "end": 12181, + "start": 11364, + "end": 11446, "loc": { "start": { - "line": 557, - "column": 49 + "line": 569, + "column": 4 }, "end": { - "line": 557, - "column": 131 + "line": 569, + "column": 86 } }, "expressions": [ { "type": "Identifier", - "start": 12145, - "end": 12155, + "start": 11410, + "end": 11420, "loc": { "start": { - "line": 557, - "column": 95 + "line": 569, + "column": 50 }, "end": { - "line": 557, - "column": 105 + "line": 569, + "column": 60 }, "identifierName": "MAX_NUMBER" }, @@ -37181,59 +37201,59 @@ }, { "type": "CallExpression", - "start": 12164, - "end": 12179, + "start": 11429, + "end": 11444, "loc": { "start": { - "line": 557, - "column": 114 + "line": 569, + "column": 69 }, "end": { - "line": 557, - "column": 129 + "line": 569, + "column": 84 } }, "callee": { "type": "MemberExpression", - "start": 12164, - "end": 12177, + "start": 11429, + "end": 11442, "loc": { "start": { - "line": 557, - "column": 114 + "line": 569, + "column": 69 }, "end": { - "line": 557, - "column": 127 + "line": 569, + "column": 82 } }, "object": { "type": "ThisExpression", - "start": 12164, - "end": 12168, + "start": 11429, + "end": 11433, "loc": { "start": { - "line": 557, - "column": 114 + "line": 569, + "column": 69 }, "end": { - "line": 557, - "column": 118 + "line": 569, + "column": 73 } } }, "property": { "type": "Identifier", - "start": 12169, - "end": 12177, + "start": 11434, + "end": 11442, "loc": { "start": { - "line": 557, - "column": 119 + "line": 569, + "column": 74 }, "end": { - "line": 557, - "column": 127 + "line": 569, + "column": 82 }, "identifierName": "toString" }, @@ -37247,16 +37267,16 @@ "quasis": [ { "type": "TemplateElement", - "start": 12100, - "end": 12143, + "start": 11365, + "end": 11408, "loc": { "start": { - "line": 557, - "column": 50 + "line": 569, + "column": 5 }, "end": { - "line": 557, - "column": 93 + "line": 569, + "column": 48 } }, "value": { @@ -37267,16 +37287,16 @@ }, { "type": "TemplateElement", - "start": 12156, - "end": 12162, + "start": 11421, + "end": 11427, "loc": { "start": { - "line": 557, - "column": 106 + "line": 569, + "column": 61 }, "end": { - "line": 557, - "column": 112 + "line": 569, + "column": 67 } }, "value": { @@ -37287,16 +37307,16 @@ }, { "type": "TemplateElement", - "start": 12180, - "end": 12180, + "start": 11445, + "end": 11445, "loc": { "start": { - "line": 557, - "column": 130 + "line": 569, + "column": 85 }, "end": { - "line": 557, - "column": 130 + "line": 569, + "column": 85 } }, "value": { @@ -37314,72 +37334,72 @@ }, { "type": "IfStatement", - "start": 12187, - "end": 12320, + "start": 11456, + "end": 11601, "loc": { "start": { - "line": 558, + "line": 571, "column": 2 }, "end": { - "line": 558, - "column": 135 + "line": 574, + "column": 5 } }, "test": { "type": "CallExpression", - "start": 12191, - "end": 12211, + "start": 11460, + "end": 11480, "loc": { "start": { - "line": 558, + "line": 571, "column": 6 }, "end": { - "line": 558, + "line": 571, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 12191, - "end": 12199, + "start": 11460, + "end": 11468, "loc": { "start": { - "line": 558, + "line": 571, "column": 6 }, "end": { - "line": 558, + "line": 571, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 12191, - "end": 12195, + "start": 11460, + "end": 11464, "loc": { "start": { - "line": 558, + "line": 571, "column": 6 }, "end": { - "line": 558, + "line": 571, "column": 10 } } }, "property": { "type": "Identifier", - "start": 12196, - "end": 12199, + "start": 11465, + "end": 11468, "loc": { "start": { - "line": 558, + "line": 571, "column": 11 }, "end": { - "line": 558, + "line": 571, "column": 14 }, "identifierName": "ltn" @@ -37391,15 +37411,15 @@ "arguments": [ { "type": "Identifier", - "start": 12200, - "end": 12210, + "start": 11469, + "end": 11479, "loc": { "start": { - "line": 558, + "line": 571, "column": 15 }, "end": { - "line": 558, + "line": 571, "column": 25 }, "identifierName": "MIN_NUMBER" @@ -37410,44 +37430,44 @@ }, "consequent": { "type": "ThrowStatement", - "start": 12213, - "end": 12320, + "start": 11485, + "end": 11601, "loc": { "start": { - "line": 558, - "column": 28 + "line": 572, + "column": 3 }, "end": { - "line": 558, - "column": 135 + "line": 574, + "column": 5 } }, "argument": { "type": "NewExpression", - "start": 12219, - "end": 12318, + "start": 11491, + "end": 11600, "loc": { "start": { - "line": 558, - "column": 34 + "line": 572, + "column": 9 }, "end": { - "line": 558, - "column": 133 + "line": 574, + "column": 4 } }, "callee": { "type": "Identifier", - "start": 12223, - "end": 12233, + "start": 11495, + "end": 11505, "loc": { "start": { - "line": 558, - "column": 38 + "line": 572, + "column": 13 }, "end": { - "line": 558, - "column": 48 + "line": 572, + "column": 23 }, "identifierName": "ValueError" }, @@ -37456,31 +37476,31 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 12234, - "end": 12317, + "start": 11511, + "end": 11594, "loc": { "start": { - "line": 558, - "column": 49 + "line": 573, + "column": 4 }, "end": { - "line": 558, - "column": 132 + "line": 573, + "column": 87 } }, "expressions": [ { "type": "Identifier", - "start": 12281, - "end": 12291, + "start": 11558, + "end": 11568, "loc": { "start": { - "line": 558, - "column": 96 + "line": 573, + "column": 51 }, "end": { - "line": 558, - "column": 106 + "line": 573, + "column": 61 }, "identifierName": "MIN_NUMBER" }, @@ -37488,59 +37508,59 @@ }, { "type": "CallExpression", - "start": 12300, - "end": 12315, + "start": 11577, + "end": 11592, "loc": { "start": { - "line": 558, - "column": 115 + "line": 573, + "column": 70 }, "end": { - "line": 558, - "column": 130 + "line": 573, + "column": 85 } }, "callee": { "type": "MemberExpression", - "start": 12300, - "end": 12313, + "start": 11577, + "end": 11590, "loc": { "start": { - "line": 558, - "column": 115 + "line": 573, + "column": 70 }, "end": { - "line": 558, - "column": 128 + "line": 573, + "column": 83 } }, "object": { "type": "ThisExpression", - "start": 12300, - "end": 12304, + "start": 11577, + "end": 11581, "loc": { "start": { - "line": 558, - "column": 115 + "line": 573, + "column": 70 }, "end": { - "line": 558, - "column": 119 + "line": 573, + "column": 74 } } }, "property": { "type": "Identifier", - "start": 12305, - "end": 12313, + "start": 11582, + "end": 11590, "loc": { "start": { - "line": 558, - "column": 120 + "line": 573, + "column": 75 }, "end": { - "line": 558, - "column": 128 + "line": 573, + "column": 83 }, "identifierName": "toString" }, @@ -37554,16 +37574,16 @@ "quasis": [ { "type": "TemplateElement", - "start": 12235, - "end": 12279, + "start": 11512, + "end": 11556, "loc": { "start": { - "line": 558, - "column": 50 + "line": 573, + "column": 5 }, "end": { - "line": 558, - "column": 94 + "line": 573, + "column": 49 } }, "value": { @@ -37574,16 +37594,16 @@ }, { "type": "TemplateElement", - "start": 12292, - "end": 12298, + "start": 11569, + "end": 11575, "loc": { "start": { - "line": 558, - "column": 107 + "line": 573, + "column": 62 }, "end": { - "line": 558, - "column": 113 + "line": 573, + "column": 68 } }, "value": { @@ -37594,16 +37614,16 @@ }, { "type": "TemplateElement", - "start": 12316, - "end": 12316, + "start": 11593, + "end": 11593, "loc": { "start": { - "line": 558, - "column": 131 + "line": 573, + "column": 86 }, "end": { - "line": 558, - "column": 131 + "line": 573, + "column": 86 } }, "value": { @@ -37621,44 +37641,44 @@ }, { "type": "VariableDeclaration", - "start": 12324, - "end": 12408, + "start": 11605, + "end": 11705, "loc": { "start": { - "line": 560, + "line": 576, "column": 2 }, "end": { - "line": 560, - "column": 86 + "line": 582, + "column": 4 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 12330, - "end": 12406, + "start": 11611, + "end": 11704, "loc": { "start": { - "line": 560, + "line": 576, "column": 8 }, "end": { - "line": 560, - "column": 84 + "line": 582, + "column": 3 } }, "id": { "type": "Identifier", - "start": 12330, - "end": 12335, + "start": 11611, + "end": 11616, "loc": { "start": { - "line": 560, + "line": 576, "column": 8 }, "end": { - "line": 560, + "line": 576, "column": 13 }, "identifierName": "limbs" @@ -37667,29 +37687,29 @@ }, "init": { "type": "CallExpression", - "start": 12338, - "end": 12406, + "start": 11619, + "end": 11704, "loc": { "start": { - "line": 560, + "line": 576, "column": 16 }, "end": { - "line": 560, - "column": 84 + "line": 582, + "column": 3 } }, "callee": { "type": "Identifier", - "start": 12338, - "end": 12345, + "start": 11619, + "end": 11626, "loc": { "start": { - "line": 560, + "line": 576, "column": 16 }, "end": { - "line": 560, + "line": 576, "column": 23 }, "identifierName": "convert" @@ -37699,64 +37719,64 @@ "arguments": [ { "type": "MemberExpression", - "start": 12347, - "end": 12356, + "start": 11631, + "end": 11641, "loc": { "start": { - "line": 560, - "column": 25 + "line": 577, + "column": 3 }, "end": { - "line": 560, - "column": 34 + "line": 577, + "column": 13 } }, "object": { "type": "ThisExpression", - "start": 12347, - "end": 12351, + "start": 11631, + "end": 11635, "loc": { "start": { - "line": 560, - "column": 25 + "line": 577, + "column": 3 }, "end": { - "line": 560, - "column": 29 + "line": 577, + "column": 7 } } }, "property": { "type": "Identifier", - "start": 12352, - "end": 12356, + "start": 11636, + "end": 11641, "loc": { "start": { - "line": 560, - "column": 30 + "line": 577, + "column": 8 }, "end": { - "line": 560, - "column": 34 + "line": 577, + "column": 13 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false }, { "type": "Identifier", - "start": 12359, - "end": 12367, + "start": 11646, + "end": 11654, "loc": { "start": { - "line": 560, - "column": 37 + "line": 578, + "column": 3 }, "end": { - "line": 560, - "column": 45 + "line": 578, + "column": 11 }, "identifierName": "MAX_BASE" }, @@ -37764,64 +37784,64 @@ }, { "type": "MemberExpression", - "start": 12370, - "end": 12380, + "start": 11659, + "end": 11670, "loc": { "start": { - "line": 560, - "column": 48 + "line": 579, + "column": 3 }, "end": { - "line": 560, - "column": 58 + "line": 579, + "column": 14 } }, "object": { "type": "ThisExpression", - "start": 12370, - "end": 12374, + "start": 11659, + "end": 11663, "loc": { "start": { - "line": 560, - "column": 48 + "line": 579, + "column": 3 }, "end": { - "line": 560, - "column": 52 + "line": 579, + "column": 7 } } }, "property": { "type": "Identifier", - "start": 12375, - "end": 12380, + "start": 11664, + "end": 11670, "loc": { "start": { - "line": 560, - "column": 53 + "line": 579, + "column": 8 }, "end": { - "line": 560, - "column": 58 + "line": 579, + "column": 14 }, - "identifierName": "limbs" + "identifierName": "_limbs" }, - "name": "limbs" + "name": "_limbs" }, "computed": false }, { "type": "NumericLiteral", - "start": 12383, - "end": 12384, + "start": 11675, + "end": 11676, "loc": { "start": { - "line": 560, - "column": 61 + "line": 580, + "column": 3 }, "end": { - "line": 560, - "column": 62 + "line": 580, + "column": 4 } }, "extra": { @@ -37832,78 +37852,78 @@ }, { "type": "MemberExpression", - "start": 12387, - "end": 12404, + "start": 11681, + "end": 11699, "loc": { "start": { - "line": 560, - "column": 65 + "line": 581, + "column": 3 }, "end": { - "line": 560, - "column": 82 + "line": 581, + "column": 21 } }, "object": { "type": "MemberExpression", - "start": 12387, - "end": 12397, + "start": 11681, + "end": 11692, "loc": { "start": { - "line": 560, - "column": 65 + "line": 581, + "column": 3 }, "end": { - "line": 560, - "column": 75 + "line": 581, + "column": 14 } }, "object": { "type": "ThisExpression", - "start": 12387, - "end": 12391, + "start": 11681, + "end": 11685, "loc": { "start": { - "line": 560, - "column": 65 + "line": 581, + "column": 3 }, "end": { - "line": 560, - "column": 69 + "line": 581, + "column": 7 } } }, "property": { "type": "Identifier", - "start": 12392, - "end": 12397, + "start": 11686, + "end": 11692, "loc": { "start": { - "line": 560, - "column": 70 + "line": 581, + "column": 8 }, "end": { - "line": 560, - "column": 75 + "line": 581, + "column": 14 }, - "identifierName": "limbs" + "identifierName": "_limbs" }, - "name": "limbs" + "name": "_limbs" }, "computed": false }, "property": { "type": "Identifier", - "start": 12398, - "end": 12404, + "start": 11693, + "end": 11699, "loc": { "start": { - "line": 560, - "column": 76 + "line": 581, + "column": 15 }, "end": { - "line": 560, - "column": 82 + "line": 581, + "column": 21 }, "identifierName": "length" }, @@ -37919,44 +37939,44 @@ }, { "type": "VariableDeclaration", - "start": 12412, - "end": 12452, + "start": 11709, + "end": 11749, "loc": { "start": { - "line": 562, + "line": 584, "column": 2 }, "end": { - "line": 562, + "line": 584, "column": 42 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 12418, - "end": 12450, + "start": 11715, + "end": 11748, "loc": { "start": { - "line": 562, + "line": 584, "column": 8 }, "end": { - "line": 562, - "column": 40 + "line": 584, + "column": 41 } }, "id": { "type": "Identifier", - "start": 12418, - "end": 12422, + "start": 11715, + "end": 11719, "loc": { "start": { - "line": 562, + "line": 584, "column": 8 }, "end": { - "line": 562, + "line": 584, "column": 12 }, "identifierName": "sign" @@ -37965,94 +37985,94 @@ }, "init": { "type": "ConditionalExpression", - "start": 12425, - "end": 12450, + "start": 11722, + "end": 11748, "loc": { "start": { - "line": 562, + "line": 584, "column": 15 }, "end": { - "line": 562, - "column": 40 + "line": 584, + "column": 41 } }, "test": { "type": "MemberExpression", - "start": 12425, - "end": 12441, + "start": 11722, + "end": 11739, "loc": { "start": { - "line": 562, + "line": 584, "column": 15 }, "end": { - "line": 562, - "column": 31 + "line": 584, + "column": 32 } }, "object": { "type": "ThisExpression", - "start": 12425, - "end": 12429, + "start": 11722, + "end": 11726, "loc": { "start": { - "line": 562, + "line": 584, "column": 15 }, "end": { - "line": 562, + "line": 584, "column": 19 } } }, "property": { "type": "Identifier", - "start": 12430, - "end": 12441, + "start": 11727, + "end": 11739, "loc": { "start": { - "line": 562, + "line": 584, "column": 20 }, "end": { - "line": 562, - "column": 31 + "line": 584, + "column": 32 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false }, "consequent": { "type": "UnaryExpression", - "start": 12444, - "end": 12446, + "start": 11742, + "end": 11744, "loc": { "start": { - "line": 562, - "column": 34 + "line": 584, + "column": 35 }, "end": { - "line": 562, - "column": 36 + "line": 584, + "column": 37 } }, "operator": "-", "prefix": true, "argument": { "type": "NumericLiteral", - "start": 12445, - "end": 12446, + "start": 11743, + "end": 11744, "loc": { "start": { - "line": 562, - "column": 35 + "line": 584, + "column": 36 }, "end": { - "line": 562, - "column": 36 + "line": 584, + "column": 37 } }, "extra": { @@ -38067,16 +38087,16 @@ }, "alternate": { "type": "NumericLiteral", - "start": 12449, - "end": 12450, + "start": 11747, + "end": 11748, "loc": { "start": { - "line": 562, - "column": 39 + "line": 584, + "column": 40 }, "end": { - "line": 562, - "column": 40 + "line": 584, + "column": 41 } }, "extra": { @@ -38092,44 +38112,44 @@ }, { "type": "VariableDeclaration", - "start": 12456, - "end": 12540, + "start": 11753, + "end": 11833, "loc": { "start": { - "line": 564, + "line": 586, "column": 2 }, "end": { - "line": 566, - "column": 13 + "line": 587, + "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 12462, - "end": 12538, + "start": 11759, + "end": 11832, "loc": { "start": { - "line": 564, + "line": 586, "column": 8 }, "end": { - "line": 566, - "column": 11 + "line": 587, + "column": 65 } }, "id": { "type": "Identifier", - "start": 12462, - "end": 12467, + "start": 11759, + "end": 11764, "loc": { "start": { - "line": 564, + "line": 586, "column": 8 }, "end": { - "line": 564, + "line": 586, "column": 13 }, "identifierName": "value" @@ -38138,58 +38158,58 @@ }, "init": { "type": "ConditionalExpression", - "start": 12470, - "end": 12538, + "start": 11770, + "end": 11832, "loc": { "start": { - "line": 564, - "column": 16 + "line": 587, + "column": 3 }, "end": { - "line": 566, - "column": 11 + "line": 587, + "column": 65 } }, "test": { "type": "BinaryExpression", - "start": 12470, - "end": 12488, + "start": 11770, + "end": 11788, "loc": { "start": { - "line": 564, - "column": 16 + "line": 587, + "column": 3 }, "end": { - "line": 564, - "column": 34 + "line": 587, + "column": 21 } }, "left": { "type": "MemberExpression", - "start": 12470, - "end": 12482, + "start": 11770, + "end": 11782, "loc": { "start": { - "line": 564, - "column": 16 + "line": 587, + "column": 3 }, "end": { - "line": 564, - "column": 28 + "line": 587, + "column": 15 } }, "object": { "type": "Identifier", - "start": 12470, - "end": 12475, + "start": 11770, + "end": 11775, "loc": { "start": { - "line": 564, - "column": 16 + "line": 587, + "column": 3 }, "end": { - "line": 564, - "column": 21 + "line": 587, + "column": 8 }, "identifierName": "limbs" }, @@ -38197,16 +38217,16 @@ }, "property": { "type": "Identifier", - "start": 12476, - "end": 12482, + "start": 11776, + "end": 11782, "loc": { "start": { - "line": 564, - "column": 22 + "line": 587, + "column": 9 }, "end": { - "line": 564, - "column": 28 + "line": 587, + "column": 15 }, "identifierName": "length" }, @@ -38217,16 +38237,16 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 12487, - "end": 12488, + "start": 11787, + "end": 11788, "loc": { "start": { - "line": 564, - "column": 33 + "line": 587, + "column": 20 }, "end": { - "line": 564, - "column": 34 + "line": 587, + "column": 21 } }, "extra": { @@ -38238,58 +38258,58 @@ }, "consequent": { "type": "BinaryExpression", - "start": 12494, - "end": 12524, + "start": 11791, + "end": 11821, "loc": { "start": { - "line": 565, - "column": 3 + "line": 587, + "column": 24 }, "end": { - "line": 565, - "column": 33 + "line": 587, + "column": 54 } }, "left": { "type": "BinaryExpression", - "start": 12494, - "end": 12513, + "start": 11791, + "end": 11810, "loc": { "start": { - "line": 565, - "column": 3 + "line": 587, + "column": 24 }, "end": { - "line": 565, - "column": 22 + "line": 587, + "column": 43 } }, "left": { "type": "MemberExpression", - "start": 12494, - "end": 12502, + "start": 11791, + "end": 11799, "loc": { "start": { - "line": 565, - "column": 3 + "line": 587, + "column": 24 }, "end": { - "line": 565, - "column": 11 + "line": 587, + "column": 32 } }, "object": { "type": "Identifier", - "start": 12494, - "end": 12499, + "start": 11791, + "end": 11796, "loc": { "start": { - "line": 565, - "column": 3 + "line": 587, + "column": 24 }, "end": { - "line": 565, - "column": 8 + "line": 587, + "column": 29 }, "identifierName": "limbs" }, @@ -38297,16 +38317,16 @@ }, "property": { "type": "NumericLiteral", - "start": 12500, - "end": 12501, + "start": 11797, + "end": 11798, "loc": { "start": { - "line": 565, - "column": 9 + "line": 587, + "column": 30 }, "end": { - "line": 565, - "column": 10 + "line": 587, + "column": 31 } }, "extra": { @@ -38320,16 +38340,16 @@ "operator": "*", "right": { "type": "Identifier", - "start": 12505, - "end": 12513, + "start": 11802, + "end": 11810, "loc": { "start": { - "line": 565, - "column": 14 + "line": 587, + "column": 35 }, "end": { - "line": 565, - "column": 22 + "line": 587, + "column": 43 }, "identifierName": "MAX_BASE" }, @@ -38339,30 +38359,30 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 12516, - "end": 12524, + "start": 11813, + "end": 11821, "loc": { "start": { - "line": 565, - "column": 25 + "line": 587, + "column": 46 }, "end": { - "line": 565, - "column": 33 + "line": 587, + "column": 54 } }, "object": { "type": "Identifier", - "start": 12516, - "end": 12521, + "start": 11813, + "end": 11818, "loc": { "start": { - "line": 565, - "column": 25 + "line": 587, + "column": 46 }, "end": { - "line": 565, - "column": 30 + "line": 587, + "column": 51 }, "identifierName": "limbs" }, @@ -38370,16 +38390,16 @@ }, "property": { "type": "NumericLiteral", - "start": 12522, - "end": 12523, + "start": 11819, + "end": 11820, "loc": { "start": { - "line": 565, - "column": 31 + "line": 587, + "column": 52 }, "end": { - "line": 565, - "column": 32 + "line": 587, + "column": 53 } }, "extra": { @@ -38393,30 +38413,30 @@ }, "alternate": { "type": "MemberExpression", - "start": 12530, - "end": 12538, + "start": 11824, + "end": 11832, "loc": { "start": { - "line": 566, - "column": 3 + "line": 587, + "column": 57 }, "end": { - "line": 566, - "column": 11 + "line": 587, + "column": 65 } }, "object": { "type": "Identifier", - "start": 12530, - "end": 12535, + "start": 11824, + "end": 11829, "loc": { "start": { - "line": 566, - "column": 3 + "line": 587, + "column": 57 }, "end": { - "line": 566, - "column": 8 + "line": 587, + "column": 62 }, "identifierName": "limbs" }, @@ -38424,16 +38444,16 @@ }, "property": { "type": "NumericLiteral", - "start": 12536, - "end": 12537, + "start": 11830, + "end": 11831, "loc": { "start": { - "line": 566, - "column": 9 + "line": 587, + "column": 63 }, "end": { - "line": 566, - "column": 10 + "line": 587, + "column": 64 } }, "extra": { @@ -38451,43 +38471,43 @@ }, { "type": "ReturnStatement", - "start": 12544, - "end": 12565, + "start": 11837, + "end": 11857, "loc": { "start": { - "line": 568, + "line": 589, "column": 2 }, "end": { - "line": 568, - "column": 23 + "line": 589, + "column": 22 } }, "argument": { "type": "BinaryExpression", - "start": 12551, - "end": 12563, + "start": 11844, + "end": 11856, "loc": { "start": { - "line": 568, + "line": 589, "column": 9 }, "end": { - "line": 568, + "line": 589, "column": 21 } }, "left": { "type": "Identifier", - "start": 12551, - "end": 12555, + "start": 11844, + "end": 11848, "loc": { "start": { - "line": 568, + "line": 589, "column": 9 }, "end": { - "line": 568, + "line": 589, "column": 13 }, "identifierName": "sign" @@ -38497,15 +38517,15 @@ "operator": "*", "right": { "type": "Identifier", - "start": 12558, - "end": 12563, + "start": 11851, + "end": 11856, "loc": { "start": { - "line": 568, + "line": 589, "column": 16 }, "end": { - "line": 568, + "line": 589, "column": 21 }, "identifierName": "value" @@ -38520,15 +38540,15 @@ }, { "type": "ClassMethod", - "start": 12571, - "end": 12615, + "start": 11863, + "end": 11903, "loc": { "start": { - "line": 571, + "line": 592, "column": 1 }, "end": { - "line": 573, + "line": 594, "column": 2 } }, @@ -38536,15 +38556,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12571, - "end": 12579, + "start": 11863, + "end": 11871, "loc": { "start": { - "line": 571, + "line": 592, "column": 1 }, "end": { - "line": 571, + "line": 592, "column": 9 }, "identifierName": "toNumber" @@ -38559,87 +38579,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 12584, - "end": 12615, + "start": 11874, + "end": 11903, "loc": { "start": { - "line": 571, - "column": 14 + "line": 592, + "column": 12 }, "end": { - "line": 573, + "line": 594, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 12588, - "end": 12612, + "start": 11878, + "end": 11900, "loc": { "start": { - "line": 572, + "line": 593, "column": 2 }, "end": { - "line": 572, - "column": 26 + "line": 593, + "column": 24 } }, "argument": { "type": "CallExpression", - "start": 12595, - "end": 12610, + "start": 11885, + "end": 11899, "loc": { "start": { - "line": 572, + "line": 593, "column": 9 }, "end": { - "line": 572, - "column": 24 + "line": 593, + "column": 23 } }, "callee": { "type": "MemberExpression", - "start": 12595, - "end": 12607, + "start": 11885, + "end": 11897, "loc": { "start": { - "line": 572, + "line": 593, "column": 9 }, "end": { - "line": 572, + "line": 593, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 12595, - "end": 12599, + "start": 11885, + "end": 11889, "loc": { "start": { - "line": 572, + "line": 593, "column": 9 }, "end": { - "line": 572, + "line": 593, "column": 13 } } }, "property": { "type": "Identifier", - "start": 12600, - "end": 12607, + "start": 11890, + "end": 11897, "loc": { "start": { - "line": 572, + "line": 593, "column": 14 }, "end": { - "line": 572, + "line": 593, "column": 21 }, "identifierName": "valueOf" @@ -38668,15 +38688,15 @@ { "type": "CommentLine", "value": " TODO save result for later ? Maybe replace base ?", - "start": 883, - "end": 935, + "start": 915, + "end": 967, "loc": { "start": { - "line": 38, + "line": 49, "column": 2 }, "end": { - "line": 38, + "line": 49, "column": 54 } } @@ -38684,15 +38704,15 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 1856, - "end": 1905, + "start": 1805, + "end": 1854, "loc": { "start": { - "line": 83, + "line": 91, "column": 2 }, "end": { - "line": 83, + "line": 91, "column": 51 } } @@ -38700,15 +38720,15 @@ { "type": "CommentLine", "value": " TODO optimize", - "start": 1968, - "end": 1984, + "start": 1914, + "end": 1930, "loc": { "start": { - "line": 88, + "line": 96, "column": 2 }, "end": { - "line": 88, + "line": 96, "column": 18 } } @@ -38716,15 +38736,15 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 2053, - "end": 2102, + "start": 1995, + "end": 2044, "loc": { "start": { - "line": 93, + "line": 101, "column": 2 }, "end": { - "line": 93, + "line": 101, "column": 51 } } @@ -38732,31 +38752,31 @@ { "type": "CommentLine", "value": " /!\\ _sub needs |c| >= |a| >= |b|", - "start": 2358, - "end": 2393, + "start": 2265, + "end": 2300, "loc": { "start": { - "line": 109, - "column": 3 + "line": 111, + "column": 2 }, "end": { - "line": 109, - "column": 38 + "line": 111, + "column": 37 } } }, { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 3125, - "end": 3174, + "start": 2917, + "end": 2966, "loc": { "start": { - "line": 148, + "line": 142, "column": 2 }, "end": { - "line": 148, + "line": 142, "column": 51 } } @@ -38764,15 +38784,15 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 3715, - "end": 3764, + "start": 3471, + "end": 3520, "loc": { "start": { - "line": 178, + "line": 170, "column": 2 }, "end": { - "line": 178, + "line": 170, "column": 51 } } @@ -38780,15 +38800,15 @@ { "type": "CommentBlock", "value": "*\n\t * Computes this raised to the xth power.\n\t * x is a double smaller or equal to 2^53.\n\t *\n\t * @param {Number} x The power to raise this to.\n\t * @return {Integer} this ^ x\n\t ", - "start": 3934, - "end": 4179, + "start": 3684, + "end": 3929, "loc": { "start": { - "line": 190, + "line": 182, "column": 1 }, "end": { - "line": 196, + "line": 188, "column": 4 } } @@ -38796,15 +38816,15 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 4545, - "end": 4594, + "start": 4262, + "end": 4311, "loc": { "start": { - "line": 215, + "line": 205, "column": 2 }, "end": { - "line": 215, + "line": 205, "column": 51 } } @@ -38812,15 +38832,15 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 4658, - "end": 4707, + "start": 4372, + "end": 4421, "loc": { "start": { - "line": 220, + "line": 210, "column": 2 }, "end": { - "line": 220, + "line": 210, "column": 51 } } @@ -38828,15 +38848,15 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 4767, - "end": 4816, + "start": 4479, + "end": 4528, "loc": { "start": { - "line": 225, + "line": 215, "column": 2 }, "end": { - "line": 225, + "line": 215, "column": 51 } } @@ -38844,15 +38864,15 @@ { "type": "CommentLine", "value": " TODO use this.mul(this) instead?", - "start": 4819, - "end": 4854, + "start": 4531, + "end": 4566, "loc": { "start": { - "line": 226, + "line": 216, "column": 2 }, "end": { - "line": 226, + "line": 216, "column": 37 } } @@ -38860,15 +38880,15 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 4899, - "end": 4948, + "start": 4609, + "end": 4658, "loc": { "start": { - "line": 231, + "line": 221, "column": 2 }, "end": { - "line": 231, + "line": 221, "column": 51 } } @@ -38876,15 +38896,15 @@ { "type": "CommentLine", "value": " TODO use this.imul(this) instead?", - "start": 4951, - "end": 4987, + "start": 4661, + "end": 4697, "loc": { "start": { - "line": 232, + "line": 222, "column": 2 }, "end": { - "line": 232, + "line": 222, "column": 38 } } @@ -38892,15 +38912,15 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 5168, - "end": 5217, + "start": 4865, + "end": 4914, "loc": { "start": { - "line": 245, + "line": 235, "column": 2 }, "end": { - "line": 245, + "line": 235, "column": 51 } } @@ -38908,47 +38928,47 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 5463, - "end": 5512, + "start": 5144, + "end": 5193, "loc": { "start": { - "line": 262, + "line": 252, "column": 2 }, "end": { - "line": 262, + "line": 252, "column": 51 } } }, { "type": "CommentLine", - "value": " optimize", - "start": 5913, - "end": 5924, + "value": " Optimize", + "start": 5572, + "end": 5583, "loc": { "start": { - "line": 278, - "column": 84 + "line": 268, + "column": 79 }, "end": { - "line": 278, - "column": 95 + "line": 268, + "column": 90 } } }, { "type": "CommentLine", "value": " The underlying algorithm does not allow leading 0's so we trim them.", - "start": 6023, - "end": 6094, + "start": 5683, + "end": 5754, "loc": { "start": { - "line": 283, + "line": 273, "column": 2 }, "end": { - "line": 283, + "line": 273, "column": 73 } } @@ -38956,15 +38976,15 @@ { "type": "CommentLine", "value": " Dividend is 0", - "start": 6185, - "end": 6201, + "start": 5840, + "end": 5856, "loc": { "start": { - "line": 287, + "line": 277, "column": 2 }, "end": { - "line": 287, + "line": 277, "column": 18 } } @@ -38972,15 +38992,15 @@ { "type": "CommentLine", "value": " Dividend (& Remainder)", - "start": 6312, - "end": 6337, + "start": 5954, + "end": 5979, "loc": { "start": { - "line": 290, + "line": 281, "column": 2 }, "end": { - "line": 290, + "line": 281, "column": 27 } } @@ -38988,143 +39008,143 @@ { "type": "CommentLine", "value": " Divisor", - "start": 6415, - "end": 6425, + "start": 6048, + "end": 6058, "loc": { "start": { - "line": 294, + "line": 285, "column": 2 }, "end": { - "line": 294, + "line": 285, "column": 12 } } }, { "type": "CommentLine", - "value": " di < dj because d != 0", - "start": 6534, - "end": 6559, + "value": " Di < dj because d != 0", + "start": 6158, + "end": 6183, "loc": { "start": { - "line": 297, - "column": 44 + "line": 288, + "column": 39 }, "end": { - "line": 297, - "column": 69 + "line": 288, + "column": 64 } } }, { "type": "CommentLine", "value": " Quotient", - "start": 6563, - "end": 6574, + "start": 6187, + "end": 6198, "loc": { "start": { - "line": 299, + "line": 290, "column": 2 }, "end": { - "line": 299, + "line": 290, "column": 13 } } }, { "type": "CommentLine", - "value": " quotient", - "start": 6738, - "end": 6749, + "value": " Quotient", + "start": 6342, + "end": 6353, "loc": { "start": { - "line": 304, - "column": 58 + "line": 295, + "column": 53 }, "end": { - "line": 304, - "column": 69 + "line": 295, + "column": 64 } } }, { "type": "CommentLine", - "value": " remainder", - "start": 6808, - "end": 6820, + "value": " Remainder", + "start": 6388, + "end": 6400, "loc": { "start": { - "line": 305, - "column": 58 + "line": 296, + "column": 34 }, "end": { - "line": 305, - "column": 70 + "line": 296, + "column": 46 } } }, { "type": "CommentLine", "value": " TODO optimize", - "start": 7028, - "end": 7044, + "start": 6551, + "end": 6567, "loc": { "start": { - "line": 313, - "column": 23 + "line": 301, + "column": 17 }, "end": { - "line": 313, - "column": 39 + "line": 301, + "column": 33 } } }, { "type": "CommentLine", "value": " TODO optimize", - "start": 7080, - "end": 7096, + "start": 6636, + "end": 6652, "loc": { "start": { - "line": 317, - "column": 17 + "line": 304, + "column": 20 }, "end": { - "line": 317, - "column": 33 + "line": 304, + "column": 36 } } }, { "type": "CommentLine", "value": " TODO optimize", - "start": 7191, - "end": 7207, + "start": 6733, + "end": 6749, "loc": { "start": { - "line": 324, - "column": 31 + "line": 308, + "column": 28 }, "end": { - "line": 324, - "column": 47 + "line": 308, + "column": 44 } } }, { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 7268, - "end": 7317, + "start": 6801, + "end": 6850, "loc": { "start": { - "line": 334, + "line": 316, "column": 2 }, "end": { - "line": 334, + "line": 316, "column": 51 } } @@ -39132,15 +39152,15 @@ { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 7673, - "end": 7722, + "start": 7177, + "end": 7226, "loc": { "start": { - "line": 353, + "line": 335, "column": 2 }, "end": { - "line": 353, + "line": 335, "column": 51 } } @@ -39148,15 +39168,15 @@ { "type": "CommentLine", "value": " TODO optimize this, there is a much faster way to test for parity", - "start": 8446, - "end": 8514, + "start": 7892, + "end": 7960, "loc": { "start": { - "line": 399, + "line": 381, "column": 2 }, "end": { - "line": 399, + "line": 381, "column": 70 } } @@ -39164,15 +39184,15 @@ { "type": "CommentLine", "value": " when the base is a multiple of two", - "start": 8517, - "end": 8554, + "start": 7963, + "end": 8000, "loc": { "start": { - "line": 400, + "line": 382, "column": 2 }, "end": { - "line": 400, + "line": 382, "column": 39 } } @@ -39180,15 +39200,15 @@ { "type": "CommentLine", "value": " TODO Once #to is implemented we can rewrite this as", - "start": 8899, - "end": 8953, + "start": 8316, + "end": 8370, "loc": { "start": { - "line": 429, + "line": 411, "column": 2 }, "end": { - "line": 429, + "line": 411, "column": 56 } } @@ -39196,15 +39216,15 @@ { "type": "CommentLine", "value": " return this.to(LITTLE_ENDIAN, base, Array) ;", - "start": 8956, - "end": 9003, + "start": 8373, + "end": 8420, "loc": { "start": { - "line": 430, + "line": 412, "column": 2 }, "end": { - "line": 430, + "line": 412, "column": 49 } } @@ -39212,15 +39232,15 @@ { "type": "CommentLine", "value": " TODO optimize", - "start": 9246, - "end": 9262, + "start": 8663, + "end": 8679, "loc": { "start": { - "line": 443, + "line": 431, "column": 2 }, "end": { - "line": 443, + "line": 431, "column": 18 } } @@ -39228,15 +39248,15 @@ { "type": "CommentLine", "value": " TODO optimize with _trim_positive", - "start": 9316, - "end": 9352, + "start": 8726, + "end": 8762, "loc": { "start": { - "line": 449, + "line": 436, "column": 2 }, "end": { - "line": 449, + "line": 436, "column": 38 } } @@ -39244,16 +39264,16 @@ { "type": "CommentLine", "value": " TODO use immutable zero", - "start": 11572, - "end": 11598, + "start": 10762, + "end": 10788, "loc": { "start": { - "line": 546, - "column": 11 + "line": 545, + "column": 3 }, "end": { - "line": 546, - "column": 37 + "line": 545, + "column": 29 } } } @@ -39325,68 +39345,16 @@ "binop": null }, "value": "DEFAULT_DISPLAY_BASE", - "start": 9, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 29 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 30, - "end": 31, + "start": 8, + "end": 28, "loc": { "start": { "line": 1, - "column": 30 - }, - "end": { - "line": 1, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "ZeroDivisionError", - "start": 32, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 32 + "column": 8 }, "end": { "line": 1, - "column": 49 + "column": 28 } } }, @@ -39402,16 +39370,16 @@ "postfix": false, "binop": null }, - "start": 50, - "end": 51, + "start": 28, + "end": 29, "loc": { "start": { "line": 1, - "column": 50 + "column": 28 }, "end": { "line": 1, - "column": 51 + "column": 29 } } }, @@ -39428,16 +39396,16 @@ "binop": null }, "value": "from", - "start": 52, - "end": 56, + "start": 30, + "end": 34, "loc": { "start": { "line": 1, - "column": 52 + "column": 30 }, "end": { "line": 1, - "column": 56 + "column": 34 } } }, @@ -39454,17 +39422,17 @@ "binop": null, "updateContext": null }, - "value": "./", - "start": 57, - "end": 61, + "value": "./DEFAULT_DISPLAY_BASE.js", + "start": 35, + "end": 62, "loc": { "start": { "line": 1, - "column": 57 + "column": 35 }, "end": { "line": 1, - "column": 61 + "column": 62 } } }, @@ -39509,15 +39477,15 @@ "updateContext": null }, "value": "import", - "start": 65, - "end": 71, + "start": 64, + "end": 70, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 3, + "line": 2, "column": 6 } } @@ -39534,15 +39502,15 @@ "postfix": false, "binop": null }, - "start": 72, - "end": 73, + "start": 71, + "end": 72, "loc": { "start": { - "line": 3, + "line": 2, "column": 7 }, "end": { - "line": 3, + "line": 2, "column": 8 } } @@ -39559,17 +39527,17 @@ "postfix": false, "binop": null }, - "value": "ValueError", - "start": 74, - "end": 84, + "value": "ZeroDivisionError", + "start": 72, + "end": 89, "loc": { "start": { - "line": 3, - "column": 9 + "line": 2, + "column": 8 }, "end": { - "line": 3, - "column": 19 + "line": 2, + "column": 25 } } }, @@ -39585,16 +39553,16 @@ "postfix": false, "binop": null }, - "start": 85, - "end": 86, + "start": 89, + "end": 90, "loc": { "start": { - "line": 3, - "column": 20 + "line": 2, + "column": 25 }, "end": { - "line": 3, - "column": 21 + "line": 2, + "column": 26 } } }, @@ -39611,16 +39579,16 @@ "binop": null }, "value": "from", - "start": 87, - "end": 91, + "start": 91, + "end": 95, "loc": { "start": { - "line": 3, - "column": 22 + "line": 2, + "column": 27 }, "end": { - "line": 3, - "column": 26 + "line": 2, + "column": 31 } } }, @@ -39637,17 +39605,17 @@ "binop": null, "updateContext": null }, - "value": "@aureooms/js-error", - "start": 92, - "end": 112, + "value": "./ZeroDivisionError.js", + "start": 96, + "end": 120, "loc": { "start": { - "line": 3, - "column": 27 + "line": 2, + "column": 32 }, "end": { - "line": 3, - "column": 47 + "line": 2, + "column": 56 } } }, @@ -39664,16 +39632,16 @@ "binop": null, "updateContext": null }, - "start": 113, - "end": 114, + "start": 120, + "end": 121, "loc": { "start": { - "line": 3, - "column": 48 + "line": 2, + "column": 56 }, "end": { - "line": 3, - "column": 49 + "line": 2, + "column": 57 } } }, @@ -39692,15 +39660,15 @@ "updateContext": null }, "value": "import", - "start": 116, - "end": 122, + "start": 123, + "end": 129, "loc": { "start": { - "line": 5, + "line": 4, "column": 0 }, "end": { - "line": 5, + "line": 4, "column": 6 } } @@ -39717,15 +39685,15 @@ "postfix": false, "binop": null }, - "start": 123, - "end": 124, + "start": 130, + "end": 131, "loc": { "start": { - "line": 5, + "line": 4, "column": 7 }, "end": { - "line": 5, + "line": 4, "column": 8 } } @@ -39742,17 +39710,17 @@ "postfix": false, "binop": null }, - "value": "_from_number", - "start": 125, - "end": 137, + "value": "ValueError", + "start": 131, + "end": 141, "loc": { "start": { - "line": 5, - "column": 9 + "line": 4, + "column": 8 }, "end": { - "line": 5, - "column": 21 + "line": 4, + "column": 18 } } }, @@ -39768,16 +39736,16 @@ "postfix": false, "binop": null }, - "start": 138, - "end": 139, + "start": 141, + "end": 142, "loc": { "start": { - "line": 5, - "column": 22 + "line": 4, + "column": 18 }, "end": { - "line": 5, - "column": 23 + "line": 4, + "column": 19 } } }, @@ -39794,232 +39762,22 @@ "binop": null }, "value": "from", - "start": 140, - "end": 144, + "start": 143, + "end": 147, "loc": { "start": { - "line": 5, - "column": 24 - }, - "end": { - "line": 5, - "column": 28 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./_from_number", - "start": 145, - "end": 161, - "loc": { - "start": { - "line": 5, - "column": 29 - }, - "end": { - "line": 5, - "column": 45 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 162, - "end": 163, - "loc": { - "start": { - "line": 5, - "column": 46 - }, - "end": { - "line": 5, - "column": 47 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 165, - "end": 171, - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 172, - "end": 173, - "loc": { - "start": { - "line": 7, - "column": 7 - }, - "end": { - "line": 7, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "stringify", - "start": 175, - "end": 184, - "loc": { - "start": { - "line": 8, - "column": 1 - }, - "end": { - "line": 8, - "column": 10 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 185, - "end": 186, - "loc": { - "start": { - "line": 8, - "column": 11 - }, - "end": { - "line": 8, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "convert", - "start": 187, - "end": 194, - "loc": { - "start": { - "line": 8, - "column": 13 - }, - "end": { - "line": 8, + "line": 4, "column": 20 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 195, - "end": 196, - "loc": { - "start": { - "line": 8, - "column": 21 }, "end": { - "line": 8, - "column": 22 + "line": 4, + "column": 24 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -40027,25 +39785,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "_trim_positive", - "start": 197, - "end": 211, + "value": "@aureooms/js-error", + "start": 148, + "end": 168, "loc": { "start": { - "line": 8, - "column": 23 + "line": 4, + "column": 25 }, "end": { - "line": 8, - "column": 37 + "line": 4, + "column": 45 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -40056,22 +39815,23 @@ "binop": null, "updateContext": null }, - "start": 212, - "end": 213, + "start": 168, + "end": 169, "loc": { "start": { - "line": 8, - "column": 38 + "line": 4, + "column": 45 }, "end": { - "line": 8, - "column": 39 + "line": 4, + "column": 46 } } }, { "type": { - "label": "name", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -40079,45 +39839,45 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "_alloc", - "start": 215, - "end": 221, + "value": "import", + "start": 171, + "end": 177, "loc": { "start": { - "line": 9, - "column": 1 + "line": 6, + "column": 0 }, "end": { - "line": 9, - "column": 7 + "line": 6, + "column": 6 } } }, { "type": { - "label": ",", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 222, - "end": 223, + "start": 178, + "end": 179, "loc": { "start": { - "line": 9, - "column": 8 + "line": 6, + "column": 7 }, "end": { - "line": 9, - "column": 9 + "line": 6, + "column": 8 } } }, @@ -40133,43 +39893,42 @@ "postfix": false, "binop": null }, - "value": "_copy", - "start": 224, - "end": 229, + "value": "_from_number", + "start": 179, + "end": 191, "loc": { "start": { - "line": 9, - "column": 10 + "line": 6, + "column": 8 }, "end": { - "line": 9, - "column": 15 + "line": 6, + "column": 20 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 230, - "end": 231, + "start": 191, + "end": 192, "loc": { "start": { - "line": 9, - "column": 16 + "line": 6, + "column": 20 }, "end": { - "line": 9, - "column": 17 + "line": 6, + "column": 21 } } }, @@ -40185,23 +39944,50 @@ "postfix": false, "binop": null }, - "value": "_zeros", - "start": 232, - "end": 238, + "value": "from", + "start": 193, + "end": 197, "loc": { "start": { - "line": 9, - "column": 18 + "line": 6, + "column": 22 }, "end": { - "line": 9, - "column": 24 + "line": 6, + "column": 26 } } }, { "type": { - "label": ",", + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./_from_number.js", + "start": 198, + "end": 217, + "loc": { + "start": { + "line": 6, + "column": 27 + }, + "end": { + "line": 6, + "column": 46 + } + } + }, + { + "type": { + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -40212,22 +39998,23 @@ "binop": null, "updateContext": null }, - "start": 239, - "end": 240, + "start": 217, + "end": 218, "loc": { "start": { - "line": 9, - "column": 25 + "line": 6, + "column": 46 }, "end": { - "line": 9, - "column": 26 + "line": 6, + "column": 47 } } }, { "type": { - "label": "name", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -40235,45 +40022,45 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "jz", - "start": 242, - "end": 244, + "value": "import", + "start": 220, + "end": 226, "loc": { "start": { - "line": 10, - "column": 1 + "line": 8, + "column": 0 }, "end": { - "line": 10, - "column": 3 + "line": 8, + "column": 6 } } }, { "type": { - "label": ",", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 245, - "end": 246, + "start": 227, + "end": 228, "loc": { "start": { - "line": 10, - "column": 4 + "line": 8, + "column": 7 }, "end": { - "line": 10, - "column": 5 + "line": 8, + "column": 8 } } }, @@ -40289,17 +40076,17 @@ "postfix": false, "binop": null }, - "value": "cmp", - "start": 247, - "end": 250, + "value": "stringify", + "start": 230, + "end": 239, "loc": { "start": { - "line": 10, - "column": 6 + "line": 9, + "column": 1 }, "end": { - "line": 10, - "column": 9 + "line": 9, + "column": 10 } } }, @@ -40316,15 +40103,15 @@ "binop": null, "updateContext": null }, - "start": 251, - "end": 252, + "start": 239, + "end": 240, "loc": { "start": { - "line": 10, + "line": 9, "column": 10 }, "end": { - "line": 10, + "line": 9, "column": 11 } } @@ -40341,17 +40128,17 @@ "postfix": false, "binop": null }, - "value": "eq", - "start": 253, - "end": 255, + "value": "convert", + "start": 242, + "end": 249, "loc": { "start": { "line": 10, - "column": 12 + "column": 1 }, "end": { "line": 10, - "column": 14 + "column": 8 } } }, @@ -40368,16 +40155,16 @@ "binop": null, "updateContext": null }, - "start": 256, - "end": 257, + "start": 249, + "end": 250, "loc": { "start": { "line": 10, - "column": 15 + "column": 8 }, "end": { "line": 10, - "column": 16 + "column": 9 } } }, @@ -40393,9 +40180,9 @@ "postfix": false, "binop": null }, - "value": "add", - "start": 259, - "end": 262, + "value": "_trim_positive", + "start": 252, + "end": 266, "loc": { "start": { "line": 11, @@ -40403,7 +40190,7 @@ }, "end": { "line": 11, - "column": 4 + "column": 15 } } }, @@ -40420,16 +40207,16 @@ "binop": null, "updateContext": null }, - "start": 263, - "end": 264, + "start": 266, + "end": 267, "loc": { "start": { "line": 11, - "column": 5 + "column": 15 }, "end": { "line": 11, - "column": 6 + "column": 16 } } }, @@ -40445,17 +40232,17 @@ "postfix": false, "binop": null }, - "value": "_sub", - "start": 265, - "end": 269, + "value": "_alloc", + "start": 269, + "end": 275, "loc": { "start": { - "line": 11, - "column": 7 + "line": 12, + "column": 1 }, "end": { - "line": 11, - "column": 11 + "line": 12, + "column": 7 } } }, @@ -40472,16 +40259,16 @@ "binop": null, "updateContext": null }, - "start": 270, - "end": 271, + "start": 275, + "end": 276, "loc": { "start": { - "line": 11, - "column": 12 + "line": 12, + "column": 7 }, "end": { - "line": 11, - "column": 13 + "line": 12, + "column": 8 } } }, @@ -40497,17 +40284,17 @@ "postfix": false, "binop": null }, - "value": "mul", - "start": 272, - "end": 275, + "value": "_copy", + "start": 278, + "end": 283, "loc": { "start": { - "line": 11, - "column": 14 + "line": 13, + "column": 1 }, "end": { - "line": 11, - "column": 17 + "line": 13, + "column": 6 } } }, @@ -40524,16 +40311,16 @@ "binop": null, "updateContext": null }, - "start": 276, - "end": 277, + "start": 283, + "end": 284, "loc": { "start": { - "line": 11, - "column": 18 + "line": 13, + "column": 6 }, "end": { - "line": 11, - "column": 19 + "line": 13, + "column": 7 } } }, @@ -40549,17 +40336,17 @@ "postfix": false, "binop": null }, - "value": "_idivmod", - "start": 278, - "end": 286, + "value": "_zeros", + "start": 286, + "end": 292, "loc": { "start": { - "line": 11, - "column": 20 + "line": 14, + "column": 1 }, "end": { - "line": 11, - "column": 28 + "line": 14, + "column": 7 } } }, @@ -40576,16 +40363,16 @@ "binop": null, "updateContext": null }, - "start": 287, - "end": 288, + "start": 292, + "end": 293, "loc": { "start": { - "line": 11, - "column": 29 + "line": 14, + "column": 7 }, "end": { - "line": 11, - "column": 30 + "line": 14, + "column": 8 } } }, @@ -40601,17 +40388,17 @@ "postfix": false, "binop": null }, - "value": "_pow_double", - "start": 289, - "end": 300, + "value": "jz", + "start": 295, + "end": 297, "loc": { "start": { - "line": 11, - "column": 31 + "line": 15, + "column": 1 }, "end": { - "line": 11, - "column": 42 + "line": 15, + "column": 3 } } }, @@ -40628,16 +40415,16 @@ "binop": null, "updateContext": null }, - "start": 301, - "end": 302, + "start": 297, + "end": 298, "loc": { "start": { - "line": 11, - "column": 43 + "line": 15, + "column": 3 }, "end": { - "line": 11, - "column": 44 + "line": 15, + "column": 4 } } }, @@ -40653,17 +40440,17 @@ "postfix": false, "binop": null }, - "value": "increment", - "start": 304, - "end": 313, + "value": "cmp", + "start": 300, + "end": 303, "loc": { "start": { - "line": 12, + "line": 16, "column": 1 }, "end": { - "line": 12, - "column": 10 + "line": 16, + "column": 4 } } }, @@ -40680,16 +40467,16 @@ "binop": null, "updateContext": null }, - "start": 314, - "end": 315, + "start": 303, + "end": 304, "loc": { "start": { - "line": 12, - "column": 11 + "line": 16, + "column": 4 }, "end": { - "line": 12, - "column": 12 + "line": 16, + "column": 5 } } }, @@ -40705,17 +40492,17 @@ "postfix": false, "binop": null }, - "value": "euclidean_algorithm", - "start": 317, - "end": 336, + "value": "eq", + "start": 306, + "end": 308, "loc": { "start": { - "line": 13, + "line": 17, "column": 1 }, "end": { - "line": 13, - "column": 20 + "line": 17, + "column": 3 } } }, @@ -40732,16 +40519,16 @@ "binop": null, "updateContext": null }, - "start": 337, - "end": 338, + "start": 308, + "end": 309, "loc": { "start": { - "line": 13, - "column": 21 + "line": 17, + "column": 3 }, "end": { - "line": 13, - "column": 22 + "line": 17, + "column": 4 } } }, @@ -40757,17 +40544,17 @@ "postfix": false, "binop": null }, - "value": "extended_euclidean_algorithm", - "start": 339, - "end": 367, + "value": "add", + "start": 311, + "end": 314, "loc": { "start": { - "line": 13, - "column": 23 + "line": 18, + "column": 1 }, "end": { - "line": 13, - "column": 51 + "line": 18, + "column": 4 } } }, @@ -40784,24 +40571,24 @@ "binop": null, "updateContext": null }, - "start": 368, - "end": 369, + "start": 314, + "end": 315, "loc": { "start": { - "line": 13, - "column": 52 + "line": 18, + "column": 4 }, "end": { - "line": 13, - "column": 53 + "line": 18, + "column": 5 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -40809,48 +40596,49 @@ "postfix": false, "binop": null }, - "start": 370, - "end": 371, + "value": "_sub", + "start": 317, + "end": 321, "loc": { "start": { - "line": 14, - "column": 0 + "line": 19, + "column": 1 }, "end": { - "line": 14, - "column": 1 + "line": 19, + "column": 5 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "from", - "start": 372, - "end": 376, + "start": 321, + "end": 322, "loc": { "start": { - "line": 14, - "column": 2 + "line": 19, + "column": 5 }, "end": { - "line": 14, + "line": 19, "column": 6 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -40858,26 +40646,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "@aureooms/js-integer-big-endian", - "start": 377, - "end": 410, + "value": "mul", + "start": 324, + "end": 327, "loc": { "start": { - "line": 14, - "column": 7 + "line": 20, + "column": 1 }, "end": { - "line": 14, - "column": 40 + "line": 20, + "column": 4 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -40888,23 +40675,22 @@ "binop": null, "updateContext": null }, - "start": 411, - "end": 412, + "start": 327, + "end": 328, "loc": { "start": { - "line": 14, - "column": 41 + "line": 20, + "column": 4 }, "end": { - "line": 14, - "column": 42 + "line": 20, + "column": 5 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -40912,45 +40698,45 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "import", - "start": 414, - "end": 420, + "value": "_idivmod", + "start": 330, + "end": 338, "loc": { "start": { - "line": 16, - "column": 0 + "line": 21, + "column": 1 }, "end": { - "line": 16, - "column": 6 + "line": 21, + "column": 9 } } }, { "type": { - "label": "{", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 421, - "end": 422, + "start": 338, + "end": 339, "loc": { "start": { - "line": 16, - "column": 7 + "line": 21, + "column": 9 }, "end": { - "line": 16, - "column": 8 + "line": 21, + "column": 10 } } }, @@ -40966,17 +40752,17 @@ "postfix": false, "binop": null }, - "value": "MIN_NUMBER", - "start": 423, - "end": 433, + "value": "_pow_double", + "start": 341, + "end": 352, "loc": { "start": { - "line": 16, - "column": 9 + "line": 22, + "column": 1 }, "end": { - "line": 16, - "column": 19 + "line": 22, + "column": 12 } } }, @@ -40993,16 +40779,16 @@ "binop": null, "updateContext": null }, - "start": 434, - "end": 435, + "start": 352, + "end": 353, "loc": { "start": { - "line": 16, - "column": 20 + "line": 22, + "column": 12 }, "end": { - "line": 16, - "column": 21 + "line": 22, + "column": 13 } } }, @@ -41018,17 +40804,17 @@ "postfix": false, "binop": null }, - "value": "MAX_NUMBER", - "start": 436, - "end": 446, + "value": "increment", + "start": 355, + "end": 364, "loc": { "start": { - "line": 16, - "column": 22 + "line": 23, + "column": 1 }, "end": { - "line": 16, - "column": 32 + "line": 23, + "column": 10 } } }, @@ -41045,16 +40831,16 @@ "binop": null, "updateContext": null }, - "start": 447, - "end": 448, + "start": 364, + "end": 365, "loc": { "start": { - "line": 16, - "column": 33 + "line": 23, + "column": 10 }, "end": { - "line": 16, - "column": 34 + "line": 23, + "column": 11 } } }, @@ -41070,42 +40856,43 @@ "postfix": false, "binop": null }, - "value": "MAX_BASE", - "start": 449, - "end": 457, + "value": "euclidean_algorithm", + "start": 367, + "end": 386, "loc": { "start": { - "line": 16, - "column": 35 + "line": 24, + "column": 1 }, "end": { - "line": 16, - "column": 43 + "line": 24, + "column": 20 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 458, - "end": 459, + "start": 386, + "end": 387, "loc": { "start": { - "line": 16, - "column": 44 + "line": 24, + "column": 20 }, "end": { - "line": 16, - "column": 45 + "line": 24, + "column": 21 } } }, @@ -41121,50 +40908,23 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 460, - "end": 464, - "loc": { - "start": { - "line": 16, - "column": 46 - }, - "end": { - "line": 16, - "column": 50 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./_limits", - "start": 465, - "end": 476, + "value": "extended_euclidean_algorithm", + "start": 389, + "end": 417, "loc": { "start": { - "line": 16, - "column": 51 + "line": 25, + "column": 1 }, "end": { - "line": 16, - "column": 62 + "line": 25, + "column": 29 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -41175,23 +40935,22 @@ "binop": null, "updateContext": null }, - "start": 477, - "end": 478, + "start": 417, + "end": 418, "loc": { "start": { - "line": 16, - "column": 63 + "line": 25, + "column": 29 }, "end": { - "line": 16, - "column": 64 + "line": 25, + "column": 30 } } }, { "type": { - "label": "export", - "keyword": "export", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -41199,54 +40958,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "export", - "start": 480, - "end": 486, + "start": 419, + "end": 420, "loc": { "start": { - "line": 18, + "line": 26, "column": 0 }, "end": { - "line": 18, - "column": 6 + "line": 26, + "column": 1 } } }, { "type": { - "label": "class", - "keyword": "class", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "class", - "start": 487, - "end": 492, + "value": "from", + "start": 421, + "end": 425, "loc": { "start": { - "line": 18, - "column": 7 + "line": 26, + "column": 2 }, "end": { - "line": 18, - "column": 12 + "line": 26, + "column": 6 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -41254,50 +41009,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Integer", - "start": 493, - "end": 500, + "value": "@aureooms/js-integer-big-endian", + "start": 426, + "end": 459, "loc": { "start": { - "line": 18, - "column": 13 + "line": 26, + "column": 7 }, "end": { - "line": 18, - "column": 20 + "line": 26, + "column": 40 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 501, - "end": 502, + "start": 459, + "end": 460, "loc": { "start": { - "line": 18, - "column": 21 + "line": 26, + "column": 40 }, "end": { - "line": 18, - "column": 22 + "line": 26, + "column": 41 } } }, { "type": { - "label": "name", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -41305,25 +41063,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "constructor", - "start": 505, - "end": 516, + "value": "import", + "start": 462, + "end": 468, "loc": { "start": { - "line": 20, - "column": 1 + "line": 28, + "column": 0 }, "end": { - "line": 20, - "column": 12 + "line": 28, + "column": 6 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -41333,16 +41092,16 @@ "postfix": false, "binop": null }, - "start": 517, - "end": 518, + "start": 469, + "end": 470, "loc": { "start": { - "line": 20, - "column": 13 + "line": 28, + "column": 7 }, "end": { - "line": 20, - "column": 14 + "line": 28, + "column": 8 } } }, @@ -41358,17 +41117,17 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 519, - "end": 523, + "value": "MIN_NUMBER", + "start": 470, + "end": 480, "loc": { "start": { - "line": 20, - "column": 15 + "line": 28, + "column": 8 }, "end": { - "line": 20, - "column": 19 + "line": 28, + "column": 18 } } }, @@ -41385,16 +41144,16 @@ "binop": null, "updateContext": null }, - "start": 524, - "end": 525, + "start": 480, + "end": 481, "loc": { "start": { - "line": 20, - "column": 20 + "line": 28, + "column": 18 }, "end": { - "line": 20, - "column": 21 + "line": 28, + "column": 19 } } }, @@ -41410,17 +41169,17 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 526, - "end": 537, + "value": "MAX_NUMBER", + "start": 482, + "end": 492, "loc": { "start": { - "line": 20, - "column": 22 + "line": 28, + "column": 20 }, "end": { - "line": 20, - "column": 33 + "line": 28, + "column": 30 } } }, @@ -41437,16 +41196,16 @@ "binop": null, "updateContext": null }, - "start": 538, - "end": 539, + "start": 492, + "end": 493, "loc": { "start": { - "line": 20, - "column": 34 + "line": 28, + "column": 30 }, "end": { - "line": 20, - "column": 35 + "line": 28, + "column": 31 } } }, @@ -41462,23 +41221,23 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 540, - "end": 545, + "value": "MAX_BASE", + "start": 494, + "end": 502, "loc": { "start": { - "line": 20, - "column": 36 + "line": 28, + "column": 32 }, "end": { - "line": 20, - "column": 41 + "line": 28, + "column": 40 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -41488,23 +41247,23 @@ "postfix": false, "binop": null }, - "start": 546, - "end": 547, + "start": 502, + "end": 503, "loc": { "start": { - "line": 20, - "column": 42 + "line": 28, + "column": 40 }, "end": { - "line": 20, - "column": 43 + "line": 28, + "column": 41 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -41513,23 +41272,23 @@ "postfix": false, "binop": null }, - "start": 548, - "end": 549, + "value": "from", + "start": 504, + "end": 508, "loc": { "start": { - "line": 20, - "column": 44 + "line": 28, + "column": 42 }, "end": { - "line": 20, - "column": 45 + "line": 28, + "column": 46 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -41540,24 +41299,24 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 552, - "end": 556, + "value": "./_limits.js", + "start": 509, + "end": 523, "loc": { "start": { - "line": 21, - "column": 2 + "line": 28, + "column": 47 }, "end": { - "line": 21, - "column": 6 + "line": 28, + "column": 61 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -41567,69 +41326,72 @@ "binop": null, "updateContext": null }, - "start": 556, - "end": 557, + "start": 523, + "end": 524, "loc": { "start": { - "line": 21, - "column": 6 + "line": 28, + "column": 61 }, "end": { - "line": 21, - "column": 7 + "line": 28, + "column": 62 } } }, { "type": { - "label": "name", + "label": "export", + "keyword": "export", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "base", - "start": 557, - "end": 561, + "value": "export", + "start": 526, + "end": 532, "loc": { "start": { - "line": 21, - "column": 7 + "line": 30, + "column": 0 }, "end": { - "line": 21, - "column": 11 + "line": 30, + "column": 6 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "class", + "keyword": "class", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 562, - "end": 563, + "value": "class", + "start": 533, + "end": 538, "loc": { "start": { - "line": 21, - "column": 12 + "line": 30, + "column": 7 }, "end": { - "line": 21, - "column": 13 + "line": 30, + "column": 12 } } }, @@ -41645,50 +41407,48 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 564, - "end": 568, + "value": "Integer", + "start": 539, + "end": 546, "loc": { "start": { - "line": 21, - "column": 14 + "line": 30, + "column": 13 }, "end": { - "line": 21, - "column": 18 + "line": 30, + "column": 20 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 569, - "end": 570, + "start": 547, + "end": 548, "loc": { "start": { - "line": 21, - "column": 19 + "line": 30, + "column": 21 }, "end": { - "line": 21, - "column": 20 + "line": 30, + "column": 22 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -41696,46 +41456,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 573, - "end": 577, + "value": "constructor", + "start": 550, + "end": 561, "loc": { "start": { - "line": 22, - "column": 2 + "line": 31, + "column": 1 }, "end": { - "line": 22, - "column": 6 + "line": 31, + "column": 12 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 577, - "end": 578, + "start": 561, + "end": 562, "loc": { "start": { - "line": 22, - "column": 6 + "line": 31, + "column": 12 }, "end": { - "line": 22, - "column": 7 + "line": 31, + "column": 13 } } }, @@ -41751,44 +41509,43 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 578, - "end": 589, + "value": "base", + "start": 562, + "end": 566, "loc": { "start": { - "line": 22, - "column": 7 + "line": 31, + "column": 13 }, "end": { - "line": 22, - "column": 18 + "line": 31, + "column": 17 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 590, - "end": 591, + "start": 566, + "end": 567, "loc": { "start": { - "line": 22, - "column": 19 + "line": 31, + "column": 17 }, "end": { - "line": 22, - "column": 20 + "line": 31, + "column": 18 } } }, @@ -41805,22 +41562,22 @@ "binop": null }, "value": "is_negative", - "start": 592, - "end": 603, + "start": 568, + "end": 579, "loc": { "start": { - "line": 22, - "column": 21 + "line": 31, + "column": 19 }, "end": { - "line": 22, - "column": 32 + "line": 31, + "column": 30 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -41831,23 +41588,22 @@ "binop": null, "updateContext": null }, - "start": 604, - "end": 605, + "start": 579, + "end": 580, "loc": { "start": { - "line": 22, - "column": 33 + "line": 31, + "column": 30 }, "end": { - "line": 22, - "column": 34 + "line": 31, + "column": 31 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -41855,26 +41611,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 608, - "end": 612, + "value": "limbs", + "start": 581, + "end": 586, "loc": { "start": { - "line": 23, - "column": 2 + "line": 31, + "column": 32 }, "end": { - "line": 23, - "column": 6 + "line": 31, + "column": 37 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -41882,26 +41637,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 612, - "end": 613, + "start": 586, + "end": 587, "loc": { "start": { - "line": 23, - "column": 6 + "line": 31, + "column": 37 }, "end": { - "line": 23, - "column": 7 + "line": 31, + "column": 38 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -41910,121 +41664,123 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 613, - "end": 618, + "start": 588, + "end": 589, "loc": { "start": { - "line": 23, - "column": 7 + "line": 31, + "column": 39 }, "end": { - "line": 23, - "column": 12 + "line": 31, + "column": 40 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 619, - "end": 620, + "value": "this", + "start": 592, + "end": 596, "loc": { "start": { - "line": 23, - "column": 13 + "line": 32, + "column": 2 }, "end": { - "line": 23, - "column": 14 + "line": 32, + "column": 6 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "limbs", - "start": 621, - "end": 626, + "start": 596, + "end": 597, "loc": { "start": { - "line": 23, - "column": 15 + "line": 32, + "column": 6 }, "end": { - "line": 23, - "column": 20 + "line": 32, + "column": 7 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 627, - "end": 628, + "value": "_base", + "start": 597, + "end": 602, "loc": { "start": { - "line": 23, - "column": 21 + "line": 32, + "column": 7 }, "end": { - "line": 23, - "column": 22 + "line": 32, + "column": 12 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 630, - "end": 631, + "value": "=", + "start": 603, + "end": 604, "loc": { "start": { - "line": 24, - "column": 1 + "line": 32, + "column": 13 }, "end": { - "line": 24, - "column": 2 + "line": 32, + "column": 14 } } }, @@ -42040,48 +41796,50 @@ "postfix": false, "binop": null }, - "value": "move", - "start": 634, - "end": 638, + "value": "base", + "start": 605, + "end": 609, "loc": { "start": { - "line": 26, - "column": 1 + "line": 32, + "column": 15 }, "end": { - "line": 26, - "column": 5 + "line": 32, + "column": 19 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 639, - "end": 640, + "start": 609, + "end": 610, "loc": { "start": { - "line": 26, - "column": 6 + "line": 32, + "column": 19 }, "end": { - "line": 26, - "column": 7 + "line": 32, + "column": 20 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -42089,25 +41847,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "other", - "start": 641, - "end": 646, + "value": "this", + "start": 613, + "end": 617, "loc": { "start": { - "line": 26, - "column": 8 + "line": 33, + "column": 2 }, "end": { - "line": 26, - "column": 13 + "line": 33, + "column": 6 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -42115,43 +41874,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "start": 647, - "end": 648, - "loc": { - "start": { - "line": 26, - "column": 14 - }, - "end": { - "line": 26, - "column": 15 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 649, - "end": 650, + "start": 617, + "end": 618, "loc": { "start": { - "line": 26, - "column": 16 + "line": 33, + "column": 6 }, "end": { - "line": 26, - "column": 17 + "line": 33, + "column": 7 } } }, @@ -42167,43 +41902,44 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 653, - "end": 658, + "value": "_is_negative", + "start": 618, + "end": 630, "loc": { "start": { - "line": 27, - "column": 2 + "line": 33, + "column": 7 }, "end": { - "line": 27, - "column": 7 + "line": 33, + "column": 19 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 658, - "end": 659, + "value": "=", + "start": 631, + "end": 632, "loc": { "start": { - "line": 27, - "column": 7 + "line": 33, + "column": 20 }, "end": { - "line": 27, - "column": 8 + "line": 33, + "column": 21 } } }, @@ -42219,44 +41955,43 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 659, - "end": 663, + "value": "is_negative", + "start": 633, + "end": 644, "loc": { "start": { - "line": 27, - "column": 8 + "line": 33, + "column": 22 }, "end": { - "line": 27, - "column": 12 + "line": 33, + "column": 33 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 664, - "end": 665, + "start": 644, + "end": 645, "loc": { "start": { - "line": 27, - "column": 13 + "line": 33, + "column": 33 }, "end": { - "line": 27, - "column": 14 + "line": 33, + "column": 34 } } }, @@ -42275,16 +42010,16 @@ "updateContext": null }, "value": "this", - "start": 666, - "end": 670, + "start": 648, + "end": 652, "loc": { "start": { - "line": 27, - "column": 15 + "line": 34, + "column": 2 }, "end": { - "line": 27, - "column": 19 + "line": 34, + "column": 6 } } }, @@ -42301,16 +42036,16 @@ "binop": null, "updateContext": null }, - "start": 670, - "end": 671, + "start": 652, + "end": 653, "loc": { "start": { - "line": 27, - "column": 19 + "line": 34, + "column": 6 }, "end": { - "line": 27, - "column": 20 + "line": 34, + "column": 7 } } }, @@ -42326,43 +42061,44 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 671, - "end": 675, + "value": "_limbs", + "start": 653, + "end": 659, "loc": { "start": { - "line": 27, - "column": 20 + "line": 34, + "column": 7 }, "end": { - "line": 27, - "column": 24 + "line": 34, + "column": 13 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 676, - "end": 677, + "value": "=", + "start": 660, + "end": 661, "loc": { "start": { - "line": 27, - "column": 25 + "line": 34, + "column": 14 }, "end": { - "line": 27, - "column": 26 + "line": 34, + "column": 15 } } }, @@ -42378,24 +42114,24 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 680, - "end": 685, + "value": "limbs", + "start": 662, + "end": 667, "loc": { "start": { - "line": 28, - "column": 2 + "line": 34, + "column": 16 }, "end": { - "line": 28, - "column": 7 + "line": 34, + "column": 21 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -42405,24 +42141,24 @@ "binop": null, "updateContext": null }, - "start": 685, - "end": 686, + "start": 667, + "end": 668, "loc": { "start": { - "line": 28, - "column": 7 + "line": 34, + "column": 21 }, "end": { - "line": 28, - "column": 8 + "line": 34, + "column": 22 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -42430,106 +42166,101 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 686, - "end": 697, + "start": 670, + "end": 671, "loc": { "start": { - "line": 28, - "column": 8 + "line": 35, + "column": 1 }, "end": { - "line": 28, - "column": 19 + "line": 35, + "column": 2 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 698, - "end": 699, + "value": "move", + "start": 674, + "end": 678, "loc": { "start": { - "line": 28, - "column": 20 + "line": 37, + "column": 1 }, "end": { - "line": 28, - "column": 21 + "line": 37, + "column": 5 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 700, - "end": 704, + "start": 678, + "end": 679, "loc": { "start": { - "line": 28, - "column": 22 + "line": 37, + "column": 5 }, "end": { - "line": 28, - "column": 26 + "line": 37, + "column": 6 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 704, - "end": 705, + "value": "other", + "start": 679, + "end": 684, "loc": { "start": { - "line": 28, - "column": 26 + "line": 37, + "column": 6 }, "end": { - "line": 28, - "column": 27 + "line": 37, + "column": 11 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -42537,43 +42268,41 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 705, - "end": 716, + "start": 684, + "end": 685, "loc": { "start": { - "line": 28, - "column": 27 + "line": 37, + "column": 11 }, "end": { - "line": 28, - "column": 38 + "line": 37, + "column": 12 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 717, - "end": 718, + "start": 686, + "end": 687, "loc": { "start": { - "line": 28, - "column": 39 + "line": 37, + "column": 13 }, "end": { - "line": 28, - "column": 40 + "line": 37, + "column": 14 } } }, @@ -42590,15 +42319,15 @@ "binop": null }, "value": "other", - "start": 721, - "end": 726, + "start": 690, + "end": 695, "loc": { "start": { - "line": 29, + "line": 38, "column": 2 }, "end": { - "line": 29, + "line": 38, "column": 7 } } @@ -42616,15 +42345,15 @@ "binop": null, "updateContext": null }, - "start": 726, - "end": 727, + "start": 695, + "end": 696, "loc": { "start": { - "line": 29, + "line": 38, "column": 7 }, "end": { - "line": 29, + "line": 38, "column": 8 } } @@ -42641,16 +42370,16 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 727, - "end": 732, + "value": "_base", + "start": 696, + "end": 701, "loc": { "start": { - "line": 29, + "line": 38, "column": 8 }, "end": { - "line": 29, + "line": 38, "column": 13 } } @@ -42669,15 +42398,15 @@ "updateContext": null }, "value": "=", - "start": 733, - "end": 734, + "start": 702, + "end": 703, "loc": { "start": { - "line": 29, + "line": 38, "column": 14 }, "end": { - "line": 29, + "line": 38, "column": 15 } } @@ -42697,15 +42426,15 @@ "updateContext": null }, "value": "this", - "start": 735, - "end": 739, + "start": 704, + "end": 708, "loc": { "start": { - "line": 29, + "line": 38, "column": 16 }, "end": { - "line": 29, + "line": 38, "column": 20 } } @@ -42723,15 +42452,15 @@ "binop": null, "updateContext": null }, - "start": 739, - "end": 740, + "start": 708, + "end": 709, "loc": { "start": { - "line": 29, + "line": 38, "column": 20 }, "end": { - "line": 29, + "line": 38, "column": 21 } } @@ -42748,16 +42477,16 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 740, - "end": 745, + "value": "_base", + "start": 709, + "end": 714, "loc": { "start": { - "line": 29, + "line": 38, "column": 21 }, "end": { - "line": 29, + "line": 38, "column": 26 } } @@ -42775,44 +42504,16 @@ "binop": null, "updateContext": null }, - "start": 746, - "end": 747, - "loc": { - "start": { - "line": 29, - "column": 27 - }, - "end": { - "line": 29, - "column": 28 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 750, - "end": 756, + "start": 714, + "end": 715, "loc": { "start": { - "line": 30, - "column": 2 + "line": 38, + "column": 26 }, "end": { - "line": 30, - "column": 8 + "line": 38, + "column": 27 } } }, @@ -42829,23 +42530,23 @@ "binop": null }, "value": "other", - "start": 757, - "end": 762, + "start": 718, + "end": 723, "loc": { "start": { - "line": 30, - "column": 9 + "line": 39, + "column": 2 }, "end": { - "line": 30, - "column": 14 + "line": 39, + "column": 7 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -42855,41 +42556,16 @@ "binop": null, "updateContext": null }, - "start": 763, - "end": 764, - "loc": { - "start": { - "line": 30, - "column": 15 - }, - "end": { - "line": 30, - "column": 16 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 766, - "end": 767, + "start": 723, + "end": 724, "loc": { "start": { - "line": 31, - "column": 1 + "line": 39, + "column": 7 }, "end": { - "line": 31, - "column": 2 + "line": 39, + "column": 8 } } }, @@ -42905,129 +42581,80 @@ "postfix": false, "binop": null }, - "value": "clone", - "start": 770, - "end": 775, + "value": "_is_negative", + "start": 724, + "end": 736, "loc": { "start": { - "line": 33, - "column": 1 + "line": 39, + "column": 8 }, "end": { - "line": 33, - "column": 6 + "line": 39, + "column": 20 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 776, - "end": 777, - "loc": { - "start": { - "line": 33, - "column": 7 - }, - "end": { - "line": 33, - "column": 8 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 778, - "end": 779, + "value": "=", + "start": 737, + "end": 738, "loc": { "start": { - "line": 33, - "column": 9 + "line": 39, + "column": 21 }, "end": { - "line": 33, - "column": 10 + "line": 39, + "column": 22 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "this", + "keyword": "this", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "start": 780, - "end": 781, - "loc": { - "start": { - "line": 33, - "column": 11 - }, - "end": { - "line": 33, - "column": 12 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "value": "return", - "start": 784, - "end": 790, + "value": "this", + "start": 739, + "end": 743, "loc": { "start": { - "line": 34, - "column": 2 + "line": 39, + "column": 23 }, "end": { - "line": 34, - "column": 8 + "line": 39, + "column": 27 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -43036,17 +42663,16 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 791, - "end": 794, + "start": 743, + "end": 744, "loc": { "start": { - "line": 34, - "column": 9 + "line": 39, + "column": 27 }, "end": { - "line": 34, - "column": 12 + "line": 39, + "column": 28 } } }, @@ -43062,49 +42688,49 @@ "postfix": false, "binop": null }, - "value": "Integer", - "start": 795, - "end": 802, + "value": "_is_negative", + "start": 744, + "end": 756, "loc": { "start": { - "line": 34, - "column": 13 + "line": 39, + "column": 28 }, "end": { - "line": 34, - "column": 20 + "line": 39, + "column": 40 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 802, - "end": 803, + "start": 756, + "end": 757, "loc": { "start": { - "line": 34, - "column": 20 + "line": 39, + "column": 40 }, "end": { - "line": 34, - "column": 21 + "line": 39, + "column": 41 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -43112,20 +42738,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 804, - "end": 808, + "value": "other", + "start": 760, + "end": 765, "loc": { "start": { - "line": 34, - "column": 22 + "line": 40, + "column": 2 }, "end": { - "line": 34, - "column": 26 + "line": 40, + "column": 7 } } }, @@ -43142,16 +42767,16 @@ "binop": null, "updateContext": null }, - "start": 808, - "end": 809, + "start": 765, + "end": 766, "loc": { "start": { - "line": 34, - "column": 26 + "line": 40, + "column": 7 }, "end": { - "line": 34, - "column": 27 + "line": 40, + "column": 8 } } }, @@ -43167,43 +42792,44 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 809, - "end": 813, + "value": "_limbs", + "start": 766, + "end": 772, "loc": { "start": { - "line": 34, - "column": 27 + "line": 40, + "column": 8 }, "end": { - "line": 34, - "column": 31 + "line": 40, + "column": 14 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 814, - "end": 815, + "value": "=", + "start": 773, + "end": 774, "loc": { "start": { - "line": 34, - "column": 32 + "line": 40, + "column": 15 }, "end": { - "line": 34, - "column": 33 + "line": 40, + "column": 16 } } }, @@ -43222,75 +42848,23 @@ "updateContext": null }, "value": "this", - "start": 816, - "end": 820, - "loc": { - "start": { - "line": 34, - "column": 34 - }, - "end": { - "line": 34, - "column": 38 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 820, - "end": 821, - "loc": { - "start": { - "line": 34, - "column": 38 - }, - "end": { - "line": 34, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "is_negative", - "start": 821, - "end": 832, + "start": 775, + "end": 779, "loc": { - "start": { - "line": 34, - "column": 39 + "start": { + "line": 40, + "column": 17 }, "end": { - "line": 34, - "column": 50 + "line": 40, + "column": 21 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -43300,23 +42874,22 @@ "binop": null, "updateContext": null }, - "start": 833, - "end": 834, + "start": 779, + "end": 780, "loc": { "start": { - "line": 34, - "column": 51 + "line": 40, + "column": 21 }, "end": { - "line": 34, - "column": 52 + "line": 40, + "column": 22 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -43324,27 +42897,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 835, - "end": 839, + "value": "_limbs", + "start": 780, + "end": 786, "loc": { "start": { - "line": 34, - "column": 53 + "line": 40, + "column": 22 }, "end": { - "line": 34, - "column": 57 + "line": 40, + "column": 28 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -43354,50 +42926,52 @@ "binop": null, "updateContext": null }, - "start": 839, - "end": 840, + "start": 786, + "end": 787, "loc": { "start": { - "line": 34, - "column": 57 + "line": 40, + "column": 28 }, "end": { - "line": 34, - "column": 58 + "line": 40, + "column": 29 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "limbs", - "start": 840, - "end": 845, + "value": "return", + "start": 790, + "end": 796, "loc": { "start": { - "line": 34, - "column": 58 + "line": 41, + "column": 2 }, "end": { - "line": 34, - "column": 63 + "line": 41, + "column": 8 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -43405,16 +42979,17 @@ "postfix": false, "binop": null }, - "start": 846, - "end": 847, + "value": "other", + "start": 797, + "end": 802, "loc": { "start": { - "line": 34, - "column": 64 + "line": 41, + "column": 9 }, "end": { - "line": 34, - "column": 65 + "line": 41, + "column": 14 } } }, @@ -43431,16 +43006,16 @@ "binop": null, "updateContext": null }, - "start": 848, - "end": 849, + "start": 802, + "end": 803, "loc": { "start": { - "line": 34, - "column": 66 + "line": 41, + "column": 14 }, "end": { - "line": 34, - "column": 67 + "line": 41, + "column": 15 } } }, @@ -43456,15 +43031,15 @@ "postfix": false, "binop": null }, - "start": 851, - "end": 852, + "start": 805, + "end": 806, "loc": { "start": { - "line": 35, + "line": 42, "column": 1 }, "end": { - "line": 35, + "line": 42, "column": 2 } } @@ -43481,17 +43056,17 @@ "postfix": false, "binop": null }, - "value": "_limbs_in_base", - "start": 855, - "end": 869, + "value": "clone", + "start": 809, + "end": 814, "loc": { "start": { - "line": 37, + "line": 44, "column": 1 }, "end": { - "line": 37, - "column": 15 + "line": 44, + "column": 6 } } }, @@ -43507,24 +43082,24 @@ "postfix": false, "binop": null }, - "start": 870, - "end": 871, + "start": 814, + "end": 815, "loc": { "start": { - "line": 37, - "column": 16 + "line": 44, + "column": 6 }, "end": { - "line": 37, - "column": 17 + "line": 44, + "column": 7 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -43532,25 +43107,24 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 872, - "end": 876, + "start": 815, + "end": 816, "loc": { "start": { - "line": 37, - "column": 18 + "line": 44, + "column": 7 }, "end": { - "line": 37, - "column": 22 + "line": 44, + "column": 8 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -43558,85 +43132,98 @@ "postfix": false, "binop": null }, - "start": 877, - "end": 878, + "start": 817, + "end": 818, "loc": { "start": { - "line": 37, - "column": 23 + "line": 44, + "column": 9 }, "end": { - "line": 37, - "column": 24 + "line": 44, + "column": 10 } } }, { "type": { - "label": "{", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 879, - "end": 880, + "value": "return", + "start": 821, + "end": 827, "loc": { "start": { - "line": 37, - "column": 25 + "line": 45, + "column": 2 }, "end": { - "line": 37, - "column": 26 + "line": 45, + "column": 8 } } }, { - "type": "CommentLine", - "value": " TODO save result for later ? Maybe replace base ?", - "start": 883, - "end": 935, + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 828, + "end": 831, "loc": { "start": { - "line": 38, - "column": 2 + "line": 45, + "column": 9 }, "end": { - "line": 38, - "column": 54 + "line": 45, + "column": 12 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 938, - "end": 940, + "value": "Integer", + "start": 832, + "end": 839, "loc": { "start": { - "line": 39, - "column": 2 + "line": 45, + "column": 13 }, "end": { - "line": 39, - "column": 4 + "line": 45, + "column": 20 } } }, @@ -43652,16 +43239,16 @@ "postfix": false, "binop": null }, - "start": 941, - "end": 942, + "start": 839, + "end": 840, "loc": { "start": { - "line": 39, - "column": 5 + "line": 45, + "column": 20 }, "end": { - "line": 39, - "column": 6 + "line": 45, + "column": 21 } } }, @@ -43680,16 +43267,16 @@ "updateContext": null }, "value": "this", - "start": 943, - "end": 947, + "start": 840, + "end": 844, "loc": { "start": { - "line": 39, - "column": 7 + "line": 45, + "column": 21 }, "end": { - "line": 39, - "column": 11 + "line": 45, + "column": 25 } } }, @@ -43706,16 +43293,16 @@ "binop": null, "updateContext": null }, - "start": 947, - "end": 948, + "start": 844, + "end": 845, "loc": { "start": { - "line": 39, - "column": 11 + "line": 45, + "column": 25 }, "end": { - "line": 39, - "column": 12 + "line": 45, + "column": 26 } } }, @@ -43731,23 +43318,23 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 948, - "end": 952, + "value": "_base", + "start": 845, + "end": 850, "loc": { "start": { - "line": 39, - "column": 12 + "line": 45, + "column": 26 }, "end": { - "line": 39, - "column": 16 + "line": 45, + "column": 31 } } }, { "type": { - "label": "==/!=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -43755,26 +43342,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "===", - "start": 953, - "end": 956, + "start": 850, + "end": 851, "loc": { "start": { - "line": 39, - "column": 17 + "line": 45, + "column": 31 }, "end": { - "line": 39, - "column": 20 + "line": 45, + "column": 32 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -43782,25 +43369,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "base", - "start": 957, - "end": 961, + "value": "this", + "start": 852, + "end": 856, "loc": { "start": { - "line": 39, - "column": 21 + "line": 45, + "column": 33 }, "end": { - "line": 39, - "column": 25 + "line": 45, + "column": 37 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -43808,25 +43396,51 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 856, + "end": 857, + "loc": { + "start": { + "line": 45, + "column": 37 + }, + "end": { + "line": 45, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null }, - "start": 962, - "end": 963, + "value": "_is_negative", + "start": 857, + "end": 869, "loc": { "start": { - "line": 39, - "column": 26 + "line": 45, + "column": 38 }, "end": { - "line": 39, - "column": 27 + "line": 45, + "column": 50 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -43837,17 +43451,16 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 964, - "end": 970, + "start": 869, + "end": 870, "loc": { "start": { - "line": 39, - "column": 28 + "line": 45, + "column": 50 }, "end": { - "line": 39, - "column": 34 + "line": 45, + "column": 51 } } }, @@ -43866,16 +43479,16 @@ "updateContext": null }, "value": "this", - "start": 971, - "end": 975, + "start": 871, + "end": 875, "loc": { "start": { - "line": 39, - "column": 35 + "line": 45, + "column": 52 }, "end": { - "line": 39, - "column": 39 + "line": 45, + "column": 56 } } }, @@ -43892,16 +43505,16 @@ "binop": null, "updateContext": null }, - "start": 975, - "end": 976, + "start": 875, + "end": 876, "loc": { "start": { - "line": 39, - "column": 39 + "line": 45, + "column": 56 }, "end": { - "line": 39, - "column": 40 + "line": 45, + "column": 57 } } }, @@ -43917,50 +43530,48 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 976, - "end": 981, + "value": "_limbs", + "start": 876, + "end": 882, "loc": { "start": { - "line": 39, - "column": 40 + "line": 45, + "column": 57 }, "end": { - "line": 39, - "column": 45 + "line": 45, + "column": 63 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 982, - "end": 983, + "start": 882, + "end": 883, "loc": { "start": { - "line": 39, - "column": 46 + "line": 45, + "column": 63 }, "end": { - "line": 39, - "column": 47 + "line": 45, + "column": 64 } } }, { "type": { - "label": "else", - "keyword": "else", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -43971,45 +43582,41 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 986, - "end": 990, + "start": 883, + "end": 884, "loc": { "start": { - "line": 40, - "column": 2 + "line": 45, + "column": 64 }, "end": { - "line": 40, - "column": 6 + "line": 45, + "column": 65 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 991, - "end": 997, + "start": 886, + "end": 887, "loc": { "start": { - "line": 40, - "column": 7 + "line": 46, + "column": 1 }, "end": { - "line": 40, - "column": 13 + "line": 46, + "column": 2 } } }, @@ -44025,17 +43632,17 @@ "postfix": false, "binop": null }, - "value": "convert", - "start": 998, - "end": 1005, + "value": "_limbs_in_base", + "start": 890, + "end": 904, "loc": { "start": { - "line": 40, - "column": 14 + "line": 48, + "column": 1 }, "end": { - "line": 40, - "column": 21 + "line": 48, + "column": 15 } } }, @@ -44051,23 +43658,22 @@ "postfix": false, "binop": null }, - "start": 1005, - "end": 1006, + "start": 904, + "end": 905, "loc": { "start": { - "line": 40, - "column": 21 + "line": 48, + "column": 15 }, "end": { - "line": 40, - "column": 22 + "line": 48, + "column": 16 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -44075,26 +43681,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1007, - "end": 1011, + "value": "base", + "start": 905, + "end": 909, "loc": { "start": { - "line": 40, - "column": 23 + "line": 48, + "column": 16 }, "end": { - "line": 40, - "column": 27 + "line": 48, + "column": 20 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -44102,103 +43707,66 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1011, - "end": 1012, - "loc": { - "start": { - "line": 40, - "column": 27 - }, - "end": { - "line": 40, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null }, - "value": "base", - "start": 1012, - "end": 1016, + "start": 909, + "end": 910, "loc": { "start": { - "line": 40, - "column": 28 + "line": 48, + "column": 20 }, "end": { - "line": 40, - "column": 32 + "line": 48, + "column": 21 } } }, { "type": { - "label": ",", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1017, - "end": 1018, + "start": 911, + "end": 912, "loc": { "start": { - "line": 40, - "column": 33 + "line": 48, + "column": 22 }, "end": { - "line": 40, - "column": 34 + "line": 48, + "column": 23 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "base", - "start": 1019, - "end": 1023, + "type": "CommentLine", + "value": " TODO save result for later ? Maybe replace base ?", + "start": 915, + "end": 967, "loc": { "start": { - "line": 40, - "column": 35 + "line": 49, + "column": 2 }, "end": { - "line": 40, - "column": 39 + "line": 49, + "column": 54 } } }, { "type": { - "label": ",", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -44209,16 +43777,17 @@ "binop": null, "updateContext": null }, - "start": 1024, - "end": 1025, + "value": "return", + "start": 970, + "end": 976, "loc": { "start": { - "line": 40, - "column": 40 + "line": 50, + "column": 2 }, "end": { - "line": 40, - "column": 41 + "line": 50, + "column": 8 } } }, @@ -44237,16 +43806,16 @@ "updateContext": null }, "value": "this", - "start": 1026, - "end": 1030, + "start": 977, + "end": 981, "loc": { "start": { - "line": 40, - "column": 42 + "line": 50, + "column": 9 }, "end": { - "line": 40, - "column": 46 + "line": 50, + "column": 13 } } }, @@ -44263,16 +43832,16 @@ "binop": null, "updateContext": null }, - "start": 1030, - "end": 1031, + "start": 981, + "end": 982, "loc": { "start": { - "line": 40, - "column": 46 + "line": 50, + "column": 13 }, "end": { - "line": 40, - "column": 47 + "line": 50, + "column": 14 } } }, @@ -44288,23 +43857,23 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 1031, - "end": 1036, + "value": "_base", + "start": 982, + "end": 987, "loc": { "start": { - "line": 40, - "column": 47 + "line": 50, + "column": 14 }, "end": { - "line": 40, - "column": 52 + "line": 50, + "column": 19 } } }, { "type": { - "label": ",", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -44312,25 +43881,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 1037, - "end": 1038, + "value": "===", + "start": 988, + "end": 991, "loc": { "start": { - "line": 40, - "column": 53 + "line": 50, + "column": 20 }, "end": { - "line": 40, - "column": 54 + "line": 50, + "column": 23 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -44338,26 +43908,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 1039, - "end": 1040, + "value": "base", + "start": 992, + "end": 996, "loc": { "start": { - "line": 40, - "column": 55 + "line": 50, + "column": 24 }, "end": { - "line": 40, - "column": 56 + "line": 50, + "column": 28 } } }, { "type": { - "label": ",", + "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -44368,16 +43937,16 @@ "binop": null, "updateContext": null }, - "start": 1041, - "end": 1042, + "start": 1000, + "end": 1001, "loc": { "start": { - "line": 40, - "column": 57 + "line": 51, + "column": 3 }, "end": { - "line": 40, - "column": 58 + "line": 51, + "column": 4 } } }, @@ -44396,16 +43965,16 @@ "updateContext": null }, "value": "this", - "start": 1043, - "end": 1047, + "start": 1002, + "end": 1006, "loc": { "start": { - "line": 40, - "column": 59 + "line": 51, + "column": 5 }, "end": { - "line": 40, - "column": 63 + "line": 51, + "column": 9 } } }, @@ -44422,16 +43991,16 @@ "binop": null, "updateContext": null }, - "start": 1047, - "end": 1048, + "start": 1006, + "end": 1007, "loc": { "start": { - "line": 40, - "column": 63 + "line": 51, + "column": 9 }, "end": { - "line": 40, - "column": 64 + "line": 51, + "column": 10 } } }, @@ -44447,24 +44016,24 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 1048, - "end": 1053, + "value": "_limbs", + "start": 1007, + "end": 1013, "loc": { "start": { - "line": 40, - "column": 64 + "line": 51, + "column": 10 }, "end": { - "line": 40, - "column": 69 + "line": 51, + "column": 16 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -44474,16 +44043,16 @@ "binop": null, "updateContext": null }, - "start": 1053, - "end": 1054, + "start": 1017, + "end": 1018, "loc": { "start": { - "line": 40, - "column": 69 + "line": 52, + "column": 3 }, "end": { - "line": 40, - "column": 70 + "line": 52, + "column": 4 } } }, @@ -44499,25 +44068,25 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 1054, - "end": 1060, + "value": "convert", + "start": 1019, + "end": 1026, "loc": { "start": { - "line": 40, - "column": 70 + "line": 52, + "column": 5 }, "end": { - "line": 40, - "column": 76 + "line": 52, + "column": 12 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -44525,24 +44094,25 @@ "postfix": false, "binop": null }, - "start": 1061, - "end": 1062, + "start": 1026, + "end": 1027, "loc": { "start": { - "line": 40, - "column": 77 + "line": 52, + "column": 12 }, "end": { - "line": 40, - "column": 78 + "line": 52, + "column": 13 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -44551,22 +44121,23 @@ "binop": null, "updateContext": null }, - "start": 1063, - "end": 1064, + "value": "this", + "start": 1027, + "end": 1031, "loc": { "start": { - "line": 40, - "column": 79 + "line": 52, + "column": 13 }, "end": { - "line": 40, - "column": 80 + "line": 52, + "column": 17 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -44574,18 +44145,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1066, - "end": 1067, + "start": 1031, + "end": 1032, "loc": { "start": { - "line": 41, - "column": 1 + "line": 52, + "column": 17 }, "end": { - "line": 41, - "column": 2 + "line": 52, + "column": 18 } } }, @@ -44601,42 +44173,43 @@ "postfix": false, "binop": null }, - "value": "toString", - "start": 1070, - "end": 1078, + "value": "_base", + "start": 1032, + "end": 1037, "loc": { "start": { - "line": 43, - "column": 1 + "line": 52, + "column": 18 }, "end": { - "line": 43, - "column": 9 + "line": 52, + "column": 23 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1079, - "end": 1080, + "start": 1037, + "end": 1038, "loc": { "start": { - "line": 43, - "column": 10 + "line": 52, + "column": 23 }, "end": { - "line": 43, - "column": 11 + "line": 52, + "column": 24 } } }, @@ -44653,49 +44226,49 @@ "binop": null }, "value": "base", - "start": 1081, - "end": 1085, + "start": 1039, + "end": 1043, "loc": { "start": { - "line": 43, - "column": 12 + "line": 52, + "column": 25 }, "end": { - "line": 43, - "column": 16 + "line": 52, + "column": 29 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1086, - "end": 1087, + "start": 1043, + "end": 1044, "loc": { "start": { - "line": 43, - "column": 17 + "line": 52, + "column": 29 }, "end": { - "line": 43, - "column": 18 + "line": 52, + "column": 30 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -44703,25 +44276,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "DEFAULT_DISPLAY_BASE", - "start": 1088, - "end": 1108, + "value": "this", + "start": 1045, + "end": 1049, "loc": { "start": { - "line": 43, - "column": 19 + "line": 52, + "column": 31 }, "end": { - "line": 43, - "column": 39 + "line": 52, + "column": 35 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -44729,25 +44303,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1109, - "end": 1110, + "start": 1049, + "end": 1050, "loc": { "start": { - "line": 43, - "column": 40 + "line": 52, + "column": 35 }, "end": { - "line": 43, - "column": 41 + "line": 52, + "column": 36 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -44756,25 +44331,51 @@ "postfix": false, "binop": null }, - "start": 1111, - "end": 1112, + "value": "_limbs", + "start": 1050, + "end": 1056, + "loc": { + "start": { + "line": 52, + "column": 36 + }, + "end": { + "line": 52, + "column": 42 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1056, + "end": 1057, "loc": { "start": { - "line": 43, + "line": 52, "column": 42 }, "end": { - "line": 43, + "line": 52, "column": 43 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -44783,42 +44384,43 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 1116, - "end": 1118, + "value": 0, + "start": 1058, + "end": 1059, "loc": { "start": { - "line": 45, - "column": 2 + "line": 52, + "column": 44 }, "end": { - "line": 45, - "column": 4 + "line": 52, + "column": 45 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1119, - "end": 1120, + "start": 1059, + "end": 1060, "loc": { "start": { - "line": 45, - "column": 5 + "line": 52, + "column": 45 }, "end": { - "line": 45, - "column": 6 + "line": 52, + "column": 46 } } }, @@ -44837,16 +44439,16 @@ "updateContext": null }, "value": "this", - "start": 1121, - "end": 1125, + "start": 1061, + "end": 1065, "loc": { "start": { - "line": 45, - "column": 7 + "line": 52, + "column": 47 }, "end": { - "line": 45, - "column": 11 + "line": 52, + "column": 51 } } }, @@ -44863,16 +44465,16 @@ "binop": null, "updateContext": null }, - "start": 1125, - "end": 1126, + "start": 1065, + "end": 1066, "loc": { "start": { - "line": 45, - "column": 11 + "line": 52, + "column": 51 }, "end": { - "line": 45, - "column": 12 + "line": 52, + "column": 52 } } }, @@ -44888,50 +44490,51 @@ "postfix": false, "binop": null }, - "value": "iszero", - "start": 1126, - "end": 1132, + "value": "_limbs", + "start": 1066, + "end": 1072, "loc": { "start": { - "line": 45, - "column": 12 + "line": 52, + "column": 52 }, "end": { - "line": 45, - "column": 18 + "line": 52, + "column": 58 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1132, - "end": 1133, + "start": 1072, + "end": 1073, "loc": { "start": { - "line": 45, - "column": 18 + "line": 52, + "column": 58 }, "end": { - "line": 45, - "column": 19 + "line": 52, + "column": 59 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -44939,16 +44542,17 @@ "postfix": false, "binop": null }, - "start": 1134, - "end": 1135, + "value": "length", + "start": 1073, + "end": 1079, "loc": { "start": { - "line": 45, - "column": 20 + "line": 52, + "column": 59 }, "end": { - "line": 45, - "column": 21 + "line": 52, + "column": 65 } } }, @@ -44964,23 +44568,22 @@ "postfix": false, "binop": null }, - "start": 1136, - "end": 1137, + "start": 1079, + "end": 1080, "loc": { "start": { - "line": 45, - "column": 22 + "line": 52, + "column": 65 }, "end": { - "line": 45, - "column": 23 + "line": 52, + "column": 66 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -44991,98 +44594,92 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 1138, - "end": 1144, + "start": 1080, + "end": 1081, "loc": { "start": { - "line": 45, - "column": 24 + "line": 52, + "column": 66 }, "end": { - "line": 45, - "column": 30 + "line": 52, + "column": 67 } } }, { "type": { - "label": "string", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "0", - "start": 1145, - "end": 1148, + "start": 1083, + "end": 1084, "loc": { "start": { - "line": 45, - "column": 31 + "line": 53, + "column": 1 }, "end": { - "line": 45, - "column": 34 + "line": 53, + "column": 2 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1149, - "end": 1150, + "value": "toString", + "start": 1087, + "end": 1095, "loc": { "start": { - "line": 45, - "column": 35 + "line": 55, + "column": 1 }, "end": { - "line": 45, - "column": 36 + "line": 55, + "column": 9 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 1154, - "end": 1159, + "start": 1095, + "end": 1096, "loc": { "start": { - "line": 47, - "column": 2 + "line": 55, + "column": 9 }, "end": { - "line": 47, - "column": 7 + "line": 55, + "column": 10 } } }, @@ -45098,16 +44695,16 @@ "postfix": false, "binop": null }, - "value": "digits", - "start": 1160, - "end": 1166, + "value": "base", + "start": 1096, + "end": 1100, "loc": { "start": { - "line": 47, - "column": 8 + "line": 55, + "column": 10 }, "end": { - "line": 47, + "line": 55, "column": 14 } } @@ -45126,15 +44723,15 @@ "updateContext": null }, "value": "=", - "start": 1167, - "end": 1168, + "start": 1101, + "end": 1102, "loc": { "start": { - "line": 47, + "line": 55, "column": 15 }, "end": { - "line": 47, + "line": 55, "column": 16 } } @@ -45151,17 +44748,95 @@ "postfix": false, "binop": null }, - "value": "stringify", - "start": 1169, - "end": 1178, + "value": "DEFAULT_DISPLAY_BASE", + "start": 1103, + "end": 1123, "loc": { "start": { - "line": 47, + "line": 55, "column": 17 }, "end": { - "line": 47, - "column": 26 + "line": 55, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1123, + "end": 1124, + "loc": { + "start": { + "line": 55, + "column": 37 + }, + "end": { + "line": 55, + "column": 38 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1125, + "end": 1126, + "loc": { + "start": { + "line": 55, + "column": 39 + }, + "end": { + "line": 55, + "column": 40 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1129, + "end": 1131, + "loc": { + "start": { + "line": 56, + "column": 2 + }, + "end": { + "line": 56, + "column": 4 } } }, @@ -45177,16 +44852,16 @@ "postfix": false, "binop": null }, - "start": 1178, - "end": 1179, + "start": 1132, + "end": 1133, "loc": { "start": { - "line": 47, - "column": 26 + "line": 56, + "column": 5 }, "end": { - "line": 47, - "column": 27 + "line": 56, + "column": 6 } } }, @@ -45205,16 +44880,16 @@ "updateContext": null }, "value": "this", - "start": 1180, - "end": 1184, + "start": 1133, + "end": 1137, "loc": { "start": { - "line": 47, - "column": 28 + "line": 56, + "column": 6 }, "end": { - "line": 47, - "column": 32 + "line": 56, + "column": 10 } } }, @@ -45231,16 +44906,16 @@ "binop": null, "updateContext": null }, - "start": 1184, - "end": 1185, + "start": 1137, + "end": 1138, "loc": { "start": { - "line": 47, - "column": 32 + "line": 56, + "column": 10 }, "end": { - "line": 47, - "column": 33 + "line": 56, + "column": 11 } } }, @@ -45256,51 +44931,50 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 1185, - "end": 1189, + "value": "iszero", + "start": 1138, + "end": 1144, "loc": { "start": { - "line": 47, - "column": 33 + "line": 56, + "column": 11 }, "end": { - "line": 47, - "column": 37 + "line": 56, + "column": 17 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1190, - "end": 1191, + "start": 1144, + "end": 1145, "loc": { "start": { - "line": 47, - "column": 38 + "line": 56, + "column": 17 }, "end": { - "line": 47, - "column": 39 + "line": 56, + "column": 18 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -45308,52 +44982,50 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 1192, - "end": 1196, + "start": 1145, + "end": 1146, "loc": { "start": { - "line": 47, - "column": 40 + "line": 56, + "column": 18 }, "end": { - "line": 47, - "column": 44 + "line": 56, + "column": 19 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1197, - "end": 1198, + "start": 1146, + "end": 1147, "loc": { "start": { - "line": 47, - "column": 45 + "line": 56, + "column": 19 }, "end": { - "line": 47, - "column": 46 + "line": 56, + "column": 20 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -45362,25 +45034,25 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 1199, - "end": 1203, + "value": "return", + "start": 1148, + "end": 1154, "loc": { "start": { - "line": 47, - "column": 47 + "line": 56, + "column": 21 }, "end": { - "line": 47, - "column": 51 + "line": 56, + "column": 27 } } }, { "type": { - "label": ".", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -45389,49 +45061,51 @@ "binop": null, "updateContext": null }, - "start": 1203, - "end": 1204, + "value": "0", + "start": 1155, + "end": 1158, "loc": { "start": { - "line": 47, - "column": 51 + "line": 56, + "column": 28 }, "end": { - "line": 47, - "column": 52 + "line": 56, + "column": 31 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "limbs", - "start": 1204, - "end": 1209, + "start": 1158, + "end": 1159, "loc": { "start": { - "line": 47, - "column": 52 + "line": 56, + "column": 31 }, "end": { - "line": 47, - "column": 57 + "line": 56, + "column": 32 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -45441,22 +45115,23 @@ "binop": null, "updateContext": null }, - "start": 1210, - "end": 1211, + "value": "const", + "start": 1163, + "end": 1168, "loc": { "start": { - "line": 47, - "column": 58 + "line": 58, + "column": 2 }, "end": { - "line": 47, - "column": 59 + "line": 58, + "column": 7 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -45464,53 +45139,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 1212, - "end": 1213, + "value": "digits", + "start": 1169, + "end": 1175, "loc": { "start": { - "line": 47, - "column": 60 + "line": 58, + "column": 8 }, "end": { - "line": 47, - "column": 61 + "line": 58, + "column": 14 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1214, - "end": 1215, + "value": "=", + "start": 1176, + "end": 1177, "loc": { "start": { - "line": 47, - "column": 62 + "line": 58, + "column": 15 }, "end": { - "line": 47, - "column": 63 + "line": 58, + "column": 16 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -45518,52 +45192,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1216, - "end": 1220, + "value": "stringify", + "start": 1178, + "end": 1187, "loc": { "start": { - "line": 47, - "column": 64 + "line": 58, + "column": 17 }, "end": { - "line": 47, - "column": 68 + "line": 58, + "column": 26 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1220, - "end": 1221, + "start": 1187, + "end": 1188, "loc": { "start": { - "line": 47, - "column": 68 + "line": 58, + "column": 26 }, "end": { - "line": 47, - "column": 69 + "line": 58, + "column": 27 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -45571,19 +45244,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "limbs", - "start": 1221, - "end": 1226, + "value": "this", + "start": 1192, + "end": 1196, "loc": { "start": { - "line": 47, - "column": 69 + "line": 59, + "column": 3 }, "end": { - "line": 47, - "column": 74 + "line": 59, + "column": 7 } } }, @@ -45600,16 +45274,16 @@ "binop": null, "updateContext": null }, - "start": 1226, - "end": 1227, + "start": 1196, + "end": 1197, "loc": { "start": { - "line": 47, - "column": 74 + "line": 59, + "column": 7 }, "end": { - "line": 47, - "column": 75 + "line": 59, + "column": 8 } } }, @@ -45625,75 +45299,75 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 1227, - "end": 1233, + "value": "_base", + "start": 1197, + "end": 1202, "loc": { "start": { - "line": 47, - "column": 75 + "line": 59, + "column": 8 }, "end": { - "line": 47, - "column": 81 + "line": 59, + "column": 13 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1234, - "end": 1235, + "start": 1202, + "end": 1203, "loc": { "start": { - "line": 47, - "column": 82 + "line": 59, + "column": 13 }, "end": { - "line": 47, - "column": 83 + "line": 59, + "column": 14 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1236, - "end": 1237, + "value": "base", + "start": 1207, + "end": 1211, "loc": { "start": { - "line": 47, - "column": 84 + "line": 60, + "column": 3 }, "end": { - "line": 47, - "column": 85 + "line": 60, + "column": 7 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -45704,16 +45378,15 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 1241, - "end": 1247, + "start": 1211, + "end": 1212, "loc": { "start": { - "line": 49, - "column": 2 + "line": 60, + "column": 7 }, "end": { - "line": 49, + "line": 60, "column": 8 } } @@ -45733,16 +45406,16 @@ "updateContext": null }, "value": "this", - "start": 1248, - "end": 1252, + "start": 1216, + "end": 1220, "loc": { "start": { - "line": 49, - "column": 9 + "line": 61, + "column": 3 }, "end": { - "line": 49, - "column": 13 + "line": 61, + "column": 7 } } }, @@ -45759,16 +45432,16 @@ "binop": null, "updateContext": null }, - "start": 1252, - "end": 1253, + "start": 1220, + "end": 1221, "loc": { "start": { - "line": 49, - "column": 13 + "line": 61, + "column": 7 }, "end": { - "line": 49, - "column": 14 + "line": 61, + "column": 8 } } }, @@ -45784,23 +45457,23 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 1253, - "end": 1264, + "value": "_limbs", + "start": 1221, + "end": 1227, "loc": { "start": { - "line": 49, - "column": 14 + "line": 61, + "column": 8 }, "end": { - "line": 49, - "column": 25 + "line": 61, + "column": 14 } } }, { "type": { - "label": "?", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -45811,22 +45484,22 @@ "binop": null, "updateContext": null }, - "start": 1265, - "end": 1266, + "start": 1227, + "end": 1228, "loc": { "start": { - "line": 49, - "column": 26 + "line": 61, + "column": 14 }, "end": { - "line": 49, - "column": 27 + "line": 61, + "column": 15 } } }, { "type": { - "label": "string", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -45837,50 +45510,50 @@ "binop": null, "updateContext": null }, - "value": "-", - "start": 1267, - "end": 1270, + "value": 0, + "start": 1232, + "end": 1233, "loc": { "start": { - "line": 49, - "column": 28 + "line": 62, + "column": 3 }, "end": { - "line": 49, - "column": 31 + "line": 62, + "column": 4 } } }, { "type": { - "label": "+/-", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "+", - "start": 1271, - "end": 1272, + "start": 1233, + "end": 1234, "loc": { "start": { - "line": 49, - "column": 32 + "line": 62, + "column": 4 }, "end": { - "line": 49, - "column": 33 + "line": 62, + "column": 5 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -45888,26 +45561,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "digits", - "start": 1273, - "end": 1279, + "value": "this", + "start": 1238, + "end": 1242, "loc": { "start": { - "line": 49, - "column": 34 + "line": 63, + "column": 3 }, "end": { - "line": 49, - "column": 40 + "line": 63, + "column": 7 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -45917,16 +45591,16 @@ "binop": null, "updateContext": null }, - "start": 1280, - "end": 1281, + "start": 1242, + "end": 1243, "loc": { "start": { - "line": 49, - "column": 41 + "line": 63, + "column": 7 }, "end": { - "line": 49, - "column": 42 + "line": 63, + "column": 8 } } }, @@ -45942,24 +45616,24 @@ "postfix": false, "binop": null }, - "value": "digits", - "start": 1282, - "end": 1288, + "value": "_limbs", + "start": 1243, + "end": 1249, "loc": { "start": { - "line": 49, - "column": 43 + "line": 63, + "column": 8 }, "end": { - "line": 49, - "column": 49 + "line": 63, + "column": 14 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -45969,41 +45643,16 @@ "binop": null, "updateContext": null }, - "start": 1289, - "end": 1290, - "loc": { - "start": { - "line": 49, - "column": 50 - }, - "end": { - "line": 49, - "column": 51 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1293, - "end": 1294, + "start": 1249, + "end": 1250, "loc": { "start": { - "line": 51, - "column": 1 + "line": 63, + "column": 14 }, "end": { - "line": 51, - "column": 2 + "line": 63, + "column": 15 } } }, @@ -46019,50 +45668,51 @@ "postfix": false, "binop": null }, - "value": "add", - "start": 1297, - "end": 1300, + "value": "length", + "start": 1250, + "end": 1256, "loc": { "start": { - "line": 53, - "column": 1 + "line": 63, + "column": 15 }, "end": { - "line": 53, - "column": 4 + "line": 63, + "column": 21 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1301, - "end": 1302, + "start": 1256, + "end": 1257, "loc": { "start": { - "line": 53, - "column": 5 + "line": 63, + "column": 21 }, "end": { - "line": 53, - "column": 6 + "line": 63, + "column": 22 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -46070,76 +45720,79 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 1303, - "end": 1308, + "start": 1260, + "end": 1261, "loc": { "start": { - "line": 53, - "column": 7 + "line": 64, + "column": 2 }, "end": { - "line": 53, - "column": 12 + "line": 64, + "column": 3 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1309, - "end": 1310, + "start": 1261, + "end": 1262, "loc": { "start": { - "line": 53, - "column": 13 + "line": 64, + "column": 3 }, "end": { - "line": 53, - "column": 14 + "line": 64, + "column": 4 } } }, { "type": { - "label": "{", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1311, - "end": 1312, + "value": "return", + "start": 1266, + "end": 1272, "loc": { "start": { - "line": 53, - "column": 15 + "line": 66, + "column": 2 }, "end": { - "line": 53, - "column": 16 + "line": 66, + "column": 8 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -46148,49 +45801,49 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 1316, - "end": 1318, + "value": "this", + "start": 1273, + "end": 1277, "loc": { "start": { - "line": 55, - "column": 2 + "line": 66, + "column": 9 }, "end": { - "line": 55, - "column": 4 + "line": 66, + "column": 13 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1319, - "end": 1320, + "start": 1277, + "end": 1278, "loc": { "start": { - "line": 55, - "column": 5 + "line": 66, + "column": 13 }, "end": { - "line": 55, - "column": 6 + "line": 66, + "column": 14 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -46198,27 +45851,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1321, - "end": 1325, + "value": "_is_negative", + "start": 1278, + "end": 1290, "loc": { "start": { - "line": 55, - "column": 7 + "line": 66, + "column": 14 }, "end": { - "line": 55, - "column": 11 + "line": 66, + "column": 26 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "?", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -46228,22 +45880,22 @@ "binop": null, "updateContext": null }, - "start": 1325, - "end": 1326, + "start": 1291, + "end": 1292, "loc": { "start": { - "line": 55, - "column": 11 + "line": 66, + "column": 27 }, "end": { - "line": 55, - "column": 12 + "line": 66, + "column": 28 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -46251,46 +45903,47 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "is_negative", - "start": 1326, - "end": 1337, + "value": "-", + "start": 1293, + "end": 1296, "loc": { "start": { - "line": 55, - "column": 12 + "line": 66, + "column": 29 }, "end": { - "line": 55, - "column": 23 + "line": 66, + "column": 32 } } }, { "type": { - "label": "==/!=", + "label": "+/-", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": 6, + "binop": 9, "updateContext": null }, - "value": "!==", - "start": 1338, - "end": 1341, + "value": "+", + "start": 1297, + "end": 1298, "loc": { "start": { - "line": 55, - "column": 24 + "line": 66, + "column": 33 }, "end": { - "line": 55, - "column": 27 + "line": 66, + "column": 34 } } }, @@ -46306,24 +45959,24 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 1342, - "end": 1347, + "value": "digits", + "start": 1299, + "end": 1305, "loc": { "start": { - "line": 55, - "column": 28 + "line": 66, + "column": 35 }, "end": { - "line": 55, - "column": 33 + "line": 66, + "column": 41 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -46333,16 +45986,16 @@ "binop": null, "updateContext": null }, - "start": 1347, - "end": 1348, + "start": 1306, + "end": 1307, "loc": { "start": { - "line": 55, - "column": 33 + "line": 66, + "column": 42 }, - "end": { - "line": 55, - "column": 34 + "end": { + "line": 66, + "column": 43 } } }, @@ -46358,50 +46011,51 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 1348, - "end": 1359, + "value": "digits", + "start": 1308, + "end": 1314, "loc": { "start": { - "line": 55, - "column": 34 + "line": 66, + "column": 44 }, "end": { - "line": 55, - "column": 45 + "line": 66, + "column": 50 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1360, - "end": 1361, + "start": 1314, + "end": 1315, "loc": { "start": { - "line": 55, - "column": 46 + "line": 66, + "column": 50 }, "end": { - "line": 55, - "column": 47 + "line": 66, + "column": 51 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -46409,44 +46063,42 @@ "postfix": false, "binop": null }, - "start": 1362, - "end": 1363, + "start": 1317, + "end": 1318, "loc": { "start": { - "line": 55, - "column": 48 + "line": 67, + "column": 1 }, "end": { - "line": 55, - "column": 49 + "line": 67, + "column": 2 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 1368, - "end": 1370, + "value": "add", + "start": 1321, + "end": 1324, "loc": { "start": { - "line": 57, - "column": 3 + "line": 69, + "column": 1 }, "end": { - "line": 57, - "column": 5 + "line": 69, + "column": 4 } } }, @@ -46462,16 +46114,16 @@ "postfix": false, "binop": null }, - "start": 1371, - "end": 1372, + "start": 1324, + "end": 1325, "loc": { "start": { - "line": 57, - "column": 6 + "line": 69, + "column": 4 }, "end": { - "line": 57, - "column": 7 + "line": 69, + "column": 5 } } }, @@ -46488,22 +46140,22 @@ "binop": null }, "value": "other", - "start": 1373, - "end": 1378, + "start": 1325, + "end": 1330, "loc": { "start": { - "line": 57, - "column": 8 + "line": 69, + "column": 5 }, "end": { - "line": 57, - "column": 13 + "line": 69, + "column": 10 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -46511,26 +46163,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1378, - "end": 1379, + "start": 1330, + "end": 1331, "loc": { "start": { - "line": 57, - "column": 13 + "line": 69, + "column": 10 }, "end": { - "line": 57, - "column": 14 + "line": 69, + "column": 11 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -46539,23 +46190,23 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 1379, - "end": 1390, + "start": 1332, + "end": 1333, "loc": { "start": { - "line": 57, - "column": 14 + "line": 69, + "column": 12 }, "end": { - "line": 57, - "column": 25 + "line": 69, + "column": 13 } } }, { "type": { - "label": ")", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -46563,46 +46214,45 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1391, - "end": 1392, + "value": "if", + "start": 1336, + "end": 1338, "loc": { "start": { - "line": 57, - "column": 26 + "line": 70, + "column": 2 }, "end": { - "line": 57, - "column": 27 + "line": 70, + "column": 4 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 1393, - "end": 1399, + "start": 1339, + "end": 1340, "loc": { "start": { - "line": 57, - "column": 28 + "line": 70, + "column": 5 }, "end": { - "line": 57, - "column": 34 + "line": 70, + "column": 6 } } }, @@ -46621,16 +46271,16 @@ "updateContext": null }, "value": "this", - "start": 1400, - "end": 1404, + "start": 1340, + "end": 1344, "loc": { "start": { - "line": 57, - "column": 35 + "line": 70, + "column": 6 }, "end": { - "line": 57, - "column": 39 + "line": 70, + "column": 10 } } }, @@ -46647,16 +46297,16 @@ "binop": null, "updateContext": null }, - "start": 1404, - "end": 1405, + "start": 1344, + "end": 1345, "loc": { "start": { - "line": 57, - "column": 39 + "line": 70, + "column": 10 }, "end": { - "line": 57, - "column": 40 + "line": 70, + "column": 11 } } }, @@ -46672,42 +46322,44 @@ "postfix": false, "binop": null }, - "value": "sub", - "start": 1405, - "end": 1408, + "value": "_is_negative", + "start": 1345, + "end": 1357, "loc": { "start": { - "line": 57, - "column": 40 + "line": 70, + "column": 11 }, "end": { - "line": 57, - "column": 43 + "line": 70, + "column": 23 } } }, { "type": { - "label": "(", + "label": "==/!=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 6, + "updateContext": null }, - "start": 1408, - "end": 1409, + "value": "!==", + "start": 1358, + "end": 1361, "loc": { "start": { - "line": 57, - "column": 43 + "line": 70, + "column": 24 }, "end": { - "line": 57, - "column": 44 + "line": 70, + "column": 27 } } }, @@ -46724,16 +46376,16 @@ "binop": null }, "value": "other", - "start": 1410, - "end": 1415, + "start": 1362, + "end": 1367, "loc": { "start": { - "line": 57, - "column": 45 + "line": 70, + "column": 28 }, "end": { - "line": 57, - "column": 50 + "line": 70, + "column": 33 } } }, @@ -46750,16 +46402,16 @@ "binop": null, "updateContext": null }, - "start": 1415, - "end": 1416, + "start": 1367, + "end": 1368, "loc": { "start": { - "line": 57, - "column": 50 + "line": 70, + "column": 33 }, "end": { - "line": 57, - "column": 51 + "line": 70, + "column": 34 } } }, @@ -46775,67 +46427,17 @@ "postfix": false, "binop": null }, - "value": "opposite", - "start": 1416, - "end": 1424, - "loc": { - "start": { - "line": 57, - "column": 51 - }, - "end": { - "line": 57, - "column": 59 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1424, - "end": 1425, - "loc": { - "start": { - "line": 57, - "column": 59 - }, - "end": { - "line": 57, - "column": 60 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1425, - "end": 1426, + "value": "_is_negative", + "start": 1368, + "end": 1380, "loc": { "start": { - "line": 57, - "column": 60 + "line": 70, + "column": 34 }, "end": { - "line": 57, - "column": 61 + "line": 70, + "column": 46 } } }, @@ -46851,70 +46453,41 @@ "postfix": false, "binop": null }, - "start": 1427, - "end": 1428, - "loc": { - "start": { - "line": 57, - "column": 62 - }, - "end": { - "line": 57, - "column": 63 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1429, - "end": 1430, + "start": 1380, + "end": 1381, "loc": { "start": { - "line": 57, - "column": 64 + "line": 70, + "column": 46 }, "end": { - "line": 57, - "column": 65 + "line": 70, + "column": 47 } } }, { "type": { - "label": "else", - "keyword": "else", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "else", - "start": 1435, - "end": 1439, + "start": 1382, + "end": 1383, "loc": { "start": { - "line": 59, - "column": 3 + "line": 70, + "column": 48 }, "end": { - "line": 59, - "column": 7 + "line": 70, + "column": 49 } } }, @@ -46933,16 +46506,16 @@ "updateContext": null }, "value": "return", - "start": 1440, - "end": 1446, + "start": 1387, + "end": 1393, "loc": { "start": { - "line": 59, - "column": 8 + "line": 71, + "column": 3 }, "end": { - "line": 59, - "column": 14 + "line": 71, + "column": 9 } } }, @@ -46959,16 +46532,16 @@ "binop": null }, "value": "other", - "start": 1447, - "end": 1452, + "start": 1394, + "end": 1399, "loc": { "start": { - "line": 59, - "column": 15 + "line": 71, + "column": 10 }, "end": { - "line": 59, - "column": 20 + "line": 71, + "column": 15 } } }, @@ -46985,16 +46558,16 @@ "binop": null, "updateContext": null }, - "start": 1452, - "end": 1453, + "start": 1399, + "end": 1400, "loc": { "start": { - "line": 59, - "column": 20 + "line": 71, + "column": 15 }, "end": { - "line": 59, - "column": 21 + "line": 71, + "column": 16 } } }, @@ -47010,42 +46583,43 @@ "postfix": false, "binop": null }, - "value": "sub", - "start": 1453, - "end": 1456, + "value": "_is_negative", + "start": 1400, + "end": 1412, "loc": { "start": { - "line": 59, - "column": 21 + "line": 71, + "column": 16 }, "end": { - "line": 59, - "column": 24 + "line": 71, + "column": 28 } } }, { "type": { - "label": "(", + "label": "?", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1456, - "end": 1457, + "start": 1417, + "end": 1418, "loc": { "start": { - "line": 59, - "column": 24 + "line": 72, + "column": 4 }, "end": { - "line": 59, - "column": 25 + "line": 72, + "column": 5 } } }, @@ -47064,16 +46638,16 @@ "updateContext": null }, "value": "this", - "start": 1458, - "end": 1462, + "start": 1419, + "end": 1423, "loc": { "start": { - "line": 59, - "column": 26 + "line": 72, + "column": 6 }, "end": { - "line": 59, - "column": 30 + "line": 72, + "column": 10 } } }, @@ -47090,16 +46664,16 @@ "binop": null, "updateContext": null }, - "start": 1462, - "end": 1463, + "start": 1423, + "end": 1424, "loc": { "start": { - "line": 59, - "column": 30 + "line": 72, + "column": 10 }, "end": { - "line": 59, - "column": 31 + "line": 72, + "column": 11 } } }, @@ -47115,17 +46689,17 @@ "postfix": false, "binop": null }, - "value": "opposite", - "start": 1463, - "end": 1471, + "value": "sub", + "start": 1424, + "end": 1427, "loc": { "start": { - "line": 59, - "column": 31 + "line": 72, + "column": 11 }, "end": { - "line": 59, - "column": 39 + "line": 72, + "column": 14 } } }, @@ -47141,24 +46715,24 @@ "postfix": false, "binop": null }, - "start": 1471, - "end": 1472, + "start": 1427, + "end": 1428, "loc": { "start": { - "line": 59, - "column": 39 + "line": 72, + "column": 14 }, "end": { - "line": 59, - "column": 40 + "line": 72, + "column": 15 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47166,22 +46740,23 @@ "postfix": false, "binop": null }, - "start": 1472, - "end": 1473, + "value": "other", + "start": 1428, + "end": 1433, "loc": { "start": { - "line": 59, - "column": 40 + "line": 72, + "column": 15 }, "end": { - "line": 59, - "column": 41 + "line": 72, + "column": 20 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -47189,52 +46764,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1474, - "end": 1475, + "start": 1433, + "end": 1434, "loc": { "start": { - "line": 59, - "column": 42 + "line": 72, + "column": 20 }, "end": { - "line": 59, - "column": 43 + "line": 72, + "column": 21 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1476, - "end": 1477, + "value": "opposite", + "start": 1434, + "end": 1442, "loc": { "start": { - "line": 59, - "column": 44 + "line": 72, + "column": 21 }, "end": { - "line": 59, - "column": 45 + "line": 72, + "column": 29 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47242,52 +46818,49 @@ "postfix": false, "binop": null }, - "start": 1481, - "end": 1482, + "start": 1442, + "end": 1443, "loc": { "start": { - "line": 61, - "column": 2 + "line": 72, + "column": 29 }, "end": { - "line": 61, - "column": 3 + "line": 72, + "column": 30 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "else", - "start": 1486, - "end": 1490, + "start": 1443, + "end": 1444, "loc": { "start": { - "line": 63, - "column": 2 + "line": 72, + "column": 30 }, "end": { - "line": 63, - "column": 6 + "line": 72, + "column": 31 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47295,24 +46868,23 @@ "postfix": false, "binop": null }, - "start": 1491, - "end": 1492, + "start": 1444, + "end": 1445, "loc": { "start": { - "line": 63, - "column": 7 + "line": 72, + "column": 31 }, "end": { - "line": 63, - "column": 8 + "line": 72, + "column": 32 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -47322,17 +46894,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 1497, - "end": 1502, + "start": 1450, + "end": 1451, "loc": { "start": { - "line": 65, - "column": 3 + "line": 73, + "column": 4 }, "end": { - "line": 65, - "column": 8 + "line": 73, + "column": 5 } } }, @@ -47348,53 +46919,25 @@ "postfix": false, "binop": null }, - "value": "result_is_negative", - "start": 1503, - "end": 1521, - "loc": { - "start": { - "line": 65, - "column": 9 - }, - "end": { - "line": 65, - "column": 27 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1522, - "end": 1523, + "value": "other", + "start": 1452, + "end": 1457, "loc": { "start": { - "line": 65, - "column": 28 + "line": 73, + "column": 6 }, "end": { - "line": 65, - "column": 29 + "line": 73, + "column": 11 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47403,50 +46946,49 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 1524, - "end": 1528, + "start": 1457, + "end": 1458, "loc": { "start": { - "line": 65, - "column": 30 + "line": 73, + "column": 11 }, "end": { - "line": 65, - "column": 34 + "line": 73, + "column": 12 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1528, - "end": 1529, + "value": "sub", + "start": 1458, + "end": 1461, "loc": { "start": { - "line": 65, - "column": 34 + "line": 73, + "column": 12 }, "end": { - "line": 65, - "column": 35 + "line": 73, + "column": 15 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -47454,26 +46996,26 @@ "prefix": false, "postfix": false, "binop": null - }, - "value": "is_negative", - "start": 1529, - "end": 1540, + }, + "start": 1461, + "end": 1462, "loc": { "start": { - "line": 65, - "column": 35 + "line": 73, + "column": 15 }, "end": { - "line": 65, - "column": 46 + "line": 73, + "column": 16 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47482,23 +47024,23 @@ "binop": null, "updateContext": null }, - "start": 1541, - "end": 1542, + "value": "this", + "start": 1462, + "end": 1466, "loc": { "start": { - "line": 65, - "column": 47 + "line": 73, + "column": 16 }, "end": { - "line": 65, - "column": 48 + "line": 73, + "column": 20 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -47509,17 +47051,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 1546, - "end": 1551, + "start": 1466, + "end": 1467, "loc": { "start": { - "line": 66, - "column": 3 + "line": 73, + "column": 20 }, "end": { - "line": 66, - "column": 8 + "line": 73, + "column": 21 } } }, @@ -47535,78 +47076,73 @@ "postfix": false, "binop": null }, - "value": "r", - "start": 1552, - "end": 1553, + "value": "opposite", + "start": 1467, + "end": 1475, "loc": { "start": { - "line": 66, - "column": 9 + "line": 73, + "column": 21 }, "end": { - "line": 66, - "column": 10 + "line": 73, + "column": 29 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1554, - "end": 1555, + "start": 1475, + "end": 1476, "loc": { "start": { - "line": 66, - "column": 11 + "line": 73, + "column": 29 }, "end": { - "line": 66, - "column": 12 + "line": 73, + "column": 30 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1556, - "end": 1560, + "start": 1476, + "end": 1477, "loc": { "start": { - "line": 66, - "column": 13 + "line": 73, + "column": 30 }, "end": { - "line": 66, - "column": 17 + "line": 73, + "column": 31 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -47614,71 +47150,69 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1560, - "end": 1561, + "start": 1477, + "end": 1478, "loc": { "start": { - "line": 66, - "column": 17 + "line": 73, + "column": 31 }, "end": { - "line": 66, - "column": 18 + "line": 73, + "column": 32 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "base", - "start": 1561, - "end": 1565, + "start": 1478, + "end": 1479, "loc": { "start": { - "line": 66, - "column": 18 + "line": 73, + "column": 32 }, "end": { - "line": 66, - "column": 22 + "line": 73, + "column": 33 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1566, - "end": 1567, + "start": 1482, + "end": 1483, "loc": { "start": { - "line": 66, - "column": 23 + "line": 74, + "column": 2 }, "end": { - "line": 66, - "column": 24 + "line": 74, + "column": 3 } } }, @@ -47697,16 +47231,16 @@ "updateContext": null }, "value": "const", - "start": 1572, - "end": 1577, + "start": 1487, + "end": 1492, "loc": { "start": { - "line": 68, - "column": 3 + "line": 76, + "column": 2 }, "end": { - "line": 68, - "column": 8 + "line": 76, + "column": 7 } } }, @@ -47722,17 +47256,17 @@ "postfix": false, "binop": null }, - "value": "a", - "start": 1578, - "end": 1579, + "value": "result_is_negative", + "start": 1493, + "end": 1511, "loc": { "start": { - "line": 68, - "column": 9 + "line": 76, + "column": 8 }, "end": { - "line": 68, - "column": 10 + "line": 76, + "column": 26 } } }, @@ -47750,16 +47284,16 @@ "updateContext": null }, "value": "=", - "start": 1580, - "end": 1581, + "start": 1512, + "end": 1513, "loc": { "start": { - "line": 68, - "column": 11 + "line": 76, + "column": 27 }, "end": { - "line": 68, - "column": 12 + "line": 76, + "column": 28 } } }, @@ -47778,16 +47312,16 @@ "updateContext": null }, "value": "this", - "start": 1582, - "end": 1586, + "start": 1514, + "end": 1518, "loc": { "start": { - "line": 68, - "column": 13 + "line": 76, + "column": 29 }, "end": { - "line": 68, - "column": 17 + "line": 76, + "column": 33 } } }, @@ -47804,16 +47338,16 @@ "binop": null, "updateContext": null }, - "start": 1586, - "end": 1587, + "start": 1518, + "end": 1519, "loc": { "start": { - "line": 68, - "column": 17 + "line": 76, + "column": 33 }, "end": { - "line": 68, - "column": 18 + "line": 76, + "column": 34 } } }, @@ -47829,17 +47363,17 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 1587, - "end": 1592, + "value": "_is_negative", + "start": 1519, + "end": 1531, "loc": { "start": { - "line": 68, - "column": 18 + "line": 76, + "column": 34 }, "end": { - "line": 68, - "column": 23 + "line": 76, + "column": 46 } } }, @@ -47856,16 +47390,16 @@ "binop": null, "updateContext": null }, - "start": 1593, - "end": 1594, + "start": 1531, + "end": 1532, "loc": { "start": { - "line": 68, - "column": 24 + "line": 76, + "column": 46 }, "end": { - "line": 68, - "column": 25 + "line": 76, + "column": 47 } } }, @@ -47884,16 +47418,16 @@ "updateContext": null }, "value": "const", - "start": 1599, - "end": 1604, + "start": 1535, + "end": 1540, "loc": { "start": { - "line": 70, - "column": 3 + "line": 77, + "column": 2 }, "end": { - "line": 70, - "column": 8 + "line": 77, + "column": 7 } } }, @@ -47909,17 +47443,17 @@ "postfix": false, "binop": null }, - "value": "b", - "start": 1605, - "end": 1606, + "value": "r", + "start": 1541, + "end": 1542, "loc": { "start": { - "line": 70, - "column": 9 + "line": 77, + "column": 8 }, "end": { - "line": 70, - "column": 10 + "line": 77, + "column": 9 } } }, @@ -47937,22 +47471,23 @@ "updateContext": null }, "value": "=", - "start": 1607, - "end": 1608, + "start": 1543, + "end": 1544, "loc": { "start": { - "line": 70, - "column": 11 + "line": 77, + "column": 10 }, "end": { - "line": 70, - "column": 12 + "line": 77, + "column": 11 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -47960,19 +47495,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "other", - "start": 1609, - "end": 1614, + "value": "this", + "start": 1545, + "end": 1549, "loc": { "start": { - "line": 70, - "column": 13 + "line": 77, + "column": 12 }, "end": { - "line": 70, - "column": 18 + "line": 77, + "column": 16 } } }, @@ -47989,16 +47525,16 @@ "binop": null, "updateContext": null }, - "start": 1614, - "end": 1615, + "start": 1549, + "end": 1550, "loc": { "start": { - "line": 70, - "column": 18 + "line": 77, + "column": 16 }, "end": { - "line": 70, - "column": 19 + "line": 77, + "column": 17 } } }, @@ -48014,76 +47550,79 @@ "postfix": false, "binop": null }, - "value": "_limbs_in_base", - "start": 1615, - "end": 1629, + "value": "_base", + "start": 1550, + "end": 1555, "loc": { "start": { - "line": 70, - "column": 19 + "line": 77, + "column": 17 }, "end": { - "line": 70, - "column": 33 + "line": 77, + "column": 22 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1629, - "end": 1630, + "start": 1555, + "end": 1556, "loc": { "start": { - "line": 70, - "column": 33 + "line": 77, + "column": 22 }, "end": { - "line": 70, - "column": 34 + "line": 77, + "column": 23 } } }, { "type": { - "label": "name", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "r", - "start": 1631, - "end": 1632, + "value": "const", + "start": 1560, + "end": 1565, "loc": { "start": { - "line": 70, - "column": 35 + "line": 79, + "column": 2 }, "end": { - "line": 70, - "column": 36 + "line": 79, + "column": 7 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -48091,51 +47630,53 @@ "postfix": false, "binop": null }, - "start": 1633, - "end": 1634, + "value": "a", + "start": 1566, + "end": 1567, "loc": { "start": { - "line": 70, - "column": 37 + "line": 79, + "column": 8 }, "end": { - "line": 70, - "column": 38 + "line": 79, + "column": 9 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1635, - "end": 1636, + "value": "=", + "start": 1568, + "end": 1569, "loc": { "start": { - "line": 70, - "column": 39 + "line": 79, + "column": 10 }, "end": { - "line": 70, - "column": 40 + "line": 79, + "column": 11 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -48144,70 +47685,43 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 1641, - "end": 1646, + "value": "this", + "start": 1570, + "end": 1574, "loc": { "start": { - "line": 72, - "column": 3 + "line": 79, + "column": 12 }, "end": { - "line": 72, - "column": 8 + "line": 79, + "column": 16 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "c", - "start": 1647, - "end": 1648, - "loc": { - "start": { - "line": 72, - "column": 9 - }, - "end": { - "line": 72, - "column": 10 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1649, - "end": 1650, + "start": 1574, + "end": 1575, "loc": { "start": { - "line": 72, - "column": 11 + "line": 79, + "column": 16 }, "end": { - "line": 72, - "column": 12 + "line": 79, + "column": 17 } } }, @@ -48223,74 +47737,50 @@ "postfix": false, "binop": null }, - "value": "_zeros", - "start": 1651, - "end": 1657, + "value": "_limbs", + "start": 1575, + "end": 1581, "loc": { "start": { - "line": 72, - "column": 13 + "line": 79, + "column": 17 }, "end": { - "line": 72, - "column": 19 + "line": 79, + "column": 23 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1657, - "end": 1658, - "loc": { - "start": { - "line": 72, - "column": 19 - }, - "end": { - "line": 72, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Math", - "start": 1659, - "end": 1663, + "start": 1581, + "end": 1582, "loc": { "start": { - "line": 72, - "column": 21 + "line": 79, + "column": 23 }, "end": { - "line": 72, - "column": 25 + "line": 79, + "column": 24 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -48301,16 +47791,17 @@ "binop": null, "updateContext": null }, - "start": 1663, - "end": 1664, + "value": "const", + "start": 1586, + "end": 1591, "loc": { "start": { - "line": 72, - "column": 25 + "line": 81, + "column": 2 }, "end": { - "line": 72, - "column": 26 + "line": 81, + "column": 7 } } }, @@ -48326,42 +47817,44 @@ "postfix": false, "binop": null }, - "value": "max", - "start": 1664, - "end": 1667, + "value": "b", + "start": 1592, + "end": 1593, "loc": { "start": { - "line": 72, - "column": 26 + "line": 81, + "column": 8 }, "end": { - "line": 72, - "column": 29 + "line": 81, + "column": 9 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1667, - "end": 1668, + "value": "=", + "start": 1594, + "end": 1595, "loc": { "start": { - "line": 72, - "column": 29 + "line": 81, + "column": 10 }, "end": { - "line": 72, - "column": 30 + "line": 81, + "column": 11 } } }, @@ -48377,17 +47870,17 @@ "postfix": false, "binop": null }, - "value": "a", - "start": 1669, - "end": 1670, + "value": "other", + "start": 1596, + "end": 1601, "loc": { "start": { - "line": 72, - "column": 31 + "line": 81, + "column": 12 }, "end": { - "line": 72, - "column": 32 + "line": 81, + "column": 17 } } }, @@ -48404,16 +47897,16 @@ "binop": null, "updateContext": null }, - "start": 1670, - "end": 1671, + "start": 1601, + "end": 1602, "loc": { "start": { - "line": 72, - "column": 32 + "line": 81, + "column": 17 }, "end": { - "line": 72, - "column": 33 + "line": 81, + "column": 18 } } }, @@ -48429,43 +47922,42 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 1671, - "end": 1677, + "value": "_limbs_in_base", + "start": 1602, + "end": 1616, "loc": { "start": { - "line": 72, - "column": 33 + "line": 81, + "column": 18 }, "end": { - "line": 72, - "column": 39 + "line": 81, + "column": 32 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1678, - "end": 1679, + "start": 1616, + "end": 1617, "loc": { "start": { - "line": 72, - "column": 40 + "line": 81, + "column": 32 }, "end": { - "line": 72, - "column": 41 + "line": 81, + "column": 33 } } }, @@ -48481,23 +47973,23 @@ "postfix": false, "binop": null }, - "value": "b", - "start": 1680, - "end": 1681, + "value": "r", + "start": 1617, + "end": 1618, "loc": { "start": { - "line": 72, - "column": 42 + "line": 81, + "column": 33 }, "end": { - "line": 72, - "column": 43 + "line": 81, + "column": 34 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -48505,51 +47997,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1681, - "end": 1682, + "start": 1618, + "end": 1619, "loc": { "start": { - "line": 72, - "column": 43 + "line": 81, + "column": 34 }, "end": { - "line": 72, - "column": 44 + "line": 81, + "column": 35 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "length", - "start": 1682, - "end": 1688, + "start": 1619, + "end": 1620, "loc": { "start": { - "line": 72, - "column": 44 + "line": 81, + "column": 35 }, "end": { - "line": 72, - "column": 50 + "line": 81, + "column": 36 } } }, { "type": { - "label": ")", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -48557,80 +48049,81 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1689, - "end": 1690, + "value": "const", + "start": 1624, + "end": 1629, "loc": { "start": { - "line": 72, - "column": 51 + "line": 83, + "column": 2 }, "end": { - "line": 72, - "column": 52 + "line": 83, + "column": 7 } } }, { "type": { - "label": "+/-", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, - "updateContext": null + "binop": null }, - "value": "+", - "start": 1691, - "end": 1692, + "value": "c", + "start": 1630, + "end": 1631, "loc": { "start": { - "line": 72, - "column": 53 + "line": 83, + "column": 8 }, "end": { - "line": 72, - "column": 54 + "line": 83, + "column": 9 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": 1, - "start": 1693, - "end": 1694, + "value": "=", + "start": 1632, + "end": 1633, "loc": { "start": { - "line": 72, - "column": 55 + "line": 83, + "column": 10 }, "end": { - "line": 72, - "column": 56 + "line": 83, + "column": 11 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -48638,42 +48131,42 @@ "postfix": false, "binop": null }, - "start": 1695, - "end": 1696, + "value": "_zeros", + "start": 1634, + "end": 1640, "loc": { "start": { - "line": 72, - "column": 57 + "line": 83, + "column": 12 }, "end": { - "line": 72, - "column": 58 + "line": 83, + "column": 18 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1697, - "end": 1698, + "start": 1640, + "end": 1641, "loc": { "start": { - "line": 72, - "column": 59 + "line": 83, + "column": 18 }, "end": { - "line": 72, - "column": 60 + "line": 83, + "column": 19 } } }, @@ -48689,42 +48182,43 @@ "postfix": false, "binop": null }, - "value": "add", - "start": 1703, - "end": 1706, + "value": "Math", + "start": 1641, + "end": 1645, "loc": { "start": { - "line": 74, - "column": 3 + "line": 83, + "column": 19 }, "end": { - "line": 74, - "column": 6 + "line": 83, + "column": 23 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1706, - "end": 1707, + "start": 1645, + "end": 1646, "loc": { "start": { - "line": 74, - "column": 6 + "line": 83, + "column": 23 }, "end": { - "line": 74, - "column": 7 + "line": 83, + "column": 24 } } }, @@ -48740,43 +48234,42 @@ "postfix": false, "binop": null }, - "value": "r", - "start": 1708, - "end": 1709, + "value": "max", + "start": 1646, + "end": 1649, "loc": { "start": { - "line": 74, - "column": 8 + "line": 83, + "column": 24 }, "end": { - "line": 74, - "column": 9 + "line": 83, + "column": 27 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1710, - "end": 1711, + "start": 1649, + "end": 1650, "loc": { "start": { - "line": 74, - "column": 10 + "line": 83, + "column": 27 }, "end": { - "line": 74, - "column": 11 + "line": 83, + "column": 28 } } }, @@ -48793,23 +48286,23 @@ "binop": null }, "value": "a", - "start": 1712, - "end": 1713, + "start": 1650, + "end": 1651, "loc": { "start": { - "line": 74, - "column": 12 + "line": 83, + "column": 28 }, "end": { - "line": 74, - "column": 13 + "line": 83, + "column": 29 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -48819,22 +48312,22 @@ "binop": null, "updateContext": null }, - "start": 1714, - "end": 1715, + "start": 1651, + "end": 1652, "loc": { "start": { - "line": 74, - "column": 14 + "line": 83, + "column": 29 }, "end": { - "line": 74, - "column": 15 + "line": 83, + "column": 30 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -48842,20 +48335,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 1716, - "end": 1717, + "value": "length", + "start": 1652, + "end": 1658, "loc": { "start": { - "line": 74, - "column": 16 + "line": 83, + "column": 30 }, "end": { - "line": 74, - "column": 17 + "line": 83, + "column": 36 } } }, @@ -48872,16 +48364,16 @@ "binop": null, "updateContext": null }, - "start": 1718, - "end": 1719, + "start": 1658, + "end": 1659, "loc": { "start": { - "line": 74, - "column": 18 + "line": 83, + "column": 36 }, "end": { - "line": 74, - "column": 19 + "line": 83, + "column": 37 } } }, @@ -48897,17 +48389,17 @@ "postfix": false, "binop": null }, - "value": "a", - "start": 1720, - "end": 1721, + "value": "b", + "start": 1660, + "end": 1661, "loc": { "start": { - "line": 74, - "column": 20 + "line": 83, + "column": 38 }, "end": { - "line": 74, - "column": 21 + "line": 83, + "column": 39 } } }, @@ -48924,16 +48416,16 @@ "binop": null, "updateContext": null }, - "start": 1721, - "end": 1722, + "start": 1661, + "end": 1662, "loc": { "start": { - "line": 74, - "column": 21 + "line": 83, + "column": 39 }, "end": { - "line": 74, - "column": 22 + "line": 83, + "column": 40 } } }, @@ -48950,76 +48442,76 @@ "binop": null }, "value": "length", - "start": 1722, - "end": 1728, + "start": 1662, + "end": 1668, "loc": { "start": { - "line": 74, - "column": 22 + "line": 83, + "column": 40 }, "end": { - "line": 74, - "column": 28 + "line": 83, + "column": 46 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1729, - "end": 1730, + "start": 1668, + "end": 1669, "loc": { "start": { - "line": 74, - "column": 29 + "line": 83, + "column": 46 }, "end": { - "line": 74, - "column": 30 + "line": 83, + "column": 47 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "+/-", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "value": "b", - "start": 1731, - "end": 1732, + "value": "+", + "start": 1670, + "end": 1671, "loc": { "start": { - "line": 74, - "column": 31 + "line": 83, + "column": 48 }, "end": { - "line": 74, - "column": 32 + "line": 83, + "column": 49 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "num", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -49028,49 +48520,48 @@ "binop": null, "updateContext": null }, - "start": 1733, - "end": 1734, + "value": 1, + "start": 1672, + "end": 1673, "loc": { "start": { - "line": 74, - "column": 33 + "line": 83, + "column": 50 }, "end": { - "line": 74, - "column": 34 + "line": 83, + "column": 51 } } }, { "type": { - "label": "num", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 1735, - "end": 1736, + "start": 1673, + "end": 1674, "loc": { "start": { - "line": 74, - "column": 35 + "line": 83, + "column": 51 }, "end": { - "line": 74, - "column": 36 + "line": 83, + "column": 52 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -49081,16 +48572,16 @@ "binop": null, "updateContext": null }, - "start": 1737, - "end": 1738, + "start": 1674, + "end": 1675, "loc": { "start": { - "line": 74, - "column": 37 + "line": 83, + "column": 52 }, "end": { - "line": 74, - "column": 38 + "line": 83, + "column": 53 } } }, @@ -49106,43 +48597,42 @@ "postfix": false, "binop": null }, - "value": "b", - "start": 1739, - "end": 1740, + "value": "add", + "start": 1679, + "end": 1682, "loc": { "start": { - "line": 74, - "column": 39 + "line": 85, + "column": 2 }, "end": { - "line": 74, - "column": 40 + "line": 85, + "column": 5 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1740, - "end": 1741, + "start": 1682, + "end": 1683, "loc": { "start": { - "line": 74, - "column": 40 + "line": 85, + "column": 5 }, "end": { - "line": 74, - "column": 41 + "line": 85, + "column": 6 } } }, @@ -49158,17 +48648,17 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 1741, - "end": 1747, + "value": "r", + "start": 1683, + "end": 1684, "loc": { "start": { - "line": 74, - "column": 41 + "line": 85, + "column": 6 }, "end": { - "line": 74, - "column": 47 + "line": 85, + "column": 7 } } }, @@ -49185,16 +48675,16 @@ "binop": null, "updateContext": null }, - "start": 1748, - "end": 1749, + "start": 1684, + "end": 1685, "loc": { "start": { - "line": 74, - "column": 48 + "line": 85, + "column": 7 }, "end": { - "line": 74, - "column": 49 + "line": 85, + "column": 8 } } }, @@ -49210,17 +48700,17 @@ "postfix": false, "binop": null }, - "value": "c", - "start": 1750, - "end": 1751, + "value": "a", + "start": 1686, + "end": 1687, "loc": { "start": { - "line": 74, - "column": 50 + "line": 85, + "column": 9 }, "end": { - "line": 74, - "column": 51 + "line": 85, + "column": 10 } } }, @@ -49237,16 +48727,16 @@ "binop": null, "updateContext": null }, - "start": 1752, - "end": 1753, + "start": 1687, + "end": 1688, "loc": { "start": { - "line": 74, - "column": 52 + "line": 85, + "column": 10 }, "end": { - "line": 74, - "column": 53 + "line": 85, + "column": 11 } } }, @@ -49264,16 +48754,16 @@ "updateContext": null }, "value": 0, - "start": 1754, - "end": 1755, + "start": 1689, + "end": 1690, "loc": { "start": { - "line": 74, - "column": 54 + "line": 85, + "column": 12 }, "end": { - "line": 74, - "column": 55 + "line": 85, + "column": 13 } } }, @@ -49290,16 +48780,16 @@ "binop": null, "updateContext": null }, - "start": 1756, - "end": 1757, + "start": 1690, + "end": 1691, "loc": { "start": { - "line": 74, - "column": 56 + "line": 85, + "column": 13 }, "end": { - "line": 74, - "column": 57 + "line": 85, + "column": 14 } } }, @@ -49315,17 +48805,17 @@ "postfix": false, "binop": null }, - "value": "c", - "start": 1758, - "end": 1759, + "value": "a", + "start": 1692, + "end": 1693, "loc": { "start": { - "line": 74, - "column": 58 + "line": 85, + "column": 15 }, "end": { - "line": 74, - "column": 59 + "line": 85, + "column": 16 } } }, @@ -49342,16 +48832,16 @@ "binop": null, "updateContext": null }, - "start": 1759, - "end": 1760, + "start": 1693, + "end": 1694, "loc": { "start": { - "line": 74, - "column": 59 + "line": 85, + "column": 16 }, "end": { - "line": 74, - "column": 60 + "line": 85, + "column": 17 } } }, @@ -49368,47 +48858,22 @@ "binop": null }, "value": "length", - "start": 1760, - "end": 1766, - "loc": { - "start": { - "line": 74, - "column": 60 - }, - "end": { - "line": 74, - "column": 66 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1767, - "end": 1768, + "start": 1694, + "end": 1700, "loc": { "start": { - "line": 74, - "column": 67 + "line": 85, + "column": 17 }, "end": { - "line": 74, - "column": 68 + "line": 85, + "column": 23 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -49419,53 +48884,50 @@ "binop": null, "updateContext": null }, - "start": 1769, - "end": 1770, + "start": 1700, + "end": 1701, "loc": { "start": { - "line": 74, - "column": 69 + "line": 85, + "column": 23 }, "end": { - "line": 74, - "column": 70 + "line": 85, + "column": 24 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 1775, - "end": 1781, + "value": "b", + "start": 1702, + "end": 1703, "loc": { "start": { - "line": 76, - "column": 3 + "line": 85, + "column": 25 }, "end": { - "line": 76, - "column": 9 + "line": 85, + "column": 26 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -49474,23 +48936,22 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 1782, - "end": 1785, + "start": 1703, + "end": 1704, "loc": { "start": { - "line": 76, - "column": 10 + "line": 85, + "column": 26 }, "end": { - "line": 76, - "column": 13 + "line": 85, + "column": 27 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -49498,44 +48959,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Integer", - "start": 1786, - "end": 1793, + "value": 0, + "start": 1705, + "end": 1706, "loc": { "start": { - "line": 76, - "column": 14 + "line": 85, + "column": 28 }, "end": { - "line": 76, - "column": 21 + "line": 85, + "column": 29 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1793, - "end": 1794, + "start": 1706, + "end": 1707, "loc": { "start": { - "line": 76, - "column": 21 + "line": 85, + "column": 29 }, "end": { - "line": 76, - "column": 22 + "line": 85, + "column": 30 } } }, @@ -49551,24 +49014,24 @@ "postfix": false, "binop": null }, - "value": "r", - "start": 1795, - "end": 1796, + "value": "b", + "start": 1708, + "end": 1709, "loc": { "start": { - "line": 76, - "column": 23 + "line": 85, + "column": 31 }, "end": { - "line": 76, - "column": 24 + "line": 85, + "column": 32 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -49578,16 +49041,16 @@ "binop": null, "updateContext": null }, - "start": 1797, - "end": 1798, + "start": 1709, + "end": 1710, "loc": { "start": { - "line": 76, - "column": 25 + "line": 85, + "column": 32 }, "end": { - "line": 76, - "column": 26 + "line": 85, + "column": 33 } } }, @@ -49603,17 +49066,17 @@ "postfix": false, "binop": null }, - "value": "result_is_negative", - "start": 1799, - "end": 1817, + "value": "length", + "start": 1710, + "end": 1716, "loc": { "start": { - "line": 76, - "column": 27 + "line": 85, + "column": 33 }, "end": { - "line": 76, - "column": 45 + "line": 85, + "column": 39 } } }, @@ -49630,16 +49093,16 @@ "binop": null, "updateContext": null }, - "start": 1818, - "end": 1819, + "start": 1716, + "end": 1717, "loc": { "start": { - "line": 76, - "column": 46 + "line": 85, + "column": 39 }, "end": { - "line": 76, - "column": 47 + "line": 85, + "column": 40 } } }, @@ -49656,47 +49119,22 @@ "binop": null }, "value": "c", - "start": 1820, - "end": 1821, - "loc": { - "start": { - "line": 76, - "column": 48 - }, - "end": { - "line": 76, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1822, - "end": 1823, + "start": 1718, + "end": 1719, "loc": { "start": { - "line": 76, - "column": 50 + "line": 85, + "column": 41 }, "end": { - "line": 76, - "column": 51 + "line": 85, + "column": 42 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -49707,66 +49145,69 @@ "binop": null, "updateContext": null }, - "start": 1824, - "end": 1825, + "start": 1719, + "end": 1720, "loc": { "start": { - "line": 76, - "column": 52 + "line": 85, + "column": 42 }, "end": { - "line": 76, - "column": 53 + "line": 85, + "column": 43 } } }, { "type": { - "label": "}", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1829, - "end": 1830, + "value": 0, + "start": 1721, + "end": 1722, "loc": { "start": { - "line": 78, - "column": 2 + "line": 85, + "column": 44 }, "end": { - "line": 78, - "column": 3 + "line": 85, + "column": 45 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1833, - "end": 1834, + "start": 1722, + "end": 1723, "loc": { "start": { - "line": 80, - "column": 1 + "line": 85, + "column": 45 }, "end": { - "line": 80, - "column": 2 + "line": 85, + "column": 46 } } }, @@ -49782,42 +49223,43 @@ "postfix": false, "binop": null }, - "value": "iadd", - "start": 1837, - "end": 1841, + "value": "c", + "start": 1724, + "end": 1725, "loc": { "start": { - "line": 82, - "column": 1 + "line": 85, + "column": 47 }, "end": { - "line": 82, - "column": 5 + "line": 85, + "column": 48 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1842, - "end": 1843, + "start": 1725, + "end": 1726, "loc": { "start": { - "line": 82, - "column": 6 + "line": 85, + "column": 48 }, "end": { - "line": 82, - "column": 7 + "line": 85, + "column": 49 } } }, @@ -49833,17 +49275,17 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 1844, - "end": 1849, + "value": "length", + "start": 1726, + "end": 1732, "loc": { "start": { - "line": 82, - "column": 8 + "line": 85, + "column": 49 }, "end": { - "line": 82, - "column": 13 + "line": 85, + "column": 55 } } }, @@ -49859,57 +49301,42 @@ "postfix": false, "binop": null }, - "start": 1850, - "end": 1851, + "start": 1732, + "end": 1733, "loc": { "start": { - "line": 82, - "column": 14 + "line": 85, + "column": 55 }, "end": { - "line": 82, - "column": 15 + "line": 85, + "column": 56 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1852, - "end": 1853, - "loc": { - "start": { - "line": 82, - "column": 16 - }, - "end": { - "line": 82, - "column": 17 - } - } - }, - { - "type": "CommentLine", - "value": " TODO optimize but be careful with side effects", - "start": 1856, - "end": 1905, + "start": 1733, + "end": 1734, "loc": { "start": { - "line": 83, - "column": 2 + "line": 85, + "column": 56 }, "end": { - "line": 83, - "column": 51 + "line": 85, + "column": 57 } } }, @@ -49928,24 +49355,24 @@ "updateContext": null }, "value": "return", - "start": 1908, - "end": 1914, + "start": 1738, + "end": 1744, "loc": { "start": { - "line": 84, + "line": 87, "column": 2 }, "end": { - "line": 84, + "line": 87, "column": 8 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -49955,43 +49382,17 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 1915, - "end": 1919, + "value": "new", + "start": 1745, + "end": 1748, "loc": { "start": { - "line": 84, + "line": 87, "column": 9 }, "end": { - "line": 84, - "column": 13 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1919, - "end": 1920, - "loc": { - "start": { - "line": 84, - "column": 13 - }, - "end": { - "line": 84, - "column": 14 + "line": 87, + "column": 12 } } }, @@ -50007,17 +49408,17 @@ "postfix": false, "binop": null }, - "value": "add", - "start": 1920, - "end": 1923, + "value": "Integer", + "start": 1749, + "end": 1756, "loc": { "start": { - "line": 84, - "column": 14 + "line": 87, + "column": 13 }, "end": { - "line": 84, - "column": 17 + "line": 87, + "column": 20 } } }, @@ -50033,16 +49434,16 @@ "postfix": false, "binop": null }, - "start": 1923, - "end": 1924, + "start": 1756, + "end": 1757, "loc": { "start": { - "line": 84, - "column": 17 + "line": 87, + "column": 20 }, "end": { - "line": 84, - "column": 18 + "line": 87, + "column": 21 } } }, @@ -50058,49 +49459,24 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 1924, - "end": 1929, - "loc": { - "start": { - "line": 84, - "column": 18 - }, - "end": { - "line": 84, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1929, - "end": 1930, + "value": "r", + "start": 1757, + "end": 1758, "loc": { "start": { - "line": 84, - "column": 23 + "line": 87, + "column": 21 }, "end": { - "line": 84, - "column": 24 + "line": 87, + "column": 22 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -50110,16 +49486,16 @@ "binop": null, "updateContext": null }, - "start": 1930, - "end": 1931, + "start": 1758, + "end": 1759, "loc": { "start": { - "line": 84, - "column": 24 + "line": 87, + "column": 22 }, "end": { - "line": 84, - "column": 25 + "line": 87, + "column": 23 } } }, @@ -50135,49 +49511,49 @@ "postfix": false, "binop": null }, - "value": "move", - "start": 1931, - "end": 1935, + "value": "result_is_negative", + "start": 1760, + "end": 1778, "loc": { "start": { - "line": 84, - "column": 25 + "line": 87, + "column": 24 }, "end": { - "line": 84, - "column": 29 + "line": 87, + "column": 42 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1935, - "end": 1936, + "start": 1778, + "end": 1779, "loc": { "start": { - "line": 84, - "column": 29 + "line": 87, + "column": 42 }, "end": { - "line": 84, - "column": 30 + "line": 87, + "column": 43 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -50185,20 +49561,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1936, - "end": 1940, + "value": "c", + "start": 1780, + "end": 1781, "loc": { "start": { - "line": 84, - "column": 30 + "line": 87, + "column": 44 }, "end": { - "line": 84, - "column": 34 + "line": 87, + "column": 45 } } }, @@ -50214,16 +49589,16 @@ "postfix": false, "binop": null }, - "start": 1940, - "end": 1941, + "start": 1781, + "end": 1782, "loc": { "start": { - "line": 84, - "column": 34 + "line": 87, + "column": 45 }, "end": { - "line": 84, - "column": 35 + "line": 87, + "column": 46 } } }, @@ -50240,16 +49615,16 @@ "binop": null, "updateContext": null }, - "start": 1941, - "end": 1942, + "start": 1782, + "end": 1783, "loc": { "start": { - "line": 84, - "column": 35 + "line": 87, + "column": 46 }, "end": { - "line": 84, - "column": 36 + "line": 87, + "column": 47 } } }, @@ -50265,15 +49640,15 @@ "postfix": false, "binop": null }, - "start": 1944, - "end": 1945, + "start": 1785, + "end": 1786, "loc": { "start": { - "line": 85, + "line": 88, "column": 1 }, "end": { - "line": 85, + "line": 88, "column": 2 } } @@ -50290,16 +49665,16 @@ "postfix": false, "binop": null }, - "value": "addn", - "start": 1948, - "end": 1952, + "value": "iadd", + "start": 1789, + "end": 1793, "loc": { "start": { - "line": 87, + "line": 90, "column": 1 }, "end": { - "line": 87, + "line": 90, "column": 5 } } @@ -50316,16 +49691,16 @@ "postfix": false, "binop": null }, - "start": 1953, - "end": 1954, + "start": 1793, + "end": 1794, "loc": { "start": { - "line": 87, - "column": 6 + "line": 90, + "column": 5 }, "end": { - "line": 87, - "column": 7 + "line": 90, + "column": 6 } } }, @@ -50341,17 +49716,17 @@ "postfix": false, "binop": null }, - "value": "number", - "start": 1955, - "end": 1961, + "value": "other", + "start": 1794, + "end": 1799, "loc": { "start": { - "line": 87, - "column": 8 + "line": 90, + "column": 6 }, "end": { - "line": 87, - "column": 14 + "line": 90, + "column": 11 } } }, @@ -50367,16 +49742,16 @@ "postfix": false, "binop": null }, - "start": 1962, - "end": 1963, + "start": 1799, + "end": 1800, "loc": { "start": { - "line": 87, - "column": 15 + "line": 90, + "column": 11 }, "end": { - "line": 87, - "column": 16 + "line": 90, + "column": 12 } } }, @@ -50392,32 +49767,32 @@ "postfix": false, "binop": null }, - "start": 1964, - "end": 1965, + "start": 1801, + "end": 1802, "loc": { "start": { - "line": 87, - "column": 17 + "line": 90, + "column": 13 }, "end": { - "line": 87, - "column": 18 + "line": 90, + "column": 14 } } }, { "type": "CommentLine", - "value": " TODO optimize", - "start": 1968, - "end": 1984, + "value": " TODO optimize but be careful with side effects", + "start": 1805, + "end": 1854, "loc": { "start": { - "line": 88, + "line": 91, "column": 2 }, "end": { - "line": 88, - "column": 18 + "line": 91, + "column": 51 } } }, @@ -50436,15 +49811,15 @@ "updateContext": null }, "value": "return", - "start": 1987, - "end": 1993, + "start": 1857, + "end": 1863, "loc": { "start": { - "line": 89, + "line": 92, "column": 2 }, "end": { - "line": 89, + "line": 92, "column": 8 } } @@ -50464,15 +49839,15 @@ "updateContext": null }, "value": "this", - "start": 1994, - "end": 1998, + "start": 1864, + "end": 1868, "loc": { "start": { - "line": 89, + "line": 92, "column": 9 }, "end": { - "line": 89, + "line": 92, "column": 13 } } @@ -50490,15 +49865,15 @@ "binop": null, "updateContext": null }, - "start": 1998, - "end": 1999, + "start": 1868, + "end": 1869, "loc": { "start": { - "line": 89, + "line": 92, "column": 13 }, "end": { - "line": 89, + "line": 92, "column": 14 } } @@ -50516,15 +49891,15 @@ "binop": null }, "value": "add", - "start": 1999, - "end": 2002, + "start": 1869, + "end": 1872, "loc": { "start": { - "line": 89, + "line": 92, "column": 14 }, "end": { - "line": 89, + "line": 92, "column": 17 } } @@ -50541,15 +49916,15 @@ "postfix": false, "binop": null }, - "start": 2002, - "end": 2003, + "start": 1872, + "end": 1873, "loc": { "start": { - "line": 89, + "line": 92, "column": 17 }, "end": { - "line": 89, + "line": 92, "column": 18 } } @@ -50566,25 +49941,25 @@ "postfix": false, "binop": null }, - "value": "_from_number", - "start": 2003, - "end": 2015, + "value": "other", + "start": 1873, + "end": 1878, "loc": { "start": { - "line": 89, + "line": 92, "column": 18 }, "end": { - "line": 89, - "column": 30 + "line": 92, + "column": 23 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -50592,16 +49967,42 @@ "postfix": false, "binop": null }, - "start": 2015, - "end": 2016, + "start": 1878, + "end": 1879, "loc": { "start": { - "line": 89, - "column": 30 + "line": 92, + "column": 23 }, "end": { - "line": 89, - "column": 31 + "line": 92, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1879, + "end": 1880, + "loc": { + "start": { + "line": 92, + "column": 24 + }, + "end": { + "line": 92, + "column": 25 } } }, @@ -50617,25 +50018,25 @@ "postfix": false, "binop": null }, - "value": "number", - "start": 2016, - "end": 2022, + "value": "move", + "start": 1880, + "end": 1884, "loc": { "start": { - "line": 89, - "column": 31 + "line": 92, + "column": 25 }, "end": { - "line": 89, - "column": 37 + "line": 92, + "column": 29 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -50643,16 +50044,44 @@ "postfix": false, "binop": null }, - "start": 2022, - "end": 2023, + "start": 1884, + "end": 1885, "loc": { "start": { - "line": 89, - "column": 37 + "line": 92, + "column": 29 }, "end": { - "line": 89, - "column": 38 + "line": 92, + "column": 30 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1885, + "end": 1889, + "loc": { + "start": { + "line": 92, + "column": 30 + }, + "end": { + "line": 92, + "column": 34 } } }, @@ -50668,16 +50097,16 @@ "postfix": false, "binop": null }, - "start": 2023, - "end": 2024, + "start": 1889, + "end": 1890, "loc": { "start": { - "line": 89, - "column": 38 + "line": 92, + "column": 34 }, "end": { - "line": 89, - "column": 39 + "line": 92, + "column": 35 } } }, @@ -50694,16 +50123,16 @@ "binop": null, "updateContext": null }, - "start": 2025, - "end": 2026, + "start": 1890, + "end": 1891, "loc": { "start": { - "line": 89, - "column": 40 + "line": 92, + "column": 35 }, "end": { - "line": 89, - "column": 41 + "line": 92, + "column": 36 } } }, @@ -50719,15 +50148,15 @@ "postfix": false, "binop": null }, - "start": 2028, - "end": 2029, + "start": 1893, + "end": 1894, "loc": { "start": { - "line": 90, + "line": 93, "column": 1 }, "end": { - "line": 90, + "line": 93, "column": 2 } } @@ -50744,17 +50173,17 @@ "postfix": false, "binop": null }, - "value": "iaddn", - "start": 2032, - "end": 2037, + "value": "addn", + "start": 1897, + "end": 1901, "loc": { "start": { - "line": 92, + "line": 95, "column": 1 }, "end": { - "line": 92, - "column": 6 + "line": 95, + "column": 5 } } }, @@ -50770,16 +50199,16 @@ "postfix": false, "binop": null }, - "start": 2038, - "end": 2039, + "start": 1901, + "end": 1902, "loc": { "start": { - "line": 92, - "column": 7 + "line": 95, + "column": 5 }, "end": { - "line": 92, - "column": 8 + "line": 95, + "column": 6 } } }, @@ -50796,16 +50225,16 @@ "binop": null }, "value": "number", - "start": 2040, - "end": 2046, + "start": 1902, + "end": 1908, "loc": { "start": { - "line": 92, - "column": 9 + "line": 95, + "column": 6 }, "end": { - "line": 92, - "column": 15 + "line": 95, + "column": 12 } } }, @@ -50821,16 +50250,16 @@ "postfix": false, "binop": null }, - "start": 2047, - "end": 2048, + "start": 1908, + "end": 1909, "loc": { "start": { - "line": 92, - "column": 16 + "line": 95, + "column": 12 }, "end": { - "line": 92, - "column": 17 + "line": 95, + "column": 13 } } }, @@ -50846,32 +50275,32 @@ "postfix": false, "binop": null }, - "start": 2049, - "end": 2050, + "start": 1910, + "end": 1911, "loc": { "start": { - "line": 92, - "column": 18 + "line": 95, + "column": 14 }, "end": { - "line": 92, - "column": 19 + "line": 95, + "column": 15 } } }, { "type": "CommentLine", - "value": " TODO optimize but be careful with side effects", - "start": 2053, - "end": 2102, + "value": " TODO optimize", + "start": 1914, + "end": 1930, "loc": { "start": { - "line": 93, + "line": 96, "column": 2 }, "end": { - "line": 93, - "column": 51 + "line": 96, + "column": 18 } } }, @@ -50890,15 +50319,15 @@ "updateContext": null }, "value": "return", - "start": 2105, - "end": 2111, + "start": 1933, + "end": 1939, "loc": { "start": { - "line": 94, + "line": 97, "column": 2 }, "end": { - "line": 94, + "line": 97, "column": 8 } } @@ -50918,15 +50347,15 @@ "updateContext": null }, "value": "this", - "start": 2112, - "end": 2116, + "start": 1940, + "end": 1944, "loc": { "start": { - "line": 94, + "line": 97, "column": 9 }, "end": { - "line": 94, + "line": 97, "column": 13 } } @@ -50944,15 +50373,15 @@ "binop": null, "updateContext": null }, - "start": 2116, - "end": 2117, + "start": 1944, + "end": 1945, "loc": { "start": { - "line": 94, + "line": 97, "column": 13 }, "end": { - "line": 94, + "line": 97, "column": 14 } } @@ -50969,17 +50398,17 @@ "postfix": false, "binop": null }, - "value": "addn", - "start": 2117, - "end": 2121, + "value": "add", + "start": 1945, + "end": 1948, "loc": { "start": { - "line": 94, + "line": 97, "column": 14 }, "end": { - "line": 94, - "column": 18 + "line": 97, + "column": 17 } } }, @@ -50995,16 +50424,16 @@ "postfix": false, "binop": null }, - "start": 2121, - "end": 2122, + "start": 1948, + "end": 1949, "loc": { "start": { - "line": 94, - "column": 18 + "line": 97, + "column": 17 }, "end": { - "line": 94, - "column": 19 + "line": 97, + "column": 18 } } }, @@ -51020,75 +50449,24 @@ "postfix": false, "binop": null }, - "value": "number", - "start": 2122, - "end": 2128, - "loc": { - "start": { - "line": 94, - "column": 19 - }, - "end": { - "line": 94, - "column": 25 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2128, - "end": 2129, - "loc": { - "start": { - "line": 94, - "column": 25 - }, - "end": { - "line": 94, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2129, - "end": 2130, + "value": "_from_number", + "start": 1949, + "end": 1961, "loc": { "start": { - "line": 94, - "column": 26 + "line": 97, + "column": 18 }, "end": { - "line": 94, - "column": 27 + "line": 97, + "column": 30 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -51097,24 +50475,23 @@ "postfix": false, "binop": null }, - "value": "move", - "start": 2130, - "end": 2134, + "start": 1961, + "end": 1962, "loc": { "start": { - "line": 94, - "column": 27 + "line": 97, + "column": 30 }, "end": { - "line": 94, + "line": 97, "column": 31 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -51123,44 +50500,42 @@ "postfix": false, "binop": null }, - "start": 2134, - "end": 2135, + "value": "number", + "start": 1962, + "end": 1968, "loc": { "start": { - "line": 94, + "line": 97, "column": 31 }, "end": { - "line": 94, - "column": 32 + "line": 97, + "column": 37 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 2135, - "end": 2139, + "start": 1968, + "end": 1969, "loc": { "start": { - "line": 94, - "column": 32 + "line": 97, + "column": 37 }, "end": { - "line": 94, - "column": 36 + "line": 97, + "column": 38 } } }, @@ -51176,16 +50551,16 @@ "postfix": false, "binop": null }, - "start": 2139, - "end": 2140, + "start": 1969, + "end": 1970, "loc": { "start": { - "line": 94, - "column": 36 + "line": 97, + "column": 38 }, "end": { - "line": 94, - "column": 37 + "line": 97, + "column": 39 } } }, @@ -51202,16 +50577,16 @@ "binop": null, "updateContext": null }, - "start": 2140, - "end": 2141, + "start": 1970, + "end": 1971, "loc": { "start": { - "line": 94, - "column": 37 + "line": 97, + "column": 39 }, "end": { - "line": 94, - "column": 38 + "line": 97, + "column": 40 } } }, @@ -51227,15 +50602,15 @@ "postfix": false, "binop": null }, - "start": 2143, - "end": 2144, + "start": 1973, + "end": 1974, "loc": { "start": { - "line": 95, + "line": 98, "column": 1 }, "end": { - "line": 95, + "line": 98, "column": 2 } } @@ -51252,17 +50627,17 @@ "postfix": false, "binop": null }, - "value": "sub", - "start": 2147, - "end": 2150, + "value": "iaddn", + "start": 1977, + "end": 1982, "loc": { "start": { - "line": 97, + "line": 100, "column": 1 }, "end": { - "line": 97, - "column": 4 + "line": 100, + "column": 6 } } }, @@ -51278,16 +50653,16 @@ "postfix": false, "binop": null }, - "start": 2151, - "end": 2152, + "start": 1982, + "end": 1983, "loc": { "start": { - "line": 97, - "column": 5 + "line": 100, + "column": 6 }, "end": { - "line": 97, - "column": 6 + "line": 100, + "column": 7 } } }, @@ -51303,17 +50678,17 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 2153, - "end": 2158, + "value": "number", + "start": 1983, + "end": 1989, "loc": { "start": { - "line": 97, + "line": 100, "column": 7 }, "end": { - "line": 97, - "column": 12 + "line": 100, + "column": 13 } } }, @@ -51329,15 +50704,15 @@ "postfix": false, "binop": null }, - "start": 2159, - "end": 2160, + "start": 1989, + "end": 1990, "loc": { "start": { - "line": 97, + "line": 100, "column": 13 }, "end": { - "line": 97, + "line": 100, "column": 14 } } @@ -51354,69 +50729,60 @@ "postfix": false, "binop": null }, - "start": 2161, - "end": 2162, + "start": 1991, + "end": 1992, "loc": { "start": { - "line": 97, + "line": 100, "column": 15 }, "end": { - "line": 97, + "line": 100, "column": 16 } } }, { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 2166, - "end": 2168, + "type": "CommentLine", + "value": " TODO optimize but be careful with side effects", + "start": 1995, + "end": 2044, "loc": { "start": { - "line": 99, + "line": 101, "column": 2 }, "end": { - "line": 99, - "column": 4 + "line": 101, + "column": 51 } } }, { "type": { - "label": "(", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2169, - "end": 2170, + "value": "return", + "start": 2047, + "end": 2053, "loc": { "start": { - "line": 99, - "column": 5 + "line": 102, + "column": 2 }, "end": { - "line": 99, - "column": 6 + "line": 102, + "column": 8 } } }, @@ -51435,16 +50801,16 @@ "updateContext": null }, "value": "this", - "start": 2171, - "end": 2175, + "start": 2054, + "end": 2058, "loc": { "start": { - "line": 99, - "column": 7 + "line": 102, + "column": 9 }, "end": { - "line": 99, - "column": 11 + "line": 102, + "column": 13 } } }, @@ -51461,16 +50827,16 @@ "binop": null, "updateContext": null }, - "start": 2175, - "end": 2176, + "start": 2058, + "end": 2059, "loc": { "start": { - "line": 99, - "column": 11 + "line": 102, + "column": 13 }, "end": { - "line": 99, - "column": 12 + "line": 102, + "column": 14 } } }, @@ -51486,44 +50852,42 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 2176, - "end": 2187, + "value": "addn", + "start": 2059, + "end": 2063, "loc": { "start": { - "line": 99, - "column": 12 + "line": 102, + "column": 14 }, "end": { - "line": 99, - "column": 23 + "line": 102, + "column": 18 } } }, { "type": { - "label": "==/!=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "!==", - "start": 2188, - "end": 2191, + "start": 2063, + "end": 2064, "loc": { "start": { - "line": 99, - "column": 24 + "line": 102, + "column": 18 }, "end": { - "line": 99, - "column": 27 + "line": 102, + "column": 19 } } }, @@ -51539,23 +50903,23 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 2192, - "end": 2197, + "value": "number", + "start": 2064, + "end": 2070, "loc": { "start": { - "line": 99, - "column": 28 + "line": 102, + "column": 19 }, "end": { - "line": 99, - "column": 33 + "line": 102, + "column": 25 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -51563,53 +50927,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2197, - "end": 2198, + "start": 2070, + "end": 2071, "loc": { "start": { - "line": 99, - "column": 33 + "line": 102, + "column": 25 }, "end": { - "line": 99, - "column": 34 + "line": 102, + "column": 26 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "is_negative", - "start": 2198, - "end": 2209, + "start": 2071, + "end": 2072, "loc": { "start": { - "line": 99, - "column": 34 + "line": 102, + "column": 26 }, "end": { - "line": 99, - "column": 45 + "line": 102, + "column": 27 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -51617,22 +50980,23 @@ "postfix": false, "binop": null }, - "start": 2210, - "end": 2211, + "value": "move", + "start": 2072, + "end": 2076, "loc": { "start": { - "line": 99, - "column": 46 + "line": 102, + "column": 27 }, "end": { - "line": 99, - "column": 47 + "line": 102, + "column": 31 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -51642,25 +51006,25 @@ "postfix": false, "binop": null }, - "start": 2212, - "end": 2213, + "start": 2076, + "end": 2077, "loc": { "start": { - "line": 99, - "column": 48 + "line": 102, + "column": 31 }, "end": { - "line": 99, - "column": 49 + "line": 102, + "column": 32 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -51669,25 +51033,25 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 2218, - "end": 2220, + "value": "this", + "start": 2077, + "end": 2081, "loc": { "start": { - "line": 101, - "column": 3 + "line": 102, + "column": 32 }, "end": { - "line": 101, - "column": 5 + "line": 102, + "column": 36 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -51695,48 +51059,48 @@ "postfix": false, "binop": null }, - "start": 2221, - "end": 2222, + "start": 2081, + "end": 2082, "loc": { "start": { - "line": 101, - "column": 6 + "line": 102, + "column": 36 }, "end": { - "line": 101, - "column": 7 + "line": 102, + "column": 37 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "other", - "start": 2223, - "end": 2228, + "start": 2082, + "end": 2083, "loc": { "start": { - "line": 101, - "column": 8 + "line": 102, + "column": 37 }, "end": { - "line": 101, - "column": 13 + "line": 102, + "column": 38 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -51744,19 +51108,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2228, - "end": 2229, + "start": 2085, + "end": 2086, "loc": { "start": { - "line": 101, - "column": 13 + "line": 103, + "column": 1 }, "end": { - "line": 101, - "column": 14 + "line": 103, + "column": 2 } } }, @@ -51772,25 +51135,25 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 2229, - "end": 2240, + "value": "sub", + "start": 2089, + "end": 2092, "loc": { "start": { - "line": 101, - "column": 14 + "line": 105, + "column": 1 }, "end": { - "line": 101, - "column": 25 + "line": 105, + "column": 4 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -51798,124 +51161,120 @@ "postfix": false, "binop": null }, - "start": 2241, - "end": 2242, + "start": 2092, + "end": 2093, "loc": { "start": { - "line": 101, - "column": 26 + "line": 105, + "column": 4 }, "end": { - "line": 101, - "column": 27 + "line": 105, + "column": 5 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 2243, - "end": 2249, + "value": "other", + "start": 2093, + "end": 2098, "loc": { "start": { - "line": 101, - "column": 28 + "line": 105, + "column": 5 }, "end": { - "line": 101, - "column": 34 + "line": 105, + "column": 10 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 2250, - "end": 2254, + "start": 2098, + "end": 2099, "loc": { "start": { - "line": 101, - "column": 35 + "line": 105, + "column": 10 }, "end": { - "line": 101, - "column": 39 + "line": 105, + "column": 11 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2254, - "end": 2255, + "start": 2100, + "end": 2101, "loc": { "start": { - "line": 101, - "column": 39 + "line": 105, + "column": 12 }, "end": { - "line": 101, - "column": 40 + "line": 105, + "column": 13 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "add", - "start": 2255, - "end": 2258, + "value": "if", + "start": 2104, + "end": 2106, "loc": { "start": { - "line": 101, - "column": 40 + "line": 106, + "column": 2 }, "end": { - "line": 101, - "column": 43 + "line": 106, + "column": 4 } } }, @@ -51931,22 +51290,23 @@ "postfix": false, "binop": null }, - "start": 2258, - "end": 2259, + "start": 2107, + "end": 2108, "loc": { "start": { - "line": 101, - "column": 43 + "line": 106, + "column": 5 }, "end": { - "line": 101, - "column": 44 + "line": 106, + "column": 6 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -51954,19 +51314,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "other", - "start": 2260, - "end": 2265, + "value": "this", + "start": 2108, + "end": 2112, "loc": { "start": { - "line": 101, - "column": 45 + "line": 106, + "column": 6 }, "end": { - "line": 101, - "column": 50 + "line": 106, + "column": 10 } } }, @@ -51983,16 +51344,16 @@ "binop": null, "updateContext": null }, - "start": 2265, - "end": 2266, + "start": 2112, + "end": 2113, "loc": { "start": { - "line": 101, - "column": 50 + "line": 106, + "column": 10 }, "end": { - "line": 101, - "column": 51 + "line": 106, + "column": 11 } } }, @@ -52008,24 +51369,51 @@ "postfix": false, "binop": null }, - "value": "opposite", - "start": 2266, - "end": 2274, + "value": "_is_negative", + "start": 2113, + "end": 2125, "loc": { "start": { - "line": 101, - "column": 51 + "line": 106, + "column": 11 }, "end": { - "line": 101, - "column": 59 + "line": 106, + "column": 23 } } }, { "type": { - "label": "(", + "label": "==/!=", "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "!==", + "start": 2126, + "end": 2129, + "loc": { + "start": { + "line": 106, + "column": 24 + }, + "end": { + "line": 106, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -52034,22 +51422,23 @@ "postfix": false, "binop": null }, - "start": 2274, - "end": 2275, + "value": "other", + "start": 2130, + "end": 2135, "loc": { "start": { - "line": 101, - "column": 59 + "line": 106, + "column": 28 }, "end": { - "line": 101, - "column": 60 + "line": 106, + "column": 33 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -52057,26 +51446,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2275, - "end": 2276, + "start": 2135, + "end": 2136, "loc": { "start": { - "line": 101, - "column": 60 + "line": 106, + "column": 33 }, "end": { - "line": 101, - "column": 61 + "line": 106, + "column": 34 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -52084,70 +51474,67 @@ "postfix": false, "binop": null }, - "start": 2277, - "end": 2278, + "value": "_is_negative", + "start": 2136, + "end": 2148, "loc": { "start": { - "line": 101, - "column": 62 + "line": 106, + "column": 34 }, "end": { - "line": 101, - "column": 63 + "line": 106, + "column": 46 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2279, - "end": 2280, + "start": 2148, + "end": 2149, "loc": { "start": { - "line": 101, - "column": 64 + "line": 106, + "column": 46 }, "end": { - "line": 101, - "column": 65 + "line": 106, + "column": 47 } } }, { "type": { - "label": "else", - "keyword": "else", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "else", - "start": 2285, - "end": 2289, + "start": 2150, + "end": 2151, "loc": { "start": { - "line": 103, - "column": 3 + "line": 106, + "column": 48 }, "end": { - "line": 103, - "column": 7 + "line": 106, + "column": 49 } } }, @@ -52166,23 +51553,22 @@ "updateContext": null }, "value": "return", - "start": 2290, - "end": 2296, + "start": 2155, + "end": 2161, "loc": { "start": { - "line": 103, - "column": 8 + "line": 107, + "column": 3 }, "end": { - "line": 103, - "column": 14 + "line": 107, + "column": 9 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -52190,20 +51576,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 2297, - "end": 2301, + "value": "other", + "start": 2162, + "end": 2167, "loc": { "start": { - "line": 103, - "column": 15 + "line": 107, + "column": 10 }, "end": { - "line": 103, - "column": 19 + "line": 107, + "column": 15 } } }, @@ -52220,16 +51605,16 @@ "binop": null, "updateContext": null }, - "start": 2301, - "end": 2302, + "start": 2167, + "end": 2168, "loc": { "start": { - "line": 103, - "column": 19 + "line": 107, + "column": 15 }, "end": { - "line": 103, - "column": 20 + "line": 107, + "column": 16 } } }, @@ -52245,67 +51630,71 @@ "postfix": false, "binop": null }, - "value": "opposite", - "start": 2302, - "end": 2310, + "value": "_is_negative", + "start": 2168, + "end": 2180, "loc": { "start": { - "line": 103, - "column": 20 + "line": 107, + "column": 16 }, "end": { - "line": 103, + "line": 107, "column": 28 } } }, { "type": { - "label": "(", + "label": "?", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2310, - "end": 2311, + "start": 2185, + "end": 2186, "loc": { "start": { - "line": 103, - "column": 28 + "line": 108, + "column": 4 }, "end": { - "line": 103, - "column": 29 + "line": 108, + "column": 5 } } }, { "type": { - "label": ")", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2311, - "end": 2312, + "value": "this", + "start": 2187, + "end": 2191, "loc": { "start": { - "line": 103, - "column": 29 + "line": 108, + "column": 6 }, "end": { - "line": 103, - "column": 30 + "line": 108, + "column": 10 } } }, @@ -52322,16 +51711,16 @@ "binop": null, "updateContext": null }, - "start": 2312, - "end": 2313, + "start": 2191, + "end": 2192, "loc": { "start": { - "line": 103, - "column": 30 + "line": 108, + "column": 10 }, "end": { - "line": 103, - "column": 31 + "line": 108, + "column": 11 } } }, @@ -52348,16 +51737,16 @@ "binop": null }, "value": "add", - "start": 2313, - "end": 2316, + "start": 2192, + "end": 2195, "loc": { "start": { - "line": 103, - "column": 31 + "line": 108, + "column": 11 }, "end": { - "line": 103, - "column": 34 + "line": 108, + "column": 14 } } }, @@ -52373,16 +51762,16 @@ "postfix": false, "binop": null }, - "start": 2316, - "end": 2317, + "start": 2195, + "end": 2196, "loc": { "start": { - "line": 103, - "column": 34 + "line": 108, + "column": 14 }, "end": { - "line": 103, - "column": 35 + "line": 108, + "column": 15 } } }, @@ -52399,22 +51788,22 @@ "binop": null }, "value": "other", - "start": 2318, - "end": 2323, + "start": 2196, + "end": 2201, "loc": { "start": { - "line": 103, - "column": 36 + "line": 108, + "column": 15 }, "end": { - "line": 103, - "column": 41 + "line": 108, + "column": 20 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -52422,51 +51811,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2324, - "end": 2325, + "start": 2201, + "end": 2202, "loc": { "start": { - "line": 103, - "column": 42 + "line": 108, + "column": 20 }, "end": { - "line": 103, - "column": 43 + "line": 108, + "column": 21 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2325, - "end": 2326, + "value": "opposite", + "start": 2202, + "end": 2210, "loc": { "start": { - "line": 103, - "column": 43 + "line": 108, + "column": 21 }, "end": { - "line": 103, - "column": 44 + "line": 108, + "column": 29 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -52475,25 +51865,24 @@ "postfix": false, "binop": null }, - "value": "opposite", - "start": 2326, - "end": 2334, + "start": 2210, + "end": 2211, "loc": { "start": { - "line": 103, - "column": 44 + "line": 108, + "column": 29 }, "end": { - "line": 103, - "column": 52 + "line": 108, + "column": 30 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -52501,16 +51890,16 @@ "postfix": false, "binop": null }, - "start": 2334, - "end": 2335, + "start": 2211, + "end": 2212, "loc": { "start": { - "line": 103, - "column": 52 + "line": 108, + "column": 30 }, "end": { - "line": 103, - "column": 53 + "line": 108, + "column": 31 } } }, @@ -52526,22 +51915,22 @@ "postfix": false, "binop": null }, - "start": 2335, - "end": 2336, + "start": 2212, + "end": 2213, "loc": { "start": { - "line": 103, - "column": 53 + "line": 108, + "column": 31 }, "end": { - "line": 103, - "column": 54 + "line": 108, + "column": 32 } } }, { "type": { - "label": ";", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -52552,49 +51941,51 @@ "binop": null, "updateContext": null }, - "start": 2337, - "end": 2338, + "start": 2218, + "end": 2219, "loc": { "start": { - "line": 103, - "column": 55 + "line": 109, + "column": 4 }, "end": { - "line": 103, - "column": 56 + "line": 109, + "column": 5 } } }, { "type": { - "label": "}", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2342, - "end": 2343, + "value": "this", + "start": 2220, + "end": 2224, "loc": { "start": { - "line": 105, - "column": 2 + "line": 109, + "column": 6 }, "end": { - "line": 105, - "column": 3 + "line": 109, + "column": 10 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -52604,24 +51995,23 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 2347, - "end": 2351, + "start": 2224, + "end": 2225, "loc": { "start": { - "line": 107, - "column": 2 + "line": 109, + "column": 10 }, "end": { - "line": 107, - "column": 6 + "line": 109, + "column": 11 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -52630,68 +52020,50 @@ "postfix": false, "binop": null }, - "start": 2352, - "end": 2353, - "loc": { - "start": { - "line": 107, - "column": 7 - }, - "end": { - "line": 107, - "column": 8 - } - } - }, - { - "type": "CommentLine", - "value": " /!\\ _sub needs |c| >= |a| >= |b|", - "start": 2358, - "end": 2393, + "value": "opposite", + "start": 2225, + "end": 2233, "loc": { "start": { "line": 109, - "column": 3 + "column": 11 }, "end": { "line": 109, - "column": 38 + "column": 19 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 2398, - "end": 2403, + "start": 2233, + "end": 2234, "loc": { "start": { - "line": 111, - "column": 3 + "line": 109, + "column": 19 }, "end": { - "line": 111, - "column": 8 + "line": 109, + "column": 20 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -52699,51 +52071,48 @@ "postfix": false, "binop": null }, - "value": "r", - "start": 2404, - "end": 2405, + "start": 2234, + "end": 2235, "loc": { "start": { - "line": 111, - "column": 9 + "line": 109, + "column": 20 }, "end": { - "line": 111, - "column": 10 + "line": 109, + "column": 21 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 2406, - "end": 2407, + "start": 2235, + "end": 2236, "loc": { "start": { - "line": 111, - "column": 11 + "line": 109, + "column": 21 }, "end": { - "line": 111, - "column": 12 + "line": 109, + "column": 22 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -52751,46 +52120,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 2408, - "end": 2412, + "value": "add", + "start": 2236, + "end": 2239, "loc": { "start": { - "line": 111, - "column": 13 + "line": 109, + "column": 22 }, "end": { - "line": 111, - "column": 17 + "line": 109, + "column": 25 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2412, - "end": 2413, + "start": 2239, + "end": 2240, "loc": { "start": { - "line": 111, - "column": 17 + "line": 109, + "column": 25 }, "end": { - "line": 111, - "column": 18 + "line": 109, + "column": 26 } } }, @@ -52806,50 +52173,48 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 2413, - "end": 2417, + "value": "other", + "start": 2240, + "end": 2245, "loc": { "start": { - "line": 111, - "column": 18 + "line": 109, + "column": 26 }, "end": { - "line": 111, - "column": 22 + "line": 109, + "column": 31 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2418, - "end": 2419, + "start": 2245, + "end": 2246, "loc": { "start": { - "line": 111, - "column": 23 + "line": 109, + "column": 31 }, "end": { - "line": 111, - "column": 24 + "line": 109, + "column": 32 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -52860,17 +52225,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 2423, - "end": 2428, + "start": 2246, + "end": 2247, "loc": { "start": { - "line": 112, - "column": 3 + "line": 109, + "column": 32 }, "end": { - "line": 112, - "column": 8 + "line": 109, + "column": 33 } } }, @@ -52886,79 +52250,74 @@ "postfix": false, "binop": null }, - "value": "a", - "start": 2429, - "end": 2430, + "value": "opposite", + "start": 2247, + "end": 2255, "loc": { "start": { - "line": 112, - "column": 9 + "line": 109, + "column": 33 }, "end": { - "line": 112, - "column": 10 + "line": 109, + "column": 41 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 2431, - "end": 2432, + "start": 2255, + "end": 2256, "loc": { "start": { - "line": 112, - "column": 11 + "line": 109, + "column": 41 }, "end": { - "line": 112, - "column": 12 + "line": 109, + "column": 42 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 2433, - "end": 2437, + "start": 2256, + "end": 2257, "loc": { "start": { - "line": 112, - "column": 13 + "line": 109, + "column": 42 }, "end": { - "line": 112, - "column": 17 + "line": 109, + "column": 43 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -52968,24 +52327,24 @@ "binop": null, "updateContext": null }, - "start": 2437, - "end": 2438, + "start": 2257, + "end": 2258, "loc": { "start": { - "line": 112, - "column": 17 + "line": 109, + "column": 43 }, "end": { - "line": 112, - "column": 18 + "line": 109, + "column": 44 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -52993,43 +52352,32 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 2438, - "end": 2443, + "start": 2261, + "end": 2262, "loc": { "start": { - "line": 112, - "column": 18 + "line": 110, + "column": 2 }, "end": { - "line": 112, - "column": 23 + "line": 110, + "column": 3 } } }, { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2444, - "end": 2445, + "type": "CommentLine", + "value": " /!\\ _sub needs |c| >= |a| >= |b|", + "start": 2265, + "end": 2300, "loc": { "start": { - "line": 112, - "column": 24 + "line": 111, + "column": 2 }, "end": { - "line": 112, - "column": 25 + "line": 111, + "column": 37 } } }, @@ -53048,16 +52396,16 @@ "updateContext": null }, "value": "const", - "start": 2449, - "end": 2454, + "start": 2304, + "end": 2309, "loc": { "start": { "line": 113, - "column": 3 + "column": 2 }, "end": { "line": 113, - "column": 8 + "column": 7 } } }, @@ -53073,17 +52421,17 @@ "postfix": false, "binop": null }, - "value": "aj", - "start": 2455, - "end": 2457, + "value": "r", + "start": 2310, + "end": 2311, "loc": { "start": { "line": 113, - "column": 9 + "column": 8 }, "end": { "line": 113, - "column": 11 + "column": 9 } } }, @@ -53101,22 +52449,23 @@ "updateContext": null }, "value": "=", - "start": 2458, - "end": 2459, + "start": 2312, + "end": 2313, "loc": { "start": { "line": 113, - "column": 12 + "column": 10 }, "end": { "line": 113, - "column": 13 + "column": 11 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -53124,19 +52473,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "a", - "start": 2460, - "end": 2461, + "value": "this", + "start": 2314, + "end": 2318, "loc": { "start": { "line": 113, - "column": 14 + "column": 12 }, "end": { "line": 113, - "column": 15 + "column": 16 } } }, @@ -53153,16 +52503,16 @@ "binop": null, "updateContext": null }, - "start": 2461, - "end": 2462, + "start": 2318, + "end": 2319, "loc": { "start": { "line": 113, - "column": 15 + "column": 16 }, "end": { "line": 113, - "column": 16 + "column": 17 } } }, @@ -53178,13 +52528,13 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 2462, - "end": 2468, + "value": "_base", + "start": 2319, + "end": 2324, "loc": { "start": { "line": 113, - "column": 16 + "column": 17 }, "end": { "line": 113, @@ -53205,16 +52555,16 @@ "binop": null, "updateContext": null }, - "start": 2469, - "end": 2470, + "start": 2324, + "end": 2325, "loc": { "start": { "line": 113, - "column": 23 + "column": 22 }, "end": { "line": 113, - "column": 24 + "column": 23 } } }, @@ -53233,16 +52583,16 @@ "updateContext": null }, "value": "const", - "start": 2474, - "end": 2479, + "start": 2328, + "end": 2333, "loc": { "start": { "line": 114, - "column": 3 + "column": 2 }, "end": { "line": 114, - "column": 8 + "column": 7 } } }, @@ -53258,17 +52608,17 @@ "postfix": false, "binop": null }, - "value": "ai", - "start": 2480, - "end": 2482, + "value": "a", + "start": 2334, + "end": 2335, "loc": { "start": { "line": 114, - "column": 9 + "column": 8 }, "end": { "line": 114, - "column": 11 + "column": 9 } } }, @@ -53286,22 +52636,23 @@ "updateContext": null }, "value": "=", - "start": 2483, - "end": 2484, + "start": 2336, + "end": 2337, "loc": { "start": { "line": 114, - "column": 12 + "column": 10 }, "end": { "line": 114, - "column": 13 + "column": 11 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -53309,44 +52660,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "_trim_positive", - "start": 2485, - "end": 2499, + "value": "this", + "start": 2338, + "end": 2342, "loc": { "start": { "line": 114, - "column": 14 + "column": 12 }, "end": { "line": 114, - "column": 28 + "column": 16 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2499, - "end": 2500, + "start": 2342, + "end": 2343, "loc": { "start": { "line": 114, - "column": 28 + "column": 16 }, "end": { "line": 114, - "column": 29 + "column": 17 } } }, @@ -53362,23 +52715,23 @@ "postfix": false, "binop": null }, - "value": "a", - "start": 2501, - "end": 2502, + "value": "_limbs", + "start": 2343, + "end": 2349, "loc": { "start": { "line": 114, - "column": 30 + "column": 17 }, "end": { "line": 114, - "column": 31 + "column": 23 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -53389,50 +52742,24 @@ "binop": null, "updateContext": null }, - "start": 2503, - "end": 2504, + "start": 2349, + "end": 2350, "loc": { "start": { "line": 114, - "column": 32 + "column": 23 }, "end": { "line": 114, - "column": 33 + "column": 24 } } }, { "type": { - "label": "num", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 2505, - "end": 2506, - "loc": { - "start": { - "line": 114, - "column": 34 - }, - "end": { - "line": 114, - "column": 35 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -53442,16 +52769,17 @@ "binop": null, "updateContext": null }, - "start": 2507, - "end": 2508, + "value": "const", + "start": 2353, + "end": 2358, "loc": { "start": { - "line": 114, - "column": 36 + "line": 115, + "column": 2 }, "end": { - "line": 114, - "column": 37 + "line": 115, + "column": 7 } } }, @@ -53468,120 +52796,95 @@ "binop": null }, "value": "aj", - "start": 2509, - "end": 2511, - "loc": { - "start": { - "line": 114, - "column": 38 - }, - "end": { - "line": 114, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2512, - "end": 2513, + "start": 2359, + "end": 2361, "loc": { "start": { - "line": 114, - "column": 41 + "line": 115, + "column": 8 }, "end": { - "line": 114, - "column": 42 + "line": 115, + "column": 10 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 2514, - "end": 2515, + "value": "=", + "start": 2362, + "end": 2363, "loc": { "start": { - "line": 114, - "column": 43 + "line": 115, + "column": 11 }, "end": { - "line": 114, - "column": 44 + "line": 115, + "column": 12 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 2520, - "end": 2522, + "value": "a", + "start": 2364, + "end": 2365, "loc": { "start": { - "line": 116, - "column": 3 + "line": 115, + "column": 13 }, "end": { - "line": 116, - "column": 5 + "line": 115, + "column": 14 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2523, - "end": 2524, + "start": 2365, + "end": 2366, "loc": { "start": { - "line": 116, - "column": 6 + "line": 115, + "column": 14 }, "end": { - "line": 116, - "column": 7 + "line": 115, + "column": 15 } } }, @@ -53597,23 +52900,23 @@ "postfix": false, "binop": null }, - "value": "ai", - "start": 2525, - "end": 2527, + "value": "length", + "start": 2366, + "end": 2372, "loc": { "start": { - "line": 116, - "column": 8 + "line": 115, + "column": 15 }, "end": { - "line": 116, - "column": 10 + "line": 115, + "column": 21 } } }, { "type": { - "label": "", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -53621,54 +52924,55 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, + "binop": null, "updateContext": null }, - "value": ">=", - "start": 2528, - "end": 2530, + "start": 2372, + "end": 2373, "loc": { "start": { - "line": 116, - "column": 11 + "line": 115, + "column": 21 }, "end": { - "line": 116, - "column": 13 + "line": 115, + "column": 22 } } }, { "type": { - "label": "name", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "aj", - "start": 2531, - "end": 2533, + "value": "const", + "start": 2376, + "end": 2381, "loc": { "start": { "line": 116, - "column": 14 + "column": 2 }, "end": { "line": 116, - "column": 16 + "column": 7 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -53676,44 +52980,44 @@ "postfix": false, "binop": null }, - "start": 2534, - "end": 2535, + "value": "ai", + "start": 2382, + "end": 2384, "loc": { "start": { "line": 116, - "column": 17 + "column": 8 }, "end": { "line": 116, - "column": 18 + "column": 10 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "return", - "start": 2536, - "end": 2542, + "value": "=", + "start": 2385, + "end": 2386, "loc": { "start": { "line": 116, - "column": 19 + "column": 11 }, "end": { "line": 116, - "column": 25 + "column": 12 } } }, @@ -53729,43 +53033,42 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 2543, - "end": 2548, + "value": "_trim_positive", + "start": 2387, + "end": 2401, "loc": { "start": { "line": 116, - "column": 26 + "column": 13 }, "end": { "line": 116, - "column": 31 + "column": 27 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2548, - "end": 2549, + "start": 2401, + "end": 2402, "loc": { "start": { "line": 116, - "column": 31 + "column": 27 }, "end": { "line": 116, - "column": 32 + "column": 28 } } }, @@ -53781,73 +53084,76 @@ "postfix": false, "binop": null }, - "value": "opposite", - "start": 2549, - "end": 2557, + "value": "a", + "start": 2402, + "end": 2403, "loc": { "start": { "line": 116, - "column": 32 + "column": 28 }, "end": { "line": 116, - "column": 40 + "column": 29 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2557, - "end": 2558, + "start": 2403, + "end": 2404, "loc": { "start": { "line": 116, - "column": 40 + "column": 29 }, "end": { "line": 116, - "column": 41 + "column": 30 } } }, { "type": { - "label": ")", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2558, - "end": 2559, + "value": 0, + "start": 2405, + "end": 2406, "loc": { "start": { "line": 116, - "column": 41 + "column": 31 }, "end": { "line": 116, - "column": 42 + "column": 32 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -53858,52 +53164,50 @@ "binop": null, "updateContext": null }, - "start": 2560, - "end": 2561, + "start": 2406, + "end": 2407, "loc": { "start": { "line": 116, - "column": 43 + "column": 32 }, "end": { "line": 116, - "column": 44 + "column": 33 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 2566, - "end": 2571, + "value": "aj", + "start": 2408, + "end": 2410, "loc": { "start": { - "line": 118, - "column": 3 + "line": 116, + "column": 34 }, "end": { - "line": 118, - "column": 8 + "line": 116, + "column": 36 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -53911,96 +53215,95 @@ "postfix": false, "binop": null }, - "value": "b", - "start": 2572, - "end": 2573, + "start": 2410, + "end": 2411, "loc": { "start": { - "line": 118, - "column": 9 + "line": 116, + "column": 36 }, "end": { - "line": 118, - "column": 10 + "line": 116, + "column": 37 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 2574, - "end": 2575, + "start": 2411, + "end": 2412, "loc": { "start": { - "line": 118, - "column": 11 + "line": 116, + "column": 37 }, "end": { - "line": 118, - "column": 12 + "line": 116, + "column": 38 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "other", - "start": 2576, - "end": 2581, + "value": "if", + "start": 2416, + "end": 2418, "loc": { "start": { "line": 118, - "column": 13 + "column": 2 }, "end": { "line": 118, - "column": 18 + "column": 4 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2581, - "end": 2582, + "start": 2419, + "end": 2420, "loc": { "start": { "line": 118, - "column": 18 + "column": 5 }, "end": { "line": 118, - "column": 19 + "column": 6 } } }, @@ -54016,42 +53319,44 @@ "postfix": false, "binop": null }, - "value": "_limbs_in_base", - "start": 2582, - "end": 2596, + "value": "ai", + "start": 2420, + "end": 2422, "loc": { "start": { "line": 118, - "column": 19 + "column": 6 }, "end": { "line": 118, - "column": 33 + "column": 8 } } }, { "type": { - "label": "(", + "label": "", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 7, + "updateContext": null }, - "start": 2596, - "end": 2597, + "value": ">=", + "start": 2423, + "end": 2425, "loc": { "start": { "line": 118, - "column": 33 + "column": 9 }, "end": { "line": 118, - "column": 34 + "column": 11 } } }, @@ -54067,17 +53372,17 @@ "postfix": false, "binop": null }, - "value": "r", - "start": 2598, - "end": 2599, + "value": "aj", + "start": 2426, + "end": 2428, "loc": { "start": { "line": 118, - "column": 35 + "column": 12 }, "end": { "line": 118, - "column": 36 + "column": 14 } } }, @@ -54093,22 +53398,23 @@ "postfix": false, "binop": null }, - "start": 2600, - "end": 2601, + "start": 2428, + "end": 2429, "loc": { "start": { "line": 118, - "column": 37 + "column": 14 }, "end": { "line": 118, - "column": 38 + "column": 15 } } }, { "type": { - "label": ";", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -54119,97 +53425,17 @@ "binop": null, "updateContext": null }, - "start": 2602, - "end": 2603, + "value": "return", + "start": 2430, + "end": 2436, "loc": { "start": { "line": 118, - "column": 39 + "column": 16 }, "end": { "line": 118, - "column": 40 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 2607, - "end": 2612, - "loc": { - "start": { - "line": 119, - "column": 3 - }, - "end": { - "line": 119, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "bj", - "start": 2613, - "end": 2615, - "loc": { - "start": { - "line": 119, - "column": 9 - }, - "end": { - "line": 119, - "column": 11 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 2616, - "end": 2617, - "loc": { - "start": { - "line": 119, - "column": 12 - }, - "end": { - "line": 119, - "column": 13 + "column": 22 } } }, @@ -54225,17 +53451,17 @@ "postfix": false, "binop": null }, - "value": "b", - "start": 2618, - "end": 2619, + "value": "other", + "start": 2437, + "end": 2442, "loc": { "start": { - "line": 119, - "column": 14 + "line": 118, + "column": 23 }, "end": { - "line": 119, - "column": 15 + "line": 118, + "column": 28 } } }, @@ -54252,16 +53478,16 @@ "binop": null, "updateContext": null }, - "start": 2619, - "end": 2620, + "start": 2442, + "end": 2443, "loc": { "start": { - "line": 119, - "column": 15 + "line": 118, + "column": 28 }, "end": { - "line": 119, - "column": 16 + "line": 118, + "column": 29 } } }, @@ -54277,50 +53503,48 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 2620, - "end": 2626, + "value": "opposite", + "start": 2443, + "end": 2451, "loc": { "start": { - "line": 119, - "column": 16 + "line": 118, + "column": 29 }, "end": { - "line": 119, - "column": 22 + "line": 118, + "column": 37 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2627, - "end": 2628, + "start": 2451, + "end": 2452, "loc": { "start": { - "line": 119, - "column": 23 + "line": 118, + "column": 37 }, "end": { - "line": 119, - "column": 24 + "line": 118, + "column": 38 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -54328,73 +53552,72 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 2632, - "end": 2637, + "start": 2452, + "end": 2453, "loc": { "start": { - "line": 120, - "column": 3 + "line": 118, + "column": 38 }, "end": { - "line": 120, - "column": 8 + "line": 118, + "column": 39 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "bi", - "start": 2638, - "end": 2640, + "start": 2453, + "end": 2454, "loc": { "start": { - "line": 120, - "column": 9 + "line": 118, + "column": 39 }, "end": { - "line": 120, - "column": 11 + "line": 118, + "column": 40 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 2641, - "end": 2642, + "value": "const", + "start": 2458, + "end": 2463, "loc": { "start": { "line": 120, - "column": 12 + "column": 2 }, "end": { "line": 120, - "column": 13 + "column": 7 } } }, @@ -54410,42 +53633,44 @@ "postfix": false, "binop": null }, - "value": "_trim_positive", - "start": 2643, - "end": 2657, + "value": "b", + "start": 2464, + "end": 2465, "loc": { "start": { "line": 120, - "column": 14 + "column": 8 }, "end": { "line": 120, - "column": 28 + "column": 9 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2657, - "end": 2658, + "value": "=", + "start": 2466, + "end": 2467, "loc": { "start": { "line": 120, - "column": 28 + "column": 10 }, "end": { "line": 120, - "column": 29 + "column": 11 } } }, @@ -54461,24 +53686,24 @@ "postfix": false, "binop": null }, - "value": "b", - "start": 2659, - "end": 2660, + "value": "other", + "start": 2468, + "end": 2473, "loc": { "start": { "line": 120, - "column": 30 + "column": 12 }, "end": { "line": 120, - "column": 31 + "column": 17 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -54488,22 +53713,22 @@ "binop": null, "updateContext": null }, - "start": 2661, - "end": 2662, + "start": 2473, + "end": 2474, "loc": { "start": { "line": 120, - "column": 32 + "column": 17 }, "end": { "line": 120, - "column": 33 + "column": 18 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -54511,46 +53736,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 2663, - "end": 2664, + "value": "_limbs_in_base", + "start": 2474, + "end": 2488, "loc": { "start": { "line": 120, - "column": 34 + "column": 18 }, "end": { "line": 120, - "column": 35 + "column": 32 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2665, - "end": 2666, + "start": 2488, + "end": 2489, "loc": { "start": { "line": 120, - "column": 36 + "column": 32 }, "end": { "line": 120, - "column": 37 + "column": 33 } } }, @@ -54566,17 +53789,17 @@ "postfix": false, "binop": null }, - "value": "bj", - "start": 2667, - "end": 2669, + "value": "r", + "start": 2489, + "end": 2490, "loc": { "start": { "line": 120, - "column": 38 + "column": 33 }, "end": { "line": 120, - "column": 40 + "column": 34 } } }, @@ -54592,16 +53815,16 @@ "postfix": false, "binop": null }, - "start": 2670, - "end": 2671, + "start": 2490, + "end": 2491, "loc": { "start": { "line": 120, - "column": 41 + "column": 34 }, "end": { "line": 120, - "column": 42 + "column": 35 } } }, @@ -54618,23 +53841,23 @@ "binop": null, "updateContext": null }, - "start": 2672, - "end": 2673, + "start": 2491, + "end": 2492, "loc": { "start": { "line": 120, - "column": 43 + "column": 35 }, "end": { "line": 120, - "column": 44 + "column": 36 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -54645,41 +53868,16 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 2678, - "end": 2680, - "loc": { - "start": { - "line": 122, - "column": 3 - }, - "end": { - "line": 122, - "column": 5 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2681, - "end": 2682, + "value": "const", + "start": 2495, + "end": 2500, "loc": { "start": { - "line": 122, - "column": 6 + "line": 121, + "column": 2 }, "end": { - "line": 122, + "line": 121, "column": 7 } } @@ -54696,44 +53894,44 @@ "postfix": false, "binop": null }, - "value": "bi", - "start": 2683, - "end": 2685, + "value": "bj", + "start": 2501, + "end": 2503, "loc": { "start": { - "line": 122, + "line": 121, "column": 8 }, "end": { - "line": 122, + "line": 121, "column": 10 } } }, { "type": { - "label": "", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": 7, + "binop": null, "updateContext": null }, - "value": ">=", - "start": 2686, - "end": 2688, + "value": "=", + "start": 2504, + "end": 2505, "loc": { "start": { - "line": 122, + "line": 121, "column": 11 }, "end": { - "line": 122, - "column": 13 + "line": 121, + "column": 12 } } }, @@ -54749,23 +53947,23 @@ "postfix": false, "binop": null }, - "value": "bj", - "start": 2689, - "end": 2691, + "value": "b", + "start": 2506, + "end": 2507, "loc": { "start": { - "line": 122, - "column": 14 + "line": 121, + "column": 13 }, "end": { - "line": 122, - "column": 16 + "line": 121, + "column": 14 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -54773,53 +53971,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "start": 2692, - "end": 2693, - "loc": { - "start": { - "line": 122, - "column": 17 - }, - "end": { - "line": 122, - "column": 18 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "value": "return", - "start": 2694, - "end": 2700, + "start": 2507, + "end": 2508, "loc": { "start": { - "line": 122, - "column": 19 + "line": 121, + "column": 14 }, "end": { - "line": 122, - "column": 25 + "line": 121, + "column": 15 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -54827,27 +53997,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 2701, - "end": 2705, + "value": "length", + "start": 2508, + "end": 2514, "loc": { "start": { - "line": 122, - "column": 26 + "line": 121, + "column": 15 }, "end": { - "line": 122, - "column": 30 + "line": 121, + "column": 21 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -54857,75 +54026,52 @@ "binop": null, "updateContext": null }, - "start": 2705, - "end": 2706, + "start": 2514, + "end": 2515, "loc": { "start": { - "line": 122, - "column": 30 + "line": 121, + "column": 21 }, "end": { - "line": 122, - "column": 31 + "line": 121, + "column": 22 } } }, { "type": { - "label": "name", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "clone", - "start": 2706, - "end": 2711, - "loc": { - "start": { - "line": 122, - "column": 31 - }, - "end": { - "line": 122, - "column": 36 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2711, - "end": 2712, + "value": "const", + "start": 2518, + "end": 2523, "loc": { "start": { "line": 122, - "column": 36 + "column": 2 }, "end": { "line": 122, - "column": 37 + "column": 7 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -54933,70 +54079,70 @@ "postfix": false, "binop": null }, - "start": 2712, - "end": 2713, + "value": "bi", + "start": 2524, + "end": 2526, "loc": { "start": { "line": 122, - "column": 37 + "column": 8 }, "end": { "line": 122, - "column": 38 + "column": 10 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 2714, - "end": 2715, + "value": "=", + "start": 2527, + "end": 2528, "loc": { "start": { "line": 122, - "column": 39 + "column": 11 }, "end": { "line": 122, - "column": 40 + "column": 12 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 2720, - "end": 2722, + "value": "_trim_positive", + "start": 2529, + "end": 2543, "loc": { "start": { - "line": 124, - "column": 3 + "line": 122, + "column": 13 }, "end": { - "line": 124, - "column": 5 + "line": 122, + "column": 27 } } }, @@ -55012,16 +54158,16 @@ "postfix": false, "binop": null }, - "start": 2723, - "end": 2724, + "start": 2543, + "end": 2544, "loc": { "start": { - "line": 124, - "column": 6 + "line": 122, + "column": 27 }, "end": { - "line": 124, - "column": 7 + "line": 122, + "column": 28 } } }, @@ -55037,48 +54183,49 @@ "postfix": false, "binop": null }, - "value": "cmp", - "start": 2725, - "end": 2728, + "value": "b", + "start": 2544, + "end": 2545, "loc": { "start": { - "line": 124, - "column": 8 + "line": 122, + "column": 28 }, "end": { - "line": 124, - "column": 11 + "line": 122, + "column": 29 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2728, - "end": 2729, + "start": 2545, + "end": 2546, "loc": { "start": { - "line": 124, - "column": 11 + "line": 122, + "column": 29 }, "end": { - "line": 124, - "column": 12 + "line": 122, + "column": 30 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -55086,19 +54233,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "a", - "start": 2730, - "end": 2731, + "value": 0, + "start": 2547, + "end": 2548, "loc": { "start": { - "line": 124, - "column": 13 + "line": 122, + "column": 31 }, "end": { - "line": 124, - "column": 14 + "line": 122, + "column": 32 } } }, @@ -55115,16 +54263,16 @@ "binop": null, "updateContext": null }, - "start": 2732, - "end": 2733, + "start": 2548, + "end": 2549, "loc": { "start": { - "line": 124, - "column": 15 + "line": 122, + "column": 32 }, "end": { - "line": 124, - "column": 16 + "line": 122, + "column": 33 } } }, @@ -55140,51 +54288,25 @@ "postfix": false, "binop": null }, - "value": "ai", - "start": 2734, - "end": 2736, - "loc": { - "start": { - "line": 124, - "column": 17 - }, - "end": { - "line": 124, - "column": 19 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2737, - "end": 2738, + "value": "bj", + "start": 2550, + "end": 2552, "loc": { "start": { - "line": 124, - "column": 20 + "line": 122, + "column": 34 }, "end": { - "line": 124, - "column": 21 + "line": 122, + "column": 36 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -55192,23 +54314,22 @@ "postfix": false, "binop": null }, - "value": "aj", - "start": 2739, - "end": 2741, + "start": 2552, + "end": 2553, "loc": { "start": { - "line": 124, - "column": 22 + "line": 122, + "column": 36 }, "end": { - "line": 124, - "column": 24 + "line": 122, + "column": 37 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -55219,68 +54340,69 @@ "binop": null, "updateContext": null }, - "start": 2742, - "end": 2743, + "start": 2553, + "end": 2554, "loc": { "start": { - "line": 124, - "column": 25 + "line": 122, + "column": 37 }, "end": { - "line": 124, - "column": 26 + "line": 122, + "column": 38 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "b", - "start": 2744, - "end": 2745, + "value": "if", + "start": 2558, + "end": 2560, "loc": { "start": { "line": 124, - "column": 27 + "column": 2 }, "end": { "line": 124, - "column": 28 + "column": 4 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2746, - "end": 2747, + "start": 2561, + "end": 2562, "loc": { "start": { "line": 124, - "column": 29 + "column": 5 }, "end": { "line": 124, - "column": 30 + "column": 6 } } }, @@ -55297,22 +54419,22 @@ "binop": null }, "value": "bi", - "start": 2748, - "end": 2750, + "start": 2562, + "end": 2564, "loc": { "start": { "line": 124, - "column": 31 + "column": 6 }, "end": { "line": 124, - "column": 33 + "column": 8 } } }, { "type": { - "label": ",", + "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -55320,19 +54442,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 7, "updateContext": null }, - "start": 2751, - "end": 2752, + "value": ">=", + "start": 2565, + "end": 2567, "loc": { "start": { "line": 124, - "column": 34 + "column": 9 }, "end": { "line": 124, - "column": 35 + "column": 11 } } }, @@ -55349,16 +54472,16 @@ "binop": null }, "value": "bj", - "start": 2753, - "end": 2755, + "start": 2568, + "end": 2570, "loc": { "start": { "line": 124, - "column": 36 + "column": 12 }, "end": { "line": 124, - "column": 38 + "column": 14 } } }, @@ -55374,22 +54497,23 @@ "postfix": false, "binop": null }, - "start": 2756, - "end": 2757, + "start": 2570, + "end": 2571, "loc": { "start": { "line": 124, - "column": 39 + "column": 14 }, "end": { "line": 124, - "column": 40 + "column": 15 } } }, { "type": { - "label": "", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -55397,26 +54521,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, + "binop": null, "updateContext": null }, - "value": "<", - "start": 2758, - "end": 2759, + "value": "return", + "start": 2572, + "end": 2578, "loc": { "start": { "line": 124, - "column": 41 + "column": 16 }, "end": { "line": 124, - "column": 42 + "column": 22 } } }, { "type": { - "label": "num", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -55427,23 +54552,23 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 2760, - "end": 2761, + "value": "this", + "start": 2579, + "end": 2583, "loc": { "start": { "line": 124, - "column": 43 + "column": 23 }, "end": { "line": 124, - "column": 44 + "column": 27 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -55451,25 +54576,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2762, - "end": 2763, + "start": 2583, + "end": 2584, "loc": { "start": { "line": 124, - "column": 45 + "column": 27 }, "end": { "line": 124, - "column": 46 + "column": 28 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -55478,52 +54604,50 @@ "postfix": false, "binop": null }, - "start": 2764, - "end": 2765, + "value": "clone", + "start": 2584, + "end": 2589, "loc": { "start": { "line": 124, - "column": 47 + "column": 28 }, "end": { "line": 124, - "column": 48 + "column": 33 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 2771, - "end": 2776, + "start": 2589, + "end": 2590, "loc": { "start": { - "line": 126, - "column": 4 + "line": 124, + "column": 33 }, "end": { - "line": 126, - "column": 9 + "line": 124, + "column": 34 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -55531,70 +54655,70 @@ "postfix": false, "binop": null }, - "value": "c", - "start": 2777, - "end": 2778, + "start": 2590, + "end": 2591, "loc": { "start": { - "line": 126, - "column": 10 + "line": 124, + "column": 34 }, "end": { - "line": 126, - "column": 11 + "line": 124, + "column": 35 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 2779, - "end": 2780, + "start": 2591, + "end": 2592, "loc": { "start": { - "line": 126, - "column": 12 + "line": 124, + "column": 35 }, "end": { - "line": 126, - "column": 13 + "line": 124, + "column": 36 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "_zeros", - "start": 2781, - "end": 2787, + "value": "if", + "start": 2596, + "end": 2598, "loc": { "start": { "line": 126, - "column": 14 + "column": 2 }, "end": { "line": 126, - "column": 20 + "column": 4 } } }, @@ -55610,16 +54734,16 @@ "postfix": false, "binop": null }, - "start": 2787, - "end": 2788, + "start": 2599, + "end": 2600, "loc": { "start": { "line": 126, - "column": 20 + "column": 5 }, "end": { "line": 126, - "column": 21 + "column": 6 } } }, @@ -55635,78 +54759,50 @@ "postfix": false, "binop": null }, - "value": "bj", - "start": 2789, - "end": 2791, + "value": "cmp", + "start": 2600, + "end": 2603, "loc": { "start": { "line": 126, - "column": 22 + "column": 6 }, "end": { "line": 126, - "column": 24 + "column": 9 } } }, { "type": { - "label": "+/-", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "-", - "start": 2792, - "end": 2793, - "loc": { - "start": { - "line": 126, - "column": 25 - }, - "end": { - "line": 126, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, "prefix": false, "postfix": false, "binop": null }, - "value": "bi", - "start": 2794, - "end": 2796, + "start": 2603, + "end": 2604, "loc": { "start": { "line": 126, - "column": 27 + "column": 9 }, "end": { "line": 126, - "column": 29 + "column": 10 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -55714,22 +54810,23 @@ "postfix": false, "binop": null }, - "start": 2797, - "end": 2798, + "value": "a", + "start": 2604, + "end": 2605, "loc": { "start": { "line": 126, - "column": 30 + "column": 10 }, "end": { "line": 126, - "column": 31 + "column": 11 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -55740,16 +54837,16 @@ "binop": null, "updateContext": null }, - "start": 2799, - "end": 2800, + "start": 2605, + "end": 2606, "loc": { "start": { "line": 126, - "column": 32 + "column": 11 }, "end": { "line": 126, - "column": 33 + "column": 12 } } }, @@ -55765,42 +54862,43 @@ "postfix": false, "binop": null }, - "value": "_sub", - "start": 2806, - "end": 2810, + "value": "ai", + "start": 2607, + "end": 2609, "loc": { "start": { - "line": 128, - "column": 4 + "line": 126, + "column": 13 }, "end": { - "line": 128, - "column": 8 + "line": 126, + "column": 15 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2810, - "end": 2811, + "start": 2609, + "end": 2610, "loc": { "start": { - "line": 128, - "column": 8 + "line": 126, + "column": 15 }, "end": { - "line": 128, - "column": 9 + "line": 126, + "column": 16 } } }, @@ -55816,17 +54914,17 @@ "postfix": false, "binop": null }, - "value": "r", - "start": 2812, - "end": 2813, + "value": "aj", + "start": 2611, + "end": 2613, "loc": { "start": { - "line": 128, - "column": 10 + "line": 126, + "column": 17 }, "end": { - "line": 128, - "column": 11 + "line": 126, + "column": 19 } } }, @@ -55843,16 +54941,16 @@ "binop": null, "updateContext": null }, - "start": 2814, - "end": 2815, + "start": 2613, + "end": 2614, "loc": { "start": { - "line": 128, - "column": 12 + "line": 126, + "column": 19 }, "end": { - "line": 128, - "column": 13 + "line": 126, + "column": 20 } } }, @@ -55869,16 +54967,16 @@ "binop": null }, "value": "b", - "start": 2816, - "end": 2817, + "start": 2615, + "end": 2616, "loc": { "start": { - "line": 128, - "column": 14 + "line": 126, + "column": 21 }, "end": { - "line": 128, - "column": 15 + "line": 126, + "column": 22 } } }, @@ -55895,16 +54993,16 @@ "binop": null, "updateContext": null }, - "start": 2818, - "end": 2819, + "start": 2616, + "end": 2617, "loc": { "start": { - "line": 128, - "column": 16 + "line": 126, + "column": 22 }, "end": { - "line": 128, - "column": 17 + "line": 126, + "column": 23 } } }, @@ -55921,16 +55019,16 @@ "binop": null }, "value": "bi", - "start": 2820, - "end": 2822, + "start": 2618, + "end": 2620, "loc": { "start": { - "line": 128, - "column": 18 + "line": 126, + "column": 24 }, "end": { - "line": 128, - "column": 20 + "line": 126, + "column": 26 } } }, @@ -55947,16 +55045,16 @@ "binop": null, "updateContext": null }, - "start": 2823, - "end": 2824, + "start": 2620, + "end": 2621, "loc": { "start": { - "line": 128, - "column": 21 + "line": 126, + "column": 26 }, "end": { - "line": 128, - "column": 22 + "line": 126, + "column": 27 } } }, @@ -55973,22 +55071,47 @@ "binop": null }, "value": "bj", - "start": 2825, - "end": 2827, + "start": 2622, + "end": 2624, "loc": { "start": { - "line": 128, - "column": 23 + "line": 126, + "column": 28 }, "end": { - "line": 128, - "column": 25 + "line": 126, + "column": 30 } } }, { "type": { - "label": ",", + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2624, + "end": 2625, + "loc": { + "start": { + "line": 126, + "column": 30 + }, + "end": { + "line": 126, + "column": 31 + } + } + }, + { + "type": { + "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -55996,25 +55119,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 7, "updateContext": null }, - "start": 2828, - "end": 2829, + "value": "<", + "start": 2626, + "end": 2627, "loc": { "start": { - "line": 128, - "column": 26 + "line": 126, + "column": 32 }, "end": { - "line": 128, - "column": 27 + "line": 126, + "column": 33 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -56022,52 +55146,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "a", - "start": 2830, - "end": 2831, + "value": 0, + "start": 2628, + "end": 2629, "loc": { "start": { - "line": 128, - "column": 28 + "line": 126, + "column": 34 }, "end": { - "line": 128, - "column": 29 + "line": 126, + "column": 35 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2832, - "end": 2833, + "start": 2629, + "end": 2630, "loc": { "start": { - "line": 128, - "column": 30 + "line": 126, + "column": 35 }, "end": { - "line": 128, - "column": 31 + "line": 126, + "column": 36 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -56076,24 +55200,24 @@ "postfix": false, "binop": null }, - "value": "ai", - "start": 2834, - "end": 2836, + "start": 2631, + "end": 2632, "loc": { "start": { - "line": 128, - "column": 32 + "line": 126, + "column": 37 }, "end": { - "line": 128, - "column": 34 + "line": 126, + "column": 38 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -56103,16 +55227,17 @@ "binop": null, "updateContext": null }, - "start": 2837, - "end": 2838, + "value": "const", + "start": 2636, + "end": 2641, "loc": { "start": { - "line": 128, - "column": 35 + "line": 127, + "column": 3 }, "end": { - "line": 128, - "column": 36 + "line": 127, + "column": 8 } } }, @@ -56128,43 +55253,44 @@ "postfix": false, "binop": null }, - "value": "aj", - "start": 2839, - "end": 2841, + "value": "c", + "start": 2642, + "end": 2643, "loc": { "start": { - "line": 128, - "column": 37 + "line": 127, + "column": 9 }, "end": { - "line": 128, - "column": 39 + "line": 127, + "column": 10 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 2842, - "end": 2843, + "value": "=", + "start": 2644, + "end": 2645, "loc": { "start": { - "line": 128, - "column": 40 + "line": 127, + "column": 11 }, "end": { - "line": 128, - "column": 41 + "line": 127, + "column": 12 } } }, @@ -56180,49 +55306,48 @@ "postfix": false, "binop": null }, - "value": "c", - "start": 2844, - "end": 2845, + "value": "_zeros", + "start": 2646, + "end": 2652, "loc": { "start": { - "line": 128, - "column": 42 + "line": 127, + "column": 13 }, "end": { - "line": 128, - "column": 43 + "line": 127, + "column": 19 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2846, - "end": 2847, + "start": 2652, + "end": 2653, "loc": { "start": { - "line": 128, - "column": 44 + "line": 127, + "column": 19 }, "end": { - "line": 128, - "column": 45 + "line": 127, + "column": 20 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -56230,46 +55355,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 2848, - "end": 2849, + "value": "bj", + "start": 2653, + "end": 2655, "loc": { "start": { - "line": 128, - "column": 46 + "line": 127, + "column": 20 }, "end": { - "line": 128, - "column": 47 + "line": 127, + "column": 22 } } }, { "type": { - "label": ",", + "label": "+/-", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "start": 2850, - "end": 2851, + "value": "-", + "start": 2656, + "end": 2657, "loc": { "start": { - "line": 128, - "column": 48 + "line": 127, + "column": 23 }, "end": { - "line": 128, - "column": 49 + "line": 127, + "column": 24 } } }, @@ -56285,23 +55410,23 @@ "postfix": false, "binop": null }, - "value": "c", - "start": 2852, - "end": 2853, + "value": "bi", + "start": 2658, + "end": 2660, "loc": { "start": { - "line": 128, - "column": 50 + "line": 127, + "column": 25 }, "end": { - "line": 128, - "column": 51 + "line": 127, + "column": 27 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -56309,53 +55434,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2853, - "end": 2854, + "start": 2660, + "end": 2661, "loc": { "start": { - "line": 128, - "column": 51 + "line": 127, + "column": 27 }, "end": { - "line": 128, - "column": 52 + "line": 127, + "column": 28 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "length", - "start": 2854, - "end": 2860, + "start": 2661, + "end": 2662, "loc": { "start": { - "line": 128, - "column": 52 + "line": 127, + "column": 28 }, "end": { - "line": 128, - "column": 58 + "line": 127, + "column": 29 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -56363,79 +55487,76 @@ "postfix": false, "binop": null }, - "start": 2861, - "end": 2862, + "value": "_sub", + "start": 2667, + "end": 2671, "loc": { "start": { - "line": 128, - "column": 59 + "line": 129, + "column": 3 }, "end": { - "line": 128, - "column": 60 + "line": 129, + "column": 7 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2863, - "end": 2864, + "start": 2671, + "end": 2672, "loc": { "start": { - "line": 128, - "column": 61 + "line": 129, + "column": 7 }, "end": { - "line": 128, - "column": 62 + "line": 129, + "column": 8 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 2870, - "end": 2876, + "value": "r", + "start": 2672, + "end": 2673, "loc": { "start": { - "line": 130, - "column": 4 + "line": 129, + "column": 8 }, "end": { - "line": 130, - "column": 10 + "line": 129, + "column": 9 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -56444,17 +55565,16 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 2877, - "end": 2880, + "start": 2673, + "end": 2674, "loc": { "start": { - "line": 130, - "column": 11 + "line": 129, + "column": 9 }, "end": { - "line": 130, - "column": 14 + "line": 129, + "column": 10 } } }, @@ -56470,42 +55590,43 @@ "postfix": false, "binop": null }, - "value": "Integer", - "start": 2881, - "end": 2888, + "value": "b", + "start": 2675, + "end": 2676, "loc": { "start": { - "line": 130, - "column": 15 + "line": 129, + "column": 11 }, "end": { - "line": 130, - "column": 22 + "line": 129, + "column": 12 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2888, - "end": 2889, + "start": 2676, + "end": 2677, "loc": { "start": { - "line": 130, - "column": 22 + "line": 129, + "column": 12 }, "end": { - "line": 130, - "column": 23 + "line": 129, + "column": 13 } } }, @@ -56521,17 +55642,17 @@ "postfix": false, "binop": null }, - "value": "r", - "start": 2890, - "end": 2891, + "value": "bi", + "start": 2678, + "end": 2680, "loc": { "start": { - "line": 130, - "column": 24 + "line": 129, + "column": 14 }, "end": { - "line": 130, - "column": 25 + "line": 129, + "column": 16 } } }, @@ -56548,50 +55669,22 @@ "binop": null, "updateContext": null }, - "start": 2892, - "end": 2893, - "loc": { - "start": { - "line": 130, - "column": 26 - }, - "end": { - "line": 130, - "column": 27 - } - } - }, - { - "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "~", - "start": 2894, - "end": 2895, + "start": 2680, + "end": 2681, "loc": { "start": { - "line": 130, - "column": 28 + "line": 129, + "column": 16 }, "end": { - "line": 130, - "column": 29 + "line": 129, + "column": 17 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -56599,27 +55692,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 2895, - "end": 2899, + "value": "bj", + "start": 2682, + "end": 2684, "loc": { "start": { - "line": 130, - "column": 29 + "line": 129, + "column": 18 }, "end": { - "line": 130, - "column": 33 + "line": 129, + "column": 20 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -56629,16 +55721,16 @@ "binop": null, "updateContext": null }, - "start": 2899, - "end": 2900, + "start": 2684, + "end": 2685, "loc": { "start": { - "line": 130, - "column": 33 + "line": 129, + "column": 20 }, "end": { - "line": 130, - "column": 34 + "line": 129, + "column": 21 } } }, @@ -56654,17 +55746,17 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 2900, - "end": 2911, + "value": "a", + "start": 2686, + "end": 2687, "loc": { "start": { - "line": 130, - "column": 34 + "line": 129, + "column": 22 }, "end": { - "line": 130, - "column": 45 + "line": 129, + "column": 23 } } }, @@ -56681,16 +55773,16 @@ "binop": null, "updateContext": null }, - "start": 2912, - "end": 2913, + "start": 2687, + "end": 2688, "loc": { "start": { - "line": 130, - "column": 46 + "line": 129, + "column": 23 }, "end": { - "line": 130, - "column": 47 + "line": 129, + "column": 24 } } }, @@ -56706,48 +55798,23 @@ "postfix": false, "binop": null }, - "value": "c", - "start": 2914, - "end": 2915, - "loc": { - "start": { - "line": 130, - "column": 48 - }, - "end": { - "line": 130, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2916, - "end": 2917, + "value": "ai", + "start": 2689, + "end": 2691, "loc": { "start": { - "line": 130, - "column": 50 + "line": 129, + "column": 25 }, "end": { - "line": 130, - "column": 51 + "line": 129, + "column": 27 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -56758,24 +55825,24 @@ "binop": null, "updateContext": null }, - "start": 2918, - "end": 2919, + "start": 2691, + "end": 2692, "loc": { "start": { - "line": 130, - "column": 52 + "line": 129, + "column": 27 }, "end": { - "line": 130, - "column": 53 + "line": 129, + "column": 28 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -56783,23 +55850,23 @@ "postfix": false, "binop": null }, - "start": 2923, - "end": 2924, + "value": "aj", + "start": 2693, + "end": 2695, "loc": { "start": { - "line": 131, - "column": 3 + "line": 129, + "column": 29 }, "end": { - "line": 131, - "column": 4 + "line": 129, + "column": 31 } } }, { "type": { - "label": "else", - "keyword": "else", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -56810,24 +55877,23 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 2929, - "end": 2933, + "start": 2695, + "end": 2696, "loc": { "start": { - "line": 133, - "column": 3 + "line": 129, + "column": 31 }, "end": { - "line": 133, - "column": 7 + "line": 129, + "column": 32 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -56836,24 +55902,24 @@ "postfix": false, "binop": null }, - "start": 2934, - "end": 2935, + "value": "c", + "start": 2697, + "end": 2698, "loc": { "start": { - "line": 133, - "column": 8 + "line": 129, + "column": 33 }, "end": { - "line": 133, - "column": 9 + "line": 129, + "column": 34 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -56863,23 +55929,22 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 2941, - "end": 2946, + "start": 2698, + "end": 2699, "loc": { "start": { - "line": 135, - "column": 4 + "line": 129, + "column": 34 }, "end": { - "line": 135, - "column": 9 + "line": 129, + "column": 35 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -56887,46 +55952,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "c", - "start": 2947, - "end": 2948, + "value": 0, + "start": 2700, + "end": 2701, "loc": { "start": { - "line": 135, - "column": 10 + "line": 129, + "column": 36 }, "end": { - "line": 135, - "column": 11 + "line": 129, + "column": 37 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 2949, - "end": 2950, + "start": 2701, + "end": 2702, "loc": { "start": { - "line": 135, - "column": 12 + "line": 129, + "column": 37 }, "end": { - "line": 135, - "column": 13 + "line": 129, + "column": 38 } } }, @@ -56942,42 +56007,43 @@ "postfix": false, "binop": null }, - "value": "_zeros", - "start": 2951, - "end": 2957, + "value": "c", + "start": 2703, + "end": 2704, "loc": { "start": { - "line": 135, - "column": 14 + "line": 129, + "column": 39 }, "end": { - "line": 135, - "column": 20 + "line": 129, + "column": 40 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2957, - "end": 2958, + "start": 2704, + "end": 2705, "loc": { "start": { - "line": 135, - "column": 20 + "line": 129, + "column": 40 }, "end": { - "line": 135, - "column": 21 + "line": 129, + "column": 41 } } }, @@ -56993,103 +56059,105 @@ "postfix": false, "binop": null }, - "value": "aj", - "start": 2959, - "end": 2961, + "value": "length", + "start": 2705, + "end": 2711, "loc": { "start": { - "line": 135, - "column": 22 + "line": 129, + "column": 41 }, "end": { - "line": 135, - "column": 24 + "line": 129, + "column": 47 } } }, { "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, - "updateContext": null + "binop": null }, - "value": "-", - "start": 2962, - "end": 2963, + "start": 2711, + "end": 2712, "loc": { "start": { - "line": 135, - "column": 25 + "line": 129, + "column": 47 }, "end": { - "line": 135, - "column": 26 + "line": 129, + "column": 48 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "ai", - "start": 2964, - "end": 2966, + "start": 2712, + "end": 2713, "loc": { "start": { - "line": 135, - "column": 27 + "line": 129, + "column": 48 }, "end": { - "line": 135, - "column": 29 + "line": 129, + "column": 49 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2967, - "end": 2968, + "value": "return", + "start": 2718, + "end": 2724, "loc": { "start": { - "line": 135, - "column": 30 + "line": 131, + "column": 3 }, "end": { - "line": 135, - "column": 31 + "line": 131, + "column": 9 } } }, { "type": { - "label": ";", + "label": "new", + "keyword": "new", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -57098,16 +56166,17 @@ "binop": null, "updateContext": null }, - "start": 2969, - "end": 2970, + "value": "new", + "start": 2725, + "end": 2728, "loc": { "start": { - "line": 135, - "column": 32 + "line": 131, + "column": 10 }, "end": { - "line": 135, - "column": 33 + "line": 131, + "column": 13 } } }, @@ -57123,17 +56192,17 @@ "postfix": false, "binop": null }, - "value": "_sub", - "start": 2976, - "end": 2980, + "value": "Integer", + "start": 2729, + "end": 2736, "loc": { "start": { - "line": 137, - "column": 4 + "line": 131, + "column": 14 }, "end": { - "line": 137, - "column": 8 + "line": 131, + "column": 21 } } }, @@ -57149,16 +56218,16 @@ "postfix": false, "binop": null }, - "start": 2980, - "end": 2981, + "start": 2736, + "end": 2737, "loc": { "start": { - "line": 137, - "column": 8 + "line": 131, + "column": 21 }, "end": { - "line": 137, - "column": 9 + "line": 131, + "column": 22 } } }, @@ -57175,16 +56244,16 @@ "binop": null }, "value": "r", - "start": 2982, - "end": 2983, + "start": 2737, + "end": 2738, "loc": { "start": { - "line": 137, - "column": 10 + "line": 131, + "column": 22 }, "end": { - "line": 137, - "column": 11 + "line": 131, + "column": 23 } } }, @@ -57201,22 +56270,50 @@ "binop": null, "updateContext": null }, - "start": 2984, - "end": 2985, + "start": 2738, + "end": 2739, "loc": { "start": { - "line": 137, - "column": 12 + "line": 131, + "column": 23 }, "end": { - "line": 137, - "column": 13 + "line": 131, + "column": 24 } } }, { "type": { - "label": "name", + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "~", + "start": 2740, + "end": 2741, + "loc": { + "start": { + "line": 131, + "column": 25 + }, + "end": { + "line": 131, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -57224,26 +56321,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "a", - "start": 2986, - "end": 2987, + "value": "this", + "start": 2741, + "end": 2745, "loc": { "start": { - "line": 137, - "column": 14 + "line": 131, + "column": 26 }, "end": { - "line": 137, - "column": 15 + "line": 131, + "column": 30 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -57253,16 +56351,16 @@ "binop": null, "updateContext": null }, - "start": 2988, - "end": 2989, + "start": 2745, + "end": 2746, "loc": { "start": { - "line": 137, - "column": 16 + "line": 131, + "column": 30 }, "end": { - "line": 137, - "column": 17 + "line": 131, + "column": 31 } } }, @@ -57278,17 +56376,17 @@ "postfix": false, "binop": null }, - "value": "ai", - "start": 2990, - "end": 2992, + "value": "_is_negative", + "start": 2746, + "end": 2758, "loc": { "start": { - "line": 137, - "column": 18 + "line": 131, + "column": 31 }, "end": { - "line": 137, - "column": 20 + "line": 131, + "column": 43 } } }, @@ -57305,16 +56403,16 @@ "binop": null, "updateContext": null }, - "start": 2993, - "end": 2994, + "start": 2758, + "end": 2759, "loc": { "start": { - "line": 137, - "column": 21 + "line": 131, + "column": 43 }, "end": { - "line": 137, - "column": 22 + "line": 131, + "column": 44 } } }, @@ -57330,23 +56428,48 @@ "postfix": false, "binop": null }, - "value": "aj", - "start": 2995, - "end": 2997, + "value": "c", + "start": 2760, + "end": 2761, "loc": { "start": { - "line": 137, - "column": 23 + "line": 131, + "column": 45 }, "end": { - "line": 137, - "column": 25 + "line": 131, + "column": 46 } } }, { "type": { - "label": ",", + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2761, + "end": 2762, + "loc": { + "start": { + "line": 131, + "column": 46 + }, + "end": { + "line": 131, + "column": 47 + } + } + }, + { + "type": { + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -57357,24 +56480,24 @@ "binop": null, "updateContext": null }, - "start": 2998, - "end": 2999, + "start": 2762, + "end": 2763, "loc": { "start": { - "line": 137, - "column": 26 + "line": 131, + "column": 47 }, "end": { - "line": 137, - "column": 27 + "line": 131, + "column": 48 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -57382,24 +56505,24 @@ "postfix": false, "binop": null }, - "value": "b", - "start": 3000, - "end": 3001, + "start": 2766, + "end": 2767, "loc": { "start": { - "line": 137, - "column": 28 + "line": 132, + "column": 2 }, "end": { - "line": 137, - "column": 29 + "line": 132, + "column": 3 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -57409,16 +56532,17 @@ "binop": null, "updateContext": null }, - "start": 3002, - "end": 3003, + "value": "const", + "start": 2771, + "end": 2776, "loc": { "start": { - "line": 137, - "column": 30 + "line": 134, + "column": 2 }, "end": { - "line": 137, - "column": 31 + "line": 134, + "column": 7 } } }, @@ -57434,43 +56558,44 @@ "postfix": false, "binop": null }, - "value": "bi", - "start": 3004, - "end": 3006, + "value": "c", + "start": 2777, + "end": 2778, "loc": { "start": { - "line": 137, - "column": 32 + "line": 134, + "column": 8 }, "end": { - "line": 137, - "column": 34 + "line": 134, + "column": 9 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 3007, - "end": 3008, + "value": "=", + "start": 2779, + "end": 2780, "loc": { "start": { - "line": 137, - "column": 35 + "line": 134, + "column": 10 }, "end": { - "line": 137, - "column": 36 + "line": 134, + "column": 11 } } }, @@ -57486,43 +56611,42 @@ "postfix": false, "binop": null }, - "value": "bj", - "start": 3009, - "end": 3011, + "value": "_zeros", + "start": 2781, + "end": 2787, "loc": { "start": { - "line": 137, - "column": 37 + "line": 134, + "column": 12 }, "end": { - "line": 137, - "column": 39 + "line": 134, + "column": 18 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3012, - "end": 3013, + "start": 2787, + "end": 2788, "loc": { "start": { - "line": 137, - "column": 40 + "line": 134, + "column": 18 }, "end": { - "line": 137, - "column": 41 + "line": 134, + "column": 19 } } }, @@ -57538,49 +56662,50 @@ "postfix": false, "binop": null }, - "value": "c", - "start": 3014, - "end": 3015, + "value": "aj", + "start": 2788, + "end": 2790, "loc": { "start": { - "line": 137, - "column": 42 + "line": 134, + "column": 19 }, "end": { - "line": 137, - "column": 43 + "line": 134, + "column": 21 } } }, { "type": { - "label": ",", + "label": "+/-", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "start": 3016, - "end": 3017, + "value": "-", + "start": 2791, + "end": 2792, "loc": { "start": { - "line": 137, - "column": 44 + "line": 134, + "column": 22 }, "end": { - "line": 137, - "column": 45 + "line": 134, + "column": 23 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -57588,105 +56713,103 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 3018, - "end": 3019, + "value": "ai", + "start": 2793, + "end": 2795, "loc": { "start": { - "line": 137, - "column": 46 + "line": 134, + "column": 24 }, "end": { - "line": 137, - "column": 47 + "line": 134, + "column": 26 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3020, - "end": 3021, + "start": 2795, + "end": 2796, "loc": { "start": { - "line": 137, - "column": 48 + "line": 134, + "column": 26 }, "end": { - "line": 137, - "column": 49 + "line": 134, + "column": 27 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "c", - "start": 3022, - "end": 3023, + "start": 2796, + "end": 2797, "loc": { "start": { - "line": 137, - "column": 50 + "line": 134, + "column": 27 }, "end": { - "line": 137, - "column": 51 + "line": 134, + "column": 28 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3023, - "end": 3024, + "value": "_sub", + "start": 2801, + "end": 2805, "loc": { "start": { - "line": 137, - "column": 51 + "line": 136, + "column": 2 }, "end": { - "line": 137, - "column": 52 + "line": 136, + "column": 6 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -57695,25 +56818,24 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 3024, - "end": 3030, + "start": 2805, + "end": 2806, "loc": { "start": { - "line": 137, - "column": 52 + "line": 136, + "column": 6 }, "end": { - "line": 137, - "column": 58 + "line": 136, + "column": 7 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -57721,22 +56843,23 @@ "postfix": false, "binop": null }, - "start": 3031, - "end": 3032, + "value": "r", + "start": 2806, + "end": 2807, "loc": { "start": { - "line": 137, - "column": 59 + "line": 136, + "column": 7 }, "end": { - "line": 137, - "column": 60 + "line": 136, + "column": 8 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -57747,53 +56870,50 @@ "binop": null, "updateContext": null }, - "start": 3033, - "end": 3034, + "start": 2807, + "end": 2808, "loc": { "start": { - "line": 137, - "column": 61 + "line": 136, + "column": 8 }, "end": { - "line": 137, - "column": 62 + "line": 136, + "column": 9 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 3040, - "end": 3046, + "value": "a", + "start": 2809, + "end": 2810, "loc": { "start": { - "line": 139, - "column": 4 + "line": 136, + "column": 10 }, "end": { - "line": 139, - "column": 10 + "line": 136, + "column": 11 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -57802,17 +56922,16 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 3047, - "end": 3050, + "start": 2810, + "end": 2811, "loc": { "start": { - "line": 139, + "line": 136, "column": 11 }, "end": { - "line": 139, - "column": 14 + "line": 136, + "column": 12 } } }, @@ -57828,42 +56947,43 @@ "postfix": false, "binop": null }, - "value": "Integer", - "start": 3051, - "end": 3058, + "value": "ai", + "start": 2812, + "end": 2814, "loc": { "start": { - "line": 139, - "column": 15 + "line": 136, + "column": 13 }, "end": { - "line": 139, - "column": 22 + "line": 136, + "column": 15 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3058, - "end": 3059, + "start": 2814, + "end": 2815, "loc": { "start": { - "line": 139, - "column": 22 + "line": 136, + "column": 15 }, "end": { - "line": 139, - "column": 23 + "line": 136, + "column": 16 } } }, @@ -57879,17 +56999,17 @@ "postfix": false, "binop": null }, - "value": "r", - "start": 3060, - "end": 3061, + "value": "aj", + "start": 2816, + "end": 2818, "loc": { "start": { - "line": 139, - "column": 24 + "line": 136, + "column": 17 }, "end": { - "line": 139, - "column": 25 + "line": 136, + "column": 19 } } }, @@ -57906,23 +57026,22 @@ "binop": null, "updateContext": null }, - "start": 3062, - "end": 3063, + "start": 2818, + "end": 2819, "loc": { "start": { - "line": 139, - "column": 26 + "line": 136, + "column": 19 }, "end": { - "line": 139, - "column": 27 + "line": 136, + "column": 20 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -57930,27 +57049,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 3064, - "end": 3068, + "value": "b", + "start": 2820, + "end": 2821, "loc": { "start": { - "line": 139, - "column": 28 + "line": 136, + "column": 21 }, "end": { - "line": 139, - "column": 32 + "line": 136, + "column": 22 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -57960,16 +57078,16 @@ "binop": null, "updateContext": null }, - "start": 3068, - "end": 3069, + "start": 2821, + "end": 2822, "loc": { "start": { - "line": 139, - "column": 32 + "line": 136, + "column": 22 }, "end": { - "line": 139, - "column": 33 + "line": 136, + "column": 23 } } }, @@ -57985,17 +57103,17 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 3069, - "end": 3080, + "value": "bi", + "start": 2823, + "end": 2825, "loc": { "start": { - "line": 139, - "column": 33 + "line": 136, + "column": 24 }, "end": { - "line": 139, - "column": 44 + "line": 136, + "column": 26 } } }, @@ -58012,16 +57130,16 @@ "binop": null, "updateContext": null }, - "start": 3081, - "end": 3082, + "start": 2825, + "end": 2826, "loc": { "start": { - "line": 139, - "column": 45 + "line": 136, + "column": 26 }, "end": { - "line": 139, - "column": 46 + "line": 136, + "column": 27 } } }, @@ -58037,143 +57155,148 @@ "postfix": false, "binop": null }, - "value": "c", - "start": 3083, - "end": 3084, + "value": "bj", + "start": 2827, + "end": 2829, "loc": { "start": { - "line": 139, - "column": 47 + "line": 136, + "column": 28 }, "end": { - "line": 139, - "column": 48 + "line": 136, + "column": 30 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3085, - "end": 3086, + "start": 2829, + "end": 2830, "loc": { "start": { - "line": 139, - "column": 49 + "line": 136, + "column": 30 }, "end": { - "line": 139, - "column": 50 + "line": 136, + "column": 31 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3087, - "end": 3088, + "value": "c", + "start": 2831, + "end": 2832, "loc": { "start": { - "line": 139, - "column": 51 + "line": 136, + "column": 32 }, "end": { - "line": 139, - "column": 52 + "line": 136, + "column": 33 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3093, - "end": 3094, + "start": 2832, + "end": 2833, "loc": { "start": { - "line": 141, - "column": 3 + "line": 136, + "column": 33 }, "end": { - "line": 141, - "column": 4 + "line": 136, + "column": 34 } } }, { "type": { - "label": "}", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3098, - "end": 3099, + "value": 0, + "start": 2834, + "end": 2835, "loc": { "start": { - "line": 143, - "column": 2 + "line": 136, + "column": 35 }, "end": { - "line": 143, - "column": 3 + "line": 136, + "column": 36 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3102, - "end": 3103, + "start": 2835, + "end": 2836, "loc": { "start": { - "line": 145, - "column": 1 + "line": 136, + "column": 36 }, "end": { - "line": 145, - "column": 2 + "line": 136, + "column": 37 } } }, @@ -58189,42 +57312,43 @@ "postfix": false, "binop": null }, - "value": "isub", - "start": 3106, - "end": 3110, + "value": "c", + "start": 2837, + "end": 2838, "loc": { "start": { - "line": 147, - "column": 1 + "line": 136, + "column": 38 }, "end": { - "line": 147, - "column": 5 + "line": 136, + "column": 39 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3111, - "end": 3112, + "start": 2838, + "end": 2839, "loc": { "start": { - "line": 147, - "column": 6 + "line": 136, + "column": 39 }, "end": { - "line": 147, - "column": 7 + "line": 136, + "column": 40 } } }, @@ -58240,17 +57364,17 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 3113, - "end": 3118, + "value": "length", + "start": 2839, + "end": 2845, "loc": { "start": { - "line": 147, - "column": 8 + "line": 136, + "column": 40 }, "end": { - "line": 147, - "column": 13 + "line": 136, + "column": 46 } } }, @@ -58266,57 +57390,42 @@ "postfix": false, "binop": null }, - "start": 3119, - "end": 3120, + "start": 2845, + "end": 2846, "loc": { "start": { - "line": 147, - "column": 14 + "line": 136, + "column": 46 }, "end": { - "line": 147, - "column": 15 + "line": 136, + "column": 47 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3121, - "end": 3122, - "loc": { - "start": { - "line": 147, - "column": 16 - }, - "end": { - "line": 147, - "column": 17 - } - } - }, - { - "type": "CommentLine", - "value": " TODO optimize but be careful with side effects", - "start": 3125, - "end": 3174, + "start": 2846, + "end": 2847, "loc": { "start": { - "line": 148, - "column": 2 + "line": 136, + "column": 47 }, "end": { - "line": 148, - "column": 51 + "line": 136, + "column": 48 } } }, @@ -58335,24 +57444,24 @@ "updateContext": null }, "value": "return", - "start": 3177, - "end": 3183, + "start": 2851, + "end": 2857, "loc": { "start": { - "line": 149, + "line": 138, "column": 2 }, "end": { - "line": 149, + "line": 138, "column": 8 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -58362,50 +57471,50 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 3184, - "end": 3188, + "value": "new", + "start": 2858, + "end": 2861, "loc": { "start": { - "line": 149, + "line": 138, "column": 9 }, "end": { - "line": 149, - "column": 13 + "line": 138, + "column": 12 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3188, - "end": 3189, + "value": "Integer", + "start": 2862, + "end": 2869, "loc": { "start": { - "line": 149, + "line": 138, "column": 13 }, "end": { - "line": 149, - "column": 14 + "line": 138, + "column": 20 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -58414,24 +57523,23 @@ "postfix": false, "binop": null }, - "value": "sub", - "start": 3189, - "end": 3192, + "start": 2869, + "end": 2870, "loc": { "start": { - "line": 149, - "column": 14 + "line": 138, + "column": 20 }, "end": { - "line": 149, - "column": 17 + "line": 138, + "column": 21 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -58440,67 +57548,71 @@ "postfix": false, "binop": null }, - "start": 3192, - "end": 3193, + "value": "r", + "start": 2870, + "end": 2871, "loc": { "start": { - "line": 149, - "column": 17 + "line": 138, + "column": 21 }, "end": { - "line": 149, - "column": 18 + "line": 138, + "column": 22 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "other", - "start": 3193, - "end": 3198, + "start": 2871, + "end": 2872, "loc": { "start": { - "line": 149, - "column": 18 + "line": 138, + "column": 22 }, "end": { - "line": 149, + "line": 138, "column": 23 } } }, { "type": { - "label": ")", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3198, - "end": 3199, + "value": "this", + "start": 2873, + "end": 2877, "loc": { "start": { - "line": 149, - "column": 23 + "line": 138, + "column": 24 }, "end": { - "line": 149, - "column": 24 + "line": 138, + "column": 28 } } }, @@ -58517,16 +57629,16 @@ "binop": null, "updateContext": null }, - "start": 3199, - "end": 3200, + "start": 2877, + "end": 2878, "loc": { "start": { - "line": 149, - "column": 24 + "line": 138, + "column": 28 }, "end": { - "line": 149, - "column": 25 + "line": 138, + "column": 29 } } }, @@ -58542,49 +57654,49 @@ "postfix": false, "binop": null }, - "value": "move", - "start": 3200, - "end": 3204, + "value": "_is_negative", + "start": 2878, + "end": 2890, "loc": { "start": { - "line": 149, - "column": 25 + "line": 138, + "column": 29 }, "end": { - "line": 149, - "column": 29 + "line": 138, + "column": 41 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3204, - "end": 3205, + "start": 2890, + "end": 2891, "loc": { "start": { - "line": 149, - "column": 29 + "line": 138, + "column": 41 }, "end": { - "line": 149, - "column": 30 + "line": 138, + "column": 42 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -58592,20 +57704,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 3205, - "end": 3209, + "value": "c", + "start": 2892, + "end": 2893, "loc": { "start": { - "line": 149, - "column": 30 + "line": 138, + "column": 43 }, "end": { - "line": 149, - "column": 34 + "line": 138, + "column": 44 } } }, @@ -58621,16 +57732,16 @@ "postfix": false, "binop": null }, - "start": 3209, - "end": 3210, + "start": 2893, + "end": 2894, "loc": { "start": { - "line": 149, - "column": 34 + "line": 138, + "column": 44 }, "end": { - "line": 149, - "column": 35 + "line": 138, + "column": 45 } } }, @@ -58647,16 +57758,16 @@ "binop": null, "updateContext": null }, - "start": 3210, - "end": 3211, + "start": 2894, + "end": 2895, "loc": { "start": { - "line": 149, - "column": 35 + "line": 138, + "column": 45 }, "end": { - "line": 149, - "column": 36 + "line": 138, + "column": 46 } } }, @@ -58672,15 +57783,15 @@ "postfix": false, "binop": null }, - "start": 3213, - "end": 3214, + "start": 2897, + "end": 2898, "loc": { "start": { - "line": 150, + "line": 139, "column": 1 }, "end": { - "line": 150, + "line": 139, "column": 2 } } @@ -58697,16 +57808,16 @@ "postfix": false, "binop": null }, - "value": "subn", - "start": 3217, - "end": 3221, + "value": "isub", + "start": 2901, + "end": 2905, "loc": { "start": { - "line": 152, + "line": 141, "column": 1 }, "end": { - "line": 152, + "line": 141, "column": 5 } } @@ -58723,16 +57834,16 @@ "postfix": false, "binop": null }, - "start": 3222, - "end": 3223, + "start": 2905, + "end": 2906, "loc": { "start": { - "line": 152, - "column": 6 + "line": 141, + "column": 5 }, "end": { - "line": 152, - "column": 7 + "line": 141, + "column": 6 } } }, @@ -58748,17 +57859,17 @@ "postfix": false, "binop": null }, - "value": "number", - "start": 3224, - "end": 3230, + "value": "other", + "start": 2906, + "end": 2911, "loc": { "start": { - "line": 152, - "column": 8 + "line": 141, + "column": 6 }, - "end": { - "line": 152, - "column": 14 + "end": { + "line": 141, + "column": 11 } } }, @@ -58774,16 +57885,16 @@ "postfix": false, "binop": null }, - "start": 3231, - "end": 3232, + "start": 2911, + "end": 2912, "loc": { "start": { - "line": 152, - "column": 15 + "line": 141, + "column": 11 }, "end": { - "line": 152, - "column": 16 + "line": 141, + "column": 12 } } }, @@ -58799,16 +57910,32 @@ "postfix": false, "binop": null }, - "start": 3233, - "end": 3234, + "start": 2913, + "end": 2914, "loc": { "start": { - "line": 152, - "column": 17 + "line": 141, + "column": 13 }, "end": { - "line": 152, - "column": 18 + "line": 141, + "column": 14 + } + } + }, + { + "type": "CommentLine", + "value": " TODO optimize but be careful with side effects", + "start": 2917, + "end": 2966, + "loc": { + "start": { + "line": 142, + "column": 2 + }, + "end": { + "line": 142, + "column": 51 } } }, @@ -58827,15 +57954,15 @@ "updateContext": null }, "value": "return", - "start": 3237, - "end": 3243, + "start": 2969, + "end": 2975, "loc": { "start": { - "line": 153, + "line": 143, "column": 2 }, "end": { - "line": 153, + "line": 143, "column": 8 } } @@ -58855,15 +57982,15 @@ "updateContext": null }, "value": "this", - "start": 3244, - "end": 3248, + "start": 2976, + "end": 2980, "loc": { "start": { - "line": 153, + "line": 143, "column": 9 }, "end": { - "line": 153, + "line": 143, "column": 13 } } @@ -58881,15 +58008,15 @@ "binop": null, "updateContext": null }, - "start": 3248, - "end": 3249, + "start": 2980, + "end": 2981, "loc": { "start": { - "line": 153, + "line": 143, "column": 13 }, "end": { - "line": 153, + "line": 143, "column": 14 } } @@ -58907,15 +58034,15 @@ "binop": null }, "value": "sub", - "start": 3249, - "end": 3252, + "start": 2981, + "end": 2984, "loc": { "start": { - "line": 153, + "line": 143, "column": 14 }, "end": { - "line": 153, + "line": 143, "column": 17 } } @@ -58932,15 +58059,15 @@ "postfix": false, "binop": null }, - "start": 3252, - "end": 3253, + "start": 2984, + "end": 2985, "loc": { "start": { - "line": 153, + "line": 143, "column": 17 }, "end": { - "line": 153, + "line": 143, "column": 18 } } @@ -58957,25 +58084,25 @@ "postfix": false, "binop": null }, - "value": "_from_number", - "start": 3253, - "end": 3265, + "value": "other", + "start": 2985, + "end": 2990, "loc": { "start": { - "line": 153, + "line": 143, "column": 18 }, "end": { - "line": 153, - "column": 30 + "line": 143, + "column": 23 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -58983,16 +58110,42 @@ "postfix": false, "binop": null }, - "start": 3265, - "end": 3266, + "start": 2990, + "end": 2991, "loc": { "start": { - "line": 153, - "column": 30 + "line": 143, + "column": 23 }, "end": { - "line": 153, - "column": 31 + "line": 143, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2991, + "end": 2992, + "loc": { + "start": { + "line": 143, + "column": 24 + }, + "end": { + "line": 143, + "column": 25 } } }, @@ -59008,25 +58161,25 @@ "postfix": false, "binop": null }, - "value": "number", - "start": 3266, - "end": 3272, + "value": "move", + "start": 2992, + "end": 2996, "loc": { "start": { - "line": 153, - "column": 31 + "line": 143, + "column": 25 }, "end": { - "line": 153, - "column": 37 + "line": 143, + "column": 29 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -59034,16 +58187,44 @@ "postfix": false, "binop": null }, - "start": 3272, - "end": 3273, + "start": 2996, + "end": 2997, "loc": { "start": { - "line": 153, - "column": 37 + "line": 143, + "column": 29 }, "end": { - "line": 153, - "column": 38 + "line": 143, + "column": 30 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2997, + "end": 3001, + "loc": { + "start": { + "line": 143, + "column": 30 + }, + "end": { + "line": 143, + "column": 34 } } }, @@ -59059,16 +58240,16 @@ "postfix": false, "binop": null }, - "start": 3273, - "end": 3274, + "start": 3001, + "end": 3002, "loc": { "start": { - "line": 153, - "column": 38 + "line": 143, + "column": 34 }, "end": { - "line": 153, - "column": 39 + "line": 143, + "column": 35 } } }, @@ -59085,16 +58266,16 @@ "binop": null, "updateContext": null }, - "start": 3274, - "end": 3275, + "start": 3002, + "end": 3003, "loc": { "start": { - "line": 153, - "column": 39 + "line": 143, + "column": 35 }, "end": { - "line": 153, - "column": 40 + "line": 143, + "column": 36 } } }, @@ -59110,15 +58291,15 @@ "postfix": false, "binop": null }, - "start": 3277, - "end": 3278, + "start": 3005, + "end": 3006, "loc": { "start": { - "line": 154, + "line": 144, "column": 1 }, "end": { - "line": 154, + "line": 144, "column": 2 } } @@ -59135,17 +58316,17 @@ "postfix": false, "binop": null }, - "value": "isubn", - "start": 3281, - "end": 3286, + "value": "subn", + "start": 3009, + "end": 3013, "loc": { "start": { - "line": 156, + "line": 146, "column": 1 }, "end": { - "line": 156, - "column": 6 + "line": 146, + "column": 5 } } }, @@ -59161,16 +58342,16 @@ "postfix": false, "binop": null }, - "start": 3287, - "end": 3288, + "start": 3013, + "end": 3014, "loc": { "start": { - "line": 156, - "column": 7 + "line": 146, + "column": 5 }, "end": { - "line": 156, - "column": 8 + "line": 146, + "column": 6 } } }, @@ -59187,16 +58368,16 @@ "binop": null }, "value": "number", - "start": 3289, - "end": 3295, + "start": 3014, + "end": 3020, "loc": { "start": { - "line": 156, - "column": 9 + "line": 146, + "column": 6 }, "end": { - "line": 156, - "column": 15 + "line": 146, + "column": 12 } } }, @@ -59212,16 +58393,16 @@ "postfix": false, "binop": null }, - "start": 3296, - "end": 3297, + "start": 3020, + "end": 3021, "loc": { "start": { - "line": 156, - "column": 16 + "line": 146, + "column": 12 }, "end": { - "line": 156, - "column": 17 + "line": 146, + "column": 13 } } }, @@ -59237,16 +58418,16 @@ "postfix": false, "binop": null }, - "start": 3298, - "end": 3299, + "start": 3022, + "end": 3023, "loc": { "start": { - "line": 156, - "column": 18 + "line": 146, + "column": 14 }, "end": { - "line": 156, - "column": 19 + "line": 146, + "column": 15 } } }, @@ -59265,15 +58446,15 @@ "updateContext": null }, "value": "return", - "start": 3302, - "end": 3308, + "start": 3026, + "end": 3032, "loc": { "start": { - "line": 157, + "line": 147, "column": 2 }, "end": { - "line": 157, + "line": 147, "column": 8 } } @@ -59293,15 +58474,15 @@ "updateContext": null }, "value": "this", - "start": 3309, - "end": 3313, + "start": 3033, + "end": 3037, "loc": { "start": { - "line": 157, + "line": 147, "column": 9 }, "end": { - "line": 157, + "line": 147, "column": 13 } } @@ -59319,15 +58500,15 @@ "binop": null, "updateContext": null }, - "start": 3313, - "end": 3314, + "start": 3037, + "end": 3038, "loc": { "start": { - "line": 157, + "line": 147, "column": 13 }, "end": { - "line": 157, + "line": 147, "column": 14 } } @@ -59344,17 +58525,17 @@ "postfix": false, "binop": null }, - "value": "subn", - "start": 3314, - "end": 3318, + "value": "sub", + "start": 3038, + "end": 3041, "loc": { "start": { - "line": 157, + "line": 147, "column": 14 }, "end": { - "line": 157, - "column": 18 + "line": 147, + "column": 17 } } }, @@ -59370,16 +58551,16 @@ "postfix": false, "binop": null }, - "start": 3318, - "end": 3319, + "start": 3041, + "end": 3042, "loc": { "start": { - "line": 157, - "column": 18 + "line": 147, + "column": 17 }, "end": { - "line": 157, - "column": 19 + "line": 147, + "column": 18 } } }, @@ -59395,75 +58576,24 @@ "postfix": false, "binop": null }, - "value": "number", - "start": 3319, - "end": 3325, - "loc": { - "start": { - "line": 157, - "column": 19 - }, - "end": { - "line": 157, - "column": 25 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3325, - "end": 3326, - "loc": { - "start": { - "line": 157, - "column": 25 - }, - "end": { - "line": 157, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3326, - "end": 3327, + "value": "_from_number", + "start": 3042, + "end": 3054, "loc": { "start": { - "line": 157, - "column": 26 + "line": 147, + "column": 18 }, "end": { - "line": 157, - "column": 27 + "line": 147, + "column": 30 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -59472,24 +58602,23 @@ "postfix": false, "binop": null }, - "value": "move", - "start": 3327, - "end": 3331, + "start": 3054, + "end": 3055, "loc": { "start": { - "line": 157, - "column": 27 + "line": 147, + "column": 30 }, "end": { - "line": 157, + "line": 147, "column": 31 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -59498,44 +58627,42 @@ "postfix": false, "binop": null }, - "start": 3331, - "end": 3332, + "value": "number", + "start": 3055, + "end": 3061, "loc": { "start": { - "line": 157, + "line": 147, "column": 31 }, "end": { - "line": 157, - "column": 32 + "line": 147, + "column": 37 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 3332, - "end": 3336, + "start": 3061, + "end": 3062, "loc": { "start": { - "line": 157, - "column": 32 + "line": 147, + "column": 37 }, "end": { - "line": 157, - "column": 36 + "line": 147, + "column": 38 } } }, @@ -59551,16 +58678,16 @@ "postfix": false, "binop": null }, - "start": 3336, - "end": 3337, + "start": 3062, + "end": 3063, "loc": { "start": { - "line": 157, - "column": 36 + "line": 147, + "column": 38 }, "end": { - "line": 157, - "column": 37 + "line": 147, + "column": 39 } } }, @@ -59577,16 +58704,16 @@ "binop": null, "updateContext": null }, - "start": 3337, - "end": 3338, + "start": 3063, + "end": 3064, "loc": { "start": { - "line": 157, - "column": 37 + "line": 147, + "column": 39 }, "end": { - "line": 157, - "column": 38 + "line": 147, + "column": 40 } } }, @@ -59602,15 +58729,15 @@ "postfix": false, "binop": null }, - "start": 3340, - "end": 3341, + "start": 3066, + "end": 3067, "loc": { "start": { - "line": 158, + "line": 148, "column": 1 }, "end": { - "line": 158, + "line": 148, "column": 2 } } @@ -59627,17 +58754,17 @@ "postfix": false, "binop": null }, - "value": "mul", - "start": 3344, - "end": 3347, + "value": "isubn", + "start": 3070, + "end": 3075, "loc": { "start": { - "line": 160, + "line": 150, "column": 1 }, "end": { - "line": 160, - "column": 4 + "line": 150, + "column": 6 } } }, @@ -59653,16 +58780,16 @@ "postfix": false, "binop": null }, - "start": 3348, - "end": 3349, + "start": 3075, + "end": 3076, "loc": { "start": { - "line": 160, - "column": 5 + "line": 150, + "column": 6 }, "end": { - "line": 160, - "column": 6 + "line": 150, + "column": 7 } } }, @@ -59678,17 +58805,17 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 3350, - "end": 3355, + "value": "number", + "start": 3076, + "end": 3082, "loc": { "start": { - "line": 160, + "line": 150, "column": 7 }, "end": { - "line": 160, - "column": 12 + "line": 150, + "column": 13 } } }, @@ -59704,15 +58831,15 @@ "postfix": false, "binop": null }, - "start": 3356, - "end": 3357, + "start": 3082, + "end": 3083, "loc": { "start": { - "line": 160, + "line": 150, "column": 13 }, "end": { - "line": 160, + "line": 150, "column": 14 } } @@ -59729,24 +58856,24 @@ "postfix": false, "binop": null }, - "start": 3358, - "end": 3359, + "start": 3084, + "end": 3085, "loc": { "start": { - "line": 160, + "line": 150, "column": 15 }, "end": { - "line": 160, + "line": 150, "column": 16 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -59756,23 +58883,24 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 3363, - "end": 3368, + "value": "return", + "start": 3088, + "end": 3094, "loc": { "start": { - "line": 162, + "line": 151, "column": 2 }, "end": { - "line": 162, - "column": 7 + "line": 151, + "column": 8 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -59780,53 +58908,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "result_is_negative", - "start": 3369, - "end": 3387, + "value": "this", + "start": 3095, + "end": 3099, "loc": { "start": { - "line": 162, - "column": 8 + "line": 151, + "column": 9 }, "end": { - "line": 162, - "column": 26 + "line": 151, + "column": 13 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 3388, - "end": 3389, + "start": 3099, + "end": 3100, "loc": { "start": { - "line": 162, - "column": 27 + "line": 151, + "column": 13 }, "end": { - "line": 162, - "column": 28 + "line": 151, + "column": 14 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -59834,46 +58961,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 3390, - "end": 3394, + "value": "subn", + "start": 3100, + "end": 3104, "loc": { "start": { - "line": 162, - "column": 29 + "line": 151, + "column": 14 }, "end": { - "line": 162, - "column": 33 + "line": 151, + "column": 18 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3394, - "end": 3395, + "start": 3104, + "end": 3105, "loc": { "start": { - "line": 162, - "column": 33 + "line": 151, + "column": 18 }, "end": { - "line": 162, - "column": 34 + "line": 151, + "column": 19 } } }, @@ -59889,51 +59014,101 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 3395, - "end": 3406, + "value": "number", + "start": 3105, + "end": 3111, "loc": { "start": { - "line": 162, - "column": 34 + "line": 151, + "column": 19 }, "end": { - "line": 162, - "column": 45 + "line": 151, + "column": 25 } } }, { "type": { - "label": "^", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3111, + "end": 3112, + "loc": { + "start": { + "line": 151, + "column": 25 + }, + "end": { + "line": 151, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 4, - "updateContext": null + "binop": null, + "updateContext": null + }, + "start": 3112, + "end": 3113, + "loc": { + "start": { + "line": 151, + "column": 26 + }, + "end": { + "line": 151, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null }, - "value": "^", - "start": 3407, - "end": 3408, + "value": "move", + "start": 3113, + "end": 3117, "loc": { "start": { - "line": 162, - "column": 46 + "line": 151, + "column": 27 }, "end": { - "line": 162, - "column": 47 + "line": 151, + "column": 31 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -59942,25 +59117,25 @@ "postfix": false, "binop": null }, - "value": "other", - "start": 3409, - "end": 3414, + "start": 3117, + "end": 3118, "loc": { "start": { - "line": 162, - "column": 48 + "line": 151, + "column": 31 }, "end": { - "line": 162, - "column": 53 + "line": 151, + "column": 32 } } }, { "type": { - "label": ".", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -59969,24 +59144,25 @@ "binop": null, "updateContext": null }, - "start": 3414, - "end": 3415, + "value": "this", + "start": 3118, + "end": 3122, "loc": { "start": { - "line": 162, - "column": 53 + "line": 151, + "column": 32 }, "end": { - "line": 162, - "column": 54 + "line": 151, + "column": 36 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -59994,17 +59170,16 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 3415, - "end": 3426, + "start": 3122, + "end": 3123, "loc": { "start": { - "line": 162, - "column": 54 + "line": 151, + "column": 36 }, "end": { - "line": 162, - "column": 65 + "line": 151, + "column": 37 } } }, @@ -60021,23 +59196,22 @@ "binop": null, "updateContext": null }, - "start": 3427, - "end": 3428, + "start": 3123, + "end": 3124, "loc": { "start": { - "line": 162, - "column": 66 + "line": 151, + "column": 37 }, "end": { - "line": 162, - "column": 67 + "line": 151, + "column": 38 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -60045,20 +59219,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 3431, - "end": 3436, + "start": 3126, + "end": 3127, "loc": { "start": { - "line": 163, - "column": 2 + "line": 152, + "column": 1 }, "end": { - "line": 163, - "column": 7 + "line": 152, + "column": 2 } } }, @@ -60074,106 +59246,76 @@ "postfix": false, "binop": null }, - "value": "r", - "start": 3437, - "end": 3438, + "value": "mul", + "start": 3130, + "end": 3133, "loc": { "start": { - "line": 163, - "column": 8 + "line": 154, + "column": 1 }, "end": { - "line": 163, - "column": 9 + "line": 154, + "column": 4 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 3439, - "end": 3440, - "loc": { - "start": { - "line": 163, - "column": 10 - }, - "end": { - "line": 163, - "column": 11 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 3441, - "end": 3445, + "start": 3133, + "end": 3134, "loc": { "start": { - "line": 163, - "column": 12 + "line": 154, + "column": 4 }, "end": { - "line": 163, - "column": 16 + "line": 154, + "column": 5 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3445, - "end": 3446, + "value": "other", + "start": 3134, + "end": 3139, "loc": { "start": { - "line": 163, - "column": 16 + "line": 154, + "column": 5 }, "end": { - "line": 163, - "column": 17 + "line": 154, + "column": 10 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -60181,43 +59323,41 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 3446, - "end": 3450, + "start": 3139, + "end": 3140, "loc": { "start": { - "line": 163, - "column": 17 + "line": 154, + "column": 10 }, "end": { - "line": 163, - "column": 21 + "line": 154, + "column": 11 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3451, - "end": 3452, + "start": 3141, + "end": 3142, "loc": { "start": { - "line": 163, - "column": 22 + "line": 154, + "column": 12 }, "end": { - "line": 163, - "column": 23 + "line": 154, + "column": 13 } } }, @@ -60236,15 +59376,15 @@ "updateContext": null }, "value": "const", - "start": 3456, - "end": 3461, + "start": 3145, + "end": 3150, "loc": { "start": { - "line": 165, + "line": 155, "column": 2 }, "end": { - "line": 165, + "line": 155, "column": 7 } } @@ -60261,17 +59401,17 @@ "postfix": false, "binop": null }, - "value": "a", - "start": 3462, - "end": 3463, + "value": "result_is_negative", + "start": 3151, + "end": 3169, "loc": { "start": { - "line": 165, + "line": 155, "column": 8 }, "end": { - "line": 165, - "column": 9 + "line": 155, + "column": 26 } } }, @@ -60289,16 +59429,16 @@ "updateContext": null }, "value": "=", - "start": 3464, - "end": 3465, + "start": 3170, + "end": 3171, "loc": { "start": { - "line": 165, - "column": 10 + "line": 155, + "column": 27 }, "end": { - "line": 165, - "column": 11 + "line": 155, + "column": 28 } } }, @@ -60317,16 +59457,16 @@ "updateContext": null }, "value": "this", - "start": 3466, - "end": 3470, + "start": 3172, + "end": 3176, "loc": { "start": { - "line": 165, - "column": 12 + "line": 155, + "column": 29 }, "end": { - "line": 165, - "column": 16 + "line": 155, + "column": 33 } } }, @@ -60343,16 +59483,16 @@ "binop": null, "updateContext": null }, - "start": 3470, - "end": 3471, + "start": 3176, + "end": 3177, "loc": { "start": { - "line": 165, - "column": 16 + "line": 155, + "column": 33 }, "end": { - "line": 165, - "column": 17 + "line": 155, + "column": 34 } } }, @@ -60368,23 +59508,23 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 3471, - "end": 3476, + "value": "_is_negative", + "start": 3177, + "end": 3189, "loc": { "start": { - "line": 165, - "column": 17 + "line": 155, + "column": 34 }, "end": { - "line": 165, - "column": 22 + "line": 155, + "column": 46 } } }, { "type": { - "label": ";", + "label": "^", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -60392,26 +59532,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 4, "updateContext": null }, - "start": 3477, - "end": 3478, + "value": "^", + "start": 3190, + "end": 3191, "loc": { "start": { - "line": 165, - "column": 23 + "line": 155, + "column": 47 }, "end": { - "line": 165, - "column": 24 + "line": 155, + "column": 48 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 3192, + "end": 3197, + "loc": { + "start": { + "line": 155, + "column": 49 + }, + "end": { + "line": 155, + "column": 54 + } + } + }, + { + "type": { + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -60422,17 +59588,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 3482, - "end": 3487, + "start": 3197, + "end": 3198, "loc": { "start": { - "line": 167, - "column": 2 + "line": 155, + "column": 54 }, "end": { - "line": 167, - "column": 7 + "line": 155, + "column": 55 } } }, @@ -60448,181 +59613,186 @@ "postfix": false, "binop": null }, - "value": "b", - "start": 3488, - "end": 3489, + "value": "_is_negative", + "start": 3198, + "end": 3210, "loc": { "start": { - "line": 167, - "column": 8 + "line": 155, + "column": 55 }, "end": { - "line": 167, - "column": 9 + "line": 155, + "column": 67 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 3490, - "end": 3491, + "start": 3210, + "end": 3211, "loc": { "start": { - "line": 167, - "column": 10 + "line": 155, + "column": 67 }, "end": { - "line": 167, - "column": 11 + "line": 155, + "column": 68 } } }, { "type": { - "label": "name", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "other", - "start": 3492, - "end": 3497, + "value": "const", + "start": 3214, + "end": 3219, "loc": { "start": { - "line": 167, - "column": 12 + "line": 156, + "column": 2 }, "end": { - "line": 167, - "column": 17 + "line": 156, + "column": 7 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3497, - "end": 3498, + "value": "r", + "start": 3220, + "end": 3221, "loc": { "start": { - "line": 167, - "column": 17 + "line": 156, + "column": 8 }, "end": { - "line": 167, - "column": 18 + "line": 156, + "column": 9 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "_limbs_in_base", - "start": 3498, - "end": 3512, + "value": "=", + "start": 3222, + "end": 3223, "loc": { "start": { - "line": 167, - "column": 18 + "line": 156, + "column": 10 }, "end": { - "line": 167, - "column": 32 + "line": 156, + "column": 11 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "this", + "keyword": "this", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3512, - "end": 3513, + "value": "this", + "start": 3224, + "end": 3228, "loc": { "start": { - "line": 167, - "column": 32 + "line": 156, + "column": 12 }, "end": { - "line": 167, - "column": 33 + "line": 156, + "column": 16 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "r", - "start": 3514, - "end": 3515, + "start": 3228, + "end": 3229, "loc": { "start": { - "line": 167, - "column": 34 + "line": 156, + "column": 16 }, "end": { - "line": 167, - "column": 35 + "line": 156, + "column": 17 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -60630,16 +59800,17 @@ "postfix": false, "binop": null }, - "start": 3516, - "end": 3517, + "value": "_base", + "start": 3229, + "end": 3234, "loc": { "start": { - "line": 167, - "column": 36 + "line": 156, + "column": 17 }, "end": { - "line": 167, - "column": 37 + "line": 156, + "column": 22 } } }, @@ -60656,16 +59827,16 @@ "binop": null, "updateContext": null }, - "start": 3518, - "end": 3519, + "start": 3234, + "end": 3235, "loc": { "start": { - "line": 167, - "column": 38 + "line": 156, + "column": 22 }, "end": { - "line": 167, - "column": 39 + "line": 156, + "column": 23 } } }, @@ -60684,15 +59855,15 @@ "updateContext": null }, "value": "const", - "start": 3523, - "end": 3528, + "start": 3239, + "end": 3244, "loc": { "start": { - "line": 169, + "line": 158, "column": 2 }, "end": { - "line": 169, + "line": 158, "column": 7 } } @@ -60709,16 +59880,16 @@ "postfix": false, "binop": null }, - "value": "c", - "start": 3529, - "end": 3530, + "value": "a", + "start": 3245, + "end": 3246, "loc": { "start": { - "line": 169, + "line": 158, "column": 8 }, "end": { - "line": 169, + "line": 158, "column": 9 } } @@ -60737,22 +59908,23 @@ "updateContext": null }, "value": "=", - "start": 3531, - "end": 3532, + "start": 3247, + "end": 3248, "loc": { "start": { - "line": 169, + "line": 158, "column": 10 }, "end": { - "line": 169, + "line": 158, "column": 11 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -60760,44 +59932,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "_zeros", - "start": 3533, - "end": 3539, + "value": "this", + "start": 3249, + "end": 3253, "loc": { "start": { - "line": 169, + "line": 158, "column": 12 }, "end": { - "line": 169, - "column": 18 + "line": 158, + "column": 16 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3539, - "end": 3540, + "start": 3253, + "end": 3254, "loc": { "start": { - "line": 169, - "column": 18 + "line": 158, + "column": 16 }, "end": { - "line": 169, - "column": 19 + "line": 158, + "column": 17 } } }, @@ -60813,24 +59987,24 @@ "postfix": false, "binop": null }, - "value": "a", - "start": 3541, - "end": 3542, + "value": "_limbs", + "start": 3254, + "end": 3260, "loc": { "start": { - "line": 169, - "column": 20 + "line": 158, + "column": 17 }, "end": { - "line": 169, - "column": 21 + "line": 158, + "column": 23 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -60840,155 +60014,157 @@ "binop": null, "updateContext": null }, - "start": 3542, - "end": 3543, + "start": 3260, + "end": 3261, "loc": { "start": { - "line": 169, - "column": 21 + "line": 158, + "column": 23 }, "end": { - "line": 169, - "column": 22 + "line": 158, + "column": 24 } } }, { "type": { - "label": "name", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "length", - "start": 3543, - "end": 3549, + "value": "const", + "start": 3265, + "end": 3270, "loc": { "start": { - "line": 169, - "column": 22 + "line": 160, + "column": 2 }, "end": { - "line": 169, - "column": 28 + "line": 160, + "column": 7 } } }, { "type": { - "label": "+/-", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, - "updateContext": null + "binop": null }, - "value": "+", - "start": 3550, - "end": 3551, + "value": "b", + "start": 3271, + "end": 3272, "loc": { "start": { - "line": 169, - "column": 29 + "line": 160, + "column": 8 }, "end": { - "line": 169, - "column": 30 + "line": 160, + "column": 9 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "b", - "start": 3552, - "end": 3553, + "value": "=", + "start": 3273, + "end": 3274, "loc": { "start": { - "line": 169, - "column": 31 + "line": 160, + "column": 10 }, "end": { - "line": 169, - "column": 32 + "line": 160, + "column": 11 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3553, - "end": 3554, + "value": "other", + "start": 3275, + "end": 3280, "loc": { "start": { - "line": 169, - "column": 32 + "line": 160, + "column": 12 }, - "end": { - "line": 169, - "column": 33 + "end": { + "line": 160, + "column": 17 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "length", - "start": 3554, - "end": 3560, + "start": 3280, + "end": 3281, "loc": { "start": { - "line": 169, - "column": 33 + "line": 160, + "column": 17 }, "end": { - "line": 169, - "column": 39 + "line": 160, + "column": 18 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -60996,42 +60172,42 @@ "postfix": false, "binop": null }, - "start": 3561, - "end": 3562, + "value": "_limbs_in_base", + "start": 3281, + "end": 3295, "loc": { "start": { - "line": 169, - "column": 40 + "line": 160, + "column": 18 }, "end": { - "line": 169, - "column": 41 + "line": 160, + "column": 32 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3563, - "end": 3564, + "start": 3295, + "end": 3296, "loc": { "start": { - "line": 169, - "column": 42 + "line": 160, + "column": 32 }, "end": { - "line": 169, - "column": 43 + "line": 160, + "column": 33 } } }, @@ -61047,25 +60223,25 @@ "postfix": false, "binop": null }, - "value": "mul", - "start": 3568, - "end": 3571, + "value": "r", + "start": 3296, + "end": 3297, "loc": { "start": { - "line": 171, - "column": 2 + "line": 160, + "column": 33 }, "end": { - "line": 171, - "column": 5 + "line": 160, + "column": 34 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -61073,49 +60249,50 @@ "postfix": false, "binop": null }, - "start": 3571, - "end": 3572, + "start": 3297, + "end": 3298, "loc": { "start": { - "line": 171, - "column": 5 + "line": 160, + "column": 34 }, "end": { - "line": 171, - "column": 6 + "line": 160, + "column": 35 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "r", - "start": 3573, - "end": 3574, + "start": 3298, + "end": 3299, "loc": { "start": { - "line": 171, - "column": 7 + "line": 160, + "column": 35 }, "end": { - "line": 171, - "column": 8 + "line": 160, + "column": 36 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -61125,16 +60302,17 @@ "binop": null, "updateContext": null }, - "start": 3575, - "end": 3576, + "value": "const", + "start": 3303, + "end": 3308, "loc": { "start": { - "line": 171, - "column": 9 + "line": 162, + "column": 2 }, "end": { - "line": 171, - "column": 10 + "line": 162, + "column": 7 } } }, @@ -61150,49 +60328,50 @@ "postfix": false, "binop": null }, - "value": "a", - "start": 3577, - "end": 3578, + "value": "c", + "start": 3309, + "end": 3310, "loc": { "start": { - "line": 171, - "column": 11 + "line": 162, + "column": 8 }, "end": { - "line": 171, - "column": 12 + "line": 162, + "column": 9 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 3579, - "end": 3580, + "value": "=", + "start": 3311, + "end": 3312, "loc": { "start": { - "line": 171, - "column": 13 + "line": 162, + "column": 10 }, "end": { - "line": 171, - "column": 14 + "line": 162, + "column": 11 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -61200,46 +60379,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 3581, - "end": 3582, + "value": "_zeros", + "start": 3313, + "end": 3319, "loc": { "start": { - "line": 171, - "column": 15 + "line": 162, + "column": 12 }, "end": { - "line": 171, - "column": 16 + "line": 162, + "column": 18 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3583, - "end": 3584, + "start": 3319, + "end": 3320, "loc": { "start": { - "line": 171, - "column": 17 + "line": 162, + "column": 18 }, "end": { - "line": 171, - "column": 18 + "line": 162, + "column": 19 } } }, @@ -61256,15 +60433,15 @@ "binop": null }, "value": "a", - "start": 3585, - "end": 3586, + "start": 3320, + "end": 3321, "loc": { "start": { - "line": 171, + "line": 162, "column": 19 }, "end": { - "line": 171, + "line": 162, "column": 20 } } @@ -61282,15 +60459,15 @@ "binop": null, "updateContext": null }, - "start": 3586, - "end": 3587, + "start": 3321, + "end": 3322, "loc": { "start": { - "line": 171, + "line": 162, "column": 20 }, "end": { - "line": 171, + "line": 162, "column": 21 } } @@ -61308,41 +60485,42 @@ "binop": null }, "value": "length", - "start": 3587, - "end": 3593, + "start": 3322, + "end": 3328, "loc": { "start": { - "line": 171, + "line": 162, "column": 21 }, "end": { - "line": 171, + "line": 162, "column": 27 } } }, { "type": { - "label": ",", + "label": "+/-", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "start": 3594, - "end": 3595, + "value": "+", + "start": 3329, + "end": 3330, "loc": { "start": { - "line": 171, + "line": 162, "column": 28 }, "end": { - "line": 171, + "line": 162, "column": 29 } } @@ -61360,23 +60538,23 @@ "binop": null }, "value": "b", - "start": 3596, - "end": 3597, + "start": 3331, + "end": 3332, "loc": { "start": { - "line": 171, + "line": 162, "column": 30 }, "end": { - "line": 171, + "line": 162, "column": 31 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -61386,22 +60564,22 @@ "binop": null, "updateContext": null }, - "start": 3598, - "end": 3599, + "start": 3332, + "end": 3333, "loc": { "start": { - "line": 171, - "column": 32 + "line": 162, + "column": 31 }, "end": { - "line": 171, - "column": 33 + "line": 162, + "column": 32 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -61409,26 +60587,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 3600, - "end": 3601, + "value": "length", + "start": 3333, + "end": 3339, "loc": { "start": { - "line": 171, - "column": 34 + "line": 162, + "column": 32 }, "end": { - "line": 171, - "column": 35 + "line": 162, + "column": 38 } } }, { "type": { - "label": ",", + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3339, + "end": 3340, + "loc": { + "start": { + "line": 162, + "column": 38 + }, + "end": { + "line": 162, + "column": 39 + } + } + }, + { + "type": { + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -61439,16 +60641,16 @@ "binop": null, "updateContext": null }, - "start": 3602, - "end": 3603, + "start": 3340, + "end": 3341, "loc": { "start": { - "line": 171, - "column": 36 + "line": 162, + "column": 39 }, "end": { - "line": 171, - "column": 37 + "line": 162, + "column": 40 } } }, @@ -61464,43 +60666,42 @@ "postfix": false, "binop": null }, - "value": "b", - "start": 3604, - "end": 3605, + "value": "mul", + "start": 3345, + "end": 3348, "loc": { "start": { - "line": 171, - "column": 38 + "line": 164, + "column": 2 }, "end": { - "line": 171, - "column": 39 + "line": 164, + "column": 5 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3605, - "end": 3606, + "start": 3348, + "end": 3349, "loc": { "start": { - "line": 171, - "column": 39 + "line": 164, + "column": 5 }, "end": { - "line": 171, - "column": 40 + "line": 164, + "column": 6 } } }, @@ -61516,17 +60717,17 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 3606, - "end": 3612, + "value": "r", + "start": 3349, + "end": 3350, "loc": { "start": { - "line": 171, - "column": 40 + "line": 164, + "column": 6 }, "end": { - "line": 171, - "column": 46 + "line": 164, + "column": 7 } } }, @@ -61543,16 +60744,16 @@ "binop": null, "updateContext": null }, - "start": 3613, - "end": 3614, + "start": 3350, + "end": 3351, "loc": { "start": { - "line": 171, - "column": 47 + "line": 164, + "column": 7 }, "end": { - "line": 171, - "column": 48 + "line": 164, + "column": 8 } } }, @@ -61568,17 +60769,17 @@ "postfix": false, "binop": null }, - "value": "c", - "start": 3615, - "end": 3616, + "value": "a", + "start": 3352, + "end": 3353, "loc": { "start": { - "line": 171, - "column": 49 + "line": 164, + "column": 9 }, "end": { - "line": 171, - "column": 50 + "line": 164, + "column": 10 } } }, @@ -61595,16 +60796,16 @@ "binop": null, "updateContext": null }, - "start": 3617, - "end": 3618, + "start": 3353, + "end": 3354, "loc": { "start": { - "line": 171, - "column": 51 + "line": 164, + "column": 10 }, "end": { - "line": 171, - "column": 52 + "line": 164, + "column": 11 } } }, @@ -61622,16 +60823,16 @@ "updateContext": null }, "value": 0, - "start": 3619, - "end": 3620, + "start": 3355, + "end": 3356, "loc": { "start": { - "line": 171, - "column": 53 + "line": 164, + "column": 12 }, "end": { - "line": 171, - "column": 54 + "line": 164, + "column": 13 } } }, @@ -61648,16 +60849,16 @@ "binop": null, "updateContext": null }, - "start": 3621, - "end": 3622, + "start": 3356, + "end": 3357, "loc": { "start": { - "line": 171, - "column": 55 + "line": 164, + "column": 13 }, "end": { - "line": 171, - "column": 56 + "line": 164, + "column": 14 } } }, @@ -61673,17 +60874,17 @@ "postfix": false, "binop": null }, - "value": "c", - "start": 3623, - "end": 3624, + "value": "a", + "start": 3358, + "end": 3359, "loc": { "start": { - "line": 171, - "column": 57 + "line": 164, + "column": 15 }, "end": { - "line": 171, - "column": 58 + "line": 164, + "column": 16 } } }, @@ -61700,16 +60901,16 @@ "binop": null, "updateContext": null }, - "start": 3624, - "end": 3625, + "start": 3359, + "end": 3360, "loc": { "start": { - "line": 171, - "column": 58 + "line": 164, + "column": 16 }, "end": { - "line": 171, - "column": 59 + "line": 164, + "column": 17 } } }, @@ -61726,47 +60927,74 @@ "binop": null }, "value": "length", - "start": 3625, - "end": 3631, + "start": 3360, + "end": 3366, "loc": { "start": { - "line": 171, - "column": 59 + "line": 164, + "column": 17 }, "end": { - "line": 171, - "column": 65 + "line": 164, + "column": 23 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3366, + "end": 3367, + "loc": { + "start": { + "line": 164, + "column": 23 + }, + "end": { + "line": 164, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null }, - "start": 3632, - "end": 3633, + "value": "b", + "start": 3368, + "end": 3369, "loc": { "start": { - "line": 171, - "column": 66 + "line": 164, + "column": 25 }, "end": { - "line": 171, - "column": 67 + "line": 164, + "column": 26 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -61777,25 +61005,24 @@ "binop": null, "updateContext": null }, - "start": 3634, - "end": 3635, + "start": 3369, + "end": 3370, "loc": { "start": { - "line": 171, - "column": 68 + "line": 164, + "column": 26 }, "end": { - "line": 171, - "column": 69 + "line": 164, + "column": 27 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "num", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -61804,26 +61031,25 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 3639, - "end": 3645, + "value": 0, + "start": 3371, + "end": 3372, "loc": { "start": { - "line": 173, - "column": 2 + "line": 164, + "column": 28 }, "end": { - "line": 173, - "column": 8 + "line": 164, + "column": 29 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -61832,17 +61058,16 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 3646, - "end": 3649, + "start": 3372, + "end": 3373, "loc": { "start": { - "line": 173, - "column": 9 + "line": 164, + "column": 29 }, "end": { - "line": 173, - "column": 12 + "line": 164, + "column": 30 } } }, @@ -61858,42 +61083,43 @@ "postfix": false, "binop": null }, - "value": "Integer", - "start": 3650, - "end": 3657, + "value": "b", + "start": 3374, + "end": 3375, "loc": { "start": { - "line": 173, - "column": 13 + "line": 164, + "column": 31 }, "end": { - "line": 173, - "column": 20 + "line": 164, + "column": 32 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3657, - "end": 3658, + "start": 3375, + "end": 3376, "loc": { "start": { - "line": 173, - "column": 20 + "line": 164, + "column": 32 }, "end": { - "line": 173, - "column": 21 + "line": 164, + "column": 33 } } }, @@ -61909,17 +61135,17 @@ "postfix": false, "binop": null }, - "value": "r", - "start": 3659, - "end": 3660, + "value": "length", + "start": 3376, + "end": 3382, "loc": { "start": { - "line": 173, - "column": 22 + "line": 164, + "column": 33 }, "end": { - "line": 173, - "column": 23 + "line": 164, + "column": 39 } } }, @@ -61936,16 +61162,16 @@ "binop": null, "updateContext": null }, - "start": 3661, - "end": 3662, + "start": 3382, + "end": 3383, "loc": { "start": { - "line": 173, - "column": 24 + "line": 164, + "column": 39 }, "end": { - "line": 173, - "column": 25 + "line": 164, + "column": 40 } } }, @@ -61961,17 +61187,70 @@ "postfix": false, "binop": null }, - "value": "result_is_negative", - "start": 3663, - "end": 3681, + "value": "c", + "start": 3384, + "end": 3385, "loc": { "start": { - "line": 173, - "column": 26 + "line": 164, + "column": 41 + }, + "end": { + "line": 164, + "column": 42 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3385, + "end": 3386, + "loc": { + "start": { + "line": 164, + "column": 42 }, "end": { - "line": 173, + "line": 164, + "column": 43 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 3387, + "end": 3388, + "loc": { + "start": { + "line": 164, "column": 44 + }, + "end": { + "line": 164, + "column": 45 } } }, @@ -61988,15 +61267,15 @@ "binop": null, "updateContext": null }, - "start": 3682, - "end": 3683, + "start": 3388, + "end": 3389, "loc": { "start": { - "line": 173, + "line": 164, "column": 45 }, "end": { - "line": 173, + "line": 164, "column": 46 } } @@ -62014,22 +61293,22 @@ "binop": null }, "value": "c", - "start": 3684, - "end": 3685, + "start": 3390, + "end": 3391, "loc": { "start": { - "line": 173, + "line": 164, "column": 47 }, "end": { - "line": 173, + "line": 164, "column": 48 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -62037,18 +61316,70 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3391, + "end": 3392, + "loc": { + "start": { + "line": 164, + "column": 48 + }, + "end": { + "line": 164, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null }, - "start": 3686, - "end": 3687, + "value": "length", + "start": 3392, + "end": 3398, "loc": { "start": { - "line": 173, + "line": 164, "column": 49 }, "end": { - "line": 173, - "column": 50 + "line": 164, + "column": 55 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3398, + "end": 3399, + "loc": { + "start": { + "line": 164, + "column": 55 + }, + "end": { + "line": 164, + "column": 56 } } }, @@ -62065,16 +61396,304 @@ "binop": null, "updateContext": null }, - "start": 3688, - "end": 3689, + "start": 3399, + "end": 3400, "loc": { "start": { - "line": 173, - "column": 51 + "line": 164, + "column": 56 }, "end": { - "line": 173, - "column": 52 + "line": 164, + "column": 57 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 3404, + "end": 3410, + "loc": { + "start": { + "line": 166, + "column": 2 + }, + "end": { + "line": 166, + "column": 8 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 3411, + "end": 3414, + "loc": { + "start": { + "line": 166, + "column": 9 + }, + "end": { + "line": 166, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Integer", + "start": 3415, + "end": 3422, + "loc": { + "start": { + "line": 166, + "column": 13 + }, + "end": { + "line": 166, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3422, + "end": 3423, + "loc": { + "start": { + "line": 166, + "column": 20 + }, + "end": { + "line": 166, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "r", + "start": 3423, + "end": 3424, + "loc": { + "start": { + "line": 166, + "column": 21 + }, + "end": { + "line": 166, + "column": 22 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3424, + "end": 3425, + "loc": { + "start": { + "line": 166, + "column": 22 + }, + "end": { + "line": 166, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "result_is_negative", + "start": 3426, + "end": 3444, + "loc": { + "start": { + "line": 166, + "column": 24 + }, + "end": { + "line": 166, + "column": 42 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3444, + "end": 3445, + "loc": { + "start": { + "line": 166, + "column": 42 + }, + "end": { + "line": 166, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "c", + "start": 3446, + "end": 3447, + "loc": { + "start": { + "line": 166, + "column": 44 + }, + "end": { + "line": 166, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3447, + "end": 3448, + "loc": { + "start": { + "line": 166, + "column": 45 + }, + "end": { + "line": 166, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3448, + "end": 3449, + "loc": { + "start": { + "line": 166, + "column": 46 + }, + "end": { + "line": 166, + "column": 47 } } }, @@ -62090,15 +61709,15 @@ "postfix": false, "binop": null }, - "start": 3692, - "end": 3693, + "start": 3451, + "end": 3452, "loc": { "start": { - "line": 175, + "line": 167, "column": 1 }, "end": { - "line": 175, + "line": 167, "column": 2 } } @@ -62116,15 +61735,15 @@ "binop": null }, "value": "imul", - "start": 3696, - "end": 3700, + "start": 3455, + "end": 3459, "loc": { "start": { - "line": 177, + "line": 169, "column": 1 }, "end": { - "line": 177, + "line": 169, "column": 5 } } @@ -62141,16 +61760,16 @@ "postfix": false, "binop": null }, - "start": 3701, - "end": 3702, + "start": 3459, + "end": 3460, "loc": { "start": { - "line": 177, - "column": 6 + "line": 169, + "column": 5 }, "end": { - "line": 177, - "column": 7 + "line": 169, + "column": 6 } } }, @@ -62167,16 +61786,16 @@ "binop": null }, "value": "other", - "start": 3703, - "end": 3708, + "start": 3460, + "end": 3465, "loc": { "start": { - "line": 177, - "column": 8 + "line": 169, + "column": 6 }, "end": { - "line": 177, - "column": 13 + "line": 169, + "column": 11 } } }, @@ -62192,16 +61811,16 @@ "postfix": false, "binop": null }, - "start": 3709, - "end": 3710, + "start": 3465, + "end": 3466, "loc": { "start": { - "line": 177, - "column": 14 + "line": 169, + "column": 11 }, "end": { - "line": 177, - "column": 15 + "line": 169, + "column": 12 } } }, @@ -62217,31 +61836,31 @@ "postfix": false, "binop": null }, - "start": 3711, - "end": 3712, + "start": 3467, + "end": 3468, "loc": { "start": { - "line": 177, - "column": 16 + "line": 169, + "column": 13 }, "end": { - "line": 177, - "column": 17 + "line": 169, + "column": 14 } } }, { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 3715, - "end": 3764, + "start": 3471, + "end": 3520, "loc": { "start": { - "line": 178, + "line": 170, "column": 2 }, "end": { - "line": 178, + "line": 170, "column": 51 } } @@ -62261,15 +61880,15 @@ "updateContext": null }, "value": "return", - "start": 3767, - "end": 3773, + "start": 3523, + "end": 3529, "loc": { "start": { - "line": 179, + "line": 171, "column": 2 }, "end": { - "line": 179, + "line": 171, "column": 8 } } @@ -62289,15 +61908,15 @@ "updateContext": null }, "value": "this", - "start": 3774, - "end": 3778, + "start": 3530, + "end": 3534, "loc": { "start": { - "line": 179, + "line": 171, "column": 9 }, "end": { - "line": 179, + "line": 171, "column": 13 } } @@ -62315,15 +61934,15 @@ "binop": null, "updateContext": null }, - "start": 3778, - "end": 3779, + "start": 3534, + "end": 3535, "loc": { "start": { - "line": 179, + "line": 171, "column": 13 }, "end": { - "line": 179, + "line": 171, "column": 14 } } @@ -62341,15 +61960,15 @@ "binop": null }, "value": "mul", - "start": 3779, - "end": 3782, + "start": 3535, + "end": 3538, "loc": { "start": { - "line": 179, + "line": 171, "column": 14 }, "end": { - "line": 179, + "line": 171, "column": 17 } } @@ -62366,15 +61985,15 @@ "postfix": false, "binop": null }, - "start": 3782, - "end": 3783, + "start": 3538, + "end": 3539, "loc": { "start": { - "line": 179, + "line": 171, "column": 17 }, "end": { - "line": 179, + "line": 171, "column": 18 } } @@ -62392,15 +62011,15 @@ "binop": null }, "value": "other", - "start": 3783, - "end": 3788, + "start": 3539, + "end": 3544, "loc": { "start": { - "line": 179, + "line": 171, "column": 18 }, "end": { - "line": 179, + "line": 171, "column": 23 } } @@ -62417,15 +62036,15 @@ "postfix": false, "binop": null }, - "start": 3788, - "end": 3789, + "start": 3544, + "end": 3545, "loc": { "start": { - "line": 179, + "line": 171, "column": 23 }, "end": { - "line": 179, + "line": 171, "column": 24 } } @@ -62443,15 +62062,15 @@ "binop": null, "updateContext": null }, - "start": 3789, - "end": 3790, + "start": 3545, + "end": 3546, "loc": { "start": { - "line": 179, + "line": 171, "column": 24 }, "end": { - "line": 179, + "line": 171, "column": 25 } } @@ -62469,15 +62088,15 @@ "binop": null }, "value": "move", - "start": 3790, - "end": 3794, + "start": 3546, + "end": 3550, "loc": { "start": { - "line": 179, + "line": 171, "column": 25 }, "end": { - "line": 179, + "line": 171, "column": 29 } } @@ -62494,15 +62113,15 @@ "postfix": false, "binop": null }, - "start": 3794, - "end": 3795, + "start": 3550, + "end": 3551, "loc": { "start": { - "line": 179, + "line": 171, "column": 29 }, "end": { - "line": 179, + "line": 171, "column": 30 } } @@ -62522,15 +62141,15 @@ "updateContext": null }, "value": "this", - "start": 3795, - "end": 3799, + "start": 3551, + "end": 3555, "loc": { "start": { - "line": 179, + "line": 171, "column": 30 }, "end": { - "line": 179, + "line": 171, "column": 34 } } @@ -62547,15 +62166,15 @@ "postfix": false, "binop": null }, - "start": 3799, - "end": 3800, + "start": 3555, + "end": 3556, "loc": { "start": { - "line": 179, + "line": 171, "column": 34 }, "end": { - "line": 179, + "line": 171, "column": 35 } } @@ -62573,15 +62192,15 @@ "binop": null, "updateContext": null }, - "start": 3800, - "end": 3801, + "start": 3556, + "end": 3557, "loc": { "start": { - "line": 179, + "line": 171, "column": 35 }, "end": { - "line": 179, + "line": 171, "column": 36 } } @@ -62598,15 +62217,15 @@ "postfix": false, "binop": null }, - "start": 3803, - "end": 3804, + "start": 3559, + "end": 3560, "loc": { "start": { - "line": 180, + "line": 172, "column": 1 }, "end": { - "line": 180, + "line": 172, "column": 2 } } @@ -62624,15 +62243,15 @@ "binop": null }, "value": "muln", - "start": 3807, - "end": 3811, + "start": 3563, + "end": 3567, "loc": { "start": { - "line": 182, + "line": 174, "column": 1 }, "end": { - "line": 182, + "line": 174, "column": 5 } } @@ -62649,16 +62268,16 @@ "postfix": false, "binop": null }, - "start": 3812, - "end": 3813, + "start": 3567, + "end": 3568, "loc": { "start": { - "line": 182, - "column": 6 + "line": 174, + "column": 5 }, "end": { - "line": 182, - "column": 7 + "line": 174, + "column": 6 } } }, @@ -62675,16 +62294,16 @@ "binop": null }, "value": "number", - "start": 3814, - "end": 3820, + "start": 3568, + "end": 3574, "loc": { "start": { - "line": 182, - "column": 8 + "line": 174, + "column": 6 }, "end": { - "line": 182, - "column": 14 + "line": 174, + "column": 12 } } }, @@ -62700,16 +62319,16 @@ "postfix": false, "binop": null }, - "start": 3821, - "end": 3822, + "start": 3574, + "end": 3575, "loc": { "start": { - "line": 182, - "column": 15 + "line": 174, + "column": 12 }, "end": { - "line": 182, - "column": 16 + "line": 174, + "column": 13 } } }, @@ -62725,16 +62344,16 @@ "postfix": false, "binop": null }, - "start": 3823, - "end": 3824, + "start": 3576, + "end": 3577, "loc": { "start": { - "line": 182, - "column": 17 + "line": 174, + "column": 14 }, "end": { - "line": 182, - "column": 18 + "line": 174, + "column": 15 } } }, @@ -62753,15 +62372,15 @@ "updateContext": null }, "value": "return", - "start": 3827, - "end": 3833, + "start": 3580, + "end": 3586, "loc": { "start": { - "line": 183, + "line": 175, "column": 2 }, "end": { - "line": 183, + "line": 175, "column": 8 } } @@ -62781,15 +62400,15 @@ "updateContext": null }, "value": "this", - "start": 3834, - "end": 3838, + "start": 3587, + "end": 3591, "loc": { "start": { - "line": 183, + "line": 175, "column": 9 }, "end": { - "line": 183, + "line": 175, "column": 13 } } @@ -62807,15 +62426,15 @@ "binop": null, "updateContext": null }, - "start": 3838, - "end": 3839, + "start": 3591, + "end": 3592, "loc": { "start": { - "line": 183, + "line": 175, "column": 13 }, "end": { - "line": 183, + "line": 175, "column": 14 } } @@ -62833,15 +62452,15 @@ "binop": null }, "value": "mul", - "start": 3839, - "end": 3842, + "start": 3592, + "end": 3595, "loc": { "start": { - "line": 183, + "line": 175, "column": 14 }, "end": { - "line": 183, + "line": 175, "column": 17 } } @@ -62858,15 +62477,15 @@ "postfix": false, "binop": null }, - "start": 3842, - "end": 3843, + "start": 3595, + "end": 3596, "loc": { "start": { - "line": 183, + "line": 175, "column": 17 }, "end": { - "line": 183, + "line": 175, "column": 18 } } @@ -62884,15 +62503,15 @@ "binop": null }, "value": "_from_number", - "start": 3843, - "end": 3855, + "start": 3596, + "end": 3608, "loc": { "start": { - "line": 183, + "line": 175, "column": 18 }, "end": { - "line": 183, + "line": 175, "column": 30 } } @@ -62909,15 +62528,15 @@ "postfix": false, "binop": null }, - "start": 3855, - "end": 3856, + "start": 3608, + "end": 3609, "loc": { "start": { - "line": 183, + "line": 175, "column": 30 }, "end": { - "line": 183, + "line": 175, "column": 31 } } @@ -62935,15 +62554,15 @@ "binop": null }, "value": "number", - "start": 3856, - "end": 3862, + "start": 3609, + "end": 3615, "loc": { "start": { - "line": 183, + "line": 175, "column": 31 }, "end": { - "line": 183, + "line": 175, "column": 37 } } @@ -62960,15 +62579,15 @@ "postfix": false, "binop": null }, - "start": 3862, - "end": 3863, + "start": 3615, + "end": 3616, "loc": { "start": { - "line": 183, + "line": 175, "column": 37 }, "end": { - "line": 183, + "line": 175, "column": 38 } } @@ -62985,15 +62604,15 @@ "postfix": false, "binop": null }, - "start": 3863, - "end": 3864, + "start": 3616, + "end": 3617, "loc": { "start": { - "line": 183, + "line": 175, "column": 38 }, "end": { - "line": 183, + "line": 175, "column": 39 } } @@ -63011,15 +62630,15 @@ "binop": null, "updateContext": null }, - "start": 3864, - "end": 3865, + "start": 3617, + "end": 3618, "loc": { "start": { - "line": 183, + "line": 175, "column": 39 }, "end": { - "line": 183, + "line": 175, "column": 40 } } @@ -63036,15 +62655,15 @@ "postfix": false, "binop": null }, - "start": 3867, - "end": 3868, + "start": 3620, + "end": 3621, "loc": { "start": { - "line": 184, + "line": 176, "column": 1 }, "end": { - "line": 184, + "line": 176, "column": 2 } } @@ -63062,15 +62681,15 @@ "binop": null }, "value": "imuln", - "start": 3871, - "end": 3876, + "start": 3624, + "end": 3629, "loc": { "start": { - "line": 186, + "line": 178, "column": 1 }, "end": { - "line": 186, + "line": 178, "column": 6 } } @@ -63087,16 +62706,16 @@ "postfix": false, "binop": null }, - "start": 3877, - "end": 3878, + "start": 3629, + "end": 3630, "loc": { "start": { - "line": 186, - "column": 7 + "line": 178, + "column": 6 }, "end": { - "line": 186, - "column": 8 + "line": 178, + "column": 7 } } }, @@ -63113,16 +62732,16 @@ "binop": null }, "value": "number", - "start": 3879, - "end": 3885, + "start": 3630, + "end": 3636, "loc": { "start": { - "line": 186, - "column": 9 + "line": 178, + "column": 7 }, "end": { - "line": 186, - "column": 15 + "line": 178, + "column": 13 } } }, @@ -63138,16 +62757,16 @@ "postfix": false, "binop": null }, - "start": 3886, - "end": 3887, + "start": 3636, + "end": 3637, "loc": { "start": { - "line": 186, - "column": 16 + "line": 178, + "column": 13 }, "end": { - "line": 186, - "column": 17 + "line": 178, + "column": 14 } } }, @@ -63163,16 +62782,16 @@ "postfix": false, "binop": null }, - "start": 3888, - "end": 3889, + "start": 3638, + "end": 3639, "loc": { "start": { - "line": 186, - "column": 18 + "line": 178, + "column": 15 }, "end": { - "line": 186, - "column": 19 + "line": 178, + "column": 16 } } }, @@ -63191,15 +62810,15 @@ "updateContext": null }, "value": "return", - "start": 3892, - "end": 3898, + "start": 3642, + "end": 3648, "loc": { "start": { - "line": 187, + "line": 179, "column": 2 }, "end": { - "line": 187, + "line": 179, "column": 8 } } @@ -63219,15 +62838,15 @@ "updateContext": null }, "value": "this", - "start": 3899, - "end": 3903, + "start": 3649, + "end": 3653, "loc": { "start": { - "line": 187, + "line": 179, "column": 9 }, "end": { - "line": 187, + "line": 179, "column": 13 } } @@ -63245,15 +62864,15 @@ "binop": null, "updateContext": null }, - "start": 3903, - "end": 3904, + "start": 3653, + "end": 3654, "loc": { "start": { - "line": 187, + "line": 179, "column": 13 }, "end": { - "line": 187, + "line": 179, "column": 14 } } @@ -63271,15 +62890,15 @@ "binop": null }, "value": "muln", - "start": 3904, - "end": 3908, + "start": 3654, + "end": 3658, "loc": { "start": { - "line": 187, + "line": 179, "column": 14 }, "end": { - "line": 187, + "line": 179, "column": 18 } } @@ -63296,15 +62915,15 @@ "postfix": false, "binop": null }, - "start": 3908, - "end": 3909, + "start": 3658, + "end": 3659, "loc": { "start": { - "line": 187, + "line": 179, "column": 18 }, "end": { - "line": 187, + "line": 179, "column": 19 } } @@ -63322,15 +62941,15 @@ "binop": null }, "value": "number", - "start": 3909, - "end": 3915, + "start": 3659, + "end": 3665, "loc": { "start": { - "line": 187, + "line": 179, "column": 19 }, "end": { - "line": 187, + "line": 179, "column": 25 } } @@ -63347,15 +62966,15 @@ "postfix": false, "binop": null }, - "start": 3915, - "end": 3916, + "start": 3665, + "end": 3666, "loc": { "start": { - "line": 187, + "line": 179, "column": 25 }, "end": { - "line": 187, + "line": 179, "column": 26 } } @@ -63373,15 +62992,15 @@ "binop": null, "updateContext": null }, - "start": 3916, - "end": 3917, + "start": 3666, + "end": 3667, "loc": { "start": { - "line": 187, + "line": 179, "column": 26 }, "end": { - "line": 187, + "line": 179, "column": 27 } } @@ -63399,15 +63018,15 @@ "binop": null }, "value": "move", - "start": 3917, - "end": 3921, + "start": 3667, + "end": 3671, "loc": { "start": { - "line": 187, + "line": 179, "column": 27 }, "end": { - "line": 187, + "line": 179, "column": 31 } } @@ -63424,15 +63043,15 @@ "postfix": false, "binop": null }, - "start": 3921, - "end": 3922, + "start": 3671, + "end": 3672, "loc": { "start": { - "line": 187, + "line": 179, "column": 31 }, "end": { - "line": 187, + "line": 179, "column": 32 } } @@ -63452,15 +63071,15 @@ "updateContext": null }, "value": "this", - "start": 3922, - "end": 3926, + "start": 3672, + "end": 3676, "loc": { "start": { - "line": 187, + "line": 179, "column": 32 }, "end": { - "line": 187, + "line": 179, "column": 36 } } @@ -63477,15 +63096,15 @@ "postfix": false, "binop": null }, - "start": 3926, - "end": 3927, + "start": 3676, + "end": 3677, "loc": { "start": { - "line": 187, + "line": 179, "column": 36 }, "end": { - "line": 187, + "line": 179, "column": 37 } } @@ -63503,15 +63122,15 @@ "binop": null, "updateContext": null }, - "start": 3927, - "end": 3928, + "start": 3677, + "end": 3678, "loc": { "start": { - "line": 187, + "line": 179, "column": 37 }, "end": { - "line": 187, + "line": 179, "column": 38 } } @@ -63528,15 +63147,15 @@ "postfix": false, "binop": null }, - "start": 3930, - "end": 3931, + "start": 3680, + "end": 3681, "loc": { "start": { - "line": 188, + "line": 180, "column": 1 }, "end": { - "line": 188, + "line": 180, "column": 2 } } @@ -63544,15 +63163,15 @@ { "type": "CommentBlock", "value": "*\n\t * Computes this raised to the xth power.\n\t * x is a double smaller or equal to 2^53.\n\t *\n\t * @param {Number} x The power to raise this to.\n\t * @return {Integer} this ^ x\n\t ", - "start": 3934, - "end": 4179, + "start": 3684, + "end": 3929, "loc": { "start": { - "line": 190, + "line": 182, "column": 1 }, "end": { - "line": 196, + "line": 188, "column": 4 } } @@ -63570,15 +63189,15 @@ "binop": null }, "value": "pown", - "start": 4181, - "end": 4185, + "start": 3931, + "end": 3935, "loc": { "start": { - "line": 197, + "line": 189, "column": 1 }, "end": { - "line": 197, + "line": 189, "column": 5 } } @@ -63595,16 +63214,16 @@ "postfix": false, "binop": null }, - "start": 4186, - "end": 4187, + "start": 3935, + "end": 3936, "loc": { "start": { - "line": 197, - "column": 6 + "line": 189, + "column": 5 }, "end": { - "line": 197, - "column": 7 + "line": 189, + "column": 6 } } }, @@ -63621,16 +63240,16 @@ "binop": null }, "value": "x", - "start": 4188, - "end": 4189, + "start": 3936, + "end": 3937, "loc": { "start": { - "line": 197, - "column": 8 + "line": 189, + "column": 6 }, "end": { - "line": 197, - "column": 9 + "line": 189, + "column": 7 } } }, @@ -63646,16 +63265,16 @@ "postfix": false, "binop": null }, - "start": 4190, - "end": 4191, + "start": 3937, + "end": 3938, "loc": { "start": { - "line": 197, - "column": 10 + "line": 189, + "column": 7 }, "end": { - "line": 197, - "column": 11 + "line": 189, + "column": 8 } } }, @@ -63671,16 +63290,16 @@ "postfix": false, "binop": null }, - "start": 4192, - "end": 4193, + "start": 3939, + "end": 3940, "loc": { "start": { - "line": 197, - "column": 12 + "line": 189, + "column": 9 }, "end": { - "line": 197, - "column": 13 + "line": 189, + "column": 10 } } }, @@ -63699,15 +63318,15 @@ "updateContext": null }, "value": "const", - "start": 4197, - "end": 4202, + "start": 3943, + "end": 3948, "loc": { "start": { - "line": 199, + "line": 190, "column": 2 }, "end": { - "line": 199, + "line": 190, "column": 7 } } @@ -63725,15 +63344,15 @@ "binop": null }, "value": "is_negative", - "start": 4203, - "end": 4214, + "start": 3949, + "end": 3960, "loc": { "start": { - "line": 199, + "line": 190, "column": 8 }, "end": { - "line": 199, + "line": 190, "column": 19 } } @@ -63752,15 +63371,15 @@ "updateContext": null }, "value": "=", - "start": 4215, - "end": 4216, + "start": 3961, + "end": 3962, "loc": { "start": { - "line": 199, + "line": 190, "column": 20 }, "end": { - "line": 199, + "line": 190, "column": 21 } } @@ -63780,15 +63399,15 @@ "updateContext": null }, "value": "this", - "start": 4217, - "end": 4221, + "start": 3963, + "end": 3967, "loc": { "start": { - "line": 199, + "line": 190, "column": 22 }, "end": { - "line": 199, + "line": 190, "column": 26 } } @@ -63806,15 +63425,15 @@ "binop": null, "updateContext": null }, - "start": 4221, - "end": 4222, + "start": 3967, + "end": 3968, "loc": { "start": { - "line": 199, + "line": 190, "column": 26 }, "end": { - "line": 199, + "line": 190, "column": 27 } } @@ -63831,17 +63450,17 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 4222, - "end": 4233, + "value": "_is_negative", + "start": 3968, + "end": 3980, "loc": { "start": { - "line": 199, + "line": 190, "column": 27 }, "end": { - "line": 199, - "column": 38 + "line": 190, + "column": 39 } } }, @@ -63859,16 +63478,16 @@ "updateContext": null }, "value": "&", - "start": 4234, - "end": 4235, + "start": 3981, + "end": 3982, "loc": { "start": { - "line": 199, - "column": 39 + "line": 190, + "column": 40 }, "end": { - "line": 199, - "column": 40 + "line": 190, + "column": 41 } } }, @@ -63885,16 +63504,16 @@ "binop": null }, "value": "x", - "start": 4236, - "end": 4237, + "start": 3983, + "end": 3984, "loc": { "start": { - "line": 199, - "column": 41 + "line": 190, + "column": 42 }, "end": { - "line": 199, - "column": 42 + "line": 190, + "column": 43 } } }, @@ -63912,16 +63531,16 @@ "updateContext": null }, "value": "&", - "start": 4238, - "end": 4239, + "start": 3985, + "end": 3986, "loc": { "start": { - "line": 199, - "column": 43 + "line": 190, + "column": 44 }, "end": { - "line": 199, - "column": 44 + "line": 190, + "column": 45 } } }, @@ -63939,16 +63558,16 @@ "updateContext": null }, "value": 1, - "start": 4240, - "end": 4241, + "start": 3987, + "end": 3988, "loc": { "start": { - "line": 199, - "column": 45 + "line": 190, + "column": 46 }, "end": { - "line": 199, - "column": 46 + "line": 190, + "column": 47 } } }, @@ -63965,16 +63584,16 @@ "binop": null, "updateContext": null }, - "start": 4242, - "end": 4243, + "start": 3989, + "end": 3990, "loc": { "start": { - "line": 199, - "column": 47 + "line": 190, + "column": 48 }, "end": { - "line": 199, - "column": 48 + "line": 190, + "column": 49 } } }, @@ -63992,16 +63611,16 @@ "updateContext": null }, "value": "-", - "start": 4244, - "end": 4245, + "start": 3991, + "end": 3992, "loc": { "start": { - "line": 199, - "column": 49 + "line": 190, + "column": 50 }, "end": { - "line": 199, - "column": 50 + "line": 190, + "column": 51 } } }, @@ -64019,16 +63638,16 @@ "updateContext": null }, "value": 1, - "start": 4245, - "end": 4246, + "start": 3992, + "end": 3993, "loc": { "start": { - "line": 199, - "column": 50 + "line": 190, + "column": 51 }, "end": { - "line": 199, - "column": 51 + "line": 190, + "column": 52 } } }, @@ -64045,16 +63664,16 @@ "binop": null, "updateContext": null }, - "start": 4247, - "end": 4248, + "start": 3994, + "end": 3995, "loc": { "start": { - "line": 199, - "column": 52 + "line": 190, + "column": 53 }, "end": { - "line": 199, - "column": 53 + "line": 190, + "column": 54 } } }, @@ -64072,16 +63691,16 @@ "updateContext": null }, "value": 0, - "start": 4249, - "end": 4250, + "start": 3996, + "end": 3997, "loc": { "start": { - "line": 199, - "column": 54 + "line": 190, + "column": 55 }, "end": { - "line": 199, - "column": 55 + "line": 190, + "column": 56 } } }, @@ -64098,15 +63717,15 @@ "binop": null, "updateContext": null }, - "start": 4251, - "end": 4252, + "start": 3997, + "end": 3998, "loc": { "start": { - "line": 199, + "line": 190, "column": 56 }, "end": { - "line": 199, + "line": 190, "column": 57 } } @@ -64126,15 +63745,15 @@ "updateContext": null }, "value": "const", - "start": 4256, - "end": 4261, + "start": 4002, + "end": 4007, "loc": { "start": { - "line": 201, + "line": 192, "column": 2 }, "end": { - "line": 201, + "line": 192, "column": 7 } } @@ -64152,15 +63771,15 @@ "binop": null }, "value": "a", - "start": 4262, - "end": 4263, + "start": 4008, + "end": 4009, "loc": { "start": { - "line": 201, + "line": 192, "column": 8 }, "end": { - "line": 201, + "line": 192, "column": 9 } } @@ -64179,15 +63798,15 @@ "updateContext": null }, "value": "=", - "start": 4264, - "end": 4265, + "start": 4010, + "end": 4011, "loc": { "start": { - "line": 201, + "line": 192, "column": 10 }, "end": { - "line": 201, + "line": 192, "column": 11 } } @@ -64207,15 +63826,15 @@ "updateContext": null }, "value": "this", - "start": 4266, - "end": 4270, + "start": 4012, + "end": 4016, "loc": { "start": { - "line": 201, + "line": 192, "column": 12 }, "end": { - "line": 201, + "line": 192, "column": 16 } } @@ -64233,15 +63852,15 @@ "binop": null, "updateContext": null }, - "start": 4270, - "end": 4271, + "start": 4016, + "end": 4017, "loc": { "start": { - "line": 201, + "line": 192, "column": 16 }, "end": { - "line": 201, + "line": 192, "column": 17 } } @@ -64258,17 +63877,17 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 4271, - "end": 4276, + "value": "_limbs", + "start": 4017, + "end": 4023, "loc": { "start": { - "line": 201, + "line": 192, "column": 17 }, "end": { - "line": 201, - "column": 22 + "line": 192, + "column": 23 } } }, @@ -64285,15 +63904,15 @@ "binop": null, "updateContext": null }, - "start": 4277, - "end": 4278, + "start": 4023, + "end": 4024, "loc": { "start": { - "line": 201, + "line": 192, "column": 23 }, "end": { - "line": 201, + "line": 192, "column": 24 } } @@ -64313,15 +63932,15 @@ "updateContext": null }, "value": "const", - "start": 4281, - "end": 4286, + "start": 4027, + "end": 4032, "loc": { "start": { - "line": 202, + "line": 193, "column": 2 }, "end": { - "line": 202, + "line": 193, "column": 7 } } @@ -64339,15 +63958,15 @@ "binop": null }, "value": "c", - "start": 4287, - "end": 4288, + "start": 4033, + "end": 4034, "loc": { "start": { - "line": 202, + "line": 193, "column": 8 }, "end": { - "line": 202, + "line": 193, "column": 9 } } @@ -64366,15 +63985,15 @@ "updateContext": null }, "value": "=", - "start": 4289, - "end": 4290, + "start": 4035, + "end": 4036, "loc": { "start": { - "line": 202, + "line": 193, "column": 10 }, "end": { - "line": 202, + "line": 193, "column": 11 } } @@ -64392,15 +64011,15 @@ "binop": null }, "value": "_zeros", - "start": 4291, - "end": 4297, + "start": 4037, + "end": 4043, "loc": { "start": { - "line": 202, + "line": 193, "column": 12 }, "end": { - "line": 202, + "line": 193, "column": 18 } } @@ -64417,15 +64036,15 @@ "postfix": false, "binop": null }, - "start": 4297, - "end": 4298, + "start": 4043, + "end": 4044, "loc": { "start": { - "line": 202, + "line": 193, "column": 18 }, "end": { - "line": 202, + "line": 193, "column": 19 } } @@ -64443,16 +64062,16 @@ "binop": null }, "value": "Math", - "start": 4299, - "end": 4303, + "start": 4044, + "end": 4048, "loc": { "start": { - "line": 202, - "column": 20 + "line": 193, + "column": 19 }, "end": { - "line": 202, - "column": 24 + "line": 193, + "column": 23 } } }, @@ -64469,16 +64088,16 @@ "binop": null, "updateContext": null }, - "start": 4303, - "end": 4304, + "start": 4048, + "end": 4049, "loc": { "start": { - "line": 202, - "column": 24 + "line": 193, + "column": 23 }, "end": { - "line": 202, - "column": 25 + "line": 193, + "column": 24 } } }, @@ -64495,16 +64114,16 @@ "binop": null }, "value": "max", - "start": 4304, - "end": 4307, + "start": 4049, + "end": 4052, "loc": { "start": { - "line": 202, - "column": 25 + "line": 193, + "column": 24 }, "end": { - "line": 202, - "column": 28 + "line": 193, + "column": 27 } } }, @@ -64520,16 +64139,16 @@ "postfix": false, "binop": null }, - "start": 4307, - "end": 4308, + "start": 4052, + "end": 4053, "loc": { "start": { - "line": 202, - "column": 28 + "line": 193, + "column": 27 }, "end": { - "line": 202, - "column": 29 + "line": 193, + "column": 28 } } }, @@ -64547,16 +64166,16 @@ "updateContext": null }, "value": 1, - "start": 4309, - "end": 4310, + "start": 4053, + "end": 4054, "loc": { "start": { - "line": 202, - "column": 30 + "line": 193, + "column": 28 }, "end": { - "line": 202, - "column": 31 + "line": 193, + "column": 29 } } }, @@ -64573,16 +64192,16 @@ "binop": null, "updateContext": null }, - "start": 4311, - "end": 4312, + "start": 4054, + "end": 4055, "loc": { "start": { - "line": 202, - "column": 32 + "line": 193, + "column": 29 }, "end": { - "line": 202, - "column": 33 + "line": 193, + "column": 30 } } }, @@ -64599,16 +64218,16 @@ "binop": null }, "value": "a", - "start": 4313, - "end": 4314, + "start": 4056, + "end": 4057, "loc": { "start": { - "line": 202, - "column": 34 + "line": 193, + "column": 31 }, "end": { - "line": 202, - "column": 35 + "line": 193, + "column": 32 } } }, @@ -64625,16 +64244,16 @@ "binop": null, "updateContext": null }, - "start": 4314, - "end": 4315, + "start": 4057, + "end": 4058, "loc": { "start": { - "line": 202, - "column": 35 + "line": 193, + "column": 32 }, "end": { - "line": 202, - "column": 36 + "line": 193, + "column": 33 } } }, @@ -64651,16 +64270,16 @@ "binop": null }, "value": "length", - "start": 4315, - "end": 4321, + "start": 4058, + "end": 4064, "loc": { "start": { - "line": 202, - "column": 36 + "line": 193, + "column": 33 }, "end": { - "line": 202, - "column": 42 + "line": 193, + "column": 39 } } }, @@ -64678,16 +64297,16 @@ "updateContext": null }, "value": "*", - "start": 4322, - "end": 4323, + "start": 4065, + "end": 4066, "loc": { "start": { - "line": 202, - "column": 43 + "line": 193, + "column": 40 }, "end": { - "line": 202, - "column": 44 + "line": 193, + "column": 41 } } }, @@ -64704,16 +64323,16 @@ "binop": null }, "value": "x", - "start": 4324, - "end": 4325, + "start": 4067, + "end": 4068, "loc": { "start": { - "line": 202, - "column": 45 + "line": 193, + "column": 42 }, "end": { - "line": 202, - "column": 46 + "line": 193, + "column": 43 } } }, @@ -64729,16 +64348,16 @@ "postfix": false, "binop": null }, - "start": 4326, - "end": 4327, + "start": 4068, + "end": 4069, "loc": { "start": { - "line": 202, - "column": 47 + "line": 193, + "column": 43 }, "end": { - "line": 202, - "column": 48 + "line": 193, + "column": 44 } } }, @@ -64754,16 +64373,16 @@ "postfix": false, "binop": null }, - "start": 4328, - "end": 4329, + "start": 4069, + "end": 4070, "loc": { "start": { - "line": 202, - "column": 49 + "line": 193, + "column": 44 }, "end": { - "line": 202, - "column": 50 + "line": 193, + "column": 45 } } }, @@ -64780,16 +64399,16 @@ "binop": null, "updateContext": null }, - "start": 4330, - "end": 4331, + "start": 4070, + "end": 4071, "loc": { "start": { - "line": 202, - "column": 51 + "line": 193, + "column": 45 }, "end": { - "line": 202, - "column": 52 + "line": 193, + "column": 46 } } }, @@ -64806,15 +64425,15 @@ "binop": null }, "value": "_pow_double", - "start": 4335, - "end": 4346, + "start": 4075, + "end": 4086, "loc": { "start": { - "line": 204, + "line": 195, "column": 2 }, "end": { - "line": 204, + "line": 195, "column": 13 } } @@ -64831,15 +64450,15 @@ "postfix": false, "binop": null }, - "start": 4346, - "end": 4347, + "start": 4086, + "end": 4087, "loc": { "start": { - "line": 204, + "line": 195, "column": 13 }, "end": { - "line": 204, + "line": 195, "column": 14 } } @@ -64859,16 +64478,16 @@ "updateContext": null }, "value": "this", - "start": 4348, - "end": 4352, + "start": 4087, + "end": 4091, "loc": { "start": { - "line": 204, - "column": 15 + "line": 195, + "column": 14 }, "end": { - "line": 204, - "column": 19 + "line": 195, + "column": 18 } } }, @@ -64885,16 +64504,16 @@ "binop": null, "updateContext": null }, - "start": 4352, - "end": 4353, + "start": 4091, + "end": 4092, "loc": { "start": { - "line": 204, - "column": 19 + "line": 195, + "column": 18 }, "end": { - "line": 204, - "column": 20 + "line": 195, + "column": 19 } } }, @@ -64910,16 +64529,16 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 4353, - "end": 4357, + "value": "_base", + "start": 4092, + "end": 4097, "loc": { "start": { - "line": 204, - "column": 20 + "line": 195, + "column": 19 }, "end": { - "line": 204, + "line": 195, "column": 24 } } @@ -64937,16 +64556,16 @@ "binop": null, "updateContext": null }, - "start": 4358, - "end": 4359, + "start": 4097, + "end": 4098, "loc": { "start": { - "line": 204, - "column": 25 + "line": 195, + "column": 24 }, "end": { - "line": 204, - "column": 26 + "line": 195, + "column": 25 } } }, @@ -64963,16 +64582,16 @@ "binop": null }, "value": "x", - "start": 4360, - "end": 4361, + "start": 4099, + "end": 4100, "loc": { "start": { - "line": 204, - "column": 27 + "line": 195, + "column": 26 }, "end": { - "line": 204, - "column": 28 + "line": 195, + "column": 27 } } }, @@ -64989,16 +64608,16 @@ "binop": null, "updateContext": null }, - "start": 4362, - "end": 4363, + "start": 4100, + "end": 4101, "loc": { "start": { - "line": 204, - "column": 29 + "line": 195, + "column": 27 }, "end": { - "line": 204, - "column": 30 + "line": 195, + "column": 28 } } }, @@ -65015,16 +64634,16 @@ "binop": null }, "value": "a", - "start": 4364, - "end": 4365, + "start": 4102, + "end": 4103, "loc": { "start": { - "line": 204, - "column": 31 + "line": 195, + "column": 29 }, "end": { - "line": 204, - "column": 32 + "line": 195, + "column": 30 } } }, @@ -65041,16 +64660,16 @@ "binop": null, "updateContext": null }, - "start": 4366, - "end": 4367, + "start": 4103, + "end": 4104, "loc": { "start": { - "line": 204, - "column": 33 + "line": 195, + "column": 30 }, "end": { - "line": 204, - "column": 34 + "line": 195, + "column": 31 } } }, @@ -65068,16 +64687,16 @@ "updateContext": null }, "value": 0, - "start": 4368, - "end": 4369, + "start": 4105, + "end": 4106, "loc": { "start": { - "line": 204, - "column": 35 + "line": 195, + "column": 32 }, "end": { - "line": 204, - "column": 36 + "line": 195, + "column": 33 } } }, @@ -65094,16 +64713,16 @@ "binop": null, "updateContext": null }, - "start": 4370, - "end": 4371, + "start": 4106, + "end": 4107, "loc": { "start": { - "line": 204, - "column": 37 + "line": 195, + "column": 33 }, "end": { - "line": 204, - "column": 38 + "line": 195, + "column": 34 } } }, @@ -65120,16 +64739,16 @@ "binop": null }, "value": "a", - "start": 4372, - "end": 4373, + "start": 4108, + "end": 4109, "loc": { "start": { - "line": 204, - "column": 39 + "line": 195, + "column": 35 }, "end": { - "line": 204, - "column": 40 + "line": 195, + "column": 36 } } }, @@ -65146,16 +64765,16 @@ "binop": null, "updateContext": null }, - "start": 4373, - "end": 4374, + "start": 4109, + "end": 4110, "loc": { "start": { - "line": 204, - "column": 40 + "line": 195, + "column": 36 }, "end": { - "line": 204, - "column": 41 + "line": 195, + "column": 37 } } }, @@ -65172,16 +64791,16 @@ "binop": null }, "value": "length", - "start": 4374, - "end": 4380, + "start": 4110, + "end": 4116, "loc": { "start": { - "line": 204, - "column": 41 + "line": 195, + "column": 37 }, "end": { - "line": 204, - "column": 47 + "line": 195, + "column": 43 } } }, @@ -65198,16 +64817,16 @@ "binop": null, "updateContext": null }, - "start": 4381, - "end": 4382, + "start": 4116, + "end": 4117, "loc": { "start": { - "line": 204, - "column": 48 + "line": 195, + "column": 43 }, "end": { - "line": 204, - "column": 49 + "line": 195, + "column": 44 } } }, @@ -65224,16 +64843,16 @@ "binop": null }, "value": "c", - "start": 4383, - "end": 4384, + "start": 4118, + "end": 4119, "loc": { "start": { - "line": 204, - "column": 50 + "line": 195, + "column": 45 }, "end": { - "line": 204, - "column": 51 + "line": 195, + "column": 46 } } }, @@ -65250,16 +64869,16 @@ "binop": null, "updateContext": null }, - "start": 4385, - "end": 4386, + "start": 4119, + "end": 4120, "loc": { "start": { - "line": 204, - "column": 52 + "line": 195, + "column": 46 }, "end": { - "line": 204, - "column": 53 + "line": 195, + "column": 47 } } }, @@ -65277,16 +64896,16 @@ "updateContext": null }, "value": 0, - "start": 4387, - "end": 4388, + "start": 4121, + "end": 4122, "loc": { "start": { - "line": 204, - "column": 54 + "line": 195, + "column": 48 }, "end": { - "line": 204, - "column": 55 + "line": 195, + "column": 49 } } }, @@ -65303,16 +64922,16 @@ "binop": null, "updateContext": null }, - "start": 4389, - "end": 4390, + "start": 4122, + "end": 4123, "loc": { "start": { - "line": 204, - "column": 56 + "line": 195, + "column": 49 }, "end": { - "line": 204, - "column": 57 + "line": 195, + "column": 50 } } }, @@ -65329,16 +64948,16 @@ "binop": null }, "value": "c", - "start": 4391, - "end": 4392, + "start": 4124, + "end": 4125, "loc": { "start": { - "line": 204, - "column": 58 + "line": 195, + "column": 51 }, "end": { - "line": 204, - "column": 59 + "line": 195, + "column": 52 } } }, @@ -65355,16 +64974,16 @@ "binop": null, "updateContext": null }, - "start": 4392, - "end": 4393, + "start": 4125, + "end": 4126, "loc": { "start": { - "line": 204, - "column": 59 + "line": 195, + "column": 52 }, "end": { - "line": 204, - "column": 60 + "line": 195, + "column": 53 } } }, @@ -65381,16 +65000,16 @@ "binop": null }, "value": "length", - "start": 4393, - "end": 4399, + "start": 4126, + "end": 4132, "loc": { "start": { - "line": 204, - "column": 60 + "line": 195, + "column": 53 }, "end": { - "line": 204, - "column": 66 + "line": 195, + "column": 59 } } }, @@ -65406,16 +65025,16 @@ "postfix": false, "binop": null }, - "start": 4400, - "end": 4401, + "start": 4132, + "end": 4133, "loc": { "start": { - "line": 204, - "column": 67 + "line": 195, + "column": 59 }, "end": { - "line": 204, - "column": 68 + "line": 195, + "column": 60 } } }, @@ -65432,16 +65051,16 @@ "binop": null, "updateContext": null }, - "start": 4402, - "end": 4403, + "start": 4133, + "end": 4134, "loc": { "start": { - "line": 204, - "column": 69 + "line": 195, + "column": 60 }, "end": { - "line": 204, - "column": 70 + "line": 195, + "column": 61 } } }, @@ -65460,15 +65079,15 @@ "updateContext": null }, "value": "return", - "start": 4407, - "end": 4413, + "start": 4138, + "end": 4144, "loc": { "start": { - "line": 206, + "line": 197, "column": 2 }, "end": { - "line": 206, + "line": 197, "column": 8 } } @@ -65488,15 +65107,15 @@ "updateContext": null }, "value": "new", - "start": 4414, - "end": 4417, + "start": 4145, + "end": 4148, "loc": { "start": { - "line": 206, + "line": 197, "column": 9 }, "end": { - "line": 206, + "line": 197, "column": 12 } } @@ -65514,15 +65133,15 @@ "binop": null }, "value": "Integer", - "start": 4418, - "end": 4425, + "start": 4149, + "end": 4156, "loc": { "start": { - "line": 206, + "line": 197, "column": 13 }, "end": { - "line": 206, + "line": 197, "column": 20 } } @@ -65539,15 +65158,15 @@ "postfix": false, "binop": null }, - "start": 4425, - "end": 4426, + "start": 4156, + "end": 4157, "loc": { "start": { - "line": 206, + "line": 197, "column": 20 }, "end": { - "line": 206, + "line": 197, "column": 21 } } @@ -65567,16 +65186,16 @@ "updateContext": null }, "value": "this", - "start": 4427, - "end": 4431, + "start": 4157, + "end": 4161, "loc": { "start": { - "line": 206, - "column": 22 + "line": 197, + "column": 21 }, "end": { - "line": 206, - "column": 26 + "line": 197, + "column": 25 } } }, @@ -65593,16 +65212,16 @@ "binop": null, "updateContext": null }, - "start": 4431, - "end": 4432, + "start": 4161, + "end": 4162, "loc": { "start": { - "line": 206, - "column": 26 + "line": 197, + "column": 25 }, "end": { - "line": 206, - "column": 27 + "line": 197, + "column": 26 } } }, @@ -65618,16 +65237,16 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 4432, - "end": 4436, + "value": "_base", + "start": 4162, + "end": 4167, "loc": { "start": { - "line": 206, - "column": 27 + "line": 197, + "column": 26 }, "end": { - "line": 206, + "line": 197, "column": 31 } } @@ -65645,16 +65264,16 @@ "binop": null, "updateContext": null }, - "start": 4437, - "end": 4438, + "start": 4167, + "end": 4168, "loc": { "start": { - "line": 206, - "column": 32 + "line": 197, + "column": 31 }, "end": { - "line": 206, - "column": 33 + "line": 197, + "column": 32 } } }, @@ -65671,16 +65290,16 @@ "binop": null }, "value": "is_negative", - "start": 4439, - "end": 4450, + "start": 4169, + "end": 4180, "loc": { "start": { - "line": 206, - "column": 34 + "line": 197, + "column": 33 }, "end": { - "line": 206, - "column": 45 + "line": 197, + "column": 44 } } }, @@ -65697,16 +65316,16 @@ "binop": null, "updateContext": null }, - "start": 4451, - "end": 4452, + "start": 4180, + "end": 4181, "loc": { "start": { - "line": 206, - "column": 46 + "line": 197, + "column": 44 }, "end": { - "line": 206, - "column": 47 + "line": 197, + "column": 45 } } }, @@ -65723,16 +65342,16 @@ "binop": null }, "value": "c", - "start": 4453, - "end": 4454, + "start": 4182, + "end": 4183, "loc": { "start": { - "line": 206, - "column": 48 + "line": 197, + "column": 46 }, "end": { - "line": 206, - "column": 49 + "line": 197, + "column": 47 } } }, @@ -65748,16 +65367,16 @@ "postfix": false, "binop": null }, - "start": 4455, - "end": 4456, + "start": 4183, + "end": 4184, "loc": { "start": { - "line": 206, - "column": 50 + "line": 197, + "column": 47 }, "end": { - "line": 206, - "column": 51 + "line": 197, + "column": 48 } } }, @@ -65774,16 +65393,16 @@ "binop": null, "updateContext": null }, - "start": 4457, - "end": 4458, + "start": 4184, + "end": 4185, "loc": { "start": { - "line": 206, - "column": 52 + "line": 197, + "column": 48 }, "end": { - "line": 206, - "column": 53 + "line": 197, + "column": 49 } } }, @@ -65799,15 +65418,15 @@ "postfix": false, "binop": null }, - "start": 4461, - "end": 4462, + "start": 4187, + "end": 4188, "loc": { "start": { - "line": 208, + "line": 198, "column": 1 }, "end": { - "line": 208, + "line": 198, "column": 2 } } @@ -65825,15 +65444,15 @@ "binop": null }, "value": "pow", - "start": 4465, - "end": 4468, + "start": 4191, + "end": 4194, "loc": { "start": { - "line": 210, + "line": 200, "column": 1 }, "end": { - "line": 210, + "line": 200, "column": 4 } } @@ -65850,16 +65469,16 @@ "postfix": false, "binop": null }, - "start": 4469, - "end": 4470, + "start": 4194, + "end": 4195, "loc": { "start": { - "line": 210, - "column": 5 + "line": 200, + "column": 4 }, "end": { - "line": 210, - "column": 6 + "line": 200, + "column": 5 } } }, @@ -65876,16 +65495,16 @@ "binop": null }, "value": "other", - "start": 4471, - "end": 4476, + "start": 4195, + "end": 4200, "loc": { "start": { - "line": 210, - "column": 7 + "line": 200, + "column": 5 }, "end": { - "line": 210, - "column": 12 + "line": 200, + "column": 10 } } }, @@ -65901,16 +65520,16 @@ "postfix": false, "binop": null }, - "start": 4477, - "end": 4478, + "start": 4200, + "end": 4201, "loc": { "start": { - "line": 210, - "column": 13 + "line": 200, + "column": 10 }, "end": { - "line": 210, - "column": 14 + "line": 200, + "column": 11 } } }, @@ -65926,16 +65545,16 @@ "postfix": false, "binop": null }, - "start": 4479, - "end": 4480, + "start": 4202, + "end": 4203, "loc": { "start": { - "line": 210, - "column": 15 + "line": 200, + "column": 12 }, "end": { - "line": 210, - "column": 16 + "line": 200, + "column": 13 } } }, @@ -65954,15 +65573,15 @@ "updateContext": null }, "value": "return", - "start": 4483, - "end": 4489, + "start": 4206, + "end": 4212, "loc": { "start": { - "line": 211, + "line": 201, "column": 2 }, "end": { - "line": 211, + "line": 201, "column": 8 } } @@ -65982,15 +65601,15 @@ "updateContext": null }, "value": "this", - "start": 4490, - "end": 4494, + "start": 4213, + "end": 4217, "loc": { "start": { - "line": 211, + "line": 201, "column": 9 }, "end": { - "line": 211, + "line": 201, "column": 13 } } @@ -66008,15 +65627,15 @@ "binop": null, "updateContext": null }, - "start": 4494, - "end": 4495, + "start": 4217, + "end": 4218, "loc": { "start": { - "line": 211, + "line": 201, "column": 13 }, "end": { - "line": 211, + "line": 201, "column": 14 } } @@ -66034,15 +65653,15 @@ "binop": null }, "value": "pown", - "start": 4495, - "end": 4499, + "start": 4218, + "end": 4222, "loc": { "start": { - "line": 211, + "line": 201, "column": 14 }, "end": { - "line": 211, + "line": 201, "column": 18 } } @@ -66059,15 +65678,15 @@ "postfix": false, "binop": null }, - "start": 4499, - "end": 4500, + "start": 4222, + "end": 4223, "loc": { "start": { - "line": 211, + "line": 201, "column": 18 }, "end": { - "line": 211, + "line": 201, "column": 19 } } @@ -66085,16 +65704,16 @@ "binop": null }, "value": "other", - "start": 4501, - "end": 4506, + "start": 4223, + "end": 4228, "loc": { "start": { - "line": 211, - "column": 20 + "line": 201, + "column": 19 }, "end": { - "line": 211, - "column": 25 + "line": 201, + "column": 24 } } }, @@ -66111,16 +65730,16 @@ "binop": null, "updateContext": null }, - "start": 4506, - "end": 4507, + "start": 4228, + "end": 4229, "loc": { "start": { - "line": 211, - "column": 25 + "line": 201, + "column": 24 }, "end": { - "line": 211, - "column": 26 + "line": 201, + "column": 25 } } }, @@ -66137,16 +65756,16 @@ "binop": null }, "value": "valueOf", - "start": 4507, - "end": 4514, + "start": 4229, + "end": 4236, "loc": { "start": { - "line": 211, - "column": 26 + "line": 201, + "column": 25 }, "end": { - "line": 211, - "column": 33 + "line": 201, + "column": 32 } } }, @@ -66162,16 +65781,16 @@ "postfix": false, "binop": null }, - "start": 4514, - "end": 4515, + "start": 4236, + "end": 4237, "loc": { "start": { - "line": 211, - "column": 33 + "line": 201, + "column": 32 }, "end": { - "line": 211, - "column": 34 + "line": 201, + "column": 33 } } }, @@ -66187,16 +65806,16 @@ "postfix": false, "binop": null }, - "start": 4515, - "end": 4516, + "start": 4237, + "end": 4238, "loc": { "start": { - "line": 211, - "column": 34 + "line": 201, + "column": 33 }, "end": { - "line": 211, - "column": 35 + "line": 201, + "column": 34 } } }, @@ -66212,16 +65831,16 @@ "postfix": false, "binop": null }, - "start": 4517, - "end": 4518, + "start": 4238, + "end": 4239, "loc": { "start": { - "line": 211, - "column": 36 + "line": 201, + "column": 34 }, "end": { - "line": 211, - "column": 37 + "line": 201, + "column": 35 } } }, @@ -66238,16 +65857,16 @@ "binop": null, "updateContext": null }, - "start": 4519, - "end": 4520, + "start": 4239, + "end": 4240, "loc": { "start": { - "line": 211, - "column": 38 + "line": 201, + "column": 35 }, "end": { - "line": 211, - "column": 39 + "line": 201, + "column": 36 } } }, @@ -66263,15 +65882,15 @@ "postfix": false, "binop": null }, - "start": 4522, - "end": 4523, + "start": 4242, + "end": 4243, "loc": { "start": { - "line": 212, + "line": 202, "column": 1 }, "end": { - "line": 212, + "line": 202, "column": 2 } } @@ -66289,15 +65908,15 @@ "binop": null }, "value": "ipow", - "start": 4526, - "end": 4530, + "start": 4246, + "end": 4250, "loc": { "start": { - "line": 214, + "line": 204, "column": 1 }, "end": { - "line": 214, + "line": 204, "column": 5 } } @@ -66314,16 +65933,16 @@ "postfix": false, "binop": null }, - "start": 4531, - "end": 4532, + "start": 4250, + "end": 4251, "loc": { "start": { - "line": 214, - "column": 6 + "line": 204, + "column": 5 }, "end": { - "line": 214, - "column": 7 + "line": 204, + "column": 6 } } }, @@ -66340,16 +65959,16 @@ "binop": null }, "value": "other", - "start": 4533, - "end": 4538, + "start": 4251, + "end": 4256, "loc": { "start": { - "line": 214, - "column": 8 + "line": 204, + "column": 6 }, "end": { - "line": 214, - "column": 13 + "line": 204, + "column": 11 } } }, @@ -66365,16 +65984,16 @@ "postfix": false, "binop": null }, - "start": 4539, - "end": 4540, + "start": 4256, + "end": 4257, "loc": { "start": { - "line": 214, - "column": 14 + "line": 204, + "column": 11 }, "end": { - "line": 214, - "column": 15 + "line": 204, + "column": 12 } } }, @@ -66390,31 +66009,31 @@ "postfix": false, "binop": null }, - "start": 4541, - "end": 4542, + "start": 4258, + "end": 4259, "loc": { "start": { - "line": 214, - "column": 16 + "line": 204, + "column": 13 }, "end": { - "line": 214, - "column": 17 + "line": 204, + "column": 14 } } }, { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 4545, - "end": 4594, + "start": 4262, + "end": 4311, "loc": { "start": { - "line": 215, + "line": 205, "column": 2 }, "end": { - "line": 215, + "line": 205, "column": 51 } } @@ -66434,15 +66053,15 @@ "updateContext": null }, "value": "return", - "start": 4597, - "end": 4603, + "start": 4314, + "end": 4320, "loc": { "start": { - "line": 216, + "line": 206, "column": 2 }, "end": { - "line": 216, + "line": 206, "column": 8 } } @@ -66462,15 +66081,15 @@ "updateContext": null }, "value": "this", - "start": 4604, - "end": 4608, + "start": 4321, + "end": 4325, "loc": { "start": { - "line": 216, + "line": 206, "column": 9 }, "end": { - "line": 216, + "line": 206, "column": 13 } } @@ -66488,15 +66107,15 @@ "binop": null, "updateContext": null }, - "start": 4608, - "end": 4609, + "start": 4325, + "end": 4326, "loc": { "start": { - "line": 216, + "line": 206, "column": 13 }, "end": { - "line": 216, + "line": 206, "column": 14 } } @@ -66514,15 +66133,15 @@ "binop": null }, "value": "pow", - "start": 4609, - "end": 4612, + "start": 4326, + "end": 4329, "loc": { "start": { - "line": 216, + "line": 206, "column": 14 }, "end": { - "line": 216, + "line": 206, "column": 17 } } @@ -66539,15 +66158,15 @@ "postfix": false, "binop": null }, - "start": 4612, - "end": 4613, + "start": 4329, + "end": 4330, "loc": { "start": { - "line": 216, + "line": 206, "column": 17 }, "end": { - "line": 216, + "line": 206, "column": 18 } } @@ -66565,15 +66184,15 @@ "binop": null }, "value": "other", - "start": 4613, - "end": 4618, + "start": 4330, + "end": 4335, "loc": { "start": { - "line": 216, + "line": 206, "column": 18 }, "end": { - "line": 216, + "line": 206, "column": 23 } } @@ -66590,15 +66209,15 @@ "postfix": false, "binop": null }, - "start": 4618, - "end": 4619, + "start": 4335, + "end": 4336, "loc": { "start": { - "line": 216, + "line": 206, "column": 23 }, "end": { - "line": 216, + "line": 206, "column": 24 } } @@ -66616,15 +66235,15 @@ "binop": null, "updateContext": null }, - "start": 4619, - "end": 4620, + "start": 4336, + "end": 4337, "loc": { "start": { - "line": 216, + "line": 206, "column": 24 }, "end": { - "line": 216, + "line": 206, "column": 25 } } @@ -66642,15 +66261,15 @@ "binop": null }, "value": "move", - "start": 4620, - "end": 4624, + "start": 4337, + "end": 4341, "loc": { "start": { - "line": 216, + "line": 206, "column": 25 }, "end": { - "line": 216, + "line": 206, "column": 29 } } @@ -66667,15 +66286,15 @@ "postfix": false, "binop": null }, - "start": 4624, - "end": 4625, + "start": 4341, + "end": 4342, "loc": { "start": { - "line": 216, + "line": 206, "column": 29 }, "end": { - "line": 216, + "line": 206, "column": 30 } } @@ -66695,15 +66314,15 @@ "updateContext": null }, "value": "this", - "start": 4625, - "end": 4629, + "start": 4342, + "end": 4346, "loc": { "start": { - "line": 216, + "line": 206, "column": 30 }, "end": { - "line": 216, + "line": 206, "column": 34 } } @@ -66720,15 +66339,15 @@ "postfix": false, "binop": null }, - "start": 4629, - "end": 4630, + "start": 4346, + "end": 4347, "loc": { "start": { - "line": 216, + "line": 206, "column": 34 }, "end": { - "line": 216, + "line": 206, "column": 35 } } @@ -66746,15 +66365,15 @@ "binop": null, "updateContext": null }, - "start": 4630, - "end": 4631, + "start": 4347, + "end": 4348, "loc": { "start": { - "line": 216, + "line": 206, "column": 35 }, "end": { - "line": 216, + "line": 206, "column": 36 } } @@ -66771,15 +66390,15 @@ "postfix": false, "binop": null }, - "start": 4633, - "end": 4634, + "start": 4350, + "end": 4351, "loc": { "start": { - "line": 217, + "line": 207, "column": 1 }, "end": { - "line": 217, + "line": 207, "column": 2 } } @@ -66797,15 +66416,15 @@ "binop": null }, "value": "ipown", - "start": 4637, - "end": 4642, + "start": 4354, + "end": 4359, "loc": { "start": { - "line": 219, + "line": 209, "column": 1 }, "end": { - "line": 219, + "line": 209, "column": 6 } } @@ -66822,16 +66441,16 @@ "postfix": false, "binop": null }, - "start": 4643, - "end": 4644, + "start": 4359, + "end": 4360, "loc": { "start": { - "line": 219, - "column": 7 + "line": 209, + "column": 6 }, "end": { - "line": 219, - "column": 8 + "line": 209, + "column": 7 } } }, @@ -66848,16 +66467,16 @@ "binop": null }, "value": "number", - "start": 4645, - "end": 4651, + "start": 4360, + "end": 4366, "loc": { "start": { - "line": 219, - "column": 9 + "line": 209, + "column": 7 }, "end": { - "line": 219, - "column": 15 + "line": 209, + "column": 13 } } }, @@ -66873,16 +66492,16 @@ "postfix": false, "binop": null }, - "start": 4652, - "end": 4653, + "start": 4366, + "end": 4367, "loc": { "start": { - "line": 219, - "column": 16 + "line": 209, + "column": 13 }, "end": { - "line": 219, - "column": 17 + "line": 209, + "column": 14 } } }, @@ -66898,31 +66517,31 @@ "postfix": false, "binop": null }, - "start": 4654, - "end": 4655, + "start": 4368, + "end": 4369, "loc": { "start": { - "line": 219, - "column": 18 + "line": 209, + "column": 15 }, "end": { - "line": 219, - "column": 19 + "line": 209, + "column": 16 } } }, { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 4658, - "end": 4707, + "start": 4372, + "end": 4421, "loc": { "start": { - "line": 220, + "line": 210, "column": 2 }, "end": { - "line": 220, + "line": 210, "column": 51 } } @@ -66942,15 +66561,15 @@ "updateContext": null }, "value": "return", - "start": 4710, - "end": 4716, + "start": 4424, + "end": 4430, "loc": { "start": { - "line": 221, + "line": 211, "column": 2 }, "end": { - "line": 221, + "line": 211, "column": 8 } } @@ -66970,15 +66589,15 @@ "updateContext": null }, "value": "this", - "start": 4717, - "end": 4721, + "start": 4431, + "end": 4435, "loc": { "start": { - "line": 221, + "line": 211, "column": 9 }, "end": { - "line": 221, + "line": 211, "column": 13 } } @@ -66996,15 +66615,15 @@ "binop": null, "updateContext": null }, - "start": 4721, - "end": 4722, + "start": 4435, + "end": 4436, "loc": { "start": { - "line": 221, + "line": 211, "column": 13 }, "end": { - "line": 221, + "line": 211, "column": 14 } } @@ -67022,15 +66641,15 @@ "binop": null }, "value": "pown", - "start": 4722, - "end": 4726, + "start": 4436, + "end": 4440, "loc": { "start": { - "line": 221, + "line": 211, "column": 14 }, "end": { - "line": 221, + "line": 211, "column": 18 } } @@ -67047,15 +66666,15 @@ "postfix": false, "binop": null }, - "start": 4726, - "end": 4727, + "start": 4440, + "end": 4441, "loc": { "start": { - "line": 221, + "line": 211, "column": 18 }, "end": { - "line": 221, + "line": 211, "column": 19 } } @@ -67073,15 +66692,15 @@ "binop": null }, "value": "number", - "start": 4727, - "end": 4733, + "start": 4441, + "end": 4447, "loc": { "start": { - "line": 221, + "line": 211, "column": 19 }, "end": { - "line": 221, + "line": 211, "column": 25 } } @@ -67098,15 +66717,15 @@ "postfix": false, "binop": null }, - "start": 4733, - "end": 4734, + "start": 4447, + "end": 4448, "loc": { "start": { - "line": 221, + "line": 211, "column": 25 }, "end": { - "line": 221, + "line": 211, "column": 26 } } @@ -67124,15 +66743,15 @@ "binop": null, "updateContext": null }, - "start": 4734, - "end": 4735, + "start": 4448, + "end": 4449, "loc": { "start": { - "line": 221, + "line": 211, "column": 26 }, "end": { - "line": 221, + "line": 211, "column": 27 } } @@ -67150,15 +66769,15 @@ "binop": null }, "value": "move", - "start": 4735, - "end": 4739, + "start": 4449, + "end": 4453, "loc": { "start": { - "line": 221, + "line": 211, "column": 27 }, "end": { - "line": 221, + "line": 211, "column": 31 } } @@ -67175,15 +66794,15 @@ "postfix": false, "binop": null }, - "start": 4739, - "end": 4740, + "start": 4453, + "end": 4454, "loc": { "start": { - "line": 221, + "line": 211, "column": 31 }, "end": { - "line": 221, + "line": 211, "column": 32 } } @@ -67203,15 +66822,15 @@ "updateContext": null }, "value": "this", - "start": 4740, - "end": 4744, + "start": 4454, + "end": 4458, "loc": { "start": { - "line": 221, + "line": 211, "column": 32 }, "end": { - "line": 221, + "line": 211, "column": 36 } } @@ -67228,15 +66847,15 @@ "postfix": false, "binop": null }, - "start": 4744, - "end": 4745, + "start": 4458, + "end": 4459, "loc": { "start": { - "line": 221, + "line": 211, "column": 36 }, "end": { - "line": 221, + "line": 211, "column": 37 } } @@ -67254,15 +66873,15 @@ "binop": null, "updateContext": null }, - "start": 4745, - "end": 4746, + "start": 4459, + "end": 4460, "loc": { "start": { - "line": 221, + "line": 211, "column": 37 }, "end": { - "line": 221, + "line": 211, "column": 38 } } @@ -67279,15 +66898,15 @@ "postfix": false, "binop": null }, - "start": 4748, - "end": 4749, + "start": 4462, + "end": 4463, "loc": { "start": { - "line": 222, + "line": 212, "column": 1 }, "end": { - "line": 222, + "line": 212, "column": 2 } } @@ -67305,15 +66924,15 @@ "binop": null }, "value": "square", - "start": 4752, - "end": 4758, + "start": 4466, + "end": 4472, "loc": { "start": { - "line": 224, + "line": 214, "column": 1 }, "end": { - "line": 224, + "line": 214, "column": 7 } } @@ -67330,16 +66949,16 @@ "postfix": false, "binop": null }, - "start": 4759, - "end": 4760, + "start": 4472, + "end": 4473, "loc": { "start": { - "line": 224, - "column": 8 + "line": 214, + "column": 7 }, "end": { - "line": 224, - "column": 9 + "line": 214, + "column": 8 } } }, @@ -67355,16 +66974,16 @@ "postfix": false, "binop": null }, - "start": 4761, - "end": 4762, + "start": 4473, + "end": 4474, "loc": { "start": { - "line": 224, - "column": 10 + "line": 214, + "column": 8 }, "end": { - "line": 224, - "column": 11 + "line": 214, + "column": 9 } } }, @@ -67380,31 +66999,31 @@ "postfix": false, "binop": null }, - "start": 4763, - "end": 4764, + "start": 4475, + "end": 4476, "loc": { "start": { - "line": 224, - "column": 12 + "line": 214, + "column": 10 }, "end": { - "line": 224, - "column": 13 + "line": 214, + "column": 11 } } }, { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 4767, - "end": 4816, + "start": 4479, + "end": 4528, "loc": { "start": { - "line": 225, + "line": 215, "column": 2 }, "end": { - "line": 225, + "line": 215, "column": 51 } } @@ -67412,15 +67031,15 @@ { "type": "CommentLine", "value": " TODO use this.mul(this) instead?", - "start": 4819, - "end": 4854, + "start": 4531, + "end": 4566, "loc": { "start": { - "line": 226, + "line": 216, "column": 2 }, "end": { - "line": 226, + "line": 216, "column": 37 } } @@ -67440,15 +67059,15 @@ "updateContext": null }, "value": "return", - "start": 4857, - "end": 4863, + "start": 4569, + "end": 4575, "loc": { "start": { - "line": 227, + "line": 217, "column": 2 }, "end": { - "line": 227, + "line": 217, "column": 8 } } @@ -67468,15 +67087,15 @@ "updateContext": null }, "value": "this", - "start": 4864, - "end": 4868, + "start": 4576, + "end": 4580, "loc": { "start": { - "line": 227, + "line": 217, "column": 9 }, "end": { - "line": 227, + "line": 217, "column": 13 } } @@ -67494,15 +67113,15 @@ "binop": null, "updateContext": null }, - "start": 4868, - "end": 4869, + "start": 4580, + "end": 4581, "loc": { "start": { - "line": 227, + "line": 217, "column": 13 }, "end": { - "line": 227, + "line": 217, "column": 14 } } @@ -67520,15 +67139,15 @@ "binop": null }, "value": "pown", - "start": 4869, - "end": 4873, + "start": 4581, + "end": 4585, "loc": { "start": { - "line": 227, + "line": 217, "column": 14 }, "end": { - "line": 227, + "line": 217, "column": 18 } } @@ -67545,15 +67164,15 @@ "postfix": false, "binop": null }, - "start": 4873, - "end": 4874, + "start": 4585, + "end": 4586, "loc": { "start": { - "line": 227, + "line": 217, "column": 18 }, "end": { - "line": 227, + "line": 217, "column": 19 } } @@ -67572,15 +67191,15 @@ "updateContext": null }, "value": 2, - "start": 4874, - "end": 4875, + "start": 4586, + "end": 4587, "loc": { "start": { - "line": 227, + "line": 217, "column": 19 }, "end": { - "line": 227, + "line": 217, "column": 20 } } @@ -67597,15 +67216,15 @@ "postfix": false, "binop": null }, - "start": 4875, - "end": 4876, + "start": 4587, + "end": 4588, "loc": { "start": { - "line": 227, + "line": 217, "column": 20 }, "end": { - "line": 227, + "line": 217, "column": 21 } } @@ -67623,15 +67242,15 @@ "binop": null, "updateContext": null }, - "start": 4876, - "end": 4877, + "start": 4588, + "end": 4589, "loc": { "start": { - "line": 227, + "line": 217, "column": 21 }, "end": { - "line": 227, + "line": 217, "column": 22 } } @@ -67648,15 +67267,15 @@ "postfix": false, "binop": null }, - "start": 4879, - "end": 4880, + "start": 4591, + "end": 4592, "loc": { "start": { - "line": 228, + "line": 218, "column": 1 }, "end": { - "line": 228, + "line": 218, "column": 2 } } @@ -67674,15 +67293,15 @@ "binop": null }, "value": "isquare", - "start": 4883, - "end": 4890, + "start": 4595, + "end": 4602, "loc": { "start": { - "line": 230, + "line": 220, "column": 1 }, "end": { - "line": 230, + "line": 220, "column": 8 } } @@ -67699,16 +67318,16 @@ "postfix": false, "binop": null }, - "start": 4891, - "end": 4892, + "start": 4602, + "end": 4603, "loc": { "start": { - "line": 230, - "column": 9 + "line": 220, + "column": 8 }, "end": { - "line": 230, - "column": 10 + "line": 220, + "column": 9 } } }, @@ -67724,16 +67343,16 @@ "postfix": false, "binop": null }, - "start": 4893, - "end": 4894, + "start": 4603, + "end": 4604, "loc": { "start": { - "line": 230, - "column": 11 + "line": 220, + "column": 9 }, "end": { - "line": 230, - "column": 12 + "line": 220, + "column": 10 } } }, @@ -67749,31 +67368,31 @@ "postfix": false, "binop": null }, - "start": 4895, - "end": 4896, + "start": 4605, + "end": 4606, "loc": { "start": { - "line": 230, - "column": 13 + "line": 220, + "column": 11 }, "end": { - "line": 230, - "column": 14 + "line": 220, + "column": 12 } } }, { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 4899, - "end": 4948, + "start": 4609, + "end": 4658, "loc": { "start": { - "line": 231, + "line": 221, "column": 2 }, "end": { - "line": 231, + "line": 221, "column": 51 } } @@ -67781,15 +67400,15 @@ { "type": "CommentLine", "value": " TODO use this.imul(this) instead?", - "start": 4951, - "end": 4987, + "start": 4661, + "end": 4697, "loc": { "start": { - "line": 232, + "line": 222, "column": 2 }, "end": { - "line": 232, + "line": 222, "column": 38 } } @@ -67809,15 +67428,15 @@ "updateContext": null }, "value": "return", - "start": 4990, - "end": 4996, + "start": 4700, + "end": 4706, "loc": { "start": { - "line": 233, + "line": 223, "column": 2 }, "end": { - "line": 233, + "line": 223, "column": 8 } } @@ -67837,15 +67456,15 @@ "updateContext": null }, "value": "this", - "start": 4997, - "end": 5001, + "start": 4707, + "end": 4711, "loc": { "start": { - "line": 233, + "line": 223, "column": 9 }, "end": { - "line": 233, + "line": 223, "column": 13 } } @@ -67863,15 +67482,15 @@ "binop": null, "updateContext": null }, - "start": 5001, - "end": 5002, + "start": 4711, + "end": 4712, "loc": { "start": { - "line": 233, + "line": 223, "column": 13 }, "end": { - "line": 233, + "line": 223, "column": 14 } } @@ -67889,15 +67508,15 @@ "binop": null }, "value": "square", - "start": 5002, - "end": 5008, + "start": 4712, + "end": 4718, "loc": { "start": { - "line": 233, + "line": 223, "column": 14 }, "end": { - "line": 233, + "line": 223, "column": 20 } } @@ -67914,15 +67533,15 @@ "postfix": false, "binop": null }, - "start": 5008, - "end": 5009, + "start": 4718, + "end": 4719, "loc": { "start": { - "line": 233, + "line": 223, "column": 20 }, "end": { - "line": 233, + "line": 223, "column": 21 } } @@ -67939,15 +67558,15 @@ "postfix": false, "binop": null }, - "start": 5009, - "end": 5010, + "start": 4719, + "end": 4720, "loc": { "start": { - "line": 233, + "line": 223, "column": 21 }, "end": { - "line": 233, + "line": 223, "column": 22 } } @@ -67965,15 +67584,15 @@ "binop": null, "updateContext": null }, - "start": 5010, - "end": 5011, + "start": 4720, + "end": 4721, "loc": { "start": { - "line": 233, + "line": 223, "column": 22 }, "end": { - "line": 233, + "line": 223, "column": 23 } } @@ -67991,15 +67610,15 @@ "binop": null }, "value": "move", - "start": 5011, - "end": 5015, + "start": 4721, + "end": 4725, "loc": { "start": { - "line": 233, + "line": 223, "column": 23 }, "end": { - "line": 233, + "line": 223, "column": 27 } } @@ -68016,15 +67635,15 @@ "postfix": false, "binop": null }, - "start": 5015, - "end": 5016, + "start": 4725, + "end": 4726, "loc": { "start": { - "line": 233, + "line": 223, "column": 27 }, "end": { - "line": 233, + "line": 223, "column": 28 } } @@ -68044,15 +67663,15 @@ "updateContext": null }, "value": "this", - "start": 5016, - "end": 5020, + "start": 4726, + "end": 4730, "loc": { "start": { - "line": 233, + "line": 223, "column": 28 }, "end": { - "line": 233, + "line": 223, "column": 32 } } @@ -68069,15 +67688,15 @@ "postfix": false, "binop": null }, - "start": 5020, - "end": 5021, + "start": 4730, + "end": 4731, "loc": { "start": { - "line": 233, + "line": 223, "column": 32 }, "end": { - "line": 233, + "line": 223, "column": 33 } } @@ -68095,15 +67714,15 @@ "binop": null, "updateContext": null }, - "start": 5021, - "end": 5022, + "start": 4731, + "end": 4732, "loc": { "start": { - "line": 233, + "line": 223, "column": 33 }, "end": { - "line": 233, + "line": 223, "column": 34 } } @@ -68120,15 +67739,15 @@ "postfix": false, "binop": null }, - "start": 5024, - "end": 5025, + "start": 4734, + "end": 4735, "loc": { "start": { - "line": 234, + "line": 224, "column": 1 }, "end": { - "line": 234, + "line": 224, "column": 2 } } @@ -68146,15 +67765,15 @@ "binop": null }, "value": "div", - "start": 5028, - "end": 5031, + "start": 4738, + "end": 4741, "loc": { "start": { - "line": 236, + "line": 226, "column": 1 }, "end": { - "line": 236, + "line": 226, "column": 4 } } @@ -68171,16 +67790,16 @@ "postfix": false, "binop": null }, - "start": 5032, - "end": 5033, + "start": 4741, + "end": 4742, "loc": { "start": { - "line": 236, - "column": 5 + "line": 226, + "column": 4 }, "end": { - "line": 236, - "column": 6 + "line": 226, + "column": 5 } } }, @@ -68197,16 +67816,16 @@ "binop": null }, "value": "other", - "start": 5034, - "end": 5039, + "start": 4742, + "end": 4747, "loc": { "start": { - "line": 236, - "column": 7 + "line": 226, + "column": 5 }, "end": { - "line": 236, - "column": 12 + "line": 226, + "column": 10 } } }, @@ -68222,16 +67841,16 @@ "postfix": false, "binop": null }, - "start": 5040, - "end": 5041, + "start": 4747, + "end": 4748, "loc": { "start": { - "line": 236, - "column": 13 + "line": 226, + "column": 10 }, "end": { - "line": 236, - "column": 14 + "line": 226, + "column": 11 } } }, @@ -68247,16 +67866,16 @@ "postfix": false, "binop": null }, - "start": 5042, - "end": 5043, + "start": 4749, + "end": 4750, "loc": { "start": { - "line": 236, - "column": 15 + "line": 226, + "column": 12 }, "end": { - "line": 236, - "column": 16 + "line": 226, + "column": 13 } } }, @@ -68275,15 +67894,15 @@ "updateContext": null }, "value": "return", - "start": 5046, - "end": 5052, + "start": 4753, + "end": 4759, "loc": { "start": { - "line": 237, + "line": 227, "column": 2 }, "end": { - "line": 237, + "line": 227, "column": 8 } } @@ -68303,15 +67922,15 @@ "updateContext": null }, "value": "this", - "start": 5053, - "end": 5057, + "start": 4760, + "end": 4764, "loc": { "start": { - "line": 237, + "line": 227, "column": 9 }, "end": { - "line": 237, + "line": 227, "column": 13 } } @@ -68329,15 +67948,15 @@ "binop": null, "updateContext": null }, - "start": 5057, - "end": 5058, + "start": 4764, + "end": 4765, "loc": { "start": { - "line": 237, + "line": 227, "column": 13 }, "end": { - "line": 237, + "line": 227, "column": 14 } } @@ -68355,15 +67974,15 @@ "binop": null }, "value": "divmod", - "start": 5058, - "end": 5064, + "start": 4765, + "end": 4771, "loc": { "start": { - "line": 237, + "line": 227, "column": 14 }, "end": { - "line": 237, + "line": 227, "column": 20 } } @@ -68380,15 +67999,15 @@ "postfix": false, "binop": null }, - "start": 5064, - "end": 5065, + "start": 4771, + "end": 4772, "loc": { "start": { - "line": 237, + "line": 227, "column": 20 }, "end": { - "line": 237, + "line": 227, "column": 21 } } @@ -68406,16 +68025,16 @@ "binop": null }, "value": "other", - "start": 5066, - "end": 5071, + "start": 4772, + "end": 4777, "loc": { "start": { - "line": 237, - "column": 22 + "line": 227, + "column": 21 }, "end": { - "line": 237, - "column": 27 + "line": 227, + "column": 26 } } }, @@ -68431,16 +68050,16 @@ "postfix": false, "binop": null }, - "start": 5072, - "end": 5073, + "start": 4777, + "end": 4778, "loc": { "start": { - "line": 237, - "column": 28 + "line": 227, + "column": 26 }, "end": { - "line": 237, - "column": 29 + "line": 227, + "column": 27 } } }, @@ -68457,16 +68076,16 @@ "binop": null, "updateContext": null }, - "start": 5073, - "end": 5074, + "start": 4778, + "end": 4779, "loc": { "start": { - "line": 237, - "column": 29 + "line": 227, + "column": 27 }, "end": { - "line": 237, - "column": 30 + "line": 227, + "column": 28 } } }, @@ -68484,16 +68103,16 @@ "updateContext": null }, "value": 0, - "start": 5074, - "end": 5075, + "start": 4779, + "end": 4780, "loc": { "start": { - "line": 237, - "column": 30 + "line": 227, + "column": 28 }, "end": { - "line": 237, - "column": 31 + "line": 227, + "column": 29 } } }, @@ -68510,16 +68129,16 @@ "binop": null, "updateContext": null }, - "start": 5075, - "end": 5076, + "start": 4780, + "end": 4781, "loc": { "start": { - "line": 237, - "column": 31 + "line": 227, + "column": 29 }, "end": { - "line": 237, - "column": 32 + "line": 227, + "column": 30 } } }, @@ -68536,16 +68155,16 @@ "binop": null, "updateContext": null }, - "start": 5077, - "end": 5078, + "start": 4781, + "end": 4782, "loc": { "start": { - "line": 237, - "column": 33 + "line": 227, + "column": 30 }, "end": { - "line": 237, - "column": 34 + "line": 227, + "column": 31 } } }, @@ -68561,15 +68180,15 @@ "postfix": false, "binop": null }, - "start": 5080, - "end": 5081, + "start": 4784, + "end": 4785, "loc": { "start": { - "line": 238, + "line": 228, "column": 1 }, "end": { - "line": 238, + "line": 228, "column": 2 } } @@ -68587,15 +68206,15 @@ "binop": null }, "value": "divn", - "start": 5084, - "end": 5088, + "start": 4788, + "end": 4792, "loc": { "start": { - "line": 240, + "line": 230, "column": 1 }, "end": { - "line": 240, + "line": 230, "column": 5 } } @@ -68612,16 +68231,16 @@ "postfix": false, "binop": null }, - "start": 5089, - "end": 5090, + "start": 4792, + "end": 4793, "loc": { "start": { - "line": 240, - "column": 6 + "line": 230, + "column": 5 }, "end": { - "line": 240, - "column": 7 + "line": 230, + "column": 6 } } }, @@ -68638,16 +68257,16 @@ "binop": null }, "value": "number", - "start": 5091, - "end": 5097, + "start": 4793, + "end": 4799, "loc": { "start": { - "line": 240, - "column": 8 + "line": 230, + "column": 6 }, "end": { - "line": 240, - "column": 14 + "line": 230, + "column": 12 } } }, @@ -68663,16 +68282,16 @@ "postfix": false, "binop": null }, - "start": 5098, - "end": 5099, + "start": 4799, + "end": 4800, "loc": { "start": { - "line": 240, - "column": 15 + "line": 230, + "column": 12 }, "end": { - "line": 240, - "column": 16 + "line": 230, + "column": 13 } } }, @@ -68688,16 +68307,16 @@ "postfix": false, "binop": null }, - "start": 5100, - "end": 5101, + "start": 4801, + "end": 4802, "loc": { "start": { - "line": 240, - "column": 17 + "line": 230, + "column": 14 }, "end": { - "line": 240, - "column": 18 + "line": 230, + "column": 15 } } }, @@ -68716,15 +68335,15 @@ "updateContext": null }, "value": "return", - "start": 5104, - "end": 5110, + "start": 4805, + "end": 4811, "loc": { "start": { - "line": 241, + "line": 231, "column": 2 }, "end": { - "line": 241, + "line": 231, "column": 8 } } @@ -68744,15 +68363,15 @@ "updateContext": null }, "value": "this", - "start": 5111, - "end": 5115, + "start": 4812, + "end": 4816, "loc": { "start": { - "line": 241, + "line": 231, "column": 9 }, "end": { - "line": 241, + "line": 231, "column": 13 } } @@ -68770,15 +68389,15 @@ "binop": null, "updateContext": null }, - "start": 5115, - "end": 5116, + "start": 4816, + "end": 4817, "loc": { "start": { - "line": 241, + "line": 231, "column": 13 }, "end": { - "line": 241, + "line": 231, "column": 14 } } @@ -68796,15 +68415,15 @@ "binop": null }, "value": "div", - "start": 5116, - "end": 5119, + "start": 4817, + "end": 4820, "loc": { "start": { - "line": 241, + "line": 231, "column": 14 }, "end": { - "line": 241, + "line": 231, "column": 17 } } @@ -68821,15 +68440,15 @@ "postfix": false, "binop": null }, - "start": 5119, - "end": 5120, + "start": 4820, + "end": 4821, "loc": { "start": { - "line": 241, + "line": 231, "column": 17 }, "end": { - "line": 241, + "line": 231, "column": 18 } } @@ -68847,15 +68466,15 @@ "binop": null }, "value": "_from_number", - "start": 5120, - "end": 5132, + "start": 4821, + "end": 4833, "loc": { "start": { - "line": 241, + "line": 231, "column": 18 }, "end": { - "line": 241, + "line": 231, "column": 30 } } @@ -68872,15 +68491,15 @@ "postfix": false, "binop": null }, - "start": 5132, - "end": 5133, + "start": 4833, + "end": 4834, "loc": { "start": { - "line": 241, + "line": 231, "column": 30 }, "end": { - "line": 241, + "line": 231, "column": 31 } } @@ -68898,15 +68517,15 @@ "binop": null }, "value": "number", - "start": 5133, - "end": 5139, + "start": 4834, + "end": 4840, "loc": { "start": { - "line": 241, + "line": 231, "column": 31 }, "end": { - "line": 241, + "line": 231, "column": 37 } } @@ -68923,15 +68542,15 @@ "postfix": false, "binop": null }, - "start": 5139, - "end": 5140, + "start": 4840, + "end": 4841, "loc": { "start": { - "line": 241, + "line": 231, "column": 37 }, "end": { - "line": 241, + "line": 231, "column": 38 } } @@ -68948,15 +68567,15 @@ "postfix": false, "binop": null }, - "start": 5140, - "end": 5141, + "start": 4841, + "end": 4842, "loc": { "start": { - "line": 241, + "line": 231, "column": 38 }, "end": { - "line": 241, + "line": 231, "column": 39 } } @@ -68974,16 +68593,16 @@ "binop": null, "updateContext": null }, - "start": 5142, - "end": 5143, + "start": 4842, + "end": 4843, "loc": { "start": { - "line": 241, - "column": 40 + "line": 231, + "column": 39 }, "end": { - "line": 241, - "column": 41 + "line": 231, + "column": 40 } } }, @@ -68999,15 +68618,15 @@ "postfix": false, "binop": null }, - "start": 5145, - "end": 5146, + "start": 4845, + "end": 4846, "loc": { "start": { - "line": 242, + "line": 232, "column": 1 }, "end": { - "line": 242, + "line": 232, "column": 2 } } @@ -69025,15 +68644,15 @@ "binop": null }, "value": "idiv", - "start": 5149, - "end": 5153, + "start": 4849, + "end": 4853, "loc": { "start": { - "line": 244, + "line": 234, "column": 1 }, "end": { - "line": 244, + "line": 234, "column": 5 } } @@ -69050,16 +68669,16 @@ "postfix": false, "binop": null }, - "start": 5154, - "end": 5155, + "start": 4853, + "end": 4854, "loc": { "start": { - "line": 244, - "column": 6 + "line": 234, + "column": 5 }, "end": { - "line": 244, - "column": 7 + "line": 234, + "column": 6 } } }, @@ -69076,16 +68695,16 @@ "binop": null }, "value": "other", - "start": 5156, - "end": 5161, + "start": 4854, + "end": 4859, "loc": { "start": { - "line": 244, - "column": 8 + "line": 234, + "column": 6 }, "end": { - "line": 244, - "column": 13 + "line": 234, + "column": 11 } } }, @@ -69101,16 +68720,16 @@ "postfix": false, "binop": null }, - "start": 5162, - "end": 5163, + "start": 4859, + "end": 4860, "loc": { "start": { - "line": 244, - "column": 14 + "line": 234, + "column": 11 }, "end": { - "line": 244, - "column": 15 + "line": 234, + "column": 12 } } }, @@ -69126,31 +68745,31 @@ "postfix": false, "binop": null }, - "start": 5164, - "end": 5165, + "start": 4861, + "end": 4862, "loc": { "start": { - "line": 244, - "column": 16 + "line": 234, + "column": 13 }, "end": { - "line": 244, - "column": 17 + "line": 234, + "column": 14 } } }, { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 5168, - "end": 5217, + "start": 4865, + "end": 4914, "loc": { "start": { - "line": 245, + "line": 235, "column": 2 }, "end": { - "line": 245, + "line": 235, "column": 51 } } @@ -69170,15 +68789,15 @@ "updateContext": null }, "value": "return", - "start": 5220, - "end": 5226, + "start": 4917, + "end": 4923, "loc": { "start": { - "line": 246, + "line": 236, "column": 2 }, "end": { - "line": 246, + "line": 236, "column": 8 } } @@ -69198,15 +68817,15 @@ "updateContext": null }, "value": "this", - "start": 5227, - "end": 5231, + "start": 4924, + "end": 4928, "loc": { "start": { - "line": 246, + "line": 236, "column": 9 }, "end": { - "line": 246, + "line": 236, "column": 13 } } @@ -69224,15 +68843,15 @@ "binop": null, "updateContext": null }, - "start": 5231, - "end": 5232, + "start": 4928, + "end": 4929, "loc": { "start": { - "line": 246, + "line": 236, "column": 13 }, "end": { - "line": 246, + "line": 236, "column": 14 } } @@ -69250,15 +68869,15 @@ "binop": null }, "value": "div", - "start": 5232, - "end": 5235, + "start": 4929, + "end": 4932, "loc": { "start": { - "line": 246, + "line": 236, "column": 14 }, "end": { - "line": 246, + "line": 236, "column": 17 } } @@ -69275,15 +68894,15 @@ "postfix": false, "binop": null }, - "start": 5235, - "end": 5236, + "start": 4932, + "end": 4933, "loc": { "start": { - "line": 246, + "line": 236, "column": 17 }, "end": { - "line": 246, + "line": 236, "column": 18 } } @@ -69301,15 +68920,15 @@ "binop": null }, "value": "other", - "start": 5236, - "end": 5241, + "start": 4933, + "end": 4938, "loc": { "start": { - "line": 246, + "line": 236, "column": 18 }, "end": { - "line": 246, + "line": 236, "column": 23 } } @@ -69326,15 +68945,15 @@ "postfix": false, "binop": null }, - "start": 5241, - "end": 5242, + "start": 4938, + "end": 4939, "loc": { "start": { - "line": 246, + "line": 236, "column": 23 }, "end": { - "line": 246, + "line": 236, "column": 24 } } @@ -69352,15 +68971,15 @@ "binop": null, "updateContext": null }, - "start": 5242, - "end": 5243, + "start": 4939, + "end": 4940, "loc": { "start": { - "line": 246, + "line": 236, "column": 24 }, "end": { - "line": 246, + "line": 236, "column": 25 } } @@ -69378,15 +68997,15 @@ "binop": null }, "value": "move", - "start": 5243, - "end": 5247, + "start": 4940, + "end": 4944, "loc": { "start": { - "line": 246, + "line": 236, "column": 25 }, "end": { - "line": 246, + "line": 236, "column": 29 } } @@ -69403,15 +69022,15 @@ "postfix": false, "binop": null }, - "start": 5247, - "end": 5248, + "start": 4944, + "end": 4945, "loc": { "start": { - "line": 246, + "line": 236, "column": 29 }, "end": { - "line": 246, + "line": 236, "column": 30 } } @@ -69431,15 +69050,15 @@ "updateContext": null }, "value": "this", - "start": 5248, - "end": 5252, + "start": 4945, + "end": 4949, "loc": { "start": { - "line": 246, + "line": 236, "column": 30 }, "end": { - "line": 246, + "line": 236, "column": 34 } } @@ -69456,15 +69075,15 @@ "postfix": false, "binop": null }, - "start": 5252, - "end": 5253, + "start": 4949, + "end": 4950, "loc": { "start": { - "line": 246, + "line": 236, "column": 34 }, "end": { - "line": 246, + "line": 236, "column": 35 } } @@ -69482,15 +69101,15 @@ "binop": null, "updateContext": null }, - "start": 5253, - "end": 5254, + "start": 4950, + "end": 4951, "loc": { "start": { - "line": 246, + "line": 236, "column": 35 }, "end": { - "line": 246, + "line": 236, "column": 36 } } @@ -69507,15 +69126,15 @@ "postfix": false, "binop": null }, - "start": 5256, - "end": 5257, + "start": 4953, + "end": 4954, "loc": { "start": { - "line": 247, + "line": 237, "column": 1 }, "end": { - "line": 247, + "line": 237, "column": 2 } } @@ -69533,15 +69152,15 @@ "binop": null }, "value": "idivn", - "start": 5260, - "end": 5265, + "start": 4957, + "end": 4962, "loc": { "start": { - "line": 249, + "line": 239, "column": 1 }, "end": { - "line": 249, + "line": 239, "column": 6 } } @@ -69558,16 +69177,16 @@ "postfix": false, "binop": null }, - "start": 5266, - "end": 5267, + "start": 4962, + "end": 4963, "loc": { "start": { - "line": 249, - "column": 7 + "line": 239, + "column": 6 }, "end": { - "line": 249, - "column": 8 + "line": 239, + "column": 7 } } }, @@ -69584,16 +69203,16 @@ "binop": null }, "value": "number", - "start": 5268, - "end": 5274, + "start": 4963, + "end": 4969, "loc": { "start": { - "line": 249, - "column": 9 + "line": 239, + "column": 7 }, "end": { - "line": 249, - "column": 15 + "line": 239, + "column": 13 } } }, @@ -69609,16 +69228,16 @@ "postfix": false, "binop": null }, - "start": 5275, - "end": 5276, + "start": 4969, + "end": 4970, "loc": { "start": { - "line": 249, - "column": 16 + "line": 239, + "column": 13 }, "end": { - "line": 249, - "column": 17 + "line": 239, + "column": 14 } } }, @@ -69634,16 +69253,16 @@ "postfix": false, "binop": null }, - "start": 5277, - "end": 5278, + "start": 4971, + "end": 4972, "loc": { "start": { - "line": 249, - "column": 18 + "line": 239, + "column": 15 }, "end": { - "line": 249, - "column": 19 + "line": 239, + "column": 16 } } }, @@ -69662,15 +69281,15 @@ "updateContext": null }, "value": "return", - "start": 5281, - "end": 5287, + "start": 4975, + "end": 4981, "loc": { "start": { - "line": 250, + "line": 240, "column": 2 }, "end": { - "line": 250, + "line": 240, "column": 8 } } @@ -69690,15 +69309,15 @@ "updateContext": null }, "value": "this", - "start": 5288, - "end": 5292, + "start": 4982, + "end": 4986, "loc": { "start": { - "line": 250, + "line": 240, "column": 9 }, "end": { - "line": 250, + "line": 240, "column": 13 } } @@ -69716,15 +69335,15 @@ "binop": null, "updateContext": null }, - "start": 5292, - "end": 5293, + "start": 4986, + "end": 4987, "loc": { "start": { - "line": 250, + "line": 240, "column": 13 }, "end": { - "line": 250, + "line": 240, "column": 14 } } @@ -69742,15 +69361,15 @@ "binop": null }, "value": "divn", - "start": 5293, - "end": 5297, + "start": 4987, + "end": 4991, "loc": { "start": { - "line": 250, + "line": 240, "column": 14 }, "end": { - "line": 250, + "line": 240, "column": 18 } } @@ -69767,15 +69386,15 @@ "postfix": false, "binop": null }, - "start": 5297, - "end": 5298, + "start": 4991, + "end": 4992, "loc": { "start": { - "line": 250, + "line": 240, "column": 18 }, "end": { - "line": 250, + "line": 240, "column": 19 } } @@ -69793,15 +69412,15 @@ "binop": null }, "value": "number", - "start": 5298, - "end": 5304, + "start": 4992, + "end": 4998, "loc": { "start": { - "line": 250, + "line": 240, "column": 19 }, "end": { - "line": 250, + "line": 240, "column": 25 } } @@ -69818,15 +69437,15 @@ "postfix": false, "binop": null }, - "start": 5304, - "end": 5305, + "start": 4998, + "end": 4999, "loc": { "start": { - "line": 250, + "line": 240, "column": 25 }, "end": { - "line": 250, + "line": 240, "column": 26 } } @@ -69844,15 +69463,15 @@ "binop": null, "updateContext": null }, - "start": 5305, - "end": 5306, + "start": 4999, + "end": 5000, "loc": { "start": { - "line": 250, + "line": 240, "column": 26 }, "end": { - "line": 250, + "line": 240, "column": 27 } } @@ -69870,15 +69489,15 @@ "binop": null }, "value": "move", - "start": 5306, - "end": 5310, + "start": 5000, + "end": 5004, "loc": { "start": { - "line": 250, + "line": 240, "column": 27 }, "end": { - "line": 250, + "line": 240, "column": 31 } } @@ -69895,15 +69514,15 @@ "postfix": false, "binop": null }, - "start": 5310, - "end": 5311, + "start": 5004, + "end": 5005, "loc": { "start": { - "line": 250, + "line": 240, "column": 31 }, "end": { - "line": 250, + "line": 240, "column": 32 } } @@ -69923,15 +69542,15 @@ "updateContext": null }, "value": "this", - "start": 5311, - "end": 5315, + "start": 5005, + "end": 5009, "loc": { "start": { - "line": 250, + "line": 240, "column": 32 }, "end": { - "line": 250, + "line": 240, "column": 36 } } @@ -69948,15 +69567,15 @@ "postfix": false, "binop": null }, - "start": 5315, - "end": 5316, + "start": 5009, + "end": 5010, "loc": { "start": { - "line": 250, + "line": 240, "column": 36 }, "end": { - "line": 250, + "line": 240, "column": 37 } } @@ -69974,15 +69593,15 @@ "binop": null, "updateContext": null }, - "start": 5316, - "end": 5317, + "start": 5010, + "end": 5011, "loc": { "start": { - "line": 250, + "line": 240, "column": 37 }, "end": { - "line": 250, + "line": 240, "column": 38 } } @@ -69999,15 +69618,15 @@ "postfix": false, "binop": null }, - "start": 5319, - "end": 5320, + "start": 5013, + "end": 5014, "loc": { "start": { - "line": 251, + "line": 241, "column": 1 }, "end": { - "line": 251, + "line": 241, "column": 2 } } @@ -70025,15 +69644,15 @@ "binop": null }, "value": "mod", - "start": 5323, - "end": 5326, + "start": 5017, + "end": 5020, "loc": { "start": { - "line": 253, + "line": 243, "column": 1 }, "end": { - "line": 253, + "line": 243, "column": 4 } } @@ -70050,16 +69669,16 @@ "postfix": false, "binop": null }, - "start": 5327, - "end": 5328, + "start": 5020, + "end": 5021, "loc": { "start": { - "line": 253, - "column": 5 + "line": 243, + "column": 4 }, "end": { - "line": 253, - "column": 6 + "line": 243, + "column": 5 } } }, @@ -70076,16 +69695,16 @@ "binop": null }, "value": "other", - "start": 5329, - "end": 5334, + "start": 5021, + "end": 5026, "loc": { "start": { - "line": 253, - "column": 7 + "line": 243, + "column": 5 }, "end": { - "line": 253, - "column": 12 + "line": 243, + "column": 10 } } }, @@ -70101,16 +69720,16 @@ "postfix": false, "binop": null }, - "start": 5335, - "end": 5336, + "start": 5026, + "end": 5027, "loc": { "start": { - "line": 253, - "column": 13 + "line": 243, + "column": 10 }, "end": { - "line": 253, - "column": 14 + "line": 243, + "column": 11 } } }, @@ -70126,16 +69745,16 @@ "postfix": false, "binop": null }, - "start": 5337, - "end": 5338, + "start": 5028, + "end": 5029, "loc": { "start": { - "line": 253, - "column": 15 + "line": 243, + "column": 12 }, "end": { - "line": 253, - "column": 16 + "line": 243, + "column": 13 } } }, @@ -70154,15 +69773,15 @@ "updateContext": null }, "value": "return", - "start": 5341, - "end": 5347, + "start": 5032, + "end": 5038, "loc": { "start": { - "line": 254, + "line": 244, "column": 2 }, "end": { - "line": 254, + "line": 244, "column": 8 } } @@ -70182,15 +69801,15 @@ "updateContext": null }, "value": "this", - "start": 5348, - "end": 5352, + "start": 5039, + "end": 5043, "loc": { "start": { - "line": 254, + "line": 244, "column": 9 }, "end": { - "line": 254, + "line": 244, "column": 13 } } @@ -70208,15 +69827,15 @@ "binop": null, "updateContext": null }, - "start": 5352, - "end": 5353, + "start": 5043, + "end": 5044, "loc": { "start": { - "line": 254, + "line": 244, "column": 13 }, "end": { - "line": 254, + "line": 244, "column": 14 } } @@ -70234,15 +69853,15 @@ "binop": null }, "value": "divmod", - "start": 5353, - "end": 5359, + "start": 5044, + "end": 5050, "loc": { "start": { - "line": 254, + "line": 244, "column": 14 }, "end": { - "line": 254, + "line": 244, "column": 20 } } @@ -70259,15 +69878,15 @@ "postfix": false, "binop": null }, - "start": 5359, - "end": 5360, + "start": 5050, + "end": 5051, "loc": { "start": { - "line": 254, + "line": 244, "column": 20 }, "end": { - "line": 254, + "line": 244, "column": 21 } } @@ -70285,16 +69904,16 @@ "binop": null }, "value": "other", - "start": 5361, - "end": 5366, + "start": 5051, + "end": 5056, "loc": { "start": { - "line": 254, - "column": 22 + "line": 244, + "column": 21 }, "end": { - "line": 254, - "column": 27 + "line": 244, + "column": 26 } } }, @@ -70310,16 +69929,16 @@ "postfix": false, "binop": null }, - "start": 5367, - "end": 5368, + "start": 5056, + "end": 5057, "loc": { "start": { - "line": 254, - "column": 28 + "line": 244, + "column": 26 }, "end": { - "line": 254, - "column": 29 + "line": 244, + "column": 27 } } }, @@ -70336,16 +69955,16 @@ "binop": null, "updateContext": null }, - "start": 5368, - "end": 5369, + "start": 5057, + "end": 5058, "loc": { "start": { - "line": 254, - "column": 29 + "line": 244, + "column": 27 }, "end": { - "line": 254, - "column": 30 + "line": 244, + "column": 28 } } }, @@ -70363,16 +69982,16 @@ "updateContext": null }, "value": 1, - "start": 5369, - "end": 5370, + "start": 5058, + "end": 5059, "loc": { "start": { - "line": 254, - "column": 30 + "line": 244, + "column": 28 }, "end": { - "line": 254, - "column": 31 + "line": 244, + "column": 29 } } }, @@ -70389,16 +70008,16 @@ "binop": null, "updateContext": null }, - "start": 5370, - "end": 5371, + "start": 5059, + "end": 5060, "loc": { "start": { - "line": 254, - "column": 31 + "line": 244, + "column": 29 }, "end": { - "line": 254, - "column": 32 + "line": 244, + "column": 30 } } }, @@ -70415,16 +70034,16 @@ "binop": null, "updateContext": null }, - "start": 5372, - "end": 5373, + "start": 5060, + "end": 5061, "loc": { "start": { - "line": 254, - "column": 33 + "line": 244, + "column": 30 }, "end": { - "line": 254, - "column": 34 + "line": 244, + "column": 31 } } }, @@ -70440,15 +70059,15 @@ "postfix": false, "binop": null }, - "start": 5375, - "end": 5376, + "start": 5063, + "end": 5064, "loc": { "start": { - "line": 255, + "line": 245, "column": 1 }, "end": { - "line": 255, + "line": 245, "column": 2 } } @@ -70466,15 +70085,15 @@ "binop": null }, "value": "modn", - "start": 5379, - "end": 5383, + "start": 5067, + "end": 5071, "loc": { "start": { - "line": 257, + "line": 247, "column": 1 }, "end": { - "line": 257, + "line": 247, "column": 5 } } @@ -70491,16 +70110,16 @@ "postfix": false, "binop": null }, - "start": 5384, - "end": 5385, + "start": 5071, + "end": 5072, "loc": { "start": { - "line": 257, - "column": 6 + "line": 247, + "column": 5 }, "end": { - "line": 257, - "column": 7 + "line": 247, + "column": 6 } } }, @@ -70517,16 +70136,16 @@ "binop": null }, "value": "number", - "start": 5386, - "end": 5392, + "start": 5072, + "end": 5078, "loc": { "start": { - "line": 257, - "column": 8 + "line": 247, + "column": 6 }, "end": { - "line": 257, - "column": 14 + "line": 247, + "column": 12 } } }, @@ -70542,16 +70161,16 @@ "postfix": false, "binop": null }, - "start": 5393, - "end": 5394, + "start": 5078, + "end": 5079, "loc": { "start": { - "line": 257, - "column": 15 + "line": 247, + "column": 12 }, "end": { - "line": 257, - "column": 16 + "line": 247, + "column": 13 } } }, @@ -70567,16 +70186,16 @@ "postfix": false, "binop": null }, - "start": 5395, - "end": 5396, + "start": 5080, + "end": 5081, "loc": { "start": { - "line": 257, - "column": 17 + "line": 247, + "column": 14 }, "end": { - "line": 257, - "column": 18 + "line": 247, + "column": 15 } } }, @@ -70595,15 +70214,15 @@ "updateContext": null }, "value": "return", - "start": 5399, - "end": 5405, + "start": 5084, + "end": 5090, "loc": { "start": { - "line": 258, + "line": 248, "column": 2 }, "end": { - "line": 258, + "line": 248, "column": 8 } } @@ -70623,15 +70242,15 @@ "updateContext": null }, "value": "this", - "start": 5406, - "end": 5410, + "start": 5091, + "end": 5095, "loc": { "start": { - "line": 258, + "line": 248, "column": 9 }, "end": { - "line": 258, + "line": 248, "column": 13 } } @@ -70649,15 +70268,15 @@ "binop": null, "updateContext": null }, - "start": 5410, - "end": 5411, + "start": 5095, + "end": 5096, "loc": { "start": { - "line": 258, + "line": 248, "column": 13 }, "end": { - "line": 258, + "line": 248, "column": 14 } } @@ -70675,15 +70294,15 @@ "binop": null }, "value": "mod", - "start": 5411, - "end": 5414, + "start": 5096, + "end": 5099, "loc": { "start": { - "line": 258, + "line": 248, "column": 14 }, "end": { - "line": 258, + "line": 248, "column": 17 } } @@ -70700,15 +70319,15 @@ "postfix": false, "binop": null }, - "start": 5414, - "end": 5415, + "start": 5099, + "end": 5100, "loc": { "start": { - "line": 258, + "line": 248, "column": 17 }, "end": { - "line": 258, + "line": 248, "column": 18 } } @@ -70726,15 +70345,15 @@ "binop": null }, "value": "_from_number", - "start": 5415, - "end": 5427, + "start": 5100, + "end": 5112, "loc": { "start": { - "line": 258, + "line": 248, "column": 18 }, "end": { - "line": 258, + "line": 248, "column": 30 } } @@ -70751,15 +70370,15 @@ "postfix": false, "binop": null }, - "start": 5427, - "end": 5428, + "start": 5112, + "end": 5113, "loc": { "start": { - "line": 258, + "line": 248, "column": 30 }, "end": { - "line": 258, + "line": 248, "column": 31 } } @@ -70777,15 +70396,15 @@ "binop": null }, "value": "number", - "start": 5428, - "end": 5434, + "start": 5113, + "end": 5119, "loc": { "start": { - "line": 258, + "line": 248, "column": 31 }, "end": { - "line": 258, + "line": 248, "column": 37 } } @@ -70802,15 +70421,15 @@ "postfix": false, "binop": null }, - "start": 5434, - "end": 5435, + "start": 5119, + "end": 5120, "loc": { "start": { - "line": 258, + "line": 248, "column": 37 }, "end": { - "line": 258, + "line": 248, "column": 38 } } @@ -70827,15 +70446,15 @@ "postfix": false, "binop": null }, - "start": 5435, - "end": 5436, + "start": 5120, + "end": 5121, "loc": { "start": { - "line": 258, + "line": 248, "column": 38 }, "end": { - "line": 258, + "line": 248, "column": 39 } } @@ -70853,16 +70472,16 @@ "binop": null, "updateContext": null }, - "start": 5437, - "end": 5438, + "start": 5121, + "end": 5122, "loc": { "start": { - "line": 258, - "column": 40 + "line": 248, + "column": 39 }, "end": { - "line": 258, - "column": 41 + "line": 248, + "column": 40 } } }, @@ -70878,15 +70497,15 @@ "postfix": false, "binop": null }, - "start": 5440, - "end": 5441, + "start": 5124, + "end": 5125, "loc": { "start": { - "line": 259, + "line": 249, "column": 1 }, "end": { - "line": 259, + "line": 249, "column": 2 } } @@ -70904,15 +70523,15 @@ "binop": null }, "value": "imod", - "start": 5444, - "end": 5448, + "start": 5128, + "end": 5132, "loc": { "start": { - "line": 261, + "line": 251, "column": 1 }, "end": { - "line": 261, + "line": 251, "column": 5 } } @@ -70929,16 +70548,16 @@ "postfix": false, "binop": null }, - "start": 5449, - "end": 5450, + "start": 5132, + "end": 5133, "loc": { "start": { - "line": 261, - "column": 6 + "line": 251, + "column": 5 }, "end": { - "line": 261, - "column": 7 + "line": 251, + "column": 6 } } }, @@ -70955,16 +70574,16 @@ "binop": null }, "value": "other", - "start": 5451, - "end": 5456, + "start": 5133, + "end": 5138, "loc": { "start": { - "line": 261, - "column": 8 + "line": 251, + "column": 6 }, "end": { - "line": 261, - "column": 13 + "line": 251, + "column": 11 } } }, @@ -70980,16 +70599,16 @@ "postfix": false, "binop": null }, - "start": 5457, - "end": 5458, + "start": 5138, + "end": 5139, "loc": { "start": { - "line": 261, - "column": 14 + "line": 251, + "column": 11 }, "end": { - "line": 261, - "column": 15 + "line": 251, + "column": 12 } } }, @@ -71005,31 +70624,31 @@ "postfix": false, "binop": null }, - "start": 5459, - "end": 5460, + "start": 5140, + "end": 5141, "loc": { "start": { - "line": 261, - "column": 16 + "line": 251, + "column": 13 }, "end": { - "line": 261, - "column": 17 + "line": 251, + "column": 14 } } }, { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 5463, - "end": 5512, + "start": 5144, + "end": 5193, "loc": { "start": { - "line": 262, + "line": 252, "column": 2 }, "end": { - "line": 262, + "line": 252, "column": 51 } } @@ -71049,15 +70668,15 @@ "updateContext": null }, "value": "return", - "start": 5515, - "end": 5521, + "start": 5196, + "end": 5202, "loc": { "start": { - "line": 263, + "line": 253, "column": 2 }, "end": { - "line": 263, + "line": 253, "column": 8 } } @@ -71077,15 +70696,15 @@ "updateContext": null }, "value": "this", - "start": 5522, - "end": 5526, + "start": 5203, + "end": 5207, "loc": { "start": { - "line": 263, + "line": 253, "column": 9 }, "end": { - "line": 263, + "line": 253, "column": 13 } } @@ -71103,15 +70722,15 @@ "binop": null, "updateContext": null }, - "start": 5526, - "end": 5527, + "start": 5207, + "end": 5208, "loc": { "start": { - "line": 263, + "line": 253, "column": 13 }, "end": { - "line": 263, + "line": 253, "column": 14 } } @@ -71129,15 +70748,15 @@ "binop": null }, "value": "mod", - "start": 5527, - "end": 5530, + "start": 5208, + "end": 5211, "loc": { "start": { - "line": 263, + "line": 253, "column": 14 }, "end": { - "line": 263, + "line": 253, "column": 17 } } @@ -71154,15 +70773,15 @@ "postfix": false, "binop": null }, - "start": 5530, - "end": 5531, + "start": 5211, + "end": 5212, "loc": { "start": { - "line": 263, + "line": 253, "column": 17 }, "end": { - "line": 263, + "line": 253, "column": 18 } } @@ -71180,15 +70799,15 @@ "binop": null }, "value": "other", - "start": 5531, - "end": 5536, + "start": 5212, + "end": 5217, "loc": { "start": { - "line": 263, + "line": 253, "column": 18 }, "end": { - "line": 263, + "line": 253, "column": 23 } } @@ -71205,15 +70824,15 @@ "postfix": false, "binop": null }, - "start": 5536, - "end": 5537, + "start": 5217, + "end": 5218, "loc": { "start": { - "line": 263, + "line": 253, "column": 23 }, "end": { - "line": 263, + "line": 253, "column": 24 } } @@ -71231,15 +70850,15 @@ "binop": null, "updateContext": null }, - "start": 5537, - "end": 5538, + "start": 5218, + "end": 5219, "loc": { "start": { - "line": 263, + "line": 253, "column": 24 }, "end": { - "line": 263, + "line": 253, "column": 25 } } @@ -71257,15 +70876,15 @@ "binop": null }, "value": "move", - "start": 5538, - "end": 5542, + "start": 5219, + "end": 5223, "loc": { "start": { - "line": 263, + "line": 253, "column": 25 }, "end": { - "line": 263, + "line": 253, "column": 29 } } @@ -71282,15 +70901,15 @@ "postfix": false, "binop": null }, - "start": 5542, - "end": 5543, + "start": 5223, + "end": 5224, "loc": { "start": { - "line": 263, + "line": 253, "column": 29 }, "end": { - "line": 263, + "line": 253, "column": 30 } } @@ -71310,15 +70929,15 @@ "updateContext": null }, "value": "this", - "start": 5543, - "end": 5547, + "start": 5224, + "end": 5228, "loc": { "start": { - "line": 263, + "line": 253, "column": 30 }, "end": { - "line": 263, + "line": 253, "column": 34 } } @@ -71335,15 +70954,15 @@ "postfix": false, "binop": null }, - "start": 5547, - "end": 5548, + "start": 5228, + "end": 5229, "loc": { "start": { - "line": 263, + "line": 253, "column": 34 }, "end": { - "line": 263, + "line": 253, "column": 35 } } @@ -71361,15 +70980,15 @@ "binop": null, "updateContext": null }, - "start": 5548, - "end": 5549, + "start": 5229, + "end": 5230, "loc": { "start": { - "line": 263, + "line": 253, "column": 35 }, "end": { - "line": 263, + "line": 253, "column": 36 } } @@ -71386,15 +71005,15 @@ "postfix": false, "binop": null }, - "start": 5551, - "end": 5552, + "start": 5232, + "end": 5233, "loc": { "start": { - "line": 264, + "line": 254, "column": 1 }, "end": { - "line": 264, + "line": 254, "column": 2 } } @@ -71412,15 +71031,15 @@ "binop": null }, "value": "imodn", - "start": 5555, - "end": 5560, + "start": 5236, + "end": 5241, "loc": { "start": { - "line": 266, + "line": 256, "column": 1 }, "end": { - "line": 266, + "line": 256, "column": 6 } } @@ -71437,16 +71056,16 @@ "postfix": false, "binop": null }, - "start": 5561, - "end": 5562, + "start": 5241, + "end": 5242, "loc": { "start": { - "line": 266, - "column": 7 + "line": 256, + "column": 6 }, "end": { - "line": 266, - "column": 8 + "line": 256, + "column": 7 } } }, @@ -71463,16 +71082,16 @@ "binop": null }, "value": "number", - "start": 5563, - "end": 5569, + "start": 5242, + "end": 5248, "loc": { "start": { - "line": 266, - "column": 9 + "line": 256, + "column": 7 }, "end": { - "line": 266, - "column": 15 + "line": 256, + "column": 13 } } }, @@ -71488,16 +71107,16 @@ "postfix": false, "binop": null }, - "start": 5570, - "end": 5571, + "start": 5248, + "end": 5249, "loc": { "start": { - "line": 266, - "column": 16 + "line": 256, + "column": 13 }, "end": { - "line": 266, - "column": 17 + "line": 256, + "column": 14 } } }, @@ -71513,16 +71132,16 @@ "postfix": false, "binop": null }, - "start": 5572, - "end": 5573, + "start": 5250, + "end": 5251, "loc": { "start": { - "line": 266, - "column": 18 + "line": 256, + "column": 15 }, "end": { - "line": 266, - "column": 19 + "line": 256, + "column": 16 } } }, @@ -71541,15 +71160,15 @@ "updateContext": null }, "value": "return", - "start": 5576, - "end": 5582, + "start": 5254, + "end": 5260, "loc": { "start": { - "line": 267, + "line": 257, "column": 2 }, "end": { - "line": 267, + "line": 257, "column": 8 } } @@ -71569,15 +71188,15 @@ "updateContext": null }, "value": "this", - "start": 5583, - "end": 5587, + "start": 5261, + "end": 5265, "loc": { "start": { - "line": 267, + "line": 257, "column": 9 }, "end": { - "line": 267, + "line": 257, "column": 13 } } @@ -71595,15 +71214,15 @@ "binop": null, "updateContext": null }, - "start": 5587, - "end": 5588, + "start": 5265, + "end": 5266, "loc": { "start": { - "line": 267, + "line": 257, "column": 13 }, "end": { - "line": 267, + "line": 257, "column": 14 } } @@ -71621,15 +71240,15 @@ "binop": null }, "value": "modn", - "start": 5588, - "end": 5592, + "start": 5266, + "end": 5270, "loc": { "start": { - "line": 267, + "line": 257, "column": 14 }, "end": { - "line": 267, + "line": 257, "column": 18 } } @@ -71646,15 +71265,15 @@ "postfix": false, "binop": null }, - "start": 5592, - "end": 5593, + "start": 5270, + "end": 5271, "loc": { "start": { - "line": 267, + "line": 257, "column": 18 }, "end": { - "line": 267, + "line": 257, "column": 19 } } @@ -71672,15 +71291,15 @@ "binop": null }, "value": "number", - "start": 5593, - "end": 5599, + "start": 5271, + "end": 5277, "loc": { "start": { - "line": 267, + "line": 257, "column": 19 }, "end": { - "line": 267, + "line": 257, "column": 25 } } @@ -71697,15 +71316,15 @@ "postfix": false, "binop": null }, - "start": 5599, - "end": 5600, + "start": 5277, + "end": 5278, "loc": { "start": { - "line": 267, + "line": 257, "column": 25 }, "end": { - "line": 267, + "line": 257, "column": 26 } } @@ -71723,15 +71342,15 @@ "binop": null, "updateContext": null }, - "start": 5600, - "end": 5601, + "start": 5278, + "end": 5279, "loc": { "start": { - "line": 267, + "line": 257, "column": 26 }, "end": { - "line": 267, + "line": 257, "column": 27 } } @@ -71749,15 +71368,15 @@ "binop": null }, "value": "move", - "start": 5601, - "end": 5605, + "start": 5279, + "end": 5283, "loc": { "start": { - "line": 267, + "line": 257, "column": 27 }, "end": { - "line": 267, + "line": 257, "column": 31 } } @@ -71774,15 +71393,15 @@ "postfix": false, "binop": null }, - "start": 5605, - "end": 5606, + "start": 5283, + "end": 5284, "loc": { "start": { - "line": 267, + "line": 257, "column": 31 }, "end": { - "line": 267, + "line": 257, "column": 32 } } @@ -71802,15 +71421,15 @@ "updateContext": null }, "value": "this", - "start": 5606, - "end": 5610, + "start": 5284, + "end": 5288, "loc": { "start": { - "line": 267, + "line": 257, "column": 32 }, "end": { - "line": 267, + "line": 257, "column": 36 } } @@ -71827,15 +71446,15 @@ "postfix": false, "binop": null }, - "start": 5610, - "end": 5611, + "start": 5288, + "end": 5289, "loc": { "start": { - "line": 267, + "line": 257, "column": 36 }, "end": { - "line": 267, + "line": 257, "column": 37 } } @@ -71853,15 +71472,15 @@ "binop": null, "updateContext": null }, - "start": 5611, - "end": 5612, + "start": 5289, + "end": 5290, "loc": { "start": { - "line": 267, + "line": 257, "column": 37 }, "end": { - "line": 267, + "line": 257, "column": 38 } } @@ -71878,15 +71497,15 @@ "postfix": false, "binop": null }, - "start": 5614, - "end": 5615, + "start": 5292, + "end": 5293, "loc": { "start": { - "line": 268, + "line": 258, "column": 1 }, "end": { - "line": 268, + "line": 258, "column": 2 } } @@ -71904,15 +71523,15 @@ "binop": null }, "value": "divround", - "start": 5618, - "end": 5626, + "start": 5296, + "end": 5304, "loc": { "start": { - "line": 270, + "line": 260, "column": 1 }, "end": { - "line": 270, + "line": 260, "column": 9 } } @@ -71929,16 +71548,16 @@ "postfix": false, "binop": null }, - "start": 5627, - "end": 5628, + "start": 5304, + "end": 5305, "loc": { "start": { - "line": 270, - "column": 10 + "line": 260, + "column": 9 }, "end": { - "line": 270, - "column": 11 + "line": 260, + "column": 10 } } }, @@ -71955,16 +71574,16 @@ "binop": null }, "value": "other", - "start": 5629, - "end": 5634, + "start": 5305, + "end": 5310, "loc": { "start": { - "line": 270, - "column": 12 + "line": 260, + "column": 10 }, "end": { - "line": 270, - "column": 17 + "line": 260, + "column": 15 } } }, @@ -71980,16 +71599,16 @@ "postfix": false, "binop": null }, - "start": 5635, - "end": 5636, + "start": 5310, + "end": 5311, "loc": { "start": { - "line": 270, - "column": 18 + "line": 260, + "column": 15 }, "end": { - "line": 270, - "column": 19 + "line": 260, + "column": 16 } } }, @@ -72005,16 +71624,16 @@ "postfix": false, "binop": null }, - "start": 5637, - "end": 5638, + "start": 5312, + "end": 5313, "loc": { "start": { - "line": 270, - "column": 20 + "line": 260, + "column": 17 }, "end": { - "line": 270, - "column": 21 + "line": 260, + "column": 18 } } }, @@ -72033,15 +71652,15 @@ "updateContext": null }, "value": "const", - "start": 5641, - "end": 5646, + "start": 5316, + "end": 5321, "loc": { "start": { - "line": 271, + "line": 261, "column": 2 }, "end": { - "line": 271, + "line": 261, "column": 7 } } @@ -72059,15 +71678,15 @@ "binop": null, "updateContext": null }, - "start": 5647, - "end": 5648, + "start": 5322, + "end": 5323, "loc": { "start": { - "line": 271, + "line": 261, "column": 8 }, "end": { - "line": 271, + "line": 261, "column": 9 } } @@ -72085,16 +71704,16 @@ "binop": null }, "value": "q", - "start": 5649, - "end": 5650, + "start": 5323, + "end": 5324, "loc": { "start": { - "line": 271, - "column": 10 + "line": 261, + "column": 9 }, "end": { - "line": 271, - "column": 11 + "line": 261, + "column": 10 } } }, @@ -72111,16 +71730,16 @@ "binop": null, "updateContext": null }, - "start": 5651, - "end": 5652, + "start": 5324, + "end": 5325, "loc": { "start": { - "line": 271, - "column": 12 + "line": 261, + "column": 10 }, "end": { - "line": 271, - "column": 13 + "line": 261, + "column": 11 } } }, @@ -72137,16 +71756,16 @@ "binop": null }, "value": "r", - "start": 5653, - "end": 5654, + "start": 5326, + "end": 5327, "loc": { "start": { - "line": 271, - "column": 14 + "line": 261, + "column": 12 }, "end": { - "line": 271, - "column": 15 + "line": 261, + "column": 13 } } }, @@ -72163,16 +71782,16 @@ "binop": null, "updateContext": null }, - "start": 5655, - "end": 5656, + "start": 5327, + "end": 5328, "loc": { "start": { - "line": 271, - "column": 16 + "line": 261, + "column": 13 }, "end": { - "line": 271, - "column": 17 + "line": 261, + "column": 14 } } }, @@ -72190,16 +71809,16 @@ "updateContext": null }, "value": "=", - "start": 5657, - "end": 5658, + "start": 5329, + "end": 5330, "loc": { "start": { - "line": 271, - "column": 18 + "line": 261, + "column": 15 }, "end": { - "line": 271, - "column": 19 + "line": 261, + "column": 16 } } }, @@ -72218,16 +71837,16 @@ "updateContext": null }, "value": "this", - "start": 5659, - "end": 5663, + "start": 5331, + "end": 5335, "loc": { "start": { - "line": 271, - "column": 20 + "line": 261, + "column": 17 }, "end": { - "line": 271, - "column": 24 + "line": 261, + "column": 21 } } }, @@ -72244,16 +71863,16 @@ "binop": null, "updateContext": null }, - "start": 5663, - "end": 5664, + "start": 5335, + "end": 5336, "loc": { "start": { - "line": 271, - "column": 24 + "line": 261, + "column": 21 }, "end": { - "line": 271, - "column": 25 + "line": 261, + "column": 22 } } }, @@ -72270,16 +71889,16 @@ "binop": null }, "value": "divmod", - "start": 5664, - "end": 5670, + "start": 5336, + "end": 5342, "loc": { "start": { - "line": 271, - "column": 25 + "line": 261, + "column": 22 }, "end": { - "line": 271, - "column": 31 + "line": 261, + "column": 28 } } }, @@ -72295,16 +71914,16 @@ "postfix": false, "binop": null }, - "start": 5670, - "end": 5671, + "start": 5342, + "end": 5343, "loc": { "start": { - "line": 271, - "column": 31 + "line": 261, + "column": 28 }, "end": { - "line": 271, - "column": 32 + "line": 261, + "column": 29 } } }, @@ -72321,16 +71940,16 @@ "binop": null }, "value": "other", - "start": 5671, - "end": 5676, + "start": 5343, + "end": 5348, "loc": { "start": { - "line": 271, - "column": 32 + "line": 261, + "column": 29 }, "end": { - "line": 271, - "column": 37 + "line": 261, + "column": 34 } } }, @@ -72346,16 +71965,16 @@ "postfix": false, "binop": null }, - "start": 5676, - "end": 5677, + "start": 5348, + "end": 5349, "loc": { "start": { - "line": 271, - "column": 37 + "line": 261, + "column": 34 }, "end": { - "line": 271, - "column": 38 + "line": 261, + "column": 35 } } }, @@ -72372,16 +71991,16 @@ "binop": null, "updateContext": null }, - "start": 5678, - "end": 5679, + "start": 5349, + "end": 5350, "loc": { "start": { - "line": 271, - "column": 39 + "line": 261, + "column": 35 }, "end": { - "line": 271, - "column": 40 + "line": 261, + "column": 36 } } }, @@ -72400,15 +72019,15 @@ "updateContext": null }, "value": "if", - "start": 5682, - "end": 5684, + "start": 5353, + "end": 5355, "loc": { "start": { - "line": 272, + "line": 262, "column": 2 }, "end": { - "line": 272, + "line": 262, "column": 4 } } @@ -72425,15 +72044,15 @@ "postfix": false, "binop": null }, - "start": 5685, - "end": 5686, + "start": 5356, + "end": 5357, "loc": { "start": { - "line": 272, + "line": 262, "column": 5 }, "end": { - "line": 272, + "line": 262, "column": 6 } } @@ -72451,16 +72070,16 @@ "binop": null }, "value": "r", - "start": 5687, - "end": 5688, + "start": 5357, + "end": 5358, "loc": { "start": { - "line": 272, - "column": 7 + "line": 262, + "column": 6 }, "end": { - "line": 272, - "column": 8 + "line": 262, + "column": 7 } } }, @@ -72477,16 +72096,16 @@ "binop": null, "updateContext": null }, - "start": 5688, - "end": 5689, + "start": 5358, + "end": 5359, "loc": { "start": { - "line": 272, - "column": 8 + "line": 262, + "column": 7 }, "end": { - "line": 272, - "column": 9 + "line": 262, + "column": 8 } } }, @@ -72503,16 +72122,16 @@ "binop": null }, "value": "ge", - "start": 5689, - "end": 5691, + "start": 5359, + "end": 5361, "loc": { "start": { - "line": 272, - "column": 9 + "line": 262, + "column": 8 }, "end": { - "line": 272, - "column": 11 + "line": 262, + "column": 10 } } }, @@ -72528,16 +72147,16 @@ "postfix": false, "binop": null }, - "start": 5691, - "end": 5692, + "start": 5361, + "end": 5362, "loc": { "start": { - "line": 272, - "column": 11 + "line": 262, + "column": 10 }, "end": { - "line": 272, - "column": 12 + "line": 262, + "column": 11 } } }, @@ -72554,16 +72173,16 @@ "binop": null }, "value": "other", - "start": 5692, - "end": 5697, + "start": 5362, + "end": 5367, "loc": { "start": { - "line": 272, - "column": 12 + "line": 262, + "column": 11 }, "end": { - "line": 272, - "column": 17 + "line": 262, + "column": 16 } } }, @@ -72580,16 +72199,16 @@ "binop": null, "updateContext": null }, - "start": 5697, - "end": 5698, + "start": 5367, + "end": 5368, "loc": { "start": { - "line": 272, - "column": 17 + "line": 262, + "column": 16 }, "end": { - "line": 272, - "column": 18 + "line": 262, + "column": 17 } } }, @@ -72606,16 +72225,16 @@ "binop": null }, "value": "divn", - "start": 5698, - "end": 5702, + "start": 5368, + "end": 5372, "loc": { "start": { - "line": 272, - "column": 18 + "line": 262, + "column": 17 }, "end": { - "line": 272, - "column": 22 + "line": 262, + "column": 21 } } }, @@ -72631,16 +72250,16 @@ "postfix": false, "binop": null }, - "start": 5702, - "end": 5703, + "start": 5372, + "end": 5373, "loc": { "start": { - "line": 272, - "column": 22 + "line": 262, + "column": 21 }, "end": { - "line": 272, - "column": 23 + "line": 262, + "column": 22 } } }, @@ -72658,16 +72277,16 @@ "updateContext": null }, "value": 2, - "start": 5703, - "end": 5704, + "start": 5373, + "end": 5374, "loc": { "start": { - "line": 272, - "column": 23 + "line": 262, + "column": 22 }, "end": { - "line": 272, - "column": 24 + "line": 262, + "column": 23 } } }, @@ -72683,16 +72302,16 @@ "postfix": false, "binop": null }, - "start": 5704, - "end": 5705, + "start": 5374, + "end": 5375, "loc": { "start": { - "line": 272, - "column": 24 + "line": 262, + "column": 23 }, "end": { - "line": 272, - "column": 25 + "line": 262, + "column": 24 } } }, @@ -72709,16 +72328,16 @@ "binop": null, "updateContext": null }, - "start": 5705, - "end": 5706, + "start": 5375, + "end": 5376, "loc": { "start": { - "line": 272, - "column": 25 + "line": 262, + "column": 24 }, "end": { - "line": 272, - "column": 26 + "line": 262, + "column": 25 } } }, @@ -72735,16 +72354,16 @@ "binop": null }, "value": "addn", - "start": 5706, - "end": 5710, + "start": 5376, + "end": 5380, "loc": { "start": { - "line": 272, - "column": 26 + "line": 262, + "column": 25 }, "end": { - "line": 272, - "column": 30 + "line": 262, + "column": 29 } } }, @@ -72760,16 +72379,16 @@ "postfix": false, "binop": null }, - "start": 5710, - "end": 5711, + "start": 5380, + "end": 5381, "loc": { "start": { - "line": 272, - "column": 30 + "line": 262, + "column": 29 }, "end": { - "line": 272, - "column": 31 + "line": 262, + "column": 30 } } }, @@ -72786,16 +72405,16 @@ "binop": null }, "value": "other", - "start": 5711, - "end": 5716, + "start": 5381, + "end": 5386, "loc": { "start": { - "line": 272, - "column": 31 + "line": 262, + "column": 30 }, "end": { - "line": 272, - "column": 36 + "line": 262, + "column": 35 } } }, @@ -72812,16 +72431,16 @@ "binop": null, "updateContext": null }, - "start": 5716, - "end": 5717, + "start": 5386, + "end": 5387, "loc": { "start": { - "line": 272, - "column": 36 + "line": 262, + "column": 35 }, "end": { - "line": 272, - "column": 37 + "line": 262, + "column": 36 } } }, @@ -72838,16 +72457,16 @@ "binop": null }, "value": "iseven", - "start": 5717, - "end": 5723, + "start": 5387, + "end": 5393, "loc": { "start": { - "line": 272, - "column": 37 + "line": 262, + "column": 36 }, "end": { - "line": 272, - "column": 43 + "line": 262, + "column": 42 } } }, @@ -72863,16 +72482,16 @@ "postfix": false, "binop": null }, - "start": 5723, - "end": 5724, + "start": 5393, + "end": 5394, "loc": { "start": { - "line": 272, - "column": 43 + "line": 262, + "column": 42 }, "end": { - "line": 272, - "column": 44 + "line": 262, + "column": 43 } } }, @@ -72888,16 +72507,16 @@ "postfix": false, "binop": null }, - "start": 5724, - "end": 5725, + "start": 5394, + "end": 5395, "loc": { "start": { - "line": 272, - "column": 44 + "line": 262, + "column": 43 }, "end": { - "line": 272, - "column": 45 + "line": 262, + "column": 44 } } }, @@ -72914,16 +72533,16 @@ "binop": null, "updateContext": null }, - "start": 5726, - "end": 5727, + "start": 5396, + "end": 5397, "loc": { "start": { - "line": 272, - "column": 46 + "line": 262, + "column": 45 }, "end": { - "line": 272, - "column": 47 + "line": 262, + "column": 46 } } }, @@ -72941,16 +72560,16 @@ "updateContext": null }, "value": 0, - "start": 5728, - "end": 5729, + "start": 5398, + "end": 5399, "loc": { "start": { - "line": 272, - "column": 48 + "line": 262, + "column": 47 }, "end": { - "line": 272, - "column": 49 + "line": 262, + "column": 48 } } }, @@ -72967,16 +72586,16 @@ "binop": null, "updateContext": null }, - "start": 5730, - "end": 5731, + "start": 5400, + "end": 5401, "loc": { "start": { - "line": 272, - "column": 50 + "line": 262, + "column": 49 }, "end": { - "line": 272, - "column": 51 + "line": 262, + "column": 50 } } }, @@ -72994,16 +72613,16 @@ "updateContext": null }, "value": 1, - "start": 5732, - "end": 5733, + "start": 5402, + "end": 5403, "loc": { "start": { - "line": 272, - "column": 52 + "line": 262, + "column": 51 }, "end": { - "line": 272, - "column": 53 + "line": 262, + "column": 52 } } }, @@ -73019,16 +72638,16 @@ "postfix": false, "binop": null }, - "start": 5733, - "end": 5734, + "start": 5403, + "end": 5404, "loc": { "start": { - "line": 272, - "column": 53 + "line": 262, + "column": 52 }, "end": { - "line": 272, - "column": 54 + "line": 262, + "column": 53 } } }, @@ -73044,16 +72663,16 @@ "postfix": false, "binop": null }, - "start": 5734, - "end": 5735, + "start": 5404, + "end": 5405, "loc": { "start": { - "line": 272, - "column": 54 + "line": 262, + "column": 53 }, "end": { - "line": 272, - "column": 55 + "line": 262, + "column": 54 } } }, @@ -73069,16 +72688,16 @@ "postfix": false, "binop": null }, - "start": 5736, - "end": 5737, + "start": 5405, + "end": 5406, "loc": { "start": { - "line": 272, - "column": 56 + "line": 262, + "column": 54 }, "end": { - "line": 272, - "column": 57 + "line": 262, + "column": 55 } } }, @@ -73095,16 +72714,16 @@ "binop": null }, "value": "increment", - "start": 5738, - "end": 5747, + "start": 5410, + "end": 5419, "loc": { "start": { - "line": 272, - "column": 58 + "line": 263, + "column": 3 }, "end": { - "line": 272, - "column": 67 + "line": 263, + "column": 12 } } }, @@ -73120,16 +72739,16 @@ "postfix": false, "binop": null }, - "start": 5747, - "end": 5748, + "start": 5419, + "end": 5420, "loc": { "start": { - "line": 272, - "column": 67 + "line": 263, + "column": 12 }, "end": { - "line": 272, - "column": 68 + "line": 263, + "column": 13 } } }, @@ -73146,16 +72765,16 @@ "binop": null }, "value": "q", - "start": 5749, - "end": 5750, + "start": 5420, + "end": 5421, "loc": { "start": { - "line": 272, - "column": 69 + "line": 263, + "column": 13 }, "end": { - "line": 272, - "column": 70 + "line": 263, + "column": 14 } } }, @@ -73172,16 +72791,16 @@ "binop": null, "updateContext": null }, - "start": 5750, - "end": 5751, + "start": 5421, + "end": 5422, "loc": { "start": { - "line": 272, - "column": 70 + "line": 263, + "column": 14 }, "end": { - "line": 272, - "column": 71 + "line": 263, + "column": 15 } } }, @@ -73197,17 +72816,17 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 5751, - "end": 5755, + "value": "_base", + "start": 5422, + "end": 5427, "loc": { "start": { - "line": 272, - "column": 71 + "line": 263, + "column": 15 }, "end": { - "line": 272, - "column": 75 + "line": 263, + "column": 20 } } }, @@ -73224,16 +72843,16 @@ "binop": null, "updateContext": null }, - "start": 5756, - "end": 5757, + "start": 5427, + "end": 5428, "loc": { "start": { - "line": 272, - "column": 76 + "line": 263, + "column": 20 }, "end": { - "line": 272, - "column": 77 + "line": 263, + "column": 21 } } }, @@ -73250,16 +72869,16 @@ "binop": null }, "value": "q", - "start": 5758, - "end": 5759, + "start": 5429, + "end": 5430, "loc": { "start": { - "line": 272, - "column": 78 + "line": 263, + "column": 22 }, "end": { - "line": 272, - "column": 79 + "line": 263, + "column": 23 } } }, @@ -73276,16 +72895,16 @@ "binop": null, "updateContext": null }, - "start": 5759, - "end": 5760, + "start": 5430, + "end": 5431, "loc": { "start": { - "line": 272, - "column": 79 + "line": 263, + "column": 23 }, "end": { - "line": 272, - "column": 80 + "line": 263, + "column": 24 } } }, @@ -73301,17 +72920,17 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 5760, - "end": 5765, + "value": "_limbs", + "start": 5431, + "end": 5437, "loc": { "start": { - "line": 272, - "column": 80 + "line": 263, + "column": 24 }, "end": { - "line": 272, - "column": 85 + "line": 263, + "column": 30 } } }, @@ -73328,16 +72947,16 @@ "binop": null, "updateContext": null }, - "start": 5766, - "end": 5767, + "start": 5437, + "end": 5438, "loc": { "start": { - "line": 272, - "column": 86 + "line": 263, + "column": 30 }, "end": { - "line": 272, - "column": 87 + "line": 263, + "column": 31 } } }, @@ -73355,16 +72974,16 @@ "updateContext": null }, "value": 0, - "start": 5768, - "end": 5769, + "start": 5439, + "end": 5440, "loc": { "start": { - "line": 272, - "column": 88 + "line": 263, + "column": 32 }, "end": { - "line": 272, - "column": 89 + "line": 263, + "column": 33 } } }, @@ -73381,16 +73000,16 @@ "binop": null, "updateContext": null }, - "start": 5770, - "end": 5771, + "start": 5440, + "end": 5441, "loc": { "start": { - "line": 272, - "column": 90 + "line": 263, + "column": 33 }, "end": { - "line": 272, - "column": 91 + "line": 263, + "column": 34 } } }, @@ -73407,16 +73026,16 @@ "binop": null }, "value": "q", - "start": 5772, - "end": 5773, + "start": 5442, + "end": 5443, "loc": { "start": { - "line": 272, - "column": 92 + "line": 263, + "column": 35 }, "end": { - "line": 272, - "column": 93 + "line": 263, + "column": 36 } } }, @@ -73433,16 +73052,16 @@ "binop": null, "updateContext": null }, - "start": 5773, - "end": 5774, + "start": 5443, + "end": 5444, "loc": { "start": { - "line": 272, - "column": 93 + "line": 263, + "column": 36 }, "end": { - "line": 272, - "column": 94 + "line": 263, + "column": 37 } } }, @@ -73458,17 +73077,17 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 5774, - "end": 5779, + "value": "_limbs", + "start": 5444, + "end": 5450, "loc": { "start": { - "line": 272, - "column": 94 + "line": 263, + "column": 37 }, "end": { - "line": 272, - "column": 99 + "line": 263, + "column": 43 } } }, @@ -73485,16 +73104,16 @@ "binop": null, "updateContext": null }, - "start": 5779, - "end": 5780, + "start": 5450, + "end": 5451, "loc": { "start": { - "line": 272, - "column": 99 + "line": 263, + "column": 43 }, "end": { - "line": 272, - "column": 100 + "line": 263, + "column": 44 } } }, @@ -73511,16 +73130,16 @@ "binop": null }, "value": "length", - "start": 5780, - "end": 5786, + "start": 5451, + "end": 5457, "loc": { "start": { - "line": 272, - "column": 100 + "line": 263, + "column": 44 }, "end": { - "line": 272, - "column": 106 + "line": 263, + "column": 50 } } }, @@ -73536,16 +73155,16 @@ "postfix": false, "binop": null }, - "start": 5787, - "end": 5788, + "start": 5457, + "end": 5458, "loc": { "start": { - "line": 272, - "column": 107 + "line": 263, + "column": 50 }, "end": { - "line": 272, - "column": 108 + "line": 263, + "column": 51 } } }, @@ -73562,16 +73181,16 @@ "binop": null, "updateContext": null }, - "start": 5789, - "end": 5790, + "start": 5458, + "end": 5459, "loc": { "start": { - "line": 272, - "column": 109 + "line": 263, + "column": 51 }, "end": { - "line": 272, - "column": 110 + "line": 263, + "column": 52 } } }, @@ -73590,15 +73209,15 @@ "updateContext": null }, "value": "return", - "start": 5793, - "end": 5799, + "start": 5462, + "end": 5468, "loc": { "start": { - "line": 273, + "line": 264, "column": 2 }, "end": { - "line": 273, + "line": 264, "column": 8 } } @@ -73616,15 +73235,15 @@ "binop": null }, "value": "q", - "start": 5800, - "end": 5801, + "start": 5469, + "end": 5470, "loc": { "start": { - "line": 273, + "line": 264, "column": 9 }, "end": { - "line": 273, + "line": 264, "column": 10 } } @@ -73642,16 +73261,16 @@ "binop": null, "updateContext": null }, - "start": 5802, - "end": 5803, + "start": 5470, + "end": 5471, "loc": { "start": { - "line": 273, - "column": 11 + "line": 264, + "column": 10 }, "end": { - "line": 273, - "column": 12 + "line": 264, + "column": 11 } } }, @@ -73667,15 +73286,15 @@ "postfix": false, "binop": null }, - "start": 5805, - "end": 5806, + "start": 5473, + "end": 5474, "loc": { "start": { - "line": 274, + "line": 265, "column": 1 }, "end": { - "line": 274, + "line": 265, "column": 2 } } @@ -73693,15 +73312,15 @@ "binop": null }, "value": "divmod", - "start": 5809, - "end": 5815, + "start": 5477, + "end": 5483, "loc": { "start": { - "line": 276, + "line": 267, "column": 1 }, "end": { - "line": 276, + "line": 267, "column": 7 } } @@ -73718,16 +73337,16 @@ "postfix": false, "binop": null }, - "start": 5816, - "end": 5817, + "start": 5483, + "end": 5484, "loc": { "start": { - "line": 276, - "column": 8 + "line": 267, + "column": 7 }, "end": { - "line": 276, - "column": 9 + "line": 267, + "column": 8 } } }, @@ -73744,16 +73363,16 @@ "binop": null }, "value": "other", - "start": 5818, - "end": 5823, + "start": 5484, + "end": 5489, "loc": { "start": { - "line": 276, - "column": 10 + "line": 267, + "column": 8 }, "end": { - "line": 276, - "column": 15 + "line": 267, + "column": 13 } } }, @@ -73769,16 +73388,16 @@ "postfix": false, "binop": null }, - "start": 5824, - "end": 5825, + "start": 5489, + "end": 5490, "loc": { "start": { - "line": 276, - "column": 16 + "line": 267, + "column": 13 }, "end": { - "line": 276, - "column": 17 + "line": 267, + "column": 14 } } }, @@ -73794,16 +73413,16 @@ "postfix": false, "binop": null }, - "start": 5826, - "end": 5827, + "start": 5491, + "end": 5492, "loc": { "start": { - "line": 276, - "column": 18 + "line": 267, + "column": 15 }, "end": { - "line": 276, - "column": 19 + "line": 267, + "column": 16 } } }, @@ -73822,15 +73441,15 @@ "updateContext": null }, "value": "if", - "start": 5831, - "end": 5833, + "start": 5495, + "end": 5497, "loc": { "start": { - "line": 278, + "line": 268, "column": 2 }, "end": { - "line": 278, + "line": 268, "column": 4 } } @@ -73847,15 +73466,15 @@ "postfix": false, "binop": null }, - "start": 5834, - "end": 5835, + "start": 5498, + "end": 5499, "loc": { "start": { - "line": 278, + "line": 268, "column": 5 }, "end": { - "line": 278, + "line": 268, "column": 6 } } @@ -73873,16 +73492,16 @@ "binop": null }, "value": "other", - "start": 5836, - "end": 5841, + "start": 5499, + "end": 5504, "loc": { "start": { - "line": 278, - "column": 7 + "line": 268, + "column": 6 }, "end": { - "line": 278, - "column": 12 + "line": 268, + "column": 11 } } }, @@ -73899,16 +73518,16 @@ "binop": null, "updateContext": null }, - "start": 5841, - "end": 5842, + "start": 5504, + "end": 5505, "loc": { "start": { - "line": 278, - "column": 12 + "line": 268, + "column": 11 }, "end": { - "line": 278, - "column": 13 + "line": 268, + "column": 12 } } }, @@ -73925,16 +73544,16 @@ "binop": null }, "value": "iszero", - "start": 5842, - "end": 5848, + "start": 5505, + "end": 5511, "loc": { "start": { - "line": 278, - "column": 13 + "line": 268, + "column": 12 }, "end": { - "line": 278, - "column": 19 + "line": 268, + "column": 18 } } }, @@ -73950,16 +73569,16 @@ "postfix": false, "binop": null }, - "start": 5848, - "end": 5849, + "start": 5511, + "end": 5512, "loc": { "start": { - "line": 278, - "column": 19 + "line": 268, + "column": 18 }, "end": { - "line": 278, - "column": 20 + "line": 268, + "column": 19 } } }, @@ -73975,16 +73594,16 @@ "postfix": false, "binop": null }, - "start": 5849, - "end": 5850, + "start": 5512, + "end": 5513, "loc": { "start": { - "line": 278, - "column": 20 + "line": 268, + "column": 19 }, "end": { - "line": 278, - "column": 21 + "line": 268, + "column": 20 } } }, @@ -74000,16 +73619,16 @@ "postfix": false, "binop": null }, - "start": 5851, - "end": 5852, + "start": 5513, + "end": 5514, "loc": { "start": { - "line": 278, - "column": 22 + "line": 268, + "column": 20 }, "end": { - "line": 278, - "column": 23 + "line": 268, + "column": 21 } } }, @@ -74028,16 +73647,16 @@ "updateContext": null }, "value": "throw", - "start": 5853, - "end": 5858, + "start": 5515, + "end": 5520, "loc": { "start": { - "line": 278, - "column": 24 + "line": 268, + "column": 22 }, "end": { - "line": 278, - "column": 29 + "line": 268, + "column": 27 } } }, @@ -74056,16 +73675,16 @@ "updateContext": null }, "value": "new", - "start": 5859, - "end": 5862, + "start": 5521, + "end": 5524, "loc": { "start": { - "line": 278, - "column": 30 + "line": 268, + "column": 28 }, "end": { - "line": 278, - "column": 33 + "line": 268, + "column": 31 } } }, @@ -74082,16 +73701,16 @@ "binop": null }, "value": "ZeroDivisionError", - "start": 5863, - "end": 5880, + "start": 5525, + "end": 5542, "loc": { "start": { - "line": 278, - "column": 34 + "line": 268, + "column": 32 }, "end": { - "line": 278, - "column": 51 + "line": 268, + "column": 49 } } }, @@ -74107,16 +73726,16 @@ "postfix": false, "binop": null }, - "start": 5880, - "end": 5881, + "start": 5542, + "end": 5543, "loc": { "start": { - "line": 278, - "column": 51 + "line": 268, + "column": 49 }, "end": { - "line": 278, - "column": 52 + "line": 268, + "column": 50 } } }, @@ -74134,16 +73753,16 @@ "updateContext": null }, "value": "Integer division by zero", - "start": 5882, - "end": 5908, + "start": 5543, + "end": 5569, "loc": { "start": { - "line": 278, - "column": 53 + "line": 268, + "column": 50 }, "end": { - "line": 278, - "column": 79 + "line": 268, + "column": 76 } } }, @@ -74159,16 +73778,16 @@ "postfix": false, "binop": null }, - "start": 5909, - "end": 5910, + "start": 5569, + "end": 5570, "loc": { "start": { - "line": 278, - "column": 80 + "line": 268, + "column": 76 }, "end": { - "line": 278, - "column": 81 + "line": 268, + "column": 77 } } }, @@ -74185,32 +73804,32 @@ "binop": null, "updateContext": null }, - "start": 5911, - "end": 5912, + "start": 5570, + "end": 5571, "loc": { "start": { - "line": 278, - "column": 82 + "line": 268, + "column": 77 }, "end": { - "line": 278, - "column": 83 + "line": 268, + "column": 78 } } }, { "type": "CommentLine", - "value": " optimize", - "start": 5913, - "end": 5924, + "value": " Optimize", + "start": 5572, + "end": 5583, "loc": { "start": { - "line": 278, - "column": 84 + "line": 268, + "column": 79 }, "end": { - "line": 278, - "column": 95 + "line": 268, + "column": 90 } } }, @@ -74229,15 +73848,15 @@ "updateContext": null }, "value": "const", - "start": 5928, - "end": 5933, + "start": 5587, + "end": 5592, "loc": { "start": { - "line": 280, + "line": 270, "column": 2 }, "end": { - "line": 280, + "line": 270, "column": 7 } } @@ -74255,15 +73874,15 @@ "binop": null }, "value": "quotient_is_negative", - "start": 5934, - "end": 5954, + "start": 5593, + "end": 5613, "loc": { "start": { - "line": 280, + "line": 270, "column": 8 }, "end": { - "line": 280, + "line": 270, "column": 28 } } @@ -74282,15 +73901,15 @@ "updateContext": null }, "value": "=", - "start": 5955, - "end": 5956, + "start": 5614, + "end": 5615, "loc": { "start": { - "line": 280, + "line": 270, "column": 29 }, "end": { - "line": 280, + "line": 270, "column": 30 } } @@ -74310,15 +73929,15 @@ "updateContext": null }, "value": "this", - "start": 5957, - "end": 5961, + "start": 5616, + "end": 5620, "loc": { "start": { - "line": 280, + "line": 270, "column": 31 }, "end": { - "line": 280, + "line": 270, "column": 35 } } @@ -74336,15 +73955,15 @@ "binop": null, "updateContext": null }, - "start": 5961, - "end": 5962, + "start": 5620, + "end": 5621, "loc": { "start": { - "line": 280, + "line": 270, "column": 35 }, "end": { - "line": 280, + "line": 270, "column": 36 } } @@ -74361,17 +73980,17 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 5962, - "end": 5973, + "value": "_is_negative", + "start": 5621, + "end": 5633, "loc": { "start": { - "line": 280, + "line": 270, "column": 36 }, "end": { - "line": 280, - "column": 47 + "line": 270, + "column": 48 } } }, @@ -74389,16 +74008,16 @@ "updateContext": null }, "value": "^", - "start": 5974, - "end": 5975, + "start": 5634, + "end": 5635, "loc": { "start": { - "line": 280, - "column": 48 + "line": 270, + "column": 49 }, "end": { - "line": 280, - "column": 49 + "line": 270, + "column": 50 } } }, @@ -74415,16 +74034,16 @@ "binop": null }, "value": "other", - "start": 5976, - "end": 5981, + "start": 5636, + "end": 5641, "loc": { "start": { - "line": 280, - "column": 50 + "line": 270, + "column": 51 }, "end": { - "line": 280, - "column": 55 + "line": 270, + "column": 56 } } }, @@ -74441,16 +74060,16 @@ "binop": null, "updateContext": null }, - "start": 5981, - "end": 5982, + "start": 5641, + "end": 5642, "loc": { "start": { - "line": 280, - "column": 55 + "line": 270, + "column": 56 }, "end": { - "line": 280, - "column": 56 + "line": 270, + "column": 57 } } }, @@ -74466,17 +74085,17 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 5982, - "end": 5993, + "value": "_is_negative", + "start": 5642, + "end": 5654, "loc": { "start": { - "line": 280, - "column": 56 + "line": 270, + "column": 57 }, "end": { - "line": 280, - "column": 67 + "line": 270, + "column": 69 } } }, @@ -74493,16 +74112,16 @@ "binop": null, "updateContext": null }, - "start": 5994, - "end": 5995, + "start": 5654, + "end": 5655, "loc": { "start": { - "line": 280, - "column": 68 + "line": 270, + "column": 69 }, "end": { - "line": 280, - "column": 69 + "line": 270, + "column": 70 } } }, @@ -74521,15 +74140,15 @@ "updateContext": null }, "value": "const", - "start": 5998, - "end": 6003, + "start": 5658, + "end": 5663, "loc": { "start": { - "line": 281, + "line": 271, "column": 2 }, "end": { - "line": 281, + "line": 271, "column": 7 } } @@ -74547,15 +74166,15 @@ "binop": null }, "value": "r", - "start": 6004, - "end": 6005, + "start": 5664, + "end": 5665, "loc": { "start": { - "line": 281, + "line": 271, "column": 8 }, "end": { - "line": 281, + "line": 271, "column": 9 } } @@ -74574,15 +74193,15 @@ "updateContext": null }, "value": "=", - "start": 6006, - "end": 6007, + "start": 5666, + "end": 5667, "loc": { "start": { - "line": 281, + "line": 271, "column": 10 }, "end": { - "line": 281, + "line": 271, "column": 11 } } @@ -74602,15 +74221,15 @@ "updateContext": null }, "value": "this", - "start": 6008, - "end": 6012, + "start": 5668, + "end": 5672, "loc": { "start": { - "line": 281, + "line": 271, "column": 12 }, "end": { - "line": 281, + "line": 271, "column": 16 } } @@ -74628,15 +74247,15 @@ "binop": null, "updateContext": null }, - "start": 6012, - "end": 6013, + "start": 5672, + "end": 5673, "loc": { "start": { - "line": 281, + "line": 271, "column": 16 }, "end": { - "line": 281, + "line": 271, "column": 17 } } @@ -74653,17 +74272,17 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 6013, - "end": 6017, + "value": "_base", + "start": 5673, + "end": 5678, "loc": { "start": { - "line": 281, + "line": 271, "column": 17 }, "end": { - "line": 281, - "column": 21 + "line": 271, + "column": 22 } } }, @@ -74680,15 +74299,15 @@ "binop": null, "updateContext": null }, - "start": 6018, - "end": 6019, + "start": 5678, + "end": 5679, "loc": { "start": { - "line": 281, + "line": 271, "column": 22 }, "end": { - "line": 281, + "line": 271, "column": 23 } } @@ -74696,15 +74315,15 @@ { "type": "CommentLine", "value": " The underlying algorithm does not allow leading 0's so we trim them.", - "start": 6023, - "end": 6094, + "start": 5683, + "end": 5754, "loc": { "start": { - "line": 283, + "line": 273, "column": 2 }, "end": { - "line": 283, + "line": 273, "column": 73 } } @@ -74724,15 +74343,15 @@ "updateContext": null }, "value": "const", - "start": 6097, - "end": 6102, + "start": 5757, + "end": 5762, "loc": { "start": { - "line": 284, + "line": 274, "column": 2 }, "end": { - "line": 284, + "line": 274, "column": 7 } } @@ -74750,15 +74369,15 @@ "binop": null }, "value": "lj", - "start": 6103, - "end": 6105, + "start": 5763, + "end": 5765, "loc": { "start": { - "line": 284, + "line": 274, "column": 8 }, "end": { - "line": 284, + "line": 274, "column": 10 } } @@ -74777,15 +74396,15 @@ "updateContext": null }, "value": "=", - "start": 6106, - "end": 6107, + "start": 5766, + "end": 5767, "loc": { "start": { - "line": 284, + "line": 274, "column": 11 }, "end": { - "line": 284, + "line": 274, "column": 12 } } @@ -74805,15 +74424,15 @@ "updateContext": null }, "value": "this", - "start": 6108, - "end": 6112, + "start": 5768, + "end": 5772, "loc": { "start": { - "line": 284, + "line": 274, "column": 13 }, "end": { - "line": 284, + "line": 274, "column": 17 } } @@ -74831,15 +74450,15 @@ "binop": null, "updateContext": null }, - "start": 6112, - "end": 6113, + "start": 5772, + "end": 5773, "loc": { "start": { - "line": 284, + "line": 274, "column": 17 }, "end": { - "line": 284, + "line": 274, "column": 18 } } @@ -74856,17 +74475,17 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 6113, - "end": 6118, + "value": "_limbs", + "start": 5773, + "end": 5779, "loc": { "start": { - "line": 284, + "line": 274, "column": 18 }, "end": { - "line": 284, - "column": 23 + "line": 274, + "column": 24 } } }, @@ -74883,16 +74502,16 @@ "binop": null, "updateContext": null }, - "start": 6118, - "end": 6119, + "start": 5779, + "end": 5780, "loc": { "start": { - "line": 284, - "column": 23 + "line": 274, + "column": 24 }, "end": { - "line": 284, - "column": 24 + "line": 274, + "column": 25 } } }, @@ -74909,16 +74528,16 @@ "binop": null }, "value": "length", - "start": 6119, - "end": 6125, + "start": 5780, + "end": 5786, "loc": { "start": { - "line": 284, - "column": 24 + "line": 274, + "column": 25 }, "end": { - "line": 284, - "column": 30 + "line": 274, + "column": 31 } } }, @@ -74935,15 +74554,15 @@ "binop": null, "updateContext": null }, - "start": 6126, - "end": 6127, + "start": 5786, + "end": 5787, "loc": { "start": { - "line": 284, + "line": 274, "column": 31 }, "end": { - "line": 284, + "line": 274, "column": 32 } } @@ -74963,15 +74582,15 @@ "updateContext": null }, "value": "const", - "start": 6130, - "end": 6135, + "start": 5790, + "end": 5795, "loc": { "start": { - "line": 285, + "line": 275, "column": 2 }, "end": { - "line": 285, + "line": 275, "column": 7 } } @@ -74989,15 +74608,15 @@ "binop": null }, "value": "li", - "start": 6136, - "end": 6138, + "start": 5796, + "end": 5798, "loc": { "start": { - "line": 285, + "line": 275, "column": 8 }, "end": { - "line": 285, + "line": 275, "column": 10 } } @@ -75016,15 +74635,15 @@ "updateContext": null }, "value": "=", - "start": 6139, - "end": 6140, + "start": 5799, + "end": 5800, "loc": { "start": { - "line": 285, + "line": 275, "column": 11 }, "end": { - "line": 285, + "line": 275, "column": 12 } } @@ -75042,16 +74661,16 @@ "binop": null }, "value": "_trim_positive", - "start": 6142, - "end": 6156, + "start": 5801, + "end": 5815, "loc": { "start": { - "line": 285, - "column": 14 + "line": 275, + "column": 13 }, "end": { - "line": 285, - "column": 28 + "line": 275, + "column": 27 } } }, @@ -75067,16 +74686,16 @@ "postfix": false, "binop": null }, - "start": 6156, - "end": 6157, + "start": 5815, + "end": 5816, "loc": { "start": { - "line": 285, - "column": 28 + "line": 275, + "column": 27 }, "end": { - "line": 285, - "column": 29 + "line": 275, + "column": 28 } } }, @@ -75095,16 +74714,16 @@ "updateContext": null }, "value": "this", - "start": 6158, - "end": 6162, + "start": 5816, + "end": 5820, "loc": { "start": { - "line": 285, - "column": 30 + "line": 275, + "column": 28 }, "end": { - "line": 285, - "column": 34 + "line": 275, + "column": 32 } } }, @@ -75121,16 +74740,16 @@ "binop": null, "updateContext": null }, - "start": 6162, - "end": 6163, + "start": 5820, + "end": 5821, "loc": { "start": { - "line": 285, - "column": 34 + "line": 275, + "column": 32 }, "end": { - "line": 285, - "column": 35 + "line": 275, + "column": 33 } } }, @@ -75146,17 +74765,17 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 6163, - "end": 6168, + "value": "_limbs", + "start": 5821, + "end": 5827, "loc": { "start": { - "line": 285, - "column": 35 + "line": 275, + "column": 33 }, "end": { - "line": 285, - "column": 40 + "line": 275, + "column": 39 } } }, @@ -75173,16 +74792,16 @@ "binop": null, "updateContext": null }, - "start": 6169, - "end": 6170, + "start": 5827, + "end": 5828, "loc": { "start": { - "line": 285, - "column": 41 + "line": 275, + "column": 39 }, "end": { - "line": 285, - "column": 42 + "line": 275, + "column": 40 } } }, @@ -75200,16 +74819,16 @@ "updateContext": null }, "value": 0, - "start": 6171, - "end": 6172, + "start": 5829, + "end": 5830, "loc": { "start": { - "line": 285, - "column": 43 + "line": 275, + "column": 41 }, "end": { - "line": 285, - "column": 44 + "line": 275, + "column": 42 } } }, @@ -75226,16 +74845,16 @@ "binop": null, "updateContext": null }, - "start": 6173, - "end": 6174, + "start": 5830, + "end": 5831, "loc": { "start": { - "line": 285, - "column": 45 + "line": 275, + "column": 42 }, "end": { - "line": 285, - "column": 46 + "line": 275, + "column": 43 } } }, @@ -75252,16 +74871,16 @@ "binop": null }, "value": "lj", - "start": 6175, - "end": 6177, + "start": 5832, + "end": 5834, "loc": { "start": { - "line": 285, - "column": 47 + "line": 275, + "column": 44 }, "end": { - "line": 285, - "column": 49 + "line": 275, + "column": 46 } } }, @@ -75277,16 +74896,16 @@ "postfix": false, "binop": null }, - "start": 6178, - "end": 6179, + "start": 5834, + "end": 5835, "loc": { "start": { - "line": 285, - "column": 50 + "line": 275, + "column": 46 }, "end": { - "line": 285, - "column": 51 + "line": 275, + "column": 47 } } }, @@ -75303,31 +74922,31 @@ "binop": null, "updateContext": null }, - "start": 6180, - "end": 6181, + "start": 5835, + "end": 5836, "loc": { "start": { - "line": 285, - "column": 52 + "line": 275, + "column": 47 }, "end": { - "line": 285, - "column": 53 + "line": 275, + "column": 48 } } }, { "type": "CommentLine", "value": " Dividend is 0", - "start": 6185, - "end": 6201, + "start": 5840, + "end": 5856, "loc": { "start": { - "line": 287, + "line": 277, "column": 2 }, "end": { - "line": 287, + "line": 277, "column": 18 } } @@ -75347,15 +74966,15 @@ "updateContext": null }, "value": "if", - "start": 6204, - "end": 6206, + "start": 5859, + "end": 5861, "loc": { "start": { - "line": 288, + "line": 278, "column": 2 }, "end": { - "line": 288, + "line": 278, "column": 4 } } @@ -75372,15 +74991,15 @@ "postfix": false, "binop": null }, - "start": 6207, - "end": 6208, + "start": 5862, + "end": 5863, "loc": { "start": { - "line": 288, + "line": 278, "column": 5 }, "end": { - "line": 288, + "line": 278, "column": 6 } } @@ -75398,16 +75017,16 @@ "binop": null }, "value": "li", - "start": 6209, - "end": 6211, + "start": 5863, + "end": 5865, "loc": { "start": { - "line": 288, - "column": 7 + "line": 278, + "column": 6 }, "end": { - "line": 288, - "column": 9 + "line": 278, + "column": 8 } } }, @@ -75425,16 +75044,16 @@ "updateContext": null }, "value": ">=", - "start": 6212, - "end": 6214, + "start": 5866, + "end": 5868, "loc": { "start": { - "line": 288, - "column": 10 + "line": 278, + "column": 9 }, "end": { - "line": 288, - "column": 12 + "line": 278, + "column": 11 } } }, @@ -75451,16 +75070,16 @@ "binop": null }, "value": "lj", - "start": 6215, - "end": 6217, + "start": 5869, + "end": 5871, "loc": { "start": { - "line": 288, - "column": 13 + "line": 278, + "column": 12 }, "end": { - "line": 288, - "column": 15 + "line": 278, + "column": 14 } } }, @@ -75476,16 +75095,16 @@ "postfix": false, "binop": null }, - "start": 6218, - "end": 6219, + "start": 5871, + "end": 5872, "loc": { "start": { - "line": 288, - "column": 16 + "line": 278, + "column": 14 }, "end": { - "line": 288, - "column": 17 + "line": 278, + "column": 15 } } }, @@ -75504,16 +75123,16 @@ "updateContext": null }, "value": "return", - "start": 6220, - "end": 6226, + "start": 5876, + "end": 5882, "loc": { "start": { - "line": 288, - "column": 18 + "line": 279, + "column": 3 }, "end": { - "line": 288, - "column": 24 + "line": 279, + "column": 9 } } }, @@ -75530,16 +75149,16 @@ "binop": null, "updateContext": null }, - "start": 6227, - "end": 6228, + "start": 5883, + "end": 5884, "loc": { "start": { - "line": 288, - "column": 25 + "line": 279, + "column": 10 }, "end": { - "line": 288, - "column": 26 + "line": 279, + "column": 11 } } }, @@ -75558,16 +75177,16 @@ "updateContext": null }, "value": "new", - "start": 6229, - "end": 6232, + "start": 5884, + "end": 5887, "loc": { "start": { - "line": 288, - "column": 27 + "line": 279, + "column": 11 }, "end": { - "line": 288, - "column": 30 + "line": 279, + "column": 14 } } }, @@ -75584,16 +75203,16 @@ "binop": null }, "value": "Integer", - "start": 6233, - "end": 6240, + "start": 5888, + "end": 5895, "loc": { "start": { - "line": 288, - "column": 31 + "line": 279, + "column": 15 }, "end": { - "line": 288, - "column": 38 + "line": 279, + "column": 22 } } }, @@ -75609,16 +75228,16 @@ "postfix": false, "binop": null }, - "start": 6240, - "end": 6241, + "start": 5895, + "end": 5896, "loc": { "start": { - "line": 288, - "column": 38 + "line": 279, + "column": 22 }, "end": { - "line": 288, - "column": 39 + "line": 279, + "column": 23 } } }, @@ -75637,16 +75256,16 @@ "updateContext": null }, "value": "this", - "start": 6242, - "end": 6246, + "start": 5896, + "end": 5900, "loc": { "start": { - "line": 288, - "column": 40 + "line": 279, + "column": 23 }, "end": { - "line": 288, - "column": 44 + "line": 279, + "column": 27 } } }, @@ -75663,16 +75282,16 @@ "binop": null, "updateContext": null }, - "start": 6246, - "end": 6247, + "start": 5900, + "end": 5901, "loc": { "start": { - "line": 288, - "column": 44 + "line": 279, + "column": 27 }, "end": { - "line": 288, - "column": 45 + "line": 279, + "column": 28 } } }, @@ -75688,17 +75307,17 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 6247, - "end": 6251, + "value": "_base", + "start": 5901, + "end": 5906, "loc": { "start": { - "line": 288, - "column": 45 + "line": 279, + "column": 28 }, "end": { - "line": 288, - "column": 49 + "line": 279, + "column": 33 } } }, @@ -75715,16 +75334,16 @@ "binop": null, "updateContext": null }, - "start": 6252, - "end": 6253, + "start": 5906, + "end": 5907, "loc": { "start": { - "line": 288, - "column": 50 + "line": 279, + "column": 33 }, "end": { - "line": 288, - "column": 51 + "line": 279, + "column": 34 } } }, @@ -75742,16 +75361,16 @@ "updateContext": null }, "value": 0, - "start": 6254, - "end": 6255, + "start": 5908, + "end": 5909, "loc": { "start": { - "line": 288, - "column": 52 + "line": 279, + "column": 35 }, "end": { - "line": 288, - "column": 53 + "line": 279, + "column": 36 } } }, @@ -75768,16 +75387,16 @@ "binop": null, "updateContext": null }, - "start": 6256, - "end": 6257, + "start": 5909, + "end": 5910, "loc": { "start": { - "line": 288, - "column": 54 + "line": 279, + "column": 36 }, "end": { - "line": 288, - "column": 55 + "line": 279, + "column": 37 } } }, @@ -75794,16 +75413,16 @@ "binop": null, "updateContext": null }, - "start": 6258, - "end": 6259, + "start": 5911, + "end": 5912, "loc": { "start": { - "line": 288, - "column": 56 + "line": 279, + "column": 38 }, "end": { - "line": 288, - "column": 57 + "line": 279, + "column": 39 } } }, @@ -75821,16 +75440,16 @@ "updateContext": null }, "value": 0, - "start": 6260, - "end": 6261, + "start": 5912, + "end": 5913, "loc": { "start": { - "line": 288, - "column": 58 + "line": 279, + "column": 39 }, "end": { - "line": 288, - "column": 59 + "line": 279, + "column": 40 } } }, @@ -75847,16 +75466,16 @@ "binop": null, "updateContext": null }, - "start": 6262, - "end": 6263, + "start": 5913, + "end": 5914, "loc": { "start": { - "line": 288, - "column": 60 + "line": 279, + "column": 40 }, "end": { - "line": 288, - "column": 61 + "line": 279, + "column": 41 } } }, @@ -75872,16 +75491,16 @@ "postfix": false, "binop": null }, - "start": 6264, - "end": 6265, + "start": 5914, + "end": 5915, "loc": { "start": { - "line": 288, - "column": 62 + "line": 279, + "column": 41 }, "end": { - "line": 288, - "column": 63 + "line": 279, + "column": 42 } } }, @@ -75898,16 +75517,16 @@ "binop": null, "updateContext": null }, - "start": 6266, - "end": 6267, + "start": 5915, + "end": 5916, "loc": { "start": { - "line": 288, - "column": 64 + "line": 279, + "column": 42 }, "end": { - "line": 288, - "column": 65 + "line": 279, + "column": 43 } } }, @@ -75926,16 +75545,16 @@ "updateContext": null }, "value": "new", - "start": 6268, - "end": 6271, + "start": 5917, + "end": 5920, "loc": { "start": { - "line": 288, - "column": 66 + "line": 279, + "column": 44 }, "end": { - "line": 288, - "column": 69 + "line": 279, + "column": 47 } } }, @@ -75952,16 +75571,16 @@ "binop": null }, "value": "Integer", - "start": 6272, - "end": 6279, + "start": 5921, + "end": 5928, "loc": { "start": { - "line": 288, - "column": 70 + "line": 279, + "column": 48 }, "end": { - "line": 288, - "column": 77 + "line": 279, + "column": 55 } } }, @@ -75977,16 +75596,16 @@ "postfix": false, "binop": null }, - "start": 6279, - "end": 6280, + "start": 5928, + "end": 5929, "loc": { "start": { - "line": 288, - "column": 77 + "line": 279, + "column": 55 }, "end": { - "line": 288, - "column": 78 + "line": 279, + "column": 56 } } }, @@ -76005,16 +75624,16 @@ "updateContext": null }, "value": "this", - "start": 6281, - "end": 6285, + "start": 5929, + "end": 5933, "loc": { "start": { - "line": 288, - "column": 79 + "line": 279, + "column": 56 }, "end": { - "line": 288, - "column": 83 + "line": 279, + "column": 60 } } }, @@ -76031,16 +75650,16 @@ "binop": null, "updateContext": null }, - "start": 6285, - "end": 6286, + "start": 5933, + "end": 5934, "loc": { "start": { - "line": 288, - "column": 83 + "line": 279, + "column": 60 }, "end": { - "line": 288, - "column": 84 + "line": 279, + "column": 61 } } }, @@ -76056,17 +75675,17 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 6286, - "end": 6290, + "value": "_base", + "start": 5934, + "end": 5939, "loc": { "start": { - "line": 288, - "column": 84 + "line": 279, + "column": 61 }, "end": { - "line": 288, - "column": 88 + "line": 279, + "column": 66 } } }, @@ -76083,16 +75702,16 @@ "binop": null, "updateContext": null }, - "start": 6291, - "end": 6292, + "start": 5939, + "end": 5940, "loc": { "start": { - "line": 288, - "column": 89 + "line": 279, + "column": 66 }, "end": { - "line": 288, - "column": 90 + "line": 279, + "column": 67 } } }, @@ -76110,16 +75729,16 @@ "updateContext": null }, "value": 0, - "start": 6293, - "end": 6294, + "start": 5941, + "end": 5942, "loc": { "start": { - "line": 288, - "column": 91 + "line": 279, + "column": 68 }, "end": { - "line": 288, - "column": 92 + "line": 279, + "column": 69 } } }, @@ -76136,16 +75755,16 @@ "binop": null, "updateContext": null }, - "start": 6295, - "end": 6296, + "start": 5942, + "end": 5943, "loc": { "start": { - "line": 288, - "column": 93 + "line": 279, + "column": 69 }, "end": { - "line": 288, - "column": 94 + "line": 279, + "column": 70 } } }, @@ -76162,16 +75781,16 @@ "binop": null, "updateContext": null }, - "start": 6297, - "end": 6298, + "start": 5944, + "end": 5945, "loc": { "start": { - "line": 288, - "column": 95 + "line": 279, + "column": 71 }, "end": { - "line": 288, - "column": 96 + "line": 279, + "column": 72 } } }, @@ -76189,16 +75808,16 @@ "updateContext": null }, "value": 0, - "start": 6299, - "end": 6300, + "start": 5945, + "end": 5946, "loc": { "start": { - "line": 288, - "column": 97 + "line": 279, + "column": 72 }, "end": { - "line": 288, - "column": 98 + "line": 279, + "column": 73 } } }, @@ -76215,16 +75834,16 @@ "binop": null, "updateContext": null }, - "start": 6301, - "end": 6302, + "start": 5946, + "end": 5947, "loc": { "start": { - "line": 288, - "column": 99 + "line": 279, + "column": 73 }, "end": { - "line": 288, - "column": 100 + "line": 279, + "column": 74 } } }, @@ -76240,16 +75859,16 @@ "postfix": false, "binop": null }, - "start": 6303, - "end": 6304, + "start": 5947, + "end": 5948, "loc": { "start": { - "line": 288, - "column": 101 + "line": 279, + "column": 74 }, "end": { - "line": 288, - "column": 102 + "line": 279, + "column": 75 } } }, @@ -76266,16 +75885,16 @@ "binop": null, "updateContext": null }, - "start": 6305, - "end": 6306, + "start": 5948, + "end": 5949, "loc": { "start": { - "line": 288, - "column": 103 + "line": 279, + "column": 75 }, "end": { - "line": 288, - "column": 104 + "line": 279, + "column": 76 } } }, @@ -76292,31 +75911,31 @@ "binop": null, "updateContext": null }, - "start": 6307, - "end": 6308, + "start": 5949, + "end": 5950, "loc": { "start": { - "line": 288, - "column": 105 + "line": 279, + "column": 76 }, "end": { - "line": 288, - "column": 106 + "line": 279, + "column": 77 } } }, { "type": "CommentLine", "value": " Dividend (& Remainder)", - "start": 6312, - "end": 6337, + "start": 5954, + "end": 5979, "loc": { "start": { - "line": 290, + "line": 281, "column": 2 }, "end": { - "line": 290, + "line": 281, "column": 27 } } @@ -76336,15 +75955,15 @@ "updateContext": null }, "value": "const", - "start": 6340, - "end": 6345, + "start": 5982, + "end": 5987, "loc": { "start": { - "line": 291, + "line": 282, "column": 2 }, "end": { - "line": 291, + "line": 282, "column": 7 } } @@ -76362,15 +75981,15 @@ "binop": null }, "value": "D", - "start": 6346, - "end": 6347, + "start": 5988, + "end": 5989, "loc": { "start": { - "line": 291, + "line": 282, "column": 8 }, "end": { - "line": 291, + "line": 282, "column": 9 } } @@ -76389,15 +76008,15 @@ "updateContext": null }, "value": "=", - "start": 6348, - "end": 6349, + "start": 5990, + "end": 5991, "loc": { "start": { - "line": 291, + "line": 282, "column": 10 }, "end": { - "line": 291, + "line": 282, "column": 11 } } @@ -76415,15 +76034,15 @@ "binop": null }, "value": "_alloc", - "start": 6350, - "end": 6356, + "start": 5992, + "end": 5998, "loc": { "start": { - "line": 291, + "line": 282, "column": 12 }, "end": { - "line": 291, + "line": 282, "column": 18 } } @@ -76440,15 +76059,15 @@ "postfix": false, "binop": null }, - "start": 6356, - "end": 6357, + "start": 5998, + "end": 5999, "loc": { "start": { - "line": 291, + "line": 282, "column": 18 }, "end": { - "line": 291, + "line": 282, "column": 19 } } @@ -76466,16 +76085,16 @@ "binop": null }, "value": "lj", - "start": 6358, - "end": 6360, + "start": 5999, + "end": 6001, "loc": { "start": { - "line": 291, - "column": 20 + "line": 282, + "column": 19 }, "end": { - "line": 291, - "column": 22 + "line": 282, + "column": 21 } } }, @@ -76493,16 +76112,16 @@ "updateContext": null }, "value": "-", - "start": 6361, - "end": 6362, + "start": 6002, + "end": 6003, "loc": { "start": { - "line": 291, - "column": 23 + "line": 282, + "column": 22 }, "end": { - "line": 291, - "column": 24 + "line": 282, + "column": 23 } } }, @@ -76519,16 +76138,16 @@ "binop": null }, "value": "li", - "start": 6363, - "end": 6365, + "start": 6004, + "end": 6006, "loc": { "start": { - "line": 291, - "column": 25 + "line": 282, + "column": 24 }, "end": { - "line": 291, - "column": 27 + "line": 282, + "column": 26 } } }, @@ -76544,16 +76163,16 @@ "postfix": false, "binop": null }, - "start": 6366, - "end": 6367, + "start": 6006, + "end": 6007, "loc": { "start": { - "line": 291, - "column": 28 + "line": 282, + "column": 26 }, "end": { - "line": 291, - "column": 29 + "line": 282, + "column": 27 } } }, @@ -76570,16 +76189,16 @@ "binop": null, "updateContext": null }, - "start": 6368, - "end": 6369, + "start": 6007, + "end": 6008, "loc": { "start": { - "line": 291, - "column": 30 + "line": 282, + "column": 27 }, "end": { - "line": 291, - "column": 31 + "line": 282, + "column": 28 } } }, @@ -76596,15 +76215,15 @@ "binop": null }, "value": "_copy", - "start": 6372, - "end": 6377, + "start": 6011, + "end": 6016, "loc": { "start": { - "line": 292, + "line": 283, "column": 2 }, "end": { - "line": 292, + "line": 283, "column": 7 } } @@ -76621,15 +76240,15 @@ "postfix": false, "binop": null }, - "start": 6377, - "end": 6378, + "start": 6016, + "end": 6017, "loc": { "start": { - "line": 292, + "line": 283, "column": 7 }, "end": { - "line": 292, + "line": 283, "column": 8 } } @@ -76649,16 +76268,16 @@ "updateContext": null }, "value": "this", - "start": 6379, - "end": 6383, + "start": 6017, + "end": 6021, "loc": { "start": { - "line": 292, - "column": 9 + "line": 283, + "column": 8 }, "end": { - "line": 292, - "column": 13 + "line": 283, + "column": 12 } } }, @@ -76675,16 +76294,16 @@ "binop": null, "updateContext": null }, - "start": 6383, - "end": 6384, + "start": 6021, + "end": 6022, "loc": { "start": { - "line": 292, - "column": 13 + "line": 283, + "column": 12 }, "end": { - "line": 292, - "column": 14 + "line": 283, + "column": 13 } } }, @@ -76700,16 +76319,16 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 6384, - "end": 6389, + "value": "_limbs", + "start": 6022, + "end": 6028, "loc": { "start": { - "line": 292, - "column": 14 + "line": 283, + "column": 13 }, "end": { - "line": 292, + "line": 283, "column": 19 } } @@ -76727,16 +76346,16 @@ "binop": null, "updateContext": null }, - "start": 6390, - "end": 6391, + "start": 6028, + "end": 6029, "loc": { "start": { - "line": 292, - "column": 20 + "line": 283, + "column": 19 }, "end": { - "line": 292, - "column": 21 + "line": 283, + "column": 20 } } }, @@ -76753,16 +76372,16 @@ "binop": null }, "value": "li", - "start": 6392, - "end": 6394, + "start": 6030, + "end": 6032, "loc": { "start": { - "line": 292, - "column": 22 + "line": 283, + "column": 21 }, "end": { - "line": 292, - "column": 24 + "line": 283, + "column": 23 } } }, @@ -76779,16 +76398,16 @@ "binop": null, "updateContext": null }, - "start": 6395, - "end": 6396, + "start": 6032, + "end": 6033, "loc": { "start": { - "line": 292, - "column": 25 + "line": 283, + "column": 23 }, "end": { - "line": 292, - "column": 26 + "line": 283, + "column": 24 } } }, @@ -76805,16 +76424,16 @@ "binop": null }, "value": "lj", - "start": 6397, - "end": 6399, + "start": 6034, + "end": 6036, "loc": { "start": { - "line": 292, - "column": 27 + "line": 283, + "column": 25 }, "end": { - "line": 292, - "column": 29 + "line": 283, + "column": 27 } } }, @@ -76831,16 +76450,16 @@ "binop": null, "updateContext": null }, - "start": 6400, - "end": 6401, + "start": 6036, + "end": 6037, "loc": { "start": { - "line": 292, - "column": 30 + "line": 283, + "column": 27 }, "end": { - "line": 292, - "column": 31 + "line": 283, + "column": 28 } } }, @@ -76857,16 +76476,16 @@ "binop": null }, "value": "D", - "start": 6402, - "end": 6403, + "start": 6038, + "end": 6039, "loc": { "start": { - "line": 292, - "column": 32 + "line": 283, + "column": 29 }, "end": { - "line": 292, - "column": 33 + "line": 283, + "column": 30 } } }, @@ -76883,16 +76502,16 @@ "binop": null, "updateContext": null }, - "start": 6404, - "end": 6405, + "start": 6039, + "end": 6040, "loc": { "start": { - "line": 292, - "column": 34 + "line": 283, + "column": 30 }, "end": { - "line": 292, - "column": 35 + "line": 283, + "column": 31 } } }, @@ -76910,16 +76529,16 @@ "updateContext": null }, "value": 0, - "start": 6406, - "end": 6407, + "start": 6041, + "end": 6042, "loc": { "start": { - "line": 292, - "column": 36 + "line": 283, + "column": 32 }, "end": { - "line": 292, - "column": 37 + "line": 283, + "column": 33 } } }, @@ -76935,16 +76554,16 @@ "postfix": false, "binop": null }, - "start": 6408, - "end": 6409, + "start": 6042, + "end": 6043, "loc": { "start": { - "line": 292, - "column": 38 + "line": 283, + "column": 33 }, "end": { - "line": 292, - "column": 39 + "line": 283, + "column": 34 } } }, @@ -76961,31 +76580,31 @@ "binop": null, "updateContext": null }, - "start": 6410, - "end": 6411, + "start": 6043, + "end": 6044, "loc": { "start": { - "line": 292, - "column": 40 + "line": 283, + "column": 34 }, "end": { - "line": 292, - "column": 41 + "line": 283, + "column": 35 } } }, { "type": "CommentLine", "value": " Divisor", - "start": 6415, - "end": 6425, + "start": 6048, + "end": 6058, "loc": { "start": { - "line": 294, + "line": 285, "column": 2 }, "end": { - "line": 294, + "line": 285, "column": 12 } } @@ -77005,15 +76624,15 @@ "updateContext": null }, "value": "const", - "start": 6428, - "end": 6433, + "start": 6061, + "end": 6066, "loc": { "start": { - "line": 295, + "line": 286, "column": 2 }, "end": { - "line": 295, + "line": 286, "column": 7 } } @@ -77031,15 +76650,15 @@ "binop": null }, "value": "d", - "start": 6434, - "end": 6435, + "start": 6067, + "end": 6068, "loc": { "start": { - "line": 295, + "line": 286, "column": 8 }, "end": { - "line": 295, + "line": 286, "column": 9 } } @@ -77058,15 +76677,15 @@ "updateContext": null }, "value": "=", - "start": 6436, - "end": 6437, + "start": 6069, + "end": 6070, "loc": { "start": { - "line": 295, + "line": 286, "column": 10 }, "end": { - "line": 295, + "line": 286, "column": 11 } } @@ -77084,15 +76703,15 @@ "binop": null }, "value": "other", - "start": 6438, - "end": 6443, + "start": 6071, + "end": 6076, "loc": { "start": { - "line": 295, + "line": 286, "column": 12 }, "end": { - "line": 295, + "line": 286, "column": 17 } } @@ -77110,15 +76729,15 @@ "binop": null, "updateContext": null }, - "start": 6443, - "end": 6444, + "start": 6076, + "end": 6077, "loc": { "start": { - "line": 295, + "line": 286, "column": 17 }, "end": { - "line": 295, + "line": 286, "column": 18 } } @@ -77136,15 +76755,15 @@ "binop": null }, "value": "_limbs_in_base", - "start": 6444, - "end": 6458, + "start": 6077, + "end": 6091, "loc": { "start": { - "line": 295, + "line": 286, "column": 18 }, "end": { - "line": 295, + "line": 286, "column": 32 } } @@ -77161,15 +76780,15 @@ "postfix": false, "binop": null }, - "start": 6458, - "end": 6459, + "start": 6091, + "end": 6092, "loc": { "start": { - "line": 295, + "line": 286, "column": 32 }, "end": { - "line": 295, + "line": 286, "column": 33 } } @@ -77187,16 +76806,16 @@ "binop": null }, "value": "r", - "start": 6460, - "end": 6461, + "start": 6092, + "end": 6093, "loc": { "start": { - "line": 295, - "column": 34 + "line": 286, + "column": 33 }, "end": { - "line": 295, - "column": 35 + "line": 286, + "column": 34 } } }, @@ -77212,16 +76831,16 @@ "postfix": false, "binop": null }, - "start": 6462, - "end": 6463, + "start": 6093, + "end": 6094, "loc": { "start": { - "line": 295, - "column": 36 + "line": 286, + "column": 34 }, "end": { - "line": 295, - "column": 37 + "line": 286, + "column": 35 } } }, @@ -77238,16 +76857,16 @@ "binop": null, "updateContext": null }, - "start": 6464, - "end": 6465, + "start": 6094, + "end": 6095, "loc": { "start": { - "line": 295, - "column": 38 + "line": 286, + "column": 35 }, "end": { - "line": 295, - "column": 39 + "line": 286, + "column": 36 } } }, @@ -77266,15 +76885,15 @@ "updateContext": null }, "value": "const", - "start": 6468, - "end": 6473, + "start": 6098, + "end": 6103, "loc": { "start": { - "line": 296, + "line": 287, "column": 2 }, "end": { - "line": 296, + "line": 287, "column": 7 } } @@ -77292,15 +76911,15 @@ "binop": null }, "value": "dj", - "start": 6474, - "end": 6476, + "start": 6104, + "end": 6106, "loc": { "start": { - "line": 296, + "line": 287, "column": 8 }, "end": { - "line": 296, + "line": 287, "column": 10 } } @@ -77319,15 +76938,15 @@ "updateContext": null }, "value": "=", - "start": 6477, - "end": 6478, + "start": 6107, + "end": 6108, "loc": { "start": { - "line": 296, + "line": 287, "column": 11 }, "end": { - "line": 296, + "line": 287, "column": 12 } } @@ -77345,15 +76964,15 @@ "binop": null }, "value": "d", - "start": 6479, - "end": 6480, + "start": 6109, + "end": 6110, "loc": { "start": { - "line": 296, + "line": 287, "column": 13 }, "end": { - "line": 296, + "line": 287, "column": 14 } } @@ -77371,15 +76990,15 @@ "binop": null, "updateContext": null }, - "start": 6480, - "end": 6481, + "start": 6110, + "end": 6111, "loc": { "start": { - "line": 296, + "line": 287, "column": 14 }, "end": { - "line": 296, + "line": 287, "column": 15 } } @@ -77397,15 +77016,15 @@ "binop": null }, "value": "length", - "start": 6481, - "end": 6487, + "start": 6111, + "end": 6117, "loc": { "start": { - "line": 296, + "line": 287, "column": 15 }, "end": { - "line": 296, + "line": 287, "column": 21 } } @@ -77423,16 +77042,16 @@ "binop": null, "updateContext": null }, - "start": 6488, - "end": 6489, + "start": 6117, + "end": 6118, "loc": { "start": { - "line": 296, - "column": 22 + "line": 287, + "column": 21 }, "end": { - "line": 296, - "column": 23 + "line": 287, + "column": 22 } } }, @@ -77451,15 +77070,15 @@ "updateContext": null }, "value": "const", - "start": 6492, - "end": 6497, + "start": 6121, + "end": 6126, "loc": { "start": { - "line": 297, + "line": 288, "column": 2 }, "end": { - "line": 297, + "line": 288, "column": 7 } } @@ -77477,15 +77096,15 @@ "binop": null }, "value": "di", - "start": 6498, - "end": 6500, + "start": 6127, + "end": 6129, "loc": { "start": { - "line": 297, + "line": 288, "column": 8 }, "end": { - "line": 297, + "line": 288, "column": 10 } } @@ -77504,15 +77123,15 @@ "updateContext": null }, "value": "=", - "start": 6501, - "end": 6502, + "start": 6130, + "end": 6131, "loc": { "start": { - "line": 297, + "line": 288, "column": 11 }, "end": { - "line": 297, + "line": 288, "column": 12 } } @@ -77530,15 +77149,15 @@ "binop": null }, "value": "_trim_positive", - "start": 6503, - "end": 6517, + "start": 6132, + "end": 6146, "loc": { "start": { - "line": 297, + "line": 288, "column": 13 }, "end": { - "line": 297, + "line": 288, "column": 27 } } @@ -77555,15 +77174,15 @@ "postfix": false, "binop": null }, - "start": 6517, - "end": 6518, + "start": 6146, + "end": 6147, "loc": { "start": { - "line": 297, + "line": 288, "column": 27 }, "end": { - "line": 297, + "line": 288, "column": 28 } } @@ -77581,16 +77200,16 @@ "binop": null }, "value": "d", - "start": 6519, - "end": 6520, + "start": 6147, + "end": 6148, "loc": { "start": { - "line": 297, - "column": 29 + "line": 288, + "column": 28 }, "end": { - "line": 297, - "column": 30 + "line": 288, + "column": 29 } } }, @@ -77607,16 +77226,16 @@ "binop": null, "updateContext": null }, - "start": 6521, - "end": 6522, + "start": 6148, + "end": 6149, "loc": { "start": { - "line": 297, - "column": 31 + "line": 288, + "column": 29 }, "end": { - "line": 297, - "column": 32 + "line": 288, + "column": 30 } } }, @@ -77634,16 +77253,16 @@ "updateContext": null }, "value": 0, - "start": 6523, - "end": 6524, + "start": 6150, + "end": 6151, "loc": { "start": { - "line": 297, - "column": 33 + "line": 288, + "column": 31 }, "end": { - "line": 297, - "column": 34 + "line": 288, + "column": 32 } } }, @@ -77660,16 +77279,16 @@ "binop": null, "updateContext": null }, - "start": 6525, - "end": 6526, + "start": 6151, + "end": 6152, "loc": { "start": { - "line": 297, - "column": 35 + "line": 288, + "column": 32 }, "end": { - "line": 297, - "column": 36 + "line": 288, + "column": 33 } } }, @@ -77686,16 +77305,16 @@ "binop": null }, "value": "dj", - "start": 6527, - "end": 6529, + "start": 6153, + "end": 6155, "loc": { "start": { - "line": 297, - "column": 37 + "line": 288, + "column": 34 }, "end": { - "line": 297, - "column": 39 + "line": 288, + "column": 36 } } }, @@ -77711,16 +77330,16 @@ "postfix": false, "binop": null }, - "start": 6530, - "end": 6531, + "start": 6155, + "end": 6156, "loc": { "start": { - "line": 297, - "column": 40 + "line": 288, + "column": 36 }, "end": { - "line": 297, - "column": 41 + "line": 288, + "column": 37 } } }, @@ -77737,47 +77356,47 @@ "binop": null, "updateContext": null }, - "start": 6532, - "end": 6533, + "start": 6156, + "end": 6157, "loc": { "start": { - "line": 297, - "column": 42 + "line": 288, + "column": 37 }, "end": { - "line": 297, - "column": 43 + "line": 288, + "column": 38 } } }, { "type": "CommentLine", - "value": " di < dj because d != 0", - "start": 6534, - "end": 6559, + "value": " Di < dj because d != 0", + "start": 6158, + "end": 6183, "loc": { "start": { - "line": 297, - "column": 44 + "line": 288, + "column": 39 }, "end": { - "line": 297, - "column": 69 + "line": 288, + "column": 64 } } }, { "type": "CommentLine", "value": " Quotient", - "start": 6563, - "end": 6574, + "start": 6187, + "end": 6198, "loc": { "start": { - "line": 299, + "line": 290, "column": 2 }, "end": { - "line": 299, + "line": 290, "column": 13 } } @@ -77797,15 +77416,15 @@ "updateContext": null }, "value": "const", - "start": 6577, - "end": 6582, + "start": 6201, + "end": 6206, "loc": { "start": { - "line": 300, + "line": 291, "column": 2 }, "end": { - "line": 300, + "line": 291, "column": 7 } } @@ -77823,15 +77442,15 @@ "binop": null }, "value": "q", - "start": 6583, - "end": 6584, + "start": 6207, + "end": 6208, "loc": { "start": { - "line": 300, + "line": 291, "column": 8 }, "end": { - "line": 300, + "line": 291, "column": 9 } } @@ -77850,15 +77469,15 @@ "updateContext": null }, "value": "=", - "start": 6585, - "end": 6586, + "start": 6209, + "end": 6210, "loc": { "start": { - "line": 300, + "line": 291, "column": 10 }, "end": { - "line": 300, + "line": 291, "column": 11 } } @@ -77876,15 +77495,15 @@ "binop": null }, "value": "_zeros", - "start": 6587, - "end": 6593, + "start": 6211, + "end": 6217, "loc": { "start": { - "line": 300, + "line": 291, "column": 12 }, "end": { - "line": 300, + "line": 291, "column": 18 } } @@ -77901,15 +77520,15 @@ "postfix": false, "binop": null }, - "start": 6593, - "end": 6594, + "start": 6217, + "end": 6218, "loc": { "start": { - "line": 300, + "line": 291, "column": 18 }, "end": { - "line": 300, + "line": 291, "column": 19 } } @@ -77927,16 +77546,16 @@ "binop": null }, "value": "D", - "start": 6595, - "end": 6596, + "start": 6218, + "end": 6219, "loc": { "start": { - "line": 300, - "column": 20 + "line": 291, + "column": 19 }, "end": { - "line": 300, - "column": 21 + "line": 291, + "column": 20 } } }, @@ -77953,16 +77572,16 @@ "binop": null, "updateContext": null }, - "start": 6596, - "end": 6597, + "start": 6219, + "end": 6220, "loc": { "start": { - "line": 300, - "column": 21 + "line": 291, + "column": 20 }, "end": { - "line": 300, - "column": 22 + "line": 291, + "column": 21 } } }, @@ -77979,16 +77598,16 @@ "binop": null }, "value": "length", - "start": 6597, - "end": 6603, + "start": 6220, + "end": 6226, "loc": { "start": { - "line": 300, - "column": 22 + "line": 291, + "column": 21 }, "end": { - "line": 300, - "column": 28 + "line": 291, + "column": 27 } } }, @@ -78004,16 +77623,16 @@ "postfix": false, "binop": null }, - "start": 6604, - "end": 6605, + "start": 6226, + "end": 6227, "loc": { "start": { - "line": 300, - "column": 29 + "line": 291, + "column": 27 }, "end": { - "line": 300, - "column": 30 + "line": 291, + "column": 28 } } }, @@ -78030,16 +77649,16 @@ "binop": null, "updateContext": null }, - "start": 6606, - "end": 6607, + "start": 6227, + "end": 6228, "loc": { "start": { - "line": 300, - "column": 31 + "line": 291, + "column": 28 }, "end": { - "line": 300, - "column": 32 + "line": 291, + "column": 29 } } }, @@ -78056,15 +77675,15 @@ "binop": null }, "value": "_idivmod", - "start": 6611, - "end": 6619, + "start": 6232, + "end": 6240, "loc": { "start": { - "line": 302, + "line": 293, "column": 2 }, "end": { - "line": 302, + "line": 293, "column": 10 } } @@ -78081,15 +77700,15 @@ "postfix": false, "binop": null }, - "start": 6619, - "end": 6620, + "start": 6240, + "end": 6241, "loc": { "start": { - "line": 302, + "line": 293, "column": 10 }, "end": { - "line": 302, + "line": 293, "column": 11 } } @@ -78107,16 +77726,16 @@ "binop": null }, "value": "r", - "start": 6621, - "end": 6622, + "start": 6241, + "end": 6242, "loc": { "start": { - "line": 302, - "column": 12 + "line": 293, + "column": 11 }, "end": { - "line": 302, - "column": 13 + "line": 293, + "column": 12 } } }, @@ -78133,16 +77752,16 @@ "binop": null, "updateContext": null }, - "start": 6623, - "end": 6624, + "start": 6242, + "end": 6243, "loc": { "start": { - "line": 302, - "column": 14 + "line": 293, + "column": 12 }, "end": { - "line": 302, - "column": 15 + "line": 293, + "column": 13 } } }, @@ -78159,16 +77778,16 @@ "binop": null }, "value": "D", - "start": 6625, - "end": 6626, + "start": 6244, + "end": 6245, "loc": { "start": { - "line": 302, - "column": 16 + "line": 293, + "column": 14 }, "end": { - "line": 302, - "column": 17 + "line": 293, + "column": 15 } } }, @@ -78185,16 +77804,16 @@ "binop": null, "updateContext": null }, - "start": 6627, - "end": 6628, + "start": 6245, + "end": 6246, "loc": { "start": { - "line": 302, - "column": 18 + "line": 293, + "column": 15 }, "end": { - "line": 302, - "column": 19 + "line": 293, + "column": 16 } } }, @@ -78212,16 +77831,16 @@ "updateContext": null }, "value": 0, - "start": 6629, - "end": 6630, + "start": 6247, + "end": 6248, "loc": { "start": { - "line": 302, - "column": 20 + "line": 293, + "column": 17 }, "end": { - "line": 302, - "column": 21 + "line": 293, + "column": 18 } } }, @@ -78238,16 +77857,16 @@ "binop": null, "updateContext": null }, - "start": 6631, - "end": 6632, + "start": 6248, + "end": 6249, "loc": { "start": { - "line": 302, - "column": 22 + "line": 293, + "column": 18 }, "end": { - "line": 302, - "column": 23 + "line": 293, + "column": 19 } } }, @@ -78264,16 +77883,16 @@ "binop": null }, "value": "D", - "start": 6633, - "end": 6634, + "start": 6250, + "end": 6251, "loc": { "start": { - "line": 302, - "column": 24 + "line": 293, + "column": 20 }, "end": { - "line": 302, - "column": 25 + "line": 293, + "column": 21 } } }, @@ -78290,16 +77909,16 @@ "binop": null, "updateContext": null }, - "start": 6634, - "end": 6635, + "start": 6251, + "end": 6252, "loc": { "start": { - "line": 302, - "column": 25 + "line": 293, + "column": 21 }, "end": { - "line": 302, - "column": 26 + "line": 293, + "column": 22 } } }, @@ -78316,16 +77935,16 @@ "binop": null }, "value": "length", - "start": 6635, - "end": 6641, + "start": 6252, + "end": 6258, "loc": { "start": { - "line": 302, - "column": 26 + "line": 293, + "column": 22 }, "end": { - "line": 302, - "column": 32 + "line": 293, + "column": 28 } } }, @@ -78342,16 +77961,16 @@ "binop": null, "updateContext": null }, - "start": 6642, - "end": 6643, + "start": 6258, + "end": 6259, "loc": { "start": { - "line": 302, - "column": 33 + "line": 293, + "column": 28 }, "end": { - "line": 302, - "column": 34 + "line": 293, + "column": 29 } } }, @@ -78368,16 +77987,16 @@ "binop": null }, "value": "d", - "start": 6644, - "end": 6645, + "start": 6260, + "end": 6261, "loc": { "start": { - "line": 302, - "column": 35 + "line": 293, + "column": 30 }, "end": { - "line": 302, - "column": 36 + "line": 293, + "column": 31 } } }, @@ -78394,16 +78013,16 @@ "binop": null, "updateContext": null }, - "start": 6646, - "end": 6647, + "start": 6261, + "end": 6262, "loc": { "start": { - "line": 302, - "column": 37 + "line": 293, + "column": 31 }, "end": { - "line": 302, - "column": 38 + "line": 293, + "column": 32 } } }, @@ -78420,16 +78039,16 @@ "binop": null }, "value": "di", - "start": 6648, - "end": 6650, + "start": 6263, + "end": 6265, "loc": { "start": { - "line": 302, - "column": 39 + "line": 293, + "column": 33 }, "end": { - "line": 302, - "column": 41 + "line": 293, + "column": 35 } } }, @@ -78446,16 +78065,16 @@ "binop": null, "updateContext": null }, - "start": 6651, - "end": 6652, + "start": 6265, + "end": 6266, "loc": { "start": { - "line": 302, - "column": 42 + "line": 293, + "column": 35 }, "end": { - "line": 302, - "column": 43 + "line": 293, + "column": 36 } } }, @@ -78472,16 +78091,16 @@ "binop": null }, "value": "dj", - "start": 6653, - "end": 6655, + "start": 6267, + "end": 6269, "loc": { "start": { - "line": 302, - "column": 44 + "line": 293, + "column": 37 }, "end": { - "line": 302, - "column": 46 + "line": 293, + "column": 39 } } }, @@ -78498,16 +78117,16 @@ "binop": null, "updateContext": null }, - "start": 6656, - "end": 6657, + "start": 6269, + "end": 6270, "loc": { "start": { - "line": 302, - "column": 47 + "line": 293, + "column": 39 }, "end": { - "line": 302, - "column": 48 + "line": 293, + "column": 40 } } }, @@ -78524,16 +78143,16 @@ "binop": null }, "value": "q", - "start": 6658, - "end": 6659, + "start": 6271, + "end": 6272, "loc": { "start": { - "line": 302, - "column": 49 + "line": 293, + "column": 41 }, "end": { - "line": 302, - "column": 50 + "line": 293, + "column": 42 } } }, @@ -78550,16 +78169,16 @@ "binop": null, "updateContext": null }, - "start": 6660, - "end": 6661, + "start": 6272, + "end": 6273, "loc": { "start": { - "line": 302, - "column": 51 + "line": 293, + "column": 42 }, "end": { - "line": 302, - "column": 52 + "line": 293, + "column": 43 } } }, @@ -78577,16 +78196,16 @@ "updateContext": null }, "value": 0, - "start": 6662, - "end": 6663, + "start": 6274, + "end": 6275, "loc": { "start": { - "line": 302, - "column": 53 + "line": 293, + "column": 44 }, "end": { - "line": 302, - "column": 54 + "line": 293, + "column": 45 } } }, @@ -78603,16 +78222,16 @@ "binop": null, "updateContext": null }, - "start": 6664, - "end": 6665, + "start": 6275, + "end": 6276, "loc": { "start": { - "line": 302, - "column": 55 + "line": 293, + "column": 45 }, "end": { - "line": 302, - "column": 56 + "line": 293, + "column": 46 } } }, @@ -78629,16 +78248,16 @@ "binop": null }, "value": "q", - "start": 6666, - "end": 6667, + "start": 6277, + "end": 6278, "loc": { "start": { - "line": 302, - "column": 57 + "line": 293, + "column": 47 }, "end": { - "line": 302, - "column": 58 + "line": 293, + "column": 48 } } }, @@ -78655,16 +78274,16 @@ "binop": null, "updateContext": null }, - "start": 6667, - "end": 6668, + "start": 6278, + "end": 6279, "loc": { "start": { - "line": 302, - "column": 58 + "line": 293, + "column": 48 }, "end": { - "line": 302, - "column": 59 + "line": 293, + "column": 49 } } }, @@ -78681,16 +78300,16 @@ "binop": null }, "value": "length", - "start": 6668, - "end": 6674, + "start": 6279, + "end": 6285, "loc": { "start": { - "line": 302, - "column": 59 + "line": 293, + "column": 49 }, "end": { - "line": 302, - "column": 65 + "line": 293, + "column": 55 } } }, @@ -78706,16 +78325,16 @@ "postfix": false, "binop": null }, - "start": 6675, - "end": 6676, + "start": 6285, + "end": 6286, "loc": { "start": { - "line": 302, - "column": 66 + "line": 293, + "column": 55 }, "end": { - "line": 302, - "column": 67 + "line": 293, + "column": 56 } } }, @@ -78732,16 +78351,16 @@ "binop": null, "updateContext": null }, - "start": 6677, - "end": 6678, + "start": 6286, + "end": 6287, "loc": { "start": { - "line": 302, - "column": 68 + "line": 293, + "column": 56 }, "end": { - "line": 302, - "column": 69 + "line": 293, + "column": 57 } } }, @@ -78760,15 +78379,15 @@ "updateContext": null }, "value": "const", - "start": 6682, - "end": 6687, + "start": 6291, + "end": 6296, "loc": { "start": { - "line": 304, + "line": 295, "column": 2 }, "end": { - "line": 304, + "line": 295, "column": 7 } } @@ -78786,15 +78405,15 @@ "binop": null }, "value": "Q", - "start": 6688, - "end": 6689, + "start": 6297, + "end": 6298, "loc": { "start": { - "line": 304, + "line": 295, "column": 8 }, "end": { - "line": 304, + "line": 295, "column": 9 } } @@ -78813,15 +78432,15 @@ "updateContext": null }, "value": "=", - "start": 6690, - "end": 6691, + "start": 6299, + "end": 6300, "loc": { "start": { - "line": 304, + "line": 295, "column": 10 }, "end": { - "line": 304, + "line": 295, "column": 11 } } @@ -78841,15 +78460,15 @@ "updateContext": null }, "value": "new", - "start": 6692, - "end": 6695, + "start": 6301, + "end": 6304, "loc": { "start": { - "line": 304, + "line": 295, "column": 12 }, "end": { - "line": 304, + "line": 295, "column": 15 } } @@ -78867,15 +78486,15 @@ "binop": null }, "value": "Integer", - "start": 6696, - "end": 6703, + "start": 6305, + "end": 6312, "loc": { "start": { - "line": 304, + "line": 295, "column": 16 }, "end": { - "line": 304, + "line": 295, "column": 23 } } @@ -78892,15 +78511,15 @@ "postfix": false, "binop": null }, - "start": 6703, - "end": 6704, + "start": 6312, + "end": 6313, "loc": { "start": { - "line": 304, + "line": 295, "column": 23 }, "end": { - "line": 304, + "line": 295, "column": 24 } } @@ -78918,16 +78537,16 @@ "binop": null }, "value": "r", - "start": 6705, - "end": 6706, + "start": 6313, + "end": 6314, "loc": { "start": { - "line": 304, - "column": 25 + "line": 295, + "column": 24 }, "end": { - "line": 304, - "column": 26 + "line": 295, + "column": 25 } } }, @@ -78944,16 +78563,16 @@ "binop": null, "updateContext": null }, - "start": 6707, - "end": 6708, + "start": 6314, + "end": 6315, "loc": { "start": { - "line": 304, - "column": 27 + "line": 295, + "column": 25 }, "end": { - "line": 304, - "column": 28 + "line": 295, + "column": 26 } } }, @@ -78970,16 +78589,16 @@ "binop": null }, "value": "quotient_is_negative", - "start": 6709, - "end": 6729, + "start": 6316, + "end": 6336, "loc": { "start": { - "line": 304, - "column": 29 + "line": 295, + "column": 27 }, "end": { - "line": 304, - "column": 49 + "line": 295, + "column": 47 } } }, @@ -78996,16 +78615,16 @@ "binop": null, "updateContext": null }, - "start": 6730, - "end": 6731, + "start": 6336, + "end": 6337, "loc": { "start": { - "line": 304, - "column": 50 + "line": 295, + "column": 47 }, "end": { - "line": 304, - "column": 51 + "line": 295, + "column": 48 } } }, @@ -79022,16 +78641,16 @@ "binop": null }, "value": "q", - "start": 6732, - "end": 6733, + "start": 6338, + "end": 6339, "loc": { "start": { - "line": 304, - "column": 52 + "line": 295, + "column": 49 }, "end": { - "line": 304, - "column": 53 + "line": 295, + "column": 50 } } }, @@ -79047,16 +78666,16 @@ "postfix": false, "binop": null }, - "start": 6734, - "end": 6735, + "start": 6339, + "end": 6340, "loc": { "start": { - "line": 304, - "column": 54 + "line": 295, + "column": 50 }, "end": { - "line": 304, - "column": 55 + "line": 295, + "column": 51 } } }, @@ -79073,32 +78692,32 @@ "binop": null, "updateContext": null }, - "start": 6736, - "end": 6737, + "start": 6340, + "end": 6341, "loc": { "start": { - "line": 304, - "column": 56 + "line": 295, + "column": 51 }, "end": { - "line": 304, - "column": 57 + "line": 295, + "column": 52 } } }, { "type": "CommentLine", - "value": " quotient", - "start": 6738, - "end": 6749, + "value": " Quotient", + "start": 6342, + "end": 6353, "loc": { "start": { - "line": 304, - "column": 58 + "line": 295, + "column": 53 }, "end": { - "line": 304, - "column": 69 + "line": 295, + "column": 64 } } }, @@ -79117,15 +78736,15 @@ "updateContext": null }, "value": "const", - "start": 6752, - "end": 6757, + "start": 6356, + "end": 6361, "loc": { "start": { - "line": 305, + "line": 296, "column": 2 }, "end": { - "line": 305, + "line": 296, "column": 7 } } @@ -79143,15 +78762,15 @@ "binop": null }, "value": "R", - "start": 6758, - "end": 6759, + "start": 6362, + "end": 6363, "loc": { "start": { - "line": 305, + "line": 296, "column": 8 }, "end": { - "line": 305, + "line": 296, "column": 9 } } @@ -79170,15 +78789,15 @@ "updateContext": null }, "value": "=", - "start": 6760, - "end": 6761, + "start": 6364, + "end": 6365, "loc": { "start": { - "line": 305, + "line": 296, "column": 10 }, "end": { - "line": 305, + "line": 296, "column": 11 } } @@ -79198,15 +78817,15 @@ "updateContext": null }, "value": "new", - "start": 6762, - "end": 6765, + "start": 6366, + "end": 6369, "loc": { "start": { - "line": 305, + "line": 296, "column": 12 }, "end": { - "line": 305, + "line": 296, "column": 15 } } @@ -79224,15 +78843,15 @@ "binop": null }, "value": "Integer", - "start": 6766, - "end": 6773, + "start": 6370, + "end": 6377, "loc": { "start": { - "line": 305, + "line": 296, "column": 16 }, "end": { - "line": 305, + "line": 296, "column": 23 } } @@ -79249,15 +78868,15 @@ "postfix": false, "binop": null }, - "start": 6773, - "end": 6774, + "start": 6377, + "end": 6378, "loc": { "start": { - "line": 305, + "line": 296, "column": 23 }, "end": { - "line": 305, + "line": 296, "column": 24 } } @@ -79275,16 +78894,16 @@ "binop": null }, "value": "r", - "start": 6775, - "end": 6776, + "start": 6378, + "end": 6379, "loc": { "start": { - "line": 305, - "column": 25 + "line": 296, + "column": 24 }, "end": { - "line": 305, - "column": 26 + "line": 296, + "column": 25 } } }, @@ -79301,16 +78920,16 @@ "binop": null, "updateContext": null }, - "start": 6777, - "end": 6778, + "start": 6379, + "end": 6380, "loc": { "start": { - "line": 305, - "column": 27 + "line": 296, + "column": 25 }, "end": { - "line": 305, - "column": 28 + "line": 296, + "column": 26 } } }, @@ -79328,16 +78947,16 @@ "updateContext": null }, "value": 0, - "start": 6779, - "end": 6780, + "start": 6381, + "end": 6382, "loc": { "start": { - "line": 305, - "column": 29 + "line": 296, + "column": 27 }, "end": { - "line": 305, - "column": 30 + "line": 296, + "column": 28 } } }, @@ -79354,16 +78973,16 @@ "binop": null, "updateContext": null }, - "start": 6781, - "end": 6782, + "start": 6382, + "end": 6383, "loc": { "start": { - "line": 305, - "column": 31 + "line": 296, + "column": 28 }, "end": { - "line": 305, - "column": 32 + "line": 296, + "column": 29 } } }, @@ -79380,16 +78999,16 @@ "binop": null }, "value": "D", - "start": 6783, - "end": 6784, + "start": 6384, + "end": 6385, "loc": { "start": { - "line": 305, - "column": 33 + "line": 296, + "column": 30 }, "end": { - "line": 305, - "column": 34 + "line": 296, + "column": 31 } } }, @@ -79405,16 +79024,16 @@ "postfix": false, "binop": null }, - "start": 6785, - "end": 6786, + "start": 6385, + "end": 6386, "loc": { "start": { - "line": 305, - "column": 35 + "line": 296, + "column": 31 }, "end": { - "line": 305, - "column": 36 + "line": 296, + "column": 32 } } }, @@ -79431,32 +79050,32 @@ "binop": null, "updateContext": null }, - "start": 6787, - "end": 6788, + "start": 6386, + "end": 6387, "loc": { "start": { - "line": 305, - "column": 37 + "line": 296, + "column": 32 }, "end": { - "line": 305, - "column": 38 + "line": 296, + "column": 33 } } }, { "type": "CommentLine", - "value": " remainder", - "start": 6808, - "end": 6820, + "value": " Remainder", + "start": 6388, + "end": 6400, "loc": { "start": { - "line": 305, - "column": 58 + "line": 296, + "column": 34 }, "end": { - "line": 305, - "column": 70 + "line": 296, + "column": 46 } } }, @@ -79475,15 +79094,15 @@ "updateContext": null }, "value": "if", - "start": 6824, - "end": 6826, + "start": 6404, + "end": 6406, "loc": { "start": { - "line": 307, + "line": 298, "column": 2 }, "end": { - "line": 307, + "line": 298, "column": 4 } } @@ -79500,15 +79119,15 @@ "postfix": false, "binop": null }, - "start": 6827, - "end": 6828, + "start": 6407, + "end": 6408, "loc": { "start": { - "line": 307, + "line": 298, "column": 5 }, "end": { - "line": 307, + "line": 298, "column": 6 } } @@ -79525,16 +79144,16 @@ "postfix": false, "binop": null }, - "start": 6829, - "end": 6830, + "start": 6408, + "end": 6409, "loc": { "start": { - "line": 307, - "column": 7 + "line": 298, + "column": 6 }, "end": { - "line": 307, - "column": 8 + "line": 298, + "column": 7 } } }, @@ -79553,16 +79172,16 @@ "updateContext": null }, "value": "this", - "start": 6830, - "end": 6834, + "start": 6409, + "end": 6413, "loc": { "start": { - "line": 307, - "column": 8 + "line": 298, + "column": 7 }, "end": { - "line": 307, - "column": 12 + "line": 298, + "column": 11 } } }, @@ -79579,16 +79198,16 @@ "binop": null, "updateContext": null }, - "start": 6834, - "end": 6835, + "start": 6413, + "end": 6414, "loc": { "start": { - "line": 307, - "column": 12 + "line": 298, + "column": 11 }, "end": { - "line": 307, - "column": 13 + "line": 298, + "column": 12 } } }, @@ -79604,16 +79223,16 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 6835, - "end": 6846, + "value": "_is_negative", + "start": 6414, + "end": 6426, "loc": { "start": { - "line": 307, - "column": 13 + "line": 298, + "column": 12 }, "end": { - "line": 307, + "line": 298, "column": 24 } } @@ -79632,15 +79251,15 @@ "updateContext": null }, "value": "||", - "start": 6847, - "end": 6849, + "start": 6427, + "end": 6429, "loc": { "start": { - "line": 307, + "line": 298, "column": 25 }, "end": { - "line": 307, + "line": 298, "column": 27 } } @@ -79658,15 +79277,15 @@ "binop": null }, "value": "other", - "start": 6850, - "end": 6855, + "start": 6430, + "end": 6435, "loc": { "start": { - "line": 307, + "line": 298, "column": 28 }, "end": { - "line": 307, + "line": 298, "column": 33 } } @@ -79684,15 +79303,15 @@ "binop": null, "updateContext": null }, - "start": 6855, - "end": 6856, + "start": 6435, + "end": 6436, "loc": { "start": { - "line": 307, + "line": 298, "column": 33 }, "end": { - "line": 307, + "line": 298, "column": 34 } } @@ -79709,17 +79328,17 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 6856, - "end": 6867, + "value": "_is_negative", + "start": 6436, + "end": 6448, "loc": { "start": { - "line": 307, + "line": 298, "column": 34 }, "end": { - "line": 307, - "column": 45 + "line": 298, + "column": 46 } } }, @@ -79735,15 +79354,15 @@ "postfix": false, "binop": null }, - "start": 6868, - "end": 6869, + "start": 6448, + "end": 6449, "loc": { "start": { - "line": 307, + "line": 298, "column": 46 }, "end": { - "line": 307, + "line": 298, "column": 47 } } @@ -79762,15 +79381,15 @@ "updateContext": null }, "value": "&&", - "start": 6870, - "end": 6872, + "start": 6450, + "end": 6452, "loc": { "start": { - "line": 307, + "line": 298, "column": 48 }, "end": { - "line": 307, + "line": 298, "column": 50 } } @@ -79789,15 +79408,15 @@ "updateContext": null }, "value": "!", - "start": 6873, - "end": 6874, + "start": 6453, + "end": 6454, "loc": { "start": { - "line": 307, + "line": 298, "column": 51 }, "end": { - "line": 307, + "line": 298, "column": 52 } } @@ -79815,15 +79434,15 @@ "binop": null }, "value": "jz", - "start": 6874, - "end": 6876, + "start": 6454, + "end": 6456, "loc": { "start": { - "line": 307, + "line": 298, "column": 52 }, "end": { - "line": 307, + "line": 298, "column": 54 } } @@ -79840,15 +79459,15 @@ "postfix": false, "binop": null }, - "start": 6876, - "end": 6877, + "start": 6456, + "end": 6457, "loc": { "start": { - "line": 307, + "line": 298, "column": 54 }, "end": { - "line": 307, + "line": 298, "column": 55 } } @@ -79866,16 +79485,16 @@ "binop": null }, "value": "D", - "start": 6878, - "end": 6879, + "start": 6457, + "end": 6458, "loc": { "start": { - "line": 307, - "column": 56 + "line": 298, + "column": 55 }, "end": { - "line": 307, - "column": 57 + "line": 298, + "column": 56 } } }, @@ -79892,16 +79511,16 @@ "binop": null, "updateContext": null }, - "start": 6880, - "end": 6881, + "start": 6458, + "end": 6459, "loc": { "start": { - "line": 307, - "column": 58 + "line": 298, + "column": 56 }, "end": { - "line": 307, - "column": 59 + "line": 298, + "column": 57 } } }, @@ -79919,16 +79538,16 @@ "updateContext": null }, "value": 0, - "start": 6882, - "end": 6883, + "start": 6460, + "end": 6461, "loc": { "start": { - "line": 307, - "column": 60 + "line": 298, + "column": 58 }, "end": { - "line": 307, - "column": 61 + "line": 298, + "column": 59 } } }, @@ -79945,16 +79564,16 @@ "binop": null, "updateContext": null }, - "start": 6884, - "end": 6885, + "start": 6461, + "end": 6462, "loc": { "start": { - "line": 307, - "column": 62 + "line": 298, + "column": 59 }, "end": { - "line": 307, - "column": 63 + "line": 298, + "column": 60 } } }, @@ -79971,16 +79590,16 @@ "binop": null }, "value": "D", - "start": 6886, - "end": 6887, + "start": 6463, + "end": 6464, "loc": { "start": { - "line": 307, - "column": 64 + "line": 298, + "column": 61 }, "end": { - "line": 307, - "column": 65 + "line": 298, + "column": 62 } } }, @@ -79997,16 +79616,16 @@ "binop": null, "updateContext": null }, - "start": 6887, - "end": 6888, + "start": 6464, + "end": 6465, "loc": { "start": { - "line": 307, - "column": 65 + "line": 298, + "column": 62 }, "end": { - "line": 307, - "column": 66 + "line": 298, + "column": 63 } } }, @@ -80023,16 +79642,16 @@ "binop": null }, "value": "length", - "start": 6888, - "end": 6894, + "start": 6465, + "end": 6471, "loc": { "start": { - "line": 307, - "column": 66 + "line": 298, + "column": 63 }, "end": { - "line": 307, - "column": 72 + "line": 298, + "column": 69 } } }, @@ -80048,16 +79667,16 @@ "postfix": false, "binop": null }, - "start": 6895, - "end": 6896, + "start": 6471, + "end": 6472, "loc": { "start": { - "line": 307, - "column": 73 + "line": 298, + "column": 69 }, "end": { - "line": 307, - "column": 74 + "line": 298, + "column": 70 } } }, @@ -80073,16 +79692,16 @@ "postfix": false, "binop": null }, - "start": 6897, - "end": 6898, + "start": 6472, + "end": 6473, "loc": { "start": { - "line": 307, - "column": 75 + "line": 298, + "column": 70 }, "end": { - "line": 307, - "column": 76 + "line": 298, + "column": 71 } } }, @@ -80098,16 +79717,16 @@ "postfix": false, "binop": null }, - "start": 6899, - "end": 6900, + "start": 6474, + "end": 6475, "loc": { "start": { - "line": 307, - "column": 77 + "line": 298, + "column": 72 }, "end": { - "line": 307, - "column": 78 + "line": 298, + "column": 73 } } }, @@ -80126,15 +79745,15 @@ "updateContext": null }, "value": "if", - "start": 6905, - "end": 6907, + "start": 6479, + "end": 6481, "loc": { "start": { - "line": 309, + "line": 299, "column": 3 }, "end": { - "line": 309, + "line": 299, "column": 5 } } @@ -80151,15 +79770,15 @@ "postfix": false, "binop": null }, - "start": 6908, - "end": 6909, + "start": 6482, + "end": 6483, "loc": { "start": { - "line": 309, + "line": 299, "column": 6 }, "end": { - "line": 309, + "line": 299, "column": 7 } } @@ -80177,16 +79796,16 @@ "binop": null }, "value": "other", - "start": 6910, - "end": 6915, + "start": 6483, + "end": 6488, "loc": { "start": { - "line": 309, - "column": 8 + "line": 299, + "column": 7 }, "end": { - "line": 309, - "column": 13 + "line": 299, + "column": 12 } } }, @@ -80203,16 +79822,16 @@ "binop": null, "updateContext": null }, - "start": 6915, - "end": 6916, + "start": 6488, + "end": 6489, "loc": { "start": { - "line": 309, - "column": 13 + "line": 299, + "column": 12 }, "end": { - "line": 309, - "column": 14 + "line": 299, + "column": 13 } } }, @@ -80228,16 +79847,16 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 6916, - "end": 6927, + "value": "_is_negative", + "start": 6489, + "end": 6501, "loc": { "start": { - "line": 309, - "column": 14 + "line": 299, + "column": 13 }, "end": { - "line": 309, + "line": 299, "column": 25 } } @@ -80254,16 +79873,16 @@ "postfix": false, "binop": null }, - "start": 6928, - "end": 6929, + "start": 6501, + "end": 6502, "loc": { "start": { - "line": 309, - "column": 26 + "line": 299, + "column": 25 }, "end": { - "line": 309, - "column": 27 + "line": 299, + "column": 26 } } }, @@ -80279,16 +79898,16 @@ "postfix": false, "binop": null }, - "start": 6930, - "end": 6931, + "start": 6503, + "end": 6504, "loc": { "start": { - "line": 309, - "column": 28 + "line": 299, + "column": 27 }, "end": { - "line": 309, - "column": 29 + "line": 299, + "column": 28 } } }, @@ -80307,15 +79926,15 @@ "updateContext": null }, "value": "if", - "start": 6937, - "end": 6939, + "start": 6509, + "end": 6511, "loc": { "start": { - "line": 311, + "line": 300, "column": 4 }, "end": { - "line": 311, + "line": 300, "column": 6 } } @@ -80332,46 +79951,19 @@ "postfix": false, "binop": null }, - "start": 6940, - "end": 6941, + "start": 6512, + "end": 6513, "loc": { "start": { - "line": 311, + "line": 300, "column": 7 }, "end": { - "line": 311, + "line": 300, "column": 8 } } }, - { - "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "!", - "start": 6942, - "end": 6943, - "loc": { - "start": { - "line": 311, - "column": 9 - }, - "end": { - "line": 311, - "column": 10 - } - } - }, { "type": { "label": "this", @@ -80387,16 +79979,16 @@ "updateContext": null }, "value": "this", - "start": 6943, - "end": 6947, + "start": 6513, + "end": 6517, "loc": { "start": { - "line": 311, - "column": 10 + "line": 300, + "column": 8 }, "end": { - "line": 311, - "column": 14 + "line": 300, + "column": 12 } } }, @@ -80413,16 +80005,16 @@ "binop": null, "updateContext": null }, - "start": 6947, - "end": 6948, + "start": 6517, + "end": 6518, "loc": { "start": { - "line": 311, - "column": 14 + "line": 300, + "column": 12 }, "end": { - "line": 311, - "column": 15 + "line": 300, + "column": 13 } } }, @@ -80438,17 +80030,17 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 6948, - "end": 6959, + "value": "_is_negative", + "start": 6518, + "end": 6530, "loc": { "start": { - "line": 311, - "column": 15 + "line": 300, + "column": 13 }, "end": { - "line": 311, - "column": 26 + "line": 300, + "column": 25 } } }, @@ -80464,16 +80056,16 @@ "postfix": false, "binop": null }, - "start": 6960, - "end": 6961, + "start": 6530, + "end": 6531, "loc": { "start": { - "line": 311, - "column": 27 + "line": 300, + "column": 25 }, "end": { - "line": 311, - "column": 28 + "line": 300, + "column": 26 } } }, @@ -80489,16 +80081,16 @@ "postfix": false, "binop": null }, - "start": 6962, - "end": 6963, + "start": 6532, + "end": 6533, "loc": { "start": { - "line": 311, - "column": 29 + "line": 300, + "column": 27 }, "end": { - "line": 311, - "column": 30 + "line": 300, + "column": 28 } } }, @@ -80514,42 +80106,43 @@ "postfix": false, "binop": null }, - "value": "increment", - "start": 6969, - "end": 6978, + "value": "R", + "start": 6539, + "end": 6540, "loc": { "start": { - "line": 312, + "line": 301, "column": 5 }, "end": { - "line": 312, - "column": 14 + "line": 301, + "column": 6 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6978, - "end": 6979, + "start": 6540, + "end": 6541, "loc": { "start": { - "line": 312, - "column": 14 + "line": 301, + "column": 6 }, "end": { - "line": 312, - "column": 15 + "line": 301, + "column": 7 } } }, @@ -80565,51 +80158,50 @@ "postfix": false, "binop": null }, - "value": "r", - "start": 6980, - "end": 6981, + "value": "negate", + "start": 6541, + "end": 6547, "loc": { "start": { - "line": 312, - "column": 16 + "line": 301, + "column": 7 }, "end": { - "line": 312, - "column": 17 + "line": 301, + "column": 13 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6982, - "end": 6983, + "start": 6547, + "end": 6548, "loc": { "start": { - "line": 312, - "column": 18 + "line": 301, + "column": 13 }, "end": { - "line": 312, - "column": 19 + "line": 301, + "column": 14 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -80617,23 +80209,22 @@ "postfix": false, "binop": null }, - "value": "q", - "start": 6984, - "end": 6985, + "start": 6548, + "end": 6549, "loc": { "start": { - "line": 312, - "column": 20 + "line": 301, + "column": 14 }, "end": { - "line": 312, - "column": 21 + "line": 301, + "column": 15 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -80644,77 +80235,40 @@ "binop": null, "updateContext": null }, - "start": 6986, - "end": 6987, - "loc": { - "start": { - "line": 312, - "column": 22 - }, - "end": { - "line": 312, - "column": 23 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 6988, - "end": 6989, + "start": 6549, + "end": 6550, "loc": { "start": { - "line": 312, - "column": 24 + "line": 301, + "column": 15 }, "end": { - "line": 312, - "column": 25 + "line": 301, + "column": 16 } } }, { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6990, - "end": 6991, + "type": "CommentLine", + "value": " TODO optimize", + "start": 6551, + "end": 6567, "loc": { "start": { - "line": 312, - "column": 26 + "line": 301, + "column": 17 }, "end": { - "line": 312, - "column": 27 + "line": 301, + "column": 33 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -80722,24 +80276,24 @@ "postfix": false, "binop": null }, - "value": "q", - "start": 6992, - "end": 6993, + "start": 6572, + "end": 6573, "loc": { "start": { - "line": 312, - "column": 28 + "line": 302, + "column": 4 }, "end": { - "line": 312, - "column": 29 + "line": 302, + "column": 5 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "else", + "keyword": "else", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -80749,23 +80303,24 @@ "binop": null, "updateContext": null }, - "start": 6993, - "end": 6994, + "value": "else", + "start": 6574, + "end": 6578, "loc": { "start": { - "line": 312, - "column": 29 + "line": 302, + "column": 6 }, "end": { - "line": 312, - "column": 30 + "line": 302, + "column": 10 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -80774,25 +80329,24 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 6994, - "end": 7000, + "start": 6579, + "end": 6580, "loc": { "start": { - "line": 312, - "column": 30 + "line": 302, + "column": 11 }, "end": { - "line": 312, - "column": 36 + "line": 302, + "column": 12 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -80800,42 +80354,42 @@ "postfix": false, "binop": null }, - "start": 7001, - "end": 7002, + "value": "increment", + "start": 6586, + "end": 6595, "loc": { "start": { - "line": 312, - "column": 37 + "line": 303, + "column": 5 }, "end": { - "line": 312, - "column": 38 + "line": 303, + "column": 14 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 7003, - "end": 7004, + "start": 6595, + "end": 6596, "loc": { "start": { - "line": 312, - "column": 39 + "line": 303, + "column": 14 }, "end": { - "line": 312, - "column": 40 + "line": 303, + "column": 15 } } }, @@ -80851,24 +80405,24 @@ "postfix": false, "binop": null }, - "value": "R", - "start": 7010, - "end": 7011, + "value": "r", + "start": 6596, + "end": 6597, "loc": { "start": { - "line": 313, - "column": 5 + "line": 303, + "column": 15 }, "end": { - "line": 313, - "column": 6 + "line": 303, + "column": 16 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -80878,16 +80432,16 @@ "binop": null, "updateContext": null }, - "start": 7011, - "end": 7012, + "start": 6597, + "end": 6598, "loc": { "start": { - "line": 313, - "column": 6 + "line": 303, + "column": 16 }, "end": { - "line": 313, - "column": 7 + "line": 303, + "column": 17 } } }, @@ -80903,48 +80457,49 @@ "postfix": false, "binop": null }, - "value": "iadd", - "start": 7012, - "end": 7016, + "value": "q", + "start": 6599, + "end": 6600, "loc": { "start": { - "line": 313, - "column": 7 + "line": 303, + "column": 18 }, "end": { - "line": 313, - "column": 11 + "line": 303, + "column": 19 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7016, - "end": 7017, + "start": 6600, + "end": 6601, "loc": { "start": { - "line": 313, - "column": 11 + "line": 303, + "column": 19 }, "end": { - "line": 313, - "column": 12 + "line": 303, + "column": 20 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -80952,94 +80507,106 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "other", - "start": 7018, - "end": 7023, + "value": 0, + "start": 6602, + "end": 6603, "loc": { "start": { - "line": 313, - "column": 13 + "line": 303, + "column": 21 }, "end": { - "line": 313, - "column": 18 + "line": 303, + "column": 22 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7024, - "end": 7025, + "start": 6603, + "end": 6604, "loc": { "start": { - "line": 313, - "column": 19 + "line": 303, + "column": 22 }, "end": { - "line": 313, - "column": 20 + "line": 303, + "column": 23 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 7026, - "end": 7027, + "value": "q", + "start": 6605, + "end": 6606, "loc": { "start": { - "line": 313, - "column": 21 + "line": 303, + "column": 24 }, "end": { - "line": 313, - "column": 22 + "line": 303, + "column": 25 } } }, { - "type": "CommentLine", - "value": " TODO optimize", - "start": 7028, - "end": 7044, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6606, + "end": 6607, "loc": { "start": { - "line": 313, - "column": 23 + "line": 303, + "column": 25 }, "end": { - "line": 313, - "column": 39 + "line": 303, + "column": 26 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -81047,69 +80614,68 @@ "postfix": false, "binop": null }, - "start": 7049, - "end": 7050, + "value": "length", + "start": 6607, + "end": 6613, "loc": { "start": { - "line": 314, - "column": 4 + "line": 303, + "column": 26 }, "end": { - "line": 314, - "column": 5 + "line": 303, + "column": 32 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "else", - "start": 7056, - "end": 7060, + "start": 6613, + "end": 6614, "loc": { "start": { - "line": 316, - "column": 4 + "line": 303, + "column": 32 }, "end": { - "line": 316, - "column": 8 + "line": 303, + "column": 33 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7061, - "end": 7062, + "start": 6614, + "end": 6615, "loc": { "start": { - "line": 316, - "column": 9 + "line": 303, + "column": 33 }, "end": { - "line": 316, - "column": 10 + "line": 303, + "column": 34 } } }, @@ -81126,15 +80692,15 @@ "binop": null }, "value": "R", - "start": 7068, - "end": 7069, + "start": 6621, + "end": 6622, "loc": { "start": { - "line": 317, + "line": 304, "column": 5 }, "end": { - "line": 317, + "line": 304, "column": 6 } } @@ -81152,15 +80718,15 @@ "binop": null, "updateContext": null }, - "start": 7069, - "end": 7070, + "start": 6622, + "end": 6623, "loc": { "start": { - "line": 317, + "line": 304, "column": 6 }, "end": { - "line": 317, + "line": 304, "column": 7 } } @@ -81177,17 +80743,17 @@ "postfix": false, "binop": null }, - "value": "negate", - "start": 7070, - "end": 7076, + "value": "iadd", + "start": 6623, + "end": 6627, "loc": { "start": { - "line": 317, + "line": 304, "column": 7 }, "end": { - "line": 317, - "column": 13 + "line": 304, + "column": 11 } } }, @@ -81203,16 +80769,42 @@ "postfix": false, "binop": null }, - "start": 7076, - "end": 7077, + "start": 6627, + "end": 6628, "loc": { "start": { - "line": 317, - "column": 13 + "line": 304, + "column": 11 }, "end": { - "line": 317, - "column": 14 + "line": 304, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 6628, + "end": 6633, + "loc": { + "start": { + "line": 304, + "column": 12 + }, + "end": { + "line": 304, + "column": 17 } } }, @@ -81228,16 +80820,16 @@ "postfix": false, "binop": null }, - "start": 7077, - "end": 7078, + "start": 6633, + "end": 6634, "loc": { "start": { - "line": 317, - "column": 14 + "line": 304, + "column": 17 }, "end": { - "line": 317, - "column": 15 + "line": 304, + "column": 18 } } }, @@ -81254,32 +80846,32 @@ "binop": null, "updateContext": null }, - "start": 7078, - "end": 7079, + "start": 6634, + "end": 6635, "loc": { "start": { - "line": 317, - "column": 15 + "line": 304, + "column": 18 }, "end": { - "line": 317, - "column": 16 + "line": 304, + "column": 19 } } }, { "type": "CommentLine", "value": " TODO optimize", - "start": 7080, - "end": 7096, + "start": 6636, + "end": 6652, "loc": { "start": { - "line": 317, - "column": 17 + "line": 304, + "column": 20 }, "end": { - "line": 317, - "column": 33 + "line": 304, + "column": 36 } } }, @@ -81295,15 +80887,15 @@ "postfix": false, "binop": null }, - "start": 7101, - "end": 7102, + "start": 6657, + "end": 6658, "loc": { "start": { - "line": 318, + "line": 305, "column": 4 }, "end": { - "line": 318, + "line": 305, "column": 5 } } @@ -81320,15 +80912,15 @@ "postfix": false, "binop": null }, - "start": 7107, - "end": 7108, + "start": 6662, + "end": 6663, "loc": { "start": { - "line": 320, + "line": 306, "column": 3 }, "end": { - "line": 320, + "line": 306, "column": 4 } } @@ -81348,16 +80940,16 @@ "updateContext": null }, "value": "else", - "start": 7113, - "end": 7117, + "start": 6664, + "end": 6668, "loc": { "start": { - "line": 322, - "column": 3 + "line": 306, + "column": 5 }, "end": { - "line": 322, - "column": 7 + "line": 306, + "column": 9 } } }, @@ -81373,16 +80965,16 @@ "postfix": false, "binop": null }, - "start": 7118, - "end": 7119, + "start": 6669, + "end": 6670, "loc": { "start": { - "line": 322, - "column": 8 + "line": 306, + "column": 10 }, "end": { - "line": 322, - "column": 9 + "line": 306, + "column": 11 } } }, @@ -81399,15 +80991,15 @@ "binop": null }, "value": "increment", - "start": 7124, - "end": 7133, + "start": 6675, + "end": 6684, "loc": { "start": { - "line": 323, + "line": 307, "column": 4 }, "end": { - "line": 323, + "line": 307, "column": 13 } } @@ -81424,15 +81016,15 @@ "postfix": false, "binop": null }, - "start": 7133, - "end": 7134, + "start": 6684, + "end": 6685, "loc": { "start": { - "line": 323, + "line": 307, "column": 13 }, "end": { - "line": 323, + "line": 307, "column": 14 } } @@ -81450,16 +81042,16 @@ "binop": null }, "value": "r", - "start": 7135, - "end": 7136, + "start": 6685, + "end": 6686, "loc": { "start": { - "line": 323, - "column": 15 + "line": 307, + "column": 14 }, "end": { - "line": 323, - "column": 16 + "line": 307, + "column": 15 } } }, @@ -81476,16 +81068,16 @@ "binop": null, "updateContext": null }, - "start": 7137, - "end": 7138, + "start": 6686, + "end": 6687, "loc": { "start": { - "line": 323, - "column": 17 + "line": 307, + "column": 15 }, "end": { - "line": 323, - "column": 18 + "line": 307, + "column": 16 } } }, @@ -81502,16 +81094,16 @@ "binop": null }, "value": "q", - "start": 7139, - "end": 7140, + "start": 6688, + "end": 6689, "loc": { "start": { - "line": 323, - "column": 19 + "line": 307, + "column": 17 }, "end": { - "line": 323, - "column": 20 + "line": 307, + "column": 18 } } }, @@ -81528,16 +81120,16 @@ "binop": null, "updateContext": null }, - "start": 7141, - "end": 7142, + "start": 6689, + "end": 6690, "loc": { "start": { - "line": 323, - "column": 21 + "line": 307, + "column": 18 }, "end": { - "line": 323, - "column": 22 + "line": 307, + "column": 19 } } }, @@ -81555,16 +81147,16 @@ "updateContext": null }, "value": 0, - "start": 7143, - "end": 7144, + "start": 6691, + "end": 6692, "loc": { "start": { - "line": 323, - "column": 23 + "line": 307, + "column": 20 }, "end": { - "line": 323, - "column": 24 + "line": 307, + "column": 21 } } }, @@ -81581,16 +81173,16 @@ "binop": null, "updateContext": null }, - "start": 7145, - "end": 7146, + "start": 6692, + "end": 6693, "loc": { "start": { - "line": 323, - "column": 25 + "line": 307, + "column": 21 }, "end": { - "line": 323, - "column": 26 + "line": 307, + "column": 22 } } }, @@ -81607,16 +81199,16 @@ "binop": null }, "value": "q", - "start": 7147, - "end": 7148, + "start": 6694, + "end": 6695, "loc": { "start": { - "line": 323, - "column": 27 + "line": 307, + "column": 23 }, "end": { - "line": 323, - "column": 28 + "line": 307, + "column": 24 } } }, @@ -81633,16 +81225,16 @@ "binop": null, "updateContext": null }, - "start": 7148, - "end": 7149, + "start": 6695, + "end": 6696, "loc": { "start": { - "line": 323, - "column": 28 + "line": 307, + "column": 24 }, "end": { - "line": 323, - "column": 29 + "line": 307, + "column": 25 } } }, @@ -81659,16 +81251,16 @@ "binop": null }, "value": "length", - "start": 7149, - "end": 7155, + "start": 6696, + "end": 6702, "loc": { "start": { - "line": 323, - "column": 29 + "line": 307, + "column": 25 }, "end": { - "line": 323, - "column": 35 + "line": 307, + "column": 31 } } }, @@ -81684,16 +81276,16 @@ "postfix": false, "binop": null }, - "start": 7156, - "end": 7157, + "start": 6702, + "end": 6703, "loc": { "start": { - "line": 323, - "column": 36 + "line": 307, + "column": 31 }, "end": { - "line": 323, - "column": 37 + "line": 307, + "column": 32 } } }, @@ -81710,16 +81302,16 @@ "binop": null, "updateContext": null }, - "start": 7158, - "end": 7159, + "start": 6703, + "end": 6704, "loc": { "start": { - "line": 323, - "column": 38 + "line": 307, + "column": 32 }, "end": { - "line": 323, - "column": 39 + "line": 307, + "column": 33 } } }, @@ -81736,15 +81328,15 @@ "binop": null }, "value": "R", - "start": 7164, - "end": 7165, + "start": 6709, + "end": 6710, "loc": { "start": { - "line": 324, + "line": 308, "column": 4 }, "end": { - "line": 324, + "line": 308, "column": 5 } } @@ -81762,15 +81354,15 @@ "binop": null, "updateContext": null }, - "start": 7165, - "end": 7166, + "start": 6710, + "end": 6711, "loc": { "start": { - "line": 324, + "line": 308, "column": 5 }, "end": { - "line": 324, + "line": 308, "column": 6 } } @@ -81788,15 +81380,15 @@ "binop": null }, "value": "negate", - "start": 7166, - "end": 7172, + "start": 6711, + "end": 6717, "loc": { "start": { - "line": 324, + "line": 308, "column": 6 }, "end": { - "line": 324, + "line": 308, "column": 12 } } @@ -81813,15 +81405,15 @@ "postfix": false, "binop": null }, - "start": 7172, - "end": 7173, + "start": 6717, + "end": 6718, "loc": { "start": { - "line": 324, + "line": 308, "column": 12 }, "end": { - "line": 324, + "line": 308, "column": 13 } } @@ -81838,15 +81430,15 @@ "postfix": false, "binop": null }, - "start": 7173, - "end": 7174, + "start": 6718, + "end": 6719, "loc": { "start": { - "line": 324, + "line": 308, "column": 13 }, "end": { - "line": 324, + "line": 308, "column": 14 } } @@ -81864,15 +81456,15 @@ "binop": null, "updateContext": null }, - "start": 7174, - "end": 7175, + "start": 6719, + "end": 6720, "loc": { "start": { - "line": 324, + "line": 308, "column": 14 }, "end": { - "line": 324, + "line": 308, "column": 15 } } @@ -81890,15 +81482,15 @@ "binop": null }, "value": "iadd", - "start": 7175, - "end": 7179, + "start": 6720, + "end": 6724, "loc": { "start": { - "line": 324, + "line": 308, "column": 15 }, "end": { - "line": 324, + "line": 308, "column": 19 } } @@ -81915,15 +81507,15 @@ "postfix": false, "binop": null }, - "start": 7179, - "end": 7180, + "start": 6724, + "end": 6725, "loc": { "start": { - "line": 324, + "line": 308, "column": 19 }, "end": { - "line": 324, + "line": 308, "column": 20 } } @@ -81941,16 +81533,16 @@ "binop": null }, "value": "other", - "start": 7181, - "end": 7186, + "start": 6725, + "end": 6730, "loc": { "start": { - "line": 324, - "column": 21 + "line": 308, + "column": 20 }, "end": { - "line": 324, - "column": 26 + "line": 308, + "column": 25 } } }, @@ -81966,16 +81558,16 @@ "postfix": false, "binop": null }, - "start": 7187, - "end": 7188, + "start": 6730, + "end": 6731, "loc": { "start": { - "line": 324, - "column": 27 + "line": 308, + "column": 25 }, "end": { - "line": 324, - "column": 28 + "line": 308, + "column": 26 } } }, @@ -81992,32 +81584,32 @@ "binop": null, "updateContext": null }, - "start": 7189, - "end": 7190, + "start": 6731, + "end": 6732, "loc": { "start": { - "line": 324, - "column": 29 + "line": 308, + "column": 26 }, "end": { - "line": 324, - "column": 30 + "line": 308, + "column": 27 } } }, { "type": "CommentLine", "value": " TODO optimize", - "start": 7191, - "end": 7207, + "start": 6733, + "end": 6749, "loc": { "start": { - "line": 324, - "column": 31 + "line": 308, + "column": 28 }, "end": { - "line": 324, - "column": 47 + "line": 308, + "column": 44 } } }, @@ -82033,15 +81625,15 @@ "postfix": false, "binop": null }, - "start": 7211, - "end": 7212, + "start": 6753, + "end": 6754, "loc": { "start": { - "line": 325, + "line": 309, "column": 3 }, "end": { - "line": 325, + "line": 309, "column": 4 } } @@ -82058,15 +81650,15 @@ "postfix": false, "binop": null }, - "start": 7216, - "end": 7217, + "start": 6757, + "end": 6758, "loc": { "start": { - "line": 327, + "line": 310, "column": 2 }, "end": { - "line": 327, + "line": 310, "column": 3 } } @@ -82086,15 +81678,15 @@ "updateContext": null }, "value": "return", - "start": 7221, - "end": 7227, + "start": 6762, + "end": 6768, "loc": { "start": { - "line": 329, + "line": 312, "column": 2 }, "end": { - "line": 329, + "line": 312, "column": 8 } } @@ -82112,15 +81704,15 @@ "binop": null, "updateContext": null }, - "start": 7228, - "end": 7229, + "start": 6769, + "end": 6770, "loc": { "start": { - "line": 329, + "line": 312, "column": 9 }, "end": { - "line": 329, + "line": 312, "column": 10 } } @@ -82138,16 +81730,16 @@ "binop": null }, "value": "Q", - "start": 7230, - "end": 7231, + "start": 6770, + "end": 6771, "loc": { "start": { - "line": 329, - "column": 11 + "line": 312, + "column": 10 }, "end": { - "line": 329, - "column": 12 + "line": 312, + "column": 11 } } }, @@ -82164,16 +81756,16 @@ "binop": null, "updateContext": null }, - "start": 7232, - "end": 7233, + "start": 6771, + "end": 6772, "loc": { "start": { - "line": 329, - "column": 13 + "line": 312, + "column": 11 }, "end": { - "line": 329, - "column": 14 + "line": 312, + "column": 12 } } }, @@ -82190,16 +81782,16 @@ "binop": null }, "value": "R", - "start": 7234, - "end": 7235, + "start": 6773, + "end": 6774, "loc": { "start": { - "line": 329, - "column": 15 + "line": 312, + "column": 13 }, "end": { - "line": 329, - "column": 16 + "line": 312, + "column": 14 } } }, @@ -82216,16 +81808,16 @@ "binop": null, "updateContext": null }, - "start": 7236, - "end": 7237, + "start": 6774, + "end": 6775, "loc": { "start": { - "line": 329, - "column": 17 + "line": 312, + "column": 14 }, "end": { - "line": 329, - "column": 18 + "line": 312, + "column": 15 } } }, @@ -82242,16 +81834,16 @@ "binop": null, "updateContext": null }, - "start": 7238, - "end": 7239, + "start": 6775, + "end": 6776, "loc": { "start": { - "line": 329, - "column": 19 + "line": 312, + "column": 15 }, "end": { - "line": 329, - "column": 20 + "line": 312, + "column": 16 } } }, @@ -82267,15 +81859,15 @@ "postfix": false, "binop": null }, - "start": 7242, - "end": 7243, + "start": 6778, + "end": 6779, "loc": { "start": { - "line": 331, + "line": 313, "column": 1 }, "end": { - "line": 331, + "line": 313, "column": 2 } } @@ -82293,15 +81885,15 @@ "binop": null }, "value": "idivmod", - "start": 7246, - "end": 7253, + "start": 6782, + "end": 6789, "loc": { "start": { - "line": 333, + "line": 315, "column": 1 }, "end": { - "line": 333, + "line": 315, "column": 8 } } @@ -82318,16 +81910,16 @@ "postfix": false, "binop": null }, - "start": 7254, - "end": 7255, + "start": 6789, + "end": 6790, "loc": { "start": { - "line": 333, - "column": 9 + "line": 315, + "column": 8 }, "end": { - "line": 333, - "column": 10 + "line": 315, + "column": 9 } } }, @@ -82344,16 +81936,16 @@ "binop": null }, "value": "other", - "start": 7256, - "end": 7261, + "start": 6790, + "end": 6795, "loc": { "start": { - "line": 333, - "column": 11 + "line": 315, + "column": 9 }, "end": { - "line": 333, - "column": 16 + "line": 315, + "column": 14 } } }, @@ -82369,16 +81961,16 @@ "postfix": false, "binop": null }, - "start": 7262, - "end": 7263, + "start": 6795, + "end": 6796, "loc": { "start": { - "line": 333, - "column": 17 + "line": 315, + "column": 14 }, "end": { - "line": 333, - "column": 18 + "line": 315, + "column": 15 } } }, @@ -82394,31 +81986,31 @@ "postfix": false, "binop": null }, - "start": 7264, - "end": 7265, + "start": 6797, + "end": 6798, "loc": { "start": { - "line": 333, - "column": 19 + "line": 315, + "column": 16 }, "end": { - "line": 333, - "column": 20 + "line": 315, + "column": 17 } } }, { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 7268, - "end": 7317, + "start": 6801, + "end": 6850, "loc": { "start": { - "line": 334, + "line": 316, "column": 2 }, "end": { - "line": 334, + "line": 316, "column": 51 } } @@ -82438,15 +82030,15 @@ "updateContext": null }, "value": "const", - "start": 7320, - "end": 7325, + "start": 6853, + "end": 6858, "loc": { "start": { - "line": 335, + "line": 317, "column": 2 }, "end": { - "line": 335, + "line": 317, "column": 7 } } @@ -82464,15 +82056,15 @@ "binop": null, "updateContext": null }, - "start": 7326, - "end": 7327, + "start": 6859, + "end": 6860, "loc": { "start": { - "line": 335, + "line": 317, "column": 8 }, "end": { - "line": 335, + "line": 317, "column": 9 } } @@ -82490,16 +82082,16 @@ "binop": null }, "value": "q", - "start": 7328, - "end": 7329, + "start": 6860, + "end": 6861, "loc": { "start": { - "line": 335, - "column": 10 + "line": 317, + "column": 9 }, "end": { - "line": 335, - "column": 11 + "line": 317, + "column": 10 } } }, @@ -82516,16 +82108,16 @@ "binop": null, "updateContext": null }, - "start": 7330, - "end": 7331, + "start": 6861, + "end": 6862, "loc": { "start": { - "line": 335, - "column": 12 + "line": 317, + "column": 10 }, "end": { - "line": 335, - "column": 13 + "line": 317, + "column": 11 } } }, @@ -82542,16 +82134,16 @@ "binop": null }, "value": "r", - "start": 7332, - "end": 7333, + "start": 6863, + "end": 6864, "loc": { "start": { - "line": 335, - "column": 14 + "line": 317, + "column": 12 }, "end": { - "line": 335, - "column": 15 + "line": 317, + "column": 13 } } }, @@ -82568,16 +82160,16 @@ "binop": null, "updateContext": null }, - "start": 7334, - "end": 7335, + "start": 6864, + "end": 6865, "loc": { "start": { - "line": 335, - "column": 16 + "line": 317, + "column": 13 }, "end": { - "line": 335, - "column": 17 + "line": 317, + "column": 14 } } }, @@ -82595,16 +82187,16 @@ "updateContext": null }, "value": "=", - "start": 7336, - "end": 7337, + "start": 6866, + "end": 6867, "loc": { "start": { - "line": 335, - "column": 18 + "line": 317, + "column": 15 }, "end": { - "line": 335, - "column": 19 + "line": 317, + "column": 16 } } }, @@ -82623,16 +82215,16 @@ "updateContext": null }, "value": "this", - "start": 7338, - "end": 7342, + "start": 6868, + "end": 6872, "loc": { "start": { - "line": 335, - "column": 20 + "line": 317, + "column": 17 }, "end": { - "line": 335, - "column": 24 + "line": 317, + "column": 21 } } }, @@ -82649,16 +82241,16 @@ "binop": null, "updateContext": null }, - "start": 7342, - "end": 7343, + "start": 6872, + "end": 6873, "loc": { "start": { - "line": 335, - "column": 24 + "line": 317, + "column": 21 }, "end": { - "line": 335, - "column": 25 + "line": 317, + "column": 22 } } }, @@ -82675,16 +82267,16 @@ "binop": null }, "value": "divmod", - "start": 7343, - "end": 7349, + "start": 6873, + "end": 6879, "loc": { "start": { - "line": 335, - "column": 25 + "line": 317, + "column": 22 }, "end": { - "line": 335, - "column": 31 + "line": 317, + "column": 28 } } }, @@ -82700,16 +82292,16 @@ "postfix": false, "binop": null }, - "start": 7349, - "end": 7350, + "start": 6879, + "end": 6880, "loc": { "start": { - "line": 335, - "column": 31 + "line": 317, + "column": 28 }, "end": { - "line": 335, - "column": 32 + "line": 317, + "column": 29 } } }, @@ -82726,16 +82318,16 @@ "binop": null }, "value": "other", - "start": 7350, - "end": 7355, + "start": 6880, + "end": 6885, "loc": { "start": { - "line": 335, - "column": 32 + "line": 317, + "column": 29 }, "end": { - "line": 335, - "column": 37 + "line": 317, + "column": 34 } } }, @@ -82751,16 +82343,16 @@ "postfix": false, "binop": null }, - "start": 7355, - "end": 7356, + "start": 6885, + "end": 6886, "loc": { "start": { - "line": 335, - "column": 37 + "line": 317, + "column": 34 }, "end": { - "line": 335, - "column": 38 + "line": 317, + "column": 35 } } }, @@ -82777,16 +82369,16 @@ "binop": null, "updateContext": null }, - "start": 7357, - "end": 7358, + "start": 6886, + "end": 6887, "loc": { "start": { - "line": 335, - "column": 39 + "line": 317, + "column": 35 }, "end": { - "line": 335, - "column": 40 + "line": 317, + "column": 36 } } }, @@ -82805,15 +82397,15 @@ "updateContext": null }, "value": "return", - "start": 7361, - "end": 7367, + "start": 6890, + "end": 6896, "loc": { "start": { - "line": 336, + "line": 318, "column": 2 }, "end": { - "line": 336, + "line": 318, "column": 8 } } @@ -82831,15 +82423,15 @@ "binop": null, "updateContext": null }, - "start": 7368, - "end": 7369, + "start": 6897, + "end": 6898, "loc": { "start": { - "line": 336, + "line": 318, "column": 9 }, "end": { - "line": 336, + "line": 318, "column": 10 } } @@ -82857,16 +82449,16 @@ "binop": null }, "value": "q", - "start": 7370, - "end": 7371, + "start": 6898, + "end": 6899, "loc": { "start": { - "line": 336, - "column": 11 + "line": 318, + "column": 10 }, "end": { - "line": 336, - "column": 12 + "line": 318, + "column": 11 } } }, @@ -82883,16 +82475,16 @@ "binop": null, "updateContext": null }, - "start": 7372, - "end": 7373, + "start": 6899, + "end": 6900, "loc": { "start": { - "line": 336, - "column": 13 + "line": 318, + "column": 11 }, "end": { - "line": 336, - "column": 14 + "line": 318, + "column": 12 } } }, @@ -82909,16 +82501,16 @@ "binop": null }, "value": "r", - "start": 7374, - "end": 7375, + "start": 6901, + "end": 6902, "loc": { "start": { - "line": 336, - "column": 15 + "line": 318, + "column": 13 }, "end": { - "line": 336, - "column": 16 + "line": 318, + "column": 14 } } }, @@ -82935,16 +82527,16 @@ "binop": null, "updateContext": null }, - "start": 7375, - "end": 7376, + "start": 6902, + "end": 6903, "loc": { "start": { - "line": 336, - "column": 16 + "line": 318, + "column": 14 }, "end": { - "line": 336, - "column": 17 + "line": 318, + "column": 15 } } }, @@ -82961,16 +82553,16 @@ "binop": null }, "value": "move", - "start": 7376, - "end": 7380, + "start": 6903, + "end": 6907, "loc": { "start": { - "line": 336, - "column": 17 + "line": 318, + "column": 15 }, "end": { - "line": 336, - "column": 21 + "line": 318, + "column": 19 } } }, @@ -82986,16 +82578,16 @@ "postfix": false, "binop": null }, - "start": 7380, - "end": 7381, + "start": 6907, + "end": 6908, "loc": { "start": { - "line": 336, - "column": 21 + "line": 318, + "column": 19 }, "end": { - "line": 336, - "column": 22 + "line": 318, + "column": 20 } } }, @@ -83014,16 +82606,16 @@ "updateContext": null }, "value": "this", - "start": 7381, - "end": 7385, + "start": 6908, + "end": 6912, "loc": { "start": { - "line": 336, - "column": 22 + "line": 318, + "column": 20 }, "end": { - "line": 336, - "column": 26 + "line": 318, + "column": 24 } } }, @@ -83039,16 +82631,16 @@ "postfix": false, "binop": null }, - "start": 7385, - "end": 7386, + "start": 6912, + "end": 6913, "loc": { "start": { - "line": 336, - "column": 26 + "line": 318, + "column": 24 }, "end": { - "line": 336, - "column": 27 + "line": 318, + "column": 25 } } }, @@ -83065,16 +82657,16 @@ "binop": null, "updateContext": null }, - "start": 7387, - "end": 7388, + "start": 6913, + "end": 6914, "loc": { "start": { - "line": 336, - "column": 28 + "line": 318, + "column": 25 }, "end": { - "line": 336, - "column": 29 + "line": 318, + "column": 26 } } }, @@ -83091,16 +82683,16 @@ "binop": null, "updateContext": null }, - "start": 7389, - "end": 7390, + "start": 6914, + "end": 6915, "loc": { "start": { - "line": 336, - "column": 30 + "line": 318, + "column": 26 }, "end": { - "line": 336, - "column": 31 + "line": 318, + "column": 27 } } }, @@ -83116,15 +82708,15 @@ "postfix": false, "binop": null }, - "start": 7392, - "end": 7393, + "start": 6917, + "end": 6918, "loc": { "start": { - "line": 337, + "line": 319, "column": 1 }, "end": { - "line": 337, + "line": 319, "column": 2 } } @@ -83142,15 +82734,15 @@ "binop": null }, "value": "divmodn", - "start": 7396, - "end": 7403, + "start": 6921, + "end": 6928, "loc": { "start": { - "line": 339, + "line": 321, "column": 1 }, "end": { - "line": 339, + "line": 321, "column": 8 } } @@ -83167,16 +82759,16 @@ "postfix": false, "binop": null }, - "start": 7404, - "end": 7405, + "start": 6928, + "end": 6929, "loc": { "start": { - "line": 339, - "column": 9 + "line": 321, + "column": 8 }, "end": { - "line": 339, - "column": 10 + "line": 321, + "column": 9 } } }, @@ -83193,16 +82785,16 @@ "binop": null }, "value": "number", - "start": 7406, - "end": 7412, + "start": 6929, + "end": 6935, "loc": { "start": { - "line": 339, - "column": 11 + "line": 321, + "column": 9 }, "end": { - "line": 339, - "column": 17 + "line": 321, + "column": 15 } } }, @@ -83218,16 +82810,16 @@ "postfix": false, "binop": null }, - "start": 7413, - "end": 7414, + "start": 6935, + "end": 6936, "loc": { "start": { - "line": 339, - "column": 18 + "line": 321, + "column": 15 }, "end": { - "line": 339, - "column": 19 + "line": 321, + "column": 16 } } }, @@ -83243,16 +82835,16 @@ "postfix": false, "binop": null }, - "start": 7415, - "end": 7416, + "start": 6937, + "end": 6938, "loc": { "start": { - "line": 339, - "column": 20 + "line": 321, + "column": 17 }, "end": { - "line": 339, - "column": 21 + "line": 321, + "column": 18 } } }, @@ -83271,15 +82863,15 @@ "updateContext": null }, "value": "return", - "start": 7419, - "end": 7425, + "start": 6941, + "end": 6947, "loc": { "start": { - "line": 340, + "line": 322, "column": 2 }, "end": { - "line": 340, + "line": 322, "column": 8 } } @@ -83299,15 +82891,15 @@ "updateContext": null }, "value": "this", - "start": 7426, - "end": 7430, + "start": 6948, + "end": 6952, "loc": { "start": { - "line": 340, + "line": 322, "column": 9 }, "end": { - "line": 340, + "line": 322, "column": 13 } } @@ -83325,15 +82917,15 @@ "binop": null, "updateContext": null }, - "start": 7430, - "end": 7431, + "start": 6952, + "end": 6953, "loc": { "start": { - "line": 340, + "line": 322, "column": 13 }, "end": { - "line": 340, + "line": 322, "column": 14 } } @@ -83351,15 +82943,15 @@ "binop": null }, "value": "divmod", - "start": 7431, - "end": 7437, + "start": 6953, + "end": 6959, "loc": { "start": { - "line": 340, + "line": 322, "column": 14 }, "end": { - "line": 340, + "line": 322, "column": 20 } } @@ -83376,15 +82968,15 @@ "postfix": false, "binop": null }, - "start": 7437, - "end": 7438, + "start": 6959, + "end": 6960, "loc": { "start": { - "line": 340, + "line": 322, "column": 20 }, "end": { - "line": 340, + "line": 322, "column": 21 } } @@ -83402,15 +82994,15 @@ "binop": null }, "value": "_from_number", - "start": 7438, - "end": 7450, + "start": 6960, + "end": 6972, "loc": { "start": { - "line": 340, + "line": 322, "column": 21 }, "end": { - "line": 340, + "line": 322, "column": 33 } } @@ -83427,15 +83019,15 @@ "postfix": false, "binop": null }, - "start": 7450, - "end": 7451, + "start": 6972, + "end": 6973, "loc": { "start": { - "line": 340, + "line": 322, "column": 33 }, "end": { - "line": 340, + "line": 322, "column": 34 } } @@ -83453,15 +83045,15 @@ "binop": null }, "value": "number", - "start": 7451, - "end": 7457, + "start": 6973, + "end": 6979, "loc": { "start": { - "line": 340, + "line": 322, "column": 34 }, "end": { - "line": 340, + "line": 322, "column": 40 } } @@ -83478,15 +83070,15 @@ "postfix": false, "binop": null }, - "start": 7457, - "end": 7458, + "start": 6979, + "end": 6980, "loc": { "start": { - "line": 340, + "line": 322, "column": 40 }, "end": { - "line": 340, + "line": 322, "column": 41 } } @@ -83503,15 +83095,15 @@ "postfix": false, "binop": null }, - "start": 7458, - "end": 7459, + "start": 6980, + "end": 6981, "loc": { "start": { - "line": 340, + "line": 322, "column": 41 }, "end": { - "line": 340, + "line": 322, "column": 42 } } @@ -83529,16 +83121,16 @@ "binop": null, "updateContext": null }, - "start": 7460, - "end": 7461, + "start": 6981, + "end": 6982, "loc": { "start": { - "line": 340, - "column": 43 + "line": 322, + "column": 42 }, "end": { - "line": 340, - "column": 44 + "line": 322, + "column": 43 } } }, @@ -83554,15 +83146,15 @@ "postfix": false, "binop": null }, - "start": 7463, - "end": 7464, + "start": 6984, + "end": 6985, "loc": { "start": { - "line": 341, + "line": 323, "column": 1 }, "end": { - "line": 341, + "line": 323, "column": 2 } } @@ -83580,15 +83172,15 @@ "binop": null }, "value": "idivmodn", - "start": 7467, - "end": 7475, + "start": 6988, + "end": 6996, "loc": { "start": { - "line": 343, + "line": 325, "column": 1 }, "end": { - "line": 343, + "line": 325, "column": 9 } } @@ -83605,16 +83197,16 @@ "postfix": false, "binop": null }, - "start": 7476, - "end": 7477, + "start": 6996, + "end": 6997, "loc": { "start": { - "line": 343, - "column": 10 + "line": 325, + "column": 9 }, "end": { - "line": 343, - "column": 11 + "line": 325, + "column": 10 } } }, @@ -83631,16 +83223,16 @@ "binop": null }, "value": "number", - "start": 7478, - "end": 7484, + "start": 6997, + "end": 7003, "loc": { "start": { - "line": 343, - "column": 12 + "line": 325, + "column": 10 }, "end": { - "line": 343, - "column": 18 + "line": 325, + "column": 16 } } }, @@ -83656,16 +83248,16 @@ "postfix": false, "binop": null }, - "start": 7485, - "end": 7486, + "start": 7003, + "end": 7004, "loc": { "start": { - "line": 343, - "column": 19 + "line": 325, + "column": 16 }, "end": { - "line": 343, - "column": 20 + "line": 325, + "column": 17 } } }, @@ -83681,16 +83273,16 @@ "postfix": false, "binop": null }, - "start": 7487, - "end": 7488, + "start": 7005, + "end": 7006, "loc": { "start": { - "line": 343, - "column": 21 + "line": 325, + "column": 18 }, "end": { - "line": 343, - "column": 22 + "line": 325, + "column": 19 } } }, @@ -83709,15 +83301,15 @@ "updateContext": null }, "value": "const", - "start": 7491, - "end": 7496, + "start": 7009, + "end": 7014, "loc": { "start": { - "line": 344, + "line": 326, "column": 2 }, "end": { - "line": 344, + "line": 326, "column": 7 } } @@ -83735,15 +83327,15 @@ "binop": null, "updateContext": null }, - "start": 7497, - "end": 7498, + "start": 7015, + "end": 7016, "loc": { "start": { - "line": 344, + "line": 326, "column": 8 }, "end": { - "line": 344, + "line": 326, "column": 9 } } @@ -83761,16 +83353,16 @@ "binop": null }, "value": "q", - "start": 7499, - "end": 7500, + "start": 7016, + "end": 7017, "loc": { "start": { - "line": 344, - "column": 10 + "line": 326, + "column": 9 }, "end": { - "line": 344, - "column": 11 + "line": 326, + "column": 10 } } }, @@ -83787,16 +83379,16 @@ "binop": null, "updateContext": null }, - "start": 7501, - "end": 7502, + "start": 7017, + "end": 7018, "loc": { "start": { - "line": 344, - "column": 12 + "line": 326, + "column": 10 }, "end": { - "line": 344, - "column": 13 + "line": 326, + "column": 11 } } }, @@ -83813,16 +83405,16 @@ "binop": null }, "value": "r", - "start": 7503, - "end": 7504, + "start": 7019, + "end": 7020, "loc": { "start": { - "line": 344, - "column": 14 + "line": 326, + "column": 12 }, "end": { - "line": 344, - "column": 15 + "line": 326, + "column": 13 } } }, @@ -83839,16 +83431,16 @@ "binop": null, "updateContext": null }, - "start": 7505, - "end": 7506, + "start": 7020, + "end": 7021, "loc": { "start": { - "line": 344, - "column": 16 + "line": 326, + "column": 13 }, "end": { - "line": 344, - "column": 17 + "line": 326, + "column": 14 } } }, @@ -83866,16 +83458,16 @@ "updateContext": null }, "value": "=", - "start": 7507, - "end": 7508, + "start": 7022, + "end": 7023, "loc": { "start": { - "line": 344, - "column": 18 + "line": 326, + "column": 15 }, "end": { - "line": 344, - "column": 19 + "line": 326, + "column": 16 } } }, @@ -83894,16 +83486,16 @@ "updateContext": null }, "value": "this", - "start": 7509, - "end": 7513, + "start": 7024, + "end": 7028, "loc": { "start": { - "line": 344, - "column": 20 + "line": 326, + "column": 17 }, "end": { - "line": 344, - "column": 24 + "line": 326, + "column": 21 } } }, @@ -83920,16 +83512,16 @@ "binop": null, "updateContext": null }, - "start": 7513, - "end": 7514, + "start": 7028, + "end": 7029, "loc": { "start": { - "line": 344, - "column": 24 + "line": 326, + "column": 21 }, "end": { - "line": 344, - "column": 25 + "line": 326, + "column": 22 } } }, @@ -83946,16 +83538,16 @@ "binop": null }, "value": "divmodn", - "start": 7514, - "end": 7521, + "start": 7029, + "end": 7036, "loc": { "start": { - "line": 344, - "column": 25 + "line": 326, + "column": 22 }, "end": { - "line": 344, - "column": 32 + "line": 326, + "column": 29 } } }, @@ -83971,16 +83563,16 @@ "postfix": false, "binop": null }, - "start": 7521, - "end": 7522, + "start": 7036, + "end": 7037, "loc": { "start": { - "line": 344, - "column": 32 + "line": 326, + "column": 29 }, "end": { - "line": 344, - "column": 33 + "line": 326, + "column": 30 } } }, @@ -83997,16 +83589,16 @@ "binop": null }, "value": "number", - "start": 7522, - "end": 7528, + "start": 7037, + "end": 7043, "loc": { "start": { - "line": 344, - "column": 33 + "line": 326, + "column": 30 }, "end": { - "line": 344, - "column": 39 + "line": 326, + "column": 36 } } }, @@ -84022,16 +83614,16 @@ "postfix": false, "binop": null }, - "start": 7528, - "end": 7529, + "start": 7043, + "end": 7044, "loc": { "start": { - "line": 344, - "column": 39 + "line": 326, + "column": 36 }, "end": { - "line": 344, - "column": 40 + "line": 326, + "column": 37 } } }, @@ -84048,16 +83640,16 @@ "binop": null, "updateContext": null }, - "start": 7530, - "end": 7531, + "start": 7044, + "end": 7045, "loc": { "start": { - "line": 344, - "column": 41 + "line": 326, + "column": 37 }, "end": { - "line": 344, - "column": 42 + "line": 326, + "column": 38 } } }, @@ -84076,15 +83668,15 @@ "updateContext": null }, "value": "return", - "start": 7534, - "end": 7540, + "start": 7048, + "end": 7054, "loc": { "start": { - "line": 345, + "line": 327, "column": 2 }, "end": { - "line": 345, + "line": 327, "column": 8 } } @@ -84102,15 +83694,15 @@ "binop": null, "updateContext": null }, - "start": 7541, - "end": 7542, + "start": 7055, + "end": 7056, "loc": { "start": { - "line": 345, + "line": 327, "column": 9 }, "end": { - "line": 345, + "line": 327, "column": 10 } } @@ -84128,16 +83720,16 @@ "binop": null }, "value": "q", - "start": 7543, - "end": 7544, + "start": 7056, + "end": 7057, "loc": { "start": { - "line": 345, - "column": 11 + "line": 327, + "column": 10 }, "end": { - "line": 345, - "column": 12 + "line": 327, + "column": 11 } } }, @@ -84154,16 +83746,16 @@ "binop": null, "updateContext": null }, - "start": 7545, - "end": 7546, + "start": 7057, + "end": 7058, "loc": { "start": { - "line": 345, - "column": 13 + "line": 327, + "column": 11 }, "end": { - "line": 345, - "column": 14 + "line": 327, + "column": 12 } } }, @@ -84180,16 +83772,16 @@ "binop": null }, "value": "r", - "start": 7547, - "end": 7548, + "start": 7059, + "end": 7060, "loc": { "start": { - "line": 345, - "column": 15 + "line": 327, + "column": 13 }, "end": { - "line": 345, - "column": 16 + "line": 327, + "column": 14 } } }, @@ -84206,16 +83798,16 @@ "binop": null, "updateContext": null }, - "start": 7548, - "end": 7549, + "start": 7060, + "end": 7061, "loc": { "start": { - "line": 345, - "column": 16 + "line": 327, + "column": 14 }, "end": { - "line": 345, - "column": 17 + "line": 327, + "column": 15 } } }, @@ -84232,16 +83824,16 @@ "binop": null }, "value": "move", - "start": 7549, - "end": 7553, + "start": 7061, + "end": 7065, "loc": { "start": { - "line": 345, - "column": 17 + "line": 327, + "column": 15 }, "end": { - "line": 345, - "column": 21 + "line": 327, + "column": 19 } } }, @@ -84257,16 +83849,16 @@ "postfix": false, "binop": null }, - "start": 7553, - "end": 7554, + "start": 7065, + "end": 7066, "loc": { "start": { - "line": 345, - "column": 21 + "line": 327, + "column": 19 }, "end": { - "line": 345, - "column": 22 + "line": 327, + "column": 20 } } }, @@ -84285,16 +83877,16 @@ "updateContext": null }, "value": "this", - "start": 7554, - "end": 7558, + "start": 7066, + "end": 7070, "loc": { "start": { - "line": 345, - "column": 22 + "line": 327, + "column": 20 }, "end": { - "line": 345, - "column": 26 + "line": 327, + "column": 24 } } }, @@ -84310,16 +83902,16 @@ "postfix": false, "binop": null }, - "start": 7558, - "end": 7559, + "start": 7070, + "end": 7071, "loc": { "start": { - "line": 345, - "column": 26 + "line": 327, + "column": 24 }, "end": { - "line": 345, - "column": 27 + "line": 327, + "column": 25 } } }, @@ -84336,16 +83928,16 @@ "binop": null, "updateContext": null }, - "start": 7560, - "end": 7561, + "start": 7071, + "end": 7072, "loc": { "start": { - "line": 345, - "column": 28 + "line": 327, + "column": 25 }, "end": { - "line": 345, - "column": 29 + "line": 327, + "column": 26 } } }, @@ -84362,16 +83954,16 @@ "binop": null, "updateContext": null }, - "start": 7562, - "end": 7563, + "start": 7072, + "end": 7073, "loc": { "start": { - "line": 345, - "column": 30 + "line": 327, + "column": 26 }, "end": { - "line": 345, - "column": 31 + "line": 327, + "column": 27 } } }, @@ -84387,15 +83979,15 @@ "postfix": false, "binop": null }, - "start": 7565, - "end": 7566, + "start": 7075, + "end": 7076, "loc": { "start": { - "line": 346, + "line": 328, "column": 1 }, "end": { - "line": 346, + "line": 328, "column": 2 } } @@ -84413,15 +84005,15 @@ "binop": null }, "value": "opposite", - "start": 7569, - "end": 7577, + "start": 7079, + "end": 7087, "loc": { "start": { - "line": 348, + "line": 330, "column": 1 }, "end": { - "line": 348, + "line": 330, "column": 9 } } @@ -84438,16 +84030,16 @@ "postfix": false, "binop": null }, - "start": 7578, - "end": 7579, + "start": 7087, + "end": 7088, "loc": { "start": { - "line": 348, - "column": 10 + "line": 330, + "column": 9 }, "end": { - "line": 348, - "column": 11 + "line": 330, + "column": 10 } } }, @@ -84463,16 +84055,16 @@ "postfix": false, "binop": null }, - "start": 7580, - "end": 7581, + "start": 7088, + "end": 7089, "loc": { "start": { - "line": 348, - "column": 12 + "line": 330, + "column": 10 }, "end": { - "line": 348, - "column": 13 + "line": 330, + "column": 11 } } }, @@ -84488,16 +84080,16 @@ "postfix": false, "binop": null }, - "start": 7582, - "end": 7583, + "start": 7090, + "end": 7091, "loc": { "start": { - "line": 348, - "column": 14 + "line": 330, + "column": 12 }, "end": { - "line": 348, - "column": 15 + "line": 330, + "column": 13 } } }, @@ -84516,15 +84108,15 @@ "updateContext": null }, "value": "return", - "start": 7586, - "end": 7592, + "start": 7094, + "end": 7100, "loc": { "start": { - "line": 349, + "line": 331, "column": 2 }, "end": { - "line": 349, + "line": 331, "column": 8 } } @@ -84544,15 +84136,15 @@ "updateContext": null }, "value": "new", - "start": 7593, - "end": 7596, + "start": 7101, + "end": 7104, "loc": { "start": { - "line": 349, + "line": 331, "column": 9 }, "end": { - "line": 349, + "line": 331, "column": 12 } } @@ -84570,15 +84162,15 @@ "binop": null }, "value": "Integer", - "start": 7597, - "end": 7604, + "start": 7105, + "end": 7112, "loc": { "start": { - "line": 349, + "line": 331, "column": 13 }, "end": { - "line": 349, + "line": 331, "column": 20 } } @@ -84595,15 +84187,15 @@ "postfix": false, "binop": null }, - "start": 7604, - "end": 7605, + "start": 7112, + "end": 7113, "loc": { "start": { - "line": 349, + "line": 331, "column": 20 }, "end": { - "line": 349, + "line": 331, "column": 21 } } @@ -84623,16 +84215,16 @@ "updateContext": null }, "value": "this", - "start": 7606, - "end": 7610, + "start": 7113, + "end": 7117, "loc": { "start": { - "line": 349, - "column": 22 + "line": 331, + "column": 21 }, "end": { - "line": 349, - "column": 26 + "line": 331, + "column": 25 } } }, @@ -84649,16 +84241,16 @@ "binop": null, "updateContext": null }, - "start": 7610, - "end": 7611, + "start": 7117, + "end": 7118, "loc": { "start": { - "line": 349, - "column": 26 + "line": 331, + "column": 25 }, "end": { - "line": 349, - "column": 27 + "line": 331, + "column": 26 } } }, @@ -84674,16 +84266,16 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 7611, - "end": 7615, + "value": "_base", + "start": 7118, + "end": 7123, "loc": { "start": { - "line": 349, - "column": 27 + "line": 331, + "column": 26 }, "end": { - "line": 349, + "line": 331, "column": 31 } } @@ -84701,16 +84293,16 @@ "binop": null, "updateContext": null }, - "start": 7616, - "end": 7617, + "start": 7123, + "end": 7124, "loc": { "start": { - "line": 349, - "column": 32 + "line": 331, + "column": 31 }, "end": { - "line": 349, - "column": 33 + "line": 331, + "column": 32 } } }, @@ -84728,16 +84320,16 @@ "updateContext": null }, "value": "~", - "start": 7618, - "end": 7619, + "start": 7125, + "end": 7126, "loc": { "start": { - "line": 349, - "column": 34 + "line": 331, + "column": 33 }, "end": { - "line": 349, - "column": 35 + "line": 331, + "column": 34 } } }, @@ -84756,16 +84348,16 @@ "updateContext": null }, "value": "this", - "start": 7619, - "end": 7623, + "start": 7126, + "end": 7130, "loc": { "start": { - "line": 349, - "column": 35 + "line": 331, + "column": 34 }, "end": { - "line": 349, - "column": 39 + "line": 331, + "column": 38 } } }, @@ -84782,16 +84374,16 @@ "binop": null, "updateContext": null }, - "start": 7623, - "end": 7624, + "start": 7130, + "end": 7131, "loc": { "start": { - "line": 349, - "column": 39 + "line": 331, + "column": 38 }, "end": { - "line": 349, - "column": 40 + "line": 331, + "column": 39 } } }, @@ -84807,16 +84399,16 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 7624, - "end": 7635, + "value": "_is_negative", + "start": 7131, + "end": 7143, "loc": { "start": { - "line": 349, - "column": 40 + "line": 331, + "column": 39 }, "end": { - "line": 349, + "line": 331, "column": 51 } } @@ -84834,16 +84426,16 @@ "binop": null, "updateContext": null }, - "start": 7636, - "end": 7637, + "start": 7143, + "end": 7144, "loc": { "start": { - "line": 349, - "column": 52 + "line": 331, + "column": 51 }, "end": { - "line": 349, - "column": 53 + "line": 331, + "column": 52 } } }, @@ -84862,16 +84454,16 @@ "updateContext": null }, "value": "this", - "start": 7638, - "end": 7642, + "start": 7145, + "end": 7149, "loc": { "start": { - "line": 349, - "column": 54 + "line": 331, + "column": 53 }, "end": { - "line": 349, - "column": 58 + "line": 331, + "column": 57 } } }, @@ -84888,16 +84480,16 @@ "binop": null, "updateContext": null }, - "start": 7642, - "end": 7643, + "start": 7149, + "end": 7150, "loc": { "start": { - "line": 349, - "column": 58 + "line": 331, + "column": 57 }, "end": { - "line": 349, - "column": 59 + "line": 331, + "column": 58 } } }, @@ -84913,16 +84505,16 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 7643, - "end": 7648, + "value": "_limbs", + "start": 7150, + "end": 7156, "loc": { "start": { - "line": 349, - "column": 59 + "line": 331, + "column": 58 }, "end": { - "line": 349, + "line": 331, "column": 64 } } @@ -84939,16 +84531,16 @@ "postfix": false, "binop": null }, - "start": 7649, - "end": 7650, + "start": 7156, + "end": 7157, "loc": { "start": { - "line": 349, - "column": 65 + "line": 331, + "column": 64 }, "end": { - "line": 349, - "column": 66 + "line": 331, + "column": 65 } } }, @@ -84965,16 +84557,16 @@ "binop": null, "updateContext": null }, - "start": 7651, - "end": 7652, + "start": 7157, + "end": 7158, "loc": { "start": { - "line": 349, - "column": 67 + "line": 331, + "column": 65 }, "end": { - "line": 349, - "column": 68 + "line": 331, + "column": 66 } } }, @@ -84990,15 +84582,15 @@ "postfix": false, "binop": null }, - "start": 7654, - "end": 7655, + "start": 7160, + "end": 7161, "loc": { "start": { - "line": 350, + "line": 332, "column": 1 }, "end": { - "line": 350, + "line": 332, "column": 2 } } @@ -85016,15 +84608,15 @@ "binop": null }, "value": "negate", - "start": 7658, - "end": 7664, + "start": 7164, + "end": 7170, "loc": { "start": { - "line": 352, + "line": 334, "column": 1 }, "end": { - "line": 352, + "line": 334, "column": 7 } } @@ -85041,16 +84633,16 @@ "postfix": false, "binop": null }, - "start": 7665, - "end": 7666, + "start": 7170, + "end": 7171, "loc": { "start": { - "line": 352, - "column": 8 + "line": 334, + "column": 7 }, "end": { - "line": 352, - "column": 9 + "line": 334, + "column": 8 } } }, @@ -85066,16 +84658,16 @@ "postfix": false, "binop": null }, - "start": 7667, - "end": 7668, + "start": 7171, + "end": 7172, "loc": { "start": { - "line": 352, - "column": 10 + "line": 334, + "column": 8 }, "end": { - "line": 352, - "column": 11 + "line": 334, + "column": 9 } } }, @@ -85091,31 +84683,31 @@ "postfix": false, "binop": null }, - "start": 7669, - "end": 7670, + "start": 7173, + "end": 7174, "loc": { "start": { - "line": 352, - "column": 12 + "line": 334, + "column": 10 }, "end": { - "line": 352, - "column": 13 + "line": 334, + "column": 11 } } }, { "type": "CommentLine", "value": " TODO optimize but be careful with side effects", - "start": 7673, - "end": 7722, + "start": 7177, + "end": 7226, "loc": { "start": { - "line": 353, + "line": 335, "column": 2 }, "end": { - "line": 353, + "line": 335, "column": 51 } } @@ -85135,15 +84727,15 @@ "updateContext": null }, "value": "return", - "start": 7725, - "end": 7731, + "start": 7229, + "end": 7235, "loc": { "start": { - "line": 354, + "line": 336, "column": 2 }, "end": { - "line": 354, + "line": 336, "column": 8 } } @@ -85163,15 +84755,15 @@ "updateContext": null }, "value": "this", - "start": 7732, - "end": 7736, + "start": 7236, + "end": 7240, "loc": { "start": { - "line": 354, + "line": 336, "column": 9 }, "end": { - "line": 354, + "line": 336, "column": 13 } } @@ -85189,15 +84781,15 @@ "binop": null, "updateContext": null }, - "start": 7736, - "end": 7737, + "start": 7240, + "end": 7241, "loc": { "start": { - "line": 354, + "line": 336, "column": 13 }, "end": { - "line": 354, + "line": 336, "column": 14 } } @@ -85215,15 +84807,15 @@ "binop": null }, "value": "opposite", - "start": 7737, - "end": 7745, + "start": 7241, + "end": 7249, "loc": { "start": { - "line": 354, + "line": 336, "column": 14 }, "end": { - "line": 354, + "line": 336, "column": 22 } } @@ -85240,15 +84832,15 @@ "postfix": false, "binop": null }, - "start": 7745, - "end": 7746, + "start": 7249, + "end": 7250, "loc": { "start": { - "line": 354, + "line": 336, "column": 22 }, "end": { - "line": 354, + "line": 336, "column": 23 } } @@ -85265,15 +84857,15 @@ "postfix": false, "binop": null }, - "start": 7746, - "end": 7747, + "start": 7250, + "end": 7251, "loc": { "start": { - "line": 354, + "line": 336, "column": 23 }, "end": { - "line": 354, + "line": 336, "column": 24 } } @@ -85291,15 +84883,15 @@ "binop": null, "updateContext": null }, - "start": 7747, - "end": 7748, + "start": 7251, + "end": 7252, "loc": { "start": { - "line": 354, + "line": 336, "column": 24 }, "end": { - "line": 354, + "line": 336, "column": 25 } } @@ -85317,15 +84909,15 @@ "binop": null }, "value": "move", - "start": 7748, - "end": 7752, + "start": 7252, + "end": 7256, "loc": { "start": { - "line": 354, + "line": 336, "column": 25 }, "end": { - "line": 354, + "line": 336, "column": 29 } } @@ -85342,15 +84934,15 @@ "postfix": false, "binop": null }, - "start": 7752, - "end": 7753, + "start": 7256, + "end": 7257, "loc": { "start": { - "line": 354, + "line": 336, "column": 29 }, "end": { - "line": 354, + "line": 336, "column": 30 } } @@ -85370,15 +84962,15 @@ "updateContext": null }, "value": "this", - "start": 7753, - "end": 7757, + "start": 7257, + "end": 7261, "loc": { "start": { - "line": 354, + "line": 336, "column": 30 }, "end": { - "line": 354, + "line": 336, "column": 34 } } @@ -85395,15 +84987,15 @@ "postfix": false, "binop": null }, - "start": 7757, - "end": 7758, + "start": 7261, + "end": 7262, "loc": { "start": { - "line": 354, + "line": 336, "column": 34 }, "end": { - "line": 354, + "line": 336, "column": 35 } } @@ -85421,15 +85013,15 @@ "binop": null, "updateContext": null }, - "start": 7758, - "end": 7759, + "start": 7262, + "end": 7263, "loc": { "start": { - "line": 354, + "line": 336, "column": 35 }, "end": { - "line": 354, + "line": 336, "column": 36 } } @@ -85446,15 +85038,15 @@ "postfix": false, "binop": null }, - "start": 7761, - "end": 7762, + "start": 7265, + "end": 7266, "loc": { "start": { - "line": 355, + "line": 337, "column": 1 }, "end": { - "line": 355, + "line": 337, "column": 2 } } @@ -85472,15 +85064,15 @@ "binop": null }, "value": "abs", - "start": 7765, - "end": 7768, + "start": 7269, + "end": 7272, "loc": { "start": { - "line": 357, + "line": 339, "column": 1 }, "end": { - "line": 357, + "line": 339, "column": 4 } } @@ -85497,16 +85089,16 @@ "postfix": false, "binop": null }, - "start": 7769, - "end": 7770, + "start": 7272, + "end": 7273, "loc": { "start": { - "line": 357, - "column": 5 + "line": 339, + "column": 4 }, "end": { - "line": 357, - "column": 6 + "line": 339, + "column": 5 } } }, @@ -85522,16 +85114,16 @@ "postfix": false, "binop": null }, - "start": 7771, - "end": 7772, + "start": 7273, + "end": 7274, "loc": { "start": { - "line": 357, - "column": 7 + "line": 339, + "column": 5 }, "end": { - "line": 357, - "column": 8 + "line": 339, + "column": 6 } } }, @@ -85547,16 +85139,16 @@ "postfix": false, "binop": null }, - "start": 7773, - "end": 7774, + "start": 7275, + "end": 7276, "loc": { "start": { - "line": 357, - "column": 9 + "line": 339, + "column": 7 }, "end": { - "line": 357, - "column": 10 + "line": 339, + "column": 8 } } }, @@ -85575,15 +85167,15 @@ "updateContext": null }, "value": "return", - "start": 7777, - "end": 7783, + "start": 7279, + "end": 7285, "loc": { "start": { - "line": 358, + "line": 340, "column": 2 }, "end": { - "line": 358, + "line": 340, "column": 8 } } @@ -85603,15 +85195,15 @@ "updateContext": null }, "value": "this", - "start": 7784, - "end": 7788, + "start": 7286, + "end": 7290, "loc": { "start": { - "line": 358, + "line": 340, "column": 9 }, "end": { - "line": 358, + "line": 340, "column": 13 } } @@ -85629,15 +85221,15 @@ "binop": null, "updateContext": null }, - "start": 7788, - "end": 7789, + "start": 7290, + "end": 7291, "loc": { "start": { - "line": 358, + "line": 340, "column": 13 }, "end": { - "line": 358, + "line": 340, "column": 14 } } @@ -85655,15 +85247,15 @@ "binop": null }, "value": "sign", - "start": 7789, - "end": 7793, + "start": 7291, + "end": 7295, "loc": { "start": { - "line": 358, + "line": 340, "column": 14 }, "end": { - "line": 358, + "line": 340, "column": 18 } } @@ -85680,15 +85272,15 @@ "postfix": false, "binop": null }, - "start": 7793, - "end": 7794, + "start": 7295, + "end": 7296, "loc": { "start": { - "line": 358, + "line": 340, "column": 18 }, "end": { - "line": 358, + "line": 340, "column": 19 } } @@ -85705,15 +85297,15 @@ "postfix": false, "binop": null }, - "start": 7794, - "end": 7795, + "start": 7296, + "end": 7297, "loc": { "start": { - "line": 358, + "line": 340, "column": 19 }, "end": { - "line": 358, + "line": 340, "column": 20 } } @@ -85732,15 +85324,15 @@ "updateContext": null }, "value": ">=", - "start": 7796, - "end": 7798, + "start": 7298, + "end": 7300, "loc": { "start": { - "line": 358, + "line": 340, "column": 21 }, "end": { - "line": 358, + "line": 340, "column": 23 } } @@ -85759,15 +85351,15 @@ "updateContext": null }, "value": 0, - "start": 7799, - "end": 7800, + "start": 7301, + "end": 7302, "loc": { "start": { - "line": 358, + "line": 340, "column": 24 }, "end": { - "line": 358, + "line": 340, "column": 25 } } @@ -85785,15 +85377,15 @@ "binop": null, "updateContext": null }, - "start": 7801, - "end": 7802, + "start": 7303, + "end": 7304, "loc": { "start": { - "line": 358, + "line": 340, "column": 26 }, "end": { - "line": 358, + "line": 340, "column": 27 } } @@ -85813,15 +85405,15 @@ "updateContext": null }, "value": "this", - "start": 7803, - "end": 7807, + "start": 7305, + "end": 7309, "loc": { "start": { - "line": 358, + "line": 340, "column": 28 }, "end": { - "line": 358, + "line": 340, "column": 32 } } @@ -85839,15 +85431,15 @@ "binop": null, "updateContext": null }, - "start": 7808, - "end": 7809, + "start": 7310, + "end": 7311, "loc": { "start": { - "line": 358, + "line": 340, "column": 33 }, "end": { - "line": 358, + "line": 340, "column": 34 } } @@ -85867,15 +85459,15 @@ "updateContext": null }, "value": "this", - "start": 7810, - "end": 7814, + "start": 7312, + "end": 7316, "loc": { "start": { - "line": 358, + "line": 340, "column": 35 }, "end": { - "line": 358, + "line": 340, "column": 39 } } @@ -85893,15 +85485,15 @@ "binop": null, "updateContext": null }, - "start": 7814, - "end": 7815, + "start": 7316, + "end": 7317, "loc": { "start": { - "line": 358, + "line": 340, "column": 39 }, "end": { - "line": 358, + "line": 340, "column": 40 } } @@ -85919,15 +85511,15 @@ "binop": null }, "value": "opposite", - "start": 7815, - "end": 7823, + "start": 7317, + "end": 7325, "loc": { "start": { - "line": 358, + "line": 340, "column": 40 }, "end": { - "line": 358, + "line": 340, "column": 48 } } @@ -85944,44 +85536,16 @@ "postfix": false, "binop": null }, - "start": 7823, - "end": 7824, + "start": 7325, + "end": 7326, "loc": { "start": { - "line": 358, + "line": 340, "column": 48 }, "end": { - "line": 358, - "column": 49 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 7824, - "end": 7828, - "loc": { - "start": { - "line": 358, + "line": 340, "column": 49 - }, - "end": { - "line": 358, - "column": 53 } } }, @@ -85997,16 +85561,16 @@ "postfix": false, "binop": null }, - "start": 7828, - "end": 7829, + "start": 7326, + "end": 7327, "loc": { "start": { - "line": 358, - "column": 53 + "line": 340, + "column": 49 }, "end": { - "line": 358, - "column": 54 + "line": 340, + "column": 50 } } }, @@ -86023,16 +85587,16 @@ "binop": null, "updateContext": null }, - "start": 7830, - "end": 7831, + "start": 7327, + "end": 7328, "loc": { "start": { - "line": 358, - "column": 55 + "line": 340, + "column": 50 }, "end": { - "line": 358, - "column": 56 + "line": 340, + "column": 51 } } }, @@ -86048,15 +85612,15 @@ "postfix": false, "binop": null }, - "start": 7833, - "end": 7834, + "start": 7330, + "end": 7331, "loc": { "start": { - "line": 359, + "line": 341, "column": 1 }, "end": { - "line": 359, + "line": 341, "column": 2 } } @@ -86074,15 +85638,15 @@ "binop": null }, "value": "iabs", - "start": 7837, - "end": 7841, + "start": 7334, + "end": 7338, "loc": { "start": { - "line": 361, + "line": 343, "column": 1 }, "end": { - "line": 361, + "line": 343, "column": 5 } } @@ -86099,16 +85663,16 @@ "postfix": false, "binop": null }, - "start": 7842, - "end": 7843, + "start": 7338, + "end": 7339, "loc": { "start": { - "line": 361, - "column": 6 + "line": 343, + "column": 5 }, "end": { - "line": 361, - "column": 7 + "line": 343, + "column": 6 } } }, @@ -86124,16 +85688,16 @@ "postfix": false, "binop": null }, - "start": 7844, - "end": 7845, + "start": 7339, + "end": 7340, "loc": { "start": { - "line": 361, - "column": 8 + "line": 343, + "column": 6 }, "end": { - "line": 361, - "column": 9 + "line": 343, + "column": 7 } } }, @@ -86149,16 +85713,16 @@ "postfix": false, "binop": null }, - "start": 7846, - "end": 7847, + "start": 7341, + "end": 7342, "loc": { "start": { - "line": 361, - "column": 10 + "line": 343, + "column": 8 }, "end": { - "line": 361, - "column": 11 + "line": 343, + "column": 9 } } }, @@ -86177,15 +85741,15 @@ "updateContext": null }, "value": "return", - "start": 7850, - "end": 7856, + "start": 7345, + "end": 7351, "loc": { "start": { - "line": 362, + "line": 344, "column": 2 }, "end": { - "line": 362, + "line": 344, "column": 8 } } @@ -86205,15 +85769,15 @@ "updateContext": null }, "value": "this", - "start": 7857, - "end": 7861, + "start": 7352, + "end": 7356, "loc": { "start": { - "line": 362, + "line": 344, "column": 9 }, "end": { - "line": 362, + "line": 344, "column": 13 } } @@ -86231,15 +85795,15 @@ "binop": null, "updateContext": null }, - "start": 7861, - "end": 7862, + "start": 7356, + "end": 7357, "loc": { "start": { - "line": 362, + "line": 344, "column": 13 }, "end": { - "line": 362, + "line": 344, "column": 14 } } @@ -86257,15 +85821,15 @@ "binop": null }, "value": "abs", - "start": 7862, - "end": 7865, + "start": 7357, + "end": 7360, "loc": { "start": { - "line": 362, + "line": 344, "column": 14 }, "end": { - "line": 362, + "line": 344, "column": 17 } } @@ -86282,15 +85846,15 @@ "postfix": false, "binop": null }, - "start": 7865, - "end": 7866, + "start": 7360, + "end": 7361, "loc": { "start": { - "line": 362, + "line": 344, "column": 17 }, "end": { - "line": 362, + "line": 344, "column": 18 } } @@ -86307,15 +85871,15 @@ "postfix": false, "binop": null }, - "start": 7866, - "end": 7867, + "start": 7361, + "end": 7362, "loc": { "start": { - "line": 362, + "line": 344, "column": 18 }, "end": { - "line": 362, + "line": 344, "column": 19 } } @@ -86333,15 +85897,15 @@ "binop": null, "updateContext": null }, - "start": 7867, - "end": 7868, + "start": 7362, + "end": 7363, "loc": { "start": { - "line": 362, + "line": 344, "column": 19 }, "end": { - "line": 362, + "line": 344, "column": 20 } } @@ -86359,15 +85923,15 @@ "binop": null }, "value": "move", - "start": 7868, - "end": 7872, + "start": 7363, + "end": 7367, "loc": { "start": { - "line": 362, + "line": 344, "column": 20 }, "end": { - "line": 362, + "line": 344, "column": 24 } } @@ -86384,15 +85948,15 @@ "postfix": false, "binop": null }, - "start": 7872, - "end": 7873, + "start": 7367, + "end": 7368, "loc": { "start": { - "line": 362, + "line": 344, "column": 24 }, "end": { - "line": 362, + "line": 344, "column": 25 } } @@ -86412,15 +85976,15 @@ "updateContext": null }, "value": "this", - "start": 7873, - "end": 7877, + "start": 7368, + "end": 7372, "loc": { "start": { - "line": 362, + "line": 344, "column": 25 }, "end": { - "line": 362, + "line": 344, "column": 29 } } @@ -86437,15 +86001,15 @@ "postfix": false, "binop": null }, - "start": 7877, - "end": 7878, + "start": 7372, + "end": 7373, "loc": { "start": { - "line": 362, + "line": 344, "column": 29 }, "end": { - "line": 362, + "line": 344, "column": 30 } } @@ -86463,16 +86027,16 @@ "binop": null, "updateContext": null }, - "start": 7879, - "end": 7880, + "start": 7373, + "end": 7374, "loc": { "start": { - "line": 362, - "column": 31 + "line": 344, + "column": 30 }, "end": { - "line": 362, - "column": 32 + "line": 344, + "column": 31 } } }, @@ -86488,15 +86052,15 @@ "postfix": false, "binop": null }, - "start": 7882, - "end": 7883, + "start": 7376, + "end": 7377, "loc": { "start": { - "line": 363, + "line": 345, "column": 1 }, "end": { - "line": 363, + "line": 345, "column": 2 } } @@ -86514,15 +86078,15 @@ "binop": null }, "value": "sign", - "start": 7886, - "end": 7890, + "start": 7380, + "end": 7384, "loc": { "start": { - "line": 365, + "line": 347, "column": 1 }, "end": { - "line": 365, + "line": 347, "column": 5 } } @@ -86539,16 +86103,16 @@ "postfix": false, "binop": null }, - "start": 7891, - "end": 7892, + "start": 7384, + "end": 7385, "loc": { "start": { - "line": 365, - "column": 6 + "line": 347, + "column": 5 }, "end": { - "line": 365, - "column": 7 + "line": 347, + "column": 6 } } }, @@ -86564,16 +86128,16 @@ "postfix": false, "binop": null }, - "start": 7893, - "end": 7894, + "start": 7385, + "end": 7386, "loc": { "start": { - "line": 365, - "column": 8 + "line": 347, + "column": 6 }, "end": { - "line": 365, - "column": 9 + "line": 347, + "column": 7 } } }, @@ -86589,16 +86153,16 @@ "postfix": false, "binop": null }, - "start": 7895, - "end": 7896, + "start": 7387, + "end": 7388, "loc": { "start": { - "line": 365, - "column": 10 + "line": 347, + "column": 8 }, "end": { - "line": 365, - "column": 11 + "line": 347, + "column": 9 } } }, @@ -86617,15 +86181,15 @@ "updateContext": null }, "value": "return", - "start": 7899, - "end": 7905, + "start": 7391, + "end": 7397, "loc": { "start": { - "line": 366, + "line": 348, "column": 2 }, "end": { - "line": 366, + "line": 348, "column": 8 } } @@ -86645,15 +86209,15 @@ "updateContext": null }, "value": "this", - "start": 7906, - "end": 7910, + "start": 7398, + "end": 7402, "loc": { "start": { - "line": 366, + "line": 348, "column": 9 }, "end": { - "line": 366, + "line": 348, "column": 13 } } @@ -86671,15 +86235,15 @@ "binop": null, "updateContext": null }, - "start": 7910, - "end": 7911, + "start": 7402, + "end": 7403, "loc": { "start": { - "line": 366, + "line": 348, "column": 13 }, "end": { - "line": 366, + "line": 348, "column": 14 } } @@ -86697,15 +86261,15 @@ "binop": null }, "value": "iszero", - "start": 7911, - "end": 7917, + "start": 7403, + "end": 7409, "loc": { "start": { - "line": 366, + "line": 348, "column": 14 }, "end": { - "line": 366, + "line": 348, "column": 20 } } @@ -86722,15 +86286,15 @@ "postfix": false, "binop": null }, - "start": 7917, - "end": 7918, + "start": 7409, + "end": 7410, "loc": { "start": { - "line": 366, + "line": 348, "column": 20 }, "end": { - "line": 366, + "line": 348, "column": 21 } } @@ -86747,15 +86311,15 @@ "postfix": false, "binop": null }, - "start": 7918, - "end": 7919, + "start": 7410, + "end": 7411, "loc": { "start": { - "line": 366, + "line": 348, "column": 21 }, "end": { - "line": 366, + "line": 348, "column": 22 } } @@ -86773,15 +86337,15 @@ "binop": null, "updateContext": null }, - "start": 7920, - "end": 7921, + "start": 7412, + "end": 7413, "loc": { "start": { - "line": 366, + "line": 348, "column": 23 }, "end": { - "line": 366, + "line": 348, "column": 24 } } @@ -86800,15 +86364,15 @@ "updateContext": null }, "value": 0, - "start": 7922, - "end": 7923, + "start": 7414, + "end": 7415, "loc": { "start": { - "line": 366, + "line": 348, "column": 25 }, "end": { - "line": 366, + "line": 348, "column": 26 } } @@ -86826,15 +86390,15 @@ "binop": null, "updateContext": null }, - "start": 7924, - "end": 7925, + "start": 7416, + "end": 7417, "loc": { "start": { - "line": 366, + "line": 348, "column": 27 }, "end": { - "line": 366, + "line": 348, "column": 28 } } @@ -86854,15 +86418,15 @@ "updateContext": null }, "value": "this", - "start": 7926, - "end": 7930, + "start": 7418, + "end": 7422, "loc": { "start": { - "line": 366, + "line": 348, "column": 29 }, "end": { - "line": 366, + "line": 348, "column": 33 } } @@ -86880,15 +86444,15 @@ "binop": null, "updateContext": null }, - "start": 7930, - "end": 7931, + "start": 7422, + "end": 7423, "loc": { "start": { - "line": 366, + "line": 348, "column": 33 }, "end": { - "line": 366, + "line": 348, "column": 34 } } @@ -86905,17 +86469,17 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 7931, - "end": 7942, + "value": "_is_negative", + "start": 7423, + "end": 7435, "loc": { "start": { - "line": 366, + "line": 348, "column": 34 }, "end": { - "line": 366, - "column": 45 + "line": 348, + "column": 46 } } }, @@ -86932,16 +86496,16 @@ "binop": null, "updateContext": null }, - "start": 7943, - "end": 7944, + "start": 7436, + "end": 7437, "loc": { "start": { - "line": 366, - "column": 46 + "line": 348, + "column": 47 }, "end": { - "line": 366, - "column": 47 + "line": 348, + "column": 48 } } }, @@ -86959,16 +86523,16 @@ "updateContext": null }, "value": "-", - "start": 7945, - "end": 7946, + "start": 7438, + "end": 7439, "loc": { "start": { - "line": 366, - "column": 48 + "line": 348, + "column": 49 }, "end": { - "line": 366, - "column": 49 + "line": 348, + "column": 50 } } }, @@ -86986,16 +86550,16 @@ "updateContext": null }, "value": 1, - "start": 7946, - "end": 7947, + "start": 7439, + "end": 7440, "loc": { "start": { - "line": 366, - "column": 49 + "line": 348, + "column": 50 }, "end": { - "line": 366, - "column": 50 + "line": 348, + "column": 51 } } }, @@ -87012,16 +86576,16 @@ "binop": null, "updateContext": null }, - "start": 7948, - "end": 7949, + "start": 7441, + "end": 7442, "loc": { "start": { - "line": 366, - "column": 51 + "line": 348, + "column": 52 }, "end": { - "line": 366, - "column": 52 + "line": 348, + "column": 53 } } }, @@ -87039,16 +86603,16 @@ "updateContext": null }, "value": 1, - "start": 7950, - "end": 7951, + "start": 7443, + "end": 7444, "loc": { "start": { - "line": 366, - "column": 53 + "line": 348, + "column": 54 }, "end": { - "line": 366, - "column": 54 + "line": 348, + "column": 55 } } }, @@ -87065,15 +86629,15 @@ "binop": null, "updateContext": null }, - "start": 7952, - "end": 7953, + "start": 7444, + "end": 7445, "loc": { "start": { - "line": 366, + "line": 348, "column": 55 }, "end": { - "line": 366, + "line": 348, "column": 56 } } @@ -87090,15 +86654,15 @@ "postfix": false, "binop": null }, - "start": 7955, - "end": 7956, + "start": 7447, + "end": 7448, "loc": { "start": { - "line": 367, + "line": 349, "column": 1 }, "end": { - "line": 367, + "line": 349, "column": 2 } } @@ -87116,15 +86680,15 @@ "binop": null }, "value": "iszero", - "start": 7959, - "end": 7965, + "start": 7451, + "end": 7457, "loc": { "start": { - "line": 369, + "line": 351, "column": 1 }, "end": { - "line": 369, + "line": 351, "column": 7 } } @@ -87141,16 +86705,16 @@ "postfix": false, "binop": null }, - "start": 7966, - "end": 7967, + "start": 7457, + "end": 7458, "loc": { "start": { - "line": 369, - "column": 8 + "line": 351, + "column": 7 }, "end": { - "line": 369, - "column": 9 + "line": 351, + "column": 8 } } }, @@ -87166,16 +86730,16 @@ "postfix": false, "binop": null }, - "start": 7968, - "end": 7969, + "start": 7458, + "end": 7459, "loc": { "start": { - "line": 369, - "column": 10 + "line": 351, + "column": 8 }, "end": { - "line": 369, - "column": 11 + "line": 351, + "column": 9 } } }, @@ -87191,16 +86755,16 @@ "postfix": false, "binop": null }, - "start": 7970, - "end": 7971, + "start": 7460, + "end": 7461, "loc": { "start": { - "line": 369, - "column": 12 + "line": 351, + "column": 10 }, "end": { - "line": 369, - "column": 13 + "line": 351, + "column": 11 } } }, @@ -87219,15 +86783,15 @@ "updateContext": null }, "value": "return", - "start": 7974, - "end": 7980, + "start": 7464, + "end": 7470, "loc": { "start": { - "line": 370, + "line": 352, "column": 2 }, "end": { - "line": 370, + "line": 352, "column": 8 } } @@ -87245,15 +86809,15 @@ "binop": null }, "value": "jz", - "start": 7981, - "end": 7983, + "start": 7471, + "end": 7473, "loc": { "start": { - "line": 370, + "line": 352, "column": 9 }, "end": { - "line": 370, + "line": 352, "column": 11 } } @@ -87270,15 +86834,15 @@ "postfix": false, "binop": null }, - "start": 7983, - "end": 7984, + "start": 7473, + "end": 7474, "loc": { "start": { - "line": 370, + "line": 352, "column": 11 }, "end": { - "line": 370, + "line": 352, "column": 12 } } @@ -87298,16 +86862,16 @@ "updateContext": null }, "value": "this", - "start": 7985, - "end": 7989, + "start": 7474, + "end": 7478, "loc": { "start": { - "line": 370, - "column": 13 + "line": 352, + "column": 12 }, "end": { - "line": 370, - "column": 17 + "line": 352, + "column": 16 } } }, @@ -87324,16 +86888,16 @@ "binop": null, "updateContext": null }, - "start": 7989, - "end": 7990, + "start": 7478, + "end": 7479, "loc": { "start": { - "line": 370, - "column": 17 + "line": 352, + "column": 16 }, "end": { - "line": 370, - "column": 18 + "line": 352, + "column": 17 } } }, @@ -87349,16 +86913,16 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 7990, - "end": 7995, + "value": "_limbs", + "start": 7479, + "end": 7485, "loc": { "start": { - "line": 370, - "column": 18 + "line": 352, + "column": 17 }, "end": { - "line": 370, + "line": 352, "column": 23 } } @@ -87376,16 +86940,16 @@ "binop": null, "updateContext": null }, - "start": 7996, - "end": 7997, + "start": 7485, + "end": 7486, "loc": { "start": { - "line": 370, - "column": 24 + "line": 352, + "column": 23 }, "end": { - "line": 370, - "column": 25 + "line": 352, + "column": 24 } } }, @@ -87403,16 +86967,16 @@ "updateContext": null }, "value": 0, - "start": 7998, - "end": 7999, + "start": 7487, + "end": 7488, "loc": { "start": { - "line": 370, - "column": 26 + "line": 352, + "column": 25 }, "end": { - "line": 370, - "column": 27 + "line": 352, + "column": 26 } } }, @@ -87429,16 +86993,16 @@ "binop": null, "updateContext": null }, - "start": 8000, - "end": 8001, + "start": 7488, + "end": 7489, "loc": { "start": { - "line": 370, - "column": 28 + "line": 352, + "column": 26 }, "end": { - "line": 370, - "column": 29 + "line": 352, + "column": 27 } } }, @@ -87457,16 +87021,16 @@ "updateContext": null }, "value": "this", - "start": 8002, - "end": 8006, + "start": 7490, + "end": 7494, "loc": { "start": { - "line": 370, - "column": 30 + "line": 352, + "column": 28 }, "end": { - "line": 370, - "column": 34 + "line": 352, + "column": 32 } } }, @@ -87483,16 +87047,16 @@ "binop": null, "updateContext": null }, - "start": 8006, - "end": 8007, + "start": 7494, + "end": 7495, "loc": { "start": { - "line": 370, - "column": 34 + "line": 352, + "column": 32 }, "end": { - "line": 370, - "column": 35 + "line": 352, + "column": 33 } } }, @@ -87508,17 +87072,17 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 8007, - "end": 8012, + "value": "_limbs", + "start": 7495, + "end": 7501, "loc": { "start": { - "line": 370, - "column": 35 + "line": 352, + "column": 33 }, "end": { - "line": 370, - "column": 40 + "line": 352, + "column": 39 } } }, @@ -87535,16 +87099,16 @@ "binop": null, "updateContext": null }, - "start": 8012, - "end": 8013, + "start": 7501, + "end": 7502, "loc": { "start": { - "line": 370, - "column": 40 + "line": 352, + "column": 39 }, "end": { - "line": 370, - "column": 41 + "line": 352, + "column": 40 } } }, @@ -87561,16 +87125,16 @@ "binop": null }, "value": "length", - "start": 8013, - "end": 8019, + "start": 7502, + "end": 7508, "loc": { "start": { - "line": 370, - "column": 41 + "line": 352, + "column": 40 }, "end": { - "line": 370, - "column": 47 + "line": 352, + "column": 46 } } }, @@ -87586,16 +87150,16 @@ "postfix": false, "binop": null }, - "start": 8020, - "end": 8021, + "start": 7508, + "end": 7509, "loc": { "start": { - "line": 370, - "column": 48 + "line": 352, + "column": 46 }, "end": { - "line": 370, - "column": 49 + "line": 352, + "column": 47 } } }, @@ -87612,16 +87176,16 @@ "binop": null, "updateContext": null }, - "start": 8022, - "end": 8023, + "start": 7509, + "end": 7510, "loc": { "start": { - "line": 370, - "column": 50 + "line": 352, + "column": 47 }, "end": { - "line": 370, - "column": 51 + "line": 352, + "column": 48 } } }, @@ -87637,15 +87201,15 @@ "postfix": false, "binop": null }, - "start": 8025, - "end": 8026, + "start": 7512, + "end": 7513, "loc": { "start": { - "line": 371, + "line": 353, "column": 1 }, "end": { - "line": 371, + "line": 353, "column": 2 } } @@ -87663,15 +87227,15 @@ "binop": null }, "value": "isone", - "start": 8029, - "end": 8034, + "start": 7516, + "end": 7521, "loc": { "start": { - "line": 373, + "line": 355, "column": 1 }, "end": { - "line": 373, + "line": 355, "column": 6 } } @@ -87688,16 +87252,16 @@ "postfix": false, "binop": null }, - "start": 8035, - "end": 8036, + "start": 7521, + "end": 7522, "loc": { "start": { - "line": 373, - "column": 7 + "line": 355, + "column": 6 }, "end": { - "line": 373, - "column": 8 + "line": 355, + "column": 7 } } }, @@ -87713,16 +87277,16 @@ "postfix": false, "binop": null }, - "start": 8037, - "end": 8038, + "start": 7522, + "end": 7523, "loc": { "start": { - "line": 373, - "column": 9 + "line": 355, + "column": 7 }, "end": { - "line": 373, - "column": 10 + "line": 355, + "column": 8 } } }, @@ -87738,16 +87302,16 @@ "postfix": false, "binop": null }, - "start": 8039, - "end": 8040, + "start": 7524, + "end": 7525, "loc": { "start": { - "line": 373, - "column": 11 + "line": 355, + "column": 9 }, "end": { - "line": 373, - "column": 12 + "line": 355, + "column": 10 } } }, @@ -87766,15 +87330,15 @@ "updateContext": null }, "value": "if", - "start": 8043, - "end": 8045, + "start": 7528, + "end": 7530, "loc": { "start": { - "line": 374, + "line": 356, "column": 2 }, "end": { - "line": 374, + "line": 356, "column": 4 } } @@ -87791,15 +87355,15 @@ "postfix": false, "binop": null }, - "start": 8046, - "end": 8047, + "start": 7531, + "end": 7532, "loc": { "start": { - "line": 374, + "line": 356, "column": 5 }, "end": { - "line": 374, + "line": 356, "column": 6 } } @@ -87819,16 +87383,16 @@ "updateContext": null }, "value": "this", - "start": 8048, - "end": 8052, + "start": 7532, + "end": 7536, "loc": { "start": { - "line": 374, - "column": 7 + "line": 356, + "column": 6 }, "end": { - "line": 374, - "column": 11 + "line": 356, + "column": 10 } } }, @@ -87845,16 +87409,16 @@ "binop": null, "updateContext": null }, - "start": 8052, - "end": 8053, + "start": 7536, + "end": 7537, "loc": { "start": { - "line": 374, - "column": 11 + "line": 356, + "column": 10 }, "end": { - "line": 374, - "column": 12 + "line": 356, + "column": 11 } } }, @@ -87870,16 +87434,16 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 8053, - "end": 8064, + "value": "_is_negative", + "start": 7537, + "end": 7549, "loc": { "start": { - "line": 374, - "column": 12 + "line": 356, + "column": 11 }, "end": { - "line": 374, + "line": 356, "column": 23 } } @@ -87896,16 +87460,16 @@ "postfix": false, "binop": null }, - "start": 8065, - "end": 8066, + "start": 7549, + "end": 7550, "loc": { "start": { - "line": 374, - "column": 24 + "line": 356, + "column": 23 }, "end": { - "line": 374, - "column": 25 + "line": 356, + "column": 24 } } }, @@ -87924,16 +87488,16 @@ "updateContext": null }, "value": "return", - "start": 8067, - "end": 8073, + "start": 7551, + "end": 7557, "loc": { "start": { - "line": 374, - "column": 26 + "line": 356, + "column": 25 }, "end": { - "line": 374, - "column": 32 + "line": 356, + "column": 31 } } }, @@ -87952,16 +87516,16 @@ "updateContext": null }, "value": "false", - "start": 8074, - "end": 8079, + "start": 7558, + "end": 7563, "loc": { "start": { - "line": 374, - "column": 33 + "line": 356, + "column": 32 }, "end": { - "line": 374, - "column": 38 + "line": 356, + "column": 37 } } }, @@ -87978,16 +87542,16 @@ "binop": null, "updateContext": null }, - "start": 8080, - "end": 8081, + "start": 7563, + "end": 7564, "loc": { "start": { - "line": 374, - "column": 39 + "line": 356, + "column": 37 }, "end": { - "line": 374, - "column": 40 + "line": 356, + "column": 38 } } }, @@ -88006,15 +87570,15 @@ "updateContext": null }, "value": "return", - "start": 8084, - "end": 8090, + "start": 7567, + "end": 7573, "loc": { "start": { - "line": 375, + "line": 357, "column": 2 }, "end": { - "line": 375, + "line": 357, "column": 8 } } @@ -88032,15 +87596,15 @@ "binop": null }, "value": "eq", - "start": 8091, - "end": 8093, + "start": 7574, + "end": 7576, "loc": { "start": { - "line": 375, + "line": 357, "column": 9 }, "end": { - "line": 375, + "line": 357, "column": 11 } } @@ -88057,15 +87621,15 @@ "postfix": false, "binop": null }, - "start": 8093, - "end": 8094, + "start": 7576, + "end": 7577, "loc": { "start": { - "line": 375, + "line": 357, "column": 11 }, "end": { - "line": 375, + "line": 357, "column": 12 } } @@ -88085,16 +87649,16 @@ "updateContext": null }, "value": "this", - "start": 8095, - "end": 8099, + "start": 7577, + "end": 7581, "loc": { "start": { - "line": 375, - "column": 13 + "line": 357, + "column": 12 }, "end": { - "line": 375, - "column": 17 + "line": 357, + "column": 16 } } }, @@ -88111,16 +87675,16 @@ "binop": null, "updateContext": null }, - "start": 8099, - "end": 8100, + "start": 7581, + "end": 7582, "loc": { "start": { - "line": 375, - "column": 17 + "line": 357, + "column": 16 }, "end": { - "line": 375, - "column": 18 + "line": 357, + "column": 17 } } }, @@ -88136,16 +87700,16 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 8100, - "end": 8105, + "value": "_limbs", + "start": 7582, + "end": 7588, "loc": { "start": { - "line": 375, - "column": 18 + "line": 357, + "column": 17 }, "end": { - "line": 375, + "line": 357, "column": 23 } } @@ -88163,16 +87727,16 @@ "binop": null, "updateContext": null }, - "start": 8106, - "end": 8107, + "start": 7588, + "end": 7589, "loc": { "start": { - "line": 375, - "column": 24 + "line": 357, + "column": 23 }, "end": { - "line": 375, - "column": 25 + "line": 357, + "column": 24 } } }, @@ -88190,16 +87754,16 @@ "updateContext": null }, "value": 0, - "start": 8108, - "end": 8109, + "start": 7590, + "end": 7591, "loc": { "start": { - "line": 375, - "column": 26 + "line": 357, + "column": 25 }, "end": { - "line": 375, - "column": 27 + "line": 357, + "column": 26 } } }, @@ -88216,16 +87780,16 @@ "binop": null, "updateContext": null }, - "start": 8110, - "end": 8111, + "start": 7591, + "end": 7592, "loc": { "start": { - "line": 375, - "column": 28 + "line": 357, + "column": 26 }, "end": { - "line": 375, - "column": 29 + "line": 357, + "column": 27 } } }, @@ -88244,16 +87808,16 @@ "updateContext": null }, "value": "this", - "start": 8112, - "end": 8116, + "start": 7593, + "end": 7597, "loc": { "start": { - "line": 375, - "column": 30 + "line": 357, + "column": 28 }, "end": { - "line": 375, - "column": 34 + "line": 357, + "column": 32 } } }, @@ -88270,16 +87834,16 @@ "binop": null, "updateContext": null }, - "start": 8116, - "end": 8117, + "start": 7597, + "end": 7598, "loc": { "start": { - "line": 375, - "column": 34 + "line": 357, + "column": 32 }, "end": { - "line": 375, - "column": 35 + "line": 357, + "column": 33 } } }, @@ -88295,17 +87859,17 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 8117, - "end": 8122, + "value": "_limbs", + "start": 7598, + "end": 7604, "loc": { "start": { - "line": 375, - "column": 35 + "line": 357, + "column": 33 }, "end": { - "line": 375, - "column": 40 + "line": 357, + "column": 39 } } }, @@ -88322,16 +87886,16 @@ "binop": null, "updateContext": null }, - "start": 8122, - "end": 8123, + "start": 7604, + "end": 7605, "loc": { "start": { - "line": 375, - "column": 40 + "line": 357, + "column": 39 }, "end": { - "line": 375, - "column": 41 + "line": 357, + "column": 40 } } }, @@ -88348,16 +87912,16 @@ "binop": null }, "value": "length", - "start": 8123, - "end": 8129, + "start": 7605, + "end": 7611, "loc": { "start": { - "line": 375, - "column": 41 + "line": 357, + "column": 40 }, "end": { - "line": 375, - "column": 47 + "line": 357, + "column": 46 } } }, @@ -88374,16 +87938,16 @@ "binop": null, "updateContext": null }, - "start": 8130, - "end": 8131, + "start": 7611, + "end": 7612, "loc": { "start": { - "line": 375, - "column": 48 + "line": 357, + "column": 46 }, "end": { - "line": 375, - "column": 49 + "line": 357, + "column": 47 } } }, @@ -88400,16 +87964,16 @@ "binop": null, "updateContext": null }, - "start": 8132, - "end": 8133, + "start": 7613, + "end": 7614, "loc": { "start": { - "line": 375, - "column": 50 + "line": 357, + "column": 48 }, "end": { - "line": 375, - "column": 51 + "line": 357, + "column": 49 } } }, @@ -88427,16 +87991,16 @@ "updateContext": null }, "value": 1, - "start": 8134, - "end": 8135, + "start": 7614, + "end": 7615, "loc": { "start": { - "line": 375, - "column": 52 + "line": 357, + "column": 49 }, "end": { - "line": 375, - "column": 53 + "line": 357, + "column": 50 } } }, @@ -88453,16 +88017,16 @@ "binop": null, "updateContext": null }, - "start": 8136, - "end": 8137, + "start": 7615, + "end": 7616, "loc": { "start": { - "line": 375, - "column": 54 + "line": 357, + "column": 50 }, "end": { - "line": 375, - "column": 55 + "line": 357, + "column": 51 } } }, @@ -88479,16 +88043,16 @@ "binop": null, "updateContext": null }, - "start": 8138, - "end": 8139, + "start": 7616, + "end": 7617, "loc": { "start": { - "line": 375, - "column": 56 + "line": 357, + "column": 51 }, "end": { - "line": 375, - "column": 57 + "line": 357, + "column": 52 } } }, @@ -88506,16 +88070,16 @@ "updateContext": null }, "value": 0, - "start": 8140, - "end": 8141, + "start": 7618, + "end": 7619, "loc": { "start": { - "line": 375, - "column": 58 + "line": 357, + "column": 53 }, "end": { - "line": 375, - "column": 59 + "line": 357, + "column": 54 } } }, @@ -88532,16 +88096,16 @@ "binop": null, "updateContext": null }, - "start": 8142, - "end": 8143, + "start": 7619, + "end": 7620, "loc": { "start": { - "line": 375, - "column": 60 + "line": 357, + "column": 54 }, "end": { - "line": 375, - "column": 61 + "line": 357, + "column": 55 } } }, @@ -88559,16 +88123,16 @@ "updateContext": null }, "value": 1, - "start": 8144, - "end": 8145, + "start": 7621, + "end": 7622, "loc": { "start": { - "line": 375, - "column": 62 + "line": 357, + "column": 56 }, "end": { - "line": 375, - "column": 63 + "line": 357, + "column": 57 } } }, @@ -88584,16 +88148,16 @@ "postfix": false, "binop": null }, - "start": 8146, - "end": 8147, + "start": 7622, + "end": 7623, "loc": { "start": { - "line": 375, - "column": 64 + "line": 357, + "column": 57 }, "end": { - "line": 375, - "column": 65 + "line": 357, + "column": 58 } } }, @@ -88610,16 +88174,16 @@ "binop": null, "updateContext": null }, - "start": 8148, - "end": 8149, + "start": 7623, + "end": 7624, "loc": { "start": { - "line": 375, - "column": 66 + "line": 357, + "column": 58 }, "end": { - "line": 375, - "column": 67 + "line": 357, + "column": 59 } } }, @@ -88635,15 +88199,15 @@ "postfix": false, "binop": null }, - "start": 8151, - "end": 8152, + "start": 7626, + "end": 7627, "loc": { "start": { - "line": 376, + "line": 358, "column": 1 }, "end": { - "line": 376, + "line": 358, "column": 2 } } @@ -88661,15 +88225,15 @@ "binop": null }, "value": "isnonzero", - "start": 8155, - "end": 8164, + "start": 7630, + "end": 7639, "loc": { "start": { - "line": 378, + "line": 360, "column": 1 }, "end": { - "line": 378, + "line": 360, "column": 10 } } @@ -88686,16 +88250,16 @@ "postfix": false, "binop": null }, - "start": 8165, - "end": 8166, + "start": 7639, + "end": 7640, "loc": { "start": { - "line": 378, - "column": 11 + "line": 360, + "column": 10 }, "end": { - "line": 378, - "column": 12 + "line": 360, + "column": 11 } } }, @@ -88711,16 +88275,16 @@ "postfix": false, "binop": null }, - "start": 8167, - "end": 8168, + "start": 7640, + "end": 7641, "loc": { "start": { - "line": 378, - "column": 13 + "line": 360, + "column": 11 }, "end": { - "line": 378, - "column": 14 + "line": 360, + "column": 12 } } }, @@ -88736,16 +88300,16 @@ "postfix": false, "binop": null }, - "start": 8169, - "end": 8170, + "start": 7642, + "end": 7643, "loc": { "start": { - "line": 378, - "column": 15 + "line": 360, + "column": 13 }, "end": { - "line": 378, - "column": 16 + "line": 360, + "column": 14 } } }, @@ -88764,15 +88328,15 @@ "updateContext": null }, "value": "return", - "start": 8173, - "end": 8179, + "start": 7646, + "end": 7652, "loc": { "start": { - "line": 379, + "line": 361, "column": 2 }, "end": { - "line": 379, + "line": 361, "column": 8 } } @@ -88791,15 +88355,15 @@ "updateContext": null }, "value": "!", - "start": 8180, - "end": 8181, + "start": 7653, + "end": 7654, "loc": { "start": { - "line": 379, + "line": 361, "column": 9 }, "end": { - "line": 379, + "line": 361, "column": 10 } } @@ -88819,15 +88383,15 @@ "updateContext": null }, "value": "this", - "start": 8181, - "end": 8185, + "start": 7654, + "end": 7658, "loc": { "start": { - "line": 379, + "line": 361, "column": 10 }, "end": { - "line": 379, + "line": 361, "column": 14 } } @@ -88845,15 +88409,15 @@ "binop": null, "updateContext": null }, - "start": 8185, - "end": 8186, + "start": 7658, + "end": 7659, "loc": { "start": { - "line": 379, + "line": 361, "column": 14 }, "end": { - "line": 379, + "line": 361, "column": 15 } } @@ -88871,15 +88435,15 @@ "binop": null }, "value": "iszero", - "start": 8186, - "end": 8192, + "start": 7659, + "end": 7665, "loc": { "start": { - "line": 379, + "line": 361, "column": 15 }, "end": { - "line": 379, + "line": 361, "column": 21 } } @@ -88896,15 +88460,15 @@ "postfix": false, "binop": null }, - "start": 8192, - "end": 8193, + "start": 7665, + "end": 7666, "loc": { "start": { - "line": 379, + "line": 361, "column": 21 }, "end": { - "line": 379, + "line": 361, "column": 22 } } @@ -88921,15 +88485,15 @@ "postfix": false, "binop": null }, - "start": 8193, - "end": 8194, + "start": 7666, + "end": 7667, "loc": { "start": { - "line": 379, + "line": 361, "column": 22 }, "end": { - "line": 379, + "line": 361, "column": 23 } } @@ -88947,15 +88511,15 @@ "binop": null, "updateContext": null }, - "start": 8194, - "end": 8195, + "start": 7667, + "end": 7668, "loc": { "start": { - "line": 379, + "line": 361, "column": 23 }, "end": { - "line": 379, + "line": 361, "column": 24 } } @@ -88972,15 +88536,15 @@ "postfix": false, "binop": null }, - "start": 8197, - "end": 8198, + "start": 7670, + "end": 7671, "loc": { "start": { - "line": 380, + "line": 362, "column": 1 }, "end": { - "line": 380, + "line": 362, "column": 2 } } @@ -88998,15 +88562,15 @@ "binop": null }, "value": "isnegative", - "start": 8201, - "end": 8211, + "start": 7674, + "end": 7684, "loc": { "start": { - "line": 382, + "line": 364, "column": 1 }, "end": { - "line": 382, + "line": 364, "column": 11 } } @@ -89023,16 +88587,16 @@ "postfix": false, "binop": null }, - "start": 8212, - "end": 8213, + "start": 7684, + "end": 7685, "loc": { "start": { - "line": 382, - "column": 12 + "line": 364, + "column": 11 }, "end": { - "line": 382, - "column": 13 + "line": 364, + "column": 12 } } }, @@ -89048,16 +88612,16 @@ "postfix": false, "binop": null }, - "start": 8214, - "end": 8215, + "start": 7685, + "end": 7686, "loc": { "start": { - "line": 382, - "column": 14 + "line": 364, + "column": 12 }, "end": { - "line": 382, - "column": 15 + "line": 364, + "column": 13 } } }, @@ -89073,184 +88637,51 @@ "postfix": false, "binop": null }, - "start": 8216, - "end": 8217, - "loc": { - "start": { - "line": 382, - "column": 16 - }, - "end": { - "line": 382, - "column": 17 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 8220, - "end": 8226, - "loc": { - "start": { - "line": 383, - "column": 2 - }, - "end": { - "line": 383, - "column": 8 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 8227, - "end": 8231, - "loc": { - "start": { - "line": 383, - "column": 9 - }, - "end": { - "line": 383, - "column": 13 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8231, - "end": 8232, - "loc": { - "start": { - "line": 383, - "column": 13 - }, - "end": { - "line": 383, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "is_negative", - "start": 8232, - "end": 8243, + "start": 7687, + "end": 7688, "loc": { "start": { - "line": 383, + "line": 364, "column": 14 }, "end": { - "line": 383, - "column": 25 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 8244, - "end": 8247, - "loc": { - "start": { - "line": 383, - "column": 26 - }, - "end": { - "line": 383, - "column": 29 + "line": 364, + "column": 15 } } }, { "type": { - "label": "+/-", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "-", - "start": 8248, - "end": 8249, + "value": "return", + "start": 7691, + "end": 7697, "loc": { "start": { - "line": 383, - "column": 30 + "line": 365, + "column": 2 }, "end": { - "line": 383, - "column": 31 + "line": 365, + "column": 8 } } }, { "type": { - "label": "num", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -89261,24 +88692,24 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 8249, - "end": 8250, + "value": "this", + "start": 7698, + "end": 7702, "loc": { "start": { - "line": 383, - "column": 31 + "line": 365, + "column": 9 }, "end": { - "line": 383, - "column": 32 + "line": 365, + "column": 13 } } }, { "type": { - "label": "?", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -89288,23 +88719,22 @@ "binop": null, "updateContext": null }, - "start": 8251, - "end": 8252, + "start": 7702, + "end": 7703, "loc": { "start": { - "line": 383, - "column": 33 + "line": 365, + "column": 13 }, "end": { - "line": 383, - "column": 34 + "line": 365, + "column": 14 } } }, { "type": { - "label": "true", - "keyword": "true", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -89312,26 +88742,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "true", - "start": 8253, - "end": 8257, + "value": "_is_negative", + "start": 7703, + "end": 7715, "loc": { "start": { - "line": 383, - "column": 35 + "line": 365, + "column": 14 }, "end": { - "line": 383, - "column": 39 + "line": 365, + "column": 26 } } }, { "type": { - "label": ":", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -89339,26 +88768,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 8258, - "end": 8259, + "value": "===", + "start": 7716, + "end": 7719, "loc": { "start": { - "line": 383, - "column": 40 + "line": 365, + "column": 27 }, "end": { - "line": 383, - "column": 41 + "line": 365, + "column": 30 } } }, { "type": { - "label": "false", - "keyword": "false", + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 7720, + "end": 7721, + "loc": { + "start": { + "line": 365, + "column": 31 + }, + "end": { + "line": 365, + "column": 32 + } + } + }, + { + "type": { + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -89369,17 +88825,17 @@ "binop": null, "updateContext": null }, - "value": "false", - "start": 8260, - "end": 8265, + "value": 1, + "start": 7721, + "end": 7722, "loc": { "start": { - "line": 383, - "column": 42 + "line": 365, + "column": 32 }, "end": { - "line": 383, - "column": 47 + "line": 365, + "column": 33 } } }, @@ -89396,16 +88852,16 @@ "binop": null, "updateContext": null }, - "start": 8266, - "end": 8267, + "start": 7722, + "end": 7723, "loc": { "start": { - "line": 383, - "column": 48 + "line": 365, + "column": 33 }, "end": { - "line": 383, - "column": 49 + "line": 365, + "column": 34 } } }, @@ -89421,15 +88877,15 @@ "postfix": false, "binop": null }, - "start": 8269, - "end": 8270, + "start": 7725, + "end": 7726, "loc": { "start": { - "line": 384, + "line": 366, "column": 1 }, "end": { - "line": 384, + "line": 366, "column": 2 } } @@ -89447,15 +88903,15 @@ "binop": null }, "value": "ispositive", - "start": 8273, - "end": 8283, + "start": 7729, + "end": 7739, "loc": { "start": { - "line": 386, + "line": 368, "column": 1 }, "end": { - "line": 386, + "line": 368, "column": 11 } } @@ -89472,16 +88928,16 @@ "postfix": false, "binop": null }, - "start": 8284, - "end": 8285, + "start": 7739, + "end": 7740, "loc": { "start": { - "line": 386, - "column": 12 + "line": 368, + "column": 11 }, "end": { - "line": 386, - "column": 13 + "line": 368, + "column": 12 } } }, @@ -89497,16 +88953,16 @@ "postfix": false, "binop": null }, - "start": 8286, - "end": 8287, + "start": 7740, + "end": 7741, "loc": { "start": { - "line": 386, - "column": 14 + "line": 368, + "column": 12 }, "end": { - "line": 386, - "column": 15 + "line": 368, + "column": 13 } } }, @@ -89522,16 +88978,16 @@ "postfix": false, "binop": null }, - "start": 8288, - "end": 8289, + "start": 7742, + "end": 7743, "loc": { "start": { - "line": 386, - "column": 16 + "line": 368, + "column": 14 }, "end": { - "line": 386, - "column": 17 + "line": 368, + "column": 15 } } }, @@ -89550,15 +89006,15 @@ "updateContext": null }, "value": "return", - "start": 8292, - "end": 8298, + "start": 7746, + "end": 7752, "loc": { "start": { - "line": 387, + "line": 369, "column": 2 }, "end": { - "line": 387, + "line": 369, "column": 8 } } @@ -89578,15 +89034,15 @@ "updateContext": null }, "value": "this", - "start": 8299, - "end": 8303, + "start": 7753, + "end": 7757, "loc": { "start": { - "line": 387, + "line": 369, "column": 9 }, "end": { - "line": 387, + "line": 369, "column": 13 } } @@ -89604,15 +89060,15 @@ "binop": null, "updateContext": null }, - "start": 8303, - "end": 8304, + "start": 7757, + "end": 7758, "loc": { "start": { - "line": 387, + "line": 369, "column": 13 }, "end": { - "line": 387, + "line": 369, "column": 14 } } @@ -89630,15 +89086,15 @@ "binop": null }, "value": "sign", - "start": 8304, - "end": 8308, + "start": 7758, + "end": 7762, "loc": { "start": { - "line": 387, + "line": 369, "column": 14 }, "end": { - "line": 387, + "line": 369, "column": 18 } } @@ -89655,15 +89111,15 @@ "postfix": false, "binop": null }, - "start": 8308, - "end": 8309, + "start": 7762, + "end": 7763, "loc": { "start": { - "line": 387, + "line": 369, "column": 18 }, "end": { - "line": 387, + "line": 369, "column": 19 } } @@ -89680,15 +89136,15 @@ "postfix": false, "binop": null }, - "start": 8309, - "end": 8310, + "start": 7763, + "end": 7764, "loc": { "start": { - "line": 387, + "line": 369, "column": 19 }, "end": { - "line": 387, + "line": 369, "column": 20 } } @@ -89707,15 +89163,15 @@ "updateContext": null }, "value": ">", - "start": 8311, - "end": 8312, + "start": 7765, + "end": 7766, "loc": { "start": { - "line": 387, + "line": 369, "column": 21 }, "end": { - "line": 387, + "line": 369, "column": 22 } } @@ -89734,15 +89190,15 @@ "updateContext": null }, "value": 0, - "start": 8313, - "end": 8314, + "start": 7767, + "end": 7768, "loc": { "start": { - "line": 387, + "line": 369, "column": 23 }, "end": { - "line": 387, + "line": 369, "column": 24 } } @@ -89760,16 +89216,16 @@ "binop": null, "updateContext": null }, - "start": 8315, - "end": 8316, + "start": 7768, + "end": 7769, "loc": { "start": { - "line": 387, - "column": 25 + "line": 369, + "column": 24 }, "end": { - "line": 387, - "column": 26 + "line": 369, + "column": 25 } } }, @@ -89785,15 +89241,15 @@ "postfix": false, "binop": null }, - "start": 8318, - "end": 8319, + "start": 7771, + "end": 7772, "loc": { "start": { - "line": 388, + "line": 370, "column": 1 }, "end": { - "line": 388, + "line": 370, "column": 2 } } @@ -89811,15 +89267,15 @@ "binop": null }, "value": "isnonnegative", - "start": 8322, - "end": 8335, + "start": 7775, + "end": 7788, "loc": { "start": { - "line": 390, + "line": 372, "column": 1 }, "end": { - "line": 390, + "line": 372, "column": 14 } } @@ -89836,16 +89292,16 @@ "postfix": false, "binop": null }, - "start": 8336, - "end": 8337, + "start": 7788, + "end": 7789, "loc": { "start": { - "line": 390, - "column": 15 + "line": 372, + "column": 14 }, "end": { - "line": 390, - "column": 16 + "line": 372, + "column": 15 } } }, @@ -89861,16 +89317,16 @@ "postfix": false, "binop": null }, - "start": 8338, - "end": 8339, + "start": 7789, + "end": 7790, "loc": { "start": { - "line": 390, - "column": 17 + "line": 372, + "column": 15 }, "end": { - "line": 390, - "column": 18 + "line": 372, + "column": 16 } } }, @@ -89886,16 +89342,16 @@ "postfix": false, "binop": null }, - "start": 8340, - "end": 8341, + "start": 7791, + "end": 7792, "loc": { "start": { - "line": 390, - "column": 19 + "line": 372, + "column": 17 }, "end": { - "line": 390, - "column": 20 + "line": 372, + "column": 18 } } }, @@ -89914,15 +89370,15 @@ "updateContext": null }, "value": "return", - "start": 8344, - "end": 8350, + "start": 7795, + "end": 7801, "loc": { "start": { - "line": 391, + "line": 373, "column": 2 }, "end": { - "line": 391, + "line": 373, "column": 8 } } @@ -89941,15 +89397,15 @@ "updateContext": null }, "value": "!", - "start": 8351, - "end": 8352, + "start": 7802, + "end": 7803, "loc": { "start": { - "line": 391, + "line": 373, "column": 9 }, "end": { - "line": 391, + "line": 373, "column": 10 } } @@ -89969,15 +89425,15 @@ "updateContext": null }, "value": "this", - "start": 8352, - "end": 8356, + "start": 7803, + "end": 7807, "loc": { "start": { - "line": 391, + "line": 373, "column": 10 }, "end": { - "line": 391, + "line": 373, "column": 14 } } @@ -89995,15 +89451,15 @@ "binop": null, "updateContext": null }, - "start": 8356, - "end": 8357, + "start": 7807, + "end": 7808, "loc": { "start": { - "line": 391, + "line": 373, "column": 14 }, "end": { - "line": 391, + "line": 373, "column": 15 } } @@ -90021,15 +89477,15 @@ "binop": null }, "value": "isnegative", - "start": 8357, - "end": 8367, + "start": 7808, + "end": 7818, "loc": { "start": { - "line": 391, + "line": 373, "column": 15 }, "end": { - "line": 391, + "line": 373, "column": 25 } } @@ -90046,15 +89502,15 @@ "postfix": false, "binop": null }, - "start": 8367, - "end": 8368, + "start": 7818, + "end": 7819, "loc": { "start": { - "line": 391, + "line": 373, "column": 25 }, "end": { - "line": 391, + "line": 373, "column": 26 } } @@ -90071,15 +89527,15 @@ "postfix": false, "binop": null }, - "start": 8368, - "end": 8369, + "start": 7819, + "end": 7820, "loc": { "start": { - "line": 391, + "line": 373, "column": 26 }, "end": { - "line": 391, + "line": 373, "column": 27 } } @@ -90097,15 +89553,15 @@ "binop": null, "updateContext": null }, - "start": 8369, - "end": 8370, + "start": 7820, + "end": 7821, "loc": { "start": { - "line": 391, + "line": 373, "column": 27 }, "end": { - "line": 391, + "line": 373, "column": 28 } } @@ -90122,15 +89578,15 @@ "postfix": false, "binop": null }, - "start": 8372, - "end": 8373, + "start": 7823, + "end": 7824, "loc": { "start": { - "line": 392, + "line": 374, "column": 1 }, "end": { - "line": 392, + "line": 374, "column": 2 } } @@ -90148,15 +89604,15 @@ "binop": null }, "value": "isnonpositive", - "start": 8376, - "end": 8389, + "start": 7827, + "end": 7840, "loc": { "start": { - "line": 394, + "line": 376, "column": 1 }, "end": { - "line": 394, + "line": 376, "column": 14 } } @@ -90173,16 +89629,16 @@ "postfix": false, "binop": null }, - "start": 8390, - "end": 8391, + "start": 7840, + "end": 7841, "loc": { "start": { - "line": 394, - "column": 15 + "line": 376, + "column": 14 }, "end": { - "line": 394, - "column": 16 + "line": 376, + "column": 15 } } }, @@ -90198,16 +89654,16 @@ "postfix": false, "binop": null }, - "start": 8392, - "end": 8393, + "start": 7841, + "end": 7842, "loc": { "start": { - "line": 394, - "column": 17 + "line": 376, + "column": 15 }, "end": { - "line": 394, - "column": 18 + "line": 376, + "column": 16 } } }, @@ -90223,16 +89679,16 @@ "postfix": false, "binop": null }, - "start": 8394, - "end": 8395, + "start": 7843, + "end": 7844, "loc": { "start": { - "line": 394, - "column": 19 + "line": 376, + "column": 17 }, "end": { - "line": 394, - "column": 20 + "line": 376, + "column": 18 } } }, @@ -90251,15 +89707,15 @@ "updateContext": null }, "value": "return", - "start": 8398, - "end": 8404, + "start": 7847, + "end": 7853, "loc": { "start": { - "line": 395, + "line": 377, "column": 2 }, "end": { - "line": 395, + "line": 377, "column": 8 } } @@ -90278,15 +89734,15 @@ "updateContext": null }, "value": "!", - "start": 8405, - "end": 8406, + "start": 7854, + "end": 7855, "loc": { "start": { - "line": 395, + "line": 377, "column": 9 }, "end": { - "line": 395, + "line": 377, "column": 10 } } @@ -90306,15 +89762,15 @@ "updateContext": null }, "value": "this", - "start": 8406, - "end": 8410, + "start": 7855, + "end": 7859, "loc": { "start": { - "line": 395, + "line": 377, "column": 10 }, "end": { - "line": 395, + "line": 377, "column": 14 } } @@ -90332,15 +89788,15 @@ "binop": null, "updateContext": null }, - "start": 8410, - "end": 8411, + "start": 7859, + "end": 7860, "loc": { "start": { - "line": 395, + "line": 377, "column": 14 }, "end": { - "line": 395, + "line": 377, "column": 15 } } @@ -90358,15 +89814,15 @@ "binop": null }, "value": "ispositive", - "start": 8411, - "end": 8421, + "start": 7860, + "end": 7870, "loc": { "start": { - "line": 395, + "line": 377, "column": 15 }, "end": { - "line": 395, + "line": 377, "column": 25 } } @@ -90383,15 +89839,15 @@ "postfix": false, "binop": null }, - "start": 8421, - "end": 8422, + "start": 7870, + "end": 7871, "loc": { "start": { - "line": 395, + "line": 377, "column": 25 }, "end": { - "line": 395, + "line": 377, "column": 26 } } @@ -90408,15 +89864,15 @@ "postfix": false, "binop": null }, - "start": 8422, - "end": 8423, + "start": 7871, + "end": 7872, "loc": { "start": { - "line": 395, + "line": 377, "column": 26 }, "end": { - "line": 395, + "line": 377, "column": 27 } } @@ -90434,16 +89890,16 @@ "binop": null, "updateContext": null }, - "start": 8424, - "end": 8425, + "start": 7872, + "end": 7873, "loc": { "start": { - "line": 395, - "column": 28 + "line": 377, + "column": 27 }, "end": { - "line": 395, - "column": 29 + "line": 377, + "column": 28 } } }, @@ -90459,15 +89915,15 @@ "postfix": false, "binop": null }, - "start": 8427, - "end": 8428, + "start": 7875, + "end": 7876, "loc": { "start": { - "line": 396, + "line": 378, "column": 1 }, "end": { - "line": 396, + "line": 378, "column": 2 } } @@ -90485,15 +89941,15 @@ "binop": null }, "value": "parity", - "start": 8431, - "end": 8437, + "start": 7879, + "end": 7885, "loc": { "start": { - "line": 398, + "line": 380, "column": 1 }, "end": { - "line": 398, + "line": 380, "column": 7 } } @@ -90510,16 +89966,16 @@ "postfix": false, "binop": null }, - "start": 8438, - "end": 8439, + "start": 7885, + "end": 7886, "loc": { "start": { - "line": 398, - "column": 8 + "line": 380, + "column": 7 }, "end": { - "line": 398, - "column": 9 + "line": 380, + "column": 8 } } }, @@ -90535,16 +89991,16 @@ "postfix": false, "binop": null }, - "start": 8440, - "end": 8441, + "start": 7886, + "end": 7887, "loc": { "start": { - "line": 398, - "column": 10 + "line": 380, + "column": 8 }, "end": { - "line": 398, - "column": 11 + "line": 380, + "column": 9 } } }, @@ -90560,31 +90016,31 @@ "postfix": false, "binop": null }, - "start": 8442, - "end": 8443, + "start": 7888, + "end": 7889, "loc": { "start": { - "line": 398, - "column": 12 + "line": 380, + "column": 10 }, "end": { - "line": 398, - "column": 13 + "line": 380, + "column": 11 } } }, { "type": "CommentLine", "value": " TODO optimize this, there is a much faster way to test for parity", - "start": 8446, - "end": 8514, + "start": 7892, + "end": 7960, "loc": { "start": { - "line": 399, + "line": 381, "column": 2 }, "end": { - "line": 399, + "line": 381, "column": 70 } } @@ -90592,15 +90048,15 @@ { "type": "CommentLine", "value": " when the base is a multiple of two", - "start": 8517, - "end": 8554, + "start": 7963, + "end": 8000, "loc": { "start": { - "line": 400, + "line": 382, "column": 2 }, "end": { - "line": 400, + "line": 382, "column": 39 } } @@ -90620,15 +90076,15 @@ "updateContext": null }, "value": "return", - "start": 8557, - "end": 8563, + "start": 8003, + "end": 8009, "loc": { "start": { - "line": 401, + "line": 383, "column": 2 }, "end": { - "line": 401, + "line": 383, "column": 8 } } @@ -90648,15 +90104,15 @@ "updateContext": null }, "value": "this", - "start": 8564, - "end": 8568, + "start": 8010, + "end": 8014, "loc": { "start": { - "line": 401, + "line": 383, "column": 9 }, "end": { - "line": 401, + "line": 383, "column": 13 } } @@ -90674,15 +90130,15 @@ "binop": null, "updateContext": null }, - "start": 8568, - "end": 8569, + "start": 8014, + "end": 8015, "loc": { "start": { - "line": 401, + "line": 383, "column": 13 }, "end": { - "line": 401, + "line": 383, "column": 14 } } @@ -90700,15 +90156,15 @@ "binop": null }, "value": "modn", - "start": 8569, - "end": 8573, + "start": 8015, + "end": 8019, "loc": { "start": { - "line": 401, + "line": 383, "column": 14 }, "end": { - "line": 401, + "line": 383, "column": 18 } } @@ -90725,15 +90181,15 @@ "postfix": false, "binop": null }, - "start": 8573, - "end": 8574, + "start": 8019, + "end": 8020, "loc": { "start": { - "line": 401, + "line": 383, "column": 18 }, "end": { - "line": 401, + "line": 383, "column": 19 } } @@ -90752,15 +90208,15 @@ "updateContext": null }, "value": 2, - "start": 8574, - "end": 8575, + "start": 8020, + "end": 8021, "loc": { "start": { - "line": 401, + "line": 383, "column": 19 }, "end": { - "line": 401, + "line": 383, "column": 20 } } @@ -90777,15 +90233,15 @@ "postfix": false, "binop": null }, - "start": 8575, - "end": 8576, + "start": 8021, + "end": 8022, "loc": { "start": { - "line": 401, + "line": 383, "column": 20 }, "end": { - "line": 401, + "line": 383, "column": 21 } } @@ -90803,16 +90259,16 @@ "binop": null, "updateContext": null }, - "start": 8577, - "end": 8578, + "start": 8022, + "end": 8023, "loc": { "start": { - "line": 401, - "column": 22 + "line": 383, + "column": 21 }, "end": { - "line": 401, - "column": 23 + "line": 383, + "column": 22 } } }, @@ -90828,15 +90284,15 @@ "postfix": false, "binop": null }, - "start": 8580, - "end": 8581, + "start": 8025, + "end": 8026, "loc": { "start": { - "line": 402, + "line": 384, "column": 1 }, "end": { - "line": 402, + "line": 384, "column": 2 } } @@ -90854,15 +90310,15 @@ "binop": null }, "value": "iseven", - "start": 8584, - "end": 8590, + "start": 8029, + "end": 8035, "loc": { "start": { - "line": 404, + "line": 386, "column": 1 }, "end": { - "line": 404, + "line": 386, "column": 7 } } @@ -90879,16 +90335,16 @@ "postfix": false, "binop": null }, - "start": 8591, - "end": 8592, + "start": 8035, + "end": 8036, "loc": { "start": { - "line": 404, - "column": 8 + "line": 386, + "column": 7 }, "end": { - "line": 404, - "column": 9 + "line": 386, + "column": 8 } } }, @@ -90904,16 +90360,16 @@ "postfix": false, "binop": null }, - "start": 8593, - "end": 8594, + "start": 8036, + "end": 8037, "loc": { "start": { - "line": 404, - "column": 10 + "line": 386, + "column": 8 }, "end": { - "line": 404, - "column": 11 + "line": 386, + "column": 9 } } }, @@ -90929,16 +90385,16 @@ "postfix": false, "binop": null }, - "start": 8595, - "end": 8596, + "start": 8038, + "end": 8039, "loc": { "start": { - "line": 404, - "column": 12 + "line": 386, + "column": 10 }, "end": { - "line": 404, - "column": 13 + "line": 386, + "column": 11 } } }, @@ -90957,15 +90413,15 @@ "updateContext": null }, "value": "return", - "start": 8599, - "end": 8605, + "start": 8042, + "end": 8048, "loc": { "start": { - "line": 405, + "line": 387, "column": 2 }, "end": { - "line": 405, + "line": 387, "column": 8 } } @@ -90985,15 +90441,15 @@ "updateContext": null }, "value": "this", - "start": 8606, - "end": 8610, + "start": 8049, + "end": 8053, "loc": { "start": { - "line": 405, + "line": 387, "column": 9 }, "end": { - "line": 405, + "line": 387, "column": 13 } } @@ -91011,15 +90467,15 @@ "binop": null, "updateContext": null }, - "start": 8610, - "end": 8611, + "start": 8053, + "end": 8054, "loc": { "start": { - "line": 405, + "line": 387, "column": 13 }, "end": { - "line": 405, + "line": 387, "column": 14 } } @@ -91037,15 +90493,15 @@ "binop": null }, "value": "parity", - "start": 8611, - "end": 8617, + "start": 8054, + "end": 8060, "loc": { "start": { - "line": 405, + "line": 387, "column": 14 }, "end": { - "line": 405, + "line": 387, "column": 20 } } @@ -91062,15 +90518,15 @@ "postfix": false, "binop": null }, - "start": 8617, - "end": 8618, + "start": 8060, + "end": 8061, "loc": { "start": { - "line": 405, + "line": 387, "column": 20 }, "end": { - "line": 405, + "line": 387, "column": 21 } } @@ -91087,15 +90543,15 @@ "postfix": false, "binop": null }, - "start": 8618, - "end": 8619, + "start": 8061, + "end": 8062, "loc": { "start": { - "line": 405, + "line": 387, "column": 21 }, "end": { - "line": 405, + "line": 387, "column": 22 } } @@ -91113,15 +90569,15 @@ "binop": null, "updateContext": null }, - "start": 8619, - "end": 8620, + "start": 8062, + "end": 8063, "loc": { "start": { - "line": 405, + "line": 387, "column": 22 }, "end": { - "line": 405, + "line": 387, "column": 23 } } @@ -91139,15 +90595,15 @@ "binop": null }, "value": "iszero", - "start": 8620, - "end": 8626, + "start": 8063, + "end": 8069, "loc": { "start": { - "line": 405, + "line": 387, "column": 23 }, "end": { - "line": 405, + "line": 387, "column": 29 } } @@ -91164,15 +90620,15 @@ "postfix": false, "binop": null }, - "start": 8626, - "end": 8627, + "start": 8069, + "end": 8070, "loc": { "start": { - "line": 405, + "line": 387, "column": 29 }, "end": { - "line": 405, + "line": 387, "column": 30 } } @@ -91189,15 +90645,15 @@ "postfix": false, "binop": null }, - "start": 8627, - "end": 8628, + "start": 8070, + "end": 8071, "loc": { "start": { - "line": 405, + "line": 387, "column": 30 }, "end": { - "line": 405, + "line": 387, "column": 31 } } @@ -91215,16 +90671,16 @@ "binop": null, "updateContext": null }, - "start": 8629, - "end": 8630, + "start": 8071, + "end": 8072, "loc": { "start": { - "line": 405, - "column": 32 + "line": 387, + "column": 31 }, "end": { - "line": 405, - "column": 33 + "line": 387, + "column": 32 } } }, @@ -91240,15 +90696,15 @@ "postfix": false, "binop": null }, - "start": 8632, - "end": 8633, + "start": 8074, + "end": 8075, "loc": { "start": { - "line": 406, + "line": 388, "column": 1 }, "end": { - "line": 406, + "line": 388, "column": 2 } } @@ -91266,15 +90722,15 @@ "binop": null }, "value": "isodd", - "start": 8636, - "end": 8641, + "start": 8078, + "end": 8083, "loc": { "start": { - "line": 408, + "line": 390, "column": 1 }, "end": { - "line": 408, + "line": 390, "column": 6 } } @@ -91291,16 +90747,16 @@ "postfix": false, "binop": null }, - "start": 8642, - "end": 8643, + "start": 8083, + "end": 8084, "loc": { "start": { - "line": 408, - "column": 7 + "line": 390, + "column": 6 }, "end": { - "line": 408, - "column": 8 + "line": 390, + "column": 7 } } }, @@ -91316,16 +90772,16 @@ "postfix": false, "binop": null }, - "start": 8644, - "end": 8645, + "start": 8084, + "end": 8085, "loc": { "start": { - "line": 408, - "column": 9 + "line": 390, + "column": 7 }, "end": { - "line": 408, - "column": 10 + "line": 390, + "column": 8 } } }, @@ -91341,16 +90797,16 @@ "postfix": false, "binop": null }, - "start": 8646, - "end": 8647, + "start": 8086, + "end": 8087, "loc": { "start": { - "line": 408, - "column": 11 + "line": 390, + "column": 9 }, "end": { - "line": 408, - "column": 12 + "line": 390, + "column": 10 } } }, @@ -91369,15 +90825,15 @@ "updateContext": null }, "value": "return", - "start": 8650, - "end": 8656, + "start": 8090, + "end": 8096, "loc": { "start": { - "line": 409, + "line": 391, "column": 2 }, "end": { - "line": 409, + "line": 391, "column": 8 } } @@ -91396,15 +90852,15 @@ "updateContext": null }, "value": "!", - "start": 8657, - "end": 8658, + "start": 8097, + "end": 8098, "loc": { "start": { - "line": 409, + "line": 391, "column": 9 }, "end": { - "line": 409, + "line": 391, "column": 10 } } @@ -91424,15 +90880,15 @@ "updateContext": null }, "value": "this", - "start": 8658, - "end": 8662, + "start": 8098, + "end": 8102, "loc": { "start": { - "line": 409, + "line": 391, "column": 10 }, "end": { - "line": 409, + "line": 391, "column": 14 } } @@ -91450,15 +90906,15 @@ "binop": null, "updateContext": null }, - "start": 8662, - "end": 8663, + "start": 8102, + "end": 8103, "loc": { "start": { - "line": 409, + "line": 391, "column": 14 }, "end": { - "line": 409, + "line": 391, "column": 15 } } @@ -91476,15 +90932,15 @@ "binop": null }, "value": "iseven", - "start": 8663, - "end": 8669, + "start": 8103, + "end": 8109, "loc": { "start": { - "line": 409, + "line": 391, "column": 15 }, "end": { - "line": 409, + "line": 391, "column": 21 } } @@ -91501,15 +90957,15 @@ "postfix": false, "binop": null }, - "start": 8669, - "end": 8670, + "start": 8109, + "end": 8110, "loc": { "start": { - "line": 409, + "line": 391, "column": 21 }, "end": { - "line": 409, + "line": 391, "column": 22 } } @@ -91526,15 +90982,15 @@ "postfix": false, "binop": null }, - "start": 8670, - "end": 8671, + "start": 8110, + "end": 8111, "loc": { "start": { - "line": 409, + "line": 391, "column": 22 }, "end": { - "line": 409, + "line": 391, "column": 23 } } @@ -91552,16 +91008,16 @@ "binop": null, "updateContext": null }, - "start": 8672, - "end": 8673, + "start": 8111, + "end": 8112, "loc": { "start": { - "line": 409, - "column": 24 + "line": 391, + "column": 23 }, "end": { - "line": 409, - "column": 25 + "line": 391, + "column": 24 } } }, @@ -91577,15 +91033,15 @@ "postfix": false, "binop": null }, - "start": 8675, - "end": 8676, + "start": 8114, + "end": 8115, "loc": { "start": { - "line": 410, + "line": 392, "column": 1 }, "end": { - "line": 410, + "line": 392, "column": 2 } } @@ -91603,15 +91059,15 @@ "binop": null }, "value": "bin", - "start": 8679, - "end": 8682, + "start": 8118, + "end": 8121, "loc": { "start": { - "line": 412, + "line": 394, "column": 1 }, "end": { - "line": 412, + "line": 394, "column": 4 } } @@ -91628,16 +91084,16 @@ "postfix": false, "binop": null }, - "start": 8683, - "end": 8684, + "start": 8121, + "end": 8122, "loc": { "start": { - "line": 412, - "column": 5 + "line": 394, + "column": 4 }, "end": { - "line": 412, - "column": 6 + "line": 394, + "column": 5 } } }, @@ -91653,16 +91109,16 @@ "postfix": false, "binop": null }, - "start": 8685, - "end": 8686, + "start": 8122, + "end": 8123, "loc": { "start": { - "line": 412, - "column": 7 + "line": 394, + "column": 5 }, "end": { - "line": 412, - "column": 8 + "line": 394, + "column": 6 } } }, @@ -91678,16 +91134,16 @@ "postfix": false, "binop": null }, - "start": 8687, - "end": 8688, + "start": 8124, + "end": 8125, "loc": { "start": { - "line": 412, - "column": 9 + "line": 394, + "column": 7 }, "end": { - "line": 412, - "column": 10 + "line": 394, + "column": 8 } } }, @@ -91706,15 +91162,15 @@ "updateContext": null }, "value": "return", - "start": 8691, - "end": 8697, + "start": 8128, + "end": 8134, "loc": { "start": { - "line": 413, + "line": 395, "column": 2 }, "end": { - "line": 413, + "line": 395, "column": 8 } } @@ -91734,15 +91190,15 @@ "updateContext": null }, "value": "this", - "start": 8698, - "end": 8702, + "start": 8135, + "end": 8139, "loc": { "start": { - "line": 413, + "line": 395, "column": 9 }, "end": { - "line": 413, + "line": 395, "column": 13 } } @@ -91760,15 +91216,15 @@ "binop": null, "updateContext": null }, - "start": 8702, - "end": 8703, + "start": 8139, + "end": 8140, "loc": { "start": { - "line": 413, + "line": 395, "column": 13 }, "end": { - "line": 413, + "line": 395, "column": 14 } } @@ -91786,15 +91242,15 @@ "binop": null }, "value": "toString", - "start": 8703, - "end": 8711, + "start": 8140, + "end": 8148, "loc": { "start": { - "line": 413, + "line": 395, "column": 14 }, "end": { - "line": 413, + "line": 395, "column": 22 } } @@ -91811,15 +91267,15 @@ "postfix": false, "binop": null }, - "start": 8711, - "end": 8712, + "start": 8148, + "end": 8149, "loc": { "start": { - "line": 413, + "line": 395, "column": 22 }, "end": { - "line": 413, + "line": 395, "column": 23 } } @@ -91838,16 +91294,16 @@ "updateContext": null }, "value": 2, - "start": 8713, - "end": 8714, + "start": 8149, + "end": 8150, "loc": { "start": { - "line": 413, - "column": 24 + "line": 395, + "column": 23 }, "end": { - "line": 413, - "column": 25 + "line": 395, + "column": 24 } } }, @@ -91863,16 +91319,16 @@ "postfix": false, "binop": null }, - "start": 8715, - "end": 8716, + "start": 8150, + "end": 8151, "loc": { "start": { - "line": 413, - "column": 26 + "line": 395, + "column": 24 }, "end": { - "line": 413, - "column": 27 + "line": 395, + "column": 25 } } }, @@ -91889,16 +91345,16 @@ "binop": null, "updateContext": null }, - "start": 8717, - "end": 8718, + "start": 8151, + "end": 8152, "loc": { "start": { - "line": 413, - "column": 28 + "line": 395, + "column": 25 }, "end": { - "line": 413, - "column": 29 + "line": 395, + "column": 26 } } }, @@ -91914,15 +91370,15 @@ "postfix": false, "binop": null }, - "start": 8720, - "end": 8721, + "start": 8154, + "end": 8155, "loc": { "start": { - "line": 414, + "line": 396, "column": 1 }, "end": { - "line": 414, + "line": 396, "column": 2 } } @@ -91940,15 +91396,15 @@ "binop": null }, "value": "oct", - "start": 8724, - "end": 8727, + "start": 8158, + "end": 8161, "loc": { "start": { - "line": 416, + "line": 398, "column": 1 }, "end": { - "line": 416, + "line": 398, "column": 4 } } @@ -91965,16 +91421,16 @@ "postfix": false, "binop": null }, - "start": 8728, - "end": 8729, + "start": 8161, + "end": 8162, "loc": { "start": { - "line": 416, - "column": 5 + "line": 398, + "column": 4 }, "end": { - "line": 416, - "column": 6 + "line": 398, + "column": 5 } } }, @@ -91990,16 +91446,16 @@ "postfix": false, "binop": null }, - "start": 8730, - "end": 8731, + "start": 8162, + "end": 8163, "loc": { "start": { - "line": 416, - "column": 7 + "line": 398, + "column": 5 }, "end": { - "line": 416, - "column": 8 + "line": 398, + "column": 6 } } }, @@ -92015,16 +91471,16 @@ "postfix": false, "binop": null }, - "start": 8732, - "end": 8733, + "start": 8164, + "end": 8165, "loc": { "start": { - "line": 416, - "column": 9 + "line": 398, + "column": 7 }, "end": { - "line": 416, - "column": 10 + "line": 398, + "column": 8 } } }, @@ -92043,15 +91499,15 @@ "updateContext": null }, "value": "return", - "start": 8736, - "end": 8742, + "start": 8168, + "end": 8174, "loc": { "start": { - "line": 417, + "line": 399, "column": 2 }, "end": { - "line": 417, + "line": 399, "column": 8 } } @@ -92071,15 +91527,15 @@ "updateContext": null }, "value": "this", - "start": 8743, - "end": 8747, + "start": 8175, + "end": 8179, "loc": { "start": { - "line": 417, + "line": 399, "column": 9 }, "end": { - "line": 417, + "line": 399, "column": 13 } } @@ -92097,15 +91553,15 @@ "binop": null, "updateContext": null }, - "start": 8747, - "end": 8748, + "start": 8179, + "end": 8180, "loc": { "start": { - "line": 417, + "line": 399, "column": 13 }, "end": { - "line": 417, + "line": 399, "column": 14 } } @@ -92123,15 +91579,15 @@ "binop": null }, "value": "toString", - "start": 8748, - "end": 8756, + "start": 8180, + "end": 8188, "loc": { "start": { - "line": 417, + "line": 399, "column": 14 }, "end": { - "line": 417, + "line": 399, "column": 22 } } @@ -92148,15 +91604,15 @@ "postfix": false, "binop": null }, - "start": 8756, - "end": 8757, + "start": 8188, + "end": 8189, "loc": { "start": { - "line": 417, + "line": 399, "column": 22 }, "end": { - "line": 417, + "line": 399, "column": 23 } } @@ -92175,16 +91631,16 @@ "updateContext": null }, "value": 8, - "start": 8758, - "end": 8759, + "start": 8189, + "end": 8190, "loc": { "start": { - "line": 417, - "column": 24 + "line": 399, + "column": 23 }, "end": { - "line": 417, - "column": 25 + "line": 399, + "column": 24 } } }, @@ -92200,16 +91656,16 @@ "postfix": false, "binop": null }, - "start": 8760, - "end": 8761, + "start": 8190, + "end": 8191, "loc": { "start": { - "line": 417, - "column": 26 + "line": 399, + "column": 24 }, "end": { - "line": 417, - "column": 27 + "line": 399, + "column": 25 } } }, @@ -92226,16 +91682,16 @@ "binop": null, "updateContext": null }, - "start": 8762, - "end": 8763, + "start": 8191, + "end": 8192, "loc": { "start": { - "line": 417, - "column": 28 + "line": 399, + "column": 25 }, "end": { - "line": 417, - "column": 29 + "line": 399, + "column": 26 } } }, @@ -92251,15 +91707,15 @@ "postfix": false, "binop": null }, - "start": 8765, - "end": 8766, + "start": 8194, + "end": 8195, "loc": { "start": { - "line": 418, + "line": 400, "column": 1 }, "end": { - "line": 418, + "line": 400, "column": 2 } } @@ -92277,15 +91733,15 @@ "binop": null }, "value": "hex", - "start": 8769, - "end": 8772, + "start": 8198, + "end": 8201, "loc": { "start": { - "line": 420, + "line": 402, "column": 1 }, "end": { - "line": 420, + "line": 402, "column": 4 } } @@ -92302,16 +91758,16 @@ "postfix": false, "binop": null }, - "start": 8773, - "end": 8774, + "start": 8201, + "end": 8202, "loc": { "start": { - "line": 420, - "column": 5 + "line": 402, + "column": 4 }, "end": { - "line": 420, - "column": 6 + "line": 402, + "column": 5 } } }, @@ -92327,16 +91783,16 @@ "postfix": false, "binop": null }, - "start": 8775, - "end": 8776, + "start": 8202, + "end": 8203, "loc": { "start": { - "line": 420, - "column": 7 + "line": 402, + "column": 5 }, "end": { - "line": 420, - "column": 8 + "line": 402, + "column": 6 } } }, @@ -92352,16 +91808,16 @@ "postfix": false, "binop": null }, - "start": 8777, - "end": 8778, + "start": 8204, + "end": 8205, "loc": { "start": { - "line": 420, - "column": 9 + "line": 402, + "column": 7 }, "end": { - "line": 420, - "column": 10 + "line": 402, + "column": 8 } } }, @@ -92380,15 +91836,15 @@ "updateContext": null }, "value": "return", - "start": 8781, - "end": 8787, + "start": 8208, + "end": 8214, "loc": { "start": { - "line": 421, + "line": 403, "column": 2 }, "end": { - "line": 421, + "line": 403, "column": 8 } } @@ -92408,15 +91864,15 @@ "updateContext": null }, "value": "this", - "start": 8788, - "end": 8792, + "start": 8215, + "end": 8219, "loc": { "start": { - "line": 421, + "line": 403, "column": 9 }, "end": { - "line": 421, + "line": 403, "column": 13 } } @@ -92434,15 +91890,15 @@ "binop": null, "updateContext": null }, - "start": 8792, - "end": 8793, + "start": 8219, + "end": 8220, "loc": { "start": { - "line": 421, + "line": 403, "column": 13 }, "end": { - "line": 421, + "line": 403, "column": 14 } } @@ -92460,15 +91916,15 @@ "binop": null }, "value": "toString", - "start": 8793, - "end": 8801, + "start": 8220, + "end": 8228, "loc": { "start": { - "line": 421, + "line": 403, "column": 14 }, "end": { - "line": 421, + "line": 403, "column": 22 } } @@ -92485,15 +91941,15 @@ "postfix": false, "binop": null }, - "start": 8801, - "end": 8802, + "start": 8228, + "end": 8229, "loc": { "start": { - "line": 421, + "line": 403, "column": 22 }, "end": { - "line": 421, + "line": 403, "column": 23 } } @@ -92512,16 +91968,16 @@ "updateContext": null }, "value": 16, - "start": 8803, - "end": 8805, + "start": 8229, + "end": 8231, "loc": { "start": { - "line": 421, - "column": 24 + "line": 403, + "column": 23 }, "end": { - "line": 421, - "column": 26 + "line": 403, + "column": 25 } } }, @@ -92537,16 +91993,16 @@ "postfix": false, "binop": null }, - "start": 8806, - "end": 8807, + "start": 8231, + "end": 8232, "loc": { "start": { - "line": 421, - "column": 27 + "line": 403, + "column": 25 }, "end": { - "line": 421, - "column": 28 + "line": 403, + "column": 26 } } }, @@ -92563,16 +92019,16 @@ "binop": null, "updateContext": null }, - "start": 8808, - "end": 8809, + "start": 8232, + "end": 8233, "loc": { "start": { - "line": 421, - "column": 29 + "line": 403, + "column": 26 }, "end": { - "line": 421, - "column": 30 + "line": 403, + "column": 27 } } }, @@ -92588,15 +92044,15 @@ "postfix": false, "binop": null }, - "start": 8811, - "end": 8812, + "start": 8235, + "end": 8236, "loc": { "start": { - "line": 422, + "line": 404, "column": 1 }, "end": { - "line": 422, + "line": 404, "column": 2 } } @@ -92614,15 +92070,15 @@ "binop": null }, "value": "toJSON", - "start": 8815, - "end": 8821, + "start": 8239, + "end": 8245, "loc": { "start": { - "line": 424, + "line": 406, "column": 1 }, "end": { - "line": 424, + "line": 406, "column": 7 } } @@ -92639,16 +92095,16 @@ "postfix": false, "binop": null }, - "start": 8822, - "end": 8823, + "start": 8245, + "end": 8246, "loc": { "start": { - "line": 424, - "column": 8 + "line": 406, + "column": 7 }, "end": { - "line": 424, - "column": 9 + "line": 406, + "column": 8 } } }, @@ -92664,16 +92120,16 @@ "postfix": false, "binop": null }, - "start": 8824, - "end": 8825, + "start": 8246, + "end": 8247, "loc": { "start": { - "line": 424, - "column": 10 + "line": 406, + "column": 8 }, "end": { - "line": 424, - "column": 11 + "line": 406, + "column": 9 } } }, @@ -92689,16 +92145,16 @@ "postfix": false, "binop": null }, - "start": 8826, - "end": 8827, + "start": 8248, + "end": 8249, "loc": { "start": { - "line": 424, - "column": 12 + "line": 406, + "column": 10 }, "end": { - "line": 424, - "column": 13 + "line": 406, + "column": 11 } } }, @@ -92717,15 +92173,15 @@ "updateContext": null }, "value": "return", - "start": 8830, - "end": 8836, + "start": 8252, + "end": 8258, "loc": { "start": { - "line": 425, + "line": 407, "column": 2 }, "end": { - "line": 425, + "line": 407, "column": 8 } } @@ -92745,15 +92201,15 @@ "updateContext": null }, "value": "this", - "start": 8837, - "end": 8841, + "start": 8259, + "end": 8263, "loc": { "start": { - "line": 425, + "line": 407, "column": 9 }, "end": { - "line": 425, + "line": 407, "column": 13 } } @@ -92771,15 +92227,15 @@ "binop": null, "updateContext": null }, - "start": 8841, - "end": 8842, + "start": 8263, + "end": 8264, "loc": { "start": { - "line": 425, + "line": 407, "column": 13 }, "end": { - "line": 425, + "line": 407, "column": 14 } } @@ -92797,15 +92253,15 @@ "binop": null }, "value": "hex", - "start": 8842, - "end": 8845, + "start": 8264, + "end": 8267, "loc": { "start": { - "line": 425, + "line": 407, "column": 14 }, "end": { - "line": 425, + "line": 407, "column": 17 } } @@ -92822,15 +92278,15 @@ "postfix": false, "binop": null }, - "start": 8845, - "end": 8846, + "start": 8267, + "end": 8268, "loc": { "start": { - "line": 425, + "line": 407, "column": 17 }, "end": { - "line": 425, + "line": 407, "column": 18 } } @@ -92847,16 +92303,16 @@ "postfix": false, "binop": null }, - "start": 8847, - "end": 8848, + "start": 8268, + "end": 8269, "loc": { "start": { - "line": 425, - "column": 19 + "line": 407, + "column": 18 }, "end": { - "line": 425, - "column": 20 + "line": 407, + "column": 19 } } }, @@ -92873,16 +92329,16 @@ "binop": null, "updateContext": null }, - "start": 8849, - "end": 8850, + "start": 8269, + "end": 8270, "loc": { "start": { - "line": 425, - "column": 21 + "line": 407, + "column": 19 }, "end": { - "line": 425, - "column": 22 + "line": 407, + "column": 20 } } }, @@ -92898,15 +92354,15 @@ "postfix": false, "binop": null }, - "start": 8852, - "end": 8853, + "start": 8272, + "end": 8273, "loc": { "start": { - "line": 426, + "line": 408, "column": 1 }, "end": { - "line": 426, + "line": 408, "column": 2 } } @@ -92924,15 +92380,15 @@ "binop": null }, "value": "digits", - "start": 8856, - "end": 8862, + "start": 8276, + "end": 8282, "loc": { "start": { - "line": 428, + "line": 410, "column": 1 }, "end": { - "line": 428, + "line": 410, "column": 7 } } @@ -92949,16 +92405,16 @@ "postfix": false, "binop": null }, - "start": 8863, - "end": 8864, + "start": 8282, + "end": 8283, "loc": { "start": { - "line": 428, - "column": 8 + "line": 410, + "column": 7 }, "end": { - "line": 428, - "column": 9 + "line": 410, + "column": 8 } } }, @@ -92975,16 +92431,16 @@ "binop": null }, "value": "base", - "start": 8865, - "end": 8869, + "start": 8283, + "end": 8287, "loc": { "start": { - "line": 428, - "column": 10 + "line": 410, + "column": 8 }, "end": { - "line": 428, - "column": 14 + "line": 410, + "column": 12 } } }, @@ -93002,16 +92458,16 @@ "updateContext": null }, "value": "=", - "start": 8870, - "end": 8871, + "start": 8288, + "end": 8289, "loc": { "start": { - "line": 428, - "column": 15 + "line": 410, + "column": 13 }, "end": { - "line": 428, - "column": 16 + "line": 410, + "column": 14 } } }, @@ -93028,16 +92484,16 @@ "binop": null }, "value": "DEFAULT_DISPLAY_BASE", - "start": 8872, - "end": 8892, + "start": 8290, + "end": 8310, "loc": { "start": { - "line": 428, - "column": 17 + "line": 410, + "column": 15 }, "end": { - "line": 428, - "column": 37 + "line": 410, + "column": 35 } } }, @@ -93053,16 +92509,16 @@ "postfix": false, "binop": null }, - "start": 8893, - "end": 8894, + "start": 8310, + "end": 8311, "loc": { "start": { - "line": 428, - "column": 38 + "line": 410, + "column": 35 }, "end": { - "line": 428, - "column": 39 + "line": 410, + "column": 36 } } }, @@ -93078,31 +92534,31 @@ "postfix": false, "binop": null }, - "start": 8895, - "end": 8896, + "start": 8312, + "end": 8313, "loc": { "start": { - "line": 428, - "column": 40 + "line": 410, + "column": 37 }, "end": { - "line": 428, - "column": 41 + "line": 410, + "column": 38 } } }, { "type": "CommentLine", "value": " TODO Once #to is implemented we can rewrite this as", - "start": 8899, - "end": 8953, + "start": 8316, + "end": 8370, "loc": { "start": { - "line": 429, + "line": 411, "column": 2 }, "end": { - "line": 429, + "line": 411, "column": 56 } } @@ -93110,15 +92566,15 @@ { "type": "CommentLine", "value": " return this.to(LITTLE_ENDIAN, base, Array) ;", - "start": 8956, - "end": 9003, + "start": 8373, + "end": 8420, "loc": { "start": { - "line": 430, + "line": 412, "column": 2 }, "end": { - "line": 430, + "line": 412, "column": 49 } } @@ -93138,15 +92594,15 @@ "updateContext": null }, "value": "return", - "start": 9006, - "end": 9012, + "start": 8423, + "end": 8429, "loc": { "start": { - "line": 431, + "line": 413, "column": 2 }, "end": { - "line": 431, + "line": 413, "column": 8 } } @@ -93164,15 +92620,15 @@ "binop": null }, "value": "convert", - "start": 9013, - "end": 9020, + "start": 8430, + "end": 8437, "loc": { "start": { - "line": 431, + "line": 413, "column": 9 }, "end": { - "line": 431, + "line": 413, "column": 16 } } @@ -93189,15 +92645,15 @@ "postfix": false, "binop": null }, - "start": 9020, - "end": 9021, + "start": 8437, + "end": 8438, "loc": { "start": { - "line": 431, + "line": 413, "column": 16 }, "end": { - "line": 431, + "line": 413, "column": 17 } } @@ -93217,16 +92673,16 @@ "updateContext": null }, "value": "this", - "start": 9022, - "end": 9026, + "start": 8442, + "end": 8446, "loc": { "start": { - "line": 431, - "column": 18 + "line": 414, + "column": 3 }, "end": { - "line": 431, - "column": 22 + "line": 414, + "column": 7 } } }, @@ -93243,16 +92699,16 @@ "binop": null, "updateContext": null }, - "start": 9026, - "end": 9027, + "start": 8446, + "end": 8447, "loc": { "start": { - "line": 431, - "column": 22 + "line": 414, + "column": 7 }, "end": { - "line": 431, - "column": 23 + "line": 414, + "column": 8 } } }, @@ -93268,17 +92724,17 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 9027, - "end": 9031, + "value": "_base", + "start": 8447, + "end": 8452, "loc": { "start": { - "line": 431, - "column": 23 + "line": 414, + "column": 8 }, "end": { - "line": 431, - "column": 27 + "line": 414, + "column": 13 } } }, @@ -93295,16 +92751,16 @@ "binop": null, "updateContext": null }, - "start": 9032, - "end": 9033, + "start": 8452, + "end": 8453, "loc": { "start": { - "line": 431, - "column": 28 + "line": 414, + "column": 13 }, "end": { - "line": 431, - "column": 29 + "line": 414, + "column": 14 } } }, @@ -93321,16 +92777,16 @@ "binop": null }, "value": "base", - "start": 9034, - "end": 9038, + "start": 8457, + "end": 8461, "loc": { "start": { - "line": 431, - "column": 30 + "line": 415, + "column": 3 }, "end": { - "line": 431, - "column": 34 + "line": 415, + "column": 7 } } }, @@ -93347,16 +92803,16 @@ "binop": null, "updateContext": null }, - "start": 9039, - "end": 9040, + "start": 8461, + "end": 8462, "loc": { "start": { - "line": 431, - "column": 35 + "line": 415, + "column": 7 }, "end": { - "line": 431, - "column": 36 + "line": 415, + "column": 8 } } }, @@ -93375,16 +92831,16 @@ "updateContext": null }, "value": "this", - "start": 9041, - "end": 9045, + "start": 8466, + "end": 8470, "loc": { "start": { - "line": 431, - "column": 37 + "line": 416, + "column": 3 }, "end": { - "line": 431, - "column": 41 + "line": 416, + "column": 7 } } }, @@ -93401,16 +92857,16 @@ "binop": null, "updateContext": null }, - "start": 9045, - "end": 9046, + "start": 8470, + "end": 8471, "loc": { "start": { - "line": 431, - "column": 41 + "line": 416, + "column": 7 }, "end": { - "line": 431, - "column": 42 + "line": 416, + "column": 8 } } }, @@ -93426,17 +92882,17 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 9046, - "end": 9051, + "value": "_limbs", + "start": 8471, + "end": 8477, "loc": { "start": { - "line": 431, - "column": 42 + "line": 416, + "column": 8 }, "end": { - "line": 431, - "column": 47 + "line": 416, + "column": 14 } } }, @@ -93453,16 +92909,16 @@ "binop": null, "updateContext": null }, - "start": 9052, - "end": 9053, + "start": 8477, + "end": 8478, "loc": { "start": { - "line": 431, - "column": 48 + "line": 416, + "column": 14 }, "end": { - "line": 431, - "column": 49 + "line": 416, + "column": 15 } } }, @@ -93480,16 +92936,16 @@ "updateContext": null }, "value": 0, - "start": 9054, - "end": 9055, + "start": 8482, + "end": 8483, "loc": { "start": { - "line": 431, - "column": 50 + "line": 417, + "column": 3 }, "end": { - "line": 431, - "column": 51 + "line": 417, + "column": 4 } } }, @@ -93506,16 +92962,16 @@ "binop": null, "updateContext": null }, - "start": 9056, - "end": 9057, + "start": 8483, + "end": 8484, "loc": { "start": { - "line": 431, - "column": 52 + "line": 417, + "column": 4 }, "end": { - "line": 431, - "column": 53 + "line": 417, + "column": 5 } } }, @@ -93534,16 +92990,16 @@ "updateContext": null }, "value": "this", - "start": 9058, - "end": 9062, + "start": 8488, + "end": 8492, "loc": { "start": { - "line": 431, - "column": 54 + "line": 418, + "column": 3 }, "end": { - "line": 431, - "column": 58 + "line": 418, + "column": 7 } } }, @@ -93560,16 +93016,16 @@ "binop": null, "updateContext": null }, - "start": 9062, - "end": 9063, + "start": 8492, + "end": 8493, "loc": { "start": { - "line": 431, - "column": 58 + "line": 418, + "column": 7 }, "end": { - "line": 431, - "column": 59 + "line": 418, + "column": 8 } } }, @@ -93585,17 +93041,17 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 9063, - "end": 9068, + "value": "_limbs", + "start": 8493, + "end": 8499, "loc": { "start": { - "line": 431, - "column": 59 + "line": 418, + "column": 8 }, "end": { - "line": 431, - "column": 64 + "line": 418, + "column": 14 } } }, @@ -93612,16 +93068,16 @@ "binop": null, "updateContext": null }, - "start": 9068, - "end": 9069, + "start": 8499, + "end": 8500, "loc": { "start": { - "line": 431, - "column": 64 + "line": 418, + "column": 14 }, "end": { - "line": 431, - "column": 65 + "line": 418, + "column": 15 } } }, @@ -93638,16 +93094,42 @@ "binop": null }, "value": "length", - "start": 9069, - "end": 9075, + "start": 8500, + "end": 8506, "loc": { "start": { - "line": 431, - "column": 65 + "line": 418, + "column": 15 }, "end": { - "line": 431, - "column": 71 + "line": 418, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8506, + "end": 8507, + "loc": { + "start": { + "line": 418, + "column": 21 + }, + "end": { + "line": 418, + "column": 22 } } }, @@ -93663,16 +93145,16 @@ "postfix": false, "binop": null }, - "start": 9076, - "end": 9077, + "start": 8510, + "end": 8511, "loc": { "start": { - "line": 431, - "column": 72 + "line": 419, + "column": 2 }, "end": { - "line": 431, - "column": 73 + "line": 419, + "column": 3 } } }, @@ -93689,16 +93171,16 @@ "binop": null, "updateContext": null }, - "start": 9077, - "end": 9078, + "start": 8511, + "end": 8512, "loc": { "start": { - "line": 431, - "column": 73 + "line": 419, + "column": 3 }, "end": { - "line": 431, - "column": 74 + "line": 419, + "column": 4 } } }, @@ -93715,16 +93197,16 @@ "binop": null }, "value": "reverse", - "start": 9078, - "end": 9085, + "start": 8512, + "end": 8519, "loc": { "start": { - "line": 431, - "column": 74 + "line": 419, + "column": 4 }, "end": { - "line": 431, - "column": 81 + "line": 419, + "column": 11 } } }, @@ -93740,16 +93222,16 @@ "postfix": false, "binop": null }, - "start": 9085, - "end": 9086, + "start": 8519, + "end": 8520, "loc": { "start": { - "line": 431, - "column": 81 + "line": 419, + "column": 11 }, "end": { - "line": 431, - "column": 82 + "line": 419, + "column": 12 } } }, @@ -93765,16 +93247,16 @@ "postfix": false, "binop": null }, - "start": 9087, - "end": 9088, + "start": 8520, + "end": 8521, "loc": { "start": { - "line": 431, - "column": 83 + "line": 419, + "column": 12 }, "end": { - "line": 431, - "column": 84 + "line": 419, + "column": 13 } } }, @@ -93791,16 +93273,16 @@ "binop": null, "updateContext": null }, - "start": 9089, - "end": 9090, + "start": 8521, + "end": 8522, "loc": { "start": { - "line": 431, - "column": 85 + "line": 419, + "column": 13 }, "end": { - "line": 431, - "column": 86 + "line": 419, + "column": 14 } } }, @@ -93816,15 +93298,15 @@ "postfix": false, "binop": null }, - "start": 9092, - "end": 9093, + "start": 8524, + "end": 8525, "loc": { "start": { - "line": 432, + "line": 420, "column": 1 }, "end": { - "line": 432, + "line": 420, "column": 2 } } @@ -93842,15 +93324,15 @@ "binop": null }, "value": "bits", - "start": 9096, - "end": 9100, + "start": 8528, + "end": 8532, "loc": { "start": { - "line": 434, + "line": 422, "column": 1 }, "end": { - "line": 434, + "line": 422, "column": 5 } } @@ -93867,16 +93349,16 @@ "postfix": false, "binop": null }, - "start": 9101, - "end": 9102, + "start": 8532, + "end": 8533, "loc": { "start": { - "line": 434, - "column": 6 + "line": 422, + "column": 5 }, "end": { - "line": 434, - "column": 7 + "line": 422, + "column": 6 } } }, @@ -93892,16 +93374,16 @@ "postfix": false, "binop": null }, - "start": 9103, - "end": 9104, + "start": 8533, + "end": 8534, "loc": { "start": { - "line": 434, - "column": 8 + "line": 422, + "column": 6 }, "end": { - "line": 434, - "column": 9 + "line": 422, + "column": 7 } } }, @@ -93917,16 +93399,16 @@ "postfix": false, "binop": null }, - "start": 9105, - "end": 9106, + "start": 8535, + "end": 8536, "loc": { "start": { - "line": 434, - "column": 10 + "line": 422, + "column": 8 }, "end": { - "line": 434, - "column": 11 + "line": 422, + "column": 9 } } }, @@ -93945,15 +93427,15 @@ "updateContext": null }, "value": "return", - "start": 9109, - "end": 9115, + "start": 8539, + "end": 8545, "loc": { "start": { - "line": 435, + "line": 423, "column": 2 }, "end": { - "line": 435, + "line": 423, "column": 8 } } @@ -93973,15 +93455,15 @@ "updateContext": null }, "value": "this", - "start": 9116, - "end": 9120, + "start": 8546, + "end": 8550, "loc": { "start": { - "line": 435, + "line": 423, "column": 9 }, "end": { - "line": 435, + "line": 423, "column": 13 } } @@ -93999,15 +93481,15 @@ "binop": null, "updateContext": null }, - "start": 9120, - "end": 9121, + "start": 8550, + "end": 8551, "loc": { "start": { - "line": 435, + "line": 423, "column": 13 }, "end": { - "line": 435, + "line": 423, "column": 14 } } @@ -94025,15 +93507,15 @@ "binop": null }, "value": "digits", - "start": 9121, - "end": 9127, + "start": 8551, + "end": 8557, "loc": { "start": { - "line": 435, + "line": 423, "column": 14 }, "end": { - "line": 435, + "line": 423, "column": 20 } } @@ -94050,15 +93532,15 @@ "postfix": false, "binop": null }, - "start": 9127, - "end": 9128, + "start": 8557, + "end": 8558, "loc": { "start": { - "line": 435, + "line": 423, "column": 20 }, "end": { - "line": 435, + "line": 423, "column": 21 } } @@ -94077,16 +93559,16 @@ "updateContext": null }, "value": 2, - "start": 9129, - "end": 9130, + "start": 8558, + "end": 8559, "loc": { "start": { - "line": 435, - "column": 22 + "line": 423, + "column": 21 }, "end": { - "line": 435, - "column": 23 + "line": 423, + "column": 22 } } }, @@ -94102,16 +93584,16 @@ "postfix": false, "binop": null }, - "start": 9131, - "end": 9132, + "start": 8559, + "end": 8560, "loc": { "start": { - "line": 435, - "column": 24 + "line": 423, + "column": 22 }, "end": { - "line": 435, - "column": 25 + "line": 423, + "column": 23 } } }, @@ -94128,16 +93610,16 @@ "binop": null, "updateContext": null }, - "start": 9133, - "end": 9134, + "start": 8560, + "end": 8561, "loc": { "start": { - "line": 435, - "column": 26 + "line": 423, + "column": 23 }, "end": { - "line": 435, - "column": 27 + "line": 423, + "column": 24 } } }, @@ -94153,15 +93635,15 @@ "postfix": false, "binop": null }, - "start": 9136, - "end": 9137, + "start": 8563, + "end": 8564, "loc": { "start": { - "line": 436, + "line": 424, "column": 1 }, "end": { - "line": 436, + "line": 424, "column": 2 } } @@ -94179,15 +93661,15 @@ "binop": null }, "value": "divides", - "start": 9140, - "end": 9147, + "start": 8567, + "end": 8574, "loc": { "start": { - "line": 438, + "line": 426, "column": 1 }, "end": { - "line": 438, + "line": 426, "column": 8 } } @@ -94204,16 +93686,16 @@ "postfix": false, "binop": null }, - "start": 9148, - "end": 9149, + "start": 8574, + "end": 8575, "loc": { "start": { - "line": 438, - "column": 9 + "line": 426, + "column": 8 }, "end": { - "line": 438, - "column": 10 + "line": 426, + "column": 9 } } }, @@ -94230,16 +93712,16 @@ "binop": null }, "value": "other", - "start": 9150, - "end": 9155, + "start": 8575, + "end": 8580, "loc": { "start": { - "line": 438, - "column": 11 + "line": 426, + "column": 9 }, "end": { - "line": 438, - "column": 16 + "line": 426, + "column": 14 } } }, @@ -94255,16 +93737,16 @@ "postfix": false, "binop": null }, - "start": 9156, - "end": 9157, + "start": 8580, + "end": 8581, "loc": { "start": { - "line": 438, - "column": 17 + "line": 426, + "column": 14 }, "end": { - "line": 438, - "column": 18 + "line": 426, + "column": 15 } } }, @@ -94280,16 +93762,16 @@ "postfix": false, "binop": null }, - "start": 9158, - "end": 9159, + "start": 8582, + "end": 8583, "loc": { "start": { - "line": 438, - "column": 19 + "line": 426, + "column": 16 }, "end": { - "line": 438, - "column": 20 + "line": 426, + "column": 17 } } }, @@ -94308,15 +93790,15 @@ "updateContext": null }, "value": "return", - "start": 9162, - "end": 9168, + "start": 8586, + "end": 8592, "loc": { "start": { - "line": 439, + "line": 427, "column": 2 }, "end": { - "line": 439, + "line": 427, "column": 8 } } @@ -94334,15 +93816,15 @@ "binop": null }, "value": "other", - "start": 9169, - "end": 9174, + "start": 8593, + "end": 8598, "loc": { "start": { - "line": 439, + "line": 427, "column": 9 }, "end": { - "line": 439, + "line": 427, "column": 14 } } @@ -94360,15 +93842,15 @@ "binop": null, "updateContext": null }, - "start": 9174, - "end": 9175, + "start": 8598, + "end": 8599, "loc": { "start": { - "line": 439, + "line": 427, "column": 14 }, "end": { - "line": 439, + "line": 427, "column": 15 } } @@ -94386,15 +93868,15 @@ "binop": null }, "value": "mod", - "start": 9175, - "end": 9178, + "start": 8599, + "end": 8602, "loc": { "start": { - "line": 439, + "line": 427, "column": 15 }, "end": { - "line": 439, + "line": 427, "column": 18 } } @@ -94411,15 +93893,15 @@ "postfix": false, "binop": null }, - "start": 9178, - "end": 9179, + "start": 8602, + "end": 8603, "loc": { "start": { - "line": 439, + "line": 427, "column": 18 }, "end": { - "line": 439, + "line": 427, "column": 19 } } @@ -94439,16 +93921,16 @@ "updateContext": null }, "value": "this", - "start": 9180, - "end": 9184, + "start": 8603, + "end": 8607, "loc": { "start": { - "line": 439, - "column": 20 + "line": 427, + "column": 19 }, "end": { - "line": 439, - "column": 24 + "line": 427, + "column": 23 } } }, @@ -94464,16 +93946,16 @@ "postfix": false, "binop": null }, - "start": 9185, - "end": 9186, + "start": 8607, + "end": 8608, "loc": { "start": { - "line": 439, - "column": 25 + "line": 427, + "column": 23 }, "end": { - "line": 439, - "column": 26 + "line": 427, + "column": 24 } } }, @@ -94490,16 +93972,16 @@ "binop": null, "updateContext": null }, - "start": 9186, - "end": 9187, + "start": 8608, + "end": 8609, "loc": { "start": { - "line": 439, - "column": 26 + "line": 427, + "column": 24 }, "end": { - "line": 439, - "column": 27 + "line": 427, + "column": 25 } } }, @@ -94516,16 +93998,16 @@ "binop": null }, "value": "iszero", - "start": 9187, - "end": 9193, + "start": 8609, + "end": 8615, "loc": { "start": { - "line": 439, - "column": 27 + "line": 427, + "column": 25 }, "end": { - "line": 439, - "column": 33 + "line": 427, + "column": 31 } } }, @@ -94541,16 +94023,16 @@ "postfix": false, "binop": null }, - "start": 9193, - "end": 9194, + "start": 8615, + "end": 8616, "loc": { "start": { - "line": 439, - "column": 33 + "line": 427, + "column": 31 }, "end": { - "line": 439, - "column": 34 + "line": 427, + "column": 32 } } }, @@ -94566,16 +94048,16 @@ "postfix": false, "binop": null }, - "start": 9195, - "end": 9196, + "start": 8616, + "end": 8617, "loc": { "start": { - "line": 439, - "column": 35 + "line": 427, + "column": 32 }, "end": { - "line": 439, - "column": 36 + "line": 427, + "column": 33 } } }, @@ -94592,16 +94074,16 @@ "binop": null, "updateContext": null }, - "start": 9197, - "end": 9198, + "start": 8617, + "end": 8618, "loc": { "start": { - "line": 439, - "column": 37 + "line": 427, + "column": 33 }, "end": { - "line": 439, - "column": 38 + "line": 427, + "column": 34 } } }, @@ -94617,15 +94099,15 @@ "postfix": false, "binop": null }, - "start": 9200, - "end": 9201, + "start": 8620, + "end": 8621, "loc": { "start": { - "line": 440, + "line": 428, "column": 1 }, "end": { - "line": 440, + "line": 428, "column": 2 } } @@ -94643,15 +94125,15 @@ "binop": null }, "value": "divide_knowing_divisible_by", - "start": 9204, - "end": 9231, + "start": 8624, + "end": 8651, "loc": { "start": { - "line": 442, + "line": 430, "column": 1 }, "end": { - "line": 442, + "line": 430, "column": 28 } } @@ -94668,16 +94150,16 @@ "postfix": false, "binop": null }, - "start": 9232, - "end": 9233, + "start": 8651, + "end": 8652, "loc": { "start": { - "line": 442, - "column": 29 + "line": 430, + "column": 28 }, "end": { - "line": 442, - "column": 30 + "line": 430, + "column": 29 } } }, @@ -94694,16 +94176,16 @@ "binop": null }, "value": "other", - "start": 9234, - "end": 9239, + "start": 8652, + "end": 8657, "loc": { "start": { - "line": 442, - "column": 31 + "line": 430, + "column": 29 }, "end": { - "line": 442, - "column": 36 + "line": 430, + "column": 34 } } }, @@ -94719,16 +94201,16 @@ "postfix": false, "binop": null }, - "start": 9240, - "end": 9241, + "start": 8657, + "end": 8658, "loc": { "start": { - "line": 442, - "column": 37 + "line": 430, + "column": 34 }, "end": { - "line": 442, - "column": 38 + "line": 430, + "column": 35 } } }, @@ -94744,31 +94226,31 @@ "postfix": false, "binop": null }, - "start": 9242, - "end": 9243, + "start": 8659, + "end": 8660, "loc": { "start": { - "line": 442, - "column": 39 + "line": 430, + "column": 36 }, "end": { - "line": 442, - "column": 40 + "line": 430, + "column": 37 } } }, { "type": "CommentLine", "value": " TODO optimize", - "start": 9246, - "end": 9262, + "start": 8663, + "end": 8679, "loc": { "start": { - "line": 443, + "line": 431, "column": 2 }, "end": { - "line": 443, + "line": 431, "column": 18 } } @@ -94788,15 +94270,15 @@ "updateContext": null }, "value": "return", - "start": 9265, - "end": 9271, + "start": 8682, + "end": 8688, "loc": { "start": { - "line": 444, + "line": 432, "column": 2 }, "end": { - "line": 444, + "line": 432, "column": 8 } } @@ -94816,15 +94298,15 @@ "updateContext": null }, "value": "this", - "start": 9272, - "end": 9276, + "start": 8689, + "end": 8693, "loc": { "start": { - "line": 444, + "line": 432, "column": 9 }, "end": { - "line": 444, + "line": 432, "column": 13 } } @@ -94842,15 +94324,15 @@ "binop": null, "updateContext": null }, - "start": 9276, - "end": 9277, + "start": 8693, + "end": 8694, "loc": { "start": { - "line": 444, + "line": 432, "column": 13 }, "end": { - "line": 444, + "line": 432, "column": 14 } } @@ -94868,15 +94350,15 @@ "binop": null }, "value": "div", - "start": 9277, - "end": 9280, + "start": 8694, + "end": 8697, "loc": { "start": { - "line": 444, + "line": 432, "column": 14 }, "end": { - "line": 444, + "line": 432, "column": 17 } } @@ -94893,15 +94375,15 @@ "postfix": false, "binop": null }, - "start": 9280, - "end": 9281, + "start": 8697, + "end": 8698, "loc": { "start": { - "line": 444, + "line": 432, "column": 17 }, "end": { - "line": 444, + "line": 432, "column": 18 } } @@ -94919,16 +94401,16 @@ "binop": null }, "value": "other", - "start": 9282, - "end": 9287, + "start": 8698, + "end": 8703, "loc": { "start": { - "line": 444, - "column": 19 + "line": 432, + "column": 18 }, "end": { - "line": 444, - "column": 24 + "line": 432, + "column": 23 } } }, @@ -94944,16 +94426,16 @@ "postfix": false, "binop": null }, - "start": 9288, - "end": 9289, + "start": 8703, + "end": 8704, "loc": { "start": { - "line": 444, - "column": 25 + "line": 432, + "column": 23 }, "end": { - "line": 444, - "column": 26 + "line": 432, + "column": 24 } } }, @@ -94970,16 +94452,16 @@ "binop": null, "updateContext": null }, - "start": 9290, - "end": 9291, + "start": 8704, + "end": 8705, "loc": { "start": { - "line": 444, - "column": 27 + "line": 432, + "column": 24 }, "end": { - "line": 444, - "column": 28 + "line": 432, + "column": 25 } } }, @@ -94995,15 +94477,15 @@ "postfix": false, "binop": null }, - "start": 9293, - "end": 9294, + "start": 8707, + "end": 8708, "loc": { "start": { - "line": 445, + "line": 433, "column": 1 }, "end": { - "line": 445, + "line": 433, "column": 2 } } @@ -95021,15 +94503,15 @@ "binop": null }, "value": "cmp", - "start": 9298, - "end": 9301, + "start": 8711, + "end": 8714, "loc": { "start": { - "line": 448, + "line": 435, "column": 1 }, "end": { - "line": 448, + "line": 435, "column": 4 } } @@ -95046,16 +94528,16 @@ "postfix": false, "binop": null }, - "start": 9302, - "end": 9303, + "start": 8714, + "end": 8715, "loc": { "start": { - "line": 448, - "column": 5 + "line": 435, + "column": 4 }, "end": { - "line": 448, - "column": 6 + "line": 435, + "column": 5 } } }, @@ -95072,16 +94554,16 @@ "binop": null }, "value": "other", - "start": 9304, - "end": 9309, + "start": 8715, + "end": 8720, "loc": { "start": { - "line": 448, - "column": 7 + "line": 435, + "column": 5 }, "end": { - "line": 448, - "column": 12 + "line": 435, + "column": 10 } } }, @@ -95097,16 +94579,16 @@ "postfix": false, "binop": null }, - "start": 9310, - "end": 9311, + "start": 8720, + "end": 8721, "loc": { "start": { - "line": 448, - "column": 13 + "line": 435, + "column": 10 }, "end": { - "line": 448, - "column": 14 + "line": 435, + "column": 11 } } }, @@ -95122,31 +94604,31 @@ "postfix": false, "binop": null }, - "start": 9312, - "end": 9313, + "start": 8722, + "end": 8723, "loc": { "start": { - "line": 448, - "column": 15 + "line": 435, + "column": 12 }, "end": { - "line": 448, - "column": 16 + "line": 435, + "column": 13 } } }, { "type": "CommentLine", "value": " TODO optimize with _trim_positive", - "start": 9316, - "end": 9352, + "start": 8726, + "end": 8762, "loc": { "start": { - "line": 449, + "line": 436, "column": 2 }, "end": { - "line": 449, + "line": 436, "column": 38 } } @@ -95166,15 +94648,15 @@ "updateContext": null }, "value": "if", - "start": 9356, - "end": 9358, + "start": 8766, + "end": 8768, "loc": { "start": { - "line": 451, + "line": 438, "column": 2 }, "end": { - "line": 451, + "line": 438, "column": 4 } } @@ -95191,15 +94673,15 @@ "postfix": false, "binop": null }, - "start": 9359, - "end": 9360, + "start": 8769, + "end": 8770, "loc": { "start": { - "line": 451, + "line": 438, "column": 5 }, "end": { - "line": 451, + "line": 438, "column": 6 } } @@ -95219,16 +94701,16 @@ "updateContext": null }, "value": "this", - "start": 9361, - "end": 9365, + "start": 8770, + "end": 8774, "loc": { "start": { - "line": 451, - "column": 7 + "line": 438, + "column": 6 }, "end": { - "line": 451, - "column": 11 + "line": 438, + "column": 10 } } }, @@ -95245,16 +94727,16 @@ "binop": null, "updateContext": null }, - "start": 9365, - "end": 9366, + "start": 8774, + "end": 8775, "loc": { "start": { - "line": 451, - "column": 11 + "line": 438, + "column": 10 }, "end": { - "line": 451, - "column": 12 + "line": 438, + "column": 11 } } }, @@ -95271,16 +94753,16 @@ "binop": null }, "value": "iszero", - "start": 9366, - "end": 9372, + "start": 8775, + "end": 8781, "loc": { "start": { - "line": 451, - "column": 12 + "line": 438, + "column": 11 }, "end": { - "line": 451, - "column": 18 + "line": 438, + "column": 17 } } }, @@ -95296,16 +94778,16 @@ "postfix": false, "binop": null }, - "start": 9372, - "end": 9373, + "start": 8781, + "end": 8782, "loc": { "start": { - "line": 451, - "column": 18 + "line": 438, + "column": 17 }, "end": { - "line": 451, - "column": 19 + "line": 438, + "column": 18 } } }, @@ -95321,16 +94803,16 @@ "postfix": false, "binop": null }, - "start": 9374, - "end": 9375, + "start": 8782, + "end": 8783, "loc": { "start": { - "line": 451, - "column": 20 + "line": 438, + "column": 18 }, "end": { - "line": 451, - "column": 21 + "line": 438, + "column": 19 } } }, @@ -95346,16 +94828,16 @@ "postfix": false, "binop": null }, - "start": 9376, - "end": 9377, + "start": 8783, + "end": 8784, "loc": { "start": { - "line": 451, - "column": 22 + "line": 438, + "column": 19 }, "end": { - "line": 451, - "column": 23 + "line": 438, + "column": 20 } } }, @@ -95371,16 +94853,16 @@ "postfix": false, "binop": null }, - "start": 9378, - "end": 9379, + "start": 8785, + "end": 8786, "loc": { "start": { - "line": 451, - "column": 24 + "line": 438, + "column": 21 }, "end": { - "line": 451, - "column": 25 + "line": 438, + "column": 22 } } }, @@ -95399,15 +94881,15 @@ "updateContext": null }, "value": "if", - "start": 9383, - "end": 9385, + "start": 8790, + "end": 8792, "loc": { "start": { - "line": 452, + "line": 439, "column": 3 }, "end": { - "line": 452, + "line": 439, "column": 5 } } @@ -95424,15 +94906,15 @@ "postfix": false, "binop": null }, - "start": 9386, - "end": 9387, + "start": 8793, + "end": 8794, "loc": { "start": { - "line": 452, + "line": 439, "column": 6 }, "end": { - "line": 452, + "line": 439, "column": 7 } } @@ -95450,16 +94932,16 @@ "binop": null }, "value": "other", - "start": 9388, - "end": 9393, + "start": 8794, + "end": 8799, "loc": { "start": { - "line": 452, - "column": 8 + "line": 439, + "column": 7 }, "end": { - "line": 452, - "column": 13 + "line": 439, + "column": 12 } } }, @@ -95476,16 +94958,16 @@ "binop": null, "updateContext": null }, - "start": 9393, - "end": 9394, + "start": 8799, + "end": 8800, "loc": { "start": { - "line": 452, - "column": 13 + "line": 439, + "column": 12 }, "end": { - "line": 452, - "column": 14 + "line": 439, + "column": 13 } } }, @@ -95502,16 +94984,16 @@ "binop": null }, "value": "iszero", - "start": 9394, - "end": 9400, + "start": 8800, + "end": 8806, "loc": { "start": { - "line": 452, - "column": 14 + "line": 439, + "column": 13 }, "end": { - "line": 452, - "column": 20 + "line": 439, + "column": 19 } } }, @@ -95527,16 +95009,16 @@ "postfix": false, "binop": null }, - "start": 9400, - "end": 9401, + "start": 8806, + "end": 8807, "loc": { "start": { - "line": 452, - "column": 20 + "line": 439, + "column": 19 }, "end": { - "line": 452, - "column": 21 + "line": 439, + "column": 20 } } }, @@ -95552,16 +95034,16 @@ "postfix": false, "binop": null }, - "start": 9402, - "end": 9403, + "start": 8807, + "end": 8808, "loc": { "start": { - "line": 452, - "column": 22 + "line": 439, + "column": 20 }, "end": { - "line": 452, - "column": 23 + "line": 439, + "column": 21 } } }, @@ -95577,16 +95059,16 @@ "postfix": false, "binop": null }, - "start": 9404, - "end": 9405, + "start": 8808, + "end": 8809, "loc": { "start": { - "line": 452, - "column": 24 + "line": 439, + "column": 21 }, "end": { - "line": 452, - "column": 25 + "line": 439, + "column": 22 } } }, @@ -95605,16 +95087,16 @@ "updateContext": null }, "value": "return", - "start": 9413, - "end": 9419, + "start": 8810, + "end": 8816, "loc": { "start": { - "line": 452, - "column": 33 + "line": 439, + "column": 23 }, "end": { - "line": 452, - "column": 39 + "line": 439, + "column": 29 } } }, @@ -95632,16 +95114,16 @@ "updateContext": null }, "value": 0, - "start": 9421, - "end": 9422, + "start": 8817, + "end": 8818, "loc": { "start": { - "line": 452, - "column": 41 + "line": 439, + "column": 30 }, "end": { - "line": 452, - "column": 42 + "line": 439, + "column": 31 } } }, @@ -95658,44 +95140,16 @@ "binop": null, "updateContext": null }, - "start": 9423, - "end": 9424, + "start": 8818, + "end": 8819, "loc": { "start": { - "line": 452, - "column": 43 - }, - "end": { - "line": 452, - "column": 44 - } - } - }, - { - "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "else", - "start": 9428, - "end": 9432, - "loc": { - "start": { - "line": 453, - "column": 3 + "line": 439, + "column": 31 }, "end": { - "line": 453, - "column": 7 + "line": 439, + "column": 32 } } }, @@ -95714,16 +95168,16 @@ "updateContext": null }, "value": "if", - "start": 9433, - "end": 9435, + "start": 8823, + "end": 8825, "loc": { "start": { - "line": 453, - "column": 8 + "line": 440, + "column": 3 }, "end": { - "line": 453, - "column": 10 + "line": 440, + "column": 5 } } }, @@ -95739,16 +95193,16 @@ "postfix": false, "binop": null }, - "start": 9436, - "end": 9437, + "start": 8826, + "end": 8827, "loc": { "start": { - "line": 453, - "column": 11 + "line": 440, + "column": 6 }, "end": { - "line": 453, - "column": 12 + "line": 440, + "column": 7 } } }, @@ -95765,16 +95219,16 @@ "binop": null }, "value": "other", - "start": 9438, - "end": 9443, + "start": 8827, + "end": 8832, "loc": { "start": { - "line": 453, - "column": 13 + "line": 440, + "column": 7 }, "end": { - "line": 453, - "column": 18 + "line": 440, + "column": 12 } } }, @@ -95791,16 +95245,16 @@ "binop": null, "updateContext": null }, - "start": 9443, - "end": 9444, + "start": 8832, + "end": 8833, "loc": { "start": { - "line": 453, - "column": 18 + "line": 440, + "column": 12 }, "end": { - "line": 453, - "column": 19 + "line": 440, + "column": 13 } } }, @@ -95816,17 +95270,17 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 9444, - "end": 9455, + "value": "_is_negative", + "start": 8833, + "end": 8845, "loc": { "start": { - "line": 453, - "column": 19 + "line": 440, + "column": 13 }, "end": { - "line": 453, - "column": 30 + "line": 440, + "column": 25 } } }, @@ -95842,16 +95296,16 @@ "postfix": false, "binop": null }, - "start": 9456, - "end": 9457, + "start": 8845, + "end": 8846, "loc": { "start": { - "line": 453, - "column": 31 + "line": 440, + "column": 25 }, "end": { - "line": 453, - "column": 32 + "line": 440, + "column": 26 } } }, @@ -95870,16 +95324,16 @@ "updateContext": null }, "value": "return", - "start": 9458, - "end": 9464, + "start": 8847, + "end": 8853, "loc": { "start": { - "line": 453, - "column": 33 + "line": 440, + "column": 27 }, "end": { - "line": 453, - "column": 39 + "line": 440, + "column": 33 } } }, @@ -95897,16 +95351,16 @@ "updateContext": null }, "value": 1, - "start": 9466, - "end": 9467, + "start": 8854, + "end": 8855, "loc": { "start": { - "line": 453, - "column": 41 + "line": 440, + "column": 34 }, "end": { - "line": 453, - "column": 42 + "line": 440, + "column": 35 } } }, @@ -95923,44 +95377,16 @@ "binop": null, "updateContext": null }, - "start": 9468, - "end": 9469, - "loc": { - "start": { - "line": 453, - "column": 43 - }, - "end": { - "line": 453, - "column": 44 - } - } - }, - { - "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "else", - "start": 9473, - "end": 9477, + "start": 8855, + "end": 8856, "loc": { "start": { - "line": 454, - "column": 3 + "line": 440, + "column": 35 }, "end": { - "line": 454, - "column": 7 + "line": 440, + "column": 36 } } }, @@ -95979,16 +95405,16 @@ "updateContext": null }, "value": "return", - "start": 9503, - "end": 9509, + "start": 8860, + "end": 8866, "loc": { "start": { - "line": 454, - "column": 33 + "line": 441, + "column": 3 }, "end": { - "line": 454, - "column": 39 + "line": 441, + "column": 9 } } }, @@ -96006,16 +95432,16 @@ "updateContext": null }, "value": "-", - "start": 9510, - "end": 9511, + "start": 8867, + "end": 8868, "loc": { "start": { - "line": 454, - "column": 40 + "line": 441, + "column": 10 }, "end": { - "line": 454, - "column": 41 + "line": 441, + "column": 11 } } }, @@ -96033,16 +95459,16 @@ "updateContext": null }, "value": 1, - "start": 9511, - "end": 9512, + "start": 8868, + "end": 8869, "loc": { "start": { - "line": 454, - "column": 41 + "line": 441, + "column": 11 }, "end": { - "line": 454, - "column": 42 + "line": 441, + "column": 12 } } }, @@ -96059,16 +95485,16 @@ "binop": null, "updateContext": null }, - "start": 9513, - "end": 9514, + "start": 8869, + "end": 8870, "loc": { "start": { - "line": 454, - "column": 43 + "line": 441, + "column": 12 }, "end": { - "line": 454, - "column": 44 + "line": 441, + "column": 13 } } }, @@ -96084,15 +95510,15 @@ "postfix": false, "binop": null }, - "start": 9517, - "end": 9518, + "start": 8873, + "end": 8874, "loc": { "start": { - "line": 455, + "line": 442, "column": 2 }, "end": { - "line": 455, + "line": 442, "column": 3 } } @@ -96112,15 +95538,15 @@ "updateContext": null }, "value": "if", - "start": 9522, - "end": 9524, + "start": 8878, + "end": 8880, "loc": { "start": { - "line": 457, + "line": 444, "column": 2 }, "end": { - "line": 457, + "line": 444, "column": 4 } } @@ -96137,15 +95563,15 @@ "postfix": false, "binop": null }, - "start": 9525, - "end": 9526, + "start": 8881, + "end": 8882, "loc": { "start": { - "line": 457, + "line": 444, "column": 5 }, "end": { - "line": 457, + "line": 444, "column": 6 } } @@ -96165,16 +95591,16 @@ "updateContext": null }, "value": "this", - "start": 9527, - "end": 9531, + "start": 8882, + "end": 8886, "loc": { "start": { - "line": 457, - "column": 7 + "line": 444, + "column": 6 }, "end": { - "line": 457, - "column": 11 + "line": 444, + "column": 10 } } }, @@ -96191,16 +95617,16 @@ "binop": null, "updateContext": null }, - "start": 9531, - "end": 9532, + "start": 8886, + "end": 8887, "loc": { "start": { - "line": 457, - "column": 11 + "line": 444, + "column": 10 }, "end": { - "line": 457, - "column": 12 + "line": 444, + "column": 11 } } }, @@ -96216,16 +95642,16 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 9532, - "end": 9543, + "value": "_is_negative", + "start": 8887, + "end": 8899, "loc": { "start": { - "line": 457, - "column": 12 + "line": 444, + "column": 11 }, "end": { - "line": 457, + "line": 444, "column": 23 } } @@ -96244,15 +95670,15 @@ "updateContext": null }, "value": "<", - "start": 9544, - "end": 9545, + "start": 8900, + "end": 8901, "loc": { "start": { - "line": 457, + "line": 444, "column": 24 }, "end": { - "line": 457, + "line": 444, "column": 25 } } @@ -96270,15 +95696,15 @@ "binop": null }, "value": "other", - "start": 9546, - "end": 9551, + "start": 8902, + "end": 8907, "loc": { "start": { - "line": 457, + "line": 444, "column": 26 }, "end": { - "line": 457, + "line": 444, "column": 31 } } @@ -96296,15 +95722,15 @@ "binop": null, "updateContext": null }, - "start": 9551, - "end": 9552, + "start": 8907, + "end": 8908, "loc": { "start": { - "line": 457, + "line": 444, "column": 31 }, "end": { - "line": 457, + "line": 444, "column": 32 } } @@ -96321,17 +95747,17 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 9552, - "end": 9563, + "value": "_is_negative", + "start": 8908, + "end": 8920, "loc": { "start": { - "line": 457, + "line": 444, "column": 32 }, "end": { - "line": 457, - "column": 43 + "line": 444, + "column": 44 } } }, @@ -96347,15 +95773,15 @@ "postfix": false, "binop": null }, - "start": 9564, - "end": 9565, + "start": 8920, + "end": 8921, "loc": { "start": { - "line": 457, + "line": 444, "column": 44 }, "end": { - "line": 457, + "line": 444, "column": 45 } } @@ -96375,15 +95801,15 @@ "updateContext": null }, "value": "return", - "start": 9566, - "end": 9572, + "start": 8922, + "end": 8928, "loc": { "start": { - "line": 457, + "line": 444, "column": 46 }, "end": { - "line": 457, + "line": 444, "column": 52 } } @@ -96402,15 +95828,15 @@ "updateContext": null }, "value": "-", - "start": 9573, - "end": 9574, + "start": 8929, + "end": 8930, "loc": { "start": { - "line": 457, + "line": 444, "column": 53 }, "end": { - "line": 457, + "line": 444, "column": 54 } } @@ -96429,15 +95855,15 @@ "updateContext": null }, "value": 1, - "start": 9574, - "end": 9575, + "start": 8930, + "end": 8931, "loc": { "start": { - "line": 457, + "line": 444, "column": 54 }, "end": { - "line": 457, + "line": 444, "column": 55 } } @@ -96455,16 +95881,16 @@ "binop": null, "updateContext": null }, - "start": 9576, - "end": 9577, + "start": 8931, + "end": 8932, "loc": { "start": { - "line": 457, - "column": 56 + "line": 444, + "column": 55 }, "end": { - "line": 457, - "column": 57 + "line": 444, + "column": 56 } } }, @@ -96483,15 +95909,15 @@ "updateContext": null }, "value": "if", - "start": 9580, - "end": 9582, + "start": 8935, + "end": 8937, "loc": { "start": { - "line": 458, + "line": 445, "column": 2 }, "end": { - "line": 458, + "line": 445, "column": 4 } } @@ -96508,15 +95934,15 @@ "postfix": false, "binop": null }, - "start": 9583, - "end": 9584, + "start": 8938, + "end": 8939, "loc": { "start": { - "line": 458, + "line": 445, "column": 5 }, "end": { - "line": 458, + "line": 445, "column": 6 } } @@ -96536,16 +95962,16 @@ "updateContext": null }, "value": "this", - "start": 9585, - "end": 9589, + "start": 8939, + "end": 8943, "loc": { "start": { - "line": 458, - "column": 7 + "line": 445, + "column": 6 }, "end": { - "line": 458, - "column": 11 + "line": 445, + "column": 10 } } }, @@ -96562,16 +95988,16 @@ "binop": null, "updateContext": null }, - "start": 9589, - "end": 9590, + "start": 8943, + "end": 8944, "loc": { "start": { - "line": 458, - "column": 11 + "line": 445, + "column": 10 }, "end": { - "line": 458, - "column": 12 + "line": 445, + "column": 11 } } }, @@ -96587,16 +96013,16 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 9590, - "end": 9601, + "value": "_is_negative", + "start": 8944, + "end": 8956, "loc": { "start": { - "line": 458, - "column": 12 + "line": 445, + "column": 11 }, "end": { - "line": 458, + "line": 445, "column": 23 } } @@ -96615,15 +96041,15 @@ "updateContext": null }, "value": ">", - "start": 9602, - "end": 9603, + "start": 8957, + "end": 8958, "loc": { "start": { - "line": 458, + "line": 445, "column": 24 }, "end": { - "line": 458, + "line": 445, "column": 25 } } @@ -96641,15 +96067,15 @@ "binop": null }, "value": "other", - "start": 9604, - "end": 9609, + "start": 8959, + "end": 8964, "loc": { "start": { - "line": 458, + "line": 445, "column": 26 }, "end": { - "line": 458, + "line": 445, "column": 31 } } @@ -96667,15 +96093,15 @@ "binop": null, "updateContext": null }, - "start": 9609, - "end": 9610, + "start": 8964, + "end": 8965, "loc": { "start": { - "line": 458, + "line": 445, "column": 31 }, "end": { - "line": 458, + "line": 445, "column": 32 } } @@ -96692,17 +96118,17 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 9610, - "end": 9621, + "value": "_is_negative", + "start": 8965, + "end": 8977, "loc": { "start": { - "line": 458, + "line": 445, "column": 32 }, "end": { - "line": 458, - "column": 43 + "line": 445, + "column": 44 } } }, @@ -96718,15 +96144,15 @@ "postfix": false, "binop": null }, - "start": 9622, - "end": 9623, + "start": 8977, + "end": 8978, "loc": { "start": { - "line": 458, + "line": 445, "column": 44 }, "end": { - "line": 458, + "line": 445, "column": 45 } } @@ -96746,15 +96172,15 @@ "updateContext": null }, "value": "return", - "start": 9624, - "end": 9630, + "start": 8979, + "end": 8985, "loc": { "start": { - "line": 458, + "line": 445, "column": 46 }, "end": { - "line": 458, + "line": 445, "column": 52 } } @@ -96773,16 +96199,16 @@ "updateContext": null }, "value": 1, - "start": 9632, - "end": 9633, + "start": 8986, + "end": 8987, "loc": { "start": { - "line": 458, - "column": 54 + "line": 445, + "column": 53 }, "end": { - "line": 458, - "column": 55 + "line": 445, + "column": 54 } } }, @@ -96799,16 +96225,16 @@ "binop": null, "updateContext": null }, - "start": 9634, - "end": 9635, + "start": 8987, + "end": 8988, "loc": { "start": { - "line": 458, - "column": 56 + "line": 445, + "column": 54 }, "end": { - "line": 458, - "column": 57 + "line": 445, + "column": 55 } } }, @@ -96827,15 +96253,15 @@ "updateContext": null }, "value": "const", - "start": 9639, - "end": 9644, + "start": 8992, + "end": 8997, "loc": { "start": { - "line": 460, + "line": 447, "column": 2 }, "end": { - "line": 460, + "line": 447, "column": 7 } } @@ -96853,15 +96279,15 @@ "binop": null }, "value": "a", - "start": 9645, - "end": 9646, + "start": 8998, + "end": 8999, "loc": { "start": { - "line": 460, + "line": 447, "column": 8 }, "end": { - "line": 460, + "line": 447, "column": 9 } } @@ -96880,15 +96306,15 @@ "updateContext": null }, "value": "=", - "start": 9647, - "end": 9648, + "start": 9000, + "end": 9001, "loc": { "start": { - "line": 460, + "line": 447, "column": 10 }, "end": { - "line": 460, + "line": 447, "column": 11 } } @@ -96908,15 +96334,15 @@ "updateContext": null }, "value": "this", - "start": 9649, - "end": 9653, + "start": 9002, + "end": 9006, "loc": { "start": { - "line": 460, + "line": 447, "column": 12 }, "end": { - "line": 460, + "line": 447, "column": 16 } } @@ -96934,15 +96360,15 @@ "binop": null, "updateContext": null }, - "start": 9653, - "end": 9654, + "start": 9006, + "end": 9007, "loc": { "start": { - "line": 460, + "line": 447, "column": 16 }, "end": { - "line": 460, + "line": 447, "column": 17 } } @@ -96959,17 +96385,17 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 9654, - "end": 9659, + "value": "_limbs", + "start": 9007, + "end": 9013, "loc": { "start": { - "line": 460, + "line": 447, "column": 17 }, "end": { - "line": 460, - "column": 22 + "line": 447, + "column": 23 } } }, @@ -96986,15 +96412,15 @@ "binop": null, "updateContext": null }, - "start": 9660, - "end": 9661, + "start": 9013, + "end": 9014, "loc": { "start": { - "line": 460, + "line": 447, "column": 23 }, "end": { - "line": 460, + "line": 447, "column": 24 } } @@ -97014,15 +96440,15 @@ "updateContext": null }, "value": "const", - "start": 9664, - "end": 9669, + "start": 9017, + "end": 9022, "loc": { "start": { - "line": 461, + "line": 448, "column": 2 }, "end": { - "line": 461, + "line": 448, "column": 7 } } @@ -97040,15 +96466,15 @@ "binop": null }, "value": "b", - "start": 9670, - "end": 9671, + "start": 9023, + "end": 9024, "loc": { "start": { - "line": 461, + "line": 448, "column": 8 }, "end": { - "line": 461, + "line": 448, "column": 9 } } @@ -97067,15 +96493,15 @@ "updateContext": null }, "value": "=", - "start": 9672, - "end": 9673, + "start": 9025, + "end": 9026, "loc": { "start": { - "line": 461, + "line": 448, "column": 10 }, "end": { - "line": 461, + "line": 448, "column": 11 } } @@ -97093,15 +96519,15 @@ "binop": null }, "value": "other", - "start": 9674, - "end": 9679, + "start": 9027, + "end": 9032, "loc": { "start": { - "line": 461, + "line": 448, "column": 12 }, "end": { - "line": 461, + "line": 448, "column": 17 } } @@ -97119,15 +96545,15 @@ "binop": null, "updateContext": null }, - "start": 9679, - "end": 9680, + "start": 9032, + "end": 9033, "loc": { "start": { - "line": 461, + "line": 448, "column": 17 }, "end": { - "line": 461, + "line": 448, "column": 18 } } @@ -97145,15 +96571,15 @@ "binop": null }, "value": "_limbs_in_base", - "start": 9680, - "end": 9694, + "start": 9033, + "end": 9047, "loc": { "start": { - "line": 461, + "line": 448, "column": 18 }, "end": { - "line": 461, + "line": 448, "column": 32 } } @@ -97170,15 +96596,15 @@ "postfix": false, "binop": null }, - "start": 9694, - "end": 9695, + "start": 9047, + "end": 9048, "loc": { "start": { - "line": 461, + "line": 448, "column": 32 }, "end": { - "line": 461, + "line": 448, "column": 33 } } @@ -97198,16 +96624,16 @@ "updateContext": null }, "value": "this", - "start": 9696, - "end": 9700, + "start": 9048, + "end": 9052, "loc": { "start": { - "line": 461, - "column": 34 + "line": 448, + "column": 33 }, "end": { - "line": 461, - "column": 38 + "line": 448, + "column": 37 } } }, @@ -97224,16 +96650,16 @@ "binop": null, "updateContext": null }, - "start": 9700, - "end": 9701, + "start": 9052, + "end": 9053, "loc": { "start": { - "line": 461, - "column": 38 + "line": 448, + "column": 37 }, "end": { - "line": 461, - "column": 39 + "line": 448, + "column": 38 } } }, @@ -97249,16 +96675,16 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 9701, - "end": 9705, + "value": "_base", + "start": 9053, + "end": 9058, "loc": { "start": { - "line": 461, - "column": 39 + "line": 448, + "column": 38 }, "end": { - "line": 461, + "line": 448, "column": 43 } } @@ -97275,16 +96701,16 @@ "postfix": false, "binop": null }, - "start": 9706, - "end": 9707, + "start": 9058, + "end": 9059, "loc": { "start": { - "line": 461, - "column": 44 + "line": 448, + "column": 43 }, "end": { - "line": 461, - "column": 45 + "line": 448, + "column": 44 } } }, @@ -97301,16 +96727,16 @@ "binop": null, "updateContext": null }, - "start": 9708, - "end": 9709, + "start": 9059, + "end": 9060, "loc": { "start": { - "line": 461, - "column": 46 + "line": 448, + "column": 44 }, "end": { - "line": 461, - "column": 47 + "line": 448, + "column": 45 } } }, @@ -97329,15 +96755,15 @@ "updateContext": null }, "value": "return", - "start": 9713, - "end": 9719, + "start": 9064, + "end": 9070, "loc": { "start": { - "line": 463, + "line": 450, "column": 2 }, "end": { - "line": 463, + "line": 450, "column": 8 } } @@ -97357,15 +96783,15 @@ "updateContext": null }, "value": "this", - "start": 9720, - "end": 9724, + "start": 9071, + "end": 9075, "loc": { "start": { - "line": 463, + "line": 450, "column": 9 }, "end": { - "line": 463, + "line": 450, "column": 13 } } @@ -97383,15 +96809,15 @@ "binop": null, "updateContext": null }, - "start": 9724, - "end": 9725, + "start": 9075, + "end": 9076, "loc": { "start": { - "line": 463, + "line": 450, "column": 13 }, "end": { - "line": 463, + "line": 450, "column": 14 } } @@ -97408,17 +96834,17 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 9725, - "end": 9736, + "value": "_is_negative", + "start": 9076, + "end": 9088, "loc": { "start": { - "line": 463, + "line": 450, "column": 14 }, "end": { - "line": 463, - "column": 25 + "line": 450, + "column": 26 } } }, @@ -97436,16 +96862,16 @@ "updateContext": null }, "value": "===", - "start": 9737, - "end": 9740, + "start": 9089, + "end": 9092, "loc": { "start": { - "line": 463, - "column": 26 + "line": 450, + "column": 27 }, "end": { - "line": 463, - "column": 29 + "line": 450, + "column": 30 } } }, @@ -97463,16 +96889,16 @@ "updateContext": null }, "value": 0, - "start": 9741, - "end": 9742, + "start": 9093, + "end": 9094, "loc": { "start": { - "line": 463, - "column": 30 + "line": 450, + "column": 31 }, "end": { - "line": 463, - "column": 31 + "line": 450, + "column": 32 } } }, @@ -97489,16 +96915,16 @@ "binop": null, "updateContext": null }, - "start": 9743, - "end": 9744, + "start": 9098, + "end": 9099, "loc": { "start": { - "line": 463, - "column": 32 + "line": 451, + "column": 3 }, "end": { - "line": 463, - "column": 33 + "line": 451, + "column": 4 } } }, @@ -97515,16 +96941,16 @@ "binop": null }, "value": "cmp", - "start": 9748, - "end": 9751, + "start": 9100, + "end": 9103, "loc": { "start": { - "line": 464, - "column": 3 + "line": 451, + "column": 5 }, "end": { - "line": 464, - "column": 6 + "line": 451, + "column": 8 } } }, @@ -97540,16 +96966,16 @@ "postfix": false, "binop": null }, - "start": 9751, - "end": 9752, + "start": 9103, + "end": 9104, "loc": { "start": { - "line": 464, - "column": 6 + "line": 451, + "column": 8 }, "end": { - "line": 464, - "column": 7 + "line": 451, + "column": 9 } } }, @@ -97566,16 +96992,16 @@ "binop": null }, "value": "a", - "start": 9753, - "end": 9754, + "start": 9104, + "end": 9105, "loc": { "start": { - "line": 464, - "column": 8 + "line": 451, + "column": 9 }, "end": { - "line": 464, - "column": 9 + "line": 451, + "column": 10 } } }, @@ -97592,15 +97018,15 @@ "binop": null, "updateContext": null }, - "start": 9755, - "end": 9756, + "start": 9105, + "end": 9106, "loc": { "start": { - "line": 464, + "line": 451, "column": 10 }, "end": { - "line": 464, + "line": 451, "column": 11 } } @@ -97619,15 +97045,15 @@ "updateContext": null }, "value": 0, - "start": 9757, - "end": 9758, + "start": 9107, + "end": 9108, "loc": { "start": { - "line": 464, + "line": 451, "column": 12 }, "end": { - "line": 464, + "line": 451, "column": 13 } } @@ -97645,16 +97071,16 @@ "binop": null, "updateContext": null }, - "start": 9759, - "end": 9760, + "start": 9108, + "end": 9109, "loc": { "start": { - "line": 464, - "column": 14 + "line": 451, + "column": 13 }, "end": { - "line": 464, - "column": 15 + "line": 451, + "column": 14 } } }, @@ -97671,16 +97097,16 @@ "binop": null }, "value": "a", - "start": 9761, - "end": 9762, + "start": 9110, + "end": 9111, "loc": { "start": { - "line": 464, - "column": 16 + "line": 451, + "column": 15 }, "end": { - "line": 464, - "column": 17 + "line": 451, + "column": 16 } } }, @@ -97697,16 +97123,16 @@ "binop": null, "updateContext": null }, - "start": 9762, - "end": 9763, + "start": 9111, + "end": 9112, "loc": { "start": { - "line": 464, - "column": 17 + "line": 451, + "column": 16 }, "end": { - "line": 464, - "column": 18 + "line": 451, + "column": 17 } } }, @@ -97723,16 +97149,16 @@ "binop": null }, "value": "length", - "start": 9763, - "end": 9769, + "start": 9112, + "end": 9118, "loc": { "start": { - "line": 464, - "column": 18 + "line": 451, + "column": 17 }, "end": { - "line": 464, - "column": 24 + "line": 451, + "column": 23 } } }, @@ -97749,16 +97175,16 @@ "binop": null, "updateContext": null }, - "start": 9770, - "end": 9771, + "start": 9118, + "end": 9119, "loc": { "start": { - "line": 464, - "column": 25 + "line": 451, + "column": 23 }, "end": { - "line": 464, - "column": 26 + "line": 451, + "column": 24 } } }, @@ -97775,16 +97201,16 @@ "binop": null }, "value": "b", - "start": 9772, - "end": 9773, + "start": 9120, + "end": 9121, "loc": { "start": { - "line": 464, - "column": 27 + "line": 451, + "column": 25 }, "end": { - "line": 464, - "column": 28 + "line": 451, + "column": 26 } } }, @@ -97801,16 +97227,16 @@ "binop": null, "updateContext": null }, - "start": 9774, - "end": 9775, + "start": 9121, + "end": 9122, "loc": { "start": { - "line": 464, - "column": 29 + "line": 451, + "column": 26 }, "end": { - "line": 464, - "column": 30 + "line": 451, + "column": 27 } } }, @@ -97828,16 +97254,16 @@ "updateContext": null }, "value": 0, - "start": 9776, - "end": 9777, + "start": 9123, + "end": 9124, "loc": { "start": { - "line": 464, - "column": 31 + "line": 451, + "column": 28 }, "end": { - "line": 464, - "column": 32 + "line": 451, + "column": 29 } } }, @@ -97854,16 +97280,16 @@ "binop": null, "updateContext": null }, - "start": 9778, - "end": 9779, + "start": 9124, + "end": 9125, "loc": { - "start": { - "line": 464, - "column": 33 + "start": { + "line": 451, + "column": 29 }, "end": { - "line": 464, - "column": 34 + "line": 451, + "column": 30 } } }, @@ -97880,16 +97306,16 @@ "binop": null }, "value": "b", - "start": 9780, - "end": 9781, + "start": 9126, + "end": 9127, "loc": { "start": { - "line": 464, - "column": 35 + "line": 451, + "column": 31 }, "end": { - "line": 464, - "column": 36 + "line": 451, + "column": 32 } } }, @@ -97906,16 +97332,16 @@ "binop": null, "updateContext": null }, - "start": 9781, - "end": 9782, + "start": 9127, + "end": 9128, "loc": { "start": { - "line": 464, - "column": 36 + "line": 451, + "column": 32 }, "end": { - "line": 464, - "column": 37 + "line": 451, + "column": 33 } } }, @@ -97932,16 +97358,16 @@ "binop": null }, "value": "length", - "start": 9782, - "end": 9788, + "start": 9128, + "end": 9134, "loc": { "start": { - "line": 464, - "column": 37 + "line": 451, + "column": 33 }, "end": { - "line": 464, - "column": 43 + "line": 451, + "column": 39 } } }, @@ -97957,16 +97383,16 @@ "postfix": false, "binop": null }, - "start": 9789, - "end": 9790, + "start": 9134, + "end": 9135, "loc": { "start": { - "line": 464, - "column": 44 + "line": 451, + "column": 39 }, "end": { - "line": 464, - "column": 45 + "line": 451, + "column": 40 } } }, @@ -97983,16 +97409,16 @@ "binop": null, "updateContext": null }, - "start": 9791, - "end": 9792, + "start": 9139, + "end": 9140, "loc": { "start": { - "line": 464, - "column": 46 + "line": 452, + "column": 3 }, "end": { - "line": 464, - "column": 47 + "line": 452, + "column": 4 } } }, @@ -98009,16 +97435,16 @@ "binop": null }, "value": "cmp", - "start": 9796, - "end": 9799, + "start": 9141, + "end": 9144, "loc": { "start": { - "line": 465, - "column": 3 + "line": 452, + "column": 5 }, "end": { - "line": 465, - "column": 6 + "line": 452, + "column": 8 } } }, @@ -98034,16 +97460,16 @@ "postfix": false, "binop": null }, - "start": 9799, - "end": 9800, + "start": 9144, + "end": 9145, "loc": { "start": { - "line": 465, - "column": 6 + "line": 452, + "column": 8 }, "end": { - "line": 465, - "column": 7 + "line": 452, + "column": 9 } } }, @@ -98060,16 +97486,16 @@ "binop": null }, "value": "b", - "start": 9801, - "end": 9802, + "start": 9145, + "end": 9146, "loc": { "start": { - "line": 465, - "column": 8 + "line": 452, + "column": 9 }, "end": { - "line": 465, - "column": 9 + "line": 452, + "column": 10 } } }, @@ -98086,15 +97512,15 @@ "binop": null, "updateContext": null }, - "start": 9803, - "end": 9804, + "start": 9146, + "end": 9147, "loc": { "start": { - "line": 465, + "line": 452, "column": 10 }, "end": { - "line": 465, + "line": 452, "column": 11 } } @@ -98113,15 +97539,15 @@ "updateContext": null }, "value": 0, - "start": 9805, - "end": 9806, + "start": 9148, + "end": 9149, "loc": { "start": { - "line": 465, + "line": 452, "column": 12 }, "end": { - "line": 465, + "line": 452, "column": 13 } } @@ -98139,16 +97565,16 @@ "binop": null, "updateContext": null }, - "start": 9807, - "end": 9808, + "start": 9149, + "end": 9150, "loc": { "start": { - "line": 465, - "column": 14 + "line": 452, + "column": 13 }, "end": { - "line": 465, - "column": 15 + "line": 452, + "column": 14 } } }, @@ -98165,16 +97591,16 @@ "binop": null }, "value": "b", - "start": 9809, - "end": 9810, + "start": 9151, + "end": 9152, "loc": { "start": { - "line": 465, - "column": 16 + "line": 452, + "column": 15 }, "end": { - "line": 465, - "column": 17 + "line": 452, + "column": 16 } } }, @@ -98191,16 +97617,16 @@ "binop": null, "updateContext": null }, - "start": 9810, - "end": 9811, + "start": 9152, + "end": 9153, "loc": { "start": { - "line": 465, - "column": 17 + "line": 452, + "column": 16 }, "end": { - "line": 465, - "column": 18 + "line": 452, + "column": 17 } } }, @@ -98217,16 +97643,16 @@ "binop": null }, "value": "length", - "start": 9811, - "end": 9817, + "start": 9153, + "end": 9159, "loc": { "start": { - "line": 465, - "column": 18 + "line": 452, + "column": 17 }, "end": { - "line": 465, - "column": 24 + "line": 452, + "column": 23 } } }, @@ -98243,16 +97669,16 @@ "binop": null, "updateContext": null }, - "start": 9818, - "end": 9819, + "start": 9159, + "end": 9160, "loc": { "start": { - "line": 465, - "column": 25 + "line": 452, + "column": 23 }, "end": { - "line": 465, - "column": 26 + "line": 452, + "column": 24 } } }, @@ -98269,16 +97695,16 @@ "binop": null }, "value": "a", - "start": 9820, - "end": 9821, + "start": 9161, + "end": 9162, "loc": { "start": { - "line": 465, - "column": 27 + "line": 452, + "column": 25 }, "end": { - "line": 465, - "column": 28 + "line": 452, + "column": 26 } } }, @@ -98295,16 +97721,16 @@ "binop": null, "updateContext": null }, - "start": 9822, - "end": 9823, + "start": 9162, + "end": 9163, "loc": { "start": { - "line": 465, - "column": 29 + "line": 452, + "column": 26 }, "end": { - "line": 465, - "column": 30 + "line": 452, + "column": 27 } } }, @@ -98322,16 +97748,16 @@ "updateContext": null }, "value": 0, - "start": 9824, - "end": 9825, + "start": 9164, + "end": 9165, "loc": { "start": { - "line": 465, - "column": 31 + "line": 452, + "column": 28 }, "end": { - "line": 465, - "column": 32 + "line": 452, + "column": 29 } } }, @@ -98348,16 +97774,16 @@ "binop": null, "updateContext": null }, - "start": 9826, - "end": 9827, + "start": 9165, + "end": 9166, "loc": { "start": { - "line": 465, - "column": 33 + "line": 452, + "column": 29 }, "end": { - "line": 465, - "column": 34 + "line": 452, + "column": 30 } } }, @@ -98374,16 +97800,16 @@ "binop": null }, "value": "a", - "start": 9828, - "end": 9829, + "start": 9167, + "end": 9168, "loc": { "start": { - "line": 465, - "column": 35 + "line": 452, + "column": 31 }, "end": { - "line": 465, - "column": 36 + "line": 452, + "column": 32 } } }, @@ -98400,16 +97826,16 @@ "binop": null, "updateContext": null }, - "start": 9829, - "end": 9830, + "start": 9168, + "end": 9169, "loc": { "start": { - "line": 465, - "column": 36 + "line": 452, + "column": 32 }, "end": { - "line": 465, - "column": 37 + "line": 452, + "column": 33 } } }, @@ -98426,16 +97852,16 @@ "binop": null }, "value": "length", - "start": 9830, - "end": 9836, + "start": 9169, + "end": 9175, "loc": { "start": { - "line": 465, - "column": 37 + "line": 452, + "column": 33 }, "end": { - "line": 465, - "column": 43 + "line": 452, + "column": 39 } } }, @@ -98451,16 +97877,16 @@ "postfix": false, "binop": null }, - "start": 9837, - "end": 9838, + "start": 9175, + "end": 9176, "loc": { "start": { - "line": 465, - "column": 44 + "line": 452, + "column": 39 }, "end": { - "line": 465, - "column": 45 + "line": 452, + "column": 40 } } }, @@ -98477,16 +97903,16 @@ "binop": null, "updateContext": null }, - "start": 9839, - "end": 9840, + "start": 9176, + "end": 9177, "loc": { "start": { - "line": 465, - "column": 46 + "line": 452, + "column": 40 }, "end": { - "line": 465, - "column": 47 + "line": 452, + "column": 41 } } }, @@ -98502,15 +97928,15 @@ "postfix": false, "binop": null }, - "start": 9843, - "end": 9844, + "start": 9179, + "end": 9180, "loc": { "start": { - "line": 467, + "line": 453, "column": 1 }, "end": { - "line": 467, + "line": 453, "column": 2 } } @@ -98528,15 +97954,15 @@ "binop": null }, "value": "cmpn", - "start": 9847, - "end": 9851, + "start": 9183, + "end": 9187, "loc": { "start": { - "line": 469, + "line": 455, "column": 1 }, "end": { - "line": 469, + "line": 455, "column": 5 } } @@ -98553,16 +97979,16 @@ "postfix": false, "binop": null }, - "start": 9852, - "end": 9853, + "start": 9187, + "end": 9188, "loc": { "start": { - "line": 469, - "column": 6 + "line": 455, + "column": 5 }, "end": { - "line": 469, - "column": 7 + "line": 455, + "column": 6 } } }, @@ -98579,16 +98005,16 @@ "binop": null }, "value": "number", - "start": 9854, - "end": 9860, + "start": 9188, + "end": 9194, "loc": { "start": { - "line": 469, - "column": 8 + "line": 455, + "column": 6 }, "end": { - "line": 469, - "column": 14 + "line": 455, + "column": 12 } } }, @@ -98604,16 +98030,16 @@ "postfix": false, "binop": null }, - "start": 9861, - "end": 9862, + "start": 9194, + "end": 9195, "loc": { "start": { - "line": 469, - "column": 15 + "line": 455, + "column": 12 }, "end": { - "line": 469, - "column": 16 + "line": 455, + "column": 13 } } }, @@ -98629,16 +98055,16 @@ "postfix": false, "binop": null }, - "start": 9863, - "end": 9864, + "start": 9196, + "end": 9197, "loc": { "start": { - "line": 469, - "column": 17 + "line": 455, + "column": 14 }, "end": { - "line": 469, - "column": 18 + "line": 455, + "column": 15 } } }, @@ -98657,15 +98083,15 @@ "updateContext": null }, "value": "return", - "start": 9867, - "end": 9873, + "start": 9200, + "end": 9206, "loc": { "start": { - "line": 470, + "line": 456, "column": 2 }, "end": { - "line": 470, + "line": 456, "column": 8 } } @@ -98685,15 +98111,15 @@ "updateContext": null }, "value": "this", - "start": 9874, - "end": 9878, + "start": 9207, + "end": 9211, "loc": { "start": { - "line": 470, + "line": 456, "column": 9 }, "end": { - "line": 470, + "line": 456, "column": 13 } } @@ -98711,15 +98137,15 @@ "binop": null, "updateContext": null }, - "start": 9878, - "end": 9879, + "start": 9211, + "end": 9212, "loc": { "start": { - "line": 470, + "line": 456, "column": 13 }, "end": { - "line": 470, + "line": 456, "column": 14 } } @@ -98737,15 +98163,15 @@ "binop": null }, "value": "cmp", - "start": 9879, - "end": 9882, + "start": 9212, + "end": 9215, "loc": { "start": { - "line": 470, + "line": 456, "column": 14 }, "end": { - "line": 470, + "line": 456, "column": 17 } } @@ -98762,15 +98188,15 @@ "postfix": false, "binop": null }, - "start": 9882, - "end": 9883, + "start": 9215, + "end": 9216, "loc": { "start": { - "line": 470, + "line": 456, "column": 17 }, "end": { - "line": 470, + "line": 456, "column": 18 } } @@ -98788,15 +98214,15 @@ "binop": null }, "value": "_from_number", - "start": 9883, - "end": 9895, + "start": 9216, + "end": 9228, "loc": { "start": { - "line": 470, + "line": 456, "column": 18 }, "end": { - "line": 470, + "line": 456, "column": 30 } } @@ -98813,15 +98239,15 @@ "postfix": false, "binop": null }, - "start": 9895, - "end": 9896, + "start": 9228, + "end": 9229, "loc": { "start": { - "line": 470, + "line": 456, "column": 30 }, "end": { - "line": 470, + "line": 456, "column": 31 } } @@ -98839,15 +98265,15 @@ "binop": null }, "value": "number", - "start": 9896, - "end": 9902, + "start": 9229, + "end": 9235, "loc": { "start": { - "line": 470, + "line": 456, "column": 31 }, "end": { - "line": 470, + "line": 456, "column": 37 } } @@ -98864,15 +98290,15 @@ "postfix": false, "binop": null }, - "start": 9902, - "end": 9903, + "start": 9235, + "end": 9236, "loc": { "start": { - "line": 470, + "line": 456, "column": 37 }, "end": { - "line": 470, + "line": 456, "column": 38 } } @@ -98889,15 +98315,15 @@ "postfix": false, "binop": null }, - "start": 9903, - "end": 9904, + "start": 9236, + "end": 9237, "loc": { "start": { - "line": 470, + "line": 456, "column": 38 }, "end": { - "line": 470, + "line": 456, "column": 39 } } @@ -98915,16 +98341,16 @@ "binop": null, "updateContext": null }, - "start": 9905, - "end": 9906, + "start": 9237, + "end": 9238, "loc": { "start": { - "line": 470, - "column": 40 + "line": 456, + "column": 39 }, "end": { - "line": 470, - "column": 41 + "line": 456, + "column": 40 } } }, @@ -98940,15 +98366,15 @@ "postfix": false, "binop": null }, - "start": 9908, - "end": 9909, + "start": 9240, + "end": 9241, "loc": { "start": { - "line": 471, + "line": 457, "column": 1 }, "end": { - "line": 471, + "line": 457, "column": 2 } } @@ -98966,15 +98392,15 @@ "binop": null }, "value": "eq", - "start": 9912, - "end": 9914, + "start": 9244, + "end": 9246, "loc": { "start": { - "line": 473, + "line": 459, "column": 1 }, "end": { - "line": 473, + "line": 459, "column": 3 } } @@ -98991,16 +98417,16 @@ "postfix": false, "binop": null }, - "start": 9915, - "end": 9916, + "start": 9246, + "end": 9247, "loc": { "start": { - "line": 473, - "column": 4 + "line": 459, + "column": 3 }, "end": { - "line": 473, - "column": 5 + "line": 459, + "column": 4 } } }, @@ -99017,16 +98443,16 @@ "binop": null }, "value": "other", - "start": 9917, - "end": 9922, + "start": 9247, + "end": 9252, "loc": { "start": { - "line": 473, - "column": 6 + "line": 459, + "column": 4 }, "end": { - "line": 473, - "column": 11 + "line": 459, + "column": 9 } } }, @@ -99042,16 +98468,16 @@ "postfix": false, "binop": null }, - "start": 9923, - "end": 9924, + "start": 9252, + "end": 9253, "loc": { "start": { - "line": 473, - "column": 12 + "line": 459, + "column": 9 }, "end": { - "line": 473, - "column": 13 + "line": 459, + "column": 10 } } }, @@ -99067,16 +98493,16 @@ "postfix": false, "binop": null }, - "start": 9925, - "end": 9926, + "start": 9254, + "end": 9255, "loc": { "start": { - "line": 473, - "column": 14 + "line": 459, + "column": 11 }, "end": { - "line": 473, - "column": 15 + "line": 459, + "column": 12 } } }, @@ -99095,15 +98521,15 @@ "updateContext": null }, "value": "return", - "start": 9929, - "end": 9935, + "start": 9258, + "end": 9264, "loc": { "start": { - "line": 474, + "line": 460, "column": 2 }, "end": { - "line": 474, + "line": 460, "column": 8 } } @@ -99123,15 +98549,15 @@ "updateContext": null }, "value": "this", - "start": 9936, - "end": 9940, + "start": 9265, + "end": 9269, "loc": { "start": { - "line": 474, + "line": 460, "column": 9 }, "end": { - "line": 474, + "line": 460, "column": 13 } } @@ -99149,15 +98575,15 @@ "binop": null, "updateContext": null }, - "start": 9940, - "end": 9941, + "start": 9269, + "end": 9270, "loc": { "start": { - "line": 474, + "line": 460, "column": 13 }, "end": { - "line": 474, + "line": 460, "column": 14 } } @@ -99175,15 +98601,15 @@ "binop": null }, "value": "cmp", - "start": 9941, - "end": 9944, + "start": 9270, + "end": 9273, "loc": { "start": { - "line": 474, + "line": 460, "column": 14 }, "end": { - "line": 474, + "line": 460, "column": 17 } } @@ -99200,15 +98626,15 @@ "postfix": false, "binop": null }, - "start": 9944, - "end": 9945, + "start": 9273, + "end": 9274, "loc": { "start": { - "line": 474, + "line": 460, "column": 17 }, "end": { - "line": 474, + "line": 460, "column": 18 } } @@ -99226,16 +98652,16 @@ "binop": null }, "value": "other", - "start": 9946, - "end": 9951, + "start": 9274, + "end": 9279, "loc": { "start": { - "line": 474, - "column": 19 + "line": 460, + "column": 18 }, "end": { - "line": 474, - "column": 24 + "line": 460, + "column": 23 } } }, @@ -99251,16 +98677,16 @@ "postfix": false, "binop": null }, - "start": 9952, - "end": 9953, + "start": 9279, + "end": 9280, "loc": { "start": { - "line": 474, - "column": 25 + "line": 460, + "column": 23 }, "end": { - "line": 474, - "column": 26 + "line": 460, + "column": 24 } } }, @@ -99278,16 +98704,16 @@ "updateContext": null }, "value": "===", - "start": 9954, - "end": 9957, + "start": 9281, + "end": 9284, "loc": { "start": { - "line": 474, - "column": 27 + "line": 460, + "column": 25 }, "end": { - "line": 474, - "column": 30 + "line": 460, + "column": 28 } } }, @@ -99305,16 +98731,16 @@ "updateContext": null }, "value": 0, - "start": 9958, - "end": 9959, + "start": 9285, + "end": 9286, "loc": { "start": { - "line": 474, - "column": 31 + "line": 460, + "column": 29 }, "end": { - "line": 474, - "column": 32 + "line": 460, + "column": 30 } } }, @@ -99331,16 +98757,16 @@ "binop": null, "updateContext": null }, - "start": 9960, - "end": 9961, + "start": 9286, + "end": 9287, "loc": { "start": { - "line": 474, - "column": 33 + "line": 460, + "column": 30 }, "end": { - "line": 474, - "column": 34 + "line": 460, + "column": 31 } } }, @@ -99356,15 +98782,15 @@ "postfix": false, "binop": null }, - "start": 9963, - "end": 9964, + "start": 9289, + "end": 9290, "loc": { "start": { - "line": 475, + "line": 461, "column": 1 }, "end": { - "line": 475, + "line": 461, "column": 2 } } @@ -99382,15 +98808,15 @@ "binop": null }, "value": "eqn", - "start": 9967, - "end": 9970, + "start": 9293, + "end": 9296, "loc": { "start": { - "line": 477, + "line": 463, "column": 1 }, "end": { - "line": 477, + "line": 463, "column": 4 } } @@ -99407,16 +98833,16 @@ "postfix": false, "binop": null }, - "start": 9971, - "end": 9972, + "start": 9296, + "end": 9297, "loc": { "start": { - "line": 477, - "column": 5 + "line": 463, + "column": 4 }, "end": { - "line": 477, - "column": 6 + "line": 463, + "column": 5 } } }, @@ -99433,16 +98859,16 @@ "binop": null }, "value": "number", - "start": 9973, - "end": 9979, + "start": 9297, + "end": 9303, "loc": { "start": { - "line": 477, - "column": 7 + "line": 463, + "column": 5 }, "end": { - "line": 477, - "column": 13 + "line": 463, + "column": 11 } } }, @@ -99458,16 +98884,16 @@ "postfix": false, "binop": null }, - "start": 9980, - "end": 9981, + "start": 9303, + "end": 9304, "loc": { "start": { - "line": 477, - "column": 14 + "line": 463, + "column": 11 }, "end": { - "line": 477, - "column": 15 + "line": 463, + "column": 12 } } }, @@ -99483,16 +98909,16 @@ "postfix": false, "binop": null }, - "start": 9982, - "end": 9983, + "start": 9305, + "end": 9306, "loc": { "start": { - "line": 477, - "column": 16 + "line": 463, + "column": 13 }, "end": { - "line": 477, - "column": 17 + "line": 463, + "column": 14 } } }, @@ -99511,15 +98937,15 @@ "updateContext": null }, "value": "return", - "start": 9986, - "end": 9992, + "start": 9309, + "end": 9315, "loc": { "start": { - "line": 478, + "line": 464, "column": 2 }, "end": { - "line": 478, + "line": 464, "column": 8 } } @@ -99539,15 +98965,15 @@ "updateContext": null }, "value": "this", - "start": 9993, - "end": 9997, + "start": 9316, + "end": 9320, "loc": { "start": { - "line": 478, + "line": 464, "column": 9 }, "end": { - "line": 478, + "line": 464, "column": 13 } } @@ -99565,15 +98991,15 @@ "binop": null, "updateContext": null }, - "start": 9997, - "end": 9998, + "start": 9320, + "end": 9321, "loc": { "start": { - "line": 478, + "line": 464, "column": 13 }, "end": { - "line": 478, + "line": 464, "column": 14 } } @@ -99591,15 +99017,15 @@ "binop": null }, "value": "cmpn", - "start": 9998, - "end": 10002, + "start": 9321, + "end": 9325, "loc": { "start": { - "line": 478, + "line": 464, "column": 14 }, "end": { - "line": 478, + "line": 464, "column": 18 } } @@ -99616,15 +99042,15 @@ "postfix": false, "binop": null }, - "start": 10002, - "end": 10003, + "start": 9325, + "end": 9326, "loc": { "start": { - "line": 478, + "line": 464, "column": 18 }, "end": { - "line": 478, + "line": 464, "column": 19 } } @@ -99642,16 +99068,16 @@ "binop": null }, "value": "number", - "start": 10004, - "end": 10010, + "start": 9326, + "end": 9332, "loc": { "start": { - "line": 478, - "column": 20 + "line": 464, + "column": 19 }, "end": { - "line": 478, - "column": 26 + "line": 464, + "column": 25 } } }, @@ -99667,16 +99093,16 @@ "postfix": false, "binop": null }, - "start": 10011, - "end": 10012, + "start": 9332, + "end": 9333, "loc": { "start": { - "line": 478, - "column": 27 + "line": 464, + "column": 25 }, "end": { - "line": 478, - "column": 28 + "line": 464, + "column": 26 } } }, @@ -99694,16 +99120,16 @@ "updateContext": null }, "value": "===", - "start": 10013, - "end": 10016, + "start": 9334, + "end": 9337, "loc": { "start": { - "line": 478, - "column": 29 + "line": 464, + "column": 27 }, "end": { - "line": 478, - "column": 32 + "line": 464, + "column": 30 } } }, @@ -99721,16 +99147,16 @@ "updateContext": null }, "value": 0, - "start": 10017, - "end": 10018, + "start": 9338, + "end": 9339, "loc": { "start": { - "line": 478, - "column": 33 + "line": 464, + "column": 31 }, "end": { - "line": 478, - "column": 34 + "line": 464, + "column": 32 } } }, @@ -99747,16 +99173,16 @@ "binop": null, "updateContext": null }, - "start": 10019, - "end": 10020, + "start": 9339, + "end": 9340, "loc": { "start": { - "line": 478, - "column": 35 + "line": 464, + "column": 32 }, "end": { - "line": 478, - "column": 36 + "line": 464, + "column": 33 } } }, @@ -99772,15 +99198,15 @@ "postfix": false, "binop": null }, - "start": 10022, - "end": 10023, + "start": 9342, + "end": 9343, "loc": { "start": { - "line": 479, + "line": 465, "column": 1 }, "end": { - "line": 479, + "line": 465, "column": 2 } } @@ -99798,15 +99224,15 @@ "binop": null }, "value": "ge", - "start": 10026, - "end": 10028, + "start": 9346, + "end": 9348, "loc": { "start": { - "line": 481, + "line": 467, "column": 1 }, "end": { - "line": 481, + "line": 467, "column": 3 } } @@ -99823,16 +99249,16 @@ "postfix": false, "binop": null }, - "start": 10029, - "end": 10030, + "start": 9348, + "end": 9349, "loc": { "start": { - "line": 481, - "column": 4 + "line": 467, + "column": 3 }, "end": { - "line": 481, - "column": 5 + "line": 467, + "column": 4 } } }, @@ -99849,16 +99275,16 @@ "binop": null }, "value": "other", - "start": 10031, - "end": 10036, + "start": 9349, + "end": 9354, "loc": { "start": { - "line": 481, - "column": 6 + "line": 467, + "column": 4 }, "end": { - "line": 481, - "column": 11 + "line": 467, + "column": 9 } } }, @@ -99874,16 +99300,16 @@ "postfix": false, "binop": null }, - "start": 10037, - "end": 10038, + "start": 9354, + "end": 9355, "loc": { "start": { - "line": 481, - "column": 12 + "line": 467, + "column": 9 }, "end": { - "line": 481, - "column": 13 + "line": 467, + "column": 10 } } }, @@ -99899,16 +99325,16 @@ "postfix": false, "binop": null }, - "start": 10039, - "end": 10040, + "start": 9356, + "end": 9357, "loc": { "start": { - "line": 481, - "column": 14 + "line": 467, + "column": 11 }, "end": { - "line": 481, - "column": 15 + "line": 467, + "column": 12 } } }, @@ -99927,15 +99353,15 @@ "updateContext": null }, "value": "return", - "start": 10043, - "end": 10049, + "start": 9360, + "end": 9366, "loc": { "start": { - "line": 482, + "line": 468, "column": 2 }, "end": { - "line": 482, + "line": 468, "column": 8 } } @@ -99955,15 +99381,15 @@ "updateContext": null }, "value": "this", - "start": 10050, - "end": 10054, + "start": 9367, + "end": 9371, "loc": { "start": { - "line": 482, + "line": 468, "column": 9 }, "end": { - "line": 482, + "line": 468, "column": 13 } } @@ -99981,15 +99407,15 @@ "binop": null, "updateContext": null }, - "start": 10054, - "end": 10055, + "start": 9371, + "end": 9372, "loc": { "start": { - "line": 482, + "line": 468, "column": 13 }, "end": { - "line": 482, + "line": 468, "column": 14 } } @@ -100007,15 +99433,15 @@ "binop": null }, "value": "cmp", - "start": 10055, - "end": 10058, + "start": 9372, + "end": 9375, "loc": { "start": { - "line": 482, + "line": 468, "column": 14 }, "end": { - "line": 482, + "line": 468, "column": 17 } } @@ -100032,15 +99458,15 @@ "postfix": false, "binop": null }, - "start": 10058, - "end": 10059, + "start": 9375, + "end": 9376, "loc": { "start": { - "line": 482, + "line": 468, "column": 17 }, "end": { - "line": 482, + "line": 468, "column": 18 } } @@ -100058,16 +99484,16 @@ "binop": null }, "value": "other", - "start": 10060, - "end": 10065, + "start": 9376, + "end": 9381, "loc": { "start": { - "line": 482, - "column": 19 + "line": 468, + "column": 18 }, "end": { - "line": 482, - "column": 24 + "line": 468, + "column": 23 } } }, @@ -100083,16 +99509,16 @@ "postfix": false, "binop": null }, - "start": 10066, - "end": 10067, + "start": 9381, + "end": 9382, "loc": { "start": { - "line": 482, - "column": 25 + "line": 468, + "column": 23 }, "end": { - "line": 482, - "column": 26 + "line": 468, + "column": 24 } } }, @@ -100110,16 +99536,16 @@ "updateContext": null }, "value": ">=", - "start": 10068, - "end": 10070, + "start": 9383, + "end": 9385, "loc": { "start": { - "line": 482, - "column": 27 + "line": 468, + "column": 25 }, "end": { - "line": 482, - "column": 29 + "line": 468, + "column": 27 } } }, @@ -100137,16 +99563,16 @@ "updateContext": null }, "value": 0, - "start": 10071, - "end": 10072, + "start": 9386, + "end": 9387, "loc": { "start": { - "line": 482, - "column": 30 + "line": 468, + "column": 28 }, "end": { - "line": 482, - "column": 31 + "line": 468, + "column": 29 } } }, @@ -100163,16 +99589,16 @@ "binop": null, "updateContext": null }, - "start": 10073, - "end": 10074, + "start": 9387, + "end": 9388, "loc": { "start": { - "line": 482, - "column": 32 + "line": 468, + "column": 29 }, "end": { - "line": 482, - "column": 33 + "line": 468, + "column": 30 } } }, @@ -100188,15 +99614,15 @@ "postfix": false, "binop": null }, - "start": 10076, - "end": 10077, + "start": 9390, + "end": 9391, "loc": { "start": { - "line": 483, + "line": 469, "column": 1 }, "end": { - "line": 483, + "line": 469, "column": 2 } } @@ -100214,15 +99640,15 @@ "binop": null }, "value": "gen", - "start": 10080, - "end": 10083, + "start": 9394, + "end": 9397, "loc": { "start": { - "line": 485, + "line": 471, "column": 1 }, "end": { - "line": 485, + "line": 471, "column": 4 } } @@ -100239,16 +99665,16 @@ "postfix": false, "binop": null }, - "start": 10084, - "end": 10085, + "start": 9397, + "end": 9398, "loc": { "start": { - "line": 485, - "column": 5 + "line": 471, + "column": 4 }, "end": { - "line": 485, - "column": 6 + "line": 471, + "column": 5 } } }, @@ -100265,16 +99691,16 @@ "binop": null }, "value": "number", - "start": 10086, - "end": 10092, + "start": 9398, + "end": 9404, "loc": { "start": { - "line": 485, - "column": 7 + "line": 471, + "column": 5 }, "end": { - "line": 485, - "column": 13 + "line": 471, + "column": 11 } } }, @@ -100290,16 +99716,16 @@ "postfix": false, "binop": null }, - "start": 10093, - "end": 10094, + "start": 9404, + "end": 9405, "loc": { "start": { - "line": 485, - "column": 14 + "line": 471, + "column": 11 }, "end": { - "line": 485, - "column": 15 + "line": 471, + "column": 12 } } }, @@ -100315,16 +99741,16 @@ "postfix": false, "binop": null }, - "start": 10095, - "end": 10096, + "start": 9406, + "end": 9407, "loc": { "start": { - "line": 485, - "column": 16 + "line": 471, + "column": 13 }, "end": { - "line": 485, - "column": 17 + "line": 471, + "column": 14 } } }, @@ -100343,15 +99769,15 @@ "updateContext": null }, "value": "return", - "start": 10099, - "end": 10105, + "start": 9410, + "end": 9416, "loc": { "start": { - "line": 486, + "line": 472, "column": 2 }, "end": { - "line": 486, + "line": 472, "column": 8 } } @@ -100371,15 +99797,15 @@ "updateContext": null }, "value": "this", - "start": 10106, - "end": 10110, + "start": 9417, + "end": 9421, "loc": { "start": { - "line": 486, + "line": 472, "column": 9 }, "end": { - "line": 486, + "line": 472, "column": 13 } } @@ -100397,15 +99823,15 @@ "binop": null, "updateContext": null }, - "start": 10110, - "end": 10111, + "start": 9421, + "end": 9422, "loc": { "start": { - "line": 486, + "line": 472, "column": 13 }, "end": { - "line": 486, + "line": 472, "column": 14 } } @@ -100423,15 +99849,15 @@ "binop": null }, "value": "cmpn", - "start": 10111, - "end": 10115, + "start": 9422, + "end": 9426, "loc": { "start": { - "line": 486, + "line": 472, "column": 14 }, "end": { - "line": 486, + "line": 472, "column": 18 } } @@ -100448,15 +99874,15 @@ "postfix": false, "binop": null }, - "start": 10115, - "end": 10116, + "start": 9426, + "end": 9427, "loc": { "start": { - "line": 486, + "line": 472, "column": 18 }, "end": { - "line": 486, + "line": 472, "column": 19 } } @@ -100474,16 +99900,16 @@ "binop": null }, "value": "number", - "start": 10117, - "end": 10123, + "start": 9427, + "end": 9433, "loc": { "start": { - "line": 486, - "column": 20 + "line": 472, + "column": 19 }, "end": { - "line": 486, - "column": 26 + "line": 472, + "column": 25 } } }, @@ -100499,16 +99925,16 @@ "postfix": false, "binop": null }, - "start": 10124, - "end": 10125, + "start": 9433, + "end": 9434, "loc": { "start": { - "line": 486, - "column": 27 + "line": 472, + "column": 25 }, "end": { - "line": 486, - "column": 28 + "line": 472, + "column": 26 } } }, @@ -100526,16 +99952,16 @@ "updateContext": null }, "value": ">=", - "start": 10126, - "end": 10128, + "start": 9435, + "end": 9437, "loc": { "start": { - "line": 486, - "column": 29 + "line": 472, + "column": 27 }, "end": { - "line": 486, - "column": 31 + "line": 472, + "column": 29 } } }, @@ -100553,16 +99979,16 @@ "updateContext": null }, "value": 0, - "start": 10129, - "end": 10130, + "start": 9438, + "end": 9439, "loc": { "start": { - "line": 486, - "column": 32 + "line": 472, + "column": 30 }, "end": { - "line": 486, - "column": 33 + "line": 472, + "column": 31 } } }, @@ -100579,16 +100005,16 @@ "binop": null, "updateContext": null }, - "start": 10131, - "end": 10132, + "start": 9439, + "end": 9440, "loc": { "start": { - "line": 486, - "column": 34 + "line": 472, + "column": 31 }, "end": { - "line": 486, - "column": 35 + "line": 472, + "column": 32 } } }, @@ -100604,15 +100030,15 @@ "postfix": false, "binop": null }, - "start": 10134, - "end": 10135, + "start": 9442, + "end": 9443, "loc": { "start": { - "line": 487, + "line": 473, "column": 1 }, "end": { - "line": 487, + "line": 473, "column": 2 } } @@ -100630,15 +100056,15 @@ "binop": null }, "value": "gt", - "start": 10138, - "end": 10140, + "start": 9446, + "end": 9448, "loc": { "start": { - "line": 489, + "line": 475, "column": 1 }, "end": { - "line": 489, + "line": 475, "column": 3 } } @@ -100655,16 +100081,16 @@ "postfix": false, "binop": null }, - "start": 10141, - "end": 10142, + "start": 9448, + "end": 9449, "loc": { "start": { - "line": 489, - "column": 4 + "line": 475, + "column": 3 }, "end": { - "line": 489, - "column": 5 + "line": 475, + "column": 4 } } }, @@ -100681,16 +100107,16 @@ "binop": null }, "value": "other", - "start": 10143, - "end": 10148, + "start": 9449, + "end": 9454, "loc": { "start": { - "line": 489, - "column": 6 + "line": 475, + "column": 4 }, "end": { - "line": 489, - "column": 11 + "line": 475, + "column": 9 } } }, @@ -100706,16 +100132,16 @@ "postfix": false, "binop": null }, - "start": 10149, - "end": 10150, + "start": 9454, + "end": 9455, "loc": { "start": { - "line": 489, - "column": 12 + "line": 475, + "column": 9 }, "end": { - "line": 489, - "column": 13 + "line": 475, + "column": 10 } } }, @@ -100731,16 +100157,16 @@ "postfix": false, "binop": null }, - "start": 10151, - "end": 10152, + "start": 9456, + "end": 9457, "loc": { "start": { - "line": 489, - "column": 14 + "line": 475, + "column": 11 }, "end": { - "line": 489, - "column": 15 + "line": 475, + "column": 12 } } }, @@ -100759,15 +100185,15 @@ "updateContext": null }, "value": "return", - "start": 10155, - "end": 10161, + "start": 9460, + "end": 9466, "loc": { "start": { - "line": 490, + "line": 476, "column": 2 }, "end": { - "line": 490, + "line": 476, "column": 8 } } @@ -100787,15 +100213,15 @@ "updateContext": null }, "value": "this", - "start": 10162, - "end": 10166, + "start": 9467, + "end": 9471, "loc": { "start": { - "line": 490, + "line": 476, "column": 9 }, "end": { - "line": 490, + "line": 476, "column": 13 } } @@ -100813,15 +100239,15 @@ "binop": null, "updateContext": null }, - "start": 10166, - "end": 10167, + "start": 9471, + "end": 9472, "loc": { "start": { - "line": 490, + "line": 476, "column": 13 }, "end": { - "line": 490, + "line": 476, "column": 14 } } @@ -100839,15 +100265,15 @@ "binop": null }, "value": "cmp", - "start": 10167, - "end": 10170, + "start": 9472, + "end": 9475, "loc": { "start": { - "line": 490, + "line": 476, "column": 14 }, "end": { - "line": 490, + "line": 476, "column": 17 } } @@ -100864,15 +100290,15 @@ "postfix": false, "binop": null }, - "start": 10170, - "end": 10171, + "start": 9475, + "end": 9476, "loc": { "start": { - "line": 490, + "line": 476, "column": 17 }, "end": { - "line": 490, + "line": 476, "column": 18 } } @@ -100890,16 +100316,16 @@ "binop": null }, "value": "other", - "start": 10172, - "end": 10177, + "start": 9476, + "end": 9481, "loc": { "start": { - "line": 490, - "column": 19 + "line": 476, + "column": 18 }, "end": { - "line": 490, - "column": 24 + "line": 476, + "column": 23 } } }, @@ -100915,16 +100341,16 @@ "postfix": false, "binop": null }, - "start": 10178, - "end": 10179, + "start": 9481, + "end": 9482, "loc": { "start": { - "line": 490, - "column": 25 + "line": 476, + "column": 23 }, "end": { - "line": 490, - "column": 26 + "line": 476, + "column": 24 } } }, @@ -100942,16 +100368,16 @@ "updateContext": null }, "value": ">", - "start": 10180, - "end": 10181, + "start": 9483, + "end": 9484, "loc": { "start": { - "line": 490, - "column": 27 + "line": 476, + "column": 25 }, "end": { - "line": 490, - "column": 28 + "line": 476, + "column": 26 } } }, @@ -100969,16 +100395,16 @@ "updateContext": null }, "value": 0, - "start": 10182, - "end": 10183, + "start": 9485, + "end": 9486, "loc": { "start": { - "line": 490, - "column": 29 + "line": 476, + "column": 27 }, "end": { - "line": 490, - "column": 30 + "line": 476, + "column": 28 } } }, @@ -100995,16 +100421,16 @@ "binop": null, "updateContext": null }, - "start": 10184, - "end": 10185, + "start": 9486, + "end": 9487, "loc": { "start": { - "line": 490, - "column": 31 + "line": 476, + "column": 28 }, "end": { - "line": 490, - "column": 32 + "line": 476, + "column": 29 } } }, @@ -101020,15 +100446,15 @@ "postfix": false, "binop": null }, - "start": 10187, - "end": 10188, + "start": 9489, + "end": 9490, "loc": { "start": { - "line": 491, + "line": 477, "column": 1 }, "end": { - "line": 491, + "line": 477, "column": 2 } } @@ -101046,15 +100472,15 @@ "binop": null }, "value": "gtn", - "start": 10191, - "end": 10194, + "start": 9493, + "end": 9496, "loc": { "start": { - "line": 493, + "line": 479, "column": 1 }, "end": { - "line": 493, + "line": 479, "column": 4 } } @@ -101071,16 +100497,16 @@ "postfix": false, "binop": null }, - "start": 10195, - "end": 10196, + "start": 9496, + "end": 9497, "loc": { "start": { - "line": 493, - "column": 5 + "line": 479, + "column": 4 }, "end": { - "line": 493, - "column": 6 + "line": 479, + "column": 5 } } }, @@ -101097,16 +100523,16 @@ "binop": null }, "value": "number", - "start": 10197, - "end": 10203, + "start": 9497, + "end": 9503, "loc": { "start": { - "line": 493, - "column": 7 + "line": 479, + "column": 5 }, "end": { - "line": 493, - "column": 13 + "line": 479, + "column": 11 } } }, @@ -101122,16 +100548,16 @@ "postfix": false, "binop": null }, - "start": 10204, - "end": 10205, + "start": 9503, + "end": 9504, "loc": { "start": { - "line": 493, - "column": 14 + "line": 479, + "column": 11 }, "end": { - "line": 493, - "column": 15 + "line": 479, + "column": 12 } } }, @@ -101147,16 +100573,16 @@ "postfix": false, "binop": null }, - "start": 10206, - "end": 10207, + "start": 9505, + "end": 9506, "loc": { "start": { - "line": 493, - "column": 16 + "line": 479, + "column": 13 }, "end": { - "line": 493, - "column": 17 + "line": 479, + "column": 14 } } }, @@ -101175,15 +100601,15 @@ "updateContext": null }, "value": "return", - "start": 10210, - "end": 10216, + "start": 9509, + "end": 9515, "loc": { "start": { - "line": 494, + "line": 480, "column": 2 }, "end": { - "line": 494, + "line": 480, "column": 8 } } @@ -101203,15 +100629,15 @@ "updateContext": null }, "value": "this", - "start": 10217, - "end": 10221, + "start": 9516, + "end": 9520, "loc": { "start": { - "line": 494, + "line": 480, "column": 9 }, "end": { - "line": 494, + "line": 480, "column": 13 } } @@ -101229,15 +100655,15 @@ "binop": null, "updateContext": null }, - "start": 10221, - "end": 10222, + "start": 9520, + "end": 9521, "loc": { "start": { - "line": 494, + "line": 480, "column": 13 }, "end": { - "line": 494, + "line": 480, "column": 14 } } @@ -101255,15 +100681,15 @@ "binop": null }, "value": "cmpn", - "start": 10222, - "end": 10226, + "start": 9521, + "end": 9525, "loc": { "start": { - "line": 494, + "line": 480, "column": 14 }, "end": { - "line": 494, + "line": 480, "column": 18 } } @@ -101280,15 +100706,15 @@ "postfix": false, "binop": null }, - "start": 10226, - "end": 10227, + "start": 9525, + "end": 9526, "loc": { "start": { - "line": 494, + "line": 480, "column": 18 }, "end": { - "line": 494, + "line": 480, "column": 19 } } @@ -101306,16 +100732,16 @@ "binop": null }, "value": "number", - "start": 10228, - "end": 10234, + "start": 9526, + "end": 9532, "loc": { "start": { - "line": 494, - "column": 20 + "line": 480, + "column": 19 }, "end": { - "line": 494, - "column": 26 + "line": 480, + "column": 25 } } }, @@ -101331,16 +100757,16 @@ "postfix": false, "binop": null }, - "start": 10235, - "end": 10236, + "start": 9532, + "end": 9533, "loc": { "start": { - "line": 494, - "column": 27 + "line": 480, + "column": 25 }, "end": { - "line": 494, - "column": 28 + "line": 480, + "column": 26 } } }, @@ -101358,16 +100784,16 @@ "updateContext": null }, "value": ">", - "start": 10237, - "end": 10238, + "start": 9534, + "end": 9535, "loc": { "start": { - "line": 494, - "column": 29 + "line": 480, + "column": 27 }, "end": { - "line": 494, - "column": 30 + "line": 480, + "column": 28 } } }, @@ -101385,16 +100811,16 @@ "updateContext": null }, "value": 0, - "start": 10239, - "end": 10240, + "start": 9536, + "end": 9537, "loc": { "start": { - "line": 494, - "column": 31 + "line": 480, + "column": 29 }, "end": { - "line": 494, - "column": 32 + "line": 480, + "column": 30 } } }, @@ -101411,16 +100837,16 @@ "binop": null, "updateContext": null }, - "start": 10241, - "end": 10242, + "start": 9537, + "end": 9538, "loc": { "start": { - "line": 494, - "column": 33 + "line": 480, + "column": 30 }, "end": { - "line": 494, - "column": 34 + "line": 480, + "column": 31 } } }, @@ -101436,15 +100862,15 @@ "postfix": false, "binop": null }, - "start": 10244, - "end": 10245, + "start": 9540, + "end": 9541, "loc": { "start": { - "line": 495, + "line": 481, "column": 1 }, "end": { - "line": 495, + "line": 481, "column": 2 } } @@ -101462,15 +100888,15 @@ "binop": null }, "value": "le", - "start": 10248, - "end": 10250, + "start": 9544, + "end": 9546, "loc": { "start": { - "line": 497, + "line": 483, "column": 1 }, "end": { - "line": 497, + "line": 483, "column": 3 } } @@ -101487,16 +100913,16 @@ "postfix": false, "binop": null }, - "start": 10251, - "end": 10252, + "start": 9546, + "end": 9547, "loc": { "start": { - "line": 497, - "column": 4 + "line": 483, + "column": 3 }, "end": { - "line": 497, - "column": 5 + "line": 483, + "column": 4 } } }, @@ -101513,16 +100939,16 @@ "binop": null }, "value": "other", - "start": 10253, - "end": 10258, + "start": 9547, + "end": 9552, "loc": { "start": { - "line": 497, - "column": 6 + "line": 483, + "column": 4 }, "end": { - "line": 497, - "column": 11 + "line": 483, + "column": 9 } } }, @@ -101538,16 +100964,16 @@ "postfix": false, "binop": null }, - "start": 10259, - "end": 10260, + "start": 9552, + "end": 9553, "loc": { "start": { - "line": 497, - "column": 12 + "line": 483, + "column": 9 }, "end": { - "line": 497, - "column": 13 + "line": 483, + "column": 10 } } }, @@ -101563,16 +100989,16 @@ "postfix": false, "binop": null }, - "start": 10261, - "end": 10262, + "start": 9554, + "end": 9555, "loc": { "start": { - "line": 497, - "column": 14 + "line": 483, + "column": 11 }, "end": { - "line": 497, - "column": 15 + "line": 483, + "column": 12 } } }, @@ -101591,15 +101017,15 @@ "updateContext": null }, "value": "return", - "start": 10265, - "end": 10271, + "start": 9558, + "end": 9564, "loc": { "start": { - "line": 498, + "line": 484, "column": 2 }, "end": { - "line": 498, + "line": 484, "column": 8 } } @@ -101619,15 +101045,15 @@ "updateContext": null }, "value": "this", - "start": 10272, - "end": 10276, + "start": 9565, + "end": 9569, "loc": { "start": { - "line": 498, + "line": 484, "column": 9 }, "end": { - "line": 498, + "line": 484, "column": 13 } } @@ -101645,15 +101071,15 @@ "binop": null, "updateContext": null }, - "start": 10276, - "end": 10277, + "start": 9569, + "end": 9570, "loc": { "start": { - "line": 498, + "line": 484, "column": 13 }, "end": { - "line": 498, + "line": 484, "column": 14 } } @@ -101671,15 +101097,15 @@ "binop": null }, "value": "cmp", - "start": 10277, - "end": 10280, + "start": 9570, + "end": 9573, "loc": { "start": { - "line": 498, + "line": 484, "column": 14 }, "end": { - "line": 498, + "line": 484, "column": 17 } } @@ -101696,15 +101122,15 @@ "postfix": false, "binop": null }, - "start": 10280, - "end": 10281, + "start": 9573, + "end": 9574, "loc": { "start": { - "line": 498, + "line": 484, "column": 17 }, "end": { - "line": 498, + "line": 484, "column": 18 } } @@ -101722,16 +101148,16 @@ "binop": null }, "value": "other", - "start": 10282, - "end": 10287, + "start": 9574, + "end": 9579, "loc": { "start": { - "line": 498, - "column": 19 + "line": 484, + "column": 18 }, "end": { - "line": 498, - "column": 24 + "line": 484, + "column": 23 } } }, @@ -101747,16 +101173,16 @@ "postfix": false, "binop": null }, - "start": 10288, - "end": 10289, + "start": 9579, + "end": 9580, "loc": { "start": { - "line": 498, - "column": 25 + "line": 484, + "column": 23 }, "end": { - "line": 498, - "column": 26 + "line": 484, + "column": 24 } } }, @@ -101774,16 +101200,16 @@ "updateContext": null }, "value": "<=", - "start": 10290, - "end": 10292, + "start": 9581, + "end": 9583, "loc": { "start": { - "line": 498, - "column": 27 + "line": 484, + "column": 25 }, "end": { - "line": 498, - "column": 29 + "line": 484, + "column": 27 } } }, @@ -101801,16 +101227,16 @@ "updateContext": null }, "value": 0, - "start": 10293, - "end": 10294, + "start": 9584, + "end": 9585, "loc": { "start": { - "line": 498, - "column": 30 + "line": 484, + "column": 28 }, "end": { - "line": 498, - "column": 31 + "line": 484, + "column": 29 } } }, @@ -101827,16 +101253,16 @@ "binop": null, "updateContext": null }, - "start": 10295, - "end": 10296, + "start": 9585, + "end": 9586, "loc": { "start": { - "line": 498, - "column": 32 + "line": 484, + "column": 29 }, "end": { - "line": 498, - "column": 33 + "line": 484, + "column": 30 } } }, @@ -101852,15 +101278,15 @@ "postfix": false, "binop": null }, - "start": 10298, - "end": 10299, + "start": 9588, + "end": 9589, "loc": { "start": { - "line": 499, + "line": 485, "column": 1 }, "end": { - "line": 499, + "line": 485, "column": 2 } } @@ -101878,15 +101304,15 @@ "binop": null }, "value": "len", - "start": 10302, - "end": 10305, + "start": 9592, + "end": 9595, "loc": { "start": { - "line": 501, + "line": 487, "column": 1 }, "end": { - "line": 501, + "line": 487, "column": 4 } } @@ -101903,16 +101329,16 @@ "postfix": false, "binop": null }, - "start": 10306, - "end": 10307, + "start": 9595, + "end": 9596, "loc": { "start": { - "line": 501, - "column": 5 + "line": 487, + "column": 4 }, "end": { - "line": 501, - "column": 6 + "line": 487, + "column": 5 } } }, @@ -101929,16 +101355,16 @@ "binop": null }, "value": "number", - "start": 10308, - "end": 10314, + "start": 9596, + "end": 9602, "loc": { "start": { - "line": 501, - "column": 7 + "line": 487, + "column": 5 }, "end": { - "line": 501, - "column": 13 + "line": 487, + "column": 11 } } }, @@ -101954,16 +101380,16 @@ "postfix": false, "binop": null }, - "start": 10315, - "end": 10316, + "start": 9602, + "end": 9603, "loc": { "start": { - "line": 501, - "column": 14 + "line": 487, + "column": 11 }, "end": { - "line": 501, - "column": 15 + "line": 487, + "column": 12 } } }, @@ -101979,16 +101405,16 @@ "postfix": false, "binop": null }, - "start": 10317, - "end": 10318, + "start": 9604, + "end": 9605, "loc": { "start": { - "line": 501, - "column": 16 + "line": 487, + "column": 13 }, "end": { - "line": 501, - "column": 17 + "line": 487, + "column": 14 } } }, @@ -102007,15 +101433,15 @@ "updateContext": null }, "value": "return", - "start": 10321, - "end": 10327, + "start": 9608, + "end": 9614, "loc": { "start": { - "line": 502, + "line": 488, "column": 2 }, "end": { - "line": 502, + "line": 488, "column": 8 } } @@ -102035,15 +101461,15 @@ "updateContext": null }, "value": "this", - "start": 10328, - "end": 10332, + "start": 9615, + "end": 9619, "loc": { "start": { - "line": 502, + "line": 488, "column": 9 }, "end": { - "line": 502, + "line": 488, "column": 13 } } @@ -102061,15 +101487,15 @@ "binop": null, "updateContext": null }, - "start": 10332, - "end": 10333, + "start": 9619, + "end": 9620, "loc": { "start": { - "line": 502, + "line": 488, "column": 13 }, "end": { - "line": 502, + "line": 488, "column": 14 } } @@ -102087,15 +101513,15 @@ "binop": null }, "value": "cmpn", - "start": 10333, - "end": 10337, + "start": 9620, + "end": 9624, "loc": { "start": { - "line": 502, + "line": 488, "column": 14 }, "end": { - "line": 502, + "line": 488, "column": 18 } } @@ -102112,15 +101538,15 @@ "postfix": false, "binop": null }, - "start": 10337, - "end": 10338, + "start": 9624, + "end": 9625, "loc": { "start": { - "line": 502, + "line": 488, "column": 18 }, "end": { - "line": 502, + "line": 488, "column": 19 } } @@ -102138,16 +101564,16 @@ "binop": null }, "value": "number", - "start": 10339, - "end": 10345, + "start": 9625, + "end": 9631, "loc": { "start": { - "line": 502, - "column": 20 + "line": 488, + "column": 19 }, "end": { - "line": 502, - "column": 26 + "line": 488, + "column": 25 } } }, @@ -102163,16 +101589,16 @@ "postfix": false, "binop": null }, - "start": 10346, - "end": 10347, + "start": 9631, + "end": 9632, "loc": { "start": { - "line": 502, - "column": 27 + "line": 488, + "column": 25 }, "end": { - "line": 502, - "column": 28 + "line": 488, + "column": 26 } } }, @@ -102190,16 +101616,16 @@ "updateContext": null }, "value": "<=", - "start": 10348, - "end": 10350, + "start": 9633, + "end": 9635, "loc": { "start": { - "line": 502, - "column": 29 + "line": 488, + "column": 27 }, "end": { - "line": 502, - "column": 31 + "line": 488, + "column": 29 } } }, @@ -102217,16 +101643,16 @@ "updateContext": null }, "value": 0, - "start": 10351, - "end": 10352, + "start": 9636, + "end": 9637, "loc": { "start": { - "line": 502, - "column": 32 + "line": 488, + "column": 30 }, "end": { - "line": 502, - "column": 33 + "line": 488, + "column": 31 } } }, @@ -102243,16 +101669,16 @@ "binop": null, "updateContext": null }, - "start": 10353, - "end": 10354, + "start": 9637, + "end": 9638, "loc": { "start": { - "line": 502, - "column": 34 + "line": 488, + "column": 31 }, "end": { - "line": 502, - "column": 35 + "line": 488, + "column": 32 } } }, @@ -102268,15 +101694,15 @@ "postfix": false, "binop": null }, - "start": 10356, - "end": 10357, + "start": 9640, + "end": 9641, "loc": { "start": { - "line": 503, + "line": 489, "column": 1 }, "end": { - "line": 503, + "line": 489, "column": 2 } } @@ -102294,15 +101720,15 @@ "binop": null }, "value": "lt", - "start": 10360, - "end": 10362, + "start": 9644, + "end": 9646, "loc": { "start": { - "line": 505, + "line": 491, "column": 1 }, "end": { - "line": 505, + "line": 491, "column": 3 } } @@ -102319,16 +101745,16 @@ "postfix": false, "binop": null }, - "start": 10363, - "end": 10364, + "start": 9646, + "end": 9647, "loc": { "start": { - "line": 505, - "column": 4 + "line": 491, + "column": 3 }, "end": { - "line": 505, - "column": 5 + "line": 491, + "column": 4 } } }, @@ -102345,16 +101771,16 @@ "binop": null }, "value": "other", - "start": 10365, - "end": 10370, + "start": 9647, + "end": 9652, "loc": { "start": { - "line": 505, - "column": 6 + "line": 491, + "column": 4 }, "end": { - "line": 505, - "column": 11 + "line": 491, + "column": 9 } } }, @@ -102370,16 +101796,16 @@ "postfix": false, "binop": null }, - "start": 10371, - "end": 10372, + "start": 9652, + "end": 9653, "loc": { "start": { - "line": 505, - "column": 12 + "line": 491, + "column": 9 }, "end": { - "line": 505, - "column": 13 + "line": 491, + "column": 10 } } }, @@ -102395,16 +101821,16 @@ "postfix": false, "binop": null }, - "start": 10373, - "end": 10374, + "start": 9654, + "end": 9655, "loc": { "start": { - "line": 505, - "column": 14 + "line": 491, + "column": 11 }, "end": { - "line": 505, - "column": 15 + "line": 491, + "column": 12 } } }, @@ -102423,15 +101849,15 @@ "updateContext": null }, "value": "return", - "start": 10377, - "end": 10383, + "start": 9658, + "end": 9664, "loc": { "start": { - "line": 506, + "line": 492, "column": 2 }, "end": { - "line": 506, + "line": 492, "column": 8 } } @@ -102451,15 +101877,15 @@ "updateContext": null }, "value": "this", - "start": 10384, - "end": 10388, + "start": 9665, + "end": 9669, "loc": { "start": { - "line": 506, + "line": 492, "column": 9 }, "end": { - "line": 506, + "line": 492, "column": 13 } } @@ -102477,15 +101903,15 @@ "binop": null, "updateContext": null }, - "start": 10388, - "end": 10389, + "start": 9669, + "end": 9670, "loc": { "start": { - "line": 506, + "line": 492, "column": 13 }, "end": { - "line": 506, + "line": 492, "column": 14 } } @@ -102503,15 +101929,15 @@ "binop": null }, "value": "cmp", - "start": 10389, - "end": 10392, + "start": 9670, + "end": 9673, "loc": { "start": { - "line": 506, + "line": 492, "column": 14 }, "end": { - "line": 506, + "line": 492, "column": 17 } } @@ -102528,15 +101954,15 @@ "postfix": false, "binop": null }, - "start": 10392, - "end": 10393, + "start": 9673, + "end": 9674, "loc": { "start": { - "line": 506, + "line": 492, "column": 17 }, "end": { - "line": 506, + "line": 492, "column": 18 } } @@ -102554,16 +101980,16 @@ "binop": null }, "value": "other", - "start": 10394, - "end": 10399, + "start": 9674, + "end": 9679, "loc": { "start": { - "line": 506, - "column": 19 + "line": 492, + "column": 18 }, "end": { - "line": 506, - "column": 24 + "line": 492, + "column": 23 } } }, @@ -102579,16 +102005,16 @@ "postfix": false, "binop": null }, - "start": 10400, - "end": 10401, + "start": 9679, + "end": 9680, "loc": { "start": { - "line": 506, - "column": 25 + "line": 492, + "column": 23 }, "end": { - "line": 506, - "column": 26 + "line": 492, + "column": 24 } } }, @@ -102606,16 +102032,16 @@ "updateContext": null }, "value": "<", - "start": 10402, - "end": 10403, + "start": 9681, + "end": 9682, "loc": { "start": { - "line": 506, - "column": 27 + "line": 492, + "column": 25 }, "end": { - "line": 506, - "column": 28 + "line": 492, + "column": 26 } } }, @@ -102633,16 +102059,16 @@ "updateContext": null }, "value": 0, - "start": 10404, - "end": 10405, + "start": 9683, + "end": 9684, "loc": { "start": { - "line": 506, - "column": 29 + "line": 492, + "column": 27 }, "end": { - "line": 506, - "column": 30 + "line": 492, + "column": 28 } } }, @@ -102659,16 +102085,16 @@ "binop": null, "updateContext": null }, - "start": 10406, - "end": 10407, + "start": 9684, + "end": 9685, "loc": { "start": { - "line": 506, - "column": 31 + "line": 492, + "column": 28 }, "end": { - "line": 506, - "column": 32 + "line": 492, + "column": 29 } } }, @@ -102684,15 +102110,15 @@ "postfix": false, "binop": null }, - "start": 10409, - "end": 10410, + "start": 9687, + "end": 9688, "loc": { "start": { - "line": 507, + "line": 493, "column": 1 }, "end": { - "line": 507, + "line": 493, "column": 2 } } @@ -102710,15 +102136,15 @@ "binop": null }, "value": "ltn", - "start": 10413, - "end": 10416, + "start": 9691, + "end": 9694, "loc": { "start": { - "line": 509, + "line": 495, "column": 1 }, "end": { - "line": 509, + "line": 495, "column": 4 } } @@ -102735,16 +102161,16 @@ "postfix": false, "binop": null }, - "start": 10417, - "end": 10418, + "start": 9694, + "end": 9695, "loc": { "start": { - "line": 509, - "column": 5 + "line": 495, + "column": 4 }, "end": { - "line": 509, - "column": 6 + "line": 495, + "column": 5 } } }, @@ -102761,16 +102187,16 @@ "binop": null }, "value": "number", - "start": 10419, - "end": 10425, + "start": 9695, + "end": 9701, "loc": { "start": { - "line": 509, - "column": 7 + "line": 495, + "column": 5 }, "end": { - "line": 509, - "column": 13 + "line": 495, + "column": 11 } } }, @@ -102786,16 +102212,16 @@ "postfix": false, "binop": null }, - "start": 10426, - "end": 10427, + "start": 9701, + "end": 9702, "loc": { "start": { - "line": 509, - "column": 14 + "line": 495, + "column": 11 }, "end": { - "line": 509, - "column": 15 + "line": 495, + "column": 12 } } }, @@ -102811,16 +102237,16 @@ "postfix": false, "binop": null }, - "start": 10428, - "end": 10429, + "start": 9703, + "end": 9704, "loc": { "start": { - "line": 509, - "column": 16 + "line": 495, + "column": 13 }, "end": { - "line": 509, - "column": 17 + "line": 495, + "column": 14 } } }, @@ -102839,15 +102265,15 @@ "updateContext": null }, "value": "return", - "start": 10432, - "end": 10438, + "start": 9707, + "end": 9713, "loc": { "start": { - "line": 510, + "line": 496, "column": 2 }, "end": { - "line": 510, + "line": 496, "column": 8 } } @@ -102867,15 +102293,15 @@ "updateContext": null }, "value": "this", - "start": 10439, - "end": 10443, + "start": 9714, + "end": 9718, "loc": { "start": { - "line": 510, + "line": 496, "column": 9 }, "end": { - "line": 510, + "line": 496, "column": 13 } } @@ -102893,15 +102319,15 @@ "binop": null, "updateContext": null }, - "start": 10443, - "end": 10444, + "start": 9718, + "end": 9719, "loc": { "start": { - "line": 510, + "line": 496, "column": 13 }, "end": { - "line": 510, + "line": 496, "column": 14 } } @@ -102919,15 +102345,15 @@ "binop": null }, "value": "cmpn", - "start": 10444, - "end": 10448, + "start": 9719, + "end": 9723, "loc": { "start": { - "line": 510, + "line": 496, "column": 14 }, "end": { - "line": 510, + "line": 496, "column": 18 } } @@ -102944,15 +102370,15 @@ "postfix": false, "binop": null }, - "start": 10448, - "end": 10449, + "start": 9723, + "end": 9724, "loc": { "start": { - "line": 510, + "line": 496, "column": 18 }, "end": { - "line": 510, + "line": 496, "column": 19 } } @@ -102970,16 +102396,16 @@ "binop": null }, "value": "number", - "start": 10450, - "end": 10456, + "start": 9724, + "end": 9730, "loc": { "start": { - "line": 510, - "column": 20 + "line": 496, + "column": 19 }, "end": { - "line": 510, - "column": 26 + "line": 496, + "column": 25 } } }, @@ -102995,16 +102421,16 @@ "postfix": false, "binop": null }, - "start": 10457, - "end": 10458, + "start": 9730, + "end": 9731, "loc": { "start": { - "line": 510, - "column": 27 + "line": 496, + "column": 25 }, "end": { - "line": 510, - "column": 28 + "line": 496, + "column": 26 } } }, @@ -103022,16 +102448,16 @@ "updateContext": null }, "value": "<", - "start": 10459, - "end": 10460, + "start": 9732, + "end": 9733, "loc": { "start": { - "line": 510, - "column": 29 + "line": 496, + "column": 27 }, "end": { - "line": 510, - "column": 30 + "line": 496, + "column": 28 } } }, @@ -103049,16 +102475,16 @@ "updateContext": null }, "value": 0, - "start": 10461, - "end": 10462, + "start": 9734, + "end": 9735, "loc": { "start": { - "line": 510, - "column": 31 + "line": 496, + "column": 29 }, "end": { - "line": 510, - "column": 32 + "line": 496, + "column": 30 } } }, @@ -103075,16 +102501,16 @@ "binop": null, "updateContext": null }, - "start": 10463, - "end": 10464, + "start": 9735, + "end": 9736, "loc": { "start": { - "line": 510, - "column": 33 + "line": 496, + "column": 30 }, "end": { - "line": 510, - "column": 34 + "line": 496, + "column": 31 } } }, @@ -103100,15 +102526,15 @@ "postfix": false, "binop": null }, - "start": 10466, - "end": 10467, + "start": 9738, + "end": 9739, "loc": { "start": { - "line": 511, + "line": 497, "column": 1 }, "end": { - "line": 511, + "line": 497, "column": 2 } } @@ -103126,15 +102552,15 @@ "binop": null }, "value": "ne", - "start": 10470, - "end": 10472, + "start": 9742, + "end": 9744, "loc": { "start": { - "line": 513, + "line": 499, "column": 1 }, "end": { - "line": 513, + "line": 499, "column": 3 } } @@ -103151,16 +102577,16 @@ "postfix": false, "binop": null }, - "start": 10473, - "end": 10474, + "start": 9744, + "end": 9745, "loc": { "start": { - "line": 513, - "column": 4 + "line": 499, + "column": 3 }, "end": { - "line": 513, - "column": 5 + "line": 499, + "column": 4 } } }, @@ -103177,16 +102603,16 @@ "binop": null }, "value": "other", - "start": 10475, - "end": 10480, + "start": 9745, + "end": 9750, "loc": { "start": { - "line": 513, - "column": 6 + "line": 499, + "column": 4 }, "end": { - "line": 513, - "column": 11 + "line": 499, + "column": 9 } } }, @@ -103202,16 +102628,16 @@ "postfix": false, "binop": null }, - "start": 10481, - "end": 10482, + "start": 9750, + "end": 9751, "loc": { "start": { - "line": 513, - "column": 12 + "line": 499, + "column": 9 }, "end": { - "line": 513, - "column": 13 + "line": 499, + "column": 10 } } }, @@ -103227,16 +102653,16 @@ "postfix": false, "binop": null }, - "start": 10483, - "end": 10484, + "start": 9752, + "end": 9753, "loc": { "start": { - "line": 513, - "column": 14 + "line": 499, + "column": 11 }, "end": { - "line": 513, - "column": 15 + "line": 499, + "column": 12 } } }, @@ -103255,15 +102681,15 @@ "updateContext": null }, "value": "return", - "start": 10487, - "end": 10493, + "start": 9756, + "end": 9762, "loc": { "start": { - "line": 514, + "line": 500, "column": 2 }, "end": { - "line": 514, + "line": 500, "column": 8 } } @@ -103283,15 +102709,15 @@ "updateContext": null }, "value": "this", - "start": 10494, - "end": 10498, + "start": 9763, + "end": 9767, "loc": { "start": { - "line": 514, + "line": 500, "column": 9 }, "end": { - "line": 514, + "line": 500, "column": 13 } } @@ -103309,15 +102735,15 @@ "binop": null, "updateContext": null }, - "start": 10498, - "end": 10499, + "start": 9767, + "end": 9768, "loc": { "start": { - "line": 514, + "line": 500, "column": 13 }, "end": { - "line": 514, + "line": 500, "column": 14 } } @@ -103335,15 +102761,15 @@ "binop": null }, "value": "cmp", - "start": 10499, - "end": 10502, + "start": 9768, + "end": 9771, "loc": { "start": { - "line": 514, + "line": 500, "column": 14 }, "end": { - "line": 514, + "line": 500, "column": 17 } } @@ -103360,15 +102786,15 @@ "postfix": false, "binop": null }, - "start": 10502, - "end": 10503, + "start": 9771, + "end": 9772, "loc": { "start": { - "line": 514, + "line": 500, "column": 17 }, "end": { - "line": 514, + "line": 500, "column": 18 } } @@ -103386,16 +102812,16 @@ "binop": null }, "value": "other", - "start": 10504, - "end": 10509, + "start": 9772, + "end": 9777, "loc": { "start": { - "line": 514, - "column": 19 + "line": 500, + "column": 18 }, "end": { - "line": 514, - "column": 24 + "line": 500, + "column": 23 } } }, @@ -103411,16 +102837,16 @@ "postfix": false, "binop": null }, - "start": 10510, - "end": 10511, + "start": 9777, + "end": 9778, "loc": { "start": { - "line": 514, - "column": 25 + "line": 500, + "column": 23 }, "end": { - "line": 514, - "column": 26 + "line": 500, + "column": 24 } } }, @@ -103438,16 +102864,16 @@ "updateContext": null }, "value": "!==", - "start": 10512, - "end": 10515, + "start": 9779, + "end": 9782, "loc": { "start": { - "line": 514, - "column": 27 + "line": 500, + "column": 25 }, "end": { - "line": 514, - "column": 30 + "line": 500, + "column": 28 } } }, @@ -103465,16 +102891,16 @@ "updateContext": null }, "value": 0, - "start": 10516, - "end": 10517, + "start": 9783, + "end": 9784, "loc": { "start": { - "line": 514, - "column": 31 + "line": 500, + "column": 29 }, "end": { - "line": 514, - "column": 32 + "line": 500, + "column": 30 } } }, @@ -103491,16 +102917,16 @@ "binop": null, "updateContext": null }, - "start": 10518, - "end": 10519, + "start": 9784, + "end": 9785, "loc": { "start": { - "line": 514, - "column": 33 + "line": 500, + "column": 30 }, "end": { - "line": 514, - "column": 34 + "line": 500, + "column": 31 } } }, @@ -103516,15 +102942,15 @@ "postfix": false, "binop": null }, - "start": 10521, - "end": 10522, + "start": 9787, + "end": 9788, "loc": { "start": { - "line": 515, + "line": 501, "column": 1 }, "end": { - "line": 515, + "line": 501, "column": 2 } } @@ -103542,15 +102968,15 @@ "binop": null }, "value": "nen", - "start": 10525, - "end": 10528, + "start": 9791, + "end": 9794, "loc": { "start": { - "line": 517, + "line": 503, "column": 1 }, "end": { - "line": 517, + "line": 503, "column": 4 } } @@ -103567,16 +102993,16 @@ "postfix": false, "binop": null }, - "start": 10529, - "end": 10530, + "start": 9794, + "end": 9795, "loc": { "start": { - "line": 517, - "column": 5 + "line": 503, + "column": 4 }, "end": { - "line": 517, - "column": 6 + "line": 503, + "column": 5 } } }, @@ -103593,16 +103019,16 @@ "binop": null }, "value": "number", - "start": 10531, - "end": 10537, + "start": 9795, + "end": 9801, "loc": { "start": { - "line": 517, - "column": 7 + "line": 503, + "column": 5 }, "end": { - "line": 517, - "column": 13 + "line": 503, + "column": 11 } } }, @@ -103618,16 +103044,16 @@ "postfix": false, "binop": null }, - "start": 10538, - "end": 10539, + "start": 9801, + "end": 9802, "loc": { "start": { - "line": 517, - "column": 14 + "line": 503, + "column": 11 }, "end": { - "line": 517, - "column": 15 + "line": 503, + "column": 12 } } }, @@ -103643,16 +103069,16 @@ "postfix": false, "binop": null }, - "start": 10540, - "end": 10541, + "start": 9803, + "end": 9804, "loc": { "start": { - "line": 517, - "column": 16 + "line": 503, + "column": 13 }, "end": { - "line": 517, - "column": 17 + "line": 503, + "column": 14 } } }, @@ -103671,15 +103097,15 @@ "updateContext": null }, "value": "return", - "start": 10544, - "end": 10550, + "start": 9807, + "end": 9813, "loc": { "start": { - "line": 518, + "line": 504, "column": 2 }, "end": { - "line": 518, + "line": 504, "column": 8 } } @@ -103699,15 +103125,15 @@ "updateContext": null }, "value": "this", - "start": 10551, - "end": 10555, + "start": 9814, + "end": 9818, "loc": { "start": { - "line": 518, + "line": 504, "column": 9 }, "end": { - "line": 518, + "line": 504, "column": 13 } } @@ -103725,15 +103151,15 @@ "binop": null, "updateContext": null }, - "start": 10555, - "end": 10556, + "start": 9818, + "end": 9819, "loc": { "start": { - "line": 518, + "line": 504, "column": 13 }, "end": { - "line": 518, + "line": 504, "column": 14 } } @@ -103751,15 +103177,15 @@ "binop": null }, "value": "cmpn", - "start": 10556, - "end": 10560, + "start": 9819, + "end": 9823, "loc": { "start": { - "line": 518, + "line": 504, "column": 14 }, "end": { - "line": 518, + "line": 504, "column": 18 } } @@ -103776,15 +103202,15 @@ "postfix": false, "binop": null }, - "start": 10560, - "end": 10561, + "start": 9823, + "end": 9824, "loc": { "start": { - "line": 518, + "line": 504, "column": 18 }, "end": { - "line": 518, + "line": 504, "column": 19 } } @@ -103802,16 +103228,16 @@ "binop": null }, "value": "number", - "start": 10562, - "end": 10568, + "start": 9824, + "end": 9830, "loc": { "start": { - "line": 518, - "column": 20 + "line": 504, + "column": 19 }, "end": { - "line": 518, - "column": 26 + "line": 504, + "column": 25 } } }, @@ -103827,16 +103253,16 @@ "postfix": false, "binop": null }, - "start": 10569, - "end": 10570, + "start": 9830, + "end": 9831, "loc": { "start": { - "line": 518, - "column": 27 + "line": 504, + "column": 25 }, "end": { - "line": 518, - "column": 28 + "line": 504, + "column": 26 } } }, @@ -103854,16 +103280,16 @@ "updateContext": null }, "value": "!==", - "start": 10571, - "end": 10574, + "start": 9832, + "end": 9835, "loc": { "start": { - "line": 518, - "column": 29 + "line": 504, + "column": 27 }, "end": { - "line": 518, - "column": 32 + "line": 504, + "column": 30 } } }, @@ -103881,16 +103307,16 @@ "updateContext": null }, "value": 0, - "start": 10575, - "end": 10576, + "start": 9836, + "end": 9837, "loc": { "start": { - "line": 518, - "column": 33 + "line": 504, + "column": 31 }, "end": { - "line": 518, - "column": 34 + "line": 504, + "column": 32 } } }, @@ -103907,16 +103333,16 @@ "binop": null, "updateContext": null }, - "start": 10577, - "end": 10578, + "start": 9837, + "end": 9838, "loc": { "start": { - "line": 518, - "column": 35 + "line": 504, + "column": 32 }, "end": { - "line": 518, - "column": 36 + "line": 504, + "column": 33 } } }, @@ -103932,15 +103358,15 @@ "postfix": false, "binop": null }, - "start": 10580, - "end": 10581, + "start": 9840, + "end": 9841, "loc": { "start": { - "line": 519, + "line": 505, "column": 1 }, "end": { - "line": 519, + "line": 505, "column": 2 } } @@ -103958,15 +103384,15 @@ "binop": null }, "value": "gcd", - "start": 10584, - "end": 10587, + "start": 9844, + "end": 9847, "loc": { "start": { - "line": 521, + "line": 507, "column": 1 }, "end": { - "line": 521, + "line": 507, "column": 4 } } @@ -103983,16 +103409,16 @@ "postfix": false, "binop": null }, - "start": 10588, - "end": 10589, + "start": 9847, + "end": 9848, "loc": { "start": { - "line": 521, - "column": 5 + "line": 507, + "column": 4 }, "end": { - "line": 521, - "column": 6 + "line": 507, + "column": 5 } } }, @@ -104009,16 +103435,16 @@ "binop": null }, "value": "other", - "start": 10590, - "end": 10595, + "start": 9848, + "end": 9853, "loc": { "start": { - "line": 521, - "column": 7 + "line": 507, + "column": 5 }, "end": { - "line": 521, - "column": 12 + "line": 507, + "column": 10 } } }, @@ -104034,16 +103460,16 @@ "postfix": false, "binop": null }, - "start": 10596, - "end": 10597, + "start": 9853, + "end": 9854, "loc": { "start": { - "line": 521, - "column": 13 + "line": 507, + "column": 10 }, "end": { - "line": 521, - "column": 14 + "line": 507, + "column": 11 } } }, @@ -104059,16 +103485,16 @@ "postfix": false, "binop": null }, - "start": 10598, - "end": 10599, + "start": 9855, + "end": 9856, "loc": { "start": { - "line": 521, - "column": 15 + "line": 507, + "column": 12 }, "end": { - "line": 521, - "column": 16 + "line": 507, + "column": 13 } } }, @@ -104087,15 +103513,15 @@ "updateContext": null }, "value": "const", - "start": 10602, - "end": 10607, + "start": 9859, + "end": 9864, "loc": { "start": { - "line": 522, + "line": 508, "column": 2 }, "end": { - "line": 522, + "line": 508, "column": 7 } } @@ -104113,15 +103539,15 @@ "binop": null }, "value": "r", - "start": 10608, - "end": 10609, + "start": 9865, + "end": 9866, "loc": { "start": { - "line": 522, + "line": 508, "column": 8 }, "end": { - "line": 522, + "line": 508, "column": 9 } } @@ -104140,15 +103566,15 @@ "updateContext": null }, "value": "=", - "start": 10610, - "end": 10611, + "start": 9867, + "end": 9868, "loc": { "start": { - "line": 522, + "line": 508, "column": 10 }, "end": { - "line": 522, + "line": 508, "column": 11 } } @@ -104168,15 +103594,15 @@ "updateContext": null }, "value": "this", - "start": 10612, - "end": 10616, + "start": 9869, + "end": 9873, "loc": { "start": { - "line": 522, + "line": 508, "column": 12 }, "end": { - "line": 522, + "line": 508, "column": 16 } } @@ -104194,15 +103620,15 @@ "binop": null, "updateContext": null }, - "start": 10616, - "end": 10617, + "start": 9873, + "end": 9874, "loc": { "start": { - "line": 522, + "line": 508, "column": 16 }, "end": { - "line": 522, + "line": 508, "column": 17 } } @@ -104219,17 +103645,17 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 10617, - "end": 10621, + "value": "_base", + "start": 9874, + "end": 9879, "loc": { "start": { - "line": 522, + "line": 508, "column": 17 }, "end": { - "line": 522, - "column": 21 + "line": 508, + "column": 22 } } }, @@ -104246,15 +103672,15 @@ "binop": null, "updateContext": null }, - "start": 10622, - "end": 10623, + "start": 9879, + "end": 9880, "loc": { "start": { - "line": 522, + "line": 508, "column": 22 }, "end": { - "line": 522, + "line": 508, "column": 23 } } @@ -104274,15 +103700,15 @@ "updateContext": null }, "value": "const", - "start": 10626, - "end": 10631, + "start": 9883, + "end": 9888, "loc": { "start": { - "line": 523, + "line": 509, "column": 2 }, "end": { - "line": 523, + "line": 509, "column": 7 } } @@ -104300,15 +103726,15 @@ "binop": null }, "value": "a", - "start": 10632, - "end": 10633, + "start": 9889, + "end": 9890, "loc": { "start": { - "line": 523, + "line": 509, "column": 8 }, "end": { - "line": 523, + "line": 509, "column": 9 } } @@ -104327,15 +103753,15 @@ "updateContext": null }, "value": "=", - "start": 10634, - "end": 10635, + "start": 9891, + "end": 9892, "loc": { "start": { - "line": 523, + "line": 509, "column": 10 }, "end": { - "line": 523, + "line": 509, "column": 11 } } @@ -104355,15 +103781,15 @@ "updateContext": null }, "value": "this", - "start": 10636, - "end": 10640, + "start": 9893, + "end": 9897, "loc": { "start": { - "line": 523, + "line": 509, "column": 12 }, "end": { - "line": 523, + "line": 509, "column": 16 } } @@ -104381,15 +103807,15 @@ "binop": null, "updateContext": null }, - "start": 10640, - "end": 10641, + "start": 9897, + "end": 9898, "loc": { "start": { - "line": 523, + "line": 509, "column": 16 }, "end": { - "line": 523, + "line": 509, "column": 17 } } @@ -104406,17 +103832,17 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 10641, - "end": 10646, + "value": "_limbs", + "start": 9898, + "end": 9904, "loc": { "start": { - "line": 523, + "line": 509, "column": 17 }, "end": { - "line": 523, - "column": 22 + "line": 509, + "column": 23 } } }, @@ -104433,15 +103859,15 @@ "binop": null, "updateContext": null }, - "start": 10647, - "end": 10648, + "start": 9904, + "end": 9905, "loc": { "start": { - "line": 523, + "line": 509, "column": 23 }, "end": { - "line": 523, + "line": 509, "column": 24 } } @@ -104461,15 +103887,15 @@ "updateContext": null }, "value": "const", - "start": 10651, - "end": 10656, + "start": 9908, + "end": 9913, "loc": { "start": { - "line": 524, + "line": 510, "column": 2 }, "end": { - "line": 524, + "line": 510, "column": 7 } } @@ -104487,15 +103913,15 @@ "binop": null }, "value": "b", - "start": 10657, - "end": 10658, + "start": 9914, + "end": 9915, "loc": { "start": { - "line": 524, + "line": 510, "column": 8 }, "end": { - "line": 524, + "line": 510, "column": 9 } } @@ -104514,15 +103940,15 @@ "updateContext": null }, "value": "=", - "start": 10659, - "end": 10660, + "start": 9916, + "end": 9917, "loc": { "start": { - "line": 524, + "line": 510, "column": 10 }, "end": { - "line": 524, + "line": 510, "column": 11 } } @@ -104540,15 +103966,15 @@ "binop": null }, "value": "other", - "start": 10661, - "end": 10666, + "start": 9918, + "end": 9923, "loc": { "start": { - "line": 524, + "line": 510, "column": 12 }, "end": { - "line": 524, + "line": 510, "column": 17 } } @@ -104566,15 +103992,15 @@ "binop": null, "updateContext": null }, - "start": 10666, - "end": 10667, + "start": 9923, + "end": 9924, "loc": { "start": { - "line": 524, + "line": 510, "column": 17 }, "end": { - "line": 524, + "line": 510, "column": 18 } } @@ -104592,15 +104018,15 @@ "binop": null }, "value": "_limbs_in_base", - "start": 10667, - "end": 10681, + "start": 9924, + "end": 9938, "loc": { "start": { - "line": 524, + "line": 510, "column": 18 }, "end": { - "line": 524, + "line": 510, "column": 32 } } @@ -104617,15 +104043,15 @@ "postfix": false, "binop": null }, - "start": 10681, - "end": 10682, + "start": 9938, + "end": 9939, "loc": { "start": { - "line": 524, + "line": 510, "column": 32 }, "end": { - "line": 524, + "line": 510, "column": 33 } } @@ -104643,16 +104069,16 @@ "binop": null }, "value": "r", - "start": 10683, - "end": 10684, + "start": 9939, + "end": 9940, "loc": { "start": { - "line": 524, - "column": 34 + "line": 510, + "column": 33 }, "end": { - "line": 524, - "column": 35 + "line": 510, + "column": 34 } } }, @@ -104668,16 +104094,16 @@ "postfix": false, "binop": null }, - "start": 10685, - "end": 10686, + "start": 9940, + "end": 9941, "loc": { "start": { - "line": 524, - "column": 36 + "line": 510, + "column": 34 }, "end": { - "line": 524, - "column": 37 + "line": 510, + "column": 35 } } }, @@ -104694,16 +104120,16 @@ "binop": null, "updateContext": null }, - "start": 10687, - "end": 10688, + "start": 9941, + "end": 9942, "loc": { "start": { - "line": 524, - "column": 38 + "line": 510, + "column": 35 }, "end": { - "line": 524, - "column": 39 + "line": 510, + "column": 36 } } }, @@ -104722,15 +104148,15 @@ "updateContext": null }, "value": "const", - "start": 10691, - "end": 10696, + "start": 9945, + "end": 9950, "loc": { "start": { - "line": 525, + "line": 511, "column": 2 }, "end": { - "line": 525, + "line": 511, "column": 7 } } @@ -104748,15 +104174,15 @@ "binop": null, "updateContext": null }, - "start": 10697, - "end": 10698, + "start": 9951, + "end": 9952, "loc": { "start": { - "line": 525, + "line": 511, "column": 8 }, "end": { - "line": 525, + "line": 511, "column": 9 } } @@ -104774,16 +104200,16 @@ "binop": null }, "value": "d", - "start": 10699, - "end": 10700, + "start": 9952, + "end": 9953, "loc": { "start": { - "line": 525, - "column": 10 + "line": 511, + "column": 9 }, "end": { - "line": 525, - "column": 11 + "line": 511, + "column": 10 } } }, @@ -104800,16 +104226,16 @@ "binop": null, "updateContext": null }, - "start": 10701, - "end": 10702, + "start": 9953, + "end": 9954, "loc": { "start": { - "line": 525, - "column": 12 + "line": 511, + "column": 10 }, "end": { - "line": 525, - "column": 13 + "line": 511, + "column": 11 } } }, @@ -104826,16 +104252,16 @@ "binop": null }, "value": "di", - "start": 10703, - "end": 10705, + "start": 9955, + "end": 9957, "loc": { "start": { - "line": 525, - "column": 14 + "line": 511, + "column": 12 }, "end": { - "line": 525, - "column": 16 + "line": 511, + "column": 14 } } }, @@ -104852,16 +104278,16 @@ "binop": null, "updateContext": null }, - "start": 10706, - "end": 10707, + "start": 9957, + "end": 9958, "loc": { "start": { - "line": 525, - "column": 17 + "line": 511, + "column": 14 }, "end": { - "line": 525, - "column": 18 + "line": 511, + "column": 15 } } }, @@ -104878,16 +104304,16 @@ "binop": null }, "value": "dj", - "start": 10708, - "end": 10710, + "start": 9959, + "end": 9961, "loc": { "start": { - "line": 525, - "column": 19 + "line": 511, + "column": 16 }, "end": { - "line": 525, - "column": 21 + "line": 511, + "column": 18 } } }, @@ -104904,16 +104330,16 @@ "binop": null, "updateContext": null }, - "start": 10711, - "end": 10712, + "start": 9961, + "end": 9962, "loc": { "start": { - "line": 525, - "column": 22 + "line": 511, + "column": 18 }, "end": { - "line": 525, - "column": 23 + "line": 511, + "column": 19 } } }, @@ -104931,16 +104357,16 @@ "updateContext": null }, "value": "=", - "start": 10713, - "end": 10714, + "start": 9963, + "end": 9964, "loc": { "start": { - "line": 525, - "column": 24 + "line": 511, + "column": 20 }, "end": { - "line": 525, - "column": 25 + "line": 511, + "column": 21 } } }, @@ -104957,16 +104383,16 @@ "binop": null }, "value": "euclidean_algorithm", - "start": 10715, - "end": 10734, + "start": 9965, + "end": 9984, "loc": { "start": { - "line": 525, - "column": 26 + "line": 511, + "column": 22 }, "end": { - "line": 525, - "column": 45 + "line": 511, + "column": 41 } } }, @@ -104982,16 +104408,16 @@ "postfix": false, "binop": null }, - "start": 10734, - "end": 10735, + "start": 9984, + "end": 9985, "loc": { "start": { - "line": 525, - "column": 45 + "line": 511, + "column": 41 }, "end": { - "line": 525, - "column": 46 + "line": 511, + "column": 42 } } }, @@ -105008,16 +104434,16 @@ "binop": null }, "value": "r", - "start": 10736, - "end": 10737, + "start": 9985, + "end": 9986, "loc": { "start": { - "line": 525, - "column": 47 + "line": 511, + "column": 42 }, "end": { - "line": 525, - "column": 48 + "line": 511, + "column": 43 } } }, @@ -105034,16 +104460,16 @@ "binop": null, "updateContext": null }, - "start": 10738, - "end": 10739, + "start": 9986, + "end": 9987, "loc": { "start": { - "line": 525, - "column": 49 + "line": 511, + "column": 43 }, "end": { - "line": 525, - "column": 50 + "line": 511, + "column": 44 } } }, @@ -105060,16 +104486,16 @@ "binop": null }, "value": "a", - "start": 10740, - "end": 10741, + "start": 9988, + "end": 9989, "loc": { "start": { - "line": 525, - "column": 51 + "line": 511, + "column": 45 }, "end": { - "line": 525, - "column": 52 + "line": 511, + "column": 46 } } }, @@ -105086,16 +104512,16 @@ "binop": null, "updateContext": null }, - "start": 10742, - "end": 10743, + "start": 9989, + "end": 9990, "loc": { "start": { - "line": 525, - "column": 53 + "line": 511, + "column": 46 }, "end": { - "line": 525, - "column": 54 + "line": 511, + "column": 47 } } }, @@ -105113,16 +104539,16 @@ "updateContext": null }, "value": 0, - "start": 10744, - "end": 10745, + "start": 9991, + "end": 9992, "loc": { "start": { - "line": 525, - "column": 55 + "line": 511, + "column": 48 }, "end": { - "line": 525, - "column": 56 + "line": 511, + "column": 49 } } }, @@ -105139,16 +104565,16 @@ "binop": null, "updateContext": null }, - "start": 10746, - "end": 10747, + "start": 9992, + "end": 9993, "loc": { "start": { - "line": 525, - "column": 57 + "line": 511, + "column": 49 }, "end": { - "line": 525, - "column": 58 + "line": 511, + "column": 50 } } }, @@ -105165,16 +104591,16 @@ "binop": null }, "value": "a", - "start": 10748, - "end": 10749, + "start": 9994, + "end": 9995, "loc": { "start": { - "line": 525, - "column": 59 + "line": 511, + "column": 51 }, "end": { - "line": 525, - "column": 60 + "line": 511, + "column": 52 } } }, @@ -105191,16 +104617,16 @@ "binop": null, "updateContext": null }, - "start": 10749, - "end": 10750, + "start": 9995, + "end": 9996, "loc": { "start": { - "line": 525, - "column": 60 + "line": 511, + "column": 52 }, "end": { - "line": 525, - "column": 61 + "line": 511, + "column": 53 } } }, @@ -105217,16 +104643,16 @@ "binop": null }, "value": "length", - "start": 10750, - "end": 10756, + "start": 9996, + "end": 10002, "loc": { "start": { - "line": 525, - "column": 61 + "line": 511, + "column": 53 }, "end": { - "line": 525, - "column": 67 + "line": 511, + "column": 59 } } }, @@ -105243,16 +104669,16 @@ "binop": null, "updateContext": null }, - "start": 10757, - "end": 10758, + "start": 10002, + "end": 10003, "loc": { "start": { - "line": 525, - "column": 68 + "line": 511, + "column": 59 }, "end": { - "line": 525, - "column": 69 + "line": 511, + "column": 60 } } }, @@ -105269,16 +104695,16 @@ "binop": null }, "value": "b", - "start": 10759, - "end": 10760, + "start": 10004, + "end": 10005, "loc": { "start": { - "line": 525, - "column": 70 + "line": 511, + "column": 61 }, "end": { - "line": 525, - "column": 71 + "line": 511, + "column": 62 } } }, @@ -105295,16 +104721,16 @@ "binop": null, "updateContext": null }, - "start": 10761, - "end": 10762, + "start": 10005, + "end": 10006, "loc": { "start": { - "line": 525, - "column": 72 + "line": 511, + "column": 62 }, "end": { - "line": 525, - "column": 73 + "line": 511, + "column": 63 } } }, @@ -105322,16 +104748,16 @@ "updateContext": null }, "value": 0, - "start": 10763, - "end": 10764, + "start": 10007, + "end": 10008, "loc": { "start": { - "line": 525, - "column": 74 + "line": 511, + "column": 64 }, "end": { - "line": 525, - "column": 75 + "line": 511, + "column": 65 } } }, @@ -105348,16 +104774,16 @@ "binop": null, "updateContext": null }, - "start": 10765, - "end": 10766, + "start": 10008, + "end": 10009, "loc": { "start": { - "line": 525, - "column": 76 + "line": 511, + "column": 65 }, "end": { - "line": 525, - "column": 77 + "line": 511, + "column": 66 } } }, @@ -105374,16 +104800,16 @@ "binop": null }, "value": "b", - "start": 10767, - "end": 10768, + "start": 10010, + "end": 10011, "loc": { "start": { - "line": 525, - "column": 78 + "line": 511, + "column": 67 }, "end": { - "line": 525, - "column": 79 + "line": 511, + "column": 68 } } }, @@ -105400,16 +104826,16 @@ "binop": null, "updateContext": null }, - "start": 10768, - "end": 10769, + "start": 10011, + "end": 10012, "loc": { "start": { - "line": 525, - "column": 79 + "line": 511, + "column": 68 }, "end": { - "line": 525, - "column": 80 + "line": 511, + "column": 69 } } }, @@ -105426,16 +104852,16 @@ "binop": null }, "value": "length", - "start": 10769, - "end": 10775, + "start": 10012, + "end": 10018, "loc": { "start": { - "line": 525, - "column": 80 + "line": 511, + "column": 69 }, "end": { - "line": 525, - "column": 86 + "line": 511, + "column": 75 } } }, @@ -105451,16 +104877,16 @@ "postfix": false, "binop": null }, - "start": 10776, - "end": 10777, + "start": 10018, + "end": 10019, "loc": { "start": { - "line": 525, - "column": 87 + "line": 511, + "column": 75 }, "end": { - "line": 525, - "column": 88 + "line": 511, + "column": 76 } } }, @@ -105477,16 +104903,16 @@ "binop": null, "updateContext": null }, - "start": 10778, - "end": 10779, + "start": 10019, + "end": 10020, "loc": { "start": { - "line": 525, - "column": 89 + "line": 511, + "column": 76 }, "end": { - "line": 525, - "column": 90 + "line": 511, + "column": 77 } } }, @@ -105505,15 +104931,15 @@ "updateContext": null }, "value": "const", - "start": 10782, - "end": 10787, + "start": 10023, + "end": 10028, "loc": { "start": { - "line": 526, + "line": 512, "column": 2 }, "end": { - "line": 526, + "line": 512, "column": 7 } } @@ -105531,15 +104957,15 @@ "binop": null }, "value": "gcd", - "start": 10788, - "end": 10791, + "start": 10029, + "end": 10032, "loc": { "start": { - "line": 526, + "line": 512, "column": 8 }, "end": { - "line": 526, + "line": 512, "column": 11 } } @@ -105558,15 +104984,15 @@ "updateContext": null }, "value": "=", - "start": 10792, - "end": 10793, + "start": 10033, + "end": 10034, "loc": { "start": { - "line": 526, + "line": 512, "column": 12 }, "end": { - "line": 526, + "line": 512, "column": 13 } } @@ -105584,15 +105010,15 @@ "binop": null }, "value": "_alloc", - "start": 10794, - "end": 10800, + "start": 10035, + "end": 10041, "loc": { "start": { - "line": 526, + "line": 512, "column": 14 }, "end": { - "line": 526, + "line": 512, "column": 20 } } @@ -105609,15 +105035,15 @@ "postfix": false, "binop": null }, - "start": 10800, - "end": 10801, + "start": 10041, + "end": 10042, "loc": { "start": { - "line": 526, + "line": 512, "column": 20 }, "end": { - "line": 526, + "line": 512, "column": 21 } } @@ -105635,16 +105061,16 @@ "binop": null }, "value": "dj", - "start": 10802, - "end": 10804, + "start": 10042, + "end": 10044, "loc": { "start": { - "line": 526, - "column": 22 + "line": 512, + "column": 21 }, "end": { - "line": 526, - "column": 24 + "line": 512, + "column": 23 } } }, @@ -105662,16 +105088,16 @@ "updateContext": null }, "value": "-", - "start": 10805, - "end": 10806, + "start": 10045, + "end": 10046, "loc": { "start": { - "line": 526, - "column": 25 + "line": 512, + "column": 24 }, "end": { - "line": 526, - "column": 26 + "line": 512, + "column": 25 } } }, @@ -105688,16 +105114,16 @@ "binop": null }, "value": "di", - "start": 10807, - "end": 10809, + "start": 10047, + "end": 10049, "loc": { "start": { - "line": 526, - "column": 27 + "line": 512, + "column": 26 }, "end": { - "line": 526, - "column": 29 + "line": 512, + "column": 28 } } }, @@ -105713,16 +105139,16 @@ "postfix": false, "binop": null }, - "start": 10810, - "end": 10811, + "start": 10049, + "end": 10050, "loc": { "start": { - "line": 526, - "column": 30 + "line": 512, + "column": 28 }, "end": { - "line": 526, - "column": 31 + "line": 512, + "column": 29 } } }, @@ -105739,16 +105165,16 @@ "binop": null, "updateContext": null }, - "start": 10812, - "end": 10813, + "start": 10050, + "end": 10051, "loc": { "start": { - "line": 526, - "column": 32 + "line": 512, + "column": 29 }, "end": { - "line": 526, - "column": 33 + "line": 512, + "column": 30 } } }, @@ -105765,15 +105191,15 @@ "binop": null }, "value": "_copy", - "start": 10816, - "end": 10821, + "start": 10054, + "end": 10059, "loc": { "start": { - "line": 527, + "line": 513, "column": 2 }, "end": { - "line": 527, + "line": 513, "column": 7 } } @@ -105790,15 +105216,15 @@ "postfix": false, "binop": null }, - "start": 10821, - "end": 10822, + "start": 10059, + "end": 10060, "loc": { "start": { - "line": 527, + "line": 513, "column": 7 }, "end": { - "line": 527, + "line": 513, "column": 8 } } @@ -105816,16 +105242,16 @@ "binop": null }, "value": "d", - "start": 10823, - "end": 10824, + "start": 10060, + "end": 10061, "loc": { "start": { - "line": 527, - "column": 9 + "line": 513, + "column": 8 }, "end": { - "line": 527, - "column": 10 + "line": 513, + "column": 9 } } }, @@ -105842,16 +105268,16 @@ "binop": null, "updateContext": null }, - "start": 10825, - "end": 10826, + "start": 10061, + "end": 10062, "loc": { "start": { - "line": 527, - "column": 11 + "line": 513, + "column": 9 }, "end": { - "line": 527, - "column": 12 + "line": 513, + "column": 10 } } }, @@ -105868,16 +105294,16 @@ "binop": null }, "value": "di", - "start": 10827, - "end": 10829, + "start": 10063, + "end": 10065, "loc": { "start": { - "line": 527, - "column": 13 + "line": 513, + "column": 11 }, "end": { - "line": 527, - "column": 15 + "line": 513, + "column": 13 } } }, @@ -105894,16 +105320,16 @@ "binop": null, "updateContext": null }, - "start": 10830, - "end": 10831, + "start": 10065, + "end": 10066, "loc": { "start": { - "line": 527, - "column": 16 + "line": 513, + "column": 13 }, "end": { - "line": 527, - "column": 17 + "line": 513, + "column": 14 } } }, @@ -105920,16 +105346,16 @@ "binop": null }, "value": "dj", - "start": 10832, - "end": 10834, + "start": 10067, + "end": 10069, "loc": { "start": { - "line": 527, - "column": 18 + "line": 513, + "column": 15 }, "end": { - "line": 527, - "column": 20 + "line": 513, + "column": 17 } } }, @@ -105946,16 +105372,16 @@ "binop": null, "updateContext": null }, - "start": 10835, - "end": 10836, + "start": 10069, + "end": 10070, "loc": { "start": { - "line": 527, - "column": 21 + "line": 513, + "column": 17 }, "end": { - "line": 527, - "column": 22 + "line": 513, + "column": 18 } } }, @@ -105972,16 +105398,16 @@ "binop": null }, "value": "gcd", - "start": 10837, - "end": 10840, + "start": 10071, + "end": 10074, "loc": { "start": { - "line": 527, - "column": 23 + "line": 513, + "column": 19 }, "end": { - "line": 527, - "column": 26 + "line": 513, + "column": 22 } } }, @@ -105998,16 +105424,16 @@ "binop": null, "updateContext": null }, - "start": 10841, - "end": 10842, + "start": 10074, + "end": 10075, "loc": { "start": { - "line": 527, - "column": 27 + "line": 513, + "column": 22 }, "end": { - "line": 527, - "column": 28 + "line": 513, + "column": 23 } } }, @@ -106025,16 +105451,16 @@ "updateContext": null }, "value": 0, - "start": 10843, - "end": 10844, + "start": 10076, + "end": 10077, "loc": { "start": { - "line": 527, - "column": 29 + "line": 513, + "column": 24 }, "end": { - "line": 527, - "column": 30 + "line": 513, + "column": 25 } } }, @@ -106050,16 +105476,16 @@ "postfix": false, "binop": null }, - "start": 10845, - "end": 10846, + "start": 10077, + "end": 10078, "loc": { "start": { - "line": 527, - "column": 31 + "line": 513, + "column": 25 }, "end": { - "line": 527, - "column": 32 + "line": 513, + "column": 26 } } }, @@ -106076,16 +105502,16 @@ "binop": null, "updateContext": null }, - "start": 10847, - "end": 10848, + "start": 10078, + "end": 10079, "loc": { "start": { - "line": 527, - "column": 33 + "line": 513, + "column": 26 }, "end": { - "line": 527, - "column": 34 + "line": 513, + "column": 27 } } }, @@ -106104,15 +105530,15 @@ "updateContext": null }, "value": "return", - "start": 10851, - "end": 10857, + "start": 10082, + "end": 10088, "loc": { "start": { - "line": 528, + "line": 514, "column": 2 }, "end": { - "line": 528, + "line": 514, "column": 8 } } @@ -106132,15 +105558,15 @@ "updateContext": null }, "value": "new", - "start": 10858, - "end": 10861, + "start": 10089, + "end": 10092, "loc": { "start": { - "line": 528, + "line": 514, "column": 9 }, "end": { - "line": 528, + "line": 514, "column": 12 } } @@ -106158,15 +105584,15 @@ "binop": null }, "value": "Integer", - "start": 10862, - "end": 10869, + "start": 10093, + "end": 10100, "loc": { "start": { - "line": 528, + "line": 514, "column": 13 }, "end": { - "line": 528, + "line": 514, "column": 20 } } @@ -106183,15 +105609,15 @@ "postfix": false, "binop": null }, - "start": 10869, - "end": 10870, + "start": 10100, + "end": 10101, "loc": { "start": { - "line": 528, + "line": 514, "column": 20 }, "end": { - "line": 528, + "line": 514, "column": 21 } } @@ -106209,16 +105635,16 @@ "binop": null }, "value": "r", - "start": 10871, - "end": 10872, + "start": 10101, + "end": 10102, "loc": { "start": { - "line": 528, - "column": 22 + "line": 514, + "column": 21 }, "end": { - "line": 528, - "column": 23 + "line": 514, + "column": 22 } } }, @@ -106235,16 +105661,16 @@ "binop": null, "updateContext": null }, - "start": 10873, - "end": 10874, + "start": 10102, + "end": 10103, "loc": { "start": { - "line": 528, - "column": 24 + "line": 514, + "column": 22 }, "end": { - "line": 528, - "column": 25 + "line": 514, + "column": 23 } } }, @@ -106262,16 +105688,16 @@ "updateContext": null }, "value": 0, - "start": 10875, - "end": 10876, + "start": 10104, + "end": 10105, "loc": { "start": { - "line": 528, - "column": 26 + "line": 514, + "column": 24 }, "end": { - "line": 528, - "column": 27 + "line": 514, + "column": 25 } } }, @@ -106288,16 +105714,16 @@ "binop": null, "updateContext": null }, - "start": 10877, - "end": 10878, + "start": 10105, + "end": 10106, "loc": { "start": { - "line": 528, - "column": 28 + "line": 514, + "column": 25 }, "end": { - "line": 528, - "column": 29 + "line": 514, + "column": 26 } } }, @@ -106314,16 +105740,16 @@ "binop": null }, "value": "gcd", - "start": 10879, - "end": 10882, + "start": 10107, + "end": 10110, "loc": { "start": { - "line": 528, - "column": 30 + "line": 514, + "column": 27 }, "end": { - "line": 528, - "column": 33 + "line": 514, + "column": 30 } } }, @@ -106339,16 +105765,16 @@ "postfix": false, "binop": null }, - "start": 10883, - "end": 10884, + "start": 10110, + "end": 10111, "loc": { "start": { - "line": 528, - "column": 34 + "line": 514, + "column": 30 }, "end": { - "line": 528, - "column": 35 + "line": 514, + "column": 31 } } }, @@ -106365,16 +105791,16 @@ "binop": null, "updateContext": null }, - "start": 10885, - "end": 10886, + "start": 10111, + "end": 10112, "loc": { "start": { - "line": 528, - "column": 36 + "line": 514, + "column": 31 }, "end": { - "line": 528, - "column": 37 + "line": 514, + "column": 32 } } }, @@ -106390,15 +105816,15 @@ "postfix": false, "binop": null }, - "start": 10888, - "end": 10889, + "start": 10114, + "end": 10115, "loc": { "start": { - "line": 529, + "line": 515, "column": 1 }, "end": { - "line": 529, + "line": 515, "column": 2 } } @@ -106416,15 +105842,15 @@ "binop": null }, "value": "egcd", - "start": 10892, - "end": 10896, + "start": 10118, + "end": 10122, "loc": { "start": { - "line": 531, + "line": 517, "column": 1 }, "end": { - "line": 531, + "line": 517, "column": 5 } } @@ -106441,16 +105867,16 @@ "postfix": false, "binop": null }, - "start": 10897, - "end": 10898, + "start": 10122, + "end": 10123, "loc": { "start": { - "line": 531, - "column": 6 + "line": 517, + "column": 5 }, "end": { - "line": 531, - "column": 7 + "line": 517, + "column": 6 } } }, @@ -106467,16 +105893,16 @@ "binop": null }, "value": "other", - "start": 10899, - "end": 10904, + "start": 10123, + "end": 10128, "loc": { "start": { - "line": 531, - "column": 8 + "line": 517, + "column": 6 }, "end": { - "line": 531, - "column": 13 + "line": 517, + "column": 11 } } }, @@ -106492,16 +105918,16 @@ "postfix": false, "binop": null }, - "start": 10905, - "end": 10906, + "start": 10128, + "end": 10129, "loc": { "start": { - "line": 531, - "column": 14 + "line": 517, + "column": 11 }, "end": { - "line": 531, - "column": 15 + "line": 517, + "column": 12 } } }, @@ -106517,16 +105943,16 @@ "postfix": false, "binop": null }, - "start": 10907, - "end": 10908, + "start": 10130, + "end": 10131, "loc": { "start": { - "line": 531, - "column": 16 + "line": 517, + "column": 13 }, "end": { - "line": 531, - "column": 17 + "line": 517, + "column": 14 } } }, @@ -106545,15 +105971,15 @@ "updateContext": null }, "value": "const", - "start": 10911, - "end": 10916, + "start": 10134, + "end": 10139, "loc": { "start": { - "line": 532, + "line": 518, "column": 2 }, "end": { - "line": 532, + "line": 518, "column": 7 } } @@ -106571,15 +105997,15 @@ "binop": null }, "value": "r", - "start": 10917, - "end": 10918, + "start": 10140, + "end": 10141, "loc": { "start": { - "line": 532, + "line": 518, "column": 8 }, "end": { - "line": 532, + "line": 518, "column": 9 } } @@ -106598,15 +106024,15 @@ "updateContext": null }, "value": "=", - "start": 10919, - "end": 10920, + "start": 10142, + "end": 10143, "loc": { "start": { - "line": 532, + "line": 518, "column": 10 }, "end": { - "line": 532, + "line": 518, "column": 11 } } @@ -106626,15 +106052,15 @@ "updateContext": null }, "value": "this", - "start": 10921, - "end": 10925, + "start": 10144, + "end": 10148, "loc": { "start": { - "line": 532, + "line": 518, "column": 12 }, "end": { - "line": 532, + "line": 518, "column": 16 } } @@ -106652,15 +106078,15 @@ "binop": null, "updateContext": null }, - "start": 10925, - "end": 10926, + "start": 10148, + "end": 10149, "loc": { "start": { - "line": 532, + "line": 518, "column": 16 }, "end": { - "line": 532, + "line": 518, "column": 17 } } @@ -106677,17 +106103,17 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 10926, - "end": 10930, + "value": "_base", + "start": 10149, + "end": 10154, "loc": { "start": { - "line": 532, + "line": 518, "column": 17 }, "end": { - "line": 532, - "column": 21 + "line": 518, + "column": 22 } } }, @@ -106704,15 +106130,15 @@ "binop": null, "updateContext": null }, - "start": 10931, - "end": 10932, + "start": 10154, + "end": 10155, "loc": { "start": { - "line": 532, + "line": 518, "column": 22 }, "end": { - "line": 532, + "line": 518, "column": 23 } } @@ -106732,15 +106158,15 @@ "updateContext": null }, "value": "const", - "start": 10935, - "end": 10940, + "start": 10158, + "end": 10163, "loc": { "start": { - "line": 533, + "line": 519, "column": 2 }, "end": { - "line": 533, + "line": 519, "column": 7 } } @@ -106758,15 +106184,15 @@ "binop": null }, "value": "a", - "start": 10941, - "end": 10942, + "start": 10164, + "end": 10165, "loc": { "start": { - "line": 533, + "line": 519, "column": 8 }, "end": { - "line": 533, + "line": 519, "column": 9 } } @@ -106785,15 +106211,15 @@ "updateContext": null }, "value": "=", - "start": 10943, - "end": 10944, + "start": 10166, + "end": 10167, "loc": { "start": { - "line": 533, + "line": 519, "column": 10 }, "end": { - "line": 533, + "line": 519, "column": 11 } } @@ -106813,15 +106239,15 @@ "updateContext": null }, "value": "this", - "start": 10945, - "end": 10949, + "start": 10168, + "end": 10172, "loc": { "start": { - "line": 533, + "line": 519, "column": 12 }, "end": { - "line": 533, + "line": 519, "column": 16 } } @@ -106839,15 +106265,15 @@ "binop": null, "updateContext": null }, - "start": 10949, - "end": 10950, + "start": 10172, + "end": 10173, "loc": { "start": { - "line": 533, + "line": 519, "column": 16 }, "end": { - "line": 533, + "line": 519, "column": 17 } } @@ -106864,17 +106290,17 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 10950, - "end": 10955, + "value": "_limbs", + "start": 10173, + "end": 10179, "loc": { "start": { - "line": 533, + "line": 519, "column": 17 }, "end": { - "line": 533, - "column": 22 + "line": 519, + "column": 23 } } }, @@ -106891,15 +106317,15 @@ "binop": null, "updateContext": null }, - "start": 10956, - "end": 10957, + "start": 10179, + "end": 10180, "loc": { "start": { - "line": 533, + "line": 519, "column": 23 }, "end": { - "line": 533, + "line": 519, "column": 24 } } @@ -106919,15 +106345,15 @@ "updateContext": null }, "value": "const", - "start": 10960, - "end": 10965, + "start": 10183, + "end": 10188, "loc": { "start": { - "line": 534, + "line": 520, "column": 2 }, "end": { - "line": 534, + "line": 520, "column": 7 } } @@ -106945,15 +106371,15 @@ "binop": null }, "value": "b", - "start": 10966, - "end": 10967, + "start": 10189, + "end": 10190, "loc": { "start": { - "line": 534, + "line": 520, "column": 8 }, "end": { - "line": 534, + "line": 520, "column": 9 } } @@ -106972,15 +106398,15 @@ "updateContext": null }, "value": "=", - "start": 10968, - "end": 10969, + "start": 10191, + "end": 10192, "loc": { "start": { - "line": 534, + "line": 520, "column": 10 }, "end": { - "line": 534, + "line": 520, "column": 11 } } @@ -106998,15 +106424,15 @@ "binop": null }, "value": "other", - "start": 10970, - "end": 10975, + "start": 10193, + "end": 10198, "loc": { "start": { - "line": 534, + "line": 520, "column": 12 }, "end": { - "line": 534, + "line": 520, "column": 17 } } @@ -107024,15 +106450,15 @@ "binop": null, "updateContext": null }, - "start": 10975, - "end": 10976, + "start": 10198, + "end": 10199, "loc": { "start": { - "line": 534, + "line": 520, "column": 17 }, "end": { - "line": 534, + "line": 520, "column": 18 } } @@ -107050,15 +106476,15 @@ "binop": null }, "value": "_limbs_in_base", - "start": 10976, - "end": 10990, + "start": 10199, + "end": 10213, "loc": { "start": { - "line": 534, + "line": 520, "column": 18 }, "end": { - "line": 534, + "line": 520, "column": 32 } } @@ -107075,15 +106501,15 @@ "postfix": false, "binop": null }, - "start": 10990, - "end": 10991, + "start": 10213, + "end": 10214, "loc": { "start": { - "line": 534, + "line": 520, "column": 32 }, "end": { - "line": 534, + "line": 520, "column": 33 } } @@ -107101,16 +106527,16 @@ "binop": null }, "value": "r", - "start": 10992, - "end": 10993, + "start": 10214, + "end": 10215, "loc": { "start": { - "line": 534, - "column": 34 + "line": 520, + "column": 33 }, "end": { - "line": 534, - "column": 35 + "line": 520, + "column": 34 } } }, @@ -107126,16 +106552,16 @@ "postfix": false, "binop": null }, - "start": 10994, - "end": 10995, + "start": 10215, + "end": 10216, "loc": { "start": { - "line": 534, - "column": 36 + "line": 520, + "column": 34 }, "end": { - "line": 534, - "column": 37 + "line": 520, + "column": 35 } } }, @@ -107152,16 +106578,16 @@ "binop": null, "updateContext": null }, - "start": 10996, - "end": 10997, + "start": 10216, + "end": 10217, "loc": { "start": { - "line": 534, - "column": 38 + "line": 520, + "column": 35 }, "end": { - "line": 534, - "column": 39 + "line": 520, + "column": 36 } } }, @@ -107180,15 +106606,15 @@ "updateContext": null }, "value": "const", - "start": 11000, - "end": 11005, + "start": 10220, + "end": 10225, "loc": { "start": { - "line": 535, + "line": 521, "column": 2 }, "end": { - "line": 535, + "line": 521, "column": 7 } } @@ -107206,15 +106632,15 @@ "binop": null, "updateContext": null }, - "start": 11006, - "end": 11007, + "start": 10226, + "end": 10227, "loc": { "start": { - "line": 535, + "line": 521, "column": 8 }, "end": { - "line": 535, + "line": 521, "column": 9 } } @@ -107232,16 +106658,16 @@ "binop": null }, "value": "R0", - "start": 11008, - "end": 11010, + "start": 10231, + "end": 10233, "loc": { "start": { - "line": 535, - "column": 10 + "line": 522, + "column": 3 }, "end": { - "line": 535, - "column": 12 + "line": 522, + "column": 5 } } }, @@ -107258,16 +106684,16 @@ "binop": null, "updateContext": null }, - "start": 11011, - "end": 11012, + "start": 10233, + "end": 10234, "loc": { "start": { - "line": 535, - "column": 13 + "line": 522, + "column": 5 }, "end": { - "line": 535, - "column": 14 + "line": 522, + "column": 6 } } }, @@ -107284,16 +106710,16 @@ "binop": null }, "value": "R0i", - "start": 11013, - "end": 11016, + "start": 10238, + "end": 10241, "loc": { "start": { - "line": 535, - "column": 15 + "line": 523, + "column": 3 }, "end": { - "line": 535, - "column": 18 + "line": 523, + "column": 6 } } }, @@ -107310,16 +106736,16 @@ "binop": null, "updateContext": null }, - "start": 11017, - "end": 11018, + "start": 10241, + "end": 10242, "loc": { "start": { - "line": 535, - "column": 19 + "line": 523, + "column": 6 }, "end": { - "line": 535, - "column": 20 + "line": 523, + "column": 7 } } }, @@ -107336,16 +106762,16 @@ "binop": null }, "value": "S0", - "start": 11019, - "end": 11021, + "start": 10246, + "end": 10248, "loc": { "start": { - "line": 535, - "column": 21 + "line": 524, + "column": 3 }, "end": { - "line": 535, - "column": 23 + "line": 524, + "column": 5 } } }, @@ -107362,16 +106788,16 @@ "binop": null, "updateContext": null }, - "start": 11022, - "end": 11023, + "start": 10248, + "end": 10249, "loc": { "start": { - "line": 535, - "column": 24 + "line": 524, + "column": 5 }, "end": { - "line": 535, - "column": 25 + "line": 524, + "column": 6 } } }, @@ -107388,16 +106814,16 @@ "binop": null }, "value": "S0i", - "start": 11024, - "end": 11027, + "start": 10253, + "end": 10256, "loc": { "start": { - "line": 535, - "column": 26 + "line": 525, + "column": 3 }, "end": { - "line": 535, - "column": 29 + "line": 525, + "column": 6 } } }, @@ -107414,16 +106840,16 @@ "binop": null, "updateContext": null }, - "start": 11028, - "end": 11029, + "start": 10256, + "end": 10257, "loc": { "start": { - "line": 535, - "column": 30 + "line": 525, + "column": 6 }, "end": { - "line": 535, - "column": 31 + "line": 525, + "column": 7 } } }, @@ -107440,16 +106866,16 @@ "binop": null }, "value": "T0", - "start": 11030, - "end": 11032, + "start": 10261, + "end": 10263, "loc": { "start": { - "line": 535, - "column": 32 + "line": 526, + "column": 3 }, "end": { - "line": 535, - "column": 34 + "line": 526, + "column": 5 } } }, @@ -107466,16 +106892,16 @@ "binop": null, "updateContext": null }, - "start": 11033, - "end": 11034, + "start": 10263, + "end": 10264, "loc": { "start": { - "line": 535, - "column": 35 + "line": 526, + "column": 5 }, "end": { - "line": 535, - "column": 36 + "line": 526, + "column": 6 } } }, @@ -107492,16 +106918,16 @@ "binop": null }, "value": "T0i", - "start": 11035, - "end": 11038, + "start": 10268, + "end": 10271, "loc": { "start": { - "line": 535, - "column": 37 + "line": 527, + "column": 3 }, "end": { - "line": 535, - "column": 40 + "line": 527, + "column": 6 } } }, @@ -107518,16 +106944,16 @@ "binop": null, "updateContext": null }, - "start": 11039, - "end": 11040, + "start": 10271, + "end": 10272, "loc": { "start": { - "line": 535, - "column": 41 + "line": 527, + "column": 6 }, "end": { - "line": 535, - "column": 42 + "line": 527, + "column": 7 } } }, @@ -107544,16 +106970,16 @@ "binop": null }, "value": "S1", - "start": 11041, - "end": 11043, + "start": 10276, + "end": 10278, "loc": { "start": { - "line": 535, - "column": 43 + "line": 528, + "column": 3 }, "end": { - "line": 535, - "column": 45 + "line": 528, + "column": 5 } } }, @@ -107570,16 +106996,16 @@ "binop": null, "updateContext": null }, - "start": 11044, - "end": 11045, + "start": 10278, + "end": 10279, "loc": { "start": { - "line": 535, - "column": 46 + "line": 528, + "column": 5 }, "end": { - "line": 535, - "column": 47 + "line": 528, + "column": 6 } } }, @@ -107596,16 +107022,16 @@ "binop": null }, "value": "S1i", - "start": 11046, - "end": 11049, + "start": 10283, + "end": 10286, "loc": { "start": { - "line": 535, - "column": 48 + "line": 529, + "column": 3 }, "end": { - "line": 535, - "column": 51 + "line": 529, + "column": 6 } } }, @@ -107622,16 +107048,16 @@ "binop": null, "updateContext": null }, - "start": 11050, - "end": 11051, + "start": 10286, + "end": 10287, "loc": { "start": { - "line": 535, - "column": 52 + "line": 529, + "column": 6 }, "end": { - "line": 535, - "column": 53 + "line": 529, + "column": 7 } } }, @@ -107648,16 +107074,16 @@ "binop": null }, "value": "T1", - "start": 11052, - "end": 11054, + "start": 10291, + "end": 10293, "loc": { "start": { - "line": 535, - "column": 54 + "line": 530, + "column": 3 }, "end": { - "line": 535, - "column": 56 + "line": 530, + "column": 5 } } }, @@ -107674,16 +107100,16 @@ "binop": null, "updateContext": null }, - "start": 11055, - "end": 11056, + "start": 10293, + "end": 10294, "loc": { "start": { - "line": 535, - "column": 57 + "line": 530, + "column": 5 }, "end": { - "line": 535, - "column": 58 + "line": 530, + "column": 6 } } }, @@ -107700,16 +107126,16 @@ "binop": null }, "value": "T1i", - "start": 11057, - "end": 11060, + "start": 10298, + "end": 10301, "loc": { "start": { - "line": 535, - "column": 59 + "line": 531, + "column": 3 }, "end": { - "line": 535, - "column": 62 + "line": 531, + "column": 6 } } }, @@ -107726,16 +107152,16 @@ "binop": null, "updateContext": null }, - "start": 11061, - "end": 11062, + "start": 10301, + "end": 10302, "loc": { "start": { - "line": 535, - "column": 63 + "line": 531, + "column": 6 }, "end": { - "line": 535, - "column": 64 + "line": 531, + "column": 7 } } }, @@ -107752,16 +107178,42 @@ "binop": null }, "value": "steps", - "start": 11063, - "end": 11068, + "start": 10306, + "end": 10311, "loc": { "start": { - "line": 535, - "column": 65 + "line": 532, + "column": 3 }, "end": { - "line": 535, - "column": 70 + "line": 532, + "column": 8 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10311, + "end": 10312, + "loc": { + "start": { + "line": 532, + "column": 8 + }, + "end": { + "line": 532, + "column": 9 } } }, @@ -107778,16 +107230,16 @@ "binop": null, "updateContext": null }, - "start": 11069, - "end": 11070, + "start": 10315, + "end": 10316, "loc": { "start": { - "line": 535, - "column": 71 + "line": 533, + "column": 2 }, "end": { - "line": 535, - "column": 72 + "line": 533, + "column": 3 } } }, @@ -107805,16 +107257,16 @@ "updateContext": null }, "value": "=", - "start": 11071, - "end": 11072, + "start": 10317, + "end": 10318, "loc": { "start": { - "line": 535, - "column": 73 + "line": 533, + "column": 4 }, "end": { - "line": 535, - "column": 74 + "line": 533, + "column": 5 } } }, @@ -107831,16 +107283,16 @@ "binop": null }, "value": "extended_euclidean_algorithm", - "start": 11073, - "end": 11101, + "start": 10319, + "end": 10347, "loc": { "start": { - "line": 535, - "column": 75 + "line": 533, + "column": 6 }, "end": { - "line": 535, - "column": 103 + "line": 533, + "column": 34 } } }, @@ -107856,16 +107308,16 @@ "postfix": false, "binop": null }, - "start": 11101, - "end": 11102, + "start": 10347, + "end": 10348, "loc": { "start": { - "line": 535, - "column": 103 + "line": 533, + "column": 34 }, "end": { - "line": 535, - "column": 104 + "line": 533, + "column": 35 } } }, @@ -107882,16 +107334,16 @@ "binop": null }, "value": "r", - "start": 11103, - "end": 11104, + "start": 10348, + "end": 10349, "loc": { "start": { - "line": 535, - "column": 105 + "line": 533, + "column": 35 }, "end": { - "line": 535, - "column": 106 + "line": 533, + "column": 36 } } }, @@ -107908,16 +107360,16 @@ "binop": null, "updateContext": null }, - "start": 11105, - "end": 11106, + "start": 10349, + "end": 10350, "loc": { "start": { - "line": 535, - "column": 107 + "line": 533, + "column": 36 }, "end": { - "line": 535, - "column": 108 + "line": 533, + "column": 37 } } }, @@ -107934,16 +107386,16 @@ "binop": null }, "value": "a", - "start": 11107, - "end": 11108, + "start": 10351, + "end": 10352, "loc": { "start": { - "line": 535, - "column": 109 + "line": 533, + "column": 38 }, "end": { - "line": 535, - "column": 110 + "line": 533, + "column": 39 } } }, @@ -107960,16 +107412,16 @@ "binop": null, "updateContext": null }, - "start": 11109, - "end": 11110, + "start": 10352, + "end": 10353, "loc": { "start": { - "line": 535, - "column": 111 + "line": 533, + "column": 39 }, "end": { - "line": 535, - "column": 112 + "line": 533, + "column": 40 } } }, @@ -107987,16 +107439,16 @@ "updateContext": null }, "value": 0, - "start": 11111, - "end": 11112, + "start": 10354, + "end": 10355, "loc": { "start": { - "line": 535, - "column": 113 + "line": 533, + "column": 41 }, "end": { - "line": 535, - "column": 114 + "line": 533, + "column": 42 } } }, @@ -108013,16 +107465,16 @@ "binop": null, "updateContext": null }, - "start": 11113, - "end": 11114, + "start": 10355, + "end": 10356, "loc": { "start": { - "line": 535, - "column": 115 + "line": 533, + "column": 42 }, "end": { - "line": 535, - "column": 116 + "line": 533, + "column": 43 } } }, @@ -108039,16 +107491,16 @@ "binop": null }, "value": "a", - "start": 11115, - "end": 11116, + "start": 10357, + "end": 10358, "loc": { "start": { - "line": 535, - "column": 117 + "line": 533, + "column": 44 }, "end": { - "line": 535, - "column": 118 + "line": 533, + "column": 45 } } }, @@ -108065,16 +107517,16 @@ "binop": null, "updateContext": null }, - "start": 11116, - "end": 11117, + "start": 10358, + "end": 10359, "loc": { "start": { - "line": 535, - "column": 118 + "line": 533, + "column": 45 }, "end": { - "line": 535, - "column": 119 + "line": 533, + "column": 46 } } }, @@ -108091,16 +107543,16 @@ "binop": null }, "value": "length", - "start": 11117, - "end": 11123, + "start": 10359, + "end": 10365, "loc": { "start": { - "line": 535, - "column": 119 + "line": 533, + "column": 46 }, "end": { - "line": 535, - "column": 125 + "line": 533, + "column": 52 } } }, @@ -108117,16 +107569,16 @@ "binop": null, "updateContext": null }, - "start": 11124, - "end": 11125, + "start": 10365, + "end": 10366, "loc": { "start": { - "line": 535, - "column": 126 + "line": 533, + "column": 52 }, "end": { - "line": 535, - "column": 127 + "line": 533, + "column": 53 } } }, @@ -108143,16 +107595,16 @@ "binop": null }, "value": "b", - "start": 11126, - "end": 11127, + "start": 10367, + "end": 10368, "loc": { "start": { - "line": 535, - "column": 128 + "line": 533, + "column": 54 }, "end": { - "line": 535, - "column": 129 + "line": 533, + "column": 55 } } }, @@ -108169,16 +107621,16 @@ "binop": null, "updateContext": null }, - "start": 11128, - "end": 11129, + "start": 10368, + "end": 10369, "loc": { "start": { - "line": 535, - "column": 130 + "line": 533, + "column": 55 }, "end": { - "line": 535, - "column": 131 + "line": 533, + "column": 56 } } }, @@ -108196,16 +107648,16 @@ "updateContext": null }, "value": 0, - "start": 11130, - "end": 11131, + "start": 10370, + "end": 10371, "loc": { "start": { - "line": 535, - "column": 132 + "line": 533, + "column": 57 }, "end": { - "line": 535, - "column": 133 + "line": 533, + "column": 58 } } }, @@ -108222,16 +107674,16 @@ "binop": null, "updateContext": null }, - "start": 11132, - "end": 11133, + "start": 10371, + "end": 10372, "loc": { "start": { - "line": 535, - "column": 134 + "line": 533, + "column": 58 }, "end": { - "line": 535, - "column": 135 + "line": 533, + "column": 59 } } }, @@ -108248,16 +107700,16 @@ "binop": null }, "value": "b", - "start": 11134, - "end": 11135, + "start": 10373, + "end": 10374, "loc": { "start": { - "line": 535, - "column": 136 + "line": 533, + "column": 60 }, "end": { - "line": 535, - "column": 137 + "line": 533, + "column": 61 } } }, @@ -108274,16 +107726,16 @@ "binop": null, "updateContext": null }, - "start": 11135, - "end": 11136, + "start": 10374, + "end": 10375, "loc": { "start": { - "line": 535, - "column": 137 + "line": 533, + "column": 61 }, "end": { - "line": 535, - "column": 138 + "line": 533, + "column": 62 } } }, @@ -108300,16 +107752,16 @@ "binop": null }, "value": "length", - "start": 11136, - "end": 11142, + "start": 10375, + "end": 10381, "loc": { "start": { - "line": 535, - "column": 138 + "line": 533, + "column": 62 }, "end": { - "line": 535, - "column": 144 + "line": 533, + "column": 68 } } }, @@ -108325,16 +107777,16 @@ "postfix": false, "binop": null }, - "start": 11143, - "end": 11144, + "start": 10381, + "end": 10382, "loc": { "start": { - "line": 535, - "column": 145 + "line": 533, + "column": 68 }, "end": { - "line": 535, - "column": 146 + "line": 533, + "column": 69 } } }, @@ -108351,16 +107803,16 @@ "binop": null, "updateContext": null }, - "start": 11145, - "end": 11146, + "start": 10382, + "end": 10383, "loc": { "start": { - "line": 535, - "column": 147 + "line": 533, + "column": 69 }, "end": { - "line": 535, - "column": 148 + "line": 533, + "column": 70 } } }, @@ -108379,15 +107831,15 @@ "updateContext": null }, "value": "const", - "start": 11149, - "end": 11154, + "start": 10386, + "end": 10391, "loc": { "start": { - "line": 536, + "line": 534, "column": 2 }, "end": { - "line": 536, + "line": 534, "column": 7 } } @@ -108405,15 +107857,15 @@ "binop": null }, "value": "gcd", - "start": 11155, - "end": 11158, + "start": 10392, + "end": 10395, "loc": { "start": { - "line": 536, + "line": 534, "column": 8 }, "end": { - "line": 536, + "line": 534, "column": 11 } } @@ -108432,15 +107884,15 @@ "updateContext": null }, "value": "=", - "start": 11159, - "end": 11160, + "start": 10396, + "end": 10397, "loc": { "start": { - "line": 536, + "line": 534, "column": 12 }, "end": { - "line": 536, + "line": 534, "column": 13 } } @@ -108458,15 +107910,15 @@ "binop": null }, "value": "_alloc", - "start": 11161, - "end": 11167, + "start": 10398, + "end": 10404, "loc": { "start": { - "line": 536, + "line": 534, "column": 14 }, "end": { - "line": 536, + "line": 534, "column": 20 } } @@ -108483,15 +107935,15 @@ "postfix": false, "binop": null }, - "start": 11167, - "end": 11168, + "start": 10404, + "end": 10405, "loc": { "start": { - "line": 536, + "line": 534, "column": 20 }, "end": { - "line": 536, + "line": 534, "column": 21 } } @@ -108509,16 +107961,16 @@ "binop": null }, "value": "R0", - "start": 11169, - "end": 11171, + "start": 10405, + "end": 10407, "loc": { "start": { - "line": 536, - "column": 22 + "line": 534, + "column": 21 }, "end": { - "line": 536, - "column": 24 + "line": 534, + "column": 23 } } }, @@ -108535,16 +107987,16 @@ "binop": null, "updateContext": null }, - "start": 11171, - "end": 11172, + "start": 10407, + "end": 10408, "loc": { "start": { - "line": 536, - "column": 24 + "line": 534, + "column": 23 }, "end": { - "line": 536, - "column": 25 + "line": 534, + "column": 24 } } }, @@ -108561,16 +108013,16 @@ "binop": null }, "value": "length", - "start": 11172, - "end": 11178, + "start": 10408, + "end": 10414, "loc": { "start": { - "line": 536, - "column": 25 + "line": 534, + "column": 24 }, "end": { - "line": 536, - "column": 31 + "line": 534, + "column": 30 } } }, @@ -108588,16 +108040,16 @@ "updateContext": null }, "value": "-", - "start": 11179, - "end": 11180, + "start": 10415, + "end": 10416, "loc": { "start": { - "line": 536, - "column": 32 + "line": 534, + "column": 31 }, "end": { - "line": 536, - "column": 33 + "line": 534, + "column": 32 } } }, @@ -108614,16 +108066,16 @@ "binop": null }, "value": "R0i", - "start": 11181, - "end": 11184, + "start": 10417, + "end": 10420, "loc": { "start": { - "line": 536, - "column": 34 + "line": 534, + "column": 33 }, "end": { - "line": 536, - "column": 37 + "line": 534, + "column": 36 } } }, @@ -108638,17 +108090,17 @@ "prefix": false, "postfix": false, "binop": null - }, - "start": 11185, - "end": 11186, + }, + "start": 10420, + "end": 10421, "loc": { "start": { - "line": 536, - "column": 38 + "line": 534, + "column": 36 }, "end": { - "line": 536, - "column": 39 + "line": 534, + "column": 37 } } }, @@ -108665,16 +108117,16 @@ "binop": null, "updateContext": null }, - "start": 11187, - "end": 11188, + "start": 10421, + "end": 10422, "loc": { "start": { - "line": 536, - "column": 40 + "line": 534, + "column": 37 }, "end": { - "line": 536, - "column": 41 + "line": 534, + "column": 38 } } }, @@ -108691,15 +108143,15 @@ "binop": null }, "value": "_copy", - "start": 11191, - "end": 11196, + "start": 10425, + "end": 10430, "loc": { "start": { - "line": 537, + "line": 535, "column": 2 }, "end": { - "line": 537, + "line": 535, "column": 7 } } @@ -108716,15 +108168,15 @@ "postfix": false, "binop": null }, - "start": 11196, - "end": 11197, + "start": 10430, + "end": 10431, "loc": { "start": { - "line": 537, + "line": 535, "column": 7 }, "end": { - "line": 537, + "line": 535, "column": 8 } } @@ -108742,16 +108194,16 @@ "binop": null }, "value": "R0", - "start": 11198, - "end": 11200, + "start": 10431, + "end": 10433, "loc": { "start": { - "line": 537, - "column": 9 + "line": 535, + "column": 8 }, "end": { - "line": 537, - "column": 11 + "line": 535, + "column": 10 } } }, @@ -108768,16 +108220,16 @@ "binop": null, "updateContext": null }, - "start": 11201, - "end": 11202, + "start": 10433, + "end": 10434, "loc": { "start": { - "line": 537, - "column": 12 + "line": 535, + "column": 10 }, "end": { - "line": 537, - "column": 13 + "line": 535, + "column": 11 } } }, @@ -108794,16 +108246,16 @@ "binop": null }, "value": "R0i", - "start": 11203, - "end": 11206, + "start": 10435, + "end": 10438, "loc": { "start": { - "line": 537, - "column": 14 + "line": 535, + "column": 12 }, "end": { - "line": 537, - "column": 17 + "line": 535, + "column": 15 } } }, @@ -108820,16 +108272,16 @@ "binop": null, "updateContext": null }, - "start": 11207, - "end": 11208, + "start": 10438, + "end": 10439, "loc": { "start": { - "line": 537, - "column": 18 + "line": 535, + "column": 15 }, "end": { - "line": 537, - "column": 19 + "line": 535, + "column": 16 } } }, @@ -108846,16 +108298,16 @@ "binop": null }, "value": "R0", - "start": 11209, - "end": 11211, + "start": 10440, + "end": 10442, "loc": { "start": { - "line": 537, - "column": 20 + "line": 535, + "column": 17 }, "end": { - "line": 537, - "column": 22 + "line": 535, + "column": 19 } } }, @@ -108872,16 +108324,16 @@ "binop": null, "updateContext": null }, - "start": 11211, - "end": 11212, + "start": 10442, + "end": 10443, "loc": { "start": { - "line": 537, - "column": 22 + "line": 535, + "column": 19 }, "end": { - "line": 537, - "column": 23 + "line": 535, + "column": 20 } } }, @@ -108898,16 +108350,16 @@ "binop": null }, "value": "length", - "start": 11212, - "end": 11218, + "start": 10443, + "end": 10449, "loc": { "start": { - "line": 537, - "column": 23 + "line": 535, + "column": 20 }, "end": { - "line": 537, - "column": 29 + "line": 535, + "column": 26 } } }, @@ -108924,16 +108376,16 @@ "binop": null, "updateContext": null }, - "start": 11219, - "end": 11220, + "start": 10449, + "end": 10450, "loc": { "start": { - "line": 537, - "column": 30 + "line": 535, + "column": 26 }, "end": { - "line": 537, - "column": 31 + "line": 535, + "column": 27 } } }, @@ -108950,16 +108402,16 @@ "binop": null }, "value": "gcd", - "start": 11221, - "end": 11224, + "start": 10451, + "end": 10454, "loc": { "start": { - "line": 537, - "column": 32 + "line": 535, + "column": 28 }, "end": { - "line": 537, - "column": 35 + "line": 535, + "column": 31 } } }, @@ -108976,16 +108428,16 @@ "binop": null, "updateContext": null }, - "start": 11225, - "end": 11226, + "start": 10454, + "end": 10455, "loc": { "start": { - "line": 537, - "column": 36 + "line": 535, + "column": 31 }, "end": { - "line": 537, - "column": 37 + "line": 535, + "column": 32 } } }, @@ -109003,16 +108455,16 @@ "updateContext": null }, "value": 0, - "start": 11227, - "end": 11228, + "start": 10456, + "end": 10457, "loc": { "start": { - "line": 537, - "column": 38 + "line": 535, + "column": 33 }, "end": { - "line": 537, - "column": 39 + "line": 535, + "column": 34 } } }, @@ -109028,16 +108480,16 @@ "postfix": false, "binop": null }, - "start": 11229, - "end": 11230, + "start": 10457, + "end": 10458, "loc": { "start": { - "line": 537, - "column": 40 + "line": 535, + "column": 34 }, "end": { - "line": 537, - "column": 41 + "line": 535, + "column": 35 } } }, @@ -109054,16 +108506,16 @@ "binop": null, "updateContext": null }, - "start": 11231, - "end": 11232, + "start": 10458, + "end": 10459, "loc": { "start": { - "line": 537, - "column": 42 + "line": 535, + "column": 35 }, "end": { - "line": 537, - "column": 43 + "line": 535, + "column": 36 } } }, @@ -109082,15 +108534,15 @@ "updateContext": null }, "value": "const", - "start": 11235, - "end": 11240, + "start": 10462, + "end": 10467, "loc": { "start": { - "line": 538, + "line": 536, "column": 2 }, "end": { - "line": 538, + "line": 536, "column": 7 } } @@ -109108,15 +108560,15 @@ "binop": null }, "value": "x", - "start": 11241, - "end": 11242, + "start": 10468, + "end": 10469, "loc": { "start": { - "line": 538, + "line": 536, "column": 8 }, "end": { - "line": 538, + "line": 536, "column": 9 } } @@ -109135,15 +108587,15 @@ "updateContext": null }, "value": "=", - "start": 11243, - "end": 11244, + "start": 10470, + "end": 10471, "loc": { "start": { - "line": 538, + "line": 536, "column": 10 }, "end": { - "line": 538, + "line": 536, "column": 11 } } @@ -109161,15 +108613,15 @@ "binop": null }, "value": "_alloc", - "start": 11245, - "end": 11251, + "start": 10472, + "end": 10478, "loc": { "start": { - "line": 538, + "line": 536, "column": 12 }, "end": { - "line": 538, + "line": 536, "column": 18 } } @@ -109186,15 +108638,15 @@ "postfix": false, "binop": null }, - "start": 11251, - "end": 11252, + "start": 10478, + "end": 10479, "loc": { "start": { - "line": 538, + "line": 536, "column": 18 }, "end": { - "line": 538, + "line": 536, "column": 19 } } @@ -109212,16 +108664,16 @@ "binop": null }, "value": "S0", - "start": 11253, - "end": 11255, + "start": 10479, + "end": 10481, "loc": { "start": { - "line": 538, - "column": 20 + "line": 536, + "column": 19 }, "end": { - "line": 538, - "column": 22 + "line": 536, + "column": 21 } } }, @@ -109238,16 +108690,16 @@ "binop": null, "updateContext": null }, - "start": 11255, - "end": 11256, + "start": 10481, + "end": 10482, "loc": { "start": { - "line": 538, - "column": 22 + "line": 536, + "column": 21 }, "end": { - "line": 538, - "column": 23 + "line": 536, + "column": 22 } } }, @@ -109264,16 +108716,16 @@ "binop": null }, "value": "length", - "start": 11256, - "end": 11262, + "start": 10482, + "end": 10488, "loc": { "start": { - "line": 538, - "column": 23 + "line": 536, + "column": 22 }, "end": { - "line": 538, - "column": 29 + "line": 536, + "column": 28 } } }, @@ -109291,16 +108743,16 @@ "updateContext": null }, "value": "-", - "start": 11263, - "end": 11264, + "start": 10489, + "end": 10490, "loc": { "start": { - "line": 538, - "column": 30 + "line": 536, + "column": 29 }, "end": { - "line": 538, - "column": 31 + "line": 536, + "column": 30 } } }, @@ -109317,16 +108769,16 @@ "binop": null }, "value": "S0i", - "start": 11265, - "end": 11268, + "start": 10491, + "end": 10494, "loc": { "start": { - "line": 538, - "column": 32 + "line": 536, + "column": 31 }, "end": { - "line": 538, - "column": 35 + "line": 536, + "column": 34 } } }, @@ -109342,16 +108794,16 @@ "postfix": false, "binop": null }, - "start": 11269, - "end": 11270, + "start": 10494, + "end": 10495, "loc": { "start": { - "line": 538, - "column": 36 + "line": 536, + "column": 34 }, "end": { - "line": 538, - "column": 37 + "line": 536, + "column": 35 } } }, @@ -109368,16 +108820,16 @@ "binop": null, "updateContext": null }, - "start": 11271, - "end": 11272, + "start": 10495, + "end": 10496, "loc": { "start": { - "line": 538, - "column": 38 + "line": 536, + "column": 35 }, "end": { - "line": 538, - "column": 39 + "line": 536, + "column": 36 } } }, @@ -109394,15 +108846,15 @@ "binop": null }, "value": "_copy", - "start": 11275, - "end": 11280, + "start": 10499, + "end": 10504, "loc": { "start": { - "line": 539, + "line": 537, "column": 2 }, "end": { - "line": 539, + "line": 537, "column": 7 } } @@ -109419,15 +108871,15 @@ "postfix": false, "binop": null }, - "start": 11280, - "end": 11281, + "start": 10504, + "end": 10505, "loc": { "start": { - "line": 539, + "line": 537, "column": 7 }, "end": { - "line": 539, + "line": 537, "column": 8 } } @@ -109445,16 +108897,16 @@ "binop": null }, "value": "S0", - "start": 11282, - "end": 11284, + "start": 10505, + "end": 10507, "loc": { "start": { - "line": 539, - "column": 9 + "line": 537, + "column": 8 }, "end": { - "line": 539, - "column": 11 + "line": 537, + "column": 10 } } }, @@ -109471,16 +108923,16 @@ "binop": null, "updateContext": null }, - "start": 11285, - "end": 11286, + "start": 10507, + "end": 10508, "loc": { "start": { - "line": 539, - "column": 12 + "line": 537, + "column": 10 }, "end": { - "line": 539, - "column": 13 + "line": 537, + "column": 11 } } }, @@ -109497,16 +108949,16 @@ "binop": null }, "value": "S0i", - "start": 11287, - "end": 11290, + "start": 10509, + "end": 10512, "loc": { "start": { - "line": 539, - "column": 14 + "line": 537, + "column": 12 }, "end": { - "line": 539, - "column": 17 + "line": 537, + "column": 15 } } }, @@ -109523,16 +108975,16 @@ "binop": null, "updateContext": null }, - "start": 11291, - "end": 11292, + "start": 10512, + "end": 10513, "loc": { "start": { - "line": 539, - "column": 18 + "line": 537, + "column": 15 }, "end": { - "line": 539, - "column": 19 + "line": 537, + "column": 16 } } }, @@ -109549,16 +109001,16 @@ "binop": null }, "value": "S0", - "start": 11293, - "end": 11295, + "start": 10514, + "end": 10516, "loc": { "start": { - "line": 539, - "column": 20 + "line": 537, + "column": 17 }, "end": { - "line": 539, - "column": 22 + "line": 537, + "column": 19 } } }, @@ -109575,16 +109027,16 @@ "binop": null, "updateContext": null }, - "start": 11295, - "end": 11296, + "start": 10516, + "end": 10517, "loc": { "start": { - "line": 539, - "column": 22 + "line": 537, + "column": 19 }, "end": { - "line": 539, - "column": 23 + "line": 537, + "column": 20 } } }, @@ -109601,16 +109053,16 @@ "binop": null }, "value": "length", - "start": 11296, - "end": 11302, + "start": 10517, + "end": 10523, "loc": { "start": { - "line": 539, - "column": 23 + "line": 537, + "column": 20 }, "end": { - "line": 539, - "column": 29 + "line": 537, + "column": 26 } } }, @@ -109627,16 +109079,16 @@ "binop": null, "updateContext": null }, - "start": 11303, - "end": 11304, + "start": 10523, + "end": 10524, "loc": { "start": { - "line": 539, - "column": 30 + "line": 537, + "column": 26 }, "end": { - "line": 539, - "column": 31 + "line": 537, + "column": 27 } } }, @@ -109653,16 +109105,16 @@ "binop": null }, "value": "x", - "start": 11305, - "end": 11306, + "start": 10525, + "end": 10526, "loc": { "start": { - "line": 539, - "column": 32 + "line": 537, + "column": 28 }, "end": { - "line": 539, - "column": 33 + "line": 537, + "column": 29 } } }, @@ -109679,16 +109131,16 @@ "binop": null, "updateContext": null }, - "start": 11307, - "end": 11308, + "start": 10526, + "end": 10527, "loc": { "start": { - "line": 539, - "column": 34 + "line": 537, + "column": 29 }, "end": { - "line": 539, - "column": 35 + "line": 537, + "column": 30 } } }, @@ -109706,16 +109158,16 @@ "updateContext": null }, "value": 0, - "start": 11309, - "end": 11310, + "start": 10528, + "end": 10529, "loc": { "start": { - "line": 539, - "column": 36 + "line": 537, + "column": 31 }, "end": { - "line": 539, - "column": 37 + "line": 537, + "column": 32 } } }, @@ -109731,16 +109183,16 @@ "postfix": false, "binop": null }, - "start": 11311, - "end": 11312, + "start": 10529, + "end": 10530, "loc": { "start": { - "line": 539, - "column": 38 + "line": 537, + "column": 32 }, "end": { - "line": 539, - "column": 39 + "line": 537, + "column": 33 } } }, @@ -109757,16 +109209,16 @@ "binop": null, "updateContext": null }, - "start": 11313, - "end": 11314, + "start": 10530, + "end": 10531, "loc": { "start": { - "line": 539, - "column": 40 + "line": 537, + "column": 33 }, "end": { - "line": 539, - "column": 41 + "line": 537, + "column": 34 } } }, @@ -109785,15 +109237,15 @@ "updateContext": null }, "value": "const", - "start": 11317, - "end": 11322, + "start": 10534, + "end": 10539, "loc": { "start": { - "line": 540, + "line": 538, "column": 2 }, "end": { - "line": 540, + "line": 538, "column": 7 } } @@ -109811,15 +109263,15 @@ "binop": null }, "value": "y", - "start": 11323, - "end": 11324, + "start": 10540, + "end": 10541, "loc": { "start": { - "line": 540, + "line": 538, "column": 8 }, "end": { - "line": 540, + "line": 538, "column": 9 } } @@ -109838,15 +109290,15 @@ "updateContext": null }, "value": "=", - "start": 11325, - "end": 11326, + "start": 10542, + "end": 10543, "loc": { "start": { - "line": 540, + "line": 538, "column": 10 }, "end": { - "line": 540, + "line": 538, "column": 11 } } @@ -109864,15 +109316,15 @@ "binop": null }, "value": "_alloc", - "start": 11327, - "end": 11333, + "start": 10544, + "end": 10550, "loc": { "start": { - "line": 540, + "line": 538, "column": 12 }, "end": { - "line": 540, + "line": 538, "column": 18 } } @@ -109889,15 +109341,15 @@ "postfix": false, "binop": null }, - "start": 11333, - "end": 11334, + "start": 10550, + "end": 10551, "loc": { "start": { - "line": 540, + "line": 538, "column": 18 }, "end": { - "line": 540, + "line": 538, "column": 19 } } @@ -109915,16 +109367,16 @@ "binop": null }, "value": "T0", - "start": 11335, - "end": 11337, + "start": 10551, + "end": 10553, "loc": { "start": { - "line": 540, - "column": 20 + "line": 538, + "column": 19 }, "end": { - "line": 540, - "column": 22 + "line": 538, + "column": 21 } } }, @@ -109941,16 +109393,16 @@ "binop": null, "updateContext": null }, - "start": 11337, - "end": 11338, + "start": 10553, + "end": 10554, "loc": { "start": { - "line": 540, - "column": 22 + "line": 538, + "column": 21 }, "end": { - "line": 540, - "column": 23 + "line": 538, + "column": 22 } } }, @@ -109967,16 +109419,16 @@ "binop": null }, "value": "length", - "start": 11338, - "end": 11344, + "start": 10554, + "end": 10560, "loc": { "start": { - "line": 540, - "column": 23 + "line": 538, + "column": 22 }, "end": { - "line": 540, - "column": 29 + "line": 538, + "column": 28 } } }, @@ -109994,16 +109446,16 @@ "updateContext": null }, "value": "-", - "start": 11345, - "end": 11346, + "start": 10561, + "end": 10562, "loc": { "start": { - "line": 540, - "column": 30 + "line": 538, + "column": 29 }, "end": { - "line": 540, - "column": 31 + "line": 538, + "column": 30 } } }, @@ -110020,16 +109472,16 @@ "binop": null }, "value": "T0i", - "start": 11347, - "end": 11350, + "start": 10563, + "end": 10566, "loc": { "start": { - "line": 540, - "column": 32 + "line": 538, + "column": 31 }, "end": { - "line": 540, - "column": 35 + "line": 538, + "column": 34 } } }, @@ -110045,16 +109497,16 @@ "postfix": false, "binop": null }, - "start": 11351, - "end": 11352, + "start": 10566, + "end": 10567, "loc": { "start": { - "line": 540, - "column": 36 + "line": 538, + "column": 34 }, "end": { - "line": 540, - "column": 37 + "line": 538, + "column": 35 } } }, @@ -110071,16 +109523,16 @@ "binop": null, "updateContext": null }, - "start": 11353, - "end": 11354, + "start": 10567, + "end": 10568, "loc": { "start": { - "line": 540, - "column": 38 + "line": 538, + "column": 35 }, "end": { - "line": 540, - "column": 39 + "line": 538, + "column": 36 } } }, @@ -110097,15 +109549,15 @@ "binop": null }, "value": "_copy", - "start": 11357, - "end": 11362, + "start": 10571, + "end": 10576, "loc": { "start": { - "line": 541, + "line": 539, "column": 2 }, "end": { - "line": 541, + "line": 539, "column": 7 } } @@ -110122,15 +109574,15 @@ "postfix": false, "binop": null }, - "start": 11362, - "end": 11363, + "start": 10576, + "end": 10577, "loc": { "start": { - "line": 541, + "line": 539, "column": 7 }, "end": { - "line": 541, + "line": 539, "column": 8 } } @@ -110148,16 +109600,16 @@ "binop": null }, "value": "T0", - "start": 11364, - "end": 11366, + "start": 10577, + "end": 10579, "loc": { "start": { - "line": 541, - "column": 9 + "line": 539, + "column": 8 }, "end": { - "line": 541, - "column": 11 + "line": 539, + "column": 10 } } }, @@ -110174,16 +109626,16 @@ "binop": null, "updateContext": null }, - "start": 11367, - "end": 11368, + "start": 10579, + "end": 10580, "loc": { "start": { - "line": 541, - "column": 12 + "line": 539, + "column": 10 }, "end": { - "line": 541, - "column": 13 + "line": 539, + "column": 11 } } }, @@ -110200,16 +109652,16 @@ "binop": null }, "value": "T0i", - "start": 11369, - "end": 11372, + "start": 10581, + "end": 10584, "loc": { "start": { - "line": 541, - "column": 14 + "line": 539, + "column": 12 }, "end": { - "line": 541, - "column": 17 + "line": 539, + "column": 15 } } }, @@ -110226,16 +109678,16 @@ "binop": null, "updateContext": null }, - "start": 11373, - "end": 11374, + "start": 10584, + "end": 10585, "loc": { "start": { - "line": 541, - "column": 18 + "line": 539, + "column": 15 }, "end": { - "line": 541, - "column": 19 + "line": 539, + "column": 16 } } }, @@ -110252,16 +109704,16 @@ "binop": null }, "value": "T0", - "start": 11375, - "end": 11377, + "start": 10586, + "end": 10588, "loc": { "start": { - "line": 541, - "column": 20 + "line": 539, + "column": 17 }, "end": { - "line": 541, - "column": 22 + "line": 539, + "column": 19 } } }, @@ -110278,16 +109730,16 @@ "binop": null, "updateContext": null }, - "start": 11377, - "end": 11378, + "start": 10588, + "end": 10589, "loc": { "start": { - "line": 541, - "column": 22 + "line": 539, + "column": 19 }, "end": { - "line": 541, - "column": 23 + "line": 539, + "column": 20 } } }, @@ -110304,16 +109756,16 @@ "binop": null }, "value": "length", - "start": 11378, - "end": 11384, + "start": 10589, + "end": 10595, "loc": { "start": { - "line": 541, - "column": 23 + "line": 539, + "column": 20 }, "end": { - "line": 541, - "column": 29 + "line": 539, + "column": 26 } } }, @@ -110330,16 +109782,16 @@ "binop": null, "updateContext": null }, - "start": 11385, - "end": 11386, + "start": 10595, + "end": 10596, "loc": { "start": { - "line": 541, - "column": 30 + "line": 539, + "column": 26 }, "end": { - "line": 541, - "column": 31 + "line": 539, + "column": 27 } } }, @@ -110356,16 +109808,16 @@ "binop": null }, "value": "y", - "start": 11387, - "end": 11388, + "start": 10597, + "end": 10598, "loc": { "start": { - "line": 541, - "column": 32 + "line": 539, + "column": 28 }, "end": { - "line": 541, - "column": 33 + "line": 539, + "column": 29 } } }, @@ -110382,16 +109834,16 @@ "binop": null, "updateContext": null }, - "start": 11389, - "end": 11390, + "start": 10598, + "end": 10599, "loc": { "start": { - "line": 541, - "column": 34 + "line": 539, + "column": 29 }, "end": { - "line": 541, - "column": 35 + "line": 539, + "column": 30 } } }, @@ -110409,16 +109861,16 @@ "updateContext": null }, "value": 0, - "start": 11391, - "end": 11392, + "start": 10600, + "end": 10601, "loc": { "start": { - "line": 541, - "column": 36 + "line": 539, + "column": 31 }, "end": { - "line": 541, - "column": 37 + "line": 539, + "column": 32 } } }, @@ -110434,16 +109886,16 @@ "postfix": false, "binop": null }, - "start": 11393, - "end": 11394, + "start": 10601, + "end": 10602, "loc": { "start": { - "line": 541, - "column": 38 + "line": 539, + "column": 32 }, "end": { - "line": 541, - "column": 39 + "line": 539, + "column": 33 } } }, @@ -110460,16 +109912,16 @@ "binop": null, "updateContext": null }, - "start": 11395, - "end": 11396, + "start": 10602, + "end": 10603, "loc": { "start": { - "line": 541, - "column": 40 + "line": 539, + "column": 33 }, "end": { - "line": 541, - "column": 41 + "line": 539, + "column": 34 } } }, @@ -110488,15 +109940,15 @@ "updateContext": null }, "value": "const", - "start": 11399, - "end": 11404, + "start": 10606, + "end": 10611, "loc": { "start": { - "line": 542, + "line": 540, "column": 2 }, "end": { - "line": 542, + "line": 540, "column": 7 } } @@ -110514,15 +109966,15 @@ "binop": null }, "value": "u", - "start": 11405, - "end": 11406, + "start": 10612, + "end": 10613, "loc": { "start": { - "line": 542, + "line": 540, "column": 8 }, "end": { - "line": 542, + "line": 540, "column": 9 } } @@ -110541,15 +109993,15 @@ "updateContext": null }, "value": "=", - "start": 11407, - "end": 11408, + "start": 10614, + "end": 10615, "loc": { "start": { - "line": 542, + "line": 540, "column": 10 }, "end": { - "line": 542, + "line": 540, "column": 11 } } @@ -110567,15 +110019,15 @@ "binop": null }, "value": "_alloc", - "start": 11409, - "end": 11415, + "start": 10616, + "end": 10622, "loc": { "start": { - "line": 542, + "line": 540, "column": 12 }, "end": { - "line": 542, + "line": 540, "column": 18 } } @@ -110592,15 +110044,15 @@ "postfix": false, "binop": null }, - "start": 11415, - "end": 11416, + "start": 10622, + "end": 10623, "loc": { "start": { - "line": 542, + "line": 540, "column": 18 }, "end": { - "line": 542, + "line": 540, "column": 19 } } @@ -110618,16 +110070,16 @@ "binop": null }, "value": "S1", - "start": 11417, - "end": 11419, + "start": 10623, + "end": 10625, "loc": { "start": { - "line": 542, - "column": 20 + "line": 540, + "column": 19 }, "end": { - "line": 542, - "column": 22 + "line": 540, + "column": 21 } } }, @@ -110644,16 +110096,16 @@ "binop": null, "updateContext": null }, - "start": 11419, - "end": 11420, + "start": 10625, + "end": 10626, "loc": { "start": { - "line": 542, - "column": 22 + "line": 540, + "column": 21 }, "end": { - "line": 542, - "column": 23 + "line": 540, + "column": 22 } } }, @@ -110670,16 +110122,16 @@ "binop": null }, "value": "length", - "start": 11420, - "end": 11426, + "start": 10626, + "end": 10632, "loc": { "start": { - "line": 542, - "column": 23 + "line": 540, + "column": 22 }, "end": { - "line": 542, - "column": 29 + "line": 540, + "column": 28 } } }, @@ -110697,16 +110149,16 @@ "updateContext": null }, "value": "-", - "start": 11427, - "end": 11428, + "start": 10633, + "end": 10634, "loc": { "start": { - "line": 542, - "column": 30 + "line": 540, + "column": 29 }, "end": { - "line": 542, - "column": 31 + "line": 540, + "column": 30 } } }, @@ -110723,16 +110175,16 @@ "binop": null }, "value": "S1i", - "start": 11429, - "end": 11432, + "start": 10635, + "end": 10638, "loc": { "start": { - "line": 542, - "column": 32 + "line": 540, + "column": 31 }, "end": { - "line": 542, - "column": 35 + "line": 540, + "column": 34 } } }, @@ -110748,16 +110200,16 @@ "postfix": false, "binop": null }, - "start": 11433, - "end": 11434, + "start": 10638, + "end": 10639, "loc": { "start": { - "line": 542, - "column": 36 + "line": 540, + "column": 34 }, "end": { - "line": 542, - "column": 37 + "line": 540, + "column": 35 } } }, @@ -110774,16 +110226,16 @@ "binop": null, "updateContext": null }, - "start": 11435, - "end": 11436, + "start": 10639, + "end": 10640, "loc": { "start": { - "line": 542, - "column": 38 + "line": 540, + "column": 35 }, "end": { - "line": 542, - "column": 39 + "line": 540, + "column": 36 } } }, @@ -110800,15 +110252,15 @@ "binop": null }, "value": "_copy", - "start": 11439, - "end": 11444, + "start": 10643, + "end": 10648, "loc": { "start": { - "line": 543, + "line": 541, "column": 2 }, "end": { - "line": 543, + "line": 541, "column": 7 } } @@ -110825,15 +110277,15 @@ "postfix": false, "binop": null }, - "start": 11444, - "end": 11445, + "start": 10648, + "end": 10649, "loc": { "start": { - "line": 543, + "line": 541, "column": 7 }, "end": { - "line": 543, + "line": 541, "column": 8 } } @@ -110851,16 +110303,16 @@ "binop": null }, "value": "S1", - "start": 11446, - "end": 11448, + "start": 10649, + "end": 10651, "loc": { "start": { - "line": 543, - "column": 9 + "line": 541, + "column": 8 }, "end": { - "line": 543, - "column": 11 + "line": 541, + "column": 10 } } }, @@ -110877,16 +110329,16 @@ "binop": null, "updateContext": null }, - "start": 11449, - "end": 11450, + "start": 10651, + "end": 10652, "loc": { "start": { - "line": 543, - "column": 12 + "line": 541, + "column": 10 }, "end": { - "line": 543, - "column": 13 + "line": 541, + "column": 11 } } }, @@ -110903,16 +110355,16 @@ "binop": null }, "value": "S1i", - "start": 11451, - "end": 11454, + "start": 10653, + "end": 10656, "loc": { "start": { - "line": 543, - "column": 14 + "line": 541, + "column": 12 }, "end": { - "line": 543, - "column": 17 + "line": 541, + "column": 15 } } }, @@ -110929,16 +110381,16 @@ "binop": null, "updateContext": null }, - "start": 11455, - "end": 11456, + "start": 10656, + "end": 10657, "loc": { "start": { - "line": 543, - "column": 18 + "line": 541, + "column": 15 }, "end": { - "line": 543, - "column": 19 + "line": 541, + "column": 16 } } }, @@ -110955,16 +110407,16 @@ "binop": null }, "value": "S1", - "start": 11457, - "end": 11459, + "start": 10658, + "end": 10660, "loc": { "start": { - "line": 543, - "column": 20 + "line": 541, + "column": 17 }, "end": { - "line": 543, - "column": 22 + "line": 541, + "column": 19 } } }, @@ -110981,16 +110433,16 @@ "binop": null, "updateContext": null }, - "start": 11459, - "end": 11460, + "start": 10660, + "end": 10661, "loc": { "start": { - "line": 543, - "column": 22 + "line": 541, + "column": 19 }, "end": { - "line": 543, - "column": 23 + "line": 541, + "column": 20 } } }, @@ -111007,16 +110459,16 @@ "binop": null }, "value": "length", - "start": 11460, - "end": 11466, + "start": 10661, + "end": 10667, "loc": { "start": { - "line": 543, - "column": 23 + "line": 541, + "column": 20 }, "end": { - "line": 543, - "column": 29 + "line": 541, + "column": 26 } } }, @@ -111033,16 +110485,16 @@ "binop": null, "updateContext": null }, - "start": 11467, - "end": 11468, + "start": 10667, + "end": 10668, "loc": { "start": { - "line": 543, - "column": 30 + "line": 541, + "column": 26 }, "end": { - "line": 543, - "column": 31 + "line": 541, + "column": 27 } } }, @@ -111059,16 +110511,16 @@ "binop": null }, "value": "u", - "start": 11469, - "end": 11470, + "start": 10669, + "end": 10670, "loc": { "start": { - "line": 543, - "column": 32 + "line": 541, + "column": 28 }, "end": { - "line": 543, - "column": 33 + "line": 541, + "column": 29 } } }, @@ -111085,16 +110537,16 @@ "binop": null, "updateContext": null }, - "start": 11471, - "end": 11472, + "start": 10670, + "end": 10671, "loc": { "start": { - "line": 543, - "column": 34 + "line": 541, + "column": 29 }, "end": { - "line": 543, - "column": 35 + "line": 541, + "column": 30 } } }, @@ -111112,16 +110564,16 @@ "updateContext": null }, "value": 0, - "start": 11473, - "end": 11474, + "start": 10672, + "end": 10673, "loc": { "start": { - "line": 543, - "column": 36 + "line": 541, + "column": 31 }, "end": { - "line": 543, - "column": 37 + "line": 541, + "column": 32 } } }, @@ -111137,16 +110589,16 @@ "postfix": false, "binop": null }, - "start": 11475, - "end": 11476, + "start": 10673, + "end": 10674, "loc": { "start": { - "line": 543, - "column": 38 + "line": 541, + "column": 32 }, "end": { - "line": 543, - "column": 39 + "line": 541, + "column": 33 } } }, @@ -111163,16 +110615,16 @@ "binop": null, "updateContext": null }, - "start": 11477, - "end": 11478, + "start": 10674, + "end": 10675, "loc": { "start": { - "line": 543, - "column": 40 + "line": 541, + "column": 33 }, "end": { - "line": 543, - "column": 41 + "line": 541, + "column": 34 } } }, @@ -111191,15 +110643,15 @@ "updateContext": null }, "value": "const", - "start": 11481, - "end": 11486, + "start": 10678, + "end": 10683, "loc": { "start": { - "line": 544, + "line": 542, "column": 2 }, "end": { - "line": 544, + "line": 542, "column": 7 } } @@ -111217,15 +110669,15 @@ "binop": null }, "value": "v", - "start": 11487, - "end": 11488, + "start": 10684, + "end": 10685, "loc": { "start": { - "line": 544, + "line": 542, "column": 8 }, "end": { - "line": 544, + "line": 542, "column": 9 } } @@ -111244,15 +110696,15 @@ "updateContext": null }, "value": "=", - "start": 11489, - "end": 11490, + "start": 10686, + "end": 10687, "loc": { "start": { - "line": 544, + "line": 542, "column": 10 }, "end": { - "line": 544, + "line": 542, "column": 11 } } @@ -111270,15 +110722,15 @@ "binop": null }, "value": "_alloc", - "start": 11491, - "end": 11497, + "start": 10688, + "end": 10694, "loc": { "start": { - "line": 544, + "line": 542, "column": 12 }, "end": { - "line": 544, + "line": 542, "column": 18 } } @@ -111295,15 +110747,15 @@ "postfix": false, "binop": null }, - "start": 11497, - "end": 11498, + "start": 10694, + "end": 10695, "loc": { "start": { - "line": 544, + "line": 542, "column": 18 }, "end": { - "line": 544, + "line": 542, "column": 19 } } @@ -111321,16 +110773,16 @@ "binop": null }, "value": "T1", - "start": 11499, - "end": 11501, + "start": 10695, + "end": 10697, "loc": { "start": { - "line": 544, - "column": 20 + "line": 542, + "column": 19 }, "end": { - "line": 544, - "column": 22 + "line": 542, + "column": 21 } } }, @@ -111347,16 +110799,16 @@ "binop": null, "updateContext": null }, - "start": 11501, - "end": 11502, + "start": 10697, + "end": 10698, "loc": { "start": { - "line": 544, - "column": 22 + "line": 542, + "column": 21 }, "end": { - "line": 544, - "column": 23 + "line": 542, + "column": 22 } } }, @@ -111373,16 +110825,16 @@ "binop": null }, "value": "length", - "start": 11502, - "end": 11508, + "start": 10698, + "end": 10704, "loc": { "start": { - "line": 544, - "column": 23 + "line": 542, + "column": 22 }, "end": { - "line": 544, - "column": 29 + "line": 542, + "column": 28 } } }, @@ -111400,16 +110852,16 @@ "updateContext": null }, "value": "-", - "start": 11509, - "end": 11510, + "start": 10705, + "end": 10706, "loc": { "start": { - "line": 544, - "column": 30 + "line": 542, + "column": 29 }, "end": { - "line": 544, - "column": 31 + "line": 542, + "column": 30 } } }, @@ -111426,16 +110878,16 @@ "binop": null }, "value": "T1i", - "start": 11511, - "end": 11514, + "start": 10707, + "end": 10710, "loc": { "start": { - "line": 544, - "column": 32 + "line": 542, + "column": 31 }, "end": { - "line": 544, - "column": 35 + "line": 542, + "column": 34 } } }, @@ -111451,16 +110903,16 @@ "postfix": false, "binop": null }, - "start": 11515, - "end": 11516, + "start": 10710, + "end": 10711, "loc": { "start": { - "line": 544, - "column": 36 + "line": 542, + "column": 34 }, "end": { - "line": 544, - "column": 37 + "line": 542, + "column": 35 } } }, @@ -111477,16 +110929,16 @@ "binop": null, "updateContext": null }, - "start": 11517, - "end": 11518, + "start": 10711, + "end": 10712, "loc": { "start": { - "line": 544, - "column": 38 + "line": 542, + "column": 35 }, "end": { - "line": 544, - "column": 39 + "line": 542, + "column": 36 } } }, @@ -111503,15 +110955,15 @@ "binop": null }, "value": "_copy", - "start": 11521, - "end": 11526, + "start": 10715, + "end": 10720, "loc": { "start": { - "line": 545, + "line": 543, "column": 2 }, "end": { - "line": 545, + "line": 543, "column": 7 } } @@ -111528,15 +110980,15 @@ "postfix": false, "binop": null }, - "start": 11526, - "end": 11527, + "start": 10720, + "end": 10721, "loc": { "start": { - "line": 545, + "line": 543, "column": 7 }, "end": { - "line": 545, + "line": 543, "column": 8 } } @@ -111554,16 +111006,16 @@ "binop": null }, "value": "T1", - "start": 11528, - "end": 11530, + "start": 10721, + "end": 10723, "loc": { "start": { - "line": 545, - "column": 9 + "line": 543, + "column": 8 }, "end": { - "line": 545, - "column": 11 + "line": 543, + "column": 10 } } }, @@ -111580,16 +111032,16 @@ "binop": null, "updateContext": null }, - "start": 11531, - "end": 11532, + "start": 10723, + "end": 10724, "loc": { "start": { - "line": 545, - "column": 12 + "line": 543, + "column": 10 }, "end": { - "line": 545, - "column": 13 + "line": 543, + "column": 11 } } }, @@ -111606,16 +111058,16 @@ "binop": null }, "value": "T1i", - "start": 11533, - "end": 11536, + "start": 10725, + "end": 10728, "loc": { "start": { - "line": 545, - "column": 14 + "line": 543, + "column": 12 }, "end": { - "line": 545, - "column": 17 + "line": 543, + "column": 15 } } }, @@ -111632,16 +111084,16 @@ "binop": null, "updateContext": null }, - "start": 11537, - "end": 11538, + "start": 10728, + "end": 10729, "loc": { "start": { - "line": 545, - "column": 18 + "line": 543, + "column": 15 }, "end": { - "line": 545, - "column": 19 + "line": 543, + "column": 16 } } }, @@ -111658,16 +111110,16 @@ "binop": null }, "value": "T1", - "start": 11539, - "end": 11541, + "start": 10730, + "end": 10732, "loc": { "start": { - "line": 545, - "column": 20 + "line": 543, + "column": 17 }, "end": { - "line": 545, - "column": 22 + "line": 543, + "column": 19 } } }, @@ -111684,16 +111136,16 @@ "binop": null, "updateContext": null }, - "start": 11541, - "end": 11542, + "start": 10732, + "end": 10733, "loc": { "start": { - "line": 545, - "column": 22 + "line": 543, + "column": 19 }, "end": { - "line": 545, - "column": 23 + "line": 543, + "column": 20 } } }, @@ -111710,16 +111162,16 @@ "binop": null }, "value": "length", - "start": 11542, - "end": 11548, + "start": 10733, + "end": 10739, "loc": { "start": { - "line": 545, - "column": 23 + "line": 543, + "column": 20 }, "end": { - "line": 545, - "column": 29 + "line": 543, + "column": 26 } } }, @@ -111736,16 +111188,16 @@ "binop": null, "updateContext": null }, - "start": 11549, - "end": 11550, + "start": 10739, + "end": 10740, "loc": { "start": { - "line": 545, - "column": 30 + "line": 543, + "column": 26 }, "end": { - "line": 545, - "column": 31 + "line": 543, + "column": 27 } } }, @@ -111762,16 +111214,16 @@ "binop": null }, "value": "v", - "start": 11551, - "end": 11552, + "start": 10741, + "end": 10742, "loc": { "start": { - "line": 545, - "column": 32 + "line": 543, + "column": 28 }, "end": { - "line": 545, - "column": 33 + "line": 543, + "column": 29 } } }, @@ -111788,16 +111240,16 @@ "binop": null, "updateContext": null }, - "start": 11553, - "end": 11554, + "start": 10742, + "end": 10743, "loc": { "start": { - "line": 545, - "column": 34 + "line": 543, + "column": 29 }, "end": { - "line": 545, - "column": 35 + "line": 543, + "column": 30 } } }, @@ -111815,16 +111267,16 @@ "updateContext": null }, "value": 0, - "start": 11555, - "end": 11556, + "start": 10744, + "end": 10745, "loc": { "start": { - "line": 545, - "column": 36 + "line": 543, + "column": 31 }, "end": { - "line": 545, - "column": 37 + "line": 543, + "column": 32 } } }, @@ -111840,16 +111292,16 @@ "postfix": false, "binop": null }, - "start": 11557, - "end": 11558, + "start": 10745, + "end": 10746, "loc": { "start": { - "line": 545, - "column": 38 + "line": 543, + "column": 32 }, "end": { - "line": 545, - "column": 39 + "line": 543, + "column": 33 } } }, @@ -111866,16 +111318,16 @@ "binop": null, "updateContext": null }, - "start": 11559, - "end": 11560, + "start": 10746, + "end": 10747, "loc": { "start": { - "line": 545, - "column": 40 + "line": 543, + "column": 33 }, "end": { - "line": 545, - "column": 41 + "line": 543, + "column": 34 } } }, @@ -111894,15 +111346,15 @@ "updateContext": null }, "value": "return", - "start": 11563, - "end": 11569, + "start": 10750, + "end": 10756, "loc": { "start": { - "line": 546, + "line": 544, "column": 2 }, "end": { - "line": 546, + "line": 544, "column": 8 } } @@ -111919,15 +111371,15 @@ "postfix": false, "binop": null }, - "start": 11570, - "end": 11571, + "start": 10757, + "end": 10758, "loc": { "start": { - "line": 546, + "line": 544, "column": 9 }, "end": { - "line": 546, + "line": 544, "column": 10 } } @@ -111935,16 +111387,16 @@ { "type": "CommentLine", "value": " TODO use immutable zero", - "start": 11572, - "end": 11598, + "start": 10762, + "end": 10788, "loc": { "start": { - "line": 546, - "column": 11 + "line": 545, + "column": 3 }, "end": { - "line": 546, - "column": 37 + "line": 545, + "column": 29 } } }, @@ -111961,15 +111413,15 @@ "binop": null }, "value": "gcd", - "start": 11602, - "end": 11605, + "start": 10792, + "end": 10795, "loc": { "start": { - "line": 547, + "line": 546, "column": 3 }, "end": { - "line": 547, + "line": 546, "column": 6 } } @@ -111987,15 +111439,15 @@ "binop": null, "updateContext": null }, - "start": 11605, - "end": 11606, + "start": 10795, + "end": 10796, "loc": { "start": { - "line": 547, + "line": 546, "column": 6 }, "end": { - "line": 547, + "line": 546, "column": 7 } } @@ -112015,15 +111467,15 @@ "updateContext": null }, "value": "new", - "start": 11607, - "end": 11610, + "start": 10797, + "end": 10800, "loc": { "start": { - "line": 547, + "line": 546, "column": 8 }, "end": { - "line": 547, + "line": 546, "column": 11 } } @@ -112041,15 +111493,15 @@ "binop": null }, "value": "Integer", - "start": 11611, - "end": 11618, + "start": 10801, + "end": 10808, "loc": { "start": { - "line": 547, + "line": 546, "column": 12 }, "end": { - "line": 547, + "line": 546, "column": 19 } } @@ -112066,15 +111518,15 @@ "postfix": false, "binop": null }, - "start": 11618, - "end": 11619, + "start": 10808, + "end": 10809, "loc": { "start": { - "line": 547, + "line": 546, "column": 19 }, "end": { - "line": 547, + "line": 546, "column": 20 } } @@ -112092,15 +111544,15 @@ "binop": null }, "value": "r", - "start": 11619, - "end": 11620, + "start": 10809, + "end": 10810, "loc": { "start": { - "line": 547, + "line": 546, "column": 20 }, "end": { - "line": 547, + "line": 546, "column": 21 } } @@ -112118,15 +111570,15 @@ "binop": null, "updateContext": null }, - "start": 11620, - "end": 11621, + "start": 10810, + "end": 10811, "loc": { "start": { - "line": 547, + "line": 546, "column": 21 }, "end": { - "line": 547, + "line": 546, "column": 22 } } @@ -112145,15 +111597,15 @@ "updateContext": null }, "value": 0, - "start": 11622, - "end": 11623, + "start": 10812, + "end": 10813, "loc": { "start": { - "line": 547, + "line": 546, "column": 23 }, "end": { - "line": 547, + "line": 546, "column": 24 } } @@ -112171,15 +111623,15 @@ "binop": null, "updateContext": null }, - "start": 11623, - "end": 11624, + "start": 10813, + "end": 10814, "loc": { "start": { - "line": 547, + "line": 546, "column": 24 }, "end": { - "line": 547, + "line": 546, "column": 25 } } @@ -112197,15 +111649,15 @@ "binop": null }, "value": "gcd", - "start": 11625, - "end": 11628, + "start": 10815, + "end": 10818, "loc": { "start": { - "line": 547, + "line": 546, "column": 26 }, "end": { - "line": 547, + "line": 546, "column": 29 } } @@ -112222,15 +111674,15 @@ "postfix": false, "binop": null }, - "start": 11628, - "end": 11629, + "start": 10818, + "end": 10819, "loc": { "start": { - "line": 547, + "line": 546, "column": 29 }, "end": { - "line": 547, + "line": 546, "column": 30 } } @@ -112248,16 +111700,16 @@ "binop": null, "updateContext": null }, - "start": 11630, - "end": 11631, + "start": 10819, + "end": 10820, "loc": { "start": { - "line": 547, - "column": 31 + "line": 546, + "column": 30 }, "end": { - "line": 547, - "column": 32 + "line": 546, + "column": 31 } } }, @@ -112274,15 +111726,15 @@ "binop": null }, "value": "x", - "start": 11635, - "end": 11636, + "start": 10824, + "end": 10825, "loc": { "start": { - "line": 548, + "line": 547, "column": 3 }, "end": { - "line": 548, + "line": 547, "column": 4 } } @@ -112300,15 +111752,15 @@ "binop": null, "updateContext": null }, - "start": 11636, - "end": 11637, + "start": 10825, + "end": 10826, "loc": { "start": { - "line": 548, + "line": 547, "column": 4 }, "end": { - "line": 548, + "line": 547, "column": 5 } } @@ -112326,16 +111778,16 @@ "binop": null }, "value": "x", - "start": 11638, - "end": 11639, + "start": 10831, + "end": 10832, "loc": { "start": { "line": 548, - "column": 6 + "column": 4 }, "end": { "line": 548, - "column": 7 + "column": 5 } } }, @@ -112352,16 +111804,16 @@ "binop": null, "updateContext": null }, - "start": 11639, - "end": 11640, + "start": 10832, + "end": 10833, "loc": { "start": { "line": 548, - "column": 7 + "column": 5 }, "end": { "line": 548, - "column": 8 + "column": 6 } } }, @@ -112378,22 +111830,22 @@ "binop": null }, "value": "length", - "start": 11640, - "end": 11646, + "start": 10833, + "end": 10839, "loc": { "start": { "line": 548, - "column": 8 + "column": 6 }, "end": { "line": 548, - "column": 14 + "column": 12 } } }, { "type": { - "label": "?", + "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -112401,11 +111853,39 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": ">", + "start": 10840, + "end": 10841, + "loc": { + "start": { + "line": 548, + "column": 13 + }, + "end": { + "line": 548, + "column": 14 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null, "updateContext": null }, - "start": 11647, - "end": 11648, + "value": 0, + "start": 10842, + "end": 10843, "loc": { "start": { "line": 548, @@ -112417,6 +111897,32 @@ } } }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10849, + "end": 10850, + "loc": { + "start": { + "line": 549, + "column": 5 + }, + "end": { + "line": 549, + "column": 6 + } + } + }, { "type": { "label": "new", @@ -112432,16 +111938,16 @@ "updateContext": null }, "value": "new", - "start": 11649, - "end": 11652, + "start": 10851, + "end": 10854, "loc": { "start": { - "line": 548, - "column": 17 + "line": 549, + "column": 7 }, "end": { - "line": 548, - "column": 20 + "line": 549, + "column": 10 } } }, @@ -112458,16 +111964,16 @@ "binop": null }, "value": "Integer", - "start": 11653, - "end": 11660, + "start": 10855, + "end": 10862, "loc": { "start": { - "line": 548, - "column": 21 + "line": 549, + "column": 11 }, "end": { - "line": 548, - "column": 28 + "line": 549, + "column": 18 } } }, @@ -112483,16 +111989,16 @@ "postfix": false, "binop": null }, - "start": 11660, - "end": 11661, + "start": 10862, + "end": 10863, "loc": { "start": { - "line": 548, - "column": 28 + "line": 549, + "column": 18 }, "end": { - "line": 548, - "column": 29 + "line": 549, + "column": 19 } } }, @@ -112509,16 +112015,16 @@ "binop": null }, "value": "r", - "start": 11661, - "end": 11662, + "start": 10863, + "end": 10864, "loc": { "start": { - "line": 548, - "column": 29 + "line": 549, + "column": 19 }, "end": { - "line": 548, - "column": 30 + "line": 549, + "column": 20 } } }, @@ -112535,16 +112041,16 @@ "binop": null, "updateContext": null }, - "start": 11662, - "end": 11663, + "start": 10864, + "end": 10865, "loc": { "start": { - "line": 548, - "column": 30 + "line": 549, + "column": 20 }, "end": { - "line": 548, - "column": 31 + "line": 549, + "column": 21 } } }, @@ -112563,16 +112069,16 @@ "updateContext": null }, "value": "this", - "start": 11664, - "end": 11668, + "start": 10866, + "end": 10870, "loc": { "start": { - "line": 548, - "column": 32 + "line": 549, + "column": 22 }, "end": { - "line": 548, - "column": 36 + "line": 549, + "column": 26 } } }, @@ -112589,16 +112095,16 @@ "binop": null, "updateContext": null }, - "start": 11668, - "end": 11669, + "start": 10870, + "end": 10871, "loc": { "start": { - "line": 548, - "column": 36 + "line": 549, + "column": 26 }, "end": { - "line": 548, - "column": 37 + "line": 549, + "column": 27 } } }, @@ -112614,17 +112120,17 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 11669, - "end": 11680, + "value": "_is_negative", + "start": 10871, + "end": 10883, "loc": { "start": { - "line": 548, - "column": 37 + "line": 549, + "column": 27 }, "end": { - "line": 548, - "column": 48 + "line": 549, + "column": 39 } } }, @@ -112642,16 +112148,16 @@ "updateContext": null }, "value": "^", - "start": 11681, - "end": 11682, + "start": 10884, + "end": 10885, "loc": { "start": { - "line": 548, - "column": 49 + "line": 549, + "column": 40 }, "end": { - "line": 548, - "column": 50 + "line": 549, + "column": 41 } } }, @@ -112667,16 +112173,16 @@ "postfix": false, "binop": null }, - "start": 11683, - "end": 11684, + "start": 10886, + "end": 10887, "loc": { "start": { - "line": 548, - "column": 51 + "line": 549, + "column": 42 }, "end": { - "line": 548, - "column": 52 + "line": 549, + "column": 43 } } }, @@ -112692,16 +112198,16 @@ "postfix": false, "binop": null }, - "start": 11684, - "end": 11685, + "start": 10887, + "end": 10888, "loc": { "start": { - "line": 548, - "column": 52 + "line": 549, + "column": 43 }, "end": { - "line": 548, - "column": 53 + "line": 549, + "column": 44 } } }, @@ -112718,16 +112224,16 @@ "binop": null }, "value": "steps", - "start": 11685, - "end": 11690, + "start": 10888, + "end": 10893, "loc": { "start": { - "line": 548, - "column": 53 + "line": 549, + "column": 44 }, "end": { - "line": 548, - "column": 58 + "line": 549, + "column": 49 } } }, @@ -112745,16 +112251,16 @@ "updateContext": null }, "value": "%", - "start": 11691, - "end": 11692, + "start": 10894, + "end": 10895, "loc": { "start": { - "line": 548, - "column": 59 + "line": 549, + "column": 50 }, "end": { - "line": 548, - "column": 60 + "line": 549, + "column": 51 } } }, @@ -112772,16 +112278,16 @@ "updateContext": null }, "value": 2, - "start": 11693, - "end": 11694, + "start": 10896, + "end": 10897, "loc": { "start": { - "line": 548, - "column": 61 + "line": 549, + "column": 52 }, "end": { - "line": 548, - "column": 62 + "line": 549, + "column": 53 } } }, @@ -112797,16 +112303,16 @@ "postfix": false, "binop": null }, - "start": 11694, - "end": 11695, + "start": 10897, + "end": 10898, "loc": { "start": { - "line": 548, - "column": 62 + "line": 549, + "column": 53 }, "end": { - "line": 548, - "column": 63 + "line": 549, + "column": 54 } } }, @@ -112824,16 +112330,16 @@ "updateContext": null }, "value": "-", - "start": 11695, - "end": 11696, + "start": 10899, + "end": 10900, "loc": { "start": { - "line": 548, - "column": 63 + "line": 549, + "column": 55 }, "end": { - "line": 548, - "column": 64 + "line": 549, + "column": 56 } } }, @@ -112851,16 +112357,16 @@ "updateContext": null }, "value": 1, - "start": 11696, - "end": 11697, + "start": 10901, + "end": 10902, "loc": { "start": { - "line": 548, - "column": 64 + "line": 549, + "column": 57 }, "end": { - "line": 548, - "column": 65 + "line": 549, + "column": 58 } } }, @@ -112876,16 +112382,16 @@ "postfix": false, "binop": null }, - "start": 11697, - "end": 11698, + "start": 10902, + "end": 10903, "loc": { "start": { - "line": 548, - "column": 65 + "line": 549, + "column": 58 }, "end": { - "line": 548, - "column": 66 + "line": 549, + "column": 59 } } }, @@ -112902,16 +112408,16 @@ "binop": null, "updateContext": null }, - "start": 11698, - "end": 11699, + "start": 10903, + "end": 10904, "loc": { "start": { - "line": 548, - "column": 66 + "line": 549, + "column": 59 }, "end": { - "line": 548, - "column": 67 + "line": 549, + "column": 60 } } }, @@ -112928,16 +112434,16 @@ "binop": null }, "value": "x", - "start": 11700, - "end": 11701, + "start": 10905, + "end": 10906, "loc": { "start": { - "line": 548, - "column": 68 + "line": 549, + "column": 61 }, "end": { - "line": 548, - "column": 69 + "line": 549, + "column": 62 } } }, @@ -112953,16 +112459,16 @@ "postfix": false, "binop": null }, - "start": 11701, - "end": 11702, + "start": 10906, + "end": 10907, "loc": { "start": { - "line": 548, - "column": 69 + "line": 549, + "column": 62 }, "end": { - "line": 548, - "column": 70 + "line": 549, + "column": 63 } } }, @@ -112979,16 +112485,16 @@ "binop": null, "updateContext": null }, - "start": 11703, - "end": 11704, + "start": 10913, + "end": 10914, "loc": { "start": { - "line": 548, - "column": 71 + "line": 550, + "column": 5 }, "end": { - "line": 548, - "column": 72 + "line": 550, + "column": 6 } } }, @@ -113007,16 +112513,16 @@ "updateContext": null }, "value": "new", - "start": 11705, - "end": 11708, + "start": 10915, + "end": 10918, "loc": { "start": { - "line": 548, - "column": 73 + "line": 550, + "column": 7 }, "end": { - "line": 548, - "column": 76 + "line": 550, + "column": 10 } } }, @@ -113033,16 +112539,16 @@ "binop": null }, "value": "Integer", - "start": 11709, - "end": 11716, + "start": 10919, + "end": 10926, "loc": { "start": { - "line": 548, - "column": 77 + "line": 550, + "column": 11 }, "end": { - "line": 548, - "column": 84 + "line": 550, + "column": 18 } } }, @@ -113058,16 +112564,16 @@ "postfix": false, "binop": null }, - "start": 11716, - "end": 11717, + "start": 10926, + "end": 10927, "loc": { "start": { - "line": 548, - "column": 84 + "line": 550, + "column": 18 }, "end": { - "line": 548, - "column": 85 + "line": 550, + "column": 19 } } }, @@ -113084,16 +112590,16 @@ "binop": null }, "value": "r", - "start": 11717, - "end": 11718, + "start": 10927, + "end": 10928, "loc": { "start": { - "line": 548, - "column": 85 + "line": 550, + "column": 19 }, "end": { - "line": 548, - "column": 86 + "line": 550, + "column": 20 } } }, @@ -113110,16 +112616,16 @@ "binop": null, "updateContext": null }, - "start": 11718, - "end": 11719, + "start": 10928, + "end": 10929, "loc": { "start": { - "line": 548, - "column": 86 + "line": 550, + "column": 20 }, "end": { - "line": 548, - "column": 87 + "line": 550, + "column": 21 } } }, @@ -113137,16 +112643,16 @@ "updateContext": null }, "value": 0, - "start": 11720, - "end": 11721, + "start": 10930, + "end": 10931, "loc": { "start": { - "line": 548, - "column": 88 + "line": 550, + "column": 22 }, "end": { - "line": 548, - "column": 89 + "line": 550, + "column": 23 } } }, @@ -113163,16 +112669,16 @@ "binop": null, "updateContext": null }, - "start": 11721, - "end": 11722, + "start": 10931, + "end": 10932, "loc": { "start": { - "line": 548, - "column": 89 + "line": 550, + "column": 23 }, "end": { - "line": 548, - "column": 90 + "line": 550, + "column": 24 } } }, @@ -113189,16 +112695,16 @@ "binop": null, "updateContext": null }, - "start": 11723, - "end": 11724, + "start": 10933, + "end": 10934, "loc": { "start": { - "line": 548, - "column": 91 + "line": 550, + "column": 25 }, "end": { - "line": 548, - "column": 92 + "line": 550, + "column": 26 } } }, @@ -113216,16 +112722,16 @@ "updateContext": null }, "value": 0, - "start": 11724, - "end": 11725, + "start": 10934, + "end": 10935, "loc": { "start": { - "line": 548, - "column": 92 + "line": 550, + "column": 26 }, "end": { - "line": 548, - "column": 93 + "line": 550, + "column": 27 } } }, @@ -113242,16 +112748,16 @@ "binop": null, "updateContext": null }, - "start": 11725, - "end": 11726, + "start": 10935, + "end": 10936, "loc": { "start": { - "line": 548, - "column": 93 + "line": 550, + "column": 27 }, "end": { - "line": 548, - "column": 94 + "line": 550, + "column": 28 } } }, @@ -113267,16 +112773,16 @@ "postfix": false, "binop": null }, - "start": 11726, - "end": 11727, + "start": 10936, + "end": 10937, "loc": { "start": { - "line": 548, - "column": 94 + "line": 550, + "column": 28 }, "end": { - "line": 548, - "column": 95 + "line": 550, + "column": 29 } } }, @@ -113293,16 +112799,16 @@ "binop": null, "updateContext": null }, - "start": 11728, - "end": 11729, + "start": 10937, + "end": 10938, "loc": { "start": { - "line": 548, - "column": 96 + "line": 550, + "column": 29 }, "end": { - "line": 548, - "column": 97 + "line": 550, + "column": 30 } } }, @@ -113319,15 +112825,15 @@ "binop": null }, "value": "y", - "start": 11733, - "end": 11734, + "start": 10942, + "end": 10943, "loc": { "start": { - "line": 549, + "line": 551, "column": 3 }, "end": { - "line": 549, + "line": 551, "column": 4 } } @@ -113345,15 +112851,15 @@ "binop": null, "updateContext": null }, - "start": 11734, - "end": 11735, + "start": 10943, + "end": 10944, "loc": { "start": { - "line": 549, + "line": 551, "column": 4 }, "end": { - "line": 549, + "line": 551, "column": 5 } } @@ -113371,16 +112877,16 @@ "binop": null }, "value": "y", - "start": 11736, - "end": 11737, + "start": 10949, + "end": 10950, "loc": { "start": { - "line": 549, - "column": 6 + "line": 552, + "column": 4 }, "end": { - "line": 549, - "column": 7 + "line": 552, + "column": 5 } } }, @@ -113397,22 +112903,75 @@ "binop": null, "updateContext": null }, - "start": 11737, - "end": 11738, + "start": 10950, + "end": 10951, "loc": { "start": { - "line": 549, - "column": 7 + "line": 552, + "column": 5 + }, + "end": { + "line": 552, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 10951, + "end": 10957, + "loc": { + "start": { + "line": 552, + "column": 6 + }, + "end": { + "line": 552, + "column": 12 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": ">", + "start": 10958, + "end": 10959, + "loc": { + "start": { + "line": 552, + "column": 13 }, "end": { - "line": 549, - "column": 8 + "line": 552, + "column": 14 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -113420,19 +112979,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "length", - "start": 11738, - "end": 11744, + "value": 0, + "start": 10960, + "end": 10961, "loc": { "start": { - "line": 549, - "column": 8 + "line": 552, + "column": 15 }, "end": { - "line": 549, - "column": 14 + "line": 552, + "column": 16 } } }, @@ -113449,16 +113009,16 @@ "binop": null, "updateContext": null }, - "start": 11745, - "end": 11746, + "start": 10967, + "end": 10968, "loc": { "start": { - "line": 549, - "column": 15 + "line": 553, + "column": 5 }, "end": { - "line": 549, - "column": 16 + "line": 553, + "column": 6 } } }, @@ -113477,16 +113037,16 @@ "updateContext": null }, "value": "new", - "start": 11747, - "end": 11750, + "start": 10969, + "end": 10972, "loc": { "start": { - "line": 549, - "column": 17 + "line": 553, + "column": 7 }, "end": { - "line": 549, - "column": 20 + "line": 553, + "column": 10 } } }, @@ -113503,16 +113063,16 @@ "binop": null }, "value": "Integer", - "start": 11751, - "end": 11758, + "start": 10973, + "end": 10980, "loc": { "start": { - "line": 549, - "column": 21 + "line": 553, + "column": 11 }, "end": { - "line": 549, - "column": 28 + "line": 553, + "column": 18 } } }, @@ -113528,16 +113088,16 @@ "postfix": false, "binop": null }, - "start": 11758, - "end": 11759, + "start": 10980, + "end": 10981, "loc": { "start": { - "line": 549, - "column": 28 + "line": 553, + "column": 18 }, "end": { - "line": 549, - "column": 29 + "line": 553, + "column": 19 } } }, @@ -113554,16 +113114,16 @@ "binop": null }, "value": "r", - "start": 11759, - "end": 11760, + "start": 10981, + "end": 10982, "loc": { "start": { - "line": 549, - "column": 29 + "line": 553, + "column": 19 }, "end": { - "line": 549, - "column": 30 + "line": 553, + "column": 20 } } }, @@ -113580,16 +113140,16 @@ "binop": null, "updateContext": null }, - "start": 11760, - "end": 11761, + "start": 10982, + "end": 10983, "loc": { "start": { - "line": 549, - "column": 30 + "line": 553, + "column": 20 }, "end": { - "line": 549, - "column": 31 + "line": 553, + "column": 21 } } }, @@ -113606,16 +113166,16 @@ "binop": null }, "value": "other", - "start": 11762, - "end": 11767, + "start": 10984, + "end": 10989, "loc": { "start": { - "line": 549, - "column": 32 + "line": 553, + "column": 22 }, "end": { - "line": 549, - "column": 37 + "line": 553, + "column": 27 } } }, @@ -113632,16 +113192,16 @@ "binop": null, "updateContext": null }, - "start": 11767, - "end": 11768, + "start": 10989, + "end": 10990, "loc": { "start": { - "line": 549, - "column": 37 + "line": 553, + "column": 27 }, "end": { - "line": 549, - "column": 38 + "line": 553, + "column": 28 } } }, @@ -113657,17 +113217,17 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 11768, - "end": 11779, + "value": "_is_negative", + "start": 10990, + "end": 11002, "loc": { "start": { - "line": 549, - "column": 38 + "line": 553, + "column": 28 }, "end": { - "line": 549, - "column": 49 + "line": 553, + "column": 40 } } }, @@ -113685,41 +113245,16 @@ "updateContext": null }, "value": "^", - "start": 11780, - "end": 11781, - "loc": { - "start": { - "line": 549, - "column": 50 - }, - "end": { - "line": 549, - "column": 51 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11782, - "end": 11783, + "start": 11003, + "end": 11004, "loc": { "start": { - "line": 549, - "column": 52 + "line": 553, + "column": 41 }, "end": { - "line": 549, - "column": 53 + "line": 553, + "column": 42 } } }, @@ -113737,16 +113272,16 @@ "updateContext": null }, "value": "-", - "start": 11783, - "end": 11784, + "start": 11005, + "end": 11006, "loc": { "start": { - "line": 549, - "column": 53 + "line": 553, + "column": 43 }, "end": { - "line": 549, - "column": 54 + "line": 553, + "column": 44 } } }, @@ -113762,16 +113297,16 @@ "postfix": false, "binop": null }, - "start": 11784, - "end": 11785, + "start": 11006, + "end": 11007, "loc": { "start": { - "line": 549, - "column": 54 + "line": 553, + "column": 44 }, "end": { - "line": 549, - "column": 55 + "line": 553, + "column": 45 } } }, @@ -113788,16 +113323,16 @@ "binop": null }, "value": "steps", - "start": 11785, - "end": 11790, + "start": 11007, + "end": 11012, "loc": { "start": { - "line": 549, - "column": 55 + "line": 553, + "column": 45 }, "end": { - "line": 549, - "column": 60 + "line": 553, + "column": 50 } } }, @@ -113815,16 +113350,16 @@ "updateContext": null }, "value": "%", - "start": 11791, - "end": 11792, + "start": 11013, + "end": 11014, "loc": { "start": { - "line": 549, - "column": 61 + "line": 553, + "column": 51 }, "end": { - "line": 549, - "column": 62 + "line": 553, + "column": 52 } } }, @@ -113842,41 +113377,16 @@ "updateContext": null }, "value": 2, - "start": 11793, - "end": 11794, - "loc": { - "start": { - "line": 549, - "column": 63 - }, - "end": { - "line": 549, - "column": 64 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11794, - "end": 11795, + "start": 11015, + "end": 11016, "loc": { "start": { - "line": 549, - "column": 64 + "line": 553, + "column": 53 }, "end": { - "line": 549, - "column": 65 + "line": 553, + "column": 54 } } }, @@ -113892,16 +113402,16 @@ "postfix": false, "binop": null }, - "start": 11795, - "end": 11796, + "start": 11016, + "end": 11017, "loc": { "start": { - "line": 549, - "column": 65 + "line": 553, + "column": 54 }, "end": { - "line": 549, - "column": 66 + "line": 553, + "column": 55 } } }, @@ -113918,16 +113428,16 @@ "binop": null, "updateContext": null }, - "start": 11796, - "end": 11797, + "start": 11017, + "end": 11018, "loc": { "start": { - "line": 549, - "column": 66 + "line": 553, + "column": 55 }, "end": { - "line": 549, - "column": 67 + "line": 553, + "column": 56 } } }, @@ -113944,16 +113454,16 @@ "binop": null }, "value": "y", - "start": 11798, - "end": 11799, + "start": 11019, + "end": 11020, "loc": { "start": { - "line": 549, - "column": 68 + "line": 553, + "column": 57 }, "end": { - "line": 549, - "column": 69 + "line": 553, + "column": 58 } } }, @@ -113969,16 +113479,16 @@ "postfix": false, "binop": null }, - "start": 11799, - "end": 11800, + "start": 11020, + "end": 11021, "loc": { "start": { - "line": 549, - "column": 69 + "line": 553, + "column": 58 }, "end": { - "line": 549, - "column": 70 + "line": 553, + "column": 59 } } }, @@ -113995,16 +113505,16 @@ "binop": null, "updateContext": null }, - "start": 11801, - "end": 11802, + "start": 11027, + "end": 11028, "loc": { "start": { - "line": 549, - "column": 71 + "line": 554, + "column": 5 }, "end": { - "line": 549, - "column": 72 + "line": 554, + "column": 6 } } }, @@ -114023,16 +113533,16 @@ "updateContext": null }, "value": "new", - "start": 11803, - "end": 11806, + "start": 11029, + "end": 11032, "loc": { "start": { - "line": 549, - "column": 73 + "line": 554, + "column": 7 }, "end": { - "line": 549, - "column": 76 + "line": 554, + "column": 10 } } }, @@ -114049,16 +113559,16 @@ "binop": null }, "value": "Integer", - "start": 11807, - "end": 11814, + "start": 11033, + "end": 11040, "loc": { "start": { - "line": 549, - "column": 77 + "line": 554, + "column": 11 }, "end": { - "line": 549, - "column": 84 + "line": 554, + "column": 18 } } }, @@ -114074,16 +113584,16 @@ "postfix": false, "binop": null }, - "start": 11814, - "end": 11815, + "start": 11040, + "end": 11041, "loc": { "start": { - "line": 549, - "column": 84 + "line": 554, + "column": 18 }, "end": { - "line": 549, - "column": 85 + "line": 554, + "column": 19 } } }, @@ -114100,16 +113610,16 @@ "binop": null }, "value": "r", - "start": 11815, - "end": 11816, + "start": 11041, + "end": 11042, "loc": { "start": { - "line": 549, - "column": 85 + "line": 554, + "column": 19 }, "end": { - "line": 549, - "column": 86 + "line": 554, + "column": 20 } } }, @@ -114126,16 +113636,16 @@ "binop": null, "updateContext": null }, - "start": 11816, - "end": 11817, + "start": 11042, + "end": 11043, "loc": { "start": { - "line": 549, - "column": 86 + "line": 554, + "column": 20 }, "end": { - "line": 549, - "column": 87 + "line": 554, + "column": 21 } } }, @@ -114153,16 +113663,16 @@ "updateContext": null }, "value": 0, - "start": 11818, - "end": 11819, + "start": 11044, + "end": 11045, "loc": { "start": { - "line": 549, - "column": 88 + "line": 554, + "column": 22 }, "end": { - "line": 549, - "column": 89 + "line": 554, + "column": 23 } } }, @@ -114179,16 +113689,16 @@ "binop": null, "updateContext": null }, - "start": 11819, - "end": 11820, + "start": 11045, + "end": 11046, "loc": { "start": { - "line": 549, - "column": 89 + "line": 554, + "column": 23 }, "end": { - "line": 549, - "column": 90 + "line": 554, + "column": 24 } } }, @@ -114205,16 +113715,16 @@ "binop": null, "updateContext": null }, - "start": 11821, - "end": 11822, + "start": 11047, + "end": 11048, "loc": { "start": { - "line": 549, - "column": 91 + "line": 554, + "column": 25 }, "end": { - "line": 549, - "column": 92 + "line": 554, + "column": 26 } } }, @@ -114232,16 +113742,16 @@ "updateContext": null }, "value": 0, - "start": 11822, - "end": 11823, + "start": 11048, + "end": 11049, "loc": { "start": { - "line": 549, - "column": 92 + "line": 554, + "column": 26 }, "end": { - "line": 549, - "column": 93 + "line": 554, + "column": 27 } } }, @@ -114258,16 +113768,16 @@ "binop": null, "updateContext": null }, - "start": 11823, - "end": 11824, + "start": 11049, + "end": 11050, "loc": { "start": { - "line": 549, - "column": 93 + "line": 554, + "column": 27 }, "end": { - "line": 549, - "column": 94 + "line": 554, + "column": 28 } } }, @@ -114283,16 +113793,16 @@ "postfix": false, "binop": null }, - "start": 11824, - "end": 11825, + "start": 11050, + "end": 11051, "loc": { "start": { - "line": 549, - "column": 94 + "line": 554, + "column": 28 }, "end": { - "line": 549, - "column": 95 + "line": 554, + "column": 29 } } }, @@ -114309,16 +113819,16 @@ "binop": null, "updateContext": null }, - "start": 11826, - "end": 11827, + "start": 11051, + "end": 11052, "loc": { "start": { - "line": 549, - "column": 96 + "line": 554, + "column": 29 }, "end": { - "line": 549, - "column": 97 + "line": 554, + "column": 30 } } }, @@ -114335,15 +113845,15 @@ "binop": null }, "value": "u", - "start": 11831, - "end": 11832, + "start": 11056, + "end": 11057, "loc": { "start": { - "line": 550, + "line": 555, "column": 3 }, "end": { - "line": 550, + "line": 555, "column": 4 } } @@ -114361,15 +113871,15 @@ "binop": null, "updateContext": null }, - "start": 11832, - "end": 11833, + "start": 11057, + "end": 11058, "loc": { "start": { - "line": 550, + "line": 555, "column": 4 }, "end": { - "line": 550, + "line": 555, "column": 5 } } @@ -114387,16 +113897,16 @@ "binop": null }, "value": "u", - "start": 11834, - "end": 11835, + "start": 11063, + "end": 11064, "loc": { "start": { - "line": 550, - "column": 6 + "line": 556, + "column": 4 }, "end": { - "line": 550, - "column": 7 + "line": 556, + "column": 5 } } }, @@ -114413,16 +113923,16 @@ "binop": null, "updateContext": null }, - "start": 11835, - "end": 11836, + "start": 11064, + "end": 11065, "loc": { "start": { - "line": 550, - "column": 7 + "line": 556, + "column": 5 }, "end": { - "line": 550, - "column": 8 + "line": 556, + "column": 6 } } }, @@ -114439,22 +113949,22 @@ "binop": null }, "value": "length", - "start": 11836, - "end": 11842, + "start": 11065, + "end": 11071, "loc": { "start": { - "line": 550, - "column": 8 + "line": 556, + "column": 6 }, "end": { - "line": 550, - "column": 14 + "line": 556, + "column": 12 } } }, { "type": { - "label": "?", + "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -114462,22 +113972,76 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": ">", + "start": 11072, + "end": 11073, + "loc": { + "start": { + "line": 556, + "column": 13 + }, + "end": { + "line": 556, + "column": 14 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null, "updateContext": null }, - "start": 11843, - "end": 11844, + "value": 0, + "start": 11074, + "end": 11075, "loc": { "start": { - "line": 550, + "line": 556, "column": 15 }, "end": { - "line": 550, + "line": 556, "column": 16 } } }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11081, + "end": 11082, + "loc": { + "start": { + "line": 557, + "column": 5 + }, + "end": { + "line": 557, + "column": 6 + } + } + }, { "type": { "label": "new", @@ -114493,16 +114057,16 @@ "updateContext": null }, "value": "new", - "start": 11845, - "end": 11848, + "start": 11083, + "end": 11086, "loc": { "start": { - "line": 550, - "column": 17 + "line": 557, + "column": 7 }, "end": { - "line": 550, - "column": 20 + "line": 557, + "column": 10 } } }, @@ -114519,16 +114083,16 @@ "binop": null }, "value": "Integer", - "start": 11849, - "end": 11856, + "start": 11087, + "end": 11094, "loc": { "start": { - "line": 550, - "column": 21 + "line": 557, + "column": 11 }, "end": { - "line": 550, - "column": 28 + "line": 557, + "column": 18 } } }, @@ -114544,16 +114108,16 @@ "postfix": false, "binop": null }, - "start": 11856, - "end": 11857, + "start": 11094, + "end": 11095, "loc": { "start": { - "line": 550, - "column": 28 + "line": 557, + "column": 18 }, "end": { - "line": 550, - "column": 29 + "line": 557, + "column": 19 } } }, @@ -114570,16 +114134,16 @@ "binop": null }, "value": "r", - "start": 11857, - "end": 11858, + "start": 11095, + "end": 11096, "loc": { "start": { - "line": 550, - "column": 29 + "line": 557, + "column": 19 }, "end": { - "line": 550, - "column": 30 + "line": 557, + "column": 20 } } }, @@ -114596,16 +114160,16 @@ "binop": null, "updateContext": null }, - "start": 11858, - "end": 11859, + "start": 11096, + "end": 11097, "loc": { "start": { - "line": 550, - "column": 30 + "line": 557, + "column": 20 }, "end": { - "line": 550, - "column": 31 + "line": 557, + "column": 21 } } }, @@ -114624,16 +114188,16 @@ "updateContext": null }, "value": "this", - "start": 11860, - "end": 11864, + "start": 11098, + "end": 11102, "loc": { "start": { - "line": 550, - "column": 32 + "line": 557, + "column": 22 }, "end": { - "line": 550, - "column": 36 + "line": 557, + "column": 26 } } }, @@ -114650,16 +114214,16 @@ "binop": null, "updateContext": null }, - "start": 11864, - "end": 11865, + "start": 11102, + "end": 11103, "loc": { "start": { - "line": 550, - "column": 36 + "line": 557, + "column": 26 }, "end": { - "line": 550, - "column": 37 + "line": 557, + "column": 27 } } }, @@ -114675,17 +114239,17 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 11865, - "end": 11876, + "value": "_is_negative", + "start": 11103, + "end": 11115, "loc": { "start": { - "line": 550, - "column": 37 + "line": 557, + "column": 27 }, "end": { - "line": 550, - "column": 48 + "line": 557, + "column": 39 } } }, @@ -114699,45 +114263,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 4, - "updateContext": null - }, - "value": "^", - "start": 11877, - "end": 11878, - "loc": { - "start": { - "line": 550, - "column": 49 - }, - "end": { - "line": 550, - "column": 50 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null + "binop": 4, + "updateContext": null }, - "start": 11879, - "end": 11880, + "value": "^", + "start": 11116, + "end": 11117, "loc": { "start": { - "line": 550, - "column": 51 + "line": 557, + "column": 40 }, "end": { - "line": 550, - "column": 52 + "line": 557, + "column": 41 } } }, @@ -114755,16 +114294,16 @@ "updateContext": null }, "value": "-", - "start": 11880, - "end": 11881, + "start": 11118, + "end": 11119, "loc": { "start": { - "line": 550, - "column": 52 + "line": 557, + "column": 42 }, "end": { - "line": 550, - "column": 53 + "line": 557, + "column": 43 } } }, @@ -114780,16 +114319,16 @@ "postfix": false, "binop": null }, - "start": 11881, - "end": 11882, + "start": 11119, + "end": 11120, "loc": { "start": { - "line": 550, - "column": 53 + "line": 557, + "column": 43 }, "end": { - "line": 550, - "column": 54 + "line": 557, + "column": 44 } } }, @@ -114806,16 +114345,16 @@ "binop": null }, "value": "steps", - "start": 11882, - "end": 11887, + "start": 11120, + "end": 11125, "loc": { "start": { - "line": 550, - "column": 54 + "line": 557, + "column": 44 }, "end": { - "line": 550, - "column": 59 + "line": 557, + "column": 49 } } }, @@ -114833,16 +114372,16 @@ "updateContext": null }, "value": "%", - "start": 11888, - "end": 11889, + "start": 11126, + "end": 11127, "loc": { "start": { - "line": 550, - "column": 60 + "line": 557, + "column": 50 }, "end": { - "line": 550, - "column": 61 + "line": 557, + "column": 51 } } }, @@ -114860,41 +114399,16 @@ "updateContext": null }, "value": 2, - "start": 11890, - "end": 11891, - "loc": { - "start": { - "line": 550, - "column": 62 - }, - "end": { - "line": 550, - "column": 63 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11891, - "end": 11892, + "start": 11128, + "end": 11129, "loc": { "start": { - "line": 550, - "column": 63 + "line": 557, + "column": 52 }, "end": { - "line": 550, - "column": 64 + "line": 557, + "column": 53 } } }, @@ -114910,16 +114424,16 @@ "postfix": false, "binop": null }, - "start": 11892, - "end": 11893, + "start": 11129, + "end": 11130, "loc": { "start": { - "line": 550, - "column": 64 + "line": 557, + "column": 53 }, "end": { - "line": 550, - "column": 65 + "line": 557, + "column": 54 } } }, @@ -114936,16 +114450,16 @@ "binop": null, "updateContext": null }, - "start": 11893, - "end": 11894, + "start": 11130, + "end": 11131, "loc": { "start": { - "line": 550, - "column": 65 + "line": 557, + "column": 54 }, "end": { - "line": 550, - "column": 66 + "line": 557, + "column": 55 } } }, @@ -114962,16 +114476,16 @@ "binop": null }, "value": "u", - "start": 11895, - "end": 11896, + "start": 11132, + "end": 11133, "loc": { "start": { - "line": 550, - "column": 67 + "line": 557, + "column": 56 }, "end": { - "line": 550, - "column": 68 + "line": 557, + "column": 57 } } }, @@ -114987,16 +114501,16 @@ "postfix": false, "binop": null }, - "start": 11896, - "end": 11897, + "start": 11133, + "end": 11134, "loc": { "start": { - "line": 550, - "column": 68 + "line": 557, + "column": 57 }, "end": { - "line": 550, - "column": 69 + "line": 557, + "column": 58 } } }, @@ -115013,16 +114527,16 @@ "binop": null, "updateContext": null }, - "start": 11898, - "end": 11899, + "start": 11140, + "end": 11141, "loc": { "start": { - "line": 550, - "column": 70 + "line": 558, + "column": 5 }, "end": { - "line": 550, - "column": 71 + "line": 558, + "column": 6 } } }, @@ -115041,16 +114555,16 @@ "updateContext": null }, "value": "new", - "start": 11900, - "end": 11903, + "start": 11142, + "end": 11145, "loc": { "start": { - "line": 550, - "column": 72 + "line": 558, + "column": 7 }, "end": { - "line": 550, - "column": 75 + "line": 558, + "column": 10 } } }, @@ -115067,16 +114581,16 @@ "binop": null }, "value": "Integer", - "start": 11904, - "end": 11911, + "start": 11146, + "end": 11153, "loc": { "start": { - "line": 550, - "column": 76 + "line": 558, + "column": 11 }, "end": { - "line": 550, - "column": 83 + "line": 558, + "column": 18 } } }, @@ -115092,16 +114606,16 @@ "postfix": false, "binop": null }, - "start": 11911, - "end": 11912, + "start": 11153, + "end": 11154, "loc": { "start": { - "line": 550, - "column": 83 + "line": 558, + "column": 18 }, "end": { - "line": 550, - "column": 84 + "line": 558, + "column": 19 } } }, @@ -115118,16 +114632,16 @@ "binop": null }, "value": "r", - "start": 11912, - "end": 11913, + "start": 11154, + "end": 11155, "loc": { "start": { - "line": 550, - "column": 84 + "line": 558, + "column": 19 }, "end": { - "line": 550, - "column": 85 + "line": 558, + "column": 20 } } }, @@ -115144,16 +114658,16 @@ "binop": null, "updateContext": null }, - "start": 11913, - "end": 11914, + "start": 11155, + "end": 11156, "loc": { "start": { - "line": 550, - "column": 85 + "line": 558, + "column": 20 }, "end": { - "line": 550, - "column": 86 + "line": 558, + "column": 21 } } }, @@ -115171,16 +114685,16 @@ "updateContext": null }, "value": 0, - "start": 11915, - "end": 11916, + "start": 11157, + "end": 11158, "loc": { "start": { - "line": 550, - "column": 87 + "line": 558, + "column": 22 }, "end": { - "line": 550, - "column": 88 + "line": 558, + "column": 23 } } }, @@ -115197,16 +114711,16 @@ "binop": null, "updateContext": null }, - "start": 11916, - "end": 11917, + "start": 11158, + "end": 11159, "loc": { "start": { - "line": 550, - "column": 88 + "line": 558, + "column": 23 }, "end": { - "line": 550, - "column": 89 + "line": 558, + "column": 24 } } }, @@ -115223,16 +114737,16 @@ "binop": null, "updateContext": null }, - "start": 11918, - "end": 11919, + "start": 11160, + "end": 11161, "loc": { "start": { - "line": 550, - "column": 90 + "line": 558, + "column": 25 }, "end": { - "line": 550, - "column": 91 + "line": 558, + "column": 26 } } }, @@ -115250,16 +114764,16 @@ "updateContext": null }, "value": 0, - "start": 11919, - "end": 11920, + "start": 11161, + "end": 11162, "loc": { "start": { - "line": 550, - "column": 91 + "line": 558, + "column": 26 }, "end": { - "line": 550, - "column": 92 + "line": 558, + "column": 27 } } }, @@ -115276,16 +114790,16 @@ "binop": null, "updateContext": null }, - "start": 11920, - "end": 11921, + "start": 11162, + "end": 11163, "loc": { "start": { - "line": 550, - "column": 92 + "line": 558, + "column": 27 }, "end": { - "line": 550, - "column": 93 + "line": 558, + "column": 28 } } }, @@ -115301,16 +114815,16 @@ "postfix": false, "binop": null }, - "start": 11921, - "end": 11922, + "start": 11163, + "end": 11164, "loc": { "start": { - "line": 550, - "column": 93 + "line": 558, + "column": 28 }, "end": { - "line": 550, - "column": 94 + "line": 558, + "column": 29 } } }, @@ -115327,16 +114841,16 @@ "binop": null, "updateContext": null }, - "start": 11923, - "end": 11924, + "start": 11164, + "end": 11165, "loc": { "start": { - "line": 550, - "column": 95 + "line": 558, + "column": 29 }, "end": { - "line": 550, - "column": 96 + "line": 558, + "column": 30 } } }, @@ -115353,15 +114867,15 @@ "binop": null }, "value": "v", - "start": 11928, - "end": 11929, + "start": 11169, + "end": 11170, "loc": { "start": { - "line": 551, + "line": 559, "column": 3 }, "end": { - "line": 551, + "line": 559, "column": 4 } } @@ -115379,15 +114893,15 @@ "binop": null, "updateContext": null }, - "start": 11929, - "end": 11930, + "start": 11170, + "end": 11171, "loc": { "start": { - "line": 551, + "line": 559, "column": 4 }, "end": { - "line": 551, + "line": 559, "column": 5 } } @@ -115405,16 +114919,16 @@ "binop": null }, "value": "v", - "start": 11931, - "end": 11932, + "start": 11176, + "end": 11177, "loc": { "start": { - "line": 551, - "column": 6 + "line": 560, + "column": 4 }, "end": { - "line": 551, - "column": 7 + "line": 560, + "column": 5 } } }, @@ -115431,16 +114945,16 @@ "binop": null, "updateContext": null }, - "start": 11932, - "end": 11933, + "start": 11177, + "end": 11178, "loc": { "start": { - "line": 551, - "column": 7 + "line": 560, + "column": 5 }, "end": { - "line": 551, - "column": 8 + "line": 560, + "column": 6 } } }, @@ -115457,22 +114971,22 @@ "binop": null }, "value": "length", - "start": 11933, - "end": 11939, + "start": 11178, + "end": 11184, "loc": { "start": { - "line": 551, - "column": 8 + "line": 560, + "column": 6 }, "end": { - "line": 551, - "column": 14 + "line": 560, + "column": 12 } } }, { "type": { - "label": "?", + "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -115480,22 +114994,76 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": ">", + "start": 11185, + "end": 11186, + "loc": { + "start": { + "line": 560, + "column": 13 + }, + "end": { + "line": 560, + "column": 14 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null, "updateContext": null }, - "start": 11940, - "end": 11941, + "value": 0, + "start": 11187, + "end": 11188, "loc": { "start": { - "line": 551, + "line": 560, "column": 15 }, "end": { - "line": 551, + "line": 560, "column": 16 } } }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11194, + "end": 11195, + "loc": { + "start": { + "line": 561, + "column": 5 + }, + "end": { + "line": 561, + "column": 6 + } + } + }, { "type": { "label": "new", @@ -115511,16 +115079,16 @@ "updateContext": null }, "value": "new", - "start": 11942, - "end": 11945, + "start": 11196, + "end": 11199, "loc": { "start": { - "line": 551, - "column": 17 + "line": 561, + "column": 7 }, "end": { - "line": 551, - "column": 20 + "line": 561, + "column": 10 } } }, @@ -115537,16 +115105,16 @@ "binop": null }, "value": "Integer", - "start": 11946, - "end": 11953, + "start": 11200, + "end": 11207, "loc": { "start": { - "line": 551, - "column": 21 + "line": 561, + "column": 11 }, "end": { - "line": 551, - "column": 28 + "line": 561, + "column": 18 } } }, @@ -115562,16 +115130,16 @@ "postfix": false, "binop": null }, - "start": 11953, - "end": 11954, + "start": 11207, + "end": 11208, "loc": { "start": { - "line": 551, - "column": 28 + "line": 561, + "column": 18 }, "end": { - "line": 551, - "column": 29 + "line": 561, + "column": 19 } } }, @@ -115588,16 +115156,16 @@ "binop": null }, "value": "r", - "start": 11954, - "end": 11955, + "start": 11208, + "end": 11209, "loc": { "start": { - "line": 551, - "column": 29 + "line": 561, + "column": 19 }, "end": { - "line": 551, - "column": 30 + "line": 561, + "column": 20 } } }, @@ -115614,16 +115182,16 @@ "binop": null, "updateContext": null }, - "start": 11955, - "end": 11956, + "start": 11209, + "end": 11210, "loc": { "start": { - "line": 551, - "column": 30 + "line": 561, + "column": 20 }, "end": { - "line": 551, - "column": 31 + "line": 561, + "column": 21 } } }, @@ -115640,16 +115208,16 @@ "binop": null }, "value": "other", - "start": 11957, - "end": 11962, + "start": 11211, + "end": 11216, "loc": { "start": { - "line": 551, - "column": 32 + "line": 561, + "column": 22 }, "end": { - "line": 551, - "column": 37 + "line": 561, + "column": 27 } } }, @@ -115666,16 +115234,16 @@ "binop": null, "updateContext": null }, - "start": 11962, - "end": 11963, + "start": 11216, + "end": 11217, "loc": { "start": { - "line": 551, - "column": 37 + "line": 561, + "column": 27 }, "end": { - "line": 551, - "column": 38 + "line": 561, + "column": 28 } } }, @@ -115691,17 +115259,17 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 11963, - "end": 11974, + "value": "_is_negative", + "start": 11217, + "end": 11229, "loc": { "start": { - "line": 551, - "column": 38 + "line": 561, + "column": 28 }, "end": { - "line": 551, - "column": 49 + "line": 561, + "column": 40 } } }, @@ -115719,16 +115287,16 @@ "updateContext": null }, "value": "^", - "start": 11975, - "end": 11976, + "start": 11230, + "end": 11231, "loc": { "start": { - "line": 551, - "column": 50 + "line": 561, + "column": 41 }, "end": { - "line": 551, - "column": 51 + "line": 561, + "column": 42 } } }, @@ -115744,16 +115312,16 @@ "postfix": false, "binop": null }, - "start": 11977, - "end": 11978, + "start": 11232, + "end": 11233, "loc": { "start": { - "line": 551, - "column": 52 + "line": 561, + "column": 43 }, "end": { - "line": 551, - "column": 53 + "line": 561, + "column": 44 } } }, @@ -115769,16 +115337,16 @@ "postfix": false, "binop": null }, - "start": 11978, - "end": 11979, + "start": 11233, + "end": 11234, "loc": { "start": { - "line": 551, - "column": 53 + "line": 561, + "column": 44 }, "end": { - "line": 551, - "column": 54 + "line": 561, + "column": 45 } } }, @@ -115795,16 +115363,16 @@ "binop": null }, "value": "steps", - "start": 11979, - "end": 11984, + "start": 11234, + "end": 11239, "loc": { "start": { - "line": 551, - "column": 54 + "line": 561, + "column": 45 }, "end": { - "line": 551, - "column": 59 + "line": 561, + "column": 50 } } }, @@ -115822,16 +115390,16 @@ "updateContext": null }, "value": "%", - "start": 11985, - "end": 11986, + "start": 11240, + "end": 11241, "loc": { "start": { - "line": 551, - "column": 60 + "line": 561, + "column": 51 }, "end": { - "line": 551, - "column": 61 + "line": 561, + "column": 52 } } }, @@ -115849,16 +115417,16 @@ "updateContext": null }, "value": 2, - "start": 11987, - "end": 11988, + "start": 11242, + "end": 11243, "loc": { "start": { - "line": 551, - "column": 62 + "line": 561, + "column": 53 }, "end": { - "line": 551, - "column": 63 + "line": 561, + "column": 54 } } }, @@ -115874,16 +115442,16 @@ "postfix": false, "binop": null }, - "start": 11988, - "end": 11989, + "start": 11243, + "end": 11244, "loc": { "start": { - "line": 551, - "column": 63 + "line": 561, + "column": 54 }, "end": { - "line": 551, - "column": 64 + "line": 561, + "column": 55 } } }, @@ -115901,16 +115469,16 @@ "updateContext": null }, "value": "-", - "start": 11989, - "end": 11990, + "start": 11245, + "end": 11246, "loc": { "start": { - "line": 551, - "column": 64 + "line": 561, + "column": 56 }, "end": { - "line": 551, - "column": 65 + "line": 561, + "column": 57 } } }, @@ -115928,16 +115496,16 @@ "updateContext": null }, "value": 1, - "start": 11990, - "end": 11991, + "start": 11247, + "end": 11248, "loc": { "start": { - "line": 551, - "column": 65 + "line": 561, + "column": 58 }, "end": { - "line": 551, - "column": 66 + "line": 561, + "column": 59 } } }, @@ -115953,16 +115521,16 @@ "postfix": false, "binop": null }, - "start": 11991, - "end": 11992, + "start": 11248, + "end": 11249, "loc": { "start": { - "line": 551, - "column": 66 + "line": 561, + "column": 59 }, "end": { - "line": 551, - "column": 67 + "line": 561, + "column": 60 } } }, @@ -115979,16 +115547,16 @@ "binop": null, "updateContext": null }, - "start": 11992, - "end": 11993, + "start": 11249, + "end": 11250, "loc": { "start": { - "line": 551, - "column": 67 + "line": 561, + "column": 60 }, "end": { - "line": 551, - "column": 68 + "line": 561, + "column": 61 } } }, @@ -116005,16 +115573,16 @@ "binop": null }, "value": "v", - "start": 11994, - "end": 11995, + "start": 11251, + "end": 11252, "loc": { "start": { - "line": 551, - "column": 69 + "line": 561, + "column": 62 }, "end": { - "line": 551, - "column": 70 + "line": 561, + "column": 63 } } }, @@ -116030,16 +115598,16 @@ "postfix": false, "binop": null }, - "start": 11995, - "end": 11996, + "start": 11252, + "end": 11253, "loc": { "start": { - "line": 551, - "column": 70 + "line": 561, + "column": 63 }, "end": { - "line": 551, - "column": 71 + "line": 561, + "column": 64 } } }, @@ -116056,16 +115624,16 @@ "binop": null, "updateContext": null }, - "start": 11997, - "end": 11998, + "start": 11259, + "end": 11260, "loc": { "start": { - "line": 551, - "column": 72 + "line": 562, + "column": 5 }, "end": { - "line": 551, - "column": 73 + "line": 562, + "column": 6 } } }, @@ -116084,16 +115652,16 @@ "updateContext": null }, "value": "new", - "start": 11999, - "end": 12002, + "start": 11261, + "end": 11264, "loc": { "start": { - "line": 551, - "column": 74 + "line": 562, + "column": 7 }, "end": { - "line": 551, - "column": 77 + "line": 562, + "column": 10 } } }, @@ -116110,16 +115678,16 @@ "binop": null }, "value": "Integer", - "start": 12003, - "end": 12010, + "start": 11265, + "end": 11272, "loc": { "start": { - "line": 551, - "column": 78 + "line": 562, + "column": 11 }, "end": { - "line": 551, - "column": 85 + "line": 562, + "column": 18 } } }, @@ -116135,16 +115703,16 @@ "postfix": false, "binop": null }, - "start": 12010, - "end": 12011, + "start": 11272, + "end": 11273, "loc": { "start": { - "line": 551, - "column": 85 + "line": 562, + "column": 18 }, "end": { - "line": 551, - "column": 86 + "line": 562, + "column": 19 } } }, @@ -116161,16 +115729,16 @@ "binop": null }, "value": "r", - "start": 12011, - "end": 12012, + "start": 11273, + "end": 11274, "loc": { "start": { - "line": 551, - "column": 86 + "line": 562, + "column": 19 }, "end": { - "line": 551, - "column": 87 + "line": 562, + "column": 20 } } }, @@ -116187,16 +115755,16 @@ "binop": null, "updateContext": null }, - "start": 12012, - "end": 12013, + "start": 11274, + "end": 11275, "loc": { "start": { - "line": 551, - "column": 87 + "line": 562, + "column": 20 }, "end": { - "line": 551, - "column": 88 + "line": 562, + "column": 21 } } }, @@ -116214,16 +115782,16 @@ "updateContext": null }, "value": 0, - "start": 12014, - "end": 12015, + "start": 11276, + "end": 11277, "loc": { "start": { - "line": 551, - "column": 89 + "line": 562, + "column": 22 }, "end": { - "line": 551, - "column": 90 + "line": 562, + "column": 23 } } }, @@ -116240,16 +115808,16 @@ "binop": null, "updateContext": null }, - "start": 12015, - "end": 12016, + "start": 11277, + "end": 11278, "loc": { "start": { - "line": 551, - "column": 90 + "line": 562, + "column": 23 }, "end": { - "line": 551, - "column": 91 + "line": 562, + "column": 24 } } }, @@ -116266,16 +115834,16 @@ "binop": null, "updateContext": null }, - "start": 12017, - "end": 12018, + "start": 11279, + "end": 11280, "loc": { "start": { - "line": 551, - "column": 92 + "line": 562, + "column": 25 }, "end": { - "line": 551, - "column": 93 + "line": 562, + "column": 26 } } }, @@ -116293,16 +115861,16 @@ "updateContext": null }, "value": 0, - "start": 12018, - "end": 12019, + "start": 11280, + "end": 11281, "loc": { "start": { - "line": 551, - "column": 93 + "line": 562, + "column": 26 }, "end": { - "line": 551, - "column": 94 + "line": 562, + "column": 27 } } }, @@ -116319,16 +115887,16 @@ "binop": null, "updateContext": null }, - "start": 12019, - "end": 12020, + "start": 11281, + "end": 11282, "loc": { "start": { - "line": 551, - "column": 94 + "line": 562, + "column": 27 }, "end": { - "line": 551, - "column": 95 + "line": 562, + "column": 28 } } }, @@ -116344,16 +115912,16 @@ "postfix": false, "binop": null }, - "start": 12020, - "end": 12021, + "start": 11282, + "end": 11283, "loc": { "start": { - "line": 551, - "column": 95 + "line": 562, + "column": 28 }, "end": { - "line": 551, - "column": 96 + "line": 562, + "column": 29 } } }, @@ -116370,16 +115938,16 @@ "binop": null, "updateContext": null }, - "start": 12022, - "end": 12023, + "start": 11283, + "end": 11284, "loc": { "start": { - "line": 551, - "column": 97 + "line": 562, + "column": 29 }, "end": { - "line": 551, - "column": 98 + "line": 562, + "column": 30 } } }, @@ -116395,15 +115963,15 @@ "postfix": false, "binop": null }, - "start": 12026, - "end": 12027, + "start": 11287, + "end": 11288, "loc": { "start": { - "line": 552, + "line": 563, "column": 2 }, "end": { - "line": 552, + "line": 563, "column": 3 } } @@ -116421,16 +115989,16 @@ "binop": null, "updateContext": null }, - "start": 12028, - "end": 12029, + "start": 11288, + "end": 11289, "loc": { "start": { - "line": 552, - "column": 4 + "line": 563, + "column": 3 }, "end": { - "line": 552, - "column": 5 + "line": 563, + "column": 4 } } }, @@ -116446,15 +116014,15 @@ "postfix": false, "binop": null }, - "start": 12031, - "end": 12032, + "start": 11291, + "end": 11292, "loc": { "start": { - "line": 553, + "line": 564, "column": 1 }, "end": { - "line": 553, + "line": 564, "column": 2 } } @@ -116472,15 +116040,15 @@ "binop": null }, "value": "valueOf", - "start": 12035, - "end": 12042, + "start": 11295, + "end": 11302, "loc": { "start": { - "line": 555, + "line": 566, "column": 1 }, "end": { - "line": 555, + "line": 566, "column": 8 } } @@ -116497,16 +116065,16 @@ "postfix": false, "binop": null }, - "start": 12043, - "end": 12044, + "start": 11302, + "end": 11303, "loc": { "start": { - "line": 555, - "column": 9 + "line": 566, + "column": 8 }, "end": { - "line": 555, - "column": 10 + "line": 566, + "column": 9 } } }, @@ -116522,16 +116090,16 @@ "postfix": false, "binop": null }, - "start": 12045, - "end": 12046, + "start": 11303, + "end": 11304, "loc": { "start": { - "line": 555, - "column": 11 + "line": 566, + "column": 9 }, "end": { - "line": 555, - "column": 12 + "line": 566, + "column": 10 } } }, @@ -116547,16 +116115,16 @@ "postfix": false, "binop": null }, - "start": 12047, - "end": 12048, + "start": 11305, + "end": 11306, "loc": { "start": { - "line": 555, - "column": 13 + "line": 566, + "column": 11 }, "end": { - "line": 555, - "column": 14 + "line": 566, + "column": 12 } } }, @@ -116575,15 +116143,15 @@ "updateContext": null }, "value": "if", - "start": 12052, - "end": 12054, + "start": 11309, + "end": 11311, "loc": { "start": { - "line": 557, + "line": 567, "column": 2 }, "end": { - "line": 557, + "line": 567, "column": 4 } } @@ -116600,15 +116168,15 @@ "postfix": false, "binop": null }, - "start": 12055, - "end": 12056, + "start": 11312, + "end": 11313, "loc": { "start": { - "line": 557, + "line": 567, "column": 5 }, "end": { - "line": 557, + "line": 567, "column": 6 } } @@ -116628,15 +116196,15 @@ "updateContext": null }, "value": "this", - "start": 12056, - "end": 12060, + "start": 11313, + "end": 11317, "loc": { "start": { - "line": 557, + "line": 567, "column": 6 }, "end": { - "line": 557, + "line": 567, "column": 10 } } @@ -116654,15 +116222,15 @@ "binop": null, "updateContext": null }, - "start": 12060, - "end": 12061, + "start": 11317, + "end": 11318, "loc": { "start": { - "line": 557, + "line": 567, "column": 10 }, "end": { - "line": 557, + "line": 567, "column": 11 } } @@ -116680,15 +116248,15 @@ "binop": null }, "value": "gtn", - "start": 12061, - "end": 12064, + "start": 11318, + "end": 11321, "loc": { "start": { - "line": 557, + "line": 567, "column": 11 }, "end": { - "line": 557, + "line": 567, "column": 14 } } @@ -116705,15 +116273,15 @@ "postfix": false, "binop": null }, - "start": 12064, - "end": 12065, + "start": 11321, + "end": 11322, "loc": { "start": { - "line": 557, + "line": 567, "column": 14 }, "end": { - "line": 557, + "line": 567, "column": 15 } } @@ -116731,15 +116299,15 @@ "binop": null }, "value": "MAX_NUMBER", - "start": 12065, - "end": 12075, + "start": 11322, + "end": 11332, "loc": { "start": { - "line": 557, + "line": 567, "column": 15 }, "end": { - "line": 557, + "line": 567, "column": 25 } } @@ -116756,15 +116324,15 @@ "postfix": false, "binop": null }, - "start": 12075, - "end": 12076, + "start": 11332, + "end": 11333, "loc": { "start": { - "line": 557, + "line": 567, "column": 25 }, "end": { - "line": 557, + "line": 567, "column": 26 } } @@ -116781,15 +116349,15 @@ "postfix": false, "binop": null }, - "start": 12076, - "end": 12077, + "start": 11333, + "end": 11334, "loc": { "start": { - "line": 557, + "line": 567, "column": 26 }, "end": { - "line": 557, + "line": 567, "column": 27 } } @@ -116809,16 +116377,16 @@ "updateContext": null }, "value": "throw", - "start": 12078, - "end": 12083, + "start": 11338, + "end": 11343, "loc": { "start": { - "line": 557, - "column": 28 + "line": 568, + "column": 3 }, "end": { - "line": 557, - "column": 33 + "line": 568, + "column": 8 } } }, @@ -116837,16 +116405,16 @@ "updateContext": null }, "value": "new", - "start": 12084, - "end": 12087, + "start": 11344, + "end": 11347, "loc": { "start": { - "line": 557, - "column": 34 + "line": 568, + "column": 9 }, "end": { - "line": 557, - "column": 37 + "line": 568, + "column": 12 } } }, @@ -116863,16 +116431,16 @@ "binop": null }, "value": "ValueError", - "start": 12088, - "end": 12098, + "start": 11348, + "end": 11358, "loc": { "start": { - "line": 557, - "column": 38 + "line": 568, + "column": 13 }, "end": { - "line": 557, - "column": 48 + "line": 568, + "column": 23 } } }, @@ -116888,16 +116456,16 @@ "postfix": false, "binop": null }, - "start": 12098, - "end": 12099, + "start": 11358, + "end": 11359, "loc": { "start": { - "line": 557, - "column": 48 + "line": 568, + "column": 23 }, "end": { - "line": 557, - "column": 49 + "line": 568, + "column": 24 } } }, @@ -116913,16 +116481,16 @@ "postfix": false, "binop": null }, - "start": 12099, - "end": 12100, + "start": 11364, + "end": 11365, "loc": { "start": { - "line": 557, - "column": 49 + "line": 569, + "column": 4 }, "end": { - "line": 557, - "column": 50 + "line": 569, + "column": 5 } } }, @@ -116940,16 +116508,16 @@ "updateContext": null }, "value": "Cannot call valueOf on Integer larger than ", - "start": 12100, - "end": 12143, + "start": 11365, + "end": 11408, "loc": { "start": { - "line": 557, - "column": 50 + "line": 569, + "column": 5 }, "end": { - "line": 557, - "column": 93 + "line": 569, + "column": 48 } } }, @@ -116965,16 +116533,16 @@ "postfix": false, "binop": null }, - "start": 12143, - "end": 12145, + "start": 11408, + "end": 11410, "loc": { "start": { - "line": 557, - "column": 93 + "line": 569, + "column": 48 }, "end": { - "line": 557, - "column": 95 + "line": 569, + "column": 50 } } }, @@ -116991,16 +116559,16 @@ "binop": null }, "value": "MAX_NUMBER", - "start": 12145, - "end": 12155, + "start": 11410, + "end": 11420, "loc": { "start": { - "line": 557, - "column": 95 + "line": 569, + "column": 50 }, "end": { - "line": 557, - "column": 105 + "line": 569, + "column": 60 } } }, @@ -117016,16 +116584,16 @@ "postfix": false, "binop": null }, - "start": 12155, - "end": 12156, + "start": 11420, + "end": 11421, "loc": { "start": { - "line": 557, - "column": 105 + "line": 569, + "column": 60 }, "end": { - "line": 557, - "column": 106 + "line": 569, + "column": 61 } } }, @@ -117043,16 +116611,16 @@ "updateContext": null }, "value": ". Got ", - "start": 12156, - "end": 12162, + "start": 11421, + "end": 11427, "loc": { "start": { - "line": 557, - "column": 106 + "line": 569, + "column": 61 }, "end": { - "line": 557, - "column": 112 + "line": 569, + "column": 67 } } }, @@ -117068,16 +116636,16 @@ "postfix": false, "binop": null }, - "start": 12162, - "end": 12164, + "start": 11427, + "end": 11429, "loc": { "start": { - "line": 557, - "column": 112 + "line": 569, + "column": 67 }, "end": { - "line": 557, - "column": 114 + "line": 569, + "column": 69 } } }, @@ -117096,16 +116664,16 @@ "updateContext": null }, "value": "this", - "start": 12164, - "end": 12168, + "start": 11429, + "end": 11433, "loc": { "start": { - "line": 557, - "column": 114 + "line": 569, + "column": 69 }, "end": { - "line": 557, - "column": 118 + "line": 569, + "column": 73 } } }, @@ -117122,16 +116690,16 @@ "binop": null, "updateContext": null }, - "start": 12168, - "end": 12169, + "start": 11433, + "end": 11434, "loc": { "start": { - "line": 557, - "column": 118 + "line": 569, + "column": 73 }, "end": { - "line": 557, - "column": 119 + "line": 569, + "column": 74 } } }, @@ -117148,16 +116716,16 @@ "binop": null }, "value": "toString", - "start": 12169, - "end": 12177, + "start": 11434, + "end": 11442, "loc": { "start": { - "line": 557, - "column": 119 + "line": 569, + "column": 74 }, "end": { - "line": 557, - "column": 127 + "line": 569, + "column": 82 } } }, @@ -117173,16 +116741,16 @@ "postfix": false, "binop": null }, - "start": 12177, - "end": 12178, + "start": 11442, + "end": 11443, "loc": { "start": { - "line": 557, - "column": 127 + "line": 569, + "column": 82 }, "end": { - "line": 557, - "column": 128 + "line": 569, + "column": 83 } } }, @@ -117198,16 +116766,16 @@ "postfix": false, "binop": null }, - "start": 12178, - "end": 12179, + "start": 11443, + "end": 11444, "loc": { "start": { - "line": 557, - "column": 128 + "line": 569, + "column": 83 }, "end": { - "line": 557, - "column": 129 + "line": 569, + "column": 84 } } }, @@ -117223,16 +116791,16 @@ "postfix": false, "binop": null }, - "start": 12179, - "end": 12180, + "start": 11444, + "end": 11445, "loc": { "start": { - "line": 557, - "column": 129 + "line": 569, + "column": 84 }, "end": { - "line": 557, - "column": 130 + "line": 569, + "column": 85 } } }, @@ -117250,16 +116818,16 @@ "updateContext": null }, "value": "", - "start": 12180, - "end": 12180, + "start": 11445, + "end": 11445, "loc": { "start": { - "line": 557, - "column": 130 + "line": 569, + "column": 85 }, "end": { - "line": 557, - "column": 130 + "line": 569, + "column": 85 } } }, @@ -117275,16 +116843,42 @@ "postfix": false, "binop": null }, - "start": 12180, - "end": 12181, + "start": 11445, + "end": 11446, "loc": { "start": { - "line": 557, - "column": 130 + "line": 569, + "column": 85 }, "end": { - "line": 557, - "column": 131 + "line": 569, + "column": 86 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11446, + "end": 11447, + "loc": { + "start": { + "line": 569, + "column": 86 + }, + "end": { + "line": 569, + "column": 87 } } }, @@ -117300,16 +116894,16 @@ "postfix": false, "binop": null }, - "start": 12181, - "end": 12182, + "start": 11451, + "end": 11452, "loc": { "start": { - "line": 557, - "column": 131 + "line": 570, + "column": 3 }, "end": { - "line": 557, - "column": 132 + "line": 570, + "column": 4 } } }, @@ -117326,16 +116920,16 @@ "binop": null, "updateContext": null }, - "start": 12183, - "end": 12184, + "start": 11452, + "end": 11453, "loc": { "start": { - "line": 557, - "column": 133 + "line": 570, + "column": 4 }, "end": { - "line": 557, - "column": 134 + "line": 570, + "column": 5 } } }, @@ -117354,15 +116948,15 @@ "updateContext": null }, "value": "if", - "start": 12187, - "end": 12189, + "start": 11456, + "end": 11458, "loc": { "start": { - "line": 558, + "line": 571, "column": 2 }, "end": { - "line": 558, + "line": 571, "column": 4 } } @@ -117379,15 +116973,15 @@ "postfix": false, "binop": null }, - "start": 12190, - "end": 12191, + "start": 11459, + "end": 11460, "loc": { "start": { - "line": 558, + "line": 571, "column": 5 }, "end": { - "line": 558, + "line": 571, "column": 6 } } @@ -117407,15 +117001,15 @@ "updateContext": null }, "value": "this", - "start": 12191, - "end": 12195, + "start": 11460, + "end": 11464, "loc": { "start": { - "line": 558, + "line": 571, "column": 6 }, "end": { - "line": 558, + "line": 571, "column": 10 } } @@ -117433,15 +117027,15 @@ "binop": null, "updateContext": null }, - "start": 12195, - "end": 12196, + "start": 11464, + "end": 11465, "loc": { "start": { - "line": 558, + "line": 571, "column": 10 }, "end": { - "line": 558, + "line": 571, "column": 11 } } @@ -117459,15 +117053,15 @@ "binop": null }, "value": "ltn", - "start": 12196, - "end": 12199, + "start": 11465, + "end": 11468, "loc": { "start": { - "line": 558, + "line": 571, "column": 11 }, "end": { - "line": 558, + "line": 571, "column": 14 } } @@ -117484,15 +117078,15 @@ "postfix": false, "binop": null }, - "start": 12199, - "end": 12200, + "start": 11468, + "end": 11469, "loc": { "start": { - "line": 558, + "line": 571, "column": 14 }, "end": { - "line": 558, + "line": 571, "column": 15 } } @@ -117510,15 +117104,15 @@ "binop": null }, "value": "MIN_NUMBER", - "start": 12200, - "end": 12210, + "start": 11469, + "end": 11479, "loc": { "start": { - "line": 558, + "line": 571, "column": 15 }, "end": { - "line": 558, + "line": 571, "column": 25 } } @@ -117535,15 +117129,15 @@ "postfix": false, "binop": null }, - "start": 12210, - "end": 12211, + "start": 11479, + "end": 11480, "loc": { "start": { - "line": 558, + "line": 571, "column": 25 }, "end": { - "line": 558, + "line": 571, "column": 26 } } @@ -117560,15 +117154,15 @@ "postfix": false, "binop": null }, - "start": 12211, - "end": 12212, + "start": 11480, + "end": 11481, "loc": { "start": { - "line": 558, + "line": 571, "column": 26 }, "end": { - "line": 558, + "line": 571, "column": 27 } } @@ -117588,16 +117182,16 @@ "updateContext": null }, "value": "throw", - "start": 12213, - "end": 12218, + "start": 11485, + "end": 11490, "loc": { "start": { - "line": 558, - "column": 28 + "line": 572, + "column": 3 }, "end": { - "line": 558, - "column": 33 + "line": 572, + "column": 8 } } }, @@ -117616,16 +117210,16 @@ "updateContext": null }, "value": "new", - "start": 12219, - "end": 12222, + "start": 11491, + "end": 11494, "loc": { "start": { - "line": 558, - "column": 34 + "line": 572, + "column": 9 }, "end": { - "line": 558, - "column": 37 + "line": 572, + "column": 12 } } }, @@ -117642,16 +117236,16 @@ "binop": null }, "value": "ValueError", - "start": 12223, - "end": 12233, + "start": 11495, + "end": 11505, "loc": { "start": { - "line": 558, - "column": 38 + "line": 572, + "column": 13 }, "end": { - "line": 558, - "column": 48 + "line": 572, + "column": 23 } } }, @@ -117667,16 +117261,16 @@ "postfix": false, "binop": null }, - "start": 12233, - "end": 12234, + "start": 11505, + "end": 11506, "loc": { "start": { - "line": 558, - "column": 48 + "line": 572, + "column": 23 }, "end": { - "line": 558, - "column": 49 + "line": 572, + "column": 24 } } }, @@ -117692,16 +117286,16 @@ "postfix": false, "binop": null }, - "start": 12234, - "end": 12235, + "start": 11511, + "end": 11512, "loc": { "start": { - "line": 558, - "column": 49 + "line": 573, + "column": 4 }, "end": { - "line": 558, - "column": 50 + "line": 573, + "column": 5 } } }, @@ -117719,16 +117313,16 @@ "updateContext": null }, "value": "Cannot call valueOf on Integer smaller than ", - "start": 12235, - "end": 12279, + "start": 11512, + "end": 11556, "loc": { "start": { - "line": 558, - "column": 50 + "line": 573, + "column": 5 }, "end": { - "line": 558, - "column": 94 + "line": 573, + "column": 49 } } }, @@ -117744,16 +117338,16 @@ "postfix": false, "binop": null }, - "start": 12279, - "end": 12281, + "start": 11556, + "end": 11558, "loc": { "start": { - "line": 558, - "column": 94 + "line": 573, + "column": 49 }, "end": { - "line": 558, - "column": 96 + "line": 573, + "column": 51 } } }, @@ -117770,16 +117364,16 @@ "binop": null }, "value": "MIN_NUMBER", - "start": 12281, - "end": 12291, + "start": 11558, + "end": 11568, "loc": { "start": { - "line": 558, - "column": 96 + "line": 573, + "column": 51 }, "end": { - "line": 558, - "column": 106 + "line": 573, + "column": 61 } } }, @@ -117795,16 +117389,16 @@ "postfix": false, "binop": null }, - "start": 12291, - "end": 12292, + "start": 11568, + "end": 11569, "loc": { "start": { - "line": 558, - "column": 106 + "line": 573, + "column": 61 }, "end": { - "line": 558, - "column": 107 + "line": 573, + "column": 62 } } }, @@ -117822,16 +117416,16 @@ "updateContext": null }, "value": ". Got ", - "start": 12292, - "end": 12298, + "start": 11569, + "end": 11575, "loc": { "start": { - "line": 558, - "column": 107 + "line": 573, + "column": 62 }, "end": { - "line": 558, - "column": 113 + "line": 573, + "column": 68 } } }, @@ -117847,16 +117441,16 @@ "postfix": false, "binop": null }, - "start": 12298, - "end": 12300, + "start": 11575, + "end": 11577, "loc": { "start": { - "line": 558, - "column": 113 + "line": 573, + "column": 68 }, "end": { - "line": 558, - "column": 115 + "line": 573, + "column": 70 } } }, @@ -117875,16 +117469,16 @@ "updateContext": null }, "value": "this", - "start": 12300, - "end": 12304, + "start": 11577, + "end": 11581, "loc": { "start": { - "line": 558, - "column": 115 + "line": 573, + "column": 70 }, "end": { - "line": 558, - "column": 119 + "line": 573, + "column": 74 } } }, @@ -117901,16 +117495,16 @@ "binop": null, "updateContext": null }, - "start": 12304, - "end": 12305, + "start": 11581, + "end": 11582, "loc": { "start": { - "line": 558, - "column": 119 + "line": 573, + "column": 74 }, "end": { - "line": 558, - "column": 120 + "line": 573, + "column": 75 } } }, @@ -117927,16 +117521,16 @@ "binop": null }, "value": "toString", - "start": 12305, - "end": 12313, + "start": 11582, + "end": 11590, "loc": { "start": { - "line": 558, - "column": 120 + "line": 573, + "column": 75 }, "end": { - "line": 558, - "column": 128 + "line": 573, + "column": 83 } } }, @@ -117952,16 +117546,16 @@ "postfix": false, "binop": null }, - "start": 12313, - "end": 12314, + "start": 11590, + "end": 11591, "loc": { "start": { - "line": 558, - "column": 128 + "line": 573, + "column": 83 }, "end": { - "line": 558, - "column": 129 + "line": 573, + "column": 84 } } }, @@ -117977,16 +117571,16 @@ "postfix": false, "binop": null }, - "start": 12314, - "end": 12315, + "start": 11591, + "end": 11592, "loc": { "start": { - "line": 558, - "column": 129 + "line": 573, + "column": 84 }, "end": { - "line": 558, - "column": 130 + "line": 573, + "column": 85 } } }, @@ -118002,16 +117596,16 @@ "postfix": false, "binop": null }, - "start": 12315, - "end": 12316, + "start": 11592, + "end": 11593, "loc": { "start": { - "line": 558, - "column": 130 + "line": 573, + "column": 85 }, "end": { - "line": 558, - "column": 131 + "line": 573, + "column": 86 } } }, @@ -118029,16 +117623,16 @@ "updateContext": null }, "value": "", - "start": 12316, - "end": 12316, + "start": 11593, + "end": 11593, "loc": { "start": { - "line": 558, - "column": 131 + "line": 573, + "column": 86 }, "end": { - "line": 558, - "column": 131 + "line": 573, + "column": 86 } } }, @@ -118054,16 +117648,42 @@ "postfix": false, "binop": null }, - "start": 12316, - "end": 12317, + "start": 11593, + "end": 11594, "loc": { "start": { - "line": 558, - "column": 131 + "line": 573, + "column": 86 }, "end": { - "line": 558, - "column": 132 + "line": 573, + "column": 87 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11594, + "end": 11595, + "loc": { + "start": { + "line": 573, + "column": 87 + }, + "end": { + "line": 573, + "column": 88 } } }, @@ -118079,16 +117699,16 @@ "postfix": false, "binop": null }, - "start": 12317, - "end": 12318, + "start": 11599, + "end": 11600, "loc": { "start": { - "line": 558, - "column": 132 + "line": 574, + "column": 3 }, "end": { - "line": 558, - "column": 133 + "line": 574, + "column": 4 } } }, @@ -118105,16 +117725,16 @@ "binop": null, "updateContext": null }, - "start": 12319, - "end": 12320, + "start": 11600, + "end": 11601, "loc": { "start": { - "line": 558, - "column": 134 + "line": 574, + "column": 4 }, "end": { - "line": 558, - "column": 135 + "line": 574, + "column": 5 } } }, @@ -118133,15 +117753,15 @@ "updateContext": null }, "value": "const", - "start": 12324, - "end": 12329, + "start": 11605, + "end": 11610, "loc": { "start": { - "line": 560, + "line": 576, "column": 2 }, "end": { - "line": 560, + "line": 576, "column": 7 } } @@ -118159,15 +117779,15 @@ "binop": null }, "value": "limbs", - "start": 12330, - "end": 12335, + "start": 11611, + "end": 11616, "loc": { "start": { - "line": 560, + "line": 576, "column": 8 }, "end": { - "line": 560, + "line": 576, "column": 13 } } @@ -118186,15 +117806,15 @@ "updateContext": null }, "value": "=", - "start": 12336, - "end": 12337, + "start": 11617, + "end": 11618, "loc": { "start": { - "line": 560, + "line": 576, "column": 14 }, "end": { - "line": 560, + "line": 576, "column": 15 } } @@ -118212,15 +117832,15 @@ "binop": null }, "value": "convert", - "start": 12338, - "end": 12345, + "start": 11619, + "end": 11626, "loc": { "start": { - "line": 560, + "line": 576, "column": 16 }, "end": { - "line": 560, + "line": 576, "column": 23 } } @@ -118237,15 +117857,15 @@ "postfix": false, "binop": null }, - "start": 12345, - "end": 12346, + "start": 11626, + "end": 11627, "loc": { "start": { - "line": 560, + "line": 576, "column": 23 }, "end": { - "line": 560, + "line": 576, "column": 24 } } @@ -118265,16 +117885,16 @@ "updateContext": null }, "value": "this", - "start": 12347, - "end": 12351, + "start": 11631, + "end": 11635, "loc": { "start": { - "line": 560, - "column": 25 + "line": 577, + "column": 3 }, "end": { - "line": 560, - "column": 29 + "line": 577, + "column": 7 } } }, @@ -118291,16 +117911,16 @@ "binop": null, "updateContext": null }, - "start": 12351, - "end": 12352, + "start": 11635, + "end": 11636, "loc": { "start": { - "line": 560, - "column": 29 + "line": 577, + "column": 7 }, "end": { - "line": 560, - "column": 30 + "line": 577, + "column": 8 } } }, @@ -118316,17 +117936,17 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 12352, - "end": 12356, + "value": "_base", + "start": 11636, + "end": 11641, "loc": { "start": { - "line": 560, - "column": 30 + "line": 577, + "column": 8 }, "end": { - "line": 560, - "column": 34 + "line": 577, + "column": 13 } } }, @@ -118343,16 +117963,16 @@ "binop": null, "updateContext": null }, - "start": 12357, - "end": 12358, + "start": 11641, + "end": 11642, "loc": { "start": { - "line": 560, - "column": 35 + "line": 577, + "column": 13 }, "end": { - "line": 560, - "column": 36 + "line": 577, + "column": 14 } } }, @@ -118369,16 +117989,16 @@ "binop": null }, "value": "MAX_BASE", - "start": 12359, - "end": 12367, + "start": 11646, + "end": 11654, "loc": { "start": { - "line": 560, - "column": 37 + "line": 578, + "column": 3 }, "end": { - "line": 560, - "column": 45 + "line": 578, + "column": 11 } } }, @@ -118395,16 +118015,16 @@ "binop": null, "updateContext": null }, - "start": 12368, - "end": 12369, + "start": 11654, + "end": 11655, "loc": { "start": { - "line": 560, - "column": 46 + "line": 578, + "column": 11 }, "end": { - "line": 560, - "column": 47 + "line": 578, + "column": 12 } } }, @@ -118423,16 +118043,16 @@ "updateContext": null }, "value": "this", - "start": 12370, - "end": 12374, + "start": 11659, + "end": 11663, "loc": { "start": { - "line": 560, - "column": 48 + "line": 579, + "column": 3 }, "end": { - "line": 560, - "column": 52 + "line": 579, + "column": 7 } } }, @@ -118449,16 +118069,16 @@ "binop": null, "updateContext": null }, - "start": 12374, - "end": 12375, + "start": 11663, + "end": 11664, "loc": { "start": { - "line": 560, - "column": 52 + "line": 579, + "column": 7 }, "end": { - "line": 560, - "column": 53 + "line": 579, + "column": 8 } } }, @@ -118474,17 +118094,17 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 12375, - "end": 12380, + "value": "_limbs", + "start": 11664, + "end": 11670, "loc": { "start": { - "line": 560, - "column": 53 + "line": 579, + "column": 8 }, "end": { - "line": 560, - "column": 58 + "line": 579, + "column": 14 } } }, @@ -118501,16 +118121,16 @@ "binop": null, "updateContext": null }, - "start": 12381, - "end": 12382, + "start": 11670, + "end": 11671, "loc": { "start": { - "line": 560, - "column": 59 + "line": 579, + "column": 14 }, "end": { - "line": 560, - "column": 60 + "line": 579, + "column": 15 } } }, @@ -118528,16 +118148,16 @@ "updateContext": null }, "value": 0, - "start": 12383, - "end": 12384, + "start": 11675, + "end": 11676, "loc": { "start": { - "line": 560, - "column": 61 + "line": 580, + "column": 3 }, "end": { - "line": 560, - "column": 62 + "line": 580, + "column": 4 } } }, @@ -118554,16 +118174,16 @@ "binop": null, "updateContext": null }, - "start": 12385, - "end": 12386, + "start": 11676, + "end": 11677, "loc": { "start": { - "line": 560, - "column": 63 + "line": 580, + "column": 4 }, "end": { - "line": 560, - "column": 64 + "line": 580, + "column": 5 } } }, @@ -118582,16 +118202,16 @@ "updateContext": null }, "value": "this", - "start": 12387, - "end": 12391, + "start": 11681, + "end": 11685, "loc": { "start": { - "line": 560, - "column": 65 + "line": 581, + "column": 3 }, "end": { - "line": 560, - "column": 69 + "line": 581, + "column": 7 } } }, @@ -118608,16 +118228,16 @@ "binop": null, "updateContext": null }, - "start": 12391, - "end": 12392, + "start": 11685, + "end": 11686, "loc": { "start": { - "line": 560, - "column": 69 + "line": 581, + "column": 7 }, "end": { - "line": 560, - "column": 70 + "line": 581, + "column": 8 } } }, @@ -118633,17 +118253,17 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 12392, - "end": 12397, + "value": "_limbs", + "start": 11686, + "end": 11692, "loc": { "start": { - "line": 560, - "column": 70 + "line": 581, + "column": 8 }, "end": { - "line": 560, - "column": 75 + "line": 581, + "column": 14 } } }, @@ -118660,16 +118280,16 @@ "binop": null, "updateContext": null }, - "start": 12397, - "end": 12398, + "start": 11692, + "end": 11693, "loc": { "start": { - "line": 560, - "column": 75 + "line": 581, + "column": 14 }, "end": { - "line": 560, - "column": 76 + "line": 581, + "column": 15 } } }, @@ -118686,16 +118306,42 @@ "binop": null }, "value": "length", - "start": 12398, - "end": 12404, + "start": 11693, + "end": 11699, "loc": { "start": { - "line": 560, - "column": 76 + "line": 581, + "column": 15 }, "end": { - "line": 560, - "column": 82 + "line": 581, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11699, + "end": 11700, + "loc": { + "start": { + "line": 581, + "column": 21 + }, + "end": { + "line": 581, + "column": 22 } } }, @@ -118711,16 +118357,16 @@ "postfix": false, "binop": null }, - "start": 12405, - "end": 12406, + "start": 11703, + "end": 11704, "loc": { "start": { - "line": 560, - "column": 83 + "line": 582, + "column": 2 }, "end": { - "line": 560, - "column": 84 + "line": 582, + "column": 3 } } }, @@ -118737,16 +118383,16 @@ "binop": null, "updateContext": null }, - "start": 12407, - "end": 12408, + "start": 11704, + "end": 11705, "loc": { "start": { - "line": 560, - "column": 85 + "line": 582, + "column": 3 }, "end": { - "line": 560, - "column": 86 + "line": 582, + "column": 4 } } }, @@ -118765,15 +118411,15 @@ "updateContext": null }, "value": "const", - "start": 12412, - "end": 12417, + "start": 11709, + "end": 11714, "loc": { "start": { - "line": 562, + "line": 584, "column": 2 }, "end": { - "line": 562, + "line": 584, "column": 7 } } @@ -118791,15 +118437,15 @@ "binop": null }, "value": "sign", - "start": 12418, - "end": 12422, + "start": 11715, + "end": 11719, "loc": { "start": { - "line": 562, + "line": 584, "column": 8 }, "end": { - "line": 562, + "line": 584, "column": 12 } } @@ -118818,15 +118464,15 @@ "updateContext": null }, "value": "=", - "start": 12423, - "end": 12424, + "start": 11720, + "end": 11721, "loc": { "start": { - "line": 562, + "line": 584, "column": 13 }, "end": { - "line": 562, + "line": 584, "column": 14 } } @@ -118846,15 +118492,15 @@ "updateContext": null }, "value": "this", - "start": 12425, - "end": 12429, + "start": 11722, + "end": 11726, "loc": { "start": { - "line": 562, + "line": 584, "column": 15 }, "end": { - "line": 562, + "line": 584, "column": 19 } } @@ -118872,15 +118518,15 @@ "binop": null, "updateContext": null }, - "start": 12429, - "end": 12430, + "start": 11726, + "end": 11727, "loc": { "start": { - "line": 562, + "line": 584, "column": 19 }, "end": { - "line": 562, + "line": 584, "column": 20 } } @@ -118897,17 +118543,17 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 12430, - "end": 12441, + "value": "_is_negative", + "start": 11727, + "end": 11739, "loc": { "start": { - "line": 562, + "line": 584, "column": 20 }, "end": { - "line": 562, - "column": 31 + "line": 584, + "column": 32 } } }, @@ -118924,16 +118570,16 @@ "binop": null, "updateContext": null }, - "start": 12442, - "end": 12443, + "start": 11740, + "end": 11741, "loc": { "start": { - "line": 562, - "column": 32 + "line": 584, + "column": 33 }, "end": { - "line": 562, - "column": 33 + "line": 584, + "column": 34 } } }, @@ -118951,16 +118597,16 @@ "updateContext": null }, "value": "-", - "start": 12444, - "end": 12445, + "start": 11742, + "end": 11743, "loc": { "start": { - "line": 562, - "column": 34 + "line": 584, + "column": 35 }, "end": { - "line": 562, - "column": 35 + "line": 584, + "column": 36 } } }, @@ -118978,16 +118624,16 @@ "updateContext": null }, "value": 1, - "start": 12445, - "end": 12446, + "start": 11743, + "end": 11744, "loc": { "start": { - "line": 562, - "column": 35 + "line": 584, + "column": 36 }, "end": { - "line": 562, - "column": 36 + "line": 584, + "column": 37 } } }, @@ -119004,16 +118650,16 @@ "binop": null, "updateContext": null }, - "start": 12447, - "end": 12448, + "start": 11745, + "end": 11746, "loc": { "start": { - "line": 562, - "column": 37 + "line": 584, + "column": 38 }, "end": { - "line": 562, - "column": 38 + "line": 584, + "column": 39 } } }, @@ -119031,16 +118677,16 @@ "updateContext": null }, "value": 1, - "start": 12449, - "end": 12450, + "start": 11747, + "end": 11748, "loc": { "start": { - "line": 562, - "column": 39 + "line": 584, + "column": 40 }, "end": { - "line": 562, - "column": 40 + "line": 584, + "column": 41 } } }, @@ -119057,15 +118703,15 @@ "binop": null, "updateContext": null }, - "start": 12451, - "end": 12452, + "start": 11748, + "end": 11749, "loc": { "start": { - "line": 562, + "line": 584, "column": 41 }, "end": { - "line": 562, + "line": 584, "column": 42 } } @@ -119085,15 +118731,15 @@ "updateContext": null }, "value": "const", - "start": 12456, - "end": 12461, + "start": 11753, + "end": 11758, "loc": { "start": { - "line": 564, + "line": 586, "column": 2 }, "end": { - "line": 564, + "line": 586, "column": 7 } } @@ -119111,15 +118757,15 @@ "binop": null }, "value": "value", - "start": 12462, - "end": 12467, + "start": 11759, + "end": 11764, "loc": { "start": { - "line": 564, + "line": 586, "column": 8 }, "end": { - "line": 564, + "line": 586, "column": 13 } } @@ -119138,15 +118784,15 @@ "updateContext": null }, "value": "=", - "start": 12468, - "end": 12469, + "start": 11765, + "end": 11766, "loc": { "start": { - "line": 564, + "line": 586, "column": 14 }, "end": { - "line": 564, + "line": 586, "column": 15 } } @@ -119164,177 +118810,177 @@ "binop": null }, "value": "limbs", - "start": 12470, - "end": 12475, - "loc": { - "start": { - "line": 564, - "column": 16 - }, - "end": { - "line": 564, - "column": 21 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12475, - "end": 12476, - "loc": { - "start": { - "line": 564, - "column": 21 - }, - "end": { - "line": 564, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "length", - "start": 12476, - "end": 12482, - "loc": { - "start": { - "line": 564, - "column": 22 - }, - "end": { - "line": 564, - "column": 28 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 12483, - "end": 12486, - "loc": { - "start": { - "line": 564, - "column": 29 - }, - "end": { - "line": 564, - "column": 32 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 12487, - "end": 12488, - "loc": { - "start": { - "line": 564, - "column": 33 - }, - "end": { - "line": 564, - "column": 34 - } - } - }, - { - "type": { - "label": "?", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12489, - "end": 12490, - "loc": { - "start": { - "line": 564, - "column": 35 - }, - "end": { - "line": 564, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "limbs", - "start": 12494, - "end": 12499, + "start": 11770, + "end": 11775, "loc": { "start": { - "line": 565, + "line": 587, "column": 3 }, "end": { - "line": 565, + "line": 587, "column": 8 } } }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11775, + "end": 11776, + "loc": { + "start": { + "line": 587, + "column": 8 + }, + "end": { + "line": 587, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 11776, + "end": 11782, + "loc": { + "start": { + "line": 587, + "column": 9 + }, + "end": { + "line": 587, + "column": 15 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 11783, + "end": 11786, + "loc": { + "start": { + "line": 587, + "column": 16 + }, + "end": { + "line": 587, + "column": 19 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 11787, + "end": 11788, + "loc": { + "start": { + "line": 587, + "column": 20 + }, + "end": { + "line": 587, + "column": 21 + } + } + }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11789, + "end": 11790, + "loc": { + "start": { + "line": 587, + "column": 22 + }, + "end": { + "line": 587, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limbs", + "start": 11791, + "end": 11796, + "loc": { + "start": { + "line": 587, + "column": 24 + }, + "end": { + "line": 587, + "column": 29 + } + } + }, { "type": { "label": "[", @@ -119348,16 +118994,16 @@ "binop": null, "updateContext": null }, - "start": 12499, - "end": 12500, + "start": 11796, + "end": 11797, "loc": { "start": { - "line": 565, - "column": 8 + "line": 587, + "column": 29 }, "end": { - "line": 565, - "column": 9 + "line": 587, + "column": 30 } } }, @@ -119375,16 +119021,16 @@ "updateContext": null }, "value": 0, - "start": 12500, - "end": 12501, + "start": 11797, + "end": 11798, "loc": { "start": { - "line": 565, - "column": 9 + "line": 587, + "column": 30 }, "end": { - "line": 565, - "column": 10 + "line": 587, + "column": 31 } } }, @@ -119401,16 +119047,16 @@ "binop": null, "updateContext": null }, - "start": 12501, - "end": 12502, + "start": 11798, + "end": 11799, "loc": { "start": { - "line": 565, - "column": 10 + "line": 587, + "column": 31 }, "end": { - "line": 565, - "column": 11 + "line": 587, + "column": 32 } } }, @@ -119428,16 +119074,16 @@ "updateContext": null }, "value": "*", - "start": 12503, - "end": 12504, + "start": 11800, + "end": 11801, "loc": { "start": { - "line": 565, - "column": 12 + "line": 587, + "column": 33 }, "end": { - "line": 565, - "column": 13 + "line": 587, + "column": 34 } } }, @@ -119454,16 +119100,16 @@ "binop": null }, "value": "MAX_BASE", - "start": 12505, - "end": 12513, + "start": 11802, + "end": 11810, "loc": { "start": { - "line": 565, - "column": 14 + "line": 587, + "column": 35 }, "end": { - "line": 565, - "column": 22 + "line": 587, + "column": 43 } } }, @@ -119481,16 +119127,16 @@ "updateContext": null }, "value": "+", - "start": 12514, - "end": 12515, + "start": 11811, + "end": 11812, "loc": { "start": { - "line": 565, - "column": 23 + "line": 587, + "column": 44 }, "end": { - "line": 565, - "column": 24 + "line": 587, + "column": 45 } } }, @@ -119507,16 +119153,16 @@ "binop": null }, "value": "limbs", - "start": 12516, - "end": 12521, + "start": 11813, + "end": 11818, "loc": { "start": { - "line": 565, - "column": 25 + "line": 587, + "column": 46 }, "end": { - "line": 565, - "column": 30 + "line": 587, + "column": 51 } } }, @@ -119533,16 +119179,16 @@ "binop": null, "updateContext": null }, - "start": 12521, - "end": 12522, + "start": 11818, + "end": 11819, "loc": { "start": { - "line": 565, - "column": 30 + "line": 587, + "column": 51 }, "end": { - "line": 565, - "column": 31 + "line": 587, + "column": 52 } } }, @@ -119560,16 +119206,16 @@ "updateContext": null }, "value": 1, - "start": 12522, - "end": 12523, + "start": 11819, + "end": 11820, "loc": { "start": { - "line": 565, - "column": 31 + "line": 587, + "column": 52 }, "end": { - "line": 565, - "column": 32 + "line": 587, + "column": 53 } } }, @@ -119586,16 +119232,16 @@ "binop": null, "updateContext": null }, - "start": 12523, - "end": 12524, + "start": 11820, + "end": 11821, "loc": { "start": { - "line": 565, - "column": 32 + "line": 587, + "column": 53 }, "end": { - "line": 565, - "column": 33 + "line": 587, + "column": 54 } } }, @@ -119612,16 +119258,16 @@ "binop": null, "updateContext": null }, - "start": 12525, - "end": 12526, + "start": 11822, + "end": 11823, "loc": { "start": { - "line": 565, - "column": 34 + "line": 587, + "column": 55 }, "end": { - "line": 565, - "column": 35 + "line": 587, + "column": 56 } } }, @@ -119638,16 +119284,16 @@ "binop": null }, "value": "limbs", - "start": 12530, - "end": 12535, + "start": 11824, + "end": 11829, "loc": { "start": { - "line": 566, - "column": 3 + "line": 587, + "column": 57 }, "end": { - "line": 566, - "column": 8 + "line": 587, + "column": 62 } } }, @@ -119664,16 +119310,16 @@ "binop": null, "updateContext": null }, - "start": 12535, - "end": 12536, + "start": 11829, + "end": 11830, "loc": { "start": { - "line": 566, - "column": 8 + "line": 587, + "column": 62 }, "end": { - "line": 566, - "column": 9 + "line": 587, + "column": 63 } } }, @@ -119691,16 +119337,16 @@ "updateContext": null }, "value": 0, - "start": 12536, - "end": 12537, + "start": 11830, + "end": 11831, "loc": { "start": { - "line": 566, - "column": 9 + "line": 587, + "column": 63 }, "end": { - "line": 566, - "column": 10 + "line": 587, + "column": 64 } } }, @@ -119717,16 +119363,16 @@ "binop": null, "updateContext": null }, - "start": 12537, - "end": 12538, + "start": 11831, + "end": 11832, "loc": { "start": { - "line": 566, - "column": 10 + "line": 587, + "column": 64 }, "end": { - "line": 566, - "column": 11 + "line": 587, + "column": 65 } } }, @@ -119743,16 +119389,16 @@ "binop": null, "updateContext": null }, - "start": 12539, - "end": 12540, + "start": 11832, + "end": 11833, "loc": { "start": { - "line": 566, - "column": 12 + "line": 587, + "column": 65 }, "end": { - "line": 566, - "column": 13 + "line": 587, + "column": 66 } } }, @@ -119771,15 +119417,15 @@ "updateContext": null }, "value": "return", - "start": 12544, - "end": 12550, + "start": 11837, + "end": 11843, "loc": { "start": { - "line": 568, + "line": 589, "column": 2 }, "end": { - "line": 568, + "line": 589, "column": 8 } } @@ -119797,15 +119443,15 @@ "binop": null }, "value": "sign", - "start": 12551, - "end": 12555, + "start": 11844, + "end": 11848, "loc": { "start": { - "line": 568, + "line": 589, "column": 9 }, "end": { - "line": 568, + "line": 589, "column": 13 } } @@ -119824,15 +119470,15 @@ "updateContext": null }, "value": "*", - "start": 12556, - "end": 12557, + "start": 11849, + "end": 11850, "loc": { "start": { - "line": 568, + "line": 589, "column": 14 }, "end": { - "line": 568, + "line": 589, "column": 15 } } @@ -119850,15 +119496,15 @@ "binop": null }, "value": "value", - "start": 12558, - "end": 12563, + "start": 11851, + "end": 11856, "loc": { "start": { - "line": 568, + "line": 589, "column": 16 }, "end": { - "line": 568, + "line": 589, "column": 21 } } @@ -119876,16 +119522,16 @@ "binop": null, "updateContext": null }, - "start": 12564, - "end": 12565, + "start": 11856, + "end": 11857, "loc": { "start": { - "line": 568, - "column": 22 + "line": 589, + "column": 21 }, "end": { - "line": 568, - "column": 23 + "line": 589, + "column": 22 } } }, @@ -119901,15 +119547,15 @@ "postfix": false, "binop": null }, - "start": 12567, - "end": 12568, + "start": 11859, + "end": 11860, "loc": { "start": { - "line": 569, + "line": 590, "column": 1 }, "end": { - "line": 569, + "line": 590, "column": 2 } } @@ -119927,15 +119573,15 @@ "binop": null }, "value": "toNumber", - "start": 12571, - "end": 12579, + "start": 11863, + "end": 11871, "loc": { "start": { - "line": 571, + "line": 592, "column": 1 }, "end": { - "line": 571, + "line": 592, "column": 9 } } @@ -119952,16 +119598,16 @@ "postfix": false, "binop": null }, - "start": 12580, - "end": 12581, + "start": 11871, + "end": 11872, "loc": { "start": { - "line": 571, - "column": 10 + "line": 592, + "column": 9 }, "end": { - "line": 571, - "column": 11 + "line": 592, + "column": 10 } } }, @@ -119977,16 +119623,16 @@ "postfix": false, "binop": null }, - "start": 12582, - "end": 12583, + "start": 11872, + "end": 11873, "loc": { "start": { - "line": 571, - "column": 12 + "line": 592, + "column": 10 }, "end": { - "line": 571, - "column": 13 + "line": 592, + "column": 11 } } }, @@ -120002,16 +119648,16 @@ "postfix": false, "binop": null }, - "start": 12584, - "end": 12585, + "start": 11874, + "end": 11875, "loc": { "start": { - "line": 571, - "column": 14 + "line": 592, + "column": 12 }, "end": { - "line": 571, - "column": 15 + "line": 592, + "column": 13 } } }, @@ -120030,15 +119676,15 @@ "updateContext": null }, "value": "return", - "start": 12588, - "end": 12594, + "start": 11878, + "end": 11884, "loc": { "start": { - "line": 572, + "line": 593, "column": 2 }, "end": { - "line": 572, + "line": 593, "column": 8 } } @@ -120058,15 +119704,15 @@ "updateContext": null }, "value": "this", - "start": 12595, - "end": 12599, + "start": 11885, + "end": 11889, "loc": { "start": { - "line": 572, + "line": 593, "column": 9 }, "end": { - "line": 572, + "line": 593, "column": 13 } } @@ -120084,15 +119730,15 @@ "binop": null, "updateContext": null }, - "start": 12599, - "end": 12600, + "start": 11889, + "end": 11890, "loc": { "start": { - "line": 572, + "line": 593, "column": 13 }, "end": { - "line": 572, + "line": 593, "column": 14 } } @@ -120110,15 +119756,15 @@ "binop": null }, "value": "valueOf", - "start": 12600, - "end": 12607, + "start": 11890, + "end": 11897, "loc": { "start": { - "line": 572, + "line": 593, "column": 14 }, "end": { - "line": 572, + "line": 593, "column": 21 } } @@ -120135,15 +119781,15 @@ "postfix": false, "binop": null }, - "start": 12607, - "end": 12608, + "start": 11897, + "end": 11898, "loc": { "start": { - "line": 572, + "line": 593, "column": 21 }, "end": { - "line": 572, + "line": 593, "column": 22 } } @@ -120160,16 +119806,16 @@ "postfix": false, "binop": null }, - "start": 12609, - "end": 12610, + "start": 11898, + "end": 11899, "loc": { "start": { - "line": 572, - "column": 23 + "line": 593, + "column": 22 }, "end": { - "line": 572, - "column": 24 + "line": 593, + "column": 23 } } }, @@ -120186,16 +119832,16 @@ "binop": null, "updateContext": null }, - "start": 12611, - "end": 12612, + "start": 11899, + "end": 11900, "loc": { "start": { - "line": 572, - "column": 25 + "line": 593, + "column": 23 }, "end": { - "line": 572, - "column": 26 + "line": 593, + "column": 24 } } }, @@ -120211,15 +119857,15 @@ "postfix": false, "binop": null }, - "start": 12614, - "end": 12615, + "start": 11902, + "end": 11903, "loc": { "start": { - "line": 573, + "line": 594, "column": 1 }, "end": { - "line": 573, + "line": 594, "column": 2 } } @@ -120236,15 +119882,15 @@ "postfix": false, "binop": null }, - "start": 12617, - "end": 12618, + "start": 11904, + "end": 11905, "loc": { "start": { - "line": 575, + "line": 595, "column": 0 }, "end": { - "line": 575, + "line": 595, "column": 1 } } @@ -120262,15 +119908,15 @@ "binop": null, "updateContext": null }, - "start": 12619, - "end": 12619, + "start": 11906, + "end": 11906, "loc": { "start": { - "line": 576, + "line": 596, "column": 0 }, "end": { - "line": 576, + "line": 596, "column": 0 } } diff --git a/ast/source/IntegerRing.js.json b/ast/source/IntegerRing.js.json index 1fc6d82..56f4e8e 100644 --- a/ast/source/IntegerRing.js.json +++ b/ast/source/IntegerRing.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 3117, + "end": 3104, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 116, + "line": 131, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 3117, + "end": 3104, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 116, + "line": 131, "column": 0 } }, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 30, + "end": 63, "loc": { "start": { "line": 1, @@ -39,306 +39,269 @@ }, "end": { "line": 1, - "column": 30 + "column": 63 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 9, - "end": 16, + "start": 8, + "end": 13, "loc": { "start": { "line": 1, - "column": 9 + "column": 8 }, "end": { "line": 1, - "column": 16 + "column": 13 } }, "imported": { "type": "Identifier", - "start": 9, - "end": 16, + "start": 8, + "end": 13, "loc": { "start": { "line": 1, - "column": 9 + "column": 8 }, "end": { "line": 1, - "column": 16 + "column": 13 }, - "identifierName": "Integer" + "identifierName": "parse" }, - "name": "Integer" + "name": "parse" }, "local": { "type": "Identifier", - "start": 9, - "end": 16, + "start": 8, + "end": 13, "loc": { "start": { "line": 1, - "column": 9 + "column": 8 }, "end": { "line": 1, - "column": 16 + "column": 13 }, - "identifierName": "Integer" + "identifierName": "parse" }, - "name": "Integer" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 24, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 24 - }, - "end": { - "line": 1, - "column": 28 + "name": "parse" } }, - "extra": { - "rawValue": "./", - "raw": "'./'" - }, - "value": "./" - } - }, - { - "type": "ImportDeclaration", - "start": 31, - "end": 74, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 43 - } - }, - "specifiers": [ { "type": "ImportSpecifier", - "start": 40, - "end": 60, + "start": 15, + "end": 22, "loc": { "start": { - "line": 2, - "column": 9 + "line": 1, + "column": 15 }, "end": { - "line": 2, - "column": 29 + "line": 1, + "column": 22 } }, "imported": { "type": "Identifier", - "start": 40, - "end": 60, + "start": 15, + "end": 22, "loc": { "start": { - "line": 2, - "column": 9 + "line": 1, + "column": 15 }, "end": { - "line": 2, - "column": 29 + "line": 1, + "column": 22 }, - "identifierName": "DEFAULT_DISPLAY_BASE" + "identifierName": "convert" }, - "name": "DEFAULT_DISPLAY_BASE" + "name": "convert" }, "local": { "type": "Identifier", - "start": 40, - "end": 60, + "start": 15, + "end": 22, "loc": { "start": { - "line": 2, - "column": 9 + "line": 1, + "column": 15 }, "end": { - "line": 2, - "column": 29 + "line": 1, + "column": 22 }, - "identifierName": "DEFAULT_DISPLAY_BASE" + "identifierName": "convert" }, - "name": "DEFAULT_DISPLAY_BASE" + "name": "convert" } } ], "source": { "type": "StringLiteral", - "start": 68, - "end": 72, + "start": 29, + "end": 62, "loc": { "start": { - "line": 2, - "column": 37 + "line": 1, + "column": 29 }, "end": { - "line": 2, - "column": 41 + "line": 1, + "column": 62 } }, "extra": { - "rawValue": "./", - "raw": "'./'" + "rawValue": "@aureooms/js-integer-big-endian", + "raw": "'@aureooms/js-integer-big-endian'" }, - "value": "./" + "value": "@aureooms/js-integer-big-endian" } }, { "type": "ImportDeclaration", - "start": 75, - "end": 142, + "start": 64, + "end": 121, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 3, - "column": 67 + "line": 2, + "column": 57 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 84, - "end": 89, + "start": 72, + "end": 81, "loc": { "start": { - "line": 3, - "column": 9 + "line": 2, + "column": 8 }, "end": { - "line": 3, - "column": 14 + "line": 2, + "column": 17 } }, "imported": { "type": "Identifier", - "start": 84, - "end": 89, + "start": 72, + "end": 81, "loc": { "start": { - "line": 3, - "column": 9 + "line": 2, + "column": 8 }, "end": { - "line": 3, - "column": 14 + "line": 2, + "column": 17 }, - "identifierName": "parse" + "identifierName": "TypeError" }, - "name": "parse" + "name": "TypeError" }, "local": { "type": "Identifier", - "start": 84, - "end": 89, + "start": 72, + "end": 81, "loc": { "start": { - "line": 3, - "column": 9 + "line": 2, + "column": 8 }, "end": { - "line": 3, - "column": 14 + "line": 2, + "column": 17 }, - "identifierName": "parse" + "identifierName": "TypeError" }, - "name": "parse" + "name": "TypeError" } }, { "type": "ImportSpecifier", - "start": 92, - "end": 99, + "start": 83, + "end": 93, "loc": { "start": { - "line": 3, - "column": 17 + "line": 2, + "column": 19 }, "end": { - "line": 3, - "column": 24 + "line": 2, + "column": 29 } }, "imported": { "type": "Identifier", - "start": 92, - "end": 99, + "start": 83, + "end": 93, "loc": { "start": { - "line": 3, - "column": 17 + "line": 2, + "column": 19 }, "end": { - "line": 3, - "column": 24 + "line": 2, + "column": 29 }, - "identifierName": "convert" + "identifierName": "ValueError" }, - "name": "convert" + "name": "ValueError" }, "local": { "type": "Identifier", - "start": 92, - "end": 99, + "start": 83, + "end": 93, "loc": { "start": { - "line": 3, - "column": 17 + "line": 2, + "column": 19 }, "end": { - "line": 3, - "column": 24 + "line": 2, + "column": 29 }, - "identifierName": "convert" + "identifierName": "ValueError" }, - "name": "convert" + "name": "ValueError" } } ], "source": { "type": "StringLiteral", - "start": 107, - "end": 140, + "start": 100, + "end": 120, "loc": { "start": { - "line": 3, - "column": 32 + "line": 2, + "column": 36 }, "end": { - "line": 3, - "column": 65 + "line": 2, + "column": 56 } }, "extra": { - "rawValue": "@aureooms/js-integer-big-endian", - "raw": "'@aureooms/js-integer-big-endian'" + "rawValue": "@aureooms/js-error", + "raw": "'@aureooms/js-error'" }, - "value": "@aureooms/js-integer-big-endian" + "value": "@aureooms/js-error" } }, { "type": "ImportDeclaration", - "start": 143, - "end": 204, + "start": 123, + "end": 160, "loc": { "start": { "line": 4, @@ -346,171 +309,208 @@ }, "end": { "line": 4, - "column": 61 + "column": 37 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 152, - "end": 161, + "start": 131, + "end": 138, "loc": { "start": { "line": 4, - "column": 9 + "column": 8 }, "end": { "line": 4, - "column": 18 + "column": 15 } }, "imported": { "type": "Identifier", - "start": 152, - "end": 161, + "start": 131, + "end": 138, "loc": { "start": { "line": 4, - "column": 9 + "column": 8 }, "end": { "line": 4, - "column": 18 + "column": 15 }, - "identifierName": "TypeError" + "identifierName": "Integer" }, - "name": "TypeError" + "name": "Integer" }, "local": { "type": "Identifier", - "start": 152, - "end": 161, + "start": 131, + "end": 138, "loc": { "start": { "line": 4, - "column": 9 + "column": 8 }, "end": { "line": 4, - "column": 18 + "column": 15 }, - "identifierName": "TypeError" + "identifierName": "Integer" }, - "name": "TypeError" + "name": "Integer" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 145, + "end": 159, + "loc": { + "start": { + "line": 4, + "column": 22 + }, + "end": { + "line": 4, + "column": 36 } }, + "extra": { + "rawValue": "./Integer.js", + "raw": "'./Integer.js'" + }, + "value": "./Integer.js" + } + }, + { + "type": "ImportDeclaration", + "start": 161, + "end": 224, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 63 + } + }, + "specifiers": [ { "type": "ImportSpecifier", - "start": 164, - "end": 174, + "start": 169, + "end": 189, "loc": { "start": { - "line": 4, - "column": 21 + "line": 5, + "column": 8 }, "end": { - "line": 4, - "column": 31 + "line": 5, + "column": 28 } }, "imported": { "type": "Identifier", - "start": 164, - "end": 174, + "start": 169, + "end": 189, "loc": { "start": { - "line": 4, - "column": 21 + "line": 5, + "column": 8 }, "end": { - "line": 4, - "column": 31 + "line": 5, + "column": 28 }, - "identifierName": "ValueError" + "identifierName": "DEFAULT_DISPLAY_BASE" }, - "name": "ValueError" + "name": "DEFAULT_DISPLAY_BASE" }, "local": { "type": "Identifier", - "start": 164, - "end": 174, + "start": 169, + "end": 189, "loc": { "start": { - "line": 4, - "column": 21 + "line": 5, + "column": 8 }, "end": { - "line": 4, - "column": 31 + "line": 5, + "column": 28 }, - "identifierName": "ValueError" + "identifierName": "DEFAULT_DISPLAY_BASE" }, - "name": "ValueError" + "name": "DEFAULT_DISPLAY_BASE" } } ], "source": { "type": "StringLiteral", - "start": 182, - "end": 202, + "start": 196, + "end": 223, "loc": { "start": { - "line": 4, - "column": 39 + "line": 5, + "column": 35 }, "end": { - "line": 4, - "column": 59 + "line": 5, + "column": 62 } }, "extra": { - "rawValue": "@aureooms/js-error", - "raw": "'@aureooms/js-error'" + "rawValue": "./DEFAULT_DISPLAY_BASE.js", + "raw": "'./DEFAULT_DISPLAY_BASE.js'" }, - "value": "@aureooms/js-error" + "value": "./DEFAULT_DISPLAY_BASE.js" } }, { "type": "ImportDeclaration", - "start": 205, - "end": 252, + "start": 225, + "end": 272, "loc": { "start": { - "line": 5, + "line": 6, "column": 0 }, "end": { - "line": 5, + "line": 6, "column": 47 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 214, - "end": 226, + "start": 233, + "end": 245, "loc": { "start": { - "line": 5, - "column": 9 + "line": 6, + "column": 8 }, "end": { - "line": 5, - "column": 21 + "line": 6, + "column": 20 } }, "imported": { "type": "Identifier", - "start": 214, - "end": 226, + "start": 233, + "end": 245, "loc": { "start": { - "line": 5, - "column": 9 + "line": 6, + "column": 8 }, "end": { - "line": 5, - "column": 21 + "line": 6, + "column": 20 }, "identifierName": "_from_number" }, @@ -518,16 +518,16 @@ }, "local": { "type": "Identifier", - "start": 214, - "end": 226, + "start": 233, + "end": 245, "loc": { "start": { - "line": 5, - "column": 9 + "line": 6, + "column": 8 }, "end": { - "line": 5, - "column": 21 + "line": 6, + "column": 20 }, "identifierName": "_from_number" }, @@ -537,36 +537,36 @@ ], "source": { "type": "StringLiteral", - "start": 234, - "end": 250, + "start": 252, + "end": 271, "loc": { "start": { - "line": 5, - "column": 29 + "line": 6, + "column": 27 }, "end": { - "line": 5, - "column": 45 + "line": 6, + "column": 46 } }, "extra": { - "rawValue": "./_from_number", - "raw": "'./_from_number'" + "rawValue": "./_from_number.js", + "raw": "'./_from_number.js'" }, - "value": "./_from_number" + "value": "./_from_number.js" } }, { "type": "ExportNamedDeclaration", - "start": 254, - "end": 3116, + "start": 274, + "end": 3103, "loc": { "start": { - "line": 7, + "line": 8, "column": 0 }, "end": { - "line": 115, + "line": 130, "column": 1 } }, @@ -574,29 +574,29 @@ "source": null, "declaration": { "type": "ClassDeclaration", - "start": 261, - "end": 3116, + "start": 281, + "end": 3103, "loc": { "start": { - "line": 7, + "line": 8, "column": 7 }, "end": { - "line": 115, + "line": 130, "column": 1 } }, "id": { "type": "Identifier", - "start": 267, - "end": 278, + "start": 287, + "end": 298, "loc": { "start": { - "line": 7, + "line": 8, "column": 13 }, "end": { - "line": 7, + "line": 8, "column": 24 }, "identifierName": "IntegerRing" @@ -606,23 +606,23 @@ "superClass": null, "body": { "type": "ClassBody", - "start": 279, - "end": 3116, + "start": 299, + "end": 3103, "loc": { "start": { - "line": 7, + "line": 8, "column": 25 }, "end": { - "line": 115, + "line": 130, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 283, - "end": 357, + "start": 302, + "end": 371, "loc": { "start": { "line": 9, @@ -637,8 +637,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 283, - "end": 294, + "start": 302, + "end": 313, "loc": { "start": { "line": 9, @@ -660,16 +660,16 @@ "params": [ { "type": "Identifier", - "start": 297, - "end": 301, + "start": 314, + "end": 318, "loc": { "start": { "line": 9, - "column": 15 + "column": 13 }, "end": { "line": 9, - "column": 19 + "column": 17 }, "identifierName": "name" }, @@ -677,16 +677,16 @@ }, { "type": "Identifier", - "start": 304, - "end": 308, + "start": 320, + "end": 324, "loc": { "start": { "line": 9, - "column": 22 + "column": 19 }, "end": { "line": 9, - "column": 26 + "column": 23 }, "identifierName": "base" }, @@ -695,12 +695,12 @@ ], "body": { "type": "BlockStatement", - "start": 311, - "end": 357, + "start": 326, + "end": 371, "loc": { "start": { "line": 9, - "column": 29 + "column": 25 }, "end": { "line": 12, @@ -710,8 +710,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 315, - "end": 333, + "start": 330, + "end": 347, "loc": { "start": { "line": 10, @@ -719,13 +719,13 @@ }, "end": { "line": 10, - "column": 20 + "column": 19 } }, "expression": { "type": "AssignmentExpression", - "start": 315, - "end": 331, + "start": 330, + "end": 346, "loc": { "start": { "line": 10, @@ -739,8 +739,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 315, - "end": 324, + "start": 330, + "end": 339, "loc": { "start": { "line": 10, @@ -753,8 +753,8 @@ }, "object": { "type": "ThisExpression", - "start": 315, - "end": 319, + "start": 330, + "end": 334, "loc": { "start": { "line": 10, @@ -768,8 +768,8 @@ }, "property": { "type": "Identifier", - "start": 320, - "end": 324, + "start": 335, + "end": 339, "loc": { "start": { "line": 10, @@ -787,8 +787,8 @@ }, "right": { "type": "Identifier", - "start": 327, - "end": 331, + "start": 342, + "end": 346, "loc": { "start": { "line": 10, @@ -806,8 +806,8 @@ }, { "type": "ExpressionStatement", - "start": 336, - "end": 354, + "start": 350, + "end": 368, "loc": { "start": { "line": 11, @@ -820,8 +820,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 336, - "end": 352, + "start": 350, + "end": 367, "loc": { "start": { "line": 11, @@ -829,14 +829,14 @@ }, "end": { "line": 11, - "column": 18 + "column": 19 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 336, - "end": 345, + "start": 350, + "end": 360, "loc": { "start": { "line": 11, @@ -844,13 +844,13 @@ }, "end": { "line": 11, - "column": 11 + "column": 12 } }, "object": { "type": "ThisExpression", - "start": 336, - "end": 340, + "start": 350, + "end": 354, "loc": { "start": { "line": 11, @@ -864,8 +864,8 @@ }, "property": { "type": "Identifier", - "start": 341, - "end": 345, + "start": 355, + "end": 360, "loc": { "start": { "line": 11, @@ -873,26 +873,26 @@ }, "end": { "line": 11, - "column": 11 + "column": 12 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false }, "right": { "type": "Identifier", - "start": 348, - "end": 352, + "start": 363, + "end": 367, "loc": { "start": { "line": 11, - "column": 14 + "column": 15 }, "end": { "line": 11, - "column": 18 + "column": 19 }, "identifierName": "base" }, @@ -906,8 +906,8 @@ }, { "type": "ClassMethod", - "start": 360, - "end": 404, + "start": 374, + "end": 415, "loc": { "start": { "line": 14, @@ -922,8 +922,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 360, - "end": 374, + "start": 374, + "end": 388, "loc": { "start": { "line": 14, @@ -945,12 +945,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 379, - "end": 404, + "start": 391, + "end": 415, "loc": { "start": { "line": 14, - "column": 20 + "column": 18 }, "end": { "line": 16, @@ -960,8 +960,8 @@ "body": [ { "type": "ReturnStatement", - "start": 383, - "end": 401, + "start": 395, + "end": 412, "loc": { "start": { "line": 15, @@ -969,13 +969,13 @@ }, "end": { "line": 15, - "column": 20 + "column": 19 } }, "argument": { "type": "CallExpression", - "start": 390, - "end": 399, + "start": 402, + "end": 411, "loc": { "start": { "line": 15, @@ -988,8 +988,8 @@ }, "callee": { "type": "MemberExpression", - "start": 390, - "end": 397, + "start": 402, + "end": 409, "loc": { "start": { "line": 15, @@ -1002,8 +1002,8 @@ }, "object": { "type": "ThisExpression", - "start": 390, - "end": 394, + "start": 402, + "end": 406, "loc": { "start": { "line": 15, @@ -1017,8 +1017,8 @@ }, "property": { "type": "Identifier", - "start": 395, - "end": 397, + "start": 407, + "end": 409, "loc": { "start": { "line": 15, @@ -1043,15 +1043,15 @@ }, { "type": "ClassMethod", - "start": 407, - "end": 1688, + "start": 418, + "end": 1744, "loc": { "start": { "line": 18, "column": 1 }, "end": { - "line": 49, + "line": 60, "column": 2 } }, @@ -1059,8 +1059,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 407, - "end": 411, + "start": 418, + "end": 422, "loc": { "start": { "line": 18, @@ -1082,16 +1082,16 @@ "params": [ { "type": "Identifier", - "start": 414, - "end": 420, + "start": 423, + "end": 429, "loc": { "start": { "line": 18, - "column": 8 + "column": 6 }, "end": { "line": 18, - "column": 14 + "column": 12 }, "identifierName": "object" }, @@ -1099,30 +1099,30 @@ }, { "type": "AssignmentPattern", - "start": 423, - "end": 439, + "start": 431, + "end": 447, "loc": { "start": { "line": 18, - "column": 17 + "column": 14 }, "end": { "line": 18, - "column": 33 + "column": 30 } }, "left": { "type": "Identifier", - "start": 423, - "end": 427, + "start": 431, + "end": 435, "loc": { "start": { "line": 18, - "column": 17 + "column": 14 }, "end": { "line": 18, - "column": 21 + "column": 18 }, "identifierName": "base" }, @@ -1130,16 +1130,16 @@ }, "right": { "type": "Identifier", - "start": 430, - "end": 439, + "start": 438, + "end": 447, "loc": { "start": { "line": 18, - "column": 24 + "column": 21 }, "end": { "line": 18, - "column": 33 + "column": 30 }, "identifierName": "undefined" }, @@ -1148,30 +1148,30 @@ }, { "type": "AssignmentPattern", - "start": 442, - "end": 457, + "start": 449, + "end": 464, "loc": { "start": { "line": 18, - "column": 36 + "column": 32 }, "end": { "line": 18, - "column": 51 + "column": 47 } }, "left": { "type": "Identifier", - "start": 442, - "end": 453, + "start": 449, + "end": 460, "loc": { "start": { "line": 18, - "column": 36 + "column": 32 }, "end": { "line": 18, - "column": 47 + "column": 43 }, "identifierName": "is_negative" }, @@ -1179,16 +1179,16 @@ }, "right": { "type": "NumericLiteral", - "start": 456, - "end": 457, + "start": 463, + "end": 464, "loc": { "start": { "line": 18, - "column": 50 + "column": 46 }, "end": { "line": 18, - "column": 51 + "column": 47 } }, "extra": { @@ -1201,73 +1201,73 @@ ], "body": { "type": "BlockStatement", - "start": 460, - "end": 1688, + "start": 466, + "end": 1744, "loc": { "start": { "line": 18, - "column": 54 + "column": 49 }, "end": { - "line": 49, + "line": 60, "column": 2 } }, "body": [ { "type": "IfStatement", - "start": 465, - "end": 529, + "start": 470, + "end": 532, "loc": { "start": { - "line": 20, + "line": 19, "column": 2 }, "end": { - "line": 20, - "column": 66 + "line": 19, + "column": 64 } }, "test": { "type": "LogicalExpression", - "start": 470, - "end": 509, + "start": 474, + "end": 513, "loc": { "start": { - "line": 20, - "column": 7 + "line": 19, + "column": 6 }, "end": { - "line": 20, - "column": 46 + "line": 19, + "column": 45 } }, "left": { "type": "BinaryExpression", - "start": 470, - "end": 485, + "start": 474, + "end": 489, "loc": { "start": { - "line": 20, - "column": 7 + "line": 19, + "column": 6 }, "end": { - "line": 20, - "column": 22 + "line": 19, + "column": 21 } }, "left": { "type": "Identifier", - "start": 470, - "end": 476, + "start": 474, + "end": 480, "loc": { "start": { - "line": 20, - "column": 7 + "line": 19, + "column": 6 }, "end": { - "line": 20, - "column": 13 + "line": 19, + "column": 12 }, "identifierName": "object" }, @@ -1276,16 +1276,16 @@ "operator": "===", "right": { "type": "NullLiteral", - "start": 481, - "end": 485, + "start": 485, + "end": 489, "loc": { "start": { - "line": 20, - "column": 18 + "line": 19, + "column": 17 }, "end": { - "line": 20, - "column": 22 + "line": 19, + "column": 21 } } } @@ -1293,30 +1293,30 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 489, - "end": 509, + "start": 493, + "end": 513, "loc": { "start": { - "line": 20, - "column": 26 + "line": 19, + "column": 25 }, "end": { - "line": 20, - "column": 46 + "line": 19, + "column": 45 } }, "left": { "type": "Identifier", - "start": 489, - "end": 495, + "start": 493, + "end": 499, "loc": { "start": { - "line": 20, - "column": 26 + "line": 19, + "column": 25 }, "end": { - "line": 20, - "column": 32 + "line": 19, + "column": 31 }, "identifierName": "object" }, @@ -1325,16 +1325,16 @@ "operator": "===", "right": { "type": "Identifier", - "start": 500, - "end": 509, + "start": 504, + "end": 513, "loc": { "start": { - "line": 20, - "column": 37 + "line": 19, + "column": 36 }, "end": { - "line": 20, - "column": 46 + "line": 19, + "column": 45 }, "identifierName": "undefined" }, @@ -1344,73 +1344,73 @@ }, "consequent": { "type": "ReturnStatement", - "start": 512, - "end": 529, + "start": 515, + "end": 532, "loc": { "start": { - "line": 20, - "column": 49 + "line": 19, + "column": 47 }, "end": { - "line": 20, - "column": 66 + "line": 19, + "column": 64 } }, "argument": { "type": "CallExpression", - "start": 519, - "end": 528, + "start": 522, + "end": 531, "loc": { "start": { - "line": 20, - "column": 56 + "line": 19, + "column": 54 }, "end": { - "line": 20, - "column": 65 + "line": 19, + "column": 63 } }, "callee": { "type": "MemberExpression", - "start": 519, - "end": 526, + "start": 522, + "end": 529, "loc": { "start": { - "line": 20, - "column": 56 + "line": 19, + "column": 54 }, "end": { - "line": 20, - "column": 63 + "line": 19, + "column": 61 } }, "object": { "type": "ThisExpression", - "start": 519, - "end": 523, + "start": 522, + "end": 526, "loc": { "start": { - "line": 20, - "column": 56 + "line": 19, + "column": 54 }, "end": { - "line": 20, - "column": 60 + "line": 19, + "column": 58 } } }, "property": { "type": "Identifier", - "start": 524, - "end": 526, + "start": 527, + "end": 529, "loc": { "start": { - "line": 20, - "column": 61 + "line": 19, + "column": 59 }, "end": { - "line": 20, - "column": 63 + "line": 19, + "column": 61 }, "identifierName": "$0" }, @@ -1425,58 +1425,58 @@ }, { "type": "SwitchStatement", - "start": 533, - "end": 1684, + "start": 536, + "end": 1741, "loc": { "start": { - "line": 22, + "line": 21, "column": 2 }, "end": { - "line": 47, + "line": 59, "column": 3 } }, "discriminant": { "type": "MemberExpression", - "start": 542, - "end": 570, + "start": 544, + "end": 572, "loc": { "start": { - "line": 22, - "column": 11 + "line": 21, + "column": 10 }, "end": { - "line": 22, - "column": 39 + "line": 21, + "column": 38 } }, "object": { "type": "MemberExpression", - "start": 542, - "end": 560, + "start": 544, + "end": 562, "loc": { "start": { - "line": 22, - "column": 11 + "line": 21, + "column": 10 }, "end": { - "line": 22, - "column": 29 + "line": 21, + "column": 28 } }, "object": { "type": "Identifier", - "start": 542, - "end": 548, + "start": 544, + "end": 550, "loc": { "start": { - "line": 22, - "column": 11 + "line": 21, + "column": 10 }, "end": { - "line": 22, - "column": 17 + "line": 21, + "column": 16 }, "identifierName": "object" }, @@ -1484,16 +1484,16 @@ }, "property": { "type": "Identifier", - "start": 549, - "end": 560, + "start": 551, + "end": 562, "loc": { "start": { - "line": 22, - "column": 18 + "line": 21, + "column": 17 }, "end": { - "line": 22, - "column": 29 + "line": 21, + "column": 28 }, "identifierName": "constructor" }, @@ -1503,16 +1503,16 @@ }, "property": { "type": "Identifier", - "start": 561, - "end": 570, + "start": 563, + "end": 572, "loc": { "start": { - "line": 22, - "column": 30 + "line": 21, + "column": 29 }, "end": { - "line": 22, - "column": 39 + "line": 21, + "column": 38 }, "identifierName": "prototype" }, @@ -1524,58 +1524,58 @@ { "type": "SwitchCase", "start": 579, - "end": 798, + "end": 809, "loc": { "start": { - "line": 24, + "line": 22, "column": 3 }, "end": { - "line": 26, - "column": 53 + "line": 27, + "column": 49 } }, "consequent": [ { "type": "IfStatement", - "start": 607, - "end": 744, + "start": 606, + "end": 759, "loc": { "start": { - "line": 25, + "line": 23, "column": 4 }, "end": { - "line": 25, - "column": 141 + "line": 26, + "column": 7 } }, "test": { "type": "BinaryExpression", - "start": 612, - "end": 630, + "start": 610, + "end": 628, "loc": { "start": { - "line": 25, - "column": 9 + "line": 23, + "column": 8 }, "end": { - "line": 25, - "column": 27 + "line": 23, + "column": 26 } }, "left": { "type": "Identifier", - "start": 612, - "end": 616, + "start": 610, + "end": 614, "loc": { "start": { - "line": 25, - "column": 9 + "line": 23, + "column": 8 }, "end": { - "line": 25, - "column": 13 + "line": 23, + "column": 12 }, "identifierName": "base" }, @@ -1584,16 +1584,16 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 621, - "end": 630, + "start": 619, + "end": 628, "loc": { "start": { - "line": 25, - "column": 18 + "line": 23, + "column": 17 }, "end": { - "line": 25, - "column": 27 + "line": 23, + "column": 26 }, "identifierName": "undefined" }, @@ -1602,44 +1602,44 @@ }, "consequent": { "type": "ThrowStatement", - "start": 633, - "end": 744, + "start": 635, + "end": 759, "loc": { "start": { - "line": 25, - "column": 30 + "line": 24, + "column": 5 }, "end": { - "line": 25, - "column": 141 + "line": 26, + "column": 7 } }, "argument": { "type": "NewExpression", - "start": 639, - "end": 742, + "start": 641, + "end": 758, "loc": { "start": { - "line": 25, - "column": 36 + "line": 24, + "column": 11 }, "end": { - "line": 25, - "column": 139 + "line": 26, + "column": 6 } }, "callee": { "type": "Identifier", - "start": 643, - "end": 653, + "start": 645, + "end": 655, "loc": { "start": { - "line": 25, - "column": 40 + "line": 24, + "column": 15 }, "end": { - "line": 25, - "column": 50 + "line": 24, + "column": 25 }, "identifierName": "ValueError" }, @@ -1648,16 +1648,16 @@ "arguments": [ { "type": "StringLiteral", - "start": 654, - "end": 741, + "start": 663, + "end": 750, "loc": { "start": { "line": 25, - "column": 51 + "column": 6 }, "end": { "line": 25, - "column": 138 + "column": 93 } }, "extra": { @@ -1673,72 +1673,72 @@ }, { "type": "ReturnStatement", - "start": 749, - "end": 798, + "start": 764, + "end": 809, "loc": { "start": { - "line": 26, + "line": 27, "column": 4 }, "end": { - "line": 26, - "column": 53 + "line": 27, + "column": 49 } }, "argument": { "type": "CallExpression", - "start": 756, - "end": 796, + "start": 771, + "end": 808, "loc": { "start": { - "line": 26, + "line": 27, "column": 11 }, "end": { - "line": 26, - "column": 51 + "line": 27, + "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 756, - "end": 772, + "start": 771, + "end": 787, "loc": { "start": { - "line": 26, + "line": 27, "column": 11 }, "end": { - "line": 26, + "line": 27, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 756, - "end": 760, + "start": 771, + "end": 775, "loc": { "start": { - "line": 26, + "line": 27, "column": 11 }, "end": { - "line": 26, + "line": 27, "column": 15 } } }, "property": { "type": "Identifier", - "start": 761, - "end": 772, + "start": 776, + "end": 787, "loc": { "start": { - "line": 26, + "line": 27, "column": 16 }, "end": { - "line": 26, + "line": 27, "column": 27 }, "identifierName": "from_number" @@ -1750,16 +1750,16 @@ "arguments": [ { "type": "Identifier", - "start": 774, - "end": 780, + "start": 788, + "end": 794, "loc": { "start": { - "line": 26, - "column": 29 + "line": 27, + "column": 28 }, "end": { - "line": 26, - "column": 35 + "line": 27, + "column": 34 }, "identifierName": "object" }, @@ -1767,16 +1767,16 @@ }, { "type": "Identifier", - "start": 783, - "end": 794, + "start": 796, + "end": 807, "loc": { "start": { - "line": 26, - "column": 38 + "line": 27, + "column": 36 }, "end": { - "line": 26, - "column": 49 + "line": 27, + "column": 47 }, "identifierName": "is_negative" }, @@ -1792,11 +1792,11 @@ "end": 600, "loc": { "start": { - "line": 24, + "line": 22, "column": 8 }, "end": { - "line": 24, + "line": 22, "column": 24 } }, @@ -1806,11 +1806,11 @@ "end": 590, "loc": { "start": { - "line": 24, + "line": 22, "column": 8 }, "end": { - "line": 24, + "line": 22, "column": 14 }, "identifierName": "Number" @@ -1823,11 +1823,11 @@ "end": 600, "loc": { "start": { - "line": 24, + "line": 22, "column": 15 }, "end": { - "line": 24, + "line": 22, "column": 24 }, "identifierName": "prototype" @@ -1839,59 +1839,59 @@ }, { "type": "SwitchCase", - "start": 803, - "end": 947, + "start": 814, + "end": 949, "loc": { "start": { - "line": 28, + "line": 29, "column": 3 }, "end": { - "line": 30, - "column": 60 + "line": 31, + "column": 55 } }, "consequent": [ { "type": "IfStatement", - "start": 831, - "end": 886, + "start": 841, + "end": 893, "loc": { "start": { - "line": 29, + "line": 30, "column": 4 }, "end": { - "line": 29, - "column": 59 + "line": 30, + "column": 56 } }, "test": { "type": "BinaryExpression", - "start": 836, - "end": 854, + "start": 845, + "end": 863, "loc": { "start": { - "line": 29, - "column": 9 + "line": 30, + "column": 8 }, "end": { - "line": 29, - "column": 27 + "line": 30, + "column": 26 } }, "left": { "type": "Identifier", - "start": 836, - "end": 840, + "start": 845, + "end": 849, "loc": { "start": { - "line": 29, - "column": 9 + "line": 30, + "column": 8 }, "end": { - "line": 29, - "column": 13 + "line": 30, + "column": 12 }, "identifierName": "base" }, @@ -1900,16 +1900,16 @@ "operator": "===", "right": { "type": "Identifier", - "start": 845, - "end": 854, + "start": 854, + "end": 863, "loc": { "start": { - "line": 29, - "column": 18 + "line": 30, + "column": 17 }, "end": { - "line": 29, - "column": 27 + "line": 30, + "column": 26 }, "identifierName": "undefined" }, @@ -1918,45 +1918,45 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 857, - "end": 886, + "start": 865, + "end": 893, "loc": { "start": { - "line": 29, - "column": 30 + "line": 30, + "column": 28 }, "end": { - "line": 29, - "column": 59 + "line": 30, + "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 857, - "end": 884, + "start": 865, + "end": 892, "loc": { "start": { - "line": 29, - "column": 30 + "line": 30, + "column": 28 }, "end": { - "line": 29, - "column": 57 + "line": 30, + "column": 55 } }, "operator": "=", "left": { "type": "Identifier", - "start": 857, - "end": 861, + "start": 865, + "end": 869, "loc": { "start": { - "line": 29, - "column": 30 + "line": 30, + "column": 28 }, "end": { - "line": 29, - "column": 34 + "line": 30, + "column": 32 }, "identifierName": "base" }, @@ -1964,16 +1964,16 @@ }, "right": { "type": "Identifier", - "start": 864, - "end": 884, + "start": 872, + "end": 892, "loc": { "start": { - "line": 29, - "column": 37 + "line": 30, + "column": 35 }, "end": { - "line": 29, - "column": 57 + "line": 30, + "column": 55 }, "identifierName": "DEFAULT_DISPLAY_BASE" }, @@ -1985,72 +1985,72 @@ }, { "type": "ReturnStatement", - "start": 891, - "end": 947, + "start": 898, + "end": 949, "loc": { "start": { - "line": 30, + "line": 31, "column": 4 }, "end": { - "line": 30, - "column": 60 + "line": 31, + "column": 55 } }, "argument": { "type": "CallExpression", - "start": 898, - "end": 945, + "start": 905, + "end": 948, "loc": { "start": { - "line": 30, + "line": 31, "column": 11 }, "end": { - "line": 30, - "column": 58 + "line": 31, + "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 898, - "end": 914, + "start": 905, + "end": 921, "loc": { "start": { - "line": 30, + "line": 31, "column": 11 }, "end": { - "line": 30, + "line": 31, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 898, - "end": 902, + "start": 905, + "end": 909, "loc": { "start": { - "line": 30, + "line": 31, "column": 11 }, "end": { - "line": 30, + "line": 31, "column": 15 } } }, "property": { "type": "Identifier", - "start": 903, - "end": 914, + "start": 910, + "end": 921, "loc": { "start": { - "line": 30, + "line": 31, "column": 16 }, "end": { - "line": 30, + "line": 31, "column": 27 }, "identifierName": "from_string" @@ -2062,16 +2062,16 @@ "arguments": [ { "type": "Identifier", - "start": 916, - "end": 922, + "start": 922, + "end": 928, "loc": { "start": { - "line": 30, - "column": 29 + "line": 31, + "column": 28 }, "end": { - "line": 30, - "column": 35 + "line": 31, + "column": 34 }, "identifierName": "object" }, @@ -2079,16 +2079,16 @@ }, { "type": "Identifier", - "start": 925, - "end": 929, + "start": 930, + "end": 934, "loc": { "start": { - "line": 30, - "column": 38 + "line": 31, + "column": 36 }, "end": { - "line": 30, - "column": 42 + "line": 31, + "column": 40 }, "identifierName": "base" }, @@ -2096,16 +2096,16 @@ }, { "type": "Identifier", - "start": 932, - "end": 943, + "start": 936, + "end": 947, "loc": { "start": { - "line": 30, - "column": 45 + "line": 31, + "column": 42 }, "end": { - "line": 30, - "column": 56 + "line": 31, + "column": 53 }, "identifierName": "is_negative" }, @@ -2117,29 +2117,29 @@ ], "test": { "type": "MemberExpression", - "start": 808, - "end": 824, + "start": 819, + "end": 835, "loc": { "start": { - "line": 28, + "line": 29, "column": 8 }, "end": { - "line": 28, + "line": 29, "column": 24 } }, "object": { "type": "Identifier", - "start": 808, - "end": 814, + "start": 819, + "end": 825, "loc": { "start": { - "line": 28, + "line": 29, "column": 8 }, "end": { - "line": 28, + "line": 29, "column": 14 }, "identifierName": "String" @@ -2148,15 +2148,15 @@ }, "property": { "type": "Identifier", - "start": 815, - "end": 824, + "start": 826, + "end": 835, "loc": { "start": { - "line": 28, + "line": 29, "column": 15 }, "end": { - "line": 28, + "line": 29, "column": 24 }, "identifierName": "prototype" @@ -2168,31 +2168,31 @@ }, { "type": "SwitchCase", - "start": 952, - "end": 1084, + "start": 954, + "end": 1078, "loc": { "start": { - "line": 32, + "line": 33, "column": 3 }, "end": { - "line": 34, - "column": 60 + "line": 35, + "column": 55 } }, "consequent": [ { "type": "IfStatement", - "start": 979, - "end": 1023, + "start": 980, + "end": 1022, "loc": { "start": { - "line": 33, + "line": 34, "column": 4 }, "end": { - "line": 33, - "column": 48 + "line": 34, + "column": 46 } }, "test": { @@ -2201,12 +2201,12 @@ "end": 1002, "loc": { "start": { - "line": 33, - "column": 9 + "line": 34, + "column": 8 }, "end": { - "line": 33, - "column": 27 + "line": 34, + "column": 26 } }, "left": { @@ -2215,12 +2215,12 @@ "end": 988, "loc": { "start": { - "line": 33, - "column": 9 + "line": 34, + "column": 8 }, "end": { - "line": 33, - "column": 13 + "line": 34, + "column": 12 }, "identifierName": "base" }, @@ -2233,12 +2233,12 @@ "end": 1002, "loc": { "start": { - "line": 33, - "column": 18 + "line": 34, + "column": 17 }, "end": { - "line": 33, - "column": 27 + "line": 34, + "column": 26 }, "identifierName": "undefined" }, @@ -2247,45 +2247,45 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 1005, - "end": 1023, + "start": 1004, + "end": 1022, "loc": { "start": { - "line": 33, - "column": 30 + "line": 34, + "column": 28 }, "end": { - "line": 33, - "column": 48 + "line": 34, + "column": 46 } }, "expression": { "type": "AssignmentExpression", - "start": 1005, + "start": 1004, "end": 1021, "loc": { "start": { - "line": 33, - "column": 30 + "line": 34, + "column": 28 }, "end": { - "line": 33, - "column": 46 + "line": 34, + "column": 45 } }, "operator": "=", "left": { "type": "Identifier", - "start": 1005, - "end": 1009, + "start": 1004, + "end": 1008, "loc": { "start": { - "line": 33, - "column": 30 + "line": 34, + "column": 28 }, "end": { - "line": 33, - "column": 34 + "line": 34, + "column": 32 }, "identifierName": "base" }, @@ -2293,49 +2293,49 @@ }, "right": { "type": "MemberExpression", - "start": 1012, + "start": 1011, "end": 1021, "loc": { "start": { - "line": 33, - "column": 37 + "line": 34, + "column": 35 }, "end": { - "line": 33, - "column": 46 + "line": 34, + "column": 45 } }, "object": { "type": "ThisExpression", - "start": 1012, - "end": 1016, + "start": 1011, + "end": 1015, "loc": { "start": { - "line": 33, - "column": 37 + "line": 34, + "column": 35 }, "end": { - "line": 33, - "column": 41 + "line": 34, + "column": 39 } } }, "property": { "type": "Identifier", - "start": 1017, + "start": 1016, "end": 1021, "loc": { "start": { - "line": 33, - "column": 42 + "line": 34, + "column": 40 }, "end": { - "line": 33, - "column": 46 + "line": 34, + "column": 45 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false } @@ -2345,72 +2345,72 @@ }, { "type": "ReturnStatement", - "start": 1028, - "end": 1084, + "start": 1027, + "end": 1078, "loc": { "start": { - "line": 34, + "line": 35, "column": 4 }, "end": { - "line": 34, - "column": 60 + "line": 35, + "column": 55 } }, "argument": { "type": "CallExpression", - "start": 1035, - "end": 1082, + "start": 1034, + "end": 1077, "loc": { "start": { - "line": 34, + "line": 35, "column": 11 }, "end": { - "line": 34, - "column": 58 + "line": 35, + "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 1035, - "end": 1051, + "start": 1034, + "end": 1050, "loc": { "start": { - "line": 34, + "line": 35, "column": 11 }, "end": { - "line": 34, + "line": 35, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 1035, - "end": 1039, + "start": 1034, + "end": 1038, "loc": { "start": { - "line": 34, + "line": 35, "column": 11 }, "end": { - "line": 34, + "line": 35, "column": 15 } } }, "property": { "type": "Identifier", - "start": 1040, - "end": 1051, + "start": 1039, + "end": 1050, "loc": { "start": { - "line": 34, + "line": 35, "column": 16 }, "end": { - "line": 34, + "line": 35, "column": 27 }, "identifierName": "from_digits" @@ -2422,16 +2422,16 @@ "arguments": [ { "type": "Identifier", - "start": 1053, - "end": 1059, + "start": 1051, + "end": 1057, "loc": { "start": { - "line": 34, - "column": 29 + "line": 35, + "column": 28 }, "end": { - "line": 34, - "column": 35 + "line": 35, + "column": 34 }, "identifierName": "object" }, @@ -2439,16 +2439,16 @@ }, { "type": "Identifier", - "start": 1062, - "end": 1066, + "start": 1059, + "end": 1063, "loc": { "start": { - "line": 34, - "column": 38 + "line": 35, + "column": 36 }, "end": { - "line": 34, - "column": 42 + "line": 35, + "column": 40 }, "identifierName": "base" }, @@ -2456,16 +2456,16 @@ }, { "type": "Identifier", - "start": 1069, - "end": 1080, + "start": 1065, + "end": 1076, "loc": { "start": { - "line": 34, - "column": 45 + "line": 35, + "column": 42 }, "end": { - "line": 34, - "column": 56 + "line": 35, + "column": 53 }, "identifierName": "is_negative" }, @@ -2477,29 +2477,29 @@ ], "test": { "type": "MemberExpression", - "start": 957, - "end": 972, + "start": 959, + "end": 974, "loc": { "start": { - "line": 32, + "line": 33, "column": 8 }, "end": { - "line": 32, + "line": 33, "column": 23 } }, "object": { "type": "Identifier", - "start": 957, - "end": 962, + "start": 959, + "end": 964, "loc": { "start": { - "line": 32, + "line": 33, "column": 8 }, "end": { - "line": 32, + "line": 33, "column": 13 }, "identifierName": "Array" @@ -2508,15 +2508,15 @@ }, "property": { "type": "Identifier", - "start": 963, - "end": 972, + "start": 965, + "end": 974, "loc": { "start": { - "line": 32, + "line": 33, "column": 14 }, "end": { - "line": 32, + "line": 33, "column": 23 }, "identifierName": "prototype" @@ -2528,59 +2528,59 @@ }, { "type": "SwitchCase", - "start": 1089, - "end": 1311, + "start": 1083, + "end": 1323, "loc": { "start": { - "line": 36, + "line": 37, "column": 3 }, "end": { - "line": 38, - "column": 54 + "line": 42, + "column": 57 } }, "consequent": [ { "type": "IfStatement", - "start": 1118, - "end": 1256, + "start": 1111, + "end": 1265, "loc": { "start": { - "line": 37, + "line": 38, "column": 4 }, "end": { - "line": 37, - "column": 142 + "line": 41, + "column": 7 } }, "test": { "type": "BinaryExpression", - "start": 1123, - "end": 1141, + "start": 1115, + "end": 1133, "loc": { "start": { - "line": 37, - "column": 9 + "line": 38, + "column": 8 }, "end": { - "line": 37, - "column": 27 + "line": 38, + "column": 26 } }, "left": { "type": "Identifier", - "start": 1123, - "end": 1127, + "start": 1115, + "end": 1119, "loc": { "start": { - "line": 37, - "column": 9 + "line": 38, + "column": 8 }, "end": { - "line": 37, - "column": 13 + "line": 38, + "column": 12 }, "identifierName": "base" }, @@ -2589,16 +2589,16 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 1132, - "end": 1141, + "start": 1124, + "end": 1133, "loc": { "start": { - "line": 37, - "column": 18 + "line": 38, + "column": 17 }, "end": { - "line": 37, - "column": 27 + "line": 38, + "column": 26 }, "identifierName": "undefined" }, @@ -2607,44 +2607,44 @@ }, "consequent": { "type": "ThrowStatement", - "start": 1144, - "end": 1256, + "start": 1140, + "end": 1265, "loc": { "start": { - "line": 37, - "column": 30 + "line": 39, + "column": 5 }, "end": { - "line": 37, - "column": 142 + "line": 41, + "column": 7 } }, "argument": { "type": "NewExpression", - "start": 1150, - "end": 1254, + "start": 1146, + "end": 1264, "loc": { "start": { - "line": 37, - "column": 36 + "line": 39, + "column": 11 }, "end": { - "line": 37, - "column": 140 + "line": 41, + "column": 6 } }, "callee": { "type": "Identifier", - "start": 1154, - "end": 1164, + "start": 1150, + "end": 1160, "loc": { "start": { - "line": 37, - "column": 40 + "line": 39, + "column": 15 }, "end": { - "line": 37, - "column": 50 + "line": 39, + "column": 25 }, "identifierName": "ValueError" }, @@ -2653,16 +2653,16 @@ "arguments": [ { "type": "StringLiteral", - "start": 1165, - "end": 1253, + "start": 1168, + "end": 1256, "loc": { "start": { - "line": 37, - "column": 51 + "line": 40, + "column": 6 }, "end": { - "line": 37, - "column": 139 + "line": 40, + "column": 94 } }, "extra": { @@ -2678,72 +2678,72 @@ }, { "type": "ReturnStatement", - "start": 1261, - "end": 1311, + "start": 1270, + "end": 1323, "loc": { "start": { - "line": 38, + "line": 42, "column": 4 }, "end": { - "line": 38, - "column": 54 + "line": 42, + "column": 57 } }, "argument": { "type": "CallExpression", - "start": 1268, - "end": 1309, + "start": 1277, + "end": 1322, "loc": { "start": { - "line": 38, + "line": 42, "column": 11 }, "end": { - "line": 38, - "column": 52 + "line": 42, + "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 1268, - "end": 1284, + "start": 1277, + "end": 1293, "loc": { "start": { - "line": 38, + "line": 42, "column": 11 }, "end": { - "line": 38, + "line": 42, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 1268, - "end": 1272, + "start": 1277, + "end": 1281, "loc": { "start": { - "line": 38, + "line": 42, "column": 11 }, "end": { - "line": 38, + "line": 42, "column": 15 } } }, "property": { "type": "Identifier", - "start": 1273, - "end": 1284, + "start": 1282, + "end": 1293, "loc": { "start": { - "line": 38, + "line": 42, "column": 16 }, "end": { - "line": 38, + "line": 42, "column": 27 }, "identifierName": "from_number" @@ -2754,54 +2754,68 @@ }, "arguments": [ { - "type": "UnaryExpression", - "start": 1286, - "end": 1293, + "type": "CallExpression", + "start": 1294, + "end": 1308, "loc": { "start": { - "line": 38, - "column": 29 + "line": 42, + "column": 28 }, "end": { - "line": 38, - "column": 36 + "line": 42, + "column": 42 } }, - "operator": "+", - "prefix": true, - "argument": { + "callee": { "type": "Identifier", - "start": 1287, - "end": 1293, + "start": 1294, + "end": 1300, "loc": { "start": { - "line": 38, - "column": 30 + "line": 42, + "column": 28 }, "end": { - "line": 38, - "column": 36 + "line": 42, + "column": 34 }, - "identifierName": "object" + "identifierName": "Number" }, - "name": "object" + "name": "Number" }, - "extra": { - "parenthesizedArgument": false - } + "arguments": [ + { + "type": "Identifier", + "start": 1301, + "end": 1307, + "loc": { + "start": { + "line": 42, + "column": 35 + }, + "end": { + "line": 42, + "column": 41 + }, + "identifierName": "object" + }, + "name": "object" + } + ] }, { "type": "Identifier", - "start": 1296, - "end": 1307, + "start": 1310, + "end": 1321, "loc": { "start": { - "line": 38, - "column": 39 + "line": 42, + "column": 44 }, "end": { - "line": 38, - "column": 50 + "line": 42, + "column": 55 }, "identifierName": "is_negative" }, @@ -2813,29 +2827,29 @@ ], "test": { "type": "MemberExpression", - "start": 1094, - "end": 1111, + "start": 1088, + "end": 1105, "loc": { "start": { - "line": 36, + "line": 37, "column": 8 }, "end": { - "line": 36, + "line": 37, "column": 25 } }, "object": { "type": "Identifier", - "start": 1094, - "end": 1101, + "start": 1088, + "end": 1095, "loc": { "start": { - "line": 36, + "line": 37, "column": 8 }, "end": { - "line": 36, + "line": 37, "column": 15 }, "identifierName": "Boolean" @@ -2844,15 +2858,15 @@ }, "property": { "type": "Identifier", - "start": 1102, - "end": 1111, + "start": 1096, + "end": 1105, "loc": { "start": { - "line": 36, + "line": 37, "column": 16 }, "end": { - "line": 36, + "line": 37, "column": 25 }, "identifierName": "prototype" @@ -2864,59 +2878,59 @@ }, { "type": "SwitchCase", - "start": 1316, - "end": 1574, + "start": 1328, + "end": 1621, "loc": { "start": { - "line": 40, + "line": 44, "column": 3 }, "end": { - "line": 42, - "column": 89 + "line": 53, + "column": 6 } }, "consequent": [ { "type": "IfStatement", - "start": 1345, - "end": 1484, + "start": 1356, + "end": 1511, "loc": { "start": { - "line": 41, + "line": 45, "column": 4 }, "end": { - "line": 41, - "column": 143 + "line": 48, + "column": 7 } }, "test": { "type": "BinaryExpression", - "start": 1350, - "end": 1368, + "start": 1360, + "end": 1378, "loc": { "start": { - "line": 41, - "column": 9 + "line": 45, + "column": 8 }, "end": { - "line": 41, - "column": 27 + "line": 45, + "column": 26 } }, "left": { "type": "Identifier", - "start": 1350, - "end": 1354, + "start": 1360, + "end": 1364, "loc": { "start": { - "line": 41, - "column": 9 + "line": 45, + "column": 8 }, "end": { - "line": 41, - "column": 13 + "line": 45, + "column": 12 }, "identifierName": "base" }, @@ -2925,16 +2939,16 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 1359, - "end": 1368, + "start": 1369, + "end": 1378, "loc": { "start": { - "line": 41, - "column": 18 + "line": 45, + "column": 17 }, "end": { - "line": 41, - "column": 27 + "line": 45, + "column": 26 }, "identifierName": "undefined" }, @@ -2943,44 +2957,44 @@ }, "consequent": { "type": "ThrowStatement", - "start": 1371, - "end": 1484, + "start": 1385, + "end": 1511, "loc": { "start": { - "line": 41, - "column": 30 + "line": 46, + "column": 5 }, "end": { - "line": 41, - "column": 143 + "line": 48, + "column": 7 } }, "argument": { "type": "NewExpression", - "start": 1377, - "end": 1482, + "start": 1391, + "end": 1510, "loc": { "start": { - "line": 41, - "column": 36 + "line": 46, + "column": 11 }, "end": { - "line": 41, - "column": 141 + "line": 48, + "column": 6 } }, "callee": { "type": "Identifier", - "start": 1381, - "end": 1391, + "start": 1395, + "end": 1405, "loc": { "start": { - "line": 41, - "column": 40 + "line": 46, + "column": 15 }, "end": { - "line": 41, - "column": 50 + "line": 46, + "column": 25 }, "identifierName": "ValueError" }, @@ -2989,16 +3003,16 @@ "arguments": [ { "type": "StringLiteral", - "start": 1392, - "end": 1481, + "start": 1413, + "end": 1502, "loc": { "start": { - "line": 41, - "column": 51 + "line": 47, + "column": 6 }, "end": { - "line": 41, - "column": 140 + "line": 47, + "column": 95 } }, "extra": { @@ -3014,43 +3028,43 @@ }, { "type": "ReturnStatement", - "start": 1489, - "end": 1574, + "start": 1516, + "end": 1621, "loc": { "start": { - "line": 42, + "line": 49, "column": 4 }, "end": { - "line": 42, - "column": 89 + "line": 53, + "column": 6 } }, "argument": { "type": "NewExpression", - "start": 1496, - "end": 1572, + "start": 1523, + "end": 1620, "loc": { "start": { - "line": 42, + "line": 49, "column": 11 }, "end": { - "line": 42, - "column": 87 + "line": 53, + "column": 5 } }, "callee": { "type": "Identifier", - "start": 1500, - "end": 1507, + "start": 1527, + "end": 1534, "loc": { "start": { - "line": 42, + "line": 49, "column": 15 }, "end": { - "line": 42, + "line": 49, "column": 22 }, "identifierName": "Integer" @@ -3060,30 +3074,30 @@ "arguments": [ { "type": "MemberExpression", - "start": 1509, - "end": 1520, + "start": 1541, + "end": 1553, "loc": { "start": { - "line": 42, - "column": 24 + "line": 50, + "column": 5 }, "end": { - "line": 42, - "column": 35 + "line": 50, + "column": 17 } }, "object": { "type": "Identifier", - "start": 1509, - "end": 1515, + "start": 1541, + "end": 1547, "loc": { "start": { - "line": 42, - "column": 24 + "line": 50, + "column": 5 }, "end": { - "line": 42, - "column": 30 + "line": 50, + "column": 11 }, "identifierName": "object" }, @@ -3091,63 +3105,63 @@ }, "property": { "type": "Identifier", - "start": 1516, - "end": 1520, + "start": 1548, + "end": 1553, "loc": { "start": { - "line": 42, - "column": 31 + "line": 50, + "column": 12 }, "end": { - "line": 42, - "column": 35 + "line": 50, + "column": 17 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false }, { "type": "BinaryExpression", - "start": 1523, - "end": 1555, + "start": 1560, + "end": 1593, "loc": { "start": { - "line": 42, - "column": 38 + "line": 51, + "column": 5 }, "end": { - "line": 42, - "column": 70 + "line": 51, + "column": 38 } }, "left": { "type": "MemberExpression", - "start": 1523, - "end": 1541, + "start": 1560, + "end": 1579, "loc": { "start": { - "line": 42, - "column": 38 + "line": 51, + "column": 5 }, "end": { - "line": 42, - "column": 56 + "line": 51, + "column": 24 } }, "object": { "type": "Identifier", - "start": 1523, - "end": 1529, + "start": 1560, + "end": 1566, "loc": { "start": { - "line": 42, - "column": 38 + "line": 51, + "column": 5 }, "end": { - "line": 42, - "column": 44 + "line": 51, + "column": 11 }, "identifierName": "object" }, @@ -3155,36 +3169,36 @@ }, "property": { "type": "Identifier", - "start": 1530, - "end": 1541, + "start": 1567, + "end": 1579, "loc": { "start": { - "line": 42, - "column": 45 + "line": 51, + "column": 12 }, "end": { - "line": 42, - "column": 56 + "line": 51, + "column": 24 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false }, "operator": "^", "right": { "type": "Identifier", - "start": 1544, - "end": 1555, + "start": 1582, + "end": 1593, "loc": { "start": { - "line": 42, - "column": 59 + "line": 51, + "column": 27 }, "end": { - "line": 42, - "column": 70 + "line": 51, + "column": 38 }, "identifierName": "is_negative" }, @@ -3193,30 +3207,30 @@ }, { "type": "MemberExpression", - "start": 1558, - "end": 1570, + "start": 1600, + "end": 1613, "loc": { "start": { - "line": 42, - "column": 73 + "line": 52, + "column": 5 }, "end": { - "line": 42, - "column": 85 + "line": 52, + "column": 18 } }, "object": { "type": "Identifier", - "start": 1558, - "end": 1564, + "start": 1600, + "end": 1606, "loc": { "start": { - "line": 42, - "column": 73 + "line": 52, + "column": 5 }, "end": { - "line": 42, - "column": 79 + "line": 52, + "column": 11 }, "identifierName": "object" }, @@ -3224,20 +3238,20 @@ }, "property": { "type": "Identifier", - "start": 1565, - "end": 1570, + "start": 1607, + "end": 1613, "loc": { "start": { - "line": 42, - "column": 80 + "line": 52, + "column": 12 }, "end": { - "line": 42, - "column": 85 + "line": 52, + "column": 18 }, - "identifierName": "limbs" + "identifierName": "_limbs" }, - "name": "limbs" + "name": "_limbs" }, "computed": false } @@ -3247,29 +3261,29 @@ ], "test": { "type": "MemberExpression", - "start": 1321, - "end": 1338, + "start": 1333, + "end": 1350, "loc": { "start": { - "line": 40, + "line": 44, "column": 8 }, "end": { - "line": 40, + "line": 44, "column": 25 } }, "object": { "type": "Identifier", - "start": 1321, - "end": 1328, + "start": 1333, + "end": 1340, "loc": { "start": { - "line": 40, + "line": 44, "column": 8 }, "end": { - "line": 40, + "line": 44, "column": 15 }, "identifierName": "Integer" @@ -3278,15 +3292,15 @@ }, "property": { "type": "Identifier", - "start": 1329, - "end": 1338, + "start": 1341, + "end": 1350, "loc": { "start": { - "line": 40, + "line": 44, "column": 16 }, "end": { - "line": 40, + "line": 44, "column": 25 }, "identifierName": "prototype" @@ -3298,58 +3312,58 @@ }, { "type": "SwitchCase", - "start": 1579, - "end": 1679, + "start": 1626, + "end": 1737, "loc": { "start": { - "line": 44, + "line": 55, "column": 3 }, "end": { - "line": 45, - "column": 91 + "line": 58, + "column": 6 } }, "consequent": [ { "type": "ThrowStatement", - "start": 1592, - "end": 1679, + "start": 1639, + "end": 1737, "loc": { "start": { - "line": 45, + "line": 56, "column": 4 }, "end": { - "line": 45, - "column": 91 + "line": 58, + "column": 6 } }, "argument": { "type": "NewExpression", - "start": 1598, - "end": 1677, + "start": 1645, + "end": 1736, "loc": { "start": { - "line": 45, + "line": 56, "column": 10 }, "end": { - "line": 45, - "column": 89 + "line": 58, + "column": 5 } }, "callee": { "type": "Identifier", - "start": 1602, - "end": 1611, + "start": 1649, + "end": 1658, "loc": { "start": { - "line": 45, + "line": 56, "column": 14 }, "end": { - "line": 45, + "line": 56, "column": 23 }, "identifierName": "TypeError" @@ -3359,59 +3373,59 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 1612, - "end": 1676, + "start": 1665, + "end": 1729, "loc": { "start": { - "line": 45, - "column": 24 + "line": 57, + "column": 5 }, "end": { - "line": 45, - "column": 88 + "line": 57, + "column": 69 } }, "expressions": [ { "type": "MemberExpression", - "start": 1646, - "end": 1674, + "start": 1699, + "end": 1727, "loc": { "start": { - "line": 45, - "column": 58 + "line": 57, + "column": 39 }, "end": { - "line": 45, - "column": 86 + "line": 57, + "column": 67 } }, "object": { "type": "MemberExpression", - "start": 1646, - "end": 1664, + "start": 1699, + "end": 1717, "loc": { "start": { - "line": 45, - "column": 58 + "line": 57, + "column": 39 }, "end": { - "line": 45, - "column": 76 + "line": 57, + "column": 57 } }, "object": { "type": "Identifier", - "start": 1646, - "end": 1652, + "start": 1699, + "end": 1705, "loc": { "start": { - "line": 45, - "column": 58 + "line": 57, + "column": 39 }, "end": { - "line": 45, - "column": 64 + "line": 57, + "column": 45 }, "identifierName": "object" }, @@ -3419,16 +3433,16 @@ }, "property": { "type": "Identifier", - "start": 1653, - "end": 1664, + "start": 1706, + "end": 1717, "loc": { "start": { - "line": 45, - "column": 65 + "line": 57, + "column": 46 }, "end": { - "line": 45, - "column": 76 + "line": 57, + "column": 57 }, "identifierName": "constructor" }, @@ -3438,16 +3452,16 @@ }, "property": { "type": "Identifier", - "start": 1665, - "end": 1674, + "start": 1718, + "end": 1727, "loc": { "start": { - "line": 45, - "column": 77 + "line": 57, + "column": 58 }, "end": { - "line": 45, - "column": 86 + "line": 57, + "column": 67 }, "identifierName": "prototype" }, @@ -3459,16 +3473,16 @@ "quasis": [ { "type": "TemplateElement", - "start": 1613, - "end": 1644, + "start": 1666, + "end": 1697, "loc": { "start": { - "line": 45, - "column": 25 + "line": 57, + "column": 6 }, "end": { - "line": 45, - "column": 56 + "line": 57, + "column": 37 } }, "value": { @@ -3479,16 +3493,16 @@ }, { "type": "TemplateElement", - "start": 1675, - "end": 1675, + "start": 1728, + "end": 1728, "loc": { "start": { - "line": 45, - "column": 87 + "line": 57, + "column": 68 }, "end": { - "line": 45, - "column": 87 + "line": 57, + "column": 68 } }, "value": { @@ -3513,15 +3527,15 @@ }, { "type": "ClassMethod", - "start": 1691, - "end": 1907, + "start": 1747, + "end": 1953, "loc": { "start": { - "line": 51, + "line": 62, "column": 1 }, "end": { - "line": 59, + "line": 68, "column": 2 } }, @@ -3529,15 +3543,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1691, - "end": 1702, + "start": 1747, + "end": 1758, "loc": { "start": { - "line": 51, + "line": 62, "column": 1 }, "end": { - "line": 51, + "line": 62, "column": 12 }, "identifierName": "from_number" @@ -3552,16 +3566,16 @@ "params": [ { "type": "Identifier", - "start": 1705, - "end": 1711, + "start": 1759, + "end": 1765, "loc": { "start": { - "line": 51, - "column": 15 + "line": 62, + "column": 13 }, "end": { - "line": 51, - "column": 21 + "line": 62, + "column": 19 }, "identifierName": "number" }, @@ -3569,30 +3583,30 @@ }, { "type": "AssignmentPattern", - "start": 1714, - "end": 1729, + "start": 1767, + "end": 1782, "loc": { "start": { - "line": 51, - "column": 24 + "line": 62, + "column": 21 }, "end": { - "line": 51, - "column": 39 + "line": 62, + "column": 36 } }, "left": { "type": "Identifier", - "start": 1714, - "end": 1725, + "start": 1767, + "end": 1778, "loc": { "start": { - "line": 51, - "column": 24 + "line": 62, + "column": 21 }, "end": { - "line": 51, - "column": 35 + "line": 62, + "column": 32 }, "identifierName": "is_negative" }, @@ -3600,16 +3614,16 @@ }, "right": { "type": "NumericLiteral", - "start": 1728, - "end": 1729, + "start": 1781, + "end": 1782, "loc": { "start": { - "line": 51, - "column": 38 + "line": 62, + "column": 35 }, "end": { - "line": 51, - "column": 39 + "line": 62, + "column": 36 } }, "extra": { @@ -3622,59 +3636,59 @@ ], "body": { "type": "BlockStatement", - "start": 1732, - "end": 1907, + "start": 1784, + "end": 1953, "loc": { "start": { - "line": 51, - "column": 42 + "line": 62, + "column": 38 }, "end": { - "line": 59, + "line": 68, "column": 2 } }, "body": [ { "type": "VariableDeclaration", - "start": 1737, - "end": 1773, + "start": 1788, + "end": 1823, "loc": { "start": { - "line": 53, + "line": 63, "column": 2 }, "end": { - "line": 53, - "column": 38 + "line": 63, + "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1743, - "end": 1771, + "start": 1794, + "end": 1822, "loc": { "start": { - "line": 53, + "line": 63, "column": 8 }, "end": { - "line": 53, + "line": 63, "column": 36 } }, "id": { "type": "Identifier", - "start": 1743, - "end": 1748, + "start": 1794, + "end": 1799, "loc": { "start": { - "line": 53, + "line": 63, "column": 8 }, "end": { - "line": 53, + "line": 63, "column": 13 }, "identifierName": "dirty" @@ -3683,29 +3697,29 @@ }, "init": { "type": "CallExpression", - "start": 1751, - "end": 1771, + "start": 1802, + "end": 1822, "loc": { "start": { - "line": 53, + "line": 63, "column": 16 }, "end": { - "line": 53, + "line": 63, "column": 36 } }, "callee": { "type": "Identifier", - "start": 1751, - "end": 1763, + "start": 1802, + "end": 1814, "loc": { "start": { - "line": 53, + "line": 63, "column": 16 }, "end": { - "line": 53, + "line": 63, "column": 28 }, "identifierName": "_from_number" @@ -3715,15 +3729,15 @@ "arguments": [ { "type": "Identifier", - "start": 1764, - "end": 1770, + "start": 1815, + "end": 1821, "loc": { "start": { - "line": 53, + "line": 63, "column": 29 }, "end": { - "line": 53, + "line": 63, "column": 35 }, "identifierName": "number" @@ -3738,44 +3752,44 @@ }, { "type": "VariableDeclaration", - "start": 1777, - "end": 1824, + "start": 1827, + "end": 1874, "loc": { "start": { - "line": 55, + "line": 65, "column": 2 }, "end": { - "line": 55, + "line": 65, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1783, - "end": 1822, + "start": 1833, + "end": 1873, "loc": { "start": { - "line": 55, + "line": 65, "column": 8 }, "end": { - "line": 55, - "column": 47 + "line": 65, + "column": 48 } }, "id": { "type": "Identifier", - "start": 1783, - "end": 1788, + "start": 1833, + "end": 1838, "loc": { "start": { - "line": 55, + "line": 65, "column": 8 }, "end": { - "line": 55, + "line": 65, "column": 13 }, "identifierName": "limbs" @@ -3784,43 +3798,43 @@ }, "init": { "type": "CallExpression", - "start": 1791, - "end": 1822, + "start": 1841, + "end": 1873, "loc": { "start": { - "line": 55, + "line": 65, "column": 16 }, "end": { - "line": 55, - "column": 47 + "line": 65, + "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 1791, - "end": 1811, + "start": 1841, + "end": 1861, "loc": { "start": { - "line": 55, + "line": 65, "column": 16 }, "end": { - "line": 55, + "line": 65, "column": 36 } }, "object": { "type": "Identifier", - "start": 1791, - "end": 1796, + "start": 1841, + "end": 1846, "loc": { "start": { - "line": 55, + "line": 65, "column": 16 }, "end": { - "line": 55, + "line": 65, "column": 21 }, "identifierName": "dirty" @@ -3829,15 +3843,15 @@ }, "property": { "type": "Identifier", - "start": 1797, - "end": 1811, + "start": 1847, + "end": 1861, "loc": { "start": { - "line": 55, + "line": 65, "column": 22 }, "end": { - "line": 55, + "line": 65, "column": 36 }, "identifierName": "_limbs_in_base" @@ -3849,49 +3863,49 @@ "arguments": [ { "type": "MemberExpression", - "start": 1812, - "end": 1821, + "start": 1862, + "end": 1872, "loc": { "start": { - "line": 55, + "line": 65, "column": 37 }, "end": { - "line": 55, - "column": 46 + "line": 65, + "column": 47 } }, "object": { "type": "ThisExpression", - "start": 1812, - "end": 1816, + "start": 1862, + "end": 1866, "loc": { "start": { - "line": 55, + "line": 65, "column": 37 }, "end": { - "line": 55, + "line": 65, "column": 41 } } }, "property": { "type": "Identifier", - "start": 1817, - "end": 1821, + "start": 1867, + "end": 1872, "loc": { "start": { - "line": 55, + "line": 65, "column": 42 }, "end": { - "line": 55, - "column": 46 + "line": 65, + "column": 47 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false } @@ -3903,43 +3917,43 @@ }, { "type": "ReturnStatement", - "start": 1828, - "end": 1903, + "start": 1878, + "end": 1950, "loc": { "start": { - "line": 57, + "line": 67, "column": 2 }, "end": { - "line": 57, - "column": 77 + "line": 67, + "column": 74 } }, "argument": { "type": "NewExpression", - "start": 1835, - "end": 1901, + "start": 1885, + "end": 1949, "loc": { "start": { - "line": 57, + "line": 67, "column": 9 }, "end": { - "line": 57, - "column": 75 + "line": 67, + "column": 73 } }, "callee": { "type": "Identifier", - "start": 1839, - "end": 1846, + "start": 1889, + "end": 1896, "loc": { "start": { - "line": 57, + "line": 67, "column": 13 }, "end": { - "line": 57, + "line": 67, "column": 20 }, "identifierName": "Integer" @@ -3949,78 +3963,78 @@ "arguments": [ { "type": "MemberExpression", - "start": 1848, - "end": 1857, + "start": 1897, + "end": 1907, "loc": { "start": { - "line": 57, - "column": 22 + "line": 67, + "column": 21 }, "end": { - "line": 57, + "line": 67, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 1848, - "end": 1852, + "start": 1897, + "end": 1901, "loc": { "start": { - "line": 57, - "column": 22 + "line": 67, + "column": 21 }, "end": { - "line": 57, - "column": 26 + "line": 67, + "column": 25 } } }, "property": { "type": "Identifier", - "start": 1853, - "end": 1857, + "start": 1902, + "end": 1907, "loc": { "start": { - "line": 57, - "column": 27 + "line": 67, + "column": 26 }, "end": { - "line": 57, + "line": 67, "column": 31 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false }, { "type": "BinaryExpression", - "start": 1860, - "end": 1891, + "start": 1909, + "end": 1941, "loc": { "start": { - "line": 57, - "column": 34 + "line": 67, + "column": 33 }, "end": { - "line": 57, + "line": 67, "column": 65 } }, "left": { "type": "Identifier", - "start": 1860, - "end": 1871, + "start": 1909, + "end": 1920, "loc": { "start": { - "line": 57, - "column": 34 + "line": 67, + "column": 33 }, "end": { - "line": 57, - "column": 45 + "line": 67, + "column": 44 }, "identifierName": "is_negative" }, @@ -4029,30 +4043,30 @@ "operator": "^", "right": { "type": "MemberExpression", - "start": 1874, - "end": 1891, + "start": 1923, + "end": 1941, "loc": { "start": { - "line": 57, - "column": 48 + "line": 67, + "column": 47 }, "end": { - "line": 57, + "line": 67, "column": 65 } }, "object": { "type": "Identifier", - "start": 1874, - "end": 1879, + "start": 1923, + "end": 1928, "loc": { "start": { - "line": 57, - "column": 48 + "line": 67, + "column": 47 }, "end": { - "line": 57, - "column": 53 + "line": 67, + "column": 52 }, "identifierName": "dirty" }, @@ -4060,36 +4074,36 @@ }, "property": { "type": "Identifier", - "start": 1880, - "end": 1891, + "start": 1929, + "end": 1941, "loc": { "start": { - "line": 57, - "column": 54 + "line": 67, + "column": 53 }, "end": { - "line": 57, + "line": 67, "column": 65 }, - "identifierName": "is_negative" + "identifierName": "_is_negative" }, - "name": "is_negative" + "name": "_is_negative" }, "computed": false } }, { "type": "Identifier", - "start": 1894, - "end": 1899, + "start": 1943, + "end": 1948, "loc": { "start": { - "line": 57, - "column": 68 + "line": 67, + "column": 67 }, "end": { - "line": 57, - "column": 73 + "line": 67, + "column": 72 }, "identifierName": "limbs" }, @@ -4104,15 +4118,15 @@ }, { "type": "ClassMethod", - "start": 1910, - "end": 2443, + "start": 1956, + "end": 2472, "loc": { "start": { - "line": 61, + "line": 70, "column": 1 }, "end": { - "line": 75, + "line": 87, "column": 2 } }, @@ -4120,15 +4134,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1910, - "end": 1921, + "start": 1956, + "end": 1967, "loc": { "start": { - "line": 61, + "line": 70, "column": 1 }, "end": { - "line": 61, + "line": 70, "column": 12 }, "identifierName": "from_string" @@ -4143,16 +4157,16 @@ "params": [ { "type": "Identifier", - "start": 1924, - "end": 1930, + "start": 1968, + "end": 1974, "loc": { "start": { - "line": 61, - "column": 15 + "line": 70, + "column": 13 }, "end": { - "line": 61, - "column": 21 + "line": 70, + "column": 19 }, "identifierName": "string" }, @@ -4160,30 +4174,30 @@ }, { "type": "AssignmentPattern", - "start": 1933, - "end": 1942, + "start": 1976, + "end": 1985, "loc": { "start": { - "line": 61, - "column": 24 + "line": 70, + "column": 21 }, "end": { - "line": 61, - "column": 33 + "line": 70, + "column": 30 } }, "left": { "type": "Identifier", - "start": 1933, - "end": 1937, + "start": 1976, + "end": 1980, "loc": { "start": { - "line": 61, - "column": 24 + "line": 70, + "column": 21 }, "end": { - "line": 61, - "column": 28 + "line": 70, + "column": 25 }, "identifierName": "base" }, @@ -4191,16 +4205,16 @@ }, "right": { "type": "NumericLiteral", - "start": 1940, - "end": 1942, + "start": 1983, + "end": 1985, "loc": { "start": { - "line": 61, - "column": 31 + "line": 70, + "column": 28 }, "end": { - "line": 61, - "column": 33 + "line": 70, + "column": 30 } }, "extra": { @@ -4212,30 +4226,30 @@ }, { "type": "AssignmentPattern", - "start": 1945, - "end": 1960, + "start": 1987, + "end": 2002, "loc": { "start": { - "line": 61, - "column": 36 + "line": 70, + "column": 32 }, "end": { - "line": 61, - "column": 51 + "line": 70, + "column": 47 } }, "left": { "type": "Identifier", - "start": 1945, - "end": 1956, + "start": 1987, + "end": 1998, "loc": { "start": { - "line": 61, - "column": 36 + "line": 70, + "column": 32 }, "end": { - "line": 61, - "column": 47 + "line": 70, + "column": 43 }, "identifierName": "is_negative" }, @@ -4243,16 +4257,16 @@ }, "right": { "type": "NumericLiteral", - "start": 1959, - "end": 1960, + "start": 2001, + "end": 2002, "loc": { "start": { - "line": 61, - "column": 50 + "line": 70, + "column": 46 }, "end": { - "line": 61, - "column": 51 + "line": 70, + "column": 47 } }, "extra": { @@ -4265,73 +4279,73 @@ ], "body": { "type": "BlockStatement", - "start": 1964, - "end": 2443, + "start": 2004, + "end": 2472, "loc": { "start": { - "line": 61, - "column": 55 + "line": 70, + "column": 49 }, "end": { - "line": 75, + "line": 87, "column": 2 } }, "body": [ { "type": "IfStatement", - "start": 1969, - "end": 2074, + "start": 2008, + "end": 2121, "loc": { "start": { - "line": 63, + "line": 71, "column": 2 }, "end": { - "line": 63, - "column": 107 + "line": 74, + "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 1974, - "end": 1993, + "start": 2012, + "end": 2031, "loc": { "start": { - "line": 63, - "column": 7 + "line": 71, + "column": 6 }, "end": { - "line": 63, - "column": 26 + "line": 71, + "column": 25 } }, "left": { "type": "MemberExpression", - "start": 1974, - "end": 1987, + "start": 2012, + "end": 2025, "loc": { "start": { - "line": 63, - "column": 7 + "line": 71, + "column": 6 }, "end": { - "line": 63, - "column": 20 + "line": 71, + "column": 19 } }, "object": { "type": "Identifier", - "start": 1974, - "end": 1980, + "start": 2012, + "end": 2018, "loc": { "start": { - "line": 63, - "column": 7 + "line": 71, + "column": 6 }, "end": { - "line": 63, - "column": 13 + "line": 71, + "column": 12 }, "identifierName": "string" }, @@ -4339,16 +4353,16 @@ }, "property": { "type": "Identifier", - "start": 1981, - "end": 1987, + "start": 2019, + "end": 2025, "loc": { "start": { - "line": 63, - "column": 14 + "line": 71, + "column": 13 }, "end": { - "line": 63, - "column": 20 + "line": 71, + "column": 19 }, "identifierName": "length" }, @@ -4359,16 +4373,16 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 1992, - "end": 1993, + "start": 2030, + "end": 2031, "loc": { "start": { - "line": 63, - "column": 25 + "line": 71, + "column": 24 }, "end": { - "line": 63, - "column": 26 + "line": 71, + "column": 25 } }, "extra": { @@ -4380,44 +4394,44 @@ }, "consequent": { "type": "ThrowStatement", - "start": 1996, - "end": 2074, + "start": 2036, + "end": 2121, "loc": { "start": { - "line": 63, - "column": 29 + "line": 72, + "column": 3 }, "end": { - "line": 63, - "column": 107 + "line": 74, + "column": 5 } }, "argument": { "type": "NewExpression", - "start": 2002, - "end": 2072, + "start": 2042, + "end": 2120, "loc": { "start": { - "line": 63, - "column": 35 + "line": 72, + "column": 9 }, "end": { - "line": 63, - "column": 105 + "line": 74, + "column": 4 } }, "callee": { "type": "Identifier", - "start": 2006, - "end": 2016, + "start": 2046, + "end": 2056, "loc": { "start": { - "line": 63, - "column": 39 + "line": 72, + "column": 13 }, "end": { - "line": 63, - "column": 49 + "line": 72, + "column": 23 }, "identifierName": "ValueError" }, @@ -4426,16 +4440,16 @@ "arguments": [ { "type": "StringLiteral", - "start": 2018, - "end": 2070, + "start": 2062, + "end": 2114, "loc": { "start": { - "line": 63, - "column": 51 + "line": 73, + "column": 4 }, "end": { - "line": 63, - "column": 103 + "line": 73, + "column": 56 } }, "extra": { @@ -4451,58 +4465,58 @@ }, { "type": "IfStatement", - "start": 2078, - "end": 2169, + "start": 2125, + "end": 2212, "loc": { "start": { - "line": 65, + "line": 76, "column": 2 }, "end": { - "line": 65, - "column": 93 + "line": 77, + "column": 64 } }, "test": { "type": "BinaryExpression", - "start": 2083, - "end": 2100, + "start": 2129, + "end": 2146, "loc": { "start": { - "line": 65, - "column": 7 + "line": 76, + "column": 6 }, "end": { - "line": 65, - "column": 24 + "line": 76, + "column": 23 } }, "left": { "type": "MemberExpression", - "start": 2083, - "end": 2092, + "start": 2129, + "end": 2138, "loc": { "start": { - "line": 65, - "column": 7 + "line": 76, + "column": 6 }, "end": { - "line": 65, - "column": 16 + "line": 76, + "column": 15 } }, "object": { "type": "Identifier", - "start": 2083, - "end": 2089, + "start": 2129, + "end": 2135, "loc": { "start": { - "line": 65, - "column": 7 + "line": 76, + "column": 6 }, "end": { - "line": 65, - "column": 13 + "line": 76, + "column": 12 }, "identifierName": "string" }, @@ -4510,16 +4524,16 @@ }, "property": { "type": "NumericLiteral", - "start": 2090, - "end": 2091, + "start": 2136, + "end": 2137, "loc": { "start": { - "line": 65, - "column": 14 + "line": 76, + "column": 13 }, "end": { - "line": 65, - "column": 15 + "line": 76, + "column": 14 } }, "extra": { @@ -4533,16 +4547,16 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 2097, - "end": 2100, + "start": 2143, + "end": 2146, "loc": { "start": { - "line": 65, - "column": 21 + "line": 76, + "column": 20 }, "end": { - "line": 65, - "column": 24 + "line": 76, + "column": 23 } }, "extra": { @@ -4554,73 +4568,73 @@ }, "consequent": { "type": "ReturnStatement", - "start": 2103, - "end": 2169, + "start": 2151, + "end": 2212, "loc": { "start": { - "line": 65, - "column": 27 + "line": 77, + "column": 3 }, "end": { - "line": 65, - "column": 93 + "line": 77, + "column": 64 } }, "argument": { "type": "CallExpression", - "start": 2110, - "end": 2167, + "start": 2158, + "end": 2211, "loc": { "start": { - "line": 65, - "column": 34 + "line": 77, + "column": 10 }, "end": { - "line": 65, - "column": 91 + "line": 77, + "column": 63 } }, "callee": { "type": "MemberExpression", - "start": 2110, - "end": 2126, + "start": 2158, + "end": 2174, "loc": { "start": { - "line": 65, - "column": 34 + "line": 77, + "column": 10 }, "end": { - "line": 65, - "column": 50 + "line": 77, + "column": 26 } }, "object": { "type": "ThisExpression", - "start": 2110, - "end": 2114, + "start": 2158, + "end": 2162, "loc": { "start": { - "line": 65, - "column": 34 + "line": 77, + "column": 10 }, "end": { - "line": 65, - "column": 38 + "line": 77, + "column": 14 } } }, "property": { "type": "Identifier", - "start": 2115, - "end": 2126, + "start": 2163, + "end": 2174, "loc": { "start": { - "line": 65, - "column": 39 + "line": 77, + "column": 15 }, "end": { - "line": 65, - "column": 50 + "line": 77, + "column": 26 }, "identifierName": "from_string" }, @@ -4631,44 +4645,44 @@ "arguments": [ { "type": "CallExpression", - "start": 2128, - "end": 2143, + "start": 2175, + "end": 2190, "loc": { "start": { - "line": 65, - "column": 52 + "line": 77, + "column": 27 }, "end": { - "line": 65, - "column": 67 + "line": 77, + "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 2128, - "end": 2140, + "start": 2175, + "end": 2187, "loc": { "start": { - "line": 65, - "column": 52 + "line": 77, + "column": 27 }, "end": { - "line": 65, - "column": 64 + "line": 77, + "column": 39 } }, "object": { "type": "Identifier", - "start": 2128, - "end": 2134, + "start": 2175, + "end": 2181, "loc": { "start": { - "line": 65, - "column": 52 + "line": 77, + "column": 27 }, "end": { - "line": 65, - "column": 58 + "line": 77, + "column": 33 }, "identifierName": "string" }, @@ -4676,16 +4690,16 @@ }, "property": { "type": "Identifier", - "start": 2135, - "end": 2140, + "start": 2182, + "end": 2187, "loc": { "start": { - "line": 65, - "column": 59 + "line": 77, + "column": 34 }, "end": { - "line": 65, - "column": 64 + "line": 77, + "column": 39 }, "identifierName": "slice" }, @@ -4696,16 +4710,16 @@ "arguments": [ { "type": "NumericLiteral", - "start": 2141, - "end": 2142, + "start": 2188, + "end": 2189, "loc": { "start": { - "line": 65, - "column": 65 + "line": 77, + "column": 40 }, "end": { - "line": 65, - "column": 66 + "line": 77, + "column": 41 } }, "extra": { @@ -4718,16 +4732,16 @@ }, { "type": "Identifier", - "start": 2146, - "end": 2150, + "start": 2192, + "end": 2196, "loc": { "start": { - "line": 65, - "column": 70 + "line": 77, + "column": 44 }, "end": { - "line": 65, - "column": 74 + "line": 77, + "column": 48 }, "identifierName": "base" }, @@ -4735,32 +4749,32 @@ }, { "type": "UnaryExpression", - "start": 2153, - "end": 2165, + "start": 2198, + "end": 2210, "loc": { "start": { - "line": 65, - "column": 77 + "line": 77, + "column": 50 }, "end": { - "line": 65, - "column": 89 + "line": 77, + "column": 62 } }, "operator": "~", "prefix": true, "argument": { "type": "Identifier", - "start": 2154, - "end": 2165, + "start": 2199, + "end": 2210, "loc": { "start": { - "line": 65, - "column": 78 + "line": 77, + "column": 51 }, "end": { - "line": 65, - "column": 89 + "line": 77, + "column": 62 }, "identifierName": "is_negative" }, @@ -4777,58 +4791,58 @@ }, { "type": "IfStatement", - "start": 2173, - "end": 2263, + "start": 2216, + "end": 2302, "loc": { "start": { - "line": 67, + "line": 79, "column": 2 }, "end": { - "line": 67, - "column": 92 + "line": 80, + "column": 63 } }, "test": { "type": "BinaryExpression", - "start": 2178, - "end": 2195, + "start": 2220, + "end": 2237, "loc": { "start": { - "line": 67, - "column": 7 + "line": 79, + "column": 6 }, "end": { - "line": 67, - "column": 24 + "line": 79, + "column": 23 } }, "left": { "type": "MemberExpression", - "start": 2178, - "end": 2187, + "start": 2220, + "end": 2229, "loc": { "start": { - "line": 67, - "column": 7 + "line": 79, + "column": 6 }, "end": { - "line": 67, - "column": 16 + "line": 79, + "column": 15 } }, "object": { "type": "Identifier", - "start": 2178, - "end": 2184, + "start": 2220, + "end": 2226, "loc": { "start": { - "line": 67, - "column": 7 + "line": 79, + "column": 6 }, "end": { - "line": 67, - "column": 13 + "line": 79, + "column": 12 }, "identifierName": "string" }, @@ -4836,16 +4850,16 @@ }, "property": { "type": "NumericLiteral", - "start": 2185, - "end": 2186, + "start": 2227, + "end": 2228, "loc": { "start": { - "line": 67, - "column": 14 + "line": 79, + "column": 13 }, "end": { - "line": 67, - "column": 15 + "line": 79, + "column": 14 } }, "extra": { @@ -4859,16 +4873,16 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 2192, - "end": 2195, + "start": 2234, + "end": 2237, "loc": { "start": { - "line": 67, - "column": 21 + "line": 79, + "column": 20 }, "end": { - "line": 67, - "column": 24 + "line": 79, + "column": 23 } }, "extra": { @@ -4880,73 +4894,73 @@ }, "consequent": { "type": "ReturnStatement", - "start": 2198, - "end": 2263, + "start": 2242, + "end": 2302, "loc": { "start": { - "line": 67, - "column": 27 + "line": 80, + "column": 3 }, "end": { - "line": 67, - "column": 92 + "line": 80, + "column": 63 } }, "argument": { "type": "CallExpression", - "start": 2205, - "end": 2261, + "start": 2249, + "end": 2301, "loc": { "start": { - "line": 67, - "column": 34 + "line": 80, + "column": 10 }, "end": { - "line": 67, - "column": 90 + "line": 80, + "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 2205, - "end": 2221, + "start": 2249, + "end": 2265, "loc": { "start": { - "line": 67, - "column": 34 + "line": 80, + "column": 10 }, "end": { - "line": 67, - "column": 50 + "line": 80, + "column": 26 } }, "object": { "type": "ThisExpression", - "start": 2205, - "end": 2209, + "start": 2249, + "end": 2253, "loc": { "start": { - "line": 67, - "column": 34 + "line": 80, + "column": 10 }, "end": { - "line": 67, - "column": 38 + "line": 80, + "column": 14 } } }, "property": { "type": "Identifier", - "start": 2210, - "end": 2221, + "start": 2254, + "end": 2265, "loc": { "start": { - "line": 67, - "column": 39 + "line": 80, + "column": 15 }, "end": { - "line": 67, - "column": 50 + "line": 80, + "column": 26 }, "identifierName": "from_string" }, @@ -4957,44 +4971,44 @@ "arguments": [ { "type": "CallExpression", - "start": 2223, - "end": 2238, + "start": 2266, + "end": 2281, "loc": { "start": { - "line": 67, - "column": 52 + "line": 80, + "column": 27 }, "end": { - "line": 67, - "column": 67 + "line": 80, + "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 2223, - "end": 2235, + "start": 2266, + "end": 2278, "loc": { "start": { - "line": 67, - "column": 52 + "line": 80, + "column": 27 }, "end": { - "line": 67, - "column": 64 + "line": 80, + "column": 39 } }, "object": { "type": "Identifier", - "start": 2223, - "end": 2229, + "start": 2266, + "end": 2272, "loc": { "start": { - "line": 67, - "column": 52 + "line": 80, + "column": 27 }, "end": { - "line": 67, - "column": 58 + "line": 80, + "column": 33 }, "identifierName": "string" }, @@ -5002,16 +5016,16 @@ }, "property": { "type": "Identifier", - "start": 2230, - "end": 2235, + "start": 2273, + "end": 2278, "loc": { "start": { - "line": 67, - "column": 59 + "line": 80, + "column": 34 }, "end": { - "line": 67, - "column": 64 + "line": 80, + "column": 39 }, "identifierName": "slice" }, @@ -5022,16 +5036,16 @@ "arguments": [ { "type": "NumericLiteral", - "start": 2236, - "end": 2237, + "start": 2279, + "end": 2280, "loc": { "start": { - "line": 67, - "column": 65 + "line": 80, + "column": 40 }, "end": { - "line": 67, - "column": 66 + "line": 80, + "column": 41 } }, "extra": { @@ -5044,16 +5058,16 @@ }, { "type": "Identifier", - "start": 2241, - "end": 2245, + "start": 2283, + "end": 2287, "loc": { "start": { - "line": 67, - "column": 70 + "line": 80, + "column": 44 }, "end": { - "line": 67, - "column": 74 + "line": 80, + "column": 48 }, "identifierName": "base" }, @@ -5061,16 +5075,16 @@ }, { "type": "Identifier", - "start": 2248, - "end": 2259, + "start": 2289, + "end": 2300, "loc": { "start": { - "line": 67, - "column": 77 + "line": 80, + "column": 50 }, "end": { - "line": 67, - "column": 88 + "line": 80, + "column": 61 }, "identifierName": "is_negative" }, @@ -5083,44 +5097,44 @@ }, { "type": "VariableDeclaration", - "start": 2267, - "end": 2317, + "start": 2306, + "end": 2352, "loc": { "start": { - "line": 69, + "line": 82, "column": 2 }, "end": { - "line": 69, - "column": 52 + "line": 82, + "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 2273, - "end": 2315, + "start": 2312, + "end": 2351, "loc": { "start": { - "line": 69, + "line": 82, "column": 8 }, "end": { - "line": 69, - "column": 50 + "line": 82, + "column": 47 } }, "id": { "type": "Identifier", - "start": 2273, - "end": 2278, + "start": 2312, + "end": 2317, "loc": { "start": { - "line": 69, + "line": 82, "column": 8 }, "end": { - "line": 69, + "line": 82, "column": 13 }, "identifierName": "limbs" @@ -5129,29 +5143,29 @@ }, "init": { "type": "CallExpression", - "start": 2281, - "end": 2315, + "start": 2320, + "end": 2351, "loc": { "start": { - "line": 69, + "line": 82, "column": 16 }, "end": { - "line": 69, - "column": 50 + "line": 82, + "column": 47 } }, "callee": { "type": "Identifier", - "start": 2281, - "end": 2286, + "start": 2320, + "end": 2325, "loc": { "start": { - "line": 69, + "line": 82, "column": 16 }, "end": { - "line": 69, + "line": 82, "column": 21 }, "identifierName": "parse" @@ -5161,16 +5175,16 @@ "arguments": [ { "type": "Identifier", - "start": 2288, - "end": 2292, + "start": 2326, + "end": 2330, "loc": { "start": { - "line": 69, - "column": 23 + "line": 82, + "column": 22 }, "end": { - "line": 69, - "column": 27 + "line": 82, + "column": 26 }, "identifierName": "base" }, @@ -5178,64 +5192,64 @@ }, { "type": "MemberExpression", - "start": 2295, - "end": 2304, + "start": 2332, + "end": 2342, "loc": { "start": { - "line": 69, - "column": 30 + "line": 82, + "column": 28 }, "end": { - "line": 69, - "column": 39 + "line": 82, + "column": 38 } }, "object": { "type": "ThisExpression", - "start": 2295, - "end": 2299, + "start": 2332, + "end": 2336, "loc": { "start": { - "line": 69, - "column": 30 + "line": 82, + "column": 28 }, "end": { - "line": 69, - "column": 34 + "line": 82, + "column": 32 } } }, "property": { "type": "Identifier", - "start": 2300, - "end": 2304, + "start": 2337, + "end": 2342, "loc": { "start": { - "line": 69, - "column": 35 + "line": 82, + "column": 33 }, "end": { - "line": 69, - "column": 39 + "line": 82, + "column": 38 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false }, { "type": "Identifier", - "start": 2307, - "end": 2313, + "start": 2344, + "end": 2350, "loc": { "start": { - "line": 69, - "column": 42 + "line": 82, + "column": 40 }, "end": { - "line": 69, - "column": 48 + "line": 82, + "column": 46 }, "identifierName": "string" }, @@ -5249,71 +5263,71 @@ }, { "type": "IfStatement", - "start": 2321, - "end": 2380, + "start": 2356, + "end": 2414, "loc": { "start": { - "line": 71, + "line": 84, "column": 2 }, "end": { - "line": 71, - "column": 61 + "line": 84, + "column": 60 } }, "test": { "type": "LogicalExpression", - "start": 2325, - "end": 2361, + "start": 2360, + "end": 2396, "loc": { "start": { - "line": 71, + "line": 84, "column": 6 }, "end": { - "line": 71, + "line": 84, "column": 42 } }, "left": { "type": "BinaryExpression", - "start": 2325, - "end": 2343, + "start": 2360, + "end": 2378, "loc": { "start": { - "line": 71, + "line": 84, "column": 6 }, "end": { - "line": 71, + "line": 84, "column": 24 } }, "left": { "type": "MemberExpression", - "start": 2325, - "end": 2337, + "start": 2360, + "end": 2372, "loc": { "start": { - "line": 71, + "line": 84, "column": 6 }, "end": { - "line": 71, + "line": 84, "column": 18 } }, "object": { "type": "Identifier", - "start": 2325, - "end": 2330, + "start": 2360, + "end": 2365, "loc": { "start": { - "line": 71, + "line": 84, "column": 6 }, "end": { - "line": 71, + "line": 84, "column": 11 }, "identifierName": "limbs" @@ -5322,15 +5336,15 @@ }, "property": { "type": "Identifier", - "start": 2331, - "end": 2337, + "start": 2366, + "end": 2372, "loc": { "start": { - "line": 71, + "line": 84, "column": 12 }, "end": { - "line": 71, + "line": 84, "column": 18 }, "identifierName": "length" @@ -5342,15 +5356,15 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 2342, - "end": 2343, + "start": 2377, + "end": 2378, "loc": { "start": { - "line": 71, + "line": 84, "column": 23 }, "end": { - "line": 71, + "line": 84, "column": 24 } }, @@ -5364,43 +5378,43 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 2347, - "end": 2361, + "start": 2382, + "end": 2396, "loc": { "start": { - "line": 71, + "line": 84, "column": 28 }, "end": { - "line": 71, + "line": 84, "column": 42 } }, "left": { "type": "MemberExpression", - "start": 2347, - "end": 2355, + "start": 2382, + "end": 2390, "loc": { "start": { - "line": 71, + "line": 84, "column": 28 }, "end": { - "line": 71, + "line": 84, "column": 36 } }, "object": { "type": "Identifier", - "start": 2347, - "end": 2352, + "start": 2382, + "end": 2387, "loc": { "start": { - "line": 71, + "line": 84, "column": 28 }, "end": { - "line": 71, + "line": 84, "column": 33 }, "identifierName": "limbs" @@ -5409,15 +5423,15 @@ }, "property": { "type": "NumericLiteral", - "start": 2353, - "end": 2354, + "start": 2388, + "end": 2389, "loc": { "start": { - "line": 71, + "line": 84, "column": 34 }, "end": { - "line": 71, + "line": 84, "column": 35 } }, @@ -5432,15 +5446,15 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 2360, - "end": 2361, + "start": 2395, + "end": 2396, "loc": { "start": { - "line": 71, + "line": 84, "column": 41 }, "end": { - "line": 71, + "line": 84, "column": 42 } }, @@ -5454,44 +5468,44 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 2363, - "end": 2380, + "start": 2398, + "end": 2414, "loc": { "start": { - "line": 71, + "line": 84, "column": 44 }, "end": { - "line": 71, - "column": 61 + "line": 84, + "column": 60 } }, "expression": { "type": "AssignmentExpression", - "start": 2363, - "end": 2378, + "start": 2398, + "end": 2413, "loc": { "start": { - "line": 71, + "line": 84, "column": 44 }, "end": { - "line": 71, + "line": 84, "column": 59 } }, "operator": "=", "left": { "type": "Identifier", - "start": 2363, - "end": 2374, + "start": 2398, + "end": 2409, "loc": { "start": { - "line": 71, + "line": 84, "column": 44 }, "end": { - "line": 71, + "line": 84, "column": 55 }, "identifierName": "is_negative" @@ -5500,15 +5514,15 @@ }, "right": { "type": "NumericLiteral", - "start": 2377, - "end": 2378, + "start": 2412, + "end": 2413, "loc": { "start": { - "line": 71, + "line": 84, "column": 58 }, "end": { - "line": 71, + "line": 84, "column": 59 } }, @@ -5524,43 +5538,43 @@ }, { "type": "ReturnStatement", - "start": 2384, - "end": 2439, + "start": 2418, + "end": 2469, "loc": { "start": { - "line": 73, + "line": 86, "column": 2 }, "end": { - "line": 73, - "column": 57 + "line": 86, + "column": 53 } }, "argument": { "type": "NewExpression", - "start": 2391, - "end": 2437, + "start": 2425, + "end": 2468, "loc": { "start": { - "line": 73, + "line": 86, "column": 9 }, "end": { - "line": 73, - "column": 55 + "line": 86, + "column": 52 } }, "callee": { "type": "Identifier", - "start": 2395, - "end": 2402, + "start": 2429, + "end": 2436, "loc": { "start": { - "line": 73, + "line": 86, "column": 13 }, "end": { - "line": 73, + "line": 86, "column": 20 }, "identifierName": "Integer" @@ -5570,64 +5584,64 @@ "arguments": [ { "type": "MemberExpression", - "start": 2404, - "end": 2413, + "start": 2437, + "end": 2447, "loc": { "start": { - "line": 73, - "column": 22 + "line": 86, + "column": 21 }, "end": { - "line": 73, + "line": 86, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 2404, - "end": 2408, + "start": 2437, + "end": 2441, "loc": { "start": { - "line": 73, - "column": 22 + "line": 86, + "column": 21 }, "end": { - "line": 73, - "column": 26 + "line": 86, + "column": 25 } } }, "property": { "type": "Identifier", - "start": 2409, - "end": 2413, + "start": 2442, + "end": 2447, "loc": { "start": { - "line": 73, - "column": 27 + "line": 86, + "column": 26 }, "end": { - "line": 73, + "line": 86, "column": 31 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false }, { "type": "Identifier", - "start": 2416, - "end": 2427, + "start": 2449, + "end": 2460, "loc": { "start": { - "line": 73, - "column": 34 + "line": 86, + "column": 33 }, "end": { - "line": 73, - "column": 45 + "line": 86, + "column": 44 }, "identifierName": "is_negative" }, @@ -5635,16 +5649,16 @@ }, { "type": "Identifier", - "start": 2430, - "end": 2435, + "start": 2462, + "end": 2467, "loc": { "start": { - "line": 73, - "column": 48 + "line": 86, + "column": 46 }, "end": { - "line": 73, - "column": 53 + "line": 86, + "column": 51 }, "identifierName": "limbs" }, @@ -5659,15 +5673,15 @@ }, { "type": "ClassMethod", - "start": 2446, - "end": 2648, + "start": 2475, + "end": 2680, "loc": { "start": { - "line": 77, + "line": 89, "column": 1 }, "end": { - "line": 83, + "line": 99, "column": 2 } }, @@ -5675,15 +5689,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2446, - "end": 2457, + "start": 2475, + "end": 2486, "loc": { "start": { - "line": 77, + "line": 89, "column": 1 }, "end": { - "line": 77, + "line": 89, "column": 12 }, "identifierName": "from_digits" @@ -5698,16 +5712,16 @@ "params": [ { "type": "Identifier", - "start": 2460, - "end": 2466, + "start": 2487, + "end": 2493, "loc": { "start": { - "line": 77, - "column": 15 + "line": 89, + "column": 13 }, "end": { - "line": 77, - "column": 21 + "line": 89, + "column": 19 }, "identifierName": "digits" }, @@ -5715,16 +5729,16 @@ }, { "type": "Identifier", - "start": 2469, - "end": 2473, + "start": 2495, + "end": 2499, "loc": { "start": { - "line": 77, - "column": 24 + "line": 89, + "column": 21 }, "end": { - "line": 77, - "column": 28 + "line": 89, + "column": 25 }, "identifierName": "base" }, @@ -5732,16 +5746,16 @@ }, { "type": "Identifier", - "start": 2476, - "end": 2487, + "start": 2501, + "end": 2512, "loc": { "start": { - "line": 77, - "column": 31 + "line": 89, + "column": 27 }, "end": { - "line": 77, - "column": 42 + "line": 89, + "column": 38 }, "identifierName": "is_negative" }, @@ -5750,59 +5764,59 @@ ], "body": { "type": "BlockStatement", - "start": 2490, - "end": 2648, + "start": 2514, + "end": 2680, "loc": { "start": { - "line": 77, - "column": 45 + "line": 89, + "column": 40 }, "end": { - "line": 83, + "line": 99, "column": 2 } }, "body": [ { "type": "VariableDeclaration", - "start": 2495, - "end": 2585, + "start": 2518, + "end": 2622, "loc": { "start": { - "line": 79, + "line": 90, "column": 2 }, "end": { - "line": 79, - "column": 92 + "line": 96, + "column": 4 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 2501, - "end": 2583, + "start": 2524, + "end": 2621, "loc": { "start": { - "line": 79, + "line": 90, "column": 8 }, "end": { - "line": 79, - "column": 90 + "line": 96, + "column": 3 } }, "id": { "type": "Identifier", - "start": 2501, - "end": 2506, + "start": 2524, + "end": 2529, "loc": { "start": { - "line": 79, + "line": 90, "column": 8 }, "end": { - "line": 79, + "line": 90, "column": 13 }, "identifierName": "limbs" @@ -5811,29 +5825,29 @@ }, "init": { "type": "CallExpression", - "start": 2509, - "end": 2583, + "start": 2532, + "end": 2621, "loc": { "start": { - "line": 79, + "line": 90, "column": 16 }, "end": { - "line": 79, - "column": 90 + "line": 96, + "column": 3 } }, "callee": { "type": "Identifier", - "start": 2509, - "end": 2516, + "start": 2532, + "end": 2539, "loc": { "start": { - "line": 79, + "line": 90, "column": 16 }, "end": { - "line": 79, + "line": 90, "column": 23 }, "identifierName": "convert" @@ -5843,16 +5857,16 @@ "arguments": [ { "type": "Identifier", - "start": 2518, - "end": 2522, + "start": 2544, + "end": 2548, "loc": { "start": { - "line": 79, - "column": 25 + "line": 91, + "column": 3 }, "end": { - "line": 79, - "column": 29 + "line": 91, + "column": 7 }, "identifierName": "base" }, @@ -5860,120 +5874,120 @@ }, { "type": "MemberExpression", - "start": 2525, - "end": 2534, + "start": 2553, + "end": 2563, "loc": { "start": { - "line": 79, - "column": 32 + "line": 92, + "column": 3 }, "end": { - "line": 79, - "column": 41 + "line": 92, + "column": 13 } }, "object": { "type": "ThisExpression", - "start": 2525, - "end": 2529, + "start": 2553, + "end": 2557, "loc": { "start": { - "line": 79, - "column": 32 + "line": 92, + "column": 3 }, "end": { - "line": 79, - "column": 36 + "line": 92, + "column": 7 } } }, "property": { "type": "Identifier", - "start": 2530, - "end": 2534, + "start": 2558, + "end": 2563, "loc": { "start": { - "line": 79, - "column": 37 + "line": 92, + "column": 8 }, "end": { - "line": 79, - "column": 41 + "line": 92, + "column": 13 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false }, { "type": "CallExpression", - "start": 2537, - "end": 2561, + "start": 2568, + "end": 2592, "loc": { "start": { - "line": 79, - "column": 44 + "line": 93, + "column": 3 }, "end": { - "line": 79, - "column": 68 + "line": 93, + "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 2537, - "end": 2559, + "start": 2568, + "end": 2590, "loc": { "start": { - "line": 79, - "column": 44 + "line": 93, + "column": 3 }, "end": { - "line": 79, - "column": 66 + "line": 93, + "column": 25 } }, "object": { "type": "CallExpression", - "start": 2537, - "end": 2551, + "start": 2568, + "end": 2582, "loc": { "start": { - "line": 79, - "column": 44 + "line": 93, + "column": 3 }, "end": { - "line": 79, - "column": 58 + "line": 93, + "column": 17 } }, "callee": { "type": "MemberExpression", - "start": 2537, - "end": 2549, + "start": 2568, + "end": 2580, "loc": { "start": { - "line": 79, - "column": 44 + "line": 93, + "column": 3 }, "end": { - "line": 79, - "column": 56 + "line": 93, + "column": 15 } }, "object": { "type": "Identifier", - "start": 2537, - "end": 2543, + "start": 2568, + "end": 2574, "loc": { "start": { - "line": 79, - "column": 44 + "line": 93, + "column": 3 }, "end": { - "line": 79, - "column": 50 + "line": 93, + "column": 9 }, "identifierName": "digits" }, @@ -5981,16 +5995,16 @@ }, "property": { "type": "Identifier", - "start": 2544, - "end": 2549, + "start": 2575, + "end": 2580, "loc": { "start": { - "line": 79, - "column": 51 + "line": 93, + "column": 10 }, "end": { - "line": 79, - "column": 56 + "line": 93, + "column": 15 }, "identifierName": "slice" }, @@ -6002,16 +6016,16 @@ }, "property": { "type": "Identifier", - "start": 2552, - "end": 2559, + "start": 2583, + "end": 2590, "loc": { "start": { - "line": 79, - "column": 59 + "line": 93, + "column": 18 }, "end": { - "line": 79, - "column": 66 + "line": 93, + "column": 25 }, "identifierName": "reverse" }, @@ -6023,16 +6037,16 @@ }, { "type": "NumericLiteral", - "start": 2564, - "end": 2565, + "start": 2597, + "end": 2598, "loc": { "start": { - "line": 79, - "column": 71 + "line": 94, + "column": 3 }, "end": { - "line": 79, - "column": 72 + "line": 94, + "column": 4 } }, "extra": { @@ -6043,30 +6057,30 @@ }, { "type": "MemberExpression", - "start": 2568, - "end": 2581, + "start": 2603, + "end": 2616, "loc": { "start": { - "line": 79, - "column": 75 + "line": 95, + "column": 3 }, "end": { - "line": 79, - "column": 88 + "line": 95, + "column": 16 } }, "object": { "type": "Identifier", - "start": 2568, - "end": 2574, + "start": 2603, + "end": 2609, "loc": { "start": { - "line": 79, - "column": 75 + "line": 95, + "column": 3 }, "end": { - "line": 79, - "column": 81 + "line": 95, + "column": 9 }, "identifierName": "digits" }, @@ -6074,16 +6088,16 @@ }, "property": { "type": "Identifier", - "start": 2575, - "end": 2581, + "start": 2610, + "end": 2616, "loc": { "start": { - "line": 79, - "column": 82 + "line": 95, + "column": 10 }, "end": { - "line": 79, - "column": 88 + "line": 95, + "column": 16 }, "identifierName": "length" }, @@ -6099,43 +6113,43 @@ }, { "type": "ReturnStatement", - "start": 2589, - "end": 2644, + "start": 2626, + "end": 2677, "loc": { "start": { - "line": 81, + "line": 98, "column": 2 }, "end": { - "line": 81, - "column": 57 + "line": 98, + "column": 53 } }, "argument": { "type": "NewExpression", - "start": 2596, - "end": 2642, + "start": 2633, + "end": 2676, "loc": { "start": { - "line": 81, + "line": 98, "column": 9 }, "end": { - "line": 81, - "column": 55 + "line": 98, + "column": 52 } }, "callee": { "type": "Identifier", - "start": 2600, - "end": 2607, + "start": 2637, + "end": 2644, "loc": { "start": { - "line": 81, + "line": 98, "column": 13 }, "end": { - "line": 81, + "line": 98, "column": 20 }, "identifierName": "Integer" @@ -6145,64 +6159,64 @@ "arguments": [ { "type": "MemberExpression", - "start": 2609, - "end": 2618, + "start": 2645, + "end": 2655, "loc": { "start": { - "line": 81, - "column": 22 + "line": 98, + "column": 21 }, "end": { - "line": 81, + "line": 98, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 2609, - "end": 2613, + "start": 2645, + "end": 2649, "loc": { "start": { - "line": 81, - "column": 22 + "line": 98, + "column": 21 }, "end": { - "line": 81, - "column": 26 + "line": 98, + "column": 25 } } }, "property": { "type": "Identifier", - "start": 2614, - "end": 2618, + "start": 2650, + "end": 2655, "loc": { "start": { - "line": 81, - "column": 27 + "line": 98, + "column": 26 }, "end": { - "line": 81, + "line": 98, "column": 31 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false }, { "type": "Identifier", - "start": 2621, - "end": 2632, + "start": 2657, + "end": 2668, "loc": { "start": { - "line": 81, - "column": 34 + "line": 98, + "column": 33 }, "end": { - "line": 81, - "column": 45 + "line": 98, + "column": 44 }, "identifierName": "is_negative" }, @@ -6210,16 +6224,16 @@ }, { "type": "Identifier", - "start": 2635, - "end": 2640, + "start": 2670, + "end": 2675, "loc": { "start": { - "line": 81, - "column": 48 + "line": 98, + "column": 46 }, "end": { - "line": 81, - "column": 53 + "line": 98, + "column": 51 }, "identifierName": "limbs" }, @@ -6234,15 +6248,15 @@ }, { "type": "ClassMethod", - "start": 2651, - "end": 2689, + "start": 2683, + "end": 2718, "loc": { "start": { - "line": 85, + "line": 101, "column": 1 }, "end": { - "line": 87, + "line": 103, "column": 2 } }, @@ -6250,15 +6264,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2651, - "end": 2659, + "start": 2683, + "end": 2691, "loc": { "start": { - "line": 85, + "line": 101, "column": 1 }, "end": { - "line": 85, + "line": 101, "column": 9 }, "identifierName": "toString" @@ -6273,73 +6287,73 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2664, - "end": 2689, + "start": 2694, + "end": 2718, "loc": { "start": { - "line": 85, - "column": 14 + "line": 101, + "column": 12 }, "end": { - "line": 87, + "line": 103, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 2668, - "end": 2686, + "start": 2698, + "end": 2715, "loc": { "start": { - "line": 86, + "line": 102, "column": 2 }, "end": { - "line": 86, - "column": 20 + "line": 102, + "column": 19 } }, "argument": { "type": "MemberExpression", - "start": 2675, - "end": 2684, + "start": 2705, + "end": 2714, "loc": { "start": { - "line": 86, + "line": 102, "column": 9 }, "end": { - "line": 86, + "line": 102, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 2675, - "end": 2679, + "start": 2705, + "end": 2709, "loc": { "start": { - "line": 86, + "line": 102, "column": 9 }, "end": { - "line": 86, + "line": 102, "column": 13 } } }, "property": { "type": "Identifier", - "start": 2680, - "end": 2684, + "start": 2710, + "end": 2714, "loc": { "start": { - "line": 86, + "line": 102, "column": 14 }, "end": { - "line": 86, + "line": 102, "column": 18 }, "identifierName": "name" @@ -6355,15 +6369,15 @@ }, { "type": "ClassMethod", - "start": 2692, - "end": 2799, + "start": 2721, + "end": 2820, "loc": { "start": { - "line": 89, + "line": 105, "column": 1 }, "end": { - "line": 92, + "line": 108, "column": 2 } }, @@ -6371,15 +6385,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2692, - "end": 2694, + "start": 2721, + "end": 2723, "loc": { "start": { - "line": 89, + "line": 105, "column": 1 }, "end": { - "line": 89, + "line": 105, "column": 3 }, "identifierName": "$0" @@ -6394,58 +6408,58 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2699, - "end": 2799, + "start": 2726, + "end": 2820, "loc": { "start": { - "line": 89, - "column": 8 + "line": 105, + "column": 6 }, "end": { - "line": 92, + "line": 108, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 2751, - "end": 2796, + "start": 2778, + "end": 2817, "loc": { "start": { - "line": 91, + "line": 107, "column": 2 }, "end": { - "line": 91, - "column": 47 + "line": 107, + "column": 41 } }, "argument": { "type": "NewExpression", - "start": 2758, - "end": 2794, + "start": 2785, + "end": 2816, "loc": { "start": { - "line": 91, + "line": 107, "column": 9 }, "end": { - "line": 91, - "column": 45 + "line": 107, + "column": 40 } }, "callee": { "type": "Identifier", - "start": 2762, - "end": 2769, + "start": 2789, + "end": 2796, "loc": { "start": { - "line": 91, + "line": 107, "column": 13 }, "end": { - "line": 91, + "line": 107, "column": 20 }, "identifierName": "Integer" @@ -6455,64 +6469,64 @@ "arguments": [ { "type": "MemberExpression", - "start": 2771, - "end": 2780, + "start": 2797, + "end": 2807, "loc": { "start": { - "line": 91, - "column": 22 + "line": 107, + "column": 21 }, "end": { - "line": 91, + "line": 107, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 2771, - "end": 2775, + "start": 2797, + "end": 2801, "loc": { "start": { - "line": 91, - "column": 22 + "line": 107, + "column": 21 }, "end": { - "line": 91, - "column": 26 + "line": 107, + "column": 25 } } }, "property": { "type": "Identifier", - "start": 2776, - "end": 2780, + "start": 2802, + "end": 2807, "loc": { "start": { - "line": 91, - "column": 27 + "line": 107, + "column": 26 }, "end": { - "line": 91, + "line": 107, "column": 31 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false }, { "type": "NumericLiteral", - "start": 2783, - "end": 2784, + "start": 2809, + "end": 2810, "loc": { "start": { - "line": 91, - "column": 34 + "line": 107, + "column": 33 }, "end": { - "line": 91, - "column": 35 + "line": 107, + "column": 34 } }, "extra": { @@ -6523,31 +6537,31 @@ }, { "type": "ArrayExpression", - "start": 2787, - "end": 2792, + "start": 2812, + "end": 2815, "loc": { "start": { - "line": 91, - "column": 38 + "line": 107, + "column": 36 }, "end": { - "line": 91, - "column": 43 + "line": 107, + "column": 39 } }, "elements": [ { "type": "NumericLiteral", - "start": 2789, - "end": 2790, + "start": 2813, + "end": 2814, "loc": { "start": { - "line": 91, - "column": 40 + "line": 107, + "column": 37 }, "end": { - "line": 91, - "column": 41 + "line": 107, + "column": 38 } }, "extra": { @@ -6565,15 +6579,15 @@ { "type": "CommentLine", "value": " TODO Could we use an empty array instead ?", - "start": 2703, - "end": 2748, + "start": 2730, + "end": 2775, "loc": { "start": { - "line": 90, + "line": 106, "column": 2 }, "end": { - "line": 90, + "line": 106, "column": 47 } } @@ -6586,15 +6600,15 @@ }, { "type": "ClassMethod", - "start": 2802, - "end": 2861, + "start": 2823, + "end": 2874, "loc": { "start": { - "line": 94, + "line": 110, "column": 1 }, "end": { - "line": 96, + "line": 112, "column": 2 } }, @@ -6602,15 +6616,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2802, - "end": 2804, + "start": 2823, + "end": 2825, "loc": { "start": { - "line": 94, + "line": 110, "column": 1 }, "end": { - "line": 94, + "line": 110, "column": 3 }, "identifierName": "$1" @@ -6625,58 +6639,58 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2809, - "end": 2861, + "start": 2828, + "end": 2874, "loc": { "start": { - "line": 94, - "column": 8 + "line": 110, + "column": 6 }, "end": { - "line": 96, + "line": 112, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 2813, - "end": 2858, + "start": 2832, + "end": 2871, "loc": { "start": { - "line": 95, + "line": 111, "column": 2 }, "end": { - "line": 95, - "column": 47 + "line": 111, + "column": 41 } }, "argument": { "type": "NewExpression", - "start": 2820, - "end": 2856, + "start": 2839, + "end": 2870, "loc": { "start": { - "line": 95, + "line": 111, "column": 9 }, "end": { - "line": 95, - "column": 45 + "line": 111, + "column": 40 } }, "callee": { "type": "Identifier", - "start": 2824, - "end": 2831, + "start": 2843, + "end": 2850, "loc": { "start": { - "line": 95, + "line": 111, "column": 13 }, "end": { - "line": 95, + "line": 111, "column": 20 }, "identifierName": "Integer" @@ -6686,64 +6700,64 @@ "arguments": [ { "type": "MemberExpression", - "start": 2833, - "end": 2842, + "start": 2851, + "end": 2861, "loc": { "start": { - "line": 95, - "column": 22 + "line": 111, + "column": 21 }, "end": { - "line": 95, + "line": 111, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 2833, - "end": 2837, + "start": 2851, + "end": 2855, "loc": { "start": { - "line": 95, - "column": 22 + "line": 111, + "column": 21 }, "end": { - "line": 95, - "column": 26 + "line": 111, + "column": 25 } } }, "property": { "type": "Identifier", - "start": 2838, - "end": 2842, + "start": 2856, + "end": 2861, "loc": { "start": { - "line": 95, - "column": 27 + "line": 111, + "column": 26 }, "end": { - "line": 95, + "line": 111, "column": 31 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false }, { "type": "NumericLiteral", - "start": 2845, - "end": 2846, + "start": 2863, + "end": 2864, "loc": { "start": { - "line": 95, - "column": 34 + "line": 111, + "column": 33 }, "end": { - "line": 95, - "column": 35 + "line": 111, + "column": 34 } }, "extra": { @@ -6754,31 +6768,31 @@ }, { "type": "ArrayExpression", - "start": 2849, - "end": 2854, + "start": 2866, + "end": 2869, "loc": { "start": { - "line": 95, - "column": 38 + "line": 111, + "column": 36 }, "end": { - "line": 95, - "column": 43 + "line": 111, + "column": 39 } }, "elements": [ { "type": "NumericLiteral", - "start": 2851, - "end": 2852, + "start": 2867, + "end": 2868, "loc": { "start": { - "line": 95, - "column": 40 + "line": 111, + "column": 37 }, "end": { - "line": 95, - "column": 41 + "line": 111, + "column": 38 } }, "extra": { @@ -6798,15 +6812,15 @@ }, { "type": "ClassMethod", - "start": 2864, - "end": 2925, + "start": 2877, + "end": 2930, "loc": { "start": { - "line": 98, + "line": 114, "column": 1 }, "end": { - "line": 100, + "line": 116, "column": 2 } }, @@ -6814,15 +6828,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2864, - "end": 2867, + "start": 2877, + "end": 2880, "loc": { "start": { - "line": 98, + "line": 114, "column": 1 }, "end": { - "line": 98, + "line": 114, "column": 4 }, "identifierName": "$_1" @@ -6837,58 +6851,58 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2872, - "end": 2925, + "start": 2883, + "end": 2930, "loc": { "start": { - "line": 98, - "column": 9 + "line": 114, + "column": 7 }, "end": { - "line": 100, + "line": 116, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 2876, - "end": 2922, + "start": 2887, + "end": 2927, "loc": { "start": { - "line": 99, + "line": 115, "column": 2 }, "end": { - "line": 99, - "column": 48 + "line": 115, + "column": 42 } }, "argument": { "type": "NewExpression", - "start": 2883, - "end": 2920, + "start": 2894, + "end": 2926, "loc": { "start": { - "line": 99, + "line": 115, "column": 9 }, "end": { - "line": 99, - "column": 46 + "line": 115, + "column": 41 } }, "callee": { "type": "Identifier", - "start": 2887, - "end": 2894, + "start": 2898, + "end": 2905, "loc": { "start": { - "line": 99, + "line": 115, "column": 13 }, "end": { - "line": 99, + "line": 115, "column": 20 }, "identifierName": "Integer" @@ -6898,80 +6912,80 @@ "arguments": [ { "type": "MemberExpression", - "start": 2896, - "end": 2905, + "start": 2906, + "end": 2916, "loc": { "start": { - "line": 99, - "column": 22 + "line": 115, + "column": 21 }, "end": { - "line": 99, + "line": 115, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 2896, - "end": 2900, + "start": 2906, + "end": 2910, "loc": { "start": { - "line": 99, - "column": 22 + "line": 115, + "column": 21 }, "end": { - "line": 99, - "column": 26 + "line": 115, + "column": 25 } } }, "property": { "type": "Identifier", - "start": 2901, - "end": 2905, + "start": 2911, + "end": 2916, "loc": { "start": { - "line": 99, - "column": 27 + "line": 115, + "column": 26 }, "end": { - "line": 99, + "line": 115, "column": 31 }, - "identifierName": "base" + "identifierName": "_base" }, - "name": "base" + "name": "_base" }, "computed": false }, { "type": "UnaryExpression", - "start": 2908, - "end": 2910, + "start": 2918, + "end": 2920, "loc": { "start": { - "line": 99, - "column": 34 + "line": 115, + "column": 33 }, "end": { - "line": 99, - "column": 36 + "line": 115, + "column": 35 } }, "operator": "-", "prefix": true, "argument": { "type": "NumericLiteral", - "start": 2909, - "end": 2910, + "start": 2919, + "end": 2920, "loc": { "start": { - "line": 99, - "column": 35 + "line": 115, + "column": 34 }, "end": { - "line": 99, - "column": 36 + "line": 115, + "column": 35 } }, "extra": { @@ -6986,31 +7000,31 @@ }, { "type": "ArrayExpression", - "start": 2913, - "end": 2918, + "start": 2922, + "end": 2925, "loc": { "start": { - "line": 99, - "column": 39 + "line": 115, + "column": 37 }, "end": { - "line": 99, - "column": 44 + "line": 115, + "column": 40 } }, "elements": [ { "type": "NumericLiteral", - "start": 2915, - "end": 2916, + "start": 2923, + "end": 2924, "loc": { "start": { - "line": 99, - "column": 41 + "line": 115, + "column": 38 }, "end": { - "line": 99, - "column": 42 + "line": 115, + "column": 39 } }, "extra": { @@ -7030,15 +7044,15 @@ }, { "type": "ClassMethod", - "start": 2928, - "end": 3017, + "start": 2933, + "end": 3015, "loc": { "start": { - "line": 102, + "line": 118, "column": 1 }, "end": { - "line": 105, + "line": 121, "column": 2 } }, @@ -7046,15 +7060,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2928, - "end": 2931, + "start": 2933, + "end": 2936, "loc": { "start": { - "line": 102, + "line": 118, "column": 1 }, "end": { - "line": 102, + "line": 118, "column": 4 }, "identifierName": "has" @@ -7069,16 +7083,16 @@ "params": [ { "type": "Identifier", - "start": 2934, - "end": 2935, + "start": 2937, + "end": 2938, "loc": { "start": { - "line": 102, - "column": 7 + "line": 118, + "column": 5 }, "end": { - "line": 102, - "column": 8 + "line": 118, + "column": 6 }, "identifierName": "x" }, @@ -7087,59 +7101,59 @@ ], "body": { "type": "BlockStatement", - "start": 2938, - "end": 3017, + "start": 2940, + "end": 3015, "loc": { "start": { - "line": 102, - "column": 11 + "line": 118, + "column": 8 }, "end": { - "line": 105, + "line": 121, "column": 2 } }, "body": [ { "type": "IfStatement", - "start": 2942, - "end": 2983, + "start": 2944, + "end": 2982, "loc": { "start": { - "line": 103, + "line": 119, "column": 2 }, "end": { - "line": 103, - "column": 43 + "line": 119, + "column": 40 } }, "test": { "type": "BinaryExpression", - "start": 2947, - "end": 2967, + "start": 2948, + "end": 2968, "loc": { "start": { - "line": 103, - "column": 7 + "line": 119, + "column": 6 }, "end": { - "line": 103, - "column": 27 + "line": 119, + "column": 26 } }, "left": { "type": "Identifier", - "start": 2947, - "end": 2948, + "start": 2948, + "end": 2949, "loc": { "start": { - "line": 103, - "column": 7 + "line": 119, + "column": 6 }, "end": { - "line": 103, - "column": 8 + "line": 119, + "column": 7 }, "identifierName": "x" }, @@ -7148,16 +7162,16 @@ "operator": "instanceof", "right": { "type": "Identifier", - "start": 2960, - "end": 2967, + "start": 2961, + "end": 2968, "loc": { "start": { - "line": 103, - "column": 20 + "line": 119, + "column": 19 }, "end": { - "line": 103, - "column": 27 + "line": 119, + "column": 26 }, "identifierName": "Integer" }, @@ -7167,15 +7181,15 @@ "consequent": { "type": "ReturnStatement", "start": 2970, - "end": 2983, + "end": 2982, "loc": { "start": { - "line": 103, - "column": 30 + "line": 119, + "column": 28 }, "end": { - "line": 103, - "column": 43 + "line": 119, + "column": 40 } }, "argument": { @@ -7184,12 +7198,12 @@ "end": 2981, "loc": { "start": { - "line": 103, - "column": 37 + "line": 119, + "column": 35 }, "end": { - "line": 103, - "column": 41 + "line": 119, + "column": 39 } }, "value": true @@ -7199,57 +7213,57 @@ }, { "type": "ReturnStatement", - "start": 2986, - "end": 3014, + "start": 2985, + "end": 3012, "loc": { "start": { - "line": 104, + "line": 120, "column": 2 }, "end": { - "line": 104, - "column": 30 + "line": 120, + "column": 29 } }, "argument": { "type": "CallExpression", - "start": 2993, - "end": 3012, + "start": 2992, + "end": 3011, "loc": { "start": { - "line": 104, + "line": 120, "column": 9 }, "end": { - "line": 104, + "line": 120, "column": 28 } }, "callee": { "type": "MemberExpression", - "start": 2993, - "end": 3009, + "start": 2992, + "end": 3008, "loc": { "start": { - "line": 104, + "line": 120, "column": 9 }, "end": { - "line": 104, + "line": 120, "column": 25 } }, "object": { "type": "Identifier", - "start": 2993, - "end": 2999, + "start": 2992, + "end": 2998, "loc": { "start": { - "line": 104, + "line": 120, "column": 9 }, "end": { - "line": 104, + "line": 120, "column": 15 }, "identifierName": "Number" @@ -7258,15 +7272,15 @@ }, "property": { "type": "Identifier", - "start": 3000, - "end": 3009, + "start": 2999, + "end": 3008, "loc": { "start": { - "line": 104, + "line": 120, "column": 16 }, "end": { - "line": 104, + "line": 120, "column": 25 }, "identifierName": "isInteger" @@ -7278,15 +7292,15 @@ "arguments": [ { "type": "Identifier", - "start": 3010, - "end": 3011, + "start": 3009, + "end": 3010, "loc": { "start": { - "line": 104, + "line": 120, "column": 26 }, "end": { - "line": 104, + "line": 120, "column": 27 }, "identifierName": "x" @@ -7302,15 +7316,15 @@ }, { "type": "ClassMethod", - "start": 3020, - "end": 3065, + "start": 3018, + "end": 3058, "loc": { "start": { - "line": 107, + "line": 123, "column": 1 }, "end": { - "line": 109, + "line": 125, "column": 2 } }, @@ -7318,15 +7332,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3020, - "end": 3023, + "start": 3018, + "end": 3021, "loc": { "start": { - "line": 107, + "line": 123, "column": 1 }, "end": { - "line": 107, + "line": 123, "column": 4 }, "identifierName": "min" @@ -7341,16 +7355,16 @@ "params": [ { "type": "Identifier", - "start": 3026, - "end": 3027, + "start": 3022, + "end": 3023, "loc": { "start": { - "line": 107, - "column": 7 + "line": 123, + "column": 5 }, "end": { - "line": 107, - "column": 8 + "line": 123, + "column": 6 }, "identifierName": "a" }, @@ -7358,16 +7372,16 @@ }, { "type": "Identifier", - "start": 3030, - "end": 3031, + "start": 3025, + "end": 3026, "loc": { "start": { - "line": 107, - "column": 11 + "line": 123, + "column": 8 }, "end": { - "line": 107, - "column": 12 + "line": 123, + "column": 9 }, "identifierName": "b" }, @@ -7376,86 +7390,86 @@ ], "body": { "type": "BlockStatement", - "start": 3034, - "end": 3065, + "start": 3028, + "end": 3058, "loc": { "start": { - "line": 107, - "column": 15 + "line": 123, + "column": 11 }, "end": { - "line": 109, + "line": 125, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 3038, - "end": 3062, + "start": 3032, + "end": 3055, "loc": { "start": { - "line": 108, + "line": 124, "column": 2 }, "end": { - "line": 108, - "column": 26 + "line": 124, + "column": 25 } }, "argument": { "type": "ConditionalExpression", - "start": 3045, - "end": 3060, + "start": 3039, + "end": 3054, "loc": { "start": { - "line": 108, + "line": 124, "column": 9 }, "end": { - "line": 108, + "line": 124, "column": 24 } }, "test": { "type": "CallExpression", - "start": 3045, - "end": 3052, + "start": 3039, + "end": 3046, "loc": { "start": { - "line": 108, + "line": 124, "column": 9 }, "end": { - "line": 108, + "line": 124, "column": 16 } }, "callee": { "type": "MemberExpression", - "start": 3045, - "end": 3049, + "start": 3039, + "end": 3043, "loc": { "start": { - "line": 108, + "line": 124, "column": 9 }, "end": { - "line": 108, + "line": 124, "column": 13 } }, "object": { "type": "Identifier", - "start": 3045, - "end": 3046, + "start": 3039, + "end": 3040, "loc": { "start": { - "line": 108, + "line": 124, "column": 9 }, "end": { - "line": 108, + "line": 124, "column": 10 }, "identifierName": "a" @@ -7464,15 +7478,15 @@ }, "property": { "type": "Identifier", - "start": 3047, - "end": 3049, + "start": 3041, + "end": 3043, "loc": { "start": { - "line": 108, + "line": 124, "column": 11 }, "end": { - "line": 108, + "line": 124, "column": 13 }, "identifierName": "le" @@ -7484,15 +7498,15 @@ "arguments": [ { "type": "Identifier", - "start": 3050, - "end": 3051, + "start": 3044, + "end": 3045, "loc": { "start": { - "line": 108, + "line": 124, "column": 14 }, "end": { - "line": 108, + "line": 124, "column": 15 }, "identifierName": "b" @@ -7503,15 +7517,15 @@ }, "consequent": { "type": "Identifier", - "start": 3055, - "end": 3056, + "start": 3049, + "end": 3050, "loc": { "start": { - "line": 108, + "line": 124, "column": 19 }, "end": { - "line": 108, + "line": 124, "column": 20 }, "identifierName": "a" @@ -7520,15 +7534,15 @@ }, "alternate": { "type": "Identifier", - "start": 3059, - "end": 3060, + "start": 3053, + "end": 3054, "loc": { "start": { - "line": 108, + "line": 124, "column": 23 }, "end": { - "line": 108, + "line": 124, "column": 24 }, "identifierName": "b" @@ -7543,15 +7557,15 @@ }, { "type": "ClassMethod", - "start": 3068, - "end": 3113, + "start": 3061, + "end": 3101, "loc": { "start": { - "line": 111, + "line": 127, "column": 1 }, "end": { - "line": 113, + "line": 129, "column": 2 } }, @@ -7559,15 +7573,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3068, - "end": 3071, + "start": 3061, + "end": 3064, "loc": { "start": { - "line": 111, + "line": 127, "column": 1 }, "end": { - "line": 111, + "line": 127, "column": 4 }, "identifierName": "max" @@ -7582,16 +7596,16 @@ "params": [ { "type": "Identifier", - "start": 3074, - "end": 3075, + "start": 3065, + "end": 3066, "loc": { "start": { - "line": 111, - "column": 7 + "line": 127, + "column": 5 }, "end": { - "line": 111, - "column": 8 + "line": 127, + "column": 6 }, "identifierName": "a" }, @@ -7599,16 +7613,16 @@ }, { "type": "Identifier", - "start": 3078, - "end": 3079, + "start": 3068, + "end": 3069, "loc": { "start": { - "line": 111, - "column": 11 + "line": 127, + "column": 8 }, "end": { - "line": 111, - "column": 12 + "line": 127, + "column": 9 }, "identifierName": "b" }, @@ -7617,86 +7631,86 @@ ], "body": { "type": "BlockStatement", - "start": 3082, - "end": 3113, + "start": 3071, + "end": 3101, "loc": { "start": { - "line": 111, - "column": 15 + "line": 127, + "column": 11 }, "end": { - "line": 113, + "line": 129, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 3086, - "end": 3110, + "start": 3075, + "end": 3098, "loc": { "start": { - "line": 112, + "line": 128, "column": 2 }, "end": { - "line": 112, - "column": 26 + "line": 128, + "column": 25 } }, "argument": { "type": "ConditionalExpression", - "start": 3093, - "end": 3108, + "start": 3082, + "end": 3097, "loc": { "start": { - "line": 112, + "line": 128, "column": 9 }, "end": { - "line": 112, + "line": 128, "column": 24 } }, "test": { "type": "CallExpression", - "start": 3093, - "end": 3100, + "start": 3082, + "end": 3089, "loc": { "start": { - "line": 112, + "line": 128, "column": 9 }, "end": { - "line": 112, + "line": 128, "column": 16 } }, "callee": { "type": "MemberExpression", - "start": 3093, - "end": 3097, + "start": 3082, + "end": 3086, "loc": { "start": { - "line": 112, + "line": 128, "column": 9 }, "end": { - "line": 112, + "line": 128, "column": 13 } }, "object": { "type": "Identifier", - "start": 3093, - "end": 3094, + "start": 3082, + "end": 3083, "loc": { "start": { - "line": 112, + "line": 128, "column": 9 }, "end": { - "line": 112, + "line": 128, "column": 10 }, "identifierName": "a" @@ -7705,15 +7719,15 @@ }, "property": { "type": "Identifier", - "start": 3095, - "end": 3097, + "start": 3084, + "end": 3086, "loc": { "start": { - "line": 112, + "line": 128, "column": 11 }, "end": { - "line": 112, + "line": 128, "column": 13 }, "identifierName": "ge" @@ -7725,15 +7739,15 @@ "arguments": [ { "type": "Identifier", - "start": 3098, - "end": 3099, + "start": 3087, + "end": 3088, "loc": { "start": { - "line": 112, + "line": 128, "column": 14 }, "end": { - "line": 112, + "line": 128, "column": 15 }, "identifierName": "b" @@ -7744,15 +7758,15 @@ }, "consequent": { "type": "Identifier", - "start": 3103, - "end": 3104, + "start": 3092, + "end": 3093, "loc": { "start": { - "line": 112, + "line": 128, "column": 19 }, "end": { - "line": 112, + "line": 128, "column": 20 }, "identifierName": "a" @@ -7761,15 +7775,15 @@ }, "alternate": { "type": "Identifier", - "start": 3107, - "end": 3108, + "start": 3096, + "end": 3097, "loc": { "start": { - "line": 112, + "line": 128, "column": 23 }, "end": { - "line": 112, + "line": 128, "column": 24 }, "identifierName": "b" @@ -7795,15 +7809,15 @@ { "type": "CommentLine", "value": " TODO Could we use an empty array instead ?", - "start": 2703, - "end": 2748, + "start": 2730, + "end": 2775, "loc": { "start": { - "line": 90, + "line": 106, "column": 2 }, "end": { - "line": 90, + "line": 106, "column": 47 } } @@ -7875,17 +7889,69 @@ "postfix": false, "binop": null }, - "value": "Integer", - "start": 9, - "end": 16, + "value": "parse", + "start": 8, + "end": 13, "loc": { "start": { "line": 1, - "column": 9 + "column": 8 }, "end": { "line": 1, - "column": 16 + "column": 13 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13, + "end": 14, + "loc": { + "start": { + "line": 1, + "column": 13 + }, + "end": { + "line": 1, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convert", + "start": 15, + "end": 22, + "loc": { + "start": { + "line": 1, + "column": 15 + }, + "end": { + "line": 1, + "column": 22 } } }, @@ -7901,16 +7967,16 @@ "postfix": false, "binop": null }, - "start": 17, - "end": 18, + "start": 22, + "end": 23, "loc": { "start": { "line": 1, - "column": 17 + "column": 22 }, "end": { "line": 1, - "column": 18 + "column": 23 } } }, @@ -7927,16 +7993,16 @@ "binop": null }, "value": "from", - "start": 19, - "end": 23, + "start": 24, + "end": 28, "loc": { "start": { "line": 1, - "column": 19 + "column": 24 }, "end": { "line": 1, - "column": 23 + "column": 28 } } }, @@ -7953,17 +8019,17 @@ "binop": null, "updateContext": null }, - "value": "./", - "start": 24, - "end": 28, + "value": "@aureooms/js-integer-big-endian", + "start": 29, + "end": 62, "loc": { "start": { "line": 1, - "column": 24 + "column": 29 }, "end": { "line": 1, - "column": 28 + "column": 62 } } }, @@ -7980,16 +8046,16 @@ "binop": null, "updateContext": null }, - "start": 29, - "end": 30, + "start": 62, + "end": 63, "loc": { "start": { "line": 1, - "column": 29 + "column": 62 }, "end": { "line": 1, - "column": 30 + "column": 63 } } }, @@ -8008,8 +8074,8 @@ "updateContext": null }, "value": "import", - "start": 31, - "end": 37, + "start": 64, + "end": 70, "loc": { "start": { "line": 2, @@ -8033,8 +8099,8 @@ "postfix": false, "binop": null }, - "start": 38, - "end": 39, + "start": 71, + "end": 72, "loc": { "start": { "line": 2, @@ -8058,13 +8124,65 @@ "postfix": false, "binop": null }, - "value": "DEFAULT_DISPLAY_BASE", - "start": 40, - "end": 60, + "value": "TypeError", + "start": 72, + "end": 81, "loc": { "start": { "line": 2, - "column": 9 + "column": 8 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 81, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 17 + }, + "end": { + "line": 2, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ValueError", + "start": 83, + "end": 93, + "loc": { + "start": { + "line": 2, + "column": 19 }, "end": { "line": 2, @@ -8084,16 +8202,16 @@ "postfix": false, "binop": null }, - "start": 61, - "end": 62, + "start": 93, + "end": 94, "loc": { "start": { "line": 2, - "column": 30 + "column": 29 }, "end": { "line": 2, - "column": 31 + "column": 30 } } }, @@ -8110,16 +8228,16 @@ "binop": null }, "value": "from", - "start": 63, - "end": 67, + "start": 95, + "end": 99, "loc": { "start": { "line": 2, - "column": 32 + "column": 31 }, "end": { "line": 2, - "column": 36 + "column": 35 } } }, @@ -8136,17 +8254,17 @@ "binop": null, "updateContext": null }, - "value": "./", - "start": 68, - "end": 72, + "value": "@aureooms/js-error", + "start": 100, + "end": 120, "loc": { "start": { "line": 2, - "column": 37 + "column": 36 }, "end": { "line": 2, - "column": 41 + "column": 56 } } }, @@ -8163,16 +8281,16 @@ "binop": null, "updateContext": null }, - "start": 73, - "end": 74, + "start": 120, + "end": 121, "loc": { "start": { "line": 2, - "column": 42 + "column": 56 }, "end": { "line": 2, - "column": 43 + "column": 57 } } }, @@ -8191,15 +8309,15 @@ "updateContext": null }, "value": "import", - "start": 75, - "end": 81, + "start": 123, + "end": 129, "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 6 } } @@ -8216,15 +8334,15 @@ "postfix": false, "binop": null }, - "start": 82, - "end": 83, + "start": 130, + "end": 131, "loc": { "start": { - "line": 3, + "line": 4, "column": 7 }, "end": { - "line": 3, + "line": 4, "column": 8 } } @@ -8241,42 +8359,41 @@ "postfix": false, "binop": null }, - "value": "parse", - "start": 84, - "end": 89, + "value": "Integer", + "start": 131, + "end": 138, "loc": { "start": { - "line": 3, - "column": 9 + "line": 4, + "column": 8 }, "end": { - "line": 3, - "column": 14 + "line": 4, + "column": 15 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 90, - "end": 91, + "start": 138, + "end": 139, "loc": { "start": { - "line": 3, + "line": 4, "column": 15 }, "end": { - "line": 3, + "line": 4, "column": 16 } } @@ -8293,68 +8410,17 @@ "postfix": false, "binop": null }, - "value": "convert", - "start": 92, - "end": 99, + "value": "from", + "start": 140, + "end": 144, "loc": { "start": { - "line": 3, + "line": 4, "column": 17 }, "end": { - "line": 3, - "column": 24 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 100, - "end": 101, - "loc": { - "start": { - "line": 3, - "column": 25 - }, - "end": { - "line": 3, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 102, - "end": 106, - "loc": { - "start": { - "line": 3, - "column": 27 - }, - "end": { - "line": 3, - "column": 31 + "line": 4, + "column": 21 } } }, @@ -8371,17 +8437,17 @@ "binop": null, "updateContext": null }, - "value": "@aureooms/js-integer-big-endian", - "start": 107, - "end": 140, + "value": "./Integer.js", + "start": 145, + "end": 159, "loc": { "start": { - "line": 3, - "column": 32 + "line": 4, + "column": 22 }, "end": { - "line": 3, - "column": 65 + "line": 4, + "column": 36 } } }, @@ -8398,16 +8464,16 @@ "binop": null, "updateContext": null }, - "start": 141, - "end": 142, + "start": 159, + "end": 160, "loc": { "start": { - "line": 3, - "column": 66 + "line": 4, + "column": 36 }, "end": { - "line": 3, - "column": 67 + "line": 4, + "column": 37 } } }, @@ -8426,15 +8492,15 @@ "updateContext": null }, "value": "import", - "start": 143, - "end": 149, + "start": 161, + "end": 167, "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 6 } } @@ -8451,15 +8517,15 @@ "postfix": false, "binop": null }, - "start": 150, - "end": 151, + "start": 168, + "end": 169, "loc": { "start": { - "line": 4, + "line": 5, "column": 7 }, "end": { - "line": 4, + "line": 5, "column": 8 } } @@ -8476,69 +8542,17 @@ "postfix": false, "binop": null }, - "value": "TypeError", - "start": 152, - "end": 161, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 18 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 162, - "end": 163, - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 4, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "ValueError", - "start": 164, - "end": 174, + "value": "DEFAULT_DISPLAY_BASE", + "start": 169, + "end": 189, "loc": { "start": { - "line": 4, - "column": 21 + "line": 5, + "column": 8 }, "end": { - "line": 4, - "column": 31 + "line": 5, + "column": 28 } } }, @@ -8554,16 +8568,16 @@ "postfix": false, "binop": null }, - "start": 175, - "end": 176, + "start": 189, + "end": 190, "loc": { "start": { - "line": 4, - "column": 32 + "line": 5, + "column": 28 }, "end": { - "line": 4, - "column": 33 + "line": 5, + "column": 29 } } }, @@ -8580,16 +8594,16 @@ "binop": null }, "value": "from", - "start": 177, - "end": 181, + "start": 191, + "end": 195, "loc": { "start": { - "line": 4, - "column": 34 + "line": 5, + "column": 30 }, "end": { - "line": 4, - "column": 38 + "line": 5, + "column": 34 } } }, @@ -8606,17 +8620,17 @@ "binop": null, "updateContext": null }, - "value": "@aureooms/js-error", - "start": 182, - "end": 202, + "value": "./DEFAULT_DISPLAY_BASE.js", + "start": 196, + "end": 223, "loc": { "start": { - "line": 4, - "column": 39 + "line": 5, + "column": 35 }, "end": { - "line": 4, - "column": 59 + "line": 5, + "column": 62 } } }, @@ -8633,16 +8647,16 @@ "binop": null, "updateContext": null }, - "start": 203, - "end": 204, + "start": 223, + "end": 224, "loc": { "start": { - "line": 4, - "column": 60 + "line": 5, + "column": 62 }, "end": { - "line": 4, - "column": 61 + "line": 5, + "column": 63 } } }, @@ -8661,15 +8675,15 @@ "updateContext": null }, "value": "import", - "start": 205, - "end": 211, + "start": 225, + "end": 231, "loc": { "start": { - "line": 5, + "line": 6, "column": 0 }, "end": { - "line": 5, + "line": 6, "column": 6 } } @@ -8686,15 +8700,15 @@ "postfix": false, "binop": null }, - "start": 212, - "end": 213, + "start": 232, + "end": 233, "loc": { "start": { - "line": 5, + "line": 6, "column": 7 }, "end": { - "line": 5, + "line": 6, "column": 8 } } @@ -8712,16 +8726,16 @@ "binop": null }, "value": "_from_number", - "start": 214, - "end": 226, + "start": 233, + "end": 245, "loc": { "start": { - "line": 5, - "column": 9 + "line": 6, + "column": 8 }, "end": { - "line": 5, - "column": 21 + "line": 6, + "column": 20 } } }, @@ -8737,16 +8751,16 @@ "postfix": false, "binop": null }, - "start": 227, - "end": 228, + "start": 245, + "end": 246, "loc": { "start": { - "line": 5, - "column": 22 + "line": 6, + "column": 20 }, "end": { - "line": 5, - "column": 23 + "line": 6, + "column": 21 } } }, @@ -8763,16 +8777,16 @@ "binop": null }, "value": "from", - "start": 229, - "end": 233, + "start": 247, + "end": 251, "loc": { "start": { - "line": 5, - "column": 24 + "line": 6, + "column": 22 }, "end": { - "line": 5, - "column": 28 + "line": 6, + "column": 26 } } }, @@ -8789,17 +8803,17 @@ "binop": null, "updateContext": null }, - "value": "./_from_number", - "start": 234, - "end": 250, + "value": "./_from_number.js", + "start": 252, + "end": 271, "loc": { "start": { - "line": 5, - "column": 29 + "line": 6, + "column": 27 }, "end": { - "line": 5, - "column": 45 + "line": 6, + "column": 46 } } }, @@ -8816,15 +8830,15 @@ "binop": null, "updateContext": null }, - "start": 251, - "end": 252, + "start": 271, + "end": 272, "loc": { "start": { - "line": 5, + "line": 6, "column": 46 }, "end": { - "line": 5, + "line": 6, "column": 47 } } @@ -8844,15 +8858,15 @@ "updateContext": null }, "value": "export", - "start": 254, - "end": 260, + "start": 274, + "end": 280, "loc": { "start": { - "line": 7, + "line": 8, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 6 } } @@ -8872,15 +8886,15 @@ "updateContext": null }, "value": "class", - "start": 261, - "end": 266, + "start": 281, + "end": 286, "loc": { "start": { - "line": 7, + "line": 8, "column": 7 }, "end": { - "line": 7, + "line": 8, "column": 12 } } @@ -8898,15 +8912,15 @@ "binop": null }, "value": "IntegerRing", - "start": 267, - "end": 278, + "start": 287, + "end": 298, "loc": { "start": { - "line": 7, + "line": 8, "column": 13 }, "end": { - "line": 7, + "line": 8, "column": 24 } } @@ -8923,15 +8937,15 @@ "postfix": false, "binop": null }, - "start": 279, - "end": 280, + "start": 299, + "end": 300, "loc": { "start": { - "line": 7, + "line": 8, "column": 25 }, "end": { - "line": 7, + "line": 8, "column": 26 } } @@ -8949,8 +8963,8 @@ "binop": null }, "value": "constructor", - "start": 283, - "end": 294, + "start": 302, + "end": 313, "loc": { "start": { "line": 9, @@ -8974,16 +8988,16 @@ "postfix": false, "binop": null }, - "start": 295, - "end": 296, + "start": 313, + "end": 314, "loc": { "start": { "line": 9, - "column": 13 + "column": 12 }, "end": { "line": 9, - "column": 14 + "column": 13 } } }, @@ -9000,16 +9014,16 @@ "binop": null }, "value": "name", - "start": 297, - "end": 301, + "start": 314, + "end": 318, "loc": { "start": { "line": 9, - "column": 15 + "column": 13 }, "end": { "line": 9, - "column": 19 + "column": 17 } } }, @@ -9026,16 +9040,16 @@ "binop": null, "updateContext": null }, - "start": 302, - "end": 303, + "start": 318, + "end": 319, "loc": { "start": { "line": 9, - "column": 20 + "column": 17 }, "end": { "line": 9, - "column": 21 + "column": 18 } } }, @@ -9052,16 +9066,16 @@ "binop": null }, "value": "base", - "start": 304, - "end": 308, + "start": 320, + "end": 324, "loc": { "start": { "line": 9, - "column": 22 + "column": 19 }, "end": { "line": 9, - "column": 26 + "column": 23 } } }, @@ -9077,16 +9091,16 @@ "postfix": false, "binop": null }, - "start": 309, - "end": 310, + "start": 324, + "end": 325, "loc": { "start": { "line": 9, - "column": 27 + "column": 23 }, "end": { "line": 9, - "column": 28 + "column": 24 } } }, @@ -9102,16 +9116,16 @@ "postfix": false, "binop": null }, - "start": 311, - "end": 312, + "start": 326, + "end": 327, "loc": { "start": { "line": 9, - "column": 29 + "column": 25 }, "end": { "line": 9, - "column": 30 + "column": 26 } } }, @@ -9130,8 +9144,8 @@ "updateContext": null }, "value": "this", - "start": 315, - "end": 319, + "start": 330, + "end": 334, "loc": { "start": { "line": 10, @@ -9156,8 +9170,8 @@ "binop": null, "updateContext": null }, - "start": 319, - "end": 320, + "start": 334, + "end": 335, "loc": { "start": { "line": 10, @@ -9182,8 +9196,8 @@ "binop": null }, "value": "name", - "start": 320, - "end": 324, + "start": 335, + "end": 339, "loc": { "start": { "line": 10, @@ -9209,8 +9223,8 @@ "updateContext": null }, "value": "=", - "start": 325, - "end": 326, + "start": 340, + "end": 341, "loc": { "start": { "line": 10, @@ -9235,8 +9249,8 @@ "binop": null }, "value": "name", - "start": 327, - "end": 331, + "start": 342, + "end": 346, "loc": { "start": { "line": 10, @@ -9261,16 +9275,16 @@ "binop": null, "updateContext": null }, - "start": 332, - "end": 333, + "start": 346, + "end": 347, "loc": { "start": { "line": 10, - "column": 19 + "column": 18 }, "end": { "line": 10, - "column": 20 + "column": 19 } } }, @@ -9289,8 +9303,8 @@ "updateContext": null }, "value": "this", - "start": 336, - "end": 340, + "start": 350, + "end": 354, "loc": { "start": { "line": 11, @@ -9315,8 +9329,8 @@ "binop": null, "updateContext": null }, - "start": 340, - "end": 341, + "start": 354, + "end": 355, "loc": { "start": { "line": 11, @@ -9340,9 +9354,9 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 341, - "end": 345, + "value": "_base", + "start": 355, + "end": 360, "loc": { "start": { "line": 11, @@ -9350,7 +9364,7 @@ }, "end": { "line": 11, - "column": 11 + "column": 12 } } }, @@ -9368,16 +9382,16 @@ "updateContext": null }, "value": "=", - "start": 346, - "end": 347, + "start": 361, + "end": 362, "loc": { "start": { "line": 11, - "column": 12 + "column": 13 }, "end": { "line": 11, - "column": 13 + "column": 14 } } }, @@ -9394,16 +9408,16 @@ "binop": null }, "value": "base", - "start": 348, - "end": 352, + "start": 363, + "end": 367, "loc": { "start": { "line": 11, - "column": 14 + "column": 15 }, "end": { "line": 11, - "column": 18 + "column": 19 } } }, @@ -9420,8 +9434,8 @@ "binop": null, "updateContext": null }, - "start": 353, - "end": 354, + "start": 367, + "end": 368, "loc": { "start": { "line": 11, @@ -9445,8 +9459,8 @@ "postfix": false, "binop": null }, - "start": 356, - "end": 357, + "start": 370, + "end": 371, "loc": { "start": { "line": 12, @@ -9471,8 +9485,8 @@ "binop": null }, "value": "characteristic", - "start": 360, - "end": 374, + "start": 374, + "end": 388, "loc": { "start": { "line": 14, @@ -9496,16 +9510,16 @@ "postfix": false, "binop": null }, - "start": 375, - "end": 376, + "start": 388, + "end": 389, "loc": { "start": { "line": 14, - "column": 16 + "column": 15 }, "end": { "line": 14, - "column": 17 + "column": 16 } } }, @@ -9521,16 +9535,16 @@ "postfix": false, "binop": null }, - "start": 377, - "end": 378, + "start": 389, + "end": 390, "loc": { "start": { "line": 14, - "column": 18 + "column": 16 }, "end": { "line": 14, - "column": 19 + "column": 17 } } }, @@ -9546,16 +9560,16 @@ "postfix": false, "binop": null }, - "start": 379, - "end": 380, + "start": 391, + "end": 392, "loc": { "start": { "line": 14, - "column": 20 + "column": 18 }, "end": { "line": 14, - "column": 21 + "column": 19 } } }, @@ -9574,8 +9588,8 @@ "updateContext": null }, "value": "return", - "start": 383, - "end": 389, + "start": 395, + "end": 401, "loc": { "start": { "line": 15, @@ -9602,8 +9616,8 @@ "updateContext": null }, "value": "this", - "start": 390, - "end": 394, + "start": 402, + "end": 406, "loc": { "start": { "line": 15, @@ -9628,8 +9642,8 @@ "binop": null, "updateContext": null }, - "start": 394, - "end": 395, + "start": 406, + "end": 407, "loc": { "start": { "line": 15, @@ -9654,8 +9668,8 @@ "binop": null }, "value": "$0", - "start": 395, - "end": 397, + "start": 407, + "end": 409, "loc": { "start": { "line": 15, @@ -9679,8 +9693,8 @@ "postfix": false, "binop": null }, - "start": 397, - "end": 398, + "start": 409, + "end": 410, "loc": { "start": { "line": 15, @@ -9704,8 +9718,8 @@ "postfix": false, "binop": null }, - "start": 398, - "end": 399, + "start": 410, + "end": 411, "loc": { "start": { "line": 15, @@ -9730,16 +9744,16 @@ "binop": null, "updateContext": null }, - "start": 400, - "end": 401, + "start": 411, + "end": 412, "loc": { "start": { "line": 15, - "column": 19 + "column": 18 }, "end": { "line": 15, - "column": 20 + "column": 19 } } }, @@ -9755,8 +9769,8 @@ "postfix": false, "binop": null }, - "start": 403, - "end": 404, + "start": 414, + "end": 415, "loc": { "start": { "line": 16, @@ -9781,8 +9795,8 @@ "binop": null }, "value": "from", - "start": 407, - "end": 411, + "start": 418, + "end": 422, "loc": { "start": { "line": 18, @@ -9806,16 +9820,16 @@ "postfix": false, "binop": null }, - "start": 412, - "end": 413, + "start": 422, + "end": 423, "loc": { "start": { "line": 18, - "column": 6 + "column": 5 }, "end": { "line": 18, - "column": 7 + "column": 6 } } }, @@ -9832,16 +9846,16 @@ "binop": null }, "value": "object", - "start": 414, - "end": 420, + "start": 423, + "end": 429, "loc": { "start": { "line": 18, - "column": 8 + "column": 6 }, "end": { "line": 18, - "column": 14 + "column": 12 } } }, @@ -9858,16 +9872,16 @@ "binop": null, "updateContext": null }, - "start": 421, - "end": 422, + "start": 429, + "end": 430, "loc": { "start": { "line": 18, - "column": 15 + "column": 12 }, "end": { "line": 18, - "column": 16 + "column": 13 } } }, @@ -9884,16 +9898,16 @@ "binop": null }, "value": "base", - "start": 423, - "end": 427, + "start": 431, + "end": 435, "loc": { "start": { "line": 18, - "column": 17 + "column": 14 }, "end": { "line": 18, - "column": 21 + "column": 18 } } }, @@ -9911,16 +9925,16 @@ "updateContext": null }, "value": "=", - "start": 428, - "end": 429, + "start": 436, + "end": 437, "loc": { "start": { "line": 18, - "column": 22 + "column": 19 }, "end": { "line": 18, - "column": 23 + "column": 20 } } }, @@ -9937,16 +9951,16 @@ "binop": null }, "value": "undefined", - "start": 430, - "end": 439, + "start": 438, + "end": 447, "loc": { "start": { "line": 18, - "column": 24 + "column": 21 }, "end": { "line": 18, - "column": 33 + "column": 30 } } }, @@ -9963,16 +9977,16 @@ "binop": null, "updateContext": null }, - "start": 440, - "end": 441, + "start": 447, + "end": 448, "loc": { "start": { "line": 18, - "column": 34 + "column": 30 }, "end": { "line": 18, - "column": 35 + "column": 31 } } }, @@ -9989,16 +10003,16 @@ "binop": null }, "value": "is_negative", - "start": 442, - "end": 453, + "start": 449, + "end": 460, "loc": { "start": { "line": 18, - "column": 36 + "column": 32 }, "end": { "line": 18, - "column": 47 + "column": 43 } } }, @@ -10016,16 +10030,16 @@ "updateContext": null }, "value": "=", - "start": 454, - "end": 455, + "start": 461, + "end": 462, "loc": { "start": { "line": 18, - "column": 48 + "column": 44 }, "end": { "line": 18, - "column": 49 + "column": 45 } } }, @@ -10043,16 +10057,16 @@ "updateContext": null }, "value": 0, - "start": 456, - "end": 457, + "start": 463, + "end": 464, "loc": { "start": { "line": 18, - "column": 50 + "column": 46 }, "end": { "line": 18, - "column": 51 + "column": 47 } } }, @@ -10068,16 +10082,16 @@ "postfix": false, "binop": null }, - "start": 458, - "end": 459, + "start": 464, + "end": 465, "loc": { "start": { "line": 18, - "column": 52 + "column": 47 }, "end": { "line": 18, - "column": 53 + "column": 48 } } }, @@ -10093,16 +10107,16 @@ "postfix": false, "binop": null }, - "start": 460, - "end": 461, + "start": 466, + "end": 467, "loc": { "start": { "line": 18, - "column": 54 + "column": 49 }, "end": { "line": 18, - "column": 55 + "column": 50 } } }, @@ -10121,15 +10135,15 @@ "updateContext": null }, "value": "if", - "start": 465, - "end": 467, + "start": 470, + "end": 472, "loc": { "start": { - "line": 20, + "line": 19, "column": 2 }, "end": { - "line": 20, + "line": 19, "column": 4 } } @@ -10146,15 +10160,15 @@ "postfix": false, "binop": null }, - "start": 468, - "end": 469, + "start": 473, + "end": 474, "loc": { "start": { - "line": 20, + "line": 19, "column": 5 }, "end": { - "line": 20, + "line": 19, "column": 6 } } @@ -10172,16 +10186,16 @@ "binop": null }, "value": "object", - "start": 470, - "end": 476, + "start": 474, + "end": 480, "loc": { "start": { - "line": 20, - "column": 7 + "line": 19, + "column": 6 }, "end": { - "line": 20, - "column": 13 + "line": 19, + "column": 12 } } }, @@ -10199,16 +10213,16 @@ "updateContext": null }, "value": "===", - "start": 477, - "end": 480, + "start": 481, + "end": 484, "loc": { "start": { - "line": 20, - "column": 14 + "line": 19, + "column": 13 }, "end": { - "line": 20, - "column": 17 + "line": 19, + "column": 16 } } }, @@ -10227,16 +10241,16 @@ "updateContext": null }, "value": "null", - "start": 481, - "end": 485, + "start": 485, + "end": 489, "loc": { "start": { - "line": 20, - "column": 18 + "line": 19, + "column": 17 }, "end": { - "line": 20, - "column": 22 + "line": 19, + "column": 21 } } }, @@ -10254,16 +10268,16 @@ "updateContext": null }, "value": "||", - "start": 486, - "end": 488, + "start": 490, + "end": 492, "loc": { "start": { - "line": 20, - "column": 23 + "line": 19, + "column": 22 }, "end": { - "line": 20, - "column": 25 + "line": 19, + "column": 24 } } }, @@ -10280,16 +10294,16 @@ "binop": null }, "value": "object", - "start": 489, - "end": 495, + "start": 493, + "end": 499, "loc": { "start": { - "line": 20, - "column": 26 + "line": 19, + "column": 25 }, "end": { - "line": 20, - "column": 32 + "line": 19, + "column": 31 } } }, @@ -10307,16 +10321,16 @@ "updateContext": null }, "value": "===", - "start": 496, - "end": 499, + "start": 500, + "end": 503, "loc": { "start": { - "line": 20, - "column": 33 + "line": 19, + "column": 32 }, "end": { - "line": 20, - "column": 36 + "line": 19, + "column": 35 } } }, @@ -10333,16 +10347,16 @@ "binop": null }, "value": "undefined", - "start": 500, - "end": 509, + "start": 504, + "end": 513, "loc": { "start": { - "line": 20, - "column": 37 + "line": 19, + "column": 36 }, "end": { - "line": 20, - "column": 46 + "line": 19, + "column": 45 } } }, @@ -10358,16 +10372,16 @@ "postfix": false, "binop": null }, - "start": 510, - "end": 511, + "start": 513, + "end": 514, "loc": { "start": { - "line": 20, - "column": 47 + "line": 19, + "column": 45 }, "end": { - "line": 20, - "column": 48 + "line": 19, + "column": 46 } } }, @@ -10386,16 +10400,16 @@ "updateContext": null }, "value": "return", - "start": 512, - "end": 518, + "start": 515, + "end": 521, "loc": { "start": { - "line": 20, - "column": 49 + "line": 19, + "column": 47 }, "end": { - "line": 20, - "column": 55 + "line": 19, + "column": 53 } } }, @@ -10414,16 +10428,16 @@ "updateContext": null }, "value": "this", - "start": 519, - "end": 523, + "start": 522, + "end": 526, "loc": { "start": { - "line": 20, - "column": 56 + "line": 19, + "column": 54 }, "end": { - "line": 20, - "column": 60 + "line": 19, + "column": 58 } } }, @@ -10440,16 +10454,16 @@ "binop": null, "updateContext": null }, - "start": 523, - "end": 524, + "start": 526, + "end": 527, "loc": { "start": { - "line": 20, - "column": 60 + "line": 19, + "column": 58 }, "end": { - "line": 20, - "column": 61 + "line": 19, + "column": 59 } } }, @@ -10466,16 +10480,16 @@ "binop": null }, "value": "$0", - "start": 524, - "end": 526, + "start": 527, + "end": 529, "loc": { "start": { - "line": 20, - "column": 61 + "line": 19, + "column": 59 }, "end": { - "line": 20, - "column": 63 + "line": 19, + "column": 61 } } }, @@ -10491,16 +10505,16 @@ "postfix": false, "binop": null }, - "start": 526, - "end": 527, + "start": 529, + "end": 530, "loc": { "start": { - "line": 20, - "column": 63 + "line": 19, + "column": 61 }, "end": { - "line": 20, - "column": 64 + "line": 19, + "column": 62 } } }, @@ -10516,16 +10530,16 @@ "postfix": false, "binop": null }, - "start": 527, - "end": 528, + "start": 530, + "end": 531, "loc": { "start": { - "line": 20, - "column": 64 + "line": 19, + "column": 62 }, "end": { - "line": 20, - "column": 65 + "line": 19, + "column": 63 } } }, @@ -10542,16 +10556,16 @@ "binop": null, "updateContext": null }, - "start": 528, - "end": 529, + "start": 531, + "end": 532, "loc": { "start": { - "line": 20, - "column": 65 + "line": 19, + "column": 63 }, "end": { - "line": 20, - "column": 66 + "line": 19, + "column": 64 } } }, @@ -10570,15 +10584,15 @@ "updateContext": null }, "value": "switch", - "start": 533, - "end": 539, + "start": 536, + "end": 542, "loc": { "start": { - "line": 22, + "line": 21, "column": 2 }, "end": { - "line": 22, + "line": 21, "column": 8 } } @@ -10595,15 +10609,15 @@ "postfix": false, "binop": null }, - "start": 540, - "end": 541, + "start": 543, + "end": 544, "loc": { "start": { - "line": 22, + "line": 21, "column": 9 }, "end": { - "line": 22, + "line": 21, "column": 10 } } @@ -10621,16 +10635,16 @@ "binop": null }, "value": "object", - "start": 542, - "end": 548, + "start": 544, + "end": 550, "loc": { "start": { - "line": 22, - "column": 11 + "line": 21, + "column": 10 }, "end": { - "line": 22, - "column": 17 + "line": 21, + "column": 16 } } }, @@ -10647,16 +10661,16 @@ "binop": null, "updateContext": null }, - "start": 548, - "end": 549, + "start": 550, + "end": 551, "loc": { "start": { - "line": 22, - "column": 17 + "line": 21, + "column": 16 }, "end": { - "line": 22, - "column": 18 + "line": 21, + "column": 17 } } }, @@ -10673,16 +10687,16 @@ "binop": null }, "value": "constructor", - "start": 549, - "end": 560, + "start": 551, + "end": 562, "loc": { "start": { - "line": 22, - "column": 18 + "line": 21, + "column": 17 }, "end": { - "line": 22, - "column": 29 + "line": 21, + "column": 28 } } }, @@ -10699,16 +10713,16 @@ "binop": null, "updateContext": null }, - "start": 560, - "end": 561, + "start": 562, + "end": 563, "loc": { "start": { - "line": 22, - "column": 29 + "line": 21, + "column": 28 }, "end": { - "line": 22, - "column": 30 + "line": 21, + "column": 29 } } }, @@ -10725,16 +10739,16 @@ "binop": null }, "value": "prototype", - "start": 561, - "end": 570, + "start": 563, + "end": 572, "loc": { "start": { - "line": 22, - "column": 30 + "line": 21, + "column": 29 }, "end": { - "line": 22, - "column": 39 + "line": 21, + "column": 38 } } }, @@ -10750,16 +10764,16 @@ "postfix": false, "binop": null }, - "start": 571, - "end": 572, + "start": 572, + "end": 573, "loc": { "start": { - "line": 22, - "column": 40 + "line": 21, + "column": 38 }, "end": { - "line": 22, - "column": 41 + "line": 21, + "column": 39 } } }, @@ -10775,16 +10789,16 @@ "postfix": false, "binop": null }, - "start": 573, - "end": 574, + "start": 574, + "end": 575, "loc": { "start": { - "line": 22, - "column": 42 + "line": 21, + "column": 40 }, "end": { - "line": 22, - "column": 43 + "line": 21, + "column": 41 } } }, @@ -10807,11 +10821,11 @@ "end": 583, "loc": { "start": { - "line": 24, + "line": 22, "column": 3 }, "end": { - "line": 24, + "line": 22, "column": 7 } } @@ -10833,11 +10847,11 @@ "end": 590, "loc": { "start": { - "line": 24, + "line": 22, "column": 8 }, "end": { - "line": 24, + "line": 22, "column": 14 } } @@ -10859,11 +10873,11 @@ "end": 591, "loc": { "start": { - "line": 24, + "line": 22, "column": 14 }, "end": { - "line": 24, + "line": 22, "column": 15 } } @@ -10885,11 +10899,11 @@ "end": 600, "loc": { "start": { - "line": 24, + "line": 22, "column": 15 }, "end": { - "line": 24, + "line": 22, "column": 24 } } @@ -10907,16 +10921,16 @@ "binop": null, "updateContext": null }, - "start": 601, - "end": 602, + "start": 600, + "end": 601, "loc": { "start": { - "line": 24, - "column": 25 + "line": 22, + "column": 24 }, "end": { - "line": 24, - "column": 26 + "line": 22, + "column": 25 } } }, @@ -10935,15 +10949,15 @@ "updateContext": null }, "value": "if", - "start": 607, - "end": 609, + "start": 606, + "end": 608, "loc": { "start": { - "line": 25, + "line": 23, "column": 4 }, "end": { - "line": 25, + "line": 23, "column": 6 } } @@ -10960,15 +10974,15 @@ "postfix": false, "binop": null }, - "start": 610, - "end": 611, + "start": 609, + "end": 610, "loc": { "start": { - "line": 25, + "line": 23, "column": 7 }, "end": { - "line": 25, + "line": 23, "column": 8 } } @@ -10986,16 +11000,16 @@ "binop": null }, "value": "base", - "start": 612, - "end": 616, + "start": 610, + "end": 614, "loc": { "start": { - "line": 25, - "column": 9 + "line": 23, + "column": 8 }, "end": { - "line": 25, - "column": 13 + "line": 23, + "column": 12 } } }, @@ -11013,16 +11027,16 @@ "updateContext": null }, "value": "!==", - "start": 617, - "end": 620, + "start": 615, + "end": 618, "loc": { "start": { - "line": 25, - "column": 14 + "line": 23, + "column": 13 }, "end": { - "line": 25, - "column": 17 + "line": 23, + "column": 16 } } }, @@ -11039,16 +11053,16 @@ "binop": null }, "value": "undefined", - "start": 621, - "end": 630, + "start": 619, + "end": 628, "loc": { "start": { - "line": 25, - "column": 18 + "line": 23, + "column": 17 }, "end": { - "line": 25, - "column": 27 + "line": 23, + "column": 26 } } }, @@ -11064,16 +11078,16 @@ "postfix": false, "binop": null }, - "start": 631, - "end": 632, + "start": 628, + "end": 629, "loc": { "start": { - "line": 25, - "column": 28 + "line": 23, + "column": 26 }, "end": { - "line": 25, - "column": 29 + "line": 23, + "column": 27 } } }, @@ -11092,16 +11106,16 @@ "updateContext": null }, "value": "throw", - "start": 633, - "end": 638, + "start": 635, + "end": 640, "loc": { "start": { - "line": 25, - "column": 30 - }, + "line": 24, + "column": 5 + }, "end": { - "line": 25, - "column": 35 + "line": 24, + "column": 10 } } }, @@ -11120,16 +11134,16 @@ "updateContext": null }, "value": "new", - "start": 639, - "end": 642, + "start": 641, + "end": 644, "loc": { "start": { - "line": 25, - "column": 36 + "line": 24, + "column": 11 }, "end": { - "line": 25, - "column": 39 + "line": 24, + "column": 14 } } }, @@ -11146,16 +11160,16 @@ "binop": null }, "value": "ValueError", - "start": 643, - "end": 653, + "start": 645, + "end": 655, "loc": { "start": { - "line": 25, - "column": 40 + "line": 24, + "column": 15 }, "end": { - "line": 25, - "column": 50 + "line": 24, + "column": 25 } } }, @@ -11171,16 +11185,16 @@ "postfix": false, "binop": null }, - "start": 653, - "end": 654, + "start": 655, + "end": 656, "loc": { "start": { - "line": 25, - "column": 50 + "line": 24, + "column": 25 }, "end": { - "line": 25, - "column": 51 + "line": 24, + "column": 26 } } }, @@ -11198,16 +11212,42 @@ "updateContext": null }, "value": "IntegerRing#from: using the base parameter does not make sense when passing a Number.", - "start": 654, - "end": 741, + "start": 663, + "end": 750, "loc": { "start": { "line": 25, - "column": 51 + "column": 6 + }, + "end": { + "line": 25, + "column": 93 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 750, + "end": 751, + "loc": { + "start": { + "line": 25, + "column": 93 }, "end": { "line": 25, - "column": 138 + "column": 94 } } }, @@ -11223,16 +11263,16 @@ "postfix": false, "binop": null }, - "start": 741, - "end": 742, + "start": 757, + "end": 758, "loc": { "start": { - "line": 25, - "column": 138 + "line": 26, + "column": 5 }, "end": { - "line": 25, - "column": 139 + "line": 26, + "column": 6 } } }, @@ -11249,16 +11289,16 @@ "binop": null, "updateContext": null }, - "start": 743, - "end": 744, + "start": 758, + "end": 759, "loc": { "start": { - "line": 25, - "column": 140 + "line": 26, + "column": 6 }, "end": { - "line": 25, - "column": 141 + "line": 26, + "column": 7 } } }, @@ -11277,15 +11317,15 @@ "updateContext": null }, "value": "return", - "start": 749, - "end": 755, + "start": 764, + "end": 770, "loc": { "start": { - "line": 26, + "line": 27, "column": 4 }, "end": { - "line": 26, + "line": 27, "column": 10 } } @@ -11305,15 +11345,15 @@ "updateContext": null }, "value": "this", - "start": 756, - "end": 760, + "start": 771, + "end": 775, "loc": { "start": { - "line": 26, + "line": 27, "column": 11 }, "end": { - "line": 26, + "line": 27, "column": 15 } } @@ -11331,15 +11371,15 @@ "binop": null, "updateContext": null }, - "start": 760, - "end": 761, + "start": 775, + "end": 776, "loc": { "start": { - "line": 26, + "line": 27, "column": 15 }, "end": { - "line": 26, + "line": 27, "column": 16 } } @@ -11357,15 +11397,15 @@ "binop": null }, "value": "from_number", - "start": 761, - "end": 772, + "start": 776, + "end": 787, "loc": { "start": { - "line": 26, + "line": 27, "column": 16 }, "end": { - "line": 26, + "line": 27, "column": 27 } } @@ -11382,15 +11422,15 @@ "postfix": false, "binop": null }, - "start": 772, - "end": 773, + "start": 787, + "end": 788, "loc": { "start": { - "line": 26, + "line": 27, "column": 27 }, "end": { - "line": 26, + "line": 27, "column": 28 } } @@ -11408,16 +11448,16 @@ "binop": null }, "value": "object", - "start": 774, - "end": 780, + "start": 788, + "end": 794, "loc": { "start": { - "line": 26, - "column": 29 + "line": 27, + "column": 28 }, "end": { - "line": 26, - "column": 35 + "line": 27, + "column": 34 } } }, @@ -11434,16 +11474,16 @@ "binop": null, "updateContext": null }, - "start": 781, - "end": 782, + "start": 794, + "end": 795, "loc": { "start": { - "line": 26, - "column": 36 + "line": 27, + "column": 34 }, "end": { - "line": 26, - "column": 37 + "line": 27, + "column": 35 } } }, @@ -11460,16 +11500,16 @@ "binop": null }, "value": "is_negative", - "start": 783, - "end": 794, + "start": 796, + "end": 807, "loc": { "start": { - "line": 26, - "column": 38 + "line": 27, + "column": 36 }, "end": { - "line": 26, - "column": 49 + "line": 27, + "column": 47 } } }, @@ -11485,16 +11525,16 @@ "postfix": false, "binop": null }, - "start": 795, - "end": 796, + "start": 807, + "end": 808, "loc": { "start": { - "line": 26, - "column": 50 + "line": 27, + "column": 47 }, "end": { - "line": 26, - "column": 51 + "line": 27, + "column": 48 } } }, @@ -11511,16 +11551,16 @@ "binop": null, "updateContext": null }, - "start": 797, - "end": 798, + "start": 808, + "end": 809, "loc": { "start": { - "line": 26, - "column": 52 + "line": 27, + "column": 48 }, "end": { - "line": 26, - "column": 53 + "line": 27, + "column": 49 } } }, @@ -11539,15 +11579,15 @@ "updateContext": null }, "value": "case", - "start": 803, - "end": 807, + "start": 814, + "end": 818, "loc": { "start": { - "line": 28, + "line": 29, "column": 3 }, "end": { - "line": 28, + "line": 29, "column": 7 } } @@ -11565,15 +11605,15 @@ "binop": null }, "value": "String", - "start": 808, - "end": 814, + "start": 819, + "end": 825, "loc": { "start": { - "line": 28, + "line": 29, "column": 8 }, "end": { - "line": 28, + "line": 29, "column": 14 } } @@ -11591,15 +11631,15 @@ "binop": null, "updateContext": null }, - "start": 814, - "end": 815, + "start": 825, + "end": 826, "loc": { "start": { - "line": 28, + "line": 29, "column": 14 }, "end": { - "line": 28, + "line": 29, "column": 15 } } @@ -11617,15 +11657,15 @@ "binop": null }, "value": "prototype", - "start": 815, - "end": 824, + "start": 826, + "end": 835, "loc": { "start": { - "line": 28, + "line": 29, "column": 15 }, "end": { - "line": 28, + "line": 29, "column": 24 } } @@ -11643,16 +11683,16 @@ "binop": null, "updateContext": null }, - "start": 825, - "end": 826, + "start": 835, + "end": 836, "loc": { "start": { - "line": 28, - "column": 25 + "line": 29, + "column": 24 }, "end": { - "line": 28, - "column": 26 + "line": 29, + "column": 25 } } }, @@ -11671,15 +11711,15 @@ "updateContext": null }, "value": "if", - "start": 831, - "end": 833, + "start": 841, + "end": 843, "loc": { "start": { - "line": 29, + "line": 30, "column": 4 }, "end": { - "line": 29, + "line": 30, "column": 6 } } @@ -11696,15 +11736,15 @@ "postfix": false, "binop": null }, - "start": 834, - "end": 835, + "start": 844, + "end": 845, "loc": { "start": { - "line": 29, + "line": 30, "column": 7 }, "end": { - "line": 29, + "line": 30, "column": 8 } } @@ -11722,16 +11762,16 @@ "binop": null }, "value": "base", - "start": 836, - "end": 840, + "start": 845, + "end": 849, "loc": { "start": { - "line": 29, - "column": 9 + "line": 30, + "column": 8 }, "end": { - "line": 29, - "column": 13 + "line": 30, + "column": 12 } } }, @@ -11749,16 +11789,16 @@ "updateContext": null }, "value": "===", - "start": 841, - "end": 844, + "start": 850, + "end": 853, "loc": { "start": { - "line": 29, - "column": 14 + "line": 30, + "column": 13 }, "end": { - "line": 29, - "column": 17 + "line": 30, + "column": 16 } } }, @@ -11775,16 +11815,16 @@ "binop": null }, "value": "undefined", - "start": 845, - "end": 854, + "start": 854, + "end": 863, "loc": { "start": { - "line": 29, - "column": 18 + "line": 30, + "column": 17 }, "end": { - "line": 29, - "column": 27 + "line": 30, + "column": 26 } } }, @@ -11800,16 +11840,16 @@ "postfix": false, "binop": null }, - "start": 855, - "end": 856, + "start": 863, + "end": 864, "loc": { "start": { - "line": 29, - "column": 28 + "line": 30, + "column": 26 }, "end": { - "line": 29, - "column": 29 + "line": 30, + "column": 27 } } }, @@ -11826,16 +11866,16 @@ "binop": null }, "value": "base", - "start": 857, - "end": 861, + "start": 865, + "end": 869, "loc": { "start": { - "line": 29, - "column": 30 + "line": 30, + "column": 28 }, "end": { - "line": 29, - "column": 34 + "line": 30, + "column": 32 } } }, @@ -11853,16 +11893,16 @@ "updateContext": null }, "value": "=", - "start": 862, - "end": 863, + "start": 870, + "end": 871, "loc": { "start": { - "line": 29, - "column": 35 + "line": 30, + "column": 33 }, "end": { - "line": 29, - "column": 36 + "line": 30, + "column": 34 } } }, @@ -11879,16 +11919,16 @@ "binop": null }, "value": "DEFAULT_DISPLAY_BASE", - "start": 864, - "end": 884, + "start": 872, + "end": 892, "loc": { "start": { - "line": 29, - "column": 37 + "line": 30, + "column": 35 }, "end": { - "line": 29, - "column": 57 + "line": 30, + "column": 55 } } }, @@ -11905,16 +11945,16 @@ "binop": null, "updateContext": null }, - "start": 885, - "end": 886, + "start": 892, + "end": 893, "loc": { "start": { - "line": 29, - "column": 58 + "line": 30, + "column": 55 }, "end": { - "line": 29, - "column": 59 + "line": 30, + "column": 56 } } }, @@ -11933,15 +11973,15 @@ "updateContext": null }, "value": "return", - "start": 891, - "end": 897, + "start": 898, + "end": 904, "loc": { "start": { - "line": 30, + "line": 31, "column": 4 }, "end": { - "line": 30, + "line": 31, "column": 10 } } @@ -11961,15 +12001,15 @@ "updateContext": null }, "value": "this", - "start": 898, - "end": 902, + "start": 905, + "end": 909, "loc": { "start": { - "line": 30, + "line": 31, "column": 11 }, "end": { - "line": 30, + "line": 31, "column": 15 } } @@ -11987,15 +12027,15 @@ "binop": null, "updateContext": null }, - "start": 902, - "end": 903, + "start": 909, + "end": 910, "loc": { "start": { - "line": 30, + "line": 31, "column": 15 }, "end": { - "line": 30, + "line": 31, "column": 16 } } @@ -12013,15 +12053,15 @@ "binop": null }, "value": "from_string", - "start": 903, - "end": 914, + "start": 910, + "end": 921, "loc": { "start": { - "line": 30, + "line": 31, "column": 16 }, "end": { - "line": 30, + "line": 31, "column": 27 } } @@ -12038,15 +12078,15 @@ "postfix": false, "binop": null }, - "start": 914, - "end": 915, + "start": 921, + "end": 922, "loc": { "start": { - "line": 30, + "line": 31, "column": 27 }, "end": { - "line": 30, + "line": 31, "column": 28 } } @@ -12064,16 +12104,16 @@ "binop": null }, "value": "object", - "start": 916, - "end": 922, + "start": 922, + "end": 928, "loc": { "start": { - "line": 30, - "column": 29 + "line": 31, + "column": 28 }, "end": { - "line": 30, - "column": 35 + "line": 31, + "column": 34 } } }, @@ -12090,16 +12130,16 @@ "binop": null, "updateContext": null }, - "start": 923, - "end": 924, + "start": 928, + "end": 929, "loc": { "start": { - "line": 30, - "column": 36 + "line": 31, + "column": 34 }, "end": { - "line": 30, - "column": 37 + "line": 31, + "column": 35 } } }, @@ -12116,16 +12156,16 @@ "binop": null }, "value": "base", - "start": 925, - "end": 929, + "start": 930, + "end": 934, "loc": { "start": { - "line": 30, - "column": 38 + "line": 31, + "column": 36 }, "end": { - "line": 30, - "column": 42 + "line": 31, + "column": 40 } } }, @@ -12142,16 +12182,16 @@ "binop": null, "updateContext": null }, - "start": 930, - "end": 931, + "start": 934, + "end": 935, "loc": { "start": { - "line": 30, - "column": 43 + "line": 31, + "column": 40 }, "end": { - "line": 30, - "column": 44 + "line": 31, + "column": 41 } } }, @@ -12168,16 +12208,16 @@ "binop": null }, "value": "is_negative", - "start": 932, - "end": 943, + "start": 936, + "end": 947, "loc": { "start": { - "line": 30, - "column": 45 + "line": 31, + "column": 42 }, "end": { - "line": 30, - "column": 56 + "line": 31, + "column": 53 } } }, @@ -12193,16 +12233,16 @@ "postfix": false, "binop": null }, - "start": 944, - "end": 945, + "start": 947, + "end": 948, "loc": { "start": { - "line": 30, - "column": 57 + "line": 31, + "column": 53 }, "end": { - "line": 30, - "column": 58 + "line": 31, + "column": 54 } } }, @@ -12219,16 +12259,16 @@ "binop": null, "updateContext": null }, - "start": 946, - "end": 947, + "start": 948, + "end": 949, "loc": { "start": { - "line": 30, - "column": 59 + "line": 31, + "column": 54 }, "end": { - "line": 30, - "column": 60 + "line": 31, + "column": 55 } } }, @@ -12247,15 +12287,15 @@ "updateContext": null }, "value": "case", - "start": 952, - "end": 956, + "start": 954, + "end": 958, "loc": { "start": { - "line": 32, + "line": 33, "column": 3 }, "end": { - "line": 32, + "line": 33, "column": 7 } } @@ -12273,15 +12313,15 @@ "binop": null }, "value": "Array", - "start": 957, - "end": 962, + "start": 959, + "end": 964, "loc": { "start": { - "line": 32, + "line": 33, "column": 8 }, "end": { - "line": 32, + "line": 33, "column": 13 } } @@ -12299,15 +12339,15 @@ "binop": null, "updateContext": null }, - "start": 962, - "end": 963, + "start": 964, + "end": 965, "loc": { "start": { - "line": 32, + "line": 33, "column": 13 }, "end": { - "line": 32, + "line": 33, "column": 14 } } @@ -12325,15 +12365,15 @@ "binop": null }, "value": "prototype", - "start": 963, - "end": 972, + "start": 965, + "end": 974, "loc": { "start": { - "line": 32, + "line": 33, "column": 14 }, "end": { - "line": 32, + "line": 33, "column": 23 } } @@ -12351,16 +12391,16 @@ "binop": null, "updateContext": null }, - "start": 973, - "end": 974, + "start": 974, + "end": 975, "loc": { "start": { - "line": 32, - "column": 24 + "line": 33, + "column": 23 }, "end": { - "line": 32, - "column": 25 + "line": 33, + "column": 24 } } }, @@ -12379,15 +12419,15 @@ "updateContext": null }, "value": "if", - "start": 979, - "end": 981, + "start": 980, + "end": 982, "loc": { "start": { - "line": 33, + "line": 34, "column": 4 }, "end": { - "line": 33, + "line": 34, "column": 6 } } @@ -12404,15 +12444,15 @@ "postfix": false, "binop": null }, - "start": 982, - "end": 983, + "start": 983, + "end": 984, "loc": { "start": { - "line": 33, + "line": 34, "column": 7 }, "end": { - "line": 33, + "line": 34, "column": 8 } } @@ -12434,12 +12474,12 @@ "end": 988, "loc": { "start": { - "line": 33, - "column": 9 + "line": 34, + "column": 8 }, "end": { - "line": 33, - "column": 13 + "line": 34, + "column": 12 } } }, @@ -12461,12 +12501,12 @@ "end": 992, "loc": { "start": { - "line": 33, - "column": 14 + "line": 34, + "column": 13 }, "end": { - "line": 33, - "column": 17 + "line": 34, + "column": 16 } } }, @@ -12487,12 +12527,12 @@ "end": 1002, "loc": { "start": { - "line": 33, - "column": 18 + "line": 34, + "column": 17 }, "end": { - "line": 33, - "column": 27 + "line": 34, + "column": 26 } } }, @@ -12508,16 +12548,16 @@ "postfix": false, "binop": null }, - "start": 1003, - "end": 1004, + "start": 1002, + "end": 1003, "loc": { "start": { - "line": 33, - "column": 28 + "line": 34, + "column": 26 }, "end": { - "line": 33, - "column": 29 + "line": 34, + "column": 27 } } }, @@ -12534,16 +12574,16 @@ "binop": null }, "value": "base", - "start": 1005, - "end": 1009, + "start": 1004, + "end": 1008, "loc": { "start": { - "line": 33, - "column": 30 + "line": 34, + "column": 28 }, "end": { - "line": 33, - "column": 34 + "line": 34, + "column": 32 } } }, @@ -12561,16 +12601,16 @@ "updateContext": null }, "value": "=", - "start": 1010, - "end": 1011, + "start": 1009, + "end": 1010, "loc": { "start": { - "line": 33, - "column": 35 + "line": 34, + "column": 33 }, "end": { - "line": 33, - "column": 36 + "line": 34, + "column": 34 } } }, @@ -12589,16 +12629,16 @@ "updateContext": null }, "value": "this", - "start": 1012, - "end": 1016, + "start": 1011, + "end": 1015, "loc": { "start": { - "line": 33, - "column": 37 + "line": 34, + "column": 35 }, "end": { - "line": 33, - "column": 41 + "line": 34, + "column": 39 } } }, @@ -12615,16 +12655,16 @@ "binop": null, "updateContext": null }, - "start": 1016, - "end": 1017, + "start": 1015, + "end": 1016, "loc": { "start": { - "line": 33, - "column": 41 + "line": 34, + "column": 39 }, "end": { - "line": 33, - "column": 42 + "line": 34, + "column": 40 } } }, @@ -12640,17 +12680,17 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 1017, + "value": "_base", + "start": 1016, "end": 1021, "loc": { "start": { - "line": 33, - "column": 42 + "line": 34, + "column": 40 }, "end": { - "line": 33, - "column": 46 + "line": 34, + "column": 45 } } }, @@ -12667,16 +12707,16 @@ "binop": null, "updateContext": null }, - "start": 1022, - "end": 1023, + "start": 1021, + "end": 1022, "loc": { "start": { - "line": 33, - "column": 47 + "line": 34, + "column": 45 }, "end": { - "line": 33, - "column": 48 + "line": 34, + "column": 46 } } }, @@ -12695,15 +12735,15 @@ "updateContext": null }, "value": "return", - "start": 1028, - "end": 1034, + "start": 1027, + "end": 1033, "loc": { "start": { - "line": 34, + "line": 35, "column": 4 }, "end": { - "line": 34, + "line": 35, "column": 10 } } @@ -12723,15 +12763,15 @@ "updateContext": null }, "value": "this", - "start": 1035, - "end": 1039, + "start": 1034, + "end": 1038, "loc": { "start": { - "line": 34, + "line": 35, "column": 11 }, "end": { - "line": 34, + "line": 35, "column": 15 } } @@ -12749,15 +12789,15 @@ "binop": null, "updateContext": null }, - "start": 1039, - "end": 1040, + "start": 1038, + "end": 1039, "loc": { "start": { - "line": 34, + "line": 35, "column": 15 }, "end": { - "line": 34, + "line": 35, "column": 16 } } @@ -12775,15 +12815,15 @@ "binop": null }, "value": "from_digits", - "start": 1040, - "end": 1051, + "start": 1039, + "end": 1050, "loc": { "start": { - "line": 34, + "line": 35, "column": 16 }, "end": { - "line": 34, + "line": 35, "column": 27 } } @@ -12800,15 +12840,15 @@ "postfix": false, "binop": null }, - "start": 1051, - "end": 1052, + "start": 1050, + "end": 1051, "loc": { "start": { - "line": 34, + "line": 35, "column": 27 }, "end": { - "line": 34, + "line": 35, "column": 28 } } @@ -12826,16 +12866,16 @@ "binop": null }, "value": "object", - "start": 1053, - "end": 1059, + "start": 1051, + "end": 1057, "loc": { "start": { - "line": 34, - "column": 29 + "line": 35, + "column": 28 }, "end": { - "line": 34, - "column": 35 + "line": 35, + "column": 34 } } }, @@ -12852,16 +12892,16 @@ "binop": null, "updateContext": null }, - "start": 1060, - "end": 1061, + "start": 1057, + "end": 1058, "loc": { "start": { - "line": 34, - "column": 36 + "line": 35, + "column": 34 }, "end": { - "line": 34, - "column": 37 + "line": 35, + "column": 35 } } }, @@ -12878,16 +12918,16 @@ "binop": null }, "value": "base", - "start": 1062, - "end": 1066, + "start": 1059, + "end": 1063, "loc": { "start": { - "line": 34, - "column": 38 + "line": 35, + "column": 36 }, "end": { - "line": 34, - "column": 42 + "line": 35, + "column": 40 } } }, @@ -12904,16 +12944,16 @@ "binop": null, "updateContext": null }, - "start": 1067, - "end": 1068, + "start": 1063, + "end": 1064, "loc": { "start": { - "line": 34, - "column": 43 + "line": 35, + "column": 40 }, "end": { - "line": 34, - "column": 44 + "line": 35, + "column": 41 } } }, @@ -12930,16 +12970,16 @@ "binop": null }, "value": "is_negative", - "start": 1069, - "end": 1080, + "start": 1065, + "end": 1076, "loc": { "start": { - "line": 34, - "column": 45 + "line": 35, + "column": 42 }, "end": { - "line": 34, - "column": 56 + "line": 35, + "column": 53 } } }, @@ -12955,16 +12995,16 @@ "postfix": false, "binop": null }, - "start": 1081, - "end": 1082, + "start": 1076, + "end": 1077, "loc": { "start": { - "line": 34, - "column": 57 + "line": 35, + "column": 53 }, "end": { - "line": 34, - "column": 58 + "line": 35, + "column": 54 } } }, @@ -12981,16 +13021,16 @@ "binop": null, "updateContext": null }, - "start": 1083, - "end": 1084, + "start": 1077, + "end": 1078, "loc": { "start": { - "line": 34, - "column": 59 + "line": 35, + "column": 54 }, "end": { - "line": 34, - "column": 60 + "line": 35, + "column": 55 } } }, @@ -13009,15 +13049,15 @@ "updateContext": null }, "value": "case", - "start": 1089, - "end": 1093, + "start": 1083, + "end": 1087, "loc": { "start": { - "line": 36, + "line": 37, "column": 3 }, "end": { - "line": 36, + "line": 37, "column": 7 } } @@ -13035,15 +13075,15 @@ "binop": null }, "value": "Boolean", - "start": 1094, - "end": 1101, + "start": 1088, + "end": 1095, "loc": { "start": { - "line": 36, + "line": 37, "column": 8 }, "end": { - "line": 36, + "line": 37, "column": 15 } } @@ -13061,15 +13101,15 @@ "binop": null, "updateContext": null }, - "start": 1101, - "end": 1102, + "start": 1095, + "end": 1096, "loc": { "start": { - "line": 36, + "line": 37, "column": 15 }, "end": { - "line": 36, + "line": 37, "column": 16 } } @@ -13087,15 +13127,15 @@ "binop": null }, "value": "prototype", - "start": 1102, - "end": 1111, + "start": 1096, + "end": 1105, "loc": { "start": { - "line": 36, + "line": 37, "column": 16 }, "end": { - "line": 36, + "line": 37, "column": 25 } } @@ -13113,16 +13153,16 @@ "binop": null, "updateContext": null }, - "start": 1112, - "end": 1113, + "start": 1105, + "end": 1106, "loc": { "start": { - "line": 36, - "column": 26 + "line": 37, + "column": 25 }, "end": { - "line": 36, - "column": 27 + "line": 37, + "column": 26 } } }, @@ -13141,15 +13181,15 @@ "updateContext": null }, "value": "if", - "start": 1118, - "end": 1120, + "start": 1111, + "end": 1113, "loc": { "start": { - "line": 37, + "line": 38, "column": 4 }, "end": { - "line": 37, + "line": 38, "column": 6 } } @@ -13166,15 +13206,15 @@ "postfix": false, "binop": null }, - "start": 1121, - "end": 1122, + "start": 1114, + "end": 1115, "loc": { "start": { - "line": 37, + "line": 38, "column": 7 }, "end": { - "line": 37, + "line": 38, "column": 8 } } @@ -13192,16 +13232,16 @@ "binop": null }, "value": "base", - "start": 1123, - "end": 1127, + "start": 1115, + "end": 1119, "loc": { "start": { - "line": 37, - "column": 9 + "line": 38, + "column": 8 }, "end": { - "line": 37, - "column": 13 + "line": 38, + "column": 12 } } }, @@ -13219,16 +13259,16 @@ "updateContext": null }, "value": "!==", - "start": 1128, - "end": 1131, + "start": 1120, + "end": 1123, "loc": { "start": { - "line": 37, - "column": 14 + "line": 38, + "column": 13 }, "end": { - "line": 37, - "column": 17 + "line": 38, + "column": 16 } } }, @@ -13245,16 +13285,16 @@ "binop": null }, "value": "undefined", - "start": 1132, - "end": 1141, + "start": 1124, + "end": 1133, "loc": { "start": { - "line": 37, - "column": 18 + "line": 38, + "column": 17 }, "end": { - "line": 37, - "column": 27 + "line": 38, + "column": 26 } } }, @@ -13270,16 +13310,16 @@ "postfix": false, "binop": null }, - "start": 1142, - "end": 1143, + "start": 1133, + "end": 1134, "loc": { "start": { - "line": 37, - "column": 28 + "line": 38, + "column": 26 }, "end": { - "line": 37, - "column": 29 + "line": 38, + "column": 27 } } }, @@ -13298,16 +13338,16 @@ "updateContext": null }, "value": "throw", - "start": 1144, - "end": 1149, + "start": 1140, + "end": 1145, "loc": { "start": { - "line": 37, - "column": 30 + "line": 39, + "column": 5 }, "end": { - "line": 37, - "column": 35 + "line": 39, + "column": 10 } } }, @@ -13326,16 +13366,16 @@ "updateContext": null }, "value": "new", - "start": 1150, - "end": 1153, + "start": 1146, + "end": 1149, "loc": { "start": { - "line": 37, - "column": 36 + "line": 39, + "column": 11 }, "end": { - "line": 37, - "column": 39 + "line": 39, + "column": 14 } } }, @@ -13352,16 +13392,16 @@ "binop": null }, "value": "ValueError", - "start": 1154, - "end": 1164, + "start": 1150, + "end": 1160, "loc": { "start": { - "line": 37, - "column": 40 + "line": 39, + "column": 15 }, "end": { - "line": 37, - "column": 50 + "line": 39, + "column": 25 } } }, @@ -13377,16 +13417,16 @@ "postfix": false, "binop": null }, - "start": 1164, - "end": 1165, + "start": 1160, + "end": 1161, "loc": { "start": { - "line": 37, - "column": 50 + "line": 39, + "column": 25 }, "end": { - "line": 37, - "column": 51 + "line": 39, + "column": 26 } } }, @@ -13404,16 +13444,42 @@ "updateContext": null }, "value": "IntegerRing#from: using the base parameter does not make sense when passing a Boolean.", - "start": 1165, - "end": 1253, + "start": 1168, + "end": 1256, "loc": { "start": { - "line": 37, - "column": 51 + "line": 40, + "column": 6 }, "end": { - "line": 37, - "column": 139 + "line": 40, + "column": 94 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1256, + "end": 1257, + "loc": { + "start": { + "line": 40, + "column": 94 + }, + "end": { + "line": 40, + "column": 95 } } }, @@ -13429,16 +13495,16 @@ "postfix": false, "binop": null }, - "start": 1253, - "end": 1254, + "start": 1263, + "end": 1264, "loc": { "start": { - "line": 37, - "column": 139 + "line": 41, + "column": 5 }, "end": { - "line": 37, - "column": 140 + "line": 41, + "column": 6 } } }, @@ -13455,16 +13521,16 @@ "binop": null, "updateContext": null }, - "start": 1255, - "end": 1256, + "start": 1264, + "end": 1265, "loc": { "start": { - "line": 37, - "column": 141 + "line": 41, + "column": 6 }, "end": { - "line": 37, - "column": 142 + "line": 41, + "column": 7 } } }, @@ -13483,15 +13549,15 @@ "updateContext": null }, "value": "return", - "start": 1261, - "end": 1267, + "start": 1270, + "end": 1276, "loc": { "start": { - "line": 38, + "line": 42, "column": 4 }, "end": { - "line": 38, + "line": 42, "column": 10 } } @@ -13511,15 +13577,15 @@ "updateContext": null }, "value": "this", - "start": 1268, - "end": 1272, + "start": 1277, + "end": 1281, "loc": { "start": { - "line": 38, + "line": 42, "column": 11 }, "end": { - "line": 38, + "line": 42, "column": 15 } } @@ -13537,15 +13603,15 @@ "binop": null, "updateContext": null }, - "start": 1272, - "end": 1273, + "start": 1281, + "end": 1282, "loc": { "start": { - "line": 38, + "line": 42, "column": 15 }, "end": { - "line": 38, + "line": 42, "column": 16 } } @@ -13563,15 +13629,15 @@ "binop": null }, "value": "from_number", - "start": 1273, - "end": 1284, + "start": 1282, + "end": 1293, "loc": { "start": { - "line": 38, + "line": 42, "column": 16 }, "end": { - "line": 38, + "line": 42, "column": 27 } } @@ -13588,43 +13654,67 @@ "postfix": false, "binop": null }, - "start": 1284, - "end": 1285, + "start": 1293, + "end": 1294, "loc": { "start": { - "line": 38, + "line": 42, "column": 27 }, "end": { - "line": 38, + "line": 42, "column": 28 } } }, { "type": { - "label": "+/-", + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Number", + "start": 1294, + "end": 1300, + "loc": { + "start": { + "line": 42, + "column": 28 + }, + "end": { + "line": 42, + "column": 34 + } + } + }, + { + "type": { + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, - "updateContext": null + "binop": null }, - "value": "+", - "start": 1286, - "end": 1287, + "start": 1300, + "end": 1301, "loc": { "start": { - "line": 38, - "column": 29 + "line": 42, + "column": 34 }, "end": { - "line": 38, - "column": 30 + "line": 42, + "column": 35 } } }, @@ -13641,16 +13731,41 @@ "binop": null }, "value": "object", - "start": 1287, - "end": 1293, + "start": 1301, + "end": 1307, "loc": { "start": { - "line": 38, - "column": 30 + "line": 42, + "column": 35 }, "end": { - "line": 38, - "column": 36 + "line": 42, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1307, + "end": 1308, + "loc": { + "start": { + "line": 42, + "column": 41 + }, + "end": { + "line": 42, + "column": 42 } } }, @@ -13667,16 +13782,16 @@ "binop": null, "updateContext": null }, - "start": 1294, - "end": 1295, + "start": 1308, + "end": 1309, "loc": { "start": { - "line": 38, - "column": 37 + "line": 42, + "column": 42 }, "end": { - "line": 38, - "column": 38 + "line": 42, + "column": 43 } } }, @@ -13693,16 +13808,16 @@ "binop": null }, "value": "is_negative", - "start": 1296, - "end": 1307, + "start": 1310, + "end": 1321, "loc": { "start": { - "line": 38, - "column": 39 + "line": 42, + "column": 44 }, "end": { - "line": 38, - "column": 50 + "line": 42, + "column": 55 } } }, @@ -13718,16 +13833,16 @@ "postfix": false, "binop": null }, - "start": 1308, - "end": 1309, + "start": 1321, + "end": 1322, "loc": { "start": { - "line": 38, - "column": 51 + "line": 42, + "column": 55 }, "end": { - "line": 38, - "column": 52 + "line": 42, + "column": 56 } } }, @@ -13744,16 +13859,16 @@ "binop": null, "updateContext": null }, - "start": 1310, - "end": 1311, + "start": 1322, + "end": 1323, "loc": { "start": { - "line": 38, - "column": 53 + "line": 42, + "column": 56 }, "end": { - "line": 38, - "column": 54 + "line": 42, + "column": 57 } } }, @@ -13772,15 +13887,15 @@ "updateContext": null }, "value": "case", - "start": 1316, - "end": 1320, + "start": 1328, + "end": 1332, "loc": { "start": { - "line": 40, + "line": 44, "column": 3 }, "end": { - "line": 40, + "line": 44, "column": 7 } } @@ -13798,15 +13913,15 @@ "binop": null }, "value": "Integer", - "start": 1321, - "end": 1328, + "start": 1333, + "end": 1340, "loc": { "start": { - "line": 40, + "line": 44, "column": 8 }, "end": { - "line": 40, + "line": 44, "column": 15 } } @@ -13824,15 +13939,15 @@ "binop": null, "updateContext": null }, - "start": 1328, - "end": 1329, + "start": 1340, + "end": 1341, "loc": { "start": { - "line": 40, + "line": 44, "column": 15 }, "end": { - "line": 40, + "line": 44, "column": 16 } } @@ -13850,15 +13965,15 @@ "binop": null }, "value": "prototype", - "start": 1329, - "end": 1338, + "start": 1341, + "end": 1350, "loc": { "start": { - "line": 40, + "line": 44, "column": 16 }, "end": { - "line": 40, + "line": 44, "column": 25 } } @@ -13876,16 +13991,16 @@ "binop": null, "updateContext": null }, - "start": 1339, - "end": 1340, + "start": 1350, + "end": 1351, "loc": { "start": { - "line": 40, - "column": 26 + "line": 44, + "column": 25 }, "end": { - "line": 40, - "column": 27 + "line": 44, + "column": 26 } } }, @@ -13904,15 +14019,15 @@ "updateContext": null }, "value": "if", - "start": 1345, - "end": 1347, + "start": 1356, + "end": 1358, "loc": { "start": { - "line": 41, + "line": 45, "column": 4 }, "end": { - "line": 41, + "line": 45, "column": 6 } } @@ -13929,15 +14044,15 @@ "postfix": false, "binop": null }, - "start": 1348, - "end": 1349, + "start": 1359, + "end": 1360, "loc": { "start": { - "line": 41, + "line": 45, "column": 7 }, "end": { - "line": 41, + "line": 45, "column": 8 } } @@ -13955,16 +14070,16 @@ "binop": null }, "value": "base", - "start": 1350, - "end": 1354, + "start": 1360, + "end": 1364, "loc": { "start": { - "line": 41, - "column": 9 + "line": 45, + "column": 8 }, "end": { - "line": 41, - "column": 13 + "line": 45, + "column": 12 } } }, @@ -13982,16 +14097,16 @@ "updateContext": null }, "value": "!==", - "start": 1355, - "end": 1358, + "start": 1365, + "end": 1368, "loc": { "start": { - "line": 41, - "column": 14 + "line": 45, + "column": 13 }, "end": { - "line": 41, - "column": 17 + "line": 45, + "column": 16 } } }, @@ -14008,16 +14123,16 @@ "binop": null }, "value": "undefined", - "start": 1359, - "end": 1368, + "start": 1369, + "end": 1378, "loc": { "start": { - "line": 41, - "column": 18 + "line": 45, + "column": 17 }, "end": { - "line": 41, - "column": 27 + "line": 45, + "column": 26 } } }, @@ -14033,16 +14148,16 @@ "postfix": false, "binop": null }, - "start": 1369, - "end": 1370, + "start": 1378, + "end": 1379, "loc": { "start": { - "line": 41, - "column": 28 + "line": 45, + "column": 26 }, "end": { - "line": 41, - "column": 29 + "line": 45, + "column": 27 } } }, @@ -14061,16 +14176,16 @@ "updateContext": null }, "value": "throw", - "start": 1371, - "end": 1376, + "start": 1385, + "end": 1390, "loc": { "start": { - "line": 41, - "column": 30 + "line": 46, + "column": 5 }, "end": { - "line": 41, - "column": 35 + "line": 46, + "column": 10 } } }, @@ -14089,16 +14204,16 @@ "updateContext": null }, "value": "new", - "start": 1377, - "end": 1380, + "start": 1391, + "end": 1394, "loc": { "start": { - "line": 41, - "column": 36 + "line": 46, + "column": 11 }, "end": { - "line": 41, - "column": 39 + "line": 46, + "column": 14 } } }, @@ -14115,16 +14230,16 @@ "binop": null }, "value": "ValueError", - "start": 1381, - "end": 1391, + "start": 1395, + "end": 1405, "loc": { "start": { - "line": 41, - "column": 40 + "line": 46, + "column": 15 }, "end": { - "line": 41, - "column": 50 + "line": 46, + "column": 25 } } }, @@ -14140,16 +14255,16 @@ "postfix": false, "binop": null }, - "start": 1391, - "end": 1392, + "start": 1405, + "end": 1406, "loc": { "start": { - "line": 41, - "column": 50 + "line": 46, + "column": 25 }, "end": { - "line": 41, - "column": 51 + "line": 46, + "column": 26 } } }, @@ -14167,16 +14282,42 @@ "updateContext": null }, "value": "IntegerRing#from: using the base parameter does not make sense when passing an Integer.", - "start": 1392, - "end": 1481, + "start": 1413, + "end": 1502, "loc": { "start": { - "line": 41, - "column": 51 + "line": 47, + "column": 6 }, "end": { - "line": 41, - "column": 140 + "line": 47, + "column": 95 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1502, + "end": 1503, + "loc": { + "start": { + "line": 47, + "column": 95 + }, + "end": { + "line": 47, + "column": 96 } } }, @@ -14192,16 +14333,16 @@ "postfix": false, "binop": null }, - "start": 1481, - "end": 1482, + "start": 1509, + "end": 1510, "loc": { "start": { - "line": 41, - "column": 140 + "line": 48, + "column": 5 }, "end": { - "line": 41, - "column": 141 + "line": 48, + "column": 6 } } }, @@ -14218,16 +14359,16 @@ "binop": null, "updateContext": null }, - "start": 1483, - "end": 1484, + "start": 1510, + "end": 1511, "loc": { "start": { - "line": 41, - "column": 142 + "line": 48, + "column": 6 }, "end": { - "line": 41, - "column": 143 + "line": 48, + "column": 7 } } }, @@ -14246,15 +14387,15 @@ "updateContext": null }, "value": "return", - "start": 1489, - "end": 1495, + "start": 1516, + "end": 1522, "loc": { "start": { - "line": 42, + "line": 49, "column": 4 }, "end": { - "line": 42, + "line": 49, "column": 10 } } @@ -14274,15 +14415,15 @@ "updateContext": null }, "value": "new", - "start": 1496, - "end": 1499, + "start": 1523, + "end": 1526, "loc": { "start": { - "line": 42, + "line": 49, "column": 11 }, "end": { - "line": 42, + "line": 49, "column": 14 } } @@ -14300,15 +14441,15 @@ "binop": null }, "value": "Integer", - "start": 1500, - "end": 1507, + "start": 1527, + "end": 1534, "loc": { "start": { - "line": 42, + "line": 49, "column": 15 }, "end": { - "line": 42, + "line": 49, "column": 22 } } @@ -14325,15 +14466,15 @@ "postfix": false, "binop": null }, - "start": 1507, - "end": 1508, + "start": 1534, + "end": 1535, "loc": { "start": { - "line": 42, + "line": 49, "column": 22 }, "end": { - "line": 42, + "line": 49, "column": 23 } } @@ -14351,16 +14492,16 @@ "binop": null }, "value": "object", - "start": 1509, - "end": 1515, + "start": 1541, + "end": 1547, "loc": { "start": { - "line": 42, - "column": 24 + "line": 50, + "column": 5 }, "end": { - "line": 42, - "column": 30 + "line": 50, + "column": 11 } } }, @@ -14377,16 +14518,16 @@ "binop": null, "updateContext": null }, - "start": 1515, - "end": 1516, + "start": 1547, + "end": 1548, "loc": { "start": { - "line": 42, - "column": 30 + "line": 50, + "column": 11 }, "end": { - "line": 42, - "column": 31 + "line": 50, + "column": 12 } } }, @@ -14402,17 +14543,17 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 1516, - "end": 1520, + "value": "_base", + "start": 1548, + "end": 1553, "loc": { "start": { - "line": 42, - "column": 31 + "line": 50, + "column": 12 }, "end": { - "line": 42, - "column": 35 + "line": 50, + "column": 17 } } }, @@ -14429,16 +14570,16 @@ "binop": null, "updateContext": null }, - "start": 1521, - "end": 1522, + "start": 1553, + "end": 1554, "loc": { "start": { - "line": 42, - "column": 36 + "line": 50, + "column": 17 }, "end": { - "line": 42, - "column": 37 + "line": 50, + "column": 18 } } }, @@ -14455,16 +14596,16 @@ "binop": null }, "value": "object", - "start": 1523, - "end": 1529, + "start": 1560, + "end": 1566, "loc": { "start": { - "line": 42, - "column": 38 + "line": 51, + "column": 5 }, "end": { - "line": 42, - "column": 44 + "line": 51, + "column": 11 } } }, @@ -14481,16 +14622,16 @@ "binop": null, "updateContext": null }, - "start": 1529, - "end": 1530, + "start": 1566, + "end": 1567, "loc": { "start": { - "line": 42, - "column": 44 + "line": 51, + "column": 11 }, "end": { - "line": 42, - "column": 45 + "line": 51, + "column": 12 } } }, @@ -14506,17 +14647,17 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 1530, - "end": 1541, + "value": "_is_negative", + "start": 1567, + "end": 1579, "loc": { "start": { - "line": 42, - "column": 45 + "line": 51, + "column": 12 }, "end": { - "line": 42, - "column": 56 + "line": 51, + "column": 24 } } }, @@ -14534,16 +14675,16 @@ "updateContext": null }, "value": "^", - "start": 1542, - "end": 1543, + "start": 1580, + "end": 1581, "loc": { "start": { - "line": 42, - "column": 57 + "line": 51, + "column": 25 }, "end": { - "line": 42, - "column": 58 + "line": 51, + "column": 26 } } }, @@ -14560,16 +14701,16 @@ "binop": null }, "value": "is_negative", - "start": 1544, - "end": 1555, + "start": 1582, + "end": 1593, "loc": { "start": { - "line": 42, - "column": 59 + "line": 51, + "column": 27 }, "end": { - "line": 42, - "column": 70 + "line": 51, + "column": 38 } } }, @@ -14586,16 +14727,16 @@ "binop": null, "updateContext": null }, - "start": 1556, - "end": 1557, + "start": 1593, + "end": 1594, "loc": { "start": { - "line": 42, - "column": 71 + "line": 51, + "column": 38 }, "end": { - "line": 42, - "column": 72 + "line": 51, + "column": 39 } } }, @@ -14612,16 +14753,16 @@ "binop": null }, "value": "object", - "start": 1558, - "end": 1564, + "start": 1600, + "end": 1606, "loc": { "start": { - "line": 42, - "column": 73 + "line": 52, + "column": 5 }, "end": { - "line": 42, - "column": 79 + "line": 52, + "column": 11 } } }, @@ -14638,16 +14779,16 @@ "binop": null, "updateContext": null }, - "start": 1564, - "end": 1565, + "start": 1606, + "end": 1607, "loc": { "start": { - "line": 42, - "column": 79 + "line": 52, + "column": 11 }, "end": { - "line": 42, - "column": 80 + "line": 52, + "column": 12 } } }, @@ -14663,17 +14804,43 @@ "postfix": false, "binop": null }, - "value": "limbs", - "start": 1565, - "end": 1570, + "value": "_limbs", + "start": 1607, + "end": 1613, "loc": { "start": { - "line": 42, - "column": 80 + "line": 52, + "column": 12 }, "end": { - "line": 42, - "column": 85 + "line": 52, + "column": 18 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1613, + "end": 1614, + "loc": { + "start": { + "line": 52, + "column": 18 + }, + "end": { + "line": 52, + "column": 19 } } }, @@ -14689,16 +14856,16 @@ "postfix": false, "binop": null }, - "start": 1571, - "end": 1572, + "start": 1619, + "end": 1620, "loc": { "start": { - "line": 42, - "column": 86 + "line": 53, + "column": 4 }, "end": { - "line": 42, - "column": 87 + "line": 53, + "column": 5 } } }, @@ -14715,16 +14882,16 @@ "binop": null, "updateContext": null }, - "start": 1573, - "end": 1574, + "start": 1620, + "end": 1621, "loc": { "start": { - "line": 42, - "column": 88 + "line": 53, + "column": 5 }, "end": { - "line": 42, - "column": 89 + "line": 53, + "column": 6 } } }, @@ -14743,15 +14910,15 @@ "updateContext": null }, "value": "default", - "start": 1579, - "end": 1586, + "start": 1626, + "end": 1633, "loc": { "start": { - "line": 44, + "line": 55, "column": 3 }, "end": { - "line": 44, + "line": 55, "column": 10 } } @@ -14769,15 +14936,15 @@ "binop": null, "updateContext": null }, - "start": 1586, - "end": 1587, + "start": 1633, + "end": 1634, "loc": { "start": { - "line": 44, + "line": 55, "column": 10 }, "end": { - "line": 44, + "line": 55, "column": 11 } } @@ -14797,15 +14964,15 @@ "updateContext": null }, "value": "throw", - "start": 1592, - "end": 1597, + "start": 1639, + "end": 1644, "loc": { "start": { - "line": 45, + "line": 56, "column": 4 }, "end": { - "line": 45, + "line": 56, "column": 9 } } @@ -14825,15 +14992,15 @@ "updateContext": null }, "value": "new", - "start": 1598, - "end": 1601, + "start": 1645, + "end": 1648, "loc": { "start": { - "line": 45, + "line": 56, "column": 10 }, "end": { - "line": 45, + "line": 56, "column": 13 } } @@ -14851,15 +15018,15 @@ "binop": null }, "value": "TypeError", - "start": 1602, - "end": 1611, + "start": 1649, + "end": 1658, "loc": { "start": { - "line": 45, + "line": 56, "column": 14 }, "end": { - "line": 45, + "line": 56, "column": 23 } } @@ -14876,15 +15043,15 @@ "postfix": false, "binop": null }, - "start": 1611, - "end": 1612, + "start": 1658, + "end": 1659, "loc": { "start": { - "line": 45, + "line": 56, "column": 23 }, "end": { - "line": 45, + "line": 56, "column": 24 } } @@ -14901,16 +15068,16 @@ "postfix": false, "binop": null }, - "start": 1612, - "end": 1613, + "start": 1665, + "end": 1666, "loc": { "start": { - "line": 45, - "column": 24 + "line": 57, + "column": 5 }, "end": { - "line": 45, - "column": 25 + "line": 57, + "column": 6 } } }, @@ -14928,16 +15095,16 @@ "updateContext": null }, "value": "IntegerRing#from cannot handle ", - "start": 1613, - "end": 1644, + "start": 1666, + "end": 1697, "loc": { "start": { - "line": 45, - "column": 25 + "line": 57, + "column": 6 }, "end": { - "line": 45, - "column": 56 + "line": 57, + "column": 37 } } }, @@ -14953,16 +15120,16 @@ "postfix": false, "binop": null }, - "start": 1644, - "end": 1646, + "start": 1697, + "end": 1699, "loc": { "start": { - "line": 45, - "column": 56 + "line": 57, + "column": 37 }, "end": { - "line": 45, - "column": 58 + "line": 57, + "column": 39 } } }, @@ -14979,16 +15146,16 @@ "binop": null }, "value": "object", - "start": 1646, - "end": 1652, + "start": 1699, + "end": 1705, "loc": { "start": { - "line": 45, - "column": 58 + "line": 57, + "column": 39 }, "end": { - "line": 45, - "column": 64 + "line": 57, + "column": 45 } } }, @@ -15005,16 +15172,16 @@ "binop": null, "updateContext": null }, - "start": 1652, - "end": 1653, + "start": 1705, + "end": 1706, "loc": { "start": { - "line": 45, - "column": 64 + "line": 57, + "column": 45 }, "end": { - "line": 45, - "column": 65 + "line": 57, + "column": 46 } } }, @@ -15031,16 +15198,16 @@ "binop": null }, "value": "constructor", - "start": 1653, - "end": 1664, + "start": 1706, + "end": 1717, "loc": { "start": { - "line": 45, - "column": 65 + "line": 57, + "column": 46 }, "end": { - "line": 45, - "column": 76 + "line": 57, + "column": 57 } } }, @@ -15057,16 +15224,16 @@ "binop": null, "updateContext": null }, - "start": 1664, - "end": 1665, + "start": 1717, + "end": 1718, "loc": { "start": { - "line": 45, - "column": 76 + "line": 57, + "column": 57 }, "end": { - "line": 45, - "column": 77 + "line": 57, + "column": 58 } } }, @@ -15083,16 +15250,16 @@ "binop": null }, "value": "prototype", - "start": 1665, - "end": 1674, + "start": 1718, + "end": 1727, "loc": { "start": { - "line": 45, - "column": 77 + "line": 57, + "column": 58 }, "end": { - "line": 45, - "column": 86 + "line": 57, + "column": 67 } } }, @@ -15108,16 +15275,16 @@ "postfix": false, "binop": null }, - "start": 1674, - "end": 1675, + "start": 1727, + "end": 1728, "loc": { "start": { - "line": 45, - "column": 86 + "line": 57, + "column": 67 }, "end": { - "line": 45, - "column": 87 + "line": 57, + "column": 68 } } }, @@ -15135,16 +15302,16 @@ "updateContext": null }, "value": "", - "start": 1675, - "end": 1675, + "start": 1728, + "end": 1728, "loc": { "start": { - "line": 45, - "column": 87 + "line": 57, + "column": 68 }, "end": { - "line": 45, - "column": 87 + "line": 57, + "column": 68 } } }, @@ -15160,16 +15327,42 @@ "postfix": false, "binop": null }, - "start": 1675, - "end": 1676, + "start": 1728, + "end": 1729, "loc": { "start": { - "line": 45, - "column": 87 + "line": 57, + "column": 68 }, "end": { - "line": 45, - "column": 88 + "line": 57, + "column": 69 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1729, + "end": 1730, + "loc": { + "start": { + "line": 57, + "column": 69 + }, + "end": { + "line": 57, + "column": 70 } } }, @@ -15185,16 +15378,16 @@ "postfix": false, "binop": null }, - "start": 1676, - "end": 1677, + "start": 1735, + "end": 1736, "loc": { "start": { - "line": 45, - "column": 88 + "line": 58, + "column": 4 }, "end": { - "line": 45, - "column": 89 + "line": 58, + "column": 5 } } }, @@ -15211,16 +15404,16 @@ "binop": null, "updateContext": null }, - "start": 1678, - "end": 1679, + "start": 1736, + "end": 1737, "loc": { "start": { - "line": 45, - "column": 90 + "line": 58, + "column": 5 }, "end": { - "line": 45, - "column": 91 + "line": 58, + "column": 6 } } }, @@ -15236,15 +15429,15 @@ "postfix": false, "binop": null }, - "start": 1683, - "end": 1684, + "start": 1740, + "end": 1741, "loc": { "start": { - "line": 47, + "line": 59, "column": 2 }, "end": { - "line": 47, + "line": 59, "column": 3 } } @@ -15261,15 +15454,15 @@ "postfix": false, "binop": null }, - "start": 1687, - "end": 1688, + "start": 1743, + "end": 1744, "loc": { "start": { - "line": 49, + "line": 60, "column": 1 }, "end": { - "line": 49, + "line": 60, "column": 2 } } @@ -15287,15 +15480,15 @@ "binop": null }, "value": "from_number", - "start": 1691, - "end": 1702, + "start": 1747, + "end": 1758, "loc": { "start": { - "line": 51, + "line": 62, "column": 1 }, "end": { - "line": 51, + "line": 62, "column": 12 } } @@ -15312,16 +15505,16 @@ "postfix": false, "binop": null }, - "start": 1703, - "end": 1704, + "start": 1758, + "end": 1759, "loc": { "start": { - "line": 51, - "column": 13 + "line": 62, + "column": 12 }, "end": { - "line": 51, - "column": 14 + "line": 62, + "column": 13 } } }, @@ -15338,16 +15531,16 @@ "binop": null }, "value": "number", - "start": 1705, - "end": 1711, + "start": 1759, + "end": 1765, "loc": { "start": { - "line": 51, - "column": 15 + "line": 62, + "column": 13 }, "end": { - "line": 51, - "column": 21 + "line": 62, + "column": 19 } } }, @@ -15364,16 +15557,16 @@ "binop": null, "updateContext": null }, - "start": 1712, - "end": 1713, + "start": 1765, + "end": 1766, "loc": { "start": { - "line": 51, - "column": 22 + "line": 62, + "column": 19 }, "end": { - "line": 51, - "column": 23 + "line": 62, + "column": 20 } } }, @@ -15390,16 +15583,16 @@ "binop": null }, "value": "is_negative", - "start": 1714, - "end": 1725, + "start": 1767, + "end": 1778, "loc": { "start": { - "line": 51, - "column": 24 + "line": 62, + "column": 21 }, "end": { - "line": 51, - "column": 35 + "line": 62, + "column": 32 } } }, @@ -15417,16 +15610,16 @@ "updateContext": null }, "value": "=", - "start": 1726, - "end": 1727, + "start": 1779, + "end": 1780, "loc": { "start": { - "line": 51, - "column": 36 + "line": 62, + "column": 33 }, "end": { - "line": 51, - "column": 37 + "line": 62, + "column": 34 } } }, @@ -15444,16 +15637,16 @@ "updateContext": null }, "value": 0, - "start": 1728, - "end": 1729, + "start": 1781, + "end": 1782, "loc": { "start": { - "line": 51, - "column": 38 + "line": 62, + "column": 35 }, "end": { - "line": 51, - "column": 39 + "line": 62, + "column": 36 } } }, @@ -15469,16 +15662,16 @@ "postfix": false, "binop": null }, - "start": 1730, - "end": 1731, + "start": 1782, + "end": 1783, "loc": { "start": { - "line": 51, - "column": 40 + "line": 62, + "column": 36 }, "end": { - "line": 51, - "column": 41 + "line": 62, + "column": 37 } } }, @@ -15494,16 +15687,16 @@ "postfix": false, "binop": null }, - "start": 1732, - "end": 1733, + "start": 1784, + "end": 1785, "loc": { "start": { - "line": 51, - "column": 42 + "line": 62, + "column": 38 }, "end": { - "line": 51, - "column": 43 + "line": 62, + "column": 39 } } }, @@ -15522,15 +15715,15 @@ "updateContext": null }, "value": "const", - "start": 1737, - "end": 1742, + "start": 1788, + "end": 1793, "loc": { "start": { - "line": 53, + "line": 63, "column": 2 }, "end": { - "line": 53, + "line": 63, "column": 7 } } @@ -15548,15 +15741,15 @@ "binop": null }, "value": "dirty", - "start": 1743, - "end": 1748, + "start": 1794, + "end": 1799, "loc": { "start": { - "line": 53, + "line": 63, "column": 8 }, "end": { - "line": 53, + "line": 63, "column": 13 } } @@ -15575,15 +15768,15 @@ "updateContext": null }, "value": "=", - "start": 1749, - "end": 1750, + "start": 1800, + "end": 1801, "loc": { "start": { - "line": 53, + "line": 63, "column": 14 }, "end": { - "line": 53, + "line": 63, "column": 15 } } @@ -15601,15 +15794,15 @@ "binop": null }, "value": "_from_number", - "start": 1751, - "end": 1763, + "start": 1802, + "end": 1814, "loc": { "start": { - "line": 53, + "line": 63, "column": 16 }, "end": { - "line": 53, + "line": 63, "column": 28 } } @@ -15626,15 +15819,15 @@ "postfix": false, "binop": null }, - "start": 1763, - "end": 1764, + "start": 1814, + "end": 1815, "loc": { "start": { - "line": 53, + "line": 63, "column": 28 }, "end": { - "line": 53, + "line": 63, "column": 29 } } @@ -15652,15 +15845,15 @@ "binop": null }, "value": "number", - "start": 1764, - "end": 1770, + "start": 1815, + "end": 1821, "loc": { "start": { - "line": 53, + "line": 63, "column": 29 }, "end": { - "line": 53, + "line": 63, "column": 35 } } @@ -15677,15 +15870,15 @@ "postfix": false, "binop": null }, - "start": 1770, - "end": 1771, + "start": 1821, + "end": 1822, "loc": { "start": { - "line": 53, + "line": 63, "column": 35 }, "end": { - "line": 53, + "line": 63, "column": 36 } } @@ -15703,16 +15896,16 @@ "binop": null, "updateContext": null }, - "start": 1772, - "end": 1773, + "start": 1822, + "end": 1823, "loc": { "start": { - "line": 53, - "column": 37 + "line": 63, + "column": 36 }, "end": { - "line": 53, - "column": 38 + "line": 63, + "column": 37 } } }, @@ -15731,15 +15924,15 @@ "updateContext": null }, "value": "const", - "start": 1777, - "end": 1782, + "start": 1827, + "end": 1832, "loc": { "start": { - "line": 55, + "line": 65, "column": 2 }, "end": { - "line": 55, + "line": 65, "column": 7 } } @@ -15757,15 +15950,15 @@ "binop": null }, "value": "limbs", - "start": 1783, - "end": 1788, + "start": 1833, + "end": 1838, "loc": { "start": { - "line": 55, + "line": 65, "column": 8 }, "end": { - "line": 55, + "line": 65, "column": 13 } } @@ -15784,15 +15977,15 @@ "updateContext": null }, "value": "=", - "start": 1789, - "end": 1790, + "start": 1839, + "end": 1840, "loc": { "start": { - "line": 55, + "line": 65, "column": 14 }, "end": { - "line": 55, + "line": 65, "column": 15 } } @@ -15810,15 +16003,15 @@ "binop": null }, "value": "dirty", - "start": 1791, - "end": 1796, + "start": 1841, + "end": 1846, "loc": { "start": { - "line": 55, + "line": 65, "column": 16 }, "end": { - "line": 55, + "line": 65, "column": 21 } } @@ -15836,15 +16029,15 @@ "binop": null, "updateContext": null }, - "start": 1796, - "end": 1797, + "start": 1846, + "end": 1847, "loc": { "start": { - "line": 55, + "line": 65, "column": 21 }, "end": { - "line": 55, + "line": 65, "column": 22 } } @@ -15862,15 +16055,15 @@ "binop": null }, "value": "_limbs_in_base", - "start": 1797, - "end": 1811, + "start": 1847, + "end": 1861, "loc": { "start": { - "line": 55, + "line": 65, "column": 22 }, "end": { - "line": 55, + "line": 65, "column": 36 } } @@ -15887,15 +16080,15 @@ "postfix": false, "binop": null }, - "start": 1811, - "end": 1812, + "start": 1861, + "end": 1862, "loc": { "start": { - "line": 55, + "line": 65, "column": 36 }, "end": { - "line": 55, + "line": 65, "column": 37 } } @@ -15915,15 +16108,15 @@ "updateContext": null }, "value": "this", - "start": 1812, - "end": 1816, + "start": 1862, + "end": 1866, "loc": { "start": { - "line": 55, + "line": 65, "column": 37 }, "end": { - "line": 55, + "line": 65, "column": 41 } } @@ -15941,15 +16134,15 @@ "binop": null, "updateContext": null }, - "start": 1816, - "end": 1817, + "start": 1866, + "end": 1867, "loc": { "start": { - "line": 55, + "line": 65, "column": 41 }, "end": { - "line": 55, + "line": 65, "column": 42 } } @@ -15966,17 +16159,17 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 1817, - "end": 1821, + "value": "_base", + "start": 1867, + "end": 1872, "loc": { "start": { - "line": 55, + "line": 65, "column": 42 }, "end": { - "line": 55, - "column": 46 + "line": 65, + "column": 47 } } }, @@ -15992,16 +16185,16 @@ "postfix": false, "binop": null }, - "start": 1821, - "end": 1822, + "start": 1872, + "end": 1873, "loc": { "start": { - "line": 55, - "column": 46 + "line": 65, + "column": 47 }, "end": { - "line": 55, - "column": 47 + "line": 65, + "column": 48 } } }, @@ -16018,15 +16211,15 @@ "binop": null, "updateContext": null }, - "start": 1823, - "end": 1824, + "start": 1873, + "end": 1874, "loc": { "start": { - "line": 55, + "line": 65, "column": 48 }, "end": { - "line": 55, + "line": 65, "column": 49 } } @@ -16046,15 +16239,15 @@ "updateContext": null }, "value": "return", - "start": 1828, - "end": 1834, + "start": 1878, + "end": 1884, "loc": { "start": { - "line": 57, + "line": 67, "column": 2 }, "end": { - "line": 57, + "line": 67, "column": 8 } } @@ -16074,15 +16267,15 @@ "updateContext": null }, "value": "new", - "start": 1835, - "end": 1838, + "start": 1885, + "end": 1888, "loc": { "start": { - "line": 57, + "line": 67, "column": 9 }, "end": { - "line": 57, + "line": 67, "column": 12 } } @@ -16100,15 +16293,15 @@ "binop": null }, "value": "Integer", - "start": 1839, - "end": 1846, + "start": 1889, + "end": 1896, "loc": { "start": { - "line": 57, + "line": 67, "column": 13 }, "end": { - "line": 57, + "line": 67, "column": 20 } } @@ -16125,15 +16318,15 @@ "postfix": false, "binop": null }, - "start": 1846, - "end": 1847, + "start": 1896, + "end": 1897, "loc": { "start": { - "line": 57, + "line": 67, "column": 20 }, "end": { - "line": 57, + "line": 67, "column": 21 } } @@ -16153,16 +16346,16 @@ "updateContext": null }, "value": "this", - "start": 1848, - "end": 1852, + "start": 1897, + "end": 1901, "loc": { "start": { - "line": 57, - "column": 22 + "line": 67, + "column": 21 }, "end": { - "line": 57, - "column": 26 + "line": 67, + "column": 25 } } }, @@ -16179,16 +16372,16 @@ "binop": null, "updateContext": null }, - "start": 1852, - "end": 1853, + "start": 1901, + "end": 1902, "loc": { "start": { - "line": 57, - "column": 26 + "line": 67, + "column": 25 }, "end": { - "line": 57, - "column": 27 + "line": 67, + "column": 26 } } }, @@ -16204,16 +16397,16 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 1853, - "end": 1857, + "value": "_base", + "start": 1902, + "end": 1907, "loc": { "start": { - "line": 57, - "column": 27 + "line": 67, + "column": 26 }, "end": { - "line": 57, + "line": 67, "column": 31 } } @@ -16231,16 +16424,16 @@ "binop": null, "updateContext": null }, - "start": 1858, - "end": 1859, + "start": 1907, + "end": 1908, "loc": { "start": { - "line": 57, - "column": 32 + "line": 67, + "column": 31 }, "end": { - "line": 57, - "column": 33 + "line": 67, + "column": 32 } } }, @@ -16257,16 +16450,16 @@ "binop": null }, "value": "is_negative", - "start": 1860, - "end": 1871, + "start": 1909, + "end": 1920, "loc": { "start": { - "line": 57, - "column": 34 + "line": 67, + "column": 33 }, "end": { - "line": 57, - "column": 45 + "line": 67, + "column": 44 } } }, @@ -16284,16 +16477,16 @@ "updateContext": null }, "value": "^", - "start": 1872, - "end": 1873, + "start": 1921, + "end": 1922, "loc": { "start": { - "line": 57, - "column": 46 + "line": 67, + "column": 45 }, "end": { - "line": 57, - "column": 47 + "line": 67, + "column": 46 } } }, @@ -16310,16 +16503,16 @@ "binop": null }, "value": "dirty", - "start": 1874, - "end": 1879, + "start": 1923, + "end": 1928, "loc": { "start": { - "line": 57, - "column": 48 + "line": 67, + "column": 47 }, "end": { - "line": 57, - "column": 53 + "line": 67, + "column": 52 } } }, @@ -16336,16 +16529,16 @@ "binop": null, "updateContext": null }, - "start": 1879, - "end": 1880, + "start": 1928, + "end": 1929, "loc": { "start": { - "line": 57, - "column": 53 + "line": 67, + "column": 52 }, "end": { - "line": 57, - "column": 54 + "line": 67, + "column": 53 } } }, @@ -16361,16 +16554,16 @@ "postfix": false, "binop": null }, - "value": "is_negative", - "start": 1880, - "end": 1891, + "value": "_is_negative", + "start": 1929, + "end": 1941, "loc": { "start": { - "line": 57, - "column": 54 + "line": 67, + "column": 53 }, "end": { - "line": 57, + "line": 67, "column": 65 } } @@ -16388,16 +16581,16 @@ "binop": null, "updateContext": null }, - "start": 1892, - "end": 1893, + "start": 1941, + "end": 1942, "loc": { "start": { - "line": 57, - "column": 66 + "line": 67, + "column": 65 }, "end": { - "line": 57, - "column": 67 + "line": 67, + "column": 66 } } }, @@ -16414,16 +16607,16 @@ "binop": null }, "value": "limbs", - "start": 1894, - "end": 1899, + "start": 1943, + "end": 1948, "loc": { "start": { - "line": 57, - "column": 68 + "line": 67, + "column": 67 }, "end": { - "line": 57, - "column": 73 + "line": 67, + "column": 72 } } }, @@ -16439,16 +16632,16 @@ "postfix": false, "binop": null }, - "start": 1900, - "end": 1901, + "start": 1948, + "end": 1949, "loc": { "start": { - "line": 57, - "column": 74 + "line": 67, + "column": 72 }, "end": { - "line": 57, - "column": 75 + "line": 67, + "column": 73 } } }, @@ -16465,16 +16658,16 @@ "binop": null, "updateContext": null }, - "start": 1902, - "end": 1903, + "start": 1949, + "end": 1950, "loc": { "start": { - "line": 57, - "column": 76 + "line": 67, + "column": 73 }, "end": { - "line": 57, - "column": 77 + "line": 67, + "column": 74 } } }, @@ -16490,15 +16683,15 @@ "postfix": false, "binop": null }, - "start": 1906, - "end": 1907, + "start": 1952, + "end": 1953, "loc": { "start": { - "line": 59, + "line": 68, "column": 1 }, "end": { - "line": 59, + "line": 68, "column": 2 } } @@ -16516,15 +16709,15 @@ "binop": null }, "value": "from_string", - "start": 1910, - "end": 1921, + "start": 1956, + "end": 1967, "loc": { "start": { - "line": 61, + "line": 70, "column": 1 }, "end": { - "line": 61, + "line": 70, "column": 12 } } @@ -16541,16 +16734,16 @@ "postfix": false, "binop": null }, - "start": 1922, - "end": 1923, + "start": 1967, + "end": 1968, "loc": { "start": { - "line": 61, - "column": 13 + "line": 70, + "column": 12 }, "end": { - "line": 61, - "column": 14 + "line": 70, + "column": 13 } } }, @@ -16567,16 +16760,16 @@ "binop": null }, "value": "string", - "start": 1924, - "end": 1930, + "start": 1968, + "end": 1974, "loc": { "start": { - "line": 61, - "column": 15 + "line": 70, + "column": 13 }, "end": { - "line": 61, - "column": 21 + "line": 70, + "column": 19 } } }, @@ -16593,16 +16786,16 @@ "binop": null, "updateContext": null }, - "start": 1931, - "end": 1932, + "start": 1974, + "end": 1975, "loc": { "start": { - "line": 61, - "column": 22 + "line": 70, + "column": 19 }, "end": { - "line": 61, - "column": 23 + "line": 70, + "column": 20 } } }, @@ -16619,16 +16812,16 @@ "binop": null }, "value": "base", - "start": 1933, - "end": 1937, + "start": 1976, + "end": 1980, "loc": { "start": { - "line": 61, - "column": 24 + "line": 70, + "column": 21 }, "end": { - "line": 61, - "column": 28 + "line": 70, + "column": 25 } } }, @@ -16646,16 +16839,16 @@ "updateContext": null }, "value": "=", - "start": 1938, - "end": 1939, + "start": 1981, + "end": 1982, "loc": { "start": { - "line": 61, - "column": 29 + "line": 70, + "column": 26 }, "end": { - "line": 61, - "column": 30 + "line": 70, + "column": 27 } } }, @@ -16673,16 +16866,16 @@ "updateContext": null }, "value": 10, - "start": 1940, - "end": 1942, + "start": 1983, + "end": 1985, "loc": { "start": { - "line": 61, - "column": 31 + "line": 70, + "column": 28 }, "end": { - "line": 61, - "column": 33 + "line": 70, + "column": 30 } } }, @@ -16699,16 +16892,16 @@ "binop": null, "updateContext": null }, - "start": 1943, - "end": 1944, + "start": 1985, + "end": 1986, "loc": { "start": { - "line": 61, - "column": 34 + "line": 70, + "column": 30 }, "end": { - "line": 61, - "column": 35 + "line": 70, + "column": 31 } } }, @@ -16725,16 +16918,16 @@ "binop": null }, "value": "is_negative", - "start": 1945, - "end": 1956, + "start": 1987, + "end": 1998, "loc": { "start": { - "line": 61, - "column": 36 + "line": 70, + "column": 32 }, "end": { - "line": 61, - "column": 47 + "line": 70, + "column": 43 } } }, @@ -16752,16 +16945,16 @@ "updateContext": null }, "value": "=", - "start": 1957, - "end": 1958, + "start": 1999, + "end": 2000, "loc": { "start": { - "line": 61, - "column": 48 + "line": 70, + "column": 44 }, "end": { - "line": 61, - "column": 49 + "line": 70, + "column": 45 } } }, @@ -16779,16 +16972,16 @@ "updateContext": null }, "value": 0, - "start": 1959, - "end": 1960, + "start": 2001, + "end": 2002, "loc": { "start": { - "line": 61, - "column": 50 + "line": 70, + "column": 46 }, "end": { - "line": 61, - "column": 51 + "line": 70, + "column": 47 } } }, @@ -16804,16 +16997,16 @@ "postfix": false, "binop": null }, - "start": 1962, - "end": 1963, + "start": 2002, + "end": 2003, "loc": { "start": { - "line": 61, - "column": 53 + "line": 70, + "column": 47 }, "end": { - "line": 61, - "column": 54 + "line": 70, + "column": 48 } } }, @@ -16829,16 +17022,16 @@ "postfix": false, "binop": null }, - "start": 1964, - "end": 1965, + "start": 2004, + "end": 2005, "loc": { "start": { - "line": 61, - "column": 55 + "line": 70, + "column": 49 }, "end": { - "line": 61, - "column": 56 + "line": 70, + "column": 50 } } }, @@ -16857,15 +17050,15 @@ "updateContext": null }, "value": "if", - "start": 1969, - "end": 1971, + "start": 2008, + "end": 2010, "loc": { "start": { - "line": 63, + "line": 71, "column": 2 }, "end": { - "line": 63, + "line": 71, "column": 4 } } @@ -16882,15 +17075,15 @@ "postfix": false, "binop": null }, - "start": 1972, - "end": 1973, + "start": 2011, + "end": 2012, "loc": { "start": { - "line": 63, + "line": 71, "column": 5 }, "end": { - "line": 63, + "line": 71, "column": 6 } } @@ -16908,16 +17101,16 @@ "binop": null }, "value": "string", - "start": 1974, - "end": 1980, + "start": 2012, + "end": 2018, "loc": { "start": { - "line": 63, - "column": 7 + "line": 71, + "column": 6 }, "end": { - "line": 63, - "column": 13 + "line": 71, + "column": 12 } } }, @@ -16934,16 +17127,16 @@ "binop": null, "updateContext": null }, - "start": 1980, - "end": 1981, + "start": 2018, + "end": 2019, "loc": { "start": { - "line": 63, - "column": 13 + "line": 71, + "column": 12 }, "end": { - "line": 63, - "column": 14 + "line": 71, + "column": 13 } } }, @@ -16960,16 +17153,16 @@ "binop": null }, "value": "length", - "start": 1981, - "end": 1987, + "start": 2019, + "end": 2025, "loc": { "start": { - "line": 63, - "column": 14 + "line": 71, + "column": 13 }, "end": { - "line": 63, - "column": 20 + "line": 71, + "column": 19 } } }, @@ -16987,16 +17180,16 @@ "updateContext": null }, "value": "===", - "start": 1988, - "end": 1991, + "start": 2026, + "end": 2029, "loc": { "start": { - "line": 63, - "column": 21 + "line": 71, + "column": 20 }, "end": { - "line": 63, - "column": 24 + "line": 71, + "column": 23 } } }, @@ -17014,16 +17207,16 @@ "updateContext": null }, "value": 0, - "start": 1992, - "end": 1993, + "start": 2030, + "end": 2031, "loc": { "start": { - "line": 63, - "column": 25 + "line": 71, + "column": 24 }, "end": { - "line": 63, - "column": 26 + "line": 71, + "column": 25 } } }, @@ -17039,16 +17232,16 @@ "postfix": false, "binop": null }, - "start": 1994, - "end": 1995, + "start": 2031, + "end": 2032, "loc": { "start": { - "line": 63, - "column": 27 + "line": 71, + "column": 25 }, "end": { - "line": 63, - "column": 28 + "line": 71, + "column": 26 } } }, @@ -17067,16 +17260,16 @@ "updateContext": null }, "value": "throw", - "start": 1996, - "end": 2001, + "start": 2036, + "end": 2041, "loc": { "start": { - "line": 63, - "column": 29 + "line": 72, + "column": 3 }, "end": { - "line": 63, - "column": 34 + "line": 72, + "column": 8 } } }, @@ -17095,16 +17288,16 @@ "updateContext": null }, "value": "new", - "start": 2002, - "end": 2005, + "start": 2042, + "end": 2045, "loc": { "start": { - "line": 63, - "column": 35 + "line": 72, + "column": 9 }, "end": { - "line": 63, - "column": 38 + "line": 72, + "column": 12 } } }, @@ -17121,16 +17314,16 @@ "binop": null }, "value": "ValueError", - "start": 2006, - "end": 2016, + "start": 2046, + "end": 2056, "loc": { "start": { - "line": 63, - "column": 39 + "line": 72, + "column": 13 }, "end": { - "line": 63, - "column": 49 + "line": 72, + "column": 23 } } }, @@ -17146,16 +17339,16 @@ "postfix": false, "binop": null }, - "start": 2016, - "end": 2017, + "start": 2056, + "end": 2057, "loc": { "start": { - "line": 63, - "column": 49 + "line": 72, + "column": 23 }, "end": { - "line": 63, - "column": 50 + "line": 72, + "column": 24 } } }, @@ -17173,16 +17366,42 @@ "updateContext": null }, "value": "IntegerRing#from_string cannot parse empty string.", - "start": 2018, - "end": 2070, + "start": 2062, + "end": 2114, "loc": { "start": { - "line": 63, - "column": 51 + "line": 73, + "column": 4 }, "end": { - "line": 63, - "column": 103 + "line": 73, + "column": 56 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2114, + "end": 2115, + "loc": { + "start": { + "line": 73, + "column": 56 + }, + "end": { + "line": 73, + "column": 57 } } }, @@ -17198,16 +17417,16 @@ "postfix": false, "binop": null }, - "start": 2071, - "end": 2072, + "start": 2119, + "end": 2120, "loc": { "start": { - "line": 63, - "column": 104 + "line": 74, + "column": 3 }, "end": { - "line": 63, - "column": 105 + "line": 74, + "column": 4 } } }, @@ -17224,16 +17443,16 @@ "binop": null, "updateContext": null }, - "start": 2073, - "end": 2074, + "start": 2120, + "end": 2121, "loc": { "start": { - "line": 63, - "column": 106 + "line": 74, + "column": 4 }, "end": { - "line": 63, - "column": 107 + "line": 74, + "column": 5 } } }, @@ -17252,15 +17471,15 @@ "updateContext": null }, "value": "if", - "start": 2078, - "end": 2080, + "start": 2125, + "end": 2127, "loc": { "start": { - "line": 65, + "line": 76, "column": 2 }, "end": { - "line": 65, + "line": 76, "column": 4 } } @@ -17277,15 +17496,15 @@ "postfix": false, "binop": null }, - "start": 2081, - "end": 2082, + "start": 2128, + "end": 2129, "loc": { "start": { - "line": 65, + "line": 76, "column": 5 }, "end": { - "line": 65, + "line": 76, "column": 6 } } @@ -17303,16 +17522,16 @@ "binop": null }, "value": "string", - "start": 2083, - "end": 2089, + "start": 2129, + "end": 2135, "loc": { "start": { - "line": 65, - "column": 7 + "line": 76, + "column": 6 }, "end": { - "line": 65, - "column": 13 + "line": 76, + "column": 12 } } }, @@ -17329,16 +17548,16 @@ "binop": null, "updateContext": null }, - "start": 2089, - "end": 2090, + "start": 2135, + "end": 2136, "loc": { "start": { - "line": 65, - "column": 13 + "line": 76, + "column": 12 }, "end": { - "line": 65, - "column": 14 + "line": 76, + "column": 13 } } }, @@ -17356,16 +17575,16 @@ "updateContext": null }, "value": 0, - "start": 2090, - "end": 2091, + "start": 2136, + "end": 2137, "loc": { "start": { - "line": 65, - "column": 14 + "line": 76, + "column": 13 }, "end": { - "line": 65, - "column": 15 + "line": 76, + "column": 14 } } }, @@ -17382,16 +17601,16 @@ "binop": null, "updateContext": null }, - "start": 2091, - "end": 2092, + "start": 2137, + "end": 2138, "loc": { "start": { - "line": 65, - "column": 15 + "line": 76, + "column": 14 }, "end": { - "line": 65, - "column": 16 + "line": 76, + "column": 15 } } }, @@ -17409,16 +17628,16 @@ "updateContext": null }, "value": "===", - "start": 2093, - "end": 2096, + "start": 2139, + "end": 2142, "loc": { "start": { - "line": 65, - "column": 17 + "line": 76, + "column": 16 }, "end": { - "line": 65, - "column": 20 + "line": 76, + "column": 19 } } }, @@ -17436,16 +17655,16 @@ "updateContext": null }, "value": "-", - "start": 2097, - "end": 2100, + "start": 2143, + "end": 2146, "loc": { "start": { - "line": 65, - "column": 21 + "line": 76, + "column": 20 }, "end": { - "line": 65, - "column": 24 + "line": 76, + "column": 23 } } }, @@ -17461,16 +17680,16 @@ "postfix": false, "binop": null }, - "start": 2101, - "end": 2102, + "start": 2146, + "end": 2147, "loc": { "start": { - "line": 65, - "column": 25 + "line": 76, + "column": 23 }, "end": { - "line": 65, - "column": 26 + "line": 76, + "column": 24 } } }, @@ -17489,16 +17708,16 @@ "updateContext": null }, "value": "return", - "start": 2103, - "end": 2109, + "start": 2151, + "end": 2157, "loc": { "start": { - "line": 65, - "column": 27 + "line": 77, + "column": 3 }, "end": { - "line": 65, - "column": 33 + "line": 77, + "column": 9 } } }, @@ -17517,16 +17736,16 @@ "updateContext": null }, "value": "this", - "start": 2110, - "end": 2114, + "start": 2158, + "end": 2162, "loc": { "start": { - "line": 65, - "column": 34 + "line": 77, + "column": 10 }, "end": { - "line": 65, - "column": 38 + "line": 77, + "column": 14 } } }, @@ -17543,16 +17762,16 @@ "binop": null, "updateContext": null }, - "start": 2114, - "end": 2115, + "start": 2162, + "end": 2163, "loc": { "start": { - "line": 65, - "column": 38 + "line": 77, + "column": 14 }, "end": { - "line": 65, - "column": 39 + "line": 77, + "column": 15 } } }, @@ -17569,16 +17788,16 @@ "binop": null }, "value": "from_string", - "start": 2115, - "end": 2126, + "start": 2163, + "end": 2174, "loc": { "start": { - "line": 65, - "column": 39 + "line": 77, + "column": 15 }, "end": { - "line": 65, - "column": 50 + "line": 77, + "column": 26 } } }, @@ -17594,16 +17813,16 @@ "postfix": false, "binop": null }, - "start": 2126, - "end": 2127, + "start": 2174, + "end": 2175, "loc": { "start": { - "line": 65, - "column": 50 + "line": 77, + "column": 26 }, "end": { - "line": 65, - "column": 51 + "line": 77, + "column": 27 } } }, @@ -17620,16 +17839,16 @@ "binop": null }, "value": "string", - "start": 2128, - "end": 2134, + "start": 2175, + "end": 2181, "loc": { "start": { - "line": 65, - "column": 52 + "line": 77, + "column": 27 }, "end": { - "line": 65, - "column": 58 + "line": 77, + "column": 33 } } }, @@ -17646,16 +17865,16 @@ "binop": null, "updateContext": null }, - "start": 2134, - "end": 2135, + "start": 2181, + "end": 2182, "loc": { "start": { - "line": 65, - "column": 58 + "line": 77, + "column": 33 }, "end": { - "line": 65, - "column": 59 + "line": 77, + "column": 34 } } }, @@ -17672,16 +17891,16 @@ "binop": null }, "value": "slice", - "start": 2135, - "end": 2140, + "start": 2182, + "end": 2187, "loc": { "start": { - "line": 65, - "column": 59 + "line": 77, + "column": 34 }, "end": { - "line": 65, - "column": 64 + "line": 77, + "column": 39 } } }, @@ -17697,16 +17916,16 @@ "postfix": false, "binop": null }, - "start": 2140, - "end": 2141, + "start": 2187, + "end": 2188, "loc": { "start": { - "line": 65, - "column": 64 + "line": 77, + "column": 39 }, "end": { - "line": 65, - "column": 65 + "line": 77, + "column": 40 } } }, @@ -17724,16 +17943,16 @@ "updateContext": null }, "value": 1, - "start": 2141, - "end": 2142, + "start": 2188, + "end": 2189, "loc": { "start": { - "line": 65, - "column": 65 + "line": 77, + "column": 40 }, "end": { - "line": 65, - "column": 66 + "line": 77, + "column": 41 } } }, @@ -17749,16 +17968,16 @@ "postfix": false, "binop": null }, - "start": 2142, - "end": 2143, + "start": 2189, + "end": 2190, "loc": { "start": { - "line": 65, - "column": 66 + "line": 77, + "column": 41 }, "end": { - "line": 65, - "column": 67 + "line": 77, + "column": 42 } } }, @@ -17775,16 +17994,16 @@ "binop": null, "updateContext": null }, - "start": 2144, - "end": 2145, + "start": 2190, + "end": 2191, "loc": { "start": { - "line": 65, - "column": 68 + "line": 77, + "column": 42 }, "end": { - "line": 65, - "column": 69 + "line": 77, + "column": 43 } } }, @@ -17801,16 +18020,16 @@ "binop": null }, "value": "base", - "start": 2146, - "end": 2150, + "start": 2192, + "end": 2196, "loc": { "start": { - "line": 65, - "column": 70 + "line": 77, + "column": 44 }, "end": { - "line": 65, - "column": 74 + "line": 77, + "column": 48 } } }, @@ -17827,16 +18046,16 @@ "binop": null, "updateContext": null }, - "start": 2151, - "end": 2152, + "start": 2196, + "end": 2197, "loc": { "start": { - "line": 65, - "column": 75 + "line": 77, + "column": 48 }, "end": { - "line": 65, - "column": 76 + "line": 77, + "column": 49 } } }, @@ -17854,16 +18073,16 @@ "updateContext": null }, "value": "~", - "start": 2153, - "end": 2154, + "start": 2198, + "end": 2199, "loc": { "start": { - "line": 65, - "column": 77 + "line": 77, + "column": 50 }, "end": { - "line": 65, - "column": 78 + "line": 77, + "column": 51 } } }, @@ -17880,16 +18099,16 @@ "binop": null }, "value": "is_negative", - "start": 2154, - "end": 2165, + "start": 2199, + "end": 2210, "loc": { "start": { - "line": 65, - "column": 78 + "line": 77, + "column": 51 }, "end": { - "line": 65, - "column": 89 + "line": 77, + "column": 62 } } }, @@ -17905,16 +18124,16 @@ "postfix": false, "binop": null }, - "start": 2166, - "end": 2167, + "start": 2210, + "end": 2211, "loc": { "start": { - "line": 65, - "column": 90 + "line": 77, + "column": 62 }, "end": { - "line": 65, - "column": 91 + "line": 77, + "column": 63 } } }, @@ -17931,16 +18150,16 @@ "binop": null, "updateContext": null }, - "start": 2168, - "end": 2169, + "start": 2211, + "end": 2212, "loc": { "start": { - "line": 65, - "column": 92 + "line": 77, + "column": 63 }, "end": { - "line": 65, - "column": 93 + "line": 77, + "column": 64 } } }, @@ -17959,15 +18178,15 @@ "updateContext": null }, "value": "if", - "start": 2173, - "end": 2175, + "start": 2216, + "end": 2218, "loc": { "start": { - "line": 67, + "line": 79, "column": 2 }, "end": { - "line": 67, + "line": 79, "column": 4 } } @@ -17984,15 +18203,15 @@ "postfix": false, "binop": null }, - "start": 2176, - "end": 2177, + "start": 2219, + "end": 2220, "loc": { "start": { - "line": 67, + "line": 79, "column": 5 }, "end": { - "line": 67, + "line": 79, "column": 6 } } @@ -18010,16 +18229,16 @@ "binop": null }, "value": "string", - "start": 2178, - "end": 2184, + "start": 2220, + "end": 2226, "loc": { "start": { - "line": 67, - "column": 7 + "line": 79, + "column": 6 }, "end": { - "line": 67, - "column": 13 + "line": 79, + "column": 12 } } }, @@ -18036,16 +18255,16 @@ "binop": null, "updateContext": null }, - "start": 2184, - "end": 2185, + "start": 2226, + "end": 2227, "loc": { "start": { - "line": 67, - "column": 13 + "line": 79, + "column": 12 }, "end": { - "line": 67, - "column": 14 + "line": 79, + "column": 13 } } }, @@ -18063,16 +18282,16 @@ "updateContext": null }, "value": 0, - "start": 2185, - "end": 2186, + "start": 2227, + "end": 2228, "loc": { "start": { - "line": 67, - "column": 14 + "line": 79, + "column": 13 }, "end": { - "line": 67, - "column": 15 + "line": 79, + "column": 14 } } }, @@ -18089,16 +18308,16 @@ "binop": null, "updateContext": null }, - "start": 2186, - "end": 2187, + "start": 2228, + "end": 2229, "loc": { "start": { - "line": 67, - "column": 15 + "line": 79, + "column": 14 }, "end": { - "line": 67, - "column": 16 + "line": 79, + "column": 15 } } }, @@ -18116,16 +18335,16 @@ "updateContext": null }, "value": "===", - "start": 2188, - "end": 2191, + "start": 2230, + "end": 2233, "loc": { "start": { - "line": 67, - "column": 17 + "line": 79, + "column": 16 }, "end": { - "line": 67, - "column": 20 + "line": 79, + "column": 19 } } }, @@ -18143,16 +18362,16 @@ "updateContext": null }, "value": "+", - "start": 2192, - "end": 2195, + "start": 2234, + "end": 2237, "loc": { "start": { - "line": 67, - "column": 21 + "line": 79, + "column": 20 }, "end": { - "line": 67, - "column": 24 + "line": 79, + "column": 23 } } }, @@ -18168,16 +18387,16 @@ "postfix": false, "binop": null }, - "start": 2196, - "end": 2197, + "start": 2237, + "end": 2238, "loc": { "start": { - "line": 67, - "column": 25 + "line": 79, + "column": 23 }, "end": { - "line": 67, - "column": 26 + "line": 79, + "column": 24 } } }, @@ -18196,16 +18415,16 @@ "updateContext": null }, "value": "return", - "start": 2198, - "end": 2204, + "start": 2242, + "end": 2248, "loc": { "start": { - "line": 67, - "column": 27 + "line": 80, + "column": 3 }, "end": { - "line": 67, - "column": 33 + "line": 80, + "column": 9 } } }, @@ -18224,16 +18443,16 @@ "updateContext": null }, "value": "this", - "start": 2205, - "end": 2209, + "start": 2249, + "end": 2253, "loc": { "start": { - "line": 67, - "column": 34 + "line": 80, + "column": 10 }, "end": { - "line": 67, - "column": 38 + "line": 80, + "column": 14 } } }, @@ -18250,16 +18469,16 @@ "binop": null, "updateContext": null }, - "start": 2209, - "end": 2210, + "start": 2253, + "end": 2254, "loc": { "start": { - "line": 67, - "column": 38 + "line": 80, + "column": 14 }, "end": { - "line": 67, - "column": 39 + "line": 80, + "column": 15 } } }, @@ -18276,16 +18495,16 @@ "binop": null }, "value": "from_string", - "start": 2210, - "end": 2221, + "start": 2254, + "end": 2265, "loc": { "start": { - "line": 67, - "column": 39 + "line": 80, + "column": 15 }, "end": { - "line": 67, - "column": 50 + "line": 80, + "column": 26 } } }, @@ -18301,16 +18520,16 @@ "postfix": false, "binop": null }, - "start": 2221, - "end": 2222, + "start": 2265, + "end": 2266, "loc": { "start": { - "line": 67, - "column": 50 + "line": 80, + "column": 26 }, "end": { - "line": 67, - "column": 51 + "line": 80, + "column": 27 } } }, @@ -18327,16 +18546,16 @@ "binop": null }, "value": "string", - "start": 2223, - "end": 2229, + "start": 2266, + "end": 2272, "loc": { "start": { - "line": 67, - "column": 52 + "line": 80, + "column": 27 }, "end": { - "line": 67, - "column": 58 + "line": 80, + "column": 33 } } }, @@ -18353,16 +18572,16 @@ "binop": null, "updateContext": null }, - "start": 2229, - "end": 2230, + "start": 2272, + "end": 2273, "loc": { "start": { - "line": 67, - "column": 58 + "line": 80, + "column": 33 }, "end": { - "line": 67, - "column": 59 + "line": 80, + "column": 34 } } }, @@ -18379,16 +18598,16 @@ "binop": null }, "value": "slice", - "start": 2230, - "end": 2235, + "start": 2273, + "end": 2278, "loc": { "start": { - "line": 67, - "column": 59 + "line": 80, + "column": 34 }, "end": { - "line": 67, - "column": 64 + "line": 80, + "column": 39 } } }, @@ -18404,16 +18623,16 @@ "postfix": false, "binop": null }, - "start": 2235, - "end": 2236, + "start": 2278, + "end": 2279, "loc": { "start": { - "line": 67, - "column": 64 + "line": 80, + "column": 39 }, "end": { - "line": 67, - "column": 65 + "line": 80, + "column": 40 } } }, @@ -18431,16 +18650,16 @@ "updateContext": null }, "value": 1, - "start": 2236, - "end": 2237, + "start": 2279, + "end": 2280, "loc": { "start": { - "line": 67, - "column": 65 + "line": 80, + "column": 40 }, "end": { - "line": 67, - "column": 66 + "line": 80, + "column": 41 } } }, @@ -18456,16 +18675,16 @@ "postfix": false, "binop": null }, - "start": 2237, - "end": 2238, + "start": 2280, + "end": 2281, "loc": { "start": { - "line": 67, - "column": 66 + "line": 80, + "column": 41 }, "end": { - "line": 67, - "column": 67 + "line": 80, + "column": 42 } } }, @@ -18482,16 +18701,16 @@ "binop": null, "updateContext": null }, - "start": 2239, - "end": 2240, + "start": 2281, + "end": 2282, "loc": { "start": { - "line": 67, - "column": 68 + "line": 80, + "column": 42 }, "end": { - "line": 67, - "column": 69 + "line": 80, + "column": 43 } } }, @@ -18508,16 +18727,16 @@ "binop": null }, "value": "base", - "start": 2241, - "end": 2245, + "start": 2283, + "end": 2287, "loc": { "start": { - "line": 67, - "column": 70 + "line": 80, + "column": 44 }, "end": { - "line": 67, - "column": 74 + "line": 80, + "column": 48 } } }, @@ -18534,16 +18753,16 @@ "binop": null, "updateContext": null }, - "start": 2246, - "end": 2247, + "start": 2287, + "end": 2288, "loc": { "start": { - "line": 67, - "column": 75 + "line": 80, + "column": 48 }, "end": { - "line": 67, - "column": 76 + "line": 80, + "column": 49 } } }, @@ -18560,16 +18779,16 @@ "binop": null }, "value": "is_negative", - "start": 2248, - "end": 2259, + "start": 2289, + "end": 2300, "loc": { "start": { - "line": 67, - "column": 77 + "line": 80, + "column": 50 }, "end": { - "line": 67, - "column": 88 + "line": 80, + "column": 61 } } }, @@ -18585,16 +18804,16 @@ "postfix": false, "binop": null }, - "start": 2260, - "end": 2261, + "start": 2300, + "end": 2301, "loc": { "start": { - "line": 67, - "column": 89 + "line": 80, + "column": 61 }, "end": { - "line": 67, - "column": 90 + "line": 80, + "column": 62 } } }, @@ -18611,16 +18830,16 @@ "binop": null, "updateContext": null }, - "start": 2262, - "end": 2263, + "start": 2301, + "end": 2302, "loc": { "start": { - "line": 67, - "column": 91 + "line": 80, + "column": 62 }, "end": { - "line": 67, - "column": 92 + "line": 80, + "column": 63 } } }, @@ -18639,15 +18858,15 @@ "updateContext": null }, "value": "const", - "start": 2267, - "end": 2272, + "start": 2306, + "end": 2311, "loc": { "start": { - "line": 69, + "line": 82, "column": 2 }, "end": { - "line": 69, + "line": 82, "column": 7 } } @@ -18665,15 +18884,15 @@ "binop": null }, "value": "limbs", - "start": 2273, - "end": 2278, + "start": 2312, + "end": 2317, "loc": { "start": { - "line": 69, + "line": 82, "column": 8 }, "end": { - "line": 69, + "line": 82, "column": 13 } } @@ -18692,15 +18911,15 @@ "updateContext": null }, "value": "=", - "start": 2279, - "end": 2280, + "start": 2318, + "end": 2319, "loc": { "start": { - "line": 69, + "line": 82, "column": 14 }, "end": { - "line": 69, + "line": 82, "column": 15 } } @@ -18718,15 +18937,15 @@ "binop": null }, "value": "parse", - "start": 2281, - "end": 2286, + "start": 2320, + "end": 2325, "loc": { "start": { - "line": 69, + "line": 82, "column": 16 }, "end": { - "line": 69, + "line": 82, "column": 21 } } @@ -18743,15 +18962,15 @@ "postfix": false, "binop": null }, - "start": 2286, - "end": 2287, + "start": 2325, + "end": 2326, "loc": { "start": { - "line": 69, + "line": 82, "column": 21 }, "end": { - "line": 69, + "line": 82, "column": 22 } } @@ -18769,16 +18988,16 @@ "binop": null }, "value": "base", - "start": 2288, - "end": 2292, + "start": 2326, + "end": 2330, "loc": { "start": { - "line": 69, - "column": 23 + "line": 82, + "column": 22 }, "end": { - "line": 69, - "column": 27 + "line": 82, + "column": 26 } } }, @@ -18795,16 +19014,16 @@ "binop": null, "updateContext": null }, - "start": 2293, - "end": 2294, + "start": 2330, + "end": 2331, "loc": { "start": { - "line": 69, - "column": 28 + "line": 82, + "column": 26 }, "end": { - "line": 69, - "column": 29 + "line": 82, + "column": 27 } } }, @@ -18823,16 +19042,16 @@ "updateContext": null }, "value": "this", - "start": 2295, - "end": 2299, + "start": 2332, + "end": 2336, "loc": { "start": { - "line": 69, - "column": 30 + "line": 82, + "column": 28 }, "end": { - "line": 69, - "column": 34 + "line": 82, + "column": 32 } } }, @@ -18849,16 +19068,16 @@ "binop": null, "updateContext": null }, - "start": 2299, - "end": 2300, + "start": 2336, + "end": 2337, "loc": { "start": { - "line": 69, - "column": 34 + "line": 82, + "column": 32 }, "end": { - "line": 69, - "column": 35 + "line": 82, + "column": 33 } } }, @@ -18874,17 +19093,17 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 2300, - "end": 2304, + "value": "_base", + "start": 2337, + "end": 2342, "loc": { "start": { - "line": 69, - "column": 35 + "line": 82, + "column": 33 }, "end": { - "line": 69, - "column": 39 + "line": 82, + "column": 38 } } }, @@ -18901,16 +19120,16 @@ "binop": null, "updateContext": null }, - "start": 2305, - "end": 2306, + "start": 2342, + "end": 2343, "loc": { "start": { - "line": 69, - "column": 40 + "line": 82, + "column": 38 }, "end": { - "line": 69, - "column": 41 + "line": 82, + "column": 39 } } }, @@ -18927,16 +19146,16 @@ "binop": null }, "value": "string", - "start": 2307, - "end": 2313, + "start": 2344, + "end": 2350, "loc": { "start": { - "line": 69, - "column": 42 + "line": 82, + "column": 40 }, "end": { - "line": 69, - "column": 48 + "line": 82, + "column": 46 } } }, @@ -18952,16 +19171,16 @@ "postfix": false, "binop": null }, - "start": 2314, - "end": 2315, + "start": 2350, + "end": 2351, "loc": { "start": { - "line": 69, - "column": 49 + "line": 82, + "column": 46 }, "end": { - "line": 69, - "column": 50 + "line": 82, + "column": 47 } } }, @@ -18978,16 +19197,16 @@ "binop": null, "updateContext": null }, - "start": 2316, - "end": 2317, + "start": 2351, + "end": 2352, "loc": { "start": { - "line": 69, - "column": 51 + "line": 82, + "column": 47 }, "end": { - "line": 69, - "column": 52 + "line": 82, + "column": 48 } } }, @@ -19006,15 +19225,15 @@ "updateContext": null }, "value": "if", - "start": 2321, - "end": 2323, + "start": 2356, + "end": 2358, "loc": { "start": { - "line": 71, + "line": 84, "column": 2 }, "end": { - "line": 71, + "line": 84, "column": 4 } } @@ -19031,15 +19250,15 @@ "postfix": false, "binop": null }, - "start": 2324, - "end": 2325, + "start": 2359, + "end": 2360, "loc": { "start": { - "line": 71, + "line": 84, "column": 5 }, "end": { - "line": 71, + "line": 84, "column": 6 } } @@ -19057,15 +19276,15 @@ "binop": null }, "value": "limbs", - "start": 2325, - "end": 2330, + "start": 2360, + "end": 2365, "loc": { "start": { - "line": 71, + "line": 84, "column": 6 }, "end": { - "line": 71, + "line": 84, "column": 11 } } @@ -19083,15 +19302,15 @@ "binop": null, "updateContext": null }, - "start": 2330, - "end": 2331, + "start": 2365, + "end": 2366, "loc": { "start": { - "line": 71, + "line": 84, "column": 11 }, "end": { - "line": 71, + "line": 84, "column": 12 } } @@ -19109,15 +19328,15 @@ "binop": null }, "value": "length", - "start": 2331, - "end": 2337, + "start": 2366, + "end": 2372, "loc": { "start": { - "line": 71, + "line": 84, "column": 12 }, "end": { - "line": 71, + "line": 84, "column": 18 } } @@ -19136,15 +19355,15 @@ "updateContext": null }, "value": "===", - "start": 2338, - "end": 2341, + "start": 2373, + "end": 2376, "loc": { "start": { - "line": 71, + "line": 84, "column": 19 }, "end": { - "line": 71, + "line": 84, "column": 22 } } @@ -19163,15 +19382,15 @@ "updateContext": null }, "value": 1, - "start": 2342, - "end": 2343, + "start": 2377, + "end": 2378, "loc": { "start": { - "line": 71, + "line": 84, "column": 23 }, "end": { - "line": 71, + "line": 84, "column": 24 } } @@ -19190,15 +19409,15 @@ "updateContext": null }, "value": "&&", - "start": 2344, - "end": 2346, + "start": 2379, + "end": 2381, "loc": { "start": { - "line": 71, + "line": 84, "column": 25 }, "end": { - "line": 71, + "line": 84, "column": 27 } } @@ -19216,15 +19435,15 @@ "binop": null }, "value": "limbs", - "start": 2347, - "end": 2352, + "start": 2382, + "end": 2387, "loc": { "start": { - "line": 71, + "line": 84, "column": 28 }, "end": { - "line": 71, + "line": 84, "column": 33 } } @@ -19242,15 +19461,15 @@ "binop": null, "updateContext": null }, - "start": 2352, - "end": 2353, + "start": 2387, + "end": 2388, "loc": { "start": { - "line": 71, + "line": 84, "column": 33 }, "end": { - "line": 71, + "line": 84, "column": 34 } } @@ -19269,15 +19488,15 @@ "updateContext": null }, "value": 0, - "start": 2353, - "end": 2354, + "start": 2388, + "end": 2389, "loc": { "start": { - "line": 71, + "line": 84, "column": 34 }, "end": { - "line": 71, + "line": 84, "column": 35 } } @@ -19295,15 +19514,15 @@ "binop": null, "updateContext": null }, - "start": 2354, - "end": 2355, + "start": 2389, + "end": 2390, "loc": { "start": { - "line": 71, + "line": 84, "column": 35 }, "end": { - "line": 71, + "line": 84, "column": 36 } } @@ -19322,15 +19541,15 @@ "updateContext": null }, "value": "===", - "start": 2356, - "end": 2359, + "start": 2391, + "end": 2394, "loc": { "start": { - "line": 71, + "line": 84, "column": 37 }, "end": { - "line": 71, + "line": 84, "column": 40 } } @@ -19349,15 +19568,15 @@ "updateContext": null }, "value": 0, - "start": 2360, - "end": 2361, + "start": 2395, + "end": 2396, "loc": { "start": { - "line": 71, + "line": 84, "column": 41 }, "end": { - "line": 71, + "line": 84, "column": 42 } } @@ -19374,15 +19593,15 @@ "postfix": false, "binop": null }, - "start": 2361, - "end": 2362, + "start": 2396, + "end": 2397, "loc": { "start": { - "line": 71, + "line": 84, "column": 42 }, "end": { - "line": 71, + "line": 84, "column": 43 } } @@ -19400,15 +19619,15 @@ "binop": null }, "value": "is_negative", - "start": 2363, - "end": 2374, + "start": 2398, + "end": 2409, "loc": { "start": { - "line": 71, + "line": 84, "column": 44 }, "end": { - "line": 71, + "line": 84, "column": 55 } } @@ -19427,15 +19646,15 @@ "updateContext": null }, "value": "=", - "start": 2375, - "end": 2376, + "start": 2410, + "end": 2411, "loc": { "start": { - "line": 71, + "line": 84, "column": 56 }, "end": { - "line": 71, + "line": 84, "column": 57 } } @@ -19454,15 +19673,15 @@ "updateContext": null }, "value": 0, - "start": 2377, - "end": 2378, + "start": 2412, + "end": 2413, "loc": { "start": { - "line": 71, + "line": 84, "column": 58 }, "end": { - "line": 71, + "line": 84, "column": 59 } } @@ -19480,16 +19699,16 @@ "binop": null, "updateContext": null }, - "start": 2379, - "end": 2380, + "start": 2413, + "end": 2414, "loc": { "start": { - "line": 71, - "column": 60 + "line": 84, + "column": 59 }, "end": { - "line": 71, - "column": 61 + "line": 84, + "column": 60 } } }, @@ -19508,15 +19727,15 @@ "updateContext": null }, "value": "return", - "start": 2384, - "end": 2390, + "start": 2418, + "end": 2424, "loc": { "start": { - "line": 73, + "line": 86, "column": 2 }, "end": { - "line": 73, + "line": 86, "column": 8 } } @@ -19536,15 +19755,15 @@ "updateContext": null }, "value": "new", - "start": 2391, - "end": 2394, + "start": 2425, + "end": 2428, "loc": { "start": { - "line": 73, + "line": 86, "column": 9 }, "end": { - "line": 73, + "line": 86, "column": 12 } } @@ -19562,15 +19781,15 @@ "binop": null }, "value": "Integer", - "start": 2395, - "end": 2402, + "start": 2429, + "end": 2436, "loc": { "start": { - "line": 73, + "line": 86, "column": 13 }, "end": { - "line": 73, + "line": 86, "column": 20 } } @@ -19587,15 +19806,15 @@ "postfix": false, "binop": null }, - "start": 2402, - "end": 2403, + "start": 2436, + "end": 2437, "loc": { "start": { - "line": 73, + "line": 86, "column": 20 }, "end": { - "line": 73, + "line": 86, "column": 21 } } @@ -19615,16 +19834,16 @@ "updateContext": null }, "value": "this", - "start": 2404, - "end": 2408, + "start": 2437, + "end": 2441, "loc": { "start": { - "line": 73, - "column": 22 + "line": 86, + "column": 21 }, "end": { - "line": 73, - "column": 26 + "line": 86, + "column": 25 } } }, @@ -19641,16 +19860,16 @@ "binop": null, "updateContext": null }, - "start": 2408, - "end": 2409, + "start": 2441, + "end": 2442, "loc": { "start": { - "line": 73, - "column": 26 + "line": 86, + "column": 25 }, "end": { - "line": 73, - "column": 27 + "line": 86, + "column": 26 } } }, @@ -19666,16 +19885,16 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 2409, - "end": 2413, + "value": "_base", + "start": 2442, + "end": 2447, "loc": { - "start": { - "line": 73, - "column": 27 + "start": { + "line": 86, + "column": 26 }, "end": { - "line": 73, + "line": 86, "column": 31 } } @@ -19693,16 +19912,16 @@ "binop": null, "updateContext": null }, - "start": 2414, - "end": 2415, + "start": 2447, + "end": 2448, "loc": { "start": { - "line": 73, - "column": 32 + "line": 86, + "column": 31 }, "end": { - "line": 73, - "column": 33 + "line": 86, + "column": 32 } } }, @@ -19719,16 +19938,16 @@ "binop": null }, "value": "is_negative", - "start": 2416, - "end": 2427, + "start": 2449, + "end": 2460, "loc": { "start": { - "line": 73, - "column": 34 + "line": 86, + "column": 33 }, "end": { - "line": 73, - "column": 45 + "line": 86, + "column": 44 } } }, @@ -19745,16 +19964,16 @@ "binop": null, "updateContext": null }, - "start": 2428, - "end": 2429, + "start": 2460, + "end": 2461, "loc": { "start": { - "line": 73, - "column": 46 + "line": 86, + "column": 44 }, "end": { - "line": 73, - "column": 47 + "line": 86, + "column": 45 } } }, @@ -19771,16 +19990,16 @@ "binop": null }, "value": "limbs", - "start": 2430, - "end": 2435, + "start": 2462, + "end": 2467, "loc": { "start": { - "line": 73, - "column": 48 + "line": 86, + "column": 46 }, "end": { - "line": 73, - "column": 53 + "line": 86, + "column": 51 } } }, @@ -19796,16 +20015,16 @@ "postfix": false, "binop": null }, - "start": 2436, - "end": 2437, + "start": 2467, + "end": 2468, "loc": { "start": { - "line": 73, - "column": 54 + "line": 86, + "column": 51 }, "end": { - "line": 73, - "column": 55 + "line": 86, + "column": 52 } } }, @@ -19822,16 +20041,16 @@ "binop": null, "updateContext": null }, - "start": 2438, - "end": 2439, + "start": 2468, + "end": 2469, "loc": { "start": { - "line": 73, - "column": 56 + "line": 86, + "column": 52 }, "end": { - "line": 73, - "column": 57 + "line": 86, + "column": 53 } } }, @@ -19847,15 +20066,15 @@ "postfix": false, "binop": null }, - "start": 2442, - "end": 2443, + "start": 2471, + "end": 2472, "loc": { "start": { - "line": 75, + "line": 87, "column": 1 }, "end": { - "line": 75, + "line": 87, "column": 2 } } @@ -19873,15 +20092,15 @@ "binop": null }, "value": "from_digits", - "start": 2446, - "end": 2457, + "start": 2475, + "end": 2486, "loc": { "start": { - "line": 77, + "line": 89, "column": 1 }, "end": { - "line": 77, + "line": 89, "column": 12 } } @@ -19898,16 +20117,16 @@ "postfix": false, "binop": null }, - "start": 2458, - "end": 2459, + "start": 2486, + "end": 2487, "loc": { "start": { - "line": 77, - "column": 13 + "line": 89, + "column": 12 }, "end": { - "line": 77, - "column": 14 + "line": 89, + "column": 13 } } }, @@ -19924,16 +20143,16 @@ "binop": null }, "value": "digits", - "start": 2460, - "end": 2466, + "start": 2487, + "end": 2493, "loc": { "start": { - "line": 77, - "column": 15 + "line": 89, + "column": 13 }, "end": { - "line": 77, - "column": 21 + "line": 89, + "column": 19 } } }, @@ -19950,16 +20169,16 @@ "binop": null, "updateContext": null }, - "start": 2467, - "end": 2468, + "start": 2493, + "end": 2494, "loc": { "start": { - "line": 77, - "column": 22 + "line": 89, + "column": 19 }, "end": { - "line": 77, - "column": 23 + "line": 89, + "column": 20 } } }, @@ -19976,16 +20195,16 @@ "binop": null }, "value": "base", - "start": 2469, - "end": 2473, + "start": 2495, + "end": 2499, "loc": { "start": { - "line": 77, - "column": 24 + "line": 89, + "column": 21 }, "end": { - "line": 77, - "column": 28 + "line": 89, + "column": 25 } } }, @@ -20002,16 +20221,16 @@ "binop": null, "updateContext": null }, - "start": 2474, - "end": 2475, + "start": 2499, + "end": 2500, "loc": { "start": { - "line": 77, - "column": 29 + "line": 89, + "column": 25 }, "end": { - "line": 77, - "column": 30 + "line": 89, + "column": 26 } } }, @@ -20028,16 +20247,16 @@ "binop": null }, "value": "is_negative", - "start": 2476, - "end": 2487, + "start": 2501, + "end": 2512, "loc": { "start": { - "line": 77, - "column": 31 + "line": 89, + "column": 27 }, "end": { - "line": 77, - "column": 42 + "line": 89, + "column": 38 } } }, @@ -20053,16 +20272,16 @@ "postfix": false, "binop": null }, - "start": 2488, - "end": 2489, + "start": 2512, + "end": 2513, "loc": { "start": { - "line": 77, - "column": 43 + "line": 89, + "column": 38 }, "end": { - "line": 77, - "column": 44 + "line": 89, + "column": 39 } } }, @@ -20078,16 +20297,16 @@ "postfix": false, "binop": null }, - "start": 2490, - "end": 2491, + "start": 2514, + "end": 2515, "loc": { "start": { - "line": 77, - "column": 45 + "line": 89, + "column": 40 }, "end": { - "line": 77, - "column": 46 + "line": 89, + "column": 41 } } }, @@ -20106,15 +20325,15 @@ "updateContext": null }, "value": "const", - "start": 2495, - "end": 2500, + "start": 2518, + "end": 2523, "loc": { "start": { - "line": 79, + "line": 90, "column": 2 }, "end": { - "line": 79, + "line": 90, "column": 7 } } @@ -20132,15 +20351,15 @@ "binop": null }, "value": "limbs", - "start": 2501, - "end": 2506, + "start": 2524, + "end": 2529, "loc": { "start": { - "line": 79, + "line": 90, "column": 8 }, "end": { - "line": 79, + "line": 90, "column": 13 } } @@ -20159,15 +20378,15 @@ "updateContext": null }, "value": "=", - "start": 2507, - "end": 2508, + "start": 2530, + "end": 2531, "loc": { "start": { - "line": 79, + "line": 90, "column": 14 }, "end": { - "line": 79, + "line": 90, "column": 15 } } @@ -20185,15 +20404,15 @@ "binop": null }, "value": "convert", - "start": 2509, - "end": 2516, + "start": 2532, + "end": 2539, "loc": { "start": { - "line": 79, + "line": 90, "column": 16 }, "end": { - "line": 79, + "line": 90, "column": 23 } } @@ -20210,15 +20429,15 @@ "postfix": false, "binop": null }, - "start": 2516, - "end": 2517, + "start": 2539, + "end": 2540, "loc": { "start": { - "line": 79, + "line": 90, "column": 23 }, "end": { - "line": 79, + "line": 90, "column": 24 } } @@ -20236,16 +20455,16 @@ "binop": null }, "value": "base", - "start": 2518, - "end": 2522, + "start": 2544, + "end": 2548, "loc": { "start": { - "line": 79, - "column": 25 + "line": 91, + "column": 3 }, "end": { - "line": 79, - "column": 29 + "line": 91, + "column": 7 } } }, @@ -20262,16 +20481,16 @@ "binop": null, "updateContext": null }, - "start": 2523, - "end": 2524, + "start": 2548, + "end": 2549, "loc": { "start": { - "line": 79, - "column": 30 + "line": 91, + "column": 7 }, "end": { - "line": 79, - "column": 31 + "line": 91, + "column": 8 } } }, @@ -20290,16 +20509,16 @@ "updateContext": null }, "value": "this", - "start": 2525, - "end": 2529, + "start": 2553, + "end": 2557, "loc": { "start": { - "line": 79, - "column": 32 + "line": 92, + "column": 3 }, "end": { - "line": 79, - "column": 36 + "line": 92, + "column": 7 } } }, @@ -20316,16 +20535,16 @@ "binop": null, "updateContext": null }, - "start": 2529, - "end": 2530, + "start": 2557, + "end": 2558, "loc": { "start": { - "line": 79, - "column": 36 + "line": 92, + "column": 7 }, "end": { - "line": 79, - "column": 37 + "line": 92, + "column": 8 } } }, @@ -20341,17 +20560,17 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 2530, - "end": 2534, + "value": "_base", + "start": 2558, + "end": 2563, "loc": { "start": { - "line": 79, - "column": 37 + "line": 92, + "column": 8 }, "end": { - "line": 79, - "column": 41 + "line": 92, + "column": 13 } } }, @@ -20368,16 +20587,16 @@ "binop": null, "updateContext": null }, - "start": 2535, - "end": 2536, + "start": 2563, + "end": 2564, "loc": { "start": { - "line": 79, - "column": 42 + "line": 92, + "column": 13 }, "end": { - "line": 79, - "column": 43 + "line": 92, + "column": 14 } } }, @@ -20394,16 +20613,16 @@ "binop": null }, "value": "digits", - "start": 2537, - "end": 2543, + "start": 2568, + "end": 2574, "loc": { "start": { - "line": 79, - "column": 44 + "line": 93, + "column": 3 }, "end": { - "line": 79, - "column": 50 + "line": 93, + "column": 9 } } }, @@ -20420,16 +20639,16 @@ "binop": null, "updateContext": null }, - "start": 2543, - "end": 2544, + "start": 2574, + "end": 2575, "loc": { "start": { - "line": 79, - "column": 50 + "line": 93, + "column": 9 }, "end": { - "line": 79, - "column": 51 + "line": 93, + "column": 10 } } }, @@ -20446,16 +20665,16 @@ "binop": null }, "value": "slice", - "start": 2544, - "end": 2549, + "start": 2575, + "end": 2580, "loc": { "start": { - "line": 79, - "column": 51 + "line": 93, + "column": 10 }, "end": { - "line": 79, - "column": 56 + "line": 93, + "column": 15 } } }, @@ -20471,16 +20690,16 @@ "postfix": false, "binop": null }, - "start": 2549, - "end": 2550, + "start": 2580, + "end": 2581, "loc": { "start": { - "line": 79, - "column": 56 + "line": 93, + "column": 15 }, "end": { - "line": 79, - "column": 57 + "line": 93, + "column": 16 } } }, @@ -20496,16 +20715,16 @@ "postfix": false, "binop": null }, - "start": 2550, - "end": 2551, + "start": 2581, + "end": 2582, "loc": { "start": { - "line": 79, - "column": 57 + "line": 93, + "column": 16 }, - "end": { - "line": 79, - "column": 58 + "end": { + "line": 93, + "column": 17 } } }, @@ -20522,16 +20741,16 @@ "binop": null, "updateContext": null }, - "start": 2551, - "end": 2552, + "start": 2582, + "end": 2583, "loc": { "start": { - "line": 79, - "column": 58 + "line": 93, + "column": 17 }, "end": { - "line": 79, - "column": 59 + "line": 93, + "column": 18 } } }, @@ -20548,16 +20767,16 @@ "binop": null }, "value": "reverse", - "start": 2552, - "end": 2559, + "start": 2583, + "end": 2590, "loc": { "start": { - "line": 79, - "column": 59 + "line": 93, + "column": 18 }, "end": { - "line": 79, - "column": 66 + "line": 93, + "column": 25 } } }, @@ -20573,16 +20792,16 @@ "postfix": false, "binop": null }, - "start": 2559, - "end": 2560, + "start": 2590, + "end": 2591, "loc": { "start": { - "line": 79, - "column": 66 + "line": 93, + "column": 25 }, "end": { - "line": 79, - "column": 67 + "line": 93, + "column": 26 } } }, @@ -20598,16 +20817,16 @@ "postfix": false, "binop": null }, - "start": 2560, - "end": 2561, + "start": 2591, + "end": 2592, "loc": { "start": { - "line": 79, - "column": 67 + "line": 93, + "column": 26 }, "end": { - "line": 79, - "column": 68 + "line": 93, + "column": 27 } } }, @@ -20624,16 +20843,16 @@ "binop": null, "updateContext": null }, - "start": 2562, - "end": 2563, + "start": 2592, + "end": 2593, "loc": { "start": { - "line": 79, - "column": 69 + "line": 93, + "column": 27 }, "end": { - "line": 79, - "column": 70 + "line": 93, + "column": 28 } } }, @@ -20651,16 +20870,16 @@ "updateContext": null }, "value": 0, - "start": 2564, - "end": 2565, + "start": 2597, + "end": 2598, "loc": { "start": { - "line": 79, - "column": 71 + "line": 94, + "column": 3 }, "end": { - "line": 79, - "column": 72 + "line": 94, + "column": 4 } } }, @@ -20677,16 +20896,16 @@ "binop": null, "updateContext": null }, - "start": 2566, - "end": 2567, + "start": 2598, + "end": 2599, "loc": { "start": { - "line": 79, - "column": 73 + "line": 94, + "column": 4 }, "end": { - "line": 79, - "column": 74 + "line": 94, + "column": 5 } } }, @@ -20703,16 +20922,16 @@ "binop": null }, "value": "digits", - "start": 2568, - "end": 2574, + "start": 2603, + "end": 2609, "loc": { "start": { - "line": 79, - "column": 75 + "line": 95, + "column": 3 }, "end": { - "line": 79, - "column": 81 + "line": 95, + "column": 9 } } }, @@ -20729,16 +20948,16 @@ "binop": null, "updateContext": null }, - "start": 2574, - "end": 2575, + "start": 2609, + "end": 2610, "loc": { "start": { - "line": 79, - "column": 81 + "line": 95, + "column": 9 }, "end": { - "line": 79, - "column": 82 + "line": 95, + "column": 10 } } }, @@ -20755,16 +20974,42 @@ "binop": null }, "value": "length", - "start": 2575, - "end": 2581, + "start": 2610, + "end": 2616, "loc": { "start": { - "line": 79, - "column": 82 + "line": 95, + "column": 10 }, "end": { - "line": 79, - "column": 88 + "line": 95, + "column": 16 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2616, + "end": 2617, + "loc": { + "start": { + "line": 95, + "column": 16 + }, + "end": { + "line": 95, + "column": 17 } } }, @@ -20780,16 +21025,16 @@ "postfix": false, "binop": null }, - "start": 2582, - "end": 2583, + "start": 2620, + "end": 2621, "loc": { "start": { - "line": 79, - "column": 89 + "line": 96, + "column": 2 }, "end": { - "line": 79, - "column": 90 + "line": 96, + "column": 3 } } }, @@ -20806,16 +21051,16 @@ "binop": null, "updateContext": null }, - "start": 2584, - "end": 2585, + "start": 2621, + "end": 2622, "loc": { "start": { - "line": 79, - "column": 91 + "line": 96, + "column": 3 }, "end": { - "line": 79, - "column": 92 + "line": 96, + "column": 4 } } }, @@ -20834,15 +21079,15 @@ "updateContext": null }, "value": "return", - "start": 2589, - "end": 2595, + "start": 2626, + "end": 2632, "loc": { "start": { - "line": 81, + "line": 98, "column": 2 }, "end": { - "line": 81, + "line": 98, "column": 8 } } @@ -20862,15 +21107,15 @@ "updateContext": null }, "value": "new", - "start": 2596, - "end": 2599, + "start": 2633, + "end": 2636, "loc": { "start": { - "line": 81, + "line": 98, "column": 9 }, "end": { - "line": 81, + "line": 98, "column": 12 } } @@ -20888,15 +21133,15 @@ "binop": null }, "value": "Integer", - "start": 2600, - "end": 2607, + "start": 2637, + "end": 2644, "loc": { "start": { - "line": 81, + "line": 98, "column": 13 }, "end": { - "line": 81, + "line": 98, "column": 20 } } @@ -20913,15 +21158,15 @@ "postfix": false, "binop": null }, - "start": 2607, - "end": 2608, + "start": 2644, + "end": 2645, "loc": { "start": { - "line": 81, + "line": 98, "column": 20 }, "end": { - "line": 81, + "line": 98, "column": 21 } } @@ -20941,16 +21186,16 @@ "updateContext": null }, "value": "this", - "start": 2609, - "end": 2613, + "start": 2645, + "end": 2649, "loc": { "start": { - "line": 81, - "column": 22 + "line": 98, + "column": 21 }, "end": { - "line": 81, - "column": 26 + "line": 98, + "column": 25 } } }, @@ -20967,16 +21212,16 @@ "binop": null, "updateContext": null }, - "start": 2613, - "end": 2614, + "start": 2649, + "end": 2650, "loc": { "start": { - "line": 81, - "column": 26 + "line": 98, + "column": 25 }, "end": { - "line": 81, - "column": 27 + "line": 98, + "column": 26 } } }, @@ -20992,16 +21237,16 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 2614, - "end": 2618, + "value": "_base", + "start": 2650, + "end": 2655, "loc": { "start": { - "line": 81, - "column": 27 + "line": 98, + "column": 26 }, "end": { - "line": 81, + "line": 98, "column": 31 } } @@ -21019,16 +21264,16 @@ "binop": null, "updateContext": null }, - "start": 2619, - "end": 2620, + "start": 2655, + "end": 2656, "loc": { "start": { - "line": 81, - "column": 32 + "line": 98, + "column": 31 }, "end": { - "line": 81, - "column": 33 + "line": 98, + "column": 32 } } }, @@ -21045,16 +21290,16 @@ "binop": null }, "value": "is_negative", - "start": 2621, - "end": 2632, + "start": 2657, + "end": 2668, "loc": { "start": { - "line": 81, - "column": 34 + "line": 98, + "column": 33 }, "end": { - "line": 81, - "column": 45 + "line": 98, + "column": 44 } } }, @@ -21071,16 +21316,16 @@ "binop": null, "updateContext": null }, - "start": 2633, - "end": 2634, + "start": 2668, + "end": 2669, "loc": { "start": { - "line": 81, - "column": 46 + "line": 98, + "column": 44 }, "end": { - "line": 81, - "column": 47 + "line": 98, + "column": 45 } } }, @@ -21097,16 +21342,16 @@ "binop": null }, "value": "limbs", - "start": 2635, - "end": 2640, + "start": 2670, + "end": 2675, "loc": { "start": { - "line": 81, - "column": 48 + "line": 98, + "column": 46 }, "end": { - "line": 81, - "column": 53 + "line": 98, + "column": 51 } } }, @@ -21122,16 +21367,16 @@ "postfix": false, "binop": null }, - "start": 2641, - "end": 2642, + "start": 2675, + "end": 2676, "loc": { "start": { - "line": 81, - "column": 54 + "line": 98, + "column": 51 }, "end": { - "line": 81, - "column": 55 + "line": 98, + "column": 52 } } }, @@ -21148,16 +21393,16 @@ "binop": null, "updateContext": null }, - "start": 2643, - "end": 2644, + "start": 2676, + "end": 2677, "loc": { "start": { - "line": 81, - "column": 56 + "line": 98, + "column": 52 }, "end": { - "line": 81, - "column": 57 + "line": 98, + "column": 53 } } }, @@ -21173,15 +21418,15 @@ "postfix": false, "binop": null }, - "start": 2647, - "end": 2648, + "start": 2679, + "end": 2680, "loc": { "start": { - "line": 83, + "line": 99, "column": 1 }, "end": { - "line": 83, + "line": 99, "column": 2 } } @@ -21199,15 +21444,15 @@ "binop": null }, "value": "toString", - "start": 2651, - "end": 2659, + "start": 2683, + "end": 2691, "loc": { "start": { - "line": 85, + "line": 101, "column": 1 }, "end": { - "line": 85, + "line": 101, "column": 9 } } @@ -21224,16 +21469,16 @@ "postfix": false, "binop": null }, - "start": 2660, - "end": 2661, + "start": 2691, + "end": 2692, "loc": { "start": { - "line": 85, - "column": 10 + "line": 101, + "column": 9 }, "end": { - "line": 85, - "column": 11 + "line": 101, + "column": 10 } } }, @@ -21249,16 +21494,16 @@ "postfix": false, "binop": null }, - "start": 2662, - "end": 2663, + "start": 2692, + "end": 2693, "loc": { "start": { - "line": 85, - "column": 12 + "line": 101, + "column": 10 }, "end": { - "line": 85, - "column": 13 + "line": 101, + "column": 11 } } }, @@ -21274,16 +21519,16 @@ "postfix": false, "binop": null }, - "start": 2664, - "end": 2665, + "start": 2694, + "end": 2695, "loc": { "start": { - "line": 85, - "column": 14 + "line": 101, + "column": 12 }, "end": { - "line": 85, - "column": 15 + "line": 101, + "column": 13 } } }, @@ -21302,15 +21547,15 @@ "updateContext": null }, "value": "return", - "start": 2668, - "end": 2674, + "start": 2698, + "end": 2704, "loc": { "start": { - "line": 86, + "line": 102, "column": 2 }, "end": { - "line": 86, + "line": 102, "column": 8 } } @@ -21330,15 +21575,15 @@ "updateContext": null }, "value": "this", - "start": 2675, - "end": 2679, + "start": 2705, + "end": 2709, "loc": { "start": { - "line": 86, + "line": 102, "column": 9 }, "end": { - "line": 86, + "line": 102, "column": 13 } } @@ -21356,15 +21601,15 @@ "binop": null, "updateContext": null }, - "start": 2679, - "end": 2680, + "start": 2709, + "end": 2710, "loc": { "start": { - "line": 86, + "line": 102, "column": 13 }, "end": { - "line": 86, + "line": 102, "column": 14 } } @@ -21382,15 +21627,15 @@ "binop": null }, "value": "name", - "start": 2680, - "end": 2684, + "start": 2710, + "end": 2714, "loc": { "start": { - "line": 86, + "line": 102, "column": 14 }, "end": { - "line": 86, + "line": 102, "column": 18 } } @@ -21408,16 +21653,16 @@ "binop": null, "updateContext": null }, - "start": 2685, - "end": 2686, + "start": 2714, + "end": 2715, "loc": { "start": { - "line": 86, - "column": 19 + "line": 102, + "column": 18 }, "end": { - "line": 86, - "column": 20 + "line": 102, + "column": 19 } } }, @@ -21433,15 +21678,15 @@ "postfix": false, "binop": null }, - "start": 2688, - "end": 2689, + "start": 2717, + "end": 2718, "loc": { "start": { - "line": 87, + "line": 103, "column": 1 }, "end": { - "line": 87, + "line": 103, "column": 2 } } @@ -21459,15 +21704,15 @@ "binop": null }, "value": "$0", - "start": 2692, - "end": 2694, + "start": 2721, + "end": 2723, "loc": { "start": { - "line": 89, + "line": 105, "column": 1 }, "end": { - "line": 89, + "line": 105, "column": 3 } } @@ -21484,16 +21729,16 @@ "postfix": false, "binop": null }, - "start": 2695, - "end": 2696, + "start": 2723, + "end": 2724, "loc": { "start": { - "line": 89, - "column": 4 + "line": 105, + "column": 3 }, "end": { - "line": 89, - "column": 5 + "line": 105, + "column": 4 } } }, @@ -21509,16 +21754,16 @@ "postfix": false, "binop": null }, - "start": 2697, - "end": 2698, + "start": 2724, + "end": 2725, "loc": { "start": { - "line": 89, - "column": 6 + "line": 105, + "column": 4 }, "end": { - "line": 89, - "column": 7 + "line": 105, + "column": 5 } } }, @@ -21534,31 +21779,31 @@ "postfix": false, "binop": null }, - "start": 2699, - "end": 2700, + "start": 2726, + "end": 2727, "loc": { "start": { - "line": 89, - "column": 8 + "line": 105, + "column": 6 }, "end": { - "line": 89, - "column": 9 + "line": 105, + "column": 7 } } }, { "type": "CommentLine", "value": " TODO Could we use an empty array instead ?", - "start": 2703, - "end": 2748, + "start": 2730, + "end": 2775, "loc": { "start": { - "line": 90, + "line": 106, "column": 2 }, "end": { - "line": 90, + "line": 106, "column": 47 } } @@ -21578,15 +21823,15 @@ "updateContext": null }, "value": "return", - "start": 2751, - "end": 2757, + "start": 2778, + "end": 2784, "loc": { "start": { - "line": 91, + "line": 107, "column": 2 }, "end": { - "line": 91, + "line": 107, "column": 8 } } @@ -21606,15 +21851,15 @@ "updateContext": null }, "value": "new", - "start": 2758, - "end": 2761, + "start": 2785, + "end": 2788, "loc": { "start": { - "line": 91, + "line": 107, "column": 9 }, "end": { - "line": 91, + "line": 107, "column": 12 } } @@ -21632,15 +21877,15 @@ "binop": null }, "value": "Integer", - "start": 2762, - "end": 2769, + "start": 2789, + "end": 2796, "loc": { "start": { - "line": 91, + "line": 107, "column": 13 }, "end": { - "line": 91, + "line": 107, "column": 20 } } @@ -21657,15 +21902,15 @@ "postfix": false, "binop": null }, - "start": 2769, - "end": 2770, + "start": 2796, + "end": 2797, "loc": { "start": { - "line": 91, + "line": 107, "column": 20 }, "end": { - "line": 91, + "line": 107, "column": 21 } } @@ -21685,16 +21930,16 @@ "updateContext": null }, "value": "this", - "start": 2771, - "end": 2775, + "start": 2797, + "end": 2801, "loc": { "start": { - "line": 91, - "column": 22 + "line": 107, + "column": 21 }, "end": { - "line": 91, - "column": 26 + "line": 107, + "column": 25 } } }, @@ -21711,16 +21956,16 @@ "binop": null, "updateContext": null }, - "start": 2775, - "end": 2776, + "start": 2801, + "end": 2802, "loc": { "start": { - "line": 91, - "column": 26 + "line": 107, + "column": 25 }, "end": { - "line": 91, - "column": 27 + "line": 107, + "column": 26 } } }, @@ -21736,16 +21981,16 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 2776, - "end": 2780, + "value": "_base", + "start": 2802, + "end": 2807, "loc": { "start": { - "line": 91, - "column": 27 + "line": 107, + "column": 26 }, "end": { - "line": 91, + "line": 107, "column": 31 } } @@ -21763,16 +22008,16 @@ "binop": null, "updateContext": null }, - "start": 2781, - "end": 2782, + "start": 2807, + "end": 2808, "loc": { "start": { - "line": 91, - "column": 32 + "line": 107, + "column": 31 }, "end": { - "line": 91, - "column": 33 + "line": 107, + "column": 32 } } }, @@ -21790,16 +22035,16 @@ "updateContext": null }, "value": 0, - "start": 2783, - "end": 2784, + "start": 2809, + "end": 2810, "loc": { "start": { - "line": 91, - "column": 34 + "line": 107, + "column": 33 }, "end": { - "line": 91, - "column": 35 + "line": 107, + "column": 34 } } }, @@ -21816,16 +22061,16 @@ "binop": null, "updateContext": null }, - "start": 2785, - "end": 2786, + "start": 2810, + "end": 2811, "loc": { "start": { - "line": 91, - "column": 36 + "line": 107, + "column": 34 }, "end": { - "line": 91, - "column": 37 + "line": 107, + "column": 35 } } }, @@ -21842,16 +22087,16 @@ "binop": null, "updateContext": null }, - "start": 2787, - "end": 2788, + "start": 2812, + "end": 2813, "loc": { "start": { - "line": 91, - "column": 38 + "line": 107, + "column": 36 }, "end": { - "line": 91, - "column": 39 + "line": 107, + "column": 37 } } }, @@ -21869,16 +22114,16 @@ "updateContext": null }, "value": 0, - "start": 2789, - "end": 2790, + "start": 2813, + "end": 2814, "loc": { "start": { - "line": 91, - "column": 40 + "line": 107, + "column": 37 }, "end": { - "line": 91, - "column": 41 + "line": 107, + "column": 38 } } }, @@ -21895,16 +22140,16 @@ "binop": null, "updateContext": null }, - "start": 2791, - "end": 2792, + "start": 2814, + "end": 2815, "loc": { "start": { - "line": 91, - "column": 42 + "line": 107, + "column": 38 }, "end": { - "line": 91, - "column": 43 + "line": 107, + "column": 39 } } }, @@ -21920,16 +22165,16 @@ "postfix": false, "binop": null }, - "start": 2793, - "end": 2794, + "start": 2815, + "end": 2816, "loc": { "start": { - "line": 91, - "column": 44 + "line": 107, + "column": 39 }, "end": { - "line": 91, - "column": 45 + "line": 107, + "column": 40 } } }, @@ -21946,16 +22191,16 @@ "binop": null, "updateContext": null }, - "start": 2795, - "end": 2796, + "start": 2816, + "end": 2817, "loc": { "start": { - "line": 91, - "column": 46 + "line": 107, + "column": 40 }, "end": { - "line": 91, - "column": 47 + "line": 107, + "column": 41 } } }, @@ -21971,15 +22216,15 @@ "postfix": false, "binop": null }, - "start": 2798, - "end": 2799, + "start": 2819, + "end": 2820, "loc": { "start": { - "line": 92, + "line": 108, "column": 1 }, "end": { - "line": 92, + "line": 108, "column": 2 } } @@ -21997,15 +22242,15 @@ "binop": null }, "value": "$1", - "start": 2802, - "end": 2804, + "start": 2823, + "end": 2825, "loc": { "start": { - "line": 94, + "line": 110, "column": 1 }, "end": { - "line": 94, + "line": 110, "column": 3 } } @@ -22022,16 +22267,16 @@ "postfix": false, "binop": null }, - "start": 2805, - "end": 2806, + "start": 2825, + "end": 2826, "loc": { "start": { - "line": 94, - "column": 4 + "line": 110, + "column": 3 }, "end": { - "line": 94, - "column": 5 + "line": 110, + "column": 4 } } }, @@ -22047,16 +22292,16 @@ "postfix": false, "binop": null }, - "start": 2807, - "end": 2808, + "start": 2826, + "end": 2827, "loc": { "start": { - "line": 94, - "column": 6 + "line": 110, + "column": 4 }, "end": { - "line": 94, - "column": 7 + "line": 110, + "column": 5 } } }, @@ -22072,16 +22317,16 @@ "postfix": false, "binop": null }, - "start": 2809, - "end": 2810, + "start": 2828, + "end": 2829, "loc": { "start": { - "line": 94, - "column": 8 + "line": 110, + "column": 6 }, "end": { - "line": 94, - "column": 9 + "line": 110, + "column": 7 } } }, @@ -22100,15 +22345,15 @@ "updateContext": null }, "value": "return", - "start": 2813, - "end": 2819, + "start": 2832, + "end": 2838, "loc": { "start": { - "line": 95, + "line": 111, "column": 2 }, "end": { - "line": 95, + "line": 111, "column": 8 } } @@ -22128,15 +22373,15 @@ "updateContext": null }, "value": "new", - "start": 2820, - "end": 2823, + "start": 2839, + "end": 2842, "loc": { "start": { - "line": 95, + "line": 111, "column": 9 }, "end": { - "line": 95, + "line": 111, "column": 12 } } @@ -22154,15 +22399,15 @@ "binop": null }, "value": "Integer", - "start": 2824, - "end": 2831, + "start": 2843, + "end": 2850, "loc": { "start": { - "line": 95, + "line": 111, "column": 13 }, "end": { - "line": 95, + "line": 111, "column": 20 } } @@ -22179,15 +22424,15 @@ "postfix": false, "binop": null }, - "start": 2831, - "end": 2832, + "start": 2850, + "end": 2851, "loc": { "start": { - "line": 95, + "line": 111, "column": 20 }, "end": { - "line": 95, + "line": 111, "column": 21 } } @@ -22207,16 +22452,16 @@ "updateContext": null }, "value": "this", - "start": 2833, - "end": 2837, + "start": 2851, + "end": 2855, "loc": { "start": { - "line": 95, - "column": 22 + "line": 111, + "column": 21 }, "end": { - "line": 95, - "column": 26 + "line": 111, + "column": 25 } } }, @@ -22233,16 +22478,16 @@ "binop": null, "updateContext": null }, - "start": 2837, - "end": 2838, + "start": 2855, + "end": 2856, "loc": { "start": { - "line": 95, - "column": 26 + "line": 111, + "column": 25 }, "end": { - "line": 95, - "column": 27 + "line": 111, + "column": 26 } } }, @@ -22258,16 +22503,16 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 2838, - "end": 2842, + "value": "_base", + "start": 2856, + "end": 2861, "loc": { "start": { - "line": 95, - "column": 27 + "line": 111, + "column": 26 }, "end": { - "line": 95, + "line": 111, "column": 31 } } @@ -22285,16 +22530,16 @@ "binop": null, "updateContext": null }, - "start": 2843, - "end": 2844, + "start": 2861, + "end": 2862, "loc": { "start": { - "line": 95, - "column": 32 + "line": 111, + "column": 31 }, "end": { - "line": 95, - "column": 33 + "line": 111, + "column": 32 } } }, @@ -22312,16 +22557,16 @@ "updateContext": null }, "value": 0, - "start": 2845, - "end": 2846, + "start": 2863, + "end": 2864, "loc": { "start": { - "line": 95, - "column": 34 + "line": 111, + "column": 33 }, "end": { - "line": 95, - "column": 35 + "line": 111, + "column": 34 } } }, @@ -22338,16 +22583,16 @@ "binop": null, "updateContext": null }, - "start": 2847, - "end": 2848, + "start": 2864, + "end": 2865, "loc": { "start": { - "line": 95, - "column": 36 + "line": 111, + "column": 34 }, "end": { - "line": 95, - "column": 37 + "line": 111, + "column": 35 } } }, @@ -22364,16 +22609,16 @@ "binop": null, "updateContext": null }, - "start": 2849, - "end": 2850, + "start": 2866, + "end": 2867, "loc": { "start": { - "line": 95, - "column": 38 + "line": 111, + "column": 36 }, "end": { - "line": 95, - "column": 39 + "line": 111, + "column": 37 } } }, @@ -22391,16 +22636,16 @@ "updateContext": null }, "value": 1, - "start": 2851, - "end": 2852, + "start": 2867, + "end": 2868, "loc": { "start": { - "line": 95, - "column": 40 + "line": 111, + "column": 37 }, "end": { - "line": 95, - "column": 41 + "line": 111, + "column": 38 } } }, @@ -22417,16 +22662,16 @@ "binop": null, "updateContext": null }, - "start": 2853, - "end": 2854, + "start": 2868, + "end": 2869, "loc": { "start": { - "line": 95, - "column": 42 + "line": 111, + "column": 38 }, "end": { - "line": 95, - "column": 43 + "line": 111, + "column": 39 } } }, @@ -22442,16 +22687,16 @@ "postfix": false, "binop": null }, - "start": 2855, - "end": 2856, + "start": 2869, + "end": 2870, "loc": { "start": { - "line": 95, - "column": 44 + "line": 111, + "column": 39 }, "end": { - "line": 95, - "column": 45 + "line": 111, + "column": 40 } } }, @@ -22468,16 +22713,16 @@ "binop": null, "updateContext": null }, - "start": 2857, - "end": 2858, + "start": 2870, + "end": 2871, "loc": { "start": { - "line": 95, - "column": 46 + "line": 111, + "column": 40 }, "end": { - "line": 95, - "column": 47 + "line": 111, + "column": 41 } } }, @@ -22493,15 +22738,15 @@ "postfix": false, "binop": null }, - "start": 2860, - "end": 2861, + "start": 2873, + "end": 2874, "loc": { "start": { - "line": 96, + "line": 112, "column": 1 }, "end": { - "line": 96, + "line": 112, "column": 2 } } @@ -22519,15 +22764,15 @@ "binop": null }, "value": "$_1", - "start": 2864, - "end": 2867, + "start": 2877, + "end": 2880, "loc": { "start": { - "line": 98, + "line": 114, "column": 1 }, "end": { - "line": 98, + "line": 114, "column": 4 } } @@ -22544,16 +22789,16 @@ "postfix": false, "binop": null }, - "start": 2868, - "end": 2869, + "start": 2880, + "end": 2881, "loc": { "start": { - "line": 98, - "column": 5 + "line": 114, + "column": 4 }, "end": { - "line": 98, - "column": 6 + "line": 114, + "column": 5 } } }, @@ -22569,16 +22814,16 @@ "postfix": false, "binop": null }, - "start": 2870, - "end": 2871, + "start": 2881, + "end": 2882, "loc": { "start": { - "line": 98, - "column": 7 + "line": 114, + "column": 5 }, "end": { - "line": 98, - "column": 8 + "line": 114, + "column": 6 } } }, @@ -22594,16 +22839,16 @@ "postfix": false, "binop": null }, - "start": 2872, - "end": 2873, + "start": 2883, + "end": 2884, "loc": { "start": { - "line": 98, - "column": 9 + "line": 114, + "column": 7 }, "end": { - "line": 98, - "column": 10 + "line": 114, + "column": 8 } } }, @@ -22622,15 +22867,15 @@ "updateContext": null }, "value": "return", - "start": 2876, - "end": 2882, + "start": 2887, + "end": 2893, "loc": { "start": { - "line": 99, + "line": 115, "column": 2 }, "end": { - "line": 99, + "line": 115, "column": 8 } } @@ -22650,15 +22895,15 @@ "updateContext": null }, "value": "new", - "start": 2883, - "end": 2886, + "start": 2894, + "end": 2897, "loc": { "start": { - "line": 99, + "line": 115, "column": 9 }, "end": { - "line": 99, + "line": 115, "column": 12 } } @@ -22676,15 +22921,15 @@ "binop": null }, "value": "Integer", - "start": 2887, - "end": 2894, + "start": 2898, + "end": 2905, "loc": { "start": { - "line": 99, + "line": 115, "column": 13 }, "end": { - "line": 99, + "line": 115, "column": 20 } } @@ -22701,15 +22946,15 @@ "postfix": false, "binop": null }, - "start": 2894, - "end": 2895, + "start": 2905, + "end": 2906, "loc": { "start": { - "line": 99, + "line": 115, "column": 20 }, "end": { - "line": 99, + "line": 115, "column": 21 } } @@ -22729,16 +22974,16 @@ "updateContext": null }, "value": "this", - "start": 2896, - "end": 2900, + "start": 2906, + "end": 2910, "loc": { "start": { - "line": 99, - "column": 22 + "line": 115, + "column": 21 }, "end": { - "line": 99, - "column": 26 + "line": 115, + "column": 25 } } }, @@ -22755,16 +23000,16 @@ "binop": null, "updateContext": null }, - "start": 2900, - "end": 2901, + "start": 2910, + "end": 2911, "loc": { "start": { - "line": 99, - "column": 26 + "line": 115, + "column": 25 }, "end": { - "line": 99, - "column": 27 + "line": 115, + "column": 26 } } }, @@ -22780,16 +23025,16 @@ "postfix": false, "binop": null }, - "value": "base", - "start": 2901, - "end": 2905, + "value": "_base", + "start": 2911, + "end": 2916, "loc": { "start": { - "line": 99, - "column": 27 + "line": 115, + "column": 26 }, "end": { - "line": 99, + "line": 115, "column": 31 } } @@ -22807,16 +23052,16 @@ "binop": null, "updateContext": null }, - "start": 2906, - "end": 2907, + "start": 2916, + "end": 2917, "loc": { "start": { - "line": 99, - "column": 32 + "line": 115, + "column": 31 }, "end": { - "line": 99, - "column": 33 + "line": 115, + "column": 32 } } }, @@ -22834,16 +23079,16 @@ "updateContext": null }, "value": "-", - "start": 2908, - "end": 2909, + "start": 2918, + "end": 2919, "loc": { "start": { - "line": 99, - "column": 34 + "line": 115, + "column": 33 }, "end": { - "line": 99, - "column": 35 + "line": 115, + "column": 34 } } }, @@ -22861,16 +23106,16 @@ "updateContext": null }, "value": 1, - "start": 2909, - "end": 2910, + "start": 2919, + "end": 2920, "loc": { "start": { - "line": 99, - "column": 35 + "line": 115, + "column": 34 }, "end": { - "line": 99, - "column": 36 + "line": 115, + "column": 35 } } }, @@ -22887,16 +23132,16 @@ "binop": null, "updateContext": null }, - "start": 2911, - "end": 2912, + "start": 2920, + "end": 2921, "loc": { "start": { - "line": 99, - "column": 37 + "line": 115, + "column": 35 }, "end": { - "line": 99, - "column": 38 + "line": 115, + "column": 36 } } }, @@ -22913,16 +23158,16 @@ "binop": null, "updateContext": null }, - "start": 2913, - "end": 2914, + "start": 2922, + "end": 2923, "loc": { "start": { - "line": 99, - "column": 39 + "line": 115, + "column": 37 }, "end": { - "line": 99, - "column": 40 + "line": 115, + "column": 38 } } }, @@ -22940,16 +23185,16 @@ "updateContext": null }, "value": 1, - "start": 2915, - "end": 2916, + "start": 2923, + "end": 2924, "loc": { "start": { - "line": 99, - "column": 41 + "line": 115, + "column": 38 }, "end": { - "line": 99, - "column": 42 + "line": 115, + "column": 39 } } }, @@ -22966,16 +23211,16 @@ "binop": null, "updateContext": null }, - "start": 2917, - "end": 2918, + "start": 2924, + "end": 2925, "loc": { "start": { - "line": 99, - "column": 43 + "line": 115, + "column": 39 }, "end": { - "line": 99, - "column": 44 + "line": 115, + "column": 40 } } }, @@ -22991,16 +23236,16 @@ "postfix": false, "binop": null }, - "start": 2919, - "end": 2920, + "start": 2925, + "end": 2926, "loc": { "start": { - "line": 99, - "column": 45 + "line": 115, + "column": 40 }, "end": { - "line": 99, - "column": 46 + "line": 115, + "column": 41 } } }, @@ -23017,16 +23262,16 @@ "binop": null, "updateContext": null }, - "start": 2921, - "end": 2922, + "start": 2926, + "end": 2927, "loc": { "start": { - "line": 99, - "column": 47 + "line": 115, + "column": 41 }, "end": { - "line": 99, - "column": 48 + "line": 115, + "column": 42 } } }, @@ -23042,15 +23287,15 @@ "postfix": false, "binop": null }, - "start": 2924, - "end": 2925, + "start": 2929, + "end": 2930, "loc": { "start": { - "line": 100, + "line": 116, "column": 1 }, "end": { - "line": 100, + "line": 116, "column": 2 } } @@ -23068,15 +23313,15 @@ "binop": null }, "value": "has", - "start": 2928, - "end": 2931, + "start": 2933, + "end": 2936, "loc": { "start": { - "line": 102, + "line": 118, "column": 1 }, "end": { - "line": 102, + "line": 118, "column": 4 } } @@ -23093,16 +23338,16 @@ "postfix": false, "binop": null }, - "start": 2932, - "end": 2933, + "start": 2936, + "end": 2937, "loc": { "start": { - "line": 102, - "column": 5 + "line": 118, + "column": 4 }, "end": { - "line": 102, - "column": 6 + "line": 118, + "column": 5 } } }, @@ -23119,16 +23364,16 @@ "binop": null }, "value": "x", - "start": 2934, - "end": 2935, + "start": 2937, + "end": 2938, "loc": { "start": { - "line": 102, - "column": 7 + "line": 118, + "column": 5 }, "end": { - "line": 102, - "column": 8 + "line": 118, + "column": 6 } } }, @@ -23144,16 +23389,16 @@ "postfix": false, "binop": null }, - "start": 2936, - "end": 2937, + "start": 2938, + "end": 2939, "loc": { "start": { - "line": 102, - "column": 9 + "line": 118, + "column": 6 }, "end": { - "line": 102, - "column": 10 + "line": 118, + "column": 7 } } }, @@ -23169,16 +23414,16 @@ "postfix": false, "binop": null }, - "start": 2938, - "end": 2939, + "start": 2940, + "end": 2941, "loc": { "start": { - "line": 102, - "column": 11 + "line": 118, + "column": 8 }, "end": { - "line": 102, - "column": 12 + "line": 118, + "column": 9 } } }, @@ -23197,15 +23442,15 @@ "updateContext": null }, "value": "if", - "start": 2942, - "end": 2944, + "start": 2944, + "end": 2946, "loc": { "start": { - "line": 103, + "line": 119, "column": 2 }, "end": { - "line": 103, + "line": 119, "column": 4 } } @@ -23222,15 +23467,15 @@ "postfix": false, "binop": null }, - "start": 2945, - "end": 2946, + "start": 2947, + "end": 2948, "loc": { "start": { - "line": 103, + "line": 119, "column": 5 }, "end": { - "line": 103, + "line": 119, "column": 6 } } @@ -23248,16 +23493,16 @@ "binop": null }, "value": "x", - "start": 2947, - "end": 2948, + "start": 2948, + "end": 2949, "loc": { "start": { - "line": 103, - "column": 7 + "line": 119, + "column": 6 }, "end": { - "line": 103, - "column": 8 + "line": 119, + "column": 7 } } }, @@ -23276,16 +23521,16 @@ "updateContext": null }, "value": "instanceof", - "start": 2949, - "end": 2959, + "start": 2950, + "end": 2960, "loc": { "start": { - "line": 103, - "column": 9 + "line": 119, + "column": 8 }, - "end": { - "line": 103, - "column": 19 + "end": { + "line": 119, + "column": 18 } } }, @@ -23302,16 +23547,16 @@ "binop": null }, "value": "Integer", - "start": 2960, - "end": 2967, + "start": 2961, + "end": 2968, "loc": { "start": { - "line": 103, - "column": 20 + "line": 119, + "column": 19 }, "end": { - "line": 103, - "column": 27 + "line": 119, + "column": 26 } } }, @@ -23331,12 +23576,12 @@ "end": 2969, "loc": { "start": { - "line": 103, - "column": 28 + "line": 119, + "column": 26 }, "end": { - "line": 103, - "column": 29 + "line": 119, + "column": 27 } } }, @@ -23359,12 +23604,12 @@ "end": 2976, "loc": { "start": { - "line": 103, - "column": 30 + "line": 119, + "column": 28 }, "end": { - "line": 103, - "column": 36 + "line": 119, + "column": 34 } } }, @@ -23387,12 +23632,12 @@ "end": 2981, "loc": { "start": { - "line": 103, - "column": 37 + "line": 119, + "column": 35 }, "end": { - "line": 103, - "column": 41 + "line": 119, + "column": 39 } } }, @@ -23409,16 +23654,16 @@ "binop": null, "updateContext": null }, - "start": 2982, - "end": 2983, + "start": 2981, + "end": 2982, "loc": { "start": { - "line": 103, - "column": 42 + "line": 119, + "column": 39 }, "end": { - "line": 103, - "column": 43 + "line": 119, + "column": 40 } } }, @@ -23437,15 +23682,15 @@ "updateContext": null }, "value": "return", - "start": 2986, - "end": 2992, + "start": 2985, + "end": 2991, "loc": { "start": { - "line": 104, + "line": 120, "column": 2 }, "end": { - "line": 104, + "line": 120, "column": 8 } } @@ -23463,15 +23708,15 @@ "binop": null }, "value": "Number", - "start": 2993, - "end": 2999, + "start": 2992, + "end": 2998, "loc": { "start": { - "line": 104, + "line": 120, "column": 9 }, "end": { - "line": 104, + "line": 120, "column": 15 } } @@ -23489,15 +23734,15 @@ "binop": null, "updateContext": null }, - "start": 2999, - "end": 3000, + "start": 2998, + "end": 2999, "loc": { "start": { - "line": 104, + "line": 120, "column": 15 }, "end": { - "line": 104, + "line": 120, "column": 16 } } @@ -23515,15 +23760,15 @@ "binop": null }, "value": "isInteger", - "start": 3000, - "end": 3009, + "start": 2999, + "end": 3008, "loc": { "start": { - "line": 104, + "line": 120, "column": 16 }, "end": { - "line": 104, + "line": 120, "column": 25 } } @@ -23540,15 +23785,15 @@ "postfix": false, "binop": null }, - "start": 3009, - "end": 3010, + "start": 3008, + "end": 3009, "loc": { "start": { - "line": 104, + "line": 120, "column": 25 }, "end": { - "line": 104, + "line": 120, "column": 26 } } @@ -23566,15 +23811,15 @@ "binop": null }, "value": "x", - "start": 3010, - "end": 3011, + "start": 3009, + "end": 3010, "loc": { "start": { - "line": 104, + "line": 120, "column": 26 }, "end": { - "line": 104, + "line": 120, "column": 27 } } @@ -23591,15 +23836,15 @@ "postfix": false, "binop": null }, - "start": 3011, - "end": 3012, + "start": 3010, + "end": 3011, "loc": { "start": { - "line": 104, + "line": 120, "column": 27 }, "end": { - "line": 104, + "line": 120, "column": 28 } } @@ -23617,16 +23862,16 @@ "binop": null, "updateContext": null }, - "start": 3013, - "end": 3014, + "start": 3011, + "end": 3012, "loc": { "start": { - "line": 104, - "column": 29 + "line": 120, + "column": 28 }, "end": { - "line": 104, - "column": 30 + "line": 120, + "column": 29 } } }, @@ -23642,15 +23887,15 @@ "postfix": false, "binop": null }, - "start": 3016, - "end": 3017, + "start": 3014, + "end": 3015, "loc": { "start": { - "line": 105, + "line": 121, "column": 1 }, "end": { - "line": 105, + "line": 121, "column": 2 } } @@ -23668,15 +23913,15 @@ "binop": null }, "value": "min", - "start": 3020, - "end": 3023, + "start": 3018, + "end": 3021, "loc": { "start": { - "line": 107, + "line": 123, "column": 1 }, "end": { - "line": 107, + "line": 123, "column": 4 } } @@ -23693,16 +23938,16 @@ "postfix": false, "binop": null }, - "start": 3024, - "end": 3025, + "start": 3021, + "end": 3022, "loc": { "start": { - "line": 107, - "column": 5 + "line": 123, + "column": 4 }, "end": { - "line": 107, - "column": 6 + "line": 123, + "column": 5 } } }, @@ -23719,16 +23964,16 @@ "binop": null }, "value": "a", - "start": 3026, - "end": 3027, + "start": 3022, + "end": 3023, "loc": { "start": { - "line": 107, - "column": 7 + "line": 123, + "column": 5 }, "end": { - "line": 107, - "column": 8 + "line": 123, + "column": 6 } } }, @@ -23745,16 +23990,16 @@ "binop": null, "updateContext": null }, - "start": 3028, - "end": 3029, + "start": 3023, + "end": 3024, "loc": { "start": { - "line": 107, - "column": 9 + "line": 123, + "column": 6 }, "end": { - "line": 107, - "column": 10 + "line": 123, + "column": 7 } } }, @@ -23771,16 +24016,16 @@ "binop": null }, "value": "b", - "start": 3030, - "end": 3031, + "start": 3025, + "end": 3026, "loc": { "start": { - "line": 107, - "column": 11 + "line": 123, + "column": 8 }, "end": { - "line": 107, - "column": 12 + "line": 123, + "column": 9 } } }, @@ -23796,16 +24041,16 @@ "postfix": false, "binop": null }, - "start": 3032, - "end": 3033, + "start": 3026, + "end": 3027, "loc": { "start": { - "line": 107, - "column": 13 + "line": 123, + "column": 9 }, "end": { - "line": 107, - "column": 14 + "line": 123, + "column": 10 } } }, @@ -23821,16 +24066,16 @@ "postfix": false, "binop": null }, - "start": 3034, - "end": 3035, + "start": 3028, + "end": 3029, "loc": { "start": { - "line": 107, - "column": 15 + "line": 123, + "column": 11 }, "end": { - "line": 107, - "column": 16 + "line": 123, + "column": 12 } } }, @@ -23849,15 +24094,15 @@ "updateContext": null }, "value": "return", - "start": 3038, - "end": 3044, + "start": 3032, + "end": 3038, "loc": { "start": { - "line": 108, + "line": 124, "column": 2 }, "end": { - "line": 108, + "line": 124, "column": 8 } } @@ -23875,15 +24120,15 @@ "binop": null }, "value": "a", - "start": 3045, - "end": 3046, + "start": 3039, + "end": 3040, "loc": { "start": { - "line": 108, + "line": 124, "column": 9 }, "end": { - "line": 108, + "line": 124, "column": 10 } } @@ -23901,15 +24146,15 @@ "binop": null, "updateContext": null }, - "start": 3046, - "end": 3047, + "start": 3040, + "end": 3041, "loc": { "start": { - "line": 108, + "line": 124, "column": 10 }, "end": { - "line": 108, + "line": 124, "column": 11 } } @@ -23927,15 +24172,15 @@ "binop": null }, "value": "le", - "start": 3047, - "end": 3049, + "start": 3041, + "end": 3043, "loc": { "start": { - "line": 108, + "line": 124, "column": 11 }, "end": { - "line": 108, + "line": 124, "column": 13 } } @@ -23952,15 +24197,15 @@ "postfix": false, "binop": null }, - "start": 3049, - "end": 3050, + "start": 3043, + "end": 3044, "loc": { "start": { - "line": 108, + "line": 124, "column": 13 }, "end": { - "line": 108, + "line": 124, "column": 14 } } @@ -23978,15 +24223,15 @@ "binop": null }, "value": "b", - "start": 3050, - "end": 3051, + "start": 3044, + "end": 3045, "loc": { "start": { - "line": 108, + "line": 124, "column": 14 }, "end": { - "line": 108, + "line": 124, "column": 15 } } @@ -24003,15 +24248,15 @@ "postfix": false, "binop": null }, - "start": 3051, - "end": 3052, + "start": 3045, + "end": 3046, "loc": { "start": { - "line": 108, + "line": 124, "column": 15 }, "end": { - "line": 108, + "line": 124, "column": 16 } } @@ -24029,15 +24274,15 @@ "binop": null, "updateContext": null }, - "start": 3053, - "end": 3054, + "start": 3047, + "end": 3048, "loc": { "start": { - "line": 108, + "line": 124, "column": 17 }, "end": { - "line": 108, + "line": 124, "column": 18 } } @@ -24055,15 +24300,15 @@ "binop": null }, "value": "a", - "start": 3055, - "end": 3056, + "start": 3049, + "end": 3050, "loc": { "start": { - "line": 108, + "line": 124, "column": 19 }, "end": { - "line": 108, + "line": 124, "column": 20 } } @@ -24081,15 +24326,15 @@ "binop": null, "updateContext": null }, - "start": 3057, - "end": 3058, + "start": 3051, + "end": 3052, "loc": { "start": { - "line": 108, + "line": 124, "column": 21 }, "end": { - "line": 108, + "line": 124, "column": 22 } } @@ -24107,15 +24352,15 @@ "binop": null }, "value": "b", - "start": 3059, - "end": 3060, + "start": 3053, + "end": 3054, "loc": { "start": { - "line": 108, + "line": 124, "column": 23 }, "end": { - "line": 108, + "line": 124, "column": 24 } } @@ -24133,16 +24378,16 @@ "binop": null, "updateContext": null }, - "start": 3061, - "end": 3062, + "start": 3054, + "end": 3055, "loc": { "start": { - "line": 108, - "column": 25 + "line": 124, + "column": 24 }, "end": { - "line": 108, - "column": 26 + "line": 124, + "column": 25 } } }, @@ -24158,15 +24403,15 @@ "postfix": false, "binop": null }, - "start": 3064, - "end": 3065, + "start": 3057, + "end": 3058, "loc": { "start": { - "line": 109, + "line": 125, "column": 1 }, "end": { - "line": 109, + "line": 125, "column": 2 } } @@ -24184,15 +24429,15 @@ "binop": null }, "value": "max", - "start": 3068, - "end": 3071, + "start": 3061, + "end": 3064, "loc": { "start": { - "line": 111, + "line": 127, "column": 1 }, "end": { - "line": 111, + "line": 127, "column": 4 } } @@ -24209,16 +24454,16 @@ "postfix": false, "binop": null }, - "start": 3072, - "end": 3073, + "start": 3064, + "end": 3065, "loc": { "start": { - "line": 111, - "column": 5 + "line": 127, + "column": 4 }, "end": { - "line": 111, - "column": 6 + "line": 127, + "column": 5 } } }, @@ -24235,16 +24480,16 @@ "binop": null }, "value": "a", - "start": 3074, - "end": 3075, + "start": 3065, + "end": 3066, "loc": { "start": { - "line": 111, - "column": 7 + "line": 127, + "column": 5 }, "end": { - "line": 111, - "column": 8 + "line": 127, + "column": 6 } } }, @@ -24261,16 +24506,16 @@ "binop": null, "updateContext": null }, - "start": 3076, - "end": 3077, + "start": 3066, + "end": 3067, "loc": { "start": { - "line": 111, - "column": 9 + "line": 127, + "column": 6 }, "end": { - "line": 111, - "column": 10 + "line": 127, + "column": 7 } } }, @@ -24287,16 +24532,16 @@ "binop": null }, "value": "b", - "start": 3078, - "end": 3079, + "start": 3068, + "end": 3069, "loc": { "start": { - "line": 111, - "column": 11 + "line": 127, + "column": 8 }, "end": { - "line": 111, - "column": 12 + "line": 127, + "column": 9 } } }, @@ -24312,16 +24557,16 @@ "postfix": false, "binop": null }, - "start": 3080, - "end": 3081, + "start": 3069, + "end": 3070, "loc": { "start": { - "line": 111, - "column": 13 + "line": 127, + "column": 9 }, "end": { - "line": 111, - "column": 14 + "line": 127, + "column": 10 } } }, @@ -24337,16 +24582,16 @@ "postfix": false, "binop": null }, - "start": 3082, - "end": 3083, + "start": 3071, + "end": 3072, "loc": { "start": { - "line": 111, - "column": 15 + "line": 127, + "column": 11 }, "end": { - "line": 111, - "column": 16 + "line": 127, + "column": 12 } } }, @@ -24365,15 +24610,15 @@ "updateContext": null }, "value": "return", - "start": 3086, - "end": 3092, + "start": 3075, + "end": 3081, "loc": { "start": { - "line": 112, + "line": 128, "column": 2 }, "end": { - "line": 112, + "line": 128, "column": 8 } } @@ -24391,15 +24636,15 @@ "binop": null }, "value": "a", - "start": 3093, - "end": 3094, + "start": 3082, + "end": 3083, "loc": { "start": { - "line": 112, + "line": 128, "column": 9 }, "end": { - "line": 112, + "line": 128, "column": 10 } } @@ -24417,15 +24662,15 @@ "binop": null, "updateContext": null }, - "start": 3094, - "end": 3095, + "start": 3083, + "end": 3084, "loc": { "start": { - "line": 112, + "line": 128, "column": 10 }, "end": { - "line": 112, + "line": 128, "column": 11 } } @@ -24443,15 +24688,15 @@ "binop": null }, "value": "ge", - "start": 3095, - "end": 3097, + "start": 3084, + "end": 3086, "loc": { "start": { - "line": 112, + "line": 128, "column": 11 }, "end": { - "line": 112, + "line": 128, "column": 13 } } @@ -24468,15 +24713,15 @@ "postfix": false, "binop": null }, - "start": 3097, - "end": 3098, + "start": 3086, + "end": 3087, "loc": { "start": { - "line": 112, + "line": 128, "column": 13 }, "end": { - "line": 112, + "line": 128, "column": 14 } } @@ -24494,15 +24739,15 @@ "binop": null }, "value": "b", - "start": 3098, - "end": 3099, + "start": 3087, + "end": 3088, "loc": { "start": { - "line": 112, + "line": 128, "column": 14 }, "end": { - "line": 112, + "line": 128, "column": 15 } } @@ -24519,15 +24764,15 @@ "postfix": false, "binop": null }, - "start": 3099, - "end": 3100, + "start": 3088, + "end": 3089, "loc": { "start": { - "line": 112, + "line": 128, "column": 15 }, "end": { - "line": 112, + "line": 128, "column": 16 } } @@ -24545,15 +24790,15 @@ "binop": null, "updateContext": null }, - "start": 3101, - "end": 3102, + "start": 3090, + "end": 3091, "loc": { "start": { - "line": 112, + "line": 128, "column": 17 }, "end": { - "line": 112, + "line": 128, "column": 18 } } @@ -24571,15 +24816,15 @@ "binop": null }, "value": "a", - "start": 3103, - "end": 3104, + "start": 3092, + "end": 3093, "loc": { "start": { - "line": 112, + "line": 128, "column": 19 }, "end": { - "line": 112, + "line": 128, "column": 20 } } @@ -24597,15 +24842,15 @@ "binop": null, "updateContext": null }, - "start": 3105, - "end": 3106, + "start": 3094, + "end": 3095, "loc": { "start": { - "line": 112, + "line": 128, "column": 21 }, "end": { - "line": 112, + "line": 128, "column": 22 } } @@ -24623,15 +24868,15 @@ "binop": null }, "value": "b", - "start": 3107, - "end": 3108, + "start": 3096, + "end": 3097, "loc": { "start": { - "line": 112, + "line": 128, "column": 23 }, "end": { - "line": 112, + "line": 128, "column": 24 } } @@ -24649,16 +24894,16 @@ "binop": null, "updateContext": null }, - "start": 3109, - "end": 3110, + "start": 3097, + "end": 3098, "loc": { "start": { - "line": 112, - "column": 25 + "line": 128, + "column": 24 }, "end": { - "line": 112, - "column": 26 + "line": 128, + "column": 25 } } }, @@ -24674,15 +24919,15 @@ "postfix": false, "binop": null }, - "start": 3112, - "end": 3113, + "start": 3100, + "end": 3101, "loc": { "start": { - "line": 113, + "line": 129, "column": 1 }, "end": { - "line": 113, + "line": 129, "column": 2 } } @@ -24699,15 +24944,15 @@ "postfix": false, "binop": null }, - "start": 3115, - "end": 3116, + "start": 3102, + "end": 3103, "loc": { "start": { - "line": 115, + "line": 130, "column": 0 }, "end": { - "line": 115, + "line": 130, "column": 1 } } @@ -24725,15 +24970,15 @@ "binop": null, "updateContext": null }, - "start": 3117, - "end": 3117, + "start": 3104, + "end": 3104, "loc": { "start": { - "line": 116, + "line": 131, "column": 0 }, "end": { - "line": 116, + "line": 131, "column": 0 } } diff --git a/ast/source/ZZ.js.json b/ast/source/ZZ.js.json index a2466dd..e5e7702 100644 --- a/ast/source/ZZ.js.json +++ b/ast/source/ZZ.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 155, + "end": 205, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 8, + "line": 5, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 155, + "end": 205, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 8, + "line": 5, "column": 0 } }, @@ -30,45 +30,45 @@ "body": [ { "type": "ImportDeclaration", - "start": 1, - "end": 69, + "start": 0, + "end": 77, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 5, - "column": 13 + "line": 1, + "column": 77 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 11, - "end": 38, + "start": 8, + "end": 35, "loc": { "start": { - "line": 3, - "column": 1 + "line": 1, + "column": 8 }, "end": { - "line": 3, - "column": 28 + "line": 1, + "column": 35 } }, "imported": { "type": "Identifier", - "start": 11, - "end": 38, + "start": 8, + "end": 35, "loc": { "start": { - "line": 3, - "column": 1 + "line": 1, + "column": 8 }, "end": { - "line": 3, - "column": 28 + "line": 1, + "column": 35 }, "identifierName": "DEFAULT_REPRESENTATION_BASE" }, @@ -76,48 +76,85 @@ }, "local": { "type": "Identifier", - "start": 11, - "end": 38, + "start": 8, + "end": 35, "loc": { "start": { - "line": 3, - "column": 1 + "line": 1, + "column": 8 }, "end": { - "line": 3, - "column": 28 + "line": 1, + "column": 35 }, "identifierName": "DEFAULT_REPRESENTATION_BASE" }, "name": "DEFAULT_REPRESENTATION_BASE" } + } + ], + "source": { + "type": "StringLiteral", + "start": 42, + "end": 76, + "loc": { + "start": { + "line": 1, + "column": 42 + }, + "end": { + "line": 1, + "column": 76 + } + }, + "extra": { + "rawValue": "./DEFAULT_REPRESENTATION_BASE.js", + "raw": "'./DEFAULT_REPRESENTATION_BASE.js'" + }, + "value": "./DEFAULT_REPRESENTATION_BASE.js" + } + }, + { + "type": "ImportDeclaration", + "start": 78, + "end": 123, + "loc": { + "start": { + "line": 2, + "column": 0 }, + "end": { + "line": 2, + "column": 45 + } + }, + "specifiers": [ { "type": "ImportSpecifier", - "start": 42, - "end": 53, + "start": 86, + "end": 97, "loc": { "start": { - "line": 4, - "column": 1 + "line": 2, + "column": 8 }, "end": { - "line": 4, - "column": 12 + "line": 2, + "column": 19 } }, "imported": { "type": "Identifier", - "start": 42, - "end": 53, + "start": 86, + "end": 97, "loc": { "start": { - "line": 4, - "column": 1 + "line": 2, + "column": 8 }, "end": { - "line": 4, - "column": 12 + "line": 2, + "column": 19 }, "identifierName": "IntegerRing" }, @@ -125,16 +162,16 @@ }, "local": { "type": "Identifier", - "start": 42, - "end": 53, + "start": 86, + "end": 97, "loc": { "start": { - "line": 4, - "column": 1 + "line": 2, + "column": 8 }, "end": { - "line": 4, - "column": 12 + "line": 2, + "column": 19 }, "identifierName": "IntegerRing" }, @@ -144,81 +181,81 @@ ], "source": { "type": "StringLiteral", - "start": 63, - "end": 67, + "start": 104, + "end": 122, "loc": { "start": { - "line": 5, - "column": 7 + "line": 2, + "column": 26 }, "end": { - "line": 5, - "column": 11 + "line": 2, + "column": 44 } }, "extra": { - "rawValue": "./", - "raw": "'./'" + "rawValue": "./IntegerRing.js", + "raw": "'./IntegerRing.js'" }, - "value": "./" + "value": "./IntegerRing.js" } }, { "type": "ExportNamedDeclaration", - "start": 71, - "end": 154, + "start": 125, + "end": 204, "loc": { "start": { - "line": 7, + "line": 4, "column": 0 }, "end": { - "line": 7, - "column": 83 + "line": 4, + "column": 79 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", - "start": 78, - "end": 154, + "start": 132, + "end": 204, "loc": { "start": { - "line": 7, + "line": 4, "column": 7 }, "end": { - "line": 7, - "column": 83 + "line": 4, + "column": 79 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 84, - "end": 152, + "start": 138, + "end": 203, "loc": { "start": { - "line": 7, + "line": 4, "column": 13 }, "end": { - "line": 7, - "column": 81 + "line": 4, + "column": 78 } }, "id": { "type": "Identifier", - "start": 84, - "end": 86, + "start": 138, + "end": 140, "loc": { "start": { - "line": 7, + "line": 4, "column": 13 }, "end": { - "line": 7, + "line": 4, "column": 15 }, "identifierName": "ZZ" @@ -227,29 +264,29 @@ }, "init": { "type": "NewExpression", - "start": 89, - "end": 152, + "start": 143, + "end": 203, "loc": { "start": { - "line": 7, + "line": 4, "column": 18 }, "end": { - "line": 7, - "column": 81 + "line": 4, + "column": 78 } }, "callee": { "type": "Identifier", - "start": 93, - "end": 104, + "start": 147, + "end": 158, "loc": { "start": { - "line": 7, + "line": 4, "column": 22 }, "end": { - "line": 7, + "line": 4, "column": 33 }, "identifierName": "IntegerRing" @@ -259,16 +296,16 @@ "arguments": [ { "type": "StringLiteral", - "start": 106, - "end": 120, + "start": 159, + "end": 173, "loc": { "start": { - "line": 7, - "column": 35 + "line": 4, + "column": 34 }, "end": { - "line": 7, - "column": 49 + "line": 4, + "column": 48 } }, "extra": { @@ -279,16 +316,16 @@ }, { "type": "Identifier", - "start": 123, - "end": 150, + "start": 175, + "end": 202, "loc": { "start": { - "line": 7, - "column": 52 + "line": 4, + "column": 50 }, "end": { - "line": 7, - "column": 79 + "line": 4, + "column": 77 }, "identifierName": "DEFAULT_REPRESENTATION_BASE" }, @@ -323,15 +360,15 @@ "updateContext": null }, "value": "import", - "start": 1, - "end": 7, + "start": 0, + "end": 6, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, + "line": 1, "column": 6 } } @@ -348,15 +385,15 @@ "postfix": false, "binop": null }, - "start": 8, - "end": 9, + "start": 7, + "end": 8, "loc": { "start": { - "line": 2, + "line": 1, "column": 7 }, "end": { - "line": 2, + "line": 1, "column": 8 } } @@ -374,42 +411,41 @@ "binop": null }, "value": "DEFAULT_REPRESENTATION_BASE", - "start": 11, - "end": 38, + "start": 8, + "end": 35, "loc": { "start": { - "line": 3, - "column": 1 + "line": 1, + "column": 8 }, "end": { - "line": 3, - "column": 28 + "line": 1, + "column": 35 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 39, - "end": 40, + "start": 35, + "end": 36, "loc": { "start": { - "line": 3, - "column": 29 + "line": 1, + "column": 35 }, "end": { - "line": 3, - "column": 30 + "line": 1, + "column": 36 } } }, @@ -425,23 +461,50 @@ "postfix": false, "binop": null }, - "value": "IntegerRing", + "value": "from", + "start": 37, + "end": 41, + "loc": { + "start": { + "line": 1, + "column": 37 + }, + "end": { + "line": 1, + "column": 41 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./DEFAULT_REPRESENTATION_BASE.js", "start": 42, - "end": 53, + "end": 76, "loc": { "start": { - "line": 4, - "column": 1 + "line": 1, + "column": 42 }, "end": { - "line": 4, - "column": 12 + "line": 1, + "column": 76 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -452,16 +515,95 @@ "binop": null, "updateContext": null }, - "start": 54, - "end": 55, + "start": 76, + "end": 77, "loc": { "start": { - "line": 4, - "column": 13 + "line": 1, + "column": 76 }, "end": { - "line": 4, - "column": 14 + "line": 1, + "column": 77 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 78, + "end": 84, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 85, + "end": 86, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "IntegerRing", + "start": 86, + "end": 97, + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 19 } } }, @@ -477,16 +619,16 @@ "postfix": false, "binop": null }, - "start": 56, - "end": 57, + "start": 97, + "end": 98, "loc": { "start": { - "line": 5, - "column": 0 + "line": 2, + "column": 19 }, "end": { - "line": 5, - "column": 1 + "line": 2, + "column": 20 } } }, @@ -503,16 +645,16 @@ "binop": null }, "value": "from", - "start": 58, - "end": 62, + "start": 99, + "end": 103, "loc": { "start": { - "line": 5, - "column": 2 + "line": 2, + "column": 21 }, "end": { - "line": 5, - "column": 6 + "line": 2, + "column": 25 } } }, @@ -529,17 +671,17 @@ "binop": null, "updateContext": null }, - "value": "./", - "start": 63, - "end": 67, + "value": "./IntegerRing.js", + "start": 104, + "end": 122, "loc": { "start": { - "line": 5, - "column": 7 + "line": 2, + "column": 26 }, "end": { - "line": 5, - "column": 11 + "line": 2, + "column": 44 } } }, @@ -556,16 +698,16 @@ "binop": null, "updateContext": null }, - "start": 68, - "end": 69, + "start": 122, + "end": 123, "loc": { "start": { - "line": 5, - "column": 12 + "line": 2, + "column": 44 }, "end": { - "line": 5, - "column": 13 + "line": 2, + "column": 45 } } }, @@ -584,15 +726,15 @@ "updateContext": null }, "value": "export", - "start": 71, - "end": 77, + "start": 125, + "end": 131, "loc": { "start": { - "line": 7, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 4, "column": 6 } } @@ -612,15 +754,15 @@ "updateContext": null }, "value": "const", - "start": 78, - "end": 83, + "start": 132, + "end": 137, "loc": { "start": { - "line": 7, + "line": 4, "column": 7 }, "end": { - "line": 7, + "line": 4, "column": 12 } } @@ -638,15 +780,15 @@ "binop": null }, "value": "ZZ", - "start": 84, - "end": 86, + "start": 138, + "end": 140, "loc": { "start": { - "line": 7, + "line": 4, "column": 13 }, "end": { - "line": 7, + "line": 4, "column": 15 } } @@ -665,15 +807,15 @@ "updateContext": null }, "value": "=", - "start": 87, - "end": 88, + "start": 141, + "end": 142, "loc": { "start": { - "line": 7, + "line": 4, "column": 16 }, "end": { - "line": 7, + "line": 4, "column": 17 } } @@ -693,15 +835,15 @@ "updateContext": null }, "value": "new", - "start": 89, - "end": 92, + "start": 143, + "end": 146, "loc": { "start": { - "line": 7, + "line": 4, "column": 18 }, "end": { - "line": 7, + "line": 4, "column": 21 } } @@ -719,15 +861,15 @@ "binop": null }, "value": "IntegerRing", - "start": 93, - "end": 104, + "start": 147, + "end": 158, "loc": { "start": { - "line": 7, + "line": 4, "column": 22 }, "end": { - "line": 7, + "line": 4, "column": 33 } } @@ -744,15 +886,15 @@ "postfix": false, "binop": null }, - "start": 104, - "end": 105, + "start": 158, + "end": 159, "loc": { "start": { - "line": 7, + "line": 4, "column": 33 }, "end": { - "line": 7, + "line": 4, "column": 34 } } @@ -771,16 +913,16 @@ "updateContext": null }, "value": "Integer Ring", - "start": 106, - "end": 120, + "start": 159, + "end": 173, "loc": { "start": { - "line": 7, - "column": 35 + "line": 4, + "column": 34 }, "end": { - "line": 7, - "column": 49 + "line": 4, + "column": 48 } } }, @@ -797,16 +939,16 @@ "binop": null, "updateContext": null }, - "start": 121, - "end": 122, + "start": 173, + "end": 174, "loc": { "start": { - "line": 7, - "column": 50 + "line": 4, + "column": 48 }, "end": { - "line": 7, - "column": 51 + "line": 4, + "column": 49 } } }, @@ -823,16 +965,16 @@ "binop": null }, "value": "DEFAULT_REPRESENTATION_BASE", - "start": 123, - "end": 150, + "start": 175, + "end": 202, "loc": { "start": { - "line": 7, - "column": 52 + "line": 4, + "column": 50 }, "end": { - "line": 7, - "column": 79 + "line": 4, + "column": 77 } } }, @@ -848,16 +990,16 @@ "postfix": false, "binop": null }, - "start": 151, - "end": 152, + "start": 202, + "end": 203, "loc": { "start": { - "line": 7, - "column": 80 + "line": 4, + "column": 77 }, "end": { - "line": 7, - "column": 81 + "line": 4, + "column": 78 } } }, @@ -874,16 +1016,16 @@ "binop": null, "updateContext": null }, - "start": 153, - "end": 154, + "start": 203, + "end": 204, "loc": { "start": { - "line": 7, - "column": 82 + "line": 4, + "column": 78 }, "end": { - "line": 7, - "column": 83 + "line": 4, + "column": 79 } } }, @@ -900,15 +1042,15 @@ "binop": null, "updateContext": null }, - "start": 155, - "end": 155, + "start": 205, + "end": 205, "loc": { "start": { - "line": 8, + "line": 5, "column": 0 }, "end": { - "line": 8, + "line": 5, "column": 0 } } diff --git a/ast/source/ZeroDivisionError.js.json b/ast/source/ZeroDivisionError.js.json index 53b46cc..54c8a67 100644 --- a/ast/source/ZeroDivisionError.js.json +++ b/ast/source/ZeroDivisionError.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 171, + "end": 113, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 13, + "line": 6, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 171, + "end": 113, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 13, + "line": 6, "column": 0 } }, @@ -30,15 +30,15 @@ "body": [ { "type": "ExportNamedDeclaration", - "start": 1, - "end": 170, + "start": 0, + "end": 112, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 12, + "line": 5, "column": 1 } }, @@ -46,29 +46,29 @@ "source": null, "declaration": { "type": "ClassDeclaration", - "start": 8, - "end": 170, + "start": 7, + "end": 112, "loc": { "start": { - "line": 2, + "line": 1, "column": 7 }, "end": { - "line": 12, + "line": 5, "column": 1 } }, "id": { "type": "Identifier", - "start": 14, - "end": 31, + "start": 13, + "end": 30, "loc": { "start": { - "line": 2, + "line": 1, "column": 13 }, "end": { - "line": 2, + "line": 1, "column": 30 }, "identifierName": "ZeroDivisionError" @@ -77,15 +77,15 @@ }, "superClass": { "type": "Identifier", - "start": 40, - "end": 45, + "start": 39, + "end": 44, "loc": { "start": { - "line": 2, + "line": 1, "column": 39 }, "end": { - "line": 2, + "line": 1, "column": 44 }, "identifierName": "Error" @@ -94,170 +94,30 @@ }, "body": { "type": "ClassBody", - "start": 46, - "end": 170, + "start": 45, + "end": 112, "loc": { "start": { - "line": 2, + "line": 1, "column": 45 }, "end": { - "line": 12, + "line": 5, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 50, - "end": 99, + "start": 48, + "end": 110, "loc": { "start": { - "line": 4, + "line": 2, "column": 1 }, "end": { - "line": 6, - "column": 2 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 50, - "end": 61, - "loc": { - "start": { - "line": 4, - "column": 1 - }, - "end": { - "line": 4, - "column": 12 - }, - "identifierName": "constructor" - }, - "name": "constructor" - }, - "kind": "constructor", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 64, - "end": 71, - "loc": { - "start": { - "line": 4, - "column": 15 - }, - "end": { - "line": 4, - "column": 22 - }, - "identifierName": "message" - }, - "name": "message" - } - ], - "body": { - "type": "BlockStatement", - "start": 74, - "end": 99, - "loc": { - "start": { - "line": 4, - "column": 25 - }, - "end": { - "line": 6, - "column": 2 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 78, - "end": 96, - "loc": { - "start": { - "line": 5, - "column": 2 - }, - "end": { - "line": 5, - "column": 20 - } - }, - "expression": { - "type": "CallExpression", - "start": 78, - "end": 94, - "loc": { - "start": { - "line": 5, - "column": 2 - }, - "end": { - "line": 5, - "column": 18 - } - }, - "callee": { - "type": "Super", - "start": 78, - "end": 83, - "loc": { - "start": { - "line": 5, - "column": 2 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "start": 85, - "end": 92, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 16 - }, - "identifierName": "message" - }, - "name": "message" - } - ] - } - } - ], - "directives": [] - } - }, - { - "type": "ClassMethod", - "start": 102, - "end": 167, - "loc": { - "start": { - "line": 8, - "column": 1 - }, - "end": { - "line": 10, + "line": 4, "column": 2 } }, @@ -265,15 +125,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 102, - "end": 110, + "start": 48, + "end": 56, "loc": { "start": { - "line": 8, + "line": 2, "column": 1 }, "end": { - "line": 8, + "line": 2, "column": 9 }, "identifierName": "toString" @@ -288,88 +148,88 @@ "params": [], "body": { "type": "BlockStatement", - "start": 115, - "end": 167, + "start": 59, + "end": 110, "loc": { "start": { - "line": 8, - "column": 14 + "line": 2, + "column": 12 }, "end": { - "line": 10, + "line": 4, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 119, - "end": 164, + "start": 63, + "end": 107, "loc": { "start": { - "line": 9, + "line": 3, "column": 2 }, "end": { - "line": 9, - "column": 47 + "line": 3, + "column": 46 } }, "argument": { "type": "TemplateLiteral", - "start": 126, - "end": 162, + "start": 70, + "end": 106, "loc": { "start": { - "line": 9, + "line": 3, "column": 9 }, "end": { - "line": 9, + "line": 3, "column": 45 } }, "expressions": [ { "type": "MemberExpression", - "start": 148, - "end": 160, + "start": 92, + "end": 104, "loc": { "start": { - "line": 9, + "line": 3, "column": 31 }, "end": { - "line": 9, + "line": 3, "column": 43 } }, "object": { "type": "ThisExpression", - "start": 148, - "end": 152, + "start": 92, + "end": 96, "loc": { "start": { - "line": 9, + "line": 3, "column": 31 }, "end": { - "line": 9, + "line": 3, "column": 35 } } }, "property": { "type": "Identifier", - "start": 153, - "end": 160, + "start": 97, + "end": 104, "loc": { "start": { - "line": 9, + "line": 3, "column": 36 }, "end": { - "line": 9, + "line": 3, "column": 43 }, "identifierName": "message" @@ -382,15 +242,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 127, - "end": 146, + "start": 71, + "end": 90, "loc": { "start": { - "line": 9, + "line": 3, "column": 10 }, "end": { - "line": 9, + "line": 3, "column": 29 } }, @@ -402,15 +262,15 @@ }, { "type": "TemplateElement", - "start": 161, - "end": 161, + "start": 105, + "end": 105, "loc": { "start": { - "line": 9, + "line": 3, "column": 44 }, "end": { - "line": 9, + "line": 3, "column": 44 } }, @@ -453,15 +313,15 @@ "updateContext": null }, "value": "export", - "start": 1, - "end": 7, + "start": 0, + "end": 6, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, + "line": 1, "column": 6 } } @@ -481,15 +341,15 @@ "updateContext": null }, "value": "class", - "start": 8, - "end": 13, + "start": 7, + "end": 12, "loc": { "start": { - "line": 2, + "line": 1, "column": 7 }, "end": { - "line": 2, + "line": 1, "column": 12 } } @@ -507,15 +367,15 @@ "binop": null }, "value": "ZeroDivisionError", - "start": 14, - "end": 31, + "start": 13, + "end": 30, "loc": { "start": { - "line": 2, + "line": 1, "column": 13 }, "end": { - "line": 2, + "line": 1, "column": 30 } } @@ -535,15 +395,15 @@ "updateContext": null }, "value": "extends", - "start": 32, - "end": 39, + "start": 31, + "end": 38, "loc": { "start": { - "line": 2, + "line": 1, "column": 31 }, "end": { - "line": 2, + "line": 1, "column": 38 } } @@ -561,15 +421,15 @@ "binop": null }, "value": "Error", - "start": 40, - "end": 45, + "start": 39, + "end": 44, "loc": { "start": { - "line": 2, + "line": 1, "column": 39 }, "end": { - "line": 2, + "line": 1, "column": 44 } } @@ -586,15 +446,15 @@ "postfix": false, "binop": null }, - "start": 46, - "end": 47, + "start": 45, + "end": 46, "loc": { "start": { - "line": 2, + "line": 1, "column": 45 }, "end": { - "line": 2, + "line": 1, "column": 46 } } @@ -611,146 +471,17 @@ "postfix": false, "binop": null }, - "value": "constructor", - "start": 50, - "end": 61, + "value": "toString", + "start": 48, + "end": 56, "loc": { "start": { - "line": 4, + "line": 2, "column": 1 }, "end": { - "line": 4, - "column": 12 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 62, - "end": 63, - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "message", - "start": 64, - "end": 71, - "loc": { - "start": { - "line": 4, - "column": 15 - }, - "end": { - "line": 4, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 4, - "column": 23 - }, - "end": { - "line": 4, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 74, - "end": 75, - "loc": { - "start": { - "line": 4, - "column": 25 - }, - "end": { - "line": 4, - "column": 26 - } - } - }, - { - "type": { - "label": "super", - "keyword": "super", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "super", - "start": 78, - "end": 83, - "loc": { - "start": { - "line": 5, - "column": 2 - }, - "end": { - "line": 5, - "column": 7 + "line": 2, + "column": 9 } } }, @@ -766,42 +497,16 @@ "postfix": false, "binop": null }, - "start": 83, - "end": 84, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "message", - "start": 85, - "end": 92, + "start": 56, + "end": 57, "loc": { "start": { - "line": 5, + "line": 2, "column": 9 }, "end": { - "line": 5, - "column": 16 + "line": 2, + "column": 10 } } }, @@ -817,146 +522,19 @@ "postfix": false, "binop": null }, - "start": 93, - "end": 94, - "loc": { - "start": { - "line": 5, - "column": 17 - }, - "end": { - "line": 5, - "column": 18 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 95, - "end": 96, - "loc": { - "start": { - "line": 5, - "column": 19 - }, - "end": { - "line": 5, - "column": 20 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 98, - "end": 99, - "loc": { - "start": { - "line": 6, - "column": 1 - }, - "end": { - "line": 6, - "column": 2 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "toString", - "start": 102, - "end": 110, - "loc": { - "start": { - "line": 8, - "column": 1 - }, - "end": { - "line": 8, - "column": 9 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 111, - "end": 112, + "start": 57, + "end": 58, "loc": { "start": { - "line": 8, + "line": 2, "column": 10 }, "end": { - "line": 8, + "line": 2, "column": 11 } } }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 113, - "end": 114, - "loc": { - "start": { - "line": 8, - "column": 12 - }, - "end": { - "line": 8, - "column": 13 - } - } - }, { "type": { "label": "{", @@ -969,16 +547,16 @@ "postfix": false, "binop": null }, - "start": 115, - "end": 116, + "start": 59, + "end": 60, "loc": { "start": { - "line": 8, - "column": 14 + "line": 2, + "column": 12 }, "end": { - "line": 8, - "column": 15 + "line": 2, + "column": 13 } } }, @@ -997,15 +575,15 @@ "updateContext": null }, "value": "return", - "start": 119, - "end": 125, + "start": 63, + "end": 69, "loc": { "start": { - "line": 9, + "line": 3, "column": 2 }, "end": { - "line": 9, + "line": 3, "column": 8 } } @@ -1022,15 +600,15 @@ "postfix": false, "binop": null }, - "start": 126, - "end": 127, + "start": 70, + "end": 71, "loc": { "start": { - "line": 9, + "line": 3, "column": 9 }, "end": { - "line": 9, + "line": 3, "column": 10 } } @@ -1049,15 +627,15 @@ "updateContext": null }, "value": "ZeroDivisionError: ", - "start": 127, - "end": 146, + "start": 71, + "end": 90, "loc": { "start": { - "line": 9, + "line": 3, "column": 10 }, "end": { - "line": 9, + "line": 3, "column": 29 } } @@ -1074,15 +652,15 @@ "postfix": false, "binop": null }, - "start": 146, - "end": 148, + "start": 90, + "end": 92, "loc": { "start": { - "line": 9, + "line": 3, "column": 29 }, "end": { - "line": 9, + "line": 3, "column": 31 } } @@ -1102,15 +680,15 @@ "updateContext": null }, "value": "this", - "start": 148, - "end": 152, + "start": 92, + "end": 96, "loc": { "start": { - "line": 9, + "line": 3, "column": 31 }, "end": { - "line": 9, + "line": 3, "column": 35 } } @@ -1128,15 +706,15 @@ "binop": null, "updateContext": null }, - "start": 152, - "end": 153, + "start": 96, + "end": 97, "loc": { "start": { - "line": 9, + "line": 3, "column": 35 }, "end": { - "line": 9, + "line": 3, "column": 36 } } @@ -1154,15 +732,15 @@ "binop": null }, "value": "message", - "start": 153, - "end": 160, + "start": 97, + "end": 104, "loc": { "start": { - "line": 9, + "line": 3, "column": 36 }, "end": { - "line": 9, + "line": 3, "column": 43 } } @@ -1179,15 +757,15 @@ "postfix": false, "binop": null }, - "start": 160, - "end": 161, + "start": 104, + "end": 105, "loc": { "start": { - "line": 9, + "line": 3, "column": 43 }, "end": { - "line": 9, + "line": 3, "column": 44 } } @@ -1206,15 +784,15 @@ "updateContext": null }, "value": "", - "start": 161, - "end": 161, + "start": 105, + "end": 105, "loc": { "start": { - "line": 9, + "line": 3, "column": 44 }, "end": { - "line": 9, + "line": 3, "column": 44 } } @@ -1231,15 +809,15 @@ "postfix": false, "binop": null }, - "start": 161, - "end": 162, + "start": 105, + "end": 106, "loc": { "start": { - "line": 9, + "line": 3, "column": 44 }, "end": { - "line": 9, + "line": 3, "column": 45 } } @@ -1257,16 +835,16 @@ "binop": null, "updateContext": null }, - "start": 163, - "end": 164, + "start": 106, + "end": 107, "loc": { "start": { - "line": 9, - "column": 46 + "line": 3, + "column": 45 }, "end": { - "line": 9, - "column": 47 + "line": 3, + "column": 46 } } }, @@ -1282,15 +860,15 @@ "postfix": false, "binop": null }, - "start": 166, - "end": 167, + "start": 109, + "end": 110, "loc": { "start": { - "line": 10, + "line": 4, "column": 1 }, "end": { - "line": 10, + "line": 4, "column": 2 } } @@ -1307,15 +885,15 @@ "postfix": false, "binop": null }, - "start": 169, - "end": 170, + "start": 111, + "end": 112, "loc": { "start": { - "line": 12, + "line": 5, "column": 0 }, "end": { - "line": 12, + "line": 5, "column": 1 } } @@ -1333,15 +911,15 @@ "binop": null, "updateContext": null }, - "start": 171, - "end": 171, + "start": 113, + "end": 113, "loc": { "start": { - "line": 13, + "line": 6, "column": 0 }, "end": { - "line": 13, + "line": 6, "column": 0 } } diff --git a/ast/source/_from_number.js.json b/ast/source/_from_number.js.json index e1f5ed9..0d5c457 100644 --- a/ast/source/_from_number.js.json +++ b/ast/source/_from_number.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 363, + "end": 346, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 363, + "end": 346, "loc": { "start": { "line": 1, @@ -45,30 +45,30 @@ "specifiers": [ { "type": "ImportSpecifier", - "start": 9, - "end": 16, + "start": 8, + "end": 15, "loc": { "start": { "line": 1, - "column": 9 + "column": 8 }, "end": { "line": 1, - "column": 16 + "column": 15 } }, "imported": { "type": "Identifier", - "start": 9, - "end": 16, + "start": 8, + "end": 15, "loc": { "start": { "line": 1, - "column": 9 + "column": 8 }, "end": { "line": 1, - "column": 16 + "column": 15 }, "identifierName": "Integer" }, @@ -76,16 +76,16 @@ }, "local": { "type": "Identifier", - "start": 9, - "end": 16, + "start": 8, + "end": 15, "loc": { "start": { "line": 1, - "column": 9 + "column": 8 }, "end": { "line": 1, - "column": 16 + "column": 15 }, "identifierName": "Integer" }, @@ -95,23 +95,23 @@ ], "source": { "type": "StringLiteral", - "start": 24, - "end": 35, + "start": 22, + "end": 36, "loc": { "start": { "line": 1, - "column": 24 + "column": 22 }, "end": { "line": 1, - "column": 35 + "column": 36 } }, "extra": { - "rawValue": "./Integer", - "raw": "'./Integer'" + "rawValue": "./Integer.js", + "raw": "'./Integer.js'" }, - "value": "./Integer" + "value": "./Integer.js" } }, { @@ -131,30 +131,30 @@ "specifiers": [ { "type": "ImportSpecifier", - "start": 47, - "end": 55, + "start": 46, + "end": 54, "loc": { "start": { "line": 2, - "column": 9 + "column": 8 }, "end": { "line": 2, - "column": 17 + "column": 16 } }, "imported": { "type": "Identifier", - "start": 47, - "end": 55, + "start": 46, + "end": 54, "loc": { "start": { "line": 2, - "column": 9 + "column": 8 }, "end": { "line": 2, - "column": 17 + "column": 16 }, "identifierName": "MAX_BASE" }, @@ -162,16 +162,16 @@ }, "local": { "type": "Identifier", - "start": 47, - "end": 55, + "start": 46, + "end": 54, "loc": { "start": { "line": 2, - "column": 9 + "column": 8 }, "end": { "line": 2, - "column": 17 + "column": 16 }, "identifierName": "MAX_BASE" }, @@ -181,29 +181,29 @@ ], "source": { "type": "StringLiteral", - "start": 63, - "end": 74, + "start": 61, + "end": 75, "loc": { "start": { "line": 2, - "column": 25 + "column": 23 }, "end": { "line": 2, - "column": 36 + "column": 37 } }, "extra": { - "rawValue": "./_limits", - "raw": "'./_limits'" + "rawValue": "./_limits.js", + "raw": "'./_limits.js'" }, - "value": "./_limits" + "value": "./_limits.js" } }, { "type": "ExportNamedDeclaration", "start": 78, - "end": 362, + "end": 345, "loc": { "start": { "line": 4, @@ -219,7 +219,7 @@ "declaration": { "type": "FunctionDeclaration", "start": 85, - "end": 362, + "end": 345, "loc": { "start": { "line": 4, @@ -253,16 +253,16 @@ "params": [ { "type": "Identifier", - "start": 109, - "end": 115, + "start": 107, + "end": 113, "loc": { "start": { "line": 4, - "column": 31 + "column": 29 }, "end": { "line": 4, - "column": 37 + "column": 35 }, "identifierName": "number" }, @@ -271,12 +271,12 @@ ], "body": { "type": "BlockStatement", - "start": 118, - "end": 362, + "start": 115, + "end": 345, "loc": { "start": { "line": 4, - "column": 40 + "column": 37 }, "end": { "line": 10, @@ -286,8 +286,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 121, - "end": 163, + "start": 118, + "end": 159, "loc": { "start": { "line": 5, @@ -295,14 +295,14 @@ }, "end": { "line": 5, - "column": 43 + "column": 42 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 127, - "end": 161, + "start": 124, + "end": 158, "loc": { "start": { "line": 5, @@ -315,8 +315,8 @@ }, "id": { "type": "Identifier", - "start": 127, - "end": 128, + "start": 124, + "end": 125, "loc": { "start": { "line": 5, @@ -332,8 +332,8 @@ }, "init": { "type": "ConditionalExpression", - "start": 131, - "end": 161, + "start": 128, + "end": 158, "loc": { "start": { "line": 5, @@ -346,8 +346,8 @@ }, "test": { "type": "BinaryExpression", - "start": 131, - "end": 142, + "start": 128, + "end": 139, "loc": { "start": { "line": 5, @@ -360,8 +360,8 @@ }, "left": { "type": "Identifier", - "start": 131, - "end": 137, + "start": 128, + "end": 134, "loc": { "start": { "line": 5, @@ -378,8 +378,8 @@ "operator": ">=", "right": { "type": "NumericLiteral", - "start": 141, - "end": 142, + "start": 138, + "end": 139, "loc": { "start": { "line": 5, @@ -399,8 +399,8 @@ }, "consequent": { "type": "Identifier", - "start": 145, - "end": 151, + "start": 142, + "end": 148, "loc": { "start": { "line": 5, @@ -416,8 +416,8 @@ }, "alternate": { "type": "UnaryExpression", - "start": 154, - "end": 161, + "start": 151, + "end": 158, "loc": { "start": { "line": 5, @@ -432,8 +432,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 155, - "end": 161, + "start": 152, + "end": 158, "loc": { "start": { "line": 5, @@ -458,8 +458,8 @@ }, { "type": "VariableDeclaration", - "start": 165, - "end": 207, + "start": 161, + "end": 202, "loc": { "start": { "line": 6, @@ -467,14 +467,14 @@ }, "end": { "line": 6, - "column": 43 + "column": 42 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 171, - "end": 205, + "start": 167, + "end": 201, "loc": { "start": { "line": 6, @@ -487,8 +487,8 @@ }, "id": { "type": "Identifier", - "start": 171, - "end": 182, + "start": 167, + "end": 178, "loc": { "start": { "line": 6, @@ -504,8 +504,8 @@ }, "init": { "type": "ConditionalExpression", - "start": 185, - "end": 205, + "start": 181, + "end": 201, "loc": { "start": { "line": 6, @@ -518,8 +518,8 @@ }, "test": { "type": "BinaryExpression", - "start": 185, - "end": 196, + "start": 181, + "end": 192, "loc": { "start": { "line": 6, @@ -532,8 +532,8 @@ }, "left": { "type": "Identifier", - "start": 185, - "end": 191, + "start": 181, + "end": 187, "loc": { "start": { "line": 6, @@ -550,8 +550,8 @@ "operator": ">=", "right": { "type": "NumericLiteral", - "start": 195, - "end": 196, + "start": 191, + "end": 192, "loc": { "start": { "line": 6, @@ -571,8 +571,8 @@ }, "consequent": { "type": "NumericLiteral", - "start": 199, - "end": 200, + "start": 195, + "end": 196, "loc": { "start": { "line": 6, @@ -591,8 +591,8 @@ }, "alternate": { "type": "UnaryExpression", - "start": 203, - "end": 205, + "start": 199, + "end": 201, "loc": { "start": { "line": 6, @@ -607,8 +607,8 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 204, - "end": 205, + "start": 200, + "end": 201, "loc": { "start": { "line": 6, @@ -636,8 +636,8 @@ }, { "type": "ReturnStatement", - "start": 209, - "end": 360, + "start": 204, + "end": 343, "loc": { "start": { "line": 7, @@ -645,13 +645,13 @@ }, "end": { "line": 9, - "column": 79 + "column": 75 } }, "argument": { "type": "ConditionalExpression", - "start": 216, - "end": 358, + "start": 211, + "end": 342, "loc": { "start": { "line": 7, @@ -659,13 +659,13 @@ }, "end": { "line": 9, - "column": 77 + "column": 74 } }, "test": { "type": "BinaryExpression", - "start": 216, - "end": 228, + "start": 211, + "end": 223, "loc": { "start": { "line": 7, @@ -678,8 +678,8 @@ }, "left": { "type": "Identifier", - "start": 216, - "end": 217, + "start": 211, + "end": 212, "loc": { "start": { "line": 7, @@ -696,8 +696,8 @@ "operator": "<", "right": { "type": "Identifier", - "start": 220, - "end": 228, + "start": 215, + "end": 223, "loc": { "start": { "line": 7, @@ -714,30 +714,30 @@ }, "consequent": { "type": "NewExpression", - "start": 233, - "end": 278, + "start": 228, + "end": 267, "loc": { "start": { "line": 8, - "column": 2 + "column": 4 }, "end": { "line": 8, - "column": 47 + "column": 43 } }, "callee": { "type": "Identifier", - "start": 237, - "end": 244, + "start": 232, + "end": 239, "loc": { "start": { "line": 8, - "column": 6 + "column": 8 }, "end": { "line": 8, - "column": 13 + "column": 15 }, "identifierName": "Integer" }, @@ -746,16 +746,16 @@ "arguments": [ { "type": "Identifier", - "start": 246, - "end": 254, + "start": 240, + "end": 248, "loc": { "start": { "line": 8, - "column": 15 + "column": 16 }, "end": { "line": 8, - "column": 23 + "column": 24 }, "identifierName": "MAX_BASE" }, @@ -763,8 +763,8 @@ }, { "type": "Identifier", - "start": 257, - "end": 268, + "start": 250, + "end": 261, "loc": { "start": { "line": 8, @@ -780,31 +780,31 @@ }, { "type": "ArrayExpression", - "start": 271, - "end": 276, + "start": 263, + "end": 266, "loc": { "start": { "line": 8, - "column": 40 + "column": 39 }, "end": { "line": 8, - "column": 45 + "column": 42 } }, "elements": [ { "type": "Identifier", - "start": 273, - "end": 274, + "start": 264, + "end": 265, "loc": { "start": { "line": 8, - "column": 42 + "column": 40 }, "end": { "line": 8, - "column": 43 + "column": 41 }, "identifierName": "x" }, @@ -816,30 +816,30 @@ }, "alternate": { "type": "NewExpression", - "start": 283, - "end": 358, + "start": 272, + "end": 342, "loc": { "start": { "line": 9, - "column": 2 + "column": 4 }, "end": { "line": 9, - "column": 77 + "column": 74 } }, "callee": { "type": "Identifier", - "start": 287, - "end": 294, + "start": 276, + "end": 283, "loc": { "start": { "line": 9, - "column": 6 + "column": 8 }, "end": { "line": 9, - "column": 13 + "column": 15 }, "identifierName": "Integer" }, @@ -848,16 +848,16 @@ "arguments": [ { "type": "Identifier", - "start": 296, - "end": 304, + "start": 284, + "end": 292, "loc": { "start": { "line": 9, - "column": 15 + "column": 16 }, "end": { "line": 9, - "column": 23 + "column": 24 }, "identifierName": "MAX_BASE" }, @@ -865,8 +865,8 @@ }, { "type": "Identifier", - "start": 307, - "end": 318, + "start": 294, + "end": 305, "loc": { "start": { "line": 9, @@ -882,27 +882,27 @@ }, { "type": "ArrayExpression", - "start": 321, - "end": 356, + "start": 307, + "end": 341, "loc": { "start": { "line": 9, - "column": 40 + "column": 39 }, "end": { "line": 9, - "column": 75 + "column": 73 } }, "elements": [ { "type": "BinaryExpression", - "start": 323, - "end": 339, + "start": 308, + "end": 326, "loc": { "start": { "line": 9, - "column": 42 + "column": 40 }, "end": { "line": 9, @@ -911,30 +911,30 @@ }, "left": { "type": "BinaryExpression", - "start": 323, - "end": 335, + "start": 309, + "end": 321, "loc": { "start": { "line": 9, - "column": 42 + "column": 41 }, "end": { "line": 9, - "column": 54 + "column": 53 } }, "left": { "type": "Identifier", - "start": 323, - "end": 324, + "start": 309, + "end": 310, "loc": { "start": { "line": 9, - "column": 42 + "column": 41 }, "end": { "line": 9, - "column": 43 + "column": 42 }, "identifierName": "x" }, @@ -943,27 +943,31 @@ "operator": "/", "right": { "type": "Identifier", - "start": 327, - "end": 335, + "start": 313, + "end": 321, "loc": { "start": { "line": 9, - "column": 46 + "column": 45 }, "end": { "line": 9, - "column": 54 + "column": 53 }, "identifierName": "MAX_BASE" }, "name": "MAX_BASE" + }, + "extra": { + "parenthesized": true, + "parenStart": 308 } }, "operator": "|", "right": { "type": "NumericLiteral", - "start": 338, - "end": 339, + "start": 325, + "end": 326, "loc": { "start": { "line": 9, @@ -983,30 +987,30 @@ }, { "type": "BinaryExpression", - "start": 342, - "end": 354, + "start": 328, + "end": 340, "loc": { "start": { "line": 9, - "column": 61 + "column": 60 }, "end": { "line": 9, - "column": 73 + "column": 72 } }, "left": { "type": "Identifier", - "start": 342, - "end": 343, + "start": 328, + "end": 329, "loc": { "start": { "line": 9, - "column": 61 + "column": 60 }, "end": { "line": 9, - "column": 62 + "column": 61 }, "identifierName": "x" }, @@ -1015,16 +1019,16 @@ "operator": "%", "right": { "type": "Identifier", - "start": 346, - "end": 354, + "start": 332, + "end": 340, "loc": { "start": { "line": 9, - "column": 65 + "column": 64 }, "end": { "line": 9, - "column": 73 + "column": 72 }, "identifierName": "MAX_BASE" }, @@ -1115,16 +1119,16 @@ "binop": null }, "value": "Integer", - "start": 9, - "end": 16, + "start": 8, + "end": 15, "loc": { "start": { "line": 1, - "column": 9 + "column": 8 }, "end": { "line": 1, - "column": 16 + "column": 15 } } }, @@ -1140,16 +1144,16 @@ "postfix": false, "binop": null }, - "start": 17, - "end": 18, + "start": 15, + "end": 16, "loc": { "start": { "line": 1, - "column": 17 + "column": 15 }, "end": { "line": 1, - "column": 18 + "column": 16 } } }, @@ -1166,16 +1170,16 @@ "binop": null }, "value": "from", - "start": 19, - "end": 23, + "start": 17, + "end": 21, "loc": { "start": { "line": 1, - "column": 19 + "column": 17 }, "end": { "line": 1, - "column": 23 + "column": 21 } } }, @@ -1192,17 +1196,17 @@ "binop": null, "updateContext": null }, - "value": "./Integer", - "start": 24, - "end": 35, + "value": "./Integer.js", + "start": 22, + "end": 36, "loc": { "start": { "line": 1, - "column": 24 + "column": 22 }, "end": { "line": 1, - "column": 35 + "column": 36 } } }, @@ -1298,16 +1302,16 @@ "binop": null }, "value": "MAX_BASE", - "start": 47, - "end": 55, + "start": 46, + "end": 54, "loc": { "start": { "line": 2, - "column": 9 + "column": 8 }, "end": { "line": 2, - "column": 17 + "column": 16 } } }, @@ -1323,16 +1327,16 @@ "postfix": false, "binop": null }, - "start": 56, - "end": 57, + "start": 54, + "end": 55, "loc": { "start": { "line": 2, - "column": 18 + "column": 16 }, "end": { "line": 2, - "column": 19 + "column": 17 } } }, @@ -1349,16 +1353,16 @@ "binop": null }, "value": "from", - "start": 58, - "end": 62, + "start": 56, + "end": 60, "loc": { "start": { "line": 2, - "column": 20 + "column": 18 }, "end": { "line": 2, - "column": 24 + "column": 22 } } }, @@ -1375,17 +1379,17 @@ "binop": null, "updateContext": null }, - "value": "./_limits", - "start": 63, - "end": 74, + "value": "./_limits.js", + "start": 61, + "end": 75, "loc": { "start": { "line": 2, - "column": 25 + "column": 23 }, "end": { "line": 2, - "column": 36 + "column": 37 } } }, @@ -1508,16 +1512,16 @@ "postfix": false, "binop": null }, - "start": 107, - "end": 108, + "start": 106, + "end": 107, "loc": { "start": { "line": 4, - "column": 29 + "column": 28 }, "end": { "line": 4, - "column": 30 + "column": 29 } } }, @@ -1534,16 +1538,16 @@ "binop": null }, "value": "number", - "start": 109, - "end": 115, + "start": 107, + "end": 113, "loc": { "start": { "line": 4, - "column": 31 + "column": 29 }, "end": { "line": 4, - "column": 37 + "column": 35 } } }, @@ -1559,16 +1563,16 @@ "postfix": false, "binop": null }, - "start": 116, - "end": 117, + "start": 113, + "end": 114, "loc": { "start": { "line": 4, - "column": 38 + "column": 35 }, "end": { "line": 4, - "column": 39 + "column": 36 } } }, @@ -1584,16 +1588,16 @@ "postfix": false, "binop": null }, - "start": 118, - "end": 119, + "start": 115, + "end": 116, "loc": { "start": { "line": 4, - "column": 40 + "column": 37 }, "end": { "line": 4, - "column": 41 + "column": 38 } } }, @@ -1612,8 +1616,8 @@ "updateContext": null }, "value": "const", - "start": 121, - "end": 126, + "start": 118, + "end": 123, "loc": { "start": { "line": 5, @@ -1638,8 +1642,8 @@ "binop": null }, "value": "x", - "start": 127, - "end": 128, + "start": 124, + "end": 125, "loc": { "start": { "line": 5, @@ -1665,8 +1669,8 @@ "updateContext": null }, "value": "=", - "start": 129, - "end": 130, + "start": 126, + "end": 127, "loc": { "start": { "line": 5, @@ -1691,8 +1695,8 @@ "binop": null }, "value": "number", - "start": 131, - "end": 137, + "start": 128, + "end": 134, "loc": { "start": { "line": 5, @@ -1718,8 +1722,8 @@ "updateContext": null }, "value": ">=", - "start": 138, - "end": 140, + "start": 135, + "end": 137, "loc": { "start": { "line": 5, @@ -1745,8 +1749,8 @@ "updateContext": null }, "value": 0, - "start": 141, - "end": 142, + "start": 138, + "end": 139, "loc": { "start": { "line": 5, @@ -1771,8 +1775,8 @@ "binop": null, "updateContext": null }, - "start": 143, - "end": 144, + "start": 140, + "end": 141, "loc": { "start": { "line": 5, @@ -1797,8 +1801,8 @@ "binop": null }, "value": "number", - "start": 145, - "end": 151, + "start": 142, + "end": 148, "loc": { "start": { "line": 5, @@ -1823,8 +1827,8 @@ "binop": null, "updateContext": null }, - "start": 152, - "end": 153, + "start": 149, + "end": 150, "loc": { "start": { "line": 5, @@ -1850,8 +1854,8 @@ "updateContext": null }, "value": "-", - "start": 154, - "end": 155, + "start": 151, + "end": 152, "loc": { "start": { "line": 5, @@ -1876,8 +1880,8 @@ "binop": null }, "value": "number", - "start": 155, - "end": 161, + "start": 152, + "end": 158, "loc": { "start": { "line": 5, @@ -1902,16 +1906,16 @@ "binop": null, "updateContext": null }, - "start": 162, - "end": 163, + "start": 158, + "end": 159, "loc": { "start": { "line": 5, - "column": 42 + "column": 41 }, "end": { "line": 5, - "column": 43 + "column": 42 } } }, @@ -1930,8 +1934,8 @@ "updateContext": null }, "value": "const", - "start": 165, - "end": 170, + "start": 161, + "end": 166, "loc": { "start": { "line": 6, @@ -1956,8 +1960,8 @@ "binop": null }, "value": "is_negative", - "start": 171, - "end": 182, + "start": 167, + "end": 178, "loc": { "start": { "line": 6, @@ -1983,8 +1987,8 @@ "updateContext": null }, "value": "=", - "start": 183, - "end": 184, + "start": 179, + "end": 180, "loc": { "start": { "line": 6, @@ -2009,8 +2013,8 @@ "binop": null }, "value": "number", - "start": 185, - "end": 191, + "start": 181, + "end": 187, "loc": { "start": { "line": 6, @@ -2036,8 +2040,8 @@ "updateContext": null }, "value": ">=", - "start": 192, - "end": 194, + "start": 188, + "end": 190, "loc": { "start": { "line": 6, @@ -2063,8 +2067,8 @@ "updateContext": null }, "value": 0, - "start": 195, - "end": 196, + "start": 191, + "end": 192, "loc": { "start": { "line": 6, @@ -2089,8 +2093,8 @@ "binop": null, "updateContext": null }, - "start": 197, - "end": 198, + "start": 193, + "end": 194, "loc": { "start": { "line": 6, @@ -2116,8 +2120,8 @@ "updateContext": null }, "value": 0, - "start": 199, - "end": 200, + "start": 195, + "end": 196, "loc": { "start": { "line": 6, @@ -2142,8 +2146,8 @@ "binop": null, "updateContext": null }, - "start": 201, - "end": 202, + "start": 197, + "end": 198, "loc": { "start": { "line": 6, @@ -2169,8 +2173,8 @@ "updateContext": null }, "value": "-", - "start": 203, - "end": 204, + "start": 199, + "end": 200, "loc": { "start": { "line": 6, @@ -2196,8 +2200,8 @@ "updateContext": null }, "value": 1, - "start": 204, - "end": 205, + "start": 200, + "end": 201, "loc": { "start": { "line": 6, @@ -2222,16 +2226,16 @@ "binop": null, "updateContext": null }, - "start": 206, - "end": 207, + "start": 201, + "end": 202, "loc": { "start": { "line": 6, - "column": 42 + "column": 41 }, "end": { "line": 6, - "column": 43 + "column": 42 } } }, @@ -2250,8 +2254,8 @@ "updateContext": null }, "value": "return", - "start": 209, - "end": 215, + "start": 204, + "end": 210, "loc": { "start": { "line": 7, @@ -2276,8 +2280,8 @@ "binop": null }, "value": "x", - "start": 216, - "end": 217, + "start": 211, + "end": 212, "loc": { "start": { "line": 7, @@ -2303,8 +2307,8 @@ "updateContext": null }, "value": "<", - "start": 218, - "end": 219, + "start": 213, + "end": 214, "loc": { "start": { "line": 7, @@ -2329,8 +2333,8 @@ "binop": null }, "value": "MAX_BASE", - "start": 220, - "end": 228, + "start": 215, + "end": 223, "loc": { "start": { "line": 7, @@ -2355,16 +2359,16 @@ "binop": null, "updateContext": null }, - "start": 229, - "end": 230, + "start": 226, + "end": 227, "loc": { "start": { - "line": 7, - "column": 21 + "line": 8, + "column": 2 }, "end": { - "line": 7, - "column": 22 + "line": 8, + "column": 3 } } }, @@ -2383,16 +2387,16 @@ "updateContext": null }, "value": "new", - "start": 233, - "end": 236, + "start": 228, + "end": 231, "loc": { "start": { "line": 8, - "column": 2 + "column": 4 }, "end": { "line": 8, - "column": 5 + "column": 7 } } }, @@ -2409,16 +2413,16 @@ "binop": null }, "value": "Integer", - "start": 237, - "end": 244, + "start": 232, + "end": 239, "loc": { "start": { "line": 8, - "column": 6 + "column": 8 }, "end": { "line": 8, - "column": 13 + "column": 15 } } }, @@ -2434,16 +2438,16 @@ "postfix": false, "binop": null }, - "start": 244, - "end": 245, + "start": 239, + "end": 240, "loc": { "start": { "line": 8, - "column": 13 + "column": 15 }, "end": { "line": 8, - "column": 14 + "column": 16 } } }, @@ -2460,16 +2464,16 @@ "binop": null }, "value": "MAX_BASE", - "start": 246, - "end": 254, + "start": 240, + "end": 248, "loc": { "start": { "line": 8, - "column": 15 + "column": 16 }, "end": { "line": 8, - "column": 23 + "column": 24 } } }, @@ -2486,8 +2490,8 @@ "binop": null, "updateContext": null }, - "start": 255, - "end": 256, + "start": 248, + "end": 249, "loc": { "start": { "line": 8, @@ -2512,8 +2516,8 @@ "binop": null }, "value": "is_negative", - "start": 257, - "end": 268, + "start": 250, + "end": 261, "loc": { "start": { "line": 8, @@ -2538,16 +2542,16 @@ "binop": null, "updateContext": null }, - "start": 269, - "end": 270, + "start": 261, + "end": 262, "loc": { "start": { "line": 8, - "column": 38 + "column": 37 }, "end": { "line": 8, - "column": 39 + "column": 38 } } }, @@ -2564,16 +2568,16 @@ "binop": null, "updateContext": null }, - "start": 271, - "end": 272, + "start": 263, + "end": 264, "loc": { "start": { "line": 8, - "column": 40 + "column": 39 }, "end": { "line": 8, - "column": 41 + "column": 40 } } }, @@ -2590,16 +2594,16 @@ "binop": null }, "value": "x", - "start": 273, - "end": 274, + "start": 264, + "end": 265, "loc": { "start": { "line": 8, - "column": 42 + "column": 40 }, "end": { "line": 8, - "column": 43 + "column": 41 } } }, @@ -2616,16 +2620,16 @@ "binop": null, "updateContext": null }, - "start": 275, - "end": 276, + "start": 265, + "end": 266, "loc": { "start": { "line": 8, - "column": 44 + "column": 41 }, "end": { "line": 8, - "column": 45 + "column": 42 } } }, @@ -2641,16 +2645,16 @@ "postfix": false, "binop": null }, - "start": 277, - "end": 278, + "start": 266, + "end": 267, "loc": { "start": { "line": 8, - "column": 46 + "column": 42 }, "end": { "line": 8, - "column": 47 + "column": 43 } } }, @@ -2667,16 +2671,16 @@ "binop": null, "updateContext": null }, - "start": 279, - "end": 280, + "start": 270, + "end": 271, "loc": { "start": { - "line": 8, - "column": 48 + "line": 9, + "column": 2 }, "end": { - "line": 8, - "column": 49 + "line": 9, + "column": 3 } } }, @@ -2695,16 +2699,16 @@ "updateContext": null }, "value": "new", - "start": 283, - "end": 286, + "start": 272, + "end": 275, "loc": { "start": { "line": 9, - "column": 2 + "column": 4 }, "end": { "line": 9, - "column": 5 + "column": 7 } } }, @@ -2721,16 +2725,16 @@ "binop": null }, "value": "Integer", - "start": 287, - "end": 294, + "start": 276, + "end": 283, "loc": { "start": { "line": 9, - "column": 6 + "column": 8 }, "end": { "line": 9, - "column": 13 + "column": 15 } } }, @@ -2746,16 +2750,16 @@ "postfix": false, "binop": null }, - "start": 294, - "end": 295, + "start": 283, + "end": 284, "loc": { "start": { "line": 9, - "column": 13 + "column": 15 }, "end": { "line": 9, - "column": 14 + "column": 16 } } }, @@ -2772,16 +2776,16 @@ "binop": null }, "value": "MAX_BASE", - "start": 296, - "end": 304, + "start": 284, + "end": 292, "loc": { "start": { "line": 9, - "column": 15 + "column": 16 }, "end": { "line": 9, - "column": 23 + "column": 24 } } }, @@ -2798,8 +2802,8 @@ "binop": null, "updateContext": null }, - "start": 305, - "end": 306, + "start": 292, + "end": 293, "loc": { "start": { "line": 9, @@ -2824,8 +2828,8 @@ "binop": null }, "value": "is_negative", - "start": 307, - "end": 318, + "start": 294, + "end": 305, "loc": { "start": { "line": 9, @@ -2850,16 +2854,16 @@ "binop": null, "updateContext": null }, - "start": 319, - "end": 320, + "start": 305, + "end": 306, "loc": { "start": { "line": 9, - "column": 38 + "column": 37 }, "end": { "line": 9, - "column": 39 + "column": 38 } } }, @@ -2876,8 +2880,33 @@ "binop": null, "updateContext": null }, - "start": 321, - "end": 322, + "start": 307, + "end": 308, + "loc": { + "start": { + "line": 9, + "column": 39 + }, + "end": { + "line": 9, + "column": 40 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 308, + "end": 309, "loc": { "start": { "line": 9, @@ -2902,16 +2931,16 @@ "binop": null }, "value": "x", - "start": 323, - "end": 324, + "start": 309, + "end": 310, "loc": { "start": { "line": 9, - "column": 42 + "column": 41 }, "end": { "line": 9, - "column": 43 + "column": 42 } } }, @@ -2929,16 +2958,16 @@ "updateContext": null }, "value": "/", - "start": 325, - "end": 326, + "start": 311, + "end": 312, "loc": { "start": { "line": 9, - "column": 44 + "column": 43 }, "end": { "line": 9, - "column": 45 + "column": 44 } } }, @@ -2955,12 +2984,37 @@ "binop": null }, "value": "MAX_BASE", - "start": 327, - "end": 335, + "start": 313, + "end": 321, + "loc": { + "start": { + "line": 9, + "column": 45 + }, + "end": { + "line": 9, + "column": 53 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 321, + "end": 322, "loc": { "start": { "line": 9, - "column": 46 + "column": 53 }, "end": { "line": 9, @@ -2982,8 +3036,8 @@ "updateContext": null }, "value": "|", - "start": 336, - "end": 337, + "start": 323, + "end": 324, "loc": { "start": { "line": 9, @@ -3009,8 +3063,8 @@ "updateContext": null }, "value": 0, - "start": 338, - "end": 339, + "start": 325, + "end": 326, "loc": { "start": { "line": 9, @@ -3035,16 +3089,16 @@ "binop": null, "updateContext": null }, - "start": 340, - "end": 341, + "start": 326, + "end": 327, "loc": { "start": { "line": 9, - "column": 59 + "column": 58 }, "end": { "line": 9, - "column": 60 + "column": 59 } } }, @@ -3061,16 +3115,16 @@ "binop": null }, "value": "x", - "start": 342, - "end": 343, + "start": 328, + "end": 329, "loc": { "start": { "line": 9, - "column": 61 + "column": 60 }, "end": { "line": 9, - "column": 62 + "column": 61 } } }, @@ -3088,16 +3142,16 @@ "updateContext": null }, "value": "%", - "start": 344, - "end": 345, + "start": 330, + "end": 331, "loc": { "start": { "line": 9, - "column": 63 + "column": 62 }, "end": { "line": 9, - "column": 64 + "column": 63 } } }, @@ -3114,16 +3168,16 @@ "binop": null }, "value": "MAX_BASE", - "start": 346, - "end": 354, + "start": 332, + "end": 340, "loc": { "start": { "line": 9, - "column": 65 + "column": 64 }, "end": { "line": 9, - "column": 73 + "column": 72 } } }, @@ -3140,16 +3194,16 @@ "binop": null, "updateContext": null }, - "start": 355, - "end": 356, + "start": 340, + "end": 341, "loc": { "start": { "line": 9, - "column": 74 + "column": 72 }, "end": { "line": 9, - "column": 75 + "column": 73 } } }, @@ -3165,16 +3219,16 @@ "postfix": false, "binop": null }, - "start": 357, - "end": 358, + "start": 341, + "end": 342, "loc": { "start": { "line": 9, - "column": 76 + "column": 73 }, "end": { "line": 9, - "column": 77 + "column": 74 } } }, @@ -3191,16 +3245,16 @@ "binop": null, "updateContext": null }, - "start": 359, - "end": 360, + "start": 342, + "end": 343, "loc": { "start": { "line": 9, - "column": 78 + "column": 74 }, "end": { "line": 9, - "column": 79 + "column": 75 } } }, @@ -3216,8 +3270,8 @@ "postfix": false, "binop": null }, - "start": 361, - "end": 362, + "start": 344, + "end": 345, "loc": { "start": { "line": 10, @@ -3242,8 +3296,8 @@ "binop": null, "updateContext": null }, - "start": 363, - "end": 363, + "start": 346, + "end": 346, "loc": { "start": { "line": 11, diff --git a/ast/source/_limits.js.json b/ast/source/_limits.js.json index 8455117..d398616 100644 --- a/ast/source/_limits.js.json +++ b/ast/source/_limits.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 235, + "end": 196, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 6, + "line": 5, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 235, + "end": 196, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 6, + "line": 5, "column": 0 } }, @@ -30,309 +30,179 @@ "body": [ { "type": "ExportNamedDeclaration", - "start": 51, - "end": 97, + "start": 0, + "end": 50, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 46 + "line": 1, + "column": 50 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", - "start": 58, - "end": 97, + "start": 7, + "end": 50, "loc": { "start": { - "line": 2, + "line": 1, "column": 7 }, "end": { - "line": 2, - "column": 46 + "line": 1, + "column": 50 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 64, - "end": 95, + "start": 13, + "end": 49, "loc": { "start": { - "line": 2, + "line": 1, "column": 13 }, "end": { - "line": 2, - "column": 44 + "line": 1, + "column": 49 } }, "id": { "type": "Identifier", - "start": 64, - "end": 74, + "start": 13, + "end": 23, "loc": { "start": { - "line": 2, + "line": 1, "column": 13 }, "end": { - "line": 2, + "line": 1, "column": 23 }, "identifierName": "MAX_NUMBER" }, - "name": "MAX_NUMBER", - "leadingComments": null + "name": "MAX_NUMBER" }, "init": { - "type": "BinaryExpression", - "start": 77, - "end": 95, + "type": "MemberExpression", + "start": 26, + "end": 49, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, - "column": 44 + "line": 1, + "column": 49 } }, - "left": { - "type": "CallExpression", - "start": 77, - "end": 91, + "object": { + "type": "Identifier", + "start": 26, + "end": 32, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, - "column": 40 - } - }, - "callee": { - "type": "MemberExpression", - "start": 77, - "end": 85, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 34 - } - }, - "object": { - "type": "Identifier", - "start": 77, - "end": 81, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 30 - }, - "identifierName": "Math" - }, - "name": "Math" - }, - "property": { - "type": "Identifier", - "start": 82, - "end": 85, - "loc": { - "start": { - "line": 2, - "column": 31 - }, - "end": { - "line": 2, - "column": 34 - }, - "identifierName": "pow" - }, - "name": "pow" + "line": 1, + "column": 32 }, - "computed": false + "identifierName": "Number" }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 86, - "end": 87, - "loc": { - "start": { - "line": 2, - "column": 35 - }, - "end": { - "line": 2, - "column": 36 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - }, - { - "type": "NumericLiteral", - "start": 88, - "end": 90, - "loc": { - "start": { - "line": 2, - "column": 37 - }, - "end": { - "line": 2, - "column": 39 - } - }, - "extra": { - "rawValue": 53, - "raw": "53" - }, - "value": 53 - } - ] + "name": "Number" }, - "operator": "-", - "right": { - "type": "NumericLiteral", - "start": 94, - "end": 95, + "property": { + "type": "Identifier", + "start": 33, + "end": 49, "loc": { "start": { - "line": 2, - "column": 43 + "line": 1, + "column": 33 }, "end": { - "line": 2, - "column": 44 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" + "line": 1, + "column": 49 + }, + "identifierName": "MAX_SAFE_INTEGER" }, - "value": 1 - } - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentLine", - "value": " The range of valid numbers is -2^53 to 2^53 - 1", - "start": 0, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 0 + "name": "MAX_SAFE_INTEGER" }, - "end": { - "line": 1, - "column": 50 - } + "computed": false } } ], + "kind": "const", + "leadingComments": [], "trailingComments": [] - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " The range of valid numbers is -2^53 to 2^53 - 1", - "start": 0, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 50 - } - } - } - ] + } }, { "type": "ExportNamedDeclaration", - "start": 98, - "end": 141, + "start": 51, + "end": 101, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 3, - "column": 43 + "line": 2, + "column": 50 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", - "start": 105, - "end": 141, + "start": 58, + "end": 101, "loc": { "start": { - "line": 3, + "line": 2, "column": 7 }, "end": { - "line": 3, - "column": 43 + "line": 2, + "column": 50 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 111, - "end": 139, + "start": 64, + "end": 100, "loc": { "start": { - "line": 3, + "line": 2, "column": 13 }, "end": { - "line": 3, - "column": 41 + "line": 2, + "column": 49 } }, "id": { "type": "Identifier", - "start": 111, - "end": 121, + "start": 64, + "end": 74, "loc": { "start": { - "line": 3, + "line": 2, "column": 13 }, "end": { - "line": 3, + "line": 2, "column": 23 }, "identifierName": "MIN_NUMBER" @@ -340,131 +210,54 @@ "name": "MIN_NUMBER" }, "init": { - "type": "UnaryExpression", - "start": 124, - "end": 139, + "type": "MemberExpression", + "start": 77, + "end": 100, "loc": { "start": { - "line": 3, + "line": 2, "column": 26 }, "end": { - "line": 3, - "column": 41 + "line": 2, + "column": 49 } }, - "operator": "-", - "prefix": true, - "argument": { - "type": "CallExpression", - "start": 125, - "end": 139, + "object": { + "type": "Identifier", + "start": 77, + "end": 83, "loc": { "start": { - "line": 3, - "column": 27 + "line": 2, + "column": 26 }, "end": { - "line": 3, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 125, - "end": 133, - "loc": { - "start": { - "line": 3, - "column": 27 - }, - "end": { - "line": 3, - "column": 35 - } + "line": 2, + "column": 32 }, - "object": { - "type": "Identifier", - "start": 125, - "end": 129, - "loc": { - "start": { - "line": 3, - "column": 27 - }, - "end": { - "line": 3, - "column": 31 - }, - "identifierName": "Math" - }, - "name": "Math" + "identifierName": "Number" + }, + "name": "Number" + }, + "property": { + "type": "Identifier", + "start": 84, + "end": 100, + "loc": { + "start": { + "line": 2, + "column": 33 }, - "property": { - "type": "Identifier", - "start": 130, - "end": 133, - "loc": { - "start": { - "line": 3, - "column": 32 - }, - "end": { - "line": 3, - "column": 35 - }, - "identifierName": "pow" - }, - "name": "pow" + "end": { + "line": 2, + "column": 49 }, - "computed": false + "identifierName": "MIN_SAFE_INTEGER" }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 134, - "end": 135, - "loc": { - "start": { - "line": 3, - "column": 36 - }, - "end": { - "line": 3, - "column": 37 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - }, - { - "type": "NumericLiteral", - "start": 136, - "end": 138, - "loc": { - "start": { - "line": 3, - "column": 38 - }, - "end": { - "line": 3, - "column": 40 - } - }, - "extra": { - "rawValue": 53, - "raw": "53" - }, - "value": 53 - } - ] + "name": "MIN_SAFE_INTEGER" }, - "extra": { - "parenthesizedArgument": false - } + "computed": false } } ], @@ -475,60 +268,60 @@ }, { "type": "ExportNamedDeclaration", - "start": 142, - "end": 169, + "start": 102, + "end": 128, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 4, - "column": 27 + "line": 3, + "column": 26 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", - "start": 149, - "end": 169, + "start": 109, + "end": 128, "loc": { "start": { - "line": 4, + "line": 3, "column": 7 }, "end": { - "line": 4, - "column": 27 + "line": 3, + "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 155, - "end": 167, + "start": 115, + "end": 127, "loc": { "start": { - "line": 4, + "line": 3, "column": 13 }, "end": { - "line": 4, + "line": 3, "column": 25 } }, "id": { "type": "Identifier", - "start": 155, - "end": 163, + "start": 115, + "end": 123, "loc": { "start": { - "line": 4, + "line": 3, "column": 13 }, "end": { - "line": 4, + "line": 3, "column": 21 }, "identifierName": "MIN_BASE" @@ -537,15 +330,15 @@ }, "init": { "type": "NumericLiteral", - "start": 166, - "end": 167, + "start": 126, + "end": 127, "loc": { "start": { - "line": 4, + "line": 3, "column": 24 }, "end": { - "line": 4, + "line": 3, "column": 25 } }, @@ -564,60 +357,60 @@ }, { "type": "ExportNamedDeclaration", - "start": 170, - "end": 234, + "start": 129, + "end": 195, "loc": { "start": { - "line": 5, + "line": 4, "column": 0 }, "end": { - "line": 5, - "column": 64 + "line": 4, + "column": 66 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", - "start": 177, - "end": 234, + "start": 136, + "end": 195, "loc": { "start": { - "line": 5, + "line": 4, "column": 7 }, "end": { - "line": 5, - "column": 64 + "line": 4, + "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 183, - "end": 233, + "start": 142, + "end": 194, "loc": { "start": { - "line": 5, + "line": 4, "column": 13 }, "end": { - "line": 5, - "column": 63 + "line": 4, + "column": 65 } }, "id": { "type": "Identifier", - "start": 183, - "end": 191, + "start": 142, + "end": 150, "loc": { "start": { - "line": 5, + "line": 4, "column": 13 }, "end": { - "line": 5, + "line": 4, "column": 21 }, "identifierName": "MAX_BASE" @@ -626,57 +419,57 @@ }, "init": { "type": "BinaryExpression", - "start": 194, - "end": 233, + "start": 153, + "end": 194, "loc": { "start": { - "line": 5, + "line": 4, "column": 24 }, "end": { - "line": 5, - "column": 63 + "line": 4, + "column": 65 } }, "left": { "type": "CallExpression", - "start": 194, - "end": 229, + "start": 153, + "end": 190, "loc": { "start": { - "line": 5, + "line": 4, "column": 24 }, "end": { - "line": 5, - "column": 59 + "line": 4, + "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 194, - "end": 204, + "start": 153, + "end": 163, "loc": { "start": { - "line": 5, + "line": 4, "column": 24 }, "end": { - "line": 5, + "line": 4, "column": 34 } }, "object": { "type": "Identifier", - "start": 194, - "end": 198, + "start": 153, + "end": 157, "loc": { "start": { - "line": 5, + "line": 4, "column": 24 }, "end": { - "line": 5, + "line": 4, "column": 28 }, "identifierName": "Math" @@ -685,15 +478,15 @@ }, "property": { "type": "Identifier", - "start": 199, - "end": 204, + "start": 158, + "end": 163, "loc": { "start": { - "line": 5, + "line": 4, "column": 29 }, "end": { - "line": 5, + "line": 4, "column": 34 }, "identifierName": "floor" @@ -705,43 +498,43 @@ "arguments": [ { "type": "CallExpression", - "start": 205, - "end": 228, + "start": 164, + "end": 189, "loc": { "start": { - "line": 5, + "line": 4, "column": 35 }, "end": { - "line": 5, - "column": 58 + "line": 4, + "column": 60 } }, "callee": { "type": "MemberExpression", - "start": 205, - "end": 214, + "start": 164, + "end": 173, "loc": { "start": { - "line": 5, + "line": 4, "column": 35 }, "end": { - "line": 5, + "line": 4, "column": 44 } }, "object": { "type": "Identifier", - "start": 205, - "end": 209, + "start": 164, + "end": 168, "loc": { "start": { - "line": 5, + "line": 4, "column": 35 }, "end": { - "line": 5, + "line": 4, "column": 39 }, "identifierName": "Math" @@ -750,15 +543,15 @@ }, "property": { "type": "Identifier", - "start": 210, - "end": 214, + "start": 169, + "end": 173, "loc": { "start": { - "line": 5, + "line": 4, "column": 40 }, "end": { - "line": 5, + "line": 4, "column": 44 }, "identifierName": "sqrt" @@ -770,29 +563,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 215, - "end": 227, + "start": 174, + "end": 188, "loc": { "start": { - "line": 5, + "line": 4, "column": 45 }, "end": { - "line": 5, - "column": 57 + "line": 4, + "column": 59 } }, "left": { "type": "Identifier", - "start": 215, - "end": 225, + "start": 174, + "end": 184, "loc": { "start": { - "line": 5, + "line": 4, "column": 45 }, "end": { - "line": 5, + "line": 4, "column": 55 }, "identifierName": "MAX_NUMBER" @@ -802,16 +595,16 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 226, - "end": 227, + "start": 187, + "end": 188, "loc": { "start": { - "line": 5, - "column": 56 + "line": 4, + "column": 58 }, "end": { - "line": 5, - "column": 57 + "line": 4, + "column": 59 } }, "extra": { @@ -828,16 +621,16 @@ "operator": "|", "right": { "type": "NumericLiteral", - "start": 232, - "end": 233, + "start": 193, + "end": 194, "loc": { "start": { - "line": 5, - "column": 62 + "line": 4, + "column": 64 }, "end": { - "line": 5, - "column": 63 + "line": 4, + "column": 65 } }, "extra": { @@ -857,41 +650,8 @@ ], "directives": [] }, - "comments": [ - { - "type": "CommentLine", - "value": " The range of valid numbers is -2^53 to 2^53 - 1", - "start": 0, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 50 - } - } - } - ], + "comments": [], "tokens": [ - { - "type": "CommentLine", - "value": " The range of valid numbers is -2^53 to 2^53 - 1", - "start": 0, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 50 - } - } - }, { "type": { "label": "export", @@ -907,15 +667,15 @@ "updateContext": null }, "value": "export", - "start": 51, - "end": 57, + "start": 0, + "end": 6, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, + "line": 1, "column": 6 } } @@ -935,15 +695,15 @@ "updateContext": null }, "value": "const", - "start": 58, - "end": 63, + "start": 7, + "end": 12, "loc": { "start": { - "line": 2, + "line": 1, "column": 7 }, "end": { - "line": 2, + "line": 1, "column": 12 } } @@ -961,15 +721,15 @@ "binop": null }, "value": "MAX_NUMBER", - "start": 64, - "end": 74, + "start": 13, + "end": 23, "loc": { "start": { - "line": 2, + "line": 1, "column": 13 }, "end": { - "line": 2, + "line": 1, "column": 23 } } @@ -988,15 +748,15 @@ "updateContext": null }, "value": "=", - "start": 75, - "end": 76, + "start": 24, + "end": 25, "loc": { "start": { - "line": 2, + "line": 1, "column": 24 }, "end": { - "line": 2, + "line": 1, "column": 25 } } @@ -1013,17 +773,17 @@ "postfix": false, "binop": null }, - "value": "Math", - "start": 77, - "end": 81, + "value": "Number", + "start": 26, + "end": 32, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, - "column": 30 + "line": 1, + "column": 32 } } }, @@ -1040,16 +800,16 @@ "binop": null, "updateContext": null }, - "start": 81, - "end": 82, + "start": 32, + "end": 33, "loc": { "start": { - "line": 2, - "column": 30 + "line": 1, + "column": 32 }, "end": { - "line": 2, - "column": 31 + "line": 1, + "column": 33 } } }, @@ -1065,201 +825,17 @@ "postfix": false, "binop": null }, - "value": "pow", - "start": 82, - "end": 85, - "loc": { - "start": { - "line": 2, - "column": 31 - }, - "end": { - "line": 2, - "column": 34 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 85, - "end": 86, - "loc": { - "start": { - "line": 2, - "column": 34 - }, - "end": { - "line": 2, - "column": 35 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 86, - "end": 87, - "loc": { - "start": { - "line": 2, - "column": 35 - }, - "end": { - "line": 2, - "column": 36 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 87, - "end": 88, - "loc": { - "start": { - "line": 2, - "column": 36 - }, - "end": { - "line": 2, - "column": 37 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 53, - "start": 88, - "end": 90, - "loc": { - "start": { - "line": 2, - "column": 37 - }, - "end": { - "line": 2, - "column": 39 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 90, - "end": 91, - "loc": { - "start": { - "line": 2, - "column": 39 - }, - "end": { - "line": 2, - "column": 40 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "-", - "start": 92, - "end": 93, - "loc": { - "start": { - "line": 2, - "column": 41 - }, - "end": { - "line": 2, - "column": 42 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 94, - "end": 95, + "value": "MAX_SAFE_INTEGER", + "start": 33, + "end": 49, "loc": { "start": { - "line": 2, - "column": 43 + "line": 1, + "column": 33 }, "end": { - "line": 2, - "column": 44 + "line": 1, + "column": 49 } } }, @@ -1276,16 +852,16 @@ "binop": null, "updateContext": null }, - "start": 96, - "end": 97, + "start": 49, + "end": 50, "loc": { "start": { - "line": 2, - "column": 45 + "line": 1, + "column": 49 }, "end": { - "line": 2, - "column": 46 + "line": 1, + "column": 50 } } }, @@ -1304,156 +880,23 @@ "updateContext": null }, "value": "export", - "start": 98, - "end": 104, + "start": 51, + "end": 57, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 3, + "line": 2, "column": 6 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 105, - "end": 110, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MIN_NUMBER", - "start": 111, - "end": 121, - "loc": { - "start": { - "line": 3, - "column": 13 - }, - "end": { - "line": 3, - "column": 23 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 122, - "end": 123, - "loc": { - "start": { - "line": 3, - "column": 24 - }, - "end": { - "line": 3, - "column": 25 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "-", - "start": 124, - "end": 125, - "loc": { - "start": { - "line": 3, - "column": 26 - }, - "end": { - "line": 3, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Math", - "start": 125, - "end": 129, - "loc": { - "start": { - "line": 3, - "column": 27 - }, - "end": { - "line": 3, - "column": 31 - } - } - }, - { - "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1464,16 +907,17 @@ "binop": null, "updateContext": null }, - "start": 129, - "end": 130, + "value": "const", + "start": 58, + "end": 63, "loc": { "start": { - "line": 3, - "column": 31 + "line": 2, + "column": 7 }, "end": { - "line": 3, - "column": 32 + "line": 2, + "column": 12 } } }, @@ -1489,48 +933,50 @@ "postfix": false, "binop": null }, - "value": "pow", - "start": 130, - "end": 133, + "value": "MIN_NUMBER", + "start": 64, + "end": 74, "loc": { "start": { - "line": 3, - "column": 32 + "line": 2, + "column": 13 }, "end": { - "line": 3, - "column": 35 + "line": 2, + "column": 23 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 133, - "end": 134, + "value": "=", + "start": 75, + "end": 76, "loc": { "start": { - "line": 3, - "column": 35 + "line": 2, + "column": 24 }, "end": { - "line": 3, - "column": 36 + "line": 2, + "column": 25 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1538,27 +984,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 2, - "start": 134, - "end": 135, + "value": "Number", + "start": 77, + "end": 83, "loc": { "start": { - "line": 3, - "column": 36 + "line": 2, + "column": 26 }, "end": { - "line": 3, - "column": 37 + "line": 2, + "column": 32 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -1568,22 +1013,22 @@ "binop": null, "updateContext": null }, - "start": 135, - "end": 136, + "start": 83, + "end": 84, "loc": { "start": { - "line": 3, - "column": 37 + "line": 2, + "column": 32 }, "end": { - "line": 3, - "column": 38 + "line": 2, + "column": 33 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1591,45 +1036,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 53, - "start": 136, - "end": 138, - "loc": { - "start": { - "line": 3, - "column": 38 - }, - "end": { - "line": 3, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null }, - "start": 138, - "end": 139, + "value": "MIN_SAFE_INTEGER", + "start": 84, + "end": 100, "loc": { "start": { - "line": 3, - "column": 40 + "line": 2, + "column": 33 }, "end": { - "line": 3, - "column": 41 + "line": 2, + "column": 49 } } }, @@ -1646,16 +1065,16 @@ "binop": null, "updateContext": null }, - "start": 140, - "end": 141, + "start": 100, + "end": 101, "loc": { "start": { - "line": 3, - "column": 42 + "line": 2, + "column": 49 }, "end": { - "line": 3, - "column": 43 + "line": 2, + "column": 50 } } }, @@ -1674,15 +1093,15 @@ "updateContext": null }, "value": "export", - "start": 142, - "end": 148, + "start": 102, + "end": 108, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 4, + "line": 3, "column": 6 } } @@ -1702,15 +1121,15 @@ "updateContext": null }, "value": "const", - "start": 149, - "end": 154, + "start": 109, + "end": 114, "loc": { "start": { - "line": 4, + "line": 3, "column": 7 }, "end": { - "line": 4, + "line": 3, "column": 12 } } @@ -1728,15 +1147,15 @@ "binop": null }, "value": "MIN_BASE", - "start": 155, - "end": 163, + "start": 115, + "end": 123, "loc": { "start": { - "line": 4, + "line": 3, "column": 13 }, "end": { - "line": 4, + "line": 3, "column": 21 } } @@ -1755,15 +1174,15 @@ "updateContext": null }, "value": "=", - "start": 164, - "end": 165, + "start": 124, + "end": 125, "loc": { "start": { - "line": 4, + "line": 3, "column": 22 }, "end": { - "line": 4, + "line": 3, "column": 23 } } @@ -1782,15 +1201,15 @@ "updateContext": null }, "value": 2, - "start": 166, - "end": 167, + "start": 126, + "end": 127, "loc": { "start": { - "line": 4, + "line": 3, "column": 24 }, "end": { - "line": 4, + "line": 3, "column": 25 } } @@ -1808,16 +1227,16 @@ "binop": null, "updateContext": null }, - "start": 168, - "end": 169, + "start": 127, + "end": 128, "loc": { "start": { - "line": 4, - "column": 26 + "line": 3, + "column": 25 }, "end": { - "line": 4, - "column": 27 + "line": 3, + "column": 26 } } }, @@ -1836,15 +1255,15 @@ "updateContext": null }, "value": "export", - "start": 170, - "end": 176, + "start": 129, + "end": 135, "loc": { "start": { - "line": 5, + "line": 4, "column": 0 }, "end": { - "line": 5, + "line": 4, "column": 6 } } @@ -1864,15 +1283,15 @@ "updateContext": null }, "value": "const", - "start": 177, - "end": 182, + "start": 136, + "end": 141, "loc": { "start": { - "line": 5, + "line": 4, "column": 7 }, "end": { - "line": 5, + "line": 4, "column": 12 } } @@ -1890,15 +1309,15 @@ "binop": null }, "value": "MAX_BASE", - "start": 183, - "end": 191, + "start": 142, + "end": 150, "loc": { "start": { - "line": 5, + "line": 4, "column": 13 }, "end": { - "line": 5, + "line": 4, "column": 21 } } @@ -1917,15 +1336,15 @@ "updateContext": null }, "value": "=", - "start": 192, - "end": 193, + "start": 151, + "end": 152, "loc": { "start": { - "line": 5, + "line": 4, "column": 22 }, "end": { - "line": 5, + "line": 4, "column": 23 } } @@ -1943,15 +1362,15 @@ "binop": null }, "value": "Math", - "start": 194, - "end": 198, + "start": 153, + "end": 157, "loc": { "start": { - "line": 5, + "line": 4, "column": 24 }, "end": { - "line": 5, + "line": 4, "column": 28 } } @@ -1969,15 +1388,15 @@ "binop": null, "updateContext": null }, - "start": 198, - "end": 199, + "start": 157, + "end": 158, "loc": { "start": { - "line": 5, + "line": 4, "column": 28 }, "end": { - "line": 5, + "line": 4, "column": 29 } } @@ -1995,15 +1414,15 @@ "binop": null }, "value": "floor", - "start": 199, - "end": 204, + "start": 158, + "end": 163, "loc": { "start": { - "line": 5, + "line": 4, "column": 29 }, "end": { - "line": 5, + "line": 4, "column": 34 } } @@ -2020,15 +1439,15 @@ "postfix": false, "binop": null }, - "start": 204, - "end": 205, + "start": 163, + "end": 164, "loc": { "start": { - "line": 5, + "line": 4, "column": 34 }, "end": { - "line": 5, + "line": 4, "column": 35 } } @@ -2046,15 +1465,15 @@ "binop": null }, "value": "Math", - "start": 205, - "end": 209, + "start": 164, + "end": 168, "loc": { "start": { - "line": 5, + "line": 4, "column": 35 }, "end": { - "line": 5, + "line": 4, "column": 39 } } @@ -2072,15 +1491,15 @@ "binop": null, "updateContext": null }, - "start": 209, - "end": 210, + "start": 168, + "end": 169, "loc": { "start": { - "line": 5, + "line": 4, "column": 39 }, "end": { - "line": 5, + "line": 4, "column": 40 } } @@ -2098,15 +1517,15 @@ "binop": null }, "value": "sqrt", - "start": 210, - "end": 214, + "start": 169, + "end": 173, "loc": { "start": { - "line": 5, + "line": 4, "column": 40 }, "end": { - "line": 5, + "line": 4, "column": 44 } } @@ -2123,15 +1542,15 @@ "postfix": false, "binop": null }, - "start": 214, - "end": 215, + "start": 173, + "end": 174, "loc": { "start": { - "line": 5, + "line": 4, "column": 44 }, "end": { - "line": 5, + "line": 4, "column": 45 } } @@ -2149,15 +1568,15 @@ "binop": null }, "value": "MAX_NUMBER", - "start": 215, - "end": 225, + "start": 174, + "end": 184, "loc": { "start": { - "line": 5, + "line": 4, "column": 45 }, "end": { - "line": 5, + "line": 4, "column": 55 } } @@ -2176,16 +1595,16 @@ "updateContext": null }, "value": "+", - "start": 225, - "end": 226, + "start": 185, + "end": 186, "loc": { "start": { - "line": 5, - "column": 55 + "line": 4, + "column": 56 }, "end": { - "line": 5, - "column": 56 + "line": 4, + "column": 57 } } }, @@ -2203,16 +1622,16 @@ "updateContext": null }, "value": 1, - "start": 226, - "end": 227, + "start": 187, + "end": 188, "loc": { "start": { - "line": 5, - "column": 56 + "line": 4, + "column": 58 }, "end": { - "line": 5, - "column": 57 + "line": 4, + "column": 59 } } }, @@ -2228,16 +1647,16 @@ "postfix": false, "binop": null }, - "start": 227, - "end": 228, + "start": 188, + "end": 189, "loc": { "start": { - "line": 5, - "column": 57 + "line": 4, + "column": 59 }, "end": { - "line": 5, - "column": 58 + "line": 4, + "column": 60 } } }, @@ -2253,16 +1672,16 @@ "postfix": false, "binop": null }, - "start": 228, - "end": 229, + "start": 189, + "end": 190, "loc": { "start": { - "line": 5, - "column": 58 + "line": 4, + "column": 60 }, "end": { - "line": 5, - "column": 59 + "line": 4, + "column": 61 } } }, @@ -2280,16 +1699,16 @@ "updateContext": null }, "value": "|", - "start": 230, - "end": 231, + "start": 191, + "end": 192, "loc": { "start": { - "line": 5, - "column": 60 + "line": 4, + "column": 62 }, "end": { - "line": 5, - "column": 61 + "line": 4, + "column": 63 } } }, @@ -2307,16 +1726,16 @@ "updateContext": null }, "value": 0, - "start": 232, - "end": 233, + "start": 193, + "end": 194, "loc": { "start": { - "line": 5, - "column": 62 + "line": 4, + "column": 64 }, "end": { - "line": 5, - "column": 63 + "line": 4, + "column": 65 } } }, @@ -2333,16 +1752,16 @@ "binop": null, "updateContext": null }, - "start": 233, - "end": 234, + "start": 194, + "end": 195, "loc": { "start": { - "line": 5, - "column": 63 + "line": 4, + "column": 65 }, "end": { - "line": 5, - "column": 64 + "line": 4, + "column": 66 } } }, @@ -2359,15 +1778,15 @@ "binop": null, "updateContext": null }, - "start": 235, - "end": 235, + "start": 196, + "end": 196, "loc": { "start": { - "line": 6, + "line": 5, "column": 0 }, "end": { - "line": 6, + "line": 5, "column": 0 } } diff --git a/ast/source/index.js.json b/ast/source/index.js.json index b1cf499..9eb7d58 100644 --- a/ast/source/index.js.json +++ b/ast/source/index.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 266, + "end": 282, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 266, + "end": 282, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "ExportAllDeclaration", "start": 0, - "end": 40, + "end": 42, "loc": { "start": { "line": 1, @@ -39,13 +39,13 @@ }, "end": { "line": 1, - "column": 40 + "column": 42 } }, "source": { "type": "StringLiteral", "start": 14, - "end": 38, + "end": 41, "loc": { "start": { "line": 1, @@ -53,20 +53,20 @@ }, "end": { "line": 1, - "column": 38 + "column": 41 } }, "extra": { - "rawValue": "./DEFAULT_DISPLAY_BASE", - "raw": "'./DEFAULT_DISPLAY_BASE'" + "rawValue": "./DEFAULT_DISPLAY_BASE.js", + "raw": "'./DEFAULT_DISPLAY_BASE.js'" }, - "value": "./DEFAULT_DISPLAY_BASE" + "value": "./DEFAULT_DISPLAY_BASE.js" } }, { "type": "ExportAllDeclaration", - "start": 41, - "end": 88, + "start": 43, + "end": 92, "loc": { "start": { "line": 2, @@ -74,13 +74,13 @@ }, "end": { "line": 2, - "column": 47 + "column": 49 } }, "source": { "type": "StringLiteral", - "start": 55, - "end": 86, + "start": 57, + "end": 91, "loc": { "start": { "line": 2, @@ -88,20 +88,20 @@ }, "end": { "line": 2, - "column": 45 + "column": 48 } }, "extra": { - "rawValue": "./DEFAULT_REPRESENTATION_BASE", - "raw": "'./DEFAULT_REPRESENTATION_BASE'" + "rawValue": "./DEFAULT_REPRESENTATION_BASE.js", + "raw": "'./DEFAULT_REPRESENTATION_BASE.js'" }, - "value": "./DEFAULT_REPRESENTATION_BASE" + "value": "./DEFAULT_REPRESENTATION_BASE.js" } }, { "type": "ExportAllDeclaration", - "start": 89, - "end": 116, + "start": 93, + "end": 122, "loc": { "start": { "line": 3, @@ -109,13 +109,13 @@ }, "end": { "line": 3, - "column": 27 + "column": 29 } }, "source": { "type": "StringLiteral", - "start": 103, - "end": 114, + "start": 107, + "end": 121, "loc": { "start": { "line": 3, @@ -123,20 +123,20 @@ }, "end": { "line": 3, - "column": 25 + "column": 28 } }, "extra": { - "rawValue": "./Integer", - "raw": "'./Integer'" + "rawValue": "./Integer.js", + "raw": "'./Integer.js'" }, - "value": "./Integer" + "value": "./Integer.js" } }, { "type": "ExportAllDeclaration", - "start": 117, - "end": 148, + "start": 123, + "end": 156, "loc": { "start": { "line": 4, @@ -144,13 +144,13 @@ }, "end": { "line": 4, - "column": 31 + "column": 33 } }, "source": { "type": "StringLiteral", - "start": 131, - "end": 146, + "start": 137, + "end": 155, "loc": { "start": { "line": 4, @@ -158,20 +158,20 @@ }, "end": { "line": 4, - "column": 29 + "column": 32 } }, "extra": { - "rawValue": "./IntegerRing", - "raw": "'./IntegerRing'" + "rawValue": "./IntegerRing.js", + "raw": "'./IntegerRing.js'" }, - "value": "./IntegerRing" + "value": "./IntegerRing.js" } }, { "type": "ExportAllDeclaration", - "start": 149, - "end": 171, + "start": 157, + "end": 181, "loc": { "start": { "line": 5, @@ -179,13 +179,13 @@ }, "end": { "line": 5, - "column": 22 + "column": 24 } }, "source": { "type": "StringLiteral", - "start": 163, - "end": 169, + "start": 171, + "end": 180, "loc": { "start": { "line": 5, @@ -193,20 +193,20 @@ }, "end": { "line": 5, - "column": 20 + "column": 23 } }, "extra": { - "rawValue": "./ZZ", - "raw": "'./ZZ'" + "rawValue": "./ZZ.js", + "raw": "'./ZZ.js'" }, - "value": "./ZZ" + "value": "./ZZ.js" } }, { "type": "ExportAllDeclaration", - "start": 172, - "end": 209, + "start": 182, + "end": 221, "loc": { "start": { "line": 6, @@ -214,13 +214,13 @@ }, "end": { "line": 6, - "column": 37 + "column": 39 } }, "source": { "type": "StringLiteral", - "start": 186, - "end": 207, + "start": 196, + "end": 220, "loc": { "start": { "line": 6, @@ -228,20 +228,20 @@ }, "end": { "line": 6, - "column": 35 + "column": 38 } }, "extra": { - "rawValue": "./ZeroDivisionError", - "raw": "'./ZeroDivisionError'" + "rawValue": "./ZeroDivisionError.js", + "raw": "'./ZeroDivisionError.js'" }, - "value": "./ZeroDivisionError" + "value": "./ZeroDivisionError.js" } }, { "type": "ExportAllDeclaration", - "start": 210, - "end": 237, + "start": 222, + "end": 251, "loc": { "start": { "line": 7, @@ -249,13 +249,13 @@ }, "end": { "line": 7, - "column": 27 + "column": 29 } }, "source": { "type": "StringLiteral", - "start": 224, - "end": 235, + "start": 236, + "end": 250, "loc": { "start": { "line": 7, @@ -263,20 +263,20 @@ }, "end": { "line": 7, - "column": 25 + "column": 28 } }, "extra": { - "rawValue": "./integer", - "raw": "'./integer'" + "rawValue": "./integer.js", + "raw": "'./integer.js'" }, - "value": "./integer" + "value": "./integer.js" } }, { "type": "ExportAllDeclaration", - "start": 238, - "end": 265, + "start": 252, + "end": 281, "loc": { "start": { "line": 8, @@ -284,13 +284,13 @@ }, "end": { "line": 8, - "column": 27 + "column": 29 } }, "source": { "type": "StringLiteral", - "start": 252, - "end": 263, + "start": 266, + "end": 280, "loc": { "start": { "line": 8, @@ -298,14 +298,14 @@ }, "end": { "line": 8, - "column": 25 + "column": 28 } }, "extra": { - "rawValue": "./_limits", - "raw": "'./_limits'" + "rawValue": "./_limits.js", + "raw": "'./_limits.js'" }, - "value": "./_limits" + "value": "./_limits.js" } } ], @@ -407,9 +407,9 @@ "binop": null, "updateContext": null }, - "value": "./DEFAULT_DISPLAY_BASE", + "value": "./DEFAULT_DISPLAY_BASE.js", "start": 14, - "end": 38, + "end": 41, "loc": { "start": { "line": 1, @@ -417,7 +417,7 @@ }, "end": { "line": 1, - "column": 38 + "column": 41 } } }, @@ -434,16 +434,16 @@ "binop": null, "updateContext": null }, - "start": 39, - "end": 40, + "start": 41, + "end": 42, "loc": { "start": { "line": 1, - "column": 39 + "column": 41 }, "end": { "line": 1, - "column": 40 + "column": 42 } } }, @@ -462,8 +462,8 @@ "updateContext": null }, "value": "export", - "start": 41, - "end": 47, + "start": 43, + "end": 49, "loc": { "start": { "line": 2, @@ -489,8 +489,8 @@ "updateContext": null }, "value": "*", - "start": 48, - "end": 49, + "start": 50, + "end": 51, "loc": { "start": { "line": 2, @@ -515,8 +515,8 @@ "binop": null }, "value": "from", - "start": 50, - "end": 54, + "start": 52, + "end": 56, "loc": { "start": { "line": 2, @@ -541,9 +541,9 @@ "binop": null, "updateContext": null }, - "value": "./DEFAULT_REPRESENTATION_BASE", - "start": 55, - "end": 86, + "value": "./DEFAULT_REPRESENTATION_BASE.js", + "start": 57, + "end": 91, "loc": { "start": { "line": 2, @@ -551,7 +551,7 @@ }, "end": { "line": 2, - "column": 45 + "column": 48 } } }, @@ -568,16 +568,16 @@ "binop": null, "updateContext": null }, - "start": 87, - "end": 88, + "start": 91, + "end": 92, "loc": { "start": { "line": 2, - "column": 46 + "column": 48 }, "end": { "line": 2, - "column": 47 + "column": 49 } } }, @@ -596,8 +596,8 @@ "updateContext": null }, "value": "export", - "start": 89, - "end": 95, + "start": 93, + "end": 99, "loc": { "start": { "line": 3, @@ -623,8 +623,8 @@ "updateContext": null }, "value": "*", - "start": 96, - "end": 97, + "start": 100, + "end": 101, "loc": { "start": { "line": 3, @@ -649,8 +649,8 @@ "binop": null }, "value": "from", - "start": 98, - "end": 102, + "start": 102, + "end": 106, "loc": { "start": { "line": 3, @@ -675,9 +675,9 @@ "binop": null, "updateContext": null }, - "value": "./Integer", - "start": 103, - "end": 114, + "value": "./Integer.js", + "start": 107, + "end": 121, "loc": { "start": { "line": 3, @@ -685,7 +685,7 @@ }, "end": { "line": 3, - "column": 25 + "column": 28 } } }, @@ -702,16 +702,16 @@ "binop": null, "updateContext": null }, - "start": 115, - "end": 116, + "start": 121, + "end": 122, "loc": { "start": { "line": 3, - "column": 26 + "column": 28 }, "end": { "line": 3, - "column": 27 + "column": 29 } } }, @@ -730,8 +730,8 @@ "updateContext": null }, "value": "export", - "start": 117, - "end": 123, + "start": 123, + "end": 129, "loc": { "start": { "line": 4, @@ -757,8 +757,8 @@ "updateContext": null }, "value": "*", - "start": 124, - "end": 125, + "start": 130, + "end": 131, "loc": { "start": { "line": 4, @@ -783,8 +783,8 @@ "binop": null }, "value": "from", - "start": 126, - "end": 130, + "start": 132, + "end": 136, "loc": { "start": { "line": 4, @@ -809,9 +809,9 @@ "binop": null, "updateContext": null }, - "value": "./IntegerRing", - "start": 131, - "end": 146, + "value": "./IntegerRing.js", + "start": 137, + "end": 155, "loc": { "start": { "line": 4, @@ -819,7 +819,7 @@ }, "end": { "line": 4, - "column": 29 + "column": 32 } } }, @@ -836,16 +836,16 @@ "binop": null, "updateContext": null }, - "start": 147, - "end": 148, + "start": 155, + "end": 156, "loc": { "start": { "line": 4, - "column": 30 + "column": 32 }, "end": { "line": 4, - "column": 31 + "column": 33 } } }, @@ -864,8 +864,8 @@ "updateContext": null }, "value": "export", - "start": 149, - "end": 155, + "start": 157, + "end": 163, "loc": { "start": { "line": 5, @@ -891,8 +891,8 @@ "updateContext": null }, "value": "*", - "start": 156, - "end": 157, + "start": 164, + "end": 165, "loc": { "start": { "line": 5, @@ -917,8 +917,8 @@ "binop": null }, "value": "from", - "start": 158, - "end": 162, + "start": 166, + "end": 170, "loc": { "start": { "line": 5, @@ -943,9 +943,9 @@ "binop": null, "updateContext": null }, - "value": "./ZZ", - "start": 163, - "end": 169, + "value": "./ZZ.js", + "start": 171, + "end": 180, "loc": { "start": { "line": 5, @@ -953,7 +953,7 @@ }, "end": { "line": 5, - "column": 20 + "column": 23 } } }, @@ -970,16 +970,16 @@ "binop": null, "updateContext": null }, - "start": 170, - "end": 171, + "start": 180, + "end": 181, "loc": { "start": { "line": 5, - "column": 21 + "column": 23 }, "end": { "line": 5, - "column": 22 + "column": 24 } } }, @@ -998,8 +998,8 @@ "updateContext": null }, "value": "export", - "start": 172, - "end": 178, + "start": 182, + "end": 188, "loc": { "start": { "line": 6, @@ -1025,8 +1025,8 @@ "updateContext": null }, "value": "*", - "start": 179, - "end": 180, + "start": 189, + "end": 190, "loc": { "start": { "line": 6, @@ -1051,8 +1051,8 @@ "binop": null }, "value": "from", - "start": 181, - "end": 185, + "start": 191, + "end": 195, "loc": { "start": { "line": 6, @@ -1077,9 +1077,9 @@ "binop": null, "updateContext": null }, - "value": "./ZeroDivisionError", - "start": 186, - "end": 207, + "value": "./ZeroDivisionError.js", + "start": 196, + "end": 220, "loc": { "start": { "line": 6, @@ -1087,7 +1087,7 @@ }, "end": { "line": 6, - "column": 35 + "column": 38 } } }, @@ -1104,16 +1104,16 @@ "binop": null, "updateContext": null }, - "start": 208, - "end": 209, + "start": 220, + "end": 221, "loc": { "start": { "line": 6, - "column": 36 + "column": 38 }, "end": { "line": 6, - "column": 37 + "column": 39 } } }, @@ -1132,8 +1132,8 @@ "updateContext": null }, "value": "export", - "start": 210, - "end": 216, + "start": 222, + "end": 228, "loc": { "start": { "line": 7, @@ -1159,8 +1159,8 @@ "updateContext": null }, "value": "*", - "start": 217, - "end": 218, + "start": 229, + "end": 230, "loc": { "start": { "line": 7, @@ -1185,8 +1185,8 @@ "binop": null }, "value": "from", - "start": 219, - "end": 223, + "start": 231, + "end": 235, "loc": { "start": { "line": 7, @@ -1211,9 +1211,9 @@ "binop": null, "updateContext": null }, - "value": "./integer", - "start": 224, - "end": 235, + "value": "./integer.js", + "start": 236, + "end": 250, "loc": { "start": { "line": 7, @@ -1221,7 +1221,7 @@ }, "end": { "line": 7, - "column": 25 + "column": 28 } } }, @@ -1238,16 +1238,16 @@ "binop": null, "updateContext": null }, - "start": 236, - "end": 237, + "start": 250, + "end": 251, "loc": { "start": { "line": 7, - "column": 26 + "column": 28 }, "end": { "line": 7, - "column": 27 + "column": 29 } } }, @@ -1266,8 +1266,8 @@ "updateContext": null }, "value": "export", - "start": 238, - "end": 244, + "start": 252, + "end": 258, "loc": { "start": { "line": 8, @@ -1293,8 +1293,8 @@ "updateContext": null }, "value": "*", - "start": 245, - "end": 246, + "start": 259, + "end": 260, "loc": { "start": { "line": 8, @@ -1319,8 +1319,8 @@ "binop": null }, "value": "from", - "start": 247, - "end": 251, + "start": 261, + "end": 265, "loc": { "start": { "line": 8, @@ -1345,9 +1345,9 @@ "binop": null, "updateContext": null }, - "value": "./_limits", - "start": 252, - "end": 263, + "value": "./_limits.js", + "start": 266, + "end": 280, "loc": { "start": { "line": 8, @@ -1355,7 +1355,7 @@ }, "end": { "line": 8, - "column": 25 + "column": 28 } } }, @@ -1372,16 +1372,16 @@ "binop": null, "updateContext": null }, - "start": 264, - "end": 265, + "start": 280, + "end": 281, "loc": { "start": { "line": 8, - "column": 26 + "column": 28 }, "end": { "line": 8, - "column": 27 + "column": 29 } } }, @@ -1398,8 +1398,8 @@ "binop": null, "updateContext": null }, - "start": 266, - "end": 266, + "start": 282, + "end": 282, "loc": { "start": { "line": 9, diff --git a/ast/source/integer.js.json b/ast/source/integer.js.json index 431954f..2333724 100644 --- a/ast/source/integer.js.json +++ b/ast/source/integer.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 2517, + "end": 2394, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 134, + "line": 135, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 2517, + "end": 2394, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 134, + "line": 135, "column": 0 } }, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 48, + "end": 63, "loc": { "start": { "line": 1, @@ -39,36 +39,36 @@ }, "end": { "line": 1, - "column": 48 + "column": 63 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 9, - "end": 29, + "start": 8, + "end": 28, "loc": { "start": { "line": 1, - "column": 9 + "column": 8 }, "end": { "line": 1, - "column": 29 + "column": 28 } }, "imported": { "type": "Identifier", - "start": 9, - "end": 29, + "start": 8, + "end": 28, "loc": { "start": { "line": 1, - "column": 9 + "column": 8 }, "end": { "line": 1, - "column": 29 + "column": 28 }, "identifierName": "DEFAULT_DISPLAY_BASE" }, @@ -76,48 +76,85 @@ }, "local": { "type": "Identifier", - "start": 9, - "end": 29, + "start": 8, + "end": 28, "loc": { "start": { "line": 1, - "column": 9 + "column": 8 }, "end": { "line": 1, - "column": 29 + "column": 28 }, "identifierName": "DEFAULT_DISPLAY_BASE" }, "name": "DEFAULT_DISPLAY_BASE" } + } + ], + "source": { + "type": "StringLiteral", + "start": 35, + "end": 62, + "loc": { + "start": { + "line": 1, + "column": 35 + }, + "end": { + "line": 1, + "column": 62 + } + }, + "extra": { + "rawValue": "./DEFAULT_DISPLAY_BASE.js", + "raw": "'./DEFAULT_DISPLAY_BASE.js'" + }, + "value": "./DEFAULT_DISPLAY_BASE.js" + } + }, + { + "type": "ImportDeclaration", + "start": 64, + "end": 91, + "loc": { + "start": { + "line": 2, + "column": 0 }, + "end": { + "line": 2, + "column": 27 + } + }, + "specifiers": [ { "type": "ImportSpecifier", - "start": 32, - "end": 34, + "start": 72, + "end": 74, "loc": { "start": { - "line": 1, - "column": 32 + "line": 2, + "column": 8 }, "end": { - "line": 1, - "column": 34 + "line": 2, + "column": 10 } }, "imported": { "type": "Identifier", - "start": 32, - "end": 34, + "start": 72, + "end": 74, "loc": { "start": { - "line": 1, - "column": 32 + "line": 2, + "column": 8 }, "end": { - "line": 1, - "column": 34 + "line": 2, + "column": 10 }, "identifierName": "ZZ" }, @@ -125,16 +162,16 @@ }, "local": { "type": "Identifier", - "start": 32, - "end": 34, + "start": 72, + "end": 74, "loc": { "start": { - "line": 1, - "column": 32 + "line": 2, + "column": 8 }, "end": { - "line": 1, - "column": 34 + "line": 2, + "column": 10 }, "identifierName": "ZZ" }, @@ -144,36 +181,36 @@ ], "source": { "type": "StringLiteral", - "start": 42, - "end": 46, + "start": 81, + "end": 90, "loc": { "start": { - "line": 1, - "column": 42 + "line": 2, + "column": 17 }, "end": { - "line": 1, - "column": 46 + "line": 2, + "column": 26 } }, "extra": { - "rawValue": "./", - "raw": "'./'" + "rawValue": "./ZZ.js", + "raw": "'./ZZ.js'" }, - "value": "./" + "value": "./ZZ.js" } }, { "type": "ExportNamedDeclaration", - "start": 50, - "end": 94, + "start": 93, + "end": 134, "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 5, + "line": 6, "column": 1 } }, @@ -181,29 +218,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 57, - "end": 94, + "start": 100, + "end": 134, "loc": { "start": { - "line": 3, + "line": 4, "column": 7 }, "end": { - "line": 5, + "line": 6, "column": 1 } }, "id": { "type": "Identifier", - "start": 66, - "end": 68, + "start": 109, + "end": 111, "loc": { "start": { - "line": 3, + "line": 4, "column": 16 }, "end": { - "line": 3, + "line": 4, "column": 18 }, "identifierName": "$0" @@ -216,72 +253,72 @@ "params": [], "body": { "type": "BlockStatement", - "start": 73, - "end": 94, + "start": 114, + "end": 134, "loc": { "start": { - "line": 3, - "column": 23 + "line": 4, + "column": 21 }, "end": { - "line": 5, + "line": 6, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 76, - "end": 92, + "start": 117, + "end": 132, "loc": { "start": { - "line": 4, + "line": 5, "column": 1 }, "end": { - "line": 4, - "column": 17 + "line": 5, + "column": 16 } }, "argument": { "type": "CallExpression", - "start": 83, - "end": 90, + "start": 124, + "end": 131, "loc": { "start": { - "line": 4, + "line": 5, "column": 8 }, "end": { - "line": 4, + "line": 5, "column": 15 } }, "callee": { "type": "MemberExpression", - "start": 83, - "end": 88, + "start": 124, + "end": 129, "loc": { "start": { - "line": 4, + "line": 5, "column": 8 }, "end": { - "line": 4, + "line": 5, "column": 13 } }, "object": { "type": "Identifier", - "start": 83, - "end": 85, + "start": 124, + "end": 126, "loc": { "start": { - "line": 4, + "line": 5, "column": 8 }, "end": { - "line": 4, + "line": 5, "column": 10 }, "identifierName": "ZZ" @@ -290,15 +327,15 @@ }, "property": { "type": "Identifier", - "start": 86, - "end": 88, + "start": 127, + "end": 129, "loc": { "start": { - "line": 4, + "line": 5, "column": 11 }, "end": { - "line": 4, + "line": 5, "column": 13 }, "identifierName": "$0" @@ -319,15 +356,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 96, - "end": 140, + "start": 136, + "end": 177, "loc": { "start": { - "line": 7, + "line": 8, "column": 0 }, "end": { - "line": 9, + "line": 10, "column": 1 } }, @@ -335,29 +372,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 103, - "end": 140, + "start": 143, + "end": 177, "loc": { "start": { - "line": 7, + "line": 8, "column": 7 }, "end": { - "line": 9, + "line": 10, "column": 1 } }, "id": { "type": "Identifier", - "start": 112, - "end": 114, + "start": 152, + "end": 154, "loc": { "start": { - "line": 7, + "line": 8, "column": 16 }, "end": { - "line": 7, + "line": 8, "column": 18 }, "identifierName": "$1" @@ -370,72 +407,72 @@ "params": [], "body": { "type": "BlockStatement", - "start": 119, - "end": 140, + "start": 157, + "end": 177, "loc": { "start": { - "line": 7, - "column": 23 + "line": 8, + "column": 21 }, "end": { - "line": 9, + "line": 10, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 122, - "end": 138, + "start": 160, + "end": 175, "loc": { "start": { - "line": 8, + "line": 9, "column": 1 }, "end": { - "line": 8, - "column": 17 + "line": 9, + "column": 16 } }, "argument": { "type": "CallExpression", - "start": 129, - "end": 136, + "start": 167, + "end": 174, "loc": { "start": { - "line": 8, + "line": 9, "column": 8 }, "end": { - "line": 8, + "line": 9, "column": 15 } }, "callee": { "type": "MemberExpression", - "start": 129, - "end": 134, + "start": 167, + "end": 172, "loc": { "start": { - "line": 8, + "line": 9, "column": 8 }, "end": { - "line": 8, + "line": 9, "column": 13 } }, "object": { "type": "Identifier", - "start": 129, - "end": 131, + "start": 167, + "end": 169, "loc": { "start": { - "line": 8, + "line": 9, "column": 8 }, "end": { - "line": 8, + "line": 9, "column": 10 }, "identifierName": "ZZ" @@ -444,15 +481,15 @@ }, "property": { "type": "Identifier", - "start": 132, - "end": 134, + "start": 170, + "end": 172, "loc": { "start": { - "line": 8, + "line": 9, "column": 11 }, "end": { - "line": 8, + "line": 9, "column": 13 }, "identifierName": "$1" @@ -473,15 +510,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 142, - "end": 188, + "start": 179, + "end": 222, "loc": { "start": { - "line": 11, + "line": 12, "column": 0 }, "end": { - "line": 13, + "line": 14, "column": 1 } }, @@ -489,29 +526,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 149, - "end": 188, + "start": 186, + "end": 222, "loc": { "start": { - "line": 11, + "line": 12, "column": 7 }, "end": { - "line": 13, + "line": 14, "column": 1 } }, "id": { "type": "Identifier", - "start": 158, - "end": 161, + "start": 195, + "end": 198, "loc": { "start": { - "line": 11, + "line": 12, "column": 16 }, "end": { - "line": 11, + "line": 12, "column": 19 }, "identifierName": "$_1" @@ -524,72 +561,72 @@ "params": [], "body": { "type": "BlockStatement", - "start": 166, - "end": 188, + "start": 201, + "end": 222, "loc": { "start": { - "line": 11, - "column": 24 + "line": 12, + "column": 22 }, "end": { - "line": 13, + "line": 14, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 169, - "end": 186, + "start": 204, + "end": 220, "loc": { "start": { - "line": 12, + "line": 13, "column": 1 }, "end": { - "line": 12, - "column": 18 + "line": 13, + "column": 17 } }, "argument": { "type": "CallExpression", - "start": 176, - "end": 184, + "start": 211, + "end": 219, "loc": { "start": { - "line": 12, + "line": 13, "column": 8 }, "end": { - "line": 12, + "line": 13, "column": 16 } }, "callee": { "type": "MemberExpression", - "start": 176, - "end": 182, + "start": 211, + "end": 217, "loc": { "start": { - "line": 12, + "line": 13, "column": 8 }, "end": { - "line": 12, + "line": 13, "column": 14 } }, "object": { "type": "Identifier", - "start": 176, - "end": 178, + "start": 211, + "end": 213, "loc": { "start": { - "line": 12, + "line": 13, "column": 8 }, "end": { - "line": 12, + "line": 13, "column": 10 }, "identifierName": "ZZ" @@ -598,15 +635,15 @@ }, "property": { "type": "Identifier", - "start": 179, - "end": 182, + "start": 214, + "end": 217, "loc": { "start": { - "line": 12, + "line": 13, "column": 11 }, "end": { - "line": 12, + "line": 13, "column": 14 }, "identifierName": "$_1" @@ -627,15 +664,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 190, - "end": 312, + "start": 224, + "end": 336, "loc": { "start": { - "line": 15, + "line": 16, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 1 } }, @@ -643,29 +680,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 197, - "end": 312, + "start": 231, + "end": 336, "loc": { "start": { - "line": 15, + "line": 16, "column": 7 }, "end": { - "line": 17, + "line": 18, "column": 1 } }, "id": { "type": "Identifier", - "start": 206, - "end": 211, + "start": 240, + "end": 245, "loc": { "start": { - "line": 15, + "line": 16, "column": 16 }, "end": { - "line": 15, + "line": 16, "column": 21 }, "identifierName": "parse" @@ -678,16 +715,16 @@ "params": [ { "type": "Identifier", - "start": 214, - "end": 220, + "start": 246, + "end": 252, "loc": { "start": { - "line": 15, - "column": 24 + "line": 16, + "column": 22 }, "end": { - "line": 15, - "column": 30 + "line": 16, + "column": 28 }, "identifierName": "object" }, @@ -695,30 +732,30 @@ }, { "type": "AssignmentPattern", - "start": 223, - "end": 239, + "start": 254, + "end": 270, "loc": { "start": { - "line": 15, - "column": 33 + "line": 16, + "column": 30 }, "end": { - "line": 15, - "column": 49 + "line": 16, + "column": 46 } }, "left": { "type": "Identifier", - "start": 223, - "end": 227, + "start": 254, + "end": 258, "loc": { "start": { - "line": 15, - "column": 33 + "line": 16, + "column": 30 }, "end": { - "line": 15, - "column": 37 + "line": 16, + "column": 34 }, "identifierName": "base" }, @@ -726,16 +763,16 @@ }, "right": { "type": "Identifier", - "start": 230, - "end": 239, + "start": 261, + "end": 270, "loc": { "start": { - "line": 15, - "column": 40 + "line": 16, + "column": 37 }, "end": { - "line": 15, - "column": 49 + "line": 16, + "column": 46 }, "identifierName": "undefined" }, @@ -744,30 +781,30 @@ }, { "type": "AssignmentPattern", - "start": 242, - "end": 257, + "start": 272, + "end": 287, "loc": { "start": { - "line": 15, - "column": 52 + "line": 16, + "column": 48 }, "end": { - "line": 15, - "column": 67 + "line": 16, + "column": 63 } }, "left": { "type": "Identifier", - "start": 242, - "end": 253, + "start": 272, + "end": 283, "loc": { "start": { - "line": 15, - "column": 52 + "line": 16, + "column": 48 }, "end": { - "line": 15, - "column": 63 + "line": 16, + "column": 59 }, "identifierName": "is_negative" }, @@ -775,16 +812,16 @@ }, "right": { "type": "NumericLiteral", - "start": 256, - "end": 257, + "start": 286, + "end": 287, "loc": { "start": { - "line": 15, - "column": 66 + "line": 16, + "column": 62 }, "end": { - "line": 15, - "column": 67 + "line": 16, + "column": 63 } }, "extra": { @@ -797,72 +834,72 @@ ], "body": { "type": "BlockStatement", - "start": 260, - "end": 312, + "start": 289, + "end": 336, "loc": { "start": { - "line": 15, - "column": 70 + "line": 16, + "column": 65 }, "end": { - "line": 17, + "line": 18, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 263, - "end": 310, + "start": 292, + "end": 334, "loc": { "start": { - "line": 16, + "line": 17, "column": 1 }, "end": { - "line": 16, - "column": 48 + "line": 17, + "column": 43 } }, "argument": { "type": "CallExpression", - "start": 270, - "end": 308, + "start": 299, + "end": 333, "loc": { "start": { - "line": 16, + "line": 17, "column": 8 }, "end": { - "line": 16, - "column": 46 + "line": 17, + "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 270, - "end": 277, + "start": 299, + "end": 306, "loc": { "start": { - "line": 16, + "line": 17, "column": 8 }, "end": { - "line": 16, + "line": 17, "column": 15 } }, "object": { "type": "Identifier", - "start": 270, - "end": 272, + "start": 299, + "end": 301, "loc": { "start": { - "line": 16, + "line": 17, "column": 8 }, "end": { - "line": 16, + "line": 17, "column": 10 }, "identifierName": "ZZ" @@ -871,15 +908,15 @@ }, "property": { "type": "Identifier", - "start": 273, - "end": 277, + "start": 302, + "end": 306, "loc": { "start": { - "line": 16, + "line": 17, "column": 11 }, "end": { - "line": 16, + "line": 17, "column": 15 }, "identifierName": "from" @@ -891,16 +928,16 @@ "arguments": [ { "type": "Identifier", - "start": 279, - "end": 285, + "start": 307, + "end": 313, "loc": { "start": { - "line": 16, - "column": 17 + "line": 17, + "column": 16 }, "end": { - "line": 16, - "column": 23 + "line": 17, + "column": 22 }, "identifierName": "object" }, @@ -908,16 +945,16 @@ }, { "type": "Identifier", - "start": 288, - "end": 292, + "start": 315, + "end": 319, "loc": { "start": { - "line": 16, - "column": 26 + "line": 17, + "column": 24 }, "end": { - "line": 16, - "column": 30 + "line": 17, + "column": 28 }, "identifierName": "base" }, @@ -925,16 +962,16 @@ }, { "type": "Identifier", - "start": 295, - "end": 306, + "start": 321, + "end": 332, "loc": { "start": { - "line": 16, - "column": 33 + "line": 17, + "column": 30 }, "end": { - "line": 16, - "column": 44 + "line": 17, + "column": 41 }, "identifierName": "is_negative" }, @@ -952,15 +989,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 314, - "end": 420, + "start": 338, + "end": 437, "loc": { "start": { - "line": 19, + "line": 20, "column": 0 }, "end": { - "line": 21, + "line": 22, "column": 1 } }, @@ -968,29 +1005,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 321, - "end": 420, + "start": 345, + "end": 437, "loc": { "start": { - "line": 19, + "line": 20, "column": 7 }, "end": { - "line": 21, + "line": 22, "column": 1 } }, "id": { "type": "Identifier", - "start": 330, - "end": 339, + "start": 354, + "end": 363, "loc": { "start": { - "line": 19, + "line": 20, "column": 16 }, "end": { - "line": 19, + "line": 20, "column": 25 }, "identifierName": "stringify" @@ -1003,16 +1040,16 @@ "params": [ { "type": "Identifier", - "start": 342, - "end": 349, + "start": 364, + "end": 371, "loc": { "start": { - "line": 19, - "column": 28 + "line": 20, + "column": 26 }, "end": { - "line": 19, - "column": 35 + "line": 20, + "column": 33 }, "identifierName": "integer" }, @@ -1020,30 +1057,30 @@ }, { "type": "AssignmentPattern", - "start": 352, - "end": 379, + "start": 373, + "end": 400, "loc": { "start": { - "line": 19, - "column": 38 + "line": 20, + "column": 35 }, "end": { - "line": 19, - "column": 65 + "line": 20, + "column": 62 } }, "left": { "type": "Identifier", - "start": 352, - "end": 356, + "start": 373, + "end": 377, "loc": { "start": { - "line": 19, - "column": 38 + "line": 20, + "column": 35 }, "end": { - "line": 19, - "column": 42 + "line": 20, + "column": 39 }, "identifierName": "base" }, @@ -1051,16 +1088,16 @@ }, "right": { "type": "Identifier", - "start": 359, - "end": 379, + "start": 380, + "end": 400, "loc": { "start": { - "line": 19, - "column": 45 + "line": 20, + "column": 42 }, "end": { - "line": 19, - "column": 65 + "line": 20, + "column": 62 }, "identifierName": "DEFAULT_DISPLAY_BASE" }, @@ -1070,72 +1107,72 @@ ], "body": { "type": "BlockStatement", - "start": 382, - "end": 420, + "start": 402, + "end": 437, "loc": { "start": { - "line": 19, - "column": 68 + "line": 20, + "column": 64 }, "end": { - "line": 21, + "line": 22, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 385, - "end": 418, + "start": 405, + "end": 435, "loc": { "start": { - "line": 20, + "line": 21, "column": 1 }, "end": { - "line": 20, - "column": 34 + "line": 21, + "column": 31 } }, "argument": { "type": "CallExpression", - "start": 392, - "end": 416, + "start": 412, + "end": 434, "loc": { "start": { - "line": 20, + "line": 21, "column": 8 }, "end": { - "line": 20, - "column": 32 + "line": 21, + "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 392, - "end": 408, + "start": 412, + "end": 428, "loc": { "start": { - "line": 20, + "line": 21, "column": 8 }, "end": { - "line": 20, + "line": 21, "column": 24 } }, "object": { "type": "Identifier", - "start": 392, - "end": 399, + "start": 412, + "end": 419, "loc": { "start": { - "line": 20, + "line": 21, "column": 8 }, "end": { - "line": 20, + "line": 21, "column": 15 }, "identifierName": "integer" @@ -1144,15 +1181,15 @@ }, "property": { "type": "Identifier", - "start": 400, - "end": 408, + "start": 420, + "end": 428, "loc": { "start": { - "line": 20, + "line": 21, "column": 16 }, "end": { - "line": 20, + "line": 21, "column": 24 }, "identifierName": "toString" @@ -1164,16 +1201,16 @@ "arguments": [ { "type": "Identifier", - "start": 410, - "end": 414, + "start": 429, + "end": 433, "loc": { "start": { - "line": 20, - "column": 26 + "line": 21, + "column": 25 }, "end": { - "line": 20, - "column": 30 + "line": 21, + "column": 29 }, "identifierName": "base" }, @@ -1191,15 +1228,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 422, - "end": 492, + "start": 439, + "end": 504, "loc": { "start": { - "line": 23, + "line": 24, "column": 0 }, "end": { - "line": 25, + "line": 26, "column": 1 } }, @@ -1207,29 +1244,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 429, - "end": 492, + "start": 446, + "end": 504, "loc": { "start": { - "line": 23, + "line": 24, "column": 7 }, "end": { - "line": 25, + "line": 26, "column": 1 } }, "id": { "type": "Identifier", - "start": 438, - "end": 441, + "start": 455, + "end": 458, "loc": { "start": { - "line": 23, + "line": 24, "column": 16 }, "end": { - "line": 23, + "line": 24, "column": 19 }, "identifierName": "add" @@ -1242,16 +1279,16 @@ "params": [ { "type": "Identifier", - "start": 444, - "end": 449, + "start": 459, + "end": 464, "loc": { "start": { - "line": 23, - "column": 22 + "line": 24, + "column": 20 }, "end": { - "line": 23, - "column": 27 + "line": 24, + "column": 25 }, "identifierName": "first" }, @@ -1259,16 +1296,16 @@ }, { "type": "Identifier", - "start": 452, - "end": 458, + "start": 466, + "end": 472, "loc": { "start": { - "line": 23, - "column": 30 + "line": 24, + "column": 27 }, "end": { - "line": 23, - "column": 36 + "line": 24, + "column": 33 }, "identifierName": "second" }, @@ -1277,72 +1314,72 @@ ], "body": { "type": "BlockStatement", - "start": 461, - "end": 492, + "start": 474, + "end": 504, "loc": { "start": { - "line": 23, - "column": 39 + "line": 24, + "column": 35 }, "end": { - "line": 25, + "line": 26, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 464, - "end": 490, + "start": 477, + "end": 502, "loc": { "start": { - "line": 24, + "line": 25, "column": 1 }, "end": { - "line": 24, - "column": 27 + "line": 25, + "column": 26 } }, "argument": { "type": "CallExpression", - "start": 471, - "end": 488, + "start": 484, + "end": 501, "loc": { "start": { - "line": 24, + "line": 25, "column": 8 }, "end": { - "line": 24, + "line": 25, "column": 25 } }, "callee": { "type": "MemberExpression", - "start": 471, - "end": 480, + "start": 484, + "end": 493, "loc": { "start": { - "line": 24, + "line": 25, "column": 8 }, "end": { - "line": 24, + "line": 25, "column": 17 } }, "object": { "type": "Identifier", - "start": 471, - "end": 476, + "start": 484, + "end": 489, "loc": { "start": { - "line": 24, + "line": 25, "column": 8 }, "end": { - "line": 24, + "line": 25, "column": 13 }, "identifierName": "first" @@ -1351,15 +1388,15 @@ }, "property": { "type": "Identifier", - "start": 477, - "end": 480, + "start": 490, + "end": 493, "loc": { "start": { - "line": 24, + "line": 25, "column": 14 }, "end": { - "line": 24, + "line": 25, "column": 17 }, "identifierName": "add" @@ -1371,15 +1408,15 @@ "arguments": [ { "type": "Identifier", - "start": 481, - "end": 487, + "start": 494, + "end": 500, "loc": { "start": { - "line": 24, + "line": 25, "column": 18 }, "end": { - "line": 24, + "line": 25, "column": 24 }, "identifierName": "second" @@ -1398,15 +1435,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 494, - "end": 566, + "start": 506, + "end": 573, "loc": { "start": { - "line": 27, + "line": 28, "column": 0 }, "end": { - "line": 29, + "line": 30, "column": 1 } }, @@ -1414,29 +1451,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 501, - "end": 566, + "start": 513, + "end": 573, "loc": { "start": { - "line": 27, + "line": 28, "column": 7 }, "end": { - "line": 29, + "line": 30, "column": 1 } }, "id": { "type": "Identifier", - "start": 510, - "end": 514, + "start": 522, + "end": 526, "loc": { "start": { - "line": 27, + "line": 28, "column": 16 }, "end": { - "line": 27, + "line": 28, "column": 20 }, "identifierName": "iadd" @@ -1449,16 +1486,16 @@ "params": [ { "type": "Identifier", - "start": 517, - "end": 522, + "start": 527, + "end": 532, "loc": { "start": { - "line": 27, - "column": 23 + "line": 28, + "column": 21 }, "end": { - "line": 27, - "column": 28 + "line": 28, + "column": 26 }, "identifierName": "first" }, @@ -1466,16 +1503,16 @@ }, { "type": "Identifier", - "start": 525, - "end": 531, + "start": 534, + "end": 540, "loc": { "start": { - "line": 27, - "column": 31 + "line": 28, + "column": 28 }, "end": { - "line": 27, - "column": 37 + "line": 28, + "column": 34 }, "identifierName": "second" }, @@ -1484,72 +1521,72 @@ ], "body": { "type": "BlockStatement", - "start": 534, - "end": 566, + "start": 542, + "end": 573, "loc": { "start": { - "line": 27, - "column": 40 + "line": 28, + "column": 36 }, "end": { - "line": 29, + "line": 30, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 537, - "end": 564, + "start": 545, + "end": 571, "loc": { "start": { - "line": 28, + "line": 29, "column": 1 }, "end": { - "line": 28, - "column": 28 + "line": 29, + "column": 27 } }, "argument": { "type": "CallExpression", - "start": 544, - "end": 562, + "start": 552, + "end": 570, "loc": { "start": { - "line": 28, + "line": 29, "column": 8 }, "end": { - "line": 28, + "line": 29, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 544, - "end": 554, + "start": 552, + "end": 562, "loc": { "start": { - "line": 28, + "line": 29, "column": 8 }, "end": { - "line": 28, + "line": 29, "column": 18 } }, "object": { "type": "Identifier", - "start": 544, - "end": 549, + "start": 552, + "end": 557, "loc": { "start": { - "line": 28, + "line": 29, "column": 8 }, "end": { - "line": 28, + "line": 29, "column": 13 }, "identifierName": "first" @@ -1558,15 +1595,15 @@ }, "property": { "type": "Identifier", - "start": 550, - "end": 554, + "start": 558, + "end": 562, "loc": { "start": { - "line": 28, + "line": 29, "column": 14 }, "end": { - "line": 28, + "line": 29, "column": 18 }, "identifierName": "iadd" @@ -1578,15 +1615,15 @@ "arguments": [ { "type": "Identifier", - "start": 555, - "end": 561, + "start": 563, + "end": 569, "loc": { "start": { - "line": 28, + "line": 29, "column": 19 }, "end": { - "line": 28, + "line": 29, "column": 25 }, "identifierName": "second" @@ -1605,15 +1642,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 568, - "end": 638, + "start": 575, + "end": 640, "loc": { "start": { - "line": 31, + "line": 32, "column": 0 }, "end": { - "line": 33, + "line": 34, "column": 1 } }, @@ -1621,29 +1658,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 575, - "end": 638, + "start": 582, + "end": 640, "loc": { "start": { - "line": 31, + "line": 32, "column": 7 }, "end": { - "line": 33, + "line": 34, "column": 1 } }, "id": { "type": "Identifier", - "start": 584, - "end": 587, + "start": 591, + "end": 594, "loc": { "start": { - "line": 31, + "line": 32, "column": 16 }, "end": { - "line": 31, + "line": 32, "column": 19 }, "identifierName": "sub" @@ -1656,16 +1693,16 @@ "params": [ { "type": "Identifier", - "start": 590, - "end": 595, + "start": 595, + "end": 600, "loc": { "start": { - "line": 31, - "column": 22 + "line": 32, + "column": 20 }, "end": { - "line": 31, - "column": 27 + "line": 32, + "column": 25 }, "identifierName": "first" }, @@ -1673,16 +1710,16 @@ }, { "type": "Identifier", - "start": 598, - "end": 604, + "start": 602, + "end": 608, "loc": { "start": { - "line": 31, - "column": 30 + "line": 32, + "column": 27 }, "end": { - "line": 31, - "column": 36 + "line": 32, + "column": 33 }, "identifierName": "second" }, @@ -1691,72 +1728,72 @@ ], "body": { "type": "BlockStatement", - "start": 607, - "end": 638, + "start": 610, + "end": 640, "loc": { "start": { - "line": 31, - "column": 39 + "line": 32, + "column": 35 }, "end": { - "line": 33, + "line": 34, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 610, - "end": 636, + "start": 613, + "end": 638, "loc": { "start": { - "line": 32, + "line": 33, "column": 1 }, "end": { - "line": 32, - "column": 27 + "line": 33, + "column": 26 } }, "argument": { "type": "CallExpression", - "start": 617, - "end": 634, + "start": 620, + "end": 637, "loc": { "start": { - "line": 32, + "line": 33, "column": 8 }, "end": { - "line": 32, + "line": 33, "column": 25 } }, "callee": { "type": "MemberExpression", - "start": 617, - "end": 626, + "start": 620, + "end": 629, "loc": { "start": { - "line": 32, + "line": 33, "column": 8 }, "end": { - "line": 32, + "line": 33, "column": 17 } }, "object": { "type": "Identifier", - "start": 617, - "end": 622, + "start": 620, + "end": 625, "loc": { "start": { - "line": 32, + "line": 33, "column": 8 }, "end": { - "line": 32, + "line": 33, "column": 13 }, "identifierName": "first" @@ -1765,15 +1802,15 @@ }, "property": { "type": "Identifier", - "start": 623, - "end": 626, + "start": 626, + "end": 629, "loc": { "start": { - "line": 32, + "line": 33, "column": 14 }, "end": { - "line": 32, + "line": 33, "column": 17 }, "identifierName": "sub" @@ -1785,15 +1822,15 @@ "arguments": [ { "type": "Identifier", - "start": 627, - "end": 633, + "start": 630, + "end": 636, "loc": { "start": { - "line": 32, + "line": 33, "column": 18 }, "end": { - "line": 32, + "line": 33, "column": 24 }, "identifierName": "second" @@ -1812,15 +1849,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 640, - "end": 712, + "start": 642, + "end": 709, "loc": { "start": { - "line": 35, + "line": 36, "column": 0 }, "end": { - "line": 37, + "line": 38, "column": 1 } }, @@ -1828,29 +1865,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 647, - "end": 712, + "start": 649, + "end": 709, "loc": { "start": { - "line": 35, + "line": 36, "column": 7 }, "end": { - "line": 37, + "line": 38, "column": 1 } }, "id": { "type": "Identifier", - "start": 656, - "end": 660, + "start": 658, + "end": 662, "loc": { "start": { - "line": 35, + "line": 36, "column": 16 }, "end": { - "line": 35, + "line": 36, "column": 20 }, "identifierName": "isub" @@ -1867,12 +1904,12 @@ "end": 668, "loc": { "start": { - "line": 35, - "column": 23 + "line": 36, + "column": 21 }, "end": { - "line": 35, - "column": 28 + "line": 36, + "column": 26 }, "identifierName": "first" }, @@ -1880,16 +1917,16 @@ }, { "type": "Identifier", - "start": 671, - "end": 677, + "start": 670, + "end": 676, "loc": { "start": { - "line": 35, - "column": 31 + "line": 36, + "column": 28 }, "end": { - "line": 35, - "column": 37 + "line": 36, + "column": 34 }, "identifierName": "second" }, @@ -1898,72 +1935,72 @@ ], "body": { "type": "BlockStatement", - "start": 680, - "end": 712, + "start": 678, + "end": 709, "loc": { "start": { - "line": 35, - "column": 40 + "line": 36, + "column": 36 }, "end": { - "line": 37, + "line": 38, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 683, - "end": 710, + "start": 681, + "end": 707, "loc": { "start": { - "line": 36, + "line": 37, "column": 1 }, "end": { - "line": 36, - "column": 28 + "line": 37, + "column": 27 } }, "argument": { "type": "CallExpression", - "start": 690, - "end": 708, + "start": 688, + "end": 706, "loc": { "start": { - "line": 36, + "line": 37, "column": 8 }, "end": { - "line": 36, + "line": 37, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 690, - "end": 700, + "start": 688, + "end": 698, "loc": { "start": { - "line": 36, + "line": 37, "column": 8 }, "end": { - "line": 36, + "line": 37, "column": 18 } }, "object": { "type": "Identifier", - "start": 690, - "end": 695, + "start": 688, + "end": 693, "loc": { "start": { - "line": 36, + "line": 37, "column": 8 }, "end": { - "line": 36, + "line": 37, "column": 13 }, "identifierName": "first" @@ -1972,15 +2009,15 @@ }, "property": { "type": "Identifier", - "start": 696, - "end": 700, + "start": 694, + "end": 698, "loc": { "start": { - "line": 36, + "line": 37, "column": 14 }, "end": { - "line": 36, + "line": 37, "column": 18 }, "identifierName": "isub" @@ -1992,15 +2029,15 @@ "arguments": [ { "type": "Identifier", - "start": 701, - "end": 707, + "start": 699, + "end": 705, "loc": { "start": { - "line": 36, + "line": 37, "column": 19 }, "end": { - "line": 36, + "line": 37, "column": 25 }, "identifierName": "second" @@ -2019,15 +2056,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 714, - "end": 784, + "start": 711, + "end": 776, "loc": { "start": { - "line": 39, + "line": 40, "column": 0 }, "end": { - "line": 41, + "line": 42, "column": 1 } }, @@ -2035,29 +2072,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 721, - "end": 784, + "start": 718, + "end": 776, "loc": { "start": { - "line": 39, + "line": 40, "column": 7 }, "end": { - "line": 41, + "line": 42, "column": 1 } }, "id": { "type": "Identifier", - "start": 730, - "end": 733, + "start": 727, + "end": 730, "loc": { "start": { - "line": 39, + "line": 40, "column": 16 }, "end": { - "line": 39, + "line": 40, "column": 19 }, "identifierName": "mul" @@ -2070,16 +2107,16 @@ "params": [ { "type": "Identifier", - "start": 736, - "end": 741, + "start": 731, + "end": 736, "loc": { "start": { - "line": 39, - "column": 22 + "line": 40, + "column": 20 }, "end": { - "line": 39, - "column": 27 + "line": 40, + "column": 25 }, "identifierName": "first" }, @@ -2087,16 +2124,16 @@ }, { "type": "Identifier", - "start": 744, - "end": 750, + "start": 738, + "end": 744, "loc": { "start": { - "line": 39, - "column": 30 + "line": 40, + "column": 27 }, "end": { - "line": 39, - "column": 36 + "line": 40, + "column": 33 }, "identifierName": "second" }, @@ -2105,72 +2142,72 @@ ], "body": { "type": "BlockStatement", - "start": 753, - "end": 784, + "start": 746, + "end": 776, "loc": { "start": { - "line": 39, - "column": 39 + "line": 40, + "column": 35 }, "end": { - "line": 41, + "line": 42, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 756, - "end": 782, + "start": 749, + "end": 774, "loc": { "start": { - "line": 40, + "line": 41, "column": 1 }, "end": { - "line": 40, - "column": 27 + "line": 41, + "column": 26 } }, "argument": { "type": "CallExpression", - "start": 763, - "end": 780, + "start": 756, + "end": 773, "loc": { "start": { - "line": 40, + "line": 41, "column": 8 }, "end": { - "line": 40, + "line": 41, "column": 25 } }, "callee": { "type": "MemberExpression", - "start": 763, - "end": 772, + "start": 756, + "end": 765, "loc": { "start": { - "line": 40, + "line": 41, "column": 8 }, "end": { - "line": 40, + "line": 41, "column": 17 } }, "object": { "type": "Identifier", - "start": 763, - "end": 768, + "start": 756, + "end": 761, "loc": { "start": { - "line": 40, + "line": 41, "column": 8 }, "end": { - "line": 40, + "line": 41, "column": 13 }, "identifierName": "first" @@ -2179,15 +2216,15 @@ }, "property": { "type": "Identifier", - "start": 769, - "end": 772, + "start": 762, + "end": 765, "loc": { "start": { - "line": 40, + "line": 41, "column": 14 }, "end": { - "line": 40, + "line": 41, "column": 17 }, "identifierName": "mul" @@ -2199,15 +2236,15 @@ "arguments": [ { "type": "Identifier", - "start": 773, - "end": 779, + "start": 766, + "end": 772, "loc": { "start": { - "line": 40, + "line": 41, "column": 18 }, "end": { - "line": 40, + "line": 41, "column": 24 }, "identifierName": "second" @@ -2226,15 +2263,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 786, - "end": 858, + "start": 778, + "end": 845, "loc": { "start": { - "line": 43, + "line": 44, "column": 0 }, "end": { - "line": 45, + "line": 46, "column": 1 } }, @@ -2242,29 +2279,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 793, - "end": 858, + "start": 785, + "end": 845, "loc": { "start": { - "line": 43, + "line": 44, "column": 7 }, "end": { - "line": 45, + "line": 46, "column": 1 } }, "id": { "type": "Identifier", - "start": 802, - "end": 806, + "start": 794, + "end": 798, "loc": { "start": { - "line": 43, + "line": 44, "column": 16 }, "end": { - "line": 43, + "line": 44, "column": 20 }, "identifierName": "imul" @@ -2277,16 +2314,16 @@ "params": [ { "type": "Identifier", - "start": 809, - "end": 814, + "start": 799, + "end": 804, "loc": { "start": { - "line": 43, - "column": 23 + "line": 44, + "column": 21 }, "end": { - "line": 43, - "column": 28 + "line": 44, + "column": 26 }, "identifierName": "first" }, @@ -2294,16 +2331,16 @@ }, { "type": "Identifier", - "start": 817, - "end": 823, + "start": 806, + "end": 812, "loc": { "start": { - "line": 43, - "column": 31 + "line": 44, + "column": 28 }, "end": { - "line": 43, - "column": 37 + "line": 44, + "column": 34 }, "identifierName": "second" }, @@ -2312,72 +2349,72 @@ ], "body": { "type": "BlockStatement", - "start": 826, - "end": 858, + "start": 814, + "end": 845, "loc": { "start": { - "line": 43, - "column": 40 + "line": 44, + "column": 36 }, "end": { - "line": 45, + "line": 46, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 829, - "end": 856, + "start": 817, + "end": 843, "loc": { "start": { - "line": 44, + "line": 45, "column": 1 }, "end": { - "line": 44, - "column": 28 + "line": 45, + "column": 27 } }, "argument": { "type": "CallExpression", - "start": 836, - "end": 854, + "start": 824, + "end": 842, "loc": { "start": { - "line": 44, + "line": 45, "column": 8 }, "end": { - "line": 44, + "line": 45, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 836, - "end": 846, + "start": 824, + "end": 834, "loc": { "start": { - "line": 44, + "line": 45, "column": 8 }, "end": { - "line": 44, + "line": 45, "column": 18 } }, "object": { "type": "Identifier", - "start": 836, - "end": 841, + "start": 824, + "end": 829, "loc": { "start": { - "line": 44, + "line": 45, "column": 8 }, "end": { - "line": 44, + "line": 45, "column": 13 }, "identifierName": "first" @@ -2386,15 +2423,15 @@ }, "property": { "type": "Identifier", - "start": 842, - "end": 846, + "start": 830, + "end": 834, "loc": { "start": { - "line": 44, + "line": 45, "column": 14 }, "end": { - "line": 44, + "line": 45, "column": 18 }, "identifierName": "imul" @@ -2406,15 +2443,15 @@ "arguments": [ { "type": "Identifier", - "start": 847, - "end": 853, + "start": 835, + "end": 841, "loc": { "start": { - "line": 44, + "line": 45, "column": 19 }, "end": { - "line": 44, + "line": 45, "column": 25 }, "identifierName": "second" @@ -2433,15 +2470,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 860, - "end": 930, + "start": 847, + "end": 912, "loc": { "start": { - "line": 47, + "line": 48, "column": 0 }, "end": { - "line": 49, + "line": 50, "column": 1 } }, @@ -2449,29 +2486,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 867, - "end": 930, + "start": 854, + "end": 912, "loc": { "start": { - "line": 47, + "line": 48, "column": 7 }, "end": { - "line": 49, + "line": 50, "column": 1 } }, "id": { "type": "Identifier", - "start": 876, - "end": 879, + "start": 863, + "end": 866, "loc": { "start": { - "line": 47, + "line": 48, "column": 16 }, "end": { - "line": 47, + "line": 48, "column": 19 }, "identifierName": "pow" @@ -2484,16 +2521,16 @@ "params": [ { "type": "Identifier", - "start": 882, - "end": 887, + "start": 867, + "end": 872, "loc": { "start": { - "line": 47, - "column": 22 + "line": 48, + "column": 20 }, "end": { - "line": 47, - "column": 27 + "line": 48, + "column": 25 }, "identifierName": "first" }, @@ -2501,16 +2538,16 @@ }, { "type": "Identifier", - "start": 890, - "end": 896, + "start": 874, + "end": 880, "loc": { "start": { - "line": 47, - "column": 30 + "line": 48, + "column": 27 }, "end": { - "line": 47, - "column": 36 + "line": 48, + "column": 33 }, "identifierName": "second" }, @@ -2519,72 +2556,72 @@ ], "body": { "type": "BlockStatement", - "start": 899, - "end": 930, + "start": 882, + "end": 912, "loc": { "start": { - "line": 47, - "column": 39 + "line": 48, + "column": 35 }, "end": { - "line": 49, + "line": 50, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 902, - "end": 928, + "start": 885, + "end": 910, "loc": { "start": { - "line": 48, + "line": 49, "column": 1 }, "end": { - "line": 48, - "column": 27 + "line": 49, + "column": 26 } }, "argument": { "type": "CallExpression", - "start": 909, - "end": 926, + "start": 892, + "end": 909, "loc": { "start": { - "line": 48, + "line": 49, "column": 8 }, "end": { - "line": 48, + "line": 49, "column": 25 } }, "callee": { "type": "MemberExpression", - "start": 909, - "end": 918, + "start": 892, + "end": 901, "loc": { "start": { - "line": 48, + "line": 49, "column": 8 }, "end": { - "line": 48, + "line": 49, "column": 17 } }, "object": { "type": "Identifier", - "start": 909, - "end": 914, + "start": 892, + "end": 897, "loc": { "start": { - "line": 48, + "line": 49, "column": 8 }, "end": { - "line": 48, + "line": 49, "column": 13 }, "identifierName": "first" @@ -2593,15 +2630,15 @@ }, "property": { "type": "Identifier", - "start": 915, - "end": 918, + "start": 898, + "end": 901, "loc": { "start": { - "line": 48, + "line": 49, "column": 14 }, "end": { - "line": 48, + "line": 49, "column": 17 }, "identifierName": "pow" @@ -2613,15 +2650,15 @@ "arguments": [ { "type": "Identifier", - "start": 919, - "end": 925, + "start": 902, + "end": 908, "loc": { "start": { - "line": 48, + "line": 49, "column": 18 }, "end": { - "line": 48, + "line": 49, "column": 24 }, "identifierName": "second" @@ -2640,15 +2677,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 932, - "end": 1004, + "start": 914, + "end": 981, "loc": { "start": { - "line": 51, + "line": 52, "column": 0 }, "end": { - "line": 53, + "line": 54, "column": 1 } }, @@ -2656,29 +2693,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 939, - "end": 1004, + "start": 921, + "end": 981, "loc": { "start": { - "line": 51, + "line": 52, "column": 7 }, "end": { - "line": 53, + "line": 54, "column": 1 } }, "id": { "type": "Identifier", - "start": 948, - "end": 952, + "start": 930, + "end": 934, "loc": { "start": { - "line": 51, + "line": 52, "column": 16 }, "end": { - "line": 51, + "line": 52, "column": 20 }, "identifierName": "ipow" @@ -2691,16 +2728,16 @@ "params": [ { "type": "Identifier", - "start": 955, - "end": 960, + "start": 935, + "end": 940, "loc": { "start": { - "line": 51, - "column": 23 + "line": 52, + "column": 21 }, "end": { - "line": 51, - "column": 28 + "line": 52, + "column": 26 }, "identifierName": "first" }, @@ -2708,16 +2745,16 @@ }, { "type": "Identifier", - "start": 963, - "end": 969, + "start": 942, + "end": 948, "loc": { "start": { - "line": 51, - "column": 31 + "line": 52, + "column": 28 }, "end": { - "line": 51, - "column": 37 + "line": 52, + "column": 34 }, "identifierName": "second" }, @@ -2726,72 +2763,72 @@ ], "body": { "type": "BlockStatement", - "start": 972, - "end": 1004, + "start": 950, + "end": 981, "loc": { "start": { - "line": 51, - "column": 40 + "line": 52, + "column": 36 }, "end": { - "line": 53, + "line": 54, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 975, - "end": 1002, + "start": 953, + "end": 979, "loc": { "start": { - "line": 52, + "line": 53, "column": 1 }, "end": { - "line": 52, - "column": 28 + "line": 53, + "column": 27 } }, "argument": { "type": "CallExpression", - "start": 982, - "end": 1000, + "start": 960, + "end": 978, "loc": { "start": { - "line": 52, + "line": 53, "column": 8 }, "end": { - "line": 52, + "line": 53, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 982, - "end": 992, + "start": 960, + "end": 970, "loc": { "start": { - "line": 52, + "line": 53, "column": 8 }, "end": { - "line": 52, + "line": 53, "column": 18 } }, "object": { "type": "Identifier", - "start": 982, - "end": 987, + "start": 960, + "end": 965, "loc": { "start": { - "line": 52, + "line": 53, "column": 8 }, "end": { - "line": 52, + "line": 53, "column": 13 }, "identifierName": "first" @@ -2800,15 +2837,15 @@ }, "property": { "type": "Identifier", - "start": 988, - "end": 992, + "start": 966, + "end": 970, "loc": { "start": { - "line": 52, + "line": 53, "column": 14 }, "end": { - "line": 52, + "line": 53, "column": 18 }, "identifierName": "ipow" @@ -2820,15 +2857,15 @@ "arguments": [ { "type": "Identifier", - "start": 993, - "end": 999, + "start": 971, + "end": 977, "loc": { "start": { - "line": 52, + "line": 53, "column": 19 }, "end": { - "line": 52, + "line": 53, "column": 25 }, "identifierName": "second" @@ -2847,15 +2884,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 1006, - "end": 1076, + "start": 983, + "end": 1048, "loc": { "start": { - "line": 55, + "line": 56, "column": 0 }, "end": { - "line": 57, + "line": 58, "column": 1 } }, @@ -2863,29 +2900,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 1013, - "end": 1076, + "start": 990, + "end": 1048, "loc": { "start": { - "line": 55, + "line": 56, "column": 7 }, "end": { - "line": 57, + "line": 58, "column": 1 } }, "id": { "type": "Identifier", - "start": 1022, - "end": 1025, + "start": 999, + "end": 1002, "loc": { "start": { - "line": 55, + "line": 56, "column": 16 }, "end": { - "line": 55, + "line": 56, "column": 19 }, "identifierName": "div" @@ -2898,16 +2935,16 @@ "params": [ { "type": "Identifier", - "start": 1028, - "end": 1033, + "start": 1003, + "end": 1008, "loc": { "start": { - "line": 55, - "column": 22 + "line": 56, + "column": 20 }, "end": { - "line": 55, - "column": 27 + "line": 56, + "column": 25 }, "identifierName": "first" }, @@ -2915,16 +2952,16 @@ }, { "type": "Identifier", - "start": 1036, - "end": 1042, + "start": 1010, + "end": 1016, "loc": { "start": { - "line": 55, - "column": 30 + "line": 56, + "column": 27 }, "end": { - "line": 55, - "column": 36 + "line": 56, + "column": 33 }, "identifierName": "second" }, @@ -2933,72 +2970,72 @@ ], "body": { "type": "BlockStatement", - "start": 1045, - "end": 1076, + "start": 1018, + "end": 1048, "loc": { "start": { - "line": 55, - "column": 39 + "line": 56, + "column": 35 }, "end": { - "line": 57, + "line": 58, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 1048, - "end": 1074, + "start": 1021, + "end": 1046, "loc": { "start": { - "line": 56, + "line": 57, "column": 1 }, "end": { - "line": 56, - "column": 27 + "line": 57, + "column": 26 } }, "argument": { "type": "CallExpression", - "start": 1055, - "end": 1072, + "start": 1028, + "end": 1045, "loc": { "start": { - "line": 56, + "line": 57, "column": 8 }, "end": { - "line": 56, + "line": 57, "column": 25 } }, "callee": { "type": "MemberExpression", - "start": 1055, - "end": 1064, + "start": 1028, + "end": 1037, "loc": { "start": { - "line": 56, + "line": 57, "column": 8 }, "end": { - "line": 56, + "line": 57, "column": 17 } }, "object": { "type": "Identifier", - "start": 1055, - "end": 1060, + "start": 1028, + "end": 1033, "loc": { "start": { - "line": 56, + "line": 57, "column": 8 }, "end": { - "line": 56, + "line": 57, "column": 13 }, "identifierName": "first" @@ -3007,15 +3044,15 @@ }, "property": { "type": "Identifier", - "start": 1061, - "end": 1064, + "start": 1034, + "end": 1037, "loc": { "start": { - "line": 56, + "line": 57, "column": 14 }, "end": { - "line": 56, + "line": 57, "column": 17 }, "identifierName": "div" @@ -3027,15 +3064,15 @@ "arguments": [ { "type": "Identifier", - "start": 1065, - "end": 1071, + "start": 1038, + "end": 1044, "loc": { "start": { - "line": 56, + "line": 57, "column": 18 }, "end": { - "line": 56, + "line": 57, "column": 24 }, "identifierName": "second" @@ -3054,15 +3091,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 1078, - "end": 1150, + "start": 1050, + "end": 1117, "loc": { "start": { - "line": 59, + "line": 60, "column": 0 }, "end": { - "line": 61, + "line": 62, "column": 1 } }, @@ -3070,29 +3107,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 1085, - "end": 1150, + "start": 1057, + "end": 1117, "loc": { "start": { - "line": 59, + "line": 60, "column": 7 }, "end": { - "line": 61, + "line": 62, "column": 1 } }, "id": { "type": "Identifier", - "start": 1094, - "end": 1098, + "start": 1066, + "end": 1070, "loc": { "start": { - "line": 59, + "line": 60, "column": 16 }, "end": { - "line": 59, + "line": 60, "column": 20 }, "identifierName": "idiv" @@ -3105,16 +3142,16 @@ "params": [ { "type": "Identifier", - "start": 1101, - "end": 1106, + "start": 1071, + "end": 1076, "loc": { "start": { - "line": 59, - "column": 23 + "line": 60, + "column": 21 }, "end": { - "line": 59, - "column": 28 + "line": 60, + "column": 26 }, "identifierName": "first" }, @@ -3122,16 +3159,16 @@ }, { "type": "Identifier", - "start": 1109, - "end": 1115, + "start": 1078, + "end": 1084, "loc": { "start": { - "line": 59, - "column": 31 + "line": 60, + "column": 28 }, "end": { - "line": 59, - "column": 37 + "line": 60, + "column": 34 }, "identifierName": "second" }, @@ -3140,72 +3177,72 @@ ], "body": { "type": "BlockStatement", - "start": 1118, - "end": 1150, + "start": 1086, + "end": 1117, "loc": { "start": { - "line": 59, - "column": 40 + "line": 60, + "column": 36 }, "end": { - "line": 61, + "line": 62, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 1121, - "end": 1148, + "start": 1089, + "end": 1115, "loc": { "start": { - "line": 60, + "line": 61, "column": 1 }, "end": { - "line": 60, - "column": 28 + "line": 61, + "column": 27 } }, "argument": { "type": "CallExpression", - "start": 1128, - "end": 1146, + "start": 1096, + "end": 1114, "loc": { "start": { - "line": 60, + "line": 61, "column": 8 }, "end": { - "line": 60, + "line": 61, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 1128, - "end": 1138, + "start": 1096, + "end": 1106, "loc": { "start": { - "line": 60, + "line": 61, "column": 8 }, "end": { - "line": 60, + "line": 61, "column": 18 } }, "object": { "type": "Identifier", - "start": 1128, - "end": 1133, + "start": 1096, + "end": 1101, "loc": { "start": { - "line": 60, + "line": 61, "column": 8 }, "end": { - "line": 60, + "line": 61, "column": 13 }, "identifierName": "first" @@ -3214,15 +3251,15 @@ }, "property": { "type": "Identifier", - "start": 1134, - "end": 1138, + "start": 1102, + "end": 1106, "loc": { "start": { - "line": 60, + "line": 61, "column": 14 }, "end": { - "line": 60, + "line": 61, "column": 18 }, "identifierName": "idiv" @@ -3234,15 +3271,15 @@ "arguments": [ { "type": "Identifier", - "start": 1139, - "end": 1145, + "start": 1107, + "end": 1113, "loc": { "start": { - "line": 60, + "line": 61, "column": 19 }, "end": { - "line": 60, + "line": 61, "column": 25 }, "identifierName": "second" @@ -3261,15 +3298,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 1152, - "end": 1222, + "start": 1119, + "end": 1184, "loc": { "start": { - "line": 63, + "line": 64, "column": 0 }, "end": { - "line": 65, + "line": 66, "column": 1 } }, @@ -3277,29 +3314,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 1159, - "end": 1222, + "start": 1126, + "end": 1184, "loc": { "start": { - "line": 63, + "line": 64, "column": 7 }, "end": { - "line": 65, + "line": 66, "column": 1 } }, "id": { "type": "Identifier", - "start": 1168, - "end": 1171, + "start": 1135, + "end": 1138, "loc": { "start": { - "line": 63, + "line": 64, "column": 16 }, "end": { - "line": 63, + "line": 64, "column": 19 }, "identifierName": "mod" @@ -3312,16 +3349,16 @@ "params": [ { "type": "Identifier", - "start": 1174, - "end": 1179, + "start": 1139, + "end": 1144, "loc": { "start": { - "line": 63, - "column": 22 + "line": 64, + "column": 20 }, "end": { - "line": 63, - "column": 27 + "line": 64, + "column": 25 }, "identifierName": "first" }, @@ -3329,16 +3366,16 @@ }, { "type": "Identifier", - "start": 1182, - "end": 1188, + "start": 1146, + "end": 1152, "loc": { "start": { - "line": 63, - "column": 30 + "line": 64, + "column": 27 }, "end": { - "line": 63, - "column": 36 + "line": 64, + "column": 33 }, "identifierName": "second" }, @@ -3347,72 +3384,72 @@ ], "body": { "type": "BlockStatement", - "start": 1191, - "end": 1222, + "start": 1154, + "end": 1184, "loc": { "start": { - "line": 63, - "column": 39 + "line": 64, + "column": 35 }, "end": { - "line": 65, + "line": 66, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 1194, - "end": 1220, + "start": 1157, + "end": 1182, "loc": { "start": { - "line": 64, + "line": 65, "column": 1 }, "end": { - "line": 64, - "column": 27 + "line": 65, + "column": 26 } }, "argument": { "type": "CallExpression", - "start": 1201, - "end": 1218, + "start": 1164, + "end": 1181, "loc": { "start": { - "line": 64, + "line": 65, "column": 8 }, "end": { - "line": 64, + "line": 65, "column": 25 } }, "callee": { "type": "MemberExpression", - "start": 1201, - "end": 1210, + "start": 1164, + "end": 1173, "loc": { "start": { - "line": 64, + "line": 65, "column": 8 }, "end": { - "line": 64, + "line": 65, "column": 17 } }, "object": { "type": "Identifier", - "start": 1201, - "end": 1206, + "start": 1164, + "end": 1169, "loc": { "start": { - "line": 64, + "line": 65, "column": 8 }, "end": { - "line": 64, + "line": 65, "column": 13 }, "identifierName": "first" @@ -3421,15 +3458,15 @@ }, "property": { "type": "Identifier", - "start": 1207, - "end": 1210, + "start": 1170, + "end": 1173, "loc": { "start": { - "line": 64, + "line": 65, "column": 14 }, "end": { - "line": 64, + "line": 65, "column": 17 }, "identifierName": "mod" @@ -3441,15 +3478,15 @@ "arguments": [ { "type": "Identifier", - "start": 1211, - "end": 1217, + "start": 1174, + "end": 1180, "loc": { "start": { - "line": 64, + "line": 65, "column": 18 }, "end": { - "line": 64, + "line": 65, "column": 24 }, "identifierName": "second" @@ -3468,15 +3505,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 1224, - "end": 1296, + "start": 1186, + "end": 1253, "loc": { "start": { - "line": 67, + "line": 68, "column": 0 }, "end": { - "line": 69, + "line": 70, "column": 1 } }, @@ -3484,29 +3521,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 1231, - "end": 1296, + "start": 1193, + "end": 1253, "loc": { "start": { - "line": 67, + "line": 68, "column": 7 }, "end": { - "line": 69, + "line": 70, "column": 1 } }, "id": { "type": "Identifier", - "start": 1240, - "end": 1244, + "start": 1202, + "end": 1206, "loc": { "start": { - "line": 67, + "line": 68, "column": 16 }, "end": { - "line": 67, + "line": 68, "column": 20 }, "identifierName": "imod" @@ -3519,16 +3556,16 @@ "params": [ { "type": "Identifier", - "start": 1247, - "end": 1252, + "start": 1207, + "end": 1212, "loc": { "start": { - "line": 67, - "column": 23 + "line": 68, + "column": 21 }, "end": { - "line": 67, - "column": 28 + "line": 68, + "column": 26 }, "identifierName": "first" }, @@ -3536,16 +3573,16 @@ }, { "type": "Identifier", - "start": 1255, - "end": 1261, + "start": 1214, + "end": 1220, "loc": { "start": { - "line": 67, - "column": 31 + "line": 68, + "column": 28 }, "end": { - "line": 67, - "column": 37 + "line": 68, + "column": 34 }, "identifierName": "second" }, @@ -3554,72 +3591,72 @@ ], "body": { "type": "BlockStatement", - "start": 1264, - "end": 1296, + "start": 1222, + "end": 1253, "loc": { "start": { - "line": 67, - "column": 40 + "line": 68, + "column": 36 }, "end": { - "line": 69, + "line": 70, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 1267, - "end": 1294, + "start": 1225, + "end": 1251, "loc": { "start": { - "line": 68, + "line": 69, "column": 1 }, "end": { - "line": 68, - "column": 28 + "line": 69, + "column": 27 } }, "argument": { "type": "CallExpression", - "start": 1274, - "end": 1292, + "start": 1232, + "end": 1250, "loc": { "start": { - "line": 68, + "line": 69, "column": 8 }, "end": { - "line": 68, + "line": 69, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 1274, - "end": 1284, + "start": 1232, + "end": 1242, "loc": { "start": { - "line": 68, + "line": 69, "column": 8 }, "end": { - "line": 68, + "line": 69, "column": 18 } }, "object": { "type": "Identifier", - "start": 1274, - "end": 1279, + "start": 1232, + "end": 1237, "loc": { "start": { - "line": 68, + "line": 69, "column": 8 }, "end": { - "line": 68, + "line": 69, "column": 13 }, "identifierName": "first" @@ -3628,15 +3665,15 @@ }, "property": { "type": "Identifier", - "start": 1280, - "end": 1284, + "start": 1238, + "end": 1242, "loc": { "start": { - "line": 68, + "line": 69, "column": 14 }, "end": { - "line": 68, + "line": 69, "column": 18 }, "identifierName": "imod" @@ -3648,15 +3685,15 @@ "arguments": [ { "type": "Identifier", - "start": 1285, - "end": 1291, + "start": 1243, + "end": 1249, "loc": { "start": { - "line": 68, + "line": 69, "column": 19 }, "end": { - "line": 68, + "line": 69, "column": 25 }, "identifierName": "second" @@ -3675,15 +3712,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 1298, - "end": 1374, + "start": 1255, + "end": 1326, "loc": { "start": { - "line": 71, + "line": 72, "column": 0 }, "end": { - "line": 73, + "line": 74, "column": 1 } }, @@ -3691,29 +3728,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 1305, - "end": 1374, + "start": 1262, + "end": 1326, "loc": { "start": { - "line": 71, + "line": 72, "column": 7 }, "end": { - "line": 73, + "line": 74, "column": 1 } }, "id": { "type": "Identifier", - "start": 1314, - "end": 1320, + "start": 1271, + "end": 1277, "loc": { "start": { - "line": 71, + "line": 72, "column": 16 }, "end": { - "line": 71, + "line": 72, "column": 22 }, "identifierName": "divmod" @@ -3726,16 +3763,16 @@ "params": [ { "type": "Identifier", - "start": 1323, - "end": 1328, + "start": 1278, + "end": 1283, "loc": { "start": { - "line": 71, - "column": 25 + "line": 72, + "column": 23 }, "end": { - "line": 71, - "column": 30 + "line": 72, + "column": 28 }, "identifierName": "first" }, @@ -3743,16 +3780,16 @@ }, { "type": "Identifier", - "start": 1331, - "end": 1337, + "start": 1285, + "end": 1291, "loc": { "start": { - "line": 71, - "column": 33 + "line": 72, + "column": 30 }, "end": { - "line": 71, - "column": 39 + "line": 72, + "column": 36 }, "identifierName": "second" }, @@ -3761,72 +3798,72 @@ ], "body": { "type": "BlockStatement", - "start": 1340, - "end": 1374, + "start": 1293, + "end": 1326, "loc": { "start": { - "line": 71, - "column": 42 + "line": 72, + "column": 38 }, "end": { - "line": 73, + "line": 74, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 1343, - "end": 1372, + "start": 1296, + "end": 1324, "loc": { "start": { - "line": 72, + "line": 73, "column": 1 }, "end": { - "line": 72, - "column": 30 + "line": 73, + "column": 29 } }, "argument": { "type": "CallExpression", - "start": 1350, - "end": 1370, + "start": 1303, + "end": 1323, "loc": { "start": { - "line": 72, + "line": 73, "column": 8 }, "end": { - "line": 72, + "line": 73, "column": 28 } }, "callee": { "type": "MemberExpression", - "start": 1350, - "end": 1362, + "start": 1303, + "end": 1315, "loc": { "start": { - "line": 72, + "line": 73, "column": 8 }, "end": { - "line": 72, + "line": 73, "column": 20 } }, "object": { "type": "Identifier", - "start": 1350, - "end": 1355, + "start": 1303, + "end": 1308, "loc": { "start": { - "line": 72, + "line": 73, "column": 8 }, "end": { - "line": 72, + "line": 73, "column": 13 }, "identifierName": "first" @@ -3835,15 +3872,15 @@ }, "property": { "type": "Identifier", - "start": 1356, - "end": 1362, + "start": 1309, + "end": 1315, "loc": { "start": { - "line": 72, + "line": 73, "column": 14 }, "end": { - "line": 72, + "line": 73, "column": 20 }, "identifierName": "divmod" @@ -3855,15 +3892,15 @@ "arguments": [ { "type": "Identifier", - "start": 1363, - "end": 1369, + "start": 1316, + "end": 1322, "loc": { "start": { - "line": 72, + "line": 73, "column": 21 }, "end": { - "line": 72, + "line": 73, "column": 27 }, "identifierName": "second" @@ -3882,15 +3919,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 1376, - "end": 1454, + "start": 1328, + "end": 1401, "loc": { "start": { - "line": 75, + "line": 76, "column": 0 }, "end": { - "line": 77, + "line": 78, "column": 1 } }, @@ -3898,29 +3935,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 1383, - "end": 1454, + "start": 1335, + "end": 1401, "loc": { "start": { - "line": 75, + "line": 76, "column": 7 }, "end": { - "line": 77, + "line": 78, "column": 1 } }, "id": { "type": "Identifier", - "start": 1392, - "end": 1399, + "start": 1344, + "end": 1351, "loc": { "start": { - "line": 75, + "line": 76, "column": 16 }, "end": { - "line": 75, + "line": 76, "column": 23 }, "identifierName": "idivmod" @@ -3933,16 +3970,16 @@ "params": [ { "type": "Identifier", - "start": 1402, - "end": 1407, + "start": 1352, + "end": 1357, "loc": { "start": { - "line": 75, - "column": 26 + "line": 76, + "column": 24 }, "end": { - "line": 75, - "column": 31 + "line": 76, + "column": 29 }, "identifierName": "first" }, @@ -3950,16 +3987,16 @@ }, { "type": "Identifier", - "start": 1410, - "end": 1416, + "start": 1359, + "end": 1365, "loc": { "start": { - "line": 75, - "column": 34 + "line": 76, + "column": 31 }, "end": { - "line": 75, - "column": 40 + "line": 76, + "column": 37 }, "identifierName": "second" }, @@ -3968,72 +4005,72 @@ ], "body": { "type": "BlockStatement", - "start": 1419, - "end": 1454, + "start": 1367, + "end": 1401, "loc": { "start": { - "line": 75, - "column": 43 + "line": 76, + "column": 39 }, "end": { - "line": 77, + "line": 78, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 1422, - "end": 1452, + "start": 1370, + "end": 1399, "loc": { "start": { - "line": 76, + "line": 77, "column": 1 }, "end": { - "line": 76, - "column": 31 + "line": 77, + "column": 30 } }, "argument": { "type": "CallExpression", - "start": 1429, - "end": 1450, + "start": 1377, + "end": 1398, "loc": { "start": { - "line": 76, + "line": 77, "column": 8 }, "end": { - "line": 76, + "line": 77, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 1429, - "end": 1442, + "start": 1377, + "end": 1390, "loc": { "start": { - "line": 76, + "line": 77, "column": 8 }, "end": { - "line": 76, + "line": 77, "column": 21 } }, "object": { "type": "Identifier", - "start": 1429, - "end": 1434, + "start": 1377, + "end": 1382, "loc": { "start": { - "line": 76, + "line": 77, "column": 8 }, "end": { - "line": 76, + "line": 77, "column": 13 }, "identifierName": "first" @@ -4042,15 +4079,15 @@ }, "property": { "type": "Identifier", - "start": 1435, - "end": 1442, + "start": 1383, + "end": 1390, "loc": { "start": { - "line": 76, + "line": 77, "column": 14 }, "end": { - "line": 76, + "line": 77, "column": 21 }, "identifierName": "idivmod" @@ -4062,15 +4099,15 @@ "arguments": [ { "type": "Identifier", - "start": 1443, - "end": 1449, + "start": 1391, + "end": 1397, "loc": { "start": { - "line": 76, + "line": 77, "column": 22 }, "end": { - "line": 76, + "line": 77, "column": 28 }, "identifierName": "second" @@ -4089,15 +4126,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 1456, - "end": 1528, + "start": 1403, + "end": 1470, "loc": { "start": { - "line": 79, + "line": 80, "column": 0 }, "end": { - "line": 81, + "line": 82, "column": 1 } }, @@ -4105,29 +4142,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 1463, - "end": 1528, + "start": 1410, + "end": 1470, "loc": { "start": { - "line": 79, + "line": 80, "column": 7 }, "end": { - "line": 81, + "line": 82, "column": 1 } }, "id": { "type": "Identifier", - "start": 1472, - "end": 1476, + "start": 1419, + "end": 1423, "loc": { "start": { - "line": 79, + "line": 80, "column": 16 }, "end": { - "line": 79, + "line": 80, "column": 20 }, "identifierName": "addn" @@ -4140,16 +4177,16 @@ "params": [ { "type": "Identifier", - "start": 1479, - "end": 1484, + "start": 1424, + "end": 1429, "loc": { "start": { - "line": 79, - "column": 23 + "line": 80, + "column": 21 }, "end": { - "line": 79, - "column": 28 + "line": 80, + "column": 26 }, "identifierName": "first" }, @@ -4157,16 +4194,16 @@ }, { "type": "Identifier", - "start": 1487, - "end": 1493, + "start": 1431, + "end": 1437, "loc": { "start": { - "line": 79, - "column": 31 + "line": 80, + "column": 28 }, "end": { - "line": 79, - "column": 37 + "line": 80, + "column": 34 }, "identifierName": "second" }, @@ -4175,72 +4212,72 @@ ], "body": { "type": "BlockStatement", - "start": 1496, - "end": 1528, + "start": 1439, + "end": 1470, "loc": { "start": { - "line": 79, - "column": 40 + "line": 80, + "column": 36 }, "end": { - "line": 81, + "line": 82, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 1499, - "end": 1526, + "start": 1442, + "end": 1468, "loc": { "start": { - "line": 80, + "line": 81, "column": 1 }, "end": { - "line": 80, - "column": 28 + "line": 81, + "column": 27 } }, "argument": { "type": "CallExpression", - "start": 1506, - "end": 1524, + "start": 1449, + "end": 1467, "loc": { "start": { - "line": 80, + "line": 81, "column": 8 }, "end": { - "line": 80, + "line": 81, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 1506, - "end": 1516, + "start": 1449, + "end": 1459, "loc": { "start": { - "line": 80, + "line": 81, "column": 8 }, "end": { - "line": 80, + "line": 81, "column": 18 } }, "object": { "type": "Identifier", - "start": 1506, - "end": 1511, + "start": 1449, + "end": 1454, "loc": { "start": { - "line": 80, + "line": 81, "column": 8 }, "end": { - "line": 80, + "line": 81, "column": 13 }, "identifierName": "first" @@ -4249,15 +4286,15 @@ }, "property": { "type": "Identifier", - "start": 1512, - "end": 1516, + "start": 1455, + "end": 1459, "loc": { "start": { - "line": 80, + "line": 81, "column": 14 }, "end": { - "line": 80, + "line": 81, "column": 18 }, "identifierName": "addn" @@ -4269,15 +4306,15 @@ "arguments": [ { "type": "Identifier", - "start": 1517, - "end": 1523, + "start": 1460, + "end": 1466, "loc": { "start": { - "line": 80, + "line": 81, "column": 19 }, "end": { - "line": 80, + "line": 81, "column": 25 }, "identifierName": "second" @@ -4296,15 +4333,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 1530, - "end": 1604, + "start": 1472, + "end": 1541, "loc": { "start": { - "line": 83, + "line": 84, "column": 0 }, "end": { - "line": 85, + "line": 86, "column": 1 } }, @@ -4312,29 +4349,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 1537, - "end": 1604, + "start": 1479, + "end": 1541, "loc": { "start": { - "line": 83, + "line": 84, "column": 7 }, "end": { - "line": 85, + "line": 86, "column": 1 } }, "id": { "type": "Identifier", - "start": 1546, - "end": 1551, + "start": 1488, + "end": 1493, "loc": { "start": { - "line": 83, + "line": 84, "column": 16 }, "end": { - "line": 83, + "line": 84, "column": 21 }, "identifierName": "iaddn" @@ -4347,16 +4384,16 @@ "params": [ { "type": "Identifier", - "start": 1554, - "end": 1559, + "start": 1494, + "end": 1499, "loc": { "start": { - "line": 83, - "column": 24 + "line": 84, + "column": 22 }, "end": { - "line": 83, - "column": 29 + "line": 84, + "column": 27 }, "identifierName": "first" }, @@ -4364,16 +4401,16 @@ }, { "type": "Identifier", - "start": 1562, - "end": 1568, + "start": 1501, + "end": 1507, "loc": { "start": { - "line": 83, - "column": 32 + "line": 84, + "column": 29 }, "end": { - "line": 83, - "column": 38 + "line": 84, + "column": 35 }, "identifierName": "second" }, @@ -4382,72 +4419,72 @@ ], "body": { "type": "BlockStatement", - "start": 1571, - "end": 1604, + "start": 1509, + "end": 1541, "loc": { "start": { - "line": 83, - "column": 41 + "line": 84, + "column": 37 }, "end": { - "line": 85, + "line": 86, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 1574, - "end": 1602, + "start": 1512, + "end": 1539, "loc": { "start": { - "line": 84, + "line": 85, "column": 1 }, "end": { - "line": 84, - "column": 29 + "line": 85, + "column": 28 } }, "argument": { "type": "CallExpression", - "start": 1581, - "end": 1600, + "start": 1519, + "end": 1538, "loc": { "start": { - "line": 84, + "line": 85, "column": 8 }, "end": { - "line": 84, + "line": 85, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 1581, - "end": 1592, + "start": 1519, + "end": 1530, "loc": { "start": { - "line": 84, + "line": 85, "column": 8 }, "end": { - "line": 84, + "line": 85, "column": 19 } }, "object": { "type": "Identifier", - "start": 1581, - "end": 1586, + "start": 1519, + "end": 1524, "loc": { "start": { - "line": 84, + "line": 85, "column": 8 }, "end": { - "line": 84, + "line": 85, "column": 13 }, "identifierName": "first" @@ -4456,15 +4493,15 @@ }, "property": { "type": "Identifier", - "start": 1587, - "end": 1592, + "start": 1525, + "end": 1530, "loc": { "start": { - "line": 84, + "line": 85, "column": 14 }, "end": { - "line": 84, + "line": 85, "column": 19 }, "identifierName": "iaddn" @@ -4476,15 +4513,15 @@ "arguments": [ { "type": "Identifier", - "start": 1593, - "end": 1599, + "start": 1531, + "end": 1537, "loc": { "start": { - "line": 84, + "line": 85, "column": 20 }, "end": { - "line": 84, + "line": 85, "column": 26 }, "identifierName": "second" @@ -4503,15 +4540,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 1606, - "end": 1678, + "start": 1543, + "end": 1610, "loc": { "start": { - "line": 87, + "line": 88, "column": 0 }, "end": { - "line": 89, + "line": 90, "column": 1 } }, @@ -4519,29 +4556,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 1613, - "end": 1678, + "start": 1550, + "end": 1610, "loc": { "start": { - "line": 87, + "line": 88, "column": 7 }, "end": { - "line": 89, + "line": 90, "column": 1 } }, "id": { "type": "Identifier", - "start": 1622, - "end": 1626, + "start": 1559, + "end": 1563, "loc": { "start": { - "line": 87, + "line": 88, "column": 16 }, "end": { - "line": 87, + "line": 88, "column": 20 }, "identifierName": "subn" @@ -4554,16 +4591,16 @@ "params": [ { "type": "Identifier", - "start": 1629, - "end": 1634, + "start": 1564, + "end": 1569, "loc": { "start": { - "line": 87, - "column": 23 + "line": 88, + "column": 21 }, "end": { - "line": 87, - "column": 28 + "line": 88, + "column": 26 }, "identifierName": "first" }, @@ -4571,16 +4608,16 @@ }, { "type": "Identifier", - "start": 1637, - "end": 1643, + "start": 1571, + "end": 1577, "loc": { "start": { - "line": 87, - "column": 31 + "line": 88, + "column": 28 }, "end": { - "line": 87, - "column": 37 + "line": 88, + "column": 34 }, "identifierName": "second" }, @@ -4589,72 +4626,72 @@ ], "body": { "type": "BlockStatement", - "start": 1646, - "end": 1678, + "start": 1579, + "end": 1610, "loc": { "start": { - "line": 87, - "column": 40 + "line": 88, + "column": 36 }, "end": { - "line": 89, + "line": 90, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 1649, - "end": 1676, + "start": 1582, + "end": 1608, "loc": { "start": { - "line": 88, + "line": 89, "column": 1 }, "end": { - "line": 88, - "column": 28 + "line": 89, + "column": 27 } }, "argument": { "type": "CallExpression", - "start": 1656, - "end": 1674, + "start": 1589, + "end": 1607, "loc": { "start": { - "line": 88, + "line": 89, "column": 8 }, "end": { - "line": 88, + "line": 89, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 1656, - "end": 1666, + "start": 1589, + "end": 1599, "loc": { "start": { - "line": 88, + "line": 89, "column": 8 }, "end": { - "line": 88, + "line": 89, "column": 18 } }, "object": { "type": "Identifier", - "start": 1656, - "end": 1661, + "start": 1589, + "end": 1594, "loc": { "start": { - "line": 88, + "line": 89, "column": 8 }, "end": { - "line": 88, + "line": 89, "column": 13 }, "identifierName": "first" @@ -4663,15 +4700,15 @@ }, "property": { "type": "Identifier", - "start": 1662, - "end": 1666, + "start": 1595, + "end": 1599, "loc": { "start": { - "line": 88, + "line": 89, "column": 14 }, "end": { - "line": 88, + "line": 89, "column": 18 }, "identifierName": "subn" @@ -4683,15 +4720,15 @@ "arguments": [ { "type": "Identifier", - "start": 1667, - "end": 1673, + "start": 1600, + "end": 1606, "loc": { "start": { - "line": 88, + "line": 89, "column": 19 }, "end": { - "line": 88, + "line": 89, "column": 25 }, "identifierName": "second" @@ -4710,15 +4747,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 1680, - "end": 1754, + "start": 1612, + "end": 1681, "loc": { "start": { - "line": 91, + "line": 92, "column": 0 }, "end": { - "line": 93, + "line": 94, "column": 1 } }, @@ -4726,29 +4763,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 1687, - "end": 1754, + "start": 1619, + "end": 1681, "loc": { "start": { - "line": 91, + "line": 92, "column": 7 }, "end": { - "line": 93, + "line": 94, "column": 1 } }, "id": { "type": "Identifier", - "start": 1696, - "end": 1701, + "start": 1628, + "end": 1633, "loc": { "start": { - "line": 91, + "line": 92, "column": 16 }, "end": { - "line": 91, + "line": 92, "column": 21 }, "identifierName": "isubn" @@ -4761,16 +4798,16 @@ "params": [ { "type": "Identifier", - "start": 1704, - "end": 1709, + "start": 1634, + "end": 1639, "loc": { "start": { - "line": 91, - "column": 24 + "line": 92, + "column": 22 }, "end": { - "line": 91, - "column": 29 + "line": 92, + "column": 27 }, "identifierName": "first" }, @@ -4778,16 +4815,16 @@ }, { "type": "Identifier", - "start": 1712, - "end": 1718, + "start": 1641, + "end": 1647, "loc": { "start": { - "line": 91, - "column": 32 + "line": 92, + "column": 29 }, "end": { - "line": 91, - "column": 38 + "line": 92, + "column": 35 }, "identifierName": "second" }, @@ -4796,72 +4833,72 @@ ], "body": { "type": "BlockStatement", - "start": 1721, - "end": 1754, + "start": 1649, + "end": 1681, "loc": { "start": { - "line": 91, - "column": 41 + "line": 92, + "column": 37 }, "end": { - "line": 93, + "line": 94, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 1724, - "end": 1752, + "start": 1652, + "end": 1679, "loc": { "start": { - "line": 92, + "line": 93, "column": 1 }, "end": { - "line": 92, - "column": 29 + "line": 93, + "column": 28 } }, "argument": { "type": "CallExpression", - "start": 1731, - "end": 1750, + "start": 1659, + "end": 1678, "loc": { "start": { - "line": 92, + "line": 93, "column": 8 }, "end": { - "line": 92, + "line": 93, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 1731, - "end": 1742, + "start": 1659, + "end": 1670, "loc": { "start": { - "line": 92, + "line": 93, "column": 8 }, "end": { - "line": 92, + "line": 93, "column": 19 } }, "object": { "type": "Identifier", - "start": 1731, - "end": 1736, + "start": 1659, + "end": 1664, "loc": { "start": { - "line": 92, + "line": 93, "column": 8 }, "end": { - "line": 92, + "line": 93, "column": 13 }, "identifierName": "first" @@ -4870,15 +4907,15 @@ }, "property": { "type": "Identifier", - "start": 1737, - "end": 1742, + "start": 1665, + "end": 1670, "loc": { "start": { - "line": 92, + "line": 93, "column": 14 }, "end": { - "line": 92, + "line": 93, "column": 19 }, "identifierName": "isubn" @@ -4890,15 +4927,15 @@ "arguments": [ { "type": "Identifier", - "start": 1743, - "end": 1749, + "start": 1671, + "end": 1677, "loc": { "start": { - "line": 92, + "line": 93, "column": 20 }, "end": { - "line": 92, + "line": 93, "column": 26 }, "identifierName": "second" @@ -4917,15 +4954,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 1756, - "end": 1828, + "start": 1683, + "end": 1750, "loc": { "start": { - "line": 95, + "line": 96, "column": 0 }, "end": { - "line": 97, + "line": 98, "column": 1 } }, @@ -4933,29 +4970,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 1763, - "end": 1828, + "start": 1690, + "end": 1750, "loc": { "start": { - "line": 95, + "line": 96, "column": 7 }, "end": { - "line": 97, + "line": 98, "column": 1 } }, "id": { "type": "Identifier", - "start": 1772, - "end": 1776, + "start": 1699, + "end": 1703, "loc": { "start": { - "line": 95, + "line": 96, "column": 16 }, "end": { - "line": 95, + "line": 96, "column": 20 }, "identifierName": "muln" @@ -4968,16 +5005,16 @@ "params": [ { "type": "Identifier", - "start": 1779, - "end": 1784, + "start": 1704, + "end": 1709, "loc": { "start": { - "line": 95, - "column": 23 + "line": 96, + "column": 21 }, "end": { - "line": 95, - "column": 28 + "line": 96, + "column": 26 }, "identifierName": "first" }, @@ -4985,16 +5022,16 @@ }, { "type": "Identifier", - "start": 1787, - "end": 1793, + "start": 1711, + "end": 1717, "loc": { "start": { - "line": 95, - "column": 31 + "line": 96, + "column": 28 }, "end": { - "line": 95, - "column": 37 + "line": 96, + "column": 34 }, "identifierName": "second" }, @@ -5003,72 +5040,72 @@ ], "body": { "type": "BlockStatement", - "start": 1796, - "end": 1828, + "start": 1719, + "end": 1750, "loc": { "start": { - "line": 95, - "column": 40 + "line": 96, + "column": 36 }, "end": { - "line": 97, + "line": 98, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 1799, - "end": 1826, + "start": 1722, + "end": 1748, "loc": { "start": { - "line": 96, + "line": 97, "column": 1 }, "end": { - "line": 96, - "column": 28 + "line": 97, + "column": 27 } }, "argument": { "type": "CallExpression", - "start": 1806, - "end": 1824, + "start": 1729, + "end": 1747, "loc": { "start": { - "line": 96, + "line": 97, "column": 8 }, "end": { - "line": 96, + "line": 97, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 1806, - "end": 1816, + "start": 1729, + "end": 1739, "loc": { "start": { - "line": 96, + "line": 97, "column": 8 }, "end": { - "line": 96, + "line": 97, "column": 18 } }, "object": { "type": "Identifier", - "start": 1806, - "end": 1811, + "start": 1729, + "end": 1734, "loc": { "start": { - "line": 96, + "line": 97, "column": 8 }, "end": { - "line": 96, + "line": 97, "column": 13 }, "identifierName": "first" @@ -5077,15 +5114,15 @@ }, "property": { "type": "Identifier", - "start": 1812, - "end": 1816, + "start": 1735, + "end": 1739, "loc": { "start": { - "line": 96, + "line": 97, "column": 14 }, "end": { - "line": 96, + "line": 97, "column": 18 }, "identifierName": "muln" @@ -5097,15 +5134,15 @@ "arguments": [ { "type": "Identifier", - "start": 1817, - "end": 1823, + "start": 1740, + "end": 1746, "loc": { "start": { - "line": 96, + "line": 97, "column": 19 }, "end": { - "line": 96, + "line": 97, "column": 25 }, "identifierName": "second" @@ -5124,15 +5161,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 1830, - "end": 1904, + "start": 1752, + "end": 1821, "loc": { "start": { - "line": 99, + "line": 100, "column": 0 }, "end": { - "line": 101, + "line": 102, "column": 1 } }, @@ -5140,29 +5177,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 1837, - "end": 1904, + "start": 1759, + "end": 1821, "loc": { "start": { - "line": 99, + "line": 100, "column": 7 }, "end": { - "line": 101, + "line": 102, "column": 1 } }, "id": { "type": "Identifier", - "start": 1846, - "end": 1851, + "start": 1768, + "end": 1773, "loc": { "start": { - "line": 99, + "line": 100, "column": 16 }, "end": { - "line": 99, + "line": 100, "column": 21 }, "identifierName": "imuln" @@ -5175,16 +5212,16 @@ "params": [ { "type": "Identifier", - "start": 1854, - "end": 1859, + "start": 1774, + "end": 1779, "loc": { "start": { - "line": 99, - "column": 24 + "line": 100, + "column": 22 }, "end": { - "line": 99, - "column": 29 + "line": 100, + "column": 27 }, "identifierName": "first" }, @@ -5192,16 +5229,16 @@ }, { "type": "Identifier", - "start": 1862, - "end": 1868, + "start": 1781, + "end": 1787, "loc": { "start": { - "line": 99, - "column": 32 + "line": 100, + "column": 29 }, "end": { - "line": 99, - "column": 38 + "line": 100, + "column": 35 }, "identifierName": "second" }, @@ -5210,72 +5247,72 @@ ], "body": { "type": "BlockStatement", - "start": 1871, - "end": 1904, + "start": 1789, + "end": 1821, "loc": { "start": { - "line": 99, - "column": 41 + "line": 100, + "column": 37 }, "end": { - "line": 101, + "line": 102, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 1874, - "end": 1902, + "start": 1792, + "end": 1819, "loc": { "start": { - "line": 100, + "line": 101, "column": 1 }, "end": { - "line": 100, - "column": 29 + "line": 101, + "column": 28 } }, "argument": { "type": "CallExpression", - "start": 1881, - "end": 1900, + "start": 1799, + "end": 1818, "loc": { "start": { - "line": 100, + "line": 101, "column": 8 }, "end": { - "line": 100, + "line": 101, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 1881, - "end": 1892, + "start": 1799, + "end": 1810, "loc": { "start": { - "line": 100, + "line": 101, "column": 8 }, "end": { - "line": 100, + "line": 101, "column": 19 } }, "object": { "type": "Identifier", - "start": 1881, - "end": 1886, + "start": 1799, + "end": 1804, "loc": { "start": { - "line": 100, + "line": 101, "column": 8 }, "end": { - "line": 100, + "line": 101, "column": 13 }, "identifierName": "first" @@ -5284,15 +5321,15 @@ }, "property": { "type": "Identifier", - "start": 1887, - "end": 1892, + "start": 1805, + "end": 1810, "loc": { "start": { - "line": 100, + "line": 101, "column": 14 }, "end": { - "line": 100, + "line": 101, "column": 19 }, "identifierName": "imuln" @@ -5304,15 +5341,15 @@ "arguments": [ { "type": "Identifier", - "start": 1893, - "end": 1899, + "start": 1811, + "end": 1817, "loc": { "start": { - "line": 100, + "line": 101, "column": 20 }, "end": { - "line": 100, + "line": 101, "column": 26 }, "identifierName": "second" @@ -5331,15 +5368,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 1906, - "end": 1978, + "start": 1823, + "end": 1890, "loc": { "start": { - "line": 103, + "line": 104, "column": 0 }, "end": { - "line": 105, + "line": 106, "column": 1 } }, @@ -5347,29 +5384,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 1913, - "end": 1978, + "start": 1830, + "end": 1890, "loc": { "start": { - "line": 103, + "line": 104, "column": 7 }, "end": { - "line": 105, + "line": 106, "column": 1 } }, "id": { "type": "Identifier", - "start": 1922, - "end": 1926, + "start": 1839, + "end": 1843, "loc": { "start": { - "line": 103, + "line": 104, "column": 16 }, "end": { - "line": 103, + "line": 104, "column": 20 }, "identifierName": "pown" @@ -5382,16 +5419,16 @@ "params": [ { "type": "Identifier", - "start": 1929, - "end": 1934, + "start": 1844, + "end": 1849, "loc": { "start": { - "line": 103, - "column": 23 + "line": 104, + "column": 21 }, "end": { - "line": 103, - "column": 28 + "line": 104, + "column": 26 }, "identifierName": "first" }, @@ -5399,16 +5436,16 @@ }, { "type": "Identifier", - "start": 1937, - "end": 1943, + "start": 1851, + "end": 1857, "loc": { "start": { - "line": 103, - "column": 31 + "line": 104, + "column": 28 }, "end": { - "line": 103, - "column": 37 + "line": 104, + "column": 34 }, "identifierName": "second" }, @@ -5417,72 +5454,72 @@ ], "body": { "type": "BlockStatement", - "start": 1946, - "end": 1978, + "start": 1859, + "end": 1890, "loc": { "start": { - "line": 103, - "column": 40 + "line": 104, + "column": 36 }, "end": { - "line": 105, + "line": 106, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 1949, - "end": 1976, + "start": 1862, + "end": 1888, "loc": { "start": { - "line": 104, + "line": 105, "column": 1 }, "end": { - "line": 104, - "column": 28 + "line": 105, + "column": 27 } }, "argument": { "type": "CallExpression", - "start": 1956, - "end": 1974, + "start": 1869, + "end": 1887, "loc": { "start": { - "line": 104, + "line": 105, "column": 8 }, "end": { - "line": 104, + "line": 105, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 1956, - "end": 1966, + "start": 1869, + "end": 1879, "loc": { "start": { - "line": 104, + "line": 105, "column": 8 }, "end": { - "line": 104, + "line": 105, "column": 18 } }, "object": { "type": "Identifier", - "start": 1956, - "end": 1961, + "start": 1869, + "end": 1874, "loc": { "start": { - "line": 104, + "line": 105, "column": 8 }, "end": { - "line": 104, + "line": 105, "column": 13 }, "identifierName": "first" @@ -5491,15 +5528,15 @@ }, "property": { "type": "Identifier", - "start": 1962, - "end": 1966, + "start": 1875, + "end": 1879, "loc": { "start": { - "line": 104, + "line": 105, "column": 14 }, "end": { - "line": 104, + "line": 105, "column": 18 }, "identifierName": "pown" @@ -5511,15 +5548,15 @@ "arguments": [ { "type": "Identifier", - "start": 1967, - "end": 1973, + "start": 1880, + "end": 1886, "loc": { "start": { - "line": 104, + "line": 105, "column": 19 }, "end": { - "line": 104, + "line": 105, "column": 25 }, "identifierName": "second" @@ -5538,15 +5575,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 1980, - "end": 2054, + "start": 1892, + "end": 1961, "loc": { "start": { - "line": 107, + "line": 108, "column": 0 }, "end": { - "line": 109, + "line": 110, "column": 1 } }, @@ -5554,29 +5591,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 1987, - "end": 2054, + "start": 1899, + "end": 1961, "loc": { "start": { - "line": 107, + "line": 108, "column": 7 }, "end": { - "line": 109, + "line": 110, "column": 1 } }, "id": { "type": "Identifier", - "start": 1996, - "end": 2001, + "start": 1908, + "end": 1913, "loc": { "start": { - "line": 107, + "line": 108, "column": 16 }, "end": { - "line": 107, + "line": 108, "column": 21 }, "identifierName": "ipown" @@ -5589,16 +5626,16 @@ "params": [ { "type": "Identifier", - "start": 2004, - "end": 2009, + "start": 1914, + "end": 1919, "loc": { "start": { - "line": 107, - "column": 24 + "line": 108, + "column": 22 }, "end": { - "line": 107, - "column": 29 + "line": 108, + "column": 27 }, "identifierName": "first" }, @@ -5606,16 +5643,16 @@ }, { "type": "Identifier", - "start": 2012, - "end": 2018, + "start": 1921, + "end": 1927, "loc": { "start": { - "line": 107, - "column": 32 + "line": 108, + "column": 29 }, "end": { - "line": 107, - "column": 38 + "line": 108, + "column": 35 }, "identifierName": "second" }, @@ -5624,72 +5661,72 @@ ], "body": { "type": "BlockStatement", - "start": 2021, - "end": 2054, + "start": 1929, + "end": 1961, "loc": { "start": { - "line": 107, - "column": 41 + "line": 108, + "column": 37 }, "end": { - "line": 109, + "line": 110, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 2024, - "end": 2052, + "start": 1932, + "end": 1959, "loc": { "start": { - "line": 108, + "line": 109, "column": 1 }, "end": { - "line": 108, - "column": 29 + "line": 109, + "column": 28 } }, "argument": { "type": "CallExpression", - "start": 2031, - "end": 2050, + "start": 1939, + "end": 1958, "loc": { "start": { - "line": 108, + "line": 109, "column": 8 }, "end": { - "line": 108, + "line": 109, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 2031, - "end": 2042, + "start": 1939, + "end": 1950, "loc": { "start": { - "line": 108, + "line": 109, "column": 8 }, "end": { - "line": 108, + "line": 109, "column": 19 } }, "object": { "type": "Identifier", - "start": 2031, - "end": 2036, + "start": 1939, + "end": 1944, "loc": { "start": { - "line": 108, + "line": 109, "column": 8 }, "end": { - "line": 108, + "line": 109, "column": 13 }, "identifierName": "first" @@ -5698,15 +5735,15 @@ }, "property": { "type": "Identifier", - "start": 2037, - "end": 2042, + "start": 1945, + "end": 1950, "loc": { "start": { - "line": 108, + "line": 109, "column": 14 }, "end": { - "line": 108, + "line": 109, "column": 19 }, "identifierName": "ipown" @@ -5718,15 +5755,15 @@ "arguments": [ { "type": "Identifier", - "start": 2043, - "end": 2049, + "start": 1951, + "end": 1957, "loc": { "start": { - "line": 108, + "line": 109, "column": 20 }, "end": { - "line": 108, + "line": 109, "column": 26 }, "identifierName": "second" @@ -5745,15 +5782,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 2056, - "end": 2128, + "start": 1963, + "end": 2030, "loc": { "start": { - "line": 111, + "line": 112, "column": 0 }, "end": { - "line": 113, + "line": 114, "column": 1 } }, @@ -5761,29 +5798,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 2063, - "end": 2128, + "start": 1970, + "end": 2030, "loc": { "start": { - "line": 111, + "line": 112, "column": 7 }, "end": { - "line": 113, + "line": 114, "column": 1 } }, "id": { "type": "Identifier", - "start": 2072, - "end": 2076, + "start": 1979, + "end": 1983, "loc": { "start": { - "line": 111, + "line": 112, "column": 16 }, "end": { - "line": 111, + "line": 112, "column": 20 }, "identifierName": "divn" @@ -5796,16 +5833,16 @@ "params": [ { "type": "Identifier", - "start": 2079, - "end": 2084, + "start": 1984, + "end": 1989, "loc": { "start": { - "line": 111, - "column": 23 + "line": 112, + "column": 21 }, "end": { - "line": 111, - "column": 28 + "line": 112, + "column": 26 }, "identifierName": "first" }, @@ -5813,16 +5850,16 @@ }, { "type": "Identifier", - "start": 2087, - "end": 2093, + "start": 1991, + "end": 1997, "loc": { "start": { - "line": 111, - "column": 31 + "line": 112, + "column": 28 }, "end": { - "line": 111, - "column": 37 + "line": 112, + "column": 34 }, "identifierName": "second" }, @@ -5831,72 +5868,72 @@ ], "body": { "type": "BlockStatement", - "start": 2096, - "end": 2128, + "start": 1999, + "end": 2030, "loc": { "start": { - "line": 111, - "column": 40 + "line": 112, + "column": 36 }, "end": { - "line": 113, + "line": 114, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 2099, - "end": 2126, + "start": 2002, + "end": 2028, "loc": { "start": { - "line": 112, + "line": 113, "column": 1 }, "end": { - "line": 112, - "column": 28 + "line": 113, + "column": 27 } }, "argument": { "type": "CallExpression", - "start": 2106, - "end": 2124, + "start": 2009, + "end": 2027, "loc": { "start": { - "line": 112, + "line": 113, "column": 8 }, "end": { - "line": 112, + "line": 113, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 2106, - "end": 2116, + "start": 2009, + "end": 2019, "loc": { "start": { - "line": 112, + "line": 113, "column": 8 }, "end": { - "line": 112, + "line": 113, "column": 18 } }, "object": { "type": "Identifier", - "start": 2106, - "end": 2111, + "start": 2009, + "end": 2014, "loc": { "start": { - "line": 112, + "line": 113, "column": 8 }, "end": { - "line": 112, + "line": 113, "column": 13 }, "identifierName": "first" @@ -5905,15 +5942,15 @@ }, "property": { "type": "Identifier", - "start": 2112, - "end": 2116, + "start": 2015, + "end": 2019, "loc": { "start": { - "line": 112, + "line": 113, "column": 14 }, "end": { - "line": 112, + "line": 113, "column": 18 }, "identifierName": "divn" @@ -5925,15 +5962,15 @@ "arguments": [ { "type": "Identifier", - "start": 2117, - "end": 2123, + "start": 2020, + "end": 2026, "loc": { "start": { - "line": 112, + "line": 113, "column": 19 }, "end": { - "line": 112, + "line": 113, "column": 25 }, "identifierName": "second" @@ -5952,15 +5989,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 2130, - "end": 2204, + "start": 2032, + "end": 2101, "loc": { "start": { - "line": 115, + "line": 116, "column": 0 }, "end": { - "line": 117, + "line": 118, "column": 1 } }, @@ -5968,29 +6005,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 2137, - "end": 2204, + "start": 2039, + "end": 2101, "loc": { "start": { - "line": 115, + "line": 116, "column": 7 }, "end": { - "line": 117, + "line": 118, "column": 1 } }, "id": { "type": "Identifier", - "start": 2146, - "end": 2151, + "start": 2048, + "end": 2053, "loc": { "start": { - "line": 115, + "line": 116, "column": 16 }, "end": { - "line": 115, + "line": 116, "column": 21 }, "identifierName": "idivn" @@ -6003,16 +6040,16 @@ "params": [ { "type": "Identifier", - "start": 2154, - "end": 2159, + "start": 2054, + "end": 2059, "loc": { "start": { - "line": 115, - "column": 24 + "line": 116, + "column": 22 }, "end": { - "line": 115, - "column": 29 + "line": 116, + "column": 27 }, "identifierName": "first" }, @@ -6020,16 +6057,16 @@ }, { "type": "Identifier", - "start": 2162, - "end": 2168, + "start": 2061, + "end": 2067, "loc": { "start": { - "line": 115, - "column": 32 + "line": 116, + "column": 29 }, "end": { - "line": 115, - "column": 38 + "line": 116, + "column": 35 }, "identifierName": "second" }, @@ -6038,72 +6075,72 @@ ], "body": { "type": "BlockStatement", - "start": 2171, - "end": 2204, + "start": 2069, + "end": 2101, "loc": { "start": { - "line": 115, - "column": 41 + "line": 116, + "column": 37 }, "end": { - "line": 117, + "line": 118, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 2174, - "end": 2202, + "start": 2072, + "end": 2099, "loc": { "start": { - "line": 116, + "line": 117, "column": 1 }, "end": { - "line": 116, - "column": 29 + "line": 117, + "column": 28 } }, "argument": { "type": "CallExpression", - "start": 2181, - "end": 2200, + "start": 2079, + "end": 2098, "loc": { "start": { - "line": 116, + "line": 117, "column": 8 }, "end": { - "line": 116, + "line": 117, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 2181, - "end": 2192, + "start": 2079, + "end": 2090, "loc": { "start": { - "line": 116, + "line": 117, "column": 8 }, "end": { - "line": 116, + "line": 117, "column": 19 } }, "object": { "type": "Identifier", - "start": 2181, - "end": 2186, + "start": 2079, + "end": 2084, "loc": { "start": { - "line": 116, + "line": 117, "column": 8 }, "end": { - "line": 116, + "line": 117, "column": 13 }, "identifierName": "first" @@ -6112,15 +6149,15 @@ }, "property": { "type": "Identifier", - "start": 2187, - "end": 2192, + "start": 2085, + "end": 2090, "loc": { "start": { - "line": 116, + "line": 117, "column": 14 }, "end": { - "line": 116, + "line": 117, "column": 19 }, "identifierName": "idivn" @@ -6132,15 +6169,15 @@ "arguments": [ { "type": "Identifier", - "start": 2193, - "end": 2199, + "start": 2091, + "end": 2097, "loc": { "start": { - "line": 116, + "line": 117, "column": 20 }, "end": { - "line": 116, + "line": 117, "column": 26 }, "identifierName": "second" @@ -6159,15 +6196,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 2206, - "end": 2278, + "start": 2103, + "end": 2170, "loc": { "start": { - "line": 119, + "line": 120, "column": 0 }, "end": { - "line": 121, + "line": 122, "column": 1 } }, @@ -6175,29 +6212,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 2213, - "end": 2278, + "start": 2110, + "end": 2170, "loc": { "start": { - "line": 119, + "line": 120, "column": 7 }, "end": { - "line": 121, + "line": 122, "column": 1 } }, "id": { "type": "Identifier", - "start": 2222, - "end": 2226, + "start": 2119, + "end": 2123, "loc": { "start": { - "line": 119, + "line": 120, "column": 16 }, "end": { - "line": 119, + "line": 120, "column": 20 }, "identifierName": "modn" @@ -6210,16 +6247,16 @@ "params": [ { "type": "Identifier", - "start": 2229, - "end": 2234, + "start": 2124, + "end": 2129, "loc": { "start": { - "line": 119, - "column": 23 + "line": 120, + "column": 21 }, "end": { - "line": 119, - "column": 28 + "line": 120, + "column": 26 }, "identifierName": "first" }, @@ -6227,16 +6264,16 @@ }, { "type": "Identifier", - "start": 2237, - "end": 2243, + "start": 2131, + "end": 2137, "loc": { "start": { - "line": 119, - "column": 31 + "line": 120, + "column": 28 }, "end": { - "line": 119, - "column": 37 + "line": 120, + "column": 34 }, "identifierName": "second" }, @@ -6245,72 +6282,72 @@ ], "body": { "type": "BlockStatement", - "start": 2246, - "end": 2278, + "start": 2139, + "end": 2170, "loc": { "start": { - "line": 119, - "column": 40 + "line": 120, + "column": 36 }, "end": { - "line": 121, + "line": 122, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 2249, - "end": 2276, + "start": 2142, + "end": 2168, "loc": { "start": { - "line": 120, + "line": 121, "column": 1 }, "end": { - "line": 120, - "column": 28 + "line": 121, + "column": 27 } }, "argument": { "type": "CallExpression", - "start": 2256, - "end": 2274, + "start": 2149, + "end": 2167, "loc": { "start": { - "line": 120, + "line": 121, "column": 8 }, "end": { - "line": 120, + "line": 121, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 2256, - "end": 2266, + "start": 2149, + "end": 2159, "loc": { "start": { - "line": 120, + "line": 121, "column": 8 }, "end": { - "line": 120, + "line": 121, "column": 18 } }, "object": { "type": "Identifier", - "start": 2256, - "end": 2261, + "start": 2149, + "end": 2154, "loc": { "start": { - "line": 120, + "line": 121, "column": 8 }, "end": { - "line": 120, + "line": 121, "column": 13 }, "identifierName": "first" @@ -6319,15 +6356,15 @@ }, "property": { "type": "Identifier", - "start": 2262, - "end": 2266, + "start": 2155, + "end": 2159, "loc": { "start": { - "line": 120, + "line": 121, "column": 14 }, "end": { - "line": 120, + "line": 121, "column": 18 }, "identifierName": "modn" @@ -6339,15 +6376,15 @@ "arguments": [ { "type": "Identifier", - "start": 2267, - "end": 2273, + "start": 2160, + "end": 2166, "loc": { "start": { - "line": 120, + "line": 121, "column": 19 }, "end": { - "line": 120, + "line": 121, "column": 25 }, "identifierName": "second" @@ -6366,15 +6403,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 2280, - "end": 2354, + "start": 2172, + "end": 2241, "loc": { "start": { - "line": 123, + "line": 124, "column": 0 }, "end": { - "line": 125, + "line": 126, "column": 1 } }, @@ -6382,29 +6419,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 2287, - "end": 2354, + "start": 2179, + "end": 2241, "loc": { "start": { - "line": 123, + "line": 124, "column": 7 }, "end": { - "line": 125, + "line": 126, "column": 1 } }, "id": { "type": "Identifier", - "start": 2296, - "end": 2301, + "start": 2188, + "end": 2193, "loc": { "start": { - "line": 123, + "line": 124, "column": 16 }, "end": { - "line": 123, + "line": 124, "column": 21 }, "identifierName": "imodn" @@ -6417,16 +6454,16 @@ "params": [ { "type": "Identifier", - "start": 2304, - "end": 2309, + "start": 2194, + "end": 2199, "loc": { "start": { - "line": 123, - "column": 24 + "line": 124, + "column": 22 }, "end": { - "line": 123, - "column": 29 + "line": 124, + "column": 27 }, "identifierName": "first" }, @@ -6434,16 +6471,16 @@ }, { "type": "Identifier", - "start": 2312, - "end": 2318, + "start": 2201, + "end": 2207, "loc": { "start": { - "line": 123, - "column": 32 + "line": 124, + "column": 29 }, "end": { - "line": 123, - "column": 38 + "line": 124, + "column": 35 }, "identifierName": "second" }, @@ -6452,72 +6489,72 @@ ], "body": { "type": "BlockStatement", - "start": 2321, - "end": 2354, + "start": 2209, + "end": 2241, "loc": { "start": { - "line": 123, - "column": 41 + "line": 124, + "column": 37 }, "end": { - "line": 125, + "line": 126, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 2324, - "end": 2352, + "start": 2212, + "end": 2239, "loc": { "start": { - "line": 124, + "line": 125, "column": 1 }, "end": { - "line": 124, - "column": 29 + "line": 125, + "column": 28 } }, "argument": { "type": "CallExpression", - "start": 2331, - "end": 2350, + "start": 2219, + "end": 2238, "loc": { "start": { - "line": 124, + "line": 125, "column": 8 }, "end": { - "line": 124, + "line": 125, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 2331, - "end": 2342, + "start": 2219, + "end": 2230, "loc": { "start": { - "line": 124, + "line": 125, "column": 8 }, "end": { - "line": 124, + "line": 125, "column": 19 } }, "object": { "type": "Identifier", - "start": 2331, - "end": 2336, + "start": 2219, + "end": 2224, "loc": { "start": { - "line": 124, + "line": 125, "column": 8 }, "end": { - "line": 124, + "line": 125, "column": 13 }, "identifierName": "first" @@ -6526,15 +6563,15 @@ }, "property": { "type": "Identifier", - "start": 2337, - "end": 2342, + "start": 2225, + "end": 2230, "loc": { "start": { - "line": 124, + "line": 125, "column": 14 }, "end": { - "line": 124, + "line": 125, "column": 19 }, "identifierName": "imodn" @@ -6546,15 +6583,15 @@ "arguments": [ { "type": "Identifier", - "start": 2343, - "end": 2349, + "start": 2231, + "end": 2237, "loc": { "start": { - "line": 124, + "line": 125, "column": 20 }, "end": { - "line": 124, + "line": 125, "column": 26 }, "identifierName": "second" @@ -6573,15 +6610,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 2356, - "end": 2434, + "start": 2243, + "end": 2316, "loc": { "start": { - "line": 127, + "line": 128, "column": 0 }, "end": { - "line": 129, + "line": 130, "column": 1 } }, @@ -6589,29 +6626,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 2363, - "end": 2434, + "start": 2250, + "end": 2316, "loc": { "start": { - "line": 127, + "line": 128, "column": 7 }, "end": { - "line": 129, + "line": 130, "column": 1 } }, "id": { "type": "Identifier", - "start": 2372, - "end": 2379, + "start": 2259, + "end": 2266, "loc": { "start": { - "line": 127, + "line": 128, "column": 16 }, "end": { - "line": 127, + "line": 128, "column": 23 }, "identifierName": "divmodn" @@ -6624,16 +6661,16 @@ "params": [ { "type": "Identifier", - "start": 2382, - "end": 2387, + "start": 2267, + "end": 2272, "loc": { "start": { - "line": 127, - "column": 26 + "line": 128, + "column": 24 }, "end": { - "line": 127, - "column": 31 + "line": 128, + "column": 29 }, "identifierName": "first" }, @@ -6641,16 +6678,16 @@ }, { "type": "Identifier", - "start": 2390, - "end": 2396, + "start": 2274, + "end": 2280, "loc": { "start": { - "line": 127, - "column": 34 + "line": 128, + "column": 31 }, "end": { - "line": 127, - "column": 40 + "line": 128, + "column": 37 }, "identifierName": "second" }, @@ -6659,72 +6696,72 @@ ], "body": { "type": "BlockStatement", - "start": 2399, - "end": 2434, + "start": 2282, + "end": 2316, "loc": { "start": { - "line": 127, - "column": 43 + "line": 128, + "column": 39 }, "end": { - "line": 129, + "line": 130, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 2402, - "end": 2432, + "start": 2285, + "end": 2314, "loc": { "start": { - "line": 128, + "line": 129, "column": 1 }, "end": { - "line": 128, - "column": 31 + "line": 129, + "column": 30 } }, "argument": { "type": "CallExpression", - "start": 2409, - "end": 2430, + "start": 2292, + "end": 2313, "loc": { "start": { - "line": 128, + "line": 129, "column": 8 }, "end": { - "line": 128, + "line": 129, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 2409, - "end": 2422, + "start": 2292, + "end": 2305, "loc": { "start": { - "line": 128, + "line": 129, "column": 8 }, "end": { - "line": 128, + "line": 129, "column": 21 } }, "object": { "type": "Identifier", - "start": 2409, - "end": 2414, + "start": 2292, + "end": 2297, "loc": { "start": { - "line": 128, + "line": 129, "column": 8 }, "end": { - "line": 128, + "line": 129, "column": 13 }, "identifierName": "first" @@ -6733,15 +6770,15 @@ }, "property": { "type": "Identifier", - "start": 2415, - "end": 2422, + "start": 2298, + "end": 2305, "loc": { "start": { - "line": 128, + "line": 129, "column": 14 }, "end": { - "line": 128, + "line": 129, "column": 21 }, "identifierName": "divmodn" @@ -6753,15 +6790,15 @@ "arguments": [ { "type": "Identifier", - "start": 2423, - "end": 2429, + "start": 2306, + "end": 2312, "loc": { "start": { - "line": 128, + "line": 129, "column": 22 }, "end": { - "line": 128, + "line": 129, "column": 28 }, "identifierName": "second" @@ -6780,15 +6817,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 2436, - "end": 2516, + "start": 2318, + "end": 2393, "loc": { "start": { - "line": 131, + "line": 132, "column": 0 }, "end": { - "line": 133, + "line": 134, "column": 1 } }, @@ -6796,29 +6833,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 2443, - "end": 2516, + "start": 2325, + "end": 2393, "loc": { "start": { - "line": 131, + "line": 132, "column": 7 }, "end": { - "line": 133, + "line": 134, "column": 1 } }, "id": { "type": "Identifier", - "start": 2452, - "end": 2460, + "start": 2334, + "end": 2342, "loc": { "start": { - "line": 131, + "line": 132, "column": 16 }, "end": { - "line": 131, + "line": 132, "column": 24 }, "identifierName": "idivmodn" @@ -6831,16 +6868,16 @@ "params": [ { "type": "Identifier", - "start": 2463, - "end": 2468, + "start": 2343, + "end": 2348, "loc": { "start": { - "line": 131, - "column": 27 + "line": 132, + "column": 25 }, "end": { - "line": 131, - "column": 32 + "line": 132, + "column": 30 }, "identifierName": "first" }, @@ -6848,16 +6885,16 @@ }, { "type": "Identifier", - "start": 2471, - "end": 2477, + "start": 2350, + "end": 2356, "loc": { "start": { - "line": 131, - "column": 35 + "line": 132, + "column": 32 }, "end": { - "line": 131, - "column": 41 + "line": 132, + "column": 38 }, "identifierName": "second" }, @@ -6866,72 +6903,72 @@ ], "body": { "type": "BlockStatement", - "start": 2480, - "end": 2516, + "start": 2358, + "end": 2393, "loc": { "start": { - "line": 131, - "column": 44 + "line": 132, + "column": 40 }, "end": { - "line": 133, + "line": 134, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 2483, - "end": 2514, + "start": 2361, + "end": 2391, "loc": { "start": { - "line": 132, + "line": 133, "column": 1 }, "end": { - "line": 132, - "column": 32 + "line": 133, + "column": 31 } }, "argument": { "type": "CallExpression", - "start": 2490, - "end": 2512, + "start": 2368, + "end": 2390, "loc": { "start": { - "line": 132, + "line": 133, "column": 8 }, "end": { - "line": 132, + "line": 133, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 2490, - "end": 2504, + "start": 2368, + "end": 2382, "loc": { "start": { - "line": 132, + "line": 133, "column": 8 }, "end": { - "line": 132, + "line": 133, "column": 22 } }, "object": { "type": "Identifier", - "start": 2490, - "end": 2495, + "start": 2368, + "end": 2373, "loc": { "start": { - "line": 132, + "line": 133, "column": 8 }, "end": { - "line": 132, + "line": 133, "column": 13 }, "identifierName": "first" @@ -6940,15 +6977,15 @@ }, "property": { "type": "Identifier", - "start": 2496, - "end": 2504, + "start": 2374, + "end": 2382, "loc": { "start": { - "line": 132, + "line": 133, "column": 14 }, "end": { - "line": 132, + "line": 133, "column": 22 }, "identifierName": "idivmodn" @@ -6960,15 +6997,15 @@ "arguments": [ { "type": "Identifier", - "start": 2505, - "end": 2511, + "start": 2383, + "end": 2389, "loc": { "start": { - "line": 132, + "line": 133, "column": 23 }, "end": { - "line": 132, + "line": 133, "column": 29 }, "identifierName": "second" @@ -7056,42 +7093,41 @@ "binop": null }, "value": "DEFAULT_DISPLAY_BASE", - "start": 9, - "end": 29, + "start": 8, + "end": 28, "loc": { "start": { "line": 1, - "column": 9 + "column": 8 }, "end": { "line": 1, - "column": 29 + "column": 28 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 30, - "end": 31, + "start": 28, + "end": 29, "loc": { "start": { "line": 1, - "column": 30 + "column": 28 }, "end": { "line": 1, - "column": 31 + "column": 29 } } }, @@ -7107,13 +7143,13 @@ "postfix": false, "binop": null }, - "value": "ZZ", - "start": 32, + "value": "from", + "start": 30, "end": 34, "loc": { "start": { "line": 1, - "column": 32 + "column": 30 }, "end": { "line": 1, @@ -7123,18 +7159,20 @@ }, { "type": { - "label": "}", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, + "value": "./DEFAULT_DISPLAY_BASE.js", "start": 35, - "end": 36, + "end": 62, "loc": { "start": { "line": 1, @@ -7142,39 +7180,40 @@ }, "end": { "line": 1, - "column": 36 + "column": 62 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "from", - "start": 37, - "end": 41, + "start": 62, + "end": 63, "loc": { "start": { "line": 1, - "column": 37 + "column": 62 }, "end": { "line": 1, - "column": 41 + "column": 63 } } }, { "type": { - "label": "string", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -7185,80 +7224,76 @@ "binop": null, "updateContext": null }, - "value": "./", - "start": 42, - "end": 46, + "value": "import", + "start": 64, + "end": 70, "loc": { "start": { - "line": 1, - "column": 42 + "line": 2, + "column": 0 }, "end": { - "line": 1, - "column": 46 + "line": 2, + "column": 6 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 47, - "end": 48, + "start": 71, + "end": 72, "loc": { "start": { - "line": 1, - "column": 47 + "line": 2, + "column": 7 }, "end": { - "line": 1, - "column": 48 + "line": 2, + "column": 8 } } }, { "type": { - "label": "export", - "keyword": "export", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "export", - "start": 50, - "end": 56, + "value": "ZZ", + "start": 72, + "end": 74, "loc": { "start": { - "line": 3, - "column": 0 + "line": 2, + "column": 8 }, "end": { - "line": 3, - "column": 6 + "line": 2, + "column": 10 } } }, { "type": { - "label": "function", - "keyword": "function", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7266,17 +7301,16 @@ "postfix": false, "binop": null }, - "value": "function", - "start": 57, - "end": 65, + "start": 74, + "end": 75, "loc": { "start": { - "line": 3, - "column": 7 + "line": 2, + "column": 10 }, "end": { - "line": 3, - "column": 15 + "line": 2, + "column": 11 } } }, @@ -7292,67 +7326,201 @@ "postfix": false, "binop": null }, - "value": "$0", - "start": 66, - "end": 68, + "value": "from", + "start": 76, + "end": 80, "loc": { "start": { - "line": 3, - "column": 16 + "line": 2, + "column": 12 }, "end": { - "line": 3, - "column": 18 + "line": 2, + "column": 16 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 69, - "end": 70, + "value": "./ZZ.js", + "start": 81, + "end": 90, "loc": { "start": { - "line": 3, - "column": 19 + "line": 2, + "column": 17 }, "end": { - "line": 3, - "column": 20 + "line": 2, + "column": 26 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 71, - "end": 72, + "start": 90, + "end": 91, "loc": { "start": { - "line": 3, - "column": 21 + "line": 2, + "column": 26 }, "end": { - "line": 3, - "column": 22 + "line": 2, + "column": 27 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 93, + "end": 99, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 100, + "end": 108, + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "$0", + "start": 109, + "end": 111, + "loc": { + "start": { + "line": 4, + "column": 16 + }, + "end": { + "line": 4, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 111, + "end": 112, + "loc": { + "start": { + "line": 4, + "column": 18 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 112, + "end": 113, + "loc": { + "start": { + "line": 4, + "column": 19 + }, + "end": { + "line": 4, + "column": 20 } } }, @@ -7368,16 +7536,16 @@ "postfix": false, "binop": null }, - "start": 73, - "end": 74, + "start": 114, + "end": 115, "loc": { "start": { - "line": 3, - "column": 23 + "line": 4, + "column": 21 }, "end": { - "line": 3, - "column": 24 + "line": 4, + "column": 22 } } }, @@ -7396,15 +7564,15 @@ "updateContext": null }, "value": "return", - "start": 76, - "end": 82, + "start": 117, + "end": 123, "loc": { "start": { - "line": 4, + "line": 5, "column": 1 }, "end": { - "line": 4, + "line": 5, "column": 7 } } @@ -7422,15 +7590,15 @@ "binop": null }, "value": "ZZ", - "start": 83, - "end": 85, + "start": 124, + "end": 126, "loc": { "start": { - "line": 4, + "line": 5, "column": 8 }, "end": { - "line": 4, + "line": 5, "column": 10 } } @@ -7448,15 +7616,15 @@ "binop": null, "updateContext": null }, - "start": 85, - "end": 86, + "start": 126, + "end": 127, "loc": { "start": { - "line": 4, + "line": 5, "column": 10 }, "end": { - "line": 4, + "line": 5, "column": 11 } } @@ -7474,15 +7642,15 @@ "binop": null }, "value": "$0", - "start": 86, - "end": 88, + "start": 127, + "end": 129, "loc": { "start": { - "line": 4, + "line": 5, "column": 11 }, "end": { - "line": 4, + "line": 5, "column": 13 } } @@ -7499,15 +7667,15 @@ "postfix": false, "binop": null }, - "start": 88, - "end": 89, + "start": 129, + "end": 130, "loc": { "start": { - "line": 4, + "line": 5, "column": 13 }, "end": { - "line": 4, + "line": 5, "column": 14 } } @@ -7524,15 +7692,15 @@ "postfix": false, "binop": null }, - "start": 89, - "end": 90, + "start": 130, + "end": 131, "loc": { "start": { - "line": 4, + "line": 5, "column": 14 }, "end": { - "line": 4, + "line": 5, "column": 15 } } @@ -7550,16 +7718,16 @@ "binop": null, "updateContext": null }, - "start": 91, - "end": 92, + "start": 131, + "end": 132, "loc": { "start": { - "line": 4, - "column": 16 + "line": 5, + "column": 15 }, "end": { - "line": 4, - "column": 17 + "line": 5, + "column": 16 } } }, @@ -7575,15 +7743,15 @@ "postfix": false, "binop": null }, - "start": 93, - "end": 94, + "start": 133, + "end": 134, "loc": { "start": { - "line": 5, + "line": 6, "column": 0 }, "end": { - "line": 5, + "line": 6, "column": 1 } } @@ -7603,15 +7771,15 @@ "updateContext": null }, "value": "export", - "start": 96, - "end": 102, + "start": 136, + "end": 142, "loc": { "start": { - "line": 7, + "line": 8, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 6 } } @@ -7630,15 +7798,15 @@ "binop": null }, "value": "function", - "start": 103, - "end": 111, + "start": 143, + "end": 151, "loc": { "start": { - "line": 7, + "line": 8, "column": 7 }, "end": { - "line": 7, + "line": 8, "column": 15 } } @@ -7656,15 +7824,15 @@ "binop": null }, "value": "$1", - "start": 112, - "end": 114, + "start": 152, + "end": 154, "loc": { "start": { - "line": 7, + "line": 8, "column": 16 }, "end": { - "line": 7, + "line": 8, "column": 18 } } @@ -7681,16 +7849,16 @@ "postfix": false, "binop": null }, - "start": 115, - "end": 116, + "start": 154, + "end": 155, "loc": { "start": { - "line": 7, - "column": 19 + "line": 8, + "column": 18 }, "end": { - "line": 7, - "column": 20 + "line": 8, + "column": 19 } } }, @@ -7706,16 +7874,16 @@ "postfix": false, "binop": null }, - "start": 117, - "end": 118, + "start": 155, + "end": 156, "loc": { "start": { - "line": 7, - "column": 21 + "line": 8, + "column": 19 }, "end": { - "line": 7, - "column": 22 + "line": 8, + "column": 20 } } }, @@ -7731,16 +7899,16 @@ "postfix": false, "binop": null }, - "start": 119, - "end": 120, + "start": 157, + "end": 158, "loc": { "start": { - "line": 7, - "column": 23 + "line": 8, + "column": 21 }, "end": { - "line": 7, - "column": 24 + "line": 8, + "column": 22 } } }, @@ -7759,15 +7927,15 @@ "updateContext": null }, "value": "return", - "start": 122, - "end": 128, + "start": 160, + "end": 166, "loc": { "start": { - "line": 8, + "line": 9, "column": 1 }, "end": { - "line": 8, + "line": 9, "column": 7 } } @@ -7785,15 +7953,15 @@ "binop": null }, "value": "ZZ", - "start": 129, - "end": 131, + "start": 167, + "end": 169, "loc": { "start": { - "line": 8, + "line": 9, "column": 8 }, "end": { - "line": 8, + "line": 9, "column": 10 } } @@ -7811,15 +7979,15 @@ "binop": null, "updateContext": null }, - "start": 131, - "end": 132, + "start": 169, + "end": 170, "loc": { "start": { - "line": 8, + "line": 9, "column": 10 }, "end": { - "line": 8, + "line": 9, "column": 11 } } @@ -7837,15 +8005,15 @@ "binop": null }, "value": "$1", - "start": 132, - "end": 134, + "start": 170, + "end": 172, "loc": { "start": { - "line": 8, + "line": 9, "column": 11 }, "end": { - "line": 8, + "line": 9, "column": 13 } } @@ -7862,15 +8030,15 @@ "postfix": false, "binop": null }, - "start": 134, - "end": 135, + "start": 172, + "end": 173, "loc": { "start": { - "line": 8, + "line": 9, "column": 13 }, "end": { - "line": 8, + "line": 9, "column": 14 } } @@ -7887,15 +8055,15 @@ "postfix": false, "binop": null }, - "start": 135, - "end": 136, + "start": 173, + "end": 174, "loc": { "start": { - "line": 8, + "line": 9, "column": 14 }, "end": { - "line": 8, + "line": 9, "column": 15 } } @@ -7913,16 +8081,16 @@ "binop": null, "updateContext": null }, - "start": 137, - "end": 138, + "start": 174, + "end": 175, "loc": { "start": { - "line": 8, - "column": 16 + "line": 9, + "column": 15 }, "end": { - "line": 8, - "column": 17 + "line": 9, + "column": 16 } } }, @@ -7938,15 +8106,15 @@ "postfix": false, "binop": null }, - "start": 139, - "end": 140, + "start": 176, + "end": 177, "loc": { "start": { - "line": 9, + "line": 10, "column": 0 }, "end": { - "line": 9, + "line": 10, "column": 1 } } @@ -7966,15 +8134,15 @@ "updateContext": null }, "value": "export", - "start": 142, - "end": 148, + "start": 179, + "end": 185, "loc": { "start": { - "line": 11, + "line": 12, "column": 0 }, "end": { - "line": 11, + "line": 12, "column": 6 } } @@ -7993,15 +8161,15 @@ "binop": null }, "value": "function", - "start": 149, - "end": 157, + "start": 186, + "end": 194, "loc": { "start": { - "line": 11, + "line": 12, "column": 7 }, "end": { - "line": 11, + "line": 12, "column": 15 } } @@ -8019,15 +8187,15 @@ "binop": null }, "value": "$_1", - "start": 158, - "end": 161, + "start": 195, + "end": 198, "loc": { "start": { - "line": 11, + "line": 12, "column": 16 }, "end": { - "line": 11, + "line": 12, "column": 19 } } @@ -8044,16 +8212,16 @@ "postfix": false, "binop": null }, - "start": 162, - "end": 163, + "start": 198, + "end": 199, "loc": { "start": { - "line": 11, - "column": 20 + "line": 12, + "column": 19 }, "end": { - "line": 11, - "column": 21 + "line": 12, + "column": 20 } } }, @@ -8069,16 +8237,16 @@ "postfix": false, "binop": null }, - "start": 164, - "end": 165, + "start": 199, + "end": 200, "loc": { "start": { - "line": 11, - "column": 22 + "line": 12, + "column": 20 }, "end": { - "line": 11, - "column": 23 + "line": 12, + "column": 21 } } }, @@ -8094,16 +8262,16 @@ "postfix": false, "binop": null }, - "start": 166, - "end": 167, + "start": 201, + "end": 202, "loc": { "start": { - "line": 11, - "column": 24 + "line": 12, + "column": 22 }, "end": { - "line": 11, - "column": 25 + "line": 12, + "column": 23 } } }, @@ -8122,15 +8290,15 @@ "updateContext": null }, "value": "return", - "start": 169, - "end": 175, + "start": 204, + "end": 210, "loc": { "start": { - "line": 12, + "line": 13, "column": 1 }, "end": { - "line": 12, + "line": 13, "column": 7 } } @@ -8148,15 +8316,15 @@ "binop": null }, "value": "ZZ", - "start": 176, - "end": 178, + "start": 211, + "end": 213, "loc": { "start": { - "line": 12, + "line": 13, "column": 8 }, "end": { - "line": 12, + "line": 13, "column": 10 } } @@ -8174,15 +8342,15 @@ "binop": null, "updateContext": null }, - "start": 178, - "end": 179, + "start": 213, + "end": 214, "loc": { "start": { - "line": 12, + "line": 13, "column": 10 }, "end": { - "line": 12, + "line": 13, "column": 11 } } @@ -8200,15 +8368,15 @@ "binop": null }, "value": "$_1", - "start": 179, - "end": 182, + "start": 214, + "end": 217, "loc": { "start": { - "line": 12, + "line": 13, "column": 11 }, "end": { - "line": 12, + "line": 13, "column": 14 } } @@ -8225,15 +8393,15 @@ "postfix": false, "binop": null }, - "start": 182, - "end": 183, + "start": 217, + "end": 218, "loc": { "start": { - "line": 12, + "line": 13, "column": 14 }, "end": { - "line": 12, + "line": 13, "column": 15 } } @@ -8250,15 +8418,15 @@ "postfix": false, "binop": null }, - "start": 183, - "end": 184, + "start": 218, + "end": 219, "loc": { "start": { - "line": 12, + "line": 13, "column": 15 }, "end": { - "line": 12, + "line": 13, "column": 16 } } @@ -8276,16 +8444,16 @@ "binop": null, "updateContext": null }, - "start": 185, - "end": 186, + "start": 219, + "end": 220, "loc": { "start": { - "line": 12, - "column": 17 + "line": 13, + "column": 16 }, "end": { - "line": 12, - "column": 18 + "line": 13, + "column": 17 } } }, @@ -8301,15 +8469,15 @@ "postfix": false, "binop": null }, - "start": 187, - "end": 188, + "start": 221, + "end": 222, "loc": { "start": { - "line": 13, + "line": 14, "column": 0 }, "end": { - "line": 13, + "line": 14, "column": 1 } } @@ -8329,15 +8497,15 @@ "updateContext": null }, "value": "export", - "start": 190, - "end": 196, + "start": 224, + "end": 230, "loc": { "start": { - "line": 15, + "line": 16, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 6 } } @@ -8356,15 +8524,15 @@ "binop": null }, "value": "function", - "start": 197, - "end": 205, + "start": 231, + "end": 239, "loc": { "start": { - "line": 15, + "line": 16, "column": 7 }, "end": { - "line": 15, + "line": 16, "column": 15 } } @@ -8382,15 +8550,15 @@ "binop": null }, "value": "parse", - "start": 206, - "end": 211, + "start": 240, + "end": 245, "loc": { "start": { - "line": 15, + "line": 16, "column": 16 }, "end": { - "line": 15, + "line": 16, "column": 21 } } @@ -8407,16 +8575,16 @@ "postfix": false, "binop": null }, - "start": 212, - "end": 213, + "start": 245, + "end": 246, "loc": { "start": { - "line": 15, - "column": 22 + "line": 16, + "column": 21 }, "end": { - "line": 15, - "column": 23 + "line": 16, + "column": 22 } } }, @@ -8433,16 +8601,16 @@ "binop": null }, "value": "object", - "start": 214, - "end": 220, + "start": 246, + "end": 252, "loc": { "start": { - "line": 15, - "column": 24 + "line": 16, + "column": 22 }, "end": { - "line": 15, - "column": 30 + "line": 16, + "column": 28 } } }, @@ -8459,16 +8627,16 @@ "binop": null, "updateContext": null }, - "start": 221, - "end": 222, + "start": 252, + "end": 253, "loc": { "start": { - "line": 15, - "column": 31 + "line": 16, + "column": 28 }, "end": { - "line": 15, - "column": 32 + "line": 16, + "column": 29 } } }, @@ -8485,16 +8653,16 @@ "binop": null }, "value": "base", - "start": 223, - "end": 227, + "start": 254, + "end": 258, "loc": { "start": { - "line": 15, - "column": 33 + "line": 16, + "column": 30 }, "end": { - "line": 15, - "column": 37 + "line": 16, + "column": 34 } } }, @@ -8512,16 +8680,16 @@ "updateContext": null }, "value": "=", - "start": 228, - "end": 229, + "start": 259, + "end": 260, "loc": { "start": { - "line": 15, - "column": 38 + "line": 16, + "column": 35 }, "end": { - "line": 15, - "column": 39 + "line": 16, + "column": 36 } } }, @@ -8538,16 +8706,16 @@ "binop": null }, "value": "undefined", - "start": 230, - "end": 239, + "start": 261, + "end": 270, "loc": { "start": { - "line": 15, - "column": 40 + "line": 16, + "column": 37 }, "end": { - "line": 15, - "column": 49 + "line": 16, + "column": 46 } } }, @@ -8564,16 +8732,16 @@ "binop": null, "updateContext": null }, - "start": 240, - "end": 241, + "start": 270, + "end": 271, "loc": { "start": { - "line": 15, - "column": 50 + "line": 16, + "column": 46 }, "end": { - "line": 15, - "column": 51 + "line": 16, + "column": 47 } } }, @@ -8590,16 +8758,16 @@ "binop": null }, "value": "is_negative", - "start": 242, - "end": 253, + "start": 272, + "end": 283, "loc": { "start": { - "line": 15, - "column": 52 + "line": 16, + "column": 48 }, "end": { - "line": 15, - "column": 63 + "line": 16, + "column": 59 } } }, @@ -8617,16 +8785,16 @@ "updateContext": null }, "value": "=", - "start": 254, - "end": 255, + "start": 284, + "end": 285, "loc": { "start": { - "line": 15, - "column": 64 + "line": 16, + "column": 60 }, "end": { - "line": 15, - "column": 65 + "line": 16, + "column": 61 } } }, @@ -8644,16 +8812,16 @@ "updateContext": null }, "value": 0, - "start": 256, - "end": 257, + "start": 286, + "end": 287, "loc": { "start": { - "line": 15, - "column": 66 + "line": 16, + "column": 62 }, "end": { - "line": 15, - "column": 67 + "line": 16, + "column": 63 } } }, @@ -8669,16 +8837,16 @@ "postfix": false, "binop": null }, - "start": 258, - "end": 259, + "start": 287, + "end": 288, "loc": { "start": { - "line": 15, - "column": 68 + "line": 16, + "column": 63 }, "end": { - "line": 15, - "column": 69 + "line": 16, + "column": 64 } } }, @@ -8694,16 +8862,16 @@ "postfix": false, "binop": null }, - "start": 260, - "end": 261, + "start": 289, + "end": 290, "loc": { "start": { - "line": 15, - "column": 70 + "line": 16, + "column": 65 }, "end": { - "line": 15, - "column": 71 + "line": 16, + "column": 66 } } }, @@ -8722,15 +8890,15 @@ "updateContext": null }, "value": "return", - "start": 263, - "end": 269, + "start": 292, + "end": 298, "loc": { "start": { - "line": 16, + "line": 17, "column": 1 }, "end": { - "line": 16, + "line": 17, "column": 7 } } @@ -8748,15 +8916,15 @@ "binop": null }, "value": "ZZ", - "start": 270, - "end": 272, + "start": 299, + "end": 301, "loc": { "start": { - "line": 16, + "line": 17, "column": 8 }, "end": { - "line": 16, + "line": 17, "column": 10 } } @@ -8774,15 +8942,15 @@ "binop": null, "updateContext": null }, - "start": 272, - "end": 273, + "start": 301, + "end": 302, "loc": { "start": { - "line": 16, + "line": 17, "column": 10 }, "end": { - "line": 16, + "line": 17, "column": 11 } } @@ -8800,15 +8968,15 @@ "binop": null }, "value": "from", - "start": 273, - "end": 277, + "start": 302, + "end": 306, "loc": { "start": { - "line": 16, + "line": 17, "column": 11 }, "end": { - "line": 16, + "line": 17, "column": 15 } } @@ -8825,15 +8993,15 @@ "postfix": false, "binop": null }, - "start": 277, - "end": 278, + "start": 306, + "end": 307, "loc": { "start": { - "line": 16, + "line": 17, "column": 15 }, "end": { - "line": 16, + "line": 17, "column": 16 } } @@ -8851,16 +9019,16 @@ "binop": null }, "value": "object", - "start": 279, - "end": 285, + "start": 307, + "end": 313, "loc": { "start": { - "line": 16, - "column": 17 + "line": 17, + "column": 16 }, "end": { - "line": 16, - "column": 23 + "line": 17, + "column": 22 } } }, @@ -8877,16 +9045,16 @@ "binop": null, "updateContext": null }, - "start": 286, - "end": 287, + "start": 313, + "end": 314, "loc": { "start": { - "line": 16, - "column": 24 + "line": 17, + "column": 22 }, "end": { - "line": 16, - "column": 25 + "line": 17, + "column": 23 } } }, @@ -8903,16 +9071,16 @@ "binop": null }, "value": "base", - "start": 288, - "end": 292, + "start": 315, + "end": 319, "loc": { "start": { - "line": 16, - "column": 26 + "line": 17, + "column": 24 }, "end": { - "line": 16, - "column": 30 + "line": 17, + "column": 28 } } }, @@ -8929,16 +9097,16 @@ "binop": null, "updateContext": null }, - "start": 293, - "end": 294, + "start": 319, + "end": 320, "loc": { "start": { - "line": 16, - "column": 31 + "line": 17, + "column": 28 }, "end": { - "line": 16, - "column": 32 + "line": 17, + "column": 29 } } }, @@ -8955,16 +9123,16 @@ "binop": null }, "value": "is_negative", - "start": 295, - "end": 306, + "start": 321, + "end": 332, "loc": { "start": { - "line": 16, - "column": 33 + "line": 17, + "column": 30 }, "end": { - "line": 16, - "column": 44 + "line": 17, + "column": 41 } } }, @@ -8980,16 +9148,16 @@ "postfix": false, "binop": null }, - "start": 307, - "end": 308, + "start": 332, + "end": 333, "loc": { "start": { - "line": 16, - "column": 45 + "line": 17, + "column": 41 }, "end": { - "line": 16, - "column": 46 + "line": 17, + "column": 42 } } }, @@ -9006,16 +9174,16 @@ "binop": null, "updateContext": null }, - "start": 309, - "end": 310, + "start": 333, + "end": 334, "loc": { "start": { - "line": 16, - "column": 47 + "line": 17, + "column": 42 }, "end": { - "line": 16, - "column": 48 + "line": 17, + "column": 43 } } }, @@ -9031,15 +9199,15 @@ "postfix": false, "binop": null }, - "start": 311, - "end": 312, + "start": 335, + "end": 336, "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 1 } } @@ -9059,15 +9227,15 @@ "updateContext": null }, "value": "export", - "start": 314, - "end": 320, + "start": 338, + "end": 344, "loc": { "start": { - "line": 19, + "line": 20, "column": 0 }, "end": { - "line": 19, + "line": 20, "column": 6 } } @@ -9086,15 +9254,15 @@ "binop": null }, "value": "function", - "start": 321, - "end": 329, + "start": 345, + "end": 353, "loc": { "start": { - "line": 19, + "line": 20, "column": 7 }, "end": { - "line": 19, + "line": 20, "column": 15 } } @@ -9112,15 +9280,15 @@ "binop": null }, "value": "stringify", - "start": 330, - "end": 339, + "start": 354, + "end": 363, "loc": { "start": { - "line": 19, + "line": 20, "column": 16 }, "end": { - "line": 19, + "line": 20, "column": 25 } } @@ -9137,16 +9305,16 @@ "postfix": false, "binop": null }, - "start": 340, - "end": 341, + "start": 363, + "end": 364, "loc": { "start": { - "line": 19, - "column": 26 + "line": 20, + "column": 25 }, "end": { - "line": 19, - "column": 27 + "line": 20, + "column": 26 } } }, @@ -9163,16 +9331,16 @@ "binop": null }, "value": "integer", - "start": 342, - "end": 349, + "start": 364, + "end": 371, "loc": { "start": { - "line": 19, - "column": 28 + "line": 20, + "column": 26 }, "end": { - "line": 19, - "column": 35 + "line": 20, + "column": 33 } } }, @@ -9189,16 +9357,16 @@ "binop": null, "updateContext": null }, - "start": 350, - "end": 351, + "start": 371, + "end": 372, "loc": { "start": { - "line": 19, - "column": 36 + "line": 20, + "column": 33 }, "end": { - "line": 19, - "column": 37 + "line": 20, + "column": 34 } } }, @@ -9215,16 +9383,16 @@ "binop": null }, "value": "base", - "start": 352, - "end": 356, + "start": 373, + "end": 377, "loc": { "start": { - "line": 19, - "column": 38 + "line": 20, + "column": 35 }, "end": { - "line": 19, - "column": 42 + "line": 20, + "column": 39 } } }, @@ -9242,16 +9410,16 @@ "updateContext": null }, "value": "=", - "start": 357, - "end": 358, + "start": 378, + "end": 379, "loc": { "start": { - "line": 19, - "column": 43 + "line": 20, + "column": 40 }, "end": { - "line": 19, - "column": 44 + "line": 20, + "column": 41 } } }, @@ -9268,16 +9436,16 @@ "binop": null }, "value": "DEFAULT_DISPLAY_BASE", - "start": 359, - "end": 379, + "start": 380, + "end": 400, "loc": { "start": { - "line": 19, - "column": 45 + "line": 20, + "column": 42 }, "end": { - "line": 19, - "column": 65 + "line": 20, + "column": 62 } } }, @@ -9293,16 +9461,16 @@ "postfix": false, "binop": null }, - "start": 380, - "end": 381, + "start": 400, + "end": 401, "loc": { "start": { - "line": 19, - "column": 66 + "line": 20, + "column": 62 }, "end": { - "line": 19, - "column": 67 + "line": 20, + "column": 63 } } }, @@ -9318,16 +9486,16 @@ "postfix": false, "binop": null }, - "start": 382, - "end": 383, + "start": 402, + "end": 403, "loc": { "start": { - "line": 19, - "column": 68 + "line": 20, + "column": 64 }, "end": { - "line": 19, - "column": 69 + "line": 20, + "column": 65 } } }, @@ -9346,15 +9514,15 @@ "updateContext": null }, "value": "return", - "start": 385, - "end": 391, + "start": 405, + "end": 411, "loc": { "start": { - "line": 20, + "line": 21, "column": 1 }, "end": { - "line": 20, + "line": 21, "column": 7 } } @@ -9372,15 +9540,15 @@ "binop": null }, "value": "integer", - "start": 392, - "end": 399, + "start": 412, + "end": 419, "loc": { "start": { - "line": 20, + "line": 21, "column": 8 }, "end": { - "line": 20, + "line": 21, "column": 15 } } @@ -9398,15 +9566,15 @@ "binop": null, "updateContext": null }, - "start": 399, - "end": 400, + "start": 419, + "end": 420, "loc": { "start": { - "line": 20, + "line": 21, "column": 15 }, "end": { - "line": 20, + "line": 21, "column": 16 } } @@ -9424,15 +9592,15 @@ "binop": null }, "value": "toString", - "start": 400, - "end": 408, + "start": 420, + "end": 428, "loc": { "start": { - "line": 20, + "line": 21, "column": 16 }, "end": { - "line": 20, + "line": 21, "column": 24 } } @@ -9449,15 +9617,15 @@ "postfix": false, "binop": null }, - "start": 408, - "end": 409, + "start": 428, + "end": 429, "loc": { "start": { - "line": 20, + "line": 21, "column": 24 }, "end": { - "line": 20, + "line": 21, "column": 25 } } @@ -9475,16 +9643,16 @@ "binop": null }, "value": "base", - "start": 410, - "end": 414, + "start": 429, + "end": 433, "loc": { "start": { - "line": 20, - "column": 26 + "line": 21, + "column": 25 }, "end": { - "line": 20, - "column": 30 + "line": 21, + "column": 29 } } }, @@ -9500,16 +9668,16 @@ "postfix": false, "binop": null }, - "start": 415, - "end": 416, + "start": 433, + "end": 434, "loc": { "start": { - "line": 20, - "column": 31 + "line": 21, + "column": 29 }, "end": { - "line": 20, - "column": 32 + "line": 21, + "column": 30 } } }, @@ -9526,16 +9694,16 @@ "binop": null, "updateContext": null }, - "start": 417, - "end": 418, + "start": 434, + "end": 435, "loc": { "start": { - "line": 20, - "column": 33 + "line": 21, + "column": 30 }, "end": { - "line": 20, - "column": 34 + "line": 21, + "column": 31 } } }, @@ -9551,15 +9719,15 @@ "postfix": false, "binop": null }, - "start": 419, - "end": 420, + "start": 436, + "end": 437, "loc": { "start": { - "line": 21, + "line": 22, "column": 0 }, "end": { - "line": 21, + "line": 22, "column": 1 } } @@ -9579,15 +9747,15 @@ "updateContext": null }, "value": "export", - "start": 422, - "end": 428, + "start": 439, + "end": 445, "loc": { "start": { - "line": 23, + "line": 24, "column": 0 }, "end": { - "line": 23, + "line": 24, "column": 6 } } @@ -9606,15 +9774,15 @@ "binop": null }, "value": "function", - "start": 429, - "end": 437, + "start": 446, + "end": 454, "loc": { "start": { - "line": 23, + "line": 24, "column": 7 }, "end": { - "line": 23, + "line": 24, "column": 15 } } @@ -9632,15 +9800,15 @@ "binop": null }, "value": "add", - "start": 438, - "end": 441, + "start": 455, + "end": 458, "loc": { "start": { - "line": 23, + "line": 24, "column": 16 }, "end": { - "line": 23, + "line": 24, "column": 19 } } @@ -9657,16 +9825,16 @@ "postfix": false, "binop": null }, - "start": 442, - "end": 443, + "start": 458, + "end": 459, "loc": { "start": { - "line": 23, - "column": 20 + "line": 24, + "column": 19 }, "end": { - "line": 23, - "column": 21 + "line": 24, + "column": 20 } } }, @@ -9683,16 +9851,16 @@ "binop": null }, "value": "first", - "start": 444, - "end": 449, + "start": 459, + "end": 464, "loc": { "start": { - "line": 23, - "column": 22 + "line": 24, + "column": 20 }, "end": { - "line": 23, - "column": 27 + "line": 24, + "column": 25 } } }, @@ -9709,16 +9877,16 @@ "binop": null, "updateContext": null }, - "start": 450, - "end": 451, + "start": 464, + "end": 465, "loc": { "start": { - "line": 23, - "column": 28 + "line": 24, + "column": 25 }, "end": { - "line": 23, - "column": 29 + "line": 24, + "column": 26 } } }, @@ -9735,16 +9903,16 @@ "binop": null }, "value": "second", - "start": 452, - "end": 458, + "start": 466, + "end": 472, "loc": { "start": { - "line": 23, - "column": 30 + "line": 24, + "column": 27 }, "end": { - "line": 23, - "column": 36 + "line": 24, + "column": 33 } } }, @@ -9760,16 +9928,16 @@ "postfix": false, "binop": null }, - "start": 459, - "end": 460, + "start": 472, + "end": 473, "loc": { "start": { - "line": 23, - "column": 37 + "line": 24, + "column": 33 }, "end": { - "line": 23, - "column": 38 + "line": 24, + "column": 34 } } }, @@ -9785,16 +9953,16 @@ "postfix": false, "binop": null }, - "start": 461, - "end": 462, + "start": 474, + "end": 475, "loc": { "start": { - "line": 23, - "column": 39 + "line": 24, + "column": 35 }, "end": { - "line": 23, - "column": 40 + "line": 24, + "column": 36 } } }, @@ -9813,15 +9981,15 @@ "updateContext": null }, "value": "return", - "start": 464, - "end": 470, + "start": 477, + "end": 483, "loc": { "start": { - "line": 24, + "line": 25, "column": 1 }, "end": { - "line": 24, + "line": 25, "column": 7 } } @@ -9839,15 +10007,15 @@ "binop": null }, "value": "first", - "start": 471, - "end": 476, + "start": 484, + "end": 489, "loc": { "start": { - "line": 24, + "line": 25, "column": 8 }, "end": { - "line": 24, + "line": 25, "column": 13 } } @@ -9865,15 +10033,15 @@ "binop": null, "updateContext": null }, - "start": 476, - "end": 477, + "start": 489, + "end": 490, "loc": { "start": { - "line": 24, + "line": 25, "column": 13 }, "end": { - "line": 24, + "line": 25, "column": 14 } } @@ -9891,15 +10059,15 @@ "binop": null }, "value": "add", - "start": 477, - "end": 480, + "start": 490, + "end": 493, "loc": { "start": { - "line": 24, + "line": 25, "column": 14 }, "end": { - "line": 24, + "line": 25, "column": 17 } } @@ -9916,15 +10084,15 @@ "postfix": false, "binop": null }, - "start": 480, - "end": 481, + "start": 493, + "end": 494, "loc": { "start": { - "line": 24, + "line": 25, "column": 17 }, "end": { - "line": 24, + "line": 25, "column": 18 } } @@ -9942,15 +10110,15 @@ "binop": null }, "value": "second", - "start": 481, - "end": 487, + "start": 494, + "end": 500, "loc": { "start": { - "line": 24, + "line": 25, "column": 18 }, "end": { - "line": 24, + "line": 25, "column": 24 } } @@ -9967,15 +10135,15 @@ "postfix": false, "binop": null }, - "start": 487, - "end": 488, + "start": 500, + "end": 501, "loc": { "start": { - "line": 24, + "line": 25, "column": 24 }, "end": { - "line": 24, + "line": 25, "column": 25 } } @@ -9993,16 +10161,16 @@ "binop": null, "updateContext": null }, - "start": 489, - "end": 490, + "start": 501, + "end": 502, "loc": { "start": { - "line": 24, - "column": 26 + "line": 25, + "column": 25 }, "end": { - "line": 24, - "column": 27 + "line": 25, + "column": 26 } } }, @@ -10018,15 +10186,15 @@ "postfix": false, "binop": null }, - "start": 491, - "end": 492, + "start": 503, + "end": 504, "loc": { "start": { - "line": 25, + "line": 26, "column": 0 }, "end": { - "line": 25, + "line": 26, "column": 1 } } @@ -10046,15 +10214,15 @@ "updateContext": null }, "value": "export", - "start": 494, - "end": 500, + "start": 506, + "end": 512, "loc": { "start": { - "line": 27, + "line": 28, "column": 0 }, "end": { - "line": 27, + "line": 28, "column": 6 } } @@ -10073,15 +10241,15 @@ "binop": null }, "value": "function", - "start": 501, - "end": 509, + "start": 513, + "end": 521, "loc": { "start": { - "line": 27, + "line": 28, "column": 7 }, "end": { - "line": 27, + "line": 28, "column": 15 } } @@ -10099,15 +10267,15 @@ "binop": null }, "value": "iadd", - "start": 510, - "end": 514, + "start": 522, + "end": 526, "loc": { "start": { - "line": 27, + "line": 28, "column": 16 }, "end": { - "line": 27, + "line": 28, "column": 20 } } @@ -10124,16 +10292,16 @@ "postfix": false, "binop": null }, - "start": 515, - "end": 516, + "start": 526, + "end": 527, "loc": { "start": { - "line": 27, - "column": 21 + "line": 28, + "column": 20 }, "end": { - "line": 27, - "column": 22 + "line": 28, + "column": 21 } } }, @@ -10150,16 +10318,16 @@ "binop": null }, "value": "first", - "start": 517, - "end": 522, + "start": 527, + "end": 532, "loc": { "start": { - "line": 27, - "column": 23 + "line": 28, + "column": 21 }, "end": { - "line": 27, - "column": 28 + "line": 28, + "column": 26 } } }, @@ -10176,16 +10344,16 @@ "binop": null, "updateContext": null }, - "start": 523, - "end": 524, + "start": 532, + "end": 533, "loc": { "start": { - "line": 27, - "column": 29 + "line": 28, + "column": 26 }, "end": { - "line": 27, - "column": 30 + "line": 28, + "column": 27 } } }, @@ -10202,16 +10370,16 @@ "binop": null }, "value": "second", - "start": 525, - "end": 531, + "start": 534, + "end": 540, "loc": { "start": { - "line": 27, - "column": 31 + "line": 28, + "column": 28 }, "end": { - "line": 27, - "column": 37 + "line": 28, + "column": 34 } } }, @@ -10227,16 +10395,16 @@ "postfix": false, "binop": null }, - "start": 532, - "end": 533, + "start": 540, + "end": 541, "loc": { "start": { - "line": 27, - "column": 38 + "line": 28, + "column": 34 }, "end": { - "line": 27, - "column": 39 + "line": 28, + "column": 35 } } }, @@ -10252,16 +10420,16 @@ "postfix": false, "binop": null }, - "start": 534, - "end": 535, + "start": 542, + "end": 543, "loc": { "start": { - "line": 27, - "column": 40 + "line": 28, + "column": 36 }, "end": { - "line": 27, - "column": 41 + "line": 28, + "column": 37 } } }, @@ -10280,15 +10448,15 @@ "updateContext": null }, "value": "return", - "start": 537, - "end": 543, + "start": 545, + "end": 551, "loc": { "start": { - "line": 28, + "line": 29, "column": 1 }, "end": { - "line": 28, + "line": 29, "column": 7 } } @@ -10306,15 +10474,15 @@ "binop": null }, "value": "first", - "start": 544, - "end": 549, + "start": 552, + "end": 557, "loc": { "start": { - "line": 28, + "line": 29, "column": 8 }, "end": { - "line": 28, + "line": 29, "column": 13 } } @@ -10332,15 +10500,15 @@ "binop": null, "updateContext": null }, - "start": 549, - "end": 550, + "start": 557, + "end": 558, "loc": { "start": { - "line": 28, + "line": 29, "column": 13 }, "end": { - "line": 28, + "line": 29, "column": 14 } } @@ -10358,15 +10526,15 @@ "binop": null }, "value": "iadd", - "start": 550, - "end": 554, + "start": 558, + "end": 562, "loc": { "start": { - "line": 28, + "line": 29, "column": 14 }, "end": { - "line": 28, + "line": 29, "column": 18 } } @@ -10383,15 +10551,15 @@ "postfix": false, "binop": null }, - "start": 554, - "end": 555, + "start": 562, + "end": 563, "loc": { "start": { - "line": 28, + "line": 29, "column": 18 }, "end": { - "line": 28, + "line": 29, "column": 19 } } @@ -10409,15 +10577,15 @@ "binop": null }, "value": "second", - "start": 555, - "end": 561, + "start": 563, + "end": 569, "loc": { "start": { - "line": 28, + "line": 29, "column": 19 }, "end": { - "line": 28, + "line": 29, "column": 25 } } @@ -10434,15 +10602,15 @@ "postfix": false, "binop": null }, - "start": 561, - "end": 562, + "start": 569, + "end": 570, "loc": { "start": { - "line": 28, + "line": 29, "column": 25 }, "end": { - "line": 28, + "line": 29, "column": 26 } } @@ -10460,16 +10628,16 @@ "binop": null, "updateContext": null }, - "start": 563, - "end": 564, + "start": 570, + "end": 571, "loc": { "start": { - "line": 28, - "column": 27 + "line": 29, + "column": 26 }, "end": { - "line": 28, - "column": 28 + "line": 29, + "column": 27 } } }, @@ -10485,15 +10653,15 @@ "postfix": false, "binop": null }, - "start": 565, - "end": 566, + "start": 572, + "end": 573, "loc": { "start": { - "line": 29, + "line": 30, "column": 0 }, "end": { - "line": 29, + "line": 30, "column": 1 } } @@ -10513,15 +10681,15 @@ "updateContext": null }, "value": "export", - "start": 568, - "end": 574, + "start": 575, + "end": 581, "loc": { "start": { - "line": 31, + "line": 32, "column": 0 }, "end": { - "line": 31, + "line": 32, "column": 6 } } @@ -10540,15 +10708,15 @@ "binop": null }, "value": "function", - "start": 575, - "end": 583, + "start": 582, + "end": 590, "loc": { "start": { - "line": 31, + "line": 32, "column": 7 }, "end": { - "line": 31, + "line": 32, "column": 15 } } @@ -10566,15 +10734,15 @@ "binop": null }, "value": "sub", - "start": 584, - "end": 587, + "start": 591, + "end": 594, "loc": { "start": { - "line": 31, + "line": 32, "column": 16 }, "end": { - "line": 31, + "line": 32, "column": 19 } } @@ -10591,16 +10759,16 @@ "postfix": false, "binop": null }, - "start": 588, - "end": 589, + "start": 594, + "end": 595, "loc": { "start": { - "line": 31, - "column": 20 + "line": 32, + "column": 19 }, "end": { - "line": 31, - "column": 21 + "line": 32, + "column": 20 } } }, @@ -10617,16 +10785,16 @@ "binop": null }, "value": "first", - "start": 590, - "end": 595, + "start": 595, + "end": 600, "loc": { "start": { - "line": 31, - "column": 22 + "line": 32, + "column": 20 }, "end": { - "line": 31, - "column": 27 + "line": 32, + "column": 25 } } }, @@ -10643,16 +10811,16 @@ "binop": null, "updateContext": null }, - "start": 596, - "end": 597, + "start": 600, + "end": 601, "loc": { "start": { - "line": 31, - "column": 28 + "line": 32, + "column": 25 }, "end": { - "line": 31, - "column": 29 + "line": 32, + "column": 26 } } }, @@ -10669,16 +10837,16 @@ "binop": null }, "value": "second", - "start": 598, - "end": 604, + "start": 602, + "end": 608, "loc": { "start": { - "line": 31, - "column": 30 + "line": 32, + "column": 27 }, "end": { - "line": 31, - "column": 36 + "line": 32, + "column": 33 } } }, @@ -10694,16 +10862,16 @@ "postfix": false, "binop": null }, - "start": 605, - "end": 606, + "start": 608, + "end": 609, "loc": { "start": { - "line": 31, - "column": 37 + "line": 32, + "column": 33 }, "end": { - "line": 31, - "column": 38 + "line": 32, + "column": 34 } } }, @@ -10719,16 +10887,16 @@ "postfix": false, "binop": null }, - "start": 607, - "end": 608, + "start": 610, + "end": 611, "loc": { "start": { - "line": 31, - "column": 39 + "line": 32, + "column": 35 }, "end": { - "line": 31, - "column": 40 + "line": 32, + "column": 36 } } }, @@ -10747,15 +10915,15 @@ "updateContext": null }, "value": "return", - "start": 610, - "end": 616, + "start": 613, + "end": 619, "loc": { "start": { - "line": 32, + "line": 33, "column": 1 }, "end": { - "line": 32, + "line": 33, "column": 7 } } @@ -10773,15 +10941,15 @@ "binop": null }, "value": "first", - "start": 617, - "end": 622, + "start": 620, + "end": 625, "loc": { "start": { - "line": 32, + "line": 33, "column": 8 }, "end": { - "line": 32, + "line": 33, "column": 13 } } @@ -10799,15 +10967,15 @@ "binop": null, "updateContext": null }, - "start": 622, - "end": 623, + "start": 625, + "end": 626, "loc": { "start": { - "line": 32, + "line": 33, "column": 13 }, "end": { - "line": 32, + "line": 33, "column": 14 } } @@ -10825,15 +10993,15 @@ "binop": null }, "value": "sub", - "start": 623, - "end": 626, + "start": 626, + "end": 629, "loc": { "start": { - "line": 32, + "line": 33, "column": 14 }, "end": { - "line": 32, + "line": 33, "column": 17 } } @@ -10850,15 +11018,15 @@ "postfix": false, "binop": null }, - "start": 626, - "end": 627, + "start": 629, + "end": 630, "loc": { "start": { - "line": 32, + "line": 33, "column": 17 }, "end": { - "line": 32, + "line": 33, "column": 18 } } @@ -10876,15 +11044,15 @@ "binop": null }, "value": "second", - "start": 627, - "end": 633, + "start": 630, + "end": 636, "loc": { "start": { - "line": 32, + "line": 33, "column": 18 }, "end": { - "line": 32, + "line": 33, "column": 24 } } @@ -10901,15 +11069,15 @@ "postfix": false, "binop": null }, - "start": 633, - "end": 634, + "start": 636, + "end": 637, "loc": { "start": { - "line": 32, + "line": 33, "column": 24 }, "end": { - "line": 32, + "line": 33, "column": 25 } } @@ -10927,16 +11095,16 @@ "binop": null, "updateContext": null }, - "start": 635, - "end": 636, + "start": 637, + "end": 638, "loc": { "start": { - "line": 32, - "column": 26 + "line": 33, + "column": 25 }, "end": { - "line": 32, - "column": 27 + "line": 33, + "column": 26 } } }, @@ -10952,15 +11120,15 @@ "postfix": false, "binop": null }, - "start": 637, - "end": 638, + "start": 639, + "end": 640, "loc": { "start": { - "line": 33, + "line": 34, "column": 0 }, "end": { - "line": 33, + "line": 34, "column": 1 } } @@ -10980,15 +11148,15 @@ "updateContext": null }, "value": "export", - "start": 640, - "end": 646, + "start": 642, + "end": 648, "loc": { "start": { - "line": 35, + "line": 36, "column": 0 }, "end": { - "line": 35, + "line": 36, "column": 6 } } @@ -11007,15 +11175,15 @@ "binop": null }, "value": "function", - "start": 647, - "end": 655, + "start": 649, + "end": 657, "loc": { "start": { - "line": 35, + "line": 36, "column": 7 }, "end": { - "line": 35, + "line": 36, "column": 15 } } @@ -11033,15 +11201,15 @@ "binop": null }, "value": "isub", - "start": 656, - "end": 660, + "start": 658, + "end": 662, "loc": { "start": { - "line": 35, + "line": 36, "column": 16 }, "end": { - "line": 35, + "line": 36, "column": 20 } } @@ -11058,16 +11226,16 @@ "postfix": false, "binop": null }, - "start": 661, - "end": 662, + "start": 662, + "end": 663, "loc": { "start": { - "line": 35, - "column": 21 + "line": 36, + "column": 20 }, "end": { - "line": 35, - "column": 22 + "line": 36, + "column": 21 } } }, @@ -11088,12 +11256,12 @@ "end": 668, "loc": { "start": { - "line": 35, - "column": 23 + "line": 36, + "column": 21 }, "end": { - "line": 35, - "column": 28 + "line": 36, + "column": 26 } } }, @@ -11110,16 +11278,16 @@ "binop": null, "updateContext": null }, - "start": 669, - "end": 670, + "start": 668, + "end": 669, "loc": { "start": { - "line": 35, - "column": 29 + "line": 36, + "column": 26 }, "end": { - "line": 35, - "column": 30 + "line": 36, + "column": 27 } } }, @@ -11136,16 +11304,16 @@ "binop": null }, "value": "second", - "start": 671, - "end": 677, + "start": 670, + "end": 676, "loc": { "start": { - "line": 35, - "column": 31 + "line": 36, + "column": 28 }, "end": { - "line": 35, - "column": 37 + "line": 36, + "column": 34 } } }, @@ -11161,16 +11329,16 @@ "postfix": false, "binop": null }, - "start": 678, - "end": 679, + "start": 676, + "end": 677, "loc": { "start": { - "line": 35, - "column": 38 + "line": 36, + "column": 34 }, "end": { - "line": 35, - "column": 39 + "line": 36, + "column": 35 } } }, @@ -11186,16 +11354,16 @@ "postfix": false, "binop": null }, - "start": 680, - "end": 681, + "start": 678, + "end": 679, "loc": { "start": { - "line": 35, - "column": 40 + "line": 36, + "column": 36 }, "end": { - "line": 35, - "column": 41 + "line": 36, + "column": 37 } } }, @@ -11214,15 +11382,15 @@ "updateContext": null }, "value": "return", - "start": 683, - "end": 689, + "start": 681, + "end": 687, "loc": { "start": { - "line": 36, + "line": 37, "column": 1 }, "end": { - "line": 36, + "line": 37, "column": 7 } } @@ -11240,15 +11408,15 @@ "binop": null }, "value": "first", - "start": 690, - "end": 695, + "start": 688, + "end": 693, "loc": { "start": { - "line": 36, + "line": 37, "column": 8 }, "end": { - "line": 36, + "line": 37, "column": 13 } } @@ -11266,15 +11434,15 @@ "binop": null, "updateContext": null }, - "start": 695, - "end": 696, + "start": 693, + "end": 694, "loc": { "start": { - "line": 36, + "line": 37, "column": 13 }, "end": { - "line": 36, + "line": 37, "column": 14 } } @@ -11292,15 +11460,15 @@ "binop": null }, "value": "isub", - "start": 696, - "end": 700, + "start": 694, + "end": 698, "loc": { "start": { - "line": 36, + "line": 37, "column": 14 }, "end": { - "line": 36, + "line": 37, "column": 18 } } @@ -11317,15 +11485,15 @@ "postfix": false, "binop": null }, - "start": 700, - "end": 701, + "start": 698, + "end": 699, "loc": { "start": { - "line": 36, + "line": 37, "column": 18 }, "end": { - "line": 36, + "line": 37, "column": 19 } } @@ -11343,15 +11511,15 @@ "binop": null }, "value": "second", - "start": 701, - "end": 707, + "start": 699, + "end": 705, "loc": { "start": { - "line": 36, + "line": 37, "column": 19 }, "end": { - "line": 36, + "line": 37, "column": 25 } } @@ -11368,15 +11536,15 @@ "postfix": false, "binop": null }, - "start": 707, - "end": 708, + "start": 705, + "end": 706, "loc": { "start": { - "line": 36, + "line": 37, "column": 25 }, "end": { - "line": 36, + "line": 37, "column": 26 } } @@ -11394,16 +11562,16 @@ "binop": null, "updateContext": null }, - "start": 709, - "end": 710, + "start": 706, + "end": 707, "loc": { "start": { - "line": 36, - "column": 27 + "line": 37, + "column": 26 }, "end": { - "line": 36, - "column": 28 + "line": 37, + "column": 27 } } }, @@ -11419,15 +11587,15 @@ "postfix": false, "binop": null }, - "start": 711, - "end": 712, + "start": 708, + "end": 709, "loc": { "start": { - "line": 37, + "line": 38, "column": 0 }, "end": { - "line": 37, + "line": 38, "column": 1 } } @@ -11447,15 +11615,15 @@ "updateContext": null }, "value": "export", - "start": 714, - "end": 720, + "start": 711, + "end": 717, "loc": { "start": { - "line": 39, + "line": 40, "column": 0 }, "end": { - "line": 39, + "line": 40, "column": 6 } } @@ -11474,15 +11642,15 @@ "binop": null }, "value": "function", - "start": 721, - "end": 729, + "start": 718, + "end": 726, "loc": { "start": { - "line": 39, + "line": 40, "column": 7 }, "end": { - "line": 39, + "line": 40, "column": 15 } } @@ -11500,15 +11668,15 @@ "binop": null }, "value": "mul", - "start": 730, - "end": 733, + "start": 727, + "end": 730, "loc": { "start": { - "line": 39, + "line": 40, "column": 16 }, "end": { - "line": 39, + "line": 40, "column": 19 } } @@ -11525,16 +11693,16 @@ "postfix": false, "binop": null }, - "start": 734, - "end": 735, + "start": 730, + "end": 731, "loc": { "start": { - "line": 39, - "column": 20 + "line": 40, + "column": 19 }, "end": { - "line": 39, - "column": 21 + "line": 40, + "column": 20 } } }, @@ -11551,16 +11719,16 @@ "binop": null }, "value": "first", - "start": 736, - "end": 741, + "start": 731, + "end": 736, "loc": { "start": { - "line": 39, - "column": 22 + "line": 40, + "column": 20 }, "end": { - "line": 39, - "column": 27 + "line": 40, + "column": 25 } } }, @@ -11577,16 +11745,16 @@ "binop": null, "updateContext": null }, - "start": 742, - "end": 743, + "start": 736, + "end": 737, "loc": { "start": { - "line": 39, - "column": 28 + "line": 40, + "column": 25 }, "end": { - "line": 39, - "column": 29 + "line": 40, + "column": 26 } } }, @@ -11603,16 +11771,16 @@ "binop": null }, "value": "second", - "start": 744, - "end": 750, + "start": 738, + "end": 744, "loc": { "start": { - "line": 39, - "column": 30 + "line": 40, + "column": 27 }, "end": { - "line": 39, - "column": 36 + "line": 40, + "column": 33 } } }, @@ -11628,16 +11796,16 @@ "postfix": false, "binop": null }, - "start": 751, - "end": 752, + "start": 744, + "end": 745, "loc": { "start": { - "line": 39, - "column": 37 + "line": 40, + "column": 33 }, "end": { - "line": 39, - "column": 38 + "line": 40, + "column": 34 } } }, @@ -11653,16 +11821,16 @@ "postfix": false, "binop": null }, - "start": 753, - "end": 754, + "start": 746, + "end": 747, "loc": { "start": { - "line": 39, - "column": 39 + "line": 40, + "column": 35 }, "end": { - "line": 39, - "column": 40 + "line": 40, + "column": 36 } } }, @@ -11681,15 +11849,15 @@ "updateContext": null }, "value": "return", - "start": 756, - "end": 762, + "start": 749, + "end": 755, "loc": { "start": { - "line": 40, + "line": 41, "column": 1 }, "end": { - "line": 40, + "line": 41, "column": 7 } } @@ -11707,15 +11875,15 @@ "binop": null }, "value": "first", - "start": 763, - "end": 768, + "start": 756, + "end": 761, "loc": { "start": { - "line": 40, + "line": 41, "column": 8 }, "end": { - "line": 40, + "line": 41, "column": 13 } } @@ -11733,15 +11901,15 @@ "binop": null, "updateContext": null }, - "start": 768, - "end": 769, + "start": 761, + "end": 762, "loc": { "start": { - "line": 40, + "line": 41, "column": 13 }, "end": { - "line": 40, + "line": 41, "column": 14 } } @@ -11759,15 +11927,15 @@ "binop": null }, "value": "mul", - "start": 769, - "end": 772, + "start": 762, + "end": 765, "loc": { "start": { - "line": 40, + "line": 41, "column": 14 }, "end": { - "line": 40, + "line": 41, "column": 17 } } @@ -11784,15 +11952,15 @@ "postfix": false, "binop": null }, - "start": 772, - "end": 773, + "start": 765, + "end": 766, "loc": { "start": { - "line": 40, + "line": 41, "column": 17 }, "end": { - "line": 40, + "line": 41, "column": 18 } } @@ -11810,15 +11978,15 @@ "binop": null }, "value": "second", - "start": 773, - "end": 779, + "start": 766, + "end": 772, "loc": { "start": { - "line": 40, + "line": 41, "column": 18 }, "end": { - "line": 40, + "line": 41, "column": 24 } } @@ -11835,15 +12003,15 @@ "postfix": false, "binop": null }, - "start": 779, - "end": 780, + "start": 772, + "end": 773, "loc": { "start": { - "line": 40, + "line": 41, "column": 24 }, "end": { - "line": 40, + "line": 41, "column": 25 } } @@ -11861,16 +12029,16 @@ "binop": null, "updateContext": null }, - "start": 781, - "end": 782, + "start": 773, + "end": 774, "loc": { "start": { - "line": 40, - "column": 26 + "line": 41, + "column": 25 }, "end": { - "line": 40, - "column": 27 + "line": 41, + "column": 26 } } }, @@ -11886,15 +12054,15 @@ "postfix": false, "binop": null }, - "start": 783, - "end": 784, + "start": 775, + "end": 776, "loc": { "start": { - "line": 41, + "line": 42, "column": 0 }, "end": { - "line": 41, + "line": 42, "column": 1 } } @@ -11914,15 +12082,15 @@ "updateContext": null }, "value": "export", - "start": 786, - "end": 792, + "start": 778, + "end": 784, "loc": { "start": { - "line": 43, + "line": 44, "column": 0 }, "end": { - "line": 43, + "line": 44, "column": 6 } } @@ -11941,15 +12109,15 @@ "binop": null }, "value": "function", - "start": 793, - "end": 801, + "start": 785, + "end": 793, "loc": { "start": { - "line": 43, + "line": 44, "column": 7 }, "end": { - "line": 43, + "line": 44, "column": 15 } } @@ -11967,15 +12135,15 @@ "binop": null }, "value": "imul", - "start": 802, - "end": 806, + "start": 794, + "end": 798, "loc": { "start": { - "line": 43, + "line": 44, "column": 16 }, "end": { - "line": 43, + "line": 44, "column": 20 } } @@ -11992,16 +12160,16 @@ "postfix": false, "binop": null }, - "start": 807, - "end": 808, + "start": 798, + "end": 799, "loc": { "start": { - "line": 43, - "column": 21 + "line": 44, + "column": 20 }, "end": { - "line": 43, - "column": 22 + "line": 44, + "column": 21 } } }, @@ -12018,16 +12186,16 @@ "binop": null }, "value": "first", - "start": 809, - "end": 814, + "start": 799, + "end": 804, "loc": { "start": { - "line": 43, - "column": 23 + "line": 44, + "column": 21 }, "end": { - "line": 43, - "column": 28 + "line": 44, + "column": 26 } } }, @@ -12044,16 +12212,16 @@ "binop": null, "updateContext": null }, - "start": 815, - "end": 816, + "start": 804, + "end": 805, "loc": { "start": { - "line": 43, - "column": 29 + "line": 44, + "column": 26 }, "end": { - "line": 43, - "column": 30 + "line": 44, + "column": 27 } } }, @@ -12070,16 +12238,16 @@ "binop": null }, "value": "second", - "start": 817, - "end": 823, + "start": 806, + "end": 812, "loc": { "start": { - "line": 43, - "column": 31 + "line": 44, + "column": 28 }, "end": { - "line": 43, - "column": 37 + "line": 44, + "column": 34 } } }, @@ -12095,16 +12263,16 @@ "postfix": false, "binop": null }, - "start": 824, - "end": 825, + "start": 812, + "end": 813, "loc": { "start": { - "line": 43, - "column": 38 + "line": 44, + "column": 34 }, "end": { - "line": 43, - "column": 39 + "line": 44, + "column": 35 } } }, @@ -12120,16 +12288,16 @@ "postfix": false, "binop": null }, - "start": 826, - "end": 827, + "start": 814, + "end": 815, "loc": { "start": { - "line": 43, - "column": 40 + "line": 44, + "column": 36 }, "end": { - "line": 43, - "column": 41 + "line": 44, + "column": 37 } } }, @@ -12148,15 +12316,15 @@ "updateContext": null }, "value": "return", - "start": 829, - "end": 835, + "start": 817, + "end": 823, "loc": { "start": { - "line": 44, + "line": 45, "column": 1 }, "end": { - "line": 44, + "line": 45, "column": 7 } } @@ -12174,15 +12342,15 @@ "binop": null }, "value": "first", - "start": 836, - "end": 841, + "start": 824, + "end": 829, "loc": { "start": { - "line": 44, + "line": 45, "column": 8 }, "end": { - "line": 44, + "line": 45, "column": 13 } } @@ -12200,15 +12368,15 @@ "binop": null, "updateContext": null }, - "start": 841, - "end": 842, + "start": 829, + "end": 830, "loc": { "start": { - "line": 44, + "line": 45, "column": 13 }, "end": { - "line": 44, + "line": 45, "column": 14 } } @@ -12226,15 +12394,15 @@ "binop": null }, "value": "imul", - "start": 842, - "end": 846, + "start": 830, + "end": 834, "loc": { "start": { - "line": 44, + "line": 45, "column": 14 }, "end": { - "line": 44, + "line": 45, "column": 18 } } @@ -12251,15 +12419,15 @@ "postfix": false, "binop": null }, - "start": 846, - "end": 847, + "start": 834, + "end": 835, "loc": { "start": { - "line": 44, + "line": 45, "column": 18 }, "end": { - "line": 44, + "line": 45, "column": 19 } } @@ -12277,15 +12445,15 @@ "binop": null }, "value": "second", - "start": 847, - "end": 853, + "start": 835, + "end": 841, "loc": { "start": { - "line": 44, + "line": 45, "column": 19 }, "end": { - "line": 44, + "line": 45, "column": 25 } } @@ -12302,15 +12470,15 @@ "postfix": false, "binop": null }, - "start": 853, - "end": 854, + "start": 841, + "end": 842, "loc": { "start": { - "line": 44, + "line": 45, "column": 25 }, "end": { - "line": 44, + "line": 45, "column": 26 } } @@ -12328,16 +12496,16 @@ "binop": null, "updateContext": null }, - "start": 855, - "end": 856, + "start": 842, + "end": 843, "loc": { "start": { - "line": 44, - "column": 27 + "line": 45, + "column": 26 }, "end": { - "line": 44, - "column": 28 + "line": 45, + "column": 27 } } }, @@ -12353,15 +12521,15 @@ "postfix": false, "binop": null }, - "start": 857, - "end": 858, + "start": 844, + "end": 845, "loc": { "start": { - "line": 45, + "line": 46, "column": 0 }, "end": { - "line": 45, + "line": 46, "column": 1 } } @@ -12381,15 +12549,15 @@ "updateContext": null }, "value": "export", - "start": 860, - "end": 866, + "start": 847, + "end": 853, "loc": { "start": { - "line": 47, + "line": 48, "column": 0 }, "end": { - "line": 47, + "line": 48, "column": 6 } } @@ -12408,15 +12576,15 @@ "binop": null }, "value": "function", - "start": 867, - "end": 875, + "start": 854, + "end": 862, "loc": { "start": { - "line": 47, + "line": 48, "column": 7 }, "end": { - "line": 47, + "line": 48, "column": 15 } } @@ -12434,15 +12602,15 @@ "binop": null }, "value": "pow", - "start": 876, - "end": 879, + "start": 863, + "end": 866, "loc": { "start": { - "line": 47, + "line": 48, "column": 16 }, "end": { - "line": 47, + "line": 48, "column": 19 } } @@ -12459,16 +12627,16 @@ "postfix": false, "binop": null }, - "start": 880, - "end": 881, + "start": 866, + "end": 867, "loc": { "start": { - "line": 47, - "column": 20 + "line": 48, + "column": 19 }, "end": { - "line": 47, - "column": 21 + "line": 48, + "column": 20 } } }, @@ -12485,16 +12653,16 @@ "binop": null }, "value": "first", - "start": 882, - "end": 887, + "start": 867, + "end": 872, "loc": { "start": { - "line": 47, - "column": 22 + "line": 48, + "column": 20 }, "end": { - "line": 47, - "column": 27 + "line": 48, + "column": 25 } } }, @@ -12511,16 +12679,16 @@ "binop": null, "updateContext": null }, - "start": 888, - "end": 889, + "start": 872, + "end": 873, "loc": { "start": { - "line": 47, - "column": 28 + "line": 48, + "column": 25 }, "end": { - "line": 47, - "column": 29 + "line": 48, + "column": 26 } } }, @@ -12537,16 +12705,16 @@ "binop": null }, "value": "second", - "start": 890, - "end": 896, + "start": 874, + "end": 880, "loc": { "start": { - "line": 47, - "column": 30 + "line": 48, + "column": 27 }, "end": { - "line": 47, - "column": 36 + "line": 48, + "column": 33 } } }, @@ -12562,16 +12730,16 @@ "postfix": false, "binop": null }, - "start": 897, - "end": 898, + "start": 880, + "end": 881, "loc": { "start": { - "line": 47, - "column": 37 + "line": 48, + "column": 33 }, "end": { - "line": 47, - "column": 38 + "line": 48, + "column": 34 } } }, @@ -12587,16 +12755,16 @@ "postfix": false, "binop": null }, - "start": 899, - "end": 900, + "start": 882, + "end": 883, "loc": { "start": { - "line": 47, - "column": 39 + "line": 48, + "column": 35 }, "end": { - "line": 47, - "column": 40 + "line": 48, + "column": 36 } } }, @@ -12615,15 +12783,15 @@ "updateContext": null }, "value": "return", - "start": 902, - "end": 908, + "start": 885, + "end": 891, "loc": { "start": { - "line": 48, + "line": 49, "column": 1 }, "end": { - "line": 48, + "line": 49, "column": 7 } } @@ -12641,15 +12809,15 @@ "binop": null }, "value": "first", - "start": 909, - "end": 914, + "start": 892, + "end": 897, "loc": { "start": { - "line": 48, + "line": 49, "column": 8 }, "end": { - "line": 48, + "line": 49, "column": 13 } } @@ -12667,15 +12835,15 @@ "binop": null, "updateContext": null }, - "start": 914, - "end": 915, + "start": 897, + "end": 898, "loc": { "start": { - "line": 48, + "line": 49, "column": 13 }, "end": { - "line": 48, + "line": 49, "column": 14 } } @@ -12693,15 +12861,15 @@ "binop": null }, "value": "pow", - "start": 915, - "end": 918, + "start": 898, + "end": 901, "loc": { "start": { - "line": 48, + "line": 49, "column": 14 }, "end": { - "line": 48, + "line": 49, "column": 17 } } @@ -12718,15 +12886,15 @@ "postfix": false, "binop": null }, - "start": 918, - "end": 919, + "start": 901, + "end": 902, "loc": { "start": { - "line": 48, + "line": 49, "column": 17 }, "end": { - "line": 48, + "line": 49, "column": 18 } } @@ -12744,15 +12912,15 @@ "binop": null }, "value": "second", - "start": 919, - "end": 925, + "start": 902, + "end": 908, "loc": { "start": { - "line": 48, + "line": 49, "column": 18 }, "end": { - "line": 48, + "line": 49, "column": 24 } } @@ -12769,15 +12937,15 @@ "postfix": false, "binop": null }, - "start": 925, - "end": 926, + "start": 908, + "end": 909, "loc": { "start": { - "line": 48, + "line": 49, "column": 24 }, "end": { - "line": 48, + "line": 49, "column": 25 } } @@ -12795,16 +12963,16 @@ "binop": null, "updateContext": null }, - "start": 927, - "end": 928, + "start": 909, + "end": 910, "loc": { "start": { - "line": 48, - "column": 26 + "line": 49, + "column": 25 }, "end": { - "line": 48, - "column": 27 + "line": 49, + "column": 26 } } }, @@ -12820,15 +12988,15 @@ "postfix": false, "binop": null }, - "start": 929, - "end": 930, + "start": 911, + "end": 912, "loc": { "start": { - "line": 49, + "line": 50, "column": 0 }, "end": { - "line": 49, + "line": 50, "column": 1 } } @@ -12848,15 +13016,15 @@ "updateContext": null }, "value": "export", - "start": 932, - "end": 938, + "start": 914, + "end": 920, "loc": { "start": { - "line": 51, + "line": 52, "column": 0 }, "end": { - "line": 51, + "line": 52, "column": 6 } } @@ -12875,15 +13043,15 @@ "binop": null }, "value": "function", - "start": 939, - "end": 947, + "start": 921, + "end": 929, "loc": { "start": { - "line": 51, + "line": 52, "column": 7 }, "end": { - "line": 51, + "line": 52, "column": 15 } } @@ -12901,15 +13069,15 @@ "binop": null }, "value": "ipow", - "start": 948, - "end": 952, + "start": 930, + "end": 934, "loc": { "start": { - "line": 51, + "line": 52, "column": 16 }, "end": { - "line": 51, + "line": 52, "column": 20 } } @@ -12926,16 +13094,16 @@ "postfix": false, "binop": null }, - "start": 953, - "end": 954, + "start": 934, + "end": 935, "loc": { "start": { - "line": 51, - "column": 21 + "line": 52, + "column": 20 }, "end": { - "line": 51, - "column": 22 + "line": 52, + "column": 21 } } }, @@ -12952,16 +13120,16 @@ "binop": null }, "value": "first", - "start": 955, - "end": 960, + "start": 935, + "end": 940, "loc": { "start": { - "line": 51, - "column": 23 + "line": 52, + "column": 21 }, "end": { - "line": 51, - "column": 28 + "line": 52, + "column": 26 } } }, @@ -12978,16 +13146,16 @@ "binop": null, "updateContext": null }, - "start": 961, - "end": 962, + "start": 940, + "end": 941, "loc": { "start": { - "line": 51, - "column": 29 + "line": 52, + "column": 26 }, "end": { - "line": 51, - "column": 30 + "line": 52, + "column": 27 } } }, @@ -13004,16 +13172,16 @@ "binop": null }, "value": "second", - "start": 963, - "end": 969, + "start": 942, + "end": 948, "loc": { "start": { - "line": 51, - "column": 31 + "line": 52, + "column": 28 }, "end": { - "line": 51, - "column": 37 + "line": 52, + "column": 34 } } }, @@ -13029,16 +13197,16 @@ "postfix": false, "binop": null }, - "start": 970, - "end": 971, + "start": 948, + "end": 949, "loc": { "start": { - "line": 51, - "column": 38 + "line": 52, + "column": 34 }, "end": { - "line": 51, - "column": 39 + "line": 52, + "column": 35 } } }, @@ -13054,16 +13222,16 @@ "postfix": false, "binop": null }, - "start": 972, - "end": 973, + "start": 950, + "end": 951, "loc": { "start": { - "line": 51, - "column": 40 + "line": 52, + "column": 36 }, "end": { - "line": 51, - "column": 41 + "line": 52, + "column": 37 } } }, @@ -13082,15 +13250,15 @@ "updateContext": null }, "value": "return", - "start": 975, - "end": 981, + "start": 953, + "end": 959, "loc": { "start": { - "line": 52, + "line": 53, "column": 1 }, "end": { - "line": 52, + "line": 53, "column": 7 } } @@ -13108,15 +13276,15 @@ "binop": null }, "value": "first", - "start": 982, - "end": 987, + "start": 960, + "end": 965, "loc": { "start": { - "line": 52, + "line": 53, "column": 8 }, "end": { - "line": 52, + "line": 53, "column": 13 } } @@ -13134,15 +13302,15 @@ "binop": null, "updateContext": null }, - "start": 987, - "end": 988, + "start": 965, + "end": 966, "loc": { "start": { - "line": 52, + "line": 53, "column": 13 }, "end": { - "line": 52, + "line": 53, "column": 14 } } @@ -13160,15 +13328,15 @@ "binop": null }, "value": "ipow", - "start": 988, - "end": 992, + "start": 966, + "end": 970, "loc": { "start": { - "line": 52, + "line": 53, "column": 14 }, "end": { - "line": 52, + "line": 53, "column": 18 } } @@ -13185,15 +13353,15 @@ "postfix": false, "binop": null }, - "start": 992, - "end": 993, + "start": 970, + "end": 971, "loc": { "start": { - "line": 52, + "line": 53, "column": 18 }, "end": { - "line": 52, + "line": 53, "column": 19 } } @@ -13211,15 +13379,15 @@ "binop": null }, "value": "second", - "start": 993, - "end": 999, + "start": 971, + "end": 977, "loc": { "start": { - "line": 52, + "line": 53, "column": 19 }, "end": { - "line": 52, + "line": 53, "column": 25 } } @@ -13236,15 +13404,15 @@ "postfix": false, "binop": null }, - "start": 999, - "end": 1000, + "start": 977, + "end": 978, "loc": { "start": { - "line": 52, + "line": 53, "column": 25 }, "end": { - "line": 52, + "line": 53, "column": 26 } } @@ -13262,16 +13430,16 @@ "binop": null, "updateContext": null }, - "start": 1001, - "end": 1002, + "start": 978, + "end": 979, "loc": { "start": { - "line": 52, - "column": 27 + "line": 53, + "column": 26 }, "end": { - "line": 52, - "column": 28 + "line": 53, + "column": 27 } } }, @@ -13287,15 +13455,15 @@ "postfix": false, "binop": null }, - "start": 1003, - "end": 1004, + "start": 980, + "end": 981, "loc": { "start": { - "line": 53, + "line": 54, "column": 0 }, "end": { - "line": 53, + "line": 54, "column": 1 } } @@ -13315,15 +13483,15 @@ "updateContext": null }, "value": "export", - "start": 1006, - "end": 1012, + "start": 983, + "end": 989, "loc": { "start": { - "line": 55, + "line": 56, "column": 0 }, "end": { - "line": 55, + "line": 56, "column": 6 } } @@ -13342,15 +13510,15 @@ "binop": null }, "value": "function", - "start": 1013, - "end": 1021, + "start": 990, + "end": 998, "loc": { "start": { - "line": 55, + "line": 56, "column": 7 }, "end": { - "line": 55, + "line": 56, "column": 15 } } @@ -13368,15 +13536,15 @@ "binop": null }, "value": "div", - "start": 1022, - "end": 1025, + "start": 999, + "end": 1002, "loc": { "start": { - "line": 55, + "line": 56, "column": 16 }, "end": { - "line": 55, + "line": 56, "column": 19 } } @@ -13393,16 +13561,16 @@ "postfix": false, "binop": null }, - "start": 1026, - "end": 1027, + "start": 1002, + "end": 1003, "loc": { "start": { - "line": 55, - "column": 20 + "line": 56, + "column": 19 }, "end": { - "line": 55, - "column": 21 + "line": 56, + "column": 20 } } }, @@ -13419,16 +13587,16 @@ "binop": null }, "value": "first", - "start": 1028, - "end": 1033, + "start": 1003, + "end": 1008, "loc": { "start": { - "line": 55, - "column": 22 + "line": 56, + "column": 20 }, "end": { - "line": 55, - "column": 27 + "line": 56, + "column": 25 } } }, @@ -13445,16 +13613,16 @@ "binop": null, "updateContext": null }, - "start": 1034, - "end": 1035, + "start": 1008, + "end": 1009, "loc": { "start": { - "line": 55, - "column": 28 + "line": 56, + "column": 25 }, "end": { - "line": 55, - "column": 29 + "line": 56, + "column": 26 } } }, @@ -13471,16 +13639,16 @@ "binop": null }, "value": "second", - "start": 1036, - "end": 1042, + "start": 1010, + "end": 1016, "loc": { "start": { - "line": 55, - "column": 30 + "line": 56, + "column": 27 }, "end": { - "line": 55, - "column": 36 + "line": 56, + "column": 33 } } }, @@ -13496,16 +13664,16 @@ "postfix": false, "binop": null }, - "start": 1043, - "end": 1044, + "start": 1016, + "end": 1017, "loc": { "start": { - "line": 55, - "column": 37 + "line": 56, + "column": 33 }, "end": { - "line": 55, - "column": 38 + "line": 56, + "column": 34 } } }, @@ -13521,16 +13689,16 @@ "postfix": false, "binop": null }, - "start": 1045, - "end": 1046, + "start": 1018, + "end": 1019, "loc": { "start": { - "line": 55, - "column": 39 + "line": 56, + "column": 35 }, "end": { - "line": 55, - "column": 40 + "line": 56, + "column": 36 } } }, @@ -13549,15 +13717,15 @@ "updateContext": null }, "value": "return", - "start": 1048, - "end": 1054, + "start": 1021, + "end": 1027, "loc": { "start": { - "line": 56, + "line": 57, "column": 1 }, "end": { - "line": 56, + "line": 57, "column": 7 } } @@ -13575,15 +13743,15 @@ "binop": null }, "value": "first", - "start": 1055, - "end": 1060, + "start": 1028, + "end": 1033, "loc": { "start": { - "line": 56, + "line": 57, "column": 8 }, "end": { - "line": 56, + "line": 57, "column": 13 } } @@ -13601,15 +13769,15 @@ "binop": null, "updateContext": null }, - "start": 1060, - "end": 1061, + "start": 1033, + "end": 1034, "loc": { "start": { - "line": 56, + "line": 57, "column": 13 }, "end": { - "line": 56, + "line": 57, "column": 14 } } @@ -13627,15 +13795,15 @@ "binop": null }, "value": "div", - "start": 1061, - "end": 1064, + "start": 1034, + "end": 1037, "loc": { "start": { - "line": 56, + "line": 57, "column": 14 }, "end": { - "line": 56, + "line": 57, "column": 17 } } @@ -13652,15 +13820,15 @@ "postfix": false, "binop": null }, - "start": 1064, - "end": 1065, + "start": 1037, + "end": 1038, "loc": { "start": { - "line": 56, + "line": 57, "column": 17 }, "end": { - "line": 56, + "line": 57, "column": 18 } } @@ -13678,15 +13846,15 @@ "binop": null }, "value": "second", - "start": 1065, - "end": 1071, + "start": 1038, + "end": 1044, "loc": { "start": { - "line": 56, + "line": 57, "column": 18 }, "end": { - "line": 56, + "line": 57, "column": 24 } } @@ -13703,15 +13871,15 @@ "postfix": false, "binop": null }, - "start": 1071, - "end": 1072, + "start": 1044, + "end": 1045, "loc": { "start": { - "line": 56, + "line": 57, "column": 24 }, "end": { - "line": 56, + "line": 57, "column": 25 } } @@ -13729,16 +13897,16 @@ "binop": null, "updateContext": null }, - "start": 1073, - "end": 1074, + "start": 1045, + "end": 1046, "loc": { "start": { - "line": 56, - "column": 26 + "line": 57, + "column": 25 }, "end": { - "line": 56, - "column": 27 + "line": 57, + "column": 26 } } }, @@ -13754,15 +13922,15 @@ "postfix": false, "binop": null }, - "start": 1075, - "end": 1076, + "start": 1047, + "end": 1048, "loc": { "start": { - "line": 57, + "line": 58, "column": 0 }, "end": { - "line": 57, + "line": 58, "column": 1 } } @@ -13782,15 +13950,15 @@ "updateContext": null }, "value": "export", - "start": 1078, - "end": 1084, + "start": 1050, + "end": 1056, "loc": { "start": { - "line": 59, + "line": 60, "column": 0 }, "end": { - "line": 59, + "line": 60, "column": 6 } } @@ -13809,15 +13977,15 @@ "binop": null }, "value": "function", - "start": 1085, - "end": 1093, + "start": 1057, + "end": 1065, "loc": { "start": { - "line": 59, + "line": 60, "column": 7 }, "end": { - "line": 59, + "line": 60, "column": 15 } } @@ -13835,15 +14003,15 @@ "binop": null }, "value": "idiv", - "start": 1094, - "end": 1098, + "start": 1066, + "end": 1070, "loc": { "start": { - "line": 59, + "line": 60, "column": 16 }, "end": { - "line": 59, + "line": 60, "column": 20 } } @@ -13860,16 +14028,16 @@ "postfix": false, "binop": null }, - "start": 1099, - "end": 1100, + "start": 1070, + "end": 1071, "loc": { "start": { - "line": 59, - "column": 21 + "line": 60, + "column": 20 }, "end": { - "line": 59, - "column": 22 + "line": 60, + "column": 21 } } }, @@ -13886,16 +14054,16 @@ "binop": null }, "value": "first", - "start": 1101, - "end": 1106, + "start": 1071, + "end": 1076, "loc": { "start": { - "line": 59, - "column": 23 + "line": 60, + "column": 21 }, "end": { - "line": 59, - "column": 28 + "line": 60, + "column": 26 } } }, @@ -13912,16 +14080,16 @@ "binop": null, "updateContext": null }, - "start": 1107, - "end": 1108, + "start": 1076, + "end": 1077, "loc": { "start": { - "line": 59, - "column": 29 + "line": 60, + "column": 26 }, "end": { - "line": 59, - "column": 30 + "line": 60, + "column": 27 } } }, @@ -13938,16 +14106,16 @@ "binop": null }, "value": "second", - "start": 1109, - "end": 1115, + "start": 1078, + "end": 1084, "loc": { "start": { - "line": 59, - "column": 31 + "line": 60, + "column": 28 }, "end": { - "line": 59, - "column": 37 + "line": 60, + "column": 34 } } }, @@ -13963,16 +14131,16 @@ "postfix": false, "binop": null }, - "start": 1116, - "end": 1117, + "start": 1084, + "end": 1085, "loc": { "start": { - "line": 59, - "column": 38 + "line": 60, + "column": 34 }, "end": { - "line": 59, - "column": 39 + "line": 60, + "column": 35 } } }, @@ -13988,16 +14156,16 @@ "postfix": false, "binop": null }, - "start": 1118, - "end": 1119, + "start": 1086, + "end": 1087, "loc": { "start": { - "line": 59, - "column": 40 + "line": 60, + "column": 36 }, "end": { - "line": 59, - "column": 41 + "line": 60, + "column": 37 } } }, @@ -14016,15 +14184,15 @@ "updateContext": null }, "value": "return", - "start": 1121, - "end": 1127, + "start": 1089, + "end": 1095, "loc": { "start": { - "line": 60, + "line": 61, "column": 1 }, "end": { - "line": 60, + "line": 61, "column": 7 } } @@ -14042,15 +14210,15 @@ "binop": null }, "value": "first", - "start": 1128, - "end": 1133, + "start": 1096, + "end": 1101, "loc": { "start": { - "line": 60, + "line": 61, "column": 8 }, "end": { - "line": 60, + "line": 61, "column": 13 } } @@ -14068,15 +14236,15 @@ "binop": null, "updateContext": null }, - "start": 1133, - "end": 1134, + "start": 1101, + "end": 1102, "loc": { "start": { - "line": 60, + "line": 61, "column": 13 }, "end": { - "line": 60, + "line": 61, "column": 14 } } @@ -14094,15 +14262,15 @@ "binop": null }, "value": "idiv", - "start": 1134, - "end": 1138, + "start": 1102, + "end": 1106, "loc": { "start": { - "line": 60, + "line": 61, "column": 14 }, "end": { - "line": 60, + "line": 61, "column": 18 } } @@ -14119,15 +14287,15 @@ "postfix": false, "binop": null }, - "start": 1138, - "end": 1139, + "start": 1106, + "end": 1107, "loc": { "start": { - "line": 60, + "line": 61, "column": 18 }, "end": { - "line": 60, + "line": 61, "column": 19 } } @@ -14145,15 +14313,15 @@ "binop": null }, "value": "second", - "start": 1139, - "end": 1145, + "start": 1107, + "end": 1113, "loc": { "start": { - "line": 60, + "line": 61, "column": 19 }, "end": { - "line": 60, + "line": 61, "column": 25 } } @@ -14170,15 +14338,15 @@ "postfix": false, "binop": null }, - "start": 1145, - "end": 1146, + "start": 1113, + "end": 1114, "loc": { "start": { - "line": 60, + "line": 61, "column": 25 }, "end": { - "line": 60, + "line": 61, "column": 26 } } @@ -14196,16 +14364,16 @@ "binop": null, "updateContext": null }, - "start": 1147, - "end": 1148, + "start": 1114, + "end": 1115, "loc": { "start": { - "line": 60, - "column": 27 + "line": 61, + "column": 26 }, "end": { - "line": 60, - "column": 28 + "line": 61, + "column": 27 } } }, @@ -14221,15 +14389,15 @@ "postfix": false, "binop": null }, - "start": 1149, - "end": 1150, + "start": 1116, + "end": 1117, "loc": { "start": { - "line": 61, + "line": 62, "column": 0 }, "end": { - "line": 61, + "line": 62, "column": 1 } } @@ -14249,15 +14417,15 @@ "updateContext": null }, "value": "export", - "start": 1152, - "end": 1158, + "start": 1119, + "end": 1125, "loc": { "start": { - "line": 63, + "line": 64, "column": 0 }, "end": { - "line": 63, + "line": 64, "column": 6 } } @@ -14276,15 +14444,15 @@ "binop": null }, "value": "function", - "start": 1159, - "end": 1167, + "start": 1126, + "end": 1134, "loc": { "start": { - "line": 63, + "line": 64, "column": 7 }, "end": { - "line": 63, + "line": 64, "column": 15 } } @@ -14302,15 +14470,15 @@ "binop": null }, "value": "mod", - "start": 1168, - "end": 1171, + "start": 1135, + "end": 1138, "loc": { "start": { - "line": 63, + "line": 64, "column": 16 }, "end": { - "line": 63, + "line": 64, "column": 19 } } @@ -14327,16 +14495,16 @@ "postfix": false, "binop": null }, - "start": 1172, - "end": 1173, + "start": 1138, + "end": 1139, "loc": { "start": { - "line": 63, - "column": 20 + "line": 64, + "column": 19 }, "end": { - "line": 63, - "column": 21 + "line": 64, + "column": 20 } } }, @@ -14353,16 +14521,16 @@ "binop": null }, "value": "first", - "start": 1174, - "end": 1179, + "start": 1139, + "end": 1144, "loc": { "start": { - "line": 63, - "column": 22 + "line": 64, + "column": 20 }, "end": { - "line": 63, - "column": 27 + "line": 64, + "column": 25 } } }, @@ -14379,16 +14547,16 @@ "binop": null, "updateContext": null }, - "start": 1180, - "end": 1181, + "start": 1144, + "end": 1145, "loc": { "start": { - "line": 63, - "column": 28 + "line": 64, + "column": 25 }, "end": { - "line": 63, - "column": 29 + "line": 64, + "column": 26 } } }, @@ -14405,16 +14573,16 @@ "binop": null }, "value": "second", - "start": 1182, - "end": 1188, + "start": 1146, + "end": 1152, "loc": { "start": { - "line": 63, - "column": 30 + "line": 64, + "column": 27 }, "end": { - "line": 63, - "column": 36 + "line": 64, + "column": 33 } } }, @@ -14430,16 +14598,16 @@ "postfix": false, "binop": null }, - "start": 1189, - "end": 1190, + "start": 1152, + "end": 1153, "loc": { "start": { - "line": 63, - "column": 37 + "line": 64, + "column": 33 }, "end": { - "line": 63, - "column": 38 + "line": 64, + "column": 34 } } }, @@ -14455,16 +14623,16 @@ "postfix": false, "binop": null }, - "start": 1191, - "end": 1192, + "start": 1154, + "end": 1155, "loc": { "start": { - "line": 63, - "column": 39 + "line": 64, + "column": 35 }, "end": { - "line": 63, - "column": 40 + "line": 64, + "column": 36 } } }, @@ -14483,15 +14651,15 @@ "updateContext": null }, "value": "return", - "start": 1194, - "end": 1200, + "start": 1157, + "end": 1163, "loc": { "start": { - "line": 64, + "line": 65, "column": 1 }, "end": { - "line": 64, + "line": 65, "column": 7 } } @@ -14509,15 +14677,15 @@ "binop": null }, "value": "first", - "start": 1201, - "end": 1206, + "start": 1164, + "end": 1169, "loc": { "start": { - "line": 64, + "line": 65, "column": 8 }, "end": { - "line": 64, + "line": 65, "column": 13 } } @@ -14535,15 +14703,15 @@ "binop": null, "updateContext": null }, - "start": 1206, - "end": 1207, + "start": 1169, + "end": 1170, "loc": { "start": { - "line": 64, + "line": 65, "column": 13 }, "end": { - "line": 64, + "line": 65, "column": 14 } } @@ -14561,15 +14729,15 @@ "binop": null }, "value": "mod", - "start": 1207, - "end": 1210, + "start": 1170, + "end": 1173, "loc": { "start": { - "line": 64, + "line": 65, "column": 14 }, "end": { - "line": 64, + "line": 65, "column": 17 } } @@ -14586,15 +14754,15 @@ "postfix": false, "binop": null }, - "start": 1210, - "end": 1211, + "start": 1173, + "end": 1174, "loc": { "start": { - "line": 64, + "line": 65, "column": 17 }, "end": { - "line": 64, + "line": 65, "column": 18 } } @@ -14612,15 +14780,15 @@ "binop": null }, "value": "second", - "start": 1211, - "end": 1217, + "start": 1174, + "end": 1180, "loc": { "start": { - "line": 64, + "line": 65, "column": 18 }, "end": { - "line": 64, + "line": 65, "column": 24 } } @@ -14637,15 +14805,15 @@ "postfix": false, "binop": null }, - "start": 1217, - "end": 1218, + "start": 1180, + "end": 1181, "loc": { "start": { - "line": 64, + "line": 65, "column": 24 }, "end": { - "line": 64, + "line": 65, "column": 25 } } @@ -14663,16 +14831,16 @@ "binop": null, "updateContext": null }, - "start": 1219, - "end": 1220, + "start": 1181, + "end": 1182, "loc": { "start": { - "line": 64, - "column": 26 + "line": 65, + "column": 25 }, "end": { - "line": 64, - "column": 27 + "line": 65, + "column": 26 } } }, @@ -14688,15 +14856,15 @@ "postfix": false, "binop": null }, - "start": 1221, - "end": 1222, + "start": 1183, + "end": 1184, "loc": { "start": { - "line": 65, + "line": 66, "column": 0 }, "end": { - "line": 65, + "line": 66, "column": 1 } } @@ -14716,15 +14884,15 @@ "updateContext": null }, "value": "export", - "start": 1224, - "end": 1230, + "start": 1186, + "end": 1192, "loc": { "start": { - "line": 67, + "line": 68, "column": 0 }, "end": { - "line": 67, + "line": 68, "column": 6 } } @@ -14743,15 +14911,15 @@ "binop": null }, "value": "function", - "start": 1231, - "end": 1239, + "start": 1193, + "end": 1201, "loc": { "start": { - "line": 67, + "line": 68, "column": 7 }, "end": { - "line": 67, + "line": 68, "column": 15 } } @@ -14769,15 +14937,15 @@ "binop": null }, "value": "imod", - "start": 1240, - "end": 1244, + "start": 1202, + "end": 1206, "loc": { "start": { - "line": 67, + "line": 68, "column": 16 }, "end": { - "line": 67, + "line": 68, "column": 20 } } @@ -14794,16 +14962,16 @@ "postfix": false, "binop": null }, - "start": 1245, - "end": 1246, + "start": 1206, + "end": 1207, "loc": { "start": { - "line": 67, - "column": 21 + "line": 68, + "column": 20 }, "end": { - "line": 67, - "column": 22 + "line": 68, + "column": 21 } } }, @@ -14820,16 +14988,16 @@ "binop": null }, "value": "first", - "start": 1247, - "end": 1252, + "start": 1207, + "end": 1212, "loc": { "start": { - "line": 67, - "column": 23 + "line": 68, + "column": 21 }, "end": { - "line": 67, - "column": 28 + "line": 68, + "column": 26 } } }, @@ -14846,16 +15014,16 @@ "binop": null, "updateContext": null }, - "start": 1253, - "end": 1254, + "start": 1212, + "end": 1213, "loc": { "start": { - "line": 67, - "column": 29 + "line": 68, + "column": 26 }, "end": { - "line": 67, - "column": 30 + "line": 68, + "column": 27 } } }, @@ -14872,16 +15040,16 @@ "binop": null }, "value": "second", - "start": 1255, - "end": 1261, + "start": 1214, + "end": 1220, "loc": { "start": { - "line": 67, - "column": 31 + "line": 68, + "column": 28 }, "end": { - "line": 67, - "column": 37 + "line": 68, + "column": 34 } } }, @@ -14897,16 +15065,16 @@ "postfix": false, "binop": null }, - "start": 1262, - "end": 1263, + "start": 1220, + "end": 1221, "loc": { "start": { - "line": 67, - "column": 38 + "line": 68, + "column": 34 }, "end": { - "line": 67, - "column": 39 + "line": 68, + "column": 35 } } }, @@ -14922,16 +15090,16 @@ "postfix": false, "binop": null }, - "start": 1264, - "end": 1265, + "start": 1222, + "end": 1223, "loc": { "start": { - "line": 67, - "column": 40 + "line": 68, + "column": 36 }, "end": { - "line": 67, - "column": 41 + "line": 68, + "column": 37 } } }, @@ -14950,15 +15118,15 @@ "updateContext": null }, "value": "return", - "start": 1267, - "end": 1273, + "start": 1225, + "end": 1231, "loc": { "start": { - "line": 68, + "line": 69, "column": 1 }, "end": { - "line": 68, + "line": 69, "column": 7 } } @@ -14976,15 +15144,15 @@ "binop": null }, "value": "first", - "start": 1274, - "end": 1279, + "start": 1232, + "end": 1237, "loc": { "start": { - "line": 68, + "line": 69, "column": 8 }, "end": { - "line": 68, + "line": 69, "column": 13 } } @@ -15002,15 +15170,15 @@ "binop": null, "updateContext": null }, - "start": 1279, - "end": 1280, + "start": 1237, + "end": 1238, "loc": { "start": { - "line": 68, + "line": 69, "column": 13 }, "end": { - "line": 68, + "line": 69, "column": 14 } } @@ -15028,15 +15196,15 @@ "binop": null }, "value": "imod", - "start": 1280, - "end": 1284, + "start": 1238, + "end": 1242, "loc": { "start": { - "line": 68, + "line": 69, "column": 14 }, "end": { - "line": 68, + "line": 69, "column": 18 } } @@ -15053,15 +15221,15 @@ "postfix": false, "binop": null }, - "start": 1284, - "end": 1285, + "start": 1242, + "end": 1243, "loc": { "start": { - "line": 68, + "line": 69, "column": 18 }, "end": { - "line": 68, + "line": 69, "column": 19 } } @@ -15079,15 +15247,15 @@ "binop": null }, "value": "second", - "start": 1285, - "end": 1291, + "start": 1243, + "end": 1249, "loc": { "start": { - "line": 68, + "line": 69, "column": 19 }, "end": { - "line": 68, + "line": 69, "column": 25 } } @@ -15104,15 +15272,15 @@ "postfix": false, "binop": null }, - "start": 1291, - "end": 1292, + "start": 1249, + "end": 1250, "loc": { "start": { - "line": 68, + "line": 69, "column": 25 }, "end": { - "line": 68, + "line": 69, "column": 26 } } @@ -15130,16 +15298,16 @@ "binop": null, "updateContext": null }, - "start": 1293, - "end": 1294, + "start": 1250, + "end": 1251, "loc": { "start": { - "line": 68, - "column": 27 + "line": 69, + "column": 26 }, "end": { - "line": 68, - "column": 28 + "line": 69, + "column": 27 } } }, @@ -15155,15 +15323,15 @@ "postfix": false, "binop": null }, - "start": 1295, - "end": 1296, + "start": 1252, + "end": 1253, "loc": { "start": { - "line": 69, + "line": 70, "column": 0 }, "end": { - "line": 69, + "line": 70, "column": 1 } } @@ -15183,15 +15351,15 @@ "updateContext": null }, "value": "export", - "start": 1298, - "end": 1304, + "start": 1255, + "end": 1261, "loc": { "start": { - "line": 71, + "line": 72, "column": 0 }, "end": { - "line": 71, + "line": 72, "column": 6 } } @@ -15210,15 +15378,15 @@ "binop": null }, "value": "function", - "start": 1305, - "end": 1313, + "start": 1262, + "end": 1270, "loc": { "start": { - "line": 71, + "line": 72, "column": 7 }, "end": { - "line": 71, + "line": 72, "column": 15 } } @@ -15236,15 +15404,15 @@ "binop": null }, "value": "divmod", - "start": 1314, - "end": 1320, + "start": 1271, + "end": 1277, "loc": { "start": { - "line": 71, + "line": 72, "column": 16 }, "end": { - "line": 71, + "line": 72, "column": 22 } } @@ -15261,16 +15429,16 @@ "postfix": false, "binop": null }, - "start": 1321, - "end": 1322, + "start": 1277, + "end": 1278, "loc": { "start": { - "line": 71, - "column": 23 + "line": 72, + "column": 22 }, "end": { - "line": 71, - "column": 24 + "line": 72, + "column": 23 } } }, @@ -15287,16 +15455,16 @@ "binop": null }, "value": "first", - "start": 1323, - "end": 1328, + "start": 1278, + "end": 1283, "loc": { "start": { - "line": 71, - "column": 25 + "line": 72, + "column": 23 }, "end": { - "line": 71, - "column": 30 + "line": 72, + "column": 28 } } }, @@ -15313,16 +15481,16 @@ "binop": null, "updateContext": null }, - "start": 1329, - "end": 1330, + "start": 1283, + "end": 1284, "loc": { "start": { - "line": 71, - "column": 31 + "line": 72, + "column": 28 }, "end": { - "line": 71, - "column": 32 + "line": 72, + "column": 29 } } }, @@ -15339,16 +15507,16 @@ "binop": null }, "value": "second", - "start": 1331, - "end": 1337, + "start": 1285, + "end": 1291, "loc": { "start": { - "line": 71, - "column": 33 + "line": 72, + "column": 30 }, "end": { - "line": 71, - "column": 39 + "line": 72, + "column": 36 } } }, @@ -15364,16 +15532,16 @@ "postfix": false, "binop": null }, - "start": 1338, - "end": 1339, + "start": 1291, + "end": 1292, "loc": { "start": { - "line": 71, - "column": 40 + "line": 72, + "column": 36 }, "end": { - "line": 71, - "column": 41 + "line": 72, + "column": 37 } } }, @@ -15389,16 +15557,16 @@ "postfix": false, "binop": null }, - "start": 1340, - "end": 1341, + "start": 1293, + "end": 1294, "loc": { "start": { - "line": 71, - "column": 42 + "line": 72, + "column": 38 }, "end": { - "line": 71, - "column": 43 + "line": 72, + "column": 39 } } }, @@ -15417,15 +15585,15 @@ "updateContext": null }, "value": "return", - "start": 1343, - "end": 1349, + "start": 1296, + "end": 1302, "loc": { "start": { - "line": 72, + "line": 73, "column": 1 }, "end": { - "line": 72, + "line": 73, "column": 7 } } @@ -15443,15 +15611,15 @@ "binop": null }, "value": "first", - "start": 1350, - "end": 1355, + "start": 1303, + "end": 1308, "loc": { "start": { - "line": 72, + "line": 73, "column": 8 }, "end": { - "line": 72, + "line": 73, "column": 13 } } @@ -15469,15 +15637,15 @@ "binop": null, "updateContext": null }, - "start": 1355, - "end": 1356, + "start": 1308, + "end": 1309, "loc": { "start": { - "line": 72, + "line": 73, "column": 13 }, "end": { - "line": 72, + "line": 73, "column": 14 } } @@ -15495,15 +15663,15 @@ "binop": null }, "value": "divmod", - "start": 1356, - "end": 1362, + "start": 1309, + "end": 1315, "loc": { "start": { - "line": 72, + "line": 73, "column": 14 }, "end": { - "line": 72, + "line": 73, "column": 20 } } @@ -15520,15 +15688,15 @@ "postfix": false, "binop": null }, - "start": 1362, - "end": 1363, + "start": 1315, + "end": 1316, "loc": { "start": { - "line": 72, + "line": 73, "column": 20 }, "end": { - "line": 72, + "line": 73, "column": 21 } } @@ -15546,15 +15714,15 @@ "binop": null }, "value": "second", - "start": 1363, - "end": 1369, + "start": 1316, + "end": 1322, "loc": { "start": { - "line": 72, + "line": 73, "column": 21 }, "end": { - "line": 72, + "line": 73, "column": 27 } } @@ -15571,15 +15739,15 @@ "postfix": false, "binop": null }, - "start": 1369, - "end": 1370, + "start": 1322, + "end": 1323, "loc": { "start": { - "line": 72, + "line": 73, "column": 27 }, "end": { - "line": 72, + "line": 73, "column": 28 } } @@ -15597,16 +15765,16 @@ "binop": null, "updateContext": null }, - "start": 1371, - "end": 1372, + "start": 1323, + "end": 1324, "loc": { "start": { - "line": 72, - "column": 29 + "line": 73, + "column": 28 }, "end": { - "line": 72, - "column": 30 + "line": 73, + "column": 29 } } }, @@ -15622,15 +15790,15 @@ "postfix": false, "binop": null }, - "start": 1373, - "end": 1374, + "start": 1325, + "end": 1326, "loc": { "start": { - "line": 73, + "line": 74, "column": 0 }, "end": { - "line": 73, + "line": 74, "column": 1 } } @@ -15650,15 +15818,15 @@ "updateContext": null }, "value": "export", - "start": 1376, - "end": 1382, + "start": 1328, + "end": 1334, "loc": { "start": { - "line": 75, + "line": 76, "column": 0 }, "end": { - "line": 75, + "line": 76, "column": 6 } } @@ -15677,15 +15845,15 @@ "binop": null }, "value": "function", - "start": 1383, - "end": 1391, + "start": 1335, + "end": 1343, "loc": { "start": { - "line": 75, + "line": 76, "column": 7 }, "end": { - "line": 75, + "line": 76, "column": 15 } } @@ -15703,15 +15871,15 @@ "binop": null }, "value": "idivmod", - "start": 1392, - "end": 1399, + "start": 1344, + "end": 1351, "loc": { "start": { - "line": 75, + "line": 76, "column": 16 }, "end": { - "line": 75, + "line": 76, "column": 23 } } @@ -15728,16 +15896,16 @@ "postfix": false, "binop": null }, - "start": 1400, - "end": 1401, + "start": 1351, + "end": 1352, "loc": { "start": { - "line": 75, - "column": 24 + "line": 76, + "column": 23 }, "end": { - "line": 75, - "column": 25 + "line": 76, + "column": 24 } } }, @@ -15754,16 +15922,16 @@ "binop": null }, "value": "first", - "start": 1402, - "end": 1407, + "start": 1352, + "end": 1357, "loc": { "start": { - "line": 75, - "column": 26 + "line": 76, + "column": 24 }, "end": { - "line": 75, - "column": 31 + "line": 76, + "column": 29 } } }, @@ -15780,16 +15948,16 @@ "binop": null, "updateContext": null }, - "start": 1408, - "end": 1409, + "start": 1357, + "end": 1358, "loc": { "start": { - "line": 75, - "column": 32 + "line": 76, + "column": 29 }, "end": { - "line": 75, - "column": 33 + "line": 76, + "column": 30 } } }, @@ -15806,16 +15974,16 @@ "binop": null }, "value": "second", - "start": 1410, - "end": 1416, + "start": 1359, + "end": 1365, "loc": { "start": { - "line": 75, - "column": 34 + "line": 76, + "column": 31 }, "end": { - "line": 75, - "column": 40 + "line": 76, + "column": 37 } } }, @@ -15831,16 +15999,16 @@ "postfix": false, "binop": null }, - "start": 1417, - "end": 1418, + "start": 1365, + "end": 1366, "loc": { "start": { - "line": 75, - "column": 41 + "line": 76, + "column": 37 }, "end": { - "line": 75, - "column": 42 + "line": 76, + "column": 38 } } }, @@ -15856,16 +16024,16 @@ "postfix": false, "binop": null }, - "start": 1419, - "end": 1420, + "start": 1367, + "end": 1368, "loc": { "start": { - "line": 75, - "column": 43 + "line": 76, + "column": 39 }, "end": { - "line": 75, - "column": 44 + "line": 76, + "column": 40 } } }, @@ -15884,15 +16052,15 @@ "updateContext": null }, "value": "return", - "start": 1422, - "end": 1428, + "start": 1370, + "end": 1376, "loc": { "start": { - "line": 76, + "line": 77, "column": 1 }, "end": { - "line": 76, + "line": 77, "column": 7 } } @@ -15910,15 +16078,15 @@ "binop": null }, "value": "first", - "start": 1429, - "end": 1434, + "start": 1377, + "end": 1382, "loc": { "start": { - "line": 76, + "line": 77, "column": 8 }, "end": { - "line": 76, + "line": 77, "column": 13 } } @@ -15936,15 +16104,15 @@ "binop": null, "updateContext": null }, - "start": 1434, - "end": 1435, + "start": 1382, + "end": 1383, "loc": { "start": { - "line": 76, + "line": 77, "column": 13 }, "end": { - "line": 76, + "line": 77, "column": 14 } } @@ -15962,15 +16130,15 @@ "binop": null }, "value": "idivmod", - "start": 1435, - "end": 1442, + "start": 1383, + "end": 1390, "loc": { "start": { - "line": 76, + "line": 77, "column": 14 }, "end": { - "line": 76, + "line": 77, "column": 21 } } @@ -15987,15 +16155,15 @@ "postfix": false, "binop": null }, - "start": 1442, - "end": 1443, + "start": 1390, + "end": 1391, "loc": { "start": { - "line": 76, + "line": 77, "column": 21 }, "end": { - "line": 76, + "line": 77, "column": 22 } } @@ -16013,15 +16181,15 @@ "binop": null }, "value": "second", - "start": 1443, - "end": 1449, + "start": 1391, + "end": 1397, "loc": { "start": { - "line": 76, + "line": 77, "column": 22 }, "end": { - "line": 76, + "line": 77, "column": 28 } } @@ -16038,15 +16206,15 @@ "postfix": false, "binop": null }, - "start": 1449, - "end": 1450, + "start": 1397, + "end": 1398, "loc": { "start": { - "line": 76, + "line": 77, "column": 28 }, "end": { - "line": 76, + "line": 77, "column": 29 } } @@ -16064,16 +16232,16 @@ "binop": null, "updateContext": null }, - "start": 1451, - "end": 1452, + "start": 1398, + "end": 1399, "loc": { "start": { - "line": 76, - "column": 30 + "line": 77, + "column": 29 }, "end": { - "line": 76, - "column": 31 + "line": 77, + "column": 30 } } }, @@ -16089,15 +16257,15 @@ "postfix": false, "binop": null }, - "start": 1453, - "end": 1454, + "start": 1400, + "end": 1401, "loc": { "start": { - "line": 77, + "line": 78, "column": 0 }, "end": { - "line": 77, + "line": 78, "column": 1 } } @@ -16117,15 +16285,15 @@ "updateContext": null }, "value": "export", - "start": 1456, - "end": 1462, + "start": 1403, + "end": 1409, "loc": { "start": { - "line": 79, + "line": 80, "column": 0 }, "end": { - "line": 79, + "line": 80, "column": 6 } } @@ -16144,15 +16312,15 @@ "binop": null }, "value": "function", - "start": 1463, - "end": 1471, + "start": 1410, + "end": 1418, "loc": { "start": { - "line": 79, + "line": 80, "column": 7 }, "end": { - "line": 79, + "line": 80, "column": 15 } } @@ -16170,15 +16338,15 @@ "binop": null }, "value": "addn", - "start": 1472, - "end": 1476, + "start": 1419, + "end": 1423, "loc": { "start": { - "line": 79, + "line": 80, "column": 16 }, "end": { - "line": 79, + "line": 80, "column": 20 } } @@ -16195,16 +16363,16 @@ "postfix": false, "binop": null }, - "start": 1477, - "end": 1478, + "start": 1423, + "end": 1424, "loc": { "start": { - "line": 79, - "column": 21 + "line": 80, + "column": 20 }, "end": { - "line": 79, - "column": 22 + "line": 80, + "column": 21 } } }, @@ -16221,16 +16389,16 @@ "binop": null }, "value": "first", - "start": 1479, - "end": 1484, + "start": 1424, + "end": 1429, "loc": { "start": { - "line": 79, - "column": 23 + "line": 80, + "column": 21 }, "end": { - "line": 79, - "column": 28 + "line": 80, + "column": 26 } } }, @@ -16247,16 +16415,16 @@ "binop": null, "updateContext": null }, - "start": 1485, - "end": 1486, + "start": 1429, + "end": 1430, "loc": { "start": { - "line": 79, - "column": 29 + "line": 80, + "column": 26 }, "end": { - "line": 79, - "column": 30 + "line": 80, + "column": 27 } } }, @@ -16273,16 +16441,16 @@ "binop": null }, "value": "second", - "start": 1487, - "end": 1493, + "start": 1431, + "end": 1437, "loc": { "start": { - "line": 79, - "column": 31 + "line": 80, + "column": 28 }, "end": { - "line": 79, - "column": 37 + "line": 80, + "column": 34 } } }, @@ -16298,16 +16466,16 @@ "postfix": false, "binop": null }, - "start": 1494, - "end": 1495, + "start": 1437, + "end": 1438, "loc": { "start": { - "line": 79, - "column": 38 + "line": 80, + "column": 34 }, "end": { - "line": 79, - "column": 39 + "line": 80, + "column": 35 } } }, @@ -16323,16 +16491,16 @@ "postfix": false, "binop": null }, - "start": 1496, - "end": 1497, + "start": 1439, + "end": 1440, "loc": { "start": { - "line": 79, - "column": 40 + "line": 80, + "column": 36 }, "end": { - "line": 79, - "column": 41 + "line": 80, + "column": 37 } } }, @@ -16351,15 +16519,15 @@ "updateContext": null }, "value": "return", - "start": 1499, - "end": 1505, + "start": 1442, + "end": 1448, "loc": { "start": { - "line": 80, + "line": 81, "column": 1 }, "end": { - "line": 80, + "line": 81, "column": 7 } } @@ -16377,15 +16545,15 @@ "binop": null }, "value": "first", - "start": 1506, - "end": 1511, + "start": 1449, + "end": 1454, "loc": { "start": { - "line": 80, + "line": 81, "column": 8 }, "end": { - "line": 80, + "line": 81, "column": 13 } } @@ -16403,15 +16571,15 @@ "binop": null, "updateContext": null }, - "start": 1511, - "end": 1512, + "start": 1454, + "end": 1455, "loc": { "start": { - "line": 80, + "line": 81, "column": 13 }, "end": { - "line": 80, + "line": 81, "column": 14 } } @@ -16429,15 +16597,15 @@ "binop": null }, "value": "addn", - "start": 1512, - "end": 1516, + "start": 1455, + "end": 1459, "loc": { "start": { - "line": 80, + "line": 81, "column": 14 }, "end": { - "line": 80, + "line": 81, "column": 18 } } @@ -16454,15 +16622,15 @@ "postfix": false, "binop": null }, - "start": 1516, - "end": 1517, + "start": 1459, + "end": 1460, "loc": { "start": { - "line": 80, + "line": 81, "column": 18 }, "end": { - "line": 80, + "line": 81, "column": 19 } } @@ -16480,15 +16648,15 @@ "binop": null }, "value": "second", - "start": 1517, - "end": 1523, + "start": 1460, + "end": 1466, "loc": { "start": { - "line": 80, + "line": 81, "column": 19 }, "end": { - "line": 80, + "line": 81, "column": 25 } } @@ -16505,15 +16673,15 @@ "postfix": false, "binop": null }, - "start": 1523, - "end": 1524, + "start": 1466, + "end": 1467, "loc": { "start": { - "line": 80, + "line": 81, "column": 25 }, "end": { - "line": 80, + "line": 81, "column": 26 } } @@ -16531,16 +16699,16 @@ "binop": null, "updateContext": null }, - "start": 1525, - "end": 1526, + "start": 1467, + "end": 1468, "loc": { "start": { - "line": 80, - "column": 27 + "line": 81, + "column": 26 }, "end": { - "line": 80, - "column": 28 + "line": 81, + "column": 27 } } }, @@ -16556,15 +16724,15 @@ "postfix": false, "binop": null }, - "start": 1527, - "end": 1528, + "start": 1469, + "end": 1470, "loc": { "start": { - "line": 81, + "line": 82, "column": 0 }, "end": { - "line": 81, + "line": 82, "column": 1 } } @@ -16584,15 +16752,15 @@ "updateContext": null }, "value": "export", - "start": 1530, - "end": 1536, + "start": 1472, + "end": 1478, "loc": { "start": { - "line": 83, + "line": 84, "column": 0 }, "end": { - "line": 83, + "line": 84, "column": 6 } } @@ -16611,15 +16779,15 @@ "binop": null }, "value": "function", - "start": 1537, - "end": 1545, + "start": 1479, + "end": 1487, "loc": { "start": { - "line": 83, + "line": 84, "column": 7 }, "end": { - "line": 83, + "line": 84, "column": 15 } } @@ -16637,15 +16805,15 @@ "binop": null }, "value": "iaddn", - "start": 1546, - "end": 1551, + "start": 1488, + "end": 1493, "loc": { "start": { - "line": 83, + "line": 84, "column": 16 }, "end": { - "line": 83, + "line": 84, "column": 21 } } @@ -16662,16 +16830,16 @@ "postfix": false, "binop": null }, - "start": 1552, - "end": 1553, + "start": 1493, + "end": 1494, "loc": { "start": { - "line": 83, - "column": 22 + "line": 84, + "column": 21 }, "end": { - "line": 83, - "column": 23 + "line": 84, + "column": 22 } } }, @@ -16688,16 +16856,16 @@ "binop": null }, "value": "first", - "start": 1554, - "end": 1559, + "start": 1494, + "end": 1499, "loc": { "start": { - "line": 83, - "column": 24 + "line": 84, + "column": 22 }, "end": { - "line": 83, - "column": 29 + "line": 84, + "column": 27 } } }, @@ -16714,16 +16882,16 @@ "binop": null, "updateContext": null }, - "start": 1560, - "end": 1561, + "start": 1499, + "end": 1500, "loc": { "start": { - "line": 83, - "column": 30 + "line": 84, + "column": 27 }, "end": { - "line": 83, - "column": 31 + "line": 84, + "column": 28 } } }, @@ -16740,16 +16908,16 @@ "binop": null }, "value": "second", - "start": 1562, - "end": 1568, + "start": 1501, + "end": 1507, "loc": { "start": { - "line": 83, - "column": 32 + "line": 84, + "column": 29 }, "end": { - "line": 83, - "column": 38 + "line": 84, + "column": 35 } } }, @@ -16765,16 +16933,16 @@ "postfix": false, "binop": null }, - "start": 1569, - "end": 1570, + "start": 1507, + "end": 1508, "loc": { "start": { - "line": 83, - "column": 39 + "line": 84, + "column": 35 }, "end": { - "line": 83, - "column": 40 + "line": 84, + "column": 36 } } }, @@ -16790,16 +16958,16 @@ "postfix": false, "binop": null }, - "start": 1571, - "end": 1572, + "start": 1509, + "end": 1510, "loc": { "start": { - "line": 83, - "column": 41 + "line": 84, + "column": 37 }, "end": { - "line": 83, - "column": 42 + "line": 84, + "column": 38 } } }, @@ -16818,15 +16986,15 @@ "updateContext": null }, "value": "return", - "start": 1574, - "end": 1580, + "start": 1512, + "end": 1518, "loc": { "start": { - "line": 84, + "line": 85, "column": 1 }, "end": { - "line": 84, + "line": 85, "column": 7 } } @@ -16844,15 +17012,15 @@ "binop": null }, "value": "first", - "start": 1581, - "end": 1586, + "start": 1519, + "end": 1524, "loc": { "start": { - "line": 84, + "line": 85, "column": 8 }, "end": { - "line": 84, + "line": 85, "column": 13 } } @@ -16870,15 +17038,15 @@ "binop": null, "updateContext": null }, - "start": 1586, - "end": 1587, + "start": 1524, + "end": 1525, "loc": { "start": { - "line": 84, + "line": 85, "column": 13 }, "end": { - "line": 84, + "line": 85, "column": 14 } } @@ -16896,15 +17064,15 @@ "binop": null }, "value": "iaddn", - "start": 1587, - "end": 1592, + "start": 1525, + "end": 1530, "loc": { "start": { - "line": 84, + "line": 85, "column": 14 }, "end": { - "line": 84, + "line": 85, "column": 19 } } @@ -16921,15 +17089,15 @@ "postfix": false, "binop": null }, - "start": 1592, - "end": 1593, + "start": 1530, + "end": 1531, "loc": { "start": { - "line": 84, + "line": 85, "column": 19 }, "end": { - "line": 84, + "line": 85, "column": 20 } } @@ -16947,15 +17115,15 @@ "binop": null }, "value": "second", - "start": 1593, - "end": 1599, + "start": 1531, + "end": 1537, "loc": { "start": { - "line": 84, + "line": 85, "column": 20 }, "end": { - "line": 84, + "line": 85, "column": 26 } } @@ -16972,15 +17140,15 @@ "postfix": false, "binop": null }, - "start": 1599, - "end": 1600, + "start": 1537, + "end": 1538, "loc": { "start": { - "line": 84, + "line": 85, "column": 26 }, "end": { - "line": 84, + "line": 85, "column": 27 } } @@ -16998,16 +17166,16 @@ "binop": null, "updateContext": null }, - "start": 1601, - "end": 1602, + "start": 1538, + "end": 1539, "loc": { "start": { - "line": 84, - "column": 28 + "line": 85, + "column": 27 }, "end": { - "line": 84, - "column": 29 + "line": 85, + "column": 28 } } }, @@ -17023,15 +17191,15 @@ "postfix": false, "binop": null }, - "start": 1603, - "end": 1604, + "start": 1540, + "end": 1541, "loc": { "start": { - "line": 85, + "line": 86, "column": 0 }, "end": { - "line": 85, + "line": 86, "column": 1 } } @@ -17051,15 +17219,15 @@ "updateContext": null }, "value": "export", - "start": 1606, - "end": 1612, + "start": 1543, + "end": 1549, "loc": { "start": { - "line": 87, + "line": 88, "column": 0 }, "end": { - "line": 87, + "line": 88, "column": 6 } } @@ -17078,15 +17246,15 @@ "binop": null }, "value": "function", - "start": 1613, - "end": 1621, + "start": 1550, + "end": 1558, "loc": { "start": { - "line": 87, + "line": 88, "column": 7 }, "end": { - "line": 87, + "line": 88, "column": 15 } } @@ -17104,15 +17272,15 @@ "binop": null }, "value": "subn", - "start": 1622, - "end": 1626, + "start": 1559, + "end": 1563, "loc": { "start": { - "line": 87, + "line": 88, "column": 16 }, "end": { - "line": 87, + "line": 88, "column": 20 } } @@ -17129,16 +17297,16 @@ "postfix": false, "binop": null }, - "start": 1627, - "end": 1628, + "start": 1563, + "end": 1564, "loc": { "start": { - "line": 87, - "column": 21 + "line": 88, + "column": 20 }, "end": { - "line": 87, - "column": 22 + "line": 88, + "column": 21 } } }, @@ -17155,16 +17323,16 @@ "binop": null }, "value": "first", - "start": 1629, - "end": 1634, + "start": 1564, + "end": 1569, "loc": { "start": { - "line": 87, - "column": 23 + "line": 88, + "column": 21 }, "end": { - "line": 87, - "column": 28 + "line": 88, + "column": 26 } } }, @@ -17181,16 +17349,16 @@ "binop": null, "updateContext": null }, - "start": 1635, - "end": 1636, + "start": 1569, + "end": 1570, "loc": { "start": { - "line": 87, - "column": 29 + "line": 88, + "column": 26 }, "end": { - "line": 87, - "column": 30 + "line": 88, + "column": 27 } } }, @@ -17207,16 +17375,16 @@ "binop": null }, "value": "second", - "start": 1637, - "end": 1643, + "start": 1571, + "end": 1577, "loc": { "start": { - "line": 87, - "column": 31 + "line": 88, + "column": 28 }, "end": { - "line": 87, - "column": 37 + "line": 88, + "column": 34 } } }, @@ -17232,16 +17400,16 @@ "postfix": false, "binop": null }, - "start": 1644, - "end": 1645, + "start": 1577, + "end": 1578, "loc": { "start": { - "line": 87, - "column": 38 + "line": 88, + "column": 34 }, "end": { - "line": 87, - "column": 39 + "line": 88, + "column": 35 } } }, @@ -17257,16 +17425,16 @@ "postfix": false, "binop": null }, - "start": 1646, - "end": 1647, + "start": 1579, + "end": 1580, "loc": { "start": { - "line": 87, - "column": 40 + "line": 88, + "column": 36 }, "end": { - "line": 87, - "column": 41 + "line": 88, + "column": 37 } } }, @@ -17285,15 +17453,15 @@ "updateContext": null }, "value": "return", - "start": 1649, - "end": 1655, + "start": 1582, + "end": 1588, "loc": { "start": { - "line": 88, + "line": 89, "column": 1 }, "end": { - "line": 88, + "line": 89, "column": 7 } } @@ -17311,15 +17479,15 @@ "binop": null }, "value": "first", - "start": 1656, - "end": 1661, + "start": 1589, + "end": 1594, "loc": { "start": { - "line": 88, + "line": 89, "column": 8 }, "end": { - "line": 88, + "line": 89, "column": 13 } } @@ -17337,15 +17505,15 @@ "binop": null, "updateContext": null }, - "start": 1661, - "end": 1662, + "start": 1594, + "end": 1595, "loc": { "start": { - "line": 88, + "line": 89, "column": 13 }, "end": { - "line": 88, + "line": 89, "column": 14 } } @@ -17363,15 +17531,15 @@ "binop": null }, "value": "subn", - "start": 1662, - "end": 1666, + "start": 1595, + "end": 1599, "loc": { "start": { - "line": 88, + "line": 89, "column": 14 }, "end": { - "line": 88, + "line": 89, "column": 18 } } @@ -17388,15 +17556,15 @@ "postfix": false, "binop": null }, - "start": 1666, - "end": 1667, + "start": 1599, + "end": 1600, "loc": { "start": { - "line": 88, + "line": 89, "column": 18 }, "end": { - "line": 88, + "line": 89, "column": 19 } } @@ -17414,15 +17582,15 @@ "binop": null }, "value": "second", - "start": 1667, - "end": 1673, + "start": 1600, + "end": 1606, "loc": { "start": { - "line": 88, + "line": 89, "column": 19 }, "end": { - "line": 88, + "line": 89, "column": 25 } } @@ -17439,15 +17607,15 @@ "postfix": false, "binop": null }, - "start": 1673, - "end": 1674, + "start": 1606, + "end": 1607, "loc": { "start": { - "line": 88, + "line": 89, "column": 25 }, "end": { - "line": 88, + "line": 89, "column": 26 } } @@ -17465,16 +17633,16 @@ "binop": null, "updateContext": null }, - "start": 1675, - "end": 1676, + "start": 1607, + "end": 1608, "loc": { "start": { - "line": 88, - "column": 27 + "line": 89, + "column": 26 }, "end": { - "line": 88, - "column": 28 + "line": 89, + "column": 27 } } }, @@ -17490,15 +17658,15 @@ "postfix": false, "binop": null }, - "start": 1677, - "end": 1678, + "start": 1609, + "end": 1610, "loc": { "start": { - "line": 89, + "line": 90, "column": 0 }, "end": { - "line": 89, + "line": 90, "column": 1 } } @@ -17518,15 +17686,15 @@ "updateContext": null }, "value": "export", - "start": 1680, - "end": 1686, + "start": 1612, + "end": 1618, "loc": { "start": { - "line": 91, + "line": 92, "column": 0 }, "end": { - "line": 91, + "line": 92, "column": 6 } } @@ -17545,15 +17713,15 @@ "binop": null }, "value": "function", - "start": 1687, - "end": 1695, + "start": 1619, + "end": 1627, "loc": { "start": { - "line": 91, + "line": 92, "column": 7 }, "end": { - "line": 91, + "line": 92, "column": 15 } } @@ -17571,15 +17739,15 @@ "binop": null }, "value": "isubn", - "start": 1696, - "end": 1701, + "start": 1628, + "end": 1633, "loc": { "start": { - "line": 91, + "line": 92, "column": 16 }, "end": { - "line": 91, + "line": 92, "column": 21 } } @@ -17596,16 +17764,16 @@ "postfix": false, "binop": null }, - "start": 1702, - "end": 1703, + "start": 1633, + "end": 1634, "loc": { "start": { - "line": 91, - "column": 22 + "line": 92, + "column": 21 }, "end": { - "line": 91, - "column": 23 + "line": 92, + "column": 22 } } }, @@ -17622,16 +17790,16 @@ "binop": null }, "value": "first", - "start": 1704, - "end": 1709, + "start": 1634, + "end": 1639, "loc": { "start": { - "line": 91, - "column": 24 + "line": 92, + "column": 22 }, "end": { - "line": 91, - "column": 29 + "line": 92, + "column": 27 } } }, @@ -17648,16 +17816,16 @@ "binop": null, "updateContext": null }, - "start": 1710, - "end": 1711, + "start": 1639, + "end": 1640, "loc": { "start": { - "line": 91, - "column": 30 + "line": 92, + "column": 27 }, "end": { - "line": 91, - "column": 31 + "line": 92, + "column": 28 } } }, @@ -17674,16 +17842,16 @@ "binop": null }, "value": "second", - "start": 1712, - "end": 1718, + "start": 1641, + "end": 1647, "loc": { "start": { - "line": 91, - "column": 32 + "line": 92, + "column": 29 }, "end": { - "line": 91, - "column": 38 + "line": 92, + "column": 35 } } }, @@ -17699,16 +17867,16 @@ "postfix": false, "binop": null }, - "start": 1719, - "end": 1720, + "start": 1647, + "end": 1648, "loc": { "start": { - "line": 91, - "column": 39 + "line": 92, + "column": 35 }, "end": { - "line": 91, - "column": 40 + "line": 92, + "column": 36 } } }, @@ -17724,16 +17892,16 @@ "postfix": false, "binop": null }, - "start": 1721, - "end": 1722, + "start": 1649, + "end": 1650, "loc": { "start": { - "line": 91, - "column": 41 + "line": 92, + "column": 37 }, "end": { - "line": 91, - "column": 42 + "line": 92, + "column": 38 } } }, @@ -17752,15 +17920,15 @@ "updateContext": null }, "value": "return", - "start": 1724, - "end": 1730, + "start": 1652, + "end": 1658, "loc": { "start": { - "line": 92, + "line": 93, "column": 1 }, "end": { - "line": 92, + "line": 93, "column": 7 } } @@ -17778,15 +17946,15 @@ "binop": null }, "value": "first", - "start": 1731, - "end": 1736, + "start": 1659, + "end": 1664, "loc": { "start": { - "line": 92, + "line": 93, "column": 8 }, "end": { - "line": 92, + "line": 93, "column": 13 } } @@ -17804,15 +17972,15 @@ "binop": null, "updateContext": null }, - "start": 1736, - "end": 1737, + "start": 1664, + "end": 1665, "loc": { "start": { - "line": 92, + "line": 93, "column": 13 }, "end": { - "line": 92, + "line": 93, "column": 14 } } @@ -17830,15 +17998,15 @@ "binop": null }, "value": "isubn", - "start": 1737, - "end": 1742, + "start": 1665, + "end": 1670, "loc": { "start": { - "line": 92, + "line": 93, "column": 14 }, "end": { - "line": 92, + "line": 93, "column": 19 } } @@ -17855,15 +18023,15 @@ "postfix": false, "binop": null }, - "start": 1742, - "end": 1743, + "start": 1670, + "end": 1671, "loc": { "start": { - "line": 92, + "line": 93, "column": 19 }, "end": { - "line": 92, + "line": 93, "column": 20 } } @@ -17881,15 +18049,15 @@ "binop": null }, "value": "second", - "start": 1743, - "end": 1749, + "start": 1671, + "end": 1677, "loc": { "start": { - "line": 92, + "line": 93, "column": 20 }, "end": { - "line": 92, + "line": 93, "column": 26 } } @@ -17906,15 +18074,15 @@ "postfix": false, "binop": null }, - "start": 1749, - "end": 1750, + "start": 1677, + "end": 1678, "loc": { "start": { - "line": 92, + "line": 93, "column": 26 }, "end": { - "line": 92, + "line": 93, "column": 27 } } @@ -17932,16 +18100,16 @@ "binop": null, "updateContext": null }, - "start": 1751, - "end": 1752, + "start": 1678, + "end": 1679, "loc": { "start": { - "line": 92, - "column": 28 + "line": 93, + "column": 27 }, "end": { - "line": 92, - "column": 29 + "line": 93, + "column": 28 } } }, @@ -17957,15 +18125,15 @@ "postfix": false, "binop": null }, - "start": 1753, - "end": 1754, + "start": 1680, + "end": 1681, "loc": { "start": { - "line": 93, + "line": 94, "column": 0 }, "end": { - "line": 93, + "line": 94, "column": 1 } } @@ -17985,15 +18153,15 @@ "updateContext": null }, "value": "export", - "start": 1756, - "end": 1762, + "start": 1683, + "end": 1689, "loc": { "start": { - "line": 95, + "line": 96, "column": 0 }, "end": { - "line": 95, + "line": 96, "column": 6 } } @@ -18012,15 +18180,15 @@ "binop": null }, "value": "function", - "start": 1763, - "end": 1771, + "start": 1690, + "end": 1698, "loc": { "start": { - "line": 95, + "line": 96, "column": 7 }, "end": { - "line": 95, + "line": 96, "column": 15 } } @@ -18038,15 +18206,15 @@ "binop": null }, "value": "muln", - "start": 1772, - "end": 1776, + "start": 1699, + "end": 1703, "loc": { "start": { - "line": 95, + "line": 96, "column": 16 }, "end": { - "line": 95, + "line": 96, "column": 20 } } @@ -18063,16 +18231,16 @@ "postfix": false, "binop": null }, - "start": 1777, - "end": 1778, + "start": 1703, + "end": 1704, "loc": { "start": { - "line": 95, - "column": 21 + "line": 96, + "column": 20 }, "end": { - "line": 95, - "column": 22 + "line": 96, + "column": 21 } } }, @@ -18089,16 +18257,16 @@ "binop": null }, "value": "first", - "start": 1779, - "end": 1784, + "start": 1704, + "end": 1709, "loc": { "start": { - "line": 95, - "column": 23 + "line": 96, + "column": 21 }, "end": { - "line": 95, - "column": 28 + "line": 96, + "column": 26 } } }, @@ -18115,16 +18283,16 @@ "binop": null, "updateContext": null }, - "start": 1785, - "end": 1786, + "start": 1709, + "end": 1710, "loc": { "start": { - "line": 95, - "column": 29 + "line": 96, + "column": 26 }, "end": { - "line": 95, - "column": 30 + "line": 96, + "column": 27 } } }, @@ -18141,16 +18309,16 @@ "binop": null }, "value": "second", - "start": 1787, - "end": 1793, + "start": 1711, + "end": 1717, "loc": { "start": { - "line": 95, - "column": 31 + "line": 96, + "column": 28 }, "end": { - "line": 95, - "column": 37 + "line": 96, + "column": 34 } } }, @@ -18166,16 +18334,16 @@ "postfix": false, "binop": null }, - "start": 1794, - "end": 1795, + "start": 1717, + "end": 1718, "loc": { "start": { - "line": 95, - "column": 38 + "line": 96, + "column": 34 }, "end": { - "line": 95, - "column": 39 + "line": 96, + "column": 35 } } }, @@ -18191,16 +18359,16 @@ "postfix": false, "binop": null }, - "start": 1796, - "end": 1797, + "start": 1719, + "end": 1720, "loc": { "start": { - "line": 95, - "column": 40 + "line": 96, + "column": 36 }, "end": { - "line": 95, - "column": 41 + "line": 96, + "column": 37 } } }, @@ -18219,15 +18387,15 @@ "updateContext": null }, "value": "return", - "start": 1799, - "end": 1805, + "start": 1722, + "end": 1728, "loc": { "start": { - "line": 96, + "line": 97, "column": 1 }, "end": { - "line": 96, + "line": 97, "column": 7 } } @@ -18245,15 +18413,15 @@ "binop": null }, "value": "first", - "start": 1806, - "end": 1811, + "start": 1729, + "end": 1734, "loc": { "start": { - "line": 96, + "line": 97, "column": 8 }, "end": { - "line": 96, + "line": 97, "column": 13 } } @@ -18271,15 +18439,15 @@ "binop": null, "updateContext": null }, - "start": 1811, - "end": 1812, + "start": 1734, + "end": 1735, "loc": { "start": { - "line": 96, + "line": 97, "column": 13 }, "end": { - "line": 96, + "line": 97, "column": 14 } } @@ -18297,15 +18465,15 @@ "binop": null }, "value": "muln", - "start": 1812, - "end": 1816, + "start": 1735, + "end": 1739, "loc": { "start": { - "line": 96, + "line": 97, "column": 14 }, "end": { - "line": 96, + "line": 97, "column": 18 } } @@ -18322,15 +18490,15 @@ "postfix": false, "binop": null }, - "start": 1816, - "end": 1817, + "start": 1739, + "end": 1740, "loc": { "start": { - "line": 96, + "line": 97, "column": 18 }, "end": { - "line": 96, + "line": 97, "column": 19 } } @@ -18348,15 +18516,15 @@ "binop": null }, "value": "second", - "start": 1817, - "end": 1823, + "start": 1740, + "end": 1746, "loc": { "start": { - "line": 96, + "line": 97, "column": 19 }, "end": { - "line": 96, + "line": 97, "column": 25 } } @@ -18373,15 +18541,15 @@ "postfix": false, "binop": null }, - "start": 1823, - "end": 1824, + "start": 1746, + "end": 1747, "loc": { "start": { - "line": 96, + "line": 97, "column": 25 }, "end": { - "line": 96, + "line": 97, "column": 26 } } @@ -18399,16 +18567,16 @@ "binop": null, "updateContext": null }, - "start": 1825, - "end": 1826, + "start": 1747, + "end": 1748, "loc": { "start": { - "line": 96, - "column": 27 + "line": 97, + "column": 26 }, "end": { - "line": 96, - "column": 28 + "line": 97, + "column": 27 } } }, @@ -18424,15 +18592,15 @@ "postfix": false, "binop": null }, - "start": 1827, - "end": 1828, + "start": 1749, + "end": 1750, "loc": { "start": { - "line": 97, + "line": 98, "column": 0 }, "end": { - "line": 97, + "line": 98, "column": 1 } } @@ -18452,15 +18620,15 @@ "updateContext": null }, "value": "export", - "start": 1830, - "end": 1836, + "start": 1752, + "end": 1758, "loc": { "start": { - "line": 99, + "line": 100, "column": 0 }, "end": { - "line": 99, + "line": 100, "column": 6 } } @@ -18479,15 +18647,15 @@ "binop": null }, "value": "function", - "start": 1837, - "end": 1845, + "start": 1759, + "end": 1767, "loc": { "start": { - "line": 99, + "line": 100, "column": 7 }, "end": { - "line": 99, + "line": 100, "column": 15 } } @@ -18505,15 +18673,15 @@ "binop": null }, "value": "imuln", - "start": 1846, - "end": 1851, + "start": 1768, + "end": 1773, "loc": { "start": { - "line": 99, + "line": 100, "column": 16 }, "end": { - "line": 99, + "line": 100, "column": 21 } } @@ -18530,16 +18698,16 @@ "postfix": false, "binop": null }, - "start": 1852, - "end": 1853, + "start": 1773, + "end": 1774, "loc": { "start": { - "line": 99, - "column": 22 + "line": 100, + "column": 21 }, "end": { - "line": 99, - "column": 23 + "line": 100, + "column": 22 } } }, @@ -18556,16 +18724,16 @@ "binop": null }, "value": "first", - "start": 1854, - "end": 1859, + "start": 1774, + "end": 1779, "loc": { "start": { - "line": 99, - "column": 24 + "line": 100, + "column": 22 }, "end": { - "line": 99, - "column": 29 + "line": 100, + "column": 27 } } }, @@ -18582,16 +18750,16 @@ "binop": null, "updateContext": null }, - "start": 1860, - "end": 1861, + "start": 1779, + "end": 1780, "loc": { "start": { - "line": 99, - "column": 30 + "line": 100, + "column": 27 }, "end": { - "line": 99, - "column": 31 + "line": 100, + "column": 28 } } }, @@ -18608,16 +18776,16 @@ "binop": null }, "value": "second", - "start": 1862, - "end": 1868, + "start": 1781, + "end": 1787, "loc": { "start": { - "line": 99, - "column": 32 + "line": 100, + "column": 29 }, "end": { - "line": 99, - "column": 38 + "line": 100, + "column": 35 } } }, @@ -18633,16 +18801,16 @@ "postfix": false, "binop": null }, - "start": 1869, - "end": 1870, + "start": 1787, + "end": 1788, "loc": { "start": { - "line": 99, - "column": 39 + "line": 100, + "column": 35 }, "end": { - "line": 99, - "column": 40 + "line": 100, + "column": 36 } } }, @@ -18658,16 +18826,16 @@ "postfix": false, "binop": null }, - "start": 1871, - "end": 1872, + "start": 1789, + "end": 1790, "loc": { "start": { - "line": 99, - "column": 41 + "line": 100, + "column": 37 }, "end": { - "line": 99, - "column": 42 + "line": 100, + "column": 38 } } }, @@ -18686,15 +18854,15 @@ "updateContext": null }, "value": "return", - "start": 1874, - "end": 1880, + "start": 1792, + "end": 1798, "loc": { "start": { - "line": 100, + "line": 101, "column": 1 }, "end": { - "line": 100, + "line": 101, "column": 7 } } @@ -18712,15 +18880,15 @@ "binop": null }, "value": "first", - "start": 1881, - "end": 1886, + "start": 1799, + "end": 1804, "loc": { "start": { - "line": 100, + "line": 101, "column": 8 }, "end": { - "line": 100, + "line": 101, "column": 13 } } @@ -18738,15 +18906,15 @@ "binop": null, "updateContext": null }, - "start": 1886, - "end": 1887, + "start": 1804, + "end": 1805, "loc": { "start": { - "line": 100, + "line": 101, "column": 13 }, "end": { - "line": 100, + "line": 101, "column": 14 } } @@ -18764,15 +18932,15 @@ "binop": null }, "value": "imuln", - "start": 1887, - "end": 1892, + "start": 1805, + "end": 1810, "loc": { "start": { - "line": 100, + "line": 101, "column": 14 }, "end": { - "line": 100, + "line": 101, "column": 19 } } @@ -18789,15 +18957,15 @@ "postfix": false, "binop": null }, - "start": 1892, - "end": 1893, + "start": 1810, + "end": 1811, "loc": { "start": { - "line": 100, + "line": 101, "column": 19 }, "end": { - "line": 100, + "line": 101, "column": 20 } } @@ -18815,15 +18983,15 @@ "binop": null }, "value": "second", - "start": 1893, - "end": 1899, + "start": 1811, + "end": 1817, "loc": { "start": { - "line": 100, + "line": 101, "column": 20 }, "end": { - "line": 100, + "line": 101, "column": 26 } } @@ -18840,15 +19008,15 @@ "postfix": false, "binop": null }, - "start": 1899, - "end": 1900, + "start": 1817, + "end": 1818, "loc": { "start": { - "line": 100, + "line": 101, "column": 26 }, "end": { - "line": 100, + "line": 101, "column": 27 } } @@ -18866,16 +19034,16 @@ "binop": null, "updateContext": null }, - "start": 1901, - "end": 1902, + "start": 1818, + "end": 1819, "loc": { "start": { - "line": 100, - "column": 28 + "line": 101, + "column": 27 }, "end": { - "line": 100, - "column": 29 + "line": 101, + "column": 28 } } }, @@ -18891,15 +19059,15 @@ "postfix": false, "binop": null }, - "start": 1903, - "end": 1904, + "start": 1820, + "end": 1821, "loc": { "start": { - "line": 101, + "line": 102, "column": 0 }, "end": { - "line": 101, + "line": 102, "column": 1 } } @@ -18919,15 +19087,15 @@ "updateContext": null }, "value": "export", - "start": 1906, - "end": 1912, + "start": 1823, + "end": 1829, "loc": { "start": { - "line": 103, + "line": 104, "column": 0 }, "end": { - "line": 103, + "line": 104, "column": 6 } } @@ -18946,15 +19114,15 @@ "binop": null }, "value": "function", - "start": 1913, - "end": 1921, + "start": 1830, + "end": 1838, "loc": { "start": { - "line": 103, + "line": 104, "column": 7 }, "end": { - "line": 103, + "line": 104, "column": 15 } } @@ -18972,15 +19140,15 @@ "binop": null }, "value": "pown", - "start": 1922, - "end": 1926, + "start": 1839, + "end": 1843, "loc": { "start": { - "line": 103, + "line": 104, "column": 16 }, "end": { - "line": 103, + "line": 104, "column": 20 } } @@ -18997,16 +19165,16 @@ "postfix": false, "binop": null }, - "start": 1927, - "end": 1928, + "start": 1843, + "end": 1844, "loc": { "start": { - "line": 103, - "column": 21 + "line": 104, + "column": 20 }, "end": { - "line": 103, - "column": 22 + "line": 104, + "column": 21 } } }, @@ -19023,16 +19191,16 @@ "binop": null }, "value": "first", - "start": 1929, - "end": 1934, + "start": 1844, + "end": 1849, "loc": { "start": { - "line": 103, - "column": 23 + "line": 104, + "column": 21 }, "end": { - "line": 103, - "column": 28 + "line": 104, + "column": 26 } } }, @@ -19049,16 +19217,16 @@ "binop": null, "updateContext": null }, - "start": 1935, - "end": 1936, + "start": 1849, + "end": 1850, "loc": { "start": { - "line": 103, - "column": 29 + "line": 104, + "column": 26 }, "end": { - "line": 103, - "column": 30 + "line": 104, + "column": 27 } } }, @@ -19075,16 +19243,16 @@ "binop": null }, "value": "second", - "start": 1937, - "end": 1943, + "start": 1851, + "end": 1857, "loc": { "start": { - "line": 103, - "column": 31 + "line": 104, + "column": 28 }, "end": { - "line": 103, - "column": 37 + "line": 104, + "column": 34 } } }, @@ -19100,16 +19268,16 @@ "postfix": false, "binop": null }, - "start": 1944, - "end": 1945, + "start": 1857, + "end": 1858, "loc": { "start": { - "line": 103, - "column": 38 + "line": 104, + "column": 34 }, "end": { - "line": 103, - "column": 39 + "line": 104, + "column": 35 } } }, @@ -19125,16 +19293,16 @@ "postfix": false, "binop": null }, - "start": 1946, - "end": 1947, + "start": 1859, + "end": 1860, "loc": { "start": { - "line": 103, - "column": 40 + "line": 104, + "column": 36 }, "end": { - "line": 103, - "column": 41 + "line": 104, + "column": 37 } } }, @@ -19153,15 +19321,15 @@ "updateContext": null }, "value": "return", - "start": 1949, - "end": 1955, + "start": 1862, + "end": 1868, "loc": { "start": { - "line": 104, + "line": 105, "column": 1 }, "end": { - "line": 104, + "line": 105, "column": 7 } } @@ -19179,15 +19347,15 @@ "binop": null }, "value": "first", - "start": 1956, - "end": 1961, + "start": 1869, + "end": 1874, "loc": { "start": { - "line": 104, + "line": 105, "column": 8 }, "end": { - "line": 104, + "line": 105, "column": 13 } } @@ -19205,15 +19373,15 @@ "binop": null, "updateContext": null }, - "start": 1961, - "end": 1962, + "start": 1874, + "end": 1875, "loc": { "start": { - "line": 104, + "line": 105, "column": 13 }, "end": { - "line": 104, + "line": 105, "column": 14 } } @@ -19231,15 +19399,15 @@ "binop": null }, "value": "pown", - "start": 1962, - "end": 1966, + "start": 1875, + "end": 1879, "loc": { "start": { - "line": 104, + "line": 105, "column": 14 }, "end": { - "line": 104, + "line": 105, "column": 18 } } @@ -19256,15 +19424,15 @@ "postfix": false, "binop": null }, - "start": 1966, - "end": 1967, + "start": 1879, + "end": 1880, "loc": { "start": { - "line": 104, + "line": 105, "column": 18 }, "end": { - "line": 104, + "line": 105, "column": 19 } } @@ -19282,15 +19450,15 @@ "binop": null }, "value": "second", - "start": 1967, - "end": 1973, + "start": 1880, + "end": 1886, "loc": { "start": { - "line": 104, + "line": 105, "column": 19 }, "end": { - "line": 104, + "line": 105, "column": 25 } } @@ -19307,15 +19475,15 @@ "postfix": false, "binop": null }, - "start": 1973, - "end": 1974, + "start": 1886, + "end": 1887, "loc": { "start": { - "line": 104, + "line": 105, "column": 25 }, "end": { - "line": 104, + "line": 105, "column": 26 } } @@ -19333,16 +19501,16 @@ "binop": null, "updateContext": null }, - "start": 1975, - "end": 1976, + "start": 1887, + "end": 1888, "loc": { "start": { - "line": 104, - "column": 27 + "line": 105, + "column": 26 }, "end": { - "line": 104, - "column": 28 + "line": 105, + "column": 27 } } }, @@ -19358,15 +19526,15 @@ "postfix": false, "binop": null }, - "start": 1977, - "end": 1978, + "start": 1889, + "end": 1890, "loc": { "start": { - "line": 105, + "line": 106, "column": 0 }, "end": { - "line": 105, + "line": 106, "column": 1 } } @@ -19386,15 +19554,15 @@ "updateContext": null }, "value": "export", - "start": 1980, - "end": 1986, + "start": 1892, + "end": 1898, "loc": { "start": { - "line": 107, + "line": 108, "column": 0 }, "end": { - "line": 107, + "line": 108, "column": 6 } } @@ -19413,15 +19581,15 @@ "binop": null }, "value": "function", - "start": 1987, - "end": 1995, + "start": 1899, + "end": 1907, "loc": { "start": { - "line": 107, + "line": 108, "column": 7 }, "end": { - "line": 107, + "line": 108, "column": 15 } } @@ -19439,15 +19607,15 @@ "binop": null }, "value": "ipown", - "start": 1996, - "end": 2001, + "start": 1908, + "end": 1913, "loc": { "start": { - "line": 107, + "line": 108, "column": 16 }, "end": { - "line": 107, + "line": 108, "column": 21 } } @@ -19464,16 +19632,16 @@ "postfix": false, "binop": null }, - "start": 2002, - "end": 2003, + "start": 1913, + "end": 1914, "loc": { "start": { - "line": 107, - "column": 22 + "line": 108, + "column": 21 }, "end": { - "line": 107, - "column": 23 + "line": 108, + "column": 22 } } }, @@ -19490,16 +19658,16 @@ "binop": null }, "value": "first", - "start": 2004, - "end": 2009, + "start": 1914, + "end": 1919, "loc": { "start": { - "line": 107, - "column": 24 + "line": 108, + "column": 22 }, "end": { - "line": 107, - "column": 29 + "line": 108, + "column": 27 } } }, @@ -19516,16 +19684,16 @@ "binop": null, "updateContext": null }, - "start": 2010, - "end": 2011, + "start": 1919, + "end": 1920, "loc": { "start": { - "line": 107, - "column": 30 + "line": 108, + "column": 27 }, "end": { - "line": 107, - "column": 31 + "line": 108, + "column": 28 } } }, @@ -19542,16 +19710,16 @@ "binop": null }, "value": "second", - "start": 2012, - "end": 2018, + "start": 1921, + "end": 1927, "loc": { "start": { - "line": 107, - "column": 32 + "line": 108, + "column": 29 }, "end": { - "line": 107, - "column": 38 + "line": 108, + "column": 35 } } }, @@ -19567,16 +19735,16 @@ "postfix": false, "binop": null }, - "start": 2019, - "end": 2020, + "start": 1927, + "end": 1928, "loc": { "start": { - "line": 107, - "column": 39 + "line": 108, + "column": 35 }, "end": { - "line": 107, - "column": 40 + "line": 108, + "column": 36 } } }, @@ -19592,16 +19760,16 @@ "postfix": false, "binop": null }, - "start": 2021, - "end": 2022, + "start": 1929, + "end": 1930, "loc": { "start": { - "line": 107, - "column": 41 + "line": 108, + "column": 37 }, "end": { - "line": 107, - "column": 42 + "line": 108, + "column": 38 } } }, @@ -19620,15 +19788,15 @@ "updateContext": null }, "value": "return", - "start": 2024, - "end": 2030, + "start": 1932, + "end": 1938, "loc": { "start": { - "line": 108, + "line": 109, "column": 1 }, "end": { - "line": 108, + "line": 109, "column": 7 } } @@ -19646,15 +19814,15 @@ "binop": null }, "value": "first", - "start": 2031, - "end": 2036, + "start": 1939, + "end": 1944, "loc": { "start": { - "line": 108, + "line": 109, "column": 8 }, "end": { - "line": 108, + "line": 109, "column": 13 } } @@ -19672,15 +19840,15 @@ "binop": null, "updateContext": null }, - "start": 2036, - "end": 2037, + "start": 1944, + "end": 1945, "loc": { "start": { - "line": 108, + "line": 109, "column": 13 }, "end": { - "line": 108, + "line": 109, "column": 14 } } @@ -19698,15 +19866,15 @@ "binop": null }, "value": "ipown", - "start": 2037, - "end": 2042, + "start": 1945, + "end": 1950, "loc": { "start": { - "line": 108, + "line": 109, "column": 14 }, "end": { - "line": 108, + "line": 109, "column": 19 } } @@ -19723,15 +19891,15 @@ "postfix": false, "binop": null }, - "start": 2042, - "end": 2043, + "start": 1950, + "end": 1951, "loc": { "start": { - "line": 108, + "line": 109, "column": 19 }, "end": { - "line": 108, + "line": 109, "column": 20 } } @@ -19749,15 +19917,15 @@ "binop": null }, "value": "second", - "start": 2043, - "end": 2049, + "start": 1951, + "end": 1957, "loc": { "start": { - "line": 108, + "line": 109, "column": 20 }, "end": { - "line": 108, + "line": 109, "column": 26 } } @@ -19774,15 +19942,15 @@ "postfix": false, "binop": null }, - "start": 2049, - "end": 2050, + "start": 1957, + "end": 1958, "loc": { "start": { - "line": 108, + "line": 109, "column": 26 }, "end": { - "line": 108, + "line": 109, "column": 27 } } @@ -19800,16 +19968,16 @@ "binop": null, "updateContext": null }, - "start": 2051, - "end": 2052, + "start": 1958, + "end": 1959, "loc": { "start": { - "line": 108, - "column": 28 + "line": 109, + "column": 27 }, "end": { - "line": 108, - "column": 29 + "line": 109, + "column": 28 } } }, @@ -19825,15 +19993,15 @@ "postfix": false, "binop": null }, - "start": 2053, - "end": 2054, + "start": 1960, + "end": 1961, "loc": { "start": { - "line": 109, + "line": 110, "column": 0 }, "end": { - "line": 109, + "line": 110, "column": 1 } } @@ -19853,15 +20021,15 @@ "updateContext": null }, "value": "export", - "start": 2056, - "end": 2062, + "start": 1963, + "end": 1969, "loc": { "start": { - "line": 111, + "line": 112, "column": 0 }, "end": { - "line": 111, + "line": 112, "column": 6 } } @@ -19880,15 +20048,15 @@ "binop": null }, "value": "function", - "start": 2063, - "end": 2071, + "start": 1970, + "end": 1978, "loc": { "start": { - "line": 111, + "line": 112, "column": 7 }, "end": { - "line": 111, + "line": 112, "column": 15 } } @@ -19906,15 +20074,15 @@ "binop": null }, "value": "divn", - "start": 2072, - "end": 2076, + "start": 1979, + "end": 1983, "loc": { "start": { - "line": 111, + "line": 112, "column": 16 }, "end": { - "line": 111, + "line": 112, "column": 20 } } @@ -19931,16 +20099,16 @@ "postfix": false, "binop": null }, - "start": 2077, - "end": 2078, + "start": 1983, + "end": 1984, "loc": { "start": { - "line": 111, - "column": 21 + "line": 112, + "column": 20 }, "end": { - "line": 111, - "column": 22 + "line": 112, + "column": 21 } } }, @@ -19957,16 +20125,16 @@ "binop": null }, "value": "first", - "start": 2079, - "end": 2084, + "start": 1984, + "end": 1989, "loc": { "start": { - "line": 111, - "column": 23 + "line": 112, + "column": 21 }, "end": { - "line": 111, - "column": 28 + "line": 112, + "column": 26 } } }, @@ -19983,16 +20151,16 @@ "binop": null, "updateContext": null }, - "start": 2085, - "end": 2086, + "start": 1989, + "end": 1990, "loc": { "start": { - "line": 111, - "column": 29 + "line": 112, + "column": 26 }, "end": { - "line": 111, - "column": 30 + "line": 112, + "column": 27 } } }, @@ -20009,16 +20177,16 @@ "binop": null }, "value": "second", - "start": 2087, - "end": 2093, + "start": 1991, + "end": 1997, "loc": { "start": { - "line": 111, - "column": 31 + "line": 112, + "column": 28 }, "end": { - "line": 111, - "column": 37 + "line": 112, + "column": 34 } } }, @@ -20034,16 +20202,16 @@ "postfix": false, "binop": null }, - "start": 2094, - "end": 2095, + "start": 1997, + "end": 1998, "loc": { "start": { - "line": 111, - "column": 38 + "line": 112, + "column": 34 }, "end": { - "line": 111, - "column": 39 + "line": 112, + "column": 35 } } }, @@ -20059,16 +20227,16 @@ "postfix": false, "binop": null }, - "start": 2096, - "end": 2097, + "start": 1999, + "end": 2000, "loc": { "start": { - "line": 111, - "column": 40 + "line": 112, + "column": 36 }, "end": { - "line": 111, - "column": 41 + "line": 112, + "column": 37 } } }, @@ -20087,15 +20255,15 @@ "updateContext": null }, "value": "return", - "start": 2099, - "end": 2105, + "start": 2002, + "end": 2008, "loc": { "start": { - "line": 112, + "line": 113, "column": 1 }, "end": { - "line": 112, + "line": 113, "column": 7 } } @@ -20113,15 +20281,15 @@ "binop": null }, "value": "first", - "start": 2106, - "end": 2111, + "start": 2009, + "end": 2014, "loc": { "start": { - "line": 112, + "line": 113, "column": 8 }, "end": { - "line": 112, + "line": 113, "column": 13 } } @@ -20139,15 +20307,15 @@ "binop": null, "updateContext": null }, - "start": 2111, - "end": 2112, + "start": 2014, + "end": 2015, "loc": { "start": { - "line": 112, + "line": 113, "column": 13 }, "end": { - "line": 112, + "line": 113, "column": 14 } } @@ -20165,15 +20333,15 @@ "binop": null }, "value": "divn", - "start": 2112, - "end": 2116, + "start": 2015, + "end": 2019, "loc": { "start": { - "line": 112, + "line": 113, "column": 14 }, "end": { - "line": 112, + "line": 113, "column": 18 } } @@ -20190,15 +20358,15 @@ "postfix": false, "binop": null }, - "start": 2116, - "end": 2117, + "start": 2019, + "end": 2020, "loc": { "start": { - "line": 112, + "line": 113, "column": 18 }, "end": { - "line": 112, + "line": 113, "column": 19 } } @@ -20216,15 +20384,15 @@ "binop": null }, "value": "second", - "start": 2117, - "end": 2123, + "start": 2020, + "end": 2026, "loc": { "start": { - "line": 112, + "line": 113, "column": 19 }, "end": { - "line": 112, + "line": 113, "column": 25 } } @@ -20241,15 +20409,15 @@ "postfix": false, "binop": null }, - "start": 2123, - "end": 2124, + "start": 2026, + "end": 2027, "loc": { "start": { - "line": 112, + "line": 113, "column": 25 }, "end": { - "line": 112, + "line": 113, "column": 26 } } @@ -20267,16 +20435,16 @@ "binop": null, "updateContext": null }, - "start": 2125, - "end": 2126, + "start": 2027, + "end": 2028, "loc": { "start": { - "line": 112, - "column": 27 + "line": 113, + "column": 26 }, "end": { - "line": 112, - "column": 28 + "line": 113, + "column": 27 } } }, @@ -20292,15 +20460,15 @@ "postfix": false, "binop": null }, - "start": 2127, - "end": 2128, + "start": 2029, + "end": 2030, "loc": { "start": { - "line": 113, + "line": 114, "column": 0 }, "end": { - "line": 113, + "line": 114, "column": 1 } } @@ -20320,15 +20488,15 @@ "updateContext": null }, "value": "export", - "start": 2130, - "end": 2136, + "start": 2032, + "end": 2038, "loc": { "start": { - "line": 115, + "line": 116, "column": 0 }, "end": { - "line": 115, + "line": 116, "column": 6 } } @@ -20347,15 +20515,15 @@ "binop": null }, "value": "function", - "start": 2137, - "end": 2145, + "start": 2039, + "end": 2047, "loc": { "start": { - "line": 115, + "line": 116, "column": 7 }, "end": { - "line": 115, + "line": 116, "column": 15 } } @@ -20373,15 +20541,15 @@ "binop": null }, "value": "idivn", - "start": 2146, - "end": 2151, + "start": 2048, + "end": 2053, "loc": { "start": { - "line": 115, + "line": 116, "column": 16 }, "end": { - "line": 115, + "line": 116, "column": 21 } } @@ -20398,16 +20566,16 @@ "postfix": false, "binop": null }, - "start": 2152, - "end": 2153, + "start": 2053, + "end": 2054, "loc": { "start": { - "line": 115, - "column": 22 + "line": 116, + "column": 21 }, "end": { - "line": 115, - "column": 23 + "line": 116, + "column": 22 } } }, @@ -20424,16 +20592,16 @@ "binop": null }, "value": "first", - "start": 2154, - "end": 2159, + "start": 2054, + "end": 2059, "loc": { "start": { - "line": 115, - "column": 24 + "line": 116, + "column": 22 }, "end": { - "line": 115, - "column": 29 + "line": 116, + "column": 27 } } }, @@ -20450,16 +20618,16 @@ "binop": null, "updateContext": null }, - "start": 2160, - "end": 2161, + "start": 2059, + "end": 2060, "loc": { "start": { - "line": 115, - "column": 30 + "line": 116, + "column": 27 }, "end": { - "line": 115, - "column": 31 + "line": 116, + "column": 28 } } }, @@ -20476,16 +20644,16 @@ "binop": null }, "value": "second", - "start": 2162, - "end": 2168, + "start": 2061, + "end": 2067, "loc": { "start": { - "line": 115, - "column": 32 + "line": 116, + "column": 29 }, "end": { - "line": 115, - "column": 38 + "line": 116, + "column": 35 } } }, @@ -20501,16 +20669,16 @@ "postfix": false, "binop": null }, - "start": 2169, - "end": 2170, + "start": 2067, + "end": 2068, "loc": { "start": { - "line": 115, - "column": 39 + "line": 116, + "column": 35 }, "end": { - "line": 115, - "column": 40 + "line": 116, + "column": 36 } } }, @@ -20526,16 +20694,16 @@ "postfix": false, "binop": null }, - "start": 2171, - "end": 2172, + "start": 2069, + "end": 2070, "loc": { "start": { - "line": 115, - "column": 41 + "line": 116, + "column": 37 }, "end": { - "line": 115, - "column": 42 + "line": 116, + "column": 38 } } }, @@ -20554,15 +20722,15 @@ "updateContext": null }, "value": "return", - "start": 2174, - "end": 2180, + "start": 2072, + "end": 2078, "loc": { "start": { - "line": 116, + "line": 117, "column": 1 }, "end": { - "line": 116, + "line": 117, "column": 7 } } @@ -20580,15 +20748,15 @@ "binop": null }, "value": "first", - "start": 2181, - "end": 2186, + "start": 2079, + "end": 2084, "loc": { "start": { - "line": 116, + "line": 117, "column": 8 }, "end": { - "line": 116, + "line": 117, "column": 13 } } @@ -20606,15 +20774,15 @@ "binop": null, "updateContext": null }, - "start": 2186, - "end": 2187, + "start": 2084, + "end": 2085, "loc": { "start": { - "line": 116, + "line": 117, "column": 13 }, "end": { - "line": 116, + "line": 117, "column": 14 } } @@ -20632,15 +20800,15 @@ "binop": null }, "value": "idivn", - "start": 2187, - "end": 2192, + "start": 2085, + "end": 2090, "loc": { "start": { - "line": 116, + "line": 117, "column": 14 }, "end": { - "line": 116, + "line": 117, "column": 19 } } @@ -20657,15 +20825,15 @@ "postfix": false, "binop": null }, - "start": 2192, - "end": 2193, + "start": 2090, + "end": 2091, "loc": { "start": { - "line": 116, + "line": 117, "column": 19 }, "end": { - "line": 116, + "line": 117, "column": 20 } } @@ -20683,15 +20851,15 @@ "binop": null }, "value": "second", - "start": 2193, - "end": 2199, + "start": 2091, + "end": 2097, "loc": { "start": { - "line": 116, + "line": 117, "column": 20 }, "end": { - "line": 116, + "line": 117, "column": 26 } } @@ -20708,15 +20876,15 @@ "postfix": false, "binop": null }, - "start": 2199, - "end": 2200, + "start": 2097, + "end": 2098, "loc": { "start": { - "line": 116, + "line": 117, "column": 26 }, "end": { - "line": 116, + "line": 117, "column": 27 } } @@ -20734,16 +20902,16 @@ "binop": null, "updateContext": null }, - "start": 2201, - "end": 2202, + "start": 2098, + "end": 2099, "loc": { "start": { - "line": 116, - "column": 28 + "line": 117, + "column": 27 }, "end": { - "line": 116, - "column": 29 + "line": 117, + "column": 28 } } }, @@ -20759,15 +20927,15 @@ "postfix": false, "binop": null }, - "start": 2203, - "end": 2204, + "start": 2100, + "end": 2101, "loc": { "start": { - "line": 117, + "line": 118, "column": 0 }, "end": { - "line": 117, + "line": 118, "column": 1 } } @@ -20787,15 +20955,15 @@ "updateContext": null }, "value": "export", - "start": 2206, - "end": 2212, + "start": 2103, + "end": 2109, "loc": { "start": { - "line": 119, + "line": 120, "column": 0 }, "end": { - "line": 119, + "line": 120, "column": 6 } } @@ -20814,15 +20982,15 @@ "binop": null }, "value": "function", - "start": 2213, - "end": 2221, + "start": 2110, + "end": 2118, "loc": { "start": { - "line": 119, + "line": 120, "column": 7 }, "end": { - "line": 119, + "line": 120, "column": 15 } } @@ -20840,15 +21008,15 @@ "binop": null }, "value": "modn", - "start": 2222, - "end": 2226, + "start": 2119, + "end": 2123, "loc": { "start": { - "line": 119, + "line": 120, "column": 16 }, "end": { - "line": 119, + "line": 120, "column": 20 } } @@ -20865,16 +21033,16 @@ "postfix": false, "binop": null }, - "start": 2227, - "end": 2228, + "start": 2123, + "end": 2124, "loc": { "start": { - "line": 119, - "column": 21 + "line": 120, + "column": 20 }, "end": { - "line": 119, - "column": 22 + "line": 120, + "column": 21 } } }, @@ -20891,16 +21059,16 @@ "binop": null }, "value": "first", - "start": 2229, - "end": 2234, + "start": 2124, + "end": 2129, "loc": { "start": { - "line": 119, - "column": 23 + "line": 120, + "column": 21 }, "end": { - "line": 119, - "column": 28 + "line": 120, + "column": 26 } } }, @@ -20917,16 +21085,16 @@ "binop": null, "updateContext": null }, - "start": 2235, - "end": 2236, + "start": 2129, + "end": 2130, "loc": { "start": { - "line": 119, - "column": 29 + "line": 120, + "column": 26 }, "end": { - "line": 119, - "column": 30 + "line": 120, + "column": 27 } } }, @@ -20943,16 +21111,16 @@ "binop": null }, "value": "second", - "start": 2237, - "end": 2243, + "start": 2131, + "end": 2137, "loc": { "start": { - "line": 119, - "column": 31 + "line": 120, + "column": 28 }, "end": { - "line": 119, - "column": 37 + "line": 120, + "column": 34 } } }, @@ -20968,16 +21136,16 @@ "postfix": false, "binop": null }, - "start": 2244, - "end": 2245, + "start": 2137, + "end": 2138, "loc": { "start": { - "line": 119, - "column": 38 + "line": 120, + "column": 34 }, "end": { - "line": 119, - "column": 39 + "line": 120, + "column": 35 } } }, @@ -20993,16 +21161,16 @@ "postfix": false, "binop": null }, - "start": 2246, - "end": 2247, + "start": 2139, + "end": 2140, "loc": { "start": { - "line": 119, - "column": 40 + "line": 120, + "column": 36 }, "end": { - "line": 119, - "column": 41 + "line": 120, + "column": 37 } } }, @@ -21021,15 +21189,15 @@ "updateContext": null }, "value": "return", - "start": 2249, - "end": 2255, + "start": 2142, + "end": 2148, "loc": { "start": { - "line": 120, + "line": 121, "column": 1 }, "end": { - "line": 120, + "line": 121, "column": 7 } } @@ -21047,15 +21215,15 @@ "binop": null }, "value": "first", - "start": 2256, - "end": 2261, + "start": 2149, + "end": 2154, "loc": { "start": { - "line": 120, + "line": 121, "column": 8 }, "end": { - "line": 120, + "line": 121, "column": 13 } } @@ -21073,15 +21241,15 @@ "binop": null, "updateContext": null }, - "start": 2261, - "end": 2262, + "start": 2154, + "end": 2155, "loc": { "start": { - "line": 120, + "line": 121, "column": 13 }, "end": { - "line": 120, + "line": 121, "column": 14 } } @@ -21099,15 +21267,15 @@ "binop": null }, "value": "modn", - "start": 2262, - "end": 2266, + "start": 2155, + "end": 2159, "loc": { "start": { - "line": 120, + "line": 121, "column": 14 }, "end": { - "line": 120, + "line": 121, "column": 18 } } @@ -21124,15 +21292,15 @@ "postfix": false, "binop": null }, - "start": 2266, - "end": 2267, + "start": 2159, + "end": 2160, "loc": { "start": { - "line": 120, + "line": 121, "column": 18 }, "end": { - "line": 120, + "line": 121, "column": 19 } } @@ -21150,15 +21318,15 @@ "binop": null }, "value": "second", - "start": 2267, - "end": 2273, + "start": 2160, + "end": 2166, "loc": { "start": { - "line": 120, + "line": 121, "column": 19 }, "end": { - "line": 120, + "line": 121, "column": 25 } } @@ -21175,15 +21343,15 @@ "postfix": false, "binop": null }, - "start": 2273, - "end": 2274, + "start": 2166, + "end": 2167, "loc": { "start": { - "line": 120, + "line": 121, "column": 25 }, "end": { - "line": 120, + "line": 121, "column": 26 } } @@ -21201,16 +21369,16 @@ "binop": null, "updateContext": null }, - "start": 2275, - "end": 2276, + "start": 2167, + "end": 2168, "loc": { "start": { - "line": 120, - "column": 27 + "line": 121, + "column": 26 }, "end": { - "line": 120, - "column": 28 + "line": 121, + "column": 27 } } }, @@ -21226,15 +21394,15 @@ "postfix": false, "binop": null }, - "start": 2277, - "end": 2278, + "start": 2169, + "end": 2170, "loc": { "start": { - "line": 121, + "line": 122, "column": 0 }, "end": { - "line": 121, + "line": 122, "column": 1 } } @@ -21254,15 +21422,15 @@ "updateContext": null }, "value": "export", - "start": 2280, - "end": 2286, + "start": 2172, + "end": 2178, "loc": { "start": { - "line": 123, + "line": 124, "column": 0 }, "end": { - "line": 123, + "line": 124, "column": 6 } } @@ -21281,15 +21449,15 @@ "binop": null }, "value": "function", - "start": 2287, - "end": 2295, + "start": 2179, + "end": 2187, "loc": { "start": { - "line": 123, + "line": 124, "column": 7 }, "end": { - "line": 123, + "line": 124, "column": 15 } } @@ -21307,15 +21475,15 @@ "binop": null }, "value": "imodn", - "start": 2296, - "end": 2301, + "start": 2188, + "end": 2193, "loc": { "start": { - "line": 123, + "line": 124, "column": 16 }, "end": { - "line": 123, + "line": 124, "column": 21 } } @@ -21332,16 +21500,16 @@ "postfix": false, "binop": null }, - "start": 2302, - "end": 2303, + "start": 2193, + "end": 2194, "loc": { "start": { - "line": 123, - "column": 22 + "line": 124, + "column": 21 }, "end": { - "line": 123, - "column": 23 + "line": 124, + "column": 22 } } }, @@ -21358,16 +21526,16 @@ "binop": null }, "value": "first", - "start": 2304, - "end": 2309, + "start": 2194, + "end": 2199, "loc": { "start": { - "line": 123, - "column": 24 + "line": 124, + "column": 22 }, "end": { - "line": 123, - "column": 29 + "line": 124, + "column": 27 } } }, @@ -21384,16 +21552,16 @@ "binop": null, "updateContext": null }, - "start": 2310, - "end": 2311, + "start": 2199, + "end": 2200, "loc": { "start": { - "line": 123, - "column": 30 + "line": 124, + "column": 27 }, "end": { - "line": 123, - "column": 31 + "line": 124, + "column": 28 } } }, @@ -21410,16 +21578,16 @@ "binop": null }, "value": "second", - "start": 2312, - "end": 2318, + "start": 2201, + "end": 2207, "loc": { "start": { - "line": 123, - "column": 32 + "line": 124, + "column": 29 }, "end": { - "line": 123, - "column": 38 + "line": 124, + "column": 35 } } }, @@ -21435,16 +21603,16 @@ "postfix": false, "binop": null }, - "start": 2319, - "end": 2320, + "start": 2207, + "end": 2208, "loc": { "start": { - "line": 123, - "column": 39 + "line": 124, + "column": 35 }, "end": { - "line": 123, - "column": 40 + "line": 124, + "column": 36 } } }, @@ -21460,16 +21628,16 @@ "postfix": false, "binop": null }, - "start": 2321, - "end": 2322, + "start": 2209, + "end": 2210, "loc": { "start": { - "line": 123, - "column": 41 + "line": 124, + "column": 37 }, "end": { - "line": 123, - "column": 42 + "line": 124, + "column": 38 } } }, @@ -21488,15 +21656,15 @@ "updateContext": null }, "value": "return", - "start": 2324, - "end": 2330, + "start": 2212, + "end": 2218, "loc": { "start": { - "line": 124, + "line": 125, "column": 1 }, "end": { - "line": 124, + "line": 125, "column": 7 } } @@ -21514,15 +21682,15 @@ "binop": null }, "value": "first", - "start": 2331, - "end": 2336, + "start": 2219, + "end": 2224, "loc": { "start": { - "line": 124, + "line": 125, "column": 8 }, "end": { - "line": 124, + "line": 125, "column": 13 } } @@ -21540,15 +21708,15 @@ "binop": null, "updateContext": null }, - "start": 2336, - "end": 2337, + "start": 2224, + "end": 2225, "loc": { "start": { - "line": 124, + "line": 125, "column": 13 }, "end": { - "line": 124, + "line": 125, "column": 14 } } @@ -21566,15 +21734,15 @@ "binop": null }, "value": "imodn", - "start": 2337, - "end": 2342, + "start": 2225, + "end": 2230, "loc": { "start": { - "line": 124, + "line": 125, "column": 14 }, "end": { - "line": 124, + "line": 125, "column": 19 } } @@ -21591,15 +21759,15 @@ "postfix": false, "binop": null }, - "start": 2342, - "end": 2343, + "start": 2230, + "end": 2231, "loc": { "start": { - "line": 124, + "line": 125, "column": 19 }, "end": { - "line": 124, + "line": 125, "column": 20 } } @@ -21617,15 +21785,15 @@ "binop": null }, "value": "second", - "start": 2343, - "end": 2349, + "start": 2231, + "end": 2237, "loc": { "start": { - "line": 124, + "line": 125, "column": 20 }, "end": { - "line": 124, + "line": 125, "column": 26 } } @@ -21642,15 +21810,15 @@ "postfix": false, "binop": null }, - "start": 2349, - "end": 2350, + "start": 2237, + "end": 2238, "loc": { "start": { - "line": 124, + "line": 125, "column": 26 }, "end": { - "line": 124, + "line": 125, "column": 27 } } @@ -21668,16 +21836,16 @@ "binop": null, "updateContext": null }, - "start": 2351, - "end": 2352, + "start": 2238, + "end": 2239, "loc": { "start": { - "line": 124, - "column": 28 + "line": 125, + "column": 27 }, "end": { - "line": 124, - "column": 29 + "line": 125, + "column": 28 } } }, @@ -21693,15 +21861,15 @@ "postfix": false, "binop": null }, - "start": 2353, - "end": 2354, + "start": 2240, + "end": 2241, "loc": { "start": { - "line": 125, + "line": 126, "column": 0 }, "end": { - "line": 125, + "line": 126, "column": 1 } } @@ -21721,15 +21889,15 @@ "updateContext": null }, "value": "export", - "start": 2356, - "end": 2362, + "start": 2243, + "end": 2249, "loc": { "start": { - "line": 127, + "line": 128, "column": 0 }, "end": { - "line": 127, + "line": 128, "column": 6 } } @@ -21748,15 +21916,15 @@ "binop": null }, "value": "function", - "start": 2363, - "end": 2371, + "start": 2250, + "end": 2258, "loc": { "start": { - "line": 127, + "line": 128, "column": 7 }, "end": { - "line": 127, + "line": 128, "column": 15 } } @@ -21774,15 +21942,15 @@ "binop": null }, "value": "divmodn", - "start": 2372, - "end": 2379, + "start": 2259, + "end": 2266, "loc": { "start": { - "line": 127, + "line": 128, "column": 16 }, "end": { - "line": 127, + "line": 128, "column": 23 } } @@ -21799,16 +21967,16 @@ "postfix": false, "binop": null }, - "start": 2380, - "end": 2381, + "start": 2266, + "end": 2267, "loc": { "start": { - "line": 127, - "column": 24 + "line": 128, + "column": 23 }, "end": { - "line": 127, - "column": 25 + "line": 128, + "column": 24 } } }, @@ -21825,16 +21993,16 @@ "binop": null }, "value": "first", - "start": 2382, - "end": 2387, + "start": 2267, + "end": 2272, "loc": { "start": { - "line": 127, - "column": 26 + "line": 128, + "column": 24 }, "end": { - "line": 127, - "column": 31 + "line": 128, + "column": 29 } } }, @@ -21851,16 +22019,16 @@ "binop": null, "updateContext": null }, - "start": 2388, - "end": 2389, + "start": 2272, + "end": 2273, "loc": { "start": { - "line": 127, - "column": 32 + "line": 128, + "column": 29 }, "end": { - "line": 127, - "column": 33 + "line": 128, + "column": 30 } } }, @@ -21877,16 +22045,16 @@ "binop": null }, "value": "second", - "start": 2390, - "end": 2396, + "start": 2274, + "end": 2280, "loc": { "start": { - "line": 127, - "column": 34 + "line": 128, + "column": 31 }, "end": { - "line": 127, - "column": 40 + "line": 128, + "column": 37 } } }, @@ -21902,16 +22070,16 @@ "postfix": false, "binop": null }, - "start": 2397, - "end": 2398, + "start": 2280, + "end": 2281, "loc": { "start": { - "line": 127, - "column": 41 + "line": 128, + "column": 37 }, "end": { - "line": 127, - "column": 42 + "line": 128, + "column": 38 } } }, @@ -21927,16 +22095,16 @@ "postfix": false, "binop": null }, - "start": 2399, - "end": 2400, + "start": 2282, + "end": 2283, "loc": { "start": { - "line": 127, - "column": 43 + "line": 128, + "column": 39 }, "end": { - "line": 127, - "column": 44 + "line": 128, + "column": 40 } } }, @@ -21955,15 +22123,15 @@ "updateContext": null }, "value": "return", - "start": 2402, - "end": 2408, + "start": 2285, + "end": 2291, "loc": { "start": { - "line": 128, + "line": 129, "column": 1 }, "end": { - "line": 128, + "line": 129, "column": 7 } } @@ -21981,15 +22149,15 @@ "binop": null }, "value": "first", - "start": 2409, - "end": 2414, + "start": 2292, + "end": 2297, "loc": { "start": { - "line": 128, + "line": 129, "column": 8 }, "end": { - "line": 128, + "line": 129, "column": 13 } } @@ -22007,15 +22175,15 @@ "binop": null, "updateContext": null }, - "start": 2414, - "end": 2415, + "start": 2297, + "end": 2298, "loc": { "start": { - "line": 128, + "line": 129, "column": 13 }, "end": { - "line": 128, + "line": 129, "column": 14 } } @@ -22033,15 +22201,15 @@ "binop": null }, "value": "divmodn", - "start": 2415, - "end": 2422, + "start": 2298, + "end": 2305, "loc": { "start": { - "line": 128, + "line": 129, "column": 14 }, "end": { - "line": 128, + "line": 129, "column": 21 } } @@ -22058,15 +22226,15 @@ "postfix": false, "binop": null }, - "start": 2422, - "end": 2423, + "start": 2305, + "end": 2306, "loc": { "start": { - "line": 128, + "line": 129, "column": 21 }, "end": { - "line": 128, + "line": 129, "column": 22 } } @@ -22084,15 +22252,15 @@ "binop": null }, "value": "second", - "start": 2423, - "end": 2429, + "start": 2306, + "end": 2312, "loc": { "start": { - "line": 128, + "line": 129, "column": 22 }, "end": { - "line": 128, + "line": 129, "column": 28 } } @@ -22109,15 +22277,15 @@ "postfix": false, "binop": null }, - "start": 2429, - "end": 2430, + "start": 2312, + "end": 2313, "loc": { "start": { - "line": 128, + "line": 129, "column": 28 }, "end": { - "line": 128, + "line": 129, "column": 29 } } @@ -22135,16 +22303,16 @@ "binop": null, "updateContext": null }, - "start": 2431, - "end": 2432, + "start": 2313, + "end": 2314, "loc": { "start": { - "line": 128, - "column": 30 + "line": 129, + "column": 29 }, "end": { - "line": 128, - "column": 31 + "line": 129, + "column": 30 } } }, @@ -22160,15 +22328,15 @@ "postfix": false, "binop": null }, - "start": 2433, - "end": 2434, + "start": 2315, + "end": 2316, "loc": { "start": { - "line": 129, + "line": 130, "column": 0 }, "end": { - "line": 129, + "line": 130, "column": 1 } } @@ -22188,15 +22356,15 @@ "updateContext": null }, "value": "export", - "start": 2436, - "end": 2442, + "start": 2318, + "end": 2324, "loc": { "start": { - "line": 131, + "line": 132, "column": 0 }, "end": { - "line": 131, + "line": 132, "column": 6 } } @@ -22215,15 +22383,15 @@ "binop": null }, "value": "function", - "start": 2443, - "end": 2451, + "start": 2325, + "end": 2333, "loc": { "start": { - "line": 131, + "line": 132, "column": 7 }, "end": { - "line": 131, + "line": 132, "column": 15 } } @@ -22241,15 +22409,15 @@ "binop": null }, "value": "idivmodn", - "start": 2452, - "end": 2460, + "start": 2334, + "end": 2342, "loc": { "start": { - "line": 131, + "line": 132, "column": 16 }, "end": { - "line": 131, + "line": 132, "column": 24 } } @@ -22266,16 +22434,16 @@ "postfix": false, "binop": null }, - "start": 2461, - "end": 2462, + "start": 2342, + "end": 2343, "loc": { "start": { - "line": 131, - "column": 25 + "line": 132, + "column": 24 }, "end": { - "line": 131, - "column": 26 + "line": 132, + "column": 25 } } }, @@ -22292,16 +22460,16 @@ "binop": null }, "value": "first", - "start": 2463, - "end": 2468, + "start": 2343, + "end": 2348, "loc": { "start": { - "line": 131, - "column": 27 + "line": 132, + "column": 25 }, "end": { - "line": 131, - "column": 32 + "line": 132, + "column": 30 } } }, @@ -22318,16 +22486,16 @@ "binop": null, "updateContext": null }, - "start": 2469, - "end": 2470, + "start": 2348, + "end": 2349, "loc": { "start": { - "line": 131, - "column": 33 + "line": 132, + "column": 30 }, "end": { - "line": 131, - "column": 34 + "line": 132, + "column": 31 } } }, @@ -22344,16 +22512,16 @@ "binop": null }, "value": "second", - "start": 2471, - "end": 2477, + "start": 2350, + "end": 2356, "loc": { "start": { - "line": 131, - "column": 35 + "line": 132, + "column": 32 }, "end": { - "line": 131, - "column": 41 + "line": 132, + "column": 38 } } }, @@ -22369,16 +22537,16 @@ "postfix": false, "binop": null }, - "start": 2478, - "end": 2479, + "start": 2356, + "end": 2357, "loc": { "start": { - "line": 131, - "column": 42 + "line": 132, + "column": 38 }, "end": { - "line": 131, - "column": 43 + "line": 132, + "column": 39 } } }, @@ -22394,16 +22562,16 @@ "postfix": false, "binop": null }, - "start": 2480, - "end": 2481, + "start": 2358, + "end": 2359, "loc": { "start": { - "line": 131, - "column": 44 + "line": 132, + "column": 40 }, "end": { - "line": 131, - "column": 45 + "line": 132, + "column": 41 } } }, @@ -22422,15 +22590,15 @@ "updateContext": null }, "value": "return", - "start": 2483, - "end": 2489, + "start": 2361, + "end": 2367, "loc": { "start": { - "line": 132, + "line": 133, "column": 1 }, "end": { - "line": 132, + "line": 133, "column": 7 } } @@ -22448,15 +22616,15 @@ "binop": null }, "value": "first", - "start": 2490, - "end": 2495, + "start": 2368, + "end": 2373, "loc": { "start": { - "line": 132, + "line": 133, "column": 8 }, "end": { - "line": 132, + "line": 133, "column": 13 } } @@ -22474,15 +22642,15 @@ "binop": null, "updateContext": null }, - "start": 2495, - "end": 2496, + "start": 2373, + "end": 2374, "loc": { "start": { - "line": 132, + "line": 133, "column": 13 }, "end": { - "line": 132, + "line": 133, "column": 14 } } @@ -22500,15 +22668,15 @@ "binop": null }, "value": "idivmodn", - "start": 2496, - "end": 2504, + "start": 2374, + "end": 2382, "loc": { "start": { - "line": 132, + "line": 133, "column": 14 }, "end": { - "line": 132, + "line": 133, "column": 22 } } @@ -22525,15 +22693,15 @@ "postfix": false, "binop": null }, - "start": 2504, - "end": 2505, + "start": 2382, + "end": 2383, "loc": { "start": { - "line": 132, + "line": 133, "column": 22 }, "end": { - "line": 132, + "line": 133, "column": 23 } } @@ -22551,15 +22719,15 @@ "binop": null }, "value": "second", - "start": 2505, - "end": 2511, + "start": 2383, + "end": 2389, "loc": { "start": { - "line": 132, + "line": 133, "column": 23 }, "end": { - "line": 132, + "line": 133, "column": 29 } } @@ -22576,15 +22744,15 @@ "postfix": false, "binop": null }, - "start": 2511, - "end": 2512, + "start": 2389, + "end": 2390, "loc": { "start": { - "line": 132, + "line": 133, "column": 29 }, "end": { - "line": 132, + "line": 133, "column": 30 } } @@ -22602,16 +22770,16 @@ "binop": null, "updateContext": null }, - "start": 2513, - "end": 2514, + "start": 2390, + "end": 2391, "loc": { "start": { - "line": 132, - "column": 31 + "line": 133, + "column": 30 }, "end": { - "line": 132, - "column": 32 + "line": 133, + "column": 31 } } }, @@ -22627,15 +22795,15 @@ "postfix": false, "binop": null }, - "start": 2515, - "end": 2516, + "start": 2392, + "end": 2393, "loc": { "start": { - "line": 133, + "line": 134, "column": 0 }, "end": { - "line": 133, + "line": 134, "column": 1 } } @@ -22653,15 +22821,15 @@ "binop": null, "updateContext": null }, - "start": 2517, - "end": 2517, + "start": 2394, + "end": 2394, "loc": { "start": { - "line": 134, + "line": 135, "column": 0 }, "end": { - "line": 134, + "line": 135, "column": 0 } } diff --git a/class/src/Integer.js~Integer.html b/class/src/Integer.js~Integer.html index 2feee27..ec1c18e 100644 --- a/class/src/Integer.js~Integer.html +++ b/class/src/Integer.js~Integer.html @@ -24,7 +24,7 @@
      - +
      -
      import {Integer} from '@aureooms/js-integer/src/Integer.js'
      +
      import {Integer} from '@aureooms/js-integer/src/Integer.js'
      public class - | source + | source
      @@ -154,12 +154,12 @@

      Integer

      Member Summary

      - + - + +
      Public Members
      Private Members
      - public + private @@ -171,7 +171,7 @@

      Integer

      - base: * + _base: *

      @@ -187,7 +187,7 @@

      Integer

      - public + private @@ -199,7 +199,7 @@

      Integer

      - is_negative: * + _is_negative: *

      @@ -215,7 +215,7 @@

      Integer

      - public + private @@ -227,7 +227,7 @@

      Integer

      - limbs: * + _limbs: *

      @@ -2405,7 +2405,7 @@

      - source + source

      @@ -2437,21 +2437,21 @@

      -

      Public Members

      +

      Private Members

      -

      - public +

      + private - base: * + _base: * - source + source

      @@ -2483,18 +2483,18 @@

      -

      - public +

      + private - is_negative: * + _is_negative: * - source + source

      @@ -2526,18 +2526,18 @@

      -

      - public +

      + private - limbs: * + _limbs: * - source + source

      @@ -2583,7 +2583,7 @@

      - source + source

      @@ -2638,7 +2638,7 @@

      - source + source

      @@ -2709,7 +2709,7 @@

      - source + source

      @@ -2780,7 +2780,7 @@

      - source + source

      @@ -2835,7 +2835,7 @@

      - source + source

      @@ -2890,7 +2890,7 @@

      - source + source

      @@ -2945,7 +2945,7 @@

      - source + source

      @@ -3016,7 +3016,7 @@

      - source + source

      @@ -3087,7 +3087,7 @@

      - source + source

      @@ -3159,7 +3159,7 @@

      - source + source

      @@ -3230,7 +3230,7 @@

      - source + source

      @@ -3301,7 +3301,7 @@

      - source + source

      @@ -3372,7 +3372,7 @@

      - source + source

      @@ -3443,7 +3443,7 @@

      - source + source

      @@ -3514,7 +3514,7 @@

      - source + source

      @@ -3585,7 +3585,7 @@

      - source + source

      @@ -3656,7 +3656,7 @@

      - source + source

      @@ -3727,7 +3727,7 @@

      - source + source

      @@ -3798,7 +3798,7 @@

      - source + source

      @@ -3869,7 +3869,7 @@

      - source + source

      @@ -3940,7 +3940,7 @@

      - source + source

      @@ -4011,7 +4011,7 @@

      - source + source

      @@ -4082,7 +4082,7 @@

      - source + source

      @@ -4153,7 +4153,7 @@

      - source + source

      @@ -4224,7 +4224,7 @@

      - source + source

      @@ -4279,7 +4279,7 @@

      - source + source

      @@ -4334,7 +4334,7 @@

      - source + source

      @@ -4405,7 +4405,7 @@

      - source + source

      @@ -4476,7 +4476,7 @@

      - source + source

      @@ -4547,7 +4547,7 @@

      - source + source

      @@ -4618,7 +4618,7 @@

      - source + source

      @@ -4689,7 +4689,7 @@

      - source + source

      @@ -4760,7 +4760,7 @@

      - source + source

      @@ -4831,7 +4831,7 @@

      - source + source

      @@ -4902,7 +4902,7 @@

      - source + source

      @@ -4973,7 +4973,7 @@

      - source + source

      @@ -5044,7 +5044,7 @@

      - source + source

      @@ -5115,7 +5115,7 @@

      - source + source

      @@ -5186,7 +5186,7 @@

      - source + source

      @@ -5241,7 +5241,7 @@

      - source + source

      @@ -5296,7 +5296,7 @@

      - source + source

      @@ -5351,7 +5351,7 @@

      - source + source

      @@ -5406,7 +5406,7 @@

      - source + source

      @@ -5461,7 +5461,7 @@

      - source + source

      @@ -5516,7 +5516,7 @@

      - source + source

      @@ -5571,7 +5571,7 @@

      - source + source

      @@ -5626,7 +5626,7 @@

      - source + source

      @@ -5681,7 +5681,7 @@

      - source + source

      @@ -5752,7 +5752,7 @@

      - source + source

      @@ -5823,7 +5823,7 @@

      - source + source

      @@ -5878,7 +5878,7 @@

      - source + source

      @@ -5949,7 +5949,7 @@

      - source + source

      @@ -6020,7 +6020,7 @@

      - source + source

      @@ -6091,7 +6091,7 @@

      - source + source

      @@ -6162,7 +6162,7 @@

      - source + source

      @@ -6233,7 +6233,7 @@

      - source + source

      @@ -6304,7 +6304,7 @@

      - source + source

      @@ -6375,7 +6375,7 @@

      - source + source

      @@ -6446,7 +6446,7 @@

      - source + source

      @@ -6517,7 +6517,7 @@

      - source + source

      @@ -6588,7 +6588,7 @@

      - source + source

      @@ -6643,7 +6643,7 @@

      - source + source

      @@ -6714,7 +6714,7 @@

      - source + source

      @@ -6769,7 +6769,7 @@

      - source + source

      @@ -6824,7 +6824,7 @@

      - source + source

      @@ -6879,7 +6879,7 @@

      - source + source

      @@ -6950,7 +6950,7 @@

      - source + source

      @@ -7025,7 +7025,7 @@

      - source + source

      @@ -7080,7 +7080,7 @@

      - source + source

      @@ -7135,7 +7135,7 @@

      - source + source

      @@ -7206,7 +7206,7 @@

      - source + source

      @@ -7277,7 +7277,7 @@

      - source + source

      @@ -7332,7 +7332,7 @@

      - source + source

      @@ -7387,7 +7387,7 @@

      - source + source

      @@ -7459,7 +7459,7 @@

      - source + source

      @@ -7516,7 +7516,7 @@

      - source + source

      diff --git a/class/src/IntegerRing.js~IntegerRing.html b/class/src/IntegerRing.js~IntegerRing.html index fdc4a48..dadee76 100644 --- a/class/src/IntegerRing.js~IntegerRing.html +++ b/class/src/IntegerRing.js~IntegerRing.html @@ -24,7 +24,7 @@
        - +
        -
        import {IntegerRing} from '@aureooms/js-integer/src/IntegerRing.js'
        +
        import {IntegerRing} from '@aureooms/js-integer/src/IntegerRing.js'
        public class - | source + | source
        @@ -175,7 +175,7 @@

        IntegerRing

        - base: * + name: *

        @@ -189,9 +189,15 @@

        IntegerRing

        + + + + + - + @@ -106,7 +106,7 @@ - + @@ -114,7 +114,7 @@ - + @@ -122,7 +122,7 @@ - + @@ -130,7 +130,7 @@ - + @@ -138,7 +138,7 @@ - + @@ -146,7 +146,7 @@ - + @@ -157,7 +157,7 @@ - + @@ -165,7 +165,7 @@ - + @@ -205,7 +205,7 @@ - +
        Private Members
        - public + private @@ -203,7 +209,7 @@

        IntegerRing

        - name: * + _base: *

        @@ -617,18 +623,18 @@

        Public Members

        -

        +

        public - base: * + name: * - source + source

        @@ -659,19 +665,21 @@

        +

        Private Members

        +
        -

        - public +

        + private - name: * + _base: * - source + source

        @@ -717,7 +725,7 @@

        - source + source

        @@ -772,7 +780,7 @@

        - source + source

        @@ -827,7 +835,7 @@

        - source + source

        @@ -1022,7 +1030,7 @@

        - source + source

        @@ -1105,7 +1113,7 @@

        - source + source

        @@ -1183,7 +1191,7 @@

        - source + source

        @@ -1268,7 +1276,7 @@

        - source + source

        @@ -1339,7 +1347,7 @@

        - source + source

        @@ -1416,7 +1424,7 @@

        - source + source

        @@ -1493,7 +1501,7 @@

        - source + source

        diff --git a/class/src/ZeroDivisionError.js~ZeroDivisionError.html b/class/src/ZeroDivisionError.js~ZeroDivisionError.html index 72a0721..39946a2 100644 --- a/class/src/ZeroDivisionError.js~ZeroDivisionError.html +++ b/class/src/ZeroDivisionError.js~ZeroDivisionError.html @@ -24,7 +24,7 @@
          - +
          -
          import {ZeroDivisionError} from '@aureooms/js-integer/src/ZeroDivisionError.js'
          +
          import {ZeroDivisionError} from '@aureooms/js-integer/src/ZeroDivisionError.js'
          public class - | source + | source
          @@ -118,41 +118,7 @@

          ZeroDivisionError

          -

          Constructor Summary

          - - - - - - - - - -
          Public Constructor
          - public - - - - - -
          -

          - - - - constructor() -

          -
          -
          - - - -
          -
          - - -
          -
          +

          Method Summary

          @@ -194,52 +160,7 @@

          ZeroDivisionError

          -

          Public Constructors

          - -
          -

          - public - - - - - - constructor() - - - - source - -

          - - - - - - - - -
          -
          - - - - - - - - - - - - - - - - -
          -

          Public Methods

          @@ -255,7 +176,7 @@

          - source + source

          diff --git a/coverage.json b/coverage.json index 9a35183..c46b6a6 100644 --- a/coverage.json +++ b/coverage.json @@ -1,6 +1,6 @@ { - "coverage": "0.7%", - "expectCount": 141, + "coverage": "0.71%", + "expectCount": 140, "actualCount": 1, "files": { "src/DEFAULT_DISPLAY_BASE.js": { @@ -21,124 +21,123 @@ "expectCount": 81, "actualCount": 1, "undocumentLines": [ - 18, - 20, - 21, - 22, - 23, - 26, + 30, + 31, + 32, 33, + 34, 37, - 43, - 53, - 82, - 87, - 92, - 97, - 147, - 152, - 156, - 160, - 177, - 182, - 186, - 210, + 44, + 48, + 55, + 69, + 90, + 95, + 100, + 105, + 141, + 146, + 150, + 154, + 169, + 174, + 178, + 200, + 204, + 209, 214, - 219, - 224, + 220, + 226, 230, - 236, - 240, - 244, - 249, - 253, - 257, - 261, - 266, - 270, - 276, - 333, + 234, + 239, + 243, + 247, + 251, + 256, + 260, + 267, + 315, + 321, + 325, + 330, + 334, 339, 343, - 348, - 352, - 357, - 361, - 365, - 369, - 373, - 378, - 382, + 347, + 351, + 355, + 360, + 364, + 368, + 372, + 376, + 380, 386, 390, 394, 398, - 404, - 408, - 412, - 416, - 420, - 424, - 428, - 434, - 438, - 442, - 448, - 469, - 473, - 477, - 481, - 485, - 489, - 493, - 497, - 501, - 505, - 509, - 513, + 402, + 406, + 410, + 422, + 426, + 430, + 435, + 455, + 459, + 463, + 467, + 471, + 475, + 479, + 483, + 487, + 491, + 495, + 499, + 503, + 507, 517, - 521, - 531, - 555, - 571 + 566, + 592 ] }, "src/IntegerRing.js": { "expectCount": 16, "actualCount": 0, "undocumentLines": [ - 7, + 8, 9, 10, 11, 14, 18, - 51, - 61, - 77, - 85, + 62, + 70, 89, - 94, - 98, - 102, - 107, - 111 + 101, + 105, + 110, + 114, + 118, + 123, + 127 ] }, "src/ZZ.js": { "expectCount": 1, "actualCount": 0, "undocumentLines": [ - 7 + 4 ] }, "src/ZeroDivisionError.js": { - "expectCount": 3, + "expectCount": 2, "actualCount": 0, "undocumentLines": [ - 2, - 4, - 8 + 1, + 2 ] }, "src/_from_number.js": { @@ -152,49 +151,49 @@ "expectCount": 4, "actualCount": 0, "undocumentLines": [ + 1, 2, 3, - 4, - 5 + 4 ] }, "src/integer.js": { "expectCount": 33, "actualCount": 0, "undocumentLines": [ - 3, - 7, - 11, - 15, - 19, - 23, - 27, - 31, - 35, - 39, - 43, - 47, - 51, - 55, - 59, - 63, - 67, - 71, - 75, - 79, - 83, - 87, - 91, - 95, - 99, - 103, - 107, - 111, - 115, - 119, - 123, - 127, - 131 + 4, + 8, + 12, + 16, + 20, + 24, + 28, + 32, + 36, + 40, + 44, + 48, + 52, + 56, + 60, + 64, + 68, + 72, + 76, + 80, + 84, + 88, + 92, + 96, + 100, + 104, + 108, + 112, + 116, + 120, + 124, + 128, + 132 ] } } diff --git a/dump.json b/dump.json deleted file mode 100644 index 323be12..0000000 --- a/dump.json +++ /dev/null @@ -1,1691 +0,0 @@ -[ - { - "__docId__": 0, - "kind": "file", - "name": "src/DEFAULT_DISPLAY_BASE.js", - "content": "export const DEFAULT_DISPLAY_BASE = 10 ;\n", - "static": true, - "longname": "src/DEFAULT_DISPLAY_BASE.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 1, - "kind": "variable", - "name": "DEFAULT_DISPLAY_BASE", - "memberof": "src/DEFAULT_DISPLAY_BASE.js", - "static": true, - "longname": "src/DEFAULT_DISPLAY_BASE.js~DEFAULT_DISPLAY_BASE", - "access": null, - "export": true, - "importPath": "@aureooms/js-integer/src/DEFAULT_DISPLAY_BASE.js", - "importStyle": "{DEFAULT_DISPLAY_BASE}", - "description": null, - "lineNumber": 1, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "number" - ] - } - }, - { - "__docId__": 2, - "kind": "file", - "name": "src/DEFAULT_REPRESENTATION_BASE.js", - "content": "import { DEFAULT_DISPLAY_BASE } from './' ;\n\n/*\n * Biggest power of DEFAULT_DISPLAY_BASE whose square holds in a single double\n * with full precision. For working correctly with multiplication algorithms\n * and for fast base DEFAULT_DISPLAY_BASE printing. On older machines with no\n * native doubles, it might be worth to only use ints.\n */\nexport const DEFAULT_REPRESENTATION_BASE = Math.pow(DEFAULT_DISPLAY_BASE,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(DEFAULT_DISPLAY_BASE))) ;\n", - "static": true, - "longname": "src/DEFAULT_REPRESENTATION_BASE.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 3, - "kind": "variable", - "name": "DEFAULT_REPRESENTATION_BASE", - "memberof": "src/DEFAULT_REPRESENTATION_BASE.js", - "static": true, - "longname": "src/DEFAULT_REPRESENTATION_BASE.js~DEFAULT_REPRESENTATION_BASE", - "access": null, - "export": true, - "importPath": "@aureooms/js-integer/src/DEFAULT_REPRESENTATION_BASE.js", - "importStyle": "{DEFAULT_REPRESENTATION_BASE}", - "description": null, - "lineNumber": 9, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 4, - "kind": "file", - "name": "src/Integer.js", - "content": "\nimport { DEFAULT_DISPLAY_BASE } from './' ;\n\nimport {\n\tstringify , convert ,\n\t_alloc , _copy , _zeros ,\n\t_lt , _jz ,\n\t_add , _sub , _mul , _div,\n} from '@aureooms/js-integer-big-endian' ;\n\nexport class Integer {\n\n\tconstructor ( base , is_negative , limbs ) {\n\t\tthis.base = base ;\n\t\tthis.is_negative = is_negative ;\n\t\tthis.limbs = limbs ;\n\t}\n\n\ttoString ( base = DEFAULT_DISPLAY_BASE ) {\n\n\t\tif ( _jz( this.limbs , 0 , this.limbs.length ) ) return '0' ;\n\n\t\tconst digits = stringify( this.base , base , this.limbs , 0 , this.limbs.length ) ;\n\n\t\treturn this.is_negative ? '-' + digits : digits ;\n\n\t}\n\n\tadd ( other ) {\n\n\t\tif ( this.is_negative !== other.is_negative ) {\n\n\t\t\tif ( other.is_negative ) return this.sub( other.opposite() ) ;\n\n\t\t\telse return other.sub( this.opposite() ) ;\n\n\t\t}\n\n\t\telse {\n\n\t\t\tconst result_is_negative = this.is_negative ;\n\t\t\tconst r = this.base ;\n\n\t\t\tconst a = this.limbs ;\n\n\t\t\tlet b ;\n\n\t\t\tif ( other.base === r ) b = other.limbs ;\n\t\t\telse b = convert( other.base , r , other.limbs , 0 , other.limbs.length ) ;\n\n\t\t\tconst c = _zeros( Math.max( a.length , b.length ) + 1 ) ;\n\n\t\t\t_add( r , a , 0 , a.length , b , 0 , b.length , c , 0 , c.length ) ;\n\n\t\t\treturn new Integer( r , result_is_negative , c ) ;\n\n\t\t}\n\n\t}\n\n\tsub ( other ) {\n\n\t\tif ( this.is_negative !== other.is_negative ) {\n\n\t\t\tif ( other.is_negative ) return this.add( other.opposite() ) ;\n\n\t\t\telse return this.opposite().add( other ).opposite() ;\n\n\t\t}\n\n\t\telse {\n\n\t\t\tconst r = this.base ;\n\t\t\tconst a = this.limbs ;\n\n\t\t\tlet b ;\n\n\t\t\tif ( other.base === r ) b = other.limbs ;\n\t\t\telse b = convert( other.base , r , other.limbs , 0 , other.limbs.length ) ;\n\n\t\t\tconst c = _zeros( Math.max( a.length , b.length ) ) ;\n\n\t\t\tif ( _lt( a , 0 , a.length , b , 0 , b.length ) ) {\n\n\t\t\t\t_sub( r , b , 0 , b.length , a , 0 , a.length , c , 0 , c.length ) ;\n\n\t\t\t\treturn new Integer( r , ~this.is_negative , c ) ;\n\t\t\t}\n\n\t\t\telse {\n\n\t\t\t\t_sub( r , a , 0 , a.length , b , 0 , b.length , c , 0 , c.length ) ;\n\n\t\t\t\treturn new Integer( r , this.is_negative , c ) ;\n\n\t\t\t}\n\n\t\t}\n\n\t}\n\n\tmul ( other ) {\n\n\t\tconst result_is_negative = this.is_negative ^ other.is_negative ;\n\t\tconst r = this.base ;\n\n\t\tconst a = this.limbs ;\n\n\t\tlet b ;\n\n\t\tif ( other.base === r ) b = other.limbs ;\n\t\telse b = convert( other.base , r , other.limbs , 0 , other.limbs.length ) ;\n\n\t\tconst c = _zeros( a.length + b.length ) ;\n\n\t\t_mul( r , a , 0 , a.length , b , 0 , b.length , c , 0 , c.length ) ;\n\n\t\treturn new Integer( r , result_is_negative , c ) ;\n\n\t}\n\n\tpow ( other ) {\n\t\tthrow 'Integer#pow not implemented yet, waiting for @aureooms/js-integer-big-endian.' ;\n\t}\n\n\tdiv ( other ) {\n\t\treturn this.divmod( other )[0] ;\n\t}\n\n\tmod ( other ) {\n\t\treturn this.divmod( other )[1] ;\n\t}\n\n\tdivmod ( other ) {\n\n\t\tconst quotient_is_negative = this.is_negative ^ other.is_negative ;\n\t\tconst r = this.base ;\n\n\t\t// Dividend (& Remainder)\n\t\tconst D = _alloc( this.limbs.length ) ;\n\t\t_copy( this.limbs , 0 , this.limbs.length , D , 0 ) ;\n\n\t\t// Divisor\n\t\tlet d ;\n\t\tif ( other.base === r ) d = other.limbs ;\n\t\telse d = convert( other.base , r , other.limbs , 0 , other.limbs.length ) ;\n\n\t\t// Quotient\n\t\tconst q = _zeros( D.length ) ;\n\n\t\t_div( r , D , 0 , D.length , d , 0 , d.length , q , 0 , q.length ) ;\n\n\t\treturn [\n\t\t\tnew Integer( r , quotient_is_negative , q ) , // quotient\n\t\t\tnew Integer( r , 0 , D ) // remainder\n\t\t] ;\n\n\t}\n\n\topposite ( ) {\n\t\treturn new Integer( this.base , ~this.is_negative , this.limbs ) ;\n\t}\n\n}\n", - "static": true, - "longname": "src/Integer.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 5, - "kind": "class", - "name": "Integer", - "memberof": "src/Integer.js", - "static": true, - "longname": "src/Integer.js~Integer", - "access": null, - "export": true, - "importPath": "@aureooms/js-integer/src/Integer.js", - "importStyle": "{Integer}", - "description": null, - "lineNumber": 11, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "interface": false - }, - { - "__docId__": 6, - "kind": "constructor", - "name": "constructor", - "memberof": "src/Integer.js~Integer", - "generator": false, - "async": false, - "static": false, - "longname": "src/Integer.js~Integer#constructor", - "access": null, - "description": null, - "lineNumber": 13, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "base", - "types": [ - "*" - ] - }, - { - "name": "is_negative", - "types": [ - "*" - ] - }, - { - "name": "limbs", - "types": [ - "*" - ] - } - ] - }, - { - "__docId__": 7, - "kind": "member", - "name": "base", - "memberof": "src/Integer.js~Integer", - "static": false, - "longname": "src/Integer.js~Integer#base", - "access": null, - "description": null, - "lineNumber": 14, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 8, - "kind": "member", - "name": "is_negative", - "memberof": "src/Integer.js~Integer", - "static": false, - "longname": "src/Integer.js~Integer#is_negative", - "access": null, - "description": null, - "lineNumber": 15, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 9, - "kind": "member", - "name": "limbs", - "memberof": "src/Integer.js~Integer", - "static": false, - "longname": "src/Integer.js~Integer#limbs", - "access": null, - "description": null, - "lineNumber": 16, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 10, - "kind": "method", - "name": "toString", - "memberof": "src/Integer.js~Integer", - "generator": false, - "async": false, - "static": false, - "longname": "src/Integer.js~Integer#toString", - "access": null, - "description": null, - "lineNumber": 19, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "base", - "optional": true, - "types": [ - "*" - ], - "defaultRaw": "DEFAULT_DISPLAY_BASE", - "defaultValue": "DEFAULT_DISPLAY_BASE" - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 11, - "kind": "method", - "name": "add", - "memberof": "src/Integer.js~Integer", - "generator": false, - "async": false, - "static": false, - "longname": "src/Integer.js~Integer#add", - "access": null, - "description": null, - "lineNumber": 29, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "other", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 12, - "kind": "method", - "name": "sub", - "memberof": "src/Integer.js~Integer", - "generator": false, - "async": false, - "static": false, - "longname": "src/Integer.js~Integer#sub", - "access": null, - "description": null, - "lineNumber": 61, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "other", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 13, - "kind": "method", - "name": "mul", - "memberof": "src/Integer.js~Integer", - "generator": false, - "async": false, - "static": false, - "longname": "src/Integer.js~Integer#mul", - "access": null, - "description": null, - "lineNumber": 102, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "other", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 14, - "kind": "method", - "name": "pow", - "memberof": "src/Integer.js~Integer", - "generator": false, - "async": false, - "static": false, - "longname": "src/Integer.js~Integer#pow", - "access": null, - "description": null, - "lineNumber": 122, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "other", - "types": [ - "*" - ] - } - ] - }, - { - "__docId__": 15, - "kind": "method", - "name": "div", - "memberof": "src/Integer.js~Integer", - "generator": false, - "async": false, - "static": false, - "longname": "src/Integer.js~Integer#div", - "access": null, - "description": null, - "lineNumber": 126, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "other", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 16, - "kind": "method", - "name": "mod", - "memberof": "src/Integer.js~Integer", - "generator": false, - "async": false, - "static": false, - "longname": "src/Integer.js~Integer#mod", - "access": null, - "description": null, - "lineNumber": 130, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "other", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 17, - "kind": "method", - "name": "divmod", - "memberof": "src/Integer.js~Integer", - "generator": false, - "async": false, - "static": false, - "longname": "src/Integer.js~Integer#divmod", - "access": null, - "description": null, - "lineNumber": 134, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "other", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "undefined[]" - ] - } - }, - { - "__docId__": 18, - "kind": "method", - "name": "opposite", - "memberof": "src/Integer.js~Integer", - "generator": false, - "async": false, - "static": false, - "longname": "src/Integer.js~Integer#opposite", - "access": null, - "description": null, - "lineNumber": 160, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 19, - "kind": "file", - "name": "src/IntegerRing.js", - "content": "import { Integer } from './' ;\nimport { parse } from '@aureooms/js-integer-big-endian' ;\n\nexport class IntegerRing {\n\n\tconstructor ( name , base ) {\n\t\tthis.name = name ;\n\t\tthis.base = base ;\n\t}\n\n\tfrom ( object , base = undefined , is_negative = 0 ) {\n\n\t\tswitch ( typeof object ) {\n\t\t\tcase 'number' :\n\t\t\t\tif ( base !== undefined ) throw 'IntegerRing#from: using the base parameter does not make sense when parsing a JavaScript number.' ;\n\t\t\t\treturn this.from_string( '' + object , 10 , is_negative ) ;\n\t\t\tcase 'string' :\n\t\t\t\tif ( base === undefined ) base = 10 ;\n\t\t\t\treturn this.from_string( object , base , is_negative ) ;\n\t\t\tdefault:\n\t\t\t\tthrow `IntegerRing#from cannot handle ${typeof object}` ;\n\t\t}\n\n\t}\n\n\tfrom_string ( string , base = 10 , is_negative = 0 ) {\n\n\t\tif ( string.length === 0 ) throw 'IntegerRing#from_string cannot parse empty string.' ;\n\n\t\tif ( string[0] === '-' ) return this.from_string( string.slice(1) , base , ~is_negative ) ;\n\n\t\tif ( string[0] === '+' ) return this.from_string( string.slice(1) , base , is_negative ) ;\n\n\t\tconst limbs = parse( base , this.base , string ) ;\n\n\t\treturn new Integer( this.base , is_negative , limbs ) ;\n\n\t}\n\n\ttoString ( ) {\n\t\treturn this.name ;\n\t}\n\n\tstatic add ( first , second ) {\n\t\treturn first.add(second) ;\n\t}\n\n\tstatic sub ( first , second ) {\n\t\treturn first.sub(second) ;\n\t}\n\n\tstatic mul ( first , second ) {\n\t\treturn first.mul(second) ;\n\t}\n\n\tstatic pow ( first , second ) {\n\t\treturn first.pow(second) ;\n\t}\n\n\tstatic div ( first , second ) {\n\t\treturn first.div(second) ;\n\t}\n\n\tstatic mod ( first , second ) {\n\t\treturn first.mod(second) ;\n\t}\n\n}\n", - "static": true, - "longname": "src/IntegerRing.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 20, - "kind": "class", - "name": "IntegerRing", - "memberof": "src/IntegerRing.js", - "static": true, - "longname": "src/IntegerRing.js~IntegerRing", - "access": null, - "export": true, - "importPath": "@aureooms/js-integer/src/IntegerRing.js", - "importStyle": "{IntegerRing}", - "description": null, - "lineNumber": 4, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "interface": false - }, - { - "__docId__": 21, - "kind": "constructor", - "name": "constructor", - "memberof": "src/IntegerRing.js~IntegerRing", - "generator": false, - "async": false, - "static": false, - "longname": "src/IntegerRing.js~IntegerRing#constructor", - "access": null, - "description": null, - "lineNumber": 6, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "name", - "types": [ - "*" - ] - }, - { - "name": "base", - "types": [ - "*" - ] - } - ] - }, - { - "__docId__": 22, - "kind": "member", - "name": "name", - "memberof": "src/IntegerRing.js~IntegerRing", - "static": false, - "longname": "src/IntegerRing.js~IntegerRing#name", - "access": null, - "description": null, - "lineNumber": 7, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 23, - "kind": "member", - "name": "base", - "memberof": "src/IntegerRing.js~IntegerRing", - "static": false, - "longname": "src/IntegerRing.js~IntegerRing#base", - "access": null, - "description": null, - "lineNumber": 8, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 24, - "kind": "method", - "name": "from", - "memberof": "src/IntegerRing.js~IntegerRing", - "generator": false, - "async": false, - "static": false, - "longname": "src/IntegerRing.js~IntegerRing#from", - "access": null, - "description": null, - "lineNumber": 11, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "object", - "types": [ - "*" - ] - }, - { - "name": "base", - "optional": true, - "types": [ - "*" - ], - "defaultRaw": "undefined", - "defaultValue": "undefined" - }, - { - "name": "is_negative", - "optional": true, - "types": [ - "number" - ], - "defaultRaw": 0, - "defaultValue": "0" - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 25, - "kind": "method", - "name": "from_string", - "memberof": "src/IntegerRing.js~IntegerRing", - "generator": false, - "async": false, - "static": false, - "longname": "src/IntegerRing.js~IntegerRing#from_string", - "access": null, - "description": null, - "lineNumber": 26, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "string", - "types": [ - "*" - ] - }, - { - "name": "base", - "optional": true, - "types": [ - "number" - ], - "defaultRaw": 10, - "defaultValue": "10" - }, - { - "name": "is_negative", - "optional": true, - "types": [ - "number" - ], - "defaultRaw": 0, - "defaultValue": "0" - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 26, - "kind": "method", - "name": "toString", - "memberof": "src/IntegerRing.js~IntegerRing", - "generator": false, - "async": false, - "static": false, - "longname": "src/IntegerRing.js~IntegerRing#toString", - "access": null, - "description": null, - "lineNumber": 40, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 27, - "kind": "method", - "name": "add", - "memberof": "src/IntegerRing.js~IntegerRing", - "generator": false, - "async": false, - "static": true, - "longname": "src/IntegerRing.js~IntegerRing.add", - "access": null, - "description": null, - "lineNumber": 44, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "first", - "types": [ - "*" - ] - }, - { - "name": "second", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 28, - "kind": "method", - "name": "sub", - "memberof": "src/IntegerRing.js~IntegerRing", - "generator": false, - "async": false, - "static": true, - "longname": "src/IntegerRing.js~IntegerRing.sub", - "access": null, - "description": null, - "lineNumber": 48, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "first", - "types": [ - "*" - ] - }, - { - "name": "second", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 29, - "kind": "method", - "name": "mul", - "memberof": "src/IntegerRing.js~IntegerRing", - "generator": false, - "async": false, - "static": true, - "longname": "src/IntegerRing.js~IntegerRing.mul", - "access": null, - "description": null, - "lineNumber": 52, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "first", - "types": [ - "*" - ] - }, - { - "name": "second", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 30, - "kind": "method", - "name": "pow", - "memberof": "src/IntegerRing.js~IntegerRing", - "generator": false, - "async": false, - "static": true, - "longname": "src/IntegerRing.js~IntegerRing.pow", - "access": null, - "description": null, - "lineNumber": 56, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "first", - "types": [ - "*" - ] - }, - { - "name": "second", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 31, - "kind": "method", - "name": "div", - "memberof": "src/IntegerRing.js~IntegerRing", - "generator": false, - "async": false, - "static": true, - "longname": "src/IntegerRing.js~IntegerRing.div", - "access": null, - "description": null, - "lineNumber": 60, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "first", - "types": [ - "*" - ] - }, - { - "name": "second", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 32, - "kind": "method", - "name": "mod", - "memberof": "src/IntegerRing.js~IntegerRing", - "generator": false, - "async": false, - "static": true, - "longname": "src/IntegerRing.js~IntegerRing.mod", - "access": null, - "description": null, - "lineNumber": 64, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "first", - "types": [ - "*" - ] - }, - { - "name": "second", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 33, - "kind": "file", - "name": "src/ZZ.js", - "content": "\nimport {\n\tDEFAULT_REPRESENTATION_BASE ,\n\tIntegerRing ,\n} from './' ;\n\nexport const ZZ = new IntegerRing( 'ZZ' , DEFAULT_REPRESENTATION_BASE ) ;\n", - "static": true, - "longname": "src/ZZ.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 34, - "kind": "variable", - "name": "ZZ", - "memberof": "src/ZZ.js", - "static": true, - "longname": "src/ZZ.js~ZZ", - "access": null, - "export": true, - "importPath": "@aureooms/js-integer/src/ZZ.js", - "importStyle": "{ZZ}", - "description": null, - "lineNumber": 7, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "src/.js~IntegerRing" - ] - } - }, - { - "__docId__": 35, - "kind": "file", - "name": "src/index.js", - "content": "export * from './DEFAULT_DISPLAY_BASE' ;\nexport * from './DEFAULT_REPRESENTATION_BASE' ;\nexport * from './Integer' ;\nexport * from './IntegerRing' ;\nexport * from './ZZ' ;\n", - "static": true, - "longname": "src/index.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 37, - "kind": "external", - "name": "Infinity", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Infinity", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 38, - "kind": "external", - "name": "NaN", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~NaN", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 39, - "kind": "external", - "name": "undefined", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~undefined", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 40, - "kind": "external", - "name": "null", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~null", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 41, - "kind": "external", - "name": "Object", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Object", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 42, - "kind": "external", - "name": "object", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~object", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 43, - "kind": "external", - "name": "Function", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Function", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 44, - "kind": "external", - "name": "function", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~function", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 45, - "kind": "external", - "name": "Boolean", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Boolean", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 46, - "kind": "external", - "name": "boolean", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~boolean", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 47, - "kind": "external", - "name": "Symbol", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Symbol", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 48, - "kind": "external", - "name": "Error", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Error", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 49, - "kind": "external", - "name": "EvalError", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~EvalError", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 50, - "kind": "external", - "name": "InternalError", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~InternalError", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 51, - "kind": "external", - "name": "RangeError", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~RangeError", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 52, - "kind": "external", - "name": "ReferenceError", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~ReferenceError", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 53, - "kind": "external", - "name": "SyntaxError", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~SyntaxError", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 54, - "kind": "external", - "name": "TypeError", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~TypeError", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 55, - "kind": "external", - "name": "URIError", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~URIError", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 56, - "kind": "external", - "name": "Number", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Number", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 57, - "kind": "external", - "name": "number", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~number", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 58, - "kind": "external", - "name": "Date", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Date", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 59, - "kind": "external", - "name": "String", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~String", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 60, - "kind": "external", - "name": "string", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~string", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 61, - "kind": "external", - "name": "RegExp", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~RegExp", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 62, - "kind": "external", - "name": "Array", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Array", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 63, - "kind": "external", - "name": "Int8Array", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Int8Array", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 64, - "kind": "external", - "name": "Uint8Array", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Uint8Array", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 65, - "kind": "external", - "name": "Uint8ClampedArray", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Uint8ClampedArray", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 66, - "kind": "external", - "name": "Int16Array", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Int16Array", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 67, - "kind": "external", - "name": "Uint16Array", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Uint16Array", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 68, - "kind": "external", - "name": "Int32Array", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Int32Array", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 69, - "kind": "external", - "name": "Uint32Array", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Uint32Array", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 70, - "kind": "external", - "name": "Float32Array", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Float32Array", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 71, - "kind": "external", - "name": "Float64Array", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Float64Array", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 72, - "kind": "external", - "name": "Map", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Map", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 73, - "kind": "external", - "name": "Set", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Set", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 74, - "kind": "external", - "name": "WeakMap", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~WeakMap", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 75, - "kind": "external", - "name": "WeakSet", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~WeakSet", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 76, - "kind": "external", - "name": "ArrayBuffer", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~ArrayBuffer", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 77, - "kind": "external", - "name": "DataView", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~DataView", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 78, - "kind": "external", - "name": "JSON", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~JSON", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 79, - "kind": "external", - "name": "Promise", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Promise", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 80, - "kind": "external", - "name": "Generator", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Generator", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 81, - "kind": "external", - "name": "GeneratorFunction", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~GeneratorFunction", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 82, - "kind": "external", - "name": "Reflect", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Reflect", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 83, - "kind": "external", - "name": "Proxy", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Proxy", - "access": null, - "description": "", - "lineNumber": 193, - "builtinExternal": true - }, - { - "__docId__": 85, - "kind": "external", - "name": "CanvasRenderingContext2D", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D", - "memberof": "BuiltinExternal/WebAPIExternal.js", - "static": true, - "longname": "BuiltinExternal/WebAPIExternal.js~CanvasRenderingContext2D", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 86, - "kind": "external", - "name": "DocumentFragment", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment", - "memberof": "BuiltinExternal/WebAPIExternal.js", - "static": true, - "longname": "BuiltinExternal/WebAPIExternal.js~DocumentFragment", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 87, - "kind": "external", - "name": "Element", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Element", - "memberof": "BuiltinExternal/WebAPIExternal.js", - "static": true, - "longname": "BuiltinExternal/WebAPIExternal.js~Element", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 88, - "kind": "external", - "name": "Event", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Event", - "memberof": "BuiltinExternal/WebAPIExternal.js", - "static": true, - "longname": "BuiltinExternal/WebAPIExternal.js~Event", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 89, - "kind": "external", - "name": "Node", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Node", - "memberof": "BuiltinExternal/WebAPIExternal.js", - "static": true, - "longname": "BuiltinExternal/WebAPIExternal.js~Node", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 90, - "kind": "external", - "name": "NodeList", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/NodeList", - "memberof": "BuiltinExternal/WebAPIExternal.js", - "static": true, - "longname": "BuiltinExternal/WebAPIExternal.js~NodeList", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 91, - "kind": "external", - "name": "XMLHttpRequest", - "externalLink": "https://developer.mozilla.org/en/docs/Web/API/XMLHttpRequest", - "memberof": "BuiltinExternal/WebAPIExternal.js", - "static": true, - "longname": "BuiltinExternal/WebAPIExternal.js~XMLHttpRequest", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 92, - "kind": "external", - "name": "AudioContext", - "externalLink": "https://developer.mozilla.org/en/docs/Web/API/AudioContext", - "memberof": "BuiltinExternal/WebAPIExternal.js", - "static": true, - "longname": "BuiltinExternal/WebAPIExternal.js~AudioContext", - "access": null, - "description": "", - "lineNumber": 34, - "builtinExternal": true - } -] \ No newline at end of file diff --git a/file/src/DEFAULT_DISPLAY_BASE.js.html b/file/src/DEFAULT_DISPLAY_BASE.js.html index f172acc..c26b39a 100644 --- a/file/src/DEFAULT_DISPLAY_BASE.js.html +++ b/file/src/DEFAULT_DISPLAY_BASE.js.html @@ -24,7 +24,7 @@
            - +

            src/DEFAULT_DISPLAY_BASE.js

            -
            export const DEFAULT_DISPLAY_BASE = 10 ;
            +
            export const DEFAULT_DISPLAY_BASE = 10;
             
            diff --git a/file/src/DEFAULT_REPRESENTATION_BASE.js.html b/file/src/DEFAULT_REPRESENTATION_BASE.js.html index 1f2aa11..a53d643 100644 --- a/file/src/DEFAULT_REPRESENTATION_BASE.js.html +++ b/file/src/DEFAULT_REPRESENTATION_BASE.js.html @@ -24,7 +24,7 @@
              - +

              src/DEFAULT_REPRESENTATION_BASE.js

              -
              //import { DEFAULT_DISPLAY_BASE } from './' ;
              -import { MAX_BASE } from './_limits' ;
              +
              // Import { DEFAULT_DISPLAY_BASE } from './' ;
              +import {MAX_BASE} from './_limits.js';
               
               /*
                * Biggest power of DEFAULT_DISPLAY_BASE whose square holds in a single double
              @@ -87,9 +87,9 @@
                * and for fast base DEFAULT_DISPLAY_BASE printing. On older machines with no
                * native doubles, it might be worth to only use ints.
                */
              -//export const DEFAULT_REPRESENTATION_BASE = Math.pow(DEFAULT_DISPLAY_BASE,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(DEFAULT_DISPLAY_BASE))) ;
              -//export const DEFAULT_REPRESENTATION_BASE = Math.pow(16,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(16))) ;
              -//export const DEFAULT_REPRESENTATION_BASE = Math.pow(2,26) | 0;
              +// export const DEFAULT_REPRESENTATION_BASE = Math.pow(DEFAULT_DISPLAY_BASE,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(DEFAULT_DISPLAY_BASE))) ;
              +// export const DEFAULT_REPRESENTATION_BASE = Math.pow(16,Math.floor(Math.log(Math.sqrt(Math.pow(2,53)))/Math.log(16))) ;
              +// export const DEFAULT_REPRESENTATION_BASE = Math.pow(2,26) | 0;
               export const DEFAULT_REPRESENTATION_BASE = MAX_BASE;
               
              diff --git a/file/src/Integer.js.html b/file/src/Integer.js.html index 88429db..0c649dc 100644 --- a/file/src/Integer.js.html +++ b/file/src/Integer.js.html @@ -24,7 +24,7 @@
                - +

                src/Integer.js

                -
                import { DEFAULT_DISPLAY_BASE , ZeroDivisionError } from './' ;
                +
                import {DEFAULT_DISPLAY_BASE} from './DEFAULT_DISPLAY_BASE.js';
                +import {ZeroDivisionError} from './ZeroDivisionError.js';
                 
                -import { ValueError } from '@aureooms/js-error' ;
                +import {ValueError} from '@aureooms/js-error';
                 
                -import { _from_number } from './_from_number' ;
                +import {_from_number} from './_from_number.js';
                 
                 import {
                -	stringify , convert , _trim_positive ,
                -	_alloc , _copy , _zeros ,
                -	jz , cmp , eq ,
                -	add , _sub , mul , _idivmod , _pow_double ,
                -	increment ,
                -	euclidean_algorithm , extended_euclidean_algorithm ,
                -} from '@aureooms/js-integer-big-endian' ;
                -
                -import { MIN_NUMBER , MAX_NUMBER , MAX_BASE } from './_limits' ;
                +	stringify,
                +	convert,
                +	_trim_positive,
                +	_alloc,
                +	_copy,
                +	_zeros,
                +	jz,
                +	cmp,
                +	eq,
                +	add,
                +	_sub,
                +	mul,
                +	_idivmod,
                +	_pow_double,
                +	increment,
                +	euclidean_algorithm,
                +	extended_euclidean_algorithm,
                +} from '@aureooms/js-integer-big-endian';
                +
                +import {MIN_NUMBER, MAX_NUMBER, MAX_BASE} from './_limits.js';
                 
                 export class Integer {
                -
                -	constructor ( base , is_negative , limbs ) {
                -		this.base = base ;
                -		this.is_negative = is_negative ;
                -		this.limbs = limbs ;
                +	constructor(base, is_negative, limbs) {
                +		this._base = base;
                +		this._is_negative = is_negative;
                +		this._limbs = limbs;
                 	}
                 
                -	move ( other ) {
                -		other.base = this.base ;
                -		other.is_negative = this.is_negative ;
                -		other.limbs = this.limbs ;
                -		return other ;
                +	move(other) {
                +		other._base = this._base;
                +		other._is_negative = this._is_negative;
                +		other._limbs = this._limbs;
                +		return other;
                 	}
                 
                -	clone ( ) {
                -		return new Integer( this.base , this.is_negative , this.limbs ) ;
                +	clone() {
                +		return new Integer(this._base, this._is_negative, this._limbs);
                 	}
                 
                -	_limbs_in_base ( base ) {
                +	_limbs_in_base(base) {
                 		// TODO save result for later ? Maybe replace base ?
                -		if ( this.base === base ) return this.limbs ;
                -		else return convert( this.base , base , this.limbs , 0 , this.limbs.length ) ;
                +		return this._base === base
                +			? this._limbs
                +			: convert(this._base, base, this._limbs, 0, this._limbs.length);
                 	}
                 
                -	toString ( base = DEFAULT_DISPLAY_BASE ) {
                -
                -		if ( this.iszero( ) ) return '0' ;
                -
                -		const digits = stringify( this.base , base , this.limbs , 0 , this.limbs.length ) ;
                +	toString(base = DEFAULT_DISPLAY_BASE) {
                +		if (this.iszero()) return '0';
                 
                -		return this.is_negative ? '-' + digits : digits ;
                +		const digits = stringify(
                +			this._base,
                +			base,
                +			this._limbs,
                +			0,
                +			this._limbs.length,
                +		);
                 
                +		return this._is_negative ? '-' + digits : digits;
                 	}
                 
                -	add ( other ) {
                -
                -		if ( this.is_negative !== other.is_negative ) {
                -
                -			if ( other.is_negative ) return this.sub( other.opposite() ) ;
                -
                -			else return other.sub( this.opposite() ) ;
                -
                +	add(other) {
                +		if (this._is_negative !== other._is_negative) {
                +			return other._is_negative
                +				? this.sub(other.opposite())
                +				: other.sub(this.opposite());
                 		}
                 
                -		else {
                -
                -			const result_is_negative = this.is_negative ;
                -			const r = this.base ;
                -
                -			const a = this.limbs ;
                +		const result_is_negative = this._is_negative;
                +		const r = this._base;
                 
                -			const b = other._limbs_in_base( r ) ;
                +		const a = this._limbs;
                 
                -			const c = _zeros( Math.max( a.length , b.length ) + 1 ) ;
                +		const b = other._limbs_in_base(r);
                 
                -			add( r , a , 0 , a.length , b , 0 , b.length , c , 0 , c.length ) ;
                +		const c = _zeros(Math.max(a.length, b.length) + 1);
                 
                -			return new Integer( r , result_is_negative , c ) ;
                -
                -		}
                +		add(r, a, 0, a.length, b, 0, b.length, c, 0, c.length);
                 
                +		return new Integer(r, result_is_negative, c);
                 	}
                 
                -	iadd ( other ) {
                +	iadd(other) {
                 		// TODO optimize but be careful with side effects
                 		return this.add(other).move(this);
                 	}
                 
                -	addn ( number ) {
                +	addn(number) {
                 		// TODO optimize
                -		return this.add(_from_number(number)) ;
                +		return this.add(_from_number(number));
                 	}
                 
                -	iaddn ( number ) {
                +	iaddn(number) {
                 		// TODO optimize but be careful with side effects
                 		return this.addn(number).move(this);
                 	}
                 
                -	sub ( other ) {
                -
                -		if ( this.is_negative !== other.is_negative ) {
                -
                -			if ( other.is_negative ) return this.add( other.opposite() ) ;
                -
                -			else return this.opposite().add( other ).opposite() ;
                -
                +	sub(other) {
                +		if (this._is_negative !== other._is_negative) {
                +			return other._is_negative
                +				? this.add(other.opposite())
                +				: this.opposite().add(other).opposite();
                 		}
                +		// /!\ _sub needs |c| >= |a| >= |b|
                 
                -		else {
                -
                -			// /!\ _sub needs |c| >= |a| >= |b|
                +		const r = this._base;
                +		const a = this._limbs;
                +		const aj = a.length;
                +		const ai = _trim_positive(a, 0, aj);
                 
                -			const r = this.base ;
                -			const a = this.limbs ;
                -			const aj = a.length ;
                -			const ai = _trim_positive( a , 0 , aj ) ;
                +		if (ai >= aj) return other.opposite();
                 
                -			if ( ai >= aj ) return other.opposite() ;
                +		const b = other._limbs_in_base(r);
                +		const bj = b.length;
                +		const bi = _trim_positive(b, 0, bj);
                 
                -			const b = other._limbs_in_base( r ) ;
                -			const bj = b.length ;
                -			const bi = _trim_positive( b , 0 , bj ) ;
                +		if (bi >= bj) return this.clone();
                 
                -			if ( bi >= bj ) return this.clone() ;
                +		if (cmp(a, ai, aj, b, bi, bj) < 0) {
                +			const c = _zeros(bj - bi);
                 
                -			if ( cmp( a , ai , aj , b , bi , bj ) < 0 ) {
                +			_sub(r, b, bi, bj, a, ai, aj, c, 0, c.length);
                 
                -				const c = _zeros( bj - bi ) ;
                -
                -				_sub( r , b , bi , bj , a , ai , aj , c , 0 , c.length ) ;
                -
                -				return new Integer( r , ~this.is_negative , c ) ;
                -			}
                -
                -			else {
                -
                -				const c = _zeros( aj - ai ) ;
                -
                -				_sub( r , a , ai , aj , b , bi , bj , c , 0 , c.length ) ;
                +			return new Integer(r, ~this._is_negative, c);
                +		}
                 
                -				return new Integer( r , this.is_negative , c ) ;
                +		const c = _zeros(aj - ai);
                 
                -			}
                -
                -		}
                +		_sub(r, a, ai, aj, b, bi, bj, c, 0, c.length);
                 
                +		return new Integer(r, this._is_negative, c);
                 	}
                 
                -	isub ( other ) {
                +	isub(other) {
                 		// TODO optimize but be careful with side effects
                 		return this.sub(other).move(this);
                 	}
                 
                -	subn ( number ) {
                +	subn(number) {
                 		return this.sub(_from_number(number));
                 	}
                 
                -	isubn ( number ) {
                +	isubn(number) {
                 		return this.subn(number).move(this);
                 	}
                 
                -	mul ( other ) {
                -
                -		const result_is_negative = this.is_negative ^ other.is_negative ;
                -		const r = this.base ;
                +	mul(other) {
                +		const result_is_negative = this._is_negative ^ other._is_negative;
                +		const r = this._base;
                 
                -		const a = this.limbs ;
                +		const a = this._limbs;
                 
                -		const b = other._limbs_in_base( r ) ;
                +		const b = other._limbs_in_base(r);
                 
                -		const c = _zeros( a.length + b.length ) ;
                +		const c = _zeros(a.length + b.length);
                 
                -		mul( r , a , 0 , a.length , b , 0 , b.length , c , 0 , c.length ) ;
                -
                -		return new Integer( r , result_is_negative , c ) ;
                +		mul(r, a, 0, a.length, b, 0, b.length, c, 0, c.length);
                 
                +		return new Integer(r, result_is_negative, c);
                 	}
                 
                -	imul ( other ) {
                +	imul(other) {
                 		// TODO optimize but be careful with side effects
                 		return this.mul(other).move(this);
                 	}
                 
                -	muln ( number ) {
                +	muln(number) {
                 		return this.mul(_from_number(number));
                 	}
                 
                -	imuln ( number ) {
                +	imuln(number) {
                 		return this.muln(number).move(this);
                 	}
                 
                @@ -274,384 +266,412 @@
                 	 * @param {Number} x The power to raise <code>this</code> to.
                 	 * @return {Integer} <code>this ^ x</code>
                 	 */
                -	pown ( x ) {
                -
                -		const is_negative = this.is_negative & x & 1 ? -1 : 0 ;
                +	pown(x) {
                +		const is_negative = this._is_negative & x & 1 ? -1 : 0;
                 
                -		const a = this.limbs ;
                -		const c = _zeros( Math.max( 1 , a.length * x ) ) ;
                +		const a = this._limbs;
                +		const c = _zeros(Math.max(1, a.length * x));
                 
                -		_pow_double( this.base , x , a , 0 , a.length , c , 0 , c.length ) ;
                -
                -		return new Integer( this.base , is_negative , c ) ;
                +		_pow_double(this._base, x, a, 0, a.length, c, 0, c.length);
                 
                +		return new Integer(this._base, is_negative, c);
                 	}
                 
                -	pow ( other ) {
                -		return this.pown( other.valueOf() ) ;
                +	pow(other) {
                +		return this.pown(other.valueOf());
                 	}
                 
                -	ipow ( other ) {
                +	ipow(other) {
                 		// TODO optimize but be careful with side effects
                 		return this.pow(other).move(this);
                 	}
                 
                -	ipown ( number ) {
                +	ipown(number) {
                 		// TODO optimize but be careful with side effects
                 		return this.pown(number).move(this);
                 	}
                 
                -	square ( ) {
                +	square() {
                 		// TODO optimize but be careful with side effects
                 		// TODO use this.mul(this) instead?
                 		return this.pown(2);
                 	}
                 
                -	isquare ( ) {
                +	isquare() {
                 		// TODO optimize but be careful with side effects
                 		// TODO use this.imul(this) instead?
                 		return this.square().move(this);
                 	}
                 
                -	div ( other ) {
                -		return this.divmod( other )[0] ;
                +	div(other) {
                +		return this.divmod(other)[0];
                 	}
                 
                -	divn ( number ) {
                -		return this.div(_from_number(number)) ;
                +	divn(number) {
                +		return this.div(_from_number(number));
                 	}
                 
                -	idiv ( other ) {
                +	idiv(other) {
                 		// TODO optimize but be careful with side effects
                 		return this.div(other).move(this);
                 	}
                 
                -	idivn ( number ) {
                +	idivn(number) {
                 		return this.divn(number).move(this);
                 	}
                 
                -	mod ( other ) {
                -		return this.divmod( other )[1] ;
                +	mod(other) {
                +		return this.divmod(other)[1];
                 	}
                 
                -	modn ( number ) {
                -		return this.mod(_from_number(number)) ;
                +	modn(number) {
                +		return this.mod(_from_number(number));
                 	}
                 
                -	imod ( other ) {
                +	imod(other) {
                 		// TODO optimize but be careful with side effects
                 		return this.mod(other).move(this);
                 	}
                 
                -	imodn ( number ) {
                +	imodn(number) {
                 		return this.modn(number).move(this);
                 	}
                 
                -	divround ( other ) {
                -		const [ q , r ] = this.divmod(other) ;
                -		if ( r.ge(other.divn(2).addn(other.iseven() ? 0 : 1)) ) increment( q.base , q.limbs , 0 , q.limbs.length ) ;
                -		return q ;
                +	divround(other) {
                +		const [q, r] = this.divmod(other);
                +		if (r.ge(other.divn(2).addn(other.iseven() ? 0 : 1)))
                +			increment(q._base, q._limbs, 0, q._limbs.length);
                +		return q;
                 	}
                 
                -	divmod ( other ) {
                -
                -		if ( other.iszero() ) throw new ZeroDivisionError( 'Integer division by zero' ) ; // optimize
                +	divmod(other) {
                +		if (other.iszero()) throw new ZeroDivisionError('Integer division by zero'); // Optimize
                 
                -		const quotient_is_negative = this.is_negative ^ other.is_negative ;
                -		const r = this.base ;
                +		const quotient_is_negative = this._is_negative ^ other._is_negative;
                +		const r = this._base;
                 
                 		// The underlying algorithm does not allow leading 0's so we trim them.
                -		const lj = this.limbs.length ;
                -		const li =  _trim_positive( this.limbs , 0 , lj ) ;
                +		const lj = this._limbs.length;
                +		const li = _trim_positive(this._limbs, 0, lj);
                 
                 		// Dividend is 0
                -		if ( li >= lj ) return [ new Integer( this.base , 0 , [ 0 ] ) , new Integer( this.base , 0 , [ 0 ] ) ] ;
                +		if (li >= lj)
                +			return [new Integer(this._base, 0, [0]), new Integer(this._base, 0, [0])];
                 
                 		// Dividend (& Remainder)
                -		const D = _alloc( lj - li ) ;
                -		_copy( this.limbs , li , lj , D , 0 ) ;
                +		const D = _alloc(lj - li);
                +		_copy(this._limbs, li, lj, D, 0);
                 
                 		// Divisor
                -		const d = other._limbs_in_base( r ) ;
                -		const dj = d.length ;
                -		const di = _trim_positive( d , 0 , dj ) ; // di < dj because d != 0
                +		const d = other._limbs_in_base(r);
                +		const dj = d.length;
                +		const di = _trim_positive(d, 0, dj); // Di < dj because d != 0
                 
                 		// Quotient
                -		const q = _zeros( D.length ) ;
                -
                -		_idivmod( r , D , 0 , D.length , d , di , dj , q , 0 , q.length ) ;
                +		const q = _zeros(D.length);
                 
                -		const Q = new Integer( r , quotient_is_negative , q ) ; // quotient
                -		const R = new Integer( r , 0 , D ) ;                    // remainder
                +		_idivmod(r, D, 0, D.length, d, di, dj, q, 0, q.length);
                 
                -		if ( (this.is_negative || other.is_negative ) && !jz( D , 0 , D.length ) ) {
                +		const Q = new Integer(r, quotient_is_negative, q); // Quotient
                +		const R = new Integer(r, 0, D); // Remainder
                 
                -			if ( other.is_negative ) {
                -
                -				if ( !this.is_negative ) {
                -					increment( r , q , 0 , q.length ) ;
                -					R.iadd( other ) ; // TODO optimize
                -				}
                -
                -				else {
                +		if ((this._is_negative || other._is_negative) && !jz(D, 0, D.length)) {
                +			if (other._is_negative) {
                +				if (this._is_negative) {
                 					R.negate(); // TODO optimize
                +				} else {
                +					increment(r, q, 0, q.length);
                +					R.iadd(other); // TODO optimize
                 				}
                -
                -			}
                -
                -			else {
                -				increment( r , q , 0 , q.length ) ;
                -				R.negate().iadd( other ) ; // TODO optimize
                +			} else {
                +				increment(r, q, 0, q.length);
                +				R.negate().iadd(other); // TODO optimize
                 			}
                -
                 		}
                 
                -		return [ Q , R ] ;
                -
                +		return [Q, R];
                 	}
                 
                -	idivmod ( other ) {
                +	idivmod(other) {
                 		// TODO optimize but be careful with side effects
                -		const [ q , r ] = this.divmod(other) ;
                -		return [ q , r.move(this) ] ;
                +		const [q, r] = this.divmod(other);
                +		return [q, r.move(this)];
                 	}
                 
                -	divmodn ( number ) {
                -		return this.divmod(_from_number(number)) ;
                +	divmodn(number) {
                +		return this.divmod(_from_number(number));
                 	}
                 
                -	idivmodn ( number ) {
                -		const [ q , r ] = this.divmodn(number) ;
                -		return [ q , r.move(this) ] ;
                +	idivmodn(number) {
                +		const [q, r] = this.divmodn(number);
                +		return [q, r.move(this)];
                 	}
                 
                -	opposite ( ) {
                -		return new Integer( this.base , ~this.is_negative , this.limbs ) ;
                +	opposite() {
                +		return new Integer(this._base, ~this._is_negative, this._limbs);
                 	}
                 
                -	negate ( ) {
                +	negate() {
                 		// TODO optimize but be careful with side effects
                 		return this.opposite().move(this);
                 	}
                 
                -	abs ( ) {
                -		return this.sign() >= 0 ? this : this.opposite(this) ;
                +	abs() {
                +		return this.sign() >= 0 ? this : this.opposite();
                 	}
                 
                -	iabs ( ) {
                -		return this.abs().move(this) ;
                +	iabs() {
                +		return this.abs().move(this);
                 	}
                 
                -	sign ( ) {
                -		return this.iszero() ? 0 : this.is_negative ? -1 : 1 ;
                +	sign() {
                +		return this.iszero() ? 0 : this._is_negative ? -1 : 1;
                 	}
                 
                -	iszero ( ) {
                -		return jz( this.limbs , 0 , this.limbs.length ) ;
                +	iszero() {
                +		return jz(this._limbs, 0, this._limbs.length);
                 	}
                 
                -	isone ( ) {
                -		if ( this.is_negative ) return false ;
                -		return eq( this.limbs , 0 , this.limbs.length , [ 1 ] , 0 , 1 ) ;
                +	isone() {
                +		if (this._is_negative) return false;
                +		return eq(this._limbs, 0, this._limbs.length, [1], 0, 1);
                 	}
                 
                -	isnonzero ( ) {
                +	isnonzero() {
                 		return !this.iszero();
                 	}
                 
                -	isnegative ( ) {
                -		return this.is_negative === -1 ? true : false ;
                +	isnegative() {
                +		return this._is_negative === -1;
                 	}
                 
                -	ispositive ( ) {
                -		return this.sign() > 0 ;
                +	ispositive() {
                +		return this.sign() > 0;
                 	}
                 
                -	isnonnegative ( ) {
                +	isnonnegative() {
                 		return !this.isnegative();
                 	}
                 
                -	isnonpositive ( ) {
                -		return !this.ispositive() ;
                +	isnonpositive() {
                +		return !this.ispositive();
                 	}
                 
                -	parity ( ) {
                +	parity() {
                 		// TODO optimize this, there is a much faster way to test for parity
                 		// when the base is a multiple of two
                -		return this.modn(2) ;
                +		return this.modn(2);
                 	}
                 
                -	iseven ( ) {
                -		return this.parity().iszero() ;
                +	iseven() {
                +		return this.parity().iszero();
                 	}
                 
                -	isodd ( ) {
                -		return !this.iseven() ;
                +	isodd() {
                +		return !this.iseven();
                 	}
                 
                -	bin ( ) {
                -		return this.toString( 2 ) ;
                +	bin() {
                +		return this.toString(2);
                 	}
                 
                -	oct ( ) {
                -		return this.toString( 8 ) ;
                +	oct() {
                +		return this.toString(8);
                 	}
                 
                -	hex ( ) {
                -		return this.toString( 16 ) ;
                +	hex() {
                +		return this.toString(16);
                 	}
                 
                -	toJSON ( ) {
                -		return this.hex( ) ;
                +	toJSON() {
                +		return this.hex();
                 	}
                 
                -	digits ( base = DEFAULT_DISPLAY_BASE ) {
                +	digits(base = DEFAULT_DISPLAY_BASE) {
                 		// TODO Once #to is implemented we can rewrite this as
                 		// return this.to(LITTLE_ENDIAN, base, Array) ;
                -		return convert( this.base , base , this.limbs , 0 , this.limbs.length ).reverse( ) ;
                +		return convert(
                +			this._base,
                +			base,
                +			this._limbs,
                +			0,
                +			this._limbs.length,
                +		).reverse();
                 	}
                 
                -	bits ( ) {
                -		return this.digits( 2 ) ;
                +	bits() {
                +		return this.digits(2);
                 	}
                 
                -	divides ( other ) {
                -		return other.mod( this ).iszero( ) ;
                +	divides(other) {
                +		return other.mod(this).iszero();
                 	}
                 
                -	divide_knowing_divisible_by ( other ) {
                +	divide_knowing_divisible_by(other) {
                 		// TODO optimize
                -		return this.div( other ) ;
                +		return this.div(other);
                 	}
                 
                -
                -	cmp ( other ) {
                +	cmp(other) {
                 		// TODO optimize with _trim_positive
                 
                -		if ( this.iszero( ) ) {
                -			if ( other.iszero( ) )        return  0 ;
                -			else if ( other.is_negative ) return  1 ;
                -			else                          return -1 ;
                +		if (this.iszero()) {
                +			if (other.iszero()) return 0;
                +			if (other._is_negative) return 1;
                +			return -1;
                 		}
                 
                -		if ( this.is_negative < other.is_negative ) return -1 ;
                -		if ( this.is_negative > other.is_negative ) return  1 ;
                +		if (this._is_negative < other._is_negative) return -1;
                +		if (this._is_negative > other._is_negative) return 1;
                 
                -		const a = this.limbs ;
                -		const b = other._limbs_in_base( this.base ) ;
                -
                -		return this.is_negative === 0 ?
                -			cmp( a , 0 , a.length , b , 0 , b.length ) :
                -			cmp( b , 0 , b.length , a , 0 , a.length ) ;
                -
                -	}
                +		const a = this._limbs;
                +		const b = other._limbs_in_base(this._base);
                 
                -	cmpn ( number ) {
                -		return this.cmp(_from_number(number)) ;
                +		return this._is_negative === 0
                +			? cmp(a, 0, a.length, b, 0, b.length)
                +			: cmp(b, 0, b.length, a, 0, a.length);
                 	}
                 
                -	eq ( other ) {
                -		return this.cmp( other ) === 0 ;
                +	cmpn(number) {
                +		return this.cmp(_from_number(number));
                 	}
                 
                -	eqn ( number ) {
                -		return this.cmpn( number ) === 0 ;
                +	eq(other) {
                +		return this.cmp(other) === 0;
                 	}
                 
                -	ge ( other ) {
                -		return this.cmp( other ) >= 0 ;
                +	eqn(number) {
                +		return this.cmpn(number) === 0;
                 	}
                 
                -	gen ( number ) {
                -		return this.cmpn( number ) >= 0 ;
                +	ge(other) {
                +		return this.cmp(other) >= 0;
                 	}
                 
                -	gt ( other ) {
                -		return this.cmp( other ) > 0 ;
                +	gen(number) {
                +		return this.cmpn(number) >= 0;
                 	}
                 
                -	gtn ( number ) {
                -		return this.cmpn( number ) > 0 ;
                +	gt(other) {
                +		return this.cmp(other) > 0;
                 	}
                 
                -	le ( other ) {
                -		return this.cmp( other ) <= 0 ;
                +	gtn(number) {
                +		return this.cmpn(number) > 0;
                 	}
                 
                -	len ( number ) {
                -		return this.cmpn( number ) <= 0 ;
                +	le(other) {
                +		return this.cmp(other) <= 0;
                 	}
                 
                -	lt ( other ) {
                -		return this.cmp( other ) < 0 ;
                +	len(number) {
                +		return this.cmpn(number) <= 0;
                 	}
                 
                -	ltn ( number ) {
                -		return this.cmpn( number ) < 0 ;
                +	lt(other) {
                +		return this.cmp(other) < 0;
                 	}
                 
                -	ne ( other ) {
                -		return this.cmp( other ) !== 0 ;
                +	ltn(number) {
                +		return this.cmpn(number) < 0;
                 	}
                 
                -	nen ( number ) {
                -		return this.cmpn( number ) !== 0 ;
                +	ne(other) {
                +		return this.cmp(other) !== 0;
                 	}
                 
                -	gcd ( other ) {
                -		const r = this.base ;
                -		const a = this.limbs ;
                -		const b = other._limbs_in_base( r ) ;
                -		const [ d , di , dj ] = euclidean_algorithm( r , a , 0 , a.length , b , 0 , b.length ) ;
                -		const gcd = _alloc( dj - di ) ;
                -		_copy( d , di , dj , gcd , 0 ) ;
                -		return new Integer( r , 0 , gcd ) ;
                +	nen(number) {
                +		return this.cmpn(number) !== 0;
                 	}
                 
                -	egcd ( other ) {
                -		const r = this.base ;
                -		const a = this.limbs ;
                -		const b = other._limbs_in_base( r ) ;
                -		const [ R0 , R0i , S0 , S0i , T0 , T0i , S1 , S1i , T1 , T1i , steps ] = extended_euclidean_algorithm( r , a , 0 , a.length , b , 0 , b.length ) ;
                -		const gcd = _alloc( R0.length - R0i ) ;
                -		_copy( R0 , R0i , R0.length , gcd , 0 ) ;
                -		const x = _alloc( S0.length - S0i ) ;
                -		_copy( S0 , S0i , S0.length , x , 0 ) ;
                -		const y = _alloc( T0.length - T0i ) ;
                -		_copy( T0 , T0i , T0.length , y , 0 ) ;
                -		const u = _alloc( S1.length - S1i ) ;
                -		_copy( S1 , S1i , S1.length , u , 0 ) ;
                -		const v = _alloc( T1.length - T1i ) ;
                -		_copy( T1 , T1i , T1.length , v , 0 ) ;
                -		return { // TODO use immutable zero
                -			gcd: new Integer(r, 0, gcd) ,
                -			x: x.length ? new Integer(r, this.is_negative ^ ((steps % 2)-1), x) : new Integer(r, 0, [0]) ,
                -			y: y.length ? new Integer(r, other.is_negative ^ (-(steps % 2)), y) : new Integer(r, 0, [0]) ,
                -			u: u.length ? new Integer(r, this.is_negative ^ (-(steps % 2)), u) : new Integer(r, 0, [0]) ,
                -			v: v.length ? new Integer(r, other.is_negative ^ ((steps % 2)-1), v) : new Integer(r, 0, [0]) ,
                -		} ;
                +	gcd(other) {
                +		const r = this._base;
                +		const a = this._limbs;
                +		const b = other._limbs_in_base(r);
                +		const [d, di, dj] = euclidean_algorithm(r, a, 0, a.length, b, 0, b.length);
                +		const gcd = _alloc(dj - di);
                +		_copy(d, di, dj, gcd, 0);
                +		return new Integer(r, 0, gcd);
                 	}
                 
                -	valueOf ( ) {
                -
                -		if (this.gtn(MAX_NUMBER)) throw new ValueError(`Cannot call valueOf on Integer larger than ${MAX_NUMBER}. Got ${this.toString()}`) ;
                -		if (this.ltn(MIN_NUMBER)) throw new ValueError(`Cannot call valueOf on Integer smaller than ${MIN_NUMBER}. Got ${this.toString()}`) ;
                -
                -		const limbs = convert( this.base , MAX_BASE , this.limbs , 0 , this.limbs.length ) ;
                -
                -		const sign = this.is_negative ? -1 : 1 ;
                -
                -		const value = limbs.length === 2 ?
                -			limbs[0] * MAX_BASE + limbs[1] :
                -			limbs[0] ;
                -
                -		return sign * value ;
                +	egcd(other) {
                +		const r = this._base;
                +		const a = this._limbs;
                +		const b = other._limbs_in_base(r);
                +		const [
                +			R0,
                +			R0i,
                +			S0,
                +			S0i,
                +			T0,
                +			T0i,
                +			S1,
                +			S1i,
                +			T1,
                +			T1i,
                +			steps,
                +		] = extended_euclidean_algorithm(r, a, 0, a.length, b, 0, b.length);
                +		const gcd = _alloc(R0.length - R0i);
                +		_copy(R0, R0i, R0.length, gcd, 0);
                +		const x = _alloc(S0.length - S0i);
                +		_copy(S0, S0i, S0.length, x, 0);
                +		const y = _alloc(T0.length - T0i);
                +		_copy(T0, T0i, T0.length, y, 0);
                +		const u = _alloc(S1.length - S1i);
                +		_copy(S1, S1i, S1.length, u, 0);
                +		const v = _alloc(T1.length - T1i);
                +		_copy(T1, T1i, T1.length, v, 0);
                +		return {
                +			// TODO use immutable zero
                +			gcd: new Integer(r, 0, gcd),
                +			x:
                +				x.length > 0
                +					? new Integer(r, this._is_negative ^ ((steps % 2) - 1), x)
                +					: new Integer(r, 0, [0]),
                +			y:
                +				y.length > 0
                +					? new Integer(r, other._is_negative ^ -(steps % 2), y)
                +					: new Integer(r, 0, [0]),
                +			u:
                +				u.length > 0
                +					? new Integer(r, this._is_negative ^ -(steps % 2), u)
                +					: new Integer(r, 0, [0]),
                +			v:
                +				v.length > 0
                +					? new Integer(r, other._is_negative ^ ((steps % 2) - 1), v)
                +					: new Integer(r, 0, [0]),
                +		};
                 	}
                 
                -	toNumber ( ) {
                -		return this.valueOf( ) ;
                +	valueOf() {
                +		if (this.gtn(MAX_NUMBER))
                +			throw new ValueError(
                +				`Cannot call valueOf on Integer larger than ${MAX_NUMBER}. Got ${this.toString()}`,
                +			);
                +		if (this.ltn(MIN_NUMBER))
                +			throw new ValueError(
                +				`Cannot call valueOf on Integer smaller than ${MIN_NUMBER}. Got ${this.toString()}`,
                +			);
                +
                +		const limbs = convert(
                +			this._base,
                +			MAX_BASE,
                +			this._limbs,
                +			0,
                +			this._limbs.length,
                +		);
                +
                +		const sign = this._is_negative ? -1 : 1;
                +
                +		const value =
                +			limbs.length === 2 ? limbs[0] * MAX_BASE + limbs[1] : limbs[0];
                +
                +		return sign * value;
                +	}
                +
                +	toNumber() {
                +		return this.valueOf();
                 	}
                -
                 }
                 
                diff --git a/file/src/IntegerRing.js.html b/file/src/IntegerRing.js.html index 7ae3ca3..d84bb23 100644 --- a/file/src/IntegerRing.js.html +++ b/file/src/IntegerRing.js.html @@ -24,7 +24,7 @@
                  - +

                  src/IntegerRing.js

                  -
                  import { Integer } from './' ;
                  -import { DEFAULT_DISPLAY_BASE } from './' ;
                  -import { parse , convert } from '@aureooms/js-integer-big-endian' ;
                  -import { TypeError , ValueError } from '@aureooms/js-error' ;
                  -import { _from_number } from './_from_number' ;
                  +
                  import {parse, convert} from '@aureooms/js-integer-big-endian';
                  +import {TypeError, ValueError} from '@aureooms/js-error';
                   
                  -export class IntegerRing {
                  +import {Integer} from './Integer.js';
                  +import {DEFAULT_DISPLAY_BASE} from './DEFAULT_DISPLAY_BASE.js';
                  +import {_from_number} from './_from_number.js';
                   
                  -	constructor ( name , base ) {
                  -		this.name = name ;
                  -		this.base = base ;
                  +export class IntegerRing {
                  +	constructor(name, base) {
                  +		this.name = name;
                  +		this._base = base;
                   	}
                   
                  -	characteristic ( ) {
                  -		return this.$0() ;
                  +	characteristic() {
                  +		return this.$0();
                   	}
                   
                  -	from ( object , base = undefined , is_negative = 0 ) {
                  -
                  -		if ( object === null || object === undefined ) return this.$0();
                  -
                  -		switch ( object.constructor.prototype ) {
                  -
                  -			case Number.prototype :
                  -				if ( base !== undefined ) throw new ValueError('IntegerRing#from: using the base parameter does not make sense when passing a Number.') ;
                  -				return this.from_number( object , is_negative ) ;
                  -
                  -			case String.prototype :
                  -				if ( base === undefined ) base = DEFAULT_DISPLAY_BASE ;
                  -				return this.from_string( object , base , is_negative ) ;
                  -
                  -			case Array.prototype :
                  -				if ( base === undefined ) base = this.base ;
                  -				return this.from_digits( object , base , is_negative ) ;
                  -
                  -			case Boolean.prototype :
                  -				if ( base !== undefined ) throw new ValueError('IntegerRing#from: using the base parameter does not make sense when passing a Boolean.') ;
                  -				return this.from_number( +object , is_negative ) ;
                  -
                  -			case Integer.prototype :
                  -				if ( base !== undefined ) throw new ValueError('IntegerRing#from: using the base parameter does not make sense when passing an Integer.') ;
                  -				return new Integer( object.base , object.is_negative ^ is_negative , object.limbs ) ;
                  +	from(object, base = undefined, is_negative = 0) {
                  +		if (object === null || object === undefined) return this.$0();
                  +
                  +		switch (object.constructor.prototype) {
                  +			case Number.prototype:
                  +				if (base !== undefined)
                  +					throw new ValueError(
                  +						'IntegerRing#from: using the base parameter does not make sense when passing a Number.',
                  +					);
                  +				return this.from_number(object, is_negative);
                  +
                  +			case String.prototype:
                  +				if (base === undefined) base = DEFAULT_DISPLAY_BASE;
                  +				return this.from_string(object, base, is_negative);
                  +
                  +			case Array.prototype:
                  +				if (base === undefined) base = this._base;
                  +				return this.from_digits(object, base, is_negative);
                  +
                  +			case Boolean.prototype:
                  +				if (base !== undefined)
                  +					throw new ValueError(
                  +						'IntegerRing#from: using the base parameter does not make sense when passing a Boolean.',
                  +					);
                  +				return this.from_number(Number(object), is_negative);
                  +
                  +			case Integer.prototype:
                  +				if (base !== undefined)
                  +					throw new ValueError(
                  +						'IntegerRing#from: using the base parameter does not make sense when passing an Integer.',
                  +					);
                  +				return new Integer(
                  +					object._base,
                  +					object._is_negative ^ is_negative,
                  +					object._limbs,
                  +				);
                   
                   			default:
                  -				throw new TypeError(`IntegerRing#from cannot handle ${object.constructor.prototype}`) ;
                  -
                  +				throw new TypeError(
                  +					`IntegerRing#from cannot handle ${object.constructor.prototype}`,
                  +				);
                   		}
                  -
                   	}
                   
                  -	from_number ( number , is_negative = 0 ) {
                  -
                  -		const dirty = _from_number(number) ;
                  +	from_number(number, is_negative = 0) {
                  +		const dirty = _from_number(number);
                   
                  -		const limbs = dirty._limbs_in_base(this.base) ;
                  -
                  -		return new Integer( this.base , is_negative ^ dirty.is_negative , limbs ) ;
                  +		const limbs = dirty._limbs_in_base(this._base);
                   
                  +		return new Integer(this._base, is_negative ^ dirty._is_negative, limbs);
                   	}
                   
                  -	from_string ( string , base = 10 , is_negative = 0  ) {
                  -
                  -		if ( string.length === 0 ) throw new ValueError( 'IntegerRing#from_string cannot parse empty string.' ) ;
                  +	from_string(string, base = 10, is_negative = 0) {
                  +		if (string.length === 0)
                  +			throw new ValueError(
                  +				'IntegerRing#from_string cannot parse empty string.',
                  +			);
                   
                  -		if ( string[0] === '-' ) return this.from_string( string.slice(1) , base , ~is_negative ) ;
                  +		if (string[0] === '-')
                  +			return this.from_string(string.slice(1), base, ~is_negative);
                   
                  -		if ( string[0] === '+' ) return this.from_string( string.slice(1) , base , is_negative ) ;
                  +		if (string[0] === '+')
                  +			return this.from_string(string.slice(1), base, is_negative);
                   
                  -		const limbs = parse( base , this.base , string ) ;
                  +		const limbs = parse(base, this._base, string);
                   
                  -		if (limbs.length === 1 && limbs[0] === 0) is_negative = 0 ;
                  -
                  -		return new Integer( this.base , is_negative , limbs ) ;
                  +		if (limbs.length === 1 && limbs[0] === 0) is_negative = 0;
                   
                  +		return new Integer(this._base, is_negative, limbs);
                   	}
                   
                  -	from_digits ( digits , base , is_negative ) {
                  -
                  -		const limbs = convert( base , this.base , digits.slice().reverse() , 0 , digits.length ) ;
                  -
                  -		return new Integer( this.base , is_negative , limbs ) ;
                  +	from_digits(digits, base, is_negative) {
                  +		const limbs = convert(
                  +			base,
                  +			this._base,
                  +			digits.slice().reverse(),
                  +			0,
                  +			digits.length,
                  +		);
                   
                  +		return new Integer(this._base, is_negative, limbs);
                   	}
                   
                  -	toString ( ) {
                  -		return this.name ;
                  +	toString() {
                  +		return this.name;
                   	}
                   
                  -	$0 ( ) {
                  +	$0() {
                   		// TODO Could we use an empty array instead ?
                  -		return new Integer( this.base , 0 , [ 0 ] ) ;
                  +		return new Integer(this._base, 0, [0]);
                   	}
                   
                  -	$1 ( ) {
                  -		return new Integer( this.base , 0 , [ 1 ] ) ;
                  +	$1() {
                  +		return new Integer(this._base, 0, [1]);
                   	}
                   
                  -	$_1 ( ) {
                  -		return new Integer( this.base , -1 , [ 1 ] ) ;
                  +	$_1() {
                  +		return new Integer(this._base, -1, [1]);
                   	}
                   
                  -	has ( x ) {
                  -		if ( x instanceof Integer ) return true ;
                  -		return Number.isInteger(x) ;
                  +	has(x) {
                  +		if (x instanceof Integer) return true;
                  +		return Number.isInteger(x);
                   	}
                   
                  -	min ( a , b ) {
                  -		return a.le(b) ? a : b ;
                  +	min(a, b) {
                  +		return a.le(b) ? a : b;
                   	}
                   
                  -	max ( a , b ) {
                  -		return a.ge(b) ? a : b ;
                  +	max(a, b) {
                  +		return a.ge(b) ? a : b;
                   	}
                  -
                   }
                   
                  diff --git a/file/src/ZZ.js.html b/file/src/ZZ.js.html index cbf0753..1c29f2a 100644 --- a/file/src/ZZ.js.html +++ b/file/src/ZZ.js.html @@ -24,7 +24,7 @@
                    - +

                    src/ZZ.js

                    -
                    
                    -import {
                    -	DEFAULT_REPRESENTATION_BASE ,
                    -	IntegerRing ,
                    -} from './' ;
                    +
                    import {DEFAULT_REPRESENTATION_BASE} from './DEFAULT_REPRESENTATION_BASE.js';
                    +import {IntegerRing} from './IntegerRing.js';
                     
                    -export const ZZ = new IntegerRing( 'Integer Ring' , DEFAULT_REPRESENTATION_BASE ) ;
                    +export const ZZ = new IntegerRing('Integer Ring', DEFAULT_REPRESENTATION_BASE);
                     
                    diff --git a/file/src/ZeroDivisionError.js.html b/file/src/ZeroDivisionError.js.html index c5dde7f..b9050f1 100644 --- a/file/src/ZeroDivisionError.js.html +++ b/file/src/ZeroDivisionError.js.html @@ -24,7 +24,7 @@
                      - +

                      src/ZeroDivisionError.js

                      -
                      
                      -export class ZeroDivisionError extends Error {
                      -
                      -	constructor ( message ) {
                      -		super( message ) ;
                      -	}
                      -
                      -	toString ( ) {
                      -		return `ZeroDivisionError: ${this.message}` ;
                      +
                      export class ZeroDivisionError extends Error {
                      +	toString() {
                      +		return `ZeroDivisionError: ${this.message}`;
                       	}
                      -
                       }
                       
                      diff --git a/file/src/_from_number.js.html b/file/src/_from_number.js.html index 6091581..515513b 100644 --- a/file/src/_from_number.js.html +++ b/file/src/_from_number.js.html @@ -24,7 +24,7 @@
                        - +

                        src/_from_number.js

                        -
                        import { Integer } from './Integer' ;
                        -import { MAX_BASE } from './_limits' ;
                        +
                        import {Integer} from './Integer.js';
                        +import {MAX_BASE} from './_limits.js';
                         
                        -export function _from_number ( number ) {
                        -	const x = number >= 0 ? number : -number ;
                        -	const is_negative = number >= 0 ? 0 : -1 ;
                        -	return x < MAX_BASE ?
                        -		new Integer( MAX_BASE , is_negative , [ x ] ) :
                        -		new Integer( MAX_BASE , is_negative , [ x / MAX_BASE | 0 , x % MAX_BASE ] ) ;
                        +export function _from_number(number) {
                        +	const x = number >= 0 ? number : -number;
                        +	const is_negative = number >= 0 ? 0 : -1;
                        +	return x < MAX_BASE
                        +		? new Integer(MAX_BASE, is_negative, [x])
                        +		: new Integer(MAX_BASE, is_negative, [(x / MAX_BASE) | 0, x % MAX_BASE]);
                         }
                         
                        diff --git a/file/src/_limits.js.html b/file/src/_limits.js.html index 445f8b7..e9a811a 100644 --- a/file/src/_limits.js.html +++ b/file/src/_limits.js.html @@ -24,7 +24,7 @@
                          - +

                          src/_limits.js

                          -
                          // The range of valid numbers is -2^53 to 2^53 - 1
                          -export const MAX_NUMBER = Math.pow(2,53) - 1 ;
                          -export const MIN_NUMBER = -Math.pow(2,53) ;
                          -export const MIN_BASE = 2 ;
                          -export const MAX_BASE = Math.floor(Math.sqrt(MAX_NUMBER+1)) | 0;
                          +
                          export const MAX_NUMBER = Number.MAX_SAFE_INTEGER;
                          +export const MIN_NUMBER = Number.MIN_SAFE_INTEGER;
                          +export const MIN_BASE = 2;
                          +export const MAX_BASE = Math.floor(Math.sqrt(MAX_NUMBER + 1)) | 0;
                           
                          diff --git a/file/src/index.js.html b/file/src/index.js.html index f7f3459..e025726 100644 --- a/file/src/index.js.html +++ b/file/src/index.js.html @@ -24,7 +24,7 @@
                            - +

                            src/index.js

                            -
                            export * from './DEFAULT_DISPLAY_BASE' ;
                            -export * from './DEFAULT_REPRESENTATION_BASE' ;
                            -export * from './Integer' ;
                            -export * from './IntegerRing' ;
                            -export * from './ZZ' ;
                            -export * from './ZeroDivisionError' ;
                            -export * from './integer' ;
                            -export * from './_limits' ;
                            +
                            export * from './DEFAULT_DISPLAY_BASE.js';
                            +export * from './DEFAULT_REPRESENTATION_BASE.js';
                            +export * from './Integer.js';
                            +export * from './IntegerRing.js';
                            +export * from './ZZ.js';
                            +export * from './ZeroDivisionError.js';
                            +export * from './integer.js';
                            +export * from './_limits.js';
                             
                            diff --git a/file/src/integer.js.html b/file/src/integer.js.html index 077ac57..8fe836b 100644 --- a/file/src/integer.js.html +++ b/file/src/integer.js.html @@ -24,7 +24,7 @@
                              - +

                              src/integer.js

                              -
                              import { DEFAULT_DISPLAY_BASE , ZZ } from './' ;
                              +
                              import {DEFAULT_DISPLAY_BASE} from './DEFAULT_DISPLAY_BASE.js';
                              +import {ZZ} from './ZZ.js';
                               
                              -export function $0 ( ) {
                              -	return ZZ.$0() ;
                              +export function $0() {
                              +	return ZZ.$0();
                               }
                               
                              -export function $1 ( ) {
                              -	return ZZ.$1() ;
                              +export function $1() {
                              +	return ZZ.$1();
                               }
                               
                              -export function $_1 ( ) {
                              -	return ZZ.$_1() ;
                              +export function $_1() {
                              +	return ZZ.$_1();
                               }
                               
                              -export function parse ( object , base = undefined , is_negative = 0 ) {
                              -	return ZZ.from( object , base , is_negative ) ;
                              +export function parse(object, base = undefined, is_negative = 0) {
                              +	return ZZ.from(object, base, is_negative);
                               }
                               
                              -export function stringify ( integer , base = DEFAULT_DISPLAY_BASE ) {
                              -	return integer.toString( base ) ;
                              +export function stringify(integer, base = DEFAULT_DISPLAY_BASE) {
                              +	return integer.toString(base);
                               }
                               
                              -export function add ( first , second ) {
                              -	return first.add(second) ;
                              +export function add(first, second) {
                              +	return first.add(second);
                               }
                               
                              -export function iadd ( first , second ) {
                              -	return first.iadd(second) ;
                              +export function iadd(first, second) {
                              +	return first.iadd(second);
                               }
                               
                              -export function sub ( first , second ) {
                              -	return first.sub(second) ;
                              +export function sub(first, second) {
                              +	return first.sub(second);
                               }
                               
                              -export function isub ( first , second ) {
                              -	return first.isub(second) ;
                              +export function isub(first, second) {
                              +	return first.isub(second);
                               }
                               
                              -export function mul ( first , second ) {
                              -	return first.mul(second) ;
                              +export function mul(first, second) {
                              +	return first.mul(second);
                               }
                               
                              -export function imul ( first , second ) {
                              -	return first.imul(second) ;
                              +export function imul(first, second) {
                              +	return first.imul(second);
                               }
                               
                              -export function pow ( first , second ) {
                              -	return first.pow(second) ;
                              +export function pow(first, second) {
                              +	return first.pow(second);
                               }
                               
                              -export function ipow ( first , second ) {
                              -	return first.ipow(second) ;
                              +export function ipow(first, second) {
                              +	return first.ipow(second);
                               }
                               
                              -export function div ( first , second ) {
                              -	return first.div(second) ;
                              +export function div(first, second) {
                              +	return first.div(second);
                               }
                               
                              -export function idiv ( first , second ) {
                              -	return first.idiv(second) ;
                              +export function idiv(first, second) {
                              +	return first.idiv(second);
                               }
                               
                              -export function mod ( first , second ) {
                              -	return first.mod(second) ;
                              +export function mod(first, second) {
                              +	return first.mod(second);
                               }
                               
                              -export function imod ( first , second ) {
                              -	return first.imod(second) ;
                              +export function imod(first, second) {
                              +	return first.imod(second);
                               }
                               
                              -export function divmod ( first , second ) {
                              -	return first.divmod(second) ;
                              +export function divmod(first, second) {
                              +	return first.divmod(second);
                               }
                               
                              -export function idivmod ( first , second ) {
                              -	return first.idivmod(second) ;
                              +export function idivmod(first, second) {
                              +	return first.idivmod(second);
                               }
                               
                              -export function addn ( first , second ) {
                              -	return first.addn(second) ;
                              +export function addn(first, second) {
                              +	return first.addn(second);
                               }
                               
                              -export function iaddn ( first , second ) {
                              -	return first.iaddn(second) ;
                              +export function iaddn(first, second) {
                              +	return first.iaddn(second);
                               }
                               
                              -export function subn ( first , second ) {
                              -	return first.subn(second) ;
                              +export function subn(first, second) {
                              +	return first.subn(second);
                               }
                               
                              -export function isubn ( first , second ) {
                              -	return first.isubn(second) ;
                              +export function isubn(first, second) {
                              +	return first.isubn(second);
                               }
                               
                              -export function muln ( first , second ) {
                              -	return first.muln(second) ;
                              +export function muln(first, second) {
                              +	return first.muln(second);
                               }
                               
                              -export function imuln ( first , second ) {
                              -	return first.imuln(second) ;
                              +export function imuln(first, second) {
                              +	return first.imuln(second);
                               }
                               
                              -export function pown ( first , second ) {
                              -	return first.pown(second) ;
                              +export function pown(first, second) {
                              +	return first.pown(second);
                               }
                               
                              -export function ipown ( first , second ) {
                              -	return first.ipown(second) ;
                              +export function ipown(first, second) {
                              +	return first.ipown(second);
                               }
                               
                              -export function divn ( first , second ) {
                              -	return first.divn(second) ;
                              +export function divn(first, second) {
                              +	return first.divn(second);
                               }
                               
                              -export function idivn ( first , second ) {
                              -	return first.idivn(second) ;
                              +export function idivn(first, second) {
                              +	return first.idivn(second);
                               }
                               
                              -export function modn ( first , second ) {
                              -	return first.modn(second) ;
                              +export function modn(first, second) {
                              +	return first.modn(second);
                               }
                               
                              -export function imodn ( first , second ) {
                              -	return first.imodn(second) ;
                              +export function imodn(first, second) {
                              +	return first.imodn(second);
                               }
                               
                              -export function divmodn ( first , second ) {
                              -	return first.divmodn(second) ;
                              +export function divmodn(first, second) {
                              +	return first.divmodn(second);
                               }
                               
                              -export function idivmodn ( first , second ) {
                              -	return first.idivmodn(second) ;
                              +export function idivmodn(first, second) {
                              +	return first.idivmodn(second);
                               }
                               
                              diff --git a/function/index.html b/function/index.html index a61fea3..c794d26 100644 --- a/function/index.html +++ b/function/index.html @@ -24,7 +24,7 @@
                                - +
                                Public Methods
                                @@ -96,79 +96,79 @@ - + - + - + - + - + - - - + + + - + - - - + + + - + - - - + + + - + - - - - + + + + - + - + - + - - - + + + - + - + - + - - - + + +
                                src/DEFAULT_DISPLAY_BASE.js DEFAULT_DISPLAY_BASE 0 %0/141 byte40 byte 12020-05-06 08:03:39 (UTC)2021-03-03 17:53:38 (UTC)
                                src/DEFAULT_REPRESENTATION_BASE.js DEFAULT_REPRESENTATION_BASE 0 %0/1778 byte782 byte 132020-05-02 15:06:01 (UTC)2021-03-03 17:53:38 (UTC)
                                src/Integer.jssrc/Integer.js Integer 1 %1/8112619 byte5752020-05-05 16:47:08 (UTC)11906 byte5952021-03-03 17:53:38 (UTC)
                                src/IntegerRing.jssrc/IntegerRing.js IntegerRing 0 %0/163117 byte1152020-05-01 23:04:35 (UTC)3104 byte1302021-03-03 17:53:38 (UTC)
                                src/ZZ.jssrc/ZZ.js ZZ 0 %0/1155 byte72020-04-05 14:36:48 (UTC)205 byte42021-03-03 17:53:38 (UTC)
                                src/ZeroDivisionError.jssrc/ZeroDivisionError.js ZeroDivisionError0 %0/3171 byte122020-04-05 14:36:48 (UTC)0 %0/2113 byte52021-03-03 17:53:38 (UTC)
                                src/_from_number.js _from_number 0 %0/1363 byte346 byte 102020-05-01 21:06:18 (UTC)2021-03-03 17:53:38 (UTC)
                                src/_limits.jssrc/_limits.js MAX_BASE MAX_NUMBER MIN_BASE MIN_NUMBER 0 %0/4235 byte52020-05-02 10:02:05 (UTC)196 byte42021-03-03 17:53:38 (UTC)
                                src/index.js - -266 byte282 byte 82020-05-01 20:27:28 (UTC)2021-03-03 17:53:38 (UTC)
                                src/integer.jssrc/integer.js $0 $1 $_1 @@ -203,9 +203,9 @@ sub subn 0 %0/332517 byte1332020-05-02 15:20:03 (UTC)2394 byte1342021-03-03 17:53:38 (UTC)
                                diff --git a/user/css/0-style.css b/user/css/0-style.css deleted file mode 100644 index ed56934..0000000 --- a/user/css/0-style.css +++ /dev/null @@ -1,52 +0,0 @@ -h1, -h2, -.navigation, -.layout-container > header, -footer -{ - border: none; -} - -.project-name { - color: #FC913A; - font-weight: bold; -} - -.layout-container > header > a.repo-url-github { - font-size: inherit; - display: inline; - background: none; - vertical-align: inherit; -} - -.search-box img { - display: none; -} - -.search-box::before{ - content: "search"; -} - -.search-input-edge { - height: 0px; -} - -.search-result { - width: 300px; - margin-left: 42px; - box-shadow: 1px 1px 13px rgba(0,0,0,0.2); -} - -.search-input { - visibility: visible; -} - -.search-result li.search-separator { - text-transform: capitalize; - background-color: #ccc; -} - -span[data-ice="signature"] > span { - /*font-weight: bold;*/ - font-style: italic; -} diff --git a/user/script/0-header.js b/user/script/0-header.js deleted file mode 100644 index 8fac10e..0000000 --- a/user/script/0-header.js +++ /dev/null @@ -1,34 +0,0 @@ -var domReady = function(callback) { - var state = document.readyState ; - if ( state === 'interactive' || state === 'complete' ) { - callback() ; - } - else { - document.addEventListener('DOMContentLoaded', callback); - } -} ; - - -domReady(function(){ - - var projectname = document.createElement('a'); - projectname.classList.add('project-name'); - projectname.text = 'aureooms/js-integer'; - projectname.href = './index.html' ; - - var header = document.getElementsByTagName('header')[0] ; - header.insertBefore(projectname,header.firstChild); - - var testlink = document.querySelector('header > a[data-ice="testLink"]') ; - testlink.href = 'https://coveralls.io/github/aureooms/js-integer' ; - testlink.target = '_BLANK' ; - - var searchBox = document.querySelector('.search-box'); - var input = document.querySelector('.search-input'); - - // active search box when focus on searchBox. - input.addEventListener('focus', function(){ - searchBox.classList.add('active'); - }); - -}); diff --git a/variable/index.html b/variable/index.html index 06db26d..b889b24 100644 --- a/variable/index.html +++ b/variable/index.html @@ -24,7 +24,7 @@
                                  - +

                                  0 %0/1 40 byte 12021-03-03 17:53:38 (UTC)2021-03-03 19:41:04 (UTC)
                                  src/DEFAULT_REPRESENTATION_BASE.js0 %0/1 782 byte 132021-03-03 17:53:38 (UTC)2021-03-03 19:41:04 (UTC)
                                  src/Integer.js1 %1/81 11906 byte 5952021-03-03 17:53:38 (UTC)2021-03-03 19:41:04 (UTC)
                                  src/IntegerRing.js0 %0/16 3104 byte 1302021-03-03 17:53:38 (UTC)2021-03-03 19:41:04 (UTC)
                                  src/ZZ.js0 %0/1 205 byte 42021-03-03 17:53:38 (UTC)2021-03-03 19:41:04 (UTC)
                                  src/ZeroDivisionError.js0 %0/2 113 byte 52021-03-03 17:53:38 (UTC)2021-03-03 19:41:04 (UTC)
                                  src/_from_number.js0 %0/1 346 byte 102021-03-03 17:53:38 (UTC)2021-03-03 19:41:04 (UTC)
                                  src/_limits.js0 %0/4 196 byte 42021-03-03 17:53:38 (UTC)2021-03-03 19:41:04 (UTC)
                                  src/index.js- 282 byte 82021-03-03 17:53:38 (UTC)2021-03-03 19:41:04 (UTC)
                                  src/integer.js0 %0/33 2394 byte 1342021-03-03 17:53:38 (UTC)2021-03-03 19:41:04 (UTC)